@munchi_oy/core 1.9.89 → 1.9.91
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 +171 -66
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +256 -65
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -4180,12 +4180,6 @@ export interface CreateReservationDto {
|
|
|
4180
4180
|
* @memberof CreateReservationDto
|
|
4181
4181
|
*/
|
|
4182
4182
|
'guestPhone'?: string;
|
|
4183
|
-
/**
|
|
4184
|
-
*
|
|
4185
|
-
* @type {string}
|
|
4186
|
-
* @memberof CreateReservationDto
|
|
4187
|
-
*/
|
|
4188
|
-
'guestEmail'?: string;
|
|
4189
4183
|
/**
|
|
4190
4184
|
*
|
|
4191
4185
|
* @type {string}
|
|
@@ -4988,6 +4982,68 @@ export interface DiscoverTerminalDto {
|
|
|
4988
4982
|
*/
|
|
4989
4983
|
'provider': PaymentProvider;
|
|
4990
4984
|
}
|
|
4985
|
+
/**
|
|
4986
|
+
*
|
|
4987
|
+
* @export
|
|
4988
|
+
* @interface DispatchPosOrderDto
|
|
4989
|
+
*/
|
|
4990
|
+
export interface DispatchPosOrderDto {
|
|
4991
|
+
/**
|
|
4992
|
+
* Ordering business id the POS order belongs to.
|
|
4993
|
+
* @type {number}
|
|
4994
|
+
* @memberof DispatchPosOrderDto
|
|
4995
|
+
*/
|
|
4996
|
+
'businessId': number;
|
|
4997
|
+
/**
|
|
4998
|
+
* Id of the POS order to fulfil.
|
|
4999
|
+
* @type {string}
|
|
5000
|
+
* @memberof DispatchPosOrderDto
|
|
5001
|
+
*/
|
|
5002
|
+
'orderId': string;
|
|
5003
|
+
}
|
|
5004
|
+
/**
|
|
5005
|
+
*
|
|
5006
|
+
* @export
|
|
5007
|
+
* @interface DispatchPosOrderResponseDto
|
|
5008
|
+
*/
|
|
5009
|
+
export interface DispatchPosOrderResponseDto {
|
|
5010
|
+
/**
|
|
5011
|
+
*
|
|
5012
|
+
* @type {object}
|
|
5013
|
+
* @memberof DispatchPosOrderResponseDto
|
|
5014
|
+
*/
|
|
5015
|
+
'ticketId': object | null;
|
|
5016
|
+
/**
|
|
5017
|
+
*
|
|
5018
|
+
* @type {object}
|
|
5019
|
+
* @memberof DispatchPosOrderResponseDto
|
|
5020
|
+
*/
|
|
5021
|
+
'ticketOrderNumber': object | null;
|
|
5022
|
+
/**
|
|
5023
|
+
* Line items placed on the ticket by this call.
|
|
5024
|
+
* @type {number}
|
|
5025
|
+
* @memberof DispatchPosOrderResponseDto
|
|
5026
|
+
*/
|
|
5027
|
+
'ticketedLineItems': number;
|
|
5028
|
+
/**
|
|
5029
|
+
* Print jobs emitted for this fire.
|
|
5030
|
+
* @type {number}
|
|
5031
|
+
* @memberof DispatchPosOrderResponseDto
|
|
5032
|
+
*/
|
|
5033
|
+
'printJobs': number;
|
|
5034
|
+
/**
|
|
5035
|
+
* Whether the order reached its terminal state.
|
|
5036
|
+
* @type {boolean}
|
|
5037
|
+
* @memberof DispatchPosOrderResponseDto
|
|
5038
|
+
*/
|
|
5039
|
+
'orderCompleted': boolean;
|
|
5040
|
+
/**
|
|
5041
|
+
* Whether loyalty points were credited by this call.
|
|
5042
|
+
* @type {boolean}
|
|
5043
|
+
* @memberof DispatchPosOrderResponseDto
|
|
5044
|
+
*/
|
|
5045
|
+
'loyaltyCredited': boolean;
|
|
5046
|
+
}
|
|
4991
5047
|
/**
|
|
4992
5048
|
*
|
|
4993
5049
|
* @export
|
|
@@ -19081,56 +19137,6 @@ export interface RequestSessionTokenResponseDto {
|
|
|
19081
19137
|
*/
|
|
19082
19138
|
'sessionChannel': string;
|
|
19083
19139
|
}
|
|
19084
|
-
/**
|
|
19085
|
-
*
|
|
19086
|
-
* @export
|
|
19087
|
-
* @interface ReservationAvailabilityResponseDto
|
|
19088
|
-
*/
|
|
19089
|
-
export interface ReservationAvailabilityResponseDto {
|
|
19090
|
-
/**
|
|
19091
|
-
*
|
|
19092
|
-
* @type {string}
|
|
19093
|
-
* @memberof ReservationAvailabilityResponseDto
|
|
19094
|
-
*/
|
|
19095
|
-
'date': string;
|
|
19096
|
-
/**
|
|
19097
|
-
*
|
|
19098
|
-
* @type {string}
|
|
19099
|
-
* @memberof ReservationAvailabilityResponseDto
|
|
19100
|
-
*/
|
|
19101
|
-
'timezone': string;
|
|
19102
|
-
/**
|
|
19103
|
-
*
|
|
19104
|
-
* @type {number}
|
|
19105
|
-
* @memberof ReservationAvailabilityResponseDto
|
|
19106
|
-
*/
|
|
19107
|
-
'turnTimeMins': number;
|
|
19108
|
-
/**
|
|
19109
|
-
*
|
|
19110
|
-
* @type {Array<ReservationAvailabilitySlotDto>}
|
|
19111
|
-
* @memberof ReservationAvailabilityResponseDto
|
|
19112
|
-
*/
|
|
19113
|
-
'slots': Array<ReservationAvailabilitySlotDto>;
|
|
19114
|
-
}
|
|
19115
|
-
/**
|
|
19116
|
-
*
|
|
19117
|
-
* @export
|
|
19118
|
-
* @interface ReservationAvailabilitySlotDto
|
|
19119
|
-
*/
|
|
19120
|
-
export interface ReservationAvailabilitySlotDto {
|
|
19121
|
-
/**
|
|
19122
|
-
*
|
|
19123
|
-
* @type {string}
|
|
19124
|
-
* @memberof ReservationAvailabilitySlotDto
|
|
19125
|
-
*/
|
|
19126
|
-
'time': string;
|
|
19127
|
-
/**
|
|
19128
|
-
*
|
|
19129
|
-
* @type {number}
|
|
19130
|
-
* @memberof ReservationAvailabilitySlotDto
|
|
19131
|
-
*/
|
|
19132
|
-
'availableTables': number;
|
|
19133
|
-
}
|
|
19134
19140
|
/**
|
|
19135
19141
|
*
|
|
19136
19142
|
* @export
|
|
@@ -21934,6 +21940,12 @@ export interface UnifiedOptionDto {
|
|
|
21934
21940
|
* @interface UnifiedOrderResponseDto
|
|
21935
21941
|
*/
|
|
21936
21942
|
export interface UnifiedOrderResponseDto {
|
|
21943
|
+
/**
|
|
21944
|
+
* Set on tickets whose lines are all configured not to show in Order Manager. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on every document written before this field existed, which is treated as not hidden.
|
|
21945
|
+
* @type {boolean}
|
|
21946
|
+
* @memberof UnifiedOrderResponseDto
|
|
21947
|
+
*/
|
|
21948
|
+
'hiddenFromOrderManager'?: boolean;
|
|
21937
21949
|
/**
|
|
21938
21950
|
*
|
|
21939
21951
|
* @type {OrderSource}
|
|
@@ -23296,12 +23308,6 @@ export interface UpdateReservationDto {
|
|
|
23296
23308
|
* @memberof UpdateReservationDto
|
|
23297
23309
|
*/
|
|
23298
23310
|
'guestPhone'?: string;
|
|
23299
|
-
/**
|
|
23300
|
-
*
|
|
23301
|
-
* @type {string}
|
|
23302
|
-
* @memberof UpdateReservationDto
|
|
23303
|
-
*/
|
|
23304
|
-
'guestEmail'?: string;
|
|
23305
23311
|
/**
|
|
23306
23312
|
*
|
|
23307
23313
|
* @type {string}
|
|
@@ -33135,6 +33141,14 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
33135
33141
|
* @throws {RequiredError}
|
|
33136
33142
|
*/
|
|
33137
33143
|
deliverOrder: (deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33144
|
+
/**
|
|
33145
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
33146
|
+
* @summary Ready & Send a POS order to the kitchen
|
|
33147
|
+
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
33148
|
+
* @param {*} [options] Override http request option.
|
|
33149
|
+
* @throws {RequiredError}
|
|
33150
|
+
*/
|
|
33151
|
+
dispatchPosOrderV5: (dispatchPosOrderDto: DispatchPosOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33138
33152
|
/**
|
|
33139
33153
|
*
|
|
33140
33154
|
* @summary Get all orders across all statuses
|
|
@@ -33154,6 +33168,17 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
33154
33168
|
* @throws {RequiredError}
|
|
33155
33169
|
*/
|
|
33156
33170
|
getOrdersV2: (status: "pending" | "in_progress" | "ready" | "delivered" | "rejected" | "pick_up_by_driver" | "preorder" | "accept_by_driver" | "parked" | "refunded" | "draft", businessIds: string, posBusinessId?: string, extraProvider?: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33171
|
+
/**
|
|
33172
|
+
* Identical to V2, except tickets flagged hiddenFromOrderManager are omitted. Those tickets stay in_progress so the kitchen screen still receives them; only Order Manager skips them.
|
|
33173
|
+
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33174
|
+
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33175
|
+
* @param {string} businessIds Comma separated business ids
|
|
33176
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33177
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33178
|
+
* @param {*} [options] Override http request option.
|
|
33179
|
+
* @throws {RequiredError}
|
|
33180
|
+
*/
|
|
33181
|
+
getOrdersV3: (status: "pending" | "in_progress" | "ready" | "delivered" | "rejected" | "pick_up_by_driver" | "preorder" | "accept_by_driver" | "parked" | "refunded" | "draft", businessIds: string, posBusinessId?: string, extraProvider?: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33157
33182
|
/**
|
|
33158
33183
|
*
|
|
33159
33184
|
* @summary Get all Pos park order
|
|
@@ -33256,6 +33281,14 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
33256
33281
|
* @throws {RequiredError}
|
|
33257
33282
|
*/
|
|
33258
33283
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderStatusResponseDto>>;
|
|
33284
|
+
/**
|
|
33285
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
33286
|
+
* @summary Ready & Send a POS order to the kitchen
|
|
33287
|
+
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
33288
|
+
* @param {*} [options] Override http request option.
|
|
33289
|
+
* @throws {RequiredError}
|
|
33290
|
+
*/
|
|
33291
|
+
dispatchPosOrderV5(dispatchPosOrderDto: DispatchPosOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DispatchPosOrderResponseDto>>;
|
|
33259
33292
|
/**
|
|
33260
33293
|
*
|
|
33261
33294
|
* @summary Get all orders across all statuses
|
|
@@ -33275,6 +33308,17 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
33275
33308
|
* @throws {RequiredError}
|
|
33276
33309
|
*/
|
|
33277
33310
|
getOrdersV2(status: "pending" | "in_progress" | "ready" | "delivered" | "rejected" | "pick_up_by_driver" | "preorder" | "accept_by_driver" | "parked" | "refunded" | "draft", businessIds: string, posBusinessId?: string, extraProvider?: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UnifiedOrderResponseDto>>>;
|
|
33311
|
+
/**
|
|
33312
|
+
* Identical to V2, except tickets flagged hiddenFromOrderManager are omitted. Those tickets stay in_progress so the kitchen screen still receives them; only Order Manager skips them.
|
|
33313
|
+
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33314
|
+
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33315
|
+
* @param {string} businessIds Comma separated business ids
|
|
33316
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33317
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33318
|
+
* @param {*} [options] Override http request option.
|
|
33319
|
+
* @throws {RequiredError}
|
|
33320
|
+
*/
|
|
33321
|
+
getOrdersV3(status: "pending" | "in_progress" | "ready" | "delivered" | "rejected" | "pick_up_by_driver" | "preorder" | "accept_by_driver" | "parked" | "refunded" | "draft", businessIds: string, posBusinessId?: string, extraProvider?: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UnifiedOrderResponseDto>>>;
|
|
33278
33322
|
/**
|
|
33279
33323
|
*
|
|
33280
33324
|
* @summary Get all Pos park order
|
|
@@ -33377,6 +33421,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
33377
33421
|
* @throws {RequiredError}
|
|
33378
33422
|
*/
|
|
33379
33423
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto>;
|
|
33424
|
+
/**
|
|
33425
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
33426
|
+
* @summary Ready & Send a POS order to the kitchen
|
|
33427
|
+
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
33428
|
+
* @param {*} [options] Override http request option.
|
|
33429
|
+
* @throws {RequiredError}
|
|
33430
|
+
*/
|
|
33431
|
+
dispatchPosOrderV5(dispatchPosOrderDto: DispatchPosOrderDto, options?: any): AxiosPromise<DispatchPosOrderResponseDto>;
|
|
33380
33432
|
/**
|
|
33381
33433
|
*
|
|
33382
33434
|
* @summary Get all orders across all statuses
|
|
@@ -33396,6 +33448,17 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
33396
33448
|
* @throws {RequiredError}
|
|
33397
33449
|
*/
|
|
33398
33450
|
getOrdersV2(status: "pending" | "in_progress" | "ready" | "delivered" | "rejected" | "pick_up_by_driver" | "preorder" | "accept_by_driver" | "parked" | "refunded" | "draft", businessIds: string, posBusinessId?: string, extraProvider?: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: any): AxiosPromise<Array<UnifiedOrderResponseDto>>;
|
|
33451
|
+
/**
|
|
33452
|
+
* Identical to V2, except tickets flagged hiddenFromOrderManager are omitted. Those tickets stay in_progress so the kitchen screen still receives them; only Order Manager skips them.
|
|
33453
|
+
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33454
|
+
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33455
|
+
* @param {string} businessIds Comma separated business ids
|
|
33456
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33457
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33458
|
+
* @param {*} [options] Override http request option.
|
|
33459
|
+
* @throws {RequiredError}
|
|
33460
|
+
*/
|
|
33461
|
+
getOrdersV3(status: "pending" | "in_progress" | "ready" | "delivered" | "rejected" | "pick_up_by_driver" | "preorder" | "accept_by_driver" | "parked" | "refunded" | "draft", businessIds: string, posBusinessId?: string, extraProvider?: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: any): AxiosPromise<Array<UnifiedOrderResponseDto>>;
|
|
33399
33462
|
/**
|
|
33400
33463
|
*
|
|
33401
33464
|
* @summary Get all Pos park order
|
|
@@ -33503,6 +33566,15 @@ export interface OrdersApiInterface {
|
|
|
33503
33566
|
* @memberof OrdersApiInterface
|
|
33504
33567
|
*/
|
|
33505
33568
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
|
|
33569
|
+
/**
|
|
33570
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
33571
|
+
* @summary Ready & Send a POS order to the kitchen
|
|
33572
|
+
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
33573
|
+
* @param {*} [options] Override http request option.
|
|
33574
|
+
* @throws {RequiredError}
|
|
33575
|
+
* @memberof OrdersApiInterface
|
|
33576
|
+
*/
|
|
33577
|
+
dispatchPosOrderV5(dispatchPosOrderDto: DispatchPosOrderDto, options?: AxiosRequestConfig): AxiosPromise<DispatchPosOrderResponseDto>;
|
|
33506
33578
|
/**
|
|
33507
33579
|
*
|
|
33508
33580
|
* @summary Get all orders across all statuses
|
|
@@ -33524,6 +33596,18 @@ export interface OrdersApiInterface {
|
|
|
33524
33596
|
* @memberof OrdersApiInterface
|
|
33525
33597
|
*/
|
|
33526
33598
|
getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<Array<UnifiedOrderResponseDto>>;
|
|
33599
|
+
/**
|
|
33600
|
+
* Identical to V2, except tickets flagged hiddenFromOrderManager are omitted. Those tickets stay in_progress so the kitchen screen still receives them; only Order Manager skips them.
|
|
33601
|
+
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33602
|
+
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33603
|
+
* @param {string} businessIds Comma separated business ids
|
|
33604
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33605
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33606
|
+
* @param {*} [options] Override http request option.
|
|
33607
|
+
* @throws {RequiredError}
|
|
33608
|
+
* @memberof OrdersApiInterface
|
|
33609
|
+
*/
|
|
33610
|
+
getOrdersV3(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<Array<UnifiedOrderResponseDto>>;
|
|
33527
33611
|
/**
|
|
33528
33612
|
*
|
|
33529
33613
|
* @summary Get all Pos park order
|
|
@@ -33640,6 +33724,15 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
33640
33724
|
* @memberof OrdersApi
|
|
33641
33725
|
*/
|
|
33642
33726
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderStatusResponseDto, any, {}>>;
|
|
33727
|
+
/**
|
|
33728
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
33729
|
+
* @summary Ready & Send a POS order to the kitchen
|
|
33730
|
+
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
33731
|
+
* @param {*} [options] Override http request option.
|
|
33732
|
+
* @throws {RequiredError}
|
|
33733
|
+
* @memberof OrdersApi
|
|
33734
|
+
*/
|
|
33735
|
+
dispatchPosOrderV5(dispatchPosOrderDto: DispatchPosOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DispatchPosOrderResponseDto, any, {}>>;
|
|
33643
33736
|
/**
|
|
33644
33737
|
*
|
|
33645
33738
|
* @summary Get all orders across all statuses
|
|
@@ -33661,6 +33754,18 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
33661
33754
|
* @memberof OrdersApi
|
|
33662
33755
|
*/
|
|
33663
33756
|
getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedOrderResponseDto[], any, {}>>;
|
|
33757
|
+
/**
|
|
33758
|
+
* Identical to V2, except tickets flagged hiddenFromOrderManager are omitted. Those tickets stay in_progress so the kitchen screen still receives them; only Order Manager skips them.
|
|
33759
|
+
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33760
|
+
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33761
|
+
* @param {string} businessIds Comma separated business ids
|
|
33762
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33763
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33764
|
+
* @param {*} [options] Override http request option.
|
|
33765
|
+
* @throws {RequiredError}
|
|
33766
|
+
* @memberof OrdersApi
|
|
33767
|
+
*/
|
|
33768
|
+
getOrdersV3(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedOrderResponseDto[], any, {}>>;
|
|
33664
33769
|
/**
|
|
33665
33770
|
*
|
|
33666
33771
|
* @summary Get all Pos park order
|
|
@@ -37446,7 +37551,7 @@ export declare const ReservationsApiFp: (configuration?: Configuration) => {
|
|
|
37446
37551
|
* @param {*} [options] Override http request option.
|
|
37447
37552
|
* @throws {RequiredError}
|
|
37448
37553
|
*/
|
|
37449
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
37554
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
37450
37555
|
/**
|
|
37451
37556
|
*
|
|
37452
37557
|
* @summary Get the reservation policy
|
|
@@ -37540,7 +37645,7 @@ export declare const ReservationsApiFactory: (configuration?: Configuration, bas
|
|
|
37540
37645
|
* @param {*} [options] Override http request option.
|
|
37541
37646
|
* @throws {RequiredError}
|
|
37542
37647
|
*/
|
|
37543
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: any): AxiosPromise<
|
|
37648
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, options?: any): AxiosPromise<void>;
|
|
37544
37649
|
/**
|
|
37545
37650
|
*
|
|
37546
37651
|
* @summary Get the reservation policy
|
|
@@ -37637,7 +37742,7 @@ export interface ReservationsApiInterface {
|
|
|
37637
37742
|
* @throws {RequiredError}
|
|
37638
37743
|
* @memberof ReservationsApiInterface
|
|
37639
37744
|
*/
|
|
37640
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): AxiosPromise<
|
|
37745
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
37641
37746
|
/**
|
|
37642
37747
|
*
|
|
37643
37748
|
* @summary Get the reservation policy
|
|
@@ -37743,7 +37848,7 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
|
|
|
37743
37848
|
* @throws {RequiredError}
|
|
37744
37849
|
* @memberof ReservationsApi
|
|
37745
37850
|
*/
|
|
37746
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
37851
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37747
37852
|
/**
|
|
37748
37853
|
*
|
|
37749
37854
|
* @summary Get the reservation policy
|