@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
@@ -160,49 +160,49 @@ async function handleCreate(argv, prompter) {
160
160
  skipPrompt: true,
161
161
  },
162
162
  {
163
- type: 'text',
163
+ type: 'boolean',
164
164
  name: 'isApproved',
165
165
  message: 'isApproved',
166
166
  required: false,
167
167
  skipPrompt: true,
168
168
  },
169
169
  {
170
- type: 'text',
170
+ type: 'boolean',
171
171
  name: 'isBanned',
172
172
  message: 'isBanned',
173
173
  required: false,
174
174
  skipPrompt: true,
175
175
  },
176
176
  {
177
- type: 'text',
177
+ type: 'boolean',
178
178
  name: 'isDisabled',
179
179
  message: 'isDisabled',
180
180
  required: false,
181
181
  skipPrompt: true,
182
182
  },
183
183
  {
184
- type: 'text',
184
+ type: 'boolean',
185
185
  name: 'isVerified',
186
186
  message: 'isVerified',
187
187
  required: false,
188
188
  skipPrompt: true,
189
189
  },
190
190
  {
191
- type: 'text',
191
+ type: 'boolean',
192
192
  name: 'isActive',
193
193
  message: 'isActive',
194
194
  required: false,
195
195
  skipPrompt: true,
196
196
  },
197
197
  {
198
- type: 'text',
198
+ type: 'boolean',
199
199
  name: 'isOwner',
200
200
  message: 'isOwner',
201
201
  required: false,
202
202
  skipPrompt: true,
203
203
  },
204
204
  {
205
- type: 'text',
205
+ type: 'boolean',
206
206
  name: 'isAdmin',
207
207
  message: 'isAdmin',
208
208
  required: false,
@@ -310,49 +310,49 @@ async function handleUpdate(argv, prompter) {
310
310
  skipPrompt: true,
311
311
  },
312
312
  {
313
- type: 'text',
313
+ type: 'boolean',
314
314
  name: 'isApproved',
315
315
  message: 'isApproved',
316
316
  required: false,
317
317
  skipPrompt: true,
318
318
  },
319
319
  {
320
- type: 'text',
320
+ type: 'boolean',
321
321
  name: 'isBanned',
322
322
  message: 'isBanned',
323
323
  required: false,
324
324
  skipPrompt: true,
325
325
  },
326
326
  {
327
- type: 'text',
327
+ type: 'boolean',
328
328
  name: 'isDisabled',
329
329
  message: 'isDisabled',
330
330
  required: false,
331
331
  skipPrompt: true,
332
332
  },
333
333
  {
334
- type: 'text',
334
+ type: 'boolean',
335
335
  name: 'isVerified',
336
336
  message: 'isVerified',
337
337
  required: false,
338
338
  skipPrompt: true,
339
339
  },
340
340
  {
341
- type: 'text',
341
+ type: 'boolean',
342
342
  name: 'isActive',
343
343
  message: 'isActive',
344
344
  required: false,
345
345
  skipPrompt: true,
346
346
  },
347
347
  {
348
- type: 'text',
348
+ type: 'boolean',
349
349
  name: 'isOwner',
350
350
  message: 'isOwner',
351
351
  required: false,
352
352
  skipPrompt: true,
353
353
  },
354
354
  {
355
- type: 'text',
355
+ type: 'boolean',
356
356
  name: 'isAdmin',
357
357
  message: 'isAdmin',
358
358
  required: false,
@@ -116,7 +116,7 @@ async function handleCreate(argv, prompter) {
116
116
  try {
117
117
  const rawAnswers = await prompter.prompt(argv, [
118
118
  {
119
- type: 'text',
119
+ type: 'boolean',
120
120
  name: 'isGrant',
121
121
  message: 'isGrant',
122
122
  required: false,
@@ -176,7 +176,7 @@ async function handleUpdate(argv, prompter) {
176
176
  required: true,
177
177
  },
178
178
  {
179
- type: 'text',
179
+ type: 'boolean',
180
180
  name: 'isGrant',
181
181
  message: 'isGrant',
182
182
  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
  .applyRls(parsedAnswers, {
@@ -111,7 +111,7 @@ async function handleCreate(argv, prompter) {
111
111
  skipPrompt: true,
112
112
  },
113
113
  {
114
- type: 'text',
114
+ type: 'json',
115
115
  name: 'payload',
116
116
  message: 'payload',
117
117
  required: false,
@@ -125,21 +125,21 @@ async function handleCreate(argv, prompter) {
125
125
  skipPrompt: true,
126
126
  },
127
127
  {
128
- type: 'text',
128
+ type: 'json',
129
129
  name: 'deploy',
130
130
  message: 'deploy',
131
131
  required: false,
132
132
  skipPrompt: true,
133
133
  },
134
134
  {
135
- type: 'text',
135
+ type: 'json',
136
136
  name: 'revert',
137
137
  message: 'revert',
138
138
  required: false,
139
139
  skipPrompt: true,
140
140
  },
141
141
  {
142
- type: 'text',
142
+ type: 'json',
143
143
  name: 'verify',
144
144
  message: 'verify',
145
145
  required: false,
@@ -156,7 +156,7 @@ async function handleCreate(argv, prompter) {
156
156
  skipPrompt: true,
157
157
  },
158
158
  {
159
- type: 'text',
159
+ type: 'boolean',
160
160
  name: 'success',
161
161
  message: 'success',
162
162
  required: true,
@@ -241,7 +241,7 @@ async function handleUpdate(argv, prompter) {
241
241
  skipPrompt: true,
242
242
  },
243
243
  {
244
- type: 'text',
244
+ type: 'boolean',
245
245
  name: 'success',
246
246
  message: 'success',
247
247
  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
  .bootstrapUser(parsedAnswers, {
@@ -173,14 +173,14 @@ async function handleCreate(argv, prompter) {
173
173
  required: true,
174
174
  },
175
175
  {
176
- type: 'text',
176
+ type: 'json',
177
177
  name: 'expr',
178
178
  message: 'expr',
179
179
  required: false,
180
180
  skipPrompt: true,
181
181
  },
182
182
  {
183
- type: 'text',
183
+ type: 'json',
184
184
  name: 'smartTags',
185
185
  message: 'smartTags',
186
186
  required: false,
@@ -304,14 +304,14 @@ async function handleUpdate(argv, prompter) {
304
304
  required: false,
305
305
  },
306
306
  {
307
- type: 'text',
307
+ type: 'json',
308
308
  name: 'expr',
309
309
  message: 'expr',
310
310
  required: false,
311
311
  skipPrompt: true,
312
312
  },
313
313
  {
314
- type: 'text',
314
+ type: 'json',
315
315
  name: 'smartTags',
316
316
  message: 'smartTags',
317
317
  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
  .checkPassword(parsedAnswers, {
@@ -116,7 +116,7 @@ async function handleCreate(argv, prompter) {
116
116
  try {
117
117
  const rawAnswers = await prompter.prompt(argv, [
118
118
  {
119
- type: 'text',
119
+ type: 'json',
120
120
  name: 'data',
121
121
  message: 'data',
122
122
  required: false,
@@ -177,7 +177,7 @@ async function handleUpdate(argv, prompter) {
177
177
  required: true,
178
178
  },
179
179
  {
180
- type: 'text',
180
+ type: 'json',
181
181
  name: 'data',
182
182
  message: 'data',
183
183
  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
  .confirmDeleteAccount(parsedAnswers, {
@@ -141,13 +141,13 @@ async function handleCreate(argv, prompter) {
141
141
  required: true,
142
142
  },
143
143
  {
144
- type: 'text',
144
+ type: 'json',
145
145
  name: 'details',
146
146
  message: 'details',
147
147
  required: true,
148
148
  },
149
149
  {
150
- type: 'text',
150
+ type: 'boolean',
151
151
  name: 'isVerified',
152
152
  message: 'isVerified',
153
153
  required: false,
@@ -217,13 +217,13 @@ async function handleUpdate(argv, prompter) {
217
217
  required: false,
218
218
  },
219
219
  {
220
- type: 'text',
220
+ type: 'json',
221
221
  name: 'details',
222
222
  message: 'details',
223
223
  required: false,
224
224
  },
225
225
  {
226
- type: 'text',
226
+ type: 'boolean',
227
227
  name: 'isVerified',
228
228
  message: 'isVerified',
229
229
  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
  .createUserDatabase(parsedAnswers, {
@@ -132,14 +132,14 @@ async function handleCreate(argv, prompter) {
132
132
  required: true,
133
133
  },
134
134
  {
135
- type: 'text',
135
+ type: 'boolean',
136
136
  name: 'isVerified',
137
137
  message: 'isVerified',
138
138
  required: false,
139
139
  skipPrompt: true,
140
140
  },
141
141
  {
142
- type: 'text',
142
+ type: 'boolean',
143
143
  name: 'isPrimary',
144
144
  message: 'isPrimary',
145
145
  required: false,
@@ -201,14 +201,14 @@ async function handleUpdate(argv, prompter) {
201
201
  required: false,
202
202
  },
203
203
  {
204
- type: 'text',
204
+ type: 'boolean',
205
205
  name: 'isVerified',
206
206
  message: 'isVerified',
207
207
  required: false,
208
208
  skipPrompt: true,
209
209
  },
210
210
  {
211
- type: 'text',
211
+ type: 'boolean',
212
212
  name: 'isPrimary',
213
213
  message: 'isPrimary',
214
214
  required: false,
@@ -172,14 +172,14 @@ async function handleCreate(argv, prompter) {
172
172
  skipPrompt: true,
173
173
  },
174
174
  {
175
- type: 'text',
175
+ type: 'json',
176
176
  name: 'options',
177
177
  message: 'options',
178
178
  required: false,
179
179
  skipPrompt: true,
180
180
  },
181
181
  {
182
- type: 'text',
182
+ type: 'boolean',
183
183
  name: 'bootstrapUser',
184
184
  message: 'bootstrapUser',
185
185
  required: false,
@@ -302,14 +302,14 @@ async function handleUpdate(argv, prompter) {
302
302
  skipPrompt: true,
303
303
  },
304
304
  {
305
- type: 'text',
305
+ type: 'json',
306
306
  name: 'options',
307
307
  message: 'options',
308
308
  required: false,
309
309
  skipPrompt: true,
310
310
  },
311
311
  {
312
- type: 'text',
312
+ type: 'boolean',
313
313
  name: 'bootstrapUser',
314
314
  message: 'bootstrapUser',
315
315
  required: false,
@@ -150,7 +150,7 @@ async function handleCreate(argv, prompter) {
150
150
  required: true,
151
151
  },
152
152
  {
153
- type: 'text',
153
+ type: 'boolean',
154
154
  name: 'isGrant',
155
155
  message: 'isGrant',
156
156
  required: false,
@@ -232,7 +232,7 @@ async function handleUpdate(argv, prompter) {
232
232
  required: false,
233
233
  },
234
234
  {
235
- type: 'text',
235
+ type: 'boolean',
236
236
  name: 'isGrant',
237
237
  message: 'isGrant',
238
238
  required: false,
@@ -178,14 +178,14 @@ async function handleCreate(argv, prompter) {
178
178
  skipPrompt: true,
179
179
  },
180
180
  {
181
- type: 'text',
181
+ type: 'boolean',
182
182
  name: 'useUpdates',
183
183
  message: 'useUpdates',
184
184
  required: false,
185
185
  skipPrompt: true,
186
186
  },
187
187
  {
188
- type: 'text',
188
+ type: 'boolean',
189
189
  name: 'updateDefaults',
190
190
  message: 'updateDefaults',
191
191
  required: false,
@@ -304,14 +304,14 @@ async function handleUpdate(argv, prompter) {
304
304
  skipPrompt: true,
305
305
  },
306
306
  {
307
- type: 'text',
307
+ type: 'boolean',
308
308
  name: 'useUpdates',
309
309
  message: 'useUpdates',
310
310
  required: false,
311
311
  skipPrompt: true,
312
312
  },
313
313
  {
314
- type: 'text',
314
+ type: 'boolean',
315
315
  name: 'updateDefaults',
316
316
  message: 'updateDefaults',
317
317
  required: false,
@@ -132,14 +132,14 @@ async function handleCreate(argv, prompter) {
132
132
  required: true,
133
133
  },
134
134
  {
135
- type: 'text',
135
+ type: 'boolean',
136
136
  name: 'isVerified',
137
137
  message: 'isVerified',
138
138
  required: false,
139
139
  skipPrompt: true,
140
140
  },
141
141
  {
142
- type: 'text',
142
+ type: 'boolean',
143
143
  name: 'isPrimary',
144
144
  message: 'isPrimary',
145
145
  required: false,
@@ -201,14 +201,14 @@ async function handleUpdate(argv, prompter) {
201
201
  required: false,
202
202
  },
203
203
  {
204
- type: 'text',
204
+ type: 'boolean',
205
205
  name: 'isVerified',
206
206
  message: 'isVerified',
207
207
  required: false,
208
208
  skipPrompt: true,
209
209
  },
210
210
  {
211
- type: 'text',
211
+ type: 'boolean',
212
212
  name: 'isPrimary',
213
213
  message: 'isPrimary',
214
214
  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
  .extendTokenExpires(parsedAnswers, {
@@ -158,7 +158,7 @@ async function handleCreate(argv, prompter) {
158
158
  required: true,
159
159
  },
160
160
  {
161
- type: 'text',
161
+ type: 'json',
162
162
  name: 'data',
163
163
  message: 'data',
164
164
  required: false,
@@ -260,7 +260,7 @@ async function handleUpdate(argv, prompter) {
260
260
  required: false,
261
261
  },
262
262
  {
263
- type: 'text',
263
+ type: 'json',
264
264
  name: 'data',
265
265
  message: 'data',
266
266
  required: false,
@@ -203,14 +203,14 @@ async function handleCreate(argv, prompter) {
203
203
  skipPrompt: true,
204
204
  },
205
205
  {
206
- type: 'text',
206
+ type: 'json',
207
207
  name: 'smartTags',
208
208
  message: 'smartTags',
209
209
  required: false,
210
210
  skipPrompt: true,
211
211
  },
212
212
  {
213
- type: 'text',
213
+ type: 'boolean',
214
214
  name: 'isRequired',
215
215
  message: 'isRequired',
216
216
  required: false,
@@ -224,14 +224,14 @@ async function handleCreate(argv, prompter) {
224
224
  skipPrompt: true,
225
225
  },
226
226
  {
227
- type: 'text',
227
+ type: 'json',
228
228
  name: 'defaultValueAst',
229
229
  message: 'defaultValueAst',
230
230
  required: false,
231
231
  skipPrompt: true,
232
232
  },
233
233
  {
234
- type: 'text',
234
+ type: 'boolean',
235
235
  name: 'isHidden',
236
236
  message: 'isHidden',
237
237
  required: false,
@@ -258,14 +258,14 @@ async function handleCreate(argv, prompter) {
258
258
  skipPrompt: true,
259
259
  },
260
260
  {
261
- type: 'text',
261
+ type: 'json',
262
262
  name: 'chk',
263
263
  message: 'chk',
264
264
  required: false,
265
265
  skipPrompt: true,
266
266
  },
267
267
  {
268
- type: 'text',
268
+ type: 'json',
269
269
  name: 'chkExpr',
270
270
  message: 'chkExpr',
271
271
  required: false,
@@ -423,14 +423,14 @@ async function handleUpdate(argv, prompter) {
423
423
  skipPrompt: true,
424
424
  },
425
425
  {
426
- type: 'text',
426
+ type: 'json',
427
427
  name: 'smartTags',
428
428
  message: 'smartTags',
429
429
  required: false,
430
430
  skipPrompt: true,
431
431
  },
432
432
  {
433
- type: 'text',
433
+ type: 'boolean',
434
434
  name: 'isRequired',
435
435
  message: 'isRequired',
436
436
  required: false,
@@ -444,14 +444,14 @@ async function handleUpdate(argv, prompter) {
444
444
  skipPrompt: true,
445
445
  },
446
446
  {
447
- type: 'text',
447
+ type: 'json',
448
448
  name: 'defaultValueAst',
449
449
  message: 'defaultValueAst',
450
450
  required: false,
451
451
  skipPrompt: true,
452
452
  },
453
453
  {
454
- type: 'text',
454
+ type: 'boolean',
455
455
  name: 'isHidden',
456
456
  message: 'isHidden',
457
457
  required: false,
@@ -478,14 +478,14 @@ async function handleUpdate(argv, prompter) {
478
478
  skipPrompt: true,
479
479
  },
480
480
  {
481
- type: 'text',
481
+ type: 'json',
482
482
  name: 'chk',
483
483
  message: 'chk',
484
484
  required: false,
485
485
  skipPrompt: true,
486
486
  },
487
487
  {
488
- type: 'text',
488
+ type: 'json',
489
489
  name: 'chkExpr',
490
490
  message: 'chkExpr',
491
491
  required: false,
@@ -179,7 +179,7 @@ async function handleCreate(argv, prompter) {
179
179
  skipPrompt: true,
180
180
  },
181
181
  {
182
- type: 'text',
182
+ type: 'json',
183
183
  name: 'smartTags',
184
184
  message: 'smartTags',
185
185
  required: false,
@@ -344,7 +344,7 @@ async function handleUpdate(argv, prompter) {
344
344
  skipPrompt: true,
345
345
  },
346
346
  {
347
- type: 'text',
347
+ type: 'json',
348
348
  name: 'smartTags',
349
349
  message: 'smartTags',
350
350
  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
  .forgotPassword(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
  .freezeObjects(parsedAnswers, {
@@ -74,7 +74,7 @@ async function handleCreate(argv, prompter) {
74
74
  required: true,
75
75
  },
76
76
  {
77
- type: 'text',
77
+ type: 'json',
78
78
  name: 'data',
79
79
  message: 'data',
80
80
  required: true,