@constructive-sdk/cli 0.22.2 → 0.22.4

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 (177) hide show
  1. package/admin/cli/commands/{app-achievement.d.ts → app-limit-warning.d.ts} +1 -1
  2. package/{public/cli/commands/app-step.js → admin/cli/commands/app-limit-warning.js} +58 -54
  3. package/{esm/admin/cli/commands/app-achievement.d.ts → admin/cli/commands/org-limit-warning.d.ts} +1 -1
  4. package/admin/cli/commands/{app-level.js → org-limit-warning.js} +66 -62
  5. package/admin/cli/commands.js +7 -15
  6. package/admin/cli/executor.d.ts +3 -15
  7. package/admin/orm/index.d.ts +6 -20
  8. package/admin/orm/index.js +6 -10
  9. package/admin/orm/input-types.d.ts +488 -768
  10. package/admin/orm/models/appLimitWarning.d.ts +54 -0
  11. package/{public/orm/models/secretsModule.js → admin/orm/models/appLimitWarning.js} +27 -27
  12. package/admin/orm/models/index.d.ts +3 -5
  13. package/admin/orm/models/index.js +7 -11
  14. package/admin/orm/models/orgLimitWarning.d.ts +54 -0
  15. package/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +27 -27
  16. package/admin/orm/query/index.d.ts +1 -28
  17. package/admin/orm/query/index.js +0 -44
  18. package/{admin/cli/commands/app-step.d.ts → esm/admin/cli/commands/app-limit-warning.d.ts} +1 -1
  19. package/esm/{public/cli/commands/app-step.js → admin/cli/commands/app-limit-warning.js} +58 -54
  20. package/esm/admin/cli/commands/org-limit-warning.d.ts +8 -0
  21. package/esm/{public/cli/commands/app-level.js → admin/cli/commands/org-limit-warning.js} +66 -62
  22. package/esm/admin/cli/commands.js +7 -15
  23. package/esm/admin/cli/executor.d.ts +3 -15
  24. package/esm/admin/orm/index.d.ts +6 -20
  25. package/esm/admin/orm/index.js +6 -10
  26. package/esm/admin/orm/input-types.d.ts +488 -768
  27. package/esm/admin/orm/models/appLimitWarning.d.ts +54 -0
  28. package/esm/{public/orm/models/appAchievement.js → admin/orm/models/appLimitWarning.js} +25 -25
  29. package/esm/admin/orm/models/index.d.ts +3 -5
  30. package/esm/admin/orm/models/index.js +3 -5
  31. package/esm/admin/orm/models/orgLimitWarning.d.ts +54 -0
  32. package/esm/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +25 -25
  33. package/esm/admin/orm/query/index.d.ts +1 -28
  34. package/esm/admin/orm/query/index.js +0 -44
  35. package/esm/public/cli/commands/app-limit-warning.d.ts +8 -0
  36. package/esm/{admin/cli/commands/app-step.js → public/cli/commands/app-limit-warning.js} +58 -54
  37. package/esm/public/cli/commands/construct-blueprint.js +1 -1
  38. package/esm/public/cli/commands/create-user-database.js +1 -1
  39. package/esm/public/cli/commands/embedding-chunk.js +66 -0
  40. package/esm/public/cli/commands/entity-type-provision.js +22 -0
  41. package/esm/{admin/cli/commands/app-level.d.ts → public/cli/commands/events-module.d.ts} +1 -1
  42. package/esm/public/cli/commands/{levels-module.js → events-module.js} +438 -152
  43. package/esm/public/cli/commands/limits-module.js +88 -0
  44. package/esm/public/cli/commands/org-limit-warning.d.ts +8 -0
  45. package/esm/{admin/cli/commands/app-level.js → public/cli/commands/org-limit-warning.js} +66 -62
  46. package/esm/public/cli/commands/partition.js +24 -24
  47. package/{admin/cli/commands/app-level-requirement.d.ts → esm/public/cli/commands/rate-limit-meters-module.d.ts} +1 -1
  48. package/esm/public/cli/commands/rate-limit-meters-module.js +448 -0
  49. package/esm/public/cli/commands/realtime-module.js +24 -24
  50. package/esm/public/cli/commands/user-state-module.d.ts +8 -0
  51. package/esm/public/cli/commands/{secrets-module.js → user-state-module.js} +8 -8
  52. package/esm/public/cli/commands.js +11 -17
  53. package/esm/public/cli/executor.d.ts +5 -16
  54. package/esm/public/orm/index.d.ts +10 -22
  55. package/esm/public/orm/index.js +10 -12
  56. package/esm/public/orm/input-types.d.ts +1024 -919
  57. package/esm/public/orm/input-types.js +3 -5
  58. package/esm/public/orm/models/appLimitWarning.d.ts +54 -0
  59. package/esm/{admin/orm/models/appLevel.js → public/orm/models/appLimitWarning.js} +25 -25
  60. package/esm/public/orm/models/eventsModule.d.ts +54 -0
  61. package/esm/public/orm/models/{levelsModule.js → eventsModule.js} +25 -25
  62. package/esm/public/orm/models/index.d.ts +5 -6
  63. package/esm/public/orm/models/index.js +5 -6
  64. package/esm/public/orm/models/orgLimitWarning.d.ts +54 -0
  65. package/esm/{admin/orm/models/appStep.js → public/orm/models/orgLimitWarning.js} +25 -25
  66. package/esm/public/orm/models/rateLimitMetersModule.d.ts +54 -0
  67. package/esm/{admin/orm/models/appLevelRequirement.js → public/orm/models/rateLimitMetersModule.js} +25 -25
  68. package/esm/public/orm/models/userStateModule.d.ts +54 -0
  69. package/esm/public/orm/models/userStateModule.js +100 -0
  70. package/esm/public/orm/mutation/index.d.ts +2 -2
  71. package/esm/public/orm/query/index.d.ts +1 -28
  72. package/esm/public/orm/query/index.js +0 -44
  73. package/package.json +4 -4
  74. package/public/cli/commands/app-limit-warning.d.ts +8 -0
  75. package/{admin/cli/commands/app-step.js → public/cli/commands/app-limit-warning.js} +58 -54
  76. package/public/cli/commands/construct-blueprint.js +1 -1
  77. package/public/cli/commands/create-user-database.js +1 -1
  78. package/public/cli/commands/embedding-chunk.js +66 -0
  79. package/public/cli/commands/entity-type-provision.js +22 -0
  80. package/{admin/cli/commands/app-level.d.ts → public/cli/commands/events-module.d.ts} +1 -1
  81. package/public/cli/commands/{levels-module.js → events-module.js} +438 -152
  82. package/public/cli/commands/limits-module.js +88 -0
  83. package/public/cli/commands/org-limit-warning.d.ts +8 -0
  84. package/public/cli/commands/{app-level.js → org-limit-warning.js} +66 -62
  85. package/public/cli/commands/partition.js +24 -24
  86. package/public/cli/commands/rate-limit-meters-module.d.ts +8 -0
  87. package/public/cli/commands/rate-limit-meters-module.js +450 -0
  88. package/public/cli/commands/realtime-module.js +24 -24
  89. package/public/cli/commands/user-state-module.d.ts +8 -0
  90. package/public/cli/commands/{secrets-module.js → user-state-module.js} +8 -8
  91. package/public/cli/commands.js +11 -17
  92. package/public/cli/executor.d.ts +5 -16
  93. package/public/orm/index.d.ts +10 -22
  94. package/public/orm/index.js +10 -12
  95. package/public/orm/input-types.d.ts +1024 -919
  96. package/public/orm/input-types.js +3 -5
  97. package/public/orm/models/appLimitWarning.d.ts +54 -0
  98. package/{admin/orm/models/appStep.js → public/orm/models/appLimitWarning.js} +27 -27
  99. package/public/orm/models/eventsModule.d.ts +54 -0
  100. package/public/orm/models/{levelsModule.js → eventsModule.js} +27 -27
  101. package/public/orm/models/index.d.ts +5 -6
  102. package/public/orm/models/index.js +13 -15
  103. package/public/orm/models/orgLimitWarning.d.ts +54 -0
  104. package/{admin/orm/models/appLevel.js → public/orm/models/orgLimitWarning.js} +27 -27
  105. package/public/orm/models/rateLimitMetersModule.d.ts +54 -0
  106. package/public/orm/models/{appAchievement.js → rateLimitMetersModule.js} +27 -27
  107. package/public/orm/models/userStateModule.d.ts +54 -0
  108. package/public/orm/models/userStateModule.js +104 -0
  109. package/public/orm/mutation/index.d.ts +2 -2
  110. package/public/orm/query/index.d.ts +1 -28
  111. package/public/orm/query/index.js +0 -44
  112. package/admin/cli/commands/app-achievement.js +0 -286
  113. package/admin/cli/commands/app-level-requirement.js +0 -328
  114. package/admin/cli/commands/steps-achieved.d.ts +0 -8
  115. package/admin/cli/commands/steps-achieved.js +0 -35
  116. package/admin/cli/commands/steps-required.d.ts +0 -8
  117. package/admin/cli/commands/steps-required.js +0 -54
  118. package/admin/orm/models/appAchievement.d.ts +0 -54
  119. package/admin/orm/models/appLevel.d.ts +0 -54
  120. package/admin/orm/models/appLevelRequirement.d.ts +0 -54
  121. package/admin/orm/models/appLevelRequirement.js +0 -104
  122. package/admin/orm/models/appStep.d.ts +0 -54
  123. package/esm/admin/cli/commands/app-achievement.js +0 -284
  124. package/esm/admin/cli/commands/app-level-requirement.d.ts +0 -8
  125. package/esm/admin/cli/commands/app-level-requirement.js +0 -326
  126. package/esm/admin/cli/commands/app-step.d.ts +0 -8
  127. package/esm/admin/cli/commands/steps-achieved.d.ts +0 -8
  128. package/esm/admin/cli/commands/steps-achieved.js +0 -33
  129. package/esm/admin/cli/commands/steps-required.d.ts +0 -8
  130. package/esm/admin/cli/commands/steps-required.js +0 -52
  131. package/esm/admin/orm/models/appAchievement.d.ts +0 -54
  132. package/esm/admin/orm/models/appLevel.d.ts +0 -54
  133. package/esm/admin/orm/models/appLevelRequirement.d.ts +0 -54
  134. package/esm/admin/orm/models/appStep.d.ts +0 -54
  135. package/esm/public/cli/commands/app-achievement.d.ts +0 -8
  136. package/esm/public/cli/commands/app-achievement.js +0 -284
  137. package/esm/public/cli/commands/app-level-requirement.d.ts +0 -8
  138. package/esm/public/cli/commands/app-level-requirement.js +0 -326
  139. package/esm/public/cli/commands/app-level.d.ts +0 -8
  140. package/esm/public/cli/commands/app-step.d.ts +0 -8
  141. package/esm/public/cli/commands/levels-module.d.ts +0 -8
  142. package/esm/public/cli/commands/secrets-module.d.ts +0 -8
  143. package/esm/public/cli/commands/steps-achieved.d.ts +0 -8
  144. package/esm/public/cli/commands/steps-achieved.js +0 -33
  145. package/esm/public/cli/commands/steps-required.d.ts +0 -8
  146. package/esm/public/cli/commands/steps-required.js +0 -52
  147. package/esm/public/orm/models/appAchievement.d.ts +0 -54
  148. package/esm/public/orm/models/appLevel.d.ts +0 -54
  149. package/esm/public/orm/models/appLevel.js +0 -100
  150. package/esm/public/orm/models/appLevelRequirement.d.ts +0 -54
  151. package/esm/public/orm/models/appLevelRequirement.js +0 -100
  152. package/esm/public/orm/models/appStep.d.ts +0 -54
  153. package/esm/public/orm/models/appStep.js +0 -100
  154. package/esm/public/orm/models/levelsModule.d.ts +0 -54
  155. package/esm/public/orm/models/secretsModule.d.ts +0 -54
  156. package/esm/public/orm/models/secretsModule.js +0 -100
  157. package/public/cli/commands/app-achievement.d.ts +0 -8
  158. package/public/cli/commands/app-achievement.js +0 -286
  159. package/public/cli/commands/app-level-requirement.d.ts +0 -8
  160. package/public/cli/commands/app-level-requirement.js +0 -328
  161. package/public/cli/commands/app-level.d.ts +0 -8
  162. package/public/cli/commands/app-step.d.ts +0 -8
  163. package/public/cli/commands/levels-module.d.ts +0 -8
  164. package/public/cli/commands/secrets-module.d.ts +0 -8
  165. package/public/cli/commands/steps-achieved.d.ts +0 -8
  166. package/public/cli/commands/steps-achieved.js +0 -35
  167. package/public/cli/commands/steps-required.d.ts +0 -8
  168. package/public/cli/commands/steps-required.js +0 -54
  169. package/public/orm/models/appAchievement.d.ts +0 -54
  170. package/public/orm/models/appLevel.d.ts +0 -54
  171. package/public/orm/models/appLevel.js +0 -104
  172. package/public/orm/models/appLevelRequirement.d.ts +0 -54
  173. package/public/orm/models/appLevelRequirement.js +0 -104
  174. package/public/orm/models/appStep.d.ts +0 -54
  175. package/public/orm/models/appStep.js +0 -104
  176. package/public/orm/models/levelsModule.d.ts +0 -54
  177. package/public/orm/models/secretsModule.d.ts +0 -54
@@ -1,5 +1,5 @@
1
1
  /**
2
- * CLI commands for AppAchievement
2
+ * CLI commands for AppLimitWarning
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  /**
4
- * CLI commands for AppStep
4
+ * CLI commands for AppLimitWarning
5
5
  * @generated by @constructive-io/graphql-codegen
6
6
  * DO NOT EDIT - changes will be overwritten
7
7
  */
@@ -10,13 +10,12 @@ const executor_1 = require("../executor");
10
10
  const utils_1 = require("../utils");
11
11
  const fieldSchema = {
12
12
  id: 'uuid',
13
- actorId: 'uuid',
14
13
  name: 'string',
15
- count: 'int',
16
- createdAt: 'string',
17
- updatedAt: 'string',
14
+ warningType: 'string',
15
+ thresholdValue: 'int',
16
+ taskIdentifier: 'string',
18
17
  };
19
- const usage = '\napp-step <command>\n\nCommands:\n list List appStep records\n find-first Find first matching appStep record\n get Get a appStep by ID\n create Create a new appStep\n update Update an existing appStep\n delete Delete a appStep\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
18
+ const usage = '\napp-limit-warning <command>\n\nCommands:\n list List appLimitWarning records\n find-first Find first matching appLimitWarning record\n get Get a appLimitWarning by ID\n create Create a new appLimitWarning\n update Update an existing appLimitWarning\n delete Delete a appLimitWarning\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
20
19
  exports.default = async (argv, prompter, _options) => {
21
20
  if (argv.help || argv.h) {
22
21
  console.log(usage);
@@ -59,15 +58,14 @@ async function handleList(argv, _prompter) {
59
58
  try {
60
59
  const defaultSelect = {
61
60
  id: true,
62
- actorId: true,
63
61
  name: true,
64
- count: true,
65
- createdAt: true,
66
- updatedAt: true,
62
+ warningType: true,
63
+ thresholdValue: true,
64
+ taskIdentifier: true,
67
65
  };
68
66
  const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
69
67
  const client = (0, executor_1.getClient)();
70
- const result = await client.appStep.findMany(findManyArgs).execute();
68
+ const result = await client.appLimitWarning.findMany(findManyArgs).execute();
71
69
  console.log(JSON.stringify(result, null, 2));
72
70
  }
73
71
  catch (error) {
@@ -82,15 +80,14 @@ async function handleFindFirst(argv, _prompter) {
82
80
  try {
83
81
  const defaultSelect = {
84
82
  id: true,
85
- actorId: true,
86
83
  name: true,
87
- count: true,
88
- createdAt: true,
89
- updatedAt: true,
84
+ warningType: true,
85
+ thresholdValue: true,
86
+ taskIdentifier: true,
90
87
  };
91
88
  const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
92
89
  const client = (0, executor_1.getClient)();
93
- const result = await client.appStep.findFirst(findFirstArgs).execute();
90
+ const result = await client.appLimitWarning.findFirst(findFirstArgs).execute();
94
91
  console.log(JSON.stringify(result, null, 2));
95
92
  }
96
93
  catch (error) {
@@ -112,16 +109,15 @@ async function handleGet(argv, prompter) {
112
109
  },
113
110
  ]);
114
111
  const client = (0, executor_1.getClient)();
115
- const result = await client.appStep
112
+ const result = await client.appLimitWarning
116
113
  .findOne({
117
114
  id: answers.id,
118
115
  select: {
119
116
  id: true,
120
- actorId: true,
121
117
  name: true,
122
- count: true,
123
- createdAt: true,
124
- updatedAt: true,
118
+ warningType: true,
119
+ thresholdValue: true,
120
+ taskIdentifier: true,
125
121
  },
126
122
  })
127
123
  .execute();
@@ -140,42 +136,46 @@ async function handleCreate(argv, prompter) {
140
136
  const rawAnswers = await prompter.prompt(argv, [
141
137
  {
142
138
  type: 'text',
143
- name: 'actorId',
144
- message: 'actorId',
145
- required: false,
146
- skipPrompt: true,
139
+ name: 'name',
140
+ message: 'name',
141
+ required: true,
147
142
  },
148
143
  {
149
144
  type: 'text',
150
- name: 'name',
151
- message: 'name',
145
+ name: 'warningType',
146
+ message: 'warningType',
152
147
  required: true,
153
148
  },
154
149
  {
155
150
  type: 'text',
156
- name: 'count',
157
- message: 'count',
158
- required: false,
159
- skipPrompt: true,
151
+ name: 'thresholdValue',
152
+ message: 'thresholdValue',
153
+ required: true,
154
+ },
155
+ {
156
+ type: 'text',
157
+ name: 'taskIdentifier',
158
+ message: 'taskIdentifier',
159
+ required: true,
160
160
  },
161
161
  ]);
162
162
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
163
163
  const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
164
164
  const client = (0, executor_1.getClient)();
165
- const result = await client.appStep
165
+ const result = await client.appLimitWarning
166
166
  .create({
167
167
  data: {
168
- actorId: cleanedData.actorId,
169
168
  name: cleanedData.name,
170
- count: cleanedData.count,
169
+ warningType: cleanedData.warningType,
170
+ thresholdValue: cleanedData.thresholdValue,
171
+ taskIdentifier: cleanedData.taskIdentifier,
171
172
  },
172
173
  select: {
173
174
  id: true,
174
- actorId: true,
175
175
  name: true,
176
- count: true,
177
- createdAt: true,
178
- updatedAt: true,
176
+ warningType: true,
177
+ thresholdValue: true,
178
+ taskIdentifier: true,
179
179
  },
180
180
  })
181
181
  .execute();
@@ -200,45 +200,49 @@ async function handleUpdate(argv, prompter) {
200
200
  },
201
201
  {
202
202
  type: 'text',
203
- name: 'actorId',
204
- message: 'actorId',
203
+ name: 'name',
204
+ message: 'name',
205
205
  required: false,
206
- skipPrompt: true,
207
206
  },
208
207
  {
209
208
  type: 'text',
210
- name: 'name',
211
- message: 'name',
209
+ name: 'warningType',
210
+ message: 'warningType',
211
+ required: false,
212
+ },
213
+ {
214
+ type: 'text',
215
+ name: 'thresholdValue',
216
+ message: 'thresholdValue',
212
217
  required: false,
213
218
  },
214
219
  {
215
220
  type: 'text',
216
- name: 'count',
217
- message: 'count',
221
+ name: 'taskIdentifier',
222
+ message: 'taskIdentifier',
218
223
  required: false,
219
- skipPrompt: true,
220
224
  },
221
225
  ]);
222
226
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
223
227
  const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
224
228
  const client = (0, executor_1.getClient)();
225
- const result = await client.appStep
229
+ const result = await client.appLimitWarning
226
230
  .update({
227
231
  where: {
228
232
  id: answers.id,
229
233
  },
230
234
  data: {
231
- actorId: cleanedData.actorId,
232
235
  name: cleanedData.name,
233
- count: cleanedData.count,
236
+ warningType: cleanedData.warningType,
237
+ thresholdValue: cleanedData.thresholdValue,
238
+ taskIdentifier: cleanedData.taskIdentifier,
234
239
  },
235
240
  select: {
236
241
  id: true,
237
- actorId: true,
238
242
  name: true,
239
- count: true,
240
- createdAt: true,
241
- updatedAt: true,
243
+ warningType: true,
244
+ thresholdValue: true,
245
+ taskIdentifier: true,
242
246
  },
243
247
  })
244
248
  .execute();
@@ -264,7 +268,7 @@ async function handleDelete(argv, prompter) {
264
268
  ]);
265
269
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
266
270
  const client = (0, executor_1.getClient)();
267
- const result = await client.appStep
271
+ const result = await client.appLimitWarning
268
272
  .delete({
269
273
  where: {
270
274
  id: answers.id,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * CLI commands for AppAchievement
2
+ * CLI commands for OrgLimitWarning
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  /**
4
- * CLI commands for AppLevel
4
+ * CLI commands for OrgLimitWarning
5
5
  * @generated by @constructive-io/graphql-codegen
6
6
  * DO NOT EDIT - changes will be overwritten
7
7
  */
@@ -11,13 +11,12 @@ const utils_1 = require("../utils");
11
11
  const fieldSchema = {
12
12
  id: 'uuid',
13
13
  name: 'string',
14
- description: 'string',
15
- image: 'string',
16
- ownerId: 'uuid',
17
- createdAt: 'string',
18
- updatedAt: 'string',
14
+ warningType: 'string',
15
+ thresholdValue: 'int',
16
+ taskIdentifier: 'string',
17
+ entityId: 'uuid',
19
18
  };
20
- const usage = '\napp-level <command>\n\nCommands:\n list List appLevel records\n find-first Find first matching appLevel record\n get Get a appLevel by ID\n create Create a new appLevel\n update Update an existing appLevel\n delete Delete a appLevel\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
19
+ const usage = '\norg-limit-warning <command>\n\nCommands:\n list List orgLimitWarning records\n find-first Find first matching orgLimitWarning record\n get Get a orgLimitWarning by ID\n create Create a new orgLimitWarning\n update Update an existing orgLimitWarning\n delete Delete a orgLimitWarning\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
21
20
  exports.default = async (argv, prompter, _options) => {
22
21
  if (argv.help || argv.h) {
23
22
  console.log(usage);
@@ -61,15 +60,14 @@ async function handleList(argv, _prompter) {
61
60
  const defaultSelect = {
62
61
  id: true,
63
62
  name: true,
64
- description: true,
65
- image: true,
66
- ownerId: true,
67
- createdAt: true,
68
- updatedAt: true,
63
+ warningType: true,
64
+ thresholdValue: true,
65
+ taskIdentifier: true,
66
+ entityId: true,
69
67
  };
70
68
  const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
71
69
  const client = (0, executor_1.getClient)();
72
- const result = await client.appLevel.findMany(findManyArgs).execute();
70
+ const result = await client.orgLimitWarning.findMany(findManyArgs).execute();
73
71
  console.log(JSON.stringify(result, null, 2));
74
72
  }
75
73
  catch (error) {
@@ -85,15 +83,14 @@ async function handleFindFirst(argv, _prompter) {
85
83
  const defaultSelect = {
86
84
  id: true,
87
85
  name: true,
88
- description: true,
89
- image: true,
90
- ownerId: true,
91
- createdAt: true,
92
- updatedAt: true,
86
+ warningType: true,
87
+ thresholdValue: true,
88
+ taskIdentifier: true,
89
+ entityId: true,
93
90
  };
94
91
  const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
95
92
  const client = (0, executor_1.getClient)();
96
- const result = await client.appLevel.findFirst(findFirstArgs).execute();
93
+ const result = await client.orgLimitWarning.findFirst(findFirstArgs).execute();
97
94
  console.log(JSON.stringify(result, null, 2));
98
95
  }
99
96
  catch (error) {
@@ -115,17 +112,16 @@ async function handleGet(argv, prompter) {
115
112
  },
116
113
  ]);
117
114
  const client = (0, executor_1.getClient)();
118
- const result = await client.appLevel
115
+ const result = await client.orgLimitWarning
119
116
  .findOne({
120
117
  id: answers.id,
121
118
  select: {
122
119
  id: true,
123
120
  name: true,
124
- description: true,
125
- image: true,
126
- ownerId: true,
127
- createdAt: true,
128
- updatedAt: true,
121
+ warningType: true,
122
+ thresholdValue: true,
123
+ taskIdentifier: true,
124
+ entityId: true,
129
125
  },
130
126
  })
131
127
  .execute();
@@ -150,22 +146,26 @@ async function handleCreate(argv, prompter) {
150
146
  },
151
147
  {
152
148
  type: 'text',
153
- name: 'description',
154
- message: 'description',
155
- required: false,
156
- skipPrompt: true,
149
+ name: 'warningType',
150
+ message: 'warningType',
151
+ required: true,
157
152
  },
158
153
  {
159
154
  type: 'text',
160
- name: 'image',
161
- message: 'image',
162
- required: false,
163
- skipPrompt: true,
155
+ name: 'thresholdValue',
156
+ message: 'thresholdValue',
157
+ required: true,
158
+ },
159
+ {
160
+ type: 'text',
161
+ name: 'taskIdentifier',
162
+ message: 'taskIdentifier',
163
+ required: true,
164
164
  },
165
165
  {
166
166
  type: 'text',
167
- name: 'ownerId',
168
- message: 'ownerId',
167
+ name: 'entityId',
168
+ message: 'entityId',
169
169
  required: false,
170
170
  skipPrompt: true,
171
171
  },
@@ -173,22 +173,22 @@ async function handleCreate(argv, prompter) {
173
173
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
174
174
  const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
175
175
  const client = (0, executor_1.getClient)();
176
- const result = await client.appLevel
176
+ const result = await client.orgLimitWarning
177
177
  .create({
178
178
  data: {
179
179
  name: cleanedData.name,
180
- description: cleanedData.description,
181
- image: cleanedData.image,
182
- ownerId: cleanedData.ownerId,
180
+ warningType: cleanedData.warningType,
181
+ thresholdValue: cleanedData.thresholdValue,
182
+ taskIdentifier: cleanedData.taskIdentifier,
183
+ entityId: cleanedData.entityId,
183
184
  },
184
185
  select: {
185
186
  id: true,
186
187
  name: true,
187
- description: true,
188
- image: true,
189
- ownerId: true,
190
- createdAt: true,
191
- updatedAt: true,
188
+ warningType: true,
189
+ thresholdValue: true,
190
+ taskIdentifier: true,
191
+ entityId: true,
192
192
  },
193
193
  })
194
194
  .execute();
@@ -219,22 +219,26 @@ async function handleUpdate(argv, prompter) {
219
219
  },
220
220
  {
221
221
  type: 'text',
222
- name: 'description',
223
- message: 'description',
222
+ name: 'warningType',
223
+ message: 'warningType',
224
224
  required: false,
225
- skipPrompt: true,
226
225
  },
227
226
  {
228
227
  type: 'text',
229
- name: 'image',
230
- message: 'image',
228
+ name: 'thresholdValue',
229
+ message: 'thresholdValue',
230
+ required: false,
231
+ },
232
+ {
233
+ type: 'text',
234
+ name: 'taskIdentifier',
235
+ message: 'taskIdentifier',
231
236
  required: false,
232
- skipPrompt: true,
233
237
  },
234
238
  {
235
239
  type: 'text',
236
- name: 'ownerId',
237
- message: 'ownerId',
240
+ name: 'entityId',
241
+ message: 'entityId',
238
242
  required: false,
239
243
  skipPrompt: true,
240
244
  },
@@ -242,25 +246,25 @@ async function handleUpdate(argv, prompter) {
242
246
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
243
247
  const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
244
248
  const client = (0, executor_1.getClient)();
245
- const result = await client.appLevel
249
+ const result = await client.orgLimitWarning
246
250
  .update({
247
251
  where: {
248
252
  id: answers.id,
249
253
  },
250
254
  data: {
251
255
  name: cleanedData.name,
252
- description: cleanedData.description,
253
- image: cleanedData.image,
254
- ownerId: cleanedData.ownerId,
256
+ warningType: cleanedData.warningType,
257
+ thresholdValue: cleanedData.thresholdValue,
258
+ taskIdentifier: cleanedData.taskIdentifier,
259
+ entityId: cleanedData.entityId,
255
260
  },
256
261
  select: {
257
262
  id: true,
258
263
  name: true,
259
- description: true,
260
- image: true,
261
- ownerId: true,
262
- createdAt: true,
263
- updatedAt: true,
264
+ warningType: true,
265
+ thresholdValue: true,
266
+ taskIdentifier: true,
267
+ entityId: true,
264
268
  },
265
269
  })
266
270
  .execute();
@@ -286,7 +290,7 @@ async function handleDelete(argv, prompter) {
286
290
  ]);
287
291
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
288
292
  const client = (0, executor_1.getClient)();
289
- const result = await client.appLevel
293
+ const result = await client.orgLimitWarning
290
294
  .delete({
291
295
  where: {
292
296
  id: answers.id,
@@ -16,7 +16,6 @@ const org_get_managers_record_1 = __importDefault(require("./commands/org-get-ma
16
16
  const org_get_subordinates_record_1 = __importDefault(require("./commands/org-get-subordinates-record"));
17
17
  const app_permission_1 = __importDefault(require("./commands/app-permission"));
18
18
  const org_permission_1 = __importDefault(require("./commands/org-permission"));
19
- const app_level_requirement_1 = __importDefault(require("./commands/app-level-requirement"));
20
19
  const app_limit_credit_redemption_1 = __importDefault(require("./commands/app-limit-credit-redemption"));
21
20
  const app_limit_credit_code_item_1 = __importDefault(require("./commands/app-limit-credit-code-item"));
22
21
  const app_limit_credit_1 = __importDefault(require("./commands/app-limit-credit"));
@@ -26,8 +25,6 @@ const app_limit_credit_code_1 = __importDefault(require("./commands/app-limit-cr
26
25
  const org_permission_default_1 = __importDefault(require("./commands/org-permission-default"));
27
26
  const app_admin_grant_1 = __importDefault(require("./commands/app-admin-grant"));
28
27
  const app_owner_grant_1 = __importDefault(require("./commands/app-owner-grant"));
29
- const app_achievement_1 = __importDefault(require("./commands/app-achievement"));
30
- const app_step_1 = __importDefault(require("./commands/app-step"));
31
28
  const app_limit_caps_default_1 = __importDefault(require("./commands/app-limit-caps-default"));
32
29
  const org_limit_caps_default_1 = __importDefault(require("./commands/org-limit-caps-default"));
33
30
  const app_limit_cap_1 = __importDefault(require("./commands/app-limit-cap"));
@@ -38,6 +35,8 @@ const membership_type_1 = __importDefault(require("./commands/membership-type"))
38
35
  const app_limit_default_1 = __importDefault(require("./commands/app-limit-default"));
39
36
  const org_limit_default_1 = __importDefault(require("./commands/org-limit-default"));
40
37
  const org_limit_credit_1 = __importDefault(require("./commands/org-limit-credit"));
38
+ const app_limit_warning_1 = __importDefault(require("./commands/app-limit-warning"));
39
+ const org_limit_warning_1 = __importDefault(require("./commands/org-limit-warning"));
41
40
  const org_chart_edge_grant_1 = __importDefault(require("./commands/org-chart-edge-grant"));
42
41
  const app_claimed_invite_1 = __importDefault(require("./commands/app-claimed-invite"));
43
42
  const app_grant_1 = __importDefault(require("./commands/app-grant"));
@@ -49,13 +48,12 @@ const org_limit_event_1 = __importDefault(require("./commands/org-limit-event"))
49
48
  const org_grant_1 = __importDefault(require("./commands/org-grant"));
50
49
  const org_chart_edge_1 = __importDefault(require("./commands/org-chart-edge"));
51
50
  const usage_snapshot_1 = __importDefault(require("./commands/usage-snapshot"));
52
- const org_member_profile_1 = __importDefault(require("./commands/org-member-profile"));
53
- const app_level_1 = __importDefault(require("./commands/app-level"));
54
51
  const app_limit_1 = __importDefault(require("./commands/app-limit"));
55
52
  const app_invite_1 = __importDefault(require("./commands/app-invite"));
56
53
  const org_membership_setting_1 = __importDefault(require("./commands/org-membership-setting"));
57
54
  const org_limit_aggregate_1 = __importDefault(require("./commands/org-limit-aggregate"));
58
55
  const org_limit_1 = __importDefault(require("./commands/org-limit"));
56
+ const org_member_profile_1 = __importDefault(require("./commands/org-member-profile"));
59
57
  const app_membership_1 = __importDefault(require("./commands/app-membership"));
60
58
  const org_invite_1 = __importDefault(require("./commands/org-invite"));
61
59
  const org_membership_1 = __importDefault(require("./commands/org-membership"));
@@ -64,12 +62,10 @@ const org_permissions_get_padded_mask_1 = __importDefault(require("./commands/or
64
62
  const org_is_manager_of_1 = __importDefault(require("./commands/org-is-manager-of"));
65
63
  const app_permissions_get_mask_1 = __importDefault(require("./commands/app-permissions-get-mask"));
66
64
  const org_permissions_get_mask_1 = __importDefault(require("./commands/org-permissions-get-mask"));
67
- const steps_achieved_1 = __importDefault(require("./commands/steps-achieved"));
68
65
  const app_permissions_get_mask_by_names_1 = __importDefault(require("./commands/app-permissions-get-mask-by-names"));
69
66
  const org_permissions_get_mask_by_names_1 = __importDefault(require("./commands/org-permissions-get-mask-by-names"));
70
67
  const app_permissions_get_by_mask_1 = __importDefault(require("./commands/app-permissions-get-by-mask"));
71
68
  const org_permissions_get_by_mask_1 = __importDefault(require("./commands/org-permissions-get-by-mask"));
72
- const steps_required_1 = __importDefault(require("./commands/steps-required"));
73
69
  const submit_app_invite_code_1 = __importDefault(require("./commands/submit-app-invite-code"));
74
70
  const submit_org_invite_code_1 = __importDefault(require("./commands/submit-org-invite-code"));
75
71
  const provision_bucket_1 = __importDefault(require("./commands/provision-bucket"));
@@ -80,7 +76,6 @@ const createCommandMap = () => ({
80
76
  'org-get-subordinates-record': org_get_subordinates_record_1.default,
81
77
  'app-permission': app_permission_1.default,
82
78
  'org-permission': org_permission_1.default,
83
- 'app-level-requirement': app_level_requirement_1.default,
84
79
  'app-limit-credit-redemption': app_limit_credit_redemption_1.default,
85
80
  'app-limit-credit-code-item': app_limit_credit_code_item_1.default,
86
81
  'app-limit-credit': app_limit_credit_1.default,
@@ -90,8 +85,6 @@ const createCommandMap = () => ({
90
85
  'org-permission-default': org_permission_default_1.default,
91
86
  'app-admin-grant': app_admin_grant_1.default,
92
87
  'app-owner-grant': app_owner_grant_1.default,
93
- 'app-achievement': app_achievement_1.default,
94
- 'app-step': app_step_1.default,
95
88
  'app-limit-caps-default': app_limit_caps_default_1.default,
96
89
  'org-limit-caps-default': org_limit_caps_default_1.default,
97
90
  'app-limit-cap': app_limit_cap_1.default,
@@ -102,6 +95,8 @@ const createCommandMap = () => ({
102
95
  'app-limit-default': app_limit_default_1.default,
103
96
  'org-limit-default': org_limit_default_1.default,
104
97
  'org-limit-credit': org_limit_credit_1.default,
98
+ 'app-limit-warning': app_limit_warning_1.default,
99
+ 'org-limit-warning': org_limit_warning_1.default,
105
100
  'org-chart-edge-grant': org_chart_edge_grant_1.default,
106
101
  'app-claimed-invite': app_claimed_invite_1.default,
107
102
  'app-grant': app_grant_1.default,
@@ -113,13 +108,12 @@ const createCommandMap = () => ({
113
108
  'org-grant': org_grant_1.default,
114
109
  'org-chart-edge': org_chart_edge_1.default,
115
110
  'usage-snapshot': usage_snapshot_1.default,
116
- 'org-member-profile': org_member_profile_1.default,
117
- 'app-level': app_level_1.default,
118
111
  'app-limit': app_limit_1.default,
119
112
  'app-invite': app_invite_1.default,
120
113
  'org-membership-setting': org_membership_setting_1.default,
121
114
  'org-limit-aggregate': org_limit_aggregate_1.default,
122
115
  'org-limit': org_limit_1.default,
116
+ 'org-member-profile': org_member_profile_1.default,
123
117
  'app-membership': app_membership_1.default,
124
118
  'org-invite': org_invite_1.default,
125
119
  'org-membership': org_membership_1.default,
@@ -128,17 +122,15 @@ const createCommandMap = () => ({
128
122
  'org-is-manager-of': org_is_manager_of_1.default,
129
123
  'app-permissions-get-mask': app_permissions_get_mask_1.default,
130
124
  'org-permissions-get-mask': org_permissions_get_mask_1.default,
131
- 'steps-achieved': steps_achieved_1.default,
132
125
  'app-permissions-get-mask-by-names': app_permissions_get_mask_by_names_1.default,
133
126
  'org-permissions-get-mask-by-names': org_permissions_get_mask_by_names_1.default,
134
127
  'app-permissions-get-by-mask': app_permissions_get_by_mask_1.default,
135
128
  'org-permissions-get-by-mask': org_permissions_get_by_mask_1.default,
136
- 'steps-required': steps_required_1.default,
137
129
  'submit-app-invite-code': submit_app_invite_code_1.default,
138
130
  'submit-org-invite-code': submit_org_invite_code_1.default,
139
131
  'provision-bucket': provision_bucket_1.default,
140
132
  });
141
- 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 app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n app-limit-credit-redemption appLimitCreditRedemption CRUD operations\n app-limit-credit-code-item appLimitCreditCodeItem CRUD operations\n app-limit-credit appLimitCredit CRUD operations\n org-member orgMember CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n app-limit-credit-code appLimitCreditCode CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-achievement appAchievement CRUD operations\n app-step appStep CRUD operations\n app-limit-caps-default appLimitCapsDefault CRUD operations\n org-limit-caps-default orgLimitCapsDefault CRUD operations\n app-limit-cap appLimitCap CRUD operations\n org-limit-cap orgLimitCap CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n membership-type membershipType CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n org-limit-credit orgLimitCredit CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n app-grant appGrant CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n usage-snapshot usageSnapshot CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n app-level appLevel CRUD operations\n app-limit appLimit CRUD operations\n app-invite appInvite CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n org-limit-aggregate orgLimitAggregate CRUD operations\n org-limit orgLimit CRUD operations\n app-membership appMembership CRUD operations\n org-invite orgInvite CRUD operations\n org-membership orgMembership CRUD operations\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n steps-achieved stepsAchieved\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 steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\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';
133
+ 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 app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-limit-credit-redemption appLimitCreditRedemption CRUD operations\n app-limit-credit-code-item appLimitCreditCodeItem CRUD operations\n app-limit-credit appLimitCredit CRUD operations\n org-member orgMember CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n app-limit-credit-code appLimitCreditCode CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-limit-caps-default appLimitCapsDefault CRUD operations\n org-limit-caps-default orgLimitCapsDefault CRUD operations\n app-limit-cap appLimitCap CRUD operations\n org-limit-cap orgLimitCap CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n membership-type membershipType CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n org-limit-credit orgLimitCredit CRUD operations\n app-limit-warning appLimitWarning CRUD operations\n org-limit-warning orgLimitWarning CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n app-grant appGrant CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n usage-snapshot usageSnapshot CRUD operations\n app-limit appLimit CRUD operations\n app-invite appInvite CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n org-limit-aggregate orgLimitAggregate CRUD operations\n org-limit orgLimit CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n app-membership appMembership CRUD operations\n org-invite orgInvite CRUD operations\n org-membership orgMembership CRUD operations\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\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 submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\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';
142
134
  const commands = async (argv, prompter, options) => {
143
135
  if (argv.help || argv.h) {
144
136
  console.log(usage);