@munchi_oy/core 1.9.134 → 1.9.135

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.
@@ -31313,6 +31313,111 @@ export declare class CashManagementApi extends BaseAPI implements CashManagement
31313
31313
  */
31314
31314
  sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
31315
31315
  }
31316
+ /**
31317
+ * CashManagementV6Api - axios parameter creator
31318
+ * @export
31319
+ */
31320
+ export declare const CashManagementV6ApiAxiosParamCreator: (configuration?: Configuration) => {
31321
+ /**
31322
+ * The same answer as v1. In team mode, a role without Report::ViewCashLogs gets an empty page, and a role without Report::ViewAll gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
31323
+ * @summary Cash logs, narrowed to the person working on the till
31324
+ * @param {string} businessId Id of the venue whose cash logs are read
31325
+ * @param {TimeSpan} [timeSpan] Time span
31326
+ * @param {string} [start] Start date
31327
+ * @param {string} [end] End date
31328
+ * @param {number} [page] Page number
31329
+ * @param {number} [rowPerPage] Rows per page
31330
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
31331
+ * @param {*} [options] Override http request option.
31332
+ * @throws {RequiredError}
31333
+ */
31334
+ listCashLogsForTill: (businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31335
+ };
31336
+ /**
31337
+ * CashManagementV6Api - functional programming interface
31338
+ * @export
31339
+ */
31340
+ export declare const CashManagementV6ApiFp: (configuration?: Configuration) => {
31341
+ /**
31342
+ * The same answer as v1. In team mode, a role without Report::ViewCashLogs gets an empty page, and a role without Report::ViewAll gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
31343
+ * @summary Cash logs, narrowed to the person working on the till
31344
+ * @param {string} businessId Id of the venue whose cash logs are read
31345
+ * @param {TimeSpan} [timeSpan] Time span
31346
+ * @param {string} [start] Start date
31347
+ * @param {string} [end] End date
31348
+ * @param {number} [page] Page number
31349
+ * @param {number} [rowPerPage] Rows per page
31350
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
31351
+ * @param {*} [options] Override http request option.
31352
+ * @throws {RequiredError}
31353
+ */
31354
+ listCashLogsForTill(businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashLogsPaginatedDto>>;
31355
+ };
31356
+ /**
31357
+ * CashManagementV6Api - factory interface
31358
+ * @export
31359
+ */
31360
+ export declare const CashManagementV6ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
31361
+ /**
31362
+ * The same answer as v1. In team mode, a role without Report::ViewCashLogs gets an empty page, and a role without Report::ViewAll gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
31363
+ * @summary Cash logs, narrowed to the person working on the till
31364
+ * @param {string} businessId Id of the venue whose cash logs are read
31365
+ * @param {TimeSpan} [timeSpan] Time span
31366
+ * @param {string} [start] Start date
31367
+ * @param {string} [end] End date
31368
+ * @param {number} [page] Page number
31369
+ * @param {number} [rowPerPage] Rows per page
31370
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
31371
+ * @param {*} [options] Override http request option.
31372
+ * @throws {RequiredError}
31373
+ */
31374
+ listCashLogsForTill(businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: any): AxiosPromise<CashLogsPaginatedDto>;
31375
+ };
31376
+ /**
31377
+ * CashManagementV6Api - interface
31378
+ * @export
31379
+ * @interface CashManagementV6Api
31380
+ */
31381
+ export interface CashManagementV6ApiInterface {
31382
+ /**
31383
+ * The same answer as v1. In team mode, a role without Report::ViewCashLogs gets an empty page, and a role without Report::ViewAll gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
31384
+ * @summary Cash logs, narrowed to the person working on the till
31385
+ * @param {string} businessId Id of the venue whose cash logs are read
31386
+ * @param {TimeSpan} [timeSpan] Time span
31387
+ * @param {string} [start] Start date
31388
+ * @param {string} [end] End date
31389
+ * @param {number} [page] Page number
31390
+ * @param {number} [rowPerPage] Rows per page
31391
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
31392
+ * @param {*} [options] Override http request option.
31393
+ * @throws {RequiredError}
31394
+ * @memberof CashManagementV6ApiInterface
31395
+ */
31396
+ listCashLogsForTill(businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: AxiosRequestConfig): AxiosPromise<CashLogsPaginatedDto>;
31397
+ }
31398
+ /**
31399
+ * CashManagementV6Api - object-oriented interface
31400
+ * @export
31401
+ * @class CashManagementV6Api
31402
+ * @extends {BaseAPI}
31403
+ */
31404
+ export declare class CashManagementV6Api extends BaseAPI implements CashManagementV6ApiInterface {
31405
+ /**
31406
+ * The same answer as v1. In team mode, a role without Report::ViewCashLogs gets an empty page, and a role without Report::ViewAll gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
31407
+ * @summary Cash logs, narrowed to the person working on the till
31408
+ * @param {string} businessId Id of the venue whose cash logs are read
31409
+ * @param {TimeSpan} [timeSpan] Time span
31410
+ * @param {string} [start] Start date
31411
+ * @param {string} [end] End date
31412
+ * @param {number} [page] Page number
31413
+ * @param {number} [rowPerPage] Rows per page
31414
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
31415
+ * @param {*} [options] Override http request option.
31416
+ * @throws {RequiredError}
31417
+ * @memberof CashManagementV6Api
31418
+ */
31419
+ listCashLogsForTill(businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CashLogsPaginatedDto, any, {}>>;
31420
+ }
31316
31421
  /**
31317
31422
  * ChannelMenuApi - axios parameter creator
31318
31423
  * @export
@@ -33933,6 +34038,253 @@ export declare class HistoryApi extends BaseAPI implements HistoryApiInterface {
33933
34038
  */
33934
34039
  getOrderHistoryPOSV5Internal(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderHistoryPosResponseDtoV2, any, {}>>;
33935
34040
  }
34041
+ /**
34042
+ * HistoryV6Api - axios parameter creator
34043
+ * @export
34044
+ */
34045
+ export declare const HistoryV6ApiAxiosParamCreator: (configuration?: Configuration) => {
34046
+ /**
34047
+ * The same answer as v1. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list. Online orders are listed for everyone, whoever is on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
34048
+ * @summary Online order history, with what the person working on the till may not see zeroed
34049
+ * @param {Array<number>} businessIds Business ID selected
34050
+ * @param {TimeSpan} [timeSpan] Time span
34051
+ * @param {string} [start] Start date
34052
+ * @param {string} [end] End date
34053
+ * @param {number} [page] Page number
34054
+ * @param {number} [rowPerPage] Number of rows per page
34055
+ * @param {Array<ProviderEnum>} [provider] Provider
34056
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34057
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34058
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34059
+ * @param {Array<OrderType>} [orderType] Order type
34060
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34061
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34062
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34063
+ * @param {*} [options] Override http request option.
34064
+ * @throws {RequiredError}
34065
+ */
34066
+ listOnlineOrderHistoryForTill: (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34067
+ /**
34068
+ * The same answer as v5. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list, and without Transaction::ViewAll only that person\'s orders are listed and counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
34069
+ * @summary POS order history, narrowed to the person working on the till
34070
+ * @param {Array<number>} businessIds Business ID selected
34071
+ * @param {TimeSpan} [timeSpan] Time span
34072
+ * @param {string} [start] Start date
34073
+ * @param {string} [end] End date
34074
+ * @param {number} [page] Page number
34075
+ * @param {number} [rowPerPage] Number of rows per page
34076
+ * @param {Array<ProviderEnum>} [provider] Provider
34077
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34078
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34079
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34080
+ * @param {Array<OrderType>} [orderType] Order type
34081
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34082
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34083
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34084
+ * @param {*} [options] Override http request option.
34085
+ * @throws {RequiredError}
34086
+ */
34087
+ listOrderHistoryForTill: (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34088
+ };
34089
+ /**
34090
+ * HistoryV6Api - functional programming interface
34091
+ * @export
34092
+ */
34093
+ export declare const HistoryV6ApiFp: (configuration?: Configuration) => {
34094
+ /**
34095
+ * The same answer as v1. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list. Online orders are listed for everyone, whoever is on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
34096
+ * @summary Online order history, with what the person working on the till may not see zeroed
34097
+ * @param {Array<number>} businessIds Business ID selected
34098
+ * @param {TimeSpan} [timeSpan] Time span
34099
+ * @param {string} [start] Start date
34100
+ * @param {string} [end] End date
34101
+ * @param {number} [page] Page number
34102
+ * @param {number} [rowPerPage] Number of rows per page
34103
+ * @param {Array<ProviderEnum>} [provider] Provider
34104
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34105
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34106
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34107
+ * @param {Array<OrderType>} [orderType] Order type
34108
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34109
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34110
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34111
+ * @param {*} [options] Override http request option.
34112
+ * @throws {RequiredError}
34113
+ */
34114
+ listOnlineOrderHistoryForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderHistoryResponseDto>>;
34115
+ /**
34116
+ * The same answer as v5. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list, and without Transaction::ViewAll only that person\'s orders are listed and counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
34117
+ * @summary POS order history, narrowed to the person working on the till
34118
+ * @param {Array<number>} businessIds Business ID selected
34119
+ * @param {TimeSpan} [timeSpan] Time span
34120
+ * @param {string} [start] Start date
34121
+ * @param {string} [end] End date
34122
+ * @param {number} [page] Page number
34123
+ * @param {number} [rowPerPage] Number of rows per page
34124
+ * @param {Array<ProviderEnum>} [provider] Provider
34125
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34126
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34127
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34128
+ * @param {Array<OrderType>} [orderType] Order type
34129
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34130
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34131
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34132
+ * @param {*} [options] Override http request option.
34133
+ * @throws {RequiredError}
34134
+ */
34135
+ listOrderHistoryForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderHistoryPosResponseDtoV2>>;
34136
+ };
34137
+ /**
34138
+ * HistoryV6Api - factory interface
34139
+ * @export
34140
+ */
34141
+ export declare const HistoryV6ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
34142
+ /**
34143
+ * The same answer as v1. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list. Online orders are listed for everyone, whoever is on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
34144
+ * @summary Online order history, with what the person working on the till may not see zeroed
34145
+ * @param {Array<number>} businessIds Business ID selected
34146
+ * @param {TimeSpan} [timeSpan] Time span
34147
+ * @param {string} [start] Start date
34148
+ * @param {string} [end] End date
34149
+ * @param {number} [page] Page number
34150
+ * @param {number} [rowPerPage] Number of rows per page
34151
+ * @param {Array<ProviderEnum>} [provider] Provider
34152
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34153
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34154
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34155
+ * @param {Array<OrderType>} [orderType] Order type
34156
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34157
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34158
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34159
+ * @param {*} [options] Override http request option.
34160
+ * @throws {RequiredError}
34161
+ */
34162
+ listOnlineOrderHistoryForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: any): AxiosPromise<OrderHistoryResponseDto>;
34163
+ /**
34164
+ * The same answer as v5. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list, and without Transaction::ViewAll only that person\'s orders are listed and counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
34165
+ * @summary POS order history, narrowed to the person working on the till
34166
+ * @param {Array<number>} businessIds Business ID selected
34167
+ * @param {TimeSpan} [timeSpan] Time span
34168
+ * @param {string} [start] Start date
34169
+ * @param {string} [end] End date
34170
+ * @param {number} [page] Page number
34171
+ * @param {number} [rowPerPage] Number of rows per page
34172
+ * @param {Array<ProviderEnum>} [provider] Provider
34173
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34174
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34175
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34176
+ * @param {Array<OrderType>} [orderType] Order type
34177
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34178
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34179
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34180
+ * @param {*} [options] Override http request option.
34181
+ * @throws {RequiredError}
34182
+ */
34183
+ listOrderHistoryForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: any): AxiosPromise<OrderHistoryPosResponseDtoV2>;
34184
+ };
34185
+ /**
34186
+ * HistoryV6Api - interface
34187
+ * @export
34188
+ * @interface HistoryV6Api
34189
+ */
34190
+ export interface HistoryV6ApiInterface {
34191
+ /**
34192
+ * The same answer as v1. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list. Online orders are listed for everyone, whoever is on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
34193
+ * @summary Online order history, with what the person working on the till may not see zeroed
34194
+ * @param {Array<number>} businessIds Business ID selected
34195
+ * @param {TimeSpan} [timeSpan] Time span
34196
+ * @param {string} [start] Start date
34197
+ * @param {string} [end] End date
34198
+ * @param {number} [page] Page number
34199
+ * @param {number} [rowPerPage] Number of rows per page
34200
+ * @param {Array<ProviderEnum>} [provider] Provider
34201
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34202
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34203
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34204
+ * @param {Array<OrderType>} [orderType] Order type
34205
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34206
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34207
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34208
+ * @param {*} [options] Override http request option.
34209
+ * @throws {RequiredError}
34210
+ * @memberof HistoryV6ApiInterface
34211
+ */
34212
+ listOnlineOrderHistoryForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: AxiosRequestConfig): AxiosPromise<OrderHistoryResponseDto>;
34213
+ /**
34214
+ * The same answer as v5. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list, and without Transaction::ViewAll only that person\'s orders are listed and counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
34215
+ * @summary POS order history, narrowed to the person working on the till
34216
+ * @param {Array<number>} businessIds Business ID selected
34217
+ * @param {TimeSpan} [timeSpan] Time span
34218
+ * @param {string} [start] Start date
34219
+ * @param {string} [end] End date
34220
+ * @param {number} [page] Page number
34221
+ * @param {number} [rowPerPage] Number of rows per page
34222
+ * @param {Array<ProviderEnum>} [provider] Provider
34223
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34224
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34225
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34226
+ * @param {Array<OrderType>} [orderType] Order type
34227
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34228
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34229
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34230
+ * @param {*} [options] Override http request option.
34231
+ * @throws {RequiredError}
34232
+ * @memberof HistoryV6ApiInterface
34233
+ */
34234
+ listOrderHistoryForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: AxiosRequestConfig): AxiosPromise<OrderHistoryPosResponseDtoV2>;
34235
+ }
34236
+ /**
34237
+ * HistoryV6Api - object-oriented interface
34238
+ * @export
34239
+ * @class HistoryV6Api
34240
+ * @extends {BaseAPI}
34241
+ */
34242
+ export declare class HistoryV6Api extends BaseAPI implements HistoryV6ApiInterface {
34243
+ /**
34244
+ * The same answer as v1. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list. Online orders are listed for everyone, whoever is on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
34245
+ * @summary Online order history, with what the person working on the till may not see zeroed
34246
+ * @param {Array<number>} businessIds Business ID selected
34247
+ * @param {TimeSpan} [timeSpan] Time span
34248
+ * @param {string} [start] Start date
34249
+ * @param {string} [end] End date
34250
+ * @param {number} [page] Page number
34251
+ * @param {number} [rowPerPage] Number of rows per page
34252
+ * @param {Array<ProviderEnum>} [provider] Provider
34253
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34254
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34255
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34256
+ * @param {Array<OrderType>} [orderType] Order type
34257
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34258
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34259
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34260
+ * @param {*} [options] Override http request option.
34261
+ * @throws {RequiredError}
34262
+ * @memberof HistoryV6Api
34263
+ */
34264
+ listOnlineOrderHistoryForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderHistoryResponseDto, any, {}>>;
34265
+ /**
34266
+ * The same answer as v5. In team mode, what the role of the person unlocked on the till may not see is returned as zero or an empty list, and without Transaction::ViewAll only that person\'s orders are listed and counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
34267
+ * @summary POS order history, narrowed to the person working on the till
34268
+ * @param {Array<number>} businessIds Business ID selected
34269
+ * @param {TimeSpan} [timeSpan] Time span
34270
+ * @param {string} [start] Start date
34271
+ * @param {string} [end] End date
34272
+ * @param {number} [page] Page number
34273
+ * @param {number} [rowPerPage] Number of rows per page
34274
+ * @param {Array<ProviderEnum>} [provider] Provider
34275
+ * @param {Array<PaymentTypeEnum>} [paymentType] Payment type
34276
+ * @param {Array<OrderStatusEnum>} [orderStatus] Order status
34277
+ * @param {Array<PaymentStatus>} [paymentStatus] Payment status
34278
+ * @param {Array<OrderType>} [orderType] Order type
34279
+ * @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
34280
+ * @param {string} [invoiceCompanyId] Filter by invoice company ID
34281
+ * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
34282
+ * @param {*} [options] Override http request option.
34283
+ * @throws {RequiredError}
34284
+ * @memberof HistoryV6Api
34285
+ */
34286
+ listOrderHistoryForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, provider?: Array<ProviderEnum>, paymentType?: Array<PaymentTypeEnum>, orderStatus?: Array<OrderStatusEnum>, paymentStatus?: Array<PaymentStatus>, orderType?: Array<OrderType>, paymentTypePos?: Array<PaymentMethod>, invoiceCompanyId?: string, timezone?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderHistoryPosResponseDtoV2, any, {}>>;
34287
+ }
33936
34288
  /**
33937
34289
  * InvoiceCompaniesApi - axios parameter creator
33938
34290
  * @export
@@ -41881,6 +42233,178 @@ export declare class ReportApi extends BaseAPI implements ReportApiInterface {
41881
42233
  */
41882
42234
  sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
41883
42235
  }
42236
+ /**
42237
+ * ReportV6Api - axios parameter creator
42238
+ * @export
42239
+ */
42240
+ export declare const ReportV6ApiAxiosParamCreator: (configuration?: Configuration) => {
42241
+ /**
42242
+ * The same answer as v5. In team mode, totals and sections the role of the person unlocked on the till may not see are returned as zero or an empty list, and without Report::ViewAll only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
42243
+ * @summary End-of-day report, narrowed to the person working on the till
42244
+ * @param {Array<number>} businessIds Business ID selected
42245
+ * @param {TimeSpan} [timeSpan] Time span
42246
+ * @param {string} [start] Start date
42247
+ * @param {string} [end] End date
42248
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42249
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42250
+ * @param {*} [options] Override http request option.
42251
+ * @throws {RequiredError}
42252
+ */
42253
+ getEndOfDayReportForTill: (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42254
+ /**
42255
+ * The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail goes out only when the person may see cash logs (Report::ViewCashLogs), with only their own entries without Report::ViewAll.
42256
+ * @summary E-mail the end-of-day report, narrowed to the person working on the till
42257
+ * @param {Array<number>} businessIds Business ID selected
42258
+ * @param {SendReportEmailDto} sendReportEmailDto
42259
+ * @param {TimeSpan} [timeSpan] Time span
42260
+ * @param {string} [start] Start date
42261
+ * @param {string} [end] End date
42262
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42263
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42264
+ * @param {*} [options] Override http request option.
42265
+ * @throws {RequiredError}
42266
+ */
42267
+ sendEndOfDayReportForTill: (businessIds: Array<number>, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42268
+ };
42269
+ /**
42270
+ * ReportV6Api - functional programming interface
42271
+ * @export
42272
+ */
42273
+ export declare const ReportV6ApiFp: (configuration?: Configuration) => {
42274
+ /**
42275
+ * The same answer as v5. In team mode, totals and sections the role of the person unlocked on the till may not see are returned as zero or an empty list, and without Report::ViewAll only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
42276
+ * @summary End-of-day report, narrowed to the person working on the till
42277
+ * @param {Array<number>} businessIds Business ID selected
42278
+ * @param {TimeSpan} [timeSpan] Time span
42279
+ * @param {string} [start] Start date
42280
+ * @param {string} [end] End date
42281
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42282
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42283
+ * @param {*} [options] Override http request option.
42284
+ * @throws {RequiredError}
42285
+ */
42286
+ getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EndOfDayReportDtoV4>>;
42287
+ /**
42288
+ * The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail goes out only when the person may see cash logs (Report::ViewCashLogs), with only their own entries without Report::ViewAll.
42289
+ * @summary E-mail the end-of-day report, narrowed to the person working on the till
42290
+ * @param {Array<number>} businessIds Business ID selected
42291
+ * @param {SendReportEmailDto} sendReportEmailDto
42292
+ * @param {TimeSpan} [timeSpan] Time span
42293
+ * @param {string} [start] Start date
42294
+ * @param {string} [end] End date
42295
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42296
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42297
+ * @param {*} [options] Override http request option.
42298
+ * @throws {RequiredError}
42299
+ */
42300
+ sendEndOfDayReportForTill(businessIds: Array<number>, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
42301
+ };
42302
+ /**
42303
+ * ReportV6Api - factory interface
42304
+ * @export
42305
+ */
42306
+ export declare const ReportV6ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
42307
+ /**
42308
+ * The same answer as v5. In team mode, totals and sections the role of the person unlocked on the till may not see are returned as zero or an empty list, and without Report::ViewAll only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
42309
+ * @summary End-of-day report, narrowed to the person working on the till
42310
+ * @param {Array<number>} businessIds Business ID selected
42311
+ * @param {TimeSpan} [timeSpan] Time span
42312
+ * @param {string} [start] Start date
42313
+ * @param {string} [end] End date
42314
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42315
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42316
+ * @param {*} [options] Override http request option.
42317
+ * @throws {RequiredError}
42318
+ */
42319
+ getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: any): AxiosPromise<EndOfDayReportDtoV4>;
42320
+ /**
42321
+ * The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail goes out only when the person may see cash logs (Report::ViewCashLogs), with only their own entries without Report::ViewAll.
42322
+ * @summary E-mail the end-of-day report, narrowed to the person working on the till
42323
+ * @param {Array<number>} businessIds Business ID selected
42324
+ * @param {SendReportEmailDto} sendReportEmailDto
42325
+ * @param {TimeSpan} [timeSpan] Time span
42326
+ * @param {string} [start] Start date
42327
+ * @param {string} [end] End date
42328
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42329
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42330
+ * @param {*} [options] Override http request option.
42331
+ * @throws {RequiredError}
42332
+ */
42333
+ sendEndOfDayReportForTill(businessIds: Array<number>, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: any): AxiosPromise<void>;
42334
+ };
42335
+ /**
42336
+ * ReportV6Api - interface
42337
+ * @export
42338
+ * @interface ReportV6Api
42339
+ */
42340
+ export interface ReportV6ApiInterface {
42341
+ /**
42342
+ * The same answer as v5. In team mode, totals and sections the role of the person unlocked on the till may not see are returned as zero or an empty list, and without Report::ViewAll only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
42343
+ * @summary End-of-day report, narrowed to the person working on the till
42344
+ * @param {Array<number>} businessIds Business ID selected
42345
+ * @param {TimeSpan} [timeSpan] Time span
42346
+ * @param {string} [start] Start date
42347
+ * @param {string} [end] End date
42348
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42349
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42350
+ * @param {*} [options] Override http request option.
42351
+ * @throws {RequiredError}
42352
+ * @memberof ReportV6ApiInterface
42353
+ */
42354
+ getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): AxiosPromise<EndOfDayReportDtoV4>;
42355
+ /**
42356
+ * The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail goes out only when the person may see cash logs (Report::ViewCashLogs), with only their own entries without Report::ViewAll.
42357
+ * @summary E-mail the end-of-day report, narrowed to the person working on the till
42358
+ * @param {Array<number>} businessIds Business ID selected
42359
+ * @param {SendReportEmailDto} sendReportEmailDto
42360
+ * @param {TimeSpan} [timeSpan] Time span
42361
+ * @param {string} [start] Start date
42362
+ * @param {string} [end] End date
42363
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42364
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42365
+ * @param {*} [options] Override http request option.
42366
+ * @throws {RequiredError}
42367
+ * @memberof ReportV6ApiInterface
42368
+ */
42369
+ sendEndOfDayReportForTill(businessIds: Array<number>, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): AxiosPromise<void>;
42370
+ }
42371
+ /**
42372
+ * ReportV6Api - object-oriented interface
42373
+ * @export
42374
+ * @class ReportV6Api
42375
+ * @extends {BaseAPI}
42376
+ */
42377
+ export declare class ReportV6Api extends BaseAPI implements ReportV6ApiInterface {
42378
+ /**
42379
+ * The same answer as v5. In team mode, totals and sections the role of the person unlocked on the till may not see are returned as zero or an empty list, and without Report::ViewAll only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
42380
+ * @summary End-of-day report, narrowed to the person working on the till
42381
+ * @param {Array<number>} businessIds Business ID selected
42382
+ * @param {TimeSpan} [timeSpan] Time span
42383
+ * @param {string} [start] Start date
42384
+ * @param {string} [end] End date
42385
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42386
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42387
+ * @param {*} [options] Override http request option.
42388
+ * @throws {RequiredError}
42389
+ * @memberof ReportV6Api
42390
+ */
42391
+ getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EndOfDayReportDtoV4, any, {}>>;
42392
+ /**
42393
+ * The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail goes out only when the person may see cash logs (Report::ViewCashLogs), with only their own entries without Report::ViewAll.
42394
+ * @summary E-mail the end-of-day report, narrowed to the person working on the till
42395
+ * @param {Array<number>} businessIds Business ID selected
42396
+ * @param {SendReportEmailDto} sendReportEmailDto
42397
+ * @param {TimeSpan} [timeSpan] Time span
42398
+ * @param {string} [start] Start date
42399
+ * @param {string} [end] End date
42400
+ * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
42401
+ * @param {ProviderEnum} [provider] Order source (default MunchiPos)
42402
+ * @param {*} [options] Override http request option.
42403
+ * @throws {RequiredError}
42404
+ * @memberof ReportV6Api
42405
+ */
42406
+ sendEndOfDayReportForTill(businessIds: Array<number>, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
42407
+ }
41884
42408
  /**
41885
42409
  * ReservationsApi - axios parameter creator
41886
42410
  * @export