@constructive-sdk/cli 1.20.7 → 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.
Files changed (109) hide show
  1. package/agent/orm/input-types.d.ts +4 -4
  2. package/api/cli/commands/email-provider-account.js +0 -22
  3. package/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
  4. package/api/cli/commands/list-suspended-databases-record.js +152 -0
  5. package/api/cli/commands/platform-email-provider-account.js +0 -22
  6. package/api/cli/commands.js +3 -1
  7. package/api/cli/executor.d.ts +1 -0
  8. package/api/orm/index.d.ts +2 -0
  9. package/api/orm/index.js +2 -0
  10. package/api/orm/input-types.d.ts +60 -30
  11. package/api/orm/models/index.d.ts +1 -0
  12. package/api/orm/models/index.js +4 -2
  13. package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  14. package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
  15. package/auth/cli/commands/{provision-new-user.d.ts → request-magic-link.d.ts} +1 -1
  16. package/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
  17. package/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
  18. package/auth/cli/commands/send-mfa-challenge-code.js +36 -0
  19. package/{esm/auth/cli/commands/provision-new-user.d.ts → auth/cli/commands/send-sms-otp.d.ts} +1 -1
  20. package/auth/cli/commands/send-sms-otp.js +36 -0
  21. package/auth/cli/commands.js +7 -3
  22. package/auth/cli/executor.d.ts +15 -5
  23. package/auth/orm/index.d.ts +15 -5
  24. package/auth/orm/input-types.d.ts +44 -14
  25. package/auth/orm/mutation/index.d.ts +25 -9
  26. package/auth/orm/mutation/index.js +36 -12
  27. package/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
  28. package/compute/cli/commands/function-execution-logs-append.js +36 -0
  29. package/compute/cli/commands/function-schedule.d.ts +8 -0
  30. package/compute/cli/commands/function-schedule.js +434 -0
  31. package/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
  32. package/compute/cli/commands/platform-function-execution-logs-append.js +36 -0
  33. package/compute/cli/commands/platform-function-schedule.d.ts +8 -0
  34. package/compute/cli/commands/platform-function-schedule.js +414 -0
  35. package/compute/cli/commands.js +9 -1
  36. package/compute/cli/executor.d.ts +12 -0
  37. package/compute/orm/index.d.ts +14 -0
  38. package/compute/orm/index.js +4 -0
  39. package/compute/orm/input-types.d.ts +553 -4
  40. package/compute/orm/input-types.js +2 -0
  41. package/compute/orm/models/functionSchedule.d.ts +54 -0
  42. package/compute/orm/models/functionSchedule.js +104 -0
  43. package/compute/orm/models/index.d.ts +2 -0
  44. package/compute/orm/models/index.js +7 -3
  45. package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  46. package/compute/orm/models/platformFunctionSchedule.js +104 -0
  47. package/compute/orm/mutation/index.d.ts +17 -1
  48. package/compute/orm/mutation/index.js +24 -0
  49. package/esm/agent/orm/input-types.d.ts +4 -4
  50. package/esm/api/cli/commands/email-provider-account.js +0 -22
  51. package/esm/api/cli/commands/list-suspended-databases-record.d.ts +8 -0
  52. package/esm/api/cli/commands/list-suspended-databases-record.js +150 -0
  53. package/esm/api/cli/commands/platform-email-provider-account.js +0 -22
  54. package/esm/api/cli/commands.js +3 -1
  55. package/esm/api/cli/executor.d.ts +1 -0
  56. package/esm/api/orm/index.d.ts +2 -0
  57. package/esm/api/orm/index.js +2 -0
  58. package/esm/api/orm/input-types.d.ts +60 -30
  59. package/esm/api/orm/models/index.d.ts +1 -0
  60. package/esm/api/orm/models/index.js +1 -0
  61. package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  62. package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
  63. package/esm/auth/cli/commands/request-magic-link.d.ts +8 -0
  64. package/esm/auth/cli/commands/{provision-new-user.js → request-magic-link.js} +3 -3
  65. package/esm/auth/cli/commands/send-mfa-challenge-code.d.ts +8 -0
  66. package/esm/auth/cli/commands/send-mfa-challenge-code.js +34 -0
  67. package/esm/auth/cli/commands/send-sms-otp.d.ts +8 -0
  68. package/esm/auth/cli/commands/send-sms-otp.js +34 -0
  69. package/esm/auth/cli/commands.js +7 -3
  70. package/esm/auth/cli/executor.d.ts +15 -5
  71. package/esm/auth/orm/index.d.ts +15 -5
  72. package/esm/auth/orm/input-types.d.ts +44 -14
  73. package/esm/auth/orm/mutation/index.d.ts +25 -9
  74. package/esm/auth/orm/mutation/index.js +36 -12
  75. package/esm/compute/cli/commands/function-execution-logs-append.d.ts +8 -0
  76. package/esm/compute/cli/commands/function-execution-logs-append.js +34 -0
  77. package/esm/compute/cli/commands/function-schedule.d.ts +8 -0
  78. package/esm/compute/cli/commands/function-schedule.js +432 -0
  79. package/esm/compute/cli/commands/platform-function-execution-logs-append.d.ts +8 -0
  80. package/esm/compute/cli/commands/platform-function-execution-logs-append.js +34 -0
  81. package/esm/compute/cli/commands/platform-function-schedule.d.ts +8 -0
  82. package/esm/compute/cli/commands/platform-function-schedule.js +412 -0
  83. package/esm/compute/cli/commands.js +9 -1
  84. package/esm/compute/cli/executor.d.ts +12 -0
  85. package/esm/compute/orm/index.d.ts +14 -0
  86. package/esm/compute/orm/index.js +4 -0
  87. package/esm/compute/orm/input-types.d.ts +553 -4
  88. package/esm/compute/orm/input-types.js +2 -0
  89. package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
  90. package/esm/compute/orm/models/functionSchedule.js +100 -0
  91. package/esm/compute/orm/models/index.d.ts +2 -0
  92. package/esm/compute/orm/models/index.js +2 -0
  93. package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  94. package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
  95. package/esm/compute/orm/mutation/index.d.ts +17 -1
  96. package/esm/compute/orm/mutation/index.js +24 -0
  97. package/esm/modules/cli/commands/billing-provider-module.js +66 -0
  98. package/esm/modules/cli/commands/entity-type-provision.js +0 -88
  99. package/esm/modules/cli/commands/plans-module.js +0 -22
  100. package/esm/modules/orm/input-types.d.ts +26 -48
  101. package/esm/remote/cli/commands/machine.js +22 -0
  102. package/esm/remote/orm/input-types.d.ts +13 -1
  103. package/modules/cli/commands/billing-provider-module.js +66 -0
  104. package/modules/cli/commands/entity-type-provision.js +0 -88
  105. package/modules/cli/commands/plans-module.js +0 -22
  106. package/modules/orm/input-types.d.ts +26 -48
  107. package/package.json +2 -2
  108. package/remote/cli/commands/machine.js +22 -0
  109. package/remote/orm/input-types.d.ts +13 -1
@@ -0,0 +1,412 @@
1
+ /**
2
+ * CLI commands for PlatformFunctionSchedule
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { extractFirst } from 'inquirerer';
7
+ import { getClient } from '../executor';
8
+ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
9
+ const fieldSchema = {
10
+ actorId: 'uuid',
11
+ createdAt: 'string',
12
+ description: 'string',
13
+ functionDefinitionId: 'uuid',
14
+ id: 'uuid',
15
+ isActive: 'boolean',
16
+ name: 'string',
17
+ payload: 'json',
18
+ scheduleInfo: 'json',
19
+ suspendedAt: 'string',
20
+ suspendedReason: 'string',
21
+ updatedAt: 'string',
22
+ };
23
+ const usage = '\nplatform-function-schedule <command>\n\nCommands:\n list List platformFunctionSchedule records\n find-first Find first matching platformFunctionSchedule record\n get Get a platformFunctionSchedule by ID\n create Create a new platformFunctionSchedule\n update Update an existing platformFunctionSchedule\n delete Delete a platformFunctionSchedule\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';
24
+ export default async (argv, prompter, _options) => {
25
+ if (argv.help || argv.h) {
26
+ console.log(usage);
27
+ process.exit(0);
28
+ }
29
+ const { first: subcommand, newArgv } = extractFirst(argv);
30
+ if (!subcommand) {
31
+ const answer = await prompter.prompt(argv, [
32
+ {
33
+ type: 'autocomplete',
34
+ name: 'subcommand',
35
+ message: 'What do you want to do?',
36
+ options: ['list', 'find-first', 'get', 'create', 'update', 'delete'],
37
+ },
38
+ ]);
39
+ return handleTableSubcommand(answer.subcommand, newArgv, prompter);
40
+ }
41
+ return handleTableSubcommand(subcommand, newArgv, prompter);
42
+ };
43
+ async function handleTableSubcommand(subcommand, argv, prompter) {
44
+ switch (subcommand) {
45
+ case 'list':
46
+ return handleList(argv, prompter);
47
+ case 'find-first':
48
+ return handleFindFirst(argv, prompter);
49
+ case 'get':
50
+ return handleGet(argv, prompter);
51
+ case 'create':
52
+ return handleCreate(argv, prompter);
53
+ case 'update':
54
+ return handleUpdate(argv, prompter);
55
+ case 'delete':
56
+ return handleDelete(argv, prompter);
57
+ default:
58
+ console.log(usage);
59
+ process.exit(1);
60
+ }
61
+ }
62
+ async function handleList(argv, _prompter) {
63
+ try {
64
+ const defaultSelect = {
65
+ actorId: true,
66
+ createdAt: true,
67
+ description: true,
68
+ functionDefinitionId: true,
69
+ id: true,
70
+ isActive: true,
71
+ name: true,
72
+ payload: true,
73
+ scheduleInfo: true,
74
+ suspendedAt: true,
75
+ suspendedReason: true,
76
+ updatedAt: true,
77
+ };
78
+ const findManyArgs = parseFindManyArgs(argv, defaultSelect);
79
+ const client = getClient();
80
+ const result = await client.platformFunctionSchedule.findMany(findManyArgs).execute();
81
+ console.log(JSON.stringify(result, null, 2));
82
+ }
83
+ catch (error) {
84
+ console.error('Failed to list records.');
85
+ if (error instanceof Error) {
86
+ console.error(error.message);
87
+ }
88
+ process.exit(1);
89
+ }
90
+ }
91
+ async function handleFindFirst(argv, _prompter) {
92
+ try {
93
+ const defaultSelect = {
94
+ actorId: true,
95
+ createdAt: true,
96
+ description: true,
97
+ functionDefinitionId: true,
98
+ id: true,
99
+ isActive: true,
100
+ name: true,
101
+ payload: true,
102
+ scheduleInfo: true,
103
+ suspendedAt: true,
104
+ suspendedReason: true,
105
+ updatedAt: true,
106
+ };
107
+ const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
108
+ const client = getClient();
109
+ const result = await client.platformFunctionSchedule.findFirst(findFirstArgs).execute();
110
+ console.log(JSON.stringify(result, null, 2));
111
+ }
112
+ catch (error) {
113
+ console.error('Failed to find record.');
114
+ if (error instanceof Error) {
115
+ console.error(error.message);
116
+ }
117
+ process.exit(1);
118
+ }
119
+ }
120
+ async function handleGet(argv, prompter) {
121
+ try {
122
+ const answers = await prompter.prompt(argv, [
123
+ {
124
+ type: 'text',
125
+ name: 'id',
126
+ message: 'id',
127
+ required: true,
128
+ },
129
+ ]);
130
+ const client = getClient();
131
+ const result = await client.platformFunctionSchedule
132
+ .findOne({
133
+ id: answers.id,
134
+ select: {
135
+ actorId: true,
136
+ createdAt: true,
137
+ description: true,
138
+ functionDefinitionId: true,
139
+ id: true,
140
+ isActive: true,
141
+ name: true,
142
+ payload: true,
143
+ scheduleInfo: true,
144
+ suspendedAt: true,
145
+ suspendedReason: true,
146
+ updatedAt: true,
147
+ },
148
+ })
149
+ .execute();
150
+ console.log(JSON.stringify(result, null, 2));
151
+ }
152
+ catch (error) {
153
+ console.error('Record not found.');
154
+ if (error instanceof Error) {
155
+ console.error(error.message);
156
+ }
157
+ process.exit(1);
158
+ }
159
+ }
160
+ async function handleCreate(argv, prompter) {
161
+ try {
162
+ const rawAnswers = await prompter.prompt(argv, [
163
+ {
164
+ type: 'text',
165
+ name: 'actorId',
166
+ message: 'actorId',
167
+ required: false,
168
+ skipPrompt: true,
169
+ },
170
+ {
171
+ type: 'text',
172
+ name: 'description',
173
+ message: 'description',
174
+ required: false,
175
+ skipPrompt: true,
176
+ },
177
+ {
178
+ type: 'text',
179
+ name: 'functionDefinitionId',
180
+ message: 'functionDefinitionId',
181
+ required: true,
182
+ },
183
+ {
184
+ type: 'boolean',
185
+ name: 'isActive',
186
+ message: 'isActive',
187
+ required: false,
188
+ skipPrompt: true,
189
+ },
190
+ {
191
+ type: 'text',
192
+ name: 'name',
193
+ message: 'name',
194
+ required: true,
195
+ },
196
+ {
197
+ type: 'json',
198
+ name: 'payload',
199
+ message: 'payload',
200
+ required: false,
201
+ skipPrompt: true,
202
+ },
203
+ {
204
+ type: 'json',
205
+ name: 'scheduleInfo',
206
+ message: 'scheduleInfo',
207
+ required: true,
208
+ },
209
+ {
210
+ type: 'text',
211
+ name: 'suspendedAt',
212
+ message: 'suspendedAt',
213
+ required: false,
214
+ skipPrompt: true,
215
+ },
216
+ {
217
+ type: 'text',
218
+ name: 'suspendedReason',
219
+ message: 'suspendedReason',
220
+ required: false,
221
+ skipPrompt: true,
222
+ },
223
+ ]);
224
+ const answers = coerceAnswers(rawAnswers, fieldSchema);
225
+ const cleanedData = stripUndefined(answers, fieldSchema);
226
+ const client = getClient();
227
+ const result = await client.platformFunctionSchedule
228
+ .create({
229
+ data: {
230
+ actorId: cleanedData.actorId,
231
+ description: cleanedData.description,
232
+ functionDefinitionId: cleanedData.functionDefinitionId,
233
+ isActive: cleanedData.isActive,
234
+ name: cleanedData.name,
235
+ payload: cleanedData.payload,
236
+ scheduleInfo: cleanedData.scheduleInfo,
237
+ suspendedAt: cleanedData.suspendedAt,
238
+ suspendedReason: cleanedData.suspendedReason,
239
+ },
240
+ select: {
241
+ actorId: true,
242
+ createdAt: true,
243
+ description: true,
244
+ functionDefinitionId: true,
245
+ id: true,
246
+ isActive: true,
247
+ name: true,
248
+ payload: true,
249
+ scheduleInfo: true,
250
+ suspendedAt: true,
251
+ suspendedReason: true,
252
+ updatedAt: true,
253
+ },
254
+ })
255
+ .execute();
256
+ console.log(JSON.stringify(result, null, 2));
257
+ }
258
+ catch (error) {
259
+ console.error('Failed to create record.');
260
+ if (error instanceof Error) {
261
+ console.error(error.message);
262
+ }
263
+ process.exit(1);
264
+ }
265
+ }
266
+ async function handleUpdate(argv, prompter) {
267
+ try {
268
+ const rawAnswers = await prompter.prompt(argv, [
269
+ {
270
+ type: 'text',
271
+ name: 'id',
272
+ message: 'id',
273
+ required: true,
274
+ },
275
+ {
276
+ type: 'text',
277
+ name: 'actorId',
278
+ message: 'actorId',
279
+ required: false,
280
+ skipPrompt: true,
281
+ },
282
+ {
283
+ type: 'text',
284
+ name: 'description',
285
+ message: 'description',
286
+ required: false,
287
+ skipPrompt: true,
288
+ },
289
+ {
290
+ type: 'text',
291
+ name: 'functionDefinitionId',
292
+ message: 'functionDefinitionId',
293
+ required: false,
294
+ },
295
+ {
296
+ type: 'boolean',
297
+ name: 'isActive',
298
+ message: 'isActive',
299
+ required: false,
300
+ skipPrompt: true,
301
+ },
302
+ {
303
+ type: 'text',
304
+ name: 'name',
305
+ message: 'name',
306
+ required: false,
307
+ },
308
+ {
309
+ type: 'json',
310
+ name: 'payload',
311
+ message: 'payload',
312
+ required: false,
313
+ skipPrompt: true,
314
+ },
315
+ {
316
+ type: 'json',
317
+ name: 'scheduleInfo',
318
+ message: 'scheduleInfo',
319
+ required: false,
320
+ },
321
+ {
322
+ type: 'text',
323
+ name: 'suspendedAt',
324
+ message: 'suspendedAt',
325
+ required: false,
326
+ skipPrompt: true,
327
+ },
328
+ {
329
+ type: 'text',
330
+ name: 'suspendedReason',
331
+ message: 'suspendedReason',
332
+ required: false,
333
+ skipPrompt: true,
334
+ },
335
+ ]);
336
+ const answers = coerceAnswers(rawAnswers, fieldSchema);
337
+ const cleanedData = stripUndefined(answers, fieldSchema);
338
+ const client = getClient();
339
+ const result = await client.platformFunctionSchedule
340
+ .update({
341
+ where: {
342
+ id: answers.id,
343
+ },
344
+ data: {
345
+ actorId: cleanedData.actorId,
346
+ description: cleanedData.description,
347
+ functionDefinitionId: cleanedData.functionDefinitionId,
348
+ isActive: cleanedData.isActive,
349
+ name: cleanedData.name,
350
+ payload: cleanedData.payload,
351
+ scheduleInfo: cleanedData.scheduleInfo,
352
+ suspendedAt: cleanedData.suspendedAt,
353
+ suspendedReason: cleanedData.suspendedReason,
354
+ },
355
+ select: {
356
+ actorId: true,
357
+ createdAt: true,
358
+ description: true,
359
+ functionDefinitionId: true,
360
+ id: true,
361
+ isActive: true,
362
+ name: true,
363
+ payload: true,
364
+ scheduleInfo: true,
365
+ suspendedAt: true,
366
+ suspendedReason: true,
367
+ updatedAt: true,
368
+ },
369
+ })
370
+ .execute();
371
+ console.log(JSON.stringify(result, null, 2));
372
+ }
373
+ catch (error) {
374
+ console.error('Failed to update record.');
375
+ if (error instanceof Error) {
376
+ console.error(error.message);
377
+ }
378
+ process.exit(1);
379
+ }
380
+ }
381
+ async function handleDelete(argv, prompter) {
382
+ try {
383
+ const rawAnswers = await prompter.prompt(argv, [
384
+ {
385
+ type: 'text',
386
+ name: 'id',
387
+ message: 'id',
388
+ required: true,
389
+ },
390
+ ]);
391
+ const answers = coerceAnswers(rawAnswers, fieldSchema);
392
+ const client = getClient();
393
+ const result = await client.platformFunctionSchedule
394
+ .delete({
395
+ where: {
396
+ id: answers.id,
397
+ },
398
+ select: {
399
+ id: true,
400
+ },
401
+ })
402
+ .execute();
403
+ console.log(JSON.stringify(result, null, 2));
404
+ }
405
+ catch (error) {
406
+ console.error('Failed to delete record.');
407
+ if (error instanceof Error) {
408
+ console.error(error.message);
409
+ }
410
+ process.exit(1);
411
+ }
412
+ }
@@ -36,6 +36,7 @@ import functionGraphRefCmd from './commands/function-graph-ref';
36
36
  import functionGraphStoreCmd from './commands/function-graph-store';
37
37
  import functionInvocationAttemptCmd from './commands/function-invocation-attempt';
38
38
  import functionInvocationCmd from './commands/function-invocation';
39
+ import functionScheduleCmd from './commands/function-schedule';
39
40
  import getAllTreeNodesRecordCmd from './commands/get-all-tree-nodes-record';
40
41
  import imageCmd from './commands/image';
41
42
  import imageGrantCmd from './commands/image-grant';
@@ -58,6 +59,7 @@ import platformFunctionDeploymentEventCmd from './commands/platform-function-dep
58
59
  import platformFunctionExecutionLogCmd from './commands/platform-function-execution-log';
59
60
  import platformFunctionInvocationAttemptCmd from './commands/platform-function-invocation-attempt';
60
61
  import platformFunctionInvocationCmd from './commands/platform-function-invocation';
62
+ import platformFunctionScheduleCmd from './commands/platform-function-schedule';
61
63
  import platformImageCmd from './commands/platform-image';
62
64
  import platformImageGrantCmd from './commands/platform-image-grant';
63
65
  import platformInfraCommitCmd from './commands/platform-infra-commit';
@@ -151,6 +153,7 @@ import databaseImportGraphJsonCmd from './commands/database-import-graph-json';
151
153
  import databaseSaveGraphCmd from './commands/database-save-graph';
152
154
  import databaseStartExecutionCmd from './commands/database-start-execution';
153
155
  import databaseValidateFunctionGraphCmd from './commands/database-validate-function-graph';
156
+ import functionExecutionLogsAppendCmd from './commands/function-execution-logs-append';
154
157
  import functionInvocationsCreateSyncCmd from './commands/function-invocations-create-sync';
155
158
  import importDefinitionsCmd from './commands/import-definitions';
156
159
  import importGraphJsonCmd from './commands/import-graph-json';
@@ -163,6 +166,7 @@ import infraSetManyAndCommitCmd from './commands/infra-set-many-and-commit';
163
166
  import initEmptyRepoCmd from './commands/init-empty-repo';
164
167
  import insertNodeAtPathCmd from './commands/insert-node-at-path';
165
168
  import insertNodesAtPathsCmd from './commands/insert-nodes-at-paths';
169
+ import platformFunctionExecutionLogsAppendCmd from './commands/platform-function-execution-logs-append';
166
170
  import platformFunctionInvocationsCreateSyncCmd from './commands/platform-function-invocations-create-sync';
167
171
  import platformInfraInitEmptyRepoCmd from './commands/platform-infra-init-empty-repo';
168
172
  import platformInfraInsertNodeAtPathCmd from './commands/platform-infra-insert-node-at-path';
@@ -218,6 +222,7 @@ const createCommandMap = () => ({
218
222
  'function-graph-store': functionGraphStoreCmd,
219
223
  'function-invocation-attempt': functionInvocationAttemptCmd,
220
224
  'function-invocation': functionInvocationCmd,
225
+ 'function-schedule': functionScheduleCmd,
221
226
  'get-all-tree-nodes-record': getAllTreeNodesRecordCmd,
222
227
  image: imageCmd,
223
228
  'image-grant': imageGrantCmd,
@@ -240,6 +245,7 @@ const createCommandMap = () => ({
240
245
  'platform-function-execution-log': platformFunctionExecutionLogCmd,
241
246
  'platform-function-invocation-attempt': platformFunctionInvocationAttemptCmd,
242
247
  'platform-function-invocation': platformFunctionInvocationCmd,
248
+ 'platform-function-schedule': platformFunctionScheduleCmd,
243
249
  'platform-image': platformImageCmd,
244
250
  'platform-image-grant': platformImageGrantCmd,
245
251
  'platform-infra-commit': platformInfraCommitCmd,
@@ -333,6 +339,7 @@ const createCommandMap = () => ({
333
339
  'database-save-graph': databaseSaveGraphCmd,
334
340
  'database-start-execution': databaseStartExecutionCmd,
335
341
  'database-validate-function-graph': databaseValidateFunctionGraphCmd,
342
+ 'function-execution-logs-append': functionExecutionLogsAppendCmd,
336
343
  'function-invocations-create-sync': functionInvocationsCreateSyncCmd,
337
344
  'import-definitions': importDefinitionsCmd,
338
345
  'import-graph-json': importGraphJsonCmd,
@@ -345,6 +352,7 @@ const createCommandMap = () => ({
345
352
  'init-empty-repo': initEmptyRepoCmd,
346
353
  'insert-node-at-path': insertNodeAtPathCmd,
347
354
  'insert-nodes-at-paths': insertNodesAtPathsCmd,
355
+ 'platform-function-execution-logs-append': platformFunctionExecutionLogsAppendCmd,
348
356
  'platform-function-invocations-create-sync': platformFunctionInvocationsCreateSyncCmd,
349
357
  'platform-infra-init-empty-repo': platformInfraInitEmptyRepoCmd,
350
358
  'platform-infra-insert-node-at-path': platformInfraInsertNodeAtPathCmd,
@@ -368,7 +376,7 @@ const createCommandMap = () => ({
368
376
  'start-execution': startExecutionCmd,
369
377
  'validate-function-graph': validateFunctionGraphCmd,
370
378
  });
371
- const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n build build CRUD operations\n build-step buildStep CRUD operations\n builder-binding builderBinding CRUD operations\n content-preset contentPreset CRUD operations\n database-function-graph databaseFunctionGraph CRUD operations\n database-function-graph-execution databaseFunctionGraphExecution CRUD operations\n database-function-graph-execution-node-state databaseFunctionGraphExecutionNodeState CRUD operations\n database-function-graph-execution-output databaseFunctionGraphExecutionOutput CRUD operations\n database-graph-commit databaseGraphCommit CRUD operations\n database-graph-get-all-tree-nodes-record databaseGraphGetAllTreeNodesRecord CRUD operations\n database-graph-object databaseGraphObject CRUD operations\n database-graph-ref databaseGraphRef CRUD operations\n database-graph-store databaseGraphStore CRUD operations\n db-preset dbPreset CRUD operations\n function-api-binding functionApiBinding CRUD operations\n function-capability-binding functionCapabilityBinding CRUD operations\n function-definition functionDefinition CRUD operations\n function-deployment functionDeployment CRUD operations\n function-deployment-event functionDeploymentEvent CRUD operations\n function-execution-log functionExecutionLog CRUD operations\n function-graph-commit functionGraphCommit CRUD operations\n function-graph functionGraph CRUD operations\n function-graph-execution functionGraphExecution CRUD operations\n function-graph-execution-node-state functionGraphExecutionNodeState CRUD operations\n function-graph-execution-output functionGraphExecutionOutput CRUD operations\n function-graph-object functionGraphObject CRUD operations\n function-graph-ref functionGraphRef CRUD operations\n function-graph-store functionGraphStore CRUD operations\n function-invocation-attempt functionInvocationAttempt CRUD operations\n function-invocation functionInvocation CRUD operations\n get-all-tree-nodes-record getAllTreeNodesRecord CRUD operations\n image image CRUD operations\n image-grant imageGrant CRUD operations\n infra-commit infraCommit CRUD operations\n infra-get-all-tree-nodes-record infraGetAllTreeNodesRecord CRUD operations\n infra-object infraObject CRUD operations\n infra-ref infraRef CRUD operations\n infra-store infraStore CRUD operations\n integration-provider integrationProvider CRUD operations\n namespace namespace CRUD operations\n namespace-event namespaceEvent CRUD operations\n platform-build platformBuild CRUD operations\n platform-build-step platformBuildStep CRUD operations\n platform-builder-binding platformBuilderBinding CRUD operations\n platform-function-api-binding platformFunctionApiBinding CRUD operations\n platform-function-capability-binding platformFunctionCapabilityBinding CRUD operations\n platform-function-definition platformFunctionDefinition CRUD operations\n platform-function-deployment platformFunctionDeployment CRUD operations\n platform-function-deployment-event platformFunctionDeploymentEvent CRUD operations\n platform-function-execution-log platformFunctionExecutionLog CRUD operations\n platform-function-invocation-attempt platformFunctionInvocationAttempt CRUD operations\n platform-function-invocation platformFunctionInvocation CRUD operations\n platform-image platformImage CRUD operations\n platform-image-grant platformImageGrant CRUD operations\n platform-infra-commit platformInfraCommit CRUD operations\n platform-infra-get-all-tree-nodes-record platformInfraGetAllTreeNodesRecord CRUD operations\n platform-infra-object platformInfraObject CRUD operations\n platform-infra-ref platformInfraRef CRUD operations\n platform-infra-store platformInfraStore CRUD operations\n platform-k-8-s-resource-kind platformK8sResourceKind CRUD operations\n platform-k-8-s-spec-rule platformK8sSpecRule CRUD operations\n platform-namespace platformNamespace CRUD operations\n platform-namespace-event platformNamespaceEvent CRUD operations\n platform-proposal-comment platformProposalComment CRUD operations\n platform-proposal platformProposal CRUD operations\n platform-proposal-file-view platformProposalFileView CRUD operations\n platform-proposal-reaction platformProposalReaction CRUD operations\n platform-proposal-review platformProposalReview CRUD operations\n platform-proposals-chunk platformProposalsChunk CRUD operations\n platform-registry-binding platformRegistryBinding CRUD operations\n platform-registry platformRegistry CRUD operations\n platform-registry-grant platformRegistryGrant CRUD operations\n platform-repository platformRepository CRUD operations\n platform-repository-event platformRepositoryEvent CRUD operations\n platform-repository-required-check platformRepositoryRequiredCheck CRUD operations\n platform-repository-workflow platformRepositoryWorkflow CRUD operations\n platform-resource platformResource CRUD operations\n platform-resource-declared-capacity platformResourceDeclaredCapacity CRUD operations\n platform-resource-definition platformResourceDefinition CRUD operations\n platform-resource-event platformResourceEvent CRUD operations\n platform-resource-installation platformResourceInstallation CRUD operations\n platform-resource-observed-storage platformResourceObservedStorage CRUD operations\n platform-resource-status-check platformResourceStatusCheck CRUD operations\n platform-resource-usage-log platformResourceUsageLog CRUD operations\n platform-resource-usage-summary platformResourceUsageSummary CRUD operations\n platform-resource-utilization platformResourceUtilization CRUD operations\n platform-resources-health platformResourcesHealth CRUD operations\n platform-resources-requirements-state platformResourcesRequirementsState CRUD operations\n platform-resources-resolved-requirement platformResourcesResolvedRequirement CRUD operations\n platform-webhook-endpoint platformWebhookEndpoint CRUD operations\n platform-webhook-event platformWebhookEvent CRUD operations\n proposal-comment proposalComment CRUD operations\n proposal proposal CRUD operations\n proposal-file-view proposalFileView CRUD operations\n proposal-reaction proposalReaction CRUD operations\n proposal-review proposalReview CRUD operations\n proposals-chunk proposalsChunk CRUD operations\n registry-binding registryBinding CRUD operations\n registry registry CRUD operations\n registry-grant registryGrant CRUD operations\n repository repository CRUD operations\n repository-event repositoryEvent CRUD operations\n repository-required-check repositoryRequiredCheck CRUD operations\n repository-workflow repositoryWorkflow CRUD operations\n resource resource CRUD operations\n resource-declared-capacity resourceDeclaredCapacity CRUD operations\n resource-definition resourceDefinition CRUD operations\n resource-event resourceEvent CRUD operations\n resource-installation resourceInstallation CRUD operations\n resource-observed-storage resourceObservedStorage CRUD operations\n resource-status-check resourceStatusCheck CRUD operations\n resource-usage-log resourceUsageLog CRUD operations\n resource-usage-summary resourceUsageSummary CRUD operations\n resource-utilization resourceUtilization CRUD operations\n resources-health resourcesHealth CRUD operations\n resources-requirements-state resourcesRequirementsState CRUD operations\n resources-resolved-requirement resourcesResolvedRequirement CRUD operations\n webhook-endpoint webhookEndpoint CRUD operations\n webhook-event webhookEvent CRUD operations\n database-read-function-graph databaseReadFunctionGraph\n read-function-graph readFunctionGraph\n add-edge addEdge\n add-edge-and-save addEdgeAndSave\n add-node addNode\n add-node-and-save addNodeAndSave\n approve-node approveNode\n copy-graph copyGraph\n database-add-edge databaseAddEdge\n database-add-edge-and-save databaseAddEdgeAndSave\n database-add-node databaseAddNode\n database-add-node-and-save databaseAddNodeAndSave\n database-approve-node databaseApproveNode\n database-copy-graph databaseCopyGraph\n database-create-function-graph databaseCreateFunctionGraph\n database-graph-init-empty-repo databaseGraphInitEmptyRepo\n database-graph-insert-node-at-path databaseGraphInsertNodeAtPath\n database-graph-insert-nodes-at-paths databaseGraphInsertNodesAtPaths\n database-graph-set-and-commit databaseGraphSetAndCommit\n database-graph-set-data-at-path databaseGraphSetDataAtPath\n database-graph-set-many-and-commit databaseGraphSetManyAndCommit\n database-import-definitions databaseImportDefinitions\n database-import-graph-json databaseImportGraphJson\n database-save-graph databaseSaveGraph\n database-start-execution databaseStartExecution\n database-validate-function-graph databaseValidateFunctionGraph\n function-invocations-create-sync functionInvocationsCreateSync\n import-definitions importDefinitions\n import-graph-json importGraphJson\n infra-init-empty-repo infraInitEmptyRepo\n infra-insert-node-at-path infraInsertNodeAtPath\n infra-insert-nodes-at-paths infraInsertNodesAtPaths\n infra-set-and-commit infraSetAndCommit\n infra-set-data-at-path infraSetDataAtPath\n infra-set-many-and-commit infraSetManyAndCommit\n init-empty-repo initEmptyRepo\n insert-node-at-path insertNodeAtPath\n insert-nodes-at-paths insertNodesAtPaths\n platform-function-invocations-create-sync platformFunctionInvocationsCreateSync\n platform-infra-init-empty-repo platformInfraInitEmptyRepo\n platform-infra-insert-node-at-path platformInfraInsertNodeAtPath\n platform-infra-insert-nodes-at-paths platformInfraInsertNodesAtPaths\n platform-infra-set-and-commit platformInfraSetAndCommit\n platform-infra-set-data-at-path platformInfraSetDataAtPath\n platform-infra-set-many-and-commit platformInfraSetManyAndCommit\n platform-resource-installations-install platformResourceInstallationsInstall\n platform-resource-installations-rollback platformResourceInstallationsRollback\n platform-resource-installations-uninstall platformResourceInstallationsUninstall\n platform-resource-installations-upgrade platformResourceInstallationsUpgrade\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 resource-installations-install resourceInstallationsInstall\n resource-installations-rollback resourceInstallationsRollback\n resource-installations-uninstall resourceInstallationsUninstall\n resource-installations-upgrade resourceInstallationsUpgrade\n save-graph saveGraph\n set-and-commit setAndCommit\n set-data-at-path setDataAtPath\n set-many-and-commit setManyAndCommit\n start-execution startExecution\n validate-function-graph validateFunctionGraph\n\n --help, -h Show this help message\n --version, -v Show version\n';
379
+ const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n build build CRUD operations\n build-step buildStep CRUD operations\n builder-binding builderBinding CRUD operations\n content-preset contentPreset CRUD operations\n database-function-graph databaseFunctionGraph CRUD operations\n database-function-graph-execution databaseFunctionGraphExecution CRUD operations\n database-function-graph-execution-node-state databaseFunctionGraphExecutionNodeState CRUD operations\n database-function-graph-execution-output databaseFunctionGraphExecutionOutput CRUD operations\n database-graph-commit databaseGraphCommit CRUD operations\n database-graph-get-all-tree-nodes-record databaseGraphGetAllTreeNodesRecord CRUD operations\n database-graph-object databaseGraphObject CRUD operations\n database-graph-ref databaseGraphRef CRUD operations\n database-graph-store databaseGraphStore CRUD operations\n db-preset dbPreset CRUD operations\n function-api-binding functionApiBinding CRUD operations\n function-capability-binding functionCapabilityBinding CRUD operations\n function-definition functionDefinition CRUD operations\n function-deployment functionDeployment CRUD operations\n function-deployment-event functionDeploymentEvent CRUD operations\n function-execution-log functionExecutionLog CRUD operations\n function-graph-commit functionGraphCommit CRUD operations\n function-graph functionGraph CRUD operations\n function-graph-execution functionGraphExecution CRUD operations\n function-graph-execution-node-state functionGraphExecutionNodeState CRUD operations\n function-graph-execution-output functionGraphExecutionOutput CRUD operations\n function-graph-object functionGraphObject CRUD operations\n function-graph-ref functionGraphRef CRUD operations\n function-graph-store functionGraphStore CRUD operations\n function-invocation-attempt functionInvocationAttempt CRUD operations\n function-invocation functionInvocation CRUD operations\n function-schedule functionSchedule CRUD operations\n get-all-tree-nodes-record getAllTreeNodesRecord CRUD operations\n image image CRUD operations\n image-grant imageGrant CRUD operations\n infra-commit infraCommit CRUD operations\n infra-get-all-tree-nodes-record infraGetAllTreeNodesRecord CRUD operations\n infra-object infraObject CRUD operations\n infra-ref infraRef CRUD operations\n infra-store infraStore CRUD operations\n integration-provider integrationProvider CRUD operations\n namespace namespace CRUD operations\n namespace-event namespaceEvent CRUD operations\n platform-build platformBuild CRUD operations\n platform-build-step platformBuildStep CRUD operations\n platform-builder-binding platformBuilderBinding CRUD operations\n platform-function-api-binding platformFunctionApiBinding CRUD operations\n platform-function-capability-binding platformFunctionCapabilityBinding CRUD operations\n platform-function-definition platformFunctionDefinition CRUD operations\n platform-function-deployment platformFunctionDeployment CRUD operations\n platform-function-deployment-event platformFunctionDeploymentEvent CRUD operations\n platform-function-execution-log platformFunctionExecutionLog CRUD operations\n platform-function-invocation-attempt platformFunctionInvocationAttempt CRUD operations\n platform-function-invocation platformFunctionInvocation CRUD operations\n platform-function-schedule platformFunctionSchedule CRUD operations\n platform-image platformImage CRUD operations\n platform-image-grant platformImageGrant CRUD operations\n platform-infra-commit platformInfraCommit CRUD operations\n platform-infra-get-all-tree-nodes-record platformInfraGetAllTreeNodesRecord CRUD operations\n platform-infra-object platformInfraObject CRUD operations\n platform-infra-ref platformInfraRef CRUD operations\n platform-infra-store platformInfraStore CRUD operations\n platform-k-8-s-resource-kind platformK8sResourceKind CRUD operations\n platform-k-8-s-spec-rule platformK8sSpecRule CRUD operations\n platform-namespace platformNamespace CRUD operations\n platform-namespace-event platformNamespaceEvent CRUD operations\n platform-proposal-comment platformProposalComment CRUD operations\n platform-proposal platformProposal CRUD operations\n platform-proposal-file-view platformProposalFileView CRUD operations\n platform-proposal-reaction platformProposalReaction CRUD operations\n platform-proposal-review platformProposalReview CRUD operations\n platform-proposals-chunk platformProposalsChunk CRUD operations\n platform-registry-binding platformRegistryBinding CRUD operations\n platform-registry platformRegistry CRUD operations\n platform-registry-grant platformRegistryGrant CRUD operations\n platform-repository platformRepository CRUD operations\n platform-repository-event platformRepositoryEvent CRUD operations\n platform-repository-required-check platformRepositoryRequiredCheck CRUD operations\n platform-repository-workflow platformRepositoryWorkflow CRUD operations\n platform-resource platformResource CRUD operations\n platform-resource-declared-capacity platformResourceDeclaredCapacity CRUD operations\n platform-resource-definition platformResourceDefinition CRUD operations\n platform-resource-event platformResourceEvent CRUD operations\n platform-resource-installation platformResourceInstallation CRUD operations\n platform-resource-observed-storage platformResourceObservedStorage CRUD operations\n platform-resource-status-check platformResourceStatusCheck CRUD operations\n platform-resource-usage-log platformResourceUsageLog CRUD operations\n platform-resource-usage-summary platformResourceUsageSummary CRUD operations\n platform-resource-utilization platformResourceUtilization CRUD operations\n platform-resources-health platformResourcesHealth CRUD operations\n platform-resources-requirements-state platformResourcesRequirementsState CRUD operations\n platform-resources-resolved-requirement platformResourcesResolvedRequirement CRUD operations\n platform-webhook-endpoint platformWebhookEndpoint CRUD operations\n platform-webhook-event platformWebhookEvent CRUD operations\n proposal-comment proposalComment CRUD operations\n proposal proposal CRUD operations\n proposal-file-view proposalFileView CRUD operations\n proposal-reaction proposalReaction CRUD operations\n proposal-review proposalReview CRUD operations\n proposals-chunk proposalsChunk CRUD operations\n registry-binding registryBinding CRUD operations\n registry registry CRUD operations\n registry-grant registryGrant CRUD operations\n repository repository CRUD operations\n repository-event repositoryEvent CRUD operations\n repository-required-check repositoryRequiredCheck CRUD operations\n repository-workflow repositoryWorkflow CRUD operations\n resource resource CRUD operations\n resource-declared-capacity resourceDeclaredCapacity CRUD operations\n resource-definition resourceDefinition CRUD operations\n resource-event resourceEvent CRUD operations\n resource-installation resourceInstallation CRUD operations\n resource-observed-storage resourceObservedStorage CRUD operations\n resource-status-check resourceStatusCheck CRUD operations\n resource-usage-log resourceUsageLog CRUD operations\n resource-usage-summary resourceUsageSummary CRUD operations\n resource-utilization resourceUtilization CRUD operations\n resources-health resourcesHealth CRUD operations\n resources-requirements-state resourcesRequirementsState CRUD operations\n resources-resolved-requirement resourcesResolvedRequirement CRUD operations\n webhook-endpoint webhookEndpoint CRUD operations\n webhook-event webhookEvent CRUD operations\n database-read-function-graph databaseReadFunctionGraph\n read-function-graph readFunctionGraph\n add-edge addEdge\n add-edge-and-save addEdgeAndSave\n add-node addNode\n add-node-and-save addNodeAndSave\n approve-node approveNode\n copy-graph copyGraph\n database-add-edge databaseAddEdge\n database-add-edge-and-save databaseAddEdgeAndSave\n database-add-node databaseAddNode\n database-add-node-and-save databaseAddNodeAndSave\n database-approve-node databaseApproveNode\n database-copy-graph databaseCopyGraph\n database-create-function-graph databaseCreateFunctionGraph\n database-graph-init-empty-repo databaseGraphInitEmptyRepo\n database-graph-insert-node-at-path databaseGraphInsertNodeAtPath\n database-graph-insert-nodes-at-paths databaseGraphInsertNodesAtPaths\n database-graph-set-and-commit databaseGraphSetAndCommit\n database-graph-set-data-at-path databaseGraphSetDataAtPath\n database-graph-set-many-and-commit databaseGraphSetManyAndCommit\n database-import-definitions databaseImportDefinitions\n database-import-graph-json databaseImportGraphJson\n database-save-graph databaseSaveGraph\n database-start-execution databaseStartExecution\n database-validate-function-graph databaseValidateFunctionGraph\n function-execution-logs-append functionExecutionLogsAppend\n function-invocations-create-sync functionInvocationsCreateSync\n import-definitions importDefinitions\n import-graph-json importGraphJson\n infra-init-empty-repo infraInitEmptyRepo\n infra-insert-node-at-path infraInsertNodeAtPath\n infra-insert-nodes-at-paths infraInsertNodesAtPaths\n infra-set-and-commit infraSetAndCommit\n infra-set-data-at-path infraSetDataAtPath\n infra-set-many-and-commit infraSetManyAndCommit\n init-empty-repo initEmptyRepo\n insert-node-at-path insertNodeAtPath\n insert-nodes-at-paths insertNodesAtPaths\n platform-function-execution-logs-append platformFunctionExecutionLogsAppend\n platform-function-invocations-create-sync platformFunctionInvocationsCreateSync\n platform-infra-init-empty-repo platformInfraInitEmptyRepo\n platform-infra-insert-node-at-path platformInfraInsertNodeAtPath\n platform-infra-insert-nodes-at-paths platformInfraInsertNodesAtPaths\n platform-infra-set-and-commit platformInfraSetAndCommit\n platform-infra-set-data-at-path platformInfraSetDataAtPath\n platform-infra-set-many-and-commit platformInfraSetManyAndCommit\n platform-resource-installations-install platformResourceInstallationsInstall\n platform-resource-installations-rollback platformResourceInstallationsRollback\n platform-resource-installations-uninstall platformResourceInstallationsUninstall\n platform-resource-installations-upgrade platformResourceInstallationsUpgrade\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 resource-installations-install resourceInstallationsInstall\n resource-installations-rollback resourceInstallationsRollback\n resource-installations-uninstall resourceInstallationsUninstall\n resource-installations-upgrade resourceInstallationsUpgrade\n save-graph saveGraph\n set-and-commit setAndCommit\n set-data-at-path setDataAtPath\n set-many-and-commit setManyAndCommit\n start-execution startExecution\n validate-function-graph validateFunctionGraph\n\n --help, -h Show this help message\n --version, -v Show version\n';
372
380
  export const commands = async (argv, prompter, options) => {
373
381
  if (argv.help || argv.h) {
374
382
  console.log(usage);
@@ -30,6 +30,7 @@ export declare function getClient(contextName?: string): {
30
30
  functionGraphStore: import("..").FunctionGraphStoreModel;
31
31
  functionInvocationAttempt: import("..").FunctionInvocationAttemptModel;
32
32
  functionInvocation: import("..").FunctionInvocationModel;
33
+ functionSchedule: import("..").FunctionScheduleModel;
33
34
  getAllTreeNodesRecord: import("..").GetAllTreeNodesRecordModel;
34
35
  image: import("..").ImageModel;
35
36
  imageGrant: import("..").ImageGrantModel;
@@ -52,6 +53,7 @@ export declare function getClient(contextName?: string): {
52
53
  platformFunctionExecutionLog: import("..").PlatformFunctionExecutionLogModel;
53
54
  platformFunctionInvocationAttempt: import("..").PlatformFunctionInvocationAttemptModel;
54
55
  platformFunctionInvocation: import("..").PlatformFunctionInvocationModel;
56
+ platformFunctionSchedule: import("..").PlatformFunctionScheduleModel;
55
57
  platformImage: import("..").PlatformImageModel;
56
58
  platformImageGrant: import("..").PlatformImageGrantModel;
57
59
  platformInfraCommit: import("..").PlatformInfraCommitModel;
@@ -252,6 +254,11 @@ export declare function getClient(contextName?: string): {
252
254
  } & import("..").StrictSelect<S, import("../orm/input-types").DatabaseValidateFunctionGraphPayloadSelect>) => import("..").QueryBuilder<{
253
255
  databaseValidateFunctionGraph: import("..").InferSelectResult<import("../orm/input-types").DatabaseValidateFunctionGraphPayload, S> | null;
254
256
  }>;
257
+ functionExecutionLogsAppend: <S extends import("../orm/input-types").FunctionExecutionLogsAppendPayloadSelect>(args: import("../orm/mutation").FunctionExecutionLogsAppendVariables, options: {
258
+ select: S;
259
+ } & import("..").StrictSelect<S, import("../orm/input-types").FunctionExecutionLogsAppendPayloadSelect>) => import("..").QueryBuilder<{
260
+ functionExecutionLogsAppend: import("..").InferSelectResult<import("../orm/input-types").FunctionExecutionLogsAppendPayload, S> | null;
261
+ }>;
255
262
  functionInvocationsCreateSync: <S extends import("../orm/input-types").FunctionInvocationsCreateSyncPayloadSelect>(args: import("../orm/mutation").FunctionInvocationsCreateSyncVariables, options: {
256
263
  select: S;
257
264
  } & import("..").StrictSelect<S, import("../orm/input-types").FunctionInvocationsCreateSyncPayloadSelect>) => import("..").QueryBuilder<{
@@ -312,6 +319,11 @@ export declare function getClient(contextName?: string): {
312
319
  } & import("..").StrictSelect<S, import("../orm/input-types").InsertNodesAtPathsPayloadSelect>) => import("..").QueryBuilder<{
313
320
  insertNodesAtPaths: import("..").InferSelectResult<import("../orm/input-types").InsertNodesAtPathsPayload, S> | null;
314
321
  }>;
322
+ platformFunctionExecutionLogsAppend: <S extends import("../orm/input-types").PlatformFunctionExecutionLogsAppendPayloadSelect>(args: import("../orm/mutation").PlatformFunctionExecutionLogsAppendVariables, options: {
323
+ select: S;
324
+ } & import("..").StrictSelect<S, import("../orm/input-types").PlatformFunctionExecutionLogsAppendPayloadSelect>) => import("..").QueryBuilder<{
325
+ platformFunctionExecutionLogsAppend: import("..").InferSelectResult<import("../orm/input-types").PlatformFunctionExecutionLogsAppendPayload, S> | null;
326
+ }>;
315
327
  platformFunctionInvocationsCreateSync: <S extends import("../orm/input-types").PlatformFunctionInvocationsCreateSyncPayloadSelect>(args: import("../orm/mutation").PlatformFunctionInvocationsCreateSyncVariables, options: {
316
328
  select: S;
317
329
  } & import("..").StrictSelect<S, import("../orm/input-types").PlatformFunctionInvocationsCreateSyncPayloadSelect>) => import("..").QueryBuilder<{
@@ -29,6 +29,7 @@ import { FunctionGraphRefModel } from './models/functionGraphRef';
29
29
  import { FunctionGraphStoreModel } from './models/functionGraphStore';
30
30
  import { FunctionInvocationAttemptModel } from './models/functionInvocationAttempt';
31
31
  import { FunctionInvocationModel } from './models/functionInvocation';
32
+ import { FunctionScheduleModel } from './models/functionSchedule';
32
33
  import { GetAllTreeNodesRecordModel } from './models/getAllTreeNodesRecord';
33
34
  import { ImageModel } from './models/image';
34
35
  import { ImageGrantModel } from './models/imageGrant';
@@ -51,6 +52,7 @@ import { PlatformFunctionDeploymentEventModel } from './models/platformFunctionD
51
52
  import { PlatformFunctionExecutionLogModel } from './models/platformFunctionExecutionLog';
52
53
  import { PlatformFunctionInvocationAttemptModel } from './models/platformFunctionInvocationAttempt';
53
54
  import { PlatformFunctionInvocationModel } from './models/platformFunctionInvocation';
55
+ import { PlatformFunctionScheduleModel } from './models/platformFunctionSchedule';
54
56
  import { PlatformImageModel } from './models/platformImage';
55
57
  import { PlatformImageGrantModel } from './models/platformImageGrant';
56
58
  import { PlatformInfraCommitModel } from './models/platformInfraCommit';
@@ -179,6 +181,7 @@ export declare function createClient(config: OrmClientConfig): {
179
181
  functionGraphStore: FunctionGraphStoreModel;
180
182
  functionInvocationAttempt: FunctionInvocationAttemptModel;
181
183
  functionInvocation: FunctionInvocationModel;
184
+ functionSchedule: FunctionScheduleModel;
182
185
  getAllTreeNodesRecord: GetAllTreeNodesRecordModel;
183
186
  image: ImageModel;
184
187
  imageGrant: ImageGrantModel;
@@ -201,6 +204,7 @@ export declare function createClient(config: OrmClientConfig): {
201
204
  platformFunctionExecutionLog: PlatformFunctionExecutionLogModel;
202
205
  platformFunctionInvocationAttempt: PlatformFunctionInvocationAttemptModel;
203
206
  platformFunctionInvocation: PlatformFunctionInvocationModel;
207
+ platformFunctionSchedule: PlatformFunctionScheduleModel;
204
208
  platformImage: PlatformImageModel;
205
209
  platformImageGrant: PlatformImageGrantModel;
206
210
  platformInfraCommit: PlatformInfraCommitModel;
@@ -401,6 +405,11 @@ export declare function createClient(config: OrmClientConfig): {
401
405
  } & import("./select-types").StrictSelect<S, import("./input-types").DatabaseValidateFunctionGraphPayloadSelect>) => import("./query-builder").QueryBuilder<{
402
406
  databaseValidateFunctionGraph: import("./select-types").InferSelectResult<import("./input-types").DatabaseValidateFunctionGraphPayload, S> | null;
403
407
  }>;
408
+ functionExecutionLogsAppend: <S extends import("./input-types").FunctionExecutionLogsAppendPayloadSelect>(args: import("./mutation").FunctionExecutionLogsAppendVariables, options: {
409
+ select: S;
410
+ } & import("./select-types").StrictSelect<S, import("./input-types").FunctionExecutionLogsAppendPayloadSelect>) => import("./query-builder").QueryBuilder<{
411
+ functionExecutionLogsAppend: import("./select-types").InferSelectResult<import("./input-types").FunctionExecutionLogsAppendPayload, S> | null;
412
+ }>;
404
413
  functionInvocationsCreateSync: <S extends import("./input-types").FunctionInvocationsCreateSyncPayloadSelect>(args: import("./mutation").FunctionInvocationsCreateSyncVariables, options: {
405
414
  select: S;
406
415
  } & import("./select-types").StrictSelect<S, import("./input-types").FunctionInvocationsCreateSyncPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -461,6 +470,11 @@ export declare function createClient(config: OrmClientConfig): {
461
470
  } & import("./select-types").StrictSelect<S, import("./input-types").InsertNodesAtPathsPayloadSelect>) => import("./query-builder").QueryBuilder<{
462
471
  insertNodesAtPaths: import("./select-types").InferSelectResult<import("./input-types").InsertNodesAtPathsPayload, S> | null;
463
472
  }>;
473
+ platformFunctionExecutionLogsAppend: <S extends import("./input-types").PlatformFunctionExecutionLogsAppendPayloadSelect>(args: import("./mutation").PlatformFunctionExecutionLogsAppendVariables, options: {
474
+ select: S;
475
+ } & import("./select-types").StrictSelect<S, import("./input-types").PlatformFunctionExecutionLogsAppendPayloadSelect>) => import("./query-builder").QueryBuilder<{
476
+ platformFunctionExecutionLogsAppend: import("./select-types").InferSelectResult<import("./input-types").PlatformFunctionExecutionLogsAppendPayload, S> | null;
477
+ }>;
464
478
  platformFunctionInvocationsCreateSync: <S extends import("./input-types").PlatformFunctionInvocationsCreateSyncPayloadSelect>(args: import("./mutation").PlatformFunctionInvocationsCreateSyncVariables, options: {
465
479
  select: S;
466
480
  } & import("./select-types").StrictSelect<S, import("./input-types").PlatformFunctionInvocationsCreateSyncPayloadSelect>) => import("./query-builder").QueryBuilder<{
@@ -34,6 +34,7 @@ import { FunctionGraphRefModel } from './models/functionGraphRef';
34
34
  import { FunctionGraphStoreModel } from './models/functionGraphStore';
35
35
  import { FunctionInvocationAttemptModel } from './models/functionInvocationAttempt';
36
36
  import { FunctionInvocationModel } from './models/functionInvocation';
37
+ import { FunctionScheduleModel } from './models/functionSchedule';
37
38
  import { GetAllTreeNodesRecordModel } from './models/getAllTreeNodesRecord';
38
39
  import { ImageModel } from './models/image';
39
40
  import { ImageGrantModel } from './models/imageGrant';
@@ -56,6 +57,7 @@ import { PlatformFunctionDeploymentEventModel } from './models/platformFunctionD
56
57
  import { PlatformFunctionExecutionLogModel } from './models/platformFunctionExecutionLog';
57
58
  import { PlatformFunctionInvocationAttemptModel } from './models/platformFunctionInvocationAttempt';
58
59
  import { PlatformFunctionInvocationModel } from './models/platformFunctionInvocation';
60
+ import { PlatformFunctionScheduleModel } from './models/platformFunctionSchedule';
59
61
  import { PlatformImageModel } from './models/platformImage';
60
62
  import { PlatformImageGrantModel } from './models/platformImageGrant';
61
63
  import { PlatformInfraCommitModel } from './models/platformInfraCommit';
@@ -187,6 +189,7 @@ export function createClient(config) {
187
189
  functionGraphStore: new FunctionGraphStoreModel(client),
188
190
  functionInvocationAttempt: new FunctionInvocationAttemptModel(client),
189
191
  functionInvocation: new FunctionInvocationModel(client),
192
+ functionSchedule: new FunctionScheduleModel(client),
190
193
  getAllTreeNodesRecord: new GetAllTreeNodesRecordModel(client),
191
194
  image: new ImageModel(client),
192
195
  imageGrant: new ImageGrantModel(client),
@@ -209,6 +212,7 @@ export function createClient(config) {
209
212
  platformFunctionExecutionLog: new PlatformFunctionExecutionLogModel(client),
210
213
  platformFunctionInvocationAttempt: new PlatformFunctionInvocationAttemptModel(client),
211
214
  platformFunctionInvocation: new PlatformFunctionInvocationModel(client),
215
+ platformFunctionSchedule: new PlatformFunctionScheduleModel(client),
212
216
  platformImage: new PlatformImageModel(client),
213
217
  platformImageGrant: new PlatformImageGrantModel(client),
214
218
  platformInfraCommit: new PlatformInfraCommitModel(client),