@umbraco-commerce/backoffice 17.1.7 → 17.2.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": "17.1.7",
3
+ "version": "17.2.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?: RegionDto | RegionNamedReferenceDto | RegionReferenceDto | null;
27
27
  };
28
28
 
29
+ declare type CommunicationPreferenceDto = {
30
+ name: string;
31
+ icon?: string | null;
32
+ };
33
+
29
34
  declare type CountryDto = {
30
35
  id: string;
31
36
  code: string;
@@ -83,6 +88,11 @@ declare type CurrencyReferenceDto = {
83
88
  code: 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 | null;
88
98
  rates?: Array<DynamicShippingRateDto> | null;
@@ -397,6 +407,12 @@ declare type StoreBasicDto = {
397
407
  sortOrder?: number | null;
398
408
  };
399
409
 
410
+ declare type StoreCustomerPropertyDto = {
411
+ alias: string;
412
+ value?: string | null;
413
+ placeholder?: string | null;
414
+ };
415
+
400
416
  declare type StoreDto = {
401
417
  id: string;
402
418
  alias: string;
@@ -409,6 +425,7 @@ declare type StoreDto = {
409
425
  defaultTaxClass?: TaxClassDto | TaxClassNamedReferenceDto | TaxClassReferenceDto | null;
410
426
  defaultOrderStatus?: OrderStatusDto | OrderStatusNamedReferenceDto | OrderStatusReferenceDto | null;
411
427
  errorOrderStatus?: OrderStatusDto | OrderStatusNamedReferenceDto | OrderStatusReferenceDto | null;
428
+ cancelledOrderStatus?: OrderStatusDto | OrderStatusNamedReferenceDto | OrderStatusReferenceDto | null;
412
429
  pricesIncludeTax?: boolean | null;
413
430
  canRefundTransactionFee: boolean;
414
431
  useCookies?: boolean | null;
@@ -434,6 +451,10 @@ declare type StoreDto = {
434
451
  allowedUserRoles?: Array<string> | null;
435
452
  logoImageUrl?: string | null;
436
453
  themeColor?: string | null;
454
+ communicationPreferencesEnabled: boolean;
455
+ communicationPreferences?: Array<CommunicationPreferenceDto> | null;
456
+ customerProperties?: Array<StoreCustomerPropertyDto> | null;
457
+ customerIdType: CustomerIdType;
437
458
  };
438
459
 
439
460
  declare type StoreNamedReferenceDto = {
@@ -497,6 +518,7 @@ declare enum TemplateCategory {
497
518
  GIFT_CARD = "GiftCard",
498
519
  DISCOUNT = "Discount",
499
520
  CART = "Cart",
521
+ CUSTOMER = "Customer",
500
522
  CUSTOM = "Custom"
501
523
  }
502
524