@wix/auto_sdk_ecom_delivery-profile 1.0.90 → 1.0.92

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.
@@ -110,30 +110,6 @@ interface DeliveryCarrier {
110
110
  additionalCharges?: AdditionalCharge[];
111
111
  }
112
112
  interface BackupRate {
113
- /**
114
- * Default rate prefix that will concatenate to the delivery options the provider will offer.
115
- * @minLength 1
116
- * @maxLength 256
117
- * @deprecated Default rate prefix that will concatenate to the delivery options the provider will offer.
118
- * @replacedBy title
119
- * @targetRemovalDate 2025-04-01
120
- */
121
- prefix?: string | null;
122
- /**
123
- * Default rate price for all delivery options that the provider will offer.
124
- * @decimalValue options { gte:0, maxScale:6 }
125
- * @deprecated Default rate price for all delivery options that the provider will offer.
126
- * @replacedBy amount
127
- * @targetRemovalDate 2025-04-01
128
- */
129
- rate?: string | null;
130
- /**
131
- * Should the default rate be used. Default value is false.
132
- * @deprecated Should the default rate be used. Default value is false.
133
- * @replacedBy active
134
- * @targetRemovalDate 2025-04-01
135
- */
136
- enabled?: boolean | null;
137
113
  /**
138
114
  * Default rate title that will concatenate to the delivery options the provider will offer.
139
115
  * @minLength 1
@@ -2277,11 +2253,12 @@ interface RemoveDeliveryRegionOptions {
2277
2253
  * @requiredField deliveryRegionId
2278
2254
  * @requiredField options
2279
2255
  * @requiredField options.deliveryCarrier
2256
+ * @requiredField options.deliveryCarrier.backupRate.amount
2280
2257
  * @permissionId ECOM.DELIVERY_CARRIER_ADD
2281
2258
  * @applicableIdentity APP
2282
2259
  * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier
2283
2260
  */
2284
- declare function addDeliveryCarrier(deliveryRegionId: string, options: NonNullablePaths<AddDeliveryCarrierOptions, `deliveryCarrier`, 2>): Promise<NonNullablePaths<AddDeliveryCarrierResponse, `deliveryProfile.deliveryRegions`, 3> & {
2261
+ declare function addDeliveryCarrier(deliveryRegionId: string, options: NonNullablePaths<AddDeliveryCarrierOptions, `deliveryCarrier` | `deliveryCarrier.backupRate.amount`, 4>): Promise<NonNullablePaths<AddDeliveryCarrierResponse, `deliveryProfile.deliveryRegions`, 3> & {
2285
2262
  __applicationErrorsType?: AddDeliveryCarrierApplicationErrors;
2286
2263
  __validationErrorsType?: AddDeliveryCarrierValidationErrors;
2287
2264
  }>;