@constructive-io/sdk 1.11.10 → 1.11.11
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/admin/orm/index.d.ts +58 -34
- package/admin/orm/index.js +40 -16
- package/admin/orm/input-types.d.ts +3824 -943
- package/admin/orm/input-types.js +33 -5
- package/admin/orm/models/appCapability.d.ts +54 -0
- package/admin/orm/models/appCapability.js +104 -0
- package/admin/orm/models/appCapabilityDefault.d.ts +54 -0
- package/admin/orm/models/{orgPermissionDefault.js → appCapabilityDefault.js} +27 -27
- package/admin/orm/models/appCapabilityDefaultCapability.d.ts +54 -0
- package/admin/orm/models/{orgPermissionDefaultPermission.js → appCapabilityDefaultCapability.js} +27 -27
- package/admin/orm/models/appCapabilityDefaultGrant.d.ts +54 -0
- package/admin/orm/models/{appPermissionDefaultGrant.js → appCapabilityDefaultGrant.js} +27 -27
- package/admin/orm/models/appMembershipProfile.d.ts +54 -0
- package/admin/orm/models/appMembershipProfile.js +104 -0
- package/admin/orm/models/appProfile.d.ts +54 -0
- package/admin/orm/models/appProfile.js +104 -0
- package/admin/orm/models/appProfileCapability.d.ts +54 -0
- package/admin/orm/models/appProfileCapability.js +104 -0
- package/admin/orm/models/appProfileDefinitionGrant.d.ts +54 -0
- package/admin/orm/models/appProfileDefinitionGrant.js +104 -0
- package/admin/orm/models/appProfileGrant.d.ts +54 -0
- package/admin/orm/models/appProfileGrant.js +104 -0
- package/admin/orm/models/appProfileTemplate.d.ts +54 -0
- package/admin/orm/models/appProfileTemplate.js +104 -0
- package/admin/orm/models/index.d.ts +20 -8
- package/admin/orm/models/index.js +41 -17
- package/admin/orm/models/orgCapability.d.ts +54 -0
- package/admin/orm/models/orgCapability.js +104 -0
- package/admin/orm/models/orgCapabilityDefault.d.ts +54 -0
- package/admin/orm/models/{appPermissionDefault.js → orgCapabilityDefault.js} +27 -27
- package/admin/orm/models/orgCapabilityDefaultCapability.d.ts +54 -0
- package/admin/orm/models/{appPermissionDefaultPermission.js → orgCapabilityDefaultCapability.js} +27 -27
- package/admin/orm/models/orgCapabilityDefaultGrant.d.ts +54 -0
- package/admin/orm/models/{orgPermissionDefaultGrant.js → orgCapabilityDefaultGrant.js} +27 -27
- package/admin/orm/models/orgMembershipProfile.d.ts +54 -0
- package/admin/orm/models/orgMembershipProfile.js +104 -0
- package/admin/orm/models/orgProfile.d.ts +54 -0
- package/admin/orm/models/orgProfile.js +104 -0
- package/admin/orm/models/orgProfileCapability.d.ts +54 -0
- package/admin/orm/models/orgProfileCapability.js +104 -0
- package/admin/orm/models/orgProfileDefinitionGrant.d.ts +54 -0
- package/admin/orm/models/orgProfileDefinitionGrant.js +104 -0
- package/admin/orm/models/orgProfileGrant.d.ts +54 -0
- package/admin/orm/models/orgProfileGrant.js +104 -0
- package/admin/orm/models/orgProfileTemplate.d.ts +54 -0
- package/admin/orm/models/orgProfileTemplate.js +104 -0
- package/admin/orm/query/index.d.ts +33 -33
- package/admin/orm/query/index.js +56 -56
- package/api/orm/index.d.ts +33 -21
- package/api/orm/index.js +20 -8
- package/api/orm/input-types.d.ts +2594 -895
- package/api/orm/input-types.js +19 -4
- package/api/orm/models/api.d.ts +54 -0
- package/api/orm/models/api.js +104 -0
- package/api/orm/models/app.d.ts +54 -0
- package/api/orm/models/app.js +104 -0
- package/api/orm/models/appComponent.d.ts +54 -0
- package/api/orm/models/{platformApis.js → appComponent.js} +27 -27
- package/api/orm/models/emailIdentity.d.ts +54 -0
- package/api/orm/models/emailIdentity.js +104 -0
- package/api/orm/models/emailProviderAccount.d.ts +54 -0
- package/api/orm/models/emailProviderAccount.js +104 -0
- package/api/orm/models/emailSiteIdentity.d.ts +54 -0
- package/api/orm/models/emailSiteIdentity.js +104 -0
- package/api/orm/models/index.d.ts +10 -4
- package/api/orm/models/index.js +22 -10
- package/api/orm/models/platformApi.d.ts +54 -0
- package/api/orm/models/platformApi.js +104 -0
- package/api/orm/models/platformEmailIdentity.d.ts +54 -0
- package/api/orm/models/platformEmailIdentity.js +104 -0
- package/api/orm/models/platformEmailProviderAccount.d.ts +54 -0
- package/api/orm/models/platformEmailProviderAccount.js +104 -0
- package/api/orm/models/platformEmailSiteIdentity.d.ts +54 -0
- package/api/orm/models/platformEmailSiteIdentity.js +104 -0
- package/api/orm/mutation/index.d.ts +22 -22
- package/api/orm/mutation/index.js +30 -30
- package/auth/orm/index.d.ts +10 -0
- package/auth/orm/input-types.d.ts +60 -6
- package/auth/orm/mutation/index.d.ts +17 -1
- package/auth/orm/mutation/index.js +24 -0
- package/compute/orm/index.d.ts +47 -0
- package/compute/orm/index.js +2 -0
- package/compute/orm/input-types.d.ts +470 -48
- package/compute/orm/models/contentPreset.d.ts +54 -0
- package/{admin/orm/models/appPermission.js → compute/orm/models/contentPreset.js} +27 -27
- package/compute/orm/models/index.d.ts +1 -0
- package/compute/orm/models/index.js +4 -2
- package/compute/orm/mutation/index.d.ts +73 -1
- package/compute/orm/mutation/index.js +108 -0
- package/esm/admin/orm/index.d.ts +58 -34
- package/esm/admin/orm/index.js +40 -16
- package/esm/admin/orm/input-types.d.ts +3824 -943
- package/esm/admin/orm/input-types.js +33 -5
- package/esm/admin/orm/models/appCapability.d.ts +54 -0
- package/esm/admin/orm/models/appCapability.js +100 -0
- package/esm/admin/orm/models/appCapabilityDefault.d.ts +54 -0
- package/esm/admin/orm/models/{appPermissionDefault.js → appCapabilityDefault.js} +25 -25
- package/esm/admin/orm/models/appCapabilityDefaultCapability.d.ts +54 -0
- package/esm/admin/orm/models/{appPermissionDefaultPermission.js → appCapabilityDefaultCapability.js} +25 -25
- package/esm/admin/orm/models/appCapabilityDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/{appPermissionDefaultGrant.js → appCapabilityDefaultGrant.js} +25 -25
- package/esm/admin/orm/models/appMembershipProfile.d.ts +54 -0
- package/esm/admin/orm/models/appMembershipProfile.js +100 -0
- package/esm/admin/orm/models/appProfile.d.ts +54 -0
- package/esm/admin/orm/models/appProfile.js +100 -0
- package/esm/admin/orm/models/appProfileCapability.d.ts +54 -0
- package/esm/admin/orm/models/appProfileCapability.js +100 -0
- package/esm/admin/orm/models/appProfileDefinitionGrant.d.ts +54 -0
- package/esm/admin/orm/models/appProfileDefinitionGrant.js +100 -0
- package/esm/admin/orm/models/appProfileGrant.d.ts +54 -0
- package/esm/admin/orm/models/appProfileGrant.js +100 -0
- package/esm/admin/orm/models/appProfileTemplate.d.ts +54 -0
- package/esm/admin/orm/models/appProfileTemplate.js +100 -0
- package/esm/admin/orm/models/index.d.ts +20 -8
- package/esm/admin/orm/models/index.js +20 -8
- package/esm/admin/orm/models/orgCapability.d.ts +54 -0
- package/esm/admin/orm/models/{orgPermission.js → orgCapability.js} +25 -25
- package/esm/admin/orm/models/orgCapabilityDefault.d.ts +54 -0
- package/esm/admin/orm/models/{orgPermissionDefault.js → orgCapabilityDefault.js} +25 -25
- package/esm/admin/orm/models/orgCapabilityDefaultCapability.d.ts +54 -0
- package/esm/admin/orm/models/{orgPermissionDefaultPermission.js → orgCapabilityDefaultCapability.js} +25 -25
- package/esm/admin/orm/models/orgCapabilityDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/{orgPermissionDefaultGrant.js → orgCapabilityDefaultGrant.js} +25 -25
- package/esm/admin/orm/models/orgMembershipProfile.d.ts +54 -0
- package/esm/admin/orm/models/orgMembershipProfile.js +100 -0
- package/esm/admin/orm/models/orgProfile.d.ts +54 -0
- package/esm/admin/orm/models/orgProfile.js +100 -0
- package/esm/admin/orm/models/orgProfileCapability.d.ts +54 -0
- package/esm/admin/orm/models/orgProfileCapability.js +100 -0
- package/esm/admin/orm/models/orgProfileDefinitionGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgProfileDefinitionGrant.js +100 -0
- package/esm/admin/orm/models/orgProfileGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgProfileGrant.js +100 -0
- package/esm/admin/orm/models/orgProfileTemplate.d.ts +54 -0
- package/esm/admin/orm/models/orgProfileTemplate.js +100 -0
- package/esm/admin/orm/query/index.d.ts +33 -33
- package/esm/admin/orm/query/index.js +56 -56
- package/esm/api/orm/index.d.ts +33 -21
- package/esm/api/orm/index.js +20 -8
- package/esm/api/orm/input-types.d.ts +2594 -895
- package/esm/api/orm/input-types.js +19 -4
- package/esm/api/orm/models/api.d.ts +54 -0
- package/esm/api/orm/models/{apis.js → api.js} +25 -25
- package/esm/api/orm/models/app.d.ts +54 -0
- package/esm/api/orm/models/app.js +100 -0
- package/esm/api/orm/models/appComponent.d.ts +54 -0
- package/esm/api/orm/models/appComponent.js +100 -0
- package/esm/api/orm/models/emailIdentity.d.ts +54 -0
- package/esm/api/orm/models/emailIdentity.js +100 -0
- package/esm/api/orm/models/emailProviderAccount.d.ts +54 -0
- package/esm/api/orm/models/emailProviderAccount.js +100 -0
- package/esm/api/orm/models/emailSiteIdentity.d.ts +54 -0
- package/esm/api/orm/models/emailSiteIdentity.js +100 -0
- package/esm/api/orm/models/index.d.ts +10 -4
- package/esm/api/orm/models/index.js +10 -4
- package/esm/api/orm/models/platformApi.d.ts +54 -0
- package/esm/api/orm/models/platformApi.js +100 -0
- package/esm/api/orm/models/platformEmailIdentity.d.ts +54 -0
- package/esm/api/orm/models/platformEmailIdentity.js +100 -0
- package/esm/api/orm/models/platformEmailProviderAccount.d.ts +54 -0
- package/esm/api/orm/models/platformEmailProviderAccount.js +100 -0
- package/esm/api/orm/models/platformEmailSiteIdentity.d.ts +54 -0
- package/esm/api/orm/models/platformEmailSiteIdentity.js +100 -0
- package/esm/api/orm/mutation/index.d.ts +22 -22
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/auth/orm/index.d.ts +10 -0
- package/esm/auth/orm/input-types.d.ts +60 -6
- package/esm/auth/orm/mutation/index.d.ts +17 -1
- package/esm/auth/orm/mutation/index.js +24 -0
- package/esm/compute/orm/index.d.ts +47 -0
- package/esm/compute/orm/index.js +2 -0
- package/esm/compute/orm/input-types.d.ts +470 -48
- package/esm/compute/orm/models/contentPreset.d.ts +54 -0
- package/esm/compute/orm/models/contentPreset.js +100 -0
- package/esm/compute/orm/models/index.d.ts +1 -0
- package/esm/compute/orm/models/index.js +1 -0
- package/esm/compute/orm/mutation/index.d.ts +73 -1
- package/esm/compute/orm/mutation/index.js +108 -0
- package/esm/modules/orm/index.d.ts +16 -50
- package/esm/modules/orm/index.js +16 -5
- package/esm/modules/orm/input-types.d.ts +2317 -774
- package/esm/modules/orm/input-types.js +6 -0
- package/esm/modules/orm/models/capabilitiesModule.d.ts +54 -0
- package/esm/modules/orm/models/capabilitiesModule.js +100 -0
- package/esm/modules/orm/models/contentPresetModule.d.ts +54 -0
- package/esm/modules/orm/models/contentPresetModule.js +100 -0
- package/esm/modules/orm/models/dataCapabilitiesField.d.ts +54 -0
- package/esm/modules/orm/models/dataCapabilitiesField.js +100 -0
- package/esm/modules/orm/models/emailSenderModule.d.ts +54 -0
- package/esm/modules/orm/models/{permissionsModule.js → emailSenderModule.js} +25 -25
- package/esm/modules/orm/models/fileRefField.d.ts +54 -0
- package/esm/modules/orm/models/fileRefField.js +100 -0
- package/esm/modules/orm/models/index.d.ts +8 -1
- package/esm/modules/orm/models/index.js +8 -1
- package/esm/modules/orm/models/oauthRequestsModule.d.ts +54 -0
- package/esm/modules/orm/models/oauthRequestsModule.js +100 -0
- package/esm/modules/orm/models/scopeTypesModule.d.ts +54 -0
- package/esm/modules/orm/models/scopeTypesModule.js +100 -0
- package/esm/modules/orm/models/userSettingsSecurityModule.d.ts +54 -0
- package/esm/modules/orm/models/userSettingsSecurityModule.js +100 -0
- package/esm/modules/orm/mutation/index.d.ts +1 -85
- package/esm/modules/orm/mutation/index.js +0 -84
- package/esm/objects/orm/index.d.ts +15 -0
- package/esm/objects/orm/input-types.d.ts +64 -0
- package/esm/objects/orm/mutation/index.d.ts +25 -1
- package/esm/objects/orm/mutation/index.js +36 -0
- package/esm/usage/orm/index.d.ts +98 -0
- package/esm/usage/orm/index.js +43 -0
- package/esm/usage/orm/input-types.d.ts +3728 -98
- package/esm/usage/orm/input-types.js +10 -0
- package/esm/usage/orm/models/appAchievementReward.d.ts +54 -0
- package/esm/usage/orm/models/appAchievementReward.js +100 -0
- package/esm/usage/orm/models/appEvent.d.ts +56 -0
- package/esm/usage/orm/models/appEvent.js +103 -0
- package/esm/usage/orm/models/appEventAggregate.d.ts +54 -0
- package/esm/usage/orm/models/appEventAggregate.js +100 -0
- package/esm/usage/orm/models/appEventType.d.ts +54 -0
- package/esm/usage/orm/models/appEventType.js +100 -0
- package/esm/usage/orm/models/appLevel.d.ts +54 -0
- package/esm/usage/orm/models/appLevel.js +100 -0
- package/esm/usage/orm/models/appLevelGrant.d.ts +54 -0
- package/esm/{admin/orm/models/appPermission.js → usage/orm/models/appLevelGrant.js} +25 -25
- package/esm/usage/orm/models/appLevelRequirement.d.ts +54 -0
- package/esm/usage/orm/models/appLevelRequirement.js +100 -0
- package/esm/usage/orm/models/billingUsageSummary.d.ts +54 -0
- package/esm/usage/orm/models/billingUsageSummary.js +100 -0
- package/esm/usage/orm/models/index.d.ts +20 -0
- package/esm/usage/orm/models/index.js +20 -0
- package/esm/usage/orm/models/ledger.d.ts +56 -0
- package/esm/usage/orm/models/ledger.js +103 -0
- package/esm/usage/orm/models/meter.d.ts +54 -0
- package/esm/usage/orm/models/meter.js +100 -0
- package/esm/usage/orm/models/meterCredit.d.ts +54 -0
- package/esm/usage/orm/models/meterCredit.js +100 -0
- package/esm/usage/orm/models/meterDefault.d.ts +54 -0
- package/esm/usage/orm/models/meterDefault.js +100 -0
- package/esm/usage/orm/models/meterSource.d.ts +54 -0
- package/esm/usage/orm/models/meterSource.js +100 -0
- package/esm/usage/orm/models/plan.d.ts +54 -0
- package/esm/usage/orm/models/plan.js +100 -0
- package/esm/usage/orm/models/planCap.d.ts +54 -0
- package/esm/usage/orm/models/planCap.js +100 -0
- package/esm/usage/orm/models/planLimit.d.ts +54 -0
- package/esm/usage/orm/models/planLimit.js +100 -0
- package/esm/usage/orm/models/planMeterLimit.d.ts +54 -0
- package/esm/usage/orm/models/planMeterLimit.js +100 -0
- package/esm/usage/orm/models/planOverride.d.ts +54 -0
- package/esm/{api/orm/models/platformApis.js → usage/orm/models/planOverride.js} +25 -25
- package/esm/usage/orm/models/planPricing.d.ts +54 -0
- package/esm/usage/orm/models/planPricing.js +100 -0
- package/esm/usage/orm/models/planSubscription.d.ts +54 -0
- package/esm/usage/orm/models/planSubscription.js +100 -0
- package/esm/usage/orm/mutation/index.d.ts +49 -1
- package/esm/usage/orm/mutation/index.js +72 -0
- package/esm/usage/orm/query/index.d.ts +52 -0
- package/esm/usage/orm/query/index.js +71 -0
- package/modules/orm/index.d.ts +16 -50
- package/modules/orm/index.js +17 -7
- package/modules/orm/input-types.d.ts +2317 -774
- package/modules/orm/input-types.js +6 -0
- package/modules/orm/models/capabilitiesModule.d.ts +54 -0
- package/modules/orm/models/capabilitiesModule.js +104 -0
- package/modules/orm/models/contentPresetModule.d.ts +54 -0
- package/modules/orm/models/contentPresetModule.js +104 -0
- package/modules/orm/models/dataCapabilitiesField.d.ts +54 -0
- package/modules/orm/models/dataCapabilitiesField.js +104 -0
- package/modules/orm/models/emailSenderModule.d.ts +54 -0
- package/modules/orm/models/{permissionsModule.js → emailSenderModule.js} +27 -27
- package/modules/orm/models/fileRefField.d.ts +54 -0
- package/modules/orm/models/fileRefField.js +104 -0
- package/modules/orm/models/index.d.ts +8 -1
- package/modules/orm/models/index.js +18 -4
- package/modules/orm/models/oauthRequestsModule.d.ts +54 -0
- package/modules/orm/models/oauthRequestsModule.js +104 -0
- package/modules/orm/models/scopeTypesModule.d.ts +54 -0
- package/modules/orm/models/scopeTypesModule.js +104 -0
- package/modules/orm/models/userSettingsSecurityModule.d.ts +54 -0
- package/modules/orm/models/userSettingsSecurityModule.js +104 -0
- package/modules/orm/mutation/index.d.ts +1 -85
- package/modules/orm/mutation/index.js +0 -84
- package/objects/orm/index.d.ts +15 -0
- package/objects/orm/input-types.d.ts +64 -0
- package/objects/orm/mutation/index.d.ts +25 -1
- package/objects/orm/mutation/index.js +36 -0
- package/package.json +2 -2
- package/usage/orm/index.d.ts +98 -0
- package/usage/orm/index.js +45 -1
- package/usage/orm/input-types.d.ts +3728 -98
- package/usage/orm/input-types.js +10 -0
- package/usage/orm/models/appAchievementReward.d.ts +54 -0
- package/usage/orm/models/appAchievementReward.js +104 -0
- package/usage/orm/models/appEvent.d.ts +56 -0
- package/usage/orm/models/appEvent.js +107 -0
- package/usage/orm/models/appEventAggregate.d.ts +54 -0
- package/usage/orm/models/appEventAggregate.js +104 -0
- package/usage/orm/models/appEventType.d.ts +54 -0
- package/usage/orm/models/appEventType.js +104 -0
- package/usage/orm/models/appLevel.d.ts +54 -0
- package/usage/orm/models/appLevel.js +104 -0
- package/usage/orm/models/appLevelGrant.d.ts +54 -0
- package/{admin/orm/models/orgPermission.js → usage/orm/models/appLevelGrant.js} +27 -27
- package/usage/orm/models/appLevelRequirement.d.ts +54 -0
- package/usage/orm/models/appLevelRequirement.js +104 -0
- package/usage/orm/models/billingUsageSummary.d.ts +54 -0
- package/usage/orm/models/billingUsageSummary.js +104 -0
- package/usage/orm/models/index.d.ts +20 -0
- package/usage/orm/models/index.js +41 -1
- package/usage/orm/models/ledger.d.ts +56 -0
- package/usage/orm/models/ledger.js +107 -0
- package/usage/orm/models/meter.d.ts +54 -0
- package/usage/orm/models/meter.js +104 -0
- package/usage/orm/models/meterCredit.d.ts +54 -0
- package/usage/orm/models/meterCredit.js +104 -0
- package/usage/orm/models/meterDefault.d.ts +54 -0
- package/usage/orm/models/meterDefault.js +104 -0
- package/usage/orm/models/meterSource.d.ts +54 -0
- package/usage/orm/models/meterSource.js +104 -0
- package/usage/orm/models/plan.d.ts +54 -0
- package/{api/orm/models/apis.js → usage/orm/models/plan.js} +27 -27
- package/usage/orm/models/planCap.d.ts +54 -0
- package/usage/orm/models/planCap.js +104 -0
- package/usage/orm/models/planLimit.d.ts +54 -0
- package/usage/orm/models/planLimit.js +104 -0
- package/usage/orm/models/planMeterLimit.d.ts +54 -0
- package/usage/orm/models/planMeterLimit.js +104 -0
- package/usage/orm/models/planOverride.d.ts +54 -0
- package/usage/orm/models/planOverride.js +104 -0
- package/usage/orm/models/planPricing.d.ts +54 -0
- package/usage/orm/models/planPricing.js +104 -0
- package/usage/orm/models/planSubscription.d.ts +54 -0
- package/usage/orm/models/planSubscription.js +104 -0
- package/usage/orm/mutation/index.d.ts +49 -1
- package/usage/orm/mutation/index.js +72 -0
- package/usage/orm/query/index.d.ts +52 -0
- package/usage/orm/query/index.js +74 -0
- package/admin/orm/models/appPermission.d.ts +0 -54
- package/admin/orm/models/appPermissionDefault.d.ts +0 -54
- package/admin/orm/models/appPermissionDefaultGrant.d.ts +0 -54
- package/admin/orm/models/appPermissionDefaultPermission.d.ts +0 -54
- package/admin/orm/models/orgPermission.d.ts +0 -54
- package/admin/orm/models/orgPermissionDefault.d.ts +0 -54
- package/admin/orm/models/orgPermissionDefaultGrant.d.ts +0 -54
- package/admin/orm/models/orgPermissionDefaultPermission.d.ts +0 -54
- package/api/orm/models/apis.d.ts +0 -54
- package/api/orm/models/astMigration.d.ts +0 -36
- package/api/orm/models/astMigration.js +0 -80
- package/api/orm/models/platformApis.d.ts +0 -54
- package/api/orm/models/sqlAction.d.ts +0 -36
- package/api/orm/models/sqlAction.js +0 -80
- package/esm/admin/orm/models/appPermission.d.ts +0 -54
- package/esm/admin/orm/models/appPermissionDefault.d.ts +0 -54
- package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +0 -54
- package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +0 -54
- package/esm/admin/orm/models/orgPermission.d.ts +0 -54
- package/esm/admin/orm/models/orgPermissionDefault.d.ts +0 -54
- package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +0 -54
- package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +0 -54
- package/esm/api/orm/models/apis.d.ts +0 -54
- package/esm/api/orm/models/astMigration.d.ts +0 -36
- package/esm/api/orm/models/astMigration.js +0 -76
- package/esm/api/orm/models/platformApis.d.ts +0 -54
- package/esm/api/orm/models/sqlAction.d.ts +0 -36
- package/esm/api/orm/models/sqlAction.js +0 -76
- package/esm/modules/orm/models/permissionsModule.d.ts +0 -54
- package/esm/modules/orm/query/index.d.ts +0 -39
- package/esm/modules/orm/query/index.js +0 -54
- package/modules/orm/models/permissionsModule.d.ts +0 -54
- package/modules/orm/query/index.d.ts +0 -39
- package/modules/orm/query/index.js +0 -57
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class PlanSubscriptionModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('PlanSubscription', 'planSubscriptions', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'PlanSubscriptionFilter', 'PlanSubscriptionOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'PlanSubscription',
|
|
22
|
+
fieldName: 'planSubscriptions',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('PlanSubscription', 'planSubscriptions', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'PlanSubscriptionFilter', 'PlanSubscriptionOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'PlanSubscription',
|
|
36
|
+
fieldName: 'planSubscription',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
planSubscription: data.planSubscriptions?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('PlanSubscription', 'planSubscriptions', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'PlanSubscriptionFilter', 'PlanSubscriptionOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'PlanSubscription',
|
|
57
|
+
fieldName: 'planSubscription',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
planSubscription: data.planSubscriptions?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('PlanSubscription', 'createPlanSubscription', 'planSubscription', args.select, args.data, 'CreatePlanSubscriptionInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'PlanSubscription',
|
|
71
|
+
fieldName: 'createPlanSubscription',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PlanSubscription', 'updatePlanSubscription', 'planSubscription', args.select, args.where.id, args.data, 'UpdatePlanSubscriptionInput', 'id', 'planSubscriptionPatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'PlanSubscription',
|
|
82
|
+
fieldName: 'updatePlanSubscription',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('PlanSubscription', 'deletePlanSubscription', 'planSubscription', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeletePlanSubscriptionInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'PlanSubscription',
|
|
95
|
+
fieldName: 'deletePlanSubscription',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ProvisionBucketInput, SeedAppLimitCapsDefaultsInput, SeedAppLimitDefaultsInput, SeedOrgLimitCapsDefaultsInput, SeedOrgLimitDefaultsInput, ProvisionBucketPayload, SeedAppLimitCapsDefaultsPayload, SeedAppLimitDefaultsPayload, SeedOrgLimitCapsDefaultsPayload, SeedOrgLimitDefaultsPayload, ProvisionBucketPayloadSelect, SeedAppLimitCapsDefaultsPayloadSelect, SeedAppLimitDefaultsPayloadSelect, SeedOrgLimitCapsDefaultsPayloadSelect, SeedOrgLimitDefaultsPayloadSelect } from '../input-types';
|
|
9
|
+
import type { GrantAchievementInput, ProvisionBucketInput, RecomputeCapabilitiesInput, RevokeAchievementInput, SeedAppLimitCapsDefaultsInput, SeedAppLimitDefaultsInput, SeedMeterDefaultsInput, SeedOrgLimitCapsDefaultsInput, SeedOrgLimitDefaultsInput, SeedPlanInput, SeedTrustLadderInput, GrantAchievementPayload, ProvisionBucketPayload, RecomputeCapabilitiesPayload, RevokeAchievementPayload, SeedAppLimitCapsDefaultsPayload, SeedAppLimitDefaultsPayload, SeedMeterDefaultsPayload, SeedOrgLimitCapsDefaultsPayload, SeedOrgLimitDefaultsPayload, SeedPlanPayload, SeedTrustLadderPayload, GrantAchievementPayloadSelect, ProvisionBucketPayloadSelect, RecomputeCapabilitiesPayloadSelect, RevokeAchievementPayloadSelect, SeedAppLimitCapsDefaultsPayloadSelect, SeedAppLimitDefaultsPayloadSelect, SeedMeterDefaultsPayloadSelect, SeedOrgLimitCapsDefaultsPayloadSelect, SeedOrgLimitDefaultsPayloadSelect, SeedPlanPayloadSelect, SeedTrustLadderPayloadSelect } from '../input-types';
|
|
10
|
+
export interface GrantAchievementVariables {
|
|
11
|
+
input: GrantAchievementInput;
|
|
12
|
+
}
|
|
10
13
|
/**
|
|
11
14
|
* Variables for provisionBucket
|
|
12
15
|
* Provision an S3 bucket for a logical bucket in the database.
|
|
@@ -17,24 +20,54 @@ and lifecycle settings.
|
|
|
17
20
|
export interface ProvisionBucketVariables {
|
|
18
21
|
input: ProvisionBucketInput;
|
|
19
22
|
}
|
|
23
|
+
export interface RecomputeCapabilitiesVariables {
|
|
24
|
+
input: RecomputeCapabilitiesInput;
|
|
25
|
+
}
|
|
26
|
+
export interface RevokeAchievementVariables {
|
|
27
|
+
input: RevokeAchievementInput;
|
|
28
|
+
}
|
|
20
29
|
export interface SeedAppLimitCapsDefaultsVariables {
|
|
21
30
|
input: SeedAppLimitCapsDefaultsInput;
|
|
22
31
|
}
|
|
23
32
|
export interface SeedAppLimitDefaultsVariables {
|
|
24
33
|
input: SeedAppLimitDefaultsInput;
|
|
25
34
|
}
|
|
35
|
+
export interface SeedMeterDefaultsVariables {
|
|
36
|
+
input: SeedMeterDefaultsInput;
|
|
37
|
+
}
|
|
26
38
|
export interface SeedOrgLimitCapsDefaultsVariables {
|
|
27
39
|
input: SeedOrgLimitCapsDefaultsInput;
|
|
28
40
|
}
|
|
29
41
|
export interface SeedOrgLimitDefaultsVariables {
|
|
30
42
|
input: SeedOrgLimitDefaultsInput;
|
|
31
43
|
}
|
|
44
|
+
export interface SeedPlanVariables {
|
|
45
|
+
input: SeedPlanInput;
|
|
46
|
+
}
|
|
47
|
+
export interface SeedTrustLadderVariables {
|
|
48
|
+
input: SeedTrustLadderInput;
|
|
49
|
+
}
|
|
32
50
|
export declare function createMutationOperations(client: OrmClient): {
|
|
51
|
+
grantAchievement: <S extends GrantAchievementPayloadSelect>(args: GrantAchievementVariables, options: {
|
|
52
|
+
select: S;
|
|
53
|
+
} & StrictSelect<S, GrantAchievementPayloadSelect>) => QueryBuilder<{
|
|
54
|
+
grantAchievement: InferSelectResult<GrantAchievementPayload, S> | null;
|
|
55
|
+
}>;
|
|
33
56
|
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
34
57
|
select: S;
|
|
35
58
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
36
59
|
provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
|
|
37
60
|
}>;
|
|
61
|
+
recomputeCapabilities: <S extends RecomputeCapabilitiesPayloadSelect>(args: RecomputeCapabilitiesVariables, options: {
|
|
62
|
+
select: S;
|
|
63
|
+
} & StrictSelect<S, RecomputeCapabilitiesPayloadSelect>) => QueryBuilder<{
|
|
64
|
+
recomputeCapabilities: InferSelectResult<RecomputeCapabilitiesPayload, S> | null;
|
|
65
|
+
}>;
|
|
66
|
+
revokeAchievement: <S extends RevokeAchievementPayloadSelect>(args: RevokeAchievementVariables, options: {
|
|
67
|
+
select: S;
|
|
68
|
+
} & StrictSelect<S, RevokeAchievementPayloadSelect>) => QueryBuilder<{
|
|
69
|
+
revokeAchievement: InferSelectResult<RevokeAchievementPayload, S> | null;
|
|
70
|
+
}>;
|
|
38
71
|
seedAppLimitCapsDefaults: <S extends SeedAppLimitCapsDefaultsPayloadSelect>(args: SeedAppLimitCapsDefaultsVariables, options: {
|
|
39
72
|
select: S;
|
|
40
73
|
} & StrictSelect<S, SeedAppLimitCapsDefaultsPayloadSelect>) => QueryBuilder<{
|
|
@@ -45,6 +78,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
45
78
|
} & StrictSelect<S, SeedAppLimitDefaultsPayloadSelect>) => QueryBuilder<{
|
|
46
79
|
seedAppLimitDefaults: InferSelectResult<SeedAppLimitDefaultsPayload, S> | null;
|
|
47
80
|
}>;
|
|
81
|
+
seedMeterDefaults: <S extends SeedMeterDefaultsPayloadSelect>(args: SeedMeterDefaultsVariables, options: {
|
|
82
|
+
select: S;
|
|
83
|
+
} & StrictSelect<S, SeedMeterDefaultsPayloadSelect>) => QueryBuilder<{
|
|
84
|
+
seedMeterDefaults: InferSelectResult<SeedMeterDefaultsPayload, S> | null;
|
|
85
|
+
}>;
|
|
48
86
|
seedOrgLimitCapsDefaults: <S extends SeedOrgLimitCapsDefaultsPayloadSelect>(args: SeedOrgLimitCapsDefaultsVariables, options: {
|
|
49
87
|
select: S;
|
|
50
88
|
} & StrictSelect<S, SeedOrgLimitCapsDefaultsPayloadSelect>) => QueryBuilder<{
|
|
@@ -55,4 +93,14 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
55
93
|
} & StrictSelect<S, SeedOrgLimitDefaultsPayloadSelect>) => QueryBuilder<{
|
|
56
94
|
seedOrgLimitDefaults: InferSelectResult<SeedOrgLimitDefaultsPayload, S> | null;
|
|
57
95
|
}>;
|
|
96
|
+
seedPlan: <S extends SeedPlanPayloadSelect>(args: SeedPlanVariables, options: {
|
|
97
|
+
select: S;
|
|
98
|
+
} & StrictSelect<S, SeedPlanPayloadSelect>) => QueryBuilder<{
|
|
99
|
+
seedPlan: InferSelectResult<SeedPlanPayload, S> | null;
|
|
100
|
+
}>;
|
|
101
|
+
seedTrustLadder: <S extends SeedTrustLadderPayloadSelect>(args: SeedTrustLadderVariables, options: {
|
|
102
|
+
select: S;
|
|
103
|
+
} & StrictSelect<S, SeedTrustLadderPayloadSelect>) => QueryBuilder<{
|
|
104
|
+
seedTrustLadder: InferSelectResult<SeedTrustLadderPayload, S> | null;
|
|
105
|
+
}>;
|
|
58
106
|
};
|
|
@@ -2,6 +2,18 @@ import { QueryBuilder, buildCustomDocument } from '../query-builder';
|
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
3
|
export function createMutationOperations(client) {
|
|
4
4
|
return {
|
|
5
|
+
grantAchievement: (args, options) => new QueryBuilder({
|
|
6
|
+
client,
|
|
7
|
+
operation: 'mutation',
|
|
8
|
+
operationName: 'GrantAchievement',
|
|
9
|
+
fieldName: 'grantAchievement',
|
|
10
|
+
...buildCustomDocument('mutation', 'GrantAchievement', 'grantAchievement', options.select, args, [
|
|
11
|
+
{
|
|
12
|
+
name: 'input',
|
|
13
|
+
type: 'GrantAchievementInput!',
|
|
14
|
+
},
|
|
15
|
+
], connectionFieldsMap, 'GrantAchievementPayload'),
|
|
16
|
+
}),
|
|
5
17
|
provisionBucket: (args, options) => new QueryBuilder({
|
|
6
18
|
client,
|
|
7
19
|
operation: 'mutation',
|
|
@@ -14,6 +26,30 @@ export function createMutationOperations(client) {
|
|
|
14
26
|
},
|
|
15
27
|
], connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
16
28
|
}),
|
|
29
|
+
recomputeCapabilities: (args, options) => new QueryBuilder({
|
|
30
|
+
client,
|
|
31
|
+
operation: 'mutation',
|
|
32
|
+
operationName: 'RecomputeCapabilities',
|
|
33
|
+
fieldName: 'recomputeCapabilities',
|
|
34
|
+
...buildCustomDocument('mutation', 'RecomputeCapabilities', 'recomputeCapabilities', options.select, args, [
|
|
35
|
+
{
|
|
36
|
+
name: 'input',
|
|
37
|
+
type: 'RecomputeCapabilitiesInput!',
|
|
38
|
+
},
|
|
39
|
+
], connectionFieldsMap, 'RecomputeCapabilitiesPayload'),
|
|
40
|
+
}),
|
|
41
|
+
revokeAchievement: (args, options) => new QueryBuilder({
|
|
42
|
+
client,
|
|
43
|
+
operation: 'mutation',
|
|
44
|
+
operationName: 'RevokeAchievement',
|
|
45
|
+
fieldName: 'revokeAchievement',
|
|
46
|
+
...buildCustomDocument('mutation', 'RevokeAchievement', 'revokeAchievement', options.select, args, [
|
|
47
|
+
{
|
|
48
|
+
name: 'input',
|
|
49
|
+
type: 'RevokeAchievementInput!',
|
|
50
|
+
},
|
|
51
|
+
], connectionFieldsMap, 'RevokeAchievementPayload'),
|
|
52
|
+
}),
|
|
17
53
|
seedAppLimitCapsDefaults: (args, options) => new QueryBuilder({
|
|
18
54
|
client,
|
|
19
55
|
operation: 'mutation',
|
|
@@ -38,6 +74,18 @@ export function createMutationOperations(client) {
|
|
|
38
74
|
},
|
|
39
75
|
], connectionFieldsMap, 'SeedAppLimitDefaultsPayload'),
|
|
40
76
|
}),
|
|
77
|
+
seedMeterDefaults: (args, options) => new QueryBuilder({
|
|
78
|
+
client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'SeedMeterDefaults',
|
|
81
|
+
fieldName: 'seedMeterDefaults',
|
|
82
|
+
...buildCustomDocument('mutation', 'SeedMeterDefaults', 'seedMeterDefaults', options.select, args, [
|
|
83
|
+
{
|
|
84
|
+
name: 'input',
|
|
85
|
+
type: 'SeedMeterDefaultsInput!',
|
|
86
|
+
},
|
|
87
|
+
], connectionFieldsMap, 'SeedMeterDefaultsPayload'),
|
|
88
|
+
}),
|
|
41
89
|
seedOrgLimitCapsDefaults: (args, options) => new QueryBuilder({
|
|
42
90
|
client,
|
|
43
91
|
operation: 'mutation',
|
|
@@ -62,5 +110,29 @@ export function createMutationOperations(client) {
|
|
|
62
110
|
},
|
|
63
111
|
], connectionFieldsMap, 'SeedOrgLimitDefaultsPayload'),
|
|
64
112
|
}),
|
|
113
|
+
seedPlan: (args, options) => new QueryBuilder({
|
|
114
|
+
client,
|
|
115
|
+
operation: 'mutation',
|
|
116
|
+
operationName: 'SeedPlan',
|
|
117
|
+
fieldName: 'seedPlan',
|
|
118
|
+
...buildCustomDocument('mutation', 'SeedPlan', 'seedPlan', options.select, args, [
|
|
119
|
+
{
|
|
120
|
+
name: 'input',
|
|
121
|
+
type: 'SeedPlanInput!',
|
|
122
|
+
},
|
|
123
|
+
], connectionFieldsMap, 'SeedPlanPayload'),
|
|
124
|
+
}),
|
|
125
|
+
seedTrustLadder: (args, options) => new QueryBuilder({
|
|
126
|
+
client,
|
|
127
|
+
operation: 'mutation',
|
|
128
|
+
operationName: 'SeedTrustLadder',
|
|
129
|
+
fieldName: 'seedTrustLadder',
|
|
130
|
+
...buildCustomDocument('mutation', 'SeedTrustLadder', 'seedTrustLadder', options.select, args, [
|
|
131
|
+
{
|
|
132
|
+
name: 'input',
|
|
133
|
+
type: 'SeedTrustLadderInput!',
|
|
134
|
+
},
|
|
135
|
+
], connectionFieldsMap, 'SeedTrustLadderPayload'),
|
|
136
|
+
}),
|
|
65
137
|
};
|
|
66
138
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom query operations
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { AppLevelRequirementConnection } from '../input-types';
|
|
9
|
+
export interface EventsAchievedVariables {
|
|
10
|
+
level?: string;
|
|
11
|
+
roleId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface EventsRequiredVariables {
|
|
14
|
+
/** Read all values in the set after (below) this cursor. */
|
|
15
|
+
after?: string;
|
|
16
|
+
/** Only read the first `n` values of the set. */
|
|
17
|
+
first?: number;
|
|
18
|
+
level?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Skip the first `n` values from our `after` cursor, an alternative to cursor
|
|
21
|
+
* based pagination. May not be used with `last`.
|
|
22
|
+
*/
|
|
23
|
+
offset?: number;
|
|
24
|
+
roleId?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare function createQueryOperations(client: OrmClient): {
|
|
27
|
+
captureAppLimitDefaults: (options?: {
|
|
28
|
+
select?: Record<string, unknown>;
|
|
29
|
+
}) => QueryBuilder<{
|
|
30
|
+
captureAppLimitDefaults: unknown | null;
|
|
31
|
+
}>;
|
|
32
|
+
captureOrgLimitDefaults: (options?: {
|
|
33
|
+
select?: Record<string, unknown>;
|
|
34
|
+
}) => QueryBuilder<{
|
|
35
|
+
captureOrgLimitDefaults: unknown | null;
|
|
36
|
+
}>;
|
|
37
|
+
captureTrustLadder: (options?: {
|
|
38
|
+
select?: Record<string, unknown>;
|
|
39
|
+
}) => QueryBuilder<{
|
|
40
|
+
captureTrustLadder: unknown | null;
|
|
41
|
+
}>;
|
|
42
|
+
eventsAchieved: (args: EventsAchievedVariables, options?: {
|
|
43
|
+
select?: Record<string, unknown>;
|
|
44
|
+
}) => QueryBuilder<{
|
|
45
|
+
eventsAchieved: boolean | null;
|
|
46
|
+
}>;
|
|
47
|
+
eventsRequired: (args: EventsRequiredVariables, options?: {
|
|
48
|
+
select?: Record<string, unknown>;
|
|
49
|
+
}) => QueryBuilder<{
|
|
50
|
+
eventsRequired: AppLevelRequirementConnection | null;
|
|
51
|
+
}>;
|
|
52
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { QueryBuilder, buildCustomDocument } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export function createQueryOperations(client) {
|
|
4
|
+
return {
|
|
5
|
+
captureAppLimitDefaults: (options) => new QueryBuilder({
|
|
6
|
+
client,
|
|
7
|
+
operation: 'query',
|
|
8
|
+
operationName: 'CaptureAppLimitDefaults',
|
|
9
|
+
fieldName: 'captureAppLimitDefaults',
|
|
10
|
+
...buildCustomDocument('query', 'CaptureAppLimitDefaults', 'captureAppLimitDefaults', options?.select, undefined, [], connectionFieldsMap, undefined),
|
|
11
|
+
}),
|
|
12
|
+
captureOrgLimitDefaults: (options) => new QueryBuilder({
|
|
13
|
+
client,
|
|
14
|
+
operation: 'query',
|
|
15
|
+
operationName: 'CaptureOrgLimitDefaults',
|
|
16
|
+
fieldName: 'captureOrgLimitDefaults',
|
|
17
|
+
...buildCustomDocument('query', 'CaptureOrgLimitDefaults', 'captureOrgLimitDefaults', options?.select, undefined, [], connectionFieldsMap, undefined),
|
|
18
|
+
}),
|
|
19
|
+
captureTrustLadder: (options) => new QueryBuilder({
|
|
20
|
+
client,
|
|
21
|
+
operation: 'query',
|
|
22
|
+
operationName: 'CaptureTrustLadder',
|
|
23
|
+
fieldName: 'captureTrustLadder',
|
|
24
|
+
...buildCustomDocument('query', 'CaptureTrustLadder', 'captureTrustLadder', options?.select, undefined, [], connectionFieldsMap, undefined),
|
|
25
|
+
}),
|
|
26
|
+
eventsAchieved: (args, options) => new QueryBuilder({
|
|
27
|
+
client,
|
|
28
|
+
operation: 'query',
|
|
29
|
+
operationName: 'EventsAchieved',
|
|
30
|
+
fieldName: 'eventsAchieved',
|
|
31
|
+
...buildCustomDocument('query', 'EventsAchieved', 'eventsAchieved', options?.select, args, [
|
|
32
|
+
{
|
|
33
|
+
name: 'level',
|
|
34
|
+
type: 'String',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'roleId',
|
|
38
|
+
type: 'UUID',
|
|
39
|
+
},
|
|
40
|
+
], connectionFieldsMap, undefined),
|
|
41
|
+
}),
|
|
42
|
+
eventsRequired: (args, options) => new QueryBuilder({
|
|
43
|
+
client,
|
|
44
|
+
operation: 'query',
|
|
45
|
+
operationName: 'EventsRequired',
|
|
46
|
+
fieldName: 'eventsRequired',
|
|
47
|
+
...buildCustomDocument('query', 'EventsRequired', 'eventsRequired', options?.select, args, [
|
|
48
|
+
{
|
|
49
|
+
name: 'after',
|
|
50
|
+
type: 'Cursor',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'first',
|
|
54
|
+
type: 'Int',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'level',
|
|
58
|
+
type: 'String',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'offset',
|
|
62
|
+
type: 'Int',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'roleId',
|
|
66
|
+
type: 'UUID',
|
|
67
|
+
},
|
|
68
|
+
], connectionFieldsMap, undefined),
|
|
69
|
+
}),
|
|
70
|
+
};
|
|
71
|
+
}
|
package/modules/orm/index.d.ts
CHANGED
|
@@ -7,12 +7,15 @@ import { BillingProviderModuleModel } from './models/billingProviderModule';
|
|
|
7
7
|
import { BlueprintModel } from './models/blueprint';
|
|
8
8
|
import { BlueprintConstructionModel } from './models/blueprintConstruction';
|
|
9
9
|
import { BlueprintTemplateModel } from './models/blueprintTemplate';
|
|
10
|
+
import { CapabilitiesModuleModel } from './models/capabilitiesModule';
|
|
10
11
|
import { CatalogModuleModel } from './models/catalogModule';
|
|
11
12
|
import { ComputeLogModuleModel } from './models/computeLogModule';
|
|
12
13
|
import { ConfigSecretsUserModuleModel } from './models/configSecretsUserModule';
|
|
13
14
|
import { ConnectedAccountsModuleModel } from './models/connectedAccountsModule';
|
|
15
|
+
import { ContentPresetModuleModel } from './models/contentPresetModule';
|
|
14
16
|
import { CryptoAddressesModuleModel } from './models/cryptoAddressesModule';
|
|
15
17
|
import { CryptoAuthModuleModel } from './models/cryptoAuthModule';
|
|
18
|
+
import { DataCapabilitiesFieldModel } from './models/dataCapabilitiesField';
|
|
16
19
|
import { DatabaseProvisionModuleModel } from './models/databaseProvisionModule';
|
|
17
20
|
import { DatabaseSettingsModuleModel } from './models/databaseSettingsModule';
|
|
18
21
|
import { DbPoolConfigModel } from './models/dbPoolConfig';
|
|
@@ -23,9 +26,11 @@ import { DefaultIdsModuleModel } from './models/defaultIdsModule';
|
|
|
23
26
|
import { DenormalizedTableFieldModel } from './models/denormalizedTableField';
|
|
24
27
|
import { DevicesModuleModel } from './models/devicesModule';
|
|
25
28
|
import { DomainModuleModel } from './models/domainModule';
|
|
29
|
+
import { EmailSenderModuleModel } from './models/emailSenderModule';
|
|
26
30
|
import { EmailsModuleModel } from './models/emailsModule';
|
|
27
31
|
import { EntityTypeProvisionModel } from './models/entityTypeProvision';
|
|
28
32
|
import { EventsModuleModel } from './models/eventsModule';
|
|
33
|
+
import { FileRefFieldModel } from './models/fileRefField';
|
|
29
34
|
import { FunctionDeploymentModuleModel } from './models/functionDeploymentModule';
|
|
30
35
|
import { FunctionInvocationModuleModel } from './models/functionInvocationModule';
|
|
31
36
|
import { FunctionModuleModel } from './models/functionModule';
|
|
@@ -47,8 +52,8 @@ import { MembershipsModuleModel } from './models/membershipsModule';
|
|
|
47
52
|
import { MerkleStoreModuleModel } from './models/merkleStoreModule';
|
|
48
53
|
import { NamespaceModuleModel } from './models/namespaceModule';
|
|
49
54
|
import { NotificationsModuleModel } from './models/notificationsModule';
|
|
55
|
+
import { OauthRequestsModuleModel } from './models/oauthRequestsModule';
|
|
50
56
|
import { PagesModuleModel } from './models/pagesModule';
|
|
51
|
-
import { PermissionsModuleModel } from './models/permissionsModule';
|
|
52
57
|
import { PhoneNumbersModuleModel } from './models/phoneNumbersModule';
|
|
53
58
|
import { PlansModuleModel } from './models/plansModule';
|
|
54
59
|
import { PrincipalAuthModuleModel } from './models/principalAuthModule';
|
|
@@ -60,6 +65,7 @@ import { RelationProvisionModel } from './models/relationProvision';
|
|
|
60
65
|
import { ResourceModuleModel } from './models/resourceModule';
|
|
61
66
|
import { RlsModuleModel } from './models/rlsModule';
|
|
62
67
|
import { RouteModuleModel } from './models/routeModule';
|
|
68
|
+
import { ScopeTypesModuleModel } from './models/scopeTypesModule';
|
|
63
69
|
import { SecureTableProvisionModel } from './models/secureTableProvision';
|
|
64
70
|
import { SessionSecretsModuleModel } from './models/sessionSecretsModule';
|
|
65
71
|
import { SessionsModuleModel } from './models/sessionsModule';
|
|
@@ -70,6 +76,7 @@ import { TransferLogModuleModel } from './models/transferLogModule';
|
|
|
70
76
|
import { UserAuthModuleModel } from './models/userAuthModule';
|
|
71
77
|
import { UserCredentialsModuleModel } from './models/userCredentialsModule';
|
|
72
78
|
import { UserSettingsModuleModel } from './models/userSettingsModule';
|
|
79
|
+
import { UserSettingsSecurityModuleModel } from './models/userSettingsSecurityModule';
|
|
73
80
|
import { UserStateModuleModel } from './models/userStateModule';
|
|
74
81
|
import { UsersModuleModel } from './models/usersModule';
|
|
75
82
|
import { WebauthnAuthModuleModel } from './models/webauthnAuthModule';
|
|
@@ -80,7 +87,6 @@ export { GraphQLRequestError, FetchAdapter } from './client';
|
|
|
80
87
|
export { QueryBuilder } from './query-builder';
|
|
81
88
|
export * from './select-types';
|
|
82
89
|
export * from './models';
|
|
83
|
-
export { createQueryOperations } from './query';
|
|
84
90
|
export { createMutationOperations } from './mutation';
|
|
85
91
|
/**
|
|
86
92
|
* Create an ORM client instance
|
|
@@ -114,12 +120,15 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
114
120
|
blueprint: BlueprintModel;
|
|
115
121
|
blueprintConstruction: BlueprintConstructionModel;
|
|
116
122
|
blueprintTemplate: BlueprintTemplateModel;
|
|
123
|
+
capabilitiesModule: CapabilitiesModuleModel;
|
|
117
124
|
catalogModule: CatalogModuleModel;
|
|
118
125
|
computeLogModule: ComputeLogModuleModel;
|
|
119
126
|
configSecretsUserModule: ConfigSecretsUserModuleModel;
|
|
120
127
|
connectedAccountsModule: ConnectedAccountsModuleModel;
|
|
128
|
+
contentPresetModule: ContentPresetModuleModel;
|
|
121
129
|
cryptoAddressesModule: CryptoAddressesModuleModel;
|
|
122
130
|
cryptoAuthModule: CryptoAuthModuleModel;
|
|
131
|
+
dataCapabilitiesField: DataCapabilitiesFieldModel;
|
|
123
132
|
databaseProvisionModule: DatabaseProvisionModuleModel;
|
|
124
133
|
databaseSettingsModule: DatabaseSettingsModuleModel;
|
|
125
134
|
dbPoolConfig: DbPoolConfigModel;
|
|
@@ -130,9 +139,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
130
139
|
denormalizedTableField: DenormalizedTableFieldModel;
|
|
131
140
|
devicesModule: DevicesModuleModel;
|
|
132
141
|
domainModule: DomainModuleModel;
|
|
142
|
+
emailSenderModule: EmailSenderModuleModel;
|
|
133
143
|
emailsModule: EmailsModuleModel;
|
|
134
144
|
entityTypeProvision: EntityTypeProvisionModel;
|
|
135
145
|
eventsModule: EventsModuleModel;
|
|
146
|
+
fileRefField: FileRefFieldModel;
|
|
136
147
|
functionDeploymentModule: FunctionDeploymentModuleModel;
|
|
137
148
|
functionInvocationModule: FunctionInvocationModuleModel;
|
|
138
149
|
functionModule: FunctionModuleModel;
|
|
@@ -154,8 +165,8 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
154
165
|
merkleStoreModule: MerkleStoreModuleModel;
|
|
155
166
|
namespaceModule: NamespaceModuleModel;
|
|
156
167
|
notificationsModule: NotificationsModuleModel;
|
|
168
|
+
oauthRequestsModule: OauthRequestsModuleModel;
|
|
157
169
|
pagesModule: PagesModuleModel;
|
|
158
|
-
permissionsModule: PermissionsModuleModel;
|
|
159
170
|
phoneNumbersModule: PhoneNumbersModuleModel;
|
|
160
171
|
plansModule: PlansModuleModel;
|
|
161
172
|
principalAuthModule: PrincipalAuthModuleModel;
|
|
@@ -167,6 +178,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
167
178
|
resourceModule: ResourceModuleModel;
|
|
168
179
|
rlsModule: RlsModuleModel;
|
|
169
180
|
routeModule: RouteModuleModel;
|
|
181
|
+
scopeTypesModule: ScopeTypesModuleModel;
|
|
170
182
|
secureTableProvision: SecureTableProvisionModel;
|
|
171
183
|
sessionSecretsModule: SessionSecretsModuleModel;
|
|
172
184
|
sessionsModule: SessionsModuleModel;
|
|
@@ -177,23 +189,12 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
177
189
|
userAuthModule: UserAuthModuleModel;
|
|
178
190
|
userCredentialsModule: UserCredentialsModuleModel;
|
|
179
191
|
userSettingsModule: UserSettingsModuleModel;
|
|
192
|
+
userSettingsSecurityModule: UserSettingsSecurityModuleModel;
|
|
180
193
|
userStateModule: UserStateModuleModel;
|
|
181
194
|
usersModule: UsersModuleModel;
|
|
182
195
|
webauthnAuthModule: WebauthnAuthModuleModel;
|
|
183
196
|
webauthnCredentialsModule: WebauthnCredentialsModuleModel;
|
|
184
197
|
webhookModule: WebhookModuleModel;
|
|
185
|
-
query: {
|
|
186
|
-
resolveBlueprintField: (args: import("./query").ResolveBlueprintFieldVariables, options?: {
|
|
187
|
-
select?: Record<string, unknown>;
|
|
188
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
189
|
-
resolveBlueprintField: string | null;
|
|
190
|
-
}>;
|
|
191
|
-
resolveBlueprintTable: (args: import("./query").ResolveBlueprintTableVariables, options?: {
|
|
192
|
-
select?: Record<string, unknown>;
|
|
193
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
194
|
-
resolveBlueprintTable: string | null;
|
|
195
|
-
}>;
|
|
196
|
-
};
|
|
197
198
|
mutation: {
|
|
198
199
|
constructBlueprint: <S extends import("./input-types").ConstructBlueprintPayloadSelect>(args: import("./mutation").ConstructBlueprintVariables, options: {
|
|
199
200
|
select: S;
|
|
@@ -210,40 +211,5 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
210
211
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
211
212
|
provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
|
|
212
213
|
}>;
|
|
213
|
-
provisionCheckConstraint: <S extends import("./input-types").ProvisionCheckConstraintPayloadSelect>(args: import("./mutation").ProvisionCheckConstraintVariables, options: {
|
|
214
|
-
select: S;
|
|
215
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionCheckConstraintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
216
|
-
provisionCheckConstraint: import("./select-types").InferSelectResult<import("./input-types").ProvisionCheckConstraintPayload, S> | null;
|
|
217
|
-
}>;
|
|
218
|
-
provisionFullTextSearch: <S extends import("./input-types").ProvisionFullTextSearchPayloadSelect>(args: import("./mutation").ProvisionFullTextSearchVariables, options: {
|
|
219
|
-
select: S;
|
|
220
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionFullTextSearchPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
221
|
-
provisionFullTextSearch: import("./select-types").InferSelectResult<import("./input-types").ProvisionFullTextSearchPayload, S> | null;
|
|
222
|
-
}>;
|
|
223
|
-
provisionIndex: <S extends import("./input-types").ProvisionIndexPayloadSelect>(args: import("./mutation").ProvisionIndexVariables, options: {
|
|
224
|
-
select: S;
|
|
225
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionIndexPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
226
|
-
provisionIndex: import("./select-types").InferSelectResult<import("./input-types").ProvisionIndexPayload, S> | null;
|
|
227
|
-
}>;
|
|
228
|
-
provisionRelation: <S extends import("./input-types").ProvisionRelationPayloadSelect>(args: import("./mutation").ProvisionRelationVariables, options: {
|
|
229
|
-
select: S;
|
|
230
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionRelationPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
231
|
-
provisionRelation: import("./select-types").InferSelectResult<import("./input-types").ProvisionRelationPayload, S> | null;
|
|
232
|
-
}>;
|
|
233
|
-
provisionSpatialRelation: <S extends import("./input-types").ProvisionSpatialRelationPayloadSelect>(args: import("./mutation").ProvisionSpatialRelationVariables, options: {
|
|
234
|
-
select: S;
|
|
235
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionSpatialRelationPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
236
|
-
provisionSpatialRelation: import("./select-types").InferSelectResult<import("./input-types").ProvisionSpatialRelationPayload, S> | null;
|
|
237
|
-
}>;
|
|
238
|
-
provisionTable: <S extends import("./input-types").ProvisionTablePayloadSelect>(args: import("./mutation").ProvisionTableVariables, options: {
|
|
239
|
-
select: S;
|
|
240
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionTablePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
241
|
-
provisionTable: import("./select-types").InferSelectResult<import("./input-types").ProvisionTablePayload, S> | null;
|
|
242
|
-
}>;
|
|
243
|
-
provisionUniqueConstraint: <S extends import("./input-types").ProvisionUniqueConstraintPayloadSelect>(args: import("./mutation").ProvisionUniqueConstraintVariables, options: {
|
|
244
|
-
select: S;
|
|
245
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionUniqueConstraintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
246
|
-
provisionUniqueConstraint: import("./select-types").InferSelectResult<import("./input-types").ProvisionUniqueConstraintPayload, S> | null;
|
|
247
|
-
}>;
|
|
248
214
|
};
|
|
249
215
|
};
|