@wix/auto_sdk_ecom_delivery-profile 1.0.89 → 1.0.91

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
@@ -2265,11 +2241,12 @@ interface RemoveDeliveryRegionOptions {
2265
2241
  * @requiredField deliveryRegionId
2266
2242
  * @requiredField options
2267
2243
  * @requiredField options.deliveryCarrier
2244
+ * @requiredField options.deliveryCarrier.backupRate.amount
2268
2245
  * @permissionId ECOM.DELIVERY_CARRIER_ADD
2269
2246
  * @applicableIdentity APP
2270
2247
  * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier
2271
2248
  */
2272
- declare function addDeliveryCarrier(deliveryRegionId: string, options: NonNullablePaths<AddDeliveryCarrierOptions, `deliveryCarrier`, 2>): Promise<NonNullablePaths<AddDeliveryCarrierResponse, `deliveryProfile.deliveryRegions`, 3> & {
2249
+ declare function addDeliveryCarrier(deliveryRegionId: string, options: NonNullablePaths<AddDeliveryCarrierOptions, `deliveryCarrier` | `deliveryCarrier.backupRate.amount`, 4>): Promise<NonNullablePaths<AddDeliveryCarrierResponse, `deliveryProfile.deliveryRegions`, 3> & {
2273
2250
  __applicationErrorsType?: AddDeliveryCarrierApplicationErrors;
2274
2251
  __validationErrorsType?: AddDeliveryCarrierValidationErrors;
2275
2252
  }>;