@compassdigital/sdk.typescript 3.75.0 → 3.77.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.
@@ -340,6 +340,11 @@ export interface NotFoundErrorDTO {
340
340
  message: string;
341
341
  [index: string]: any;
342
342
  }
343
+ export interface VersionMismatchErrorDTO {
344
+ number: number;
345
+ message: string;
346
+ [index: string]: any;
347
+ }
343
348
  export interface FilterFieldDTO {
344
349
  $equals?: string;
345
350
  $more_than?: string;
@@ -601,7 +606,7 @@ export interface FileAttachmentsDTO {
601
606
  [index: string]: any;
602
607
  }
603
608
  export interface WeightDTO {
604
- unit?: string;
609
+ unit?: FilterFieldDTO;
605
610
  amount?: FilterFieldDTO;
606
611
  id?: any;
607
612
  [index: string]: any;
@@ -623,6 +628,7 @@ export interface DraftModifierDTO {
623
628
  posid?: FilterFieldDTO;
624
629
  reporting?: any;
625
630
  brand_id?: string;
631
+ applied_diff_snapshot?: FilterFieldDTO;
626
632
  brand?: any;
627
633
  changes?: ModifierChangeDTO[];
628
634
  vendor_metadata?: VendorMetadataDTO[];
@@ -639,6 +645,7 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
639
645
  modifier_group_id?: string;
640
646
  brand_id?: FilterFieldDTO;
641
647
  sequence?: number;
648
+ applied_diff_snapshot?: FilterFieldDTO;
642
649
  modifier?: any;
643
650
  modifier_group?: DraftModifierGroupDTO;
644
651
  brand?: any;
@@ -660,6 +667,7 @@ export interface DraftModifierGroupDTO {
660
667
  max?: number;
661
668
  is_active?: boolean;
662
669
  brand_id?: string;
670
+ applied_diff_snapshot?: FilterFieldDTO;
663
671
  brand?: any;
664
672
  changes?: ModifierGroupChangeDTO[];
665
673
  vendor_metadata?: VendorMetadataDTO[];
@@ -675,6 +683,7 @@ export interface DraftItemToModifierGroupRelationshipDTO {
675
683
  item_id?: string;
676
684
  brand_id?: FilterFieldDTO;
677
685
  sequence?: number;
686
+ applied_diff_snapshot?: FilterFieldDTO;
678
687
  item?: DraftItemDTO;
679
688
  modifier_group?: any;
680
689
  brand?: any;
@@ -702,6 +711,7 @@ export interface DraftItemDTO {
702
711
  tax_tags?: FilterFieldDTO[];
703
712
  brand_id?: string;
704
713
  line_route?: FilterFieldDTO;
714
+ applied_diff_snapshot?: FilterFieldDTO;
705
715
  brand?: any;
706
716
  categories?: DraftCategoryToItemRelationshipDTO[];
707
717
  changes?: ItemChangeDTO[];
@@ -720,6 +730,7 @@ export interface DraftCategoryToItemRelationshipDTO {
720
730
  category_id?: string;
721
731
  brand_id?: FilterFieldDTO;
722
732
  sequence?: number;
733
+ applied_diff_snapshot?: FilterFieldDTO;
723
734
  category?: DraftCategoryDTO;
724
735
  item?: any;
725
736
  brand?: any;
@@ -739,6 +750,7 @@ export interface DraftCategoryDTO {
739
750
  is_active?: boolean;
740
751
  brand_id?: string;
741
752
  menu_id?: string;
753
+ applied_diff_snapshot?: FilterFieldDTO;
742
754
  menu?: DraftMenuDTO;
743
755
  items?: any[];
744
756
  brand?: any;
@@ -755,6 +767,7 @@ export interface DraftMenuDTO {
755
767
  parent_id?: string;
756
768
  name?: string;
757
769
  brand_id?: string;
770
+ applied_diff_snapshot?: FilterFieldDTO;
758
771
  brand?: any;
759
772
  changes?: MenuChangeDTO[];
760
773
  vendor_metadata?: VendorMetadataDTO[];
@@ -843,6 +856,7 @@ export interface BrandStatusDTO {
843
856
  [index: string]: any;
844
857
  }
845
858
  export interface DraftMenuDraftMenuDTO {
859
+ applied_diff_snapshot?: FilterFieldDTO;
846
860
  parent_id?: FilterFieldDTO;
847
861
  name?: FilterFieldDTO;
848
862
  brand_id?: FilterFieldDTO;
@@ -861,6 +875,7 @@ export interface DraftMenuDraftMenuDTO {
861
875
  [index: string]: any;
862
876
  }
863
877
  export interface DraftModifierDraftModifierDTO {
878
+ applied_diff_snapshot?: FilterFieldDTO;
864
879
  parent_id?: FilterFieldDTO;
865
880
  name?: FilterFieldDTO;
866
881
  label?: FilterFieldDTO;
@@ -889,6 +904,7 @@ export interface DraftModifierDraftModifierDTO {
889
904
  [index: string]: any;
890
905
  }
891
906
  export interface DraftModifierGroupDraftModifierGroupDTO {
907
+ applied_diff_snapshot?: FilterFieldDTO;
892
908
  parent_id?: FilterFieldDTO;
893
909
  name?: FilterFieldDTO;
894
910
  label?: FilterFieldDTO;
@@ -912,6 +928,7 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
912
928
  [index: string]: any;
913
929
  }
914
930
  export interface DraftItemDraftItemDTO {
931
+ applied_diff_snapshot?: FilterFieldDTO;
915
932
  parent_id?: FilterFieldDTO;
916
933
  name?: FilterFieldDTO;
917
934
  label?: FilterFieldDTO;
@@ -961,6 +978,7 @@ export interface GlobalDiffGlobalDiffDTO {
961
978
  entity_type?: FilterFieldDTO;
962
979
  local_id?: FilterFieldDTO;
963
980
  changes?: FilterFieldDTO;
981
+ local_changes?: FilterFieldDTO;
964
982
  local_snapshot?: FilterFieldDTO;
965
983
  global_id?: FilterFieldDTO;
966
984
  global_snapshot?: FilterFieldDTO;
@@ -987,6 +1005,7 @@ export interface DiffDTO {
987
1005
  entity_type?: string;
988
1006
  local_id?: string;
989
1007
  changes?: any;
1008
+ local_changes?: any;
990
1009
  local_snapshot?: any;
991
1010
  global_id?: string;
992
1011
  global_snapshot?: any;
@@ -998,6 +1017,11 @@ export interface DiffDTO {
998
1017
  permissions?: any;
999
1018
  [index: string]: any;
1000
1019
  }
1020
+ export interface ApplyDiffDTO {
1021
+ overwrite?: boolean;
1022
+ id: string;
1023
+ [index: string]: any;
1024
+ }
1001
1025
  export interface PublishedBrandPublishedBrandDTO {
1002
1026
  name?: FilterFieldDTO;
1003
1027
  description?: FilterFieldDTO;
@@ -1029,6 +1053,7 @@ export interface PublishedBrandPublishedBrandDTO {
1029
1053
  [index: string]: any;
1030
1054
  }
1031
1055
  export interface DraftCategoryDraftCategoryDTO {
1056
+ applied_diff_snapshot?: FilterFieldDTO;
1032
1057
  parent_id?: FilterFieldDTO;
1033
1058
  name?: FilterFieldDTO;
1034
1059
  label?: FilterFieldDTO;
@@ -1089,6 +1114,7 @@ export interface PublishedCategoryPublishedCategoryDTO {
1089
1114
  [index: string]: any;
1090
1115
  }
1091
1116
  export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
1117
+ applied_diff_snapshot?: FilterFieldDTO;
1092
1118
  parent_id?: FilterFieldDTO;
1093
1119
  deleted_at?: FilterFieldDTO;
1094
1120
  item_id?: FilterFieldDTO;
@@ -1128,6 +1154,39 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
1128
1154
  permissions?: FilterFieldDTO;
1129
1155
  [index: string]: any;
1130
1156
  }
1157
+ export interface DraftItemEntityDTO {
1158
+ parent?: DraftItemDTO;
1159
+ children?: DraftItemDTO[];
1160
+ posid_segment?: POSIDSegmentDTO;
1161
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1162
+ id?: string;
1163
+ created_at?: string;
1164
+ updated_at?: string;
1165
+ deleted_at?: string;
1166
+ parent_id?: string;
1167
+ name: string;
1168
+ label?: string;
1169
+ description?: string;
1170
+ reporting: ReportingMetadataDTO;
1171
+ price: number;
1172
+ barcode?: string;
1173
+ calories?: number;
1174
+ is_active?: boolean;
1175
+ posid?: string;
1176
+ tax_tags?: any[];
1177
+ brand_id: string;
1178
+ line_route?: string;
1179
+ applied_diff_snapshot?: any;
1180
+ version?: number;
1181
+ brand?: DraftBrandDTO;
1182
+ categories?: DraftCategoryToItemRelationshipDTO[];
1183
+ changes?: ItemChangeDTO[];
1184
+ vendor_metadata?: VendorMetadataDTO[];
1185
+ attachments?: FileAttachmentsDTO;
1186
+ weight?: WeightDTO;
1187
+ permissions?: any;
1188
+ [index: string]: any;
1189
+ }
1131
1190
  export interface PublishedItemPublishedItemDTO {
1132
1191
  parent_id?: FilterFieldDTO;
1133
1192
  name?: FilterFieldDTO;
@@ -1159,6 +1218,7 @@ export interface PublishedItemPublishedItemDTO {
1159
1218
  [index: string]: any;
1160
1219
  }
1161
1220
  export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
1221
+ applied_diff_snapshot?: FilterFieldDTO;
1162
1222
  parent_id?: FilterFieldDTO;
1163
1223
  deleted_at?: FilterFieldDTO;
1164
1224
  modifier_group_id?: FilterFieldDTO;
@@ -1220,6 +1280,7 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
1220
1280
  [index: string]: any;
1221
1281
  }
1222
1282
  export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
1283
+ applied_diff_snapshot?: FilterFieldDTO;
1223
1284
  parent_id?: FilterFieldDTO;
1224
1285
  deleted_at?: FilterFieldDTO;
1225
1286
  modifier_id?: FilterFieldDTO;
@@ -1259,6 +1320,35 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
1259
1320
  permissions?: FilterFieldDTO;
1260
1321
  [index: string]: any;
1261
1322
  }
1323
+ export interface DraftModifierEntityDTO {
1324
+ parent?: DraftModifierDTO;
1325
+ children?: DraftModifierDTO[];
1326
+ posid_segment?: POSIDSegmentDTO;
1327
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1328
+ id?: string;
1329
+ created_at?: string;
1330
+ updated_at?: string;
1331
+ deleted_at?: string;
1332
+ parent_id?: string;
1333
+ name: string;
1334
+ label?: string;
1335
+ description?: string;
1336
+ price: number;
1337
+ calories?: number;
1338
+ tax_tags?: any[];
1339
+ is_active?: boolean;
1340
+ posid?: string;
1341
+ reporting: ReportingMetadataDTO;
1342
+ brand_id: string;
1343
+ applied_diff_snapshot?: any;
1344
+ version?: number;
1345
+ brand?: DraftBrandDTO;
1346
+ changes?: ModifierChangeDTO[];
1347
+ vendor_metadata?: VendorMetadataDTO[];
1348
+ weight?: WeightDTO;
1349
+ permissions?: any;
1350
+ [index: string]: any;
1351
+ }
1262
1352
  export interface PublishedModifierPublishedModifierDTO {
1263
1353
  parent_id?: FilterFieldDTO;
1264
1354
  name?: FilterFieldDTO;
@@ -1294,6 +1384,7 @@ export interface GlobalDiffDTO {
1294
1384
  entity_type?: string;
1295
1385
  local_id?: string;
1296
1386
  changes?: any;
1387
+ local_changes?: any;
1297
1388
  local_snapshot?: any;
1298
1389
  global_id?: string;
1299
1390
  global_snapshot?: any;
@@ -1627,6 +1718,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
1627
1718
  draft_brands?: DraftBrandDTO[];
1628
1719
  published_brands?: PublishedBrandDTO[];
1629
1720
  id?: string;
1721
+ version?: number;
1630
1722
  vendor_metadata?: VendorMetadataDTO[];
1631
1723
  permissions?: any;
1632
1724
  [index: string]: any;
@@ -1837,6 +1929,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
1837
1929
  published_brands?: PublishedBrandDTO[];
1838
1930
  posid_segment?: POSIDSegmentDTO;
1839
1931
  id?: string;
1932
+ version?: number;
1840
1933
  vendor_metadata?: VendorMetadataDTO[];
1841
1934
  permissions?: any;
1842
1935
  [index: string]: any;
@@ -2027,6 +2120,7 @@ export interface PatchMenuV3DraftBrandBody {
2027
2120
  parent_id?: string;
2028
2121
  local_menu_group_id?: string;
2029
2122
  global_menu_group_id?: string;
2123
+ version?: number;
2030
2124
  changes?: BrandChangeDTO[];
2031
2125
  local_menu_group?: LocalMenuGroupDTO;
2032
2126
  global_menu_group?: GlobalMenuGroupDTO;
@@ -2257,7 +2351,7 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyPath {
2257
2351
  id: string;
2258
2352
  }
2259
2353
  export interface PostMenuV3DraftBrandGlobalDiffsApplyQuery {
2260
- "body.diff_ids"?: any[];
2354
+ "body.diffs"?: ApplyDiffDTO[];
2261
2355
  }
2262
2356
  export interface PostMenuV3DraftBrandGlobalDiffsApplyResponse {
2263
2357
  status?: string;
@@ -2347,6 +2441,7 @@ export interface PatchMenuV3BrandBody {
2347
2441
  parent_id?: string;
2348
2442
  local_menu_group_id?: string;
2349
2443
  global_menu_group_id?: string;
2444
+ version?: number;
2350
2445
  local_menu_group?: LocalMenuGroupDTO;
2351
2446
  global_menu_group?: GlobalMenuGroupDTO;
2352
2447
  attachments?: FileAttachmentsDTO;
@@ -2570,6 +2665,7 @@ export interface PostMenuV3DraftMenuBody {
2570
2665
  name: string;
2571
2666
  brand_id: string;
2572
2667
  id?: any;
2668
+ applied_diff_snapshot?: any;
2573
2669
  brand?: DraftBrandDTO;
2574
2670
  changes?: MenuChangeDTO[];
2575
2671
  vendor_metadata?: VendorMetadataDTO[];
@@ -2602,6 +2698,8 @@ export interface PatchMenuV3DraftMenuBody {
2602
2698
  parent_id?: string;
2603
2699
  name?: string;
2604
2700
  brand_id?: string;
2701
+ applied_diff_snapshot?: any;
2702
+ version?: number;
2605
2703
  brand?: DraftBrandDTO;
2606
2704
  changes?: MenuChangeDTO[];
2607
2705
  vendor_metadata?: VendorMetadataDTO[];
@@ -2644,6 +2742,7 @@ export type PostMenuV3DraftMenusBody = {
2644
2742
  name: string;
2645
2743
  brand_id: string;
2646
2744
  id?: any;
2745
+ applied_diff_snapshot?: any;
2647
2746
  brand?: DraftBrandDTO;
2648
2747
  changes?: MenuChangeDTO[];
2649
2748
  vendor_metadata?: VendorMetadataDTO[];
@@ -2772,6 +2871,7 @@ export interface PostMenuV3DraftCategoryBody {
2772
2871
  brand_id: string;
2773
2872
  menu_id: string;
2774
2873
  id?: any;
2874
+ applied_diff_snapshot?: any;
2775
2875
  menu?: DraftMenuDTO;
2776
2876
  items?: DraftCategoryToItemRelationshipDTO[];
2777
2877
  brand?: DraftBrandDTO;
@@ -2809,6 +2909,8 @@ export interface PatchMenuV3DraftCategoryBody {
2809
2909
  is_active?: boolean;
2810
2910
  brand_id?: string;
2811
2911
  menu_id?: string;
2912
+ applied_diff_snapshot?: any;
2913
+ version?: number;
2812
2914
  menu?: DraftMenuDTO;
2813
2915
  items?: DraftCategoryToItemRelationshipDTO[];
2814
2916
  brand?: DraftBrandDTO;
@@ -2848,6 +2950,7 @@ export type PostMenuV3DraftCategoriesBody = {
2848
2950
  brand_id: string;
2849
2951
  menu_id: string;
2850
2952
  id?: any;
2953
+ applied_diff_snapshot?: any;
2851
2954
  menu?: DraftMenuDTO;
2852
2955
  items?: DraftCategoryToItemRelationshipDTO[];
2853
2956
  brand?: DraftBrandDTO;
@@ -2893,9 +2996,10 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
2893
2996
  parent_id?: string;
2894
2997
  item_id: string;
2895
2998
  category_id: string;
2896
- brand_id?: string;
2999
+ brand_id: string;
2897
3000
  sequence?: number;
2898
3001
  id?: any;
3002
+ applied_diff_snapshot?: any;
2899
3003
  category?: DraftCategoryDTO;
2900
3004
  item?: DraftItemDTO;
2901
3005
  brand?: DraftBrandDTO;
@@ -2931,6 +3035,8 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
2931
3035
  category_id?: string;
2932
3036
  brand_id?: string;
2933
3037
  sequence?: number;
3038
+ applied_diff_snapshot?: any;
3039
+ version?: number;
2934
3040
  category?: DraftCategoryDTO;
2935
3041
  item?: DraftItemDTO;
2936
3042
  brand?: DraftBrandDTO;
@@ -2973,9 +3079,10 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
2973
3079
  parent_id?: string;
2974
3080
  item_id: string;
2975
3081
  category_id: string;
2976
- brand_id?: string;
3082
+ brand_id: string;
2977
3083
  sequence?: number;
2978
3084
  id?: any;
3085
+ applied_diff_snapshot?: any;
2979
3086
  category?: DraftCategoryDTO;
2980
3087
  item?: DraftItemDTO;
2981
3088
  brand?: DraftBrandDTO;
@@ -3063,6 +3170,7 @@ export interface PostMenuV3DraftItemBody {
3063
3170
  brand_id: string;
3064
3171
  line_route?: string;
3065
3172
  id?: any;
3173
+ applied_diff_snapshot?: any;
3066
3174
  brand?: DraftBrandDTO;
3067
3175
  categories?: DraftCategoryToItemRelationshipDTO[];
3068
3176
  changes?: ItemChangeDTO[];
@@ -3109,6 +3217,8 @@ export interface PatchMenuV3DraftItemBody {
3109
3217
  tax_tags?: any[];
3110
3218
  brand_id?: string;
3111
3219
  line_route?: string;
3220
+ applied_diff_snapshot?: any;
3221
+ version?: number;
3112
3222
  brand?: DraftBrandDTO;
3113
3223
  categories?: DraftCategoryToItemRelationshipDTO[];
3114
3224
  changes?: ItemChangeDTO[];
@@ -3165,6 +3275,7 @@ export type PostMenuV3DraftItemsBody = {
3165
3275
  brand_id: string;
3166
3276
  line_route?: string;
3167
3277
  id?: any;
3278
+ applied_diff_snapshot?: any;
3168
3279
  brand?: DraftBrandDTO;
3169
3280
  categories?: DraftCategoryToItemRelationshipDTO[];
3170
3281
  changes?: ItemChangeDTO[];
@@ -3212,6 +3323,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3212
3323
  tax_tags?: any[];
3213
3324
  brand_id?: string;
3214
3325
  line_route?: string;
3326
+ applied_diff_snapshot?: any;
3215
3327
  brand?: DraftBrandDTO;
3216
3328
  categories?: DraftCategoryToItemRelationshipDTO[];
3217
3329
  changes?: ItemChangeDTO[];
@@ -3222,8 +3334,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3222
3334
  [index: string]: any;
3223
3335
  }
3224
3336
  export interface PatchMenuV3DraftItemsBulkUpdateResponse {
3225
- results: any[];
3226
- [index: string]: any;
3337
+ results?: DraftItemEntityDTO[];
3227
3338
  }
3228
3339
  export interface PatchMenuV3DraftItemsBulkUpdateRequest extends BaseRequest {
3229
3340
  body: PatchMenuV3DraftItemsBulkUpdateBody;
@@ -3245,8 +3356,7 @@ export interface PostMenuV3ItemsImportQuery {
3245
3356
  "body.data"?: string;
3246
3357
  }
3247
3358
  export interface PostMenuV3ItemsImportResponse {
3248
- results: any[];
3249
- [index: string]: any;
3359
+ results?: DraftItemEntityDTO[];
3250
3360
  }
3251
3361
  export interface PostMenuV3ItemsImportRequest extends BaseRequest, RequestQuery<PostMenuV3ItemsImportQuery> {
3252
3362
  }
@@ -3298,9 +3408,10 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
3298
3408
  parent_id?: string;
3299
3409
  modifier_group_id: string;
3300
3410
  item_id: string;
3301
- brand_id?: string;
3411
+ brand_id: string;
3302
3412
  sequence?: number;
3303
3413
  id?: any;
3414
+ applied_diff_snapshot?: any;
3304
3415
  item?: DraftItemDTO;
3305
3416
  modifier_group?: DraftModifierGroupDTO;
3306
3417
  brand?: DraftBrandDTO;
@@ -3336,6 +3447,8 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
3336
3447
  item_id?: string;
3337
3448
  brand_id?: string;
3338
3449
  sequence?: number;
3450
+ applied_diff_snapshot?: any;
3451
+ version?: number;
3339
3452
  item?: DraftItemDTO;
3340
3453
  modifier_group?: DraftModifierGroupDTO;
3341
3454
  brand?: DraftBrandDTO;
@@ -3378,9 +3491,10 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
3378
3491
  parent_id?: string;
3379
3492
  modifier_group_id: string;
3380
3493
  item_id: string;
3381
- brand_id?: string;
3494
+ brand_id: string;
3382
3495
  sequence?: number;
3383
3496
  id?: any;
3497
+ applied_diff_snapshot?: any;
3384
3498
  item?: DraftItemDTO;
3385
3499
  modifier_group?: DraftModifierGroupDTO;
3386
3500
  brand?: DraftBrandDTO;
@@ -3462,6 +3576,7 @@ export interface PostMenuV3DraftModifierGroupBody {
3462
3576
  is_active?: boolean;
3463
3577
  brand_id: string;
3464
3578
  id?: any;
3579
+ applied_diff_snapshot?: any;
3465
3580
  brand?: DraftBrandDTO;
3466
3581
  changes?: ModifierGroupChangeDTO[];
3467
3582
  vendor_metadata?: VendorMetadataDTO[];
@@ -3499,6 +3614,8 @@ export interface PatchMenuV3DraftModifierGroupBody {
3499
3614
  max?: number;
3500
3615
  is_active?: boolean;
3501
3616
  brand_id?: string;
3617
+ applied_diff_snapshot?: any;
3618
+ version?: number;
3502
3619
  brand?: DraftBrandDTO;
3503
3620
  changes?: ModifierGroupChangeDTO[];
3504
3621
  vendor_metadata?: VendorMetadataDTO[];
@@ -3546,6 +3663,7 @@ export type PostMenuV3DraftModifierGroupsBody = {
3546
3663
  is_active?: boolean;
3547
3664
  brand_id: string;
3548
3665
  id?: any;
3666
+ applied_diff_snapshot?: any;
3549
3667
  brand?: DraftBrandDTO;
3550
3668
  changes?: ModifierGroupChangeDTO[];
3551
3669
  vendor_metadata?: VendorMetadataDTO[];
@@ -3618,9 +3736,10 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
3618
3736
  parent_id?: string;
3619
3737
  modifier_id: string;
3620
3738
  modifier_group_id: string;
3621
- brand_id?: string;
3739
+ brand_id: string;
3622
3740
  sequence?: number;
3623
3741
  id?: any;
3742
+ applied_diff_snapshot?: any;
3624
3743
  modifier?: DraftModifierDTO;
3625
3744
  modifier_group?: DraftModifierGroupDTO;
3626
3745
  brand?: DraftBrandDTO;
@@ -3656,6 +3775,8 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
3656
3775
  modifier_group_id?: string;
3657
3776
  brand_id?: string;
3658
3777
  sequence?: number;
3778
+ applied_diff_snapshot?: any;
3779
+ version?: number;
3659
3780
  modifier?: DraftModifierDTO;
3660
3781
  modifier_group?: DraftModifierGroupDTO;
3661
3782
  brand?: DraftBrandDTO;
@@ -3698,9 +3819,10 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
3698
3819
  parent_id?: string;
3699
3820
  modifier_id: string;
3700
3821
  modifier_group_id: string;
3701
- brand_id?: string;
3822
+ brand_id: string;
3702
3823
  sequence?: number;
3703
3824
  id?: any;
3825
+ applied_diff_snapshot?: any;
3704
3826
  modifier?: DraftModifierDTO;
3705
3827
  modifier_group?: DraftModifierGroupDTO;
3706
3828
  brand?: DraftBrandDTO;
@@ -3786,6 +3908,7 @@ export interface PostMenuV3DraftModifierBody {
3786
3908
  reporting: ReportingMetadataDTO;
3787
3909
  brand_id: string;
3788
3910
  id?: any;
3911
+ applied_diff_snapshot?: any;
3789
3912
  brand?: DraftBrandDTO;
3790
3913
  changes?: ModifierChangeDTO[];
3791
3914
  vendor_metadata?: VendorMetadataDTO[];
@@ -3828,6 +3951,8 @@ export interface PatchMenuV3DraftModifierBody {
3828
3951
  posid?: string;
3829
3952
  reporting?: ReportingMetadataDTO;
3830
3953
  brand_id?: string;
3954
+ applied_diff_snapshot?: any;
3955
+ version?: number;
3831
3956
  brand?: DraftBrandDTO;
3832
3957
  changes?: ModifierChangeDTO[];
3833
3958
  vendor_metadata?: VendorMetadataDTO[];
@@ -3880,6 +4005,7 @@ export type PostMenuV3DraftModifiersBody = {
3880
4005
  reporting: ReportingMetadataDTO;
3881
4006
  brand_id: string;
3882
4007
  id?: any;
4008
+ applied_diff_snapshot?: any;
3883
4009
  brand?: DraftBrandDTO;
3884
4010
  changes?: ModifierChangeDTO[];
3885
4011
  vendor_metadata?: VendorMetadataDTO[];
@@ -3923,6 +4049,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
3923
4049
  posid?: string;
3924
4050
  reporting?: ReportingMetadataDTO;
3925
4051
  brand_id?: string;
4052
+ applied_diff_snapshot?: any;
3926
4053
  brand?: DraftBrandDTO;
3927
4054
  changes?: ModifierChangeDTO[];
3928
4055
  vendor_metadata?: VendorMetadataDTO[];
@@ -3931,8 +4058,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
3931
4058
  [index: string]: any;
3932
4059
  }
3933
4060
  export interface PatchMenuV3DraftModifiersBulkUpdateResponse {
3934
- results: any[];
3935
- [index: string]: any;
4061
+ results?: DraftModifierEntityDTO[];
3936
4062
  }
3937
4063
  export interface PatchMenuV3DraftModifiersBulkUpdateRequest extends BaseRequest {
3938
4064
  body: PatchMenuV3DraftModifiersBulkUpdateBody;
@@ -4005,6 +4131,7 @@ export interface GetMenuV3GlobalDiffResponse {
4005
4131
  entity_type?: string;
4006
4132
  local_id?: string;
4007
4133
  changes?: any;
4134
+ local_changes?: any;
4008
4135
  local_snapshot?: any;
4009
4136
  global_id?: string;
4010
4137
  global_snapshot?: any;