@gpt-core/admin 0.7.41 → 0.7.51

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 CHANGED
@@ -49,10 +49,6 @@ type WorkspaceSettingsInputCreateType = {
49
49
  review_train?: {
50
50
  confidence_threshold?: number | unknown;
51
51
  } | unknown;
52
- scheduling?: {
53
- enabled?: boolean | unknown;
54
- interval_minutes?: number | unknown;
55
- } | unknown;
56
52
  storage?: unknown | {
57
53
  errors?: {
58
54
  bucket_id?: string | unknown;
@@ -75,6 +71,15 @@ type WorkspaceSettingsInputCreateType = {
75
71
  input?: unknown;
76
72
  output?: unknown;
77
73
  };
74
+ watcher?: {
75
+ claim_expiry_minutes?: number | unknown;
76
+ duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
77
+ enabled?: boolean | unknown;
78
+ log_retention_days?: number | unknown;
79
+ max_retries?: number | unknown;
80
+ retry_delay_ms?: number | unknown;
81
+ source_type?: "local" | "cloud" | unknown;
82
+ } | unknown;
78
83
  };
79
84
  /**
80
85
  * A "Resource object" representing a webhook_config
@@ -1213,10 +1218,6 @@ type WorkspaceSettingsInputUpdateType = {
1213
1218
  review_train?: {
1214
1219
  confidence_threshold?: number | unknown;
1215
1220
  } | unknown;
1216
- scheduling?: {
1217
- enabled?: boolean | unknown;
1218
- interval_minutes?: number | unknown;
1219
- } | unknown;
1220
1221
  storage?: unknown | {
1221
1222
  errors?: {
1222
1223
  bucket_id?: string | unknown;
@@ -1239,6 +1240,15 @@ type WorkspaceSettingsInputUpdateType = {
1239
1240
  input?: unknown;
1240
1241
  output?: unknown;
1241
1242
  };
1243
+ watcher?: {
1244
+ claim_expiry_minutes?: number | unknown;
1245
+ duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
1246
+ enabled?: boolean | unknown;
1247
+ log_retention_days?: number | unknown;
1248
+ max_retries?: number | unknown;
1249
+ retry_delay_ms?: number | unknown;
1250
+ source_type?: "local" | "cloud" | unknown;
1251
+ } | unknown;
1242
1252
  };
1243
1253
  /**
1244
1254
  * A "Resource object" representing a training_analytics
@@ -2986,19 +2996,6 @@ type Workspace = {
2986
2996
  */
2987
2997
  confidence_threshold: number;
2988
2998
  };
2989
- /**
2990
- * Field included by default.
2991
- */
2992
- scheduling: {
2993
- /**
2994
- * Field included by default.
2995
- */
2996
- enabled: boolean;
2997
- /**
2998
- * Field included by default.
2999
- */
3000
- interval_minutes: number;
3001
- };
3002
2999
  /**
3003
3000
  * Field included by default.
3004
3001
  */
@@ -3059,6 +3056,39 @@ type Workspace = {
3059
3056
  retention_minutes?: number | null | unknown;
3060
3057
  };
3061
3058
  };
3059
+ /**
3060
+ * Field included by default.
3061
+ */
3062
+ watcher: {
3063
+ /**
3064
+ * Field included by default.
3065
+ */
3066
+ claim_expiry_minutes?: number | null | unknown;
3067
+ /**
3068
+ * Field included by default.
3069
+ */
3070
+ duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
3071
+ /**
3072
+ * Field included by default.
3073
+ */
3074
+ enabled: boolean;
3075
+ /**
3076
+ * Field included by default.
3077
+ */
3078
+ log_retention_days?: number | null | unknown;
3079
+ /**
3080
+ * Field included by default.
3081
+ */
3082
+ max_retries?: number | null | unknown;
3083
+ /**
3084
+ * Field included by default.
3085
+ */
3086
+ retry_delay_ms?: number | null | unknown;
3087
+ /**
3088
+ * Field included by default.
3089
+ */
3090
+ source_type?: "local" | "cloud" | unknown;
3091
+ };
3062
3092
  };
3063
3093
  /**
3064
3094
  * Field included by default.
@@ -3176,6 +3206,14 @@ type ExtractionDocument = {
3176
3206
  * Field included by default.
3177
3207
  */
3178
3208
  progress?: number | null | unknown;
3209
+ /**
3210
+ * Timestamp when document was moved to output/error bucket. Field included by default.
3211
+ */
3212
+ moved_at?: unknown;
3213
+ /**
3214
+ * Full path (bucket/key) where document was copied after successful extraction. Field included by default.
3215
+ */
3216
+ output_storage_path?: string | null | unknown;
3179
3217
  /**
3180
3218
  * Metadata about the training session for this document (trained_at, user_id, scores). Field included by default.
3181
3219
  */
@@ -3224,6 +3262,10 @@ type ExtractionDocument = {
3224
3262
  * State or province code (2-letter). Field included by default.
3225
3263
  */
3226
3264
  state?: string | null | unknown;
3265
+ /**
3266
+ * Full path (bucket/key) where document was copied after failed extraction. Field included by default.
3267
+ */
3268
+ error_storage_path?: string | null | unknown;
3227
3269
  /**
3228
3270
  * Document domain from specialty agent (legal, financial, medical, etc.). Field included by default.
3229
3271
  */
package/dist/index.d.ts CHANGED
@@ -49,10 +49,6 @@ type WorkspaceSettingsInputCreateType = {
49
49
  review_train?: {
50
50
  confidence_threshold?: number | unknown;
51
51
  } | unknown;
52
- scheduling?: {
53
- enabled?: boolean | unknown;
54
- interval_minutes?: number | unknown;
55
- } | unknown;
56
52
  storage?: unknown | {
57
53
  errors?: {
58
54
  bucket_id?: string | unknown;
@@ -75,6 +71,15 @@ type WorkspaceSettingsInputCreateType = {
75
71
  input?: unknown;
76
72
  output?: unknown;
77
73
  };
74
+ watcher?: {
75
+ claim_expiry_minutes?: number | unknown;
76
+ duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
77
+ enabled?: boolean | unknown;
78
+ log_retention_days?: number | unknown;
79
+ max_retries?: number | unknown;
80
+ retry_delay_ms?: number | unknown;
81
+ source_type?: "local" | "cloud" | unknown;
82
+ } | unknown;
78
83
  };
79
84
  /**
80
85
  * A "Resource object" representing a webhook_config
@@ -1213,10 +1218,6 @@ type WorkspaceSettingsInputUpdateType = {
1213
1218
  review_train?: {
1214
1219
  confidence_threshold?: number | unknown;
1215
1220
  } | unknown;
1216
- scheduling?: {
1217
- enabled?: boolean | unknown;
1218
- interval_minutes?: number | unknown;
1219
- } | unknown;
1220
1221
  storage?: unknown | {
1221
1222
  errors?: {
1222
1223
  bucket_id?: string | unknown;
@@ -1239,6 +1240,15 @@ type WorkspaceSettingsInputUpdateType = {
1239
1240
  input?: unknown;
1240
1241
  output?: unknown;
1241
1242
  };
1243
+ watcher?: {
1244
+ claim_expiry_minutes?: number | unknown;
1245
+ duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
1246
+ enabled?: boolean | unknown;
1247
+ log_retention_days?: number | unknown;
1248
+ max_retries?: number | unknown;
1249
+ retry_delay_ms?: number | unknown;
1250
+ source_type?: "local" | "cloud" | unknown;
1251
+ } | unknown;
1242
1252
  };
1243
1253
  /**
1244
1254
  * A "Resource object" representing a training_analytics
@@ -2986,19 +2996,6 @@ type Workspace = {
2986
2996
  */
2987
2997
  confidence_threshold: number;
2988
2998
  };
2989
- /**
2990
- * Field included by default.
2991
- */
2992
- scheduling: {
2993
- /**
2994
- * Field included by default.
2995
- */
2996
- enabled: boolean;
2997
- /**
2998
- * Field included by default.
2999
- */
3000
- interval_minutes: number;
3001
- };
3002
2999
  /**
3003
3000
  * Field included by default.
3004
3001
  */
@@ -3059,6 +3056,39 @@ type Workspace = {
3059
3056
  retention_minutes?: number | null | unknown;
3060
3057
  };
3061
3058
  };
3059
+ /**
3060
+ * Field included by default.
3061
+ */
3062
+ watcher: {
3063
+ /**
3064
+ * Field included by default.
3065
+ */
3066
+ claim_expiry_minutes?: number | null | unknown;
3067
+ /**
3068
+ * Field included by default.
3069
+ */
3070
+ duplicate_action?: "skip" | "move_to_processed" | "move_to_skipped" | unknown;
3071
+ /**
3072
+ * Field included by default.
3073
+ */
3074
+ enabled: boolean;
3075
+ /**
3076
+ * Field included by default.
3077
+ */
3078
+ log_retention_days?: number | null | unknown;
3079
+ /**
3080
+ * Field included by default.
3081
+ */
3082
+ max_retries?: number | null | unknown;
3083
+ /**
3084
+ * Field included by default.
3085
+ */
3086
+ retry_delay_ms?: number | null | unknown;
3087
+ /**
3088
+ * Field included by default.
3089
+ */
3090
+ source_type?: "local" | "cloud" | unknown;
3091
+ };
3062
3092
  };
3063
3093
  /**
3064
3094
  * Field included by default.
@@ -3176,6 +3206,14 @@ type ExtractionDocument = {
3176
3206
  * Field included by default.
3177
3207
  */
3178
3208
  progress?: number | null | unknown;
3209
+ /**
3210
+ * Timestamp when document was moved to output/error bucket. Field included by default.
3211
+ */
3212
+ moved_at?: unknown;
3213
+ /**
3214
+ * Full path (bucket/key) where document was copied after successful extraction. Field included by default.
3215
+ */
3216
+ output_storage_path?: string | null | unknown;
3179
3217
  /**
3180
3218
  * Metadata about the training session for this document (trained_at, user_id, scores). Field included by default.
3181
3219
  */
@@ -3224,6 +3262,10 @@ type ExtractionDocument = {
3224
3262
  * State or province code (2-letter). Field included by default.
3225
3263
  */
3226
3264
  state?: string | null | unknown;
3265
+ /**
3266
+ * Full path (bucket/key) where document was copied after failed extraction. Field included by default.
3267
+ */
3268
+ error_storage_path?: string | null | unknown;
3227
3269
  /**
3228
3270
  * Document domain from specialty agent (legal, financial, medical, etc.). Field included by default.
3229
3271
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/admin",
3
- "version": "0.7.41",
3
+ "version": "0.7.51",
4
4
  "description": "TypeScript SDK for GPT Core Admin API - Platform administration and ISV management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",