@constructive-sdk/cli 0.22.3 → 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.
- package/admin/cli/commands/{app-achievement.d.ts → app-limit-warning.d.ts} +1 -1
- package/{public/cli/commands/app-step.js → admin/cli/commands/app-limit-warning.js} +58 -54
- package/{esm/admin/cli/commands/app-achievement.d.ts → admin/cli/commands/org-limit-warning.d.ts} +1 -1
- package/admin/cli/commands/{app-level.js → org-limit-warning.js} +66 -62
- package/admin/cli/commands.js +7 -15
- package/admin/cli/executor.d.ts +3 -15
- package/admin/orm/index.d.ts +6 -20
- package/admin/orm/index.js +6 -10
- package/admin/orm/input-types.d.ts +488 -768
- package/admin/orm/models/appLimitWarning.d.ts +54 -0
- package/{public/orm/models/secretsModule.js → admin/orm/models/appLimitWarning.js} +27 -27
- package/admin/orm/models/index.d.ts +3 -5
- package/admin/orm/models/index.js +7 -11
- package/admin/orm/models/orgLimitWarning.d.ts +54 -0
- package/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +27 -27
- package/admin/orm/query/index.d.ts +1 -28
- package/admin/orm/query/index.js +0 -44
- package/{admin/cli/commands/app-step.d.ts → esm/admin/cli/commands/app-limit-warning.d.ts} +1 -1
- package/esm/{public/cli/commands/app-step.js → admin/cli/commands/app-limit-warning.js} +58 -54
- package/esm/admin/cli/commands/org-limit-warning.d.ts +8 -0
- package/esm/{public/cli/commands/app-level.js → admin/cli/commands/org-limit-warning.js} +66 -62
- package/esm/admin/cli/commands.js +7 -15
- package/esm/admin/cli/executor.d.ts +3 -15
- package/esm/admin/orm/index.d.ts +6 -20
- package/esm/admin/orm/index.js +6 -10
- package/esm/admin/orm/input-types.d.ts +488 -768
- package/esm/admin/orm/models/appLimitWarning.d.ts +54 -0
- package/esm/{public/orm/models/appAchievement.js → admin/orm/models/appLimitWarning.js} +25 -25
- package/esm/admin/orm/models/index.d.ts +3 -5
- package/esm/admin/orm/models/index.js +3 -5
- package/esm/admin/orm/models/orgLimitWarning.d.ts +54 -0
- package/esm/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +25 -25
- package/esm/admin/orm/query/index.d.ts +1 -28
- package/esm/admin/orm/query/index.js +0 -44
- package/esm/public/cli/commands/app-limit-warning.d.ts +8 -0
- package/esm/{admin/cli/commands/app-step.js → public/cli/commands/app-limit-warning.js} +58 -54
- package/esm/public/cli/commands/construct-blueprint.js +1 -1
- package/esm/public/cli/commands/create-user-database.js +1 -1
- package/esm/public/cli/commands/embedding-chunk.js +66 -0
- package/esm/public/cli/commands/entity-type-provision.js +22 -0
- package/esm/{admin/cli/commands/app-level.d.ts → public/cli/commands/events-module.d.ts} +1 -1
- package/esm/public/cli/commands/{levels-module.js → events-module.js} +438 -152
- package/esm/public/cli/commands/limits-module.js +88 -0
- package/esm/public/cli/commands/org-limit-warning.d.ts +8 -0
- package/esm/{admin/cli/commands/app-level.js → public/cli/commands/org-limit-warning.js} +66 -62
- package/esm/public/cli/commands/partition.js +24 -24
- package/{admin/cli/commands/app-level-requirement.d.ts → esm/public/cli/commands/rate-limit-meters-module.d.ts} +1 -1
- package/esm/public/cli/commands/rate-limit-meters-module.js +448 -0
- package/esm/public/cli/commands/realtime-module.js +24 -24
- package/esm/public/cli/commands/user-state-module.d.ts +8 -0
- package/esm/public/cli/commands/{secrets-module.js → user-state-module.js} +8 -8
- package/esm/public/cli/commands.js +11 -17
- package/esm/public/cli/executor.d.ts +5 -16
- package/esm/public/orm/index.d.ts +10 -22
- package/esm/public/orm/index.js +10 -12
- package/esm/public/orm/input-types.d.ts +1024 -919
- package/esm/public/orm/input-types.js +3 -5
- package/esm/public/orm/models/appLimitWarning.d.ts +54 -0
- package/esm/{admin/orm/models/appLevel.js → public/orm/models/appLimitWarning.js} +25 -25
- package/esm/public/orm/models/eventsModule.d.ts +54 -0
- package/esm/public/orm/models/{levelsModule.js → eventsModule.js} +25 -25
- package/esm/public/orm/models/index.d.ts +5 -6
- package/esm/public/orm/models/index.js +5 -6
- package/esm/public/orm/models/orgLimitWarning.d.ts +54 -0
- package/esm/{admin/orm/models/appStep.js → public/orm/models/orgLimitWarning.js} +25 -25
- package/esm/public/orm/models/rateLimitMetersModule.d.ts +54 -0
- package/esm/{admin/orm/models/appLevelRequirement.js → public/orm/models/rateLimitMetersModule.js} +25 -25
- package/esm/public/orm/models/userStateModule.d.ts +54 -0
- package/esm/public/orm/models/userStateModule.js +100 -0
- package/esm/public/orm/mutation/index.d.ts +2 -2
- package/esm/public/orm/query/index.d.ts +1 -28
- package/esm/public/orm/query/index.js +0 -44
- package/package.json +4 -4
- package/public/cli/commands/app-limit-warning.d.ts +8 -0
- package/{admin/cli/commands/app-step.js → public/cli/commands/app-limit-warning.js} +58 -54
- package/public/cli/commands/construct-blueprint.js +1 -1
- package/public/cli/commands/create-user-database.js +1 -1
- package/public/cli/commands/embedding-chunk.js +66 -0
- package/public/cli/commands/entity-type-provision.js +22 -0
- package/{admin/cli/commands/app-level.d.ts → public/cli/commands/events-module.d.ts} +1 -1
- package/public/cli/commands/{levels-module.js → events-module.js} +438 -152
- package/public/cli/commands/limits-module.js +88 -0
- package/public/cli/commands/org-limit-warning.d.ts +8 -0
- package/public/cli/commands/{app-level.js → org-limit-warning.js} +66 -62
- package/public/cli/commands/partition.js +24 -24
- package/public/cli/commands/rate-limit-meters-module.d.ts +8 -0
- package/public/cli/commands/rate-limit-meters-module.js +450 -0
- package/public/cli/commands/realtime-module.js +24 -24
- package/public/cli/commands/user-state-module.d.ts +8 -0
- package/public/cli/commands/{secrets-module.js → user-state-module.js} +8 -8
- package/public/cli/commands.js +11 -17
- package/public/cli/executor.d.ts +5 -16
- package/public/orm/index.d.ts +10 -22
- package/public/orm/index.js +10 -12
- package/public/orm/input-types.d.ts +1024 -919
- package/public/orm/input-types.js +3 -5
- package/public/orm/models/appLimitWarning.d.ts +54 -0
- package/{admin/orm/models/appStep.js → public/orm/models/appLimitWarning.js} +27 -27
- package/public/orm/models/eventsModule.d.ts +54 -0
- package/public/orm/models/{levelsModule.js → eventsModule.js} +27 -27
- package/public/orm/models/index.d.ts +5 -6
- package/public/orm/models/index.js +13 -15
- package/public/orm/models/orgLimitWarning.d.ts +54 -0
- package/{admin/orm/models/appLevel.js → public/orm/models/orgLimitWarning.js} +27 -27
- package/public/orm/models/rateLimitMetersModule.d.ts +54 -0
- package/public/orm/models/{appAchievement.js → rateLimitMetersModule.js} +27 -27
- package/public/orm/models/userStateModule.d.ts +54 -0
- package/public/orm/models/userStateModule.js +104 -0
- package/public/orm/mutation/index.d.ts +2 -2
- package/public/orm/query/index.d.ts +1 -28
- package/public/orm/query/index.js +0 -44
- package/admin/cli/commands/app-achievement.js +0 -286
- package/admin/cli/commands/app-level-requirement.js +0 -328
- package/admin/cli/commands/steps-achieved.d.ts +0 -8
- package/admin/cli/commands/steps-achieved.js +0 -35
- package/admin/cli/commands/steps-required.d.ts +0 -8
- package/admin/cli/commands/steps-required.js +0 -54
- package/admin/orm/models/appAchievement.d.ts +0 -54
- package/admin/orm/models/appLevel.d.ts +0 -54
- package/admin/orm/models/appLevelRequirement.d.ts +0 -54
- package/admin/orm/models/appLevelRequirement.js +0 -104
- package/admin/orm/models/appStep.d.ts +0 -54
- package/esm/admin/cli/commands/app-achievement.js +0 -284
- package/esm/admin/cli/commands/app-level-requirement.d.ts +0 -8
- package/esm/admin/cli/commands/app-level-requirement.js +0 -326
- package/esm/admin/cli/commands/app-step.d.ts +0 -8
- package/esm/admin/cli/commands/steps-achieved.d.ts +0 -8
- package/esm/admin/cli/commands/steps-achieved.js +0 -33
- package/esm/admin/cli/commands/steps-required.d.ts +0 -8
- package/esm/admin/cli/commands/steps-required.js +0 -52
- package/esm/admin/orm/models/appAchievement.d.ts +0 -54
- package/esm/admin/orm/models/appLevel.d.ts +0 -54
- package/esm/admin/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/admin/orm/models/appStep.d.ts +0 -54
- package/esm/public/cli/commands/app-achievement.d.ts +0 -8
- package/esm/public/cli/commands/app-achievement.js +0 -284
- package/esm/public/cli/commands/app-level-requirement.d.ts +0 -8
- package/esm/public/cli/commands/app-level-requirement.js +0 -326
- package/esm/public/cli/commands/app-level.d.ts +0 -8
- package/esm/public/cli/commands/app-step.d.ts +0 -8
- package/esm/public/cli/commands/levels-module.d.ts +0 -8
- package/esm/public/cli/commands/secrets-module.d.ts +0 -8
- package/esm/public/cli/commands/steps-achieved.d.ts +0 -8
- package/esm/public/cli/commands/steps-achieved.js +0 -33
- package/esm/public/cli/commands/steps-required.d.ts +0 -8
- package/esm/public/cli/commands/steps-required.js +0 -52
- package/esm/public/orm/models/appAchievement.d.ts +0 -54
- package/esm/public/orm/models/appLevel.d.ts +0 -54
- package/esm/public/orm/models/appLevel.js +0 -100
- package/esm/public/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/public/orm/models/appLevelRequirement.js +0 -100
- package/esm/public/orm/models/appStep.d.ts +0 -54
- package/esm/public/orm/models/appStep.js +0 -100
- package/esm/public/orm/models/levelsModule.d.ts +0 -54
- package/esm/public/orm/models/secretsModule.d.ts +0 -54
- package/esm/public/orm/models/secretsModule.js +0 -100
- package/public/cli/commands/app-achievement.d.ts +0 -8
- package/public/cli/commands/app-achievement.js +0 -286
- package/public/cli/commands/app-level-requirement.d.ts +0 -8
- package/public/cli/commands/app-level-requirement.js +0 -328
- package/public/cli/commands/app-level.d.ts +0 -8
- package/public/cli/commands/app-step.d.ts +0 -8
- package/public/cli/commands/levels-module.d.ts +0 -8
- package/public/cli/commands/secrets-module.d.ts +0 -8
- package/public/cli/commands/steps-achieved.d.ts +0 -8
- package/public/cli/commands/steps-achieved.js +0 -35
- package/public/cli/commands/steps-required.d.ts +0 -8
- package/public/cli/commands/steps-required.js +0 -54
- package/public/orm/models/appAchievement.d.ts +0 -54
- package/public/orm/models/appLevel.d.ts +0 -54
- package/public/orm/models/appLevel.js +0 -104
- package/public/orm/models/appLevelRequirement.d.ts +0 -54
- package/public/orm/models/appLevelRequirement.js +0 -104
- package/public/orm/models/appStep.d.ts +0 -54
- package/public/orm/models/appStep.js +0 -104
- package/public/orm/models/levelsModule.d.ts +0 -54
- package/public/orm/models/secretsModule.d.ts +0 -54
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* CLI commands for
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
warningType: 'string',
|
|
15
|
+
thresholdValue: 'int',
|
|
16
|
+
taskIdentifier: 'string',
|
|
18
17
|
};
|
|
19
|
-
const usage = '\napp-
|
|
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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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.
|
|
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
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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.
|
|
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.
|
|
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
|
-
|
|
123
|
-
|
|
124
|
-
|
|
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: '
|
|
144
|
-
message: '
|
|
145
|
-
required:
|
|
146
|
-
skipPrompt: true,
|
|
139
|
+
name: 'name',
|
|
140
|
+
message: 'name',
|
|
141
|
+
required: true,
|
|
147
142
|
},
|
|
148
143
|
{
|
|
149
144
|
type: 'text',
|
|
150
|
-
name: '
|
|
151
|
-
message: '
|
|
145
|
+
name: 'warningType',
|
|
146
|
+
message: 'warningType',
|
|
152
147
|
required: true,
|
|
153
148
|
},
|
|
154
149
|
{
|
|
155
150
|
type: 'text',
|
|
156
|
-
name: '
|
|
157
|
-
message: '
|
|
158
|
-
required:
|
|
159
|
-
|
|
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.
|
|
165
|
+
const result = await client.appLimitWarning
|
|
166
166
|
.create({
|
|
167
167
|
data: {
|
|
168
|
-
actorId: cleanedData.actorId,
|
|
169
168
|
name: cleanedData.name,
|
|
170
|
-
|
|
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
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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: '
|
|
204
|
-
message: '
|
|
203
|
+
name: 'name',
|
|
204
|
+
message: 'name',
|
|
205
205
|
required: false,
|
|
206
|
-
skipPrompt: true,
|
|
207
206
|
},
|
|
208
207
|
{
|
|
209
208
|
type: 'text',
|
|
210
|
-
name: '
|
|
211
|
-
message: '
|
|
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: '
|
|
217
|
-
message: '
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
240
|
-
|
|
241
|
-
|
|
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.
|
|
271
|
+
const result = await client.appLimitWarning
|
|
268
272
|
.delete({
|
|
269
273
|
where: {
|
|
270
274
|
id: answers.id,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* CLI commands for
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
updatedAt: 'string',
|
|
14
|
+
warningType: 'string',
|
|
15
|
+
thresholdValue: 'int',
|
|
16
|
+
taskIdentifier: 'string',
|
|
17
|
+
entityId: 'uuid',
|
|
19
18
|
};
|
|
20
|
-
const usage = '\
|
|
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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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.
|
|
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
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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.
|
|
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.
|
|
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
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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: '
|
|
154
|
-
message: '
|
|
155
|
-
required:
|
|
156
|
-
skipPrompt: true,
|
|
149
|
+
name: 'warningType',
|
|
150
|
+
message: 'warningType',
|
|
151
|
+
required: true,
|
|
157
152
|
},
|
|
158
153
|
{
|
|
159
154
|
type: 'text',
|
|
160
|
-
name: '
|
|
161
|
-
message: '
|
|
162
|
-
required:
|
|
163
|
-
|
|
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: '
|
|
168
|
-
message: '
|
|
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.
|
|
176
|
+
const result = await client.orgLimitWarning
|
|
177
177
|
.create({
|
|
178
178
|
data: {
|
|
179
179
|
name: cleanedData.name,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
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
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
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: '
|
|
223
|
-
message: '
|
|
222
|
+
name: 'warningType',
|
|
223
|
+
message: 'warningType',
|
|
224
224
|
required: false,
|
|
225
|
-
skipPrompt: true,
|
|
226
225
|
},
|
|
227
226
|
{
|
|
228
227
|
type: 'text',
|
|
229
|
-
name: '
|
|
230
|
-
message: '
|
|
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: '
|
|
237
|
-
message: '
|
|
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.
|
|
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
|
-
|
|
253
|
-
|
|
254
|
-
|
|
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
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
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.
|
|
293
|
+
const result = await client.orgLimitWarning
|
|
290
294
|
.delete({
|
|
291
295
|
where: {
|
|
292
296
|
id: answers.id,
|
package/admin/cli/commands.js
CHANGED
|
@@ -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-
|
|
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);
|