@gpt-core/admin 0.7.66 → 0.7.68
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -3
- package/dist/index.mjs +1 -3
- package/package.json +11 -10
package/dist/index.d.mts
CHANGED
|
@@ -19632,6 +19632,9 @@ type PostAdminAgentsByIdDiscoverSchemaData = {
|
|
|
19632
19632
|
"x-application-key": string;
|
|
19633
19633
|
};
|
|
19634
19634
|
path: {
|
|
19635
|
+
/**
|
|
19636
|
+
* Agent ID (automatically mapped from route)
|
|
19637
|
+
*/
|
|
19635
19638
|
id: string;
|
|
19636
19639
|
};
|
|
19637
19640
|
query?: never;
|
|
@@ -27265,6 +27268,7 @@ declare class GptCoreError extends Error {
|
|
|
27265
27268
|
readonly requestId?: string;
|
|
27266
27269
|
readonly headers?: Record<string, string>;
|
|
27267
27270
|
readonly body?: any;
|
|
27271
|
+
cause?: Error;
|
|
27268
27272
|
constructor(message: string, options?: {
|
|
27269
27273
|
statusCode?: number;
|
|
27270
27274
|
code?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -19632,6 +19632,9 @@ type PostAdminAgentsByIdDiscoverSchemaData = {
|
|
|
19632
19632
|
"x-application-key": string;
|
|
19633
19633
|
};
|
|
19634
19634
|
path: {
|
|
19635
|
+
/**
|
|
19636
|
+
* Agent ID (automatically mapped from route)
|
|
19637
|
+
*/
|
|
19635
19638
|
id: string;
|
|
19636
19639
|
};
|
|
19637
19640
|
query?: never;
|
|
@@ -27265,6 +27268,7 @@ declare class GptCoreError extends Error {
|
|
|
27265
27268
|
readonly requestId?: string;
|
|
27266
27269
|
readonly headers?: Record<string, string>;
|
|
27267
27270
|
readonly body?: any;
|
|
27271
|
+
cause?: Error;
|
|
27268
27272
|
constructor(message: string, options?: {
|
|
27269
27273
|
statusCode?: number;
|
|
27270
27274
|
code?: string;
|
package/dist/index.js
CHANGED
|
@@ -1466,9 +1466,7 @@ var GptCoreError = class extends Error {
|
|
|
1466
1466
|
this.requestId = options?.requestId;
|
|
1467
1467
|
this.headers = options?.headers;
|
|
1468
1468
|
this.body = options?.body;
|
|
1469
|
-
|
|
1470
|
-
this.cause = options.cause;
|
|
1471
|
-
}
|
|
1469
|
+
this.cause = options?.cause;
|
|
1472
1470
|
if (Error.captureStackTrace) {
|
|
1473
1471
|
Error.captureStackTrace(this, this.constructor);
|
|
1474
1472
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1418,9 +1418,7 @@ var GptCoreError = class extends Error {
|
|
|
1418
1418
|
this.requestId = options?.requestId;
|
|
1419
1419
|
this.headers = options?.headers;
|
|
1420
1420
|
this.body = options?.body;
|
|
1421
|
-
|
|
1422
|
-
this.cause = options.cause;
|
|
1423
|
-
}
|
|
1421
|
+
this.cause = options?.cause;
|
|
1424
1422
|
if (Error.captureStackTrace) {
|
|
1425
1423
|
Error.captureStackTrace(this, this.constructor);
|
|
1426
1424
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/admin",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.68",
|
|
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",
|
|
@@ -42,14 +42,6 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"scripts": {
|
|
46
|
-
"generate": "openapi-ts",
|
|
47
|
-
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
48
|
-
"test": "vitest run",
|
|
49
|
-
"test:watch": "vitest",
|
|
50
|
-
"test:ui": "vitest --ui",
|
|
51
|
-
"test:coverage": "vitest run --coverage"
|
|
52
|
-
},
|
|
53
45
|
"dependencies": {
|
|
54
46
|
"zod": "^3.25.76"
|
|
55
47
|
},
|
|
@@ -61,5 +53,14 @@
|
|
|
61
53
|
"tsup": "^8.5.1",
|
|
62
54
|
"typescript": "^5.9.3",
|
|
63
55
|
"vitest": "^4.0.15"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"generate": "openapi-ts",
|
|
59
|
+
"typecheck": "tsc --noEmit",
|
|
60
|
+
"build": "npm run typecheck && 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"
|
|
64
65
|
}
|
|
65
|
-
}
|
|
66
|
+
}
|