@gpt-core/admin 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
|
@@ -67,15 +67,58 @@ type WorkspaceSettingsInputCreateType = {
|
|
|
67
67
|
input?: unknown;
|
|
68
68
|
output?: unknown;
|
|
69
69
|
};
|
|
70
|
-
watcher?: {
|
|
70
|
+
watcher?: unknown | {
|
|
71
71
|
claim_expiry_minutes?: number | unknown;
|
|
72
|
+
/**
|
|
73
|
+
* Configuration for cloud input sources
|
|
74
|
+
*/
|
|
75
|
+
cloud_config?: {
|
|
76
|
+
/**
|
|
77
|
+
* Override bucket (defaults to tenant processing bucket)
|
|
78
|
+
*/
|
|
79
|
+
bucket?: string | unknown;
|
|
80
|
+
/**
|
|
81
|
+
* Delete source file instead of moving to processed
|
|
82
|
+
*/
|
|
83
|
+
delete_after_processing?: boolean | unknown;
|
|
84
|
+
/**
|
|
85
|
+
* Override error prefix (defaults to workspaces/{id}/errors/)
|
|
86
|
+
*/
|
|
87
|
+
error_prefix?: string | unknown;
|
|
88
|
+
/**
|
|
89
|
+
* Override input prefix (defaults to workspaces/{id}/input/)
|
|
90
|
+
*/
|
|
91
|
+
input_prefix?: string | unknown;
|
|
92
|
+
poll_interval_seconds?: number | unknown;
|
|
93
|
+
/**
|
|
94
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/)
|
|
95
|
+
*/
|
|
96
|
+
processed_prefix?: string | unknown;
|
|
97
|
+
provider?: "s3" | "minio" | "gcs" | unknown;
|
|
98
|
+
/**
|
|
99
|
+
* Use S3 event notifications instead of polling
|
|
100
|
+
*/
|
|
101
|
+
use_s3_events?: boolean | unknown;
|
|
102
|
+
} | unknown;
|
|
72
103
|
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
73
104
|
enabled?: boolean | unknown;
|
|
74
105
|
log_retention_days?: number | unknown;
|
|
75
106
|
max_retries?: number | unknown;
|
|
76
107
|
retry_delay_ms?: number | unknown;
|
|
77
108
|
source_type?: "local" | "cloud" | unknown;
|
|
78
|
-
} |
|
|
109
|
+
} | {
|
|
110
|
+
claim_expiry_minutes?: number | unknown;
|
|
111
|
+
/**
|
|
112
|
+
* Configuration for cloud input sources
|
|
113
|
+
*/
|
|
114
|
+
cloud_config?: unknown;
|
|
115
|
+
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
116
|
+
enabled?: boolean | unknown;
|
|
117
|
+
log_retention_days?: number | unknown;
|
|
118
|
+
max_retries?: number | unknown;
|
|
119
|
+
retry_delay_ms?: number | unknown;
|
|
120
|
+
source_type?: "local" | "cloud" | unknown;
|
|
121
|
+
};
|
|
79
122
|
};
|
|
80
123
|
/**
|
|
81
124
|
* A "Resource object" representing a webhook_config
|
|
@@ -1232,15 +1275,58 @@ type WorkspaceSettingsInputUpdateType = {
|
|
|
1232
1275
|
input?: unknown;
|
|
1233
1276
|
output?: unknown;
|
|
1234
1277
|
};
|
|
1235
|
-
watcher?: {
|
|
1278
|
+
watcher?: unknown | {
|
|
1279
|
+
claim_expiry_minutes?: number | unknown;
|
|
1280
|
+
/**
|
|
1281
|
+
* Configuration for cloud input sources
|
|
1282
|
+
*/
|
|
1283
|
+
cloud_config?: {
|
|
1284
|
+
/**
|
|
1285
|
+
* Override bucket (defaults to tenant processing bucket)
|
|
1286
|
+
*/
|
|
1287
|
+
bucket?: string | unknown;
|
|
1288
|
+
/**
|
|
1289
|
+
* Delete source file instead of moving to processed
|
|
1290
|
+
*/
|
|
1291
|
+
delete_after_processing?: boolean | unknown;
|
|
1292
|
+
/**
|
|
1293
|
+
* Override error prefix (defaults to workspaces/{id}/errors/)
|
|
1294
|
+
*/
|
|
1295
|
+
error_prefix?: string | unknown;
|
|
1296
|
+
/**
|
|
1297
|
+
* Override input prefix (defaults to workspaces/{id}/input/)
|
|
1298
|
+
*/
|
|
1299
|
+
input_prefix?: string | unknown;
|
|
1300
|
+
poll_interval_seconds?: number | unknown;
|
|
1301
|
+
/**
|
|
1302
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/)
|
|
1303
|
+
*/
|
|
1304
|
+
processed_prefix?: string | unknown;
|
|
1305
|
+
provider?: "s3" | "minio" | "gcs" | unknown;
|
|
1306
|
+
/**
|
|
1307
|
+
* Use S3 event notifications instead of polling
|
|
1308
|
+
*/
|
|
1309
|
+
use_s3_events?: boolean | unknown;
|
|
1310
|
+
} | unknown;
|
|
1311
|
+
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
1312
|
+
enabled?: boolean | unknown;
|
|
1313
|
+
log_retention_days?: number | unknown;
|
|
1314
|
+
max_retries?: number | unknown;
|
|
1315
|
+
retry_delay_ms?: number | unknown;
|
|
1316
|
+
source_type?: "local" | "cloud" | unknown;
|
|
1317
|
+
} | {
|
|
1236
1318
|
claim_expiry_minutes?: number | unknown;
|
|
1319
|
+
/**
|
|
1320
|
+
* Configuration for cloud input sources
|
|
1321
|
+
*/
|
|
1322
|
+
cloud_config?: unknown;
|
|
1237
1323
|
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
1238
1324
|
enabled?: boolean | unknown;
|
|
1239
1325
|
log_retention_days?: number | unknown;
|
|
1240
1326
|
max_retries?: number | unknown;
|
|
1241
1327
|
retry_delay_ms?: number | unknown;
|
|
1242
1328
|
source_type?: "local" | "cloud" | unknown;
|
|
1243
|
-
}
|
|
1329
|
+
};
|
|
1244
1330
|
};
|
|
1245
1331
|
/**
|
|
1246
1332
|
* A "Resource object" representing a training_analytics
|
|
@@ -3099,6 +3185,43 @@ type Workspace = {
|
|
|
3099
3185
|
* Field included by default.
|
|
3100
3186
|
*/
|
|
3101
3187
|
claim_expiry_minutes?: number | null | unknown;
|
|
3188
|
+
/**
|
|
3189
|
+
* Configuration for cloud input sources. Field included by default.
|
|
3190
|
+
*/
|
|
3191
|
+
cloud_config?: {
|
|
3192
|
+
/**
|
|
3193
|
+
* Override bucket (defaults to tenant processing bucket). Field included by default.
|
|
3194
|
+
*/
|
|
3195
|
+
bucket?: string | null | unknown;
|
|
3196
|
+
/**
|
|
3197
|
+
* Delete source file instead of moving to processed. Field included by default.
|
|
3198
|
+
*/
|
|
3199
|
+
delete_after_processing: boolean;
|
|
3200
|
+
/**
|
|
3201
|
+
* Override error prefix (defaults to workspaces/{id}/errors/). Field included by default.
|
|
3202
|
+
*/
|
|
3203
|
+
error_prefix?: string | null | unknown;
|
|
3204
|
+
/**
|
|
3205
|
+
* Override input prefix (defaults to workspaces/{id}/input/). Field included by default.
|
|
3206
|
+
*/
|
|
3207
|
+
input_prefix?: string | null | unknown;
|
|
3208
|
+
/**
|
|
3209
|
+
* Field included by default.
|
|
3210
|
+
*/
|
|
3211
|
+
poll_interval_seconds: number;
|
|
3212
|
+
/**
|
|
3213
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/). Field included by default.
|
|
3214
|
+
*/
|
|
3215
|
+
processed_prefix?: string | null | unknown;
|
|
3216
|
+
/**
|
|
3217
|
+
* Field included by default.
|
|
3218
|
+
*/
|
|
3219
|
+
provider: "s3" | "minio" | "gcs";
|
|
3220
|
+
/**
|
|
3221
|
+
* Use S3 event notifications instead of polling. Field included by default.
|
|
3222
|
+
*/
|
|
3223
|
+
use_s3_events: boolean;
|
|
3224
|
+
} | null | unknown;
|
|
3102
3225
|
/**
|
|
3103
3226
|
* Field included by default.
|
|
3104
3227
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -67,15 +67,58 @@ type WorkspaceSettingsInputCreateType = {
|
|
|
67
67
|
input?: unknown;
|
|
68
68
|
output?: unknown;
|
|
69
69
|
};
|
|
70
|
-
watcher?: {
|
|
70
|
+
watcher?: unknown | {
|
|
71
71
|
claim_expiry_minutes?: number | unknown;
|
|
72
|
+
/**
|
|
73
|
+
* Configuration for cloud input sources
|
|
74
|
+
*/
|
|
75
|
+
cloud_config?: {
|
|
76
|
+
/**
|
|
77
|
+
* Override bucket (defaults to tenant processing bucket)
|
|
78
|
+
*/
|
|
79
|
+
bucket?: string | unknown;
|
|
80
|
+
/**
|
|
81
|
+
* Delete source file instead of moving to processed
|
|
82
|
+
*/
|
|
83
|
+
delete_after_processing?: boolean | unknown;
|
|
84
|
+
/**
|
|
85
|
+
* Override error prefix (defaults to workspaces/{id}/errors/)
|
|
86
|
+
*/
|
|
87
|
+
error_prefix?: string | unknown;
|
|
88
|
+
/**
|
|
89
|
+
* Override input prefix (defaults to workspaces/{id}/input/)
|
|
90
|
+
*/
|
|
91
|
+
input_prefix?: string | unknown;
|
|
92
|
+
poll_interval_seconds?: number | unknown;
|
|
93
|
+
/**
|
|
94
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/)
|
|
95
|
+
*/
|
|
96
|
+
processed_prefix?: string | unknown;
|
|
97
|
+
provider?: "s3" | "minio" | "gcs" | unknown;
|
|
98
|
+
/**
|
|
99
|
+
* Use S3 event notifications instead of polling
|
|
100
|
+
*/
|
|
101
|
+
use_s3_events?: boolean | unknown;
|
|
102
|
+
} | unknown;
|
|
72
103
|
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
73
104
|
enabled?: boolean | unknown;
|
|
74
105
|
log_retention_days?: number | unknown;
|
|
75
106
|
max_retries?: number | unknown;
|
|
76
107
|
retry_delay_ms?: number | unknown;
|
|
77
108
|
source_type?: "local" | "cloud" | unknown;
|
|
78
|
-
} |
|
|
109
|
+
} | {
|
|
110
|
+
claim_expiry_minutes?: number | unknown;
|
|
111
|
+
/**
|
|
112
|
+
* Configuration for cloud input sources
|
|
113
|
+
*/
|
|
114
|
+
cloud_config?: unknown;
|
|
115
|
+
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
116
|
+
enabled?: boolean | unknown;
|
|
117
|
+
log_retention_days?: number | unknown;
|
|
118
|
+
max_retries?: number | unknown;
|
|
119
|
+
retry_delay_ms?: number | unknown;
|
|
120
|
+
source_type?: "local" | "cloud" | unknown;
|
|
121
|
+
};
|
|
79
122
|
};
|
|
80
123
|
/**
|
|
81
124
|
* A "Resource object" representing a webhook_config
|
|
@@ -1232,15 +1275,58 @@ type WorkspaceSettingsInputUpdateType = {
|
|
|
1232
1275
|
input?: unknown;
|
|
1233
1276
|
output?: unknown;
|
|
1234
1277
|
};
|
|
1235
|
-
watcher?: {
|
|
1278
|
+
watcher?: unknown | {
|
|
1279
|
+
claim_expiry_minutes?: number | unknown;
|
|
1280
|
+
/**
|
|
1281
|
+
* Configuration for cloud input sources
|
|
1282
|
+
*/
|
|
1283
|
+
cloud_config?: {
|
|
1284
|
+
/**
|
|
1285
|
+
* Override bucket (defaults to tenant processing bucket)
|
|
1286
|
+
*/
|
|
1287
|
+
bucket?: string | unknown;
|
|
1288
|
+
/**
|
|
1289
|
+
* Delete source file instead of moving to processed
|
|
1290
|
+
*/
|
|
1291
|
+
delete_after_processing?: boolean | unknown;
|
|
1292
|
+
/**
|
|
1293
|
+
* Override error prefix (defaults to workspaces/{id}/errors/)
|
|
1294
|
+
*/
|
|
1295
|
+
error_prefix?: string | unknown;
|
|
1296
|
+
/**
|
|
1297
|
+
* Override input prefix (defaults to workspaces/{id}/input/)
|
|
1298
|
+
*/
|
|
1299
|
+
input_prefix?: string | unknown;
|
|
1300
|
+
poll_interval_seconds?: number | unknown;
|
|
1301
|
+
/**
|
|
1302
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/)
|
|
1303
|
+
*/
|
|
1304
|
+
processed_prefix?: string | unknown;
|
|
1305
|
+
provider?: "s3" | "minio" | "gcs" | unknown;
|
|
1306
|
+
/**
|
|
1307
|
+
* Use S3 event notifications instead of polling
|
|
1308
|
+
*/
|
|
1309
|
+
use_s3_events?: boolean | unknown;
|
|
1310
|
+
} | unknown;
|
|
1311
|
+
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
1312
|
+
enabled?: boolean | unknown;
|
|
1313
|
+
log_retention_days?: number | unknown;
|
|
1314
|
+
max_retries?: number | unknown;
|
|
1315
|
+
retry_delay_ms?: number | unknown;
|
|
1316
|
+
source_type?: "local" | "cloud" | unknown;
|
|
1317
|
+
} | {
|
|
1236
1318
|
claim_expiry_minutes?: number | unknown;
|
|
1319
|
+
/**
|
|
1320
|
+
* Configuration for cloud input sources
|
|
1321
|
+
*/
|
|
1322
|
+
cloud_config?: unknown;
|
|
1237
1323
|
duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
|
|
1238
1324
|
enabled?: boolean | unknown;
|
|
1239
1325
|
log_retention_days?: number | unknown;
|
|
1240
1326
|
max_retries?: number | unknown;
|
|
1241
1327
|
retry_delay_ms?: number | unknown;
|
|
1242
1328
|
source_type?: "local" | "cloud" | unknown;
|
|
1243
|
-
}
|
|
1329
|
+
};
|
|
1244
1330
|
};
|
|
1245
1331
|
/**
|
|
1246
1332
|
* A "Resource object" representing a training_analytics
|
|
@@ -3099,6 +3185,43 @@ type Workspace = {
|
|
|
3099
3185
|
* Field included by default.
|
|
3100
3186
|
*/
|
|
3101
3187
|
claim_expiry_minutes?: number | null | unknown;
|
|
3188
|
+
/**
|
|
3189
|
+
* Configuration for cloud input sources. Field included by default.
|
|
3190
|
+
*/
|
|
3191
|
+
cloud_config?: {
|
|
3192
|
+
/**
|
|
3193
|
+
* Override bucket (defaults to tenant processing bucket). Field included by default.
|
|
3194
|
+
*/
|
|
3195
|
+
bucket?: string | null | unknown;
|
|
3196
|
+
/**
|
|
3197
|
+
* Delete source file instead of moving to processed. Field included by default.
|
|
3198
|
+
*/
|
|
3199
|
+
delete_after_processing: boolean;
|
|
3200
|
+
/**
|
|
3201
|
+
* Override error prefix (defaults to workspaces/{id}/errors/). Field included by default.
|
|
3202
|
+
*/
|
|
3203
|
+
error_prefix?: string | null | unknown;
|
|
3204
|
+
/**
|
|
3205
|
+
* Override input prefix (defaults to workspaces/{id}/input/). Field included by default.
|
|
3206
|
+
*/
|
|
3207
|
+
input_prefix?: string | null | unknown;
|
|
3208
|
+
/**
|
|
3209
|
+
* Field included by default.
|
|
3210
|
+
*/
|
|
3211
|
+
poll_interval_seconds: number;
|
|
3212
|
+
/**
|
|
3213
|
+
* Override processed prefix (defaults to workspaces/{id}/processed/). Field included by default.
|
|
3214
|
+
*/
|
|
3215
|
+
processed_prefix?: string | null | unknown;
|
|
3216
|
+
/**
|
|
3217
|
+
* Field included by default.
|
|
3218
|
+
*/
|
|
3219
|
+
provider: "s3" | "minio" | "gcs";
|
|
3220
|
+
/**
|
|
3221
|
+
* Use S3 event notifications instead of polling. Field included by default.
|
|
3222
|
+
*/
|
|
3223
|
+
use_s3_events: boolean;
|
|
3224
|
+
} | null | unknown;
|
|
3102
3225
|
/**
|
|
3103
3226
|
* Field included by default.
|
|
3104
3227
|
*/
|