@gpt-core/client 0.7.72 → 0.7.74

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
@@ -504,6 +504,24 @@ type Wallet = {
504
504
  * Field included by default.
505
505
  */
506
506
  storage_used_bytes: number;
507
+ /**
508
+ * Daily usage history entries. Field included by default.
509
+ */
510
+ usage_history?: Array<{
511
+ [key: string]: unknown;
512
+ }> | null | unknown;
513
+ /**
514
+ * Storage breakdown by workspace (Top 3 + Others). Field included by default.
515
+ */
516
+ workspace_storage?: Array<{
517
+ [key: string]: unknown;
518
+ }> | null | unknown;
519
+ /**
520
+ * Usage breakdown by workspace (Top 3 + Others). Field included by default.
521
+ */
522
+ workspace_usage?: Array<{
523
+ [key: string]: unknown;
524
+ }> | null | unknown;
507
525
  };
508
526
  id: string;
509
527
  /**
@@ -4515,7 +4533,7 @@ type PatchWalletCreditsResponses = {
4515
4533
  */
4516
4534
  200: {
4517
4535
  data?: Wallet;
4518
- included?: Array<unknown>;
4536
+ included?: Array<Plan>;
4519
4537
  meta?: {
4520
4538
  [key: string]: unknown;
4521
4539
  };
@@ -14474,7 +14492,7 @@ type PatchWalletAddonsResponses = {
14474
14492
  */
14475
14493
  200: {
14476
14494
  data?: Wallet;
14477
- included?: Array<unknown>;
14495
+ included?: Array<Plan>;
14478
14496
  meta?: {
14479
14497
  [key: string]: unknown;
14480
14498
  };
@@ -15744,7 +15762,7 @@ type PatchWalletAddonsByAddonSlugCancelResponses = {
15744
15762
  */
15745
15763
  200: {
15746
15764
  data?: Wallet;
15747
- included?: Array<unknown>;
15765
+ included?: Array<Plan>;
15748
15766
  meta?: {
15749
15767
  [key: string]: unknown;
15750
15768
  };
@@ -16534,7 +16552,7 @@ type PatchWalletPlanResponses = {
16534
16552
  */
16535
16553
  200: {
16536
16554
  data?: Wallet;
16537
- included?: Array<unknown>;
16555
+ included?: Array<Plan>;
16538
16556
  meta?: {
16539
16557
  [key: string]: unknown;
16540
16558
  };
@@ -21829,7 +21847,7 @@ type GetWalletResponses = {
21829
21847
  */
21830
21848
  200: {
21831
21849
  data?: Wallet;
21832
- included?: Array<unknown>;
21850
+ included?: Array<Plan>;
21833
21851
  meta?: {
21834
21852
  [key: string]: unknown;
21835
21853
  };
package/dist/index.d.ts CHANGED
@@ -504,6 +504,24 @@ type Wallet = {
504
504
  * Field included by default.
505
505
  */
506
506
  storage_used_bytes: number;
507
+ /**
508
+ * Daily usage history entries. Field included by default.
509
+ */
510
+ usage_history?: Array<{
511
+ [key: string]: unknown;
512
+ }> | null | unknown;
513
+ /**
514
+ * Storage breakdown by workspace (Top 3 + Others). Field included by default.
515
+ */
516
+ workspace_storage?: Array<{
517
+ [key: string]: unknown;
518
+ }> | null | unknown;
519
+ /**
520
+ * Usage breakdown by workspace (Top 3 + Others). Field included by default.
521
+ */
522
+ workspace_usage?: Array<{
523
+ [key: string]: unknown;
524
+ }> | null | unknown;
507
525
  };
508
526
  id: string;
509
527
  /**
@@ -4515,7 +4533,7 @@ type PatchWalletCreditsResponses = {
4515
4533
  */
4516
4534
  200: {
4517
4535
  data?: Wallet;
4518
- included?: Array<unknown>;
4536
+ included?: Array<Plan>;
4519
4537
  meta?: {
4520
4538
  [key: string]: unknown;
4521
4539
  };
@@ -14474,7 +14492,7 @@ type PatchWalletAddonsResponses = {
14474
14492
  */
14475
14493
  200: {
14476
14494
  data?: Wallet;
14477
- included?: Array<unknown>;
14495
+ included?: Array<Plan>;
14478
14496
  meta?: {
14479
14497
  [key: string]: unknown;
14480
14498
  };
@@ -15744,7 +15762,7 @@ type PatchWalletAddonsByAddonSlugCancelResponses = {
15744
15762
  */
15745
15763
  200: {
15746
15764
  data?: Wallet;
15747
- included?: Array<unknown>;
15765
+ included?: Array<Plan>;
15748
15766
  meta?: {
15749
15767
  [key: string]: unknown;
15750
15768
  };
@@ -16534,7 +16552,7 @@ type PatchWalletPlanResponses = {
16534
16552
  */
16535
16553
  200: {
16536
16554
  data?: Wallet;
16537
- included?: Array<unknown>;
16555
+ included?: Array<Plan>;
16538
16556
  meta?: {
16539
16557
  [key: string]: unknown;
16540
16558
  };
@@ -21829,7 +21847,7 @@ type GetWalletResponses = {
21829
21847
  */
21830
21848
  200: {
21831
21849
  data?: Wallet;
21832
- included?: Array<unknown>;
21850
+ included?: Array<Plan>;
21833
21851
  meta?: {
21834
21852
  [key: string]: unknown;
21835
21853
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.7.72",
3
+ "version": "0.7.74",
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",