@wix/ecom 1.0.693 → 1.0.700

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.
@@ -3055,6 +3055,18 @@ interface LineItem$7 {
3055
3055
  * @readonly
3056
3056
  */
3057
3057
  taxGroupId?: string | null;
3058
+ /**
3059
+ * Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
3060
+ * @readonly
3061
+ */
3062
+ consentRequiredPaymentPolicy?: string | null;
3063
+ /**
3064
+ * Whether to save the payment method on the order.
3065
+ *
3066
+ * Default: `false`
3067
+ * @readonly
3068
+ */
3069
+ savePaymentMethod?: boolean;
3058
3070
  }
3059
3071
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
3060
3072
  interface CatalogReference$d {
@@ -3586,7 +3598,7 @@ interface EstimateTotalsResponse$3 {
3586
3598
  /** Tax summary. */
3587
3599
  taxSummary?: TaxSummary$b;
3588
3600
  /** Shipping information. */
3589
- shippingInfo?: ShippingInformation$9;
3601
+ shippingInfo?: ShippingInformation$5;
3590
3602
  /** Applied discounts. */
3591
3603
  appliedDiscounts?: AppliedDiscount$b[];
3592
3604
  /** Calculation errors. */
@@ -3773,7 +3785,7 @@ interface ApplicationError$j {
3773
3785
  /** Data related to the error. */
3774
3786
  data?: Record<string, any> | null;
3775
3787
  }
3776
- interface ShippingInformation$9 {
3788
+ interface ShippingInformation$5 {
3777
3789
  /** Shipping region. */
3778
3790
  region?: ShippingRegion$b;
3779
3791
  /** Selected shipping option. */
@@ -4953,6 +4965,18 @@ interface LineItem$6 {
4953
4965
  * @readonly
4954
4966
  */
4955
4967
  taxGroupId?: string | null;
4968
+ /**
4969
+ * Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
4970
+ * @readonly
4971
+ */
4972
+ consentRequiredPaymentPolicy?: string | null;
4973
+ /**
4974
+ * Whether to save the payment method on the order.
4975
+ *
4976
+ * Default: `false`
4977
+ * @readonly
4978
+ */
4979
+ savePaymentMethod?: boolean;
4956
4980
  }
4957
4981
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
4958
4982
  interface CatalogReference$c {
@@ -5416,7 +5440,7 @@ interface EstimateTotalsResponse$2 {
5416
5440
  /** Tax summary. */
5417
5441
  taxSummary?: TaxSummary$a;
5418
5442
  /** Shipping information. */
5419
- shippingInfo?: ShippingInformation$8;
5443
+ shippingInfo?: ShippingInformation$4;
5420
5444
  /** Applied discounts. */
5421
5445
  appliedDiscounts?: AppliedDiscount$a[];
5422
5446
  /** Calculation errors. */
@@ -5612,7 +5636,7 @@ interface ApplicationError$i {
5612
5636
  /** Data related to the error. */
5613
5637
  data?: Record<string, any> | null;
5614
5638
  }
5615
- interface ShippingInformation$8 {
5639
+ interface ShippingInformation$4 {
5616
5640
  /** Shipping region. */
5617
5641
  region?: ShippingRegion$a;
5618
5642
  /** Selected shipping option. */
@@ -6831,6 +6855,18 @@ interface LineItem$5 {
6831
6855
  * @readonly
6832
6856
  */
6833
6857
  taxGroupId?: string | null;
6858
+ /**
6859
+ * Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
6860
+ * @readonly
6861
+ */
6862
+ consentRequiredPaymentPolicy?: string | null;
6863
+ /**
6864
+ * Whether to save the payment method on the order.
6865
+ *
6866
+ * Default: `false`
6867
+ * @readonly
6868
+ */
6869
+ savePaymentMethod?: boolean;
6834
6870
  }
6835
6871
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
6836
6872
  interface CatalogReference$b {
@@ -7374,7 +7410,7 @@ interface EstimateTotalsResponse$1 {
7374
7410
  /** Tax summary. */
7375
7411
  taxSummary?: TaxSummary$9;
7376
7412
  /** Shipping information. */
7377
- shippingInfo?: ShippingInformation$7;
7413
+ shippingInfo?: ShippingInformation$3;
7378
7414
  /** Applied discounts. */
7379
7415
  appliedDiscounts?: AppliedDiscount$9[];
7380
7416
  /** Calculation errors. */
@@ -7561,7 +7597,7 @@ interface ApplicationError$h {
7561
7597
  /** Data related to the error. */
7562
7598
  data?: Record<string, any> | null;
7563
7599
  }
7564
- interface ShippingInformation$7 {
7600
+ interface ShippingInformation$3 {
7565
7601
  /** Shipping region. */
7566
7602
  region?: ShippingRegion$9;
7567
7603
  /** Selected shipping option. */
@@ -8694,6 +8730,18 @@ interface LineItem$4 {
8694
8730
  * @readonly
8695
8731
  */
8696
8732
  taxGroupId?: string | null;
8733
+ /**
8734
+ * Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
8735
+ * @readonly
8736
+ */
8737
+ consentRequiredPaymentPolicy?: string | null;
8738
+ /**
8739
+ * Whether to save the payment method on the order.
8740
+ *
8741
+ * Default: `false`
8742
+ * @readonly
8743
+ */
8744
+ savePaymentMethod?: boolean;
8697
8745
  }
8698
8746
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
8699
8747
  interface CatalogReference$a {
@@ -9169,7 +9217,7 @@ interface EstimateTotalsResponse {
9169
9217
  /** Tax summary. */
9170
9218
  taxSummary?: TaxSummary$8;
9171
9219
  /** Shipping information. */
9172
- shippingInfo?: ShippingInformation$6;
9220
+ shippingInfo?: ShippingInformation$2;
9173
9221
  /** Applied discounts. */
9174
9222
  appliedDiscounts?: AppliedDiscount$8[];
9175
9223
  /** Calculation errors. */
@@ -9365,7 +9413,7 @@ interface ApplicationError$g {
9365
9413
  /** Data related to the error. */
9366
9414
  data?: Record<string, any> | null;
9367
9415
  }
9368
- interface ShippingInformation$6 {
9416
+ interface ShippingInformation$2 {
9369
9417
  /** Shipping region. */
9370
9418
  region?: ShippingRegion$8;
9371
9419
  /** Selected shipping option. */
@@ -10624,6 +10672,18 @@ interface LineItem$3 {
10624
10672
  * @readonly
10625
10673
  */
10626
10674
  depositAmount?: MultiCurrencyPrice$3;
10675
+ /**
10676
+ * Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
10677
+ * @readonly
10678
+ */
10679
+ consentRequiredPaymentPolicy?: string | null;
10680
+ /**
10681
+ * Whether to save the payment method on the order.
10682
+ *
10683
+ * Default: `false`
10684
+ * @readonly
10685
+ */
10686
+ savePaymentMethod?: boolean;
10627
10687
  }
10628
10688
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
10629
10689
  interface CatalogReference$9 {
@@ -12699,6 +12759,18 @@ interface LineItem$2 {
12699
12759
  * @readonly
12700
12760
  */
12701
12761
  depositAmount?: MultiCurrencyPrice$2;
12762
+ /**
12763
+ * Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
12764
+ * @readonly
12765
+ */
12766
+ consentRequiredPaymentPolicy?: string | null;
12767
+ /**
12768
+ * Whether to save the payment method on the order.
12769
+ *
12770
+ * Default: `false`
12771
+ * @readonly
12772
+ */
12773
+ savePaymentMethod?: boolean;
12702
12774
  }
12703
12775
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
12704
12776
  interface CatalogReference$8 {
@@ -17712,7 +17784,7 @@ interface ShippingDetails$1 extends ShippingDetailsChangeTypeOneOf$1 {
17712
17784
  /** Whether shipping info was removed as part of the draft. */
17713
17785
  removed?: boolean;
17714
17786
  /** Selected Shipping details. */
17715
- shippingInfo?: ShippingInformation$5;
17787
+ shippingInfo?: V1ShippingInformation$3;
17716
17788
  }
17717
17789
  /** @oneof */
17718
17790
  interface ShippingDetailsChangeTypeOneOf$1 {
@@ -17723,7 +17795,7 @@ interface ShippingDetailsChangeTypeOneOf$1 {
17723
17795
  /** Whether shipping info was removed as part of the draft. */
17724
17796
  removed?: boolean;
17725
17797
  }
17726
- interface ShippingInformation$5 {
17798
+ interface V1ShippingInformation$3 {
17727
17799
  /** App Def Id of external provider which was a source of shipping info */
17728
17800
  carrierId?: string | null;
17729
17801
  /** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"``. */
@@ -17908,7 +17980,7 @@ interface ShippingRegion$5 {
17908
17980
  }
17909
17981
  interface ShippingChangedDetails$1 {
17910
17982
  /** Shipping info before the change. */
17911
- shippingInfoBeforeChange?: ShippingInformation$5;
17983
+ shippingInfoBeforeChange?: V1ShippingInformation$3;
17912
17984
  }
17913
17985
  /** Buyer Info */
17914
17986
  interface BuyerInfo$3 extends BuyerInfoIdOneOf$3 {
@@ -18765,7 +18837,7 @@ interface Order$3 {
18765
18837
  /** Billing address and contact details. */
18766
18838
  billingInfo?: AddressWithContact$3;
18767
18839
  /** Shipping info and selected shipping option details. */
18768
- shippingInfo?: ShippingInformation$5;
18840
+ shippingInfo?: V1ShippingInformation$3;
18769
18841
  /** [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer. */
18770
18842
  buyerNote?: string | null;
18771
18843
  /**
@@ -19051,26 +19123,32 @@ interface QueryDraftOrdersRequest$1 {
19051
19123
  query?: CursorQuery$7;
19052
19124
  }
19053
19125
  interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
19054
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
19126
+ /**
19127
+ * Cursor paging options.
19128
+ *
19129
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
19130
+ */
19055
19131
  cursorPaging?: CursorPaging$b;
19056
19132
  /**
19057
- * Filter object in the following format:
19058
- * `"filter" : {
19059
- * "fieldName1": "value1",
19060
- * "fieldName2":{"$operator":"value2"}
19061
- * }`
19062
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
19133
+ * Filter object.
19134
+ *
19135
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
19063
19136
  */
19064
19137
  filter?: Record<string, any> | null;
19065
19138
  /**
19066
- * Sort object in the following format:
19067
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
19139
+ * Sort object.
19140
+ *
19141
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
19068
19142
  */
19069
19143
  sort?: Sorting$b[];
19070
19144
  }
19071
19145
  /** @oneof */
19072
19146
  interface CursorQueryPagingMethodOneOf$7 {
19073
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
19147
+ /**
19148
+ * Cursor paging options.
19149
+ *
19150
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
19151
+ */
19074
19152
  cursorPaging?: CursorPaging$b;
19075
19153
  }
19076
19154
  interface Sorting$b {
@@ -19267,19 +19345,19 @@ interface V1ShippingPriceNonNullableFields$1 {
19267
19345
  taxDetails?: ItemTaxFullDetailsNonNullableFields$5;
19268
19346
  discount?: PriceNonNullableFields$7;
19269
19347
  }
19270
- interface ShippingInformationNonNullableFields$5 {
19348
+ interface V1ShippingInformationNonNullableFields$3 {
19271
19349
  title: string;
19272
19350
  logistics?: V1DeliveryLogisticsNonNullableFields$1;
19273
19351
  cost?: V1ShippingPriceNonNullableFields$1;
19274
19352
  }
19275
19353
  interface ShippingChangedDetailsNonNullableFields$1 {
19276
- shippingInfoBeforeChange?: ShippingInformationNonNullableFields$5;
19354
+ shippingInfoBeforeChange?: V1ShippingInformationNonNullableFields$3;
19277
19355
  }
19278
19356
  interface ShippingDetailsNonNullableFields$1 {
19279
19357
  added: boolean;
19280
19358
  changedDetails?: ShippingChangedDetailsNonNullableFields$1;
19281
19359
  removed: boolean;
19282
- shippingInfo?: ShippingInformationNonNullableFields$5;
19360
+ shippingInfo?: V1ShippingInformationNonNullableFields$3;
19283
19361
  }
19284
19362
  interface BuyerInfoNonNullableFields$3 {
19285
19363
  visitorId: string;
@@ -19584,6 +19662,14 @@ interface TotalPriceChangeNonNullableFields$3 {
19584
19662
  originalTotal?: PriceNonNullableFields$7;
19585
19663
  newTotal?: PriceNonNullableFields$7;
19586
19664
  }
19665
+ interface ShippingInformationNonNullableFields$5 {
19666
+ total?: PriceNonNullableFields$7;
19667
+ shippingTitle: string;
19668
+ }
19669
+ interface ShippingInformationChangeNonNullableFields$3 {
19670
+ originalShippingInfo?: ShippingInformationNonNullableFields$5;
19671
+ newShippingInfo?: ShippingInformationNonNullableFields$5;
19672
+ }
19587
19673
  interface OrderChangeNonNullableFields$3 {
19588
19674
  lineItemChanged?: LineItemChangesNonNullableFields$3;
19589
19675
  lineItemAdded?: ManagedLineItemNonNullableFields$3;
@@ -19593,6 +19679,7 @@ interface OrderChangeNonNullableFields$3 {
19593
19679
  additionalFeeAdded?: ManagedAdditionalFeeNonNullableFields$3;
19594
19680
  additionalFeeRemoved?: ManagedAdditionalFeeNonNullableFields$3;
19595
19681
  totalPriceChanged?: TotalPriceChangeNonNullableFields$3;
19682
+ shippingInformationChanged?: ShippingInformationChangeNonNullableFields$3;
19596
19683
  }
19597
19684
  interface DraftOrderChangesAppliedNonNullableFields$3 {
19598
19685
  draftOrderId: string;
@@ -19661,7 +19748,7 @@ interface OrderNonNullableFields$3 {
19661
19748
  taxIncludedInPrices: boolean;
19662
19749
  priceSummary?: PriceSummaryNonNullableFields$5;
19663
19750
  billingInfo?: AddressWithContactNonNullableFields$3;
19664
- shippingInfo?: ShippingInformationNonNullableFields$5;
19751
+ shippingInfo?: V1ShippingInformationNonNullableFields$3;
19665
19752
  status: OrderStatus$3;
19666
19753
  taxSummary?: TaxSummaryNonNullableFields$5;
19667
19754
  taxInfo?: OrderTaxInfoNonNullableFields$3;
@@ -20172,7 +20259,7 @@ interface ShippingDetails extends ShippingDetailsChangeTypeOneOf {
20172
20259
  /** Whether shipping info was removed as part of the draft. */
20173
20260
  removed?: boolean;
20174
20261
  /** Selected Shipping details. */
20175
- shippingInfo?: ShippingInformation$4;
20262
+ shippingInfo?: V1ShippingInformation$2;
20176
20263
  }
20177
20264
  /** @oneof */
20178
20265
  interface ShippingDetailsChangeTypeOneOf {
@@ -20183,7 +20270,7 @@ interface ShippingDetailsChangeTypeOneOf {
20183
20270
  /** Whether shipping info was removed as part of the draft. */
20184
20271
  removed?: boolean;
20185
20272
  }
20186
- interface ShippingInformation$4 {
20273
+ interface V1ShippingInformation$2 {
20187
20274
  /** App Def Id of external provider which was a source of shipping info */
20188
20275
  carrierId?: string | null;
20189
20276
  /** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"``. */
@@ -20348,7 +20435,7 @@ interface ShippingRegion$4 {
20348
20435
  }
20349
20436
  interface ShippingChangedDetails {
20350
20437
  /** Shipping info before the change. */
20351
- shippingInfoBeforeChange?: ShippingInformation$4;
20438
+ shippingInfoBeforeChange?: V1ShippingInformation$2;
20352
20439
  }
20353
20440
  /** Buyer Info */
20354
20441
  interface BuyerInfo$2 extends BuyerInfoIdOneOf$2 {
@@ -21199,7 +21286,7 @@ interface Order$2 {
21199
21286
  /** Billing address and contact details. */
21200
21287
  billingInfo?: AddressWithContact$2;
21201
21288
  /** Shipping info and selected shipping option details. */
21202
- shippingInfo?: ShippingInformation$4;
21289
+ shippingInfo?: V1ShippingInformation$2;
21203
21290
  /** [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer. */
21204
21291
  buyerNote?: string | null;
21205
21292
  /**
@@ -21485,26 +21572,32 @@ interface QueryDraftOrdersRequest {
21485
21572
  query?: CursorQuery$6;
21486
21573
  }
21487
21574
  interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
21488
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
21575
+ /**
21576
+ * Cursor paging options.
21577
+ *
21578
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
21579
+ */
21489
21580
  cursorPaging?: CursorPaging$a;
21490
21581
  /**
21491
- * Filter object in the following format:
21492
- * `"filter" : {
21493
- * "fieldName1": "value1",
21494
- * "fieldName2":{"$operator":"value2"}
21495
- * }`
21496
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
21582
+ * Filter object.
21583
+ *
21584
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
21497
21585
  */
21498
21586
  filter?: Record<string, any> | null;
21499
21587
  /**
21500
- * Sort object in the following format:
21501
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
21588
+ * Sort object.
21589
+ *
21590
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
21502
21591
  */
21503
21592
  sort?: Sorting$a[];
21504
21593
  }
21505
21594
  /** @oneof */
21506
21595
  interface CursorQueryPagingMethodOneOf$6 {
21507
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
21596
+ /**
21597
+ * Cursor paging options.
21598
+ *
21599
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
21600
+ */
21508
21601
  cursorPaging?: CursorPaging$a;
21509
21602
  }
21510
21603
  interface Sorting$a {
@@ -21695,19 +21788,19 @@ interface V1ShippingPriceNonNullableFields {
21695
21788
  taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
21696
21789
  discount?: PriceNonNullableFields$6;
21697
21790
  }
21698
- interface ShippingInformationNonNullableFields$4 {
21791
+ interface V1ShippingInformationNonNullableFields$2 {
21699
21792
  title: string;
21700
21793
  logistics?: V1DeliveryLogisticsNonNullableFields;
21701
21794
  cost?: V1ShippingPriceNonNullableFields;
21702
21795
  }
21703
21796
  interface ShippingChangedDetailsNonNullableFields {
21704
- shippingInfoBeforeChange?: ShippingInformationNonNullableFields$4;
21797
+ shippingInfoBeforeChange?: V1ShippingInformationNonNullableFields$2;
21705
21798
  }
21706
21799
  interface ShippingDetailsNonNullableFields {
21707
21800
  added: boolean;
21708
21801
  changedDetails?: ShippingChangedDetailsNonNullableFields;
21709
21802
  removed: boolean;
21710
- shippingInfo?: ShippingInformationNonNullableFields$4;
21803
+ shippingInfo?: V1ShippingInformationNonNullableFields$2;
21711
21804
  }
21712
21805
  interface BuyerInfoNonNullableFields$2 {
21713
21806
  visitorId: string;
@@ -22012,6 +22105,14 @@ interface TotalPriceChangeNonNullableFields$2 {
22012
22105
  originalTotal?: PriceNonNullableFields$6;
22013
22106
  newTotal?: PriceNonNullableFields$6;
22014
22107
  }
22108
+ interface ShippingInformationNonNullableFields$4 {
22109
+ total?: PriceNonNullableFields$6;
22110
+ shippingTitle: string;
22111
+ }
22112
+ interface ShippingInformationChangeNonNullableFields$2 {
22113
+ originalShippingInfo?: ShippingInformationNonNullableFields$4;
22114
+ newShippingInfo?: ShippingInformationNonNullableFields$4;
22115
+ }
22015
22116
  interface OrderChangeNonNullableFields$2 {
22016
22117
  lineItemChanged?: LineItemChangesNonNullableFields$2;
22017
22118
  lineItemAdded?: ManagedLineItemNonNullableFields$2;
@@ -22021,6 +22122,7 @@ interface OrderChangeNonNullableFields$2 {
22021
22122
  additionalFeeAdded?: ManagedAdditionalFeeNonNullableFields$2;
22022
22123
  additionalFeeRemoved?: ManagedAdditionalFeeNonNullableFields$2;
22023
22124
  totalPriceChanged?: TotalPriceChangeNonNullableFields$2;
22125
+ shippingInformationChanged?: ShippingInformationChangeNonNullableFields$2;
22024
22126
  }
22025
22127
  interface DraftOrderChangesAppliedNonNullableFields$2 {
22026
22128
  draftOrderId: string;
@@ -22089,7 +22191,7 @@ interface OrderNonNullableFields$2 {
22089
22191
  taxIncludedInPrices: boolean;
22090
22192
  priceSummary?: PriceSummaryNonNullableFields$4;
22091
22193
  billingInfo?: AddressWithContactNonNullableFields$2;
22092
- shippingInfo?: ShippingInformationNonNullableFields$4;
22194
+ shippingInfo?: V1ShippingInformationNonNullableFields$2;
22093
22195
  status: OrderStatus$2;
22094
22196
  taxSummary?: TaxSummaryNonNullableFields$4;
22095
22197
  taxInfo?: OrderTaxInfoNonNullableFields$2;
@@ -23376,7 +23478,7 @@ interface Order$1 {
23376
23478
  /** Billing address and contact details. */
23377
23479
  billingInfo?: AddressWithContact$1;
23378
23480
  /** Shipping info and selected shipping option details. */
23379
- shippingInfo?: ShippingInformation$3;
23481
+ shippingInfo?: V1ShippingInformation$1;
23380
23482
  /** [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer. */
23381
23483
  buyerNote?: string | null;
23382
23484
  /**
@@ -23958,7 +24060,7 @@ declare enum VatType$1 {
23958
24060
  /** CNPJ - for corporations */
23959
24061
  CNPJ = "CNPJ"
23960
24062
  }
23961
- interface ShippingInformation$3 {
24063
+ interface V1ShippingInformation$1 {
23962
24064
  /** App Def Id of external provider which was a source of shipping info */
23963
24065
  carrierId?: string | null;
23964
24066
  /** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"``. */
@@ -24752,7 +24854,7 @@ interface ShippingPriceNonNullableFields$3 {
24752
24854
  taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
24753
24855
  discount?: PriceNonNullableFields$5;
24754
24856
  }
24755
- interface ShippingInformationNonNullableFields$3 {
24857
+ interface V1ShippingInformationNonNullableFields$1 {
24756
24858
  title: string;
24757
24859
  logistics?: DeliveryLogisticsNonNullableFields$3;
24758
24860
  cost?: ShippingPriceNonNullableFields$3;
@@ -24871,6 +24973,14 @@ interface TotalPriceChangeNonNullableFields$1 {
24871
24973
  originalTotal?: PriceNonNullableFields$5;
24872
24974
  newTotal?: PriceNonNullableFields$5;
24873
24975
  }
24976
+ interface ShippingInformationNonNullableFields$3 {
24977
+ total?: PriceNonNullableFields$5;
24978
+ shippingTitle: string;
24979
+ }
24980
+ interface ShippingInformationChangeNonNullableFields$1 {
24981
+ originalShippingInfo?: ShippingInformationNonNullableFields$3;
24982
+ newShippingInfo?: ShippingInformationNonNullableFields$3;
24983
+ }
24874
24984
  interface OrderChangeNonNullableFields$1 {
24875
24985
  lineItemChanged?: LineItemChangesNonNullableFields$1;
24876
24986
  lineItemAdded?: ManagedLineItemNonNullableFields$1;
@@ -24880,6 +24990,7 @@ interface OrderChangeNonNullableFields$1 {
24880
24990
  additionalFeeAdded?: ManagedAdditionalFeeNonNullableFields$1;
24881
24991
  additionalFeeRemoved?: ManagedAdditionalFeeNonNullableFields$1;
24882
24992
  totalPriceChanged?: TotalPriceChangeNonNullableFields$1;
24993
+ shippingInformationChanged?: ShippingInformationChangeNonNullableFields$1;
24883
24994
  }
24884
24995
  interface DraftOrderChangesAppliedNonNullableFields$1 {
24885
24996
  draftOrderId: string;
@@ -24960,7 +25071,7 @@ interface OrderNonNullableFields$1 {
24960
25071
  taxIncludedInPrices: boolean;
24961
25072
  priceSummary?: PriceSummaryNonNullableFields$3;
24962
25073
  billingInfo?: AddressWithContactNonNullableFields$1;
24963
- shippingInfo?: ShippingInformationNonNullableFields$3;
25074
+ shippingInfo?: V1ShippingInformationNonNullableFields$1;
24964
25075
  status: OrderStatus$1;
24965
25076
  taxSummary?: TaxSummaryNonNullableFields$3;
24966
25077
  taxInfo?: OrderTaxInfoNonNullableFields$1;
@@ -25083,7 +25194,7 @@ interface Order {
25083
25194
  /** Billing address and contact details. */
25084
25195
  billingInfo?: AddressWithContact;
25085
25196
  /** Shipping info and selected shipping option details. */
25086
- shippingInfo?: ShippingInformation$2;
25197
+ shippingInfo?: V1ShippingInformation;
25087
25198
  /** [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer. */
25088
25199
  buyerNote?: string | null;
25089
25200
  /**
@@ -25632,7 +25743,7 @@ declare enum VatType {
25632
25743
  /** CNPJ - for corporations */
25633
25744
  CNPJ = "CNPJ"
25634
25745
  }
25635
- interface ShippingInformation$2 {
25746
+ interface V1ShippingInformation {
25636
25747
  /** App Def Id of external provider which was a source of shipping info */
25637
25748
  carrierId?: string | null;
25638
25749
  /** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"``. */
@@ -26410,7 +26521,7 @@ interface ShippingPriceNonNullableFields$2 {
26410
26521
  taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
26411
26522
  discount?: PriceNonNullableFields$4;
26412
26523
  }
26413
- interface ShippingInformationNonNullableFields$2 {
26524
+ interface V1ShippingInformationNonNullableFields {
26414
26525
  title: string;
26415
26526
  logistics?: DeliveryLogisticsNonNullableFields$2;
26416
26527
  cost?: ShippingPriceNonNullableFields$2;
@@ -26529,6 +26640,14 @@ interface TotalPriceChangeNonNullableFields {
26529
26640
  originalTotal?: PriceNonNullableFields$4;
26530
26641
  newTotal?: PriceNonNullableFields$4;
26531
26642
  }
26643
+ interface ShippingInformationNonNullableFields$2 {
26644
+ total?: PriceNonNullableFields$4;
26645
+ shippingTitle: string;
26646
+ }
26647
+ interface ShippingInformationChangeNonNullableFields {
26648
+ originalShippingInfo?: ShippingInformationNonNullableFields$2;
26649
+ newShippingInfo?: ShippingInformationNonNullableFields$2;
26650
+ }
26532
26651
  interface OrderChangeNonNullableFields {
26533
26652
  lineItemChanged?: LineItemChangesNonNullableFields;
26534
26653
  lineItemAdded?: ManagedLineItemNonNullableFields;
@@ -26538,6 +26657,7 @@ interface OrderChangeNonNullableFields {
26538
26657
  additionalFeeAdded?: ManagedAdditionalFeeNonNullableFields;
26539
26658
  additionalFeeRemoved?: ManagedAdditionalFeeNonNullableFields;
26540
26659
  totalPriceChanged?: TotalPriceChangeNonNullableFields;
26660
+ shippingInformationChanged?: ShippingInformationChangeNonNullableFields;
26541
26661
  }
26542
26662
  interface DraftOrderChangesAppliedNonNullableFields {
26543
26663
  draftOrderId: string;
@@ -26618,7 +26738,7 @@ interface OrderNonNullableFields {
26618
26738
  taxIncludedInPrices: boolean;
26619
26739
  priceSummary?: PriceSummaryNonNullableFields$2;
26620
26740
  billingInfo?: AddressWithContactNonNullableFields;
26621
- shippingInfo?: ShippingInformationNonNullableFields$2;
26741
+ shippingInfo?: V1ShippingInformationNonNullableFields;
26622
26742
  status: OrderStatus;
26623
26743
  taxSummary?: TaxSummaryNonNullableFields$2;
26624
26744
  taxInfo?: OrderTaxInfoNonNullableFields;
@@ -1208,7 +1208,7 @@ interface Order {
1208
1208
  /** Billing address and contact details. */
1209
1209
  billingInfo?: AddressWithContact$1;
1210
1210
  /** Shipping info and selected shipping option details. */
1211
- shippingInfo?: ShippingInformation;
1211
+ shippingInfo?: V1ShippingInformation;
1212
1212
  /** [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer. */
1213
1213
  buyerNote?: string | null;
1214
1214
  /**
@@ -1771,7 +1771,7 @@ declare enum VatType$1 {
1771
1771
  /** CNPJ - for corporations */
1772
1772
  CNPJ = "CNPJ"
1773
1773
  }
1774
- interface ShippingInformation {
1774
+ interface V1ShippingInformation {
1775
1775
  /** App Def Id of external provider which was a source of shipping info */
1776
1776
  carrierId?: string | null;
1777
1777
  /** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"``. */
@@ -2091,6 +2091,7 @@ interface OrderChange extends OrderChangeValueOneOf {
2091
2091
  additionalFeeAdded?: ManagedAdditionalFee;
2092
2092
  additionalFeeRemoved?: ManagedAdditionalFee;
2093
2093
  totalPriceChanged?: TotalPriceChange;
2094
+ shippingInformationChanged?: ShippingInformationChange;
2094
2095
  }
2095
2096
  /** @oneof */
2096
2097
  interface OrderChangeValueOneOf {
@@ -2102,6 +2103,7 @@ interface OrderChangeValueOneOf {
2102
2103
  additionalFeeAdded?: ManagedAdditionalFee;
2103
2104
  additionalFeeRemoved?: ManagedAdditionalFee;
2104
2105
  totalPriceChanged?: TotalPriceChange;
2106
+ shippingInformationChanged?: ShippingInformationChange;
2105
2107
  }
2106
2108
  interface LineItemChanges {
2107
2109
  /** Line item ID. */
@@ -2181,6 +2183,18 @@ interface TotalPriceChange {
2181
2183
  /** Order’s total price after discounts and tax. After update */
2182
2184
  newTotal?: Price;
2183
2185
  }
2186
+ interface ShippingInformationChange {
2187
+ /** Order’s Shipping Information. Before update */
2188
+ originalShippingInfo?: ShippingInformation;
2189
+ /** Order’s Shipping Information. After update */
2190
+ newShippingInfo?: ShippingInformation;
2191
+ }
2192
+ interface ShippingInformation {
2193
+ /** Order’s shipping price. */
2194
+ total?: Price;
2195
+ /** Order’s shipping title. */
2196
+ shippingTitle?: string;
2197
+ }
2184
2198
  /** Payment method is saved for order */
2185
2199
  interface SavedPaymentMethod {
2186
2200
  /** Payment method name */
@@ -2590,6 +2604,7 @@ type context$1_Price = Price;
2590
2604
  type context$1_PriceDescription = PriceDescription;
2591
2605
  type context$1_SavedPaymentMethod = SavedPaymentMethod;
2592
2606
  type context$1_ShippingInformation = ShippingInformation;
2607
+ type context$1_ShippingInformationChange = ShippingInformationChange;
2593
2608
  type context$1_ShippingPrice = ShippingPrice;
2594
2609
  type context$1_ShippingRegion = ShippingRegion;
2595
2610
  type context$1_SubscriptionInfo = SubscriptionInfo;
@@ -2598,8 +2613,9 @@ type context$1_Tags = Tags;
2598
2613
  type context$1_TaxSummary = TaxSummary;
2599
2614
  type context$1_TotalPriceChange = TotalPriceChange;
2600
2615
  type context$1_TranslatedValue = TranslatedValue;
2616
+ type context$1_V1ShippingInformation = V1ShippingInformation;
2601
2617
  declare namespace context$1 {
2602
- export { type context$1_Activity as Activity, type context$1_ActivityContentOneOf as ActivityContentOneOf, context$1_ActivityType as ActivityType, type context$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, context$1_AttributionSource as AttributionSource, type context$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$1_Balance as Balance, type context$1_BalanceSummary as BalanceSummary, type context$1_BuyerInfo as BuyerInfo, type context$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type CatalogReference$1 as CatalogReference, type context$1_ChannelInfo as ChannelInfo, context$1_ChannelType as ChannelType, type context$1_Color as Color, type Context$1 as Context, type Coupon$1 as Coupon, type context$1_CreatedBy as CreatedBy, type context$1_CreatedByStringOneOf as CreatedByStringOneOf, type context$1_CustomActivity as CustomActivity, type CustomField$1 as CustomField, type context$1_DeliveryLogistics as DeliveryLogistics, type context$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type context$1_DeliveryTimeSlot as DeliveryTimeSlot, type context$1_DescriptionLine as DescriptionLine, type context$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$1_DescriptionLineName as DescriptionLineName, context$1_DescriptionLineType as DescriptionLineType, type context$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type context$1_DigitalFile as DigitalFile, context$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type context$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, context$1_FulfillmentStatus as FulfillmentStatus, type context$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type context$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type context$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type context$1_LineItemAmount as LineItemAmount, type context$1_LineItemChanges as LineItemChanges, type context$1_LineItemDiscount as LineItemDiscount, type context$1_LineItemExchangeData as LineItemExchangeData, type context$1_LineItemPriceChange as LineItemPriceChange, type context$1_LineItemQuantityChange as LineItemQuantityChange, context$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type context$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$1_LineItemTaxInfo as LineItemTaxInfo, type context$1_LocationAndQuantity as LocationAndQuantity, type context$1_ManagedAdditionalFee as ManagedAdditionalFee, type context$1_ManagedDiscount as ManagedDiscount, type context$1_ManagedLineItem as ManagedLineItem, type context$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type context$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type context$1_Order as Order, type context$1_OrderChange as OrderChange, type context$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$1_OrderLineItem as OrderLineItem, type context$1_OrderRefunded as OrderRefunded, context$1_OrderStatus as OrderStatus, type context$1_OrderTaxBreakdown as OrderTaxBreakdown, type context$1_OrderTaxInfo as OrderTaxInfo, context$1_PaymentOptionType as PaymentOptionType, type context$1_PaymentSettings as PaymentSettings, type context$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, context$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type context$1_PickupAddress as PickupAddress, type context$1_PickupDetails as PickupDetails, context$1_PickupMethod as PickupMethod, type context$1_PlainTextValue as PlainTextValue, type context$1_Price as Price, type context$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type context$1_SavedPaymentMethod as SavedPaymentMethod, type context$1_ShippingInformation as ShippingInformation, type context$1_ShippingPrice as ShippingPrice, type context$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type context$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type context$1_TagList as TagList, type context$1_Tags as Tags, type context$1_TaxSummary as TaxSummary, type context$1_TotalPriceChange as TotalPriceChange, type context$1_TranslatedValue as TranslatedValue, type VatId$1 as VatId, VatType$1 as VatType, WeightUnit$1 as WeightUnit, provideHandlers$1 as provideHandlers };
2618
+ export { type context$1_Activity as Activity, type context$1_ActivityContentOneOf as ActivityContentOneOf, context$1_ActivityType as ActivityType, type context$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, context$1_AttributionSource as AttributionSource, type context$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$1_Balance as Balance, type context$1_BalanceSummary as BalanceSummary, type context$1_BuyerInfo as BuyerInfo, type context$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type CatalogReference$1 as CatalogReference, type context$1_ChannelInfo as ChannelInfo, context$1_ChannelType as ChannelType, type context$1_Color as Color, type Context$1 as Context, type Coupon$1 as Coupon, type context$1_CreatedBy as CreatedBy, type context$1_CreatedByStringOneOf as CreatedByStringOneOf, type context$1_CustomActivity as CustomActivity, type CustomField$1 as CustomField, type context$1_DeliveryLogistics as DeliveryLogistics, type context$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type context$1_DeliveryTimeSlot as DeliveryTimeSlot, type context$1_DescriptionLine as DescriptionLine, type context$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$1_DescriptionLineName as DescriptionLineName, context$1_DescriptionLineType as DescriptionLineType, type context$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type context$1_DigitalFile as DigitalFile, context$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type context$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, context$1_FulfillmentStatus as FulfillmentStatus, type context$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type context$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type context$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type context$1_LineItemAmount as LineItemAmount, type context$1_LineItemChanges as LineItemChanges, type context$1_LineItemDiscount as LineItemDiscount, type context$1_LineItemExchangeData as LineItemExchangeData, type context$1_LineItemPriceChange as LineItemPriceChange, type context$1_LineItemQuantityChange as LineItemQuantityChange, context$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type context$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$1_LineItemTaxInfo as LineItemTaxInfo, type context$1_LocationAndQuantity as LocationAndQuantity, type context$1_ManagedAdditionalFee as ManagedAdditionalFee, type context$1_ManagedDiscount as ManagedDiscount, type context$1_ManagedLineItem as ManagedLineItem, type context$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type context$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type context$1_Order as Order, type context$1_OrderChange as OrderChange, type context$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$1_OrderLineItem as OrderLineItem, type context$1_OrderRefunded as OrderRefunded, context$1_OrderStatus as OrderStatus, type context$1_OrderTaxBreakdown as OrderTaxBreakdown, type context$1_OrderTaxInfo as OrderTaxInfo, context$1_PaymentOptionType as PaymentOptionType, type context$1_PaymentSettings as PaymentSettings, type context$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, context$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type context$1_PickupAddress as PickupAddress, type context$1_PickupDetails as PickupDetails, context$1_PickupMethod as PickupMethod, type context$1_PlainTextValue as PlainTextValue, type context$1_Price as Price, type context$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type context$1_SavedPaymentMethod as SavedPaymentMethod, type context$1_ShippingInformation as ShippingInformation, type context$1_ShippingInformationChange as ShippingInformationChange, type context$1_ShippingPrice as ShippingPrice, type context$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type context$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type context$1_TagList as TagList, type context$1_Tags as Tags, type context$1_TaxSummary as TaxSummary, type context$1_TotalPriceChange as TotalPriceChange, type context$1_TranslatedValue as TranslatedValue, type context$1_V1ShippingInformation as V1ShippingInformation, type VatId$1 as VatId, VatType$1 as VatType, WeightUnit$1 as WeightUnit, provideHandlers$1 as provideHandlers };
2603
2619
  }
2604
2620
 
2605
2621
  interface GetValidationViolationsRequest {