@commercelayer/sdk 6.43.0 → 6.44.0

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/lib/index.d.mts CHANGED
@@ -1033,10 +1033,10 @@ interface PaymentMethod extends Resource {
1033
1033
  */
1034
1034
  name?: string | null;
1035
1035
  /**
1036
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1036
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1037
1037
  * @example ```"stripe_payments"```
1038
1038
  */
1039
- payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
1039
+ payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
1040
1040
  /**
1041
1041
  * The international 3-letter currency code as defined by the ISO 4217 standard.
1042
1042
  * @example ```"EUR"```
@@ -1104,10 +1104,10 @@ interface PaymentMethodCreate extends ResourceCreate {
1104
1104
  */
1105
1105
  name?: string | null;
1106
1106
  /**
1107
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1107
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1108
1108
  * @example ```"stripe_payments"```
1109
1109
  */
1110
- payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
1110
+ payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
1111
1111
  /**
1112
1112
  * The international 3-letter currency code as defined by the ISO 4217 standard.
1113
1113
  * @example ```"EUR"```
@@ -1160,10 +1160,10 @@ interface PaymentMethodUpdate extends ResourceUpdate {
1160
1160
  */
1161
1161
  name?: string | null;
1162
1162
  /**
1163
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1163
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1164
1164
  * @example ```"stripe_payments"```
1165
1165
  */
1166
- payment_source_type?: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers' | null;
1166
+ payment_source_type?: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers' | null;
1167
1167
  /**
1168
1168
  * The international 3-letter currency code as defined by the ISO 4217 standard.
1169
1169
  * @example ```"EUR"```
@@ -1547,12 +1547,7 @@ interface CheckoutComPayment extends Resource {
1547
1547
  */
1548
1548
  public_key?: string | null;
1549
1549
  /**
1550
- * The payment source type.
1551
- * @example ```"token"```
1552
- */
1553
- payment_type: string;
1554
- /**
1555
- * The Checkout.com card or digital wallet token.
1550
+ * The Checkout.com payment or digital wallet token.
1556
1551
  * @example ```"tok_4gzeau5o2uqubbk6fufs3m7p54"```
1557
1552
  */
1558
1553
  token: string;
@@ -1606,12 +1601,7 @@ interface CheckoutComPayment extends Resource {
1606
1601
  }
1607
1602
  interface CheckoutComPaymentCreate extends ResourceCreate {
1608
1603
  /**
1609
- * The payment source type.
1610
- * @example ```"token"```
1611
- */
1612
- payment_type: string;
1613
- /**
1614
- * The Checkout.com card or digital wallet token.
1604
+ * The Checkout.com payment or digital wallet token.
1615
1605
  * @example ```"tok_4gzeau5o2uqubbk6fufs3m7p54"```
1616
1606
  */
1617
1607
  token: string;
@@ -1629,12 +1619,7 @@ interface CheckoutComPaymentCreate extends ResourceCreate {
1629
1619
  }
1630
1620
  interface CheckoutComPaymentUpdate extends ResourceUpdate {
1631
1621
  /**
1632
- * The payment source type.
1633
- * @example ```"token"```
1634
- */
1635
- payment_type?: string | null;
1636
- /**
1637
- * The Checkout.com card or digital wallet token.
1622
+ * The Checkout.com payment or digital wallet token.
1638
1623
  * @example ```"tok_4gzeau5o2uqubbk6fufs3m7p54"```
1639
1624
  */
1640
1625
  token?: string | null;
@@ -4316,6 +4301,11 @@ interface ShippingMethod extends Resource {
4316
4301
  * @example ```5```
4317
4302
  */
4318
4303
  circuit_failure_count?: number | null;
4304
+ /**
4305
+ * The shared secret used to sign the external request payload.
4306
+ * @example ```"1c0994cc4e996e8c6ee56a2198f66f3c"```
4307
+ */
4308
+ shared_secret: string;
4319
4309
  market?: Market | null;
4320
4310
  shipping_zone?: ShippingZone | null;
4321
4311
  shipping_category?: ShippingCategory | null;
@@ -6518,16 +6508,16 @@ interface FlexPromotion extends Resource {
6518
6508
  * @example ```{}```
6519
6509
  */
6520
6510
  rules: Record<string, any>;
6511
+ /**
6512
+ * The rule outcomes.
6513
+ * @example ```[]```
6514
+ */
6515
+ rule_outcomes?: Record<string, any> | null;
6521
6516
  /**
6522
6517
  * Time at which this resource was disabled.
6523
6518
  * @example ```"2018-01-01T12:00:00.000Z"```
6524
6519
  */
6525
6520
  disabled_at?: string | null;
6526
- /**
6527
- * The rule outcomes.
6528
- * @example ```{}```
6529
- */
6530
- rule_outcomes?: Record<string, any> | null;
6531
6521
  /**
6532
6522
  * The payload used to evaluate the rules.
6533
6523
  * @example ```{}```
@@ -8506,6 +8496,11 @@ interface LineItem extends Resource {
8506
8496
  * @example ```"SUMMERDISCOUNT"```
8507
8497
  */
8508
8498
  coupon_code?: string | null;
8499
+ /**
8500
+ * The rule outcomes.
8501
+ * @example ```[]```
8502
+ */
8503
+ rule_outcomes?: Record<string, any> | null;
8509
8504
  /**
8510
8505
  * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.
8511
8506
  * @example ```"closed"```
@@ -9403,10 +9398,10 @@ interface PaymentOption extends Resource {
9403
9398
  */
9404
9399
  name?: string | null;
9405
9400
  /**
9406
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
9401
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
9407
9402
  * @example ```"stripe_payments"```
9408
9403
  */
9409
- payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
9404
+ payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
9410
9405
  /**
9411
9406
  * The payment options data to be added to the payment source payload. Check payment specific API for more details.
9412
9407
  * @example ```{"application_fee_amount":1000,"on_behalf_of":"pm_xxx"}```
@@ -9422,10 +9417,10 @@ interface PaymentOptionCreate extends ResourceCreate {
9422
9417
  */
9423
9418
  name?: string | null;
9424
9419
  /**
9425
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
9420
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
9426
9421
  * @example ```"stripe_payments"```
9427
9422
  */
9428
- payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
9423
+ payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
9429
9424
  /**
9430
9425
  * The payment options data to be added to the payment source payload. Check payment specific API for more details.
9431
9426
  * @example ```{"application_fee_amount":1000,"on_behalf_of":"pm_xxx"}```
@@ -12549,6 +12544,11 @@ interface Price extends Resource {
12549
12544
  * @example ```"€130,00"```
12550
12545
  */
12551
12546
  formatted_compare_at_amount?: string | null;
12547
+ /**
12548
+ * The rule outcomes.
12549
+ * @example ```[]```
12550
+ */
12551
+ rule_outcomes?: Record<string, any> | null;
12552
12552
  /**
12553
12553
  * Time at which the resource was processed by API.
12554
12554
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -12559,11 +12559,6 @@ interface Price extends Resource {
12559
12559
  * @example ```{}```
12560
12560
  */
12561
12561
  rules?: Record<string, any> | null;
12562
- /**
12563
- * The rule outcomes.
12564
- * @example ```{}```
12565
- */
12566
- rule_outcomes?: Record<string, any> | null;
12567
12562
  /**
12568
12563
  * The payload used to evaluate the rules.
12569
12564
  * @example ```{}```
@@ -12812,15 +12807,15 @@ interface PriceList extends Resource {
12812
12807
  */
12813
12808
  tax_included?: boolean | null;
12814
12809
  /**
12815
- * The rules (using Rules Engine) to be applied.
12816
- * @example ```{}```
12810
+ * The rule outcomes.
12811
+ * @example ```[]```
12817
12812
  */
12818
- rules?: Record<string, any> | null;
12813
+ rule_outcomes?: Record<string, any> | null;
12819
12814
  /**
12820
- * The rule outcomes.
12815
+ * The rules (using Rules Engine) to be applied.
12821
12816
  * @example ```{}```
12822
12817
  */
12823
- rule_outcomes?: Record<string, any> | null;
12818
+ rules?: Record<string, any> | null;
12824
12819
  /**
12825
12820
  * The payload used to evaluate the rules.
12826
12821
  * @example ```{}```
@@ -17185,7 +17180,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
17185
17180
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
17186
17181
  declare class CommerceLayerClient {
17187
17182
  #private;
17188
- readonly openApiSchemaVersion = "7.8.9";
17183
+ readonly openApiSchemaVersion = "7.9.0";
17189
17184
  constructor(config: CommerceLayerInitConfig);
17190
17185
  get addresses(): Addresses;
17191
17186
  get adjustments(): Adjustments;
package/lib/index.d.ts CHANGED
@@ -1033,10 +1033,10 @@ interface PaymentMethod extends Resource {
1033
1033
  */
1034
1034
  name?: string | null;
1035
1035
  /**
1036
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1036
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1037
1037
  * @example ```"stripe_payments"```
1038
1038
  */
1039
- payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
1039
+ payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
1040
1040
  /**
1041
1041
  * The international 3-letter currency code as defined by the ISO 4217 standard.
1042
1042
  * @example ```"EUR"```
@@ -1104,10 +1104,10 @@ interface PaymentMethodCreate extends ResourceCreate {
1104
1104
  */
1105
1105
  name?: string | null;
1106
1106
  /**
1107
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1107
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1108
1108
  * @example ```"stripe_payments"```
1109
1109
  */
1110
- payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
1110
+ payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
1111
1111
  /**
1112
1112
  * The international 3-letter currency code as defined by the ISO 4217 standard.
1113
1113
  * @example ```"EUR"```
@@ -1160,10 +1160,10 @@ interface PaymentMethodUpdate extends ResourceUpdate {
1160
1160
  */
1161
1161
  name?: string | null;
1162
1162
  /**
1163
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1163
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
1164
1164
  * @example ```"stripe_payments"```
1165
1165
  */
1166
- payment_source_type?: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers' | null;
1166
+ payment_source_type?: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers' | null;
1167
1167
  /**
1168
1168
  * The international 3-letter currency code as defined by the ISO 4217 standard.
1169
1169
  * @example ```"EUR"```
@@ -1547,12 +1547,7 @@ interface CheckoutComPayment extends Resource {
1547
1547
  */
1548
1548
  public_key?: string | null;
1549
1549
  /**
1550
- * The payment source type.
1551
- * @example ```"token"```
1552
- */
1553
- payment_type: string;
1554
- /**
1555
- * The Checkout.com card or digital wallet token.
1550
+ * The Checkout.com payment or digital wallet token.
1556
1551
  * @example ```"tok_4gzeau5o2uqubbk6fufs3m7p54"```
1557
1552
  */
1558
1553
  token: string;
@@ -1606,12 +1601,7 @@ interface CheckoutComPayment extends Resource {
1606
1601
  }
1607
1602
  interface CheckoutComPaymentCreate extends ResourceCreate {
1608
1603
  /**
1609
- * The payment source type.
1610
- * @example ```"token"```
1611
- */
1612
- payment_type: string;
1613
- /**
1614
- * The Checkout.com card or digital wallet token.
1604
+ * The Checkout.com payment or digital wallet token.
1615
1605
  * @example ```"tok_4gzeau5o2uqubbk6fufs3m7p54"```
1616
1606
  */
1617
1607
  token: string;
@@ -1629,12 +1619,7 @@ interface CheckoutComPaymentCreate extends ResourceCreate {
1629
1619
  }
1630
1620
  interface CheckoutComPaymentUpdate extends ResourceUpdate {
1631
1621
  /**
1632
- * The payment source type.
1633
- * @example ```"token"```
1634
- */
1635
- payment_type?: string | null;
1636
- /**
1637
- * The Checkout.com card or digital wallet token.
1622
+ * The Checkout.com payment or digital wallet token.
1638
1623
  * @example ```"tok_4gzeau5o2uqubbk6fufs3m7p54"```
1639
1624
  */
1640
1625
  token?: string | null;
@@ -4316,6 +4301,11 @@ interface ShippingMethod extends Resource {
4316
4301
  * @example ```5```
4317
4302
  */
4318
4303
  circuit_failure_count?: number | null;
4304
+ /**
4305
+ * The shared secret used to sign the external request payload.
4306
+ * @example ```"1c0994cc4e996e8c6ee56a2198f66f3c"```
4307
+ */
4308
+ shared_secret: string;
4319
4309
  market?: Market | null;
4320
4310
  shipping_zone?: ShippingZone | null;
4321
4311
  shipping_category?: ShippingCategory | null;
@@ -6518,16 +6508,16 @@ interface FlexPromotion extends Resource {
6518
6508
  * @example ```{}```
6519
6509
  */
6520
6510
  rules: Record<string, any>;
6511
+ /**
6512
+ * The rule outcomes.
6513
+ * @example ```[]```
6514
+ */
6515
+ rule_outcomes?: Record<string, any> | null;
6521
6516
  /**
6522
6517
  * Time at which this resource was disabled.
6523
6518
  * @example ```"2018-01-01T12:00:00.000Z"```
6524
6519
  */
6525
6520
  disabled_at?: string | null;
6526
- /**
6527
- * The rule outcomes.
6528
- * @example ```{}```
6529
- */
6530
- rule_outcomes?: Record<string, any> | null;
6531
6521
  /**
6532
6522
  * The payload used to evaluate the rules.
6533
6523
  * @example ```{}```
@@ -8506,6 +8496,11 @@ interface LineItem extends Resource {
8506
8496
  * @example ```"SUMMERDISCOUNT"```
8507
8497
  */
8508
8498
  coupon_code?: string | null;
8499
+ /**
8500
+ * The rule outcomes.
8501
+ * @example ```[]```
8502
+ */
8503
+ rule_outcomes?: Record<string, any> | null;
8509
8504
  /**
8510
8505
  * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.
8511
8506
  * @example ```"closed"```
@@ -9403,10 +9398,10 @@ interface PaymentOption extends Resource {
9403
9398
  */
9404
9399
  name?: string | null;
9405
9400
  /**
9406
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
9401
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
9407
9402
  * @example ```"stripe_payments"```
9408
9403
  */
9409
- payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
9404
+ payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
9410
9405
  /**
9411
9406
  * The payment options data to be added to the payment source payload. Check payment specific API for more details.
9412
9407
  * @example ```{"application_fee_amount":1000,"on_behalf_of":"pm_xxx"}```
@@ -9422,10 +9417,10 @@ interface PaymentOptionCreate extends ResourceCreate {
9422
9417
  */
9423
9418
  name?: string | null;
9424
9419
  /**
9425
- * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
9420
+ * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.
9426
9421
  * @example ```"stripe_payments"```
9427
9422
  */
9428
- payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'credit_cards' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
9423
+ payment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers';
9429
9424
  /**
9430
9425
  * The payment options data to be added to the payment source payload. Check payment specific API for more details.
9431
9426
  * @example ```{"application_fee_amount":1000,"on_behalf_of":"pm_xxx"}```
@@ -12549,6 +12544,11 @@ interface Price extends Resource {
12549
12544
  * @example ```"€130,00"```
12550
12545
  */
12551
12546
  formatted_compare_at_amount?: string | null;
12547
+ /**
12548
+ * The rule outcomes.
12549
+ * @example ```[]```
12550
+ */
12551
+ rule_outcomes?: Record<string, any> | null;
12552
12552
  /**
12553
12553
  * Time at which the resource was processed by API.
12554
12554
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -12559,11 +12559,6 @@ interface Price extends Resource {
12559
12559
  * @example ```{}```
12560
12560
  */
12561
12561
  rules?: Record<string, any> | null;
12562
- /**
12563
- * The rule outcomes.
12564
- * @example ```{}```
12565
- */
12566
- rule_outcomes?: Record<string, any> | null;
12567
12562
  /**
12568
12563
  * The payload used to evaluate the rules.
12569
12564
  * @example ```{}```
@@ -12812,15 +12807,15 @@ interface PriceList extends Resource {
12812
12807
  */
12813
12808
  tax_included?: boolean | null;
12814
12809
  /**
12815
- * The rules (using Rules Engine) to be applied.
12816
- * @example ```{}```
12810
+ * The rule outcomes.
12811
+ * @example ```[]```
12817
12812
  */
12818
- rules?: Record<string, any> | null;
12813
+ rule_outcomes?: Record<string, any> | null;
12819
12814
  /**
12820
- * The rule outcomes.
12815
+ * The rules (using Rules Engine) to be applied.
12821
12816
  * @example ```{}```
12822
12817
  */
12823
- rule_outcomes?: Record<string, any> | null;
12818
+ rules?: Record<string, any> | null;
12824
12819
  /**
12825
12820
  * The payload used to evaluate the rules.
12826
12821
  * @example ```{}```
@@ -17185,7 +17180,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
17185
17180
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
17186
17181
  declare class CommerceLayerClient {
17187
17182
  #private;
17188
- readonly openApiSchemaVersion = "7.8.9";
17183
+ readonly openApiSchemaVersion = "7.9.0";
17189
17184
  constructor(config: CommerceLayerInitConfig);
17190
17185
  get addresses(): Addresses;
17191
17186
  get adjustments(): Adjustments;