@compassdigital/sdk.typescript 4.105.0 → 4.107.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.105.0",
3
+ "version": "4.107.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -967,6 +967,8 @@ import {
967
967
  DeleteMenuV4StockMenuBusinessUnitResponse,
968
968
  GetMenuV4StockBusinessUnitQuery,
969
969
  GetMenuV4StockBusinessUnitResponse,
970
+ GetMenuV4StockBusinessUnitUnpublishedChangesQuery,
971
+ GetMenuV4StockBusinessUnitUnpublishedChangesResponse,
970
972
  PostMenuV4StockPublishBody,
971
973
  PostMenuV4StockPublishResponse,
972
974
  PostMenuV4ScheduleMenuBody,
@@ -1148,7 +1150,6 @@ import {
1148
1150
  GetDiscountResponse,
1149
1151
  PutDiscountBody,
1150
1152
  PutDiscountResponse,
1151
- DeleteDiscountBody,
1152
1153
  DeleteDiscountResponse,
1153
1154
  GetDiscountsQuery,
1154
1155
  GetDiscountsResponse,
@@ -10435,6 +10436,28 @@ export class ServiceClient extends BaseServiceClient {
10435
10436
  );
10436
10437
  }
10437
10438
 
10439
+ /**
10440
+ * GET /menu/v4/stock/business-unit/{business_unit_id}/unpublished-changes
10441
+ *
10442
+ * @param business_unit_id
10443
+ * @param options - additional request options
10444
+ */
10445
+ get_menu_v4_stock_business_unit_unpublished_changes(
10446
+ business_unit_id: string,
10447
+ options?: {
10448
+ query?: GetMenuV4StockBusinessUnitUnpublishedChangesQuery;
10449
+ } & RequestOptions,
10450
+ ): ResponsePromise<GetMenuV4StockBusinessUnitUnpublishedChangesResponse> {
10451
+ return this.request(
10452
+ 'menu',
10453
+ '/menu/v4/stock/business-unit/{business_unit_id}/unpublished-changes',
10454
+ 'get',
10455
+ `/menu/v4/stock/business-unit/${business_unit_id}/unpublished-changes`,
10456
+ null,
10457
+ options,
10458
+ );
10459
+ }
10460
+
10438
10461
  /**
10439
10462
  * POST /menu/v4/stock/publish
10440
10463
  *
@@ -11802,15 +11825,10 @@ export class ServiceClient extends BaseServiceClient {
11802
11825
  * DELETE /discount/{id} - delete a discount
11803
11826
  *
11804
11827
  * @param id - Discount id
11805
- * @param body
11806
11828
  * @param options - additional request options
11807
11829
  */
11808
- delete_discount(
11809
- id: string,
11810
- body: DeleteDiscountBody,
11811
- options?: RequestOptions,
11812
- ): ResponsePromise<DeleteDiscountResponse> {
11813
- return this.request('discount', '/discount/{id}', 'delete', `/discount/${id}`, body, options);
11830
+ delete_discount(id: string, options?: RequestOptions): ResponsePromise<DeleteDiscountResponse> {
11831
+ return this.request('discount', '/discount/{id}', 'delete', `/discount/${id}`, null, options);
11814
11832
  }
11815
11833
 
11816
11834
  /**
@@ -37,16 +37,16 @@ export interface DiscountMeta {
37
37
  }
38
38
 
39
39
  export interface GetDiscountResponseDTO {
40
- // user is of discount creator
41
- createdBy?: string;
40
+ // user id of discount creator
41
+ createdBy: string;
42
+ // user id of most recent update
43
+ updatedBy: string;
42
44
  id: string;
43
45
  createdAt: string;
44
46
  updatedAt: string;
45
- updatedBy?: string;
46
- name?: string;
47
+ name: string;
47
48
  status?: DiscountStatus;
48
49
  is?: DiscountIs;
49
- app?: string;
50
50
  meta?: DiscountMeta;
51
51
  }
52
52
 
@@ -63,16 +63,16 @@ export interface NotFoundErrorDTO {
63
63
  }
64
64
 
65
65
  export interface DiscountDTO {
66
- // user is of discount creator
67
- createdBy?: string;
66
+ // user id of discount creator
67
+ createdBy: string;
68
+ // user id of most recent update
69
+ updatedBy: string;
68
70
  id: string;
69
71
  createdAt: string;
70
72
  updatedAt: string;
71
- updatedBy?: string;
72
- name?: string;
73
+ name: string;
73
74
  status?: DiscountStatus;
74
75
  is?: DiscountIs;
75
- app?: string;
76
76
  meta?: DiscountMeta;
77
77
  }
78
78
 
@@ -89,72 +89,65 @@ export interface BadRequestErrorDTO {
89
89
  export interface PostDiscountRequestDTO {
90
90
  createdBy: string;
91
91
  name: string;
92
- app: string;
93
92
  }
94
93
 
95
94
  export interface PostDiscountResponseDTO {
96
95
  createdBy: string;
97
96
  name: string;
98
- app: string;
99
97
  id: string;
100
98
  createdAt: string;
101
99
  updatedAt: string;
100
+ updatedBy: string;
102
101
  }
103
102
 
104
103
  export interface PutDiscountRequestDTO {
104
+ // user id of most recent update
105
+ updatedBy: string;
105
106
  taxonomy?: Record<string, any>;
106
- updatedBy?: string;
107
- name?: string;
107
+ name: string;
108
108
  status?: DiscountStatus;
109
109
  is?: DiscountIs;
110
- app?: string;
111
110
  meta?: DiscountMeta;
112
111
  }
113
112
 
114
113
  export interface PutDiscountResponseDTO {
115
- // user is of discount creator
116
- createdBy?: string;
114
+ // user id of discount creator
115
+ createdBy: string;
116
+ // user id of most recent update
117
+ updatedBy: string;
117
118
  id: string;
118
119
  createdAt: string;
119
120
  updatedAt: string;
120
- updatedBy?: string;
121
- name?: string;
121
+ name: string;
122
122
  status?: DiscountStatus;
123
123
  is?: DiscountIs;
124
- app?: string;
125
124
  meta?: DiscountMeta;
126
125
  }
127
126
 
128
127
  export type InternalServerErrorException = Record<string, any>;
129
128
 
130
129
  export interface PutDiscountPublishRequestDTO {
130
+ // user id of most recent update
131
+ updatedBy: string;
131
132
  taxonomy?: Record<string, any>;
132
- updatedBy?: string;
133
- name?: string;
133
+ name: string;
134
134
  status?: DiscountStatus;
135
135
  is?: DiscountIs;
136
- app?: string;
137
136
  meta?: DiscountMeta;
138
137
  }
139
138
 
140
139
  export interface PutDiscountPublishResponseDTO {
141
- // user is of discount creator
142
- createdBy?: string;
140
+ // user id of discount creator
141
+ createdBy: string;
142
+ // user id of most recent update
143
+ updatedBy: string;
143
144
  id: string;
144
145
  createdAt: string;
145
146
  updatedAt: string;
146
- updatedBy?: string;
147
- name?: string;
147
+ name: string;
148
148
  status?: DiscountStatus;
149
149
  is?: DiscountIs;
150
- app?: string;
151
- meta?: DiscountMeta;
152
- }
153
-
154
- export interface DeleteDiscountRequestDTO {
155
- id: string;
156
150
  meta?: DiscountMeta;
157
- app?: string;
158
151
  }
159
152
 
160
153
  export interface DeleteDiscountResponseDTO {
@@ -201,13 +194,9 @@ export interface DeleteDiscountPath {
201
194
  id: string;
202
195
  }
203
196
 
204
- export type DeleteDiscountBody = DeleteDiscountRequestDTO;
205
-
206
197
  export type DeleteDiscountResponse = DeleteDiscountResponseDTO;
207
198
 
208
- export interface DeleteDiscountRequest extends BaseRequest, DeleteDiscountPath {
209
- body: DeleteDiscountBody;
210
- }
199
+ export interface DeleteDiscountRequest extends BaseRequest, DeleteDiscountPath {}
211
200
 
212
201
  // GET /discount - Get discounts by taxonomy
213
202
 
@@ -199,6 +199,7 @@ export interface Brand {
199
199
  time2eat?: {
200
200
  enabled?: boolean;
201
201
  use_timeslots?: boolean;
202
+ ignore_station_hours?: boolean;
202
203
  };
203
204
  nextep?: {
204
205
  mobile_app?: boolean;
@@ -217,6 +217,7 @@ export interface DeleteMealplanTenderBody {
217
217
  type?: string;
218
218
  conversion_amount?: number;
219
219
  terminal_id?: string;
220
+ card_data?: string;
220
221
  drain_order_type?: {
221
222
  taxable?: boolean;
222
223
  tax_exempt?: boolean;
@@ -424,6 +424,7 @@ export interface GlobalMenuGroupDTO {
424
424
  is_active?: boolean;
425
425
  posid_segment?: string;
426
426
  auto_push_to_local?: boolean;
427
+ price_levels?: Record<string, any>;
427
428
  id?: string;
428
429
  permissions?: Record<string, any>;
429
430
  [index: string]: any;
@@ -581,6 +582,7 @@ export interface LocalMenuGroupDTO {
581
582
  allowed_global_menu_groups?: GlobalMenuGroupDTO[];
582
583
  draft_brands?: DraftBrandDTO[];
583
584
  published_brands?: PublishedBrandDTO[];
585
+ price_levels?: Record<string, any>;
584
586
  id: string;
585
587
  created_at?: string;
586
588
  updated_at?: string;
@@ -694,6 +696,7 @@ export interface DraftItemDTO {
694
696
  tax_jwo_code?: string;
695
697
  unique_id?: number;
696
698
  cpg_item_id?: string;
699
+ price_levels?: Record<string, any>;
697
700
  applied_diff_snapshot?: Record<string, any>;
698
701
  brand?: DraftBrandDTO;
699
702
  categories?: Record<string, any>[];
@@ -799,6 +802,7 @@ export interface DraftModifierDTO {
799
802
  tax_tag_code?: string;
800
803
  tags?: string[];
801
804
  unique_id?: number;
805
+ price_levels?: Record<string, any>;
802
806
  applied_diff_snapshot?: Record<string, any>;
803
807
  brand?: DraftBrandDTO;
804
808
  changes?: ModifierChangeDTO[];
@@ -917,7 +921,6 @@ export interface StockDTO {
917
921
  brand_id?: string;
918
922
  id?: string;
919
923
  business_unit_id?: string;
920
- item?: Record<string, any>;
921
924
  menu?: Record<string, any>;
922
925
  brand?: DraftBrandDTO;
923
926
  permissions?: Record<string, any>;
@@ -1147,6 +1150,7 @@ export interface PublishedItemDTO {
1147
1150
  is_featured?: boolean;
1148
1151
  tax_jwo_code?: string;
1149
1152
  cpg_item_id?: string;
1153
+ price_levels?: Record<string, any>;
1150
1154
  permissions?: Record<string, any>;
1151
1155
  [index: string]: any;
1152
1156
  }
@@ -1216,6 +1220,7 @@ export interface PublishedModifierDTO {
1216
1220
  post_surcharge?: number;
1217
1221
  tax_tag_code?: string;
1218
1222
  tags?: string[];
1223
+ price_levels?: Record<string, any>;
1219
1224
  permissions?: Record<string, any>;
1220
1225
  [index: string]: any;
1221
1226
  }
@@ -1511,6 +1516,7 @@ export interface DraftItemEntityDTO {
1511
1516
  tax_jwo_code?: string;
1512
1517
  unique_id?: number;
1513
1518
  cpg_item_id?: string;
1519
+ price_levels?: Record<string, any>;
1514
1520
  applied_diff_snapshot?: Record<string, any>;
1515
1521
  version?: number;
1516
1522
  brand?: DraftBrandDTO;
@@ -1561,6 +1567,7 @@ export interface DraftModifierEntityDTO {
1561
1567
  tax_tag_code?: string;
1562
1568
  tags?: string[];
1563
1569
  unique_id?: number;
1570
+ price_levels?: Record<string, any>;
1564
1571
  applied_diff_snapshot?: Record<string, any>;
1565
1572
  version?: number;
1566
1573
  brand?: DraftBrandDTO;
@@ -2087,6 +2094,7 @@ export interface PostMenuV3LocalMenuGroupBody {
2087
2094
  allowed_global_menu_groups?: GlobalMenuGroupDTO[];
2088
2095
  draft_brands?: DraftBrandDTO[];
2089
2096
  published_brands?: PublishedBrandDTO[];
2097
+ price_levels?: Record<string, any>;
2090
2098
  vendor_metadata?: VendorMetadataDTO[];
2091
2099
  permissions?: Record<string, any>;
2092
2100
  [index: string]: any;
@@ -2098,6 +2106,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
2098
2106
  allowed_global_menu_groups?: GlobalMenuGroupDTO[];
2099
2107
  draft_brands?: DraftBrandDTO[];
2100
2108
  published_brands?: PublishedBrandDTO[];
2109
+ price_levels?: Record<string, any>;
2101
2110
  id: string;
2102
2111
  created_at?: string;
2103
2112
  updated_at?: string;
@@ -2133,6 +2142,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
2133
2142
  allowed_global_menu_groups?: GlobalMenuGroupDTO[];
2134
2143
  draft_brands?: DraftBrandDTO[];
2135
2144
  published_brands?: PublishedBrandDTO[];
2145
+ price_levels?: Record<string, any>;
2136
2146
  id: string;
2137
2147
  created_at?: string;
2138
2148
  updated_at?: string;
@@ -2160,6 +2170,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
2160
2170
  allowed_global_menu_groups?: GlobalMenuGroupDTO[];
2161
2171
  draft_brands?: DraftBrandDTO[];
2162
2172
  published_brands?: PublishedBrandDTO[];
2173
+ price_levels?: Record<string, any>;
2163
2174
  id?: string;
2164
2175
  version?: number;
2165
2176
  vendor_metadata?: VendorMetadataDTO[];
@@ -2173,6 +2184,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
2173
2184
  allowed_global_menu_groups?: GlobalMenuGroupDTO[];
2174
2185
  draft_brands?: DraftBrandDTO[];
2175
2186
  published_brands?: PublishedBrandDTO[];
2187
+ price_levels?: Record<string, any>;
2176
2188
  id: string;
2177
2189
  created_at?: string;
2178
2190
  updated_at?: string;
@@ -2206,6 +2218,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
2206
2218
  allowed_global_menu_groups?: GlobalMenuGroupDTO[];
2207
2219
  draft_brands?: DraftBrandDTO[];
2208
2220
  published_brands?: PublishedBrandDTO[];
2221
+ price_levels?: Record<string, any>;
2209
2222
  id: string;
2210
2223
  created_at?: string;
2211
2224
  updated_at?: string;
@@ -2260,6 +2273,7 @@ export type PostMenuV3LocalMenuGroupsBody = {
2260
2273
  allowed_global_menu_groups?: GlobalMenuGroupDTO[];
2261
2274
  draft_brands?: DraftBrandDTO[];
2262
2275
  published_brands?: PublishedBrandDTO[];
2276
+ price_levels?: Record<string, any>;
2263
2277
  vendor_metadata?: VendorMetadataDTO[];
2264
2278
  permissions?: Record<string, any>;
2265
2279
  [index: string]: any;
@@ -2639,6 +2653,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
2639
2653
  published_brands?: PublishedBrandDTO[];
2640
2654
  posid_segment: string;
2641
2655
  auto_push_to_local?: boolean;
2656
+ price_levels?: Record<string, any>;
2642
2657
  vendor_metadata?: VendorMetadataDTO[];
2643
2658
  permissions?: Record<string, any>;
2644
2659
  [index: string]: any;
@@ -2686,6 +2701,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
2686
2701
  published_brands?: PublishedBrandDTO[];
2687
2702
  posid_segment?: string;
2688
2703
  auto_push_to_local?: boolean;
2704
+ price_levels?: Record<string, any>;
2689
2705
  id?: string;
2690
2706
  version?: number;
2691
2707
  vendor_metadata?: VendorMetadataDTO[];
@@ -2720,6 +2736,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
2720
2736
  published_brands?: PublishedBrandDTO[];
2721
2737
  posid_segment: string;
2722
2738
  auto_push_to_local?: boolean;
2739
+ price_levels?: Record<string, any>;
2723
2740
  id: string;
2724
2741
  created_at?: string;
2725
2742
  updated_at?: string;
@@ -2776,6 +2793,7 @@ export type PostMenuV3GlobalMenuGroupsBody = {
2776
2793
  published_brands?: PublishedBrandDTO[];
2777
2794
  posid_segment: string;
2778
2795
  auto_push_to_local?: boolean;
2796
+ price_levels?: Record<string, any>;
2779
2797
  vendor_metadata?: VendorMetadataDTO[];
2780
2798
  permissions?: Record<string, any>;
2781
2799
  [index: string]: any;
@@ -5053,6 +5071,7 @@ export interface PostMenuV3DraftItemBody {
5053
5071
  tax_jwo_code?: string;
5054
5072
  unique_id?: number;
5055
5073
  cpg_item_id?: string;
5074
+ price_levels?: Record<string, any>;
5056
5075
  applied_diff_snapshot?: Record<string, any>;
5057
5076
  brand?: DraftBrandDTO;
5058
5077
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -5131,6 +5150,7 @@ export interface PatchMenuV3DraftItemBody {
5131
5150
  tax_jwo_code?: string;
5132
5151
  unique_id?: number;
5133
5152
  cpg_item_id?: string;
5153
+ price_levels?: Record<string, any>;
5134
5154
  applied_diff_snapshot?: Record<string, any>;
5135
5155
  version?: number;
5136
5156
  brand?: DraftBrandDTO;
@@ -5248,6 +5268,7 @@ export type PostMenuV3DraftItemsBody = {
5248
5268
  tax_jwo_code?: string;
5249
5269
  unique_id?: number;
5250
5270
  cpg_item_id?: string;
5271
+ price_levels?: Record<string, any>;
5251
5272
  applied_diff_snapshot?: Record<string, any>;
5252
5273
  brand?: DraftBrandDTO;
5253
5274
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -5356,6 +5377,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
5356
5377
  tax_jwo_code?: string;
5357
5378
  unique_id?: number;
5358
5379
  cpg_item_id?: string;
5380
+ price_levels?: Record<string, any>;
5359
5381
  applied_diff_snapshot?: Record<string, any>;
5360
5382
  brand?: DraftBrandDTO;
5361
5383
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -6489,6 +6511,7 @@ export interface PostMenuV3DraftModifierBody {
6489
6511
  tax_tag_code?: string;
6490
6512
  tags?: string[];
6491
6513
  unique_id?: number;
6514
+ price_levels?: Record<string, any>;
6492
6515
  applied_diff_snapshot?: Record<string, any>;
6493
6516
  brand?: DraftBrandDTO;
6494
6517
  changes?: ModifierChangeDTO[];
@@ -6563,6 +6586,7 @@ export interface PatchMenuV3DraftModifierBody {
6563
6586
  tax_tag_code?: string;
6564
6587
  tags?: string[];
6565
6588
  unique_id?: number;
6589
+ price_levels?: Record<string, any>;
6566
6590
  applied_diff_snapshot?: Record<string, any>;
6567
6591
  version?: number;
6568
6592
  brand?: DraftBrandDTO;
@@ -6676,6 +6700,7 @@ export type PostMenuV3DraftModifiersBody = {
6676
6700
  tax_tag_code?: string;
6677
6701
  tags?: string[];
6678
6702
  unique_id?: number;
6703
+ price_levels?: Record<string, any>;
6679
6704
  applied_diff_snapshot?: Record<string, any>;
6680
6705
  brand?: DraftBrandDTO;
6681
6706
  changes?: ModifierChangeDTO[];
@@ -6780,6 +6805,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
6780
6805
  tax_tag_code?: string;
6781
6806
  tags?: string[];
6782
6807
  unique_id?: number;
6808
+ price_levels?: Record<string, any>;
6783
6809
  applied_diff_snapshot?: Record<string, any>;
6784
6810
  brand?: DraftBrandDTO;
6785
6811
  changes?: ModifierChangeDTO[];
@@ -7269,6 +7295,7 @@ export interface GetMenuV4BrandQuery {
7269
7295
  }
7270
7296
 
7271
7297
  export interface GetMenuV4BrandResponse {
7298
+ price_levels?: Record<string, any>;
7272
7299
  parent?: DraftBrandDTO;
7273
7300
  children?: DraftBrandDTO[];
7274
7301
  menus?: DraftMenuDTO[];
@@ -8043,6 +8070,7 @@ export interface PostMenuV4ItemBody {
8043
8070
  tax_jwo_code?: string;
8044
8071
  unique_id?: number;
8045
8072
  cpg_item_id?: string;
8073
+ price_levels?: Record<string, any>;
8046
8074
  base_item_id?: string;
8047
8075
  applied_diff_snapshot?: Record<string, any>;
8048
8076
  brand?: DraftBrandDTO;
@@ -8091,6 +8119,7 @@ export interface PostMenuV4ItemResponse {
8091
8119
  tax_jwo_code?: string;
8092
8120
  unique_id?: number;
8093
8121
  cpg_item_id?: string;
8122
+ price_levels?: Record<string, any>;
8094
8123
  applied_diff_snapshot?: Record<string, any>;
8095
8124
  version?: number;
8096
8125
  brand?: DraftBrandDTO;
@@ -8141,6 +8170,7 @@ export type PostMenuV4ItemsBulkCreateBody = {
8141
8170
  tax_jwo_code?: string;
8142
8171
  unique_id?: number;
8143
8172
  cpg_item_id?: string;
8173
+ price_levels?: Record<string, any>;
8144
8174
  base_item_id?: string;
8145
8175
  applied_diff_snapshot?: Record<string, any>;
8146
8176
  brand?: DraftBrandDTO;
@@ -8209,6 +8239,7 @@ export interface GetMenuV4ItemResponse {
8209
8239
  tax_jwo_code?: string;
8210
8240
  unique_id?: number;
8211
8241
  cpg_item_id?: string;
8242
+ price_levels?: Record<string, any>;
8212
8243
  applied_diff_snapshot?: Record<string, any>;
8213
8244
  version?: number;
8214
8245
  brand?: DraftBrandDTO;
@@ -8265,6 +8296,7 @@ export interface PatchMenuV4ItemBody {
8265
8296
  tax_jwo_code?: string;
8266
8297
  unique_id?: number;
8267
8298
  cpg_item_id?: string;
8299
+ price_levels?: Record<string, any>;
8268
8300
  applied_diff_snapshot?: Record<string, any>;
8269
8301
  brand?: DraftBrandDTO;
8270
8302
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -8312,6 +8344,7 @@ export interface PatchMenuV4ItemResponse {
8312
8344
  tax_jwo_code?: string;
8313
8345
  unique_id?: number;
8314
8346
  cpg_item_id?: string;
8347
+ price_levels?: Record<string, any>;
8315
8348
  applied_diff_snapshot?: Record<string, any>;
8316
8349
  version?: number;
8317
8350
  brand?: DraftBrandDTO;
@@ -8370,6 +8403,7 @@ export interface DeleteMenuV4ItemResponse {
8370
8403
  tax_jwo_code?: string;
8371
8404
  unique_id?: number;
8372
8405
  cpg_item_id?: string;
8406
+ price_levels?: Record<string, any>;
8373
8407
  applied_diff_snapshot?: Record<string, any>;
8374
8408
  version?: number;
8375
8409
  brand?: DraftBrandDTO;
@@ -8420,6 +8454,7 @@ export interface PatchMenuV4ItemsBulkUpdateBody {
8420
8454
  tax_jwo_code?: string;
8421
8455
  unique_id?: number;
8422
8456
  cpg_item_id?: string;
8457
+ price_levels?: Record<string, any>;
8423
8458
  applied_diff_snapshot?: Record<string, any>;
8424
8459
  brand?: DraftBrandDTO;
8425
8460
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -8478,6 +8513,7 @@ export interface PostMenuV4ItemDuplicateBody {
8478
8513
  tax_jwo_code?: string;
8479
8514
  unique_id?: number;
8480
8515
  cpg_item_id?: string;
8516
+ price_levels?: Record<string, any>;
8481
8517
  applied_diff_snapshot?: Record<string, any>;
8482
8518
  brand?: DraftBrandDTO;
8483
8519
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -8525,6 +8561,7 @@ export interface PostMenuV4ItemDuplicateResponse {
8525
8561
  tax_jwo_code?: string;
8526
8562
  unique_id?: number;
8527
8563
  cpg_item_id?: string;
8564
+ price_levels?: Record<string, any>;
8528
8565
  applied_diff_snapshot?: Record<string, any>;
8529
8566
  version?: number;
8530
8567
  brand?: DraftBrandDTO;
@@ -8573,6 +8610,7 @@ export interface PostMenuV4ModifierBody {
8573
8610
  tax_tag_code?: string;
8574
8611
  tags?: string[];
8575
8612
  unique_id?: number;
8613
+ price_levels?: Record<string, any>;
8576
8614
  applied_diff_snapshot?: Record<string, any>;
8577
8615
  brand?: DraftBrandDTO;
8578
8616
  changes?: ModifierChangeDTO[];
@@ -8616,6 +8654,7 @@ export interface PostMenuV4ModifierResponse {
8616
8654
  tax_tag_code?: string;
8617
8655
  tags?: string[];
8618
8656
  unique_id?: number;
8657
+ price_levels?: Record<string, any>;
8619
8658
  applied_diff_snapshot?: Record<string, any>;
8620
8659
  version?: number;
8621
8660
  brand?: DraftBrandDTO;
@@ -8675,6 +8714,7 @@ export interface GetMenuV4ModifierResponse {
8675
8714
  tax_tag_code?: string;
8676
8715
  tags?: string[];
8677
8716
  unique_id?: number;
8717
+ price_levels?: Record<string, any>;
8678
8718
  applied_diff_snapshot?: Record<string, any>;
8679
8719
  version?: number;
8680
8720
  brand?: DraftBrandDTO;
@@ -8726,6 +8766,7 @@ export interface PatchMenuV4ModifierBody {
8726
8766
  tax_tag_code?: string;
8727
8767
  tags?: string[];
8728
8768
  unique_id?: number;
8769
+ price_levels?: Record<string, any>;
8729
8770
  applied_diff_snapshot?: Record<string, any>;
8730
8771
  brand?: DraftBrandDTO;
8731
8772
  changes?: ModifierChangeDTO[];
@@ -8769,6 +8810,7 @@ export interface PatchMenuV4ModifierResponse {
8769
8810
  tax_tag_code?: string;
8770
8811
  tags?: string[];
8771
8812
  unique_id?: number;
8813
+ price_levels?: Record<string, any>;
8772
8814
  applied_diff_snapshot?: Record<string, any>;
8773
8815
  version?: number;
8774
8816
  brand?: DraftBrandDTO;
@@ -8823,6 +8865,7 @@ export interface DeleteMenuV4ModifierResponse {
8823
8865
  tax_tag_code?: string;
8824
8866
  tags?: string[];
8825
8867
  unique_id?: number;
8868
+ price_levels?: Record<string, any>;
8826
8869
  applied_diff_snapshot?: Record<string, any>;
8827
8870
  version?: number;
8828
8871
  brand?: DraftBrandDTO;
@@ -8871,6 +8914,7 @@ export interface PostMenuV4ModifierDuplicateBody {
8871
8914
  tax_tag_code?: string;
8872
8915
  tags?: string[];
8873
8916
  unique_id?: number;
8917
+ price_levels?: Record<string, any>;
8874
8918
  applied_diff_snapshot?: Record<string, any>;
8875
8919
  brand?: DraftBrandDTO;
8876
8920
  changes?: ModifierChangeDTO[];
@@ -8914,6 +8958,7 @@ export interface PostMenuV4ModifierDuplicateResponse {
8914
8958
  tax_tag_code?: string;
8915
8959
  tags?: string[];
8916
8960
  unique_id?: number;
8961
+ price_levels?: Record<string, any>;
8917
8962
  applied_diff_snapshot?: Record<string, any>;
8918
8963
  version?: number;
8919
8964
  brand?: DraftBrandDTO;
@@ -8964,6 +9009,7 @@ export interface PatchMenuV4ModifiersBulkUpdateBody {
8964
9009
  tax_tag_code?: string;
8965
9010
  tags?: string[];
8966
9011
  unique_id?: number;
9012
+ price_levels?: Record<string, any>;
8967
9013
  applied_diff_snapshot?: Record<string, any>;
8968
9014
  brand?: DraftBrandDTO;
8969
9015
  changes?: ModifierChangeDTO[];
@@ -9359,7 +9405,6 @@ export interface PatchMenuV4StockResponse {
9359
9405
  deleted_at?: string;
9360
9406
  business_unit_id?: string;
9361
9407
  version?: number;
9362
- item?: DraftItemDTO;
9363
9408
  menu?: DraftMenuDTO;
9364
9409
  brand?: DraftBrandDTO;
9365
9410
  permissions?: Record<string, any>;
@@ -9435,6 +9480,41 @@ export interface GetMenuV4StockBusinessUnitRequest
9435
9480
  RequestQuery<GetMenuV4StockBusinessUnitQuery>,
9436
9481
  GetMenuV4StockBusinessUnitPath {}
9437
9482
 
9483
+ // GET /menu/v4/stock/business-unit/{business_unit_id}/unpublished-changes
9484
+
9485
+ export interface GetMenuV4StockBusinessUnitUnpublishedChangesPath {
9486
+ business_unit_id: string;
9487
+ }
9488
+
9489
+ export interface GetMenuV4StockBusinessUnitUnpublishedChangesQuery {
9490
+ filter?: string;
9491
+ // If specified, only the selected fields will be returned
9492
+ select?: string[];
9493
+ // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
9494
+ relationships?: string[];
9495
+ // Number of records to load per page
9496
+ limit?: number;
9497
+ page?: number;
9498
+ // A field to sort the results based on
9499
+ sort_by?: string;
9500
+ sort_order?: 'DESC' | 'ASC';
9501
+ // How soft deleted records should be shown in the list
9502
+ soft_deleted?: 'include' | 'exclude' | 'only';
9503
+ // Graphql query string
9504
+ _query?: string;
9505
+ }
9506
+
9507
+ export interface GetMenuV4StockBusinessUnitUnpublishedChangesResponse {
9508
+ results: StockDTO[];
9509
+ meta?: ListResponseMetadataDTO;
9510
+ [index: string]: any;
9511
+ }
9512
+
9513
+ export interface GetMenuV4StockBusinessUnitUnpublishedChangesRequest
9514
+ extends BaseRequest,
9515
+ RequestQuery<GetMenuV4StockBusinessUnitUnpublishedChangesQuery>,
9516
+ GetMenuV4StockBusinessUnitUnpublishedChangesPath {}
9517
+
9438
9518
  // POST /menu/v4/stock/publish
9439
9519
 
9440
9520
  export interface PostMenuV4StockPublishBody {