@gpt-core/client 0.5.95 → 0.5.96

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
@@ -2402,6 +2402,10 @@ type Workspace = {
2402
2402
  * Field included by default.
2403
2403
  */
2404
2404
  is_default: boolean;
2405
+ /**
2406
+ * Timestamp of the last successful folder sweep. Field included by default.
2407
+ */
2408
+ last_sweep_at?: unknown;
2405
2409
  /**
2406
2410
  * Field included by default.
2407
2411
  */
@@ -2639,6 +2643,10 @@ type ExtractionDocument = {
2639
2643
  * Field included by default.
2640
2644
  */
2641
2645
  error_message?: string | null | unknown;
2646
+ /**
2647
+ * SHA256 hash of the file content for deduplication. Field included by default.
2648
+ */
2649
+ file_hash?: string | null | unknown;
2642
2650
  /**
2643
2651
  * Field included by default.
2644
2652
  */
@@ -12483,7 +12491,7 @@ type PatchAgentsByIdData = {
12483
12491
  attributes?: {
12484
12492
  default_instructions?: string | unknown;
12485
12493
  description?: string | unknown;
12486
- domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | unknown;
12494
+ domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility" | unknown;
12487
12495
  instructions?: string | unknown;
12488
12496
  is_system?: boolean | unknown;
12489
12497
  name?: string | unknown;
@@ -15845,6 +15853,8 @@ type PostUsersAuthRegisterData = {
15845
15853
  data: {
15846
15854
  attributes?: {
15847
15855
  email: string;
15856
+ first_name?: string | unknown;
15857
+ last_name?: string | unknown;
15848
15858
  password: string;
15849
15859
  password_confirmation: string;
15850
15860
  tenant_name: string;
@@ -16288,6 +16298,10 @@ type PostExtractionDocumentsBeginUploadData = {
16288
16298
  attributes?: {
16289
16299
  batch_id?: string | unknown;
16290
16300
  content_type?: string | unknown;
16301
+ /**
16302
+ * SHA256 hash of the file content for deduplication
16303
+ */
16304
+ file_hash?: string | unknown;
16291
16305
  file_size_bytes?: number | unknown;
16292
16306
  file_type: "pdf" | "docx" | "image" | "zip";
16293
16307
  filename: string;
@@ -20085,7 +20099,7 @@ type PostAgentsData = {
20085
20099
  attributes?: {
20086
20100
  default_instructions?: string | unknown;
20087
20101
  description?: string | unknown;
20088
- domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | unknown;
20102
+ domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility" | unknown;
20089
20103
  instructions?: string | unknown;
20090
20104
  is_system?: boolean | unknown;
20091
20105
  name: string;
package/dist/index.d.ts CHANGED
@@ -2402,6 +2402,10 @@ type Workspace = {
2402
2402
  * Field included by default.
2403
2403
  */
2404
2404
  is_default: boolean;
2405
+ /**
2406
+ * Timestamp of the last successful folder sweep. Field included by default.
2407
+ */
2408
+ last_sweep_at?: unknown;
2405
2409
  /**
2406
2410
  * Field included by default.
2407
2411
  */
@@ -2639,6 +2643,10 @@ type ExtractionDocument = {
2639
2643
  * Field included by default.
2640
2644
  */
2641
2645
  error_message?: string | null | unknown;
2646
+ /**
2647
+ * SHA256 hash of the file content for deduplication. Field included by default.
2648
+ */
2649
+ file_hash?: string | null | unknown;
2642
2650
  /**
2643
2651
  * Field included by default.
2644
2652
  */
@@ -12483,7 +12491,7 @@ type PatchAgentsByIdData = {
12483
12491
  attributes?: {
12484
12492
  default_instructions?: string | unknown;
12485
12493
  description?: string | unknown;
12486
- domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | unknown;
12494
+ domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility" | unknown;
12487
12495
  instructions?: string | unknown;
12488
12496
  is_system?: boolean | unknown;
12489
12497
  name?: string | unknown;
@@ -15845,6 +15853,8 @@ type PostUsersAuthRegisterData = {
15845
15853
  data: {
15846
15854
  attributes?: {
15847
15855
  email: string;
15856
+ first_name?: string | unknown;
15857
+ last_name?: string | unknown;
15848
15858
  password: string;
15849
15859
  password_confirmation: string;
15850
15860
  tenant_name: string;
@@ -16288,6 +16298,10 @@ type PostExtractionDocumentsBeginUploadData = {
16288
16298
  attributes?: {
16289
16299
  batch_id?: string | unknown;
16290
16300
  content_type?: string | unknown;
16301
+ /**
16302
+ * SHA256 hash of the file content for deduplication
16303
+ */
16304
+ file_hash?: string | unknown;
16291
16305
  file_size_bytes?: number | unknown;
16292
16306
  file_type: "pdf" | "docx" | "image" | "zip";
16293
16307
  filename: string;
@@ -20085,7 +20099,7 @@ type PostAgentsData = {
20085
20099
  attributes?: {
20086
20100
  default_instructions?: string | unknown;
20087
20101
  description?: string | unknown;
20088
- domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | unknown;
20102
+ domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility" | unknown;
20089
20103
  instructions?: string | unknown;
20090
20104
  is_system?: boolean | unknown;
20091
20105
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.5.95",
3
+ "version": "0.5.96",
4
4
  "description": "TypeScript SDK for GPT Core Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",