@gpt-core/admin 0.7.70 → 0.7.72
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 +23 -10
- package/dist/index.d.ts +23 -10
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -266,9 +266,11 @@ type Wallet = {
|
|
|
266
266
|
/**
|
|
267
267
|
* Field included by default.
|
|
268
268
|
*/
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
269
|
+
plan_id?: string | null | unknown;
|
|
270
|
+
/**
|
|
271
|
+
* Field included by default.
|
|
272
|
+
*/
|
|
273
|
+
plan_slug?: string | null | unknown;
|
|
272
274
|
/**
|
|
273
275
|
* Field included by default.
|
|
274
276
|
*/
|
|
@@ -283,7 +285,18 @@ type Wallet = {
|
|
|
283
285
|
* A relationships object for a wallet
|
|
284
286
|
*/
|
|
285
287
|
relationships?: {
|
|
286
|
-
|
|
288
|
+
plan?: {
|
|
289
|
+
/**
|
|
290
|
+
* An identifier for plan
|
|
291
|
+
*/
|
|
292
|
+
data?: {
|
|
293
|
+
id: string;
|
|
294
|
+
meta?: {
|
|
295
|
+
[key: string]: unknown;
|
|
296
|
+
};
|
|
297
|
+
type: string;
|
|
298
|
+
} | null;
|
|
299
|
+
};
|
|
287
300
|
};
|
|
288
301
|
type: string;
|
|
289
302
|
};
|
|
@@ -3751,7 +3764,7 @@ type GetAdminWalletResponses = {
|
|
|
3751
3764
|
*/
|
|
3752
3765
|
200: {
|
|
3753
3766
|
data?: Wallet;
|
|
3754
|
-
included?: Array<
|
|
3767
|
+
included?: Array<Plan>;
|
|
3755
3768
|
meta?: {
|
|
3756
3769
|
[key: string]: unknown;
|
|
3757
3770
|
};
|
|
@@ -4620,7 +4633,7 @@ type PatchAdminWalletStorageResponses = {
|
|
|
4620
4633
|
*/
|
|
4621
4634
|
200: {
|
|
4622
4635
|
data?: Wallet;
|
|
4623
|
-
included?: Array<
|
|
4636
|
+
included?: Array<Plan>;
|
|
4624
4637
|
meta?: {
|
|
4625
4638
|
[key: string]: unknown;
|
|
4626
4639
|
};
|
|
@@ -8066,7 +8079,7 @@ type PatchAdminWalletAddonsByAddonSlugCancelResponses = {
|
|
|
8066
8079
|
*/
|
|
8067
8080
|
200: {
|
|
8068
8081
|
data?: Wallet;
|
|
8069
|
-
included?: Array<
|
|
8082
|
+
included?: Array<Plan>;
|
|
8070
8083
|
meta?: {
|
|
8071
8084
|
[key: string]: unknown;
|
|
8072
8085
|
};
|
|
@@ -12227,7 +12240,7 @@ type PatchAdminWalletCreditsResponses = {
|
|
|
12227
12240
|
*/
|
|
12228
12241
|
200: {
|
|
12229
12242
|
data?: Wallet;
|
|
12230
|
-
included?: Array<
|
|
12243
|
+
included?: Array<Plan>;
|
|
12231
12244
|
meta?: {
|
|
12232
12245
|
[key: string]: unknown;
|
|
12233
12246
|
};
|
|
@@ -13581,7 +13594,7 @@ type PatchAdminWalletPlanResponses = {
|
|
|
13581
13594
|
*/
|
|
13582
13595
|
200: {
|
|
13583
13596
|
data?: Wallet;
|
|
13584
|
-
included?: Array<
|
|
13597
|
+
included?: Array<Plan>;
|
|
13585
13598
|
meta?: {
|
|
13586
13599
|
[key: string]: unknown;
|
|
13587
13600
|
};
|
|
@@ -23497,7 +23510,7 @@ type PatchAdminWalletAddonsResponses = {
|
|
|
23497
23510
|
*/
|
|
23498
23511
|
200: {
|
|
23499
23512
|
data?: Wallet;
|
|
23500
|
-
included?: Array<
|
|
23513
|
+
included?: Array<Plan>;
|
|
23501
23514
|
meta?: {
|
|
23502
23515
|
[key: string]: unknown;
|
|
23503
23516
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -266,9 +266,11 @@ type Wallet = {
|
|
|
266
266
|
/**
|
|
267
267
|
* Field included by default.
|
|
268
268
|
*/
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
269
|
+
plan_id?: string | null | unknown;
|
|
270
|
+
/**
|
|
271
|
+
* Field included by default.
|
|
272
|
+
*/
|
|
273
|
+
plan_slug?: string | null | unknown;
|
|
272
274
|
/**
|
|
273
275
|
* Field included by default.
|
|
274
276
|
*/
|
|
@@ -283,7 +285,18 @@ type Wallet = {
|
|
|
283
285
|
* A relationships object for a wallet
|
|
284
286
|
*/
|
|
285
287
|
relationships?: {
|
|
286
|
-
|
|
288
|
+
plan?: {
|
|
289
|
+
/**
|
|
290
|
+
* An identifier for plan
|
|
291
|
+
*/
|
|
292
|
+
data?: {
|
|
293
|
+
id: string;
|
|
294
|
+
meta?: {
|
|
295
|
+
[key: string]: unknown;
|
|
296
|
+
};
|
|
297
|
+
type: string;
|
|
298
|
+
} | null;
|
|
299
|
+
};
|
|
287
300
|
};
|
|
288
301
|
type: string;
|
|
289
302
|
};
|
|
@@ -3751,7 +3764,7 @@ type GetAdminWalletResponses = {
|
|
|
3751
3764
|
*/
|
|
3752
3765
|
200: {
|
|
3753
3766
|
data?: Wallet;
|
|
3754
|
-
included?: Array<
|
|
3767
|
+
included?: Array<Plan>;
|
|
3755
3768
|
meta?: {
|
|
3756
3769
|
[key: string]: unknown;
|
|
3757
3770
|
};
|
|
@@ -4620,7 +4633,7 @@ type PatchAdminWalletStorageResponses = {
|
|
|
4620
4633
|
*/
|
|
4621
4634
|
200: {
|
|
4622
4635
|
data?: Wallet;
|
|
4623
|
-
included?: Array<
|
|
4636
|
+
included?: Array<Plan>;
|
|
4624
4637
|
meta?: {
|
|
4625
4638
|
[key: string]: unknown;
|
|
4626
4639
|
};
|
|
@@ -8066,7 +8079,7 @@ type PatchAdminWalletAddonsByAddonSlugCancelResponses = {
|
|
|
8066
8079
|
*/
|
|
8067
8080
|
200: {
|
|
8068
8081
|
data?: Wallet;
|
|
8069
|
-
included?: Array<
|
|
8082
|
+
included?: Array<Plan>;
|
|
8070
8083
|
meta?: {
|
|
8071
8084
|
[key: string]: unknown;
|
|
8072
8085
|
};
|
|
@@ -12227,7 +12240,7 @@ type PatchAdminWalletCreditsResponses = {
|
|
|
12227
12240
|
*/
|
|
12228
12241
|
200: {
|
|
12229
12242
|
data?: Wallet;
|
|
12230
|
-
included?: Array<
|
|
12243
|
+
included?: Array<Plan>;
|
|
12231
12244
|
meta?: {
|
|
12232
12245
|
[key: string]: unknown;
|
|
12233
12246
|
};
|
|
@@ -13581,7 +13594,7 @@ type PatchAdminWalletPlanResponses = {
|
|
|
13581
13594
|
*/
|
|
13582
13595
|
200: {
|
|
13583
13596
|
data?: Wallet;
|
|
13584
|
-
included?: Array<
|
|
13597
|
+
included?: Array<Plan>;
|
|
13585
13598
|
meta?: {
|
|
13586
13599
|
[key: string]: unknown;
|
|
13587
13600
|
};
|
|
@@ -23497,7 +23510,7 @@ type PatchAdminWalletAddonsResponses = {
|
|
|
23497
23510
|
*/
|
|
23498
23511
|
200: {
|
|
23499
23512
|
data?: Wallet;
|
|
23500
|
-
included?: Array<
|
|
23513
|
+
included?: Array<Plan>;
|
|
23501
23514
|
meta?: {
|
|
23502
23515
|
[key: string]: unknown;
|
|
23503
23516
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/admin",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.72",
|
|
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,15 +42,6 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"scripts": {
|
|
46
|
-
"generate": "openapi-ts",
|
|
47
|
-
"typecheck": "tsc --noEmit",
|
|
48
|
-
"build": "npm run typecheck && 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
45
|
"dependencies": {
|
|
55
46
|
"zod": "^3.25.76"
|
|
56
47
|
},
|
|
@@ -62,5 +53,14 @@
|
|
|
62
53
|
"tsup": "^8.5.1",
|
|
63
54
|
"typescript": "^5.9.3",
|
|
64
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"
|
|
65
65
|
}
|
|
66
|
-
}
|
|
66
|
+
}
|