@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,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlanSubscriptionModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PlanSubscriptionModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlanSubscription', 'planSubscriptions', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'PlanSubscriptionFilter', 'PlanSubscriptionOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PlanSubscription',
|
|
25
|
+
fieldName: 'planSubscriptions',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlanSubscription', 'planSubscriptions', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PlanSubscriptionFilter', 'PlanSubscriptionOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PlanSubscription',
|
|
39
|
+
fieldName: 'planSubscription',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
planSubscription: data.planSubscriptions?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlanSubscription', 'planSubscriptions', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PlanSubscriptionFilter', 'PlanSubscriptionOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PlanSubscription',
|
|
60
|
+
fieldName: 'planSubscription',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
planSubscription: data.planSubscriptions?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlanSubscription', 'createPlanSubscription', 'planSubscription', args.select, args.data, 'CreatePlanSubscriptionInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PlanSubscription',
|
|
74
|
+
fieldName: 'createPlanSubscription',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlanSubscription', 'updatePlanSubscription', 'planSubscription', args.select, args.where.id, args.data, 'UpdatePlanSubscriptionInput', 'id', 'planSubscriptionPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PlanSubscription',
|
|
85
|
+
fieldName: 'updatePlanSubscription',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlanSubscription', 'deletePlanSubscription', 'planSubscription', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePlanSubscriptionInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlanSubscription',
|
|
98
|
+
fieldName: 'deletePlanSubscription',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PlanSubscriptionModel = PlanSubscriptionModel;
|
|
@@ -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
|
};
|
|
@@ -5,6 +5,18 @@ const query_builder_1 = require("../query-builder");
|
|
|
5
5
|
const input_types_1 = require("../input-types");
|
|
6
6
|
function createMutationOperations(client) {
|
|
7
7
|
return {
|
|
8
|
+
grantAchievement: (args, options) => new query_builder_1.QueryBuilder({
|
|
9
|
+
client,
|
|
10
|
+
operation: 'mutation',
|
|
11
|
+
operationName: 'GrantAchievement',
|
|
12
|
+
fieldName: 'grantAchievement',
|
|
13
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'GrantAchievement', 'grantAchievement', options.select, args, [
|
|
14
|
+
{
|
|
15
|
+
name: 'input',
|
|
16
|
+
type: 'GrantAchievementInput!',
|
|
17
|
+
},
|
|
18
|
+
], input_types_1.connectionFieldsMap, 'GrantAchievementPayload'),
|
|
19
|
+
}),
|
|
8
20
|
provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
|
|
9
21
|
client,
|
|
10
22
|
operation: 'mutation',
|
|
@@ -17,6 +29,30 @@ function createMutationOperations(client) {
|
|
|
17
29
|
},
|
|
18
30
|
], input_types_1.connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
19
31
|
}),
|
|
32
|
+
recomputeCapabilities: (args, options) => new query_builder_1.QueryBuilder({
|
|
33
|
+
client,
|
|
34
|
+
operation: 'mutation',
|
|
35
|
+
operationName: 'RecomputeCapabilities',
|
|
36
|
+
fieldName: 'recomputeCapabilities',
|
|
37
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'RecomputeCapabilities', 'recomputeCapabilities', options.select, args, [
|
|
38
|
+
{
|
|
39
|
+
name: 'input',
|
|
40
|
+
type: 'RecomputeCapabilitiesInput!',
|
|
41
|
+
},
|
|
42
|
+
], input_types_1.connectionFieldsMap, 'RecomputeCapabilitiesPayload'),
|
|
43
|
+
}),
|
|
44
|
+
revokeAchievement: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
|
+
client,
|
|
46
|
+
operation: 'mutation',
|
|
47
|
+
operationName: 'RevokeAchievement',
|
|
48
|
+
fieldName: 'revokeAchievement',
|
|
49
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'RevokeAchievement', 'revokeAchievement', options.select, args, [
|
|
50
|
+
{
|
|
51
|
+
name: 'input',
|
|
52
|
+
type: 'RevokeAchievementInput!',
|
|
53
|
+
},
|
|
54
|
+
], input_types_1.connectionFieldsMap, 'RevokeAchievementPayload'),
|
|
55
|
+
}),
|
|
20
56
|
seedAppLimitCapsDefaults: (args, options) => new query_builder_1.QueryBuilder({
|
|
21
57
|
client,
|
|
22
58
|
operation: 'mutation',
|
|
@@ -41,6 +77,18 @@ function createMutationOperations(client) {
|
|
|
41
77
|
},
|
|
42
78
|
], input_types_1.connectionFieldsMap, 'SeedAppLimitDefaultsPayload'),
|
|
43
79
|
}),
|
|
80
|
+
seedMeterDefaults: (args, options) => new query_builder_1.QueryBuilder({
|
|
81
|
+
client,
|
|
82
|
+
operation: 'mutation',
|
|
83
|
+
operationName: 'SeedMeterDefaults',
|
|
84
|
+
fieldName: 'seedMeterDefaults',
|
|
85
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SeedMeterDefaults', 'seedMeterDefaults', options.select, args, [
|
|
86
|
+
{
|
|
87
|
+
name: 'input',
|
|
88
|
+
type: 'SeedMeterDefaultsInput!',
|
|
89
|
+
},
|
|
90
|
+
], input_types_1.connectionFieldsMap, 'SeedMeterDefaultsPayload'),
|
|
91
|
+
}),
|
|
44
92
|
seedOrgLimitCapsDefaults: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
93
|
client,
|
|
46
94
|
operation: 'mutation',
|
|
@@ -65,5 +113,29 @@ function createMutationOperations(client) {
|
|
|
65
113
|
},
|
|
66
114
|
], input_types_1.connectionFieldsMap, 'SeedOrgLimitDefaultsPayload'),
|
|
67
115
|
}),
|
|
116
|
+
seedPlan: (args, options) => new query_builder_1.QueryBuilder({
|
|
117
|
+
client,
|
|
118
|
+
operation: 'mutation',
|
|
119
|
+
operationName: 'SeedPlan',
|
|
120
|
+
fieldName: 'seedPlan',
|
|
121
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SeedPlan', 'seedPlan', options.select, args, [
|
|
122
|
+
{
|
|
123
|
+
name: 'input',
|
|
124
|
+
type: 'SeedPlanInput!',
|
|
125
|
+
},
|
|
126
|
+
], input_types_1.connectionFieldsMap, 'SeedPlanPayload'),
|
|
127
|
+
}),
|
|
128
|
+
seedTrustLadder: (args, options) => new query_builder_1.QueryBuilder({
|
|
129
|
+
client,
|
|
130
|
+
operation: 'mutation',
|
|
131
|
+
operationName: 'SeedTrustLadder',
|
|
132
|
+
fieldName: 'seedTrustLadder',
|
|
133
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SeedTrustLadder', 'seedTrustLadder', options.select, args, [
|
|
134
|
+
{
|
|
135
|
+
name: 'input',
|
|
136
|
+
type: 'SeedTrustLadderInput!',
|
|
137
|
+
},
|
|
138
|
+
], input_types_1.connectionFieldsMap, 'SeedTrustLadderPayload'),
|
|
139
|
+
}),
|
|
68
140
|
};
|
|
69
141
|
}
|
|
@@ -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,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createQueryOperations = createQueryOperations;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
function createQueryOperations(client) {
|
|
7
|
+
return {
|
|
8
|
+
captureAppLimitDefaults: (options) => new query_builder_1.QueryBuilder({
|
|
9
|
+
client,
|
|
10
|
+
operation: 'query',
|
|
11
|
+
operationName: 'CaptureAppLimitDefaults',
|
|
12
|
+
fieldName: 'captureAppLimitDefaults',
|
|
13
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'CaptureAppLimitDefaults', 'captureAppLimitDefaults', options?.select, undefined, [], input_types_1.connectionFieldsMap, undefined),
|
|
14
|
+
}),
|
|
15
|
+
captureOrgLimitDefaults: (options) => new query_builder_1.QueryBuilder({
|
|
16
|
+
client,
|
|
17
|
+
operation: 'query',
|
|
18
|
+
operationName: 'CaptureOrgLimitDefaults',
|
|
19
|
+
fieldName: 'captureOrgLimitDefaults',
|
|
20
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'CaptureOrgLimitDefaults', 'captureOrgLimitDefaults', options?.select, undefined, [], input_types_1.connectionFieldsMap, undefined),
|
|
21
|
+
}),
|
|
22
|
+
captureTrustLadder: (options) => new query_builder_1.QueryBuilder({
|
|
23
|
+
client,
|
|
24
|
+
operation: 'query',
|
|
25
|
+
operationName: 'CaptureTrustLadder',
|
|
26
|
+
fieldName: 'captureTrustLadder',
|
|
27
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'CaptureTrustLadder', 'captureTrustLadder', options?.select, undefined, [], input_types_1.connectionFieldsMap, undefined),
|
|
28
|
+
}),
|
|
29
|
+
eventsAchieved: (args, options) => new query_builder_1.QueryBuilder({
|
|
30
|
+
client,
|
|
31
|
+
operation: 'query',
|
|
32
|
+
operationName: 'EventsAchieved',
|
|
33
|
+
fieldName: 'eventsAchieved',
|
|
34
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'EventsAchieved', 'eventsAchieved', options?.select, args, [
|
|
35
|
+
{
|
|
36
|
+
name: 'level',
|
|
37
|
+
type: 'String',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'roleId',
|
|
41
|
+
type: 'UUID',
|
|
42
|
+
},
|
|
43
|
+
], input_types_1.connectionFieldsMap, undefined),
|
|
44
|
+
}),
|
|
45
|
+
eventsRequired: (args, options) => new query_builder_1.QueryBuilder({
|
|
46
|
+
client,
|
|
47
|
+
operation: 'query',
|
|
48
|
+
operationName: 'EventsRequired',
|
|
49
|
+
fieldName: 'eventsRequired',
|
|
50
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'EventsRequired', 'eventsRequired', options?.select, args, [
|
|
51
|
+
{
|
|
52
|
+
name: 'after',
|
|
53
|
+
type: 'Cursor',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'first',
|
|
57
|
+
type: 'Int',
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'level',
|
|
61
|
+
type: 'String',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: 'offset',
|
|
65
|
+
type: 'Int',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'roleId',
|
|
69
|
+
type: 'UUID',
|
|
70
|
+
},
|
|
71
|
+
], input_types_1.connectionFieldsMap, undefined),
|
|
72
|
+
}),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppPermission model for ORM client
|
|
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 { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AppPermissionWithRelations, AppPermissionSelect, AppPermissionFilter, AppPermissionOrderBy, CreateAppPermissionInput, AppPermissionPatch } from '../input-types';
|
|
10
|
-
export declare class AppPermissionModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppPermissionSelect>(args: FindManyArgs<S, AppPermissionFilter, AppPermissionOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
|
|
16
|
-
appPermissions: ConnectionResult<InferSelectResult<AppPermissionWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppPermissionSelect>(args: FindFirstArgs<S, AppPermissionFilter, AppPermissionOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
|
|
21
|
-
appPermission: InferSelectResult<AppPermissionWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppPermissionSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
|
|
27
|
-
appPermission: InferSelectResult<AppPermissionWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppPermissionSelect>(args: CreateArgs<S, CreateAppPermissionInput['appPermission']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
|
|
32
|
-
createAppPermission: {
|
|
33
|
-
appPermission: InferSelectResult<AppPermissionWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppPermissionSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppPermissionPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
|
|
41
|
-
updateAppPermission: {
|
|
42
|
-
appPermission: InferSelectResult<AppPermissionWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppPermissionSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppPermission: {
|
|
51
|
-
appPermission: InferSelectResult<AppPermissionWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppPermissionDefault model for ORM client
|
|
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 { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AppPermissionDefaultWithRelations, AppPermissionDefaultSelect, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy, CreateAppPermissionDefaultInput, AppPermissionDefaultPatch } from '../input-types';
|
|
10
|
-
export declare class AppPermissionDefaultModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppPermissionDefaultSelect>(args: FindManyArgs<S, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppPermissionDefaultSelect>): QueryBuilder<{
|
|
16
|
-
appPermissionDefaults: ConnectionResult<InferSelectResult<AppPermissionDefaultWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppPermissionDefaultSelect>(args: FindFirstArgs<S, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppPermissionDefaultSelect>): QueryBuilder<{
|
|
21
|
-
appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppPermissionDefaultSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppPermissionDefaultSelect>): QueryBuilder<{
|
|
27
|
-
appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppPermissionDefaultSelect>(args: CreateArgs<S, CreateAppPermissionDefaultInput['appPermissionDefault']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppPermissionDefaultSelect>): QueryBuilder<{
|
|
32
|
-
createAppPermissionDefault: {
|
|
33
|
-
appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppPermissionDefaultSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppPermissionDefaultPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppPermissionDefaultSelect>): QueryBuilder<{
|
|
41
|
-
updateAppPermissionDefault: {
|
|
42
|
-
appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppPermissionDefaultSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppPermissionDefaultSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppPermissionDefault: {
|
|
51
|
-
appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppPermissionDefaultGrant model for ORM client
|
|
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 { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AppPermissionDefaultGrantWithRelations, AppPermissionDefaultGrantSelect, AppPermissionDefaultGrantFilter, AppPermissionDefaultGrantOrderBy, CreateAppPermissionDefaultGrantInput, AppPermissionDefaultGrantPatch } from '../input-types';
|
|
10
|
-
export declare class AppPermissionDefaultGrantModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppPermissionDefaultGrantSelect>(args: FindManyArgs<S, AppPermissionDefaultGrantFilter, AppPermissionDefaultGrantOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppPermissionDefaultGrantSelect>): QueryBuilder<{
|
|
16
|
-
appPermissionDefaultGrants: ConnectionResult<InferSelectResult<AppPermissionDefaultGrantWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppPermissionDefaultGrantSelect>(args: FindFirstArgs<S, AppPermissionDefaultGrantFilter, AppPermissionDefaultGrantOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppPermissionDefaultGrantSelect>): QueryBuilder<{
|
|
21
|
-
appPermissionDefaultGrant: InferSelectResult<AppPermissionDefaultGrantWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppPermissionDefaultGrantSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppPermissionDefaultGrantSelect>): QueryBuilder<{
|
|
27
|
-
appPermissionDefaultGrant: InferSelectResult<AppPermissionDefaultGrantWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppPermissionDefaultGrantSelect>(args: CreateArgs<S, CreateAppPermissionDefaultGrantInput['appPermissionDefaultGrant']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppPermissionDefaultGrantSelect>): QueryBuilder<{
|
|
32
|
-
createAppPermissionDefaultGrant: {
|
|
33
|
-
appPermissionDefaultGrant: InferSelectResult<AppPermissionDefaultGrantWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppPermissionDefaultGrantSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppPermissionDefaultGrantPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppPermissionDefaultGrantSelect>): QueryBuilder<{
|
|
41
|
-
updateAppPermissionDefaultGrant: {
|
|
42
|
-
appPermissionDefaultGrant: InferSelectResult<AppPermissionDefaultGrantWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppPermissionDefaultGrantSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppPermissionDefaultGrantSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppPermissionDefaultGrant: {
|
|
51
|
-
appPermissionDefaultGrant: InferSelectResult<AppPermissionDefaultGrantWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppPermissionDefaultPermission model for ORM client
|
|
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 { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AppPermissionDefaultPermissionWithRelations, AppPermissionDefaultPermissionSelect, AppPermissionDefaultPermissionFilter, AppPermissionDefaultPermissionOrderBy, CreateAppPermissionDefaultPermissionInput, AppPermissionDefaultPermissionPatch } from '../input-types';
|
|
10
|
-
export declare class AppPermissionDefaultPermissionModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppPermissionDefaultPermissionSelect>(args: FindManyArgs<S, AppPermissionDefaultPermissionFilter, AppPermissionDefaultPermissionOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppPermissionDefaultPermissionSelect>): QueryBuilder<{
|
|
16
|
-
appPermissionDefaultPermissions: ConnectionResult<InferSelectResult<AppPermissionDefaultPermissionWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppPermissionDefaultPermissionSelect>(args: FindFirstArgs<S, AppPermissionDefaultPermissionFilter, AppPermissionDefaultPermissionOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppPermissionDefaultPermissionSelect>): QueryBuilder<{
|
|
21
|
-
appPermissionDefaultPermission: InferSelectResult<AppPermissionDefaultPermissionWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppPermissionDefaultPermissionSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppPermissionDefaultPermissionSelect>): QueryBuilder<{
|
|
27
|
-
appPermissionDefaultPermission: InferSelectResult<AppPermissionDefaultPermissionWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppPermissionDefaultPermissionSelect>(args: CreateArgs<S, CreateAppPermissionDefaultPermissionInput['appPermissionDefaultPermission']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppPermissionDefaultPermissionSelect>): QueryBuilder<{
|
|
32
|
-
createAppPermissionDefaultPermission: {
|
|
33
|
-
appPermissionDefaultPermission: InferSelectResult<AppPermissionDefaultPermissionWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppPermissionDefaultPermissionSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppPermissionDefaultPermissionPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppPermissionDefaultPermissionSelect>): QueryBuilder<{
|
|
41
|
-
updateAppPermissionDefaultPermission: {
|
|
42
|
-
appPermissionDefaultPermission: InferSelectResult<AppPermissionDefaultPermissionWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppPermissionDefaultPermissionSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppPermissionDefaultPermissionSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppPermissionDefaultPermission: {
|
|
51
|
-
appPermissionDefaultPermission: InferSelectResult<AppPermissionDefaultPermissionWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|