@constructive-io/sdk 1.11.9 → 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 +4 -4
- 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.OrgProfileDefinitionGrantModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class OrgProfileDefinitionGrantModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgProfileDefinitionGrant', 'orgProfileDefinitionGrants', 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
|
+
}, 'OrgProfileDefinitionGrantFilter', 'OrgProfileDefinitionGrantOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'OrgProfileDefinitionGrant',
|
|
25
|
+
fieldName: 'orgProfileDefinitionGrants',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgProfileDefinitionGrant', 'orgProfileDefinitionGrants', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'OrgProfileDefinitionGrantFilter', 'OrgProfileDefinitionGrantOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'OrgProfileDefinitionGrant',
|
|
39
|
+
fieldName: 'orgProfileDefinitionGrant',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
orgProfileDefinitionGrant: data.orgProfileDefinitionGrants?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgProfileDefinitionGrant', 'orgProfileDefinitionGrants', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'OrgProfileDefinitionGrantFilter', 'OrgProfileDefinitionGrantOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'OrgProfileDefinitionGrant',
|
|
60
|
+
fieldName: 'orgProfileDefinitionGrant',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
orgProfileDefinitionGrant: data.orgProfileDefinitionGrants?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('OrgProfileDefinitionGrant', 'createOrgProfileDefinitionGrant', 'orgProfileDefinitionGrant', args.select, args.data, 'CreateOrgProfileDefinitionGrantInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'OrgProfileDefinitionGrant',
|
|
74
|
+
fieldName: 'createOrgProfileDefinitionGrant',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('OrgProfileDefinitionGrant', 'updateOrgProfileDefinitionGrant', 'orgProfileDefinitionGrant', args.select, args.where.id, args.data, 'UpdateOrgProfileDefinitionGrantInput', 'id', 'orgProfileDefinitionGrantPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'OrgProfileDefinitionGrant',
|
|
85
|
+
fieldName: 'updateOrgProfileDefinitionGrant',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('OrgProfileDefinitionGrant', 'deleteOrgProfileDefinitionGrant', 'orgProfileDefinitionGrant', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteOrgProfileDefinitionGrantInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'OrgProfileDefinitionGrant',
|
|
98
|
+
fieldName: 'deleteOrgProfileDefinitionGrant',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.OrgProfileDefinitionGrantModel = OrgProfileDefinitionGrantModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OrgProfileGrant 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 { OrgProfileGrantWithRelations, OrgProfileGrantSelect, OrgProfileGrantFilter, OrgProfileGrantOrderBy, CreateOrgProfileGrantInput, OrgProfileGrantPatch } from '../input-types';
|
|
10
|
+
export declare class OrgProfileGrantModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends OrgProfileGrantSelect>(args: FindManyArgs<S, OrgProfileGrantFilter, OrgProfileGrantOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, OrgProfileGrantSelect>): QueryBuilder<{
|
|
16
|
+
orgProfileGrants: ConnectionResult<InferSelectResult<OrgProfileGrantWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends OrgProfileGrantSelect>(args: FindFirstArgs<S, OrgProfileGrantFilter, OrgProfileGrantOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, OrgProfileGrantSelect>): QueryBuilder<{
|
|
21
|
+
orgProfileGrant: InferSelectResult<OrgProfileGrantWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends OrgProfileGrantSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, OrgProfileGrantSelect>): QueryBuilder<{
|
|
27
|
+
orgProfileGrant: InferSelectResult<OrgProfileGrantWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends OrgProfileGrantSelect>(args: CreateArgs<S, CreateOrgProfileGrantInput['orgProfileGrant']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, OrgProfileGrantSelect>): QueryBuilder<{
|
|
32
|
+
createOrgProfileGrant: {
|
|
33
|
+
orgProfileGrant: InferSelectResult<OrgProfileGrantWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends OrgProfileGrantSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, OrgProfileGrantPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, OrgProfileGrantSelect>): QueryBuilder<{
|
|
41
|
+
updateOrgProfileGrant: {
|
|
42
|
+
orgProfileGrant: InferSelectResult<OrgProfileGrantWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends OrgProfileGrantSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, OrgProfileGrantSelect>): QueryBuilder<{
|
|
50
|
+
deleteOrgProfileGrant: {
|
|
51
|
+
orgProfileGrant: InferSelectResult<OrgProfileGrantWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgProfileGrantModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class OrgProfileGrantModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgProfileGrant', 'orgProfileGrants', 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
|
+
}, 'OrgProfileGrantFilter', 'OrgProfileGrantOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'OrgProfileGrant',
|
|
25
|
+
fieldName: 'orgProfileGrants',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgProfileGrant', 'orgProfileGrants', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'OrgProfileGrantFilter', 'OrgProfileGrantOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'OrgProfileGrant',
|
|
39
|
+
fieldName: 'orgProfileGrant',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
orgProfileGrant: data.orgProfileGrants?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgProfileGrant', 'orgProfileGrants', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'OrgProfileGrantFilter', 'OrgProfileGrantOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'OrgProfileGrant',
|
|
60
|
+
fieldName: 'orgProfileGrant',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
orgProfileGrant: data.orgProfileGrants?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('OrgProfileGrant', 'createOrgProfileGrant', 'orgProfileGrant', args.select, args.data, 'CreateOrgProfileGrantInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'OrgProfileGrant',
|
|
74
|
+
fieldName: 'createOrgProfileGrant',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('OrgProfileGrant', 'updateOrgProfileGrant', 'orgProfileGrant', args.select, args.where.id, args.data, 'UpdateOrgProfileGrantInput', 'id', 'orgProfileGrantPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'OrgProfileGrant',
|
|
85
|
+
fieldName: 'updateOrgProfileGrant',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('OrgProfileGrant', 'deleteOrgProfileGrant', 'orgProfileGrant', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteOrgProfileGrantInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'OrgProfileGrant',
|
|
98
|
+
fieldName: 'deleteOrgProfileGrant',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.OrgProfileGrantModel = OrgProfileGrantModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OrgProfileTemplate 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 { OrgProfileTemplateWithRelations, OrgProfileTemplateSelect, OrgProfileTemplateFilter, OrgProfileTemplateOrderBy, CreateOrgProfileTemplateInput, OrgProfileTemplatePatch } from '../input-types';
|
|
10
|
+
export declare class OrgProfileTemplateModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends OrgProfileTemplateSelect>(args: FindManyArgs<S, OrgProfileTemplateFilter, OrgProfileTemplateOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, OrgProfileTemplateSelect>): QueryBuilder<{
|
|
16
|
+
orgProfileTemplates: ConnectionResult<InferSelectResult<OrgProfileTemplateWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends OrgProfileTemplateSelect>(args: FindFirstArgs<S, OrgProfileTemplateFilter, OrgProfileTemplateOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, OrgProfileTemplateSelect>): QueryBuilder<{
|
|
21
|
+
orgProfileTemplate: InferSelectResult<OrgProfileTemplateWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends OrgProfileTemplateSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, OrgProfileTemplateSelect>): QueryBuilder<{
|
|
27
|
+
orgProfileTemplate: InferSelectResult<OrgProfileTemplateWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends OrgProfileTemplateSelect>(args: CreateArgs<S, CreateOrgProfileTemplateInput['orgProfileTemplate']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, OrgProfileTemplateSelect>): QueryBuilder<{
|
|
32
|
+
createOrgProfileTemplate: {
|
|
33
|
+
orgProfileTemplate: InferSelectResult<OrgProfileTemplateWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends OrgProfileTemplateSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, OrgProfileTemplatePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, OrgProfileTemplateSelect>): QueryBuilder<{
|
|
41
|
+
updateOrgProfileTemplate: {
|
|
42
|
+
orgProfileTemplate: InferSelectResult<OrgProfileTemplateWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends OrgProfileTemplateSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, OrgProfileTemplateSelect>): QueryBuilder<{
|
|
50
|
+
deleteOrgProfileTemplate: {
|
|
51
|
+
orgProfileTemplate: InferSelectResult<OrgProfileTemplateWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgProfileTemplateModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class OrgProfileTemplateModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgProfileTemplate', 'orgProfileTemplates', 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
|
+
}, 'OrgProfileTemplateFilter', 'OrgProfileTemplateOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'OrgProfileTemplate',
|
|
25
|
+
fieldName: 'orgProfileTemplates',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgProfileTemplate', 'orgProfileTemplates', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'OrgProfileTemplateFilter', 'OrgProfileTemplateOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'OrgProfileTemplate',
|
|
39
|
+
fieldName: 'orgProfileTemplate',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
orgProfileTemplate: data.orgProfileTemplates?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgProfileTemplate', 'orgProfileTemplates', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'OrgProfileTemplateFilter', 'OrgProfileTemplateOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'OrgProfileTemplate',
|
|
60
|
+
fieldName: 'orgProfileTemplate',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
orgProfileTemplate: data.orgProfileTemplates?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('OrgProfileTemplate', 'createOrgProfileTemplate', 'orgProfileTemplate', args.select, args.data, 'CreateOrgProfileTemplateInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'OrgProfileTemplate',
|
|
74
|
+
fieldName: 'createOrgProfileTemplate',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('OrgProfileTemplate', 'updateOrgProfileTemplate', 'orgProfileTemplate', args.select, args.where.id, args.data, 'UpdateOrgProfileTemplateInput', 'id', 'orgProfileTemplatePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'OrgProfileTemplate',
|
|
85
|
+
fieldName: 'updateOrgProfileTemplate',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('OrgProfileTemplate', 'deleteOrgProfileTemplate', 'orgProfileTemplate', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteOrgProfileTemplateInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'OrgProfileTemplate',
|
|
98
|
+
fieldName: 'deleteOrgProfileTemplate',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.OrgProfileTemplateModel = OrgProfileTemplateModel;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type {
|
|
9
|
-
export interface
|
|
8
|
+
import type { AppCapabilityConnection, OrgCapabilityConnection } from '../input-types';
|
|
9
|
+
export interface AppCapabilitiesGetByMaskVariables {
|
|
10
10
|
/** Read all values in the set after (below) this cursor. */
|
|
11
11
|
after?: string;
|
|
12
12
|
/** Only read the first `n` values of the set. */
|
|
@@ -18,22 +18,16 @@ export interface AppPermissionsGetByMaskVariables {
|
|
|
18
18
|
*/
|
|
19
19
|
offset?: number;
|
|
20
20
|
}
|
|
21
|
-
export interface
|
|
21
|
+
export interface AppCapabilitiesGetMaskVariables {
|
|
22
22
|
ids?: string[];
|
|
23
23
|
}
|
|
24
|
-
export interface
|
|
24
|
+
export interface AppCapabilitiesGetMaskByNamesVariables {
|
|
25
25
|
names?: string[];
|
|
26
26
|
}
|
|
27
|
-
export interface
|
|
27
|
+
export interface AppCapabilitiesGetPaddedMaskVariables {
|
|
28
28
|
mask?: string;
|
|
29
29
|
}
|
|
30
|
-
export interface
|
|
31
|
-
managerId?: string;
|
|
32
|
-
maxDepth?: number;
|
|
33
|
-
targetEntityId?: string;
|
|
34
|
-
userId?: string;
|
|
35
|
-
}
|
|
36
|
-
export interface OrgPermissionsGetByMaskVariables {
|
|
30
|
+
export interface OrgCapabilitiesGetByMaskVariables {
|
|
37
31
|
/** Read all values in the set after (below) this cursor. */
|
|
38
32
|
after?: string;
|
|
39
33
|
/** Only read the first `n` values of the set. */
|
|
@@ -45,59 +39,65 @@ export interface OrgPermissionsGetByMaskVariables {
|
|
|
45
39
|
*/
|
|
46
40
|
offset?: number;
|
|
47
41
|
}
|
|
48
|
-
export interface
|
|
42
|
+
export interface OrgCapabilitiesGetMaskVariables {
|
|
49
43
|
ids?: string[];
|
|
50
44
|
}
|
|
51
|
-
export interface
|
|
45
|
+
export interface OrgCapabilitiesGetMaskByNamesVariables {
|
|
52
46
|
names?: string[];
|
|
53
47
|
}
|
|
54
|
-
export interface
|
|
48
|
+
export interface OrgCapabilitiesGetPaddedMaskVariables {
|
|
55
49
|
mask?: string;
|
|
56
50
|
}
|
|
51
|
+
export interface OrgIsManagerOfVariables {
|
|
52
|
+
managerId?: string;
|
|
53
|
+
maxDepth?: number;
|
|
54
|
+
targetEntityId?: string;
|
|
55
|
+
userId?: string;
|
|
56
|
+
}
|
|
57
57
|
export declare function createQueryOperations(client: OrmClient): {
|
|
58
|
-
|
|
58
|
+
appCapabilitiesGetByMask: (args: AppCapabilitiesGetByMaskVariables, options?: {
|
|
59
59
|
select?: Record<string, unknown>;
|
|
60
60
|
}) => QueryBuilder<{
|
|
61
|
-
|
|
61
|
+
appCapabilitiesGetByMask: AppCapabilityConnection | null;
|
|
62
62
|
}>;
|
|
63
|
-
|
|
63
|
+
appCapabilitiesGetMask: (args: AppCapabilitiesGetMaskVariables, options?: {
|
|
64
64
|
select?: Record<string, unknown>;
|
|
65
65
|
}) => QueryBuilder<{
|
|
66
|
-
|
|
66
|
+
appCapabilitiesGetMask: string | null;
|
|
67
67
|
}>;
|
|
68
|
-
|
|
68
|
+
appCapabilitiesGetMaskByNames: (args: AppCapabilitiesGetMaskByNamesVariables, options?: {
|
|
69
69
|
select?: Record<string, unknown>;
|
|
70
70
|
}) => QueryBuilder<{
|
|
71
|
-
|
|
71
|
+
appCapabilitiesGetMaskByNames: string | null;
|
|
72
72
|
}>;
|
|
73
|
-
|
|
73
|
+
appCapabilitiesGetPaddedMask: (args: AppCapabilitiesGetPaddedMaskVariables, options?: {
|
|
74
74
|
select?: Record<string, unknown>;
|
|
75
75
|
}) => QueryBuilder<{
|
|
76
|
-
|
|
76
|
+
appCapabilitiesGetPaddedMask: string | null;
|
|
77
77
|
}>;
|
|
78
|
-
|
|
78
|
+
orgCapabilitiesGetByMask: (args: OrgCapabilitiesGetByMaskVariables, options?: {
|
|
79
79
|
select?: Record<string, unknown>;
|
|
80
80
|
}) => QueryBuilder<{
|
|
81
|
-
|
|
81
|
+
orgCapabilitiesGetByMask: OrgCapabilityConnection | null;
|
|
82
82
|
}>;
|
|
83
|
-
|
|
83
|
+
orgCapabilitiesGetMask: (args: OrgCapabilitiesGetMaskVariables, options?: {
|
|
84
84
|
select?: Record<string, unknown>;
|
|
85
85
|
}) => QueryBuilder<{
|
|
86
|
-
|
|
86
|
+
orgCapabilitiesGetMask: string | null;
|
|
87
87
|
}>;
|
|
88
|
-
|
|
88
|
+
orgCapabilitiesGetMaskByNames: (args: OrgCapabilitiesGetMaskByNamesVariables, options?: {
|
|
89
89
|
select?: Record<string, unknown>;
|
|
90
90
|
}) => QueryBuilder<{
|
|
91
|
-
|
|
91
|
+
orgCapabilitiesGetMaskByNames: string | null;
|
|
92
92
|
}>;
|
|
93
|
-
|
|
93
|
+
orgCapabilitiesGetPaddedMask: (args: OrgCapabilitiesGetPaddedMaskVariables, options?: {
|
|
94
94
|
select?: Record<string, unknown>;
|
|
95
95
|
}) => QueryBuilder<{
|
|
96
|
-
|
|
96
|
+
orgCapabilitiesGetPaddedMask: string | null;
|
|
97
97
|
}>;
|
|
98
|
-
|
|
98
|
+
orgIsManagerOf: (args: OrgIsManagerOfVariables, options?: {
|
|
99
99
|
select?: Record<string, unknown>;
|
|
100
100
|
}) => QueryBuilder<{
|
|
101
|
-
|
|
101
|
+
orgIsManagerOf: boolean | null;
|
|
102
102
|
}>;
|
|
103
103
|
};
|