@constructive-io/sdk 1.11.9 → 1.11.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/admin/orm/index.d.ts +58 -34
  2. package/admin/orm/index.js +40 -16
  3. package/admin/orm/input-types.d.ts +3824 -943
  4. package/admin/orm/input-types.js +33 -5
  5. package/admin/orm/models/appCapability.d.ts +54 -0
  6. package/admin/orm/models/appCapability.js +104 -0
  7. package/admin/orm/models/appCapabilityDefault.d.ts +54 -0
  8. package/admin/orm/models/{orgPermissionDefault.js → appCapabilityDefault.js} +27 -27
  9. package/admin/orm/models/appCapabilityDefaultCapability.d.ts +54 -0
  10. package/admin/orm/models/{orgPermissionDefaultPermission.js → appCapabilityDefaultCapability.js} +27 -27
  11. package/admin/orm/models/appCapabilityDefaultGrant.d.ts +54 -0
  12. package/admin/orm/models/{appPermissionDefaultGrant.js → appCapabilityDefaultGrant.js} +27 -27
  13. package/admin/orm/models/appMembershipProfile.d.ts +54 -0
  14. package/admin/orm/models/appMembershipProfile.js +104 -0
  15. package/admin/orm/models/appProfile.d.ts +54 -0
  16. package/admin/orm/models/appProfile.js +104 -0
  17. package/admin/orm/models/appProfileCapability.d.ts +54 -0
  18. package/admin/orm/models/appProfileCapability.js +104 -0
  19. package/admin/orm/models/appProfileDefinitionGrant.d.ts +54 -0
  20. package/admin/orm/models/appProfileDefinitionGrant.js +104 -0
  21. package/admin/orm/models/appProfileGrant.d.ts +54 -0
  22. package/admin/orm/models/appProfileGrant.js +104 -0
  23. package/admin/orm/models/appProfileTemplate.d.ts +54 -0
  24. package/admin/orm/models/appProfileTemplate.js +104 -0
  25. package/admin/orm/models/index.d.ts +20 -8
  26. package/admin/orm/models/index.js +41 -17
  27. package/admin/orm/models/orgCapability.d.ts +54 -0
  28. package/admin/orm/models/orgCapability.js +104 -0
  29. package/admin/orm/models/orgCapabilityDefault.d.ts +54 -0
  30. package/admin/orm/models/{appPermissionDefault.js → orgCapabilityDefault.js} +27 -27
  31. package/admin/orm/models/orgCapabilityDefaultCapability.d.ts +54 -0
  32. package/admin/orm/models/{appPermissionDefaultPermission.js → orgCapabilityDefaultCapability.js} +27 -27
  33. package/admin/orm/models/orgCapabilityDefaultGrant.d.ts +54 -0
  34. package/admin/orm/models/{orgPermissionDefaultGrant.js → orgCapabilityDefaultGrant.js} +27 -27
  35. package/admin/orm/models/orgMembershipProfile.d.ts +54 -0
  36. package/admin/orm/models/orgMembershipProfile.js +104 -0
  37. package/admin/orm/models/orgProfile.d.ts +54 -0
  38. package/admin/orm/models/orgProfile.js +104 -0
  39. package/admin/orm/models/orgProfileCapability.d.ts +54 -0
  40. package/admin/orm/models/orgProfileCapability.js +104 -0
  41. package/admin/orm/models/orgProfileDefinitionGrant.d.ts +54 -0
  42. package/admin/orm/models/orgProfileDefinitionGrant.js +104 -0
  43. package/admin/orm/models/orgProfileGrant.d.ts +54 -0
  44. package/admin/orm/models/orgProfileGrant.js +104 -0
  45. package/admin/orm/models/orgProfileTemplate.d.ts +54 -0
  46. package/admin/orm/models/orgProfileTemplate.js +104 -0
  47. package/admin/orm/query/index.d.ts +33 -33
  48. package/admin/orm/query/index.js +56 -56
  49. package/api/orm/index.d.ts +33 -21
  50. package/api/orm/index.js +20 -8
  51. package/api/orm/input-types.d.ts +2594 -895
  52. package/api/orm/input-types.js +19 -4
  53. package/api/orm/models/api.d.ts +54 -0
  54. package/api/orm/models/api.js +104 -0
  55. package/api/orm/models/app.d.ts +54 -0
  56. package/api/orm/models/app.js +104 -0
  57. package/api/orm/models/appComponent.d.ts +54 -0
  58. package/api/orm/models/{platformApis.js → appComponent.js} +27 -27
  59. package/api/orm/models/emailIdentity.d.ts +54 -0
  60. package/api/orm/models/emailIdentity.js +104 -0
  61. package/api/orm/models/emailProviderAccount.d.ts +54 -0
  62. package/api/orm/models/emailProviderAccount.js +104 -0
  63. package/api/orm/models/emailSiteIdentity.d.ts +54 -0
  64. package/api/orm/models/emailSiteIdentity.js +104 -0
  65. package/api/orm/models/index.d.ts +10 -4
  66. package/api/orm/models/index.js +22 -10
  67. package/api/orm/models/platformApi.d.ts +54 -0
  68. package/api/orm/models/platformApi.js +104 -0
  69. package/api/orm/models/platformEmailIdentity.d.ts +54 -0
  70. package/api/orm/models/platformEmailIdentity.js +104 -0
  71. package/api/orm/models/platformEmailProviderAccount.d.ts +54 -0
  72. package/api/orm/models/platformEmailProviderAccount.js +104 -0
  73. package/api/orm/models/platformEmailSiteIdentity.d.ts +54 -0
  74. package/api/orm/models/platformEmailSiteIdentity.js +104 -0
  75. package/api/orm/mutation/index.d.ts +22 -22
  76. package/api/orm/mutation/index.js +30 -30
  77. package/auth/orm/index.d.ts +10 -0
  78. package/auth/orm/input-types.d.ts +60 -6
  79. package/auth/orm/mutation/index.d.ts +17 -1
  80. package/auth/orm/mutation/index.js +24 -0
  81. package/compute/orm/index.d.ts +47 -0
  82. package/compute/orm/index.js +2 -0
  83. package/compute/orm/input-types.d.ts +470 -48
  84. package/compute/orm/models/contentPreset.d.ts +54 -0
  85. package/{admin/orm/models/appPermission.js → compute/orm/models/contentPreset.js} +27 -27
  86. package/compute/orm/models/index.d.ts +1 -0
  87. package/compute/orm/models/index.js +4 -2
  88. package/compute/orm/mutation/index.d.ts +73 -1
  89. package/compute/orm/mutation/index.js +108 -0
  90. package/esm/admin/orm/index.d.ts +58 -34
  91. package/esm/admin/orm/index.js +40 -16
  92. package/esm/admin/orm/input-types.d.ts +3824 -943
  93. package/esm/admin/orm/input-types.js +33 -5
  94. package/esm/admin/orm/models/appCapability.d.ts +54 -0
  95. package/esm/admin/orm/models/appCapability.js +100 -0
  96. package/esm/admin/orm/models/appCapabilityDefault.d.ts +54 -0
  97. package/esm/admin/orm/models/{appPermissionDefault.js → appCapabilityDefault.js} +25 -25
  98. package/esm/admin/orm/models/appCapabilityDefaultCapability.d.ts +54 -0
  99. package/esm/admin/orm/models/{appPermissionDefaultPermission.js → appCapabilityDefaultCapability.js} +25 -25
  100. package/esm/admin/orm/models/appCapabilityDefaultGrant.d.ts +54 -0
  101. package/esm/admin/orm/models/{appPermissionDefaultGrant.js → appCapabilityDefaultGrant.js} +25 -25
  102. package/esm/admin/orm/models/appMembershipProfile.d.ts +54 -0
  103. package/esm/admin/orm/models/appMembershipProfile.js +100 -0
  104. package/esm/admin/orm/models/appProfile.d.ts +54 -0
  105. package/esm/admin/orm/models/appProfile.js +100 -0
  106. package/esm/admin/orm/models/appProfileCapability.d.ts +54 -0
  107. package/esm/admin/orm/models/appProfileCapability.js +100 -0
  108. package/esm/admin/orm/models/appProfileDefinitionGrant.d.ts +54 -0
  109. package/esm/admin/orm/models/appProfileDefinitionGrant.js +100 -0
  110. package/esm/admin/orm/models/appProfileGrant.d.ts +54 -0
  111. package/esm/admin/orm/models/appProfileGrant.js +100 -0
  112. package/esm/admin/orm/models/appProfileTemplate.d.ts +54 -0
  113. package/esm/admin/orm/models/appProfileTemplate.js +100 -0
  114. package/esm/admin/orm/models/index.d.ts +20 -8
  115. package/esm/admin/orm/models/index.js +20 -8
  116. package/esm/admin/orm/models/orgCapability.d.ts +54 -0
  117. package/esm/admin/orm/models/{orgPermission.js → orgCapability.js} +25 -25
  118. package/esm/admin/orm/models/orgCapabilityDefault.d.ts +54 -0
  119. package/esm/admin/orm/models/{orgPermissionDefault.js → orgCapabilityDefault.js} +25 -25
  120. package/esm/admin/orm/models/orgCapabilityDefaultCapability.d.ts +54 -0
  121. package/esm/admin/orm/models/{orgPermissionDefaultPermission.js → orgCapabilityDefaultCapability.js} +25 -25
  122. package/esm/admin/orm/models/orgCapabilityDefaultGrant.d.ts +54 -0
  123. package/esm/admin/orm/models/{orgPermissionDefaultGrant.js → orgCapabilityDefaultGrant.js} +25 -25
  124. package/esm/admin/orm/models/orgMembershipProfile.d.ts +54 -0
  125. package/esm/admin/orm/models/orgMembershipProfile.js +100 -0
  126. package/esm/admin/orm/models/orgProfile.d.ts +54 -0
  127. package/esm/admin/orm/models/orgProfile.js +100 -0
  128. package/esm/admin/orm/models/orgProfileCapability.d.ts +54 -0
  129. package/esm/admin/orm/models/orgProfileCapability.js +100 -0
  130. package/esm/admin/orm/models/orgProfileDefinitionGrant.d.ts +54 -0
  131. package/esm/admin/orm/models/orgProfileDefinitionGrant.js +100 -0
  132. package/esm/admin/orm/models/orgProfileGrant.d.ts +54 -0
  133. package/esm/admin/orm/models/orgProfileGrant.js +100 -0
  134. package/esm/admin/orm/models/orgProfileTemplate.d.ts +54 -0
  135. package/esm/admin/orm/models/orgProfileTemplate.js +100 -0
  136. package/esm/admin/orm/query/index.d.ts +33 -33
  137. package/esm/admin/orm/query/index.js +56 -56
  138. package/esm/api/orm/index.d.ts +33 -21
  139. package/esm/api/orm/index.js +20 -8
  140. package/esm/api/orm/input-types.d.ts +2594 -895
  141. package/esm/api/orm/input-types.js +19 -4
  142. package/esm/api/orm/models/api.d.ts +54 -0
  143. package/esm/api/orm/models/{apis.js → api.js} +25 -25
  144. package/esm/api/orm/models/app.d.ts +54 -0
  145. package/esm/api/orm/models/app.js +100 -0
  146. package/esm/api/orm/models/appComponent.d.ts +54 -0
  147. package/esm/api/orm/models/appComponent.js +100 -0
  148. package/esm/api/orm/models/emailIdentity.d.ts +54 -0
  149. package/esm/api/orm/models/emailIdentity.js +100 -0
  150. package/esm/api/orm/models/emailProviderAccount.d.ts +54 -0
  151. package/esm/api/orm/models/emailProviderAccount.js +100 -0
  152. package/esm/api/orm/models/emailSiteIdentity.d.ts +54 -0
  153. package/esm/api/orm/models/emailSiteIdentity.js +100 -0
  154. package/esm/api/orm/models/index.d.ts +10 -4
  155. package/esm/api/orm/models/index.js +10 -4
  156. package/esm/api/orm/models/platformApi.d.ts +54 -0
  157. package/esm/api/orm/models/platformApi.js +100 -0
  158. package/esm/api/orm/models/platformEmailIdentity.d.ts +54 -0
  159. package/esm/api/orm/models/platformEmailIdentity.js +100 -0
  160. package/esm/api/orm/models/platformEmailProviderAccount.d.ts +54 -0
  161. package/esm/api/orm/models/platformEmailProviderAccount.js +100 -0
  162. package/esm/api/orm/models/platformEmailSiteIdentity.d.ts +54 -0
  163. package/esm/api/orm/models/platformEmailSiteIdentity.js +100 -0
  164. package/esm/api/orm/mutation/index.d.ts +22 -22
  165. package/esm/api/orm/mutation/index.js +30 -30
  166. package/esm/auth/orm/index.d.ts +10 -0
  167. package/esm/auth/orm/input-types.d.ts +60 -6
  168. package/esm/auth/orm/mutation/index.d.ts +17 -1
  169. package/esm/auth/orm/mutation/index.js +24 -0
  170. package/esm/compute/orm/index.d.ts +47 -0
  171. package/esm/compute/orm/index.js +2 -0
  172. package/esm/compute/orm/input-types.d.ts +470 -48
  173. package/esm/compute/orm/models/contentPreset.d.ts +54 -0
  174. package/esm/compute/orm/models/contentPreset.js +100 -0
  175. package/esm/compute/orm/models/index.d.ts +1 -0
  176. package/esm/compute/orm/models/index.js +1 -0
  177. package/esm/compute/orm/mutation/index.d.ts +73 -1
  178. package/esm/compute/orm/mutation/index.js +108 -0
  179. package/esm/modules/orm/index.d.ts +16 -50
  180. package/esm/modules/orm/index.js +16 -5
  181. package/esm/modules/orm/input-types.d.ts +2317 -774
  182. package/esm/modules/orm/input-types.js +6 -0
  183. package/esm/modules/orm/models/capabilitiesModule.d.ts +54 -0
  184. package/esm/modules/orm/models/capabilitiesModule.js +100 -0
  185. package/esm/modules/orm/models/contentPresetModule.d.ts +54 -0
  186. package/esm/modules/orm/models/contentPresetModule.js +100 -0
  187. package/esm/modules/orm/models/dataCapabilitiesField.d.ts +54 -0
  188. package/esm/modules/orm/models/dataCapabilitiesField.js +100 -0
  189. package/esm/modules/orm/models/emailSenderModule.d.ts +54 -0
  190. package/esm/modules/orm/models/{permissionsModule.js → emailSenderModule.js} +25 -25
  191. package/esm/modules/orm/models/fileRefField.d.ts +54 -0
  192. package/esm/modules/orm/models/fileRefField.js +100 -0
  193. package/esm/modules/orm/models/index.d.ts +8 -1
  194. package/esm/modules/orm/models/index.js +8 -1
  195. package/esm/modules/orm/models/oauthRequestsModule.d.ts +54 -0
  196. package/esm/modules/orm/models/oauthRequestsModule.js +100 -0
  197. package/esm/modules/orm/models/scopeTypesModule.d.ts +54 -0
  198. package/esm/modules/orm/models/scopeTypesModule.js +100 -0
  199. package/esm/modules/orm/models/userSettingsSecurityModule.d.ts +54 -0
  200. package/esm/modules/orm/models/userSettingsSecurityModule.js +100 -0
  201. package/esm/modules/orm/mutation/index.d.ts +1 -85
  202. package/esm/modules/orm/mutation/index.js +0 -84
  203. package/esm/objects/orm/index.d.ts +15 -0
  204. package/esm/objects/orm/input-types.d.ts +64 -0
  205. package/esm/objects/orm/mutation/index.d.ts +25 -1
  206. package/esm/objects/orm/mutation/index.js +36 -0
  207. package/esm/usage/orm/index.d.ts +98 -0
  208. package/esm/usage/orm/index.js +43 -0
  209. package/esm/usage/orm/input-types.d.ts +3728 -98
  210. package/esm/usage/orm/input-types.js +10 -0
  211. package/esm/usage/orm/models/appAchievementReward.d.ts +54 -0
  212. package/esm/usage/orm/models/appAchievementReward.js +100 -0
  213. package/esm/usage/orm/models/appEvent.d.ts +56 -0
  214. package/esm/usage/orm/models/appEvent.js +103 -0
  215. package/esm/usage/orm/models/appEventAggregate.d.ts +54 -0
  216. package/esm/usage/orm/models/appEventAggregate.js +100 -0
  217. package/esm/usage/orm/models/appEventType.d.ts +54 -0
  218. package/esm/usage/orm/models/appEventType.js +100 -0
  219. package/esm/usage/orm/models/appLevel.d.ts +54 -0
  220. package/esm/usage/orm/models/appLevel.js +100 -0
  221. package/esm/usage/orm/models/appLevelGrant.d.ts +54 -0
  222. package/esm/{admin/orm/models/appPermission.js → usage/orm/models/appLevelGrant.js} +25 -25
  223. package/esm/usage/orm/models/appLevelRequirement.d.ts +54 -0
  224. package/esm/usage/orm/models/appLevelRequirement.js +100 -0
  225. package/esm/usage/orm/models/billingUsageSummary.d.ts +54 -0
  226. package/esm/usage/orm/models/billingUsageSummary.js +100 -0
  227. package/esm/usage/orm/models/index.d.ts +20 -0
  228. package/esm/usage/orm/models/index.js +20 -0
  229. package/esm/usage/orm/models/ledger.d.ts +56 -0
  230. package/esm/usage/orm/models/ledger.js +103 -0
  231. package/esm/usage/orm/models/meter.d.ts +54 -0
  232. package/esm/usage/orm/models/meter.js +100 -0
  233. package/esm/usage/orm/models/meterCredit.d.ts +54 -0
  234. package/esm/usage/orm/models/meterCredit.js +100 -0
  235. package/esm/usage/orm/models/meterDefault.d.ts +54 -0
  236. package/esm/usage/orm/models/meterDefault.js +100 -0
  237. package/esm/usage/orm/models/meterSource.d.ts +54 -0
  238. package/esm/usage/orm/models/meterSource.js +100 -0
  239. package/esm/usage/orm/models/plan.d.ts +54 -0
  240. package/esm/usage/orm/models/plan.js +100 -0
  241. package/esm/usage/orm/models/planCap.d.ts +54 -0
  242. package/esm/usage/orm/models/planCap.js +100 -0
  243. package/esm/usage/orm/models/planLimit.d.ts +54 -0
  244. package/esm/usage/orm/models/planLimit.js +100 -0
  245. package/esm/usage/orm/models/planMeterLimit.d.ts +54 -0
  246. package/esm/usage/orm/models/planMeterLimit.js +100 -0
  247. package/esm/usage/orm/models/planOverride.d.ts +54 -0
  248. package/esm/{api/orm/models/platformApis.js → usage/orm/models/planOverride.js} +25 -25
  249. package/esm/usage/orm/models/planPricing.d.ts +54 -0
  250. package/esm/usage/orm/models/planPricing.js +100 -0
  251. package/esm/usage/orm/models/planSubscription.d.ts +54 -0
  252. package/esm/usage/orm/models/planSubscription.js +100 -0
  253. package/esm/usage/orm/mutation/index.d.ts +49 -1
  254. package/esm/usage/orm/mutation/index.js +72 -0
  255. package/esm/usage/orm/query/index.d.ts +52 -0
  256. package/esm/usage/orm/query/index.js +71 -0
  257. package/modules/orm/index.d.ts +16 -50
  258. package/modules/orm/index.js +17 -7
  259. package/modules/orm/input-types.d.ts +2317 -774
  260. package/modules/orm/input-types.js +6 -0
  261. package/modules/orm/models/capabilitiesModule.d.ts +54 -0
  262. package/modules/orm/models/capabilitiesModule.js +104 -0
  263. package/modules/orm/models/contentPresetModule.d.ts +54 -0
  264. package/modules/orm/models/contentPresetModule.js +104 -0
  265. package/modules/orm/models/dataCapabilitiesField.d.ts +54 -0
  266. package/modules/orm/models/dataCapabilitiesField.js +104 -0
  267. package/modules/orm/models/emailSenderModule.d.ts +54 -0
  268. package/modules/orm/models/{permissionsModule.js → emailSenderModule.js} +27 -27
  269. package/modules/orm/models/fileRefField.d.ts +54 -0
  270. package/modules/orm/models/fileRefField.js +104 -0
  271. package/modules/orm/models/index.d.ts +8 -1
  272. package/modules/orm/models/index.js +18 -4
  273. package/modules/orm/models/oauthRequestsModule.d.ts +54 -0
  274. package/modules/orm/models/oauthRequestsModule.js +104 -0
  275. package/modules/orm/models/scopeTypesModule.d.ts +54 -0
  276. package/modules/orm/models/scopeTypesModule.js +104 -0
  277. package/modules/orm/models/userSettingsSecurityModule.d.ts +54 -0
  278. package/modules/orm/models/userSettingsSecurityModule.js +104 -0
  279. package/modules/orm/mutation/index.d.ts +1 -85
  280. package/modules/orm/mutation/index.js +0 -84
  281. package/objects/orm/index.d.ts +15 -0
  282. package/objects/orm/input-types.d.ts +64 -0
  283. package/objects/orm/mutation/index.d.ts +25 -1
  284. package/objects/orm/mutation/index.js +36 -0
  285. package/package.json +4 -4
  286. package/usage/orm/index.d.ts +98 -0
  287. package/usage/orm/index.js +45 -1
  288. package/usage/orm/input-types.d.ts +3728 -98
  289. package/usage/orm/input-types.js +10 -0
  290. package/usage/orm/models/appAchievementReward.d.ts +54 -0
  291. package/usage/orm/models/appAchievementReward.js +104 -0
  292. package/usage/orm/models/appEvent.d.ts +56 -0
  293. package/usage/orm/models/appEvent.js +107 -0
  294. package/usage/orm/models/appEventAggregate.d.ts +54 -0
  295. package/usage/orm/models/appEventAggregate.js +104 -0
  296. package/usage/orm/models/appEventType.d.ts +54 -0
  297. package/usage/orm/models/appEventType.js +104 -0
  298. package/usage/orm/models/appLevel.d.ts +54 -0
  299. package/usage/orm/models/appLevel.js +104 -0
  300. package/usage/orm/models/appLevelGrant.d.ts +54 -0
  301. package/{admin/orm/models/orgPermission.js → usage/orm/models/appLevelGrant.js} +27 -27
  302. package/usage/orm/models/appLevelRequirement.d.ts +54 -0
  303. package/usage/orm/models/appLevelRequirement.js +104 -0
  304. package/usage/orm/models/billingUsageSummary.d.ts +54 -0
  305. package/usage/orm/models/billingUsageSummary.js +104 -0
  306. package/usage/orm/models/index.d.ts +20 -0
  307. package/usage/orm/models/index.js +41 -1
  308. package/usage/orm/models/ledger.d.ts +56 -0
  309. package/usage/orm/models/ledger.js +107 -0
  310. package/usage/orm/models/meter.d.ts +54 -0
  311. package/usage/orm/models/meter.js +104 -0
  312. package/usage/orm/models/meterCredit.d.ts +54 -0
  313. package/usage/orm/models/meterCredit.js +104 -0
  314. package/usage/orm/models/meterDefault.d.ts +54 -0
  315. package/usage/orm/models/meterDefault.js +104 -0
  316. package/usage/orm/models/meterSource.d.ts +54 -0
  317. package/usage/orm/models/meterSource.js +104 -0
  318. package/usage/orm/models/plan.d.ts +54 -0
  319. package/{api/orm/models/apis.js → usage/orm/models/plan.js} +27 -27
  320. package/usage/orm/models/planCap.d.ts +54 -0
  321. package/usage/orm/models/planCap.js +104 -0
  322. package/usage/orm/models/planLimit.d.ts +54 -0
  323. package/usage/orm/models/planLimit.js +104 -0
  324. package/usage/orm/models/planMeterLimit.d.ts +54 -0
  325. package/usage/orm/models/planMeterLimit.js +104 -0
  326. package/usage/orm/models/planOverride.d.ts +54 -0
  327. package/usage/orm/models/planOverride.js +104 -0
  328. package/usage/orm/models/planPricing.d.ts +54 -0
  329. package/usage/orm/models/planPricing.js +104 -0
  330. package/usage/orm/models/planSubscription.d.ts +54 -0
  331. package/usage/orm/models/planSubscription.js +104 -0
  332. package/usage/orm/mutation/index.d.ts +49 -1
  333. package/usage/orm/mutation/index.js +72 -0
  334. package/usage/orm/query/index.d.ts +52 -0
  335. package/usage/orm/query/index.js +74 -0
  336. package/admin/orm/models/appPermission.d.ts +0 -54
  337. package/admin/orm/models/appPermissionDefault.d.ts +0 -54
  338. package/admin/orm/models/appPermissionDefaultGrant.d.ts +0 -54
  339. package/admin/orm/models/appPermissionDefaultPermission.d.ts +0 -54
  340. package/admin/orm/models/orgPermission.d.ts +0 -54
  341. package/admin/orm/models/orgPermissionDefault.d.ts +0 -54
  342. package/admin/orm/models/orgPermissionDefaultGrant.d.ts +0 -54
  343. package/admin/orm/models/orgPermissionDefaultPermission.d.ts +0 -54
  344. package/api/orm/models/apis.d.ts +0 -54
  345. package/api/orm/models/astMigration.d.ts +0 -36
  346. package/api/orm/models/astMigration.js +0 -80
  347. package/api/orm/models/platformApis.d.ts +0 -54
  348. package/api/orm/models/sqlAction.d.ts +0 -36
  349. package/api/orm/models/sqlAction.js +0 -80
  350. package/esm/admin/orm/models/appPermission.d.ts +0 -54
  351. package/esm/admin/orm/models/appPermissionDefault.d.ts +0 -54
  352. package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +0 -54
  353. package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +0 -54
  354. package/esm/admin/orm/models/orgPermission.d.ts +0 -54
  355. package/esm/admin/orm/models/orgPermissionDefault.d.ts +0 -54
  356. package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +0 -54
  357. package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +0 -54
  358. package/esm/api/orm/models/apis.d.ts +0 -54
  359. package/esm/api/orm/models/astMigration.d.ts +0 -36
  360. package/esm/api/orm/models/astMigration.js +0 -76
  361. package/esm/api/orm/models/platformApis.d.ts +0 -54
  362. package/esm/api/orm/models/sqlAction.d.ts +0 -36
  363. package/esm/api/orm/models/sqlAction.js +0 -76
  364. package/esm/modules/orm/models/permissionsModule.d.ts +0 -54
  365. package/esm/modules/orm/query/index.d.ts +0 -39
  366. package/esm/modules/orm/query/index.js +0 -54
  367. package/modules/orm/models/permissionsModule.d.ts +0 -54
  368. package/modules/orm/query/index.d.ts +0 -39
  369. package/modules/orm/query/index.js +0 -57
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlatformApiModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class PlatformApiModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformApi', 'platformApis', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'PlatformApiFilter', 'PlatformApiOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'PlatformApi',
25
+ fieldName: 'platformApis',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformApi', 'platformApis', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'PlatformApiFilter', 'PlatformApiOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'PlatformApi',
39
+ fieldName: 'platformApi',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ platformApi: data.platformApis?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformApi', 'platformApis', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'PlatformApiFilter', 'PlatformApiOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'PlatformApi',
60
+ fieldName: 'platformApi',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ platformApi: data.platformApis?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformApi', 'createPlatformApi', 'platformApi', args.select, args.data, 'CreatePlatformApiInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'PlatformApi',
74
+ fieldName: 'createPlatformApi',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformApi', 'updatePlatformApi', 'platformApi', args.select, args.where.id, args.data, 'UpdatePlatformApiInput', 'id', 'platformApiPatch', input_types_1.connectionFieldsMap, undefined);
81
+ return new query_builder_1.QueryBuilder({
82
+ client: this.client,
83
+ operation: 'mutation',
84
+ operationName: 'PlatformApi',
85
+ fieldName: 'updatePlatformApi',
86
+ document,
87
+ variables,
88
+ });
89
+ }
90
+ delete(args) {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformApi', 'deletePlatformApi', 'platformApi', {
92
+ id: args.where.id,
93
+ }, 'DeletePlatformApiInput', args.select, input_types_1.connectionFieldsMap);
94
+ return new query_builder_1.QueryBuilder({
95
+ client: this.client,
96
+ operation: 'mutation',
97
+ operationName: 'PlatformApi',
98
+ fieldName: 'deletePlatformApi',
99
+ document,
100
+ variables,
101
+ });
102
+ }
103
+ }
104
+ exports.PlatformApiModel = PlatformApiModel;
@@ -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,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlatformEmailIdentityModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class PlatformEmailIdentityModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformEmailIdentity', 'platformEmailIdentities', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'PlatformEmailIdentityFilter', 'PlatformEmailIdentityOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'PlatformEmailIdentity',
25
+ fieldName: 'platformEmailIdentities',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformEmailIdentity', 'platformEmailIdentities', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'PlatformEmailIdentityFilter', 'PlatformEmailIdentityOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'PlatformEmailIdentity',
39
+ fieldName: 'platformEmailIdentity',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ platformEmailIdentity: data.platformEmailIdentities?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformEmailIdentity', 'platformEmailIdentities', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'PlatformEmailIdentityFilter', 'PlatformEmailIdentityOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'PlatformEmailIdentity',
60
+ fieldName: 'platformEmailIdentity',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ platformEmailIdentity: data.platformEmailIdentities?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformEmailIdentity', 'createPlatformEmailIdentity', 'platformEmailIdentity', args.select, args.data, 'CreatePlatformEmailIdentityInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'PlatformEmailIdentity',
74
+ fieldName: 'createPlatformEmailIdentity',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformEmailIdentity', 'updatePlatformEmailIdentity', 'platformEmailIdentity', args.select, args.where.id, args.data, 'UpdatePlatformEmailIdentityInput', 'id', 'platformEmailIdentityPatch', input_types_1.connectionFieldsMap, undefined);
81
+ return new query_builder_1.QueryBuilder({
82
+ client: this.client,
83
+ operation: 'mutation',
84
+ operationName: 'PlatformEmailIdentity',
85
+ fieldName: 'updatePlatformEmailIdentity',
86
+ document,
87
+ variables,
88
+ });
89
+ }
90
+ delete(args) {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformEmailIdentity', 'deletePlatformEmailIdentity', 'platformEmailIdentity', {
92
+ id: args.where.id,
93
+ }, 'DeletePlatformEmailIdentityInput', args.select, input_types_1.connectionFieldsMap);
94
+ return new query_builder_1.QueryBuilder({
95
+ client: this.client,
96
+ operation: 'mutation',
97
+ operationName: 'PlatformEmailIdentity',
98
+ fieldName: 'deletePlatformEmailIdentity',
99
+ document,
100
+ variables,
101
+ });
102
+ }
103
+ }
104
+ exports.PlatformEmailIdentityModel = PlatformEmailIdentityModel;
@@ -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,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlatformEmailProviderAccountModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class PlatformEmailProviderAccountModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformEmailProviderAccount', 'platformEmailProviderAccounts', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'PlatformEmailProviderAccountFilter', 'PlatformEmailProviderAccountOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'PlatformEmailProviderAccount',
25
+ fieldName: 'platformEmailProviderAccounts',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformEmailProviderAccount', 'platformEmailProviderAccounts', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'PlatformEmailProviderAccountFilter', 'PlatformEmailProviderAccountOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'PlatformEmailProviderAccount',
39
+ fieldName: 'platformEmailProviderAccount',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ platformEmailProviderAccount: data.platformEmailProviderAccounts?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformEmailProviderAccount', 'platformEmailProviderAccounts', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'PlatformEmailProviderAccountFilter', 'PlatformEmailProviderAccountOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'PlatformEmailProviderAccount',
60
+ fieldName: 'platformEmailProviderAccount',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ platformEmailProviderAccount: data.platformEmailProviderAccounts?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformEmailProviderAccount', 'createPlatformEmailProviderAccount', 'platformEmailProviderAccount', args.select, args.data, 'CreatePlatformEmailProviderAccountInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'PlatformEmailProviderAccount',
74
+ fieldName: 'createPlatformEmailProviderAccount',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformEmailProviderAccount', 'updatePlatformEmailProviderAccount', 'platformEmailProviderAccount', args.select, args.where.id, args.data, 'UpdatePlatformEmailProviderAccountInput', 'id', 'platformEmailProviderAccountPatch', input_types_1.connectionFieldsMap, undefined);
81
+ return new query_builder_1.QueryBuilder({
82
+ client: this.client,
83
+ operation: 'mutation',
84
+ operationName: 'PlatformEmailProviderAccount',
85
+ fieldName: 'updatePlatformEmailProviderAccount',
86
+ document,
87
+ variables,
88
+ });
89
+ }
90
+ delete(args) {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformEmailProviderAccount', 'deletePlatformEmailProviderAccount', 'platformEmailProviderAccount', {
92
+ id: args.where.id,
93
+ }, 'DeletePlatformEmailProviderAccountInput', args.select, input_types_1.connectionFieldsMap);
94
+ return new query_builder_1.QueryBuilder({
95
+ client: this.client,
96
+ operation: 'mutation',
97
+ operationName: 'PlatformEmailProviderAccount',
98
+ fieldName: 'deletePlatformEmailProviderAccount',
99
+ document,
100
+ variables,
101
+ });
102
+ }
103
+ }
104
+ exports.PlatformEmailProviderAccountModel = PlatformEmailProviderAccountModel;
@@ -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,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlatformEmailSiteIdentityModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class PlatformEmailSiteIdentityModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformEmailSiteIdentity', 'platformEmailSiteIdentities', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'PlatformEmailSiteIdentityFilter', 'PlatformEmailSiteIdentityOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'PlatformEmailSiteIdentity',
25
+ fieldName: 'platformEmailSiteIdentities',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformEmailSiteIdentity', 'platformEmailSiteIdentities', args.select, {
32
+ where: args?.where,
33
+ orderBy: args?.orderBy,
34
+ }, 'PlatformEmailSiteIdentityFilter', 'PlatformEmailSiteIdentityOrderBy', input_types_1.connectionFieldsMap);
35
+ return new query_builder_1.QueryBuilder({
36
+ client: this.client,
37
+ operation: 'query',
38
+ operationName: 'PlatformEmailSiteIdentity',
39
+ fieldName: 'platformEmailSiteIdentity',
40
+ document,
41
+ variables,
42
+ transform: (data) => ({
43
+ platformEmailSiteIdentity: data.platformEmailSiteIdentities?.nodes?.[0] ?? null,
44
+ }),
45
+ });
46
+ }
47
+ findOne(args) {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformEmailSiteIdentity', 'platformEmailSiteIdentities', args.select, {
49
+ where: {
50
+ id: {
51
+ equalTo: args.id,
52
+ },
53
+ },
54
+ first: 1,
55
+ }, 'PlatformEmailSiteIdentityFilter', 'PlatformEmailSiteIdentityOrderBy', input_types_1.connectionFieldsMap);
56
+ return new query_builder_1.QueryBuilder({
57
+ client: this.client,
58
+ operation: 'query',
59
+ operationName: 'PlatformEmailSiteIdentity',
60
+ fieldName: 'platformEmailSiteIdentity',
61
+ document,
62
+ variables,
63
+ transform: (data) => ({
64
+ platformEmailSiteIdentity: data.platformEmailSiteIdentities?.nodes?.[0] ?? null,
65
+ }),
66
+ });
67
+ }
68
+ create(args) {
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformEmailSiteIdentity', 'createPlatformEmailSiteIdentity', 'platformEmailSiteIdentity', args.select, args.data, 'CreatePlatformEmailSiteIdentityInput', input_types_1.connectionFieldsMap);
70
+ return new query_builder_1.QueryBuilder({
71
+ client: this.client,
72
+ operation: 'mutation',
73
+ operationName: 'PlatformEmailSiteIdentity',
74
+ fieldName: 'createPlatformEmailSiteIdentity',
75
+ document,
76
+ variables,
77
+ });
78
+ }
79
+ update(args) {
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformEmailSiteIdentity', 'updatePlatformEmailSiteIdentity', 'platformEmailSiteIdentity', args.select, args.where.id, args.data, 'UpdatePlatformEmailSiteIdentityInput', 'id', 'platformEmailSiteIdentityPatch', input_types_1.connectionFieldsMap, undefined);
81
+ return new query_builder_1.QueryBuilder({
82
+ client: this.client,
83
+ operation: 'mutation',
84
+ operationName: 'PlatformEmailSiteIdentity',
85
+ fieldName: 'updatePlatformEmailSiteIdentity',
86
+ document,
87
+ variables,
88
+ });
89
+ }
90
+ delete(args) {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformEmailSiteIdentity', 'deletePlatformEmailSiteIdentity', 'platformEmailSiteIdentity', {
92
+ id: args.where.id,
93
+ }, 'DeletePlatformEmailSiteIdentityInput', args.select, input_types_1.connectionFieldsMap);
94
+ return new query_builder_1.QueryBuilder({
95
+ client: this.client,
96
+ operation: 'mutation',
97
+ operationName: 'PlatformEmailSiteIdentity',
98
+ fieldName: 'deletePlatformEmailSiteIdentity',
99
+ document,
100
+ variables,
101
+ });
102
+ }
103
+ }
104
+ exports.PlatformEmailSiteIdentityModel = PlatformEmailSiteIdentityModel;
@@ -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 { AcceptDatabaseTransferInput, ApplyRlsInput, CancelDatabaseTransferInput, DomainsAssignSubdomainInput, PlatformDomainsAssignSubdomainInput, PlatformSitesProvisionStaticSiteInput, ProvisionBucketInput, RejectDatabaseTransferInput, RequestDatabaseInput, SetFieldOrderInput, SitesProvisionStaticSiteInput, AcceptDatabaseTransferPayload, ApplyRlsPayload, CancelDatabaseTransferPayload, DomainsAssignSubdomainPayload, PlatformDomainsAssignSubdomainPayload, PlatformSitesProvisionStaticSitePayload, ProvisionBucketPayload, RejectDatabaseTransferPayload, RequestDatabasePayload, SetFieldOrderPayload, SitesProvisionStaticSitePayload, AcceptDatabaseTransferPayloadSelect, ApplyRlsPayloadSelect, CancelDatabaseTransferPayloadSelect, DomainsAssignSubdomainPayloadSelect, PlatformDomainsAssignSubdomainPayloadSelect, PlatformSitesProvisionStaticSitePayloadSelect, ProvisionBucketPayloadSelect, RejectDatabaseTransferPayloadSelect, RequestDatabasePayloadSelect, SetFieldOrderPayloadSelect, SitesProvisionStaticSitePayloadSelect } from '../input-types';
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 CancelDatabaseTransferVariables {
17
- input: CancelDatabaseTransferInput;
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
- cancelDatabaseTransfer: <S extends CancelDatabaseTransferPayloadSelect>(args: CancelDatabaseTransferVariables, options: {
66
+ appsInstallApp: <S extends AppsInstallAppPayloadSelect>(args: AppsInstallAppVariables, options: {
72
67
  select: S;
73
- } & StrictSelect<S, CancelDatabaseTransferPayloadSelect>) => QueryBuilder<{
74
- cancelDatabaseTransfer: InferSelectResult<CancelDatabaseTransferPayload, S> | null;
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<{