@umbraco-commerce/backoffice 18.0.1 → 18.1.0-rc.1

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": "18.0.1",
3
+ "version": "18.1.0-rc.1",
4
4
  "type": "module",
5
5
  "types": "./types/umbraco-commerce-public.d.ts",
6
6
  "files": [
@@ -26,6 +26,11 @@ declare type AllowedCountryRegionDto = {
26
26
  region?: null | IRegionDto;
27
27
  };
28
28
 
29
+ declare type CommunicationPreferenceDto = {
30
+ icon?: string;
31
+ name: string;
32
+ };
33
+
29
34
  declare type CountryDto = {
30
35
  code: string;
31
36
  defaultCurrency?: ICurrencyDto;
@@ -83,6 +88,11 @@ declare type CurrencyReferenceDto = {
83
88
  id: string;
84
89
  };
85
90
 
91
+ declare enum CustomerIdType {
92
+ UMBRACO = "Umbraco",
93
+ EXTERNAL = "External"
94
+ }
95
+
86
96
  declare type DynamicRateShippingCalculationConfigDto = {
87
97
  rangeProviderAlias?: string;
88
98
  rates?: null | Array<DynamicShippingRateDto>;
@@ -417,6 +427,12 @@ declare type StoreBasicDto = {
417
427
  sortOrder?: null | number;
418
428
  };
419
429
 
430
+ declare type StoreCustomerPropertyDto = {
431
+ alias: string;
432
+ placeholder?: string;
433
+ value?: string;
434
+ };
435
+
420
436
  declare type StoreDto = {
421
437
  abandonedCartEmailTemplate?: null | IEmailTemplateDto;
422
438
  abandonedCartInactivityPeriod: number;
@@ -426,9 +442,14 @@ declare type StoreDto = {
426
442
  allowedUsers?: null | Array<string>;
427
443
  baseCurrency?: null | ICurrencyDto;
428
444
  canRefundTransactionFee: boolean;
445
+ cancelledOrderStatus?: null | IOrderStatusDto;
429
446
  cartNumberTemplate?: string;
447
+ communicationPreferences?: null | Array<CommunicationPreferenceDto>;
448
+ communicationPreferencesEnabled: boolean;
430
449
  confirmationEmailTemplate?: null | IEmailTemplateDto;
431
450
  cookieTimeout?: null | number;
451
+ customerIdType?: null | CustomerIdType;
452
+ customerProperties?: null | Array<StoreCustomerPropertyDto>;
432
453
  defaultCountry?: null | ICountryDto;
433
454
  defaultGiftCardEmailTemplate?: null | IEmailTemplateDto;
434
455
  defaultLocation?: null | ILocationDto;
@@ -517,6 +538,7 @@ declare enum TemplateCategory {
517
538
  GIFT_CARD = "GiftCard",
518
539
  DISCOUNT = "Discount",
519
540
  CART = "Cart",
541
+ CUSTOMER = "Customer",
520
542
  CUSTOM = "Custom"
521
543
  }
522
544