@gpt-core/client 0.6.73 → 0.6.81

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
@@ -1255,6 +1255,10 @@ type Tenant = {
1255
1255
  * Field included by default.
1256
1256
  */
1257
1257
  slug: string;
1258
+ /**
1259
+ * Cost in credits for training on a single document. Field included by default.
1260
+ */
1261
+ training_price_credits: number;
1258
1262
  };
1259
1263
  id: string;
1260
1264
  /**
@@ -10965,6 +10969,7 @@ type PatchExtractionResultsByIdCorrectionsData = {
10965
10969
  body: {
10966
10970
  data: {
10967
10971
  attributes?: {
10972
+ confirmed_fields?: Array<string> | unknown;
10968
10973
  corrections: Array<{
10969
10974
  [key: string]: unknown;
10970
10975
  }>;
@@ -11437,6 +11442,10 @@ type PostTenantsData = {
11437
11442
  owner_id: string;
11438
11443
  parent_id?: string | unknown;
11439
11444
  slug: string;
11445
+ /**
11446
+ * Cost in credits for training on a single document
11447
+ */
11448
+ training_price_credits?: number | unknown;
11440
11449
  };
11441
11450
  relationships?: {
11442
11451
  [key: string]: never;
@@ -13766,6 +13775,9 @@ type PostAgentsByIdLearnFromDocumentData = {
13766
13775
  "x-application-key": string;
13767
13776
  };
13768
13777
  path: {
13778
+ /**
13779
+ * Agent ID (automatically mapped from route)
13780
+ */
13769
13781
  id: string;
13770
13782
  };
13771
13783
  query?: {
@@ -17450,6 +17462,10 @@ type PatchTenantsByIdData = {
17450
17462
  name?: string | unknown;
17451
17463
  parent_id?: string | unknown;
17452
17464
  slug?: string | unknown;
17465
+ /**
17466
+ * Cost in credits for training on a single document
17467
+ */
17468
+ training_price_credits?: number | unknown;
17453
17469
  };
17454
17470
  id: string;
17455
17471
  relationships?: {
package/dist/index.d.ts CHANGED
@@ -1255,6 +1255,10 @@ type Tenant = {
1255
1255
  * Field included by default.
1256
1256
  */
1257
1257
  slug: string;
1258
+ /**
1259
+ * Cost in credits for training on a single document. Field included by default.
1260
+ */
1261
+ training_price_credits: number;
1258
1262
  };
1259
1263
  id: string;
1260
1264
  /**
@@ -10965,6 +10969,7 @@ type PatchExtractionResultsByIdCorrectionsData = {
10965
10969
  body: {
10966
10970
  data: {
10967
10971
  attributes?: {
10972
+ confirmed_fields?: Array<string> | unknown;
10968
10973
  corrections: Array<{
10969
10974
  [key: string]: unknown;
10970
10975
  }>;
@@ -11437,6 +11442,10 @@ type PostTenantsData = {
11437
11442
  owner_id: string;
11438
11443
  parent_id?: string | unknown;
11439
11444
  slug: string;
11445
+ /**
11446
+ * Cost in credits for training on a single document
11447
+ */
11448
+ training_price_credits?: number | unknown;
11440
11449
  };
11441
11450
  relationships?: {
11442
11451
  [key: string]: never;
@@ -13766,6 +13775,9 @@ type PostAgentsByIdLearnFromDocumentData = {
13766
13775
  "x-application-key": string;
13767
13776
  };
13768
13777
  path: {
13778
+ /**
13779
+ * Agent ID (automatically mapped from route)
13780
+ */
13769
13781
  id: string;
13770
13782
  };
13771
13783
  query?: {
@@ -17450,6 +17462,10 @@ type PatchTenantsByIdData = {
17450
17462
  name?: string | unknown;
17451
17463
  parent_id?: string | unknown;
17452
17464
  slug?: string | unknown;
17465
+ /**
17466
+ * Cost in credits for training on a single document
17467
+ */
17468
+ training_price_credits?: number | unknown;
17453
17469
  };
17454
17470
  id: string;
17455
17471
  relationships?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.6.73",
3
+ "version": "0.6.81",
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",