Membrane SDK - v0.29.2
    Preparing search index...

    Variable AccountResponseConst

    AccountResponse: ZodObject<
        {
            user: ZodOptional<
                ZodObject<
                    {
                        id: ZodString;
                        auth0Id: ZodOptional<ZodString>;
                        email: ZodString;
                        name: ZodString;
                        defaultAccountId: ZodOptional<ZodString>;
                        defaultWorkspaceId: ZodOptional<ZodString>;
                        isAdmin: ZodOptional<ZodBoolean>;
                        trialRequested: ZodBoolean;
                        pat: ZodOptional<ZodString>;
                        isEligible: ZodOptional<ZodBoolean>;
                        ineligibilityReason: ZodOptional<
                            ZodEnum<
                                { disposable: "disposable"; blockedDomain: "blockedDomain" },
                            >,
                        >;
                        emailVerified: ZodOptional<ZodBoolean>;
                        isCompanyEmail: ZodOptional<ZodBoolean>;
                    },
                    $strip,
                >,
            >;
            workspace: ZodOptional<
                ZodObject<
                    {
                        limits: ZodOptional<
                            ZodObject<
                                {
                                    parallelEventPulls: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelIncrementalEventPullsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelFullSyncEventPullsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelFlowRuns: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelFlowRunsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelApiRequests: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelSseRequests: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelBackgroundJobs: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelEventProcessingJobs: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelEventProcessingJobsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelInstantTasksActiveJobs: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelAgentSessions: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelCustomCodeRuns: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    ParallelWriteDatabaseRequests: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    fileUploadsMbPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    workspaceElementCreationsPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    workspaceElementCreationsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    workspaceElementSearchIndexingPerMinute: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    mcpOAuthAuthorizationsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    mcpOAuthTokensPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfCustomers: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfConnections: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfWorkspaceElements: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfWorkspaceDatabaseRecords: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    flowRunsQueueSizePerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    instantTasksQueueSize: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    QueuedTasksQueueSize: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelApiRequestsPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelBackgroundJobsPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelCustomCodeRunsPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfDatabaseEntitiesPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerCustomerPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerCustomerPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerCustomerPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerCustomerPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    externalEventsPerCustomerPerDay: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    defaultTenantAiCreditsRolling30DayLimit: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                },
                                $strip,
                            >,
                        >;
                        settings: ZodOptional<
                            ZodObject<
                                {
                                    enableApiLogs: ZodOptional<ZodBoolean>;
                                    enableWebhookLogs: ZodOptional<ZodBoolean>;
                                    enableActionRunLogs: ZodOptional<ZodBoolean>;
                                    disableSecretKeyAuth: ZodOptional<ZodBoolean>;
                                    useMembraneUniverse: ZodOptional<ZodBoolean>;
                                    useRemoteRepository: ZodOptional<ZodBoolean>;
                                    autoGenerateIntegrationsFromConnectors: ZodOptional<ZodBoolean>;
                                    autoGenerateIntegrationsFromExternalApps: ZodOptional<ZodBoolean>;
                                    autoGenerateIntegrationsFromWebSearch: ZodOptional<ZodBoolean>;
                                },
                                $strip,
                            >,
                        >;
                        publicKeys: ZodOptional<
                            ZodArray<
                                ZodObject<{ name: ZodString; publicKey: ZodString }, $strip>,
                            >,
                        >;
                        userFieldsSchema: ZodOptional<ZodAny>;
                        webhookUri: ZodOptional<ZodString>;
                        enabledWebhookEvents: ZodOptional<ZodArray<ZodString>>;
                        alertDeliverySettings: ZodOptional<
                            ZodObject<
                                {
                                    alertTypes: ZodOptional<
                                        ZodRecord<ZodEnum<(...)>, ZodOptional<(...)>>,
                                    >;
                                },
                                $strip,
                            >,
                        >;
                        jwksUri: ZodOptional<ZodNullable<ZodString>>;
                        type: ZodOptional<ZodEnum<typeof WorkspaceType>>;
                        isReadOnly: ZodOptional<ZodBoolean>;
                        id: ZodString;
                        name: ZodString;
                        orgId: ZodString;
                        apiBaseUri: ZodOptional<ZodString>;
                        key: ZodString;
                        secret: ZodString;
                        createdAt: ZodPipe<
                            ZodTransform<unknown, unknown>,
                            ZodPipe<ZodString, ZodTransform<Date, string>>,
                        >;
                        updatedAt: ZodPipe<
                            ZodTransform<unknown, unknown>,
                            ZodPipe<ZodString, ZodTransform<Date, string>>,
                        >;
                        engineAccessToken: ZodOptional<ZodString>;
                        trialEndDate: ZodOptional<ZodString>;
                        featureFlags: ZodOptional<ZodArray<ZodString>>;
                        logoUri: ZodOptional<ZodString>;
                        membraneInstanceId: ZodOptional<ZodString>;
                        operatorLimits: ZodOptional<
                            ZodObject<
                                {
                                    parallelEventPulls: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelIncrementalEventPullsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelFullSyncEventPullsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelFlowRuns: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelFlowRunsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelApiRequests: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelSseRequests: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelBackgroundJobs: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelEventProcessingJobs: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelEventProcessingJobsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelInstantTasksActiveJobs: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelAgentSessions: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelCustomCodeRuns: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    ParallelWriteDatabaseRequests: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    fileUploadsMbPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    workspaceElementCreationsPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    workspaceElementCreationsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    workspaceElementSearchIndexingPerMinute: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    mcpOAuthAuthorizationsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    mcpOAuthTokensPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfCustomers: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfConnections: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfWorkspaceElements: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfWorkspaceDatabaseRecords: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    flowRunsQueueSizePerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    instantTasksQueueSize: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    QueuedTasksQueueSize: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelApiRequestsPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelBackgroundJobsPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelCustomCodeRunsPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfDatabaseEntitiesPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerCustomerPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerCustomerPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerCustomerPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerCustomerPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    externalEventsPerCustomerPerDay: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    defaultTenantAiCreditsRolling30DayLimit: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                },
                                $strip,
                            >,
                        >;
                        operatorLimitsSyncedAt: ZodOptional<
                            ZodPipe<
                                ZodTransform<unknown, unknown>,
                                ZodPipe<ZodString, ZodTransform<Date, string>>,
                            >,
                        >;
                        operatorLimitsSyncError: ZodOptional<ZodString>;
                    },
                    $strip,
                >,
            >;
            hasWorkspaces: ZodOptional<ZodBoolean>;
            workspaceUser: ZodOptional<
                ZodObject<
                    {
                        id: ZodString;
                        workspaceId: ZodString;
                        userId: ZodString;
                        role: ZodString;
                        onboardingData: ZodOptional<
                            ZodObject<
                                {
                                    productSetup: ZodOptional<
                                        ZodObject<
                                            {
                                                type: ...;
                                                agentType: ...;
                                                name: ...;
                                                connectedProductId: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    connections: ZodOptional<ZodObject<{ apps: ... }, $strip>>;
                                },
                                $loose,
                            >,
                        >;
                        testCustomerId: ZodString;
                    },
                    $strip,
                >,
            >;
            engineTestUser: ZodOptional<
                ZodObject<
                    {
                        id: ZodString;
                        name: ZodString;
                        meta: ZodOptional<ZodRecord<ZodString, ZodAny>>;
                        internalId: ZodString;
                        fields: ZodOptional<ZodRecord<ZodString, ZodAny>>;
                        credentials: ZodOptional<ZodAny>;
                        lastActiveAt: ZodOptional<ZodString>;
                        isTest: ZodOptional<ZodBoolean>;
                        isBillable: ZodOptional<ZodBoolean>;
                        isActive: ZodOptional<ZodBoolean>;
                        aiCreditsRolling30DayLimit: ZodOptional<ZodNullable<ZodNumber>>;
                        createdAt: ZodOptional<ZodString>;
                        archivedAt: ZodOptional<ZodString>;
                    },
                    $strip,
                >,
            >;
            testCustomer: ZodOptional<
                ZodObject<
                    {
                        id: ZodString;
                        name: ZodString;
                        meta: ZodOptional<ZodRecord<ZodString, ZodAny>>;
                        internalId: ZodString;
                        fields: ZodOptional<ZodRecord<ZodString, ZodAny>>;
                        credentials: ZodOptional<ZodAny>;
                        lastActiveAt: ZodOptional<ZodString>;
                        isTest: ZodOptional<ZodBoolean>;
                        isBillable: ZodOptional<ZodBoolean>;
                        isActive: ZodOptional<ZodBoolean>;
                        aiCreditsRolling30DayLimit: ZodOptional<ZodNullable<ZodNumber>>;
                        createdAt: ZodOptional<ZodString>;
                        archivedAt: ZodOptional<ZodString>;
                    },
                    $strip,
                >,
            >;
            engineApp: ZodOptional<
                ZodObject<
                    {
                        id: ZodString;
                        key: ZodString;
                        logoUri: ZodOptional<ZodString>;
                        userFieldsSchema: ZodOptional<ZodAny>;
                        apiBaseUri: ZodOptional<ZodString>;
                        webhookUri: ZodOptional<ZodString>;
                        publicKey: ZodOptional<ZodString>;
                        publicKeys: ZodOptional<
                            ZodArray<
                                ZodObject<{ name: ZodString; publicKey: ZodString }, $strip>,
                            >,
                        >;
                        enabledWebhookEvents: ZodOptional<ZodArray<ZodString>>;
                        auth: ZodOptional<ZodAny>;
                        credentialsSchema: ZodOptional<ZodAny>;
                        apiClient: ZodOptional<ZodAny>;
                        apiRequestHeaders: ZodOptional<ZodRecord<ZodString, ZodAny>>;
                        apiRequestQuery: ZodOptional<ZodRecord<ZodString, ZodAny>>;
                        isOnPrem: ZodOptional<ZodBoolean>;
                        connectorBaseUri: ZodOptional<ZodString>;
                        connectorRevision: ZodOptional<ZodString>;
                        featureFlags: ZodOptional<ZodArray<ZodString>>;
                        limits: ZodOptional<
                            ZodObject<
                                {
                                    parallelEventPulls: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelIncrementalEventPullsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelFullSyncEventPullsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelFlowRuns: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelFlowRunsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelApiRequests: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelSseRequests: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelBackgroundJobs: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelEventProcessingJobs: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelEventProcessingJobsPerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelInstantTasksActiveJobs: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelAgentSessions: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelCustomCodeRuns: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    ParallelWriteDatabaseRequests: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    fileUploadsMbPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    workspaceElementCreationsPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    workspaceElementCreationsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    workspaceElementSearchIndexingPerMinute: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    mcpOAuthAuthorizationsPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    mcpOAuthTokensPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfCustomers: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfConnections: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfWorkspaceElements: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfWorkspaceDatabaseRecords: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    flowRunsQueueSizePerConnection: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    instantTasksQueueSize: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    QueuedTasksQueueSize: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelApiRequestsPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelBackgroundJobsPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    parallelCustomCodeRunsPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    totalNumberOfDatabaseEntitiesPerCustomer: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerCustomerPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    apiRequestsPerCustomerPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerCustomerPerSecond: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    webhookRequestsPerCustomerPerHour: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    externalEventsPerCustomerPerDay: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                    defaultTenantAiCreditsRolling30DayLimit: ZodOptional<
                                        ZodObject<{ value: ...; defaultValue: ...; unit: ... }, $strip>,
                                    >;
                                },
                                $strip,
                            >,
                        >;
                        areLimitsEnforced: ZodOptional<ZodBoolean>;
                        settings: ZodOptional<
                            ZodObject<
                                {
                                    enableApiLogs: ZodOptional<ZodBoolean>;
                                    enableWebhookLogs: ZodOptional<ZodBoolean>;
                                    enableActionRunLogs: ZodOptional<ZodBoolean>;
                                    disableSecretKeyAuth: ZodOptional<ZodBoolean>;
                                    useMembraneUniverse: ZodOptional<ZodBoolean>;
                                    useRemoteRepository: ZodOptional<ZodBoolean>;
                                    autoGenerateIntegrationsFromConnectors: ZodOptional<ZodBoolean>;
                                    autoGenerateIntegrationsFromExternalApps: ZodOptional<ZodBoolean>;
                                    autoGenerateIntegrationsFromWebSearch: ZodOptional<ZodBoolean>;
                                },
                                $strip,
                            >,
                        >;
                        alertDeliverySettings: ZodOptional<
                            ZodObject<
                                {
                                    alertTypes: ZodOptional<
                                        ZodRecord<ZodEnum<(...)>, ZodOptional<(...)>>,
                                    >;
                                },
                                $strip,
                            >,
                        >;
                        type: ZodOptional<ZodEnum<typeof WorkspaceType>>;
                        jwksUri: ZodOptional<ZodNullable<ZodString>>;
                        isTrial: ZodOptional<ZodBoolean>;
                        isThrottled: ZodOptional<ZodBoolean>;
                        isDisabled: ZodOptional<ZodBoolean>;
                        isBackgroundJobsDisabled: ZodOptional<ZodBoolean>;
                        isReadOnly: ZodOptional<ZodBoolean>;
                        lastExternalApiRequestDate: ZodOptional<ZodNullable<ZodString>>;
                    },
                    $strip,
                >,
            >;
            superAdminToken: ZodNullable<ZodOptional<ZodString>>;
            orgs: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            id: ZodString;
                            key: ZodString;
                            name: ZodString;
                            plan: ZodOptional<ZodEnum<typeof OrgPlan>>;
                            createdAt: ZodCoercedDate<unknown>;
                            updatedAt: ZodCoercedDate<unknown>;
                            trialEndDate: ZodOptional<ZodString>;
                            lastTrialExtensionDate: ZodOptional<ZodString>;
                            limits: ZodOptional<
                                ZodObject<
                                    {
                                        numberOfWorkspaces: ZodOptional<ZodNumber>;
                                        todayUsage: ZodOptional<ZodNumber>;
                                        lastThirtyDayUsage: ZodOptional<ZodNumber>;
                                        membraneAgentLastThirtyDaysUsage: ZodOptional<ZodNumber>;
                                        membraneExpertCreditsCapPerMonth: ZodOptional<ZodNullable<(...)>>;
                                        defaultTenantAiCreditsRolling30DayLimit: ZodOptional<
                                            ZodNullable<(...)>,
                                        >;
                                    },
                                    $strip,
                                >,
                            >;
                            thirtyDayTotalCredits: ZodOptional<ZodNumber>;
                            lastThirtyDayUsagePercent: ZodOptional<ZodNumber>;
                            todayUsagePercent: ZodOptional<ZodNumber>;
                            domains: ZodOptional<ZodArray<ZodString>>;
                            featureFlags: ZodOptional<ZodArray<ZodString>>;
                            freeAiCredits: ZodOptional<ZodNumber>;
                            paidAiCredits: ZodOptional<ZodNumber>;
                            freeAiMonthlyCredits: ZodOptional<ZodNullable<ZodNumber>>;
                            stripeCustomerId: ZodOptional<ZodString>;
                            autoChargeEnabled: ZodOptional<ZodBoolean>;
                            autoChargeThreshold: ZodOptional<ZodNumber>;
                            autoChargePurchaseAmount: ZodOptional<ZodNumber>;
                            autoChargeMonthlyLimit: ZodOptional<ZodNumber>;
                            freeEngineCredits: ZodOptional<ZodNumber>;
                            paidEngineCredits: ZodOptional<ZodNumber>;
                            freeEngineMonthlyCredits: ZodOptional<ZodNullable<ZodNumber>>;
                            engineAutoChargeEnabled: ZodOptional<ZodBoolean>;
                            engineAutoChargeThreshold: ZodOptional<ZodNumber>;
                            engineAutoChargePurchaseAmount: ZodOptional<ZodNumber>;
                            engineAutoChargeMonthlyLimit: ZodOptional<ZodNumber>;
                            currentUserCanLeave: ZodOptional<ZodBoolean>;
                        },
                        $strip,
                    >,
                >,
            >;
            permissions: ZodOptional<ZodArray<ZodString>>;
            authContextPermissions: ZodOptional<
                ZodObject<
                    {
                        platformUser: ZodObject<
                            {
                                isEngineAdmin: ZodBoolean;
                                isPlatformAdmin: ZodBoolean;
                                platformUserId: ZodOptional<ZodString>;
                            },
                            $strip,
                        >;
                        org: ZodOptional<
                            ZodObject<
                                {
                                    orgId: ZodString;
                                    role: ZodOptional<ZodEnum<{ admin: ...; member: ... }>>;
                                    canRead: ZodBoolean;
                                    canWrite: ZodBoolean;
                                },
                                $strip,
                            >,
                        >;
                        workspace: ZodOptional<
                            ZodObject<
                                {
                                    workspaceId: ZodOptional<ZodString>;
                                    isWorkspaceManager: ZodBoolean;
                                    isReadOnly: ZodDefault<ZodBoolean>;
                                    scopes: ZodArray<ZodString>;
                                },
                                $strip,
                            >,
                        >;
                        tenant: ZodOptional<
                            ZodObject<
                                {
                                    tenantId: ZodOptional<ZodString>;
                                    workspaceId: ZodOptional<ZodString>;
                                    canRead: ZodBoolean;
                                    canWrite: ZodBoolean;
                                },
                                $strip,
                            >,
                        >;
                    },
                    $strip,
                >,
            >;
            featureFlags: ZodOptional<ZodAny>;
            message: ZodOptional<ZodString>;
            error: ZodOptional<ZodString>;
        },
        $strip,
    > = ...