@gpt-core/client 0.7.61 → 0.7.62
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.mts +127 -4
- package/dist/index.d.ts +127 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -292,15 +292,58 @@ type WorkspaceSettingsInputCreateType = {
|
|
|
292
292
|
input?: unknown;
|
|
293
293
|
output?: unknown;
|
|
294
294
|
};
|
|
295
|
-
watcher?: {
|
|
295
|
+
watcher?: unknown | {
|
|
296
296
|
claim_expiry_minutes?: number | unknown;
|
|
297
|
+
/**
|
|
298
|
+
* Configuration for cloud input sources
|
|
299
|
+
*/
|
|
300
|
+
cloud_config?: {
|
|
301
|
+
/**
|
|
302
|
+
* Override bucket (defaults to tenant processing bucket)
|
|
303
|
+
*/
|
|
304
|
+
bucket?: string | unknown;
|
|
305
|
+
/**
|
|
306
|
+
* Delete source file instead of moving to processed
|
|
307
|
+
*/
|
|
308
|
+
delete_after_processing?: boolean | unknown;
|
|
309
|
+
/**
|
|
310
|
+
* Override error prefix (defaults to workspaces/{id}/errors/)
|
|
311
|
+
*/
|
|
312
|
+
error_prefix?: string | unknown;
|
|
313
|
+
/**
|
|
314
|
+
* Override input prefix (defaults to workspaces/{id}/input/)
|
|
315
|
+
*/
|
|
316
|
+
input_prefix?: string | unknown;
|
|
317
|
+
poll_interval_seconds?: number | unknown;
|
|
318
|
+
/**
|
|
319
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/)
|
|
320
|
+
*/
|
|
321
|
+
processed_prefix?: string | unknown;
|
|
322
|
+
provider?: "s3" | "minio" | "gcs" | unknown;
|
|
323
|
+
/**
|
|
324
|
+
* Use S3 event notifications instead of polling
|
|
325
|
+
*/
|
|
326
|
+
use_s3_events?: boolean | unknown;
|
|
327
|
+
} | unknown;
|
|
297
328
|
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
298
329
|
enabled?: boolean | unknown;
|
|
299
330
|
log_retention_days?: number | unknown;
|
|
300
331
|
max_retries?: number | unknown;
|
|
301
332
|
retry_delay_ms?: number | unknown;
|
|
302
333
|
source_type?: "local" | "cloud" | unknown;
|
|
303
|
-
} |
|
|
334
|
+
} | {
|
|
335
|
+
claim_expiry_minutes?: number | unknown;
|
|
336
|
+
/**
|
|
337
|
+
* Configuration for cloud input sources
|
|
338
|
+
*/
|
|
339
|
+
cloud_config?: unknown;
|
|
340
|
+
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
341
|
+
enabled?: boolean | unknown;
|
|
342
|
+
log_retention_days?: number | unknown;
|
|
343
|
+
max_retries?: number | unknown;
|
|
344
|
+
retry_delay_ms?: number | unknown;
|
|
345
|
+
source_type?: "local" | "cloud" | unknown;
|
|
346
|
+
};
|
|
304
347
|
};
|
|
305
348
|
/**
|
|
306
349
|
* A "Resource object" representing a webhook_config
|
|
@@ -1457,15 +1500,58 @@ type WorkspaceSettingsInputUpdateType = {
|
|
|
1457
1500
|
input?: unknown;
|
|
1458
1501
|
output?: unknown;
|
|
1459
1502
|
};
|
|
1460
|
-
watcher?: {
|
|
1503
|
+
watcher?: unknown | {
|
|
1504
|
+
claim_expiry_minutes?: number | unknown;
|
|
1505
|
+
/**
|
|
1506
|
+
* Configuration for cloud input sources
|
|
1507
|
+
*/
|
|
1508
|
+
cloud_config?: {
|
|
1509
|
+
/**
|
|
1510
|
+
* Override bucket (defaults to tenant processing bucket)
|
|
1511
|
+
*/
|
|
1512
|
+
bucket?: string | unknown;
|
|
1513
|
+
/**
|
|
1514
|
+
* Delete source file instead of moving to processed
|
|
1515
|
+
*/
|
|
1516
|
+
delete_after_processing?: boolean | unknown;
|
|
1517
|
+
/**
|
|
1518
|
+
* Override error prefix (defaults to workspaces/{id}/errors/)
|
|
1519
|
+
*/
|
|
1520
|
+
error_prefix?: string | unknown;
|
|
1521
|
+
/**
|
|
1522
|
+
* Override input prefix (defaults to workspaces/{id}/input/)
|
|
1523
|
+
*/
|
|
1524
|
+
input_prefix?: string | unknown;
|
|
1525
|
+
poll_interval_seconds?: number | unknown;
|
|
1526
|
+
/**
|
|
1527
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/)
|
|
1528
|
+
*/
|
|
1529
|
+
processed_prefix?: string | unknown;
|
|
1530
|
+
provider?: "s3" | "minio" | "gcs" | unknown;
|
|
1531
|
+
/**
|
|
1532
|
+
* Use S3 event notifications instead of polling
|
|
1533
|
+
*/
|
|
1534
|
+
use_s3_events?: boolean | unknown;
|
|
1535
|
+
} | unknown;
|
|
1536
|
+
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
1537
|
+
enabled?: boolean | unknown;
|
|
1538
|
+
log_retention_days?: number | unknown;
|
|
1539
|
+
max_retries?: number | unknown;
|
|
1540
|
+
retry_delay_ms?: number | unknown;
|
|
1541
|
+
source_type?: "local" | "cloud" | unknown;
|
|
1542
|
+
} | {
|
|
1461
1543
|
claim_expiry_minutes?: number | unknown;
|
|
1544
|
+
/**
|
|
1545
|
+
* Configuration for cloud input sources
|
|
1546
|
+
*/
|
|
1547
|
+
cloud_config?: unknown;
|
|
1462
1548
|
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
1463
1549
|
enabled?: boolean | unknown;
|
|
1464
1550
|
log_retention_days?: number | unknown;
|
|
1465
1551
|
max_retries?: number | unknown;
|
|
1466
1552
|
retry_delay_ms?: number | unknown;
|
|
1467
1553
|
source_type?: "local" | "cloud" | unknown;
|
|
1468
|
-
}
|
|
1554
|
+
};
|
|
1469
1555
|
};
|
|
1470
1556
|
/**
|
|
1471
1557
|
* A "Resource object" representing a training_analytics
|
|
@@ -3324,6 +3410,43 @@ type Workspace = {
|
|
|
3324
3410
|
* Field included by default.
|
|
3325
3411
|
*/
|
|
3326
3412
|
claim_expiry_minutes?: number | null | unknown;
|
|
3413
|
+
/**
|
|
3414
|
+
* Configuration for cloud input sources. Field included by default.
|
|
3415
|
+
*/
|
|
3416
|
+
cloud_config?: {
|
|
3417
|
+
/**
|
|
3418
|
+
* Override bucket (defaults to tenant processing bucket). Field included by default.
|
|
3419
|
+
*/
|
|
3420
|
+
bucket?: string | null | unknown;
|
|
3421
|
+
/**
|
|
3422
|
+
* Delete source file instead of moving to processed. Field included by default.
|
|
3423
|
+
*/
|
|
3424
|
+
delete_after_processing: boolean;
|
|
3425
|
+
/**
|
|
3426
|
+
* Override error prefix (defaults to workspaces/{id}/errors/). Field included by default.
|
|
3427
|
+
*/
|
|
3428
|
+
error_prefix?: string | null | unknown;
|
|
3429
|
+
/**
|
|
3430
|
+
* Override input prefix (defaults to workspaces/{id}/input/). Field included by default.
|
|
3431
|
+
*/
|
|
3432
|
+
input_prefix?: string | null | unknown;
|
|
3433
|
+
/**
|
|
3434
|
+
* Field included by default.
|
|
3435
|
+
*/
|
|
3436
|
+
poll_interval_seconds: number;
|
|
3437
|
+
/**
|
|
3438
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/). Field included by default.
|
|
3439
|
+
*/
|
|
3440
|
+
processed_prefix?: string | null | unknown;
|
|
3441
|
+
/**
|
|
3442
|
+
* Field included by default.
|
|
3443
|
+
*/
|
|
3444
|
+
provider: "s3" | "minio" | "gcs";
|
|
3445
|
+
/**
|
|
3446
|
+
* Use S3 event notifications instead of polling. Field included by default.
|
|
3447
|
+
*/
|
|
3448
|
+
use_s3_events: boolean;
|
|
3449
|
+
} | null | unknown;
|
|
3327
3450
|
/**
|
|
3328
3451
|
* Field included by default.
|
|
3329
3452
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -292,15 +292,58 @@ type WorkspaceSettingsInputCreateType = {
|
|
|
292
292
|
input?: unknown;
|
|
293
293
|
output?: unknown;
|
|
294
294
|
};
|
|
295
|
-
watcher?: {
|
|
295
|
+
watcher?: unknown | {
|
|
296
296
|
claim_expiry_minutes?: number | unknown;
|
|
297
|
+
/**
|
|
298
|
+
* Configuration for cloud input sources
|
|
299
|
+
*/
|
|
300
|
+
cloud_config?: {
|
|
301
|
+
/**
|
|
302
|
+
* Override bucket (defaults to tenant processing bucket)
|
|
303
|
+
*/
|
|
304
|
+
bucket?: string | unknown;
|
|
305
|
+
/**
|
|
306
|
+
* Delete source file instead of moving to processed
|
|
307
|
+
*/
|
|
308
|
+
delete_after_processing?: boolean | unknown;
|
|
309
|
+
/**
|
|
310
|
+
* Override error prefix (defaults to workspaces/{id}/errors/)
|
|
311
|
+
*/
|
|
312
|
+
error_prefix?: string | unknown;
|
|
313
|
+
/**
|
|
314
|
+
* Override input prefix (defaults to workspaces/{id}/input/)
|
|
315
|
+
*/
|
|
316
|
+
input_prefix?: string | unknown;
|
|
317
|
+
poll_interval_seconds?: number | unknown;
|
|
318
|
+
/**
|
|
319
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/)
|
|
320
|
+
*/
|
|
321
|
+
processed_prefix?: string | unknown;
|
|
322
|
+
provider?: "s3" | "minio" | "gcs" | unknown;
|
|
323
|
+
/**
|
|
324
|
+
* Use S3 event notifications instead of polling
|
|
325
|
+
*/
|
|
326
|
+
use_s3_events?: boolean | unknown;
|
|
327
|
+
} | unknown;
|
|
297
328
|
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
298
329
|
enabled?: boolean | unknown;
|
|
299
330
|
log_retention_days?: number | unknown;
|
|
300
331
|
max_retries?: number | unknown;
|
|
301
332
|
retry_delay_ms?: number | unknown;
|
|
302
333
|
source_type?: "local" | "cloud" | unknown;
|
|
303
|
-
} |
|
|
334
|
+
} | {
|
|
335
|
+
claim_expiry_minutes?: number | unknown;
|
|
336
|
+
/**
|
|
337
|
+
* Configuration for cloud input sources
|
|
338
|
+
*/
|
|
339
|
+
cloud_config?: unknown;
|
|
340
|
+
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
341
|
+
enabled?: boolean | unknown;
|
|
342
|
+
log_retention_days?: number | unknown;
|
|
343
|
+
max_retries?: number | unknown;
|
|
344
|
+
retry_delay_ms?: number | unknown;
|
|
345
|
+
source_type?: "local" | "cloud" | unknown;
|
|
346
|
+
};
|
|
304
347
|
};
|
|
305
348
|
/**
|
|
306
349
|
* A "Resource object" representing a webhook_config
|
|
@@ -1457,15 +1500,58 @@ type WorkspaceSettingsInputUpdateType = {
|
|
|
1457
1500
|
input?: unknown;
|
|
1458
1501
|
output?: unknown;
|
|
1459
1502
|
};
|
|
1460
|
-
watcher?: {
|
|
1503
|
+
watcher?: unknown | {
|
|
1504
|
+
claim_expiry_minutes?: number | unknown;
|
|
1505
|
+
/**
|
|
1506
|
+
* Configuration for cloud input sources
|
|
1507
|
+
*/
|
|
1508
|
+
cloud_config?: {
|
|
1509
|
+
/**
|
|
1510
|
+
* Override bucket (defaults to tenant processing bucket)
|
|
1511
|
+
*/
|
|
1512
|
+
bucket?: string | unknown;
|
|
1513
|
+
/**
|
|
1514
|
+
* Delete source file instead of moving to processed
|
|
1515
|
+
*/
|
|
1516
|
+
delete_after_processing?: boolean | unknown;
|
|
1517
|
+
/**
|
|
1518
|
+
* Override error prefix (defaults to workspaces/{id}/errors/)
|
|
1519
|
+
*/
|
|
1520
|
+
error_prefix?: string | unknown;
|
|
1521
|
+
/**
|
|
1522
|
+
* Override input prefix (defaults to workspaces/{id}/input/)
|
|
1523
|
+
*/
|
|
1524
|
+
input_prefix?: string | unknown;
|
|
1525
|
+
poll_interval_seconds?: number | unknown;
|
|
1526
|
+
/**
|
|
1527
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/)
|
|
1528
|
+
*/
|
|
1529
|
+
processed_prefix?: string | unknown;
|
|
1530
|
+
provider?: "s3" | "minio" | "gcs" | unknown;
|
|
1531
|
+
/**
|
|
1532
|
+
* Use S3 event notifications instead of polling
|
|
1533
|
+
*/
|
|
1534
|
+
use_s3_events?: boolean | unknown;
|
|
1535
|
+
} | unknown;
|
|
1536
|
+
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
1537
|
+
enabled?: boolean | unknown;
|
|
1538
|
+
log_retention_days?: number | unknown;
|
|
1539
|
+
max_retries?: number | unknown;
|
|
1540
|
+
retry_delay_ms?: number | unknown;
|
|
1541
|
+
source_type?: "local" | "cloud" | unknown;
|
|
1542
|
+
} | {
|
|
1461
1543
|
claim_expiry_minutes?: number | unknown;
|
|
1544
|
+
/**
|
|
1545
|
+
* Configuration for cloud input sources
|
|
1546
|
+
*/
|
|
1547
|
+
cloud_config?: unknown;
|
|
1462
1548
|
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
1463
1549
|
enabled?: boolean | unknown;
|
|
1464
1550
|
log_retention_days?: number | unknown;
|
|
1465
1551
|
max_retries?: number | unknown;
|
|
1466
1552
|
retry_delay_ms?: number | unknown;
|
|
1467
1553
|
source_type?: "local" | "cloud" | unknown;
|
|
1468
|
-
}
|
|
1554
|
+
};
|
|
1469
1555
|
};
|
|
1470
1556
|
/**
|
|
1471
1557
|
* A "Resource object" representing a training_analytics
|
|
@@ -3324,6 +3410,43 @@ type Workspace = {
|
|
|
3324
3410
|
* Field included by default.
|
|
3325
3411
|
*/
|
|
3326
3412
|
claim_expiry_minutes?: number | null | unknown;
|
|
3413
|
+
/**
|
|
3414
|
+
* Configuration for cloud input sources. Field included by default.
|
|
3415
|
+
*/
|
|
3416
|
+
cloud_config?: {
|
|
3417
|
+
/**
|
|
3418
|
+
* Override bucket (defaults to tenant processing bucket). Field included by default.
|
|
3419
|
+
*/
|
|
3420
|
+
bucket?: string | null | unknown;
|
|
3421
|
+
/**
|
|
3422
|
+
* Delete source file instead of moving to processed. Field included by default.
|
|
3423
|
+
*/
|
|
3424
|
+
delete_after_processing: boolean;
|
|
3425
|
+
/**
|
|
3426
|
+
* Override error prefix (defaults to workspaces/{id}/errors/). Field included by default.
|
|
3427
|
+
*/
|
|
3428
|
+
error_prefix?: string | null | unknown;
|
|
3429
|
+
/**
|
|
3430
|
+
* Override input prefix (defaults to workspaces/{id}/input/). Field included by default.
|
|
3431
|
+
*/
|
|
3432
|
+
input_prefix?: string | null | unknown;
|
|
3433
|
+
/**
|
|
3434
|
+
* Field included by default.
|
|
3435
|
+
*/
|
|
3436
|
+
poll_interval_seconds: number;
|
|
3437
|
+
/**
|
|
3438
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/). Field included by default.
|
|
3439
|
+
*/
|
|
3440
|
+
processed_prefix?: string | null | unknown;
|
|
3441
|
+
/**
|
|
3442
|
+
* Field included by default.
|
|
3443
|
+
*/
|
|
3444
|
+
provider: "s3" | "minio" | "gcs";
|
|
3445
|
+
/**
|
|
3446
|
+
* Use S3 event notifications instead of polling. Field included by default.
|
|
3447
|
+
*/
|
|
3448
|
+
use_s3_events: boolean;
|
|
3449
|
+
} | null | unknown;
|
|
3327
3450
|
/**
|
|
3328
3451
|
* Field included by default.
|
|
3329
3452
|
*/
|
package/package.json
CHANGED