@munchi_oy/core 2.9.0 → 2.10.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 +133 -0
- 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 +214 -0
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -11129,6 +11129,31 @@ export interface KdsStationDto {
|
|
|
11129
11129
|
* @memberof KdsStationDto
|
|
11130
11130
|
*/
|
|
11131
11131
|
'categoryIds': Array<string>;
|
|
11132
|
+
/**
|
|
11133
|
+
* The ordering channels whose whole orders this station takes, whatever its categories list; an empty list when it takes none
|
|
11134
|
+
* @type {Array<ProviderEnum>}
|
|
11135
|
+
* @memberof KdsStationDto
|
|
11136
|
+
*/
|
|
11137
|
+
'channels': Array<ProviderEnum>;
|
|
11138
|
+
}
|
|
11139
|
+
/**
|
|
11140
|
+
*
|
|
11141
|
+
* @export
|
|
11142
|
+
* @interface KioskAutoRejectDto
|
|
11143
|
+
*/
|
|
11144
|
+
export interface KioskAutoRejectDto {
|
|
11145
|
+
/**
|
|
11146
|
+
* The kiosk order\'s id
|
|
11147
|
+
* @type {string}
|
|
11148
|
+
* @memberof KioskAutoRejectDto
|
|
11149
|
+
*/
|
|
11150
|
+
'orderId': string;
|
|
11151
|
+
/**
|
|
11152
|
+
* The venue whose order this is, by its venue id
|
|
11153
|
+
* @type {number}
|
|
11154
|
+
* @memberof KioskAutoRejectDto
|
|
11155
|
+
*/
|
|
11156
|
+
'orderingBusinessId': number;
|
|
11132
11157
|
}
|
|
11133
11158
|
/**
|
|
11134
11159
|
*
|
|
@@ -29676,6 +29701,25 @@ export interface SetEmployeeRoleDto {
|
|
|
29676
29701
|
*/
|
|
29677
29702
|
'roleId': string;
|
|
29678
29703
|
}
|
|
29704
|
+
/**
|
|
29705
|
+
*
|
|
29706
|
+
* @export
|
|
29707
|
+
* @interface SetKdsChannelStationsDto
|
|
29708
|
+
*/
|
|
29709
|
+
export interface SetKdsChannelStationsDto {
|
|
29710
|
+
/**
|
|
29711
|
+
* The Munchi venue id (orderingBusinessId) the stations belong to
|
|
29712
|
+
* @type {number}
|
|
29713
|
+
* @memberof SetKdsChannelStationsDto
|
|
29714
|
+
*/
|
|
29715
|
+
'businessId': number;
|
|
29716
|
+
/**
|
|
29717
|
+
* 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
|
|
29718
|
+
* @type {Array<string>}
|
|
29719
|
+
* @memberof SetKdsChannelStationsDto
|
|
29720
|
+
*/
|
|
29721
|
+
'stationIds': Array<string>;
|
|
29722
|
+
}
|
|
29679
29723
|
/**
|
|
29680
29724
|
*
|
|
29681
29725
|
* @export
|
|
@@ -45555,6 +45599,15 @@ export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
45555
45599
|
* @throws {RequiredError}
|
|
45556
45600
|
*/
|
|
45557
45601
|
listKdsStations: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45602
|
+
/**
|
|
45603
|
+
* 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.
|
|
45604
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
45605
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
45606
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
45607
|
+
* @param {*} [options] Override http request option.
|
|
45608
|
+
* @throws {RequiredError}
|
|
45609
|
+
*/
|
|
45610
|
+
setKdsChannelStations: (channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45558
45611
|
/**
|
|
45559
45612
|
* 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.
|
|
45560
45613
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -45645,6 +45698,15 @@ export declare const KDSApiFp: (configuration?: Configuration) => {
|
|
|
45645
45698
|
* @throws {RequiredError}
|
|
45646
45699
|
*/
|
|
45647
45700
|
listKdsStations(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsStationDto>>>;
|
|
45701
|
+
/**
|
|
45702
|
+
* 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.
|
|
45703
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
45704
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
45705
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
45706
|
+
* @param {*} [options] Override http request option.
|
|
45707
|
+
* @throws {RequiredError}
|
|
45708
|
+
*/
|
|
45709
|
+
setKdsChannelStations(channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsStationDto>>>;
|
|
45648
45710
|
/**
|
|
45649
45711
|
* 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.
|
|
45650
45712
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -45735,6 +45797,15 @@ export declare const KDSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
45735
45797
|
* @throws {RequiredError}
|
|
45736
45798
|
*/
|
|
45737
45799
|
listKdsStations(businessId: number, options?: any): AxiosPromise<Array<KdsStationDto>>;
|
|
45800
|
+
/**
|
|
45801
|
+
* 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.
|
|
45802
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
45803
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
45804
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
45805
|
+
* @param {*} [options] Override http request option.
|
|
45806
|
+
* @throws {RequiredError}
|
|
45807
|
+
*/
|
|
45808
|
+
setKdsChannelStations(channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options?: any): AxiosPromise<Array<KdsStationDto>>;
|
|
45738
45809
|
/**
|
|
45739
45810
|
* 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.
|
|
45740
45811
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -45834,6 +45905,16 @@ export interface KDSApiInterface {
|
|
|
45834
45905
|
* @memberof KDSApiInterface
|
|
45835
45906
|
*/
|
|
45836
45907
|
listKdsStations(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<KdsStationDto>>;
|
|
45908
|
+
/**
|
|
45909
|
+
* 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.
|
|
45910
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
45911
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
45912
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
45913
|
+
* @param {*} [options] Override http request option.
|
|
45914
|
+
* @throws {RequiredError}
|
|
45915
|
+
* @memberof KDSApiInterface
|
|
45916
|
+
*/
|
|
45917
|
+
setKdsChannelStations(channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options?: AxiosRequestConfig): AxiosPromise<Array<KdsStationDto>>;
|
|
45837
45918
|
/**
|
|
45838
45919
|
* 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.
|
|
45839
45920
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -45935,6 +46016,16 @@ export declare class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
|
45935
46016
|
* @memberof KDSApi
|
|
45936
46017
|
*/
|
|
45937
46018
|
listKdsStations(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsStationDto[], any, {}>>;
|
|
46019
|
+
/**
|
|
46020
|
+
* 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.
|
|
46021
|
+
* @summary Replace the stations taking a channel\'s whole orders
|
|
46022
|
+
* @param {ProviderEnum} channel The ordering channel whose whole orders go to the stations named
|
|
46023
|
+
* @param {SetKdsChannelStationsDto} setKdsChannelStationsDto The venue, and the complete set of stations taking the channel\'s whole orders
|
|
46024
|
+
* @param {*} [options] Override http request option.
|
|
46025
|
+
* @throws {RequiredError}
|
|
46026
|
+
* @memberof KDSApi
|
|
46027
|
+
*/
|
|
46028
|
+
setKdsChannelStations(channel: ProviderEnum, setKdsChannelStationsDto: SetKdsChannelStationsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsStationDto[], any, {}>>;
|
|
45938
46029
|
/**
|
|
45939
46030
|
* 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.
|
|
45940
46031
|
* @summary Rename a kitchen station and replace its categories
|
|
@@ -57758,6 +57849,14 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
57758
57849
|
* @throws {RequiredError}
|
|
57759
57850
|
*/
|
|
57760
57851
|
handleFoodoraEvent: (orderUpdateDto: OrderUpdateDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57852
|
+
/**
|
|
57853
|
+
* 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.
|
|
57854
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
57855
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
57856
|
+
* @param {*} [options] Override http request option.
|
|
57857
|
+
* @throws {RequiredError}
|
|
57858
|
+
*/
|
|
57859
|
+
handleKioskAutoReject: (kioskAutoRejectDto: KioskAutoRejectDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57761
57860
|
/**
|
|
57762
57861
|
* 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.
|
|
57763
57862
|
* @summary Handle Supabase employee sync webhook
|
|
@@ -57939,6 +58038,14 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
57939
58038
|
* @throws {RequiredError}
|
|
57940
58039
|
*/
|
|
57941
58040
|
handleFoodoraEvent(orderUpdateDto: OrderUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
58041
|
+
/**
|
|
58042
|
+
* 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.
|
|
58043
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
58044
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
58045
|
+
* @param {*} [options] Override http request option.
|
|
58046
|
+
* @throws {RequiredError}
|
|
58047
|
+
*/
|
|
58048
|
+
handleKioskAutoReject(kioskAutoRejectDto: KioskAutoRejectDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
57942
58049
|
/**
|
|
57943
58050
|
* 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.
|
|
57944
58051
|
* @summary Handle Supabase employee sync webhook
|
|
@@ -58120,6 +58227,14 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
58120
58227
|
* @throws {RequiredError}
|
|
58121
58228
|
*/
|
|
58122
58229
|
handleFoodoraEvent(orderUpdateDto: OrderUpdateDto, options?: any): AxiosPromise<void>;
|
|
58230
|
+
/**
|
|
58231
|
+
* 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.
|
|
58232
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
58233
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
58234
|
+
* @param {*} [options] Override http request option.
|
|
58235
|
+
* @throws {RequiredError}
|
|
58236
|
+
*/
|
|
58237
|
+
handleKioskAutoReject(kioskAutoRejectDto: KioskAutoRejectDto, options?: any): AxiosPromise<void>;
|
|
58123
58238
|
/**
|
|
58124
58239
|
* 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.
|
|
58125
58240
|
* @summary Handle Supabase employee sync webhook
|
|
@@ -58305,6 +58420,15 @@ export interface WebhookApiInterface {
|
|
|
58305
58420
|
* @memberof WebhookApiInterface
|
|
58306
58421
|
*/
|
|
58307
58422
|
handleFoodoraEvent(orderUpdateDto: OrderUpdateDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
58423
|
+
/**
|
|
58424
|
+
* 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.
|
|
58425
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
58426
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
58427
|
+
* @param {*} [options] Override http request option.
|
|
58428
|
+
* @throws {RequiredError}
|
|
58429
|
+
* @memberof WebhookApiInterface
|
|
58430
|
+
*/
|
|
58431
|
+
handleKioskAutoReject(kioskAutoRejectDto: KioskAutoRejectDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
58308
58432
|
/**
|
|
58309
58433
|
* 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.
|
|
58310
58434
|
* @summary Handle Supabase employee sync webhook
|
|
@@ -58510,6 +58634,15 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
58510
58634
|
* @memberof WebhookApi
|
|
58511
58635
|
*/
|
|
58512
58636
|
handleFoodoraEvent(orderUpdateDto: OrderUpdateDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
58637
|
+
/**
|
|
58638
|
+
* 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.
|
|
58639
|
+
* @summary Reject a kiosk order nobody accepted in time (triggered by scheduler)
|
|
58640
|
+
* @param {KioskAutoRejectDto} kioskAutoRejectDto
|
|
58641
|
+
* @param {*} [options] Override http request option.
|
|
58642
|
+
* @throws {RequiredError}
|
|
58643
|
+
* @memberof WebhookApi
|
|
58644
|
+
*/
|
|
58645
|
+
handleKioskAutoReject(kioskAutoRejectDto: KioskAutoRejectDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
58513
58646
|
/**
|
|
58514
58647
|
* 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.
|
|
58515
58648
|
* @summary Handle Supabase employee sync webhook
|