@constructive-sdk/cli 0.25.9 → 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
@@ -11,6 +11,8 @@ const fieldSchema = {
11
11
  databaseId: 'uuid',
12
12
  schemaId: 'uuid',
13
13
  privateSchemaId: 'uuid',
14
+ publicSchemaName: 'string',
15
+ privateSchemaName: 'string',
14
16
  tableId: 'uuid',
15
17
  tableName: 'string',
16
18
  apiName: 'string',
@@ -65,6 +67,8 @@ async function handleList(argv, _prompter) {
65
67
  databaseId: true,
66
68
  schemaId: true,
67
69
  privateSchemaId: true,
70
+ publicSchemaName: true,
71
+ privateSchemaName: true,
68
72
  tableId: true,
69
73
  tableName: true,
70
74
  apiName: true,
@@ -93,6 +97,8 @@ async function handleFindFirst(argv, _prompter) {
93
97
  databaseId: true,
94
98
  schemaId: true,
95
99
  privateSchemaId: true,
100
+ publicSchemaName: true,
101
+ privateSchemaName: true,
96
102
  tableId: true,
97
103
  tableName: true,
98
104
  apiName: true,
@@ -133,6 +139,8 @@ async function handleGet(argv, prompter) {
133
139
  databaseId: true,
134
140
  schemaId: true,
135
141
  privateSchemaId: true,
142
+ publicSchemaName: true,
143
+ privateSchemaName: true,
136
144
  tableId: true,
137
145
  tableName: true,
138
146
  apiName: true,
@@ -176,6 +184,20 @@ async function handleCreate(argv, prompter) {
176
184
  required: false,
177
185
  skipPrompt: true,
178
186
  },
187
+ {
188
+ type: 'text',
189
+ name: 'publicSchemaName',
190
+ message: 'publicSchemaName',
191
+ required: false,
192
+ skipPrompt: true,
193
+ },
194
+ {
195
+ type: 'text',
196
+ name: 'privateSchemaName',
197
+ message: 'privateSchemaName',
198
+ required: false,
199
+ skipPrompt: true,
200
+ },
179
201
  {
180
202
  type: 'text',
181
203
  name: 'tableId',
@@ -235,6 +257,8 @@ async function handleCreate(argv, prompter) {
235
257
  databaseId: cleanedData.databaseId,
236
258
  schemaId: cleanedData.schemaId,
237
259
  privateSchemaId: cleanedData.privateSchemaId,
260
+ publicSchemaName: cleanedData.publicSchemaName,
261
+ privateSchemaName: cleanedData.privateSchemaName,
238
262
  tableId: cleanedData.tableId,
239
263
  tableName: cleanedData.tableName,
240
264
  apiName: cleanedData.apiName,
@@ -248,6 +272,8 @@ async function handleCreate(argv, prompter) {
248
272
  databaseId: true,
249
273
  schemaId: true,
250
274
  privateSchemaId: true,
275
+ publicSchemaName: true,
276
+ privateSchemaName: true,
251
277
  tableId: true,
252
278
  tableName: true,
253
279
  apiName: true,
@@ -297,6 +323,20 @@ async function handleUpdate(argv, prompter) {
297
323
  required: false,
298
324
  skipPrompt: true,
299
325
  },
326
+ {
327
+ type: 'text',
328
+ name: 'publicSchemaName',
329
+ message: 'publicSchemaName',
330
+ required: false,
331
+ skipPrompt: true,
332
+ },
333
+ {
334
+ type: 'text',
335
+ name: 'privateSchemaName',
336
+ message: 'privateSchemaName',
337
+ required: false,
338
+ skipPrompt: true,
339
+ },
300
340
  {
301
341
  type: 'text',
302
342
  name: 'tableId',
@@ -359,6 +399,8 @@ async function handleUpdate(argv, prompter) {
359
399
  databaseId: cleanedData.databaseId,
360
400
  schemaId: cleanedData.schemaId,
361
401
  privateSchemaId: cleanedData.privateSchemaId,
402
+ publicSchemaName: cleanedData.publicSchemaName,
403
+ privateSchemaName: cleanedData.privateSchemaName,
362
404
  tableId: cleanedData.tableId,
363
405
  tableName: cleanedData.tableName,
364
406
  apiName: cleanedData.apiName,
@@ -372,6 +414,8 @@ async function handleUpdate(argv, prompter) {
372
414
  databaseId: true,
373
415
  schemaId: true,
374
416
  privateSchemaId: true,
417
+ publicSchemaName: true,
418
+ privateSchemaName: true,
375
419
  tableId: true,
376
420
  tableName: true,
377
421
  apiName: true,
@@ -11,6 +11,8 @@ const fieldSchema = {
11
11
  databaseId: 'uuid',
12
12
  schemaId: 'uuid',
13
13
  privateSchemaId: 'uuid',
14
+ publicSchemaName: 'string',
15
+ privateSchemaName: 'string',
14
16
  inferenceLogTableId: 'uuid',
15
17
  inferenceLogTableName: 'string',
16
18
  usageDailyTableId: 'uuid',
@@ -71,6 +73,8 @@ async function handleList(argv, _prompter) {
71
73
  databaseId: true,
72
74
  schemaId: true,
73
75
  privateSchemaId: true,
76
+ publicSchemaName: true,
77
+ privateSchemaName: true,
74
78
  inferenceLogTableId: true,
75
79
  inferenceLogTableName: true,
76
80
  usageDailyTableId: 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
  inferenceLogTableId: true,
109
115
  inferenceLogTableName: true,
110
116
  usageDailyTableId: true,
@@ -151,6 +157,8 @@ async function handleGet(argv, prompter) {
151
157
  databaseId: true,
152
158
  schemaId: true,
153
159
  privateSchemaId: true,
160
+ publicSchemaName: true,
161
+ privateSchemaName: true,
154
162
  inferenceLogTableId: true,
155
163
  inferenceLogTableName: true,
156
164
  usageDailyTableId: true,
@@ -200,6 +208,20 @@ async function handleCreate(argv, prompter) {
200
208
  required: false,
201
209
  skipPrompt: true,
202
210
  },
211
+ {
212
+ type: 'text',
213
+ name: 'publicSchemaName',
214
+ message: 'publicSchemaName',
215
+ required: false,
216
+ skipPrompt: true,
217
+ },
218
+ {
219
+ type: 'text',
220
+ name: 'privateSchemaName',
221
+ message: 'privateSchemaName',
222
+ required: false,
223
+ skipPrompt: true,
224
+ },
203
225
  {
204
226
  type: 'text',
205
227
  name: 'inferenceLogTableId',
@@ -301,6 +323,8 @@ async function handleCreate(argv, prompter) {
301
323
  databaseId: cleanedData.databaseId,
302
324
  schemaId: cleanedData.schemaId,
303
325
  privateSchemaId: cleanedData.privateSchemaId,
326
+ publicSchemaName: cleanedData.publicSchemaName,
327
+ privateSchemaName: cleanedData.privateSchemaName,
304
328
  inferenceLogTableId: cleanedData.inferenceLogTableId,
305
329
  inferenceLogTableName: cleanedData.inferenceLogTableName,
306
330
  usageDailyTableId: cleanedData.usageDailyTableId,
@@ -320,6 +344,8 @@ async function handleCreate(argv, prompter) {
320
344
  databaseId: true,
321
345
  schemaId: true,
322
346
  privateSchemaId: true,
347
+ publicSchemaName: true,
348
+ privateSchemaName: true,
323
349
  inferenceLogTableId: true,
324
350
  inferenceLogTableName: true,
325
351
  usageDailyTableId: true,
@@ -375,6 +401,20 @@ async function handleUpdate(argv, prompter) {
375
401
  required: false,
376
402
  skipPrompt: true,
377
403
  },
404
+ {
405
+ type: 'text',
406
+ name: 'publicSchemaName',
407
+ message: 'publicSchemaName',
408
+ required: false,
409
+ skipPrompt: true,
410
+ },
411
+ {
412
+ type: 'text',
413
+ name: 'privateSchemaName',
414
+ message: 'privateSchemaName',
415
+ required: false,
416
+ skipPrompt: true,
417
+ },
378
418
  {
379
419
  type: 'text',
380
420
  name: 'inferenceLogTableId',
@@ -479,6 +519,8 @@ async function handleUpdate(argv, prompter) {
479
519
  databaseId: cleanedData.databaseId,
480
520
  schemaId: cleanedData.schemaId,
481
521
  privateSchemaId: cleanedData.privateSchemaId,
522
+ publicSchemaName: cleanedData.publicSchemaName,
523
+ privateSchemaName: cleanedData.privateSchemaName,
482
524
  inferenceLogTableId: cleanedData.inferenceLogTableId,
483
525
  inferenceLogTableName: cleanedData.inferenceLogTableName,
484
526
  usageDailyTableId: cleanedData.usageDailyTableId,
@@ -498,6 +540,8 @@ async function handleUpdate(argv, prompter) {
498
540
  databaseId: true,
499
541
  schemaId: true,
500
542
  privateSchemaId: true,
543
+ publicSchemaName: true,
544
+ privateSchemaName: true,
501
545
  inferenceLogTableId: true,
502
546
  inferenceLogTableName: true,
503
547
  usageDailyTableId: true,
@@ -11,6 +11,8 @@ const fieldSchema = {
11
11
  databaseId: 'uuid',
12
12
  schemaId: 'uuid',
13
13
  privateSchemaId: 'uuid',
14
+ publicSchemaName: 'string',
15
+ privateSchemaName: 'string',
14
16
  emailsTableId: 'uuid',
15
17
  usersTableId: 'uuid',
16
18
  invitesTableId: 'uuid',
@@ -70,6 +72,8 @@ async function handleList(argv, _prompter) {
70
72
  databaseId: true,
71
73
  schemaId: true,
72
74
  privateSchemaId: true,
75
+ publicSchemaName: true,
76
+ privateSchemaName: true,
73
77
  emailsTableId: true,
74
78
  usersTableId: true,
75
79
  invitesTableId: true,
@@ -103,6 +107,8 @@ async function handleFindFirst(argv, _prompter) {
103
107
  databaseId: true,
104
108
  schemaId: true,
105
109
  privateSchemaId: true,
110
+ publicSchemaName: true,
111
+ privateSchemaName: true,
106
112
  emailsTableId: true,
107
113
  usersTableId: true,
108
114
  invitesTableId: true,
@@ -148,6 +154,8 @@ async function handleGet(argv, prompter) {
148
154
  databaseId: true,
149
155
  schemaId: true,
150
156
  privateSchemaId: true,
157
+ publicSchemaName: true,
158
+ privateSchemaName: true,
151
159
  emailsTableId: true,
152
160
  usersTableId: true,
153
161
  invitesTableId: true,
@@ -196,6 +204,20 @@ async function handleCreate(argv, prompter) {
196
204
  required: false,
197
205
  skipPrompt: true,
198
206
  },
207
+ {
208
+ type: 'text',
209
+ name: 'publicSchemaName',
210
+ message: 'publicSchemaName',
211
+ required: false,
212
+ skipPrompt: true,
213
+ },
214
+ {
215
+ type: 'text',
216
+ name: 'privateSchemaName',
217
+ message: 'privateSchemaName',
218
+ required: false,
219
+ skipPrompt: true,
220
+ },
199
221
  {
200
222
  type: 'text',
201
223
  name: 'emailsTableId',
@@ -290,6 +312,8 @@ async function handleCreate(argv, prompter) {
290
312
  databaseId: cleanedData.databaseId,
291
313
  schemaId: cleanedData.schemaId,
292
314
  privateSchemaId: cleanedData.privateSchemaId,
315
+ publicSchemaName: cleanedData.publicSchemaName,
316
+ privateSchemaName: cleanedData.privateSchemaName,
293
317
  emailsTableId: cleanedData.emailsTableId,
294
318
  usersTableId: cleanedData.usersTableId,
295
319
  invitesTableId: cleanedData.invitesTableId,
@@ -308,6 +332,8 @@ async function handleCreate(argv, prompter) {
308
332
  databaseId: true,
309
333
  schemaId: true,
310
334
  privateSchemaId: true,
335
+ publicSchemaName: true,
336
+ privateSchemaName: true,
311
337
  emailsTableId: true,
312
338
  usersTableId: true,
313
339
  invitesTableId: true,
@@ -362,6 +388,20 @@ async function handleUpdate(argv, prompter) {
362
388
  required: false,
363
389
  skipPrompt: true,
364
390
  },
391
+ {
392
+ type: 'text',
393
+ name: 'publicSchemaName',
394
+ message: 'publicSchemaName',
395
+ required: false,
396
+ skipPrompt: true,
397
+ },
398
+ {
399
+ type: 'text',
400
+ name: 'privateSchemaName',
401
+ message: 'privateSchemaName',
402
+ required: false,
403
+ skipPrompt: true,
404
+ },
365
405
  {
366
406
  type: 'text',
367
407
  name: 'emailsTableId',
@@ -459,6 +499,8 @@ async function handleUpdate(argv, prompter) {
459
499
  databaseId: cleanedData.databaseId,
460
500
  schemaId: cleanedData.schemaId,
461
501
  privateSchemaId: cleanedData.privateSchemaId,
502
+ publicSchemaName: cleanedData.publicSchemaName,
503
+ privateSchemaName: cleanedData.privateSchemaName,
462
504
  emailsTableId: cleanedData.emailsTableId,
463
505
  usersTableId: cleanedData.usersTableId,
464
506
  invitesTableId: cleanedData.invitesTableId,
@@ -477,6 +519,8 @@ async function handleUpdate(argv, prompter) {
477
519
  databaseId: true,
478
520
  schemaId: true,
479
521
  privateSchemaId: true,
522
+ publicSchemaName: true,
523
+ privateSchemaName: true,
480
524
  emailsTableId: true,
481
525
  usersTableId: true,
482
526
  invitesTableId: true,
@@ -11,6 +11,8 @@ const fieldSchema = {
11
11
  databaseId: 'uuid',
12
12
  schemaId: 'uuid',
13
13
  privateSchemaId: 'uuid',
14
+ publicSchemaName: 'string',
15
+ privateSchemaName: 'string',
14
16
  tableId: 'uuid',
15
17
  tableName: 'string',
16
18
  defaultTableId: 'uuid',
@@ -88,6 +90,8 @@ async function handleList(argv, _prompter) {
88
90
  databaseId: true,
89
91
  schemaId: true,
90
92
  privateSchemaId: true,
93
+ publicSchemaName: true,
94
+ privateSchemaName: true,
91
95
  tableId: true,
92
96
  tableName: true,
93
97
  defaultTableId: true,
@@ -139,6 +143,8 @@ async function handleFindFirst(argv, _prompter) {
139
143
  databaseId: true,
140
144
  schemaId: true,
141
145
  privateSchemaId: true,
146
+ publicSchemaName: true,
147
+ privateSchemaName: true,
142
148
  tableId: true,
143
149
  tableName: true,
144
150
  defaultTableId: true,
@@ -202,6 +208,8 @@ async function handleGet(argv, prompter) {
202
208
  databaseId: true,
203
209
  schemaId: true,
204
210
  privateSchemaId: true,
211
+ publicSchemaName: true,
212
+ privateSchemaName: true,
205
213
  tableId: true,
206
214
  tableName: true,
207
215
  defaultTableId: true,
@@ -268,6 +276,20 @@ async function handleCreate(argv, prompter) {
268
276
  required: false,
269
277
  skipPrompt: true,
270
278
  },
279
+ {
280
+ type: 'text',
281
+ name: 'publicSchemaName',
282
+ message: 'publicSchemaName',
283
+ required: false,
284
+ skipPrompt: true,
285
+ },
286
+ {
287
+ type: 'text',
288
+ name: 'privateSchemaName',
289
+ message: 'privateSchemaName',
290
+ required: false,
291
+ skipPrompt: true,
292
+ },
271
293
  {
272
294
  type: 'text',
273
295
  name: 'tableId',
@@ -488,6 +510,8 @@ async function handleCreate(argv, prompter) {
488
510
  databaseId: cleanedData.databaseId,
489
511
  schemaId: cleanedData.schemaId,
490
512
  privateSchemaId: cleanedData.privateSchemaId,
513
+ publicSchemaName: cleanedData.publicSchemaName,
514
+ privateSchemaName: cleanedData.privateSchemaName,
491
515
  tableId: cleanedData.tableId,
492
516
  tableName: cleanedData.tableName,
493
517
  defaultTableId: cleanedData.defaultTableId,
@@ -524,6 +548,8 @@ async function handleCreate(argv, prompter) {
524
548
  databaseId: true,
525
549
  schemaId: true,
526
550
  privateSchemaId: true,
551
+ publicSchemaName: true,
552
+ privateSchemaName: true,
527
553
  tableId: true,
528
554
  tableName: true,
529
555
  defaultTableId: true,
@@ -596,6 +622,20 @@ async function handleUpdate(argv, prompter) {
596
622
  required: false,
597
623
  skipPrompt: true,
598
624
  },
625
+ {
626
+ type: 'text',
627
+ name: 'publicSchemaName',
628
+ message: 'publicSchemaName',
629
+ required: false,
630
+ skipPrompt: true,
631
+ },
632
+ {
633
+ type: 'text',
634
+ name: 'privateSchemaName',
635
+ message: 'privateSchemaName',
636
+ required: false,
637
+ skipPrompt: true,
638
+ },
599
639
  {
600
640
  type: 'text',
601
641
  name: 'tableId',
@@ -819,6 +859,8 @@ async function handleUpdate(argv, prompter) {
819
859
  databaseId: cleanedData.databaseId,
820
860
  schemaId: cleanedData.schemaId,
821
861
  privateSchemaId: cleanedData.privateSchemaId,
862
+ publicSchemaName: cleanedData.publicSchemaName,
863
+ privateSchemaName: cleanedData.privateSchemaName,
822
864
  tableId: cleanedData.tableId,
823
865
  tableName: cleanedData.tableName,
824
866
  defaultTableId: cleanedData.defaultTableId,
@@ -855,6 +897,8 @@ async function handleUpdate(argv, prompter) {
855
897
  databaseId: true,
856
898
  schemaId: true,
857
899
  privateSchemaId: true,
900
+ publicSchemaName: true,
901
+ privateSchemaName: true,
858
902
  tableId: true,
859
903
  tableName: true,
860
904
  defaultTableId: true,
@@ -11,6 +11,8 @@ const fieldSchema = {
11
11
  databaseId: 'uuid',
12
12
  schemaId: 'uuid',
13
13
  privateSchemaId: 'uuid',
14
+ publicSchemaName: 'string',
15
+ privateSchemaName: 'string',
14
16
  membershipsTableId: 'uuid',
15
17
  membershipsTableName: 'string',
16
18
  membersTableId: 'uuid',
@@ -42,6 +44,8 @@ const fieldSchema = {
42
44
  entityIdsByPerm: 'string',
43
45
  entityIdsFunction: 'string',
44
46
  memberProfilesTableId: 'uuid',
47
+ permissionDefaultPermissionsTableId: 'uuid',
48
+ permissionDefaultGrantsTableId: 'uuid',
45
49
  apiName: 'string',
46
50
  privateApiName: 'string',
47
51
  };
@@ -91,6 +95,8 @@ async function handleList(argv, _prompter) {
91
95
  databaseId: true,
92
96
  schemaId: true,
93
97
  privateSchemaId: true,
98
+ publicSchemaName: true,
99
+ privateSchemaName: true,
94
100
  membershipsTableId: true,
95
101
  membershipsTableName: true,
96
102
  membersTableId: true,
@@ -122,6 +128,8 @@ async function handleList(argv, _prompter) {
122
128
  entityIdsByPerm: true,
123
129
  entityIdsFunction: true,
124
130
  memberProfilesTableId: true,
131
+ permissionDefaultPermissionsTableId: true,
132
+ permissionDefaultGrantsTableId: true,
125
133
  apiName: true,
126
134
  privateApiName: true,
127
135
  };
@@ -145,6 +153,8 @@ async function handleFindFirst(argv, _prompter) {
145
153
  databaseId: true,
146
154
  schemaId: true,
147
155
  privateSchemaId: true,
156
+ publicSchemaName: true,
157
+ privateSchemaName: true,
148
158
  membershipsTableId: true,
149
159
  membershipsTableName: true,
150
160
  membersTableId: true,
@@ -176,6 +186,8 @@ async function handleFindFirst(argv, _prompter) {
176
186
  entityIdsByPerm: true,
177
187
  entityIdsFunction: true,
178
188
  memberProfilesTableId: true,
189
+ permissionDefaultPermissionsTableId: true,
190
+ permissionDefaultGrantsTableId: true,
179
191
  apiName: true,
180
192
  privateApiName: true,
181
193
  };
@@ -211,6 +223,8 @@ async function handleGet(argv, prompter) {
211
223
  databaseId: true,
212
224
  schemaId: true,
213
225
  privateSchemaId: true,
226
+ publicSchemaName: true,
227
+ privateSchemaName: true,
214
228
  membershipsTableId: true,
215
229
  membershipsTableName: true,
216
230
  membersTableId: true,
@@ -242,6 +256,8 @@ async function handleGet(argv, prompter) {
242
256
  entityIdsByPerm: true,
243
257
  entityIdsFunction: true,
244
258
  memberProfilesTableId: true,
259
+ permissionDefaultPermissionsTableId: true,
260
+ permissionDefaultGrantsTableId: true,
245
261
  apiName: true,
246
262
  privateApiName: true,
247
263
  },
@@ -280,6 +296,20 @@ async function handleCreate(argv, prompter) {
280
296
  required: false,
281
297
  skipPrompt: true,
282
298
  },
299
+ {
300
+ type: 'text',
301
+ name: 'publicSchemaName',
302
+ message: 'publicSchemaName',
303
+ required: false,
304
+ skipPrompt: true,
305
+ },
306
+ {
307
+ type: 'text',
308
+ name: 'privateSchemaName',
309
+ message: 'privateSchemaName',
310
+ required: false,
311
+ skipPrompt: true,
312
+ },
283
313
  {
284
314
  type: 'text',
285
315
  name: 'membershipsTableId',
@@ -497,6 +527,20 @@ async function handleCreate(argv, prompter) {
497
527
  required: false,
498
528
  skipPrompt: true,
499
529
  },
530
+ {
531
+ type: 'text',
532
+ name: 'permissionDefaultPermissionsTableId',
533
+ message: 'permissionDefaultPermissionsTableId',
534
+ required: false,
535
+ skipPrompt: true,
536
+ },
537
+ {
538
+ type: 'text',
539
+ name: 'permissionDefaultGrantsTableId',
540
+ message: 'permissionDefaultGrantsTableId',
541
+ required: false,
542
+ skipPrompt: true,
543
+ },
500
544
  {
501
545
  type: 'text',
502
546
  name: 'apiName',
@@ -521,6 +565,8 @@ async function handleCreate(argv, prompter) {
521
565
  databaseId: cleanedData.databaseId,
522
566
  schemaId: cleanedData.schemaId,
523
567
  privateSchemaId: cleanedData.privateSchemaId,
568
+ publicSchemaName: cleanedData.publicSchemaName,
569
+ privateSchemaName: cleanedData.privateSchemaName,
524
570
  membershipsTableId: cleanedData.membershipsTableId,
525
571
  membershipsTableName: cleanedData.membershipsTableName,
526
572
  membersTableId: cleanedData.membersTableId,
@@ -552,6 +598,8 @@ async function handleCreate(argv, prompter) {
552
598
  entityIdsByPerm: cleanedData.entityIdsByPerm,
553
599
  entityIdsFunction: cleanedData.entityIdsFunction,
554
600
  memberProfilesTableId: cleanedData.memberProfilesTableId,
601
+ permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
602
+ permissionDefaultGrantsTableId: cleanedData.permissionDefaultGrantsTableId,
555
603
  apiName: cleanedData.apiName,
556
604
  privateApiName: cleanedData.privateApiName,
557
605
  },
@@ -560,6 +608,8 @@ async function handleCreate(argv, prompter) {
560
608
  databaseId: true,
561
609
  schemaId: true,
562
610
  privateSchemaId: true,
611
+ publicSchemaName: true,
612
+ privateSchemaName: true,
563
613
  membershipsTableId: true,
564
614
  membershipsTableName: true,
565
615
  membersTableId: true,
@@ -591,6 +641,8 @@ async function handleCreate(argv, prompter) {
591
641
  entityIdsByPerm: true,
592
642
  entityIdsFunction: true,
593
643
  memberProfilesTableId: true,
644
+ permissionDefaultPermissionsTableId: true,
645
+ permissionDefaultGrantsTableId: true,
594
646
  apiName: true,
595
647
  privateApiName: true,
596
648
  },
@@ -635,6 +687,20 @@ async function handleUpdate(argv, prompter) {
635
687
  required: false,
636
688
  skipPrompt: true,
637
689
  },
690
+ {
691
+ type: 'text',
692
+ name: 'publicSchemaName',
693
+ message: 'publicSchemaName',
694
+ required: false,
695
+ skipPrompt: true,
696
+ },
697
+ {
698
+ type: 'text',
699
+ name: 'privateSchemaName',
700
+ message: 'privateSchemaName',
701
+ required: false,
702
+ skipPrompt: true,
703
+ },
638
704
  {
639
705
  type: 'text',
640
706
  name: 'membershipsTableId',
@@ -852,6 +918,20 @@ async function handleUpdate(argv, prompter) {
852
918
  required: false,
853
919
  skipPrompt: true,
854
920
  },
921
+ {
922
+ type: 'text',
923
+ name: 'permissionDefaultPermissionsTableId',
924
+ message: 'permissionDefaultPermissionsTableId',
925
+ required: false,
926
+ skipPrompt: true,
927
+ },
928
+ {
929
+ type: 'text',
930
+ name: 'permissionDefaultGrantsTableId',
931
+ message: 'permissionDefaultGrantsTableId',
932
+ required: false,
933
+ skipPrompt: true,
934
+ },
855
935
  {
856
936
  type: 'text',
857
937
  name: 'apiName',
@@ -879,6 +959,8 @@ async function handleUpdate(argv, prompter) {
879
959
  databaseId: cleanedData.databaseId,
880
960
  schemaId: cleanedData.schemaId,
881
961
  privateSchemaId: cleanedData.privateSchemaId,
962
+ publicSchemaName: cleanedData.publicSchemaName,
963
+ privateSchemaName: cleanedData.privateSchemaName,
882
964
  membershipsTableId: cleanedData.membershipsTableId,
883
965
  membershipsTableName: cleanedData.membershipsTableName,
884
966
  membersTableId: cleanedData.membersTableId,
@@ -910,6 +992,8 @@ async function handleUpdate(argv, prompter) {
910
992
  entityIdsByPerm: cleanedData.entityIdsByPerm,
911
993
  entityIdsFunction: cleanedData.entityIdsFunction,
912
994
  memberProfilesTableId: cleanedData.memberProfilesTableId,
995
+ permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
996
+ permissionDefaultGrantsTableId: cleanedData.permissionDefaultGrantsTableId,
913
997
  apiName: cleanedData.apiName,
914
998
  privateApiName: cleanedData.privateApiName,
915
999
  },
@@ -918,6 +1002,8 @@ async function handleUpdate(argv, prompter) {
918
1002
  databaseId: true,
919
1003
  schemaId: true,
920
1004
  privateSchemaId: true,
1005
+ publicSchemaName: true,
1006
+ privateSchemaName: true,
921
1007
  membershipsTableId: true,
922
1008
  membershipsTableName: true,
923
1009
  membersTableId: true,
@@ -949,6 +1035,8 @@ async function handleUpdate(argv, prompter) {
949
1035
  entityIdsByPerm: true,
950
1036
  entityIdsFunction: true,
951
1037
  memberProfilesTableId: true,
1038
+ permissionDefaultPermissionsTableId: true,
1039
+ permissionDefaultGrantsTableId: true,
952
1040
  apiName: true,
953
1041
  privateApiName: true,
954
1042
  },