@constructive-sdk/cli 0.8.2 → 0.8.3

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 (539) hide show
  1. package/admin/cli/commands/app-level-requirement.js +2 -0
  2. package/admin/cli/commands/app-level.js +2 -0
  3. package/admin/cli/commands/app-permission.js +2 -0
  4. package/admin/cli/commands/invite.js +2 -0
  5. package/admin/cli/commands/membership-type.js +3 -0
  6. package/admin/cli/commands/org-chart-edge-grant.js +2 -0
  7. package/admin/cli/commands/org-chart-edge.js +2 -0
  8. package/admin/cli/commands/org-invite.js +2 -0
  9. package/admin/cli/commands/org-permission.js +2 -0
  10. package/admin/cli/commands.js +7 -7
  11. package/admin/cli/executor.d.ts +3 -3
  12. package/admin/orm/index.d.ts +6 -6
  13. package/admin/orm/index.js +6 -6
  14. package/admin/orm/input-types.d.ts +481 -386
  15. package/admin/orm/models/appAchievement.d.ts +1 -1
  16. package/admin/orm/models/appAdminGrant.d.ts +1 -1
  17. package/admin/orm/models/appGrant.d.ts +1 -1
  18. package/admin/orm/models/appLevel.d.ts +1 -1
  19. package/admin/orm/models/appLevelRequirement.d.ts +1 -1
  20. package/admin/orm/models/appLimit.d.ts +1 -1
  21. package/admin/orm/models/appLimitDefault.d.ts +1 -1
  22. package/admin/orm/models/appMembership.d.ts +1 -1
  23. package/admin/orm/models/appMembershipDefault.d.ts +1 -1
  24. package/admin/orm/models/appOwnerGrant.d.ts +1 -1
  25. package/admin/orm/models/appPermission.d.ts +1 -1
  26. package/admin/orm/models/appPermissionDefault.d.ts +1 -1
  27. package/admin/orm/models/appStep.d.ts +1 -1
  28. package/admin/orm/models/claimedInvite.d.ts +1 -1
  29. package/admin/orm/models/index.d.ts +3 -3
  30. package/admin/orm/models/index.js +7 -7
  31. package/admin/orm/models/invite.d.ts +1 -1
  32. package/admin/orm/models/membershipType.d.ts +1 -1
  33. package/admin/orm/models/orgAdminGrant.d.ts +1 -1
  34. package/admin/orm/models/orgChartEdge.d.ts +1 -1
  35. package/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
  36. package/admin/orm/models/orgClaimedInvite.d.ts +1 -1
  37. package/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
  38. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  39. package/admin/orm/models/orgGrant.d.ts +1 -1
  40. package/admin/orm/models/orgInvite.d.ts +1 -1
  41. package/admin/orm/models/orgLimit.d.ts +1 -1
  42. package/admin/orm/models/orgLimitDefault.d.ts +1 -1
  43. package/admin/orm/models/orgMember.d.ts +1 -1
  44. package/admin/orm/models/orgMembership.d.ts +1 -1
  45. package/admin/orm/models/orgMembershipDefault.d.ts +1 -1
  46. package/admin/orm/models/orgOwnerGrant.d.ts +1 -1
  47. package/admin/orm/models/orgPermission.d.ts +1 -1
  48. package/admin/orm/models/orgPermissionDefault.d.ts +1 -1
  49. package/admin/orm/query-builder.js +0 -2
  50. package/auth/cli/commands/audit-log.js +2 -0
  51. package/auth/cli/commands/connected-account.js +3 -0
  52. package/auth/cli/commands/crypto-address.js +2 -0
  53. package/auth/cli/commands/phone-number.js +3 -0
  54. package/auth/cli/commands/user.js +2 -4
  55. package/auth/cli/commands.js +3 -3
  56. package/auth/cli/executor.d.ts +1 -1
  57. package/auth/orm/index.d.ts +2 -2
  58. package/auth/orm/index.js +2 -2
  59. package/auth/orm/input-types.d.ts +189 -99
  60. package/auth/orm/models/auditLog.d.ts +1 -1
  61. package/auth/orm/models/connectedAccount.d.ts +1 -1
  62. package/auth/orm/models/cryptoAddress.d.ts +1 -1
  63. package/auth/orm/models/email.d.ts +1 -1
  64. package/auth/orm/models/index.d.ts +1 -1
  65. package/auth/orm/models/index.js +3 -3
  66. package/auth/orm/models/phoneNumber.d.ts +1 -1
  67. package/auth/orm/models/roleType.d.ts +1 -1
  68. package/auth/orm/models/user.d.ts +1 -1
  69. package/auth/orm/query-builder.js +0 -2
  70. package/esm/admin/cli/commands/app-level-requirement.js +2 -0
  71. package/esm/admin/cli/commands/app-level.js +2 -0
  72. package/esm/admin/cli/commands/app-permission.js +2 -0
  73. package/esm/admin/cli/commands/invite.js +2 -0
  74. package/esm/admin/cli/commands/membership-type.js +3 -0
  75. package/esm/admin/cli/commands/org-chart-edge-grant.js +2 -0
  76. package/esm/admin/cli/commands/org-chart-edge.js +2 -0
  77. package/esm/admin/cli/commands/org-invite.js +2 -0
  78. package/esm/admin/cli/commands/org-permission.js +2 -0
  79. package/esm/admin/cli/commands.js +7 -7
  80. package/esm/admin/cli/executor.d.ts +3 -3
  81. package/esm/admin/orm/index.d.ts +6 -6
  82. package/esm/admin/orm/index.js +6 -6
  83. package/esm/admin/orm/input-types.d.ts +481 -386
  84. package/esm/admin/orm/models/appAchievement.d.ts +1 -1
  85. package/esm/admin/orm/models/appAdminGrant.d.ts +1 -1
  86. package/esm/admin/orm/models/appGrant.d.ts +1 -1
  87. package/esm/admin/orm/models/appLevel.d.ts +1 -1
  88. package/esm/admin/orm/models/appLevelRequirement.d.ts +1 -1
  89. package/esm/admin/orm/models/appLimit.d.ts +1 -1
  90. package/esm/admin/orm/models/appLimitDefault.d.ts +1 -1
  91. package/esm/admin/orm/models/appMembership.d.ts +1 -1
  92. package/esm/admin/orm/models/appMembershipDefault.d.ts +1 -1
  93. package/esm/admin/orm/models/appOwnerGrant.d.ts +1 -1
  94. package/esm/admin/orm/models/appPermission.d.ts +1 -1
  95. package/esm/admin/orm/models/appPermissionDefault.d.ts +1 -1
  96. package/esm/admin/orm/models/appStep.d.ts +1 -1
  97. package/esm/admin/orm/models/claimedInvite.d.ts +1 -1
  98. package/esm/admin/orm/models/index.d.ts +3 -3
  99. package/esm/admin/orm/models/index.js +3 -3
  100. package/esm/admin/orm/models/invite.d.ts +1 -1
  101. package/esm/admin/orm/models/membershipType.d.ts +1 -1
  102. package/esm/admin/orm/models/orgAdminGrant.d.ts +1 -1
  103. package/esm/admin/orm/models/orgChartEdge.d.ts +1 -1
  104. package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
  105. package/esm/admin/orm/models/orgClaimedInvite.d.ts +1 -1
  106. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
  107. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  108. package/esm/admin/orm/models/orgGrant.d.ts +1 -1
  109. package/esm/admin/orm/models/orgInvite.d.ts +1 -1
  110. package/esm/admin/orm/models/orgLimit.d.ts +1 -1
  111. package/esm/admin/orm/models/orgLimitDefault.d.ts +1 -1
  112. package/esm/admin/orm/models/orgMember.d.ts +1 -1
  113. package/esm/admin/orm/models/orgMembership.d.ts +1 -1
  114. package/esm/admin/orm/models/orgMembershipDefault.d.ts +1 -1
  115. package/esm/admin/orm/models/orgOwnerGrant.d.ts +1 -1
  116. package/esm/admin/orm/models/orgPermission.d.ts +1 -1
  117. package/esm/admin/orm/models/orgPermissionDefault.d.ts +1 -1
  118. package/esm/admin/orm/query-builder.js +0 -2
  119. package/esm/auth/cli/commands/audit-log.js +2 -0
  120. package/esm/auth/cli/commands/connected-account.js +3 -0
  121. package/esm/auth/cli/commands/crypto-address.js +2 -0
  122. package/esm/auth/cli/commands/phone-number.js +3 -0
  123. package/esm/auth/cli/commands/user.js +2 -4
  124. package/esm/auth/cli/commands.js +3 -3
  125. package/esm/auth/cli/executor.d.ts +1 -1
  126. package/esm/auth/orm/index.d.ts +2 -2
  127. package/esm/auth/orm/index.js +2 -2
  128. package/esm/auth/orm/input-types.d.ts +189 -99
  129. package/esm/auth/orm/models/auditLog.d.ts +1 -1
  130. package/esm/auth/orm/models/connectedAccount.d.ts +1 -1
  131. package/esm/auth/orm/models/cryptoAddress.d.ts +1 -1
  132. package/esm/auth/orm/models/email.d.ts +1 -1
  133. package/esm/auth/orm/models/index.d.ts +1 -1
  134. package/esm/auth/orm/models/index.js +1 -1
  135. package/esm/auth/orm/models/phoneNumber.d.ts +1 -1
  136. package/esm/auth/orm/models/roleType.d.ts +1 -1
  137. package/esm/auth/orm/models/user.d.ts +1 -1
  138. package/esm/auth/orm/query-builder.js +0 -2
  139. package/esm/objects/cli/commands/commit.js +2 -0
  140. package/esm/objects/cli/commands/object.js +0 -4
  141. package/esm/objects/cli/commands/ref.js +2 -0
  142. package/esm/objects/cli/commands/store.js +2 -0
  143. package/esm/objects/orm/input-types.d.ts +33 -3
  144. package/esm/objects/orm/models/commit.d.ts +1 -1
  145. package/esm/objects/orm/models/getAllRecord.d.ts +1 -1
  146. package/esm/objects/orm/models/object.d.ts +1 -1
  147. package/esm/objects/orm/models/ref.d.ts +1 -1
  148. package/esm/objects/orm/models/store.d.ts +1 -1
  149. package/esm/objects/orm/query-builder.js +0 -2
  150. package/esm/public/cli/commands/api-module.js +2 -0
  151. package/esm/public/cli/commands/api.js +5 -0
  152. package/esm/public/cli/commands/app-level-requirement.js +2 -0
  153. package/esm/public/cli/commands/app-level.js +2 -0
  154. package/esm/public/cli/commands/app-permission.js +2 -0
  155. package/esm/public/cli/commands/app.js +4 -0
  156. package/esm/public/cli/commands/ast-migration.js +2 -0
  157. package/esm/public/cli/commands/audit-log.js +2 -0
  158. package/esm/public/cli/commands/check-constraint.js +4 -0
  159. package/esm/public/cli/commands/commit.js +2 -0
  160. package/esm/public/cli/commands/connected-account.js +3 -0
  161. package/esm/public/cli/commands/connected-accounts-module.js +2 -0
  162. package/esm/public/cli/commands/crypto-address.js +2 -0
  163. package/esm/public/cli/commands/crypto-addresses-module.js +3 -0
  164. package/esm/public/cli/commands/crypto-auth-module.js +7 -0
  165. package/esm/public/cli/commands/database-provision-module.js +6 -0
  166. package/esm/public/cli/commands/database.js +4 -0
  167. package/esm/public/cli/commands/default-privilege.js +4 -0
  168. package/esm/public/cli/commands/denormalized-table-field.js +2 -0
  169. package/esm/public/cli/commands/emails-module.js +2 -0
  170. package/esm/public/cli/commands/encrypted-secrets-module.js +2 -0
  171. package/esm/public/cli/commands/field-module.js +2 -0
  172. package/esm/public/cli/commands/field.js +7 -0
  173. package/esm/public/cli/commands/foreign-key-constraint.js +7 -0
  174. package/esm/public/cli/commands/hierarchy-module.js +11 -0
  175. package/esm/public/cli/commands/index.js +46 -0
  176. package/esm/public/cli/commands/invite.js +2 -0
  177. package/esm/public/cli/commands/invites-module.js +5 -0
  178. package/esm/public/cli/commands/levels-module.js +16 -0
  179. package/esm/public/cli/commands/limits-module.js +10 -0
  180. package/esm/public/cli/commands/membership-type.js +3 -0
  181. package/esm/public/cli/commands/membership-types-module.js +2 -0
  182. package/esm/public/cli/commands/memberships-module.js +13 -0
  183. package/esm/public/cli/commands/node-type-registry.js +6 -0
  184. package/esm/public/cli/commands/object.js +0 -4
  185. package/esm/public/cli/commands/org-chart-edge-grant.js +2 -0
  186. package/esm/public/cli/commands/org-chart-edge.js +2 -0
  187. package/esm/public/cli/commands/org-invite.js +2 -0
  188. package/esm/public/cli/commands/org-permission.js +2 -0
  189. package/esm/public/cli/commands/permissions-module.js +8 -0
  190. package/esm/public/cli/commands/phone-number.js +3 -0
  191. package/esm/public/cli/commands/phone-numbers-module.js +2 -0
  192. package/esm/public/cli/commands/policy.js +6 -0
  193. package/esm/public/cli/commands/primary-key-constraint.js +4 -0
  194. package/esm/public/cli/commands/profiles-module.js +6 -0
  195. package/esm/public/cli/commands/ref.js +2 -0
  196. package/esm/public/cli/commands/relation-provision.js +11 -0
  197. package/esm/public/cli/commands/rls-module.js +5 -21
  198. package/esm/public/cli/commands/schema-grant.js +2 -0
  199. package/esm/public/cli/commands/schema.js +6 -0
  200. package/esm/public/cli/commands/secrets-module.js +2 -0
  201. package/esm/public/cli/commands/secure-table-provision.js +27 -0
  202. package/esm/public/cli/commands/sessions-module.js +4 -0
  203. package/esm/public/cli/commands/site-metadatum.js +3 -0
  204. package/esm/public/cli/commands/site-module.js +2 -0
  205. package/esm/public/cli/commands/site.js +4 -0
  206. package/esm/public/cli/commands/sql-migration.js +7 -0
  207. package/esm/public/cli/commands/store.js +2 -0
  208. package/esm/public/cli/commands/table-grant.js +3 -0
  209. package/esm/public/cli/commands/table-template-module.js +3 -0
  210. package/esm/public/cli/commands/table.js +7 -0
  211. package/esm/public/cli/commands/trigger-function.js +3 -0
  212. package/esm/public/cli/commands/trigger.js +5 -0
  213. package/esm/public/cli/commands/unique-constraint.js +5 -0
  214. package/esm/public/cli/commands/user-auth-module.js +17 -0
  215. package/esm/public/cli/commands/user.js +2 -4
  216. package/esm/public/cli/commands/users-module.js +3 -0
  217. package/esm/public/cli/commands/uuid-module.js +3 -0
  218. package/esm/public/cli/commands/view-grant.js +3 -0
  219. package/esm/public/cli/commands/view-rule.js +4 -0
  220. package/esm/public/cli/commands/view.js +5 -0
  221. package/esm/public/cli/commands.js +15 -17
  222. package/esm/public/cli/executor.d.ts +11 -12
  223. package/esm/public/orm/index.d.ts +17 -19
  224. package/esm/public/orm/index.js +12 -14
  225. package/esm/public/orm/input-types.d.ts +2363 -927
  226. package/esm/public/orm/input-types.js +0 -3
  227. package/esm/public/orm/models/api.d.ts +1 -1
  228. package/esm/public/orm/models/apiModule.d.ts +1 -1
  229. package/esm/public/orm/models/apiSchema.d.ts +1 -1
  230. package/esm/public/orm/models/app.d.ts +1 -1
  231. package/esm/public/orm/models/appAchievement.d.ts +1 -1
  232. package/esm/public/orm/models/appAdminGrant.d.ts +1 -1
  233. package/esm/public/orm/models/appGrant.d.ts +1 -1
  234. package/esm/public/orm/models/appLevel.d.ts +1 -1
  235. package/esm/public/orm/models/appLevelRequirement.d.ts +1 -1
  236. package/esm/public/orm/models/appLimit.d.ts +1 -1
  237. package/esm/public/orm/models/appLimitDefault.d.ts +1 -1
  238. package/esm/public/orm/models/appMembership.d.ts +1 -1
  239. package/esm/public/orm/models/appMembershipDefault.d.ts +1 -1
  240. package/esm/public/orm/models/appOwnerGrant.d.ts +1 -1
  241. package/esm/public/orm/models/appPermission.d.ts +1 -1
  242. package/esm/public/orm/models/appPermissionDefault.d.ts +1 -1
  243. package/esm/public/orm/models/appStep.d.ts +1 -1
  244. package/esm/public/orm/models/astMigration.d.ts +1 -1
  245. package/esm/public/orm/models/auditLog.d.ts +1 -1
  246. package/esm/public/orm/models/checkConstraint.d.ts +1 -1
  247. package/esm/public/orm/models/claimedInvite.d.ts +1 -1
  248. package/esm/public/orm/models/commit.d.ts +1 -1
  249. package/esm/public/orm/models/connectedAccount.d.ts +1 -1
  250. package/esm/public/orm/models/connectedAccountsModule.d.ts +1 -1
  251. package/esm/public/orm/models/cryptoAddress.d.ts +1 -1
  252. package/esm/public/orm/models/cryptoAddressesModule.d.ts +1 -1
  253. package/esm/public/orm/models/cryptoAuthModule.d.ts +1 -1
  254. package/esm/public/orm/models/database.d.ts +1 -1
  255. package/esm/public/orm/models/databaseProvisionModule.d.ts +1 -1
  256. package/esm/public/orm/models/defaultIdsModule.d.ts +1 -1
  257. package/esm/public/orm/models/defaultPrivilege.d.ts +1 -1
  258. package/esm/public/orm/models/denormalizedTableField.d.ts +1 -1
  259. package/esm/public/orm/models/domain.d.ts +1 -1
  260. package/esm/public/orm/models/email.d.ts +1 -1
  261. package/esm/public/orm/models/emailsModule.d.ts +1 -1
  262. package/esm/public/orm/models/encryptedSecretsModule.d.ts +1 -1
  263. package/esm/public/orm/models/field.d.ts +1 -1
  264. package/esm/public/orm/models/fieldModule.d.ts +1 -1
  265. package/esm/public/orm/models/foreignKeyConstraint.d.ts +1 -1
  266. package/esm/public/orm/models/fullTextSearch.d.ts +1 -1
  267. package/esm/public/orm/models/getAllRecord.d.ts +1 -1
  268. package/esm/public/orm/models/hierarchyModule.d.ts +1 -1
  269. package/esm/public/orm/models/index.d.ts +6 -7
  270. package/esm/public/orm/models/index.js +6 -7
  271. package/esm/public/orm/models/indexModel.d.ts +1 -1
  272. package/esm/public/orm/models/invite.d.ts +1 -1
  273. package/esm/public/orm/models/invitesModule.d.ts +1 -1
  274. package/esm/public/orm/models/levelsModule.d.ts +1 -1
  275. package/esm/public/orm/models/limitsModule.d.ts +1 -1
  276. package/esm/public/orm/models/membershipType.d.ts +1 -1
  277. package/esm/public/orm/models/membershipTypesModule.d.ts +1 -1
  278. package/esm/public/orm/models/membershipsModule.d.ts +1 -1
  279. package/esm/public/orm/models/nodeTypeRegistry.d.ts +1 -1
  280. package/esm/public/orm/models/object.d.ts +1 -1
  281. package/esm/public/orm/models/orgAdminGrant.d.ts +1 -1
  282. package/esm/public/orm/models/orgChartEdge.d.ts +1 -1
  283. package/esm/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
  284. package/esm/public/orm/models/orgClaimedInvite.d.ts +1 -1
  285. package/esm/public/orm/models/orgGetManagersRecord.d.ts +1 -1
  286. package/esm/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  287. package/esm/public/orm/models/orgGrant.d.ts +1 -1
  288. package/esm/public/orm/models/orgInvite.d.ts +1 -1
  289. package/esm/public/orm/models/orgLimit.d.ts +1 -1
  290. package/esm/public/orm/models/orgLimitDefault.d.ts +1 -1
  291. package/esm/public/orm/models/orgMember.d.ts +1 -1
  292. package/esm/public/orm/models/orgMembership.d.ts +1 -1
  293. package/esm/public/orm/models/orgMembershipDefault.d.ts +1 -1
  294. package/esm/public/orm/models/orgOwnerGrant.d.ts +1 -1
  295. package/esm/public/orm/models/orgPermission.d.ts +1 -1
  296. package/esm/public/orm/models/orgPermissionDefault.d.ts +1 -1
  297. package/esm/public/orm/models/permissionsModule.d.ts +1 -1
  298. package/esm/public/orm/models/phoneNumber.d.ts +1 -1
  299. package/esm/public/orm/models/phoneNumbersModule.d.ts +1 -1
  300. package/esm/public/orm/models/policy.d.ts +1 -1
  301. package/esm/public/orm/models/primaryKeyConstraint.d.ts +1 -1
  302. package/esm/public/orm/models/profilesModule.d.ts +1 -1
  303. package/esm/public/orm/models/ref.d.ts +1 -1
  304. package/esm/public/orm/models/relationProvision.d.ts +1 -1
  305. package/esm/public/orm/models/rlsModule.d.ts +1 -1
  306. package/esm/public/orm/models/roleType.d.ts +1 -1
  307. package/esm/public/orm/models/schema.d.ts +1 -1
  308. package/esm/public/orm/models/schemaGrant.d.ts +1 -1
  309. package/esm/public/orm/models/secretsModule.d.ts +1 -1
  310. package/esm/public/orm/models/secureTableProvision.d.ts +1 -1
  311. package/esm/public/orm/models/sessionsModule.d.ts +1 -1
  312. package/esm/public/orm/models/site.d.ts +1 -1
  313. package/esm/public/orm/models/siteMetadatum.d.ts +1 -1
  314. package/esm/public/orm/models/siteModule.d.ts +1 -1
  315. package/esm/public/orm/models/siteTheme.d.ts +1 -1
  316. package/esm/public/orm/models/sqlMigration.d.ts +1 -1
  317. package/esm/public/orm/models/store.d.ts +1 -1
  318. package/esm/public/orm/models/table.d.ts +1 -1
  319. package/esm/public/orm/models/tableGrant.d.ts +1 -1
  320. package/esm/public/orm/models/tableTemplateModule.d.ts +1 -1
  321. package/esm/public/orm/models/trigger.d.ts +1 -1
  322. package/esm/public/orm/models/triggerFunction.d.ts +1 -1
  323. package/esm/public/orm/models/uniqueConstraint.d.ts +1 -1
  324. package/esm/public/orm/models/user.d.ts +1 -1
  325. package/esm/public/orm/models/userAuthModule.d.ts +1 -1
  326. package/esm/public/orm/models/usersModule.d.ts +1 -1
  327. package/esm/public/orm/models/uuidModule.d.ts +1 -1
  328. package/esm/public/orm/models/view.d.ts +1 -1
  329. package/esm/public/orm/models/viewGrant.d.ts +1 -1
  330. package/esm/public/orm/models/viewRule.d.ts +1 -1
  331. package/esm/public/orm/models/viewTable.d.ts +1 -1
  332. package/esm/public/orm/mutation/index.d.ts +9 -9
  333. package/esm/public/orm/mutation/index.js +12 -12
  334. package/esm/public/orm/query-builder.js +0 -2
  335. package/objects/cli/commands/commit.js +2 -0
  336. package/objects/cli/commands/object.js +0 -4
  337. package/objects/cli/commands/ref.js +2 -0
  338. package/objects/cli/commands/store.js +2 -0
  339. package/objects/orm/input-types.d.ts +33 -3
  340. package/objects/orm/models/commit.d.ts +1 -1
  341. package/objects/orm/models/getAllRecord.d.ts +1 -1
  342. package/objects/orm/models/object.d.ts +1 -1
  343. package/objects/orm/models/ref.d.ts +1 -1
  344. package/objects/orm/models/store.d.ts +1 -1
  345. package/objects/orm/query-builder.js +0 -2
  346. package/package.json +3 -3
  347. package/public/cli/commands/api-module.js +2 -0
  348. package/public/cli/commands/api.js +5 -0
  349. package/public/cli/commands/app-level-requirement.js +2 -0
  350. package/public/cli/commands/app-level.js +2 -0
  351. package/public/cli/commands/app-permission.js +2 -0
  352. package/public/cli/commands/app.js +4 -0
  353. package/public/cli/commands/ast-migration.js +2 -0
  354. package/public/cli/commands/audit-log.js +2 -0
  355. package/public/cli/commands/check-constraint.js +4 -0
  356. package/public/cli/commands/commit.js +2 -0
  357. package/public/cli/commands/connected-account.js +3 -0
  358. package/public/cli/commands/connected-accounts-module.js +2 -0
  359. package/public/cli/commands/crypto-address.js +2 -0
  360. package/public/cli/commands/crypto-addresses-module.js +3 -0
  361. package/public/cli/commands/crypto-auth-module.js +7 -0
  362. package/public/cli/commands/database-provision-module.js +6 -0
  363. package/public/cli/commands/database.js +4 -0
  364. package/public/cli/commands/default-privilege.js +4 -0
  365. package/public/cli/commands/denormalized-table-field.js +2 -0
  366. package/public/cli/commands/emails-module.js +2 -0
  367. package/public/cli/commands/encrypted-secrets-module.js +2 -0
  368. package/public/cli/commands/field-module.js +2 -0
  369. package/public/cli/commands/field.js +7 -0
  370. package/public/cli/commands/foreign-key-constraint.js +7 -0
  371. package/public/cli/commands/hierarchy-module.js +11 -0
  372. package/public/cli/commands/index.js +46 -0
  373. package/public/cli/commands/invite.js +2 -0
  374. package/public/cli/commands/invites-module.js +5 -0
  375. package/public/cli/commands/levels-module.js +16 -0
  376. package/public/cli/commands/limits-module.js +10 -0
  377. package/public/cli/commands/membership-type.js +3 -0
  378. package/public/cli/commands/membership-types-module.js +2 -0
  379. package/public/cli/commands/memberships-module.js +13 -0
  380. package/public/cli/commands/node-type-registry.js +6 -0
  381. package/public/cli/commands/object.js +0 -4
  382. package/public/cli/commands/org-chart-edge-grant.js +2 -0
  383. package/public/cli/commands/org-chart-edge.js +2 -0
  384. package/public/cli/commands/org-invite.js +2 -0
  385. package/public/cli/commands/org-permission.js +2 -0
  386. package/public/cli/commands/permissions-module.js +8 -0
  387. package/public/cli/commands/phone-number.js +3 -0
  388. package/public/cli/commands/phone-numbers-module.js +2 -0
  389. package/public/cli/commands/policy.js +6 -0
  390. package/public/cli/commands/primary-key-constraint.js +4 -0
  391. package/public/cli/commands/profiles-module.js +6 -0
  392. package/public/cli/commands/ref.js +2 -0
  393. package/public/cli/commands/relation-provision.js +11 -0
  394. package/public/cli/commands/rls-module.js +5 -21
  395. package/public/cli/commands/schema-grant.js +2 -0
  396. package/public/cli/commands/schema.js +6 -0
  397. package/public/cli/commands/secrets-module.js +2 -0
  398. package/public/cli/commands/secure-table-provision.js +27 -0
  399. package/public/cli/commands/sessions-module.js +4 -0
  400. package/public/cli/commands/site-metadatum.js +3 -0
  401. package/public/cli/commands/site-module.js +2 -0
  402. package/public/cli/commands/site.js +4 -0
  403. package/public/cli/commands/sql-migration.js +7 -0
  404. package/public/cli/commands/store.js +2 -0
  405. package/public/cli/commands/table-grant.js +3 -0
  406. package/public/cli/commands/table-template-module.js +3 -0
  407. package/public/cli/commands/table.js +7 -0
  408. package/public/cli/commands/trigger-function.js +3 -0
  409. package/public/cli/commands/trigger.js +5 -0
  410. package/public/cli/commands/unique-constraint.js +5 -0
  411. package/public/cli/commands/user-auth-module.js +17 -0
  412. package/public/cli/commands/user.js +2 -4
  413. package/public/cli/commands/users-module.js +3 -0
  414. package/public/cli/commands/uuid-module.js +3 -0
  415. package/public/cli/commands/view-grant.js +3 -0
  416. package/public/cli/commands/view-rule.js +4 -0
  417. package/public/cli/commands/view.js +5 -0
  418. package/public/cli/commands.js +15 -17
  419. package/public/cli/executor.d.ts +11 -12
  420. package/public/orm/index.d.ts +17 -19
  421. package/public/orm/index.js +12 -14
  422. package/public/orm/input-types.d.ts +2363 -927
  423. package/public/orm/input-types.js +0 -3
  424. package/public/orm/models/api.d.ts +1 -1
  425. package/public/orm/models/apiModule.d.ts +1 -1
  426. package/public/orm/models/apiSchema.d.ts +1 -1
  427. package/public/orm/models/app.d.ts +1 -1
  428. package/public/orm/models/appAchievement.d.ts +1 -1
  429. package/public/orm/models/appAdminGrant.d.ts +1 -1
  430. package/public/orm/models/appGrant.d.ts +1 -1
  431. package/public/orm/models/appLevel.d.ts +1 -1
  432. package/public/orm/models/appLevelRequirement.d.ts +1 -1
  433. package/public/orm/models/appLimit.d.ts +1 -1
  434. package/public/orm/models/appLimitDefault.d.ts +1 -1
  435. package/public/orm/models/appMembership.d.ts +1 -1
  436. package/public/orm/models/appMembershipDefault.d.ts +1 -1
  437. package/public/orm/models/appOwnerGrant.d.ts +1 -1
  438. package/public/orm/models/appPermission.d.ts +1 -1
  439. package/public/orm/models/appPermissionDefault.d.ts +1 -1
  440. package/public/orm/models/appStep.d.ts +1 -1
  441. package/public/orm/models/astMigration.d.ts +1 -1
  442. package/public/orm/models/auditLog.d.ts +1 -1
  443. package/public/orm/models/checkConstraint.d.ts +1 -1
  444. package/public/orm/models/claimedInvite.d.ts +1 -1
  445. package/public/orm/models/commit.d.ts +1 -1
  446. package/public/orm/models/connectedAccount.d.ts +1 -1
  447. package/public/orm/models/connectedAccountsModule.d.ts +1 -1
  448. package/public/orm/models/cryptoAddress.d.ts +1 -1
  449. package/public/orm/models/cryptoAddressesModule.d.ts +1 -1
  450. package/public/orm/models/cryptoAuthModule.d.ts +1 -1
  451. package/public/orm/models/database.d.ts +1 -1
  452. package/public/orm/models/databaseProvisionModule.d.ts +1 -1
  453. package/public/orm/models/defaultIdsModule.d.ts +1 -1
  454. package/public/orm/models/defaultPrivilege.d.ts +1 -1
  455. package/public/orm/models/denormalizedTableField.d.ts +1 -1
  456. package/public/orm/models/domain.d.ts +1 -1
  457. package/public/orm/models/email.d.ts +1 -1
  458. package/public/orm/models/emailsModule.d.ts +1 -1
  459. package/public/orm/models/encryptedSecretsModule.d.ts +1 -1
  460. package/public/orm/models/field.d.ts +1 -1
  461. package/public/orm/models/fieldModule.d.ts +1 -1
  462. package/public/orm/models/foreignKeyConstraint.d.ts +1 -1
  463. package/public/orm/models/fullTextSearch.d.ts +1 -1
  464. package/public/orm/models/getAllRecord.d.ts +1 -1
  465. package/public/orm/models/hierarchyModule.d.ts +1 -1
  466. package/public/orm/models/index.d.ts +6 -7
  467. package/public/orm/models/index.js +15 -17
  468. package/public/orm/models/indexModel.d.ts +1 -1
  469. package/public/orm/models/invite.d.ts +1 -1
  470. package/public/orm/models/invitesModule.d.ts +1 -1
  471. package/public/orm/models/levelsModule.d.ts +1 -1
  472. package/public/orm/models/limitsModule.d.ts +1 -1
  473. package/public/orm/models/membershipType.d.ts +1 -1
  474. package/public/orm/models/membershipTypesModule.d.ts +1 -1
  475. package/public/orm/models/membershipsModule.d.ts +1 -1
  476. package/public/orm/models/nodeTypeRegistry.d.ts +1 -1
  477. package/public/orm/models/object.d.ts +1 -1
  478. package/public/orm/models/orgAdminGrant.d.ts +1 -1
  479. package/public/orm/models/orgChartEdge.d.ts +1 -1
  480. package/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
  481. package/public/orm/models/orgClaimedInvite.d.ts +1 -1
  482. package/public/orm/models/orgGetManagersRecord.d.ts +1 -1
  483. package/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  484. package/public/orm/models/orgGrant.d.ts +1 -1
  485. package/public/orm/models/orgInvite.d.ts +1 -1
  486. package/public/orm/models/orgLimit.d.ts +1 -1
  487. package/public/orm/models/orgLimitDefault.d.ts +1 -1
  488. package/public/orm/models/orgMember.d.ts +1 -1
  489. package/public/orm/models/orgMembership.d.ts +1 -1
  490. package/public/orm/models/orgMembershipDefault.d.ts +1 -1
  491. package/public/orm/models/orgOwnerGrant.d.ts +1 -1
  492. package/public/orm/models/orgPermission.d.ts +1 -1
  493. package/public/orm/models/orgPermissionDefault.d.ts +1 -1
  494. package/public/orm/models/permissionsModule.d.ts +1 -1
  495. package/public/orm/models/phoneNumber.d.ts +1 -1
  496. package/public/orm/models/phoneNumbersModule.d.ts +1 -1
  497. package/public/orm/models/policy.d.ts +1 -1
  498. package/public/orm/models/primaryKeyConstraint.d.ts +1 -1
  499. package/public/orm/models/profilesModule.d.ts +1 -1
  500. package/public/orm/models/ref.d.ts +1 -1
  501. package/public/orm/models/relationProvision.d.ts +1 -1
  502. package/public/orm/models/rlsModule.d.ts +1 -1
  503. package/public/orm/models/roleType.d.ts +1 -1
  504. package/public/orm/models/schema.d.ts +1 -1
  505. package/public/orm/models/schemaGrant.d.ts +1 -1
  506. package/public/orm/models/secretsModule.d.ts +1 -1
  507. package/public/orm/models/secureTableProvision.d.ts +1 -1
  508. package/public/orm/models/sessionsModule.d.ts +1 -1
  509. package/public/orm/models/site.d.ts +1 -1
  510. package/public/orm/models/siteMetadatum.d.ts +1 -1
  511. package/public/orm/models/siteModule.d.ts +1 -1
  512. package/public/orm/models/siteTheme.d.ts +1 -1
  513. package/public/orm/models/sqlMigration.d.ts +1 -1
  514. package/public/orm/models/store.d.ts +1 -1
  515. package/public/orm/models/table.d.ts +1 -1
  516. package/public/orm/models/tableGrant.d.ts +1 -1
  517. package/public/orm/models/tableTemplateModule.d.ts +1 -1
  518. package/public/orm/models/trigger.d.ts +1 -1
  519. package/public/orm/models/triggerFunction.d.ts +1 -1
  520. package/public/orm/models/uniqueConstraint.d.ts +1 -1
  521. package/public/orm/models/user.d.ts +1 -1
  522. package/public/orm/models/userAuthModule.d.ts +1 -1
  523. package/public/orm/models/usersModule.d.ts +1 -1
  524. package/public/orm/models/uuidModule.d.ts +1 -1
  525. package/public/orm/models/view.d.ts +1 -1
  526. package/public/orm/models/viewGrant.d.ts +1 -1
  527. package/public/orm/models/viewRule.d.ts +1 -1
  528. package/public/orm/models/viewTable.d.ts +1 -1
  529. package/public/orm/mutation/index.d.ts +9 -9
  530. package/public/orm/mutation/index.js +12 -12
  531. package/public/orm/query-builder.js +0 -2
  532. package/esm/public/cli/commands/table-module.d.ts +0 -8
  533. package/esm/public/cli/commands/table-module.js +0 -354
  534. package/esm/public/orm/models/tableModule.d.ts +0 -56
  535. package/esm/public/orm/models/tableModule.js +0 -94
  536. package/public/cli/commands/table-module.d.ts +0 -8
  537. package/public/cli/commands/table-module.js +0 -356
  538. package/public/orm/models/tableModule.d.ts +0 -56
  539. package/public/orm/models/tableModule.js +0 -98
@@ -17,6 +17,8 @@ const fieldSchema = {
17
17
  indexParams: 'json',
18
18
  whereClause: 'json',
19
19
  isUnique: 'boolean',
20
+ options: 'json',
21
+ opClasses: 'string',
20
22
  smartTags: 'json',
21
23
  category: 'string',
22
24
  module: 'string',
@@ -24,6 +26,10 @@ const fieldSchema = {
24
26
  tags: 'string',
25
27
  createdAt: 'string',
26
28
  updatedAt: 'string',
29
+ nameTrgmSimilarity: 'float',
30
+ accessMethodTrgmSimilarity: 'float',
31
+ moduleTrgmSimilarity: 'float',
32
+ searchScore: 'float',
27
33
  };
28
34
  const usage = '\nindex <command>\n\nCommands:\n list List all index records\n get Get a index by ID\n create Create a new index\n update Update an existing index\n delete Delete a index\n\n --help, -h Show this help message\n';
29
35
  export default async (argv, prompter, _options) => {
@@ -78,6 +84,8 @@ async function handleList(_argv, _prompter) {
78
84
  indexParams: true,
79
85
  whereClause: true,
80
86
  isUnique: true,
87
+ options: true,
88
+ opClasses: true,
81
89
  smartTags: true,
82
90
  category: true,
83
91
  module: true,
@@ -123,6 +131,8 @@ async function handleGet(argv, prompter) {
123
131
  indexParams: true,
124
132
  whereClause: true,
125
133
  isUnique: true,
134
+ options: true,
135
+ opClasses: true,
126
136
  smartTags: true,
127
137
  category: true,
128
138
  module: true,
@@ -207,6 +217,20 @@ async function handleCreate(argv, prompter) {
207
217
  required: false,
208
218
  skipPrompt: true,
209
219
  },
220
+ {
221
+ type: 'json',
222
+ name: 'options',
223
+ message: 'options',
224
+ required: false,
225
+ skipPrompt: true,
226
+ },
227
+ {
228
+ type: 'text',
229
+ name: 'opClasses',
230
+ message: 'opClasses',
231
+ required: false,
232
+ skipPrompt: true,
233
+ },
210
234
  {
211
235
  type: 'json',
212
236
  name: 'smartTags',
@@ -258,6 +282,8 @@ async function handleCreate(argv, prompter) {
258
282
  indexParams: cleanedData.indexParams,
259
283
  whereClause: cleanedData.whereClause,
260
284
  isUnique: cleanedData.isUnique,
285
+ options: cleanedData.options,
286
+ opClasses: cleanedData.opClasses,
261
287
  smartTags: cleanedData.smartTags,
262
288
  category: cleanedData.category,
263
289
  module: cleanedData.module,
@@ -275,6 +301,8 @@ async function handleCreate(argv, prompter) {
275
301
  indexParams: true,
276
302
  whereClause: true,
277
303
  isUnique: true,
304
+ options: true,
305
+ opClasses: true,
278
306
  smartTags: true,
279
307
  category: true,
280
308
  module: true,
@@ -365,6 +393,20 @@ async function handleUpdate(argv, prompter) {
365
393
  required: false,
366
394
  skipPrompt: true,
367
395
  },
396
+ {
397
+ type: 'json',
398
+ name: 'options',
399
+ message: 'options',
400
+ required: false,
401
+ skipPrompt: true,
402
+ },
403
+ {
404
+ type: 'text',
405
+ name: 'opClasses',
406
+ message: 'opClasses',
407
+ required: false,
408
+ skipPrompt: true,
409
+ },
368
410
  {
369
411
  type: 'json',
370
412
  name: 'smartTags',
@@ -419,6 +461,8 @@ async function handleUpdate(argv, prompter) {
419
461
  indexParams: cleanedData.indexParams,
420
462
  whereClause: cleanedData.whereClause,
421
463
  isUnique: cleanedData.isUnique,
464
+ options: cleanedData.options,
465
+ opClasses: cleanedData.opClasses,
422
466
  smartTags: cleanedData.smartTags,
423
467
  category: cleanedData.category,
424
468
  module: cleanedData.module,
@@ -436,6 +480,8 @@ async function handleUpdate(argv, prompter) {
436
480
  indexParams: true,
437
481
  whereClause: true,
438
482
  isUnique: true,
483
+ options: true,
484
+ opClasses: true,
439
485
  smartTags: true,
440
486
  category: true,
441
487
  module: true,
@@ -19,6 +19,8 @@ const fieldSchema = {
19
19
  expiresAt: 'string',
20
20
  createdAt: 'string',
21
21
  updatedAt: 'string',
22
+ inviteTokenTrgmSimilarity: 'float',
23
+ searchScore: 'float',
22
24
  };
23
25
  const usage = '\ninvite <command>\n\nCommands:\n list List all invite records\n get Get a invite by ID\n create Create a new invite\n update Update an existing invite\n delete Delete a invite\n\n --help, -h Show this help message\n';
24
26
  export default async (argv, prompter, _options) => {
@@ -21,6 +21,11 @@ const fieldSchema = {
21
21
  prefix: 'string',
22
22
  membershipType: 'int',
23
23
  entityTableId: 'uuid',
24
+ invitesTableNameTrgmSimilarity: 'float',
25
+ claimedInvitesTableNameTrgmSimilarity: 'float',
26
+ submitInviteCodeFunctionTrgmSimilarity: 'float',
27
+ prefixTrgmSimilarity: 'float',
28
+ searchScore: 'float',
24
29
  };
25
30
  const usage = '\ninvites-module <command>\n\nCommands:\n list List all invitesModule records\n get Get a invitesModule by ID\n create Create a new invitesModule\n update Update an existing invitesModule\n delete Delete a invitesModule\n\n --help, -h Show this help message\n';
26
31
  export default async (argv, prompter, _options) => {
@@ -33,6 +33,22 @@ const fieldSchema = {
33
33
  membershipType: 'int',
34
34
  entityTableId: 'uuid',
35
35
  actorTableId: 'uuid',
36
+ stepsTableNameTrgmSimilarity: 'float',
37
+ achievementsTableNameTrgmSimilarity: 'float',
38
+ levelsTableNameTrgmSimilarity: 'float',
39
+ levelRequirementsTableNameTrgmSimilarity: 'float',
40
+ completedStepTrgmSimilarity: 'float',
41
+ incompletedStepTrgmSimilarity: 'float',
42
+ tgAchievementTrgmSimilarity: 'float',
43
+ tgAchievementToggleTrgmSimilarity: 'float',
44
+ tgAchievementToggleBooleanTrgmSimilarity: 'float',
45
+ tgAchievementBooleanTrgmSimilarity: 'float',
46
+ upsertAchievementTrgmSimilarity: 'float',
47
+ tgUpdateAchievementsTrgmSimilarity: 'float',
48
+ stepsRequiredTrgmSimilarity: 'float',
49
+ levelAchievedTrgmSimilarity: 'float',
50
+ prefixTrgmSimilarity: 'float',
51
+ searchScore: 'float',
36
52
  };
37
53
  const usage = '\nlevels-module <command>\n\nCommands:\n list List all levelsModule records\n get Get a levelsModule by ID\n create Create a new levelsModule\n update Update an existing levelsModule\n delete Delete a levelsModule\n\n --help, -h Show this help message\n';
38
54
  export default async (argv, prompter, _options) => {
@@ -25,6 +25,16 @@ const fieldSchema = {
25
25
  membershipType: 'int',
26
26
  entityTableId: 'uuid',
27
27
  actorTableId: 'uuid',
28
+ tableNameTrgmSimilarity: 'float',
29
+ defaultTableNameTrgmSimilarity: 'float',
30
+ limitIncrementFunctionTrgmSimilarity: 'float',
31
+ limitDecrementFunctionTrgmSimilarity: 'float',
32
+ limitIncrementTriggerTrgmSimilarity: 'float',
33
+ limitDecrementTriggerTrgmSimilarity: 'float',
34
+ limitUpdateTriggerTrgmSimilarity: 'float',
35
+ limitCheckFunctionTrgmSimilarity: 'float',
36
+ prefixTrgmSimilarity: 'float',
37
+ searchScore: 'float',
28
38
  };
29
39
  const usage = '\nlimits-module <command>\n\nCommands:\n list List all limitsModule records\n get Get a limitsModule by ID\n create Create a new limitsModule\n update Update an existing limitsModule\n delete Delete a limitsModule\n\n --help, -h Show this help message\n';
30
40
  export default async (argv, prompter, _options) => {
@@ -11,6 +11,9 @@ const fieldSchema = {
11
11
  name: 'string',
12
12
  description: 'string',
13
13
  prefix: 'string',
14
+ descriptionTrgmSimilarity: 'float',
15
+ prefixTrgmSimilarity: 'float',
16
+ searchScore: 'float',
14
17
  };
15
18
  const usage = '\nmembership-type <command>\n\nCommands:\n list List all membershipType records\n get Get a membershipType by ID\n create Create a new membershipType\n update Update an existing membershipType\n delete Delete a membershipType\n\n --help, -h Show this help message\n';
16
19
  export default async (argv, prompter, _options) => {
@@ -12,6 +12,8 @@ const fieldSchema = {
12
12
  schemaId: 'uuid',
13
13
  tableId: 'uuid',
14
14
  tableName: 'string',
15
+ tableNameTrgmSimilarity: 'float',
16
+ searchScore: 'float',
15
17
  };
16
18
  const usage = '\nmembership-types-module <command>\n\nCommands:\n list List all membershipTypesModule records\n get Get a membershipTypesModule by ID\n create Create a new membershipTypesModule\n update Update an existing membershipTypesModule\n delete Delete a membershipTypesModule\n\n --help, -h Show this help message\n';
17
19
  export default async (argv, prompter, _options) => {
@@ -38,6 +38,19 @@ const fieldSchema = {
38
38
  entityIdsByMask: 'string',
39
39
  entityIdsByPerm: 'string',
40
40
  entityIdsFunction: 'string',
41
+ membershipsTableNameTrgmSimilarity: 'float',
42
+ membersTableNameTrgmSimilarity: 'float',
43
+ membershipDefaultsTableNameTrgmSimilarity: 'float',
44
+ grantsTableNameTrgmSimilarity: 'float',
45
+ adminGrantsTableNameTrgmSimilarity: 'float',
46
+ ownerGrantsTableNameTrgmSimilarity: 'float',
47
+ prefixTrgmSimilarity: 'float',
48
+ actorMaskCheckTrgmSimilarity: 'float',
49
+ actorPermCheckTrgmSimilarity: 'float',
50
+ entityIdsByMaskTrgmSimilarity: 'float',
51
+ entityIdsByPermTrgmSimilarity: 'float',
52
+ entityIdsFunctionTrgmSimilarity: 'float',
53
+ searchScore: 'float',
41
54
  };
42
55
  const usage = '\nmemberships-module <command>\n\nCommands:\n list List all membershipsModule records\n get Get a membershipsModule by ID\n create Create a new membershipsModule\n update Update an existing membershipsModule\n delete Delete a membershipsModule\n\n --help, -h Show this help message\n';
43
56
  export default async (argv, prompter, _options) => {
@@ -16,6 +16,12 @@ const fieldSchema = {
16
16
  tags: 'string',
17
17
  createdAt: 'string',
18
18
  updatedAt: 'string',
19
+ nameTrgmSimilarity: 'float',
20
+ slugTrgmSimilarity: 'float',
21
+ categoryTrgmSimilarity: 'float',
22
+ displayNameTrgmSimilarity: 'float',
23
+ descriptionTrgmSimilarity: 'float',
24
+ searchScore: 'float',
19
25
  };
20
26
  const usage = '\nnode-type-registry <command>\n\nCommands:\n list List all nodeTypeRegistry records\n get Get a nodeTypeRegistry by ID\n create Create a new nodeTypeRegistry\n update Update an existing nodeTypeRegistry\n delete Delete a nodeTypeRegistry\n\n --help, -h Show this help message\n';
21
27
  export default async (argv, prompter, _options) => {
@@ -59,7 +59,6 @@ async function handleList(_argv, _prompter) {
59
59
  const result = await client.object
60
60
  .findMany({
61
61
  select: {
62
- hashUuid: true,
63
62
  id: true,
64
63
  databaseId: true,
65
64
  kids: true,
@@ -95,7 +94,6 @@ async function handleGet(argv, prompter) {
95
94
  .findOne({
96
95
  id: answers.id,
97
96
  select: {
98
- hashUuid: true,
99
97
  id: true,
100
98
  databaseId: true,
101
99
  kids: true,
@@ -167,7 +165,6 @@ async function handleCreate(argv, prompter) {
167
165
  frzn: cleanedData.frzn,
168
166
  },
169
167
  select: {
170
- hashUuid: true,
171
168
  id: true,
172
169
  databaseId: true,
173
170
  kids: true,
@@ -248,7 +245,6 @@ async function handleUpdate(argv, prompter) {
248
245
  frzn: cleanedData.frzn,
249
246
  },
250
247
  select: {
251
- hashUuid: true,
252
248
  id: true,
253
249
  databaseId: true,
254
250
  kids: true,
@@ -16,6 +16,8 @@ const fieldSchema = {
16
16
  positionTitle: 'string',
17
17
  positionLevel: 'int',
18
18
  createdAt: 'string',
19
+ positionTitleTrgmSimilarity: 'float',
20
+ searchScore: 'float',
19
21
  };
20
22
  const usage = '\norg-chart-edge-grant <command>\n\nCommands:\n list List all orgChartEdgeGrant records\n get Get a orgChartEdgeGrant by ID\n create Create a new orgChartEdgeGrant\n update Update an existing orgChartEdgeGrant\n delete Delete a orgChartEdgeGrant\n\n --help, -h Show this help message\n';
21
23
  export default async (argv, prompter, _options) => {
@@ -15,6 +15,8 @@ const fieldSchema = {
15
15
  parentId: 'uuid',
16
16
  positionTitle: 'string',
17
17
  positionLevel: 'int',
18
+ positionTitleTrgmSimilarity: 'float',
19
+ searchScore: 'float',
18
20
  };
19
21
  const usage = '\norg-chart-edge <command>\n\nCommands:\n list List all orgChartEdge records\n get Get a orgChartEdge by ID\n create Create a new orgChartEdge\n update Update an existing orgChartEdge\n delete Delete a orgChartEdge\n\n --help, -h Show this help message\n';
20
22
  export default async (argv, prompter, _options) => {
@@ -21,6 +21,8 @@ const fieldSchema = {
21
21
  createdAt: 'string',
22
22
  updatedAt: 'string',
23
23
  entityId: 'uuid',
24
+ inviteTokenTrgmSimilarity: 'float',
25
+ searchScore: 'float',
24
26
  };
25
27
  const usage = '\norg-invite <command>\n\nCommands:\n list List all orgInvite records\n get Get a orgInvite by ID\n create Create a new orgInvite\n update Update an existing orgInvite\n delete Delete a orgInvite\n\n --help, -h Show this help message\n';
26
28
  export default async (argv, prompter, _options) => {
@@ -12,6 +12,8 @@ const fieldSchema = {
12
12
  bitnum: 'int',
13
13
  bitstr: 'string',
14
14
  description: 'string',
15
+ descriptionTrgmSimilarity: 'float',
16
+ searchScore: 'float',
15
17
  };
16
18
  const usage = '\norg-permission <command>\n\nCommands:\n list List all orgPermission records\n get Get a orgPermission by ID\n create Create a new orgPermission\n update Update an existing orgPermission\n delete Delete a orgPermission\n\n --help, -h Show this help message\n';
17
19
  export default async (argv, prompter, _options) => {
@@ -24,6 +24,14 @@ const fieldSchema = {
24
24
  getMask: 'string',
25
25
  getByMask: 'string',
26
26
  getMaskByName: 'string',
27
+ tableNameTrgmSimilarity: 'float',
28
+ defaultTableNameTrgmSimilarity: 'float',
29
+ prefixTrgmSimilarity: 'float',
30
+ getPaddedMaskTrgmSimilarity: 'float',
31
+ getMaskTrgmSimilarity: 'float',
32
+ getByMaskTrgmSimilarity: 'float',
33
+ getMaskByNameTrgmSimilarity: 'float',
34
+ searchScore: 'float',
27
35
  };
28
36
  const usage = '\npermissions-module <command>\n\nCommands:\n list List all permissionsModule records\n get Get a permissionsModule by ID\n create Create a new permissionsModule\n update Update an existing permissionsModule\n delete Delete a permissionsModule\n\n --help, -h Show this help message\n';
29
37
  export default async (argv, prompter, _options) => {
@@ -15,6 +15,9 @@ const fieldSchema = {
15
15
  isPrimary: 'boolean',
16
16
  createdAt: 'string',
17
17
  updatedAt: 'string',
18
+ ccTrgmSimilarity: 'float',
19
+ numberTrgmSimilarity: 'float',
20
+ searchScore: 'float',
18
21
  };
19
22
  const usage = '\nphone-number <command>\n\nCommands:\n list List all phoneNumber records\n get Get a phoneNumber by ID\n create Create a new phoneNumber\n update Update an existing phoneNumber\n delete Delete a phoneNumber\n\n --help, -h Show this help message\n';
20
23
  export default async (argv, prompter, _options) => {
@@ -14,6 +14,8 @@ const fieldSchema = {
14
14
  tableId: 'uuid',
15
15
  ownerTableId: 'uuid',
16
16
  tableName: 'string',
17
+ tableNameTrgmSimilarity: 'float',
18
+ searchScore: 'float',
17
19
  };
18
20
  const usage = '\nphone-numbers-module <command>\n\nCommands:\n list List all phoneNumbersModule records\n get Get a phoneNumbersModule by ID\n create Create a new phoneNumbersModule\n update Update an existing phoneNumbersModule\n delete Delete a phoneNumbersModule\n\n --help, -h Show this help message\n';
19
21
  export default async (argv, prompter, _options) => {
@@ -24,6 +24,12 @@ const fieldSchema = {
24
24
  tags: 'string',
25
25
  createdAt: 'string',
26
26
  updatedAt: 'string',
27
+ nameTrgmSimilarity: 'float',
28
+ granteeNameTrgmSimilarity: 'float',
29
+ privilegeTrgmSimilarity: 'float',
30
+ policyTypeTrgmSimilarity: 'float',
31
+ moduleTrgmSimilarity: 'float',
32
+ searchScore: 'float',
27
33
  };
28
34
  const usage = '\npolicy <command>\n\nCommands:\n list List all policy records\n get Get a policy by ID\n create Create a new policy\n update Update an existing policy\n delete Delete a policy\n\n --help, -h Show this help message\n';
29
35
  export default async (argv, prompter, _options) => {
@@ -20,6 +20,10 @@ const fieldSchema = {
20
20
  tags: 'string',
21
21
  createdAt: 'string',
22
22
  updatedAt: 'string',
23
+ nameTrgmSimilarity: 'float',
24
+ typeTrgmSimilarity: 'float',
25
+ moduleTrgmSimilarity: 'float',
26
+ searchScore: 'float',
23
27
  };
24
28
  const usage = '\nprimary-key-constraint <command>\n\nCommands:\n list List all primaryKeyConstraint records\n get Get a primaryKeyConstraint by ID\n create Create a new primaryKeyConstraint\n update Update an existing primaryKeyConstraint\n delete Delete a primaryKeyConstraint\n\n --help, -h Show this help message\n';
25
29
  export default async (argv, prompter, _options) => {
@@ -25,6 +25,12 @@ const fieldSchema = {
25
25
  permissionsTableId: 'uuid',
26
26
  membershipsTableId: 'uuid',
27
27
  prefix: 'string',
28
+ tableNameTrgmSimilarity: 'float',
29
+ profilePermissionsTableNameTrgmSimilarity: 'float',
30
+ profileGrantsTableNameTrgmSimilarity: 'float',
31
+ profileDefinitionGrantsTableNameTrgmSimilarity: 'float',
32
+ prefixTrgmSimilarity: 'float',
33
+ searchScore: 'float',
28
34
  };
29
35
  const usage = '\nprofiles-module <command>\n\nCommands:\n list List all profilesModule records\n get Get a profilesModule by ID\n create Create a new profilesModule\n update Update an existing profilesModule\n delete Delete a profilesModule\n\n --help, -h Show this help message\n';
30
36
  export default async (argv, prompter, _options) => {
@@ -12,6 +12,8 @@ const fieldSchema = {
12
12
  databaseId: 'uuid',
13
13
  storeId: 'uuid',
14
14
  commitId: 'uuid',
15
+ nameTrgmSimilarity: 'float',
16
+ searchScore: 'float',
15
17
  };
16
18
  const usage = '\nref <command>\n\nCommands:\n list List all ref records\n get Get a ref by ID\n create Create a new ref\n update Update an existing ref\n delete Delete a ref\n\n --help, -h Show this help message\n';
17
19
  export default async (argv, prompter, _options) => {
@@ -35,6 +35,17 @@ const fieldSchema = {
35
35
  outJunctionTableId: 'uuid',
36
36
  outSourceFieldId: 'uuid',
37
37
  outTargetFieldId: 'uuid',
38
+ relationTypeTrgmSimilarity: 'float',
39
+ fieldNameTrgmSimilarity: 'float',
40
+ deleteActionTrgmSimilarity: 'float',
41
+ junctionTableNameTrgmSimilarity: 'float',
42
+ sourceFieldNameTrgmSimilarity: 'float',
43
+ targetFieldNameTrgmSimilarity: 'float',
44
+ nodeTypeTrgmSimilarity: 'float',
45
+ policyTypeTrgmSimilarity: 'float',
46
+ policyRoleTrgmSimilarity: 'float',
47
+ policyNameTrgmSimilarity: 'float',
48
+ searchScore: 'float',
38
49
  };
39
50
  const usage = '\nrelation-provision <command>\n\nCommands:\n list List all relationProvision records\n get Get a relationProvision by ID\n create Create a new relationProvision\n update Update an existing relationProvision\n delete Delete a relationProvision\n\n --help, -h Show this help message\n';
40
51
  export default async (argv, prompter, _options) => {
@@ -9,7 +9,6 @@ import { coerceAnswers, stripUndefined } from '../utils';
9
9
  const fieldSchema = {
10
10
  id: 'uuid',
11
11
  databaseId: 'uuid',
12
- apiId: 'uuid',
13
12
  schemaId: 'uuid',
14
13
  privateSchemaId: 'uuid',
15
14
  sessionCredentialsTableId: 'uuid',
@@ -19,6 +18,11 @@ const fieldSchema = {
19
18
  authenticateStrict: 'string',
20
19
  currentRole: 'string',
21
20
  currentRoleId: 'string',
21
+ authenticateTrgmSimilarity: 'float',
22
+ authenticateStrictTrgmSimilarity: 'float',
23
+ currentRoleTrgmSimilarity: 'float',
24
+ currentRoleIdTrgmSimilarity: 'float',
25
+ searchScore: 'float',
22
26
  };
23
27
  const usage = '\nrls-module <command>\n\nCommands:\n list List all rlsModule records\n get Get a rlsModule by ID\n create Create a new rlsModule\n update Update an existing rlsModule\n delete Delete a rlsModule\n\n --help, -h Show this help message\n';
24
28
  export default async (argv, prompter, _options) => {
@@ -65,7 +69,6 @@ async function handleList(_argv, _prompter) {
65
69
  select: {
66
70
  id: true,
67
71
  databaseId: true,
68
- apiId: true,
69
72
  schemaId: true,
70
73
  privateSchemaId: true,
71
74
  sessionCredentialsTableId: true,
@@ -105,7 +108,6 @@ async function handleGet(argv, prompter) {
105
108
  select: {
106
109
  id: true,
107
110
  databaseId: true,
108
- apiId: true,
109
111
  schemaId: true,
110
112
  privateSchemaId: true,
111
113
  sessionCredentialsTableId: true,
@@ -137,13 +139,6 @@ async function handleCreate(argv, prompter) {
137
139
  message: 'databaseId',
138
140
  required: true,
139
141
  },
140
- {
141
- type: 'text',
142
- name: 'apiId',
143
- message: 'apiId',
144
- required: false,
145
- skipPrompt: true,
146
- },
147
142
  {
148
143
  type: 'text',
149
144
  name: 'schemaId',
@@ -215,7 +210,6 @@ async function handleCreate(argv, prompter) {
215
210
  .create({
216
211
  data: {
217
212
  databaseId: cleanedData.databaseId,
218
- apiId: cleanedData.apiId,
219
213
  schemaId: cleanedData.schemaId,
220
214
  privateSchemaId: cleanedData.privateSchemaId,
221
215
  sessionCredentialsTableId: cleanedData.sessionCredentialsTableId,
@@ -229,7 +223,6 @@ async function handleCreate(argv, prompter) {
229
223
  select: {
230
224
  id: true,
231
225
  databaseId: true,
232
- apiId: true,
233
226
  schemaId: true,
234
227
  privateSchemaId: true,
235
228
  sessionCredentialsTableId: true,
@@ -267,13 +260,6 @@ async function handleUpdate(argv, prompter) {
267
260
  message: 'databaseId',
268
261
  required: false,
269
262
  },
270
- {
271
- type: 'text',
272
- name: 'apiId',
273
- message: 'apiId',
274
- required: false,
275
- skipPrompt: true,
276
- },
277
263
  {
278
264
  type: 'text',
279
265
  name: 'schemaId',
@@ -348,7 +334,6 @@ async function handleUpdate(argv, prompter) {
348
334
  },
349
335
  data: {
350
336
  databaseId: cleanedData.databaseId,
351
- apiId: cleanedData.apiId,
352
337
  schemaId: cleanedData.schemaId,
353
338
  privateSchemaId: cleanedData.privateSchemaId,
354
339
  sessionCredentialsTableId: cleanedData.sessionCredentialsTableId,
@@ -362,7 +347,6 @@ async function handleUpdate(argv, prompter) {
362
347
  select: {
363
348
  id: true,
364
349
  databaseId: true,
365
- apiId: true,
366
350
  schemaId: true,
367
351
  privateSchemaId: true,
368
352
  sessionCredentialsTableId: true,
@@ -13,6 +13,8 @@ const fieldSchema = {
13
13
  granteeName: 'string',
14
14
  createdAt: 'string',
15
15
  updatedAt: 'string',
16
+ granteeNameTrgmSimilarity: 'float',
17
+ searchScore: 'float',
16
18
  };
17
19
  const usage = '\nschema-grant <command>\n\nCommands:\n list List all schemaGrant records\n get Get a schemaGrant by ID\n create Create a new schemaGrant\n update Update an existing schemaGrant\n delete Delete a schemaGrant\n\n --help, -h Show this help message\n';
18
20
  export default async (argv, prompter, _options) => {
@@ -21,6 +21,12 @@ const fieldSchema = {
21
21
  isPublic: 'boolean',
22
22
  createdAt: 'string',
23
23
  updatedAt: 'string',
24
+ nameTrgmSimilarity: 'float',
25
+ schemaNameTrgmSimilarity: 'float',
26
+ labelTrgmSimilarity: 'float',
27
+ descriptionTrgmSimilarity: 'float',
28
+ moduleTrgmSimilarity: 'float',
29
+ searchScore: 'float',
24
30
  };
25
31
  const usage = '\nschema <command>\n\nCommands:\n list List all schema records\n get Get a schema by ID\n create Create a new schema\n update Update an existing schema\n delete Delete a schema\n\n --help, -h Show this help message\n';
26
32
  export default async (argv, prompter, _options) => {
@@ -12,6 +12,8 @@ const fieldSchema = {
12
12
  schemaId: 'uuid',
13
13
  tableId: 'uuid',
14
14
  tableName: 'string',
15
+ tableNameTrgmSimilarity: 'float',
16
+ searchScore: 'float',
15
17
  };
16
18
  const usage = '\nsecrets-module <command>\n\nCommands:\n list List all secretsModule records\n get Get a secretsModule by ID\n create Create a new secretsModule\n update Update an existing secretsModule\n delete Delete a secretsModule\n\n --help, -h Show this help message\n';
17
19
  export default async (argv, prompter, _options) => {
@@ -15,6 +15,7 @@ const fieldSchema = {
15
15
  nodeType: 'string',
16
16
  useRls: 'boolean',
17
17
  nodeData: 'json',
18
+ fields: 'json',
18
19
  grantRoles: 'string',
19
20
  grantPrivileges: 'json',
20
21
  policyType: 'string',
@@ -24,6 +25,12 @@ const fieldSchema = {
24
25
  policyName: 'string',
25
26
  policyData: 'json',
26
27
  outFields: 'uuid',
28
+ tableNameTrgmSimilarity: 'float',
29
+ nodeTypeTrgmSimilarity: 'float',
30
+ policyTypeTrgmSimilarity: 'float',
31
+ policyRoleTrgmSimilarity: 'float',
32
+ policyNameTrgmSimilarity: 'float',
33
+ searchScore: 'float',
27
34
  };
28
35
  const usage = '\nsecure-table-provision <command>\n\nCommands:\n list List all secureTableProvision records\n get Get a secureTableProvision by ID\n create Create a new secureTableProvision\n update Update an existing secureTableProvision\n delete Delete a secureTableProvision\n\n --help, -h Show this help message\n';
29
36
  export default async (argv, prompter, _options) => {
@@ -76,6 +83,7 @@ async function handleList(_argv, _prompter) {
76
83
  nodeType: true,
77
84
  useRls: true,
78
85
  nodeData: true,
86
+ fields: true,
79
87
  grantRoles: true,
80
88
  grantPrivileges: true,
81
89
  policyType: true,
@@ -121,6 +129,7 @@ async function handleGet(argv, prompter) {
121
129
  nodeType: true,
122
130
  useRls: true,
123
131
  nodeData: true,
132
+ fields: true,
124
133
  grantRoles: true,
125
134
  grantPrivileges: true,
126
135
  policyType: true,
@@ -194,6 +203,13 @@ async function handleCreate(argv, prompter) {
194
203
  required: false,
195
204
  skipPrompt: true,
196
205
  },
206
+ {
207
+ type: 'json',
208
+ name: 'fields',
209
+ message: 'fields',
210
+ required: false,
211
+ skipPrompt: true,
212
+ },
197
213
  {
198
214
  type: 'text',
199
215
  name: 'grantRoles',
@@ -271,6 +287,7 @@ async function handleCreate(argv, prompter) {
271
287
  nodeType: cleanedData.nodeType,
272
288
  useRls: cleanedData.useRls,
273
289
  nodeData: cleanedData.nodeData,
290
+ fields: cleanedData.fields,
274
291
  grantRoles: cleanedData.grantRoles,
275
292
  grantPrivileges: cleanedData.grantPrivileges,
276
293
  policyType: cleanedData.policyType,
@@ -290,6 +307,7 @@ async function handleCreate(argv, prompter) {
290
307
  nodeType: true,
291
308
  useRls: true,
292
309
  nodeData: true,
310
+ fields: true,
293
311
  grantRoles: true,
294
312
  grantPrivileges: true,
295
313
  policyType: true,
@@ -369,6 +387,13 @@ async function handleUpdate(argv, prompter) {
369
387
  required: false,
370
388
  skipPrompt: true,
371
389
  },
390
+ {
391
+ type: 'json',
392
+ name: 'fields',
393
+ message: 'fields',
394
+ required: false,
395
+ skipPrompt: true,
396
+ },
372
397
  {
373
398
  type: 'text',
374
399
  name: 'grantRoles',
@@ -449,6 +474,7 @@ async function handleUpdate(argv, prompter) {
449
474
  nodeType: cleanedData.nodeType,
450
475
  useRls: cleanedData.useRls,
451
476
  nodeData: cleanedData.nodeData,
477
+ fields: cleanedData.fields,
452
478
  grantRoles: cleanedData.grantRoles,
453
479
  grantPrivileges: cleanedData.grantPrivileges,
454
480
  policyType: cleanedData.policyType,
@@ -468,6 +494,7 @@ async function handleUpdate(argv, prompter) {
468
494
  nodeType: true,
469
495
  useRls: true,
470
496
  nodeData: true,
497
+ fields: true,
471
498
  grantRoles: true,
472
499
  grantPrivileges: true,
473
500
  policyType: true,
@@ -18,6 +18,10 @@ const fieldSchema = {
18
18
  sessionsTable: 'string',
19
19
  sessionCredentialsTable: 'string',
20
20
  authSettingsTable: 'string',
21
+ sessionsTableTrgmSimilarity: 'float',
22
+ sessionCredentialsTableTrgmSimilarity: 'float',
23
+ authSettingsTableTrgmSimilarity: 'float',
24
+ searchScore: 'float',
21
25
  };
22
26
  const usage = '\nsessions-module <command>\n\nCommands:\n list List all sessionsModule records\n get Get a sessionsModule by ID\n create Create a new sessionsModule\n update Update an existing sessionsModule\n delete Delete a sessionsModule\n\n --help, -h Show this help message\n';
23
27
  export default async (argv, prompter, _options) => {