@wix/auto_sdk_ecom_delivery-profile 1.0.83 → 1.0.85
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.
- package/build/cjs/index.d.ts +22 -7
- package/build/cjs/index.js +13 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +139 -35
- package/build/cjs/index.typings.js +13 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +42 -24
- package/build/cjs/meta.js +13 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +22 -7
- package/build/es/index.mjs +13 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +139 -35
- package/build/es/index.typings.mjs +13 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +42 -24
- package/build/es/meta.mjs +13 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +22 -7
- package/build/internal/cjs/index.js +13 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +139 -35
- package/build/internal/cjs/index.typings.js +13 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +42 -24
- package/build/internal/cjs/meta.js +13 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +22 -7
- package/build/internal/es/index.mjs +13 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +139 -35
- package/build/internal/es/index.typings.mjs +13 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +42 -24
- package/build/internal/es/meta.mjs +13 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
|
+
import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* A DeliveryProfile is a
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* in this [article](<LINK_TO_KB_ARTICLE>).
|
|
4
|
+
* A DeliveryProfile is a collection of delivery configurations that define shipping options for products.
|
|
5
|
+
* Each profile contains delivery regions, which specify where products can be shipped and which carriers can deliver
|
|
6
|
+
* to those destinations. Use delivery profiles to organize and manage different shipping strategies for your store.
|
|
8
7
|
*/
|
|
9
8
|
interface DeliveryProfile {
|
|
10
9
|
/**
|
|
@@ -20,7 +19,10 @@ interface DeliveryProfile {
|
|
|
20
19
|
*/
|
|
21
20
|
name?: string | null;
|
|
22
21
|
/**
|
|
23
|
-
*
|
|
22
|
+
* Indicates whether this is the default DeliveryProfile.
|
|
23
|
+
* The first delivery profile is automatically created and marked as default when the Wix Stores app is installed.
|
|
24
|
+
* Default status cannot be changed or transferred to another profile.
|
|
25
|
+
* The default profile cannot be deleted because every site requires one for core delivery functionality.
|
|
24
26
|
* @readonly
|
|
25
27
|
*/
|
|
26
28
|
default?: boolean | null;
|
|
@@ -29,7 +31,10 @@ interface DeliveryProfile {
|
|
|
29
31
|
* @maxSize 100
|
|
30
32
|
*/
|
|
31
33
|
deliveryRegions?: DeliveryRegion[];
|
|
32
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Information about who created the delivery profile.
|
|
36
|
+
* Contains either an app ID (for profiles created by apps) or a user ID (for profiles created by site users).
|
|
37
|
+
*/
|
|
33
38
|
createdBy?: CreatedBy;
|
|
34
39
|
/**
|
|
35
40
|
* DeliveryProfile revision.
|
|
@@ -49,7 +54,11 @@ interface DeliveryProfile {
|
|
|
49
54
|
/** [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields ) must be configured in the app dashboard before they can be accessed with API calls. */
|
|
50
55
|
extendedFields?: ExtendedFields;
|
|
51
56
|
}
|
|
52
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* A DeliveryRegion defines a geographic area and its associated delivery carriers.
|
|
59
|
+
* Each region specifies destinations (countries and subdivisions) where products
|
|
60
|
+
* can be shipped and the carriers available for those deliveries.
|
|
61
|
+
*/
|
|
53
62
|
interface DeliveryRegion {
|
|
54
63
|
/**
|
|
55
64
|
* The delivery region id.
|
|
@@ -63,16 +72,16 @@ interface DeliveryRegion {
|
|
|
63
72
|
* @maxLength 256
|
|
64
73
|
*/
|
|
65
74
|
name?: string | null;
|
|
66
|
-
/** Indicates that this
|
|
75
|
+
/** Indicates that this delivery region is active, default value is true. */
|
|
67
76
|
active?: boolean | null;
|
|
68
77
|
/**
|
|
69
|
-
* The spi implementers id of shipping-rates spi, assigned to this
|
|
78
|
+
* The spi implementers id of shipping-rates spi, assigned to this delivery region.
|
|
70
79
|
* @maxSize 25
|
|
71
80
|
* @readonly
|
|
72
81
|
*/
|
|
73
82
|
deliveryCarriers?: DeliveryCarrier[];
|
|
74
83
|
/**
|
|
75
|
-
* The operation region of this
|
|
84
|
+
* The operation region of this delivery region, if empty than it is global.
|
|
76
85
|
* @maxSize 250
|
|
77
86
|
*/
|
|
78
87
|
destinations?: Destination[];
|
|
@@ -84,7 +93,11 @@ interface DeliveryRegion {
|
|
|
84
93
|
}
|
|
85
94
|
interface DeliveryCarrier {
|
|
86
95
|
/**
|
|
87
|
-
*
|
|
96
|
+
* ID of the app providing the content.
|
|
97
|
+
*
|
|
98
|
+
* You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
|
|
99
|
+
*
|
|
100
|
+
* Can be fetched by ListDeliveryCarriers api.
|
|
88
101
|
* @format GUID
|
|
89
102
|
*/
|
|
90
103
|
appId?: string;
|
|
@@ -166,7 +179,7 @@ declare enum ChargeType {
|
|
|
166
179
|
}
|
|
167
180
|
/** @enumType */
|
|
168
181
|
type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
|
|
169
|
-
/** Defines the area inside one country that is relevant for this
|
|
182
|
+
/** Defines the area inside one country that is relevant for this delivery region. */
|
|
170
183
|
interface Destination {
|
|
171
184
|
/**
|
|
172
185
|
* 2-letters code represents the country of the delivery destinations
|
|
@@ -175,7 +188,7 @@ interface Destination {
|
|
|
175
188
|
countryCode?: string;
|
|
176
189
|
/**
|
|
177
190
|
* subdivisions - Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
|
|
178
|
-
* If empty, the
|
|
191
|
+
* If empty, the delivery region applies to the entire country.
|
|
179
192
|
* @maxSize 100
|
|
180
193
|
* @minLength 1
|
|
181
194
|
* @maxLength 256
|
|
@@ -231,21 +244,21 @@ interface DeliveryRegionAdded {
|
|
|
231
244
|
*/
|
|
232
245
|
deliveryRegionId?: string | null;
|
|
233
246
|
/**
|
|
234
|
-
* Optional name of the
|
|
247
|
+
* Optional name of the delivery region, for example: "Domestic".
|
|
235
248
|
* @minLength 1
|
|
236
249
|
* @maxLength 256
|
|
237
250
|
*/
|
|
238
251
|
name?: string | null;
|
|
239
|
-
/** Indicates that this
|
|
252
|
+
/** Indicates that this delivery region is active, default value is true. */
|
|
240
253
|
active?: boolean | null;
|
|
241
254
|
/**
|
|
242
|
-
* The spi implementers id of shipping-rates spi, assigned to this
|
|
255
|
+
* The spi implementers id of shipping-rates spi, assigned to this delivery region.
|
|
243
256
|
* @maxSize 25
|
|
244
257
|
* @readonly
|
|
245
258
|
*/
|
|
246
259
|
deliveryCarriers?: DeliveryCarrier[];
|
|
247
260
|
/**
|
|
248
|
-
* The operation region of this
|
|
261
|
+
* The operation region of this delivery region, if empty than it is global.
|
|
249
262
|
* @maxSize 200
|
|
250
263
|
*/
|
|
251
264
|
destinations?: Destination[];
|
|
@@ -261,7 +274,10 @@ interface DeliveryRegionRemoved {
|
|
|
261
274
|
* @format GUID
|
|
262
275
|
*/
|
|
263
276
|
deliveryProfileId?: string;
|
|
264
|
-
/**
|
|
277
|
+
/**
|
|
278
|
+
* The removed DeliveryRegion id.
|
|
279
|
+
* @format GUID
|
|
280
|
+
*/
|
|
265
281
|
deliveryRegionId?: string;
|
|
266
282
|
}
|
|
267
283
|
interface DeliveryRegionUpdated {
|
|
@@ -277,21 +293,21 @@ interface DeliveryRegionUpdated {
|
|
|
277
293
|
*/
|
|
278
294
|
deliveryRegionId?: string | null;
|
|
279
295
|
/**
|
|
280
|
-
* Optional name of the
|
|
296
|
+
* Optional name of the delivery region, for example: "Domestic".
|
|
281
297
|
* @minLength 1
|
|
282
298
|
* @maxLength 256
|
|
283
299
|
*/
|
|
284
300
|
name?: string | null;
|
|
285
|
-
/** Indicates that this
|
|
301
|
+
/** Indicates that this delivery region is active, default value is true. */
|
|
286
302
|
active?: boolean | null;
|
|
287
303
|
/**
|
|
288
|
-
* The spi implementers id of shipping-rates spi, assigned to this
|
|
304
|
+
* The spi implementers id of shipping-rates spi, assigned to this delivery region.
|
|
289
305
|
* @maxSize 25
|
|
290
306
|
* @readonly
|
|
291
307
|
*/
|
|
292
308
|
deliveryCarriers?: DeliveryCarrier[];
|
|
293
309
|
/**
|
|
294
|
-
* The operation region of this
|
|
310
|
+
* The operation region of this delivery region, if empty than it is global.
|
|
295
311
|
* @maxSize 200
|
|
296
312
|
*/
|
|
297
313
|
destinations?: Destination[];
|
|
@@ -1131,10 +1147,12 @@ declare enum Namespace {
|
|
|
1131
1147
|
/** Wix Twins platform. */
|
|
1132
1148
|
TWINS = "TWINS",
|
|
1133
1149
|
/** Wix Nano. */
|
|
1134
|
-
NANO = "NANO"
|
|
1150
|
+
NANO = "NANO",
|
|
1151
|
+
/** Base44 headless sites. */
|
|
1152
|
+
BASE44 = "BASE44"
|
|
1135
1153
|
}
|
|
1136
1154
|
/** @enumType */
|
|
1137
|
-
type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO';
|
|
1155
|
+
type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44';
|
|
1138
1156
|
/** Site transferred to another user. */
|
|
1139
1157
|
interface SiteTransferred {
|
|
1140
1158
|
/**
|
|
@@ -1638,6 +1656,9 @@ type UpdateCarrierSettingsApplicationErrors = {
|
|
|
1638
1656
|
* Creates a DeliveryProfile.
|
|
1639
1657
|
*
|
|
1640
1658
|
* The request body must include the DeliveryProfiles name. DeliveryRegions are optional.
|
|
1659
|
+
*
|
|
1660
|
+
* Note: A site can have up to 99 delivery profiles.
|
|
1661
|
+
* Attempts to exceed this limit will fail with DELIVERY_PROFILES_LIMIT_EXCEEDED.
|
|
1641
1662
|
* @param deliveryProfile - DeliveryProfile to be created.
|
|
1642
1663
|
* @public
|
|
1643
1664
|
* @documentationMaturity preview
|
|
@@ -1669,15 +1690,20 @@ declare function getDeliveryProfile(deliveryProfileId: string): Promise<NonNulla
|
|
|
1669
1690
|
/**
|
|
1670
1691
|
* Updates a DeliveryProfile.
|
|
1671
1692
|
*
|
|
1672
|
-
*
|
|
1673
1693
|
* Each time the DeliveryProfile is updated,
|
|
1674
1694
|
* `revision` increments by 1.
|
|
1675
1695
|
* The current `revision` must be passed when updating the DeliveryProfile.
|
|
1676
1696
|
* This ensures you're working with the latest DeliveryProfile
|
|
1677
1697
|
* and prevents unintended overwrites.
|
|
1698
|
+
* Revision is required for all updates, including partial updates via field_mask,
|
|
1699
|
+
* to prevent concurrent modification conflicts.
|
|
1678
1700
|
*
|
|
1679
1701
|
* This method does not allow updating the DeliveryRegions in this DeliveryProfile.
|
|
1680
|
-
*
|
|
1702
|
+
* To manage delivery regions within this profile, use the AddDeliveryRegion, UpdateDeliveryRegion,
|
|
1703
|
+
* and RemoveDeliveryRegion methods. These dedicated methods ensure proper validation of destinations and carriers.
|
|
1704
|
+
*
|
|
1705
|
+
* Note: The field mask is automatically inferred from the fields you provide in delivery_profile.
|
|
1706
|
+
* You don't need to manually specify which fields to update.
|
|
1681
1707
|
* @param _id - DeliveryProfile ID.
|
|
1682
1708
|
* @public
|
|
1683
1709
|
* @documentationMaturity preview
|
|
@@ -1706,7 +1732,10 @@ interface UpdateDeliveryProfile {
|
|
|
1706
1732
|
*/
|
|
1707
1733
|
name?: string | null;
|
|
1708
1734
|
/**
|
|
1709
|
-
*
|
|
1735
|
+
* Indicates whether this is the default DeliveryProfile.
|
|
1736
|
+
* The first delivery profile is automatically created and marked as default when the Wix Stores app is installed.
|
|
1737
|
+
* Default status cannot be changed or transferred to another profile.
|
|
1738
|
+
* The default profile cannot be deleted because every site requires one for core delivery functionality.
|
|
1710
1739
|
* @readonly
|
|
1711
1740
|
*/
|
|
1712
1741
|
default?: boolean | null;
|
|
@@ -1715,7 +1744,10 @@ interface UpdateDeliveryProfile {
|
|
|
1715
1744
|
* @maxSize 100
|
|
1716
1745
|
*/
|
|
1717
1746
|
deliveryRegions?: DeliveryRegion[];
|
|
1718
|
-
/**
|
|
1747
|
+
/**
|
|
1748
|
+
* Information about who created the delivery profile.
|
|
1749
|
+
* Contains either an app ID (for profiles created by apps) or a user ID (for profiles created by site users).
|
|
1750
|
+
*/
|
|
1719
1751
|
createdBy?: CreatedBy;
|
|
1720
1752
|
/**
|
|
1721
1753
|
* DeliveryProfile revision.
|
|
@@ -1739,6 +1771,11 @@ interface UpdateDeliveryProfile {
|
|
|
1739
1771
|
* Deletes a DeliveryProfile.
|
|
1740
1772
|
*
|
|
1741
1773
|
* Deleting a DeliveryProfile permanently removes them from the DeliveryProfile List.
|
|
1774
|
+
*
|
|
1775
|
+
* Permanently deletes the delivery profile. This action cannot be undone. All associated delivery regions and
|
|
1776
|
+
* carrier configurations will also be removed.
|
|
1777
|
+
*
|
|
1778
|
+
* Cannot delete the default delivery profile because every site requires one for core delivery functionality.
|
|
1742
1779
|
* @param deliveryProfileId - Id of the DeliveryProfile to delete.
|
|
1743
1780
|
* @public
|
|
1744
1781
|
* @documentationMaturity preview
|
|
@@ -1846,7 +1883,72 @@ interface DeliveryProfilesQueryBuilder {
|
|
|
1846
1883
|
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.QueryDeliveryProfiles
|
|
1847
1884
|
* @requiredField query
|
|
1848
1885
|
*/
|
|
1849
|
-
declare function typedQueryDeliveryProfiles(query:
|
|
1886
|
+
declare function typedQueryDeliveryProfiles(query: DeliveryProfileQuery): Promise<NonNullablePaths<QueryDeliveryProfilesResponse, `deliveryProfiles`, 2>>;
|
|
1887
|
+
interface DeliveryProfileQuerySpec extends QuerySpec {
|
|
1888
|
+
paging: 'cursor';
|
|
1889
|
+
wql: [
|
|
1890
|
+
{
|
|
1891
|
+
fields: [
|
|
1892
|
+
'_createdDate',
|
|
1893
|
+
'_id',
|
|
1894
|
+
'_updatedDate',
|
|
1895
|
+
'createdBy',
|
|
1896
|
+
'createdBy.appId',
|
|
1897
|
+
'createdBy.userId',
|
|
1898
|
+
'default',
|
|
1899
|
+
'name'
|
|
1900
|
+
];
|
|
1901
|
+
operators: '*';
|
|
1902
|
+
sort: 'BOTH';
|
|
1903
|
+
}
|
|
1904
|
+
];
|
|
1905
|
+
}
|
|
1906
|
+
type CommonQueryWithEntityContext = Query<DeliveryProfile, DeliveryProfileQuerySpec>;
|
|
1907
|
+
type DeliveryProfileQuery = {
|
|
1908
|
+
/**
|
|
1909
|
+
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`.
|
|
1910
|
+
*/
|
|
1911
|
+
cursorPaging?: {
|
|
1912
|
+
/**
|
|
1913
|
+
Maximum number of items to return in the results.
|
|
1914
|
+
@max: 100
|
|
1915
|
+
*/
|
|
1916
|
+
limit?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit'] | null;
|
|
1917
|
+
/**
|
|
1918
|
+
Pointer to the next or previous page in the list of results.
|
|
1919
|
+
|
|
1920
|
+
Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
1921
|
+
Not relevant for the first request.
|
|
1922
|
+
@maxLength: 16000
|
|
1923
|
+
*/
|
|
1924
|
+
cursor?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor'] | null;
|
|
1925
|
+
};
|
|
1926
|
+
/**
|
|
1927
|
+
Filter object in the following format:
|
|
1928
|
+
`"filter" : {
|
|
1929
|
+
"fieldName1": "value1",
|
|
1930
|
+
"fieldName2":{"$operator":"value2"}
|
|
1931
|
+
}`
|
|
1932
|
+
Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
1933
|
+
*/
|
|
1934
|
+
filter?: CommonQueryWithEntityContext['filter'] | null;
|
|
1935
|
+
/**
|
|
1936
|
+
Sort object in the following format:
|
|
1937
|
+
`[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
1938
|
+
@maxSize: 5
|
|
1939
|
+
*/
|
|
1940
|
+
sort?: {
|
|
1941
|
+
/**
|
|
1942
|
+
Name of the field to sort by.
|
|
1943
|
+
@maxLength: 512
|
|
1944
|
+
*/
|
|
1945
|
+
fieldName?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['fieldName'];
|
|
1946
|
+
/**
|
|
1947
|
+
Sort order.
|
|
1948
|
+
*/
|
|
1949
|
+
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
1950
|
+
}[];
|
|
1951
|
+
};
|
|
1850
1952
|
/**
|
|
1851
1953
|
* Creates a new DeliveryRegion in an existing DeliveryProfile.
|
|
1852
1954
|
* @param deliveryProfileId - delivery profile id to associated with the DeliveryRegion
|
|
@@ -1877,7 +1979,9 @@ interface AddDeliveryRegionOptions {
|
|
|
1877
1979
|
* Pass the latest `revision` for a successful update
|
|
1878
1980
|
*
|
|
1879
1981
|
* This method does not allow setting or updating the delivery delivery_carriers in this delivery_region.
|
|
1880
|
-
*
|
|
1982
|
+
* Delivery carriers within a region must be managed using dedicated methods: AddDeliveryCarrier to add a carrier,
|
|
1983
|
+
* UpdateDeliveryCarrier to modify carrier settings, and RemoveDeliveryCarrier to remove a carrier.
|
|
1984
|
+
* This ensures proper validation and event tracking for carrier changes.
|
|
1881
1985
|
* @public
|
|
1882
1986
|
* @documentationMaturity preview
|
|
1883
1987
|
* @requiredField deliveryRegion
|
|
@@ -1918,16 +2022,16 @@ interface UpdateDeliveryRegion {
|
|
|
1918
2022
|
* @maxLength 256
|
|
1919
2023
|
*/
|
|
1920
2024
|
name?: string | null;
|
|
1921
|
-
/** Indicates that this
|
|
2025
|
+
/** Indicates that this delivery region is active, default value is true. */
|
|
1922
2026
|
active?: boolean | null;
|
|
1923
2027
|
/**
|
|
1924
|
-
* The spi implementers id of shipping-rates spi, assigned to this
|
|
2028
|
+
* The spi implementers id of shipping-rates spi, assigned to this delivery region.
|
|
1925
2029
|
* @maxSize 25
|
|
1926
2030
|
* @readonly
|
|
1927
2031
|
*/
|
|
1928
2032
|
deliveryCarriers?: DeliveryCarrier[];
|
|
1929
2033
|
/**
|
|
1930
|
-
* The operation region of this
|
|
2034
|
+
* The operation region of this delivery region, if empty than it is global.
|
|
1931
2035
|
* @maxSize 250
|
|
1932
2036
|
*/
|
|
1933
2037
|
destinations?: Destination[];
|
|
@@ -2136,4 +2240,4 @@ interface UpdateExtendedFieldsOptions {
|
|
|
2136
2240
|
namespaceData: Record<string, any> | null;
|
|
2137
2241
|
}
|
|
2138
2242
|
|
|
2139
|
-
export { type ActionEvent, type AddDeliveryCarrierApplicationErrors, type AddDeliveryCarrierOptions, type AddDeliveryCarrierRequest, type AddDeliveryCarrierResponse, type AddDeliveryCarrierValidationErrors, type AddDeliveryRegionApplicationErrors, type AddDeliveryRegionOptions, type AddDeliveryRegionRequest, type AddDeliveryRegionResponse, type AddDeliveryRegionValidationErrors, type AdditionalCharge, type ApplicationError, type Asset, type BackupRate, type BulkActionMetadata, ChargeType, type ChargeTypeWithLiterals, type Column, type CountryDeliveryProperties, type CreateDeliveryProfileApplicationErrors, type CreateDeliveryProfileRequest, type CreateDeliveryProfileResponse, type CreateDeliveryProfileValidationErrors, type CreatedBy, type CreatedByIdOneOf, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DashboardTable, type DeleteContext, type DeleteDefaultDeliveryProfileRequest, type DeleteDefaultDeliveryProfileResponse, type DeleteDeliveryProfileRequest, type DeleteDeliveryProfileResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeliveryCarrier, type DeliveryCarrierDetails, type DeliveryCarrierRegionalSettings, type DeliveryDestinationProperties, type DeliveryProfile, type DeliveryProfilesQueryBuilder, type DeliveryProfilesQueryResult, type DeliveryRegion, type DeliveryRegionAdded, type DeliveryRegionRemoved, type DeliveryRegionUpdated, type Destination, DestinationScope, type DestinationScopeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetDeliveryDestinationPropertiesRequest, type GetDeliveryDestinationPropertiesResponse, type GetDeliveryProfileByDeliveryRegionIdApplicationErrors, type GetDeliveryProfileByDeliveryRegionIdRequest, type GetDeliveryProfileByDeliveryRegionIdResponse, type GetDeliveryProfileRequest, type GetDeliveryProfileResponse, type IdentificationData, type IdentificationDataIdOneOf, type InstalledDeliveryCarrier, type ItemMetadata, type ListDeliveryCarriersApplicationErrors, type ListDeliveryCarriersOptions, type ListDeliveryCarriersRequest, type ListDeliveryCarriersResponse, type ListDeliveryCarriersResult, type ListDeliveryDestinationsRequest, type ListDeliveryDestinationsResponse, type ListInstalledDeliveryCarriersRequest, type ListInstalledDeliveryCarriersResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PicassoAssigned, type PicassoUnassigned, type QueryDeliveryProfilesRequest, type QueryDeliveryProfilesResponse, type RemoveDeliveryCarrierApplicationErrors, type RemoveDeliveryCarrierOptions, type RemoveDeliveryCarrierRequest, type RemoveDeliveryCarrierResponse, type RemoveDeliveryRegionApplicationErrors, type RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse, type RequiredZipcodeRequest, type RequiredZipcodeResponse, type RestoreInfo, type Row, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type SubdivisionDeliveryProperties, type UpdateCarrierSettingsApplicationErrors, type UpdateCarrierSettingsOptions, type UpdateCarrierSettingsRequest, type UpdateCarrierSettingsResponse, type UpdateDeliveryCarrierApplicationErrors, type UpdateDeliveryCarrierOptions, type UpdateDeliveryCarrierRequest, type UpdateDeliveryCarrierResponse, type UpdateDeliveryProfile, type UpdateDeliveryProfileApplicationErrors, type UpdateDeliveryProfileRequest, type UpdateDeliveryProfileResponse, type UpdateDeliveryRegion, type UpdateDeliveryRegionApplicationErrors, type UpdateDeliveryRegionIdentifiers, type UpdateDeliveryRegionOptions, type UpdateDeliveryRegionRequest, type UpdateDeliveryRegionResponse, type UpdateDeliveryRegionValidationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, addDeliveryCarrier, addDeliveryRegion, createDeliveryProfile, deleteDeliveryProfile, getDeliveryDestinationProperties, getDeliveryProfile, getDeliveryProfileByDeliveryRegionId, listDeliveryCarriers, listInstalledDeliveryCarriers, queryDeliveryProfiles, removeDeliveryCarrier, removeDeliveryRegion, typedQueryDeliveryProfiles, updateCarrierSettings, updateDeliveryCarrier, updateDeliveryProfile, updateDeliveryRegion, updateExtendedFields };
|
|
2243
|
+
export { type ActionEvent, type AddDeliveryCarrierApplicationErrors, type AddDeliveryCarrierOptions, type AddDeliveryCarrierRequest, type AddDeliveryCarrierResponse, type AddDeliveryCarrierValidationErrors, type AddDeliveryRegionApplicationErrors, type AddDeliveryRegionOptions, type AddDeliveryRegionRequest, type AddDeliveryRegionResponse, type AddDeliveryRegionValidationErrors, type AdditionalCharge, type ApplicationError, type Asset, type BackupRate, type BulkActionMetadata, ChargeType, type ChargeTypeWithLiterals, type Column, type CommonQueryWithEntityContext, type CountryDeliveryProperties, type CreateDeliveryProfileApplicationErrors, type CreateDeliveryProfileRequest, type CreateDeliveryProfileResponse, type CreateDeliveryProfileValidationErrors, type CreatedBy, type CreatedByIdOneOf, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DashboardTable, type DeleteContext, type DeleteDefaultDeliveryProfileRequest, type DeleteDefaultDeliveryProfileResponse, type DeleteDeliveryProfileRequest, type DeleteDeliveryProfileResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeliveryCarrier, type DeliveryCarrierDetails, type DeliveryCarrierRegionalSettings, type DeliveryDestinationProperties, type DeliveryProfile, type DeliveryProfileQuery, type DeliveryProfileQuerySpec, type DeliveryProfilesQueryBuilder, type DeliveryProfilesQueryResult, type DeliveryRegion, type DeliveryRegionAdded, type DeliveryRegionRemoved, type DeliveryRegionUpdated, type Destination, DestinationScope, type DestinationScopeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetDeliveryDestinationPropertiesRequest, type GetDeliveryDestinationPropertiesResponse, type GetDeliveryProfileByDeliveryRegionIdApplicationErrors, type GetDeliveryProfileByDeliveryRegionIdRequest, type GetDeliveryProfileByDeliveryRegionIdResponse, type GetDeliveryProfileRequest, type GetDeliveryProfileResponse, type IdentificationData, type IdentificationDataIdOneOf, type InstalledDeliveryCarrier, type ItemMetadata, type ListDeliveryCarriersApplicationErrors, type ListDeliveryCarriersOptions, type ListDeliveryCarriersRequest, type ListDeliveryCarriersResponse, type ListDeliveryCarriersResult, type ListDeliveryDestinationsRequest, type ListDeliveryDestinationsResponse, type ListInstalledDeliveryCarriersRequest, type ListInstalledDeliveryCarriersResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PicassoAssigned, type PicassoUnassigned, type QueryDeliveryProfilesRequest, type QueryDeliveryProfilesResponse, type RemoveDeliveryCarrierApplicationErrors, type RemoveDeliveryCarrierOptions, type RemoveDeliveryCarrierRequest, type RemoveDeliveryCarrierResponse, type RemoveDeliveryRegionApplicationErrors, type RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse, type RequiredZipcodeRequest, type RequiredZipcodeResponse, type RestoreInfo, type Row, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type SubdivisionDeliveryProperties, type UpdateCarrierSettingsApplicationErrors, type UpdateCarrierSettingsOptions, type UpdateCarrierSettingsRequest, type UpdateCarrierSettingsResponse, type UpdateDeliveryCarrierApplicationErrors, type UpdateDeliveryCarrierOptions, type UpdateDeliveryCarrierRequest, type UpdateDeliveryCarrierResponse, type UpdateDeliveryProfile, type UpdateDeliveryProfileApplicationErrors, type UpdateDeliveryProfileRequest, type UpdateDeliveryProfileResponse, type UpdateDeliveryRegion, type UpdateDeliveryRegionApplicationErrors, type UpdateDeliveryRegionIdentifiers, type UpdateDeliveryRegionOptions, type UpdateDeliveryRegionRequest, type UpdateDeliveryRegionResponse, type UpdateDeliveryRegionValidationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, addDeliveryCarrier, addDeliveryRegion, createDeliveryProfile, deleteDeliveryProfile, getDeliveryDestinationProperties, getDeliveryProfile, getDeliveryProfileByDeliveryRegionId, listDeliveryCarriers, listInstalledDeliveryCarriers, queryDeliveryProfiles, removeDeliveryCarrier, removeDeliveryRegion, typedQueryDeliveryProfiles, updateCarrierSettings, updateDeliveryCarrier, updateDeliveryProfile, updateDeliveryRegion, updateExtendedFields };
|
|
@@ -91,18 +91,30 @@ function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
|
|
|
91
91
|
{
|
|
92
92
|
srcPath: "/ecom/v1/delivery-profiles",
|
|
93
93
|
destPath: "/v1/delivery-profiles"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
97
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
94
98
|
}
|
|
95
99
|
],
|
|
96
100
|
"*.dev.wix-code.com": [
|
|
97
101
|
{
|
|
98
102
|
srcPath: "/ecom/v1/delivery-profiles",
|
|
99
103
|
destPath: "/v1/delivery-profiles"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
107
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
100
108
|
}
|
|
101
109
|
],
|
|
102
110
|
_: [
|
|
103
111
|
{
|
|
104
112
|
srcPath: "/ecom/v1/delivery-profiles",
|
|
105
113
|
destPath: "/v1/delivery-profiles"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
117
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
106
118
|
}
|
|
107
119
|
]
|
|
108
120
|
};
|
|
@@ -710,6 +722,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
710
722
|
Namespace2["MIMIR"] = "MIMIR";
|
|
711
723
|
Namespace2["TWINS"] = "TWINS";
|
|
712
724
|
Namespace2["NANO"] = "NANO";
|
|
725
|
+
Namespace2["BASE44"] = "BASE44";
|
|
713
726
|
return Namespace2;
|
|
714
727
|
})(Namespace || {});
|
|
715
728
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|