@wix/auto_sdk_ecom_delivery-profile 1.0.257 → 1.0.259

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.
@@ -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
- * When `false`, if the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.
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
- * Charge amount. For example, `"12.5"`.
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 of the dashboard table row that triggered the change.
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 ID that triggered the change.
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
@@ -1870,7 +1888,8 @@ declare function onDeliveryProfileUpdated(handler: (event: DeliveryProfileUpdate
1870
1888
  * Creates a delivery profile.
1871
1889
  *
1872
1890
  *
1873
- * A site can have up to 99 delivery profiles. Attempting to exceed this limit returns a `DELIVERY_PROFILES_LIMIT_EXCEEDED` error.
1891
+ * A site can have up to 99 delivery profiles.
1892
+ * Attempting to exceed this limit returns a `DELIVERY_PROFILES_LIMIT_EXCEEDED` error.
1874
1893
  * @param deliveryProfile - Delivery profile to create.
1875
1894
  * @public
1876
1895
  * @documentationMaturity preview
@@ -1975,7 +1994,7 @@ interface UpdateDeliveryProfile {
1975
1994
  * Deletes a delivery profile.
1976
1995
  *
1977
1996
  *
1978
- * Permanently deletes the delivery profile, including all associated delivery regions and carrier configurations. This action can't be undone.
1997
+ * 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
1998
  *
1980
1999
  * The default delivery profile can't be deleted because every site requires one for core delivery functionality.
1981
2000
  * @param deliveryProfileId - Delivery profile ID.
@@ -1996,9 +2015,7 @@ declare function deleteDeliveryProfile(deliveryProfileId: string): Promise<void>
1996
2015
  * - `paging.limit` is `50`.
1997
2016
  * - `paging.offset` is `0`.
1998
2017
  *
1999
- * For field support for filters and sorting, see [Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/supported-filters).
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).
2018
+ * To learn how to query delivery profiles, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).
2002
2019
  * @public
2003
2020
  * @documentationMaturity preview
2004
2021
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -2231,13 +2248,13 @@ interface UpdateDeliveryRegion {
2231
2248
  */
2232
2249
  active?: boolean | null;
2233
2250
  /**
2234
- * Delivery carriers assigned to this region. Carriers are managed using the Add Delivery Carrier, Update Delivery Carrier, and Remove Delivery Carrier methods.
2251
+ * 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
2252
  * @maxSize 25
2236
2253
  * @readonly
2237
2254
  */
2238
2255
  deliveryCarriers?: DeliveryCarrier[];
2239
2256
  /**
2240
- * Geographic destinations covered by this region. If empty, the region applies globally.
2257
+ * 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
2258
  * @maxSize 250
2242
2259
  */
2243
2260
  destinations?: Destination[];
@@ -2269,6 +2286,9 @@ declare function getDeliveryProfileByDeliveryRegionId(deliveryRegionId: string):
2269
2286
  }>;
2270
2287
  /**
2271
2288
  * Removes a delivery region from a delivery profile.
2289
+ *
2290
+ *
2291
+ * 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
2292
  * @public
2273
2293
  * @documentationMaturity preview
2274
2294
  * @requiredField identifiers
@@ -2345,6 +2365,11 @@ interface RemoveDeliveryCarrierOptions {
2345
2365
  }
2346
2366
  /**
2347
2367
  * Updates a delivery carrier's settings in a delivery region.
2368
+ *
2369
+ *
2370
+ * 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.
2371
+ *
2372
+ * 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
2373
  * @param deliveryRegionId - Delivery region ID.
2349
2374
  * @public
2350
2375
  * @documentationMaturity preview
@@ -2389,7 +2414,7 @@ declare function getDeliveryDestinationProperties(): Promise<NonNullablePaths<Ge
2389
2414
  * Retrieves delivery carrier settings for a delivery profile.
2390
2415
  *
2391
2416
  *
2392
- * Returns detailed carrier configurations, including regional settings for each carrier. This method provides more comprehensive information than List Installed Delivery Carriers.
2417
+ * 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
2418
  * @param deliveryProfileId - Delivery profile ID.
2394
2419
  * @public
2395
2420
  * @documentationMaturity preview
@@ -2412,7 +2437,7 @@ interface ListDeliveryCarriersOptions {
2412
2437
  }
2413
2438
  interface UpdateCarrierSettingsOptions {
2414
2439
  /**
2415
- * ID of the dashboard table row that triggered the change.
2440
+ * 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
2441
  * @format GUID
2417
2442
  */
2418
2443
  rowId: string;
@@ -2437,7 +2462,9 @@ declare function setDeliveryCarrierActiveStatus(carrierAppId: string, options: N
2437
2462
  }>;
2438
2463
  interface SetDeliveryCarrierActiveStatusOptions {
2439
2464
  /**
2440
- * Row ID that triggered the change.
2465
+ * Row identifier in the carrier's dashboard settings table that identifies the specific shipping configuration to update.
2466
+ *
2467
+ * 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
2468
  * @format GUID
2442
2469
  */
2443
2470
  rowId: string;
@@ -2445,7 +2472,7 @@ interface SetDeliveryCarrierActiveStatusOptions {
2445
2472
  active: boolean | null;
2446
2473
  }
2447
2474
  /**
2448
- * Updates extended fields of a DeliveryProfile without incrementing revision
2475
+ * Updates extended fields of a delivery profile without incrementing revision.
2449
2476
  * @param _id - ID of the entity to update.
2450
2477
  * @param namespace - Identifier for the app whose extended fields are being updated.
2451
2478
  * @public