@compassdigital/sdk.typescript 4.429.0 → 4.431.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/interface/forecasting.d.ts +0 -3
- package/lib/interface/forecasting.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +34 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/order.d.ts +7 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/forecasting.ts +0 -3
- package/src/interface/menu.ts +34 -0
- package/src/interface/order.ts +8 -0
|
@@ -7,12 +7,9 @@ export interface CreateProductionSheetDto {
|
|
|
7
7
|
}
|
|
8
8
|
export interface ProductionSheetItemDto {
|
|
9
9
|
item_name: string;
|
|
10
|
-
system_item_name?: string;
|
|
11
10
|
pos_id: string;
|
|
12
11
|
menu_name?: string;
|
|
13
12
|
menu_id?: string;
|
|
14
|
-
category_id?: string;
|
|
15
|
-
category_name?: string;
|
|
16
13
|
brand_id?: string;
|
|
17
14
|
brand_name?: string;
|
|
18
15
|
barcode?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forecasting.d.ts","sourceRoot":"","sources":["../../src/interface/forecasting.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,wBAAwB;IAExC,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,MAAM,CAAC;IAEjB,MAAM,EAAE,MAAM,CAAC;IAEf,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"forecasting.d.ts","sourceRoot":"","sources":["../../src/interface/forecasting.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,wBAAwB;IAExC,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,MAAM,CAAC;IAEjB,MAA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AM,MAAM,8CAA8C,GAAG,EAAE,CAAC;AAIhE,MAAM,MAAM,uCAAuC,GAAG,cAAc,CAAC;AAErE,MAAM,MAAM,2CAA2C,GAAG,EAAE,CAAC"}
|
package/lib/interface/menu.d.ts
CHANGED
|
@@ -711,6 +711,7 @@ export interface DraftItemDTO {
|
|
|
711
711
|
price?: number;
|
|
712
712
|
barcode?: string;
|
|
713
713
|
calories?: number;
|
|
714
|
+
serving_size?: number;
|
|
714
715
|
meal_value?: number;
|
|
715
716
|
is_active?: boolean;
|
|
716
717
|
posid?: string;
|
|
@@ -831,6 +832,7 @@ export interface DraftModifierDTO {
|
|
|
831
832
|
description?: string;
|
|
832
833
|
price?: number;
|
|
833
834
|
calories?: number;
|
|
835
|
+
serving_size?: number;
|
|
834
836
|
tax_tags?: string[];
|
|
835
837
|
is_active?: boolean;
|
|
836
838
|
posid?: string;
|
|
@@ -1266,6 +1268,7 @@ export interface PublishedItemDTO {
|
|
|
1266
1268
|
price?: number;
|
|
1267
1269
|
barcode?: string;
|
|
1268
1270
|
calories?: number;
|
|
1271
|
+
serving_size?: number;
|
|
1269
1272
|
meal_value?: number;
|
|
1270
1273
|
is_active?: boolean;
|
|
1271
1274
|
posid?: string;
|
|
@@ -1351,6 +1354,7 @@ export interface PublishedModifierDTO {
|
|
|
1351
1354
|
description?: string;
|
|
1352
1355
|
price?: number;
|
|
1353
1356
|
calories?: number;
|
|
1357
|
+
serving_size?: number;
|
|
1354
1358
|
tax_tags?: string[];
|
|
1355
1359
|
is_active?: boolean;
|
|
1356
1360
|
posid?: string;
|
|
@@ -1605,6 +1609,7 @@ export interface DraftItemEntityDTO {
|
|
|
1605
1609
|
price: number;
|
|
1606
1610
|
barcode?: string;
|
|
1607
1611
|
calories?: number;
|
|
1612
|
+
serving_size?: number;
|
|
1608
1613
|
meal_value?: number;
|
|
1609
1614
|
is_active?: boolean;
|
|
1610
1615
|
posid?: string;
|
|
@@ -1655,6 +1660,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1655
1660
|
description?: string;
|
|
1656
1661
|
price: number;
|
|
1657
1662
|
calories?: number;
|
|
1663
|
+
serving_size?: number;
|
|
1658
1664
|
tax_tags?: string[];
|
|
1659
1665
|
is_active?: boolean;
|
|
1660
1666
|
posid?: string;
|
|
@@ -1798,6 +1804,7 @@ export interface PartialItemDTO {
|
|
|
1798
1804
|
price?: number;
|
|
1799
1805
|
barcode?: string;
|
|
1800
1806
|
calories?: number;
|
|
1807
|
+
serving_size?: number;
|
|
1801
1808
|
meal_value?: number;
|
|
1802
1809
|
is_active?: boolean;
|
|
1803
1810
|
posid?: string;
|
|
@@ -1839,6 +1846,7 @@ export interface PartialModifierDTO {
|
|
|
1839
1846
|
description?: string;
|
|
1840
1847
|
price?: number;
|
|
1841
1848
|
calories?: number;
|
|
1849
|
+
serving_size?: number;
|
|
1842
1850
|
tax_tags?: string[];
|
|
1843
1851
|
is_active?: boolean;
|
|
1844
1852
|
posid?: string;
|
|
@@ -4151,6 +4159,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
4151
4159
|
price: number;
|
|
4152
4160
|
barcode?: string;
|
|
4153
4161
|
calories?: number;
|
|
4162
|
+
serving_size?: number;
|
|
4154
4163
|
meal_value?: number;
|
|
4155
4164
|
is_active?: boolean;
|
|
4156
4165
|
posid?: string;
|
|
@@ -4215,6 +4224,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4215
4224
|
price?: number;
|
|
4216
4225
|
barcode?: string;
|
|
4217
4226
|
calories?: number;
|
|
4227
|
+
serving_size?: number;
|
|
4218
4228
|
meal_value?: number;
|
|
4219
4229
|
is_active?: boolean;
|
|
4220
4230
|
posid?: string;
|
|
@@ -4304,6 +4314,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
4304
4314
|
price: number;
|
|
4305
4315
|
barcode?: string;
|
|
4306
4316
|
calories?: number;
|
|
4317
|
+
serving_size?: number;
|
|
4307
4318
|
meal_value?: number;
|
|
4308
4319
|
is_active?: boolean;
|
|
4309
4320
|
posid?: string;
|
|
@@ -4386,6 +4397,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
4386
4397
|
price?: number;
|
|
4387
4398
|
barcode?: string;
|
|
4388
4399
|
calories?: number;
|
|
4400
|
+
serving_size?: number;
|
|
4389
4401
|
meal_value?: number;
|
|
4390
4402
|
is_active?: boolean;
|
|
4391
4403
|
posid?: string;
|
|
@@ -5104,6 +5116,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
5104
5116
|
description?: string;
|
|
5105
5117
|
price: number;
|
|
5106
5118
|
calories?: number;
|
|
5119
|
+
serving_size?: number;
|
|
5107
5120
|
tax_tags?: string[];
|
|
5108
5121
|
is_active?: boolean;
|
|
5109
5122
|
posid?: string;
|
|
@@ -5164,6 +5177,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
5164
5177
|
description?: string;
|
|
5165
5178
|
price?: number;
|
|
5166
5179
|
calories?: number;
|
|
5180
|
+
serving_size?: number;
|
|
5167
5181
|
tax_tags?: string[];
|
|
5168
5182
|
is_active?: boolean;
|
|
5169
5183
|
posid?: string;
|
|
@@ -5249,6 +5263,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
5249
5263
|
description?: string;
|
|
5250
5264
|
price: number;
|
|
5251
5265
|
calories?: number;
|
|
5266
|
+
serving_size?: number;
|
|
5252
5267
|
tax_tags?: string[];
|
|
5253
5268
|
is_active?: boolean;
|
|
5254
5269
|
posid?: string;
|
|
@@ -5327,6 +5342,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
5327
5342
|
description?: string;
|
|
5328
5343
|
price?: number;
|
|
5329
5344
|
calories?: number;
|
|
5345
|
+
serving_size?: number;
|
|
5330
5346
|
tax_tags?: string[];
|
|
5331
5347
|
is_active?: boolean;
|
|
5332
5348
|
posid?: string;
|
|
@@ -6420,6 +6436,7 @@ export interface PostMenuV4ItemBody {
|
|
|
6420
6436
|
price: number;
|
|
6421
6437
|
barcode?: string;
|
|
6422
6438
|
calories?: number;
|
|
6439
|
+
serving_size?: number;
|
|
6423
6440
|
meal_value?: number;
|
|
6424
6441
|
is_active?: boolean;
|
|
6425
6442
|
posid?: string;
|
|
@@ -6471,6 +6488,7 @@ export interface PostMenuV4ItemResponse {
|
|
|
6471
6488
|
price: number;
|
|
6472
6489
|
barcode?: string;
|
|
6473
6490
|
calories?: number;
|
|
6491
|
+
serving_size?: number;
|
|
6474
6492
|
meal_value?: number;
|
|
6475
6493
|
is_active?: boolean;
|
|
6476
6494
|
posid?: string;
|
|
@@ -6521,6 +6539,7 @@ export type PostMenuV4ItemsBulkCreateBody = {
|
|
|
6521
6539
|
price: number;
|
|
6522
6540
|
barcode?: string;
|
|
6523
6541
|
calories?: number;
|
|
6542
|
+
serving_size?: number;
|
|
6524
6543
|
meal_value?: number;
|
|
6525
6544
|
is_active?: boolean;
|
|
6526
6545
|
posid?: string;
|
|
@@ -6585,6 +6604,7 @@ export interface GetMenuV4ItemResponse {
|
|
|
6585
6604
|
price: number;
|
|
6586
6605
|
barcode?: string;
|
|
6587
6606
|
calories?: number;
|
|
6607
|
+
serving_size?: number;
|
|
6588
6608
|
meal_value?: number;
|
|
6589
6609
|
is_active?: boolean;
|
|
6590
6610
|
posid?: string;
|
|
@@ -6638,6 +6658,7 @@ export interface PatchMenuV4ItemBody {
|
|
|
6638
6658
|
price?: number;
|
|
6639
6659
|
barcode?: string;
|
|
6640
6660
|
calories?: number;
|
|
6661
|
+
serving_size?: number;
|
|
6641
6662
|
meal_value?: number;
|
|
6642
6663
|
is_active?: boolean;
|
|
6643
6664
|
posid?: string;
|
|
@@ -6688,6 +6709,7 @@ export interface PatchMenuV4ItemResponse {
|
|
|
6688
6709
|
price: number;
|
|
6689
6710
|
barcode?: string;
|
|
6690
6711
|
calories?: number;
|
|
6712
|
+
serving_size?: number;
|
|
6691
6713
|
meal_value?: number;
|
|
6692
6714
|
is_active?: boolean;
|
|
6693
6715
|
posid?: string;
|
|
@@ -6745,6 +6767,7 @@ export interface DeleteMenuV4ItemResponse {
|
|
|
6745
6767
|
price: number;
|
|
6746
6768
|
barcode?: string;
|
|
6747
6769
|
calories?: number;
|
|
6770
|
+
serving_size?: number;
|
|
6748
6771
|
meal_value?: number;
|
|
6749
6772
|
is_active?: boolean;
|
|
6750
6773
|
posid?: string;
|
|
@@ -6796,6 +6819,7 @@ export interface PatchMenuV4ItemsBulkUpdateBody {
|
|
|
6796
6819
|
price?: number;
|
|
6797
6820
|
barcode?: string;
|
|
6798
6821
|
calories?: number;
|
|
6822
|
+
serving_size?: number;
|
|
6799
6823
|
meal_value?: number;
|
|
6800
6824
|
is_active?: boolean;
|
|
6801
6825
|
posid?: string;
|
|
@@ -6852,6 +6876,7 @@ export interface PatchMenuV4ItemsBulkPriceUpdateBody {
|
|
|
6852
6876
|
price?: number;
|
|
6853
6877
|
barcode?: string;
|
|
6854
6878
|
calories?: number;
|
|
6879
|
+
serving_size?: number;
|
|
6855
6880
|
meal_value?: number;
|
|
6856
6881
|
is_active?: boolean;
|
|
6857
6882
|
posid?: string;
|
|
@@ -6916,6 +6941,7 @@ export interface PostMenuV4ItemDuplicateResponse {
|
|
|
6916
6941
|
price: number;
|
|
6917
6942
|
barcode?: string;
|
|
6918
6943
|
calories?: number;
|
|
6944
|
+
serving_size?: number;
|
|
6919
6945
|
meal_value?: number;
|
|
6920
6946
|
is_active?: boolean;
|
|
6921
6947
|
posid?: string;
|
|
@@ -7030,6 +7056,7 @@ export interface PostMenuV4ModifierBody {
|
|
|
7030
7056
|
description?: string;
|
|
7031
7057
|
price: number;
|
|
7032
7058
|
calories?: number;
|
|
7059
|
+
serving_size?: number;
|
|
7033
7060
|
tax_tags?: string[];
|
|
7034
7061
|
is_active?: boolean;
|
|
7035
7062
|
posid?: string;
|
|
@@ -7076,6 +7103,7 @@ export interface PostMenuV4ModifierResponse {
|
|
|
7076
7103
|
description?: string;
|
|
7077
7104
|
price: number;
|
|
7078
7105
|
calories?: number;
|
|
7106
|
+
serving_size?: number;
|
|
7079
7107
|
tax_tags?: string[];
|
|
7080
7108
|
is_active?: boolean;
|
|
7081
7109
|
posid?: string;
|
|
@@ -7132,6 +7160,7 @@ export interface GetMenuV4ModifierResponse {
|
|
|
7132
7160
|
description?: string;
|
|
7133
7161
|
price: number;
|
|
7134
7162
|
calories?: number;
|
|
7163
|
+
serving_size?: number;
|
|
7135
7164
|
tax_tags?: string[];
|
|
7136
7165
|
is_active?: boolean;
|
|
7137
7166
|
posid?: string;
|
|
@@ -7180,6 +7209,7 @@ export interface PatchMenuV4ModifierBody {
|
|
|
7180
7209
|
description?: string;
|
|
7181
7210
|
price?: number;
|
|
7182
7211
|
calories?: number;
|
|
7212
|
+
serving_size?: number;
|
|
7183
7213
|
tax_tags?: string[];
|
|
7184
7214
|
is_active?: boolean;
|
|
7185
7215
|
posid?: string;
|
|
@@ -7226,6 +7256,7 @@ export interface PatchMenuV4ModifierResponse {
|
|
|
7226
7256
|
description?: string;
|
|
7227
7257
|
price: number;
|
|
7228
7258
|
calories?: number;
|
|
7259
|
+
serving_size?: number;
|
|
7229
7260
|
tax_tags?: string[];
|
|
7230
7261
|
is_active?: boolean;
|
|
7231
7262
|
posid?: string;
|
|
@@ -7279,6 +7310,7 @@ export interface DeleteMenuV4ModifierResponse {
|
|
|
7279
7310
|
description?: string;
|
|
7280
7311
|
price: number;
|
|
7281
7312
|
calories?: number;
|
|
7313
|
+
serving_size?: number;
|
|
7282
7314
|
tax_tags?: string[];
|
|
7283
7315
|
is_active?: boolean;
|
|
7284
7316
|
posid?: string;
|
|
@@ -7336,6 +7368,7 @@ export interface PostMenuV4ModifierDuplicateResponse {
|
|
|
7336
7368
|
description?: string;
|
|
7337
7369
|
price: number;
|
|
7338
7370
|
calories?: number;
|
|
7371
|
+
serving_size?: number;
|
|
7339
7372
|
tax_tags?: string[];
|
|
7340
7373
|
is_active?: boolean;
|
|
7341
7374
|
posid?: string;
|
|
@@ -7384,6 +7417,7 @@ export interface PatchMenuV4ModifiersBulkUpdateBody {
|
|
|
7384
7417
|
description?: string;
|
|
7385
7418
|
price?: number;
|
|
7386
7419
|
calories?: number;
|
|
7420
|
+
serving_size?: number;
|
|
7387
7421
|
tax_tags?: string[];
|
|
7388
7422
|
is_active?: boolean;
|
|
7389
7423
|
posid?: string;
|