@munchi_oy/core 1.4.5 → 1.4.7
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/dist/generated/api.d.ts +98 -19
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +100 -19
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3756,6 +3756,12 @@ export interface EndOfDayReportDtoV4SalesSummary {
|
|
|
3756
3756
|
* @memberof EndOfDayReportDtoV4SalesSummary
|
|
3757
3757
|
*/
|
|
3758
3758
|
'totalPaymentAmount': number;
|
|
3759
|
+
/**
|
|
3760
|
+
* Total tip amount in cents
|
|
3761
|
+
* @type {number}
|
|
3762
|
+
* @memberof EndOfDayReportDtoV4SalesSummary
|
|
3763
|
+
*/
|
|
3764
|
+
'totalTipAmount': number;
|
|
3759
3765
|
}
|
|
3760
3766
|
/**
|
|
3761
3767
|
* Tax breakdown
|
|
@@ -4074,6 +4080,12 @@ export interface ExtendedProductDto {
|
|
|
4074
4080
|
* @memberof ExtendedProductDto
|
|
4075
4081
|
*/
|
|
4076
4082
|
'channel_configs': Array<ChannelConfig>;
|
|
4083
|
+
/**
|
|
4084
|
+
* SKU of the product
|
|
4085
|
+
* @type {string}
|
|
4086
|
+
* @memberof ExtendedProductDto
|
|
4087
|
+
*/
|
|
4088
|
+
'sku'?: string;
|
|
4077
4089
|
}
|
|
4078
4090
|
/**
|
|
4079
4091
|
*
|
|
@@ -7000,6 +7012,25 @@ export interface OrderEventDtoItemSummary {
|
|
|
7000
7012
|
*/
|
|
7001
7013
|
'size'?: number;
|
|
7002
7014
|
}
|
|
7015
|
+
/**
|
|
7016
|
+
*
|
|
7017
|
+
* @export
|
|
7018
|
+
* @interface OrderFeeDto
|
|
7019
|
+
*/
|
|
7020
|
+
export interface OrderFeeDto {
|
|
7021
|
+
/**
|
|
7022
|
+
*
|
|
7023
|
+
* @type {FeeAmountDto}
|
|
7024
|
+
* @memberof OrderFeeDto
|
|
7025
|
+
*/
|
|
7026
|
+
'total': FeeAmountDto;
|
|
7027
|
+
/**
|
|
7028
|
+
*
|
|
7029
|
+
* @type {FeeType}
|
|
7030
|
+
* @memberof OrderFeeDto
|
|
7031
|
+
*/
|
|
7032
|
+
'type': FeeType;
|
|
7033
|
+
}
|
|
7003
7034
|
/**
|
|
7004
7035
|
*
|
|
7005
7036
|
* @export
|
|
@@ -7065,6 +7096,12 @@ export interface OrderHistoryPosResponseDtoV2Summary {
|
|
|
7065
7096
|
* @memberof OrderHistoryPosResponseDtoV2Summary
|
|
7066
7097
|
*/
|
|
7067
7098
|
'rejectedSales': number;
|
|
7099
|
+
/**
|
|
7100
|
+
* Total tip amount in cents
|
|
7101
|
+
* @type {number}
|
|
7102
|
+
* @memberof OrderHistoryPosResponseDtoV2Summary
|
|
7103
|
+
*/
|
|
7104
|
+
'totalTipAmount'?: number;
|
|
7068
7105
|
}
|
|
7069
7106
|
/**
|
|
7070
7107
|
*
|
|
@@ -7146,6 +7183,12 @@ export interface OrderHistoryResponseDtoSummary {
|
|
|
7146
7183
|
* @memberof OrderHistoryResponseDtoSummary
|
|
7147
7184
|
*/
|
|
7148
7185
|
'rejectedSales': number;
|
|
7186
|
+
/**
|
|
7187
|
+
* Total tip amount in cents
|
|
7188
|
+
* @type {number}
|
|
7189
|
+
* @memberof OrderHistoryResponseDtoSummary
|
|
7190
|
+
*/
|
|
7191
|
+
'totalTipAmount'?: number;
|
|
7149
7192
|
}
|
|
7150
7193
|
/**
|
|
7151
7194
|
*
|
|
@@ -7807,6 +7850,12 @@ export interface OrderSummaryDto {
|
|
|
7807
7850
|
* @memberof OrderSummaryDto
|
|
7808
7851
|
*/
|
|
7809
7852
|
'rejectedSales': number;
|
|
7853
|
+
/**
|
|
7854
|
+
* Total tip amount in cents
|
|
7855
|
+
* @type {number}
|
|
7856
|
+
* @memberof OrderSummaryDto
|
|
7857
|
+
*/
|
|
7858
|
+
'totalTipAmount'?: number;
|
|
7810
7859
|
}
|
|
7811
7860
|
/**
|
|
7812
7861
|
*
|
|
@@ -9886,6 +9935,12 @@ export interface PosItemDto {
|
|
|
9886
9935
|
* @memberof PosItemDto
|
|
9887
9936
|
*/
|
|
9888
9937
|
'channel_configs': Array<ChannelConfig>;
|
|
9938
|
+
/**
|
|
9939
|
+
* SKU of the product
|
|
9940
|
+
* @type {string}
|
|
9941
|
+
* @memberof PosItemDto
|
|
9942
|
+
*/
|
|
9943
|
+
'sku'?: string;
|
|
9889
9944
|
/**
|
|
9890
9945
|
* Order identifier
|
|
9891
9946
|
* @type {string}
|
|
@@ -10154,10 +10209,10 @@ export interface PosOrderDto {
|
|
|
10154
10209
|
'lastPaymentError'?: object;
|
|
10155
10210
|
/**
|
|
10156
10211
|
*
|
|
10157
|
-
* @type {
|
|
10212
|
+
* @type {Array<OrderFeeDto>}
|
|
10158
10213
|
* @memberof PosOrderDto
|
|
10159
10214
|
*/
|
|
10160
|
-
'fees'?:
|
|
10215
|
+
'fees'?: Array<OrderFeeDto> | null;
|
|
10161
10216
|
}
|
|
10162
10217
|
/**
|
|
10163
10218
|
* Equal split state persisted for the order
|
|
@@ -10178,19 +10233,6 @@ export interface PosOrderDtoEqualSplitState {
|
|
|
10178
10233
|
*/
|
|
10179
10234
|
'parts': Array<PosOrderEqualSplitPartDto>;
|
|
10180
10235
|
}
|
|
10181
|
-
/**
|
|
10182
|
-
* Fees breakdown including tips
|
|
10183
|
-
* @export
|
|
10184
|
-
* @interface PosOrderDtoFees
|
|
10185
|
-
*/
|
|
10186
|
-
export interface PosOrderDtoFees {
|
|
10187
|
-
/**
|
|
10188
|
-
* Fee breakdown parts
|
|
10189
|
-
* @type {Array<FeePartDto>}
|
|
10190
|
-
* @memberof PosOrderDtoFees
|
|
10191
|
-
*/
|
|
10192
|
-
'parts': Array<FeePartDto>;
|
|
10193
|
-
}
|
|
10194
10236
|
/**
|
|
10195
10237
|
* Invoice company information for this order
|
|
10196
10238
|
* @export
|
|
@@ -10350,6 +10392,37 @@ export interface PosOrderEqualSplitPartDto {
|
|
|
10350
10392
|
* @memberof PosOrderEqualSplitPartDto
|
|
10351
10393
|
*/
|
|
10352
10394
|
'appliedDiscountIds': Array<string>;
|
|
10395
|
+
/**
|
|
10396
|
+
* Precomputed prebill items for this part
|
|
10397
|
+
* @type {Array<PosOrderEqualSplitPlannedItemDto>}
|
|
10398
|
+
* @memberof PosOrderEqualSplitPartDto
|
|
10399
|
+
*/
|
|
10400
|
+
'plannedItems'?: Array<PosOrderEqualSplitPlannedItemDto>;
|
|
10401
|
+
}
|
|
10402
|
+
/**
|
|
10403
|
+
*
|
|
10404
|
+
* @export
|
|
10405
|
+
* @interface PosOrderEqualSplitPlannedItemDto
|
|
10406
|
+
*/
|
|
10407
|
+
export interface PosOrderEqualSplitPlannedItemDto {
|
|
10408
|
+
/**
|
|
10409
|
+
* Related cart line item id
|
|
10410
|
+
* @type {string}
|
|
10411
|
+
* @memberof PosOrderEqualSplitPlannedItemDto
|
|
10412
|
+
*/
|
|
10413
|
+
'lineItemId': string;
|
|
10414
|
+
/**
|
|
10415
|
+
* Precomputed amount for this split part line item
|
|
10416
|
+
* @type {number}
|
|
10417
|
+
* @memberof PosOrderEqualSplitPlannedItemDto
|
|
10418
|
+
*/
|
|
10419
|
+
'amount': number;
|
|
10420
|
+
/**
|
|
10421
|
+
* Precomputed quantity for this split part line item
|
|
10422
|
+
* @type {number}
|
|
10423
|
+
* @memberof PosOrderEqualSplitPlannedItemDto
|
|
10424
|
+
*/
|
|
10425
|
+
'quantity': number;
|
|
10353
10426
|
}
|
|
10354
10427
|
/**
|
|
10355
10428
|
*
|
|
@@ -10900,10 +10973,10 @@ export interface PosOrderPayloadDtoOrder {
|
|
|
10900
10973
|
'lastPaymentError'?: object;
|
|
10901
10974
|
/**
|
|
10902
10975
|
*
|
|
10903
|
-
* @type {
|
|
10976
|
+
* @type {Array<OrderFeeDto>}
|
|
10904
10977
|
* @memberof PosOrderPayloadDtoOrder
|
|
10905
10978
|
*/
|
|
10906
|
-
'fees'?:
|
|
10979
|
+
'fees'?: Array<OrderFeeDto> | null;
|
|
10907
10980
|
}
|
|
10908
10981
|
/**
|
|
10909
10982
|
*
|
|
@@ -11624,10 +11697,10 @@ export interface ProcessOrderActionsResponseDtoOrder {
|
|
|
11624
11697
|
'lastPaymentError'?: object;
|
|
11625
11698
|
/**
|
|
11626
11699
|
*
|
|
11627
|
-
* @type {
|
|
11700
|
+
* @type {Array<OrderFeeDto>}
|
|
11628
11701
|
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
11629
11702
|
*/
|
|
11630
|
-
'fees'?:
|
|
11703
|
+
'fees'?: Array<OrderFeeDto> | null;
|
|
11631
11704
|
}
|
|
11632
11705
|
/**
|
|
11633
11706
|
*
|
|
@@ -12970,6 +13043,12 @@ export interface SalesSummaryDtoV2 {
|
|
|
12970
13043
|
* @memberof SalesSummaryDtoV2
|
|
12971
13044
|
*/
|
|
12972
13045
|
'totalPaymentAmount': number;
|
|
13046
|
+
/**
|
|
13047
|
+
* Total tip amount in cents
|
|
13048
|
+
* @type {number}
|
|
13049
|
+
* @memberof SalesSummaryDtoV2
|
|
13050
|
+
*/
|
|
13051
|
+
'totalTipAmount': number;
|
|
12973
13052
|
}
|
|
12974
13053
|
/**
|
|
12975
13054
|
*
|