@wix/ecom 1.0.860 → 1.0.862

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.
@@ -6673,6 +6673,30 @@ declare enum ChargeType$6 {
6673
6673
  HANDLING_FEE = "HANDLING_FEE",
6674
6674
  INSURANCE = "INSURANCE"
6675
6675
  }
6676
+ interface DeliveryAllocation$5 {
6677
+ /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
6678
+ deliveryCarrier?: Carrier$5;
6679
+ /** The delivery region that are relevant for this delivery solution. */
6680
+ deliveryRegion?: Region$5;
6681
+ /** Populated if the delivery solution is a partially supplied by this carrier. */
6682
+ applicableLineItems?: ApplicableLineItems$5;
6683
+ }
6684
+ interface Carrier$5 {
6685
+ /** The carrier app id */
6686
+ appId?: string | null;
6687
+ /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
6688
+ code?: string;
6689
+ }
6690
+ interface Region$5 {
6691
+ /** The delivery region id. */
6692
+ _id?: string | null;
6693
+ /** The delivery region name. */
6694
+ name?: string | null;
6695
+ }
6696
+ interface ApplicableLineItems$5 {
6697
+ /** Line items that the delivery solution is for. */
6698
+ lineItemIds?: string[];
6699
+ }
6676
6700
  interface CarrierServiceOption$4 {
6677
6701
  /** Carrier ID. */
6678
6702
  carrierId?: string;
@@ -6707,30 +6731,6 @@ interface OtherCharge$4 {
6707
6731
  /** Price of added cost. */
6708
6732
  price?: MultiCurrencyPrice$4;
6709
6733
  }
6710
- interface DeliveryAllocation$5 {
6711
- /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
6712
- deliveryCarrier?: Carrier$5;
6713
- /** The delivery region that are relevant for this delivery solution. */
6714
- deliveryRegion?: Region$5;
6715
- /** Populated if the delivery solution is a partially supplied by this carrier. */
6716
- applicableLineItems?: ApplicableLineItems$5;
6717
- }
6718
- interface Carrier$5 {
6719
- /** The carrier app id */
6720
- appId?: string | null;
6721
- /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
6722
- code?: string;
6723
- }
6724
- interface Region$5 {
6725
- /** The delivery region id. */
6726
- _id?: string | null;
6727
- /** The delivery region name. */
6728
- name?: string | null;
6729
- }
6730
- interface ApplicableLineItems$5 {
6731
- /** Line items that the delivery solution is for. */
6732
- lineItemIds?: string[];
6733
- }
6734
6734
  interface AppliedDiscount$6 extends AppliedDiscountDiscountSourceOneOf$6 {
6735
6735
  /** Coupon details. */
6736
6736
  coupon?: V1Coupon$1;
@@ -7663,6 +7663,16 @@ interface SelectedCarrierServiceOptionOtherChargeNonNullableFields$3 {
7663
7663
  type: ChargeType$6;
7664
7664
  cost?: SelectedCarrierServiceOptionPricesNonNullableFields$3;
7665
7665
  }
7666
+ interface CarrierNonNullableFields$4 {
7667
+ code: string;
7668
+ }
7669
+ interface ApplicableLineItemsNonNullableFields$4 {
7670
+ lineItemIds: string[];
7671
+ }
7672
+ interface DeliveryAllocationNonNullableFields$4 {
7673
+ deliveryCarrier?: CarrierNonNullableFields$4;
7674
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$4;
7675
+ }
7666
7676
  interface SelectedCarrierServiceOptionNonNullableFields$3 {
7667
7677
  code: string;
7668
7678
  title: string;
@@ -7670,6 +7680,7 @@ interface SelectedCarrierServiceOptionNonNullableFields$3 {
7670
7680
  cost?: SelectedCarrierServiceOptionPricesNonNullableFields$3;
7671
7681
  requestedShippingOption: boolean;
7672
7682
  otherCharges: SelectedCarrierServiceOptionOtherChargeNonNullableFields$3[];
7683
+ deliveryAllocations: DeliveryAllocationNonNullableFields$4[];
7673
7684
  }
7674
7685
  interface OtherChargeNonNullableFields$3 {
7675
7686
  type: ChargeType$6;
@@ -7679,16 +7690,6 @@ interface ShippingPriceNonNullableFields$5 {
7679
7690
  price?: MultiCurrencyPriceNonNullableFields$3;
7680
7691
  otherCharges: OtherChargeNonNullableFields$3[];
7681
7692
  }
7682
- interface CarrierNonNullableFields$4 {
7683
- code: string;
7684
- }
7685
- interface ApplicableLineItemsNonNullableFields$4 {
7686
- lineItemIds: string[];
7687
- }
7688
- interface DeliveryAllocationNonNullableFields$4 {
7689
- deliveryCarrier?: CarrierNonNullableFields$4;
7690
- applicableLineItems?: ApplicableLineItemsNonNullableFields$4;
7691
- }
7692
7693
  interface ShippingOptionNonNullableFields$5 {
7693
7694
  code: string;
7694
7695
  title: string;
@@ -9489,6 +9490,30 @@ declare enum ChargeType$5 {
9489
9490
  HANDLING_FEE = "HANDLING_FEE",
9490
9491
  INSURANCE = "INSURANCE"
9491
9492
  }
9493
+ interface DeliveryAllocation$4 {
9494
+ /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
9495
+ deliveryCarrier?: Carrier$4;
9496
+ /** The delivery region that are relevant for this delivery solution. */
9497
+ deliveryRegion?: Region$4;
9498
+ /** Populated if the delivery solution is a partially supplied by this carrier. */
9499
+ applicableLineItems?: ApplicableLineItems$4;
9500
+ }
9501
+ interface Carrier$4 {
9502
+ /** The carrier app id */
9503
+ appId?: string | null;
9504
+ /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
9505
+ code?: string;
9506
+ }
9507
+ interface Region$4 {
9508
+ /** The delivery region id. */
9509
+ _id?: string | null;
9510
+ /** The delivery region name. */
9511
+ name?: string | null;
9512
+ }
9513
+ interface ApplicableLineItems$4 {
9514
+ /** Line items that the delivery solution is for. */
9515
+ lineItemIds?: string[];
9516
+ }
9492
9517
  interface CarrierServiceOption$3 {
9493
9518
  /** Carrier ID. */
9494
9519
  carrierId?: string;
@@ -9523,30 +9548,6 @@ interface OtherCharge$3 {
9523
9548
  /** Price of added cost. */
9524
9549
  price?: MultiCurrencyPrice$3;
9525
9550
  }
9526
- interface DeliveryAllocation$4 {
9527
- /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
9528
- deliveryCarrier?: Carrier$4;
9529
- /** The delivery region that are relevant for this delivery solution. */
9530
- deliveryRegion?: Region$4;
9531
- /** Populated if the delivery solution is a partially supplied by this carrier. */
9532
- applicableLineItems?: ApplicableLineItems$4;
9533
- }
9534
- interface Carrier$4 {
9535
- /** The carrier app id */
9536
- appId?: string | null;
9537
- /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
9538
- code?: string;
9539
- }
9540
- interface Region$4 {
9541
- /** The delivery region id. */
9542
- _id?: string | null;
9543
- /** The delivery region name. */
9544
- name?: string | null;
9545
- }
9546
- interface ApplicableLineItems$4 {
9547
- /** Line items that the delivery solution is for. */
9548
- lineItemIds?: string[];
9549
- }
9550
9551
  interface AppliedDiscount$5 extends AppliedDiscountDiscountSourceOneOf$5 {
9551
9552
  /** Coupon details. */
9552
9553
  coupon?: V1Coupon;
@@ -10479,6 +10480,16 @@ interface SelectedCarrierServiceOptionOtherChargeNonNullableFields$2 {
10479
10480
  type: ChargeType$5;
10480
10481
  cost?: SelectedCarrierServiceOptionPricesNonNullableFields$2;
10481
10482
  }
10483
+ interface CarrierNonNullableFields$3 {
10484
+ code: string;
10485
+ }
10486
+ interface ApplicableLineItemsNonNullableFields$3 {
10487
+ lineItemIds: string[];
10488
+ }
10489
+ interface DeliveryAllocationNonNullableFields$3 {
10490
+ deliveryCarrier?: CarrierNonNullableFields$3;
10491
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$3;
10492
+ }
10482
10493
  interface SelectedCarrierServiceOptionNonNullableFields$2 {
10483
10494
  code: string;
10484
10495
  title: string;
@@ -10486,6 +10497,7 @@ interface SelectedCarrierServiceOptionNonNullableFields$2 {
10486
10497
  cost?: SelectedCarrierServiceOptionPricesNonNullableFields$2;
10487
10498
  requestedShippingOption: boolean;
10488
10499
  otherCharges: SelectedCarrierServiceOptionOtherChargeNonNullableFields$2[];
10500
+ deliveryAllocations: DeliveryAllocationNonNullableFields$3[];
10489
10501
  }
10490
10502
  interface OtherChargeNonNullableFields$2 {
10491
10503
  type: ChargeType$5;
@@ -10495,16 +10507,6 @@ interface ShippingPriceNonNullableFields$4 {
10495
10507
  price?: MultiCurrencyPriceNonNullableFields$2;
10496
10508
  otherCharges: OtherChargeNonNullableFields$2[];
10497
10509
  }
10498
- interface CarrierNonNullableFields$3 {
10499
- code: string;
10500
- }
10501
- interface ApplicableLineItemsNonNullableFields$3 {
10502
- lineItemIds: string[];
10503
- }
10504
- interface DeliveryAllocationNonNullableFields$3 {
10505
- deliveryCarrier?: CarrierNonNullableFields$3;
10506
- applicableLineItems?: ApplicableLineItemsNonNullableFields$3;
10507
- }
10508
10510
  interface ShippingOptionNonNullableFields$4 {
10509
10511
  code: string;
10510
10512
  title: string;
@@ -11879,6 +11881,30 @@ declare enum ChargeType$4 {
11879
11881
  HANDLING_FEE = "HANDLING_FEE",
11880
11882
  INSURANCE = "INSURANCE"
11881
11883
  }
11884
+ interface DeliveryAllocation$3 {
11885
+ /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
11886
+ deliveryCarrier?: Carrier$3;
11887
+ /** The delivery region that are relevant for this delivery solution. */
11888
+ deliveryRegion?: Region$3;
11889
+ /** Populated if the delivery solution is a partially supplied by this carrier. */
11890
+ applicableLineItems?: ApplicableLineItems$3;
11891
+ }
11892
+ interface Carrier$3 {
11893
+ /** The carrier app id */
11894
+ appId?: string | null;
11895
+ /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
11896
+ code?: string;
11897
+ }
11898
+ interface Region$3 {
11899
+ /** The delivery region id. */
11900
+ _id?: string | null;
11901
+ /** The delivery region name. */
11902
+ name?: string | null;
11903
+ }
11904
+ interface ApplicableLineItems$3 {
11905
+ /** Line items that the delivery solution is for. */
11906
+ lineItemIds?: string[];
11907
+ }
11882
11908
  interface ShippingRegion$4 {
11883
11909
  /**
11884
11910
  * Shipping region ID.
@@ -11922,30 +11948,6 @@ interface OtherCharge$2 {
11922
11948
  /** Price of added cost. */
11923
11949
  price?: MultiCurrencyPrice$2;
11924
11950
  }
11925
- interface DeliveryAllocation$3 {
11926
- /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
11927
- deliveryCarrier?: Carrier$3;
11928
- /** The delivery region that are relevant for this delivery solution. */
11929
- deliveryRegion?: Region$3;
11930
- /** Populated if the delivery solution is a partially supplied by this carrier. */
11931
- applicableLineItems?: ApplicableLineItems$3;
11932
- }
11933
- interface Carrier$3 {
11934
- /** The carrier app id */
11935
- appId?: string | null;
11936
- /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
11937
- code?: string;
11938
- }
11939
- interface Region$3 {
11940
- /** The delivery region id. */
11941
- _id?: string | null;
11942
- /** The delivery region name. */
11943
- name?: string | null;
11944
- }
11945
- interface ApplicableLineItems$3 {
11946
- /** Line items that the delivery solution is for. */
11947
- lineItemIds?: string[];
11948
- }
11949
11951
  interface BuyerInfo$5 extends BuyerInfoIdOneOf$3 {
11950
11952
  /**
11951
11953
  * Visitor ID - if the buyer is **not** a site member.
@@ -13619,6 +13621,16 @@ interface SelectedCarrierServiceOptionOtherChargeNonNullableFields$1 {
13619
13621
  type: ChargeType$4;
13620
13622
  cost?: SelectedCarrierServiceOptionPricesNonNullableFields$1;
13621
13623
  }
13624
+ interface CarrierNonNullableFields$2 {
13625
+ code: string;
13626
+ }
13627
+ interface ApplicableLineItemsNonNullableFields$2 {
13628
+ lineItemIds: string[];
13629
+ }
13630
+ interface DeliveryAllocationNonNullableFields$2 {
13631
+ deliveryCarrier?: CarrierNonNullableFields$2;
13632
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$2;
13633
+ }
13622
13634
  interface SelectedCarrierServiceOptionNonNullableFields$1 {
13623
13635
  code: string;
13624
13636
  title: string;
@@ -13626,6 +13638,7 @@ interface SelectedCarrierServiceOptionNonNullableFields$1 {
13626
13638
  cost?: SelectedCarrierServiceOptionPricesNonNullableFields$1;
13627
13639
  requestedShippingOption: boolean;
13628
13640
  otherCharges: SelectedCarrierServiceOptionOtherChargeNonNullableFields$1[];
13641
+ deliveryAllocations: DeliveryAllocationNonNullableFields$2[];
13629
13642
  }
13630
13643
  interface ShippingRegionNonNullableFields$1 {
13631
13644
  _id: string;
@@ -13639,16 +13652,6 @@ interface ShippingPriceNonNullableFields$3 {
13639
13652
  price?: MultiCurrencyPriceNonNullableFields$1;
13640
13653
  otherCharges: OtherChargeNonNullableFields$1[];
13641
13654
  }
13642
- interface CarrierNonNullableFields$2 {
13643
- code: string;
13644
- }
13645
- interface ApplicableLineItemsNonNullableFields$2 {
13646
- lineItemIds: string[];
13647
- }
13648
- interface DeliveryAllocationNonNullableFields$2 {
13649
- deliveryCarrier?: CarrierNonNullableFields$2;
13650
- applicableLineItems?: ApplicableLineItemsNonNullableFields$2;
13651
- }
13652
13655
  interface ShippingOptionNonNullableFields$3 {
13653
13656
  code: string;
13654
13657
  title: string;
@@ -16243,6 +16246,30 @@ declare enum ChargeType$3 {
16243
16246
  HANDLING_FEE = "HANDLING_FEE",
16244
16247
  INSURANCE = "INSURANCE"
16245
16248
  }
16249
+ interface DeliveryAllocation$2 {
16250
+ /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
16251
+ deliveryCarrier?: Carrier$2;
16252
+ /** The delivery region that are relevant for this delivery solution. */
16253
+ deliveryRegion?: Region$2;
16254
+ /** Populated if the delivery solution is a partially supplied by this carrier. */
16255
+ applicableLineItems?: ApplicableLineItems$2;
16256
+ }
16257
+ interface Carrier$2 {
16258
+ /** The carrier app id */
16259
+ appId?: string | null;
16260
+ /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
16261
+ code?: string;
16262
+ }
16263
+ interface Region$2 {
16264
+ /** The delivery region id. */
16265
+ _id?: string | null;
16266
+ /** The delivery region name. */
16267
+ name?: string | null;
16268
+ }
16269
+ interface ApplicableLineItems$2 {
16270
+ /** Line items that the delivery solution is for. */
16271
+ lineItemIds?: string[];
16272
+ }
16246
16273
  interface ShippingRegion$3 {
16247
16274
  /**
16248
16275
  * Shipping region ID.
@@ -16286,30 +16313,6 @@ interface OtherCharge$1 {
16286
16313
  /** Price of added cost. */
16287
16314
  price?: MultiCurrencyPrice$1;
16288
16315
  }
16289
- interface DeliveryAllocation$2 {
16290
- /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
16291
- deliveryCarrier?: Carrier$2;
16292
- /** The delivery region that are relevant for this delivery solution. */
16293
- deliveryRegion?: Region$2;
16294
- /** Populated if the delivery solution is a partially supplied by this carrier. */
16295
- applicableLineItems?: ApplicableLineItems$2;
16296
- }
16297
- interface Carrier$2 {
16298
- /** The carrier app id */
16299
- appId?: string | null;
16300
- /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
16301
- code?: string;
16302
- }
16303
- interface Region$2 {
16304
- /** The delivery region id. */
16305
- _id?: string | null;
16306
- /** The delivery region name. */
16307
- name?: string | null;
16308
- }
16309
- interface ApplicableLineItems$2 {
16310
- /** Line items that the delivery solution is for. */
16311
- lineItemIds?: string[];
16312
- }
16313
16316
  interface BuyerInfo$4 extends BuyerInfoIdOneOf$2 {
16314
16317
  /**
16315
16318
  * Visitor ID (if site visitor is **not** a member).
@@ -26986,7 +26989,8 @@ declare enum NonRefundableReason$1 {
26986
26989
  PENDING_REFUND = "PENDING_REFUND",
26987
26990
  FORBIDDEN = "FORBIDDEN",
26988
26991
  TRANSACTION_NOT_FOUND = "TRANSACTION_NOT_FOUND",
26989
- ORDER_IS_PENDING = "ORDER_IS_PENDING"
26992
+ ORDER_IS_PENDING = "ORDER_IS_PENDING",
26993
+ ORDER_IS_REJECTED = "ORDER_IS_REJECTED"
26990
26994
  }
26991
26995
  declare enum ManuallyRefundableReason$1 {
26992
26996
  EXPIRED = "EXPIRED",
@@ -35370,11 +35374,11 @@ declare enum SubscriptionFrequency {
35370
35374
  declare enum PaymentOptionType {
35371
35375
  /** The entire payment for this item happens as part of the checkout. */
35372
35376
  FULL_PAYMENT_ONLINE = "FULL_PAYMENT_ONLINE",
35373
- /** The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods. */
35377
+ /** The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods. */
35374
35378
  FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE",
35375
35379
  /** Payment for this item is done by charging a membership. When selected, `price` is `0`. */
35376
35380
  MEMBERSHIP = "MEMBERSHIP",
35377
- /** Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`. */
35381
+ /** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
35378
35382
  DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
35379
35383
  /** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
35380
35384
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
@@ -36379,6 +36383,16 @@ interface SelectedCarrierServiceOptionOtherChargeNonNullableFields {
36379
36383
  type: ChargeType$1;
36380
36384
  cost?: SelectedCarrierServiceOptionPricesNonNullableFields;
36381
36385
  }
36386
+ interface CarrierNonNullableFields$1 {
36387
+ code: string;
36388
+ }
36389
+ interface ApplicableLineItemsNonNullableFields$1 {
36390
+ lineItemIds: string[];
36391
+ }
36392
+ interface DeliveryAllocationNonNullableFields$1 {
36393
+ deliveryCarrier?: CarrierNonNullableFields$1;
36394
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$1;
36395
+ }
36382
36396
  interface SelectedCarrierServiceOptionNonNullableFields {
36383
36397
  code: string;
36384
36398
  title: string;
@@ -36386,6 +36400,7 @@ interface SelectedCarrierServiceOptionNonNullableFields {
36386
36400
  cost?: SelectedCarrierServiceOptionPricesNonNullableFields;
36387
36401
  requestedShippingOption: boolean;
36388
36402
  otherCharges: SelectedCarrierServiceOptionOtherChargeNonNullableFields[];
36403
+ deliveryAllocations: DeliveryAllocationNonNullableFields$1[];
36389
36404
  }
36390
36405
  interface OtherChargeNonNullableFields {
36391
36406
  type: ChargeType$1;
@@ -36395,16 +36410,6 @@ interface ShippingPriceNonNullableFields {
36395
36410
  price?: MultiCurrencyPriceNonNullableFields;
36396
36411
  otherCharges: OtherChargeNonNullableFields[];
36397
36412
  }
36398
- interface CarrierNonNullableFields$1 {
36399
- code: string;
36400
- }
36401
- interface ApplicableLineItemsNonNullableFields$1 {
36402
- lineItemIds: string[];
36403
- }
36404
- interface DeliveryAllocationNonNullableFields$1 {
36405
- deliveryCarrier?: CarrierNonNullableFields$1;
36406
- applicableLineItems?: ApplicableLineItemsNonNullableFields$1;
36407
- }
36408
36413
  interface ShippingOptionNonNullableFields {
36409
36414
  code: string;
36410
36415
  title: string;