@constructive-io/sdk 1.11.10 → 1.11.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +5 -5
  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,54 @@
1
+ /**
2
+ * AppLevel 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 { AppLevelWithRelations, AppLevelSelect, AppLevelFilter, AppLevelOrderBy, CreateAppLevelInput, AppLevelPatch } from '../input-types';
10
+ export declare class AppLevelModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends AppLevelSelect>(args: FindManyArgs<S, AppLevelFilter, AppLevelOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
16
+ appLevels: ConnectionResult<InferSelectResult<AppLevelWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends AppLevelSelect>(args: FindFirstArgs<S, AppLevelFilter, AppLevelOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
21
+ appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends AppLevelSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
27
+ appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
28
+ }>;
29
+ create<S extends AppLevelSelect>(args: CreateArgs<S, CreateAppLevelInput['appLevel']> & {
30
+ select: S;
31
+ } & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
32
+ createAppLevel: {
33
+ appLevel: InferSelectResult<AppLevelWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends AppLevelSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, AppLevelPatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
41
+ updateAppLevel: {
42
+ appLevel: InferSelectResult<AppLevelWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends AppLevelSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
50
+ deleteAppLevel: {
51
+ appLevel: InferSelectResult<AppLevelWithRelations, 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 AppLevelModel {
4
+ client;
5
+ constructor(client) {
6
+ this.client = client;
7
+ }
8
+ findMany(args) {
9
+ const { document, variables } = buildFindManyDocument('AppLevel', 'appLevels', 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
+ }, 'AppLevelFilter', 'AppLevelOrderBy', connectionFieldsMap);
18
+ return new QueryBuilder({
19
+ client: this.client,
20
+ operation: 'query',
21
+ operationName: 'AppLevel',
22
+ fieldName: 'appLevels',
23
+ document,
24
+ variables,
25
+ });
26
+ }
27
+ findFirst(args) {
28
+ const { document, variables } = buildFindFirstDocument('AppLevel', 'appLevels', args.select, {
29
+ where: args?.where,
30
+ orderBy: args?.orderBy,
31
+ }, 'AppLevelFilter', 'AppLevelOrderBy', connectionFieldsMap);
32
+ return new QueryBuilder({
33
+ client: this.client,
34
+ operation: 'query',
35
+ operationName: 'AppLevel',
36
+ fieldName: 'appLevel',
37
+ document,
38
+ variables,
39
+ transform: (data) => ({
40
+ appLevel: data.appLevels?.nodes?.[0] ?? null,
41
+ }),
42
+ });
43
+ }
44
+ findOne(args) {
45
+ const { document, variables } = buildFindManyDocument('AppLevel', 'appLevels', args.select, {
46
+ where: {
47
+ id: {
48
+ equalTo: args.id,
49
+ },
50
+ },
51
+ first: 1,
52
+ }, 'AppLevelFilter', 'AppLevelOrderBy', connectionFieldsMap);
53
+ return new QueryBuilder({
54
+ client: this.client,
55
+ operation: 'query',
56
+ operationName: 'AppLevel',
57
+ fieldName: 'appLevel',
58
+ document,
59
+ variables,
60
+ transform: (data) => ({
61
+ appLevel: data.appLevels?.nodes?.[0] ?? null,
62
+ }),
63
+ });
64
+ }
65
+ create(args) {
66
+ const { document, variables } = buildCreateDocument('AppLevel', 'createAppLevel', 'appLevel', args.select, args.data, 'CreateAppLevelInput', connectionFieldsMap);
67
+ return new QueryBuilder({
68
+ client: this.client,
69
+ operation: 'mutation',
70
+ operationName: 'AppLevel',
71
+ fieldName: 'createAppLevel',
72
+ document,
73
+ variables,
74
+ });
75
+ }
76
+ update(args) {
77
+ const { document, variables } = buildUpdateByPkDocument('AppLevel', 'updateAppLevel', 'appLevel', args.select, args.where.id, args.data, 'UpdateAppLevelInput', 'id', 'appLevelPatch', connectionFieldsMap, undefined);
78
+ return new QueryBuilder({
79
+ client: this.client,
80
+ operation: 'mutation',
81
+ operationName: 'AppLevel',
82
+ fieldName: 'updateAppLevel',
83
+ document,
84
+ variables,
85
+ });
86
+ }
87
+ delete(args) {
88
+ const { document, variables } = buildDeleteByPkDocument('AppLevel', 'deleteAppLevel', 'appLevel', {
89
+ id: args.where.id,
90
+ }, 'DeleteAppLevelInput', args.select, connectionFieldsMap);
91
+ return new QueryBuilder({
92
+ client: this.client,
93
+ operation: 'mutation',
94
+ operationName: 'AppLevel',
95
+ fieldName: 'deleteAppLevel',
96
+ document,
97
+ variables,
98
+ });
99
+ }
100
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * AppLevelGrant 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 { AppLevelGrantWithRelations, AppLevelGrantSelect, AppLevelGrantFilter, AppLevelGrantOrderBy, CreateAppLevelGrantInput, AppLevelGrantPatch } from '../input-types';
10
+ export declare class AppLevelGrantModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends AppLevelGrantSelect>(args: FindManyArgs<S, AppLevelGrantFilter, AppLevelGrantOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, AppLevelGrantSelect>): QueryBuilder<{
16
+ appLevelGrants: ConnectionResult<InferSelectResult<AppLevelGrantWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends AppLevelGrantSelect>(args: FindFirstArgs<S, AppLevelGrantFilter, AppLevelGrantOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, AppLevelGrantSelect>): QueryBuilder<{
21
+ appLevelGrant: InferSelectResult<AppLevelGrantWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends AppLevelGrantSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, AppLevelGrantSelect>): QueryBuilder<{
27
+ appLevelGrant: InferSelectResult<AppLevelGrantWithRelations, S> | null;
28
+ }>;
29
+ create<S extends AppLevelGrantSelect>(args: CreateArgs<S, CreateAppLevelGrantInput['appLevelGrant']> & {
30
+ select: S;
31
+ } & StrictSelect<S, AppLevelGrantSelect>): QueryBuilder<{
32
+ createAppLevelGrant: {
33
+ appLevelGrant: InferSelectResult<AppLevelGrantWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends AppLevelGrantSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, AppLevelGrantPatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, AppLevelGrantSelect>): QueryBuilder<{
41
+ updateAppLevelGrant: {
42
+ appLevelGrant: InferSelectResult<AppLevelGrantWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends AppLevelGrantSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, AppLevelGrantSelect>): QueryBuilder<{
50
+ deleteAppLevelGrant: {
51
+ appLevelGrant: InferSelectResult<AppLevelGrantWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -1,12 +1,12 @@
1
1
  import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
2
2
  import { connectionFieldsMap } from '../input-types';
3
- export class AppPermissionModel {
3
+ export class AppLevelGrantModel {
4
4
  client;
5
5
  constructor(client) {
6
6
  this.client = client;
7
7
  }
8
8
  findMany(args) {
9
- const { document, variables } = buildFindManyDocument('AppPermission', 'appPermissions', args.select, {
9
+ const { document, variables } = buildFindManyDocument('AppLevelGrant', 'appLevelGrants', args.select, {
10
10
  where: args?.where,
11
11
  orderBy: args?.orderBy,
12
12
  first: args?.first,
@@ -14,85 +14,85 @@ export class AppPermissionModel {
14
14
  after: args?.after,
15
15
  before: args?.before,
16
16
  offset: args?.offset,
17
- }, 'AppPermissionFilter', 'AppPermissionOrderBy', connectionFieldsMap);
17
+ }, 'AppLevelGrantFilter', 'AppLevelGrantOrderBy', connectionFieldsMap);
18
18
  return new QueryBuilder({
19
19
  client: this.client,
20
20
  operation: 'query',
21
- operationName: 'AppPermission',
22
- fieldName: 'appPermissions',
21
+ operationName: 'AppLevelGrant',
22
+ fieldName: 'appLevelGrants',
23
23
  document,
24
24
  variables,
25
25
  });
26
26
  }
27
27
  findFirst(args) {
28
- const { document, variables } = buildFindFirstDocument('AppPermission', 'appPermissions', args.select, {
28
+ const { document, variables } = buildFindFirstDocument('AppLevelGrant', 'appLevelGrants', args.select, {
29
29
  where: args?.where,
30
30
  orderBy: args?.orderBy,
31
- }, 'AppPermissionFilter', 'AppPermissionOrderBy', connectionFieldsMap);
31
+ }, 'AppLevelGrantFilter', 'AppLevelGrantOrderBy', connectionFieldsMap);
32
32
  return new QueryBuilder({
33
33
  client: this.client,
34
34
  operation: 'query',
35
- operationName: 'AppPermission',
36
- fieldName: 'appPermission',
35
+ operationName: 'AppLevelGrant',
36
+ fieldName: 'appLevelGrant',
37
37
  document,
38
38
  variables,
39
39
  transform: (data) => ({
40
- appPermission: data.appPermissions?.nodes?.[0] ?? null,
40
+ appLevelGrant: data.appLevelGrants?.nodes?.[0] ?? null,
41
41
  }),
42
42
  });
43
43
  }
44
44
  findOne(args) {
45
- const { document, variables } = buildFindManyDocument('AppPermission', 'appPermissions', args.select, {
45
+ const { document, variables } = buildFindManyDocument('AppLevelGrant', 'appLevelGrants', args.select, {
46
46
  where: {
47
47
  id: {
48
48
  equalTo: args.id,
49
49
  },
50
50
  },
51
51
  first: 1,
52
- }, 'AppPermissionFilter', 'AppPermissionOrderBy', connectionFieldsMap);
52
+ }, 'AppLevelGrantFilter', 'AppLevelGrantOrderBy', connectionFieldsMap);
53
53
  return new QueryBuilder({
54
54
  client: this.client,
55
55
  operation: 'query',
56
- operationName: 'AppPermission',
57
- fieldName: 'appPermission',
56
+ operationName: 'AppLevelGrant',
57
+ fieldName: 'appLevelGrant',
58
58
  document,
59
59
  variables,
60
60
  transform: (data) => ({
61
- appPermission: data.appPermissions?.nodes?.[0] ?? null,
61
+ appLevelGrant: data.appLevelGrants?.nodes?.[0] ?? null,
62
62
  }),
63
63
  });
64
64
  }
65
65
  create(args) {
66
- const { document, variables } = buildCreateDocument('AppPermission', 'createAppPermission', 'appPermission', args.select, args.data, 'CreateAppPermissionInput', connectionFieldsMap);
66
+ const { document, variables } = buildCreateDocument('AppLevelGrant', 'createAppLevelGrant', 'appLevelGrant', args.select, args.data, 'CreateAppLevelGrantInput', connectionFieldsMap);
67
67
  return new QueryBuilder({
68
68
  client: this.client,
69
69
  operation: 'mutation',
70
- operationName: 'AppPermission',
71
- fieldName: 'createAppPermission',
70
+ operationName: 'AppLevelGrant',
71
+ fieldName: 'createAppLevelGrant',
72
72
  document,
73
73
  variables,
74
74
  });
75
75
  }
76
76
  update(args) {
77
- const { document, variables } = buildUpdateByPkDocument('AppPermission', 'updateAppPermission', 'appPermission', args.select, args.where.id, args.data, 'UpdateAppPermissionInput', 'id', 'appPermissionPatch', connectionFieldsMap, undefined);
77
+ const { document, variables } = buildUpdateByPkDocument('AppLevelGrant', 'updateAppLevelGrant', 'appLevelGrant', args.select, args.where.id, args.data, 'UpdateAppLevelGrantInput', 'id', 'appLevelGrantPatch', connectionFieldsMap, undefined);
78
78
  return new QueryBuilder({
79
79
  client: this.client,
80
80
  operation: 'mutation',
81
- operationName: 'AppPermission',
82
- fieldName: 'updateAppPermission',
81
+ operationName: 'AppLevelGrant',
82
+ fieldName: 'updateAppLevelGrant',
83
83
  document,
84
84
  variables,
85
85
  });
86
86
  }
87
87
  delete(args) {
88
- const { document, variables } = buildDeleteByPkDocument('AppPermission', 'deleteAppPermission', 'appPermission', {
88
+ const { document, variables } = buildDeleteByPkDocument('AppLevelGrant', 'deleteAppLevelGrant', 'appLevelGrant', {
89
89
  id: args.where.id,
90
- }, 'DeleteAppPermissionInput', args.select, connectionFieldsMap);
90
+ }, 'DeleteAppLevelGrantInput', args.select, connectionFieldsMap);
91
91
  return new QueryBuilder({
92
92
  client: this.client,
93
93
  operation: 'mutation',
94
- operationName: 'AppPermission',
95
- fieldName: 'deleteAppPermission',
94
+ operationName: 'AppLevelGrant',
95
+ fieldName: 'deleteAppLevelGrant',
96
96
  document,
97
97
  variables,
98
98
  });
@@ -0,0 +1,54 @@
1
+ /**
2
+ * AppLevelRequirement 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 { AppLevelRequirementWithRelations, AppLevelRequirementSelect, AppLevelRequirementFilter, AppLevelRequirementOrderBy, CreateAppLevelRequirementInput, AppLevelRequirementPatch } from '../input-types';
10
+ export declare class AppLevelRequirementModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends AppLevelRequirementSelect>(args: FindManyArgs<S, AppLevelRequirementFilter, AppLevelRequirementOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
16
+ appLevelRequirements: ConnectionResult<InferSelectResult<AppLevelRequirementWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends AppLevelRequirementSelect>(args: FindFirstArgs<S, AppLevelRequirementFilter, AppLevelRequirementOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
21
+ appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends AppLevelRequirementSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
27
+ appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
28
+ }>;
29
+ create<S extends AppLevelRequirementSelect>(args: CreateArgs<S, CreateAppLevelRequirementInput['appLevelRequirement']> & {
30
+ select: S;
31
+ } & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
32
+ createAppLevelRequirement: {
33
+ appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends AppLevelRequirementSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, AppLevelRequirementPatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
41
+ updateAppLevelRequirement: {
42
+ appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends AppLevelRequirementSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
50
+ deleteAppLevelRequirement: {
51
+ appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, 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 AppLevelRequirementModel {
4
+ client;
5
+ constructor(client) {
6
+ this.client = client;
7
+ }
8
+ findMany(args) {
9
+ const { document, variables } = buildFindManyDocument('AppLevelRequirement', 'appLevelRequirements', 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
+ }, 'AppLevelRequirementFilter', 'AppLevelRequirementOrderBy', connectionFieldsMap);
18
+ return new QueryBuilder({
19
+ client: this.client,
20
+ operation: 'query',
21
+ operationName: 'AppLevelRequirement',
22
+ fieldName: 'appLevelRequirements',
23
+ document,
24
+ variables,
25
+ });
26
+ }
27
+ findFirst(args) {
28
+ const { document, variables } = buildFindFirstDocument('AppLevelRequirement', 'appLevelRequirements', args.select, {
29
+ where: args?.where,
30
+ orderBy: args?.orderBy,
31
+ }, 'AppLevelRequirementFilter', 'AppLevelRequirementOrderBy', connectionFieldsMap);
32
+ return new QueryBuilder({
33
+ client: this.client,
34
+ operation: 'query',
35
+ operationName: 'AppLevelRequirement',
36
+ fieldName: 'appLevelRequirement',
37
+ document,
38
+ variables,
39
+ transform: (data) => ({
40
+ appLevelRequirement: data.appLevelRequirements?.nodes?.[0] ?? null,
41
+ }),
42
+ });
43
+ }
44
+ findOne(args) {
45
+ const { document, variables } = buildFindManyDocument('AppLevelRequirement', 'appLevelRequirements', args.select, {
46
+ where: {
47
+ id: {
48
+ equalTo: args.id,
49
+ },
50
+ },
51
+ first: 1,
52
+ }, 'AppLevelRequirementFilter', 'AppLevelRequirementOrderBy', connectionFieldsMap);
53
+ return new QueryBuilder({
54
+ client: this.client,
55
+ operation: 'query',
56
+ operationName: 'AppLevelRequirement',
57
+ fieldName: 'appLevelRequirement',
58
+ document,
59
+ variables,
60
+ transform: (data) => ({
61
+ appLevelRequirement: data.appLevelRequirements?.nodes?.[0] ?? null,
62
+ }),
63
+ });
64
+ }
65
+ create(args) {
66
+ const { document, variables } = buildCreateDocument('AppLevelRequirement', 'createAppLevelRequirement', 'appLevelRequirement', args.select, args.data, 'CreateAppLevelRequirementInput', connectionFieldsMap);
67
+ return new QueryBuilder({
68
+ client: this.client,
69
+ operation: 'mutation',
70
+ operationName: 'AppLevelRequirement',
71
+ fieldName: 'createAppLevelRequirement',
72
+ document,
73
+ variables,
74
+ });
75
+ }
76
+ update(args) {
77
+ const { document, variables } = buildUpdateByPkDocument('AppLevelRequirement', 'updateAppLevelRequirement', 'appLevelRequirement', args.select, args.where.id, args.data, 'UpdateAppLevelRequirementInput', 'id', 'appLevelRequirementPatch', connectionFieldsMap, undefined);
78
+ return new QueryBuilder({
79
+ client: this.client,
80
+ operation: 'mutation',
81
+ operationName: 'AppLevelRequirement',
82
+ fieldName: 'updateAppLevelRequirement',
83
+ document,
84
+ variables,
85
+ });
86
+ }
87
+ delete(args) {
88
+ const { document, variables } = buildDeleteByPkDocument('AppLevelRequirement', 'deleteAppLevelRequirement', 'appLevelRequirement', {
89
+ id: args.where.id,
90
+ }, 'DeleteAppLevelRequirementInput', args.select, connectionFieldsMap);
91
+ return new QueryBuilder({
92
+ client: this.client,
93
+ operation: 'mutation',
94
+ operationName: 'AppLevelRequirement',
95
+ fieldName: 'deleteAppLevelRequirement',
96
+ document,
97
+ variables,
98
+ });
99
+ }
100
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * BillingUsageSummary 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 { BillingUsageSummaryWithRelations, BillingUsageSummarySelect, BillingUsageSummaryFilter, BillingUsageSummaryOrderBy, CreateBillingUsageSummaryInput, BillingUsageSummaryPatch } from '../input-types';
10
+ export declare class BillingUsageSummaryModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends BillingUsageSummarySelect>(args: FindManyArgs<S, BillingUsageSummaryFilter, BillingUsageSummaryOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, BillingUsageSummarySelect>): QueryBuilder<{
16
+ billingUsageSummaries: ConnectionResult<InferSelectResult<BillingUsageSummaryWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends BillingUsageSummarySelect>(args: FindFirstArgs<S, BillingUsageSummaryFilter, BillingUsageSummaryOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, BillingUsageSummarySelect>): QueryBuilder<{
21
+ billingUsageSummary: InferSelectResult<BillingUsageSummaryWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends BillingUsageSummarySelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, BillingUsageSummarySelect>): QueryBuilder<{
27
+ billingUsageSummary: InferSelectResult<BillingUsageSummaryWithRelations, S> | null;
28
+ }>;
29
+ create<S extends BillingUsageSummarySelect>(args: CreateArgs<S, CreateBillingUsageSummaryInput['billingUsageSummary']> & {
30
+ select: S;
31
+ } & StrictSelect<S, BillingUsageSummarySelect>): QueryBuilder<{
32
+ createBillingUsageSummary: {
33
+ billingUsageSummary: InferSelectResult<BillingUsageSummaryWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends BillingUsageSummarySelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, BillingUsageSummaryPatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, BillingUsageSummarySelect>): QueryBuilder<{
41
+ updateBillingUsageSummary: {
42
+ billingUsageSummary: InferSelectResult<BillingUsageSummaryWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends BillingUsageSummarySelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, BillingUsageSummarySelect>): QueryBuilder<{
50
+ deleteBillingUsageSummary: {
51
+ billingUsageSummary: InferSelectResult<BillingUsageSummaryWithRelations, 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 BillingUsageSummaryModel {
4
+ client;
5
+ constructor(client) {
6
+ this.client = client;
7
+ }
8
+ findMany(args) {
9
+ const { document, variables } = buildFindManyDocument('BillingUsageSummary', 'billingUsageSummaries', 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
+ }, 'BillingUsageSummaryFilter', 'BillingUsageSummaryOrderBy', connectionFieldsMap);
18
+ return new QueryBuilder({
19
+ client: this.client,
20
+ operation: 'query',
21
+ operationName: 'BillingUsageSummary',
22
+ fieldName: 'billingUsageSummaries',
23
+ document,
24
+ variables,
25
+ });
26
+ }
27
+ findFirst(args) {
28
+ const { document, variables } = buildFindFirstDocument('BillingUsageSummary', 'billingUsageSummaries', args.select, {
29
+ where: args?.where,
30
+ orderBy: args?.orderBy,
31
+ }, 'BillingUsageSummaryFilter', 'BillingUsageSummaryOrderBy', connectionFieldsMap);
32
+ return new QueryBuilder({
33
+ client: this.client,
34
+ operation: 'query',
35
+ operationName: 'BillingUsageSummary',
36
+ fieldName: 'billingUsageSummary',
37
+ document,
38
+ variables,
39
+ transform: (data) => ({
40
+ billingUsageSummary: data.billingUsageSummaries?.nodes?.[0] ?? null,
41
+ }),
42
+ });
43
+ }
44
+ findOne(args) {
45
+ const { document, variables } = buildFindManyDocument('BillingUsageSummary', 'billingUsageSummaries', args.select, {
46
+ where: {
47
+ id: {
48
+ equalTo: args.id,
49
+ },
50
+ },
51
+ first: 1,
52
+ }, 'BillingUsageSummaryFilter', 'BillingUsageSummaryOrderBy', connectionFieldsMap);
53
+ return new QueryBuilder({
54
+ client: this.client,
55
+ operation: 'query',
56
+ operationName: 'BillingUsageSummary',
57
+ fieldName: 'billingUsageSummary',
58
+ document,
59
+ variables,
60
+ transform: (data) => ({
61
+ billingUsageSummary: data.billingUsageSummaries?.nodes?.[0] ?? null,
62
+ }),
63
+ });
64
+ }
65
+ create(args) {
66
+ const { document, variables } = buildCreateDocument('BillingUsageSummary', 'createBillingUsageSummary', 'billingUsageSummary', args.select, args.data, 'CreateBillingUsageSummaryInput', connectionFieldsMap);
67
+ return new QueryBuilder({
68
+ client: this.client,
69
+ operation: 'mutation',
70
+ operationName: 'BillingUsageSummary',
71
+ fieldName: 'createBillingUsageSummary',
72
+ document,
73
+ variables,
74
+ });
75
+ }
76
+ update(args) {
77
+ const { document, variables } = buildUpdateByPkDocument('BillingUsageSummary', 'updateBillingUsageSummary', 'billingUsageSummary', args.select, args.where.id, args.data, 'UpdateBillingUsageSummaryInput', 'id', 'billingUsageSummaryPatch', connectionFieldsMap, undefined);
78
+ return new QueryBuilder({
79
+ client: this.client,
80
+ operation: 'mutation',
81
+ operationName: 'BillingUsageSummary',
82
+ fieldName: 'updateBillingUsageSummary',
83
+ document,
84
+ variables,
85
+ });
86
+ }
87
+ delete(args) {
88
+ const { document, variables } = buildDeleteByPkDocument('BillingUsageSummary', 'deleteBillingUsageSummary', 'billingUsageSummary', {
89
+ id: args.where.id,
90
+ }, 'DeleteBillingUsageSummaryInput', args.select, connectionFieldsMap);
91
+ return new QueryBuilder({
92
+ client: this.client,
93
+ operation: 'mutation',
94
+ operationName: 'BillingUsageSummary',
95
+ fieldName: 'deleteBillingUsageSummary',
96
+ document,
97
+ variables,
98
+ });
99
+ }
100
+ }