@keboola/api-fixtures 22.0.0 → 26.0.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/dist/index.d.ts CHANGED
@@ -1,637 +1,212 @@
1
- import * as _keboola_api_client_apps_types from '@keboola/api-client/apps/types';
2
- import { App, Deployment, AppRun } from '@keboola/api-client/apps/types';
3
- import * as _keboola_api_client_storage_types from '@keboola/api-client/storage/types';
4
- import { TableDetail } from '@keboola/api-client/storage/types';
5
- export { Table, TableDetail } from '@keboola/api-client/storage/types';
6
-
7
- declare const fixtures: {
8
- storage: {
9
- tables: {
10
- getTable: () => _keboola_api_client_storage_types.TableDetail;
11
- listTables: () => _keboola_api_client_storage_types.TableDetail[];
12
- fixtures: {
13
- fresh: {
14
- id: string;
15
- name: string;
16
- displayName: string;
17
- primaryKey: string[];
18
- metadata: never[];
19
- columns: string[];
20
- columnMetadata: {};
21
- attributes: never[];
22
- bucket: {
23
- id: string;
24
- name: string;
25
- displayName: string;
26
- stage: "in";
27
- description: string;
28
- created: string;
29
- lastChangeDate: string;
30
- isMaintenance: boolean;
31
- isReadOnly: boolean;
32
- isSnowflakeSharedDatabase: boolean;
33
- hasExternalSchema: boolean;
34
- rowsCount: number;
35
- dataSizeBytes: number;
36
- uri: string;
37
- backend: "snowflake";
38
- backendPath: never[];
39
- databaseName: null;
40
- color: null;
41
- idBranch: number;
42
- owner: null;
43
- sharing: null;
44
- path: string;
45
- tables: string;
46
- updated: string;
47
- };
48
- isTyped: false;
49
- isAlias: false;
50
- };
51
- recentlyUpdated: {
52
- id: string;
53
- name: string;
54
- displayName: string;
55
- primaryKey: string[];
56
- metadata: {
57
- id: string;
58
- key: string;
59
- value: string;
60
- provider: string;
61
- timestamp: string;
62
- }[];
63
- columns: string[];
64
- columnMetadata: {
65
- order_id: {
66
- id: string;
67
- key: string;
68
- value: string;
69
- provider: string;
70
- timestamp: string;
71
- }[];
72
- };
73
- attributes: never[];
74
- bucket: {
75
- id: string;
76
- name: string;
77
- displayName: string;
78
- stage: "in";
79
- description: string;
80
- created: string;
81
- lastChangeDate: string;
82
- isMaintenance: boolean;
83
- isReadOnly: boolean;
84
- isSnowflakeSharedDatabase: boolean;
85
- hasExternalSchema: boolean;
86
- rowsCount: number;
87
- dataSizeBytes: number;
88
- uri: string;
89
- backend: "snowflake";
90
- backendPath: never[];
91
- databaseName: null;
92
- color: null;
93
- idBranch: number;
94
- owner: null;
95
- sharing: null;
96
- path: string;
97
- tables: string;
98
- updated: string;
99
- };
100
- isTyped: false;
101
- isAlias: false;
102
- };
103
- large: {
104
- id: string;
105
- name: string;
106
- displayName: string;
107
- primaryKey: never[];
108
- metadata: never[];
109
- columns: string[];
110
- columnMetadata: {};
111
- attributes: never[];
112
- bucket: {
113
- id: string;
114
- name: string;
115
- displayName: string;
116
- stage: "in";
117
- description: string;
118
- created: string;
119
- lastChangeDate: string;
120
- isMaintenance: boolean;
121
- isReadOnly: boolean;
122
- isSnowflakeSharedDatabase: boolean;
123
- hasExternalSchema: boolean;
124
- rowsCount: number;
125
- dataSizeBytes: number;
126
- uri: string;
127
- backend: "snowflake";
128
- backendPath: never[];
129
- databaseName: null;
130
- color: null;
131
- idBranch: number;
132
- owner: null;
133
- sharing: null;
134
- path: string;
135
- tables: string;
136
- updated: string;
137
- };
138
- isTyped: false;
139
- isAlias: false;
140
- };
141
- };
142
- };
1
+ import { App, AppRun, Deployment } from "@keboola/api-client/apps/types";
2
+ import { AdminVendor, App as App$1, AppChange, ServiceAccount, User, Vendor, VendorListItem } from "@keboola/api-client/developerPortal/types";
3
+ import { Table, TableDetail } from "@keboola/api-client/storage/types";
4
+ //#region src/clients/apps/apps.d.ts
5
+ declare const appFixtures: {
6
+ neverDeployed: {
7
+ id: string;
8
+ projectId: string;
9
+ componentId: string;
10
+ branchId: string;
11
+ configId: string;
12
+ type: 'streamlit';
13
+ mode: 'prod';
14
+ url: string;
15
+ configVersion: string;
16
+ production: {
17
+ desiredNumber: null;
18
+ desiredId: null;
19
+ actualNumber: null;
20
+ actualId: null;
143
21
  };
144
- apps: {
145
- apps: {
146
- getApp: () => _keboola_api_client_apps_types.App;
147
- listApps: () => _keboola_api_client_apps_types.App[];
148
- fixtures: {
149
- neverDeployed: {
150
- configVersion: string;
151
- production: {
152
- desiredNumber: null;
153
- desiredId: null;
154
- actualNumber: null;
155
- actualId: null;
156
- };
157
- undeployedChanges: false;
158
- state: "NOT_DEPLOYED";
159
- id: string;
160
- projectId: string;
161
- componentId: string;
162
- branchId: string;
163
- configId: string;
164
- type: "streamlit";
165
- mode: "prod";
166
- url: string;
167
- };
168
- legacyV1Serving: {
169
- id: string;
170
- projectId: string;
171
- componentId: string;
172
- branchId: string;
173
- configId: string;
174
- configVersion: string;
175
- type: "streamlit";
176
- mode: "dev";
177
- url: string;
178
- production: {
179
- desiredNumber: null;
180
- desiredId: null;
181
- actualNumber: null;
182
- actualId: null;
183
- };
184
- undeployedChanges: false;
185
- state: "NOT_DEPLOYED";
186
- };
187
- running: {
188
- configVersion: string;
189
- production: {
190
- desiredNumber: number;
191
- desiredId: string;
192
- actualNumber: number;
193
- actualId: string;
194
- };
195
- undeployedChanges: false;
196
- state: "RUNNING";
197
- id: string;
198
- projectId: string;
199
- componentId: string;
200
- branchId: string;
201
- configId: string;
202
- type: "streamlit";
203
- mode: "prod";
204
- url: string;
205
- };
206
- undeployedChanges: {
207
- configVersion: string;
208
- production: {
209
- desiredNumber: number;
210
- desiredId: string;
211
- actualNumber: number;
212
- actualId: string;
213
- };
214
- undeployedChanges: true;
215
- state: "RUNNING";
216
- id: string;
217
- projectId: string;
218
- componentId: string;
219
- branchId: string;
220
- configId: string;
221
- type: "streamlit";
222
- mode: "prod";
223
- url: string;
224
- };
225
- promoting: {
226
- configVersion: string;
227
- production: {
228
- desiredNumber: number;
229
- desiredId: string;
230
- actualNumber: number;
231
- actualId: string;
232
- };
233
- undeployedChanges: true;
234
- state: "RUNNING";
235
- id: string;
236
- projectId: string;
237
- componentId: string;
238
- branchId: string;
239
- configId: string;
240
- type: "streamlit";
241
- mode: "prod";
242
- url: string;
243
- };
244
- sleeping: {
245
- configVersion: string;
246
- production: {
247
- desiredNumber: number;
248
- desiredId: string;
249
- actualNumber: number;
250
- actualId: string;
251
- };
252
- undeployedChanges: false;
253
- state: "SLEEPING";
254
- id: string;
255
- projectId: string;
256
- componentId: string;
257
- branchId: string;
258
- configId: string;
259
- type: "streamlit";
260
- mode: "prod";
261
- url: string;
262
- };
263
- suspended: {
264
- configVersion: string;
265
- production: {
266
- desiredNumber: number;
267
- desiredId: string;
268
- actualNumber: number;
269
- actualId: string;
270
- };
271
- undeployedChanges: false;
272
- state: "SUSPENDED";
273
- id: string;
274
- projectId: string;
275
- componentId: string;
276
- branchId: string;
277
- configId: string;
278
- type: "streamlit";
279
- mode: "prod";
280
- url: string;
281
- };
282
- };
283
- };
284
- deployments: {
285
- getDeployment: () => _keboola_api_client_apps_types.Deployment;
286
- listDeployments: () => _keboola_api_client_apps_types.Deployment[];
287
- fixtures: {
288
- archived: {
289
- id: string;
290
- number: number;
291
- configId: string;
292
- configVersion: string;
293
- gitCommitSha: null;
294
- size: "tiny";
295
- buildState: "PREBUILT";
296
- runState: "STOPPED";
297
- archived: true;
298
- archivedAt: string;
299
- createdAt: string;
300
- };
301
- live: {
302
- id: string;
303
- number: number;
304
- configId: string;
305
- configVersion: string;
306
- gitCommitSha: null;
307
- size: "small";
308
- buildState: "PREBUILT";
309
- runState: "RUNNING";
310
- archived: false;
311
- archivedAt: null;
312
- createdAt: string;
313
- };
314
- staged: {
315
- id: string;
316
- number: number;
317
- configId: string;
318
- configVersion: string;
319
- gitCommitSha: null;
320
- size: "small";
321
- buildState: "PREBUILT";
322
- runState: "NEVER_RUN";
323
- archived: false;
324
- archivedAt: null;
325
- createdAt: string;
326
- };
327
- buildFailed: {
328
- id: string;
329
- number: number;
330
- configId: string;
331
- configVersion: string;
332
- gitCommitSha: null;
333
- size: "small";
334
- buildState: "FAILED";
335
- runState: "NEVER_RUN";
336
- archived: false;
337
- archivedAt: null;
338
- createdAt: string;
339
- };
340
- runFailed: {
341
- id: string;
342
- number: number;
343
- configId: string;
344
- configVersion: string;
345
- gitCommitSha: null;
346
- size: "small";
347
- buildState: "PREBUILT";
348
- runState: "FAILED";
349
- archived: false;
350
- archivedAt: null;
351
- createdAt: string;
352
- };
353
- };
354
- };
355
- runs: {
356
- getAppRun: () => _keboola_api_client_apps_types.AppRun;
357
- listAppRuns: () => _keboola_api_client_apps_types.AppRun[];
358
- fixtures: {
359
- running: {
360
- id: string;
361
- deploymentId: string;
362
- configVersion: string;
363
- state: "running";
364
- createdAt: string;
365
- startedAt: string;
366
- stoppedAt: null;
367
- startupLogs: null;
368
- failureReason: null;
369
- appId: string;
370
- runtimeSize: string;
371
- runtimeBackendType: string;
372
- imageVersion: string;
373
- mode: string;
374
- };
375
- finished: {
376
- id: string;
377
- deploymentId: string;
378
- configVersion: string;
379
- state: "finished";
380
- createdAt: string;
381
- startedAt: string;
382
- stoppedAt: string;
383
- startupLogs: null;
384
- failureReason: null;
385
- appId: string;
386
- runtimeSize: string;
387
- runtimeBackendType: string;
388
- imageVersion: string;
389
- mode: string;
390
- };
391
- failed: {
392
- id: string;
393
- deploymentId: string;
394
- configVersion: string;
395
- state: "failed";
396
- createdAt: string;
397
- startedAt: null;
398
- stoppedAt: string;
399
- startupLogs: string;
400
- failureReason: {
401
- reason: string;
402
- message: string;
403
- };
404
- appId: string;
405
- runtimeSize: string;
406
- runtimeBackendType: string;
407
- imageVersion: string;
408
- mode: string;
409
- };
410
- legacy: {
411
- id: string;
412
- deploymentId: null;
413
- configVersion: string;
414
- state: "running";
415
- createdAt: string;
416
- startedAt: string;
417
- stoppedAt: null;
418
- startupLogs: null;
419
- failureReason: null;
420
- appId: string;
421
- runtimeSize: string;
422
- runtimeBackendType: string;
423
- imageVersion: string;
424
- mode: string;
425
- };
426
- };
427
- };
22
+ undeployedChanges: false;
23
+ state: 'NOT_DEPLOYED';
24
+ };
25
+ legacyV1Serving: {
26
+ id: string;
27
+ projectId: string;
28
+ componentId: string;
29
+ branchId: string;
30
+ configId: string;
31
+ configVersion: string;
32
+ type: 'streamlit';
33
+ mode: 'dev';
34
+ url: string;
35
+ production: {
36
+ desiredNumber: null;
37
+ desiredId: null;
38
+ actualNumber: null;
39
+ actualId: null;
428
40
  };
429
- };
430
-
431
- declare const appFixtures: {
432
- neverDeployed: {
433
- configVersion: string;
434
- production: {
435
- desiredNumber: null;
436
- desiredId: null;
437
- actualNumber: null;
438
- actualId: null;
439
- };
440
- undeployedChanges: false;
441
- state: "NOT_DEPLOYED";
442
- id: string;
443
- projectId: string;
444
- componentId: string;
445
- branchId: string;
446
- configId: string;
447
- type: "streamlit";
448
- mode: "prod";
449
- url: string;
450
- };
451
- legacyV1Serving: {
452
- id: string;
453
- projectId: string;
454
- componentId: string;
455
- branchId: string;
456
- configId: string;
457
- configVersion: string;
458
- type: "streamlit";
459
- mode: "dev";
460
- url: string;
461
- production: {
462
- desiredNumber: null;
463
- desiredId: null;
464
- actualNumber: null;
465
- actualId: null;
466
- };
467
- undeployedChanges: false;
468
- state: "NOT_DEPLOYED";
41
+ undeployedChanges: false;
42
+ state: 'NOT_DEPLOYED';
43
+ };
44
+ running: {
45
+ id: string;
46
+ projectId: string;
47
+ componentId: string;
48
+ branchId: string;
49
+ configId: string;
50
+ type: 'streamlit';
51
+ mode: 'prod';
52
+ url: string;
53
+ configVersion: string;
54
+ production: {
55
+ desiredNumber: number;
56
+ desiredId: string;
57
+ actualNumber: number;
58
+ actualId: string;
469
59
  };
470
- running: {
471
- configVersion: string;
472
- production: {
473
- desiredNumber: number;
474
- desiredId: string;
475
- actualNumber: number;
476
- actualId: string;
477
- };
478
- undeployedChanges: false;
479
- state: "RUNNING";
480
- id: string;
481
- projectId: string;
482
- componentId: string;
483
- branchId: string;
484
- configId: string;
485
- type: "streamlit";
486
- mode: "prod";
487
- url: string;
488
- };
489
- undeployedChanges: {
490
- configVersion: string;
491
- production: {
492
- desiredNumber: number;
493
- desiredId: string;
494
- actualNumber: number;
495
- actualId: string;
496
- };
497
- undeployedChanges: true;
498
- state: "RUNNING";
499
- id: string;
500
- projectId: string;
501
- componentId: string;
502
- branchId: string;
503
- configId: string;
504
- type: "streamlit";
505
- mode: "prod";
506
- url: string;
507
- };
508
- promoting: {
509
- configVersion: string;
510
- production: {
511
- desiredNumber: number;
512
- desiredId: string;
513
- actualNumber: number;
514
- actualId: string;
515
- };
516
- undeployedChanges: true;
517
- state: "RUNNING";
518
- id: string;
519
- projectId: string;
520
- componentId: string;
521
- branchId: string;
522
- configId: string;
523
- type: "streamlit";
524
- mode: "prod";
525
- url: string;
526
- };
527
- sleeping: {
528
- configVersion: string;
529
- production: {
530
- desiredNumber: number;
531
- desiredId: string;
532
- actualNumber: number;
533
- actualId: string;
534
- };
535
- undeployedChanges: false;
536
- state: "SLEEPING";
537
- id: string;
538
- projectId: string;
539
- componentId: string;
540
- branchId: string;
541
- configId: string;
542
- type: "streamlit";
543
- mode: "prod";
544
- url: string;
545
- };
546
- suspended: {
547
- configVersion: string;
548
- production: {
549
- desiredNumber: number;
550
- desiredId: string;
551
- actualNumber: number;
552
- actualId: string;
553
- };
554
- undeployedChanges: false;
555
- state: "SUSPENDED";
556
- id: string;
557
- projectId: string;
558
- componentId: string;
559
- branchId: string;
560
- configId: string;
561
- type: "streamlit";
562
- mode: "prod";
563
- url: string;
60
+ undeployedChanges: false;
61
+ state: 'RUNNING';
62
+ };
63
+ undeployedChanges: {
64
+ id: string;
65
+ projectId: string;
66
+ componentId: string;
67
+ branchId: string;
68
+ configId: string;
69
+ type: 'streamlit';
70
+ mode: 'prod';
71
+ url: string;
72
+ configVersion: string;
73
+ production: {
74
+ desiredNumber: number;
75
+ desiredId: string;
76
+ actualNumber: number;
77
+ actualId: string;
78
+ };
79
+ undeployedChanges: true;
80
+ state: 'RUNNING';
81
+ };
82
+ promoting: {
83
+ id: string;
84
+ projectId: string;
85
+ componentId: string;
86
+ branchId: string;
87
+ configId: string;
88
+ type: 'streamlit';
89
+ mode: 'prod';
90
+ url: string;
91
+ configVersion: string;
92
+ production: {
93
+ desiredNumber: number;
94
+ desiredId: string;
95
+ actualNumber: number;
96
+ actualId: string;
97
+ };
98
+ undeployedChanges: true;
99
+ state: 'RUNNING';
100
+ };
101
+ sleeping: {
102
+ id: string;
103
+ projectId: string;
104
+ componentId: string;
105
+ branchId: string;
106
+ configId: string;
107
+ type: 'streamlit';
108
+ mode: 'prod';
109
+ url: string;
110
+ configVersion: string;
111
+ production: {
112
+ desiredNumber: number;
113
+ desiredId: string;
114
+ actualNumber: number;
115
+ actualId: string;
564
116
  };
117
+ undeployedChanges: false;
118
+ state: 'SLEEPING';
119
+ };
120
+ suspended: {
121
+ id: string;
122
+ projectId: string;
123
+ componentId: string;
124
+ branchId: string;
125
+ configId: string;
126
+ type: 'streamlit';
127
+ mode: 'prod';
128
+ url: string;
129
+ configVersion: string;
130
+ production: {
131
+ desiredNumber: number;
132
+ desiredId: string;
133
+ actualNumber: number;
134
+ actualId: string;
135
+ };
136
+ undeployedChanges: false;
137
+ state: 'SUSPENDED';
138
+ };
565
139
  };
566
140
  declare const getApp: () => App;
567
141
  declare const listApps: () => App[];
568
-
142
+ //#endregion
143
+ //#region src/clients/apps/deployments.d.ts
569
144
  declare const deploymentFixtures: {
570
- archived: {
571
- id: string;
572
- number: number;
573
- configId: string;
574
- configVersion: string;
575
- gitCommitSha: null;
576
- size: "tiny";
577
- buildState: "PREBUILT";
578
- runState: "STOPPED";
579
- archived: true;
580
- archivedAt: string;
581
- createdAt: string;
582
- };
583
- live: {
584
- id: string;
585
- number: number;
586
- configId: string;
587
- configVersion: string;
588
- gitCommitSha: null;
589
- size: "small";
590
- buildState: "PREBUILT";
591
- runState: "RUNNING";
592
- archived: false;
593
- archivedAt: null;
594
- createdAt: string;
595
- };
596
- staged: {
597
- id: string;
598
- number: number;
599
- configId: string;
600
- configVersion: string;
601
- gitCommitSha: null;
602
- size: "small";
603
- buildState: "PREBUILT";
604
- runState: "NEVER_RUN";
605
- archived: false;
606
- archivedAt: null;
607
- createdAt: string;
608
- };
609
- buildFailed: {
610
- id: string;
611
- number: number;
612
- configId: string;
613
- configVersion: string;
614
- gitCommitSha: null;
615
- size: "small";
616
- buildState: "FAILED";
617
- runState: "NEVER_RUN";
618
- archived: false;
619
- archivedAt: null;
620
- createdAt: string;
621
- };
622
- runFailed: {
623
- id: string;
624
- number: number;
625
- configId: string;
626
- configVersion: string;
627
- gitCommitSha: null;
628
- size: "small";
629
- buildState: "PREBUILT";
630
- runState: "FAILED";
631
- archived: false;
632
- archivedAt: null;
633
- createdAt: string;
634
- };
145
+ archived: {
146
+ id: string;
147
+ number: number;
148
+ configId: string;
149
+ configVersion: string;
150
+ gitCommitSha: null;
151
+ size: 'tiny';
152
+ buildState: 'PREBUILT';
153
+ runState: 'STOPPED';
154
+ archived: true;
155
+ archivedAt: string;
156
+ createdAt: string;
157
+ };
158
+ live: {
159
+ id: string;
160
+ number: number;
161
+ configId: string;
162
+ configVersion: string;
163
+ gitCommitSha: null;
164
+ size: 'small';
165
+ buildState: 'PREBUILT';
166
+ runState: 'RUNNING';
167
+ archived: false;
168
+ archivedAt: null;
169
+ createdAt: string;
170
+ };
171
+ staged: {
172
+ id: string;
173
+ number: number;
174
+ configId: string;
175
+ configVersion: string;
176
+ gitCommitSha: null;
177
+ size: 'small';
178
+ buildState: 'PREBUILT';
179
+ runState: 'NEVER_RUN';
180
+ archived: false;
181
+ archivedAt: null;
182
+ createdAt: string;
183
+ };
184
+ buildFailed: {
185
+ id: string;
186
+ number: number;
187
+ configId: string;
188
+ configVersion: string;
189
+ gitCommitSha: null;
190
+ size: 'small';
191
+ buildState: 'FAILED';
192
+ runState: 'NEVER_RUN';
193
+ archived: false;
194
+ archivedAt: null;
195
+ createdAt: string;
196
+ };
197
+ runFailed: {
198
+ id: string;
199
+ number: number;
200
+ configId: string;
201
+ configVersion: string;
202
+ gitCommitSha: null;
203
+ size: 'small';
204
+ buildState: 'PREBUILT';
205
+ runState: 'FAILED';
206
+ archived: false;
207
+ archivedAt: null;
208
+ createdAt: string;
209
+ };
635
210
  };
636
211
  declare const getDeployment: () => Deployment;
637
212
  /**
@@ -647,75 +222,76 @@ declare const getDeployment: () => Deployment;
647
222
  * than in production.
648
223
  */
649
224
  declare const listDeployments: () => Deployment[];
650
-
225
+ //#endregion
226
+ //#region src/clients/apps/runs.d.ts
651
227
  declare const runFixtures: {
652
- running: {
653
- id: string;
654
- deploymentId: string;
655
- configVersion: string;
656
- state: "running";
657
- createdAt: string;
658
- startedAt: string;
659
- stoppedAt: null;
660
- startupLogs: null;
661
- failureReason: null;
662
- appId: string;
663
- runtimeSize: string;
664
- runtimeBackendType: string;
665
- imageVersion: string;
666
- mode: string;
667
- };
668
- finished: {
669
- id: string;
670
- deploymentId: string;
671
- configVersion: string;
672
- state: "finished";
673
- createdAt: string;
674
- startedAt: string;
675
- stoppedAt: string;
676
- startupLogs: null;
677
- failureReason: null;
678
- appId: string;
679
- runtimeSize: string;
680
- runtimeBackendType: string;
681
- imageVersion: string;
682
- mode: string;
683
- };
684
- failed: {
685
- id: string;
686
- deploymentId: string;
687
- configVersion: string;
688
- state: "failed";
689
- createdAt: string;
690
- startedAt: null;
691
- stoppedAt: string;
692
- startupLogs: string;
693
- failureReason: {
694
- reason: string;
695
- message: string;
696
- };
697
- appId: string;
698
- runtimeSize: string;
699
- runtimeBackendType: string;
700
- imageVersion: string;
701
- mode: string;
702
- };
703
- legacy: {
704
- id: string;
705
- deploymentId: null;
706
- configVersion: string;
707
- state: "running";
708
- createdAt: string;
709
- startedAt: string;
710
- stoppedAt: null;
711
- startupLogs: null;
712
- failureReason: null;
713
- appId: string;
714
- runtimeSize: string;
715
- runtimeBackendType: string;
716
- imageVersion: string;
717
- mode: string;
228
+ running: {
229
+ appId: string;
230
+ runtimeSize: string;
231
+ runtimeBackendType: string;
232
+ imageVersion: string;
233
+ mode: string;
234
+ id: string;
235
+ deploymentId: string;
236
+ configVersion: string;
237
+ state: 'running';
238
+ createdAt: string;
239
+ startedAt: string;
240
+ stoppedAt: null;
241
+ startupLogs: null;
242
+ failureReason: null;
243
+ };
244
+ finished: {
245
+ appId: string;
246
+ runtimeSize: string;
247
+ runtimeBackendType: string;
248
+ imageVersion: string;
249
+ mode: string;
250
+ id: string;
251
+ deploymentId: string;
252
+ configVersion: string;
253
+ state: 'finished';
254
+ createdAt: string;
255
+ startedAt: string;
256
+ stoppedAt: string;
257
+ startupLogs: null;
258
+ failureReason: null;
259
+ };
260
+ failed: {
261
+ appId: string;
262
+ runtimeSize: string;
263
+ runtimeBackendType: string;
264
+ imageVersion: string;
265
+ mode: string;
266
+ id: string;
267
+ deploymentId: string;
268
+ configVersion: string;
269
+ state: 'failed';
270
+ createdAt: string;
271
+ startedAt: null;
272
+ stoppedAt: string;
273
+ startupLogs: string;
274
+ failureReason: {
275
+ reason: string;
276
+ message: string;
718
277
  };
278
+ };
279
+ legacy: {
280
+ appId: string;
281
+ runtimeSize: string;
282
+ runtimeBackendType: string;
283
+ imageVersion: string;
284
+ mode: string;
285
+ id: string;
286
+ deploymentId: null;
287
+ configVersion: string;
288
+ state: 'running';
289
+ createdAt: string;
290
+ startedAt: string;
291
+ stoppedAt: null;
292
+ startupLogs: null;
293
+ failureReason: null;
294
+ };
719
295
  };
720
296
  declare const getAppRun: () => AppRun;
721
297
  /**
@@ -724,7 +300,356 @@ declare const getAppRun: () => AppRun;
724
300
  * data that happens to contradict it.
725
301
  */
726
302
  declare const listAppRuns: () => AppRun[];
727
-
303
+ //#endregion
304
+ //#region src/clients/developerPortal/apps.d.ts
305
+ /** The public catalog list: published, non-`other` apps only. */
306
+ declare const listPublishedApps: () => App$1[];
307
+ /** A vendor's own apps, across every publishing state the table renders. */
308
+ declare const listVendorApps: () => App$1[];
309
+ /** The admin list — every vendor, plus the `other`-typed app the public catalog drops. */
310
+ declare const listAllApps: () => App$1[];
311
+ /** `GET /vendors` — approved and public only, so the pending vendor cannot appear here. */
312
+ declare const listVendors: () => VendorListItem[];
313
+ /** `GET /vendors/{vendor}` — the converted shape. */
314
+ declare const getVendor: () => Vendor;
315
+ /** `GET /admin/vendors` — every vendor, and the only response carrying the approval flags. */
316
+ declare const listAllVendors: () => AdminVendor[];
317
+ declare const listUsers: () => User[];
318
+ declare const listServiceAccounts: () => ServiceAccount[];
319
+ declare const listAppChanges: () => AppChange[];
320
+ /** Named fixtures, for a test that needs one specific state. */
321
+ declare const developerPortalFixtures: {
322
+ apps: {
323
+ published: {
324
+ id: string;
325
+ vendor: {
326
+ id: string;
327
+ name: string;
328
+ address: string;
329
+ email: string;
330
+ type?: string;
331
+ } & {
332
+ [key: string]: unknown;
333
+ };
334
+ name: string;
335
+ type: "extractor";
336
+ shortDescription: string;
337
+ longDescription: string;
338
+ licenseUrl: string;
339
+ documentationUrl: string;
340
+ sourceCodeUrl: string;
341
+ categories: string[];
342
+ complexity: "easy";
343
+ uiOptions: string[];
344
+ defaultBucket: true;
345
+ defaultBucketStage: "in";
346
+ stagingStorageInput: "local";
347
+ stagingStorageOutput: "local";
348
+ logger: "standard";
349
+ isPublic: true;
350
+ isDeprecated: false;
351
+ fees: false;
352
+ repository: {
353
+ type: "ecr";
354
+ uri: string;
355
+ tag: string;
356
+ };
357
+ icon: {
358
+ '64': string;
359
+ '128': string;
360
+ };
361
+ version: number;
362
+ createdBy: string;
363
+ updatedOn: string;
364
+ uri: string;
365
+ isPublished: true;
366
+ publishedVersion: number;
367
+ publishingStatus: "public";
368
+ };
369
+ requested: {
370
+ id: string;
371
+ vendor: {
372
+ id: string;
373
+ name: string;
374
+ address: string;
375
+ email: string;
376
+ type?: string;
377
+ } & {
378
+ [key: string]: unknown;
379
+ };
380
+ name: string;
381
+ type: "writer";
382
+ shortDescription: string;
383
+ longDescription: string;
384
+ licenseUrl: string;
385
+ documentationUrl: string;
386
+ uiOptions: string[];
387
+ repository: {
388
+ type: "quay";
389
+ uri: string;
390
+ tag: string;
391
+ };
392
+ icon: {
393
+ '64': string;
394
+ '128': string;
395
+ };
396
+ isPublic: false;
397
+ isDeprecated: false;
398
+ version: number;
399
+ createdBy: string;
400
+ updatedOn: string;
401
+ uri: string;
402
+ isPublished: false;
403
+ publishingStatus: "requested";
404
+ publishingRequest: {
405
+ createdOn: string;
406
+ rejectionReason: null;
407
+ };
408
+ };
409
+ rejected: {
410
+ id: string;
411
+ vendor: {
412
+ id: string;
413
+ name: string;
414
+ address: string;
415
+ email: string;
416
+ type?: string;
417
+ } & {
418
+ [key: string]: unknown;
419
+ };
420
+ name: string;
421
+ type: "application";
422
+ shortDescription: string;
423
+ isPublic: false;
424
+ isDeprecated: false;
425
+ version: number;
426
+ createdBy: string;
427
+ uri: string;
428
+ isPublished: false;
429
+ publishingStatus: "rejected";
430
+ publishingRequest: {
431
+ createdOn: string;
432
+ rejectionReason: string;
433
+ };
434
+ };
435
+ deprecated: {
436
+ id: string;
437
+ vendor: {
438
+ id: string;
439
+ name: string;
440
+ address: string;
441
+ email: string;
442
+ type?: string;
443
+ } & {
444
+ [key: string]: unknown;
445
+ };
446
+ name: string;
447
+ type: "extractor";
448
+ shortDescription: string;
449
+ isPublic: true;
450
+ isDeprecated: true;
451
+ expiredOn: string;
452
+ replacementApp: string;
453
+ version: number;
454
+ uri: string;
455
+ isPublished: true;
456
+ publishedVersion: number;
457
+ publishingStatus: "public";
458
+ };
459
+ dataApp: {
460
+ id: string;
461
+ vendor: {
462
+ id: string;
463
+ name: string;
464
+ address: string;
465
+ email: string;
466
+ type?: string;
467
+ } & {
468
+ [key: string]: unknown;
469
+ };
470
+ name: string;
471
+ type: "data-app";
472
+ shortDescription: string;
473
+ isPublic: false;
474
+ isDeprecated: false;
475
+ version: number;
476
+ uri: string;
477
+ isPublished: false;
478
+ publishingStatus: "private";
479
+ };
480
+ codePattern: {
481
+ id: string;
482
+ vendor: {
483
+ id: string;
484
+ name: string;
485
+ address: string;
486
+ email: string;
487
+ type?: string;
488
+ } & {
489
+ [key: string]: unknown;
490
+ };
491
+ name: string;
492
+ type: "code-pattern";
493
+ shortDescription: string;
494
+ actions: string[];
495
+ configurationSchema: {
496
+ supported_components: string[];
497
+ };
498
+ isPublic: false;
499
+ version: number;
500
+ uri: string;
501
+ isPublished: false;
502
+ publishingStatus: "private";
503
+ };
504
+ otherType: {
505
+ id: string;
506
+ vendor: {
507
+ id: string;
508
+ name: string;
509
+ address: string;
510
+ email: string;
511
+ type?: string;
512
+ } & {
513
+ [key: string]: unknown;
514
+ };
515
+ name: string;
516
+ type: "other";
517
+ isPublic: true;
518
+ version: number;
519
+ uri: string;
520
+ isPublished: true;
521
+ publishedVersion: number;
522
+ publishingStatus: "public";
523
+ };
524
+ };
525
+ vendors: {
526
+ keboola: {
527
+ id: string;
528
+ name: string;
529
+ email: string;
530
+ address: string;
531
+ type: string;
532
+ projectUrl: null;
533
+ isTrusted: 1;
534
+ };
535
+ thirdParty: {
536
+ id: string;
537
+ name: string;
538
+ email: string;
539
+ address: string;
540
+ projectUrl: string;
541
+ type: string;
542
+ isTrusted: 0;
543
+ };
544
+ detail: {
545
+ id: string;
546
+ name: string;
547
+ email: string;
548
+ address: string;
549
+ projectUrl: string;
550
+ type: string;
551
+ isTrusted: false;
552
+ };
553
+ pending: {
554
+ id: string;
555
+ name: string;
556
+ email: string;
557
+ address: string;
558
+ type: string;
559
+ projectUrl: null;
560
+ isApproved: false;
561
+ isPublic: false;
562
+ isTrusted: false;
563
+ };
564
+ keboolaAdmin: {
565
+ id: string;
566
+ name: string;
567
+ email: string;
568
+ address: string;
569
+ type: string;
570
+ projectUrl: null;
571
+ isApproved: true;
572
+ isPublic: true;
573
+ isTrusted: true;
574
+ };
575
+ thirdPartyAdmin: {
576
+ id: string;
577
+ name: string;
578
+ email: string;
579
+ address: string;
580
+ projectUrl: string;
581
+ type: string;
582
+ isApproved: true;
583
+ isPublic: true;
584
+ isTrusted: false;
585
+ };
586
+ };
587
+ users: {
588
+ human: {
589
+ username: string;
590
+ name: string;
591
+ vendors: string[];
592
+ createdOn: string;
593
+ };
594
+ newest: {
595
+ username: string;
596
+ name: string;
597
+ vendors: string[];
598
+ createdOn: string;
599
+ };
600
+ vendorless: {
601
+ username: string;
602
+ name: string;
603
+ vendors: never[];
604
+ createdOn: string;
605
+ };
606
+ keboolaStaff: {
607
+ username: string;
608
+ name: string;
609
+ vendors: string[];
610
+ createdOn: string;
611
+ };
612
+ };
613
+ serviceAccounts: {
614
+ created: {
615
+ username: string;
616
+ description: string;
617
+ createdOn: string;
618
+ password: string;
619
+ };
620
+ existing: {
621
+ username: string;
622
+ description: string;
623
+ createdOn: string;
624
+ };
625
+ };
626
+ changes: {
627
+ single: {
628
+ appId: string;
629
+ createdOn: string;
630
+ createdBy: string;
631
+ changes: ({
632
+ attribute: string;
633
+ oldValue: string;
634
+ newValue: string;
635
+ } | {
636
+ attribute: string;
637
+ oldValue: {
638
+ type: string;
639
+ uri: string;
640
+ tag: string;
641
+ };
642
+ newValue: {
643
+ type: string;
644
+ uri: string;
645
+ tag: string;
646
+ };
647
+ })[];
648
+ };
649
+ };
650
+ };
651
+ //#endregion
652
+ //#region src/clients/storage/tables.d.ts
728
653
  /**
729
654
  * Returns a single realistic typed TableDetail (fresh, no imports yet).
730
655
  *
@@ -743,20 +668,157 @@ declare const listTables: () => TableDetail[];
743
668
  * Named fixtures for targeted access in tests.
744
669
  */
745
670
  declare const tableFixtures: {
746
- fresh: {
671
+ fresh: {
672
+ id: string;
673
+ name: string;
674
+ displayName: string;
675
+ primaryKey: string[];
676
+ metadata: never[];
677
+ columns: string[];
678
+ columnMetadata: {};
679
+ attributes: never[];
680
+ bucket: {
681
+ id: string;
682
+ name: string;
683
+ displayName: string;
684
+ stage: 'in';
685
+ description: string;
686
+ created: string;
687
+ lastChangeDate: string;
688
+ isMaintenance: boolean;
689
+ isReadOnly: boolean;
690
+ isSnowflakeSharedDatabase: boolean;
691
+ hasExternalSchema: boolean;
692
+ rowsCount: number;
693
+ dataSizeBytes: number;
694
+ uri: string;
695
+ backend: 'snowflake';
696
+ backendPath: never[];
697
+ databaseName: null;
698
+ color: null;
699
+ idBranch: number;
700
+ owner: null;
701
+ sharing: null;
702
+ path: string;
703
+ tables: string;
704
+ updated: string;
705
+ };
706
+ isTyped: false;
707
+ isAlias: false;
708
+ };
709
+ recentlyUpdated: {
710
+ id: string;
711
+ name: string;
712
+ displayName: string;
713
+ primaryKey: string[];
714
+ metadata: {
715
+ id: string;
716
+ key: string;
717
+ value: string;
718
+ provider: string;
719
+ timestamp: string;
720
+ }[];
721
+ columns: string[];
722
+ columnMetadata: {
723
+ order_id: {
747
724
  id: string;
748
- name: string;
749
- displayName: string;
750
- primaryKey: string[];
751
- metadata: never[];
752
- columns: string[];
753
- columnMetadata: {};
754
- attributes: never[];
755
- bucket: {
725
+ key: string;
726
+ value: string;
727
+ provider: string;
728
+ timestamp: string;
729
+ }[];
730
+ };
731
+ attributes: never[];
732
+ bucket: {
733
+ id: string;
734
+ name: string;
735
+ displayName: string;
736
+ stage: 'in';
737
+ description: string;
738
+ created: string;
739
+ lastChangeDate: string;
740
+ isMaintenance: boolean;
741
+ isReadOnly: boolean;
742
+ isSnowflakeSharedDatabase: boolean;
743
+ hasExternalSchema: boolean;
744
+ rowsCount: number;
745
+ dataSizeBytes: number;
746
+ uri: string;
747
+ backend: 'snowflake';
748
+ backendPath: never[];
749
+ databaseName: null;
750
+ color: null;
751
+ idBranch: number;
752
+ owner: null;
753
+ sharing: null;
754
+ path: string;
755
+ tables: string;
756
+ updated: string;
757
+ };
758
+ isTyped: false;
759
+ isAlias: false;
760
+ };
761
+ large: {
762
+ id: string;
763
+ name: string;
764
+ displayName: string;
765
+ primaryKey: never[];
766
+ metadata: never[];
767
+ columns: string[];
768
+ columnMetadata: {};
769
+ attributes: never[];
770
+ bucket: {
771
+ id: string;
772
+ name: string;
773
+ displayName: string;
774
+ stage: 'in';
775
+ description: string;
776
+ created: string;
777
+ lastChangeDate: string;
778
+ isMaintenance: boolean;
779
+ isReadOnly: boolean;
780
+ isSnowflakeSharedDatabase: boolean;
781
+ hasExternalSchema: boolean;
782
+ rowsCount: number;
783
+ dataSizeBytes: number;
784
+ uri: string;
785
+ backend: 'snowflake';
786
+ backendPath: never[];
787
+ databaseName: null;
788
+ color: null;
789
+ idBranch: number;
790
+ owner: null;
791
+ sharing: null;
792
+ path: string;
793
+ tables: string;
794
+ updated: string;
795
+ };
796
+ isTyped: false;
797
+ isAlias: false;
798
+ };
799
+ };
800
+ //#endregion
801
+ //#region src/fixtures.d.ts
802
+ declare const fixtures: {
803
+ storage: {
804
+ tables: {
805
+ getTable: typeof getTable;
806
+ listTables: typeof listTables;
807
+ fixtures: {
808
+ fresh: {
809
+ id: string;
810
+ name: string;
811
+ displayName: string;
812
+ primaryKey: string[];
813
+ metadata: never[];
814
+ columns: string[];
815
+ columnMetadata: {};
816
+ attributes: never[];
817
+ bucket: {
756
818
  id: string;
757
819
  name: string;
758
820
  displayName: string;
759
- stage: "in";
821
+ stage: 'in';
760
822
  description: string;
761
823
  created: string;
762
824
  lastChangeDate: string;
@@ -767,7 +829,7 @@ declare const tableFixtures: {
767
829
  rowsCount: number;
768
830
  dataSizeBytes: number;
769
831
  uri: string;
770
- backend: "snowflake";
832
+ backend: 'snowflake';
771
833
  backendPath: never[];
772
834
  databaseName: null;
773
835
  color: null;
@@ -777,38 +839,38 @@ declare const tableFixtures: {
777
839
  path: string;
778
840
  tables: string;
779
841
  updated: string;
842
+ };
843
+ isTyped: false;
844
+ isAlias: false;
780
845
  };
781
- isTyped: false;
782
- isAlias: false;
783
- };
784
- recentlyUpdated: {
785
- id: string;
786
- name: string;
787
- displayName: string;
788
- primaryKey: string[];
789
- metadata: {
846
+ recentlyUpdated: {
847
+ id: string;
848
+ name: string;
849
+ displayName: string;
850
+ primaryKey: string[];
851
+ metadata: {
790
852
  id: string;
791
853
  key: string;
792
854
  value: string;
793
855
  provider: string;
794
856
  timestamp: string;
795
- }[];
796
- columns: string[];
797
- columnMetadata: {
857
+ }[];
858
+ columns: string[];
859
+ columnMetadata: {
798
860
  order_id: {
799
- id: string;
800
- key: string;
801
- value: string;
802
- provider: string;
803
- timestamp: string;
861
+ id: string;
862
+ key: string;
863
+ value: string;
864
+ provider: string;
865
+ timestamp: string;
804
866
  }[];
805
- };
806
- attributes: never[];
807
- bucket: {
867
+ };
868
+ attributes: never[];
869
+ bucket: {
808
870
  id: string;
809
871
  name: string;
810
872
  displayName: string;
811
- stage: "in";
873
+ stage: 'in';
812
874
  description: string;
813
875
  created: string;
814
876
  lastChangeDate: string;
@@ -819,7 +881,7 @@ declare const tableFixtures: {
819
881
  rowsCount: number;
820
882
  dataSizeBytes: number;
821
883
  uri: string;
822
- backend: "snowflake";
884
+ backend: 'snowflake';
823
885
  backendPath: never[];
824
886
  databaseName: null;
825
887
  color: null;
@@ -829,24 +891,24 @@ declare const tableFixtures: {
829
891
  path: string;
830
892
  tables: string;
831
893
  updated: string;
894
+ };
895
+ isTyped: false;
896
+ isAlias: false;
832
897
  };
833
- isTyped: false;
834
- isAlias: false;
835
- };
836
- large: {
837
- id: string;
838
- name: string;
839
- displayName: string;
840
- primaryKey: never[];
841
- metadata: never[];
842
- columns: string[];
843
- columnMetadata: {};
844
- attributes: never[];
845
- bucket: {
898
+ large: {
899
+ id: string;
900
+ name: string;
901
+ displayName: string;
902
+ primaryKey: never[];
903
+ metadata: never[];
904
+ columns: string[];
905
+ columnMetadata: {};
906
+ attributes: never[];
907
+ bucket: {
846
908
  id: string;
847
909
  name: string;
848
910
  displayName: string;
849
- stage: "in";
911
+ stage: 'in';
850
912
  description: string;
851
913
  created: string;
852
914
  lastChangeDate: string;
@@ -857,7 +919,7 @@ declare const tableFixtures: {
857
919
  rowsCount: number;
858
920
  dataSizeBytes: number;
859
921
  uri: string;
860
- backend: "snowflake";
922
+ backend: 'snowflake';
861
923
  backendPath: never[];
862
924
  databaseName: null;
863
925
  color: null;
@@ -867,10 +929,640 @@ declare const tableFixtures: {
867
929
  path: string;
868
930
  tables: string;
869
931
  updated: string;
932
+ };
933
+ isTyped: false;
934
+ isAlias: false;
935
+ };
936
+ };
937
+ };
938
+ };
939
+ apps: {
940
+ apps: {
941
+ getApp: typeof getApp;
942
+ listApps: typeof listApps;
943
+ fixtures: {
944
+ neverDeployed: {
945
+ id: string;
946
+ projectId: string;
947
+ componentId: string;
948
+ branchId: string;
949
+ configId: string;
950
+ type: 'streamlit';
951
+ mode: 'prod';
952
+ url: string;
953
+ configVersion: string;
954
+ production: {
955
+ desiredNumber: null;
956
+ desiredId: null;
957
+ actualNumber: null;
958
+ actualId: null;
959
+ };
960
+ undeployedChanges: false;
961
+ state: 'NOT_DEPLOYED';
962
+ };
963
+ legacyV1Serving: {
964
+ id: string;
965
+ projectId: string;
966
+ componentId: string;
967
+ branchId: string;
968
+ configId: string;
969
+ configVersion: string;
970
+ type: 'streamlit';
971
+ mode: 'dev';
972
+ url: string;
973
+ production: {
974
+ desiredNumber: null;
975
+ desiredId: null;
976
+ actualNumber: null;
977
+ actualId: null;
978
+ };
979
+ undeployedChanges: false;
980
+ state: 'NOT_DEPLOYED';
981
+ };
982
+ running: {
983
+ id: string;
984
+ projectId: string;
985
+ componentId: string;
986
+ branchId: string;
987
+ configId: string;
988
+ type: 'streamlit';
989
+ mode: 'prod';
990
+ url: string;
991
+ configVersion: string;
992
+ production: {
993
+ desiredNumber: number;
994
+ desiredId: string;
995
+ actualNumber: number;
996
+ actualId: string;
997
+ };
998
+ undeployedChanges: false;
999
+ state: 'RUNNING';
1000
+ };
1001
+ undeployedChanges: {
1002
+ id: string;
1003
+ projectId: string;
1004
+ componentId: string;
1005
+ branchId: string;
1006
+ configId: string;
1007
+ type: 'streamlit';
1008
+ mode: 'prod';
1009
+ url: string;
1010
+ configVersion: string;
1011
+ production: {
1012
+ desiredNumber: number;
1013
+ desiredId: string;
1014
+ actualNumber: number;
1015
+ actualId: string;
1016
+ };
1017
+ undeployedChanges: true;
1018
+ state: 'RUNNING';
1019
+ };
1020
+ promoting: {
1021
+ id: string;
1022
+ projectId: string;
1023
+ componentId: string;
1024
+ branchId: string;
1025
+ configId: string;
1026
+ type: 'streamlit';
1027
+ mode: 'prod';
1028
+ url: string;
1029
+ configVersion: string;
1030
+ production: {
1031
+ desiredNumber: number;
1032
+ desiredId: string;
1033
+ actualNumber: number;
1034
+ actualId: string;
1035
+ };
1036
+ undeployedChanges: true;
1037
+ state: 'RUNNING';
1038
+ };
1039
+ sleeping: {
1040
+ id: string;
1041
+ projectId: string;
1042
+ componentId: string;
1043
+ branchId: string;
1044
+ configId: string;
1045
+ type: 'streamlit';
1046
+ mode: 'prod';
1047
+ url: string;
1048
+ configVersion: string;
1049
+ production: {
1050
+ desiredNumber: number;
1051
+ desiredId: string;
1052
+ actualNumber: number;
1053
+ actualId: string;
1054
+ };
1055
+ undeployedChanges: false;
1056
+ state: 'SLEEPING';
1057
+ };
1058
+ suspended: {
1059
+ id: string;
1060
+ projectId: string;
1061
+ componentId: string;
1062
+ branchId: string;
1063
+ configId: string;
1064
+ type: 'streamlit';
1065
+ mode: 'prod';
1066
+ url: string;
1067
+ configVersion: string;
1068
+ production: {
1069
+ desiredNumber: number;
1070
+ desiredId: string;
1071
+ actualNumber: number;
1072
+ actualId: string;
1073
+ };
1074
+ undeployedChanges: false;
1075
+ state: 'SUSPENDED';
1076
+ };
1077
+ };
1078
+ };
1079
+ deployments: {
1080
+ getDeployment: typeof getDeployment;
1081
+ listDeployments: typeof listDeployments;
1082
+ fixtures: {
1083
+ archived: {
1084
+ id: string;
1085
+ number: number;
1086
+ configId: string;
1087
+ configVersion: string;
1088
+ gitCommitSha: null;
1089
+ size: 'tiny';
1090
+ buildState: 'PREBUILT';
1091
+ runState: 'STOPPED';
1092
+ archived: true;
1093
+ archivedAt: string;
1094
+ createdAt: string;
1095
+ };
1096
+ live: {
1097
+ id: string;
1098
+ number: number;
1099
+ configId: string;
1100
+ configVersion: string;
1101
+ gitCommitSha: null;
1102
+ size: 'small';
1103
+ buildState: 'PREBUILT';
1104
+ runState: 'RUNNING';
1105
+ archived: false;
1106
+ archivedAt: null;
1107
+ createdAt: string;
1108
+ };
1109
+ staged: {
1110
+ id: string;
1111
+ number: number;
1112
+ configId: string;
1113
+ configVersion: string;
1114
+ gitCommitSha: null;
1115
+ size: 'small';
1116
+ buildState: 'PREBUILT';
1117
+ runState: 'NEVER_RUN';
1118
+ archived: false;
1119
+ archivedAt: null;
1120
+ createdAt: string;
1121
+ };
1122
+ buildFailed: {
1123
+ id: string;
1124
+ number: number;
1125
+ configId: string;
1126
+ configVersion: string;
1127
+ gitCommitSha: null;
1128
+ size: 'small';
1129
+ buildState: 'FAILED';
1130
+ runState: 'NEVER_RUN';
1131
+ archived: false;
1132
+ archivedAt: null;
1133
+ createdAt: string;
1134
+ };
1135
+ runFailed: {
1136
+ id: string;
1137
+ number: number;
1138
+ configId: string;
1139
+ configVersion: string;
1140
+ gitCommitSha: null;
1141
+ size: 'small';
1142
+ buildState: 'PREBUILT';
1143
+ runState: 'FAILED';
1144
+ archived: false;
1145
+ archivedAt: null;
1146
+ createdAt: string;
1147
+ };
1148
+ };
1149
+ };
1150
+ runs: {
1151
+ getAppRun: typeof getAppRun;
1152
+ listAppRuns: typeof listAppRuns;
1153
+ fixtures: {
1154
+ running: {
1155
+ appId: string;
1156
+ runtimeSize: string;
1157
+ runtimeBackendType: string;
1158
+ imageVersion: string;
1159
+ mode: string;
1160
+ id: string;
1161
+ deploymentId: string;
1162
+ configVersion: string;
1163
+ state: 'running';
1164
+ createdAt: string;
1165
+ startedAt: string;
1166
+ stoppedAt: null;
1167
+ startupLogs: null;
1168
+ failureReason: null;
1169
+ };
1170
+ finished: {
1171
+ appId: string;
1172
+ runtimeSize: string;
1173
+ runtimeBackendType: string;
1174
+ imageVersion: string;
1175
+ mode: string;
1176
+ id: string;
1177
+ deploymentId: string;
1178
+ configVersion: string;
1179
+ state: 'finished';
1180
+ createdAt: string;
1181
+ startedAt: string;
1182
+ stoppedAt: string;
1183
+ startupLogs: null;
1184
+ failureReason: null;
1185
+ };
1186
+ failed: {
1187
+ appId: string;
1188
+ runtimeSize: string;
1189
+ runtimeBackendType: string;
1190
+ imageVersion: string;
1191
+ mode: string;
1192
+ id: string;
1193
+ deploymentId: string;
1194
+ configVersion: string;
1195
+ state: 'failed';
1196
+ createdAt: string;
1197
+ startedAt: null;
1198
+ stoppedAt: string;
1199
+ startupLogs: string;
1200
+ failureReason: {
1201
+ reason: string;
1202
+ message: string;
1203
+ };
1204
+ };
1205
+ legacy: {
1206
+ appId: string;
1207
+ runtimeSize: string;
1208
+ runtimeBackendType: string;
1209
+ imageVersion: string;
1210
+ mode: string;
1211
+ id: string;
1212
+ deploymentId: null;
1213
+ configVersion: string;
1214
+ state: 'running';
1215
+ createdAt: string;
1216
+ startedAt: string;
1217
+ stoppedAt: null;
1218
+ startupLogs: null;
1219
+ failureReason: null;
1220
+ };
1221
+ };
1222
+ };
1223
+ };
1224
+ developerPortal: {
1225
+ listPublishedApps: typeof listPublishedApps;
1226
+ listVendorApps: typeof listVendorApps;
1227
+ listAllApps: typeof listAllApps;
1228
+ listAllVendors: typeof listAllVendors;
1229
+ getVendor: typeof getVendor;
1230
+ listVendors: typeof listVendors;
1231
+ listUsers: typeof listUsers;
1232
+ listServiceAccounts: typeof listServiceAccounts;
1233
+ listAppChanges: typeof listAppChanges;
1234
+ fixtures: {
1235
+ apps: {
1236
+ published: {
1237
+ id: string;
1238
+ vendor: {
1239
+ id: string;
1240
+ name: string;
1241
+ address: string;
1242
+ email: string;
1243
+ type?: string;
1244
+ } & {
1245
+ [key: string]: unknown;
1246
+ };
1247
+ name: string;
1248
+ type: "extractor";
1249
+ shortDescription: string;
1250
+ longDescription: string;
1251
+ licenseUrl: string;
1252
+ documentationUrl: string;
1253
+ sourceCodeUrl: string;
1254
+ categories: string[];
1255
+ complexity: "easy";
1256
+ uiOptions: string[];
1257
+ defaultBucket: true;
1258
+ defaultBucketStage: "in";
1259
+ stagingStorageInput: "local";
1260
+ stagingStorageOutput: "local";
1261
+ logger: "standard";
1262
+ isPublic: true;
1263
+ isDeprecated: false;
1264
+ fees: false;
1265
+ repository: {
1266
+ type: "ecr";
1267
+ uri: string;
1268
+ tag: string;
1269
+ };
1270
+ icon: {
1271
+ '64': string;
1272
+ '128': string;
1273
+ };
1274
+ version: number;
1275
+ createdBy: string;
1276
+ updatedOn: string;
1277
+ uri: string;
1278
+ isPublished: true;
1279
+ publishedVersion: number;
1280
+ publishingStatus: "public";
1281
+ };
1282
+ requested: {
1283
+ id: string;
1284
+ vendor: {
1285
+ id: string;
1286
+ name: string;
1287
+ address: string;
1288
+ email: string;
1289
+ type?: string;
1290
+ } & {
1291
+ [key: string]: unknown;
1292
+ };
1293
+ name: string;
1294
+ type: "writer";
1295
+ shortDescription: string;
1296
+ longDescription: string;
1297
+ licenseUrl: string;
1298
+ documentationUrl: string;
1299
+ uiOptions: string[];
1300
+ repository: {
1301
+ type: "quay";
1302
+ uri: string;
1303
+ tag: string;
1304
+ };
1305
+ icon: {
1306
+ '64': string;
1307
+ '128': string;
1308
+ };
1309
+ isPublic: false;
1310
+ isDeprecated: false;
1311
+ version: number;
1312
+ createdBy: string;
1313
+ updatedOn: string;
1314
+ uri: string;
1315
+ isPublished: false;
1316
+ publishingStatus: "requested";
1317
+ publishingRequest: {
1318
+ createdOn: string;
1319
+ rejectionReason: null;
1320
+ };
1321
+ };
1322
+ rejected: {
1323
+ id: string;
1324
+ vendor: {
1325
+ id: string;
1326
+ name: string;
1327
+ address: string;
1328
+ email: string;
1329
+ type?: string;
1330
+ } & {
1331
+ [key: string]: unknown;
1332
+ };
1333
+ name: string;
1334
+ type: "application";
1335
+ shortDescription: string;
1336
+ isPublic: false;
1337
+ isDeprecated: false;
1338
+ version: number;
1339
+ createdBy: string;
1340
+ uri: string;
1341
+ isPublished: false;
1342
+ publishingStatus: "rejected";
1343
+ publishingRequest: {
1344
+ createdOn: string;
1345
+ rejectionReason: string;
1346
+ };
1347
+ };
1348
+ deprecated: {
1349
+ id: string;
1350
+ vendor: {
1351
+ id: string;
1352
+ name: string;
1353
+ address: string;
1354
+ email: string;
1355
+ type?: string;
1356
+ } & {
1357
+ [key: string]: unknown;
1358
+ };
1359
+ name: string;
1360
+ type: "extractor";
1361
+ shortDescription: string;
1362
+ isPublic: true;
1363
+ isDeprecated: true;
1364
+ expiredOn: string;
1365
+ replacementApp: string;
1366
+ version: number;
1367
+ uri: string;
1368
+ isPublished: true;
1369
+ publishedVersion: number;
1370
+ publishingStatus: "public";
1371
+ };
1372
+ dataApp: {
1373
+ id: string;
1374
+ vendor: {
1375
+ id: string;
1376
+ name: string;
1377
+ address: string;
1378
+ email: string;
1379
+ type?: string;
1380
+ } & {
1381
+ [key: string]: unknown;
1382
+ };
1383
+ name: string;
1384
+ type: "data-app";
1385
+ shortDescription: string;
1386
+ isPublic: false;
1387
+ isDeprecated: false;
1388
+ version: number;
1389
+ uri: string;
1390
+ isPublished: false;
1391
+ publishingStatus: "private";
1392
+ };
1393
+ codePattern: {
1394
+ id: string;
1395
+ vendor: {
1396
+ id: string;
1397
+ name: string;
1398
+ address: string;
1399
+ email: string;
1400
+ type?: string;
1401
+ } & {
1402
+ [key: string]: unknown;
1403
+ };
1404
+ name: string;
1405
+ type: "code-pattern";
1406
+ shortDescription: string;
1407
+ actions: string[];
1408
+ configurationSchema: {
1409
+ supported_components: string[];
1410
+ };
1411
+ isPublic: false;
1412
+ version: number;
1413
+ uri: string;
1414
+ isPublished: false;
1415
+ publishingStatus: "private";
1416
+ };
1417
+ otherType: {
1418
+ id: string;
1419
+ vendor: {
1420
+ id: string;
1421
+ name: string;
1422
+ address: string;
1423
+ email: string;
1424
+ type?: string;
1425
+ } & {
1426
+ [key: string]: unknown;
1427
+ };
1428
+ name: string;
1429
+ type: "other";
1430
+ isPublic: true;
1431
+ version: number;
1432
+ uri: string;
1433
+ isPublished: true;
1434
+ publishedVersion: number;
1435
+ publishingStatus: "public";
1436
+ };
1437
+ };
1438
+ vendors: {
1439
+ keboola: {
1440
+ id: string;
1441
+ name: string;
1442
+ email: string;
1443
+ address: string;
1444
+ type: string;
1445
+ projectUrl: null;
1446
+ isTrusted: 1;
1447
+ };
1448
+ thirdParty: {
1449
+ id: string;
1450
+ name: string;
1451
+ email: string;
1452
+ address: string;
1453
+ projectUrl: string;
1454
+ type: string;
1455
+ isTrusted: 0;
1456
+ };
1457
+ detail: {
1458
+ id: string;
1459
+ name: string;
1460
+ email: string;
1461
+ address: string;
1462
+ projectUrl: string;
1463
+ type: string;
1464
+ isTrusted: false;
1465
+ };
1466
+ pending: {
1467
+ id: string;
1468
+ name: string;
1469
+ email: string;
1470
+ address: string;
1471
+ type: string;
1472
+ projectUrl: null;
1473
+ isApproved: false;
1474
+ isPublic: false;
1475
+ isTrusted: false;
1476
+ };
1477
+ keboolaAdmin: {
1478
+ id: string;
1479
+ name: string;
1480
+ email: string;
1481
+ address: string;
1482
+ type: string;
1483
+ projectUrl: null;
1484
+ isApproved: true;
1485
+ isPublic: true;
1486
+ isTrusted: true;
1487
+ };
1488
+ thirdPartyAdmin: {
1489
+ id: string;
1490
+ name: string;
1491
+ email: string;
1492
+ address: string;
1493
+ projectUrl: string;
1494
+ type: string;
1495
+ isApproved: true;
1496
+ isPublic: true;
1497
+ isTrusted: false;
1498
+ };
1499
+ };
1500
+ users: {
1501
+ human: {
1502
+ username: string;
1503
+ name: string;
1504
+ vendors: string[];
1505
+ createdOn: string;
1506
+ };
1507
+ newest: {
1508
+ username: string;
1509
+ name: string;
1510
+ vendors: string[];
1511
+ createdOn: string;
1512
+ };
1513
+ vendorless: {
1514
+ username: string;
1515
+ name: string;
1516
+ vendors: never[];
1517
+ createdOn: string;
1518
+ };
1519
+ keboolaStaff: {
1520
+ username: string;
1521
+ name: string;
1522
+ vendors: string[];
1523
+ createdOn: string;
1524
+ };
1525
+ };
1526
+ serviceAccounts: {
1527
+ created: {
1528
+ username: string;
1529
+ description: string;
1530
+ createdOn: string;
1531
+ password: string;
1532
+ };
1533
+ existing: {
1534
+ username: string;
1535
+ description: string;
1536
+ createdOn: string;
1537
+ };
1538
+ };
1539
+ changes: {
1540
+ single: {
1541
+ appId: string;
1542
+ createdOn: string;
1543
+ createdBy: string;
1544
+ changes: ({
1545
+ attribute: string;
1546
+ oldValue: string;
1547
+ newValue: string;
1548
+ } | {
1549
+ attribute: string;
1550
+ oldValue: {
1551
+ type: string;
1552
+ uri: string;
1553
+ tag: string;
1554
+ };
1555
+ newValue: {
1556
+ type: string;
1557
+ uri: string;
1558
+ tag: string;
1559
+ };
1560
+ })[];
870
1561
  };
871
- isTyped: false;
872
- isAlias: false;
1562
+ };
873
1563
  };
1564
+ };
874
1565
  };
875
-
876
- export { appFixtures, deploymentFixtures, fixtures, getApp, getAppRun, getDeployment, getTable, listAppRuns, listApps, listDeployments, listTables, runFixtures, tableFixtures };
1566
+ //#endregion
1567
+ export { type Table, type TableDetail, appFixtures, deploymentFixtures, developerPortalFixtures, fixtures, getApp, getAppRun, getDeployment, getTable, getVendor, listAllApps, listAllVendors, listAppChanges, listAppRuns, listApps, listDeployments, listPublishedApps, listServiceAccounts, listTables, listUsers, listVendorApps, listVendors, runFixtures, tableFixtures };
1568
+ //# sourceMappingURL=index.d.ts.map