@constructive-io/sdk 1.19.2 → 1.19.3
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 +2 -0
- package/admin/orm/index.d.ts +36 -69
- package/admin/orm/index.js +4 -32
- package/admin/orm/input-types.d.ts +426 -3916
- package/admin/orm/input-types.js +1 -37
- package/admin/orm/models/index.d.ts +2 -16
- package/admin/orm/models/index.js +5 -33
- package/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
- package/admin/orm/models/myPendingAppInvitesRecord.js +80 -0
- package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
- package/admin/orm/models/myPendingOrgInvitesRecord.js +80 -0
- package/admin/orm/mutation/index.d.ts +54 -5
- package/admin/orm/mutation/index.js +72 -0
- package/admin/orm/query/index.d.ts +5 -79
- package/admin/orm/query/index.js +8 -112
- package/agent/orm/index.d.ts +30 -0
- package/agent/orm/index.js +30 -0
- package/agent/orm/input-types.d.ts +6040 -1415
- package/agent/orm/input-types.js +34 -0
- package/agent/orm/models/agentEvent.d.ts +54 -0
- package/{admin/orm/models/orgProfile.js → agent/orm/models/agentEvent.js} +27 -27
- package/agent/orm/models/agentRun.d.ts +54 -0
- package/{usage/orm/models/appLevel.js → agent/orm/models/agentRun.js} +27 -27
- package/agent/orm/models/agentRunWorkspace.d.ts +54 -0
- package/{usage/orm/models/appEventAggregate.js → agent/orm/models/agentRunWorkspace.js} +27 -27
- package/agent/orm/models/index.d.ts +15 -0
- package/agent/orm/models/index.js +31 -1
- package/agent/orm/models/platformAgent.d.ts +54 -0
- package/{usage/orm/models/appLevelGrant.js → agent/orm/models/platformAgent.js} +27 -27
- package/agent/orm/models/platformAgentEvent.d.ts +54 -0
- package/{admin/orm/models/orgProfileTemplate.js → agent/orm/models/platformAgentEvent.js} +27 -27
- package/agent/orm/models/platformAgentMessage.d.ts +54 -0
- package/{admin/orm/models/appMembershipProfile.js → agent/orm/models/platformAgentMessage.js} +27 -27
- package/agent/orm/models/platformAgentPersona.d.ts +54 -0
- package/{admin/orm/models/orgCapabilityDefault.js → agent/orm/models/platformAgentPersona.js} +27 -27
- package/agent/orm/models/platformAgentPlan.d.ts +54 -0
- package/agent/orm/models/platformAgentPlan.js +104 -0
- package/agent/orm/models/platformAgentPrompt.d.ts +54 -0
- package/{usage/orm/models/appLevelRequirement.js → agent/orm/models/platformAgentPrompt.js} +27 -27
- package/agent/orm/models/platformAgentResource.d.ts +54 -0
- package/agent/orm/models/platformAgentResource.js +104 -0
- package/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
- package/agent/orm/models/platformAgentResourceChunk.js +104 -0
- package/agent/orm/models/platformAgentRun.d.ts +54 -0
- package/agent/orm/models/platformAgentRun.js +104 -0
- package/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
- package/{admin/orm/models/appProfileDefinitionGrant.js → agent/orm/models/platformAgentRunWorkspace.js} +27 -27
- package/agent/orm/models/platformAgentTask.d.ts +54 -0
- package/agent/orm/models/platformAgentTask.js +104 -0
- package/agent/orm/models/platformAgentThread.d.ts +54 -0
- package/{usage/orm/models/billingUsageSummary.js → agent/orm/models/platformAgentThread.js} +27 -27
- package/agent/orm/mutation/index.d.ts +5 -4
- package/api/orm/index.d.ts +177 -22
- package/api/orm/index.js +16 -6
- package/api/orm/input-types.d.ts +2520 -1059
- package/api/orm/input-types.js +7 -4
- package/api/orm/models/astMigration.d.ts +36 -0
- package/api/orm/models/astMigration.js +80 -0
- package/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
- package/api/orm/models/getSitePreviewsRecord.js +59 -0
- package/api/orm/models/identityProviderRegistry.d.ts +54 -0
- package/api/orm/models/identityProviderRegistry.js +104 -0
- package/api/orm/models/index.d.ts +8 -3
- package/api/orm/models/index.js +18 -8
- package/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
- package/api/orm/models/platformGetSitePreviewsRecord.js +59 -0
- package/api/orm/models/platformSiteRelease.d.ts +54 -0
- package/api/orm/models/platformSiteRelease.js +104 -0
- package/api/orm/models/redirect.d.ts +54 -0
- package/{usage/orm/models/appEvent.js → api/orm/models/redirect.js} +27 -30
- package/api/orm/models/siteRelease.d.ts +54 -0
- package/{usage/orm/models/meterSource.js → api/orm/models/siteRelease.js} +27 -27
- package/api/orm/models/sqlAction.d.ts +36 -0
- package/api/orm/models/sqlAction.js +80 -0
- package/api/orm/mutation/index.d.ts +170 -24
- package/api/orm/mutation/index.js +240 -24
- package/api/orm/query/index.d.ts +107 -11
- package/api/orm/query/index.js +177 -13
- package/auth/orm/index.d.ts +104 -0
- package/auth/orm/index.js +4 -0
- package/auth/orm/input-types.d.ts +1017 -238
- package/auth/orm/input-types.js +1 -0
- package/auth/orm/models/index.d.ts +2 -0
- package/auth/orm/models/index.js +5 -1
- package/auth/orm/models/principalEntity.d.ts +2 -20
- package/auth/orm/models/principalEntity.js +0 -24
- package/auth/orm/models/userSetting.d.ts +54 -0
- package/{usage/orm/models/meterCredit.js → auth/orm/models/userSetting.js} +27 -27
- package/auth/orm/models/userSettingsSecurity.d.ts +54 -0
- package/{admin/orm/models/appProfileCapability.js → auth/orm/models/userSettingsSecurity.js} +27 -27
- package/auth/orm/mutation/index.d.ts +158 -5
- package/auth/orm/mutation/index.js +228 -0
- package/auth/orm/query/index.d.ts +6 -1
- package/auth/orm/query/index.js +7 -0
- package/compute/orm/index.d.ts +208 -0
- package/compute/orm/index.js +98 -0
- package/compute/orm/input-types.d.ts +23534 -8853
- package/compute/orm/input-types.js +78 -0
- package/compute/orm/models/build.d.ts +54 -0
- package/{usage/orm/models/meter.js → compute/orm/models/build.js} +27 -27
- package/compute/orm/models/buildStep.d.ts +56 -0
- package/{usage/orm/models/planLimit.js → compute/orm/models/buildStep.js} +30 -27
- package/compute/orm/models/builderBinding.d.ts +54 -0
- package/{usage/orm/models/planMeterLimit.js → compute/orm/models/builderBinding.js} +27 -27
- package/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
- package/compute/orm/models/databaseFunctionGraph.js +104 -0
- package/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
- package/compute/orm/models/databaseFunctionGraphExecution.js +107 -0
- package/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
- package/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +107 -0
- package/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
- package/compute/orm/models/databaseFunctionGraphExecutionOutput.js +107 -0
- package/compute/orm/models/databaseGraphCommit.d.ts +56 -0
- package/compute/orm/models/databaseGraphCommit.js +107 -0
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +59 -0
- package/compute/orm/models/databaseGraphObject.d.ts +56 -0
- package/compute/orm/models/databaseGraphObject.js +97 -0
- package/compute/orm/models/databaseGraphRef.d.ts +56 -0
- package/compute/orm/models/databaseGraphRef.js +107 -0
- package/compute/orm/models/databaseGraphStore.d.ts +54 -0
- package/{admin/orm/models/appProfileTemplate.js → compute/orm/models/databaseGraphStore.js} +27 -27
- package/compute/orm/models/image.d.ts +54 -0
- package/{api/orm/models/app.js → compute/orm/models/image.js} +27 -27
- package/compute/orm/models/imageGrant.d.ts +54 -0
- package/{admin/orm/models/appProfile.js → compute/orm/models/imageGrant.js} +27 -27
- package/compute/orm/models/index.d.ts +49 -0
- package/compute/orm/models/index.js +101 -2
- package/compute/orm/models/platformBuild.d.ts +54 -0
- package/{admin/orm/models/appCapability.js → compute/orm/models/platformBuild.js} +27 -27
- package/compute/orm/models/platformBuildStep.d.ts +56 -0
- package/compute/orm/models/platformBuildStep.js +107 -0
- package/compute/orm/models/platformBuilderBinding.d.ts +54 -0
- package/{admin/orm/models/appCapabilityDefault.js → compute/orm/models/platformBuilderBinding.js} +27 -27
- package/compute/orm/models/platformImage.d.ts +54 -0
- package/{admin/orm/models/orgCapability.js → compute/orm/models/platformImage.js} +27 -27
- package/compute/orm/models/platformImageGrant.d.ts +54 -0
- package/compute/orm/models/platformImageGrant.js +104 -0
- package/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
- package/{modules/orm/models/configSecretsUserModule.js → compute/orm/models/platformK8sResourceKind.js} +27 -27
- package/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
- package/compute/orm/models/platformK8sSpecRule.js +104 -0
- package/compute/orm/models/platformProposal.d.ts +54 -0
- package/compute/orm/models/platformProposal.js +104 -0
- package/compute/orm/models/platformProposalComment.d.ts +54 -0
- package/compute/orm/models/platformProposalComment.js +104 -0
- package/compute/orm/models/platformProposalFileView.d.ts +54 -0
- package/compute/orm/models/platformProposalFileView.js +104 -0
- package/compute/orm/models/platformProposalReaction.d.ts +54 -0
- package/compute/orm/models/platformProposalReaction.js +104 -0
- package/compute/orm/models/platformProposalReview.d.ts +54 -0
- package/compute/orm/models/platformProposalReview.js +104 -0
- package/compute/orm/models/platformProposalsChunk.d.ts +54 -0
- package/compute/orm/models/platformProposalsChunk.js +104 -0
- package/compute/orm/models/platformRegistry.d.ts +54 -0
- package/compute/orm/models/platformRegistry.js +104 -0
- package/compute/orm/models/platformRegistryBinding.d.ts +54 -0
- package/compute/orm/models/platformRegistryBinding.js +104 -0
- package/compute/orm/models/platformRegistryGrant.d.ts +54 -0
- package/compute/orm/models/platformRegistryGrant.js +104 -0
- package/compute/orm/models/platformRepository.d.ts +54 -0
- package/compute/orm/models/platformRepository.js +104 -0
- package/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
- package/compute/orm/models/platformRepositoryEvent.js +104 -0
- package/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
- package/compute/orm/models/platformRepositoryRequiredCheck.js +104 -0
- package/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
- package/compute/orm/models/platformRepositoryWorkflow.js +104 -0
- package/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
- package/compute/orm/models/platformResourceObservedStorage.js +59 -0
- package/compute/orm/models/proposal.d.ts +54 -0
- package/compute/orm/models/proposal.js +104 -0
- package/compute/orm/models/proposalComment.d.ts +54 -0
- package/{admin/orm/models/appProfileGrant.js → compute/orm/models/proposalComment.js} +27 -27
- package/compute/orm/models/proposalFileView.d.ts +54 -0
- package/compute/orm/models/proposalFileView.js +104 -0
- package/compute/orm/models/proposalReaction.d.ts +54 -0
- package/{usage/orm/models/planSubscription.js → compute/orm/models/proposalReaction.js} +27 -27
- package/compute/orm/models/proposalReview.d.ts +54 -0
- package/compute/orm/models/proposalReview.js +104 -0
- package/compute/orm/models/proposalsChunk.d.ts +54 -0
- package/compute/orm/models/proposalsChunk.js +104 -0
- package/compute/orm/models/registry.d.ts +54 -0
- package/compute/orm/models/registry.js +104 -0
- package/compute/orm/models/registryBinding.d.ts +54 -0
- package/{modules/orm/models/httpRouteModule.js → compute/orm/models/registryBinding.js} +27 -27
- package/compute/orm/models/registryGrant.d.ts +54 -0
- package/{usage/orm/models/appEventType.js → compute/orm/models/registryGrant.js} +27 -27
- package/compute/orm/models/repository.d.ts +54 -0
- package/{api/orm/models/httpRoute.js → compute/orm/models/repository.js} +27 -27
- package/compute/orm/models/repositoryEvent.d.ts +54 -0
- package/{admin/orm/models/orgProfileGrant.js → compute/orm/models/repositoryEvent.js} +27 -27
- package/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
- package/compute/orm/models/repositoryRequiredCheck.js +104 -0
- package/compute/orm/models/repositoryWorkflow.d.ts +54 -0
- package/compute/orm/models/repositoryWorkflow.js +104 -0
- package/compute/orm/models/resourceObservedStorage.d.ts +30 -0
- package/compute/orm/models/resourceObservedStorage.js +59 -0
- package/compute/orm/mutation/index.d.ts +174 -5
- package/compute/orm/mutation/index.js +252 -0
- package/compute/orm/query/index.d.ts +8 -0
- package/compute/orm/query/index.js +12 -0
- package/config/orm/index.d.ts +48 -0
- package/config/orm/index.js +8 -0
- package/config/orm/input-types.d.ts +711 -41
- package/config/orm/models/appInternalSecret.d.ts +36 -0
- package/config/orm/models/appInternalSecret.js +80 -0
- package/config/orm/models/index.d.ts +4 -0
- package/config/orm/models/index.js +9 -1
- package/config/orm/models/internalConfig.d.ts +54 -0
- package/config/orm/models/internalConfig.js +104 -0
- package/config/orm/models/internalSecret.d.ts +36 -0
- package/config/orm/models/internalSecret.js +80 -0
- package/config/orm/models/platformInternalConfig.d.ts +54 -0
- package/config/orm/models/platformInternalConfig.js +104 -0
- package/config/orm/mutation/index.d.ts +70 -5
- package/config/orm/mutation/index.js +96 -0
- package/esm/admin/orm/index.d.ts +36 -69
- package/esm/admin/orm/index.js +4 -32
- package/esm/admin/orm/input-types.d.ts +426 -3916
- package/esm/admin/orm/input-types.js +1 -37
- package/esm/admin/orm/models/index.d.ts +2 -16
- package/esm/admin/orm/models/index.js +2 -16
- package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
- package/esm/admin/orm/models/myPendingAppInvitesRecord.js +76 -0
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +76 -0
- package/esm/admin/orm/mutation/index.d.ts +54 -5
- package/esm/admin/orm/mutation/index.js +72 -0
- package/esm/admin/orm/query/index.d.ts +5 -79
- package/esm/admin/orm/query/index.js +8 -112
- package/esm/agent/orm/index.d.ts +30 -0
- package/esm/agent/orm/index.js +30 -0
- package/esm/agent/orm/input-types.d.ts +6040 -1415
- package/esm/agent/orm/input-types.js +34 -0
- package/esm/agent/orm/models/agentEvent.d.ts +54 -0
- package/esm/{admin/orm/models/appProfile.js → agent/orm/models/agentEvent.js} +25 -25
- package/esm/agent/orm/models/agentRun.d.ts +54 -0
- package/esm/{usage/orm/models/appLevel.js → agent/orm/models/agentRun.js} +25 -25
- package/esm/agent/orm/models/agentRunWorkspace.d.ts +54 -0
- package/esm/{usage/orm/models/appEventAggregate.js → agent/orm/models/agentRunWorkspace.js} +25 -25
- package/esm/agent/orm/models/index.d.ts +15 -0
- package/esm/agent/orm/models/index.js +15 -0
- package/esm/agent/orm/models/platformAgent.d.ts +54 -0
- package/esm/{usage/orm/models/planLimit.js → agent/orm/models/platformAgent.js} +25 -25
- package/esm/agent/orm/models/platformAgentEvent.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentEvent.js +100 -0
- package/esm/agent/orm/models/platformAgentMessage.d.ts +54 -0
- package/esm/{admin/orm/models/appMembershipProfile.js → agent/orm/models/platformAgentMessage.js} +25 -25
- package/esm/agent/orm/models/platformAgentPersona.d.ts +54 -0
- package/esm/{admin/orm/models/appCapabilityDefault.js → agent/orm/models/platformAgentPersona.js} +25 -25
- package/esm/agent/orm/models/platformAgentPlan.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentPlan.js +100 -0
- package/esm/agent/orm/models/platformAgentPrompt.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentPrompt.js +100 -0
- package/esm/agent/orm/models/platformAgentResource.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentResource.js +100 -0
- package/esm/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentResourceChunk.js +100 -0
- package/esm/agent/orm/models/platformAgentRun.d.ts +54 -0
- package/esm/{usage/orm/models/planSubscription.js → agent/orm/models/platformAgentRun.js} +25 -25
- package/esm/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentRunWorkspace.js +100 -0
- package/esm/agent/orm/models/platformAgentTask.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentTask.js +100 -0
- package/esm/agent/orm/models/platformAgentThread.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentThread.js +100 -0
- package/esm/agent/orm/mutation/index.d.ts +5 -4
- package/esm/api/orm/index.d.ts +177 -22
- package/esm/api/orm/index.js +16 -6
- package/esm/api/orm/input-types.d.ts +2520 -1059
- package/esm/api/orm/input-types.js +7 -4
- package/esm/api/orm/models/astMigration.d.ts +36 -0
- package/esm/api/orm/models/astMigration.js +76 -0
- package/esm/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
- package/esm/api/orm/models/getSitePreviewsRecord.js +55 -0
- package/esm/api/orm/models/identityProviderRegistry.d.ts +54 -0
- package/esm/api/orm/models/identityProviderRegistry.js +100 -0
- package/esm/api/orm/models/index.d.ts +8 -3
- package/esm/api/orm/models/index.js +8 -3
- package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
- package/esm/api/orm/models/platformGetSitePreviewsRecord.js +55 -0
- package/esm/api/orm/models/platformSiteRelease.d.ts +54 -0
- package/esm/api/orm/models/platformSiteRelease.js +100 -0
- package/esm/api/orm/models/redirect.d.ts +54 -0
- package/esm/api/orm/models/redirect.js +100 -0
- package/esm/api/orm/models/siteRelease.d.ts +54 -0
- package/esm/{usage/orm/models/planPricing.js → api/orm/models/siteRelease.js} +25 -25
- package/esm/api/orm/models/sqlAction.d.ts +36 -0
- package/esm/api/orm/models/sqlAction.js +76 -0
- package/esm/api/orm/mutation/index.d.ts +170 -24
- package/esm/api/orm/mutation/index.js +240 -24
- package/esm/api/orm/query/index.d.ts +107 -11
- package/esm/api/orm/query/index.js +177 -13
- package/esm/auth/orm/index.d.ts +104 -0
- package/esm/auth/orm/index.js +4 -0
- package/esm/auth/orm/input-types.d.ts +1017 -238
- package/esm/auth/orm/input-types.js +1 -0
- package/esm/auth/orm/models/index.d.ts +2 -0
- package/esm/auth/orm/models/index.js +2 -0
- package/esm/auth/orm/models/principalEntity.d.ts +2 -20
- package/esm/auth/orm/models/principalEntity.js +1 -25
- package/esm/auth/orm/models/userSetting.d.ts +54 -0
- package/esm/auth/orm/models/userSetting.js +100 -0
- package/esm/auth/orm/models/userSettingsSecurity.d.ts +54 -0
- package/esm/{admin/orm/models/orgProfileCapability.js → auth/orm/models/userSettingsSecurity.js} +25 -25
- package/esm/auth/orm/mutation/index.d.ts +158 -5
- package/esm/auth/orm/mutation/index.js +228 -0
- package/esm/auth/orm/query/index.d.ts +6 -1
- package/esm/auth/orm/query/index.js +7 -0
- package/esm/compute/orm/index.d.ts +208 -0
- package/esm/compute/orm/index.js +98 -0
- package/esm/compute/orm/input-types.d.ts +23534 -8853
- package/esm/compute/orm/input-types.js +78 -0
- package/esm/compute/orm/models/build.d.ts +54 -0
- package/esm/{api/orm/models/app.js → compute/orm/models/build.js} +25 -25
- package/esm/compute/orm/models/buildStep.d.ts +56 -0
- package/esm/{api/orm/models/httpRoute.js → compute/orm/models/buildStep.js} +28 -25
- package/esm/compute/orm/models/builderBinding.d.ts +54 -0
- package/esm/{usage/orm/models/billingUsageSummary.js → compute/orm/models/builderBinding.js} +25 -25
- package/esm/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
- package/esm/{admin/orm/models/orgProfileGrant.js → compute/orm/models/databaseFunctionGraph.js} +25 -25
- package/esm/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecution.js +103 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +103 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.js +103 -0
- package/esm/compute/orm/models/databaseGraphCommit.d.ts +56 -0
- package/esm/{usage/orm/models/appLevelRequirement.js → compute/orm/models/databaseGraphCommit.js} +28 -25
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +55 -0
- package/esm/compute/orm/models/databaseGraphObject.d.ts +56 -0
- package/esm/compute/orm/models/databaseGraphObject.js +93 -0
- package/esm/compute/orm/models/databaseGraphRef.d.ts +56 -0
- package/esm/{usage/orm/models/appEvent.js → compute/orm/models/databaseGraphRef.js} +27 -27
- package/esm/compute/orm/models/databaseGraphStore.d.ts +54 -0
- package/esm/{admin/orm/models/orgProfileTemplate.js → compute/orm/models/databaseGraphStore.js} +25 -25
- package/esm/compute/orm/models/image.d.ts +54 -0
- package/esm/compute/orm/models/image.js +100 -0
- package/esm/compute/orm/models/imageGrant.d.ts +54 -0
- package/esm/{admin/orm/models/orgProfile.js → compute/orm/models/imageGrant.js} +25 -25
- package/esm/compute/orm/models/index.d.ts +49 -0
- package/esm/compute/orm/models/index.js +49 -0
- package/esm/compute/orm/models/platformBuild.d.ts +54 -0
- package/esm/compute/orm/models/platformBuild.js +100 -0
- package/esm/compute/orm/models/platformBuildStep.d.ts +56 -0
- package/esm/compute/orm/models/platformBuildStep.js +103 -0
- package/esm/compute/orm/models/platformBuilderBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformBuilderBinding.js +100 -0
- package/esm/compute/orm/models/platformImage.d.ts +54 -0
- package/esm/compute/orm/models/platformImage.js +100 -0
- package/esm/compute/orm/models/platformImageGrant.d.ts +54 -0
- package/esm/compute/orm/models/platformImageGrant.js +100 -0
- package/esm/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
- package/esm/compute/orm/models/platformK8sResourceKind.js +100 -0
- package/esm/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
- package/esm/compute/orm/models/platformK8sSpecRule.js +100 -0
- package/esm/compute/orm/models/platformProposal.d.ts +54 -0
- package/esm/compute/orm/models/platformProposal.js +100 -0
- package/esm/compute/orm/models/platformProposalComment.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalComment.js +100 -0
- package/esm/compute/orm/models/platformProposalFileView.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalFileView.js +100 -0
- package/esm/compute/orm/models/platformProposalReaction.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalReaction.js +100 -0
- package/esm/compute/orm/models/platformProposalReview.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalReview.js +100 -0
- package/esm/compute/orm/models/platformProposalsChunk.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalsChunk.js +100 -0
- package/esm/compute/orm/models/platformRegistry.d.ts +54 -0
- package/esm/compute/orm/models/platformRegistry.js +100 -0
- package/esm/compute/orm/models/platformRegistryBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformRegistryBinding.js +100 -0
- package/esm/compute/orm/models/platformRegistryGrant.d.ts +54 -0
- package/esm/compute/orm/models/platformRegistryGrant.js +100 -0
- package/esm/compute/orm/models/platformRepository.d.ts +54 -0
- package/esm/compute/orm/models/platformRepository.js +100 -0
- package/esm/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
- package/esm/compute/orm/models/platformRepositoryEvent.js +100 -0
- package/esm/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
- package/esm/compute/orm/models/platformRepositoryRequiredCheck.js +100 -0
- package/esm/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
- package/esm/compute/orm/models/platformRepositoryWorkflow.js +100 -0
- package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
- package/esm/compute/orm/models/platformResourceObservedStorage.js +55 -0
- package/esm/compute/orm/models/proposal.d.ts +54 -0
- package/esm/{usage/orm/models/planCap.js → compute/orm/models/proposal.js} +25 -25
- package/esm/compute/orm/models/proposalComment.d.ts +54 -0
- package/esm/compute/orm/models/proposalComment.js +100 -0
- package/esm/compute/orm/models/proposalFileView.d.ts +54 -0
- package/esm/compute/orm/models/proposalFileView.js +100 -0
- package/esm/compute/orm/models/proposalReaction.d.ts +54 -0
- package/esm/compute/orm/models/proposalReaction.js +100 -0
- package/esm/compute/orm/models/proposalReview.d.ts +54 -0
- package/esm/compute/orm/models/proposalReview.js +100 -0
- package/esm/compute/orm/models/proposalsChunk.d.ts +54 -0
- package/esm/compute/orm/models/proposalsChunk.js +100 -0
- package/esm/compute/orm/models/registry.d.ts +54 -0
- package/esm/compute/orm/models/registry.js +100 -0
- package/esm/compute/orm/models/registryBinding.d.ts +54 -0
- package/esm/{modules/orm/models/httpRouteModule.js → compute/orm/models/registryBinding.js} +25 -25
- package/esm/compute/orm/models/registryGrant.d.ts +54 -0
- package/esm/{usage/orm/models/appLevelGrant.js → compute/orm/models/registryGrant.js} +25 -25
- package/esm/compute/orm/models/repository.d.ts +54 -0
- package/esm/{usage/orm/models/ledger.js → compute/orm/models/repository.js} +25 -28
- package/esm/compute/orm/models/repositoryEvent.d.ts +54 -0
- package/esm/{admin/orm/models/appProfileGrant.js → compute/orm/models/repositoryEvent.js} +25 -25
- package/esm/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsUserModule.js → compute/orm/models/repositoryRequiredCheck.js} +25 -25
- package/esm/compute/orm/models/repositoryWorkflow.d.ts +54 -0
- package/esm/{admin/orm/models/appProfileTemplate.js → compute/orm/models/repositoryWorkflow.js} +25 -25
- package/esm/compute/orm/models/resourceObservedStorage.d.ts +30 -0
- package/esm/compute/orm/models/resourceObservedStorage.js +55 -0
- package/esm/compute/orm/mutation/index.d.ts +174 -5
- package/esm/compute/orm/mutation/index.js +252 -0
- package/esm/compute/orm/query/index.d.ts +8 -0
- package/esm/compute/orm/query/index.js +12 -0
- package/esm/config/orm/index.d.ts +48 -0
- package/esm/config/orm/index.js +8 -0
- package/esm/config/orm/input-types.d.ts +711 -41
- package/esm/config/orm/models/appInternalSecret.d.ts +36 -0
- package/esm/config/orm/models/appInternalSecret.js +76 -0
- package/esm/config/orm/models/index.d.ts +4 -0
- package/esm/config/orm/models/index.js +4 -0
- package/esm/config/orm/models/internalConfig.d.ts +54 -0
- package/esm/config/orm/models/internalConfig.js +100 -0
- package/esm/config/orm/models/internalSecret.d.ts +36 -0
- package/esm/config/orm/models/internalSecret.js +76 -0
- package/esm/config/orm/models/platformInternalConfig.d.ts +54 -0
- package/esm/config/orm/models/platformInternalConfig.js +100 -0
- package/esm/config/orm/mutation/index.d.ts +70 -5
- package/esm/config/orm/mutation/index.js +96 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/infra/orm/index.d.ts +17 -0
- package/esm/infra/orm/index.js +2 -0
- package/esm/infra/orm/input-types.d.ts +297 -36
- package/esm/infra/orm/models/contentPreset.d.ts +54 -0
- package/esm/{admin/orm/models/appCapability.js → infra/orm/models/contentPreset.js} +25 -25
- package/esm/infra/orm/models/index.d.ts +1 -0
- package/esm/infra/orm/models/index.js +1 -0
- package/esm/infra/orm/mutation/index.d.ts +30 -5
- package/esm/infra/orm/mutation/index.js +36 -0
- package/esm/modules/orm/index.d.ts +14 -4
- package/esm/modules/orm/index.js +14 -4
- package/esm/modules/orm/input-types.d.ts +2752 -747
- package/esm/modules/orm/input-types.js +1 -5
- package/esm/modules/orm/models/clusterModule.d.ts +54 -0
- package/esm/{admin/orm/models/orgCapability.js → modules/orm/models/clusterModule.js} +25 -25
- package/esm/modules/orm/models/imageModule.d.ts +54 -0
- package/esm/modules/orm/models/imageModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +7 -2
- package/esm/modules/orm/models/index.js +7 -2
- package/esm/modules/orm/models/internalConfigModule.d.ts +54 -0
- package/esm/{admin/orm/models/orgMembershipProfile.js → modules/orm/models/internalConfigModule.js} +25 -25
- package/esm/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
- package/esm/modules/orm/models/k8sAdmissionModule.js +100 -0
- package/esm/modules/orm/models/machineModule.d.ts +54 -0
- package/esm/{usage/orm/models/meterCredit.js → modules/orm/models/machineModule.js} +25 -25
- package/esm/modules/orm/models/refusalLogModule.d.ts +54 -0
- package/esm/modules/orm/models/refusalLogModule.js +100 -0
- package/esm/modules/orm/models/repositoryModule.d.ts +54 -0
- package/esm/modules/orm/models/repositoryModule.js +100 -0
- package/esm/modules/orm/mutation/index.d.ts +6 -5
- package/esm/objects/orm/input-types.d.ts +11 -18
- package/esm/objects/orm/mutation/index.d.ts +5 -4
- package/esm/remote/index.d.ts +5 -0
- package/esm/remote/index.js +5 -0
- package/esm/remote/orm/client.d.ts +97 -0
- package/esm/remote/orm/client.js +155 -0
- package/esm/remote/orm/index.d.ts +50 -0
- package/esm/remote/orm/index.js +47 -0
- package/esm/remote/orm/input-types.d.ts +1482 -0
- package/esm/remote/orm/input-types.js +9 -0
- package/esm/remote/orm/models/index.d.ts +8 -0
- package/esm/remote/orm/models/index.js +8 -0
- package/esm/remote/orm/models/machine.d.ts +54 -0
- package/esm/{usage/orm/models/meter.js → remote/orm/models/machine.js} +25 -25
- package/esm/remote/orm/models/machineMessage.d.ts +56 -0
- package/esm/{usage/orm/models/meterDefault.js → remote/orm/models/machineMessage.js} +28 -25
- package/esm/remote/orm/models/machineSession.d.ts +54 -0
- package/esm/{usage/orm/models/meterSource.js → remote/orm/models/machineSession.js} +25 -25
- package/esm/remote/orm/mutation/index.d.ts +35 -0
- package/esm/remote/orm/mutation/index.js +30 -0
- package/esm/remote/orm/query-builder.d.ts +110 -0
- package/esm/remote/orm/query-builder.js +705 -0
- package/esm/remote/orm/realtime.d.ts +142 -0
- package/esm/remote/orm/realtime.js +100 -0
- package/esm/remote/orm/select-types.d.ts +125 -0
- package/esm/remote/orm/select-types.js +1 -0
- package/esm/remote/orm/types.d.ts +6 -0
- package/esm/remote/orm/types.js +7 -0
- package/esm/storage/index.d.ts +5 -0
- package/esm/storage/index.js +5 -0
- package/esm/storage/orm/client.d.ts +97 -0
- package/esm/storage/orm/client.js +155 -0
- package/esm/storage/orm/index.d.ts +77 -0
- package/esm/storage/orm/index.js +49 -0
- package/esm/storage/orm/input-types.d.ts +2076 -0
- package/esm/storage/orm/input-types.js +11 -0
- package/esm/storage/orm/models/bucket.d.ts +54 -0
- package/esm/storage/orm/models/bucket.js +100 -0
- package/esm/storage/orm/models/file.d.ts +54 -0
- package/esm/{usage/orm/models/plan.js → storage/orm/models/file.js} +25 -25
- package/esm/storage/orm/models/index.d.ts +9 -0
- package/esm/storage/orm/models/index.js +9 -0
- package/esm/storage/orm/models/platformBucket.d.ts +54 -0
- package/esm/{usage/orm/models/planMeterLimit.js → storage/orm/models/platformBucket.js} +25 -25
- package/esm/storage/orm/models/platformFile.d.ts +54 -0
- package/esm/{usage/orm/models/planOverride.js → storage/orm/models/platformFile.js} +25 -25
- package/esm/storage/orm/mutation/index.d.ts +91 -0
- package/esm/storage/orm/mutation/index.js +90 -0
- package/esm/storage/orm/query-builder.d.ts +110 -0
- package/esm/storage/orm/query-builder.js +705 -0
- package/esm/storage/orm/realtime.d.ts +142 -0
- package/esm/storage/orm/realtime.js +100 -0
- package/esm/storage/orm/select-types.d.ts +125 -0
- package/esm/storage/orm/select-types.js +1 -0
- package/esm/storage/orm/types.d.ts +6 -0
- package/esm/storage/orm/types.js +7 -0
- package/esm/usage/orm/index.d.ts +0 -85
- package/esm/usage/orm/index.js +0 -40
- package/esm/usage/orm/input-types.d.ts +130 -3767
- package/esm/usage/orm/input-types.js +0 -10
- package/esm/usage/orm/models/index.d.ts +0 -20
- package/esm/usage/orm/models/index.js +0 -20
- package/esm/usage/orm/mutation/index.d.ts +6 -53
- package/esm/usage/orm/mutation/index.js +0 -72
- package/esm/usage/orm/query/index.d.ts +0 -33
- package/esm/usage/orm/query/index.js +0 -51
- package/index.d.ts +2 -0
- package/index.js +3 -1
- package/infra/orm/index.d.ts +17 -0
- package/infra/orm/index.js +2 -0
- package/infra/orm/input-types.d.ts +297 -36
- package/infra/orm/models/contentPreset.d.ts +54 -0
- package/infra/orm/models/contentPreset.js +104 -0
- package/infra/orm/models/index.d.ts +1 -0
- package/infra/orm/models/index.js +3 -1
- package/infra/orm/mutation/index.d.ts +30 -5
- package/infra/orm/mutation/index.js +36 -0
- package/modules/orm/index.d.ts +14 -4
- package/modules/orm/index.js +14 -4
- package/modules/orm/input-types.d.ts +2752 -747
- package/modules/orm/input-types.js +1 -5
- package/modules/orm/models/clusterModule.d.ts +54 -0
- package/modules/orm/models/clusterModule.js +104 -0
- package/modules/orm/models/imageModule.d.ts +54 -0
- package/{usage/orm/models/planPricing.js → modules/orm/models/imageModule.js} +27 -27
- package/modules/orm/models/index.d.ts +7 -2
- package/modules/orm/models/index.js +16 -6
- package/modules/orm/models/internalConfigModule.d.ts +54 -0
- package/{admin/orm/models/orgMembershipProfile.js → modules/orm/models/internalConfigModule.js} +27 -27
- package/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
- package/modules/orm/models/k8sAdmissionModule.js +104 -0
- package/modules/orm/models/machineModule.d.ts +54 -0
- package/modules/orm/models/machineModule.js +104 -0
- package/modules/orm/models/refusalLogModule.d.ts +54 -0
- package/modules/orm/models/refusalLogModule.js +104 -0
- package/modules/orm/models/repositoryModule.d.ts +54 -0
- package/modules/orm/models/repositoryModule.js +104 -0
- package/modules/orm/mutation/index.d.ts +6 -5
- package/objects/orm/input-types.d.ts +11 -18
- package/objects/orm/mutation/index.d.ts +5 -4
- package/package.json +5 -5
- package/remote/index.d.ts +5 -0
- package/remote/index.js +21 -0
- package/remote/orm/client.d.ts +97 -0
- package/remote/orm/client.js +162 -0
- package/remote/orm/index.d.ts +50 -0
- package/remote/orm/index.js +69 -0
- package/remote/orm/input-types.d.ts +1482 -0
- package/remote/orm/input-types.js +12 -0
- package/remote/orm/models/index.d.ts +8 -0
- package/remote/orm/models/index.js +14 -0
- package/remote/orm/models/machine.d.ts +54 -0
- package/{usage/orm/models/planCap.js → remote/orm/models/machine.js} +27 -27
- package/remote/orm/models/machineMessage.d.ts +56 -0
- package/remote/orm/models/machineMessage.js +107 -0
- package/remote/orm/models/machineSession.d.ts +54 -0
- package/{usage/orm/models/meterDefault.js → remote/orm/models/machineSession.js} +27 -27
- package/remote/orm/mutation/index.d.ts +35 -0
- package/remote/orm/mutation/index.js +33 -0
- package/remote/orm/query-builder.d.ts +110 -0
- package/remote/orm/query-builder.js +757 -0
- package/remote/orm/realtime.d.ts +142 -0
- package/remote/orm/realtime.js +104 -0
- package/remote/orm/select-types.d.ts +125 -0
- package/remote/orm/select-types.js +2 -0
- package/remote/orm/types.d.ts +6 -0
- package/remote/orm/types.js +23 -0
- package/storage/index.d.ts +5 -0
- package/storage/index.js +21 -0
- package/storage/orm/client.d.ts +97 -0
- package/storage/orm/client.js +162 -0
- package/storage/orm/index.d.ts +77 -0
- package/storage/orm/index.js +71 -0
- package/storage/orm/input-types.d.ts +2076 -0
- package/storage/orm/input-types.js +14 -0
- package/storage/orm/models/bucket.d.ts +54 -0
- package/{usage/orm/models/ledger.js → storage/orm/models/bucket.js} +27 -30
- package/storage/orm/models/file.d.ts +54 -0
- package/{usage/orm/models/plan.js → storage/orm/models/file.js} +27 -27
- package/storage/orm/models/index.d.ts +9 -0
- package/storage/orm/models/index.js +16 -0
- package/storage/orm/models/platformBucket.d.ts +54 -0
- package/storage/orm/models/platformBucket.js +104 -0
- package/storage/orm/models/platformFile.d.ts +54 -0
- package/{api/orm/models/appComponent.js → storage/orm/models/platformFile.js} +27 -27
- package/storage/orm/mutation/index.d.ts +91 -0
- package/storage/orm/mutation/index.js +93 -0
- package/storage/orm/query-builder.d.ts +110 -0
- package/storage/orm/query-builder.js +757 -0
- package/storage/orm/realtime.d.ts +142 -0
- package/storage/orm/realtime.js +104 -0
- package/storage/orm/select-types.d.ts +125 -0
- package/storage/orm/select-types.js +2 -0
- package/storage/orm/types.d.ts +6 -0
- package/storage/orm/types.js +23 -0
- package/usage/orm/index.d.ts +0 -85
- package/usage/orm/index.js +0 -40
- package/usage/orm/input-types.d.ts +130 -3767
- package/usage/orm/input-types.js +0 -10
- package/usage/orm/models/index.d.ts +0 -20
- package/usage/orm/models/index.js +1 -41
- package/usage/orm/mutation/index.d.ts +6 -53
- package/usage/orm/mutation/index.js +0 -72
- package/usage/orm/query/index.d.ts +0 -33
- package/usage/orm/query/index.js +0 -51
- package/admin/orm/models/appCapability.d.ts +0 -54
- package/admin/orm/models/appCapabilityDefault.d.ts +0 -54
- package/admin/orm/models/appMembershipProfile.d.ts +0 -54
- package/admin/orm/models/appProfile.d.ts +0 -54
- package/admin/orm/models/appProfileCapability.d.ts +0 -54
- package/admin/orm/models/appProfileDefinitionGrant.d.ts +0 -54
- package/admin/orm/models/appProfileGrant.d.ts +0 -54
- package/admin/orm/models/appProfileTemplate.d.ts +0 -54
- package/admin/orm/models/orgCapability.d.ts +0 -54
- package/admin/orm/models/orgCapabilityDefault.d.ts +0 -54
- package/admin/orm/models/orgMembershipProfile.d.ts +0 -54
- package/admin/orm/models/orgProfile.d.ts +0 -54
- package/admin/orm/models/orgProfileCapability.d.ts +0 -54
- package/admin/orm/models/orgProfileCapability.js +0 -104
- package/admin/orm/models/orgProfileDefinitionGrant.d.ts +0 -54
- package/admin/orm/models/orgProfileDefinitionGrant.js +0 -104
- package/admin/orm/models/orgProfileGrant.d.ts +0 -54
- package/admin/orm/models/orgProfileTemplate.d.ts +0 -54
- package/api/orm/models/app.d.ts +0 -54
- package/api/orm/models/appComponent.d.ts +0 -54
- package/api/orm/models/httpRoute.d.ts +0 -54
- package/esm/admin/orm/models/appCapability.d.ts +0 -54
- package/esm/admin/orm/models/appCapabilityDefault.d.ts +0 -54
- package/esm/admin/orm/models/appMembershipProfile.d.ts +0 -54
- package/esm/admin/orm/models/appProfile.d.ts +0 -54
- package/esm/admin/orm/models/appProfileCapability.d.ts +0 -54
- package/esm/admin/orm/models/appProfileCapability.js +0 -100
- package/esm/admin/orm/models/appProfileDefinitionGrant.d.ts +0 -54
- package/esm/admin/orm/models/appProfileDefinitionGrant.js +0 -100
- package/esm/admin/orm/models/appProfileGrant.d.ts +0 -54
- package/esm/admin/orm/models/appProfileTemplate.d.ts +0 -54
- package/esm/admin/orm/models/orgCapability.d.ts +0 -54
- package/esm/admin/orm/models/orgCapabilityDefault.d.ts +0 -54
- package/esm/admin/orm/models/orgCapabilityDefault.js +0 -100
- package/esm/admin/orm/models/orgMembershipProfile.d.ts +0 -54
- package/esm/admin/orm/models/orgProfile.d.ts +0 -54
- package/esm/admin/orm/models/orgProfileCapability.d.ts +0 -54
- package/esm/admin/orm/models/orgProfileDefinitionGrant.d.ts +0 -54
- package/esm/admin/orm/models/orgProfileDefinitionGrant.js +0 -100
- package/esm/admin/orm/models/orgProfileGrant.d.ts +0 -54
- package/esm/admin/orm/models/orgProfileTemplate.d.ts +0 -54
- package/esm/api/orm/models/app.d.ts +0 -54
- package/esm/api/orm/models/appComponent.d.ts +0 -54
- package/esm/api/orm/models/appComponent.js +0 -100
- package/esm/api/orm/models/httpRoute.d.ts +0 -54
- package/esm/modules/orm/models/configSecretsUserModule.d.ts +0 -54
- package/esm/modules/orm/models/httpRouteModule.d.ts +0 -54
- package/esm/usage/orm/models/appAchievementReward.d.ts +0 -54
- package/esm/usage/orm/models/appAchievementReward.js +0 -100
- package/esm/usage/orm/models/appEvent.d.ts +0 -56
- package/esm/usage/orm/models/appEventAggregate.d.ts +0 -54
- package/esm/usage/orm/models/appEventType.d.ts +0 -54
- package/esm/usage/orm/models/appEventType.js +0 -100
- package/esm/usage/orm/models/appLevel.d.ts +0 -54
- package/esm/usage/orm/models/appLevelGrant.d.ts +0 -54
- package/esm/usage/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/usage/orm/models/billingUsageSummary.d.ts +0 -54
- package/esm/usage/orm/models/ledger.d.ts +0 -56
- package/esm/usage/orm/models/meter.d.ts +0 -54
- package/esm/usage/orm/models/meterCredit.d.ts +0 -54
- package/esm/usage/orm/models/meterDefault.d.ts +0 -54
- package/esm/usage/orm/models/meterSource.d.ts +0 -54
- package/esm/usage/orm/models/plan.d.ts +0 -54
- package/esm/usage/orm/models/planCap.d.ts +0 -54
- package/esm/usage/orm/models/planLimit.d.ts +0 -54
- package/esm/usage/orm/models/planMeterLimit.d.ts +0 -54
- package/esm/usage/orm/models/planOverride.d.ts +0 -54
- package/esm/usage/orm/models/planPricing.d.ts +0 -54
- package/esm/usage/orm/models/planSubscription.d.ts +0 -54
- package/modules/orm/models/configSecretsUserModule.d.ts +0 -54
- package/modules/orm/models/httpRouteModule.d.ts +0 -54
- package/usage/orm/models/appAchievementReward.d.ts +0 -54
- package/usage/orm/models/appAchievementReward.js +0 -104
- package/usage/orm/models/appEvent.d.ts +0 -56
- package/usage/orm/models/appEventAggregate.d.ts +0 -54
- package/usage/orm/models/appEventType.d.ts +0 -54
- package/usage/orm/models/appLevel.d.ts +0 -54
- package/usage/orm/models/appLevelGrant.d.ts +0 -54
- package/usage/orm/models/appLevelRequirement.d.ts +0 -54
- package/usage/orm/models/billingUsageSummary.d.ts +0 -54
- package/usage/orm/models/ledger.d.ts +0 -56
- package/usage/orm/models/meter.d.ts +0 -54
- package/usage/orm/models/meterCredit.d.ts +0 -54
- package/usage/orm/models/meterDefault.d.ts +0 -54
- package/usage/orm/models/meterSource.d.ts +0 -54
- package/usage/orm/models/plan.d.ts +0 -54
- package/usage/orm/models/planCap.d.ts +0 -54
- package/usage/orm/models/planLimit.d.ts +0 -54
- package/usage/orm/models/planMeterLimit.d.ts +0 -54
- package/usage/orm/models/planOverride.d.ts +0 -54
- package/usage/orm/models/planOverride.js +0 -104
- package/usage/orm/models/planPricing.d.ts +0 -54
- package/usage/orm/models/planSubscription.d.ts +0 -54
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Realtime Manager - WebSocket subscription support
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
interface WsGraphQLError {
|
|
7
|
+
readonly message: string;
|
|
8
|
+
readonly [key: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
interface WsExecutionResult<TData = Record<string, unknown>> {
|
|
11
|
+
data?: TData | null;
|
|
12
|
+
errors?: readonly WsGraphQLError[];
|
|
13
|
+
extensions?: Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
interface WsSink<T> {
|
|
16
|
+
next(value: T): void;
|
|
17
|
+
error(error: unknown): void;
|
|
18
|
+
complete(): void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Minimal interface matching the graphql-ws Client.
|
|
22
|
+
* Consumers pass a concrete instance via RealtimeConfig.client.
|
|
23
|
+
*/
|
|
24
|
+
export interface WsClient {
|
|
25
|
+
subscribe<TData = Record<string, unknown>>(payload: {
|
|
26
|
+
query: string;
|
|
27
|
+
variables?: Record<string, unknown>;
|
|
28
|
+
}, sink: WsSink<WsExecutionResult<TData>>): () => void;
|
|
29
|
+
dispose(): void;
|
|
30
|
+
}
|
|
31
|
+
/** The DML operation that triggered the subscription event */
|
|
32
|
+
export type SubscriptionOperation = 'INSERT' | 'UPDATE' | 'DELETE';
|
|
33
|
+
/** Connection state of the WebSocket */
|
|
34
|
+
export type ConnectionState = 'disconnected' | 'connecting' | 'connected' | 'reconnecting';
|
|
35
|
+
/** Listener for connection state changes */
|
|
36
|
+
export type ConnectionStateListener = (state: ConnectionState) => void;
|
|
37
|
+
/** Function returned by subscribe() to cancel the subscription */
|
|
38
|
+
export type Unsubscribe = () => void;
|
|
39
|
+
/**
|
|
40
|
+
* A realtime subscription event delivered to the client.
|
|
41
|
+
*
|
|
42
|
+
* @typeParam T - The row type of the subscribed table
|
|
43
|
+
*/
|
|
44
|
+
export interface SubscriptionEvent<T> {
|
|
45
|
+
/** The DML operation that triggered this event */
|
|
46
|
+
operation: SubscriptionOperation;
|
|
47
|
+
/** The current row data (null for DELETE if row is no longer visible) */
|
|
48
|
+
data: T | null;
|
|
49
|
+
/** Previous field values (populated on UPDATE when available) */
|
|
50
|
+
previousValues?: Partial<T>;
|
|
51
|
+
/** Server-side timestamp of when the change occurred */
|
|
52
|
+
timestamp: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Options for creating a subscription.
|
|
56
|
+
*
|
|
57
|
+
* @typeParam T - The row type of the subscribed table
|
|
58
|
+
* @typeParam TFilter - The filter type for the table
|
|
59
|
+
*/
|
|
60
|
+
export interface SubscribeOptions<T, TFilter = Record<string, unknown>> {
|
|
61
|
+
/** Server-side filter to limit which events are delivered */
|
|
62
|
+
filter?: TFilter;
|
|
63
|
+
/** Called when a subscription event is received */
|
|
64
|
+
onEvent: (event: SubscriptionEvent<T>) => void;
|
|
65
|
+
/** Called when the subscription encounters an error */
|
|
66
|
+
onError?: (error: Error) => void;
|
|
67
|
+
/** Called when the subscription completes (server-initiated close) */
|
|
68
|
+
onComplete?: () => void;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Metadata about a subscription field, used internally to map
|
|
72
|
+
* table names to GraphQL subscription field names and types.
|
|
73
|
+
*/
|
|
74
|
+
export interface SubscriptionFieldMeta {
|
|
75
|
+
/** The GraphQL subscription field name (e.g., 'onContactChanged') */
|
|
76
|
+
fieldName: string;
|
|
77
|
+
/** The table name in the source schema (e.g., 'contact') */
|
|
78
|
+
tableName: string;
|
|
79
|
+
/** The data field name inside the subscription payload (e.g., 'contact') */
|
|
80
|
+
dataFieldName: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Configuration for the realtime (WebSocket) connection.
|
|
84
|
+
* Pass this as the `realtime` option in OrmClientConfig.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```ts
|
|
88
|
+
* import { createClient } from 'graphql-ws';
|
|
89
|
+
*
|
|
90
|
+
* const client = createOrmClient({
|
|
91
|
+
* endpoint: 'https://api.example.com/graphql',
|
|
92
|
+
* realtime: {
|
|
93
|
+
* client: createClient({ url: 'wss://api.example.com/graphql' }),
|
|
94
|
+
* },
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
export interface RealtimeConfig {
|
|
99
|
+
/**
|
|
100
|
+
* A graphql-ws Client instance (or any object satisfying WsClient).
|
|
101
|
+
* The consumer creates this themselves, giving full control over
|
|
102
|
+
* connection options, auth, and transport.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```ts
|
|
106
|
+
* import { createClient } from 'graphql-ws';
|
|
107
|
+
* const wsClient = createClient({ url: 'wss://...' });
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
client: WsClient;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Manages a graphql-ws WebSocket client and multiplexes
|
|
114
|
+
* subscriptions over it. Created by OrmClient when `realtime`
|
|
115
|
+
* config is provided.
|
|
116
|
+
*/
|
|
117
|
+
export declare class RealtimeManager {
|
|
118
|
+
private wsClient;
|
|
119
|
+
private connectionState;
|
|
120
|
+
private stateListeners;
|
|
121
|
+
private activeSubscriptions;
|
|
122
|
+
constructor(config: RealtimeConfig);
|
|
123
|
+
/**
|
|
124
|
+
* Subscribe to a GraphQL subscription operation.
|
|
125
|
+
* Models call this with typed metadata and documents.
|
|
126
|
+
*/
|
|
127
|
+
subscribe<T>(meta: SubscriptionFieldMeta, document: string, variables: Record<string, unknown>, options: {
|
|
128
|
+
onEvent: (event: SubscriptionEvent<T>) => void;
|
|
129
|
+
onError?: (error: Error) => void;
|
|
130
|
+
onComplete?: () => void;
|
|
131
|
+
}): Unsubscribe;
|
|
132
|
+
/** Register a listener for connection state changes */
|
|
133
|
+
onConnectionStateChange(listener: ConnectionStateListener): Unsubscribe;
|
|
134
|
+
/** Get current connection state */
|
|
135
|
+
getConnectionState(): ConnectionState;
|
|
136
|
+
/** Number of active subscriptions */
|
|
137
|
+
getActiveSubscriptionCount(): number;
|
|
138
|
+
/** Dispose the manager and close the WebSocket connection */
|
|
139
|
+
dispose(): void;
|
|
140
|
+
private setConnectionState;
|
|
141
|
+
}
|
|
142
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Realtime Manager - WebSocket subscription support
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
// Minimal type shims so this module compiles without graphql-ws
|
|
8
|
+
// installed. Consumers supply a WsClient via RealtimeConfig;
|
|
9
|
+
// the SDK itself never imports or requires graphql-ws.
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.RealtimeManager = void 0;
|
|
12
|
+
// ============================================================================
|
|
13
|
+
// RealtimeManager
|
|
14
|
+
// ============================================================================
|
|
15
|
+
/**
|
|
16
|
+
* Manages a graphql-ws WebSocket client and multiplexes
|
|
17
|
+
* subscriptions over it. Created by OrmClient when `realtime`
|
|
18
|
+
* config is provided.
|
|
19
|
+
*/
|
|
20
|
+
class RealtimeManager {
|
|
21
|
+
wsClient;
|
|
22
|
+
connectionState = 'disconnected';
|
|
23
|
+
stateListeners = new Set();
|
|
24
|
+
activeSubscriptions = 0;
|
|
25
|
+
constructor(config) {
|
|
26
|
+
this.wsClient = config.client;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Subscribe to a GraphQL subscription operation.
|
|
30
|
+
* Models call this with typed metadata and documents.
|
|
31
|
+
*/
|
|
32
|
+
subscribe(meta, document, variables, options) {
|
|
33
|
+
this.activeSubscriptions++;
|
|
34
|
+
let disposed = false;
|
|
35
|
+
const cleanup = this.wsClient.subscribe({ query: document, variables }, {
|
|
36
|
+
next: (result) => {
|
|
37
|
+
if (disposed)
|
|
38
|
+
return;
|
|
39
|
+
if (result.errors) {
|
|
40
|
+
options.onError?.(new Error(result.errors.map((e) => e.message).join('; ')));
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
const payload = result.data?.[meta.fieldName];
|
|
44
|
+
if (!payload)
|
|
45
|
+
return;
|
|
46
|
+
const event = {
|
|
47
|
+
operation: payload.event ?? 'UPDATE',
|
|
48
|
+
data: payload[meta.dataFieldName] ?? null,
|
|
49
|
+
previousValues: payload.previousValues,
|
|
50
|
+
timestamp: payload.timestamp ?? new Date().toISOString(),
|
|
51
|
+
};
|
|
52
|
+
options.onEvent(event);
|
|
53
|
+
},
|
|
54
|
+
error: (err) => {
|
|
55
|
+
if (disposed)
|
|
56
|
+
return;
|
|
57
|
+
options.onError?.(err instanceof Error ? err : new Error(String(err)));
|
|
58
|
+
},
|
|
59
|
+
complete: () => {
|
|
60
|
+
if (disposed)
|
|
61
|
+
return;
|
|
62
|
+
options.onComplete?.();
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
return () => {
|
|
66
|
+
if (disposed)
|
|
67
|
+
return;
|
|
68
|
+
disposed = true;
|
|
69
|
+
this.activeSubscriptions--;
|
|
70
|
+
cleanup();
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
/** Register a listener for connection state changes */
|
|
74
|
+
onConnectionStateChange(listener) {
|
|
75
|
+
this.stateListeners.add(listener);
|
|
76
|
+
return () => {
|
|
77
|
+
this.stateListeners.delete(listener);
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/** Get current connection state */
|
|
81
|
+
getConnectionState() {
|
|
82
|
+
return this.connectionState;
|
|
83
|
+
}
|
|
84
|
+
/** Number of active subscriptions */
|
|
85
|
+
getActiveSubscriptionCount() {
|
|
86
|
+
return this.activeSubscriptions;
|
|
87
|
+
}
|
|
88
|
+
/** Dispose the manager and close the WebSocket connection */
|
|
89
|
+
dispose() {
|
|
90
|
+
this.wsClient.dispose();
|
|
91
|
+
this.stateListeners.clear();
|
|
92
|
+
this.activeSubscriptions = 0;
|
|
93
|
+
this.setConnectionState('disconnected');
|
|
94
|
+
}
|
|
95
|
+
setConnectionState(state) {
|
|
96
|
+
if (this.connectionState === state)
|
|
97
|
+
return;
|
|
98
|
+
this.connectionState = state;
|
|
99
|
+
for (const listener of this.stateListeners) {
|
|
100
|
+
listener(state);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.RealtimeManager = RealtimeManager;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type utilities for select inference
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
export interface ConnectionResult<T> {
|
|
7
|
+
nodes: T[];
|
|
8
|
+
totalCount: number;
|
|
9
|
+
pageInfo: PageInfo;
|
|
10
|
+
}
|
|
11
|
+
export interface PageInfo {
|
|
12
|
+
hasNextPage: boolean;
|
|
13
|
+
hasPreviousPage: boolean;
|
|
14
|
+
startCursor?: string | null;
|
|
15
|
+
endCursor?: string | null;
|
|
16
|
+
}
|
|
17
|
+
export interface FindManyArgs<TSelect, TWhere, TOrderBy> {
|
|
18
|
+
select?: TSelect;
|
|
19
|
+
where?: TWhere;
|
|
20
|
+
orderBy?: TOrderBy[];
|
|
21
|
+
first?: number;
|
|
22
|
+
last?: number;
|
|
23
|
+
after?: string;
|
|
24
|
+
before?: string;
|
|
25
|
+
offset?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface FindFirstArgs<TSelect, TWhere, TOrderBy> {
|
|
28
|
+
select?: TSelect;
|
|
29
|
+
where?: TWhere;
|
|
30
|
+
orderBy?: TOrderBy[];
|
|
31
|
+
}
|
|
32
|
+
export interface CreateArgs<TSelect, TData> {
|
|
33
|
+
data: TData;
|
|
34
|
+
select?: TSelect;
|
|
35
|
+
}
|
|
36
|
+
export interface UpdateArgs<TSelect, TWhere, TData> {
|
|
37
|
+
where: TWhere;
|
|
38
|
+
data: TData;
|
|
39
|
+
select?: TSelect;
|
|
40
|
+
}
|
|
41
|
+
export type FindOneArgs<TSelect, TIdName extends string = 'id', TId = string> = {
|
|
42
|
+
select?: TSelect;
|
|
43
|
+
} & Record<TIdName, TId>;
|
|
44
|
+
export interface DeleteArgs<TWhere, TSelect = undefined> {
|
|
45
|
+
where: TWhere;
|
|
46
|
+
select?: TSelect;
|
|
47
|
+
}
|
|
48
|
+
export interface BulkInsertArgs<TSelect, TData, TOnConflict = unknown> {
|
|
49
|
+
data: TData[];
|
|
50
|
+
select?: TSelect;
|
|
51
|
+
onConflict?: TOnConflict;
|
|
52
|
+
}
|
|
53
|
+
export interface BulkUpsertArgs<TSelect, TData, TOnConflict = unknown> {
|
|
54
|
+
data: TData[];
|
|
55
|
+
select?: TSelect;
|
|
56
|
+
onConflict: TOnConflict;
|
|
57
|
+
}
|
|
58
|
+
export interface BulkUpdateArgs<TSelect, TWhere, TData> {
|
|
59
|
+
where: TWhere;
|
|
60
|
+
data: TData;
|
|
61
|
+
select?: TSelect;
|
|
62
|
+
}
|
|
63
|
+
export interface BulkDeleteArgs<TSelect, TWhere> {
|
|
64
|
+
where: TWhere;
|
|
65
|
+
select?: TSelect;
|
|
66
|
+
}
|
|
67
|
+
export interface BulkMutationResult<T> {
|
|
68
|
+
affectedCount: number;
|
|
69
|
+
returning: T[];
|
|
70
|
+
}
|
|
71
|
+
type DepthLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
72
|
+
type DecrementDepth = {
|
|
73
|
+
0: 0;
|
|
74
|
+
1: 0;
|
|
75
|
+
2: 1;
|
|
76
|
+
3: 2;
|
|
77
|
+
4: 3;
|
|
78
|
+
5: 4;
|
|
79
|
+
6: 5;
|
|
80
|
+
7: 6;
|
|
81
|
+
8: 7;
|
|
82
|
+
9: 8;
|
|
83
|
+
10: 9;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Recursively validates select objects, rejecting unknown keys.
|
|
87
|
+
*
|
|
88
|
+
* NOTE: Depth is intentionally capped to avoid circular-instantiation issues
|
|
89
|
+
* in very large cyclic schemas.
|
|
90
|
+
*/
|
|
91
|
+
export type DeepExact<T, Shape, Depth extends DepthLevel = 10> = Depth extends 0 ? T extends Shape ? T : never : T extends Shape ? Exclude<keyof T, keyof Shape> extends never ? {
|
|
92
|
+
[K in keyof T]: K extends keyof Shape ? T[K] extends {
|
|
93
|
+
select: infer NS;
|
|
94
|
+
} ? Extract<Shape[K], {
|
|
95
|
+
select?: unknown;
|
|
96
|
+
}> extends {
|
|
97
|
+
select?: infer ShapeNS;
|
|
98
|
+
} ? DeepExact<Omit<T[K], 'select'> & {
|
|
99
|
+
select: DeepExact<NS, NonNullable<ShapeNS>, DecrementDepth[Depth]>;
|
|
100
|
+
}, Extract<Shape[K], {
|
|
101
|
+
select?: unknown;
|
|
102
|
+
}>, DecrementDepth[Depth]> : never : T[K] : never;
|
|
103
|
+
} : never : never;
|
|
104
|
+
/**
|
|
105
|
+
* Enforces exact select shape while keeping contextual typing on `S extends XxxSelect`.
|
|
106
|
+
* Use this as an intersection in overloads:
|
|
107
|
+
* `{ select: S } & StrictSelect<S, XxxSelect>`.
|
|
108
|
+
*/
|
|
109
|
+
export type StrictSelect<S, Shape> = S extends DeepExact<S, Shape> ? {} : never;
|
|
110
|
+
/**
|
|
111
|
+
* Hook-optimized strict select variant.
|
|
112
|
+
*
|
|
113
|
+
* Uses a shallower recursion depth to keep editor autocomplete responsive
|
|
114
|
+
* in large schemas while still validating common nested-select mistakes.
|
|
115
|
+
*/
|
|
116
|
+
export type HookStrictSelect<S, Shape> = S extends DeepExact<S, Shape, 5> ? {} : never;
|
|
117
|
+
/**
|
|
118
|
+
* Infer result type from select configuration
|
|
119
|
+
*/
|
|
120
|
+
export type InferSelectResult<TEntity, TSelect> = TSelect extends undefined ? TEntity : {
|
|
121
|
+
[K in keyof TSelect as TSelect[K] extends false | undefined ? never : K]: TSelect[K] extends true ? K extends keyof TEntity ? TEntity[K] : never : TSelect[K] extends {
|
|
122
|
+
select: infer NestedSelect;
|
|
123
|
+
} ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
|
|
124
|
+
};
|
|
125
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Types re-export
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
// Re-export all types from input-types
|
|
23
|
+
__exportStar(require("./input-types"), exports);
|
package/usage/orm/index.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
-
import { AppAchievementRewardModel } from './models/appAchievementReward';
|
|
3
|
-
import { AppEventAggregateModel } from './models/appEventAggregate';
|
|
4
|
-
import { AppEventModel } from './models/appEvent';
|
|
5
|
-
import { AppEventTypeModel } from './models/appEventType';
|
|
6
|
-
import { AppLevelModel } from './models/appLevel';
|
|
7
|
-
import { AppLevelGrantModel } from './models/appLevelGrant';
|
|
8
|
-
import { AppLevelRequirementModel } from './models/appLevelRequirement';
|
|
9
2
|
import { AppLimitCapModel } from './models/appLimitCap';
|
|
10
3
|
import { AppLimitCapsDefaultModel } from './models/appLimitCapsDefault';
|
|
11
4
|
import { AppLimitModel } from './models/appLimit';
|
|
@@ -16,12 +9,6 @@ import { AppLimitCreditRedemptionModel } from './models/appLimitCreditRedemption
|
|
|
16
9
|
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
17
10
|
import { AppLimitEventModel } from './models/appLimitEvent';
|
|
18
11
|
import { AppLimitWarningModel } from './models/appLimitWarning';
|
|
19
|
-
import { BillingUsageSummaryModel } from './models/billingUsageSummary';
|
|
20
|
-
import { LedgerModel } from './models/ledger';
|
|
21
|
-
import { MeterModel } from './models/meter';
|
|
22
|
-
import { MeterCreditModel } from './models/meterCredit';
|
|
23
|
-
import { MeterDefaultModel } from './models/meterDefault';
|
|
24
|
-
import { MeterSourceModel } from './models/meterSource';
|
|
25
12
|
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
|
|
26
13
|
import { OrgLimitCapModel } from './models/orgLimitCap';
|
|
27
14
|
import { OrgLimitCapsDefaultModel } from './models/orgLimitCapsDefault';
|
|
@@ -30,13 +17,6 @@ import { OrgLimitCreditModel } from './models/orgLimitCredit';
|
|
|
30
17
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
31
18
|
import { OrgLimitEventModel } from './models/orgLimitEvent';
|
|
32
19
|
import { OrgLimitWarningModel } from './models/orgLimitWarning';
|
|
33
|
-
import { PlanCapModel } from './models/planCap';
|
|
34
|
-
import { PlanModel } from './models/plan';
|
|
35
|
-
import { PlanLimitModel } from './models/planLimit';
|
|
36
|
-
import { PlanMeterLimitModel } from './models/planMeterLimit';
|
|
37
|
-
import { PlanOverrideModel } from './models/planOverride';
|
|
38
|
-
import { PlanPricingModel } from './models/planPricing';
|
|
39
|
-
import { PlanSubscriptionModel } from './models/planSubscription';
|
|
40
20
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
41
21
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
42
22
|
export { QueryBuilder } from './query-builder';
|
|
@@ -68,13 +48,6 @@ export { createMutationOperations } from './mutation';
|
|
|
68
48
|
* ```
|
|
69
49
|
*/
|
|
70
50
|
export declare function createClient(config: OrmClientConfig): {
|
|
71
|
-
appAchievementReward: AppAchievementRewardModel;
|
|
72
|
-
appEventAggregate: AppEventAggregateModel;
|
|
73
|
-
appEvent: AppEventModel;
|
|
74
|
-
appEventType: AppEventTypeModel;
|
|
75
|
-
appLevel: AppLevelModel;
|
|
76
|
-
appLevelGrant: AppLevelGrantModel;
|
|
77
|
-
appLevelRequirement: AppLevelRequirementModel;
|
|
78
51
|
appLimitCap: AppLimitCapModel;
|
|
79
52
|
appLimitCapsDefault: AppLimitCapsDefaultModel;
|
|
80
53
|
appLimit: AppLimitModel;
|
|
@@ -85,12 +58,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
85
58
|
appLimitDefault: AppLimitDefaultModel;
|
|
86
59
|
appLimitEvent: AppLimitEventModel;
|
|
87
60
|
appLimitWarning: AppLimitWarningModel;
|
|
88
|
-
billingUsageSummary: BillingUsageSummaryModel;
|
|
89
|
-
ledger: LedgerModel;
|
|
90
|
-
meter: MeterModel;
|
|
91
|
-
meterCredit: MeterCreditModel;
|
|
92
|
-
meterDefault: MeterDefaultModel;
|
|
93
|
-
meterSource: MeterSourceModel;
|
|
94
61
|
orgLimitAggregate: OrgLimitAggregateModel;
|
|
95
62
|
orgLimitCap: OrgLimitCapModel;
|
|
96
63
|
orgLimitCapsDefault: OrgLimitCapsDefaultModel;
|
|
@@ -99,13 +66,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
99
66
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
100
67
|
orgLimitEvent: OrgLimitEventModel;
|
|
101
68
|
orgLimitWarning: OrgLimitWarningModel;
|
|
102
|
-
planCap: PlanCapModel;
|
|
103
|
-
plan: PlanModel;
|
|
104
|
-
planLimit: PlanLimitModel;
|
|
105
|
-
planMeterLimit: PlanMeterLimitModel;
|
|
106
|
-
planOverride: PlanOverrideModel;
|
|
107
|
-
planPricing: PlanPricingModel;
|
|
108
|
-
planSubscription: PlanSubscriptionModel;
|
|
109
69
|
query: {
|
|
110
70
|
captureAppLimitDefaults: (options?: {
|
|
111
71
|
select?: Record<string, unknown>;
|
|
@@ -117,43 +77,13 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
117
77
|
}) => import("./query-builder").QueryBuilder<{
|
|
118
78
|
captureOrgLimitDefaults: unknown | null;
|
|
119
79
|
}>;
|
|
120
|
-
captureTrustLadder: (options?: {
|
|
121
|
-
select?: Record<string, unknown>;
|
|
122
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
123
|
-
captureTrustLadder: unknown | null;
|
|
124
|
-
}>;
|
|
125
|
-
eventsAchieved: (args: import("./query").EventsAchievedVariables, options?: {
|
|
126
|
-
select?: Record<string, unknown>;
|
|
127
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
128
|
-
eventsAchieved: boolean | null;
|
|
129
|
-
}>;
|
|
130
|
-
eventsRequired: (args: import("./query").EventsRequiredVariables, options?: {
|
|
131
|
-
select?: Record<string, unknown>;
|
|
132
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
133
|
-
eventsRequired: import("./input-types").AppLevelRequirementConnection | null;
|
|
134
|
-
}>;
|
|
135
80
|
};
|
|
136
81
|
mutation: {
|
|
137
|
-
grantAchievement: <S extends import("./input-types").GrantAchievementPayloadSelect>(args: import("./mutation").GrantAchievementVariables, options: {
|
|
138
|
-
select: S;
|
|
139
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").GrantAchievementPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
140
|
-
grantAchievement: import("./select-types").InferSelectResult<import("./input-types").GrantAchievementPayload, S> | null;
|
|
141
|
-
}>;
|
|
142
82
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
143
83
|
select: S;
|
|
144
84
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
145
85
|
provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
|
|
146
86
|
}>;
|
|
147
|
-
recomputeCapabilities: <S extends import("./input-types").RecomputeCapabilitiesPayloadSelect>(args: import("./mutation").RecomputeCapabilitiesVariables, options: {
|
|
148
|
-
select: S;
|
|
149
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").RecomputeCapabilitiesPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
150
|
-
recomputeCapabilities: import("./select-types").InferSelectResult<import("./input-types").RecomputeCapabilitiesPayload, S> | null;
|
|
151
|
-
}>;
|
|
152
|
-
revokeAchievement: <S extends import("./input-types").RevokeAchievementPayloadSelect>(args: import("./mutation").RevokeAchievementVariables, options: {
|
|
153
|
-
select: S;
|
|
154
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").RevokeAchievementPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
155
|
-
revokeAchievement: import("./select-types").InferSelectResult<import("./input-types").RevokeAchievementPayload, S> | null;
|
|
156
|
-
}>;
|
|
157
87
|
seedAppLimitCapsDefaults: <S extends import("./input-types").SeedAppLimitCapsDefaultsPayloadSelect>(args: import("./mutation").SeedAppLimitCapsDefaultsVariables, options: {
|
|
158
88
|
select: S;
|
|
159
89
|
} & import("./select-types").StrictSelect<S, import("./input-types").SeedAppLimitCapsDefaultsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -164,11 +94,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
164
94
|
} & import("./select-types").StrictSelect<S, import("./input-types").SeedAppLimitDefaultsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
165
95
|
seedAppLimitDefaults: import("./select-types").InferSelectResult<import("./input-types").SeedAppLimitDefaultsPayload, S> | null;
|
|
166
96
|
}>;
|
|
167
|
-
seedMeterDefaults: <S extends import("./input-types").SeedMeterDefaultsPayloadSelect>(args: import("./mutation").SeedMeterDefaultsVariables, options: {
|
|
168
|
-
select: S;
|
|
169
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SeedMeterDefaultsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
170
|
-
seedMeterDefaults: import("./select-types").InferSelectResult<import("./input-types").SeedMeterDefaultsPayload, S> | null;
|
|
171
|
-
}>;
|
|
172
97
|
seedOrgLimitCapsDefaults: <S extends import("./input-types").SeedOrgLimitCapsDefaultsPayloadSelect>(args: import("./mutation").SeedOrgLimitCapsDefaultsVariables, options: {
|
|
173
98
|
select: S;
|
|
174
99
|
} & import("./select-types").StrictSelect<S, import("./input-types").SeedOrgLimitCapsDefaultsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -179,15 +104,5 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
179
104
|
} & import("./select-types").StrictSelect<S, import("./input-types").SeedOrgLimitDefaultsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
180
105
|
seedOrgLimitDefaults: import("./select-types").InferSelectResult<import("./input-types").SeedOrgLimitDefaultsPayload, S> | null;
|
|
181
106
|
}>;
|
|
182
|
-
seedPlan: <S extends import("./input-types").SeedPlanPayloadSelect>(args: import("./mutation").SeedPlanVariables, options: {
|
|
183
|
-
select: S;
|
|
184
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SeedPlanPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
185
|
-
seedPlan: import("./select-types").InferSelectResult<import("./input-types").SeedPlanPayload, S> | null;
|
|
186
|
-
}>;
|
|
187
|
-
seedTrustLadder: <S extends import("./input-types").SeedTrustLadderPayloadSelect>(args: import("./mutation").SeedTrustLadderVariables, options: {
|
|
188
|
-
select: S;
|
|
189
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SeedTrustLadderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
190
|
-
seedTrustLadder: import("./select-types").InferSelectResult<import("./input-types").SeedTrustLadderPayload, S> | null;
|
|
191
|
-
}>;
|
|
192
107
|
};
|
|
193
108
|
};
|
package/usage/orm/index.js
CHANGED
|
@@ -22,13 +22,6 @@ exports.createClient = createClient;
|
|
|
22
22
|
* DO NOT EDIT - changes will be overwritten
|
|
23
23
|
*/
|
|
24
24
|
const client_1 = require("./client");
|
|
25
|
-
const appAchievementReward_1 = require("./models/appAchievementReward");
|
|
26
|
-
const appEventAggregate_1 = require("./models/appEventAggregate");
|
|
27
|
-
const appEvent_1 = require("./models/appEvent");
|
|
28
|
-
const appEventType_1 = require("./models/appEventType");
|
|
29
|
-
const appLevel_1 = require("./models/appLevel");
|
|
30
|
-
const appLevelGrant_1 = require("./models/appLevelGrant");
|
|
31
|
-
const appLevelRequirement_1 = require("./models/appLevelRequirement");
|
|
32
25
|
const appLimitCap_1 = require("./models/appLimitCap");
|
|
33
26
|
const appLimitCapsDefault_1 = require("./models/appLimitCapsDefault");
|
|
34
27
|
const appLimit_1 = require("./models/appLimit");
|
|
@@ -39,12 +32,6 @@ const appLimitCreditRedemption_1 = require("./models/appLimitCreditRedemption");
|
|
|
39
32
|
const appLimitDefault_1 = require("./models/appLimitDefault");
|
|
40
33
|
const appLimitEvent_1 = require("./models/appLimitEvent");
|
|
41
34
|
const appLimitWarning_1 = require("./models/appLimitWarning");
|
|
42
|
-
const billingUsageSummary_1 = require("./models/billingUsageSummary");
|
|
43
|
-
const ledger_1 = require("./models/ledger");
|
|
44
|
-
const meter_1 = require("./models/meter");
|
|
45
|
-
const meterCredit_1 = require("./models/meterCredit");
|
|
46
|
-
const meterDefault_1 = require("./models/meterDefault");
|
|
47
|
-
const meterSource_1 = require("./models/meterSource");
|
|
48
35
|
const orgLimitAggregate_1 = require("./models/orgLimitAggregate");
|
|
49
36
|
const orgLimitCap_1 = require("./models/orgLimitCap");
|
|
50
37
|
const orgLimitCapsDefault_1 = require("./models/orgLimitCapsDefault");
|
|
@@ -53,13 +40,6 @@ const orgLimitCredit_1 = require("./models/orgLimitCredit");
|
|
|
53
40
|
const orgLimitDefault_1 = require("./models/orgLimitDefault");
|
|
54
41
|
const orgLimitEvent_1 = require("./models/orgLimitEvent");
|
|
55
42
|
const orgLimitWarning_1 = require("./models/orgLimitWarning");
|
|
56
|
-
const planCap_1 = require("./models/planCap");
|
|
57
|
-
const plan_1 = require("./models/plan");
|
|
58
|
-
const planLimit_1 = require("./models/planLimit");
|
|
59
|
-
const planMeterLimit_1 = require("./models/planMeterLimit");
|
|
60
|
-
const planOverride_1 = require("./models/planOverride");
|
|
61
|
-
const planPricing_1 = require("./models/planPricing");
|
|
62
|
-
const planSubscription_1 = require("./models/planSubscription");
|
|
63
43
|
const query_1 = require("./query");
|
|
64
44
|
const mutation_1 = require("./mutation");
|
|
65
45
|
var client_2 = require("./client");
|
|
@@ -99,13 +79,6 @@ Object.defineProperty(exports, "createMutationOperations", { enumerable: true, g
|
|
|
99
79
|
function createClient(config) {
|
|
100
80
|
const client = new client_1.OrmClient(config);
|
|
101
81
|
return {
|
|
102
|
-
appAchievementReward: new appAchievementReward_1.AppAchievementRewardModel(client),
|
|
103
|
-
appEventAggregate: new appEventAggregate_1.AppEventAggregateModel(client),
|
|
104
|
-
appEvent: new appEvent_1.AppEventModel(client),
|
|
105
|
-
appEventType: new appEventType_1.AppEventTypeModel(client),
|
|
106
|
-
appLevel: new appLevel_1.AppLevelModel(client),
|
|
107
|
-
appLevelGrant: new appLevelGrant_1.AppLevelGrantModel(client),
|
|
108
|
-
appLevelRequirement: new appLevelRequirement_1.AppLevelRequirementModel(client),
|
|
109
82
|
appLimitCap: new appLimitCap_1.AppLimitCapModel(client),
|
|
110
83
|
appLimitCapsDefault: new appLimitCapsDefault_1.AppLimitCapsDefaultModel(client),
|
|
111
84
|
appLimit: new appLimit_1.AppLimitModel(client),
|
|
@@ -116,12 +89,6 @@ function createClient(config) {
|
|
|
116
89
|
appLimitDefault: new appLimitDefault_1.AppLimitDefaultModel(client),
|
|
117
90
|
appLimitEvent: new appLimitEvent_1.AppLimitEventModel(client),
|
|
118
91
|
appLimitWarning: new appLimitWarning_1.AppLimitWarningModel(client),
|
|
119
|
-
billingUsageSummary: new billingUsageSummary_1.BillingUsageSummaryModel(client),
|
|
120
|
-
ledger: new ledger_1.LedgerModel(client),
|
|
121
|
-
meter: new meter_1.MeterModel(client),
|
|
122
|
-
meterCredit: new meterCredit_1.MeterCreditModel(client),
|
|
123
|
-
meterDefault: new meterDefault_1.MeterDefaultModel(client),
|
|
124
|
-
meterSource: new meterSource_1.MeterSourceModel(client),
|
|
125
92
|
orgLimitAggregate: new orgLimitAggregate_1.OrgLimitAggregateModel(client),
|
|
126
93
|
orgLimitCap: new orgLimitCap_1.OrgLimitCapModel(client),
|
|
127
94
|
orgLimitCapsDefault: new orgLimitCapsDefault_1.OrgLimitCapsDefaultModel(client),
|
|
@@ -130,13 +97,6 @@ function createClient(config) {
|
|
|
130
97
|
orgLimitDefault: new orgLimitDefault_1.OrgLimitDefaultModel(client),
|
|
131
98
|
orgLimitEvent: new orgLimitEvent_1.OrgLimitEventModel(client),
|
|
132
99
|
orgLimitWarning: new orgLimitWarning_1.OrgLimitWarningModel(client),
|
|
133
|
-
planCap: new planCap_1.PlanCapModel(client),
|
|
134
|
-
plan: new plan_1.PlanModel(client),
|
|
135
|
-
planLimit: new planLimit_1.PlanLimitModel(client),
|
|
136
|
-
planMeterLimit: new planMeterLimit_1.PlanMeterLimitModel(client),
|
|
137
|
-
planOverride: new planOverride_1.PlanOverrideModel(client),
|
|
138
|
-
planPricing: new planPricing_1.PlanPricingModel(client),
|
|
139
|
-
planSubscription: new planSubscription_1.PlanSubscriptionModel(client),
|
|
140
100
|
query: (0, query_1.createQueryOperations)(client),
|
|
141
101
|
mutation: (0, mutation_1.createMutationOperations)(client),
|
|
142
102
|
};
|