@compassdigital/sdk.typescript 4.198.0 → 4.200.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/lib/index.d.ts +10 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +47 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +24 -0
- package/src/interface/menu.ts +56 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -632,6 +632,7 @@ export interface DraftItemDTO {
|
|
|
632
632
|
name?: string;
|
|
633
633
|
name_on_receipt?: string;
|
|
634
634
|
name_on_kds?: string;
|
|
635
|
+
name_on_pos?: string;
|
|
635
636
|
label?: string;
|
|
636
637
|
description?: string;
|
|
637
638
|
reporting?: Record<string, any>;
|
|
@@ -752,6 +753,7 @@ export interface DraftModifierDTO {
|
|
|
752
753
|
name?: string;
|
|
753
754
|
name_on_receipt?: string;
|
|
754
755
|
name_on_kds?: string;
|
|
756
|
+
name_on_pos?: string;
|
|
755
757
|
label?: string;
|
|
756
758
|
description?: string;
|
|
757
759
|
price?: number;
|
|
@@ -1155,6 +1157,7 @@ export interface PublishedItemDTO {
|
|
|
1155
1157
|
name?: string;
|
|
1156
1158
|
name_on_receipt?: string;
|
|
1157
1159
|
name_on_kds?: string;
|
|
1160
|
+
name_on_pos?: string;
|
|
1158
1161
|
label?: string;
|
|
1159
1162
|
description?: string;
|
|
1160
1163
|
price?: number;
|
|
@@ -1239,6 +1242,7 @@ export interface PublishedModifierDTO {
|
|
|
1239
1242
|
name?: string;
|
|
1240
1243
|
name_on_receipt?: string;
|
|
1241
1244
|
name_on_kds?: string;
|
|
1245
|
+
name_on_pos?: string;
|
|
1242
1246
|
label?: string;
|
|
1243
1247
|
description?: string;
|
|
1244
1248
|
price?: number;
|
|
@@ -1489,6 +1493,7 @@ export interface DraftItemEntityDTO {
|
|
|
1489
1493
|
name: string;
|
|
1490
1494
|
name_on_receipt?: string;
|
|
1491
1495
|
name_on_kds?: string;
|
|
1496
|
+
name_on_pos?: string;
|
|
1492
1497
|
label?: string;
|
|
1493
1498
|
description?: string;
|
|
1494
1499
|
reporting: ReportingMetadataDTO;
|
|
@@ -1539,6 +1544,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1539
1544
|
name: string;
|
|
1540
1545
|
name_on_receipt?: string;
|
|
1541
1546
|
name_on_kds?: string;
|
|
1547
|
+
name_on_pos?: string;
|
|
1542
1548
|
label?: string;
|
|
1543
1549
|
description?: string;
|
|
1544
1550
|
price: number;
|
|
@@ -2625,6 +2631,19 @@ export interface GetMenuV3DraftBrandAuditsResponse {
|
|
|
2625
2631
|
}
|
|
2626
2632
|
export interface GetMenuV3DraftBrandAuditsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandAuditsQuery>, GetMenuV3DraftBrandAuditsPath {
|
|
2627
2633
|
}
|
|
2634
|
+
export interface GetMenuV3DraftBrandAuditsUsersPath {
|
|
2635
|
+
id: string;
|
|
2636
|
+
}
|
|
2637
|
+
export interface GetMenuV3DraftBrandAuditsUsersQuery {
|
|
2638
|
+
date_from?: string;
|
|
2639
|
+
date_to?: string;
|
|
2640
|
+
_query?: string;
|
|
2641
|
+
}
|
|
2642
|
+
export interface GetMenuV3DraftBrandAuditsUsersResponse {
|
|
2643
|
+
users?: string[];
|
|
2644
|
+
}
|
|
2645
|
+
export interface GetMenuV3DraftBrandAuditsUsersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandAuditsUsersQuery>, GetMenuV3DraftBrandAuditsUsersPath {
|
|
2646
|
+
}
|
|
2628
2647
|
export interface GetMenuV3DraftBrandMenusPath {
|
|
2629
2648
|
id: string;
|
|
2630
2649
|
}
|
|
@@ -3844,6 +3863,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3844
3863
|
name: string;
|
|
3845
3864
|
name_on_receipt?: string;
|
|
3846
3865
|
name_on_kds?: string;
|
|
3866
|
+
name_on_pos?: string;
|
|
3847
3867
|
label?: string;
|
|
3848
3868
|
description?: string;
|
|
3849
3869
|
reporting: ReportingMetadataDTO;
|
|
@@ -3907,6 +3927,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3907
3927
|
name?: string;
|
|
3908
3928
|
name_on_receipt?: string;
|
|
3909
3929
|
name_on_kds?: string;
|
|
3930
|
+
name_on_pos?: string;
|
|
3910
3931
|
label?: string;
|
|
3911
3932
|
description?: string;
|
|
3912
3933
|
reporting?: ReportingMetadataDTO;
|
|
@@ -3995,6 +4016,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3995
4016
|
name: string;
|
|
3996
4017
|
name_on_receipt?: string;
|
|
3997
4018
|
name_on_kds?: string;
|
|
4019
|
+
name_on_pos?: string;
|
|
3998
4020
|
label?: string;
|
|
3999
4021
|
description?: string;
|
|
4000
4022
|
reporting: ReportingMetadataDTO;
|
|
@@ -4077,6 +4099,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
4077
4099
|
name?: string;
|
|
4078
4100
|
name_on_receipt?: string;
|
|
4079
4101
|
name_on_kds?: string;
|
|
4102
|
+
name_on_pos?: string;
|
|
4080
4103
|
label?: string;
|
|
4081
4104
|
description?: string;
|
|
4082
4105
|
reporting?: ReportingMetadataDTO;
|
|
@@ -4816,6 +4839,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
4816
4839
|
name: string;
|
|
4817
4840
|
name_on_receipt?: string;
|
|
4818
4841
|
name_on_kds?: string;
|
|
4842
|
+
name_on_pos?: string;
|
|
4819
4843
|
label?: string;
|
|
4820
4844
|
description?: string;
|
|
4821
4845
|
price: number;
|
|
@@ -4875,6 +4899,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
4875
4899
|
name?: string;
|
|
4876
4900
|
name_on_receipt?: string;
|
|
4877
4901
|
name_on_kds?: string;
|
|
4902
|
+
name_on_pos?: string;
|
|
4878
4903
|
label?: string;
|
|
4879
4904
|
description?: string;
|
|
4880
4905
|
price?: number;
|
|
@@ -4959,6 +4984,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4959
4984
|
name: string;
|
|
4960
4985
|
name_on_receipt?: string;
|
|
4961
4986
|
name_on_kds?: string;
|
|
4987
|
+
name_on_pos?: string;
|
|
4962
4988
|
label?: string;
|
|
4963
4989
|
description?: string;
|
|
4964
4990
|
price: number;
|
|
@@ -5037,6 +5063,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
5037
5063
|
name?: string;
|
|
5038
5064
|
name_on_receipt?: string;
|
|
5039
5065
|
name_on_kds?: string;
|
|
5066
|
+
name_on_pos?: string;
|
|
5040
5067
|
label?: string;
|
|
5041
5068
|
description?: string;
|
|
5042
5069
|
price?: number;
|
|
@@ -6127,6 +6154,7 @@ export interface PostMenuV4ItemBody {
|
|
|
6127
6154
|
name: string;
|
|
6128
6155
|
name_on_receipt?: string;
|
|
6129
6156
|
name_on_kds?: string;
|
|
6157
|
+
name_on_pos?: string;
|
|
6130
6158
|
label?: string;
|
|
6131
6159
|
description?: string;
|
|
6132
6160
|
reporting: ReportingMetadataDTO;
|
|
@@ -6176,6 +6204,7 @@ export interface PostMenuV4ItemResponse {
|
|
|
6176
6204
|
name: string;
|
|
6177
6205
|
name_on_receipt?: string;
|
|
6178
6206
|
name_on_kds?: string;
|
|
6207
|
+
name_on_pos?: string;
|
|
6179
6208
|
label?: string;
|
|
6180
6209
|
description?: string;
|
|
6181
6210
|
reporting: ReportingMetadataDTO;
|
|
@@ -6224,6 +6253,7 @@ export type PostMenuV4ItemsBulkCreateBody = {
|
|
|
6224
6253
|
name: string;
|
|
6225
6254
|
name_on_receipt?: string;
|
|
6226
6255
|
name_on_kds?: string;
|
|
6256
|
+
name_on_pos?: string;
|
|
6227
6257
|
label?: string;
|
|
6228
6258
|
description?: string;
|
|
6229
6259
|
reporting: ReportingMetadataDTO;
|
|
@@ -6287,6 +6317,7 @@ export interface GetMenuV4ItemResponse {
|
|
|
6287
6317
|
name: string;
|
|
6288
6318
|
name_on_receipt?: string;
|
|
6289
6319
|
name_on_kds?: string;
|
|
6320
|
+
name_on_pos?: string;
|
|
6290
6321
|
label?: string;
|
|
6291
6322
|
description?: string;
|
|
6292
6323
|
reporting: ReportingMetadataDTO;
|
|
@@ -6338,6 +6369,7 @@ export interface PatchMenuV4ItemBody {
|
|
|
6338
6369
|
name?: string;
|
|
6339
6370
|
name_on_receipt?: string;
|
|
6340
6371
|
name_on_kds?: string;
|
|
6372
|
+
name_on_pos?: string;
|
|
6341
6373
|
label?: string;
|
|
6342
6374
|
description?: string;
|
|
6343
6375
|
reporting?: ReportingMetadataDTO;
|
|
@@ -6386,6 +6418,7 @@ export interface PatchMenuV4ItemResponse {
|
|
|
6386
6418
|
name: string;
|
|
6387
6419
|
name_on_receipt?: string;
|
|
6388
6420
|
name_on_kds?: string;
|
|
6421
|
+
name_on_pos?: string;
|
|
6389
6422
|
label?: string;
|
|
6390
6423
|
description?: string;
|
|
6391
6424
|
reporting: ReportingMetadataDTO;
|
|
@@ -6441,6 +6474,7 @@ export interface DeleteMenuV4ItemResponse {
|
|
|
6441
6474
|
name: string;
|
|
6442
6475
|
name_on_receipt?: string;
|
|
6443
6476
|
name_on_kds?: string;
|
|
6477
|
+
name_on_pos?: string;
|
|
6444
6478
|
label?: string;
|
|
6445
6479
|
description?: string;
|
|
6446
6480
|
reporting: ReportingMetadataDTO;
|
|
@@ -6490,6 +6524,7 @@ export interface PatchMenuV4ItemsBulkUpdateBody {
|
|
|
6490
6524
|
name?: string;
|
|
6491
6525
|
name_on_receipt?: string;
|
|
6492
6526
|
name_on_kds?: string;
|
|
6527
|
+
name_on_pos?: string;
|
|
6493
6528
|
label?: string;
|
|
6494
6529
|
description?: string;
|
|
6495
6530
|
reporting?: ReportingMetadataDTO;
|
|
@@ -6544,6 +6579,7 @@ export interface PatchMenuV4ItemsBulkPriceUpdateBody {
|
|
|
6544
6579
|
name?: string;
|
|
6545
6580
|
name_on_receipt?: string;
|
|
6546
6581
|
name_on_kds?: string;
|
|
6582
|
+
name_on_pos?: string;
|
|
6547
6583
|
label?: string;
|
|
6548
6584
|
description?: string;
|
|
6549
6585
|
reporting?: ReportingMetadataDTO;
|
|
@@ -6598,6 +6634,7 @@ export interface PostMenuV4ItemDuplicateBody {
|
|
|
6598
6634
|
name?: string;
|
|
6599
6635
|
name_on_receipt?: string;
|
|
6600
6636
|
name_on_kds?: string;
|
|
6637
|
+
name_on_pos?: string;
|
|
6601
6638
|
label?: string;
|
|
6602
6639
|
description?: string;
|
|
6603
6640
|
reporting?: ReportingMetadataDTO;
|
|
@@ -6646,6 +6683,7 @@ export interface PostMenuV4ItemDuplicateResponse {
|
|
|
6646
6683
|
name: string;
|
|
6647
6684
|
name_on_receipt?: string;
|
|
6648
6685
|
name_on_kds?: string;
|
|
6686
|
+
name_on_pos?: string;
|
|
6649
6687
|
label?: string;
|
|
6650
6688
|
description?: string;
|
|
6651
6689
|
reporting: ReportingMetadataDTO;
|
|
@@ -6760,6 +6798,7 @@ export interface PostMenuV4ModifierBody {
|
|
|
6760
6798
|
name: string;
|
|
6761
6799
|
name_on_receipt?: string;
|
|
6762
6800
|
name_on_kds?: string;
|
|
6801
|
+
name_on_pos?: string;
|
|
6763
6802
|
label?: string;
|
|
6764
6803
|
description?: string;
|
|
6765
6804
|
price: number;
|
|
@@ -6804,6 +6843,7 @@ export interface PostMenuV4ModifierResponse {
|
|
|
6804
6843
|
name: string;
|
|
6805
6844
|
name_on_receipt?: string;
|
|
6806
6845
|
name_on_kds?: string;
|
|
6846
|
+
name_on_pos?: string;
|
|
6807
6847
|
label?: string;
|
|
6808
6848
|
description?: string;
|
|
6809
6849
|
price: number;
|
|
@@ -6859,6 +6899,7 @@ export interface GetMenuV4ModifierResponse {
|
|
|
6859
6899
|
name: string;
|
|
6860
6900
|
name_on_receipt?: string;
|
|
6861
6901
|
name_on_kds?: string;
|
|
6902
|
+
name_on_pos?: string;
|
|
6862
6903
|
label?: string;
|
|
6863
6904
|
description?: string;
|
|
6864
6905
|
price: number;
|
|
@@ -6905,6 +6946,7 @@ export interface PatchMenuV4ModifierBody {
|
|
|
6905
6946
|
name?: string;
|
|
6906
6947
|
name_on_receipt?: string;
|
|
6907
6948
|
name_on_kds?: string;
|
|
6949
|
+
name_on_pos?: string;
|
|
6908
6950
|
label?: string;
|
|
6909
6951
|
description?: string;
|
|
6910
6952
|
price?: number;
|
|
@@ -6949,6 +6991,7 @@ export interface PatchMenuV4ModifierResponse {
|
|
|
6949
6991
|
name: string;
|
|
6950
6992
|
name_on_receipt?: string;
|
|
6951
6993
|
name_on_kds?: string;
|
|
6994
|
+
name_on_pos?: string;
|
|
6952
6995
|
label?: string;
|
|
6953
6996
|
description?: string;
|
|
6954
6997
|
price: number;
|
|
@@ -7000,6 +7043,7 @@ export interface DeleteMenuV4ModifierResponse {
|
|
|
7000
7043
|
name: string;
|
|
7001
7044
|
name_on_receipt?: string;
|
|
7002
7045
|
name_on_kds?: string;
|
|
7046
|
+
name_on_pos?: string;
|
|
7003
7047
|
label?: string;
|
|
7004
7048
|
description?: string;
|
|
7005
7049
|
price: number;
|
|
@@ -7046,6 +7090,7 @@ export interface PostMenuV4ModifierDuplicateBody {
|
|
|
7046
7090
|
name?: string;
|
|
7047
7091
|
name_on_receipt?: string;
|
|
7048
7092
|
name_on_kds?: string;
|
|
7093
|
+
name_on_pos?: string;
|
|
7049
7094
|
label?: string;
|
|
7050
7095
|
description?: string;
|
|
7051
7096
|
price?: number;
|
|
@@ -7090,6 +7135,7 @@ export interface PostMenuV4ModifierDuplicateResponse {
|
|
|
7090
7135
|
name: string;
|
|
7091
7136
|
name_on_receipt?: string;
|
|
7092
7137
|
name_on_kds?: string;
|
|
7138
|
+
name_on_pos?: string;
|
|
7093
7139
|
label?: string;
|
|
7094
7140
|
description?: string;
|
|
7095
7141
|
price: number;
|
|
@@ -7136,6 +7182,7 @@ export interface PatchMenuV4ModifiersBulkUpdateBody {
|
|
|
7136
7182
|
name?: string;
|
|
7137
7183
|
name_on_receipt?: string;
|
|
7138
7184
|
name_on_kds?: string;
|
|
7185
|
+
name_on_pos?: string;
|
|
7139
7186
|
label?: string;
|
|
7140
7187
|
description?: string;
|
|
7141
7188
|
price?: number;
|