@gpt-core/admin 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 +16 -0
- package/dist/index.d.ts +16 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1270,6 +1270,10 @@ type Tenant = {
|
|
|
1270
1270
|
* Field included by default.
|
|
1271
1271
|
*/
|
|
1272
1272
|
slug: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* Cost in credits for training on a single document. Field included by default.
|
|
1275
|
+
*/
|
|
1276
|
+
training_price_credits: number;
|
|
1273
1277
|
};
|
|
1274
1278
|
id: string;
|
|
1275
1279
|
/**
|
|
@@ -8106,6 +8110,10 @@ type PostAdminTenantsData = {
|
|
|
8106
8110
|
owner_id: string;
|
|
8107
8111
|
parent_id?: string | unknown;
|
|
8108
8112
|
slug: string;
|
|
8113
|
+
/**
|
|
8114
|
+
* Cost in credits for training on a single document
|
|
8115
|
+
*/
|
|
8116
|
+
training_price_credits?: number | unknown;
|
|
8109
8117
|
};
|
|
8110
8118
|
relationships?: {
|
|
8111
8119
|
[key: string]: never;
|
|
@@ -18563,6 +18571,7 @@ type PatchAdminExtractionResultsByIdCorrectionsData = {
|
|
|
18563
18571
|
body: {
|
|
18564
18572
|
data: {
|
|
18565
18573
|
attributes?: {
|
|
18574
|
+
confirmed_fields?: Array<string> | unknown;
|
|
18566
18575
|
corrections: Array<{
|
|
18567
18576
|
[key: string]: unknown;
|
|
18568
18577
|
}>;
|
|
@@ -20694,6 +20703,9 @@ type PostAdminAgentsByIdLearnFromDocumentData = {
|
|
|
20694
20703
|
"x-application-key": string;
|
|
20695
20704
|
};
|
|
20696
20705
|
path: {
|
|
20706
|
+
/**
|
|
20707
|
+
* Agent ID (automatically mapped from route)
|
|
20708
|
+
*/
|
|
20697
20709
|
id: string;
|
|
20698
20710
|
};
|
|
20699
20711
|
query?: {
|
|
@@ -22359,6 +22371,10 @@ type PatchAdminTenantsByIdData = {
|
|
|
22359
22371
|
name?: string | unknown;
|
|
22360
22372
|
parent_id?: string | unknown;
|
|
22361
22373
|
slug?: string | unknown;
|
|
22374
|
+
/**
|
|
22375
|
+
* Cost in credits for training on a single document
|
|
22376
|
+
*/
|
|
22377
|
+
training_price_credits?: number | unknown;
|
|
22362
22378
|
};
|
|
22363
22379
|
id: string;
|
|
22364
22380
|
relationships?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1270,6 +1270,10 @@ type Tenant = {
|
|
|
1270
1270
|
* Field included by default.
|
|
1271
1271
|
*/
|
|
1272
1272
|
slug: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* Cost in credits for training on a single document. Field included by default.
|
|
1275
|
+
*/
|
|
1276
|
+
training_price_credits: number;
|
|
1273
1277
|
};
|
|
1274
1278
|
id: string;
|
|
1275
1279
|
/**
|
|
@@ -8106,6 +8110,10 @@ type PostAdminTenantsData = {
|
|
|
8106
8110
|
owner_id: string;
|
|
8107
8111
|
parent_id?: string | unknown;
|
|
8108
8112
|
slug: string;
|
|
8113
|
+
/**
|
|
8114
|
+
* Cost in credits for training on a single document
|
|
8115
|
+
*/
|
|
8116
|
+
training_price_credits?: number | unknown;
|
|
8109
8117
|
};
|
|
8110
8118
|
relationships?: {
|
|
8111
8119
|
[key: string]: never;
|
|
@@ -18563,6 +18571,7 @@ type PatchAdminExtractionResultsByIdCorrectionsData = {
|
|
|
18563
18571
|
body: {
|
|
18564
18572
|
data: {
|
|
18565
18573
|
attributes?: {
|
|
18574
|
+
confirmed_fields?: Array<string> | unknown;
|
|
18566
18575
|
corrections: Array<{
|
|
18567
18576
|
[key: string]: unknown;
|
|
18568
18577
|
}>;
|
|
@@ -20694,6 +20703,9 @@ type PostAdminAgentsByIdLearnFromDocumentData = {
|
|
|
20694
20703
|
"x-application-key": string;
|
|
20695
20704
|
};
|
|
20696
20705
|
path: {
|
|
20706
|
+
/**
|
|
20707
|
+
* Agent ID (automatically mapped from route)
|
|
20708
|
+
*/
|
|
20697
20709
|
id: string;
|
|
20698
20710
|
};
|
|
20699
20711
|
query?: {
|
|
@@ -22359,6 +22371,10 @@ type PatchAdminTenantsByIdData = {
|
|
|
22359
22371
|
name?: string | unknown;
|
|
22360
22372
|
parent_id?: string | unknown;
|
|
22361
22373
|
slug?: string | unknown;
|
|
22374
|
+
/**
|
|
22375
|
+
* Cost in credits for training on a single document
|
|
22376
|
+
*/
|
|
22377
|
+
training_price_credits?: number | unknown;
|
|
22362
22378
|
};
|
|
22363
22379
|
id: string;
|
|
22364
22380
|
relationships?: {
|