@compassdigital/sdk.typescript 4.22.0 → 4.23.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.
@@ -512,6 +512,7 @@ export interface DraftItemDTO {
512
512
  brand_id?: string;
513
513
  line_route?: FilterFieldDTO;
514
514
  posid_segment?: FilterFieldDTO;
515
+ menu_works?: Record<string, any>;
515
516
  applied_diff_snapshot?: FilterFieldDTO;
516
517
  brand?: Record<string, any>;
517
518
  categories?: Record<string, any>[];
@@ -554,6 +555,7 @@ export interface DraftModifierGroupDTO {
554
555
  is_active?: boolean;
555
556
  limit?: number;
556
557
  brand_id?: string;
558
+ type?: "normal" | "limit_enabled" | "sizing_enabled";
557
559
  applied_diff_snapshot?: FilterFieldDTO;
558
560
  brand?: Record<string, any>;
559
561
  changes?: ModifierGroupChangeDTO[];
@@ -597,6 +599,7 @@ export interface DraftModifierDTO {
597
599
  posid_segment?: FilterFieldDTO;
598
600
  brand_id?: string;
599
601
  sizing?: FilterFieldDTO[];
602
+ menu_works?: MenuWorksDTO;
600
603
  applied_diff_snapshot?: FilterFieldDTO;
601
604
  brand?: Record<string, any>;
602
605
  changes?: ModifierChangeDTO[];
@@ -637,6 +640,16 @@ export interface FileAttachmentsDTO {
637
640
  id?: Record<string, any>;
638
641
  [index: string]: any;
639
642
  }
643
+ export interface MenuWorksDTO {
644
+ MRN?: FilterFieldDTO;
645
+ unit_id?: FilterFieldDTO;
646
+ GTIN?: FilterFieldDTO;
647
+ cost?: number;
648
+ ingredients?: FilterFieldDTO[];
649
+ smart_tags?: FilterFieldDTO[];
650
+ id?: Record<string, any>;
651
+ [index: string]: any;
652
+ }
640
653
  export interface ModifierGroupToModifierRelationshipChangeDTO {
641
654
  id?: string;
642
655
  insert?: FilterFieldDTO;
@@ -758,6 +771,7 @@ export interface DraftModifierDraftModifierDTO {
758
771
  reporting?: ReportingMetadataDTO;
759
772
  weight?: WeightDTO;
760
773
  attachments?: FileAttachmentsDTO;
774
+ menu_works?: MenuWorksDTO;
761
775
  permissions?: FilterFieldDTO;
762
776
  [index: string]: any;
763
777
  }
@@ -771,6 +785,7 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
771
785
  is_active?: FilterFieldDTO;
772
786
  limit?: FilterFieldDTO;
773
787
  brand_id?: FilterFieldDTO;
788
+ type?: FilterFieldDTO;
774
789
  id?: FilterFieldDTO;
775
790
  version?: FilterFieldDTO;
776
791
  created_at?: FilterFieldDTO;
@@ -817,6 +832,7 @@ export interface DraftItemDraftItemDTO {
817
832
  reporting?: ReportingMetadataDTO;
818
833
  attachments?: FileAttachmentsDTO;
819
834
  weight?: WeightDTO;
835
+ menu_works?: MenuWorksDTO;
820
836
  permissions?: FilterFieldDTO;
821
837
  [index: string]: any;
822
838
  }
@@ -953,6 +969,7 @@ export interface PublishedModifierGroupDTO {
953
969
  is_active?: boolean;
954
970
  limit?: number;
955
971
  brand_id?: string;
972
+ type?: "normal" | "limit_enabled" | "sizing_enabled";
956
973
  permissions?: Record<string, any>;
957
974
  [index: string]: any;
958
975
  }
@@ -1147,6 +1164,7 @@ export interface DraftItemEntityDTO {
1147
1164
  brand_id: string;
1148
1165
  line_route?: string;
1149
1166
  posid_segment?: string;
1167
+ menu_works?: MenuWorksDTO;
1150
1168
  applied_diff_snapshot?: Record<string, any>;
1151
1169
  version?: number;
1152
1170
  brand?: DraftBrandDTO;
@@ -1186,6 +1204,7 @@ export interface PublishedItemPublishedItemDTO {
1186
1204
  reporting?: ReportingMetadataDTO;
1187
1205
  attachments?: FileAttachmentsDTO;
1188
1206
  weight?: WeightDTO;
1207
+ menu_works?: MenuWorksDTO;
1189
1208
  permissions?: FilterFieldDTO;
1190
1209
  [index: string]: any;
1191
1210
  }
@@ -1239,6 +1258,7 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
1239
1258
  is_active?: FilterFieldDTO;
1240
1259
  limit?: FilterFieldDTO;
1241
1260
  brand_id?: FilterFieldDTO;
1261
+ type?: FilterFieldDTO;
1242
1262
  id?: FilterFieldDTO;
1243
1263
  version?: FilterFieldDTO;
1244
1264
  created_at?: FilterFieldDTO;
@@ -1314,6 +1334,7 @@ export interface DraftModifierEntityDTO {
1314
1334
  posid_segment?: string;
1315
1335
  brand_id: string;
1316
1336
  sizing?: Record<string, any>[];
1337
+ menu_works?: MenuWorksDTO;
1317
1338
  applied_diff_snapshot?: Record<string, any>;
1318
1339
  version?: number;
1319
1340
  brand?: DraftBrandDTO;
@@ -1349,6 +1370,7 @@ export interface PublishedModifierPublishedModifierDTO {
1349
1370
  reporting?: ReportingMetadataDTO;
1350
1371
  weight?: WeightDTO;
1351
1372
  attachments?: FileAttachmentsDTO;
1373
+ menu_works?: MenuWorksDTO;
1352
1374
  permissions?: FilterFieldDTO;
1353
1375
  [index: string]: any;
1354
1376
  }
@@ -2642,47 +2664,6 @@ export interface GetMenuV3BrandItemsResponse {
2642
2664
  }
2643
2665
  export interface GetMenuV3BrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandItemsQuery>, GetMenuV3BrandItemsPath {
2644
2666
  }
2645
- export interface PostMenuV3BrandLocalPath {
2646
- id: string;
2647
- }
2648
- export interface PostMenuV3BrandLocalQuery {
2649
- nocache?: boolean;
2650
- }
2651
- export interface PostMenuV3BrandLocalResponse {
2652
- parent?: DraftBrandDTO;
2653
- children?: DraftBrandDTO[];
2654
- menus?: DraftMenuDTO[];
2655
- categories?: DraftCategoryDTO[];
2656
- category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
2657
- items?: DraftItemDTO[];
2658
- item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
2659
- modifier_groups?: DraftModifierGroupDTO[];
2660
- modifier_group_to_modifier_relationships?: DraftModifierGroupToModifierRelationshipDTO[];
2661
- modifiers?: DraftModifierDTO[];
2662
- statuses?: BrandStatusDTO[];
2663
- id?: string;
2664
- created_at?: string;
2665
- updated_at?: string;
2666
- deleted_at?: string;
2667
- name: string;
2668
- description?: string;
2669
- is_active?: boolean;
2670
- type?: "global" | "local";
2671
- parent_id?: string;
2672
- local_menu_group_id?: string;
2673
- global_menu_group_id?: string;
2674
- posid_segment?: string;
2675
- version?: number;
2676
- changes?: BrandChangeDTO[];
2677
- local_menu_group?: LocalMenuGroupDTO;
2678
- global_menu_group?: GlobalMenuGroupDTO;
2679
- vendor_metadata?: VendorMetadataDTO[];
2680
- attachments?: FileAttachmentsDTO;
2681
- permissions?: Record<string, any>;
2682
- [index: string]: any;
2683
- }
2684
- export interface PostMenuV3BrandLocalRequest extends BaseRequest, RequestQuery<PostMenuV3BrandLocalQuery>, PostMenuV3BrandLocalPath {
2685
- }
2686
2667
  export interface PostMenuV3DraftMenuBody {
2687
2668
  parent?: DraftMenuDTO;
2688
2669
  children?: DraftMenuDTO[];
@@ -3241,6 +3222,7 @@ export interface PostMenuV3DraftItemBody {
3241
3222
  brand_id: string;
3242
3223
  line_route?: string;
3243
3224
  posid_segment?: string;
3225
+ menu_works?: MenuWorksDTO;
3244
3226
  id?: Record<string, any>;
3245
3227
  applied_diff_snapshot?: Record<string, any>;
3246
3228
  brand?: DraftBrandDTO;
@@ -3290,6 +3272,7 @@ export interface PatchMenuV3DraftItemBody {
3290
3272
  brand_id?: string;
3291
3273
  line_route?: string;
3292
3274
  posid_segment?: string;
3275
+ menu_works?: MenuWorksDTO;
3293
3276
  applied_diff_snapshot?: Record<string, any>;
3294
3277
  version?: number;
3295
3278
  brand?: DraftBrandDTO;
@@ -3350,6 +3333,7 @@ export type PostMenuV3DraftItemsBody = {
3350
3333
  brand_id: string;
3351
3334
  line_route?: string;
3352
3335
  posid_segment?: string;
3336
+ menu_works?: MenuWorksDTO;
3353
3337
  id?: Record<string, any>;
3354
3338
  applied_diff_snapshot?: Record<string, any>;
3355
3339
  brand?: DraftBrandDTO;
@@ -3414,6 +3398,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3414
3398
  brand_id?: string;
3415
3399
  line_route?: string;
3416
3400
  posid_segment?: string;
3401
+ menu_works?: MenuWorksDTO;
3417
3402
  applied_diff_snapshot?: Record<string, any>;
3418
3403
  brand?: DraftBrandDTO;
3419
3404
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3706,6 +3691,7 @@ export interface PostMenuV3DraftModifierGroupBody {
3706
3691
  is_active?: boolean;
3707
3692
  limit?: number;
3708
3693
  brand_id: string;
3694
+ type?: "normal" | "limit_enabled" | "sizing_enabled";
3709
3695
  id?: Record<string, any>;
3710
3696
  applied_diff_snapshot?: Record<string, any>;
3711
3697
  brand?: DraftBrandDTO;
@@ -3746,6 +3732,7 @@ export interface PatchMenuV3DraftModifierGroupBody {
3746
3732
  is_active?: boolean;
3747
3733
  limit?: number;
3748
3734
  brand_id?: string;
3735
+ type?: "normal" | "limit_enabled" | "sizing_enabled";
3749
3736
  applied_diff_snapshot?: Record<string, any>;
3750
3737
  version?: number;
3751
3738
  brand?: DraftBrandDTO;
@@ -3797,6 +3784,7 @@ export type PostMenuV3DraftModifierGroupsBody = {
3797
3784
  is_active?: boolean;
3798
3785
  limit?: number;
3799
3786
  brand_id: string;
3787
+ type?: "normal" | "limit_enabled" | "sizing_enabled";
3800
3788
  id?: Record<string, any>;
3801
3789
  applied_diff_snapshot?: Record<string, any>;
3802
3790
  brand?: DraftBrandDTO;
@@ -3845,6 +3833,7 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
3845
3833
  is_active?: boolean;
3846
3834
  limit?: number;
3847
3835
  brand_id: string;
3836
+ type?: "normal" | "limit_enabled" | "sizing_enabled";
3848
3837
  applied_diff_snapshot?: Record<string, any>;
3849
3838
  version?: number;
3850
3839
  brand?: DraftBrandDTO;
@@ -4087,6 +4076,7 @@ export interface PostMenuV3DraftModifierBody {
4087
4076
  posid_segment?: string;
4088
4077
  brand_id: string;
4089
4078
  sizing?: Record<string, any>[];
4079
+ menu_works?: MenuWorksDTO;
4090
4080
  id?: Record<string, any>;
4091
4081
  applied_diff_snapshot?: Record<string, any>;
4092
4082
  brand?: DraftBrandDTO;
@@ -4133,6 +4123,7 @@ export interface PatchMenuV3DraftModifierBody {
4133
4123
  posid_segment?: string;
4134
4124
  brand_id?: string;
4135
4125
  sizing?: Record<string, any>[];
4126
+ menu_works?: MenuWorksDTO;
4136
4127
  applied_diff_snapshot?: Record<string, any>;
4137
4128
  version?: number;
4138
4129
  brand?: DraftBrandDTO;
@@ -4190,6 +4181,7 @@ export type PostMenuV3DraftModifiersBody = {
4190
4181
  posid_segment?: string;
4191
4182
  brand_id: string;
4192
4183
  sizing?: Record<string, any>[];
4184
+ menu_works?: MenuWorksDTO;
4193
4185
  id?: Record<string, any>;
4194
4186
  applied_diff_snapshot?: Record<string, any>;
4195
4187
  brand?: DraftBrandDTO;
@@ -4239,6 +4231,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
4239
4231
  posid_segment?: string;
4240
4232
  brand_id?: string;
4241
4233
  sizing?: Record<string, any>[];
4234
+ menu_works?: MenuWorksDTO;
4242
4235
  applied_diff_snapshot?: Record<string, any>;
4243
4236
  brand?: DraftBrandDTO;
4244
4237
  changes?: ModifierChangeDTO[];