@objectstack/spec 0.3.2 → 0.4.1
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/README.md +32 -10
- package/dist/ai/agent.zod.d.ts +12 -12
- package/dist/ai/conversation.zod.d.ts +54 -54
- package/dist/ai/cost.zod.d.ts +135 -135
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +1 -1
- package/dist/ai/model-registry.zod.d.ts +91 -91
- package/dist/ai/nlq.zod.d.ts +72 -72
- package/dist/ai/{workflow-automation.zod.d.ts → orchestration.zod.d.ts} +51 -50
- package/dist/ai/orchestration.zod.d.ts.map +1 -0
- package/dist/ai/{workflow-automation.zod.js → orchestration.zod.js} +26 -25
- package/dist/ai/predictive.zod.d.ts +27 -27
- package/dist/ai/rag-pipeline.zod.d.ts +102 -102
- package/dist/api/contract.zod.d.ts +213 -197
- package/dist/api/contract.zod.d.ts.map +1 -1
- package/dist/{system → api}/discovery.zod.d.ts +26 -26
- package/dist/api/discovery.zod.d.ts.map +1 -0
- package/dist/{system → api}/discovery.zod.js +9 -9
- package/dist/{system/api.zod.d.ts → api/endpoint.zod.d.ts} +53 -57
- package/dist/api/endpoint.zod.d.ts.map +1 -0
- package/dist/{system/api.zod.js → api/endpoint.zod.js} +3 -6
- package/dist/api/index.d.ts +6 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +6 -0
- package/dist/api/odata.zod.d.ts +482 -0
- package/dist/api/odata.zod.d.ts.map +1 -0
- package/dist/api/odata.zod.js +401 -0
- package/dist/{system → api}/realtime.zod.d.ts +4 -4
- package/dist/api/realtime.zod.d.ts.map +1 -0
- package/dist/api/router.zod.d.ts +182 -0
- package/dist/api/router.zod.d.ts.map +1 -0
- package/dist/api/router.zod.js +103 -0
- package/dist/{system/auth.zod.d.ts → auth/config.zod.d.ts} +199 -199
- package/dist/auth/config.zod.d.ts.map +1 -0
- package/dist/{system → auth}/identity.zod.d.ts +8 -8
- package/dist/auth/identity.zod.d.ts.map +1 -0
- package/dist/auth/index.d.ts +8 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +23 -0
- package/dist/{system → auth}/organization.zod.d.ts +7 -7
- package/dist/auth/organization.zod.d.ts.map +1 -0
- package/dist/{system → auth}/policy.zod.d.ts +3 -3
- package/dist/auth/policy.zod.d.ts.map +1 -0
- package/dist/{system/auth-protocol.d.ts → auth/protocol.d.ts} +1 -1
- package/dist/auth/protocol.d.ts.map +1 -0
- package/dist/{system → auth}/role.zod.d.ts +14 -0
- package/dist/auth/role.zod.d.ts.map +1 -0
- package/dist/{system → auth}/role.zod.js +16 -1
- package/dist/auth/scim.zod.d.ts +2732 -0
- package/dist/auth/scim.zod.d.ts.map +1 -0
- package/dist/auth/scim.zod.js +811 -0
- package/dist/automation/approval.zod.d.ts +643 -0
- package/dist/automation/approval.zod.d.ts.map +1 -0
- package/dist/automation/approval.zod.js +84 -0
- package/dist/automation/connector.zod.d.ts +1284 -0
- package/dist/automation/connector.zod.d.ts.map +1 -0
- package/dist/automation/connector.zod.js +500 -0
- package/dist/automation/etl.zod.d.ts +623 -0
- package/dist/automation/etl.zod.d.ts.map +1 -0
- package/dist/automation/etl.zod.js +359 -0
- package/dist/{data → automation}/flow.zod.d.ts +40 -22
- package/dist/automation/flow.zod.d.ts.map +1 -0
- package/dist/{data → automation}/flow.zod.js +6 -1
- package/dist/automation/index.d.ts +8 -0
- package/dist/automation/index.d.ts.map +1 -0
- package/dist/automation/index.js +23 -0
- package/dist/automation/sync.zod.d.ts +854 -0
- package/dist/automation/sync.zod.d.ts.map +1 -0
- package/dist/automation/sync.zod.js +444 -0
- package/dist/{system → automation}/webhook.zod.d.ts +26 -3
- package/dist/automation/webhook.zod.d.ts.map +1 -0
- package/dist/{system → automation}/webhook.zod.js +27 -3
- package/dist/automation/workflow.zod.d.ts +2059 -0
- package/dist/automation/workflow.zod.d.ts.map +1 -0
- package/dist/{data → automation}/workflow.zod.js +40 -2
- package/dist/data/dataset.zod.d.ts +2 -2
- package/dist/data/field.zod.d.ts +779 -219
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +128 -16
- package/dist/data/filter.zod.d.ts +167 -30
- package/dist/data/filter.zod.d.ts.map +1 -1
- package/dist/data/filter.zod.js +25 -13
- package/dist/data/hook.zod.d.ts +191 -0
- package/dist/data/hook.zod.d.ts.map +1 -0
- package/dist/data/hook.zod.js +144 -0
- package/dist/data/index.d.ts +4 -17
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/index.js +4 -17
- package/dist/data/mapping.zod.d.ts +117 -93
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/mapping.zod.js +16 -3
- package/dist/data/object.zod.d.ts +485 -131
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +87 -42
- package/dist/data/query.zod.d.ts +98 -169
- package/dist/data/query.zod.d.ts.map +1 -1
- package/dist/data/query.zod.js +42 -130
- package/dist/data/validation.zod.d.ts +166 -26
- package/dist/data/validation.zod.d.ts.map +1 -1
- package/dist/data/validation.zod.js +38 -16
- package/dist/hub/composer.zod.d.ts +871 -0
- package/dist/hub/composer.zod.d.ts.map +1 -0
- package/dist/hub/composer.zod.js +111 -0
- package/dist/hub/index.d.ts +6 -0
- package/dist/hub/index.d.ts.map +1 -0
- package/dist/hub/index.js +22 -0
- package/dist/{system → hub}/license.zod.d.ts +13 -9
- package/dist/hub/license.zod.d.ts.map +1 -0
- package/dist/{system → hub}/license.zod.js +5 -3
- package/dist/hub/marketplace.zod.d.ts +191 -0
- package/dist/hub/marketplace.zod.d.ts.map +1 -0
- package/dist/hub/marketplace.zod.js +85 -0
- package/dist/hub/space.zod.d.ts +383 -0
- package/dist/hub/space.zod.d.ts.map +1 -0
- package/dist/hub/space.zod.js +103 -0
- package/dist/{system → hub}/tenant.zod.d.ts +73 -47
- package/dist/hub/tenant.zod.d.ts.map +1 -0
- package/dist/{system → hub}/tenant.zod.js +36 -10
- package/dist/index.d.ts +11 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -5
- package/dist/permission/index.d.ts +14 -0
- package/dist/permission/index.d.ts.map +1 -0
- package/dist/permission/index.js +29 -0
- package/dist/{data → permission}/permission.zod.d.ts +48 -3
- package/dist/permission/permission.zod.d.ts.map +1 -0
- package/dist/{data → permission}/permission.zod.js +26 -2
- package/dist/permission/rls.zod.d.ts +605 -0
- package/dist/permission/rls.zod.d.ts.map +1 -0
- package/dist/permission/rls.zod.js +615 -0
- package/dist/permission/sharing.zod.d.ts +146 -0
- package/dist/permission/sharing.zod.d.ts.map +1 -0
- package/dist/permission/sharing.zod.js +88 -0
- package/dist/{system → permission}/territory.zod.d.ts +13 -0
- package/dist/permission/territory.zod.d.ts.map +1 -0
- package/dist/{system → permission}/territory.zod.js +15 -1
- package/dist/shared/identifiers.zod.d.ts +87 -0
- package/dist/shared/identifiers.zod.d.ts.map +1 -0
- package/dist/shared/identifiers.zod.js +101 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +21 -0
- package/dist/stack.zod.d.ts +19869 -0
- package/dist/stack.zod.d.ts.map +1 -0
- package/dist/stack.zod.js +248 -0
- package/dist/system/audit.zod.d.ts +58 -58
- package/dist/system/context.zod.d.ts +56 -0
- package/dist/system/context.zod.d.ts.map +1 -0
- package/dist/system/context.zod.js +43 -0
- package/dist/system/datasource.zod.d.ts +40 -6
- package/dist/system/datasource.zod.d.ts.map +1 -1
- package/dist/system/datasource.zod.js +17 -13
- package/dist/system/driver/mongo.zod.d.ts +107 -0
- package/dist/system/driver/mongo.zod.d.ts.map +1 -0
- package/dist/system/driver/mongo.zod.js +80 -0
- package/dist/system/driver/postgres.zod.d.ts +134 -0
- package/dist/system/driver/postgres.zod.d.ts.map +1 -0
- package/dist/system/driver/postgres.zod.js +88 -0
- package/dist/system/driver.zod.d.ts +2249 -488
- package/dist/system/driver.zod.d.ts.map +1 -1
- package/dist/system/driver.zod.js +99 -0
- package/dist/system/events.zod.d.ts +8 -5
- package/dist/system/events.zod.d.ts.map +1 -1
- package/dist/system/events.zod.js +5 -1
- package/dist/system/feature.zod.d.ts +131 -0
- package/dist/system/feature.zod.d.ts.map +1 -0
- package/dist/system/feature.zod.js +45 -0
- package/dist/system/index.d.ts +11 -20
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +15 -20
- package/dist/system/job.zod.d.ts +5 -5
- package/dist/system/logger.zod.d.ts +111 -0
- package/dist/system/logger.zod.d.ts.map +1 -0
- package/dist/system/logger.zod.js +75 -0
- package/dist/system/manifest.zod.d.ts +136 -18
- package/dist/system/manifest.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.js +28 -0
- package/dist/system/plugin.zod.d.ts +598 -318
- package/dist/system/plugin.zod.d.ts.map +1 -1
- package/dist/system/plugin.zod.js +13 -0
- package/dist/system/scoped-storage.zod.d.ts +81 -0
- package/dist/system/scoped-storage.zod.d.ts.map +1 -0
- package/dist/system/scoped-storage.zod.js +66 -0
- package/dist/ui/action.zod.d.ts +42 -17
- package/dist/ui/action.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.js +30 -1
- package/dist/ui/app.zod.d.ts +26 -11
- package/dist/ui/app.zod.d.ts.map +1 -1
- package/dist/ui/app.zod.js +32 -4
- package/dist/ui/block.zod.d.ts +265 -0
- package/dist/ui/block.zod.d.ts.map +1 -0
- package/dist/ui/block.zod.js +90 -0
- package/dist/ui/component.zod.d.ts +265 -0
- package/dist/ui/component.zod.d.ts.map +1 -0
- package/dist/ui/component.zod.js +90 -0
- package/dist/ui/dashboard.zod.d.ts +15 -15
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.js +18 -8
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +1 -0
- package/dist/ui/page.zod.d.ts +23 -5
- package/dist/ui/page.zod.d.ts.map +1 -1
- package/dist/ui/page.zod.js +37 -4
- package/dist/ui/report.zod.d.ts +12 -12
- package/dist/ui/theme.zod.d.ts +42 -42
- package/dist/ui/view.zod.d.ts +302 -290
- package/dist/ui/view.zod.d.ts.map +1 -1
- package/dist/ui/view.zod.js +32 -3
- package/dist/ui/widget.zod.d.ts +730 -29
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/dist/ui/widget.zod.js +294 -1
- package/json-schema/ai/{AIWorkflowAutomation.json → AIOrchestration.json} +5 -5
- package/json-schema/ai/{AIWorkflowExecutionResult.json → AIOrchestrationExecutionResult.json} +2 -2
- package/json-schema/ai/{AIWorkflowTrigger.json → AIOrchestrationTrigger.json} +2 -2
- package/json-schema/ai/{BatchAIWorkflowExecution.json → BatchAIOrchestrationExecution.json} +3 -3
- package/json-schema/{system → api}/ApiEndpoint.json +3 -1
- package/json-schema/{system → api}/ApiRoutes.json +7 -7
- package/json-schema/{system → api}/Discovery.json +7 -7
- package/json-schema/api/ExportRequest.json +402 -438
- package/json-schema/{system → api}/HttpMethod.json +3 -1
- package/json-schema/api/ODataError.json +65 -0
- package/json-schema/api/ODataFilterFunction.json +39 -0
- package/json-schema/api/ODataFilterOperator.json +24 -0
- package/json-schema/api/ODataMetadata.json +115 -0
- package/json-schema/api/ODataQuery.json +89 -0
- package/json-schema/api/ODataResponse.json +37 -0
- package/json-schema/api/RouteCategory.json +17 -0
- package/json-schema/api/RouteDefinition.json +77 -0
- package/json-schema/api/RouterConfig.json +117 -0
- package/json-schema/{system → auth}/Role.json +3 -2
- package/json-schema/auth/SCIMAddress.json +50 -0
- package/json-schema/auth/SCIMEmail.json +38 -0
- package/json-schema/auth/SCIMEnterpriseUser.json +55 -0
- package/json-schema/auth/SCIMError.json +52 -0
- package/json-schema/auth/SCIMGroup.json +102 -0
- package/json-schema/auth/SCIMGroupReference.json +36 -0
- package/json-schema/auth/SCIMListResponse.json +606 -0
- package/json-schema/auth/SCIMMemberReference.json +36 -0
- package/json-schema/auth/SCIMMeta.json +35 -0
- package/json-schema/auth/SCIMName.json +36 -0
- package/json-schema/auth/SCIMPatchOperation.json +31 -0
- package/json-schema/auth/SCIMPatchRequest.json +56 -0
- package/json-schema/auth/SCIMPhoneNumber.json +40 -0
- package/json-schema/auth/SCIMUser.json +462 -0
- package/json-schema/automation/ApprovalAction.json +35 -0
- package/json-schema/automation/ApprovalActionType.json +15 -0
- package/json-schema/automation/ApprovalProcess.json +326 -0
- package/json-schema/automation/ApprovalStep.json +147 -0
- package/json-schema/automation/ApproverType.json +16 -0
- package/json-schema/automation/AuthField.json +73 -0
- package/json-schema/automation/Authentication.json +159 -0
- package/json-schema/automation/AuthenticationType.json +18 -0
- package/json-schema/automation/ConflictResolution.json +16 -0
- package/json-schema/automation/Connector.json +440 -0
- package/json-schema/automation/ConnectorCategory.json +26 -0
- package/json-schema/automation/ConnectorInstance.json +69 -0
- package/json-schema/automation/ConnectorOperation.json +117 -0
- package/json-schema/automation/ConnectorTrigger.json +54 -0
- package/json-schema/automation/DataDestinationConfig.json +89 -0
- package/json-schema/automation/DataSourceConfig.json +34 -0
- package/json-schema/automation/DataSyncConfig.json +355 -0
- package/json-schema/automation/ETLDestination.json +57 -0
- package/json-schema/automation/ETLEndpointType.json +19 -0
- package/json-schema/automation/ETLPipeline.json +252 -0
- package/json-schema/automation/ETLPipelineRun.json +107 -0
- package/json-schema/automation/ETLRunStatus.json +17 -0
- package/json-schema/automation/ETLSource.json +60 -0
- package/json-schema/{data/LogicOperator.json → automation/ETLSyncMode.json} +5 -5
- package/json-schema/automation/ETLTransformation.json +46 -0
- package/json-schema/automation/ETLTransformationType.json +21 -0
- package/json-schema/automation/FieldMapping.json +36 -0
- package/json-schema/{data → automation}/Flow.json +31 -1
- package/json-schema/{data → automation}/FlowEdge.json +9 -0
- package/json-schema/automation/OAuth2Config.json +43 -0
- package/json-schema/automation/OperationParameter.json +59 -0
- package/json-schema/automation/OperationType.json +17 -0
- package/json-schema/automation/SyncDirection.json +14 -0
- package/json-schema/automation/SyncExecutionResult.json +135 -0
- package/json-schema/automation/SyncExecutionStatus.json +17 -0
- package/json-schema/{data/TriggerTiming.json → automation/SyncMode.json} +5 -4
- package/json-schema/{data/WorkflowRule.json → automation/TimeTrigger.json} +35 -25
- package/json-schema/{system → automation}/Webhook.json +3 -1
- package/json-schema/{system → automation}/WebhookReceiver.json +3 -1
- package/json-schema/automation/WorkflowRule.json +1032 -0
- package/json-schema/data/AggregationNode.json +23 -0
- package/json-schema/data/AsyncValidation.json +49 -2
- package/json-schema/data/ComparisonOperator.json +52 -0
- package/json-schema/data/ConditionalValidation.json +693 -46
- package/json-schema/data/CrossFieldValidation.json +33 -2
- package/json-schema/data/CurrencyConfig.json +35 -0
- package/json-schema/data/CurrencyValue.json +26 -0
- package/json-schema/data/CustomValidator.json +37 -10
- package/json-schema/data/Field.json +92 -4
- package/json-schema/data/FieldOperators.json +78 -0
- package/json-schema/data/FieldReference.json +19 -0
- package/json-schema/data/FieldType.json +12 -2
- package/json-schema/data/FormatValidation.json +33 -2
- package/json-schema/data/Hook.json +95 -0
- package/json-schema/data/HookContext.json +88 -0
- package/json-schema/data/HookEvent.json +29 -0
- package/json-schema/data/Index.json +10 -0
- package/json-schema/data/JSONValidation.json +85 -0
- package/json-schema/data/JoinNode.json +197 -213
- package/json-schema/data/JoinStrategy.json +15 -0
- package/json-schema/data/NormalizedFilter.json +234 -0
- package/json-schema/data/Object.json +1642 -32
- package/json-schema/data/ObjectCapabilities.json +30 -12
- package/json-schema/data/Query.json +246 -262
- package/json-schema/data/RangeOperator.json +26 -0
- package/json-schema/data/ScriptValidation.json +33 -2
- package/json-schema/data/SearchConfig.json +36 -0
- package/json-schema/data/SelectOption.json +4 -2
- package/json-schema/data/StateMachineValidation.json +33 -2
- package/json-schema/data/UniquenessValidation.json +33 -2
- package/json-schema/data/ValidationRule.json +693 -46
- package/json-schema/data/VectorConfig.json +51 -0
- package/json-schema/hub/BillOfMaterials.json +70 -0
- package/json-schema/hub/ComposerRequest.json +86 -0
- package/json-schema/hub/ComposerResponse.json +483 -0
- package/json-schema/hub/ConflictReport.json +53 -0
- package/json-schema/hub/DependencyRequirement.json +36 -0
- package/json-schema/hub/DeploymentTarget.json +38 -0
- package/json-schema/hub/HubSpace.json +279 -0
- package/json-schema/{system → hub}/License.json +11 -3
- package/json-schema/hub/MarketplacePlugin.json +141 -0
- package/json-schema/hub/PluginAuthor.json +26 -0
- package/json-schema/hub/PluginPricing.json +43 -0
- package/json-schema/hub/SpaceSubscription.json +77 -0
- package/json-schema/hub/SubscriptionStatus.json +16 -0
- package/json-schema/{system → hub}/Tenant.json +3 -5
- package/json-schema/permission/CriteriaSharingRule.json +82 -0
- package/json-schema/{data → permission}/OWDModel.json +2 -1
- package/json-schema/{data → permission}/ObjectPermission.json +15 -0
- package/json-schema/permission/OwnerSharingRule.json +102 -0
- package/json-schema/{data → permission}/PermissionSet.json +18 -1
- package/json-schema/permission/RLSConfig.json +59 -0
- package/json-schema/permission/RLSEvaluationResult.json +40 -0
- package/json-schema/{data/TriggerAction.json → permission/RLSOperation.json} +5 -3
- package/json-schema/permission/RLSUserContext.json +51 -0
- package/json-schema/permission/RowLevelSecurityPolicy.json +77 -0
- package/json-schema/permission/ShareRecipientType.json +16 -0
- package/json-schema/{data → permission}/SharingLevel.json +2 -1
- package/json-schema/permission/SharingRule.json +182 -0
- package/json-schema/{data → permission}/SharingRuleType.json +1 -3
- package/json-schema/{system → permission}/Territory.json +3 -1
- package/json-schema/shared/EventName.json +12 -0
- package/json-schema/shared/SnakeCaseIdentifier.json +12 -0
- package/json-schema/shared/SystemIdentifier.json +12 -0
- package/json-schema/system/Datasource.json +35 -0
- package/json-schema/system/DriverCapabilities.json +10 -0
- package/json-schema/system/DriverInterface.json +10 -0
- package/json-schema/system/DriverOptions.json +11 -0
- package/json-schema/system/Event.json +3 -2
- package/json-schema/system/FeatureFlag.json +87 -0
- package/json-schema/system/FeatureStrategy.json +16 -0
- package/json-schema/system/FileMetadata.json +43 -0
- package/json-schema/system/KernelContext.json +62 -0
- package/json-schema/system/LogEntry.json +63 -0
- package/json-schema/system/LogFormat.json +15 -0
- package/json-schema/system/LogLevel.json +17 -0
- package/json-schema/system/LoggerConfig.json +70 -0
- package/json-schema/system/Manifest.json +80 -0
- package/json-schema/system/MongoConfig.json +82 -0
- package/json-schema/system/PluginContext.json +8 -1
- package/json-schema/system/PostgresConfig.json +98 -0
- package/json-schema/system/RuntimeMode.json +16 -0
- package/json-schema/system/ScopedStorageConfig.json +54 -0
- package/json-schema/system/StorageAdapterType.json +17 -0
- package/json-schema/system/StorageScope.json +18 -0
- package/json-schema/ui/Action.json +25 -4
- package/json-schema/ui/ActionParam.json +12 -2
- package/json-schema/ui/App.json +18 -7
- package/json-schema/ui/ChartType.json +9 -1
- package/json-schema/ui/Dashboard.json +9 -1
- package/json-schema/ui/DashboardNavItem.json +3 -1
- package/json-schema/ui/DashboardWidget.json +9 -1
- package/json-schema/ui/FieldWidgetProps.json +92 -4
- package/json-schema/ui/FormView.json +4 -1
- package/json-schema/ui/GroupNavItem.json +3 -1
- package/json-schema/ui/ListView.json +7 -1
- package/json-schema/ui/NavigationItem.json +15 -5
- package/json-schema/ui/ObjectNavItem.json +3 -1
- package/json-schema/ui/Page.json +36 -4
- package/json-schema/ui/PageCardProps.json +32 -0
- package/json-schema/ui/PageComponent.json +33 -3
- package/json-schema/ui/PageComponentType.json +32 -0
- package/json-schema/ui/PageHeaderProps.json +39 -0
- package/json-schema/ui/PageNavItem.json +3 -1
- package/json-schema/ui/PageRegion.json +33 -3
- package/json-schema/ui/PageTabsProps.json +55 -0
- package/json-schema/ui/RecordDetailsProps.json +37 -0
- package/json-schema/ui/RecordHighlightsProps.json +24 -0
- package/json-schema/ui/RecordRelatedListProps.json +39 -0
- package/json-schema/ui/UrlNavItem.json +3 -1
- package/json-schema/ui/View.json +22 -4
- package/json-schema/ui/WidgetEvent.json +42 -0
- package/json-schema/ui/WidgetLifecycle.json +40 -0
- package/json-schema/ui/WidgetManifest.json +262 -0
- package/json-schema/ui/WidgetProperty.json +58 -0
- package/llms.txt +182 -0
- package/package.json +38 -16
- package/prompts/README.md +18 -0
- package/prompts/architecture.md +81 -0
- package/prompts/create-new-project.md +85 -0
- package/prompts/implement-objectai.md +39 -0
- package/prompts/implement-objectos.md +48 -0
- package/prompts/implement-objectql.md +39 -0
- package/prompts/implement-objectui.md +46 -0
- package/prompts/instructions.md +91 -0
- package/dist/ai/workflow-automation.zod.d.ts.map +0 -1
- package/dist/data/flow.zod.d.ts.map +0 -1
- package/dist/data/permission.zod.d.ts.map +0 -1
- package/dist/data/sharing.zod.d.ts +0 -63
- package/dist/data/sharing.zod.d.ts.map +0 -1
- package/dist/data/sharing.zod.js +0 -57
- package/dist/data/trigger.zod.d.ts +0 -354
- package/dist/data/trigger.zod.d.ts.map +0 -1
- package/dist/data/trigger.zod.js +0 -195
- package/dist/data/workflow.zod.d.ts +0 -986
- package/dist/data/workflow.zod.d.ts.map +0 -1
- package/dist/system/api.zod.d.ts.map +0 -1
- package/dist/system/auth-protocol.d.ts.map +0 -1
- package/dist/system/auth.zod.d.ts.map +0 -1
- package/dist/system/discovery.zod.d.ts.map +0 -1
- package/dist/system/identity.zod.d.ts.map +0 -1
- package/dist/system/license.zod.d.ts.map +0 -1
- package/dist/system/organization.zod.d.ts.map +0 -1
- package/dist/system/policy.zod.d.ts.map +0 -1
- package/dist/system/realtime.zod.d.ts.map +0 -1
- package/dist/system/role.zod.d.ts.map +0 -1
- package/dist/system/tenant.zod.d.ts.map +0 -1
- package/dist/system/territory.zod.d.ts.map +0 -1
- package/dist/system/webhook.zod.d.ts.map +0 -1
- package/json-schema/README.md +0 -127
- package/json-schema/data/FieldMapping.json +0 -83
- package/json-schema/data/FilterNode.json +0 -52
- package/json-schema/data/FilterOperator.json +0 -26
- package/json-schema/data/Mapping.json +0 -598
- package/json-schema/data/SharingRule.json +0 -58
- package/json-schema/data/TransformType.json +0 -18
- package/json-schema/data/Trigger.json +0 -73
- package/json-schema/data/TriggerContext.json +0 -61
- /package/dist/{system → api}/realtime.zod.js +0 -0
- /package/dist/{system/auth.zod.js → auth/config.zod.js} +0 -0
- /package/dist/{system → auth}/identity.zod.js +0 -0
- /package/dist/{system → auth}/organization.zod.js +0 -0
- /package/dist/{system → auth}/policy.zod.js +0 -0
- /package/dist/{system/auth-protocol.js → auth/protocol.js} +0 -0
- /package/json-schema/{system → api}/ApiCapabilities.json +0 -0
- /package/json-schema/{system → api}/ApiMapping.json +0 -0
- /package/json-schema/{system → api}/Presence.json +0 -0
- /package/json-schema/{system → api}/PresenceStatus.json +0 -0
- /package/json-schema/{system → api}/RateLimit.json +0 -0
- /package/json-schema/{system → api}/RealtimeAction.json +0 -0
- /package/json-schema/{system → api}/RealtimeEvent.json +0 -0
- /package/json-schema/{system → api}/RealtimeEventType.json +0 -0
- /package/json-schema/{system → api}/Subscription.json +0 -0
- /package/json-schema/{system → api}/SubscriptionEvent.json +0 -0
- /package/json-schema/{system → api}/TransportProtocol.json +0 -0
- /package/json-schema/{system → auth}/Account.json +0 -0
- /package/json-schema/{system → auth}/AccountLinkingConfig.json +0 -0
- /package/json-schema/{system → auth}/AuditPolicy.json +0 -0
- /package/json-schema/{system → auth}/AuthConfig.json +0 -0
- /package/json-schema/{system → auth}/AuthPluginConfig.json +0 -0
- /package/json-schema/{system → auth}/AuthStrategy.json +0 -0
- /package/json-schema/{system → auth}/CSRFConfig.json +0 -0
- /package/json-schema/{system → auth}/DatabaseAdapter.json +0 -0
- /package/json-schema/{system → auth}/DatabaseMapping.json +0 -0
- /package/json-schema/{system → auth}/EmailPasswordConfig.json +0 -0
- /package/json-schema/{system → auth}/EnterpriseAuthConfig.json +0 -0
- /package/json-schema/{system → auth}/Invitation.json +0 -0
- /package/json-schema/{system → auth}/InvitationStatus.json +0 -0
- /package/json-schema/{system → auth}/LDAPConfig.json +0 -0
- /package/json-schema/{system → auth}/MagicLinkConfig.json +0 -0
- /package/json-schema/{system → auth}/Member.json +0 -0
- /package/json-schema/{system → auth}/NetworkPolicy.json +0 -0
- /package/json-schema/{system → auth}/OAuthProvider.json +0 -0
- /package/json-schema/{system → auth}/OIDCConfig.json +0 -0
- /package/json-schema/{system → auth}/Organization.json +0 -0
- /package/json-schema/{system → auth}/PasskeyConfig.json +0 -0
- /package/json-schema/{system → auth}/PasswordPolicy.json +0 -0
- /package/json-schema/{system → auth}/Policy.json +0 -0
- /package/json-schema/{system → auth}/RateLimitConfig.json +0 -0
- /package/json-schema/{system → auth}/SAMLConfig.json +0 -0
- /package/json-schema/{system → auth}/Session.json +0 -0
- /package/json-schema/{system → auth}/SessionConfig.json +0 -0
- /package/json-schema/{system → auth}/SessionPolicy.json +0 -0
- /package/json-schema/{system → auth}/StandardAuthProvider.json +0 -0
- /package/json-schema/{system → auth}/TwoFactorConfig.json +0 -0
- /package/json-schema/{system → auth}/User.json +0 -0
- /package/json-schema/{system → auth}/UserFieldMapping.json +0 -0
- /package/json-schema/{system → auth}/VerificationToken.json +0 -0
- /package/json-schema/{data → automation}/CustomScriptAction.json +0 -0
- /package/json-schema/{data → automation}/EmailAlertAction.json +0 -0
- /package/json-schema/{data → automation}/FieldUpdateAction.json +0 -0
- /package/json-schema/{data → automation}/FlowNode.json +0 -0
- /package/json-schema/{data → automation}/FlowNodeAction.json +0 -0
- /package/json-schema/{data → automation}/FlowVariable.json +0 -0
- /package/json-schema/{data → automation}/HttpCallAction.json +0 -0
- /package/json-schema/{data → automation}/PushNotificationAction.json +0 -0
- /package/json-schema/{data → automation}/SlackMessageAction.json +0 -0
- /package/json-schema/{data → automation}/SmsNotificationAction.json +0 -0
- /package/json-schema/{data → automation}/TaskCreationAction.json +0 -0
- /package/json-schema/{data → automation}/TeamsMessageAction.json +0 -0
- /package/json-schema/{data → automation}/WebhookTriggerAction.json +0 -0
- /package/json-schema/{system → automation}/WebhookTriggerType.json +0 -0
- /package/json-schema/{data → automation}/WorkflowAction.json +0 -0
- /package/json-schema/{data → automation}/WorkflowTriggerType.json +0 -0
- /package/json-schema/{system → hub}/DatabaseLevelIsolationStrategy.json +0 -0
- /package/json-schema/{system → hub}/Feature.json +0 -0
- /package/json-schema/{system → hub}/LevelIsolationStrategySchema.json +0 -0
- /package/json-schema/{system → hub}/MetricType.json +0 -0
- /package/json-schema/{system → hub}/Plan.json +0 -0
- /package/json-schema/{system → hub}/RowLevelIsolationStrategy.json +0 -0
- /package/json-schema/{system → hub}/TenantIsolationConfig.json +0 -0
- /package/json-schema/{system → hub}/TenantIsolationLevel.json +0 -0
- /package/json-schema/{system → hub}/TenantQuota.json +0 -0
- /package/json-schema/{system → hub}/TenantSecurityPolicy.json +0 -0
- /package/json-schema/{data → permission}/FieldPermission.json +0 -0
- /package/json-schema/{system → permission}/TerritoryModel.json +0 -0
- /package/json-schema/{system → permission}/TerritoryType.json +0 -0
|
@@ -4,12 +4,12 @@ export declare const ApiErrorSchema: z.ZodObject<{
|
|
|
4
4
|
message: z.ZodString;
|
|
5
5
|
details: z.ZodOptional<z.ZodAny>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
code: string;
|
|
8
7
|
message: string;
|
|
8
|
+
code: string;
|
|
9
9
|
details?: any;
|
|
10
10
|
}, {
|
|
11
|
-
code: string;
|
|
12
11
|
message: string;
|
|
12
|
+
code: string;
|
|
13
13
|
details?: any;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const BaseResponseSchema: z.ZodObject<{
|
|
@@ -19,12 +19,12 @@ export declare const BaseResponseSchema: z.ZodObject<{
|
|
|
19
19
|
message: z.ZodString;
|
|
20
20
|
details: z.ZodOptional<z.ZodAny>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
code: string;
|
|
23
22
|
message: string;
|
|
23
|
+
code: string;
|
|
24
24
|
details?: any;
|
|
25
25
|
}, {
|
|
26
|
-
code: string;
|
|
27
26
|
message: string;
|
|
27
|
+
code: string;
|
|
28
28
|
details?: any;
|
|
29
29
|
}>>;
|
|
30
30
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -46,8 +46,8 @@ export declare const BaseResponseSchema: z.ZodObject<{
|
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
success: boolean;
|
|
48
48
|
error?: {
|
|
49
|
-
code: string;
|
|
50
49
|
message: string;
|
|
50
|
+
code: string;
|
|
51
51
|
details?: any;
|
|
52
52
|
} | undefined;
|
|
53
53
|
meta?: {
|
|
@@ -59,8 +59,8 @@ export declare const BaseResponseSchema: z.ZodObject<{
|
|
|
59
59
|
}, {
|
|
60
60
|
success: boolean;
|
|
61
61
|
error?: {
|
|
62
|
-
code: string;
|
|
63
62
|
message: string;
|
|
63
|
+
code: string;
|
|
64
64
|
details?: any;
|
|
65
65
|
} | undefined;
|
|
66
66
|
meta?: {
|
|
@@ -110,22 +110,42 @@ export declare const BulkRequestSchema: z.ZodObject<{
|
|
|
110
110
|
export declare const ExportRequestSchema: z.ZodObject<{
|
|
111
111
|
object: z.ZodString;
|
|
112
112
|
fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
113
|
+
where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
114
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
115
|
+
field: z.ZodString;
|
|
116
|
+
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
field: string;
|
|
119
|
+
order: "asc" | "desc";
|
|
120
|
+
}, {
|
|
121
|
+
field: string;
|
|
122
|
+
order?: "asc" | "desc" | undefined;
|
|
123
|
+
}>, "many">>;
|
|
124
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
125
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
cursor: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
127
|
+
joins: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
113
128
|
aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
114
129
|
function: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct", "array_agg", "string_agg"]>;
|
|
115
130
|
field: z.ZodOptional<z.ZodString>;
|
|
116
131
|
alias: z.ZodString;
|
|
117
132
|
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
118
134
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
function: "
|
|
135
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
120
136
|
alias: string;
|
|
137
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
121
138
|
field?: string | undefined;
|
|
122
139
|
distinct?: boolean | undefined;
|
|
123
140
|
}, {
|
|
124
|
-
function: "
|
|
141
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
125
142
|
alias: string;
|
|
143
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
126
144
|
field?: string | undefined;
|
|
127
145
|
distinct?: boolean | undefined;
|
|
128
146
|
}>, "many">>;
|
|
147
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
148
|
+
having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
129
149
|
windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
130
150
|
function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
|
|
131
151
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -156,22 +176,22 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
156
176
|
end?: string | undefined;
|
|
157
177
|
}>>;
|
|
158
178
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
partitionBy?: string[] | undefined;
|
|
160
179
|
orderBy?: {
|
|
161
180
|
field: string;
|
|
162
181
|
order: "asc" | "desc";
|
|
163
182
|
}[] | undefined;
|
|
183
|
+
partitionBy?: string[] | undefined;
|
|
164
184
|
frame?: {
|
|
165
185
|
type?: "rows" | "range" | undefined;
|
|
166
186
|
start?: string | undefined;
|
|
167
187
|
end?: string | undefined;
|
|
168
188
|
} | undefined;
|
|
169
189
|
}, {
|
|
170
|
-
partitionBy?: string[] | undefined;
|
|
171
190
|
orderBy?: {
|
|
172
191
|
field: string;
|
|
173
192
|
order?: "asc" | "desc" | undefined;
|
|
174
193
|
}[] | undefined;
|
|
194
|
+
partitionBy?: string[] | undefined;
|
|
175
195
|
frame?: {
|
|
176
196
|
type?: "rows" | "range" | undefined;
|
|
177
197
|
start?: string | undefined;
|
|
@@ -179,14 +199,14 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
179
199
|
} | undefined;
|
|
180
200
|
}>;
|
|
181
201
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
function: "
|
|
202
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
183
203
|
alias: string;
|
|
184
204
|
over: {
|
|
185
|
-
partitionBy?: string[] | undefined;
|
|
186
205
|
orderBy?: {
|
|
187
206
|
field: string;
|
|
188
207
|
order: "asc" | "desc";
|
|
189
208
|
}[] | undefined;
|
|
209
|
+
partitionBy?: string[] | undefined;
|
|
190
210
|
frame?: {
|
|
191
211
|
type?: "rows" | "range" | undefined;
|
|
192
212
|
start?: string | undefined;
|
|
@@ -195,14 +215,14 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
195
215
|
};
|
|
196
216
|
field?: string | undefined;
|
|
197
217
|
}, {
|
|
198
|
-
function: "
|
|
218
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
199
219
|
alias: string;
|
|
200
220
|
over: {
|
|
201
|
-
partitionBy?: string[] | undefined;
|
|
202
221
|
orderBy?: {
|
|
203
222
|
field: string;
|
|
204
223
|
order?: "asc" | "desc" | undefined;
|
|
205
224
|
}[] | undefined;
|
|
225
|
+
partitionBy?: string[] | undefined;
|
|
206
226
|
frame?: {
|
|
207
227
|
type?: "rows" | "range" | undefined;
|
|
208
228
|
start?: string | undefined;
|
|
@@ -211,49 +231,41 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
211
231
|
};
|
|
212
232
|
field?: string | undefined;
|
|
213
233
|
}>, "many">>;
|
|
214
|
-
filters: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
215
|
-
joins: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
216
|
-
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
217
|
-
having: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
218
|
-
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
219
|
-
field: z.ZodString;
|
|
220
|
-
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
221
|
-
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
field: string;
|
|
223
|
-
order: "asc" | "desc";
|
|
224
|
-
}, {
|
|
225
|
-
field: string;
|
|
226
|
-
order?: "asc" | "desc" | undefined;
|
|
227
|
-
}>, "many">>;
|
|
228
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
229
|
-
skip: z.ZodOptional<z.ZodNumber>;
|
|
230
234
|
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
231
235
|
} & {
|
|
232
236
|
format: z.ZodDefault<z.ZodEnum<["csv", "json", "xlsx"]>>;
|
|
233
237
|
}, "strip", z.ZodTypeAny, {
|
|
234
238
|
object: string;
|
|
235
239
|
format: "json" | "csv" | "xlsx";
|
|
236
|
-
|
|
240
|
+
where?: import("../data").FilterCondition | undefined;
|
|
241
|
+
distinct?: boolean | undefined;
|
|
242
|
+
fields?: any[] | undefined;
|
|
243
|
+
orderBy?: {
|
|
237
244
|
field: string;
|
|
238
245
|
order: "asc" | "desc";
|
|
239
246
|
}[] | undefined;
|
|
240
|
-
|
|
241
|
-
|
|
247
|
+
limit?: number | undefined;
|
|
248
|
+
offset?: number | undefined;
|
|
249
|
+
cursor?: Record<string, any> | undefined;
|
|
250
|
+
joins?: any[] | undefined;
|
|
242
251
|
aggregations?: {
|
|
243
|
-
function: "
|
|
252
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
244
253
|
alias: string;
|
|
254
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
245
255
|
field?: string | undefined;
|
|
246
256
|
distinct?: boolean | undefined;
|
|
247
257
|
}[] | undefined;
|
|
258
|
+
groupBy?: string[] | undefined;
|
|
259
|
+
having?: import("../data").FilterCondition | undefined;
|
|
248
260
|
windowFunctions?: {
|
|
249
|
-
function: "
|
|
261
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
250
262
|
alias: string;
|
|
251
263
|
over: {
|
|
252
|
-
partitionBy?: string[] | undefined;
|
|
253
264
|
orderBy?: {
|
|
254
265
|
field: string;
|
|
255
266
|
order: "asc" | "desc";
|
|
256
267
|
}[] | undefined;
|
|
268
|
+
partitionBy?: string[] | undefined;
|
|
257
269
|
frame?: {
|
|
258
270
|
type?: "rows" | "range" | undefined;
|
|
259
271
|
start?: string | undefined;
|
|
@@ -262,36 +274,37 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
262
274
|
};
|
|
263
275
|
field?: string | undefined;
|
|
264
276
|
}[] | undefined;
|
|
265
|
-
filters?: any;
|
|
266
|
-
joins?: any[] | undefined;
|
|
267
|
-
groupBy?: string[] | undefined;
|
|
268
|
-
having?: any;
|
|
269
|
-
top?: number | undefined;
|
|
270
|
-
skip?: number | undefined;
|
|
271
277
|
}, {
|
|
272
278
|
object: string;
|
|
273
|
-
|
|
279
|
+
where?: import("../data").FilterCondition | undefined;
|
|
280
|
+
distinct?: boolean | undefined;
|
|
281
|
+
fields?: any[] | undefined;
|
|
282
|
+
orderBy?: {
|
|
274
283
|
field: string;
|
|
275
284
|
order?: "asc" | "desc" | undefined;
|
|
276
285
|
}[] | undefined;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
286
|
+
limit?: number | undefined;
|
|
287
|
+
offset?: number | undefined;
|
|
288
|
+
cursor?: Record<string, any> | undefined;
|
|
289
|
+
joins?: any[] | undefined;
|
|
280
290
|
aggregations?: {
|
|
281
|
-
function: "
|
|
291
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
282
292
|
alias: string;
|
|
293
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
283
294
|
field?: string | undefined;
|
|
284
295
|
distinct?: boolean | undefined;
|
|
285
296
|
}[] | undefined;
|
|
297
|
+
groupBy?: string[] | undefined;
|
|
298
|
+
having?: import("../data").FilterCondition | undefined;
|
|
286
299
|
windowFunctions?: {
|
|
287
|
-
function: "
|
|
300
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
288
301
|
alias: string;
|
|
289
302
|
over: {
|
|
290
|
-
partitionBy?: string[] | undefined;
|
|
291
303
|
orderBy?: {
|
|
292
304
|
field: string;
|
|
293
305
|
order?: "asc" | "desc" | undefined;
|
|
294
306
|
}[] | undefined;
|
|
307
|
+
partitionBy?: string[] | undefined;
|
|
295
308
|
frame?: {
|
|
296
309
|
type?: "rows" | "range" | undefined;
|
|
297
310
|
start?: string | undefined;
|
|
@@ -300,12 +313,7 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
300
313
|
};
|
|
301
314
|
field?: string | undefined;
|
|
302
315
|
}[] | undefined;
|
|
303
|
-
|
|
304
|
-
joins?: any[] | undefined;
|
|
305
|
-
groupBy?: string[] | undefined;
|
|
306
|
-
having?: any;
|
|
307
|
-
top?: number | undefined;
|
|
308
|
-
skip?: number | undefined;
|
|
316
|
+
format?: "json" | "csv" | "xlsx" | undefined;
|
|
309
317
|
}>;
|
|
310
318
|
/**
|
|
311
319
|
* Single Record Response (Get/Create/Update)
|
|
@@ -317,12 +325,12 @@ export declare const SingleRecordResponseSchema: z.ZodObject<{
|
|
|
317
325
|
message: z.ZodString;
|
|
318
326
|
details: z.ZodOptional<z.ZodAny>;
|
|
319
327
|
}, "strip", z.ZodTypeAny, {
|
|
320
|
-
code: string;
|
|
321
328
|
message: string;
|
|
329
|
+
code: string;
|
|
322
330
|
details?: any;
|
|
323
331
|
}, {
|
|
324
|
-
code: string;
|
|
325
332
|
message: string;
|
|
333
|
+
code: string;
|
|
326
334
|
details?: any;
|
|
327
335
|
}>>;
|
|
328
336
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -347,8 +355,8 @@ export declare const SingleRecordResponseSchema: z.ZodObject<{
|
|
|
347
355
|
data: Record<string, any>;
|
|
348
356
|
success: boolean;
|
|
349
357
|
error?: {
|
|
350
|
-
code: string;
|
|
351
358
|
message: string;
|
|
359
|
+
code: string;
|
|
352
360
|
details?: any;
|
|
353
361
|
} | undefined;
|
|
354
362
|
meta?: {
|
|
@@ -361,8 +369,8 @@ export declare const SingleRecordResponseSchema: z.ZodObject<{
|
|
|
361
369
|
data: Record<string, any>;
|
|
362
370
|
success: boolean;
|
|
363
371
|
error?: {
|
|
364
|
-
code: string;
|
|
365
372
|
message: string;
|
|
373
|
+
code: string;
|
|
366
374
|
details?: any;
|
|
367
375
|
} | undefined;
|
|
368
376
|
meta?: {
|
|
@@ -382,12 +390,12 @@ export declare const ListRecordResponseSchema: z.ZodObject<{
|
|
|
382
390
|
message: z.ZodString;
|
|
383
391
|
details: z.ZodOptional<z.ZodAny>;
|
|
384
392
|
}, "strip", z.ZodTypeAny, {
|
|
385
|
-
code: string;
|
|
386
393
|
message: string;
|
|
394
|
+
code: string;
|
|
387
395
|
details?: any;
|
|
388
396
|
}, {
|
|
389
|
-
code: string;
|
|
390
397
|
message: string;
|
|
398
|
+
code: string;
|
|
391
399
|
details?: any;
|
|
392
400
|
}>>;
|
|
393
401
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -414,28 +422,28 @@ export declare const ListRecordResponseSchema: z.ZodObject<{
|
|
|
414
422
|
offset: z.ZodNumber;
|
|
415
423
|
hasMore: z.ZodBoolean;
|
|
416
424
|
}, "strip", z.ZodTypeAny, {
|
|
417
|
-
total: number;
|
|
418
425
|
limit: number;
|
|
419
426
|
offset: number;
|
|
427
|
+
total: number;
|
|
420
428
|
hasMore: boolean;
|
|
421
429
|
}, {
|
|
422
|
-
total: number;
|
|
423
430
|
limit: number;
|
|
424
431
|
offset: number;
|
|
432
|
+
total: number;
|
|
425
433
|
hasMore: boolean;
|
|
426
434
|
}>;
|
|
427
435
|
}, "strip", z.ZodTypeAny, {
|
|
428
436
|
data: Record<string, any>[];
|
|
429
437
|
pagination: {
|
|
430
|
-
total: number;
|
|
431
438
|
limit: number;
|
|
432
439
|
offset: number;
|
|
440
|
+
total: number;
|
|
433
441
|
hasMore: boolean;
|
|
434
442
|
};
|
|
435
443
|
success: boolean;
|
|
436
444
|
error?: {
|
|
437
|
-
code: string;
|
|
438
445
|
message: string;
|
|
446
|
+
code: string;
|
|
439
447
|
details?: any;
|
|
440
448
|
} | undefined;
|
|
441
449
|
meta?: {
|
|
@@ -447,15 +455,15 @@ export declare const ListRecordResponseSchema: z.ZodObject<{
|
|
|
447
455
|
}, {
|
|
448
456
|
data: Record<string, any>[];
|
|
449
457
|
pagination: {
|
|
450
|
-
total: number;
|
|
451
458
|
limit: number;
|
|
452
459
|
offset: number;
|
|
460
|
+
total: number;
|
|
453
461
|
hasMore: boolean;
|
|
454
462
|
};
|
|
455
463
|
success: boolean;
|
|
456
464
|
error?: {
|
|
457
|
-
code: string;
|
|
458
465
|
message: string;
|
|
466
|
+
code: string;
|
|
459
467
|
details?: any;
|
|
460
468
|
} | undefined;
|
|
461
469
|
meta?: {
|
|
@@ -476,28 +484,28 @@ export declare const ModificationResultSchema: z.ZodObject<{
|
|
|
476
484
|
message: z.ZodString;
|
|
477
485
|
details: z.ZodOptional<z.ZodAny>;
|
|
478
486
|
}, "strip", z.ZodTypeAny, {
|
|
479
|
-
code: string;
|
|
480
487
|
message: string;
|
|
488
|
+
code: string;
|
|
481
489
|
details?: any;
|
|
482
490
|
}, {
|
|
483
|
-
code: string;
|
|
484
491
|
message: string;
|
|
492
|
+
code: string;
|
|
485
493
|
details?: any;
|
|
486
494
|
}>, "many">>;
|
|
487
495
|
}, "strip", z.ZodTypeAny, {
|
|
488
496
|
success: boolean;
|
|
489
497
|
id?: string | undefined;
|
|
490
498
|
errors?: {
|
|
491
|
-
code: string;
|
|
492
499
|
message: string;
|
|
500
|
+
code: string;
|
|
493
501
|
details?: any;
|
|
494
502
|
}[] | undefined;
|
|
495
503
|
}, {
|
|
496
504
|
success: boolean;
|
|
497
505
|
id?: string | undefined;
|
|
498
506
|
errors?: {
|
|
499
|
-
code: string;
|
|
500
507
|
message: string;
|
|
508
|
+
code: string;
|
|
501
509
|
details?: any;
|
|
502
510
|
}[] | undefined;
|
|
503
511
|
}>;
|
|
@@ -511,12 +519,12 @@ export declare const BulkResponseSchema: z.ZodObject<{
|
|
|
511
519
|
message: z.ZodString;
|
|
512
520
|
details: z.ZodOptional<z.ZodAny>;
|
|
513
521
|
}, "strip", z.ZodTypeAny, {
|
|
514
|
-
code: string;
|
|
515
522
|
message: string;
|
|
523
|
+
code: string;
|
|
516
524
|
details?: any;
|
|
517
525
|
}, {
|
|
518
|
-
code: string;
|
|
519
526
|
message: string;
|
|
527
|
+
code: string;
|
|
520
528
|
details?: any;
|
|
521
529
|
}>>;
|
|
522
530
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -544,28 +552,28 @@ export declare const BulkResponseSchema: z.ZodObject<{
|
|
|
544
552
|
message: z.ZodString;
|
|
545
553
|
details: z.ZodOptional<z.ZodAny>;
|
|
546
554
|
}, "strip", z.ZodTypeAny, {
|
|
547
|
-
code: string;
|
|
548
555
|
message: string;
|
|
556
|
+
code: string;
|
|
549
557
|
details?: any;
|
|
550
558
|
}, {
|
|
551
|
-
code: string;
|
|
552
559
|
message: string;
|
|
560
|
+
code: string;
|
|
553
561
|
details?: any;
|
|
554
562
|
}>, "many">>;
|
|
555
563
|
}, "strip", z.ZodTypeAny, {
|
|
556
564
|
success: boolean;
|
|
557
565
|
id?: string | undefined;
|
|
558
566
|
errors?: {
|
|
559
|
-
code: string;
|
|
560
567
|
message: string;
|
|
568
|
+
code: string;
|
|
561
569
|
details?: any;
|
|
562
570
|
}[] | undefined;
|
|
563
571
|
}, {
|
|
564
572
|
success: boolean;
|
|
565
573
|
id?: string | undefined;
|
|
566
574
|
errors?: {
|
|
567
|
-
code: string;
|
|
568
575
|
message: string;
|
|
576
|
+
code: string;
|
|
569
577
|
details?: any;
|
|
570
578
|
}[] | undefined;
|
|
571
579
|
}>, "many">;
|
|
@@ -574,15 +582,15 @@ export declare const BulkResponseSchema: z.ZodObject<{
|
|
|
574
582
|
success: boolean;
|
|
575
583
|
id?: string | undefined;
|
|
576
584
|
errors?: {
|
|
577
|
-
code: string;
|
|
578
585
|
message: string;
|
|
586
|
+
code: string;
|
|
579
587
|
details?: any;
|
|
580
588
|
}[] | undefined;
|
|
581
589
|
}[];
|
|
582
590
|
success: boolean;
|
|
583
591
|
error?: {
|
|
584
|
-
code: string;
|
|
585
592
|
message: string;
|
|
593
|
+
code: string;
|
|
586
594
|
details?: any;
|
|
587
595
|
} | undefined;
|
|
588
596
|
meta?: {
|
|
@@ -596,15 +604,15 @@ export declare const BulkResponseSchema: z.ZodObject<{
|
|
|
596
604
|
success: boolean;
|
|
597
605
|
id?: string | undefined;
|
|
598
606
|
errors?: {
|
|
599
|
-
code: string;
|
|
600
607
|
message: string;
|
|
608
|
+
code: string;
|
|
601
609
|
details?: any;
|
|
602
610
|
}[] | undefined;
|
|
603
611
|
}[];
|
|
604
612
|
success: boolean;
|
|
605
613
|
error?: {
|
|
606
|
-
code: string;
|
|
607
614
|
message: string;
|
|
615
|
+
code: string;
|
|
608
616
|
details?: any;
|
|
609
617
|
} | undefined;
|
|
610
618
|
meta?: {
|
|
@@ -624,12 +632,12 @@ export declare const DeleteResponseSchema: z.ZodObject<{
|
|
|
624
632
|
message: z.ZodString;
|
|
625
633
|
details: z.ZodOptional<z.ZodAny>;
|
|
626
634
|
}, "strip", z.ZodTypeAny, {
|
|
627
|
-
code: string;
|
|
628
635
|
message: string;
|
|
636
|
+
code: string;
|
|
629
637
|
details?: any;
|
|
630
638
|
}, {
|
|
631
|
-
code: string;
|
|
632
639
|
message: string;
|
|
640
|
+
code: string;
|
|
633
641
|
details?: any;
|
|
634
642
|
}>>;
|
|
635
643
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -654,8 +662,8 @@ export declare const DeleteResponseSchema: z.ZodObject<{
|
|
|
654
662
|
id: string;
|
|
655
663
|
success: boolean;
|
|
656
664
|
error?: {
|
|
657
|
-
code: string;
|
|
658
665
|
message: string;
|
|
666
|
+
code: string;
|
|
659
667
|
details?: any;
|
|
660
668
|
} | undefined;
|
|
661
669
|
meta?: {
|
|
@@ -668,8 +676,8 @@ export declare const DeleteResponseSchema: z.ZodObject<{
|
|
|
668
676
|
id: string;
|
|
669
677
|
success: boolean;
|
|
670
678
|
error?: {
|
|
671
|
-
code: string;
|
|
672
679
|
message: string;
|
|
680
|
+
code: string;
|
|
673
681
|
details?: any;
|
|
674
682
|
} | undefined;
|
|
675
683
|
meta?: {
|
|
@@ -699,12 +707,12 @@ export declare const ApiContracts: {
|
|
|
699
707
|
message: z.ZodString;
|
|
700
708
|
details: z.ZodOptional<z.ZodAny>;
|
|
701
709
|
}, "strip", z.ZodTypeAny, {
|
|
702
|
-
code: string;
|
|
703
710
|
message: string;
|
|
711
|
+
code: string;
|
|
704
712
|
details?: any;
|
|
705
713
|
}, {
|
|
706
|
-
code: string;
|
|
707
714
|
message: string;
|
|
715
|
+
code: string;
|
|
708
716
|
details?: any;
|
|
709
717
|
}>>;
|
|
710
718
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -729,8 +737,8 @@ export declare const ApiContracts: {
|
|
|
729
737
|
data: Record<string, any>;
|
|
730
738
|
success: boolean;
|
|
731
739
|
error?: {
|
|
732
|
-
code: string;
|
|
733
740
|
message: string;
|
|
741
|
+
code: string;
|
|
734
742
|
details?: any;
|
|
735
743
|
} | undefined;
|
|
736
744
|
meta?: {
|
|
@@ -743,8 +751,8 @@ export declare const ApiContracts: {
|
|
|
743
751
|
data: Record<string, any>;
|
|
744
752
|
success: boolean;
|
|
745
753
|
error?: {
|
|
746
|
-
code: string;
|
|
747
754
|
message: string;
|
|
755
|
+
code: string;
|
|
748
756
|
details?: any;
|
|
749
757
|
} | undefined;
|
|
750
758
|
meta?: {
|
|
@@ -770,12 +778,12 @@ export declare const ApiContracts: {
|
|
|
770
778
|
message: z.ZodString;
|
|
771
779
|
details: z.ZodOptional<z.ZodAny>;
|
|
772
780
|
}, "strip", z.ZodTypeAny, {
|
|
773
|
-
code: string;
|
|
774
781
|
message: string;
|
|
782
|
+
code: string;
|
|
775
783
|
details?: any;
|
|
776
784
|
}, {
|
|
777
|
-
code: string;
|
|
778
785
|
message: string;
|
|
786
|
+
code: string;
|
|
779
787
|
details?: any;
|
|
780
788
|
}>>;
|
|
781
789
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -800,8 +808,8 @@ export declare const ApiContracts: {
|
|
|
800
808
|
data: Record<string, any>;
|
|
801
809
|
success: boolean;
|
|
802
810
|
error?: {
|
|
803
|
-
code: string;
|
|
804
811
|
message: string;
|
|
812
|
+
code: string;
|
|
805
813
|
details?: any;
|
|
806
814
|
} | undefined;
|
|
807
815
|
meta?: {
|
|
@@ -814,8 +822,8 @@ export declare const ApiContracts: {
|
|
|
814
822
|
data: Record<string, any>;
|
|
815
823
|
success: boolean;
|
|
816
824
|
error?: {
|
|
817
|
-
code: string;
|
|
818
825
|
message: string;
|
|
826
|
+
code: string;
|
|
819
827
|
details?: any;
|
|
820
828
|
} | undefined;
|
|
821
829
|
meta?: {
|
|
@@ -835,12 +843,12 @@ export declare const ApiContracts: {
|
|
|
835
843
|
message: z.ZodString;
|
|
836
844
|
details: z.ZodOptional<z.ZodAny>;
|
|
837
845
|
}, "strip", z.ZodTypeAny, {
|
|
838
|
-
code: string;
|
|
839
846
|
message: string;
|
|
847
|
+
code: string;
|
|
840
848
|
details?: any;
|
|
841
849
|
}, {
|
|
842
|
-
code: string;
|
|
843
850
|
message: string;
|
|
851
|
+
code: string;
|
|
844
852
|
details?: any;
|
|
845
853
|
}>>;
|
|
846
854
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -865,8 +873,8 @@ export declare const ApiContracts: {
|
|
|
865
873
|
id: string;
|
|
866
874
|
success: boolean;
|
|
867
875
|
error?: {
|
|
868
|
-
code: string;
|
|
869
876
|
message: string;
|
|
877
|
+
code: string;
|
|
870
878
|
details?: any;
|
|
871
879
|
} | undefined;
|
|
872
880
|
meta?: {
|
|
@@ -879,8 +887,8 @@ export declare const ApiContracts: {
|
|
|
879
887
|
id: string;
|
|
880
888
|
success: boolean;
|
|
881
889
|
error?: {
|
|
882
|
-
code: string;
|
|
883
890
|
message: string;
|
|
891
|
+
code: string;
|
|
884
892
|
details?: any;
|
|
885
893
|
} | undefined;
|
|
886
894
|
meta?: {
|
|
@@ -900,12 +908,12 @@ export declare const ApiContracts: {
|
|
|
900
908
|
message: z.ZodString;
|
|
901
909
|
details: z.ZodOptional<z.ZodAny>;
|
|
902
910
|
}, "strip", z.ZodTypeAny, {
|
|
903
|
-
code: string;
|
|
904
911
|
message: string;
|
|
912
|
+
code: string;
|
|
905
913
|
details?: any;
|
|
906
914
|
}, {
|
|
907
|
-
code: string;
|
|
908
915
|
message: string;
|
|
916
|
+
code: string;
|
|
909
917
|
details?: any;
|
|
910
918
|
}>>;
|
|
911
919
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -930,8 +938,8 @@ export declare const ApiContracts: {
|
|
|
930
938
|
data: Record<string, any>;
|
|
931
939
|
success: boolean;
|
|
932
940
|
error?: {
|
|
933
|
-
code: string;
|
|
934
941
|
message: string;
|
|
942
|
+
code: string;
|
|
935
943
|
details?: any;
|
|
936
944
|
} | undefined;
|
|
937
945
|
meta?: {
|
|
@@ -944,8 +952,8 @@ export declare const ApiContracts: {
|
|
|
944
952
|
data: Record<string, any>;
|
|
945
953
|
success: boolean;
|
|
946
954
|
error?: {
|
|
947
|
-
code: string;
|
|
948
955
|
message: string;
|
|
956
|
+
code: string;
|
|
949
957
|
details?: any;
|
|
950
958
|
} | undefined;
|
|
951
959
|
meta?: {
|
|
@@ -960,22 +968,42 @@ export declare const ApiContracts: {
|
|
|
960
968
|
input: z.ZodObject<{
|
|
961
969
|
object: z.ZodString;
|
|
962
970
|
fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
971
|
+
where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
972
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
973
|
+
field: z.ZodString;
|
|
974
|
+
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
975
|
+
}, "strip", z.ZodTypeAny, {
|
|
976
|
+
field: string;
|
|
977
|
+
order: "asc" | "desc";
|
|
978
|
+
}, {
|
|
979
|
+
field: string;
|
|
980
|
+
order?: "asc" | "desc" | undefined;
|
|
981
|
+
}>, "many">>;
|
|
982
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
983
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
984
|
+
cursor: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
985
|
+
joins: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
963
986
|
aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
964
987
|
function: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct", "array_agg", "string_agg"]>;
|
|
965
988
|
field: z.ZodOptional<z.ZodString>;
|
|
966
989
|
alias: z.ZodString;
|
|
967
990
|
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
991
|
+
filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
968
992
|
}, "strip", z.ZodTypeAny, {
|
|
969
|
-
function: "
|
|
993
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
970
994
|
alias: string;
|
|
995
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
971
996
|
field?: string | undefined;
|
|
972
997
|
distinct?: boolean | undefined;
|
|
973
998
|
}, {
|
|
974
|
-
function: "
|
|
999
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
975
1000
|
alias: string;
|
|
1001
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
976
1002
|
field?: string | undefined;
|
|
977
1003
|
distinct?: boolean | undefined;
|
|
978
1004
|
}>, "many">>;
|
|
1005
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1006
|
+
having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
979
1007
|
windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
980
1008
|
function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
|
|
981
1009
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -1006,22 +1034,22 @@ export declare const ApiContracts: {
|
|
|
1006
1034
|
end?: string | undefined;
|
|
1007
1035
|
}>>;
|
|
1008
1036
|
}, "strip", z.ZodTypeAny, {
|
|
1009
|
-
partitionBy?: string[] | undefined;
|
|
1010
1037
|
orderBy?: {
|
|
1011
1038
|
field: string;
|
|
1012
1039
|
order: "asc" | "desc";
|
|
1013
1040
|
}[] | undefined;
|
|
1041
|
+
partitionBy?: string[] | undefined;
|
|
1014
1042
|
frame?: {
|
|
1015
1043
|
type?: "rows" | "range" | undefined;
|
|
1016
1044
|
start?: string | undefined;
|
|
1017
1045
|
end?: string | undefined;
|
|
1018
1046
|
} | undefined;
|
|
1019
1047
|
}, {
|
|
1020
|
-
partitionBy?: string[] | undefined;
|
|
1021
1048
|
orderBy?: {
|
|
1022
1049
|
field: string;
|
|
1023
1050
|
order?: "asc" | "desc" | undefined;
|
|
1024
1051
|
}[] | undefined;
|
|
1052
|
+
partitionBy?: string[] | undefined;
|
|
1025
1053
|
frame?: {
|
|
1026
1054
|
type?: "rows" | "range" | undefined;
|
|
1027
1055
|
start?: string | undefined;
|
|
@@ -1029,14 +1057,14 @@ export declare const ApiContracts: {
|
|
|
1029
1057
|
} | undefined;
|
|
1030
1058
|
}>;
|
|
1031
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1032
|
-
function: "
|
|
1060
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
1033
1061
|
alias: string;
|
|
1034
1062
|
over: {
|
|
1035
|
-
partitionBy?: string[] | undefined;
|
|
1036
1063
|
orderBy?: {
|
|
1037
1064
|
field: string;
|
|
1038
1065
|
order: "asc" | "desc";
|
|
1039
1066
|
}[] | undefined;
|
|
1067
|
+
partitionBy?: string[] | undefined;
|
|
1040
1068
|
frame?: {
|
|
1041
1069
|
type?: "rows" | "range" | undefined;
|
|
1042
1070
|
start?: string | undefined;
|
|
@@ -1045,14 +1073,14 @@ export declare const ApiContracts: {
|
|
|
1045
1073
|
};
|
|
1046
1074
|
field?: string | undefined;
|
|
1047
1075
|
}, {
|
|
1048
|
-
function: "
|
|
1076
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
1049
1077
|
alias: string;
|
|
1050
1078
|
over: {
|
|
1051
|
-
partitionBy?: string[] | undefined;
|
|
1052
1079
|
orderBy?: {
|
|
1053
1080
|
field: string;
|
|
1054
1081
|
order?: "asc" | "desc" | undefined;
|
|
1055
1082
|
}[] | undefined;
|
|
1083
|
+
partitionBy?: string[] | undefined;
|
|
1056
1084
|
frame?: {
|
|
1057
1085
|
type?: "rows" | "range" | undefined;
|
|
1058
1086
|
start?: string | undefined;
|
|
@@ -1061,46 +1089,38 @@ export declare const ApiContracts: {
|
|
|
1061
1089
|
};
|
|
1062
1090
|
field?: string | undefined;
|
|
1063
1091
|
}>, "many">>;
|
|
1064
|
-
filters: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1065
|
-
joins: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
1066
|
-
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1067
|
-
having: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1068
|
-
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1069
|
-
field: z.ZodString;
|
|
1070
|
-
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
1071
|
-
}, "strip", z.ZodTypeAny, {
|
|
1072
|
-
field: string;
|
|
1073
|
-
order: "asc" | "desc";
|
|
1074
|
-
}, {
|
|
1075
|
-
field: string;
|
|
1076
|
-
order?: "asc" | "desc" | undefined;
|
|
1077
|
-
}>, "many">>;
|
|
1078
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
1079
|
-
skip: z.ZodOptional<z.ZodNumber>;
|
|
1080
1092
|
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1081
1093
|
}, "strip", z.ZodTypeAny, {
|
|
1082
1094
|
object: string;
|
|
1083
|
-
|
|
1095
|
+
where?: import("../data").FilterCondition | undefined;
|
|
1096
|
+
distinct?: boolean | undefined;
|
|
1097
|
+
fields?: any[] | undefined;
|
|
1098
|
+
orderBy?: {
|
|
1084
1099
|
field: string;
|
|
1085
1100
|
order: "asc" | "desc";
|
|
1086
1101
|
}[] | undefined;
|
|
1087
|
-
|
|
1088
|
-
|
|
1102
|
+
limit?: number | undefined;
|
|
1103
|
+
offset?: number | undefined;
|
|
1104
|
+
cursor?: Record<string, any> | undefined;
|
|
1105
|
+
joins?: any[] | undefined;
|
|
1089
1106
|
aggregations?: {
|
|
1090
|
-
function: "
|
|
1107
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
1091
1108
|
alias: string;
|
|
1109
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
1092
1110
|
field?: string | undefined;
|
|
1093
1111
|
distinct?: boolean | undefined;
|
|
1094
1112
|
}[] | undefined;
|
|
1113
|
+
groupBy?: string[] | undefined;
|
|
1114
|
+
having?: import("../data").FilterCondition | undefined;
|
|
1095
1115
|
windowFunctions?: {
|
|
1096
|
-
function: "
|
|
1116
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
1097
1117
|
alias: string;
|
|
1098
1118
|
over: {
|
|
1099
|
-
partitionBy?: string[] | undefined;
|
|
1100
1119
|
orderBy?: {
|
|
1101
1120
|
field: string;
|
|
1102
1121
|
order: "asc" | "desc";
|
|
1103
1122
|
}[] | undefined;
|
|
1123
|
+
partitionBy?: string[] | undefined;
|
|
1104
1124
|
frame?: {
|
|
1105
1125
|
type?: "rows" | "range" | undefined;
|
|
1106
1126
|
start?: string | undefined;
|
|
@@ -1109,35 +1129,37 @@ export declare const ApiContracts: {
|
|
|
1109
1129
|
};
|
|
1110
1130
|
field?: string | undefined;
|
|
1111
1131
|
}[] | undefined;
|
|
1112
|
-
filters?: any;
|
|
1113
|
-
joins?: any[] | undefined;
|
|
1114
|
-
groupBy?: string[] | undefined;
|
|
1115
|
-
having?: any;
|
|
1116
|
-
top?: number | undefined;
|
|
1117
|
-
skip?: number | undefined;
|
|
1118
1132
|
}, {
|
|
1119
1133
|
object: string;
|
|
1120
|
-
|
|
1134
|
+
where?: import("../data").FilterCondition | undefined;
|
|
1135
|
+
distinct?: boolean | undefined;
|
|
1136
|
+
fields?: any[] | undefined;
|
|
1137
|
+
orderBy?: {
|
|
1121
1138
|
field: string;
|
|
1122
1139
|
order?: "asc" | "desc" | undefined;
|
|
1123
1140
|
}[] | undefined;
|
|
1124
|
-
|
|
1125
|
-
|
|
1141
|
+
limit?: number | undefined;
|
|
1142
|
+
offset?: number | undefined;
|
|
1143
|
+
cursor?: Record<string, any> | undefined;
|
|
1144
|
+
joins?: any[] | undefined;
|
|
1126
1145
|
aggregations?: {
|
|
1127
|
-
function: "
|
|
1146
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
1128
1147
|
alias: string;
|
|
1148
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
1129
1149
|
field?: string | undefined;
|
|
1130
1150
|
distinct?: boolean | undefined;
|
|
1131
1151
|
}[] | undefined;
|
|
1152
|
+
groupBy?: string[] | undefined;
|
|
1153
|
+
having?: import("../data").FilterCondition | undefined;
|
|
1132
1154
|
windowFunctions?: {
|
|
1133
|
-
function: "
|
|
1155
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
1134
1156
|
alias: string;
|
|
1135
1157
|
over: {
|
|
1136
|
-
partitionBy?: string[] | undefined;
|
|
1137
1158
|
orderBy?: {
|
|
1138
1159
|
field: string;
|
|
1139
1160
|
order?: "asc" | "desc" | undefined;
|
|
1140
1161
|
}[] | undefined;
|
|
1162
|
+
partitionBy?: string[] | undefined;
|
|
1141
1163
|
frame?: {
|
|
1142
1164
|
type?: "rows" | "range" | undefined;
|
|
1143
1165
|
start?: string | undefined;
|
|
@@ -1146,12 +1168,6 @@ export declare const ApiContracts: {
|
|
|
1146
1168
|
};
|
|
1147
1169
|
field?: string | undefined;
|
|
1148
1170
|
}[] | undefined;
|
|
1149
|
-
filters?: any;
|
|
1150
|
-
joins?: any[] | undefined;
|
|
1151
|
-
groupBy?: string[] | undefined;
|
|
1152
|
-
having?: any;
|
|
1153
|
-
top?: number | undefined;
|
|
1154
|
-
skip?: number | undefined;
|
|
1155
1171
|
}>;
|
|
1156
1172
|
output: z.ZodObject<{
|
|
1157
1173
|
success: z.ZodBoolean;
|
|
@@ -1160,12 +1176,12 @@ export declare const ApiContracts: {
|
|
|
1160
1176
|
message: z.ZodString;
|
|
1161
1177
|
details: z.ZodOptional<z.ZodAny>;
|
|
1162
1178
|
}, "strip", z.ZodTypeAny, {
|
|
1163
|
-
code: string;
|
|
1164
1179
|
message: string;
|
|
1180
|
+
code: string;
|
|
1165
1181
|
details?: any;
|
|
1166
1182
|
}, {
|
|
1167
|
-
code: string;
|
|
1168
1183
|
message: string;
|
|
1184
|
+
code: string;
|
|
1169
1185
|
details?: any;
|
|
1170
1186
|
}>>;
|
|
1171
1187
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -1192,28 +1208,28 @@ export declare const ApiContracts: {
|
|
|
1192
1208
|
offset: z.ZodNumber;
|
|
1193
1209
|
hasMore: z.ZodBoolean;
|
|
1194
1210
|
}, "strip", z.ZodTypeAny, {
|
|
1195
|
-
total: number;
|
|
1196
1211
|
limit: number;
|
|
1197
1212
|
offset: number;
|
|
1213
|
+
total: number;
|
|
1198
1214
|
hasMore: boolean;
|
|
1199
1215
|
}, {
|
|
1200
|
-
total: number;
|
|
1201
1216
|
limit: number;
|
|
1202
1217
|
offset: number;
|
|
1218
|
+
total: number;
|
|
1203
1219
|
hasMore: boolean;
|
|
1204
1220
|
}>;
|
|
1205
1221
|
}, "strip", z.ZodTypeAny, {
|
|
1206
1222
|
data: Record<string, any>[];
|
|
1207
1223
|
pagination: {
|
|
1208
|
-
total: number;
|
|
1209
1224
|
limit: number;
|
|
1210
1225
|
offset: number;
|
|
1226
|
+
total: number;
|
|
1211
1227
|
hasMore: boolean;
|
|
1212
1228
|
};
|
|
1213
1229
|
success: boolean;
|
|
1214
1230
|
error?: {
|
|
1215
|
-
code: string;
|
|
1216
1231
|
message: string;
|
|
1232
|
+
code: string;
|
|
1217
1233
|
details?: any;
|
|
1218
1234
|
} | undefined;
|
|
1219
1235
|
meta?: {
|
|
@@ -1225,15 +1241,15 @@ export declare const ApiContracts: {
|
|
|
1225
1241
|
}, {
|
|
1226
1242
|
data: Record<string, any>[];
|
|
1227
1243
|
pagination: {
|
|
1228
|
-
total: number;
|
|
1229
1244
|
limit: number;
|
|
1230
1245
|
offset: number;
|
|
1246
|
+
total: number;
|
|
1231
1247
|
hasMore: boolean;
|
|
1232
1248
|
};
|
|
1233
1249
|
success: boolean;
|
|
1234
1250
|
error?: {
|
|
1235
|
-
code: string;
|
|
1236
1251
|
message: string;
|
|
1252
|
+
code: string;
|
|
1237
1253
|
details?: any;
|
|
1238
1254
|
} | undefined;
|
|
1239
1255
|
meta?: {
|
|
@@ -1262,12 +1278,12 @@ export declare const ApiContracts: {
|
|
|
1262
1278
|
message: z.ZodString;
|
|
1263
1279
|
details: z.ZodOptional<z.ZodAny>;
|
|
1264
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1265
|
-
code: string;
|
|
1266
1281
|
message: string;
|
|
1282
|
+
code: string;
|
|
1267
1283
|
details?: any;
|
|
1268
1284
|
}, {
|
|
1269
|
-
code: string;
|
|
1270
1285
|
message: string;
|
|
1286
|
+
code: string;
|
|
1271
1287
|
details?: any;
|
|
1272
1288
|
}>>;
|
|
1273
1289
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -1295,28 +1311,28 @@ export declare const ApiContracts: {
|
|
|
1295
1311
|
message: z.ZodString;
|
|
1296
1312
|
details: z.ZodOptional<z.ZodAny>;
|
|
1297
1313
|
}, "strip", z.ZodTypeAny, {
|
|
1298
|
-
code: string;
|
|
1299
1314
|
message: string;
|
|
1315
|
+
code: string;
|
|
1300
1316
|
details?: any;
|
|
1301
1317
|
}, {
|
|
1302
|
-
code: string;
|
|
1303
1318
|
message: string;
|
|
1319
|
+
code: string;
|
|
1304
1320
|
details?: any;
|
|
1305
1321
|
}>, "many">>;
|
|
1306
1322
|
}, "strip", z.ZodTypeAny, {
|
|
1307
1323
|
success: boolean;
|
|
1308
1324
|
id?: string | undefined;
|
|
1309
1325
|
errors?: {
|
|
1310
|
-
code: string;
|
|
1311
1326
|
message: string;
|
|
1327
|
+
code: string;
|
|
1312
1328
|
details?: any;
|
|
1313
1329
|
}[] | undefined;
|
|
1314
1330
|
}, {
|
|
1315
1331
|
success: boolean;
|
|
1316
1332
|
id?: string | undefined;
|
|
1317
1333
|
errors?: {
|
|
1318
|
-
code: string;
|
|
1319
1334
|
message: string;
|
|
1335
|
+
code: string;
|
|
1320
1336
|
details?: any;
|
|
1321
1337
|
}[] | undefined;
|
|
1322
1338
|
}>, "many">;
|
|
@@ -1325,15 +1341,15 @@ export declare const ApiContracts: {
|
|
|
1325
1341
|
success: boolean;
|
|
1326
1342
|
id?: string | undefined;
|
|
1327
1343
|
errors?: {
|
|
1328
|
-
code: string;
|
|
1329
1344
|
message: string;
|
|
1345
|
+
code: string;
|
|
1330
1346
|
details?: any;
|
|
1331
1347
|
}[] | undefined;
|
|
1332
1348
|
}[];
|
|
1333
1349
|
success: boolean;
|
|
1334
1350
|
error?: {
|
|
1335
|
-
code: string;
|
|
1336
1351
|
message: string;
|
|
1352
|
+
code: string;
|
|
1337
1353
|
details?: any;
|
|
1338
1354
|
} | undefined;
|
|
1339
1355
|
meta?: {
|
|
@@ -1347,15 +1363,15 @@ export declare const ApiContracts: {
|
|
|
1347
1363
|
success: boolean;
|
|
1348
1364
|
id?: string | undefined;
|
|
1349
1365
|
errors?: {
|
|
1350
|
-
code: string;
|
|
1351
1366
|
message: string;
|
|
1367
|
+
code: string;
|
|
1352
1368
|
details?: any;
|
|
1353
1369
|
}[] | undefined;
|
|
1354
1370
|
}[];
|
|
1355
1371
|
success: boolean;
|
|
1356
1372
|
error?: {
|
|
1357
|
-
code: string;
|
|
1358
1373
|
message: string;
|
|
1374
|
+
code: string;
|
|
1359
1375
|
details?: any;
|
|
1360
1376
|
} | undefined;
|
|
1361
1377
|
meta?: {
|
|
@@ -1384,12 +1400,12 @@ export declare const ApiContracts: {
|
|
|
1384
1400
|
message: z.ZodString;
|
|
1385
1401
|
details: z.ZodOptional<z.ZodAny>;
|
|
1386
1402
|
}, "strip", z.ZodTypeAny, {
|
|
1387
|
-
code: string;
|
|
1388
1403
|
message: string;
|
|
1404
|
+
code: string;
|
|
1389
1405
|
details?: any;
|
|
1390
1406
|
}, {
|
|
1391
|
-
code: string;
|
|
1392
1407
|
message: string;
|
|
1408
|
+
code: string;
|
|
1393
1409
|
details?: any;
|
|
1394
1410
|
}>>;
|
|
1395
1411
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -1417,28 +1433,28 @@ export declare const ApiContracts: {
|
|
|
1417
1433
|
message: z.ZodString;
|
|
1418
1434
|
details: z.ZodOptional<z.ZodAny>;
|
|
1419
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1420
|
-
code: string;
|
|
1421
1436
|
message: string;
|
|
1437
|
+
code: string;
|
|
1422
1438
|
details?: any;
|
|
1423
1439
|
}, {
|
|
1424
|
-
code: string;
|
|
1425
1440
|
message: string;
|
|
1441
|
+
code: string;
|
|
1426
1442
|
details?: any;
|
|
1427
1443
|
}>, "many">>;
|
|
1428
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1429
1445
|
success: boolean;
|
|
1430
1446
|
id?: string | undefined;
|
|
1431
1447
|
errors?: {
|
|
1432
|
-
code: string;
|
|
1433
1448
|
message: string;
|
|
1449
|
+
code: string;
|
|
1434
1450
|
details?: any;
|
|
1435
1451
|
}[] | undefined;
|
|
1436
1452
|
}, {
|
|
1437
1453
|
success: boolean;
|
|
1438
1454
|
id?: string | undefined;
|
|
1439
1455
|
errors?: {
|
|
1440
|
-
code: string;
|
|
1441
1456
|
message: string;
|
|
1457
|
+
code: string;
|
|
1442
1458
|
details?: any;
|
|
1443
1459
|
}[] | undefined;
|
|
1444
1460
|
}>, "many">;
|
|
@@ -1447,15 +1463,15 @@ export declare const ApiContracts: {
|
|
|
1447
1463
|
success: boolean;
|
|
1448
1464
|
id?: string | undefined;
|
|
1449
1465
|
errors?: {
|
|
1450
|
-
code: string;
|
|
1451
1466
|
message: string;
|
|
1467
|
+
code: string;
|
|
1452
1468
|
details?: any;
|
|
1453
1469
|
}[] | undefined;
|
|
1454
1470
|
}[];
|
|
1455
1471
|
success: boolean;
|
|
1456
1472
|
error?: {
|
|
1457
|
-
code: string;
|
|
1458
1473
|
message: string;
|
|
1474
|
+
code: string;
|
|
1459
1475
|
details?: any;
|
|
1460
1476
|
} | undefined;
|
|
1461
1477
|
meta?: {
|
|
@@ -1469,15 +1485,15 @@ export declare const ApiContracts: {
|
|
|
1469
1485
|
success: boolean;
|
|
1470
1486
|
id?: string | undefined;
|
|
1471
1487
|
errors?: {
|
|
1472
|
-
code: string;
|
|
1473
1488
|
message: string;
|
|
1489
|
+
code: string;
|
|
1474
1490
|
details?: any;
|
|
1475
1491
|
}[] | undefined;
|
|
1476
1492
|
}[];
|
|
1477
1493
|
success: boolean;
|
|
1478
1494
|
error?: {
|
|
1479
|
-
code: string;
|
|
1480
1495
|
message: string;
|
|
1496
|
+
code: string;
|
|
1481
1497
|
details?: any;
|
|
1482
1498
|
} | undefined;
|
|
1483
1499
|
meta?: {
|
|
@@ -1506,12 +1522,12 @@ export declare const ApiContracts: {
|
|
|
1506
1522
|
message: z.ZodString;
|
|
1507
1523
|
details: z.ZodOptional<z.ZodAny>;
|
|
1508
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1509
|
-
code: string;
|
|
1510
1525
|
message: string;
|
|
1526
|
+
code: string;
|
|
1511
1527
|
details?: any;
|
|
1512
1528
|
}, {
|
|
1513
|
-
code: string;
|
|
1514
1529
|
message: string;
|
|
1530
|
+
code: string;
|
|
1515
1531
|
details?: any;
|
|
1516
1532
|
}>>;
|
|
1517
1533
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -1539,28 +1555,28 @@ export declare const ApiContracts: {
|
|
|
1539
1555
|
message: z.ZodString;
|
|
1540
1556
|
details: z.ZodOptional<z.ZodAny>;
|
|
1541
1557
|
}, "strip", z.ZodTypeAny, {
|
|
1542
|
-
code: string;
|
|
1543
1558
|
message: string;
|
|
1559
|
+
code: string;
|
|
1544
1560
|
details?: any;
|
|
1545
1561
|
}, {
|
|
1546
|
-
code: string;
|
|
1547
1562
|
message: string;
|
|
1563
|
+
code: string;
|
|
1548
1564
|
details?: any;
|
|
1549
1565
|
}>, "many">>;
|
|
1550
1566
|
}, "strip", z.ZodTypeAny, {
|
|
1551
1567
|
success: boolean;
|
|
1552
1568
|
id?: string | undefined;
|
|
1553
1569
|
errors?: {
|
|
1554
|
-
code: string;
|
|
1555
1570
|
message: string;
|
|
1571
|
+
code: string;
|
|
1556
1572
|
details?: any;
|
|
1557
1573
|
}[] | undefined;
|
|
1558
1574
|
}, {
|
|
1559
1575
|
success: boolean;
|
|
1560
1576
|
id?: string | undefined;
|
|
1561
1577
|
errors?: {
|
|
1562
|
-
code: string;
|
|
1563
1578
|
message: string;
|
|
1579
|
+
code: string;
|
|
1564
1580
|
details?: any;
|
|
1565
1581
|
}[] | undefined;
|
|
1566
1582
|
}>, "many">;
|
|
@@ -1569,15 +1585,15 @@ export declare const ApiContracts: {
|
|
|
1569
1585
|
success: boolean;
|
|
1570
1586
|
id?: string | undefined;
|
|
1571
1587
|
errors?: {
|
|
1572
|
-
code: string;
|
|
1573
1588
|
message: string;
|
|
1589
|
+
code: string;
|
|
1574
1590
|
details?: any;
|
|
1575
1591
|
}[] | undefined;
|
|
1576
1592
|
}[];
|
|
1577
1593
|
success: boolean;
|
|
1578
1594
|
error?: {
|
|
1579
|
-
code: string;
|
|
1580
1595
|
message: string;
|
|
1596
|
+
code: string;
|
|
1581
1597
|
details?: any;
|
|
1582
1598
|
} | undefined;
|
|
1583
1599
|
meta?: {
|
|
@@ -1591,15 +1607,15 @@ export declare const ApiContracts: {
|
|
|
1591
1607
|
success: boolean;
|
|
1592
1608
|
id?: string | undefined;
|
|
1593
1609
|
errors?: {
|
|
1594
|
-
code: string;
|
|
1595
1610
|
message: string;
|
|
1611
|
+
code: string;
|
|
1596
1612
|
details?: any;
|
|
1597
1613
|
}[] | undefined;
|
|
1598
1614
|
}[];
|
|
1599
1615
|
success: boolean;
|
|
1600
1616
|
error?: {
|
|
1601
|
-
code: string;
|
|
1602
1617
|
message: string;
|
|
1618
|
+
code: string;
|
|
1603
1619
|
details?: any;
|
|
1604
1620
|
} | undefined;
|
|
1605
1621
|
meta?: {
|
|
@@ -1625,12 +1641,12 @@ export declare const ApiContracts: {
|
|
|
1625
1641
|
message: z.ZodString;
|
|
1626
1642
|
details: z.ZodOptional<z.ZodAny>;
|
|
1627
1643
|
}, "strip", z.ZodTypeAny, {
|
|
1628
|
-
code: string;
|
|
1629
1644
|
message: string;
|
|
1645
|
+
code: string;
|
|
1630
1646
|
details?: any;
|
|
1631
1647
|
}, {
|
|
1632
|
-
code: string;
|
|
1633
1648
|
message: string;
|
|
1649
|
+
code: string;
|
|
1634
1650
|
details?: any;
|
|
1635
1651
|
}>>;
|
|
1636
1652
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -1658,28 +1674,28 @@ export declare const ApiContracts: {
|
|
|
1658
1674
|
message: z.ZodString;
|
|
1659
1675
|
details: z.ZodOptional<z.ZodAny>;
|
|
1660
1676
|
}, "strip", z.ZodTypeAny, {
|
|
1661
|
-
code: string;
|
|
1662
1677
|
message: string;
|
|
1678
|
+
code: string;
|
|
1663
1679
|
details?: any;
|
|
1664
1680
|
}, {
|
|
1665
|
-
code: string;
|
|
1666
1681
|
message: string;
|
|
1682
|
+
code: string;
|
|
1667
1683
|
details?: any;
|
|
1668
1684
|
}>, "many">>;
|
|
1669
1685
|
}, "strip", z.ZodTypeAny, {
|
|
1670
1686
|
success: boolean;
|
|
1671
1687
|
id?: string | undefined;
|
|
1672
1688
|
errors?: {
|
|
1673
|
-
code: string;
|
|
1674
1689
|
message: string;
|
|
1690
|
+
code: string;
|
|
1675
1691
|
details?: any;
|
|
1676
1692
|
}[] | undefined;
|
|
1677
1693
|
}, {
|
|
1678
1694
|
success: boolean;
|
|
1679
1695
|
id?: string | undefined;
|
|
1680
1696
|
errors?: {
|
|
1681
|
-
code: string;
|
|
1682
1697
|
message: string;
|
|
1698
|
+
code: string;
|
|
1683
1699
|
details?: any;
|
|
1684
1700
|
}[] | undefined;
|
|
1685
1701
|
}>, "many">;
|
|
@@ -1688,15 +1704,15 @@ export declare const ApiContracts: {
|
|
|
1688
1704
|
success: boolean;
|
|
1689
1705
|
id?: string | undefined;
|
|
1690
1706
|
errors?: {
|
|
1691
|
-
code: string;
|
|
1692
1707
|
message: string;
|
|
1708
|
+
code: string;
|
|
1693
1709
|
details?: any;
|
|
1694
1710
|
}[] | undefined;
|
|
1695
1711
|
}[];
|
|
1696
1712
|
success: boolean;
|
|
1697
1713
|
error?: {
|
|
1698
|
-
code: string;
|
|
1699
1714
|
message: string;
|
|
1715
|
+
code: string;
|
|
1700
1716
|
details?: any;
|
|
1701
1717
|
} | undefined;
|
|
1702
1718
|
meta?: {
|
|
@@ -1710,15 +1726,15 @@ export declare const ApiContracts: {
|
|
|
1710
1726
|
success: boolean;
|
|
1711
1727
|
id?: string | undefined;
|
|
1712
1728
|
errors?: {
|
|
1713
|
-
code: string;
|
|
1714
1729
|
message: string;
|
|
1730
|
+
code: string;
|
|
1715
1731
|
details?: any;
|
|
1716
1732
|
}[] | undefined;
|
|
1717
1733
|
}[];
|
|
1718
1734
|
success: boolean;
|
|
1719
1735
|
error?: {
|
|
1720
|
-
code: string;
|
|
1721
1736
|
message: string;
|
|
1737
|
+
code: string;
|
|
1722
1738
|
details?: any;
|
|
1723
1739
|
} | undefined;
|
|
1724
1740
|
meta?: {
|