@munchi_oy/core 1.9.134 → 1.9.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/api.d.ts +524 -8
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +943 -8
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -18494,9 +18494,6 @@ export declare const PosPermission: {
|
|
|
18494
18494
|
readonly Transaction: "Transaction::*";
|
|
18495
18495
|
readonly TransactionRefund: "Transaction::Refund";
|
|
18496
18496
|
readonly TransactionViewAll: "Transaction::ViewAll";
|
|
18497
|
-
readonly TransactionViewTips: "Transaction::ViewTips";
|
|
18498
|
-
readonly TransactionViewSurcharges: "Transaction::ViewSurcharges";
|
|
18499
|
-
readonly TransactionViewDiscounts: "Transaction::ViewDiscounts";
|
|
18500
18497
|
readonly TransactionTotals: "TransactionTotals::*";
|
|
18501
18498
|
readonly TransactionTotalsOrders: "TransactionTotals::Orders";
|
|
18502
18499
|
readonly TransactionTotalsSales: "TransactionTotals::Sales";
|
|
@@ -18517,11 +18514,6 @@ export declare const PosPermission: {
|
|
|
18517
18514
|
readonly SettingsEditProfile: "Settings::EditProfile";
|
|
18518
18515
|
readonly Report: "Report::*";
|
|
18519
18516
|
readonly ReportSendEmail: "Report::SendEmail";
|
|
18520
|
-
readonly ReportViewAll: "Report::ViewAll";
|
|
18521
|
-
readonly ReportViewSalesSummary: "Report::ViewSalesSummary";
|
|
18522
|
-
readonly ReportViewPaymentMethods: "Report::ViewPaymentMethods";
|
|
18523
|
-
readonly ReportViewItemSales: "Report::ViewItemSales";
|
|
18524
|
-
readonly ReportViewCashLogs: "Report::ViewCashLogs";
|
|
18525
18517
|
readonly ReportTotals: "ReportTotals::*";
|
|
18526
18518
|
readonly ReportTotalsOrders: "ReportTotals::Orders";
|
|
18527
18519
|
readonly ReportTotalsSales: "ReportTotals::Sales";
|
|
@@ -31313,6 +31305,111 @@ export declare class CashManagementApi extends BaseAPI implements CashManagement
|
|
|
31313
31305
|
*/
|
|
31314
31306
|
sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
31315
31307
|
}
|
|
31308
|
+
/**
|
|
31309
|
+
* CashManagementV6Api - axios parameter creator
|
|
31310
|
+
* @export
|
|
31311
|
+
*/
|
|
31312
|
+
export declare const CashManagementV6ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31313
|
+
/**
|
|
31314
|
+
* The same answer as v1. In team mode, a role without Transaction::ViewAll (see everyone\'s sales) gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
|
|
31315
|
+
* @summary Cash logs, narrowed to the person working on the till
|
|
31316
|
+
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31317
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
31318
|
+
* @param {string} [start] Start date
|
|
31319
|
+
* @param {string} [end] End date
|
|
31320
|
+
* @param {number} [page] Page number
|
|
31321
|
+
* @param {number} [rowPerPage] Rows per page
|
|
31322
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
31323
|
+
* @param {*} [options] Override http request option.
|
|
31324
|
+
* @throws {RequiredError}
|
|
31325
|
+
*/
|
|
31326
|
+
listCashLogsForTill: (businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31327
|
+
};
|
|
31328
|
+
/**
|
|
31329
|
+
* CashManagementV6Api - functional programming interface
|
|
31330
|
+
* @export
|
|
31331
|
+
*/
|
|
31332
|
+
export declare const CashManagementV6ApiFp: (configuration?: Configuration) => {
|
|
31333
|
+
/**
|
|
31334
|
+
* The same answer as v1. In team mode, a role without Transaction::ViewAll (see everyone\'s sales) gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
|
|
31335
|
+
* @summary Cash logs, narrowed to the person working on the till
|
|
31336
|
+
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31337
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
31338
|
+
* @param {string} [start] Start date
|
|
31339
|
+
* @param {string} [end] End date
|
|
31340
|
+
* @param {number} [page] Page number
|
|
31341
|
+
* @param {number} [rowPerPage] Rows per page
|
|
31342
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
31343
|
+
* @param {*} [options] Override http request option.
|
|
31344
|
+
* @throws {RequiredError}
|
|
31345
|
+
*/
|
|
31346
|
+
listCashLogsForTill(businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashLogsPaginatedDto>>;
|
|
31347
|
+
};
|
|
31348
|
+
/**
|
|
31349
|
+
* CashManagementV6Api - factory interface
|
|
31350
|
+
* @export
|
|
31351
|
+
*/
|
|
31352
|
+
export declare const CashManagementV6ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
31353
|
+
/**
|
|
31354
|
+
* The same answer as v1. In team mode, a role without Transaction::ViewAll (see everyone\'s sales) gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
|
|
31355
|
+
* @summary Cash logs, narrowed to the person working on the till
|
|
31356
|
+
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31357
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
31358
|
+
* @param {string} [start] Start date
|
|
31359
|
+
* @param {string} [end] End date
|
|
31360
|
+
* @param {number} [page] Page number
|
|
31361
|
+
* @param {number} [rowPerPage] Rows per page
|
|
31362
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
31363
|
+
* @param {*} [options] Override http request option.
|
|
31364
|
+
* @throws {RequiredError}
|
|
31365
|
+
*/
|
|
31366
|
+
listCashLogsForTill(businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: any): AxiosPromise<CashLogsPaginatedDto>;
|
|
31367
|
+
};
|
|
31368
|
+
/**
|
|
31369
|
+
* CashManagementV6Api - interface
|
|
31370
|
+
* @export
|
|
31371
|
+
* @interface CashManagementV6Api
|
|
31372
|
+
*/
|
|
31373
|
+
export interface CashManagementV6ApiInterface {
|
|
31374
|
+
/**
|
|
31375
|
+
* The same answer as v1. In team mode, a role without Transaction::ViewAll (see everyone\'s sales) gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
|
|
31376
|
+
* @summary Cash logs, narrowed to the person working on the till
|
|
31377
|
+
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31378
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
31379
|
+
* @param {string} [start] Start date
|
|
31380
|
+
* @param {string} [end] End date
|
|
31381
|
+
* @param {number} [page] Page number
|
|
31382
|
+
* @param {number} [rowPerPage] Rows per page
|
|
31383
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
31384
|
+
* @param {*} [options] Override http request option.
|
|
31385
|
+
* @throws {RequiredError}
|
|
31386
|
+
* @memberof CashManagementV6ApiInterface
|
|
31387
|
+
*/
|
|
31388
|
+
listCashLogsForTill(businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: AxiosRequestConfig): AxiosPromise<CashLogsPaginatedDto>;
|
|
31389
|
+
}
|
|
31390
|
+
/**
|
|
31391
|
+
* CashManagementV6Api - object-oriented interface
|
|
31392
|
+
* @export
|
|
31393
|
+
* @class CashManagementV6Api
|
|
31394
|
+
* @extends {BaseAPI}
|
|
31395
|
+
*/
|
|
31396
|
+
export declare class CashManagementV6Api extends BaseAPI implements CashManagementV6ApiInterface {
|
|
31397
|
+
/**
|
|
31398
|
+
* The same answer as v1. In team mode, a role without Transaction::ViewAll (see everyone\'s sales) gets only the entries of the person unlocked on the till. A till with nobody unlocked on the server gets the v1 answer unchanged.
|
|
31399
|
+
* @summary Cash logs, narrowed to the person working on the till
|
|
31400
|
+
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31401
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
31402
|
+
* @param {string} [start] Start date
|
|
31403
|
+
* @param {string} [end] End date
|
|
31404
|
+
* @param {number} [page] Page number
|
|
31405
|
+
* @param {number} [rowPerPage] Rows per page
|
|
31406
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
31407
|
+
* @param {*} [options] Override http request option.
|
|
31408
|
+
* @throws {RequiredError}
|
|
31409
|
+
* @memberof CashManagementV6Api
|
|
31410
|
+
*/
|
|
31411
|
+
listCashLogsForTill(businessId: string, timeSpan?: TimeSpan, start?: string, end?: string, page?: number, rowPerPage?: number, timezone?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CashLogsPaginatedDto, any, {}>>;
|
|
31412
|
+
}
|
|
31316
31413
|
/**
|
|
31317
31414
|
* ChannelMenuApi - axios parameter creator
|
|
31318
31415
|
* @export
|
|
@@ -33933,6 +34030,253 @@ export declare class HistoryApi extends BaseAPI implements HistoryApiInterface {
|
|
|
33933
34030
|
*/
|
|
33934
34031
|
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
34032
|
}
|
|
34033
|
+
/**
|
|
34034
|
+
* HistoryV6Api - axios parameter creator
|
|
34035
|
+
* @export
|
|
34036
|
+
*/
|
|
34037
|
+
export declare const HistoryV6ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
34038
|
+
/**
|
|
34039
|
+
* 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.
|
|
34040
|
+
* @summary Online order history, with what the person working on the till may not see zeroed
|
|
34041
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34042
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34043
|
+
* @param {string} [start] Start date
|
|
34044
|
+
* @param {string} [end] End date
|
|
34045
|
+
* @param {number} [page] Page number
|
|
34046
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34047
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34048
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34049
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34050
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34051
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34052
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34053
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34054
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34055
|
+
* @param {*} [options] Override http request option.
|
|
34056
|
+
* @throws {RequiredError}
|
|
34057
|
+
*/
|
|
34058
|
+
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>;
|
|
34059
|
+
/**
|
|
34060
|
+
* 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.
|
|
34061
|
+
* @summary POS order history, narrowed to the person working on the till
|
|
34062
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34063
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34064
|
+
* @param {string} [start] Start date
|
|
34065
|
+
* @param {string} [end] End date
|
|
34066
|
+
* @param {number} [page] Page number
|
|
34067
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34068
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34069
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34070
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34071
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34072
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34073
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34074
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34075
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34076
|
+
* @param {*} [options] Override http request option.
|
|
34077
|
+
* @throws {RequiredError}
|
|
34078
|
+
*/
|
|
34079
|
+
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>;
|
|
34080
|
+
};
|
|
34081
|
+
/**
|
|
34082
|
+
* HistoryV6Api - functional programming interface
|
|
34083
|
+
* @export
|
|
34084
|
+
*/
|
|
34085
|
+
export declare const HistoryV6ApiFp: (configuration?: Configuration) => {
|
|
34086
|
+
/**
|
|
34087
|
+
* 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.
|
|
34088
|
+
* @summary Online order history, with what the person working on the till may not see zeroed
|
|
34089
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34090
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34091
|
+
* @param {string} [start] Start date
|
|
34092
|
+
* @param {string} [end] End date
|
|
34093
|
+
* @param {number} [page] Page number
|
|
34094
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34095
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34096
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34097
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34098
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34099
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34100
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34101
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34102
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34103
|
+
* @param {*} [options] Override http request option.
|
|
34104
|
+
* @throws {RequiredError}
|
|
34105
|
+
*/
|
|
34106
|
+
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>>;
|
|
34107
|
+
/**
|
|
34108
|
+
* 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.
|
|
34109
|
+
* @summary POS order history, narrowed to the person working on the till
|
|
34110
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34111
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34112
|
+
* @param {string} [start] Start date
|
|
34113
|
+
* @param {string} [end] End date
|
|
34114
|
+
* @param {number} [page] Page number
|
|
34115
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34116
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34117
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34118
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34119
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34120
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34121
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34122
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34123
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34124
|
+
* @param {*} [options] Override http request option.
|
|
34125
|
+
* @throws {RequiredError}
|
|
34126
|
+
*/
|
|
34127
|
+
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>>;
|
|
34128
|
+
};
|
|
34129
|
+
/**
|
|
34130
|
+
* HistoryV6Api - factory interface
|
|
34131
|
+
* @export
|
|
34132
|
+
*/
|
|
34133
|
+
export declare const HistoryV6ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
34134
|
+
/**
|
|
34135
|
+
* 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.
|
|
34136
|
+
* @summary Online order history, with what the person working on the till may not see zeroed
|
|
34137
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34138
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34139
|
+
* @param {string} [start] Start date
|
|
34140
|
+
* @param {string} [end] End date
|
|
34141
|
+
* @param {number} [page] Page number
|
|
34142
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34143
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34144
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34145
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34146
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34147
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34148
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34149
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34150
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34151
|
+
* @param {*} [options] Override http request option.
|
|
34152
|
+
* @throws {RequiredError}
|
|
34153
|
+
*/
|
|
34154
|
+
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>;
|
|
34155
|
+
/**
|
|
34156
|
+
* 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.
|
|
34157
|
+
* @summary POS order history, narrowed to the person working on the till
|
|
34158
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34159
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34160
|
+
* @param {string} [start] Start date
|
|
34161
|
+
* @param {string} [end] End date
|
|
34162
|
+
* @param {number} [page] Page number
|
|
34163
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34164
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34165
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34166
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34167
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34168
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34169
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34170
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34171
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34172
|
+
* @param {*} [options] Override http request option.
|
|
34173
|
+
* @throws {RequiredError}
|
|
34174
|
+
*/
|
|
34175
|
+
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>;
|
|
34176
|
+
};
|
|
34177
|
+
/**
|
|
34178
|
+
* HistoryV6Api - interface
|
|
34179
|
+
* @export
|
|
34180
|
+
* @interface HistoryV6Api
|
|
34181
|
+
*/
|
|
34182
|
+
export interface HistoryV6ApiInterface {
|
|
34183
|
+
/**
|
|
34184
|
+
* 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.
|
|
34185
|
+
* @summary Online order history, with what the person working on the till may not see zeroed
|
|
34186
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34187
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34188
|
+
* @param {string} [start] Start date
|
|
34189
|
+
* @param {string} [end] End date
|
|
34190
|
+
* @param {number} [page] Page number
|
|
34191
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34192
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34193
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34194
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34195
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34196
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34197
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34198
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34199
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34200
|
+
* @param {*} [options] Override http request option.
|
|
34201
|
+
* @throws {RequiredError}
|
|
34202
|
+
* @memberof HistoryV6ApiInterface
|
|
34203
|
+
*/
|
|
34204
|
+
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>;
|
|
34205
|
+
/**
|
|
34206
|
+
* 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.
|
|
34207
|
+
* @summary POS order history, narrowed to the person working on the till
|
|
34208
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34209
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34210
|
+
* @param {string} [start] Start date
|
|
34211
|
+
* @param {string} [end] End date
|
|
34212
|
+
* @param {number} [page] Page number
|
|
34213
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34214
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34215
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34216
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34217
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34218
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34219
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34220
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34221
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34222
|
+
* @param {*} [options] Override http request option.
|
|
34223
|
+
* @throws {RequiredError}
|
|
34224
|
+
* @memberof HistoryV6ApiInterface
|
|
34225
|
+
*/
|
|
34226
|
+
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>;
|
|
34227
|
+
}
|
|
34228
|
+
/**
|
|
34229
|
+
* HistoryV6Api - object-oriented interface
|
|
34230
|
+
* @export
|
|
34231
|
+
* @class HistoryV6Api
|
|
34232
|
+
* @extends {BaseAPI}
|
|
34233
|
+
*/
|
|
34234
|
+
export declare class HistoryV6Api extends BaseAPI implements HistoryV6ApiInterface {
|
|
34235
|
+
/**
|
|
34236
|
+
* 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.
|
|
34237
|
+
* @summary Online order history, with what the person working on the till may not see zeroed
|
|
34238
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34239
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34240
|
+
* @param {string} [start] Start date
|
|
34241
|
+
* @param {string} [end] End date
|
|
34242
|
+
* @param {number} [page] Page number
|
|
34243
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34244
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34245
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34246
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34247
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34248
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34249
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34250
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34251
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34252
|
+
* @param {*} [options] Override http request option.
|
|
34253
|
+
* @throws {RequiredError}
|
|
34254
|
+
* @memberof HistoryV6Api
|
|
34255
|
+
*/
|
|
34256
|
+
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, {}>>;
|
|
34257
|
+
/**
|
|
34258
|
+
* 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.
|
|
34259
|
+
* @summary POS order history, narrowed to the person working on the till
|
|
34260
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
34261
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
34262
|
+
* @param {string} [start] Start date
|
|
34263
|
+
* @param {string} [end] End date
|
|
34264
|
+
* @param {number} [page] Page number
|
|
34265
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
34266
|
+
* @param {Array<ProviderEnum>} [provider] Provider
|
|
34267
|
+
* @param {Array<PaymentTypeEnum>} [paymentType] Payment type
|
|
34268
|
+
* @param {Array<OrderStatusEnum>} [orderStatus] Order status
|
|
34269
|
+
* @param {Array<PaymentStatus>} [paymentStatus] Payment status
|
|
34270
|
+
* @param {Array<OrderType>} [orderType] Order type
|
|
34271
|
+
* @param {Array<PaymentMethod>} [paymentTypePos] Payment type POS
|
|
34272
|
+
* @param {string} [invoiceCompanyId] Filter by invoice company ID
|
|
34273
|
+
* @param {string} [timezone] Timezone of the period asked for (default \"UTC\")
|
|
34274
|
+
* @param {*} [options] Override http request option.
|
|
34275
|
+
* @throws {RequiredError}
|
|
34276
|
+
* @memberof HistoryV6Api
|
|
34277
|
+
*/
|
|
34278
|
+
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, {}>>;
|
|
34279
|
+
}
|
|
33936
34280
|
/**
|
|
33937
34281
|
* InvoiceCompaniesApi - axios parameter creator
|
|
33938
34282
|
* @export
|
|
@@ -41881,6 +42225,178 @@ export declare class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
41881
42225
|
*/
|
|
41882
42226
|
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
42227
|
}
|
|
42228
|
+
/**
|
|
42229
|
+
* ReportV6Api - axios parameter creator
|
|
42230
|
+
* @export
|
|
42231
|
+
*/
|
|
42232
|
+
export declare const ReportV6ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
42233
|
+
/**
|
|
42234
|
+
* The same answer as v5. In team mode, totals the role of the person unlocked on the till may not see are returned as zero, and without Transaction::ViewAll (see everyone\'s sales) only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
|
|
42235
|
+
* @summary End-of-day report, narrowed to the person working on the till
|
|
42236
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42237
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42238
|
+
* @param {string} [start] Start date
|
|
42239
|
+
* @param {string} [end] End date
|
|
42240
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42241
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42242
|
+
* @param {*} [options] Override http request option.
|
|
42243
|
+
* @throws {RequiredError}
|
|
42244
|
+
*/
|
|
42245
|
+
getEndOfDayReportForTill: (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42246
|
+
/**
|
|
42247
|
+
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail carries only the person\'s own entries without Transaction::ViewAll (see everyone\'s sales).
|
|
42248
|
+
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42249
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42250
|
+
* @param {SendReportEmailDto} sendReportEmailDto
|
|
42251
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42252
|
+
* @param {string} [start] Start date
|
|
42253
|
+
* @param {string} [end] End date
|
|
42254
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42255
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42256
|
+
* @param {*} [options] Override http request option.
|
|
42257
|
+
* @throws {RequiredError}
|
|
42258
|
+
*/
|
|
42259
|
+
sendEndOfDayReportForTill: (businessIds: Array<number>, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42260
|
+
};
|
|
42261
|
+
/**
|
|
42262
|
+
* ReportV6Api - functional programming interface
|
|
42263
|
+
* @export
|
|
42264
|
+
*/
|
|
42265
|
+
export declare const ReportV6ApiFp: (configuration?: Configuration) => {
|
|
42266
|
+
/**
|
|
42267
|
+
* The same answer as v5. In team mode, totals the role of the person unlocked on the till may not see are returned as zero, and without Transaction::ViewAll (see everyone\'s sales) only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
|
|
42268
|
+
* @summary End-of-day report, narrowed to the person working on the till
|
|
42269
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42270
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42271
|
+
* @param {string} [start] Start date
|
|
42272
|
+
* @param {string} [end] End date
|
|
42273
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42274
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42275
|
+
* @param {*} [options] Override http request option.
|
|
42276
|
+
* @throws {RequiredError}
|
|
42277
|
+
*/
|
|
42278
|
+
getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EndOfDayReportDtoV4>>;
|
|
42279
|
+
/**
|
|
42280
|
+
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail carries only the person\'s own entries without Transaction::ViewAll (see everyone\'s sales).
|
|
42281
|
+
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42282
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42283
|
+
* @param {SendReportEmailDto} sendReportEmailDto
|
|
42284
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42285
|
+
* @param {string} [start] Start date
|
|
42286
|
+
* @param {string} [end] End date
|
|
42287
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42288
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42289
|
+
* @param {*} [options] Override http request option.
|
|
42290
|
+
* @throws {RequiredError}
|
|
42291
|
+
*/
|
|
42292
|
+
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>>;
|
|
42293
|
+
};
|
|
42294
|
+
/**
|
|
42295
|
+
* ReportV6Api - factory interface
|
|
42296
|
+
* @export
|
|
42297
|
+
*/
|
|
42298
|
+
export declare const ReportV6ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
42299
|
+
/**
|
|
42300
|
+
* The same answer as v5. In team mode, totals the role of the person unlocked on the till may not see are returned as zero, and without Transaction::ViewAll (see everyone\'s sales) only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
|
|
42301
|
+
* @summary End-of-day report, narrowed to the person working on the till
|
|
42302
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42303
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42304
|
+
* @param {string} [start] Start date
|
|
42305
|
+
* @param {string} [end] End date
|
|
42306
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42307
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42308
|
+
* @param {*} [options] Override http request option.
|
|
42309
|
+
* @throws {RequiredError}
|
|
42310
|
+
*/
|
|
42311
|
+
getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: any): AxiosPromise<EndOfDayReportDtoV4>;
|
|
42312
|
+
/**
|
|
42313
|
+
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail carries only the person\'s own entries without Transaction::ViewAll (see everyone\'s sales).
|
|
42314
|
+
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42315
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42316
|
+
* @param {SendReportEmailDto} sendReportEmailDto
|
|
42317
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42318
|
+
* @param {string} [start] Start date
|
|
42319
|
+
* @param {string} [end] End date
|
|
42320
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42321
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42322
|
+
* @param {*} [options] Override http request option.
|
|
42323
|
+
* @throws {RequiredError}
|
|
42324
|
+
*/
|
|
42325
|
+
sendEndOfDayReportForTill(businessIds: Array<number>, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: any): AxiosPromise<void>;
|
|
42326
|
+
};
|
|
42327
|
+
/**
|
|
42328
|
+
* ReportV6Api - interface
|
|
42329
|
+
* @export
|
|
42330
|
+
* @interface ReportV6Api
|
|
42331
|
+
*/
|
|
42332
|
+
export interface ReportV6ApiInterface {
|
|
42333
|
+
/**
|
|
42334
|
+
* The same answer as v5. In team mode, totals the role of the person unlocked on the till may not see are returned as zero, and without Transaction::ViewAll (see everyone\'s sales) only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
|
|
42335
|
+
* @summary End-of-day report, narrowed to the person working on the till
|
|
42336
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42337
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42338
|
+
* @param {string} [start] Start date
|
|
42339
|
+
* @param {string} [end] End date
|
|
42340
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42341
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42342
|
+
* @param {*} [options] Override http request option.
|
|
42343
|
+
* @throws {RequiredError}
|
|
42344
|
+
* @memberof ReportV6ApiInterface
|
|
42345
|
+
*/
|
|
42346
|
+
getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): AxiosPromise<EndOfDayReportDtoV4>;
|
|
42347
|
+
/**
|
|
42348
|
+
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail carries only the person\'s own entries without Transaction::ViewAll (see everyone\'s sales).
|
|
42349
|
+
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42350
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42351
|
+
* @param {SendReportEmailDto} sendReportEmailDto
|
|
42352
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42353
|
+
* @param {string} [start] Start date
|
|
42354
|
+
* @param {string} [end] End date
|
|
42355
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42356
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42357
|
+
* @param {*} [options] Override http request option.
|
|
42358
|
+
* @throws {RequiredError}
|
|
42359
|
+
* @memberof ReportV6ApiInterface
|
|
42360
|
+
*/
|
|
42361
|
+
sendEndOfDayReportForTill(businessIds: Array<number>, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
42362
|
+
}
|
|
42363
|
+
/**
|
|
42364
|
+
* ReportV6Api - object-oriented interface
|
|
42365
|
+
* @export
|
|
42366
|
+
* @class ReportV6Api
|
|
42367
|
+
* @extends {BaseAPI}
|
|
42368
|
+
*/
|
|
42369
|
+
export declare class ReportV6Api extends BaseAPI implements ReportV6ApiInterface {
|
|
42370
|
+
/**
|
|
42371
|
+
* The same answer as v5. In team mode, totals the role of the person unlocked on the till may not see are returned as zero, and without Transaction::ViewAll (see everyone\'s sales) only that person\'s orders and refunds are counted. A till with nobody unlocked on the server gets the v5 answer unchanged.
|
|
42372
|
+
* @summary End-of-day report, narrowed to the person working on the till
|
|
42373
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42374
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42375
|
+
* @param {string} [start] Start date
|
|
42376
|
+
* @param {string} [end] End date
|
|
42377
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42378
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42379
|
+
* @param {*} [options] Override http request option.
|
|
42380
|
+
* @throws {RequiredError}
|
|
42381
|
+
* @memberof ReportV6Api
|
|
42382
|
+
*/
|
|
42383
|
+
getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EndOfDayReportDtoV4, any, {}>>;
|
|
42384
|
+
/**
|
|
42385
|
+
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail carries only the person\'s own entries without Transaction::ViewAll (see everyone\'s sales).
|
|
42386
|
+
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42387
|
+
* @param {Array<number>} businessIds Business ID selected
|
|
42388
|
+
* @param {SendReportEmailDto} sendReportEmailDto
|
|
42389
|
+
* @param {TimeSpan} [timeSpan] Time span
|
|
42390
|
+
* @param {string} [start] Start date
|
|
42391
|
+
* @param {string} [end] End date
|
|
42392
|
+
* @param {string} [timezone] Timezone of the period (default \"UTC\")
|
|
42393
|
+
* @param {ProviderEnum} [provider] Order source (default MunchiPos)
|
|
42394
|
+
* @param {*} [options] Override http request option.
|
|
42395
|
+
* @throws {RequiredError}
|
|
42396
|
+
* @memberof ReportV6Api
|
|
42397
|
+
*/
|
|
42398
|
+
sendEndOfDayReportForTill(businessIds: Array<number>, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
42399
|
+
}
|
|
41884
42400
|
/**
|
|
41885
42401
|
* ReservationsApi - axios parameter creator
|
|
41886
42402
|
* @export
|