@wix/ecom 1.0.864 → 1.0.866
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.
|
@@ -2778,6 +2778,16 @@ interface Address$b {
|
|
|
2778
2778
|
addressLine1?: string | null;
|
|
2779
2779
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
2780
2780
|
addressLine2?: string | null;
|
|
2781
|
+
/**
|
|
2782
|
+
* Country's full name.
|
|
2783
|
+
* @readonly
|
|
2784
|
+
*/
|
|
2785
|
+
countryFullname?: string | null;
|
|
2786
|
+
/**
|
|
2787
|
+
* Subdivision full-name.
|
|
2788
|
+
* @readonly
|
|
2789
|
+
*/
|
|
2790
|
+
subdivisionFullname?: string | null;
|
|
2781
2791
|
}
|
|
2782
2792
|
interface StreetAddress$a {
|
|
2783
2793
|
/** Street number. */
|
|
@@ -2887,6 +2897,16 @@ interface PickupAddress$4 {
|
|
|
2887
2897
|
addressLine1?: string | null;
|
|
2888
2898
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
2889
2899
|
addressLine2?: string | null;
|
|
2900
|
+
/**
|
|
2901
|
+
* Country's full name.
|
|
2902
|
+
* @readonly
|
|
2903
|
+
*/
|
|
2904
|
+
countryFullname?: string | null;
|
|
2905
|
+
/**
|
|
2906
|
+
* Subdivision full-name.
|
|
2907
|
+
* @readonly
|
|
2908
|
+
*/
|
|
2909
|
+
subdivisionFullname?: string | null;
|
|
2890
2910
|
}
|
|
2891
2911
|
declare enum PickupMethod$8 {
|
|
2892
2912
|
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
@@ -6083,6 +6103,16 @@ interface Address$a {
|
|
|
6083
6103
|
addressLine1?: string | null;
|
|
6084
6104
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
6085
6105
|
addressLine2?: string | null;
|
|
6106
|
+
/**
|
|
6107
|
+
* Country's full name.
|
|
6108
|
+
* @readonly
|
|
6109
|
+
*/
|
|
6110
|
+
countryFullname?: string | null;
|
|
6111
|
+
/**
|
|
6112
|
+
* Subdivision full-name.
|
|
6113
|
+
* @readonly
|
|
6114
|
+
*/
|
|
6115
|
+
subdivisionFullname?: string | null;
|
|
6086
6116
|
}
|
|
6087
6117
|
interface StreetAddress$9 {
|
|
6088
6118
|
/** Street number. */
|
|
@@ -8900,6 +8930,16 @@ interface Address$9 {
|
|
|
8900
8930
|
addressLine1?: string | null;
|
|
8901
8931
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
8902
8932
|
addressLine2?: string | null;
|
|
8933
|
+
/**
|
|
8934
|
+
* Country's full name.
|
|
8935
|
+
* @readonly
|
|
8936
|
+
*/
|
|
8937
|
+
countryFullname?: string | null;
|
|
8938
|
+
/**
|
|
8939
|
+
* Subdivision full-name.
|
|
8940
|
+
* @readonly
|
|
8941
|
+
*/
|
|
8942
|
+
subdivisionFullname?: string | null;
|
|
8903
8943
|
}
|
|
8904
8944
|
interface StreetAddress$8 {
|
|
8905
8945
|
/** Street number. */
|
|
@@ -11736,6 +11776,16 @@ interface ApiAddress {
|
|
|
11736
11776
|
addressLine1?: string | null;
|
|
11737
11777
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
11738
11778
|
addressLine2?: string | null;
|
|
11779
|
+
/**
|
|
11780
|
+
* Country's full name.
|
|
11781
|
+
* @readonly
|
|
11782
|
+
*/
|
|
11783
|
+
countryFullname?: string | null;
|
|
11784
|
+
/**
|
|
11785
|
+
* Subdivision full-name.
|
|
11786
|
+
* @readonly
|
|
11787
|
+
*/
|
|
11788
|
+
subdivisionFullname?: string | null;
|
|
11739
11789
|
}
|
|
11740
11790
|
interface StreetAddress$7 {
|
|
11741
11791
|
/** Street number. */
|
|
@@ -16101,6 +16151,16 @@ interface Address$7 {
|
|
|
16101
16151
|
addressLine1?: string | null;
|
|
16102
16152
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
16103
16153
|
addressLine2?: string | null;
|
|
16154
|
+
/**
|
|
16155
|
+
* Country's full name.
|
|
16156
|
+
* @readonly
|
|
16157
|
+
*/
|
|
16158
|
+
countryFullname?: string | null;
|
|
16159
|
+
/**
|
|
16160
|
+
* Subdivision full-name.
|
|
16161
|
+
* @readonly
|
|
16162
|
+
*/
|
|
16163
|
+
subdivisionFullname?: string | null;
|
|
16104
16164
|
}
|
|
16105
16165
|
interface StreetAddress$6 {
|
|
16106
16166
|
/** Street number. */
|
|
@@ -19579,6 +19639,16 @@ interface Address$6 {
|
|
|
19579
19639
|
addressLine1?: string | null;
|
|
19580
19640
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
19581
19641
|
addressLine2?: string | null;
|
|
19642
|
+
/**
|
|
19643
|
+
* Country's full name.
|
|
19644
|
+
* @readonly
|
|
19645
|
+
*/
|
|
19646
|
+
countryFullname?: string | null;
|
|
19647
|
+
/**
|
|
19648
|
+
* Subdivision full-name.
|
|
19649
|
+
* @readonly
|
|
19650
|
+
*/
|
|
19651
|
+
subdivisionFullname?: string | null;
|
|
19582
19652
|
}
|
|
19583
19653
|
interface StreetAddress$5 {
|
|
19584
19654
|
/** Street number. */
|
|
@@ -19647,6 +19717,16 @@ interface PickupAddress$2 {
|
|
|
19647
19717
|
addressLine1?: string | null;
|
|
19648
19718
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
19649
19719
|
addressLine2?: string | null;
|
|
19720
|
+
/**
|
|
19721
|
+
* Country's full name.
|
|
19722
|
+
* @readonly
|
|
19723
|
+
*/
|
|
19724
|
+
countryFullname?: string | null;
|
|
19725
|
+
/**
|
|
19726
|
+
* Subdivision full-name.
|
|
19727
|
+
* @readonly
|
|
19728
|
+
*/
|
|
19729
|
+
subdivisionFullname?: string | null;
|
|
19650
19730
|
}
|
|
19651
19731
|
declare enum PickupDetailsPickupMethod {
|
|
19652
19732
|
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
@@ -20719,11 +20799,20 @@ declare enum PaymentStatus$2 {
|
|
|
20719
20799
|
PENDING = "PENDING",
|
|
20720
20800
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
20721
20801
|
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
20722
|
-
/**
|
|
20802
|
+
/**
|
|
20803
|
+
* Payment received but not yet confirmed by the payment provider and waits for some user action
|
|
20804
|
+
* @documentationMaturity preview
|
|
20805
|
+
*/
|
|
20723
20806
|
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
20724
|
-
/**
|
|
20807
|
+
/**
|
|
20808
|
+
* Payment was canceled by user on payment provider side
|
|
20809
|
+
* @documentationMaturity preview
|
|
20810
|
+
*/
|
|
20725
20811
|
CANCELED = "CANCELED",
|
|
20726
|
-
/**
|
|
20812
|
+
/**
|
|
20813
|
+
* Payment was declined by payment provider
|
|
20814
|
+
* @documentationMaturity preview
|
|
20815
|
+
*/
|
|
20727
20816
|
DECLINED = "DECLINED"
|
|
20728
20817
|
}
|
|
20729
20818
|
declare enum FulfillmentStatus$3 {
|
|
@@ -20741,7 +20830,9 @@ declare enum OrderStatus$1 {
|
|
|
20741
20830
|
INITIALIZED = "INITIALIZED",
|
|
20742
20831
|
APPROVED = "APPROVED",
|
|
20743
20832
|
CANCELED = "CANCELED",
|
|
20833
|
+
/** @documentationMaturity preview */
|
|
20744
20834
|
PENDING = "PENDING",
|
|
20835
|
+
/** @documentationMaturity preview */
|
|
20745
20836
|
REJECTED = "REJECTED"
|
|
20746
20837
|
}
|
|
20747
20838
|
interface Activity$2 extends ActivityContentOneOf$1 {
|
|
@@ -21118,10 +21209,15 @@ declare enum ActivityType$2 {
|
|
|
21118
21209
|
ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
|
|
21119
21210
|
DRAFT_ORDER_CHANGES_APPLIED = "DRAFT_ORDER_CHANGES_APPLIED",
|
|
21120
21211
|
SAVED_PAYMENT_METHOD = "SAVED_PAYMENT_METHOD",
|
|
21212
|
+
/** @documentationMaturity preview */
|
|
21121
21213
|
PAYMENT_PENDING = "PAYMENT_PENDING",
|
|
21214
|
+
/** @documentationMaturity preview */
|
|
21122
21215
|
PAYMENT_CANCELED = "PAYMENT_CANCELED",
|
|
21216
|
+
/** @documentationMaturity preview */
|
|
21123
21217
|
PAYMENT_DECLINED = "PAYMENT_DECLINED",
|
|
21218
|
+
/** @documentationMaturity preview */
|
|
21124
21219
|
ORDER_PENDING = "ORDER_PENDING",
|
|
21220
|
+
/** @documentationMaturity preview */
|
|
21125
21221
|
ORDER_REJECTED = "ORDER_REJECTED"
|
|
21126
21222
|
}
|
|
21127
21223
|
declare enum AttributionSource$1 {
|
|
@@ -23450,7 +23546,10 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
|
23450
23546
|
zipConfig?: ZipCodeConfig;
|
|
23451
23547
|
radiusConfig?: RadiusConfig;
|
|
23452
23548
|
customAreaConfig?: CustomAreaConfig;
|
|
23453
|
-
/**
|
|
23549
|
+
/**
|
|
23550
|
+
* LocalDeliveryOptionId - unique identifier of local delivery option
|
|
23551
|
+
* @readonly
|
|
23552
|
+
*/
|
|
23454
23553
|
_id?: string | null;
|
|
23455
23554
|
/** Area name of Local Delivery Option */
|
|
23456
23555
|
areaName?: string | null;
|
|
@@ -23758,6 +23857,7 @@ interface Cursors$8 {
|
|
|
23758
23857
|
prev?: string | null;
|
|
23759
23858
|
}
|
|
23760
23859
|
interface UpdateLocalDeliveryOptionRequest {
|
|
23860
|
+
/** LocalDeliveryOption to be updated, may be partial. */
|
|
23761
23861
|
localDeliveryOption: LocalDeliveryOption;
|
|
23762
23862
|
}
|
|
23763
23863
|
interface UpdateLocalDeliveryOptionResponse {
|
|
@@ -24064,7 +24164,10 @@ interface UpdateLocalDeliveryOption {
|
|
|
24064
24164
|
zipConfig?: ZipCodeConfig;
|
|
24065
24165
|
radiusConfig?: RadiusConfig;
|
|
24066
24166
|
customAreaConfig?: CustomAreaConfig;
|
|
24067
|
-
/**
|
|
24167
|
+
/**
|
|
24168
|
+
* LocalDeliveryOptionId - unique identifier of local delivery option
|
|
24169
|
+
* @readonly
|
|
24170
|
+
*/
|
|
24068
24171
|
_id?: string | null;
|
|
24069
24172
|
/** Area name of Local Delivery Option */
|
|
24070
24173
|
areaName?: string | null;
|
|
@@ -24829,11 +24932,20 @@ declare enum PaymentStatus$1 {
|
|
|
24829
24932
|
PENDING = "PENDING",
|
|
24830
24933
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
24831
24934
|
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
24832
|
-
/**
|
|
24935
|
+
/**
|
|
24936
|
+
* Payment received but not yet confirmed by the payment provider and waits for some user action
|
|
24937
|
+
* @documentationMaturity preview
|
|
24938
|
+
*/
|
|
24833
24939
|
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
24834
|
-
/**
|
|
24940
|
+
/**
|
|
24941
|
+
* Payment was canceled by user on payment provider side
|
|
24942
|
+
* @documentationMaturity preview
|
|
24943
|
+
*/
|
|
24835
24944
|
CANCELED = "CANCELED",
|
|
24836
|
-
/**
|
|
24945
|
+
/**
|
|
24946
|
+
* Payment was declined by payment provider
|
|
24947
|
+
* @documentationMaturity preview
|
|
24948
|
+
*/
|
|
24837
24949
|
DECLINED = "DECLINED"
|
|
24838
24950
|
}
|
|
24839
24951
|
declare enum FulfillmentStatus$1 {
|
|
@@ -24892,6 +25004,16 @@ interface Address$5 {
|
|
|
24892
25004
|
addressLine1?: string | null;
|
|
24893
25005
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
24894
25006
|
addressLine2?: string | null;
|
|
25007
|
+
/**
|
|
25008
|
+
* Country's full name.
|
|
25009
|
+
* @readonly
|
|
25010
|
+
*/
|
|
25011
|
+
countryFullname?: string | null;
|
|
25012
|
+
/**
|
|
25013
|
+
* Subdivision full-name.
|
|
25014
|
+
* @readonly
|
|
25015
|
+
*/
|
|
25016
|
+
subdivisionFullname?: string | null;
|
|
24895
25017
|
}
|
|
24896
25018
|
interface StreetAddress$4 {
|
|
24897
25019
|
/** Street number. */
|
|
@@ -25001,6 +25123,16 @@ interface PickupAddress$1 {
|
|
|
25001
25123
|
addressLine1?: string | null;
|
|
25002
25124
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
25003
25125
|
addressLine2?: string | null;
|
|
25126
|
+
/**
|
|
25127
|
+
* Country's full name.
|
|
25128
|
+
* @readonly
|
|
25129
|
+
*/
|
|
25130
|
+
countryFullname?: string | null;
|
|
25131
|
+
/**
|
|
25132
|
+
* Subdivision full-name.
|
|
25133
|
+
* @readonly
|
|
25134
|
+
*/
|
|
25135
|
+
subdivisionFullname?: string | null;
|
|
25004
25136
|
}
|
|
25005
25137
|
declare enum PickupMethod$2 {
|
|
25006
25138
|
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
@@ -25042,7 +25174,9 @@ declare enum OrderStatus {
|
|
|
25042
25174
|
INITIALIZED = "INITIALIZED",
|
|
25043
25175
|
APPROVED = "APPROVED",
|
|
25044
25176
|
CANCELED = "CANCELED",
|
|
25177
|
+
/** @documentationMaturity preview */
|
|
25045
25178
|
PENDING = "PENDING",
|
|
25179
|
+
/** @documentationMaturity preview */
|
|
25046
25180
|
REJECTED = "REJECTED"
|
|
25047
25181
|
}
|
|
25048
25182
|
interface TaxSummary$1 {
|
|
@@ -25553,10 +25687,15 @@ declare enum ActivityType$1 {
|
|
|
25553
25687
|
ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
|
|
25554
25688
|
DRAFT_ORDER_CHANGES_APPLIED = "DRAFT_ORDER_CHANGES_APPLIED",
|
|
25555
25689
|
SAVED_PAYMENT_METHOD = "SAVED_PAYMENT_METHOD",
|
|
25690
|
+
/** @documentationMaturity preview */
|
|
25556
25691
|
PAYMENT_PENDING = "PAYMENT_PENDING",
|
|
25692
|
+
/** @documentationMaturity preview */
|
|
25557
25693
|
PAYMENT_CANCELED = "PAYMENT_CANCELED",
|
|
25694
|
+
/** @documentationMaturity preview */
|
|
25558
25695
|
PAYMENT_DECLINED = "PAYMENT_DECLINED",
|
|
25696
|
+
/** @documentationMaturity preview */
|
|
25559
25697
|
ORDER_PENDING = "ORDER_PENDING",
|
|
25698
|
+
/** @documentationMaturity preview */
|
|
25560
25699
|
ORDER_REJECTED = "ORDER_REJECTED"
|
|
25561
25700
|
}
|
|
25562
25701
|
declare enum AttributionSource {
|
|
@@ -34632,6 +34771,16 @@ interface Address$2 {
|
|
|
34632
34771
|
addressLine1?: string | null;
|
|
34633
34772
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
34634
34773
|
addressLine2?: string | null;
|
|
34774
|
+
/**
|
|
34775
|
+
* Country's full name.
|
|
34776
|
+
* @readonly
|
|
34777
|
+
*/
|
|
34778
|
+
countryFullname?: string | null;
|
|
34779
|
+
/**
|
|
34780
|
+
* Subdivision full-name.
|
|
34781
|
+
* @readonly
|
|
34782
|
+
*/
|
|
34783
|
+
subdivisionFullname?: string | null;
|
|
34635
34784
|
}
|
|
34636
34785
|
interface StreetAddress$2 {
|
|
34637
34786
|
/** Street number. */
|
|
@@ -35506,6 +35655,16 @@ interface Address$1 {
|
|
|
35506
35655
|
addressLine1?: string | null;
|
|
35507
35656
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
35508
35657
|
addressLine2?: string | null;
|
|
35658
|
+
/**
|
|
35659
|
+
* Country's full name.
|
|
35660
|
+
* @readonly
|
|
35661
|
+
*/
|
|
35662
|
+
countryFullname?: string | null;
|
|
35663
|
+
/**
|
|
35664
|
+
* Subdivision full-name.
|
|
35665
|
+
* @readonly
|
|
35666
|
+
*/
|
|
35667
|
+
subdivisionFullname?: string | null;
|
|
35509
35668
|
}
|
|
35510
35669
|
interface StreetAddress$1 {
|
|
35511
35670
|
/** Street number. */
|
|
@@ -37400,8 +37559,12 @@ interface StreetAddressNonNullableFields {
|
|
|
37400
37559
|
name: string;
|
|
37401
37560
|
apt: string;
|
|
37402
37561
|
}
|
|
37562
|
+
interface SubdivisionNonNullableFields {
|
|
37563
|
+
name: string;
|
|
37564
|
+
}
|
|
37403
37565
|
interface AddressNonNullableFields {
|
|
37404
37566
|
streetAddress?: StreetAddressNonNullableFields;
|
|
37567
|
+
subdivisions: SubdivisionNonNullableFields[];
|
|
37405
37568
|
}
|
|
37406
37569
|
interface PickupDetailsNonNullableFields {
|
|
37407
37570
|
address?: AddressNonNullableFields;
|
|
@@ -39161,8 +39324,15 @@ interface GetTipByOrderIdSignature {
|
|
|
39161
39324
|
declare function getTipByDraftOrderId$1(httpClient: HttpClient): GetTipByDraftOrderIdSignature;
|
|
39162
39325
|
interface GetTipByDraftOrderIdSignature {
|
|
39163
39326
|
/**
|
|
39164
|
-
* Retrieves the tip that's associated with an
|
|
39165
|
-
*
|
|
39327
|
+
* Retrieves the tip that's associated with an eCommerce draft order.
|
|
39328
|
+
*
|
|
39329
|
+
*
|
|
39330
|
+
* <blockquote class="important">
|
|
39331
|
+
*
|
|
39332
|
+
* __Important:__
|
|
39333
|
+
* The eCommerce Draft Orders API is currently under development and will be available soon.
|
|
39334
|
+
*
|
|
39335
|
+
* </blockquote>
|
|
39166
39336
|
* @param - ID of the draft order to retrieve the tip for.
|
|
39167
39337
|
*/
|
|
39168
39338
|
(draftOrderId: string | null): Promise<GetTipByDraftOrderIdResponse & GetTipByDraftOrderIdResponseNonNullableFields>;
|