@constructive-sdk/cli 1.20.6 → 1.20.8
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/agent/orm/input-types.d.ts +4 -4
- package/api/cli/commands/email-provider-account.js +0 -22
- package/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
- package/api/cli/commands/list-suspended-databases-record.js +152 -0
- package/api/cli/commands/platform-email-provider-account.js +0 -22
- package/api/cli/commands.js +3 -1
- package/api/cli/executor.d.ts +1 -0
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +60 -30
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
- package/auth/cli/commands/{provision-new-user.d.ts → request-magic-link.d.ts} +1 -1
- package/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
- package/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
- package/auth/cli/commands/send-mfa-challenge-code.js +36 -0
- package/{esm/auth/cli/commands/provision-new-user.d.ts → auth/cli/commands/send-sms-otp.d.ts} +1 -1
- package/auth/cli/commands/send-sms-otp.js +36 -0
- package/auth/cli/commands.js +7 -3
- package/auth/cli/executor.d.ts +15 -5
- package/auth/orm/index.d.ts +15 -5
- package/auth/orm/input-types.d.ts +44 -14
- package/auth/orm/mutation/index.d.ts +25 -9
- package/auth/orm/mutation/index.js +36 -12
- package/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
- package/compute/cli/commands/function-execution-logs-append.js +36 -0
- package/compute/cli/commands/function-schedule.d.ts +8 -0
- package/compute/cli/commands/function-schedule.js +434 -0
- package/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
- package/compute/cli/commands/platform-function-execution-logs-append.js +36 -0
- package/compute/cli/commands/platform-function-schedule.d.ts +8 -0
- package/compute/cli/commands/platform-function-schedule.js +414 -0
- package/compute/cli/commands.js +9 -1
- package/compute/cli/executor.d.ts +12 -0
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +553 -4
- package/compute/orm/input-types.js +2 -0
- package/compute/orm/models/functionSchedule.d.ts +54 -0
- package/compute/orm/models/functionSchedule.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/compute/orm/models/platformFunctionSchedule.js +104 -0
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/api/cli/commands/email-provider-account.js +0 -22
- package/esm/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
- package/esm/api/cli/commands/list-suspended-databases-record.js +150 -0
- package/esm/api/cli/commands/platform-email-provider-account.js +0 -22
- package/esm/api/cli/commands.js +3 -1
- package/esm/api/cli/executor.d.ts +1 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +60 -30
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
- package/esm/auth/cli/commands/request-magic-link.d.ts +8 -0
- package/esm/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
- package/esm/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
- package/esm/auth/cli/commands/send-mfa-challenge-code.js +34 -0
- package/esm/auth/cli/commands/send-sms-otp.d.ts +8 -0
- package/esm/auth/cli/commands/send-sms-otp.js +34 -0
- package/esm/auth/cli/commands.js +7 -3
- package/esm/auth/cli/executor.d.ts +15 -5
- package/esm/auth/orm/index.d.ts +15 -5
- package/esm/auth/orm/input-types.d.ts +44 -14
- package/esm/auth/orm/mutation/index.d.ts +25 -9
- package/esm/auth/orm/mutation/index.js +36 -12
- package/esm/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
- package/esm/compute/cli/commands/function-execution-logs-append.js +34 -0
- package/esm/compute/cli/commands/function-schedule.d.ts +8 -0
- package/esm/compute/cli/commands/function-schedule.js +432 -0
- package/esm/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-execution-logs-append.js +34 -0
- package/esm/compute/cli/commands/platform-function-schedule.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-schedule.js +412 -0
- package/esm/compute/cli/commands.js +9 -1
- package/esm/compute/cli/executor.d.ts +12 -0
- package/esm/compute/orm/index.d.ts +14 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +553 -4
- package/esm/compute/orm/input-types.js +2 -0
- package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/functionSchedule.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
- package/esm/compute/orm/mutation/index.d.ts +17 -1
- package/esm/compute/orm/mutation/index.js +24 -0
- package/esm/modules/cli/commands/billing-provider-module.js +66 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -88
- package/esm/modules/cli/commands/plans-module.js +0 -22
- package/esm/modules/orm/input-types.d.ts +26 -48
- package/esm/remote/cli/commands/machine.js +22 -0
- package/esm/remote/orm/input-types.d.ts +13 -1
- package/modules/cli/commands/billing-provider-module.js +66 -0
- package/modules/cli/commands/entity-type-provision.js +0 -88
- package/modules/cli/commands/plans-module.js +0 -22
- package/modules/orm/input-types.d.ts +26 -48
- package/package.json +5 -5
- package/remote/cli/commands/machine.js +22 -0
- package/remote/orm/input-types.d.ts +13 -1
|
@@ -453,7 +453,7 @@ export interface AgentRun {
|
|
|
453
453
|
databaseId?: string | null;
|
|
454
454
|
/** When a supervisor should consider this run abandoned */
|
|
455
455
|
deadlineAt?: string | null;
|
|
456
|
-
/** Entity billed for this run:
|
|
456
|
+
/** Entity billed for this run: the database it executes in (rolls up to the database owner) */
|
|
457
457
|
entityId?: string | null;
|
|
458
458
|
/** Failure reason when status is failed */
|
|
459
459
|
error?: string | null;
|
|
@@ -804,7 +804,7 @@ export interface PlatformAgentRun {
|
|
|
804
804
|
databaseId?: string | null;
|
|
805
805
|
/** When a supervisor should consider this run abandoned */
|
|
806
806
|
deadlineAt?: string | null;
|
|
807
|
-
/** Entity billed for this run:
|
|
807
|
+
/** Entity billed for this run: the database it executes in (rolls up to the database owner) */
|
|
808
808
|
entityId?: string | null;
|
|
809
809
|
/** Failure reason when status is failed */
|
|
810
810
|
error?: string | null;
|
|
@@ -4423,7 +4423,7 @@ export interface AgentRunInput {
|
|
|
4423
4423
|
createdAt?: string;
|
|
4424
4424
|
/** When a supervisor should consider this run abandoned */
|
|
4425
4425
|
deadlineAt?: string;
|
|
4426
|
-
/** Entity billed for this run:
|
|
4426
|
+
/** Entity billed for this run: the database it executes in (rolls up to the database owner) */
|
|
4427
4427
|
entityId?: string;
|
|
4428
4428
|
/** Failure reason when status is failed */
|
|
4429
4429
|
error?: string;
|
|
@@ -4739,7 +4739,7 @@ export interface PlatformAgentRunInput {
|
|
|
4739
4739
|
databaseId?: string;
|
|
4740
4740
|
/** When a supervisor should consider this run abandoned */
|
|
4741
4741
|
deadlineAt?: string;
|
|
4742
|
-
/** Entity billed for this run:
|
|
4742
|
+
/** Entity billed for this run: the database it executes in (rolls up to the database owner) */
|
|
4743
4743
|
entityId?: string;
|
|
4744
4744
|
/** Failure reason when status is failed */
|
|
4745
4745
|
error?: string;
|
|
@@ -9,7 +9,6 @@ const inquirerer_1 = require("inquirerer");
|
|
|
9
9
|
const executor_1 = require("../executor");
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
|
-
apiBaseUrl: 'string',
|
|
13
12
|
createdAt: 'string',
|
|
14
13
|
credentialsSecretName: 'string',
|
|
15
14
|
databaseId: 'uuid',
|
|
@@ -68,7 +67,6 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
68
67
|
async function handleList(argv, _prompter) {
|
|
69
68
|
try {
|
|
70
69
|
const defaultSelect = {
|
|
71
|
-
apiBaseUrl: true,
|
|
72
70
|
createdAt: true,
|
|
73
71
|
credentialsSecretName: true,
|
|
74
72
|
databaseId: true,
|
|
@@ -101,7 +99,6 @@ async function handleList(argv, _prompter) {
|
|
|
101
99
|
async function handleFindFirst(argv, _prompter) {
|
|
102
100
|
try {
|
|
103
101
|
const defaultSelect = {
|
|
104
|
-
apiBaseUrl: true,
|
|
105
102
|
createdAt: true,
|
|
106
103
|
credentialsSecretName: true,
|
|
107
104
|
databaseId: true,
|
|
@@ -146,7 +143,6 @@ async function handleGet(argv, prompter) {
|
|
|
146
143
|
.findOne({
|
|
147
144
|
id: answers.id,
|
|
148
145
|
select: {
|
|
149
|
-
apiBaseUrl: true,
|
|
150
146
|
createdAt: true,
|
|
151
147
|
credentialsSecretName: true,
|
|
152
148
|
databaseId: true,
|
|
@@ -178,13 +174,6 @@ async function handleGet(argv, prompter) {
|
|
|
178
174
|
async function handleCreate(argv, prompter) {
|
|
179
175
|
try {
|
|
180
176
|
const rawAnswers = await prompter.prompt(argv, [
|
|
181
|
-
{
|
|
182
|
-
type: 'text',
|
|
183
|
-
name: 'apiBaseUrl',
|
|
184
|
-
message: 'apiBaseUrl',
|
|
185
|
-
required: false,
|
|
186
|
-
skipPrompt: true,
|
|
187
|
-
},
|
|
188
177
|
{
|
|
189
178
|
type: 'text',
|
|
190
179
|
name: 'credentialsSecretName',
|
|
@@ -272,7 +261,6 @@ async function handleCreate(argv, prompter) {
|
|
|
272
261
|
const result = await client.emailProviderAccount
|
|
273
262
|
.create({
|
|
274
263
|
data: {
|
|
275
|
-
apiBaseUrl: cleanedData.apiBaseUrl,
|
|
276
264
|
credentialsSecretName: cleanedData.credentialsSecretName,
|
|
277
265
|
databaseId: cleanedData.databaseId,
|
|
278
266
|
isActive: cleanedData.isActive,
|
|
@@ -287,7 +275,6 @@ async function handleCreate(argv, prompter) {
|
|
|
287
275
|
webhookSigningSecretName: cleanedData.webhookSigningSecretName,
|
|
288
276
|
},
|
|
289
277
|
select: {
|
|
290
|
-
apiBaseUrl: true,
|
|
291
278
|
createdAt: true,
|
|
292
279
|
credentialsSecretName: true,
|
|
293
280
|
databaseId: true,
|
|
@@ -325,13 +312,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
325
312
|
message: 'id',
|
|
326
313
|
required: true,
|
|
327
314
|
},
|
|
328
|
-
{
|
|
329
|
-
type: 'text',
|
|
330
|
-
name: 'apiBaseUrl',
|
|
331
|
-
message: 'apiBaseUrl',
|
|
332
|
-
required: false,
|
|
333
|
-
skipPrompt: true,
|
|
334
|
-
},
|
|
335
315
|
{
|
|
336
316
|
type: 'text',
|
|
337
317
|
name: 'credentialsSecretName',
|
|
@@ -422,7 +402,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
422
402
|
id: answers.id,
|
|
423
403
|
},
|
|
424
404
|
data: {
|
|
425
|
-
apiBaseUrl: cleanedData.apiBaseUrl,
|
|
426
405
|
credentialsSecretName: cleanedData.credentialsSecretName,
|
|
427
406
|
databaseId: cleanedData.databaseId,
|
|
428
407
|
isActive: cleanedData.isActive,
|
|
@@ -437,7 +416,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
437
416
|
webhookSigningSecretName: cleanedData.webhookSigningSecretName,
|
|
438
417
|
},
|
|
439
418
|
select: {
|
|
440
|
-
apiBaseUrl: true,
|
|
441
419
|
createdAt: true,
|
|
442
420
|
credentialsSecretName: true,
|
|
443
421
|
databaseId: true,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for ListSuspendedDatabasesRecord
|
|
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;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* CLI commands for ListSuspendedDatabasesRecord
|
|
5
|
+
* @generated by @constructive-io/graphql-codegen
|
|
6
|
+
* DO NOT EDIT - changes will be overwritten
|
|
7
|
+
*/
|
|
8
|
+
const inquirerer_1 = require("inquirerer");
|
|
9
|
+
const executor_1 = require("../executor");
|
|
10
|
+
const utils_1 = require("../utils");
|
|
11
|
+
const fieldSchema = {
|
|
12
|
+
id: 'uuid',
|
|
13
|
+
name: 'string',
|
|
14
|
+
ownerId: 'uuid',
|
|
15
|
+
suspendedAt: 'string',
|
|
16
|
+
suspendedReason: 'string',
|
|
17
|
+
};
|
|
18
|
+
const usage = '\nlist-suspended-databases-record <command>\n\nCommands:\n list List listSuspendedDatabasesRecord records\n find-first Find first matching listSuspendedDatabasesRecord record\n create Create a new listSuspendedDatabasesRecord\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
|
+
exports.default = async (argv, prompter, _options) => {
|
|
20
|
+
if (argv.help || argv.h) {
|
|
21
|
+
console.log(usage);
|
|
22
|
+
process.exit(0);
|
|
23
|
+
}
|
|
24
|
+
const { first: subcommand, newArgv } = (0, inquirerer_1.extractFirst)(argv);
|
|
25
|
+
if (!subcommand) {
|
|
26
|
+
const answer = await prompter.prompt(argv, [
|
|
27
|
+
{
|
|
28
|
+
type: 'autocomplete',
|
|
29
|
+
name: 'subcommand',
|
|
30
|
+
message: 'What do you want to do?',
|
|
31
|
+
options: ['list', 'find-first', 'create'],
|
|
32
|
+
},
|
|
33
|
+
]);
|
|
34
|
+
return handleTableSubcommand(answer.subcommand, newArgv, prompter);
|
|
35
|
+
}
|
|
36
|
+
return handleTableSubcommand(subcommand, newArgv, prompter);
|
|
37
|
+
};
|
|
38
|
+
async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
39
|
+
switch (subcommand) {
|
|
40
|
+
case 'list':
|
|
41
|
+
return handleList(argv, prompter);
|
|
42
|
+
case 'find-first':
|
|
43
|
+
return handleFindFirst(argv, prompter);
|
|
44
|
+
case 'create':
|
|
45
|
+
return handleCreate(argv, prompter);
|
|
46
|
+
default:
|
|
47
|
+
console.log(usage);
|
|
48
|
+
process.exit(1);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
async function handleList(argv, _prompter) {
|
|
52
|
+
try {
|
|
53
|
+
const defaultSelect = {
|
|
54
|
+
id: true,
|
|
55
|
+
name: true,
|
|
56
|
+
ownerId: true,
|
|
57
|
+
suspendedAt: true,
|
|
58
|
+
suspendedReason: true,
|
|
59
|
+
};
|
|
60
|
+
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
61
|
+
const client = (0, executor_1.getClient)();
|
|
62
|
+
const result = await client.listSuspendedDatabasesRecord.findMany(findManyArgs).execute();
|
|
63
|
+
console.log(JSON.stringify(result, null, 2));
|
|
64
|
+
}
|
|
65
|
+
catch (error) {
|
|
66
|
+
console.error('Failed to list records.');
|
|
67
|
+
if (error instanceof Error) {
|
|
68
|
+
console.error(error.message);
|
|
69
|
+
}
|
|
70
|
+
process.exit(1);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
async function handleFindFirst(argv, _prompter) {
|
|
74
|
+
try {
|
|
75
|
+
const defaultSelect = {
|
|
76
|
+
id: true,
|
|
77
|
+
name: true,
|
|
78
|
+
ownerId: true,
|
|
79
|
+
suspendedAt: true,
|
|
80
|
+
suspendedReason: true,
|
|
81
|
+
};
|
|
82
|
+
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
83
|
+
const client = (0, executor_1.getClient)();
|
|
84
|
+
const result = await client.listSuspendedDatabasesRecord.findFirst(findFirstArgs).execute();
|
|
85
|
+
console.log(JSON.stringify(result, null, 2));
|
|
86
|
+
}
|
|
87
|
+
catch (error) {
|
|
88
|
+
console.error('Failed to find record.');
|
|
89
|
+
if (error instanceof Error) {
|
|
90
|
+
console.error(error.message);
|
|
91
|
+
}
|
|
92
|
+
process.exit(1);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
async function handleCreate(argv, prompter) {
|
|
96
|
+
try {
|
|
97
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
98
|
+
{
|
|
99
|
+
type: 'text',
|
|
100
|
+
name: 'name',
|
|
101
|
+
message: 'name',
|
|
102
|
+
required: true,
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'text',
|
|
106
|
+
name: 'ownerId',
|
|
107
|
+
message: 'ownerId',
|
|
108
|
+
required: true,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'text',
|
|
112
|
+
name: 'suspendedAt',
|
|
113
|
+
message: 'suspendedAt',
|
|
114
|
+
required: true,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
type: 'text',
|
|
118
|
+
name: 'suspendedReason',
|
|
119
|
+
message: 'suspendedReason',
|
|
120
|
+
required: true,
|
|
121
|
+
},
|
|
122
|
+
]);
|
|
123
|
+
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
124
|
+
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
125
|
+
const client = (0, executor_1.getClient)();
|
|
126
|
+
const result = await client.listSuspendedDatabasesRecord
|
|
127
|
+
.create({
|
|
128
|
+
data: {
|
|
129
|
+
name: cleanedData.name,
|
|
130
|
+
ownerId: cleanedData.ownerId,
|
|
131
|
+
suspendedAt: cleanedData.suspendedAt,
|
|
132
|
+
suspendedReason: cleanedData.suspendedReason,
|
|
133
|
+
},
|
|
134
|
+
select: {
|
|
135
|
+
id: true,
|
|
136
|
+
name: true,
|
|
137
|
+
ownerId: true,
|
|
138
|
+
suspendedAt: true,
|
|
139
|
+
suspendedReason: true,
|
|
140
|
+
},
|
|
141
|
+
})
|
|
142
|
+
.execute();
|
|
143
|
+
console.log(JSON.stringify(result, null, 2));
|
|
144
|
+
}
|
|
145
|
+
catch (error) {
|
|
146
|
+
console.error('Failed to create record.');
|
|
147
|
+
if (error instanceof Error) {
|
|
148
|
+
console.error(error.message);
|
|
149
|
+
}
|
|
150
|
+
process.exit(1);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
@@ -9,7 +9,6 @@ const inquirerer_1 = require("inquirerer");
|
|
|
9
9
|
const executor_1 = require("../executor");
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
|
-
apiBaseUrl: 'string',
|
|
13
12
|
createdAt: 'string',
|
|
14
13
|
credentialsSecretName: 'string',
|
|
15
14
|
id: 'uuid',
|
|
@@ -67,7 +66,6 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
67
66
|
async function handleList(argv, _prompter) {
|
|
68
67
|
try {
|
|
69
68
|
const defaultSelect = {
|
|
70
|
-
apiBaseUrl: true,
|
|
71
69
|
createdAt: true,
|
|
72
70
|
credentialsSecretName: true,
|
|
73
71
|
id: true,
|
|
@@ -99,7 +97,6 @@ async function handleList(argv, _prompter) {
|
|
|
99
97
|
async function handleFindFirst(argv, _prompter) {
|
|
100
98
|
try {
|
|
101
99
|
const defaultSelect = {
|
|
102
|
-
apiBaseUrl: true,
|
|
103
100
|
createdAt: true,
|
|
104
101
|
credentialsSecretName: true,
|
|
105
102
|
id: true,
|
|
@@ -143,7 +140,6 @@ async function handleGet(argv, prompter) {
|
|
|
143
140
|
.findOne({
|
|
144
141
|
id: answers.id,
|
|
145
142
|
select: {
|
|
146
|
-
apiBaseUrl: true,
|
|
147
143
|
createdAt: true,
|
|
148
144
|
credentialsSecretName: true,
|
|
149
145
|
id: true,
|
|
@@ -174,13 +170,6 @@ async function handleGet(argv, prompter) {
|
|
|
174
170
|
async function handleCreate(argv, prompter) {
|
|
175
171
|
try {
|
|
176
172
|
const rawAnswers = await prompter.prompt(argv, [
|
|
177
|
-
{
|
|
178
|
-
type: 'text',
|
|
179
|
-
name: 'apiBaseUrl',
|
|
180
|
-
message: 'apiBaseUrl',
|
|
181
|
-
required: false,
|
|
182
|
-
skipPrompt: true,
|
|
183
|
-
},
|
|
184
173
|
{
|
|
185
174
|
type: 'text',
|
|
186
175
|
name: 'credentialsSecretName',
|
|
@@ -262,7 +251,6 @@ async function handleCreate(argv, prompter) {
|
|
|
262
251
|
const result = await client.platformEmailProviderAccount
|
|
263
252
|
.create({
|
|
264
253
|
data: {
|
|
265
|
-
apiBaseUrl: cleanedData.apiBaseUrl,
|
|
266
254
|
credentialsSecretName: cleanedData.credentialsSecretName,
|
|
267
255
|
isActive: cleanedData.isActive,
|
|
268
256
|
name: cleanedData.name,
|
|
@@ -276,7 +264,6 @@ async function handleCreate(argv, prompter) {
|
|
|
276
264
|
webhookSigningSecretName: cleanedData.webhookSigningSecretName,
|
|
277
265
|
},
|
|
278
266
|
select: {
|
|
279
|
-
apiBaseUrl: true,
|
|
280
267
|
createdAt: true,
|
|
281
268
|
credentialsSecretName: true,
|
|
282
269
|
id: true,
|
|
@@ -313,13 +300,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
313
300
|
message: 'id',
|
|
314
301
|
required: true,
|
|
315
302
|
},
|
|
316
|
-
{
|
|
317
|
-
type: 'text',
|
|
318
|
-
name: 'apiBaseUrl',
|
|
319
|
-
message: 'apiBaseUrl',
|
|
320
|
-
required: false,
|
|
321
|
-
skipPrompt: true,
|
|
322
|
-
},
|
|
323
303
|
{
|
|
324
304
|
type: 'text',
|
|
325
305
|
name: 'credentialsSecretName',
|
|
@@ -404,7 +384,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
404
384
|
id: answers.id,
|
|
405
385
|
},
|
|
406
386
|
data: {
|
|
407
|
-
apiBaseUrl: cleanedData.apiBaseUrl,
|
|
408
387
|
credentialsSecretName: cleanedData.credentialsSecretName,
|
|
409
388
|
isActive: cleanedData.isActive,
|
|
410
389
|
name: cleanedData.name,
|
|
@@ -418,7 +397,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
418
397
|
webhookSigningSecretName: cleanedData.webhookSigningSecretName,
|
|
419
398
|
},
|
|
420
399
|
select: {
|
|
421
|
-
apiBaseUrl: true,
|
|
422
400
|
createdAt: true,
|
|
423
401
|
credentialsSecretName: true,
|
|
424
402
|
id: true,
|
package/api/cli/commands.js
CHANGED
|
@@ -44,6 +44,7 @@ const get_site_previews_record_1 = __importDefault(require("./commands/get-site-
|
|
|
44
44
|
const hostname_binding_1 = __importDefault(require("./commands/hostname-binding"));
|
|
45
45
|
const identity_provider_registry_1 = __importDefault(require("./commands/identity-provider-registry"));
|
|
46
46
|
const index_1 = __importDefault(require("./commands/index"));
|
|
47
|
+
const list_suspended_databases_record_1 = __importDefault(require("./commands/list-suspended-databases-record"));
|
|
47
48
|
const managed_domain_1 = __importDefault(require("./commands/managed-domain"));
|
|
48
49
|
const node_type_registry_1 = __importDefault(require("./commands/node-type-registry"));
|
|
49
50
|
const page_1 = __importDefault(require("./commands/page"));
|
|
@@ -184,6 +185,7 @@ const createCommandMap = () => ({
|
|
|
184
185
|
'hostname-binding': hostname_binding_1.default,
|
|
185
186
|
'identity-provider-registry': identity_provider_registry_1.default,
|
|
186
187
|
index: index_1.default,
|
|
188
|
+
'list-suspended-databases-record': list_suspended_databases_record_1.default,
|
|
187
189
|
'managed-domain': managed_domain_1.default,
|
|
188
190
|
'node-type-registry': node_type_registry_1.default,
|
|
189
191
|
page: page_1.default,
|
|
@@ -290,7 +292,7 @@ const createCommandMap = () => ({
|
|
|
290
292
|
'suspend-database': suspend_database_1.default,
|
|
291
293
|
'unsuspend-database': unsuspend_database_1.default,
|
|
292
294
|
});
|
|
293
|
-
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n api api CRUD operations\n api-schema apiSchema CRUD operations\n api-setting apiSetting CRUD operations\n ast-migration astMigration CRUD operations\n check-constraint checkConstraint CRUD operations\n composite-type compositeType CRUD operations\n cors-setting corsSetting CRUD operations\n database database CRUD operations\n database-setting databaseSetting CRUD operations\n database-transfer databaseTransfer CRUD operations\n default-privilege defaultPrivilege CRUD operations\n derive derive CRUD operations\n domain domain CRUD operations\n domain-event domainEvent CRUD operations\n domain-type domainType CRUD operations\n domain-verification domainVerification CRUD operations\n email-identity emailIdentity CRUD operations\n email-provider-account emailProviderAccount CRUD operations\n email-site-identity emailSiteIdentity CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n enum enum CRUD operations\n exclusion-constraint exclusionConstraint CRUD operations\n field-behavior fieldBehavior CRUD operations\n field field CRUD operations\n foreign-key-constraint-behavior foreignKeyConstraintBehavior CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n function function CRUD operations\n get-site-previews-record getSitePreviewsRecord CRUD operations\n hostname-binding hostnameBinding CRUD operations\n identity-provider-registry identityProviderRegistry CRUD operations\n index index CRUD operations\n managed-domain managedDomain CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n page page CRUD operations\n partition partition CRUD operations\n platform-api platformApi CRUD operations\n platform-api-schema platformApiSchema CRUD operations\n platform-api-setting platformApiSetting CRUD operations\n platform-cors-setting platformCorsSetting CRUD operations\n platform-domain platformDomain CRUD operations\n platform-domain-event platformDomainEvent CRUD operations\n platform-domain-verification platformDomainVerification CRUD operations\n platform-email-identity platformEmailIdentity CRUD operations\n platform-email-provider-account platformEmailProviderAccount CRUD operations\n platform-email-site-identity platformEmailSiteIdentity CRUD operations\n platform-get-site-previews-record platformGetSitePreviewsRecord CRUD operations\n platform-managed-domain platformManagedDomain CRUD operations\n platform-page platformPage CRUD operations\n platform-site-app-link platformSiteAppLink CRUD operations\n platform-site platformSite CRUD operations\n platform-site-deep-link platformSiteDeepLink CRUD operations\n platform-site-error-page platformSiteErrorPage CRUD operations\n platform-site-metadatum platformSiteMetadatum CRUD operations\n platform-site-module platformSiteModule CRUD operations\n platform-site-release platformSiteRelease CRUD operations\n platform-site-theme platformSiteTheme CRUD operations\n platform-site-web-config platformSiteWebConfig CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n pubkey-setting pubkeySetting CRUD operations\n redirect redirect CRUD operations\n rls-setting rlsSetting CRUD operations\n route-binding routeBinding CRUD operations\n route route CRUD operations\n schema schema CRUD operations\n schema-grant schemaGrant CRUD operations\n site-app-link siteAppLink CRUD operations\n site site CRUD operations\n site-deep-link siteDeepLink CRUD operations\n site-error-page siteErrorPage CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-release siteRelease CRUD operations\n site-theme siteTheme CRUD operations\n site-web-config siteWebConfig CRUD operations\n spatial-relation spatialRelation CRUD operations\n sql-action sqlAction CRUD operations\n table-behavior tableBehavior CRUD operations\n table table CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n trigger-function triggerFunction CRUD operations\n unique-constraint-behavior uniqueConstraintBehavior CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view-behavior viewBehavior CRUD operations\n view view CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n view-table viewTable CRUD operations\n webauthn-setting webauthnSetting CRUD operations\n api-schema-names apiSchemaNames\n apply-registry-defaults applyRegistryDefaults\n get-site-preview-commit getSitePreviewCommit\n get-site-release-manifest getSiteReleaseManifest\n page-published pagePublished\n platform-get-site-preview-commit platformGetSitePreviewCommit\n platform-get-site-release-manifest platformGetSiteReleaseManifest\n platform-page-published platformPagePublished\n platform-sites-deep-link-url platformSitesDeepLinkUrl\n platform-sites-site-origin platformSitesSiteOrigin\n platform-verify-site-preview-token platformVerifySitePreviewToken\n resolve-deep-link resolveDeepLink\n resolve-route resolveRoute\n resolve-site-app-links resolveSiteAppLinks\n sites-deep-link-url sitesDeepLinkUrl\n sites-site-origin sitesSiteOrigin\n verify-site-preview-token verifySitePreviewToken\n accept-database-transfer acceptDatabaseTransfer\n apply-rls applyRls\n cancel-database-transfer cancelDatabaseTransfer\n delete-site-preview deleteSitePreview\n domains-assign-subdomain domainsAssignSubdomain\n mint-site-preview-token mintSitePreviewToken\n pages-install-pages pagesInstallPages\n platform-delete-site-preview platformDeleteSitePreview\n platform-domains-assign-subdomain platformDomainsAssignSubdomain\n platform-mint-site-preview-token platformMintSitePreviewToken\n platform-pages-install-pages platformPagesInstallPages\n platform-provision-site-preview platformProvisionSitePreview\n platform-set-site-preview platformSetSitePreview\n platform-site-metadata-install-robots platformSiteMetadataInstallRobots\n platform-sites-install-content-preset platformSitesInstallContentPreset\n platform-sites-install-mantra platformSitesInstallMantra\n platform-sites-provision-static-site platformSitesProvisionStaticSite\n provision-bucket Reconcile an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then enqueues the same\nstorage:provision_bucket job used by the INSERT trigger. This is\nidempotent for an already-reconciled bucket; enqueue failures become\nGraphQL errors.\n provision-site-preview provisionSitePreview\n reject-database-transfer rejectDatabaseTransfer\n request-database Requests a database and returns a ticket (database_provision_module row) to poll.\n\nPass exactly one of preset_slug or modules. Pass organization_id to have the organization own the database from the start (the caller must be an owner of that organization); the requesting user is still the identity bootstrapped into the new database. Omit it for a personal database. The pool, presets, and owner bootstrap are private implementation details: a warm pool hit fulfills the ticket immediately (fulfilled_at set, deferred owner bootstrap), otherwise the database is cold-provisioned asynchronously with exactly the requested modules. Poll the ticket until status = 'completed'; it then carries database_id and fulfilled_at.\n\nExample usage:\n SELECT * FROM metaschema_public.request_database('my_app', 'example.com', preset_slug := 'full');\n SELECT * FROM metaschema_public.request_database('my_app', 'example.com', modules := '[\"users_module\", \"emails_module\"]'::jsonb);\n SELECT * FROM metaschema_public.request_database('team_app', 'example.com', preset_slug := 'full', organization_id := '00000000-0000-0000-0000-000000000000'::uuid);\n set-field-order setFieldOrder\n set-site-preview setSitePreview\n site-metadata-install-robots siteMetadataInstallRobots\n sites-install-content-preset sitesInstallContentPreset\n sites-install-mantra sitesInstallMantra\n sites-provision-static-site sitesProvisionStaticSite\n suspend-database suspendDatabase\n unsuspend-database unsuspendDatabase\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
295
|
+
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n api api CRUD operations\n api-schema apiSchema CRUD operations\n api-setting apiSetting CRUD operations\n ast-migration astMigration CRUD operations\n check-constraint checkConstraint CRUD operations\n composite-type compositeType CRUD operations\n cors-setting corsSetting CRUD operations\n database database CRUD operations\n database-setting databaseSetting CRUD operations\n database-transfer databaseTransfer CRUD operations\n default-privilege defaultPrivilege CRUD operations\n derive derive CRUD operations\n domain domain CRUD operations\n domain-event domainEvent CRUD operations\n domain-type domainType CRUD operations\n domain-verification domainVerification CRUD operations\n email-identity emailIdentity CRUD operations\n email-provider-account emailProviderAccount CRUD operations\n email-site-identity emailSiteIdentity CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n enum enum CRUD operations\n exclusion-constraint exclusionConstraint CRUD operations\n field-behavior fieldBehavior CRUD operations\n field field CRUD operations\n foreign-key-constraint-behavior foreignKeyConstraintBehavior CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n function function CRUD operations\n get-site-previews-record getSitePreviewsRecord CRUD operations\n hostname-binding hostnameBinding CRUD operations\n identity-provider-registry identityProviderRegistry CRUD operations\n index index CRUD operations\n list-suspended-databases-record listSuspendedDatabasesRecord CRUD operations\n managed-domain managedDomain CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n page page CRUD operations\n partition partition CRUD operations\n platform-api platformApi CRUD operations\n platform-api-schema platformApiSchema CRUD operations\n platform-api-setting platformApiSetting CRUD operations\n platform-cors-setting platformCorsSetting CRUD operations\n platform-domain platformDomain CRUD operations\n platform-domain-event platformDomainEvent CRUD operations\n platform-domain-verification platformDomainVerification CRUD operations\n platform-email-identity platformEmailIdentity CRUD operations\n platform-email-provider-account platformEmailProviderAccount CRUD operations\n platform-email-site-identity platformEmailSiteIdentity CRUD operations\n platform-get-site-previews-record platformGetSitePreviewsRecord CRUD operations\n platform-managed-domain platformManagedDomain CRUD operations\n platform-page platformPage CRUD operations\n platform-site-app-link platformSiteAppLink CRUD operations\n platform-site platformSite CRUD operations\n platform-site-deep-link platformSiteDeepLink CRUD operations\n platform-site-error-page platformSiteErrorPage CRUD operations\n platform-site-metadatum platformSiteMetadatum CRUD operations\n platform-site-module platformSiteModule CRUD operations\n platform-site-release platformSiteRelease CRUD operations\n platform-site-theme platformSiteTheme CRUD operations\n platform-site-web-config platformSiteWebConfig CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n pubkey-setting pubkeySetting CRUD operations\n redirect redirect CRUD operations\n rls-setting rlsSetting CRUD operations\n route-binding routeBinding CRUD operations\n route route CRUD operations\n schema schema CRUD operations\n schema-grant schemaGrant CRUD operations\n site-app-link siteAppLink CRUD operations\n site site CRUD operations\n site-deep-link siteDeepLink CRUD operations\n site-error-page siteErrorPage CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-release siteRelease CRUD operations\n site-theme siteTheme CRUD operations\n site-web-config siteWebConfig CRUD operations\n spatial-relation spatialRelation CRUD operations\n sql-action sqlAction CRUD operations\n table-behavior tableBehavior CRUD operations\n table table CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n trigger-function triggerFunction CRUD operations\n unique-constraint-behavior uniqueConstraintBehavior CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view-behavior viewBehavior CRUD operations\n view view CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n view-table viewTable CRUD operations\n webauthn-setting webauthnSetting CRUD operations\n api-schema-names apiSchemaNames\n apply-registry-defaults applyRegistryDefaults\n get-site-preview-commit getSitePreviewCommit\n get-site-release-manifest getSiteReleaseManifest\n page-published pagePublished\n platform-get-site-preview-commit platformGetSitePreviewCommit\n platform-get-site-release-manifest platformGetSiteReleaseManifest\n platform-page-published platformPagePublished\n platform-sites-deep-link-url platformSitesDeepLinkUrl\n platform-sites-site-origin platformSitesSiteOrigin\n platform-verify-site-preview-token platformVerifySitePreviewToken\n resolve-deep-link resolveDeepLink\n resolve-route resolveRoute\n resolve-site-app-links resolveSiteAppLinks\n sites-deep-link-url sitesDeepLinkUrl\n sites-site-origin sitesSiteOrigin\n verify-site-preview-token verifySitePreviewToken\n accept-database-transfer acceptDatabaseTransfer\n apply-rls applyRls\n cancel-database-transfer cancelDatabaseTransfer\n delete-site-preview deleteSitePreview\n domains-assign-subdomain domainsAssignSubdomain\n mint-site-preview-token mintSitePreviewToken\n pages-install-pages pagesInstallPages\n platform-delete-site-preview platformDeleteSitePreview\n platform-domains-assign-subdomain platformDomainsAssignSubdomain\n platform-mint-site-preview-token platformMintSitePreviewToken\n platform-pages-install-pages platformPagesInstallPages\n platform-provision-site-preview platformProvisionSitePreview\n platform-set-site-preview platformSetSitePreview\n platform-site-metadata-install-robots platformSiteMetadataInstallRobots\n platform-sites-install-content-preset platformSitesInstallContentPreset\n platform-sites-install-mantra platformSitesInstallMantra\n platform-sites-provision-static-site platformSitesProvisionStaticSite\n provision-bucket Reconcile an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then enqueues the same\nstorage:provision_bucket job used by the INSERT trigger. This is\nidempotent for an already-reconciled bucket; enqueue failures become\nGraphQL errors.\n provision-site-preview provisionSitePreview\n reject-database-transfer rejectDatabaseTransfer\n request-database Requests a database and returns a ticket (database_provision_module row) to poll.\n\nPass exactly one of preset_slug or modules. Pass organization_id to have the organization own the database from the start (the caller must be an owner of that organization); the requesting user is still the identity bootstrapped into the new database. Omit it for a personal database. The pool, presets, and owner bootstrap are private implementation details: a warm pool hit fulfills the ticket immediately (fulfilled_at set, deferred owner bootstrap), otherwise the database is cold-provisioned asynchronously with exactly the requested modules. Poll the ticket until status = 'completed'; it then carries database_id and fulfilled_at.\n\nExample usage:\n SELECT * FROM metaschema_public.request_database('my_app', 'example.com', preset_slug := 'full');\n SELECT * FROM metaschema_public.request_database('my_app', 'example.com', modules := '[\"users_module\", \"emails_module\"]'::jsonb);\n SELECT * FROM metaschema_public.request_database('team_app', 'example.com', preset_slug := 'full', organization_id := '00000000-0000-0000-0000-000000000000'::uuid);\n set-field-order setFieldOrder\n set-site-preview setSitePreview\n site-metadata-install-robots siteMetadataInstallRobots\n sites-install-content-preset sitesInstallContentPreset\n sites-install-mantra sitesInstallMantra\n sites-provision-static-site sitesProvisionStaticSite\n suspend-database suspendDatabase\n unsuspend-database unsuspendDatabase\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
294
296
|
const commands = async (argv, prompter, options) => {
|
|
295
297
|
if (argv.help || argv.h) {
|
|
296
298
|
console.log(usage);
|
package/api/cli/executor.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare function getClient(contextName?: string): {
|
|
|
32
32
|
hostnameBinding: import("../orm").HostnameBindingModel;
|
|
33
33
|
identityProviderRegistry: import("../orm").IdentityProviderRegistryModel;
|
|
34
34
|
index: import("../orm").IndexModel;
|
|
35
|
+
listSuspendedDatabasesRecord: import("../orm").ListSuspendedDatabasesRecordModel;
|
|
35
36
|
managedDomain: import("../orm").ManagedDomainModel;
|
|
36
37
|
nodeTypeRegistry: import("../orm").NodeTypeRegistryModel;
|
|
37
38
|
page: import("../orm").PageModel;
|
package/api/orm/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ import { GetSitePreviewsRecordModel } from './models/getSitePreviewsRecord';
|
|
|
31
31
|
import { HostnameBindingModel } from './models/hostnameBinding';
|
|
32
32
|
import { IdentityProviderRegistryModel } from './models/identityProviderRegistry';
|
|
33
33
|
import { IndexModel } from './models/index';
|
|
34
|
+
import { ListSuspendedDatabasesRecordModel } from './models/listSuspendedDatabasesRecord';
|
|
34
35
|
import { ManagedDomainModel } from './models/managedDomain';
|
|
35
36
|
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
36
37
|
import { PageModel } from './models/page';
|
|
@@ -153,6 +154,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
153
154
|
hostnameBinding: HostnameBindingModel;
|
|
154
155
|
identityProviderRegistry: IdentityProviderRegistryModel;
|
|
155
156
|
index: IndexModel;
|
|
157
|
+
listSuspendedDatabasesRecord: ListSuspendedDatabasesRecordModel;
|
|
156
158
|
managedDomain: ManagedDomainModel;
|
|
157
159
|
nodeTypeRegistry: NodeTypeRegistryModel;
|
|
158
160
|
page: PageModel;
|
package/api/orm/index.js
CHANGED
|
@@ -54,6 +54,7 @@ const getSitePreviewsRecord_1 = require("./models/getSitePreviewsRecord");
|
|
|
54
54
|
const hostnameBinding_1 = require("./models/hostnameBinding");
|
|
55
55
|
const identityProviderRegistry_1 = require("./models/identityProviderRegistry");
|
|
56
56
|
const index_1 = require("./models/index");
|
|
57
|
+
const listSuspendedDatabasesRecord_1 = require("./models/listSuspendedDatabasesRecord");
|
|
57
58
|
const managedDomain_1 = require("./models/managedDomain");
|
|
58
59
|
const nodeTypeRegistry_1 = require("./models/nodeTypeRegistry");
|
|
59
60
|
const page_1 = require("./models/page");
|
|
@@ -184,6 +185,7 @@ function createClient(config) {
|
|
|
184
185
|
hostnameBinding: new hostnameBinding_1.HostnameBindingModel(client),
|
|
185
186
|
identityProviderRegistry: new identityProviderRegistry_1.IdentityProviderRegistryModel(client),
|
|
186
187
|
index: new index_1.IndexModel(client),
|
|
188
|
+
listSuspendedDatabasesRecord: new listSuspendedDatabasesRecord_1.ListSuspendedDatabasesRecordModel(client),
|
|
187
189
|
managedDomain: new managedDomain_1.ManagedDomainModel(client),
|
|
188
190
|
nodeTypeRegistry: new nodeTypeRegistry_1.NodeTypeRegistryModel(client),
|
|
189
191
|
page: new page_1.PageModel(client),
|