@wix/ecom 1.0.777 → 1.0.779
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.
|
@@ -17123,7 +17123,7 @@ interface Cursors$d {
|
|
|
17123
17123
|
/** Cursor pointing to the previous page in the list of results. */
|
|
17124
17124
|
prev?: string | null;
|
|
17125
17125
|
}
|
|
17126
|
-
interface AddDeliveryRegionRequest$
|
|
17126
|
+
interface AddDeliveryRegionRequest$3 {
|
|
17127
17127
|
/** delivery profile id to associated with the DeliveryRegion */
|
|
17128
17128
|
deliveryProfileId: string;
|
|
17129
17129
|
/** DeliveryRegion to be created */
|
|
@@ -17134,7 +17134,7 @@ interface AddDeliveryRegionRequest$1 {
|
|
|
17134
17134
|
*/
|
|
17135
17135
|
revision?: string | null;
|
|
17136
17136
|
}
|
|
17137
|
-
interface AddDeliveryRegionResponse$
|
|
17137
|
+
interface AddDeliveryRegionResponse$3 {
|
|
17138
17138
|
/** The updated DeliveryProfile with the new DeliveryRegion */
|
|
17139
17139
|
deliveryProfile?: DeliveryProfile$1;
|
|
17140
17140
|
}
|
|
@@ -17153,7 +17153,7 @@ interface UpdateDeliveryRegionResponse$1 {
|
|
|
17153
17153
|
/** The updated DeliveryProfile with the updated DeliveryRegion */
|
|
17154
17154
|
deliveryProfile?: DeliveryProfile$1;
|
|
17155
17155
|
}
|
|
17156
|
-
interface RemoveDeliveryRegionRequest$
|
|
17156
|
+
interface RemoveDeliveryRegionRequest$3 {
|
|
17157
17157
|
/** DeliveryProfile id that owns the DeliveryRegion */
|
|
17158
17158
|
deliveryProfileId: string;
|
|
17159
17159
|
/** Id of the DeliveryRegion to delete */
|
|
@@ -17164,7 +17164,7 @@ interface RemoveDeliveryRegionRequest$1 {
|
|
|
17164
17164
|
*/
|
|
17165
17165
|
revision?: string | null;
|
|
17166
17166
|
}
|
|
17167
|
-
interface RemoveDeliveryRegionResponse$
|
|
17167
|
+
interface RemoveDeliveryRegionResponse$3 {
|
|
17168
17168
|
/** The updated DeliveryProfile without DeliveryRegion */
|
|
17169
17169
|
deliveryProfile?: DeliveryProfile$1;
|
|
17170
17170
|
}
|
|
@@ -17338,13 +17338,13 @@ interface UpdateDeliveryProfileResponseNonNullableFields$1 {
|
|
|
17338
17338
|
interface QueryDeliveryProfilesResponseNonNullableFields$1 {
|
|
17339
17339
|
deliveryProfiles: DeliveryProfileNonNullableFields$1[];
|
|
17340
17340
|
}
|
|
17341
|
-
interface AddDeliveryRegionResponseNonNullableFields$
|
|
17341
|
+
interface AddDeliveryRegionResponseNonNullableFields$3 {
|
|
17342
17342
|
deliveryProfile?: DeliveryProfileNonNullableFields$1;
|
|
17343
17343
|
}
|
|
17344
17344
|
interface UpdateDeliveryRegionResponseNonNullableFields$1 {
|
|
17345
17345
|
deliveryProfile?: DeliveryProfileNonNullableFields$1;
|
|
17346
17346
|
}
|
|
17347
|
-
interface RemoveDeliveryRegionResponseNonNullableFields$
|
|
17347
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$3 {
|
|
17348
17348
|
deliveryProfile?: DeliveryProfileNonNullableFields$1;
|
|
17349
17349
|
}
|
|
17350
17350
|
interface AddDeliveryCarrierResponseNonNullableFields$1 {
|
|
@@ -17620,7 +17620,7 @@ interface Cursors$c {
|
|
|
17620
17620
|
/** Cursor pointing to the previous page in the list of results. */
|
|
17621
17621
|
prev?: string | null;
|
|
17622
17622
|
}
|
|
17623
|
-
interface AddDeliveryRegionRequest {
|
|
17623
|
+
interface AddDeliveryRegionRequest$2 {
|
|
17624
17624
|
/** delivery profile id to associated with the DeliveryRegion */
|
|
17625
17625
|
deliveryProfileId: string;
|
|
17626
17626
|
/** DeliveryRegion to be created */
|
|
@@ -17631,7 +17631,7 @@ interface AddDeliveryRegionRequest {
|
|
|
17631
17631
|
*/
|
|
17632
17632
|
revision?: string | null;
|
|
17633
17633
|
}
|
|
17634
|
-
interface AddDeliveryRegionResponse {
|
|
17634
|
+
interface AddDeliveryRegionResponse$2 {
|
|
17635
17635
|
/** The updated DeliveryProfile with the new DeliveryRegion */
|
|
17636
17636
|
deliveryProfile?: DeliveryProfile;
|
|
17637
17637
|
}
|
|
@@ -17650,7 +17650,7 @@ interface UpdateDeliveryRegionResponse {
|
|
|
17650
17650
|
/** The updated DeliveryProfile with the updated DeliveryRegion */
|
|
17651
17651
|
deliveryProfile?: DeliveryProfile;
|
|
17652
17652
|
}
|
|
17653
|
-
interface RemoveDeliveryRegionRequest {
|
|
17653
|
+
interface RemoveDeliveryRegionRequest$2 {
|
|
17654
17654
|
/** DeliveryProfile id that owns the DeliveryRegion */
|
|
17655
17655
|
deliveryProfileId: string;
|
|
17656
17656
|
/** Id of the DeliveryRegion to delete */
|
|
@@ -17661,7 +17661,7 @@ interface RemoveDeliveryRegionRequest {
|
|
|
17661
17661
|
*/
|
|
17662
17662
|
revision?: string | null;
|
|
17663
17663
|
}
|
|
17664
|
-
interface RemoveDeliveryRegionResponse {
|
|
17664
|
+
interface RemoveDeliveryRegionResponse$2 {
|
|
17665
17665
|
/** The updated DeliveryProfile without DeliveryRegion */
|
|
17666
17666
|
deliveryProfile?: DeliveryProfile;
|
|
17667
17667
|
}
|
|
@@ -17835,13 +17835,13 @@ interface UpdateDeliveryProfileResponseNonNullableFields {
|
|
|
17835
17835
|
interface QueryDeliveryProfilesResponseNonNullableFields {
|
|
17836
17836
|
deliveryProfiles: DeliveryProfileNonNullableFields[];
|
|
17837
17837
|
}
|
|
17838
|
-
interface AddDeliveryRegionResponseNonNullableFields {
|
|
17838
|
+
interface AddDeliveryRegionResponseNonNullableFields$2 {
|
|
17839
17839
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
17840
17840
|
}
|
|
17841
17841
|
interface UpdateDeliveryRegionResponseNonNullableFields {
|
|
17842
17842
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
17843
17843
|
}
|
|
17844
|
-
interface RemoveDeliveryRegionResponseNonNullableFields {
|
|
17844
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$2 {
|
|
17845
17845
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
17846
17846
|
}
|
|
17847
17847
|
interface AddDeliveryCarrierResponseNonNullableFields {
|
|
@@ -17924,17 +17924,17 @@ declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$d<'DELETE', {
|
|
|
17924
17924
|
deliveryProfileId: string;
|
|
17925
17925
|
}, DeleteDeliveryProfileRequest, DeleteDeliveryProfileRequest$1, DeleteDeliveryProfileResponse, DeleteDeliveryProfileResponse$1>;
|
|
17926
17926
|
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$d<'GET', {}, QueryDeliveryProfilesRequest, QueryDeliveryProfilesRequest$1, QueryDeliveryProfilesResponse & QueryDeliveryProfilesResponseNonNullableFields, QueryDeliveryProfilesResponse$1 & QueryDeliveryProfilesResponseNonNullableFields$1>;
|
|
17927
|
-
declare function addDeliveryRegion(): __PublicMethodMetaInfo$d<'POST', {
|
|
17927
|
+
declare function addDeliveryRegion$1(): __PublicMethodMetaInfo$d<'POST', {
|
|
17928
17928
|
deliveryProfileId: string;
|
|
17929
|
-
}, AddDeliveryRegionRequest, AddDeliveryRegionRequest$
|
|
17929
|
+
}, AddDeliveryRegionRequest$2, AddDeliveryRegionRequest$3, AddDeliveryRegionResponse$2 & AddDeliveryRegionResponseNonNullableFields$2, AddDeliveryRegionResponse$3 & AddDeliveryRegionResponseNonNullableFields$3>;
|
|
17930
17930
|
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$d<'PATCH', {
|
|
17931
17931
|
deliveryProfileId: string;
|
|
17932
17932
|
deliveryRegionId: string;
|
|
17933
17933
|
}, UpdateDeliveryRegionRequest, UpdateDeliveryRegionRequest$1, UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields, UpdateDeliveryRegionResponse$1 & UpdateDeliveryRegionResponseNonNullableFields$1>;
|
|
17934
|
-
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$d<'DELETE', {
|
|
17934
|
+
declare function removeDeliveryRegion$1(): __PublicMethodMetaInfo$d<'DELETE', {
|
|
17935
17935
|
deliveryProfileId: string;
|
|
17936
17936
|
deliveryRegionId: string;
|
|
17937
|
-
}, RemoveDeliveryRegionRequest, RemoveDeliveryRegionRequest$
|
|
17937
|
+
}, RemoveDeliveryRegionRequest$2, RemoveDeliveryRegionRequest$3, RemoveDeliveryRegionResponse$2 & RemoveDeliveryRegionResponseNonNullableFields$2, RemoveDeliveryRegionResponse$3 & RemoveDeliveryRegionResponseNonNullableFields$3>;
|
|
17938
17938
|
declare function addDeliveryCarrier(): __PublicMethodMetaInfo$d<'POST', {}, AddDeliveryCarrierRequest, AddDeliveryCarrierRequest$1, AddDeliveryCarrierResponse & AddDeliveryCarrierResponseNonNullableFields, AddDeliveryCarrierResponse$1 & AddDeliveryCarrierResponseNonNullableFields$1>;
|
|
17939
17939
|
declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$d<'POST', {}, RemoveDeliveryCarrierRequest, RemoveDeliveryCarrierRequest$1, RemoveDeliveryCarrierResponse & RemoveDeliveryCarrierResponseNonNullableFields, RemoveDeliveryCarrierResponse$1 & RemoveDeliveryCarrierResponseNonNullableFields$1>;
|
|
17940
17940
|
declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$d<'PATCH', {}, UpdateDeliveryCarrierRequest, UpdateDeliveryCarrierRequest$1, UpdateDeliveryCarrierResponse & UpdateDeliveryCarrierResponseNonNullableFields, UpdateDeliveryCarrierResponse$1 & UpdateDeliveryCarrierResponseNonNullableFields$1>;
|
|
@@ -17947,7 +17947,6 @@ declare function updateExtendedFields$3(): __PublicMethodMetaInfo$d<'POST', {
|
|
|
17947
17947
|
}, UpdateExtendedFieldsRequest$6, UpdateExtendedFieldsRequest$7, UpdateExtendedFieldsResponse$6 & UpdateExtendedFieldsResponseNonNullableFields$6, UpdateExtendedFieldsResponse$7 & UpdateExtendedFieldsResponseNonNullableFields$7>;
|
|
17948
17948
|
|
|
17949
17949
|
declare const meta$d_addDeliveryCarrier: typeof addDeliveryCarrier;
|
|
17950
|
-
declare const meta$d_addDeliveryRegion: typeof addDeliveryRegion;
|
|
17951
17950
|
declare const meta$d_createDeliveryProfile: typeof createDeliveryProfile;
|
|
17952
17951
|
declare const meta$d_deleteDeliveryProfile: typeof deleteDeliveryProfile;
|
|
17953
17952
|
declare const meta$d_getDeliveryProfile: typeof getDeliveryProfile;
|
|
@@ -17955,12 +17954,11 @@ declare const meta$d_listDeliveryCarrierDetails: typeof listDeliveryCarrierDetai
|
|
|
17955
17954
|
declare const meta$d_listDeliveryCarriers: typeof listDeliveryCarriers;
|
|
17956
17955
|
declare const meta$d_queryDeliveryProfiles: typeof queryDeliveryProfiles;
|
|
17957
17956
|
declare const meta$d_removeDeliveryCarrier: typeof removeDeliveryCarrier;
|
|
17958
|
-
declare const meta$d_removeDeliveryRegion: typeof removeDeliveryRegion;
|
|
17959
17957
|
declare const meta$d_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
17960
17958
|
declare const meta$d_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
17961
17959
|
declare const meta$d_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
17962
17960
|
declare namespace meta$d {
|
|
17963
|
-
export { type __PublicMethodMetaInfo$d as __PublicMethodMetaInfo, meta$d_addDeliveryCarrier as addDeliveryCarrier,
|
|
17961
|
+
export { type __PublicMethodMetaInfo$d as __PublicMethodMetaInfo, meta$d_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$1 as addDeliveryRegion, meta$d_createDeliveryProfile as createDeliveryProfile, meta$d_deleteDeliveryProfile as deleteDeliveryProfile, meta$d_getDeliveryProfile as getDeliveryProfile, meta$d_listDeliveryCarrierDetails as listDeliveryCarrierDetails, meta$d_listDeliveryCarriers as listDeliveryCarriers, meta$d_queryDeliveryProfiles as queryDeliveryProfiles, meta$d_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$1 as removeDeliveryRegion, meta$d_updateDeliveryCarrier as updateDeliveryCarrier, meta$d_updateDeliveryProfile as updateDeliveryProfile, meta$d_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$3 as updateExtendedFields };
|
|
17964
17962
|
}
|
|
17965
17963
|
|
|
17966
17964
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -19644,7 +19642,13 @@ declare enum PaymentStatus$3 {
|
|
|
19644
19642
|
/** Payments received but not yet confirmed by the payment provider */
|
|
19645
19643
|
PENDING = "PENDING",
|
|
19646
19644
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
19647
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
19645
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
19646
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
19647
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
19648
|
+
/** Payment was canceled by user on payment provider side */
|
|
19649
|
+
CANCELED = "CANCELED",
|
|
19650
|
+
/** Payment was declined by payment provider */
|
|
19651
|
+
DECLINED = "DECLINED"
|
|
19648
19652
|
}
|
|
19649
19653
|
declare enum FulfillmentStatus$3 {
|
|
19650
19654
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -19660,7 +19664,9 @@ declare enum FulfillmentStatus$3 {
|
|
|
19660
19664
|
declare enum OrderStatus$3 {
|
|
19661
19665
|
INITIALIZED = "INITIALIZED",
|
|
19662
19666
|
APPROVED = "APPROVED",
|
|
19663
|
-
CANCELED = "CANCELED"
|
|
19667
|
+
CANCELED = "CANCELED",
|
|
19668
|
+
PENDING = "PENDING",
|
|
19669
|
+
REJECTED = "REJECTED"
|
|
19664
19670
|
}
|
|
19665
19671
|
interface Activity$3 extends ActivityContentOneOf$3 {
|
|
19666
19672
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
@@ -22195,7 +22201,13 @@ declare enum PaymentStatus$2 {
|
|
|
22195
22201
|
/** Payments received but not yet confirmed by the payment provider */
|
|
22196
22202
|
PENDING = "PENDING",
|
|
22197
22203
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
22198
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
22204
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
22205
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
22206
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
22207
|
+
/** Payment was canceled by user on payment provider side */
|
|
22208
|
+
CANCELED = "CANCELED",
|
|
22209
|
+
/** Payment was declined by payment provider */
|
|
22210
|
+
DECLINED = "DECLINED"
|
|
22199
22211
|
}
|
|
22200
22212
|
declare enum FulfillmentStatus$2 {
|
|
22201
22213
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -22211,7 +22223,9 @@ declare enum FulfillmentStatus$2 {
|
|
|
22211
22223
|
declare enum OrderStatus$2 {
|
|
22212
22224
|
INITIALIZED = "INITIALIZED",
|
|
22213
22225
|
APPROVED = "APPROVED",
|
|
22214
|
-
CANCELED = "CANCELED"
|
|
22226
|
+
CANCELED = "CANCELED",
|
|
22227
|
+
PENDING = "PENDING",
|
|
22228
|
+
REJECTED = "REJECTED"
|
|
22215
22229
|
}
|
|
22216
22230
|
interface Activity$2 extends ActivityContentOneOf$2 {
|
|
22217
22231
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
@@ -25073,7 +25087,13 @@ declare enum PaymentStatus$1 {
|
|
|
25073
25087
|
/** Payments received but not yet confirmed by the payment provider */
|
|
25074
25088
|
PENDING = "PENDING",
|
|
25075
25089
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
25076
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
25090
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
25091
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
25092
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
25093
|
+
/** Payment was canceled by user on payment provider side */
|
|
25094
|
+
CANCELED = "CANCELED",
|
|
25095
|
+
/** Payment was declined by payment provider */
|
|
25096
|
+
DECLINED = "DECLINED"
|
|
25077
25097
|
}
|
|
25078
25098
|
declare enum FulfillmentStatus$1 {
|
|
25079
25099
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -25294,7 +25314,9 @@ interface ShippingRegion$3 {
|
|
|
25294
25314
|
declare enum OrderStatus$1 {
|
|
25295
25315
|
INITIALIZED = "INITIALIZED",
|
|
25296
25316
|
APPROVED = "APPROVED",
|
|
25297
|
-
CANCELED = "CANCELED"
|
|
25317
|
+
CANCELED = "CANCELED",
|
|
25318
|
+
PENDING = "PENDING",
|
|
25319
|
+
REJECTED = "REJECTED"
|
|
25298
25320
|
}
|
|
25299
25321
|
interface TaxSummary$3 {
|
|
25300
25322
|
/**
|
|
@@ -27335,7 +27357,13 @@ declare enum PaymentStatus {
|
|
|
27335
27357
|
/** Payments received but not yet confirmed by the payment provider */
|
|
27336
27358
|
PENDING = "PENDING",
|
|
27337
27359
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
27338
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
27360
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
27361
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
27362
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
27363
|
+
/** Payment was canceled by user on payment provider side */
|
|
27364
|
+
CANCELED = "CANCELED",
|
|
27365
|
+
/** Payment was declined by payment provider */
|
|
27366
|
+
DECLINED = "DECLINED"
|
|
27339
27367
|
}
|
|
27340
27368
|
declare enum FulfillmentStatus {
|
|
27341
27369
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -27536,7 +27564,9 @@ interface ShippingRegion$2 {
|
|
|
27536
27564
|
declare enum OrderStatus {
|
|
27537
27565
|
INITIALIZED = "INITIALIZED",
|
|
27538
27566
|
APPROVED = "APPROVED",
|
|
27539
|
-
CANCELED = "CANCELED"
|
|
27567
|
+
CANCELED = "CANCELED",
|
|
27568
|
+
PENDING = "PENDING",
|
|
27569
|
+
REJECTED = "REJECTED"
|
|
27540
27570
|
}
|
|
27541
27571
|
interface TaxSummary$2 {
|
|
27542
27572
|
/**
|
|
@@ -30818,9 +30848,10 @@ interface PickupLocation$1 {
|
|
|
30818
30848
|
* @readonly
|
|
30819
30849
|
*/
|
|
30820
30850
|
id?: string | null;
|
|
30821
|
-
/**
|
|
30822
|
-
|
|
30823
|
-
|
|
30851
|
+
/**
|
|
30852
|
+
* Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision
|
|
30853
|
+
* @readonly
|
|
30854
|
+
*/
|
|
30824
30855
|
revision?: string | null;
|
|
30825
30856
|
/**
|
|
30826
30857
|
* Represents the time this PickupLocation was created
|
|
@@ -30844,6 +30875,8 @@ interface PickupLocation$1 {
|
|
|
30844
30875
|
active?: boolean | null;
|
|
30845
30876
|
/** at runtime for a given pickup input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
30846
30877
|
rates?: ConditionalRates$3[];
|
|
30878
|
+
/** This pickup location is active for the following delivery regions. */
|
|
30879
|
+
deliveryRegionIds?: string[];
|
|
30847
30880
|
}
|
|
30848
30881
|
/** Physical address */
|
|
30849
30882
|
interface Address$5 extends AddressStreetOneOf$1 {
|
|
@@ -30999,7 +31032,7 @@ interface QueryPickupLocationResponse$1 {
|
|
|
30999
31032
|
pagingMetadata?: CursorPagingMetadata$5;
|
|
31000
31033
|
}
|
|
31001
31034
|
interface CursorPagingMetadata$5 {
|
|
31002
|
-
/** Number of items returned in
|
|
31035
|
+
/** Number of items returned in current page. */
|
|
31003
31036
|
count?: number | null;
|
|
31004
31037
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
31005
31038
|
cursors?: Cursors$5;
|
|
@@ -31017,6 +31050,30 @@ interface Cursors$5 {
|
|
|
31017
31050
|
/** Cursor pointing to the previous page in the list of results. */
|
|
31018
31051
|
prev?: string | null;
|
|
31019
31052
|
}
|
|
31053
|
+
interface AddDeliveryRegionRequest$1 {
|
|
31054
|
+
/** Id of the PickupLocation to add to the delivery region */
|
|
31055
|
+
pickupLocationId: string;
|
|
31056
|
+
/** Id of the DeliveryRegion to add the PickupLocation to */
|
|
31057
|
+
deliveryRegionId: string;
|
|
31058
|
+
/** Revision of the PickupLocation */
|
|
31059
|
+
revision: string | null;
|
|
31060
|
+
}
|
|
31061
|
+
interface AddDeliveryRegionResponse$1 {
|
|
31062
|
+
/** The updated PickupLocation */
|
|
31063
|
+
pickupLocation?: PickupLocation$1;
|
|
31064
|
+
}
|
|
31065
|
+
interface RemoveDeliveryRegionRequest$1 {
|
|
31066
|
+
/** Id of the PickupLocation to add to the delivery region */
|
|
31067
|
+
pickupLocationId: string;
|
|
31068
|
+
/** Id of the DeliveryRegion to add the PickupLocation to */
|
|
31069
|
+
deliveryRegionId: string;
|
|
31070
|
+
/** Revision of the PickupLocation */
|
|
31071
|
+
revision: string | null;
|
|
31072
|
+
}
|
|
31073
|
+
interface RemoveDeliveryRegionResponse$1 {
|
|
31074
|
+
/** The updated PickupLocation */
|
|
31075
|
+
pickupLocation?: PickupLocation$1;
|
|
31076
|
+
}
|
|
31020
31077
|
interface BulkCreatePickupLocationRequest$1 {
|
|
31021
31078
|
pickupLocations: PickupLocation$1[];
|
|
31022
31079
|
}
|
|
@@ -31069,6 +31126,7 @@ interface ConditionalRatesNonNullableFields$3 {
|
|
|
31069
31126
|
interface PickupLocationNonNullableFields$1 {
|
|
31070
31127
|
address?: AddressNonNullableFields$5;
|
|
31071
31128
|
rates: ConditionalRatesNonNullableFields$3[];
|
|
31129
|
+
deliveryRegionIds: string[];
|
|
31072
31130
|
}
|
|
31073
31131
|
interface CreatePickupLocationResponseNonNullableFields$1 {
|
|
31074
31132
|
pickupLocation?: PickupLocationNonNullableFields$1;
|
|
@@ -31082,6 +31140,12 @@ interface UpdatePickupLocationResponseNonNullableFields$1 {
|
|
|
31082
31140
|
interface QueryPickupLocationResponseNonNullableFields$1 {
|
|
31083
31141
|
pickupLocations: PickupLocationNonNullableFields$1[];
|
|
31084
31142
|
}
|
|
31143
|
+
interface AddDeliveryRegionResponseNonNullableFields$1 {
|
|
31144
|
+
pickupLocation?: PickupLocationNonNullableFields$1;
|
|
31145
|
+
}
|
|
31146
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$1 {
|
|
31147
|
+
pickupLocation?: PickupLocationNonNullableFields$1;
|
|
31148
|
+
}
|
|
31085
31149
|
interface ApplicationErrorNonNullableFields$3 {
|
|
31086
31150
|
code: string;
|
|
31087
31151
|
description: string;
|
|
@@ -31109,9 +31173,10 @@ interface PickupLocation {
|
|
|
31109
31173
|
* @readonly
|
|
31110
31174
|
*/
|
|
31111
31175
|
_id?: string | null;
|
|
31112
|
-
/**
|
|
31113
|
-
|
|
31114
|
-
|
|
31176
|
+
/**
|
|
31177
|
+
* Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision
|
|
31178
|
+
* @readonly
|
|
31179
|
+
*/
|
|
31115
31180
|
revision?: string | null;
|
|
31116
31181
|
/**
|
|
31117
31182
|
* Represents the time this PickupLocation was created
|
|
@@ -31135,6 +31200,8 @@ interface PickupLocation {
|
|
|
31135
31200
|
active?: boolean | null;
|
|
31136
31201
|
/** at runtime for a given pickup input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
31137
31202
|
rates?: ConditionalRates$2[];
|
|
31203
|
+
/** This pickup location is active for the following delivery regions. */
|
|
31204
|
+
deliveryRegionIds?: string[];
|
|
31138
31205
|
}
|
|
31139
31206
|
/** Physical address */
|
|
31140
31207
|
interface Address$4 extends AddressStreetOneOf {
|
|
@@ -31290,7 +31357,7 @@ interface QueryPickupLocationResponse {
|
|
|
31290
31357
|
pagingMetadata?: CursorPagingMetadata$4;
|
|
31291
31358
|
}
|
|
31292
31359
|
interface CursorPagingMetadata$4 {
|
|
31293
|
-
/** Number of items returned in
|
|
31360
|
+
/** Number of items returned in current page. */
|
|
31294
31361
|
count?: number | null;
|
|
31295
31362
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
31296
31363
|
cursors?: Cursors$4;
|
|
@@ -31308,6 +31375,30 @@ interface Cursors$4 {
|
|
|
31308
31375
|
/** Cursor pointing to the previous page in the list of results. */
|
|
31309
31376
|
prev?: string | null;
|
|
31310
31377
|
}
|
|
31378
|
+
interface AddDeliveryRegionRequest {
|
|
31379
|
+
/** Id of the PickupLocation to add to the delivery region */
|
|
31380
|
+
pickupLocationId: string;
|
|
31381
|
+
/** Id of the DeliveryRegion to add the PickupLocation to */
|
|
31382
|
+
deliveryRegionId: string;
|
|
31383
|
+
/** Revision of the PickupLocation */
|
|
31384
|
+
revision: string | null;
|
|
31385
|
+
}
|
|
31386
|
+
interface AddDeliveryRegionResponse {
|
|
31387
|
+
/** The updated PickupLocation */
|
|
31388
|
+
pickupLocation?: PickupLocation;
|
|
31389
|
+
}
|
|
31390
|
+
interface RemoveDeliveryRegionRequest {
|
|
31391
|
+
/** Id of the PickupLocation to add to the delivery region */
|
|
31392
|
+
pickupLocationId: string;
|
|
31393
|
+
/** Id of the DeliveryRegion to add the PickupLocation to */
|
|
31394
|
+
deliveryRegionId: string;
|
|
31395
|
+
/** Revision of the PickupLocation */
|
|
31396
|
+
revision: string | null;
|
|
31397
|
+
}
|
|
31398
|
+
interface RemoveDeliveryRegionResponse {
|
|
31399
|
+
/** The updated PickupLocation */
|
|
31400
|
+
pickupLocation?: PickupLocation;
|
|
31401
|
+
}
|
|
31311
31402
|
interface BulkCreatePickupLocationRequest {
|
|
31312
31403
|
pickupLocations: PickupLocation[];
|
|
31313
31404
|
}
|
|
@@ -31360,6 +31451,7 @@ interface ConditionalRatesNonNullableFields$2 {
|
|
|
31360
31451
|
interface PickupLocationNonNullableFields {
|
|
31361
31452
|
address?: AddressNonNullableFields$4;
|
|
31362
31453
|
rates: ConditionalRatesNonNullableFields$2[];
|
|
31454
|
+
deliveryRegionIds: string[];
|
|
31363
31455
|
}
|
|
31364
31456
|
interface CreatePickupLocationResponseNonNullableFields {
|
|
31365
31457
|
pickupLocation?: PickupLocationNonNullableFields;
|
|
@@ -31373,6 +31465,12 @@ interface UpdatePickupLocationResponseNonNullableFields {
|
|
|
31373
31465
|
interface QueryPickupLocationResponseNonNullableFields {
|
|
31374
31466
|
pickupLocations: PickupLocationNonNullableFields[];
|
|
31375
31467
|
}
|
|
31468
|
+
interface AddDeliveryRegionResponseNonNullableFields {
|
|
31469
|
+
pickupLocation?: PickupLocationNonNullableFields;
|
|
31470
|
+
}
|
|
31471
|
+
interface RemoveDeliveryRegionResponseNonNullableFields {
|
|
31472
|
+
pickupLocation?: PickupLocationNonNullableFields;
|
|
31473
|
+
}
|
|
31376
31474
|
interface ApplicationErrorNonNullableFields$2 {
|
|
31377
31475
|
code: string;
|
|
31378
31476
|
description: string;
|
|
@@ -31414,10 +31512,17 @@ declare function deletePickupLocation(): __PublicMethodMetaInfo$4<'DELETE', {
|
|
|
31414
31512
|
pickupLocationId: string;
|
|
31415
31513
|
}, DeletePickupLocationRequest, DeletePickupLocationRequest$1, DeletePickupLocationResponse, DeletePickupLocationResponse$1>;
|
|
31416
31514
|
declare function queryPickupLocation(): __PublicMethodMetaInfo$4<'POST', {}, QueryPickupLocationRequest, QueryPickupLocationRequest$1, QueryPickupLocationResponse & QueryPickupLocationResponseNonNullableFields, QueryPickupLocationResponse$1 & QueryPickupLocationResponseNonNullableFields$1>;
|
|
31515
|
+
declare function addDeliveryRegion(): __PublicMethodMetaInfo$4<'POST', {
|
|
31516
|
+
pickupLocationId: string;
|
|
31517
|
+
}, AddDeliveryRegionRequest, AddDeliveryRegionRequest$1, AddDeliveryRegionResponse & AddDeliveryRegionResponseNonNullableFields, AddDeliveryRegionResponse$1 & AddDeliveryRegionResponseNonNullableFields$1>;
|
|
31518
|
+
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$4<'POST', {
|
|
31519
|
+
pickupLocationId: string;
|
|
31520
|
+
}, RemoveDeliveryRegionRequest, RemoveDeliveryRegionRequest$1, RemoveDeliveryRegionResponse & RemoveDeliveryRegionResponseNonNullableFields, RemoveDeliveryRegionResponse$1 & RemoveDeliveryRegionResponseNonNullableFields$1>;
|
|
31417
31521
|
declare function bulkCreatePickupLocation(): __PublicMethodMetaInfo$4<'POST', {}, BulkCreatePickupLocationRequest, BulkCreatePickupLocationRequest$1, BulkCreatePickupLocationResponse & BulkCreatePickupLocationResponseNonNullableFields, BulkCreatePickupLocationResponse$1 & BulkCreatePickupLocationResponseNonNullableFields$1>;
|
|
31418
31522
|
declare function bulkUpdatePickupLocation(): __PublicMethodMetaInfo$4<'PATCH', {}, BulkUpdatePickupLocationRequest, BulkUpdatePickupLocationRequest$1, BulkUpdatePickupLocationResponse & BulkUpdatePickupLocationResponseNonNullableFields, BulkUpdatePickupLocationResponse$1 & BulkUpdatePickupLocationResponseNonNullableFields$1>;
|
|
31419
31523
|
declare function bulkDeletePickupLocation(): __PublicMethodMetaInfo$4<'DELETE', {}, BulkDeletePickupLocationRequest, BulkDeletePickupLocationRequest$1, BulkDeletePickupLocationResponse & BulkDeletePickupLocationResponseNonNullableFields, BulkDeletePickupLocationResponse$1 & BulkDeletePickupLocationResponseNonNullableFields$1>;
|
|
31420
31524
|
|
|
31525
|
+
declare const meta$4_addDeliveryRegion: typeof addDeliveryRegion;
|
|
31421
31526
|
declare const meta$4_bulkCreatePickupLocation: typeof bulkCreatePickupLocation;
|
|
31422
31527
|
declare const meta$4_bulkDeletePickupLocation: typeof bulkDeletePickupLocation;
|
|
31423
31528
|
declare const meta$4_bulkUpdatePickupLocation: typeof bulkUpdatePickupLocation;
|
|
@@ -31425,9 +31530,10 @@ declare const meta$4_createPickupLocation: typeof createPickupLocation;
|
|
|
31425
31530
|
declare const meta$4_deletePickupLocation: typeof deletePickupLocation;
|
|
31426
31531
|
declare const meta$4_getPickupLocation: typeof getPickupLocation;
|
|
31427
31532
|
declare const meta$4_queryPickupLocation: typeof queryPickupLocation;
|
|
31533
|
+
declare const meta$4_removeDeliveryRegion: typeof removeDeliveryRegion;
|
|
31428
31534
|
declare const meta$4_updatePickupLocation: typeof updatePickupLocation;
|
|
31429
31535
|
declare namespace meta$4 {
|
|
31430
|
-
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_bulkCreatePickupLocation as bulkCreatePickupLocation, meta$4_bulkDeletePickupLocation as bulkDeletePickupLocation, meta$4_bulkUpdatePickupLocation as bulkUpdatePickupLocation, meta$4_createPickupLocation as createPickupLocation, meta$4_deletePickupLocation as deletePickupLocation, meta$4_getPickupLocation as getPickupLocation, meta$4_queryPickupLocation as queryPickupLocation, meta$4_updatePickupLocation as updatePickupLocation };
|
|
31536
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_addDeliveryRegion as addDeliveryRegion, meta$4_bulkCreatePickupLocation as bulkCreatePickupLocation, meta$4_bulkDeletePickupLocation as bulkDeletePickupLocation, meta$4_bulkUpdatePickupLocation as bulkUpdatePickupLocation, meta$4_createPickupLocation as createPickupLocation, meta$4_deletePickupLocation as deletePickupLocation, meta$4_getPickupLocation as getPickupLocation, meta$4_queryPickupLocation as queryPickupLocation, meta$4_removeDeliveryRegion as removeDeliveryRegion, meta$4_updatePickupLocation as updatePickupLocation };
|
|
31431
31537
|
}
|
|
31432
31538
|
|
|
31433
31539
|
interface ShippingOption$3 {
|
|
@@ -2796,7 +2796,13 @@ declare enum PaymentStatus {
|
|
|
2796
2796
|
/** Payments received but not yet confirmed by the payment provider */
|
|
2797
2797
|
PENDING = "PENDING",
|
|
2798
2798
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
2799
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
2799
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
2800
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
2801
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
2802
|
+
/** Payment was canceled by user on payment provider side */
|
|
2803
|
+
CANCELED = "CANCELED",
|
|
2804
|
+
/** Payment was declined by payment provider */
|
|
2805
|
+
DECLINED = "DECLINED"
|
|
2800
2806
|
}
|
|
2801
2807
|
declare enum FulfillmentStatus {
|
|
2802
2808
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -3003,7 +3009,9 @@ interface ShippingRegion {
|
|
|
3003
3009
|
declare enum OrderStatus {
|
|
3004
3010
|
INITIALIZED = "INITIALIZED",
|
|
3005
3011
|
APPROVED = "APPROVED",
|
|
3006
|
-
CANCELED = "CANCELED"
|
|
3012
|
+
CANCELED = "CANCELED",
|
|
3013
|
+
PENDING = "PENDING",
|
|
3014
|
+
REJECTED = "REJECTED"
|
|
3007
3015
|
}
|
|
3008
3016
|
interface TaxSummary {
|
|
3009
3017
|
/**
|
|
@@ -2796,7 +2796,13 @@ declare enum PaymentStatus {
|
|
|
2796
2796
|
/** Payments received but not yet confirmed by the payment provider */
|
|
2797
2797
|
PENDING = "PENDING",
|
|
2798
2798
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
2799
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
2799
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
2800
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
2801
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
2802
|
+
/** Payment was canceled by user on payment provider side */
|
|
2803
|
+
CANCELED = "CANCELED",
|
|
2804
|
+
/** Payment was declined by payment provider */
|
|
2805
|
+
DECLINED = "DECLINED"
|
|
2800
2806
|
}
|
|
2801
2807
|
declare enum FulfillmentStatus {
|
|
2802
2808
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -3003,7 +3009,9 @@ interface ShippingRegion {
|
|
|
3003
3009
|
declare enum OrderStatus {
|
|
3004
3010
|
INITIALIZED = "INITIALIZED",
|
|
3005
3011
|
APPROVED = "APPROVED",
|
|
3006
|
-
CANCELED = "CANCELED"
|
|
3012
|
+
CANCELED = "CANCELED",
|
|
3013
|
+
PENDING = "PENDING",
|
|
3014
|
+
REJECTED = "REJECTED"
|
|
3007
3015
|
}
|
|
3008
3016
|
interface TaxSummary {
|
|
3009
3017
|
/**
|