@constructive-io/sdk 1.11.10 → 1.11.12
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 +5 -5
- 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,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformEmailIdentity 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 { PlatformEmailIdentityWithRelations, PlatformEmailIdentitySelect, PlatformEmailIdentityFilter, PlatformEmailIdentityOrderBy, CreatePlatformEmailIdentityInput, PlatformEmailIdentityPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformEmailIdentityModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformEmailIdentitySelect>(args: FindManyArgs<S, PlatformEmailIdentityFilter, PlatformEmailIdentityOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformEmailIdentitySelect>): QueryBuilder<{
|
|
16
|
+
platformEmailIdentities: ConnectionResult<InferSelectResult<PlatformEmailIdentityWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformEmailIdentitySelect>(args: FindFirstArgs<S, PlatformEmailIdentityFilter, PlatformEmailIdentityOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformEmailIdentitySelect>): QueryBuilder<{
|
|
21
|
+
platformEmailIdentity: InferSelectResult<PlatformEmailIdentityWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformEmailIdentitySelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformEmailIdentitySelect>): QueryBuilder<{
|
|
27
|
+
platformEmailIdentity: InferSelectResult<PlatformEmailIdentityWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformEmailIdentitySelect>(args: CreateArgs<S, CreatePlatformEmailIdentityInput['platformEmailIdentity']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformEmailIdentitySelect>): QueryBuilder<{
|
|
32
|
+
createPlatformEmailIdentity: {
|
|
33
|
+
platformEmailIdentity: InferSelectResult<PlatformEmailIdentityWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformEmailIdentitySelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformEmailIdentityPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformEmailIdentitySelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformEmailIdentity: {
|
|
42
|
+
platformEmailIdentity: InferSelectResult<PlatformEmailIdentityWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformEmailIdentitySelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformEmailIdentitySelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformEmailIdentity: {
|
|
51
|
+
platformEmailIdentity: InferSelectResult<PlatformEmailIdentityWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class PlatformEmailIdentityModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('PlatformEmailIdentity', 'platformEmailIdentities', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'PlatformEmailIdentityFilter', 'PlatformEmailIdentityOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'PlatformEmailIdentity',
|
|
22
|
+
fieldName: 'platformEmailIdentities',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('PlatformEmailIdentity', 'platformEmailIdentities', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'PlatformEmailIdentityFilter', 'PlatformEmailIdentityOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'PlatformEmailIdentity',
|
|
36
|
+
fieldName: 'platformEmailIdentity',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
platformEmailIdentity: data.platformEmailIdentities?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('PlatformEmailIdentity', 'platformEmailIdentities', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'PlatformEmailIdentityFilter', 'PlatformEmailIdentityOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'PlatformEmailIdentity',
|
|
57
|
+
fieldName: 'platformEmailIdentity',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
platformEmailIdentity: data.platformEmailIdentities?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('PlatformEmailIdentity', 'createPlatformEmailIdentity', 'platformEmailIdentity', args.select, args.data, 'CreatePlatformEmailIdentityInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'PlatformEmailIdentity',
|
|
71
|
+
fieldName: 'createPlatformEmailIdentity',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PlatformEmailIdentity', 'updatePlatformEmailIdentity', 'platformEmailIdentity', args.select, args.where.id, args.data, 'UpdatePlatformEmailIdentityInput', 'id', 'platformEmailIdentityPatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'PlatformEmailIdentity',
|
|
82
|
+
fieldName: 'updatePlatformEmailIdentity',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('PlatformEmailIdentity', 'deletePlatformEmailIdentity', 'platformEmailIdentity', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeletePlatformEmailIdentityInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'PlatformEmailIdentity',
|
|
95
|
+
fieldName: 'deletePlatformEmailIdentity',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformEmailProviderAccount 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 { PlatformEmailProviderAccountWithRelations, PlatformEmailProviderAccountSelect, PlatformEmailProviderAccountFilter, PlatformEmailProviderAccountOrderBy, CreatePlatformEmailProviderAccountInput, PlatformEmailProviderAccountPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformEmailProviderAccountModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformEmailProviderAccountSelect>(args: FindManyArgs<S, PlatformEmailProviderAccountFilter, PlatformEmailProviderAccountOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformEmailProviderAccountSelect>): QueryBuilder<{
|
|
16
|
+
platformEmailProviderAccounts: ConnectionResult<InferSelectResult<PlatformEmailProviderAccountWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformEmailProviderAccountSelect>(args: FindFirstArgs<S, PlatformEmailProviderAccountFilter, PlatformEmailProviderAccountOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformEmailProviderAccountSelect>): QueryBuilder<{
|
|
21
|
+
platformEmailProviderAccount: InferSelectResult<PlatformEmailProviderAccountWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformEmailProviderAccountSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformEmailProviderAccountSelect>): QueryBuilder<{
|
|
27
|
+
platformEmailProviderAccount: InferSelectResult<PlatformEmailProviderAccountWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformEmailProviderAccountSelect>(args: CreateArgs<S, CreatePlatformEmailProviderAccountInput['platformEmailProviderAccount']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformEmailProviderAccountSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformEmailProviderAccount: {
|
|
33
|
+
platformEmailProviderAccount: InferSelectResult<PlatformEmailProviderAccountWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformEmailProviderAccountSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformEmailProviderAccountPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformEmailProviderAccountSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformEmailProviderAccount: {
|
|
42
|
+
platformEmailProviderAccount: InferSelectResult<PlatformEmailProviderAccountWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformEmailProviderAccountSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformEmailProviderAccountSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformEmailProviderAccount: {
|
|
51
|
+
platformEmailProviderAccount: InferSelectResult<PlatformEmailProviderAccountWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class PlatformEmailProviderAccountModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('PlatformEmailProviderAccount', 'platformEmailProviderAccounts', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'PlatformEmailProviderAccountFilter', 'PlatformEmailProviderAccountOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'PlatformEmailProviderAccount',
|
|
22
|
+
fieldName: 'platformEmailProviderAccounts',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('PlatformEmailProviderAccount', 'platformEmailProviderAccounts', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'PlatformEmailProviderAccountFilter', 'PlatformEmailProviderAccountOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'PlatformEmailProviderAccount',
|
|
36
|
+
fieldName: 'platformEmailProviderAccount',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
platformEmailProviderAccount: data.platformEmailProviderAccounts?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('PlatformEmailProviderAccount', 'platformEmailProviderAccounts', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'PlatformEmailProviderAccountFilter', 'PlatformEmailProviderAccountOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'PlatformEmailProviderAccount',
|
|
57
|
+
fieldName: 'platformEmailProviderAccount',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
platformEmailProviderAccount: data.platformEmailProviderAccounts?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('PlatformEmailProviderAccount', 'createPlatformEmailProviderAccount', 'platformEmailProviderAccount', args.select, args.data, 'CreatePlatformEmailProviderAccountInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'PlatformEmailProviderAccount',
|
|
71
|
+
fieldName: 'createPlatformEmailProviderAccount',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PlatformEmailProviderAccount', 'updatePlatformEmailProviderAccount', 'platformEmailProviderAccount', args.select, args.where.id, args.data, 'UpdatePlatformEmailProviderAccountInput', 'id', 'platformEmailProviderAccountPatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'PlatformEmailProviderAccount',
|
|
82
|
+
fieldName: 'updatePlatformEmailProviderAccount',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('PlatformEmailProviderAccount', 'deletePlatformEmailProviderAccount', 'platformEmailProviderAccount', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeletePlatformEmailProviderAccountInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'PlatformEmailProviderAccount',
|
|
95
|
+
fieldName: 'deletePlatformEmailProviderAccount',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformEmailSiteIdentity 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 { PlatformEmailSiteIdentityWithRelations, PlatformEmailSiteIdentitySelect, PlatformEmailSiteIdentityFilter, PlatformEmailSiteIdentityOrderBy, CreatePlatformEmailSiteIdentityInput, PlatformEmailSiteIdentityPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformEmailSiteIdentityModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformEmailSiteIdentitySelect>(args: FindManyArgs<S, PlatformEmailSiteIdentityFilter, PlatformEmailSiteIdentityOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformEmailSiteIdentitySelect>): QueryBuilder<{
|
|
16
|
+
platformEmailSiteIdentities: ConnectionResult<InferSelectResult<PlatformEmailSiteIdentityWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformEmailSiteIdentitySelect>(args: FindFirstArgs<S, PlatformEmailSiteIdentityFilter, PlatformEmailSiteIdentityOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformEmailSiteIdentitySelect>): QueryBuilder<{
|
|
21
|
+
platformEmailSiteIdentity: InferSelectResult<PlatformEmailSiteIdentityWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformEmailSiteIdentitySelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformEmailSiteIdentitySelect>): QueryBuilder<{
|
|
27
|
+
platformEmailSiteIdentity: InferSelectResult<PlatformEmailSiteIdentityWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformEmailSiteIdentitySelect>(args: CreateArgs<S, CreatePlatformEmailSiteIdentityInput['platformEmailSiteIdentity']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformEmailSiteIdentitySelect>): QueryBuilder<{
|
|
32
|
+
createPlatformEmailSiteIdentity: {
|
|
33
|
+
platformEmailSiteIdentity: InferSelectResult<PlatformEmailSiteIdentityWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformEmailSiteIdentitySelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformEmailSiteIdentityPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformEmailSiteIdentitySelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformEmailSiteIdentity: {
|
|
42
|
+
platformEmailSiteIdentity: InferSelectResult<PlatformEmailSiteIdentityWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformEmailSiteIdentitySelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformEmailSiteIdentitySelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformEmailSiteIdentity: {
|
|
51
|
+
platformEmailSiteIdentity: InferSelectResult<PlatformEmailSiteIdentityWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class PlatformEmailSiteIdentityModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('PlatformEmailSiteIdentity', 'platformEmailSiteIdentities', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'PlatformEmailSiteIdentityFilter', 'PlatformEmailSiteIdentityOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'PlatformEmailSiteIdentity',
|
|
22
|
+
fieldName: 'platformEmailSiteIdentities',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('PlatformEmailSiteIdentity', 'platformEmailSiteIdentities', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'PlatformEmailSiteIdentityFilter', 'PlatformEmailSiteIdentityOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'PlatformEmailSiteIdentity',
|
|
36
|
+
fieldName: 'platformEmailSiteIdentity',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
platformEmailSiteIdentity: data.platformEmailSiteIdentities?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('PlatformEmailSiteIdentity', 'platformEmailSiteIdentities', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'PlatformEmailSiteIdentityFilter', 'PlatformEmailSiteIdentityOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'PlatformEmailSiteIdentity',
|
|
57
|
+
fieldName: 'platformEmailSiteIdentity',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
platformEmailSiteIdentity: data.platformEmailSiteIdentities?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('PlatformEmailSiteIdentity', 'createPlatformEmailSiteIdentity', 'platformEmailSiteIdentity', args.select, args.data, 'CreatePlatformEmailSiteIdentityInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'PlatformEmailSiteIdentity',
|
|
71
|
+
fieldName: 'createPlatformEmailSiteIdentity',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PlatformEmailSiteIdentity', 'updatePlatformEmailSiteIdentity', 'platformEmailSiteIdentity', args.select, args.where.id, args.data, 'UpdatePlatformEmailSiteIdentityInput', 'id', 'platformEmailSiteIdentityPatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'PlatformEmailSiteIdentity',
|
|
82
|
+
fieldName: 'updatePlatformEmailSiteIdentity',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('PlatformEmailSiteIdentity', 'deletePlatformEmailSiteIdentity', 'platformEmailSiteIdentity', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeletePlatformEmailSiteIdentityInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'PlatformEmailSiteIdentity',
|
|
95
|
+
fieldName: 'deletePlatformEmailSiteIdentity',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -6,15 +6,18 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type {
|
|
10
|
-
export interface AcceptDatabaseTransferVariables {
|
|
11
|
-
input: AcceptDatabaseTransferInput;
|
|
12
|
-
}
|
|
9
|
+
import type { ApplyRlsInput, AppsInstallAppInput, AppsUninstallAppInput, AppsUpgradeAppInput, DomainsAssignSubdomainInput, PlatformDomainsAssignSubdomainInput, PlatformSitesProvisionStaticSiteInput, ProvisionBucketInput, RequestDatabaseInput, SetFieldOrderInput, SitesProvisionStaticSiteInput, ApplyRlsPayload, AppsInstallAppPayload, AppsUninstallAppPayload, AppsUpgradeAppPayload, DomainsAssignSubdomainPayload, PlatformDomainsAssignSubdomainPayload, PlatformSitesProvisionStaticSitePayload, ProvisionBucketPayload, RequestDatabasePayload, SetFieldOrderPayload, SitesProvisionStaticSitePayload, ApplyRlsPayloadSelect, AppsInstallAppPayloadSelect, AppsUninstallAppPayloadSelect, AppsUpgradeAppPayloadSelect, DomainsAssignSubdomainPayloadSelect, PlatformDomainsAssignSubdomainPayloadSelect, PlatformSitesProvisionStaticSitePayloadSelect, ProvisionBucketPayloadSelect, RequestDatabasePayloadSelect, SetFieldOrderPayloadSelect, SitesProvisionStaticSitePayloadSelect } from '../input-types';
|
|
13
10
|
export interface ApplyRlsVariables {
|
|
14
11
|
input: ApplyRlsInput;
|
|
15
12
|
}
|
|
16
|
-
export interface
|
|
17
|
-
input:
|
|
13
|
+
export interface AppsInstallAppVariables {
|
|
14
|
+
input: AppsInstallAppInput;
|
|
15
|
+
}
|
|
16
|
+
export interface AppsUninstallAppVariables {
|
|
17
|
+
input: AppsUninstallAppInput;
|
|
18
|
+
}
|
|
19
|
+
export interface AppsUpgradeAppVariables {
|
|
20
|
+
input: AppsUpgradeAppInput;
|
|
18
21
|
}
|
|
19
22
|
export interface DomainsAssignSubdomainVariables {
|
|
20
23
|
input: DomainsAssignSubdomainInput;
|
|
@@ -35,9 +38,6 @@ and lifecycle settings.
|
|
|
35
38
|
export interface ProvisionBucketVariables {
|
|
36
39
|
input: ProvisionBucketInput;
|
|
37
40
|
}
|
|
38
|
-
export interface RejectDatabaseTransferVariables {
|
|
39
|
-
input: RejectDatabaseTransferInput;
|
|
40
|
-
}
|
|
41
41
|
/**
|
|
42
42
|
* Variables for requestDatabase
|
|
43
43
|
* Requests a database and returns a ticket (database_provision_module row) to poll.
|
|
@@ -58,20 +58,25 @@ export interface SitesProvisionStaticSiteVariables {
|
|
|
58
58
|
input: SitesProvisionStaticSiteInput;
|
|
59
59
|
}
|
|
60
60
|
export declare function createMutationOperations(client: OrmClient): {
|
|
61
|
-
acceptDatabaseTransfer: <S extends AcceptDatabaseTransferPayloadSelect>(args: AcceptDatabaseTransferVariables, options: {
|
|
62
|
-
select: S;
|
|
63
|
-
} & StrictSelect<S, AcceptDatabaseTransferPayloadSelect>) => QueryBuilder<{
|
|
64
|
-
acceptDatabaseTransfer: InferSelectResult<AcceptDatabaseTransferPayload, S> | null;
|
|
65
|
-
}>;
|
|
66
61
|
applyRls: <S extends ApplyRlsPayloadSelect>(args: ApplyRlsVariables, options: {
|
|
67
62
|
select: S;
|
|
68
63
|
} & StrictSelect<S, ApplyRlsPayloadSelect>) => QueryBuilder<{
|
|
69
64
|
applyRls: InferSelectResult<ApplyRlsPayload, S> | null;
|
|
70
65
|
}>;
|
|
71
|
-
|
|
66
|
+
appsInstallApp: <S extends AppsInstallAppPayloadSelect>(args: AppsInstallAppVariables, options: {
|
|
72
67
|
select: S;
|
|
73
|
-
} & StrictSelect<S,
|
|
74
|
-
|
|
68
|
+
} & StrictSelect<S, AppsInstallAppPayloadSelect>) => QueryBuilder<{
|
|
69
|
+
appsInstallApp: InferSelectResult<AppsInstallAppPayload, S> | null;
|
|
70
|
+
}>;
|
|
71
|
+
appsUninstallApp: <S extends AppsUninstallAppPayloadSelect>(args: AppsUninstallAppVariables, options: {
|
|
72
|
+
select: S;
|
|
73
|
+
} & StrictSelect<S, AppsUninstallAppPayloadSelect>) => QueryBuilder<{
|
|
74
|
+
appsUninstallApp: InferSelectResult<AppsUninstallAppPayload, S> | null;
|
|
75
|
+
}>;
|
|
76
|
+
appsUpgradeApp: <S extends AppsUpgradeAppPayloadSelect>(args: AppsUpgradeAppVariables, options: {
|
|
77
|
+
select: S;
|
|
78
|
+
} & StrictSelect<S, AppsUpgradeAppPayloadSelect>) => QueryBuilder<{
|
|
79
|
+
appsUpgradeApp: InferSelectResult<AppsUpgradeAppPayload, S> | null;
|
|
75
80
|
}>;
|
|
76
81
|
domainsAssignSubdomain: <S extends DomainsAssignSubdomainPayloadSelect>(args: DomainsAssignSubdomainVariables, options: {
|
|
77
82
|
select: S;
|
|
@@ -93,11 +98,6 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
93
98
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
94
99
|
provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
|
|
95
100
|
}>;
|
|
96
|
-
rejectDatabaseTransfer: <S extends RejectDatabaseTransferPayloadSelect>(args: RejectDatabaseTransferVariables, options: {
|
|
97
|
-
select: S;
|
|
98
|
-
} & StrictSelect<S, RejectDatabaseTransferPayloadSelect>) => QueryBuilder<{
|
|
99
|
-
rejectDatabaseTransfer: InferSelectResult<RejectDatabaseTransferPayload, S> | null;
|
|
100
|
-
}>;
|
|
101
101
|
requestDatabase: <S extends RequestDatabasePayloadSelect>(args: RequestDatabaseVariables, options: {
|
|
102
102
|
select: S;
|
|
103
103
|
} & StrictSelect<S, RequestDatabasePayloadSelect>) => QueryBuilder<{
|
|
@@ -2,18 +2,6 @@ import { QueryBuilder, buildCustomDocument } from '../query-builder';
|
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
3
|
export function createMutationOperations(client) {
|
|
4
4
|
return {
|
|
5
|
-
acceptDatabaseTransfer: (args, options) => new QueryBuilder({
|
|
6
|
-
client,
|
|
7
|
-
operation: 'mutation',
|
|
8
|
-
operationName: 'AcceptDatabaseTransfer',
|
|
9
|
-
fieldName: 'acceptDatabaseTransfer',
|
|
10
|
-
...buildCustomDocument('mutation', 'AcceptDatabaseTransfer', 'acceptDatabaseTransfer', options.select, args, [
|
|
11
|
-
{
|
|
12
|
-
name: 'input',
|
|
13
|
-
type: 'AcceptDatabaseTransferInput!',
|
|
14
|
-
},
|
|
15
|
-
], connectionFieldsMap, 'AcceptDatabaseTransferPayload'),
|
|
16
|
-
}),
|
|
17
5
|
applyRls: (args, options) => new QueryBuilder({
|
|
18
6
|
client,
|
|
19
7
|
operation: 'mutation',
|
|
@@ -26,17 +14,41 @@ export function createMutationOperations(client) {
|
|
|
26
14
|
},
|
|
27
15
|
], connectionFieldsMap, 'ApplyRlsPayload'),
|
|
28
16
|
}),
|
|
29
|
-
|
|
17
|
+
appsInstallApp: (args, options) => new QueryBuilder({
|
|
18
|
+
client,
|
|
19
|
+
operation: 'mutation',
|
|
20
|
+
operationName: 'AppsInstallApp',
|
|
21
|
+
fieldName: 'appsInstallApp',
|
|
22
|
+
...buildCustomDocument('mutation', 'AppsInstallApp', 'appsInstallApp', options.select, args, [
|
|
23
|
+
{
|
|
24
|
+
name: 'input',
|
|
25
|
+
type: 'AppsInstallAppInput!',
|
|
26
|
+
},
|
|
27
|
+
], connectionFieldsMap, 'AppsInstallAppPayload'),
|
|
28
|
+
}),
|
|
29
|
+
appsUninstallApp: (args, options) => new QueryBuilder({
|
|
30
30
|
client,
|
|
31
31
|
operation: 'mutation',
|
|
32
|
-
operationName: '
|
|
33
|
-
fieldName: '
|
|
34
|
-
...buildCustomDocument('mutation', '
|
|
32
|
+
operationName: 'AppsUninstallApp',
|
|
33
|
+
fieldName: 'appsUninstallApp',
|
|
34
|
+
...buildCustomDocument('mutation', 'AppsUninstallApp', 'appsUninstallApp', options.select, args, [
|
|
35
35
|
{
|
|
36
36
|
name: 'input',
|
|
37
|
-
type: '
|
|
37
|
+
type: 'AppsUninstallAppInput!',
|
|
38
38
|
},
|
|
39
|
-
], connectionFieldsMap, '
|
|
39
|
+
], connectionFieldsMap, 'AppsUninstallAppPayload'),
|
|
40
|
+
}),
|
|
41
|
+
appsUpgradeApp: (args, options) => new QueryBuilder({
|
|
42
|
+
client,
|
|
43
|
+
operation: 'mutation',
|
|
44
|
+
operationName: 'AppsUpgradeApp',
|
|
45
|
+
fieldName: 'appsUpgradeApp',
|
|
46
|
+
...buildCustomDocument('mutation', 'AppsUpgradeApp', 'appsUpgradeApp', options.select, args, [
|
|
47
|
+
{
|
|
48
|
+
name: 'input',
|
|
49
|
+
type: 'AppsUpgradeAppInput!',
|
|
50
|
+
},
|
|
51
|
+
], connectionFieldsMap, 'AppsUpgradeAppPayload'),
|
|
40
52
|
}),
|
|
41
53
|
domainsAssignSubdomain: (args, options) => new QueryBuilder({
|
|
42
54
|
client,
|
|
@@ -86,18 +98,6 @@ export function createMutationOperations(client) {
|
|
|
86
98
|
},
|
|
87
99
|
], connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
88
100
|
}),
|
|
89
|
-
rejectDatabaseTransfer: (args, options) => new QueryBuilder({
|
|
90
|
-
client,
|
|
91
|
-
operation: 'mutation',
|
|
92
|
-
operationName: 'RejectDatabaseTransfer',
|
|
93
|
-
fieldName: 'rejectDatabaseTransfer',
|
|
94
|
-
...buildCustomDocument('mutation', 'RejectDatabaseTransfer', 'rejectDatabaseTransfer', options.select, args, [
|
|
95
|
-
{
|
|
96
|
-
name: 'input',
|
|
97
|
-
type: 'RejectDatabaseTransferInput!',
|
|
98
|
-
},
|
|
99
|
-
], connectionFieldsMap, 'RejectDatabaseTransferPayload'),
|
|
100
|
-
}),
|
|
101
101
|
requestDatabase: (args, options) => new QueryBuilder({
|
|
102
102
|
client,
|
|
103
103
|
operation: 'mutation',
|
package/esm/auth/orm/index.d.ts
CHANGED
|
@@ -199,6 +199,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
199
199
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignInCrossOriginPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
200
200
|
signInCrossOrigin: import("./select-types").InferSelectResult<import("./input-types").SignInCrossOriginPayload, S> | null;
|
|
201
201
|
}>;
|
|
202
|
+
signInMagicLink: <S extends import("./input-types").SignInMagicLinkPayloadSelect>(args: import("./mutation").SignInMagicLinkVariables, options: {
|
|
203
|
+
select: S;
|
|
204
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignInMagicLinkPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
205
|
+
signInMagicLink: import("./select-types").InferSelectResult<import("./input-types").SignInMagicLinkPayload, S> | null;
|
|
206
|
+
}>;
|
|
202
207
|
signInSmsOtp: <S extends import("./input-types").SignInSmsOtpPayloadSelect>(args: import("./mutation").SignInSmsOtpVariables, options: {
|
|
203
208
|
select: S;
|
|
204
209
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignInSmsOtpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -214,6 +219,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
214
219
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
215
220
|
signUp: import("./select-types").InferSelectResult<import("./input-types").SignUpPayload, S> | null;
|
|
216
221
|
}>;
|
|
222
|
+
signUpMagicLink: <S extends import("./input-types").SignUpMagicLinkPayloadSelect>(args: import("./mutation").SignUpMagicLinkVariables, options: {
|
|
223
|
+
select: S;
|
|
224
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpMagicLinkPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
225
|
+
signUpMagicLink: import("./select-types").InferSelectResult<import("./input-types").SignUpMagicLinkPayload, S> | null;
|
|
226
|
+
}>;
|
|
217
227
|
signUpSms: <S extends import("./input-types").SignUpSmsPayloadSelect>(args: import("./mutation").SignUpSmsVariables, options: {
|
|
218
228
|
select: S;
|
|
219
229
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpSmsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|