@gpt-core/client 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 CHANGED
@@ -491,9 +491,11 @@ type Wallet = {
491
491
  /**
492
492
  * Field included by default.
493
493
  */
494
- plan?: {
495
- [key: string]: unknown;
496
- } | null | unknown;
494
+ plan_id?: string | null | unknown;
495
+ /**
496
+ * Field included by default.
497
+ */
498
+ plan_slug?: string | null | unknown;
497
499
  /**
498
500
  * Field included by default.
499
501
  */
@@ -508,7 +510,18 @@ type Wallet = {
508
510
  * A relationships object for a wallet
509
511
  */
510
512
  relationships?: {
511
- [key: string]: never;
513
+ plan?: {
514
+ /**
515
+ * An identifier for plan
516
+ */
517
+ data?: {
518
+ id: string;
519
+ meta?: {
520
+ [key: string]: unknown;
521
+ };
522
+ type: string;
523
+ } | null;
524
+ };
512
525
  };
513
526
  type: string;
514
527
  };
package/dist/index.d.ts CHANGED
@@ -491,9 +491,11 @@ type Wallet = {
491
491
  /**
492
492
  * Field included by default.
493
493
  */
494
- plan?: {
495
- [key: string]: unknown;
496
- } | null | unknown;
494
+ plan_id?: string | null | unknown;
495
+ /**
496
+ * Field included by default.
497
+ */
498
+ plan_slug?: string | null | unknown;
497
499
  /**
498
500
  * Field included by default.
499
501
  */
@@ -508,7 +510,18 @@ type Wallet = {
508
510
  * A relationships object for a wallet
509
511
  */
510
512
  relationships?: {
511
- [key: string]: never;
513
+ plan?: {
514
+ /**
515
+ * An identifier for plan
516
+ */
517
+ data?: {
518
+ id: string;
519
+ meta?: {
520
+ [key: string]: unknown;
521
+ };
522
+ type: string;
523
+ } | null;
524
+ };
512
525
  };
513
526
  type: string;
514
527
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.7.70",
3
+ "version": "0.7.72",
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,15 +43,6 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "scripts": {
47
- "generate": "openapi-ts",
48
- "typecheck": "tsc --noEmit",
49
- "build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
50
- "test": "vitest run",
51
- "test:watch": "vitest",
52
- "test:ui": "vitest --ui",
53
- "test:coverage": "vitest run --coverage"
54
- },
55
46
  "dependencies": {
56
47
  "eventsource-parser": "^3.0.6",
57
48
  "zod": "^3.25.76"
@@ -63,5 +54,14 @@
63
54
  "tsup": "^8.5.1",
64
55
  "typescript": "^5.9.3",
65
56
  "vitest": "^4.0.15"
57
+ },
58
+ "scripts": {
59
+ "generate": "openapi-ts",
60
+ "typecheck": "tsc --noEmit",
61
+ "build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
62
+ "test": "vitest run",
63
+ "test:watch": "vitest",
64
+ "test:ui": "vitest --ui",
65
+ "test:coverage": "vitest run --coverage"
66
66
  }
67
- }
67
+ }