@compassdigital/sdk.typescript 4.817.0 → 4.819.0

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.
@@ -34,7 +34,7 @@ export interface MetaProvider {
34
34
  }
35
35
 
36
36
  export interface DiscountMethod {
37
- name: 'FIXED_PRICE' | 'PERCENT_OFF' | 'AMOUNT_OFF';
37
+ name: 'FIXED_PRICE' | 'PERCENT_OFF' | 'AMOUNT_OFF' | 'FREE';
38
38
  value: number;
39
39
  }
40
40
 
@@ -102,7 +102,12 @@ export interface ChannelConfig {
102
102
  volante: boolean;
103
103
  }
104
104
 
105
- export type DiscountType = 'Total Order' | 'Single Items' | 'Bundle';
105
+ export type DiscountType =
106
+ | 'Total Order'
107
+ | 'Single Items'
108
+ | 'Bundle'
109
+ | 'Buy X Get Y'
110
+ | 'Buy X Get X';
106
111
 
107
112
  export interface ItemLevelConfig {
108
113
  sectorName?: string;
@@ -114,6 +119,8 @@ export interface ItemLevelConfigDetails {
114
119
  bundleGroupName?: string;
115
120
  bundleGroupId?: string;
116
121
  minimum: number;
122
+ isDiscounted?: boolean;
123
+ discountedItemQuantity?: number;
117
124
  sites?: Site[];
118
125
  globalMenuGroups?: GlobalMenuGroup[];
119
126
  }