@gpt-core/client 0.7.65 → 0.7.67
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 +27 -0
- package/dist/index.d.ts +27 -0
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -454,6 +454,18 @@ type Wallet = {
|
|
|
454
454
|
* Field included by default.
|
|
455
455
|
*/
|
|
456
456
|
application_id: string;
|
|
457
|
+
/**
|
|
458
|
+
* Amount in credits. Field included by default.
|
|
459
|
+
*/
|
|
460
|
+
auto_top_up_amount?: number | null | unknown;
|
|
461
|
+
/**
|
|
462
|
+
* Field included by default.
|
|
463
|
+
*/
|
|
464
|
+
auto_top_up_enabled: boolean;
|
|
465
|
+
/**
|
|
466
|
+
* Threshold in credits. Field included by default.
|
|
467
|
+
*/
|
|
468
|
+
auto_top_up_threshold?: number | null | unknown;
|
|
457
469
|
/**
|
|
458
470
|
* Field included by default.
|
|
459
471
|
*/
|
|
@@ -1735,6 +1747,18 @@ type Tenant = {
|
|
|
1735
1747
|
* An attributes object for a tenant
|
|
1736
1748
|
*/
|
|
1737
1749
|
attributes?: {
|
|
1750
|
+
/**
|
|
1751
|
+
* Amount of credits to purchase during auto top-up. Field included by default.
|
|
1752
|
+
*/
|
|
1753
|
+
auto_top_up_amount: number;
|
|
1754
|
+
/**
|
|
1755
|
+
* Field included by default.
|
|
1756
|
+
*/
|
|
1757
|
+
auto_top_up_enabled: boolean;
|
|
1758
|
+
/**
|
|
1759
|
+
* Credit balance threshold to trigger auto top-up. Field included by default.
|
|
1760
|
+
*/
|
|
1761
|
+
auto_top_up_threshold: number;
|
|
1738
1762
|
/**
|
|
1739
1763
|
* Field included by default.
|
|
1740
1764
|
*/
|
|
@@ -22036,6 +22060,9 @@ type PostAgentsByIdDiscoverSchemaData = {
|
|
|
22036
22060
|
"x-application-key": string;
|
|
22037
22061
|
};
|
|
22038
22062
|
path: {
|
|
22063
|
+
/**
|
|
22064
|
+
* Agent ID (automatically mapped from route)
|
|
22065
|
+
*/
|
|
22039
22066
|
id: string;
|
|
22040
22067
|
};
|
|
22041
22068
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -454,6 +454,18 @@ type Wallet = {
|
|
|
454
454
|
* Field included by default.
|
|
455
455
|
*/
|
|
456
456
|
application_id: string;
|
|
457
|
+
/**
|
|
458
|
+
* Amount in credits. Field included by default.
|
|
459
|
+
*/
|
|
460
|
+
auto_top_up_amount?: number | null | unknown;
|
|
461
|
+
/**
|
|
462
|
+
* Field included by default.
|
|
463
|
+
*/
|
|
464
|
+
auto_top_up_enabled: boolean;
|
|
465
|
+
/**
|
|
466
|
+
* Threshold in credits. Field included by default.
|
|
467
|
+
*/
|
|
468
|
+
auto_top_up_threshold?: number | null | unknown;
|
|
457
469
|
/**
|
|
458
470
|
* Field included by default.
|
|
459
471
|
*/
|
|
@@ -1735,6 +1747,18 @@ type Tenant = {
|
|
|
1735
1747
|
* An attributes object for a tenant
|
|
1736
1748
|
*/
|
|
1737
1749
|
attributes?: {
|
|
1750
|
+
/**
|
|
1751
|
+
* Amount of credits to purchase during auto top-up. Field included by default.
|
|
1752
|
+
*/
|
|
1753
|
+
auto_top_up_amount: number;
|
|
1754
|
+
/**
|
|
1755
|
+
* Field included by default.
|
|
1756
|
+
*/
|
|
1757
|
+
auto_top_up_enabled: boolean;
|
|
1758
|
+
/**
|
|
1759
|
+
* Credit balance threshold to trigger auto top-up. Field included by default.
|
|
1760
|
+
*/
|
|
1761
|
+
auto_top_up_threshold: number;
|
|
1738
1762
|
/**
|
|
1739
1763
|
* Field included by default.
|
|
1740
1764
|
*/
|
|
@@ -22036,6 +22060,9 @@ type PostAgentsByIdDiscoverSchemaData = {
|
|
|
22036
22060
|
"x-application-key": string;
|
|
22037
22061
|
};
|
|
22038
22062
|
path: {
|
|
22063
|
+
/**
|
|
22064
|
+
* Agent ID (automatically mapped from route)
|
|
22065
|
+
*/
|
|
22039
22066
|
id: string;
|
|
22040
22067
|
};
|
|
22041
22068
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/client",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.67",
|
|
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",
|
|
@@ -43,14 +43,6 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"scripts": {
|
|
47
|
-
"generate": "openapi-ts",
|
|
48
|
-
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
49
|
-
"test": "vitest run",
|
|
50
|
-
"test:watch": "vitest",
|
|
51
|
-
"test:ui": "vitest --ui",
|
|
52
|
-
"test:coverage": "vitest run --coverage"
|
|
53
|
-
},
|
|
54
46
|
"dependencies": {
|
|
55
47
|
"eventsource-parser": "^3.0.6",
|
|
56
48
|
"zod": "^3.25.76"
|
|
@@ -62,5 +54,13 @@
|
|
|
62
54
|
"tsup": "^8.5.1",
|
|
63
55
|
"typescript": "^5.9.3",
|
|
64
56
|
"vitest": "^4.0.15"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"generate": "openapi-ts",
|
|
60
|
+
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
61
|
+
"test": "vitest run",
|
|
62
|
+
"test:watch": "vitest",
|
|
63
|
+
"test:ui": "vitest --ui",
|
|
64
|
+
"test:coverage": "vitest run --coverage"
|
|
65
65
|
}
|
|
66
|
-
}
|
|
66
|
+
}
|