import { z } from 'zod'; import { ApId } from '../../core/common/id-generator'; export type PlatformId = ApId; export declare enum FilteredPieceBehavior { ALLOWED = "ALLOWED", BLOCKED = "BLOCKED" } export declare enum PlatformUsageMetric { AI_CREDITS = "ai-credits", ACTIVE_FLOWS = "active-flows" } export declare const PlatformUsage: z.ZodObject<{ totalAiCreditsUsed: z.ZodNumber; totalAiCreditsUsedThisMonth: z.ZodNumber; aiCreditsRemaining: z.ZodNumber; aiCreditsLimit: z.ZodNumber; activeFlows: z.ZodNumber; }, z.core.$strip>; export type PlatformUsage = z.infer; export declare enum PlanName { STANDARD = "standard", ENTERPRISE = "enterprise", APPSUMO_ACTIVEPIECES_TIER1 = "appsumo_activepieces_tier1", APPSUMO_ACTIVEPIECES_TIER2 = "appsumo_activepieces_tier2", APPSUMO_ACTIVEPIECES_TIER3 = "appsumo_activepieces_tier3", APPSUMO_ACTIVEPIECES_TIER4 = "appsumo_activepieces_tier4", APPSUMO_ACTIVEPIECES_TIER5 = "appsumo_activepieces_tier5", APPSUMO_ACTIVEPIECES_TIER6 = "appsumo_activepieces_tier6" } export declare enum TeamProjectsLimit { NONE = "NONE", ONE = "ONE", UNLIMITED = "UNLIMITED" } export declare enum AiCreditsAutoTopUpState { ENABLED = "enabled", DISABLED = "disabled" } export declare const PlatformPlan: z.ZodObject<{ plan: z.ZodOptional>; platformId: z.ZodString; includedAiCredits: z.ZodNumber; lastFreeAiCreditsRenewalDate: z.ZodOptional, z.ZodString>>>; tablesEnabled: z.ZodBoolean; eventStreamingEnabled: z.ZodBoolean; aiCreditsAutoTopUpState: z.ZodEnum; aiCreditsAutoTopUpThreshold: z.ZodOptional>; aiCreditsAutoTopUpCreditsToAdd: z.ZodOptional>; maxAutoTopUpCreditsMonthly: z.ZodOptional>; environmentsEnabled: z.ZodBoolean; analyticsEnabled: z.ZodBoolean; showPoweredBy: z.ZodBoolean; auditLogEnabled: z.ZodBoolean; embeddingEnabled: z.ZodBoolean; agentsEnabled: z.ZodBoolean; aiProvidersEnabled: z.ZodBoolean; chatEnabled: z.ZodBoolean; dataManipulationEnabled: z.ZodBoolean; managePiecesEnabled: z.ZodBoolean; manageTemplatesEnabled: z.ZodBoolean; customAppearanceEnabled: z.ZodBoolean; teamProjectsLimit: z.ZodEnum; projectRolesEnabled: z.ZodBoolean; globalConnectionsEnabled: z.ZodBoolean; customRolesEnabled: z.ZodBoolean; apiKeysEnabled: z.ZodBoolean; ssoEnabled: z.ZodBoolean; secretManagersEnabled: z.ZodBoolean; scimEnabled: z.ZodBoolean; licenseKey: z.ZodOptional>; licenseExpiresAt: z.ZodOptional, z.ZodString>>>; stripeCustomerId: z.ZodOptional>; stripeSubscriptionId: z.ZodOptional>; stripeSubscriptionStatus: z.ZodOptional>; stripeSubscriptionStartDate: z.ZodOptional>; stripeSubscriptionEndDate: z.ZodOptional>; stripeSubscriptionCancelDate: z.ZodOptional>; projectsLimit: z.ZodOptional>; activeFlowsLimit: z.ZodOptional>; dedicatedWorkers: z.ZodOptional>>; canary: z.ZodBoolean; customDomainsEnabled: z.ZodBoolean; workerGroupId: z.ZodOptional>; id: z.ZodString; created: z.ZodPipe, z.ZodString>; updated: z.ZodPipe, z.ZodString>; }, z.core.$strip>; export type PlatformPlan = z.infer; export declare const PlatformPlanLimits: z.ZodObject<{ plan: z.ZodOptional>; includedAiCredits: z.ZodNumber; lastFreeAiCreditsRenewalDate: z.ZodOptional, z.ZodString>>>; tablesEnabled: z.ZodBoolean; eventStreamingEnabled: z.ZodBoolean; aiCreditsAutoTopUpState: z.ZodEnum; aiCreditsAutoTopUpThreshold: z.ZodOptional>; aiCreditsAutoTopUpCreditsToAdd: z.ZodOptional>; maxAutoTopUpCreditsMonthly: z.ZodOptional>; environmentsEnabled: z.ZodBoolean; analyticsEnabled: z.ZodBoolean; showPoweredBy: z.ZodBoolean; auditLogEnabled: z.ZodBoolean; embeddingEnabled: z.ZodBoolean; agentsEnabled: z.ZodBoolean; aiProvidersEnabled: z.ZodBoolean; chatEnabled: z.ZodBoolean; dataManipulationEnabled: z.ZodBoolean; managePiecesEnabled: z.ZodBoolean; manageTemplatesEnabled: z.ZodBoolean; customAppearanceEnabled: z.ZodBoolean; teamProjectsLimit: z.ZodEnum; projectRolesEnabled: z.ZodBoolean; globalConnectionsEnabled: z.ZodBoolean; customRolesEnabled: z.ZodBoolean; apiKeysEnabled: z.ZodBoolean; ssoEnabled: z.ZodBoolean; secretManagersEnabled: z.ZodBoolean; scimEnabled: z.ZodBoolean; licenseKey: z.ZodOptional>; licenseExpiresAt: z.ZodOptional, z.ZodString>>>; stripeCustomerId: z.ZodOptional>; stripeSubscriptionId: z.ZodOptional>; stripeSubscriptionStatus: z.ZodOptional>; stripeSubscriptionStartDate: z.ZodOptional>; stripeSubscriptionEndDate: z.ZodOptional>; stripeSubscriptionCancelDate: z.ZodOptional>; projectsLimit: z.ZodOptional>; activeFlowsLimit: z.ZodOptional>; dedicatedWorkers: z.ZodOptional>>; canary: z.ZodBoolean; customDomainsEnabled: z.ZodBoolean; workerGroupId: z.ZodOptional>; }, z.core.$strip>; export type PlatformPlanLimits = z.infer; export type PlatformPlanWithOnlyLimits = Omit; export declare const HEX_COLOR_PATTERN: RegExp; export declare const PlatformThemeColors: z.ZodObject<{ avatar: z.ZodOptional; 'blue-link': z.ZodOptional; danger: z.ZodOptional; selection: z.ZodOptional; primary: z.ZodOptional; light: z.ZodOptional; medium: z.ZodOptional; }, z.core.$strip>>; warn: z.ZodOptional; light: z.ZodOptional; dark: z.ZodOptional; }, z.core.$strip>>; success: z.ZodOptional; light: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type PlatformThemeColors = z.infer; export declare const PIECE_SELECTOR_BUILTIN_TABS: readonly ["EXPLORE", "APPS", "UTILITY", "AI_AND_AGENTS", "APPROVALS"]; export declare const PieceSelectorTabSection: z.ZodObject<{ id: z.ZodString; title: z.ZodString; pieceNames: z.ZodArray; }, z.core.$strip>; export type PieceSelectorTabSection = z.infer; export declare const PieceSelectorTabConfig: z.ZodObject<{ id: z.ZodString; kind: z.ZodEnum<{ CUSTOM: "CUSTOM"; BUILTIN: "BUILTIN"; }>; builtinTab: z.ZodOptional>; title: z.ZodOptional; icon: z.ZodOptional; hidden: z.ZodBoolean; pieceNames: z.ZodOptional>; sections: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export type PieceSelectorTabConfig = z.infer; export declare const PieceSelectorConfig: z.ZodObject<{ tabs: z.ZodArray; builtinTab: z.ZodOptional>; title: z.ZodOptional; icon: z.ZodOptional; hidden: z.ZodBoolean; pieceNames: z.ZodOptional>; sections: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>; export type PieceSelectorConfig = z.infer; export declare const Platform: z.ZodObject<{ ownerId: z.ZodString; name: z.ZodString; primaryColor: z.ZodString; themeColors: z.ZodOptional; 'blue-link': z.ZodOptional; danger: z.ZodOptional; selection: z.ZodOptional; primary: z.ZodOptional; light: z.ZodOptional; medium: z.ZodOptional; }, z.core.$strip>>; warn: z.ZodOptional; light: z.ZodOptional; dark: z.ZodOptional; }, z.core.$strip>>; success: z.ZodOptional; light: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>; logoIconUrl: z.ZodString; fullLogoUrl: z.ZodString; favIconUrl: z.ZodString; filteredPieceNames: z.ZodArray; filteredPieceBehavior: z.ZodEnum; cloudAuthEnabled: z.ZodBoolean; googleAuthEnabled: z.ZodBoolean; enforceAllowedAuthDomains: z.ZodBoolean; allowedAuthDomains: z.ZodArray; allowedEmbedOrigins: z.ZodArray; ssoDomain: z.ZodOptional>; ssoDomainVerification: z.ZodOptional; record: z.ZodObject<{ type: z.ZodEnum<{ TXT: import("./sso-domain-verification").SsoDomainVerificationRecordType; }>; name: z.ZodString; value: z.ZodString; }, z.core.$strip>; createdAt: z.ZodString; }, z.core.$strip>>>; federatedAuthProviders: z.ZodObject<{ saml: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; emailAuthEnabled: z.ZodBoolean; pinnedPieces: z.ZodArray; pieceSelectorConfig: z.ZodOptional; builtinTab: z.ZodOptional>; title: z.ZodOptional; icon: z.ZodOptional; hidden: z.ZodBoolean; pieceNames: z.ZodOptional>; sections: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; id: z.ZodString; created: z.ZodPipe, z.ZodString>; updated: z.ZodPipe, z.ZodString>; }, z.core.$strip>; export type Platform = z.infer; export type PlatformWithoutFederatedAuth = Omit; export declare const PlatformWithoutSensitiveData: z.ZodObject<{ federatedAuthProviders: z.ZodOptional>>; }, z.core.$strip>>>; plan: z.ZodObject<{ plan: z.ZodOptional>; includedAiCredits: z.ZodNumber; lastFreeAiCreditsRenewalDate: z.ZodOptional, z.ZodString>>>; tablesEnabled: z.ZodBoolean; eventStreamingEnabled: z.ZodBoolean; aiCreditsAutoTopUpState: z.ZodEnum; aiCreditsAutoTopUpThreshold: z.ZodOptional>; aiCreditsAutoTopUpCreditsToAdd: z.ZodOptional>; maxAutoTopUpCreditsMonthly: z.ZodOptional>; environmentsEnabled: z.ZodBoolean; analyticsEnabled: z.ZodBoolean; showPoweredBy: z.ZodBoolean; auditLogEnabled: z.ZodBoolean; embeddingEnabled: z.ZodBoolean; agentsEnabled: z.ZodBoolean; aiProvidersEnabled: z.ZodBoolean; chatEnabled: z.ZodBoolean; dataManipulationEnabled: z.ZodBoolean; managePiecesEnabled: z.ZodBoolean; manageTemplatesEnabled: z.ZodBoolean; customAppearanceEnabled: z.ZodBoolean; teamProjectsLimit: z.ZodEnum; projectRolesEnabled: z.ZodBoolean; globalConnectionsEnabled: z.ZodBoolean; customRolesEnabled: z.ZodBoolean; apiKeysEnabled: z.ZodBoolean; ssoEnabled: z.ZodBoolean; secretManagersEnabled: z.ZodBoolean; scimEnabled: z.ZodBoolean; licenseKey: z.ZodOptional>; licenseExpiresAt: z.ZodOptional, z.ZodString>>>; stripeCustomerId: z.ZodOptional>; stripeSubscriptionId: z.ZodOptional>; stripeSubscriptionStatus: z.ZodOptional>; stripeSubscriptionStartDate: z.ZodOptional>; stripeSubscriptionEndDate: z.ZodOptional>; stripeSubscriptionCancelDate: z.ZodOptional>; projectsLimit: z.ZodOptional>; activeFlowsLimit: z.ZodOptional>; dedicatedWorkers: z.ZodOptional>>; canary: z.ZodBoolean; customDomainsEnabled: z.ZodBoolean; workerGroupId: z.ZodOptional>; }, z.core.$strip>; usage: z.ZodOptional>; id: z.ZodString; created: z.ZodPipe, z.ZodString>; updated: z.ZodPipe, z.ZodString>; ownerId: z.ZodString; name: z.ZodString; primaryColor: z.ZodString; themeColors: z.ZodOptional; 'blue-link': z.ZodOptional; danger: z.ZodOptional; selection: z.ZodOptional; primary: z.ZodOptional; light: z.ZodOptional; medium: z.ZodOptional; }, z.core.$strip>>; warn: z.ZodOptional; light: z.ZodOptional; dark: z.ZodOptional; }, z.core.$strip>>; success: z.ZodOptional; light: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>; logoIconUrl: z.ZodString; fullLogoUrl: z.ZodString; favIconUrl: z.ZodString; filteredPieceNames: z.ZodArray; filteredPieceBehavior: z.ZodEnum; cloudAuthEnabled: z.ZodBoolean; googleAuthEnabled: z.ZodBoolean; enforceAllowedAuthDomains: z.ZodBoolean; allowedAuthDomains: z.ZodArray; allowedEmbedOrigins: z.ZodArray; ssoDomain: z.ZodOptional>; ssoDomainVerification: z.ZodOptional; record: z.ZodObject<{ type: z.ZodEnum<{ TXT: import("./sso-domain-verification").SsoDomainVerificationRecordType; }>; name: z.ZodString; value: z.ZodString; }, z.core.$strip>; createdAt: z.ZodString; }, z.core.$strip>>>; emailAuthEnabled: z.ZodBoolean; pinnedPieces: z.ZodArray; pieceSelectorConfig: z.ZodOptional; builtinTab: z.ZodOptional>; title: z.ZodOptional; icon: z.ZodOptional; hidden: z.ZodBoolean; pieceNames: z.ZodOptional>; sections: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>; export type PlatformWithoutSensitiveData = z.infer; export declare const PlatformBillingInformation: z.ZodObject<{ plan: z.ZodObject<{ plan: z.ZodOptional>; platformId: z.ZodString; includedAiCredits: z.ZodNumber; lastFreeAiCreditsRenewalDate: z.ZodOptional, z.ZodString>>>; tablesEnabled: z.ZodBoolean; eventStreamingEnabled: z.ZodBoolean; aiCreditsAutoTopUpState: z.ZodEnum; aiCreditsAutoTopUpThreshold: z.ZodOptional>; aiCreditsAutoTopUpCreditsToAdd: z.ZodOptional>; maxAutoTopUpCreditsMonthly: z.ZodOptional>; environmentsEnabled: z.ZodBoolean; analyticsEnabled: z.ZodBoolean; showPoweredBy: z.ZodBoolean; auditLogEnabled: z.ZodBoolean; embeddingEnabled: z.ZodBoolean; agentsEnabled: z.ZodBoolean; aiProvidersEnabled: z.ZodBoolean; chatEnabled: z.ZodBoolean; dataManipulationEnabled: z.ZodBoolean; managePiecesEnabled: z.ZodBoolean; manageTemplatesEnabled: z.ZodBoolean; customAppearanceEnabled: z.ZodBoolean; teamProjectsLimit: z.ZodEnum; projectRolesEnabled: z.ZodBoolean; globalConnectionsEnabled: z.ZodBoolean; customRolesEnabled: z.ZodBoolean; apiKeysEnabled: z.ZodBoolean; ssoEnabled: z.ZodBoolean; secretManagersEnabled: z.ZodBoolean; scimEnabled: z.ZodBoolean; licenseKey: z.ZodOptional>; licenseExpiresAt: z.ZodOptional, z.ZodString>>>; stripeCustomerId: z.ZodOptional>; stripeSubscriptionId: z.ZodOptional>; stripeSubscriptionStatus: z.ZodOptional>; stripeSubscriptionStartDate: z.ZodOptional>; stripeSubscriptionEndDate: z.ZodOptional>; stripeSubscriptionCancelDate: z.ZodOptional>; projectsLimit: z.ZodOptional>; activeFlowsLimit: z.ZodOptional>; dedicatedWorkers: z.ZodOptional>>; canary: z.ZodBoolean; customDomainsEnabled: z.ZodBoolean; workerGroupId: z.ZodOptional>; id: z.ZodString; created: z.ZodPipe, z.ZodString>; updated: z.ZodPipe, z.ZodString>; }, z.core.$strip>; usage: z.ZodObject<{ totalAiCreditsUsed: z.ZodNumber; totalAiCreditsUsedThisMonth: z.ZodNumber; aiCreditsRemaining: z.ZodNumber; aiCreditsLimit: z.ZodNumber; activeFlows: z.ZodNumber; }, z.core.$strip>; nextBillingDate: z.ZodNumber; nextBillingAmount: z.ZodNumber; cancelAt: z.ZodOptional>; }, z.core.$strip>; export type PlatformBillingInformation = z.infer; //# sourceMappingURL=platform.model.d.ts.map