@gpt-core/admin 0.7.70 → 0.7.71

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
@@ -266,9 +266,11 @@ type Wallet = {
266
266
  /**
267
267
  * Field included by default.
268
268
  */
269
- plan?: {
270
- [key: string]: unknown;
271
- } | null | unknown;
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
- [key: string]: never;
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
  };
package/dist/index.d.ts CHANGED
@@ -266,9 +266,11 @@ type Wallet = {
266
266
  /**
267
267
  * Field included by default.
268
268
  */
269
- plan?: {
270
- [key: string]: unknown;
271
- } | null | unknown;
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
- [key: string]: never;
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/admin",
3
- "version": "0.7.70",
3
+ "version": "0.7.71",
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
+ }