@permute/sdk 0.1.2 → 0.3.0
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/README.md +122 -2
- package/dist/client.d.ts +58 -1
- package/dist/client.js +67 -2
- package/dist/generated/openapi.d.ts +710 -6
- package/dist/generated/runtime-contract.d.ts +27 -1
- package/dist/generated/runtime-contract.js +5244 -1364
- package/dist/index.d.ts +17 -16
- package/dist/index.js +17 -16
- package/dist/types.d.ts +43 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export interface components {
|
|
|
10
10
|
sourceId?: string;
|
|
11
11
|
title?: string;
|
|
12
12
|
/** @enum {string} */
|
|
13
|
-
type: 'text' | 'table' | 'web';
|
|
13
|
+
type: 'text' | 'table' | 'web' | 'fact';
|
|
14
14
|
url?: string;
|
|
15
15
|
};
|
|
16
16
|
AnswerConfidence: {
|
|
@@ -46,7 +46,7 @@ export interface components {
|
|
|
46
46
|
sourceId?: string;
|
|
47
47
|
title?: string;
|
|
48
48
|
/** @enum {string} */
|
|
49
|
-
type: 'text' | 'table' | 'web';
|
|
49
|
+
type: 'text' | 'table' | 'web' | 'fact';
|
|
50
50
|
url?: string;
|
|
51
51
|
}[];
|
|
52
52
|
confidence?: {
|
|
@@ -86,7 +86,7 @@ export interface components {
|
|
|
86
86
|
sourceId?: string;
|
|
87
87
|
title?: string;
|
|
88
88
|
/** @enum {string} */
|
|
89
|
-
type: 'text' | 'table' | 'web';
|
|
89
|
+
type: 'text' | 'table' | 'web' | 'fact';
|
|
90
90
|
url?: string;
|
|
91
91
|
}[];
|
|
92
92
|
confidence?: {
|
|
@@ -124,6 +124,54 @@ export interface components {
|
|
|
124
124
|
name: string;
|
|
125
125
|
provider?: string;
|
|
126
126
|
};
|
|
127
|
+
/** @enum {string} */
|
|
128
|
+
ConnectorProviderId: 'acumatica' | 'attio' | 'autodesk' | 'bigquery' | 'billcom' | 'brex' | 'double' | 'fireflies' | 'googleads' | 'granola' | 'hubspot' | 'klaviyo' | 'mercury' | 'meta_ads' | 'monday' | 'procore' | 'quickbooks' | 'quo' | 's3' | 'salesforce' | 'shopify' | 'stripe' | 'supabase' | 'xero';
|
|
129
|
+
ConnectorSession: {
|
|
130
|
+
connectorId: string;
|
|
131
|
+
connectorStatus: string;
|
|
132
|
+
/** Format: date-time */
|
|
133
|
+
expiresAt: string;
|
|
134
|
+
id: string;
|
|
135
|
+
provider: string;
|
|
136
|
+
/** @enum {string} */
|
|
137
|
+
status: 'pending' | 'in_progress' | 'authorized' | 'completed' | 'expired';
|
|
138
|
+
};
|
|
139
|
+
ConnectorSessionCreated: {
|
|
140
|
+
connectorId: string;
|
|
141
|
+
connectorStatus: string;
|
|
142
|
+
/** Format: date-time */
|
|
143
|
+
expiresAt: string;
|
|
144
|
+
id: string;
|
|
145
|
+
provider: string;
|
|
146
|
+
/** @enum {string} */
|
|
147
|
+
status: 'pending' | 'in_progress' | 'authorized' | 'completed' | 'expired';
|
|
148
|
+
/** Format: uri */
|
|
149
|
+
url: string;
|
|
150
|
+
};
|
|
151
|
+
ConnectorSessionCreateRequest: {
|
|
152
|
+
config?: {
|
|
153
|
+
[key: string]: unknown;
|
|
154
|
+
};
|
|
155
|
+
connectorId?: string;
|
|
156
|
+
name?: string;
|
|
157
|
+
/** @enum {string} */
|
|
158
|
+
provider: 'acumatica' | 'attio' | 'autodesk' | 'bigquery' | 'billcom' | 'brex' | 'double' | 'fireflies' | 'googleads' | 'granola' | 'hubspot' | 'klaviyo' | 'mercury' | 'meta_ads' | 'monday' | 'procore' | 'quickbooks' | 'quo' | 's3' | 'salesforce' | 'shopify' | 'stripe' | 'supabase' | 'xero';
|
|
159
|
+
/** Format: uri */
|
|
160
|
+
returnUrl?: string;
|
|
161
|
+
} | {
|
|
162
|
+
config?: {
|
|
163
|
+
[key: string]: unknown;
|
|
164
|
+
};
|
|
165
|
+
connectorId: string;
|
|
166
|
+
name?: string;
|
|
167
|
+
/** @enum {string} */
|
|
168
|
+
provider?: 'acumatica' | 'attio' | 'autodesk' | 'bigquery' | 'billcom' | 'brex' | 'double' | 'fireflies' | 'googleads' | 'granola' | 'hubspot' | 'klaviyo' | 'mercury' | 'meta_ads' | 'monday' | 'procore' | 'quickbooks' | 'quo' | 's3' | 'salesforce' | 'shopify' | 'stripe' | 'supabase' | 'xero';
|
|
169
|
+
/** Format: uri */
|
|
170
|
+
returnUrl?: string;
|
|
171
|
+
};
|
|
172
|
+
ConnectorSessionIdParams: {
|
|
173
|
+
sessionId: string;
|
|
174
|
+
};
|
|
127
175
|
CustomDatasetResponse: {
|
|
128
176
|
context: string[];
|
|
129
177
|
/** Format: date-time */
|
|
@@ -151,6 +199,268 @@ export interface components {
|
|
|
151
199
|
status: 'pending' | 'processing' | 'completed' | 'failed';
|
|
152
200
|
};
|
|
153
201
|
};
|
|
202
|
+
DashboardIdParams: {
|
|
203
|
+
dashboardId: string;
|
|
204
|
+
};
|
|
205
|
+
DashboardSource: {
|
|
206
|
+
dashboardId: string;
|
|
207
|
+
dataRunId: string | null;
|
|
208
|
+
resourceId: string;
|
|
209
|
+
revision: {
|
|
210
|
+
revisionId: string;
|
|
211
|
+
sequence: number;
|
|
212
|
+
} | null;
|
|
213
|
+
source: string;
|
|
214
|
+
};
|
|
215
|
+
DashboardSourceUpdateRequest: {
|
|
216
|
+
expectedDataRunId: string | null;
|
|
217
|
+
expectedRevision: {
|
|
218
|
+
revisionId: string;
|
|
219
|
+
sequence: number;
|
|
220
|
+
} | null;
|
|
221
|
+
source: string;
|
|
222
|
+
};
|
|
223
|
+
Database: {
|
|
224
|
+
createdAt: string;
|
|
225
|
+
id: string;
|
|
226
|
+
key: string;
|
|
227
|
+
name: string;
|
|
228
|
+
/** @enum {string} */
|
|
229
|
+
status: 'provisioning' | 'ready' | 'deleting' | 'failed' | 'deleted';
|
|
230
|
+
updatedAt: string;
|
|
231
|
+
workspaceId: string;
|
|
232
|
+
};
|
|
233
|
+
DatabaseCreateRequest: {
|
|
234
|
+
key: string;
|
|
235
|
+
name: string;
|
|
236
|
+
};
|
|
237
|
+
DatabaseIdParams: {
|
|
238
|
+
databaseId: string;
|
|
239
|
+
};
|
|
240
|
+
DatabaseList: {
|
|
241
|
+
items: {
|
|
242
|
+
createdAt: string;
|
|
243
|
+
id: string;
|
|
244
|
+
key: string;
|
|
245
|
+
name: string;
|
|
246
|
+
/** @enum {string} */
|
|
247
|
+
status: 'provisioning' | 'ready' | 'deleting' | 'failed' | 'deleted';
|
|
248
|
+
updatedAt: string;
|
|
249
|
+
workspaceId: string;
|
|
250
|
+
}[];
|
|
251
|
+
};
|
|
252
|
+
DatabaseRecords: {
|
|
253
|
+
items: {
|
|
254
|
+
[key: string]: unknown;
|
|
255
|
+
}[];
|
|
256
|
+
};
|
|
257
|
+
DatabaseRecordsQuery: {
|
|
258
|
+
/** @default 100 */
|
|
259
|
+
limit: number;
|
|
260
|
+
/** @default 0 */
|
|
261
|
+
offset: number;
|
|
262
|
+
schema?: string;
|
|
263
|
+
};
|
|
264
|
+
DatabaseTableCreated: {
|
|
265
|
+
name: string;
|
|
266
|
+
};
|
|
267
|
+
DatabaseTableCreateRequest: {
|
|
268
|
+
columns: {
|
|
269
|
+
name: string;
|
|
270
|
+
/** @default false */
|
|
271
|
+
nullable: boolean;
|
|
272
|
+
/** @enum {string} */
|
|
273
|
+
type: 'text' | 'boolean' | 'bigint' | 'numeric' | 'uuid' | 'date' | 'timestamptz' | 'jsonb';
|
|
274
|
+
}[];
|
|
275
|
+
name: string;
|
|
276
|
+
primaryKey: string[];
|
|
277
|
+
};
|
|
278
|
+
DatabaseTableParams: {
|
|
279
|
+
databaseId: string;
|
|
280
|
+
table: string;
|
|
281
|
+
};
|
|
282
|
+
DatabaseTables: {
|
|
283
|
+
items: {
|
|
284
|
+
columns: {
|
|
285
|
+
name: string;
|
|
286
|
+
nullable: boolean;
|
|
287
|
+
type: string;
|
|
288
|
+
}[];
|
|
289
|
+
name: string;
|
|
290
|
+
primaryKey: string[];
|
|
291
|
+
schema: string;
|
|
292
|
+
}[];
|
|
293
|
+
};
|
|
294
|
+
DatabaseTransactionReceipt: {
|
|
295
|
+
requestId: string;
|
|
296
|
+
versions: string[];
|
|
297
|
+
};
|
|
298
|
+
DatabaseTransactionRequest: {
|
|
299
|
+
mutations: ({
|
|
300
|
+
table: string;
|
|
301
|
+
/** @enum {string} */
|
|
302
|
+
type: 'insert';
|
|
303
|
+
values: {
|
|
304
|
+
[key: string]: unknown;
|
|
305
|
+
};
|
|
306
|
+
} | {
|
|
307
|
+
/** Format: uuid */
|
|
308
|
+
expectedVersion: string;
|
|
309
|
+
key: {
|
|
310
|
+
[key: string]: unknown;
|
|
311
|
+
};
|
|
312
|
+
table: string;
|
|
313
|
+
/** @enum {string} */
|
|
314
|
+
type: 'update';
|
|
315
|
+
values: {
|
|
316
|
+
[key: string]: unknown;
|
|
317
|
+
};
|
|
318
|
+
} | {
|
|
319
|
+
/** Format: uuid */
|
|
320
|
+
expectedVersion: string;
|
|
321
|
+
key: {
|
|
322
|
+
[key: string]: unknown;
|
|
323
|
+
};
|
|
324
|
+
table: string;
|
|
325
|
+
/** @enum {string} */
|
|
326
|
+
type: 'delete';
|
|
327
|
+
})[];
|
|
328
|
+
requestId: string;
|
|
329
|
+
};
|
|
330
|
+
DataFlow: {
|
|
331
|
+
draftVersion: number;
|
|
332
|
+
edges: {
|
|
333
|
+
fromNodeId: string;
|
|
334
|
+
id: string;
|
|
335
|
+
toNodeId: string;
|
|
336
|
+
}[];
|
|
337
|
+
operation: {
|
|
338
|
+
codeStale: boolean;
|
|
339
|
+
dataSourceIds: string[];
|
|
340
|
+
draft: {
|
|
341
|
+
revisionId: string;
|
|
342
|
+
sequence: number;
|
|
343
|
+
} | null;
|
|
344
|
+
id: string;
|
|
345
|
+
instructions: string;
|
|
346
|
+
isEnabled: boolean;
|
|
347
|
+
kind: string;
|
|
348
|
+
name: string;
|
|
349
|
+
/** Format: date-time */
|
|
350
|
+
nextRunAt: string | null;
|
|
351
|
+
parentDataFlowId: string | null;
|
|
352
|
+
published: {
|
|
353
|
+
revisionId: string;
|
|
354
|
+
sequence: number;
|
|
355
|
+
} | null;
|
|
356
|
+
schedule: ({
|
|
357
|
+
/** @enum {string} */
|
|
358
|
+
type: 'manual';
|
|
359
|
+
} | {
|
|
360
|
+
minute: number;
|
|
361
|
+
/** @enum {string} */
|
|
362
|
+
type: 'hourly';
|
|
363
|
+
} | {
|
|
364
|
+
hour: number;
|
|
365
|
+
minute: number;
|
|
366
|
+
/** @enum {string} */
|
|
367
|
+
type: 'daily';
|
|
368
|
+
} | {
|
|
369
|
+
dayOfWeek: number;
|
|
370
|
+
hour: number;
|
|
371
|
+
minute: number;
|
|
372
|
+
/** @enum {string} */
|
|
373
|
+
type: 'weekly';
|
|
374
|
+
} | {
|
|
375
|
+
dayOfMonth: number;
|
|
376
|
+
hour: number;
|
|
377
|
+
minute: number;
|
|
378
|
+
/** @enum {string} */
|
|
379
|
+
type: 'monthly';
|
|
380
|
+
}) | (never | null);
|
|
381
|
+
status: string;
|
|
382
|
+
};
|
|
383
|
+
operationIds: string[];
|
|
384
|
+
publishedVersion: number | null;
|
|
385
|
+
revision: number;
|
|
386
|
+
sourceIds: string[];
|
|
387
|
+
};
|
|
388
|
+
DataFlowCommandRequest: {
|
|
389
|
+
command: {
|
|
390
|
+
expectedRevision: number;
|
|
391
|
+
patch: {
|
|
392
|
+
description?: string;
|
|
393
|
+
name?: string;
|
|
394
|
+
};
|
|
395
|
+
/** @enum {string} */
|
|
396
|
+
type: 'updateFlow';
|
|
397
|
+
} | {
|
|
398
|
+
expectedRevision: number;
|
|
399
|
+
input: {
|
|
400
|
+
inputIds: string[];
|
|
401
|
+
instruction: string;
|
|
402
|
+
name: string;
|
|
403
|
+
position?: {
|
|
404
|
+
x: number;
|
|
405
|
+
y: number;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
/** @enum {string} */
|
|
409
|
+
type: 'addTransform';
|
|
410
|
+
} | {
|
|
411
|
+
expectedRevision: number;
|
|
412
|
+
nodeId: string;
|
|
413
|
+
patch: {
|
|
414
|
+
instruction?: string;
|
|
415
|
+
locked?: boolean;
|
|
416
|
+
name?: string;
|
|
417
|
+
position?: {
|
|
418
|
+
x: number;
|
|
419
|
+
y: number;
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
/** @enum {string} */
|
|
423
|
+
type: 'updateNode';
|
|
424
|
+
} | {
|
|
425
|
+
expectedRevision: number;
|
|
426
|
+
nodeId: string;
|
|
427
|
+
/** @enum {string} */
|
|
428
|
+
type: 'deleteNode';
|
|
429
|
+
} | {
|
|
430
|
+
expectedRevision: number;
|
|
431
|
+
fromNodeId: string;
|
|
432
|
+
toNodeId: string;
|
|
433
|
+
/** @enum {string} */
|
|
434
|
+
type: 'connectNodes';
|
|
435
|
+
} | {
|
|
436
|
+
edgeId: string;
|
|
437
|
+
expectedRevision: number;
|
|
438
|
+
/** @enum {string} */
|
|
439
|
+
type: 'disconnectNodes';
|
|
440
|
+
} | {
|
|
441
|
+
expectedRevision: number;
|
|
442
|
+
/** @enum {string} */
|
|
443
|
+
type: 'publish';
|
|
444
|
+
} | {
|
|
445
|
+
expectedRevision: number;
|
|
446
|
+
/** @enum {string} */
|
|
447
|
+
type: 'deleteFlow';
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
DataFlowCommandResponse: {
|
|
451
|
+
dataFlowId: string;
|
|
452
|
+
deleted: boolean;
|
|
453
|
+
};
|
|
454
|
+
DataFlowCreateRequest: {
|
|
455
|
+
/** @default [] */
|
|
456
|
+
dataSourceIds: string[];
|
|
457
|
+
/** @default */
|
|
458
|
+
description: string;
|
|
459
|
+
name: string;
|
|
460
|
+
};
|
|
461
|
+
DataFlowIdParams: {
|
|
462
|
+
dataFlowId: string;
|
|
463
|
+
};
|
|
154
464
|
DatasetCreateRequest: {
|
|
155
465
|
context?: string[];
|
|
156
466
|
key: string;
|
|
@@ -324,6 +634,81 @@ export interface components {
|
|
|
324
634
|
};
|
|
325
635
|
};
|
|
326
636
|
EmptyObject: Record<string, never>;
|
|
637
|
+
Fact: {
|
|
638
|
+
aliases?: string | null;
|
|
639
|
+
createdAt: string;
|
|
640
|
+
definition?: string | null;
|
|
641
|
+
endDate?: string | null;
|
|
642
|
+
formula?: string | null;
|
|
643
|
+
/** @enum {string|null} */
|
|
644
|
+
formulaType?: 'math' | 'sql' | null;
|
|
645
|
+
id: string;
|
|
646
|
+
key: string;
|
|
647
|
+
metadata?: {
|
|
648
|
+
[key: string]: unknown;
|
|
649
|
+
} | null;
|
|
650
|
+
name: string;
|
|
651
|
+
organizationId: string;
|
|
652
|
+
ownerId: string;
|
|
653
|
+
scope?: string | null;
|
|
654
|
+
startDate?: string | null;
|
|
655
|
+
/** @enum {string} */
|
|
656
|
+
type: 'definition' | 'alias' | 'formula' | 'baseline';
|
|
657
|
+
unit?: string | null;
|
|
658
|
+
updatedAt: string;
|
|
659
|
+
usualValue?: number | null;
|
|
660
|
+
usualValueMax?: number | null;
|
|
661
|
+
usualValueMin?: number | null;
|
|
662
|
+
};
|
|
663
|
+
FactIdParams: {
|
|
664
|
+
factId: string;
|
|
665
|
+
};
|
|
666
|
+
FactList: {
|
|
667
|
+
items: {
|
|
668
|
+
aliases?: string | null;
|
|
669
|
+
createdAt: string;
|
|
670
|
+
definition?: string | null;
|
|
671
|
+
endDate?: string | null;
|
|
672
|
+
formula?: string | null;
|
|
673
|
+
/** @enum {string|null} */
|
|
674
|
+
formulaType?: 'math' | 'sql' | null;
|
|
675
|
+
id: string;
|
|
676
|
+
key: string;
|
|
677
|
+
metadata?: {
|
|
678
|
+
[key: string]: unknown;
|
|
679
|
+
} | null;
|
|
680
|
+
name: string;
|
|
681
|
+
organizationId: string;
|
|
682
|
+
ownerId: string;
|
|
683
|
+
scope?: string | null;
|
|
684
|
+
startDate?: string | null;
|
|
685
|
+
/** @enum {string} */
|
|
686
|
+
type: 'definition' | 'alias' | 'formula' | 'baseline';
|
|
687
|
+
unit?: string | null;
|
|
688
|
+
updatedAt: string;
|
|
689
|
+
usualValue?: number | null;
|
|
690
|
+
usualValueMax?: number | null;
|
|
691
|
+
usualValueMin?: number | null;
|
|
692
|
+
}[];
|
|
693
|
+
};
|
|
694
|
+
FactWriteRequest: {
|
|
695
|
+
aliases?: string | null;
|
|
696
|
+
definition?: string | null;
|
|
697
|
+
endDate?: string | null;
|
|
698
|
+
formula?: string | null;
|
|
699
|
+
/** @enum {string|null} */
|
|
700
|
+
formulaType?: 'math' | 'sql' | null;
|
|
701
|
+
metadata?: {
|
|
702
|
+
[key: string]: unknown;
|
|
703
|
+
} | null;
|
|
704
|
+
name: string;
|
|
705
|
+
scope?: string | null;
|
|
706
|
+
startDate?: string | null;
|
|
707
|
+
unit?: string | null;
|
|
708
|
+
usualValue?: number | null;
|
|
709
|
+
usualValueMax?: number | null;
|
|
710
|
+
usualValueMin?: number | null;
|
|
711
|
+
};
|
|
327
712
|
FileDatasetResponse: {
|
|
328
713
|
contentType: string;
|
|
329
714
|
/** Format: date-time */
|
|
@@ -357,6 +742,235 @@ export interface components {
|
|
|
357
742
|
url: string;
|
|
358
743
|
};
|
|
359
744
|
};
|
|
745
|
+
KnowledgeWriteResponse: {
|
|
746
|
+
message: string;
|
|
747
|
+
success: boolean;
|
|
748
|
+
};
|
|
749
|
+
Operation: {
|
|
750
|
+
codeStale: boolean;
|
|
751
|
+
dataSourceIds: string[];
|
|
752
|
+
draft: {
|
|
753
|
+
revisionId: string;
|
|
754
|
+
sequence: number;
|
|
755
|
+
} | null;
|
|
756
|
+
id: string;
|
|
757
|
+
instructions: string;
|
|
758
|
+
isEnabled: boolean;
|
|
759
|
+
kind: string;
|
|
760
|
+
name: string;
|
|
761
|
+
/** Format: date-time */
|
|
762
|
+
nextRunAt: string | null;
|
|
763
|
+
parentDataFlowId: string | null;
|
|
764
|
+
published: {
|
|
765
|
+
revisionId: string;
|
|
766
|
+
sequence: number;
|
|
767
|
+
} | null;
|
|
768
|
+
schedule: ({
|
|
769
|
+
/** @enum {string} */
|
|
770
|
+
type: 'manual';
|
|
771
|
+
} | {
|
|
772
|
+
minute: number;
|
|
773
|
+
/** @enum {string} */
|
|
774
|
+
type: 'hourly';
|
|
775
|
+
} | {
|
|
776
|
+
hour: number;
|
|
777
|
+
minute: number;
|
|
778
|
+
/** @enum {string} */
|
|
779
|
+
type: 'daily';
|
|
780
|
+
} | {
|
|
781
|
+
dayOfWeek: number;
|
|
782
|
+
hour: number;
|
|
783
|
+
minute: number;
|
|
784
|
+
/** @enum {string} */
|
|
785
|
+
type: 'weekly';
|
|
786
|
+
} | {
|
|
787
|
+
dayOfMonth: number;
|
|
788
|
+
hour: number;
|
|
789
|
+
minute: number;
|
|
790
|
+
/** @enum {string} */
|
|
791
|
+
type: 'monthly';
|
|
792
|
+
}) | (never | null);
|
|
793
|
+
status: string;
|
|
794
|
+
};
|
|
795
|
+
OperationIdParams: {
|
|
796
|
+
operationId: string;
|
|
797
|
+
};
|
|
798
|
+
OperationList: {
|
|
799
|
+
items: {
|
|
800
|
+
codeStale: boolean;
|
|
801
|
+
dataSourceIds: string[];
|
|
802
|
+
draft: {
|
|
803
|
+
revisionId: string;
|
|
804
|
+
sequence: number;
|
|
805
|
+
} | null;
|
|
806
|
+
id: string;
|
|
807
|
+
instructions: string;
|
|
808
|
+
isEnabled: boolean;
|
|
809
|
+
kind: string;
|
|
810
|
+
name: string;
|
|
811
|
+
/** Format: date-time */
|
|
812
|
+
nextRunAt: string | null;
|
|
813
|
+
parentDataFlowId: string | null;
|
|
814
|
+
published: {
|
|
815
|
+
revisionId: string;
|
|
816
|
+
sequence: number;
|
|
817
|
+
} | null;
|
|
818
|
+
schedule: ({
|
|
819
|
+
/** @enum {string} */
|
|
820
|
+
type: 'manual';
|
|
821
|
+
} | {
|
|
822
|
+
minute: number;
|
|
823
|
+
/** @enum {string} */
|
|
824
|
+
type: 'hourly';
|
|
825
|
+
} | {
|
|
826
|
+
hour: number;
|
|
827
|
+
minute: number;
|
|
828
|
+
/** @enum {string} */
|
|
829
|
+
type: 'daily';
|
|
830
|
+
} | {
|
|
831
|
+
dayOfWeek: number;
|
|
832
|
+
hour: number;
|
|
833
|
+
minute: number;
|
|
834
|
+
/** @enum {string} */
|
|
835
|
+
type: 'weekly';
|
|
836
|
+
} | {
|
|
837
|
+
dayOfMonth: number;
|
|
838
|
+
hour: number;
|
|
839
|
+
minute: number;
|
|
840
|
+
/** @enum {string} */
|
|
841
|
+
type: 'monthly';
|
|
842
|
+
}) | (never | null);
|
|
843
|
+
status: string;
|
|
844
|
+
}[];
|
|
845
|
+
};
|
|
846
|
+
OperationListQuery: {
|
|
847
|
+
dataFlowId?: string;
|
|
848
|
+
/** @enum {string} */
|
|
849
|
+
kind?: 'dataFlow' | 'dataTable' | 'report' | 'dashboard';
|
|
850
|
+
};
|
|
851
|
+
OperationRunGroup: {
|
|
852
|
+
/** Format: date-time */
|
|
853
|
+
completedAt: string | null;
|
|
854
|
+
completedRuns: number;
|
|
855
|
+
failedRuns: number;
|
|
856
|
+
items: {
|
|
857
|
+
/** Format: date-time */
|
|
858
|
+
completedAt: string | null;
|
|
859
|
+
/** Format: date-time */
|
|
860
|
+
createdAt: string;
|
|
861
|
+
error: string | null;
|
|
862
|
+
id: string;
|
|
863
|
+
operationId: string;
|
|
864
|
+
outputDocId: string | null;
|
|
865
|
+
revisionId: string | null;
|
|
866
|
+
status: string;
|
|
867
|
+
workflowId: string;
|
|
868
|
+
}[];
|
|
869
|
+
pendingRuns: number;
|
|
870
|
+
progressPct: number;
|
|
871
|
+
/** Format: date-time */
|
|
872
|
+
startedAt: string | null;
|
|
873
|
+
/** @enum {string} */
|
|
874
|
+
status: 'running' | 'completed' | 'failed';
|
|
875
|
+
totalRuns: number;
|
|
876
|
+
workflowId: string;
|
|
877
|
+
};
|
|
878
|
+
OperationRunIdParams: {
|
|
879
|
+
operationId: string;
|
|
880
|
+
runId: string;
|
|
881
|
+
};
|
|
882
|
+
OperationRunList: {
|
|
883
|
+
items: {
|
|
884
|
+
/** Format: date-time */
|
|
885
|
+
completedAt: string | null;
|
|
886
|
+
/** Format: date-time */
|
|
887
|
+
createdAt: string;
|
|
888
|
+
error: string | null;
|
|
889
|
+
id: string;
|
|
890
|
+
outputDocId: string | null;
|
|
891
|
+
revisionId: string | null;
|
|
892
|
+
status: string;
|
|
893
|
+
workflowId: string;
|
|
894
|
+
}[];
|
|
895
|
+
};
|
|
896
|
+
OperationRunOutput: {
|
|
897
|
+
names: {
|
|
898
|
+
[key: string]: string;
|
|
899
|
+
};
|
|
900
|
+
revisionId: string | null;
|
|
901
|
+
/** @enum {number} */
|
|
902
|
+
rowLimitPerTable: 1000;
|
|
903
|
+
runId: string;
|
|
904
|
+
schemas: {
|
|
905
|
+
[key: string]: unknown;
|
|
906
|
+
};
|
|
907
|
+
tables: {
|
|
908
|
+
[key: string]: unknown[];
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
OperationRunQuery: {
|
|
912
|
+
workflowId: string;
|
|
913
|
+
};
|
|
914
|
+
OperationRunRequest: {
|
|
915
|
+
/** @enum {string} */
|
|
916
|
+
version: 'draft' | 'published';
|
|
917
|
+
};
|
|
918
|
+
OperationRunStarted: {
|
|
919
|
+
runId?: string;
|
|
920
|
+
workflowId: string;
|
|
921
|
+
};
|
|
922
|
+
OperationSource: {
|
|
923
|
+
dataFlowRevision: number | null;
|
|
924
|
+
dataSourceIds: string[];
|
|
925
|
+
dependencyOperationIds: string[];
|
|
926
|
+
instructions: string;
|
|
927
|
+
operationId: string;
|
|
928
|
+
revision: {
|
|
929
|
+
revisionId: string;
|
|
930
|
+
sequence: number;
|
|
931
|
+
} | null;
|
|
932
|
+
source: string;
|
|
933
|
+
/** Format: date-time */
|
|
934
|
+
updatedAt: string;
|
|
935
|
+
};
|
|
936
|
+
OperationSourceUpdateRequest: {
|
|
937
|
+
expectedDataFlowRevision: number | null;
|
|
938
|
+
expectedRevision: {
|
|
939
|
+
revisionId: string;
|
|
940
|
+
sequence: number;
|
|
941
|
+
} | null;
|
|
942
|
+
/** Format: date-time */
|
|
943
|
+
expectedUpdatedAt: string;
|
|
944
|
+
source: string;
|
|
945
|
+
};
|
|
946
|
+
OperationUpdateRequest: {
|
|
947
|
+
isEnabled?: boolean;
|
|
948
|
+
schedule?: ({
|
|
949
|
+
/** @enum {string} */
|
|
950
|
+
type: 'manual';
|
|
951
|
+
} | {
|
|
952
|
+
minute: number;
|
|
953
|
+
/** @enum {string} */
|
|
954
|
+
type: 'hourly';
|
|
955
|
+
} | {
|
|
956
|
+
hour: number;
|
|
957
|
+
minute: number;
|
|
958
|
+
/** @enum {string} */
|
|
959
|
+
type: 'daily';
|
|
960
|
+
} | {
|
|
961
|
+
dayOfWeek: number;
|
|
962
|
+
hour: number;
|
|
963
|
+
minute: number;
|
|
964
|
+
/** @enum {string} */
|
|
965
|
+
type: 'weekly';
|
|
966
|
+
} | {
|
|
967
|
+
dayOfMonth: number;
|
|
968
|
+
hour: number;
|
|
969
|
+
minute: number;
|
|
970
|
+
/** @enum {string} */
|
|
971
|
+
type: 'monthly';
|
|
972
|
+
}) | (never | null);
|
|
973
|
+
};
|
|
360
974
|
QueryRequest: {
|
|
361
975
|
limit?: number;
|
|
362
976
|
sourceIds: string[];
|
|
@@ -377,6 +991,77 @@ export interface components {
|
|
|
377
991
|
sql: string;
|
|
378
992
|
truncated: boolean;
|
|
379
993
|
};
|
|
994
|
+
ResourceRevision: {
|
|
995
|
+
actor: {
|
|
996
|
+
id: string | null;
|
|
997
|
+
/** @enum {string} */
|
|
998
|
+
type: 'user' | 'apiKey' | 'system';
|
|
999
|
+
};
|
|
1000
|
+
/** Format: date-time */
|
|
1001
|
+
createdAt: string;
|
|
1002
|
+
dependencyRevisionIds: string[];
|
|
1003
|
+
id: string;
|
|
1004
|
+
message: string | null;
|
|
1005
|
+
parentRevisionId: string | null;
|
|
1006
|
+
resourceId: string;
|
|
1007
|
+
value: {
|
|
1008
|
+
[key: string]: unknown;
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
ResourceRevisionList: {
|
|
1012
|
+
capabilities: {
|
|
1013
|
+
history: boolean;
|
|
1014
|
+
publish: boolean;
|
|
1015
|
+
restore: boolean;
|
|
1016
|
+
};
|
|
1017
|
+
draft: {
|
|
1018
|
+
revisionId: string;
|
|
1019
|
+
sequence: number;
|
|
1020
|
+
} | null;
|
|
1021
|
+
items: {
|
|
1022
|
+
actor: {
|
|
1023
|
+
id: string | null;
|
|
1024
|
+
/** @enum {string} */
|
|
1025
|
+
type: 'user' | 'apiKey' | 'system';
|
|
1026
|
+
};
|
|
1027
|
+
/** Format: date-time */
|
|
1028
|
+
createdAt: string;
|
|
1029
|
+
dependencyRevisionIds: string[];
|
|
1030
|
+
id: string;
|
|
1031
|
+
message: string | null;
|
|
1032
|
+
parentRevisionId: string | null;
|
|
1033
|
+
}[];
|
|
1034
|
+
published: {
|
|
1035
|
+
revisionId: string;
|
|
1036
|
+
sequence: number;
|
|
1037
|
+
} | null;
|
|
1038
|
+
resourceId: string;
|
|
1039
|
+
version: string;
|
|
1040
|
+
};
|
|
1041
|
+
ResourceRevisionParams: {
|
|
1042
|
+
resourceId: string;
|
|
1043
|
+
revisionId: string;
|
|
1044
|
+
};
|
|
1045
|
+
ResourceVersionRequest: {
|
|
1046
|
+
expectedVersion: string;
|
|
1047
|
+
};
|
|
1048
|
+
ResourceVersionState: {
|
|
1049
|
+
capabilities: {
|
|
1050
|
+
history: boolean;
|
|
1051
|
+
publish: boolean;
|
|
1052
|
+
restore: boolean;
|
|
1053
|
+
};
|
|
1054
|
+
draft: {
|
|
1055
|
+
revisionId: string;
|
|
1056
|
+
sequence: number;
|
|
1057
|
+
} | null;
|
|
1058
|
+
published: {
|
|
1059
|
+
revisionId: string;
|
|
1060
|
+
sequence: number;
|
|
1061
|
+
} | null;
|
|
1062
|
+
resourceId: string;
|
|
1063
|
+
version: string;
|
|
1064
|
+
};
|
|
380
1065
|
SearchRequest: {
|
|
381
1066
|
limit?: number;
|
|
382
1067
|
query: string;
|
|
@@ -421,6 +1106,22 @@ export interface components {
|
|
|
421
1106
|
/** @enum {string} */
|
|
422
1107
|
type: 'record' | 'document' | 'table' | 'text_block' | 'unknown';
|
|
423
1108
|
};
|
|
1109
|
+
SkillContent: {
|
|
1110
|
+
content: string;
|
|
1111
|
+
};
|
|
1112
|
+
SkillList: {
|
|
1113
|
+
items: {
|
|
1114
|
+
description: string | null;
|
|
1115
|
+
file: string;
|
|
1116
|
+
lastModified: string | null;
|
|
1117
|
+
}[];
|
|
1118
|
+
};
|
|
1119
|
+
SkillPathParams: {
|
|
1120
|
+
path: string;
|
|
1121
|
+
};
|
|
1122
|
+
SkillWriteRequest: {
|
|
1123
|
+
content: string;
|
|
1124
|
+
};
|
|
424
1125
|
Source: {
|
|
425
1126
|
availability: {
|
|
426
1127
|
/** Format: date-time */
|
|
@@ -437,7 +1138,7 @@ export interface components {
|
|
|
437
1138
|
provider?: string;
|
|
438
1139
|
summary?: string | null;
|
|
439
1140
|
/** @enum {string} */
|
|
440
|
-
type: 'dataset' | 'connector' | 'report' | 'dashboard' | 'dataTable';
|
|
1141
|
+
type: 'dataset' | 'connector' | 'database' | 'report' | 'dashboard' | 'dataFlow' | 'dataTable';
|
|
441
1142
|
};
|
|
442
1143
|
SourceDetail: {
|
|
443
1144
|
metadata?: {
|
|
@@ -459,7 +1160,7 @@ export interface components {
|
|
|
459
1160
|
provider?: string;
|
|
460
1161
|
summary?: string | null;
|
|
461
1162
|
/** @enum {string} */
|
|
462
|
-
type: 'dataset' | 'connector' | 'report' | 'dashboard' | 'dataTable';
|
|
1163
|
+
type: 'dataset' | 'connector' | 'database' | 'report' | 'dashboard' | 'dataFlow' | 'dataTable';
|
|
463
1164
|
};
|
|
464
1165
|
tables: {
|
|
465
1166
|
fieldCount?: number;
|
|
@@ -496,7 +1197,7 @@ export interface components {
|
|
|
496
1197
|
provider?: string;
|
|
497
1198
|
summary?: string | null;
|
|
498
1199
|
/** @enum {string} */
|
|
499
|
-
type: 'dataset' | 'connector' | 'report' | 'dashboard' | 'dataTable';
|
|
1200
|
+
type: 'dataset' | 'connector' | 'database' | 'report' | 'dashboard' | 'dataFlow' | 'dataTable';
|
|
500
1201
|
}[];
|
|
501
1202
|
};
|
|
502
1203
|
UploadProgress: {
|
|
@@ -516,6 +1217,9 @@ export interface components {
|
|
|
516
1217
|
/** Format: uri */
|
|
517
1218
|
url: string;
|
|
518
1219
|
};
|
|
1220
|
+
VersionedResourceParams: {
|
|
1221
|
+
resourceId: string;
|
|
1222
|
+
};
|
|
519
1223
|
Workspace: {
|
|
520
1224
|
context: string;
|
|
521
1225
|
/** Format: date-time */
|