@constructive-sdk/cli 0.25.8 → 0.25.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/admin/cli/commands/app-admin-grant.js +3 -1
  2. package/admin/cli/commands/app-grant.js +3 -1
  3. package/admin/cli/commands/app-invite.js +44 -0
  4. package/admin/cli/commands/app-owner-grant.js +3 -1
  5. package/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
  6. package/admin/cli/commands/app-permission-default-grant.js +286 -0
  7. package/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
  8. package/admin/cli/commands/app-permission-default-permission.js +242 -0
  9. package/admin/cli/commands/org-admin-grant.js +3 -1
  10. package/admin/cli/commands/org-grant.js +3 -1
  11. package/admin/cli/commands/org-invite.js +44 -0
  12. package/admin/cli/commands/org-owner-grant.js +3 -1
  13. package/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
  14. package/admin/cli/commands/org-permission-default-grant.js +306 -0
  15. package/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
  16. package/admin/cli/commands/org-permission-default-permission.js +262 -0
  17. package/admin/cli/commands.js +11 -3
  18. package/admin/cli/executor.d.ts +5 -1
  19. package/admin/orm/index.d.ts +10 -2
  20. package/admin/orm/index.js +10 -2
  21. package/admin/orm/input-types.d.ts +1611 -230
  22. package/admin/orm/input-types.js +9 -1
  23. package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  24. package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
  25. package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  26. package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
  27. package/admin/orm/models/index.d.ts +5 -1
  28. package/admin/orm/models/index.js +11 -3
  29. package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  30. package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
  31. package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  32. package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
  33. package/agent/cli/commands/agent-message.js +34 -12
  34. package/agent/cli/commands/agent-task.js +12 -12
  35. package/agent/cli/embedder.d.ts +5 -0
  36. package/agent/cli/embedder.js +46 -9
  37. package/agent/orm/input-types.d.ts +289 -47
  38. package/agent/orm/input-types.js +1 -0
  39. package/api/cli/commands/check-constraint.js +0 -22
  40. package/api/cli/commands/composite-type.d.ts +8 -0
  41. package/api/cli/commands/composite-type.js +424 -0
  42. package/api/cli/commands/enum.js +0 -22
  43. package/api/cli/commands/field.js +0 -22
  44. package/api/cli/commands/foreign-key-constraint.js +0 -22
  45. package/api/cli/commands/index.js +0 -22
  46. package/api/cli/commands/policy.js +0 -22
  47. package/api/cli/commands/primary-key-constraint.js +0 -22
  48. package/api/cli/commands/schema.js +0 -22
  49. package/api/cli/commands/spatial-relation.js +0 -22
  50. package/api/cli/commands/table.js +6 -28
  51. package/api/cli/commands/trigger.js +0 -22
  52. package/api/cli/commands/unique-constraint.js +0 -22
  53. package/api/cli/commands/view-table.js +22 -0
  54. package/api/cli/commands/view.js +0 -22
  55. package/api/cli/commands.js +3 -1
  56. package/api/cli/executor.d.ts +1 -0
  57. package/api/orm/index.d.ts +2 -0
  58. package/api/orm/index.js +2 -0
  59. package/api/orm/input-types.d.ts +1064 -125
  60. package/api/orm/input-types.js +3 -0
  61. package/api/orm/models/compositeType.d.ts +54 -0
  62. package/api/orm/models/compositeType.js +104 -0
  63. package/api/orm/models/index.d.ts +1 -0
  64. package/api/orm/models/index.js +3 -1
  65. package/auth/cli/commands/link-identity.d.ts +8 -0
  66. package/auth/cli/commands/link-identity.js +36 -0
  67. package/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
  68. package/auth/cli/commands/sign-in-sms-otp.js +36 -0
  69. package/auth/cli/commands/sign-up-sms.d.ts +8 -0
  70. package/auth/cli/commands/sign-up-sms.js +36 -0
  71. package/auth/cli/commands.js +7 -1
  72. package/auth/cli/executor.d.ts +15 -0
  73. package/auth/orm/index.d.ts +15 -0
  74. package/auth/orm/input-types.d.ts +197 -1
  75. package/auth/orm/mutation/index.d.ts +25 -1
  76. package/auth/orm/mutation/index.js +36 -0
  77. package/esm/admin/cli/commands/app-admin-grant.js +3 -1
  78. package/esm/admin/cli/commands/app-grant.js +3 -1
  79. package/esm/admin/cli/commands/app-invite.js +44 -0
  80. package/esm/admin/cli/commands/app-owner-grant.js +3 -1
  81. package/esm/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
  82. package/esm/admin/cli/commands/app-permission-default-grant.js +284 -0
  83. package/esm/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
  84. package/esm/admin/cli/commands/app-permission-default-permission.js +240 -0
  85. package/esm/admin/cli/commands/org-admin-grant.js +3 -1
  86. package/esm/admin/cli/commands/org-grant.js +3 -1
  87. package/esm/admin/cli/commands/org-invite.js +44 -0
  88. package/esm/admin/cli/commands/org-owner-grant.js +3 -1
  89. package/esm/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
  90. package/esm/admin/cli/commands/org-permission-default-grant.js +304 -0
  91. package/esm/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
  92. package/esm/admin/cli/commands/org-permission-default-permission.js +260 -0
  93. package/esm/admin/cli/commands.js +11 -3
  94. package/esm/admin/cli/executor.d.ts +5 -1
  95. package/esm/admin/orm/index.d.ts +10 -2
  96. package/esm/admin/orm/index.js +10 -2
  97. package/esm/admin/orm/input-types.d.ts +1611 -230
  98. package/esm/admin/orm/input-types.js +9 -1
  99. package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  100. package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
  101. package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  102. package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
  103. package/esm/admin/orm/models/index.d.ts +5 -1
  104. package/esm/admin/orm/models/index.js +5 -1
  105. package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  106. package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
  107. package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  108. package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
  109. package/esm/agent/cli/commands/agent-message.js +34 -12
  110. package/esm/agent/cli/commands/agent-task.js +12 -12
  111. package/esm/agent/cli/embedder.d.ts +5 -0
  112. package/esm/agent/cli/embedder.js +10 -2
  113. package/esm/agent/orm/input-types.d.ts +289 -47
  114. package/esm/agent/orm/input-types.js +1 -0
  115. package/esm/api/cli/commands/check-constraint.js +0 -22
  116. package/esm/api/cli/commands/composite-type.d.ts +8 -0
  117. package/esm/api/cli/commands/composite-type.js +422 -0
  118. package/esm/api/cli/commands/enum.js +0 -22
  119. package/esm/api/cli/commands/field.js +0 -22
  120. package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
  121. package/esm/api/cli/commands/index.js +0 -22
  122. package/esm/api/cli/commands/policy.js +0 -22
  123. package/esm/api/cli/commands/primary-key-constraint.js +0 -22
  124. package/esm/api/cli/commands/schema.js +0 -22
  125. package/esm/api/cli/commands/spatial-relation.js +0 -22
  126. package/esm/api/cli/commands/table.js +6 -28
  127. package/esm/api/cli/commands/trigger.js +0 -22
  128. package/esm/api/cli/commands/unique-constraint.js +0 -22
  129. package/esm/api/cli/commands/view-table.js +22 -0
  130. package/esm/api/cli/commands/view.js +0 -22
  131. package/esm/api/cli/commands.js +3 -1
  132. package/esm/api/cli/executor.d.ts +1 -0
  133. package/esm/api/orm/index.d.ts +2 -0
  134. package/esm/api/orm/index.js +2 -0
  135. package/esm/api/orm/input-types.d.ts +1064 -125
  136. package/esm/api/orm/input-types.js +3 -0
  137. package/esm/api/orm/models/compositeType.d.ts +54 -0
  138. package/esm/api/orm/models/compositeType.js +100 -0
  139. package/esm/api/orm/models/index.d.ts +1 -0
  140. package/esm/api/orm/models/index.js +1 -0
  141. package/esm/auth/cli/commands/link-identity.d.ts +8 -0
  142. package/esm/auth/cli/commands/link-identity.js +34 -0
  143. package/esm/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
  144. package/esm/auth/cli/commands/sign-in-sms-otp.js +34 -0
  145. package/esm/auth/cli/commands/sign-up-sms.d.ts +8 -0
  146. package/esm/auth/cli/commands/sign-up-sms.js +34 -0
  147. package/esm/auth/cli/commands.js +7 -1
  148. package/esm/auth/cli/executor.d.ts +15 -0
  149. package/esm/auth/orm/index.d.ts +15 -0
  150. package/esm/auth/orm/input-types.d.ts +197 -1
  151. package/esm/auth/orm/mutation/index.d.ts +25 -1
  152. package/esm/auth/orm/mutation/index.js +36 -0
  153. package/esm/modules/cli/commands/agent-module.js +88 -0
  154. package/esm/modules/cli/commands/billing-module.js +66 -0
  155. package/esm/modules/cli/commands/compute-log-module.js +44 -0
  156. package/esm/modules/cli/commands/config-secrets-module.js +44 -0
  157. package/esm/modules/cli/commands/db-usage-module.js +66 -0
  158. package/esm/modules/cli/commands/entity-type-provision.js +0 -44
  159. package/esm/modules/cli/commands/events-module.js +66 -0
  160. package/esm/modules/cli/commands/function-invocation-module.d.ts +8 -0
  161. package/esm/modules/cli/commands/function-invocation-module.js +580 -0
  162. package/esm/modules/cli/commands/function-module.js +22 -198
  163. package/esm/modules/cli/commands/graph-module.js +22 -0
  164. package/esm/modules/cli/commands/hierarchy-module.js +22 -0
  165. package/esm/modules/cli/commands/identity-providers-module.js +44 -0
  166. package/esm/modules/cli/commands/inference-log-module.js +44 -0
  167. package/esm/modules/cli/commands/invites-module.js +44 -0
  168. package/esm/modules/cli/commands/limits-module.js +44 -0
  169. package/esm/modules/cli/commands/memberships-module.js +88 -0
  170. package/esm/modules/cli/commands/merkle-store-module.js +22 -0
  171. package/esm/modules/cli/commands/namespace-module.js +22 -0
  172. package/esm/modules/cli/commands/notifications-module.js +88 -0
  173. package/esm/modules/cli/commands/permissions-module.js +44 -0
  174. package/esm/modules/cli/commands/plans-module.js +44 -0
  175. package/esm/modules/cli/commands/profiles-module.js +44 -0
  176. package/esm/modules/cli/commands/rate-limit-meters-module.js +66 -0
  177. package/esm/modules/cli/commands/storage-log-module.js +44 -0
  178. package/esm/modules/cli/commands/storage-module.js +66 -0
  179. package/esm/modules/cli/commands/transfer-log-module.js +44 -0
  180. package/esm/modules/cli/commands.js +29 -27
  181. package/esm/modules/cli/executor.d.ts +14 -13
  182. package/esm/modules/orm/index.d.ts +28 -26
  183. package/esm/modules/orm/index.js +28 -26
  184. package/esm/modules/orm/input-types.d.ts +4485 -2514
  185. package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
  186. package/esm/modules/orm/models/functionInvocationModule.js +100 -0
  187. package/esm/modules/orm/models/index.d.ts +14 -13
  188. package/esm/modules/orm/models/index.js +14 -13
  189. package/esm/objects/orm/input-types.d.ts +62 -0
  190. package/esm/usage/orm/input-types.d.ts +314 -19
  191. package/modules/cli/commands/agent-module.js +88 -0
  192. package/modules/cli/commands/billing-module.js +66 -0
  193. package/modules/cli/commands/compute-log-module.js +44 -0
  194. package/modules/cli/commands/config-secrets-module.js +44 -0
  195. package/modules/cli/commands/db-usage-module.js +66 -0
  196. package/modules/cli/commands/entity-type-provision.js +0 -44
  197. package/modules/cli/commands/events-module.js +66 -0
  198. package/modules/cli/commands/function-invocation-module.d.ts +8 -0
  199. package/modules/cli/commands/function-invocation-module.js +582 -0
  200. package/modules/cli/commands/function-module.js +22 -198
  201. package/modules/cli/commands/graph-module.js +22 -0
  202. package/modules/cli/commands/hierarchy-module.js +22 -0
  203. package/modules/cli/commands/identity-providers-module.js +44 -0
  204. package/modules/cli/commands/inference-log-module.js +44 -0
  205. package/modules/cli/commands/invites-module.js +44 -0
  206. package/modules/cli/commands/limits-module.js +44 -0
  207. package/modules/cli/commands/memberships-module.js +88 -0
  208. package/modules/cli/commands/merkle-store-module.js +22 -0
  209. package/modules/cli/commands/namespace-module.js +22 -0
  210. package/modules/cli/commands/notifications-module.js +88 -0
  211. package/modules/cli/commands/permissions-module.js +44 -0
  212. package/modules/cli/commands/plans-module.js +44 -0
  213. package/modules/cli/commands/profiles-module.js +44 -0
  214. package/modules/cli/commands/rate-limit-meters-module.js +66 -0
  215. package/modules/cli/commands/storage-log-module.js +44 -0
  216. package/modules/cli/commands/storage-module.js +66 -0
  217. package/modules/cli/commands/transfer-log-module.js +44 -0
  218. package/modules/cli/commands.js +29 -27
  219. package/modules/cli/executor.d.ts +14 -13
  220. package/modules/orm/index.d.ts +28 -26
  221. package/modules/orm/index.js +28 -26
  222. package/modules/orm/input-types.d.ts +4485 -2514
  223. package/modules/orm/models/functionInvocationModule.d.ts +54 -0
  224. package/modules/orm/models/functionInvocationModule.js +104 -0
  225. package/modules/orm/models/index.d.ts +14 -13
  226. package/modules/orm/models/index.js +30 -28
  227. package/objects/orm/input-types.d.ts +62 -0
  228. package/package.json +4 -4
  229. package/usage/orm/input-types.d.ts +314 -19
@@ -44,8 +44,6 @@ const fieldSchema = {
44
44
  outInvocationsTableId: 'uuid',
45
45
  outExecutionLogsTableId: 'uuid',
46
46
  outSecretDefinitionsTableId: 'uuid',
47
- outRequirementsTableId: 'uuid',
48
- outConfigRequirementsTableId: 'uuid',
49
47
  outGraphModuleId: 'uuid',
50
48
  outGraphsTableId: 'uuid',
51
49
  outAgentModuleId: 'uuid',
@@ -129,8 +127,6 @@ async function handleList(argv, _prompter) {
129
127
  outInvocationsTableId: true,
130
128
  outExecutionLogsTableId: true,
131
129
  outSecretDefinitionsTableId: true,
132
- outRequirementsTableId: true,
133
- outConfigRequirementsTableId: true,
134
130
  outGraphModuleId: true,
135
131
  outGraphsTableId: true,
136
132
  outAgentModuleId: true,
@@ -188,8 +184,6 @@ async function handleFindFirst(argv, _prompter) {
188
184
  outInvocationsTableId: true,
189
185
  outExecutionLogsTableId: true,
190
186
  outSecretDefinitionsTableId: true,
191
- outRequirementsTableId: true,
192
- outConfigRequirementsTableId: true,
193
187
  outGraphModuleId: true,
194
188
  outGraphsTableId: true,
195
189
  outAgentModuleId: true,
@@ -259,8 +253,6 @@ async function handleGet(argv, prompter) {
259
253
  outInvocationsTableId: true,
260
254
  outExecutionLogsTableId: true,
261
255
  outSecretDefinitionsTableId: true,
262
- outRequirementsTableId: true,
263
- outConfigRequirementsTableId: true,
264
256
  outGraphModuleId: true,
265
257
  outGraphsTableId: true,
266
258
  outAgentModuleId: true,
@@ -529,20 +521,6 @@ async function handleCreate(argv, prompter) {
529
521
  required: false,
530
522
  skipPrompt: true,
531
523
  },
532
- {
533
- type: 'text',
534
- name: 'outRequirementsTableId',
535
- message: 'outRequirementsTableId',
536
- required: false,
537
- skipPrompt: true,
538
- },
539
- {
540
- type: 'text',
541
- name: 'outConfigRequirementsTableId',
542
- message: 'outConfigRequirementsTableId',
543
- required: false,
544
- skipPrompt: true,
545
- },
546
524
  {
547
525
  type: 'text',
548
526
  name: 'outGraphModuleId',
@@ -607,8 +585,6 @@ async function handleCreate(argv, prompter) {
607
585
  outInvocationsTableId: cleanedData.outInvocationsTableId,
608
586
  outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
609
587
  outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
610
- outRequirementsTableId: cleanedData.outRequirementsTableId,
611
- outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
612
588
  outGraphModuleId: cleanedData.outGraphModuleId,
613
589
  outGraphsTableId: cleanedData.outGraphsTableId,
614
590
  outAgentModuleId: cleanedData.outAgentModuleId,
@@ -651,8 +627,6 @@ async function handleCreate(argv, prompter) {
651
627
  outInvocationsTableId: true,
652
628
  outExecutionLogsTableId: true,
653
629
  outSecretDefinitionsTableId: true,
654
- outRequirementsTableId: true,
655
- outConfigRequirementsTableId: true,
656
630
  outGraphModuleId: true,
657
631
  outGraphsTableId: true,
658
632
  outAgentModuleId: true,
@@ -927,20 +901,6 @@ async function handleUpdate(argv, prompter) {
927
901
  required: false,
928
902
  skipPrompt: true,
929
903
  },
930
- {
931
- type: 'text',
932
- name: 'outRequirementsTableId',
933
- message: 'outRequirementsTableId',
934
- required: false,
935
- skipPrompt: true,
936
- },
937
- {
938
- type: 'text',
939
- name: 'outConfigRequirementsTableId',
940
- message: 'outConfigRequirementsTableId',
941
- required: false,
942
- skipPrompt: true,
943
- },
944
904
  {
945
905
  type: 'text',
946
906
  name: 'outGraphModuleId',
@@ -1008,8 +968,6 @@ async function handleUpdate(argv, prompter) {
1008
968
  outInvocationsTableId: cleanedData.outInvocationsTableId,
1009
969
  outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
1010
970
  outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
1011
- outRequirementsTableId: cleanedData.outRequirementsTableId,
1012
- outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
1013
971
  outGraphModuleId: cleanedData.outGraphModuleId,
1014
972
  outGraphsTableId: cleanedData.outGraphsTableId,
1015
973
  outAgentModuleId: cleanedData.outAgentModuleId,
@@ -1052,8 +1010,6 @@ async function handleUpdate(argv, prompter) {
1052
1010
  outInvocationsTableId: true,
1053
1011
  outExecutionLogsTableId: true,
1054
1012
  outSecretDefinitionsTableId: true,
1055
- outRequirementsTableId: true,
1056
- outConfigRequirementsTableId: true,
1057
1013
  outGraphModuleId: true,
1058
1014
  outGraphsTableId: true,
1059
1015
  outAgentModuleId: 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
  eventsTableId: 'uuid',
15
17
  eventsTableName: 'string',
16
18
  eventAggregatesTableId: 'uuid',
@@ -46,6 +48,7 @@ const fieldSchema = {
46
48
  prefix: 'string',
47
49
  entityTableId: 'uuid',
48
50
  actorTableId: 'uuid',
51
+ defaultPermissions: 'string',
49
52
  apiName: 'string',
50
53
  privateApiName: 'string',
51
54
  };
@@ -95,6 +98,8 @@ async function handleList(argv, _prompter) {
95
98
  databaseId: true,
96
99
  schemaId: true,
97
100
  privateSchemaId: true,
101
+ publicSchemaName: true,
102
+ privateSchemaName: true,
98
103
  eventsTableId: true,
99
104
  eventsTableName: true,
100
105
  eventAggregatesTableId: true,
@@ -130,6 +135,7 @@ async function handleList(argv, _prompter) {
130
135
  prefix: true,
131
136
  entityTableId: true,
132
137
  actorTableId: true,
138
+ defaultPermissions: true,
133
139
  apiName: true,
134
140
  privateApiName: true,
135
141
  };
@@ -153,6 +159,8 @@ async function handleFindFirst(argv, _prompter) {
153
159
  databaseId: true,
154
160
  schemaId: true,
155
161
  privateSchemaId: true,
162
+ publicSchemaName: true,
163
+ privateSchemaName: true,
156
164
  eventsTableId: true,
157
165
  eventsTableName: true,
158
166
  eventAggregatesTableId: true,
@@ -188,6 +196,7 @@ async function handleFindFirst(argv, _prompter) {
188
196
  prefix: true,
189
197
  entityTableId: true,
190
198
  actorTableId: true,
199
+ defaultPermissions: true,
191
200
  apiName: true,
192
201
  privateApiName: true,
193
202
  };
@@ -223,6 +232,8 @@ async function handleGet(argv, prompter) {
223
232
  databaseId: true,
224
233
  schemaId: true,
225
234
  privateSchemaId: true,
235
+ publicSchemaName: true,
236
+ privateSchemaName: true,
226
237
  eventsTableId: true,
227
238
  eventsTableName: true,
228
239
  eventAggregatesTableId: true,
@@ -258,6 +269,7 @@ async function handleGet(argv, prompter) {
258
269
  prefix: true,
259
270
  entityTableId: true,
260
271
  actorTableId: true,
272
+ defaultPermissions: true,
261
273
  apiName: true,
262
274
  privateApiName: true,
263
275
  },
@@ -296,6 +308,20 @@ async function handleCreate(argv, prompter) {
296
308
  required: false,
297
309
  skipPrompt: true,
298
310
  },
311
+ {
312
+ type: 'text',
313
+ name: 'publicSchemaName',
314
+ message: 'publicSchemaName',
315
+ required: false,
316
+ skipPrompt: true,
317
+ },
318
+ {
319
+ type: 'text',
320
+ name: 'privateSchemaName',
321
+ message: 'privateSchemaName',
322
+ required: false,
323
+ skipPrompt: true,
324
+ },
299
325
  {
300
326
  type: 'text',
301
327
  name: 'eventsTableId',
@@ -541,6 +567,13 @@ async function handleCreate(argv, prompter) {
541
567
  required: false,
542
568
  skipPrompt: true,
543
569
  },
570
+ {
571
+ type: 'text',
572
+ name: 'defaultPermissions',
573
+ message: 'defaultPermissions',
574
+ required: false,
575
+ skipPrompt: true,
576
+ },
544
577
  {
545
578
  type: 'text',
546
579
  name: 'apiName',
@@ -565,6 +598,8 @@ async function handleCreate(argv, prompter) {
565
598
  databaseId: cleanedData.databaseId,
566
599
  schemaId: cleanedData.schemaId,
567
600
  privateSchemaId: cleanedData.privateSchemaId,
601
+ publicSchemaName: cleanedData.publicSchemaName,
602
+ privateSchemaName: cleanedData.privateSchemaName,
568
603
  eventsTableId: cleanedData.eventsTableId,
569
604
  eventsTableName: cleanedData.eventsTableName,
570
605
  eventAggregatesTableId: cleanedData.eventAggregatesTableId,
@@ -600,6 +635,7 @@ async function handleCreate(argv, prompter) {
600
635
  prefix: cleanedData.prefix,
601
636
  entityTableId: cleanedData.entityTableId,
602
637
  actorTableId: cleanedData.actorTableId,
638
+ defaultPermissions: cleanedData.defaultPermissions,
603
639
  apiName: cleanedData.apiName,
604
640
  privateApiName: cleanedData.privateApiName,
605
641
  },
@@ -608,6 +644,8 @@ async function handleCreate(argv, prompter) {
608
644
  databaseId: true,
609
645
  schemaId: true,
610
646
  privateSchemaId: true,
647
+ publicSchemaName: true,
648
+ privateSchemaName: true,
611
649
  eventsTableId: true,
612
650
  eventsTableName: true,
613
651
  eventAggregatesTableId: true,
@@ -643,6 +681,7 @@ async function handleCreate(argv, prompter) {
643
681
  prefix: true,
644
682
  entityTableId: true,
645
683
  actorTableId: true,
684
+ defaultPermissions: true,
646
685
  apiName: true,
647
686
  privateApiName: true,
648
687
  },
@@ -687,6 +726,20 @@ async function handleUpdate(argv, prompter) {
687
726
  required: false,
688
727
  skipPrompt: true,
689
728
  },
729
+ {
730
+ type: 'text',
731
+ name: 'publicSchemaName',
732
+ message: 'publicSchemaName',
733
+ required: false,
734
+ skipPrompt: true,
735
+ },
736
+ {
737
+ type: 'text',
738
+ name: 'privateSchemaName',
739
+ message: 'privateSchemaName',
740
+ required: false,
741
+ skipPrompt: true,
742
+ },
690
743
  {
691
744
  type: 'text',
692
745
  name: 'eventsTableId',
@@ -932,6 +985,13 @@ async function handleUpdate(argv, prompter) {
932
985
  required: false,
933
986
  skipPrompt: true,
934
987
  },
988
+ {
989
+ type: 'text',
990
+ name: 'defaultPermissions',
991
+ message: 'defaultPermissions',
992
+ required: false,
993
+ skipPrompt: true,
994
+ },
935
995
  {
936
996
  type: 'text',
937
997
  name: 'apiName',
@@ -959,6 +1019,8 @@ async function handleUpdate(argv, prompter) {
959
1019
  databaseId: cleanedData.databaseId,
960
1020
  schemaId: cleanedData.schemaId,
961
1021
  privateSchemaId: cleanedData.privateSchemaId,
1022
+ publicSchemaName: cleanedData.publicSchemaName,
1023
+ privateSchemaName: cleanedData.privateSchemaName,
962
1024
  eventsTableId: cleanedData.eventsTableId,
963
1025
  eventsTableName: cleanedData.eventsTableName,
964
1026
  eventAggregatesTableId: cleanedData.eventAggregatesTableId,
@@ -994,6 +1056,7 @@ async function handleUpdate(argv, prompter) {
994
1056
  prefix: cleanedData.prefix,
995
1057
  entityTableId: cleanedData.entityTableId,
996
1058
  actorTableId: cleanedData.actorTableId,
1059
+ defaultPermissions: cleanedData.defaultPermissions,
997
1060
  apiName: cleanedData.apiName,
998
1061
  privateApiName: cleanedData.privateApiName,
999
1062
  },
@@ -1002,6 +1065,8 @@ async function handleUpdate(argv, prompter) {
1002
1065
  databaseId: true,
1003
1066
  schemaId: true,
1004
1067
  privateSchemaId: true,
1068
+ publicSchemaName: true,
1069
+ privateSchemaName: true,
1005
1070
  eventsTableId: true,
1006
1071
  eventsTableName: true,
1007
1072
  eventAggregatesTableId: true,
@@ -1037,6 +1102,7 @@ async function handleUpdate(argv, prompter) {
1037
1102
  prefix: true,
1038
1103
  entityTableId: true,
1039
1104
  actorTableId: true,
1105
+ defaultPermissions: true,
1040
1106
  apiName: true,
1041
1107
  privateApiName: true,
1042
1108
  },
@@ -0,0 +1,8 @@
1
+ /**
2
+ * CLI commands for FunctionInvocationModule
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { CLIOptions, Inquirerer } from 'inquirerer';
7
+ declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
8
+ export default _default;