@munchi_oy/core 2.0.2 → 2.0.3

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.
@@ -2275,6 +2275,50 @@ export interface ChangePaymentMethodOptionDto {
2275
2275
  */
2276
2276
  'enable'?: boolean;
2277
2277
  }
2278
+ /**
2279
+ *
2280
+ * @export
2281
+ * @interface ChangePosOrdersStatusInBulkDto
2282
+ */
2283
+ export interface ChangePosOrdersStatusInBulkDto {
2284
+ /**
2285
+ * The venue whose tickets and orders the till moves, by its venue id
2286
+ * @type {number}
2287
+ * @memberof ChangePosOrdersStatusInBulkDto
2288
+ */
2289
+ 'orderingBusinessId': number;
2290
+ /**
2291
+ * The ids in Firestore of the till\'s tickets and orders to move, each once, 1 to 100 of them
2292
+ * @type {Array<string>}
2293
+ * @memberof ChangePosOrdersStatusInBulkDto
2294
+ */
2295
+ 'orderIds': Array<string>;
2296
+ /**
2297
+ *
2298
+ * @type {PosBulkOrderStatus}
2299
+ * @memberof ChangePosOrdersStatusInBulkDto
2300
+ */
2301
+ 'status': PosBulkOrderStatus;
2302
+ }
2303
+ /**
2304
+ *
2305
+ * @export
2306
+ * @interface ChangePosOrdersStatusInBulkResponseDto
2307
+ */
2308
+ export interface ChangePosOrdersStatusInBulkResponseDto {
2309
+ /**
2310
+ * The ids of the tickets and orders moved to the status, in the order the till sent them; empty when none could be
2311
+ * @type {Array<string>}
2312
+ * @memberof ChangePosOrdersStatusInBulkResponseDto
2313
+ */
2314
+ 'moved': Array<string>;
2315
+ /**
2316
+ * The ids left as they are, each with the reason, in the order the till sent them; empty when every one moved
2317
+ * @type {Array<PosOrderLeftAsItIsDto>}
2318
+ * @memberof ChangePosOrdersStatusInBulkResponseDto
2319
+ */
2320
+ 'skipped': Array<PosOrderLeftAsItIsDto>;
2321
+ }
2278
2322
  /**
2279
2323
  *
2280
2324
  * @export
@@ -8275,6 +8319,17 @@ export declare const KDSEVENTNAME: {
8275
8319
  readonly PrintingOrder: "printing.order";
8276
8320
  };
8277
8321
  export type KDSEVENTNAME = typeof KDSEVENTNAME[keyof typeof KDSEVENTNAME];
8322
+ /**
8323
+ *
8324
+ * @export
8325
+ * @enum {string}
8326
+ */
8327
+ export declare const KdsBulkReadySkipReason: {
8328
+ readonly Found: "NOT_FOUND";
8329
+ readonly Pos: "NOT_POS";
8330
+ readonly InProgress: "NOT_IN_PROGRESS";
8331
+ };
8332
+ export type KdsBulkReadySkipReason = typeof KdsBulkReadySkipReason[keyof typeof KdsBulkReadySkipReason];
8278
8333
  /**
8279
8334
  *
8280
8335
  * @export
@@ -8479,6 +8534,31 @@ export interface KdsLocationDtoCoordinates {
8479
8534
  */
8480
8535
  'lon': number | null;
8481
8536
  }
8537
+ /**
8538
+ *
8539
+ * @export
8540
+ * @interface KdsMarkOrdersReadyDto
8541
+ */
8542
+ export interface KdsMarkOrdersReadyDto {
8543
+ /**
8544
+ * The venue\'s orderingBusinessId
8545
+ * @type {number}
8546
+ * @memberof KdsMarkOrdersReadyDto
8547
+ */
8548
+ 'businessId': number;
8549
+ /**
8550
+ * The id of the station (KDS profile) whose orders are marked ready
8551
+ * @type {string}
8552
+ * @memberof KdsMarkOrdersReadyDto
8553
+ */
8554
+ 'profileId': string;
8555
+ /**
8556
+ * The KDS orders\' ids in kds-service, each once, 1 to 100 of them
8557
+ * @type {Array<string>}
8558
+ * @memberof KdsMarkOrdersReadyDto
8559
+ */
8560
+ 'orderIds': Array<string>;
8561
+ }
8482
8562
  /**
8483
8563
  *
8484
8564
  * @export
@@ -8851,6 +8931,25 @@ export interface KdsOrderItemDto {
8851
8931
  */
8852
8932
  'options': Array<KdsOrderOptionDto>;
8853
8933
  }
8934
+ /**
8935
+ *
8936
+ * @export
8937
+ * @interface KdsOrderLeftAsItIsDto
8938
+ */
8939
+ export interface KdsOrderLeftAsItIsDto {
8940
+ /**
8941
+ * The id of a KDS order kds-service did not mark ready
8942
+ * @type {string}
8943
+ * @memberof KdsOrderLeftAsItIsDto
8944
+ */
8945
+ 'orderId': string;
8946
+ /**
8947
+ *
8948
+ * @type {KdsBulkReadySkipReason}
8949
+ * @memberof KdsOrderLeftAsItIsDto
8950
+ */
8951
+ 'reason': KdsBulkReadySkipReason;
8952
+ }
8854
8953
  /**
8855
8954
  *
8856
8955
  * @export
@@ -9601,6 +9700,43 @@ export interface KdsReadyOrderResponseDtoOrder {
9601
9700
  */
9602
9701
  'items': Array<KdsOrderItemDto>;
9603
9702
  }
9703
+ /**
9704
+ *
9705
+ * @export
9706
+ * @interface KdsReadyOrdersResponseDto
9707
+ */
9708
+ export interface KdsReadyOrdersResponseDto {
9709
+ /**
9710
+ * The ids of the KDS orders marked ready; empty when none were
9711
+ * @type {Array<string>}
9712
+ * @memberof KdsReadyOrdersResponseDto
9713
+ */
9714
+ 'ready': Array<string>;
9715
+ /**
9716
+ * The ids kds-service left as they are, each with its reason; empty when none were
9717
+ * @type {Array<KdsOrderLeftAsItIsDto>}
9718
+ * @memberof KdsReadyOrdersResponseDto
9719
+ */
9720
+ 'skipped': Array<KdsOrderLeftAsItIsDto>;
9721
+ /**
9722
+ * The ids of tickets kds-service marked ready whose status it could not pass on to this server, so the till may not show them ready yet; absent when every one was passed on
9723
+ * @type {Array<string>}
9724
+ * @memberof KdsReadyOrdersResponseDto
9725
+ */
9726
+ 'notAnnounced'?: Array<string>;
9727
+ /**
9728
+ * true when kds-service answered; false when it refused or could not be reached, and then nothing is listed
9729
+ * @type {boolean}
9730
+ * @memberof KdsReadyOrdersResponseDto
9731
+ */
9732
+ 'status': boolean;
9733
+ /**
9734
+ * Human-readable status message
9735
+ * @type {string}
9736
+ * @memberof KdsReadyOrdersResponseDto
9737
+ */
9738
+ 'message': string;
9739
+ }
9604
9740
  /**
9605
9741
  *
9606
9742
  * @export
@@ -17405,6 +17541,28 @@ export interface PosActionPasscodeDto {
17405
17541
  */
17406
17542
  'pinHash': string;
17407
17543
  }
17544
+ /**
17545
+ *
17546
+ * @export
17547
+ * @enum {string}
17548
+ */
17549
+ export declare const PosBulkOrderStatus: {
17550
+ readonly Ready: "ready";
17551
+ readonly Delivered: "delivered";
17552
+ };
17553
+ export type PosBulkOrderStatus = typeof PosBulkOrderStatus[keyof typeof PosBulkOrderStatus];
17554
+ /**
17555
+ *
17556
+ * @export
17557
+ * @enum {string}
17558
+ */
17559
+ export declare const PosBulkStatusSkipReason: {
17560
+ readonly NotFound: "NOT_FOUND";
17561
+ readonly NotInProgress: "NOT_IN_PROGRESS";
17562
+ readonly KitchenControlled: "KITCHEN_CONTROLLED";
17563
+ readonly NotReady: "NOT_READY";
17564
+ };
17565
+ export type PosBulkStatusSkipReason = typeof PosBulkStatusSkipReason[keyof typeof PosBulkStatusSkipReason];
17408
17566
  /**
17409
17567
  *
17410
17568
  * @export
@@ -19607,6 +19765,25 @@ export interface PosOrderItemSplitSeatDto {
19607
19765
  */
19608
19766
  'assignments': Array<PosOrderItemSplitSeatAssignmentDto>;
19609
19767
  }
19768
+ /**
19769
+ *
19770
+ * @export
19771
+ * @interface PosOrderLeftAsItIsDto
19772
+ */
19773
+ export interface PosOrderLeftAsItIsDto {
19774
+ /**
19775
+ * The id the till sent of a ticket or an order that was not moved
19776
+ * @type {string}
19777
+ * @memberof PosOrderLeftAsItIsDto
19778
+ */
19779
+ 'orderId': string;
19780
+ /**
19781
+ *
19782
+ * @type {PosBulkStatusSkipReason}
19783
+ * @memberof PosOrderLeftAsItIsDto
19784
+ */
19785
+ 'reason': PosBulkStatusSkipReason;
19786
+ }
19610
19787
  /**
19611
19788
  *
19612
19789
  * @export
@@ -22793,6 +22970,71 @@ export interface RejectOrderDto {
22793
22970
  */
22794
22971
  'reason': string;
22795
22972
  }
22973
+ /**
22974
+ *
22975
+ * @export
22976
+ * @enum {string}
22977
+ */
22978
+ export declare const ReportApp: {
22979
+ readonly Pos: "pos";
22980
+ readonly Kiosk: "kiosk";
22981
+ readonly Storefront: "storefront";
22982
+ readonly Mobile: "mobile";
22983
+ };
22984
+ export type ReportApp = typeof ReportApp[keyof typeof ReportApp];
22985
+ /**
22986
+ *
22987
+ * @export
22988
+ * @enum {string}
22989
+ */
22990
+ export declare const ReportBaselineLeftOut: {
22991
+ readonly IsTheBaseline: "is_the_baseline";
22992
+ readonly OtherCurrency: "other_currency";
22993
+ };
22994
+ export type ReportBaselineLeftOut = typeof ReportBaselineLeftOut[keyof typeof ReportBaselineLeftOut];
22995
+ /**
22996
+ *
22997
+ * @export
22998
+ * @enum {string}
22999
+ */
23000
+ export declare const ReportBreakdown: {
23001
+ readonly None: "none";
23002
+ readonly Venue: "venue";
23003
+ readonly App: "app";
23004
+ readonly VenueApp: "venue_app";
23005
+ };
23006
+ export type ReportBreakdown = typeof ReportBreakdown[keyof typeof ReportBreakdown];
23007
+ /**
23008
+ *
23009
+ * @export
23010
+ * @enum {string}
23011
+ */
23012
+ export declare const ReportChangeField: {
23013
+ readonly SalesReportTotalQuantity: "salesReport.totalQuantity";
23014
+ readonly SalesReportTotalWithTax: "salesReport.totalWithTax";
23015
+ readonly SalesReportTotalTaxAmount: "salesReport.totalTaxAmount";
23016
+ readonly SalesReportTotalWithoutTax: "salesReport.totalWithoutTax";
23017
+ readonly SalesReportDeliveryFee: "salesReport.deliveryFee";
23018
+ readonly SalesReportDeliveryTax: "salesReport.deliveryTax";
23019
+ readonly PaymentReportSummarySalesAndRevenue: "paymentReport.summary.salesAndRevenue";
23020
+ readonly PaymentReportSummaryGrossAmount: "paymentReport.summary.grossAmount";
23021
+ readonly PaymentReportSummaryTotalCount: "paymentReport.summary.totalCount";
23022
+ readonly PaymentReportSummaryTotalAmount: "paymentReport.summary.totalAmount";
23023
+ readonly PaymentReportSummaryCardsCount: "paymentReport.summary.cardsCount";
23024
+ readonly PaymentReportSummaryCardsAmount: "paymentReport.summary.cardsAmount";
23025
+ readonly PaymentReportSummaryEdenredVoucherCount: "paymentReport.summary.edenredVoucherCount";
23026
+ readonly PaymentReportSummaryEdenredVoucherAmount: "paymentReport.summary.edenredVoucherAmount";
23027
+ readonly PaymentReportSummarySmartumVoucherCount: "paymentReport.summary.smartumVoucherCount";
23028
+ readonly PaymentReportSummarySmartumVoucherAmount: "paymentReport.summary.smartumVoucherAmount";
23029
+ readonly PaymentReportSummaryTotalCoupons: "paymentReport.summary.totalCoupons";
23030
+ readonly PaymentReportSummaryTotalVoucherForfeited: "paymentReport.summary.totalVoucherForfeited";
23031
+ readonly PaymentReportSummaryTotalTipAmount: "paymentReport.summary.totalTipAmount";
23032
+ readonly PaymentReportSummaryTotalSurchargeAmount: "paymentReport.summary.totalSurchargeAmount";
23033
+ readonly PaymentReportSummaryTotalRefunds: "paymentReport.summary.totalRefunds";
23034
+ readonly PaymentReportSummaryRefundCount: "paymentReport.summary.refundCount";
23035
+ readonly PaymentReportTotalDiscounts: "paymentReport.totalDiscounts";
23036
+ };
23037
+ export type ReportChangeField = typeof ReportChangeField[keyof typeof ReportChangeField];
22796
23038
  /**
22797
23039
  *
22798
23040
  * @export
@@ -22803,6 +23045,19 @@ export declare const ReportLanguage: {
22803
23045
  readonly En: "en";
22804
23046
  };
22805
23047
  export type ReportLanguage = typeof ReportLanguage[keyof typeof ReportLanguage];
23048
+ /**
23049
+ *
23050
+ * @export
23051
+ * @enum {string}
23052
+ */
23053
+ export declare const ReportPart: {
23054
+ readonly Summary: "summary";
23055
+ readonly Items: "items";
23056
+ readonly Vat: "vat";
23057
+ readonly Payments: "payments";
23058
+ readonly Discounts: "discounts";
23059
+ };
23060
+ export type ReportPart = typeof ReportPart[keyof typeof ReportPart];
22806
23061
  /**
22807
23062
  *
22808
23063
  * @export
@@ -23308,6 +23563,1016 @@ export declare const SYNCKEY: {
23308
23563
  readonly ReceiptFooter: "RECEIPT_FOOTER";
23309
23564
  };
23310
23565
  export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
23566
+ /**
23567
+ *
23568
+ * @export
23569
+ * @interface SalesReportCategoryDto
23570
+ */
23571
+ export interface SalesReportCategoryDto {
23572
+ /**
23573
+ * The category\'s name
23574
+ * @type {string}
23575
+ * @memberof SalesReportCategoryDto
23576
+ */
23577
+ 'categoryName': string;
23578
+ /**
23579
+ * How many of its items were sold
23580
+ * @type {number}
23581
+ * @memberof SalesReportCategoryDto
23582
+ */
23583
+ 'totalQuantity': number;
23584
+ /**
23585
+ * Sales with VAT, in the major unit of the group\'s currency (euros for EUR)
23586
+ * @type {number}
23587
+ * @memberof SalesReportCategoryDto
23588
+ */
23589
+ 'totalWithTax': number;
23590
+ /**
23591
+ * The VAT, in the major unit of the group\'s currency (euros for EUR)
23592
+ * @type {number}
23593
+ * @memberof SalesReportCategoryDto
23594
+ */
23595
+ 'taxAmount': number;
23596
+ /**
23597
+ * Sales without VAT, in the major unit of the group\'s currency (euros for EUR)
23598
+ * @type {number}
23599
+ * @memberof SalesReportCategoryDto
23600
+ */
23601
+ 'totalWithoutTax': number;
23602
+ /**
23603
+ * Its items
23604
+ * @type {Array<SalesReportItemDto>}
23605
+ * @memberof SalesReportCategoryDto
23606
+ */
23607
+ 'items': Array<SalesReportItemDto>;
23608
+ }
23609
+ /**
23610
+ *
23611
+ * @export
23612
+ * @interface SalesReportChangeDto
23613
+ */
23614
+ export interface SalesReportChangeDto {
23615
+ /**
23616
+ *
23617
+ * @type {ReportChangeField}
23618
+ * @memberof SalesReportChangeDto
23619
+ */
23620
+ 'field': ReportChangeField;
23621
+ /**
23622
+ * The total of the asked period, as the group answers it; 0 when only the compared period has it. Money in the major unit of the group\'s currency (euros for EUR)
23623
+ * @type {number}
23624
+ * @memberof SalesReportChangeDto
23625
+ */
23626
+ 'current': number;
23627
+ /**
23628
+ * The total of the compared period, as comparison answers it; 0 when only the asked period has it. Money in the major unit of the group\'s currency (euros for EUR)
23629
+ * @type {number}
23630
+ * @memberof SalesReportChangeDto
23631
+ */
23632
+ 'previous': number;
23633
+ /**
23634
+ * current less previous, worked out in exact decimals, so it carries the digits both totals carry and no float error: to the minor unit for POS, every digit of v2\'s exact sums
23635
+ * @type {number}
23636
+ * @memberof SalesReportChangeDto
23637
+ */
23638
+ 'difference': number;
23639
+ /**
23640
+ * difference as a percent of previous, rounded half away from zero to 2 decimals; negative when the total fell. Null when previous is 0
23641
+ * @type {object}
23642
+ * @memberof SalesReportChangeDto
23643
+ */
23644
+ 'percent': object | null;
23645
+ }
23646
+ /**
23647
+ *
23648
+ * @export
23649
+ * @interface SalesReportComparisonDto
23650
+ */
23651
+ export interface SalesReportComparisonDto {
23652
+ /**
23653
+ * The first instant of the compared period, ISO 8601 in UTC
23654
+ * @type {string}
23655
+ * @memberof SalesReportComparisonDto
23656
+ */
23657
+ 'reportDateStart': string;
23658
+ /**
23659
+ * The last instant of the compared period, ISO 8601 in UTC; now, when the period ends later
23660
+ * @type {string}
23661
+ * @memberof SalesReportComparisonDto
23662
+ */
23663
+ 'reportDateEnd': string;
23664
+ /**
23665
+ * The first business day compared, YYYY-MM-DD, in the report\'s time zone
23666
+ * @type {string}
23667
+ * @memberof SalesReportComparisonDto
23668
+ */
23669
+ 'firstBusinessDay': string;
23670
+ /**
23671
+ * The last business day compared, YYYY-MM-DD, inclusive
23672
+ * @type {string}
23673
+ * @memberof SalesReportComparisonDto
23674
+ */
23675
+ 'lastBusinessDay': string;
23676
+ /**
23677
+ *
23678
+ * @type {SalesReportComparisonDtoSalesReport}
23679
+ * @memberof SalesReportComparisonDto
23680
+ */
23681
+ 'salesReport'?: SalesReportComparisonDtoSalesReport;
23682
+ /**
23683
+ *
23684
+ * @type {SalesReportComparisonDtoPaymentReport}
23685
+ * @memberof SalesReportComparisonDto
23686
+ */
23687
+ 'paymentReport'?: SalesReportComparisonDtoPaymentReport;
23688
+ /**
23689
+ * The compared period\'s days that sold, oldest first, as the group\'s own dailyBreakdown: present when it is
23690
+ * @type {Array<SalesReportDayDto>}
23691
+ * @memberof SalesReportComparisonDto
23692
+ */
23693
+ 'dailyBreakdown'?: Array<SalesReportDayDto>;
23694
+ /**
23695
+ * The change of each total either period answers, in ReportChangeField\'s order; empty when part summary was not asked
23696
+ * @type {Array<SalesReportChangeDto>}
23697
+ * @memberof SalesReportComparisonDto
23698
+ */
23699
+ 'changes': Array<SalesReportChangeDto>;
23700
+ }
23701
+ /**
23702
+ * The compared period\'s paymentReport, as the group\'s own: present when it is
23703
+ * @export
23704
+ * @interface SalesReportComparisonDtoPaymentReport
23705
+ */
23706
+ export interface SalesReportComparisonDtoPaymentReport {
23707
+ /**
23708
+ * Part payments: one row per payment method
23709
+ * @type {Array<SalesReportPaymentMethodDto>}
23710
+ * @memberof SalesReportComparisonDtoPaymentReport
23711
+ */
23712
+ 'paymentMethods'?: Array<SalesReportPaymentMethodDto>;
23713
+ /**
23714
+ *
23715
+ * @type {SalesReportPaymentsDtoSummary}
23716
+ * @memberof SalesReportComparisonDtoPaymentReport
23717
+ */
23718
+ 'summary'?: SalesReportPaymentsDtoSummary;
23719
+ /**
23720
+ * Part discounts: one row per discount
23721
+ * @type {Array<SalesReportDiscountDto>}
23722
+ * @memberof SalesReportComparisonDtoPaymentReport
23723
+ */
23724
+ 'discounts'?: Array<SalesReportDiscountDto>;
23725
+ /**
23726
+ * Part summary: every discount given, in the major unit of the group\'s currency (euros for EUR)
23727
+ * @type {number}
23728
+ * @memberof SalesReportComparisonDtoPaymentReport
23729
+ */
23730
+ 'totalDiscounts'?: number;
23731
+ }
23732
+ /**
23733
+ * The compared period\'s salesReport, as the group\'s own: present when it is
23734
+ * @export
23735
+ * @interface SalesReportComparisonDtoSalesReport
23736
+ */
23737
+ export interface SalesReportComparisonDtoSalesReport {
23738
+ /**
23739
+ * Part items: the categories with their items
23740
+ * @type {Array<SalesReportCategoryDto>}
23741
+ * @memberof SalesReportComparisonDtoSalesReport
23742
+ */
23743
+ 'categories'?: Array<SalesReportCategoryDto>;
23744
+ /**
23745
+ * Part vat: one row per VAT rate, lowest first
23746
+ * @type {Array<SalesReportVatRateDto>}
23747
+ * @memberof SalesReportComparisonDtoSalesReport
23748
+ */
23749
+ 'taxSummary'?: Array<SalesReportVatRateDto>;
23750
+ /**
23751
+ * Part summary: how many items were sold
23752
+ * @type {number}
23753
+ * @memberof SalesReportComparisonDtoSalesReport
23754
+ */
23755
+ 'totalQuantity'?: number;
23756
+ /**
23757
+ * Part summary: sales with VAT, in the major unit of the group\'s currency (euros for EUR)
23758
+ * @type {number}
23759
+ * @memberof SalesReportComparisonDtoSalesReport
23760
+ */
23761
+ 'totalWithTax'?: number;
23762
+ /**
23763
+ * Part summary: the VAT, in the major unit of the group\'s currency (euros for EUR)
23764
+ * @type {number}
23765
+ * @memberof SalesReportComparisonDtoSalesReport
23766
+ */
23767
+ 'totalTaxAmount'?: number;
23768
+ /**
23769
+ * Part summary: sales without VAT, in the major unit of the group\'s currency (euros for EUR)
23770
+ * @type {number}
23771
+ * @memberof SalesReportComparisonDtoSalesReport
23772
+ */
23773
+ 'totalWithoutTax'?: number;
23774
+ /**
23775
+ * Part summary, storefront and mobile: the delivery fees charged, in the major unit of the group\'s currency (euros for EUR); left out when none was
23776
+ * @type {number}
23777
+ * @memberof SalesReportComparisonDtoSalesReport
23778
+ */
23779
+ 'deliveryFee'?: number;
23780
+ /**
23781
+ * Part summary, with deliveryFee: the VAT of the delivery fees, in the major unit of the group\'s currency (euros for EUR)
23782
+ * @type {number}
23783
+ * @memberof SalesReportComparisonDtoSalesReport
23784
+ */
23785
+ 'deliveryTax'?: number;
23786
+ }
23787
+ /**
23788
+ *
23789
+ * @export
23790
+ * @interface SalesReportDayDto
23791
+ */
23792
+ export interface SalesReportDayDto {
23793
+ /**
23794
+ * The business day, YYYY-MM-DD, in the venue\'s own time zone
23795
+ * @type {string}
23796
+ * @memberof SalesReportDayDto
23797
+ */
23798
+ 'date': string;
23799
+ /**
23800
+ * How many orders were sold that day
23801
+ * @type {number}
23802
+ * @memberof SalesReportDayDto
23803
+ */
23804
+ 'orders': number;
23805
+ /**
23806
+ * How many items were sold that day
23807
+ * @type {number}
23808
+ * @memberof SalesReportDayDto
23809
+ */
23810
+ 'quantity': number;
23811
+ /**
23812
+ * What was paid, before refunds, in the major unit of the group\'s currency (euros for EUR)
23813
+ * @type {number}
23814
+ * @memberof SalesReportDayDto
23815
+ */
23816
+ 'sales': number;
23817
+ /**
23818
+ * Refunds of that day\'s orders, in the major unit of the group\'s currency (euros for EUR)
23819
+ * @type {number}
23820
+ * @memberof SalesReportDayDto
23821
+ */
23822
+ 'refunds': number;
23823
+ /**
23824
+ * What was paid, refunds taken off, in the major unit of the group\'s currency (euros for EUR)
23825
+ * @type {number}
23826
+ * @memberof SalesReportDayDto
23827
+ */
23828
+ 'net': number;
23829
+ /**
23830
+ * Discounts given that day, in the major unit of the group\'s currency (euros for EUR)
23831
+ * @type {number}
23832
+ * @memberof SalesReportDayDto
23833
+ */
23834
+ 'discounts': number;
23835
+ /**
23836
+ * The VAT of the items sold that day, in the major unit of the group\'s currency (euros for EUR)
23837
+ * @type {number}
23838
+ * @memberof SalesReportDayDto
23839
+ */
23840
+ 'taxAmount': number;
23841
+ }
23842
+ /**
23843
+ *
23844
+ * @export
23845
+ * @interface SalesReportDiscountDto
23846
+ */
23847
+ export interface SalesReportDiscountDto {
23848
+ /**
23849
+ * The discount\'s name
23850
+ * @type {string}
23851
+ * @memberof SalesReportDiscountDto
23852
+ */
23853
+ 'discountName': string;
23854
+ /**
23855
+ * How many times it was given
23856
+ * @type {number}
23857
+ * @memberof SalesReportDiscountDto
23858
+ */
23859
+ 'count': number;
23860
+ /**
23861
+ * What it took off, in the major unit of the group\'s currency (euros for EUR)
23862
+ * @type {number}
23863
+ * @memberof SalesReportDiscountDto
23864
+ */
23865
+ 'amount': number;
23866
+ }
23867
+ /**
23868
+ *
23869
+ * @export
23870
+ * @interface SalesReportGroupDto
23871
+ */
23872
+ export interface SalesReportGroupDto {
23873
+ /**
23874
+ * The venue\'s business id; null when the breakdown adds venues together (none, app)
23875
+ * @type {object}
23876
+ * @memberof SalesReportGroupDto
23877
+ */
23878
+ 'businessId': object | null;
23879
+ /**
23880
+ *
23881
+ * @type {ReportApp}
23882
+ * @memberof SalesReportGroupDto
23883
+ */
23884
+ 'app': ReportApp | null;
23885
+ /**
23886
+ *
23887
+ * @type {CurrencyCode}
23888
+ * @memberof SalesReportGroupDto
23889
+ */
23890
+ 'currency': CurrencyCode;
23891
+ /**
23892
+ * The currency\'s ISO 4217 minor digits: EUR 2, ISK 0, BHD 3
23893
+ * @type {number}
23894
+ * @memberof SalesReportGroupDto
23895
+ */
23896
+ 'minorDigits': number;
23897
+ /**
23898
+ *
23899
+ * @type {SalesReportGroupDtoSalesReport}
23900
+ * @memberof SalesReportGroupDto
23901
+ */
23902
+ 'salesReport'?: SalesReportGroupDtoSalesReport;
23903
+ /**
23904
+ *
23905
+ * @type {SalesReportGroupDtoPaymentReport}
23906
+ * @memberof SalesReportGroupDto
23907
+ */
23908
+ 'paymentReport'?: SalesReportGroupDtoPaymentReport;
23909
+ /**
23910
+ * Part summary: one row per business day that sold, oldest first. POS leaves it out when no day sold
23911
+ * @type {Array<SalesReportDayDto>}
23912
+ * @memberof SalesReportGroupDto
23913
+ */
23914
+ 'dailyBreakdown'?: Array<SalesReportDayDto>;
23915
+ /**
23916
+ *
23917
+ * @type {SalesReportGroupDtoComparison}
23918
+ * @memberof SalesReportGroupDto
23919
+ */
23920
+ 'comparison'?: SalesReportGroupDtoComparison;
23921
+ /**
23922
+ * With baseline, every group but the baseline: the change of each total from the baseline group of the same currency (current: this group; previous: the baseline), of the main period only, worked out exactly
23923
+ * @type {Array<SalesReportChangeDto>}
23924
+ * @memberof SalesReportGroupDto
23925
+ */
23926
+ 'changesFromBaseline'?: Array<SalesReportChangeDto>;
23927
+ /**
23928
+ *
23929
+ * @type {ReportBaselineLeftOut}
23930
+ * @memberof SalesReportGroupDto
23931
+ */
23932
+ 'changesFromBaselineLeftOut'?: ReportBaselineLeftOut;
23933
+ }
23934
+ /**
23935
+ * With compareStart and compareEnd: the same group\'s report of those days and the change of each total. Left out without them
23936
+ * @export
23937
+ * @interface SalesReportGroupDtoComparison
23938
+ */
23939
+ export interface SalesReportGroupDtoComparison {
23940
+ /**
23941
+ * The first instant of the compared period, ISO 8601 in UTC
23942
+ * @type {string}
23943
+ * @memberof SalesReportGroupDtoComparison
23944
+ */
23945
+ 'reportDateStart': string;
23946
+ /**
23947
+ * The last instant of the compared period, ISO 8601 in UTC; now, when the period ends later
23948
+ * @type {string}
23949
+ * @memberof SalesReportGroupDtoComparison
23950
+ */
23951
+ 'reportDateEnd': string;
23952
+ /**
23953
+ * The first business day compared, YYYY-MM-DD, in the report\'s time zone
23954
+ * @type {string}
23955
+ * @memberof SalesReportGroupDtoComparison
23956
+ */
23957
+ 'firstBusinessDay': string;
23958
+ /**
23959
+ * The last business day compared, YYYY-MM-DD, inclusive
23960
+ * @type {string}
23961
+ * @memberof SalesReportGroupDtoComparison
23962
+ */
23963
+ 'lastBusinessDay': string;
23964
+ /**
23965
+ *
23966
+ * @type {SalesReportComparisonDtoSalesReport}
23967
+ * @memberof SalesReportGroupDtoComparison
23968
+ */
23969
+ 'salesReport'?: SalesReportComparisonDtoSalesReport;
23970
+ /**
23971
+ *
23972
+ * @type {SalesReportComparisonDtoPaymentReport}
23973
+ * @memberof SalesReportGroupDtoComparison
23974
+ */
23975
+ 'paymentReport'?: SalesReportComparisonDtoPaymentReport;
23976
+ /**
23977
+ * The compared period\'s days that sold, oldest first, as the group\'s own dailyBreakdown: present when it is
23978
+ * @type {Array<SalesReportDayDto>}
23979
+ * @memberof SalesReportGroupDtoComparison
23980
+ */
23981
+ 'dailyBreakdown'?: Array<SalesReportDayDto>;
23982
+ /**
23983
+ * The change of each total either period answers, in ReportChangeField\'s order; empty when part summary was not asked
23984
+ * @type {Array<SalesReportChangeDto>}
23985
+ * @memberof SalesReportGroupDtoComparison
23986
+ */
23987
+ 'changes': Array<SalesReportChangeDto>;
23988
+ }
23989
+ /**
23990
+ * The portal\'s paymentReport for the group: present when part summary, payments or discounts was asked
23991
+ * @export
23992
+ * @interface SalesReportGroupDtoPaymentReport
23993
+ */
23994
+ export interface SalesReportGroupDtoPaymentReport {
23995
+ /**
23996
+ * Part payments: one row per payment method
23997
+ * @type {Array<SalesReportPaymentMethodDto>}
23998
+ * @memberof SalesReportGroupDtoPaymentReport
23999
+ */
24000
+ 'paymentMethods'?: Array<SalesReportPaymentMethodDto>;
24001
+ /**
24002
+ *
24003
+ * @type {SalesReportPaymentsDtoSummary}
24004
+ * @memberof SalesReportGroupDtoPaymentReport
24005
+ */
24006
+ 'summary'?: SalesReportPaymentsDtoSummary;
24007
+ /**
24008
+ * Part discounts: one row per discount
24009
+ * @type {Array<SalesReportDiscountDto>}
24010
+ * @memberof SalesReportGroupDtoPaymentReport
24011
+ */
24012
+ 'discounts'?: Array<SalesReportDiscountDto>;
24013
+ /**
24014
+ * Part summary: every discount given, in the major unit of the group\'s currency (euros for EUR)
24015
+ * @type {number}
24016
+ * @memberof SalesReportGroupDtoPaymentReport
24017
+ */
24018
+ 'totalDiscounts'?: number;
24019
+ }
24020
+ /**
24021
+ * The portal\'s salesReport for the group: present when part summary, items or vat was asked. One app answers as its portal report does (POS as report-service, kiosk, storefront and mobile as dashboard v2); several apps added together answer as v2
24022
+ * @export
24023
+ * @interface SalesReportGroupDtoSalesReport
24024
+ */
24025
+ export interface SalesReportGroupDtoSalesReport {
24026
+ /**
24027
+ * Part items: the categories with their items
24028
+ * @type {Array<SalesReportCategoryDto>}
24029
+ * @memberof SalesReportGroupDtoSalesReport
24030
+ */
24031
+ 'categories'?: Array<SalesReportCategoryDto>;
24032
+ /**
24033
+ * Part vat: one row per VAT rate, lowest first
24034
+ * @type {Array<SalesReportVatRateDto>}
24035
+ * @memberof SalesReportGroupDtoSalesReport
24036
+ */
24037
+ 'taxSummary'?: Array<SalesReportVatRateDto>;
24038
+ /**
24039
+ * Part summary: how many items were sold
24040
+ * @type {number}
24041
+ * @memberof SalesReportGroupDtoSalesReport
24042
+ */
24043
+ 'totalQuantity'?: number;
24044
+ /**
24045
+ * Part summary: sales with VAT, in the major unit of the group\'s currency (euros for EUR)
24046
+ * @type {number}
24047
+ * @memberof SalesReportGroupDtoSalesReport
24048
+ */
24049
+ 'totalWithTax'?: number;
24050
+ /**
24051
+ * Part summary: the VAT, in the major unit of the group\'s currency (euros for EUR)
24052
+ * @type {number}
24053
+ * @memberof SalesReportGroupDtoSalesReport
24054
+ */
24055
+ 'totalTaxAmount'?: number;
24056
+ /**
24057
+ * Part summary: sales without VAT, in the major unit of the group\'s currency (euros for EUR)
24058
+ * @type {number}
24059
+ * @memberof SalesReportGroupDtoSalesReport
24060
+ */
24061
+ 'totalWithoutTax'?: number;
24062
+ /**
24063
+ * Part summary, storefront and mobile: the delivery fees charged, in the major unit of the group\'s currency (euros for EUR); left out when none was
24064
+ * @type {number}
24065
+ * @memberof SalesReportGroupDtoSalesReport
24066
+ */
24067
+ 'deliveryFee'?: number;
24068
+ /**
24069
+ * Part summary, with deliveryFee: the VAT of the delivery fees, in the major unit of the group\'s currency (euros for EUR)
24070
+ * @type {number}
24071
+ * @memberof SalesReportGroupDtoSalesReport
24072
+ */
24073
+ 'deliveryTax'?: number;
24074
+ }
24075
+ /**
24076
+ *
24077
+ * @export
24078
+ * @interface SalesReportItemDto
24079
+ */
24080
+ export interface SalesReportItemDto {
24081
+ /**
24082
+ * The item\'s name. POS: its first sale\'s name and VAT rate, as the portal shows it
24083
+ * @type {object}
24084
+ * @memberof SalesReportItemDto
24085
+ */
24086
+ 'name': object | null;
24087
+ /**
24088
+ * The product\'s id; null when the sale carried none
24089
+ * @type {object}
24090
+ * @memberof SalesReportItemDto
24091
+ */
24092
+ 'productId': object | null;
24093
+ /**
24094
+ * How many were sold
24095
+ * @type {number}
24096
+ * @memberof SalesReportItemDto
24097
+ */
24098
+ 'quantity': number;
24099
+ /**
24100
+ * Sales with VAT, in the major unit of the group\'s currency (euros for EUR)
24101
+ * @type {number}
24102
+ * @memberof SalesReportItemDto
24103
+ */
24104
+ 'totalWithTax': number;
24105
+ /**
24106
+ * The VAT, in the major unit of the group\'s currency (euros for EUR)
24107
+ * @type {number}
24108
+ * @memberof SalesReportItemDto
24109
+ */
24110
+ 'taxAmount': number;
24111
+ /**
24112
+ * Sales without VAT, in the major unit of the group\'s currency (euros for EUR)
24113
+ * @type {number}
24114
+ * @memberof SalesReportItemDto
24115
+ */
24116
+ 'totalWithoutTax': number;
24117
+ /**
24118
+ * The VAT rate in percent; null when none was recorded
24119
+ * @type {object}
24120
+ * @memberof SalesReportItemDto
24121
+ */
24122
+ 'taxRate': object | null;
24123
+ /**
24124
+ * The options sold with the item; left out when none was
24125
+ * @type {Array<SalesReportOptionDto>}
24126
+ * @memberof SalesReportItemDto
24127
+ */
24128
+ 'subOptions'?: Array<SalesReportOptionDto>;
24129
+ }
24130
+ /**
24131
+ *
24132
+ * @export
24133
+ * @interface SalesReportOptionDto
24134
+ */
24135
+ export interface SalesReportOptionDto {
24136
+ /**
24137
+ * The option\'s name
24138
+ * @type {string}
24139
+ * @memberof SalesReportOptionDto
24140
+ */
24141
+ 'name': string;
24142
+ /**
24143
+ * How many were sold
24144
+ * @type {number}
24145
+ * @memberof SalesReportOptionDto
24146
+ */
24147
+ 'quantity': number;
24148
+ /**
24149
+ * Sales with VAT, in the major unit of the group\'s currency (euros for EUR)
24150
+ * @type {number}
24151
+ * @memberof SalesReportOptionDto
24152
+ */
24153
+ 'totalWithTax': number;
24154
+ /**
24155
+ * The VAT, in the major unit of the group\'s currency (euros for EUR)
24156
+ * @type {number}
24157
+ * @memberof SalesReportOptionDto
24158
+ */
24159
+ 'taxAmount': number;
24160
+ /**
24161
+ * Sales without VAT, in the major unit of the group\'s currency (euros for EUR)
24162
+ * @type {number}
24163
+ * @memberof SalesReportOptionDto
24164
+ */
24165
+ 'totalWithoutTax': number;
24166
+ /**
24167
+ * The VAT rate in percent; null when none was recorded
24168
+ * @type {object}
24169
+ * @memberof SalesReportOptionDto
24170
+ */
24171
+ 'taxRate': object | null;
24172
+ }
24173
+ /**
24174
+ *
24175
+ * @export
24176
+ * @interface SalesReportPaymentMethodDto
24177
+ */
24178
+ export interface SalesReportPaymentMethodDto {
24179
+ /**
24180
+ * The payment method, as the app records it
24181
+ * @type {string}
24182
+ * @memberof SalesReportPaymentMethodDto
24183
+ */
24184
+ 'paymentMethod': string;
24185
+ /**
24186
+ * How many payments were made with it
24187
+ * @type {number}
24188
+ * @memberof SalesReportPaymentMethodDto
24189
+ */
24190
+ 'count': number;
24191
+ /**
24192
+ * What was paid with it, in the major unit of the group\'s currency (euros for EUR)
24193
+ * @type {number}
24194
+ * @memberof SalesReportPaymentMethodDto
24195
+ */
24196
+ 'amount': number;
24197
+ }
24198
+ /**
24199
+ *
24200
+ * @export
24201
+ * @interface SalesReportPaymentSummaryDto
24202
+ */
24203
+ export interface SalesReportPaymentSummaryDto {
24204
+ /**
24205
+ * Tips, in the major unit of the group\'s currency (euros for EUR)
24206
+ * @type {number}
24207
+ * @memberof SalesReportPaymentSummaryDto
24208
+ */
24209
+ 'totalTipAmount': number;
24210
+ /**
24211
+ * Surcharges, in the major unit of the group\'s currency (euros for EUR)
24212
+ * @type {number}
24213
+ * @memberof SalesReportPaymentSummaryDto
24214
+ */
24215
+ 'totalSurchargeAmount': number;
24216
+ /**
24217
+ * What was paid, refunds taken off, in the major unit of the group\'s currency (euros for EUR)
24218
+ * @type {number}
24219
+ * @memberof SalesReportPaymentSummaryDto
24220
+ */
24221
+ 'salesAndRevenue': number;
24222
+ /**
24223
+ * How many card payments were made
24224
+ * @type {number}
24225
+ * @memberof SalesReportPaymentSummaryDto
24226
+ */
24227
+ 'cardsCount': number;
24228
+ /**
24229
+ * What was paid by card, in the major unit of the group\'s currency (euros for EUR)
24230
+ * @type {number}
24231
+ * @memberof SalesReportPaymentSummaryDto
24232
+ */
24233
+ 'cardsAmount': number;
24234
+ /**
24235
+ * How many Edenred vouchers were paid with
24236
+ * @type {number}
24237
+ * @memberof SalesReportPaymentSummaryDto
24238
+ */
24239
+ 'edenredVoucherCount': number;
24240
+ /**
24241
+ * What was paid with Edenred vouchers, in the major unit of the group\'s currency (euros for EUR)
24242
+ * @type {number}
24243
+ * @memberof SalesReportPaymentSummaryDto
24244
+ */
24245
+ 'edenredVoucherAmount': number;
24246
+ /**
24247
+ * How many Smartum vouchers were paid with
24248
+ * @type {number}
24249
+ * @memberof SalesReportPaymentSummaryDto
24250
+ */
24251
+ 'smartumVoucherCount': number;
24252
+ /**
24253
+ * What was paid with Smartum vouchers, in the major unit of the group\'s currency (euros for EUR)
24254
+ * @type {number}
24255
+ * @memberof SalesReportPaymentSummaryDto
24256
+ */
24257
+ 'smartumVoucherAmount': number;
24258
+ /**
24259
+ * How many payments were made
24260
+ * @type {number}
24261
+ * @memberof SalesReportPaymentSummaryDto
24262
+ */
24263
+ 'totalCount': number;
24264
+ /**
24265
+ * The same as salesAndRevenue, in the major unit of the group\'s currency (euros for EUR)
24266
+ * @type {number}
24267
+ * @memberof SalesReportPaymentSummaryDto
24268
+ */
24269
+ 'totalAmount': number;
24270
+ /**
24271
+ * Always 0: no app records coupons here
24272
+ * @type {number}
24273
+ * @memberof SalesReportPaymentSummaryDto
24274
+ */
24275
+ 'totalCoupons': number;
24276
+ /**
24277
+ * Vouchers\' leftover that was not given back, in the major unit of the group\'s currency (euros for EUR)
24278
+ * @type {number}
24279
+ * @memberof SalesReportPaymentSummaryDto
24280
+ */
24281
+ 'totalVoucherForfeited': number;
24282
+ /**
24283
+ * POS only: what was paid before refunds, in the major unit of the group\'s currency (euros for EUR)
24284
+ * @type {number}
24285
+ * @memberof SalesReportPaymentSummaryDto
24286
+ */
24287
+ 'grossAmount'?: number;
24288
+ /**
24289
+ * Refunds, in the major unit of the group\'s currency (euros for EUR), on the day of the order they refund
24290
+ * @type {number}
24291
+ * @memberof SalesReportPaymentSummaryDto
24292
+ */
24293
+ 'totalRefunds': number;
24294
+ /**
24295
+ * How many refunds were made
24296
+ * @type {number}
24297
+ * @memberof SalesReportPaymentSummaryDto
24298
+ */
24299
+ 'refundCount': number;
24300
+ }
24301
+ /**
24302
+ *
24303
+ * @export
24304
+ * @interface SalesReportPaymentsDto
24305
+ */
24306
+ export interface SalesReportPaymentsDto {
24307
+ /**
24308
+ * Part payments: one row per payment method
24309
+ * @type {Array<SalesReportPaymentMethodDto>}
24310
+ * @memberof SalesReportPaymentsDto
24311
+ */
24312
+ 'paymentMethods'?: Array<SalesReportPaymentMethodDto>;
24313
+ /**
24314
+ *
24315
+ * @type {SalesReportPaymentsDtoSummary}
24316
+ * @memberof SalesReportPaymentsDto
24317
+ */
24318
+ 'summary'?: SalesReportPaymentsDtoSummary;
24319
+ /**
24320
+ * Part discounts: one row per discount
24321
+ * @type {Array<SalesReportDiscountDto>}
24322
+ * @memberof SalesReportPaymentsDto
24323
+ */
24324
+ 'discounts'?: Array<SalesReportDiscountDto>;
24325
+ /**
24326
+ * Part summary: every discount given, in the major unit of the group\'s currency (euros for EUR)
24327
+ * @type {number}
24328
+ * @memberof SalesReportPaymentsDto
24329
+ */
24330
+ 'totalDiscounts'?: number;
24331
+ }
24332
+ /**
24333
+ * Part summary: the payment totals
24334
+ * @export
24335
+ * @interface SalesReportPaymentsDtoSummary
24336
+ */
24337
+ export interface SalesReportPaymentsDtoSummary {
24338
+ /**
24339
+ * Tips, in the major unit of the group\'s currency (euros for EUR)
24340
+ * @type {number}
24341
+ * @memberof SalesReportPaymentsDtoSummary
24342
+ */
24343
+ 'totalTipAmount': number;
24344
+ /**
24345
+ * Surcharges, in the major unit of the group\'s currency (euros for EUR)
24346
+ * @type {number}
24347
+ * @memberof SalesReportPaymentsDtoSummary
24348
+ */
24349
+ 'totalSurchargeAmount': number;
24350
+ /**
24351
+ * What was paid, refunds taken off, in the major unit of the group\'s currency (euros for EUR)
24352
+ * @type {number}
24353
+ * @memberof SalesReportPaymentsDtoSummary
24354
+ */
24355
+ 'salesAndRevenue': number;
24356
+ /**
24357
+ * How many card payments were made
24358
+ * @type {number}
24359
+ * @memberof SalesReportPaymentsDtoSummary
24360
+ */
24361
+ 'cardsCount': number;
24362
+ /**
24363
+ * What was paid by card, in the major unit of the group\'s currency (euros for EUR)
24364
+ * @type {number}
24365
+ * @memberof SalesReportPaymentsDtoSummary
24366
+ */
24367
+ 'cardsAmount': number;
24368
+ /**
24369
+ * How many Edenred vouchers were paid with
24370
+ * @type {number}
24371
+ * @memberof SalesReportPaymentsDtoSummary
24372
+ */
24373
+ 'edenredVoucherCount': number;
24374
+ /**
24375
+ * What was paid with Edenred vouchers, in the major unit of the group\'s currency (euros for EUR)
24376
+ * @type {number}
24377
+ * @memberof SalesReportPaymentsDtoSummary
24378
+ */
24379
+ 'edenredVoucherAmount': number;
24380
+ /**
24381
+ * How many Smartum vouchers were paid with
24382
+ * @type {number}
24383
+ * @memberof SalesReportPaymentsDtoSummary
24384
+ */
24385
+ 'smartumVoucherCount': number;
24386
+ /**
24387
+ * What was paid with Smartum vouchers, in the major unit of the group\'s currency (euros for EUR)
24388
+ * @type {number}
24389
+ * @memberof SalesReportPaymentsDtoSummary
24390
+ */
24391
+ 'smartumVoucherAmount': number;
24392
+ /**
24393
+ * How many payments were made
24394
+ * @type {number}
24395
+ * @memberof SalesReportPaymentsDtoSummary
24396
+ */
24397
+ 'totalCount': number;
24398
+ /**
24399
+ * The same as salesAndRevenue, in the major unit of the group\'s currency (euros for EUR)
24400
+ * @type {number}
24401
+ * @memberof SalesReportPaymentsDtoSummary
24402
+ */
24403
+ 'totalAmount': number;
24404
+ /**
24405
+ * Always 0: no app records coupons here
24406
+ * @type {number}
24407
+ * @memberof SalesReportPaymentsDtoSummary
24408
+ */
24409
+ 'totalCoupons': number;
24410
+ /**
24411
+ * Vouchers\' leftover that was not given back, in the major unit of the group\'s currency (euros for EUR)
24412
+ * @type {number}
24413
+ * @memberof SalesReportPaymentsDtoSummary
24414
+ */
24415
+ 'totalVoucherForfeited': number;
24416
+ /**
24417
+ * POS only: what was paid before refunds, in the major unit of the group\'s currency (euros for EUR)
24418
+ * @type {number}
24419
+ * @memberof SalesReportPaymentsDtoSummary
24420
+ */
24421
+ 'grossAmount'?: number;
24422
+ /**
24423
+ * Refunds, in the major unit of the group\'s currency (euros for EUR), on the day of the order they refund
24424
+ * @type {number}
24425
+ * @memberof SalesReportPaymentsDtoSummary
24426
+ */
24427
+ 'totalRefunds': number;
24428
+ /**
24429
+ * How many refunds were made
24430
+ * @type {number}
24431
+ * @memberof SalesReportPaymentsDtoSummary
24432
+ */
24433
+ 'refundCount': number;
24434
+ }
24435
+ /**
24436
+ *
24437
+ * @export
24438
+ * @interface SalesReportResponseDto
24439
+ */
24440
+ export interface SalesReportResponseDto {
24441
+ /**
24442
+ * The first instant of the period, ISO 8601 in UTC
24443
+ * @type {string}
24444
+ * @memberof SalesReportResponseDto
24445
+ */
24446
+ 'reportDateStart': string;
24447
+ /**
24448
+ * The last instant of the period, ISO 8601 in UTC; now, when the period ends later
24449
+ * @type {string}
24450
+ * @memberof SalesReportResponseDto
24451
+ */
24452
+ 'reportDateEnd': string;
24453
+ /**
24454
+ * When the report was answered, ISO 8601 in UTC
24455
+ * @type {string}
24456
+ * @memberof SalesReportResponseDto
24457
+ */
24458
+ 'reportGeneratedAt': string;
24459
+ /**
24460
+ * The time zone the period was read in: the request\'s, or else the first venue\'s
24461
+ * @type {string}
24462
+ * @memberof SalesReportResponseDto
24463
+ */
24464
+ 'timezone': string;
24465
+ /**
24466
+ * The first business day added up, YYYY-MM-DD; each venue\'s rows of that date in its own zone
24467
+ * @type {string}
24468
+ * @memberof SalesReportResponseDto
24469
+ */
24470
+ 'firstBusinessDay': string;
24471
+ /**
24472
+ * The last business day added up, YYYY-MM-DD, inclusive
24473
+ * @type {string}
24474
+ * @memberof SalesReportResponseDto
24475
+ */
24476
+ 'lastBusinessDay': string;
24477
+ /**
24478
+ * When the newest daily rows this report reads were rebuilt; a sale after it may not be counted yet (they are rebuilt every 5 minutes). Null when none were ever loaded
24479
+ * @type {object}
24480
+ * @memberof SalesReportResponseDto
24481
+ */
24482
+ 'dataUntil': object | null;
24483
+ /**
24484
+ * One group per venue, app and currency the breakdown keeps; an asked venue that sold nothing answers zeros
24485
+ * @type {Array<SalesReportGroupDto>}
24486
+ * @memberof SalesReportResponseDto
24487
+ */
24488
+ 'reports': Array<SalesReportGroupDto>;
24489
+ }
24490
+ /**
24491
+ *
24492
+ * @export
24493
+ * @interface SalesReportSalesDto
24494
+ */
24495
+ export interface SalesReportSalesDto {
24496
+ /**
24497
+ * Part items: the categories with their items
24498
+ * @type {Array<SalesReportCategoryDto>}
24499
+ * @memberof SalesReportSalesDto
24500
+ */
24501
+ 'categories'?: Array<SalesReportCategoryDto>;
24502
+ /**
24503
+ * Part vat: one row per VAT rate, lowest first
24504
+ * @type {Array<SalesReportVatRateDto>}
24505
+ * @memberof SalesReportSalesDto
24506
+ */
24507
+ 'taxSummary'?: Array<SalesReportVatRateDto>;
24508
+ /**
24509
+ * Part summary: how many items were sold
24510
+ * @type {number}
24511
+ * @memberof SalesReportSalesDto
24512
+ */
24513
+ 'totalQuantity'?: number;
24514
+ /**
24515
+ * Part summary: sales with VAT, in the major unit of the group\'s currency (euros for EUR)
24516
+ * @type {number}
24517
+ * @memberof SalesReportSalesDto
24518
+ */
24519
+ 'totalWithTax'?: number;
24520
+ /**
24521
+ * Part summary: the VAT, in the major unit of the group\'s currency (euros for EUR)
24522
+ * @type {number}
24523
+ * @memberof SalesReportSalesDto
24524
+ */
24525
+ 'totalTaxAmount'?: number;
24526
+ /**
24527
+ * Part summary: sales without VAT, in the major unit of the group\'s currency (euros for EUR)
24528
+ * @type {number}
24529
+ * @memberof SalesReportSalesDto
24530
+ */
24531
+ 'totalWithoutTax'?: number;
24532
+ /**
24533
+ * Part summary, storefront and mobile: the delivery fees charged, in the major unit of the group\'s currency (euros for EUR); left out when none was
24534
+ * @type {number}
24535
+ * @memberof SalesReportSalesDto
24536
+ */
24537
+ 'deliveryFee'?: number;
24538
+ /**
24539
+ * Part summary, with deliveryFee: the VAT of the delivery fees, in the major unit of the group\'s currency (euros for EUR)
24540
+ * @type {number}
24541
+ * @memberof SalesReportSalesDto
24542
+ */
24543
+ 'deliveryTax'?: number;
24544
+ }
24545
+ /**
24546
+ *
24547
+ * @export
24548
+ * @interface SalesReportVatRateDto
24549
+ */
24550
+ export interface SalesReportVatRateDto {
24551
+ /**
24552
+ * The VAT rate in percent
24553
+ * @type {number}
24554
+ * @memberof SalesReportVatRateDto
24555
+ */
24556
+ 'taxRate': number;
24557
+ /**
24558
+ * Sales with VAT at this rate, in the major unit of the group\'s currency (euros for EUR)
24559
+ * @type {number}
24560
+ * @memberof SalesReportVatRateDto
24561
+ */
24562
+ 'totalWithTax': number;
24563
+ /**
24564
+ * The VAT at this rate, in the major unit of the group\'s currency (euros for EUR)
24565
+ * @type {number}
24566
+ * @memberof SalesReportVatRateDto
24567
+ */
24568
+ 'taxAmount': number;
24569
+ /**
24570
+ * Sales without VAT at this rate, in the major unit of the group\'s currency (euros for EUR)
24571
+ * @type {number}
24572
+ * @memberof SalesReportVatRateDto
24573
+ */
24574
+ 'totalWithoutTax': number;
24575
+ }
23311
24576
  /**
23312
24577
  *
23313
24578
  * @export
@@ -28601,6 +29866,32 @@ export interface UpdateReservationPolicyDto {
28601
29866
  * @memberof UpdateReservationPolicyDto
28602
29867
  */
28603
29868
  'maxOnlinePartySize'?: number;
29869
+ /**
29870
+ * The smallest party offered slots online; 1 on create when absent
29871
+ * @type {number}
29872
+ * @memberof UpdateReservationPolicyDto
29873
+ */
29874
+ 'minPartySize'?: number;
29875
+ /**
29876
+ * How many days after today a guest may book: a later day offers no slots; 60 on create when absent
29877
+ * @type {number}
29878
+ * @memberof UpdateReservationPolicyDto
29879
+ */
29880
+ 'maxHorizonDays'?: number;
29881
+ /**
29882
+ * The last seating: no slot starts later than this many minutes before each opening closes; 0 (only the turn must fit) on create when absent
29883
+ * @type {number}
29884
+ * @memberof UpdateReservationPolicyDto
29885
+ */
29886
+ 'cutoffMins'?: number;
29887
+ /**
29888
+ * Minutes a table is held, by party size; a party size missing here takes defaultTurnTimeMins. Replaces the whole table when sent, {} clears it; {} on create when absent
29889
+ * @type {{ [key: string]: number; }}
29890
+ * @memberof UpdateReservationPolicyDto
29891
+ */
29892
+ 'turnTimeByPartySize'?: {
29893
+ [key: string]: number;
29894
+ };
28604
29895
  }
28605
29896
  /**
28606
29897
  *
@@ -29656,12 +30947,6 @@ export interface VendureSellerUpsertDto {
29656
30947
  * @memberof VendureSellerUpsertDto
29657
30948
  */
29658
30949
  'currency'?: string | null;
29659
- /**
29660
- * The time the venue\'s business day ends, \"HH:mm\" 24-hour, in the venue\'s time zone: a sale before it counts on the day before in the day\'s report. Kept on the venue\'s MunchiPos config. Null, absent, or text that is not \"HH:mm\" keeps the stored one; a venue with none ends its day at 05:00
29661
- * @type {string}
29662
- * @memberof VendureSellerUpsertDto
29663
- */
29664
- 'report_time'?: string | null;
29665
30950
  /**
29666
30951
  * Whether the venue is in use. Vendure sends false when the seller is deleted
29667
30952
  * @type {boolean}
@@ -37442,6 +38727,14 @@ export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) =>
37442
38727
  * @throws {RequiredError}
37443
38728
  */
37444
38729
  kdsMarkOrderReady: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38730
+ /**
38731
+ * Written in kds-service, in one call for every order; kds-service decides each order and leaves untouched any it cannot mark ready. It admits a signed-in ticket, whose venue must be on its account, or the Munchi-internal Clerk API key; never the shared service key. A failure there is answered with 200 and status false; when the call fails after kds-service has written (a dropped connection or a timeout), status is false although some tickets were marked ready, and the station\'s next list shows them.
38732
+ * @summary Mark several of a station\'s kitchen orders ready
38733
+ * @param {KdsMarkOrdersReadyDto} kdsMarkOrdersReadyDto The venue, the station, and the ids of its KDS orders to mark ready
38734
+ * @param {*} [options] Override http request option.
38735
+ * @throws {RequiredError}
38736
+ */
38737
+ kdsMarkOrdersReady: (kdsMarkOrdersReadyDto: KdsMarkOrdersReadyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37445
38738
  /**
37446
38739
  * Written in kds-service. A failure there is answered with 200 and status false.
37447
38740
  * @summary Revert a station\'s kitchen order back to in progress
@@ -37490,6 +38783,14 @@ export declare const KDSApiFp: (configuration?: Configuration) => {
37490
38783
  * @throws {RequiredError}
37491
38784
  */
37492
38785
  kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsReadyOrderResponseDto>>;
38786
+ /**
38787
+ * Written in kds-service, in one call for every order; kds-service decides each order and leaves untouched any it cannot mark ready. It admits a signed-in ticket, whose venue must be on its account, or the Munchi-internal Clerk API key; never the shared service key. A failure there is answered with 200 and status false; when the call fails after kds-service has written (a dropped connection or a timeout), status is false although some tickets were marked ready, and the station\'s next list shows them.
38788
+ * @summary Mark several of a station\'s kitchen orders ready
38789
+ * @param {KdsMarkOrdersReadyDto} kdsMarkOrdersReadyDto The venue, the station, and the ids of its KDS orders to mark ready
38790
+ * @param {*} [options] Override http request option.
38791
+ * @throws {RequiredError}
38792
+ */
38793
+ kdsMarkOrdersReady(kdsMarkOrdersReadyDto: KdsMarkOrdersReadyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsReadyOrdersResponseDto>>;
37493
38794
  /**
37494
38795
  * Written in kds-service. A failure there is answered with 200 and status false.
37495
38796
  * @summary Revert a station\'s kitchen order back to in progress
@@ -37538,6 +38839,14 @@ export declare const KDSApiFactory: (configuration?: Configuration, basePath?: s
37538
38839
  * @throws {RequiredError}
37539
38840
  */
37540
38841
  kdsMarkOrderReady(id: string, options?: any): AxiosPromise<KdsReadyOrderResponseDto>;
38842
+ /**
38843
+ * Written in kds-service, in one call for every order; kds-service decides each order and leaves untouched any it cannot mark ready. It admits a signed-in ticket, whose venue must be on its account, or the Munchi-internal Clerk API key; never the shared service key. A failure there is answered with 200 and status false; when the call fails after kds-service has written (a dropped connection or a timeout), status is false although some tickets were marked ready, and the station\'s next list shows them.
38844
+ * @summary Mark several of a station\'s kitchen orders ready
38845
+ * @param {KdsMarkOrdersReadyDto} kdsMarkOrdersReadyDto The venue, the station, and the ids of its KDS orders to mark ready
38846
+ * @param {*} [options] Override http request option.
38847
+ * @throws {RequiredError}
38848
+ */
38849
+ kdsMarkOrdersReady(kdsMarkOrdersReadyDto: KdsMarkOrdersReadyDto, options?: any): AxiosPromise<KdsReadyOrdersResponseDto>;
37541
38850
  /**
37542
38851
  * Written in kds-service. A failure there is answered with 200 and status false.
37543
38852
  * @summary Revert a station\'s kitchen order back to in progress
@@ -37590,6 +38899,15 @@ export interface KDSApiInterface {
37590
38899
  * @memberof KDSApiInterface
37591
38900
  */
37592
38901
  kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsReadyOrderResponseDto>;
38902
+ /**
38903
+ * Written in kds-service, in one call for every order; kds-service decides each order and leaves untouched any it cannot mark ready. It admits a signed-in ticket, whose venue must be on its account, or the Munchi-internal Clerk API key; never the shared service key. A failure there is answered with 200 and status false; when the call fails after kds-service has written (a dropped connection or a timeout), status is false although some tickets were marked ready, and the station\'s next list shows them.
38904
+ * @summary Mark several of a station\'s kitchen orders ready
38905
+ * @param {KdsMarkOrdersReadyDto} kdsMarkOrdersReadyDto The venue, the station, and the ids of its KDS orders to mark ready
38906
+ * @param {*} [options] Override http request option.
38907
+ * @throws {RequiredError}
38908
+ * @memberof KDSApiInterface
38909
+ */
38910
+ kdsMarkOrdersReady(kdsMarkOrdersReadyDto: KdsMarkOrdersReadyDto, options?: AxiosRequestConfig): AxiosPromise<KdsReadyOrdersResponseDto>;
37593
38911
  /**
37594
38912
  * Written in kds-service. A failure there is answered with 200 and status false.
37595
38913
  * @summary Revert a station\'s kitchen order back to in progress
@@ -37644,6 +38962,15 @@ export declare class KDSApi extends BaseAPI implements KDSApiInterface {
37644
38962
  * @memberof KDSApi
37645
38963
  */
37646
38964
  kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsReadyOrderResponseDto, any, {}>>;
38965
+ /**
38966
+ * Written in kds-service, in one call for every order; kds-service decides each order and leaves untouched any it cannot mark ready. It admits a signed-in ticket, whose venue must be on its account, or the Munchi-internal Clerk API key; never the shared service key. A failure there is answered with 200 and status false; when the call fails after kds-service has written (a dropped connection or a timeout), status is false although some tickets were marked ready, and the station\'s next list shows them.
38967
+ * @summary Mark several of a station\'s kitchen orders ready
38968
+ * @param {KdsMarkOrdersReadyDto} kdsMarkOrdersReadyDto The venue, the station, and the ids of its KDS orders to mark ready
38969
+ * @param {*} [options] Override http request option.
38970
+ * @throws {RequiredError}
38971
+ * @memberof KDSApi
38972
+ */
38973
+ kdsMarkOrdersReady(kdsMarkOrdersReadyDto: KdsMarkOrdersReadyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsReadyOrdersResponseDto, any, {}>>;
37647
38974
  /**
37648
38975
  * Written in kds-service. A failure there is answered with 200 and status false.
37649
38976
  * @summary Revert a station\'s kitchen order back to in progress
@@ -39285,6 +40612,14 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
39285
40612
  * @throws {RequiredError}
39286
40613
  */
39287
40614
  acceptOrder: (acceptOrderDto: AcceptOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40615
+ /**
40616
+ * One tap on a column of the till: Mark all ready (in progress → ready) or Deliver all (ready → delivered). Each id is looked for among the venue\'s tickets, then its orders, all in one Firestore read, and every one that may move is written in the same transaction; the rest are left as they are, each with its reason. Only the till\'s own tickets and orders move, never a channel\'s (Wolt, Foodora, Storefront): their ids are not found. A ticket the kitchen screen owns is never marked ready here, and nothing goes from in progress to delivered. The tills hear the request once: one kitchen_order_sync and one pos_order_change naming every moved id; the integrations hear every moved document in one announcement. Delivered orders earn their members\' loyalty points before the answer, a few at a time; a credit that fails is logged and does not change the answer.
40617
+ * @summary Move the till\'s tickets and orders of one column to the next status
40618
+ * @param {ChangePosOrdersStatusInBulkDto} changePosOrdersStatusInBulkDto The venue, the ids of its tickets and orders, and the status to move them to
40619
+ * @param {*} [options] Override http request option.
40620
+ * @throws {RequiredError}
40621
+ */
40622
+ changePosOrdersStatusInBulk: (changePosOrdersStatusInBulkDto: ChangePosOrdersStatusInBulkDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39288
40623
  /**
39289
40624
  * The till\'s Order Manager confirms a platform preorder with its preparation time. Its pickup time is stored, and a Foodora preorder also moves into preparation. Then the preorder is marked confirmed and the answer leaves; after it, the platform is told, and a courier or a reminder is booked where the channel needs one. A failure in those steps is logged and does not change the answer.
39290
40625
  * @summary Confirm a pre-order
@@ -39417,6 +40752,14 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
39417
40752
  * @throws {RequiredError}
39418
40753
  */
39419
40754
  acceptOrder(acceptOrderDto: AcceptOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderStatusResponseDto>>;
40755
+ /**
40756
+ * One tap on a column of the till: Mark all ready (in progress → ready) or Deliver all (ready → delivered). Each id is looked for among the venue\'s tickets, then its orders, all in one Firestore read, and every one that may move is written in the same transaction; the rest are left as they are, each with its reason. Only the till\'s own tickets and orders move, never a channel\'s (Wolt, Foodora, Storefront): their ids are not found. A ticket the kitchen screen owns is never marked ready here, and nothing goes from in progress to delivered. The tills hear the request once: one kitchen_order_sync and one pos_order_change naming every moved id; the integrations hear every moved document in one announcement. Delivered orders earn their members\' loyalty points before the answer, a few at a time; a credit that fails is logged and does not change the answer.
40757
+ * @summary Move the till\'s tickets and orders of one column to the next status
40758
+ * @param {ChangePosOrdersStatusInBulkDto} changePosOrdersStatusInBulkDto The venue, the ids of its tickets and orders, and the status to move them to
40759
+ * @param {*} [options] Override http request option.
40760
+ * @throws {RequiredError}
40761
+ */
40762
+ changePosOrdersStatusInBulk(changePosOrdersStatusInBulkDto: ChangePosOrdersStatusInBulkDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePosOrdersStatusInBulkResponseDto>>;
39420
40763
  /**
39421
40764
  * The till\'s Order Manager confirms a platform preorder with its preparation time. Its pickup time is stored, and a Foodora preorder also moves into preparation. Then the preorder is marked confirmed and the answer leaves; after it, the platform is told, and a courier or a reminder is booked where the channel needs one. A failure in those steps is logged and does not change the answer.
39422
40765
  * @summary Confirm a pre-order
@@ -39549,6 +40892,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
39549
40892
  * @throws {RequiredError}
39550
40893
  */
39551
40894
  acceptOrder(acceptOrderDto: AcceptOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto>;
40895
+ /**
40896
+ * One tap on a column of the till: Mark all ready (in progress → ready) or Deliver all (ready → delivered). Each id is looked for among the venue\'s tickets, then its orders, all in one Firestore read, and every one that may move is written in the same transaction; the rest are left as they are, each with its reason. Only the till\'s own tickets and orders move, never a channel\'s (Wolt, Foodora, Storefront): their ids are not found. A ticket the kitchen screen owns is never marked ready here, and nothing goes from in progress to delivered. The tills hear the request once: one kitchen_order_sync and one pos_order_change naming every moved id; the integrations hear every moved document in one announcement. Delivered orders earn their members\' loyalty points before the answer, a few at a time; a credit that fails is logged and does not change the answer.
40897
+ * @summary Move the till\'s tickets and orders of one column to the next status
40898
+ * @param {ChangePosOrdersStatusInBulkDto} changePosOrdersStatusInBulkDto The venue, the ids of its tickets and orders, and the status to move them to
40899
+ * @param {*} [options] Override http request option.
40900
+ * @throws {RequiredError}
40901
+ */
40902
+ changePosOrdersStatusInBulk(changePosOrdersStatusInBulkDto: ChangePosOrdersStatusInBulkDto, options?: any): AxiosPromise<ChangePosOrdersStatusInBulkResponseDto>;
39552
40903
  /**
39553
40904
  * The till\'s Order Manager confirms a platform preorder with its preparation time. Its pickup time is stored, and a Foodora preorder also moves into preparation. Then the preorder is marked confirmed and the answer leaves; after it, the platform is told, and a courier or a reminder is booked where the channel needs one. A failure in those steps is logged and does not change the answer.
39554
40905
  * @summary Confirm a pre-order
@@ -39683,6 +41034,15 @@ export interface OrdersApiInterface {
39683
41034
  * @memberof OrdersApiInterface
39684
41035
  */
39685
41036
  acceptOrder(acceptOrderDto: AcceptOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
41037
+ /**
41038
+ * One tap on a column of the till: Mark all ready (in progress → ready) or Deliver all (ready → delivered). Each id is looked for among the venue\'s tickets, then its orders, all in one Firestore read, and every one that may move is written in the same transaction; the rest are left as they are, each with its reason. Only the till\'s own tickets and orders move, never a channel\'s (Wolt, Foodora, Storefront): their ids are not found. A ticket the kitchen screen owns is never marked ready here, and nothing goes from in progress to delivered. The tills hear the request once: one kitchen_order_sync and one pos_order_change naming every moved id; the integrations hear every moved document in one announcement. Delivered orders earn their members\' loyalty points before the answer, a few at a time; a credit that fails is logged and does not change the answer.
41039
+ * @summary Move the till\'s tickets and orders of one column to the next status
41040
+ * @param {ChangePosOrdersStatusInBulkDto} changePosOrdersStatusInBulkDto The venue, the ids of its tickets and orders, and the status to move them to
41041
+ * @param {*} [options] Override http request option.
41042
+ * @throws {RequiredError}
41043
+ * @memberof OrdersApiInterface
41044
+ */
41045
+ changePosOrdersStatusInBulk(changePosOrdersStatusInBulkDto: ChangePosOrdersStatusInBulkDto, options?: AxiosRequestConfig): AxiosPromise<ChangePosOrdersStatusInBulkResponseDto>;
39686
41046
  /**
39687
41047
  * The till\'s Order Manager confirms a platform preorder with its preparation time. Its pickup time is stored, and a Foodora preorder also moves into preparation. Then the preorder is marked confirmed and the answer leaves; after it, the platform is told, and a courier or a reminder is booked where the channel needs one. A failure in those steps is logged and does not change the answer.
39688
41048
  * @summary Confirm a pre-order
@@ -39832,6 +41192,15 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
39832
41192
  * @memberof OrdersApi
39833
41193
  */
39834
41194
  acceptOrder(acceptOrderDto: AcceptOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderStatusResponseDto, any, {}>>;
41195
+ /**
41196
+ * One tap on a column of the till: Mark all ready (in progress → ready) or Deliver all (ready → delivered). Each id is looked for among the venue\'s tickets, then its orders, all in one Firestore read, and every one that may move is written in the same transaction; the rest are left as they are, each with its reason. Only the till\'s own tickets and orders move, never a channel\'s (Wolt, Foodora, Storefront): their ids are not found. A ticket the kitchen screen owns is never marked ready here, and nothing goes from in progress to delivered. The tills hear the request once: one kitchen_order_sync and one pos_order_change naming every moved id; the integrations hear every moved document in one announcement. Delivered orders earn their members\' loyalty points before the answer, a few at a time; a credit that fails is logged and does not change the answer.
41197
+ * @summary Move the till\'s tickets and orders of one column to the next status
41198
+ * @param {ChangePosOrdersStatusInBulkDto} changePosOrdersStatusInBulkDto The venue, the ids of its tickets and orders, and the status to move them to
41199
+ * @param {*} [options] Override http request option.
41200
+ * @throws {RequiredError}
41201
+ * @memberof OrdersApi
41202
+ */
41203
+ changePosOrdersStatusInBulk(changePosOrdersStatusInBulkDto: ChangePosOrdersStatusInBulkDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePosOrdersStatusInBulkResponseDto, any, {}>>;
39835
41204
  /**
39836
41205
  * The till\'s Order Manager confirms a platform preorder with its preparation time. Its pickup time is stored, and a Foodora preorder also moves into preparation. Then the preorder is marked confirmed and the answer leaves; after it, the platform is told, and a courier or a reminder is booked where the channel needs one. A failure in those steps is logged and does not change the answer.
39837
41206
  * @summary Confirm a pre-order
@@ -43737,6 +45106,25 @@ export declare const ReportApiAxiosParamCreator: (configuration?: Configuration)
43737
45106
  * @throws {RequiredError}
43738
45107
  */
43739
45108
  getEndOfDayReportV5: (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45109
+ /**
45110
+ * Adds up each venue\'s finished business days (the calendar date in the venue\'s own time zone) of the apps and parts asked, in one database statement. Each group answers in its app\'s portal shape: POS as report-service, kiosk, storefront and mobile as dashboard v2; several apps added together answer as v2. Amounts of two currencies are never added together: a venue whose sales are in a currency other than its current Business.currency answers a group in each. A person\'s signed-in ticket reads the venues on its account; a Clerk API key of the Munchi-internal organisation (the MCP\'s, D134, D137) reads any venue; the shared key and any other organisation\'s key are refused. A period must cover whole days; today is answered up to dataUntil. With compareStart and compareEnd, each group also answers comparison: the same group over those days, read in the same statement, and the change of each total worked out exactly; a currency only the compared period sold in adds a group of zeros after the others. With baseline, every other group answers changesFromBaseline, its change from the baseline group of its currency.
45111
+ * @summary Sales report of the venues and apps, whole business days, from the daily rows
45112
+ * @param {Array<number>} businessIds The venues asked about, by business id
45113
+ * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
45114
+ * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45115
+ * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45116
+ * @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\&#39;s own (Business.timeZone)
45117
+ * @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
45118
+ * @param {Array<ReportPart>} [parts] The parts to answer, the parameter repeated or a JSON list; only their daily tables are read. Absent: all five
45119
+ * @param {ReportBreakdown} [breakdown] How the venues and apps are split into groups; every currency always splits, and one app asked is never added into several apps. Absent: venue for several venues, none for one
45120
+ * @param {string} [language] Accepted and not read, so a request copied from the portal\&#39;s report works: the report has no text to translate
45121
+ * @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\&#39;s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
45122
+ * @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
45123
+ * @param {string} [baseline] One group of the answer every other group is compared with: venue:&lt;id&gt; with breakdown venue, app:&lt;app&gt; with breakdown app, venue:&lt;id&gt;,app:&lt;app&gt; with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\&#39;s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
45124
+ * @param {*} [options] Override http request option.
45125
+ * @throws {RequiredError}
45126
+ */
45127
+ getSalesReport: (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, parts?: Array<ReportPart>, breakdown?: ReportBreakdown, language?: string, compareStart?: string, compareEnd?: string, baseline?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43740
45128
  /**
43741
45129
  *
43742
45130
  * @summary Send end-of-day report via email (V5)
@@ -43770,6 +45158,25 @@ export declare const ReportApiFp: (configuration?: Configuration) => {
43770
45158
  * @throws {RequiredError}
43771
45159
  */
43772
45160
  getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EndOfDayReportDtoV4>>;
45161
+ /**
45162
+ * Adds up each venue\'s finished business days (the calendar date in the venue\'s own time zone) of the apps and parts asked, in one database statement. Each group answers in its app\'s portal shape: POS as report-service, kiosk, storefront and mobile as dashboard v2; several apps added together answer as v2. Amounts of two currencies are never added together: a venue whose sales are in a currency other than its current Business.currency answers a group in each. A person\'s signed-in ticket reads the venues on its account; a Clerk API key of the Munchi-internal organisation (the MCP\'s, D134, D137) reads any venue; the shared key and any other organisation\'s key are refused. A period must cover whole days; today is answered up to dataUntil. With compareStart and compareEnd, each group also answers comparison: the same group over those days, read in the same statement, and the change of each total worked out exactly; a currency only the compared period sold in adds a group of zeros after the others. With baseline, every other group answers changesFromBaseline, its change from the baseline group of its currency.
45163
+ * @summary Sales report of the venues and apps, whole business days, from the daily rows
45164
+ * @param {Array<number>} businessIds The venues asked about, by business id
45165
+ * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
45166
+ * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45167
+ * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45168
+ * @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\&#39;s own (Business.timeZone)
45169
+ * @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
45170
+ * @param {Array<ReportPart>} [parts] The parts to answer, the parameter repeated or a JSON list; only their daily tables are read. Absent: all five
45171
+ * @param {ReportBreakdown} [breakdown] How the venues and apps are split into groups; every currency always splits, and one app asked is never added into several apps. Absent: venue for several venues, none for one
45172
+ * @param {string} [language] Accepted and not read, so a request copied from the portal\&#39;s report works: the report has no text to translate
45173
+ * @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\&#39;s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
45174
+ * @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
45175
+ * @param {string} [baseline] One group of the answer every other group is compared with: venue:&lt;id&gt; with breakdown venue, app:&lt;app&gt; with breakdown app, venue:&lt;id&gt;,app:&lt;app&gt; with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\&#39;s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
45176
+ * @param {*} [options] Override http request option.
45177
+ * @throws {RequiredError}
45178
+ */
45179
+ getSalesReport(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, parts?: Array<ReportPart>, breakdown?: ReportBreakdown, language?: string, compareStart?: string, compareEnd?: string, baseline?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SalesReportResponseDto>>;
43773
45180
  /**
43774
45181
  *
43775
45182
  * @summary Send end-of-day report via email (V5)
@@ -43803,6 +45210,25 @@ export declare const ReportApiFactory: (configuration?: Configuration, basePath?
43803
45210
  * @throws {RequiredError}
43804
45211
  */
43805
45212
  getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: any): AxiosPromise<EndOfDayReportDtoV4>;
45213
+ /**
45214
+ * Adds up each venue\'s finished business days (the calendar date in the venue\'s own time zone) of the apps and parts asked, in one database statement. Each group answers in its app\'s portal shape: POS as report-service, kiosk, storefront and mobile as dashboard v2; several apps added together answer as v2. Amounts of two currencies are never added together: a venue whose sales are in a currency other than its current Business.currency answers a group in each. A person\'s signed-in ticket reads the venues on its account; a Clerk API key of the Munchi-internal organisation (the MCP\'s, D134, D137) reads any venue; the shared key and any other organisation\'s key are refused. A period must cover whole days; today is answered up to dataUntil. With compareStart and compareEnd, each group also answers comparison: the same group over those days, read in the same statement, and the change of each total worked out exactly; a currency only the compared period sold in adds a group of zeros after the others. With baseline, every other group answers changesFromBaseline, its change from the baseline group of its currency.
45215
+ * @summary Sales report of the venues and apps, whole business days, from the daily rows
45216
+ * @param {Array<number>} businessIds The venues asked about, by business id
45217
+ * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
45218
+ * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45219
+ * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45220
+ * @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\&#39;s own (Business.timeZone)
45221
+ * @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
45222
+ * @param {Array<ReportPart>} [parts] The parts to answer, the parameter repeated or a JSON list; only their daily tables are read. Absent: all five
45223
+ * @param {ReportBreakdown} [breakdown] How the venues and apps are split into groups; every currency always splits, and one app asked is never added into several apps. Absent: venue for several venues, none for one
45224
+ * @param {string} [language] Accepted and not read, so a request copied from the portal\&#39;s report works: the report has no text to translate
45225
+ * @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\&#39;s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
45226
+ * @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
45227
+ * @param {string} [baseline] One group of the answer every other group is compared with: venue:&lt;id&gt; with breakdown venue, app:&lt;app&gt; with breakdown app, venue:&lt;id&gt;,app:&lt;app&gt; with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\&#39;s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
45228
+ * @param {*} [options] Override http request option.
45229
+ * @throws {RequiredError}
45230
+ */
45231
+ getSalesReport(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, parts?: Array<ReportPart>, breakdown?: ReportBreakdown, language?: string, compareStart?: string, compareEnd?: string, baseline?: string, options?: any): AxiosPromise<SalesReportResponseDto>;
43806
45232
  /**
43807
45233
  *
43808
45234
  * @summary Send end-of-day report via email (V5)
@@ -43838,6 +45264,26 @@ export interface ReportApiInterface {
43838
45264
  * @memberof ReportApiInterface
43839
45265
  */
43840
45266
  getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): AxiosPromise<EndOfDayReportDtoV4>;
45267
+ /**
45268
+ * Adds up each venue\'s finished business days (the calendar date in the venue\'s own time zone) of the apps and parts asked, in one database statement. Each group answers in its app\'s portal shape: POS as report-service, kiosk, storefront and mobile as dashboard v2; several apps added together answer as v2. Amounts of two currencies are never added together: a venue whose sales are in a currency other than its current Business.currency answers a group in each. A person\'s signed-in ticket reads the venues on its account; a Clerk API key of the Munchi-internal organisation (the MCP\'s, D134, D137) reads any venue; the shared key and any other organisation\'s key are refused. A period must cover whole days; today is answered up to dataUntil. With compareStart and compareEnd, each group also answers comparison: the same group over those days, read in the same statement, and the change of each total worked out exactly; a currency only the compared period sold in adds a group of zeros after the others. With baseline, every other group answers changesFromBaseline, its change from the baseline group of its currency.
45269
+ * @summary Sales report of the venues and apps, whole business days, from the daily rows
45270
+ * @param {Array<number>} businessIds The venues asked about, by business id
45271
+ * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
45272
+ * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45273
+ * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45274
+ * @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\&#39;s own (Business.timeZone)
45275
+ * @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
45276
+ * @param {Array<ReportPart>} [parts] The parts to answer, the parameter repeated or a JSON list; only their daily tables are read. Absent: all five
45277
+ * @param {ReportBreakdown} [breakdown] How the venues and apps are split into groups; every currency always splits, and one app asked is never added into several apps. Absent: venue for several venues, none for one
45278
+ * @param {string} [language] Accepted and not read, so a request copied from the portal\&#39;s report works: the report has no text to translate
45279
+ * @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\&#39;s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
45280
+ * @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
45281
+ * @param {string} [baseline] One group of the answer every other group is compared with: venue:&lt;id&gt; with breakdown venue, app:&lt;app&gt; with breakdown app, venue:&lt;id&gt;,app:&lt;app&gt; with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\&#39;s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
45282
+ * @param {*} [options] Override http request option.
45283
+ * @throws {RequiredError}
45284
+ * @memberof ReportApiInterface
45285
+ */
45286
+ getSalesReport(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, parts?: Array<ReportPart>, breakdown?: ReportBreakdown, language?: string, compareStart?: string, compareEnd?: string, baseline?: string, options?: AxiosRequestConfig): AxiosPromise<SalesReportResponseDto>;
43841
45287
  /**
43842
45288
  *
43843
45289
  * @summary Send end-of-day report via email (V5)
@@ -43875,6 +45321,26 @@ export declare class ReportApi extends BaseAPI implements ReportApiInterface {
43875
45321
  * @memberof ReportApi
43876
45322
  */
43877
45323
  getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EndOfDayReportDtoV4, any, {}>>;
45324
+ /**
45325
+ * Adds up each venue\'s finished business days (the calendar date in the venue\'s own time zone) of the apps and parts asked, in one database statement. Each group answers in its app\'s portal shape: POS as report-service, kiosk, storefront and mobile as dashboard v2; several apps added together answer as v2. Amounts of two currencies are never added together: a venue whose sales are in a currency other than its current Business.currency answers a group in each. A person\'s signed-in ticket reads the venues on its account; a Clerk API key of the Munchi-internal organisation (the MCP\'s, D134, D137) reads any venue; the shared key and any other organisation\'s key are refused. A period must cover whole days; today is answered up to dataUntil. With compareStart and compareEnd, each group also answers comparison: the same group over those days, read in the same statement, and the change of each total worked out exactly; a currency only the compared period sold in adds a group of zeros after the others. With baseline, every other group answers changesFromBaseline, its change from the baseline group of its currency.
45326
+ * @summary Sales report of the venues and apps, whole business days, from the daily rows
45327
+ * @param {Array<number>} businessIds The venues asked about, by business id
45328
+ * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
45329
+ * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45330
+ * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
45331
+ * @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\&#39;s own (Business.timeZone)
45332
+ * @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
45333
+ * @param {Array<ReportPart>} [parts] The parts to answer, the parameter repeated or a JSON list; only their daily tables are read. Absent: all five
45334
+ * @param {ReportBreakdown} [breakdown] How the venues and apps are split into groups; every currency always splits, and one app asked is never added into several apps. Absent: venue for several venues, none for one
45335
+ * @param {string} [language] Accepted and not read, so a request copied from the portal\&#39;s report works: the report has no text to translate
45336
+ * @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\&#39;s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
45337
+ * @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
45338
+ * @param {string} [baseline] One group of the answer every other group is compared with: venue:&lt;id&gt; with breakdown venue, app:&lt;app&gt; with breakdown app, venue:&lt;id&gt;,app:&lt;app&gt; with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\&#39;s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
45339
+ * @param {*} [options] Override http request option.
45340
+ * @throws {RequiredError}
45341
+ * @memberof ReportApi
45342
+ */
45343
+ getSalesReport(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, parts?: Array<ReportPart>, breakdown?: ReportBreakdown, language?: string, compareStart?: string, compareEnd?: string, baseline?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SalesReportResponseDto, any, {}>>;
43878
45344
  /**
43879
45345
  *
43880
45346
  * @summary Send end-of-day report via email (V5)