@munchi_oy/core 2.0.6 → 2.0.7
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 +486 -7
- 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 +712 -7
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3469,6 +3469,25 @@ export interface CreateInvoiceCompanyDto {
|
|
|
3469
3469
|
*/
|
|
3470
3470
|
'address'?: string;
|
|
3471
3471
|
}
|
|
3472
|
+
/**
|
|
3473
|
+
*
|
|
3474
|
+
* @export
|
|
3475
|
+
* @interface CreateKdsStationsDto
|
|
3476
|
+
*/
|
|
3477
|
+
export interface CreateKdsStationsDto {
|
|
3478
|
+
/**
|
|
3479
|
+
* The Munchi venue id (orderingBusinessId) the stations are created at
|
|
3480
|
+
* @type {number}
|
|
3481
|
+
* @memberof CreateKdsStationsDto
|
|
3482
|
+
*/
|
|
3483
|
+
'businessId': number;
|
|
3484
|
+
/**
|
|
3485
|
+
* The stations to create, at least one; all are created, or none
|
|
3486
|
+
* @type {Array<NewKdsStationDto>}
|
|
3487
|
+
* @memberof CreateKdsStationsDto
|
|
3488
|
+
*/
|
|
3489
|
+
'stations': Array<NewKdsStationDto>;
|
|
3490
|
+
}
|
|
3472
3491
|
/**
|
|
3473
3492
|
*
|
|
3474
3493
|
* @export
|
|
@@ -5656,7 +5675,7 @@ export interface DisconnectedDeliveryPlatformDto {
|
|
|
5656
5675
|
*/
|
|
5657
5676
|
'channel': DeliveryPlatformOpsConnect;
|
|
5658
5677
|
/**
|
|
5659
|
-
* The store ids of the rows
|
|
5678
|
+
* The store ids of the rows deleted: one, unless rows were written by hand under several
|
|
5660
5679
|
* @type {Array<string>}
|
|
5661
5680
|
* @memberof DisconnectedDeliveryPlatformDto
|
|
5662
5681
|
*/
|
|
@@ -10295,6 +10314,43 @@ export interface KdsRevertOrderResponseDtoOrder {
|
|
|
10295
10314
|
*/
|
|
10296
10315
|
'items': Array<KdsOrderItemDto>;
|
|
10297
10316
|
}
|
|
10317
|
+
/**
|
|
10318
|
+
*
|
|
10319
|
+
* @export
|
|
10320
|
+
* @interface KdsStationDto
|
|
10321
|
+
*/
|
|
10322
|
+
export interface KdsStationDto {
|
|
10323
|
+
/**
|
|
10324
|
+
* The station\'s id in kds-service (its KDS profile id)
|
|
10325
|
+
* @type {string}
|
|
10326
|
+
* @memberof KdsStationDto
|
|
10327
|
+
*/
|
|
10328
|
+
'id': string;
|
|
10329
|
+
/**
|
|
10330
|
+
* The venue the station belongs to (orderingBusinessId)
|
|
10331
|
+
* @type {number}
|
|
10332
|
+
* @memberof KdsStationDto
|
|
10333
|
+
*/
|
|
10334
|
+
'businessId': number;
|
|
10335
|
+
/**
|
|
10336
|
+
* The station\'s name, as the venue set it
|
|
10337
|
+
* @type {string}
|
|
10338
|
+
* @memberof KdsStationDto
|
|
10339
|
+
*/
|
|
10340
|
+
'name': string;
|
|
10341
|
+
/**
|
|
10342
|
+
*
|
|
10343
|
+
* @type {SystemProfileType}
|
|
10344
|
+
* @memberof KdsStationDto
|
|
10345
|
+
*/
|
|
10346
|
+
'systemType': SystemProfileType | null;
|
|
10347
|
+
/**
|
|
10348
|
+
* The ids of the venue\'s menu categories whose items this station shows, as text; an item of a subcategory goes to the station of its nearest category listed here. A category is on one station only: listing it here takes it off the station that had it. An empty list makes the station show the items no station lists
|
|
10349
|
+
* @type {Array<string>}
|
|
10350
|
+
* @memberof KdsStationDto
|
|
10351
|
+
*/
|
|
10352
|
+
'categoryIds': Array<string>;
|
|
10353
|
+
}
|
|
10298
10354
|
/**
|
|
10299
10355
|
*
|
|
10300
10356
|
* @export
|
|
@@ -13008,6 +13064,25 @@ export interface NetsTransactionSuccessResponseDto {
|
|
|
13008
13064
|
*/
|
|
13009
13065
|
'result': Array<NetsTransactionResultDto>;
|
|
13010
13066
|
}
|
|
13067
|
+
/**
|
|
13068
|
+
*
|
|
13069
|
+
* @export
|
|
13070
|
+
* @interface NewKdsStationDto
|
|
13071
|
+
*/
|
|
13072
|
+
export interface NewKdsStationDto {
|
|
13073
|
+
/**
|
|
13074
|
+
* The new station\'s name
|
|
13075
|
+
* @type {string}
|
|
13076
|
+
* @memberof NewKdsStationDto
|
|
13077
|
+
*/
|
|
13078
|
+
'name': string;
|
|
13079
|
+
/**
|
|
13080
|
+
* The ids of the venue\'s menu categories whose items this station shows, as text; an item of a subcategory goes to the station of its nearest category listed here. A category is on one station only: listing it here takes it off the station that had it. An empty list makes the station show the items no station lists
|
|
13081
|
+
* @type {Array<string>}
|
|
13082
|
+
* @memberof NewKdsStationDto
|
|
13083
|
+
*/
|
|
13084
|
+
'categoryIds': Array<string>;
|
|
13085
|
+
}
|
|
13011
13086
|
/**
|
|
13012
13087
|
*
|
|
13013
13088
|
* @export
|
|
@@ -23612,6 +23687,12 @@ export interface ReservationAvailabilitySlotDto {
|
|
|
23612
23687
|
* @memberof ReservationAvailabilitySlotDto
|
|
23613
23688
|
*/
|
|
23614
23689
|
'availableTables': number;
|
|
23690
|
+
/**
|
|
23691
|
+
* Minutes left until closing when the turn (turnTimeMins) would run past it, the duration to book so the booking ends at closing under the venue\'s last seating; absent when the whole turn fits. The tables are still checked free for the whole turn
|
|
23692
|
+
* @type {number}
|
|
23693
|
+
* @memberof ReservationAvailabilitySlotDto
|
|
23694
|
+
*/
|
|
23695
|
+
'durationMins'?: number;
|
|
23615
23696
|
}
|
|
23616
23697
|
/**
|
|
23617
23698
|
*
|
|
@@ -30076,6 +30157,31 @@ export interface UpdateInvoiceCompanyDto {
|
|
|
30076
30157
|
*/
|
|
30077
30158
|
'address'?: string;
|
|
30078
30159
|
}
|
|
30160
|
+
/**
|
|
30161
|
+
*
|
|
30162
|
+
* @export
|
|
30163
|
+
* @interface UpdateKdsStationDto
|
|
30164
|
+
*/
|
|
30165
|
+
export interface UpdateKdsStationDto {
|
|
30166
|
+
/**
|
|
30167
|
+
* The Munchi venue id (orderingBusinessId) the station belongs to
|
|
30168
|
+
* @type {number}
|
|
30169
|
+
* @memberof UpdateKdsStationDto
|
|
30170
|
+
*/
|
|
30171
|
+
'businessId': number;
|
|
30172
|
+
/**
|
|
30173
|
+
* The station\'s new name; absent keeps its name
|
|
30174
|
+
* @type {string}
|
|
30175
|
+
* @memberof UpdateKdsStationDto
|
|
30176
|
+
*/
|
|
30177
|
+
'name'?: string;
|
|
30178
|
+
/**
|
|
30179
|
+
* The station\'s complete new list of categories: it replaces the list it had. The ids of the venue\'s menu categories whose items this station shows, as text; an item of a subcategory goes to the station of its nearest category listed here. A category is on one station only: listing it here takes it off the station that had it. An empty list makes the station show the items no station lists
|
|
30180
|
+
* @type {Array<string>}
|
|
30181
|
+
* @memberof UpdateKdsStationDto
|
|
30182
|
+
*/
|
|
30183
|
+
'categoryIds': Array<string>;
|
|
30184
|
+
}
|
|
30079
30185
|
/**
|
|
30080
30186
|
*
|
|
30081
30187
|
* @export
|
|
@@ -30317,7 +30423,7 @@ export interface UpdateReservationPolicyDto {
|
|
|
30317
30423
|
*/
|
|
30318
30424
|
'maxHorizonDays'?: number;
|
|
30319
30425
|
/**
|
|
30320
|
-
* The last seating:
|
|
30426
|
+
* The last seating: slots start until this many minutes before each opening closes, and a slot whose turn would run past closing answers durationMins, the minutes left until closing; 0 (no last seating: the turn and its buffer must fit before closing) on create when absent
|
|
30321
30427
|
* @type {number}
|
|
30322
30428
|
* @memberof UpdateReservationPolicyDto
|
|
30323
30429
|
*/
|
|
@@ -30425,6 +30531,32 @@ export interface UpdateTableStatusDto {
|
|
|
30425
30531
|
*/
|
|
30426
30532
|
'status': TableStatus;
|
|
30427
30533
|
}
|
|
30534
|
+
/**
|
|
30535
|
+
*
|
|
30536
|
+
* @export
|
|
30537
|
+
* @interface UpdateVenueProvidersDto
|
|
30538
|
+
*/
|
|
30539
|
+
export interface UpdateVenueProvidersDto {
|
|
30540
|
+
/**
|
|
30541
|
+
* One entry per channel to change, each asking at least one change. A channel named twice is refused. Every row of the venue on the channel changes, active or not, except that isActive true on a platform (Wolt, WoltStorefront, UberEats, Foodora, Bolt, ResQ) turns on only its newest row
|
|
30542
|
+
* @type {Array<VenueProviderChangeDto>}
|
|
30543
|
+
* @memberof UpdateVenueProvidersDto
|
|
30544
|
+
*/
|
|
30545
|
+
'providers': Array<VenueProviderChangeDto>;
|
|
30546
|
+
}
|
|
30547
|
+
/**
|
|
30548
|
+
*
|
|
30549
|
+
* @export
|
|
30550
|
+
* @interface UpdatedVenueProvidersDto
|
|
30551
|
+
*/
|
|
30552
|
+
export interface UpdatedVenueProvidersDto {
|
|
30553
|
+
/**
|
|
30554
|
+
* One entry per channel sent, in the order sent
|
|
30555
|
+
* @type {Array<VenueProviderOutcomeDto>}
|
|
30556
|
+
* @memberof UpdatedVenueProvidersDto
|
|
30557
|
+
*/
|
|
30558
|
+
'providers': Array<VenueProviderOutcomeDto>;
|
|
30559
|
+
}
|
|
30428
30560
|
/**
|
|
30429
30561
|
*
|
|
30430
30562
|
* @export
|
|
@@ -31510,6 +31642,128 @@ export interface VenueListEntryDto {
|
|
|
31510
31642
|
*/
|
|
31511
31643
|
'businessName': string;
|
|
31512
31644
|
}
|
|
31645
|
+
/**
|
|
31646
|
+
*
|
|
31647
|
+
* @export
|
|
31648
|
+
* @interface VenueProviderChangeDto
|
|
31649
|
+
*/
|
|
31650
|
+
export interface VenueProviderChangeDto {
|
|
31651
|
+
/**
|
|
31652
|
+
*
|
|
31653
|
+
* @type {ProviderEnum}
|
|
31654
|
+
* @memberof VenueProviderChangeDto
|
|
31655
|
+
*/
|
|
31656
|
+
'channel': ProviderEnum;
|
|
31657
|
+
/**
|
|
31658
|
+
*
|
|
31659
|
+
* @type {VenueProviderChangeDtoIntegrations}
|
|
31660
|
+
* @memberof VenueProviderChangeDto
|
|
31661
|
+
*/
|
|
31662
|
+
'integrations'?: VenueProviderChangeDtoIntegrations;
|
|
31663
|
+
/**
|
|
31664
|
+
* false turns the channel off at the venue (its rows stay, never deleted); true turns it on. Absent: left as it is
|
|
31665
|
+
* @type {boolean}
|
|
31666
|
+
* @memberof VenueProviderChangeDto
|
|
31667
|
+
*/
|
|
31668
|
+
'isActive'?: boolean;
|
|
31669
|
+
/**
|
|
31670
|
+
* Whether the channel\'s orders are accepted without the till. Absent: left as it is
|
|
31671
|
+
* @type {boolean}
|
|
31672
|
+
* @memberof VenueProviderChangeDto
|
|
31673
|
+
*/
|
|
31674
|
+
'autoAccept'?: boolean;
|
|
31675
|
+
}
|
|
31676
|
+
/**
|
|
31677
|
+
* Integrations to switch on (true) or off (false) on the channel\'s rows, by IntegrationType. An integration left out keeps its state; absent: none changes
|
|
31678
|
+
* @export
|
|
31679
|
+
* @interface VenueProviderChangeDtoIntegrations
|
|
31680
|
+
*/
|
|
31681
|
+
export interface VenueProviderChangeDtoIntegrations {
|
|
31682
|
+
/**
|
|
31683
|
+
*
|
|
31684
|
+
* @type {boolean}
|
|
31685
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
31686
|
+
*/
|
|
31687
|
+
'ORDERS'?: boolean;
|
|
31688
|
+
/**
|
|
31689
|
+
*
|
|
31690
|
+
* @type {boolean}
|
|
31691
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
31692
|
+
*/
|
|
31693
|
+
'MENU'?: boolean;
|
|
31694
|
+
/**
|
|
31695
|
+
*
|
|
31696
|
+
* @type {boolean}
|
|
31697
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
31698
|
+
*/
|
|
31699
|
+
'VENUE'?: boolean;
|
|
31700
|
+
/**
|
|
31701
|
+
*
|
|
31702
|
+
* @type {boolean}
|
|
31703
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
31704
|
+
*/
|
|
31705
|
+
'KDS'?: boolean;
|
|
31706
|
+
/**
|
|
31707
|
+
*
|
|
31708
|
+
* @type {boolean}
|
|
31709
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
31710
|
+
*/
|
|
31711
|
+
'AYCE'?: boolean;
|
|
31712
|
+
}
|
|
31713
|
+
/**
|
|
31714
|
+
*
|
|
31715
|
+
* @export
|
|
31716
|
+
* @enum {string}
|
|
31717
|
+
*/
|
|
31718
|
+
export declare const VenueProviderOutcome: {
|
|
31719
|
+
readonly Created: "created";
|
|
31720
|
+
readonly Updated: "updated";
|
|
31721
|
+
readonly Unchanged: "unchanged";
|
|
31722
|
+
};
|
|
31723
|
+
export type VenueProviderOutcome = typeof VenueProviderOutcome[keyof typeof VenueProviderOutcome];
|
|
31724
|
+
/**
|
|
31725
|
+
*
|
|
31726
|
+
* @export
|
|
31727
|
+
* @interface VenueProviderOutcomeDto
|
|
31728
|
+
*/
|
|
31729
|
+
export interface VenueProviderOutcomeDto {
|
|
31730
|
+
/**
|
|
31731
|
+
*
|
|
31732
|
+
* @type {ProviderEnum}
|
|
31733
|
+
* @memberof VenueProviderOutcomeDto
|
|
31734
|
+
*/
|
|
31735
|
+
'channel': ProviderEnum;
|
|
31736
|
+
/**
|
|
31737
|
+
*
|
|
31738
|
+
* @type {VenueProviderOutcome}
|
|
31739
|
+
* @memberof VenueProviderOutcomeDto
|
|
31740
|
+
*/
|
|
31741
|
+
'outcome': VenueProviderOutcome;
|
|
31742
|
+
/**
|
|
31743
|
+
* How many of the venue\'s rows on the channel changed or were added; a venue may have several rows on one channel
|
|
31744
|
+
* @type {number}
|
|
31745
|
+
* @memberof VenueProviderOutcomeDto
|
|
31746
|
+
*/
|
|
31747
|
+
'rowsChanged': number;
|
|
31748
|
+
/**
|
|
31749
|
+
* Whether the channel is on, as its row reads after the change: the first active row, else the first row, by store id
|
|
31750
|
+
* @type {boolean}
|
|
31751
|
+
* @memberof VenueProviderOutcomeDto
|
|
31752
|
+
*/
|
|
31753
|
+
'isActive': boolean;
|
|
31754
|
+
/**
|
|
31755
|
+
* Whether the channel\'s orders are accepted without the till, as the same row reads after the change
|
|
31756
|
+
* @type {boolean}
|
|
31757
|
+
* @memberof VenueProviderOutcomeDto
|
|
31758
|
+
*/
|
|
31759
|
+
'autoAccept': boolean;
|
|
31760
|
+
/**
|
|
31761
|
+
* The integrations the same row takes after the change
|
|
31762
|
+
* @type {Array<IntegrationType>}
|
|
31763
|
+
* @memberof VenueProviderOutcomeDto
|
|
31764
|
+
*/
|
|
31765
|
+
'integrations': Array<IntegrationType>;
|
|
31766
|
+
}
|
|
31513
31767
|
/**
|
|
31514
31768
|
*
|
|
31515
31769
|
* @export
|
|
@@ -39732,6 +39986,23 @@ export declare class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompa
|
|
|
39732
39986
|
* @export
|
|
39733
39987
|
*/
|
|
39734
39988
|
export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
39989
|
+
/**
|
|
39990
|
+
* Written in kds-service in one transaction: every station is created, or none is. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
39991
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
39992
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
39993
|
+
* @param {*} [options] Override http request option.
|
|
39994
|
+
* @throws {RequiredError}
|
|
39995
|
+
*/
|
|
39996
|
+
createKdsStations: (createKdsStationsDto: CreateKdsStationsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39997
|
+
/**
|
|
39998
|
+
* kds-service soft-deletes the station: it receives no more tickets and leaves every list. 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.
|
|
39999
|
+
* @summary Delete a kitchen station
|
|
40000
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40001
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40002
|
+
* @param {*} [options] Override http request option.
|
|
40003
|
+
* @throws {RequiredError}
|
|
40004
|
+
*/
|
|
40005
|
+
deleteKdsStation: (stationId: string, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39735
40006
|
/**
|
|
39736
40007
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
39737
40008
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -39782,12 +40053,46 @@ export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
39782
40053
|
* @throws {RequiredError}
|
|
39783
40054
|
*/
|
|
39784
40055
|
kdsRevertOrder: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40056
|
+
/**
|
|
40057
|
+
* Read from kds-service: the venue\'s active stations, each with the menu categories it shows. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
40058
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
40059
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40060
|
+
* @param {*} [options] Override http request option.
|
|
40061
|
+
* @throws {RequiredError}
|
|
40062
|
+
*/
|
|
40063
|
+
listKdsStations: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40064
|
+
/**
|
|
40065
|
+
* 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.
|
|
40066
|
+
* @summary Rename a kitchen station and replace its categories
|
|
40067
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40068
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
40069
|
+
* @param {*} [options] Override http request option.
|
|
40070
|
+
* @throws {RequiredError}
|
|
40071
|
+
*/
|
|
40072
|
+
updateKdsStation: (stationId: string, updateKdsStationDto: UpdateKdsStationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39785
40073
|
};
|
|
39786
40074
|
/**
|
|
39787
40075
|
* KDSApi - functional programming interface
|
|
39788
40076
|
* @export
|
|
39789
40077
|
*/
|
|
39790
40078
|
export declare const KDSApiFp: (configuration?: Configuration) => {
|
|
40079
|
+
/**
|
|
40080
|
+
* Written in kds-service in one transaction: every station is created, or none is. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
40081
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
40082
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
40083
|
+
* @param {*} [options] Override http request option.
|
|
40084
|
+
* @throws {RequiredError}
|
|
40085
|
+
*/
|
|
40086
|
+
createKdsStations(createKdsStationsDto: CreateKdsStationsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsStationDto>>>;
|
|
40087
|
+
/**
|
|
40088
|
+
* kds-service soft-deletes the station: it receives no more tickets and leaves every list. 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.
|
|
40089
|
+
* @summary Delete a kitchen station
|
|
40090
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40091
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40092
|
+
* @param {*} [options] Override http request option.
|
|
40093
|
+
* @throws {RequiredError}
|
|
40094
|
+
*/
|
|
40095
|
+
deleteKdsStation(stationId: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsStationDto>>;
|
|
39791
40096
|
/**
|
|
39792
40097
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
39793
40098
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -39838,12 +40143,46 @@ export declare const KDSApiFp: (configuration?: Configuration) => {
|
|
|
39838
40143
|
* @throws {RequiredError}
|
|
39839
40144
|
*/
|
|
39840
40145
|
kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsRevertOrderResponseDto>>;
|
|
40146
|
+
/**
|
|
40147
|
+
* Read from kds-service: the venue\'s active stations, each with the menu categories it shows. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
40148
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
40149
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40150
|
+
* @param {*} [options] Override http request option.
|
|
40151
|
+
* @throws {RequiredError}
|
|
40152
|
+
*/
|
|
40153
|
+
listKdsStations(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsStationDto>>>;
|
|
40154
|
+
/**
|
|
40155
|
+
* 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.
|
|
40156
|
+
* @summary Rename a kitchen station and replace its categories
|
|
40157
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40158
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
40159
|
+
* @param {*} [options] Override http request option.
|
|
40160
|
+
* @throws {RequiredError}
|
|
40161
|
+
*/
|
|
40162
|
+
updateKdsStation(stationId: string, updateKdsStationDto: UpdateKdsStationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsStationDto>>;
|
|
39841
40163
|
};
|
|
39842
40164
|
/**
|
|
39843
40165
|
* KDSApi - factory interface
|
|
39844
40166
|
* @export
|
|
39845
40167
|
*/
|
|
39846
40168
|
export declare const KDSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
40169
|
+
/**
|
|
40170
|
+
* Written in kds-service in one transaction: every station is created, or none is. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
40171
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
40172
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
40173
|
+
* @param {*} [options] Override http request option.
|
|
40174
|
+
* @throws {RequiredError}
|
|
40175
|
+
*/
|
|
40176
|
+
createKdsStations(createKdsStationsDto: CreateKdsStationsDto, options?: any): AxiosPromise<Array<KdsStationDto>>;
|
|
40177
|
+
/**
|
|
40178
|
+
* kds-service soft-deletes the station: it receives no more tickets and leaves every list. 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.
|
|
40179
|
+
* @summary Delete a kitchen station
|
|
40180
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40181
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40182
|
+
* @param {*} [options] Override http request option.
|
|
40183
|
+
* @throws {RequiredError}
|
|
40184
|
+
*/
|
|
40185
|
+
deleteKdsStation(stationId: string, businessId: number, options?: any): AxiosPromise<KdsStationDto>;
|
|
39847
40186
|
/**
|
|
39848
40187
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
39849
40188
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -39894,6 +40233,23 @@ export declare const KDSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
39894
40233
|
* @throws {RequiredError}
|
|
39895
40234
|
*/
|
|
39896
40235
|
kdsRevertOrder(id: string, options?: any): AxiosPromise<KdsRevertOrderResponseDto>;
|
|
40236
|
+
/**
|
|
40237
|
+
* Read from kds-service: the venue\'s active stations, each with the menu categories it shows. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
40238
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
40239
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40240
|
+
* @param {*} [options] Override http request option.
|
|
40241
|
+
* @throws {RequiredError}
|
|
40242
|
+
*/
|
|
40243
|
+
listKdsStations(businessId: number, options?: any): AxiosPromise<Array<KdsStationDto>>;
|
|
40244
|
+
/**
|
|
40245
|
+
* 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.
|
|
40246
|
+
* @summary Rename a kitchen station and replace its categories
|
|
40247
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40248
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
40249
|
+
* @param {*} [options] Override http request option.
|
|
40250
|
+
* @throws {RequiredError}
|
|
40251
|
+
*/
|
|
40252
|
+
updateKdsStation(stationId: string, updateKdsStationDto: UpdateKdsStationDto, options?: any): AxiosPromise<KdsStationDto>;
|
|
39897
40253
|
};
|
|
39898
40254
|
/**
|
|
39899
40255
|
* KDSApi - interface
|
|
@@ -39901,6 +40257,25 @@ export declare const KDSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
39901
40257
|
* @interface KDSApi
|
|
39902
40258
|
*/
|
|
39903
40259
|
export interface KDSApiInterface {
|
|
40260
|
+
/**
|
|
40261
|
+
* Written in kds-service in one transaction: every station is created, or none is. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
40262
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
40263
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
40264
|
+
* @param {*} [options] Override http request option.
|
|
40265
|
+
* @throws {RequiredError}
|
|
40266
|
+
* @memberof KDSApiInterface
|
|
40267
|
+
*/
|
|
40268
|
+
createKdsStations(createKdsStationsDto: CreateKdsStationsDto, options?: AxiosRequestConfig): AxiosPromise<Array<KdsStationDto>>;
|
|
40269
|
+
/**
|
|
40270
|
+
* kds-service soft-deletes the station: it receives no more tickets and leaves every list. 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.
|
|
40271
|
+
* @summary Delete a kitchen station
|
|
40272
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40273
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40274
|
+
* @param {*} [options] Override http request option.
|
|
40275
|
+
* @throws {RequiredError}
|
|
40276
|
+
* @memberof KDSApiInterface
|
|
40277
|
+
*/
|
|
40278
|
+
deleteKdsStation(stationId: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<KdsStationDto>;
|
|
39904
40279
|
/**
|
|
39905
40280
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
39906
40281
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -39956,6 +40331,25 @@ export interface KDSApiInterface {
|
|
|
39956
40331
|
* @memberof KDSApiInterface
|
|
39957
40332
|
*/
|
|
39958
40333
|
kdsRevertOrder(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsRevertOrderResponseDto>;
|
|
40334
|
+
/**
|
|
40335
|
+
* Read from kds-service: the venue\'s active stations, each with the menu categories it shows. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
40336
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
40337
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40338
|
+
* @param {*} [options] Override http request option.
|
|
40339
|
+
* @throws {RequiredError}
|
|
40340
|
+
* @memberof KDSApiInterface
|
|
40341
|
+
*/
|
|
40342
|
+
listKdsStations(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<KdsStationDto>>;
|
|
40343
|
+
/**
|
|
40344
|
+
* 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.
|
|
40345
|
+
* @summary Rename a kitchen station and replace its categories
|
|
40346
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40347
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
40348
|
+
* @param {*} [options] Override http request option.
|
|
40349
|
+
* @throws {RequiredError}
|
|
40350
|
+
* @memberof KDSApiInterface
|
|
40351
|
+
*/
|
|
40352
|
+
updateKdsStation(stationId: string, updateKdsStationDto: UpdateKdsStationDto, options?: AxiosRequestConfig): AxiosPromise<KdsStationDto>;
|
|
39959
40353
|
}
|
|
39960
40354
|
/**
|
|
39961
40355
|
* KDSApi - object-oriented interface
|
|
@@ -39964,6 +40358,25 @@ export interface KDSApiInterface {
|
|
|
39964
40358
|
* @extends {BaseAPI}
|
|
39965
40359
|
*/
|
|
39966
40360
|
export declare class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
40361
|
+
/**
|
|
40362
|
+
* Written in kds-service in one transaction: every station is created, or none is. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
40363
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
40364
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
40365
|
+
* @param {*} [options] Override http request option.
|
|
40366
|
+
* @throws {RequiredError}
|
|
40367
|
+
* @memberof KDSApi
|
|
40368
|
+
*/
|
|
40369
|
+
createKdsStations(createKdsStationsDto: CreateKdsStationsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsStationDto[], any, {}>>;
|
|
40370
|
+
/**
|
|
40371
|
+
* kds-service soft-deletes the station: it receives no more tickets and leaves every list. 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.
|
|
40372
|
+
* @summary Delete a kitchen station
|
|
40373
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40374
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40375
|
+
* @param {*} [options] Override http request option.
|
|
40376
|
+
* @throws {RequiredError}
|
|
40377
|
+
* @memberof KDSApi
|
|
40378
|
+
*/
|
|
40379
|
+
deleteKdsStation(stationId: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsStationDto, any, {}>>;
|
|
39967
40380
|
/**
|
|
39968
40381
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
39969
40382
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -40019,6 +40432,25 @@ export declare class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
|
40019
40432
|
* @memberof KDSApi
|
|
40020
40433
|
*/
|
|
40021
40434
|
kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsRevertOrderResponseDto, any, {}>>;
|
|
40435
|
+
/**
|
|
40436
|
+
* Read from kds-service: the venue\'s active stations, each with the menu categories it shows. It admits a signed-in ticket, whose venue must be on its account, or a Clerk API key; never the shared service key.
|
|
40437
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
40438
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
40439
|
+
* @param {*} [options] Override http request option.
|
|
40440
|
+
* @throws {RequiredError}
|
|
40441
|
+
* @memberof KDSApi
|
|
40442
|
+
*/
|
|
40443
|
+
listKdsStations(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsStationDto[], any, {}>>;
|
|
40444
|
+
/**
|
|
40445
|
+
* 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.
|
|
40446
|
+
* @summary Rename a kitchen station and replace its categories
|
|
40447
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
40448
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
40449
|
+
* @param {*} [options] Override http request option.
|
|
40450
|
+
* @throws {RequiredError}
|
|
40451
|
+
* @memberof KDSApi
|
|
40452
|
+
*/
|
|
40453
|
+
updateKdsStation(stationId: string, updateKdsStationDto: UpdateKdsStationDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsStationDto, any, {}>>;
|
|
40022
40454
|
}
|
|
40023
40455
|
/**
|
|
40024
40456
|
* KiosksApi - axios parameter creator
|
|
@@ -41379,7 +41811,7 @@ export declare const OpsApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
41379
41811
|
*/
|
|
41380
41812
|
devicesOfVenue: (venueId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41381
41813
|
/**
|
|
41382
|
-
*
|
|
41814
|
+
* Deletes the venue\'s active rows of the platform. The venue\'s cached providers are cleared after the commit. Uber Eats, Wolt and ResQ are disconnected through their onboarding (DELETE provider/onboarding/{channel}/{businessId}).
|
|
41383
41815
|
* @summary Disconnect a venue from Foodora or Bolt
|
|
41384
41816
|
* @param {number} venueId The Munchi venue id
|
|
41385
41817
|
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
@@ -41420,7 +41852,7 @@ export declare const OpsApiFp: (configuration?: Configuration) => {
|
|
|
41420
41852
|
*/
|
|
41421
41853
|
devicesOfVenue(venueId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueDevicesDto>>;
|
|
41422
41854
|
/**
|
|
41423
|
-
*
|
|
41855
|
+
* Deletes the venue\'s active rows of the platform. The venue\'s cached providers are cleared after the commit. Uber Eats, Wolt and ResQ are disconnected through their onboarding (DELETE provider/onboarding/{channel}/{businessId}).
|
|
41424
41856
|
* @summary Disconnect a venue from Foodora or Bolt
|
|
41425
41857
|
* @param {number} venueId The Munchi venue id
|
|
41426
41858
|
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
@@ -41461,7 +41893,7 @@ export declare const OpsApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
41461
41893
|
*/
|
|
41462
41894
|
devicesOfVenue(venueId: number, options?: any): AxiosPromise<VenueDevicesDto>;
|
|
41463
41895
|
/**
|
|
41464
|
-
*
|
|
41896
|
+
* Deletes the venue\'s active rows of the platform. The venue\'s cached providers are cleared after the commit. Uber Eats, Wolt and ResQ are disconnected through their onboarding (DELETE provider/onboarding/{channel}/{businessId}).
|
|
41465
41897
|
* @summary Disconnect a venue from Foodora or Bolt
|
|
41466
41898
|
* @param {number} venueId The Munchi venue id
|
|
41467
41899
|
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
@@ -41505,7 +41937,7 @@ export interface OpsApiInterface {
|
|
|
41505
41937
|
*/
|
|
41506
41938
|
devicesOfVenue(venueId: number, options?: AxiosRequestConfig): AxiosPromise<VenueDevicesDto>;
|
|
41507
41939
|
/**
|
|
41508
|
-
*
|
|
41940
|
+
* Deletes the venue\'s active rows of the platform. The venue\'s cached providers are cleared after the commit. Uber Eats, Wolt and ResQ are disconnected through their onboarding (DELETE provider/onboarding/{channel}/{businessId}).
|
|
41509
41941
|
* @summary Disconnect a venue from Foodora or Bolt
|
|
41510
41942
|
* @param {number} venueId The Munchi venue id
|
|
41511
41943
|
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
@@ -41552,7 +41984,7 @@ export declare class OpsApi extends BaseAPI implements OpsApiInterface {
|
|
|
41552
41984
|
*/
|
|
41553
41985
|
devicesOfVenue(venueId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueDevicesDto, any, {}>>;
|
|
41554
41986
|
/**
|
|
41555
|
-
*
|
|
41987
|
+
* Deletes the venue\'s active rows of the platform. The venue\'s cached providers are cleared after the commit. Uber Eats, Wolt and ResQ are disconnected through their onboarding (DELETE provider/onboarding/{channel}/{businessId}).
|
|
41556
41988
|
* @summary Disconnect a venue from Foodora or Bolt
|
|
41557
41989
|
* @param {number} venueId The Munchi venue id
|
|
41558
41990
|
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
@@ -45492,6 +45924,15 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
45492
45924
|
* @throws {RequiredError}
|
|
45493
45925
|
*/
|
|
45494
45926
|
updateProviderSettings: (businessId: number, updateProviderSettingsDto: UpdateProviderSettingsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45927
|
+
/**
|
|
45928
|
+
* Each entry changes one channel: only the fields it sends. Every row of the venue on the channel changes, active or not, except that isActive true on Wolt, WoltStorefront, UberEats, Foodora, Bolt or ResQ turns on only the channel\'s newest row; none is deleted. MunchiPos, MunchiKiosk and Storefront get a row when the venue has none (open, active, integrations ORDERS, VENUE and MENU, then the entry\'s changes). Wolt, WoltStorefront, UberEats, Foodora, Bolt and ResQ change only a row their own connection added. Whether a channel is open is not changed here. Every change commits together, or none does; the venue\'s cached providers are cleared after the commit.
|
|
45929
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
45930
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
45931
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
45932
|
+
* @param {*} [options] Override http request option.
|
|
45933
|
+
* @throws {RequiredError}
|
|
45934
|
+
*/
|
|
45935
|
+
updateVenueProviders: (businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45495
45936
|
};
|
|
45496
45937
|
/**
|
|
45497
45938
|
* ProviderApi - functional programming interface
|
|
@@ -45561,6 +46002,15 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
|
|
|
45561
46002
|
* @throws {RequiredError}
|
|
45562
46003
|
*/
|
|
45563
46004
|
updateProviderSettings(businessId: number, updateProviderSettingsDto: UpdateProviderSettingsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProviderSettingsDto>>;
|
|
46005
|
+
/**
|
|
46006
|
+
* Each entry changes one channel: only the fields it sends. Every row of the venue on the channel changes, active or not, except that isActive true on Wolt, WoltStorefront, UberEats, Foodora, Bolt or ResQ turns on only the channel\'s newest row; none is deleted. MunchiPos, MunchiKiosk and Storefront get a row when the venue has none (open, active, integrations ORDERS, VENUE and MENU, then the entry\'s changes). Wolt, WoltStorefront, UberEats, Foodora, Bolt and ResQ change only a row their own connection added. Whether a channel is open is not changed here. Every change commits together, or none does; the venue\'s cached providers are cleared after the commit.
|
|
46007
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
46008
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
46009
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
46010
|
+
* @param {*} [options] Override http request option.
|
|
46011
|
+
* @throws {RequiredError}
|
|
46012
|
+
*/
|
|
46013
|
+
updateVenueProviders(businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatedVenueProvidersDto>>;
|
|
45564
46014
|
};
|
|
45565
46015
|
/**
|
|
45566
46016
|
* ProviderApi - factory interface
|
|
@@ -45630,6 +46080,15 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
|
|
|
45630
46080
|
* @throws {RequiredError}
|
|
45631
46081
|
*/
|
|
45632
46082
|
updateProviderSettings(businessId: number, updateProviderSettingsDto: UpdateProviderSettingsDto, options?: any): AxiosPromise<UpdateProviderSettingsDto>;
|
|
46083
|
+
/**
|
|
46084
|
+
* Each entry changes one channel: only the fields it sends. Every row of the venue on the channel changes, active or not, except that isActive true on Wolt, WoltStorefront, UberEats, Foodora, Bolt or ResQ turns on only the channel\'s newest row; none is deleted. MunchiPos, MunchiKiosk and Storefront get a row when the venue has none (open, active, integrations ORDERS, VENUE and MENU, then the entry\'s changes). Wolt, WoltStorefront, UberEats, Foodora, Bolt and ResQ change only a row their own connection added. Whether a channel is open is not changed here. Every change commits together, or none does; the venue\'s cached providers are cleared after the commit.
|
|
46085
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
46086
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
46087
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
46088
|
+
* @param {*} [options] Override http request option.
|
|
46089
|
+
* @throws {RequiredError}
|
|
46090
|
+
*/
|
|
46091
|
+
updateVenueProviders(businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options?: any): AxiosPromise<UpdatedVenueProvidersDto>;
|
|
45633
46092
|
};
|
|
45634
46093
|
/**
|
|
45635
46094
|
* ProviderApi - interface
|
|
@@ -45707,6 +46166,16 @@ export interface ProviderApiInterface {
|
|
|
45707
46166
|
* @memberof ProviderApiInterface
|
|
45708
46167
|
*/
|
|
45709
46168
|
updateProviderSettings(businessId: number, updateProviderSettingsDto: UpdateProviderSettingsDto, options?: AxiosRequestConfig): AxiosPromise<UpdateProviderSettingsDto>;
|
|
46169
|
+
/**
|
|
46170
|
+
* Each entry changes one channel: only the fields it sends. Every row of the venue on the channel changes, active or not, except that isActive true on Wolt, WoltStorefront, UberEats, Foodora, Bolt or ResQ turns on only the channel\'s newest row; none is deleted. MunchiPos, MunchiKiosk and Storefront get a row when the venue has none (open, active, integrations ORDERS, VENUE and MENU, then the entry\'s changes). Wolt, WoltStorefront, UberEats, Foodora, Bolt and ResQ change only a row their own connection added. Whether a channel is open is not changed here. Every change commits together, or none does; the venue\'s cached providers are cleared after the commit.
|
|
46171
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
46172
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
46173
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
46174
|
+
* @param {*} [options] Override http request option.
|
|
46175
|
+
* @throws {RequiredError}
|
|
46176
|
+
* @memberof ProviderApiInterface
|
|
46177
|
+
*/
|
|
46178
|
+
updateVenueProviders(businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options?: AxiosRequestConfig): AxiosPromise<UpdatedVenueProvidersDto>;
|
|
45710
46179
|
}
|
|
45711
46180
|
/**
|
|
45712
46181
|
* ProviderApi - object-oriented interface
|
|
@@ -45785,6 +46254,16 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
|
|
|
45785
46254
|
* @memberof ProviderApi
|
|
45786
46255
|
*/
|
|
45787
46256
|
updateProviderSettings(businessId: number, updateProviderSettingsDto: UpdateProviderSettingsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProviderSettingsDto, any, {}>>;
|
|
46257
|
+
/**
|
|
46258
|
+
* Each entry changes one channel: only the fields it sends. Every row of the venue on the channel changes, active or not, except that isActive true on Wolt, WoltStorefront, UberEats, Foodora, Bolt or ResQ turns on only the channel\'s newest row; none is deleted. MunchiPos, MunchiKiosk and Storefront get a row when the venue has none (open, active, integrations ORDERS, VENUE and MENU, then the entry\'s changes). Wolt, WoltStorefront, UberEats, Foodora, Bolt and ResQ change only a row their own connection added. Whether a channel is open is not changed here. Every change commits together, or none does; the venue\'s cached providers are cleared after the commit.
|
|
46259
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
46260
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
46261
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
46262
|
+
* @param {*} [options] Override http request option.
|
|
46263
|
+
* @throws {RequiredError}
|
|
46264
|
+
* @memberof ProviderApi
|
|
46265
|
+
*/
|
|
46266
|
+
updateVenueProviders(businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatedVenueProvidersDto, any, {}>>;
|
|
45788
46267
|
}
|
|
45789
46268
|
/**
|
|
45790
46269
|
* ReceiptFooterApi - axios parameter creator
|