@munchi_oy/core 2.9.0 → 2.11.0
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 +432 -50
- 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/src/version.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +660 -50
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/generated/api.ts
CHANGED
|
@@ -2890,6 +2890,25 @@ export interface ChangeShiftDto {
|
|
|
2890
2890
|
*/
|
|
2891
2891
|
'clockOutTime'?: string;
|
|
2892
2892
|
}
|
|
2893
|
+
/**
|
|
2894
|
+
*
|
|
2895
|
+
* @export
|
|
2896
|
+
* @interface ChangeStoreAppDto
|
|
2897
|
+
*/
|
|
2898
|
+
export interface ChangeStoreAppDto {
|
|
2899
|
+
/**
|
|
2900
|
+
* true adds the app to the store\'s list (kept once, at the end); false removes it
|
|
2901
|
+
* @type {boolean}
|
|
2902
|
+
* @memberof ChangeStoreAppDto
|
|
2903
|
+
*/
|
|
2904
|
+
'added': boolean;
|
|
2905
|
+
/**
|
|
2906
|
+
* The list the store shows today, saved as the store\'s list when it has none yet, with this change applied on top; ignored once the store has a list. Each app at most once; an empty list is a store that shows none.
|
|
2907
|
+
* @type {Set<StoreApp>}
|
|
2908
|
+
* @memberof ChangeStoreAppDto
|
|
2909
|
+
*/
|
|
2910
|
+
'startWith': Set<StoreApp>;
|
|
2911
|
+
}
|
|
2893
2912
|
/**
|
|
2894
2913
|
*
|
|
2895
2914
|
* @export
|
|
@@ -11498,9 +11517,34 @@ export interface KdsStationDto {
|
|
|
11498
11517
|
* @memberof KdsStationDto
|
|
11499
11518
|
*/
|
|
11500
11519
|
'categoryIds': Array<string>;
|
|
11520
|
+
/**
|
|
11521
|
+
* The ordering channels whose whole orders this station takes, whatever its categories list; an empty list when it takes none
|
|
11522
|
+
* @type {Array<ProviderEnum>}
|
|
11523
|
+
* @memberof KdsStationDto
|
|
11524
|
+
*/
|
|
11525
|
+
'channels': Array<ProviderEnum>;
|
|
11501
11526
|
}
|
|
11502
11527
|
|
|
11503
11528
|
|
|
11529
|
+
/**
|
|
11530
|
+
*
|
|
11531
|
+
* @export
|
|
11532
|
+
* @interface KioskAutoRejectDto
|
|
11533
|
+
*/
|
|
11534
|
+
export interface KioskAutoRejectDto {
|
|
11535
|
+
/**
|
|
11536
|
+
* The kiosk order\'s id
|
|
11537
|
+
* @type {string}
|
|
11538
|
+
* @memberof KioskAutoRejectDto
|
|
11539
|
+
*/
|
|
11540
|
+
'orderId': string;
|
|
11541
|
+
/**
|
|
11542
|
+
* The venue whose order this is, by its venue id
|
|
11543
|
+
* @type {number}
|
|
11544
|
+
* @memberof KioskAutoRejectDto
|
|
11545
|
+
*/
|
|
11546
|
+
'orderingBusinessId': number;
|
|
11547
|
+
}
|
|
11504
11548
|
/**
|
|
11505
11549
|
*
|
|
11506
11550
|
* @export
|
|
@@ -30368,6 +30412,19 @@ export const SavedReportVisibility = {
|
|
|
30368
30412
|
export type SavedReportVisibility = typeof SavedReportVisibility[keyof typeof SavedReportVisibility];
|
|
30369
30413
|
|
|
30370
30414
|
|
|
30415
|
+
/**
|
|
30416
|
+
*
|
|
30417
|
+
* @export
|
|
30418
|
+
* @interface SavedStoreAppsDto
|
|
30419
|
+
*/
|
|
30420
|
+
export interface SavedStoreAppsDto {
|
|
30421
|
+
/**
|
|
30422
|
+
* The store\'s list as saved now, in the order the apps were added
|
|
30423
|
+
* @type {Array<StoreApp>}
|
|
30424
|
+
* @memberof SavedStoreAppsDto
|
|
30425
|
+
*/
|
|
30426
|
+
'apps': Array<StoreApp>;
|
|
30427
|
+
}
|
|
30371
30428
|
/**
|
|
30372
30429
|
*
|
|
30373
30430
|
* @export
|
|
@@ -30576,6 +30633,25 @@ export interface SetEmployeeRoleDto {
|
|
|
30576
30633
|
*/
|
|
30577
30634
|
'roleId': string;
|
|
30578
30635
|
}
|
|
30636
|
+
/**
|
|
30637
|
+
*
|
|
30638
|
+
* @export
|
|
30639
|
+
* @interface SetKdsChannelStationsDto
|
|
30640
|
+
*/
|
|
30641
|
+
export interface SetKdsChannelStationsDto {
|
|
30642
|
+
/**
|
|
30643
|
+
* The Munchi venue id (orderingBusinessId) the stations belong to
|
|
30644
|
+
* @type {number}
|
|
30645
|
+
* @memberof SetKdsChannelStationsDto
|
|
30646
|
+
*/
|
|
30647
|
+
'businessId': number;
|
|
30648
|
+
/**
|
|
30649
|
+
* The complete set of stations taking the channel\'s whole orders, by their ids in kds-service: it replaces the set the channel had. An empty list clears it
|
|
30650
|
+
* @type {Array<string>}
|
|
30651
|
+
* @memberof SetKdsChannelStationsDto
|
|
30652
|
+
*/
|
|
30653
|
+
'stationIds': Array<string>;
|
|
30654
|
+
}
|
|
30579
30655
|
/**
|
|
30580
30656
|
*
|
|
30581
30657
|
* @export
|
|
@@ -31226,6 +31302,19 @@ export interface StaffShiftDto {
|
|
|
31226
31302
|
}
|
|
31227
31303
|
|
|
31228
31304
|
|
|
31305
|
+
/**
|
|
31306
|
+
*
|
|
31307
|
+
* @export
|
|
31308
|
+
* @interface StartStoreAppsDto
|
|
31309
|
+
*/
|
|
31310
|
+
export interface StartStoreAppsDto {
|
|
31311
|
+
/**
|
|
31312
|
+
* The apps the store shows today, saved as its list only when it has none yet; a list already saved is kept as it is. Each app at most once; an empty list is a store that shows none.
|
|
31313
|
+
* @type {Set<StoreApp>}
|
|
31314
|
+
* @memberof StartStoreAppsDto
|
|
31315
|
+
*/
|
|
31316
|
+
'apps': Set<StoreApp>;
|
|
31317
|
+
}
|
|
31229
31318
|
/**
|
|
31230
31319
|
*
|
|
31231
31320
|
* @export
|
|
@@ -31504,6 +31593,40 @@ export const Status = {
|
|
|
31504
31593
|
export type Status = typeof Status[keyof typeof Status];
|
|
31505
31594
|
|
|
31506
31595
|
|
|
31596
|
+
/**
|
|
31597
|
+
*
|
|
31598
|
+
* @export
|
|
31599
|
+
* @enum {string}
|
|
31600
|
+
*/
|
|
31601
|
+
|
|
31602
|
+
export const StoreApp = {
|
|
31603
|
+
OnlineStore: 'online_store',
|
|
31604
|
+
Kiosk: 'kiosk',
|
|
31605
|
+
Kitchen: 'kitchen',
|
|
31606
|
+
Loyalty: 'loyalty',
|
|
31607
|
+
OrderStatus: 'order_status',
|
|
31608
|
+
Reservation: 'reservation',
|
|
31609
|
+
GiftCard: 'gift_card',
|
|
31610
|
+
AriCalls: 'ari_calls',
|
|
31611
|
+
AriOrders: 'ari_orders'
|
|
31612
|
+
} as const;
|
|
31613
|
+
|
|
31614
|
+
export type StoreApp = typeof StoreApp[keyof typeof StoreApp];
|
|
31615
|
+
|
|
31616
|
+
|
|
31617
|
+
/**
|
|
31618
|
+
*
|
|
31619
|
+
* @export
|
|
31620
|
+
* @interface StoreAppsDto
|
|
31621
|
+
*/
|
|
31622
|
+
export interface StoreAppsDto {
|
|
31623
|
+
/**
|
|
31624
|
+
* The store\'s saved list, in the order the apps were added; null while nobody has saved one for the store yet, when the dashboard shows the apps the store uses.
|
|
31625
|
+
* @type {Array<StoreApp>}
|
|
31626
|
+
* @memberof StoreAppsDto
|
|
31627
|
+
*/
|
|
31628
|
+
'apps': Array<StoreApp> | null;
|
|
31629
|
+
}
|
|
31507
31630
|
/**
|
|
31508
31631
|
*
|
|
31509
31632
|
* @export
|
|
@@ -43616,7 +43739,7 @@ export const CashManagementApiAxiosParamCreator = function (configuration?: Conf
|
|
|
43616
43739
|
};
|
|
43617
43740
|
},
|
|
43618
43741
|
/**
|
|
43619
|
-
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries).
|
|
43742
|
+
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries). A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
43620
43743
|
* @summary One page of the venue\'s cash entries in a period
|
|
43621
43744
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
43622
43745
|
* @param {TimeSpan} [timeSpan] The period to read; with no time span, today from midnight until now
|
|
@@ -43883,7 +44006,7 @@ export const CashManagementApiFp = function(configuration?: Configuration) {
|
|
|
43883
44006
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
43884
44007
|
},
|
|
43885
44008
|
/**
|
|
43886
|
-
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries).
|
|
44009
|
+
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries). A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
43887
44010
|
* @summary One page of the venue\'s cash entries in a period
|
|
43888
44011
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
43889
44012
|
* @param {TimeSpan} [timeSpan] The period to read; with no time span, today from midnight until now
|
|
@@ -43970,7 +44093,7 @@ export const CashManagementApiFactory = function (configuration?: Configuration,
|
|
|
43970
44093
|
return localVarFp.create(businessId, cashSessionDto, options).then((request) => request(axios, basePath));
|
|
43971
44094
|
},
|
|
43972
44095
|
/**
|
|
43973
|
-
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries).
|
|
44096
|
+
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries). A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
43974
44097
|
* @summary One page of the venue\'s cash entries in a period
|
|
43975
44098
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
43976
44099
|
* @param {TimeSpan} [timeSpan] The period to read; with no time span, today from midnight until now
|
|
@@ -44051,7 +44174,7 @@ export interface CashManagementApiInterface {
|
|
|
44051
44174
|
create(businessId: string, cashSessionDto: CashSessionDto, options?: AxiosRequestConfig): AxiosPromise<CashSessionDto>;
|
|
44052
44175
|
|
|
44053
44176
|
/**
|
|
44054
|
-
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries).
|
|
44177
|
+
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries). A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
44055
44178
|
* @summary One page of the venue\'s cash entries in a period
|
|
44056
44179
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
44057
44180
|
* @param {TimeSpan} [timeSpan] The period to read; with no time span, today from midnight until now
|
|
@@ -44134,7 +44257,7 @@ export class CashManagementApi extends BaseAPI implements CashManagementApiInter
|
|
|
44134
44257
|
}
|
|
44135
44258
|
|
|
44136
44259
|
/**
|
|
44137
|
-
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries).
|
|
44260
|
+
* Every entry of the venue in the period, oldest first, without the closing counts (CLOSING entries). A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
44138
44261
|
* @summary One page of the venue\'s cash entries in a period
|
|
44139
44262
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
44140
44263
|
* @param {TimeSpan} [timeSpan] The period to read; with no time span, today from midnight until now
|
|
@@ -47431,7 +47554,7 @@ export const EmployeeRolesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
47431
47554
|
};
|
|
47432
47555
|
},
|
|
47433
47556
|
/**
|
|
47434
|
-
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles.
|
|
47557
|
+
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
47435
47558
|
* @summary List the venue\'s employee roles
|
|
47436
47559
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
47437
47560
|
* @param {*} [options] Override http request option.
|
|
@@ -47557,7 +47680,7 @@ export const EmployeeRolesApiFp = function(configuration?: Configuration) {
|
|
|
47557
47680
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47558
47681
|
},
|
|
47559
47682
|
/**
|
|
47560
|
-
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles.
|
|
47683
|
+
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
47561
47684
|
* @summary List the venue\'s employee roles
|
|
47562
47685
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
47563
47686
|
* @param {*} [options] Override http request option.
|
|
@@ -47623,7 +47746,7 @@ export const EmployeeRolesApiFactory = function (configuration?: Configuration,
|
|
|
47623
47746
|
return localVarFp.changeEmployeeRole(businessId, roleId, changeEmployeeRoleDto, options).then((request) => request(axios, basePath));
|
|
47624
47747
|
},
|
|
47625
47748
|
/**
|
|
47626
|
-
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles.
|
|
47749
|
+
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
47627
47750
|
* @summary List the venue\'s employee roles
|
|
47628
47751
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
47629
47752
|
* @param {*} [options] Override http request option.
|
|
@@ -47686,7 +47809,7 @@ export interface EmployeeRolesApiInterface {
|
|
|
47686
47809
|
changeEmployeeRole(businessId: number, roleId: string, changeEmployeeRoleDto: ChangeEmployeeRoleDto, options?: AxiosRequestConfig): AxiosPromise<EmployeeRoleResponseDto>;
|
|
47687
47810
|
|
|
47688
47811
|
/**
|
|
47689
|
-
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles.
|
|
47812
|
+
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
47690
47813
|
* @summary List the venue\'s employee roles
|
|
47691
47814
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
47692
47815
|
* @param {*} [options] Override http request option.
|
|
@@ -47755,7 +47878,7 @@ export class EmployeeRolesApi extends BaseAPI implements EmployeeRolesApiInterfa
|
|
|
47755
47878
|
}
|
|
47756
47879
|
|
|
47757
47880
|
/**
|
|
47758
|
-
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles.
|
|
47881
|
+
* What each role lets the person at the till do, for the back office (D144). Read from the database every time, ordered by name; a venue keeps at most 100 roles. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
47759
47882
|
* @summary List the venue\'s employee roles
|
|
47760
47883
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
47761
47884
|
* @param {*} [options] Override http request option.
|
|
@@ -47880,7 +48003,7 @@ export const EmployeesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
47880
48003
|
};
|
|
47881
48004
|
},
|
|
47882
48005
|
/**
|
|
47883
|
-
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time.
|
|
48006
|
+
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
47884
48007
|
* @summary List the venue\'s employees
|
|
47885
48008
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
47886
48009
|
* @param {string} [cursor] The nextCursor of the page before; absent for the first page
|
|
@@ -48053,7 +48176,7 @@ export const EmployeesApiFp = function(configuration?: Configuration) {
|
|
|
48053
48176
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
48054
48177
|
},
|
|
48055
48178
|
/**
|
|
48056
|
-
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time.
|
|
48179
|
+
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
48057
48180
|
* @summary List the venue\'s employees
|
|
48058
48181
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
48059
48182
|
* @param {string} [cursor] The nextCursor of the page before; absent for the first page
|
|
@@ -48124,7 +48247,7 @@ export const EmployeesApiFactory = function (configuration?: Configuration, base
|
|
|
48124
48247
|
return localVarFp.changeEmployee(businessId, employeeId, changeEmployeeDto, options).then((request) => request(axios, basePath));
|
|
48125
48248
|
},
|
|
48126
48249
|
/**
|
|
48127
|
-
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time.
|
|
48250
|
+
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
48128
48251
|
* @summary List the venue\'s employees
|
|
48129
48252
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
48130
48253
|
* @param {string} [cursor] The nextCursor of the page before; absent for the first page
|
|
@@ -48191,7 +48314,7 @@ export interface EmployeesApiInterface {
|
|
|
48191
48314
|
changeEmployee(businessId: number, employeeId: string, changeEmployeeDto: ChangeEmployeeDto, options?: AxiosRequestConfig): AxiosPromise<EmployeeResponseDto>;
|
|
48192
48315
|
|
|
48193
48316
|
/**
|
|
48194
|
-
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time.
|
|
48317
|
+
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
48195
48318
|
* @summary List the venue\'s employees
|
|
48196
48319
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
48197
48320
|
* @param {string} [cursor] The nextCursor of the page before; absent for the first page
|
|
@@ -48262,7 +48385,7 @@ export class EmployeesApi extends BaseAPI implements EmployeesApiInterface {
|
|
|
48262
48385
|
}
|
|
48263
48386
|
|
|
48264
48387
|
/**
|
|
48265
|
-
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time.
|
|
48388
|
+
* The employees who work at the venue, and those added there with no role yet, ordered by name, a page at a time (D144). No PIN is answered, in any form. Read from the database every time. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
48266
48389
|
* @summary List the venue\'s employees
|
|
48267
48390
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
48268
48391
|
* @param {string} [cursor] The nextCursor of the page before; absent for the first page
|
|
@@ -50346,7 +50469,7 @@ export const HistoryV6ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
50346
50469
|
};
|
|
50347
50470
|
},
|
|
50348
50471
|
/**
|
|
50349
|
-
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till.
|
|
50472
|
+
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
50350
50473
|
* @summary Online order history of the venues, every order and total
|
|
50351
50474
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50352
50475
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -50452,7 +50575,7 @@ export const HistoryV6ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
50452
50575
|
};
|
|
50453
50576
|
},
|
|
50454
50577
|
/**
|
|
50455
|
-
* 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.
|
|
50578
|
+
* 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, or a Munchi-internal Clerk API key, gets the v5 answer unchanged; a partner\'s key is refused.
|
|
50456
50579
|
* @summary POS order history, narrowed to the person working on the till
|
|
50457
50580
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50458
50581
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -50592,7 +50715,7 @@ export const HistoryV6ApiFp = function(configuration?: Configuration) {
|
|
|
50592
50715
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
50593
50716
|
},
|
|
50594
50717
|
/**
|
|
50595
|
-
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till.
|
|
50718
|
+
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
50596
50719
|
* @summary Online order history of the venues, every order and total
|
|
50597
50720
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50598
50721
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -50616,7 +50739,7 @@ export const HistoryV6ApiFp = function(configuration?: Configuration) {
|
|
|
50616
50739
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
50617
50740
|
},
|
|
50618
50741
|
/**
|
|
50619
|
-
* 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.
|
|
50742
|
+
* 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, or a Munchi-internal Clerk API key, gets the v5 answer unchanged; a partner\'s key is refused.
|
|
50620
50743
|
* @summary POS order history, narrowed to the person working on the till
|
|
50621
50744
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50622
50745
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -50673,7 +50796,7 @@ export const HistoryV6ApiFactory = function (configuration?: Configuration, base
|
|
|
50673
50796
|
return localVarFp.listOnlineOrderHistoryForServices(businessIds, timeSpan, start, end, page, rowPerPage, provider, paymentType, orderStatus, paymentStatus, orderType, paymentTypePos, invoiceCompanyId, timezone, options).then((request) => request(axios, basePath));
|
|
50674
50797
|
},
|
|
50675
50798
|
/**
|
|
50676
|
-
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till.
|
|
50799
|
+
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
50677
50800
|
* @summary Online order history of the venues, every order and total
|
|
50678
50801
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50679
50802
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -50696,7 +50819,7 @@ export const HistoryV6ApiFactory = function (configuration?: Configuration, base
|
|
|
50696
50819
|
return localVarFp.listOnlineOrderHistoryForTill(businessIds, timeSpan, start, end, page, rowPerPage, provider, paymentType, orderStatus, paymentStatus, orderType, paymentTypePos, invoiceCompanyId, timezone, options).then((request) => request(axios, basePath));
|
|
50697
50820
|
},
|
|
50698
50821
|
/**
|
|
50699
|
-
* 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.
|
|
50822
|
+
* 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, or a Munchi-internal Clerk API key, gets the v5 answer unchanged; a partner\'s key is refused.
|
|
50700
50823
|
* @summary POS order history, narrowed to the person working on the till
|
|
50701
50824
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50702
50825
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -50751,7 +50874,7 @@ export interface HistoryV6ApiInterface {
|
|
|
50751
50874
|
listOnlineOrderHistoryForServices(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>;
|
|
50752
50875
|
|
|
50753
50876
|
/**
|
|
50754
|
-
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till.
|
|
50877
|
+
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
50755
50878
|
* @summary Online order history of the venues, every order and total
|
|
50756
50879
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50757
50880
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -50774,7 +50897,7 @@ export interface HistoryV6ApiInterface {
|
|
|
50774
50897
|
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>;
|
|
50775
50898
|
|
|
50776
50899
|
/**
|
|
50777
|
-
* 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.
|
|
50900
|
+
* 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, or a Munchi-internal Clerk API key, gets the v5 answer unchanged; a partner\'s key is refused.
|
|
50778
50901
|
* @summary POS order history, narrowed to the person working on the till
|
|
50779
50902
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50780
50903
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -50831,7 +50954,7 @@ export class HistoryV6Api extends BaseAPI implements HistoryV6ApiInterface {
|
|
|
50831
50954
|
}
|
|
50832
50955
|
|
|
50833
50956
|
/**
|
|
50834
|
-
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till.
|
|
50957
|
+
* One page of the venues\' online orders, newest first, with the order counts and sales totals of the period. Online orders span venues and are not staff\'s, so they are answered whole whoever is unlocked on the till. A Munchi-internal Clerk API key reads every venue; a partner\'s key is refused.
|
|
50835
50958
|
* @summary Online order history of the venues, every order and total
|
|
50836
50959
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50837
50960
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -50856,7 +50979,7 @@ export class HistoryV6Api extends BaseAPI implements HistoryV6ApiInterface {
|
|
|
50856
50979
|
}
|
|
50857
50980
|
|
|
50858
50981
|
/**
|
|
50859
|
-
* 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.
|
|
50982
|
+
* 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, or a Munchi-internal Clerk API key, gets the v5 answer unchanged; a partner\'s key is refused.
|
|
50860
50983
|
* @summary POS order history, narrowed to the person working on the till
|
|
50861
50984
|
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50862
50985
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -51855,6 +51978,50 @@ export const KDSApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
51855
51978
|
options: localVarRequestOptions,
|
|
51856
51979
|
};
|
|
51857
51980
|
},
|
|
51981
|
+
/**
|
|
51982
|
+
* The stations named become exactly the set taking the channel\'s whole orders; an empty list clears it. Each must be one of the venue\'s active stations, never its NO_STATION profile. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
51983
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
51984
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
51985
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
51986
|
+
* @param {*} [options] Override http request option.
|
|
51987
|
+
* @throws {RequiredError}
|
|
51988
|
+
*/
|
|
51989
|
+
setKdsChannelStations: async (channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51990
|
+
// verify required parameter 'channel' is not null or undefined
|
|
51991
|
+
assertParamExists('setKdsChannelStations', 'channel', channel)
|
|
51992
|
+
// verify required parameter 'setKdsChannelStationsDto' is not null or undefined
|
|
51993
|
+
assertParamExists('setKdsChannelStations', 'setKdsChannelStationsDto', setKdsChannelStationsDto)
|
|
51994
|
+
const localVarPath = `/api/v2/kds/stations/channels/{channel}`
|
|
51995
|
+
.replace(`{${"channel"}}`, encodeURIComponent(String(channel)));
|
|
51996
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51997
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51998
|
+
let baseOptions;
|
|
51999
|
+
if (configuration) {
|
|
52000
|
+
baseOptions = configuration.baseOptions;
|
|
52001
|
+
}
|
|
52002
|
+
|
|
52003
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
52004
|
+
const localVarHeaderParameter = {} as any;
|
|
52005
|
+
const localVarQueryParameter = {} as any;
|
|
52006
|
+
|
|
52007
|
+
// authentication JWT-auth required
|
|
52008
|
+
// http bearer authentication required
|
|
52009
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
52010
|
+
|
|
52011
|
+
|
|
52012
|
+
|
|
52013
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
52014
|
+
|
|
52015
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
52016
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52017
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
52018
|
+
localVarRequestOptions.data = serializeDataIfNeeded(setKdsChannelStationsDto, localVarRequestOptions, configuration)
|
|
52019
|
+
|
|
52020
|
+
return {
|
|
52021
|
+
url: toPathString(localVarUrlObj),
|
|
52022
|
+
options: localVarRequestOptions,
|
|
52023
|
+
};
|
|
52024
|
+
},
|
|
51858
52025
|
/**
|
|
51859
52026
|
* The station\'s categories become exactly the list sent, in one kds-service transaction; its name changes only when one is sent. The station must be one of the venue\'s active stations. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
51860
52027
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -52008,6 +52175,18 @@ export const KDSApiFp = function(configuration?: Configuration) {
|
|
|
52008
52175
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listKdsStations(businessId, options);
|
|
52009
52176
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
52010
52177
|
},
|
|
52178
|
+
/**
|
|
52179
|
+
* The stations named become exactly the set taking the channel\'s whole orders; an empty list clears it. Each must be one of the venue\'s active stations, never its NO_STATION profile. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
52180
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
52181
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
52182
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
52183
|
+
* @param {*} [options] Override http request option.
|
|
52184
|
+
* @throws {RequiredError}
|
|
52185
|
+
*/
|
|
52186
|
+
async setKdsChannelStations(channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsStationDto>>> {
|
|
52187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setKdsChannelStations(channel, setKdsChannelStationsDto, options);
|
|
52188
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
52189
|
+
},
|
|
52011
52190
|
/**
|
|
52012
52191
|
* The station\'s categories become exactly the list sent, in one kds-service transaction; its name changes only when one is sent. The station must be one of the venue\'s active stations. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
52013
52192
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -52121,6 +52300,17 @@ export const KDSApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
52121
52300
|
listKdsStations(businessId: number, options?: any): AxiosPromise<Array<KdsStationDto>> {
|
|
52122
52301
|
return localVarFp.listKdsStations(businessId, options).then((request) => request(axios, basePath));
|
|
52123
52302
|
},
|
|
52303
|
+
/**
|
|
52304
|
+
* The stations named become exactly the set taking the channel\'s whole orders; an empty list clears it. Each must be one of the venue\'s active stations, never its NO_STATION profile. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
52305
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
52306
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
52307
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
52308
|
+
* @param {*} [options] Override http request option.
|
|
52309
|
+
* @throws {RequiredError}
|
|
52310
|
+
*/
|
|
52311
|
+
setKdsChannelStations(channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options?: any): AxiosPromise<Array<KdsStationDto>> {
|
|
52312
|
+
return localVarFp.setKdsChannelStations(channel, setKdsChannelStationsDto, options).then((request) => request(axios, basePath));
|
|
52313
|
+
},
|
|
52124
52314
|
/**
|
|
52125
52315
|
* The station\'s categories become exactly the list sent, in one kds-service transaction; its name changes only when one is sent. The station must be one of the venue\'s active stations. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
52126
52316
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -52232,6 +52422,17 @@ export interface KDSApiInterface {
|
|
|
52232
52422
|
*/
|
|
52233
52423
|
listKdsStations(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<KdsStationDto>>;
|
|
52234
52424
|
|
|
52425
|
+
/**
|
|
52426
|
+
* The stations named become exactly the set taking the channel\'s whole orders; an empty list clears it. Each must be one of the venue\'s active stations, never its NO_STATION profile. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
52427
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
52428
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
52429
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
52430
|
+
* @param {*} [options] Override http request option.
|
|
52431
|
+
* @throws {RequiredError}
|
|
52432
|
+
* @memberof KDSApiInterface
|
|
52433
|
+
*/
|
|
52434
|
+
setKdsChannelStations(channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options?: AxiosRequestConfig): AxiosPromise<Array<KdsStationDto>>;
|
|
52435
|
+
|
|
52235
52436
|
/**
|
|
52236
52437
|
* The station\'s categories become exactly the list sent, in one kds-service transaction; its name changes only when one is sent. The station must be one of the venue\'s active stations. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
52237
52438
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -52359,6 +52560,19 @@ export class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
|
52359
52560
|
return KDSApiFp(this.configuration).listKdsStations(businessId, options).then((request) => request(this.axios, this.basePath));
|
|
52360
52561
|
}
|
|
52361
52562
|
|
|
52563
|
+
/**
|
|
52564
|
+
* The stations named become exactly the set taking the channel\'s whole orders; an empty list clears it. Each must be one of the venue\'s active stations, never its NO_STATION profile. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
52565
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
52566
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
52567
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
52568
|
+
* @param {*} [options] Override http request option.
|
|
52569
|
+
* @throws {RequiredError}
|
|
52570
|
+
* @memberof KDSApi
|
|
52571
|
+
*/
|
|
52572
|
+
public setKdsChannelStations(channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options?: AxiosRequestConfig) {
|
|
52573
|
+
return KDSApiFp(this.configuration).setKdsChannelStations(channel, setKdsChannelStationsDto, options).then((request) => request(this.axios, this.basePath));
|
|
52574
|
+
}
|
|
52575
|
+
|
|
52362
52576
|
/**
|
|
52363
52577
|
* The station\'s categories become exactly the list sent, in one kds-service transaction; its name changes only when one is sent. The station must be one of the venue\'s active stations. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
52364
52578
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -64936,7 +65150,7 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
64936
65150
|
};
|
|
64937
65151
|
},
|
|
64938
65152
|
/**
|
|
64939
|
-
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
65153
|
+
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is; a Munchi-internal Clerk API key gets the venue\'s whole report, and a partner\'s key is refused. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
64940
65154
|
* @summary End-of-day sales report of a venue as a PDF file to download, for a day, week, month, year or custom period
|
|
64941
65155
|
* @param {number} businessId The venue the file is of, by business id
|
|
64942
65156
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -65670,7 +65884,7 @@ export const ReportApiFp = function(configuration?: Configuration) {
|
|
|
65670
65884
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
65671
65885
|
},
|
|
65672
65886
|
/**
|
|
65673
|
-
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
65887
|
+
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is; a Munchi-internal Clerk API key gets the venue\'s whole report, and a partner\'s key is refused. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
65674
65888
|
* @summary End-of-day sales report of a venue as a PDF file to download, for a day, week, month, year or custom period
|
|
65675
65889
|
* @param {number} businessId The venue the file is of, by business id
|
|
65676
65890
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -65866,7 +66080,7 @@ export const ReportApiFactory = function (configuration?: Configuration, basePat
|
|
|
65866
66080
|
return localVarFp.getBoughtTogether(businessIds, timeSpan, start, end, timezone, apps, breakdown, language, itemKey, limit, options).then((request) => request(axios, basePath));
|
|
65867
66081
|
},
|
|
65868
66082
|
/**
|
|
65869
|
-
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
66083
|
+
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is; a Munchi-internal Clerk API key gets the venue\'s whole report, and a partner\'s key is refused. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
65870
66084
|
* @summary End-of-day sales report of a venue as a PDF file to download, for a day, week, month, year or custom period
|
|
65871
66085
|
* @param {number} businessId The venue the file is of, by business id
|
|
65872
66086
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -66052,7 +66266,7 @@ export interface ReportApiInterface {
|
|
|
66052
66266
|
getBoughtTogether(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, breakdown?: ReportBreakdown, language?: string, itemKey?: string, limit?: number, options?: AxiosRequestConfig): AxiosPromise<SalesReportBoughtTogetherResponseDto>;
|
|
66053
66267
|
|
|
66054
66268
|
/**
|
|
66055
|
-
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
66269
|
+
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is; a Munchi-internal Clerk API key gets the venue\'s whole report, and a partner\'s key is refused. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
66056
66270
|
* @summary End-of-day sales report of a venue as a PDF file to download, for a day, week, month, year or custom period
|
|
66057
66271
|
* @param {number} businessId The venue the file is of, by business id
|
|
66058
66272
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -66240,7 +66454,7 @@ export class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
66240
66454
|
}
|
|
66241
66455
|
|
|
66242
66456
|
/**
|
|
66243
|
-
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
66457
|
+
* The same report, rendered by the same generator, as the PDF the report e-mail (POST /api/v6/report/email) attaches, answered as the file itself instead of e-mailed. The period is the e-mail\'s: timeSpan DAY (the venue\'s business day), WEEK, MONTH, YEAR, or CUSTOM between start and end. A till\'s ticket gets it narrowed to the person on the till, as the e-mail is; a Munchi-internal Clerk API key gets the venue\'s whole report, and a partner\'s key is refused. Answers application/pdf with Content-Disposition attachment and the file\'s name.
|
|
66244
66458
|
* @summary End-of-day sales report of a venue as a PDF file to download, for a day, week, month, year or custom period
|
|
66245
66459
|
* @param {number} businessId The venue the file is of, by business id
|
|
66246
66460
|
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
@@ -70982,7 +71196,7 @@ export class SavedReportsApi extends BaseAPI implements SavedReportsApiInterface
|
|
|
70982
71196
|
export const ShiftTrackingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
70983
71197
|
return {
|
|
70984
71198
|
/**
|
|
70985
|
-
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
71199
|
+
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
70986
71200
|
* @summary Record a shift the till missed, for a staff member who works at the venue
|
|
70987
71201
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
70988
71202
|
* @param {AddShiftDto} addShiftDto
|
|
@@ -71026,7 +71240,7 @@ export const ShiftTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
71026
71240
|
};
|
|
71027
71241
|
},
|
|
71028
71242
|
/**
|
|
71029
|
-
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
71243
|
+
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71030
71244
|
* @summary Correct a shift\'s clock-in or clock-out, a forgotten clock-out among them
|
|
71031
71245
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71032
71246
|
* @param {string} shiftId The shift\'s id
|
|
@@ -71233,7 +71447,7 @@ export const ShiftTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
71233
71447
|
};
|
|
71234
71448
|
},
|
|
71235
71449
|
/**
|
|
71236
|
-
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
71450
|
+
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71237
71451
|
* @summary Remove a shift recorded by mistake
|
|
71238
71452
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71239
71453
|
* @param {string} shiftId The shift\'s id
|
|
@@ -71275,7 +71489,7 @@ export const ShiftTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
71275
71489
|
};
|
|
71276
71490
|
},
|
|
71277
71491
|
/**
|
|
71278
|
-
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
71492
|
+
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a Munchi-internal Clerk API key reads every venue; a partner\'s key is refused; a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
71279
71493
|
* @summary Each staff member\'s clocked hours at the venue over a period
|
|
71280
71494
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71281
71495
|
* @param {string} from The first day, YYYY-MM-DD, in the venue\'s time zone
|
|
@@ -71504,7 +71718,7 @@ export const ShiftTrackingApiFp = function(configuration?: Configuration) {
|
|
|
71504
71718
|
const localVarAxiosParamCreator = ShiftTrackingApiAxiosParamCreator(configuration)
|
|
71505
71719
|
return {
|
|
71506
71720
|
/**
|
|
71507
|
-
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
71721
|
+
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71508
71722
|
* @summary Record a shift the till missed, for a staff member who works at the venue
|
|
71509
71723
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71510
71724
|
* @param {AddShiftDto} addShiftDto
|
|
@@ -71516,7 +71730,7 @@ export const ShiftTrackingApiFp = function(configuration?: Configuration) {
|
|
|
71516
71730
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
71517
71731
|
},
|
|
71518
71732
|
/**
|
|
71519
|
-
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
71733
|
+
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71520
71734
|
* @summary Correct a shift\'s clock-in or clock-out, a forgotten clock-out among them
|
|
71521
71735
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71522
71736
|
* @param {string} shiftId The shift\'s id
|
|
@@ -71576,7 +71790,7 @@ export const ShiftTrackingApiFp = function(configuration?: Configuration) {
|
|
|
71576
71790
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
71577
71791
|
},
|
|
71578
71792
|
/**
|
|
71579
|
-
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
71793
|
+
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71580
71794
|
* @summary Remove a shift recorded by mistake
|
|
71581
71795
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71582
71796
|
* @param {string} shiftId The shift\'s id
|
|
@@ -71588,7 +71802,7 @@ export const ShiftTrackingApiFp = function(configuration?: Configuration) {
|
|
|
71588
71802
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
71589
71803
|
},
|
|
71590
71804
|
/**
|
|
71591
|
-
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
71805
|
+
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a Munchi-internal Clerk API key reads every venue; a partner\'s key is refused; a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
71592
71806
|
* @summary Each staff member\'s clocked hours at the venue over a period
|
|
71593
71807
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71594
71808
|
* @param {string} from The first day, YYYY-MM-DD, in the venue\'s time zone
|
|
@@ -71654,7 +71868,7 @@ export const ShiftTrackingApiFactory = function (configuration?: Configuration,
|
|
|
71654
71868
|
const localVarFp = ShiftTrackingApiFp(configuration)
|
|
71655
71869
|
return {
|
|
71656
71870
|
/**
|
|
71657
|
-
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
71871
|
+
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71658
71872
|
* @summary Record a shift the till missed, for a staff member who works at the venue
|
|
71659
71873
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71660
71874
|
* @param {AddShiftDto} addShiftDto
|
|
@@ -71665,7 +71879,7 @@ export const ShiftTrackingApiFactory = function (configuration?: Configuration,
|
|
|
71665
71879
|
return localVarFp.addShiftAtVenue(businessId, addShiftDto, options).then((request) => request(axios, basePath));
|
|
71666
71880
|
},
|
|
71667
71881
|
/**
|
|
71668
|
-
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
71882
|
+
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71669
71883
|
* @summary Correct a shift\'s clock-in or clock-out, a forgotten clock-out among them
|
|
71670
71884
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71671
71885
|
* @param {string} shiftId The shift\'s id
|
|
@@ -71720,7 +71934,7 @@ export const ShiftTrackingApiFactory = function (configuration?: Configuration,
|
|
|
71720
71934
|
return localVarFp.lockTill(businessId, options).then((request) => request(axios, basePath));
|
|
71721
71935
|
},
|
|
71722
71936
|
/**
|
|
71723
|
-
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
71937
|
+
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71724
71938
|
* @summary Remove a shift recorded by mistake
|
|
71725
71939
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71726
71940
|
* @param {string} shiftId The shift\'s id
|
|
@@ -71731,7 +71945,7 @@ export const ShiftTrackingApiFactory = function (configuration?: Configuration,
|
|
|
71731
71945
|
return localVarFp.removeShiftAtVenue(businessId, shiftId, options).then((request) => request(axios, basePath));
|
|
71732
71946
|
},
|
|
71733
71947
|
/**
|
|
71734
|
-
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
71948
|
+
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a Munchi-internal Clerk API key reads every venue; a partner\'s key is refused; a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
71735
71949
|
* @summary Each staff member\'s clocked hours at the venue over a period
|
|
71736
71950
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71737
71951
|
* @param {string} from The first day, YYYY-MM-DD, in the venue\'s time zone
|
|
@@ -71792,7 +72006,7 @@ export const ShiftTrackingApiFactory = function (configuration?: Configuration,
|
|
|
71792
72006
|
*/
|
|
71793
72007
|
export interface ShiftTrackingApiInterface {
|
|
71794
72008
|
/**
|
|
71795
|
-
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
72009
|
+
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71796
72010
|
* @summary Record a shift the till missed, for a staff member who works at the venue
|
|
71797
72011
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71798
72012
|
* @param {AddShiftDto} addShiftDto
|
|
@@ -71803,7 +72017,7 @@ export interface ShiftTrackingApiInterface {
|
|
|
71803
72017
|
addShiftAtVenue(businessId: number, addShiftDto: AddShiftDto, options?: AxiosRequestConfig): AxiosPromise<StaffShiftDto>;
|
|
71804
72018
|
|
|
71805
72019
|
/**
|
|
71806
|
-
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
72020
|
+
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71807
72021
|
* @summary Correct a shift\'s clock-in or clock-out, a forgotten clock-out among them
|
|
71808
72022
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71809
72023
|
* @param {string} shiftId The shift\'s id
|
|
@@ -71858,7 +72072,7 @@ export interface ShiftTrackingApiInterface {
|
|
|
71858
72072
|
lockTill(businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
71859
72073
|
|
|
71860
72074
|
/**
|
|
71861
|
-
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
72075
|
+
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71862
72076
|
* @summary Remove a shift recorded by mistake
|
|
71863
72077
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71864
72078
|
* @param {string} shiftId The shift\'s id
|
|
@@ -71869,7 +72083,7 @@ export interface ShiftTrackingApiInterface {
|
|
|
71869
72083
|
removeShiftAtVenue(businessId: number, shiftId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
71870
72084
|
|
|
71871
72085
|
/**
|
|
71872
|
-
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
72086
|
+
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a Munchi-internal Clerk API key reads every venue; a partner\'s key is refused; a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
71873
72087
|
* @summary Each staff member\'s clocked hours at the venue over a period
|
|
71874
72088
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71875
72089
|
* @param {string} from The first day, YYYY-MM-DD, in the venue\'s time zone
|
|
@@ -71930,7 +72144,7 @@ export interface ShiftTrackingApiInterface {
|
|
|
71930
72144
|
*/
|
|
71931
72145
|
export class ShiftTrackingApi extends BaseAPI implements ShiftTrackingApiInterface {
|
|
71932
72146
|
/**
|
|
71933
|
-
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
72147
|
+
* A shift added in the back office: its clock-in, and its clock-out unless the staff member is still working. It counts in the hours report like a shift clocked on the till. It is refused while it would be the staff member\'s second open shift at the venue (SHIFT_ALREADY_OPEN), or overlap another of their shifts there (SHIFTS_OVERLAP); an open shift runs on with no end, and shifts that only touch do not overlap. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71934
72148
|
* @summary Record a shift the till missed, for a staff member who works at the venue
|
|
71935
72149
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71936
72150
|
* @param {AddShiftDto} addShiftDto
|
|
@@ -71943,7 +72157,7 @@ export class ShiftTrackingApi extends BaseAPI implements ShiftTrackingApiInterfa
|
|
|
71943
72157
|
}
|
|
71944
72158
|
|
|
71945
72159
|
/**
|
|
71946
|
-
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
72160
|
+
* Sets the times sent and keeps the others; a clock-out is never taken away, so a shift closed here stays closed, and it forgets the till session it was clocked in on, as a clock-out on the till does. The change is saved only while the shift is as it was read, so a clock-out the till writes at the same moment is never overwritten unseen, and never so that the shift overlaps another of the staff member\'s shifts at the venue (SHIFTS_OVERLAP). Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
71947
72161
|
* @summary Correct a shift\'s clock-in or clock-out, a forgotten clock-out among them
|
|
71948
72162
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
71949
72163
|
* @param {string} shiftId The shift\'s id
|
|
@@ -72008,7 +72222,7 @@ export class ShiftTrackingApi extends BaseAPI implements ShiftTrackingApiInterfa
|
|
|
72008
72222
|
}
|
|
72009
72223
|
|
|
72010
72224
|
/**
|
|
72011
|
-
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it; a till\'s own ticket is always refused, so the person on the till never changes their own hours.
|
|
72225
|
+
* The shift no longer counts in the hours report. A shift still open is not removed (SHIFT_STILL_OPEN): its clock-out is set first, so the till\'s next clock-out is not recorded as a shift with no clock-in. Access: the staff write (org:staff:write) at the venue, refused without it, on a person or on a Munchi-internal Clerk API key\'s scopes; a till\'s own ticket is always refused, so the person on the till never changes their own hours, and a partner\'s key is refused.
|
|
72012
72226
|
* @summary Remove a shift recorded by mistake
|
|
72013
72227
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
72014
72228
|
* @param {string} shiftId The shift\'s id
|
|
@@ -72021,7 +72235,7 @@ export class ShiftTrackingApi extends BaseAPI implements ShiftTrackingApiInterfa
|
|
|
72021
72235
|
}
|
|
72022
72236
|
|
|
72023
72237
|
/**
|
|
72024
|
-
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
72238
|
+
* The shifts staff clocked on the POS (clock-in on unlock, clock-out on lock), for the days from to to in the venue\'s time zone: per staff member and per day the shift began, with each shift\'s times and worked minutes, and totals. A shift still open, with only a clock-out, or clocked out before it clocked in, counts 0 minutes; openShifts counts the open ones, so a forgotten clock-out shows. Each day\'s shifts are oldest first, each with its id and status (open or closed). employeeIds keeps only those staff members\' shifts, and status only the open or the closed ones; every total counts the shifts kept. At most 93 days counting both ends (to at most 92 days after from). Only reads. Access: a Munchi-internal Clerk API key reads every venue; a partner\'s key is refused; a person signed in for Ari is refused without the reports read (org:reports:read) at the venue today; for every other caller that permission, and on a till ticket the Page::Reports key of the person on the till, are only logged (Access would refuse) until the shifts module refuses all (R30).
|
|
72025
72239
|
* @summary Each staff member\'s clocked hours at the venue over a period
|
|
72026
72240
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
72027
72241
|
* @param {string} from The first day, YYYY-MM-DD, in the venue\'s time zone
|
|
@@ -72345,6 +72559,323 @@ export class StationsApi extends BaseAPI implements StationsApiInterface {
|
|
|
72345
72559
|
}
|
|
72346
72560
|
|
|
72347
72561
|
|
|
72562
|
+
/**
|
|
72563
|
+
* StoreAppsApi - axios parameter creator
|
|
72564
|
+
* @export
|
|
72565
|
+
*/
|
|
72566
|
+
export const StoreAppsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
72567
|
+
return {
|
|
72568
|
+
/**
|
|
72569
|
+
* Adds the app at the end of the store\'s list (once) or removes it, in one statement on the saved list, so two people changing the store at once both land. A store with no list yet gets startWith with the change applied. Only the store\'s managers and its organisation\'s management may.
|
|
72570
|
+
* @summary Add one app to a store\'s Your apps, or remove it
|
|
72571
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72572
|
+
* @param {StoreApp} app The app added to the store\'s Your apps, or removed from it
|
|
72573
|
+
* @param {ChangeStoreAppDto} changeStoreAppDto
|
|
72574
|
+
* @param {*} [options] Override http request option.
|
|
72575
|
+
* @throws {RequiredError}
|
|
72576
|
+
*/
|
|
72577
|
+
changeStoreApp: async (businessId: number, app: StoreApp, changeStoreAppDto: ChangeStoreAppDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
72578
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
72579
|
+
assertParamExists('changeStoreApp', 'businessId', businessId)
|
|
72580
|
+
// verify required parameter 'app' is not null or undefined
|
|
72581
|
+
assertParamExists('changeStoreApp', 'app', app)
|
|
72582
|
+
// verify required parameter 'changeStoreAppDto' is not null or undefined
|
|
72583
|
+
assertParamExists('changeStoreApp', 'changeStoreAppDto', changeStoreAppDto)
|
|
72584
|
+
const localVarPath = `/api/v6/businesses/{businessId}/apps/{app}`
|
|
72585
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)))
|
|
72586
|
+
.replace(`{${"app"}}`, encodeURIComponent(String(app)));
|
|
72587
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72588
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
72589
|
+
let baseOptions;
|
|
72590
|
+
if (configuration) {
|
|
72591
|
+
baseOptions = configuration.baseOptions;
|
|
72592
|
+
}
|
|
72593
|
+
|
|
72594
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
72595
|
+
const localVarHeaderParameter = {} as any;
|
|
72596
|
+
const localVarQueryParameter = {} as any;
|
|
72597
|
+
|
|
72598
|
+
// authentication JWT-auth required
|
|
72599
|
+
// http bearer authentication required
|
|
72600
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
72601
|
+
|
|
72602
|
+
|
|
72603
|
+
|
|
72604
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
72605
|
+
|
|
72606
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
72607
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72608
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
72609
|
+
localVarRequestOptions.data = serializeDataIfNeeded(changeStoreAppDto, localVarRequestOptions, configuration)
|
|
72610
|
+
|
|
72611
|
+
return {
|
|
72612
|
+
url: toPathString(localVarUrlObj),
|
|
72613
|
+
options: localVarRequestOptions,
|
|
72614
|
+
};
|
|
72615
|
+
},
|
|
72616
|
+
/**
|
|
72617
|
+
* The store\'s saved list, shared by everyone working at the store; null while nobody has saved one yet. Read from the database every time.
|
|
72618
|
+
* @summary Read the apps a store added to Your apps
|
|
72619
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72620
|
+
* @param {*} [options] Override http request option.
|
|
72621
|
+
* @throws {RequiredError}
|
|
72622
|
+
*/
|
|
72623
|
+
getStoreApps: async (businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
72624
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
72625
|
+
assertParamExists('getStoreApps', 'businessId', businessId)
|
|
72626
|
+
const localVarPath = `/api/v6/businesses/{businessId}/apps`
|
|
72627
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
72628
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72629
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
72630
|
+
let baseOptions;
|
|
72631
|
+
if (configuration) {
|
|
72632
|
+
baseOptions = configuration.baseOptions;
|
|
72633
|
+
}
|
|
72634
|
+
|
|
72635
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
72636
|
+
const localVarHeaderParameter = {} as any;
|
|
72637
|
+
const localVarQueryParameter = {} as any;
|
|
72638
|
+
|
|
72639
|
+
// authentication JWT-auth required
|
|
72640
|
+
// http bearer authentication required
|
|
72641
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
72642
|
+
|
|
72643
|
+
|
|
72644
|
+
|
|
72645
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
72646
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72647
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
72648
|
+
|
|
72649
|
+
return {
|
|
72650
|
+
url: toPathString(localVarUrlObj),
|
|
72651
|
+
options: localVarRequestOptions,
|
|
72652
|
+
};
|
|
72653
|
+
},
|
|
72654
|
+
/**
|
|
72655
|
+
* Saves the apps sent as the store\'s list only while the store has none, in one statement; a list already saved is kept as it is and answered, so it never overwrites anyone\'s change. Everyone working at the store may.
|
|
72656
|
+
* @summary Record the apps a store shows today as its list, unless it has one
|
|
72657
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72658
|
+
* @param {StartStoreAppsDto} startStoreAppsDto
|
|
72659
|
+
* @param {*} [options] Override http request option.
|
|
72660
|
+
* @throws {RequiredError}
|
|
72661
|
+
*/
|
|
72662
|
+
startStoreApps: async (businessId: number, startStoreAppsDto: StartStoreAppsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
72663
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
72664
|
+
assertParamExists('startStoreApps', 'businessId', businessId)
|
|
72665
|
+
// verify required parameter 'startStoreAppsDto' is not null or undefined
|
|
72666
|
+
assertParamExists('startStoreApps', 'startStoreAppsDto', startStoreAppsDto)
|
|
72667
|
+
const localVarPath = `/api/v6/businesses/{businessId}/apps`
|
|
72668
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
72669
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72670
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
72671
|
+
let baseOptions;
|
|
72672
|
+
if (configuration) {
|
|
72673
|
+
baseOptions = configuration.baseOptions;
|
|
72674
|
+
}
|
|
72675
|
+
|
|
72676
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
72677
|
+
const localVarHeaderParameter = {} as any;
|
|
72678
|
+
const localVarQueryParameter = {} as any;
|
|
72679
|
+
|
|
72680
|
+
// authentication JWT-auth required
|
|
72681
|
+
// http bearer authentication required
|
|
72682
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
72683
|
+
|
|
72684
|
+
|
|
72685
|
+
|
|
72686
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
72687
|
+
|
|
72688
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
72689
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72690
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
72691
|
+
localVarRequestOptions.data = serializeDataIfNeeded(startStoreAppsDto, localVarRequestOptions, configuration)
|
|
72692
|
+
|
|
72693
|
+
return {
|
|
72694
|
+
url: toPathString(localVarUrlObj),
|
|
72695
|
+
options: localVarRequestOptions,
|
|
72696
|
+
};
|
|
72697
|
+
},
|
|
72698
|
+
}
|
|
72699
|
+
};
|
|
72700
|
+
|
|
72701
|
+
/**
|
|
72702
|
+
* StoreAppsApi - functional programming interface
|
|
72703
|
+
* @export
|
|
72704
|
+
*/
|
|
72705
|
+
export const StoreAppsApiFp = function(configuration?: Configuration) {
|
|
72706
|
+
const localVarAxiosParamCreator = StoreAppsApiAxiosParamCreator(configuration)
|
|
72707
|
+
return {
|
|
72708
|
+
/**
|
|
72709
|
+
* Adds the app at the end of the store\'s list (once) or removes it, in one statement on the saved list, so two people changing the store at once both land. A store with no list yet gets startWith with the change applied. Only the store\'s managers and its organisation\'s management may.
|
|
72710
|
+
* @summary Add one app to a store\'s Your apps, or remove it
|
|
72711
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72712
|
+
* @param {StoreApp} app The app added to the store\'s Your apps, or removed from it
|
|
72713
|
+
* @param {ChangeStoreAppDto} changeStoreAppDto
|
|
72714
|
+
* @param {*} [options] Override http request option.
|
|
72715
|
+
* @throws {RequiredError}
|
|
72716
|
+
*/
|
|
72717
|
+
async changeStoreApp(businessId: number, app: StoreApp, changeStoreAppDto: ChangeStoreAppDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedStoreAppsDto>> {
|
|
72718
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changeStoreApp(businessId, app, changeStoreAppDto, options);
|
|
72719
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
72720
|
+
},
|
|
72721
|
+
/**
|
|
72722
|
+
* The store\'s saved list, shared by everyone working at the store; null while nobody has saved one yet. Read from the database every time.
|
|
72723
|
+
* @summary Read the apps a store added to Your apps
|
|
72724
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72725
|
+
* @param {*} [options] Override http request option.
|
|
72726
|
+
* @throws {RequiredError}
|
|
72727
|
+
*/
|
|
72728
|
+
async getStoreApps(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreAppsDto>> {
|
|
72729
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoreApps(businessId, options);
|
|
72730
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
72731
|
+
},
|
|
72732
|
+
/**
|
|
72733
|
+
* Saves the apps sent as the store\'s list only while the store has none, in one statement; a list already saved is kept as it is and answered, so it never overwrites anyone\'s change. Everyone working at the store may.
|
|
72734
|
+
* @summary Record the apps a store shows today as its list, unless it has one
|
|
72735
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72736
|
+
* @param {StartStoreAppsDto} startStoreAppsDto
|
|
72737
|
+
* @param {*} [options] Override http request option.
|
|
72738
|
+
* @throws {RequiredError}
|
|
72739
|
+
*/
|
|
72740
|
+
async startStoreApps(businessId: number, startStoreAppsDto: StartStoreAppsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedStoreAppsDto>> {
|
|
72741
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startStoreApps(businessId, startStoreAppsDto, options);
|
|
72742
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
72743
|
+
},
|
|
72744
|
+
}
|
|
72745
|
+
};
|
|
72746
|
+
|
|
72747
|
+
/**
|
|
72748
|
+
* StoreAppsApi - factory interface
|
|
72749
|
+
* @export
|
|
72750
|
+
*/
|
|
72751
|
+
export const StoreAppsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
72752
|
+
const localVarFp = StoreAppsApiFp(configuration)
|
|
72753
|
+
return {
|
|
72754
|
+
/**
|
|
72755
|
+
* Adds the app at the end of the store\'s list (once) or removes it, in one statement on the saved list, so two people changing the store at once both land. A store with no list yet gets startWith with the change applied. Only the store\'s managers and its organisation\'s management may.
|
|
72756
|
+
* @summary Add one app to a store\'s Your apps, or remove it
|
|
72757
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72758
|
+
* @param {StoreApp} app The app added to the store\'s Your apps, or removed from it
|
|
72759
|
+
* @param {ChangeStoreAppDto} changeStoreAppDto
|
|
72760
|
+
* @param {*} [options] Override http request option.
|
|
72761
|
+
* @throws {RequiredError}
|
|
72762
|
+
*/
|
|
72763
|
+
changeStoreApp(businessId: number, app: StoreApp, changeStoreAppDto: ChangeStoreAppDto, options?: any): AxiosPromise<SavedStoreAppsDto> {
|
|
72764
|
+
return localVarFp.changeStoreApp(businessId, app, changeStoreAppDto, options).then((request) => request(axios, basePath));
|
|
72765
|
+
},
|
|
72766
|
+
/**
|
|
72767
|
+
* The store\'s saved list, shared by everyone working at the store; null while nobody has saved one yet. Read from the database every time.
|
|
72768
|
+
* @summary Read the apps a store added to Your apps
|
|
72769
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72770
|
+
* @param {*} [options] Override http request option.
|
|
72771
|
+
* @throws {RequiredError}
|
|
72772
|
+
*/
|
|
72773
|
+
getStoreApps(businessId: number, options?: any): AxiosPromise<StoreAppsDto> {
|
|
72774
|
+
return localVarFp.getStoreApps(businessId, options).then((request) => request(axios, basePath));
|
|
72775
|
+
},
|
|
72776
|
+
/**
|
|
72777
|
+
* Saves the apps sent as the store\'s list only while the store has none, in one statement; a list already saved is kept as it is and answered, so it never overwrites anyone\'s change. Everyone working at the store may.
|
|
72778
|
+
* @summary Record the apps a store shows today as its list, unless it has one
|
|
72779
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72780
|
+
* @param {StartStoreAppsDto} startStoreAppsDto
|
|
72781
|
+
* @param {*} [options] Override http request option.
|
|
72782
|
+
* @throws {RequiredError}
|
|
72783
|
+
*/
|
|
72784
|
+
startStoreApps(businessId: number, startStoreAppsDto: StartStoreAppsDto, options?: any): AxiosPromise<SavedStoreAppsDto> {
|
|
72785
|
+
return localVarFp.startStoreApps(businessId, startStoreAppsDto, options).then((request) => request(axios, basePath));
|
|
72786
|
+
},
|
|
72787
|
+
};
|
|
72788
|
+
};
|
|
72789
|
+
|
|
72790
|
+
/**
|
|
72791
|
+
* StoreAppsApi - interface
|
|
72792
|
+
* @export
|
|
72793
|
+
* @interface StoreAppsApi
|
|
72794
|
+
*/
|
|
72795
|
+
export interface StoreAppsApiInterface {
|
|
72796
|
+
/**
|
|
72797
|
+
* Adds the app at the end of the store\'s list (once) or removes it, in one statement on the saved list, so two people changing the store at once both land. A store with no list yet gets startWith with the change applied. Only the store\'s managers and its organisation\'s management may.
|
|
72798
|
+
* @summary Add one app to a store\'s Your apps, or remove it
|
|
72799
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72800
|
+
* @param {StoreApp} app The app added to the store\'s Your apps, or removed from it
|
|
72801
|
+
* @param {ChangeStoreAppDto} changeStoreAppDto
|
|
72802
|
+
* @param {*} [options] Override http request option.
|
|
72803
|
+
* @throws {RequiredError}
|
|
72804
|
+
* @memberof StoreAppsApiInterface
|
|
72805
|
+
*/
|
|
72806
|
+
changeStoreApp(businessId: number, app: StoreApp, changeStoreAppDto: ChangeStoreAppDto, options?: AxiosRequestConfig): AxiosPromise<SavedStoreAppsDto>;
|
|
72807
|
+
|
|
72808
|
+
/**
|
|
72809
|
+
* The store\'s saved list, shared by everyone working at the store; null while nobody has saved one yet. Read from the database every time.
|
|
72810
|
+
* @summary Read the apps a store added to Your apps
|
|
72811
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72812
|
+
* @param {*} [options] Override http request option.
|
|
72813
|
+
* @throws {RequiredError}
|
|
72814
|
+
* @memberof StoreAppsApiInterface
|
|
72815
|
+
*/
|
|
72816
|
+
getStoreApps(businessId: number, options?: AxiosRequestConfig): AxiosPromise<StoreAppsDto>;
|
|
72817
|
+
|
|
72818
|
+
/**
|
|
72819
|
+
* Saves the apps sent as the store\'s list only while the store has none, in one statement; a list already saved is kept as it is and answered, so it never overwrites anyone\'s change. Everyone working at the store may.
|
|
72820
|
+
* @summary Record the apps a store shows today as its list, unless it has one
|
|
72821
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72822
|
+
* @param {StartStoreAppsDto} startStoreAppsDto
|
|
72823
|
+
* @param {*} [options] Override http request option.
|
|
72824
|
+
* @throws {RequiredError}
|
|
72825
|
+
* @memberof StoreAppsApiInterface
|
|
72826
|
+
*/
|
|
72827
|
+
startStoreApps(businessId: number, startStoreAppsDto: StartStoreAppsDto, options?: AxiosRequestConfig): AxiosPromise<SavedStoreAppsDto>;
|
|
72828
|
+
|
|
72829
|
+
}
|
|
72830
|
+
|
|
72831
|
+
/**
|
|
72832
|
+
* StoreAppsApi - object-oriented interface
|
|
72833
|
+
* @export
|
|
72834
|
+
* @class StoreAppsApi
|
|
72835
|
+
* @extends {BaseAPI}
|
|
72836
|
+
*/
|
|
72837
|
+
export class StoreAppsApi extends BaseAPI implements StoreAppsApiInterface {
|
|
72838
|
+
/**
|
|
72839
|
+
* Adds the app at the end of the store\'s list (once) or removes it, in one statement on the saved list, so two people changing the store at once both land. A store with no list yet gets startWith with the change applied. Only the store\'s managers and its organisation\'s management may.
|
|
72840
|
+
* @summary Add one app to a store\'s Your apps, or remove it
|
|
72841
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72842
|
+
* @param {StoreApp} app The app added to the store\'s Your apps, or removed from it
|
|
72843
|
+
* @param {ChangeStoreAppDto} changeStoreAppDto
|
|
72844
|
+
* @param {*} [options] Override http request option.
|
|
72845
|
+
* @throws {RequiredError}
|
|
72846
|
+
* @memberof StoreAppsApi
|
|
72847
|
+
*/
|
|
72848
|
+
public changeStoreApp(businessId: number, app: StoreApp, changeStoreAppDto: ChangeStoreAppDto, options?: AxiosRequestConfig) {
|
|
72849
|
+
return StoreAppsApiFp(this.configuration).changeStoreApp(businessId, app, changeStoreAppDto, options).then((request) => request(this.axios, this.basePath));
|
|
72850
|
+
}
|
|
72851
|
+
|
|
72852
|
+
/**
|
|
72853
|
+
* The store\'s saved list, shared by everyone working at the store; null while nobody has saved one yet. Read from the database every time.
|
|
72854
|
+
* @summary Read the apps a store added to Your apps
|
|
72855
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72856
|
+
* @param {*} [options] Override http request option.
|
|
72857
|
+
* @throws {RequiredError}
|
|
72858
|
+
* @memberof StoreAppsApi
|
|
72859
|
+
*/
|
|
72860
|
+
public getStoreApps(businessId: number, options?: AxiosRequestConfig) {
|
|
72861
|
+
return StoreAppsApiFp(this.configuration).getStoreApps(businessId, options).then((request) => request(this.axios, this.basePath));
|
|
72862
|
+
}
|
|
72863
|
+
|
|
72864
|
+
/**
|
|
72865
|
+
* Saves the apps sent as the store\'s list only while the store has none, in one statement; a list already saved is kept as it is and answered, so it never overwrites anyone\'s change. Everyone working at the store may.
|
|
72866
|
+
* @summary Record the apps a store shows today as its list, unless it has one
|
|
72867
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
72868
|
+
* @param {StartStoreAppsDto} startStoreAppsDto
|
|
72869
|
+
* @param {*} [options] Override http request option.
|
|
72870
|
+
* @throws {RequiredError}
|
|
72871
|
+
* @memberof StoreAppsApi
|
|
72872
|
+
*/
|
|
72873
|
+
public startStoreApps(businessId: number, startStoreAppsDto: StartStoreAppsDto, options?: AxiosRequestConfig) {
|
|
72874
|
+
return StoreAppsApiFp(this.configuration).startStoreApps(businessId, startStoreAppsDto, options).then((request) => request(this.axios, this.basePath));
|
|
72875
|
+
}
|
|
72876
|
+
}
|
|
72877
|
+
|
|
72878
|
+
|
|
72348
72879
|
/**
|
|
72349
72880
|
* TerminalApi - axios parameter creator
|
|
72350
72881
|
* @export
|
|
@@ -74213,6 +74744,42 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
74213
74744
|
options: localVarRequestOptions,
|
|
74214
74745
|
};
|
|
74215
74746
|
},
|
|
74747
|
+
/**
|
|
74748
|
+
* The Cloud Task queued when a paid kiosk order starts waiting, ten minutes later, at a venue whose kiosk has auto-reject on. An order no longer waiting stays as it is; kiosk-v2-order-handler refunds a rejected one.
|
|
74749
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
74750
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
74751
|
+
* @param {*} [options] Override http request option.
|
|
74752
|
+
* @throws {RequiredError}
|
|
74753
|
+
*/
|
|
74754
|
+
handleKioskAutoReject: async (kioskAutoRejectDto: KioskAutoRejectDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
74755
|
+
// verify required parameter 'kioskAutoRejectDto' is not null or undefined
|
|
74756
|
+
assertParamExists('handleKioskAutoReject', 'kioskAutoRejectDto', kioskAutoRejectDto)
|
|
74757
|
+
const localVarPath = `/api/webhook/kiosk-auto-reject`;
|
|
74758
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74759
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74760
|
+
let baseOptions;
|
|
74761
|
+
if (configuration) {
|
|
74762
|
+
baseOptions = configuration.baseOptions;
|
|
74763
|
+
}
|
|
74764
|
+
|
|
74765
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
74766
|
+
const localVarHeaderParameter = {} as any;
|
|
74767
|
+
const localVarQueryParameter = {} as any;
|
|
74768
|
+
|
|
74769
|
+
|
|
74770
|
+
|
|
74771
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
74772
|
+
|
|
74773
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74774
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
74775
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
74776
|
+
localVarRequestOptions.data = serializeDataIfNeeded(kioskAutoRejectDto, localVarRequestOptions, configuration)
|
|
74777
|
+
|
|
74778
|
+
return {
|
|
74779
|
+
url: toPathString(localVarUrlObj),
|
|
74780
|
+
options: localVarRequestOptions,
|
|
74781
|
+
};
|
|
74782
|
+
},
|
|
74216
74783
|
/**
|
|
74217
74784
|
* Saves the changed employee row to BigQuery\'s employees table; a delete saves the row\'s ids with no data. Posted by a Supabase database webhook (pg_net), which sends no credential today. It declares a service key beside the reports area, so the access listener reports every call it would refuse until the hook carries one.
|
|
74218
74785
|
* @summary Handle Supabase employee sync webhook
|
|
@@ -74925,6 +75492,17 @@ export const WebhookApiFp = function(configuration?: Configuration) {
|
|
|
74925
75492
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleFoodoraEvent(orderUpdateDto, options);
|
|
74926
75493
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
74927
75494
|
},
|
|
75495
|
+
/**
|
|
75496
|
+
* The Cloud Task queued when a paid kiosk order starts waiting, ten minutes later, at a venue whose kiosk has auto-reject on. An order no longer waiting stays as it is; kiosk-v2-order-handler refunds a rejected one.
|
|
75497
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
75498
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
75499
|
+
* @param {*} [options] Override http request option.
|
|
75500
|
+
* @throws {RequiredError}
|
|
75501
|
+
*/
|
|
75502
|
+
async handleKioskAutoReject(kioskAutoRejectDto: KioskAutoRejectDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
75503
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.handleKioskAutoReject(kioskAutoRejectDto, options);
|
|
75504
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
75505
|
+
},
|
|
74928
75506
|
/**
|
|
74929
75507
|
* Saves the changed employee row to BigQuery\'s employees table; a delete saves the row\'s ids with no data. Posted by a Supabase database webhook (pg_net), which sends no credential today. It declares a service key beside the reports area, so the access listener reports every call it would refuse until the hook carries one.
|
|
74930
75508
|
* @summary Handle Supabase employee sync webhook
|
|
@@ -75173,6 +75751,16 @@ export const WebhookApiFactory = function (configuration?: Configuration, basePa
|
|
|
75173
75751
|
handleFoodoraEvent(orderUpdateDto: OrderUpdateDto, options?: any): AxiosPromise<void> {
|
|
75174
75752
|
return localVarFp.handleFoodoraEvent(orderUpdateDto, options).then((request) => request(axios, basePath));
|
|
75175
75753
|
},
|
|
75754
|
+
/**
|
|
75755
|
+
* The Cloud Task queued when a paid kiosk order starts waiting, ten minutes later, at a venue whose kiosk has auto-reject on. An order no longer waiting stays as it is; kiosk-v2-order-handler refunds a rejected one.
|
|
75756
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
75757
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
75758
|
+
* @param {*} [options] Override http request option.
|
|
75759
|
+
* @throws {RequiredError}
|
|
75760
|
+
*/
|
|
75761
|
+
handleKioskAutoReject(kioskAutoRejectDto: KioskAutoRejectDto, options?: any): AxiosPromise<void> {
|
|
75762
|
+
return localVarFp.handleKioskAutoReject(kioskAutoRejectDto, options).then((request) => request(axios, basePath));
|
|
75763
|
+
},
|
|
75176
75764
|
/**
|
|
75177
75765
|
* Saves the changed employee row to BigQuery\'s employees table; a delete saves the row\'s ids with no data. Posted by a Supabase database webhook (pg_net), which sends no credential today. It declares a service key beside the reports area, so the access listener reports every call it would refuse until the hook carries one.
|
|
75178
75766
|
* @summary Handle Supabase employee sync webhook
|
|
@@ -75401,6 +75989,16 @@ export interface WebhookApiInterface {
|
|
|
75401
75989
|
*/
|
|
75402
75990
|
handleFoodoraEvent(orderUpdateDto: OrderUpdateDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
75403
75991
|
|
|
75992
|
+
/**
|
|
75993
|
+
* The Cloud Task queued when a paid kiosk order starts waiting, ten minutes later, at a venue whose kiosk has auto-reject on. An order no longer waiting stays as it is; kiosk-v2-order-handler refunds a rejected one.
|
|
75994
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
75995
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
75996
|
+
* @param {*} [options] Override http request option.
|
|
75997
|
+
* @throws {RequiredError}
|
|
75998
|
+
* @memberof WebhookApiInterface
|
|
75999
|
+
*/
|
|
76000
|
+
handleKioskAutoReject(kioskAutoRejectDto: KioskAutoRejectDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
76001
|
+
|
|
75404
76002
|
/**
|
|
75405
76003
|
* Saves the changed employee row to BigQuery\'s employees table; a delete saves the row\'s ids with no data. Posted by a Supabase database webhook (pg_net), which sends no credential today. It declares a service key beside the reports area, so the access listener reports every call it would refuse until the hook carries one.
|
|
75406
76004
|
* @summary Handle Supabase employee sync webhook
|
|
@@ -75635,6 +76233,18 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
75635
76233
|
return WebhookApiFp(this.configuration).handleFoodoraEvent(orderUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
75636
76234
|
}
|
|
75637
76235
|
|
|
76236
|
+
/**
|
|
76237
|
+
* The Cloud Task queued when a paid kiosk order starts waiting, ten minutes later, at a venue whose kiosk has auto-reject on. An order no longer waiting stays as it is; kiosk-v2-order-handler refunds a rejected one.
|
|
76238
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
76239
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
76240
|
+
* @param {*} [options] Override http request option.
|
|
76241
|
+
* @throws {RequiredError}
|
|
76242
|
+
* @memberof WebhookApi
|
|
76243
|
+
*/
|
|
76244
|
+
public handleKioskAutoReject(kioskAutoRejectDto: KioskAutoRejectDto, options?: AxiosRequestConfig) {
|
|
76245
|
+
return WebhookApiFp(this.configuration).handleKioskAutoReject(kioskAutoRejectDto, options).then((request) => request(this.axios, this.basePath));
|
|
76246
|
+
}
|
|
76247
|
+
|
|
75638
76248
|
/**
|
|
75639
76249
|
* Saves the changed employee row to BigQuery\'s employees table; a delete saves the row\'s ids with no data. Posted by a Supabase database webhook (pg_net), which sends no credential today. It declares a service key beside the reports area, so the access listener reports every call it would refuse until the hook carries one.
|
|
75640
76250
|
* @summary Handle Supabase employee sync webhook
|