@constructive-io/sdk 1.11.10 → 1.11.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/orm/index.d.ts +58 -34
- package/admin/orm/index.js +40 -16
- package/admin/orm/input-types.d.ts +3824 -943
- package/admin/orm/input-types.js +33 -5
- package/admin/orm/models/appCapability.d.ts +54 -0
- package/admin/orm/models/appCapability.js +104 -0
- package/admin/orm/models/appCapabilityDefault.d.ts +54 -0
- package/admin/orm/models/{orgPermissionDefault.js → appCapabilityDefault.js} +27 -27
- package/admin/orm/models/appCapabilityDefaultCapability.d.ts +54 -0
- package/admin/orm/models/{orgPermissionDefaultPermission.js → appCapabilityDefaultCapability.js} +27 -27
- package/admin/orm/models/appCapabilityDefaultGrant.d.ts +54 -0
- package/admin/orm/models/{appPermissionDefaultGrant.js → appCapabilityDefaultGrant.js} +27 -27
- package/admin/orm/models/appMembershipProfile.d.ts +54 -0
- package/admin/orm/models/appMembershipProfile.js +104 -0
- package/admin/orm/models/appProfile.d.ts +54 -0
- package/admin/orm/models/appProfile.js +104 -0
- package/admin/orm/models/appProfileCapability.d.ts +54 -0
- package/admin/orm/models/appProfileCapability.js +104 -0
- package/admin/orm/models/appProfileDefinitionGrant.d.ts +54 -0
- package/admin/orm/models/appProfileDefinitionGrant.js +104 -0
- package/admin/orm/models/appProfileGrant.d.ts +54 -0
- package/admin/orm/models/appProfileGrant.js +104 -0
- package/admin/orm/models/appProfileTemplate.d.ts +54 -0
- package/admin/orm/models/appProfileTemplate.js +104 -0
- package/admin/orm/models/index.d.ts +20 -8
- package/admin/orm/models/index.js +41 -17
- package/admin/orm/models/orgCapability.d.ts +54 -0
- package/admin/orm/models/orgCapability.js +104 -0
- package/admin/orm/models/orgCapabilityDefault.d.ts +54 -0
- package/admin/orm/models/{appPermissionDefault.js → orgCapabilityDefault.js} +27 -27
- package/admin/orm/models/orgCapabilityDefaultCapability.d.ts +54 -0
- package/admin/orm/models/{appPermissionDefaultPermission.js → orgCapabilityDefaultCapability.js} +27 -27
- package/admin/orm/models/orgCapabilityDefaultGrant.d.ts +54 -0
- package/admin/orm/models/{orgPermissionDefaultGrant.js → orgCapabilityDefaultGrant.js} +27 -27
- package/admin/orm/models/orgMembershipProfile.d.ts +54 -0
- package/admin/orm/models/orgMembershipProfile.js +104 -0
- package/admin/orm/models/orgProfile.d.ts +54 -0
- package/admin/orm/models/orgProfile.js +104 -0
- package/admin/orm/models/orgProfileCapability.d.ts +54 -0
- package/admin/orm/models/orgProfileCapability.js +104 -0
- package/admin/orm/models/orgProfileDefinitionGrant.d.ts +54 -0
- package/admin/orm/models/orgProfileDefinitionGrant.js +104 -0
- package/admin/orm/models/orgProfileGrant.d.ts +54 -0
- package/admin/orm/models/orgProfileGrant.js +104 -0
- package/admin/orm/models/orgProfileTemplate.d.ts +54 -0
- package/admin/orm/models/orgProfileTemplate.js +104 -0
- package/admin/orm/query/index.d.ts +33 -33
- package/admin/orm/query/index.js +56 -56
- package/api/orm/index.d.ts +33 -21
- package/api/orm/index.js +20 -8
- package/api/orm/input-types.d.ts +2594 -895
- package/api/orm/input-types.js +19 -4
- package/api/orm/models/api.d.ts +54 -0
- package/api/orm/models/api.js +104 -0
- package/api/orm/models/app.d.ts +54 -0
- package/api/orm/models/app.js +104 -0
- package/api/orm/models/appComponent.d.ts +54 -0
- package/api/orm/models/{platformApis.js → appComponent.js} +27 -27
- package/api/orm/models/emailIdentity.d.ts +54 -0
- package/api/orm/models/emailIdentity.js +104 -0
- package/api/orm/models/emailProviderAccount.d.ts +54 -0
- package/api/orm/models/emailProviderAccount.js +104 -0
- package/api/orm/models/emailSiteIdentity.d.ts +54 -0
- package/api/orm/models/emailSiteIdentity.js +104 -0
- package/api/orm/models/index.d.ts +10 -4
- package/api/orm/models/index.js +22 -10
- package/api/orm/models/platformApi.d.ts +54 -0
- package/api/orm/models/platformApi.js +104 -0
- package/api/orm/models/platformEmailIdentity.d.ts +54 -0
- package/api/orm/models/platformEmailIdentity.js +104 -0
- package/api/orm/models/platformEmailProviderAccount.d.ts +54 -0
- package/api/orm/models/platformEmailProviderAccount.js +104 -0
- package/api/orm/models/platformEmailSiteIdentity.d.ts +54 -0
- package/api/orm/models/platformEmailSiteIdentity.js +104 -0
- package/api/orm/mutation/index.d.ts +22 -22
- package/api/orm/mutation/index.js +30 -30
- package/auth/orm/index.d.ts +10 -0
- package/auth/orm/input-types.d.ts +60 -6
- package/auth/orm/mutation/index.d.ts +17 -1
- package/auth/orm/mutation/index.js +24 -0
- package/compute/orm/index.d.ts +47 -0
- package/compute/orm/index.js +2 -0
- package/compute/orm/input-types.d.ts +470 -48
- package/compute/orm/models/contentPreset.d.ts +54 -0
- package/{admin/orm/models/appPermission.js → compute/orm/models/contentPreset.js} +27 -27
- package/compute/orm/models/index.d.ts +1 -0
- package/compute/orm/models/index.js +4 -2
- package/compute/orm/mutation/index.d.ts +73 -1
- package/compute/orm/mutation/index.js +108 -0
- package/esm/admin/orm/index.d.ts +58 -34
- package/esm/admin/orm/index.js +40 -16
- package/esm/admin/orm/input-types.d.ts +3824 -943
- package/esm/admin/orm/input-types.js +33 -5
- package/esm/admin/orm/models/appCapability.d.ts +54 -0
- package/esm/admin/orm/models/appCapability.js +100 -0
- package/esm/admin/orm/models/appCapabilityDefault.d.ts +54 -0
- package/esm/admin/orm/models/{appPermissionDefault.js → appCapabilityDefault.js} +25 -25
- package/esm/admin/orm/models/appCapabilityDefaultCapability.d.ts +54 -0
- package/esm/admin/orm/models/{appPermissionDefaultPermission.js → appCapabilityDefaultCapability.js} +25 -25
- package/esm/admin/orm/models/appCapabilityDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/{appPermissionDefaultGrant.js → appCapabilityDefaultGrant.js} +25 -25
- package/esm/admin/orm/models/appMembershipProfile.d.ts +54 -0
- package/esm/admin/orm/models/appMembershipProfile.js +100 -0
- package/esm/admin/orm/models/appProfile.d.ts +54 -0
- package/esm/admin/orm/models/appProfile.js +100 -0
- package/esm/admin/orm/models/appProfileCapability.d.ts +54 -0
- package/esm/admin/orm/models/appProfileCapability.js +100 -0
- package/esm/admin/orm/models/appProfileDefinitionGrant.d.ts +54 -0
- package/esm/admin/orm/models/appProfileDefinitionGrant.js +100 -0
- package/esm/admin/orm/models/appProfileGrant.d.ts +54 -0
- package/esm/admin/orm/models/appProfileGrant.js +100 -0
- package/esm/admin/orm/models/appProfileTemplate.d.ts +54 -0
- package/esm/admin/orm/models/appProfileTemplate.js +100 -0
- package/esm/admin/orm/models/index.d.ts +20 -8
- package/esm/admin/orm/models/index.js +20 -8
- package/esm/admin/orm/models/orgCapability.d.ts +54 -0
- package/esm/admin/orm/models/{orgPermission.js → orgCapability.js} +25 -25
- package/esm/admin/orm/models/orgCapabilityDefault.d.ts +54 -0
- package/esm/admin/orm/models/{orgPermissionDefault.js → orgCapabilityDefault.js} +25 -25
- package/esm/admin/orm/models/orgCapabilityDefaultCapability.d.ts +54 -0
- package/esm/admin/orm/models/{orgPermissionDefaultPermission.js → orgCapabilityDefaultCapability.js} +25 -25
- package/esm/admin/orm/models/orgCapabilityDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/{orgPermissionDefaultGrant.js → orgCapabilityDefaultGrant.js} +25 -25
- package/esm/admin/orm/models/orgMembershipProfile.d.ts +54 -0
- package/esm/admin/orm/models/orgMembershipProfile.js +100 -0
- package/esm/admin/orm/models/orgProfile.d.ts +54 -0
- package/esm/admin/orm/models/orgProfile.js +100 -0
- package/esm/admin/orm/models/orgProfileCapability.d.ts +54 -0
- package/esm/admin/orm/models/orgProfileCapability.js +100 -0
- package/esm/admin/orm/models/orgProfileDefinitionGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgProfileDefinitionGrant.js +100 -0
- package/esm/admin/orm/models/orgProfileGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgProfileGrant.js +100 -0
- package/esm/admin/orm/models/orgProfileTemplate.d.ts +54 -0
- package/esm/admin/orm/models/orgProfileTemplate.js +100 -0
- package/esm/admin/orm/query/index.d.ts +33 -33
- package/esm/admin/orm/query/index.js +56 -56
- package/esm/api/orm/index.d.ts +33 -21
- package/esm/api/orm/index.js +20 -8
- package/esm/api/orm/input-types.d.ts +2594 -895
- package/esm/api/orm/input-types.js +19 -4
- package/esm/api/orm/models/api.d.ts +54 -0
- package/esm/api/orm/models/{apis.js → api.js} +25 -25
- package/esm/api/orm/models/app.d.ts +54 -0
- package/esm/api/orm/models/app.js +100 -0
- package/esm/api/orm/models/appComponent.d.ts +54 -0
- package/esm/api/orm/models/appComponent.js +100 -0
- package/esm/api/orm/models/emailIdentity.d.ts +54 -0
- package/esm/api/orm/models/emailIdentity.js +100 -0
- package/esm/api/orm/models/emailProviderAccount.d.ts +54 -0
- package/esm/api/orm/models/emailProviderAccount.js +100 -0
- package/esm/api/orm/models/emailSiteIdentity.d.ts +54 -0
- package/esm/api/orm/models/emailSiteIdentity.js +100 -0
- package/esm/api/orm/models/index.d.ts +10 -4
- package/esm/api/orm/models/index.js +10 -4
- package/esm/api/orm/models/platformApi.d.ts +54 -0
- package/esm/api/orm/models/platformApi.js +100 -0
- package/esm/api/orm/models/platformEmailIdentity.d.ts +54 -0
- package/esm/api/orm/models/platformEmailIdentity.js +100 -0
- package/esm/api/orm/models/platformEmailProviderAccount.d.ts +54 -0
- package/esm/api/orm/models/platformEmailProviderAccount.js +100 -0
- package/esm/api/orm/models/platformEmailSiteIdentity.d.ts +54 -0
- package/esm/api/orm/models/platformEmailSiteIdentity.js +100 -0
- package/esm/api/orm/mutation/index.d.ts +22 -22
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/auth/orm/index.d.ts +10 -0
- package/esm/auth/orm/input-types.d.ts +60 -6
- package/esm/auth/orm/mutation/index.d.ts +17 -1
- package/esm/auth/orm/mutation/index.js +24 -0
- package/esm/compute/orm/index.d.ts +47 -0
- package/esm/compute/orm/index.js +2 -0
- package/esm/compute/orm/input-types.d.ts +470 -48
- package/esm/compute/orm/models/contentPreset.d.ts +54 -0
- package/esm/compute/orm/models/contentPreset.js +100 -0
- package/esm/compute/orm/models/index.d.ts +1 -0
- package/esm/compute/orm/models/index.js +1 -0
- package/esm/compute/orm/mutation/index.d.ts +73 -1
- package/esm/compute/orm/mutation/index.js +108 -0
- package/esm/modules/orm/index.d.ts +16 -50
- package/esm/modules/orm/index.js +16 -5
- package/esm/modules/orm/input-types.d.ts +2317 -774
- package/esm/modules/orm/input-types.js +6 -0
- package/esm/modules/orm/models/capabilitiesModule.d.ts +54 -0
- package/esm/modules/orm/models/capabilitiesModule.js +100 -0
- package/esm/modules/orm/models/contentPresetModule.d.ts +54 -0
- package/esm/modules/orm/models/contentPresetModule.js +100 -0
- package/esm/modules/orm/models/dataCapabilitiesField.d.ts +54 -0
- package/esm/modules/orm/models/dataCapabilitiesField.js +100 -0
- package/esm/modules/orm/models/emailSenderModule.d.ts +54 -0
- package/esm/modules/orm/models/{permissionsModule.js → emailSenderModule.js} +25 -25
- package/esm/modules/orm/models/fileRefField.d.ts +54 -0
- package/esm/modules/orm/models/fileRefField.js +100 -0
- package/esm/modules/orm/models/index.d.ts +8 -1
- package/esm/modules/orm/models/index.js +8 -1
- package/esm/modules/orm/models/oauthRequestsModule.d.ts +54 -0
- package/esm/modules/orm/models/oauthRequestsModule.js +100 -0
- package/esm/modules/orm/models/scopeTypesModule.d.ts +54 -0
- package/esm/modules/orm/models/scopeTypesModule.js +100 -0
- package/esm/modules/orm/models/userSettingsSecurityModule.d.ts +54 -0
- package/esm/modules/orm/models/userSettingsSecurityModule.js +100 -0
- package/esm/modules/orm/mutation/index.d.ts +1 -85
- package/esm/modules/orm/mutation/index.js +0 -84
- package/esm/objects/orm/index.d.ts +15 -0
- package/esm/objects/orm/input-types.d.ts +64 -0
- package/esm/objects/orm/mutation/index.d.ts +25 -1
- package/esm/objects/orm/mutation/index.js +36 -0
- package/esm/usage/orm/index.d.ts +98 -0
- package/esm/usage/orm/index.js +43 -0
- package/esm/usage/orm/input-types.d.ts +3728 -98
- package/esm/usage/orm/input-types.js +10 -0
- package/esm/usage/orm/models/appAchievementReward.d.ts +54 -0
- package/esm/usage/orm/models/appAchievementReward.js +100 -0
- package/esm/usage/orm/models/appEvent.d.ts +56 -0
- package/esm/usage/orm/models/appEvent.js +103 -0
- package/esm/usage/orm/models/appEventAggregate.d.ts +54 -0
- package/esm/usage/orm/models/appEventAggregate.js +100 -0
- package/esm/usage/orm/models/appEventType.d.ts +54 -0
- package/esm/usage/orm/models/appEventType.js +100 -0
- package/esm/usage/orm/models/appLevel.d.ts +54 -0
- package/esm/usage/orm/models/appLevel.js +100 -0
- package/esm/usage/orm/models/appLevelGrant.d.ts +54 -0
- package/esm/{admin/orm/models/appPermission.js → usage/orm/models/appLevelGrant.js} +25 -25
- package/esm/usage/orm/models/appLevelRequirement.d.ts +54 -0
- package/esm/usage/orm/models/appLevelRequirement.js +100 -0
- package/esm/usage/orm/models/billingUsageSummary.d.ts +54 -0
- package/esm/usage/orm/models/billingUsageSummary.js +100 -0
- package/esm/usage/orm/models/index.d.ts +20 -0
- package/esm/usage/orm/models/index.js +20 -0
- package/esm/usage/orm/models/ledger.d.ts +56 -0
- package/esm/usage/orm/models/ledger.js +103 -0
- package/esm/usage/orm/models/meter.d.ts +54 -0
- package/esm/usage/orm/models/meter.js +100 -0
- package/esm/usage/orm/models/meterCredit.d.ts +54 -0
- package/esm/usage/orm/models/meterCredit.js +100 -0
- package/esm/usage/orm/models/meterDefault.d.ts +54 -0
- package/esm/usage/orm/models/meterDefault.js +100 -0
- package/esm/usage/orm/models/meterSource.d.ts +54 -0
- package/esm/usage/orm/models/meterSource.js +100 -0
- package/esm/usage/orm/models/plan.d.ts +54 -0
- package/esm/usage/orm/models/plan.js +100 -0
- package/esm/usage/orm/models/planCap.d.ts +54 -0
- package/esm/usage/orm/models/planCap.js +100 -0
- package/esm/usage/orm/models/planLimit.d.ts +54 -0
- package/esm/usage/orm/models/planLimit.js +100 -0
- package/esm/usage/orm/models/planMeterLimit.d.ts +54 -0
- package/esm/usage/orm/models/planMeterLimit.js +100 -0
- package/esm/usage/orm/models/planOverride.d.ts +54 -0
- package/esm/{api/orm/models/platformApis.js → usage/orm/models/planOverride.js} +25 -25
- package/esm/usage/orm/models/planPricing.d.ts +54 -0
- package/esm/usage/orm/models/planPricing.js +100 -0
- package/esm/usage/orm/models/planSubscription.d.ts +54 -0
- package/esm/usage/orm/models/planSubscription.js +100 -0
- package/esm/usage/orm/mutation/index.d.ts +49 -1
- package/esm/usage/orm/mutation/index.js +72 -0
- package/esm/usage/orm/query/index.d.ts +52 -0
- package/esm/usage/orm/query/index.js +71 -0
- package/modules/orm/index.d.ts +16 -50
- package/modules/orm/index.js +17 -7
- package/modules/orm/input-types.d.ts +2317 -774
- package/modules/orm/input-types.js +6 -0
- package/modules/orm/models/capabilitiesModule.d.ts +54 -0
- package/modules/orm/models/capabilitiesModule.js +104 -0
- package/modules/orm/models/contentPresetModule.d.ts +54 -0
- package/modules/orm/models/contentPresetModule.js +104 -0
- package/modules/orm/models/dataCapabilitiesField.d.ts +54 -0
- package/modules/orm/models/dataCapabilitiesField.js +104 -0
- package/modules/orm/models/emailSenderModule.d.ts +54 -0
- package/modules/orm/models/{permissionsModule.js → emailSenderModule.js} +27 -27
- package/modules/orm/models/fileRefField.d.ts +54 -0
- package/modules/orm/models/fileRefField.js +104 -0
- package/modules/orm/models/index.d.ts +8 -1
- package/modules/orm/models/index.js +18 -4
- package/modules/orm/models/oauthRequestsModule.d.ts +54 -0
- package/modules/orm/models/oauthRequestsModule.js +104 -0
- package/modules/orm/models/scopeTypesModule.d.ts +54 -0
- package/modules/orm/models/scopeTypesModule.js +104 -0
- package/modules/orm/models/userSettingsSecurityModule.d.ts +54 -0
- package/modules/orm/models/userSettingsSecurityModule.js +104 -0
- package/modules/orm/mutation/index.d.ts +1 -85
- package/modules/orm/mutation/index.js +0 -84
- package/objects/orm/index.d.ts +15 -0
- package/objects/orm/input-types.d.ts +64 -0
- package/objects/orm/mutation/index.d.ts +25 -1
- package/objects/orm/mutation/index.js +36 -0
- package/package.json +2 -2
- package/usage/orm/index.d.ts +98 -0
- package/usage/orm/index.js +45 -1
- package/usage/orm/input-types.d.ts +3728 -98
- package/usage/orm/input-types.js +10 -0
- package/usage/orm/models/appAchievementReward.d.ts +54 -0
- package/usage/orm/models/appAchievementReward.js +104 -0
- package/usage/orm/models/appEvent.d.ts +56 -0
- package/usage/orm/models/appEvent.js +107 -0
- package/usage/orm/models/appEventAggregate.d.ts +54 -0
- package/usage/orm/models/appEventAggregate.js +104 -0
- package/usage/orm/models/appEventType.d.ts +54 -0
- package/usage/orm/models/appEventType.js +104 -0
- package/usage/orm/models/appLevel.d.ts +54 -0
- package/usage/orm/models/appLevel.js +104 -0
- package/usage/orm/models/appLevelGrant.d.ts +54 -0
- package/{admin/orm/models/orgPermission.js → usage/orm/models/appLevelGrant.js} +27 -27
- package/usage/orm/models/appLevelRequirement.d.ts +54 -0
- package/usage/orm/models/appLevelRequirement.js +104 -0
- package/usage/orm/models/billingUsageSummary.d.ts +54 -0
- package/usage/orm/models/billingUsageSummary.js +104 -0
- package/usage/orm/models/index.d.ts +20 -0
- package/usage/orm/models/index.js +41 -1
- package/usage/orm/models/ledger.d.ts +56 -0
- package/usage/orm/models/ledger.js +107 -0
- package/usage/orm/models/meter.d.ts +54 -0
- package/usage/orm/models/meter.js +104 -0
- package/usage/orm/models/meterCredit.d.ts +54 -0
- package/usage/orm/models/meterCredit.js +104 -0
- package/usage/orm/models/meterDefault.d.ts +54 -0
- package/usage/orm/models/meterDefault.js +104 -0
- package/usage/orm/models/meterSource.d.ts +54 -0
- package/usage/orm/models/meterSource.js +104 -0
- package/usage/orm/models/plan.d.ts +54 -0
- package/{api/orm/models/apis.js → usage/orm/models/plan.js} +27 -27
- package/usage/orm/models/planCap.d.ts +54 -0
- package/usage/orm/models/planCap.js +104 -0
- package/usage/orm/models/planLimit.d.ts +54 -0
- package/usage/orm/models/planLimit.js +104 -0
- package/usage/orm/models/planMeterLimit.d.ts +54 -0
- package/usage/orm/models/planMeterLimit.js +104 -0
- package/usage/orm/models/planOverride.d.ts +54 -0
- package/usage/orm/models/planOverride.js +104 -0
- package/usage/orm/models/planPricing.d.ts +54 -0
- package/usage/orm/models/planPricing.js +104 -0
- package/usage/orm/models/planSubscription.d.ts +54 -0
- package/usage/orm/models/planSubscription.js +104 -0
- package/usage/orm/mutation/index.d.ts +49 -1
- package/usage/orm/mutation/index.js +72 -0
- package/usage/orm/query/index.d.ts +52 -0
- package/usage/orm/query/index.js +74 -0
- package/admin/orm/models/appPermission.d.ts +0 -54
- package/admin/orm/models/appPermissionDefault.d.ts +0 -54
- package/admin/orm/models/appPermissionDefaultGrant.d.ts +0 -54
- package/admin/orm/models/appPermissionDefaultPermission.d.ts +0 -54
- package/admin/orm/models/orgPermission.d.ts +0 -54
- package/admin/orm/models/orgPermissionDefault.d.ts +0 -54
- package/admin/orm/models/orgPermissionDefaultGrant.d.ts +0 -54
- package/admin/orm/models/orgPermissionDefaultPermission.d.ts +0 -54
- package/api/orm/models/apis.d.ts +0 -54
- package/api/orm/models/astMigration.d.ts +0 -36
- package/api/orm/models/astMigration.js +0 -80
- package/api/orm/models/platformApis.d.ts +0 -54
- package/api/orm/models/sqlAction.d.ts +0 -36
- package/api/orm/models/sqlAction.js +0 -80
- package/esm/admin/orm/models/appPermission.d.ts +0 -54
- package/esm/admin/orm/models/appPermissionDefault.d.ts +0 -54
- package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +0 -54
- package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +0 -54
- package/esm/admin/orm/models/orgPermission.d.ts +0 -54
- package/esm/admin/orm/models/orgPermissionDefault.d.ts +0 -54
- package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +0 -54
- package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +0 -54
- package/esm/api/orm/models/apis.d.ts +0 -54
- package/esm/api/orm/models/astMigration.d.ts +0 -36
- package/esm/api/orm/models/astMigration.js +0 -76
- package/esm/api/orm/models/platformApis.d.ts +0 -54
- package/esm/api/orm/models/sqlAction.d.ts +0 -36
- package/esm/api/orm/models/sqlAction.js +0 -76
- package/esm/modules/orm/models/permissionsModule.d.ts +0 -54
- package/esm/modules/orm/query/index.d.ts +0 -39
- package/esm/modules/orm/query/index.js +0 -54
- package/modules/orm/models/permissionsModule.d.ts +0 -54
- package/modules/orm/query/index.d.ts +0 -39
- package/modules/orm/query/index.js +0 -57
|
@@ -7,6 +7,9 @@ export const connectionFieldsMap = {
|
|
|
7
7
|
blueprintTemplatesByForkedFromId: 'BlueprintTemplate',
|
|
8
8
|
blueprintsByTemplateId: 'Blueprint',
|
|
9
9
|
},
|
|
10
|
+
CapabilitiesModule: {
|
|
11
|
+
dataCapabilitiesFields: 'DataCapabilitiesField',
|
|
12
|
+
},
|
|
10
13
|
CatalogModule: {
|
|
11
14
|
apiSurfaceModules: 'ApiSurfaceModule',
|
|
12
15
|
appModules: 'AppModule',
|
|
@@ -32,6 +35,7 @@ export const connectionFieldsMap = {
|
|
|
32
35
|
webhookModules: 'WebhookModule',
|
|
33
36
|
},
|
|
34
37
|
MerkleStoreModule: {
|
|
38
|
+
contentPresetModules: 'ContentPresetModule',
|
|
35
39
|
dbPresetModules: 'DbPresetModule',
|
|
36
40
|
graphModules: 'GraphModule',
|
|
37
41
|
pagesModules: 'PagesModule',
|
|
@@ -46,9 +50,11 @@ export const connectionFieldsMap = {
|
|
|
46
50
|
httpRouteModules: 'HttpRouteModule',
|
|
47
51
|
},
|
|
48
52
|
SiteSurfaceModule: {
|
|
53
|
+
emailSenderModules: 'EmailSenderModule',
|
|
49
54
|
pagesModules: 'PagesModule',
|
|
50
55
|
},
|
|
51
56
|
StorageModule: {
|
|
57
|
+
fileRefFields: 'FileRefField',
|
|
52
58
|
httpRouteModules: 'HttpRouteModule',
|
|
53
59
|
},
|
|
54
60
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CapabilitiesModule 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 { CapabilitiesModuleWithRelations, CapabilitiesModuleSelect, CapabilitiesModuleFilter, CapabilitiesModuleOrderBy, CreateCapabilitiesModuleInput, CapabilitiesModulePatch } from '../input-types';
|
|
10
|
+
export declare class CapabilitiesModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends CapabilitiesModuleSelect>(args: FindManyArgs<S, CapabilitiesModuleFilter, CapabilitiesModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, CapabilitiesModuleSelect>): QueryBuilder<{
|
|
16
|
+
capabilitiesModules: ConnectionResult<InferSelectResult<CapabilitiesModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends CapabilitiesModuleSelect>(args: FindFirstArgs<S, CapabilitiesModuleFilter, CapabilitiesModuleOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, CapabilitiesModuleSelect>): QueryBuilder<{
|
|
21
|
+
capabilitiesModule: InferSelectResult<CapabilitiesModuleWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends CapabilitiesModuleSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, CapabilitiesModuleSelect>): QueryBuilder<{
|
|
27
|
+
capabilitiesModule: InferSelectResult<CapabilitiesModuleWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends CapabilitiesModuleSelect>(args: CreateArgs<S, CreateCapabilitiesModuleInput['capabilitiesModule']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, CapabilitiesModuleSelect>): QueryBuilder<{
|
|
32
|
+
createCapabilitiesModule: {
|
|
33
|
+
capabilitiesModule: InferSelectResult<CapabilitiesModuleWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends CapabilitiesModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, CapabilitiesModulePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, CapabilitiesModuleSelect>): QueryBuilder<{
|
|
41
|
+
updateCapabilitiesModule: {
|
|
42
|
+
capabilitiesModule: InferSelectResult<CapabilitiesModuleWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends CapabilitiesModuleSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, CapabilitiesModuleSelect>): QueryBuilder<{
|
|
50
|
+
deleteCapabilitiesModule: {
|
|
51
|
+
capabilitiesModule: InferSelectResult<CapabilitiesModuleWithRelations, 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 CapabilitiesModuleModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('CapabilitiesModule', 'capabilitiesModules', 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
|
+
}, 'CapabilitiesModuleFilter', 'CapabilitiesModuleOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'CapabilitiesModule',
|
|
22
|
+
fieldName: 'capabilitiesModules',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('CapabilitiesModule', 'capabilitiesModules', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'CapabilitiesModuleFilter', 'CapabilitiesModuleOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'CapabilitiesModule',
|
|
36
|
+
fieldName: 'capabilitiesModule',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
capabilitiesModule: data.capabilitiesModules?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('CapabilitiesModule', 'capabilitiesModules', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'CapabilitiesModuleFilter', 'CapabilitiesModuleOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'CapabilitiesModule',
|
|
57
|
+
fieldName: 'capabilitiesModule',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
capabilitiesModule: data.capabilitiesModules?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('CapabilitiesModule', 'createCapabilitiesModule', 'capabilitiesModule', args.select, args.data, 'CreateCapabilitiesModuleInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'CapabilitiesModule',
|
|
71
|
+
fieldName: 'createCapabilitiesModule',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('CapabilitiesModule', 'updateCapabilitiesModule', 'capabilitiesModule', args.select, args.where.id, args.data, 'UpdateCapabilitiesModuleInput', 'id', 'capabilitiesModulePatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'CapabilitiesModule',
|
|
82
|
+
fieldName: 'updateCapabilitiesModule',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('CapabilitiesModule', 'deleteCapabilitiesModule', 'capabilitiesModule', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeleteCapabilitiesModuleInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'CapabilitiesModule',
|
|
95
|
+
fieldName: 'deleteCapabilitiesModule',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ContentPresetModule 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 { ContentPresetModuleWithRelations, ContentPresetModuleSelect, ContentPresetModuleFilter, ContentPresetModuleOrderBy, CreateContentPresetModuleInput, ContentPresetModulePatch } from '../input-types';
|
|
10
|
+
export declare class ContentPresetModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ContentPresetModuleSelect>(args: FindManyArgs<S, ContentPresetModuleFilter, ContentPresetModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ContentPresetModuleSelect>): QueryBuilder<{
|
|
16
|
+
contentPresetModules: ConnectionResult<InferSelectResult<ContentPresetModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ContentPresetModuleSelect>(args: FindFirstArgs<S, ContentPresetModuleFilter, ContentPresetModuleOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ContentPresetModuleSelect>): QueryBuilder<{
|
|
21
|
+
contentPresetModule: InferSelectResult<ContentPresetModuleWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends ContentPresetModuleSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, ContentPresetModuleSelect>): QueryBuilder<{
|
|
27
|
+
contentPresetModule: InferSelectResult<ContentPresetModuleWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends ContentPresetModuleSelect>(args: CreateArgs<S, CreateContentPresetModuleInput['contentPresetModule']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, ContentPresetModuleSelect>): QueryBuilder<{
|
|
32
|
+
createContentPresetModule: {
|
|
33
|
+
contentPresetModule: InferSelectResult<ContentPresetModuleWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends ContentPresetModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, ContentPresetModulePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, ContentPresetModuleSelect>): QueryBuilder<{
|
|
41
|
+
updateContentPresetModule: {
|
|
42
|
+
contentPresetModule: InferSelectResult<ContentPresetModuleWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends ContentPresetModuleSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, ContentPresetModuleSelect>): QueryBuilder<{
|
|
50
|
+
deleteContentPresetModule: {
|
|
51
|
+
contentPresetModule: InferSelectResult<ContentPresetModuleWithRelations, 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 ContentPresetModuleModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('ContentPresetModule', 'contentPresetModules', 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
|
+
}, 'ContentPresetModuleFilter', 'ContentPresetModuleOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'ContentPresetModule',
|
|
22
|
+
fieldName: 'contentPresetModules',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('ContentPresetModule', 'contentPresetModules', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'ContentPresetModuleFilter', 'ContentPresetModuleOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'ContentPresetModule',
|
|
36
|
+
fieldName: 'contentPresetModule',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
contentPresetModule: data.contentPresetModules?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('ContentPresetModule', 'contentPresetModules', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'ContentPresetModuleFilter', 'ContentPresetModuleOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'ContentPresetModule',
|
|
57
|
+
fieldName: 'contentPresetModule',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
contentPresetModule: data.contentPresetModules?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('ContentPresetModule', 'createContentPresetModule', 'contentPresetModule', args.select, args.data, 'CreateContentPresetModuleInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'ContentPresetModule',
|
|
71
|
+
fieldName: 'createContentPresetModule',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('ContentPresetModule', 'updateContentPresetModule', 'contentPresetModule', args.select, args.where.id, args.data, 'UpdateContentPresetModuleInput', 'id', 'contentPresetModulePatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'ContentPresetModule',
|
|
82
|
+
fieldName: 'updateContentPresetModule',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('ContentPresetModule', 'deleteContentPresetModule', 'contentPresetModule', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeleteContentPresetModuleInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'ContentPresetModule',
|
|
95
|
+
fieldName: 'deleteContentPresetModule',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DataCapabilitiesField 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 { DataCapabilitiesFieldWithRelations, DataCapabilitiesFieldSelect, DataCapabilitiesFieldFilter, DataCapabilitiesFieldOrderBy, CreateDataCapabilitiesFieldInput, DataCapabilitiesFieldPatch } from '../input-types';
|
|
10
|
+
export declare class DataCapabilitiesFieldModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends DataCapabilitiesFieldSelect>(args: FindManyArgs<S, DataCapabilitiesFieldFilter, DataCapabilitiesFieldOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, DataCapabilitiesFieldSelect>): QueryBuilder<{
|
|
16
|
+
dataCapabilitiesFields: ConnectionResult<InferSelectResult<DataCapabilitiesFieldWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends DataCapabilitiesFieldSelect>(args: FindFirstArgs<S, DataCapabilitiesFieldFilter, DataCapabilitiesFieldOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, DataCapabilitiesFieldSelect>): QueryBuilder<{
|
|
21
|
+
dataCapabilitiesField: InferSelectResult<DataCapabilitiesFieldWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends DataCapabilitiesFieldSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, DataCapabilitiesFieldSelect>): QueryBuilder<{
|
|
27
|
+
dataCapabilitiesField: InferSelectResult<DataCapabilitiesFieldWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends DataCapabilitiesFieldSelect>(args: CreateArgs<S, CreateDataCapabilitiesFieldInput['dataCapabilitiesField']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, DataCapabilitiesFieldSelect>): QueryBuilder<{
|
|
32
|
+
createDataCapabilitiesField: {
|
|
33
|
+
dataCapabilitiesField: InferSelectResult<DataCapabilitiesFieldWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends DataCapabilitiesFieldSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, DataCapabilitiesFieldPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, DataCapabilitiesFieldSelect>): QueryBuilder<{
|
|
41
|
+
updateDataCapabilitiesField: {
|
|
42
|
+
dataCapabilitiesField: InferSelectResult<DataCapabilitiesFieldWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends DataCapabilitiesFieldSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, DataCapabilitiesFieldSelect>): QueryBuilder<{
|
|
50
|
+
deleteDataCapabilitiesField: {
|
|
51
|
+
dataCapabilitiesField: InferSelectResult<DataCapabilitiesFieldWithRelations, 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 DataCapabilitiesFieldModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('DataCapabilitiesField', 'dataCapabilitiesFields', 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
|
+
}, 'DataCapabilitiesFieldFilter', 'DataCapabilitiesFieldOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'DataCapabilitiesField',
|
|
22
|
+
fieldName: 'dataCapabilitiesFields',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('DataCapabilitiesField', 'dataCapabilitiesFields', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'DataCapabilitiesFieldFilter', 'DataCapabilitiesFieldOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'DataCapabilitiesField',
|
|
36
|
+
fieldName: 'dataCapabilitiesField',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
dataCapabilitiesField: data.dataCapabilitiesFields?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('DataCapabilitiesField', 'dataCapabilitiesFields', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'DataCapabilitiesFieldFilter', 'DataCapabilitiesFieldOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'DataCapabilitiesField',
|
|
57
|
+
fieldName: 'dataCapabilitiesField',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
dataCapabilitiesField: data.dataCapabilitiesFields?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('DataCapabilitiesField', 'createDataCapabilitiesField', 'dataCapabilitiesField', args.select, args.data, 'CreateDataCapabilitiesFieldInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'DataCapabilitiesField',
|
|
71
|
+
fieldName: 'createDataCapabilitiesField',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('DataCapabilitiesField', 'updateDataCapabilitiesField', 'dataCapabilitiesField', args.select, args.where.id, args.data, 'UpdateDataCapabilitiesFieldInput', 'id', 'dataCapabilitiesFieldPatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'DataCapabilitiesField',
|
|
82
|
+
fieldName: 'updateDataCapabilitiesField',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('DataCapabilitiesField', 'deleteDataCapabilitiesField', 'dataCapabilitiesField', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeleteDataCapabilitiesFieldInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'DataCapabilitiesField',
|
|
95
|
+
fieldName: 'deleteDataCapabilitiesField',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EmailSenderModule 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 { EmailSenderModuleWithRelations, EmailSenderModuleSelect, EmailSenderModuleFilter, EmailSenderModuleOrderBy, CreateEmailSenderModuleInput, EmailSenderModulePatch } from '../input-types';
|
|
10
|
+
export declare class EmailSenderModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends EmailSenderModuleSelect>(args: FindManyArgs<S, EmailSenderModuleFilter, EmailSenderModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, EmailSenderModuleSelect>): QueryBuilder<{
|
|
16
|
+
emailSenderModules: ConnectionResult<InferSelectResult<EmailSenderModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends EmailSenderModuleSelect>(args: FindFirstArgs<S, EmailSenderModuleFilter, EmailSenderModuleOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, EmailSenderModuleSelect>): QueryBuilder<{
|
|
21
|
+
emailSenderModule: InferSelectResult<EmailSenderModuleWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends EmailSenderModuleSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, EmailSenderModuleSelect>): QueryBuilder<{
|
|
27
|
+
emailSenderModule: InferSelectResult<EmailSenderModuleWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends EmailSenderModuleSelect>(args: CreateArgs<S, CreateEmailSenderModuleInput['emailSenderModule']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, EmailSenderModuleSelect>): QueryBuilder<{
|
|
32
|
+
createEmailSenderModule: {
|
|
33
|
+
emailSenderModule: InferSelectResult<EmailSenderModuleWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends EmailSenderModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, EmailSenderModulePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, EmailSenderModuleSelect>): QueryBuilder<{
|
|
41
|
+
updateEmailSenderModule: {
|
|
42
|
+
emailSenderModule: InferSelectResult<EmailSenderModuleWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends EmailSenderModuleSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, EmailSenderModuleSelect>): QueryBuilder<{
|
|
50
|
+
deleteEmailSenderModule: {
|
|
51
|
+
emailSenderModule: InferSelectResult<EmailSenderModuleWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|