@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.
@@ -8,7 +8,8 @@ interface CreateDeliveryProfileSignature {
8
8
  * Creates a delivery profile.
9
9
  *
10
10
  *
11
- * A site can have up to 99 delivery profiles. Attempting to exceed this limit returns a `DELIVERY_PROFILES_LIMIT_EXCEEDED` error.
11
+ * A site can have up to 99 delivery profiles.
12
+ * Attempting to exceed this limit returns a `DELIVERY_PROFILES_LIMIT_EXCEEDED` error.
12
13
  * @param - Delivery profile to create.
13
14
  * @returns Created delivery profile.
14
15
  */
@@ -46,7 +47,7 @@ interface DeleteDeliveryProfileSignature {
46
47
  * Deletes a delivery profile.
47
48
  *
48
49
  *
49
- * Permanently deletes the delivery profile, including all associated delivery regions and carrier configurations. This action can't be undone.
50
+ * 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.
50
51
  *
51
52
  * The default delivery profile can't be deleted because every site requires one for core delivery functionality.
52
53
  * @param - Delivery profile ID.
@@ -92,6 +93,9 @@ declare function removeDeliveryRegion$1(httpClient: HttpClient): RemoveDeliveryR
92
93
  interface RemoveDeliveryRegionSignature {
93
94
  /**
94
95
  * Removes a delivery region from a delivery profile.
96
+ *
97
+ *
98
+ * 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.
95
99
  */
96
100
  (identifiers: NonNullablePaths<RemoveDeliveryRegionIdentifiers, `deliveryProfileId` | `deliveryRegionId`, 2>, options?: RemoveDeliveryRegionOptions): Promise<NonNullablePaths<RemoveDeliveryRegionResponse, `deliveryProfile.deliveryRegions`, 3> & {
97
101
  __applicationErrorsType?: RemoveDeliveryRegionApplicationErrors;
@@ -122,6 +126,11 @@ declare function updateDeliveryCarrier$1(httpClient: HttpClient): UpdateDelivery
122
126
  interface UpdateDeliveryCarrierSignature {
123
127
  /**
124
128
  * Updates a delivery carrier's settings in a delivery region.
129
+ *
130
+ *
131
+ * 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.
132
+ *
133
+ * 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).
125
134
  * @param - Delivery region ID.
126
135
  */
127
136
  (deliveryRegionId: string, options?: NonNullablePaths<UpdateDeliveryCarrierOptions, `deliveryCarrier.appId`, 3>): Promise<NonNullablePaths<UpdateDeliveryCarrierResponse, `deliveryProfile.deliveryRegions`, 3> & {
@@ -154,7 +163,7 @@ interface ListDeliveryCarriersSignature {
154
163
  * Retrieves delivery carrier settings for a delivery profile.
155
164
  *
156
165
  *
157
- * Returns detailed carrier configurations, including regional settings for each carrier. This method provides more comprehensive information than List Installed Delivery Carriers.
166
+ * 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).
158
167
  * @param - Delivery profile ID.
159
168
  */
160
169
  (deliveryProfileId: string, options?: ListDeliveryCarriersOptions): Promise<NonNullablePaths<ListDeliveryCarriersResponse, `results` | `results.${number}.deliveryCarrierMetadata.success` | `results.${number}.deliveryCarrierMetadata.error.code` | `results.${number}.deliveryCarrierMetadata.error.description` | `results.${number}.deliveryCarrierDetails._id` | `results.${number}.deliveryCarrierDetails.displayName` | `results.${number}.deliveryCarrierDetails.toggleGetCarrierSettingsEnabled` | `results.${number}.deliveryCarrierDetails.toggleUpdateCarrierActiveStatusEnabled` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
@@ -174,7 +183,7 @@ interface SetDeliveryCarrierActiveStatusSignature {
174
183
  declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
175
184
  interface UpdateExtendedFieldsSignature {
176
185
  /**
177
- * Updates extended fields of a DeliveryProfile without incrementing revision
186
+ * Updates extended fields of a delivery profile without incrementing revision.
178
187
  * @param - ID of the entity to update.
179
188
  * @param - Identifier for the app whose extended fields are being updated.
180
189
  */