@munchi_oy/core 1.9.90 → 1.9.92
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 +189 -15
- 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 +208 -22
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3497,6 +3497,18 @@ export interface CreateManualSessionDto {
|
|
|
3497
3497
|
* @interface CreateManualSessionDtoOrder
|
|
3498
3498
|
*/
|
|
3499
3499
|
export interface CreateManualSessionDtoOrder {
|
|
3500
|
+
/**
|
|
3501
|
+
* Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
|
|
3502
|
+
* @type {boolean}
|
|
3503
|
+
* @memberof CreateManualSessionDtoOrder
|
|
3504
|
+
*/
|
|
3505
|
+
'hiddenFromOrderManager'?: boolean;
|
|
3506
|
+
/**
|
|
3507
|
+
* True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
|
|
3508
|
+
* @type {boolean}
|
|
3509
|
+
* @memberof CreateManualSessionDtoOrder
|
|
3510
|
+
*/
|
|
3511
|
+
'readyControlledByKds'?: boolean;
|
|
3500
3512
|
/**
|
|
3501
3513
|
*
|
|
3502
3514
|
* @type {string}
|
|
@@ -4180,6 +4192,12 @@ export interface CreateReservationDto {
|
|
|
4180
4192
|
* @memberof CreateReservationDto
|
|
4181
4193
|
*/
|
|
4182
4194
|
'guestPhone'?: string;
|
|
4195
|
+
/**
|
|
4196
|
+
*
|
|
4197
|
+
* @type {string}
|
|
4198
|
+
* @memberof CreateReservationDto
|
|
4199
|
+
*/
|
|
4200
|
+
'guestEmail'?: string;
|
|
4183
4201
|
/**
|
|
4184
4202
|
*
|
|
4185
4203
|
* @type {string}
|
|
@@ -15342,6 +15360,18 @@ export interface PosMenuTaxDto {
|
|
|
15342
15360
|
* @interface PosOrderDto
|
|
15343
15361
|
*/
|
|
15344
15362
|
export interface PosOrderDto {
|
|
15363
|
+
/**
|
|
15364
|
+
* Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
|
|
15365
|
+
* @type {boolean}
|
|
15366
|
+
* @memberof PosOrderDto
|
|
15367
|
+
*/
|
|
15368
|
+
'hiddenFromOrderManager'?: boolean;
|
|
15369
|
+
/**
|
|
15370
|
+
* True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
|
|
15371
|
+
* @type {boolean}
|
|
15372
|
+
* @memberof PosOrderDto
|
|
15373
|
+
*/
|
|
15374
|
+
'readyControlledByKds'?: boolean;
|
|
15345
15375
|
/**
|
|
15346
15376
|
*
|
|
15347
15377
|
* @type {string}
|
|
@@ -16148,6 +16178,18 @@ export interface PosOrderPayloadDto {
|
|
|
16148
16178
|
* @interface PosOrderPayloadDtoOrder
|
|
16149
16179
|
*/
|
|
16150
16180
|
export interface PosOrderPayloadDtoOrder {
|
|
16181
|
+
/**
|
|
16182
|
+
* Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
|
|
16183
|
+
* @type {boolean}
|
|
16184
|
+
* @memberof PosOrderPayloadDtoOrder
|
|
16185
|
+
*/
|
|
16186
|
+
'hiddenFromOrderManager'?: boolean;
|
|
16187
|
+
/**
|
|
16188
|
+
* True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
|
|
16189
|
+
* @type {boolean}
|
|
16190
|
+
* @memberof PosOrderPayloadDtoOrder
|
|
16191
|
+
*/
|
|
16192
|
+
'readyControlledByKds'?: boolean;
|
|
16151
16193
|
/**
|
|
16152
16194
|
*
|
|
16153
16195
|
* @type {string}
|
|
@@ -17032,6 +17074,18 @@ export interface ProcessOrderActionsResponseDto {
|
|
|
17032
17074
|
* @interface ProcessOrderActionsResponseDtoOrder
|
|
17033
17075
|
*/
|
|
17034
17076
|
export interface ProcessOrderActionsResponseDtoOrder {
|
|
17077
|
+
/**
|
|
17078
|
+
* Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
|
|
17079
|
+
* @type {boolean}
|
|
17080
|
+
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
17081
|
+
*/
|
|
17082
|
+
'hiddenFromOrderManager'?: boolean;
|
|
17083
|
+
/**
|
|
17084
|
+
* True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
|
|
17085
|
+
* @type {boolean}
|
|
17086
|
+
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
17087
|
+
*/
|
|
17088
|
+
'readyControlledByKds'?: boolean;
|
|
17035
17089
|
/**
|
|
17036
17090
|
*
|
|
17037
17091
|
* @type {string}
|
|
@@ -18283,6 +18337,18 @@ export interface RecordManualPaymentResultDto {
|
|
|
18283
18337
|
* @interface RecordManualPaymentResultDtoOrder
|
|
18284
18338
|
*/
|
|
18285
18339
|
export interface RecordManualPaymentResultDtoOrder {
|
|
18340
|
+
/**
|
|
18341
|
+
* Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
|
|
18342
|
+
* @type {boolean}
|
|
18343
|
+
* @memberof RecordManualPaymentResultDtoOrder
|
|
18344
|
+
*/
|
|
18345
|
+
'hiddenFromOrderManager'?: boolean;
|
|
18346
|
+
/**
|
|
18347
|
+
* True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
|
|
18348
|
+
* @type {boolean}
|
|
18349
|
+
* @memberof RecordManualPaymentResultDtoOrder
|
|
18350
|
+
*/
|
|
18351
|
+
'readyControlledByKds'?: boolean;
|
|
18286
18352
|
/**
|
|
18287
18353
|
*
|
|
18288
18354
|
* @type {string}
|
|
@@ -19137,6 +19203,62 @@ export interface RequestSessionTokenResponseDto {
|
|
|
19137
19203
|
*/
|
|
19138
19204
|
'sessionChannel': string;
|
|
19139
19205
|
}
|
|
19206
|
+
/**
|
|
19207
|
+
*
|
|
19208
|
+
* @export
|
|
19209
|
+
* @interface ReservationAvailabilityResponseDto
|
|
19210
|
+
*/
|
|
19211
|
+
export interface ReservationAvailabilityResponseDto {
|
|
19212
|
+
/**
|
|
19213
|
+
*
|
|
19214
|
+
* @type {string}
|
|
19215
|
+
* @memberof ReservationAvailabilityResponseDto
|
|
19216
|
+
*/
|
|
19217
|
+
'date': string;
|
|
19218
|
+
/**
|
|
19219
|
+
*
|
|
19220
|
+
* @type {string}
|
|
19221
|
+
* @memberof ReservationAvailabilityResponseDto
|
|
19222
|
+
*/
|
|
19223
|
+
'timezone': string;
|
|
19224
|
+
/**
|
|
19225
|
+
*
|
|
19226
|
+
* @type {number}
|
|
19227
|
+
* @memberof ReservationAvailabilityResponseDto
|
|
19228
|
+
*/
|
|
19229
|
+
'turnTimeMins': number;
|
|
19230
|
+
/**
|
|
19231
|
+
*
|
|
19232
|
+
* @type {Array<ReservationAvailabilitySlotDto>}
|
|
19233
|
+
* @memberof ReservationAvailabilityResponseDto
|
|
19234
|
+
*/
|
|
19235
|
+
'slots': Array<ReservationAvailabilitySlotDto>;
|
|
19236
|
+
}
|
|
19237
|
+
/**
|
|
19238
|
+
*
|
|
19239
|
+
* @export
|
|
19240
|
+
* @interface ReservationAvailabilitySlotDto
|
|
19241
|
+
*/
|
|
19242
|
+
export interface ReservationAvailabilitySlotDto {
|
|
19243
|
+
/**
|
|
19244
|
+
*
|
|
19245
|
+
* @type {string}
|
|
19246
|
+
* @memberof ReservationAvailabilitySlotDto
|
|
19247
|
+
*/
|
|
19248
|
+
'time': string;
|
|
19249
|
+
/**
|
|
19250
|
+
* Exact UTC instant of the slot
|
|
19251
|
+
* @type {string}
|
|
19252
|
+
* @memberof ReservationAvailabilitySlotDto
|
|
19253
|
+
*/
|
|
19254
|
+
'startsAt': string;
|
|
19255
|
+
/**
|
|
19256
|
+
*
|
|
19257
|
+
* @type {number}
|
|
19258
|
+
* @memberof ReservationAvailabilitySlotDto
|
|
19259
|
+
*/
|
|
19260
|
+
'availableTables': number;
|
|
19261
|
+
}
|
|
19140
19262
|
/**
|
|
19141
19263
|
*
|
|
19142
19264
|
* @export
|
|
@@ -19779,6 +19901,7 @@ export interface SingleProviderStatusResponseDtoActiveChannel {
|
|
|
19779
19901
|
export declare const SourceType: {
|
|
19780
19902
|
readonly Order: "ORDER";
|
|
19781
19903
|
readonly Ticket: "TICKET";
|
|
19904
|
+
readonly KitchenTicket: "KITCHEN_TICKET";
|
|
19782
19905
|
};
|
|
19783
19906
|
export type SourceType = typeof SourceType[keyof typeof SourceType];
|
|
19784
19907
|
/**
|
|
@@ -20409,6 +20532,18 @@ export interface SyncKioskOrderDto {
|
|
|
20409
20532
|
* @interface SyncKioskOrderDtoOrder
|
|
20410
20533
|
*/
|
|
20411
20534
|
export interface SyncKioskOrderDtoOrder {
|
|
20535
|
+
/**
|
|
20536
|
+
* Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
|
|
20537
|
+
* @type {boolean}
|
|
20538
|
+
* @memberof SyncKioskOrderDtoOrder
|
|
20539
|
+
*/
|
|
20540
|
+
'hiddenFromOrderManager'?: boolean;
|
|
20541
|
+
/**
|
|
20542
|
+
* True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
|
|
20543
|
+
* @type {boolean}
|
|
20544
|
+
* @memberof SyncKioskOrderDtoOrder
|
|
20545
|
+
*/
|
|
20546
|
+
'readyControlledByKds'?: boolean;
|
|
20412
20547
|
/**
|
|
20413
20548
|
*
|
|
20414
20549
|
* @type {string}
|
|
@@ -20682,6 +20817,18 @@ export interface SyncPosOrderDto {
|
|
|
20682
20817
|
* @interface SyncPosOrderDtoOrder
|
|
20683
20818
|
*/
|
|
20684
20819
|
export interface SyncPosOrderDtoOrder {
|
|
20820
|
+
/**
|
|
20821
|
+
* Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
|
|
20822
|
+
* @type {boolean}
|
|
20823
|
+
* @memberof SyncPosOrderDtoOrder
|
|
20824
|
+
*/
|
|
20825
|
+
'hiddenFromOrderManager'?: boolean;
|
|
20826
|
+
/**
|
|
20827
|
+
* True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
|
|
20828
|
+
* @type {boolean}
|
|
20829
|
+
* @memberof SyncPosOrderDtoOrder
|
|
20830
|
+
*/
|
|
20831
|
+
'readyControlledByKds'?: boolean;
|
|
20685
20832
|
/**
|
|
20686
20833
|
*
|
|
20687
20834
|
* @type {string}
|
|
@@ -21946,6 +22093,12 @@ export interface UnifiedOrderResponseDto {
|
|
|
21946
22093
|
* @memberof UnifiedOrderResponseDto
|
|
21947
22094
|
*/
|
|
21948
22095
|
'hiddenFromOrderManager'?: boolean;
|
|
22096
|
+
/**
|
|
22097
|
+
* True when the kitchen screen owns marking this ticket ready. False when no kitchen ticket exists and a manager must. Absent on older documents, where clients fall back to the business-level KDS integration check.
|
|
22098
|
+
* @type {boolean}
|
|
22099
|
+
* @memberof UnifiedOrderResponseDto
|
|
22100
|
+
*/
|
|
22101
|
+
'readyControlledByKds'?: boolean;
|
|
21949
22102
|
/**
|
|
21950
22103
|
*
|
|
21951
22104
|
* @type {OrderSource}
|
|
@@ -23308,6 +23461,12 @@ export interface UpdateReservationDto {
|
|
|
23308
23461
|
* @memberof UpdateReservationDto
|
|
23309
23462
|
*/
|
|
23310
23463
|
'guestPhone'?: string;
|
|
23464
|
+
/**
|
|
23465
|
+
*
|
|
23466
|
+
* @type {string}
|
|
23467
|
+
* @memberof UpdateReservationDto
|
|
23468
|
+
*/
|
|
23469
|
+
'guestEmail'?: string;
|
|
23311
23470
|
/**
|
|
23312
23471
|
*
|
|
23313
23472
|
* @type {string}
|
|
@@ -33172,11 +33331,13 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
33172
33331
|
* 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
33332
|
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33174
33333
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33175
|
-
* @param {string} businessIds Comma
|
|
33334
|
+
* @param {string} businessIds Comma separated business ids
|
|
33335
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33336
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33176
33337
|
* @param {*} [options] Override http request option.
|
|
33177
33338
|
* @throws {RequiredError}
|
|
33178
33339
|
*/
|
|
33179
|
-
getOrdersV3: (status: "pending" | "in_progress" | "ready" | "delivered" | "rejected" | "pick_up_by_driver" | "preorder" | "accept_by_driver" | "parked" | "refunded" | "draft", businessIds: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33340
|
+
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>;
|
|
33180
33341
|
/**
|
|
33181
33342
|
*
|
|
33182
33343
|
* @summary Get all Pos park order
|
|
@@ -33310,11 +33471,13 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
33310
33471
|
* 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.
|
|
33311
33472
|
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33312
33473
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33313
|
-
* @param {string} businessIds Comma
|
|
33474
|
+
* @param {string} businessIds Comma separated business ids
|
|
33475
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33476
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33314
33477
|
* @param {*} [options] Override http request option.
|
|
33315
33478
|
* @throws {RequiredError}
|
|
33316
33479
|
*/
|
|
33317
|
-
getOrdersV3(status: "pending" | "in_progress" | "ready" | "delivered" | "rejected" | "pick_up_by_driver" | "preorder" | "accept_by_driver" | "parked" | "refunded" | "draft", businessIds: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
33480
|
+
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>>>;
|
|
33318
33481
|
/**
|
|
33319
33482
|
*
|
|
33320
33483
|
* @summary Get all Pos park order
|
|
@@ -33448,11 +33611,13 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
33448
33611
|
* 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.
|
|
33449
33612
|
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33450
33613
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33451
|
-
* @param {string} businessIds Comma
|
|
33614
|
+
* @param {string} businessIds Comma separated business ids
|
|
33615
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33616
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33452
33617
|
* @param {*} [options] Override http request option.
|
|
33453
33618
|
* @throws {RequiredError}
|
|
33454
33619
|
*/
|
|
33455
|
-
getOrdersV3(status: "pending" | "in_progress" | "ready" | "delivered" | "rejected" | "pick_up_by_driver" | "preorder" | "accept_by_driver" | "parked" | "refunded" | "draft", businessIds: string, options?: any): AxiosPromise<
|
|
33620
|
+
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>>;
|
|
33456
33621
|
/**
|
|
33457
33622
|
*
|
|
33458
33623
|
* @summary Get all Pos park order
|
|
@@ -33594,12 +33759,14 @@ export interface OrdersApiInterface {
|
|
|
33594
33759
|
* 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.
|
|
33595
33760
|
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33596
33761
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33597
|
-
* @param {string} businessIds Comma
|
|
33762
|
+
* @param {string} businessIds Comma separated business ids
|
|
33763
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33764
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33598
33765
|
* @param {*} [options] Override http request option.
|
|
33599
33766
|
* @throws {RequiredError}
|
|
33600
33767
|
* @memberof OrdersApiInterface
|
|
33601
33768
|
*/
|
|
33602
|
-
getOrdersV3(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, options?: AxiosRequestConfig): AxiosPromise<
|
|
33769
|
+
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>>;
|
|
33603
33770
|
/**
|
|
33604
33771
|
*
|
|
33605
33772
|
* @summary Get all Pos park order
|
|
@@ -33750,12 +33917,14 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
33750
33917
|
* 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.
|
|
33751
33918
|
* @summary Get orders by status, excluding tickets hidden from Order Manager
|
|
33752
33919
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status
|
|
33753
|
-
* @param {string} businessIds Comma
|
|
33920
|
+
* @param {string} businessIds Comma separated business ids
|
|
33921
|
+
* @param {string} [posBusinessId] Id of the pos
|
|
33922
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
33754
33923
|
* @param {*} [options] Override http request option.
|
|
33755
33924
|
* @throws {RequiredError}
|
|
33756
33925
|
* @memberof OrdersApi
|
|
33757
33926
|
*/
|
|
33758
|
-
getOrdersV3(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
33927
|
+
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, {}>>;
|
|
33759
33928
|
/**
|
|
33760
33929
|
*
|
|
33761
33930
|
* @summary Get all Pos park order
|
|
@@ -37444,10 +37613,11 @@ export declare const ReservationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
37444
37613
|
* @param {number} businessId
|
|
37445
37614
|
* @param {string} date
|
|
37446
37615
|
* @param {number} partySize
|
|
37616
|
+
* @param {string} [sectionId]
|
|
37447
37617
|
* @param {*} [options] Override http request option.
|
|
37448
37618
|
* @throws {RequiredError}
|
|
37449
37619
|
*/
|
|
37450
|
-
getReservationAvailability: (businessId: number, date: string, partySize: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37620
|
+
getReservationAvailability: (businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37451
37621
|
/**
|
|
37452
37622
|
*
|
|
37453
37623
|
* @summary Get the reservation policy
|
|
@@ -37538,10 +37708,11 @@ export declare const ReservationsApiFp: (configuration?: Configuration) => {
|
|
|
37538
37708
|
* @param {number} businessId
|
|
37539
37709
|
* @param {string} date
|
|
37540
37710
|
* @param {number} partySize
|
|
37711
|
+
* @param {string} [sectionId]
|
|
37541
37712
|
* @param {*} [options] Override http request option.
|
|
37542
37713
|
* @throws {RequiredError}
|
|
37543
37714
|
*/
|
|
37544
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
37715
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
|
|
37545
37716
|
/**
|
|
37546
37717
|
*
|
|
37547
37718
|
* @summary Get the reservation policy
|
|
@@ -37632,10 +37803,11 @@ export declare const ReservationsApiFactory: (configuration?: Configuration, bas
|
|
|
37632
37803
|
* @param {number} businessId
|
|
37633
37804
|
* @param {string} date
|
|
37634
37805
|
* @param {number} partySize
|
|
37806
|
+
* @param {string} [sectionId]
|
|
37635
37807
|
* @param {*} [options] Override http request option.
|
|
37636
37808
|
* @throws {RequiredError}
|
|
37637
37809
|
*/
|
|
37638
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: any): AxiosPromise<
|
|
37810
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
|
|
37639
37811
|
/**
|
|
37640
37812
|
*
|
|
37641
37813
|
* @summary Get the reservation policy
|
|
@@ -37728,11 +37900,12 @@ export interface ReservationsApiInterface {
|
|
|
37728
37900
|
* @param {number} businessId
|
|
37729
37901
|
* @param {string} date
|
|
37730
37902
|
* @param {number} partySize
|
|
37903
|
+
* @param {string} [sectionId]
|
|
37731
37904
|
* @param {*} [options] Override http request option.
|
|
37732
37905
|
* @throws {RequiredError}
|
|
37733
37906
|
* @memberof ReservationsApiInterface
|
|
37734
37907
|
*/
|
|
37735
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): AxiosPromise<
|
|
37908
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
|
|
37736
37909
|
/**
|
|
37737
37910
|
*
|
|
37738
37911
|
* @summary Get the reservation policy
|
|
@@ -37834,11 +38007,12 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
|
|
|
37834
38007
|
* @param {number} businessId
|
|
37835
38008
|
* @param {string} date
|
|
37836
38009
|
* @param {number} partySize
|
|
38010
|
+
* @param {string} [sectionId]
|
|
37837
38011
|
* @param {*} [options] Override http request option.
|
|
37838
38012
|
* @throws {RequiredError}
|
|
37839
38013
|
* @memberof ReservationsApi
|
|
37840
38014
|
*/
|
|
37841
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
38015
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
|
|
37842
38016
|
/**
|
|
37843
38017
|
*
|
|
37844
38018
|
* @summary Get the reservation policy
|