@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
@@ -1,76 +0,0 @@
1
- import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, } from '../query-builder';
2
- import { connectionFieldsMap } from '../input-types';
3
- export class SqlActionModel {
4
- client;
5
- constructor(client) {
6
- this.client = client;
7
- }
8
- findMany(args) {
9
- const { document, variables } = buildFindManyDocument('SqlAction', 'sqlActions', 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
- }, 'SqlActionFilter', 'SqlActionOrderBy', connectionFieldsMap);
18
- return new QueryBuilder({
19
- client: this.client,
20
- operation: 'query',
21
- operationName: 'SqlAction',
22
- fieldName: 'sqlActions',
23
- document,
24
- variables,
25
- });
26
- }
27
- findFirst(args) {
28
- const { document, variables } = buildFindFirstDocument('SqlAction', 'sqlActions', args.select, {
29
- where: args?.where,
30
- orderBy: args?.orderBy,
31
- }, 'SqlActionFilter', 'SqlActionOrderBy', connectionFieldsMap);
32
- return new QueryBuilder({
33
- client: this.client,
34
- operation: 'query',
35
- operationName: 'SqlAction',
36
- fieldName: 'sqlAction',
37
- document,
38
- variables,
39
- transform: (data) => ({
40
- sqlAction: data.sqlActions?.nodes?.[0] ?? null,
41
- }),
42
- });
43
- }
44
- findOne(args) {
45
- const { document, variables } = buildFindManyDocument('SqlAction', 'sqlActions', args.select, {
46
- where: {
47
- id: {
48
- equalTo: args.id,
49
- },
50
- },
51
- first: 1,
52
- }, 'SqlActionFilter', 'SqlActionOrderBy', connectionFieldsMap);
53
- return new QueryBuilder({
54
- client: this.client,
55
- operation: 'query',
56
- operationName: 'SqlAction',
57
- fieldName: 'sqlAction',
58
- document,
59
- variables,
60
- transform: (data) => ({
61
- sqlAction: data.sqlActions?.nodes?.[0] ?? null,
62
- }),
63
- });
64
- }
65
- create(args) {
66
- const { document, variables } = buildCreateDocument('SqlAction', 'createSqlAction', 'sqlAction', args.select, args.data, 'CreateSqlActionInput', connectionFieldsMap);
67
- return new QueryBuilder({
68
- client: this.client,
69
- operation: 'mutation',
70
- operationName: 'SqlAction',
71
- fieldName: 'createSqlAction',
72
- document,
73
- variables,
74
- });
75
- }
76
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * PermissionsModule 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 { PermissionsModuleWithRelations, PermissionsModuleSelect, PermissionsModuleFilter, PermissionsModuleOrderBy, CreatePermissionsModuleInput, PermissionsModulePatch } from '../input-types';
10
- export declare class PermissionsModuleModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends PermissionsModuleSelect>(args: FindManyArgs<S, PermissionsModuleFilter, PermissionsModuleOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
16
- permissionsModules: ConnectionResult<InferSelectResult<PermissionsModuleWithRelations, S>>;
17
- }>;
18
- findFirst<S extends PermissionsModuleSelect>(args: FindFirstArgs<S, PermissionsModuleFilter, PermissionsModuleOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
21
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S> | null;
22
- }>;
23
- findOne<S extends PermissionsModuleSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
27
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S> | null;
28
- }>;
29
- create<S extends PermissionsModuleSelect>(args: CreateArgs<S, CreatePermissionsModuleInput['permissionsModule']> & {
30
- select: S;
31
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
32
- createPermissionsModule: {
33
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends PermissionsModuleSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, PermissionsModulePatch> & {
39
- select: S;
40
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
41
- updatePermissionsModule: {
42
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends PermissionsModuleSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
50
- deletePermissionsModule: {
51
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * Custom query operations
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
- /**
9
- * Variables for resolveBlueprintField
10
- * Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. "location") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.
11
- */
12
- export interface ResolveBlueprintFieldVariables {
13
- databaseId?: string;
14
- fieldName?: string;
15
- tableId?: string;
16
- }
17
- /**
18
- * Variables for resolveBlueprintTable
19
- * Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.
20
- */
21
- export interface ResolveBlueprintTableVariables {
22
- databaseId?: string;
23
- defaultSchemaId?: string;
24
- schemaName?: string;
25
- tableMap?: unknown;
26
- tableName?: string;
27
- }
28
- export declare function createQueryOperations(client: OrmClient): {
29
- resolveBlueprintField: (args: ResolveBlueprintFieldVariables, options?: {
30
- select?: Record<string, unknown>;
31
- }) => QueryBuilder<{
32
- resolveBlueprintField: string | null;
33
- }>;
34
- resolveBlueprintTable: (args: ResolveBlueprintTableVariables, options?: {
35
- select?: Record<string, unknown>;
36
- }) => QueryBuilder<{
37
- resolveBlueprintTable: string | null;
38
- }>;
39
- };
@@ -1,54 +0,0 @@
1
- import { QueryBuilder, buildCustomDocument } from '../query-builder';
2
- import { connectionFieldsMap } from '../input-types';
3
- export function createQueryOperations(client) {
4
- return {
5
- resolveBlueprintField: (args, options) => new QueryBuilder({
6
- client,
7
- operation: 'query',
8
- operationName: 'ResolveBlueprintField',
9
- fieldName: 'resolveBlueprintField',
10
- ...buildCustomDocument('query', 'ResolveBlueprintField', 'resolveBlueprintField', options?.select, args, [
11
- {
12
- name: 'databaseId',
13
- type: 'UUID',
14
- },
15
- {
16
- name: 'fieldName',
17
- type: 'String',
18
- },
19
- {
20
- name: 'tableId',
21
- type: 'UUID',
22
- },
23
- ], connectionFieldsMap, undefined),
24
- }),
25
- resolveBlueprintTable: (args, options) => new QueryBuilder({
26
- client,
27
- operation: 'query',
28
- operationName: 'ResolveBlueprintTable',
29
- fieldName: 'resolveBlueprintTable',
30
- ...buildCustomDocument('query', 'ResolveBlueprintTable', 'resolveBlueprintTable', options?.select, args, [
31
- {
32
- name: 'databaseId',
33
- type: 'UUID',
34
- },
35
- {
36
- name: 'defaultSchemaId',
37
- type: 'UUID',
38
- },
39
- {
40
- name: 'schemaName',
41
- type: 'String',
42
- },
43
- {
44
- name: 'tableMap',
45
- type: 'JSON',
46
- },
47
- {
48
- name: 'tableName',
49
- type: 'String',
50
- },
51
- ], connectionFieldsMap, undefined),
52
- }),
53
- };
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * PermissionsModule 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 { PermissionsModuleWithRelations, PermissionsModuleSelect, PermissionsModuleFilter, PermissionsModuleOrderBy, CreatePermissionsModuleInput, PermissionsModulePatch } from '../input-types';
10
- export declare class PermissionsModuleModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends PermissionsModuleSelect>(args: FindManyArgs<S, PermissionsModuleFilter, PermissionsModuleOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
16
- permissionsModules: ConnectionResult<InferSelectResult<PermissionsModuleWithRelations, S>>;
17
- }>;
18
- findFirst<S extends PermissionsModuleSelect>(args: FindFirstArgs<S, PermissionsModuleFilter, PermissionsModuleOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
21
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S> | null;
22
- }>;
23
- findOne<S extends PermissionsModuleSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
27
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S> | null;
28
- }>;
29
- create<S extends PermissionsModuleSelect>(args: CreateArgs<S, CreatePermissionsModuleInput['permissionsModule']> & {
30
- select: S;
31
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
32
- createPermissionsModule: {
33
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends PermissionsModuleSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, PermissionsModulePatch> & {
39
- select: S;
40
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
41
- updatePermissionsModule: {
42
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends PermissionsModuleSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
50
- deletePermissionsModule: {
51
- permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * Custom query operations
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
- /**
9
- * Variables for resolveBlueprintField
10
- * Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. "location") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.
11
- */
12
- export interface ResolveBlueprintFieldVariables {
13
- databaseId?: string;
14
- fieldName?: string;
15
- tableId?: string;
16
- }
17
- /**
18
- * Variables for resolveBlueprintTable
19
- * Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.
20
- */
21
- export interface ResolveBlueprintTableVariables {
22
- databaseId?: string;
23
- defaultSchemaId?: string;
24
- schemaName?: string;
25
- tableMap?: unknown;
26
- tableName?: string;
27
- }
28
- export declare function createQueryOperations(client: OrmClient): {
29
- resolveBlueprintField: (args: ResolveBlueprintFieldVariables, options?: {
30
- select?: Record<string, unknown>;
31
- }) => QueryBuilder<{
32
- resolveBlueprintField: string | null;
33
- }>;
34
- resolveBlueprintTable: (args: ResolveBlueprintTableVariables, options?: {
35
- select?: Record<string, unknown>;
36
- }) => QueryBuilder<{
37
- resolveBlueprintTable: string | null;
38
- }>;
39
- };
@@ -1,57 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createQueryOperations = createQueryOperations;
4
- const query_builder_1 = require("../query-builder");
5
- const input_types_1 = require("../input-types");
6
- function createQueryOperations(client) {
7
- return {
8
- resolveBlueprintField: (args, options) => new query_builder_1.QueryBuilder({
9
- client,
10
- operation: 'query',
11
- operationName: 'ResolveBlueprintField',
12
- fieldName: 'resolveBlueprintField',
13
- ...(0, query_builder_1.buildCustomDocument)('query', 'ResolveBlueprintField', 'resolveBlueprintField', options?.select, args, [
14
- {
15
- name: 'databaseId',
16
- type: 'UUID',
17
- },
18
- {
19
- name: 'fieldName',
20
- type: 'String',
21
- },
22
- {
23
- name: 'tableId',
24
- type: 'UUID',
25
- },
26
- ], input_types_1.connectionFieldsMap, undefined),
27
- }),
28
- resolveBlueprintTable: (args, options) => new query_builder_1.QueryBuilder({
29
- client,
30
- operation: 'query',
31
- operationName: 'ResolveBlueprintTable',
32
- fieldName: 'resolveBlueprintTable',
33
- ...(0, query_builder_1.buildCustomDocument)('query', 'ResolveBlueprintTable', 'resolveBlueprintTable', options?.select, args, [
34
- {
35
- name: 'databaseId',
36
- type: 'UUID',
37
- },
38
- {
39
- name: 'defaultSchemaId',
40
- type: 'UUID',
41
- },
42
- {
43
- name: 'schemaName',
44
- type: 'String',
45
- },
46
- {
47
- name: 'tableMap',
48
- type: 'JSON',
49
- },
50
- {
51
- name: 'tableName',
52
- type: 'String',
53
- },
54
- ], input_types_1.connectionFieldsMap, undefined),
55
- }),
56
- };
57
- }