@constructive-sdk/cli 0.17.1 → 0.17.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/admin/cli/commands/app-invite.js +22 -0
  2. package/admin/cli/commands/app-limit-default.js +22 -0
  3. package/admin/cli/commands/{confirm-upload.d.ts → app-limit-event.d.ts} +1 -1
  4. package/admin/cli/commands/app-limit-event.js +212 -0
  5. package/admin/cli/commands/app-limit.js +66 -0
  6. package/admin/cli/commands/app-membership.js +0 -22
  7. package/admin/cli/commands/org-invite.js +22 -0
  8. package/{esm/admin/cli/commands/confirm-upload.d.ts → admin/cli/commands/org-limit-aggregate.d.ts} +1 -1
  9. package/admin/cli/commands/org-limit-aggregate.js +362 -0
  10. package/admin/cli/commands/org-limit-default.js +22 -0
  11. package/{auth/cli/commands/confirm-upload.d.ts → admin/cli/commands/org-limit-event.d.ts} +1 -1
  12. package/admin/cli/commands/org-limit-event.js +212 -0
  13. package/admin/cli/commands/org-limit.js +66 -0
  14. package/admin/cli/commands/org-membership-setting.js +44 -0
  15. package/admin/cli/commands.js +25 -21
  16. package/admin/cli/executor.d.ts +12 -14
  17. package/admin/orm/index.d.ts +24 -23
  18. package/admin/orm/index.js +24 -18
  19. package/admin/orm/input-types.d.ts +1297 -839
  20. package/admin/orm/models/appLimitEvent.d.ts +32 -0
  21. package/admin/orm/models/appLimitEvent.js +55 -0
  22. package/admin/orm/models/index.d.ts +12 -9
  23. package/admin/orm/models/index.js +25 -19
  24. package/admin/orm/models/orgLimitAggregate.d.ts +56 -0
  25. package/admin/orm/models/orgLimitAggregate.js +100 -0
  26. package/admin/orm/models/orgLimitEvent.d.ts +32 -0
  27. package/admin/orm/models/orgLimitEvent.js +55 -0
  28. package/admin/orm/mutation/index.d.ts +1 -15
  29. package/admin/orm/mutation/index.js +0 -12
  30. package/auth/cli/commands.js +1 -3
  31. package/auth/cli/executor.d.ts +0 -5
  32. package/auth/orm/index.d.ts +0 -5
  33. package/auth/orm/input-types.d.ts +0 -20
  34. package/auth/orm/mutation/index.d.ts +1 -15
  35. package/auth/orm/mutation/index.js +0 -12
  36. package/esm/admin/cli/commands/app-invite.js +22 -0
  37. package/esm/admin/cli/commands/app-limit-default.js +22 -0
  38. package/esm/{auth/cli/commands/confirm-upload.d.ts → admin/cli/commands/app-limit-event.d.ts} +1 -1
  39. package/esm/admin/cli/commands/app-limit-event.js +210 -0
  40. package/esm/admin/cli/commands/app-limit.js +66 -0
  41. package/esm/admin/cli/commands/app-membership.js +0 -22
  42. package/esm/admin/cli/commands/org-invite.js +22 -0
  43. package/esm/admin/cli/commands/org-limit-aggregate.d.ts +8 -0
  44. package/esm/admin/cli/commands/org-limit-aggregate.js +360 -0
  45. package/esm/admin/cli/commands/org-limit-default.js +22 -0
  46. package/esm/admin/cli/commands/org-limit-event.d.ts +8 -0
  47. package/esm/admin/cli/commands/org-limit-event.js +210 -0
  48. package/esm/admin/cli/commands/org-limit.js +66 -0
  49. package/esm/admin/cli/commands/org-membership-setting.js +44 -0
  50. package/esm/admin/cli/commands.js +25 -21
  51. package/esm/admin/cli/executor.d.ts +12 -14
  52. package/esm/admin/orm/index.d.ts +24 -23
  53. package/esm/admin/orm/index.js +24 -18
  54. package/esm/admin/orm/input-types.d.ts +1297 -839
  55. package/esm/admin/orm/models/appLimitEvent.d.ts +32 -0
  56. package/esm/admin/orm/models/appLimitEvent.js +51 -0
  57. package/esm/admin/orm/models/index.d.ts +12 -9
  58. package/esm/admin/orm/models/index.js +12 -9
  59. package/esm/admin/orm/models/orgLimitAggregate.d.ts +56 -0
  60. package/esm/admin/orm/models/orgLimitAggregate.js +96 -0
  61. package/esm/admin/orm/models/orgLimitEvent.d.ts +32 -0
  62. package/esm/admin/orm/models/orgLimitEvent.js +51 -0
  63. package/esm/admin/orm/mutation/index.d.ts +1 -15
  64. package/esm/admin/orm/mutation/index.js +0 -12
  65. package/esm/auth/cli/commands.js +1 -3
  66. package/esm/auth/cli/executor.d.ts +0 -5
  67. package/esm/auth/orm/index.d.ts +0 -5
  68. package/esm/auth/orm/input-types.d.ts +0 -20
  69. package/esm/auth/orm/mutation/index.d.ts +1 -15
  70. package/esm/auth/orm/mutation/index.js +0 -12
  71. package/esm/objects/cli/commands.js +1 -3
  72. package/esm/objects/cli/executor.d.ts +0 -5
  73. package/esm/objects/orm/index.d.ts +0 -5
  74. package/esm/objects/orm/input-types.d.ts +0 -20
  75. package/esm/objects/orm/mutation/index.d.ts +1 -15
  76. package/esm/objects/orm/mutation/index.js +0 -12
  77. package/esm/public/cli/commands/agent-message.d.ts +8 -0
  78. package/esm/public/cli/commands/agent-message.js +324 -0
  79. package/esm/public/cli/commands/agent-task.d.ts +8 -0
  80. package/esm/public/cli/commands/agent-task.js +368 -0
  81. package/esm/public/cli/commands/agent-thread.d.ts +8 -0
  82. package/esm/public/cli/commands/agent-thread.js +372 -0
  83. package/esm/public/cli/commands/app-invite.js +22 -0
  84. package/esm/public/cli/commands/app-limit-default.js +22 -0
  85. package/esm/public/cli/commands/app-limit-event.d.ts +8 -0
  86. package/esm/public/cli/commands/app-limit-event.js +210 -0
  87. package/esm/public/cli/commands/app-limit.js +66 -0
  88. package/esm/public/cli/commands/app-membership.js +0 -22
  89. package/esm/public/cli/commands/billing-module.d.ts +8 -0
  90. package/esm/public/cli/commands/billing-module.js +492 -0
  91. package/esm/public/cli/commands/limits-module.js +22 -0
  92. package/esm/public/cli/commands/node-type-registry.d.ts +8 -0
  93. package/esm/public/cli/commands/node-type-registry.js +343 -0
  94. package/esm/public/cli/commands/org-invite.js +22 -0
  95. package/esm/public/cli/commands/org-limit-aggregate.d.ts +8 -0
  96. package/esm/public/cli/commands/org-limit-aggregate.js +360 -0
  97. package/esm/public/cli/commands/org-limit-default.js +22 -0
  98. package/esm/public/cli/commands/org-limit-event.d.ts +8 -0
  99. package/esm/public/cli/commands/org-limit-event.js +210 -0
  100. package/esm/public/cli/commands/org-limit.js +66 -0
  101. package/esm/public/cli/commands/org-membership-setting.js +44 -0
  102. package/esm/public/cli/commands/plans-module.d.ts +8 -0
  103. package/esm/public/cli/commands/plans-module.js +426 -0
  104. package/esm/public/cli/commands/profiles-module.js +44 -0
  105. package/esm/public/cli/commands/storage-module.js +22 -44
  106. package/esm/public/cli/commands.js +45 -29
  107. package/esm/public/cli/executor.d.ts +38 -34
  108. package/esm/public/orm/index.d.ts +56 -43
  109. package/esm/public/orm/index.js +36 -18
  110. package/esm/public/orm/input-types.d.ts +2983 -1112
  111. package/esm/public/orm/input-types.js +9 -0
  112. package/esm/public/orm/models/agentMessage.d.ts +56 -0
  113. package/esm/public/orm/models/agentMessage.js +96 -0
  114. package/esm/public/orm/models/agentTask.d.ts +56 -0
  115. package/esm/public/orm/models/agentTask.js +96 -0
  116. package/esm/public/orm/models/agentThread.d.ts +56 -0
  117. package/esm/public/orm/models/agentThread.js +96 -0
  118. package/esm/public/orm/models/appLimitEvent.d.ts +32 -0
  119. package/esm/public/orm/models/appLimitEvent.js +51 -0
  120. package/esm/public/orm/models/billingModule.d.ts +56 -0
  121. package/esm/public/orm/models/billingModule.js +96 -0
  122. package/esm/public/orm/models/index.d.ts +18 -9
  123. package/esm/public/orm/models/index.js +18 -9
  124. package/esm/public/orm/models/nodeTypeRegistry.d.ts +56 -0
  125. package/esm/public/orm/models/nodeTypeRegistry.js +96 -0
  126. package/esm/public/orm/models/orgLimitAggregate.d.ts +56 -0
  127. package/esm/public/orm/models/orgLimitAggregate.js +96 -0
  128. package/esm/public/orm/models/orgLimitEvent.d.ts +32 -0
  129. package/esm/public/orm/models/orgLimitEvent.js +51 -0
  130. package/esm/public/orm/models/plansModule.d.ts +56 -0
  131. package/esm/public/orm/models/plansModule.js +96 -0
  132. package/esm/public/orm/mutation/index.d.ts +17 -31
  133. package/esm/public/orm/mutation/index.js +24 -36
  134. package/esm/public/orm/query/index.d.ts +28 -28
  135. package/esm/public/orm/query/index.js +48 -48
  136. package/objects/cli/commands.js +1 -3
  137. package/objects/cli/executor.d.ts +0 -5
  138. package/objects/orm/index.d.ts +0 -5
  139. package/objects/orm/input-types.d.ts +0 -20
  140. package/objects/orm/mutation/index.d.ts +1 -15
  141. package/objects/orm/mutation/index.js +0 -12
  142. package/package.json +4 -4
  143. package/public/cli/commands/agent-message.d.ts +8 -0
  144. package/public/cli/commands/agent-message.js +326 -0
  145. package/public/cli/commands/agent-task.d.ts +8 -0
  146. package/public/cli/commands/agent-task.js +370 -0
  147. package/public/cli/commands/agent-thread.d.ts +8 -0
  148. package/public/cli/commands/agent-thread.js +374 -0
  149. package/public/cli/commands/app-invite.js +22 -0
  150. package/public/cli/commands/app-limit-default.js +22 -0
  151. package/public/cli/commands/app-limit-event.d.ts +8 -0
  152. package/public/cli/commands/app-limit-event.js +212 -0
  153. package/public/cli/commands/app-limit.js +66 -0
  154. package/public/cli/commands/app-membership.js +0 -22
  155. package/public/cli/commands/billing-module.d.ts +8 -0
  156. package/public/cli/commands/billing-module.js +494 -0
  157. package/public/cli/commands/limits-module.js +22 -0
  158. package/public/cli/commands/node-type-registry.d.ts +8 -0
  159. package/public/cli/commands/node-type-registry.js +345 -0
  160. package/public/cli/commands/org-invite.js +22 -0
  161. package/public/cli/commands/org-limit-aggregate.d.ts +8 -0
  162. package/public/cli/commands/org-limit-aggregate.js +362 -0
  163. package/public/cli/commands/org-limit-default.js +22 -0
  164. package/public/cli/commands/org-limit-event.d.ts +8 -0
  165. package/public/cli/commands/org-limit-event.js +212 -0
  166. package/public/cli/commands/org-limit.js +66 -0
  167. package/public/cli/commands/org-membership-setting.js +44 -0
  168. package/public/cli/commands/plans-module.d.ts +8 -0
  169. package/public/cli/commands/plans-module.js +428 -0
  170. package/public/cli/commands/profiles-module.js +44 -0
  171. package/public/cli/commands/storage-module.js +22 -44
  172. package/public/cli/commands.js +45 -29
  173. package/public/cli/executor.d.ts +38 -34
  174. package/public/orm/index.d.ts +56 -43
  175. package/public/orm/index.js +36 -18
  176. package/public/orm/input-types.d.ts +2983 -1112
  177. package/public/orm/input-types.js +9 -0
  178. package/public/orm/models/agentMessage.d.ts +56 -0
  179. package/public/orm/models/agentMessage.js +100 -0
  180. package/public/orm/models/agentTask.d.ts +56 -0
  181. package/public/orm/models/agentTask.js +100 -0
  182. package/public/orm/models/agentThread.d.ts +56 -0
  183. package/public/orm/models/agentThread.js +100 -0
  184. package/public/orm/models/appLimitEvent.d.ts +32 -0
  185. package/public/orm/models/appLimitEvent.js +55 -0
  186. package/public/orm/models/billingModule.d.ts +56 -0
  187. package/public/orm/models/billingModule.js +100 -0
  188. package/public/orm/models/index.d.ts +18 -9
  189. package/public/orm/models/index.js +39 -21
  190. package/public/orm/models/nodeTypeRegistry.d.ts +56 -0
  191. package/public/orm/models/nodeTypeRegistry.js +100 -0
  192. package/public/orm/models/orgLimitAggregate.d.ts +56 -0
  193. package/public/orm/models/orgLimitAggregate.js +100 -0
  194. package/public/orm/models/orgLimitEvent.d.ts +32 -0
  195. package/public/orm/models/orgLimitEvent.js +55 -0
  196. package/public/orm/models/plansModule.d.ts +56 -0
  197. package/public/orm/models/plansModule.js +100 -0
  198. package/public/orm/mutation/index.d.ts +17 -31
  199. package/public/orm/mutation/index.js +24 -36
  200. package/public/orm/query/index.d.ts +28 -28
  201. package/public/orm/query/index.js +48 -48
  202. package/admin/cli/commands/confirm-upload.js +0 -36
  203. package/auth/cli/commands/confirm-upload.js +0 -36
  204. package/esm/admin/cli/commands/confirm-upload.js +0 -34
  205. package/esm/auth/cli/commands/confirm-upload.js +0 -34
  206. package/esm/objects/cli/commands/confirm-upload.d.ts +0 -8
  207. package/esm/objects/cli/commands/confirm-upload.js +0 -34
  208. package/esm/public/cli/commands/confirm-upload.d.ts +0 -8
  209. package/esm/public/cli/commands/confirm-upload.js +0 -34
  210. package/objects/cli/commands/confirm-upload.d.ts +0 -8
  211. package/objects/cli/commands/confirm-upload.js +0 -36
  212. package/public/cli/commands/confirm-upload.d.ts +0 -8
  213. package/public/cli/commands/confirm-upload.js +0 -36
@@ -15,10 +15,8 @@ const fieldSchema = {
15
15
  privateSchemaId: 'uuid',
16
16
  bucketsTableId: 'uuid',
17
17
  filesTableId: 'uuid',
18
- uploadRequestsTableId: 'uuid',
19
18
  bucketsTableName: 'string',
20
19
  filesTableName: 'string',
21
- uploadRequestsTableName: 'string',
22
20
  membershipType: 'int',
23
21
  policies: 'json',
24
22
  skipDefaultPolicyTables: 'string',
@@ -27,6 +25,7 @@ const fieldSchema = {
27
25
  publicUrlPrefix: 'string',
28
26
  provider: 'string',
29
27
  allowedOrigins: 'string',
28
+ restrictReads: 'boolean',
30
29
  uploadUrlExpirySeconds: 'int',
31
30
  downloadUrlExpirySeconds: 'int',
32
31
  defaultMaxFileSize: 'int',
@@ -81,10 +80,8 @@ async function handleList(argv, _prompter) {
81
80
  privateSchemaId: true,
82
81
  bucketsTableId: true,
83
82
  filesTableId: true,
84
- uploadRequestsTableId: true,
85
83
  bucketsTableName: true,
86
84
  filesTableName: true,
87
- uploadRequestsTableName: true,
88
85
  membershipType: true,
89
86
  policies: true,
90
87
  skipDefaultPolicyTables: true,
@@ -93,6 +90,7 @@ async function handleList(argv, _prompter) {
93
90
  publicUrlPrefix: true,
94
91
  provider: true,
95
92
  allowedOrigins: true,
93
+ restrictReads: true,
96
94
  uploadUrlExpirySeconds: true,
97
95
  downloadUrlExpirySeconds: true,
98
96
  defaultMaxFileSize: true,
@@ -121,10 +119,8 @@ async function handleFindFirst(argv, _prompter) {
121
119
  privateSchemaId: true,
122
120
  bucketsTableId: true,
123
121
  filesTableId: true,
124
- uploadRequestsTableId: true,
125
122
  bucketsTableName: true,
126
123
  filesTableName: true,
127
- uploadRequestsTableName: true,
128
124
  membershipType: true,
129
125
  policies: true,
130
126
  skipDefaultPolicyTables: true,
@@ -133,6 +129,7 @@ async function handleFindFirst(argv, _prompter) {
133
129
  publicUrlPrefix: true,
134
130
  provider: true,
135
131
  allowedOrigins: true,
132
+ restrictReads: true,
136
133
  uploadUrlExpirySeconds: true,
137
134
  downloadUrlExpirySeconds: true,
138
135
  defaultMaxFileSize: true,
@@ -173,10 +170,8 @@ async function handleGet(argv, prompter) {
173
170
  privateSchemaId: true,
174
171
  bucketsTableId: true,
175
172
  filesTableId: true,
176
- uploadRequestsTableId: true,
177
173
  bucketsTableName: true,
178
174
  filesTableName: true,
179
- uploadRequestsTableName: true,
180
175
  membershipType: true,
181
176
  policies: true,
182
177
  skipDefaultPolicyTables: true,
@@ -185,6 +180,7 @@ async function handleGet(argv, prompter) {
185
180
  publicUrlPrefix: true,
186
181
  provider: true,
187
182
  allowedOrigins: true,
183
+ restrictReads: true,
188
184
  uploadUrlExpirySeconds: true,
189
185
  downloadUrlExpirySeconds: true,
190
186
  defaultMaxFileSize: true,
@@ -240,13 +236,6 @@ async function handleCreate(argv, prompter) {
240
236
  required: false,
241
237
  skipPrompt: true,
242
238
  },
243
- {
244
- type: 'text',
245
- name: 'uploadRequestsTableId',
246
- message: 'uploadRequestsTableId',
247
- required: false,
248
- skipPrompt: true,
249
- },
250
239
  {
251
240
  type: 'text',
252
241
  name: 'bucketsTableName',
@@ -261,13 +250,6 @@ async function handleCreate(argv, prompter) {
261
250
  required: false,
262
251
  skipPrompt: true,
263
252
  },
264
- {
265
- type: 'text',
266
- name: 'uploadRequestsTableName',
267
- message: 'uploadRequestsTableName',
268
- required: false,
269
- skipPrompt: true,
270
- },
271
253
  {
272
254
  type: 'text',
273
255
  name: 'membershipType',
@@ -324,6 +306,13 @@ async function handleCreate(argv, prompter) {
324
306
  required: false,
325
307
  skipPrompt: true,
326
308
  },
309
+ {
310
+ type: 'boolean',
311
+ name: 'restrictReads',
312
+ message: 'restrictReads',
313
+ required: false,
314
+ skipPrompt: true,
315
+ },
327
316
  {
328
317
  type: 'text',
329
318
  name: 'uploadUrlExpirySeconds',
@@ -371,10 +360,8 @@ async function handleCreate(argv, prompter) {
371
360
  privateSchemaId: cleanedData.privateSchemaId,
372
361
  bucketsTableId: cleanedData.bucketsTableId,
373
362
  filesTableId: cleanedData.filesTableId,
374
- uploadRequestsTableId: cleanedData.uploadRequestsTableId,
375
363
  bucketsTableName: cleanedData.bucketsTableName,
376
364
  filesTableName: cleanedData.filesTableName,
377
- uploadRequestsTableName: cleanedData.uploadRequestsTableName,
378
365
  membershipType: cleanedData.membershipType,
379
366
  policies: cleanedData.policies,
380
367
  skipDefaultPolicyTables: cleanedData.skipDefaultPolicyTables,
@@ -383,6 +370,7 @@ async function handleCreate(argv, prompter) {
383
370
  publicUrlPrefix: cleanedData.publicUrlPrefix,
384
371
  provider: cleanedData.provider,
385
372
  allowedOrigins: cleanedData.allowedOrigins,
373
+ restrictReads: cleanedData.restrictReads,
386
374
  uploadUrlExpirySeconds: cleanedData.uploadUrlExpirySeconds,
387
375
  downloadUrlExpirySeconds: cleanedData.downloadUrlExpirySeconds,
388
376
  defaultMaxFileSize: cleanedData.defaultMaxFileSize,
@@ -396,10 +384,8 @@ async function handleCreate(argv, prompter) {
396
384
  privateSchemaId: true,
397
385
  bucketsTableId: true,
398
386
  filesTableId: true,
399
- uploadRequestsTableId: true,
400
387
  bucketsTableName: true,
401
388
  filesTableName: true,
402
- uploadRequestsTableName: true,
403
389
  membershipType: true,
404
390
  policies: true,
405
391
  skipDefaultPolicyTables: true,
@@ -408,6 +394,7 @@ async function handleCreate(argv, prompter) {
408
394
  publicUrlPrefix: true,
409
395
  provider: true,
410
396
  allowedOrigins: true,
397
+ restrictReads: true,
411
398
  uploadUrlExpirySeconds: true,
412
399
  downloadUrlExpirySeconds: true,
413
400
  defaultMaxFileSize: true,
@@ -469,13 +456,6 @@ async function handleUpdate(argv, prompter) {
469
456
  required: false,
470
457
  skipPrompt: true,
471
458
  },
472
- {
473
- type: 'text',
474
- name: 'uploadRequestsTableId',
475
- message: 'uploadRequestsTableId',
476
- required: false,
477
- skipPrompt: true,
478
- },
479
459
  {
480
460
  type: 'text',
481
461
  name: 'bucketsTableName',
@@ -490,13 +470,6 @@ async function handleUpdate(argv, prompter) {
490
470
  required: false,
491
471
  skipPrompt: true,
492
472
  },
493
- {
494
- type: 'text',
495
- name: 'uploadRequestsTableName',
496
- message: 'uploadRequestsTableName',
497
- required: false,
498
- skipPrompt: true,
499
- },
500
473
  {
501
474
  type: 'text',
502
475
  name: 'membershipType',
@@ -553,6 +526,13 @@ async function handleUpdate(argv, prompter) {
553
526
  required: false,
554
527
  skipPrompt: true,
555
528
  },
529
+ {
530
+ type: 'boolean',
531
+ name: 'restrictReads',
532
+ message: 'restrictReads',
533
+ required: false,
534
+ skipPrompt: true,
535
+ },
556
536
  {
557
537
  type: 'text',
558
538
  name: 'uploadUrlExpirySeconds',
@@ -603,10 +583,8 @@ async function handleUpdate(argv, prompter) {
603
583
  privateSchemaId: cleanedData.privateSchemaId,
604
584
  bucketsTableId: cleanedData.bucketsTableId,
605
585
  filesTableId: cleanedData.filesTableId,
606
- uploadRequestsTableId: cleanedData.uploadRequestsTableId,
607
586
  bucketsTableName: cleanedData.bucketsTableName,
608
587
  filesTableName: cleanedData.filesTableName,
609
- uploadRequestsTableName: cleanedData.uploadRequestsTableName,
610
588
  membershipType: cleanedData.membershipType,
611
589
  policies: cleanedData.policies,
612
590
  skipDefaultPolicyTables: cleanedData.skipDefaultPolicyTables,
@@ -615,6 +593,7 @@ async function handleUpdate(argv, prompter) {
615
593
  publicUrlPrefix: cleanedData.publicUrlPrefix,
616
594
  provider: cleanedData.provider,
617
595
  allowedOrigins: cleanedData.allowedOrigins,
596
+ restrictReads: cleanedData.restrictReads,
618
597
  uploadUrlExpirySeconds: cleanedData.uploadUrlExpirySeconds,
619
598
  downloadUrlExpirySeconds: cleanedData.downloadUrlExpirySeconds,
620
599
  defaultMaxFileSize: cleanedData.defaultMaxFileSize,
@@ -628,10 +607,8 @@ async function handleUpdate(argv, prompter) {
628
607
  privateSchemaId: true,
629
608
  bucketsTableId: true,
630
609
  filesTableId: true,
631
- uploadRequestsTableId: true,
632
610
  bucketsTableName: true,
633
611
  filesTableName: true,
634
- uploadRequestsTableName: true,
635
612
  membershipType: true,
636
613
  policies: true,
637
614
  skipDefaultPolicyTables: true,
@@ -640,6 +617,7 @@ async function handleUpdate(argv, prompter) {
640
617
  publicUrlPrefix: true,
641
618
  provider: true,
642
619
  allowedOrigins: true,
620
+ restrictReads: true,
643
621
  uploadUrlExpirySeconds: true,
644
622
  downloadUrlExpirySeconds: true,
645
623
  defaultMaxFileSize: true,
@@ -15,9 +15,9 @@ const auth_1 = __importDefault(require("./commands/auth"));
15
15
  const org_get_managers_record_1 = __importDefault(require("./commands/org-get-managers-record"));
16
16
  const org_get_subordinates_record_1 = __importDefault(require("./commands/org-get-subordinates-record"));
17
17
  const get_all_record_1 = __importDefault(require("./commands/get-all-record"));
18
- const object_1 = __importDefault(require("./commands/object"));
19
18
  const app_permission_1 = __importDefault(require("./commands/app-permission"));
20
19
  const org_permission_1 = __importDefault(require("./commands/org-permission"));
20
+ const object_1 = __importDefault(require("./commands/object"));
21
21
  const app_level_requirement_1 = __importDefault(require("./commands/app-level-requirement"));
22
22
  const database_1 = __importDefault(require("./commands/database"));
23
23
  const schema_1 = __importDefault(require("./commands/schema"));
@@ -98,6 +98,7 @@ const org_chart_edge_grant_1 = __importDefault(require("./commands/org-chart-edg
98
98
  const org_permission_default_1 = __importDefault(require("./commands/org-permission-default"));
99
99
  const app_limit_1 = __importDefault(require("./commands/app-limit"));
100
100
  const org_limit_1 = __importDefault(require("./commands/org-limit"));
101
+ const org_limit_aggregate_1 = __importDefault(require("./commands/org-limit-aggregate"));
101
102
  const app_step_1 = __importDefault(require("./commands/app-step"));
102
103
  const app_achievement_1 = __importDefault(require("./commands/app-achievement"));
103
104
  const app_level_1 = __importDefault(require("./commands/app-level"));
@@ -110,26 +111,34 @@ const app_claimed_invite_1 = __importDefault(require("./commands/app-claimed-inv
110
111
  const org_invite_1 = __importDefault(require("./commands/org-invite"));
111
112
  const org_claimed_invite_1 = __importDefault(require("./commands/org-claimed-invite"));
112
113
  const audit_log_1 = __importDefault(require("./commands/audit-log"));
113
- const app_permission_default_1 = __importDefault(require("./commands/app-permission-default"));
114
+ const agent_thread_1 = __importDefault(require("./commands/agent-thread"));
115
+ const agent_message_1 = __importDefault(require("./commands/agent-message"));
116
+ const agent_task_1 = __importDefault(require("./commands/agent-task"));
117
+ const role_type_1 = __importDefault(require("./commands/role-type"));
114
118
  const identity_provider_1 = __importDefault(require("./commands/identity-provider"));
115
119
  const ref_1 = __importDefault(require("./commands/ref"));
116
120
  const store_1 = __importDefault(require("./commands/store"));
117
- const role_type_1 = __importDefault(require("./commands/role-type"));
121
+ const app_permission_default_1 = __importDefault(require("./commands/app-permission-default"));
122
+ const membership_type_1 = __importDefault(require("./commands/membership-type"));
118
123
  const migrate_file_1 = __importDefault(require("./commands/migrate-file"));
124
+ const devices_module_1 = __importDefault(require("./commands/devices-module"));
125
+ const node_type_registry_1 = __importDefault(require("./commands/node-type-registry"));
119
126
  const app_limit_default_1 = __importDefault(require("./commands/app-limit-default"));
120
127
  const org_limit_default_1 = __importDefault(require("./commands/org-limit-default"));
121
- const devices_module_1 = __importDefault(require("./commands/devices-module"));
122
128
  const user_connected_account_1 = __importDefault(require("./commands/user-connected-account"));
123
- const app_membership_default_1 = __importDefault(require("./commands/app-membership-default"));
124
- const org_membership_default_1 = __importDefault(require("./commands/org-membership-default"));
125
129
  const commit_1 = __importDefault(require("./commands/commit"));
126
130
  const rate_limits_module_1 = __importDefault(require("./commands/rate-limits-module"));
127
- const membership_type_1 = __importDefault(require("./commands/membership-type"));
131
+ const app_membership_default_1 = __importDefault(require("./commands/app-membership-default"));
132
+ const org_membership_default_1 = __importDefault(require("./commands/org-membership-default"));
133
+ const app_limit_event_1 = __importDefault(require("./commands/app-limit-event"));
134
+ const org_limit_event_1 = __importDefault(require("./commands/org-limit-event"));
135
+ const plans_module_1 = __importDefault(require("./commands/plans-module"));
128
136
  const rls_module_1 = __importDefault(require("./commands/rls-module"));
129
137
  const sql_action_1 = __importDefault(require("./commands/sql-action"));
130
- const org_membership_setting_1 = __importDefault(require("./commands/org-membership-setting"));
131
- const user_1 = __importDefault(require("./commands/user"));
138
+ const billing_module_1 = __importDefault(require("./commands/billing-module"));
132
139
  const ast_migration_1 = __importDefault(require("./commands/ast-migration"));
140
+ const user_1 = __importDefault(require("./commands/user"));
141
+ const org_membership_setting_1 = __importDefault(require("./commands/org-membership-setting"));
133
142
  const app_membership_1 = __importDefault(require("./commands/app-membership"));
134
143
  const hierarchy_module_1 = __importDefault(require("./commands/hierarchy-module"));
135
144
  const current_user_id_1 = __importDefault(require("./commands/current-user-id"));
@@ -147,11 +156,11 @@ const org_permissions_get_mask_1 = __importDefault(require("./commands/org-permi
147
156
  const resolve_blueprint_table_1 = __importDefault(require("./commands/resolve-blueprint-table"));
148
157
  const app_permissions_get_mask_by_names_1 = __importDefault(require("./commands/app-permissions-get-mask-by-names"));
149
158
  const org_permissions_get_mask_by_names_1 = __importDefault(require("./commands/org-permissions-get-mask-by-names"));
159
+ const app_permissions_get_by_mask_1 = __importDefault(require("./commands/app-permissions-get-by-mask"));
160
+ const org_permissions_get_by_mask_1 = __importDefault(require("./commands/org-permissions-get-by-mask"));
150
161
  const get_all_objects_from_root_1 = __importDefault(require("./commands/get-all-objects-from-root"));
151
162
  const get_path_objects_from_root_1 = __importDefault(require("./commands/get-path-objects-from-root"));
152
163
  const get_object_at_path_1 = __importDefault(require("./commands/get-object-at-path"));
153
- const app_permissions_get_by_mask_1 = __importDefault(require("./commands/app-permissions-get-by-mask"));
154
- const org_permissions_get_by_mask_1 = __importDefault(require("./commands/org-permissions-get-by-mask"));
155
164
  const steps_required_1 = __importDefault(require("./commands/steps-required"));
156
165
  const current_user_1 = __importDefault(require("./commands/current-user"));
157
166
  const send_account_deletion_email_1 = __importDefault(require("./commands/send-account-deletion-email"));
@@ -195,14 +204,13 @@ const sign_in_cross_origin_1 = __importDefault(require("./commands/sign-in-cross
195
204
  const create_user_database_1 = __importDefault(require("./commands/create-user-database"));
196
205
  const extend_token_expires_1 = __importDefault(require("./commands/extend-token-expires"));
197
206
  const create_api_key_1 = __importDefault(require("./commands/create-api-key"));
207
+ const send_verification_email_1 = __importDefault(require("./commands/send-verification-email"));
208
+ const forgot_password_1 = __importDefault(require("./commands/forgot-password"));
198
209
  const sign_up_1 = __importDefault(require("./commands/sign-up"));
199
210
  const request_cross_origin_token_1 = __importDefault(require("./commands/request-cross-origin-token"));
200
211
  const sign_in_1 = __importDefault(require("./commands/sign-in"));
201
212
  const provision_table_1 = __importDefault(require("./commands/provision-table"));
202
- const send_verification_email_1 = __importDefault(require("./commands/send-verification-email"));
203
- const forgot_password_1 = __importDefault(require("./commands/forgot-password"));
204
213
  const request_upload_url_1 = __importDefault(require("./commands/request-upload-url"));
205
- const confirm_upload_1 = __importDefault(require("./commands/confirm-upload"));
206
214
  const provision_bucket_1 = __importDefault(require("./commands/provision-bucket"));
207
215
  const createCommandMap = () => ({
208
216
  context: context_1.default,
@@ -210,9 +218,9 @@ const createCommandMap = () => ({
210
218
  'org-get-managers-record': org_get_managers_record_1.default,
211
219
  'org-get-subordinates-record': org_get_subordinates_record_1.default,
212
220
  'get-all-record': get_all_record_1.default,
213
- object: object_1.default,
214
221
  'app-permission': app_permission_1.default,
215
222
  'org-permission': org_permission_1.default,
223
+ object: object_1.default,
216
224
  'app-level-requirement': app_level_requirement_1.default,
217
225
  database: database_1.default,
218
226
  schema: schema_1.default,
@@ -293,6 +301,7 @@ const createCommandMap = () => ({
293
301
  'org-permission-default': org_permission_default_1.default,
294
302
  'app-limit': app_limit_1.default,
295
303
  'org-limit': org_limit_1.default,
304
+ 'org-limit-aggregate': org_limit_aggregate_1.default,
296
305
  'app-step': app_step_1.default,
297
306
  'app-achievement': app_achievement_1.default,
298
307
  'app-level': app_level_1.default,
@@ -305,26 +314,34 @@ const createCommandMap = () => ({
305
314
  'org-invite': org_invite_1.default,
306
315
  'org-claimed-invite': org_claimed_invite_1.default,
307
316
  'audit-log': audit_log_1.default,
308
- 'app-permission-default': app_permission_default_1.default,
317
+ 'agent-thread': agent_thread_1.default,
318
+ 'agent-message': agent_message_1.default,
319
+ 'agent-task': agent_task_1.default,
320
+ 'role-type': role_type_1.default,
309
321
  'identity-provider': identity_provider_1.default,
310
322
  ref: ref_1.default,
311
323
  store: store_1.default,
312
- 'role-type': role_type_1.default,
324
+ 'app-permission-default': app_permission_default_1.default,
325
+ 'membership-type': membership_type_1.default,
313
326
  'migrate-file': migrate_file_1.default,
327
+ 'devices-module': devices_module_1.default,
328
+ 'node-type-registry': node_type_registry_1.default,
314
329
  'app-limit-default': app_limit_default_1.default,
315
330
  'org-limit-default': org_limit_default_1.default,
316
- 'devices-module': devices_module_1.default,
317
331
  'user-connected-account': user_connected_account_1.default,
318
- 'app-membership-default': app_membership_default_1.default,
319
- 'org-membership-default': org_membership_default_1.default,
320
332
  commit: commit_1.default,
321
333
  'rate-limits-module': rate_limits_module_1.default,
322
- 'membership-type': membership_type_1.default,
334
+ 'app-membership-default': app_membership_default_1.default,
335
+ 'org-membership-default': org_membership_default_1.default,
336
+ 'app-limit-event': app_limit_event_1.default,
337
+ 'org-limit-event': org_limit_event_1.default,
338
+ 'plans-module': plans_module_1.default,
323
339
  'rls-module': rls_module_1.default,
324
340
  'sql-action': sql_action_1.default,
325
- 'org-membership-setting': org_membership_setting_1.default,
326
- user: user_1.default,
341
+ 'billing-module': billing_module_1.default,
327
342
  'ast-migration': ast_migration_1.default,
343
+ user: user_1.default,
344
+ 'org-membership-setting': org_membership_setting_1.default,
328
345
  'app-membership': app_membership_1.default,
329
346
  'hierarchy-module': hierarchy_module_1.default,
330
347
  'current-user-id': current_user_id_1.default,
@@ -342,11 +359,11 @@ const createCommandMap = () => ({
342
359
  'resolve-blueprint-table': resolve_blueprint_table_1.default,
343
360
  'app-permissions-get-mask-by-names': app_permissions_get_mask_by_names_1.default,
344
361
  'org-permissions-get-mask-by-names': org_permissions_get_mask_by_names_1.default,
362
+ 'app-permissions-get-by-mask': app_permissions_get_by_mask_1.default,
363
+ 'org-permissions-get-by-mask': org_permissions_get_by_mask_1.default,
345
364
  'get-all-objects-from-root': get_all_objects_from_root_1.default,
346
365
  'get-path-objects-from-root': get_path_objects_from_root_1.default,
347
366
  'get-object-at-path': get_object_at_path_1.default,
348
- 'app-permissions-get-by-mask': app_permissions_get_by_mask_1.default,
349
- 'org-permissions-get-by-mask': org_permissions_get_by_mask_1.default,
350
367
  'steps-required': steps_required_1.default,
351
368
  'current-user': current_user_1.default,
352
369
  'send-account-deletion-email': send_account_deletion_email_1.default,
@@ -390,17 +407,16 @@ const createCommandMap = () => ({
390
407
  'create-user-database': create_user_database_1.default,
391
408
  'extend-token-expires': extend_token_expires_1.default,
392
409
  'create-api-key': create_api_key_1.default,
410
+ 'send-verification-email': send_verification_email_1.default,
411
+ 'forgot-password': forgot_password_1.default,
393
412
  'sign-up': sign_up_1.default,
394
413
  'request-cross-origin-token': request_cross_origin_token_1.default,
395
414
  'sign-in': sign_in_1.default,
396
415
  'provision-table': provision_table_1.default,
397
- 'send-verification-email': send_verification_email_1.default,
398
- 'forgot-password': forgot_password_1.default,
399
416
  'request-upload-url': request_upload_url_1.default,
400
- 'confirm-upload': confirm_upload_1.default,
401
417
  'provision-bucket': provision_bucket_1.default,
402
418
  });
403
- const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n object object CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n spatial-relation spatialRelation CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n session-secrets-module sessionSecretsModule CRUD operations\n identity-providers-module identityProvidersModule CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n entity-type-provision entityTypeProvision CRUD operations\n webauthn-credentials-module webauthnCredentialsModule CRUD operations\n webauthn-auth-module webauthnAuthModule CRUD operations\n notifications-module notificationsModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n org-limit orgLimit CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n app-level appLevel CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n app-invite appInvite CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log auditLog CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n identity-provider identityProvider CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n role-type roleType CRUD operations\n migrate-file migrateFile CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n devices-module devicesModule CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n commit commit CRUD operations\n rate-limits-module rateLimitsModule CRUD operations\n membership-type membershipType CRUD operations\n rls-module rlsModule CRUD operations\n sql-action sqlAction CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n user user CRUD operations\n ast-migration astMigration CRUD operations\n app-membership appMembership CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-user-agent currentUserAgent\n current-ip-address currentIpAddress\n require-step-up requireStepUp\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n resolve-blueprint-field Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. \"location\") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n disconnect-account disconnectAccount\n revoke-api-key revokeApiKey\n revoke-session revokeSession\n verify-password verifyPassword\n verify-totp verifyTotp\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Six phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security, (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Returns the construction record ID on success, NULL on failure.\n provision-new-user provisionNewUser\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n provision-spatial-relation Idempotent provisioner for metaschema_public.spatial_relation. Inserts a row declaring a spatial predicate between two geometry/geography columns (owner and target). Called from construct_blueprint when a relation entry has $type=RelationSpatial. Graceful: re-running with the same (source_table_id, name) returns the existing id without modifying the row. Operator whitelist and st_dwithin \u2194 param_name pairing are enforced by the spatial_relation table CHECKs. Both fields must already exist \u2014 this is a metadata-only insert.\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n apply-rls applyRls\n sign-in-cross-origin signInCrossOrigin\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n create-api-key createApiKey\n sign-up signUp\n request-cross-origin-token requestCrossOriginToken\n sign-in signIn\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n request-upload-url Request a presigned URL for uploading a file directly to S3.\nClient computes SHA-256 of the file content and provides it here.\nIf a file with the same hash already exists (dedup), returns the\nexisting file ID and deduplicated=true with no uploadUrl.\n confirm-upload Confirm that a file has been uploaded to S3.\nVerifies the object exists in S3, checks content-type,\nand transitions the file status from 'pending' to 'ready'.\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
419
+ const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n object object CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n spatial-relation spatialRelation CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n session-secrets-module sessionSecretsModule CRUD operations\n identity-providers-module identityProvidersModule CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n entity-type-provision entityTypeProvision CRUD operations\n webauthn-credentials-module webauthnCredentialsModule CRUD operations\n webauthn-auth-module webauthnAuthModule CRUD operations\n notifications-module notificationsModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n org-limit orgLimit CRUD operations\n org-limit-aggregate orgLimitAggregate CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n app-level appLevel CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n app-invite appInvite CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log auditLog CRUD operations\n agent-thread agentThread CRUD operations\n agent-message agentMessage CRUD operations\n agent-task agentTask CRUD operations\n role-type roleType CRUD operations\n identity-provider identityProvider CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n membership-type membershipType CRUD operations\n migrate-file migrateFile CRUD operations\n devices-module devicesModule CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n commit commit CRUD operations\n rate-limits-module rateLimitsModule CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n plans-module plansModule CRUD operations\n rls-module rlsModule CRUD operations\n sql-action sqlAction CRUD operations\n billing-module billingModule CRUD operations\n ast-migration astMigration CRUD operations\n user user CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n app-membership appMembership CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-user-agent currentUserAgent\n current-ip-address currentIpAddress\n require-step-up requireStepUp\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n resolve-blueprint-field Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. \"location\") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n disconnect-account disconnectAccount\n revoke-api-key revokeApiKey\n revoke-session revokeSession\n verify-password verifyPassword\n verify-totp verifyTotp\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Six phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security, (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Returns the construction record ID on success, NULL on failure.\n provision-new-user provisionNewUser\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n provision-spatial-relation Idempotent provisioner for metaschema_public.spatial_relation. Inserts a row declaring a spatial predicate between two geometry/geography columns (owner and target). Called from construct_blueprint when a relation entry has $type=RelationSpatial. Graceful: re-running with the same (source_table_id, name) returns the existing id without modifying the row. Operator whitelist and st_dwithin \u2194 param_name pairing are enforced by the spatial_relation table CHECKs. Both fields must already exist \u2014 this is a metadata-only insert.\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n apply-rls applyRls\n sign-in-cross-origin signInCrossOrigin\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n create-api-key createApiKey\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n sign-up signUp\n request-cross-origin-token requestCrossOriginToken\n sign-in signIn\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\n request-upload-url Request a presigned URL for uploading a file directly to S3.\nClient computes SHA-256 of the file content and provides it here.\nIf a file with the same hash already exists (dedup), returns the\nexisting file ID and deduplicated=true with no uploadUrl.\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
404
420
  const commands = async (argv, prompter, options) => {
405
421
  if (argv.help || argv.h) {
406
422
  console.log(usage);
@@ -3,9 +3,9 @@ export declare function getClient(contextName?: string): {
3
3
  orgGetManagersRecord: import("../orm").OrgGetManagersRecordModel;
4
4
  orgGetSubordinatesRecord: import("../orm").OrgGetSubordinatesRecordModel;
5
5
  getAllRecord: import("../orm").GetAllRecordModel;
6
- object: import("../orm").ObjectModel;
7
6
  appPermission: import("../orm").AppPermissionModel;
8
7
  orgPermission: import("../orm").OrgPermissionModel;
8
+ object: import("../orm").ObjectModel;
9
9
  appLevelRequirement: import("../orm").AppLevelRequirementModel;
10
10
  database: import("../orm").DatabaseModel;
11
11
  schema: import("../orm").SchemaModel;
@@ -86,6 +86,7 @@ export declare function getClient(contextName?: string): {
86
86
  orgPermissionDefault: import("../orm").OrgPermissionDefaultModel;
87
87
  appLimit: import("../orm").AppLimitModel;
88
88
  orgLimit: import("../orm").OrgLimitModel;
89
+ orgLimitAggregate: import("../orm").OrgLimitAggregateModel;
89
90
  appStep: import("../orm").AppStepModel;
90
91
  appAchievement: import("../orm").AppAchievementModel;
91
92
  appLevel: import("../orm").AppLevelModel;
@@ -98,26 +99,34 @@ export declare function getClient(contextName?: string): {
98
99
  orgInvite: import("../orm").OrgInviteModel;
99
100
  orgClaimedInvite: import("../orm").OrgClaimedInviteModel;
100
101
  auditLog: import("../orm").AuditLogModel;
101
- appPermissionDefault: import("../orm").AppPermissionDefaultModel;
102
+ agentThread: import("../orm").AgentThreadModel;
103
+ agentMessage: import("../orm").AgentMessageModel;
104
+ agentTask: import("../orm").AgentTaskModel;
105
+ roleType: import("../orm").RoleTypeModel;
102
106
  identityProvider: import("../orm").IdentityProviderModel;
103
107
  ref: import("../orm").RefModel;
104
108
  store: import("../orm").StoreModel;
105
- roleType: import("../orm").RoleTypeModel;
109
+ appPermissionDefault: import("../orm").AppPermissionDefaultModel;
110
+ membershipType: import("../orm").MembershipTypeModel;
106
111
  migrateFile: import("../orm").MigrateFileModel;
112
+ devicesModule: import("../orm").DevicesModuleModel;
113
+ nodeTypeRegistry: import("../orm").NodeTypeRegistryModel;
107
114
  appLimitDefault: import("../orm").AppLimitDefaultModel;
108
115
  orgLimitDefault: import("../orm").OrgLimitDefaultModel;
109
- devicesModule: import("../orm").DevicesModuleModel;
110
116
  userConnectedAccount: import("../orm").UserConnectedAccountModel;
111
- appMembershipDefault: import("../orm").AppMembershipDefaultModel;
112
- orgMembershipDefault: import("../orm").OrgMembershipDefaultModel;
113
117
  commit: import("../orm").CommitModel;
114
118
  rateLimitsModule: import("../orm").RateLimitsModuleModel;
115
- membershipType: import("../orm").MembershipTypeModel;
119
+ appMembershipDefault: import("../orm").AppMembershipDefaultModel;
120
+ orgMembershipDefault: import("../orm").OrgMembershipDefaultModel;
121
+ appLimitEvent: import("../orm").AppLimitEventModel;
122
+ orgLimitEvent: import("../orm").OrgLimitEventModel;
123
+ plansModule: import("../orm").PlansModuleModel;
116
124
  rlsModule: import("../orm").RlsModuleModel;
117
125
  sqlAction: import("../orm").SqlActionModel;
118
- orgMembershipSetting: import("../orm").OrgMembershipSettingModel;
119
- user: import("../orm").UserModel;
126
+ billingModule: import("../orm").BillingModuleModel;
120
127
  astMigration: import("../orm").AstMigrationModel;
128
+ user: import("../orm").UserModel;
129
+ orgMembershipSetting: import("../orm").OrgMembershipSettingModel;
121
130
  appMembership: import("../orm").AppMembershipModel;
122
131
  hierarchyModule: import("../orm").HierarchyModuleModel;
123
132
  query: {
@@ -196,6 +205,16 @@ export declare function getClient(contextName?: string): {
196
205
  }) => import("../orm").QueryBuilder<{
197
206
  orgPermissionsGetMaskByNames: string | null;
198
207
  }>;
208
+ appPermissionsGetByMask: (args: import("../orm/query").AppPermissionsGetByMaskVariables, options?: {
209
+ select?: Record<string, unknown>;
210
+ }) => import("../orm").QueryBuilder<{
211
+ appPermissionsGetByMask: import("../orm/input-types").AppPermissionConnection | null;
212
+ }>;
213
+ orgPermissionsGetByMask: (args: import("../orm/query").OrgPermissionsGetByMaskVariables, options?: {
214
+ select?: Record<string, unknown>;
215
+ }) => import("../orm").QueryBuilder<{
216
+ orgPermissionsGetByMask: import("../orm/input-types").OrgPermissionConnection | null;
217
+ }>;
199
218
  getAllObjectsFromRoot: (args: import("../orm/query").GetAllObjectsFromRootVariables, options?: {
200
219
  select?: Record<string, unknown>;
201
220
  }) => import("../orm").QueryBuilder<{
@@ -211,16 +230,6 @@ export declare function getClient(contextName?: string): {
211
230
  } & import("../orm").StrictSelect<S, import("../orm/input-types").ObjectSelect>) => import("../orm").QueryBuilder<{
212
231
  getObjectAtPath: import("../orm").InferSelectResult<import("../orm/input-types").Object, S> | null;
213
232
  }>;
214
- appPermissionsGetByMask: (args: import("../orm/query").AppPermissionsGetByMaskVariables, options?: {
215
- select?: Record<string, unknown>;
216
- }) => import("../orm").QueryBuilder<{
217
- appPermissionsGetByMask: import("../orm/input-types").AppPermissionConnection | null;
218
- }>;
219
- orgPermissionsGetByMask: (args: import("../orm/query").OrgPermissionsGetByMaskVariables, options?: {
220
- select?: Record<string, unknown>;
221
- }) => import("../orm").QueryBuilder<{
222
- orgPermissionsGetByMask: import("../orm/input-types").OrgPermissionConnection | null;
223
- }>;
224
233
  stepsRequired: (args: import("../orm/query").StepsRequiredVariables, options?: {
225
234
  select?: Record<string, unknown>;
226
235
  }) => import("../orm").QueryBuilder<{
@@ -438,6 +447,16 @@ export declare function getClient(contextName?: string): {
438
447
  } & import("../orm").StrictSelect<S, import("../orm/input-types").CreateApiKeyPayloadSelect>) => import("../orm").QueryBuilder<{
439
448
  createApiKey: import("../orm").InferSelectResult<import("../orm/input-types").CreateApiKeyPayload, S> | null;
440
449
  }>;
450
+ sendVerificationEmail: <S extends import("../orm/input-types").SendVerificationEmailPayloadSelect>(args: import("../orm/mutation").SendVerificationEmailVariables, options: {
451
+ select: S;
452
+ } & import("../orm").StrictSelect<S, import("../orm/input-types").SendVerificationEmailPayloadSelect>) => import("../orm").QueryBuilder<{
453
+ sendVerificationEmail: import("../orm").InferSelectResult<import("../orm/input-types").SendVerificationEmailPayload, S> | null;
454
+ }>;
455
+ forgotPassword: <S extends import("../orm/input-types").ForgotPasswordPayloadSelect>(args: import("../orm/mutation").ForgotPasswordVariables, options: {
456
+ select: S;
457
+ } & import("../orm").StrictSelect<S, import("../orm/input-types").ForgotPasswordPayloadSelect>) => import("../orm").QueryBuilder<{
458
+ forgotPassword: import("../orm").InferSelectResult<import("../orm/input-types").ForgotPasswordPayload, S> | null;
459
+ }>;
441
460
  signUp: <S extends import("../orm/input-types").SignUpPayloadSelect>(args: import("../orm/mutation").SignUpVariables, options: {
442
461
  select: S;
443
462
  } & import("../orm").StrictSelect<S, import("../orm/input-types").SignUpPayloadSelect>) => import("../orm").QueryBuilder<{
@@ -458,26 +477,11 @@ export declare function getClient(contextName?: string): {
458
477
  } & import("../orm").StrictSelect<S, import("../orm/input-types").ProvisionTablePayloadSelect>) => import("../orm").QueryBuilder<{
459
478
  provisionTable: import("../orm").InferSelectResult<import("../orm/input-types").ProvisionTablePayload, S> | null;
460
479
  }>;
461
- sendVerificationEmail: <S extends import("../orm/input-types").SendVerificationEmailPayloadSelect>(args: import("../orm/mutation").SendVerificationEmailVariables, options: {
462
- select: S;
463
- } & import("../orm").StrictSelect<S, import("../orm/input-types").SendVerificationEmailPayloadSelect>) => import("../orm").QueryBuilder<{
464
- sendVerificationEmail: import("../orm").InferSelectResult<import("../orm/input-types").SendVerificationEmailPayload, S> | null;
465
- }>;
466
- forgotPassword: <S extends import("../orm/input-types").ForgotPasswordPayloadSelect>(args: import("../orm/mutation").ForgotPasswordVariables, options: {
467
- select: S;
468
- } & import("../orm").StrictSelect<S, import("../orm/input-types").ForgotPasswordPayloadSelect>) => import("../orm").QueryBuilder<{
469
- forgotPassword: import("../orm").InferSelectResult<import("../orm/input-types").ForgotPasswordPayload, S> | null;
470
- }>;
471
480
  requestUploadUrl: <S extends import("../orm/input-types").RequestUploadUrlPayloadSelect>(args: import("../orm/mutation").RequestUploadUrlVariables, options: {
472
481
  select: S;
473
482
  } & import("../orm").StrictSelect<S, import("../orm/input-types").RequestUploadUrlPayloadSelect>) => import("../orm").QueryBuilder<{
474
483
  requestUploadUrl: import("../orm").InferSelectResult<import("../orm/input-types").RequestUploadUrlPayload, S> | null;
475
484
  }>;
476
- confirmUpload: <S extends import("../orm/input-types").ConfirmUploadPayloadSelect>(args: import("../orm/mutation").ConfirmUploadVariables, options: {
477
- select: S;
478
- } & import("../orm").StrictSelect<S, import("../orm/input-types").ConfirmUploadPayloadSelect>) => import("../orm").QueryBuilder<{
479
- confirmUpload: import("../orm").InferSelectResult<import("../orm/input-types").ConfirmUploadPayload, S> | null;
480
- }>;
481
485
  provisionBucket: <S extends import("../orm/input-types").ProvisionBucketPayloadSelect>(args: import("../orm/mutation").ProvisionBucketVariables, options: {
482
486
  select: S;
483
487
  } & import("../orm").StrictSelect<S, import("../orm/input-types").ProvisionBucketPayloadSelect>) => import("../orm").QueryBuilder<{