@wix/ecom 1.0.680 → 1.0.682

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.
@@ -3563,7 +3563,7 @@ interface AutoTaxFallbackCalculationDetails$5 {
3563
3563
  /** reason for fallback */
3564
3564
  fallbackReason?: FallbackReason$5;
3565
3565
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
3566
- error?: ApplicationError$f;
3566
+ error?: ApplicationError$h;
3567
3567
  }
3568
3568
  declare enum FallbackReason$5 {
3569
3569
  /** auto-tax failed to be calculated */
@@ -3571,7 +3571,7 @@ declare enum FallbackReason$5 {
3571
3571
  /** auto-tax was temporarily deactivated on a system-level */
3572
3572
  AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
3573
3573
  }
3574
- interface ApplicationError$f {
3574
+ interface ApplicationError$h {
3575
3575
  /** Error code. */
3576
3576
  code?: string;
3577
3577
  /** Description of the error. */
@@ -3781,7 +3781,7 @@ interface CalculationErrors$7 extends CalculationErrorsShippingCalculationErrorO
3781
3781
  /** Gift card calculation error. */
3782
3782
  giftCardCalculationError?: Details$7;
3783
3783
  /** Order validation errors. */
3784
- orderValidationErrors?: ApplicationError$f[];
3784
+ orderValidationErrors?: ApplicationError$h[];
3785
3785
  /**
3786
3786
  * Membership payment methods calculation errors
3787
3787
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -3798,7 +3798,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$7 {
3798
3798
  carrierErrors?: CarrierErrors$7;
3799
3799
  }
3800
3800
  interface Details$7 extends DetailsKindOneOf$7 {
3801
- applicationError?: ApplicationError$f;
3801
+ applicationError?: ApplicationError$h;
3802
3802
  validationError?: ValidationError$7;
3803
3803
  systemError?: SystemError$7;
3804
3804
  /**
@@ -3809,7 +3809,7 @@ interface Details$7 extends DetailsKindOneOf$7 {
3809
3809
  }
3810
3810
  /** @oneof */
3811
3811
  interface DetailsKindOneOf$7 {
3812
- applicationError?: ApplicationError$f;
3812
+ applicationError?: ApplicationError$h;
3813
3813
  validationError?: ValidationError$7;
3814
3814
  systemError?: SystemError$7;
3815
3815
  }
@@ -4358,13 +4358,13 @@ interface GiftCardNonNullableFields$5 {
4358
4358
  amount?: MultiCurrencyPriceNonNullableFields$5;
4359
4359
  appId: string;
4360
4360
  }
4361
- interface ApplicationErrorNonNullableFields$f {
4361
+ interface ApplicationErrorNonNullableFields$h {
4362
4362
  code: string;
4363
4363
  description: string;
4364
4364
  }
4365
4365
  interface AutoTaxFallbackCalculationDetailsNonNullableFields$5 {
4366
4366
  fallbackReason: FallbackReason$5;
4367
- error?: ApplicationErrorNonNullableFields$f;
4367
+ error?: ApplicationErrorNonNullableFields$h;
4368
4368
  }
4369
4369
  interface TaxCalculationDetailsNonNullableFields$5 {
4370
4370
  manualRateReason: ManualCalculationReason$5;
@@ -4481,7 +4481,7 @@ interface ValidationErrorNonNullableFields$7 {
4481
4481
  fieldViolations: FieldViolationNonNullableFields$7[];
4482
4482
  }
4483
4483
  interface DetailsNonNullableFields$7 {
4484
- applicationError?: ApplicationErrorNonNullableFields$f;
4484
+ applicationError?: ApplicationErrorNonNullableFields$h;
4485
4485
  validationError?: ValidationErrorNonNullableFields$7;
4486
4486
  }
4487
4487
  interface CarrierErrorNonNullableFields$7 {
@@ -4497,7 +4497,7 @@ interface CalculationErrorsNonNullableFields$7 {
4497
4497
  taxCalculationError?: DetailsNonNullableFields$7;
4498
4498
  couponCalculationError?: DetailsNonNullableFields$7;
4499
4499
  giftCardCalculationError?: DetailsNonNullableFields$7;
4500
- orderValidationErrors: ApplicationErrorNonNullableFields$f[];
4500
+ orderValidationErrors: ApplicationErrorNonNullableFields$h[];
4501
4501
  membershipError?: DetailsNonNullableFields$7;
4502
4502
  discountsCalculationError?: DetailsNonNullableFields$7;
4503
4503
  }
@@ -5318,7 +5318,7 @@ interface AutoTaxFallbackCalculationDetails$4 {
5318
5318
  */
5319
5319
  fallbackReason?: FallbackReason$4;
5320
5320
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
5321
- error?: ApplicationError$e;
5321
+ error?: ApplicationError$g;
5322
5322
  }
5323
5323
  declare enum FallbackReason$4 {
5324
5324
  /** auto-tax failed to be calculated */
@@ -5326,7 +5326,7 @@ declare enum FallbackReason$4 {
5326
5326
  /** auto-tax was temporarily deactivated on a system-level */
5327
5327
  AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
5328
5328
  }
5329
- interface ApplicationError$e {
5329
+ interface ApplicationError$g {
5330
5330
  /** Error code. */
5331
5331
  code?: string;
5332
5332
  /** Description of the error. */
@@ -5536,7 +5536,7 @@ interface CalculationErrors$6 extends CalculationErrorsShippingCalculationErrorO
5536
5536
  /** Gift card calculation error. */
5537
5537
  giftCardCalculationError?: Details$6;
5538
5538
  /** Order validation errors. */
5539
- orderValidationErrors?: ApplicationError$e[];
5539
+ orderValidationErrors?: ApplicationError$g[];
5540
5540
  /**
5541
5541
  * Membership payment methods calculation errors
5542
5542
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -5553,7 +5553,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$6 {
5553
5553
  carrierErrors?: CarrierErrors$6;
5554
5554
  }
5555
5555
  interface Details$6 extends DetailsKindOneOf$6 {
5556
- applicationError?: ApplicationError$e;
5556
+ applicationError?: ApplicationError$g;
5557
5557
  validationError?: ValidationError$6;
5558
5558
  systemError?: SystemError$6;
5559
5559
  /**
@@ -5564,7 +5564,7 @@ interface Details$6 extends DetailsKindOneOf$6 {
5564
5564
  }
5565
5565
  /** @oneof */
5566
5566
  interface DetailsKindOneOf$6 {
5567
- applicationError?: ApplicationError$e;
5567
+ applicationError?: ApplicationError$g;
5568
5568
  validationError?: ValidationError$6;
5569
5569
  systemError?: SystemError$6;
5570
5570
  }
@@ -6099,13 +6099,13 @@ interface GiftCardNonNullableFields$4 {
6099
6099
  amount?: MultiCurrencyPriceNonNullableFields$4;
6100
6100
  appId: string;
6101
6101
  }
6102
- interface ApplicationErrorNonNullableFields$e {
6102
+ interface ApplicationErrorNonNullableFields$g {
6103
6103
  code: string;
6104
6104
  description: string;
6105
6105
  }
6106
6106
  interface AutoTaxFallbackCalculationDetailsNonNullableFields$4 {
6107
6107
  fallbackReason: FallbackReason$4;
6108
- error?: ApplicationErrorNonNullableFields$e;
6108
+ error?: ApplicationErrorNonNullableFields$g;
6109
6109
  }
6110
6110
  interface TaxCalculationDetailsNonNullableFields$4 {
6111
6111
  manualRateReason: ManualCalculationReason$4;
@@ -6222,7 +6222,7 @@ interface ValidationErrorNonNullableFields$6 {
6222
6222
  fieldViolations: FieldViolationNonNullableFields$6[];
6223
6223
  }
6224
6224
  interface DetailsNonNullableFields$6 {
6225
- applicationError?: ApplicationErrorNonNullableFields$e;
6225
+ applicationError?: ApplicationErrorNonNullableFields$g;
6226
6226
  validationError?: ValidationErrorNonNullableFields$6;
6227
6227
  }
6228
6228
  interface CarrierErrorNonNullableFields$6 {
@@ -6238,7 +6238,7 @@ interface CalculationErrorsNonNullableFields$6 {
6238
6238
  taxCalculationError?: DetailsNonNullableFields$6;
6239
6239
  couponCalculationError?: DetailsNonNullableFields$6;
6240
6240
  giftCardCalculationError?: DetailsNonNullableFields$6;
6241
- orderValidationErrors: ApplicationErrorNonNullableFields$e[];
6241
+ orderValidationErrors: ApplicationErrorNonNullableFields$g[];
6242
6242
  membershipError?: DetailsNonNullableFields$6;
6243
6243
  discountsCalculationError?: DetailsNonNullableFields$6;
6244
6244
  }
@@ -7173,7 +7173,7 @@ interface AutoTaxFallbackCalculationDetails$3 {
7173
7173
  /** reason for fallback */
7174
7174
  fallbackReason?: FallbackReason$3;
7175
7175
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
7176
- error?: ApplicationError$d;
7176
+ error?: ApplicationError$f;
7177
7177
  }
7178
7178
  declare enum FallbackReason$3 {
7179
7179
  /** auto-tax failed to be calculated */
@@ -7181,7 +7181,7 @@ declare enum FallbackReason$3 {
7181
7181
  /** auto-tax was temporarily deactivated on a system-level */
7182
7182
  AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
7183
7183
  }
7184
- interface ApplicationError$d {
7184
+ interface ApplicationError$f {
7185
7185
  /** Error code. */
7186
7186
  code?: string;
7187
7187
  /** Description of the error. */
@@ -7391,7 +7391,7 @@ interface CalculationErrors$5 extends CalculationErrorsShippingCalculationErrorO
7391
7391
  /** Gift card calculation error. */
7392
7392
  giftCardCalculationError?: Details$5;
7393
7393
  /** Order validation errors. */
7394
- orderValidationErrors?: ApplicationError$d[];
7394
+ orderValidationErrors?: ApplicationError$f[];
7395
7395
  /**
7396
7396
  * Membership payment methods calculation errors
7397
7397
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -7408,7 +7408,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$5 {
7408
7408
  carrierErrors?: CarrierErrors$5;
7409
7409
  }
7410
7410
  interface Details$5 extends DetailsKindOneOf$5 {
7411
- applicationError?: ApplicationError$d;
7411
+ applicationError?: ApplicationError$f;
7412
7412
  validationError?: ValidationError$5;
7413
7413
  systemError?: SystemError$5;
7414
7414
  /**
@@ -7419,7 +7419,7 @@ interface Details$5 extends DetailsKindOneOf$5 {
7419
7419
  }
7420
7420
  /** @oneof */
7421
7421
  interface DetailsKindOneOf$5 {
7422
- applicationError?: ApplicationError$d;
7422
+ applicationError?: ApplicationError$f;
7423
7423
  validationError?: ValidationError$5;
7424
7424
  systemError?: SystemError$5;
7425
7425
  }
@@ -7931,13 +7931,13 @@ interface GiftCardNonNullableFields$3 {
7931
7931
  amount?: MultiCurrencyPriceNonNullableFields$3;
7932
7932
  appId: string;
7933
7933
  }
7934
- interface ApplicationErrorNonNullableFields$d {
7934
+ interface ApplicationErrorNonNullableFields$f {
7935
7935
  code: string;
7936
7936
  description: string;
7937
7937
  }
7938
7938
  interface AutoTaxFallbackCalculationDetailsNonNullableFields$3 {
7939
7939
  fallbackReason: FallbackReason$3;
7940
- error?: ApplicationErrorNonNullableFields$d;
7940
+ error?: ApplicationErrorNonNullableFields$f;
7941
7941
  }
7942
7942
  interface TaxCalculationDetailsNonNullableFields$3 {
7943
7943
  manualRateReason: ManualCalculationReason$3;
@@ -8054,7 +8054,7 @@ interface ValidationErrorNonNullableFields$5 {
8054
8054
  fieldViolations: FieldViolationNonNullableFields$5[];
8055
8055
  }
8056
8056
  interface DetailsNonNullableFields$5 {
8057
- applicationError?: ApplicationErrorNonNullableFields$d;
8057
+ applicationError?: ApplicationErrorNonNullableFields$f;
8058
8058
  validationError?: ValidationErrorNonNullableFields$5;
8059
8059
  }
8060
8060
  interface CarrierErrorNonNullableFields$5 {
@@ -8070,7 +8070,7 @@ interface CalculationErrorsNonNullableFields$5 {
8070
8070
  taxCalculationError?: DetailsNonNullableFields$5;
8071
8071
  couponCalculationError?: DetailsNonNullableFields$5;
8072
8072
  giftCardCalculationError?: DetailsNonNullableFields$5;
8073
- orderValidationErrors: ApplicationErrorNonNullableFields$d[];
8073
+ orderValidationErrors: ApplicationErrorNonNullableFields$f[];
8074
8074
  membershipError?: DetailsNonNullableFields$5;
8075
8075
  discountsCalculationError?: DetailsNonNullableFields$5;
8076
8076
  }
@@ -8895,7 +8895,7 @@ interface AutoTaxFallbackCalculationDetails$2 {
8895
8895
  */
8896
8896
  fallbackReason?: FallbackReason$2;
8897
8897
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
8898
- error?: ApplicationError$c;
8898
+ error?: ApplicationError$e;
8899
8899
  }
8900
8900
  declare enum FallbackReason$2 {
8901
8901
  /** auto-tax failed to be calculated */
@@ -8903,7 +8903,7 @@ declare enum FallbackReason$2 {
8903
8903
  /** auto-tax was temporarily deactivated on a system-level */
8904
8904
  AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
8905
8905
  }
8906
- interface ApplicationError$c {
8906
+ interface ApplicationError$e {
8907
8907
  /** Error code. */
8908
8908
  code?: string;
8909
8909
  /** Description of the error. */
@@ -9113,7 +9113,7 @@ interface CalculationErrors$4 extends CalculationErrorsShippingCalculationErrorO
9113
9113
  /** Gift card calculation error. */
9114
9114
  giftCardCalculationError?: Details$4;
9115
9115
  /** Order validation errors. */
9116
- orderValidationErrors?: ApplicationError$c[];
9116
+ orderValidationErrors?: ApplicationError$e[];
9117
9117
  /**
9118
9118
  * Membership payment methods calculation errors
9119
9119
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -9130,7 +9130,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$4 {
9130
9130
  carrierErrors?: CarrierErrors$4;
9131
9131
  }
9132
9132
  interface Details$4 extends DetailsKindOneOf$4 {
9133
- applicationError?: ApplicationError$c;
9133
+ applicationError?: ApplicationError$e;
9134
9134
  validationError?: ValidationError$4;
9135
9135
  systemError?: SystemError$4;
9136
9136
  /**
@@ -9141,7 +9141,7 @@ interface Details$4 extends DetailsKindOneOf$4 {
9141
9141
  }
9142
9142
  /** @oneof */
9143
9143
  interface DetailsKindOneOf$4 {
9144
- applicationError?: ApplicationError$c;
9144
+ applicationError?: ApplicationError$e;
9145
9145
  validationError?: ValidationError$4;
9146
9146
  systemError?: SystemError$4;
9147
9147
  }
@@ -9639,13 +9639,13 @@ interface GiftCardNonNullableFields$2 {
9639
9639
  amount?: MultiCurrencyPriceNonNullableFields$2;
9640
9640
  appId: string;
9641
9641
  }
9642
- interface ApplicationErrorNonNullableFields$c {
9642
+ interface ApplicationErrorNonNullableFields$e {
9643
9643
  code: string;
9644
9644
  description: string;
9645
9645
  }
9646
9646
  interface AutoTaxFallbackCalculationDetailsNonNullableFields$2 {
9647
9647
  fallbackReason: FallbackReason$2;
9648
- error?: ApplicationErrorNonNullableFields$c;
9648
+ error?: ApplicationErrorNonNullableFields$e;
9649
9649
  }
9650
9650
  interface TaxCalculationDetailsNonNullableFields$2 {
9651
9651
  manualRateReason: ManualCalculationReason$2;
@@ -9762,7 +9762,7 @@ interface ValidationErrorNonNullableFields$4 {
9762
9762
  fieldViolations: FieldViolationNonNullableFields$4[];
9763
9763
  }
9764
9764
  interface DetailsNonNullableFields$4 {
9765
- applicationError?: ApplicationErrorNonNullableFields$c;
9765
+ applicationError?: ApplicationErrorNonNullableFields$e;
9766
9766
  validationError?: ValidationErrorNonNullableFields$4;
9767
9767
  }
9768
9768
  interface CarrierErrorNonNullableFields$4 {
@@ -9778,7 +9778,7 @@ interface CalculationErrorsNonNullableFields$4 {
9778
9778
  taxCalculationError?: DetailsNonNullableFields$4;
9779
9779
  couponCalculationError?: DetailsNonNullableFields$4;
9780
9780
  giftCardCalculationError?: DetailsNonNullableFields$4;
9781
- orderValidationErrors: ApplicationErrorNonNullableFields$c[];
9781
+ orderValidationErrors: ApplicationErrorNonNullableFields$e[];
9782
9782
  membershipError?: DetailsNonNullableFields$4;
9783
9783
  discountsCalculationError?: DetailsNonNullableFields$4;
9784
9784
  }
@@ -10700,7 +10700,7 @@ interface CalculationErrors$3 extends CalculationErrorsShippingCalculationErrorO
10700
10700
  /** Gift card calculation error. */
10701
10701
  giftCardCalculationError?: Details$3;
10702
10702
  /** Order validation errors. */
10703
- orderValidationErrors?: ApplicationError$b[];
10703
+ orderValidationErrors?: ApplicationError$d[];
10704
10704
  /**
10705
10705
  * Membership payment methods calculation errors
10706
10706
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -10717,7 +10717,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$3 {
10717
10717
  carrierErrors?: CarrierErrors$3;
10718
10718
  }
10719
10719
  interface Details$3 extends DetailsKindOneOf$3 {
10720
- applicationError?: ApplicationError$b;
10720
+ applicationError?: ApplicationError$d;
10721
10721
  validationError?: ValidationError$3;
10722
10722
  systemError?: SystemError$3;
10723
10723
  /**
@@ -10728,11 +10728,11 @@ interface Details$3 extends DetailsKindOneOf$3 {
10728
10728
  }
10729
10729
  /** @oneof */
10730
10730
  interface DetailsKindOneOf$3 {
10731
- applicationError?: ApplicationError$b;
10731
+ applicationError?: ApplicationError$d;
10732
10732
  validationError?: ValidationError$3;
10733
10733
  systemError?: SystemError$3;
10734
10734
  }
10735
- interface ApplicationError$b {
10735
+ interface ApplicationError$d {
10736
10736
  /** Error code. */
10737
10737
  code?: string;
10738
10738
  /** Description of the error. */
@@ -10960,7 +10960,7 @@ interface AutoTaxFallbackCalculationDetails$1 {
10960
10960
  /** reason for fallback */
10961
10961
  fallbackReason?: FallbackReason$1;
10962
10962
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
10963
- error?: ApplicationError$b;
10963
+ error?: ApplicationError$d;
10964
10964
  }
10965
10965
  declare enum FallbackReason$1 {
10966
10966
  /** auto-tax failed to be calculated */
@@ -11603,7 +11603,7 @@ interface PriceSummaryNonNullableFields$5 {
11603
11603
  total?: MultiCurrencyPriceNonNullableFields$1;
11604
11604
  additionalFees?: MultiCurrencyPriceNonNullableFields$1;
11605
11605
  }
11606
- interface ApplicationErrorNonNullableFields$b {
11606
+ interface ApplicationErrorNonNullableFields$d {
11607
11607
  code: string;
11608
11608
  description: string;
11609
11609
  }
@@ -11616,7 +11616,7 @@ interface ValidationErrorNonNullableFields$3 {
11616
11616
  fieldViolations: FieldViolationNonNullableFields$3[];
11617
11617
  }
11618
11618
  interface DetailsNonNullableFields$3 {
11619
- applicationError?: ApplicationErrorNonNullableFields$b;
11619
+ applicationError?: ApplicationErrorNonNullableFields$d;
11620
11620
  validationError?: ValidationErrorNonNullableFields$3;
11621
11621
  }
11622
11622
  interface CarrierErrorNonNullableFields$3 {
@@ -11632,7 +11632,7 @@ interface CalculationErrorsNonNullableFields$3 {
11632
11632
  taxCalculationError?: DetailsNonNullableFields$3;
11633
11633
  couponCalculationError?: DetailsNonNullableFields$3;
11634
11634
  giftCardCalculationError?: DetailsNonNullableFields$3;
11635
- orderValidationErrors: ApplicationErrorNonNullableFields$b[];
11635
+ orderValidationErrors: ApplicationErrorNonNullableFields$d[];
11636
11636
  membershipError?: DetailsNonNullableFields$3;
11637
11637
  discountsCalculationError?: DetailsNonNullableFields$3;
11638
11638
  }
@@ -11677,7 +11677,7 @@ interface CustomFieldNonNullableFields$5 {
11677
11677
  }
11678
11678
  interface AutoTaxFallbackCalculationDetailsNonNullableFields$1 {
11679
11679
  fallbackReason: FallbackReason$1;
11680
- error?: ApplicationErrorNonNullableFields$b;
11680
+ error?: ApplicationErrorNonNullableFields$d;
11681
11681
  }
11682
11682
  interface TaxCalculationDetailsNonNullableFields$1 {
11683
11683
  manualRateReason: ManualCalculationReason$1;
@@ -12622,7 +12622,7 @@ interface CalculationErrors$2 extends CalculationErrorsShippingCalculationErrorO
12622
12622
  /** Gift card calculation error. */
12623
12623
  giftCardCalculationError?: Details$2;
12624
12624
  /** Order validation errors. */
12625
- orderValidationErrors?: ApplicationError$a[];
12625
+ orderValidationErrors?: ApplicationError$c[];
12626
12626
  /**
12627
12627
  * Membership payment methods calculation errors
12628
12628
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -12639,7 +12639,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$2 {
12639
12639
  carrierErrors?: CarrierErrors$2;
12640
12640
  }
12641
12641
  interface Details$2 extends DetailsKindOneOf$2 {
12642
- applicationError?: ApplicationError$a;
12642
+ applicationError?: ApplicationError$c;
12643
12643
  validationError?: ValidationError$2;
12644
12644
  systemError?: SystemError$2;
12645
12645
  /**
@@ -12650,11 +12650,11 @@ interface Details$2 extends DetailsKindOneOf$2 {
12650
12650
  }
12651
12651
  /** @oneof */
12652
12652
  interface DetailsKindOneOf$2 {
12653
- applicationError?: ApplicationError$a;
12653
+ applicationError?: ApplicationError$c;
12654
12654
  validationError?: ValidationError$2;
12655
12655
  systemError?: SystemError$2;
12656
12656
  }
12657
- interface ApplicationError$a {
12657
+ interface ApplicationError$c {
12658
12658
  /** Error code. */
12659
12659
  code?: string;
12660
12660
  /** Description of the error. */
@@ -12882,7 +12882,7 @@ interface AutoTaxFallbackCalculationDetails {
12882
12882
  /** reason for fallback */
12883
12883
  fallbackReason?: FallbackReason;
12884
12884
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
12885
- error?: ApplicationError$a;
12885
+ error?: ApplicationError$c;
12886
12886
  }
12887
12887
  declare enum FallbackReason {
12888
12888
  /** auto-tax failed to be calculated */
@@ -13493,7 +13493,7 @@ interface PriceSummaryNonNullableFields$4 {
13493
13493
  total?: MultiCurrencyPriceNonNullableFields;
13494
13494
  additionalFees?: MultiCurrencyPriceNonNullableFields;
13495
13495
  }
13496
- interface ApplicationErrorNonNullableFields$a {
13496
+ interface ApplicationErrorNonNullableFields$c {
13497
13497
  code: string;
13498
13498
  description: string;
13499
13499
  }
@@ -13506,7 +13506,7 @@ interface ValidationErrorNonNullableFields$2 {
13506
13506
  fieldViolations: FieldViolationNonNullableFields$2[];
13507
13507
  }
13508
13508
  interface DetailsNonNullableFields$2 {
13509
- applicationError?: ApplicationErrorNonNullableFields$a;
13509
+ applicationError?: ApplicationErrorNonNullableFields$c;
13510
13510
  validationError?: ValidationErrorNonNullableFields$2;
13511
13511
  }
13512
13512
  interface CarrierErrorNonNullableFields$2 {
@@ -13522,7 +13522,7 @@ interface CalculationErrorsNonNullableFields$2 {
13522
13522
  taxCalculationError?: DetailsNonNullableFields$2;
13523
13523
  couponCalculationError?: DetailsNonNullableFields$2;
13524
13524
  giftCardCalculationError?: DetailsNonNullableFields$2;
13525
- orderValidationErrors: ApplicationErrorNonNullableFields$a[];
13525
+ orderValidationErrors: ApplicationErrorNonNullableFields$c[];
13526
13526
  membershipError?: DetailsNonNullableFields$2;
13527
13527
  discountsCalculationError?: DetailsNonNullableFields$2;
13528
13528
  }
@@ -13567,7 +13567,7 @@ interface CustomFieldNonNullableFields$4 {
13567
13567
  }
13568
13568
  interface AutoTaxFallbackCalculationDetailsNonNullableFields {
13569
13569
  fallbackReason: FallbackReason;
13570
- error?: ApplicationErrorNonNullableFields$a;
13570
+ error?: ApplicationErrorNonNullableFields$c;
13571
13571
  }
13572
13572
  interface TaxCalculationDetailsNonNullableFields {
13573
13573
  manualRateReason: ManualCalculationReason;
@@ -15358,25 +15358,25 @@ interface ListDeliveryCarriersResponse$1 {
15358
15358
  /** The list of delivery settings for the given requests */
15359
15359
  results?: ListDeliveryCarriersResult$1[];
15360
15360
  /** Bulk action metadata. */
15361
- bulkActionMetadata?: BulkActionMetadata$5;
15361
+ bulkActionMetadata?: BulkActionMetadata$7;
15362
15362
  }
15363
15363
  interface ListDeliveryCarriersResult$1 {
15364
15364
  /** Information about successful action or error for failure. */
15365
- deliveryCarrierMetadata?: ItemMetadata$5;
15365
+ deliveryCarrierMetadata?: ItemMetadata$7;
15366
15366
  /** The delivery carrier details */
15367
15367
  deliveryCarrierDetails?: DeliveryCarrierDetails$1;
15368
15368
  /** The delivery settings for the delivery profile and delivery region. */
15369
15369
  deliveryCarrierRegionalSettings?: DeliveryCarrierRegionalSettings$1[];
15370
15370
  }
15371
- interface ItemMetadata$5 {
15371
+ interface ItemMetadata$7 {
15372
15372
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
15373
15373
  id?: string | null;
15374
15374
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
15375
15375
  success?: boolean;
15376
15376
  /** Details about the error in case of failure. */
15377
- error?: ApplicationError$9;
15377
+ error?: ApplicationError$b;
15378
15378
  }
15379
- interface ApplicationError$9 {
15379
+ interface ApplicationError$b {
15380
15380
  /** Error code. */
15381
15381
  code?: string;
15382
15382
  /** Description of the error. */
@@ -15413,7 +15413,7 @@ interface Row$1 {
15413
15413
  */
15414
15414
  data?: Record<string, any> | null;
15415
15415
  }
15416
- interface BulkActionMetadata$5 {
15416
+ interface BulkActionMetadata$7 {
15417
15417
  /** Number of items that were successfully processed. */
15418
15418
  totalSuccesses?: number;
15419
15419
  /** Number of items that couldn't be processed. */
@@ -15490,13 +15490,13 @@ interface DeliveryCarrierDetailsNonNullableFields$1 {
15490
15490
  interface ListDeliveryCarrierDetailsResponseNonNullableFields$1 {
15491
15491
  deliveryCarrierDetails: DeliveryCarrierDetailsNonNullableFields$1[];
15492
15492
  }
15493
- interface ApplicationErrorNonNullableFields$9 {
15493
+ interface ApplicationErrorNonNullableFields$b {
15494
15494
  code: string;
15495
15495
  description: string;
15496
15496
  }
15497
- interface ItemMetadataNonNullableFields$5 {
15497
+ interface ItemMetadataNonNullableFields$7 {
15498
15498
  success: boolean;
15499
- error?: ApplicationErrorNonNullableFields$9;
15499
+ error?: ApplicationErrorNonNullableFields$b;
15500
15500
  }
15501
15501
  interface ColumnNonNullableFields$1 {
15502
15502
  key: string;
@@ -15515,18 +15515,18 @@ interface DeliveryCarrierRegionalSettingsNonNullableFields$1 {
15515
15515
  dashboardTables: DashboardTableNonNullableFields$1[];
15516
15516
  }
15517
15517
  interface ListDeliveryCarriersResultNonNullableFields$1 {
15518
- deliveryCarrierMetadata?: ItemMetadataNonNullableFields$5;
15518
+ deliveryCarrierMetadata?: ItemMetadataNonNullableFields$7;
15519
15519
  deliveryCarrierDetails?: DeliveryCarrierDetailsNonNullableFields$1;
15520
15520
  deliveryCarrierRegionalSettings: DeliveryCarrierRegionalSettingsNonNullableFields$1[];
15521
15521
  }
15522
- interface BulkActionMetadataNonNullableFields$5 {
15522
+ interface BulkActionMetadataNonNullableFields$7 {
15523
15523
  totalSuccesses: number;
15524
15524
  totalFailures: number;
15525
15525
  undetailedFailures: number;
15526
15526
  }
15527
15527
  interface ListDeliveryCarriersResponseNonNullableFields$1 {
15528
15528
  results: ListDeliveryCarriersResultNonNullableFields$1[];
15529
- bulkActionMetadata?: BulkActionMetadataNonNullableFields$5;
15529
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$7;
15530
15530
  }
15531
15531
  interface UpdateExtendedFieldsResponseNonNullableFields$3 {
15532
15532
  deliveryProfile?: DeliveryProfileNonNullableFields$1;
@@ -15855,25 +15855,25 @@ interface ListDeliveryCarriersResponse {
15855
15855
  /** The list of delivery settings for the given requests */
15856
15856
  results?: ListDeliveryCarriersResult[];
15857
15857
  /** Bulk action metadata. */
15858
- bulkActionMetadata?: BulkActionMetadata$4;
15858
+ bulkActionMetadata?: BulkActionMetadata$6;
15859
15859
  }
15860
15860
  interface ListDeliveryCarriersResult {
15861
15861
  /** Information about successful action or error for failure. */
15862
- deliveryCarrierMetadata?: ItemMetadata$4;
15862
+ deliveryCarrierMetadata?: ItemMetadata$6;
15863
15863
  /** The delivery carrier details */
15864
15864
  deliveryCarrierDetails?: DeliveryCarrierDetails;
15865
15865
  /** The delivery settings for the delivery profile and delivery region. */
15866
15866
  deliveryCarrierRegionalSettings?: DeliveryCarrierRegionalSettings[];
15867
15867
  }
15868
- interface ItemMetadata$4 {
15868
+ interface ItemMetadata$6 {
15869
15869
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
15870
15870
  _id?: string | null;
15871
15871
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
15872
15872
  success?: boolean;
15873
15873
  /** Details about the error in case of failure. */
15874
- error?: ApplicationError$8;
15874
+ error?: ApplicationError$a;
15875
15875
  }
15876
- interface ApplicationError$8 {
15876
+ interface ApplicationError$a {
15877
15877
  /** Error code. */
15878
15878
  code?: string;
15879
15879
  /** Description of the error. */
@@ -15910,7 +15910,7 @@ interface Row {
15910
15910
  */
15911
15911
  data?: Record<string, any> | null;
15912
15912
  }
15913
- interface BulkActionMetadata$4 {
15913
+ interface BulkActionMetadata$6 {
15914
15914
  /** Number of items that were successfully processed. */
15915
15915
  totalSuccesses?: number;
15916
15916
  /** Number of items that couldn't be processed. */
@@ -15987,13 +15987,13 @@ interface DeliveryCarrierDetailsNonNullableFields {
15987
15987
  interface ListDeliveryCarrierDetailsResponseNonNullableFields {
15988
15988
  deliveryCarrierDetails: DeliveryCarrierDetailsNonNullableFields[];
15989
15989
  }
15990
- interface ApplicationErrorNonNullableFields$8 {
15990
+ interface ApplicationErrorNonNullableFields$a {
15991
15991
  code: string;
15992
15992
  description: string;
15993
15993
  }
15994
- interface ItemMetadataNonNullableFields$4 {
15994
+ interface ItemMetadataNonNullableFields$6 {
15995
15995
  success: boolean;
15996
- error?: ApplicationErrorNonNullableFields$8;
15996
+ error?: ApplicationErrorNonNullableFields$a;
15997
15997
  }
15998
15998
  interface ColumnNonNullableFields {
15999
15999
  key: string;
@@ -16012,18 +16012,18 @@ interface DeliveryCarrierRegionalSettingsNonNullableFields {
16012
16012
  dashboardTables: DashboardTableNonNullableFields[];
16013
16013
  }
16014
16014
  interface ListDeliveryCarriersResultNonNullableFields {
16015
- deliveryCarrierMetadata?: ItemMetadataNonNullableFields$4;
16015
+ deliveryCarrierMetadata?: ItemMetadataNonNullableFields$6;
16016
16016
  deliveryCarrierDetails?: DeliveryCarrierDetailsNonNullableFields;
16017
16017
  deliveryCarrierRegionalSettings: DeliveryCarrierRegionalSettingsNonNullableFields[];
16018
16018
  }
16019
- interface BulkActionMetadataNonNullableFields$4 {
16019
+ interface BulkActionMetadataNonNullableFields$6 {
16020
16020
  totalSuccesses: number;
16021
16021
  totalFailures: number;
16022
16022
  undetailedFailures: number;
16023
16023
  }
16024
16024
  interface ListDeliveryCarriersResponseNonNullableFields {
16025
16025
  results: ListDeliveryCarriersResultNonNullableFields[];
16026
- bulkActionMetadata?: BulkActionMetadataNonNullableFields$4;
16026
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$6;
16027
16027
  }
16028
16028
  interface UpdateExtendedFieldsResponseNonNullableFields$2 {
16029
16029
  deliveryProfile?: DeliveryProfileNonNullableFields;
@@ -17217,7 +17217,7 @@ interface CalculationErrors$1 extends CalculationErrorsShippingCalculationErrorO
17217
17217
  /** Tax calculation error. */
17218
17218
  taxCalculationError?: Details$1;
17219
17219
  /** Order validation errors. */
17220
- orderValidationErrors?: ApplicationError$7[];
17220
+ orderValidationErrors?: ApplicationError$9[];
17221
17221
  }
17222
17222
  /** @oneof */
17223
17223
  interface CalculationErrorsShippingCalculationErrorOneOf$1 {
@@ -17227,7 +17227,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$1 {
17227
17227
  carrierErrors?: CarrierErrors$1;
17228
17228
  }
17229
17229
  interface Details$1 extends DetailsKindOneOf$1 {
17230
- applicationError?: ApplicationError$7;
17230
+ applicationError?: ApplicationError$9;
17231
17231
  validationError?: ValidationError$1;
17232
17232
  systemError?: SystemError$1;
17233
17233
  /**
@@ -17238,11 +17238,11 @@ interface Details$1 extends DetailsKindOneOf$1 {
17238
17238
  }
17239
17239
  /** @oneof */
17240
17240
  interface DetailsKindOneOf$1 {
17241
- applicationError?: ApplicationError$7;
17241
+ applicationError?: ApplicationError$9;
17242
17242
  validationError?: ValidationError$1;
17243
17243
  systemError?: SystemError$1;
17244
17244
  }
17245
- interface ApplicationError$7 {
17245
+ interface ApplicationError$9 {
17246
17246
  /** Error code. */
17247
17247
  code?: string;
17248
17248
  /** Description of the error. */
@@ -18333,7 +18333,7 @@ interface ShippingOptionNonNullableFields$1 {
18333
18333
  logistics?: DeliveryLogisticsNonNullableFields$3;
18334
18334
  cost?: ShippingPriceNonNullableFields$3;
18335
18335
  }
18336
- interface ApplicationErrorNonNullableFields$7 {
18336
+ interface ApplicationErrorNonNullableFields$9 {
18337
18337
  code: string;
18338
18338
  description: string;
18339
18339
  }
@@ -18346,7 +18346,7 @@ interface ValidationErrorNonNullableFields$1 {
18346
18346
  fieldViolations: FieldViolationNonNullableFields$1[];
18347
18347
  }
18348
18348
  interface DetailsNonNullableFields$1 {
18349
- applicationError?: ApplicationErrorNonNullableFields$7;
18349
+ applicationError?: ApplicationErrorNonNullableFields$9;
18350
18350
  validationError?: ValidationErrorNonNullableFields$1;
18351
18351
  }
18352
18352
  interface CarrierErrorNonNullableFields$1 {
@@ -18360,7 +18360,7 @@ interface CalculationErrorsNonNullableFields$1 {
18360
18360
  generalShippingCalculationError?: DetailsNonNullableFields$1;
18361
18361
  carrierErrors?: CarrierErrorsNonNullableFields$1;
18362
18362
  taxCalculationError?: DetailsNonNullableFields$1;
18363
- orderValidationErrors: ApplicationErrorNonNullableFields$7[];
18363
+ orderValidationErrors: ApplicationErrorNonNullableFields$9[];
18364
18364
  }
18365
18365
  interface CalculatedDraftOrderNonNullableFields$1 {
18366
18366
  draftOrder?: DraftOrderNonNullableFields$1;
@@ -19657,7 +19657,7 @@ interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOne
19657
19657
  /** Tax calculation error. */
19658
19658
  taxCalculationError?: Details;
19659
19659
  /** Order validation errors. */
19660
- orderValidationErrors?: ApplicationError$6[];
19660
+ orderValidationErrors?: ApplicationError$8[];
19661
19661
  }
19662
19662
  /** @oneof */
19663
19663
  interface CalculationErrorsShippingCalculationErrorOneOf {
@@ -19667,7 +19667,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf {
19667
19667
  carrierErrors?: CarrierErrors;
19668
19668
  }
19669
19669
  interface Details extends DetailsKindOneOf {
19670
- applicationError?: ApplicationError$6;
19670
+ applicationError?: ApplicationError$8;
19671
19671
  validationError?: ValidationError;
19672
19672
  systemError?: SystemError;
19673
19673
  /**
@@ -19678,11 +19678,11 @@ interface Details extends DetailsKindOneOf {
19678
19678
  }
19679
19679
  /** @oneof */
19680
19680
  interface DetailsKindOneOf {
19681
- applicationError?: ApplicationError$6;
19681
+ applicationError?: ApplicationError$8;
19682
19682
  validationError?: ValidationError;
19683
19683
  systemError?: SystemError;
19684
19684
  }
19685
- interface ApplicationError$6 {
19685
+ interface ApplicationError$8 {
19686
19686
  /** Error code. */
19687
19687
  code?: string;
19688
19688
  /** Description of the error. */
@@ -20761,7 +20761,7 @@ interface ShippingOptionNonNullableFields {
20761
20761
  logistics?: DeliveryLogisticsNonNullableFields$2;
20762
20762
  cost?: ShippingPriceNonNullableFields$2;
20763
20763
  }
20764
- interface ApplicationErrorNonNullableFields$6 {
20764
+ interface ApplicationErrorNonNullableFields$8 {
20765
20765
  code: string;
20766
20766
  description: string;
20767
20767
  }
@@ -20774,7 +20774,7 @@ interface ValidationErrorNonNullableFields {
20774
20774
  fieldViolations: FieldViolationNonNullableFields[];
20775
20775
  }
20776
20776
  interface DetailsNonNullableFields {
20777
- applicationError?: ApplicationErrorNonNullableFields$6;
20777
+ applicationError?: ApplicationErrorNonNullableFields$8;
20778
20778
  validationError?: ValidationErrorNonNullableFields;
20779
20779
  }
20780
20780
  interface CarrierErrorNonNullableFields {
@@ -20788,7 +20788,7 @@ interface CalculationErrorsNonNullableFields {
20788
20788
  generalShippingCalculationError?: DetailsNonNullableFields;
20789
20789
  carrierErrors?: CarrierErrorsNonNullableFields;
20790
20790
  taxCalculationError?: DetailsNonNullableFields;
20791
- orderValidationErrors: ApplicationErrorNonNullableFields$6[];
20791
+ orderValidationErrors: ApplicationErrorNonNullableFields$8[];
20792
20792
  }
20793
20793
  interface CalculatedDraftOrderNonNullableFields {
20794
20794
  draftOrder?: DraftOrderNonNullableFields;
@@ -21208,14 +21208,14 @@ interface BulkCreateFulfillmentResponse$1 {
21208
21208
  /** Items updated by bulk action. */
21209
21209
  results?: BulkOrderFulfillmentsResult$1[];
21210
21210
  /** Bulk action metadata. */
21211
- bulkActionMetadata?: BulkActionMetadata$3;
21211
+ bulkActionMetadata?: BulkActionMetadata$5;
21212
21212
  }
21213
21213
  interface BulkOrderFulfillmentsResult$1 {
21214
21214
  /** Item metadata. */
21215
- itemMetadata?: ItemMetadata$3;
21215
+ itemMetadata?: ItemMetadata$5;
21216
21216
  ordersWithFulfillments?: OrderWithFulfillments$1;
21217
21217
  }
21218
- interface ItemMetadata$3 {
21218
+ interface ItemMetadata$5 {
21219
21219
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
21220
21220
  id?: string | null;
21221
21221
  /** Index of the item within the request array. Allows for correlation between request and response items. */
@@ -21223,9 +21223,9 @@ interface ItemMetadata$3 {
21223
21223
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
21224
21224
  success?: boolean;
21225
21225
  /** Details about the error in case of failure. */
21226
- error?: ApplicationError$5;
21226
+ error?: ApplicationError$7;
21227
21227
  }
21228
- interface ApplicationError$5 {
21228
+ interface ApplicationError$7 {
21229
21229
  /** Error code. */
21230
21230
  code?: string;
21231
21231
  /** Description of the error. */
@@ -21233,7 +21233,7 @@ interface ApplicationError$5 {
21233
21233
  /** Data related to the error. */
21234
21234
  data?: Record<string, any> | null;
21235
21235
  }
21236
- interface BulkActionMetadata$3 {
21236
+ interface BulkActionMetadata$5 {
21237
21237
  /** Number of items that were successfully processed. */
21238
21238
  totalSuccesses?: number;
21239
21239
  /** Number of items that couldn't be processed. */
@@ -21267,27 +21267,27 @@ interface UpdateFulfillmentResponseNonNullableFields$1 {
21267
21267
  interface DeleteFulfillmentResponseNonNullableFields$1 {
21268
21268
  orderWithFulfillments?: OrderWithFulfillmentsNonNullableFields$1;
21269
21269
  }
21270
- interface ApplicationErrorNonNullableFields$5 {
21270
+ interface ApplicationErrorNonNullableFields$7 {
21271
21271
  code: string;
21272
21272
  description: string;
21273
21273
  }
21274
- interface ItemMetadataNonNullableFields$3 {
21274
+ interface ItemMetadataNonNullableFields$5 {
21275
21275
  originalIndex: number;
21276
21276
  success: boolean;
21277
- error?: ApplicationErrorNonNullableFields$5;
21277
+ error?: ApplicationErrorNonNullableFields$7;
21278
21278
  }
21279
21279
  interface BulkOrderFulfillmentsResultNonNullableFields$1 {
21280
- itemMetadata?: ItemMetadataNonNullableFields$3;
21280
+ itemMetadata?: ItemMetadataNonNullableFields$5;
21281
21281
  ordersWithFulfillments?: OrderWithFulfillmentsNonNullableFields$1;
21282
21282
  }
21283
- interface BulkActionMetadataNonNullableFields$3 {
21283
+ interface BulkActionMetadataNonNullableFields$5 {
21284
21284
  totalSuccesses: number;
21285
21285
  totalFailures: number;
21286
21286
  undetailedFailures: number;
21287
21287
  }
21288
21288
  interface BulkCreateFulfillmentResponseNonNullableFields$1 {
21289
21289
  results: BulkOrderFulfillmentsResultNonNullableFields$1[];
21290
- bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
21290
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$5;
21291
21291
  }
21292
21292
 
21293
21293
  interface OrderWithFulfillments {
@@ -21429,15 +21429,15 @@ interface BulkCreateFulfillmentResponse {
21429
21429
  /** Items updated by bulk action. */
21430
21430
  results?: BulkOrderFulfillmentsResult[];
21431
21431
  /** Bulk action metadata. */
21432
- bulkActionMetadata?: BulkActionMetadata$2;
21432
+ bulkActionMetadata?: BulkActionMetadata$4;
21433
21433
  }
21434
21434
  interface BulkOrderFulfillmentsResult {
21435
21435
  /** Item metadata. */
21436
- itemMetadata?: ItemMetadata$2;
21436
+ itemMetadata?: ItemMetadata$4;
21437
21437
  /** List of order IDs and their associated fulfillments. */
21438
21438
  ordersWithFulfillments?: OrderWithFulfillments;
21439
21439
  }
21440
- interface ItemMetadata$2 {
21440
+ interface ItemMetadata$4 {
21441
21441
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
21442
21442
  _id?: string | null;
21443
21443
  /** Index of the item within the request array. Allows for correlation between request and response items. */
@@ -21445,9 +21445,9 @@ interface ItemMetadata$2 {
21445
21445
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
21446
21446
  success?: boolean;
21447
21447
  /** Details about the error in case of failure. */
21448
- error?: ApplicationError$4;
21448
+ error?: ApplicationError$6;
21449
21449
  }
21450
- interface ApplicationError$4 {
21450
+ interface ApplicationError$6 {
21451
21451
  /** Error code. */
21452
21452
  code?: string;
21453
21453
  /** Description of the error. */
@@ -21455,7 +21455,7 @@ interface ApplicationError$4 {
21455
21455
  /** Data related to the error. */
21456
21456
  data?: Record<string, any> | null;
21457
21457
  }
21458
- interface BulkActionMetadata$2 {
21458
+ interface BulkActionMetadata$4 {
21459
21459
  /** Number of items that were successfully processed. */
21460
21460
  totalSuccesses?: number;
21461
21461
  /** Number of items that couldn't be processed. */
@@ -21489,27 +21489,27 @@ interface UpdateFulfillmentResponseNonNullableFields {
21489
21489
  interface DeleteFulfillmentResponseNonNullableFields {
21490
21490
  orderWithFulfillments?: OrderWithFulfillmentsNonNullableFields;
21491
21491
  }
21492
- interface ApplicationErrorNonNullableFields$4 {
21492
+ interface ApplicationErrorNonNullableFields$6 {
21493
21493
  code: string;
21494
21494
  description: string;
21495
21495
  }
21496
- interface ItemMetadataNonNullableFields$2 {
21496
+ interface ItemMetadataNonNullableFields$4 {
21497
21497
  originalIndex: number;
21498
21498
  success: boolean;
21499
- error?: ApplicationErrorNonNullableFields$4;
21499
+ error?: ApplicationErrorNonNullableFields$6;
21500
21500
  }
21501
21501
  interface BulkOrderFulfillmentsResultNonNullableFields {
21502
- itemMetadata?: ItemMetadataNonNullableFields$2;
21502
+ itemMetadata?: ItemMetadataNonNullableFields$4;
21503
21503
  ordersWithFulfillments?: OrderWithFulfillmentsNonNullableFields;
21504
21504
  }
21505
- interface BulkActionMetadataNonNullableFields$2 {
21505
+ interface BulkActionMetadataNonNullableFields$4 {
21506
21506
  totalSuccesses: number;
21507
21507
  totalFailures: number;
21508
21508
  undetailedFailures: number;
21509
21509
  }
21510
21510
  interface BulkCreateFulfillmentResponseNonNullableFields {
21511
21511
  results: BulkOrderFulfillmentsResultNonNullableFields[];
21512
- bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
21512
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$4;
21513
21513
  }
21514
21514
 
21515
21515
  type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -23350,6 +23350,42 @@ declare enum PaymentCollectabilityStatus$1 {
23350
23350
  NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
23351
23351
  NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD"
23352
23352
  }
23353
+ interface BulkOrderResult$1 {
23354
+ /** Item metadata. */
23355
+ itemMetadata?: ItemMetadata$3;
23356
+ /**
23357
+ * Updated order.
23358
+ *
23359
+ * Returned when `returnFullEntity = true`.
23360
+ */
23361
+ item?: Order$1;
23362
+ }
23363
+ interface ItemMetadata$3 {
23364
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
23365
+ id?: string | null;
23366
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
23367
+ originalIndex?: number;
23368
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
23369
+ success?: boolean;
23370
+ /** Details about the error in case of failure. */
23371
+ error?: ApplicationError$5;
23372
+ }
23373
+ interface ApplicationError$5 {
23374
+ /** Error code. */
23375
+ code?: string;
23376
+ /** Description of the error. */
23377
+ description?: string;
23378
+ /** Data related to the error. */
23379
+ data?: Record<string, any> | null;
23380
+ }
23381
+ interface BulkActionMetadata$3 {
23382
+ /** Number of items that were successfully processed. */
23383
+ totalSuccesses?: number;
23384
+ /** Number of items that couldn't be processed. */
23385
+ totalFailures?: number;
23386
+ /** Number of failures without details because detailed failure threshold was exceeded. */
23387
+ undetailedFailures?: number;
23388
+ }
23353
23389
  interface GetOrderRequest$1 {
23354
23390
  /** ID of the order to retrieve. */
23355
23391
  id: string;
@@ -23432,6 +23468,26 @@ interface UpdateOrderResponse$1 {
23432
23468
  /** Newly created order. */
23433
23469
  order?: Order$1;
23434
23470
  }
23471
+ interface BulkUpdateOrdersRequest$1 {
23472
+ /** Orders to update. */
23473
+ orders: MaskedOrder$1[];
23474
+ /**
23475
+ * Whether to return the full order entities.
23476
+ *
23477
+ * Default: `false`
23478
+ */
23479
+ returnEntity?: boolean;
23480
+ }
23481
+ interface MaskedOrder$1 {
23482
+ /** Order to be updated. */
23483
+ order?: Order$1;
23484
+ }
23485
+ interface BulkUpdateOrdersResponse$1 {
23486
+ /** Bulk action results. */
23487
+ results?: BulkOrderResult$1[];
23488
+ /** Bulk action metadata. */
23489
+ bulkActionMetadata?: BulkActionMetadata$3;
23490
+ }
23435
23491
  interface CancelOrderRequest$1 {
23436
23492
  /** Order ID. */
23437
23493
  id: string;
@@ -23841,6 +23897,28 @@ interface CreateOrderResponseNonNullableFields$1 {
23841
23897
  interface UpdateOrderResponseNonNullableFields$1 {
23842
23898
  order?: OrderNonNullableFields$1;
23843
23899
  }
23900
+ interface ApplicationErrorNonNullableFields$5 {
23901
+ code: string;
23902
+ description: string;
23903
+ }
23904
+ interface ItemMetadataNonNullableFields$3 {
23905
+ originalIndex: number;
23906
+ success: boolean;
23907
+ error?: ApplicationErrorNonNullableFields$5;
23908
+ }
23909
+ interface BulkOrderResultNonNullableFields$1 {
23910
+ itemMetadata?: ItemMetadataNonNullableFields$3;
23911
+ item?: OrderNonNullableFields$1;
23912
+ }
23913
+ interface BulkActionMetadataNonNullableFields$3 {
23914
+ totalSuccesses: number;
23915
+ totalFailures: number;
23916
+ undetailedFailures: number;
23917
+ }
23918
+ interface BulkUpdateOrdersResponseNonNullableFields$1 {
23919
+ results: BulkOrderResultNonNullableFields$1[];
23920
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
23921
+ }
23844
23922
  interface CancelOrderResponseNonNullableFields$1 {
23845
23923
  order?: OrderNonNullableFields$1;
23846
23924
  }
@@ -24958,6 +25036,42 @@ declare enum PaymentCollectabilityStatus {
24958
25036
  NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
24959
25037
  NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD"
24960
25038
  }
25039
+ interface BulkOrderResult {
25040
+ /** Item metadata. */
25041
+ itemMetadata?: ItemMetadata$2;
25042
+ /**
25043
+ * Updated order.
25044
+ *
25045
+ * Returned when `returnFullEntity = true`.
25046
+ */
25047
+ item?: Order;
25048
+ }
25049
+ interface ItemMetadata$2 {
25050
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
25051
+ _id?: string | null;
25052
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
25053
+ originalIndex?: number;
25054
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
25055
+ success?: boolean;
25056
+ /** Details about the error in case of failure. */
25057
+ error?: ApplicationError$4;
25058
+ }
25059
+ interface ApplicationError$4 {
25060
+ /** Error code. */
25061
+ code?: string;
25062
+ /** Description of the error. */
25063
+ description?: string;
25064
+ /** Data related to the error. */
25065
+ data?: Record<string, any> | null;
25066
+ }
25067
+ interface BulkActionMetadata$2 {
25068
+ /** Number of items that were successfully processed. */
25069
+ totalSuccesses?: number;
25070
+ /** Number of items that couldn't be processed. */
25071
+ totalFailures?: number;
25072
+ /** Number of failures without details because detailed failure threshold was exceeded. */
25073
+ undetailedFailures?: number;
25074
+ }
24961
25075
  interface GetOrderRequest {
24962
25076
  /** ID of the order to retrieve. */
24963
25077
  _id: string;
@@ -25040,6 +25154,26 @@ interface UpdateOrderResponse {
25040
25154
  /** Newly created order. */
25041
25155
  order?: Order;
25042
25156
  }
25157
+ interface BulkUpdateOrdersRequest {
25158
+ /** Orders to update. */
25159
+ orders: MaskedOrder[];
25160
+ /**
25161
+ * Whether to return the full order entities.
25162
+ *
25163
+ * Default: `false`
25164
+ */
25165
+ returnEntity?: boolean;
25166
+ }
25167
+ interface MaskedOrder {
25168
+ /** Order to be updated. */
25169
+ order?: Order;
25170
+ }
25171
+ interface BulkUpdateOrdersResponse {
25172
+ /** Bulk action results. */
25173
+ results?: BulkOrderResult[];
25174
+ /** Bulk action metadata. */
25175
+ bulkActionMetadata?: BulkActionMetadata$2;
25176
+ }
25043
25177
  interface CancelOrderRequest {
25044
25178
  /** Order ID. */
25045
25179
  _id: string;
@@ -25443,6 +25577,28 @@ interface CreateOrderResponseNonNullableFields {
25443
25577
  interface UpdateOrderResponseNonNullableFields {
25444
25578
  order?: OrderNonNullableFields;
25445
25579
  }
25580
+ interface ApplicationErrorNonNullableFields$4 {
25581
+ code: string;
25582
+ description: string;
25583
+ }
25584
+ interface ItemMetadataNonNullableFields$2 {
25585
+ originalIndex: number;
25586
+ success: boolean;
25587
+ error?: ApplicationErrorNonNullableFields$4;
25588
+ }
25589
+ interface BulkOrderResultNonNullableFields {
25590
+ itemMetadata?: ItemMetadataNonNullableFields$2;
25591
+ item?: OrderNonNullableFields;
25592
+ }
25593
+ interface BulkActionMetadataNonNullableFields$2 {
25594
+ totalSuccesses: number;
25595
+ totalFailures: number;
25596
+ undetailedFailures: number;
25597
+ }
25598
+ interface BulkUpdateOrdersResponseNonNullableFields {
25599
+ results: BulkOrderResultNonNullableFields[];
25600
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
25601
+ }
25446
25602
  interface CancelOrderResponseNonNullableFields {
25447
25603
  order?: OrderNonNullableFields;
25448
25604
  }
@@ -25468,10 +25624,12 @@ declare function createOrder(): __PublicMethodMetaInfo$5<'POST', {}, CreateOrder
25468
25624
  declare function updateOrder(): __PublicMethodMetaInfo$5<'PATCH', {
25469
25625
  orderId: string;
25470
25626
  }, UpdateOrderRequest, UpdateOrderRequest$1, UpdateOrderResponse & UpdateOrderResponseNonNullableFields, UpdateOrderResponse$1 & UpdateOrderResponseNonNullableFields$1>;
25627
+ declare function bulkUpdateOrders(): __PublicMethodMetaInfo$5<'POST', {}, BulkUpdateOrdersRequest, BulkUpdateOrdersRequest$1, BulkUpdateOrdersResponse & BulkUpdateOrdersResponseNonNullableFields, BulkUpdateOrdersResponse$1 & BulkUpdateOrdersResponseNonNullableFields$1>;
25471
25628
  declare function cancelOrder(): __PublicMethodMetaInfo$5<'POST', {
25472
25629
  id: string;
25473
25630
  }, CancelOrderRequest, CancelOrderRequest$1, CancelOrderResponse & CancelOrderResponseNonNullableFields, CancelOrderResponse$1 & CancelOrderResponseNonNullableFields$1>;
25474
25631
 
25632
+ declare const meta$5_bulkUpdateOrders: typeof bulkUpdateOrders;
25475
25633
  declare const meta$5_cancelOrder: typeof cancelOrder;
25476
25634
  declare const meta$5_createOrder: typeof createOrder;
25477
25635
  declare const meta$5_getOrder: typeof getOrder;
@@ -25479,7 +25637,7 @@ declare const meta$5_getPaymentCollectabilityStatus: typeof getPaymentCollectabi
25479
25637
  declare const meta$5_searchOrders: typeof searchOrders;
25480
25638
  declare const meta$5_updateOrder: typeof updateOrder;
25481
25639
  declare namespace meta$5 {
25482
- export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_cancelOrder as cancelOrder, meta$5_createOrder as createOrder, meta$5_getOrder as getOrder, meta$5_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, meta$5_searchOrders as searchOrders, meta$5_updateOrder as updateOrder };
25640
+ export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_bulkUpdateOrders as bulkUpdateOrders, meta$5_cancelOrder as cancelOrder, meta$5_createOrder as createOrder, meta$5_getOrder as getOrder, meta$5_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, meta$5_searchOrders as searchOrders, meta$5_updateOrder as updateOrder };
25483
25641
  }
25484
25642
 
25485
25643
  interface OrderTransactions$1 {
@@ -25808,9 +25966,23 @@ interface RefundItemNonNullableFields$1 {
25808
25966
  lineItemId: string;
25809
25967
  quantity: number;
25810
25968
  }
25969
+ interface LineItemRefundNonNullableFields$1 {
25970
+ lineItemId: string;
25971
+ quantity: number;
25972
+ }
25973
+ interface AdditionalFeeRefundNonNullableFields$1 {
25974
+ additionalFeeId: string;
25975
+ amount?: PriceNonNullableFields$1;
25976
+ }
25977
+ interface ShippingRefundNonNullableFields$1 {
25978
+ amount?: PriceNonNullableFields$1;
25979
+ }
25811
25980
  interface RefundDetailsNonNullableFields$1 {
25812
25981
  items: RefundItemNonNullableFields$1[];
25813
25982
  shippingIncluded: boolean;
25983
+ lineItems: LineItemRefundNonNullableFields$1[];
25984
+ additionalFees: AdditionalFeeRefundNonNullableFields$1[];
25985
+ shipping?: ShippingRefundNonNullableFields$1;
25814
25986
  }
25815
25987
  interface AggregatedRefundSummaryNonNullableFields$1 {
25816
25988
  requestedRefund?: PriceNonNullableFields$1;
@@ -26192,9 +26364,23 @@ interface RefundItemNonNullableFields {
26192
26364
  lineItemId: string;
26193
26365
  quantity: number;
26194
26366
  }
26367
+ interface LineItemRefundNonNullableFields {
26368
+ lineItemId: string;
26369
+ quantity: number;
26370
+ }
26371
+ interface AdditionalFeeRefundNonNullableFields {
26372
+ additionalFeeId: string;
26373
+ amount?: PriceNonNullableFields;
26374
+ }
26375
+ interface ShippingRefundNonNullableFields {
26376
+ amount?: PriceNonNullableFields;
26377
+ }
26195
26378
  interface RefundDetailsNonNullableFields {
26196
26379
  items: RefundItemNonNullableFields[];
26197
26380
  shippingIncluded: boolean;
26381
+ lineItems: LineItemRefundNonNullableFields[];
26382
+ additionalFees: AdditionalFeeRefundNonNullableFields[];
26383
+ shipping?: ShippingRefundNonNullableFields;
26198
26384
  }
26199
26385
  interface AggregatedRefundSummaryNonNullableFields {
26200
26386
  requestedRefund?: PriceNonNullableFields;