@munchi_oy/core 1.9.135 → 1.9.137
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 +15 -23
- 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 +15 -23
- 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";
|
|
@@ -31319,7 +31311,7 @@ export declare class CashManagementApi extends BaseAPI implements CashManagement
|
|
|
31319
31311
|
*/
|
|
31320
31312
|
export declare const CashManagementV6ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31321
31313
|
/**
|
|
31322
|
-
* The same answer as v1. In team mode, a role without
|
|
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.
|
|
31323
31315
|
* @summary Cash logs, narrowed to the person working on the till
|
|
31324
31316
|
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31325
31317
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -31339,7 +31331,7 @@ export declare const CashManagementV6ApiAxiosParamCreator: (configuration?: Conf
|
|
|
31339
31331
|
*/
|
|
31340
31332
|
export declare const CashManagementV6ApiFp: (configuration?: Configuration) => {
|
|
31341
31333
|
/**
|
|
31342
|
-
* The same answer as v1. In team mode, a role without
|
|
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.
|
|
31343
31335
|
* @summary Cash logs, narrowed to the person working on the till
|
|
31344
31336
|
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31345
31337
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -31359,7 +31351,7 @@ export declare const CashManagementV6ApiFp: (configuration?: Configuration) => {
|
|
|
31359
31351
|
*/
|
|
31360
31352
|
export declare const CashManagementV6ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
31361
31353
|
/**
|
|
31362
|
-
* The same answer as v1. In team mode, a role without
|
|
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.
|
|
31363
31355
|
* @summary Cash logs, narrowed to the person working on the till
|
|
31364
31356
|
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31365
31357
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -31380,7 +31372,7 @@ export declare const CashManagementV6ApiFactory: (configuration?: Configuration,
|
|
|
31380
31372
|
*/
|
|
31381
31373
|
export interface CashManagementV6ApiInterface {
|
|
31382
31374
|
/**
|
|
31383
|
-
* The same answer as v1. In team mode, a role without
|
|
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.
|
|
31384
31376
|
* @summary Cash logs, narrowed to the person working on the till
|
|
31385
31377
|
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31386
31378
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -31403,7 +31395,7 @@ export interface CashManagementV6ApiInterface {
|
|
|
31403
31395
|
*/
|
|
31404
31396
|
export declare class CashManagementV6Api extends BaseAPI implements CashManagementV6ApiInterface {
|
|
31405
31397
|
/**
|
|
31406
|
-
* The same answer as v1. In team mode, a role without
|
|
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.
|
|
31407
31399
|
* @summary Cash logs, narrowed to the person working on the till
|
|
31408
31400
|
* @param {string} businessId Id of the venue whose cash logs are read
|
|
31409
31401
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -42239,7 +42231,7 @@ export declare class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
42239
42231
|
*/
|
|
42240
42232
|
export declare const ReportV6ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
42241
42233
|
/**
|
|
42242
|
-
* The same answer as v5. In team mode, totals
|
|
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.
|
|
42243
42235
|
* @summary End-of-day report, narrowed to the person working on the till
|
|
42244
42236
|
* @param {Array<number>} businessIds Business ID selected
|
|
42245
42237
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -42252,7 +42244,7 @@ export declare const ReportV6ApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
42252
42244
|
*/
|
|
42253
42245
|
getEndOfDayReportForTill: (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42254
42246
|
/**
|
|
42255
|
-
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail
|
|
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).
|
|
42256
42248
|
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42257
42249
|
* @param {Array<number>} businessIds Business ID selected
|
|
42258
42250
|
* @param {SendReportEmailDto} sendReportEmailDto
|
|
@@ -42272,7 +42264,7 @@ export declare const ReportV6ApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
42272
42264
|
*/
|
|
42273
42265
|
export declare const ReportV6ApiFp: (configuration?: Configuration) => {
|
|
42274
42266
|
/**
|
|
42275
|
-
* The same answer as v5. In team mode, totals
|
|
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.
|
|
42276
42268
|
* @summary End-of-day report, narrowed to the person working on the till
|
|
42277
42269
|
* @param {Array<number>} businessIds Business ID selected
|
|
42278
42270
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -42285,7 +42277,7 @@ export declare const ReportV6ApiFp: (configuration?: Configuration) => {
|
|
|
42285
42277
|
*/
|
|
42286
42278
|
getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EndOfDayReportDtoV4>>;
|
|
42287
42279
|
/**
|
|
42288
|
-
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail
|
|
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).
|
|
42289
42281
|
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42290
42282
|
* @param {Array<number>} businessIds Business ID selected
|
|
42291
42283
|
* @param {SendReportEmailDto} sendReportEmailDto
|
|
@@ -42305,7 +42297,7 @@ export declare const ReportV6ApiFp: (configuration?: Configuration) => {
|
|
|
42305
42297
|
*/
|
|
42306
42298
|
export declare const ReportV6ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
42307
42299
|
/**
|
|
42308
|
-
* The same answer as v5. In team mode, totals
|
|
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.
|
|
42309
42301
|
* @summary End-of-day report, narrowed to the person working on the till
|
|
42310
42302
|
* @param {Array<number>} businessIds Business ID selected
|
|
42311
42303
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -42318,7 +42310,7 @@ export declare const ReportV6ApiFactory: (configuration?: Configuration, basePat
|
|
|
42318
42310
|
*/
|
|
42319
42311
|
getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: any): AxiosPromise<EndOfDayReportDtoV4>;
|
|
42320
42312
|
/**
|
|
42321
|
-
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail
|
|
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).
|
|
42322
42314
|
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42323
42315
|
* @param {Array<number>} businessIds Business ID selected
|
|
42324
42316
|
* @param {SendReportEmailDto} sendReportEmailDto
|
|
@@ -42339,7 +42331,7 @@ export declare const ReportV6ApiFactory: (configuration?: Configuration, basePat
|
|
|
42339
42331
|
*/
|
|
42340
42332
|
export interface ReportV6ApiInterface {
|
|
42341
42333
|
/**
|
|
42342
|
-
* The same answer as v5. In team mode, totals
|
|
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.
|
|
42343
42335
|
* @summary End-of-day report, narrowed to the person working on the till
|
|
42344
42336
|
* @param {Array<number>} businessIds Business ID selected
|
|
42345
42337
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -42353,7 +42345,7 @@ export interface ReportV6ApiInterface {
|
|
|
42353
42345
|
*/
|
|
42354
42346
|
getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): AxiosPromise<EndOfDayReportDtoV4>;
|
|
42355
42347
|
/**
|
|
42356
|
-
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail
|
|
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).
|
|
42357
42349
|
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42358
42350
|
* @param {Array<number>} businessIds Business ID selected
|
|
42359
42351
|
* @param {SendReportEmailDto} sendReportEmailDto
|
|
@@ -42376,7 +42368,7 @@ export interface ReportV6ApiInterface {
|
|
|
42376
42368
|
*/
|
|
42377
42369
|
export declare class ReportV6Api extends BaseAPI implements ReportV6ApiInterface {
|
|
42378
42370
|
/**
|
|
42379
|
-
* The same answer as v5. In team mode, totals
|
|
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.
|
|
42380
42372
|
* @summary End-of-day report, narrowed to the person working on the till
|
|
42381
42373
|
* @param {Array<number>} businessIds Business ID selected
|
|
42382
42374
|
* @param {TimeSpan} [timeSpan] Time span
|
|
@@ -42390,7 +42382,7 @@ export declare class ReportV6Api extends BaseAPI implements ReportV6ApiInterface
|
|
|
42390
42382
|
*/
|
|
42391
42383
|
getEndOfDayReportForTill(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EndOfDayReportDtoV4, any, {}>>;
|
|
42392
42384
|
/**
|
|
42393
|
-
* The same e-mail as v5, with the report narrowed as in v6 end-of-day. The cash-log e-mail
|
|
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).
|
|
42394
42386
|
* @summary E-mail the end-of-day report, narrowed to the person working on the till
|
|
42395
42387
|
* @param {Array<number>} businessIds Business ID selected
|
|
42396
42388
|
* @param {SendReportEmailDto} sendReportEmailDto
|