@objectstack/spec 3.0.5 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/index.js +8 -8
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/index.mjs +8 -8
- package/dist/ai/index.mjs.map +1 -1
- package/dist/api/index.d.mts +3 -2
- package/dist/api/index.d.ts +3 -2
- package/dist/api/index.js +35 -12
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs +35 -12
- package/dist/api/index.mjs.map +1 -1
- package/dist/cloud/index.d.mts +2 -0
- package/dist/cloud/index.d.ts +2 -0
- package/dist/cloud/index.js +966 -0
- package/dist/cloud/index.js.map +1 -0
- package/dist/cloud/index.mjs +920 -0
- package/dist/cloud/index.mjs.map +1 -0
- package/dist/contracts/index.d.mts +2 -2
- package/dist/contracts/index.d.ts +2 -2
- package/dist/data/index.js +13 -9
- package/dist/data/index.js.map +1 -1
- package/dist/data/index.mjs +13 -9
- package/dist/data/index.mjs.map +1 -1
- package/dist/http.zod-zoVvPkD-.d.mts +97 -0
- package/dist/http.zod-zoVvPkD-.d.ts +97 -0
- package/dist/identity/index.d.mts +2 -0
- package/dist/identity/index.d.ts +2 -0
- package/dist/identity/index.js +989 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/identity/index.mjs +956 -0
- package/dist/identity/index.mjs.map +1 -0
- package/dist/{index-B3_U_17f.d.mts → index-3M_Ea-Ik.d.mts} +992 -14
- package/dist/{index-BngR5-rO.d.ts → index-4NcJ3Ha4.d.ts} +1 -1
- package/dist/index-BsBoFep8.d.mts +1101 -0
- package/dist/index-BsBoFep8.d.ts +1101 -0
- package/dist/{index-Dj-Ilwtp.d.mts → index-C3uKcXsS.d.mts} +1 -1
- package/dist/index-C7sOJ4RJ.d.mts +1005 -0
- package/dist/index-C7sOJ4RJ.d.ts +1005 -0
- package/dist/{index-DwefKBPG.d.ts → index-CbrWf0x5.d.ts} +73 -54
- package/dist/index-CdgkfP4m.d.ts +726 -0
- package/dist/index-ClaAfDgl.d.mts +726 -0
- package/dist/{index-DMVJlx3O.d.ts → index-CoEZYWX-.d.ts} +142 -106
- package/dist/{index-DqAoreZC.d.mts → index-D87KXoQH.d.mts} +73 -54
- package/dist/{index-CgqOHtHF.d.mts → index-DA0qoRCT.d.mts} +142 -106
- package/dist/index-DE9Tb8px.d.mts +374 -0
- package/dist/index-DE9Tb8px.d.ts +374 -0
- package/dist/index-DPHfwGua.d.mts +1529 -0
- package/dist/index-DPHfwGua.d.ts +1529 -0
- package/dist/{index-BIVsi6pD.d.ts → index-h0QkzinG.d.ts} +992 -14
- package/dist/index.d.mts +468 -3688
- package/dist/index.d.ts +468 -3688
- package/dist/index.js +897 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +893 -45
- package/dist/index.mjs.map +1 -1
- package/dist/kernel/index.d.mts +3 -3
- package/dist/kernel/index.d.ts +3 -3
- package/dist/kernel/index.js +23 -22
- package/dist/kernel/index.js.map +1 -1
- package/dist/kernel/index.mjs +23 -22
- package/dist/kernel/index.mjs.map +1 -1
- package/dist/qa/index.d.mts +2 -0
- package/dist/qa/index.d.ts +2 -0
- package/dist/qa/index.js +79 -0
- package/dist/qa/index.js.map +1 -0
- package/dist/qa/index.mjs +70 -0
- package/dist/qa/index.mjs.map +1 -0
- package/dist/shared/index.d.mts +3 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.js +861 -0
- package/dist/shared/index.js.map +1 -0
- package/dist/shared/index.mjs +824 -0
- package/dist/shared/index.mjs.map +1 -0
- package/dist/studio/index.d.mts +1 -1
- package/dist/studio/index.d.ts +1 -1
- package/dist/studio/index.js +389 -0
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/index.mjs +368 -1
- package/dist/studio/index.mjs.map +1 -1
- package/dist/system/index.d.mts +1 -1
- package/dist/system/index.d.ts +1 -1
- package/dist/system/index.js +8 -8
- package/dist/system/index.js.map +1 -1
- package/dist/system/index.mjs +8 -8
- package/dist/system/index.mjs.map +1 -1
- package/dist/ui/index.d.mts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +344 -17
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +324 -18
- package/dist/ui/index.mjs.map +1 -1
- package/json-schema/ai/AICodeReviewResult.json +2 -2
- package/json-schema/ai/AIKnowledge.json +2 -2
- package/json-schema/ai/AIModelConfig.json +2 -2
- package/json-schema/ai/AIOperationCost.json +2 -2
- package/json-schema/ai/AIOpsAgentConfig.json +2 -2
- package/json-schema/ai/AIOrchestration.json +2 -2
- package/json-schema/ai/AIOrchestrationExecutionResult.json +2 -2
- package/json-schema/ai/AIOrchestrationTrigger.json +2 -2
- package/json-schema/ai/AITask.json +2 -2
- package/json-schema/ai/AITaskType.json +2 -2
- package/json-schema/ai/AITool.json +2 -2
- package/json-schema/ai/Agent.json +2 -2
- package/json-schema/ai/AgentAction.json +2 -2
- package/json-schema/ai/AgentActionResult.json +2 -2
- package/json-schema/ai/AgentActionSequence.json +2 -2
- package/json-schema/ai/AgentActionSequenceResult.json +2 -2
- package/json-schema/ai/AgentCommunicationProtocol.json +2 -2
- package/json-schema/ai/AgentGroupMember.json +2 -2
- package/json-schema/ai/AgentGroupRole.json +2 -2
- package/json-schema/ai/AnomalyDetectionConfig.json +2 -2
- package/json-schema/ai/AutoScalingPolicy.json +2 -2
- package/json-schema/ai/BatchAIOrchestrationExecution.json +2 -2
- package/json-schema/ai/BillingPeriod.json +2 -2
- package/json-schema/ai/BudgetLimit.json +2 -2
- package/json-schema/ai/BudgetStatus.json +2 -2
- package/json-schema/ai/BudgetType.json +2 -2
- package/json-schema/ai/CICDPipelineConfig.json +2 -2
- package/json-schema/ai/ChunkingStrategy.json +2 -2
- package/json-schema/ai/CodeContent.json +2 -2
- package/json-schema/ai/CodeGenerationConfig.json +2 -2
- package/json-schema/ai/CodeGenerationRequest.json +2 -2
- package/json-schema/ai/CodeGenerationTarget.json +2 -2
- package/json-schema/ai/ComponentActionParams.json +2 -2
- package/json-schema/ai/ComponentActionType.json +2 -2
- package/json-schema/ai/ComponentAgentAction.json +2 -2
- package/json-schema/ai/ConversationAnalytics.json +2 -2
- package/json-schema/ai/ConversationContext.json +2 -2
- package/json-schema/ai/ConversationMessage.json +2 -2
- package/json-schema/ai/ConversationSession.json +2 -2
- package/json-schema/ai/ConversationSummary.json +2 -2
- package/json-schema/ai/CostAlert.json +2 -2
- package/json-schema/ai/CostAlertType.json +2 -2
- package/json-schema/ai/CostAnalytics.json +2 -2
- package/json-schema/ai/CostBreakdownDimension.json +2 -2
- package/json-schema/ai/CostBreakdownEntry.json +2 -2
- package/json-schema/ai/CostEntry.json +2 -2
- package/json-schema/ai/CostMetricType.json +2 -2
- package/json-schema/ai/CostOptimizationRecommendation.json +2 -2
- package/json-schema/ai/CostQueryFilters.json +2 -2
- package/json-schema/ai/CostReport.json +2 -2
- package/json-schema/ai/DataActionParams.json +2 -2
- package/json-schema/ai/DataActionType.json +2 -2
- package/json-schema/ai/DataAgentAction.json +2 -2
- package/json-schema/ai/DeploymentStrategy.json +2 -2
- package/json-schema/ai/DevOpsAgent.json +2 -2
- package/json-schema/ai/DevOpsTool.json +2 -2
- package/json-schema/ai/DevelopmentConfig.json +2 -2
- package/json-schema/ai/DocumentChunk.json +2 -2
- package/json-schema/ai/DocumentLoaderConfig.json +2 -2
- package/json-schema/ai/DocumentMetadata.json +2 -2
- package/json-schema/ai/EmbeddingModel.json +2 -2
- package/json-schema/ai/Entity.json +2 -2
- package/json-schema/ai/EvaluationMetrics.json +2 -2
- package/json-schema/ai/FeedbackLoop.json +26 -14
- package/json-schema/ai/FieldSynonymConfig.json +2 -2
- package/json-schema/ai/FileContent.json +2 -2
- package/json-schema/ai/FilterExpression.json +2 -2
- package/json-schema/ai/FilterGroup.json +2 -2
- package/json-schema/ai/FormActionParams.json +2 -2
- package/json-schema/ai/FormActionType.json +2 -2
- package/json-schema/ai/FormAgentAction.json +2 -2
- package/json-schema/ai/FunctionCall.json +2 -2
- package/json-schema/ai/GeneratedCode.json +2 -2
- package/json-schema/ai/GitHubIntegration.json +2 -2
- package/json-schema/ai/Hyperparameters.json +2 -2
- package/json-schema/ai/ImageContent.json +2 -2
- package/json-schema/ai/IntegrationConfig.json +2 -2
- package/json-schema/ai/IntentActionMapping.json +2 -2
- package/json-schema/ai/Issue.json +2 -2
- package/json-schema/ai/MCPCapability.json +2 -2
- package/json-schema/ai/MCPClientConfig.json +2 -2
- package/json-schema/ai/MCPPrompt.json +2 -2
- package/json-schema/ai/MCPPromptArgument.json +2 -2
- package/json-schema/ai/MCPPromptMessage.json +2 -2
- package/json-schema/ai/MCPPromptRequest.json +2 -2
- package/json-schema/ai/MCPPromptResponse.json +2 -2
- package/json-schema/ai/MCPResource.json +2 -2
- package/json-schema/ai/MCPResourceRequest.json +2 -2
- package/json-schema/ai/MCPResourceResponse.json +2 -2
- package/json-schema/ai/MCPResourceTemplate.json +2 -2
- package/json-schema/ai/MCPResourceType.json +2 -2
- package/json-schema/ai/MCPRootEntry.json +2 -2
- package/json-schema/ai/MCPRootsConfig.json +2 -2
- package/json-schema/ai/MCPSamplingConfig.json +2 -2
- package/json-schema/ai/MCPServerConfig.json +2 -2
- package/json-schema/ai/MCPServerInfo.json +2 -2
- package/json-schema/ai/MCPStreamingConfig.json +2 -2
- package/json-schema/ai/MCPTool.json +2 -2
- package/json-schema/ai/MCPToolApproval.json +2 -2
- package/json-schema/ai/MCPToolCallRequest.json +2 -2
- package/json-schema/ai/MCPToolCallResponse.json +2 -2
- package/json-schema/ai/MCPToolParameter.json +2 -2
- package/json-schema/ai/MCPTransportConfig.json +2 -2
- package/json-schema/ai/MCPTransportType.json +2 -2
- package/json-schema/ai/MessageContent.json +2 -2
- package/json-schema/ai/MessageContentType.json +2 -2
- package/json-schema/ai/MessagePruningEvent.json +2 -2
- package/json-schema/ai/MessageRole.json +2 -2
- package/json-schema/ai/MetadataFilter.json +2 -2
- package/json-schema/ai/MetadataSource.json +2 -2
- package/json-schema/ai/ModelCapability.json +2 -2
- package/json-schema/ai/ModelConfig.json +2 -2
- package/json-schema/ai/ModelDrift.json +2 -2
- package/json-schema/ai/ModelFeature.json +2 -2
- package/json-schema/ai/ModelLimits.json +2 -2
- package/json-schema/ai/ModelPricing.json +2 -2
- package/json-schema/ai/ModelProvider.json +2 -2
- package/json-schema/ai/ModelRegistry.json +2 -2
- package/json-schema/ai/ModelRegistryEntry.json +2 -2
- package/json-schema/ai/ModelSelectionCriteria.json +2 -2
- package/json-schema/ai/MonitoringConfig.json +2 -2
- package/json-schema/ai/MultiAgentGroup.json +2 -2
- package/json-schema/ai/NLQAnalytics.json +2 -2
- package/json-schema/ai/NLQFieldMapping.json +2 -2
- package/json-schema/ai/NLQModelConfig.json +2 -2
- package/json-schema/ai/NLQParseResult.json +2 -2
- package/json-schema/ai/NLQRequest.json +2 -2
- package/json-schema/ai/NLQResponse.json +2 -2
- package/json-schema/ai/NLQTrainingExample.json +2 -2
- package/json-schema/ai/NavigationActionParams.json +2 -2
- package/json-schema/ai/NavigationActionType.json +2 -2
- package/json-schema/ai/NavigationAgentAction.json +2 -2
- package/json-schema/ai/PerformanceOptimization.json +2 -2
- package/json-schema/ai/PipelineStage.json +2 -2
- package/json-schema/ai/PluginCompositionRequest.json +2 -2
- package/json-schema/ai/PluginCompositionResult.json +2 -2
- package/json-schema/ai/PluginRecommendation.json +2 -2
- package/json-schema/ai/PluginRecommendationRequest.json +2 -2
- package/json-schema/ai/PluginScaffoldingTemplate.json +2 -2
- package/json-schema/ai/PostProcessingAction.json +2 -2
- package/json-schema/ai/PredictionRequest.json +2 -2
- package/json-schema/ai/PredictionResult.json +2 -2
- package/json-schema/ai/PredictiveModel.json +2 -2
- package/json-schema/ai/PredictiveModelType.json +2 -2
- package/json-schema/ai/PromptTemplate.json +2 -2
- package/json-schema/ai/PromptVariable.json +2 -2
- package/json-schema/ai/QueryContext.json +2 -2
- package/json-schema/ai/QueryIntent.json +2 -2
- package/json-schema/ai/QueryTemplate.json +2 -2
- package/json-schema/ai/RAGPipelineConfig.json +2 -2
- package/json-schema/ai/RAGPipelineStatus.json +2 -2
- package/json-schema/ai/RAGQueryRequest.json +2 -2
- package/json-schema/ai/RAGQueryResponse.json +2 -2
- package/json-schema/ai/RerankingConfig.json +2 -2
- package/json-schema/ai/Resolution.json +26 -14
- package/json-schema/ai/RetrievalStrategy.json +2 -2
- package/json-schema/ai/RootCauseAnalysisRequest.json +2 -2
- package/json-schema/ai/RootCauseAnalysisResult.json +2 -2
- package/json-schema/ai/SelfHealingAction.json +2 -2
- package/json-schema/ai/SelfHealingConfig.json +2 -2
- package/json-schema/ai/StructuredOutputConfig.json +2 -2
- package/json-schema/ai/StructuredOutputFormat.json +2 -2
- package/json-schema/ai/TestingConfig.json +2 -2
- package/json-schema/ai/TextContent.json +2 -2
- package/json-schema/ai/Timeframe.json +2 -2
- package/json-schema/ai/TokenBudgetConfig.json +2 -2
- package/json-schema/ai/TokenBudgetStrategy.json +2 -2
- package/json-schema/ai/TokenUsage.json +2 -2
- package/json-schema/ai/TokenUsageStats.json +2 -2
- package/json-schema/ai/ToolCall.json +2 -2
- package/json-schema/ai/TrainingConfig.json +2 -2
- package/json-schema/ai/TransformPipelineStep.json +2 -2
- package/json-schema/ai/TypedAgentAction.json +2 -2
- package/json-schema/ai/UIActionType.json +2 -2
- package/json-schema/ai/VectorStoreConfig.json +2 -2
- package/json-schema/ai/VectorStoreProvider.json +2 -2
- package/json-schema/ai/VercelIntegration.json +2 -2
- package/json-schema/ai/VersionManagement.json +2 -2
- package/json-schema/ai/ViewActionParams.json +2 -2
- package/json-schema/ai/ViewActionType.json +2 -2
- package/json-schema/ai/ViewAgentAction.json +2 -2
- package/json-schema/ai/WorkflowActionParams.json +2 -2
- package/json-schema/ai/WorkflowActionType.json +2 -2
- package/json-schema/ai/WorkflowAgentAction.json +2 -2
- package/json-schema/ai/WorkflowFieldCondition.json +2 -2
- package/json-schema/ai/WorkflowSchedule.json +2 -2
- package/json-schema/api/AckMessage.json +2 -2
- package/json-schema/api/AiChatRequest.json +2 -2
- package/json-schema/api/AiChatResponse.json +2 -2
- package/json-schema/api/AiInsightsRequest.json +2 -2
- package/json-schema/api/AiInsightsResponse.json +2 -2
- package/json-schema/api/AiNlqRequest.json +2 -2
- package/json-schema/api/AiNlqResponse.json +2 -2
- package/json-schema/api/AiSuggestRequest.json +2 -2
- package/json-schema/api/AiSuggestResponse.json +2 -2
- package/json-schema/api/AnalyticsEndpoint.json +2 -2
- package/json-schema/api/AnalyticsMetadataResponse.json +2 -2
- package/json-schema/api/AnalyticsQueryRequest.json +2 -2
- package/json-schema/api/AnalyticsResultResponse.json +2 -2
- package/json-schema/api/AnalyticsSqlResponse.json +2 -2
- package/json-schema/api/ApiChangelogEntry.json +2 -2
- package/json-schema/api/ApiDiscoveryQuery.json +2 -2
- package/json-schema/api/ApiDiscoveryResponse.json +2 -2
- package/json-schema/api/ApiDocumentationConfig.json +2 -2
- package/json-schema/api/ApiEndpoint.json +2 -2
- package/json-schema/api/ApiEndpointRegistration.json +2 -2
- package/json-schema/api/ApiError.json +2 -2
- package/json-schema/api/ApiMapping.json +2 -2
- package/json-schema/api/ApiMetadata.json +2 -2
- package/json-schema/api/ApiParameter.json +2 -2
- package/json-schema/api/ApiProtocolType.json +2 -2
- package/json-schema/api/ApiRegistry.json +2 -2
- package/json-schema/api/ApiRegistryEntry.json +2 -2
- package/json-schema/api/ApiResponse.json +2 -2
- package/json-schema/api/ApiRoutes.json +2 -2
- package/json-schema/api/ApiTestCollection.json +2 -2
- package/json-schema/api/ApiTestRequest.json +2 -2
- package/json-schema/api/ApiTestingUiConfig.json +2 -2
- package/json-schema/api/ApiTestingUiType.json +2 -2
- package/json-schema/api/AppDefinitionResponse.json +95 -3
- package/json-schema/api/AuthEndpoint.json +2 -2
- package/json-schema/api/AuthProvider.json +2 -2
- package/json-schema/api/AutomationTriggerRequest.json +2 -2
- package/json-schema/api/AutomationTriggerResponse.json +2 -2
- package/json-schema/api/BasePresence.json +2 -2
- package/json-schema/api/BaseResponse.json +2 -2
- package/json-schema/api/BatchConfig.json +2 -2
- package/json-schema/api/BatchDataRequest.json +2 -2
- package/json-schema/api/BatchDataResponse.json +2 -2
- package/json-schema/api/BatchEndpointsConfig.json +2 -2
- package/json-schema/api/BatchLoadingStrategy.json +2 -2
- package/json-schema/api/BatchOperationResult.json +2 -2
- package/json-schema/api/BatchOperationType.json +2 -2
- package/json-schema/api/BatchOptions.json +2 -2
- package/json-schema/api/BatchRecord.json +2 -2
- package/json-schema/api/BatchUpdateRequest.json +2 -2
- package/json-schema/api/BatchUpdateResponse.json +2 -2
- package/json-schema/api/BulkRequest.json +2 -2
- package/json-schema/api/BulkResponse.json +2 -2
- package/json-schema/api/CacheControl.json +2 -2
- package/json-schema/api/CacheDirective.json +2 -2
- package/json-schema/api/CacheInvalidationRequest.json +2 -2
- package/json-schema/api/CacheInvalidationResponse.json +2 -2
- package/json-schema/api/CacheInvalidationTarget.json +2 -2
- package/json-schema/api/Callback.json +2 -2
- package/json-schema/api/CheckPermissionRequest.json +2 -2
- package/json-schema/api/CheckPermissionResponse.json +2 -2
- package/json-schema/api/CodeGenerationTemplate.json +2 -2
- package/json-schema/api/CompleteUploadRequest.json +2 -2
- package/json-schema/api/ConceptListResponse.json +2 -2
- package/json-schema/api/ConflictResolutionStrategy.json +2 -2
- package/json-schema/api/CreateDataRequest.json +2 -2
- package/json-schema/api/CreateDataResponse.json +2 -2
- package/json-schema/api/CreateManyDataRequest.json +2 -2
- package/json-schema/api/CreateManyDataResponse.json +2 -2
- package/json-schema/api/CreateRequest.json +2 -2
- package/json-schema/api/CrudEndpointPattern.json +2 -2
- package/json-schema/api/CrudEndpointsConfig.json +2 -2
- package/json-schema/api/CrudOperation.json +2 -2
- package/json-schema/api/CursorMessage.json +2 -2
- package/json-schema/api/CursorPosition.json +2 -2
- package/json-schema/api/DataLoaderConfig.json +2 -2
- package/json-schema/api/DeleteDataRequest.json +2 -2
- package/json-schema/api/DeleteDataResponse.json +2 -2
- package/json-schema/api/DeleteManyDataRequest.json +2 -2
- package/json-schema/api/DeleteManyDataResponse.json +2 -2
- package/json-schema/api/DeleteManyRequest.json +2 -2
- package/json-schema/api/DeleteResponse.json +2 -2
- package/json-schema/api/DeleteViewRequest.json +2 -2
- package/json-schema/api/DeleteViewResponse.json +2 -2
- package/json-schema/api/DisablePackageRequest.json +2 -2
- package/json-schema/api/DisablePackageResponse.json +2 -2
- package/json-schema/api/Discovery.json +2 -2
- package/json-schema/api/DispatcherConfig.json +2 -2
- package/json-schema/api/DispatcherRoute.json +2 -2
- package/json-schema/api/DocumentState.json +2 -2
- package/json-schema/api/ETag.json +2 -2
- package/json-schema/api/EditMessage.json +2 -2
- package/json-schema/api/EditOperation.json +2 -2
- package/json-schema/api/EditOperationType.json +2 -2
- package/json-schema/api/EnablePackageRequest.json +2 -2
- package/json-schema/api/EnablePackageResponse.json +2 -2
- package/json-schema/api/EndpointRegistry.json +2 -2
- package/json-schema/api/EnhancedApiError.json +2 -2
- package/json-schema/api/ErrorCategory.json +2 -2
- package/json-schema/api/ErrorHandlingConfig.json +2 -2
- package/json-schema/api/ErrorMessage.json +2 -2
- package/json-schema/api/ErrorResponse.json +2 -2
- package/json-schema/api/EventFilter.json +2 -2
- package/json-schema/api/EventFilterCondition.json +2 -2
- package/json-schema/api/EventMessage.json +2 -2
- package/json-schema/api/EventPattern.json +2 -2
- package/json-schema/api/EventSubscription.json +2 -2
- package/json-schema/api/ExportRequest.json +2 -2
- package/json-schema/api/FederationEntity.json +2 -2
- package/json-schema/api/FederationEntityKey.json +2 -2
- package/json-schema/api/FederationExternalField.json +2 -2
- package/json-schema/api/FederationGateway.json +2 -2
- package/json-schema/api/FederationProvides.json +2 -2
- package/json-schema/api/FederationRequires.json +2 -2
- package/json-schema/api/FieldError.json +2 -2
- package/json-schema/api/FileUploadResponse.json +2 -2
- package/json-schema/api/FilterOperator.json +2 -2
- package/json-schema/api/FindDataRequest.json +2 -2
- package/json-schema/api/FindDataResponse.json +2 -2
- package/json-schema/api/GeneratedApiDocumentation.json +2 -2
- package/json-schema/api/GeneratedEndpoint.json +2 -2
- package/json-schema/api/GetAnalyticsMetaRequest.json +2 -2
- package/json-schema/api/GetDataRequest.json +2 -2
- package/json-schema/api/GetDataResponse.json +2 -2
- package/json-schema/api/GetDiscoveryRequest.json +2 -2
- package/json-schema/api/GetDiscoveryResponse.json +2 -2
- package/json-schema/api/GetEffectivePermissionsRequest.json +2 -2
- package/json-schema/api/GetEffectivePermissionsResponse.json +2 -2
- package/json-schema/api/GetFieldLabelsRequest.json +2 -2
- package/json-schema/api/GetFieldLabelsResponse.json +2 -2
- package/json-schema/api/GetLocalesRequest.json +2 -2
- package/json-schema/api/GetLocalesResponse.json +2 -2
- package/json-schema/api/GetMetaItemCachedRequest.json +2 -2
- package/json-schema/api/GetMetaItemCachedResponse.json +2 -2
- package/json-schema/api/GetMetaItemRequest.json +2 -2
- package/json-schema/api/GetMetaItemResponse.json +2 -2
- package/json-schema/api/GetMetaItemsRequest.json +2 -2
- package/json-schema/api/GetMetaItemsResponse.json +2 -2
- package/json-schema/api/GetMetaTypesRequest.json +2 -2
- package/json-schema/api/GetMetaTypesResponse.json +2 -2
- package/json-schema/api/GetNotificationPreferencesRequest.json +2 -2
- package/json-schema/api/GetNotificationPreferencesResponse.json +2 -2
- package/json-schema/api/GetObjectPermissionsRequest.json +2 -2
- package/json-schema/api/GetObjectPermissionsResponse.json +2 -2
- package/json-schema/api/GetPackageRequest.json +2 -2
- package/json-schema/api/GetPackageResponse.json +2 -2
- package/json-schema/api/GetPresenceRequest.json +2 -2
- package/json-schema/api/GetPresenceResponse.json +2 -2
- package/json-schema/api/GetPresignedUrlRequest.json +2 -2
- package/json-schema/api/GetTranslationsRequest.json +2 -2
- package/json-schema/api/GetTranslationsResponse.json +2 -2
- package/json-schema/api/GetUiViewRequest.json +2 -2
- package/json-schema/api/GetViewRequest.json +2 -2
- package/json-schema/api/GetWorkflowConfigRequest.json +2 -2
- package/json-schema/api/GetWorkflowConfigResponse.json +2 -2
- package/json-schema/api/GetWorkflowStateRequest.json +2 -2
- package/json-schema/api/GetWorkflowStateResponse.json +2 -2
- package/json-schema/api/GraphQLConfig.json +2 -2
- package/json-schema/api/GraphQLDataLoaderConfig.json +2 -2
- package/json-schema/api/GraphQLDirectiveConfig.json +2 -2
- package/json-schema/api/GraphQLDirectiveLocation.json +2 -2
- package/json-schema/api/GraphQLMutationConfig.json +2 -2
- package/json-schema/api/GraphQLPersistedQuery.json +2 -2
- package/json-schema/api/GraphQLQueryAdapter.json +2 -2
- package/json-schema/api/GraphQLQueryComplexity.json +2 -2
- package/json-schema/api/GraphQLQueryConfig.json +2 -2
- package/json-schema/api/GraphQLQueryDepthLimit.json +2 -2
- package/json-schema/api/GraphQLRateLimit.json +2 -2
- package/json-schema/api/GraphQLResolverConfig.json +2 -2
- package/json-schema/api/GraphQLScalarType.json +2 -2
- package/json-schema/api/GraphQLSubscriptionConfig.json +2 -2
- package/json-schema/api/GraphQLTypeConfig.json +2 -2
- package/json-schema/api/HttpMethod.json +2 -2
- package/json-schema/api/HttpStatusCode.json +2 -2
- package/json-schema/api/IdRequest.json +2 -2
- package/json-schema/api/InstallPackageRequest.json +2 -2
- package/json-schema/api/InstallPackageResponse.json +2 -2
- package/json-schema/api/ListNotificationsRequest.json +2 -2
- package/json-schema/api/ListNotificationsResponse.json +2 -2
- package/json-schema/api/ListPackagesRequest.json +2 -2
- package/json-schema/api/ListPackagesResponse.json +2 -2
- package/json-schema/api/ListRecordResponse.json +2 -2
- package/json-schema/api/ListViewsRequest.json +2 -2
- package/json-schema/api/LoginRequest.json +2 -2
- package/json-schema/api/LoginType.json +2 -2
- package/json-schema/api/MarkAllNotificationsReadRequest.json +2 -2
- package/json-schema/api/MarkAllNotificationsReadResponse.json +2 -2
- package/json-schema/api/MarkNotificationsReadRequest.json +2 -2
- package/json-schema/api/MarkNotificationsReadResponse.json +2 -2
- package/json-schema/api/MetadataBulkRegisterRequest.json +2 -2
- package/json-schema/api/MetadataBulkResponse.json +2 -2
- package/json-schema/api/MetadataBulkUnregisterRequest.json +2 -2
- package/json-schema/api/MetadataCacheRequest.json +2 -2
- package/json-schema/api/MetadataCacheResponse.json +2 -2
- package/json-schema/api/MetadataDeleteResponse.json +2 -2
- package/json-schema/api/MetadataDependenciesResponse.json +2 -2
- package/json-schema/api/MetadataDependentsResponse.json +2 -2
- package/json-schema/api/MetadataEffectiveResponse.json +2 -2
- package/json-schema/api/MetadataEndpointsConfig.json +2 -2
- package/json-schema/api/MetadataExistsResponse.json +2 -2
- package/json-schema/api/MetadataExportRequest.json +2 -2
- package/json-schema/api/MetadataExportResponse.json +2 -2
- package/json-schema/api/MetadataImportRequest.json +2 -2
- package/json-schema/api/MetadataImportResponse.json +2 -2
- package/json-schema/api/MetadataItemResponse.json +2 -2
- package/json-schema/api/MetadataListResponse.json +2 -2
- package/json-schema/api/MetadataNamesResponse.json +2 -2
- package/json-schema/api/MetadataOverlayResponse.json +2 -2
- package/json-schema/api/MetadataOverlaySaveRequest.json +2 -2
- package/json-schema/api/MetadataQueryRequest.json +2 -2
- package/json-schema/api/MetadataQueryResponse.json +2 -2
- package/json-schema/api/MetadataRegisterRequest.json +2 -2
- package/json-schema/api/MetadataTypeInfoResponse.json +2 -2
- package/json-schema/api/MetadataTypesResponse.json +2 -2
- package/json-schema/api/MetadataValidateRequest.json +2 -2
- package/json-schema/api/MetadataValidateResponse.json +2 -2
- package/json-schema/api/ModificationResult.json +2 -2
- package/json-schema/api/Notification.json +2 -2
- package/json-schema/api/NotificationPreferences.json +2 -2
- package/json-schema/api/ODataConfig.json +2 -2
- package/json-schema/api/ODataError.json +2 -2
- package/json-schema/api/ODataFilterFunction.json +2 -2
- package/json-schema/api/ODataFilterOperator.json +2 -2
- package/json-schema/api/ODataMetadata.json +2 -2
- package/json-schema/api/ODataQuery.json +2 -2
- package/json-schema/api/ODataQueryAdapter.json +2 -2
- package/json-schema/api/ODataResponse.json +2 -2
- package/json-schema/api/ObjectDefinitionResponse.json +8 -5
- package/json-schema/api/ObjectQLReference.json +2 -2
- package/json-schema/api/OpenApi31Extensions.json +2 -2
- package/json-schema/api/OpenApiGenerationConfig.json +2 -2
- package/json-schema/api/OpenApiSecurityScheme.json +2 -2
- package/json-schema/api/OpenApiServer.json +2 -2
- package/json-schema/api/OpenApiSpec.json +2 -2
- package/json-schema/api/OperatorMapping.json +2 -2
- package/json-schema/api/PingMessage.json +2 -2
- package/json-schema/api/PongMessage.json +2 -2
- package/json-schema/api/PresenceMessage.json +2 -2
- package/json-schema/api/PresenceState.json +2 -2
- package/json-schema/api/PresenceStatus.json +2 -2
- package/json-schema/api/PresenceUpdate.json +2 -2
- package/json-schema/api/PresignedUrlResponse.json +2 -2
- package/json-schema/api/QueryAdapterConfig.json +2 -2
- package/json-schema/api/QueryAdapterTarget.json +2 -2
- package/json-schema/api/QueryOptimizationConfig.json +2 -2
- package/json-schema/api/RealtimeConfig.json +2 -2
- package/json-schema/api/RealtimeConnectRequest.json +2 -2
- package/json-schema/api/RealtimeConnectResponse.json +2 -2
- package/json-schema/api/RealtimeDisconnectRequest.json +2 -2
- package/json-schema/api/RealtimeDisconnectResponse.json +2 -2
- package/json-schema/api/RealtimeEvent.json +2 -2
- package/json-schema/api/RealtimeEventType.json +2 -2
- package/json-schema/api/RealtimePresence.json +2 -2
- package/json-schema/api/RealtimeRecordAction.json +2 -2
- package/json-schema/api/RealtimeSubscribeRequest.json +2 -2
- package/json-schema/api/RealtimeSubscribeResponse.json +2 -2
- package/json-schema/api/RealtimeUnsubscribeRequest.json +2 -2
- package/json-schema/api/RealtimeUnsubscribeResponse.json +2 -2
- package/json-schema/api/RecordData.json +2 -2
- package/json-schema/api/RefreshTokenRequest.json +2 -2
- package/json-schema/api/RegisterDeviceRequest.json +2 -2
- package/json-schema/api/RegisterDeviceResponse.json +2 -2
- package/json-schema/api/RegisterRequest.json +2 -2
- package/json-schema/api/RequestValidationConfig.json +2 -2
- package/json-schema/api/ResponseEnvelopeConfig.json +2 -2
- package/json-schema/api/RestApiConfig.json +2 -2
- package/json-schema/api/RestApiEndpoint.json +2 -2
- package/json-schema/api/RestApiPluginConfig.json +2 -2
- package/json-schema/api/RestApiRouteCategory.json +2 -2
- package/json-schema/api/RestApiRouteRegistration.json +2 -2
- package/json-schema/api/RestQueryAdapter.json +2 -2
- package/json-schema/api/RestServerConfig.json +2 -2
- package/json-schema/api/RetryStrategy.json +2 -2
- package/json-schema/api/RouteCategory.json +2 -2
- package/json-schema/api/RouteDefinition.json +2 -2
- package/json-schema/api/RouteGenerationConfig.json +2 -2
- package/json-schema/api/RouterConfig.json +2 -2
- package/json-schema/api/SaveMetaItemRequest.json +2 -2
- package/json-schema/api/SaveMetaItemResponse.json +2 -2
- package/json-schema/api/SchemaDefinition.json +2 -2
- package/json-schema/api/ServiceInfo.json +2 -2
- package/json-schema/api/Session.json +2 -2
- package/json-schema/api/SessionResponse.json +2 -2
- package/json-schema/api/SessionUser.json +2 -2
- package/json-schema/api/SetPresenceRequest.json +2 -2
- package/json-schema/api/SetPresenceResponse.json +2 -2
- package/json-schema/api/SimpleCursorPosition.json +2 -2
- package/json-schema/api/SimplePresenceState.json +2 -2
- package/json-schema/api/SingleRecordResponse.json +2 -2
- package/json-schema/api/StandardErrorCode.json +2 -2
- package/json-schema/api/SubgraphConfig.json +2 -2
- package/json-schema/api/SubscribeMessage.json +2 -2
- package/json-schema/api/Subscription.json +2 -2
- package/json-schema/api/SubscriptionEvent.json +2 -2
- package/json-schema/api/TransportProtocol.json +2 -2
- package/json-schema/api/UninstallPackageRequest.json +2 -2
- package/json-schema/api/UninstallPackageResponse.json +2 -2
- package/json-schema/api/UnregisterDeviceRequest.json +2 -2
- package/json-schema/api/UnregisterDeviceResponse.json +2 -2
- package/json-schema/api/UnsubscribeMessage.json +2 -2
- package/json-schema/api/UnsubscribeRequest.json +2 -2
- package/json-schema/api/UpdateDataRequest.json +2 -2
- package/json-schema/api/UpdateDataResponse.json +2 -2
- package/json-schema/api/UpdateManyDataRequest.json +2 -2
- package/json-schema/api/UpdateManyDataResponse.json +2 -2
- package/json-schema/api/UpdateManyRequest.json +2 -2
- package/json-schema/api/UpdateNotificationPreferencesRequest.json +2 -2
- package/json-schema/api/UpdateNotificationPreferencesResponse.json +2 -2
- package/json-schema/api/UpdateRequest.json +2 -2
- package/json-schema/api/UserProfileResponse.json +2 -2
- package/json-schema/api/ValidationMode.json +2 -2
- package/json-schema/api/VersionDefinition.json +2 -2
- package/json-schema/api/VersionNegotiationResponse.json +2 -2
- package/json-schema/api/VersionStatus.json +2 -2
- package/json-schema/api/VersioningConfig.json +2 -2
- package/json-schema/api/VersioningStrategy.json +2 -2
- package/json-schema/api/WebSocketConfig.json +2 -2
- package/json-schema/api/WebSocketEvent.json +2 -2
- package/json-schema/api/WebSocketMessage.json +2 -2
- package/json-schema/api/WebSocketMessageType.json +2 -2
- package/json-schema/api/WebSocketPresenceStatus.json +2 -2
- package/json-schema/api/WebSocketServerConfig.json +2 -2
- package/json-schema/api/WebhookConfig.json +2 -2
- package/json-schema/api/WebhookEvent.json +2 -2
- package/json-schema/api/WorkflowApproveRequest.json +2 -2
- package/json-schema/api/WorkflowApproveResponse.json +2 -2
- package/json-schema/api/WorkflowRejectRequest.json +2 -2
- package/json-schema/api/WorkflowRejectResponse.json +2 -2
- package/json-schema/api/WorkflowState.json +2 -2
- package/json-schema/api/WorkflowTransitionRequest.json +2 -2
- package/json-schema/api/WorkflowTransitionResponse.json +2 -2
- package/json-schema/automation/ActionRef.json +2 -2
- package/json-schema/automation/ApprovalAction.json +2 -2
- package/json-schema/automation/ApprovalActionType.json +2 -2
- package/json-schema/automation/ApprovalProcess.json +2 -2
- package/json-schema/automation/ApprovalStep.json +2 -2
- package/json-schema/automation/ApproverType.json +2 -2
- package/json-schema/automation/AuthField.json +2 -2
- package/json-schema/automation/Authentication.json +2 -2
- package/json-schema/automation/AuthenticationType.json +2 -2
- package/json-schema/automation/ConflictResolution.json +2 -2
- package/json-schema/automation/Connector.json +2 -2
- package/json-schema/automation/ConnectorActionRef.json +2 -2
- package/json-schema/automation/ConnectorCategory.json +2 -2
- package/json-schema/automation/ConnectorInstance.json +2 -2
- package/json-schema/automation/ConnectorOperation.json +2 -2
- package/json-schema/automation/ConnectorTrigger.json +2 -2
- package/json-schema/automation/CustomScriptAction.json +2 -2
- package/json-schema/automation/DataDestinationConfig.json +2 -2
- package/json-schema/automation/DataSourceConfig.json +2 -2
- package/json-schema/automation/DataSyncConfig.json +2 -2
- package/json-schema/automation/ETLDestination.json +2 -2
- package/json-schema/automation/ETLEndpointType.json +2 -2
- package/json-schema/automation/ETLPipeline.json +2 -2
- package/json-schema/automation/ETLPipelineRun.json +2 -2
- package/json-schema/automation/ETLRunStatus.json +2 -2
- package/json-schema/automation/ETLSource.json +2 -2
- package/json-schema/automation/ETLSyncMode.json +2 -2
- package/json-schema/automation/ETLTransformation.json +2 -2
- package/json-schema/automation/ETLTransformationType.json +2 -2
- package/json-schema/automation/EmailAlertAction.json +2 -2
- package/json-schema/automation/Event.json +2 -2
- package/json-schema/automation/FieldUpdateAction.json +2 -2
- package/json-schema/automation/Flow.json +2 -2
- package/json-schema/automation/FlowEdge.json +2 -2
- package/json-schema/automation/FlowNode.json +2 -2
- package/json-schema/automation/FlowNodeAction.json +2 -2
- package/json-schema/automation/FlowVariable.json +2 -2
- package/json-schema/automation/GuardRef.json +2 -2
- package/json-schema/automation/HttpCallAction.json +2 -2
- package/json-schema/automation/OAuth2Config.json +2 -2
- package/json-schema/automation/OperationParameter.json +2 -2
- package/json-schema/automation/OperationType.json +2 -2
- package/json-schema/automation/PushNotificationAction.json +2 -2
- package/json-schema/automation/StateMachine.json +2 -2
- package/json-schema/automation/StateNode.json +2 -2
- package/json-schema/automation/SyncDirection.json +2 -2
- package/json-schema/automation/SyncExecutionResult.json +2 -2
- package/json-schema/automation/SyncExecutionStatus.json +2 -2
- package/json-schema/automation/SyncMode.json +2 -2
- package/json-schema/automation/TaskCreationAction.json +2 -2
- package/json-schema/automation/TimeTrigger.json +2 -2
- package/json-schema/automation/Transition.json +2 -2
- package/json-schema/automation/Webhook.json +2 -2
- package/json-schema/automation/WebhookReceiver.json +2 -2
- package/json-schema/automation/WebhookTriggerType.json +2 -2
- package/json-schema/automation/WorkflowAction.json +2 -2
- package/json-schema/automation/WorkflowRule.json +2 -2
- package/json-schema/automation/WorkflowTriggerType.json +2 -2
- package/json-schema/cloud/AnalyticsTimeRange.json +2 -2
- package/json-schema/cloud/AppDiscoveryRequest.json +2 -2
- package/json-schema/cloud/AppDiscoveryResponse.json +2 -2
- package/json-schema/cloud/AppSubscription.json +2 -2
- package/json-schema/cloud/CreateListingRequest.json +2 -2
- package/json-schema/cloud/CuratedCollection.json +2 -2
- package/json-schema/cloud/FeaturedListing.json +2 -2
- package/json-schema/cloud/InstalledAppSummary.json +2 -2
- package/json-schema/cloud/ListInstalledAppsRequest.json +2 -2
- package/json-schema/cloud/ListInstalledAppsResponse.json +2 -2
- package/json-schema/cloud/ListReviewsRequest.json +2 -2
- package/json-schema/cloud/ListReviewsResponse.json +2 -2
- package/json-schema/cloud/ListingActionRequest.json +2 -2
- package/json-schema/cloud/ListingStatus.json +2 -2
- package/json-schema/cloud/MarketplaceCategory.json +2 -2
- package/json-schema/cloud/MarketplaceHealthMetrics.json +2 -2
- package/json-schema/cloud/MarketplaceInstallRequest.json +2 -2
- package/json-schema/cloud/MarketplaceInstallResponse.json +2 -2
- package/json-schema/cloud/MarketplaceListing.json +2 -2
- package/json-schema/cloud/MarketplaceSearchRequest.json +2 -2
- package/json-schema/cloud/MarketplaceSearchResponse.json +2 -2
- package/json-schema/cloud/PackageSubmission.json +2 -2
- package/json-schema/cloud/PolicyAction.json +2 -2
- package/json-schema/cloud/PolicyViolationType.json +2 -2
- package/json-schema/cloud/PricingModel.json +2 -2
- package/json-schema/cloud/Publisher.json +2 -2
- package/json-schema/cloud/PublisherProfile.json +2 -2
- package/json-schema/cloud/PublisherVerification.json +2 -2
- package/json-schema/cloud/PublishingAnalyticsRequest.json +2 -2
- package/json-schema/cloud/PublishingAnalyticsResponse.json +2 -2
- package/json-schema/cloud/RecommendationReason.json +2 -2
- package/json-schema/cloud/RecommendedApp.json +2 -2
- package/json-schema/cloud/RejectionReason.json +2 -2
- package/json-schema/cloud/ReleaseChannel.json +2 -2
- package/json-schema/cloud/ReviewCriterion.json +2 -2
- package/json-schema/cloud/ReviewDecision.json +2 -2
- package/json-schema/cloud/ReviewModerationStatus.json +2 -2
- package/json-schema/cloud/SubmissionReview.json +2 -2
- package/json-schema/cloud/SubmitReviewRequest.json +2 -2
- package/json-schema/cloud/SubscriptionStatus.json +2 -2
- package/json-schema/cloud/TimeSeriesPoint.json +2 -2
- package/json-schema/cloud/TrendingListing.json +2 -2
- package/json-schema/cloud/UpdateListingRequest.json +2 -2
- package/json-schema/cloud/UserReview.json +2 -2
- package/json-schema/cloud/VersionRelease.json +2 -2
- package/json-schema/data/Address.json +2 -2
- package/json-schema/data/AggregationFunction.json +2 -2
- package/json-schema/data/AggregationMetricType.json +2 -2
- package/json-schema/data/AggregationNode.json +2 -2
- package/json-schema/data/AggregationPipeline.json +2 -2
- package/json-schema/data/AggregationStage.json +2 -2
- package/json-schema/data/AnalyticsQuery.json +2 -2
- package/json-schema/data/ApiMethod.json +2 -2
- package/json-schema/data/AsyncValidation.json +2 -2
- package/json-schema/data/BaseEngineOptions.json +2 -2
- package/json-schema/data/CDCConfig.json +2 -2
- package/json-schema/data/ComputedFieldCache.json +2 -2
- package/json-schema/data/ConditionalValidation.json +2 -2
- package/json-schema/data/ConsistencyLevel.json +2 -2
- package/json-schema/data/CrossFieldValidation.json +2 -2
- package/json-schema/data/Cube.json +2 -2
- package/json-schema/data/CubeJoin.json +2 -2
- package/json-schema/data/CurrencyConfig.json +2 -2
- package/json-schema/data/CurrencyValue.json +2 -2
- package/json-schema/data/CustomValidator.json +2 -2
- package/json-schema/data/DataEngineAggregateOptions.json +2 -2
- package/json-schema/data/DataEngineAggregateRequest.json +2 -2
- package/json-schema/data/DataEngineBatchRequest.json +2 -2
- package/json-schema/data/DataEngineCountOptions.json +2 -2
- package/json-schema/data/DataEngineCountRequest.json +2 -2
- package/json-schema/data/DataEngineDeleteOptions.json +2 -2
- package/json-schema/data/DataEngineDeleteRequest.json +2 -2
- package/json-schema/data/DataEngineExecuteRequest.json +2 -2
- package/json-schema/data/DataEngineFilter.json +2 -2
- package/json-schema/data/DataEngineFindOneRequest.json +2 -2
- package/json-schema/data/DataEngineFindRequest.json +2 -2
- package/json-schema/data/DataEngineInsertOptions.json +2 -2
- package/json-schema/data/DataEngineInsertRequest.json +2 -2
- package/json-schema/data/DataEngineQueryOptions.json +2 -2
- package/json-schema/data/DataEngineRequest.json +2 -2
- package/json-schema/data/DataEngineSort.json +2 -2
- package/json-schema/data/DataEngineUpdateOptions.json +2 -2
- package/json-schema/data/DataEngineUpdateRequest.json +2 -2
- package/json-schema/data/DataEngineVectorFindRequest.json +2 -2
- package/json-schema/data/DataQualityRules.json +2 -2
- package/json-schema/data/DataTypeMapping.json +2 -2
- package/json-schema/data/Dataset.json +2 -2
- package/json-schema/data/DatasetMode.json +2 -2
- package/json-schema/data/Datasource.json +2 -2
- package/json-schema/data/DatasourceCapabilities.json +2 -2
- package/json-schema/data/Dimension.json +2 -2
- package/json-schema/data/DimensionType.json +2 -2
- package/json-schema/data/Document.json +2 -2
- package/json-schema/data/DocumentTemplate.json +2 -2
- package/json-schema/data/DocumentValidationSchema.json +2 -2
- package/json-schema/data/DocumentVersion.json +2 -2
- package/json-schema/data/DriverCapabilities.json +2 -2
- package/json-schema/data/DriverConfig.json +2 -2
- package/json-schema/data/DriverDefinition.json +2 -2
- package/json-schema/data/DriverOptions.json +2 -2
- package/json-schema/data/DriverType.json +2 -2
- package/json-schema/data/ESignatureConfig.json +2 -2
- package/json-schema/data/EqualityOperator.json +2 -2
- package/json-schema/data/ExternalDataSource.json +2 -2
- package/json-schema/data/ExternalFieldMapping.json +2 -2
- package/json-schema/data/ExternalLookup.json +2 -2
- package/json-schema/data/Field.json +8 -5
- package/json-schema/data/FieldMapping.json +2 -2
- package/json-schema/data/FieldNode.json +2 -2
- package/json-schema/data/FieldReference.json +2 -2
- package/json-schema/data/FieldType.json +2 -2
- package/json-schema/data/FileAttachmentConfig.json +2 -2
- package/json-schema/data/FilterCondition.json +2 -2
- package/json-schema/data/FormatValidation.json +2 -2
- package/json-schema/data/FullTextSearch.json +2 -2
- package/json-schema/data/HookContext.json +2 -2
- package/json-schema/data/HookEvent.json +2 -2
- package/json-schema/data/Index.json +2 -2
- package/json-schema/data/JSONValidation.json +2 -2
- package/json-schema/data/JoinNode.json +2 -2
- package/json-schema/data/JoinStrategy.json +2 -2
- package/json-schema/data/JoinType.json +2 -2
- package/json-schema/data/LocationCoordinates.json +2 -2
- package/json-schema/data/Mapping.json +2 -2
- package/json-schema/data/Metric.json +2 -2
- package/json-schema/data/NoSQLDataTypeMapping.json +2 -2
- package/json-schema/data/NoSQLDatabaseType.json +2 -2
- package/json-schema/data/NoSQLDriverConfig.json +2 -2
- package/json-schema/data/NoSQLIndex.json +2 -2
- package/json-schema/data/NoSQLIndexType.json +2 -2
- package/json-schema/data/NoSQLOperationType.json +2 -2
- package/json-schema/data/NoSQLQueryOptions.json +2 -2
- package/json-schema/data/NoSQLTransactionOptions.json +2 -2
- package/json-schema/data/Object.json +8 -5
- package/json-schema/data/ObjectCapabilities.json +2 -2
- package/json-schema/data/ObjectExtension.json +13 -5
- package/json-schema/data/ObjectOwnershipEnum.json +2 -2
- package/json-schema/data/PartitioningConfig.json +2 -2
- package/json-schema/data/PoolConfig.json +2 -2
- package/json-schema/data/Query.json +2 -2
- package/json-schema/data/QueryFilter.json +2 -2
- package/json-schema/data/ReplicationConfig.json +2 -2
- package/json-schema/data/SQLDialect.json +2 -2
- package/json-schema/data/SQLDriverConfig.json +2 -2
- package/json-schema/data/SSLConfig.json +2 -2
- package/json-schema/data/ScriptValidation.json +2 -2
- package/json-schema/data/SearchConfig.json +2 -2
- package/json-schema/data/SelectOption.json +2 -2
- package/json-schema/data/SetOperator.json +2 -2
- package/json-schema/data/ShardingConfig.json +2 -2
- package/json-schema/data/SoftDeleteConfig.json +2 -2
- package/json-schema/data/SortNode.json +2 -2
- package/json-schema/data/SpecialOperator.json +2 -2
- package/json-schema/data/StateMachineValidation.json +2 -2
- package/json-schema/data/StringOperator.json +2 -2
- package/json-schema/data/TenancyConfig.json +2 -2
- package/json-schema/data/TimeUpdateInterval.json +2 -2
- package/json-schema/data/TransformType.json +2 -2
- package/json-schema/data/UniquenessValidation.json +2 -2
- package/json-schema/data/ValidationRule.json +2 -2
- package/json-schema/data/VectorConfig.json +2 -2
- package/json-schema/data/VersioningConfig.json +2 -2
- package/json-schema/data/WindowFunction.json +2 -2
- package/json-schema/data/WindowFunctionNode.json +2 -2
- package/json-schema/data/WindowSpec.json +2 -2
- package/json-schema/identity/Account.json +2 -2
- package/json-schema/identity/ApiKey.json +2 -2
- package/json-schema/identity/Invitation.json +2 -2
- package/json-schema/identity/InvitationStatus.json +2 -2
- package/json-schema/identity/Member.json +2 -2
- package/json-schema/identity/Organization.json +2 -2
- package/json-schema/identity/Role.json +2 -2
- package/json-schema/identity/SCIMAddress.json +2 -2
- package/json-schema/identity/SCIMBulkOperation.json +2 -2
- package/json-schema/identity/SCIMBulkRequest.json +2 -2
- package/json-schema/identity/SCIMBulkResponse.json +2 -2
- package/json-schema/identity/SCIMBulkResponseOperation.json +2 -2
- package/json-schema/identity/SCIMEmail.json +2 -2
- package/json-schema/identity/SCIMEnterpriseUser.json +2 -2
- package/json-schema/identity/SCIMError.json +2 -2
- package/json-schema/identity/SCIMGroup.json +2 -2
- package/json-schema/identity/SCIMGroupReference.json +2 -2
- package/json-schema/identity/SCIMListResponse.json +2 -2
- package/json-schema/identity/SCIMMemberReference.json +2 -2
- package/json-schema/identity/SCIMMeta.json +2 -2
- package/json-schema/identity/SCIMName.json +2 -2
- package/json-schema/identity/SCIMPatchOperation.json +2 -2
- package/json-schema/identity/SCIMPatchRequest.json +2 -2
- package/json-schema/identity/SCIMPhoneNumber.json +2 -2
- package/json-schema/identity/SCIMUser.json +2 -2
- package/json-schema/identity/Session.json +2 -2
- package/json-schema/identity/User.json +2 -2
- package/json-schema/identity/VerificationToken.json +2 -2
- package/json-schema/integration/AckMode.json +2 -2
- package/json-schema/integration/ApiVersionConfig.json +2 -2
- package/json-schema/integration/BuildConfig.json +2 -2
- package/json-schema/integration/CdcConfig.json +2 -2
- package/json-schema/integration/CircuitBreakerConfig.json +2 -2
- package/json-schema/integration/ConflictResolution.json +2 -2
- package/json-schema/integration/Connector.json +2 -2
- package/json-schema/integration/ConnectorAction.json +2 -2
- package/json-schema/integration/ConnectorHealth.json +2 -2
- package/json-schema/integration/ConnectorStatus.json +2 -2
- package/json-schema/integration/ConnectorTrigger.json +2 -2
- package/json-schema/integration/ConnectorType.json +2 -2
- package/json-schema/integration/ConsumerConfig.json +2 -2
- package/json-schema/integration/DataSyncConfig.json +2 -2
- package/json-schema/integration/DatabaseConnector.json +2 -2
- package/json-schema/integration/DatabasePoolConfig.json +2 -2
- package/json-schema/integration/DatabaseProvider.json +2 -2
- package/json-schema/integration/DatabaseTable.json +2 -2
- package/json-schema/integration/DeliveryGuarantee.json +2 -2
- package/json-schema/integration/DeploymentConfig.json +2 -2
- package/json-schema/integration/DlqConfig.json +2 -2
- package/json-schema/integration/DomainConfig.json +2 -2
- package/json-schema/integration/EdgeFunctionConfig.json +2 -2
- package/json-schema/integration/EnvironmentVariables.json +2 -2
- package/json-schema/integration/ErrorCategory.json +2 -2
- package/json-schema/integration/ErrorMappingConfig.json +2 -2
- package/json-schema/integration/ErrorMappingRule.json +2 -2
- package/json-schema/integration/FieldMapping.json +2 -2
- package/json-schema/integration/FileAccessPattern.json +2 -2
- package/json-schema/integration/FileFilterConfig.json +2 -2
- package/json-schema/integration/FileMetadataConfig.json +2 -2
- package/json-schema/integration/FileStorageConnector.json +2 -2
- package/json-schema/integration/FileStorageProvider.json +2 -2
- package/json-schema/integration/FileVersioningConfig.json +2 -2
- package/json-schema/integration/GitHubActionsWorkflow.json +2 -2
- package/json-schema/integration/GitHubCommitConfig.json +2 -2
- package/json-schema/integration/GitHubConnector.json +2 -2
- package/json-schema/integration/GitHubIssueTracking.json +2 -2
- package/json-schema/integration/GitHubProvider.json +2 -2
- package/json-schema/integration/GitHubPullRequestConfig.json +2 -2
- package/json-schema/integration/GitHubReleaseConfig.json +2 -2
- package/json-schema/integration/GitHubRepository.json +2 -2
- package/json-schema/integration/GitRepositoryConfig.json +2 -2
- package/json-schema/integration/HealthCheckConfig.json +2 -2
- package/json-schema/integration/MessageFormat.json +2 -2
- package/json-schema/integration/MessageQueueConnector.json +2 -2
- package/json-schema/integration/MessageQueueProvider.json +2 -2
- package/json-schema/integration/MultipartUploadConfig.json +2 -2
- package/json-schema/integration/ProducerConfig.json +2 -2
- package/json-schema/integration/RateLimitConfig.json +2 -2
- package/json-schema/integration/RateLimitStrategy.json +2 -2
- package/json-schema/integration/RetryConfig.json +2 -2
- package/json-schema/integration/RetryStrategy.json +2 -2
- package/json-schema/integration/SaasConnector.json +2 -2
- package/json-schema/integration/SaasObjectType.json +2 -2
- package/json-schema/integration/SaasProvider.json +2 -2
- package/json-schema/integration/SslConfig.json +2 -2
- package/json-schema/integration/StorageBucket.json +2 -2
- package/json-schema/integration/SyncStrategy.json +2 -2
- package/json-schema/integration/TopicQueue.json +2 -2
- package/json-schema/integration/VercelConnector.json +2 -2
- package/json-schema/integration/VercelFramework.json +2 -2
- package/json-schema/integration/VercelMonitoring.json +2 -2
- package/json-schema/integration/VercelProject.json +2 -2
- package/json-schema/integration/VercelProvider.json +2 -2
- package/json-schema/integration/VercelTeam.json +2 -2
- package/json-schema/integration/WebhookConfig.json +2 -2
- package/json-schema/integration/WebhookEvent.json +2 -2
- package/json-schema/integration/WebhookSignatureAlgorithm.json +2 -2
- package/json-schema/kernel/ActivationEvent.json +2 -2
- package/json-schema/kernel/AdvancedPluginLifecycleConfig.json +2 -2
- package/json-schema/kernel/BreakingChange.json +2 -2
- package/json-schema/kernel/CLICommandContribution.json +3 -3
- package/json-schema/kernel/CapabilityConformanceLevel.json +2 -2
- package/json-schema/kernel/CompatibilityLevel.json +2 -2
- package/json-schema/kernel/CompatibilityMatrixEntry.json +2 -2
- package/json-schema/kernel/CustomizationOrigin.json +2 -2
- package/json-schema/kernel/CustomizationPolicy.json +2 -2
- package/json-schema/kernel/DeadLetterQueueEntry.json +2 -2
- package/json-schema/kernel/DependencyConflict.json +2 -2
- package/json-schema/kernel/DependencyGraph.json +2 -2
- package/json-schema/kernel/DependencyGraphNode.json +2 -2
- package/json-schema/kernel/DependencyResolutionResult.json +2 -2
- package/json-schema/kernel/DeprecationNotice.json +2 -2
- package/json-schema/kernel/DevFixtureConfig.json +2 -2
- package/json-schema/kernel/DevPluginConfig.json +2 -2
- package/json-schema/kernel/DevPluginPreset.json +2 -2
- package/json-schema/kernel/DevServiceOverride.json +2 -2
- package/json-schema/kernel/DevToolsConfig.json +2 -2
- package/json-schema/kernel/DisablePackageRequest.json +2 -2
- package/json-schema/kernel/DisablePackageResponse.json +2 -2
- package/json-schema/kernel/DistributedStateConfig.json +2 -2
- package/json-schema/kernel/DynamicLoadRequest.json +2 -2
- package/json-schema/kernel/DynamicLoadingConfig.json +2 -2
- package/json-schema/kernel/DynamicPluginOperation.json +2 -2
- package/json-schema/kernel/DynamicPluginResult.json +2 -2
- package/json-schema/kernel/DynamicUnloadRequest.json +2 -2
- package/json-schema/kernel/EnablePackageRequest.json +2 -2
- package/json-schema/kernel/EnablePackageResponse.json +2 -2
- package/json-schema/kernel/Event.json +2 -2
- package/json-schema/kernel/EventBusConfig.json +2 -2
- package/json-schema/kernel/EventHandler.json +2 -2
- package/json-schema/kernel/EventLogEntry.json +2 -2
- package/json-schema/kernel/EventMessageQueueConfig.json +2 -2
- package/json-schema/kernel/EventMetadata.json +2 -2
- package/json-schema/kernel/EventPersistence.json +2 -2
- package/json-schema/kernel/EventPhase.json +2 -2
- package/json-schema/kernel/EventPriority.json +2 -2
- package/json-schema/kernel/EventQueueConfig.json +2 -2
- package/json-schema/kernel/EventReplayConfig.json +2 -2
- package/json-schema/kernel/EventRoute.json +2 -2
- package/json-schema/kernel/EventSourcingConfig.json +2 -2
- package/json-schema/kernel/EventTypeDefinition.json +2 -2
- package/json-schema/kernel/EventWebhookConfig.json +2 -2
- package/json-schema/kernel/ExecutionContext.json +2 -2
- package/json-schema/kernel/ExtensionPoint.json +2 -2
- package/json-schema/kernel/FeatureFlag.json +2 -2
- package/json-schema/kernel/FeatureStrategy.json +2 -2
- package/json-schema/kernel/FieldChange.json +2 -2
- package/json-schema/kernel/GetPackageRequest.json +2 -2
- package/json-schema/kernel/GetPackageResponse.json +2 -2
- package/json-schema/kernel/GracefulDegradation.json +2 -2
- package/json-schema/kernel/HealthStatus.json +2 -2
- package/json-schema/kernel/HookRegisteredEvent.json +2 -2
- package/json-schema/kernel/HookTriggeredEvent.json +2 -2
- package/json-schema/kernel/HotReloadConfig.json +2 -2
- package/json-schema/kernel/InstallPackageRequest.json +2 -2
- package/json-schema/kernel/InstallPackageResponse.json +2 -2
- package/json-schema/kernel/InstalledPackage.json +2 -2
- package/json-schema/kernel/KernelContext.json +2 -2
- package/json-schema/kernel/KernelEventBase.json +2 -2
- package/json-schema/kernel/KernelReadyEvent.json +2 -2
- package/json-schema/kernel/KernelSecurityPolicy.json +2 -2
- package/json-schema/kernel/KernelSecurityScanResult.json +2 -2
- package/json-schema/kernel/KernelSecurityVulnerability.json +2 -2
- package/json-schema/kernel/KernelShutdownEvent.json +2 -2
- package/json-schema/kernel/ListPackagesRequest.json +2 -2
- package/json-schema/kernel/ListPackagesResponse.json +2 -2
- package/json-schema/kernel/Manifest.json +2 -2
- package/json-schema/kernel/MergeConflict.json +2 -2
- package/json-schema/kernel/MergeResult.json +2 -2
- package/json-schema/kernel/MergeStrategyConfig.json +2 -2
- package/json-schema/kernel/MetadataBulkRegisterRequest.json +2 -2
- package/json-schema/kernel/MetadataBulkResult.json +2 -2
- package/json-schema/kernel/MetadataChangeType.json +2 -2
- package/json-schema/kernel/MetadataCollectionInfo.json +2 -2
- package/json-schema/kernel/MetadataDependency.json +2 -2
- package/json-schema/kernel/MetadataDiffItem.json +2 -2
- package/json-schema/kernel/MetadataEvent.json +2 -2
- package/json-schema/kernel/MetadataExportOptions.json +2 -2
- package/json-schema/kernel/MetadataFallbackStrategy.json +2 -2
- package/json-schema/kernel/MetadataFormat.json +2 -2
- package/json-schema/kernel/MetadataImportOptions.json +2 -2
- package/json-schema/kernel/MetadataLoadOptions.json +2 -2
- package/json-schema/kernel/MetadataLoadResult.json +2 -2
- package/json-schema/kernel/MetadataLoaderContract.json +2 -2
- package/json-schema/kernel/MetadataManagerConfig.json +2 -2
- package/json-schema/kernel/MetadataOverlay.json +2 -2
- package/json-schema/kernel/MetadataPluginConfig.json +2 -2
- package/json-schema/kernel/MetadataPluginManifest.json +2 -2
- package/json-schema/kernel/MetadataQuery.json +2 -2
- package/json-schema/kernel/MetadataQueryResult.json +2 -2
- package/json-schema/kernel/MetadataSaveOptions.json +2 -2
- package/json-schema/kernel/MetadataSaveResult.json +2 -2
- package/json-schema/kernel/MetadataStats.json +2 -2
- package/json-schema/kernel/MetadataType.json +2 -2
- package/json-schema/kernel/MetadataTypeRegistryEntry.json +2 -2
- package/json-schema/kernel/MetadataValidationResult.json +2 -2
- package/json-schema/kernel/MetadataWatchEvent.json +2 -2
- package/json-schema/kernel/MultiVersionSupport.json +2 -2
- package/json-schema/kernel/OclifPluginConfig.json +38 -0
- package/json-schema/kernel/OpsDomainModule.json +2 -2
- package/json-schema/kernel/OpsFilePath.json +2 -2
- package/json-schema/kernel/OpsPluginStructure.json +2 -2
- package/json-schema/kernel/PackageDependency.json +2 -2
- package/json-schema/kernel/PackageDependencyConflict.json +2 -2
- package/json-schema/kernel/PackageDependencyResolutionResult.json +2 -2
- package/json-schema/kernel/PackageStatusEnum.json +2 -2
- package/json-schema/kernel/Permission.json +2 -2
- package/json-schema/kernel/PermissionAction.json +2 -2
- package/json-schema/kernel/PermissionScope.json +2 -2
- package/json-schema/kernel/PermissionSet.json +2 -2
- package/json-schema/kernel/PluginCaching.json +2 -2
- package/json-schema/kernel/PluginCapability.json +2 -2
- package/json-schema/kernel/PluginCapabilityManifest.json +2 -2
- package/json-schema/kernel/PluginCodeSplitting.json +2 -2
- package/json-schema/kernel/PluginCompatibilityMatrix.json +2 -2
- package/json-schema/kernel/PluginDependency.json +2 -2
- package/json-schema/kernel/PluginDependencyResolution.json +2 -2
- package/json-schema/kernel/PluginDiscoveryConfig.json +2 -2
- package/json-schema/kernel/PluginDiscoverySource.json +2 -2
- package/json-schema/kernel/PluginDynamicImport.json +2 -2
- package/json-schema/kernel/PluginErrorEvent.json +2 -2
- package/json-schema/kernel/PluginEventBase.json +2 -2
- package/json-schema/kernel/PluginHealthCheck.json +2 -2
- package/json-schema/kernel/PluginHealthReport.json +2 -2
- package/json-schema/kernel/PluginHealthStatus.json +2 -2
- package/json-schema/kernel/PluginHotReload.json +2 -2
- package/json-schema/kernel/PluginInitialization.json +2 -2
- package/json-schema/kernel/PluginInstallConfig.json +2 -2
- package/json-schema/kernel/PluginInterface.json +2 -2
- package/json-schema/kernel/PluginLifecycleEventType.json +2 -2
- package/json-schema/kernel/PluginLifecyclePhaseEvent.json +2 -2
- package/json-schema/kernel/PluginLoadingConfig.json +2 -2
- package/json-schema/kernel/PluginLoadingEvent.json +2 -2
- package/json-schema/kernel/PluginLoadingState.json +2 -2
- package/json-schema/kernel/PluginLoadingStrategy.json +2 -2
- package/json-schema/kernel/PluginMetadata.json +2 -2
- package/json-schema/kernel/PluginPerformanceMonitoring.json +2 -2
- package/json-schema/kernel/PluginPreloadConfig.json +2 -2
- package/json-schema/kernel/PluginProvenance.json +2 -2
- package/json-schema/kernel/PluginQualityMetrics.json +2 -2
- package/json-schema/kernel/PluginRegisteredEvent.json +2 -2
- package/json-schema/kernel/PluginRegistryEntry.json +2 -2
- package/json-schema/kernel/PluginSandboxing.json +2 -2
- package/json-schema/kernel/PluginSearchFilters.json +2 -2
- package/json-schema/kernel/PluginSecurityManifest.json +2 -2
- package/json-schema/kernel/PluginSource.json +2 -2
- package/json-schema/kernel/PluginStartupResult.json +2 -2
- package/json-schema/kernel/PluginStateSnapshot.json +2 -2
- package/json-schema/kernel/PluginStatistics.json +2 -2
- package/json-schema/kernel/PluginTrustLevel.json +2 -2
- package/json-schema/kernel/PluginTrustScore.json +2 -2
- package/json-schema/kernel/PluginUpdateStrategy.json +2 -2
- package/json-schema/kernel/PluginVendor.json +2 -2
- package/json-schema/kernel/PluginVersionMetadata.json +2 -2
- package/json-schema/kernel/PreviewModeConfig.json +2 -2
- package/json-schema/kernel/ProtocolFeature.json +2 -2
- package/json-schema/kernel/ProtocolReference.json +2 -2
- package/json-schema/kernel/ProtocolVersion.json +2 -2
- package/json-schema/kernel/RealTimeNotificationConfig.json +2 -2
- package/json-schema/kernel/ResourceType.json +2 -2
- package/json-schema/kernel/RollbackPackageRequest.json +2 -2
- package/json-schema/kernel/RollbackPackageResponse.json +2 -2
- package/json-schema/kernel/RuntimeConfig.json +2 -2
- package/json-schema/kernel/RuntimeMode.json +2 -2
- package/json-schema/kernel/SBOM.json +2 -2
- package/json-schema/kernel/SBOMEntry.json +2 -2
- package/json-schema/kernel/SandboxConfig.json +2 -2
- package/json-schema/kernel/ScopeConfig.json +2 -2
- package/json-schema/kernel/ScopeInfo.json +2 -2
- package/json-schema/kernel/SecurityPolicy.json +2 -2
- package/json-schema/kernel/SecurityScanResult.json +2 -2
- package/json-schema/kernel/SecurityVulnerability.json +2 -2
- package/json-schema/kernel/SemanticVersion.json +2 -2
- package/json-schema/kernel/ServiceFactoryRegistration.json +2 -2
- package/json-schema/kernel/ServiceMetadata.json +2 -2
- package/json-schema/kernel/ServiceRegisteredEvent.json +2 -2
- package/json-schema/kernel/ServiceRegistryConfig.json +2 -2
- package/json-schema/kernel/ServiceScopeType.json +2 -2
- package/json-schema/kernel/ServiceUnregisteredEvent.json +2 -2
- package/json-schema/kernel/StartupOptions.json +2 -2
- package/json-schema/kernel/StartupOrchestrationResult.json +2 -2
- package/json-schema/kernel/UninstallPackageRequest.json +2 -2
- package/json-schema/kernel/UninstallPackageResponse.json +2 -2
- package/json-schema/kernel/UpgradeImpactLevel.json +2 -2
- package/json-schema/kernel/UpgradePackageRequest.json +2 -2
- package/json-schema/kernel/UpgradePackageResponse.json +2 -2
- package/json-schema/kernel/UpgradePhase.json +2 -2
- package/json-schema/kernel/UpgradePlan.json +2 -2
- package/json-schema/kernel/UpgradeSnapshot.json +2 -2
- package/json-schema/kernel/ValidationError.json +2 -2
- package/json-schema/kernel/ValidationResult.json +2 -2
- package/json-schema/kernel/ValidationWarning.json +2 -2
- package/json-schema/kernel/VersionConstraint.json +2 -2
- package/json-schema/kernel/VulnerabilitySeverity.json +2 -2
- package/json-schema/objectstack.json +8656 -3251
- package/json-schema/openapi.json +1 -1
- package/json-schema/qa/TestAction.json +2 -2
- package/json-schema/qa/TestActionType.json +2 -2
- package/json-schema/qa/TestAssertion.json +2 -2
- package/json-schema/qa/TestAssertionType.json +2 -2
- package/json-schema/qa/TestContext.json +2 -2
- package/json-schema/qa/TestScenario.json +2 -2
- package/json-schema/qa/TestStep.json +2 -2
- package/json-schema/qa/TestSuite.json +2 -2
- package/json-schema/security/AuditPolicy.json +2 -2
- package/json-schema/security/CriteriaSharingRule.json +2 -2
- package/json-schema/security/FieldPermission.json +2 -2
- package/json-schema/security/NetworkPolicy.json +2 -2
- package/json-schema/security/OWDModel.json +2 -2
- package/json-schema/security/ObjectPermission.json +2 -2
- package/json-schema/security/OwnerSharingRule.json +2 -2
- package/json-schema/security/PasswordPolicy.json +2 -2
- package/json-schema/security/PermissionSet.json +2 -2
- package/json-schema/security/Policy.json +2 -2
- package/json-schema/security/RLSAuditConfig.json +2 -2
- package/json-schema/security/RLSAuditEvent.json +2 -2
- package/json-schema/security/RLSConfig.json +2 -2
- package/json-schema/security/RLSEvaluationResult.json +2 -2
- package/json-schema/security/RLSOperation.json +2 -2
- package/json-schema/security/RLSUserContext.json +2 -2
- package/json-schema/security/RowLevelSecurityPolicy.json +2 -2
- package/json-schema/security/SessionPolicy.json +2 -2
- package/json-schema/security/ShareRecipientType.json +2 -2
- package/json-schema/security/SharingLevel.json +2 -2
- package/json-schema/security/SharingRule.json +2 -2
- package/json-schema/security/SharingRuleType.json +2 -2
- package/json-schema/security/Territory.json +2 -2
- package/json-schema/security/TerritoryModel.json +2 -2
- package/json-schema/security/TerritoryType.json +2 -2
- package/json-schema/shared/AggregationFunctionEnum.json +2 -2
- package/json-schema/shared/AppName.json +2 -2
- package/json-schema/shared/BaseMetadataRecord.json +2 -2
- package/json-schema/shared/CacheStrategyEnum.json +2 -2
- package/json-schema/shared/CorsConfig.json +2 -2
- package/json-schema/shared/EventName.json +2 -2
- package/json-schema/shared/FieldMapping.json +2 -2
- package/json-schema/shared/FieldName.json +2 -2
- package/json-schema/shared/FlowName.json +2 -2
- package/json-schema/shared/HttpMethod.json +2 -2
- package/json-schema/shared/IsolationLevelEnum.json +2 -2
- package/json-schema/shared/MetadataFormat.json +2 -2
- package/json-schema/shared/MutationEventEnum.json +2 -2
- package/json-schema/shared/ObjectName.json +2 -2
- package/json-schema/shared/RateLimitConfig.json +2 -2
- package/json-schema/shared/RoleName.json +2 -2
- package/json-schema/shared/SnakeCaseIdentifier.json +2 -2
- package/json-schema/shared/SortDirectionEnum.json +2 -2
- package/json-schema/shared/SortItem.json +26 -0
- package/json-schema/shared/StaticMount.json +2 -2
- package/json-schema/shared/SystemIdentifier.json +2 -2
- package/json-schema/shared/TransformType.json +2 -2
- package/json-schema/shared/ViewName.json +2 -2
- package/json-schema/studio/ActionContribution.json +2 -2
- package/json-schema/studio/ActionLocation.json +2 -2
- package/json-schema/studio/ActivationEvent.json +2 -2
- package/json-schema/studio/CanvasSnapSettings.json +37 -0
- package/json-schema/studio/CanvasZoomSettings.json +37 -0
- package/json-schema/studio/CommandContribution.json +2 -2
- package/json-schema/studio/ERDiagramConfig.json +167 -0
- package/json-schema/studio/ERLayoutAlgorithm.json +13 -0
- package/json-schema/studio/ERNodeDisplay.json +53 -0
- package/json-schema/studio/ElementPaletteItem.json +52 -0
- package/json-schema/studio/FieldEditorConfig.json +170 -0
- package/json-schema/studio/FieldGroup.json +37 -0
- package/json-schema/studio/FieldPropertySection.json +37 -0
- package/json-schema/studio/InterfaceBuilderConfig.json +154 -0
- package/json-schema/studio/MetadataIconContribution.json +2 -2
- package/json-schema/studio/MetadataViewerContribution.json +2 -2
- package/json-schema/studio/ObjectDesignerConfig.json +902 -0
- package/json-schema/studio/ObjectDesignerDefaultView.json +13 -0
- package/json-schema/studio/ObjectFilter.json +46 -0
- package/json-schema/studio/ObjectListDisplayMode.json +12 -0
- package/json-schema/studio/ObjectManagerConfig.json +135 -0
- package/json-schema/studio/ObjectPreviewConfig.json +126 -0
- package/json-schema/studio/ObjectPreviewTab.json +37 -0
- package/json-schema/studio/ObjectSortField.json +13 -0
- package/json-schema/studio/PageBuilderConfig.json +154 -0
- package/json-schema/studio/PanelContribution.json +2 -2
- package/json-schema/studio/PanelLocation.json +2 -2
- package/json-schema/studio/RelationshipDisplay.json +50 -0
- package/json-schema/studio/RelationshipMapperConfig.json +104 -0
- package/json-schema/studio/SidebarGroupContribution.json +2 -2
- package/json-schema/studio/StudioPluginContributions.json +2 -2
- package/json-schema/studio/StudioPluginManifest.json +2 -2
- package/json-schema/studio/ViewMode.json +2 -2
- package/json-schema/system/AccessControlConfig.json +2 -2
- package/json-schema/system/AddFieldOperation.json +8 -5
- package/json-schema/system/AnalyzerConfig.json +2 -2
- package/json-schema/system/AuditConfig.json +2 -2
- package/json-schema/system/AuditEvent.json +2 -2
- package/json-schema/system/AuditEventActor.json +2 -2
- package/json-schema/system/AuditEventChange.json +2 -2
- package/json-schema/system/AuditEventFilter.json +2 -2
- package/json-schema/system/AuditEventSeverity.json +2 -2
- package/json-schema/system/AuditEventTarget.json +2 -2
- package/json-schema/system/AuditEventType.json +2 -2
- package/json-schema/system/AuditLogConfig.json +2 -2
- package/json-schema/system/AuditRetentionPolicy.json +2 -2
- package/json-schema/system/AuditStorageConfig.json +2 -2
- package/json-schema/system/AuthConfig.json +2 -2
- package/json-schema/system/AuthPluginConfig.json +2 -2
- package/json-schema/system/AuthProviderConfig.json +2 -2
- package/json-schema/system/AwarenessEvent.json +2 -2
- package/json-schema/system/AwarenessSession.json +2 -2
- package/json-schema/system/AwarenessUpdate.json +2 -2
- package/json-schema/system/AwarenessUserState.json +2 -2
- package/json-schema/system/BackupConfig.json +2 -2
- package/json-schema/system/BackupRetention.json +2 -2
- package/json-schema/system/BackupStrategy.json +2 -2
- package/json-schema/system/BatchProgress.json +2 -2
- package/json-schema/system/BucketConfig.json +2 -2
- package/json-schema/system/CRDTMergeResult.json +2 -2
- package/json-schema/system/CRDTState.json +2 -2
- package/json-schema/system/CRDTType.json +2 -2
- package/json-schema/system/CacheAvalanchePrevention.json +2 -2
- package/json-schema/system/CacheConfig.json +2 -2
- package/json-schema/system/CacheConsistency.json +2 -2
- package/json-schema/system/CacheInvalidation.json +2 -2
- package/json-schema/system/CacheStrategy.json +2 -2
- package/json-schema/system/CacheTier.json +2 -2
- package/json-schema/system/CacheWarmup.json +2 -2
- package/json-schema/system/ChangeImpact.json +2 -2
- package/json-schema/system/ChangePriority.json +2 -2
- package/json-schema/system/ChangeRequest.json +2 -2
- package/json-schema/system/ChangeSet.json +26 -14
- package/json-schema/system/ChangeStatus.json +2 -2
- package/json-schema/system/ChangeType.json +2 -2
- package/json-schema/system/CollaborationMode.json +2 -2
- package/json-schema/system/CollaborationSession.json +2 -2
- package/json-schema/system/CollaborationSessionConfig.json +2 -2
- package/json-schema/system/CollaborativeCursor.json +2 -2
- package/json-schema/system/ComplianceAuditRequirement.json +2 -2
- package/json-schema/system/ComplianceConfig.json +2 -2
- package/json-schema/system/ComplianceEncryptionRequirement.json +2 -2
- package/json-schema/system/ConsoleDestinationConfig.json +2 -2
- package/json-schema/system/ConsumerConfig.json +2 -2
- package/json-schema/system/CoreServiceName.json +2 -2
- package/json-schema/system/CounterOperation.json +2 -2
- package/json-schema/system/CreateObjectOperation.json +8 -5
- package/json-schema/system/CronSchedule.json +2 -2
- package/json-schema/system/CursorColorPreset.json +2 -2
- package/json-schema/system/CursorSelection.json +2 -2
- package/json-schema/system/CursorStyle.json +2 -2
- package/json-schema/system/CursorUpdate.json +2 -2
- package/json-schema/system/DataClassificationPolicy.json +2 -2
- package/json-schema/system/DatabaseLevelIsolationStrategy.json +2 -2
- package/json-schema/system/DeadLetterQueue.json +2 -2
- package/json-schema/system/DeleteObjectOperation.json +2 -2
- package/json-schema/system/DisasterRecoveryPlan.json +2 -2
- package/json-schema/system/DistributedCacheConfig.json +2 -2
- package/json-schema/system/EmailTemplate.json +2 -2
- package/json-schema/system/EncryptionAlgorithm.json +2 -2
- package/json-schema/system/EncryptionConfig.json +2 -2
- package/json-schema/system/ExecuteSqlOperation.json +2 -2
- package/json-schema/system/ExtendedLogLevel.json +2 -2
- package/json-schema/system/ExternalServiceDestinationConfig.json +2 -2
- package/json-schema/system/FacetConfig.json +2 -2
- package/json-schema/system/FailoverConfig.json +2 -2
- package/json-schema/system/FailoverMode.json +2 -2
- package/json-schema/system/Feature.json +2 -2
- package/json-schema/system/FieldEncryption.json +2 -2
- package/json-schema/system/FieldTranslation.json +2 -2
- package/json-schema/system/FileDestinationConfig.json +2 -2
- package/json-schema/system/FileMetadata.json +2 -2
- package/json-schema/system/GCounter.json +2 -2
- package/json-schema/system/GDPRConfig.json +2 -2
- package/json-schema/system/HIPAAConfig.json +2 -2
- package/json-schema/system/HistogramBucketConfig.json +2 -2
- package/json-schema/system/HttpDestinationConfig.json +2 -2
- package/json-schema/system/HttpServerConfig.json +2 -2
- package/json-schema/system/InAppNotification.json +2 -2
- package/json-schema/system/IntervalSchedule.json +2 -2
- package/json-schema/system/Job.json +2 -2
- package/json-schema/system/JobExecution.json +2 -2
- package/json-schema/system/JobExecutionStatus.json +2 -2
- package/json-schema/system/KernelServiceMap.json +2 -2
- package/json-schema/system/KeyManagementProvider.json +2 -2
- package/json-schema/system/KeyRotationPolicy.json +2 -2
- package/json-schema/system/LWWRegister.json +2 -2
- package/json-schema/system/LevelIsolationStrategySchema.json +2 -2
- package/json-schema/system/License.json +2 -2
- package/json-schema/system/LicenseMetricType.json +2 -2
- package/json-schema/system/LifecycleAction.json +2 -2
- package/json-schema/system/LifecyclePolicyConfig.json +2 -2
- package/json-schema/system/LifecyclePolicyRule.json +2 -2
- package/json-schema/system/Locale.json +2 -2
- package/json-schema/system/LogDestination.json +2 -2
- package/json-schema/system/LogDestinationType.json +2 -2
- package/json-schema/system/LogEnrichmentConfig.json +2 -2
- package/json-schema/system/LogEntry.json +2 -2
- package/json-schema/system/LogFormat.json +2 -2
- package/json-schema/system/LogLevel.json +2 -2
- package/json-schema/system/LoggerConfig.json +2 -2
- package/json-schema/system/LoggingConfig.json +2 -2
- package/json-schema/system/MaskingConfig.json +2 -2
- package/json-schema/system/MaskingRule.json +2 -2
- package/json-schema/system/MaskingStrategy.json +2 -2
- package/json-schema/system/MaskingVisibilityRule.json +2 -2
- package/json-schema/system/MessageQueueConfig.json +2 -2
- package/json-schema/system/MessageQueueProvider.json +2 -2
- package/json-schema/system/MetadataCollectionInfo.json +2 -2
- package/json-schema/system/MetadataExportOptions.json +2 -2
- package/json-schema/system/MetadataFallbackStrategy.json +2 -2
- package/json-schema/system/MetadataFormat.json +2 -2
- package/json-schema/system/MetadataImportOptions.json +2 -2
- package/json-schema/system/MetadataLoadOptions.json +2 -2
- package/json-schema/system/MetadataLoadResult.json +2 -2
- package/json-schema/system/MetadataLoaderContract.json +2 -2
- package/json-schema/system/MetadataManagerConfig.json +2 -2
- package/json-schema/system/MetadataRecord.json +2 -2
- package/json-schema/system/MetadataSaveOptions.json +2 -2
- package/json-schema/system/MetadataSaveResult.json +2 -2
- package/json-schema/system/MetadataScope.json +2 -2
- package/json-schema/system/MetadataSource.json +2 -2
- package/json-schema/system/MetadataState.json +2 -2
- package/json-schema/system/MetadataStats.json +2 -2
- package/json-schema/system/MetadataWatchEvent.json +2 -2
- package/json-schema/system/MetricAggregationConfig.json +2 -2
- package/json-schema/system/MetricAggregationType.json +2 -2
- package/json-schema/system/MetricDataPoint.json +2 -2
- package/json-schema/system/MetricDefinition.json +2 -2
- package/json-schema/system/MetricExportConfig.json +2 -2
- package/json-schema/system/MetricLabels.json +2 -2
- package/json-schema/system/MetricType.json +2 -2
- package/json-schema/system/MetricUnit.json +2 -2
- package/json-schema/system/MetricsConfig.json +2 -2
- package/json-schema/system/MiddlewareConfig.json +2 -2
- package/json-schema/system/MiddlewareType.json +2 -2
- package/json-schema/system/MigrationDependency.json +2 -2
- package/json-schema/system/MigrationOperation.json +14 -8
- package/json-schema/system/ModifyFieldOperation.json +2 -2
- package/json-schema/system/MultipartUploadConfig.json +2 -2
- package/json-schema/system/MutualTLSConfig.json +2 -2
- package/json-schema/system/NotificationChannel.json +2 -2
- package/json-schema/system/NotificationConfig.json +2 -2
- package/json-schema/system/ORSet.json +2 -2
- package/json-schema/system/ORSetElement.json +2 -2
- package/json-schema/system/OTComponent.json +2 -2
- package/json-schema/system/OTOperation.json +2 -2
- package/json-schema/system/OTOperationType.json +2 -2
- package/json-schema/system/OTTransformResult.json +2 -2
- package/json-schema/system/ObjectMetadata.json +2 -2
- package/json-schema/system/ObjectStorageConfig.json +2 -2
- package/json-schema/system/ObjectTranslationData.json +2 -2
- package/json-schema/system/OnceSchedule.json +2 -2
- package/json-schema/system/OpenTelemetryCompatibility.json +2 -2
- package/json-schema/system/OtelExporterType.json +2 -2
- package/json-schema/system/PCIDSSConfig.json +2 -2
- package/json-schema/system/PNCounter.json +2 -2
- package/json-schema/system/Plan.json +2 -2
- package/json-schema/system/PresignedUrlConfig.json +2 -2
- package/json-schema/system/PushNotification.json +2 -2
- package/json-schema/system/QueueConfig.json +2 -2
- package/json-schema/system/RPO.json +2 -2
- package/json-schema/system/RTO.json +2 -2
- package/json-schema/system/RegistryConfig.json +2 -2
- package/json-schema/system/RegistrySyncPolicy.json +2 -2
- package/json-schema/system/RegistryUpstream.json +2 -2
- package/json-schema/system/RemoveFieldOperation.json +2 -2
- package/json-schema/system/RenameObjectOperation.json +2 -2
- package/json-schema/system/RetryPolicy.json +2 -2
- package/json-schema/system/RollbackPlan.json +2 -2
- package/json-schema/system/RouteHandlerMetadata.json +2 -2
- package/json-schema/system/RowLevelIsolationStrategy.json +2 -2
- package/json-schema/system/SMSTemplate.json +2 -2
- package/json-schema/system/SamplingDecision.json +2 -2
- package/json-schema/system/SamplingStrategyType.json +2 -2
- package/json-schema/system/Schedule.json +2 -2
- package/json-schema/system/SearchConfig.json +2 -2
- package/json-schema/system/SearchIndexConfig.json +2 -2
- package/json-schema/system/SearchProvider.json +2 -2
- package/json-schema/system/SecurityContextConfig.json +2 -2
- package/json-schema/system/SecurityEventCorrelation.json +2 -2
- package/json-schema/system/ServerCapabilities.json +2 -2
- package/json-schema/system/ServerEvent.json +2 -2
- package/json-schema/system/ServerEventType.json +2 -2
- package/json-schema/system/ServerStatus.json +2 -2
- package/json-schema/system/ServiceConfig.json +2 -2
- package/json-schema/system/ServiceCriticality.json +2 -2
- package/json-schema/system/ServiceLevelIndicator.json +2 -2
- package/json-schema/system/ServiceLevelObjective.json +2 -2
- package/json-schema/system/ServiceStatus.json +2 -2
- package/json-schema/system/Span.json +2 -2
- package/json-schema/system/SpanAttributeValue.json +2 -2
- package/json-schema/system/SpanAttributes.json +2 -2
- package/json-schema/system/SpanEvent.json +2 -2
- package/json-schema/system/SpanKind.json +2 -2
- package/json-schema/system/SpanLink.json +2 -2
- package/json-schema/system/SpanStatus.json +2 -2
- package/json-schema/system/StorageAcl.json +2 -2
- package/json-schema/system/StorageClass.json +2 -2
- package/json-schema/system/StorageConnection.json +2 -2
- package/json-schema/system/StorageProvider.json +2 -2
- package/json-schema/system/StorageScope.json +2 -2
- package/json-schema/system/StructuredLogEntry.json +2 -2
- package/json-schema/system/SuspiciousActivityRule.json +2 -2
- package/json-schema/system/Task.json +2 -2
- package/json-schema/system/TaskExecutionResult.json +2 -2
- package/json-schema/system/TaskPriority.json +2 -2
- package/json-schema/system/TaskRetryPolicy.json +2 -2
- package/json-schema/system/TaskStatus.json +2 -2
- package/json-schema/system/Tenant.json +2 -2
- package/json-schema/system/TenantIsolationConfig.json +2 -2
- package/json-schema/system/TenantIsolationLevel.json +2 -2
- package/json-schema/system/TenantQuota.json +2 -2
- package/json-schema/system/TenantSecurityPolicy.json +2 -2
- package/json-schema/system/TextCRDTOperation.json +2 -2
- package/json-schema/system/TextCRDTState.json +2 -2
- package/json-schema/system/TimeSeries.json +2 -2
- package/json-schema/system/TimeSeriesDataPoint.json +2 -2
- package/json-schema/system/TopicConfig.json +2 -2
- package/json-schema/system/TraceContext.json +2 -2
- package/json-schema/system/TraceContextPropagation.json +2 -2
- package/json-schema/system/TraceFlags.json +2 -2
- package/json-schema/system/TracePropagationFormat.json +2 -2
- package/json-schema/system/TraceSamplingConfig.json +2 -2
- package/json-schema/system/TraceState.json +2 -2
- package/json-schema/system/TracingConfig.json +2 -2
- package/json-schema/system/TranslationBundle.json +2 -2
- package/json-schema/system/TranslationConfig.json +2 -2
- package/json-schema/system/TranslationData.json +2 -2
- package/json-schema/system/TranslationFileOrganization.json +2 -2
- package/json-schema/system/UserActivityStatus.json +2 -2
- package/json-schema/system/VectorClock.json +2 -2
- package/json-schema/system/WorkerStats.json +2 -2
- package/json-schema/ui/AIChatWindowProps.json +2 -2
- package/json-schema/ui/Action.json +2 -2
- package/json-schema/ui/ActionParam.json +2 -2
- package/json-schema/ui/Animation.json +2 -2
- package/json-schema/ui/AnimationTrigger.json +2 -2
- package/json-schema/ui/App.json +95 -3
- package/json-schema/ui/AppBranding.json +2 -2
- package/json-schema/ui/AriaProps.json +2 -2
- package/json-schema/ui/BlankPageLayout.json +81 -0
- package/json-schema/ui/BlankPageLayoutItem.json +44 -0
- package/json-schema/ui/BorderRadius.json +2 -2
- package/json-schema/ui/BreakpointColumnMap.json +2 -2
- package/json-schema/ui/BreakpointName.json +2 -2
- package/json-schema/ui/BreakpointOrderMap.json +2 -2
- package/json-schema/ui/Breakpoints.json +2 -2
- package/json-schema/ui/CalendarConfig.json +2 -2
- package/json-schema/ui/ChartAnnotation.json +2 -2
- package/json-schema/ui/ChartAxis.json +2 -2
- package/json-schema/ui/ChartConfig.json +2 -2
- package/json-schema/ui/ChartInteraction.json +2 -2
- package/json-schema/ui/ChartSeries.json +2 -2
- package/json-schema/ui/ChartType.json +2 -2
- package/json-schema/ui/ColorPalette.json +2 -2
- package/json-schema/ui/ColumnSummary.json +2 -2
- package/json-schema/ui/ComponentAnimation.json +2 -2
- package/json-schema/ui/ConflictResolution.json +2 -2
- package/json-schema/ui/Dashboard.json +367 -4
- package/json-schema/ui/DashboardHeader.json +101 -0
- package/json-schema/ui/DashboardHeaderAction.json +76 -0
- package/json-schema/ui/DashboardNavItem.json +2 -2
- package/json-schema/ui/DashboardWidget.json +158 -2
- package/json-schema/ui/DateFormat.json +2 -2
- package/json-schema/ui/DensityMode.json +2 -2
- package/json-schema/ui/DndConfig.json +2 -2
- package/json-schema/ui/DragConstraint.json +2 -2
- package/json-schema/ui/DragHandle.json +2 -2
- package/json-schema/ui/DragItem.json +2 -2
- package/json-schema/ui/DropEffect.json +2 -2
- package/json-schema/ui/DropZone.json +2 -2
- package/json-schema/ui/EasingFunction.json +2 -2
- package/json-schema/ui/ElementButtonProps.json +161 -0
- package/json-schema/ui/ElementDataSource.json +56 -0
- package/json-schema/ui/ElementFilterProps.json +105 -0
- package/json-schema/ui/ElementFormProps.json +142 -0
- package/json-schema/ui/ElementImageProps.json +95 -0
- package/json-schema/ui/ElementNumberProps.json +112 -0
- package/json-schema/ui/ElementRecordPickerProps.json +146 -0
- package/json-schema/ui/ElementTextProps.json +99 -0
- package/json-schema/ui/EmbedConfig.json +54 -0
- package/json-schema/ui/EvictionPolicy.json +2 -2
- package/json-schema/ui/FocusManagement.json +2 -2
- package/json-schema/ui/FocusTrapConfig.json +2 -2
- package/json-schema/ui/FormField.json +2 -2
- package/json-schema/ui/GalleryConfig.json +2 -2
- package/json-schema/ui/GanttConfig.json +2 -2
- package/json-schema/ui/GestureConfig.json +2 -2
- package/json-schema/ui/GestureType.json +2 -2
- package/json-schema/ui/GlobalFilter.json +214 -0
- package/json-schema/ui/GlobalFilterOptionsFrom.json +65 -0
- package/json-schema/ui/GroupNavItem.json +2 -2
- package/json-schema/ui/GroupingConfig.json +2 -2
- package/json-schema/ui/GroupingField.json +2 -2
- package/json-schema/ui/HttpMethod.json +2 -2
- package/json-schema/ui/HttpRequest.json +2 -2
- package/json-schema/ui/I18nLabel.json +2 -2
- package/json-schema/ui/I18nObject.json +2 -2
- package/json-schema/ui/KanbanConfig.json +2 -2
- package/json-schema/ui/KeyboardNavigationConfig.json +2 -2
- package/json-schema/ui/KeyboardShortcut.json +2 -2
- package/json-schema/ui/ListColumn.json +2 -2
- package/json-schema/ui/ListView.json +2 -2
- package/json-schema/ui/LocaleConfig.json +2 -2
- package/json-schema/ui/LongPressGestureConfig.json +2 -2
- package/json-schema/ui/MotionConfig.json +2 -2
- package/json-schema/ui/NavigationConfig.json +2 -2
- package/json-schema/ui/NavigationItem.json +2 -2
- package/json-schema/ui/NavigationMode.json +2 -2
- package/json-schema/ui/Notification.json +2 -2
- package/json-schema/ui/NotificationAction.json +2 -2
- package/json-schema/ui/NotificationConfig.json +2 -2
- package/json-schema/ui/NotificationPosition.json +2 -2
- package/json-schema/ui/NotificationSeverity.json +2 -2
- package/json-schema/ui/NotificationType.json +2 -2
- package/json-schema/ui/NumberFormat.json +2 -2
- package/json-schema/ui/ObjectNavItem.json +2 -2
- package/json-schema/ui/OfflineCacheConfig.json +2 -2
- package/json-schema/ui/OfflineConfig.json +2 -2
- package/json-schema/ui/OfflineStrategy.json +2 -2
- package/json-schema/ui/Page.json +279 -6
- package/json-schema/ui/PageAccordionProps.json +2 -2
- package/json-schema/ui/PageCardProps.json +2 -2
- package/json-schema/ui/PageComponent.json +65 -3
- package/json-schema/ui/PageComponentType.json +11 -3
- package/json-schema/ui/PageHeaderProps.json +2 -2
- package/json-schema/ui/PageNavItem.json +2 -2
- package/json-schema/ui/PageRegion.json +65 -3
- package/json-schema/ui/PageTabsProps.json +2 -2
- package/json-schema/ui/PageTransition.json +2 -2
- package/json-schema/ui/PageType.json +25 -0
- package/json-schema/ui/PageVariable.json +9 -4
- package/json-schema/ui/PaginationConfig.json +2 -2
- package/json-schema/ui/PerformanceConfig.json +2 -2
- package/json-schema/ui/PersistStorage.json +2 -2
- package/json-schema/ui/PinchGestureConfig.json +2 -2
- package/json-schema/ui/PluralRule.json +2 -2
- package/json-schema/ui/RecordActivityProps.json +2 -2
- package/json-schema/ui/RecordDetailsProps.json +2 -2
- package/json-schema/ui/RecordHighlightsProps.json +2 -2
- package/json-schema/ui/RecordPathProps.json +2 -2
- package/json-schema/ui/RecordRelatedListProps.json +2 -2
- package/json-schema/ui/RecordReviewConfig.json +112 -0
- package/json-schema/ui/Report.json +2 -2
- package/json-schema/ui/ReportChart.json +2 -2
- package/json-schema/ui/ReportColumn.json +2 -2
- package/json-schema/ui/ReportGrouping.json +2 -2
- package/json-schema/ui/ReportType.json +2 -2
- package/json-schema/ui/ResponsiveConfig.json +2 -2
- package/json-schema/ui/RowColorConfig.json +2 -2
- package/json-schema/ui/RowHeight.json +2 -2
- package/json-schema/ui/SelectionConfig.json +2 -2
- package/json-schema/ui/Shadow.json +2 -2
- package/json-schema/ui/SharingConfig.json +42 -0
- package/json-schema/ui/Spacing.json +2 -2
- package/json-schema/ui/SwipeDirection.json +2 -2
- package/json-schema/ui/SwipeGestureConfig.json +2 -2
- package/json-schema/ui/SyncConfig.json +2 -2
- package/json-schema/ui/Theme.json +2 -2
- package/json-schema/ui/ThemeMode.json +2 -2
- package/json-schema/ui/TimelineConfig.json +2 -2
- package/json-schema/ui/TouchInteraction.json +2 -2
- package/json-schema/ui/TouchTargetConfig.json +2 -2
- package/json-schema/ui/TransitionConfig.json +2 -2
- package/json-schema/ui/TransitionPreset.json +2 -2
- package/json-schema/ui/Typography.json +2 -2
- package/json-schema/ui/UrlNavItem.json +2 -2
- package/json-schema/ui/ViewData.json +2 -2
- package/json-schema/ui/ViewSharing.json +2 -2
- package/json-schema/ui/WcagContrastLevel.json +2 -2
- package/json-schema/ui/WidgetActionType.json +12 -0
- package/json-schema/ui/WidgetColorVariant.json +17 -0
- package/json-schema/ui/WidgetEvent.json +2 -2
- package/json-schema/ui/WidgetLifecycle.json +2 -2
- package/json-schema/ui/WidgetManifest.json +2 -2
- package/json-schema/ui/WidgetMeasure.json +79 -0
- package/json-schema/ui/WidgetProperty.json +2 -2
- package/json-schema/ui/WidgetSource.json +2 -2
- package/json-schema/ui/ZIndex.json +2 -2
- package/package.json +22 -2
- package/dist/index-cnIz7iRP.d.mts +0 -352
- package/dist/index-cnIz7iRP.d.ts +0 -352
- package/json-schema/kernel/CLIExtensionExport.json +0 -24
- package/dist/{index-DekIwhKw.d.ts → index-7tz6PlLg.d.ts} +12 -12
- package/dist/{index-DywIgfSF.d.mts → index-DNxw-Dkd.d.mts} +12 -12
- package/dist/{metadata-plugin.zod-TsdAQIxf.d.mts → metadata-plugin.zod-BhhsdezT.d.mts} +1 -1
- package/dist/{metadata-plugin.zod-TsdAQIxf.d.ts → metadata-plugin.zod-BhhsdezT.d.ts} +1 -1
- package/dist/{package-registry.zod-rdVhQ23C.d.mts → package-registry.zod-BpoHXl6n.d.mts} +7 -7
- package/dist/{package-registry.zod-rdVhQ23C.d.ts → package-registry.zod-BpoHXl6n.d.ts} +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,3686 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { i as
|
|
4
|
-
export { i as
|
|
5
|
-
export { i as
|
|
6
|
-
export { i as
|
|
7
|
-
export { i as
|
|
8
|
-
export { i as
|
|
9
|
-
|
|
10
|
-
export { i as
|
|
11
|
-
|
|
12
|
-
export { i as
|
|
13
|
-
export { i as
|
|
14
|
-
export { i as
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import {
|
|
19
|
-
import '
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
* Enforces lowercase with underscores or dots to ensure:
|
|
28
|
-
* - Cross-platform compatibility (case-insensitive filesystems)
|
|
29
|
-
* - URL-friendliness (no encoding needed)
|
|
30
|
-
* - Database consistency (no collation issues)
|
|
31
|
-
* - Security (no case-sensitivity bugs in permission checks)
|
|
32
|
-
*
|
|
33
|
-
* **Applies to all metadata that acts as a machine identifier:**
|
|
34
|
-
* - Object names (tables/collections)
|
|
35
|
-
* - Field names
|
|
36
|
-
* - Role names
|
|
37
|
-
* - Permission set names
|
|
38
|
-
* - Action/trigger names
|
|
39
|
-
* - Event keys
|
|
40
|
-
* - App IDs
|
|
41
|
-
* - Menu/page IDs
|
|
42
|
-
* - Select option values
|
|
43
|
-
* - Workflow names
|
|
44
|
-
* - Webhook names
|
|
45
|
-
*
|
|
46
|
-
* **Naming Convention Summary:**
|
|
47
|
-
* | Type | Pattern | Example |
|
|
48
|
-
* |------|---------|---------|
|
|
49
|
-
* | Machine ID | snake_case | `crm_account`, `btn_submit`, `role_admin` |
|
|
50
|
-
* | Event keys | dot.notation | `user.login`, `order.created` |
|
|
51
|
-
* | Labels | Any case | `Client Account`, `Submit Form` |
|
|
52
|
-
*
|
|
53
|
-
* @example Valid identifiers
|
|
54
|
-
* - 'account'
|
|
55
|
-
* - 'crm_account'
|
|
56
|
-
* - 'user_profile'
|
|
57
|
-
* - 'order.created' (for events)
|
|
58
|
-
* - 'api_v2_endpoint'
|
|
59
|
-
*
|
|
60
|
-
* @example Invalid identifiers (will be rejected)
|
|
61
|
-
* - 'Account' (uppercase)
|
|
62
|
-
* - 'CrmAccount' (camelCase)
|
|
63
|
-
* - 'crm-account' (kebab-case - use underscore instead)
|
|
64
|
-
* - 'user profile' (spaces)
|
|
65
|
-
*/
|
|
66
|
-
declare const SystemIdentifierSchema: z.ZodString;
|
|
67
|
-
/**
|
|
68
|
-
* Strict Snake Case Identifier
|
|
69
|
-
*
|
|
70
|
-
* More restrictive than SystemIdentifierSchema - only allows underscores (no dots).
|
|
71
|
-
* Use this for identifiers that should NOT contain dots (e.g., database table/column names).
|
|
72
|
-
*
|
|
73
|
-
* @example Valid
|
|
74
|
-
* - 'account'
|
|
75
|
-
* - 'crm_account'
|
|
76
|
-
* - 'user_profile'
|
|
77
|
-
*
|
|
78
|
-
* @example Invalid
|
|
79
|
-
* - 'user.profile' (dots not allowed)
|
|
80
|
-
* - 'UserProfile' (uppercase)
|
|
81
|
-
*/
|
|
82
|
-
declare const SnakeCaseIdentifierSchema: z.ZodString;
|
|
83
|
-
/**
|
|
84
|
-
* Event Name Identifier
|
|
85
|
-
*
|
|
86
|
-
* Specialized identifier for event names that encourages dot notation.
|
|
87
|
-
* Used in event-driven systems, message queues, and webhooks.
|
|
88
|
-
*
|
|
89
|
-
* Pattern: `namespace.action` or `entity.event_type`
|
|
90
|
-
*
|
|
91
|
-
* @example Valid
|
|
92
|
-
* - 'user.created'
|
|
93
|
-
* - 'order.paid'
|
|
94
|
-
* - 'user.login_success'
|
|
95
|
-
* - 'alarm.high_cpu'
|
|
96
|
-
*
|
|
97
|
-
* @example Invalid
|
|
98
|
-
* - 'UserCreated' (camelCase)
|
|
99
|
-
* - 'user_created' (should use dots for namespacing)
|
|
100
|
-
*/
|
|
101
|
-
declare const EventNameSchema: z.ZodString;
|
|
102
|
-
/**
|
|
103
|
-
* Type Exports
|
|
104
|
-
*/
|
|
105
|
-
type SystemIdentifier = z.infer<typeof SystemIdentifierSchema>;
|
|
106
|
-
type SnakeCaseIdentifier = z.infer<typeof SnakeCaseIdentifierSchema>;
|
|
107
|
-
type EventName = z.infer<typeof EventNameSchema>;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Base Field Mapping Protocol
|
|
111
|
-
*
|
|
112
|
-
* Shared by: ETL, Sync, Connector, External Lookup
|
|
113
|
-
*
|
|
114
|
-
* This module provides the canonical field mapping schema used across
|
|
115
|
-
* ObjectStack for data transformation and synchronization.
|
|
116
|
-
*
|
|
117
|
-
* **Use Cases:**
|
|
118
|
-
* - ETL pipelines (data/mapping.zod.ts)
|
|
119
|
-
* - Data synchronization (automation/sync.zod.ts)
|
|
120
|
-
* - Integration connectors (integration/connector.zod.ts)
|
|
121
|
-
* - External lookups (data/external-lookup.zod.ts)
|
|
122
|
-
*
|
|
123
|
-
* @example Basic field mapping
|
|
124
|
-
* ```typescript
|
|
125
|
-
* const mapping: FieldMapping = {
|
|
126
|
-
* source: 'external_user_id',
|
|
127
|
-
* target: 'user_id',
|
|
128
|
-
* };
|
|
129
|
-
* ```
|
|
130
|
-
*
|
|
131
|
-
* @example With transformation
|
|
132
|
-
* ```typescript
|
|
133
|
-
* const mapping: FieldMapping = {
|
|
134
|
-
* source: 'user_name',
|
|
135
|
-
* target: 'name',
|
|
136
|
-
* transform: { type: 'cast', targetType: 'string' },
|
|
137
|
-
* defaultValue: 'Unknown'
|
|
138
|
-
* };
|
|
139
|
-
* ```
|
|
140
|
-
*/
|
|
141
|
-
/**
|
|
142
|
-
* Transform Type Schema
|
|
143
|
-
*
|
|
144
|
-
* Defines the type of transformation to apply to a field value.
|
|
145
|
-
* Implementations can extend this for domain-specific transforms.
|
|
146
|
-
*/
|
|
147
|
-
declare const TransformTypeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
148
|
-
type: z.ZodLiteral<"constant">;
|
|
149
|
-
value: z.ZodUnknown;
|
|
150
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
151
|
-
type: z.ZodLiteral<"cast">;
|
|
152
|
-
targetType: z.ZodEnum<{
|
|
153
|
-
string: "string";
|
|
154
|
-
number: "number";
|
|
155
|
-
boolean: "boolean";
|
|
156
|
-
date: "date";
|
|
157
|
-
}>;
|
|
158
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
-
type: z.ZodLiteral<"lookup">;
|
|
160
|
-
table: z.ZodString;
|
|
161
|
-
keyField: z.ZodString;
|
|
162
|
-
valueField: z.ZodString;
|
|
163
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
164
|
-
type: z.ZodLiteral<"javascript">;
|
|
165
|
-
expression: z.ZodString;
|
|
166
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
167
|
-
type: z.ZodLiteral<"map">;
|
|
168
|
-
mappings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
169
|
-
}, z.core.$strip>], "type">;
|
|
170
|
-
type TransformType = z.infer<typeof TransformTypeSchema>;
|
|
171
|
-
/**
|
|
172
|
-
* Field Mapping Schema
|
|
173
|
-
*
|
|
174
|
-
* Base schema for mapping fields between source and target systems.
|
|
175
|
-
*
|
|
176
|
-
* **NAMING CONVENTION:**
|
|
177
|
-
* - source: Field name in the source system
|
|
178
|
-
* - target: Field name in the target system (should be snake_case for ObjectStack)
|
|
179
|
-
*
|
|
180
|
-
* @example
|
|
181
|
-
* ```typescript
|
|
182
|
-
* {
|
|
183
|
-
* source: 'FirstName',
|
|
184
|
-
* target: 'first_name',
|
|
185
|
-
* transform: { type: 'cast', targetType: 'string' },
|
|
186
|
-
* defaultValue: ''
|
|
187
|
-
* }
|
|
188
|
-
* ```
|
|
189
|
-
*/
|
|
190
|
-
declare const FieldMappingSchema: z.ZodObject<{
|
|
191
|
-
source: z.ZodString;
|
|
192
|
-
target: z.ZodString;
|
|
193
|
-
transform: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
194
|
-
type: z.ZodLiteral<"constant">;
|
|
195
|
-
value: z.ZodUnknown;
|
|
196
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
197
|
-
type: z.ZodLiteral<"cast">;
|
|
198
|
-
targetType: z.ZodEnum<{
|
|
199
|
-
string: "string";
|
|
200
|
-
number: "number";
|
|
201
|
-
boolean: "boolean";
|
|
202
|
-
date: "date";
|
|
203
|
-
}>;
|
|
204
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
205
|
-
type: z.ZodLiteral<"lookup">;
|
|
206
|
-
table: z.ZodString;
|
|
207
|
-
keyField: z.ZodString;
|
|
208
|
-
valueField: z.ZodString;
|
|
209
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
210
|
-
type: z.ZodLiteral<"javascript">;
|
|
211
|
-
expression: z.ZodString;
|
|
212
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
213
|
-
type: z.ZodLiteral<"map">;
|
|
214
|
-
mappings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
215
|
-
}, z.core.$strip>], "type">>;
|
|
216
|
-
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
217
|
-
}, z.core.$strip>;
|
|
218
|
-
type FieldMapping = z.infer<typeof FieldMappingSchema>;
|
|
219
|
-
|
|
220
|
-
/** Aggregation functions used across query, data-engine, analytics, field */
|
|
221
|
-
declare const AggregationFunctionEnum: z.ZodEnum<{
|
|
222
|
-
count: "count";
|
|
223
|
-
sum: "sum";
|
|
224
|
-
avg: "avg";
|
|
225
|
-
min: "min";
|
|
226
|
-
max: "max";
|
|
227
|
-
count_distinct: "count_distinct";
|
|
228
|
-
percentile: "percentile";
|
|
229
|
-
median: "median";
|
|
230
|
-
stddev: "stddev";
|
|
231
|
-
variance: "variance";
|
|
232
|
-
}>;
|
|
233
|
-
type AggregationFunction = z.infer<typeof AggregationFunctionEnum>;
|
|
234
|
-
/** Sort direction used across query, data-engine, analytics */
|
|
235
|
-
declare const SortDirectionEnum: z.ZodEnum<{
|
|
236
|
-
asc: "asc";
|
|
237
|
-
desc: "desc";
|
|
238
|
-
}>;
|
|
239
|
-
type SortDirection = z.infer<typeof SortDirectionEnum>;
|
|
240
|
-
/** CRUD mutation events used across hook, validation, object CDC */
|
|
241
|
-
declare const MutationEventEnum: z.ZodEnum<{
|
|
242
|
-
insert: "insert";
|
|
243
|
-
update: "update";
|
|
244
|
-
delete: "delete";
|
|
245
|
-
upsert: "upsert";
|
|
246
|
-
}>;
|
|
247
|
-
type MutationEvent = z.infer<typeof MutationEventEnum>;
|
|
248
|
-
/** Database isolation levels — unified format */
|
|
249
|
-
declare const IsolationLevelEnum: z.ZodEnum<{
|
|
250
|
-
read_uncommitted: "read_uncommitted";
|
|
251
|
-
read_committed: "read_committed";
|
|
252
|
-
repeatable_read: "repeatable_read";
|
|
253
|
-
serializable: "serializable";
|
|
254
|
-
snapshot: "snapshot";
|
|
255
|
-
}>;
|
|
256
|
-
type IsolationLevel = z.infer<typeof IsolationLevelEnum>;
|
|
257
|
-
/** Cache eviction strategies */
|
|
258
|
-
declare const CacheStrategyEnum: z.ZodEnum<{
|
|
259
|
-
lru: "lru";
|
|
260
|
-
lfu: "lfu";
|
|
261
|
-
ttl: "ttl";
|
|
262
|
-
fifo: "fifo";
|
|
263
|
-
}>;
|
|
264
|
-
type CacheStrategy = z.infer<typeof CacheStrategyEnum>;
|
|
265
|
-
|
|
266
|
-
/** Supported metadata file formats */
|
|
267
|
-
declare const MetadataFormatSchema: z.ZodEnum<{
|
|
268
|
-
javascript: "javascript";
|
|
269
|
-
yaml: "yaml";
|
|
270
|
-
json: "json";
|
|
271
|
-
typescript: "typescript";
|
|
272
|
-
}>;
|
|
273
|
-
type MetadataFormat = z.infer<typeof MetadataFormatSchema>;
|
|
274
|
-
/** Base metadata record fields shared across kernel and system layers */
|
|
275
|
-
declare const BaseMetadataRecordSchema: z.ZodObject<{
|
|
276
|
-
id: z.ZodString;
|
|
277
|
-
type: z.ZodString;
|
|
278
|
-
name: z.ZodString;
|
|
279
|
-
format: z.ZodOptional<z.ZodEnum<{
|
|
280
|
-
javascript: "javascript";
|
|
281
|
-
yaml: "yaml";
|
|
282
|
-
json: "json";
|
|
283
|
-
typescript: "typescript";
|
|
284
|
-
}>>;
|
|
285
|
-
}, z.core.$strip>;
|
|
286
|
-
type BaseMetadataRecord = z.infer<typeof BaseMetadataRecordSchema>;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Branded Types for ObjectStack Identifiers
|
|
290
|
-
*
|
|
291
|
-
* Branded types provide compile-time safety by preventing accidental mixing
|
|
292
|
-
* of different identifier kinds. For example, you cannot pass an ObjectName
|
|
293
|
-
* where a FieldName is expected, even though both are strings at runtime.
|
|
294
|
-
*
|
|
295
|
-
* @example
|
|
296
|
-
* ```ts
|
|
297
|
-
* import { ObjectNameSchema, FieldNameSchema } from '@objectstack/spec';
|
|
298
|
-
*
|
|
299
|
-
* const objName = ObjectNameSchema.parse('project_task'); // ObjectName
|
|
300
|
-
* const fieldName = FieldNameSchema.parse('task_name'); // FieldName
|
|
301
|
-
*
|
|
302
|
-
* // TypeScript will catch this at compile time:
|
|
303
|
-
* // const fn: FieldName = objName; // Error!
|
|
304
|
-
* ```
|
|
305
|
-
*/
|
|
306
|
-
/**
|
|
307
|
-
* ObjectName — Branded type for business object names.
|
|
308
|
-
*
|
|
309
|
-
* Must be snake_case (no dots). Used for table/collection names.
|
|
310
|
-
*
|
|
311
|
-
* @example 'project_task', 'crm_account', 'user_profile'
|
|
312
|
-
*/
|
|
313
|
-
declare const ObjectNameSchema: z.core.$ZodBranded<z.ZodString, "ObjectName", "out">;
|
|
314
|
-
type ObjectName = z.infer<typeof ObjectNameSchema>;
|
|
315
|
-
/**
|
|
316
|
-
* FieldName — Branded type for field (column) names.
|
|
317
|
-
*
|
|
318
|
-
* Must be snake_case (no dots). Used for column/property names within objects.
|
|
319
|
-
*
|
|
320
|
-
* @example 'first_name', 'created_at', 'total_amount'
|
|
321
|
-
*/
|
|
322
|
-
declare const FieldNameSchema: z.core.$ZodBranded<z.ZodString, "FieldName", "out">;
|
|
323
|
-
type FieldName = z.infer<typeof FieldNameSchema>;
|
|
324
|
-
/**
|
|
325
|
-
* ViewName — Branded type for view identifiers.
|
|
326
|
-
*
|
|
327
|
-
* Must be a valid system identifier (lowercase, may contain dots for namespacing).
|
|
328
|
-
*
|
|
329
|
-
* @example 'all_tasks', 'my_open_deals', 'contact.recent'
|
|
330
|
-
*/
|
|
331
|
-
declare const ViewNameSchema: z.core.$ZodBranded<z.ZodString, "ViewName", "out">;
|
|
332
|
-
type ViewName = z.infer<typeof ViewNameSchema>;
|
|
333
|
-
/**
|
|
334
|
-
* AppName — Branded type for application identifiers.
|
|
335
|
-
*
|
|
336
|
-
* Must be a valid system identifier.
|
|
337
|
-
*
|
|
338
|
-
* @example 'crm', 'helpdesk', 'project_management'
|
|
339
|
-
*/
|
|
340
|
-
declare const AppNameSchema: z.core.$ZodBranded<z.ZodString, "AppName", "out">;
|
|
341
|
-
type AppName = z.infer<typeof AppNameSchema>;
|
|
342
|
-
/**
|
|
343
|
-
* FlowName — Branded type for flow identifiers.
|
|
344
|
-
*
|
|
345
|
-
* Must be a valid system identifier.
|
|
346
|
-
*
|
|
347
|
-
* @example 'approval_flow', 'onboarding_wizard', 'lead_qualification'
|
|
348
|
-
*/
|
|
349
|
-
declare const FlowNameSchema: z.core.$ZodBranded<z.ZodString, "FlowName", "out">;
|
|
350
|
-
type FlowName = z.infer<typeof FlowNameSchema>;
|
|
351
|
-
/**
|
|
352
|
-
* RoleName — Branded type for role identifiers.
|
|
353
|
-
*
|
|
354
|
-
* Must be a valid system identifier.
|
|
355
|
-
*
|
|
356
|
-
* @example 'admin', 'sales_manager', 'read_only'
|
|
357
|
-
*/
|
|
358
|
-
declare const RoleNameSchema: z.core.$ZodBranded<z.ZodString, "RoleName", "out">;
|
|
359
|
-
type RoleName = z.infer<typeof RoleNameSchema>;
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* "Did you mean?" Suggestion Utilities
|
|
363
|
-
*
|
|
364
|
-
* Provides fuzzy matching for common ObjectStack identifiers.
|
|
365
|
-
* Used by the custom error map to suggest corrections for typos.
|
|
366
|
-
*
|
|
367
|
-
* @example
|
|
368
|
-
* ```ts
|
|
369
|
-
* suggestFieldType('text_area'); // ['textarea']
|
|
370
|
-
* suggestFieldType('String'); // ['text']
|
|
371
|
-
* suggestFieldType('int'); // ['number']
|
|
372
|
-
* ```
|
|
373
|
-
*/
|
|
374
|
-
/**
|
|
375
|
-
* Compute Levenshtein edit distance between two strings.
|
|
376
|
-
* Uses space-optimized two-row approach (O(min(m,n)) space).
|
|
377
|
-
*/
|
|
378
|
-
declare function levenshteinDistance(a: string, b: string): number;
|
|
379
|
-
/**
|
|
380
|
-
* Find the closest matches from a list of candidates.
|
|
381
|
-
*
|
|
382
|
-
* @param input - The user-provided (possibly invalid) value
|
|
383
|
-
* @param candidates - Array of valid values to compare against
|
|
384
|
-
* @param maxDistance - Maximum edit distance to consider (default: 3)
|
|
385
|
-
* @param maxResults - Maximum number of suggestions to return (default: 3)
|
|
386
|
-
* @returns Array of suggested values, sorted by similarity
|
|
387
|
-
*/
|
|
388
|
-
declare function findClosestMatches(input: string, candidates: readonly string[], maxDistance?: number, maxResults?: number): string[];
|
|
389
|
-
/**
|
|
390
|
-
* Suggest valid FieldType values for an invalid input.
|
|
391
|
-
*
|
|
392
|
-
* First checks known aliases, then falls back to fuzzy matching.
|
|
393
|
-
*
|
|
394
|
-
* @param input - Invalid field type string
|
|
395
|
-
* @returns Array of suggested valid FieldType values
|
|
396
|
-
*
|
|
397
|
-
* @example
|
|
398
|
-
* ```ts
|
|
399
|
-
* suggestFieldType('text_area'); // ['textarea']
|
|
400
|
-
* suggestFieldType('String'); // ['text']
|
|
401
|
-
* suggestFieldType('int'); // ['number']
|
|
402
|
-
* suggestFieldType('dropdown'); // ['select']
|
|
403
|
-
* ```
|
|
404
|
-
*/
|
|
405
|
-
declare function suggestFieldType(input: string): string[];
|
|
406
|
-
/**
|
|
407
|
-
* Format a "Did you mean?" message for display.
|
|
408
|
-
*
|
|
409
|
-
* @param suggestions - Array of suggested values
|
|
410
|
-
* @returns Formatted string or empty string if no suggestions
|
|
411
|
-
*/
|
|
412
|
-
declare function formatSuggestion(suggestions: string[]): string;
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Zod v4 raw issue type used by the error map.
|
|
416
|
-
*/
|
|
417
|
-
type ObjectStackRawIssue = z.core.$ZodRawIssue;
|
|
418
|
-
/**
|
|
419
|
-
* ObjectStack Custom Zod Error Map
|
|
420
|
-
*
|
|
421
|
-
* Provides contextual, actionable error messages for ObjectStack schema validation.
|
|
422
|
-
* Instead of generic Zod messages like "Invalid option", this error map returns
|
|
423
|
-
* messages that explain the ObjectStack context and suggest fixes.
|
|
424
|
-
*
|
|
425
|
-
* In Zod v4, the error map is a function `(issue) => { message: string } | string | null`.
|
|
426
|
-
* Pass it via the `error` option on `.safeParse()` / `.parse()`.
|
|
427
|
-
*
|
|
428
|
-
* @example
|
|
429
|
-
* ```ts
|
|
430
|
-
* import { objectStackErrorMap } from '@objectstack/spec';
|
|
431
|
-
*
|
|
432
|
-
* // Per-parse usage
|
|
433
|
-
* SomeSchema.safeParse(data, { error: objectStackErrorMap });
|
|
434
|
-
* ```
|
|
435
|
-
*/
|
|
436
|
-
declare const objectStackErrorMap: (issue: ObjectStackRawIssue) => {
|
|
437
|
-
message: string;
|
|
438
|
-
} | null;
|
|
439
|
-
/**
|
|
440
|
-
* Zod Issue interface (subset needed for formatting).
|
|
441
|
-
*/
|
|
442
|
-
interface ZodIssueMinimal {
|
|
443
|
-
path: PropertyKey[];
|
|
444
|
-
message: string;
|
|
445
|
-
code?: string;
|
|
446
|
-
}
|
|
447
|
-
/**
|
|
448
|
-
* Format a single Zod issue into a human-readable line.
|
|
449
|
-
*
|
|
450
|
-
* @param issue - A single Zod issue
|
|
451
|
-
* @returns Formatted string with path and message
|
|
452
|
-
*/
|
|
453
|
-
declare function formatZodIssue(issue: ZodIssueMinimal): string;
|
|
454
|
-
/**
|
|
455
|
-
* Pretty-print Zod validation errors for CLI output.
|
|
456
|
-
*
|
|
457
|
-
* Formats a ZodError into a readable block suitable for terminal display.
|
|
458
|
-
* Groups errors by path depth and includes a summary count.
|
|
459
|
-
*
|
|
460
|
-
* @param error - A ZodError to format
|
|
461
|
-
* @param label - Optional label for the error block (e.g., 'Stack validation failed')
|
|
462
|
-
* @returns Formatted multi-line string
|
|
463
|
-
*
|
|
464
|
-
* @example
|
|
465
|
-
* ```ts
|
|
466
|
-
* import { formatZodError, ObjectStackDefinitionSchema } from '@objectstack/spec';
|
|
467
|
-
*
|
|
468
|
-
* const result = ObjectStackDefinitionSchema.safeParse(data);
|
|
469
|
-
* if (!result.success) {
|
|
470
|
-
* console.error(formatZodError(result.error, 'Stack validation failed'));
|
|
471
|
-
* }
|
|
472
|
-
* ```
|
|
473
|
-
*
|
|
474
|
-
* Output:
|
|
475
|
-
* ```
|
|
476
|
-
* Stack validation failed (3 issues):
|
|
477
|
-
*
|
|
478
|
-
* ✗ manifest.name: Required property 'name' is missing.
|
|
479
|
-
* ✗ objects[0].fields.status.type: Invalid field type 'dropdown'. Did you mean 'select'?
|
|
480
|
-
* ✗ views[0].object: Invalid identifier 'MyTasks'. Must be lowercase snake_case.
|
|
481
|
-
* ```
|
|
482
|
-
*/
|
|
483
|
-
declare function formatZodError(error: z.ZodError, label?: string): string;
|
|
484
|
-
/**
|
|
485
|
-
* Parse with the ObjectStack error map and return formatted errors.
|
|
486
|
-
*
|
|
487
|
-
* A convenience function that combines parsing with the custom error map
|
|
488
|
-
* and pretty-print formatting. Returns a discriminated union result.
|
|
489
|
-
*
|
|
490
|
-
* @param schema - Any Zod schema to parse with
|
|
491
|
-
* @param data - Data to validate
|
|
492
|
-
* @param label - Optional label for error formatting
|
|
493
|
-
* @returns Object with `success`, `data`, and optional `formatted` error string
|
|
494
|
-
*
|
|
495
|
-
* @example
|
|
496
|
-
* ```ts
|
|
497
|
-
* const result = safeParsePretty(ObjectStackDefinitionSchema, config, 'objectstack.config.ts');
|
|
498
|
-
* if (!result.success) {
|
|
499
|
-
* console.error(result.formatted);
|
|
500
|
-
* process.exit(1);
|
|
501
|
-
* }
|
|
502
|
-
* ```
|
|
503
|
-
*/
|
|
504
|
-
declare function safeParsePretty<T extends z.ZodTypeAny>(schema: T, data: unknown, label?: string): {
|
|
505
|
-
success: true;
|
|
506
|
-
data: z.infer<T>;
|
|
507
|
-
} | {
|
|
508
|
-
success: false;
|
|
509
|
-
error: z.ZodError;
|
|
510
|
-
formatted: string;
|
|
511
|
-
};
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* Metadata Collection Utilities
|
|
515
|
-
*
|
|
516
|
-
* Provides support for defining metadata collections in either array or map (Record) format.
|
|
517
|
-
* Map format automatically injects the key as the `name` field, following the same pattern
|
|
518
|
-
* used by `fields` in ObjectSchema (which already uses `z.record(key, FieldSchema)`).
|
|
519
|
-
*
|
|
520
|
-
* ## Usage
|
|
521
|
-
*
|
|
522
|
-
* Both formats are accepted and normalized to arrays:
|
|
523
|
-
*
|
|
524
|
-
* ```ts
|
|
525
|
-
* // Array format (traditional)
|
|
526
|
-
* defineStack({
|
|
527
|
-
* objects: [
|
|
528
|
-
* { name: 'account', fields: { ... } },
|
|
529
|
-
* { name: 'contact', fields: { ... } },
|
|
530
|
-
* ]
|
|
531
|
-
* });
|
|
532
|
-
*
|
|
533
|
-
* // Map format (key becomes `name`)
|
|
534
|
-
* defineStack({
|
|
535
|
-
* objects: {
|
|
536
|
-
* account: { fields: { ... } },
|
|
537
|
-
* contact: { fields: { ... } },
|
|
538
|
-
* }
|
|
539
|
-
* });
|
|
540
|
-
* ```
|
|
541
|
-
*
|
|
542
|
-
* @module
|
|
543
|
-
*/
|
|
544
|
-
/**
|
|
545
|
-
* Input type for metadata collections: accepts either an array or a named map.
|
|
546
|
-
* When using map format, the key is injected as the `name` field of each item.
|
|
547
|
-
*
|
|
548
|
-
* @typeParam T - The metadata item type (e.g., `ObjectSchema`, `AppSchema`)
|
|
549
|
-
*
|
|
550
|
-
* @example
|
|
551
|
-
* ```ts
|
|
552
|
-
* // Array format — name is required in each item
|
|
553
|
-
* const apps: MetadataCollectionInput<App> = [
|
|
554
|
-
* { name: 'sales', label: 'Sales' },
|
|
555
|
-
* { name: 'service', label: 'Service' },
|
|
556
|
-
* ];
|
|
557
|
-
*
|
|
558
|
-
* // Map format — key serves as name, so name is optional in value
|
|
559
|
-
* const apps: MetadataCollectionInput<App> = {
|
|
560
|
-
* sales: { label: 'Sales' },
|
|
561
|
-
* service: { label: 'Service' },
|
|
562
|
-
* };
|
|
563
|
-
* ```
|
|
564
|
-
*/
|
|
565
|
-
type MetadataCollectionInput<T> = T[] | Record<string, Omit<T, 'name'> & {
|
|
566
|
-
name?: string;
|
|
567
|
-
}>;
|
|
568
|
-
/**
|
|
569
|
-
* List of metadata fields in ObjectStackDefinitionSchema that support map format.
|
|
570
|
-
* These are fields where each item has a `name` field that can be inferred from the map key.
|
|
571
|
-
*
|
|
572
|
-
* Excluded fields:
|
|
573
|
-
* - `views` — ViewSchema has no `name` field (it's a container with `list`/`form`)
|
|
574
|
-
* - `objectExtensions` — uses `extend` as its identifier, not `name`
|
|
575
|
-
* - `data` — DatasetSchema uses `object` as its identifier
|
|
576
|
-
* - `translations` — TranslationBundleSchema is a record, not a named object
|
|
577
|
-
* - `plugins` / `devPlugins` — not named metadata schemas
|
|
578
|
-
*/
|
|
579
|
-
declare const MAP_SUPPORTED_FIELDS: readonly ["objects", "apps", "pages", "dashboards", "reports", "actions", "themes", "workflows", "approvals", "flows", "roles", "permissions", "sharingRules", "policies", "apis", "webhooks", "agents", "ragPipelines", "hooks", "mappings", "analyticsCubes", "connectors", "datasources"];
|
|
580
|
-
type MapSupportedField = (typeof MAP_SUPPORTED_FIELDS)[number];
|
|
581
|
-
/**
|
|
582
|
-
* Normalize a single metadata collection value from map format to array format.
|
|
583
|
-
* If the input is already an array (or nullish), it is returned unchanged.
|
|
584
|
-
* If the input is a plain object (map), it is converted to an array where
|
|
585
|
-
* each key is injected as the `name` field of the corresponding item.
|
|
586
|
-
*
|
|
587
|
-
* **Precedence:** If an item already has a `name` property, it is preserved
|
|
588
|
-
* (the map key is only used as a fallback).
|
|
589
|
-
*
|
|
590
|
-
* @param value - The raw input value (array, map, or nullish)
|
|
591
|
-
* @param keyField - The field name to inject the key into (default: `'name'`)
|
|
592
|
-
* @returns The normalized array, or the original value if already an array/nullish
|
|
593
|
-
*
|
|
594
|
-
* @example
|
|
595
|
-
* ```ts
|
|
596
|
-
* // Map input
|
|
597
|
-
* normalizeMetadataCollection({
|
|
598
|
-
* account: { fields: { name: { type: 'text' } } },
|
|
599
|
-
* contact: { fields: { email: { type: 'email' } } },
|
|
600
|
-
* });
|
|
601
|
-
* // → [
|
|
602
|
-
* // { name: 'account', fields: { name: { type: 'text' } } },
|
|
603
|
-
* // { name: 'contact', fields: { email: { type: 'email' } } },
|
|
604
|
-
* // ]
|
|
605
|
-
*
|
|
606
|
-
* // Array input (pass-through)
|
|
607
|
-
* normalizeMetadataCollection([{ name: 'account', fields: {} }]);
|
|
608
|
-
* // → [{ name: 'account', fields: {} }]
|
|
609
|
-
* ```
|
|
610
|
-
*/
|
|
611
|
-
declare function normalizeMetadataCollection(value: unknown, keyField?: string): unknown;
|
|
612
|
-
/**
|
|
613
|
-
* Normalize all metadata collections in a stack definition input.
|
|
614
|
-
* Converts any map-formatted collections to arrays with key→name injection.
|
|
615
|
-
*
|
|
616
|
-
* This function is applied to the raw input before Zod validation,
|
|
617
|
-
* ensuring the canonical internal format is always arrays.
|
|
618
|
-
*
|
|
619
|
-
* @param input - The raw stack definition input
|
|
620
|
-
* @returns A new object with all map collections normalized to arrays
|
|
621
|
-
*/
|
|
622
|
-
declare function normalizeStackInput<T extends Record<string, unknown>>(input: T): T;
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* Shared Schemas and Utilities
|
|
626
|
-
* Common schemas used across multiple modules
|
|
627
|
-
*/
|
|
628
|
-
|
|
629
|
-
type index$3_AggregationFunction = AggregationFunction;
|
|
630
|
-
declare const index$3_AggregationFunctionEnum: typeof AggregationFunctionEnum;
|
|
631
|
-
type index$3_AppName = AppName;
|
|
632
|
-
declare const index$3_AppNameSchema: typeof AppNameSchema;
|
|
633
|
-
type index$3_BaseMetadataRecord = BaseMetadataRecord;
|
|
634
|
-
declare const index$3_BaseMetadataRecordSchema: typeof BaseMetadataRecordSchema;
|
|
635
|
-
type index$3_CacheStrategy = CacheStrategy;
|
|
636
|
-
declare const index$3_CacheStrategyEnum: typeof CacheStrategyEnum;
|
|
637
|
-
declare const index$3_CorsConfig: typeof CorsConfig;
|
|
638
|
-
declare const index$3_CorsConfigSchema: typeof CorsConfigSchema;
|
|
639
|
-
type index$3_EventName = EventName;
|
|
640
|
-
declare const index$3_EventNameSchema: typeof EventNameSchema;
|
|
641
|
-
type index$3_FieldMapping = FieldMapping;
|
|
642
|
-
declare const index$3_FieldMappingSchema: typeof FieldMappingSchema;
|
|
643
|
-
type index$3_FieldName = FieldName;
|
|
644
|
-
declare const index$3_FieldNameSchema: typeof FieldNameSchema;
|
|
645
|
-
type index$3_FlowName = FlowName;
|
|
646
|
-
declare const index$3_FlowNameSchema: typeof FlowNameSchema;
|
|
647
|
-
declare const index$3_HttpMethod: typeof HttpMethod;
|
|
648
|
-
type index$3_IsolationLevel = IsolationLevel;
|
|
649
|
-
declare const index$3_IsolationLevelEnum: typeof IsolationLevelEnum;
|
|
650
|
-
declare const index$3_MAP_SUPPORTED_FIELDS: typeof MAP_SUPPORTED_FIELDS;
|
|
651
|
-
type index$3_MapSupportedField = MapSupportedField;
|
|
652
|
-
type index$3_MetadataCollectionInput<T> = MetadataCollectionInput<T>;
|
|
653
|
-
type index$3_MetadataFormat = MetadataFormat;
|
|
654
|
-
declare const index$3_MetadataFormatSchema: typeof MetadataFormatSchema;
|
|
655
|
-
type index$3_MutationEvent = MutationEvent;
|
|
656
|
-
declare const index$3_MutationEventEnum: typeof MutationEventEnum;
|
|
657
|
-
type index$3_ObjectName = ObjectName;
|
|
658
|
-
declare const index$3_ObjectNameSchema: typeof ObjectNameSchema;
|
|
659
|
-
type index$3_ObjectStackRawIssue = ObjectStackRawIssue;
|
|
660
|
-
declare const index$3_RateLimitConfig: typeof RateLimitConfig;
|
|
661
|
-
declare const index$3_RateLimitConfigSchema: typeof RateLimitConfigSchema;
|
|
662
|
-
type index$3_RoleName = RoleName;
|
|
663
|
-
declare const index$3_RoleNameSchema: typeof RoleNameSchema;
|
|
664
|
-
type index$3_SnakeCaseIdentifier = SnakeCaseIdentifier;
|
|
665
|
-
declare const index$3_SnakeCaseIdentifierSchema: typeof SnakeCaseIdentifierSchema;
|
|
666
|
-
type index$3_SortDirection = SortDirection;
|
|
667
|
-
declare const index$3_SortDirectionEnum: typeof SortDirectionEnum;
|
|
668
|
-
declare const index$3_StaticMount: typeof StaticMount;
|
|
669
|
-
declare const index$3_StaticMountSchema: typeof StaticMountSchema;
|
|
670
|
-
type index$3_SystemIdentifier = SystemIdentifier;
|
|
671
|
-
declare const index$3_SystemIdentifierSchema: typeof SystemIdentifierSchema;
|
|
672
|
-
type index$3_TransformType = TransformType;
|
|
673
|
-
declare const index$3_TransformTypeSchema: typeof TransformTypeSchema;
|
|
674
|
-
type index$3_ViewName = ViewName;
|
|
675
|
-
declare const index$3_ViewNameSchema: typeof ViewNameSchema;
|
|
676
|
-
declare const index$3_findClosestMatches: typeof findClosestMatches;
|
|
677
|
-
declare const index$3_formatSuggestion: typeof formatSuggestion;
|
|
678
|
-
declare const index$3_formatZodError: typeof formatZodError;
|
|
679
|
-
declare const index$3_formatZodIssue: typeof formatZodIssue;
|
|
680
|
-
declare const index$3_levenshteinDistance: typeof levenshteinDistance;
|
|
681
|
-
declare const index$3_normalizeMetadataCollection: typeof normalizeMetadataCollection;
|
|
682
|
-
declare const index$3_normalizeStackInput: typeof normalizeStackInput;
|
|
683
|
-
declare const index$3_objectStackErrorMap: typeof objectStackErrorMap;
|
|
684
|
-
declare const index$3_safeParsePretty: typeof safeParsePretty;
|
|
685
|
-
declare const index$3_suggestFieldType: typeof suggestFieldType;
|
|
686
|
-
declare namespace index$3 {
|
|
687
|
-
export { type index$3_AggregationFunction as AggregationFunction, index$3_AggregationFunctionEnum as AggregationFunctionEnum, type index$3_AppName as AppName, index$3_AppNameSchema as AppNameSchema, type index$3_BaseMetadataRecord as BaseMetadataRecord, index$3_BaseMetadataRecordSchema as BaseMetadataRecordSchema, type index$3_CacheStrategy as CacheStrategy, index$3_CacheStrategyEnum as CacheStrategyEnum, index$3_CorsConfig as CorsConfig, index$3_CorsConfigSchema as CorsConfigSchema, type index$3_EventName as EventName, index$3_EventNameSchema as EventNameSchema, type index$3_FieldMapping as FieldMapping, index$3_FieldMappingSchema as FieldMappingSchema, type index$3_FieldName as FieldName, index$3_FieldNameSchema as FieldNameSchema, type index$3_FlowName as FlowName, index$3_FlowNameSchema as FlowNameSchema, index$3_HttpMethod as HttpMethod, type index$3_IsolationLevel as IsolationLevel, index$3_IsolationLevelEnum as IsolationLevelEnum, index$3_MAP_SUPPORTED_FIELDS as MAP_SUPPORTED_FIELDS, type index$3_MapSupportedField as MapSupportedField, type index$3_MetadataCollectionInput as MetadataCollectionInput, type index$3_MetadataFormat as MetadataFormat, index$3_MetadataFormatSchema as MetadataFormatSchema, type index$3_MutationEvent as MutationEvent, index$3_MutationEventEnum as MutationEventEnum, type index$3_ObjectName as ObjectName, index$3_ObjectNameSchema as ObjectNameSchema, type index$3_ObjectStackRawIssue as ObjectStackRawIssue, index$3_RateLimitConfig as RateLimitConfig, index$3_RateLimitConfigSchema as RateLimitConfigSchema, type index$3_RoleName as RoleName, index$3_RoleNameSchema as RoleNameSchema, type index$3_SnakeCaseIdentifier as SnakeCaseIdentifier, index$3_SnakeCaseIdentifierSchema as SnakeCaseIdentifierSchema, type index$3_SortDirection as SortDirection, index$3_SortDirectionEnum as SortDirectionEnum, index$3_StaticMount as StaticMount, index$3_StaticMountSchema as StaticMountSchema, type index$3_SystemIdentifier as SystemIdentifier, index$3_SystemIdentifierSchema as SystemIdentifierSchema, type index$3_TransformType as TransformType, index$3_TransformTypeSchema as TransformTypeSchema, type index$3_ViewName as ViewName, index$3_ViewNameSchema as ViewNameSchema, index$3_findClosestMatches as findClosestMatches, index$3_formatSuggestion as formatSuggestion, index$3_formatZodError as formatZodError, index$3_formatZodIssue as formatZodIssue, index$3_levenshteinDistance as levenshteinDistance, index$3_normalizeMetadataCollection as normalizeMetadataCollection, index$3_normalizeStackInput as normalizeStackInput, index$3_objectStackErrorMap as objectStackErrorMap, index$3_safeParsePretty as safeParsePretty, index$3_suggestFieldType as suggestFieldType };
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
/**
|
|
691
|
-
* # Marketplace Protocol
|
|
692
|
-
*
|
|
693
|
-
* Defines the core schemas for the plugin marketplace ecosystem, covering:
|
|
694
|
-
* - **Developer Side**: Package publishing, submission, and version releases
|
|
695
|
-
* - **Platform Side**: Marketplace listing, review, approval, and discovery
|
|
696
|
-
*
|
|
697
|
-
* This protocol defines the contract between plugin developers, the marketplace
|
|
698
|
-
* platform, and customers who install plugins.
|
|
699
|
-
*
|
|
700
|
-
* ## Architecture Alignment
|
|
701
|
-
* - **Salesforce AppExchange**: Security review, managed packages, listing profiles
|
|
702
|
-
* - **VS Code Marketplace**: Extension publishing, ratings, verified publishers
|
|
703
|
-
* - **npm Registry**: Package publishing, versioning, scoped packages
|
|
704
|
-
* - **Shopify App Store**: App review process, billing integration, merchant installs
|
|
705
|
-
*
|
|
706
|
-
* ## Developer Publishing Flow
|
|
707
|
-
* ```
|
|
708
|
-
* 1. Develop → Build plugin locally using ObjectStack CLI
|
|
709
|
-
* 2. Validate → Run `os plugin validate` (schema + security checks)
|
|
710
|
-
* 3. Build → Run `os plugin build` (bundle + sign)
|
|
711
|
-
* 4. Submit → Run `os plugin publish` (submit to marketplace)
|
|
712
|
-
* 5. Review → Platform conducts automated + manual review
|
|
713
|
-
* 6. Publish → Approved listing goes live on marketplace
|
|
714
|
-
* ```
|
|
715
|
-
*
|
|
716
|
-
* ## Platform Management Flow
|
|
717
|
-
* ```
|
|
718
|
-
* 1. Receive → Accept submissions from verified publishers
|
|
719
|
-
* 2. Scan → Automated security scan and compatibility check
|
|
720
|
-
* 3. Review → Human review for quality and policy compliance
|
|
721
|
-
* 4. Catalog → Index in marketplace search catalog
|
|
722
|
-
* 5. Monitor → Track installs, ratings, issues, and enforce SLAs
|
|
723
|
-
* ```
|
|
724
|
-
*/
|
|
725
|
-
/**
|
|
726
|
-
* Publisher Verification Status
|
|
727
|
-
*/
|
|
728
|
-
declare const PublisherVerificationSchema: z.ZodEnum<{
|
|
729
|
-
pending: "pending";
|
|
730
|
-
verified: "verified";
|
|
731
|
-
trusted: "trusted";
|
|
732
|
-
unverified: "unverified";
|
|
733
|
-
partner: "partner";
|
|
734
|
-
}>;
|
|
735
|
-
/**
|
|
736
|
-
* Publisher Schema
|
|
737
|
-
* Represents a developer or organization that publishes packages.
|
|
738
|
-
*/
|
|
739
|
-
declare const PublisherSchema: z.ZodObject<{
|
|
740
|
-
id: z.ZodString;
|
|
741
|
-
name: z.ZodString;
|
|
742
|
-
type: z.ZodEnum<{
|
|
743
|
-
organization: "organization";
|
|
744
|
-
individual: "individual";
|
|
745
|
-
}>;
|
|
746
|
-
verification: z.ZodDefault<z.ZodEnum<{
|
|
747
|
-
pending: "pending";
|
|
748
|
-
verified: "verified";
|
|
749
|
-
trusted: "trusted";
|
|
750
|
-
unverified: "unverified";
|
|
751
|
-
partner: "partner";
|
|
752
|
-
}>>;
|
|
753
|
-
email: z.ZodOptional<z.ZodString>;
|
|
754
|
-
website: z.ZodOptional<z.ZodString>;
|
|
755
|
-
logoUrl: z.ZodOptional<z.ZodString>;
|
|
756
|
-
description: z.ZodOptional<z.ZodString>;
|
|
757
|
-
registeredAt: z.ZodOptional<z.ZodString>;
|
|
758
|
-
}, z.core.$strip>;
|
|
759
|
-
/**
|
|
760
|
-
* Marketplace Category
|
|
761
|
-
*/
|
|
762
|
-
declare const MarketplaceCategorySchema: z.ZodEnum<{
|
|
763
|
-
other: "other";
|
|
764
|
-
security: "security";
|
|
765
|
-
integration: "integration";
|
|
766
|
-
storage: "storage";
|
|
767
|
-
automation: "automation";
|
|
768
|
-
analytics: "analytics";
|
|
769
|
-
ai: "ai";
|
|
770
|
-
crm: "crm";
|
|
771
|
-
erp: "erp";
|
|
772
|
-
hr: "hr";
|
|
773
|
-
finance: "finance";
|
|
774
|
-
project: "project";
|
|
775
|
-
collaboration: "collaboration";
|
|
776
|
-
"developer-tools": "developer-tools";
|
|
777
|
-
"ui-theme": "ui-theme";
|
|
778
|
-
}>;
|
|
779
|
-
/**
|
|
780
|
-
* Listing Status
|
|
781
|
-
*/
|
|
782
|
-
declare const ListingStatusSchema: z.ZodEnum<{
|
|
783
|
-
deprecated: "deprecated";
|
|
784
|
-
draft: "draft";
|
|
785
|
-
submitted: "submitted";
|
|
786
|
-
"in-review": "in-review";
|
|
787
|
-
approved: "approved";
|
|
788
|
-
suspended: "suspended";
|
|
789
|
-
published: "published";
|
|
790
|
-
rejected: "rejected";
|
|
791
|
-
unlisted: "unlisted";
|
|
792
|
-
}>;
|
|
793
|
-
/**
|
|
794
|
-
* Pricing Model
|
|
795
|
-
*/
|
|
796
|
-
declare const PricingModelSchema: z.ZodEnum<{
|
|
797
|
-
free: "free";
|
|
798
|
-
freemium: "freemium";
|
|
799
|
-
paid: "paid";
|
|
800
|
-
subscription: "subscription";
|
|
801
|
-
"usage-based": "usage-based";
|
|
802
|
-
"contact-sales": "contact-sales";
|
|
803
|
-
}>;
|
|
804
|
-
/**
|
|
805
|
-
* Marketplace Listing Schema
|
|
806
|
-
*
|
|
807
|
-
* The public-facing profile of a package on the marketplace.
|
|
808
|
-
* Contains marketing information, pricing, and installation metadata.
|
|
809
|
-
*/
|
|
810
|
-
declare const MarketplaceListingSchema: z.ZodObject<{
|
|
811
|
-
id: z.ZodString;
|
|
812
|
-
packageId: z.ZodString;
|
|
813
|
-
publisherId: z.ZodString;
|
|
814
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
815
|
-
deprecated: "deprecated";
|
|
816
|
-
draft: "draft";
|
|
817
|
-
submitted: "submitted";
|
|
818
|
-
"in-review": "in-review";
|
|
819
|
-
approved: "approved";
|
|
820
|
-
suspended: "suspended";
|
|
821
|
-
published: "published";
|
|
822
|
-
rejected: "rejected";
|
|
823
|
-
unlisted: "unlisted";
|
|
824
|
-
}>>;
|
|
825
|
-
name: z.ZodString;
|
|
826
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
827
|
-
description: z.ZodOptional<z.ZodString>;
|
|
828
|
-
category: z.ZodEnum<{
|
|
829
|
-
other: "other";
|
|
830
|
-
security: "security";
|
|
831
|
-
integration: "integration";
|
|
832
|
-
storage: "storage";
|
|
833
|
-
automation: "automation";
|
|
834
|
-
analytics: "analytics";
|
|
835
|
-
ai: "ai";
|
|
836
|
-
crm: "crm";
|
|
837
|
-
erp: "erp";
|
|
838
|
-
hr: "hr";
|
|
839
|
-
finance: "finance";
|
|
840
|
-
project: "project";
|
|
841
|
-
collaboration: "collaboration";
|
|
842
|
-
"developer-tools": "developer-tools";
|
|
843
|
-
"ui-theme": "ui-theme";
|
|
844
|
-
}>;
|
|
845
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
846
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
847
|
-
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
848
|
-
url: z.ZodString;
|
|
849
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
850
|
-
}, z.core.$strip>>>;
|
|
851
|
-
documentationUrl: z.ZodOptional<z.ZodString>;
|
|
852
|
-
supportUrl: z.ZodOptional<z.ZodString>;
|
|
853
|
-
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
854
|
-
pricing: z.ZodDefault<z.ZodEnum<{
|
|
855
|
-
free: "free";
|
|
856
|
-
freemium: "freemium";
|
|
857
|
-
paid: "paid";
|
|
858
|
-
subscription: "subscription";
|
|
859
|
-
"usage-based": "usage-based";
|
|
860
|
-
"contact-sales": "contact-sales";
|
|
861
|
-
}>>;
|
|
862
|
-
priceInCents: z.ZodOptional<z.ZodNumber>;
|
|
863
|
-
latestVersion: z.ZodString;
|
|
864
|
-
minPlatformVersion: z.ZodOptional<z.ZodString>;
|
|
865
|
-
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
866
|
-
version: z.ZodString;
|
|
867
|
-
releaseDate: z.ZodString;
|
|
868
|
-
releaseNotes: z.ZodOptional<z.ZodString>;
|
|
869
|
-
minPlatformVersion: z.ZodOptional<z.ZodString>;
|
|
870
|
-
deprecated: z.ZodDefault<z.ZodBoolean>;
|
|
871
|
-
}, z.core.$strip>>>;
|
|
872
|
-
stats: z.ZodOptional<z.ZodObject<{
|
|
873
|
-
totalInstalls: z.ZodDefault<z.ZodNumber>;
|
|
874
|
-
activeInstalls: z.ZodDefault<z.ZodNumber>;
|
|
875
|
-
averageRating: z.ZodOptional<z.ZodNumber>;
|
|
876
|
-
totalRatings: z.ZodDefault<z.ZodNumber>;
|
|
877
|
-
totalReviews: z.ZodDefault<z.ZodNumber>;
|
|
878
|
-
}, z.core.$strip>>;
|
|
879
|
-
publishedAt: z.ZodOptional<z.ZodString>;
|
|
880
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
881
|
-
}, z.core.$strip>;
|
|
882
|
-
/**
|
|
883
|
-
* Package Submission Schema
|
|
884
|
-
* A developer's submission of a package version for marketplace review.
|
|
885
|
-
*/
|
|
886
|
-
declare const PackageSubmissionSchema: z.ZodObject<{
|
|
887
|
-
id: z.ZodString;
|
|
888
|
-
packageId: z.ZodString;
|
|
889
|
-
version: z.ZodString;
|
|
890
|
-
publisherId: z.ZodString;
|
|
891
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
892
|
-
"in-review": "in-review";
|
|
893
|
-
approved: "approved";
|
|
894
|
-
pending: "pending";
|
|
895
|
-
rejected: "rejected";
|
|
896
|
-
scanning: "scanning";
|
|
897
|
-
"changes-requested": "changes-requested";
|
|
898
|
-
}>>;
|
|
899
|
-
artifactUrl: z.ZodString;
|
|
900
|
-
releaseNotes: z.ZodOptional<z.ZodString>;
|
|
901
|
-
isNewListing: z.ZodDefault<z.ZodBoolean>;
|
|
902
|
-
scanResults: z.ZodOptional<z.ZodObject<{
|
|
903
|
-
passed: z.ZodBoolean;
|
|
904
|
-
securityScore: z.ZodOptional<z.ZodNumber>;
|
|
905
|
-
compatibilityCheck: z.ZodOptional<z.ZodBoolean>;
|
|
906
|
-
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
907
|
-
severity: z.ZodEnum<{
|
|
908
|
-
info: "info";
|
|
909
|
-
medium: "medium";
|
|
910
|
-
critical: "critical";
|
|
911
|
-
high: "high";
|
|
912
|
-
low: "low";
|
|
913
|
-
}>;
|
|
914
|
-
message: z.ZodString;
|
|
915
|
-
file: z.ZodOptional<z.ZodString>;
|
|
916
|
-
line: z.ZodOptional<z.ZodNumber>;
|
|
917
|
-
}, z.core.$strip>>>;
|
|
918
|
-
}, z.core.$strip>>;
|
|
919
|
-
reviewerNotes: z.ZodOptional<z.ZodString>;
|
|
920
|
-
submittedAt: z.ZodOptional<z.ZodString>;
|
|
921
|
-
reviewedAt: z.ZodOptional<z.ZodString>;
|
|
922
|
-
}, z.core.$strip>;
|
|
923
|
-
/**
|
|
924
|
-
* Marketplace Search Request
|
|
925
|
-
*/
|
|
926
|
-
declare const MarketplaceSearchRequestSchema: z.ZodObject<{
|
|
927
|
-
query: z.ZodOptional<z.ZodString>;
|
|
928
|
-
category: z.ZodOptional<z.ZodEnum<{
|
|
929
|
-
other: "other";
|
|
930
|
-
security: "security";
|
|
931
|
-
integration: "integration";
|
|
932
|
-
storage: "storage";
|
|
933
|
-
automation: "automation";
|
|
934
|
-
analytics: "analytics";
|
|
935
|
-
ai: "ai";
|
|
936
|
-
crm: "crm";
|
|
937
|
-
erp: "erp";
|
|
938
|
-
hr: "hr";
|
|
939
|
-
finance: "finance";
|
|
940
|
-
project: "project";
|
|
941
|
-
collaboration: "collaboration";
|
|
942
|
-
"developer-tools": "developer-tools";
|
|
943
|
-
"ui-theme": "ui-theme";
|
|
944
|
-
}>>;
|
|
945
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
946
|
-
pricing: z.ZodOptional<z.ZodEnum<{
|
|
947
|
-
free: "free";
|
|
948
|
-
freemium: "freemium";
|
|
949
|
-
paid: "paid";
|
|
950
|
-
subscription: "subscription";
|
|
951
|
-
"usage-based": "usage-based";
|
|
952
|
-
"contact-sales": "contact-sales";
|
|
953
|
-
}>>;
|
|
954
|
-
publisherVerification: z.ZodOptional<z.ZodEnum<{
|
|
955
|
-
pending: "pending";
|
|
956
|
-
verified: "verified";
|
|
957
|
-
trusted: "trusted";
|
|
958
|
-
unverified: "unverified";
|
|
959
|
-
partner: "partner";
|
|
960
|
-
}>>;
|
|
961
|
-
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
962
|
-
name: "name";
|
|
963
|
-
rating: "rating";
|
|
964
|
-
relevance: "relevance";
|
|
965
|
-
updated: "updated";
|
|
966
|
-
popularity: "popularity";
|
|
967
|
-
newest: "newest";
|
|
968
|
-
}>>;
|
|
969
|
-
sortDirection: z.ZodDefault<z.ZodEnum<{
|
|
970
|
-
asc: "asc";
|
|
971
|
-
desc: "desc";
|
|
972
|
-
}>>;
|
|
973
|
-
page: z.ZodDefault<z.ZodNumber>;
|
|
974
|
-
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
975
|
-
platformVersion: z.ZodOptional<z.ZodString>;
|
|
976
|
-
}, z.core.$strip>;
|
|
977
|
-
/**
|
|
978
|
-
* Marketplace Search Response
|
|
979
|
-
*/
|
|
980
|
-
declare const MarketplaceSearchResponseSchema: z.ZodObject<{
|
|
981
|
-
items: z.ZodArray<z.ZodObject<{
|
|
982
|
-
id: z.ZodString;
|
|
983
|
-
packageId: z.ZodString;
|
|
984
|
-
publisherId: z.ZodString;
|
|
985
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
986
|
-
deprecated: "deprecated";
|
|
987
|
-
draft: "draft";
|
|
988
|
-
submitted: "submitted";
|
|
989
|
-
"in-review": "in-review";
|
|
990
|
-
approved: "approved";
|
|
991
|
-
suspended: "suspended";
|
|
992
|
-
published: "published";
|
|
993
|
-
rejected: "rejected";
|
|
994
|
-
unlisted: "unlisted";
|
|
995
|
-
}>>;
|
|
996
|
-
name: z.ZodString;
|
|
997
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
998
|
-
description: z.ZodOptional<z.ZodString>;
|
|
999
|
-
category: z.ZodEnum<{
|
|
1000
|
-
other: "other";
|
|
1001
|
-
security: "security";
|
|
1002
|
-
integration: "integration";
|
|
1003
|
-
storage: "storage";
|
|
1004
|
-
automation: "automation";
|
|
1005
|
-
analytics: "analytics";
|
|
1006
|
-
ai: "ai";
|
|
1007
|
-
crm: "crm";
|
|
1008
|
-
erp: "erp";
|
|
1009
|
-
hr: "hr";
|
|
1010
|
-
finance: "finance";
|
|
1011
|
-
project: "project";
|
|
1012
|
-
collaboration: "collaboration";
|
|
1013
|
-
"developer-tools": "developer-tools";
|
|
1014
|
-
"ui-theme": "ui-theme";
|
|
1015
|
-
}>;
|
|
1016
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1017
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1018
|
-
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1019
|
-
url: z.ZodString;
|
|
1020
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
1021
|
-
}, z.core.$strip>>>;
|
|
1022
|
-
documentationUrl: z.ZodOptional<z.ZodString>;
|
|
1023
|
-
supportUrl: z.ZodOptional<z.ZodString>;
|
|
1024
|
-
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
1025
|
-
pricing: z.ZodDefault<z.ZodEnum<{
|
|
1026
|
-
free: "free";
|
|
1027
|
-
freemium: "freemium";
|
|
1028
|
-
paid: "paid";
|
|
1029
|
-
subscription: "subscription";
|
|
1030
|
-
"usage-based": "usage-based";
|
|
1031
|
-
"contact-sales": "contact-sales";
|
|
1032
|
-
}>>;
|
|
1033
|
-
priceInCents: z.ZodOptional<z.ZodNumber>;
|
|
1034
|
-
latestVersion: z.ZodString;
|
|
1035
|
-
minPlatformVersion: z.ZodOptional<z.ZodString>;
|
|
1036
|
-
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1037
|
-
version: z.ZodString;
|
|
1038
|
-
releaseDate: z.ZodString;
|
|
1039
|
-
releaseNotes: z.ZodOptional<z.ZodString>;
|
|
1040
|
-
minPlatformVersion: z.ZodOptional<z.ZodString>;
|
|
1041
|
-
deprecated: z.ZodDefault<z.ZodBoolean>;
|
|
1042
|
-
}, z.core.$strip>>>;
|
|
1043
|
-
stats: z.ZodOptional<z.ZodObject<{
|
|
1044
|
-
totalInstalls: z.ZodDefault<z.ZodNumber>;
|
|
1045
|
-
activeInstalls: z.ZodDefault<z.ZodNumber>;
|
|
1046
|
-
averageRating: z.ZodOptional<z.ZodNumber>;
|
|
1047
|
-
totalRatings: z.ZodDefault<z.ZodNumber>;
|
|
1048
|
-
totalReviews: z.ZodDefault<z.ZodNumber>;
|
|
1049
|
-
}, z.core.$strip>>;
|
|
1050
|
-
publishedAt: z.ZodOptional<z.ZodString>;
|
|
1051
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1052
|
-
}, z.core.$strip>>;
|
|
1053
|
-
total: z.ZodNumber;
|
|
1054
|
-
page: z.ZodNumber;
|
|
1055
|
-
pageSize: z.ZodNumber;
|
|
1056
|
-
facets: z.ZodOptional<z.ZodObject<{
|
|
1057
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1058
|
-
category: z.ZodEnum<{
|
|
1059
|
-
other: "other";
|
|
1060
|
-
security: "security";
|
|
1061
|
-
integration: "integration";
|
|
1062
|
-
storage: "storage";
|
|
1063
|
-
automation: "automation";
|
|
1064
|
-
analytics: "analytics";
|
|
1065
|
-
ai: "ai";
|
|
1066
|
-
crm: "crm";
|
|
1067
|
-
erp: "erp";
|
|
1068
|
-
hr: "hr";
|
|
1069
|
-
finance: "finance";
|
|
1070
|
-
project: "project";
|
|
1071
|
-
collaboration: "collaboration";
|
|
1072
|
-
"developer-tools": "developer-tools";
|
|
1073
|
-
"ui-theme": "ui-theme";
|
|
1074
|
-
}>;
|
|
1075
|
-
count: z.ZodNumber;
|
|
1076
|
-
}, z.core.$strip>>>;
|
|
1077
|
-
pricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1078
|
-
model: z.ZodEnum<{
|
|
1079
|
-
free: "free";
|
|
1080
|
-
freemium: "freemium";
|
|
1081
|
-
paid: "paid";
|
|
1082
|
-
subscription: "subscription";
|
|
1083
|
-
"usage-based": "usage-based";
|
|
1084
|
-
"contact-sales": "contact-sales";
|
|
1085
|
-
}>;
|
|
1086
|
-
count: z.ZodNumber;
|
|
1087
|
-
}, z.core.$strip>>>;
|
|
1088
|
-
}, z.core.$strip>>;
|
|
1089
|
-
}, z.core.$strip>;
|
|
1090
|
-
/**
|
|
1091
|
-
* Install from Marketplace Request
|
|
1092
|
-
* Extends the basic package install with marketplace-specific fields.
|
|
1093
|
-
*/
|
|
1094
|
-
declare const MarketplaceInstallRequestSchema: z.ZodObject<{
|
|
1095
|
-
listingId: z.ZodString;
|
|
1096
|
-
version: z.ZodOptional<z.ZodString>;
|
|
1097
|
-
licenseKey: z.ZodOptional<z.ZodString>;
|
|
1098
|
-
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1099
|
-
enableOnInstall: z.ZodDefault<z.ZodBoolean>;
|
|
1100
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1101
|
-
}, z.core.$strip>;
|
|
1102
|
-
/**
|
|
1103
|
-
* Install from Marketplace Response
|
|
1104
|
-
*/
|
|
1105
|
-
declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
1106
|
-
success: z.ZodBoolean;
|
|
1107
|
-
packageId: z.ZodOptional<z.ZodString>;
|
|
1108
|
-
version: z.ZodOptional<z.ZodString>;
|
|
1109
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1110
|
-
}, z.core.$strip>;
|
|
1111
|
-
type PublisherVerification = z.infer<typeof PublisherVerificationSchema>;
|
|
1112
|
-
type Publisher = z.infer<typeof PublisherSchema>;
|
|
1113
|
-
type MarketplaceCategory = z.infer<typeof MarketplaceCategorySchema>;
|
|
1114
|
-
type ListingStatus = z.infer<typeof ListingStatusSchema>;
|
|
1115
|
-
type PricingModel = z.infer<typeof PricingModelSchema>;
|
|
1116
|
-
type MarketplaceListing = z.infer<typeof MarketplaceListingSchema>;
|
|
1117
|
-
type PackageSubmission = z.infer<typeof PackageSubmissionSchema>;
|
|
1118
|
-
type MarketplaceSearchRequest = z.infer<typeof MarketplaceSearchRequestSchema>;
|
|
1119
|
-
type MarketplaceSearchResponse = z.infer<typeof MarketplaceSearchResponseSchema>;
|
|
1120
|
-
type MarketplaceInstallRequest = z.infer<typeof MarketplaceInstallRequestSchema>;
|
|
1121
|
-
type MarketplaceInstallResponse = z.infer<typeof MarketplaceInstallResponseSchema>;
|
|
1122
|
-
|
|
1123
|
-
/**
|
|
1124
|
-
* # Developer Portal Protocol
|
|
1125
|
-
*
|
|
1126
|
-
* Defines schemas for the developer-facing side of the marketplace ecosystem.
|
|
1127
|
-
* Covers the complete developer journey:
|
|
1128
|
-
*
|
|
1129
|
-
* ```
|
|
1130
|
-
* Register → Create App → Develop → Validate → Build → Submit → Monitor → Iterate
|
|
1131
|
-
* ```
|
|
1132
|
-
*
|
|
1133
|
-
* ## Architecture Alignment
|
|
1134
|
-
* - **Salesforce Partner Portal**: ISV registration, AppExchange publishing, Trialforce
|
|
1135
|
-
* - **Shopify Partner Dashboard**: App management, analytics, billing
|
|
1136
|
-
* - **VS Code Marketplace Management**: Extension publishing, statistics, tokens
|
|
1137
|
-
*
|
|
1138
|
-
* ## Identity Integration (better-auth)
|
|
1139
|
-
* Authentication, organization management, and API keys are handled by the
|
|
1140
|
-
* Identity module (`@objectstack/spec` Identity namespace), which follows the
|
|
1141
|
-
* better-auth specification. This module only defines marketplace-specific
|
|
1142
|
-
* extensions on top of the shared identity layer:
|
|
1143
|
-
*
|
|
1144
|
-
* - **User & Session** → `Identity.UserSchema`, `Identity.SessionSchema`
|
|
1145
|
-
* - **Organization & Members** → `Identity.OrganizationSchema`, `Identity.MemberSchema`
|
|
1146
|
-
* - **API Keys** → `Identity.ApiKeySchema` (with marketplace scopes)
|
|
1147
|
-
*
|
|
1148
|
-
* ## Key Concepts
|
|
1149
|
-
* - **Publisher Profile**: Links an Identity Organization to a marketplace publisher
|
|
1150
|
-
* - **App Listing Management**: CRUD for marketplace listings (draft → published)
|
|
1151
|
-
* - **Version Channels**: alpha / beta / rc / stable release channels
|
|
1152
|
-
* - **Publishing Analytics**: Install trends, revenue, ratings over time
|
|
1153
|
-
*/
|
|
1154
|
-
/**
|
|
1155
|
-
* Publisher Profile Schema
|
|
1156
|
-
*
|
|
1157
|
-
* Links an Identity Organization to a marketplace publisher identity.
|
|
1158
|
-
* The organization itself (name, slug, logo, members) is managed via
|
|
1159
|
-
* Identity.OrganizationSchema and Identity.MemberSchema (better-auth aligned).
|
|
1160
|
-
*
|
|
1161
|
-
* This schema only holds marketplace-specific publisher metadata.
|
|
1162
|
-
*/
|
|
1163
|
-
declare const PublisherProfileSchema: z.ZodObject<{
|
|
1164
|
-
organizationId: z.ZodString;
|
|
1165
|
-
publisherId: z.ZodString;
|
|
1166
|
-
verification: z.ZodDefault<z.ZodEnum<{
|
|
1167
|
-
pending: "pending";
|
|
1168
|
-
verified: "verified";
|
|
1169
|
-
trusted: "trusted";
|
|
1170
|
-
unverified: "unverified";
|
|
1171
|
-
partner: "partner";
|
|
1172
|
-
}>>;
|
|
1173
|
-
agreementVersion: z.ZodOptional<z.ZodString>;
|
|
1174
|
-
website: z.ZodOptional<z.ZodString>;
|
|
1175
|
-
supportEmail: z.ZodOptional<z.ZodString>;
|
|
1176
|
-
registeredAt: z.ZodString;
|
|
1177
|
-
}, z.core.$strip>;
|
|
1178
|
-
/**
|
|
1179
|
-
* Release Channel — allows pre-release distribution
|
|
1180
|
-
*/
|
|
1181
|
-
declare const ReleaseChannelSchema: z.ZodEnum<{
|
|
1182
|
-
alpha: "alpha";
|
|
1183
|
-
stable: "stable";
|
|
1184
|
-
beta: "beta";
|
|
1185
|
-
rc: "rc";
|
|
1186
|
-
}>;
|
|
1187
|
-
/**
|
|
1188
|
-
* Version Release Schema
|
|
1189
|
-
*
|
|
1190
|
-
* A single version release of a package with channel assignment.
|
|
1191
|
-
*/
|
|
1192
|
-
declare const VersionReleaseSchema: z.ZodObject<{
|
|
1193
|
-
version: z.ZodString;
|
|
1194
|
-
channel: z.ZodDefault<z.ZodEnum<{
|
|
1195
|
-
alpha: "alpha";
|
|
1196
|
-
stable: "stable";
|
|
1197
|
-
beta: "beta";
|
|
1198
|
-
rc: "rc";
|
|
1199
|
-
}>>;
|
|
1200
|
-
releaseNotes: z.ZodOptional<z.ZodString>;
|
|
1201
|
-
changelog: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1202
|
-
type: z.ZodEnum<{
|
|
1203
|
-
fixed: "fixed";
|
|
1204
|
-
deprecated: "deprecated";
|
|
1205
|
-
security: "security";
|
|
1206
|
-
removed: "removed";
|
|
1207
|
-
added: "added";
|
|
1208
|
-
changed: "changed";
|
|
1209
|
-
}>;
|
|
1210
|
-
description: z.ZodString;
|
|
1211
|
-
}, z.core.$strip>>>;
|
|
1212
|
-
minPlatformVersion: z.ZodOptional<z.ZodString>;
|
|
1213
|
-
artifactUrl: z.ZodOptional<z.ZodString>;
|
|
1214
|
-
artifactChecksum: z.ZodOptional<z.ZodString>;
|
|
1215
|
-
deprecated: z.ZodDefault<z.ZodBoolean>;
|
|
1216
|
-
deprecationMessage: z.ZodOptional<z.ZodString>;
|
|
1217
|
-
releasedAt: z.ZodOptional<z.ZodString>;
|
|
1218
|
-
}, z.core.$strip>;
|
|
1219
|
-
/**
|
|
1220
|
-
* Create Listing Request — developer creates a new marketplace listing
|
|
1221
|
-
*/
|
|
1222
|
-
declare const CreateListingRequestSchema: z.ZodObject<{
|
|
1223
|
-
packageId: z.ZodString;
|
|
1224
|
-
name: z.ZodString;
|
|
1225
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
1226
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1227
|
-
category: z.ZodString;
|
|
1228
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1229
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1230
|
-
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1231
|
-
url: z.ZodString;
|
|
1232
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
1233
|
-
}, z.core.$strip>>>;
|
|
1234
|
-
documentationUrl: z.ZodOptional<z.ZodString>;
|
|
1235
|
-
supportUrl: z.ZodOptional<z.ZodString>;
|
|
1236
|
-
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
1237
|
-
pricing: z.ZodDefault<z.ZodEnum<{
|
|
1238
|
-
free: "free";
|
|
1239
|
-
freemium: "freemium";
|
|
1240
|
-
paid: "paid";
|
|
1241
|
-
subscription: "subscription";
|
|
1242
|
-
"usage-based": "usage-based";
|
|
1243
|
-
"contact-sales": "contact-sales";
|
|
1244
|
-
}>>;
|
|
1245
|
-
priceInCents: z.ZodOptional<z.ZodNumber>;
|
|
1246
|
-
}, z.core.$strip>;
|
|
1247
|
-
/**
|
|
1248
|
-
* Update Listing Request — developer updates listing metadata
|
|
1249
|
-
*/
|
|
1250
|
-
declare const UpdateListingRequestSchema: z.ZodObject<{
|
|
1251
|
-
listingId: z.ZodString;
|
|
1252
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1253
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
1254
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1255
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1256
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1257
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1258
|
-
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1259
|
-
url: z.ZodString;
|
|
1260
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
1261
|
-
}, z.core.$strip>>>;
|
|
1262
|
-
documentationUrl: z.ZodOptional<z.ZodString>;
|
|
1263
|
-
supportUrl: z.ZodOptional<z.ZodString>;
|
|
1264
|
-
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
1265
|
-
pricing: z.ZodOptional<z.ZodEnum<{
|
|
1266
|
-
free: "free";
|
|
1267
|
-
freemium: "freemium";
|
|
1268
|
-
paid: "paid";
|
|
1269
|
-
subscription: "subscription";
|
|
1270
|
-
"usage-based": "usage-based";
|
|
1271
|
-
"contact-sales": "contact-sales";
|
|
1272
|
-
}>>;
|
|
1273
|
-
priceInCents: z.ZodOptional<z.ZodNumber>;
|
|
1274
|
-
}, z.core.$strip>;
|
|
1275
|
-
/**
|
|
1276
|
-
* Listing Action Request — lifecycle actions on a listing
|
|
1277
|
-
*/
|
|
1278
|
-
declare const ListingActionRequestSchema: z.ZodObject<{
|
|
1279
|
-
listingId: z.ZodString;
|
|
1280
|
-
action: z.ZodEnum<{
|
|
1281
|
-
submit: "submit";
|
|
1282
|
-
unlist: "unlist";
|
|
1283
|
-
deprecate: "deprecate";
|
|
1284
|
-
reactivate: "reactivate";
|
|
1285
|
-
}>;
|
|
1286
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
1287
|
-
}, z.core.$strip>;
|
|
1288
|
-
/**
|
|
1289
|
-
* Analytics Time Range
|
|
1290
|
-
*/
|
|
1291
|
-
declare const AnalyticsTimeRangeSchema: z.ZodEnum<{
|
|
1292
|
-
last_7d: "last_7d";
|
|
1293
|
-
last_30d: "last_30d";
|
|
1294
|
-
last_90d: "last_90d";
|
|
1295
|
-
last_365d: "last_365d";
|
|
1296
|
-
all_time: "all_time";
|
|
1297
|
-
}>;
|
|
1298
|
-
/**
|
|
1299
|
-
* Publishing Analytics Request
|
|
1300
|
-
*/
|
|
1301
|
-
declare const PublishingAnalyticsRequestSchema: z.ZodObject<{
|
|
1302
|
-
listingId: z.ZodString;
|
|
1303
|
-
timeRange: z.ZodDefault<z.ZodEnum<{
|
|
1304
|
-
last_7d: "last_7d";
|
|
1305
|
-
last_30d: "last_30d";
|
|
1306
|
-
last_90d: "last_90d";
|
|
1307
|
-
last_365d: "last_365d";
|
|
1308
|
-
all_time: "all_time";
|
|
1309
|
-
}>>;
|
|
1310
|
-
metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1311
|
-
ratings: "ratings";
|
|
1312
|
-
installs: "installs";
|
|
1313
|
-
uninstalls: "uninstalls";
|
|
1314
|
-
active_installs: "active_installs";
|
|
1315
|
-
revenue: "revenue";
|
|
1316
|
-
page_views: "page_views";
|
|
1317
|
-
}>>>;
|
|
1318
|
-
}, z.core.$strip>;
|
|
1319
|
-
/**
|
|
1320
|
-
* Time Series Data Point
|
|
1321
|
-
*/
|
|
1322
|
-
declare const TimeSeriesPointSchema: z.ZodObject<{
|
|
1323
|
-
date: z.ZodString;
|
|
1324
|
-
value: z.ZodNumber;
|
|
1325
|
-
}, z.core.$strip>;
|
|
1326
|
-
/**
|
|
1327
|
-
* Publishing Analytics Response
|
|
1328
|
-
*/
|
|
1329
|
-
declare const PublishingAnalyticsResponseSchema: z.ZodObject<{
|
|
1330
|
-
listingId: z.ZodString;
|
|
1331
|
-
timeRange: z.ZodEnum<{
|
|
1332
|
-
last_7d: "last_7d";
|
|
1333
|
-
last_30d: "last_30d";
|
|
1334
|
-
last_90d: "last_90d";
|
|
1335
|
-
last_365d: "last_365d";
|
|
1336
|
-
all_time: "all_time";
|
|
1337
|
-
}>;
|
|
1338
|
-
summary: z.ZodObject<{
|
|
1339
|
-
totalInstalls: z.ZodNumber;
|
|
1340
|
-
activeInstalls: z.ZodNumber;
|
|
1341
|
-
totalUninstalls: z.ZodNumber;
|
|
1342
|
-
averageRating: z.ZodOptional<z.ZodNumber>;
|
|
1343
|
-
totalRatings: z.ZodNumber;
|
|
1344
|
-
totalRevenue: z.ZodOptional<z.ZodNumber>;
|
|
1345
|
-
pageViews: z.ZodNumber;
|
|
1346
|
-
}, z.core.$strip>;
|
|
1347
|
-
timeSeries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1348
|
-
date: z.ZodString;
|
|
1349
|
-
value: z.ZodNumber;
|
|
1350
|
-
}, z.core.$strip>>>>;
|
|
1351
|
-
ratingDistribution: z.ZodOptional<z.ZodObject<{
|
|
1352
|
-
1: z.ZodDefault<z.ZodNumber>;
|
|
1353
|
-
2: z.ZodDefault<z.ZodNumber>;
|
|
1354
|
-
3: z.ZodDefault<z.ZodNumber>;
|
|
1355
|
-
4: z.ZodDefault<z.ZodNumber>;
|
|
1356
|
-
5: z.ZodDefault<z.ZodNumber>;
|
|
1357
|
-
}, z.core.$strip>>;
|
|
1358
|
-
}, z.core.$strip>;
|
|
1359
|
-
type PublisherProfile = z.infer<typeof PublisherProfileSchema>;
|
|
1360
|
-
type ReleaseChannel = z.infer<typeof ReleaseChannelSchema>;
|
|
1361
|
-
type VersionRelease = z.infer<typeof VersionReleaseSchema>;
|
|
1362
|
-
type CreateListingRequest = z.infer<typeof CreateListingRequestSchema>;
|
|
1363
|
-
type UpdateListingRequest = z.infer<typeof UpdateListingRequestSchema>;
|
|
1364
|
-
type ListingActionRequest = z.infer<typeof ListingActionRequestSchema>;
|
|
1365
|
-
type AnalyticsTimeRange = z.infer<typeof AnalyticsTimeRangeSchema>;
|
|
1366
|
-
type PublishingAnalyticsRequest = z.infer<typeof PublishingAnalyticsRequestSchema>;
|
|
1367
|
-
type TimeSeriesPoint = z.infer<typeof TimeSeriesPointSchema>;
|
|
1368
|
-
type PublishingAnalyticsResponse = z.infer<typeof PublishingAnalyticsResponseSchema>;
|
|
1369
|
-
|
|
1370
|
-
/**
|
|
1371
|
-
* # Marketplace Administration Protocol
|
|
1372
|
-
*
|
|
1373
|
-
* Defines schemas for the platform (Cloud) side of marketplace operations.
|
|
1374
|
-
* Covers the administrative workflows for managing and governing the marketplace.
|
|
1375
|
-
*
|
|
1376
|
-
* ## Architecture Alignment
|
|
1377
|
-
* - **Salesforce AppExchange Admin**: Security review, ISV monitoring, partner management
|
|
1378
|
-
* - **Apple App Store Connect Review**: Human review process, guidelines, rejection reasons
|
|
1379
|
-
* - **Google Play Console**: Policy enforcement, quality gates, content moderation
|
|
1380
|
-
*
|
|
1381
|
-
* ## Key Concepts
|
|
1382
|
-
* - **Review Process**: Structured workflow for submission review (automated + manual)
|
|
1383
|
-
* - **Curation**: Featured apps, curated collections, editorial picks
|
|
1384
|
-
* - **Governance**: Policy enforcement, takedown, compliance
|
|
1385
|
-
* - **Platform Analytics**: Marketplace health, trending, abuse detection
|
|
1386
|
-
*/
|
|
1387
|
-
/**
|
|
1388
|
-
* Review Criteria — checklist items for human reviewers
|
|
1389
|
-
*/
|
|
1390
|
-
declare const ReviewCriterionSchema: z.ZodObject<{
|
|
1391
|
-
id: z.ZodString;
|
|
1392
|
-
category: z.ZodEnum<{
|
|
1393
|
-
performance: "performance";
|
|
1394
|
-
documentation: "documentation";
|
|
1395
|
-
security: "security";
|
|
1396
|
-
policy: "policy";
|
|
1397
|
-
compatibility: "compatibility";
|
|
1398
|
-
quality: "quality";
|
|
1399
|
-
ux: "ux";
|
|
1400
|
-
}>;
|
|
1401
|
-
description: z.ZodString;
|
|
1402
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
1403
|
-
passed: z.ZodOptional<z.ZodBoolean>;
|
|
1404
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1405
|
-
}, z.core.$strip>;
|
|
1406
|
-
/**
|
|
1407
|
-
* Review Decision
|
|
1408
|
-
*/
|
|
1409
|
-
declare const ReviewDecisionSchema: z.ZodEnum<{
|
|
1410
|
-
approved: "approved";
|
|
1411
|
-
rejected: "rejected";
|
|
1412
|
-
"changes-requested": "changes-requested";
|
|
1413
|
-
}>;
|
|
1414
|
-
/**
|
|
1415
|
-
* Rejection Reason Category
|
|
1416
|
-
*/
|
|
1417
|
-
declare const RejectionReasonSchema: z.ZodEnum<{
|
|
1418
|
-
other: "other";
|
|
1419
|
-
incompatible: "incompatible";
|
|
1420
|
-
"security-vulnerability": "security-vulnerability";
|
|
1421
|
-
"policy-violation": "policy-violation";
|
|
1422
|
-
"quality-below-standard": "quality-below-standard";
|
|
1423
|
-
"misleading-metadata": "misleading-metadata";
|
|
1424
|
-
duplicate: "duplicate";
|
|
1425
|
-
"insufficient-documentation": "insufficient-documentation";
|
|
1426
|
-
}>;
|
|
1427
|
-
/**
|
|
1428
|
-
* Submission Review Schema
|
|
1429
|
-
*
|
|
1430
|
-
* The review record attached to a package submission.
|
|
1431
|
-
*/
|
|
1432
|
-
declare const SubmissionReviewSchema: z.ZodObject<{
|
|
1433
|
-
id: z.ZodString;
|
|
1434
|
-
submissionId: z.ZodString;
|
|
1435
|
-
reviewerId: z.ZodString;
|
|
1436
|
-
decision: z.ZodOptional<z.ZodEnum<{
|
|
1437
|
-
approved: "approved";
|
|
1438
|
-
rejected: "rejected";
|
|
1439
|
-
"changes-requested": "changes-requested";
|
|
1440
|
-
}>>;
|
|
1441
|
-
criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1442
|
-
id: z.ZodString;
|
|
1443
|
-
category: z.ZodEnum<{
|
|
1444
|
-
performance: "performance";
|
|
1445
|
-
documentation: "documentation";
|
|
1446
|
-
security: "security";
|
|
1447
|
-
policy: "policy";
|
|
1448
|
-
compatibility: "compatibility";
|
|
1449
|
-
quality: "quality";
|
|
1450
|
-
ux: "ux";
|
|
1451
|
-
}>;
|
|
1452
|
-
description: z.ZodString;
|
|
1453
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
1454
|
-
passed: z.ZodOptional<z.ZodBoolean>;
|
|
1455
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
1456
|
-
}, z.core.$strip>>>;
|
|
1457
|
-
rejectionReasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1458
|
-
other: "other";
|
|
1459
|
-
incompatible: "incompatible";
|
|
1460
|
-
"security-vulnerability": "security-vulnerability";
|
|
1461
|
-
"policy-violation": "policy-violation";
|
|
1462
|
-
"quality-below-standard": "quality-below-standard";
|
|
1463
|
-
"misleading-metadata": "misleading-metadata";
|
|
1464
|
-
duplicate: "duplicate";
|
|
1465
|
-
"insufficient-documentation": "insufficient-documentation";
|
|
1466
|
-
}>>>;
|
|
1467
|
-
feedback: z.ZodOptional<z.ZodString>;
|
|
1468
|
-
internalNotes: z.ZodOptional<z.ZodString>;
|
|
1469
|
-
startedAt: z.ZodOptional<z.ZodString>;
|
|
1470
|
-
completedAt: z.ZodOptional<z.ZodString>;
|
|
1471
|
-
}, z.core.$strip>;
|
|
1472
|
-
/**
|
|
1473
|
-
* Featured Listing — promoted on marketplace homepage
|
|
1474
|
-
*/
|
|
1475
|
-
declare const FeaturedListingSchema: z.ZodObject<{
|
|
1476
|
-
listingId: z.ZodString;
|
|
1477
|
-
priority: z.ZodDefault<z.ZodNumber>;
|
|
1478
|
-
bannerUrl: z.ZodOptional<z.ZodString>;
|
|
1479
|
-
editorialNote: z.ZodOptional<z.ZodString>;
|
|
1480
|
-
startDate: z.ZodString;
|
|
1481
|
-
endDate: z.ZodOptional<z.ZodString>;
|
|
1482
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
|
1483
|
-
}, z.core.$strip>;
|
|
1484
|
-
/**
|
|
1485
|
-
* Curated Collection — a themed group of listings
|
|
1486
|
-
*/
|
|
1487
|
-
declare const CuratedCollectionSchema: z.ZodObject<{
|
|
1488
|
-
id: z.ZodString;
|
|
1489
|
-
name: z.ZodString;
|
|
1490
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1491
|
-
coverImageUrl: z.ZodOptional<z.ZodString>;
|
|
1492
|
-
listingIds: z.ZodArray<z.ZodString>;
|
|
1493
|
-
published: z.ZodDefault<z.ZodBoolean>;
|
|
1494
|
-
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
1495
|
-
createdBy: z.ZodOptional<z.ZodString>;
|
|
1496
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1497
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1498
|
-
}, z.core.$strip>;
|
|
1499
|
-
/**
|
|
1500
|
-
* Policy Violation Type
|
|
1501
|
-
*/
|
|
1502
|
-
declare const PolicyViolationTypeSchema: z.ZodEnum<{
|
|
1503
|
-
malware: "malware";
|
|
1504
|
-
"data-harvesting": "data-harvesting";
|
|
1505
|
-
spam: "spam";
|
|
1506
|
-
copyright: "copyright";
|
|
1507
|
-
"inappropriate-content": "inappropriate-content";
|
|
1508
|
-
"terms-of-service": "terms-of-service";
|
|
1509
|
-
"security-risk": "security-risk";
|
|
1510
|
-
abandoned: "abandoned";
|
|
1511
|
-
}>;
|
|
1512
|
-
/**
|
|
1513
|
-
* Policy Action — enforcement action on a listing
|
|
1514
|
-
*/
|
|
1515
|
-
declare const PolicyActionSchema: z.ZodObject<{
|
|
1516
|
-
id: z.ZodString;
|
|
1517
|
-
listingId: z.ZodString;
|
|
1518
|
-
violationType: z.ZodEnum<{
|
|
1519
|
-
malware: "malware";
|
|
1520
|
-
"data-harvesting": "data-harvesting";
|
|
1521
|
-
spam: "spam";
|
|
1522
|
-
copyright: "copyright";
|
|
1523
|
-
"inappropriate-content": "inappropriate-content";
|
|
1524
|
-
"terms-of-service": "terms-of-service";
|
|
1525
|
-
"security-risk": "security-risk";
|
|
1526
|
-
abandoned: "abandoned";
|
|
1527
|
-
}>;
|
|
1528
|
-
action: z.ZodEnum<{
|
|
1529
|
-
restrict: "restrict";
|
|
1530
|
-
warning: "warning";
|
|
1531
|
-
suspend: "suspend";
|
|
1532
|
-
takedown: "takedown";
|
|
1533
|
-
}>;
|
|
1534
|
-
reason: z.ZodString;
|
|
1535
|
-
actionBy: z.ZodString;
|
|
1536
|
-
actionAt: z.ZodString;
|
|
1537
|
-
resolution: z.ZodOptional<z.ZodString>;
|
|
1538
|
-
resolved: z.ZodDefault<z.ZodBoolean>;
|
|
1539
|
-
}, z.core.$strip>;
|
|
1540
|
-
/**
|
|
1541
|
-
* Marketplace Health Metrics — overall platform statistics
|
|
1542
|
-
*/
|
|
1543
|
-
declare const MarketplaceHealthMetricsSchema: z.ZodObject<{
|
|
1544
|
-
totalListings: z.ZodNumber;
|
|
1545
|
-
listingsByStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1546
|
-
listingsByCategory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1547
|
-
totalPublishers: z.ZodNumber;
|
|
1548
|
-
verifiedPublishers: z.ZodNumber;
|
|
1549
|
-
totalInstalls: z.ZodNumber;
|
|
1550
|
-
averageReviewTime: z.ZodOptional<z.ZodNumber>;
|
|
1551
|
-
pendingReviews: z.ZodNumber;
|
|
1552
|
-
listingsByPricing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1553
|
-
snapshotAt: z.ZodString;
|
|
1554
|
-
}, z.core.$strip>;
|
|
1555
|
-
/**
|
|
1556
|
-
* Trending Listing — computed from recent activity
|
|
1557
|
-
*/
|
|
1558
|
-
declare const TrendingListingSchema: z.ZodObject<{
|
|
1559
|
-
listingId: z.ZodString;
|
|
1560
|
-
rank: z.ZodNumber;
|
|
1561
|
-
trendScore: z.ZodNumber;
|
|
1562
|
-
installVelocity: z.ZodNumber;
|
|
1563
|
-
period: z.ZodString;
|
|
1564
|
-
}, z.core.$strip>;
|
|
1565
|
-
type ReviewCriterion = z.infer<typeof ReviewCriterionSchema>;
|
|
1566
|
-
type ReviewDecision = z.infer<typeof ReviewDecisionSchema>;
|
|
1567
|
-
type RejectionReason = z.infer<typeof RejectionReasonSchema>;
|
|
1568
|
-
type SubmissionReview = z.infer<typeof SubmissionReviewSchema>;
|
|
1569
|
-
type FeaturedListing = z.infer<typeof FeaturedListingSchema>;
|
|
1570
|
-
type CuratedCollection = z.infer<typeof CuratedCollectionSchema>;
|
|
1571
|
-
type PolicyViolationType = z.infer<typeof PolicyViolationTypeSchema>;
|
|
1572
|
-
type PolicyAction = z.infer<typeof PolicyActionSchema>;
|
|
1573
|
-
type MarketplaceHealthMetrics = z.infer<typeof MarketplaceHealthMetricsSchema>;
|
|
1574
|
-
type TrendingListing = z.infer<typeof TrendingListingSchema>;
|
|
1575
|
-
|
|
1576
|
-
/**
|
|
1577
|
-
* # App Store Protocol (Customer Experience)
|
|
1578
|
-
*
|
|
1579
|
-
* Defines schemas for the end-customer experience when browsing, evaluating,
|
|
1580
|
-
* installing, and managing marketplace apps from within ObjectOS.
|
|
1581
|
-
*
|
|
1582
|
-
* ## Architecture Alignment
|
|
1583
|
-
* - **Salesforce AppExchange (Customer)**: Browse apps, read reviews, 1-click install
|
|
1584
|
-
* - **Shopify App Store (Merchant)**: App evaluation, trial, install, manage subscriptions
|
|
1585
|
-
* - **Apple App Store (User)**: Ratings, reviews, featured collections, personalized recs
|
|
1586
|
-
*
|
|
1587
|
-
* ## Customer Journey
|
|
1588
|
-
* ```
|
|
1589
|
-
* Discover → Evaluate → Install → Configure → Use → Rate/Review → Manage
|
|
1590
|
-
* ```
|
|
1591
|
-
*
|
|
1592
|
-
* ## Key Concepts
|
|
1593
|
-
* - **Reviews & Ratings**: User-submitted ratings and reviews with moderation
|
|
1594
|
-
* - **Collections & Recommendations**: Personalized discovery and curated picks
|
|
1595
|
-
* - **Subscription Management**: Manage licenses, billing, and renewals
|
|
1596
|
-
* - **Installed App Management**: Enable, disable, configure, upgrade, uninstall
|
|
1597
|
-
*/
|
|
1598
|
-
/**
|
|
1599
|
-
* Review Moderation Status
|
|
1600
|
-
*/
|
|
1601
|
-
declare const ReviewModerationStatusSchema: z.ZodEnum<{
|
|
1602
|
-
approved: "approved";
|
|
1603
|
-
pending: "pending";
|
|
1604
|
-
rejected: "rejected";
|
|
1605
|
-
flagged: "flagged";
|
|
1606
|
-
}>;
|
|
1607
|
-
/**
|
|
1608
|
-
* User Review Schema — a customer's review of an installed app
|
|
1609
|
-
*/
|
|
1610
|
-
declare const UserReviewSchema: z.ZodObject<{
|
|
1611
|
-
id: z.ZodString;
|
|
1612
|
-
listingId: z.ZodString;
|
|
1613
|
-
userId: z.ZodString;
|
|
1614
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1615
|
-
rating: z.ZodNumber;
|
|
1616
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1617
|
-
body: z.ZodOptional<z.ZodString>;
|
|
1618
|
-
appVersion: z.ZodOptional<z.ZodString>;
|
|
1619
|
-
moderationStatus: z.ZodDefault<z.ZodEnum<{
|
|
1620
|
-
approved: "approved";
|
|
1621
|
-
pending: "pending";
|
|
1622
|
-
rejected: "rejected";
|
|
1623
|
-
flagged: "flagged";
|
|
1624
|
-
}>>;
|
|
1625
|
-
helpfulCount: z.ZodDefault<z.ZodNumber>;
|
|
1626
|
-
publisherResponse: z.ZodOptional<z.ZodObject<{
|
|
1627
|
-
body: z.ZodString;
|
|
1628
|
-
respondedAt: z.ZodString;
|
|
1629
|
-
}, z.core.$strip>>;
|
|
1630
|
-
submittedAt: z.ZodString;
|
|
1631
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1632
|
-
}, z.core.$strip>;
|
|
1633
|
-
/**
|
|
1634
|
-
* Submit Review Request
|
|
1635
|
-
*/
|
|
1636
|
-
declare const SubmitReviewRequestSchema: z.ZodObject<{
|
|
1637
|
-
listingId: z.ZodString;
|
|
1638
|
-
rating: z.ZodNumber;
|
|
1639
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1640
|
-
body: z.ZodOptional<z.ZodString>;
|
|
1641
|
-
}, z.core.$strip>;
|
|
1642
|
-
/**
|
|
1643
|
-
* List Reviews Request — customer browsing reviews
|
|
1644
|
-
*/
|
|
1645
|
-
declare const ListReviewsRequestSchema: z.ZodObject<{
|
|
1646
|
-
listingId: z.ZodString;
|
|
1647
|
-
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
1648
|
-
oldest: "oldest";
|
|
1649
|
-
newest: "newest";
|
|
1650
|
-
highest: "highest";
|
|
1651
|
-
lowest: "lowest";
|
|
1652
|
-
"most-helpful": "most-helpful";
|
|
1653
|
-
}>>;
|
|
1654
|
-
rating: z.ZodOptional<z.ZodNumber>;
|
|
1655
|
-
page: z.ZodDefault<z.ZodNumber>;
|
|
1656
|
-
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
1657
|
-
}, z.core.$strip>;
|
|
1658
|
-
/**
|
|
1659
|
-
* List Reviews Response
|
|
1660
|
-
*/
|
|
1661
|
-
declare const ListReviewsResponseSchema: z.ZodObject<{
|
|
1662
|
-
items: z.ZodArray<z.ZodObject<{
|
|
1663
|
-
id: z.ZodString;
|
|
1664
|
-
listingId: z.ZodString;
|
|
1665
|
-
userId: z.ZodString;
|
|
1666
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1667
|
-
rating: z.ZodNumber;
|
|
1668
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1669
|
-
body: z.ZodOptional<z.ZodString>;
|
|
1670
|
-
appVersion: z.ZodOptional<z.ZodString>;
|
|
1671
|
-
moderationStatus: z.ZodDefault<z.ZodEnum<{
|
|
1672
|
-
approved: "approved";
|
|
1673
|
-
pending: "pending";
|
|
1674
|
-
rejected: "rejected";
|
|
1675
|
-
flagged: "flagged";
|
|
1676
|
-
}>>;
|
|
1677
|
-
helpfulCount: z.ZodDefault<z.ZodNumber>;
|
|
1678
|
-
publisherResponse: z.ZodOptional<z.ZodObject<{
|
|
1679
|
-
body: z.ZodString;
|
|
1680
|
-
respondedAt: z.ZodString;
|
|
1681
|
-
}, z.core.$strip>>;
|
|
1682
|
-
submittedAt: z.ZodString;
|
|
1683
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1684
|
-
}, z.core.$strip>>;
|
|
1685
|
-
total: z.ZodNumber;
|
|
1686
|
-
page: z.ZodNumber;
|
|
1687
|
-
pageSize: z.ZodNumber;
|
|
1688
|
-
ratingSummary: z.ZodOptional<z.ZodObject<{
|
|
1689
|
-
averageRating: z.ZodNumber;
|
|
1690
|
-
totalRatings: z.ZodNumber;
|
|
1691
|
-
distribution: z.ZodObject<{
|
|
1692
|
-
1: z.ZodDefault<z.ZodNumber>;
|
|
1693
|
-
2: z.ZodDefault<z.ZodNumber>;
|
|
1694
|
-
3: z.ZodDefault<z.ZodNumber>;
|
|
1695
|
-
4: z.ZodDefault<z.ZodNumber>;
|
|
1696
|
-
5: z.ZodDefault<z.ZodNumber>;
|
|
1697
|
-
}, z.core.$strip>;
|
|
1698
|
-
}, z.core.$strip>>;
|
|
1699
|
-
}, z.core.$strip>;
|
|
1700
|
-
/**
|
|
1701
|
-
* App Recommendation Reason
|
|
1702
|
-
*/
|
|
1703
|
-
declare const RecommendationReasonSchema: z.ZodEnum<{
|
|
1704
|
-
"popular-in-category": "popular-in-category";
|
|
1705
|
-
"similar-users": "similar-users";
|
|
1706
|
-
"complements-installed": "complements-installed";
|
|
1707
|
-
trending: "trending";
|
|
1708
|
-
"new-release": "new-release";
|
|
1709
|
-
"editor-pick": "editor-pick";
|
|
1710
|
-
}>;
|
|
1711
|
-
/**
|
|
1712
|
-
* Recommended App
|
|
1713
|
-
*/
|
|
1714
|
-
declare const RecommendedAppSchema: z.ZodObject<{
|
|
1715
|
-
listingId: z.ZodString;
|
|
1716
|
-
name: z.ZodString;
|
|
1717
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
1718
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1719
|
-
category: z.ZodEnum<{
|
|
1720
|
-
other: "other";
|
|
1721
|
-
security: "security";
|
|
1722
|
-
integration: "integration";
|
|
1723
|
-
storage: "storage";
|
|
1724
|
-
automation: "automation";
|
|
1725
|
-
analytics: "analytics";
|
|
1726
|
-
ai: "ai";
|
|
1727
|
-
crm: "crm";
|
|
1728
|
-
erp: "erp";
|
|
1729
|
-
hr: "hr";
|
|
1730
|
-
finance: "finance";
|
|
1731
|
-
project: "project";
|
|
1732
|
-
collaboration: "collaboration";
|
|
1733
|
-
"developer-tools": "developer-tools";
|
|
1734
|
-
"ui-theme": "ui-theme";
|
|
1735
|
-
}>;
|
|
1736
|
-
pricing: z.ZodEnum<{
|
|
1737
|
-
free: "free";
|
|
1738
|
-
freemium: "freemium";
|
|
1739
|
-
paid: "paid";
|
|
1740
|
-
subscription: "subscription";
|
|
1741
|
-
"usage-based": "usage-based";
|
|
1742
|
-
"contact-sales": "contact-sales";
|
|
1743
|
-
}>;
|
|
1744
|
-
averageRating: z.ZodOptional<z.ZodNumber>;
|
|
1745
|
-
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
1746
|
-
reason: z.ZodEnum<{
|
|
1747
|
-
"popular-in-category": "popular-in-category";
|
|
1748
|
-
"similar-users": "similar-users";
|
|
1749
|
-
"complements-installed": "complements-installed";
|
|
1750
|
-
trending: "trending";
|
|
1751
|
-
"new-release": "new-release";
|
|
1752
|
-
"editor-pick": "editor-pick";
|
|
1753
|
-
}>;
|
|
1754
|
-
}, z.core.$strip>;
|
|
1755
|
-
/**
|
|
1756
|
-
* App Discovery Request — personalized browse/home page
|
|
1757
|
-
*/
|
|
1758
|
-
declare const AppDiscoveryRequestSchema: z.ZodObject<{
|
|
1759
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1760
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1761
|
-
other: "other";
|
|
1762
|
-
security: "security";
|
|
1763
|
-
integration: "integration";
|
|
1764
|
-
storage: "storage";
|
|
1765
|
-
automation: "automation";
|
|
1766
|
-
analytics: "analytics";
|
|
1767
|
-
ai: "ai";
|
|
1768
|
-
crm: "crm";
|
|
1769
|
-
erp: "erp";
|
|
1770
|
-
hr: "hr";
|
|
1771
|
-
finance: "finance";
|
|
1772
|
-
project: "project";
|
|
1773
|
-
collaboration: "collaboration";
|
|
1774
|
-
"developer-tools": "developer-tools";
|
|
1775
|
-
"ui-theme": "ui-theme";
|
|
1776
|
-
}>>>;
|
|
1777
|
-
platformVersion: z.ZodOptional<z.ZodString>;
|
|
1778
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
1779
|
-
}, z.core.$strip>;
|
|
1780
|
-
/**
|
|
1781
|
-
* App Discovery Response — structured content for the storefront
|
|
1782
|
-
*/
|
|
1783
|
-
declare const AppDiscoveryResponseSchema: z.ZodObject<{
|
|
1784
|
-
featured: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1785
|
-
listingId: z.ZodString;
|
|
1786
|
-
name: z.ZodString;
|
|
1787
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
1788
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1789
|
-
category: z.ZodEnum<{
|
|
1790
|
-
other: "other";
|
|
1791
|
-
security: "security";
|
|
1792
|
-
integration: "integration";
|
|
1793
|
-
storage: "storage";
|
|
1794
|
-
automation: "automation";
|
|
1795
|
-
analytics: "analytics";
|
|
1796
|
-
ai: "ai";
|
|
1797
|
-
crm: "crm";
|
|
1798
|
-
erp: "erp";
|
|
1799
|
-
hr: "hr";
|
|
1800
|
-
finance: "finance";
|
|
1801
|
-
project: "project";
|
|
1802
|
-
collaboration: "collaboration";
|
|
1803
|
-
"developer-tools": "developer-tools";
|
|
1804
|
-
"ui-theme": "ui-theme";
|
|
1805
|
-
}>;
|
|
1806
|
-
pricing: z.ZodEnum<{
|
|
1807
|
-
free: "free";
|
|
1808
|
-
freemium: "freemium";
|
|
1809
|
-
paid: "paid";
|
|
1810
|
-
subscription: "subscription";
|
|
1811
|
-
"usage-based": "usage-based";
|
|
1812
|
-
"contact-sales": "contact-sales";
|
|
1813
|
-
}>;
|
|
1814
|
-
averageRating: z.ZodOptional<z.ZodNumber>;
|
|
1815
|
-
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
1816
|
-
reason: z.ZodEnum<{
|
|
1817
|
-
"popular-in-category": "popular-in-category";
|
|
1818
|
-
"similar-users": "similar-users";
|
|
1819
|
-
"complements-installed": "complements-installed";
|
|
1820
|
-
trending: "trending";
|
|
1821
|
-
"new-release": "new-release";
|
|
1822
|
-
"editor-pick": "editor-pick";
|
|
1823
|
-
}>;
|
|
1824
|
-
}, z.core.$strip>>>;
|
|
1825
|
-
recommended: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1826
|
-
listingId: z.ZodString;
|
|
1827
|
-
name: z.ZodString;
|
|
1828
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
1829
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1830
|
-
category: z.ZodEnum<{
|
|
1831
|
-
other: "other";
|
|
1832
|
-
security: "security";
|
|
1833
|
-
integration: "integration";
|
|
1834
|
-
storage: "storage";
|
|
1835
|
-
automation: "automation";
|
|
1836
|
-
analytics: "analytics";
|
|
1837
|
-
ai: "ai";
|
|
1838
|
-
crm: "crm";
|
|
1839
|
-
erp: "erp";
|
|
1840
|
-
hr: "hr";
|
|
1841
|
-
finance: "finance";
|
|
1842
|
-
project: "project";
|
|
1843
|
-
collaboration: "collaboration";
|
|
1844
|
-
"developer-tools": "developer-tools";
|
|
1845
|
-
"ui-theme": "ui-theme";
|
|
1846
|
-
}>;
|
|
1847
|
-
pricing: z.ZodEnum<{
|
|
1848
|
-
free: "free";
|
|
1849
|
-
freemium: "freemium";
|
|
1850
|
-
paid: "paid";
|
|
1851
|
-
subscription: "subscription";
|
|
1852
|
-
"usage-based": "usage-based";
|
|
1853
|
-
"contact-sales": "contact-sales";
|
|
1854
|
-
}>;
|
|
1855
|
-
averageRating: z.ZodOptional<z.ZodNumber>;
|
|
1856
|
-
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
1857
|
-
reason: z.ZodEnum<{
|
|
1858
|
-
"popular-in-category": "popular-in-category";
|
|
1859
|
-
"similar-users": "similar-users";
|
|
1860
|
-
"complements-installed": "complements-installed";
|
|
1861
|
-
trending: "trending";
|
|
1862
|
-
"new-release": "new-release";
|
|
1863
|
-
"editor-pick": "editor-pick";
|
|
1864
|
-
}>;
|
|
1865
|
-
}, z.core.$strip>>>;
|
|
1866
|
-
trending: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1867
|
-
listingId: z.ZodString;
|
|
1868
|
-
name: z.ZodString;
|
|
1869
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
1870
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1871
|
-
category: z.ZodEnum<{
|
|
1872
|
-
other: "other";
|
|
1873
|
-
security: "security";
|
|
1874
|
-
integration: "integration";
|
|
1875
|
-
storage: "storage";
|
|
1876
|
-
automation: "automation";
|
|
1877
|
-
analytics: "analytics";
|
|
1878
|
-
ai: "ai";
|
|
1879
|
-
crm: "crm";
|
|
1880
|
-
erp: "erp";
|
|
1881
|
-
hr: "hr";
|
|
1882
|
-
finance: "finance";
|
|
1883
|
-
project: "project";
|
|
1884
|
-
collaboration: "collaboration";
|
|
1885
|
-
"developer-tools": "developer-tools";
|
|
1886
|
-
"ui-theme": "ui-theme";
|
|
1887
|
-
}>;
|
|
1888
|
-
pricing: z.ZodEnum<{
|
|
1889
|
-
free: "free";
|
|
1890
|
-
freemium: "freemium";
|
|
1891
|
-
paid: "paid";
|
|
1892
|
-
subscription: "subscription";
|
|
1893
|
-
"usage-based": "usage-based";
|
|
1894
|
-
"contact-sales": "contact-sales";
|
|
1895
|
-
}>;
|
|
1896
|
-
averageRating: z.ZodOptional<z.ZodNumber>;
|
|
1897
|
-
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
1898
|
-
reason: z.ZodEnum<{
|
|
1899
|
-
"popular-in-category": "popular-in-category";
|
|
1900
|
-
"similar-users": "similar-users";
|
|
1901
|
-
"complements-installed": "complements-installed";
|
|
1902
|
-
trending: "trending";
|
|
1903
|
-
"new-release": "new-release";
|
|
1904
|
-
"editor-pick": "editor-pick";
|
|
1905
|
-
}>;
|
|
1906
|
-
}, z.core.$strip>>>;
|
|
1907
|
-
newArrivals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1908
|
-
listingId: z.ZodString;
|
|
1909
|
-
name: z.ZodString;
|
|
1910
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
1911
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1912
|
-
category: z.ZodEnum<{
|
|
1913
|
-
other: "other";
|
|
1914
|
-
security: "security";
|
|
1915
|
-
integration: "integration";
|
|
1916
|
-
storage: "storage";
|
|
1917
|
-
automation: "automation";
|
|
1918
|
-
analytics: "analytics";
|
|
1919
|
-
ai: "ai";
|
|
1920
|
-
crm: "crm";
|
|
1921
|
-
erp: "erp";
|
|
1922
|
-
hr: "hr";
|
|
1923
|
-
finance: "finance";
|
|
1924
|
-
project: "project";
|
|
1925
|
-
collaboration: "collaboration";
|
|
1926
|
-
"developer-tools": "developer-tools";
|
|
1927
|
-
"ui-theme": "ui-theme";
|
|
1928
|
-
}>;
|
|
1929
|
-
pricing: z.ZodEnum<{
|
|
1930
|
-
free: "free";
|
|
1931
|
-
freemium: "freemium";
|
|
1932
|
-
paid: "paid";
|
|
1933
|
-
subscription: "subscription";
|
|
1934
|
-
"usage-based": "usage-based";
|
|
1935
|
-
"contact-sales": "contact-sales";
|
|
1936
|
-
}>;
|
|
1937
|
-
averageRating: z.ZodOptional<z.ZodNumber>;
|
|
1938
|
-
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
1939
|
-
reason: z.ZodEnum<{
|
|
1940
|
-
"popular-in-category": "popular-in-category";
|
|
1941
|
-
"similar-users": "similar-users";
|
|
1942
|
-
"complements-installed": "complements-installed";
|
|
1943
|
-
trending: "trending";
|
|
1944
|
-
"new-release": "new-release";
|
|
1945
|
-
"editor-pick": "editor-pick";
|
|
1946
|
-
}>;
|
|
1947
|
-
}, z.core.$strip>>>;
|
|
1948
|
-
collections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1949
|
-
id: z.ZodString;
|
|
1950
|
-
name: z.ZodString;
|
|
1951
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1952
|
-
coverImageUrl: z.ZodOptional<z.ZodString>;
|
|
1953
|
-
apps: z.ZodArray<z.ZodObject<{
|
|
1954
|
-
listingId: z.ZodString;
|
|
1955
|
-
name: z.ZodString;
|
|
1956
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
1957
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1958
|
-
category: z.ZodEnum<{
|
|
1959
|
-
other: "other";
|
|
1960
|
-
security: "security";
|
|
1961
|
-
integration: "integration";
|
|
1962
|
-
storage: "storage";
|
|
1963
|
-
automation: "automation";
|
|
1964
|
-
analytics: "analytics";
|
|
1965
|
-
ai: "ai";
|
|
1966
|
-
crm: "crm";
|
|
1967
|
-
erp: "erp";
|
|
1968
|
-
hr: "hr";
|
|
1969
|
-
finance: "finance";
|
|
1970
|
-
project: "project";
|
|
1971
|
-
collaboration: "collaboration";
|
|
1972
|
-
"developer-tools": "developer-tools";
|
|
1973
|
-
"ui-theme": "ui-theme";
|
|
1974
|
-
}>;
|
|
1975
|
-
pricing: z.ZodEnum<{
|
|
1976
|
-
free: "free";
|
|
1977
|
-
freemium: "freemium";
|
|
1978
|
-
paid: "paid";
|
|
1979
|
-
subscription: "subscription";
|
|
1980
|
-
"usage-based": "usage-based";
|
|
1981
|
-
"contact-sales": "contact-sales";
|
|
1982
|
-
}>;
|
|
1983
|
-
averageRating: z.ZodOptional<z.ZodNumber>;
|
|
1984
|
-
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
1985
|
-
reason: z.ZodEnum<{
|
|
1986
|
-
"popular-in-category": "popular-in-category";
|
|
1987
|
-
"similar-users": "similar-users";
|
|
1988
|
-
"complements-installed": "complements-installed";
|
|
1989
|
-
trending: "trending";
|
|
1990
|
-
"new-release": "new-release";
|
|
1991
|
-
"editor-pick": "editor-pick";
|
|
1992
|
-
}>;
|
|
1993
|
-
}, z.core.$strip>>;
|
|
1994
|
-
}, z.core.$strip>>>;
|
|
1995
|
-
}, z.core.$strip>;
|
|
1996
|
-
/**
|
|
1997
|
-
* Subscription Status
|
|
1998
|
-
*/
|
|
1999
|
-
declare const SubscriptionStatusSchema: z.ZodEnum<{
|
|
2000
|
-
active: "active";
|
|
2001
|
-
cancelled: "cancelled";
|
|
2002
|
-
expired: "expired";
|
|
2003
|
-
trialing: "trialing";
|
|
2004
|
-
"past-due": "past-due";
|
|
2005
|
-
}>;
|
|
2006
|
-
/**
|
|
2007
|
-
* App Subscription Schema — customer's license/subscription for an app
|
|
2008
|
-
*/
|
|
2009
|
-
declare const AppSubscriptionSchema: z.ZodObject<{
|
|
2010
|
-
id: z.ZodString;
|
|
2011
|
-
listingId: z.ZodString;
|
|
2012
|
-
tenantId: z.ZodString;
|
|
2013
|
-
status: z.ZodEnum<{
|
|
2014
|
-
active: "active";
|
|
2015
|
-
cancelled: "cancelled";
|
|
2016
|
-
expired: "expired";
|
|
2017
|
-
trialing: "trialing";
|
|
2018
|
-
"past-due": "past-due";
|
|
2019
|
-
}>;
|
|
2020
|
-
licenseKey: z.ZodOptional<z.ZodString>;
|
|
2021
|
-
plan: z.ZodOptional<z.ZodString>;
|
|
2022
|
-
billingCycle: z.ZodOptional<z.ZodEnum<{
|
|
2023
|
-
monthly: "monthly";
|
|
2024
|
-
annual: "annual";
|
|
2025
|
-
}>>;
|
|
2026
|
-
priceInCents: z.ZodOptional<z.ZodNumber>;
|
|
2027
|
-
currentPeriodStart: z.ZodOptional<z.ZodString>;
|
|
2028
|
-
currentPeriodEnd: z.ZodOptional<z.ZodString>;
|
|
2029
|
-
trialEndDate: z.ZodOptional<z.ZodString>;
|
|
2030
|
-
autoRenew: z.ZodDefault<z.ZodBoolean>;
|
|
2031
|
-
createdAt: z.ZodString;
|
|
2032
|
-
}, z.core.$strip>;
|
|
2033
|
-
/**
|
|
2034
|
-
* Installed App Summary — what the customer sees in their "My Apps" dashboard
|
|
2035
|
-
*/
|
|
2036
|
-
declare const InstalledAppSummarySchema: z.ZodObject<{
|
|
2037
|
-
listingId: z.ZodString;
|
|
2038
|
-
packageId: z.ZodString;
|
|
2039
|
-
name: z.ZodString;
|
|
2040
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2041
|
-
installedVersion: z.ZodString;
|
|
2042
|
-
latestVersion: z.ZodOptional<z.ZodString>;
|
|
2043
|
-
updateAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
2044
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2045
|
-
subscriptionStatus: z.ZodOptional<z.ZodEnum<{
|
|
2046
|
-
active: "active";
|
|
2047
|
-
cancelled: "cancelled";
|
|
2048
|
-
expired: "expired";
|
|
2049
|
-
trialing: "trialing";
|
|
2050
|
-
"past-due": "past-due";
|
|
2051
|
-
}>>;
|
|
2052
|
-
installedAt: z.ZodString;
|
|
2053
|
-
}, z.core.$strip>;
|
|
2054
|
-
/**
|
|
2055
|
-
* List Installed Apps Request
|
|
2056
|
-
*/
|
|
2057
|
-
declare const ListInstalledAppsRequestSchema: z.ZodObject<{
|
|
2058
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2059
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2060
|
-
updateAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
2061
|
-
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
2062
|
-
name: "name";
|
|
2063
|
-
"installed-date": "installed-date";
|
|
2064
|
-
"updated-date": "updated-date";
|
|
2065
|
-
}>>;
|
|
2066
|
-
page: z.ZodDefault<z.ZodNumber>;
|
|
2067
|
-
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
2068
|
-
}, z.core.$strip>;
|
|
2069
|
-
/**
|
|
2070
|
-
* List Installed Apps Response
|
|
2071
|
-
*/
|
|
2072
|
-
declare const ListInstalledAppsResponseSchema: z.ZodObject<{
|
|
2073
|
-
items: z.ZodArray<z.ZodObject<{
|
|
2074
|
-
listingId: z.ZodString;
|
|
2075
|
-
packageId: z.ZodString;
|
|
2076
|
-
name: z.ZodString;
|
|
2077
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2078
|
-
installedVersion: z.ZodString;
|
|
2079
|
-
latestVersion: z.ZodOptional<z.ZodString>;
|
|
2080
|
-
updateAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
2081
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2082
|
-
subscriptionStatus: z.ZodOptional<z.ZodEnum<{
|
|
2083
|
-
active: "active";
|
|
2084
|
-
cancelled: "cancelled";
|
|
2085
|
-
expired: "expired";
|
|
2086
|
-
trialing: "trialing";
|
|
2087
|
-
"past-due": "past-due";
|
|
2088
|
-
}>>;
|
|
2089
|
-
installedAt: z.ZodString;
|
|
2090
|
-
}, z.core.$strip>>;
|
|
2091
|
-
total: z.ZodNumber;
|
|
2092
|
-
page: z.ZodNumber;
|
|
2093
|
-
pageSize: z.ZodNumber;
|
|
2094
|
-
}, z.core.$strip>;
|
|
2095
|
-
type ReviewModerationStatus = z.infer<typeof ReviewModerationStatusSchema>;
|
|
2096
|
-
type UserReview = z.infer<typeof UserReviewSchema>;
|
|
2097
|
-
type SubmitReviewRequest = z.infer<typeof SubmitReviewRequestSchema>;
|
|
2098
|
-
type ListReviewsRequest = z.infer<typeof ListReviewsRequestSchema>;
|
|
2099
|
-
type ListReviewsResponse = z.infer<typeof ListReviewsResponseSchema>;
|
|
2100
|
-
type RecommendationReason = z.infer<typeof RecommendationReasonSchema>;
|
|
2101
|
-
type RecommendedApp = z.infer<typeof RecommendedAppSchema>;
|
|
2102
|
-
type AppDiscoveryRequest = z.infer<typeof AppDiscoveryRequestSchema>;
|
|
2103
|
-
type AppDiscoveryResponse = z.infer<typeof AppDiscoveryResponseSchema>;
|
|
2104
|
-
type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>;
|
|
2105
|
-
type AppSubscription = z.infer<typeof AppSubscriptionSchema>;
|
|
2106
|
-
type InstalledAppSummary = z.infer<typeof InstalledAppSummarySchema>;
|
|
2107
|
-
type ListInstalledAppsRequest = z.infer<typeof ListInstalledAppsRequestSchema>;
|
|
2108
|
-
type ListInstalledAppsResponse = z.infer<typeof ListInstalledAppsResponseSchema>;
|
|
2109
|
-
|
|
2110
|
-
/**
|
|
2111
|
-
* Cloud Protocol
|
|
2112
|
-
*
|
|
2113
|
-
* Cloud-specific protocols for the ObjectStack SaaS platform.
|
|
2114
|
-
* These schemas define the contract for cloud services like:
|
|
2115
|
-
* - Marketplace (listing, publishing, review, search, install)
|
|
2116
|
-
* - Developer Portal (developer registration, API keys, publishing analytics)
|
|
2117
|
-
* - Marketplace Administration (review workflow, curation, governance)
|
|
2118
|
-
* - App Store (customer experience: reviews, recommendations, subscriptions)
|
|
2119
|
-
* - Future: Composer, Space, Hub Federation
|
|
2120
|
-
*/
|
|
2121
|
-
|
|
2122
|
-
type index$2_AnalyticsTimeRange = AnalyticsTimeRange;
|
|
2123
|
-
declare const index$2_AnalyticsTimeRangeSchema: typeof AnalyticsTimeRangeSchema;
|
|
2124
|
-
type index$2_AppDiscoveryRequest = AppDiscoveryRequest;
|
|
2125
|
-
declare const index$2_AppDiscoveryRequestSchema: typeof AppDiscoveryRequestSchema;
|
|
2126
|
-
type index$2_AppDiscoveryResponse = AppDiscoveryResponse;
|
|
2127
|
-
declare const index$2_AppDiscoveryResponseSchema: typeof AppDiscoveryResponseSchema;
|
|
2128
|
-
type index$2_AppSubscription = AppSubscription;
|
|
2129
|
-
declare const index$2_AppSubscriptionSchema: typeof AppSubscriptionSchema;
|
|
2130
|
-
type index$2_CreateListingRequest = CreateListingRequest;
|
|
2131
|
-
declare const index$2_CreateListingRequestSchema: typeof CreateListingRequestSchema;
|
|
2132
|
-
type index$2_CuratedCollection = CuratedCollection;
|
|
2133
|
-
declare const index$2_CuratedCollectionSchema: typeof CuratedCollectionSchema;
|
|
2134
|
-
type index$2_FeaturedListing = FeaturedListing;
|
|
2135
|
-
declare const index$2_FeaturedListingSchema: typeof FeaturedListingSchema;
|
|
2136
|
-
type index$2_InstalledAppSummary = InstalledAppSummary;
|
|
2137
|
-
declare const index$2_InstalledAppSummarySchema: typeof InstalledAppSummarySchema;
|
|
2138
|
-
type index$2_ListInstalledAppsRequest = ListInstalledAppsRequest;
|
|
2139
|
-
declare const index$2_ListInstalledAppsRequestSchema: typeof ListInstalledAppsRequestSchema;
|
|
2140
|
-
type index$2_ListInstalledAppsResponse = ListInstalledAppsResponse;
|
|
2141
|
-
declare const index$2_ListInstalledAppsResponseSchema: typeof ListInstalledAppsResponseSchema;
|
|
2142
|
-
type index$2_ListReviewsRequest = ListReviewsRequest;
|
|
2143
|
-
declare const index$2_ListReviewsRequestSchema: typeof ListReviewsRequestSchema;
|
|
2144
|
-
type index$2_ListReviewsResponse = ListReviewsResponse;
|
|
2145
|
-
declare const index$2_ListReviewsResponseSchema: typeof ListReviewsResponseSchema;
|
|
2146
|
-
type index$2_ListingActionRequest = ListingActionRequest;
|
|
2147
|
-
declare const index$2_ListingActionRequestSchema: typeof ListingActionRequestSchema;
|
|
2148
|
-
type index$2_ListingStatus = ListingStatus;
|
|
2149
|
-
declare const index$2_ListingStatusSchema: typeof ListingStatusSchema;
|
|
2150
|
-
type index$2_MarketplaceCategory = MarketplaceCategory;
|
|
2151
|
-
declare const index$2_MarketplaceCategorySchema: typeof MarketplaceCategorySchema;
|
|
2152
|
-
type index$2_MarketplaceHealthMetrics = MarketplaceHealthMetrics;
|
|
2153
|
-
declare const index$2_MarketplaceHealthMetricsSchema: typeof MarketplaceHealthMetricsSchema;
|
|
2154
|
-
type index$2_MarketplaceInstallRequest = MarketplaceInstallRequest;
|
|
2155
|
-
declare const index$2_MarketplaceInstallRequestSchema: typeof MarketplaceInstallRequestSchema;
|
|
2156
|
-
type index$2_MarketplaceInstallResponse = MarketplaceInstallResponse;
|
|
2157
|
-
declare const index$2_MarketplaceInstallResponseSchema: typeof MarketplaceInstallResponseSchema;
|
|
2158
|
-
type index$2_MarketplaceListing = MarketplaceListing;
|
|
2159
|
-
declare const index$2_MarketplaceListingSchema: typeof MarketplaceListingSchema;
|
|
2160
|
-
type index$2_MarketplaceSearchRequest = MarketplaceSearchRequest;
|
|
2161
|
-
declare const index$2_MarketplaceSearchRequestSchema: typeof MarketplaceSearchRequestSchema;
|
|
2162
|
-
type index$2_MarketplaceSearchResponse = MarketplaceSearchResponse;
|
|
2163
|
-
declare const index$2_MarketplaceSearchResponseSchema: typeof MarketplaceSearchResponseSchema;
|
|
2164
|
-
type index$2_PackageSubmission = PackageSubmission;
|
|
2165
|
-
declare const index$2_PackageSubmissionSchema: typeof PackageSubmissionSchema;
|
|
2166
|
-
type index$2_PolicyAction = PolicyAction;
|
|
2167
|
-
declare const index$2_PolicyActionSchema: typeof PolicyActionSchema;
|
|
2168
|
-
type index$2_PolicyViolationType = PolicyViolationType;
|
|
2169
|
-
declare const index$2_PolicyViolationTypeSchema: typeof PolicyViolationTypeSchema;
|
|
2170
|
-
type index$2_PricingModel = PricingModel;
|
|
2171
|
-
declare const index$2_PricingModelSchema: typeof PricingModelSchema;
|
|
2172
|
-
type index$2_Publisher = Publisher;
|
|
2173
|
-
type index$2_PublisherProfile = PublisherProfile;
|
|
2174
|
-
declare const index$2_PublisherProfileSchema: typeof PublisherProfileSchema;
|
|
2175
|
-
declare const index$2_PublisherSchema: typeof PublisherSchema;
|
|
2176
|
-
type index$2_PublisherVerification = PublisherVerification;
|
|
2177
|
-
declare const index$2_PublisherVerificationSchema: typeof PublisherVerificationSchema;
|
|
2178
|
-
type index$2_PublishingAnalyticsRequest = PublishingAnalyticsRequest;
|
|
2179
|
-
declare const index$2_PublishingAnalyticsRequestSchema: typeof PublishingAnalyticsRequestSchema;
|
|
2180
|
-
type index$2_PublishingAnalyticsResponse = PublishingAnalyticsResponse;
|
|
2181
|
-
declare const index$2_PublishingAnalyticsResponseSchema: typeof PublishingAnalyticsResponseSchema;
|
|
2182
|
-
type index$2_RecommendationReason = RecommendationReason;
|
|
2183
|
-
declare const index$2_RecommendationReasonSchema: typeof RecommendationReasonSchema;
|
|
2184
|
-
type index$2_RecommendedApp = RecommendedApp;
|
|
2185
|
-
declare const index$2_RecommendedAppSchema: typeof RecommendedAppSchema;
|
|
2186
|
-
type index$2_RejectionReason = RejectionReason;
|
|
2187
|
-
declare const index$2_RejectionReasonSchema: typeof RejectionReasonSchema;
|
|
2188
|
-
type index$2_ReleaseChannel = ReleaseChannel;
|
|
2189
|
-
declare const index$2_ReleaseChannelSchema: typeof ReleaseChannelSchema;
|
|
2190
|
-
type index$2_ReviewCriterion = ReviewCriterion;
|
|
2191
|
-
declare const index$2_ReviewCriterionSchema: typeof ReviewCriterionSchema;
|
|
2192
|
-
type index$2_ReviewDecision = ReviewDecision;
|
|
2193
|
-
declare const index$2_ReviewDecisionSchema: typeof ReviewDecisionSchema;
|
|
2194
|
-
type index$2_ReviewModerationStatus = ReviewModerationStatus;
|
|
2195
|
-
declare const index$2_ReviewModerationStatusSchema: typeof ReviewModerationStatusSchema;
|
|
2196
|
-
type index$2_SubmissionReview = SubmissionReview;
|
|
2197
|
-
declare const index$2_SubmissionReviewSchema: typeof SubmissionReviewSchema;
|
|
2198
|
-
type index$2_SubmitReviewRequest = SubmitReviewRequest;
|
|
2199
|
-
declare const index$2_SubmitReviewRequestSchema: typeof SubmitReviewRequestSchema;
|
|
2200
|
-
type index$2_SubscriptionStatus = SubscriptionStatus;
|
|
2201
|
-
declare const index$2_SubscriptionStatusSchema: typeof SubscriptionStatusSchema;
|
|
2202
|
-
type index$2_TimeSeriesPoint = TimeSeriesPoint;
|
|
2203
|
-
declare const index$2_TimeSeriesPointSchema: typeof TimeSeriesPointSchema;
|
|
2204
|
-
type index$2_TrendingListing = TrendingListing;
|
|
2205
|
-
declare const index$2_TrendingListingSchema: typeof TrendingListingSchema;
|
|
2206
|
-
type index$2_UpdateListingRequest = UpdateListingRequest;
|
|
2207
|
-
declare const index$2_UpdateListingRequestSchema: typeof UpdateListingRequestSchema;
|
|
2208
|
-
type index$2_UserReview = UserReview;
|
|
2209
|
-
declare const index$2_UserReviewSchema: typeof UserReviewSchema;
|
|
2210
|
-
type index$2_VersionRelease = VersionRelease;
|
|
2211
|
-
declare const index$2_VersionReleaseSchema: typeof VersionReleaseSchema;
|
|
2212
|
-
declare namespace index$2 {
|
|
2213
|
-
export { type index$2_AnalyticsTimeRange as AnalyticsTimeRange, index$2_AnalyticsTimeRangeSchema as AnalyticsTimeRangeSchema, type index$2_AppDiscoveryRequest as AppDiscoveryRequest, index$2_AppDiscoveryRequestSchema as AppDiscoveryRequestSchema, type index$2_AppDiscoveryResponse as AppDiscoveryResponse, index$2_AppDiscoveryResponseSchema as AppDiscoveryResponseSchema, type index$2_AppSubscription as AppSubscription, index$2_AppSubscriptionSchema as AppSubscriptionSchema, type index$2_CreateListingRequest as CreateListingRequest, index$2_CreateListingRequestSchema as CreateListingRequestSchema, type index$2_CuratedCollection as CuratedCollection, index$2_CuratedCollectionSchema as CuratedCollectionSchema, type index$2_FeaturedListing as FeaturedListing, index$2_FeaturedListingSchema as FeaturedListingSchema, type index$2_InstalledAppSummary as InstalledAppSummary, index$2_InstalledAppSummarySchema as InstalledAppSummarySchema, type index$2_ListInstalledAppsRequest as ListInstalledAppsRequest, index$2_ListInstalledAppsRequestSchema as ListInstalledAppsRequestSchema, type index$2_ListInstalledAppsResponse as ListInstalledAppsResponse, index$2_ListInstalledAppsResponseSchema as ListInstalledAppsResponseSchema, type index$2_ListReviewsRequest as ListReviewsRequest, index$2_ListReviewsRequestSchema as ListReviewsRequestSchema, type index$2_ListReviewsResponse as ListReviewsResponse, index$2_ListReviewsResponseSchema as ListReviewsResponseSchema, type index$2_ListingActionRequest as ListingActionRequest, index$2_ListingActionRequestSchema as ListingActionRequestSchema, type index$2_ListingStatus as ListingStatus, index$2_ListingStatusSchema as ListingStatusSchema, type index$2_MarketplaceCategory as MarketplaceCategory, index$2_MarketplaceCategorySchema as MarketplaceCategorySchema, type index$2_MarketplaceHealthMetrics as MarketplaceHealthMetrics, index$2_MarketplaceHealthMetricsSchema as MarketplaceHealthMetricsSchema, type index$2_MarketplaceInstallRequest as MarketplaceInstallRequest, index$2_MarketplaceInstallRequestSchema as MarketplaceInstallRequestSchema, type index$2_MarketplaceInstallResponse as MarketplaceInstallResponse, index$2_MarketplaceInstallResponseSchema as MarketplaceInstallResponseSchema, type index$2_MarketplaceListing as MarketplaceListing, index$2_MarketplaceListingSchema as MarketplaceListingSchema, type index$2_MarketplaceSearchRequest as MarketplaceSearchRequest, index$2_MarketplaceSearchRequestSchema as MarketplaceSearchRequestSchema, type index$2_MarketplaceSearchResponse as MarketplaceSearchResponse, index$2_MarketplaceSearchResponseSchema as MarketplaceSearchResponseSchema, type index$2_PackageSubmission as PackageSubmission, index$2_PackageSubmissionSchema as PackageSubmissionSchema, type index$2_PolicyAction as PolicyAction, index$2_PolicyActionSchema as PolicyActionSchema, type index$2_PolicyViolationType as PolicyViolationType, index$2_PolicyViolationTypeSchema as PolicyViolationTypeSchema, type index$2_PricingModel as PricingModel, index$2_PricingModelSchema as PricingModelSchema, type index$2_Publisher as Publisher, type index$2_PublisherProfile as PublisherProfile, index$2_PublisherProfileSchema as PublisherProfileSchema, index$2_PublisherSchema as PublisherSchema, type index$2_PublisherVerification as PublisherVerification, index$2_PublisherVerificationSchema as PublisherVerificationSchema, type index$2_PublishingAnalyticsRequest as PublishingAnalyticsRequest, index$2_PublishingAnalyticsRequestSchema as PublishingAnalyticsRequestSchema, type index$2_PublishingAnalyticsResponse as PublishingAnalyticsResponse, index$2_PublishingAnalyticsResponseSchema as PublishingAnalyticsResponseSchema, type index$2_RecommendationReason as RecommendationReason, index$2_RecommendationReasonSchema as RecommendationReasonSchema, type index$2_RecommendedApp as RecommendedApp, index$2_RecommendedAppSchema as RecommendedAppSchema, type index$2_RejectionReason as RejectionReason, index$2_RejectionReasonSchema as RejectionReasonSchema, type index$2_ReleaseChannel as ReleaseChannel, index$2_ReleaseChannelSchema as ReleaseChannelSchema, type index$2_ReviewCriterion as ReviewCriterion, index$2_ReviewCriterionSchema as ReviewCriterionSchema, type index$2_ReviewDecision as ReviewDecision, index$2_ReviewDecisionSchema as ReviewDecisionSchema, type index$2_ReviewModerationStatus as ReviewModerationStatus, index$2_ReviewModerationStatusSchema as ReviewModerationStatusSchema, type index$2_SubmissionReview as SubmissionReview, index$2_SubmissionReviewSchema as SubmissionReviewSchema, type index$2_SubmitReviewRequest as SubmitReviewRequest, index$2_SubmitReviewRequestSchema as SubmitReviewRequestSchema, type index$2_SubscriptionStatus as SubscriptionStatus, index$2_SubscriptionStatusSchema as SubscriptionStatusSchema, type index$2_TimeSeriesPoint as TimeSeriesPoint, index$2_TimeSeriesPointSchema as TimeSeriesPointSchema, type index$2_TrendingListing as TrendingListing, index$2_TrendingListingSchema as TrendingListingSchema, type index$2_UpdateListingRequest as UpdateListingRequest, index$2_UpdateListingRequestSchema as UpdateListingRequestSchema, type index$2_UserReview as UserReview, index$2_UserReviewSchema as UserReviewSchema, type index$2_VersionRelease as VersionRelease, index$2_VersionReleaseSchema as VersionReleaseSchema };
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
|
-
declare const TestContextSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2217
|
-
declare const TestActionTypeSchema: z.ZodEnum<{
|
|
2218
|
-
create_record: "create_record";
|
|
2219
|
-
update_record: "update_record";
|
|
2220
|
-
delete_record: "delete_record";
|
|
2221
|
-
read_record: "read_record";
|
|
2222
|
-
query_records: "query_records";
|
|
2223
|
-
api_call: "api_call";
|
|
2224
|
-
run_script: "run_script";
|
|
2225
|
-
wait: "wait";
|
|
2226
|
-
}>;
|
|
2227
|
-
declare const TestActionSchema: z.ZodObject<{
|
|
2228
|
-
type: z.ZodEnum<{
|
|
2229
|
-
create_record: "create_record";
|
|
2230
|
-
update_record: "update_record";
|
|
2231
|
-
delete_record: "delete_record";
|
|
2232
|
-
read_record: "read_record";
|
|
2233
|
-
query_records: "query_records";
|
|
2234
|
-
api_call: "api_call";
|
|
2235
|
-
run_script: "run_script";
|
|
2236
|
-
wait: "wait";
|
|
2237
|
-
}>;
|
|
2238
|
-
target: z.ZodString;
|
|
2239
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2240
|
-
user: z.ZodOptional<z.ZodString>;
|
|
2241
|
-
}, z.core.$strip>;
|
|
2242
|
-
declare const TestAssertionTypeSchema: z.ZodEnum<{
|
|
2243
|
-
error: "error";
|
|
2244
|
-
equals: "equals";
|
|
2245
|
-
contains: "contains";
|
|
2246
|
-
gt: "gt";
|
|
2247
|
-
gte: "gte";
|
|
2248
|
-
lt: "lt";
|
|
2249
|
-
lte: "lte";
|
|
2250
|
-
not_equals: "not_equals";
|
|
2251
|
-
is_null: "is_null";
|
|
2252
|
-
not_contains: "not_contains";
|
|
2253
|
-
not_null: "not_null";
|
|
2254
|
-
}>;
|
|
2255
|
-
declare const TestAssertionSchema: z.ZodObject<{
|
|
2256
|
-
field: z.ZodString;
|
|
2257
|
-
operator: z.ZodEnum<{
|
|
2258
|
-
error: "error";
|
|
2259
|
-
equals: "equals";
|
|
2260
|
-
contains: "contains";
|
|
2261
|
-
gt: "gt";
|
|
2262
|
-
gte: "gte";
|
|
2263
|
-
lt: "lt";
|
|
2264
|
-
lte: "lte";
|
|
2265
|
-
not_equals: "not_equals";
|
|
2266
|
-
is_null: "is_null";
|
|
2267
|
-
not_contains: "not_contains";
|
|
2268
|
-
not_null: "not_null";
|
|
2269
|
-
}>;
|
|
2270
|
-
expectedValue: z.ZodUnknown;
|
|
2271
|
-
}, z.core.$strip>;
|
|
2272
|
-
declare const TestStepSchema: z.ZodObject<{
|
|
2273
|
-
name: z.ZodString;
|
|
2274
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2275
|
-
action: z.ZodObject<{
|
|
2276
|
-
type: z.ZodEnum<{
|
|
2277
|
-
create_record: "create_record";
|
|
2278
|
-
update_record: "update_record";
|
|
2279
|
-
delete_record: "delete_record";
|
|
2280
|
-
read_record: "read_record";
|
|
2281
|
-
query_records: "query_records";
|
|
2282
|
-
api_call: "api_call";
|
|
2283
|
-
run_script: "run_script";
|
|
2284
|
-
wait: "wait";
|
|
2285
|
-
}>;
|
|
2286
|
-
target: z.ZodString;
|
|
2287
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2288
|
-
user: z.ZodOptional<z.ZodString>;
|
|
2289
|
-
}, z.core.$strip>;
|
|
2290
|
-
assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2291
|
-
field: z.ZodString;
|
|
2292
|
-
operator: z.ZodEnum<{
|
|
2293
|
-
error: "error";
|
|
2294
|
-
equals: "equals";
|
|
2295
|
-
contains: "contains";
|
|
2296
|
-
gt: "gt";
|
|
2297
|
-
gte: "gte";
|
|
2298
|
-
lt: "lt";
|
|
2299
|
-
lte: "lte";
|
|
2300
|
-
not_equals: "not_equals";
|
|
2301
|
-
is_null: "is_null";
|
|
2302
|
-
not_contains: "not_contains";
|
|
2303
|
-
not_null: "not_null";
|
|
2304
|
-
}>;
|
|
2305
|
-
expectedValue: z.ZodUnknown;
|
|
2306
|
-
}, z.core.$strip>>>;
|
|
2307
|
-
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2308
|
-
}, z.core.$strip>;
|
|
2309
|
-
declare const TestScenarioSchema: z.ZodObject<{
|
|
2310
|
-
id: z.ZodString;
|
|
2311
|
-
name: z.ZodString;
|
|
2312
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2313
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2314
|
-
setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2315
|
-
name: z.ZodString;
|
|
2316
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2317
|
-
action: z.ZodObject<{
|
|
2318
|
-
type: z.ZodEnum<{
|
|
2319
|
-
create_record: "create_record";
|
|
2320
|
-
update_record: "update_record";
|
|
2321
|
-
delete_record: "delete_record";
|
|
2322
|
-
read_record: "read_record";
|
|
2323
|
-
query_records: "query_records";
|
|
2324
|
-
api_call: "api_call";
|
|
2325
|
-
run_script: "run_script";
|
|
2326
|
-
wait: "wait";
|
|
2327
|
-
}>;
|
|
2328
|
-
target: z.ZodString;
|
|
2329
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2330
|
-
user: z.ZodOptional<z.ZodString>;
|
|
2331
|
-
}, z.core.$strip>;
|
|
2332
|
-
assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2333
|
-
field: z.ZodString;
|
|
2334
|
-
operator: z.ZodEnum<{
|
|
2335
|
-
error: "error";
|
|
2336
|
-
equals: "equals";
|
|
2337
|
-
contains: "contains";
|
|
2338
|
-
gt: "gt";
|
|
2339
|
-
gte: "gte";
|
|
2340
|
-
lt: "lt";
|
|
2341
|
-
lte: "lte";
|
|
2342
|
-
not_equals: "not_equals";
|
|
2343
|
-
is_null: "is_null";
|
|
2344
|
-
not_contains: "not_contains";
|
|
2345
|
-
not_null: "not_null";
|
|
2346
|
-
}>;
|
|
2347
|
-
expectedValue: z.ZodUnknown;
|
|
2348
|
-
}, z.core.$strip>>>;
|
|
2349
|
-
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2350
|
-
}, z.core.$strip>>>;
|
|
2351
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
2352
|
-
name: z.ZodString;
|
|
2353
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2354
|
-
action: z.ZodObject<{
|
|
2355
|
-
type: z.ZodEnum<{
|
|
2356
|
-
create_record: "create_record";
|
|
2357
|
-
update_record: "update_record";
|
|
2358
|
-
delete_record: "delete_record";
|
|
2359
|
-
read_record: "read_record";
|
|
2360
|
-
query_records: "query_records";
|
|
2361
|
-
api_call: "api_call";
|
|
2362
|
-
run_script: "run_script";
|
|
2363
|
-
wait: "wait";
|
|
2364
|
-
}>;
|
|
2365
|
-
target: z.ZodString;
|
|
2366
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2367
|
-
user: z.ZodOptional<z.ZodString>;
|
|
2368
|
-
}, z.core.$strip>;
|
|
2369
|
-
assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2370
|
-
field: z.ZodString;
|
|
2371
|
-
operator: z.ZodEnum<{
|
|
2372
|
-
error: "error";
|
|
2373
|
-
equals: "equals";
|
|
2374
|
-
contains: "contains";
|
|
2375
|
-
gt: "gt";
|
|
2376
|
-
gte: "gte";
|
|
2377
|
-
lt: "lt";
|
|
2378
|
-
lte: "lte";
|
|
2379
|
-
not_equals: "not_equals";
|
|
2380
|
-
is_null: "is_null";
|
|
2381
|
-
not_contains: "not_contains";
|
|
2382
|
-
not_null: "not_null";
|
|
2383
|
-
}>;
|
|
2384
|
-
expectedValue: z.ZodUnknown;
|
|
2385
|
-
}, z.core.$strip>>>;
|
|
2386
|
-
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2387
|
-
}, z.core.$strip>>;
|
|
2388
|
-
teardown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2389
|
-
name: z.ZodString;
|
|
2390
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2391
|
-
action: z.ZodObject<{
|
|
2392
|
-
type: z.ZodEnum<{
|
|
2393
|
-
create_record: "create_record";
|
|
2394
|
-
update_record: "update_record";
|
|
2395
|
-
delete_record: "delete_record";
|
|
2396
|
-
read_record: "read_record";
|
|
2397
|
-
query_records: "query_records";
|
|
2398
|
-
api_call: "api_call";
|
|
2399
|
-
run_script: "run_script";
|
|
2400
|
-
wait: "wait";
|
|
2401
|
-
}>;
|
|
2402
|
-
target: z.ZodString;
|
|
2403
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2404
|
-
user: z.ZodOptional<z.ZodString>;
|
|
2405
|
-
}, z.core.$strip>;
|
|
2406
|
-
assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2407
|
-
field: z.ZodString;
|
|
2408
|
-
operator: z.ZodEnum<{
|
|
2409
|
-
error: "error";
|
|
2410
|
-
equals: "equals";
|
|
2411
|
-
contains: "contains";
|
|
2412
|
-
gt: "gt";
|
|
2413
|
-
gte: "gte";
|
|
2414
|
-
lt: "lt";
|
|
2415
|
-
lte: "lte";
|
|
2416
|
-
not_equals: "not_equals";
|
|
2417
|
-
is_null: "is_null";
|
|
2418
|
-
not_contains: "not_contains";
|
|
2419
|
-
not_null: "not_null";
|
|
2420
|
-
}>;
|
|
2421
|
-
expectedValue: z.ZodUnknown;
|
|
2422
|
-
}, z.core.$strip>>>;
|
|
2423
|
-
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2424
|
-
}, z.core.$strip>>>;
|
|
2425
|
-
requires: z.ZodOptional<z.ZodObject<{
|
|
2426
|
-
params: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2427
|
-
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2428
|
-
}, z.core.$strip>>;
|
|
2429
|
-
}, z.core.$strip>;
|
|
2430
|
-
declare const TestSuiteSchema: z.ZodObject<{
|
|
2431
|
-
name: z.ZodString;
|
|
2432
|
-
scenarios: z.ZodArray<z.ZodObject<{
|
|
2433
|
-
id: z.ZodString;
|
|
2434
|
-
name: z.ZodString;
|
|
2435
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2436
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2437
|
-
setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2438
|
-
name: z.ZodString;
|
|
2439
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2440
|
-
action: z.ZodObject<{
|
|
2441
|
-
type: z.ZodEnum<{
|
|
2442
|
-
create_record: "create_record";
|
|
2443
|
-
update_record: "update_record";
|
|
2444
|
-
delete_record: "delete_record";
|
|
2445
|
-
read_record: "read_record";
|
|
2446
|
-
query_records: "query_records";
|
|
2447
|
-
api_call: "api_call";
|
|
2448
|
-
run_script: "run_script";
|
|
2449
|
-
wait: "wait";
|
|
2450
|
-
}>;
|
|
2451
|
-
target: z.ZodString;
|
|
2452
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2453
|
-
user: z.ZodOptional<z.ZodString>;
|
|
2454
|
-
}, z.core.$strip>;
|
|
2455
|
-
assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2456
|
-
field: z.ZodString;
|
|
2457
|
-
operator: z.ZodEnum<{
|
|
2458
|
-
error: "error";
|
|
2459
|
-
equals: "equals";
|
|
2460
|
-
contains: "contains";
|
|
2461
|
-
gt: "gt";
|
|
2462
|
-
gte: "gte";
|
|
2463
|
-
lt: "lt";
|
|
2464
|
-
lte: "lte";
|
|
2465
|
-
not_equals: "not_equals";
|
|
2466
|
-
is_null: "is_null";
|
|
2467
|
-
not_contains: "not_contains";
|
|
2468
|
-
not_null: "not_null";
|
|
2469
|
-
}>;
|
|
2470
|
-
expectedValue: z.ZodUnknown;
|
|
2471
|
-
}, z.core.$strip>>>;
|
|
2472
|
-
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2473
|
-
}, z.core.$strip>>>;
|
|
2474
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
2475
|
-
name: z.ZodString;
|
|
2476
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2477
|
-
action: z.ZodObject<{
|
|
2478
|
-
type: z.ZodEnum<{
|
|
2479
|
-
create_record: "create_record";
|
|
2480
|
-
update_record: "update_record";
|
|
2481
|
-
delete_record: "delete_record";
|
|
2482
|
-
read_record: "read_record";
|
|
2483
|
-
query_records: "query_records";
|
|
2484
|
-
api_call: "api_call";
|
|
2485
|
-
run_script: "run_script";
|
|
2486
|
-
wait: "wait";
|
|
2487
|
-
}>;
|
|
2488
|
-
target: z.ZodString;
|
|
2489
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2490
|
-
user: z.ZodOptional<z.ZodString>;
|
|
2491
|
-
}, z.core.$strip>;
|
|
2492
|
-
assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2493
|
-
field: z.ZodString;
|
|
2494
|
-
operator: z.ZodEnum<{
|
|
2495
|
-
error: "error";
|
|
2496
|
-
equals: "equals";
|
|
2497
|
-
contains: "contains";
|
|
2498
|
-
gt: "gt";
|
|
2499
|
-
gte: "gte";
|
|
2500
|
-
lt: "lt";
|
|
2501
|
-
lte: "lte";
|
|
2502
|
-
not_equals: "not_equals";
|
|
2503
|
-
is_null: "is_null";
|
|
2504
|
-
not_contains: "not_contains";
|
|
2505
|
-
not_null: "not_null";
|
|
2506
|
-
}>;
|
|
2507
|
-
expectedValue: z.ZodUnknown;
|
|
2508
|
-
}, z.core.$strip>>>;
|
|
2509
|
-
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2510
|
-
}, z.core.$strip>>;
|
|
2511
|
-
teardown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2512
|
-
name: z.ZodString;
|
|
2513
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2514
|
-
action: z.ZodObject<{
|
|
2515
|
-
type: z.ZodEnum<{
|
|
2516
|
-
create_record: "create_record";
|
|
2517
|
-
update_record: "update_record";
|
|
2518
|
-
delete_record: "delete_record";
|
|
2519
|
-
read_record: "read_record";
|
|
2520
|
-
query_records: "query_records";
|
|
2521
|
-
api_call: "api_call";
|
|
2522
|
-
run_script: "run_script";
|
|
2523
|
-
wait: "wait";
|
|
2524
|
-
}>;
|
|
2525
|
-
target: z.ZodString;
|
|
2526
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2527
|
-
user: z.ZodOptional<z.ZodString>;
|
|
2528
|
-
}, z.core.$strip>;
|
|
2529
|
-
assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2530
|
-
field: z.ZodString;
|
|
2531
|
-
operator: z.ZodEnum<{
|
|
2532
|
-
error: "error";
|
|
2533
|
-
equals: "equals";
|
|
2534
|
-
contains: "contains";
|
|
2535
|
-
gt: "gt";
|
|
2536
|
-
gte: "gte";
|
|
2537
|
-
lt: "lt";
|
|
2538
|
-
lte: "lte";
|
|
2539
|
-
not_equals: "not_equals";
|
|
2540
|
-
is_null: "is_null";
|
|
2541
|
-
not_contains: "not_contains";
|
|
2542
|
-
not_null: "not_null";
|
|
2543
|
-
}>;
|
|
2544
|
-
expectedValue: z.ZodUnknown;
|
|
2545
|
-
}, z.core.$strip>>>;
|
|
2546
|
-
capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2547
|
-
}, z.core.$strip>>>;
|
|
2548
|
-
requires: z.ZodOptional<z.ZodObject<{
|
|
2549
|
-
params: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2550
|
-
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2551
|
-
}, z.core.$strip>>;
|
|
2552
|
-
}, z.core.$strip>>;
|
|
2553
|
-
}, z.core.$strip>;
|
|
2554
|
-
type TestSuite = z.infer<typeof TestSuiteSchema>;
|
|
2555
|
-
type TestScenario = z.infer<typeof TestScenarioSchema>;
|
|
2556
|
-
type TestStep = z.infer<typeof TestStepSchema>;
|
|
2557
|
-
type TestAction = z.infer<typeof TestActionSchema>;
|
|
2558
|
-
type TestAssertion = z.infer<typeof TestAssertionSchema>;
|
|
2559
|
-
|
|
2560
|
-
/**
|
|
2561
|
-
* Quality Assurance (QA) Protocol
|
|
2562
|
-
*
|
|
2563
|
-
* Defines how business logic and metadata are tested.
|
|
2564
|
-
* Includes:
|
|
2565
|
-
* - Test Scenarios
|
|
2566
|
-
* - Test Cases
|
|
2567
|
-
* - Expected Outcomes
|
|
2568
|
-
*/
|
|
2569
|
-
|
|
2570
|
-
type index$1_TestAction = TestAction;
|
|
2571
|
-
declare const index$1_TestActionSchema: typeof TestActionSchema;
|
|
2572
|
-
declare const index$1_TestActionTypeSchema: typeof TestActionTypeSchema;
|
|
2573
|
-
type index$1_TestAssertion = TestAssertion;
|
|
2574
|
-
declare const index$1_TestAssertionSchema: typeof TestAssertionSchema;
|
|
2575
|
-
declare const index$1_TestAssertionTypeSchema: typeof TestAssertionTypeSchema;
|
|
2576
|
-
declare const index$1_TestContextSchema: typeof TestContextSchema;
|
|
2577
|
-
type index$1_TestScenario = TestScenario;
|
|
2578
|
-
declare const index$1_TestScenarioSchema: typeof TestScenarioSchema;
|
|
2579
|
-
type index$1_TestStep = TestStep;
|
|
2580
|
-
declare const index$1_TestStepSchema: typeof TestStepSchema;
|
|
2581
|
-
type index$1_TestSuite = TestSuite;
|
|
2582
|
-
declare const index$1_TestSuiteSchema: typeof TestSuiteSchema;
|
|
2583
|
-
declare namespace index$1 {
|
|
2584
|
-
export { type index$1_TestAction as TestAction, index$1_TestActionSchema as TestActionSchema, index$1_TestActionTypeSchema as TestActionTypeSchema, type index$1_TestAssertion as TestAssertion, index$1_TestAssertionSchema as TestAssertionSchema, index$1_TestAssertionTypeSchema as TestAssertionTypeSchema, index$1_TestContextSchema as TestContextSchema, type index$1_TestScenario as TestScenario, index$1_TestScenarioSchema as TestScenarioSchema, type index$1_TestStep as TestStep, index$1_TestStepSchema as TestStepSchema, type index$1_TestSuite as TestSuite, index$1_TestSuiteSchema as TestSuiteSchema };
|
|
2585
|
-
}
|
|
2586
|
-
|
|
2587
|
-
/**
|
|
2588
|
-
* Identity & User Model Specification
|
|
2589
|
-
*
|
|
2590
|
-
* Defines the standard user, account, and session data models for ObjectStack.
|
|
2591
|
-
* These schemas represent "who is logged in" and their associated data.
|
|
2592
|
-
*
|
|
2593
|
-
* This is separate from authentication configuration (auth.zod.ts) which
|
|
2594
|
-
* defines "how to login".
|
|
2595
|
-
*/
|
|
2596
|
-
/**
|
|
2597
|
-
* User Schema
|
|
2598
|
-
* Core user identity data model
|
|
2599
|
-
*/
|
|
2600
|
-
declare const UserSchema: z.ZodObject<{
|
|
2601
|
-
id: z.ZodString;
|
|
2602
|
-
email: z.ZodString;
|
|
2603
|
-
emailVerified: z.ZodDefault<z.ZodBoolean>;
|
|
2604
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2605
|
-
image: z.ZodOptional<z.ZodString>;
|
|
2606
|
-
createdAt: z.ZodString;
|
|
2607
|
-
updatedAt: z.ZodString;
|
|
2608
|
-
}, z.core.$strip>;
|
|
2609
|
-
type User = z.infer<typeof UserSchema>;
|
|
2610
|
-
/**
|
|
2611
|
-
* Account Schema
|
|
2612
|
-
* Links external OAuth/OIDC/SAML accounts to a user
|
|
2613
|
-
*/
|
|
2614
|
-
declare const AccountSchema: z.ZodObject<{
|
|
2615
|
-
id: z.ZodString;
|
|
2616
|
-
userId: z.ZodString;
|
|
2617
|
-
type: z.ZodEnum<{
|
|
2618
|
-
credentials: "credentials";
|
|
2619
|
-
email: "email";
|
|
2620
|
-
oauth: "oauth";
|
|
2621
|
-
oidc: "oidc";
|
|
2622
|
-
saml: "saml";
|
|
2623
|
-
ldap: "ldap";
|
|
2624
|
-
}>;
|
|
2625
|
-
provider: z.ZodString;
|
|
2626
|
-
providerAccountId: z.ZodString;
|
|
2627
|
-
refreshToken: z.ZodOptional<z.ZodString>;
|
|
2628
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
|
2629
|
-
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
2630
|
-
tokenType: z.ZodOptional<z.ZodString>;
|
|
2631
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
2632
|
-
idToken: z.ZodOptional<z.ZodString>;
|
|
2633
|
-
sessionState: z.ZodOptional<z.ZodString>;
|
|
2634
|
-
createdAt: z.ZodString;
|
|
2635
|
-
updatedAt: z.ZodString;
|
|
2636
|
-
}, z.core.$strip>;
|
|
2637
|
-
type Account = z.infer<typeof AccountSchema>;
|
|
2638
|
-
/**
|
|
2639
|
-
* Session Schema
|
|
2640
|
-
* User session data model
|
|
2641
|
-
*/
|
|
2642
|
-
declare const SessionSchema: z.ZodObject<{
|
|
2643
|
-
id: z.ZodString;
|
|
2644
|
-
sessionToken: z.ZodString;
|
|
2645
|
-
userId: z.ZodString;
|
|
2646
|
-
activeOrganizationId: z.ZodOptional<z.ZodString>;
|
|
2647
|
-
expires: z.ZodString;
|
|
2648
|
-
createdAt: z.ZodString;
|
|
2649
|
-
updatedAt: z.ZodString;
|
|
2650
|
-
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2651
|
-
userAgent: z.ZodOptional<z.ZodString>;
|
|
2652
|
-
fingerprint: z.ZodOptional<z.ZodString>;
|
|
2653
|
-
}, z.core.$strip>;
|
|
2654
|
-
type Session = z.infer<typeof SessionSchema>;
|
|
2655
|
-
/**
|
|
2656
|
-
* Verification Token Schema
|
|
2657
|
-
* Email verification and password reset tokens
|
|
2658
|
-
*/
|
|
2659
|
-
declare const VerificationTokenSchema: z.ZodObject<{
|
|
2660
|
-
identifier: z.ZodString;
|
|
2661
|
-
token: z.ZodString;
|
|
2662
|
-
expires: z.ZodString;
|
|
2663
|
-
createdAt: z.ZodString;
|
|
2664
|
-
}, z.core.$strip>;
|
|
2665
|
-
type VerificationToken = z.infer<typeof VerificationTokenSchema>;
|
|
2666
|
-
/**
|
|
2667
|
-
* API Key Schema
|
|
2668
|
-
*
|
|
2669
|
-
* Aligns with better-auth's API key plugin capabilities.
|
|
2670
|
-
* Provides programmatic access to ObjectStack APIs (CI/CD, service-to-service, CLI).
|
|
2671
|
-
*
|
|
2672
|
-
* @see https://www.better-auth.com/docs/plugins/api-key
|
|
2673
|
-
*/
|
|
2674
|
-
declare const ApiKeySchema: z.ZodObject<{
|
|
2675
|
-
id: z.ZodString;
|
|
2676
|
-
name: z.ZodString;
|
|
2677
|
-
start: z.ZodOptional<z.ZodString>;
|
|
2678
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
2679
|
-
userId: z.ZodString;
|
|
2680
|
-
organizationId: z.ZodOptional<z.ZodString>;
|
|
2681
|
-
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2682
|
-
createdAt: z.ZodString;
|
|
2683
|
-
updatedAt: z.ZodString;
|
|
2684
|
-
lastUsedAt: z.ZodOptional<z.ZodString>;
|
|
2685
|
-
lastRefetchAt: z.ZodOptional<z.ZodString>;
|
|
2686
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2687
|
-
rateLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2688
|
-
rateLimitTimeWindow: z.ZodOptional<z.ZodNumber>;
|
|
2689
|
-
rateLimitMax: z.ZodOptional<z.ZodNumber>;
|
|
2690
|
-
remaining: z.ZodOptional<z.ZodNumber>;
|
|
2691
|
-
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
2692
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2693
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2694
|
-
}, z.core.$strip>;
|
|
2695
|
-
type ApiKey = z.infer<typeof ApiKeySchema>;
|
|
2696
|
-
|
|
2697
|
-
/**
|
|
2698
|
-
* Authentication Wire Protocol & Constants
|
|
2699
|
-
*
|
|
2700
|
-
* Defines the API contract and constants for authentication communication.
|
|
2701
|
-
* These constants ensure consistent behavior across all ObjectStack implementations.
|
|
2702
|
-
*/
|
|
2703
|
-
/**
|
|
2704
|
-
* Authentication Constants
|
|
2705
|
-
* Standard headers, prefixes, and identifiers for auth communication
|
|
2706
|
-
*/
|
|
2707
|
-
declare const AUTH_CONSTANTS: {
|
|
2708
|
-
/**
|
|
2709
|
-
* HTTP header key for authentication tokens
|
|
2710
|
-
*/
|
|
2711
|
-
readonly HEADER_KEY: "Authorization";
|
|
2712
|
-
/**
|
|
2713
|
-
* Token prefix for Bearer authentication
|
|
2714
|
-
*/
|
|
2715
|
-
readonly TOKEN_PREFIX: "Bearer ";
|
|
2716
|
-
/**
|
|
2717
|
-
* Cookie prefix for ObjectStack auth cookies
|
|
2718
|
-
*/
|
|
2719
|
-
readonly COOKIE_PREFIX: "os_";
|
|
2720
|
-
/**
|
|
2721
|
-
* CSRF token header name
|
|
2722
|
-
*/
|
|
2723
|
-
readonly CSRF_HEADER: "x-os-csrf-token";
|
|
2724
|
-
/**
|
|
2725
|
-
* Default session cookie name
|
|
2726
|
-
*/
|
|
2727
|
-
readonly SESSION_COOKIE: "os_session_token";
|
|
2728
|
-
/**
|
|
2729
|
-
* Default CSRF cookie name
|
|
2730
|
-
*/
|
|
2731
|
-
readonly CSRF_COOKIE: "os_csrf_token";
|
|
2732
|
-
/**
|
|
2733
|
-
* Refresh token cookie name
|
|
2734
|
-
*/
|
|
2735
|
-
readonly REFRESH_TOKEN_COOKIE: "os_refresh_token";
|
|
2736
|
-
};
|
|
2737
|
-
/**
|
|
2738
|
-
* Authentication Headers Interface
|
|
2739
|
-
* Standard headers used in authenticated requests
|
|
2740
|
-
*/
|
|
2741
|
-
interface AuthHeaders {
|
|
2742
|
-
/**
|
|
2743
|
-
* Authorization header with Bearer token
|
|
2744
|
-
* @example "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
|
|
2745
|
-
*/
|
|
2746
|
-
Authorization?: string;
|
|
2747
|
-
/**
|
|
2748
|
-
* CSRF token header
|
|
2749
|
-
* @example "x-os-csrf-token: abc123def456..."
|
|
2750
|
-
*/
|
|
2751
|
-
'x-os-csrf-token'?: string;
|
|
2752
|
-
/**
|
|
2753
|
-
* Session ID header (alternative to cookie)
|
|
2754
|
-
* @example "x-os-session-id: session_abc123..."
|
|
2755
|
-
*/
|
|
2756
|
-
'x-os-session-id'?: string;
|
|
2757
|
-
/**
|
|
2758
|
-
* API key header (for service-to-service auth)
|
|
2759
|
-
* @example "x-os-api-key: sk_live_abc123..."
|
|
2760
|
-
*/
|
|
2761
|
-
'x-os-api-key'?: string;
|
|
2762
|
-
}
|
|
2763
|
-
/**
|
|
2764
|
-
* Authentication Response Interface
|
|
2765
|
-
* Standard response format for authentication operations
|
|
2766
|
-
*/
|
|
2767
|
-
interface AuthResponse {
|
|
2768
|
-
/**
|
|
2769
|
-
* Access token (JWT or opaque token)
|
|
2770
|
-
*/
|
|
2771
|
-
accessToken: string;
|
|
2772
|
-
/**
|
|
2773
|
-
* Refresh token (for token renewal)
|
|
2774
|
-
*/
|
|
2775
|
-
refreshToken?: string;
|
|
2776
|
-
/**
|
|
2777
|
-
* Token type (usually "Bearer")
|
|
2778
|
-
*/
|
|
2779
|
-
tokenType: string;
|
|
2780
|
-
/**
|
|
2781
|
-
* Token expiry in seconds
|
|
2782
|
-
*/
|
|
2783
|
-
expiresIn: number;
|
|
2784
|
-
/**
|
|
2785
|
-
* User information
|
|
2786
|
-
*/
|
|
2787
|
-
user: {
|
|
2788
|
-
id: string;
|
|
2789
|
-
email: string;
|
|
2790
|
-
name?: string;
|
|
2791
|
-
image?: string;
|
|
2792
|
-
};
|
|
2793
|
-
/**
|
|
2794
|
-
* Session ID
|
|
2795
|
-
*/
|
|
2796
|
-
sessionId?: string;
|
|
2797
|
-
}
|
|
2798
|
-
/**
|
|
2799
|
-
* Authentication Error Codes
|
|
2800
|
-
* Standard error codes for authentication failures
|
|
2801
|
-
*/
|
|
2802
|
-
declare const AUTH_ERROR_CODES: {
|
|
2803
|
-
readonly INVALID_CREDENTIALS: "invalid_credentials";
|
|
2804
|
-
readonly INVALID_TOKEN: "invalid_token";
|
|
2805
|
-
readonly TOKEN_EXPIRED: "token_expired";
|
|
2806
|
-
readonly INSUFFICIENT_PERMISSIONS: "insufficient_permissions";
|
|
2807
|
-
readonly ACCOUNT_LOCKED: "account_locked";
|
|
2808
|
-
readonly ACCOUNT_NOT_VERIFIED: "account_not_verified";
|
|
2809
|
-
readonly TOO_MANY_REQUESTS: "too_many_requests";
|
|
2810
|
-
readonly INVALID_CSRF_TOKEN: "invalid_csrf_token";
|
|
2811
|
-
readonly SESSION_EXPIRED: "session_expired";
|
|
2812
|
-
readonly OAUTH_ERROR: "oauth_error";
|
|
2813
|
-
readonly PROVIDER_ERROR: "provider_error";
|
|
2814
|
-
};
|
|
2815
|
-
/**
|
|
2816
|
-
* Authentication Error Interface
|
|
2817
|
-
* Standard error response format
|
|
2818
|
-
*/
|
|
2819
|
-
interface AuthError {
|
|
2820
|
-
/**
|
|
2821
|
-
* Error code from AUTH_ERROR_CODES
|
|
2822
|
-
*/
|
|
2823
|
-
code: typeof AUTH_ERROR_CODES[keyof typeof AUTH_ERROR_CODES];
|
|
2824
|
-
/**
|
|
2825
|
-
* Human-readable error message
|
|
2826
|
-
*/
|
|
2827
|
-
message: string;
|
|
2828
|
-
/**
|
|
2829
|
-
* Additional error details
|
|
2830
|
-
*/
|
|
2831
|
-
details?: Record<string, any>;
|
|
2832
|
-
}
|
|
2833
|
-
/**
|
|
2834
|
-
* Token Payload Interface
|
|
2835
|
-
* Standard JWT payload structure
|
|
2836
|
-
*/
|
|
2837
|
-
interface TokenPayload {
|
|
2838
|
-
/**
|
|
2839
|
-
* Subject (user ID)
|
|
2840
|
-
*/
|
|
2841
|
-
sub: string;
|
|
2842
|
-
/**
|
|
2843
|
-
* Issued at timestamp
|
|
2844
|
-
*/
|
|
2845
|
-
iat: number;
|
|
2846
|
-
/**
|
|
2847
|
-
* Expiration timestamp
|
|
2848
|
-
*/
|
|
2849
|
-
exp: number;
|
|
2850
|
-
/**
|
|
2851
|
-
* Session ID
|
|
2852
|
-
*/
|
|
2853
|
-
sid?: string;
|
|
2854
|
-
/**
|
|
2855
|
-
* User email
|
|
2856
|
-
*/
|
|
2857
|
-
email?: string;
|
|
2858
|
-
/**
|
|
2859
|
-
* User roles
|
|
2860
|
-
*/
|
|
2861
|
-
roles?: string[];
|
|
2862
|
-
/**
|
|
2863
|
-
* User permissions
|
|
2864
|
-
*/
|
|
2865
|
-
permissions?: string[];
|
|
2866
|
-
/**
|
|
2867
|
-
* Additional custom claims
|
|
2868
|
-
*/
|
|
2869
|
-
[key: string]: any;
|
|
2870
|
-
}
|
|
2871
|
-
|
|
2872
|
-
/**
|
|
2873
|
-
* Role Schema (aka Business Unit / Org Unit)
|
|
2874
|
-
* Defines the organizational hierarchy (Reporting Structure).
|
|
2875
|
-
*
|
|
2876
|
-
* COMPARISON:
|
|
2877
|
-
* - Salesforce: "Role" (Hierarchy for visibility rollup)
|
|
2878
|
-
* - Microsoft: "Business Unit" (Structural container for data)
|
|
2879
|
-
* - Kubernetes/AWS: "Role" usually refers to Permissions (we use PermissionSet for that)
|
|
2880
|
-
*
|
|
2881
|
-
* ROLES IN OBJECTSTACK:
|
|
2882
|
-
* Used primarily for "Reporting Structure" - Managers see subordinates' data.
|
|
2883
|
-
*
|
|
2884
|
-
* **NAMING CONVENTION:**
|
|
2885
|
-
* Role names MUST be lowercase snake_case to prevent security issues.
|
|
2886
|
-
*
|
|
2887
|
-
* @example Good role names
|
|
2888
|
-
* - 'sales_manager'
|
|
2889
|
-
* - 'ceo'
|
|
2890
|
-
* - 'region_east_vp'
|
|
2891
|
-
* - 'engineering_lead'
|
|
2892
|
-
*
|
|
2893
|
-
* @example Bad role names (will be rejected)
|
|
2894
|
-
* - 'SalesManager' (camelCase)
|
|
2895
|
-
* - 'CEO' (uppercase)
|
|
2896
|
-
* - 'Region East VP' (spaces and uppercase)
|
|
2897
|
-
*/
|
|
2898
|
-
declare const RoleSchema: z.ZodObject<{
|
|
2899
|
-
name: z.ZodString;
|
|
2900
|
-
label: z.ZodString;
|
|
2901
|
-
parent: z.ZodOptional<z.ZodString>;
|
|
2902
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2903
|
-
}, z.core.$strip>;
|
|
2904
|
-
type Role = z.infer<typeof RoleSchema>;
|
|
2905
|
-
|
|
2906
|
-
/**
|
|
2907
|
-
* Organization Schema (Multi-Tenant Architecture)
|
|
2908
|
-
*
|
|
2909
|
-
* Defines the standard organization/workspace model for ObjectStack.
|
|
2910
|
-
* Supports B2B SaaS scenarios where users belong to multiple teams/workspaces.
|
|
2911
|
-
*
|
|
2912
|
-
* This aligns with better-auth's organization plugin capabilities.
|
|
2913
|
-
*/
|
|
2914
|
-
/**
|
|
2915
|
-
* Organization Schema
|
|
2916
|
-
* Represents a team, workspace, or tenant in a multi-tenant application
|
|
2917
|
-
*/
|
|
2918
|
-
declare const OrganizationSchema: z.ZodObject<{
|
|
2919
|
-
id: z.ZodString;
|
|
2920
|
-
name: z.ZodString;
|
|
2921
|
-
slug: z.ZodString;
|
|
2922
|
-
logo: z.ZodOptional<z.ZodString>;
|
|
2923
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2924
|
-
createdAt: z.ZodString;
|
|
2925
|
-
updatedAt: z.ZodString;
|
|
2926
|
-
}, z.core.$strip>;
|
|
2927
|
-
type Organization = z.infer<typeof OrganizationSchema>;
|
|
2928
|
-
/**
|
|
2929
|
-
* Organization Member Schema
|
|
2930
|
-
* Links users to organizations with specific roles
|
|
2931
|
-
*/
|
|
2932
|
-
declare const MemberSchema: z.ZodObject<{
|
|
2933
|
-
id: z.ZodString;
|
|
2934
|
-
organizationId: z.ZodString;
|
|
2935
|
-
userId: z.ZodString;
|
|
2936
|
-
role: z.ZodString;
|
|
2937
|
-
createdAt: z.ZodString;
|
|
2938
|
-
updatedAt: z.ZodString;
|
|
2939
|
-
}, z.core.$strip>;
|
|
2940
|
-
type Member = z.infer<typeof MemberSchema>;
|
|
2941
|
-
/**
|
|
2942
|
-
* Invitation Status Enum
|
|
2943
|
-
*/
|
|
2944
|
-
declare const InvitationStatus: z.ZodEnum<{
|
|
2945
|
-
pending: "pending";
|
|
2946
|
-
expired: "expired";
|
|
2947
|
-
rejected: "rejected";
|
|
2948
|
-
accepted: "accepted";
|
|
2949
|
-
}>;
|
|
2950
|
-
type InvitationStatus = z.infer<typeof InvitationStatus>;
|
|
2951
|
-
/**
|
|
2952
|
-
* Organization Invitation Schema
|
|
2953
|
-
* Represents an invitation to join an organization
|
|
2954
|
-
*/
|
|
2955
|
-
declare const InvitationSchema: z.ZodObject<{
|
|
2956
|
-
id: z.ZodString;
|
|
2957
|
-
organizationId: z.ZodString;
|
|
2958
|
-
email: z.ZodString;
|
|
2959
|
-
role: z.ZodString;
|
|
2960
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
2961
|
-
pending: "pending";
|
|
2962
|
-
expired: "expired";
|
|
2963
|
-
rejected: "rejected";
|
|
2964
|
-
accepted: "accepted";
|
|
2965
|
-
}>>;
|
|
2966
|
-
expiresAt: z.ZodString;
|
|
2967
|
-
inviterId: z.ZodString;
|
|
2968
|
-
createdAt: z.ZodString;
|
|
2969
|
-
updatedAt: z.ZodString;
|
|
2970
|
-
}, z.core.$strip>;
|
|
2971
|
-
type Invitation = z.infer<typeof InvitationSchema>;
|
|
2972
|
-
|
|
2973
|
-
/**
|
|
2974
|
-
* # SCIM 2.0 Protocol Implementation
|
|
2975
|
-
*
|
|
2976
|
-
* System for Cross-domain Identity Management (SCIM) 2.0 specification
|
|
2977
|
-
* implementation for ObjectStack.
|
|
2978
|
-
*
|
|
2979
|
-
* ## Overview
|
|
2980
|
-
*
|
|
2981
|
-
* SCIM 2.0 is an HTTP-based protocol for managing user and group identities
|
|
2982
|
-
* across domains. It provides a standardized REST API for user provisioning,
|
|
2983
|
-
* de-provisioning, and synchronization.
|
|
2984
|
-
*
|
|
2985
|
-
* ## Use Cases
|
|
2986
|
-
*
|
|
2987
|
-
* 1. **Enterprise SSO Integration**
|
|
2988
|
-
* - Integrate with Okta, Azure AD, OneLogin
|
|
2989
|
-
* - Automatic user provisioning from corporate directory
|
|
2990
|
-
* - Just-in-Time (JIT) user creation on first login
|
|
2991
|
-
*
|
|
2992
|
-
* 2. **User Lifecycle Management**
|
|
2993
|
-
* - Automatically create users when they join organization
|
|
2994
|
-
* - Update user attributes when they change roles
|
|
2995
|
-
* - Deactivate users when they leave organization
|
|
2996
|
-
*
|
|
2997
|
-
* 3. **Group/Department Synchronization**
|
|
2998
|
-
* - Sync organizational structure from AD/LDAP
|
|
2999
|
-
* - Maintain group memberships automatically
|
|
3000
|
-
* - Map corporate roles to application permissions
|
|
3001
|
-
*
|
|
3002
|
-
* 4. **Compliance & Audit**
|
|
3003
|
-
* - Maintain accurate user directory
|
|
3004
|
-
* - Track all identity changes
|
|
3005
|
-
* - Meet SOX/HIPAA requirements for user management
|
|
3006
|
-
*
|
|
3007
|
-
* ## Specification References
|
|
3008
|
-
*
|
|
3009
|
-
* - **RFC 7643**: SCIM Core Schema
|
|
3010
|
-
* - **RFC 7644**: SCIM Protocol
|
|
3011
|
-
* - **RFC 7642**: SCIM Requirements
|
|
3012
|
-
*
|
|
3013
|
-
* ## Industry Implementations
|
|
3014
|
-
*
|
|
3015
|
-
* - **Okta**: Leading SCIM provider
|
|
3016
|
-
* - **Azure AD**: Microsoft's identity platform
|
|
3017
|
-
* - **OneLogin**: Enterprise SSO provider
|
|
3018
|
-
* - **Google Workspace**: Google's identity management
|
|
3019
|
-
*
|
|
3020
|
-
* @see https://datatracker.ietf.org/doc/html/rfc7643
|
|
3021
|
-
* @see https://datatracker.ietf.org/doc/html/rfc7644
|
|
3022
|
-
*/
|
|
3023
|
-
/**
|
|
3024
|
-
* SCIM Schema URIs
|
|
3025
|
-
* Standard schema identifiers defined in RFC 7643
|
|
3026
|
-
*/
|
|
3027
|
-
declare const SCIM_SCHEMAS: {
|
|
3028
|
-
readonly USER: "urn:ietf:params:scim:schemas:core:2.0:User";
|
|
3029
|
-
readonly GROUP: "urn:ietf:params:scim:schemas:core:2.0:Group";
|
|
3030
|
-
readonly ENTERPRISE_USER: "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User";
|
|
3031
|
-
readonly RESOURCE_TYPE: "urn:ietf:params:scim:schemas:core:2.0:ResourceType";
|
|
3032
|
-
readonly SERVICE_PROVIDER_CONFIG: "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig";
|
|
3033
|
-
readonly SCHEMA: "urn:ietf:params:scim:schemas:core:2.0:Schema";
|
|
3034
|
-
readonly LIST_RESPONSE: "urn:ietf:params:scim:api:messages:2.0:ListResponse";
|
|
3035
|
-
readonly PATCH_OP: "urn:ietf:params:scim:api:messages:2.0:PatchOp";
|
|
3036
|
-
readonly BULK_REQUEST: "urn:ietf:params:scim:api:messages:2.0:BulkRequest";
|
|
3037
|
-
readonly BULK_RESPONSE: "urn:ietf:params:scim:api:messages:2.0:BulkResponse";
|
|
3038
|
-
readonly ERROR: "urn:ietf:params:scim:api:messages:2.0:Error";
|
|
3039
|
-
};
|
|
3040
|
-
/**
|
|
3041
|
-
* SCIM Meta Schema
|
|
3042
|
-
* Common metadata for all SCIM resources
|
|
3043
|
-
*/
|
|
3044
|
-
declare const SCIMMetaSchema: z.ZodObject<{
|
|
3045
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
3046
|
-
created: z.ZodOptional<z.ZodString>;
|
|
3047
|
-
lastModified: z.ZodOptional<z.ZodString>;
|
|
3048
|
-
location: z.ZodOptional<z.ZodString>;
|
|
3049
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3050
|
-
}, z.core.$strip>;
|
|
3051
|
-
type SCIMMeta = z.infer<typeof SCIMMetaSchema>;
|
|
3052
|
-
/**
|
|
3053
|
-
* SCIM Name Schema
|
|
3054
|
-
* Structured name components
|
|
3055
|
-
*/
|
|
3056
|
-
declare const SCIMNameSchema: z.ZodObject<{
|
|
3057
|
-
formatted: z.ZodOptional<z.ZodString>;
|
|
3058
|
-
familyName: z.ZodOptional<z.ZodString>;
|
|
3059
|
-
givenName: z.ZodOptional<z.ZodString>;
|
|
3060
|
-
middleName: z.ZodOptional<z.ZodString>;
|
|
3061
|
-
honorificPrefix: z.ZodOptional<z.ZodString>;
|
|
3062
|
-
honorificSuffix: z.ZodOptional<z.ZodString>;
|
|
3063
|
-
}, z.core.$strip>;
|
|
3064
|
-
type SCIMName = z.infer<typeof SCIMNameSchema>;
|
|
3065
|
-
/**
|
|
3066
|
-
* SCIM Email Schema
|
|
3067
|
-
* Multi-valued email address
|
|
3068
|
-
*/
|
|
3069
|
-
declare const SCIMEmailSchema: z.ZodObject<{
|
|
3070
|
-
value: z.ZodString;
|
|
3071
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3072
|
-
other: "other";
|
|
3073
|
-
home: "home";
|
|
3074
|
-
work: "work";
|
|
3075
|
-
}>>;
|
|
3076
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3077
|
-
primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3078
|
-
}, z.core.$strip>;
|
|
3079
|
-
type SCIMEmail = z.infer<typeof SCIMEmailSchema>;
|
|
3080
|
-
/**
|
|
3081
|
-
* SCIM Phone Number Schema
|
|
3082
|
-
* Multi-valued phone number
|
|
3083
|
-
*/
|
|
3084
|
-
declare const SCIMPhoneNumberSchema: z.ZodObject<{
|
|
3085
|
-
value: z.ZodString;
|
|
3086
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3087
|
-
other: "other";
|
|
3088
|
-
home: "home";
|
|
3089
|
-
mobile: "mobile";
|
|
3090
|
-
work: "work";
|
|
3091
|
-
fax: "fax";
|
|
3092
|
-
pager: "pager";
|
|
3093
|
-
}>>;
|
|
3094
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3095
|
-
primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3096
|
-
}, z.core.$strip>;
|
|
3097
|
-
type SCIMPhoneNumber = z.infer<typeof SCIMPhoneNumberSchema>;
|
|
3098
|
-
/**
|
|
3099
|
-
* SCIM Address Schema
|
|
3100
|
-
* Multi-valued physical mailing address
|
|
3101
|
-
*/
|
|
3102
|
-
declare const SCIMAddressSchema: z.ZodObject<{
|
|
3103
|
-
formatted: z.ZodOptional<z.ZodString>;
|
|
3104
|
-
streetAddress: z.ZodOptional<z.ZodString>;
|
|
3105
|
-
locality: z.ZodOptional<z.ZodString>;
|
|
3106
|
-
region: z.ZodOptional<z.ZodString>;
|
|
3107
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
3108
|
-
country: z.ZodOptional<z.ZodString>;
|
|
3109
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3110
|
-
other: "other";
|
|
3111
|
-
home: "home";
|
|
3112
|
-
work: "work";
|
|
3113
|
-
}>>;
|
|
3114
|
-
primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3115
|
-
}, z.core.$strip>;
|
|
3116
|
-
type SCIMAddress = z.infer<typeof SCIMAddressSchema>;
|
|
3117
|
-
/**
|
|
3118
|
-
* SCIM Group Reference
|
|
3119
|
-
* Reference to a group the user belongs to
|
|
3120
|
-
*/
|
|
3121
|
-
declare const SCIMGroupReferenceSchema: z.ZodObject<{
|
|
3122
|
-
value: z.ZodString;
|
|
3123
|
-
$ref: z.ZodOptional<z.ZodString>;
|
|
3124
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3125
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3126
|
-
direct: "direct";
|
|
3127
|
-
indirect: "indirect";
|
|
3128
|
-
}>>;
|
|
3129
|
-
}, z.core.$strip>;
|
|
3130
|
-
type SCIMGroupReference = z.infer<typeof SCIMGroupReferenceSchema>;
|
|
3131
|
-
/**
|
|
3132
|
-
* SCIM Enterprise User Extension
|
|
3133
|
-
* Enterprise-specific user attributes
|
|
3134
|
-
*/
|
|
3135
|
-
declare const SCIMEnterpriseUserSchema: z.ZodObject<{
|
|
3136
|
-
employeeNumber: z.ZodOptional<z.ZodString>;
|
|
3137
|
-
costCenter: z.ZodOptional<z.ZodString>;
|
|
3138
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
3139
|
-
division: z.ZodOptional<z.ZodString>;
|
|
3140
|
-
department: z.ZodOptional<z.ZodString>;
|
|
3141
|
-
manager: z.ZodOptional<z.ZodObject<{
|
|
3142
|
-
value: z.ZodString;
|
|
3143
|
-
$ref: z.ZodOptional<z.ZodString>;
|
|
3144
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3145
|
-
}, z.core.$strip>>;
|
|
3146
|
-
}, z.core.$strip>;
|
|
3147
|
-
type SCIMEnterpriseUser = z.infer<typeof SCIMEnterpriseUserSchema>;
|
|
3148
|
-
/**
|
|
3149
|
-
* SCIM User Schema (Core)
|
|
3150
|
-
* Complete SCIM 2.0 User resource
|
|
3151
|
-
*/
|
|
3152
|
-
declare const SCIMUserSchema: z.ZodObject<{
|
|
3153
|
-
schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3154
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3155
|
-
externalId: z.ZodOptional<z.ZodString>;
|
|
3156
|
-
userName: z.ZodString;
|
|
3157
|
-
name: z.ZodOptional<z.ZodObject<{
|
|
3158
|
-
formatted: z.ZodOptional<z.ZodString>;
|
|
3159
|
-
familyName: z.ZodOptional<z.ZodString>;
|
|
3160
|
-
givenName: z.ZodOptional<z.ZodString>;
|
|
3161
|
-
middleName: z.ZodOptional<z.ZodString>;
|
|
3162
|
-
honorificPrefix: z.ZodOptional<z.ZodString>;
|
|
3163
|
-
honorificSuffix: z.ZodOptional<z.ZodString>;
|
|
3164
|
-
}, z.core.$strip>>;
|
|
3165
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3166
|
-
nickName: z.ZodOptional<z.ZodString>;
|
|
3167
|
-
profileUrl: z.ZodOptional<z.ZodString>;
|
|
3168
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3169
|
-
userType: z.ZodOptional<z.ZodString>;
|
|
3170
|
-
preferredLanguage: z.ZodOptional<z.ZodString>;
|
|
3171
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
3172
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
3173
|
-
active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3174
|
-
password: z.ZodOptional<z.ZodString>;
|
|
3175
|
-
emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3176
|
-
value: z.ZodString;
|
|
3177
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3178
|
-
other: "other";
|
|
3179
|
-
home: "home";
|
|
3180
|
-
work: "work";
|
|
3181
|
-
}>>;
|
|
3182
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3183
|
-
primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3184
|
-
}, z.core.$strip>>>;
|
|
3185
|
-
phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3186
|
-
value: z.ZodString;
|
|
3187
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3188
|
-
other: "other";
|
|
3189
|
-
home: "home";
|
|
3190
|
-
mobile: "mobile";
|
|
3191
|
-
work: "work";
|
|
3192
|
-
fax: "fax";
|
|
3193
|
-
pager: "pager";
|
|
3194
|
-
}>>;
|
|
3195
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3196
|
-
primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3197
|
-
}, z.core.$strip>>>;
|
|
3198
|
-
ims: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3199
|
-
value: z.ZodString;
|
|
3200
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3201
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3202
|
-
}, z.core.$strip>>>;
|
|
3203
|
-
photos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3204
|
-
value: z.ZodString;
|
|
3205
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3206
|
-
photo: "photo";
|
|
3207
|
-
thumbnail: "thumbnail";
|
|
3208
|
-
}>>;
|
|
3209
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3210
|
-
}, z.core.$strip>>>;
|
|
3211
|
-
addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3212
|
-
formatted: z.ZodOptional<z.ZodString>;
|
|
3213
|
-
streetAddress: z.ZodOptional<z.ZodString>;
|
|
3214
|
-
locality: z.ZodOptional<z.ZodString>;
|
|
3215
|
-
region: z.ZodOptional<z.ZodString>;
|
|
3216
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
3217
|
-
country: z.ZodOptional<z.ZodString>;
|
|
3218
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3219
|
-
other: "other";
|
|
3220
|
-
home: "home";
|
|
3221
|
-
work: "work";
|
|
3222
|
-
}>>;
|
|
3223
|
-
primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3224
|
-
}, z.core.$strip>>>;
|
|
3225
|
-
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3226
|
-
value: z.ZodString;
|
|
3227
|
-
$ref: z.ZodOptional<z.ZodString>;
|
|
3228
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3229
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3230
|
-
direct: "direct";
|
|
3231
|
-
indirect: "indirect";
|
|
3232
|
-
}>>;
|
|
3233
|
-
}, z.core.$strip>>>;
|
|
3234
|
-
entitlements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3235
|
-
value: z.ZodString;
|
|
3236
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3237
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3238
|
-
}, z.core.$strip>>>;
|
|
3239
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3240
|
-
value: z.ZodString;
|
|
3241
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3242
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3243
|
-
}, z.core.$strip>>>;
|
|
3244
|
-
x509Certificates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3245
|
-
value: z.ZodString;
|
|
3246
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3247
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3248
|
-
}, z.core.$strip>>>;
|
|
3249
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3250
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
3251
|
-
created: z.ZodOptional<z.ZodString>;
|
|
3252
|
-
lastModified: z.ZodOptional<z.ZodString>;
|
|
3253
|
-
location: z.ZodOptional<z.ZodString>;
|
|
3254
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3255
|
-
}, z.core.$strip>>;
|
|
3256
|
-
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": z.ZodOptional<z.ZodObject<{
|
|
3257
|
-
employeeNumber: z.ZodOptional<z.ZodString>;
|
|
3258
|
-
costCenter: z.ZodOptional<z.ZodString>;
|
|
3259
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
3260
|
-
division: z.ZodOptional<z.ZodString>;
|
|
3261
|
-
department: z.ZodOptional<z.ZodString>;
|
|
3262
|
-
manager: z.ZodOptional<z.ZodObject<{
|
|
3263
|
-
value: z.ZodString;
|
|
3264
|
-
$ref: z.ZodOptional<z.ZodString>;
|
|
3265
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3266
|
-
}, z.core.$strip>>;
|
|
3267
|
-
}, z.core.$strip>>;
|
|
3268
|
-
}, z.core.$strip>;
|
|
3269
|
-
type SCIMUser = z.infer<typeof SCIMUserSchema>;
|
|
3270
|
-
/**
|
|
3271
|
-
* SCIM Member Reference
|
|
3272
|
-
* Reference to a member in a group
|
|
3273
|
-
*/
|
|
3274
|
-
declare const SCIMMemberReferenceSchema: z.ZodObject<{
|
|
3275
|
-
value: z.ZodString;
|
|
3276
|
-
$ref: z.ZodOptional<z.ZodString>;
|
|
3277
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3278
|
-
User: "User";
|
|
3279
|
-
Group: "Group";
|
|
3280
|
-
}>>;
|
|
3281
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3282
|
-
}, z.core.$strip>;
|
|
3283
|
-
type SCIMMemberReference = z.infer<typeof SCIMMemberReferenceSchema>;
|
|
3284
|
-
/**
|
|
3285
|
-
* SCIM Group Schema
|
|
3286
|
-
* Complete SCIM 2.0 Group resource
|
|
3287
|
-
*/
|
|
3288
|
-
declare const SCIMGroupSchema: z.ZodObject<{
|
|
3289
|
-
schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3290
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3291
|
-
externalId: z.ZodOptional<z.ZodString>;
|
|
3292
|
-
displayName: z.ZodString;
|
|
3293
|
-
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3294
|
-
value: z.ZodString;
|
|
3295
|
-
$ref: z.ZodOptional<z.ZodString>;
|
|
3296
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3297
|
-
User: "User";
|
|
3298
|
-
Group: "Group";
|
|
3299
|
-
}>>;
|
|
3300
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3301
|
-
}, z.core.$strip>>>;
|
|
3302
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3303
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
3304
|
-
created: z.ZodOptional<z.ZodString>;
|
|
3305
|
-
lastModified: z.ZodOptional<z.ZodString>;
|
|
3306
|
-
location: z.ZodOptional<z.ZodString>;
|
|
3307
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3308
|
-
}, z.core.$strip>>;
|
|
3309
|
-
}, z.core.$strip>;
|
|
3310
|
-
type SCIMGroup = z.infer<typeof SCIMGroupSchema>;
|
|
3311
|
-
/**
|
|
3312
|
-
* SCIM Resource Union Type
|
|
3313
|
-
* Known SCIM resource types for type-safe list responses
|
|
3314
|
-
*/
|
|
3315
|
-
type SCIMResource = SCIMUser | SCIMGroup;
|
|
3316
|
-
/**
|
|
3317
|
-
* SCIM List Response
|
|
3318
|
-
* Paginated list of resources
|
|
3319
|
-
*
|
|
3320
|
-
* Generic type T allows for type-safe responses when the resource type is known.
|
|
3321
|
-
* For mixed resource types, use SCIMResource union.
|
|
3322
|
-
*/
|
|
3323
|
-
declare const SCIMListResponseSchema: z.ZodObject<{
|
|
3324
|
-
schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3325
|
-
totalResults: z.ZodNumber;
|
|
3326
|
-
Resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3327
|
-
schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3328
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3329
|
-
externalId: z.ZodOptional<z.ZodString>;
|
|
3330
|
-
userName: z.ZodString;
|
|
3331
|
-
name: z.ZodOptional<z.ZodObject<{
|
|
3332
|
-
formatted: z.ZodOptional<z.ZodString>;
|
|
3333
|
-
familyName: z.ZodOptional<z.ZodString>;
|
|
3334
|
-
givenName: z.ZodOptional<z.ZodString>;
|
|
3335
|
-
middleName: z.ZodOptional<z.ZodString>;
|
|
3336
|
-
honorificPrefix: z.ZodOptional<z.ZodString>;
|
|
3337
|
-
honorificSuffix: z.ZodOptional<z.ZodString>;
|
|
3338
|
-
}, z.core.$strip>>;
|
|
3339
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3340
|
-
nickName: z.ZodOptional<z.ZodString>;
|
|
3341
|
-
profileUrl: z.ZodOptional<z.ZodString>;
|
|
3342
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3343
|
-
userType: z.ZodOptional<z.ZodString>;
|
|
3344
|
-
preferredLanguage: z.ZodOptional<z.ZodString>;
|
|
3345
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
3346
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
3347
|
-
active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3348
|
-
password: z.ZodOptional<z.ZodString>;
|
|
3349
|
-
emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3350
|
-
value: z.ZodString;
|
|
3351
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3352
|
-
other: "other";
|
|
3353
|
-
home: "home";
|
|
3354
|
-
work: "work";
|
|
3355
|
-
}>>;
|
|
3356
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3357
|
-
primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3358
|
-
}, z.core.$strip>>>;
|
|
3359
|
-
phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3360
|
-
value: z.ZodString;
|
|
3361
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3362
|
-
other: "other";
|
|
3363
|
-
home: "home";
|
|
3364
|
-
mobile: "mobile";
|
|
3365
|
-
work: "work";
|
|
3366
|
-
fax: "fax";
|
|
3367
|
-
pager: "pager";
|
|
3368
|
-
}>>;
|
|
3369
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3370
|
-
primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3371
|
-
}, z.core.$strip>>>;
|
|
3372
|
-
ims: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3373
|
-
value: z.ZodString;
|
|
3374
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3375
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3376
|
-
}, z.core.$strip>>>;
|
|
3377
|
-
photos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3378
|
-
value: z.ZodString;
|
|
3379
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3380
|
-
photo: "photo";
|
|
3381
|
-
thumbnail: "thumbnail";
|
|
3382
|
-
}>>;
|
|
3383
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3384
|
-
}, z.core.$strip>>>;
|
|
3385
|
-
addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3386
|
-
formatted: z.ZodOptional<z.ZodString>;
|
|
3387
|
-
streetAddress: z.ZodOptional<z.ZodString>;
|
|
3388
|
-
locality: z.ZodOptional<z.ZodString>;
|
|
3389
|
-
region: z.ZodOptional<z.ZodString>;
|
|
3390
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
3391
|
-
country: z.ZodOptional<z.ZodString>;
|
|
3392
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3393
|
-
other: "other";
|
|
3394
|
-
home: "home";
|
|
3395
|
-
work: "work";
|
|
3396
|
-
}>>;
|
|
3397
|
-
primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3398
|
-
}, z.core.$strip>>>;
|
|
3399
|
-
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3400
|
-
value: z.ZodString;
|
|
3401
|
-
$ref: z.ZodOptional<z.ZodString>;
|
|
3402
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3403
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3404
|
-
direct: "direct";
|
|
3405
|
-
indirect: "indirect";
|
|
3406
|
-
}>>;
|
|
3407
|
-
}, z.core.$strip>>>;
|
|
3408
|
-
entitlements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3409
|
-
value: z.ZodString;
|
|
3410
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3411
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3412
|
-
}, z.core.$strip>>>;
|
|
3413
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3414
|
-
value: z.ZodString;
|
|
3415
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3416
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3417
|
-
}, z.core.$strip>>>;
|
|
3418
|
-
x509Certificates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3419
|
-
value: z.ZodString;
|
|
3420
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3421
|
-
primary: z.ZodOptional<z.ZodBoolean>;
|
|
3422
|
-
}, z.core.$strip>>>;
|
|
3423
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3424
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
3425
|
-
created: z.ZodOptional<z.ZodString>;
|
|
3426
|
-
lastModified: z.ZodOptional<z.ZodString>;
|
|
3427
|
-
location: z.ZodOptional<z.ZodString>;
|
|
3428
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3429
|
-
}, z.core.$strip>>;
|
|
3430
|
-
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": z.ZodOptional<z.ZodObject<{
|
|
3431
|
-
employeeNumber: z.ZodOptional<z.ZodString>;
|
|
3432
|
-
costCenter: z.ZodOptional<z.ZodString>;
|
|
3433
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
3434
|
-
division: z.ZodOptional<z.ZodString>;
|
|
3435
|
-
department: z.ZodOptional<z.ZodString>;
|
|
3436
|
-
manager: z.ZodOptional<z.ZodObject<{
|
|
3437
|
-
value: z.ZodString;
|
|
3438
|
-
$ref: z.ZodOptional<z.ZodString>;
|
|
3439
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3440
|
-
}, z.core.$strip>>;
|
|
3441
|
-
}, z.core.$strip>>;
|
|
3442
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3443
|
-
schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3444
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3445
|
-
externalId: z.ZodOptional<z.ZodString>;
|
|
3446
|
-
displayName: z.ZodString;
|
|
3447
|
-
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3448
|
-
value: z.ZodString;
|
|
3449
|
-
$ref: z.ZodOptional<z.ZodString>;
|
|
3450
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3451
|
-
User: "User";
|
|
3452
|
-
Group: "Group";
|
|
3453
|
-
}>>;
|
|
3454
|
-
display: z.ZodOptional<z.ZodString>;
|
|
3455
|
-
}, z.core.$strip>>>;
|
|
3456
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3457
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
3458
|
-
created: z.ZodOptional<z.ZodString>;
|
|
3459
|
-
lastModified: z.ZodOptional<z.ZodString>;
|
|
3460
|
-
location: z.ZodOptional<z.ZodString>;
|
|
3461
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3462
|
-
}, z.core.$strip>>;
|
|
3463
|
-
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
3464
|
-
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
3465
|
-
itemsPerPage: z.ZodOptional<z.ZodNumber>;
|
|
3466
|
-
}, z.core.$strip>;
|
|
3467
|
-
type SCIMListResponse = z.infer<typeof SCIMListResponseSchema>;
|
|
3468
|
-
/**
|
|
3469
|
-
* SCIM Error Response
|
|
3470
|
-
* Error response format
|
|
3471
|
-
*/
|
|
3472
|
-
declare const SCIMErrorSchema: z.ZodObject<{
|
|
3473
|
-
schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3474
|
-
status: z.ZodNumber;
|
|
3475
|
-
scimType: z.ZodOptional<z.ZodEnum<{
|
|
3476
|
-
uniqueness: "uniqueness";
|
|
3477
|
-
invalidFilter: "invalidFilter";
|
|
3478
|
-
tooMany: "tooMany";
|
|
3479
|
-
mutability: "mutability";
|
|
3480
|
-
invalidSyntax: "invalidSyntax";
|
|
3481
|
-
invalidPath: "invalidPath";
|
|
3482
|
-
noTarget: "noTarget";
|
|
3483
|
-
invalidValue: "invalidValue";
|
|
3484
|
-
invalidVers: "invalidVers";
|
|
3485
|
-
sensitive: "sensitive";
|
|
3486
|
-
}>>;
|
|
3487
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
3488
|
-
}, z.core.$strip>;
|
|
3489
|
-
type SCIMError = z.infer<typeof SCIMErrorSchema>;
|
|
3490
|
-
/**
|
|
3491
|
-
* SCIM Patch Operation
|
|
3492
|
-
* For PATCH requests
|
|
3493
|
-
*/
|
|
3494
|
-
declare const SCIMPatchOperationSchema: z.ZodObject<{
|
|
3495
|
-
op: z.ZodEnum<{
|
|
3496
|
-
replace: "replace";
|
|
3497
|
-
add: "add";
|
|
3498
|
-
remove: "remove";
|
|
3499
|
-
}>;
|
|
3500
|
-
path: z.ZodOptional<z.ZodString>;
|
|
3501
|
-
value: z.ZodOptional<z.ZodUnknown>;
|
|
3502
|
-
}, z.core.$strip>;
|
|
3503
|
-
type SCIMPatchOperation = z.infer<typeof SCIMPatchOperationSchema>;
|
|
3504
|
-
/**
|
|
3505
|
-
* SCIM Patch Request
|
|
3506
|
-
*/
|
|
3507
|
-
declare const SCIMPatchRequestSchema: z.ZodObject<{
|
|
3508
|
-
schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3509
|
-
Operations: z.ZodArray<z.ZodObject<{
|
|
3510
|
-
op: z.ZodEnum<{
|
|
3511
|
-
replace: "replace";
|
|
3512
|
-
add: "add";
|
|
3513
|
-
remove: "remove";
|
|
3514
|
-
}>;
|
|
3515
|
-
path: z.ZodOptional<z.ZodString>;
|
|
3516
|
-
value: z.ZodOptional<z.ZodUnknown>;
|
|
3517
|
-
}, z.core.$strip>>;
|
|
3518
|
-
}, z.core.$strip>;
|
|
3519
|
-
type SCIMPatchRequest = z.infer<typeof SCIMPatchRequestSchema>;
|
|
3520
|
-
/**
|
|
3521
|
-
* Helper factory for creating SCIM resources
|
|
3522
|
-
*/
|
|
3523
|
-
declare const SCIM: {
|
|
3524
|
-
/**
|
|
3525
|
-
* Create a basic SCIM user
|
|
3526
|
-
*/
|
|
3527
|
-
readonly user: (userName: string, email: string, givenName?: string, familyName?: string) => SCIMUser;
|
|
3528
|
-
/**
|
|
3529
|
-
* Create a SCIM group
|
|
3530
|
-
*/
|
|
3531
|
-
readonly group: (displayName: string, members?: SCIMMemberReference[]) => SCIMGroup;
|
|
3532
|
-
/**
|
|
3533
|
-
* Create a list response
|
|
3534
|
-
*/
|
|
3535
|
-
readonly listResponse: <T>(resources: T[], totalResults?: number) => SCIMListResponse;
|
|
3536
|
-
/**
|
|
3537
|
-
* Create an error response
|
|
3538
|
-
*/
|
|
3539
|
-
readonly error: (status: number, detail: string, scimType?: "invalidFilter" | "tooMany" | "uniqueness" | "mutability" | "invalidSyntax" | "invalidPath" | "noTarget" | "invalidValue" | "invalidVers" | "sensitive") => SCIMError;
|
|
3540
|
-
};
|
|
3541
|
-
/**
|
|
3542
|
-
* SCIM Bulk Operation Schema
|
|
3543
|
-
* A single operation within a bulk request
|
|
3544
|
-
*/
|
|
3545
|
-
declare const SCIMBulkOperationSchema: z.ZodObject<{
|
|
3546
|
-
method: z.ZodEnum<{
|
|
3547
|
-
POST: "POST";
|
|
3548
|
-
PUT: "PUT";
|
|
3549
|
-
DELETE: "DELETE";
|
|
3550
|
-
PATCH: "PATCH";
|
|
3551
|
-
}>;
|
|
3552
|
-
path: z.ZodString;
|
|
3553
|
-
bulkId: z.ZodOptional<z.ZodString>;
|
|
3554
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3555
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3556
|
-
}, z.core.$strip>;
|
|
3557
|
-
type SCIMBulkOperation = z.infer<typeof SCIMBulkOperationSchema>;
|
|
3558
|
-
/**
|
|
3559
|
-
* SCIM Bulk Request Schema
|
|
3560
|
-
* Batch multiple SCIM operations into a single HTTP request
|
|
3561
|
-
*/
|
|
3562
|
-
declare const SCIMBulkRequestSchema: z.ZodObject<{
|
|
3563
|
-
schemas: z.ZodDefault<z.ZodArray<z.ZodLiteral<"urn:ietf:params:scim:api:messages:2.0:BulkRequest">>>;
|
|
3564
|
-
operations: z.ZodArray<z.ZodObject<{
|
|
3565
|
-
method: z.ZodEnum<{
|
|
3566
|
-
POST: "POST";
|
|
3567
|
-
PUT: "PUT";
|
|
3568
|
-
DELETE: "DELETE";
|
|
3569
|
-
PATCH: "PATCH";
|
|
3570
|
-
}>;
|
|
3571
|
-
path: z.ZodString;
|
|
3572
|
-
bulkId: z.ZodOptional<z.ZodString>;
|
|
3573
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3574
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3575
|
-
}, z.core.$strip>>;
|
|
3576
|
-
failOnErrors: z.ZodOptional<z.ZodNumber>;
|
|
3577
|
-
}, z.core.$strip>;
|
|
3578
|
-
type SCIMBulkRequest = z.infer<typeof SCIMBulkRequestSchema>;
|
|
3579
|
-
/**
|
|
3580
|
-
* SCIM Bulk Response Operation Schema
|
|
3581
|
-
* Result of a single operation within a bulk response
|
|
3582
|
-
*/
|
|
3583
|
-
declare const SCIMBulkResponseOperationSchema: z.ZodObject<{
|
|
3584
|
-
method: z.ZodEnum<{
|
|
3585
|
-
POST: "POST";
|
|
3586
|
-
PUT: "PUT";
|
|
3587
|
-
DELETE: "DELETE";
|
|
3588
|
-
PATCH: "PATCH";
|
|
3589
|
-
}>;
|
|
3590
|
-
bulkId: z.ZodOptional<z.ZodString>;
|
|
3591
|
-
location: z.ZodOptional<z.ZodString>;
|
|
3592
|
-
status: z.ZodString;
|
|
3593
|
-
response: z.ZodOptional<z.ZodUnknown>;
|
|
3594
|
-
}, z.core.$strip>;
|
|
3595
|
-
type SCIMBulkResponseOperation = z.infer<typeof SCIMBulkResponseOperationSchema>;
|
|
3596
|
-
/**
|
|
3597
|
-
* SCIM Bulk Response Schema
|
|
3598
|
-
* Response to a bulk request containing results for each operation
|
|
3599
|
-
*/
|
|
3600
|
-
declare const SCIMBulkResponseSchema: z.ZodObject<{
|
|
3601
|
-
schemas: z.ZodDefault<z.ZodArray<z.ZodLiteral<"urn:ietf:params:scim:api:messages:2.0:BulkResponse">>>;
|
|
3602
|
-
operations: z.ZodArray<z.ZodObject<{
|
|
3603
|
-
method: z.ZodEnum<{
|
|
3604
|
-
POST: "POST";
|
|
3605
|
-
PUT: "PUT";
|
|
3606
|
-
DELETE: "DELETE";
|
|
3607
|
-
PATCH: "PATCH";
|
|
3608
|
-
}>;
|
|
3609
|
-
bulkId: z.ZodOptional<z.ZodString>;
|
|
3610
|
-
location: z.ZodOptional<z.ZodString>;
|
|
3611
|
-
status: z.ZodString;
|
|
3612
|
-
response: z.ZodOptional<z.ZodUnknown>;
|
|
3613
|
-
}, z.core.$strip>>;
|
|
3614
|
-
}, z.core.$strip>;
|
|
3615
|
-
type SCIMBulkResponse = z.infer<typeof SCIMBulkResponseSchema>;
|
|
3616
|
-
|
|
3617
|
-
declare const index_AUTH_CONSTANTS: typeof AUTH_CONSTANTS;
|
|
3618
|
-
declare const index_AUTH_ERROR_CODES: typeof AUTH_ERROR_CODES;
|
|
3619
|
-
type index_Account = Account;
|
|
3620
|
-
declare const index_AccountSchema: typeof AccountSchema;
|
|
3621
|
-
type index_ApiKey = ApiKey;
|
|
3622
|
-
declare const index_ApiKeySchema: typeof ApiKeySchema;
|
|
3623
|
-
type index_AuthError = AuthError;
|
|
3624
|
-
type index_AuthHeaders = AuthHeaders;
|
|
3625
|
-
type index_AuthResponse = AuthResponse;
|
|
3626
|
-
type index_Invitation = Invitation;
|
|
3627
|
-
declare const index_InvitationSchema: typeof InvitationSchema;
|
|
3628
|
-
type index_InvitationStatus = InvitationStatus;
|
|
3629
|
-
type index_Member = Member;
|
|
3630
|
-
declare const index_MemberSchema: typeof MemberSchema;
|
|
3631
|
-
type index_Organization = Organization;
|
|
3632
|
-
declare const index_OrganizationSchema: typeof OrganizationSchema;
|
|
3633
|
-
type index_Role = Role;
|
|
3634
|
-
declare const index_RoleSchema: typeof RoleSchema;
|
|
3635
|
-
declare const index_SCIM: typeof SCIM;
|
|
3636
|
-
type index_SCIMAddress = SCIMAddress;
|
|
3637
|
-
declare const index_SCIMAddressSchema: typeof SCIMAddressSchema;
|
|
3638
|
-
type index_SCIMBulkOperation = SCIMBulkOperation;
|
|
3639
|
-
declare const index_SCIMBulkOperationSchema: typeof SCIMBulkOperationSchema;
|
|
3640
|
-
type index_SCIMBulkRequest = SCIMBulkRequest;
|
|
3641
|
-
declare const index_SCIMBulkRequestSchema: typeof SCIMBulkRequestSchema;
|
|
3642
|
-
type index_SCIMBulkResponse = SCIMBulkResponse;
|
|
3643
|
-
type index_SCIMBulkResponseOperation = SCIMBulkResponseOperation;
|
|
3644
|
-
declare const index_SCIMBulkResponseOperationSchema: typeof SCIMBulkResponseOperationSchema;
|
|
3645
|
-
declare const index_SCIMBulkResponseSchema: typeof SCIMBulkResponseSchema;
|
|
3646
|
-
type index_SCIMEmail = SCIMEmail;
|
|
3647
|
-
declare const index_SCIMEmailSchema: typeof SCIMEmailSchema;
|
|
3648
|
-
type index_SCIMEnterpriseUser = SCIMEnterpriseUser;
|
|
3649
|
-
declare const index_SCIMEnterpriseUserSchema: typeof SCIMEnterpriseUserSchema;
|
|
3650
|
-
type index_SCIMError = SCIMError;
|
|
3651
|
-
declare const index_SCIMErrorSchema: typeof SCIMErrorSchema;
|
|
3652
|
-
type index_SCIMGroup = SCIMGroup;
|
|
3653
|
-
type index_SCIMGroupReference = SCIMGroupReference;
|
|
3654
|
-
declare const index_SCIMGroupReferenceSchema: typeof SCIMGroupReferenceSchema;
|
|
3655
|
-
declare const index_SCIMGroupSchema: typeof SCIMGroupSchema;
|
|
3656
|
-
type index_SCIMListResponse = SCIMListResponse;
|
|
3657
|
-
declare const index_SCIMListResponseSchema: typeof SCIMListResponseSchema;
|
|
3658
|
-
type index_SCIMMemberReference = SCIMMemberReference;
|
|
3659
|
-
declare const index_SCIMMemberReferenceSchema: typeof SCIMMemberReferenceSchema;
|
|
3660
|
-
type index_SCIMMeta = SCIMMeta;
|
|
3661
|
-
declare const index_SCIMMetaSchema: typeof SCIMMetaSchema;
|
|
3662
|
-
type index_SCIMName = SCIMName;
|
|
3663
|
-
declare const index_SCIMNameSchema: typeof SCIMNameSchema;
|
|
3664
|
-
type index_SCIMPatchOperation = SCIMPatchOperation;
|
|
3665
|
-
declare const index_SCIMPatchOperationSchema: typeof SCIMPatchOperationSchema;
|
|
3666
|
-
type index_SCIMPatchRequest = SCIMPatchRequest;
|
|
3667
|
-
declare const index_SCIMPatchRequestSchema: typeof SCIMPatchRequestSchema;
|
|
3668
|
-
type index_SCIMPhoneNumber = SCIMPhoneNumber;
|
|
3669
|
-
declare const index_SCIMPhoneNumberSchema: typeof SCIMPhoneNumberSchema;
|
|
3670
|
-
type index_SCIMResource = SCIMResource;
|
|
3671
|
-
type index_SCIMUser = SCIMUser;
|
|
3672
|
-
declare const index_SCIMUserSchema: typeof SCIMUserSchema;
|
|
3673
|
-
declare const index_SCIM_SCHEMAS: typeof SCIM_SCHEMAS;
|
|
3674
|
-
type index_Session = Session;
|
|
3675
|
-
declare const index_SessionSchema: typeof SessionSchema;
|
|
3676
|
-
type index_TokenPayload = TokenPayload;
|
|
3677
|
-
type index_User = User;
|
|
3678
|
-
declare const index_UserSchema: typeof UserSchema;
|
|
3679
|
-
type index_VerificationToken = VerificationToken;
|
|
3680
|
-
declare const index_VerificationTokenSchema: typeof VerificationTokenSchema;
|
|
3681
|
-
declare namespace index {
|
|
3682
|
-
export { index_AUTH_CONSTANTS as AUTH_CONSTANTS, index_AUTH_ERROR_CODES as AUTH_ERROR_CODES, type index_Account as Account, index_AccountSchema as AccountSchema, type index_ApiKey as ApiKey, index_ApiKeySchema as ApiKeySchema, type index_AuthError as AuthError, type index_AuthHeaders as AuthHeaders, type index_AuthResponse as AuthResponse, type index_Invitation as Invitation, index_InvitationSchema as InvitationSchema, type index_InvitationStatus as InvitationStatus, type index_Member as Member, index_MemberSchema as MemberSchema, type index_Organization as Organization, index_OrganizationSchema as OrganizationSchema, type index_Role as Role, index_RoleSchema as RoleSchema, index_SCIM as SCIM, type index_SCIMAddress as SCIMAddress, index_SCIMAddressSchema as SCIMAddressSchema, type index_SCIMBulkOperation as SCIMBulkOperation, index_SCIMBulkOperationSchema as SCIMBulkOperationSchema, type index_SCIMBulkRequest as SCIMBulkRequest, index_SCIMBulkRequestSchema as SCIMBulkRequestSchema, type index_SCIMBulkResponse as SCIMBulkResponse, type index_SCIMBulkResponseOperation as SCIMBulkResponseOperation, index_SCIMBulkResponseOperationSchema as SCIMBulkResponseOperationSchema, index_SCIMBulkResponseSchema as SCIMBulkResponseSchema, type index_SCIMEmail as SCIMEmail, index_SCIMEmailSchema as SCIMEmailSchema, type index_SCIMEnterpriseUser as SCIMEnterpriseUser, index_SCIMEnterpriseUserSchema as SCIMEnterpriseUserSchema, type index_SCIMError as SCIMError, index_SCIMErrorSchema as SCIMErrorSchema, type index_SCIMGroup as SCIMGroup, type index_SCIMGroupReference as SCIMGroupReference, index_SCIMGroupReferenceSchema as SCIMGroupReferenceSchema, index_SCIMGroupSchema as SCIMGroupSchema, type index_SCIMListResponse as SCIMListResponse, index_SCIMListResponseSchema as SCIMListResponseSchema, type index_SCIMMemberReference as SCIMMemberReference, index_SCIMMemberReferenceSchema as SCIMMemberReferenceSchema, type index_SCIMMeta as SCIMMeta, index_SCIMMetaSchema as SCIMMetaSchema, type index_SCIMName as SCIMName, index_SCIMNameSchema as SCIMNameSchema, type index_SCIMPatchOperation as SCIMPatchOperation, index_SCIMPatchOperationSchema as SCIMPatchOperationSchema, type index_SCIMPatchRequest as SCIMPatchRequest, index_SCIMPatchRequestSchema as SCIMPatchRequestSchema, type index_SCIMPhoneNumber as SCIMPhoneNumber, index_SCIMPhoneNumberSchema as SCIMPhoneNumberSchema, type index_SCIMResource as SCIMResource, type index_SCIMUser as SCIMUser, index_SCIMUserSchema as SCIMUserSchema, index_SCIM_SCHEMAS as SCIM_SCHEMAS, type index_Session as Session, index_SessionSchema as SessionSchema, type index_TokenPayload as TokenPayload, type index_User as User, index_UserSchema as UserSchema, type index_VerificationToken as VerificationToken, index_VerificationTokenSchema as VerificationTokenSchema };
|
|
3683
|
-
}
|
|
1
|
+
import { M as MapSupportedField, a as MetadataCollectionInput } from './index-CdgkfP4m.js';
|
|
2
|
+
export { j as MAP_SUPPORTED_FIELDS, k as METADATA_ALIASES, i as Shared, d as findClosestMatches, e as formatSuggestion, f as formatZodError, b as formatZodIssue, n as normalizeMetadataCollection, h as normalizePluginMetadata, g as normalizeStackInput, o as objectStackErrorMap, s as safeParsePretty, c as suggestFieldType } from './index-CdgkfP4m.js';
|
|
3
|
+
export { i as Data } from './index-BqzRvWzp.js';
|
|
4
|
+
export { i as Security } from './index-BfEDC8Lv.js';
|
|
5
|
+
export { i as UI, a as defineApp, d as defineView } from './index-h0QkzinG.js';
|
|
6
|
+
export { i as System } from './index-7tz6PlLg.js';
|
|
7
|
+
export { i as Kernel, P as PluginContext } from './index-CbrWf0x5.js';
|
|
8
|
+
export { i as Cloud } from './index-DPHfwGua.js';
|
|
9
|
+
export { i as QA } from './index-DE9Tb8px.js';
|
|
10
|
+
export { i as Identity } from './index-BsBoFep8.js';
|
|
11
|
+
import { F as FilterGroup } from './index-QoFYi7l6.js';
|
|
12
|
+
export { i as AI, d as defineAgent } from './index-QoFYi7l6.js';
|
|
13
|
+
export { i as API } from './index-CoEZYWX-.js';
|
|
14
|
+
export { i as Automation, d as defineFlow } from './index-BX1zurbZ.js';
|
|
15
|
+
export { i as Integration } from './index-CGz6eD3q.js';
|
|
16
|
+
export { i as Contracts } from './index-4NcJ3Ha4.js';
|
|
17
|
+
export { i as Studio } from './index-C7sOJ4RJ.js';
|
|
18
|
+
import { B as BaseValidationRuleShape, S as ServiceObject } from './object.zod-CxpSoqwV.js';
|
|
19
|
+
import { z } from 'zod';
|
|
20
|
+
import { S as StateNodeConfig } from './state-machine.zod-DoC0JvQb.js';
|
|
21
|
+
import { Q as QueryAST } from './field.zod-D1NCePFb.js';
|
|
22
|
+
import { F as FilterCondition } from './filter.zod-CtZ3VJ3e.js';
|
|
23
|
+
import './http.zod-zoVvPkD-.js';
|
|
24
|
+
import './driver.zod-BOIvRcxq.js';
|
|
25
|
+
import './metadata-plugin.zod-BhhsdezT.js';
|
|
26
|
+
import './package-registry.zod-BpoHXl6n.js';
|
|
3684
27
|
|
|
3685
28
|
/**
|
|
3686
29
|
* ObjectStack Ecosystem Definition
|
|
@@ -3993,8 +336,8 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
3993
336
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
3994
337
|
async: "async";
|
|
3995
338
|
parallel: "parallel";
|
|
3996
|
-
sync: "sync";
|
|
3997
339
|
sequential: "sequential";
|
|
340
|
+
sync: "sync";
|
|
3998
341
|
}>>;
|
|
3999
342
|
timeout: z.ZodDefault<z.ZodNumber>;
|
|
4000
343
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5425,6 +1768,23 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
5425
1768
|
requiredPermissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5426
1769
|
objects: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
5427
1770
|
apis: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
1771
|
+
sharing: z.ZodOptional<z.ZodObject<{
|
|
1772
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1773
|
+
publicLink: z.ZodOptional<z.ZodString>;
|
|
1774
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1775
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1776
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
1777
|
+
allowAnonymous: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1778
|
+
}, z.core.$strip>>;
|
|
1779
|
+
embed: z.ZodOptional<z.ZodObject<{
|
|
1780
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1781
|
+
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1782
|
+
width: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1783
|
+
height: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1784
|
+
showHeader: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1785
|
+
showNavigation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1786
|
+
responsive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1787
|
+
}, z.core.$strip>>;
|
|
5428
1788
|
mobileNavigation: z.ZodOptional<z.ZodObject<{
|
|
5429
1789
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
5430
1790
|
drawer: "drawer";
|
|
@@ -5835,6 +2195,14 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
5835
2195
|
desc: "desc";
|
|
5836
2196
|
}>>;
|
|
5837
2197
|
}, z.core.$strip>>>;
|
|
2198
|
+
sharing: z.ZodOptional<z.ZodObject<{
|
|
2199
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2200
|
+
publicLink: z.ZodOptional<z.ZodString>;
|
|
2201
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2202
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2203
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2204
|
+
allowAnonymous: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2205
|
+
}, z.core.$strip>>;
|
|
5838
2206
|
aria: z.ZodOptional<z.ZodObject<{
|
|
5839
2207
|
ariaLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5840
2208
|
key: z.ZodString;
|
|
@@ -6236,6 +2604,14 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
6236
2604
|
desc: "desc";
|
|
6237
2605
|
}>>;
|
|
6238
2606
|
}, z.core.$strip>>>;
|
|
2607
|
+
sharing: z.ZodOptional<z.ZodObject<{
|
|
2608
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2609
|
+
publicLink: z.ZodOptional<z.ZodString>;
|
|
2610
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2611
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2612
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2613
|
+
allowAnonymous: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2614
|
+
}, z.core.$strip>>;
|
|
6239
2615
|
aria: z.ZodOptional<z.ZodObject<{
|
|
6240
2616
|
ariaLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
6241
2617
|
key: z.ZodString;
|
|
@@ -6259,11 +2635,24 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
6259
2635
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
6260
2636
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
6261
2637
|
}, z.core.$strip>]>>;
|
|
2638
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6262
2639
|
type: z.ZodDefault<z.ZodEnum<{
|
|
6263
2640
|
record: "record";
|
|
2641
|
+
list: "list";
|
|
2642
|
+
dashboard: "dashboard";
|
|
2643
|
+
grid: "grid";
|
|
2644
|
+
kanban: "kanban";
|
|
2645
|
+
gallery: "gallery";
|
|
2646
|
+
calendar: "calendar";
|
|
2647
|
+
timeline: "timeline";
|
|
2648
|
+
form: "form";
|
|
6264
2649
|
home: "home";
|
|
6265
2650
|
app: "app";
|
|
6266
2651
|
utility: "utility";
|
|
2652
|
+
record_detail: "record_detail";
|
|
2653
|
+
record_review: "record_review";
|
|
2654
|
+
overview: "overview";
|
|
2655
|
+
blank: "blank";
|
|
6267
2656
|
}>>;
|
|
6268
2657
|
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6269
2658
|
name: z.ZodString;
|
|
@@ -6273,10 +2662,54 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
6273
2662
|
boolean: "boolean";
|
|
6274
2663
|
object: "object";
|
|
6275
2664
|
array: "array";
|
|
2665
|
+
record_id: "record_id";
|
|
6276
2666
|
}>>;
|
|
6277
2667
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
2668
|
+
source: z.ZodOptional<z.ZodString>;
|
|
6278
2669
|
}, z.core.$strip>>>;
|
|
6279
2670
|
object: z.ZodOptional<z.ZodString>;
|
|
2671
|
+
recordReview: z.ZodOptional<z.ZodObject<{
|
|
2672
|
+
object: z.ZodString;
|
|
2673
|
+
filter: z.ZodOptional<z.ZodAny>;
|
|
2674
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2675
|
+
field: z.ZodString;
|
|
2676
|
+
order: z.ZodEnum<{
|
|
2677
|
+
asc: "asc";
|
|
2678
|
+
desc: "desc";
|
|
2679
|
+
}>;
|
|
2680
|
+
}, z.core.$strip>>>;
|
|
2681
|
+
displayFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2682
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
2683
|
+
label: z.ZodString;
|
|
2684
|
+
type: z.ZodEnum<{
|
|
2685
|
+
custom: "custom";
|
|
2686
|
+
skip: "skip";
|
|
2687
|
+
approve: "approve";
|
|
2688
|
+
reject: "reject";
|
|
2689
|
+
}>;
|
|
2690
|
+
field: z.ZodOptional<z.ZodString>;
|
|
2691
|
+
value: z.ZodOptional<z.ZodAny>;
|
|
2692
|
+
nextRecord: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2693
|
+
}, z.core.$strip>>;
|
|
2694
|
+
navigation: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2695
|
+
sequential: "sequential";
|
|
2696
|
+
random: "random";
|
|
2697
|
+
filtered: "filtered";
|
|
2698
|
+
}>>>;
|
|
2699
|
+
showProgress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2700
|
+
}, z.core.$strip>>;
|
|
2701
|
+
blankLayout: z.ZodOptional<z.ZodObject<{
|
|
2702
|
+
columns: z.ZodDefault<z.ZodNumber>;
|
|
2703
|
+
rowHeight: z.ZodDefault<z.ZodNumber>;
|
|
2704
|
+
gap: z.ZodDefault<z.ZodNumber>;
|
|
2705
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2706
|
+
componentId: z.ZodString;
|
|
2707
|
+
x: z.ZodNumber;
|
|
2708
|
+
y: z.ZodNumber;
|
|
2709
|
+
width: z.ZodNumber;
|
|
2710
|
+
height: z.ZodNumber;
|
|
2711
|
+
}, z.core.$strip>>;
|
|
2712
|
+
}, z.core.$strip>>;
|
|
6280
2713
|
template: z.ZodDefault<z.ZodString>;
|
|
6281
2714
|
regions: z.ZodArray<z.ZodObject<{
|
|
6282
2715
|
name: z.ZodString;
|
|
@@ -6309,6 +2742,14 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
6309
2742
|
"user:profile": "user:profile";
|
|
6310
2743
|
"ai:chat_window": "ai:chat_window";
|
|
6311
2744
|
"ai:suggestion": "ai:suggestion";
|
|
2745
|
+
"element:text": "element:text";
|
|
2746
|
+
"element:number": "element:number";
|
|
2747
|
+
"element:image": "element:image";
|
|
2748
|
+
"element:divider": "element:divider";
|
|
2749
|
+
"element:button": "element:button";
|
|
2750
|
+
"element:filter": "element:filter";
|
|
2751
|
+
"element:form": "element:form";
|
|
2752
|
+
"element:record_picker": "element:record_picker";
|
|
6312
2753
|
}>, z.ZodString]>;
|
|
6313
2754
|
id: z.ZodOptional<z.ZodString>;
|
|
6314
2755
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -6321,6 +2762,19 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
6321
2762
|
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6322
2763
|
className: z.ZodOptional<z.ZodString>;
|
|
6323
2764
|
visibility: z.ZodOptional<z.ZodString>;
|
|
2765
|
+
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2766
|
+
object: z.ZodString;
|
|
2767
|
+
view: z.ZodOptional<z.ZodString>;
|
|
2768
|
+
filter: z.ZodOptional<z.ZodAny>;
|
|
2769
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2770
|
+
field: z.ZodString;
|
|
2771
|
+
order: z.ZodEnum<{
|
|
2772
|
+
asc: "asc";
|
|
2773
|
+
desc: "desc";
|
|
2774
|
+
}>;
|
|
2775
|
+
}, z.core.$strip>>>;
|
|
2776
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2777
|
+
}, z.core.$strip>>;
|
|
6324
2778
|
responsive: z.ZodOptional<z.ZodObject<{
|
|
6325
2779
|
breakpoint: z.ZodOptional<z.ZodEnum<{
|
|
6326
2780
|
md: "md";
|
|
@@ -6390,12 +2844,35 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
6390
2844
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
6391
2845
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
6392
2846
|
}, z.core.$strip>]>>;
|
|
2847
|
+
header: z.ZodOptional<z.ZodObject<{
|
|
2848
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2849
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
2850
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2851
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2852
|
+
key: z.ZodString;
|
|
2853
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2854
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2855
|
+
}, z.core.$strip>]>;
|
|
2856
|
+
actionUrl: z.ZodString;
|
|
2857
|
+
actionType: z.ZodOptional<z.ZodEnum<{
|
|
2858
|
+
url: "url";
|
|
2859
|
+
modal: "modal";
|
|
2860
|
+
flow: "flow";
|
|
2861
|
+
}>>;
|
|
2862
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2863
|
+
}, z.core.$strip>>>;
|
|
2864
|
+
}, z.core.$strip>>;
|
|
6393
2865
|
widgets: z.ZodArray<z.ZodObject<{
|
|
6394
2866
|
title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
6395
2867
|
key: z.ZodString;
|
|
6396
2868
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
6397
2869
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
6398
2870
|
}, z.core.$strip>]>>;
|
|
2871
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2872
|
+
key: z.ZodString;
|
|
2873
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2874
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2875
|
+
}, z.core.$strip>]>>;
|
|
6399
2876
|
type: z.ZodDefault<z.ZodEnum<{
|
|
6400
2877
|
table: "table";
|
|
6401
2878
|
bar: "bar";
|
|
@@ -6629,6 +3106,23 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
6629
3106
|
role: z.ZodOptional<z.ZodString>;
|
|
6630
3107
|
}, z.core.$strip>>;
|
|
6631
3108
|
}, z.core.$strip>>;
|
|
3109
|
+
colorVariant: z.ZodOptional<z.ZodEnum<{
|
|
3110
|
+
success: "success";
|
|
3111
|
+
default: "default";
|
|
3112
|
+
warning: "warning";
|
|
3113
|
+
blue: "blue";
|
|
3114
|
+
teal: "teal";
|
|
3115
|
+
orange: "orange";
|
|
3116
|
+
purple: "purple";
|
|
3117
|
+
danger: "danger";
|
|
3118
|
+
}>>;
|
|
3119
|
+
actionUrl: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
actionType: z.ZodOptional<z.ZodEnum<{
|
|
3121
|
+
url: "url";
|
|
3122
|
+
modal: "modal";
|
|
3123
|
+
flow: "flow";
|
|
3124
|
+
}>>;
|
|
3125
|
+
actionIcon: z.ZodOptional<z.ZodString>;
|
|
6632
3126
|
object: z.ZodOptional<z.ZodString>;
|
|
6633
3127
|
filter: z.ZodOptional<z.ZodType<FilterCondition, unknown, z.core.$ZodTypeInternals<FilterCondition, unknown>>>;
|
|
6634
3128
|
categoryField: z.ZodOptional<z.ZodString>;
|
|
@@ -6640,6 +3134,22 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
6640
3134
|
min: "min";
|
|
6641
3135
|
max: "max";
|
|
6642
3136
|
}>>>;
|
|
3137
|
+
measures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3138
|
+
valueField: z.ZodString;
|
|
3139
|
+
aggregate: z.ZodDefault<z.ZodEnum<{
|
|
3140
|
+
count: "count";
|
|
3141
|
+
sum: "sum";
|
|
3142
|
+
avg: "avg";
|
|
3143
|
+
min: "min";
|
|
3144
|
+
max: "max";
|
|
3145
|
+
}>>;
|
|
3146
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3147
|
+
key: z.ZodString;
|
|
3148
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3149
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3150
|
+
}, z.core.$strip>]>>;
|
|
3151
|
+
format: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
}, z.core.$strip>>>;
|
|
6643
3153
|
layout: z.ZodObject<{
|
|
6644
3154
|
x: z.ZodNumber;
|
|
6645
3155
|
y: z.ZodNumber;
|
|
@@ -6722,9 +3232,30 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
6722
3232
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6723
3233
|
number: "number";
|
|
6724
3234
|
date: "date";
|
|
3235
|
+
lookup: "lookup";
|
|
6725
3236
|
text: "text";
|
|
6726
3237
|
select: "select";
|
|
6727
3238
|
}>>;
|
|
3239
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3240
|
+
value: z.ZodAny;
|
|
3241
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3242
|
+
key: z.ZodString;
|
|
3243
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3244
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3245
|
+
}, z.core.$strip>]>;
|
|
3246
|
+
}, z.core.$strip>>>;
|
|
3247
|
+
optionsFrom: z.ZodOptional<z.ZodObject<{
|
|
3248
|
+
object: z.ZodString;
|
|
3249
|
+
valueField: z.ZodString;
|
|
3250
|
+
labelField: z.ZodString;
|
|
3251
|
+
filter: z.ZodOptional<z.ZodType<FilterCondition, unknown, z.core.$ZodTypeInternals<FilterCondition, unknown>>>;
|
|
3252
|
+
}, z.core.$strip>>;
|
|
3253
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
3254
|
+
scope: z.ZodDefault<z.ZodEnum<{
|
|
3255
|
+
dashboard: "dashboard";
|
|
3256
|
+
widget: "widget";
|
|
3257
|
+
}>>;
|
|
3258
|
+
targetWidgets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6728
3259
|
}, z.core.$strip>>>;
|
|
6729
3260
|
aria: z.ZodOptional<z.ZodObject<{
|
|
6730
3261
|
ariaLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -8968,8 +5499,8 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
|
|
|
8968
5499
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
8969
5500
|
async: "async";
|
|
8970
5501
|
parallel: "parallel";
|
|
8971
|
-
sync: "sync";
|
|
8972
5502
|
sequential: "sequential";
|
|
5503
|
+
sync: "sync";
|
|
8973
5504
|
}>>;
|
|
8974
5505
|
timeout: z.ZodDefault<z.ZodNumber>;
|
|
8975
5506
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
@@ -9466,8 +5997,8 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
9466
5997
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
9467
5998
|
async: "async";
|
|
9468
5999
|
parallel: "parallel";
|
|
9469
|
-
sync: "sync";
|
|
9470
6000
|
sequential: "sequential";
|
|
6001
|
+
sync: "sync";
|
|
9471
6002
|
}>>;
|
|
9472
6003
|
timeout: z.ZodDefault<z.ZodNumber>;
|
|
9473
6004
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
@@ -10898,6 +7429,23 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
10898
7429
|
requiredPermissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10899
7430
|
objects: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
10900
7431
|
apis: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
7432
|
+
sharing: z.ZodOptional<z.ZodObject<{
|
|
7433
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7434
|
+
publicLink: z.ZodOptional<z.ZodString>;
|
|
7435
|
+
password: z.ZodOptional<z.ZodString>;
|
|
7436
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7437
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
7438
|
+
allowAnonymous: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7439
|
+
}, z.core.$strip>>;
|
|
7440
|
+
embed: z.ZodOptional<z.ZodObject<{
|
|
7441
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7442
|
+
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7443
|
+
width: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7444
|
+
height: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7445
|
+
showHeader: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7446
|
+
showNavigation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7447
|
+
responsive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7448
|
+
}, z.core.$strip>>;
|
|
10901
7449
|
mobileNavigation: z.ZodOptional<z.ZodObject<{
|
|
10902
7450
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
10903
7451
|
drawer: "drawer";
|
|
@@ -11308,6 +7856,14 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
11308
7856
|
desc: "desc";
|
|
11309
7857
|
}>>;
|
|
11310
7858
|
}, z.core.$strip>>>;
|
|
7859
|
+
sharing: z.ZodOptional<z.ZodObject<{
|
|
7860
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7861
|
+
publicLink: z.ZodOptional<z.ZodString>;
|
|
7862
|
+
password: z.ZodOptional<z.ZodString>;
|
|
7863
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7864
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
7865
|
+
allowAnonymous: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7866
|
+
}, z.core.$strip>>;
|
|
11311
7867
|
aria: z.ZodOptional<z.ZodObject<{
|
|
11312
7868
|
ariaLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
11313
7869
|
key: z.ZodString;
|
|
@@ -11709,6 +8265,14 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
11709
8265
|
desc: "desc";
|
|
11710
8266
|
}>>;
|
|
11711
8267
|
}, z.core.$strip>>>;
|
|
8268
|
+
sharing: z.ZodOptional<z.ZodObject<{
|
|
8269
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
8270
|
+
publicLink: z.ZodOptional<z.ZodString>;
|
|
8271
|
+
password: z.ZodOptional<z.ZodString>;
|
|
8272
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8273
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
8274
|
+
allowAnonymous: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8275
|
+
}, z.core.$strip>>;
|
|
11712
8276
|
aria: z.ZodOptional<z.ZodObject<{
|
|
11713
8277
|
ariaLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
11714
8278
|
key: z.ZodString;
|
|
@@ -11732,11 +8296,24 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
11732
8296
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
11733
8297
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
11734
8298
|
}, z.core.$strip>]>>;
|
|
8299
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
11735
8300
|
type: z.ZodDefault<z.ZodEnum<{
|
|
11736
8301
|
record: "record";
|
|
8302
|
+
list: "list";
|
|
8303
|
+
dashboard: "dashboard";
|
|
8304
|
+
grid: "grid";
|
|
8305
|
+
kanban: "kanban";
|
|
8306
|
+
gallery: "gallery";
|
|
8307
|
+
calendar: "calendar";
|
|
8308
|
+
timeline: "timeline";
|
|
8309
|
+
form: "form";
|
|
11737
8310
|
home: "home";
|
|
11738
8311
|
app: "app";
|
|
11739
8312
|
utility: "utility";
|
|
8313
|
+
record_detail: "record_detail";
|
|
8314
|
+
record_review: "record_review";
|
|
8315
|
+
overview: "overview";
|
|
8316
|
+
blank: "blank";
|
|
11740
8317
|
}>>;
|
|
11741
8318
|
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11742
8319
|
name: z.ZodString;
|
|
@@ -11746,10 +8323,54 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
11746
8323
|
boolean: "boolean";
|
|
11747
8324
|
object: "object";
|
|
11748
8325
|
array: "array";
|
|
8326
|
+
record_id: "record_id";
|
|
11749
8327
|
}>>;
|
|
11750
8328
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
8329
|
+
source: z.ZodOptional<z.ZodString>;
|
|
11751
8330
|
}, z.core.$strip>>>;
|
|
11752
8331
|
object: z.ZodOptional<z.ZodString>;
|
|
8332
|
+
recordReview: z.ZodOptional<z.ZodObject<{
|
|
8333
|
+
object: z.ZodString;
|
|
8334
|
+
filter: z.ZodOptional<z.ZodAny>;
|
|
8335
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8336
|
+
field: z.ZodString;
|
|
8337
|
+
order: z.ZodEnum<{
|
|
8338
|
+
asc: "asc";
|
|
8339
|
+
desc: "desc";
|
|
8340
|
+
}>;
|
|
8341
|
+
}, z.core.$strip>>>;
|
|
8342
|
+
displayFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8343
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
8344
|
+
label: z.ZodString;
|
|
8345
|
+
type: z.ZodEnum<{
|
|
8346
|
+
custom: "custom";
|
|
8347
|
+
skip: "skip";
|
|
8348
|
+
approve: "approve";
|
|
8349
|
+
reject: "reject";
|
|
8350
|
+
}>;
|
|
8351
|
+
field: z.ZodOptional<z.ZodString>;
|
|
8352
|
+
value: z.ZodOptional<z.ZodAny>;
|
|
8353
|
+
nextRecord: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8354
|
+
}, z.core.$strip>>;
|
|
8355
|
+
navigation: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
8356
|
+
sequential: "sequential";
|
|
8357
|
+
random: "random";
|
|
8358
|
+
filtered: "filtered";
|
|
8359
|
+
}>>>;
|
|
8360
|
+
showProgress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8361
|
+
}, z.core.$strip>>;
|
|
8362
|
+
blankLayout: z.ZodOptional<z.ZodObject<{
|
|
8363
|
+
columns: z.ZodDefault<z.ZodNumber>;
|
|
8364
|
+
rowHeight: z.ZodDefault<z.ZodNumber>;
|
|
8365
|
+
gap: z.ZodDefault<z.ZodNumber>;
|
|
8366
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8367
|
+
componentId: z.ZodString;
|
|
8368
|
+
x: z.ZodNumber;
|
|
8369
|
+
y: z.ZodNumber;
|
|
8370
|
+
width: z.ZodNumber;
|
|
8371
|
+
height: z.ZodNumber;
|
|
8372
|
+
}, z.core.$strip>>;
|
|
8373
|
+
}, z.core.$strip>>;
|
|
11753
8374
|
template: z.ZodDefault<z.ZodString>;
|
|
11754
8375
|
regions: z.ZodArray<z.ZodObject<{
|
|
11755
8376
|
name: z.ZodString;
|
|
@@ -11782,6 +8403,14 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
11782
8403
|
"user:profile": "user:profile";
|
|
11783
8404
|
"ai:chat_window": "ai:chat_window";
|
|
11784
8405
|
"ai:suggestion": "ai:suggestion";
|
|
8406
|
+
"element:text": "element:text";
|
|
8407
|
+
"element:number": "element:number";
|
|
8408
|
+
"element:image": "element:image";
|
|
8409
|
+
"element:divider": "element:divider";
|
|
8410
|
+
"element:button": "element:button";
|
|
8411
|
+
"element:filter": "element:filter";
|
|
8412
|
+
"element:form": "element:form";
|
|
8413
|
+
"element:record_picker": "element:record_picker";
|
|
11785
8414
|
}>, z.ZodString]>;
|
|
11786
8415
|
id: z.ZodOptional<z.ZodString>;
|
|
11787
8416
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -11794,6 +8423,19 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
11794
8423
|
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11795
8424
|
className: z.ZodOptional<z.ZodString>;
|
|
11796
8425
|
visibility: z.ZodOptional<z.ZodString>;
|
|
8426
|
+
dataSource: z.ZodOptional<z.ZodObject<{
|
|
8427
|
+
object: z.ZodString;
|
|
8428
|
+
view: z.ZodOptional<z.ZodString>;
|
|
8429
|
+
filter: z.ZodOptional<z.ZodAny>;
|
|
8430
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8431
|
+
field: z.ZodString;
|
|
8432
|
+
order: z.ZodEnum<{
|
|
8433
|
+
asc: "asc";
|
|
8434
|
+
desc: "desc";
|
|
8435
|
+
}>;
|
|
8436
|
+
}, z.core.$strip>>>;
|
|
8437
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8438
|
+
}, z.core.$strip>>;
|
|
11797
8439
|
responsive: z.ZodOptional<z.ZodObject<{
|
|
11798
8440
|
breakpoint: z.ZodOptional<z.ZodEnum<{
|
|
11799
8441
|
md: "md";
|
|
@@ -11863,12 +8505,35 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
11863
8505
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
11864
8506
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
11865
8507
|
}, z.core.$strip>]>>;
|
|
8508
|
+
header: z.ZodOptional<z.ZodObject<{
|
|
8509
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
8510
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
8511
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8512
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8513
|
+
key: z.ZodString;
|
|
8514
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
8515
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
8516
|
+
}, z.core.$strip>]>;
|
|
8517
|
+
actionUrl: z.ZodString;
|
|
8518
|
+
actionType: z.ZodOptional<z.ZodEnum<{
|
|
8519
|
+
url: "url";
|
|
8520
|
+
modal: "modal";
|
|
8521
|
+
flow: "flow";
|
|
8522
|
+
}>>;
|
|
8523
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
8524
|
+
}, z.core.$strip>>>;
|
|
8525
|
+
}, z.core.$strip>>;
|
|
11866
8526
|
widgets: z.ZodArray<z.ZodObject<{
|
|
11867
8527
|
title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
11868
8528
|
key: z.ZodString;
|
|
11869
8529
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
11870
8530
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
11871
8531
|
}, z.core.$strip>]>>;
|
|
8532
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8533
|
+
key: z.ZodString;
|
|
8534
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
8535
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
8536
|
+
}, z.core.$strip>]>>;
|
|
11872
8537
|
type: z.ZodDefault<z.ZodEnum<{
|
|
11873
8538
|
table: "table";
|
|
11874
8539
|
bar: "bar";
|
|
@@ -12102,6 +8767,23 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
12102
8767
|
role: z.ZodOptional<z.ZodString>;
|
|
12103
8768
|
}, z.core.$strip>>;
|
|
12104
8769
|
}, z.core.$strip>>;
|
|
8770
|
+
colorVariant: z.ZodOptional<z.ZodEnum<{
|
|
8771
|
+
success: "success";
|
|
8772
|
+
default: "default";
|
|
8773
|
+
warning: "warning";
|
|
8774
|
+
blue: "blue";
|
|
8775
|
+
teal: "teal";
|
|
8776
|
+
orange: "orange";
|
|
8777
|
+
purple: "purple";
|
|
8778
|
+
danger: "danger";
|
|
8779
|
+
}>>;
|
|
8780
|
+
actionUrl: z.ZodOptional<z.ZodString>;
|
|
8781
|
+
actionType: z.ZodOptional<z.ZodEnum<{
|
|
8782
|
+
url: "url";
|
|
8783
|
+
modal: "modal";
|
|
8784
|
+
flow: "flow";
|
|
8785
|
+
}>>;
|
|
8786
|
+
actionIcon: z.ZodOptional<z.ZodString>;
|
|
12105
8787
|
object: z.ZodOptional<z.ZodString>;
|
|
12106
8788
|
filter: z.ZodOptional<z.ZodType<FilterCondition, unknown, z.core.$ZodTypeInternals<FilterCondition, unknown>>>;
|
|
12107
8789
|
categoryField: z.ZodOptional<z.ZodString>;
|
|
@@ -12113,6 +8795,22 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
12113
8795
|
min: "min";
|
|
12114
8796
|
max: "max";
|
|
12115
8797
|
}>>>;
|
|
8798
|
+
measures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8799
|
+
valueField: z.ZodString;
|
|
8800
|
+
aggregate: z.ZodDefault<z.ZodEnum<{
|
|
8801
|
+
count: "count";
|
|
8802
|
+
sum: "sum";
|
|
8803
|
+
avg: "avg";
|
|
8804
|
+
min: "min";
|
|
8805
|
+
max: "max";
|
|
8806
|
+
}>>;
|
|
8807
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8808
|
+
key: z.ZodString;
|
|
8809
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
8810
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
8811
|
+
}, z.core.$strip>]>>;
|
|
8812
|
+
format: z.ZodOptional<z.ZodString>;
|
|
8813
|
+
}, z.core.$strip>>>;
|
|
12116
8814
|
layout: z.ZodObject<{
|
|
12117
8815
|
x: z.ZodNumber;
|
|
12118
8816
|
y: z.ZodNumber;
|
|
@@ -12195,9 +8893,30 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
12195
8893
|
type: z.ZodOptional<z.ZodEnum<{
|
|
12196
8894
|
number: "number";
|
|
12197
8895
|
date: "date";
|
|
8896
|
+
lookup: "lookup";
|
|
12198
8897
|
text: "text";
|
|
12199
8898
|
select: "select";
|
|
12200
8899
|
}>>;
|
|
8900
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8901
|
+
value: z.ZodAny;
|
|
8902
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8903
|
+
key: z.ZodString;
|
|
8904
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
8905
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
8906
|
+
}, z.core.$strip>]>;
|
|
8907
|
+
}, z.core.$strip>>>;
|
|
8908
|
+
optionsFrom: z.ZodOptional<z.ZodObject<{
|
|
8909
|
+
object: z.ZodString;
|
|
8910
|
+
valueField: z.ZodString;
|
|
8911
|
+
labelField: z.ZodString;
|
|
8912
|
+
filter: z.ZodOptional<z.ZodType<FilterCondition, unknown, z.core.$ZodTypeInternals<FilterCondition, unknown>>>;
|
|
8913
|
+
}, z.core.$strip>>;
|
|
8914
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
8915
|
+
scope: z.ZodDefault<z.ZodEnum<{
|
|
8916
|
+
dashboard: "dashboard";
|
|
8917
|
+
widget: "widget";
|
|
8918
|
+
}>>;
|
|
8919
|
+
targetWidgets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12201
8920
|
}, z.core.$strip>>>;
|
|
12202
8921
|
aria: z.ZodOptional<z.ZodObject<{
|
|
12203
8922
|
ariaLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -14441,8 +11160,8 @@ declare const ObjectStackSchema: z.ZodObject<{
|
|
|
14441
11160
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
14442
11161
|
async: "async";
|
|
14443
11162
|
parallel: "parallel";
|
|
14444
|
-
sync: "sync";
|
|
14445
11163
|
sequential: "sequential";
|
|
11164
|
+
sync: "sync";
|
|
14446
11165
|
}>>;
|
|
14447
11166
|
timeout: z.ZodDefault<z.ZodNumber>;
|
|
14448
11167
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
@@ -14679,6 +11398,67 @@ interface DefineStackOptions {
|
|
|
14679
11398
|
* ```
|
|
14680
11399
|
*/
|
|
14681
11400
|
declare function defineStack(config: ObjectStackDefinitionInput, options?: DefineStackOptions): ObjectStackDefinition;
|
|
11401
|
+
/**
|
|
11402
|
+
* Strategy for resolving conflicts when multiple stacks define the same named item.
|
|
11403
|
+
*
|
|
11404
|
+
* - `'error'` — Throw an error when a duplicate name is detected (default).
|
|
11405
|
+
* - `'override'` — Last stack wins; later definitions replace earlier ones.
|
|
11406
|
+
* - `'merge'` — Shallow-merge items with the same name (later fields win).
|
|
11407
|
+
*/
|
|
11408
|
+
declare const ConflictStrategySchema: z.ZodEnum<{
|
|
11409
|
+
error: "error";
|
|
11410
|
+
override: "override";
|
|
11411
|
+
merge: "merge";
|
|
11412
|
+
}>;
|
|
11413
|
+
type ConflictStrategy = z.infer<typeof ConflictStrategySchema>;
|
|
11414
|
+
/**
|
|
11415
|
+
* Options for {@link composeStacks}.
|
|
11416
|
+
*/
|
|
11417
|
+
declare const ComposeStacksOptionsSchema: z.ZodObject<{
|
|
11418
|
+
objectConflict: z.ZodDefault<z.ZodEnum<{
|
|
11419
|
+
error: "error";
|
|
11420
|
+
override: "override";
|
|
11421
|
+
merge: "merge";
|
|
11422
|
+
}>>;
|
|
11423
|
+
manifest: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11424
|
+
first: "first";
|
|
11425
|
+
last: "last";
|
|
11426
|
+
}>, z.ZodNumber]>>;
|
|
11427
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
11428
|
+
}, z.core.$strip>;
|
|
11429
|
+
type ComposeStacksOptions = z.input<typeof ComposeStacksOptionsSchema>;
|
|
11430
|
+
/**
|
|
11431
|
+
* Declaratively compose multiple stack definitions into a single unified stack.
|
|
11432
|
+
*
|
|
11433
|
+
* This eliminates the manual `...spread` merging pattern when combining
|
|
11434
|
+
* multiple applications (e.g., CRM + Todo + BI) into a single project.
|
|
11435
|
+
*
|
|
11436
|
+
* **Array fields** (apps, views, dashboards, etc.) are concatenated in order.
|
|
11437
|
+
* **Objects** are merged according to the `objectConflict` strategy.
|
|
11438
|
+
* **Manifest** is selected based on the `manifest` option.
|
|
11439
|
+
*
|
|
11440
|
+
* @param stacks - Stack definitions to compose (order matters for conflict resolution)
|
|
11441
|
+
* @param options - Composition options (conflict strategy, manifest selection, etc.)
|
|
11442
|
+
* @returns A single merged `ObjectStackDefinition`
|
|
11443
|
+
*
|
|
11444
|
+
* @example
|
|
11445
|
+
* ```ts
|
|
11446
|
+
* import { composeStacks, defineStack } from '@objectstack/spec';
|
|
11447
|
+
*
|
|
11448
|
+
* const crm = defineStack({ ... });
|
|
11449
|
+
* const todo = defineStack({ ... });
|
|
11450
|
+
*
|
|
11451
|
+
* // Simple composition — throws on duplicate objects
|
|
11452
|
+
* const combined = composeStacks([crm, todo]);
|
|
11453
|
+
*
|
|
11454
|
+
* // Override strategy — later stacks win
|
|
11455
|
+
* const combined = composeStacks([crm, todo], { objectConflict: 'override' });
|
|
11456
|
+
*
|
|
11457
|
+
* // Merge strategy — fields from later stacks are shallow-merged
|
|
11458
|
+
* const combined = composeStacks([crm, todo], { objectConflict: 'merge' });
|
|
11459
|
+
* ```
|
|
11460
|
+
*/
|
|
11461
|
+
declare function composeStacks(stacks: ObjectStackDefinition[], options?: ComposeStacksOptions): ObjectStackDefinition;
|
|
14682
11462
|
/**
|
|
14683
11463
|
* 2. RUNTIME CAPABILITIES PROTOCOL (Dynamic)
|
|
14684
11464
|
* ----------------------------------------------------------------------
|
|
@@ -15055,4 +11835,4 @@ type ObjectUICapabilities = z.infer<typeof ObjectUICapabilitiesSchema>;
|
|
|
15055
11835
|
type ObjectOSCapabilities = z.infer<typeof ObjectOSCapabilitiesSchema>;
|
|
15056
11836
|
type ObjectStackCapabilities = z.infer<typeof ObjectStackCapabilitiesSchema>;
|
|
15057
11837
|
|
|
15058
|
-
export {
|
|
11838
|
+
export { type ComposeStacksOptions, ComposeStacksOptionsSchema, type ConflictStrategy, ConflictStrategySchema, type DefineStackOptions, MapSupportedField, MetadataCollectionInput, type ObjectOSCapabilities, ObjectOSCapabilitiesSchema, type ObjectQLCapabilities, ObjectQLCapabilitiesSchema, type ObjectStack, type ObjectStackCapabilities, ObjectStackCapabilitiesSchema, type ObjectStackDefinition, type ObjectStackDefinitionInput, ObjectStackDefinitionSchema, ObjectStackSchema, type ObjectUICapabilities, ObjectUICapabilitiesSchema, composeStacks, defineStack };
|