@constructive-sdk/cli 0.3.0 → 0.7.0

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 (319) hide show
  1. package/admin/cli/commands/app-admin-grant.js +2 -2
  2. package/admin/cli/commands/app-grant.js +2 -2
  3. package/admin/cli/commands/app-membership-default.js +4 -4
  4. package/admin/cli/commands/app-membership.js +14 -14
  5. package/admin/cli/commands/app-owner-grant.js +2 -2
  6. package/admin/cli/commands/claimed-invite.js +2 -2
  7. package/admin/cli/commands/invite.js +6 -6
  8. package/admin/cli/commands/org-admin-grant.js +2 -2
  9. package/admin/cli/commands/org-chart-edge-grant.js +2 -2
  10. package/admin/cli/commands/org-claimed-invite.js +2 -2
  11. package/admin/cli/commands/org-grant.js +2 -2
  12. package/admin/cli/commands/org-invite.js +6 -6
  13. package/admin/cli/commands/org-member.js +2 -2
  14. package/admin/cli/commands/org-membership-default.js +6 -6
  15. package/admin/cli/commands/org-membership.js +12 -12
  16. package/admin/cli/commands/org-owner-grant.js +2 -2
  17. package/admin/cli/commands/submit-invite-code.js +1 -1
  18. package/admin/cli/commands/submit-org-invite-code.js +1 -1
  19. package/admin/cli/index.js +2 -2
  20. package/admin/cli/utils.d.ts +13 -0
  21. package/admin/cli/utils.js +25 -0
  22. package/admin/orm/input-types.d.ts +7 -280
  23. package/admin/orm/query-builder.d.ts +6 -4
  24. package/admin/orm/query-builder.js +13 -3
  25. package/admin/orm/select-types.d.ts +4 -2
  26. package/auth/cli/commands/audit-log.js +2 -2
  27. package/auth/cli/commands/check-password.js +1 -1
  28. package/auth/cli/commands/confirm-delete-account.js +1 -1
  29. package/auth/cli/commands/connected-account.js +4 -4
  30. package/auth/cli/commands/crypto-address.js +4 -4
  31. package/auth/cli/commands/email.js +4 -4
  32. package/auth/cli/commands/extend-token-expires.js +1 -1
  33. package/auth/cli/commands/forgot-password.js +1 -1
  34. package/auth/cli/commands/one-time-token.js +1 -1
  35. package/auth/cli/commands/phone-number.js +4 -4
  36. package/auth/cli/commands/reset-password.js +1 -1
  37. package/auth/cli/commands/send-account-deletion-email.js +1 -1
  38. package/auth/cli/commands/send-verification-email.js +1 -1
  39. package/auth/cli/commands/set-password.js +1 -1
  40. package/auth/cli/commands/sign-in-one-time-token.js +1 -1
  41. package/auth/cli/commands/sign-in.js +1 -1
  42. package/auth/cli/commands/sign-out.js +1 -1
  43. package/auth/cli/commands/sign-up.js +1 -1
  44. package/auth/cli/commands/verify-email.js +1 -1
  45. package/auth/cli/commands/verify-password.js +1 -1
  46. package/auth/cli/commands/verify-totp.js +1 -1
  47. package/auth/cli/index.js +2 -2
  48. package/auth/cli/utils.d.ts +13 -0
  49. package/auth/cli/utils.js +25 -0
  50. package/auth/orm/input-types.d.ts +7 -63
  51. package/auth/orm/query-builder.d.ts +6 -4
  52. package/auth/orm/query-builder.js +13 -3
  53. package/auth/orm/select-types.d.ts +4 -2
  54. package/esm/admin/cli/commands/app-admin-grant.js +2 -2
  55. package/esm/admin/cli/commands/app-grant.js +2 -2
  56. package/esm/admin/cli/commands/app-membership-default.js +4 -4
  57. package/esm/admin/cli/commands/app-membership.js +14 -14
  58. package/esm/admin/cli/commands/app-owner-grant.js +2 -2
  59. package/esm/admin/cli/commands/claimed-invite.js +2 -2
  60. package/esm/admin/cli/commands/invite.js +6 -6
  61. package/esm/admin/cli/commands/org-admin-grant.js +2 -2
  62. package/esm/admin/cli/commands/org-chart-edge-grant.js +2 -2
  63. package/esm/admin/cli/commands/org-claimed-invite.js +2 -2
  64. package/esm/admin/cli/commands/org-grant.js +2 -2
  65. package/esm/admin/cli/commands/org-invite.js +6 -6
  66. package/esm/admin/cli/commands/org-member.js +2 -2
  67. package/esm/admin/cli/commands/org-membership-default.js +6 -6
  68. package/esm/admin/cli/commands/org-membership.js +12 -12
  69. package/esm/admin/cli/commands/org-owner-grant.js +2 -2
  70. package/esm/admin/cli/commands/submit-invite-code.js +2 -2
  71. package/esm/admin/cli/commands/submit-org-invite-code.js +2 -2
  72. package/esm/admin/cli/index.js +2 -2
  73. package/esm/admin/cli/utils.d.ts +13 -0
  74. package/esm/admin/cli/utils.js +24 -0
  75. package/esm/admin/orm/input-types.d.ts +7 -280
  76. package/esm/admin/orm/query-builder.d.ts +6 -4
  77. package/esm/admin/orm/query-builder.js +13 -3
  78. package/esm/admin/orm/select-types.d.ts +4 -2
  79. package/esm/auth/cli/commands/audit-log.js +2 -2
  80. package/esm/auth/cli/commands/check-password.js +2 -2
  81. package/esm/auth/cli/commands/confirm-delete-account.js +2 -2
  82. package/esm/auth/cli/commands/connected-account.js +4 -4
  83. package/esm/auth/cli/commands/crypto-address.js +4 -4
  84. package/esm/auth/cli/commands/email.js +4 -4
  85. package/esm/auth/cli/commands/extend-token-expires.js +2 -2
  86. package/esm/auth/cli/commands/forgot-password.js +2 -2
  87. package/esm/auth/cli/commands/one-time-token.js +2 -2
  88. package/esm/auth/cli/commands/phone-number.js +4 -4
  89. package/esm/auth/cli/commands/reset-password.js +2 -2
  90. package/esm/auth/cli/commands/send-account-deletion-email.js +2 -2
  91. package/esm/auth/cli/commands/send-verification-email.js +2 -2
  92. package/esm/auth/cli/commands/set-password.js +2 -2
  93. package/esm/auth/cli/commands/sign-in-one-time-token.js +2 -2
  94. package/esm/auth/cli/commands/sign-in.js +2 -2
  95. package/esm/auth/cli/commands/sign-out.js +2 -2
  96. package/esm/auth/cli/commands/sign-up.js +2 -2
  97. package/esm/auth/cli/commands/verify-email.js +2 -2
  98. package/esm/auth/cli/commands/verify-password.js +2 -2
  99. package/esm/auth/cli/commands/verify-totp.js +2 -2
  100. package/esm/auth/cli/index.js +2 -2
  101. package/esm/auth/cli/utils.d.ts +13 -0
  102. package/esm/auth/cli/utils.js +24 -0
  103. package/esm/auth/orm/input-types.d.ts +7 -63
  104. package/esm/auth/orm/query-builder.d.ts +6 -4
  105. package/esm/auth/orm/query-builder.js +13 -3
  106. package/esm/auth/orm/select-types.d.ts +4 -2
  107. package/esm/objects/cli/commands/freeze-objects.js +2 -2
  108. package/esm/objects/cli/commands/get-all-record.js +1 -1
  109. package/esm/objects/cli/commands/init-empty-repo.js +2 -2
  110. package/esm/objects/cli/commands/insert-node-at-path.js +2 -2
  111. package/esm/objects/cli/commands/object.js +4 -4
  112. package/esm/objects/cli/commands/remove-node-at-path.js +2 -2
  113. package/esm/objects/cli/commands/set-and-commit.js +2 -2
  114. package/esm/objects/cli/commands/set-data-at-path.js +2 -2
  115. package/esm/objects/cli/commands/set-props-and-commit.js +2 -2
  116. package/esm/objects/cli/commands/update-node-at-path.js +2 -2
  117. package/esm/objects/cli/index.js +2 -2
  118. package/esm/objects/cli/utils.d.ts +13 -0
  119. package/esm/objects/cli/utils.js +24 -0
  120. package/esm/objects/orm/input-types.d.ts +7 -39
  121. package/esm/objects/orm/query-builder.d.ts +6 -4
  122. package/esm/objects/orm/query-builder.js +13 -3
  123. package/esm/objects/orm/select-types.d.ts +4 -2
  124. package/esm/public/cli/commands/api-module.js +2 -2
  125. package/esm/public/cli/commands/api.js +2 -2
  126. package/esm/public/cli/commands/app-admin-grant.js +2 -2
  127. package/esm/public/cli/commands/app-grant.js +2 -2
  128. package/esm/public/cli/commands/app-membership-default.js +4 -4
  129. package/esm/public/cli/commands/app-membership.js +14 -14
  130. package/esm/public/cli/commands/app-owner-grant.js +2 -2
  131. package/esm/public/cli/commands/apply-rls.js +2 -2
  132. package/esm/public/cli/commands/ast-migration.js +4 -4
  133. package/esm/public/cli/commands/audit-log.js +2 -2
  134. package/esm/public/cli/commands/bootstrap-user.js +2 -2
  135. package/esm/public/cli/commands/check-constraint.js +4 -4
  136. package/esm/public/cli/commands/check-password.js +2 -2
  137. package/esm/public/cli/commands/claimed-invite.js +2 -2
  138. package/esm/public/cli/commands/confirm-delete-account.js +2 -2
  139. package/esm/public/cli/commands/connected-account.js +4 -4
  140. package/esm/public/cli/commands/create-user-database.js +2 -2
  141. package/esm/public/cli/commands/crypto-address.js +4 -4
  142. package/esm/public/cli/commands/database-provision-module.js +4 -4
  143. package/esm/public/cli/commands/default-privilege.js +2 -2
  144. package/esm/public/cli/commands/denormalized-table-field.js +4 -4
  145. package/esm/public/cli/commands/email.js +4 -4
  146. package/esm/public/cli/commands/extend-token-expires.js +2 -2
  147. package/esm/public/cli/commands/field-module.js +2 -2
  148. package/esm/public/cli/commands/field.js +12 -12
  149. package/esm/public/cli/commands/foreign-key-constraint.js +2 -2
  150. package/esm/public/cli/commands/forgot-password.js +2 -2
  151. package/esm/public/cli/commands/freeze-objects.js +2 -2
  152. package/esm/public/cli/commands/get-all-record.js +1 -1
  153. package/esm/public/cli/commands/index.js +8 -8
  154. package/esm/public/cli/commands/init-empty-repo.js +2 -2
  155. package/esm/public/cli/commands/insert-node-at-path.js +2 -2
  156. package/esm/public/cli/commands/invite.js +6 -6
  157. package/esm/public/cli/commands/node-type-registry.js +2 -2
  158. package/esm/public/cli/commands/object.js +4 -4
  159. package/esm/public/cli/commands/one-time-token.js +2 -2
  160. package/esm/public/cli/commands/org-admin-grant.js +2 -2
  161. package/esm/public/cli/commands/org-chart-edge-grant.js +2 -2
  162. package/esm/public/cli/commands/org-claimed-invite.js +2 -2
  163. package/esm/public/cli/commands/org-grant.js +2 -2
  164. package/esm/public/cli/commands/org-invite.js +6 -6
  165. package/esm/public/cli/commands/org-member.js +2 -2
  166. package/esm/public/cli/commands/org-membership-default.js +6 -6
  167. package/esm/public/cli/commands/org-membership.js +12 -12
  168. package/esm/public/cli/commands/org-owner-grant.js +2 -2
  169. package/esm/public/cli/commands/phone-number.js +4 -4
  170. package/esm/public/cli/commands/policy.js +8 -8
  171. package/esm/public/cli/commands/primary-key-constraint.js +2 -2
  172. package/esm/public/cli/commands/provision-database-with-user.js +2 -2
  173. package/esm/public/cli/commands/relation-provision.js +12 -12
  174. package/esm/public/cli/commands/remove-node-at-path.js +2 -2
  175. package/esm/public/cli/commands/reset-password.js +2 -2
  176. package/esm/public/cli/commands/schema.js +4 -4
  177. package/esm/public/cli/commands/secure-table-provision.js +10 -10
  178. package/esm/public/cli/commands/send-account-deletion-email.js +2 -2
  179. package/esm/public/cli/commands/send-verification-email.js +2 -2
  180. package/esm/public/cli/commands/set-and-commit.js +2 -2
  181. package/esm/public/cli/commands/set-data-at-path.js +2 -2
  182. package/esm/public/cli/commands/set-field-order.js +2 -2
  183. package/esm/public/cli/commands/set-password.js +2 -2
  184. package/esm/public/cli/commands/set-props-and-commit.js +2 -2
  185. package/esm/public/cli/commands/sign-in-one-time-token.js +2 -2
  186. package/esm/public/cli/commands/sign-in.js +2 -2
  187. package/esm/public/cli/commands/sign-out.js +2 -2
  188. package/esm/public/cli/commands/sign-up.js +2 -2
  189. package/esm/public/cli/commands/site-module.js +2 -2
  190. package/esm/public/cli/commands/site-theme.js +2 -2
  191. package/esm/public/cli/commands/sql-migration.js +1 -1
  192. package/esm/public/cli/commands/submit-invite-code.js +2 -2
  193. package/esm/public/cli/commands/submit-org-invite-code.js +2 -2
  194. package/esm/public/cli/commands/table-grant.js +2 -2
  195. package/esm/public/cli/commands/table-module.js +4 -4
  196. package/esm/public/cli/commands/table-template-module.js +2 -2
  197. package/esm/public/cli/commands/table.js +8 -8
  198. package/esm/public/cli/commands/trigger.js +2 -2
  199. package/esm/public/cli/commands/unique-constraint.js +2 -2
  200. package/esm/public/cli/commands/update-node-at-path.js +2 -2
  201. package/esm/public/cli/commands/verify-email.js +2 -2
  202. package/esm/public/cli/commands/verify-password.js +2 -2
  203. package/esm/public/cli/commands/verify-totp.js +2 -2
  204. package/esm/public/cli/commands/view-grant.js +4 -4
  205. package/esm/public/cli/commands/view.js +10 -10
  206. package/esm/public/cli/index.js +2 -2
  207. package/esm/public/cli/utils.d.ts +13 -0
  208. package/esm/public/cli/utils.js +24 -0
  209. package/esm/public/orm/input-types.d.ts +7 -1196
  210. package/esm/public/orm/query-builder.d.ts +6 -4
  211. package/esm/public/orm/query-builder.js +13 -3
  212. package/esm/public/orm/select-types.d.ts +4 -2
  213. package/objects/cli/commands/freeze-objects.js +1 -1
  214. package/objects/cli/commands/get-all-record.js +1 -1
  215. package/objects/cli/commands/init-empty-repo.js +1 -1
  216. package/objects/cli/commands/insert-node-at-path.js +1 -1
  217. package/objects/cli/commands/object.js +4 -4
  218. package/objects/cli/commands/remove-node-at-path.js +1 -1
  219. package/objects/cli/commands/set-and-commit.js +1 -1
  220. package/objects/cli/commands/set-data-at-path.js +1 -1
  221. package/objects/cli/commands/set-props-and-commit.js +1 -1
  222. package/objects/cli/commands/update-node-at-path.js +1 -1
  223. package/objects/cli/index.js +2 -2
  224. package/objects/cli/utils.d.ts +13 -0
  225. package/objects/cli/utils.js +25 -0
  226. package/objects/orm/input-types.d.ts +7 -39
  227. package/objects/orm/query-builder.d.ts +6 -4
  228. package/objects/orm/query-builder.js +13 -3
  229. package/objects/orm/select-types.d.ts +4 -2
  230. package/package.json +6 -6
  231. package/public/cli/commands/api-module.js +2 -2
  232. package/public/cli/commands/api.js +2 -2
  233. package/public/cli/commands/app-admin-grant.js +2 -2
  234. package/public/cli/commands/app-grant.js +2 -2
  235. package/public/cli/commands/app-membership-default.js +4 -4
  236. package/public/cli/commands/app-membership.js +14 -14
  237. package/public/cli/commands/app-owner-grant.js +2 -2
  238. package/public/cli/commands/apply-rls.js +1 -1
  239. package/public/cli/commands/ast-migration.js +4 -4
  240. package/public/cli/commands/audit-log.js +2 -2
  241. package/public/cli/commands/bootstrap-user.js +1 -1
  242. package/public/cli/commands/check-constraint.js +4 -4
  243. package/public/cli/commands/check-password.js +1 -1
  244. package/public/cli/commands/claimed-invite.js +2 -2
  245. package/public/cli/commands/confirm-delete-account.js +1 -1
  246. package/public/cli/commands/connected-account.js +4 -4
  247. package/public/cli/commands/create-user-database.js +1 -1
  248. package/public/cli/commands/crypto-address.js +4 -4
  249. package/public/cli/commands/database-provision-module.js +4 -4
  250. package/public/cli/commands/default-privilege.js +2 -2
  251. package/public/cli/commands/denormalized-table-field.js +4 -4
  252. package/public/cli/commands/email.js +4 -4
  253. package/public/cli/commands/extend-token-expires.js +1 -1
  254. package/public/cli/commands/field-module.js +2 -2
  255. package/public/cli/commands/field.js +12 -12
  256. package/public/cli/commands/foreign-key-constraint.js +2 -2
  257. package/public/cli/commands/forgot-password.js +1 -1
  258. package/public/cli/commands/freeze-objects.js +1 -1
  259. package/public/cli/commands/get-all-record.js +1 -1
  260. package/public/cli/commands/index.js +8 -8
  261. package/public/cli/commands/init-empty-repo.js +1 -1
  262. package/public/cli/commands/insert-node-at-path.js +1 -1
  263. package/public/cli/commands/invite.js +6 -6
  264. package/public/cli/commands/node-type-registry.js +2 -2
  265. package/public/cli/commands/object.js +4 -4
  266. package/public/cli/commands/one-time-token.js +1 -1
  267. package/public/cli/commands/org-admin-grant.js +2 -2
  268. package/public/cli/commands/org-chart-edge-grant.js +2 -2
  269. package/public/cli/commands/org-claimed-invite.js +2 -2
  270. package/public/cli/commands/org-grant.js +2 -2
  271. package/public/cli/commands/org-invite.js +6 -6
  272. package/public/cli/commands/org-member.js +2 -2
  273. package/public/cli/commands/org-membership-default.js +6 -6
  274. package/public/cli/commands/org-membership.js +12 -12
  275. package/public/cli/commands/org-owner-grant.js +2 -2
  276. package/public/cli/commands/phone-number.js +4 -4
  277. package/public/cli/commands/policy.js +8 -8
  278. package/public/cli/commands/primary-key-constraint.js +2 -2
  279. package/public/cli/commands/provision-database-with-user.js +1 -1
  280. package/public/cli/commands/relation-provision.js +12 -12
  281. package/public/cli/commands/remove-node-at-path.js +1 -1
  282. package/public/cli/commands/reset-password.js +1 -1
  283. package/public/cli/commands/schema.js +4 -4
  284. package/public/cli/commands/secure-table-provision.js +10 -10
  285. package/public/cli/commands/send-account-deletion-email.js +1 -1
  286. package/public/cli/commands/send-verification-email.js +1 -1
  287. package/public/cli/commands/set-and-commit.js +1 -1
  288. package/public/cli/commands/set-data-at-path.js +1 -1
  289. package/public/cli/commands/set-field-order.js +1 -1
  290. package/public/cli/commands/set-password.js +1 -1
  291. package/public/cli/commands/set-props-and-commit.js +1 -1
  292. package/public/cli/commands/sign-in-one-time-token.js +1 -1
  293. package/public/cli/commands/sign-in.js +1 -1
  294. package/public/cli/commands/sign-out.js +1 -1
  295. package/public/cli/commands/sign-up.js +1 -1
  296. package/public/cli/commands/site-module.js +2 -2
  297. package/public/cli/commands/site-theme.js +2 -2
  298. package/public/cli/commands/sql-migration.js +1 -1
  299. package/public/cli/commands/submit-invite-code.js +1 -1
  300. package/public/cli/commands/submit-org-invite-code.js +1 -1
  301. package/public/cli/commands/table-grant.js +2 -2
  302. package/public/cli/commands/table-module.js +4 -4
  303. package/public/cli/commands/table-template-module.js +2 -2
  304. package/public/cli/commands/table.js +8 -8
  305. package/public/cli/commands/trigger.js +2 -2
  306. package/public/cli/commands/unique-constraint.js +2 -2
  307. package/public/cli/commands/update-node-at-path.js +1 -1
  308. package/public/cli/commands/verify-email.js +1 -1
  309. package/public/cli/commands/verify-password.js +1 -1
  310. package/public/cli/commands/verify-totp.js +1 -1
  311. package/public/cli/commands/view-grant.js +4 -4
  312. package/public/cli/commands/view.js +10 -10
  313. package/public/cli/index.js +2 -2
  314. package/public/cli/utils.d.ts +13 -0
  315. package/public/cli/utils.js +25 -0
  316. package/public/orm/input-types.d.ts +7 -1196
  317. package/public/orm/query-builder.d.ts +6 -4
  318. package/public/orm/query-builder.js +13 -3
  319. package/public/orm/select-types.d.ts +4 -2
@@ -220,7 +220,7 @@ async function handleCreate(argv, prompter) {
220
220
  skipPrompt: true,
221
221
  },
222
222
  {
223
- type: 'text',
223
+ type: 'boolean',
224
224
  name: 'isRequired',
225
225
  message: 'isRequired',
226
226
  required: false,
@@ -262,7 +262,7 @@ async function handleCreate(argv, prompter) {
262
262
  skipPrompt: true,
263
263
  },
264
264
  {
265
- type: 'text',
265
+ type: 'boolean',
266
266
  name: 'useCompositeKey',
267
267
  message: 'useCompositeKey',
268
268
  required: false,
@@ -276,7 +276,7 @@ async function handleCreate(argv, prompter) {
276
276
  skipPrompt: true,
277
277
  },
278
278
  {
279
- type: 'text',
279
+ type: 'json',
280
280
  name: 'nodeData',
281
281
  message: 'nodeData',
282
282
  required: false,
@@ -290,7 +290,7 @@ async function handleCreate(argv, prompter) {
290
290
  skipPrompt: true,
291
291
  },
292
292
  {
293
- type: 'text',
293
+ type: 'json',
294
294
  name: 'grantPrivileges',
295
295
  message: 'grantPrivileges',
296
296
  required: false,
@@ -318,7 +318,7 @@ async function handleCreate(argv, prompter) {
318
318
  skipPrompt: true,
319
319
  },
320
320
  {
321
- type: 'text',
321
+ type: 'boolean',
322
322
  name: 'policyPermissive',
323
323
  message: 'policyPermissive',
324
324
  required: false,
@@ -332,7 +332,7 @@ async function handleCreate(argv, prompter) {
332
332
  skipPrompt: true,
333
333
  },
334
334
  {
335
- type: 'text',
335
+ type: 'json',
336
336
  name: 'policyData',
337
337
  message: 'policyData',
338
338
  required: false,
@@ -491,7 +491,7 @@ async function handleUpdate(argv, prompter) {
491
491
  skipPrompt: true,
492
492
  },
493
493
  {
494
- type: 'text',
494
+ type: 'boolean',
495
495
  name: 'isRequired',
496
496
  message: 'isRequired',
497
497
  required: false,
@@ -533,7 +533,7 @@ async function handleUpdate(argv, prompter) {
533
533
  skipPrompt: true,
534
534
  },
535
535
  {
536
- type: 'text',
536
+ type: 'boolean',
537
537
  name: 'useCompositeKey',
538
538
  message: 'useCompositeKey',
539
539
  required: false,
@@ -547,7 +547,7 @@ async function handleUpdate(argv, prompter) {
547
547
  skipPrompt: true,
548
548
  },
549
549
  {
550
- type: 'text',
550
+ type: 'json',
551
551
  name: 'nodeData',
552
552
  message: 'nodeData',
553
553
  required: false,
@@ -561,7 +561,7 @@ async function handleUpdate(argv, prompter) {
561
561
  skipPrompt: true,
562
562
  },
563
563
  {
564
- type: 'text',
564
+ type: 'json',
565
565
  name: 'grantPrivileges',
566
566
  message: 'grantPrivileges',
567
567
  required: false,
@@ -589,7 +589,7 @@ async function handleUpdate(argv, prompter) {
589
589
  skipPrompt: true,
590
590
  },
591
591
  {
592
- type: 'text',
592
+ type: 'boolean',
593
593
  name: 'policyPermissive',
594
594
  message: 'policyPermissive',
595
595
  required: false,
@@ -603,7 +603,7 @@ async function handleUpdate(argv, prompter) {
603
603
  skipPrompt: true,
604
604
  },
605
605
  {
606
- type: 'text',
606
+ type: 'json',
607
607
  name: 'policyData',
608
608
  message: 'policyData',
609
609
  required: false,
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .removeNodeAtPath(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .resetPassword(parsedAnswers, {
@@ -172,7 +172,7 @@ async function handleCreate(argv, prompter) {
172
172
  skipPrompt: true,
173
173
  },
174
174
  {
175
- type: 'text',
175
+ type: 'json',
176
176
  name: 'smartTags',
177
177
  message: 'smartTags',
178
178
  required: false,
@@ -207,7 +207,7 @@ async function handleCreate(argv, prompter) {
207
207
  skipPrompt: true,
208
208
  },
209
209
  {
210
- type: 'text',
210
+ type: 'boolean',
211
211
  name: 'isPublic',
212
212
  message: 'isPublic',
213
213
  required: false,
@@ -302,7 +302,7 @@ async function handleUpdate(argv, prompter) {
302
302
  skipPrompt: true,
303
303
  },
304
304
  {
305
- type: 'text',
305
+ type: 'json',
306
306
  name: 'smartTags',
307
307
  message: 'smartTags',
308
308
  required: false,
@@ -337,7 +337,7 @@ async function handleUpdate(argv, prompter) {
337
337
  skipPrompt: true,
338
338
  },
339
339
  {
340
- type: 'text',
340
+ type: 'boolean',
341
341
  name: 'isPublic',
342
342
  message: 'isPublic',
343
343
  required: false,
@@ -183,14 +183,14 @@ async function handleCreate(argv, prompter) {
183
183
  skipPrompt: true,
184
184
  },
185
185
  {
186
- type: 'text',
186
+ type: 'boolean',
187
187
  name: 'useRls',
188
188
  message: 'useRls',
189
189
  required: false,
190
190
  skipPrompt: true,
191
191
  },
192
192
  {
193
- type: 'text',
193
+ type: 'json',
194
194
  name: 'nodeData',
195
195
  message: 'nodeData',
196
196
  required: false,
@@ -204,7 +204,7 @@ async function handleCreate(argv, prompter) {
204
204
  skipPrompt: true,
205
205
  },
206
206
  {
207
- type: 'text',
207
+ type: 'json',
208
208
  name: 'grantPrivileges',
209
209
  message: 'grantPrivileges',
210
210
  required: false,
@@ -232,7 +232,7 @@ async function handleCreate(argv, prompter) {
232
232
  skipPrompt: true,
233
233
  },
234
234
  {
235
- type: 'text',
235
+ type: 'boolean',
236
236
  name: 'policyPermissive',
237
237
  message: 'policyPermissive',
238
238
  required: false,
@@ -246,7 +246,7 @@ async function handleCreate(argv, prompter) {
246
246
  skipPrompt: true,
247
247
  },
248
248
  {
249
- type: 'text',
249
+ type: 'json',
250
250
  name: 'policyData',
251
251
  message: 'policyData',
252
252
  required: false,
@@ -358,14 +358,14 @@ async function handleUpdate(argv, prompter) {
358
358
  skipPrompt: true,
359
359
  },
360
360
  {
361
- type: 'text',
361
+ type: 'boolean',
362
362
  name: 'useRls',
363
363
  message: 'useRls',
364
364
  required: false,
365
365
  skipPrompt: true,
366
366
  },
367
367
  {
368
- type: 'text',
368
+ type: 'json',
369
369
  name: 'nodeData',
370
370
  message: 'nodeData',
371
371
  required: false,
@@ -379,7 +379,7 @@ async function handleUpdate(argv, prompter) {
379
379
  skipPrompt: true,
380
380
  },
381
381
  {
382
- type: 'text',
382
+ type: 'json',
383
383
  name: 'grantPrivileges',
384
384
  message: 'grantPrivileges',
385
385
  required: false,
@@ -407,7 +407,7 @@ async function handleUpdate(argv, prompter) {
407
407
  skipPrompt: true,
408
408
  },
409
409
  {
410
- type: 'text',
410
+ type: 'boolean',
411
411
  name: 'policyPermissive',
412
412
  message: 'policyPermissive',
413
413
  required: false,
@@ -421,7 +421,7 @@ async function handleUpdate(argv, prompter) {
421
421
  skipPrompt: true,
422
422
  },
423
423
  {
424
- type: 'text',
424
+ type: 'json',
425
425
  name: 'policyData',
426
426
  message: 'policyData',
427
427
  required: false,
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .sendAccountDeletionEmail(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .sendVerificationEmail(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .setAndCommit(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .setDataAtPath(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .setFieldOrder(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .setPassword(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .setPropsAndCommit(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .signInOneTimeToken(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .signIn(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .signOut(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .signUp(parsedAnswers, {
@@ -131,7 +131,7 @@ async function handleCreate(argv, prompter) {
131
131
  required: true,
132
132
  },
133
133
  {
134
- type: 'text',
134
+ type: 'json',
135
135
  name: 'data',
136
136
  message: 'data',
137
137
  required: true,
@@ -195,7 +195,7 @@ async function handleUpdate(argv, prompter) {
195
195
  required: false,
196
196
  },
197
197
  {
198
- type: 'text',
198
+ type: 'json',
199
199
  name: 'data',
200
200
  message: 'data',
201
201
  required: false,
@@ -122,7 +122,7 @@ async function handleCreate(argv, prompter) {
122
122
  required: true,
123
123
  },
124
124
  {
125
- type: 'text',
125
+ type: 'json',
126
126
  name: 'theme',
127
127
  message: 'theme',
128
128
  required: true,
@@ -178,7 +178,7 @@ async function handleUpdate(argv, prompter) {
178
178
  required: false,
179
179
  },
180
180
  {
181
- type: 'text',
181
+ type: 'json',
182
182
  name: 'theme',
183
183
  message: 'theme',
184
184
  required: false,
@@ -118,7 +118,7 @@ async function handleCreate(argv, prompter) {
118
118
  skipPrompt: true,
119
119
  },
120
120
  {
121
- type: 'text',
121
+ type: 'json',
122
122
  name: 'payload',
123
123
  message: 'payload',
124
124
  required: false,
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .submitInviteCode(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .submitOrgInviteCode(parsedAnswers, {
@@ -157,7 +157,7 @@ async function handleCreate(argv, prompter) {
157
157
  skipPrompt: true,
158
158
  },
159
159
  {
160
- type: 'text',
160
+ type: 'boolean',
161
161
  name: 'isGrant',
162
162
  message: 'isGrant',
163
163
  required: false,
@@ -242,7 +242,7 @@ async function handleUpdate(argv, prompter) {
242
242
  skipPrompt: true,
243
243
  },
244
244
  {
245
- type: 'text',
245
+ type: 'boolean',
246
246
  name: 'isGrant',
247
247
  message: 'isGrant',
248
248
  required: false,
@@ -158,14 +158,14 @@ async function handleCreate(argv, prompter) {
158
158
  required: true,
159
159
  },
160
160
  {
161
- type: 'text',
161
+ type: 'boolean',
162
162
  name: 'useRls',
163
163
  message: 'useRls',
164
164
  required: false,
165
165
  skipPrompt: true,
166
166
  },
167
167
  {
168
- type: 'text',
168
+ type: 'json',
169
169
  name: 'data',
170
170
  message: 'data',
171
171
  required: false,
@@ -260,14 +260,14 @@ async function handleUpdate(argv, prompter) {
260
260
  required: false,
261
261
  },
262
262
  {
263
- type: 'text',
263
+ type: 'boolean',
264
264
  name: 'useRls',
265
265
  message: 'useRls',
266
266
  required: false,
267
267
  skipPrompt: true,
268
268
  },
269
269
  {
270
- type: 'text',
270
+ type: 'json',
271
271
  name: 'data',
272
272
  message: 'data',
273
273
  required: false,
@@ -171,7 +171,7 @@ async function handleCreate(argv, prompter) {
171
171
  required: true,
172
172
  },
173
173
  {
174
- type: 'text',
174
+ type: 'json',
175
175
  name: 'data',
176
176
  message: 'data',
177
177
  required: false,
@@ -272,7 +272,7 @@ async function handleUpdate(argv, prompter) {
272
272
  required: false,
273
273
  },
274
274
  {
275
- type: 'text',
275
+ type: 'json',
276
276
  name: 'data',
277
277
  message: 'data',
278
278
  required: false,
@@ -188,7 +188,7 @@ async function handleCreate(argv, prompter) {
188
188
  skipPrompt: true,
189
189
  },
190
190
  {
191
- type: 'text',
191
+ type: 'json',
192
192
  name: 'smartTags',
193
193
  message: 'smartTags',
194
194
  required: false,
@@ -216,21 +216,21 @@ async function handleCreate(argv, prompter) {
216
216
  skipPrompt: true,
217
217
  },
218
218
  {
219
- type: 'text',
219
+ type: 'boolean',
220
220
  name: 'useRls',
221
221
  message: 'useRls',
222
222
  required: false,
223
223
  skipPrompt: true,
224
224
  },
225
225
  {
226
- type: 'text',
226
+ type: 'boolean',
227
227
  name: 'timestamps',
228
228
  message: 'timestamps',
229
229
  required: false,
230
230
  skipPrompt: true,
231
231
  },
232
232
  {
233
- type: 'text',
233
+ type: 'boolean',
234
234
  name: 'peoplestamps',
235
235
  message: 'peoplestamps',
236
236
  required: false,
@@ -364,7 +364,7 @@ async function handleUpdate(argv, prompter) {
364
364
  skipPrompt: true,
365
365
  },
366
366
  {
367
- type: 'text',
367
+ type: 'json',
368
368
  name: 'smartTags',
369
369
  message: 'smartTags',
370
370
  required: false,
@@ -392,21 +392,21 @@ async function handleUpdate(argv, prompter) {
392
392
  skipPrompt: true,
393
393
  },
394
394
  {
395
- type: 'text',
395
+ type: 'boolean',
396
396
  name: 'useRls',
397
397
  message: 'useRls',
398
398
  required: false,
399
399
  skipPrompt: true,
400
400
  },
401
401
  {
402
- type: 'text',
402
+ type: 'boolean',
403
403
  name: 'timestamps',
404
404
  message: 'timestamps',
405
405
  required: false,
406
406
  skipPrompt: true,
407
407
  },
408
408
  {
409
- type: 'text',
409
+ type: 'boolean',
410
410
  name: 'peoplestamps',
411
411
  message: 'peoplestamps',
412
412
  required: false,
@@ -170,7 +170,7 @@ async function handleCreate(argv, prompter) {
170
170
  skipPrompt: true,
171
171
  },
172
172
  {
173
- type: 'text',
173
+ type: 'json',
174
174
  name: 'smartTags',
175
175
  message: 'smartTags',
176
176
  required: false,
@@ -292,7 +292,7 @@ async function handleUpdate(argv, prompter) {
292
292
  skipPrompt: true,
293
293
  },
294
294
  {
295
- type: 'text',
295
+ type: 'json',
296
296
  name: 'smartTags',
297
297
  message: 'smartTags',
298
298
  required: false,
@@ -167,7 +167,7 @@ async function handleCreate(argv, prompter) {
167
167
  skipPrompt: true,
168
168
  },
169
169
  {
170
- type: 'text',
170
+ type: 'json',
171
171
  name: 'smartTags',
172
172
  message: 'smartTags',
173
173
  required: false,
@@ -298,7 +298,7 @@ async function handleUpdate(argv, prompter) {
298
298
  skipPrompt: true,
299
299
  },
300
300
  {
301
- type: 'text',
301
+ type: 'json',
302
302
  name: 'smartTags',
303
303
  message: 'smartTags',
304
304
  required: false,
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .updateNodeAtPath(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .verifyEmail(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .verifyPassword(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .verifyTotp(parsedAnswers, {