@gpt-core/admin 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
@@ -288,9 +288,9 @@ type Wallet = {
288
288
  [key: string]: unknown;
289
289
  }> | null | unknown;
290
290
  /**
291
- * Field included by default.
291
+ * Optional application context - wallets belong to tenants, not applications. Field included by default.
292
292
  */
293
- application_id: string;
293
+ application_id?: string | null | unknown;
294
294
  /**
295
295
  * Amount in credits. Field included by default.
296
296
  */
@@ -976,6 +976,18 @@ type PaymentMethod = {
976
976
  * An attributes object for a payment_method
977
977
  */
978
978
  attributes?: {
979
+ /**
980
+ * Field included by default.
981
+ */
982
+ billing_address?: string | null | unknown;
983
+ /**
984
+ * Field included by default.
985
+ */
986
+ billing_city?: string | null | unknown;
987
+ /**
988
+ * Field included by default.
989
+ */
990
+ billing_state?: string | null | unknown;
979
991
  /**
980
992
  * Field included by default.
981
993
  */
@@ -3581,7 +3593,30 @@ type Settlement = {
3581
3593
  * A relationships object for a settlement
3582
3594
  */
3583
3595
  relationships?: {
3584
- [key: string]: never;
3596
+ application?: {
3597
+ /**
3598
+ * An identifier for application
3599
+ */
3600
+ data?: {
3601
+ id: string;
3602
+ meta?: {
3603
+ [key: string]: unknown;
3604
+ };
3605
+ type: string;
3606
+ } | null;
3607
+ };
3608
+ isv?: {
3609
+ /**
3610
+ * An identifier for isv
3611
+ */
3612
+ data?: {
3613
+ id: string;
3614
+ meta?: {
3615
+ [key: string]: unknown;
3616
+ };
3617
+ type: string;
3618
+ } | null;
3619
+ };
3585
3620
  };
3586
3621
  type: string;
3587
3622
  };
@@ -19301,6 +19336,9 @@ type PostAdminPaymentMethodsTokenizeData = {
19301
19336
  body: {
19302
19337
  data: {
19303
19338
  attributes?: {
19339
+ billing_address: string;
19340
+ billing_city: string;
19341
+ billing_state: string;
19304
19342
  card_number: string;
19305
19343
  customer_id?: string | unknown;
19306
19344
  cvc: string;
@@ -19308,6 +19346,7 @@ type PostAdminPaymentMethodsTokenizeData = {
19308
19346
  exp_year: number;
19309
19347
  holder_name: string;
19310
19348
  nickname?: string | unknown;
19349
+ phone?: string | unknown;
19311
19350
  zip_code: string;
19312
19351
  };
19313
19352
  relationships?: {
package/dist/index.d.ts CHANGED
@@ -288,9 +288,9 @@ type Wallet = {
288
288
  [key: string]: unknown;
289
289
  }> | null | unknown;
290
290
  /**
291
- * Field included by default.
291
+ * Optional application context - wallets belong to tenants, not applications. Field included by default.
292
292
  */
293
- application_id: string;
293
+ application_id?: string | null | unknown;
294
294
  /**
295
295
  * Amount in credits. Field included by default.
296
296
  */
@@ -976,6 +976,18 @@ type PaymentMethod = {
976
976
  * An attributes object for a payment_method
977
977
  */
978
978
  attributes?: {
979
+ /**
980
+ * Field included by default.
981
+ */
982
+ billing_address?: string | null | unknown;
983
+ /**
984
+ * Field included by default.
985
+ */
986
+ billing_city?: string | null | unknown;
987
+ /**
988
+ * Field included by default.
989
+ */
990
+ billing_state?: string | null | unknown;
979
991
  /**
980
992
  * Field included by default.
981
993
  */
@@ -3581,7 +3593,30 @@ type Settlement = {
3581
3593
  * A relationships object for a settlement
3582
3594
  */
3583
3595
  relationships?: {
3584
- [key: string]: never;
3596
+ application?: {
3597
+ /**
3598
+ * An identifier for application
3599
+ */
3600
+ data?: {
3601
+ id: string;
3602
+ meta?: {
3603
+ [key: string]: unknown;
3604
+ };
3605
+ type: string;
3606
+ } | null;
3607
+ };
3608
+ isv?: {
3609
+ /**
3610
+ * An identifier for isv
3611
+ */
3612
+ data?: {
3613
+ id: string;
3614
+ meta?: {
3615
+ [key: string]: unknown;
3616
+ };
3617
+ type: string;
3618
+ } | null;
3619
+ };
3585
3620
  };
3586
3621
  type: string;
3587
3622
  };
@@ -19301,6 +19336,9 @@ type PostAdminPaymentMethodsTokenizeData = {
19301
19336
  body: {
19302
19337
  data: {
19303
19338
  attributes?: {
19339
+ billing_address: string;
19340
+ billing_city: string;
19341
+ billing_state: string;
19304
19342
  card_number: string;
19305
19343
  customer_id?: string | unknown;
19306
19344
  cvc: string;
@@ -19308,6 +19346,7 @@ type PostAdminPaymentMethodsTokenizeData = {
19308
19346
  exp_year: number;
19309
19347
  holder_name: string;
19310
19348
  nickname?: string | unknown;
19349
+ phone?: string | unknown;
19311
19350
  zip_code: string;
19312
19351
  };
19313
19352
  relationships?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/admin",
3
- "version": "0.9.14",
3
+ "version": "0.9.16",
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",