commerce-sdk-isomorphic 5.0.0-unstable-20260122080904 → 5.0.0-unstable-20260124080731

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.
@@ -52392,31 +52392,6 @@ type PaymentConfigurationPaymentMethodsInner = {
52392
52392
  } & {
52393
52393
  [key: string]: any;
52394
52394
  };
52395
- /**
52396
- * @type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner:
52397
- *
52398
- * @property brands: Supported card brands
52399
- *
52400
- * @property type: Payment method type
52401
- *
52402
- */
52403
- type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner = {
52404
- brands?: Array<string>;
52405
- type?: string;
52406
- } & {
52407
- [key: string]: any;
52408
- };
52409
- /**
52410
- * @type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse: Gateway response data (optional, can be null)
52411
- *
52412
- * @property paymentMethods: Available payment methods from gateway
52413
- *
52414
- */
52415
- type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse = {
52416
- paymentMethods?: Array<PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner>;
52417
- } & {
52418
- [key: string]: any;
52419
- };
52420
52395
  /**
52421
52396
  * @type PaymentConfigurationPaymentMethodSetAccountsInnerConfig: Account configuration
52422
52397
  *
@@ -52426,10 +52401,15 @@ type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse = {
52426
52401
  * @property bnCode: Account BN code (optional, null if not a PayPal account)
52427
52402
  * - **Max Length:** 100
52428
52403
  *
52404
+ * @property paymentMethods: Available payment methods from gateway (optional, null if not an Adyen account)
52405
+ *
52429
52406
  */
52430
52407
  type PaymentConfigurationPaymentMethodSetAccountsInnerConfig = {
52431
52408
  key?: string;
52432
52409
  bnCode?: string;
52410
+ paymentMethods?: {
52411
+ [key: string]: any;
52412
+ } | null;
52433
52413
  } & {
52434
52414
  [key: string]: any;
52435
52415
  };
@@ -52442,12 +52422,7 @@ type PaymentConfigurationPaymentMethodSetAccountsInnerConfig = {
52442
52422
  *
52443
52423
  * @property config:
52444
52424
  *
52445
- * @property gatewayId: Gateway identifier
52446
- * - **Min Length:** 1
52447
- *
52448
- * @property gatewayResponse:
52449
- *
52450
- * @property isLive: Whether the account is in live mode
52425
+ * @property live: Whether the account is in live mode
52451
52426
  *
52452
52427
  * @property vendor: Payment vendor name
52453
52428
  *
@@ -52455,9 +52430,7 @@ type PaymentConfigurationPaymentMethodSetAccountsInnerConfig = {
52455
52430
  type PaymentConfigurationPaymentMethodSetAccountsInner = {
52456
52431
  accountId: string;
52457
52432
  config?: PaymentConfigurationPaymentMethodSetAccountsInnerConfig;
52458
- gatewayId: string;
52459
- gatewayResponse?: PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse | null;
52460
- isLive: boolean;
52433
+ live: boolean;
52461
52434
  vendor: string;
52462
52435
  } & {
52463
52436
  [key: string]: any;
@@ -52487,6 +52460,7 @@ type getPaymentConfigurationQueryParameters = {
52487
52460
  currency: string;
52488
52461
  countryCode?: string;
52489
52462
  zoneId?: string | null;
52463
+ amount?: number | null;
52490
52464
  };
52491
52465
  type getPaymentConfigurationPathParameters = {
52492
52466
  organizationId: string;
@@ -52594,7 +52568,8 @@ declare class ShopperPayments<ConfigParameters extends ShopperPaymentsParameters
52594
52568
  "siteId",
52595
52569
  "currency",
52596
52570
  "countryCode",
52597
- "zoneId"
52571
+ "zoneId",
52572
+ "amount"
52598
52573
  ];
52599
52574
  readonly getPaymentConfigurationRequired: readonly [
52600
52575
  "organizationId",
@@ -52608,7 +52583,9 @@ declare class ShopperPayments<ConfigParameters extends ShopperPaymentsParameters
52608
52583
  **Parameters:**
52609
52584
  - `siteId`: Required. The site identifier for context-specific configuration
52610
52585
  - `currency`: Required. Three-letter currency code (ISO 4217) for payment method configuration
52611
- - `countryCode`: Required. Two-letter country code (ISO 3166-1 alpha-2) for country-specific payment configuration
52586
+ - `countryCode`: Optional. Two-letter country code (ISO 3166-1 alpha-2) for country-specific payment configuration
52587
+ - `amount`: Optional. Transaction amount for payment method configuration
52588
+ - `zoneId`: Optional. Payment zone identifier to retrieve zone-specific configuration
52612
52589
 
52613
52590
  **Response Behavior:**
52614
52591
  - Returns payment configuration data when available
@@ -52623,6 +52600,7 @@ declare class ShopperPayments<ConfigParameters extends ShopperPaymentsParameters
52623
52600
  * @param options.parameters.currency - A three letter uppercase currency code conforming to the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard, or the string `N/A` indicating that a currency is not applicable.
52624
52601
  * @param options.parameters.countryCode - The country code (ISO 3166-1 alpha-2) for country-specific payment configuration filtering
52625
52602
  * @param options.parameters.zoneId - The zone identifier for the payment configuration. Optional, if specified will return zone specific payment configuration instead of resolving based on the currency and country.
52603
+ * @param options.parameters.amount - The transaction amount. Optional. Some gateways, such as Adyen, allow for payment methods to be qualified or disqualified based on the amount of the transaction.
52626
52604
  * @param options.headers - An object literal of key value pairs of the headers to be sent with this request.
52627
52605
  *
52628
52606
  * @returns A promise of type PaymentConfiguration.
@@ -52634,6 +52612,7 @@ declare class ShopperPayments<ConfigParameters extends ShopperPaymentsParameters
52634
52612
  currency: string;
52635
52613
  countryCode?: string;
52636
52614
  zoneId?: string | null;
52615
+ amount?: number | null;
52637
52616
  } & QueryParameters, ConfigParameters>;
52638
52617
  headers?: {
52639
52618
  [key: string]: string;
@@ -52645,7 +52624,9 @@ declare class ShopperPayments<ConfigParameters extends ShopperPaymentsParameters
52645
52624
  **Parameters:**
52646
52625
  - `siteId`: Required. The site identifier for context-specific configuration
52647
52626
  - `currency`: Required. Three-letter currency code (ISO 4217) for payment method configuration
52648
- - `countryCode`: Required. Two-letter country code (ISO 3166-1 alpha-2) for country-specific payment configuration
52627
+ - `countryCode`: Optional. Two-letter country code (ISO 3166-1 alpha-2) for country-specific payment configuration
52628
+ - `amount`: Optional. Transaction amount for payment method configuration
52629
+ - `zoneId`: Optional. Payment zone identifier to retrieve zone-specific configuration
52649
52630
 
52650
52631
  **Response Behavior:**
52651
52632
  - Returns payment configuration data when available
@@ -52658,6 +52639,7 @@ declare class ShopperPayments<ConfigParameters extends ShopperPaymentsParameters
52658
52639
  * @param options.parameters.currency - A three letter uppercase currency code conforming to the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard, or the string `N/A` indicating that a currency is not applicable.
52659
52640
  * @param options.parameters.countryCode - The country code (ISO 3166-1 alpha-2) for country-specific payment configuration filtering
52660
52641
  * @param options.parameters.zoneId - The zone identifier for the payment configuration. Optional, if specified will return zone specific payment configuration instead of resolving based on the currency and country.
52642
+ * @param options.parameters.amount - The transaction amount. Optional. Some gateways, such as Adyen, allow for payment methods to be qualified or disqualified based on the amount of the transaction.
52661
52643
  * @param options.headers - An object literal of key value pairs of the headers to be sent with this request.
52662
52644
  * @param rawResponse - Set to true to return entire Response object instead of DTO.
52663
52645
  *
@@ -52670,6 +52652,7 @@ declare class ShopperPayments<ConfigParameters extends ShopperPaymentsParameters
52670
52652
  currency: string;
52671
52653
  countryCode?: string;
52672
52654
  zoneId?: string | null;
52655
+ amount?: number | null;
52673
52656
  } & QueryParameters, ConfigParameters>;
52674
52657
  headers?: {
52675
52658
  [key: string]: string;
@@ -52803,31 +52786,6 @@ declare namespace ShopperPaymentsApiTypes {
52803
52786
  } & {
52804
52787
  [key: string]: any;
52805
52788
  };
52806
- /**
52807
- * @type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner:
52808
- *
52809
- * @property brands: Supported card brands
52810
- *
52811
- * @property type: Payment method type
52812
- *
52813
- */
52814
- type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner = {
52815
- brands?: Array<string>;
52816
- type?: string;
52817
- } & {
52818
- [key: string]: any;
52819
- };
52820
- /**
52821
- * @type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse: Gateway response data (optional, can be null)
52822
- *
52823
- * @property paymentMethods: Available payment methods from gateway
52824
- *
52825
- */
52826
- type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse = {
52827
- paymentMethods?: Array<PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner>;
52828
- } & {
52829
- [key: string]: any;
52830
- };
52831
52789
  /**
52832
52790
  * @type PaymentConfigurationPaymentMethodSetAccountsInnerConfig: Account configuration
52833
52791
  *
@@ -52837,10 +52795,15 @@ declare namespace ShopperPaymentsApiTypes {
52837
52795
  * @property bnCode: Account BN code (optional, null if not a PayPal account)
52838
52796
  * - **Max Length:** 100
52839
52797
  *
52798
+ * @property paymentMethods: Available payment methods from gateway (optional, null if not an Adyen account)
52799
+ *
52840
52800
  */
52841
52801
  type PaymentConfigurationPaymentMethodSetAccountsInnerConfig = {
52842
52802
  key?: string;
52843
52803
  bnCode?: string;
52804
+ paymentMethods?: {
52805
+ [key: string]: any;
52806
+ } | null;
52844
52807
  } & {
52845
52808
  [key: string]: any;
52846
52809
  };
@@ -52853,12 +52816,7 @@ declare namespace ShopperPaymentsApiTypes {
52853
52816
  *
52854
52817
  * @property config:
52855
52818
  *
52856
- * @property gatewayId: Gateway identifier
52857
- * - **Min Length:** 1
52858
- *
52859
- * @property gatewayResponse:
52860
- *
52861
- * @property isLive: Whether the account is in live mode
52819
+ * @property live: Whether the account is in live mode
52862
52820
  *
52863
52821
  * @property vendor: Payment vendor name
52864
52822
  *
@@ -52866,9 +52824,7 @@ declare namespace ShopperPaymentsApiTypes {
52866
52824
  type PaymentConfigurationPaymentMethodSetAccountsInner = {
52867
52825
  accountId: string;
52868
52826
  config?: PaymentConfigurationPaymentMethodSetAccountsInnerConfig;
52869
- gatewayId: string;
52870
- gatewayResponse?: PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse | null;
52871
- isLive: boolean;
52827
+ live: boolean;
52872
52828
  vendor: string;
52873
52829
  } & {
52874
52830
  [key: string]: any;
@@ -52898,6 +52854,7 @@ declare namespace ShopperPaymentsApiTypes {
52898
52854
  currency: string;
52899
52855
  countryCode?: string;
52900
52856
  zoneId?: string | null;
52857
+ amount?: number | null;
52901
52858
  };
52902
52859
  type getPaymentConfigurationPathParameters = {
52903
52860
  organizationId: string;
@@ -53005,7 +52962,8 @@ declare namespace ShopperPaymentsApiTypes {
53005
52962
  "siteId",
53006
52963
  "currency",
53007
52964
  "countryCode",
53008
- "zoneId"
52965
+ "zoneId",
52966
+ "amount"
53009
52967
  ];
53010
52968
  readonly getPaymentConfigurationRequired: readonly [
53011
52969
  "organizationId",
@@ -53019,7 +52977,9 @@ declare namespace ShopperPaymentsApiTypes {
53019
52977
  **Parameters:**
53020
52978
  - `siteId`: Required. The site identifier for context-specific configuration
53021
52979
  - `currency`: Required. Three-letter currency code (ISO 4217) for payment method configuration
53022
- - `countryCode`: Required. Two-letter country code (ISO 3166-1 alpha-2) for country-specific payment configuration
52980
+ - `countryCode`: Optional. Two-letter country code (ISO 3166-1 alpha-2) for country-specific payment configuration
52981
+ - `amount`: Optional. Transaction amount for payment method configuration
52982
+ - `zoneId`: Optional. Payment zone identifier to retrieve zone-specific configuration
53023
52983
 
53024
52984
  **Response Behavior:**
53025
52985
  - Returns payment configuration data when available
@@ -53034,6 +52994,7 @@ declare namespace ShopperPaymentsApiTypes {
53034
52994
  * @param options.parameters.currency - A three letter uppercase currency code conforming to the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard, or the string `N/A` indicating that a currency is not applicable.
53035
52995
  * @param options.parameters.countryCode - The country code (ISO 3166-1 alpha-2) for country-specific payment configuration filtering
53036
52996
  * @param options.parameters.zoneId - The zone identifier for the payment configuration. Optional, if specified will return zone specific payment configuration instead of resolving based on the currency and country.
52997
+ * @param options.parameters.amount - The transaction amount. Optional. Some gateways, such as Adyen, allow for payment methods to be qualified or disqualified based on the amount of the transaction.
53037
52998
  * @param options.headers - An object literal of key value pairs of the headers to be sent with this request.
53038
52999
  *
53039
53000
  * @returns A promise of type PaymentConfiguration.
@@ -53045,6 +53006,7 @@ declare namespace ShopperPaymentsApiTypes {
53045
53006
  currency: string;
53046
53007
  countryCode?: string;
53047
53008
  zoneId?: string | null;
53009
+ amount?: number | null;
53048
53010
  } & QueryParameters, ConfigParameters>;
53049
53011
  headers?: {
53050
53012
  [key: string]: string;
@@ -53056,7 +53018,9 @@ declare namespace ShopperPaymentsApiTypes {
53056
53018
  **Parameters:**
53057
53019
  - `siteId`: Required. The site identifier for context-specific configuration
53058
53020
  - `currency`: Required. Three-letter currency code (ISO 4217) for payment method configuration
53059
- - `countryCode`: Required. Two-letter country code (ISO 3166-1 alpha-2) for country-specific payment configuration
53021
+ - `countryCode`: Optional. Two-letter country code (ISO 3166-1 alpha-2) for country-specific payment configuration
53022
+ - `amount`: Optional. Transaction amount for payment method configuration
53023
+ - `zoneId`: Optional. Payment zone identifier to retrieve zone-specific configuration
53060
53024
 
53061
53025
  **Response Behavior:**
53062
53026
  - Returns payment configuration data when available
@@ -53069,6 +53033,7 @@ declare namespace ShopperPaymentsApiTypes {
53069
53033
  * @param options.parameters.currency - A three letter uppercase currency code conforming to the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard, or the string `N/A` indicating that a currency is not applicable.
53070
53034
  * @param options.parameters.countryCode - The country code (ISO 3166-1 alpha-2) for country-specific payment configuration filtering
53071
53035
  * @param options.parameters.zoneId - The zone identifier for the payment configuration. Optional, if specified will return zone specific payment configuration instead of resolving based on the currency and country.
53036
+ * @param options.parameters.amount - The transaction amount. Optional. Some gateways, such as Adyen, allow for payment methods to be qualified or disqualified based on the amount of the transaction.
53072
53037
  * @param options.headers - An object literal of key value pairs of the headers to be sent with this request.
53073
53038
  * @param rawResponse - Set to true to return entire Response object instead of DTO.
53074
53039
  *
@@ -53081,6 +53046,7 @@ declare namespace ShopperPaymentsApiTypes {
53081
53046
  currency: string;
53082
53047
  countryCode?: string;
53083
53048
  zoneId?: string | null;
53049
+ amount?: number | null;
53084
53050
  } & QueryParameters, ConfigParameters>;
53085
53051
  headers?: {
53086
53052
  [key: string]: string;
@@ -53107,31 +53073,6 @@ declare namespace ShopperPaymentsModelTypes {
53107
53073
  } & {
53108
53074
  [key: string]: any;
53109
53075
  };
53110
- /**
53111
- * @type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner:
53112
- *
53113
- * @property brands: Supported card brands
53114
- *
53115
- * @property type: Payment method type
53116
- *
53117
- */
53118
- type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner = {
53119
- brands?: Array<string>;
53120
- type?: string;
53121
- } & {
53122
- [key: string]: any;
53123
- };
53124
- /**
53125
- * @type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse: Gateway response data (optional, can be null)
53126
- *
53127
- * @property paymentMethods: Available payment methods from gateway
53128
- *
53129
- */
53130
- type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse = {
53131
- paymentMethods?: Array<PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner>;
53132
- } & {
53133
- [key: string]: any;
53134
- };
53135
53076
  /**
53136
53077
  * @type PaymentConfigurationPaymentMethodSetAccountsInnerConfig: Account configuration
53137
53078
  *
@@ -53141,10 +53082,15 @@ declare namespace ShopperPaymentsModelTypes {
53141
53082
  * @property bnCode: Account BN code (optional, null if not a PayPal account)
53142
53083
  * - **Max Length:** 100
53143
53084
  *
53085
+ * @property paymentMethods: Available payment methods from gateway (optional, null if not an Adyen account)
53086
+ *
53144
53087
  */
53145
53088
  type PaymentConfigurationPaymentMethodSetAccountsInnerConfig = {
53146
53089
  key?: string;
53147
53090
  bnCode?: string;
53091
+ paymentMethods?: {
53092
+ [key: string]: any;
53093
+ } | null;
53148
53094
  } & {
53149
53095
  [key: string]: any;
53150
53096
  };
@@ -53157,12 +53103,7 @@ declare namespace ShopperPaymentsModelTypes {
53157
53103
  *
53158
53104
  * @property config:
53159
53105
  *
53160
- * @property gatewayId: Gateway identifier
53161
- * - **Min Length:** 1
53162
- *
53163
- * @property gatewayResponse:
53164
- *
53165
- * @property isLive: Whether the account is in live mode
53106
+ * @property live: Whether the account is in live mode
53166
53107
  *
53167
53108
  * @property vendor: Payment vendor name
53168
53109
  *
@@ -53170,9 +53111,7 @@ declare namespace ShopperPaymentsModelTypes {
53170
53111
  type PaymentConfigurationPaymentMethodSetAccountsInner = {
53171
53112
  accountId: string;
53172
53113
  config?: PaymentConfigurationPaymentMethodSetAccountsInnerConfig;
53173
- gatewayId: string;
53174
- gatewayResponse?: PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse | null;
53175
- isLive: boolean;
53114
+ live: boolean;
53176
53115
  vendor: string;
53177
53116
  } & {
53178
53117
  [key: string]: any;
@@ -53208,8 +53147,6 @@ declare namespace ShopperPaymentsTypes {
53208
53147
  type PaymentConfiguration = ShopperPaymentsModelTypes.PaymentConfiguration;
53209
53148
  type PaymentConfigurationPaymentMethodSetAccountsInner = ShopperPaymentsModelTypes.PaymentConfigurationPaymentMethodSetAccountsInner;
53210
53149
  type PaymentConfigurationPaymentMethodSetAccountsInnerConfig = ShopperPaymentsModelTypes.PaymentConfigurationPaymentMethodSetAccountsInnerConfig;
53211
- type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse = ShopperPaymentsModelTypes.PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponse;
53212
- type PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner = ShopperPaymentsModelTypes.PaymentConfigurationPaymentMethodSetAccountsInnerGatewayResponsePaymentMethodsInner;
53213
53150
  type PaymentConfigurationPaymentMethodsInner = ShopperPaymentsModelTypes.PaymentConfigurationPaymentMethodsInner;
53214
53151
  }
53215
53152
  /**