@wix/auto_sdk_ecom_delivery-profile 1.0.257 → 1.0.258
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 +11 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +44 -18
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +14 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +11 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +44 -18
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +14 -8
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +44 -18
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +14 -8
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +44 -18
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +14 -8
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -83,13 +83,13 @@ interface DeliveryRegion {
|
|
|
83
83
|
*/
|
|
84
84
|
active?: boolean | null;
|
|
85
85
|
/**
|
|
86
|
-
* Delivery carriers assigned to this region. Carriers are managed using the Add Delivery Carrier, Update Delivery Carrier, and Remove Delivery Carrier methods.
|
|
86
|
+
* Delivery carriers assigned to this region. Carriers are managed using the [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier), [Update Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/update-delivery-carrier), and [Remove Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/remove-delivery-carrier) methods.
|
|
87
87
|
* @maxSize 25
|
|
88
88
|
* @readonly
|
|
89
89
|
*/
|
|
90
90
|
deliveryCarriers?: DeliveryCarrier[];
|
|
91
91
|
/**
|
|
92
|
-
* Geographic destinations covered by this region. If empty, the region applies globally.
|
|
92
|
+
* Geographic destinations covered by this region. If empty, the region applies globally (Rest of World). A site can have up to 250 destinations across all delivery profiles.
|
|
93
93
|
* @maxSize 250
|
|
94
94
|
*/
|
|
95
95
|
destinations?: Destination[];
|
|
@@ -134,7 +134,11 @@ interface BackupRate {
|
|
|
134
134
|
/**
|
|
135
135
|
* Whether the backup rate is active.
|
|
136
136
|
*
|
|
137
|
-
*
|
|
137
|
+
* The backup rate is used in the following situations:
|
|
138
|
+
* + When `active` is `true`.
|
|
139
|
+
* + When the carrier does not return a cost for any reason.
|
|
140
|
+
*
|
|
141
|
+
* If active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.
|
|
138
142
|
*
|
|
139
143
|
* Default: `false`
|
|
140
144
|
*/
|
|
@@ -147,7 +151,7 @@ interface AdditionalCharge {
|
|
|
147
151
|
*/
|
|
148
152
|
description?: string | null;
|
|
149
153
|
/**
|
|
150
|
-
*
|
|
154
|
+
* Additional fixed charge amount to add to the delivery rate. For example, `"12.50"`.
|
|
151
155
|
* @maxLength 16
|
|
152
156
|
*/
|
|
153
157
|
amount?: string;
|
|
@@ -174,7 +178,7 @@ interface CreatedBy extends CreatedByIdOneOf {
|
|
|
174
178
|
*/
|
|
175
179
|
appId?: string | null;
|
|
176
180
|
/**
|
|
177
|
-
* Wix user ID, when the delivery profile was created by a Wix user.
|
|
181
|
+
* Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.
|
|
178
182
|
* @format GUID
|
|
179
183
|
*/
|
|
180
184
|
userId?: string | null;
|
|
@@ -187,7 +191,7 @@ interface CreatedByIdOneOf {
|
|
|
187
191
|
*/
|
|
188
192
|
appId?: string | null;
|
|
189
193
|
/**
|
|
190
|
-
* Wix user ID, when the delivery profile was created by a Wix user.
|
|
194
|
+
* Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.
|
|
191
195
|
* @format GUID
|
|
192
196
|
*/
|
|
193
197
|
userId?: string | null;
|
|
@@ -814,7 +818,7 @@ interface UpdateCarrierSettingsRequest {
|
|
|
814
818
|
*/
|
|
815
819
|
carrierId: string;
|
|
816
820
|
/**
|
|
817
|
-
* ID
|
|
821
|
+
* Row ID in the carrier's dashboard settings table that identifies the specific shipping configuration to update. Retrieved from [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).
|
|
818
822
|
* @format GUID
|
|
819
823
|
*/
|
|
820
824
|
rowId: string;
|
|
@@ -830,7 +834,9 @@ interface SetDeliveryCarrierActiveStatusRequest {
|
|
|
830
834
|
*/
|
|
831
835
|
carrierAppId: string;
|
|
832
836
|
/**
|
|
833
|
-
* Row
|
|
837
|
+
* Row identifier in the carrier's dashboard settings table that identifies the specific shipping configuration to update.
|
|
838
|
+
*
|
|
839
|
+
* Pass the `row.key` field from the response of [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).
|
|
834
840
|
* @format GUID
|
|
835
841
|
*/
|
|
836
842
|
rowId: string;
|
|
@@ -1740,6 +1746,8 @@ interface DeliveryProfileCreatedEnvelope {
|
|
|
1740
1746
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1741
1747
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1742
1748
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1749
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1750
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1743
1751
|
* @permissionScope Manage eCommerce - all permissions
|
|
1744
1752
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1745
1753
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1763,6 +1771,8 @@ interface DeliveryProfileDeletedEnvelope {
|
|
|
1763
1771
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1764
1772
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1765
1773
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1774
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1775
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1766
1776
|
* @permissionScope Manage eCommerce - all permissions
|
|
1767
1777
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1768
1778
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1786,6 +1796,8 @@ interface DeliveryProfileRegionAddedEnvelope {
|
|
|
1786
1796
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1787
1797
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1788
1798
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1799
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1800
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1789
1801
|
* @permissionScope Manage eCommerce - all permissions
|
|
1790
1802
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1791
1803
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1809,6 +1821,8 @@ interface DeliveryProfileRegionRemovedEnvelope {
|
|
|
1809
1821
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1810
1822
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1811
1823
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1824
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1825
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1812
1826
|
* @permissionScope Manage eCommerce - all permissions
|
|
1813
1827
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1814
1828
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1832,6 +1846,8 @@ interface DeliveryProfileRegionUpdatedEnvelope {
|
|
|
1832
1846
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1833
1847
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1834
1848
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1849
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1850
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1835
1851
|
* @permissionScope Manage eCommerce - all permissions
|
|
1836
1852
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1837
1853
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1857,6 +1873,8 @@ interface DeliveryProfileUpdatedEnvelope {
|
|
|
1857
1873
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1858
1874
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1859
1875
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1876
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1877
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1860
1878
|
* @permissionScope Manage eCommerce - all permissions
|
|
1861
1879
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1862
1880
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1975,7 +1993,7 @@ interface UpdateDeliveryProfile {
|
|
|
1975
1993
|
* Deletes a delivery profile.
|
|
1976
1994
|
*
|
|
1977
1995
|
*
|
|
1978
|
-
* Permanently deletes the delivery profile
|
|
1996
|
+
* Permanently deletes the delivery profile and its delivery regions and carrier configurations. Delivery regions are unique to each profile and aren't shared across profiles. This action can't be undone.
|
|
1979
1997
|
*
|
|
1980
1998
|
* The default delivery profile can't be deleted because every site requires one for core delivery functionality.
|
|
1981
1999
|
* @param deliveryProfileId - Delivery profile ID.
|
|
@@ -1996,9 +2014,7 @@ declare function deleteDeliveryProfile(deliveryProfileId: string): Promise<void>
|
|
|
1996
2014
|
* - `paging.limit` is `50`.
|
|
1997
2015
|
* - `paging.offset` is `0`.
|
|
1998
2016
|
*
|
|
1999
|
-
*
|
|
2000
|
-
*
|
|
2001
|
-
* To learn how to query delivery profiles, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
|
|
2017
|
+
* To learn how to query delivery profiles, see [API Query Language](hhttps://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).
|
|
2002
2018
|
* @public
|
|
2003
2019
|
* @documentationMaturity preview
|
|
2004
2020
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -2231,13 +2247,13 @@ interface UpdateDeliveryRegion {
|
|
|
2231
2247
|
*/
|
|
2232
2248
|
active?: boolean | null;
|
|
2233
2249
|
/**
|
|
2234
|
-
* Delivery carriers assigned to this region. Carriers are managed using the Add Delivery Carrier, Update Delivery Carrier, and Remove Delivery Carrier methods.
|
|
2250
|
+
* Delivery carriers assigned to this region. Carriers are managed using the [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier), [Update Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/update-delivery-carrier), and [Remove Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/remove-delivery-carrier) methods.
|
|
2235
2251
|
* @maxSize 25
|
|
2236
2252
|
* @readonly
|
|
2237
2253
|
*/
|
|
2238
2254
|
deliveryCarriers?: DeliveryCarrier[];
|
|
2239
2255
|
/**
|
|
2240
|
-
* Geographic destinations covered by this region. If empty, the region applies globally.
|
|
2256
|
+
* Geographic destinations covered by this region. If empty, the region applies globally (Rest of World). A site can have up to 250 destinations across all delivery profiles.
|
|
2241
2257
|
* @maxSize 250
|
|
2242
2258
|
*/
|
|
2243
2259
|
destinations?: Destination[];
|
|
@@ -2269,6 +2285,9 @@ declare function getDeliveryProfileByDeliveryRegionId(deliveryRegionId: string):
|
|
|
2269
2285
|
}>;
|
|
2270
2286
|
/**
|
|
2271
2287
|
* Removes a delivery region from a delivery profile.
|
|
2288
|
+
*
|
|
2289
|
+
*
|
|
2290
|
+
* You can remove all delivery regions from a profile, leaving the profile empty. An empty profile won't provide shipping options until a new delivery region is added.
|
|
2272
2291
|
* @public
|
|
2273
2292
|
* @documentationMaturity preview
|
|
2274
2293
|
* @requiredField identifiers
|
|
@@ -2345,6 +2364,11 @@ interface RemoveDeliveryCarrierOptions {
|
|
|
2345
2364
|
}
|
|
2346
2365
|
/**
|
|
2347
2366
|
* Updates a delivery carrier's settings in a delivery region.
|
|
2367
|
+
*
|
|
2368
|
+
*
|
|
2369
|
+
* This method updates an existing carrier's settings (such as backup rate and additional charges) using a partial update. Only the fields you provide are updated; other carrier settings remain unchanged.
|
|
2370
|
+
*
|
|
2371
|
+
* To add a new carrier to a region, use [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier).
|
|
2348
2372
|
* @param deliveryRegionId - Delivery region ID.
|
|
2349
2373
|
* @public
|
|
2350
2374
|
* @documentationMaturity preview
|
|
@@ -2389,7 +2413,7 @@ declare function getDeliveryDestinationProperties(): Promise<NonNullablePaths<Ge
|
|
|
2389
2413
|
* Retrieves delivery carrier settings for a delivery profile.
|
|
2390
2414
|
*
|
|
2391
2415
|
*
|
|
2392
|
-
* Returns detailed carrier configurations, including regional settings for each carrier. This method provides more comprehensive information than List Installed Delivery Carriers.
|
|
2416
|
+
* Returns detailed carrier configurations, including regional settings for each carrier. This method provides more comprehensive information than [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).
|
|
2393
2417
|
* @param deliveryProfileId - Delivery profile ID.
|
|
2394
2418
|
* @public
|
|
2395
2419
|
* @documentationMaturity preview
|
|
@@ -2412,7 +2436,7 @@ interface ListDeliveryCarriersOptions {
|
|
|
2412
2436
|
}
|
|
2413
2437
|
interface UpdateCarrierSettingsOptions {
|
|
2414
2438
|
/**
|
|
2415
|
-
* ID
|
|
2439
|
+
* Row ID in the carrier's dashboard settings table that identifies the specific shipping configuration to update. Retrieved from [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).
|
|
2416
2440
|
* @format GUID
|
|
2417
2441
|
*/
|
|
2418
2442
|
rowId: string;
|
|
@@ -2437,7 +2461,9 @@ declare function setDeliveryCarrierActiveStatus(carrierAppId: string, options: N
|
|
|
2437
2461
|
}>;
|
|
2438
2462
|
interface SetDeliveryCarrierActiveStatusOptions {
|
|
2439
2463
|
/**
|
|
2440
|
-
* Row
|
|
2464
|
+
* Row identifier in the carrier's dashboard settings table that identifies the specific shipping configuration to update.
|
|
2465
|
+
*
|
|
2466
|
+
* Pass the `row.key` field from the response of [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).
|
|
2441
2467
|
* @format GUID
|
|
2442
2468
|
*/
|
|
2443
2469
|
rowId: string;
|
|
@@ -2445,7 +2471,7 @@ interface SetDeliveryCarrierActiveStatusOptions {
|
|
|
2445
2471
|
active: boolean | null;
|
|
2446
2472
|
}
|
|
2447
2473
|
/**
|
|
2448
|
-
* Updates extended fields of a
|
|
2474
|
+
* Updates extended fields of a delivery profile without incrementing revision.
|
|
2449
2475
|
* @param _id - ID of the entity to update.
|
|
2450
2476
|
* @param namespace - Identifier for the app whose extended fields are being updated.
|
|
2451
2477
|
* @public
|