@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.EmailIdentityModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class EmailIdentityModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('EmailIdentity', 'emailIdentities', 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
|
+
}, 'EmailIdentityFilter', 'EmailIdentityOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'EmailIdentity',
|
|
25
|
+
fieldName: 'emailIdentities',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('EmailIdentity', 'emailIdentities', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'EmailIdentityFilter', 'EmailIdentityOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'EmailIdentity',
|
|
39
|
+
fieldName: 'emailIdentity',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
emailIdentity: data.emailIdentities?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('EmailIdentity', 'emailIdentities', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'EmailIdentityFilter', 'EmailIdentityOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'EmailIdentity',
|
|
60
|
+
fieldName: 'emailIdentity',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
emailIdentity: data.emailIdentities?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('EmailIdentity', 'createEmailIdentity', 'emailIdentity', args.select, args.data, 'CreateEmailIdentityInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'EmailIdentity',
|
|
74
|
+
fieldName: 'createEmailIdentity',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('EmailIdentity', 'updateEmailIdentity', 'emailIdentity', args.select, args.where.id, args.data, 'UpdateEmailIdentityInput', 'id', 'emailIdentityPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'EmailIdentity',
|
|
85
|
+
fieldName: 'updateEmailIdentity',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('EmailIdentity', 'deleteEmailIdentity', 'emailIdentity', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteEmailIdentityInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'EmailIdentity',
|
|
98
|
+
fieldName: 'deleteEmailIdentity',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.EmailIdentityModel = EmailIdentityModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EmailProviderAccount 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 { EmailProviderAccountWithRelations, EmailProviderAccountSelect, EmailProviderAccountFilter, EmailProviderAccountOrderBy, CreateEmailProviderAccountInput, EmailProviderAccountPatch } from '../input-types';
|
|
10
|
+
export declare class EmailProviderAccountModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends EmailProviderAccountSelect>(args: FindManyArgs<S, EmailProviderAccountFilter, EmailProviderAccountOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, EmailProviderAccountSelect>): QueryBuilder<{
|
|
16
|
+
emailProviderAccounts: ConnectionResult<InferSelectResult<EmailProviderAccountWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends EmailProviderAccountSelect>(args: FindFirstArgs<S, EmailProviderAccountFilter, EmailProviderAccountOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, EmailProviderAccountSelect>): QueryBuilder<{
|
|
21
|
+
emailProviderAccount: InferSelectResult<EmailProviderAccountWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends EmailProviderAccountSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, EmailProviderAccountSelect>): QueryBuilder<{
|
|
27
|
+
emailProviderAccount: InferSelectResult<EmailProviderAccountWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends EmailProviderAccountSelect>(args: CreateArgs<S, CreateEmailProviderAccountInput['emailProviderAccount']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, EmailProviderAccountSelect>): QueryBuilder<{
|
|
32
|
+
createEmailProviderAccount: {
|
|
33
|
+
emailProviderAccount: InferSelectResult<EmailProviderAccountWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends EmailProviderAccountSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, EmailProviderAccountPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, EmailProviderAccountSelect>): QueryBuilder<{
|
|
41
|
+
updateEmailProviderAccount: {
|
|
42
|
+
emailProviderAccount: InferSelectResult<EmailProviderAccountWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends EmailProviderAccountSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, EmailProviderAccountSelect>): QueryBuilder<{
|
|
50
|
+
deleteEmailProviderAccount: {
|
|
51
|
+
emailProviderAccount: InferSelectResult<EmailProviderAccountWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmailProviderAccountModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class EmailProviderAccountModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('EmailProviderAccount', 'emailProviderAccounts', 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
|
+
}, 'EmailProviderAccountFilter', 'EmailProviderAccountOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'EmailProviderAccount',
|
|
25
|
+
fieldName: 'emailProviderAccounts',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('EmailProviderAccount', 'emailProviderAccounts', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'EmailProviderAccountFilter', 'EmailProviderAccountOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'EmailProviderAccount',
|
|
39
|
+
fieldName: 'emailProviderAccount',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
emailProviderAccount: data.emailProviderAccounts?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('EmailProviderAccount', 'emailProviderAccounts', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'EmailProviderAccountFilter', 'EmailProviderAccountOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'EmailProviderAccount',
|
|
60
|
+
fieldName: 'emailProviderAccount',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
emailProviderAccount: data.emailProviderAccounts?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('EmailProviderAccount', 'createEmailProviderAccount', 'emailProviderAccount', args.select, args.data, 'CreateEmailProviderAccountInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'EmailProviderAccount',
|
|
74
|
+
fieldName: 'createEmailProviderAccount',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('EmailProviderAccount', 'updateEmailProviderAccount', 'emailProviderAccount', args.select, args.where.id, args.data, 'UpdateEmailProviderAccountInput', 'id', 'emailProviderAccountPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'EmailProviderAccount',
|
|
85
|
+
fieldName: 'updateEmailProviderAccount',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('EmailProviderAccount', 'deleteEmailProviderAccount', 'emailProviderAccount', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteEmailProviderAccountInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'EmailProviderAccount',
|
|
98
|
+
fieldName: 'deleteEmailProviderAccount',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.EmailProviderAccountModel = EmailProviderAccountModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EmailSiteIdentity 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 { EmailSiteIdentityWithRelations, EmailSiteIdentitySelect, EmailSiteIdentityFilter, EmailSiteIdentityOrderBy, CreateEmailSiteIdentityInput, EmailSiteIdentityPatch } from '../input-types';
|
|
10
|
+
export declare class EmailSiteIdentityModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends EmailSiteIdentitySelect>(args: FindManyArgs<S, EmailSiteIdentityFilter, EmailSiteIdentityOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, EmailSiteIdentitySelect>): QueryBuilder<{
|
|
16
|
+
emailSiteIdentities: ConnectionResult<InferSelectResult<EmailSiteIdentityWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends EmailSiteIdentitySelect>(args: FindFirstArgs<S, EmailSiteIdentityFilter, EmailSiteIdentityOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, EmailSiteIdentitySelect>): QueryBuilder<{
|
|
21
|
+
emailSiteIdentity: InferSelectResult<EmailSiteIdentityWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends EmailSiteIdentitySelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, EmailSiteIdentitySelect>): QueryBuilder<{
|
|
27
|
+
emailSiteIdentity: InferSelectResult<EmailSiteIdentityWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends EmailSiteIdentitySelect>(args: CreateArgs<S, CreateEmailSiteIdentityInput['emailSiteIdentity']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, EmailSiteIdentitySelect>): QueryBuilder<{
|
|
32
|
+
createEmailSiteIdentity: {
|
|
33
|
+
emailSiteIdentity: InferSelectResult<EmailSiteIdentityWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends EmailSiteIdentitySelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, EmailSiteIdentityPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, EmailSiteIdentitySelect>): QueryBuilder<{
|
|
41
|
+
updateEmailSiteIdentity: {
|
|
42
|
+
emailSiteIdentity: InferSelectResult<EmailSiteIdentityWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends EmailSiteIdentitySelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, EmailSiteIdentitySelect>): QueryBuilder<{
|
|
50
|
+
deleteEmailSiteIdentity: {
|
|
51
|
+
emailSiteIdentity: InferSelectResult<EmailSiteIdentityWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmailSiteIdentityModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class EmailSiteIdentityModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('EmailSiteIdentity', 'emailSiteIdentities', 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
|
+
}, 'EmailSiteIdentityFilter', 'EmailSiteIdentityOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'EmailSiteIdentity',
|
|
25
|
+
fieldName: 'emailSiteIdentities',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('EmailSiteIdentity', 'emailSiteIdentities', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'EmailSiteIdentityFilter', 'EmailSiteIdentityOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'EmailSiteIdentity',
|
|
39
|
+
fieldName: 'emailSiteIdentity',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
emailSiteIdentity: data.emailSiteIdentities?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('EmailSiteIdentity', 'emailSiteIdentities', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'EmailSiteIdentityFilter', 'EmailSiteIdentityOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'EmailSiteIdentity',
|
|
60
|
+
fieldName: 'emailSiteIdentity',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
emailSiteIdentity: data.emailSiteIdentities?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('EmailSiteIdentity', 'createEmailSiteIdentity', 'emailSiteIdentity', args.select, args.data, 'CreateEmailSiteIdentityInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'EmailSiteIdentity',
|
|
74
|
+
fieldName: 'createEmailSiteIdentity',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('EmailSiteIdentity', 'updateEmailSiteIdentity', 'emailSiteIdentity', args.select, args.where.id, args.data, 'UpdateEmailSiteIdentityInput', 'id', 'emailSiteIdentityPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'EmailSiteIdentity',
|
|
85
|
+
fieldName: 'updateEmailSiteIdentity',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('EmailSiteIdentity', 'deleteEmailSiteIdentity', 'emailSiteIdentity', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteEmailSiteIdentityInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'EmailSiteIdentity',
|
|
98
|
+
fieldName: 'deleteEmailSiteIdentity',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.EmailSiteIdentityModel = EmailSiteIdentityModel;
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
+
export { ApiModel } from './api';
|
|
6
7
|
export { ApiSchemaModel } from './apiSchema';
|
|
7
8
|
export { ApiSettingModel } from './apiSetting';
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
9
|
+
export { AppComponentModel } from './appComponent';
|
|
10
|
+
export { AppModel } from './app';
|
|
10
11
|
export { CheckConstraintModel } from './checkConstraint';
|
|
11
12
|
export { CompositeTypeModel } from './compositeType';
|
|
12
13
|
export { CorsSettingModel } from './corsSetting';
|
|
@@ -19,6 +20,9 @@ export { DomainModel } from './domain';
|
|
|
19
20
|
export { DomainEventModel } from './domainEvent';
|
|
20
21
|
export { DomainTypeModel } from './domainType';
|
|
21
22
|
export { DomainVerificationModel } from './domainVerification';
|
|
23
|
+
export { EmailIdentityModel } from './emailIdentity';
|
|
24
|
+
export { EmailProviderAccountModel } from './emailProviderAccount';
|
|
25
|
+
export { EmailSiteIdentityModel } from './emailSiteIdentity';
|
|
22
26
|
export { EmbeddingChunkModel } from './embeddingChunk';
|
|
23
27
|
export { EnumModel } from './enum';
|
|
24
28
|
export { ExclusionConstraintModel } from './exclusionConstraint';
|
|
@@ -35,13 +39,16 @@ export { ManagedDomainModel } from './managedDomain';
|
|
|
35
39
|
export { NodeTypeRegistryModel } from './nodeTypeRegistry';
|
|
36
40
|
export { PageModel } from './page';
|
|
37
41
|
export { PartitionModel } from './partition';
|
|
42
|
+
export { PlatformApiModel } from './platformApi';
|
|
38
43
|
export { PlatformApiSchemaModel } from './platformApiSchema';
|
|
39
44
|
export { PlatformApiSettingModel } from './platformApiSetting';
|
|
40
|
-
export { PlatformApisModel } from './platformApis';
|
|
41
45
|
export { PlatformCorsSettingModel } from './platformCorsSetting';
|
|
42
46
|
export { PlatformDomainModel } from './platformDomain';
|
|
43
47
|
export { PlatformDomainEventModel } from './platformDomainEvent';
|
|
44
48
|
export { PlatformDomainVerificationModel } from './platformDomainVerification';
|
|
49
|
+
export { PlatformEmailIdentityModel } from './platformEmailIdentity';
|
|
50
|
+
export { PlatformEmailProviderAccountModel } from './platformEmailProviderAccount';
|
|
51
|
+
export { PlatformEmailSiteIdentityModel } from './platformEmailSiteIdentity';
|
|
45
52
|
export { PlatformManagedDomainModel } from './platformManagedDomain';
|
|
46
53
|
export { PlatformPageModel } from './platformPage';
|
|
47
54
|
export { PlatformSiteAppLinkModel } from './platformSiteAppLink';
|
|
@@ -69,7 +76,6 @@ export { SiteModuleModel } from './siteModule';
|
|
|
69
76
|
export { SiteThemeModel } from './siteTheme';
|
|
70
77
|
export { SiteWebConfigModel } from './siteWebConfig';
|
|
71
78
|
export { SpatialRelationModel } from './spatialRelation';
|
|
72
|
-
export { SqlActionModel } from './sqlAction';
|
|
73
79
|
export { TableBehaviorModel } from './tableBehavior';
|
|
74
80
|
export { TableModel } from './table';
|
|
75
81
|
export { TableGrantModel } from './tableGrant';
|
package/api/orm/models/index.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.ViewBehaviorModel = exports.UniqueConstraintModel = exports.UniqueConstraintBehaviorModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.TableBehaviorModel = exports.
|
|
3
|
+
exports.PlatformSiteModel = exports.PlatformSiteAppLinkModel = exports.PlatformPageModel = exports.PlatformManagedDomainModel = exports.PlatformEmailSiteIdentityModel = exports.PlatformEmailProviderAccountModel = exports.PlatformEmailIdentityModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModel = exports.PartitionModel = exports.PageModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.IndexModel = exports.HttpRouteModel = exports.HostnameBindingModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.ForeignKeyConstraintBehaviorModel = exports.FieldModel = exports.FieldBehaviorModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.EmailSiteIdentityModel = exports.EmailProviderAccountModel = exports.EmailIdentityModel = exports.DomainVerificationModel = exports.DomainTypeModel = exports.DomainEventModel = exports.DomainModel = exports.DeriveModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AppModel = exports.AppComponentModel = exports.ApiSettingModel = exports.ApiSchemaModel = exports.ApiModel = void 0;
|
|
4
|
+
exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.ViewBehaviorModel = exports.UniqueConstraintModel = exports.UniqueConstraintBehaviorModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.TableBehaviorModel = exports.SpatialRelationModel = exports.SiteWebConfigModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.SiteErrorPageModel = exports.SiteDeepLinkModel = exports.SiteModel = exports.SiteAppLinkModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteWebConfigModel = exports.PlatformSiteThemeModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteErrorPageModel = exports.PlatformSiteDeepLinkModel = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* Models barrel export
|
|
7
7
|
* @generated by @constructive-io/graphql-codegen
|
|
8
8
|
* DO NOT EDIT - changes will be overwritten
|
|
9
9
|
*/
|
|
10
|
+
var api_1 = require("./api");
|
|
11
|
+
Object.defineProperty(exports, "ApiModel", { enumerable: true, get: function () { return api_1.ApiModel; } });
|
|
10
12
|
var apiSchema_1 = require("./apiSchema");
|
|
11
13
|
Object.defineProperty(exports, "ApiSchemaModel", { enumerable: true, get: function () { return apiSchema_1.ApiSchemaModel; } });
|
|
12
14
|
var apiSetting_1 = require("./apiSetting");
|
|
13
15
|
Object.defineProperty(exports, "ApiSettingModel", { enumerable: true, get: function () { return apiSetting_1.ApiSettingModel; } });
|
|
14
|
-
var
|
|
15
|
-
Object.defineProperty(exports, "
|
|
16
|
-
var
|
|
17
|
-
Object.defineProperty(exports, "
|
|
16
|
+
var appComponent_1 = require("./appComponent");
|
|
17
|
+
Object.defineProperty(exports, "AppComponentModel", { enumerable: true, get: function () { return appComponent_1.AppComponentModel; } });
|
|
18
|
+
var app_1 = require("./app");
|
|
19
|
+
Object.defineProperty(exports, "AppModel", { enumerable: true, get: function () { return app_1.AppModel; } });
|
|
18
20
|
var checkConstraint_1 = require("./checkConstraint");
|
|
19
21
|
Object.defineProperty(exports, "CheckConstraintModel", { enumerable: true, get: function () { return checkConstraint_1.CheckConstraintModel; } });
|
|
20
22
|
var compositeType_1 = require("./compositeType");
|
|
@@ -39,6 +41,12 @@ var domainType_1 = require("./domainType");
|
|
|
39
41
|
Object.defineProperty(exports, "DomainTypeModel", { enumerable: true, get: function () { return domainType_1.DomainTypeModel; } });
|
|
40
42
|
var domainVerification_1 = require("./domainVerification");
|
|
41
43
|
Object.defineProperty(exports, "DomainVerificationModel", { enumerable: true, get: function () { return domainVerification_1.DomainVerificationModel; } });
|
|
44
|
+
var emailIdentity_1 = require("./emailIdentity");
|
|
45
|
+
Object.defineProperty(exports, "EmailIdentityModel", { enumerable: true, get: function () { return emailIdentity_1.EmailIdentityModel; } });
|
|
46
|
+
var emailProviderAccount_1 = require("./emailProviderAccount");
|
|
47
|
+
Object.defineProperty(exports, "EmailProviderAccountModel", { enumerable: true, get: function () { return emailProviderAccount_1.EmailProviderAccountModel; } });
|
|
48
|
+
var emailSiteIdentity_1 = require("./emailSiteIdentity");
|
|
49
|
+
Object.defineProperty(exports, "EmailSiteIdentityModel", { enumerable: true, get: function () { return emailSiteIdentity_1.EmailSiteIdentityModel; } });
|
|
42
50
|
var embeddingChunk_1 = require("./embeddingChunk");
|
|
43
51
|
Object.defineProperty(exports, "EmbeddingChunkModel", { enumerable: true, get: function () { return embeddingChunk_1.EmbeddingChunkModel; } });
|
|
44
52
|
var enum_1 = require("./enum");
|
|
@@ -71,12 +79,12 @@ var page_1 = require("./page");
|
|
|
71
79
|
Object.defineProperty(exports, "PageModel", { enumerable: true, get: function () { return page_1.PageModel; } });
|
|
72
80
|
var partition_1 = require("./partition");
|
|
73
81
|
Object.defineProperty(exports, "PartitionModel", { enumerable: true, get: function () { return partition_1.PartitionModel; } });
|
|
82
|
+
var platformApi_1 = require("./platformApi");
|
|
83
|
+
Object.defineProperty(exports, "PlatformApiModel", { enumerable: true, get: function () { return platformApi_1.PlatformApiModel; } });
|
|
74
84
|
var platformApiSchema_1 = require("./platformApiSchema");
|
|
75
85
|
Object.defineProperty(exports, "PlatformApiSchemaModel", { enumerable: true, get: function () { return platformApiSchema_1.PlatformApiSchemaModel; } });
|
|
76
86
|
var platformApiSetting_1 = require("./platformApiSetting");
|
|
77
87
|
Object.defineProperty(exports, "PlatformApiSettingModel", { enumerable: true, get: function () { return platformApiSetting_1.PlatformApiSettingModel; } });
|
|
78
|
-
var platformApis_1 = require("./platformApis");
|
|
79
|
-
Object.defineProperty(exports, "PlatformApisModel", { enumerable: true, get: function () { return platformApis_1.PlatformApisModel; } });
|
|
80
88
|
var platformCorsSetting_1 = require("./platformCorsSetting");
|
|
81
89
|
Object.defineProperty(exports, "PlatformCorsSettingModel", { enumerable: true, get: function () { return platformCorsSetting_1.PlatformCorsSettingModel; } });
|
|
82
90
|
var platformDomain_1 = require("./platformDomain");
|
|
@@ -85,6 +93,12 @@ var platformDomainEvent_1 = require("./platformDomainEvent");
|
|
|
85
93
|
Object.defineProperty(exports, "PlatformDomainEventModel", { enumerable: true, get: function () { return platformDomainEvent_1.PlatformDomainEventModel; } });
|
|
86
94
|
var platformDomainVerification_1 = require("./platformDomainVerification");
|
|
87
95
|
Object.defineProperty(exports, "PlatformDomainVerificationModel", { enumerable: true, get: function () { return platformDomainVerification_1.PlatformDomainVerificationModel; } });
|
|
96
|
+
var platformEmailIdentity_1 = require("./platformEmailIdentity");
|
|
97
|
+
Object.defineProperty(exports, "PlatformEmailIdentityModel", { enumerable: true, get: function () { return platformEmailIdentity_1.PlatformEmailIdentityModel; } });
|
|
98
|
+
var platformEmailProviderAccount_1 = require("./platformEmailProviderAccount");
|
|
99
|
+
Object.defineProperty(exports, "PlatformEmailProviderAccountModel", { enumerable: true, get: function () { return platformEmailProviderAccount_1.PlatformEmailProviderAccountModel; } });
|
|
100
|
+
var platformEmailSiteIdentity_1 = require("./platformEmailSiteIdentity");
|
|
101
|
+
Object.defineProperty(exports, "PlatformEmailSiteIdentityModel", { enumerable: true, get: function () { return platformEmailSiteIdentity_1.PlatformEmailSiteIdentityModel; } });
|
|
88
102
|
var platformManagedDomain_1 = require("./platformManagedDomain");
|
|
89
103
|
Object.defineProperty(exports, "PlatformManagedDomainModel", { enumerable: true, get: function () { return platformManagedDomain_1.PlatformManagedDomainModel; } });
|
|
90
104
|
var platformPage_1 = require("./platformPage");
|
|
@@ -139,8 +153,6 @@ var siteWebConfig_1 = require("./siteWebConfig");
|
|
|
139
153
|
Object.defineProperty(exports, "SiteWebConfigModel", { enumerable: true, get: function () { return siteWebConfig_1.SiteWebConfigModel; } });
|
|
140
154
|
var spatialRelation_1 = require("./spatialRelation");
|
|
141
155
|
Object.defineProperty(exports, "SpatialRelationModel", { enumerable: true, get: function () { return spatialRelation_1.SpatialRelationModel; } });
|
|
142
|
-
var sqlAction_1 = require("./sqlAction");
|
|
143
|
-
Object.defineProperty(exports, "SqlActionModel", { enumerable: true, get: function () { return sqlAction_1.SqlActionModel; } });
|
|
144
156
|
var tableBehavior_1 = require("./tableBehavior");
|
|
145
157
|
Object.defineProperty(exports, "TableBehaviorModel", { enumerable: true, get: function () { return tableBehavior_1.TableBehaviorModel; } });
|
|
146
158
|
var table_1 = require("./table");
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformApi 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 { PlatformApiWithRelations, PlatformApiSelect, PlatformApiFilter, PlatformApiOrderBy, CreatePlatformApiInput, PlatformApiPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformApiModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformApiSelect>(args: FindManyArgs<S, PlatformApiFilter, PlatformApiOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
|
|
16
|
+
platformApis: ConnectionResult<InferSelectResult<PlatformApiWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformApiSelect>(args: FindFirstArgs<S, PlatformApiFilter, PlatformApiOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
|
|
21
|
+
platformApi: InferSelectResult<PlatformApiWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformApiSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
|
|
27
|
+
platformApi: InferSelectResult<PlatformApiWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformApiSelect>(args: CreateArgs<S, CreatePlatformApiInput['platformApi']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformApi: {
|
|
33
|
+
platformApi: InferSelectResult<PlatformApiWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformApiSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformApiPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformApi: {
|
|
42
|
+
platformApi: InferSelectResult<PlatformApiWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformApiSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformApiSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformApi: {
|
|
51
|
+
platformApi: InferSelectResult<PlatformApiWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|