@umbraco-commerce/backoffice 15.3.3 → 16.0.0-rc1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-commerce/backoffice",
3
- "version": "15.3.3",
3
+ "version": "16.0.0-rc1",
4
4
  "type": "module",
5
5
  "types": "./types/umbraco-commerce-public.d.ts",
6
6
  "files": [
@@ -20,6 +20,6 @@
20
20
  "url": "https://umbraco.com"
21
21
  },
22
22
  "peerDependencies": {
23
- "@umbraco-cms/backoffice": "^15.3.0"
23
+ "@umbraco-cms/backoffice": "^16.0.0-rc3"
24
24
  }
25
25
  }
@@ -219,7 +219,9 @@ declare type PaymentMethodDto = {
219
219
  taxClass?: TaxClassDto | TaxClassNamedReferenceDto | TaxClassReferenceDto | null;
220
220
  imageId?: string | null;
221
221
  paymentProviderAlias?: string | null;
222
- paymentProviderSettings?: Record<string, unknown> | null;
222
+ paymentProviderSettings?: {
223
+ [key: string]: unknown;
224
+ } | null;
223
225
  enabledFeatures?: PaymentProviderFeaturesDto | null;
224
226
  allowedCountryRegions?: Array<AllowedCountryRegionDto> | null;
225
227
  prices?: Array<ServicePriceDto> | null;
@@ -246,7 +248,9 @@ declare type PaymentMethodWithFeeDto = {
246
248
  taxClass?: TaxClassDto | TaxClassNamedReferenceDto | TaxClassReferenceDto | null;
247
249
  imageId?: string | null;
248
250
  paymentProviderAlias?: string | null;
249
- paymentProviderSettings?: Record<string, unknown> | null;
251
+ paymentProviderSettings?: {
252
+ [key: string]: unknown;
253
+ } | null;
250
254
  enabledFeatures?: PaymentProviderFeaturesDto | null;
251
255
  allowedCountryRegions?: Array<AllowedCountryRegionDto> | null;
252
256
  prices?: Array<ServicePriceDto> | null;
@@ -271,13 +275,17 @@ declare type PriceDto = {
271
275
  };
272
276
 
273
277
  declare type RealtimeRateShippingCalculationConfigDto = {
274
- fixedPriceSurcharge?: Record<string, number | null> | null;
278
+ fixedPriceSurcharge?: {
279
+ [key: string]: number | null;
280
+ } | null;
275
281
  percentageSurcharge?: number | null;
276
282
  rateCacheDuration?: number | null;
277
283
  };
278
284
 
279
285
  declare type RealtimeRateShippingCalculationConfigRequestDto = {
280
- fixedPriceSurcharge?: Record<string, number | null> | null;
286
+ fixedPriceSurcharge?: {
287
+ [key: string]: number | null;
288
+ } | null;
281
289
  percentageSurcharge?: number | null;
282
290
  rateCacheDuration?: number | null;
283
291
  };
@@ -328,7 +336,9 @@ declare type ShippingMethodDto = {
328
336
  shippingProviderAlias?: string | null;
329
337
  calculationMode: ShippingCalculationMode;
330
338
  calculationConfig?: DynamicRateShippingCalculationConfigDto | DynamicRateShippingCalculationConfigRequestDto | FixedRateShippingCalculationConfigDto | RealtimeRateShippingCalculationConfigDto | RealtimeRateShippingCalculationConfigRequestDto | null;
331
- shippingProviderSettings?: Record<string, unknown> | null;
339
+ shippingProviderSettings?: {
340
+ [key: string]: unknown;
341
+ } | null;
332
342
  allowedCountryRegions?: Array<AllowedCountryRegionDto> | null;
333
343
  sortOrder?: number | null;
334
344
  };
@@ -355,7 +365,9 @@ declare type ShippingMethodWithRatesDto = {
355
365
  shippingProviderAlias?: string | null;
356
366
  calculationMode: ShippingCalculationMode;
357
367
  calculationConfig?: DynamicRateShippingCalculationConfigDto | DynamicRateShippingCalculationConfigRequestDto | FixedRateShippingCalculationConfigDto | RealtimeRateShippingCalculationConfigDto | RealtimeRateShippingCalculationConfigRequestDto | null;
358
- shippingProviderSettings?: Record<string, unknown> | null;
368
+ shippingProviderSettings?: {
369
+ [key: string]: unknown;
370
+ } | null;
359
371
  allowedCountryRegions?: Array<AllowedCountryRegionDto> | null;
360
372
  sortOrder?: number | null;
361
373
  rates?: Array<ShippingRateDto> | null;
@@ -431,7 +443,9 @@ declare type TaxCalculationMethodDto = {
431
443
  name?: string | null;
432
444
  store?: StoreBasicDto | StoreDto | StoreNamedReferenceDto | StoreReferenceDto | null;
433
445
  salesTaxProviderAlias: string;
434
- salesTaxProviderSettings?: Record<string, unknown> | null;
446
+ salesTaxProviderSettings?: {
447
+ [key: string]: unknown;
448
+ } | null;
435
449
  sortOrder?: number | null;
436
450
  };
437
451
 
@@ -683,7 +697,7 @@ export declare interface UcOrderLineActionElement extends UmbControllerHostEleme
683
697
  }
684
698
 
685
699
  /** @public **/
686
- export declare class UcStoreContext extends UmbContextBase<UcStoreContext> {
700
+ export declare class UcStoreContext extends UmbContextBase {
687
701
  #private;
688
702
  readonly store: Observable<UcStoreModel | undefined>;
689
703
  readonly id: Observable<string | undefined>;