@constructive-sdk/cli 0.25.8 → 0.25.10

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 (229) hide show
  1. package/admin/cli/commands/app-admin-grant.js +3 -1
  2. package/admin/cli/commands/app-grant.js +3 -1
  3. package/admin/cli/commands/app-invite.js +44 -0
  4. package/admin/cli/commands/app-owner-grant.js +3 -1
  5. package/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
  6. package/admin/cli/commands/app-permission-default-grant.js +286 -0
  7. package/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
  8. package/admin/cli/commands/app-permission-default-permission.js +242 -0
  9. package/admin/cli/commands/org-admin-grant.js +3 -1
  10. package/admin/cli/commands/org-grant.js +3 -1
  11. package/admin/cli/commands/org-invite.js +44 -0
  12. package/admin/cli/commands/org-owner-grant.js +3 -1
  13. package/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
  14. package/admin/cli/commands/org-permission-default-grant.js +306 -0
  15. package/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
  16. package/admin/cli/commands/org-permission-default-permission.js +262 -0
  17. package/admin/cli/commands.js +11 -3
  18. package/admin/cli/executor.d.ts +5 -1
  19. package/admin/orm/index.d.ts +10 -2
  20. package/admin/orm/index.js +10 -2
  21. package/admin/orm/input-types.d.ts +1611 -230
  22. package/admin/orm/input-types.js +9 -1
  23. package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  24. package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
  25. package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  26. package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
  27. package/admin/orm/models/index.d.ts +5 -1
  28. package/admin/orm/models/index.js +11 -3
  29. package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  30. package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
  31. package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  32. package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
  33. package/agent/cli/commands/agent-message.js +34 -12
  34. package/agent/cli/commands/agent-task.js +12 -12
  35. package/agent/cli/embedder.d.ts +5 -0
  36. package/agent/cli/embedder.js +46 -9
  37. package/agent/orm/input-types.d.ts +289 -47
  38. package/agent/orm/input-types.js +1 -0
  39. package/api/cli/commands/check-constraint.js +0 -22
  40. package/api/cli/commands/composite-type.d.ts +8 -0
  41. package/api/cli/commands/composite-type.js +424 -0
  42. package/api/cli/commands/enum.js +0 -22
  43. package/api/cli/commands/field.js +0 -22
  44. package/api/cli/commands/foreign-key-constraint.js +0 -22
  45. package/api/cli/commands/index.js +0 -22
  46. package/api/cli/commands/policy.js +0 -22
  47. package/api/cli/commands/primary-key-constraint.js +0 -22
  48. package/api/cli/commands/schema.js +0 -22
  49. package/api/cli/commands/spatial-relation.js +0 -22
  50. package/api/cli/commands/table.js +6 -28
  51. package/api/cli/commands/trigger.js +0 -22
  52. package/api/cli/commands/unique-constraint.js +0 -22
  53. package/api/cli/commands/view-table.js +22 -0
  54. package/api/cli/commands/view.js +0 -22
  55. package/api/cli/commands.js +3 -1
  56. package/api/cli/executor.d.ts +1 -0
  57. package/api/orm/index.d.ts +2 -0
  58. package/api/orm/index.js +2 -0
  59. package/api/orm/input-types.d.ts +1064 -125
  60. package/api/orm/input-types.js +3 -0
  61. package/api/orm/models/compositeType.d.ts +54 -0
  62. package/api/orm/models/compositeType.js +104 -0
  63. package/api/orm/models/index.d.ts +1 -0
  64. package/api/orm/models/index.js +3 -1
  65. package/auth/cli/commands/link-identity.d.ts +8 -0
  66. package/auth/cli/commands/link-identity.js +36 -0
  67. package/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
  68. package/auth/cli/commands/sign-in-sms-otp.js +36 -0
  69. package/auth/cli/commands/sign-up-sms.d.ts +8 -0
  70. package/auth/cli/commands/sign-up-sms.js +36 -0
  71. package/auth/cli/commands.js +7 -1
  72. package/auth/cli/executor.d.ts +15 -0
  73. package/auth/orm/index.d.ts +15 -0
  74. package/auth/orm/input-types.d.ts +197 -1
  75. package/auth/orm/mutation/index.d.ts +25 -1
  76. package/auth/orm/mutation/index.js +36 -0
  77. package/esm/admin/cli/commands/app-admin-grant.js +3 -1
  78. package/esm/admin/cli/commands/app-grant.js +3 -1
  79. package/esm/admin/cli/commands/app-invite.js +44 -0
  80. package/esm/admin/cli/commands/app-owner-grant.js +3 -1
  81. package/esm/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
  82. package/esm/admin/cli/commands/app-permission-default-grant.js +284 -0
  83. package/esm/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
  84. package/esm/admin/cli/commands/app-permission-default-permission.js +240 -0
  85. package/esm/admin/cli/commands/org-admin-grant.js +3 -1
  86. package/esm/admin/cli/commands/org-grant.js +3 -1
  87. package/esm/admin/cli/commands/org-invite.js +44 -0
  88. package/esm/admin/cli/commands/org-owner-grant.js +3 -1
  89. package/esm/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
  90. package/esm/admin/cli/commands/org-permission-default-grant.js +304 -0
  91. package/esm/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
  92. package/esm/admin/cli/commands/org-permission-default-permission.js +260 -0
  93. package/esm/admin/cli/commands.js +11 -3
  94. package/esm/admin/cli/executor.d.ts +5 -1
  95. package/esm/admin/orm/index.d.ts +10 -2
  96. package/esm/admin/orm/index.js +10 -2
  97. package/esm/admin/orm/input-types.d.ts +1611 -230
  98. package/esm/admin/orm/input-types.js +9 -1
  99. package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  100. package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
  101. package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  102. package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
  103. package/esm/admin/orm/models/index.d.ts +5 -1
  104. package/esm/admin/orm/models/index.js +5 -1
  105. package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  106. package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
  107. package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  108. package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
  109. package/esm/agent/cli/commands/agent-message.js +34 -12
  110. package/esm/agent/cli/commands/agent-task.js +12 -12
  111. package/esm/agent/cli/embedder.d.ts +5 -0
  112. package/esm/agent/cli/embedder.js +10 -2
  113. package/esm/agent/orm/input-types.d.ts +289 -47
  114. package/esm/agent/orm/input-types.js +1 -0
  115. package/esm/api/cli/commands/check-constraint.js +0 -22
  116. package/esm/api/cli/commands/composite-type.d.ts +8 -0
  117. package/esm/api/cli/commands/composite-type.js +422 -0
  118. package/esm/api/cli/commands/enum.js +0 -22
  119. package/esm/api/cli/commands/field.js +0 -22
  120. package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
  121. package/esm/api/cli/commands/index.js +0 -22
  122. package/esm/api/cli/commands/policy.js +0 -22
  123. package/esm/api/cli/commands/primary-key-constraint.js +0 -22
  124. package/esm/api/cli/commands/schema.js +0 -22
  125. package/esm/api/cli/commands/spatial-relation.js +0 -22
  126. package/esm/api/cli/commands/table.js +6 -28
  127. package/esm/api/cli/commands/trigger.js +0 -22
  128. package/esm/api/cli/commands/unique-constraint.js +0 -22
  129. package/esm/api/cli/commands/view-table.js +22 -0
  130. package/esm/api/cli/commands/view.js +0 -22
  131. package/esm/api/cli/commands.js +3 -1
  132. package/esm/api/cli/executor.d.ts +1 -0
  133. package/esm/api/orm/index.d.ts +2 -0
  134. package/esm/api/orm/index.js +2 -0
  135. package/esm/api/orm/input-types.d.ts +1064 -125
  136. package/esm/api/orm/input-types.js +3 -0
  137. package/esm/api/orm/models/compositeType.d.ts +54 -0
  138. package/esm/api/orm/models/compositeType.js +100 -0
  139. package/esm/api/orm/models/index.d.ts +1 -0
  140. package/esm/api/orm/models/index.js +1 -0
  141. package/esm/auth/cli/commands/link-identity.d.ts +8 -0
  142. package/esm/auth/cli/commands/link-identity.js +34 -0
  143. package/esm/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
  144. package/esm/auth/cli/commands/sign-in-sms-otp.js +34 -0
  145. package/esm/auth/cli/commands/sign-up-sms.d.ts +8 -0
  146. package/esm/auth/cli/commands/sign-up-sms.js +34 -0
  147. package/esm/auth/cli/commands.js +7 -1
  148. package/esm/auth/cli/executor.d.ts +15 -0
  149. package/esm/auth/orm/index.d.ts +15 -0
  150. package/esm/auth/orm/input-types.d.ts +197 -1
  151. package/esm/auth/orm/mutation/index.d.ts +25 -1
  152. package/esm/auth/orm/mutation/index.js +36 -0
  153. package/esm/modules/cli/commands/agent-module.js +88 -0
  154. package/esm/modules/cli/commands/billing-module.js +66 -0
  155. package/esm/modules/cli/commands/compute-log-module.js +44 -0
  156. package/esm/modules/cli/commands/config-secrets-module.js +44 -0
  157. package/esm/modules/cli/commands/db-usage-module.js +66 -0
  158. package/esm/modules/cli/commands/entity-type-provision.js +0 -44
  159. package/esm/modules/cli/commands/events-module.js +66 -0
  160. package/esm/modules/cli/commands/function-invocation-module.d.ts +8 -0
  161. package/esm/modules/cli/commands/function-invocation-module.js +580 -0
  162. package/esm/modules/cli/commands/function-module.js +22 -198
  163. package/esm/modules/cli/commands/graph-module.js +22 -0
  164. package/esm/modules/cli/commands/hierarchy-module.js +22 -0
  165. package/esm/modules/cli/commands/identity-providers-module.js +44 -0
  166. package/esm/modules/cli/commands/inference-log-module.js +44 -0
  167. package/esm/modules/cli/commands/invites-module.js +44 -0
  168. package/esm/modules/cli/commands/limits-module.js +44 -0
  169. package/esm/modules/cli/commands/memberships-module.js +88 -0
  170. package/esm/modules/cli/commands/merkle-store-module.js +22 -0
  171. package/esm/modules/cli/commands/namespace-module.js +22 -0
  172. package/esm/modules/cli/commands/notifications-module.js +88 -0
  173. package/esm/modules/cli/commands/permissions-module.js +44 -0
  174. package/esm/modules/cli/commands/plans-module.js +44 -0
  175. package/esm/modules/cli/commands/profiles-module.js +44 -0
  176. package/esm/modules/cli/commands/rate-limit-meters-module.js +66 -0
  177. package/esm/modules/cli/commands/storage-log-module.js +44 -0
  178. package/esm/modules/cli/commands/storage-module.js +66 -0
  179. package/esm/modules/cli/commands/transfer-log-module.js +44 -0
  180. package/esm/modules/cli/commands.js +29 -27
  181. package/esm/modules/cli/executor.d.ts +14 -13
  182. package/esm/modules/orm/index.d.ts +28 -26
  183. package/esm/modules/orm/index.js +28 -26
  184. package/esm/modules/orm/input-types.d.ts +4485 -2514
  185. package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
  186. package/esm/modules/orm/models/functionInvocationModule.js +100 -0
  187. package/esm/modules/orm/models/index.d.ts +14 -13
  188. package/esm/modules/orm/models/index.js +14 -13
  189. package/esm/objects/orm/input-types.d.ts +62 -0
  190. package/esm/usage/orm/input-types.d.ts +314 -19
  191. package/modules/cli/commands/agent-module.js +88 -0
  192. package/modules/cli/commands/billing-module.js +66 -0
  193. package/modules/cli/commands/compute-log-module.js +44 -0
  194. package/modules/cli/commands/config-secrets-module.js +44 -0
  195. package/modules/cli/commands/db-usage-module.js +66 -0
  196. package/modules/cli/commands/entity-type-provision.js +0 -44
  197. package/modules/cli/commands/events-module.js +66 -0
  198. package/modules/cli/commands/function-invocation-module.d.ts +8 -0
  199. package/modules/cli/commands/function-invocation-module.js +582 -0
  200. package/modules/cli/commands/function-module.js +22 -198
  201. package/modules/cli/commands/graph-module.js +22 -0
  202. package/modules/cli/commands/hierarchy-module.js +22 -0
  203. package/modules/cli/commands/identity-providers-module.js +44 -0
  204. package/modules/cli/commands/inference-log-module.js +44 -0
  205. package/modules/cli/commands/invites-module.js +44 -0
  206. package/modules/cli/commands/limits-module.js +44 -0
  207. package/modules/cli/commands/memberships-module.js +88 -0
  208. package/modules/cli/commands/merkle-store-module.js +22 -0
  209. package/modules/cli/commands/namespace-module.js +22 -0
  210. package/modules/cli/commands/notifications-module.js +88 -0
  211. package/modules/cli/commands/permissions-module.js +44 -0
  212. package/modules/cli/commands/plans-module.js +44 -0
  213. package/modules/cli/commands/profiles-module.js +44 -0
  214. package/modules/cli/commands/rate-limit-meters-module.js +66 -0
  215. package/modules/cli/commands/storage-log-module.js +44 -0
  216. package/modules/cli/commands/storage-module.js +66 -0
  217. package/modules/cli/commands/transfer-log-module.js +44 -0
  218. package/modules/cli/commands.js +29 -27
  219. package/modules/cli/executor.d.ts +14 -13
  220. package/modules/orm/index.d.ts +28 -26
  221. package/modules/orm/index.js +28 -26
  222. package/modules/orm/input-types.d.ts +4485 -2514
  223. package/modules/orm/models/functionInvocationModule.d.ts +54 -0
  224. package/modules/orm/models/functionInvocationModule.js +104 -0
  225. package/modules/orm/models/index.d.ts +14 -13
  226. package/modules/orm/models/index.js +30 -28
  227. package/objects/orm/input-types.d.ts +62 -0
  228. package/package.json +4 -4
  229. package/usage/orm/input-types.d.ts +314 -19
@@ -13,6 +13,8 @@ const fieldSchema = {
13
13
  databaseId: 'uuid',
14
14
  schemaId: 'uuid',
15
15
  privateSchemaId: 'uuid',
16
+ publicSchemaName: 'string',
17
+ privateSchemaName: 'string',
16
18
  tableId: 'uuid',
17
19
  tableName: 'string',
18
20
  apiName: 'string',
@@ -67,6 +69,8 @@ async function handleList(argv, _prompter) {
67
69
  databaseId: true,
68
70
  schemaId: true,
69
71
  privateSchemaId: true,
72
+ publicSchemaName: true,
73
+ privateSchemaName: true,
70
74
  tableId: true,
71
75
  tableName: true,
72
76
  apiName: true,
@@ -95,6 +99,8 @@ async function handleFindFirst(argv, _prompter) {
95
99
  databaseId: true,
96
100
  schemaId: true,
97
101
  privateSchemaId: true,
102
+ publicSchemaName: true,
103
+ privateSchemaName: true,
98
104
  tableId: true,
99
105
  tableName: true,
100
106
  apiName: true,
@@ -135,6 +141,8 @@ async function handleGet(argv, prompter) {
135
141
  databaseId: true,
136
142
  schemaId: true,
137
143
  privateSchemaId: true,
144
+ publicSchemaName: true,
145
+ privateSchemaName: true,
138
146
  tableId: true,
139
147
  tableName: true,
140
148
  apiName: true,
@@ -178,6 +186,20 @@ async function handleCreate(argv, prompter) {
178
186
  required: false,
179
187
  skipPrompt: true,
180
188
  },
189
+ {
190
+ type: 'text',
191
+ name: 'publicSchemaName',
192
+ message: 'publicSchemaName',
193
+ required: false,
194
+ skipPrompt: true,
195
+ },
196
+ {
197
+ type: 'text',
198
+ name: 'privateSchemaName',
199
+ message: 'privateSchemaName',
200
+ required: false,
201
+ skipPrompt: true,
202
+ },
181
203
  {
182
204
  type: 'text',
183
205
  name: 'tableId',
@@ -237,6 +259,8 @@ async function handleCreate(argv, prompter) {
237
259
  databaseId: cleanedData.databaseId,
238
260
  schemaId: cleanedData.schemaId,
239
261
  privateSchemaId: cleanedData.privateSchemaId,
262
+ publicSchemaName: cleanedData.publicSchemaName,
263
+ privateSchemaName: cleanedData.privateSchemaName,
240
264
  tableId: cleanedData.tableId,
241
265
  tableName: cleanedData.tableName,
242
266
  apiName: cleanedData.apiName,
@@ -250,6 +274,8 @@ async function handleCreate(argv, prompter) {
250
274
  databaseId: true,
251
275
  schemaId: true,
252
276
  privateSchemaId: true,
277
+ publicSchemaName: true,
278
+ privateSchemaName: true,
253
279
  tableId: true,
254
280
  tableName: true,
255
281
  apiName: true,
@@ -299,6 +325,20 @@ async function handleUpdate(argv, prompter) {
299
325
  required: false,
300
326
  skipPrompt: true,
301
327
  },
328
+ {
329
+ type: 'text',
330
+ name: 'publicSchemaName',
331
+ message: 'publicSchemaName',
332
+ required: false,
333
+ skipPrompt: true,
334
+ },
335
+ {
336
+ type: 'text',
337
+ name: 'privateSchemaName',
338
+ message: 'privateSchemaName',
339
+ required: false,
340
+ skipPrompt: true,
341
+ },
302
342
  {
303
343
  type: 'text',
304
344
  name: 'tableId',
@@ -361,6 +401,8 @@ async function handleUpdate(argv, prompter) {
361
401
  databaseId: cleanedData.databaseId,
362
402
  schemaId: cleanedData.schemaId,
363
403
  privateSchemaId: cleanedData.privateSchemaId,
404
+ publicSchemaName: cleanedData.publicSchemaName,
405
+ privateSchemaName: cleanedData.privateSchemaName,
364
406
  tableId: cleanedData.tableId,
365
407
  tableName: cleanedData.tableName,
366
408
  apiName: cleanedData.apiName,
@@ -374,6 +416,8 @@ async function handleUpdate(argv, prompter) {
374
416
  databaseId: true,
375
417
  schemaId: true,
376
418
  privateSchemaId: true,
419
+ publicSchemaName: true,
420
+ privateSchemaName: true,
377
421
  tableId: true,
378
422
  tableName: true,
379
423
  apiName: true,
@@ -13,6 +13,8 @@ const fieldSchema = {
13
13
  databaseId: 'uuid',
14
14
  schemaId: 'uuid',
15
15
  privateSchemaId: 'uuid',
16
+ publicSchemaName: 'string',
17
+ privateSchemaName: 'string',
16
18
  inferenceLogTableId: 'uuid',
17
19
  inferenceLogTableName: 'string',
18
20
  usageDailyTableId: 'uuid',
@@ -73,6 +75,8 @@ async function handleList(argv, _prompter) {
73
75
  databaseId: true,
74
76
  schemaId: true,
75
77
  privateSchemaId: true,
78
+ publicSchemaName: true,
79
+ privateSchemaName: true,
76
80
  inferenceLogTableId: true,
77
81
  inferenceLogTableName: true,
78
82
  usageDailyTableId: true,
@@ -107,6 +111,8 @@ async function handleFindFirst(argv, _prompter) {
107
111
  databaseId: true,
108
112
  schemaId: true,
109
113
  privateSchemaId: true,
114
+ publicSchemaName: true,
115
+ privateSchemaName: true,
110
116
  inferenceLogTableId: true,
111
117
  inferenceLogTableName: true,
112
118
  usageDailyTableId: true,
@@ -153,6 +159,8 @@ async function handleGet(argv, prompter) {
153
159
  databaseId: true,
154
160
  schemaId: true,
155
161
  privateSchemaId: true,
162
+ publicSchemaName: true,
163
+ privateSchemaName: true,
156
164
  inferenceLogTableId: true,
157
165
  inferenceLogTableName: true,
158
166
  usageDailyTableId: true,
@@ -202,6 +210,20 @@ async function handleCreate(argv, prompter) {
202
210
  required: false,
203
211
  skipPrompt: true,
204
212
  },
213
+ {
214
+ type: 'text',
215
+ name: 'publicSchemaName',
216
+ message: 'publicSchemaName',
217
+ required: false,
218
+ skipPrompt: true,
219
+ },
220
+ {
221
+ type: 'text',
222
+ name: 'privateSchemaName',
223
+ message: 'privateSchemaName',
224
+ required: false,
225
+ skipPrompt: true,
226
+ },
205
227
  {
206
228
  type: 'text',
207
229
  name: 'inferenceLogTableId',
@@ -303,6 +325,8 @@ async function handleCreate(argv, prompter) {
303
325
  databaseId: cleanedData.databaseId,
304
326
  schemaId: cleanedData.schemaId,
305
327
  privateSchemaId: cleanedData.privateSchemaId,
328
+ publicSchemaName: cleanedData.publicSchemaName,
329
+ privateSchemaName: cleanedData.privateSchemaName,
306
330
  inferenceLogTableId: cleanedData.inferenceLogTableId,
307
331
  inferenceLogTableName: cleanedData.inferenceLogTableName,
308
332
  usageDailyTableId: cleanedData.usageDailyTableId,
@@ -322,6 +346,8 @@ async function handleCreate(argv, prompter) {
322
346
  databaseId: true,
323
347
  schemaId: true,
324
348
  privateSchemaId: true,
349
+ publicSchemaName: true,
350
+ privateSchemaName: true,
325
351
  inferenceLogTableId: true,
326
352
  inferenceLogTableName: true,
327
353
  usageDailyTableId: true,
@@ -377,6 +403,20 @@ async function handleUpdate(argv, prompter) {
377
403
  required: false,
378
404
  skipPrompt: true,
379
405
  },
406
+ {
407
+ type: 'text',
408
+ name: 'publicSchemaName',
409
+ message: 'publicSchemaName',
410
+ required: false,
411
+ skipPrompt: true,
412
+ },
413
+ {
414
+ type: 'text',
415
+ name: 'privateSchemaName',
416
+ message: 'privateSchemaName',
417
+ required: false,
418
+ skipPrompt: true,
419
+ },
380
420
  {
381
421
  type: 'text',
382
422
  name: 'inferenceLogTableId',
@@ -481,6 +521,8 @@ async function handleUpdate(argv, prompter) {
481
521
  databaseId: cleanedData.databaseId,
482
522
  schemaId: cleanedData.schemaId,
483
523
  privateSchemaId: cleanedData.privateSchemaId,
524
+ publicSchemaName: cleanedData.publicSchemaName,
525
+ privateSchemaName: cleanedData.privateSchemaName,
484
526
  inferenceLogTableId: cleanedData.inferenceLogTableId,
485
527
  inferenceLogTableName: cleanedData.inferenceLogTableName,
486
528
  usageDailyTableId: cleanedData.usageDailyTableId,
@@ -500,6 +542,8 @@ async function handleUpdate(argv, prompter) {
500
542
  databaseId: true,
501
543
  schemaId: true,
502
544
  privateSchemaId: true,
545
+ publicSchemaName: true,
546
+ privateSchemaName: true,
503
547
  inferenceLogTableId: true,
504
548
  inferenceLogTableName: true,
505
549
  usageDailyTableId: true,
@@ -13,6 +13,8 @@ const fieldSchema = {
13
13
  databaseId: 'uuid',
14
14
  schemaId: 'uuid',
15
15
  privateSchemaId: 'uuid',
16
+ publicSchemaName: 'string',
17
+ privateSchemaName: 'string',
16
18
  emailsTableId: 'uuid',
17
19
  usersTableId: 'uuid',
18
20
  invitesTableId: 'uuid',
@@ -72,6 +74,8 @@ async function handleList(argv, _prompter) {
72
74
  databaseId: true,
73
75
  schemaId: true,
74
76
  privateSchemaId: true,
77
+ publicSchemaName: true,
78
+ privateSchemaName: true,
75
79
  emailsTableId: true,
76
80
  usersTableId: true,
77
81
  invitesTableId: true,
@@ -105,6 +109,8 @@ async function handleFindFirst(argv, _prompter) {
105
109
  databaseId: true,
106
110
  schemaId: true,
107
111
  privateSchemaId: true,
112
+ publicSchemaName: true,
113
+ privateSchemaName: true,
108
114
  emailsTableId: true,
109
115
  usersTableId: true,
110
116
  invitesTableId: true,
@@ -150,6 +156,8 @@ async function handleGet(argv, prompter) {
150
156
  databaseId: true,
151
157
  schemaId: true,
152
158
  privateSchemaId: true,
159
+ publicSchemaName: true,
160
+ privateSchemaName: true,
153
161
  emailsTableId: true,
154
162
  usersTableId: true,
155
163
  invitesTableId: true,
@@ -198,6 +206,20 @@ async function handleCreate(argv, prompter) {
198
206
  required: false,
199
207
  skipPrompt: true,
200
208
  },
209
+ {
210
+ type: 'text',
211
+ name: 'publicSchemaName',
212
+ message: 'publicSchemaName',
213
+ required: false,
214
+ skipPrompt: true,
215
+ },
216
+ {
217
+ type: 'text',
218
+ name: 'privateSchemaName',
219
+ message: 'privateSchemaName',
220
+ required: false,
221
+ skipPrompt: true,
222
+ },
201
223
  {
202
224
  type: 'text',
203
225
  name: 'emailsTableId',
@@ -292,6 +314,8 @@ async function handleCreate(argv, prompter) {
292
314
  databaseId: cleanedData.databaseId,
293
315
  schemaId: cleanedData.schemaId,
294
316
  privateSchemaId: cleanedData.privateSchemaId,
317
+ publicSchemaName: cleanedData.publicSchemaName,
318
+ privateSchemaName: cleanedData.privateSchemaName,
295
319
  emailsTableId: cleanedData.emailsTableId,
296
320
  usersTableId: cleanedData.usersTableId,
297
321
  invitesTableId: cleanedData.invitesTableId,
@@ -310,6 +334,8 @@ async function handleCreate(argv, prompter) {
310
334
  databaseId: true,
311
335
  schemaId: true,
312
336
  privateSchemaId: true,
337
+ publicSchemaName: true,
338
+ privateSchemaName: true,
313
339
  emailsTableId: true,
314
340
  usersTableId: true,
315
341
  invitesTableId: true,
@@ -364,6 +390,20 @@ async function handleUpdate(argv, prompter) {
364
390
  required: false,
365
391
  skipPrompt: true,
366
392
  },
393
+ {
394
+ type: 'text',
395
+ name: 'publicSchemaName',
396
+ message: 'publicSchemaName',
397
+ required: false,
398
+ skipPrompt: true,
399
+ },
400
+ {
401
+ type: 'text',
402
+ name: 'privateSchemaName',
403
+ message: 'privateSchemaName',
404
+ required: false,
405
+ skipPrompt: true,
406
+ },
367
407
  {
368
408
  type: 'text',
369
409
  name: 'emailsTableId',
@@ -461,6 +501,8 @@ async function handleUpdate(argv, prompter) {
461
501
  databaseId: cleanedData.databaseId,
462
502
  schemaId: cleanedData.schemaId,
463
503
  privateSchemaId: cleanedData.privateSchemaId,
504
+ publicSchemaName: cleanedData.publicSchemaName,
505
+ privateSchemaName: cleanedData.privateSchemaName,
464
506
  emailsTableId: cleanedData.emailsTableId,
465
507
  usersTableId: cleanedData.usersTableId,
466
508
  invitesTableId: cleanedData.invitesTableId,
@@ -479,6 +521,8 @@ async function handleUpdate(argv, prompter) {
479
521
  databaseId: true,
480
522
  schemaId: true,
481
523
  privateSchemaId: true,
524
+ publicSchemaName: true,
525
+ privateSchemaName: true,
482
526
  emailsTableId: true,
483
527
  usersTableId: true,
484
528
  invitesTableId: true,
@@ -13,6 +13,8 @@ const fieldSchema = {
13
13
  databaseId: 'uuid',
14
14
  schemaId: 'uuid',
15
15
  privateSchemaId: 'uuid',
16
+ publicSchemaName: 'string',
17
+ privateSchemaName: 'string',
16
18
  tableId: 'uuid',
17
19
  tableName: 'string',
18
20
  defaultTableId: 'uuid',
@@ -90,6 +92,8 @@ async function handleList(argv, _prompter) {
90
92
  databaseId: true,
91
93
  schemaId: true,
92
94
  privateSchemaId: true,
95
+ publicSchemaName: true,
96
+ privateSchemaName: true,
93
97
  tableId: true,
94
98
  tableName: true,
95
99
  defaultTableId: true,
@@ -141,6 +145,8 @@ async function handleFindFirst(argv, _prompter) {
141
145
  databaseId: true,
142
146
  schemaId: true,
143
147
  privateSchemaId: true,
148
+ publicSchemaName: true,
149
+ privateSchemaName: true,
144
150
  tableId: true,
145
151
  tableName: true,
146
152
  defaultTableId: true,
@@ -204,6 +210,8 @@ async function handleGet(argv, prompter) {
204
210
  databaseId: true,
205
211
  schemaId: true,
206
212
  privateSchemaId: true,
213
+ publicSchemaName: true,
214
+ privateSchemaName: true,
207
215
  tableId: true,
208
216
  tableName: true,
209
217
  defaultTableId: true,
@@ -270,6 +278,20 @@ async function handleCreate(argv, prompter) {
270
278
  required: false,
271
279
  skipPrompt: true,
272
280
  },
281
+ {
282
+ type: 'text',
283
+ name: 'publicSchemaName',
284
+ message: 'publicSchemaName',
285
+ required: false,
286
+ skipPrompt: true,
287
+ },
288
+ {
289
+ type: 'text',
290
+ name: 'privateSchemaName',
291
+ message: 'privateSchemaName',
292
+ required: false,
293
+ skipPrompt: true,
294
+ },
273
295
  {
274
296
  type: 'text',
275
297
  name: 'tableId',
@@ -490,6 +512,8 @@ async function handleCreate(argv, prompter) {
490
512
  databaseId: cleanedData.databaseId,
491
513
  schemaId: cleanedData.schemaId,
492
514
  privateSchemaId: cleanedData.privateSchemaId,
515
+ publicSchemaName: cleanedData.publicSchemaName,
516
+ privateSchemaName: cleanedData.privateSchemaName,
493
517
  tableId: cleanedData.tableId,
494
518
  tableName: cleanedData.tableName,
495
519
  defaultTableId: cleanedData.defaultTableId,
@@ -526,6 +550,8 @@ async function handleCreate(argv, prompter) {
526
550
  databaseId: true,
527
551
  schemaId: true,
528
552
  privateSchemaId: true,
553
+ publicSchemaName: true,
554
+ privateSchemaName: true,
529
555
  tableId: true,
530
556
  tableName: true,
531
557
  defaultTableId: true,
@@ -598,6 +624,20 @@ async function handleUpdate(argv, prompter) {
598
624
  required: false,
599
625
  skipPrompt: true,
600
626
  },
627
+ {
628
+ type: 'text',
629
+ name: 'publicSchemaName',
630
+ message: 'publicSchemaName',
631
+ required: false,
632
+ skipPrompt: true,
633
+ },
634
+ {
635
+ type: 'text',
636
+ name: 'privateSchemaName',
637
+ message: 'privateSchemaName',
638
+ required: false,
639
+ skipPrompt: true,
640
+ },
601
641
  {
602
642
  type: 'text',
603
643
  name: 'tableId',
@@ -821,6 +861,8 @@ async function handleUpdate(argv, prompter) {
821
861
  databaseId: cleanedData.databaseId,
822
862
  schemaId: cleanedData.schemaId,
823
863
  privateSchemaId: cleanedData.privateSchemaId,
864
+ publicSchemaName: cleanedData.publicSchemaName,
865
+ privateSchemaName: cleanedData.privateSchemaName,
824
866
  tableId: cleanedData.tableId,
825
867
  tableName: cleanedData.tableName,
826
868
  defaultTableId: cleanedData.defaultTableId,
@@ -857,6 +899,8 @@ async function handleUpdate(argv, prompter) {
857
899
  databaseId: true,
858
900
  schemaId: true,
859
901
  privateSchemaId: true,
902
+ publicSchemaName: true,
903
+ privateSchemaName: true,
860
904
  tableId: true,
861
905
  tableName: true,
862
906
  defaultTableId: true,
@@ -13,6 +13,8 @@ const fieldSchema = {
13
13
  databaseId: 'uuid',
14
14
  schemaId: 'uuid',
15
15
  privateSchemaId: 'uuid',
16
+ publicSchemaName: 'string',
17
+ privateSchemaName: 'string',
16
18
  membershipsTableId: 'uuid',
17
19
  membershipsTableName: 'string',
18
20
  membersTableId: 'uuid',
@@ -44,6 +46,8 @@ const fieldSchema = {
44
46
  entityIdsByPerm: 'string',
45
47
  entityIdsFunction: 'string',
46
48
  memberProfilesTableId: 'uuid',
49
+ permissionDefaultPermissionsTableId: 'uuid',
50
+ permissionDefaultGrantsTableId: 'uuid',
47
51
  apiName: 'string',
48
52
  privateApiName: 'string',
49
53
  };
@@ -93,6 +97,8 @@ async function handleList(argv, _prompter) {
93
97
  databaseId: true,
94
98
  schemaId: true,
95
99
  privateSchemaId: true,
100
+ publicSchemaName: true,
101
+ privateSchemaName: true,
96
102
  membershipsTableId: true,
97
103
  membershipsTableName: true,
98
104
  membersTableId: true,
@@ -124,6 +130,8 @@ async function handleList(argv, _prompter) {
124
130
  entityIdsByPerm: true,
125
131
  entityIdsFunction: true,
126
132
  memberProfilesTableId: true,
133
+ permissionDefaultPermissionsTableId: true,
134
+ permissionDefaultGrantsTableId: true,
127
135
  apiName: true,
128
136
  privateApiName: true,
129
137
  };
@@ -147,6 +155,8 @@ async function handleFindFirst(argv, _prompter) {
147
155
  databaseId: true,
148
156
  schemaId: true,
149
157
  privateSchemaId: true,
158
+ publicSchemaName: true,
159
+ privateSchemaName: true,
150
160
  membershipsTableId: true,
151
161
  membershipsTableName: true,
152
162
  membersTableId: true,
@@ -178,6 +188,8 @@ async function handleFindFirst(argv, _prompter) {
178
188
  entityIdsByPerm: true,
179
189
  entityIdsFunction: true,
180
190
  memberProfilesTableId: true,
191
+ permissionDefaultPermissionsTableId: true,
192
+ permissionDefaultGrantsTableId: true,
181
193
  apiName: true,
182
194
  privateApiName: true,
183
195
  };
@@ -213,6 +225,8 @@ async function handleGet(argv, prompter) {
213
225
  databaseId: true,
214
226
  schemaId: true,
215
227
  privateSchemaId: true,
228
+ publicSchemaName: true,
229
+ privateSchemaName: true,
216
230
  membershipsTableId: true,
217
231
  membershipsTableName: true,
218
232
  membersTableId: true,
@@ -244,6 +258,8 @@ async function handleGet(argv, prompter) {
244
258
  entityIdsByPerm: true,
245
259
  entityIdsFunction: true,
246
260
  memberProfilesTableId: true,
261
+ permissionDefaultPermissionsTableId: true,
262
+ permissionDefaultGrantsTableId: true,
247
263
  apiName: true,
248
264
  privateApiName: true,
249
265
  },
@@ -282,6 +298,20 @@ async function handleCreate(argv, prompter) {
282
298
  required: false,
283
299
  skipPrompt: true,
284
300
  },
301
+ {
302
+ type: 'text',
303
+ name: 'publicSchemaName',
304
+ message: 'publicSchemaName',
305
+ required: false,
306
+ skipPrompt: true,
307
+ },
308
+ {
309
+ type: 'text',
310
+ name: 'privateSchemaName',
311
+ message: 'privateSchemaName',
312
+ required: false,
313
+ skipPrompt: true,
314
+ },
285
315
  {
286
316
  type: 'text',
287
317
  name: 'membershipsTableId',
@@ -499,6 +529,20 @@ async function handleCreate(argv, prompter) {
499
529
  required: false,
500
530
  skipPrompt: true,
501
531
  },
532
+ {
533
+ type: 'text',
534
+ name: 'permissionDefaultPermissionsTableId',
535
+ message: 'permissionDefaultPermissionsTableId',
536
+ required: false,
537
+ skipPrompt: true,
538
+ },
539
+ {
540
+ type: 'text',
541
+ name: 'permissionDefaultGrantsTableId',
542
+ message: 'permissionDefaultGrantsTableId',
543
+ required: false,
544
+ skipPrompt: true,
545
+ },
502
546
  {
503
547
  type: 'text',
504
548
  name: 'apiName',
@@ -523,6 +567,8 @@ async function handleCreate(argv, prompter) {
523
567
  databaseId: cleanedData.databaseId,
524
568
  schemaId: cleanedData.schemaId,
525
569
  privateSchemaId: cleanedData.privateSchemaId,
570
+ publicSchemaName: cleanedData.publicSchemaName,
571
+ privateSchemaName: cleanedData.privateSchemaName,
526
572
  membershipsTableId: cleanedData.membershipsTableId,
527
573
  membershipsTableName: cleanedData.membershipsTableName,
528
574
  membersTableId: cleanedData.membersTableId,
@@ -554,6 +600,8 @@ async function handleCreate(argv, prompter) {
554
600
  entityIdsByPerm: cleanedData.entityIdsByPerm,
555
601
  entityIdsFunction: cleanedData.entityIdsFunction,
556
602
  memberProfilesTableId: cleanedData.memberProfilesTableId,
603
+ permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
604
+ permissionDefaultGrantsTableId: cleanedData.permissionDefaultGrantsTableId,
557
605
  apiName: cleanedData.apiName,
558
606
  privateApiName: cleanedData.privateApiName,
559
607
  },
@@ -562,6 +610,8 @@ async function handleCreate(argv, prompter) {
562
610
  databaseId: true,
563
611
  schemaId: true,
564
612
  privateSchemaId: true,
613
+ publicSchemaName: true,
614
+ privateSchemaName: true,
565
615
  membershipsTableId: true,
566
616
  membershipsTableName: true,
567
617
  membersTableId: true,
@@ -593,6 +643,8 @@ async function handleCreate(argv, prompter) {
593
643
  entityIdsByPerm: true,
594
644
  entityIdsFunction: true,
595
645
  memberProfilesTableId: true,
646
+ permissionDefaultPermissionsTableId: true,
647
+ permissionDefaultGrantsTableId: true,
596
648
  apiName: true,
597
649
  privateApiName: true,
598
650
  },
@@ -637,6 +689,20 @@ async function handleUpdate(argv, prompter) {
637
689
  required: false,
638
690
  skipPrompt: true,
639
691
  },
692
+ {
693
+ type: 'text',
694
+ name: 'publicSchemaName',
695
+ message: 'publicSchemaName',
696
+ required: false,
697
+ skipPrompt: true,
698
+ },
699
+ {
700
+ type: 'text',
701
+ name: 'privateSchemaName',
702
+ message: 'privateSchemaName',
703
+ required: false,
704
+ skipPrompt: true,
705
+ },
640
706
  {
641
707
  type: 'text',
642
708
  name: 'membershipsTableId',
@@ -854,6 +920,20 @@ async function handleUpdate(argv, prompter) {
854
920
  required: false,
855
921
  skipPrompt: true,
856
922
  },
923
+ {
924
+ type: 'text',
925
+ name: 'permissionDefaultPermissionsTableId',
926
+ message: 'permissionDefaultPermissionsTableId',
927
+ required: false,
928
+ skipPrompt: true,
929
+ },
930
+ {
931
+ type: 'text',
932
+ name: 'permissionDefaultGrantsTableId',
933
+ message: 'permissionDefaultGrantsTableId',
934
+ required: false,
935
+ skipPrompt: true,
936
+ },
857
937
  {
858
938
  type: 'text',
859
939
  name: 'apiName',
@@ -881,6 +961,8 @@ async function handleUpdate(argv, prompter) {
881
961
  databaseId: cleanedData.databaseId,
882
962
  schemaId: cleanedData.schemaId,
883
963
  privateSchemaId: cleanedData.privateSchemaId,
964
+ publicSchemaName: cleanedData.publicSchemaName,
965
+ privateSchemaName: cleanedData.privateSchemaName,
884
966
  membershipsTableId: cleanedData.membershipsTableId,
885
967
  membershipsTableName: cleanedData.membershipsTableName,
886
968
  membersTableId: cleanedData.membersTableId,
@@ -912,6 +994,8 @@ async function handleUpdate(argv, prompter) {
912
994
  entityIdsByPerm: cleanedData.entityIdsByPerm,
913
995
  entityIdsFunction: cleanedData.entityIdsFunction,
914
996
  memberProfilesTableId: cleanedData.memberProfilesTableId,
997
+ permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
998
+ permissionDefaultGrantsTableId: cleanedData.permissionDefaultGrantsTableId,
915
999
  apiName: cleanedData.apiName,
916
1000
  privateApiName: cleanedData.privateApiName,
917
1001
  },
@@ -920,6 +1004,8 @@ async function handleUpdate(argv, prompter) {
920
1004
  databaseId: true,
921
1005
  schemaId: true,
922
1006
  privateSchemaId: true,
1007
+ publicSchemaName: true,
1008
+ privateSchemaName: true,
923
1009
  membershipsTableId: true,
924
1010
  membershipsTableName: true,
925
1011
  membersTableId: true,
@@ -951,6 +1037,8 @@ async function handleUpdate(argv, prompter) {
951
1037
  entityIdsByPerm: true,
952
1038
  entityIdsFunction: true,
953
1039
  memberProfilesTableId: true,
1040
+ permissionDefaultPermissionsTableId: true,
1041
+ permissionDefaultGrantsTableId: true,
954
1042
  apiName: true,
955
1043
  privateApiName: true,
956
1044
  },