@gpt-core/client 0.9.14 → 0.9.16

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
@@ -513,9 +513,9 @@ type Wallet = {
513
513
  [key: string]: unknown;
514
514
  }> | null | unknown;
515
515
  /**
516
- * Field included by default.
516
+ * Optional application context - wallets belong to tenants, not applications. Field included by default.
517
517
  */
518
- application_id: string;
518
+ application_id?: string | null | unknown;
519
519
  /**
520
520
  * Amount in credits. Field included by default.
521
521
  */
@@ -1201,6 +1201,18 @@ type PaymentMethod = {
1201
1201
  * An attributes object for a payment_method
1202
1202
  */
1203
1203
  attributes?: {
1204
+ /**
1205
+ * Field included by default.
1206
+ */
1207
+ billing_address?: string | null | unknown;
1208
+ /**
1209
+ * Field included by default.
1210
+ */
1211
+ billing_city?: string | null | unknown;
1212
+ /**
1213
+ * Field included by default.
1214
+ */
1215
+ billing_state?: string | null | unknown;
1204
1216
  /**
1205
1217
  * Field included by default.
1206
1218
  */
@@ -3806,7 +3818,30 @@ type Settlement = {
3806
3818
  * A relationships object for a settlement
3807
3819
  */
3808
3820
  relationships?: {
3809
- [key: string]: never;
3821
+ application?: {
3822
+ /**
3823
+ * An identifier for application
3824
+ */
3825
+ data?: {
3826
+ id: string;
3827
+ meta?: {
3828
+ [key: string]: unknown;
3829
+ };
3830
+ type: string;
3831
+ } | null;
3832
+ };
3833
+ isv?: {
3834
+ /**
3835
+ * An identifier for isv
3836
+ */
3837
+ data?: {
3838
+ id: string;
3839
+ meta?: {
3840
+ [key: string]: unknown;
3841
+ };
3842
+ type: string;
3843
+ } | null;
3844
+ };
3810
3845
  };
3811
3846
  type: string;
3812
3847
  };
@@ -20601,6 +20636,9 @@ type PostPaymentMethodsTokenizeData = {
20601
20636
  body: {
20602
20637
  data: {
20603
20638
  attributes?: {
20639
+ billing_address: string;
20640
+ billing_city: string;
20641
+ billing_state: string;
20604
20642
  card_number: string;
20605
20643
  customer_id?: string | unknown;
20606
20644
  cvc: string;
@@ -20608,6 +20646,7 @@ type PostPaymentMethodsTokenizeData = {
20608
20646
  exp_year: number;
20609
20647
  holder_name: string;
20610
20648
  nickname?: string | unknown;
20649
+ phone?: string | unknown;
20611
20650
  zip_code: string;
20612
20651
  };
20613
20652
  relationships?: {
package/dist/index.d.ts CHANGED
@@ -513,9 +513,9 @@ type Wallet = {
513
513
  [key: string]: unknown;
514
514
  }> | null | unknown;
515
515
  /**
516
- * Field included by default.
516
+ * Optional application context - wallets belong to tenants, not applications. Field included by default.
517
517
  */
518
- application_id: string;
518
+ application_id?: string | null | unknown;
519
519
  /**
520
520
  * Amount in credits. Field included by default.
521
521
  */
@@ -1201,6 +1201,18 @@ type PaymentMethod = {
1201
1201
  * An attributes object for a payment_method
1202
1202
  */
1203
1203
  attributes?: {
1204
+ /**
1205
+ * Field included by default.
1206
+ */
1207
+ billing_address?: string | null | unknown;
1208
+ /**
1209
+ * Field included by default.
1210
+ */
1211
+ billing_city?: string | null | unknown;
1212
+ /**
1213
+ * Field included by default.
1214
+ */
1215
+ billing_state?: string | null | unknown;
1204
1216
  /**
1205
1217
  * Field included by default.
1206
1218
  */
@@ -3806,7 +3818,30 @@ type Settlement = {
3806
3818
  * A relationships object for a settlement
3807
3819
  */
3808
3820
  relationships?: {
3809
- [key: string]: never;
3821
+ application?: {
3822
+ /**
3823
+ * An identifier for application
3824
+ */
3825
+ data?: {
3826
+ id: string;
3827
+ meta?: {
3828
+ [key: string]: unknown;
3829
+ };
3830
+ type: string;
3831
+ } | null;
3832
+ };
3833
+ isv?: {
3834
+ /**
3835
+ * An identifier for isv
3836
+ */
3837
+ data?: {
3838
+ id: string;
3839
+ meta?: {
3840
+ [key: string]: unknown;
3841
+ };
3842
+ type: string;
3843
+ } | null;
3844
+ };
3810
3845
  };
3811
3846
  type: string;
3812
3847
  };
@@ -20601,6 +20636,9 @@ type PostPaymentMethodsTokenizeData = {
20601
20636
  body: {
20602
20637
  data: {
20603
20638
  attributes?: {
20639
+ billing_address: string;
20640
+ billing_city: string;
20641
+ billing_state: string;
20604
20642
  card_number: string;
20605
20643
  customer_id?: string | unknown;
20606
20644
  cvc: string;
@@ -20608,6 +20646,7 @@ type PostPaymentMethodsTokenizeData = {
20608
20646
  exp_year: number;
20609
20647
  holder_name: string;
20610
20648
  nickname?: string | unknown;
20649
+ phone?: string | unknown;
20611
20650
  zip_code: string;
20612
20651
  };
20613
20652
  relationships?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.9.14",
3
+ "version": "0.9.16",
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",