@munchi_oy/core 2.0.5 → 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 +985 -186
- 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 +1389 -188
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/generated/api.ts
CHANGED
|
@@ -2586,7 +2586,8 @@ export const ChannelEnum = {
|
|
|
2586
2586
|
Kiosk: 'Kiosk',
|
|
2587
2587
|
WoltStorefront: 'WoltStorefront',
|
|
2588
2588
|
Storefront: 'Storefront',
|
|
2589
|
-
MunchiPay: 'MunchiPay'
|
|
2589
|
+
MunchiPay: 'MunchiPay',
|
|
2590
|
+
ResQ: 'ResQ'
|
|
2590
2591
|
} as const;
|
|
2591
2592
|
|
|
2592
2593
|
export type ChannelEnum = typeof ChannelEnum[keyof typeof ChannelEnum];
|
|
@@ -3265,6 +3266,33 @@ export interface ConfirmPreorderDto {
|
|
|
3265
3266
|
}
|
|
3266
3267
|
|
|
3267
3268
|
|
|
3269
|
+
/**
|
|
3270
|
+
*
|
|
3271
|
+
* @export
|
|
3272
|
+
* @interface ConnectDeliveryPlatformDto
|
|
3273
|
+
*/
|
|
3274
|
+
export interface ConnectDeliveryPlatformDto {
|
|
3275
|
+
/**
|
|
3276
|
+
*
|
|
3277
|
+
* @type {DeliveryPlatformOpsConnect}
|
|
3278
|
+
* @memberof ConnectDeliveryPlatformDto
|
|
3279
|
+
*/
|
|
3280
|
+
'channel': DeliveryPlatformOpsConnect;
|
|
3281
|
+
/**
|
|
3282
|
+
* The store id the platform gave the venue, kept as the provider row\'s externalId: the platform\'s orders arrive under it. One store id belongs to one venue and one platform
|
|
3283
|
+
* @type {string}
|
|
3284
|
+
* @memberof ConnectDeliveryPlatformDto
|
|
3285
|
+
*/
|
|
3286
|
+
'externalId': string;
|
|
3287
|
+
/**
|
|
3288
|
+
* Whether the till accepts the platform\'s orders on its own. Absent: a new row starts without it, and a row already there keeps its own
|
|
3289
|
+
* @type {boolean}
|
|
3290
|
+
* @memberof ConnectDeliveryPlatformDto
|
|
3291
|
+
*/
|
|
3292
|
+
'autoAccept'?: boolean;
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
|
|
3268
3296
|
/**
|
|
3269
3297
|
*
|
|
3270
3298
|
* @export
|
|
@@ -3278,6 +3306,51 @@ export interface ConnectTerminalDto {
|
|
|
3278
3306
|
*/
|
|
3279
3307
|
'terminalHardwareId': string;
|
|
3280
3308
|
}
|
|
3309
|
+
/**
|
|
3310
|
+
*
|
|
3311
|
+
* @export
|
|
3312
|
+
* @interface ConnectedDeliveryPlatformDto
|
|
3313
|
+
*/
|
|
3314
|
+
export interface ConnectedDeliveryPlatformDto {
|
|
3315
|
+
/**
|
|
3316
|
+
* The Munchi venue id (orderingBusinessId)
|
|
3317
|
+
* @type {number}
|
|
3318
|
+
* @memberof ConnectedDeliveryPlatformDto
|
|
3319
|
+
*/
|
|
3320
|
+
'venueId': number;
|
|
3321
|
+
/**
|
|
3322
|
+
*
|
|
3323
|
+
* @type {DeliveryPlatformOpsConnect}
|
|
3324
|
+
* @memberof ConnectedDeliveryPlatformDto
|
|
3325
|
+
*/
|
|
3326
|
+
'channel': DeliveryPlatformOpsConnect;
|
|
3327
|
+
/**
|
|
3328
|
+
* The platform\'s store id, the row\'s externalId
|
|
3329
|
+
* @type {string}
|
|
3330
|
+
* @memberof ConnectedDeliveryPlatformDto
|
|
3331
|
+
*/
|
|
3332
|
+
'externalId': string;
|
|
3333
|
+
/**
|
|
3334
|
+
* Whether the row is active; always true once connected
|
|
3335
|
+
* @type {boolean}
|
|
3336
|
+
* @memberof ConnectedDeliveryPlatformDto
|
|
3337
|
+
*/
|
|
3338
|
+
'isActive': boolean;
|
|
3339
|
+
/**
|
|
3340
|
+
* Whether the till accepts the platform\'s orders on its own
|
|
3341
|
+
* @type {boolean}
|
|
3342
|
+
* @memberof ConnectedDeliveryPlatformDto
|
|
3343
|
+
*/
|
|
3344
|
+
'autoAccept': boolean;
|
|
3345
|
+
/**
|
|
3346
|
+
*
|
|
3347
|
+
* @type {DeliveryPlatformConnection}
|
|
3348
|
+
* @memberof ConnectedDeliveryPlatformDto
|
|
3349
|
+
*/
|
|
3350
|
+
'connection': DeliveryPlatformConnection;
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
|
|
3281
3354
|
/**
|
|
3282
3355
|
*
|
|
3283
3356
|
* @export
|
|
@@ -3529,6 +3602,25 @@ export interface CreateInvoiceCompanyDto {
|
|
|
3529
3602
|
*/
|
|
3530
3603
|
'address'?: string;
|
|
3531
3604
|
}
|
|
3605
|
+
/**
|
|
3606
|
+
*
|
|
3607
|
+
* @export
|
|
3608
|
+
* @interface CreateKdsStationsDto
|
|
3609
|
+
*/
|
|
3610
|
+
export interface CreateKdsStationsDto {
|
|
3611
|
+
/**
|
|
3612
|
+
* The Munchi venue id (orderingBusinessId) the stations are created at
|
|
3613
|
+
* @type {number}
|
|
3614
|
+
* @memberof CreateKdsStationsDto
|
|
3615
|
+
*/
|
|
3616
|
+
'businessId': number;
|
|
3617
|
+
/**
|
|
3618
|
+
* The stations to create, at least one; all are created, or none
|
|
3619
|
+
* @type {Array<NewKdsStationDto>}
|
|
3620
|
+
* @memberof CreateKdsStationsDto
|
|
3621
|
+
*/
|
|
3622
|
+
'stations': Array<NewKdsStationDto>;
|
|
3623
|
+
}
|
|
3532
3624
|
/**
|
|
3533
3625
|
*
|
|
3534
3626
|
* @export
|
|
@@ -5554,6 +5646,35 @@ export const DeliveryIntentStatus = {
|
|
|
5554
5646
|
export type DeliveryIntentStatus = typeof DeliveryIntentStatus[keyof typeof DeliveryIntentStatus];
|
|
5555
5647
|
|
|
5556
5648
|
|
|
5649
|
+
/**
|
|
5650
|
+
*
|
|
5651
|
+
* @export
|
|
5652
|
+
* @enum {string}
|
|
5653
|
+
*/
|
|
5654
|
+
|
|
5655
|
+
export const DeliveryPlatformConnection = {
|
|
5656
|
+
Created: 'created',
|
|
5657
|
+
Reactivated: 'reactivated',
|
|
5658
|
+
AlreadyActive: 'already_active'
|
|
5659
|
+
} as const;
|
|
5660
|
+
|
|
5661
|
+
export type DeliveryPlatformConnection = typeof DeliveryPlatformConnection[keyof typeof DeliveryPlatformConnection];
|
|
5662
|
+
|
|
5663
|
+
|
|
5664
|
+
/**
|
|
5665
|
+
*
|
|
5666
|
+
* @export
|
|
5667
|
+
* @enum {string}
|
|
5668
|
+
*/
|
|
5669
|
+
|
|
5670
|
+
export const DeliveryPlatformOpsConnect = {
|
|
5671
|
+
Foodora: 'Foodora',
|
|
5672
|
+
Bolt: 'Bolt'
|
|
5673
|
+
} as const;
|
|
5674
|
+
|
|
5675
|
+
export type DeliveryPlatformOpsConnect = typeof DeliveryPlatformOpsConnect[keyof typeof DeliveryPlatformOpsConnect];
|
|
5676
|
+
|
|
5677
|
+
|
|
5557
5678
|
/**
|
|
5558
5679
|
*
|
|
5559
5680
|
* @export
|
|
@@ -5757,6 +5878,33 @@ export interface DiningTableResponseDto {
|
|
|
5757
5878
|
*/
|
|
5758
5879
|
export type DisconnectOnboarding200Response = DisconnectedUberEatsStoreDto | DisconnectedWoltVenueDto;
|
|
5759
5880
|
|
|
5881
|
+
/**
|
|
5882
|
+
*
|
|
5883
|
+
* @export
|
|
5884
|
+
* @interface DisconnectedDeliveryPlatformDto
|
|
5885
|
+
*/
|
|
5886
|
+
export interface DisconnectedDeliveryPlatformDto {
|
|
5887
|
+
/**
|
|
5888
|
+
* The Munchi venue id (orderingBusinessId)
|
|
5889
|
+
* @type {number}
|
|
5890
|
+
* @memberof DisconnectedDeliveryPlatformDto
|
|
5891
|
+
*/
|
|
5892
|
+
'venueId': number;
|
|
5893
|
+
/**
|
|
5894
|
+
*
|
|
5895
|
+
* @type {DeliveryPlatformOpsConnect}
|
|
5896
|
+
* @memberof DisconnectedDeliveryPlatformDto
|
|
5897
|
+
*/
|
|
5898
|
+
'channel': DeliveryPlatformOpsConnect;
|
|
5899
|
+
/**
|
|
5900
|
+
* The store ids of the rows deleted: one, unless rows were written by hand under several
|
|
5901
|
+
* @type {Array<string>}
|
|
5902
|
+
* @memberof DisconnectedDeliveryPlatformDto
|
|
5903
|
+
*/
|
|
5904
|
+
'externalIds': Array<string>;
|
|
5905
|
+
}
|
|
5906
|
+
|
|
5907
|
+
|
|
5760
5908
|
/**
|
|
5761
5909
|
*
|
|
5762
5910
|
* @export
|
|
@@ -10505,6 +10653,45 @@ export interface KdsRevertOrderResponseDtoOrder {
|
|
|
10505
10653
|
}
|
|
10506
10654
|
|
|
10507
10655
|
|
|
10656
|
+
/**
|
|
10657
|
+
*
|
|
10658
|
+
* @export
|
|
10659
|
+
* @interface KdsStationDto
|
|
10660
|
+
*/
|
|
10661
|
+
export interface KdsStationDto {
|
|
10662
|
+
/**
|
|
10663
|
+
* The station\'s id in kds-service (its KDS profile id)
|
|
10664
|
+
* @type {string}
|
|
10665
|
+
* @memberof KdsStationDto
|
|
10666
|
+
*/
|
|
10667
|
+
'id': string;
|
|
10668
|
+
/**
|
|
10669
|
+
* The venue the station belongs to (orderingBusinessId)
|
|
10670
|
+
* @type {number}
|
|
10671
|
+
* @memberof KdsStationDto
|
|
10672
|
+
*/
|
|
10673
|
+
'businessId': number;
|
|
10674
|
+
/**
|
|
10675
|
+
* The station\'s name, as the venue set it
|
|
10676
|
+
* @type {string}
|
|
10677
|
+
* @memberof KdsStationDto
|
|
10678
|
+
*/
|
|
10679
|
+
'name': string;
|
|
10680
|
+
/**
|
|
10681
|
+
*
|
|
10682
|
+
* @type {SystemProfileType}
|
|
10683
|
+
* @memberof KdsStationDto
|
|
10684
|
+
*/
|
|
10685
|
+
'systemType': SystemProfileType | null;
|
|
10686
|
+
/**
|
|
10687
|
+
* 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
|
|
10688
|
+
* @type {Array<string>}
|
|
10689
|
+
* @memberof KdsStationDto
|
|
10690
|
+
*/
|
|
10691
|
+
'categoryIds': Array<string>;
|
|
10692
|
+
}
|
|
10693
|
+
|
|
10694
|
+
|
|
10508
10695
|
/**
|
|
10509
10696
|
*
|
|
10510
10697
|
* @export
|
|
@@ -13318,6 +13505,25 @@ export interface NetsTransactionSuccessResponseDto {
|
|
|
13318
13505
|
*/
|
|
13319
13506
|
'result': Array<NetsTransactionResultDto>;
|
|
13320
13507
|
}
|
|
13508
|
+
/**
|
|
13509
|
+
*
|
|
13510
|
+
* @export
|
|
13511
|
+
* @interface NewKdsStationDto
|
|
13512
|
+
*/
|
|
13513
|
+
export interface NewKdsStationDto {
|
|
13514
|
+
/**
|
|
13515
|
+
* The new station\'s name
|
|
13516
|
+
* @type {string}
|
|
13517
|
+
* @memberof NewKdsStationDto
|
|
13518
|
+
*/
|
|
13519
|
+
'name': string;
|
|
13520
|
+
/**
|
|
13521
|
+
* 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
|
|
13522
|
+
* @type {Array<string>}
|
|
13523
|
+
* @memberof NewKdsStationDto
|
|
13524
|
+
*/
|
|
13525
|
+
'categoryIds': Array<string>;
|
|
13526
|
+
}
|
|
13321
13527
|
/**
|
|
13322
13528
|
*
|
|
13323
13529
|
* @export
|
|
@@ -17719,6 +17925,19 @@ export interface PaymentSessionAnalyticsResponseDtoResolvedRange {
|
|
|
17719
17925
|
*/
|
|
17720
17926
|
'end': string;
|
|
17721
17927
|
}
|
|
17928
|
+
/**
|
|
17929
|
+
*
|
|
17930
|
+
* @export
|
|
17931
|
+
* @interface PaymentSessionCurrencyDto
|
|
17932
|
+
*/
|
|
17933
|
+
export interface PaymentSessionCurrencyDto {
|
|
17934
|
+
/**
|
|
17935
|
+
* The ISO 4217 code of the currency the payment session was taken in, as stored on the session (`PaymentSession.currency`)
|
|
17936
|
+
* @type {string}
|
|
17937
|
+
* @memberof PaymentSessionCurrencyDto
|
|
17938
|
+
*/
|
|
17939
|
+
'currency': string;
|
|
17940
|
+
}
|
|
17722
17941
|
/**
|
|
17723
17942
|
*
|
|
17724
17943
|
* @export
|
|
@@ -22496,7 +22715,8 @@ export const ProviderEnum = {
|
|
|
22496
22715
|
Kiosk: 'Kiosk',
|
|
22497
22716
|
WoltStorefront: 'WoltStorefront',
|
|
22498
22717
|
Storefront: 'Storefront',
|
|
22499
|
-
MunchiPay: 'MunchiPay'
|
|
22718
|
+
MunchiPay: 'MunchiPay',
|
|
22719
|
+
ResQ: 'ResQ'
|
|
22500
22720
|
} as const;
|
|
22501
22721
|
|
|
22502
22722
|
export type ProviderEnum = typeof ProviderEnum[keyof typeof ProviderEnum];
|
|
@@ -24228,6 +24448,12 @@ export interface ReservationAvailabilitySlotDto {
|
|
|
24228
24448
|
* @memberof ReservationAvailabilitySlotDto
|
|
24229
24449
|
*/
|
|
24230
24450
|
'availableTables': number;
|
|
24451
|
+
/**
|
|
24452
|
+
* 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
|
|
24453
|
+
* @type {number}
|
|
24454
|
+
* @memberof ReservationAvailabilitySlotDto
|
|
24455
|
+
*/
|
|
24456
|
+
'durationMins'?: number;
|
|
24231
24457
|
}
|
|
24232
24458
|
/**
|
|
24233
24459
|
*
|
|
@@ -30852,6 +31078,31 @@ export interface UpdateInvoiceCompanyDto {
|
|
|
30852
31078
|
*/
|
|
30853
31079
|
'address'?: string;
|
|
30854
31080
|
}
|
|
31081
|
+
/**
|
|
31082
|
+
*
|
|
31083
|
+
* @export
|
|
31084
|
+
* @interface UpdateKdsStationDto
|
|
31085
|
+
*/
|
|
31086
|
+
export interface UpdateKdsStationDto {
|
|
31087
|
+
/**
|
|
31088
|
+
* The Munchi venue id (orderingBusinessId) the station belongs to
|
|
31089
|
+
* @type {number}
|
|
31090
|
+
* @memberof UpdateKdsStationDto
|
|
31091
|
+
*/
|
|
31092
|
+
'businessId': number;
|
|
31093
|
+
/**
|
|
31094
|
+
* The station\'s new name; absent keeps its name
|
|
31095
|
+
* @type {string}
|
|
31096
|
+
* @memberof UpdateKdsStationDto
|
|
31097
|
+
*/
|
|
31098
|
+
'name'?: string;
|
|
31099
|
+
/**
|
|
31100
|
+
* 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
|
|
31101
|
+
* @type {Array<string>}
|
|
31102
|
+
* @memberof UpdateKdsStationDto
|
|
31103
|
+
*/
|
|
31104
|
+
'categoryIds': Array<string>;
|
|
31105
|
+
}
|
|
30855
31106
|
/**
|
|
30856
31107
|
*
|
|
30857
31108
|
* @export
|
|
@@ -31095,7 +31346,7 @@ export interface UpdateReservationPolicyDto {
|
|
|
31095
31346
|
*/
|
|
31096
31347
|
'maxHorizonDays'?: number;
|
|
31097
31348
|
/**
|
|
31098
|
-
* The last seating:
|
|
31349
|
+
* 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
|
|
31099
31350
|
* @type {number}
|
|
31100
31351
|
* @memberof UpdateReservationPolicyDto
|
|
31101
31352
|
*/
|
|
@@ -31207,6 +31458,32 @@ export interface UpdateTableStatusDto {
|
|
|
31207
31458
|
}
|
|
31208
31459
|
|
|
31209
31460
|
|
|
31461
|
+
/**
|
|
31462
|
+
*
|
|
31463
|
+
* @export
|
|
31464
|
+
* @interface UpdateVenueProvidersDto
|
|
31465
|
+
*/
|
|
31466
|
+
export interface UpdateVenueProvidersDto {
|
|
31467
|
+
/**
|
|
31468
|
+
* 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
|
|
31469
|
+
* @type {Array<VenueProviderChangeDto>}
|
|
31470
|
+
* @memberof UpdateVenueProvidersDto
|
|
31471
|
+
*/
|
|
31472
|
+
'providers': Array<VenueProviderChangeDto>;
|
|
31473
|
+
}
|
|
31474
|
+
/**
|
|
31475
|
+
*
|
|
31476
|
+
* @export
|
|
31477
|
+
* @interface UpdatedVenueProvidersDto
|
|
31478
|
+
*/
|
|
31479
|
+
export interface UpdatedVenueProvidersDto {
|
|
31480
|
+
/**
|
|
31481
|
+
* One entry per channel sent, in the order sent
|
|
31482
|
+
* @type {Array<VenueProviderOutcomeDto>}
|
|
31483
|
+
* @memberof UpdatedVenueProvidersDto
|
|
31484
|
+
*/
|
|
31485
|
+
'providers': Array<VenueProviderOutcomeDto>;
|
|
31486
|
+
}
|
|
31210
31487
|
/**
|
|
31211
31488
|
*
|
|
31212
31489
|
* @export
|
|
@@ -32204,6 +32481,21 @@ export interface VendureSellerUpsertDto {
|
|
|
32204
32481
|
*/
|
|
32205
32482
|
'schedule'?: Array<object>;
|
|
32206
32483
|
}
|
|
32484
|
+
/**
|
|
32485
|
+
*
|
|
32486
|
+
* @export
|
|
32487
|
+
* @interface VenueCurrencyDto
|
|
32488
|
+
*/
|
|
32489
|
+
export interface VenueCurrencyDto {
|
|
32490
|
+
/**
|
|
32491
|
+
*
|
|
32492
|
+
* @type {CurrencyCode}
|
|
32493
|
+
* @memberof VenueCurrencyDto
|
|
32494
|
+
*/
|
|
32495
|
+
'currency': CurrencyCode;
|
|
32496
|
+
}
|
|
32497
|
+
|
|
32498
|
+
|
|
32207
32499
|
/**
|
|
32208
32500
|
*
|
|
32209
32501
|
* @export
|
|
@@ -32297,6 +32589,136 @@ export interface VenueListEntryDto {
|
|
|
32297
32589
|
*/
|
|
32298
32590
|
'businessName': string;
|
|
32299
32591
|
}
|
|
32592
|
+
/**
|
|
32593
|
+
*
|
|
32594
|
+
* @export
|
|
32595
|
+
* @interface VenueProviderChangeDto
|
|
32596
|
+
*/
|
|
32597
|
+
export interface VenueProviderChangeDto {
|
|
32598
|
+
/**
|
|
32599
|
+
*
|
|
32600
|
+
* @type {ProviderEnum}
|
|
32601
|
+
* @memberof VenueProviderChangeDto
|
|
32602
|
+
*/
|
|
32603
|
+
'channel': ProviderEnum;
|
|
32604
|
+
/**
|
|
32605
|
+
*
|
|
32606
|
+
* @type {VenueProviderChangeDtoIntegrations}
|
|
32607
|
+
* @memberof VenueProviderChangeDto
|
|
32608
|
+
*/
|
|
32609
|
+
'integrations'?: VenueProviderChangeDtoIntegrations;
|
|
32610
|
+
/**
|
|
32611
|
+
* false turns the channel off at the venue (its rows stay, never deleted); true turns it on. Absent: left as it is
|
|
32612
|
+
* @type {boolean}
|
|
32613
|
+
* @memberof VenueProviderChangeDto
|
|
32614
|
+
*/
|
|
32615
|
+
'isActive'?: boolean;
|
|
32616
|
+
/**
|
|
32617
|
+
* Whether the channel\'s orders are accepted without the till. Absent: left as it is
|
|
32618
|
+
* @type {boolean}
|
|
32619
|
+
* @memberof VenueProviderChangeDto
|
|
32620
|
+
*/
|
|
32621
|
+
'autoAccept'?: boolean;
|
|
32622
|
+
}
|
|
32623
|
+
|
|
32624
|
+
|
|
32625
|
+
/**
|
|
32626
|
+
* 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
|
|
32627
|
+
* @export
|
|
32628
|
+
* @interface VenueProviderChangeDtoIntegrations
|
|
32629
|
+
*/
|
|
32630
|
+
export interface VenueProviderChangeDtoIntegrations {
|
|
32631
|
+
/**
|
|
32632
|
+
*
|
|
32633
|
+
* @type {boolean}
|
|
32634
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
32635
|
+
*/
|
|
32636
|
+
'ORDERS'?: boolean;
|
|
32637
|
+
/**
|
|
32638
|
+
*
|
|
32639
|
+
* @type {boolean}
|
|
32640
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
32641
|
+
*/
|
|
32642
|
+
'MENU'?: boolean;
|
|
32643
|
+
/**
|
|
32644
|
+
*
|
|
32645
|
+
* @type {boolean}
|
|
32646
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
32647
|
+
*/
|
|
32648
|
+
'VENUE'?: boolean;
|
|
32649
|
+
/**
|
|
32650
|
+
*
|
|
32651
|
+
* @type {boolean}
|
|
32652
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
32653
|
+
*/
|
|
32654
|
+
'KDS'?: boolean;
|
|
32655
|
+
/**
|
|
32656
|
+
*
|
|
32657
|
+
* @type {boolean}
|
|
32658
|
+
* @memberof VenueProviderChangeDtoIntegrations
|
|
32659
|
+
*/
|
|
32660
|
+
'AYCE'?: boolean;
|
|
32661
|
+
}
|
|
32662
|
+
/**
|
|
32663
|
+
*
|
|
32664
|
+
* @export
|
|
32665
|
+
* @enum {string}
|
|
32666
|
+
*/
|
|
32667
|
+
|
|
32668
|
+
export const VenueProviderOutcome = {
|
|
32669
|
+
Created: 'created',
|
|
32670
|
+
Updated: 'updated',
|
|
32671
|
+
Unchanged: 'unchanged'
|
|
32672
|
+
} as const;
|
|
32673
|
+
|
|
32674
|
+
export type VenueProviderOutcome = typeof VenueProviderOutcome[keyof typeof VenueProviderOutcome];
|
|
32675
|
+
|
|
32676
|
+
|
|
32677
|
+
/**
|
|
32678
|
+
*
|
|
32679
|
+
* @export
|
|
32680
|
+
* @interface VenueProviderOutcomeDto
|
|
32681
|
+
*/
|
|
32682
|
+
export interface VenueProviderOutcomeDto {
|
|
32683
|
+
/**
|
|
32684
|
+
*
|
|
32685
|
+
* @type {ProviderEnum}
|
|
32686
|
+
* @memberof VenueProviderOutcomeDto
|
|
32687
|
+
*/
|
|
32688
|
+
'channel': ProviderEnum;
|
|
32689
|
+
/**
|
|
32690
|
+
*
|
|
32691
|
+
* @type {VenueProviderOutcome}
|
|
32692
|
+
* @memberof VenueProviderOutcomeDto
|
|
32693
|
+
*/
|
|
32694
|
+
'outcome': VenueProviderOutcome;
|
|
32695
|
+
/**
|
|
32696
|
+
* How many of the venue\'s rows on the channel changed or were added; a venue may have several rows on one channel
|
|
32697
|
+
* @type {number}
|
|
32698
|
+
* @memberof VenueProviderOutcomeDto
|
|
32699
|
+
*/
|
|
32700
|
+
'rowsChanged': number;
|
|
32701
|
+
/**
|
|
32702
|
+
* Whether the channel is on, as its row reads after the change: the first active row, else the first row, by store id
|
|
32703
|
+
* @type {boolean}
|
|
32704
|
+
* @memberof VenueProviderOutcomeDto
|
|
32705
|
+
*/
|
|
32706
|
+
'isActive': boolean;
|
|
32707
|
+
/**
|
|
32708
|
+
* Whether the channel\'s orders are accepted without the till, as the same row reads after the change
|
|
32709
|
+
* @type {boolean}
|
|
32710
|
+
* @memberof VenueProviderOutcomeDto
|
|
32711
|
+
*/
|
|
32712
|
+
'autoAccept': boolean;
|
|
32713
|
+
/**
|
|
32714
|
+
* The integrations the same row takes after the change
|
|
32715
|
+
* @type {Array<IntegrationType>}
|
|
32716
|
+
* @memberof VenueProviderOutcomeDto
|
|
32717
|
+
*/
|
|
32718
|
+
'integrations': Array<IntegrationType>;
|
|
32719
|
+
}
|
|
32720
|
+
|
|
32721
|
+
|
|
32300
32722
|
/**
|
|
32301
32723
|
*
|
|
32302
32724
|
* @export
|
|
@@ -36357,6 +36779,44 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
36357
36779
|
|
|
36358
36780
|
|
|
36359
36781
|
|
|
36782
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36783
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36784
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36785
|
+
|
|
36786
|
+
return {
|
|
36787
|
+
url: toPathString(localVarUrlObj),
|
|
36788
|
+
options: localVarRequestOptions,
|
|
36789
|
+
};
|
|
36790
|
+
},
|
|
36791
|
+
/**
|
|
36792
|
+
* The venue\'s own currency (Business.currency), kept in the venue\'s config hash and cleared by every writer of it, so an amount can be named in it before it is sent. A signed-in ticket and a partner key reach only their own venues. Never the shared key (R27).
|
|
36793
|
+
* @summary Get the currency the venue sells in
|
|
36794
|
+
* @param {number} businessId The venue\'s business id (orderingBusinessId)
|
|
36795
|
+
* @param {*} [options] Override http request option.
|
|
36796
|
+
* @throws {RequiredError}
|
|
36797
|
+
*/
|
|
36798
|
+
getVenueCurrency: async (businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36799
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
36800
|
+
assertParamExists('getVenueCurrency', 'businessId', businessId)
|
|
36801
|
+
const localVarPath = `/api/v1/business/{businessId}/currency`
|
|
36802
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
36803
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36804
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36805
|
+
let baseOptions;
|
|
36806
|
+
if (configuration) {
|
|
36807
|
+
baseOptions = configuration.baseOptions;
|
|
36808
|
+
}
|
|
36809
|
+
|
|
36810
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36811
|
+
const localVarHeaderParameter = {} as any;
|
|
36812
|
+
const localVarQueryParameter = {} as any;
|
|
36813
|
+
|
|
36814
|
+
// authentication JWT-auth required
|
|
36815
|
+
// http bearer authentication required
|
|
36816
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36817
|
+
|
|
36818
|
+
|
|
36819
|
+
|
|
36360
36820
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36361
36821
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36362
36822
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -36629,6 +37089,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
36629
37089
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSingleBusinessProviderStatus(businessId, provider, externalId, options);
|
|
36630
37090
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36631
37091
|
},
|
|
37092
|
+
/**
|
|
37093
|
+
* The venue\'s own currency (Business.currency), kept in the venue\'s config hash and cleared by every writer of it, so an amount can be named in it before it is sent. A signed-in ticket and a partner key reach only their own venues. Never the shared key (R27).
|
|
37094
|
+
* @summary Get the currency the venue sells in
|
|
37095
|
+
* @param {number} businessId The venue\'s business id (orderingBusinessId)
|
|
37096
|
+
* @param {*} [options] Override http request option.
|
|
37097
|
+
* @throws {RequiredError}
|
|
37098
|
+
*/
|
|
37099
|
+
async getVenueCurrency(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueCurrencyDto>> {
|
|
37100
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVenueCurrency(businessId, options);
|
|
37101
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37102
|
+
},
|
|
36632
37103
|
/**
|
|
36633
37104
|
* OFFLINE closes the channel for duration minutes and schedules its reopening (a Cloud Task); ONLINE opens it and drops the task. The channel\'s own service is told, except the storefront, whose schedule is snoozed or restored instead. Opening MunchiOnline opens MunchiKiosk too.
|
|
36634
37105
|
* @summary Open or close one of the venue\'s sales channels
|
|
@@ -36814,6 +37285,16 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
36814
37285
|
getSingleBusinessProviderStatus(businessId: string, provider: ProviderEnum, externalId: string, options?: any): AxiosPromise<SingleProviderStatusResponseDto> {
|
|
36815
37286
|
return localVarFp.getSingleBusinessProviderStatus(businessId, provider, externalId, options).then((request) => request(axios, basePath));
|
|
36816
37287
|
},
|
|
37288
|
+
/**
|
|
37289
|
+
* The venue\'s own currency (Business.currency), kept in the venue\'s config hash and cleared by every writer of it, so an amount can be named in it before it is sent. A signed-in ticket and a partner key reach only their own venues. Never the shared key (R27).
|
|
37290
|
+
* @summary Get the currency the venue sells in
|
|
37291
|
+
* @param {number} businessId The venue\'s business id (orderingBusinessId)
|
|
37292
|
+
* @param {*} [options] Override http request option.
|
|
37293
|
+
* @throws {RequiredError}
|
|
37294
|
+
*/
|
|
37295
|
+
getVenueCurrency(businessId: number, options?: any): AxiosPromise<VenueCurrencyDto> {
|
|
37296
|
+
return localVarFp.getVenueCurrency(businessId, options).then((request) => request(axios, basePath));
|
|
37297
|
+
},
|
|
36817
37298
|
/**
|
|
36818
37299
|
* OFFLINE closes the channel for duration minutes and schedules its reopening (a Cloud Task); ONLINE opens it and drops the task. The channel\'s own service is told, except the storefront, whose schedule is snoozed or restored instead. Opening MunchiOnline opens MunchiKiosk too.
|
|
36819
37300
|
* @summary Open or close one of the venue\'s sales channels
|
|
@@ -36996,6 +37477,16 @@ export interface BusinessApiInterface {
|
|
|
36996
37477
|
*/
|
|
36997
37478
|
getSingleBusinessProviderStatus(businessId: string, provider: ProviderEnum, externalId: string, options?: AxiosRequestConfig): AxiosPromise<SingleProviderStatusResponseDto>;
|
|
36998
37479
|
|
|
37480
|
+
/**
|
|
37481
|
+
* The venue\'s own currency (Business.currency), kept in the venue\'s config hash and cleared by every writer of it, so an amount can be named in it before it is sent. A signed-in ticket and a partner key reach only their own venues. Never the shared key (R27).
|
|
37482
|
+
* @summary Get the currency the venue sells in
|
|
37483
|
+
* @param {number} businessId The venue\'s business id (orderingBusinessId)
|
|
37484
|
+
* @param {*} [options] Override http request option.
|
|
37485
|
+
* @throws {RequiredError}
|
|
37486
|
+
* @memberof BusinessApiInterface
|
|
37487
|
+
*/
|
|
37488
|
+
getVenueCurrency(businessId: number, options?: AxiosRequestConfig): AxiosPromise<VenueCurrencyDto>;
|
|
37489
|
+
|
|
36999
37490
|
/**
|
|
37000
37491
|
* OFFLINE closes the channel for duration minutes and schedules its reopening (a Cloud Task); ONLINE opens it and drops the task. The channel\'s own service is told, except the storefront, whose schedule is snoozed or restored instead. Opening MunchiOnline opens MunchiKiosk too.
|
|
37001
37492
|
* @summary Open or close one of the venue\'s sales channels
|
|
@@ -37206,6 +37697,18 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
37206
37697
|
return BusinessApiFp(this.configuration).getSingleBusinessProviderStatus(businessId, provider, externalId, options).then((request) => request(this.axios, this.basePath));
|
|
37207
37698
|
}
|
|
37208
37699
|
|
|
37700
|
+
/**
|
|
37701
|
+
* The venue\'s own currency (Business.currency), kept in the venue\'s config hash and cleared by every writer of it, so an amount can be named in it before it is sent. A signed-in ticket and a partner key reach only their own venues. Never the shared key (R27).
|
|
37702
|
+
* @summary Get the currency the venue sells in
|
|
37703
|
+
* @param {number} businessId The venue\'s business id (orderingBusinessId)
|
|
37704
|
+
* @param {*} [options] Override http request option.
|
|
37705
|
+
* @throws {RequiredError}
|
|
37706
|
+
* @memberof BusinessApi
|
|
37707
|
+
*/
|
|
37708
|
+
public getVenueCurrency(businessId: number, options?: AxiosRequestConfig) {
|
|
37709
|
+
return BusinessApiFp(this.configuration).getVenueCurrency(businessId, options).then((request) => request(this.axios, this.basePath));
|
|
37710
|
+
}
|
|
37711
|
+
|
|
37209
37712
|
/**
|
|
37210
37713
|
* OFFLINE closes the channel for duration minutes and schedules its reopening (a Cloud Task); ONLINE opens it and drops the task. The channel\'s own service is told, except the storefront, whose schedule is snoozed or restored instead. Opening MunchiOnline opens MunchiKiosk too.
|
|
37211
37714
|
* @summary Open or close one of the venue\'s sales channels
|
|
@@ -37619,11 +38122,11 @@ export const CashManagementApiAxiosParamCreator = function (configuration?: Conf
|
|
|
37619
38122
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
37620
38123
|
* @param {string} sessionId The cash session\'s id
|
|
37621
38124
|
* @param {SendCashReportDto} sendCashReportDto
|
|
37622
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
38125
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
37623
38126
|
* @param {*} [options] Override http request option.
|
|
37624
38127
|
* @throws {RequiredError}
|
|
37625
38128
|
*/
|
|
37626
|
-
sendSessionReport: async (businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38129
|
+
sendSessionReport: async (businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37627
38130
|
// verify required parameter 'businessId' is not null or undefined
|
|
37628
38131
|
assertParamExists('sendSessionReport', 'businessId', businessId)
|
|
37629
38132
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -37746,11 +38249,11 @@ export const CashManagementApiFp = function(configuration?: Configuration) {
|
|
|
37746
38249
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
37747
38250
|
* @param {string} sessionId The cash session\'s id
|
|
37748
38251
|
* @param {SendCashReportDto} sendCashReportDto
|
|
37749
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
38252
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
37750
38253
|
* @param {*} [options] Override http request option.
|
|
37751
38254
|
* @throws {RequiredError}
|
|
37752
38255
|
*/
|
|
37753
|
-
async sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashReportSentDto>> {
|
|
38256
|
+
async sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashReportSentDto>> {
|
|
37754
38257
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sendSessionReport(businessId, sessionId, sendCashReportDto, xAppX, options);
|
|
37755
38258
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37756
38259
|
},
|
|
@@ -37829,11 +38332,11 @@ export const CashManagementApiFactory = function (configuration?: Configuration,
|
|
|
37829
38332
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
37830
38333
|
* @param {string} sessionId The cash session\'s id
|
|
37831
38334
|
* @param {SendCashReportDto} sendCashReportDto
|
|
37832
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
38335
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
37833
38336
|
* @param {*} [options] Override http request option.
|
|
37834
38337
|
* @throws {RequiredError}
|
|
37835
38338
|
*/
|
|
37836
|
-
sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: any): AxiosPromise<CashReportSentDto> {
|
|
38339
|
+
sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<CashReportSentDto> {
|
|
37837
38340
|
return localVarFp.sendSessionReport(businessId, sessionId, sendCashReportDto, xAppX, options).then((request) => request(axios, basePath));
|
|
37838
38341
|
},
|
|
37839
38342
|
};
|
|
@@ -37910,12 +38413,12 @@ export interface CashManagementApiInterface {
|
|
|
37910
38413
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
37911
38414
|
* @param {string} sessionId The cash session\'s id
|
|
37912
38415
|
* @param {SendCashReportDto} sendCashReportDto
|
|
37913
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
38416
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
37914
38417
|
* @param {*} [options] Override http request option.
|
|
37915
38418
|
* @throws {RequiredError}
|
|
37916
38419
|
* @memberof CashManagementApiInterface
|
|
37917
38420
|
*/
|
|
37918
|
-
sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<CashReportSentDto>;
|
|
38421
|
+
sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<CashReportSentDto>;
|
|
37919
38422
|
|
|
37920
38423
|
}
|
|
37921
38424
|
|
|
@@ -38001,12 +38504,12 @@ export class CashManagementApi extends BaseAPI implements CashManagementApiInter
|
|
|
38001
38504
|
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text
|
|
38002
38505
|
* @param {string} sessionId The cash session\'s id
|
|
38003
38506
|
* @param {SendCashReportDto} sendCashReportDto
|
|
38004
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
38507
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
|
|
38005
38508
|
* @param {*} [options] Override http request option.
|
|
38006
38509
|
* @throws {RequiredError}
|
|
38007
38510
|
* @memberof CashManagementApi
|
|
38008
38511
|
*/
|
|
38009
|
-
public sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig) {
|
|
38512
|
+
public sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
|
|
38010
38513
|
return CashManagementApiFp(this.configuration).sendSessionReport(businessId, sessionId, sendCashReportDto, xAppX, options).then((request) => request(this.axios, this.basePath));
|
|
38011
38514
|
}
|
|
38012
38515
|
}
|
|
@@ -38668,12 +39171,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
38668
39171
|
* The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
|
|
38669
39172
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
38670
39173
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
38671
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39174
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
38672
39175
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
38673
39176
|
* @param {*} [options] Override http request option.
|
|
38674
39177
|
* @throws {RequiredError}
|
|
38675
39178
|
*/
|
|
38676
|
-
configConfigureMunchiGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39179
|
+
configConfigureMunchiGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38677
39180
|
// verify required parameter 'businessId' is not null or undefined
|
|
38678
39181
|
assertParamExists('configConfigureMunchiGiftCard', 'businessId', businessId)
|
|
38679
39182
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -38719,11 +39222,11 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
38719
39222
|
* The selected provider and each provider\'s settings. A secret key or client secret is answered null: it never leaves the server. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
38720
39223
|
* @summary Read a channel\'s card payment providers
|
|
38721
39224
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
38722
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39225
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
38723
39226
|
* @param {*} [options] Override http request option.
|
|
38724
39227
|
* @throws {RequiredError}
|
|
38725
39228
|
*/
|
|
38726
|
-
configGetProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39229
|
+
configGetProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38727
39230
|
// verify required parameter 'businessId' is not null or undefined
|
|
38728
39231
|
assertParamExists('configGetProviders', 'businessId', businessId)
|
|
38729
39232
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -38809,11 +39312,11 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
38809
39312
|
* @summary Remove payment option
|
|
38810
39313
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
38811
39314
|
* @param {string} id The payment option\'s id
|
|
38812
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39315
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
38813
39316
|
* @param {*} [options] Override http request option.
|
|
38814
39317
|
* @throws {RequiredError}
|
|
38815
39318
|
*/
|
|
38816
|
-
configRemovePaymentOption: async (businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39319
|
+
configRemovePaymentOption: async (businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38817
39320
|
// verify required parameter 'businessId' is not null or undefined
|
|
38818
39321
|
assertParamExists('configRemovePaymentOption', 'businessId', businessId)
|
|
38819
39322
|
// verify required parameter 'id' is not null or undefined
|
|
@@ -38857,13 +39360,13 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
38857
39360
|
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
38858
39361
|
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
38859
39362
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
38860
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39363
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
38861
39364
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
38862
39365
|
* @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
|
|
38863
39366
|
* @param {*} [options] Override http request option.
|
|
38864
39367
|
* @throws {RequiredError}
|
|
38865
39368
|
*/
|
|
38866
|
-
configSaveEpassiCredentials: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39369
|
+
configSaveEpassiCredentials: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38867
39370
|
// verify required parameter 'businessId' is not null or undefined
|
|
38868
39371
|
assertParamExists('configSaveEpassiCredentials', 'businessId', businessId)
|
|
38869
39372
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -38959,12 +39462,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
38959
39462
|
* A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
|
|
38960
39463
|
* @summary Create or update a channel\'s config
|
|
38961
39464
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
38962
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39465
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
38963
39466
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
38964
39467
|
* @param {*} [options] Override http request option.
|
|
38965
39468
|
* @throws {RequiredError}
|
|
38966
39469
|
*/
|
|
38967
|
-
configUpsertChannelConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertConfigDto: UpsertConfigDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39470
|
+
configUpsertChannelConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38968
39471
|
// verify required parameter 'businessId' is not null or undefined
|
|
38969
39472
|
assertParamExists('configUpsertChannelConfig', 'businessId', businessId)
|
|
38970
39473
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -39010,12 +39513,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
39010
39513
|
* Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
|
|
39011
39514
|
* @summary Create or update a channel\'s third-party gift card integration
|
|
39012
39515
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39013
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39516
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39014
39517
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
39015
39518
|
* @param {*} [options] Override http request option.
|
|
39016
39519
|
* @throws {RequiredError}
|
|
39017
39520
|
*/
|
|
39018
|
-
configUpsertGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39521
|
+
configUpsertGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39019
39522
|
// verify required parameter 'businessId' is not null or undefined
|
|
39020
39523
|
assertParamExists('configUpsertGiftCard', 'businessId', businessId)
|
|
39021
39524
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -39105,12 +39608,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
39105
39608
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
39106
39609
|
* @summary Create or update a channel\'s Nets config
|
|
39107
39610
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39108
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39611
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39109
39612
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
39110
39613
|
* @param {*} [options] Override http request option.
|
|
39111
39614
|
* @throws {RequiredError}
|
|
39112
39615
|
*/
|
|
39113
|
-
configUpsertNets: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertNetsDto: UpsertNetsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39616
|
+
configUpsertNets: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39114
39617
|
// verify required parameter 'businessId' is not null or undefined
|
|
39115
39618
|
assertParamExists('configUpsertNets', 'businessId', businessId)
|
|
39116
39619
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -39156,12 +39659,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
39156
39659
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
39157
39660
|
* @summary Create or update a channel\'s checkout payment options
|
|
39158
39661
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39159
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39662
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39160
39663
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
39161
39664
|
* @param {*} [options] Override http request option.
|
|
39162
39665
|
* @throws {RequiredError}
|
|
39163
39666
|
*/
|
|
39164
|
-
configUpsertPaymentOptions: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39667
|
+
configUpsertPaymentOptions: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39165
39668
|
// verify required parameter 'businessId' is not null or undefined
|
|
39166
39669
|
assertParamExists('configUpsertPaymentOptions', 'businessId', businessId)
|
|
39167
39670
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -39207,12 +39710,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
39207
39710
|
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The two saves are not one transaction.
|
|
39208
39711
|
* @summary Set active provider and upsert its credentials
|
|
39209
39712
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39210
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39713
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39211
39714
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
39212
39715
|
* @param {*} [options] Override http request option.
|
|
39213
39716
|
* @throws {RequiredError}
|
|
39214
39717
|
*/
|
|
39215
|
-
configUpsertProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertProvidersDto: UpsertProvidersDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39718
|
+
configUpsertProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39216
39719
|
// verify required parameter 'businessId' is not null or undefined
|
|
39217
39720
|
assertParamExists('configUpsertProviders', 'businessId', businessId)
|
|
39218
39721
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -39258,12 +39761,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
39258
39761
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
39259
39762
|
* @summary Create or update a channel\'s Stripe config
|
|
39260
39763
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39261
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39764
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39262
39765
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
39263
39766
|
* @param {*} [options] Override http request option.
|
|
39264
39767
|
* @throws {RequiredError}
|
|
39265
39768
|
*/
|
|
39266
|
-
configUpsertStripe: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertStripeDto: UpsertStripeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39769
|
+
configUpsertStripe: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39267
39770
|
// verify required parameter 'businessId' is not null or undefined
|
|
39268
39771
|
assertParamExists('configUpsertStripe', 'businessId', businessId)
|
|
39269
39772
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -39309,12 +39812,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
39309
39812
|
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
39310
39813
|
* @summary Create or update a channel\'s Viva config
|
|
39311
39814
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39312
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39815
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39313
39816
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
39314
39817
|
* @param {*} [options] Override http request option.
|
|
39315
39818
|
* @throws {RequiredError}
|
|
39316
39819
|
*/
|
|
39317
|
-
configUpsertViva: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertVivaDto: UpsertVivaDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39820
|
+
configUpsertViva: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39318
39821
|
// verify required parameter 'businessId' is not null or undefined
|
|
39319
39822
|
assertParamExists('configUpsertViva', 'businessId', businessId)
|
|
39320
39823
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -39370,12 +39873,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39370
39873
|
* The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
|
|
39371
39874
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
39372
39875
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39373
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39876
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39374
39877
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
39375
39878
|
* @param {*} [options] Override http request option.
|
|
39376
39879
|
* @throws {RequiredError}
|
|
39377
39880
|
*/
|
|
39378
|
-
async configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39881
|
+
async configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39379
39882
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options);
|
|
39380
39883
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39381
39884
|
},
|
|
@@ -39383,11 +39886,11 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39383
39886
|
* The selected provider and each provider\'s settings. A secret key or client secret is answered null: it never leaves the server. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
39384
39887
|
* @summary Read a channel\'s card payment providers
|
|
39385
39888
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39386
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39889
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39387
39890
|
* @param {*} [options] Override http request option.
|
|
39388
39891
|
* @throws {RequiredError}
|
|
39389
39892
|
*/
|
|
39390
|
-
async configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>> {
|
|
39893
|
+
async configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>> {
|
|
39391
39894
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configGetProviders(businessId, xAppX, options);
|
|
39392
39895
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39393
39896
|
},
|
|
@@ -39408,11 +39911,11 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39408
39911
|
* @summary Remove payment option
|
|
39409
39912
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39410
39913
|
* @param {string} id The payment option\'s id
|
|
39411
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39914
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39412
39915
|
* @param {*} [options] Override http request option.
|
|
39413
39916
|
* @throws {RequiredError}
|
|
39414
39917
|
*/
|
|
39415
|
-
async configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39918
|
+
async configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39416
39919
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configRemovePaymentOption(businessId, id, xAppX, options);
|
|
39417
39920
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39418
39921
|
},
|
|
@@ -39420,13 +39923,13 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39420
39923
|
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
39421
39924
|
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
39422
39925
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39423
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39926
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39424
39927
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
39425
39928
|
* @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
|
|
39426
39929
|
* @param {*} [options] Override http request option.
|
|
39427
39930
|
* @throws {RequiredError}
|
|
39428
39931
|
*/
|
|
39429
|
-
async configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EpassiCredentialsSavedDto>> {
|
|
39932
|
+
async configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EpassiCredentialsSavedDto>> {
|
|
39430
39933
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options);
|
|
39431
39934
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39432
39935
|
},
|
|
@@ -39446,12 +39949,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39446
39949
|
* A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
|
|
39447
39950
|
* @summary Create or update a channel\'s config
|
|
39448
39951
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39449
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39952
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39450
39953
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
39451
39954
|
* @param {*} [options] Override http request option.
|
|
39452
39955
|
* @throws {RequiredError}
|
|
39453
39956
|
*/
|
|
39454
|
-
async configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39957
|
+
async configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39455
39958
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options);
|
|
39456
39959
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39457
39960
|
},
|
|
@@ -39459,12 +39962,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39459
39962
|
* Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
|
|
39460
39963
|
* @summary Create or update a channel\'s third-party gift card integration
|
|
39461
39964
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39462
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39965
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39463
39966
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
39464
39967
|
* @param {*} [options] Override http request option.
|
|
39465
39968
|
* @throws {RequiredError}
|
|
39466
39969
|
*/
|
|
39467
|
-
async configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39970
|
+
async configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39468
39971
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options);
|
|
39469
39972
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39470
39973
|
},
|
|
@@ -39484,12 +39987,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39484
39987
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
39485
39988
|
* @summary Create or update a channel\'s Nets config
|
|
39486
39989
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39487
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
39990
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39488
39991
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
39489
39992
|
* @param {*} [options] Override http request option.
|
|
39490
39993
|
* @throws {RequiredError}
|
|
39491
39994
|
*/
|
|
39492
|
-
async configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39995
|
+
async configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39493
39996
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNets(businessId, xAppX, upsertNetsDto, options);
|
|
39494
39997
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39495
39998
|
},
|
|
@@ -39497,12 +40000,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39497
40000
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
39498
40001
|
* @summary Create or update a channel\'s checkout payment options
|
|
39499
40002
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39500
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40003
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39501
40004
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
39502
40005
|
* @param {*} [options] Override http request option.
|
|
39503
40006
|
* @throws {RequiredError}
|
|
39504
40007
|
*/
|
|
39505
|
-
async configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
40008
|
+
async configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39506
40009
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options);
|
|
39507
40010
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39508
40011
|
},
|
|
@@ -39510,12 +40013,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39510
40013
|
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The two saves are not one transaction.
|
|
39511
40014
|
* @summary Set active provider and upsert its credentials
|
|
39512
40015
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39513
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40016
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39514
40017
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
39515
40018
|
* @param {*} [options] Override http request option.
|
|
39516
40019
|
* @throws {RequiredError}
|
|
39517
40020
|
*/
|
|
39518
|
-
async configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>> {
|
|
40021
|
+
async configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>> {
|
|
39519
40022
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertProviders(businessId, xAppX, upsertProvidersDto, options);
|
|
39520
40023
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39521
40024
|
},
|
|
@@ -39523,12 +40026,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39523
40026
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
39524
40027
|
* @summary Create or update a channel\'s Stripe config
|
|
39525
40028
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39526
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40029
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39527
40030
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
39528
40031
|
* @param {*} [options] Override http request option.
|
|
39529
40032
|
* @throws {RequiredError}
|
|
39530
40033
|
*/
|
|
39531
|
-
async configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
40034
|
+
async configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39532
40035
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertStripe(businessId, xAppX, upsertStripeDto, options);
|
|
39533
40036
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39534
40037
|
},
|
|
@@ -39536,12 +40039,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
39536
40039
|
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
39537
40040
|
* @summary Create or update a channel\'s Viva config
|
|
39538
40041
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39539
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40042
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39540
40043
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
39541
40044
|
* @param {*} [options] Override http request option.
|
|
39542
40045
|
* @throws {RequiredError}
|
|
39543
40046
|
*/
|
|
39544
|
-
async configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
40047
|
+
async configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
39545
40048
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertViva(businessId, xAppX, upsertVivaDto, options);
|
|
39546
40049
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39547
40050
|
},
|
|
@@ -39559,23 +40062,23 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
39559
40062
|
* The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
|
|
39560
40063
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
39561
40064
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39562
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40065
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39563
40066
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
39564
40067
|
* @param {*} [options] Override http request option.
|
|
39565
40068
|
* @throws {RequiredError}
|
|
39566
40069
|
*/
|
|
39567
|
-
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
40070
|
+
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
39568
40071
|
return localVarFp.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(axios, basePath));
|
|
39569
40072
|
},
|
|
39570
40073
|
/**
|
|
39571
40074
|
* The selected provider and each provider\'s settings. A secret key or client secret is answered null: it never leaves the server. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
39572
40075
|
* @summary Read a channel\'s card payment providers
|
|
39573
40076
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39574
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40077
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39575
40078
|
* @param {*} [options] Override http request option.
|
|
39576
40079
|
* @throws {RequiredError}
|
|
39577
40080
|
*/
|
|
39578
|
-
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: any): AxiosPromise<ProvidersConfigResponseDto> {
|
|
40081
|
+
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<ProvidersConfigResponseDto> {
|
|
39579
40082
|
return localVarFp.configGetProviders(businessId, xAppX, options).then((request) => request(axios, basePath));
|
|
39580
40083
|
},
|
|
39581
40084
|
/**
|
|
@@ -39594,24 +40097,24 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
39594
40097
|
* @summary Remove payment option
|
|
39595
40098
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39596
40099
|
* @param {string} id The payment option\'s id
|
|
39597
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40100
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39598
40101
|
* @param {*} [options] Override http request option.
|
|
39599
40102
|
* @throws {RequiredError}
|
|
39600
40103
|
*/
|
|
39601
|
-
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
40104
|
+
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
39602
40105
|
return localVarFp.configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(axios, basePath));
|
|
39603
40106
|
},
|
|
39604
40107
|
/**
|
|
39605
40108
|
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
39606
40109
|
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
39607
40110
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39608
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40111
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39609
40112
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
39610
40113
|
* @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
|
|
39611
40114
|
* @param {*} [options] Override http request option.
|
|
39612
40115
|
* @throws {RequiredError}
|
|
39613
40116
|
*/
|
|
39614
|
-
configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: any): AxiosPromise<EpassiCredentialsSavedDto> {
|
|
40117
|
+
configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: any): AxiosPromise<EpassiCredentialsSavedDto> {
|
|
39615
40118
|
return localVarFp.configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options).then((request) => request(axios, basePath));
|
|
39616
40119
|
},
|
|
39617
40120
|
/**
|
|
@@ -39629,24 +40132,24 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
39629
40132
|
* A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
|
|
39630
40133
|
* @summary Create or update a channel\'s config
|
|
39631
40134
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39632
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40135
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39633
40136
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
39634
40137
|
* @param {*} [options] Override http request option.
|
|
39635
40138
|
* @throws {RequiredError}
|
|
39636
40139
|
*/
|
|
39637
|
-
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
40140
|
+
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
39638
40141
|
return localVarFp.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(axios, basePath));
|
|
39639
40142
|
},
|
|
39640
40143
|
/**
|
|
39641
40144
|
* Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
|
|
39642
40145
|
* @summary Create or update a channel\'s third-party gift card integration
|
|
39643
40146
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39644
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40147
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39645
40148
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
39646
40149
|
* @param {*} [options] Override http request option.
|
|
39647
40150
|
* @throws {RequiredError}
|
|
39648
40151
|
*/
|
|
39649
|
-
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
40152
|
+
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
39650
40153
|
return localVarFp.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(axios, basePath));
|
|
39651
40154
|
},
|
|
39652
40155
|
/**
|
|
@@ -39664,60 +40167,60 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
39664
40167
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
39665
40168
|
* @summary Create or update a channel\'s Nets config
|
|
39666
40169
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39667
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40170
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39668
40171
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
39669
40172
|
* @param {*} [options] Override http request option.
|
|
39670
40173
|
* @throws {RequiredError}
|
|
39671
40174
|
*/
|
|
39672
|
-
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
40175
|
+
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
39673
40176
|
return localVarFp.configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(axios, basePath));
|
|
39674
40177
|
},
|
|
39675
40178
|
/**
|
|
39676
40179
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
39677
40180
|
* @summary Create or update a channel\'s checkout payment options
|
|
39678
40181
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39679
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40182
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39680
40183
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
39681
40184
|
* @param {*} [options] Override http request option.
|
|
39682
40185
|
* @throws {RequiredError}
|
|
39683
40186
|
*/
|
|
39684
|
-
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
40187
|
+
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
39685
40188
|
return localVarFp.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(axios, basePath));
|
|
39686
40189
|
},
|
|
39687
40190
|
/**
|
|
39688
40191
|
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The two saves are not one transaction.
|
|
39689
40192
|
* @summary Set active provider and upsert its credentials
|
|
39690
40193
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39691
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40194
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39692
40195
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
39693
40196
|
* @param {*} [options] Override http request option.
|
|
39694
40197
|
* @throws {RequiredError}
|
|
39695
40198
|
*/
|
|
39696
|
-
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto> {
|
|
40199
|
+
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto> {
|
|
39697
40200
|
return localVarFp.configUpsertProviders(businessId, xAppX, upsertProvidersDto, options).then((request) => request(axios, basePath));
|
|
39698
40201
|
},
|
|
39699
40202
|
/**
|
|
39700
40203
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
39701
40204
|
* @summary Create or update a channel\'s Stripe config
|
|
39702
40205
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39703
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40206
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39704
40207
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
39705
40208
|
* @param {*} [options] Override http request option.
|
|
39706
40209
|
* @throws {RequiredError}
|
|
39707
40210
|
*/
|
|
39708
|
-
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
40211
|
+
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
39709
40212
|
return localVarFp.configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(axios, basePath));
|
|
39710
40213
|
},
|
|
39711
40214
|
/**
|
|
39712
40215
|
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
39713
40216
|
* @summary Create or update a channel\'s Viva config
|
|
39714
40217
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39715
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40218
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39716
40219
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
39717
40220
|
* @param {*} [options] Override http request option.
|
|
39718
40221
|
* @throws {RequiredError}
|
|
39719
40222
|
*/
|
|
39720
|
-
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
40223
|
+
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
39721
40224
|
return localVarFp.configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(axios, basePath));
|
|
39722
40225
|
},
|
|
39723
40226
|
};
|
|
@@ -39733,24 +40236,24 @@ export interface ConfigManagementApiInterface {
|
|
|
39733
40236
|
* The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
|
|
39734
40237
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
39735
40238
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39736
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40239
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39737
40240
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
39738
40241
|
* @param {*} [options] Override http request option.
|
|
39739
40242
|
* @throws {RequiredError}
|
|
39740
40243
|
* @memberof ConfigManagementApiInterface
|
|
39741
40244
|
*/
|
|
39742
|
-
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
40245
|
+
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
39743
40246
|
|
|
39744
40247
|
/**
|
|
39745
40248
|
* The selected provider and each provider\'s settings. A secret key or client secret is answered null: it never leaves the server. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
39746
40249
|
* @summary Read a channel\'s card payment providers
|
|
39747
40250
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39748
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40251
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39749
40252
|
* @param {*} [options] Override http request option.
|
|
39750
40253
|
* @throws {RequiredError}
|
|
39751
40254
|
* @memberof ConfigManagementApiInterface
|
|
39752
40255
|
*/
|
|
39753
|
-
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
40256
|
+
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
39754
40257
|
|
|
39755
40258
|
/**
|
|
39756
40259
|
* Clears the venue\'s cache entry of each key sent and tells the apps to fetch them again: every app of the venue, or one app channel when isGlobal is false.
|
|
@@ -39768,25 +40271,25 @@ export interface ConfigManagementApiInterface {
|
|
|
39768
40271
|
* @summary Remove payment option
|
|
39769
40272
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39770
40273
|
* @param {string} id The payment option\'s id
|
|
39771
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40274
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39772
40275
|
* @param {*} [options] Override http request option.
|
|
39773
40276
|
* @throws {RequiredError}
|
|
39774
40277
|
* @memberof ConfigManagementApiInterface
|
|
39775
40278
|
*/
|
|
39776
|
-
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
40279
|
+
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
39777
40280
|
|
|
39778
40281
|
/**
|
|
39779
40282
|
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
39780
40283
|
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
39781
40284
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39782
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40285
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39783
40286
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
39784
40287
|
* @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
|
|
39785
40288
|
* @param {*} [options] Override http request option.
|
|
39786
40289
|
* @throws {RequiredError}
|
|
39787
40290
|
* @memberof ConfigManagementApiInterface
|
|
39788
40291
|
*/
|
|
39789
|
-
configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): AxiosPromise<EpassiCredentialsSavedDto>;
|
|
40292
|
+
configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): AxiosPromise<EpassiCredentialsSavedDto>;
|
|
39790
40293
|
|
|
39791
40294
|
/**
|
|
39792
40295
|
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
|
|
@@ -39803,25 +40306,25 @@ export interface ConfigManagementApiInterface {
|
|
|
39803
40306
|
* A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
|
|
39804
40307
|
* @summary Create or update a channel\'s config
|
|
39805
40308
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39806
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40309
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39807
40310
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
39808
40311
|
* @param {*} [options] Override http request option.
|
|
39809
40312
|
* @throws {RequiredError}
|
|
39810
40313
|
* @memberof ConfigManagementApiInterface
|
|
39811
40314
|
*/
|
|
39812
|
-
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
40315
|
+
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
39813
40316
|
|
|
39814
40317
|
/**
|
|
39815
40318
|
* Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
|
|
39816
40319
|
* @summary Create or update a channel\'s third-party gift card integration
|
|
39817
40320
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39818
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40321
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39819
40322
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
39820
40323
|
* @param {*} [options] Override http request option.
|
|
39821
40324
|
* @throws {RequiredError}
|
|
39822
40325
|
* @memberof ConfigManagementApiInterface
|
|
39823
40326
|
*/
|
|
39824
|
-
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
40327
|
+
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
39825
40328
|
|
|
39826
40329
|
/**
|
|
39827
40330
|
* The secret is stored encrypted and never answered: secretKey is null in the answer. A new program needs name, apiBaseUrl and secretKey; apiBaseUrl must be https on the Munchi loyalty server\'s host. A signed-in ticket may write only a programme that serves no venue off its account; the programme and the venue\'s link are written together. The venue\'s cached config and loyalty settings are cleared.
|
|
@@ -39838,61 +40341,61 @@ export interface ConfigManagementApiInterface {
|
|
|
39838
40341
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
39839
40342
|
* @summary Create or update a channel\'s Nets config
|
|
39840
40343
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39841
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40344
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39842
40345
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
39843
40346
|
* @param {*} [options] Override http request option.
|
|
39844
40347
|
* @throws {RequiredError}
|
|
39845
40348
|
* @memberof ConfigManagementApiInterface
|
|
39846
40349
|
*/
|
|
39847
|
-
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
40350
|
+
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
39848
40351
|
|
|
39849
40352
|
/**
|
|
39850
40353
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
39851
40354
|
* @summary Create or update a channel\'s checkout payment options
|
|
39852
40355
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39853
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40356
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39854
40357
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
39855
40358
|
* @param {*} [options] Override http request option.
|
|
39856
40359
|
* @throws {RequiredError}
|
|
39857
40360
|
* @memberof ConfigManagementApiInterface
|
|
39858
40361
|
*/
|
|
39859
|
-
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
40362
|
+
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
39860
40363
|
|
|
39861
40364
|
/**
|
|
39862
40365
|
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The two saves are not one transaction.
|
|
39863
40366
|
* @summary Set active provider and upsert its credentials
|
|
39864
40367
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39865
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40368
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39866
40369
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
39867
40370
|
* @param {*} [options] Override http request option.
|
|
39868
40371
|
* @throws {RequiredError}
|
|
39869
40372
|
* @memberof ConfigManagementApiInterface
|
|
39870
40373
|
*/
|
|
39871
|
-
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
40374
|
+
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
39872
40375
|
|
|
39873
40376
|
/**
|
|
39874
40377
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
39875
40378
|
* @summary Create or update a channel\'s Stripe config
|
|
39876
40379
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39877
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40380
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39878
40381
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
39879
40382
|
* @param {*} [options] Override http request option.
|
|
39880
40383
|
* @throws {RequiredError}
|
|
39881
40384
|
* @memberof ConfigManagementApiInterface
|
|
39882
40385
|
*/
|
|
39883
|
-
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
40386
|
+
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
39884
40387
|
|
|
39885
40388
|
/**
|
|
39886
40389
|
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
39887
40390
|
* @summary Create or update a channel\'s Viva config
|
|
39888
40391
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39889
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40392
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39890
40393
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
39891
40394
|
* @param {*} [options] Override http request option.
|
|
39892
40395
|
* @throws {RequiredError}
|
|
39893
40396
|
* @memberof ConfigManagementApiInterface
|
|
39894
40397
|
*/
|
|
39895
|
-
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
40398
|
+
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
39896
40399
|
|
|
39897
40400
|
}
|
|
39898
40401
|
|
|
@@ -39907,13 +40410,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
39907
40410
|
* The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
|
|
39908
40411
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
39909
40412
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39910
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40413
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39911
40414
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
39912
40415
|
* @param {*} [options] Override http request option.
|
|
39913
40416
|
* @throws {RequiredError}
|
|
39914
40417
|
* @memberof ConfigManagementApi
|
|
39915
40418
|
*/
|
|
39916
|
-
public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
|
|
40419
|
+
public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
|
|
39917
40420
|
return ConfigManagementApiFp(this.configuration).configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(this.axios, this.basePath));
|
|
39918
40421
|
}
|
|
39919
40422
|
|
|
@@ -39921,12 +40424,12 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
39921
40424
|
* The selected provider and each provider\'s settings. A secret key or client secret is answered null: it never leaves the server. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
39922
40425
|
* @summary Read a channel\'s card payment providers
|
|
39923
40426
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39924
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40427
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39925
40428
|
* @param {*} [options] Override http request option.
|
|
39926
40429
|
* @throws {RequiredError}
|
|
39927
40430
|
* @memberof ConfigManagementApi
|
|
39928
40431
|
*/
|
|
39929
|
-
public configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig) {
|
|
40432
|
+
public configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
|
|
39930
40433
|
return ConfigManagementApiFp(this.configuration).configGetProviders(businessId, xAppX, options).then((request) => request(this.axios, this.basePath));
|
|
39931
40434
|
}
|
|
39932
40435
|
|
|
@@ -39948,12 +40451,12 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
39948
40451
|
* @summary Remove payment option
|
|
39949
40452
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39950
40453
|
* @param {string} id The payment option\'s id
|
|
39951
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40454
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39952
40455
|
* @param {*} [options] Override http request option.
|
|
39953
40456
|
* @throws {RequiredError}
|
|
39954
40457
|
* @memberof ConfigManagementApi
|
|
39955
40458
|
*/
|
|
39956
|
-
public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig) {
|
|
40459
|
+
public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
|
|
39957
40460
|
return ConfigManagementApiFp(this.configuration).configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(this.axios, this.basePath));
|
|
39958
40461
|
}
|
|
39959
40462
|
|
|
@@ -39961,14 +40464,14 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
39961
40464
|
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
39962
40465
|
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
39963
40466
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39964
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40467
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39965
40468
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
39966
40469
|
* @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
|
|
39967
40470
|
* @param {*} [options] Override http request option.
|
|
39968
40471
|
* @throws {RequiredError}
|
|
39969
40472
|
* @memberof ConfigManagementApi
|
|
39970
40473
|
*/
|
|
39971
|
-
public configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig) {
|
|
40474
|
+
public configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig) {
|
|
39972
40475
|
return ConfigManagementApiFp(this.configuration).configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options).then((request) => request(this.axios, this.basePath));
|
|
39973
40476
|
}
|
|
39974
40477
|
|
|
@@ -39989,13 +40492,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
39989
40492
|
* A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
|
|
39990
40493
|
* @summary Create or update a channel\'s config
|
|
39991
40494
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
39992
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40495
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
39993
40496
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
39994
40497
|
* @param {*} [options] Override http request option.
|
|
39995
40498
|
* @throws {RequiredError}
|
|
39996
40499
|
* @memberof ConfigManagementApi
|
|
39997
40500
|
*/
|
|
39998
|
-
public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
|
|
40501
|
+
public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
|
|
39999
40502
|
return ConfigManagementApiFp(this.configuration).configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(this.axios, this.basePath));
|
|
40000
40503
|
}
|
|
40001
40504
|
|
|
@@ -40003,13 +40506,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
40003
40506
|
* Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
|
|
40004
40507
|
* @summary Create or update a channel\'s third-party gift card integration
|
|
40005
40508
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
40006
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40509
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
40007
40510
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
40008
40511
|
* @param {*} [options] Override http request option.
|
|
40009
40512
|
* @throws {RequiredError}
|
|
40010
40513
|
* @memberof ConfigManagementApi
|
|
40011
40514
|
*/
|
|
40012
|
-
public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
|
|
40515
|
+
public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
|
|
40013
40516
|
return ConfigManagementApiFp(this.configuration).configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(this.axios, this.basePath));
|
|
40014
40517
|
}
|
|
40015
40518
|
|
|
@@ -40030,13 +40533,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
40030
40533
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
40031
40534
|
* @summary Create or update a channel\'s Nets config
|
|
40032
40535
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
40033
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40536
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
40034
40537
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
40035
40538
|
* @param {*} [options] Override http request option.
|
|
40036
40539
|
* @throws {RequiredError}
|
|
40037
40540
|
* @memberof ConfigManagementApi
|
|
40038
40541
|
*/
|
|
40039
|
-
public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
|
|
40542
|
+
public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
|
|
40040
40543
|
return ConfigManagementApiFp(this.configuration).configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(this.axios, this.basePath));
|
|
40041
40544
|
}
|
|
40042
40545
|
|
|
@@ -40044,13 +40547,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
40044
40547
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
40045
40548
|
* @summary Create or update a channel\'s checkout payment options
|
|
40046
40549
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
40047
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40550
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
40048
40551
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
40049
40552
|
* @param {*} [options] Override http request option.
|
|
40050
40553
|
* @throws {RequiredError}
|
|
40051
40554
|
* @memberof ConfigManagementApi
|
|
40052
40555
|
*/
|
|
40053
|
-
public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
|
|
40556
|
+
public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
|
|
40054
40557
|
return ConfigManagementApiFp(this.configuration).configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(this.axios, this.basePath));
|
|
40055
40558
|
}
|
|
40056
40559
|
|
|
@@ -40058,13 +40561,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
40058
40561
|
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The two saves are not one transaction.
|
|
40059
40562
|
* @summary Set active provider and upsert its credentials
|
|
40060
40563
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
40061
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40564
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
40062
40565
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
40063
40566
|
* @param {*} [options] Override http request option.
|
|
40064
40567
|
* @throws {RequiredError}
|
|
40065
40568
|
* @memberof ConfigManagementApi
|
|
40066
40569
|
*/
|
|
40067
|
-
public configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) {
|
|
40570
|
+
public configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) {
|
|
40068
40571
|
return ConfigManagementApiFp(this.configuration).configUpsertProviders(businessId, xAppX, upsertProvidersDto, options).then((request) => request(this.axios, this.basePath));
|
|
40069
40572
|
}
|
|
40070
40573
|
|
|
@@ -40072,13 +40575,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
40072
40575
|
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
40073
40576
|
* @summary Create or update a channel\'s Stripe config
|
|
40074
40577
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
40075
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40578
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
40076
40579
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
40077
40580
|
* @param {*} [options] Override http request option.
|
|
40078
40581
|
* @throws {RequiredError}
|
|
40079
40582
|
* @memberof ConfigManagementApi
|
|
40080
40583
|
*/
|
|
40081
|
-
public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
|
|
40584
|
+
public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
|
|
40082
40585
|
return ConfigManagementApiFp(this.configuration).configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(this.axios, this.basePath));
|
|
40083
40586
|
}
|
|
40084
40587
|
|
|
@@ -40086,13 +40589,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
40086
40589
|
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
40087
40590
|
* @summary Create or update a channel\'s Viva config
|
|
40088
40591
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
40089
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
|
|
40592
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
40090
40593
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
40091
40594
|
* @param {*} [options] Override http request option.
|
|
40092
40595
|
* @throws {RequiredError}
|
|
40093
40596
|
* @memberof ConfigManagementApi
|
|
40094
40597
|
*/
|
|
40095
|
-
public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
|
|
40598
|
+
public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
|
|
40096
40599
|
return ConfigManagementApiFp(this.configuration).configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(this.axios, this.basePath));
|
|
40097
40600
|
}
|
|
40098
40601
|
}
|
|
@@ -45062,6 +45565,91 @@ export class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompaniesApiI
|
|
|
45062
45565
|
*/
|
|
45063
45566
|
export const KDSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
45064
45567
|
return {
|
|
45568
|
+
/**
|
|
45569
|
+
* 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.
|
|
45570
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
45571
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
45572
|
+
* @param {*} [options] Override http request option.
|
|
45573
|
+
* @throws {RequiredError}
|
|
45574
|
+
*/
|
|
45575
|
+
createKdsStations: async (createKdsStationsDto: CreateKdsStationsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45576
|
+
// verify required parameter 'createKdsStationsDto' is not null or undefined
|
|
45577
|
+
assertParamExists('createKdsStations', 'createKdsStationsDto', createKdsStationsDto)
|
|
45578
|
+
const localVarPath = `/api/v2/kds/stations`;
|
|
45579
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45580
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45581
|
+
let baseOptions;
|
|
45582
|
+
if (configuration) {
|
|
45583
|
+
baseOptions = configuration.baseOptions;
|
|
45584
|
+
}
|
|
45585
|
+
|
|
45586
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
45587
|
+
const localVarHeaderParameter = {} as any;
|
|
45588
|
+
const localVarQueryParameter = {} as any;
|
|
45589
|
+
|
|
45590
|
+
// authentication JWT-auth required
|
|
45591
|
+
// http bearer authentication required
|
|
45592
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
45593
|
+
|
|
45594
|
+
|
|
45595
|
+
|
|
45596
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
45597
|
+
|
|
45598
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45599
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45600
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45601
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createKdsStationsDto, localVarRequestOptions, configuration)
|
|
45602
|
+
|
|
45603
|
+
return {
|
|
45604
|
+
url: toPathString(localVarUrlObj),
|
|
45605
|
+
options: localVarRequestOptions,
|
|
45606
|
+
};
|
|
45607
|
+
},
|
|
45608
|
+
/**
|
|
45609
|
+
* 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.
|
|
45610
|
+
* @summary Delete a kitchen station
|
|
45611
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
45612
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
45613
|
+
* @param {*} [options] Override http request option.
|
|
45614
|
+
* @throws {RequiredError}
|
|
45615
|
+
*/
|
|
45616
|
+
deleteKdsStation: async (stationId: string, businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45617
|
+
// verify required parameter 'stationId' is not null or undefined
|
|
45618
|
+
assertParamExists('deleteKdsStation', 'stationId', stationId)
|
|
45619
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
45620
|
+
assertParamExists('deleteKdsStation', 'businessId', businessId)
|
|
45621
|
+
const localVarPath = `/api/v2/kds/stations/{stationId}`
|
|
45622
|
+
.replace(`{${"stationId"}}`, encodeURIComponent(String(stationId)));
|
|
45623
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45624
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45625
|
+
let baseOptions;
|
|
45626
|
+
if (configuration) {
|
|
45627
|
+
baseOptions = configuration.baseOptions;
|
|
45628
|
+
}
|
|
45629
|
+
|
|
45630
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
45631
|
+
const localVarHeaderParameter = {} as any;
|
|
45632
|
+
const localVarQueryParameter = {} as any;
|
|
45633
|
+
|
|
45634
|
+
// authentication JWT-auth required
|
|
45635
|
+
// http bearer authentication required
|
|
45636
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
45637
|
+
|
|
45638
|
+
if (businessId !== undefined) {
|
|
45639
|
+
localVarQueryParameter['businessId'] = businessId;
|
|
45640
|
+
}
|
|
45641
|
+
|
|
45642
|
+
|
|
45643
|
+
|
|
45644
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45645
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45646
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45647
|
+
|
|
45648
|
+
return {
|
|
45649
|
+
url: toPathString(localVarUrlObj),
|
|
45650
|
+
options: localVarRequestOptions,
|
|
45651
|
+
};
|
|
45652
|
+
},
|
|
45065
45653
|
/**
|
|
45066
45654
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
45067
45655
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -45306,6 +45894,91 @@ export const KDSApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
45306
45894
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45307
45895
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45308
45896
|
|
|
45897
|
+
return {
|
|
45898
|
+
url: toPathString(localVarUrlObj),
|
|
45899
|
+
options: localVarRequestOptions,
|
|
45900
|
+
};
|
|
45901
|
+
},
|
|
45902
|
+
/**
|
|
45903
|
+
* 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.
|
|
45904
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
45905
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
45906
|
+
* @param {*} [options] Override http request option.
|
|
45907
|
+
* @throws {RequiredError}
|
|
45908
|
+
*/
|
|
45909
|
+
listKdsStations: async (businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45910
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
45911
|
+
assertParamExists('listKdsStations', 'businessId', businessId)
|
|
45912
|
+
const localVarPath = `/api/v2/kds/stations`;
|
|
45913
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45914
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45915
|
+
let baseOptions;
|
|
45916
|
+
if (configuration) {
|
|
45917
|
+
baseOptions = configuration.baseOptions;
|
|
45918
|
+
}
|
|
45919
|
+
|
|
45920
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
45921
|
+
const localVarHeaderParameter = {} as any;
|
|
45922
|
+
const localVarQueryParameter = {} as any;
|
|
45923
|
+
|
|
45924
|
+
// authentication JWT-auth required
|
|
45925
|
+
// http bearer authentication required
|
|
45926
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
45927
|
+
|
|
45928
|
+
if (businessId !== undefined) {
|
|
45929
|
+
localVarQueryParameter['businessId'] = businessId;
|
|
45930
|
+
}
|
|
45931
|
+
|
|
45932
|
+
|
|
45933
|
+
|
|
45934
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45935
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45936
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45937
|
+
|
|
45938
|
+
return {
|
|
45939
|
+
url: toPathString(localVarUrlObj),
|
|
45940
|
+
options: localVarRequestOptions,
|
|
45941
|
+
};
|
|
45942
|
+
},
|
|
45943
|
+
/**
|
|
45944
|
+
* 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.
|
|
45945
|
+
* @summary Rename a kitchen station and replace its categories
|
|
45946
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
45947
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
45948
|
+
* @param {*} [options] Override http request option.
|
|
45949
|
+
* @throws {RequiredError}
|
|
45950
|
+
*/
|
|
45951
|
+
updateKdsStation: async (stationId: string, updateKdsStationDto: UpdateKdsStationDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45952
|
+
// verify required parameter 'stationId' is not null or undefined
|
|
45953
|
+
assertParamExists('updateKdsStation', 'stationId', stationId)
|
|
45954
|
+
// verify required parameter 'updateKdsStationDto' is not null or undefined
|
|
45955
|
+
assertParamExists('updateKdsStation', 'updateKdsStationDto', updateKdsStationDto)
|
|
45956
|
+
const localVarPath = `/api/v2/kds/stations/{stationId}`
|
|
45957
|
+
.replace(`{${"stationId"}}`, encodeURIComponent(String(stationId)));
|
|
45958
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45959
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45960
|
+
let baseOptions;
|
|
45961
|
+
if (configuration) {
|
|
45962
|
+
baseOptions = configuration.baseOptions;
|
|
45963
|
+
}
|
|
45964
|
+
|
|
45965
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
45966
|
+
const localVarHeaderParameter = {} as any;
|
|
45967
|
+
const localVarQueryParameter = {} as any;
|
|
45968
|
+
|
|
45969
|
+
// authentication JWT-auth required
|
|
45970
|
+
// http bearer authentication required
|
|
45971
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
45972
|
+
|
|
45973
|
+
|
|
45974
|
+
|
|
45975
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
45976
|
+
|
|
45977
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45978
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45979
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45980
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateKdsStationDto, localVarRequestOptions, configuration)
|
|
45981
|
+
|
|
45309
45982
|
return {
|
|
45310
45983
|
url: toPathString(localVarUrlObj),
|
|
45311
45984
|
options: localVarRequestOptions,
|
|
@@ -45321,6 +45994,29 @@ export const KDSApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
45321
45994
|
export const KDSApiFp = function(configuration?: Configuration) {
|
|
45322
45995
|
const localVarAxiosParamCreator = KDSApiAxiosParamCreator(configuration)
|
|
45323
45996
|
return {
|
|
45997
|
+
/**
|
|
45998
|
+
* 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.
|
|
45999
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
46000
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
46001
|
+
* @param {*} [options] Override http request option.
|
|
46002
|
+
* @throws {RequiredError}
|
|
46003
|
+
*/
|
|
46004
|
+
async createKdsStations(createKdsStationsDto: CreateKdsStationsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsStationDto>>> {
|
|
46005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createKdsStations(createKdsStationsDto, options);
|
|
46006
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
46007
|
+
},
|
|
46008
|
+
/**
|
|
46009
|
+
* 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.
|
|
46010
|
+
* @summary Delete a kitchen station
|
|
46011
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
46012
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
46013
|
+
* @param {*} [options] Override http request option.
|
|
46014
|
+
* @throws {RequiredError}
|
|
46015
|
+
*/
|
|
46016
|
+
async deleteKdsStation(stationId: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsStationDto>> {
|
|
46017
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKdsStation(stationId, businessId, options);
|
|
46018
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
46019
|
+
},
|
|
45324
46020
|
/**
|
|
45325
46021
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
45326
46022
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -45386,6 +46082,29 @@ export const KDSApiFp = function(configuration?: Configuration) {
|
|
|
45386
46082
|
const localVarAxiosArgs = await localVarAxiosParamCreator.kdsRevertOrder(id, options);
|
|
45387
46083
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
45388
46084
|
},
|
|
46085
|
+
/**
|
|
46086
|
+
* 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.
|
|
46087
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
46088
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
46089
|
+
* @param {*} [options] Override http request option.
|
|
46090
|
+
* @throws {RequiredError}
|
|
46091
|
+
*/
|
|
46092
|
+
async listKdsStations(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsStationDto>>> {
|
|
46093
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listKdsStations(businessId, options);
|
|
46094
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
46095
|
+
},
|
|
46096
|
+
/**
|
|
46097
|
+
* 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.
|
|
46098
|
+
* @summary Rename a kitchen station and replace its categories
|
|
46099
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
46100
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
46101
|
+
* @param {*} [options] Override http request option.
|
|
46102
|
+
* @throws {RequiredError}
|
|
46103
|
+
*/
|
|
46104
|
+
async updateKdsStation(stationId: string, updateKdsStationDto: UpdateKdsStationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsStationDto>> {
|
|
46105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateKdsStation(stationId, updateKdsStationDto, options);
|
|
46106
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
46107
|
+
},
|
|
45389
46108
|
}
|
|
45390
46109
|
};
|
|
45391
46110
|
|
|
@@ -45396,6 +46115,27 @@ export const KDSApiFp = function(configuration?: Configuration) {
|
|
|
45396
46115
|
export const KDSApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
45397
46116
|
const localVarFp = KDSApiFp(configuration)
|
|
45398
46117
|
return {
|
|
46118
|
+
/**
|
|
46119
|
+
* 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.
|
|
46120
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
46121
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
46122
|
+
* @param {*} [options] Override http request option.
|
|
46123
|
+
* @throws {RequiredError}
|
|
46124
|
+
*/
|
|
46125
|
+
createKdsStations(createKdsStationsDto: CreateKdsStationsDto, options?: any): AxiosPromise<Array<KdsStationDto>> {
|
|
46126
|
+
return localVarFp.createKdsStations(createKdsStationsDto, options).then((request) => request(axios, basePath));
|
|
46127
|
+
},
|
|
46128
|
+
/**
|
|
46129
|
+
* 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.
|
|
46130
|
+
* @summary Delete a kitchen station
|
|
46131
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
46132
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
46133
|
+
* @param {*} [options] Override http request option.
|
|
46134
|
+
* @throws {RequiredError}
|
|
46135
|
+
*/
|
|
46136
|
+
deleteKdsStation(stationId: string, businessId: number, options?: any): AxiosPromise<KdsStationDto> {
|
|
46137
|
+
return localVarFp.deleteKdsStation(stationId, businessId, options).then((request) => request(axios, basePath));
|
|
46138
|
+
},
|
|
45399
46139
|
/**
|
|
45400
46140
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
45401
46141
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -45456,6 +46196,27 @@ export const KDSApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
45456
46196
|
kdsRevertOrder(id: string, options?: any): AxiosPromise<KdsRevertOrderResponseDto> {
|
|
45457
46197
|
return localVarFp.kdsRevertOrder(id, options).then((request) => request(axios, basePath));
|
|
45458
46198
|
},
|
|
46199
|
+
/**
|
|
46200
|
+
* 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.
|
|
46201
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
46202
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
46203
|
+
* @param {*} [options] Override http request option.
|
|
46204
|
+
* @throws {RequiredError}
|
|
46205
|
+
*/
|
|
46206
|
+
listKdsStations(businessId: number, options?: any): AxiosPromise<Array<KdsStationDto>> {
|
|
46207
|
+
return localVarFp.listKdsStations(businessId, options).then((request) => request(axios, basePath));
|
|
46208
|
+
},
|
|
46209
|
+
/**
|
|
46210
|
+
* 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.
|
|
46211
|
+
* @summary Rename a kitchen station and replace its categories
|
|
46212
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
46213
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
46214
|
+
* @param {*} [options] Override http request option.
|
|
46215
|
+
* @throws {RequiredError}
|
|
46216
|
+
*/
|
|
46217
|
+
updateKdsStation(stationId: string, updateKdsStationDto: UpdateKdsStationDto, options?: any): AxiosPromise<KdsStationDto> {
|
|
46218
|
+
return localVarFp.updateKdsStation(stationId, updateKdsStationDto, options).then((request) => request(axios, basePath));
|
|
46219
|
+
},
|
|
45459
46220
|
};
|
|
45460
46221
|
};
|
|
45461
46222
|
|
|
@@ -45465,6 +46226,27 @@ export const KDSApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
45465
46226
|
* @interface KDSApi
|
|
45466
46227
|
*/
|
|
45467
46228
|
export interface KDSApiInterface {
|
|
46229
|
+
/**
|
|
46230
|
+
* 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.
|
|
46231
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
46232
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
46233
|
+
* @param {*} [options] Override http request option.
|
|
46234
|
+
* @throws {RequiredError}
|
|
46235
|
+
* @memberof KDSApiInterface
|
|
46236
|
+
*/
|
|
46237
|
+
createKdsStations(createKdsStationsDto: CreateKdsStationsDto, options?: AxiosRequestConfig): AxiosPromise<Array<KdsStationDto>>;
|
|
46238
|
+
|
|
46239
|
+
/**
|
|
46240
|
+
* 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.
|
|
46241
|
+
* @summary Delete a kitchen station
|
|
46242
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
46243
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
46244
|
+
* @param {*} [options] Override http request option.
|
|
46245
|
+
* @throws {RequiredError}
|
|
46246
|
+
* @memberof KDSApiInterface
|
|
46247
|
+
*/
|
|
46248
|
+
deleteKdsStation(stationId: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<KdsStationDto>;
|
|
46249
|
+
|
|
45468
46250
|
/**
|
|
45469
46251
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
45470
46252
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -45525,6 +46307,27 @@ export interface KDSApiInterface {
|
|
|
45525
46307
|
*/
|
|
45526
46308
|
kdsRevertOrder(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsRevertOrderResponseDto>;
|
|
45527
46309
|
|
|
46310
|
+
/**
|
|
46311
|
+
* 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.
|
|
46312
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
46313
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
46314
|
+
* @param {*} [options] Override http request option.
|
|
46315
|
+
* @throws {RequiredError}
|
|
46316
|
+
* @memberof KDSApiInterface
|
|
46317
|
+
*/
|
|
46318
|
+
listKdsStations(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<KdsStationDto>>;
|
|
46319
|
+
|
|
46320
|
+
/**
|
|
46321
|
+
* 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.
|
|
46322
|
+
* @summary Rename a kitchen station and replace its categories
|
|
46323
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
46324
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
46325
|
+
* @param {*} [options] Override http request option.
|
|
46326
|
+
* @throws {RequiredError}
|
|
46327
|
+
* @memberof KDSApiInterface
|
|
46328
|
+
*/
|
|
46329
|
+
updateKdsStation(stationId: string, updateKdsStationDto: UpdateKdsStationDto, options?: AxiosRequestConfig): AxiosPromise<KdsStationDto>;
|
|
46330
|
+
|
|
45528
46331
|
}
|
|
45529
46332
|
|
|
45530
46333
|
/**
|
|
@@ -45534,6 +46337,31 @@ export interface KDSApiInterface {
|
|
|
45534
46337
|
* @extends {BaseAPI}
|
|
45535
46338
|
*/
|
|
45536
46339
|
export class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
46340
|
+
/**
|
|
46341
|
+
* 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.
|
|
46342
|
+
* @summary Create several kitchen stations at once, each with its categories
|
|
46343
|
+
* @param {CreateKdsStationsDto} createKdsStationsDto The venue and the stations to create
|
|
46344
|
+
* @param {*} [options] Override http request option.
|
|
46345
|
+
* @throws {RequiredError}
|
|
46346
|
+
* @memberof KDSApi
|
|
46347
|
+
*/
|
|
46348
|
+
public createKdsStations(createKdsStationsDto: CreateKdsStationsDto, options?: AxiosRequestConfig) {
|
|
46349
|
+
return KDSApiFp(this.configuration).createKdsStations(createKdsStationsDto, options).then((request) => request(this.axios, this.basePath));
|
|
46350
|
+
}
|
|
46351
|
+
|
|
46352
|
+
/**
|
|
46353
|
+
* 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.
|
|
46354
|
+
* @summary Delete a kitchen station
|
|
46355
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
46356
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
46357
|
+
* @param {*} [options] Override http request option.
|
|
46358
|
+
* @throws {RequiredError}
|
|
46359
|
+
* @memberof KDSApi
|
|
46360
|
+
*/
|
|
46361
|
+
public deleteKdsStation(stationId: string, businessId: number, options?: AxiosRequestConfig) {
|
|
46362
|
+
return KDSApiFp(this.configuration).deleteKdsStation(stationId, businessId, options).then((request) => request(this.axios, this.basePath));
|
|
46363
|
+
}
|
|
46364
|
+
|
|
45537
46365
|
/**
|
|
45538
46366
|
* Read from kds-service. The status is passed on as sent: the kitchen screen asks for IN_PROGRESS and READY.
|
|
45539
46367
|
* @summary List one station\'s kitchen orders in one state, a page at a time
|
|
@@ -45603,6 +46431,31 @@ export class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
|
45603
46431
|
public kdsRevertOrder(id: string, options?: AxiosRequestConfig) {
|
|
45604
46432
|
return KDSApiFp(this.configuration).kdsRevertOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
45605
46433
|
}
|
|
46434
|
+
|
|
46435
|
+
/**
|
|
46436
|
+
* 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.
|
|
46437
|
+
* @summary List the venue\'s kitchen stations with their categories
|
|
46438
|
+
* @param {number} businessId The Munchi venue id (orderingBusinessId)
|
|
46439
|
+
* @param {*} [options] Override http request option.
|
|
46440
|
+
* @throws {RequiredError}
|
|
46441
|
+
* @memberof KDSApi
|
|
46442
|
+
*/
|
|
46443
|
+
public listKdsStations(businessId: number, options?: AxiosRequestConfig) {
|
|
46444
|
+
return KDSApiFp(this.configuration).listKdsStations(businessId, options).then((request) => request(this.axios, this.basePath));
|
|
46445
|
+
}
|
|
46446
|
+
|
|
46447
|
+
/**
|
|
46448
|
+
* 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.
|
|
46449
|
+
* @summary Rename a kitchen station and replace its categories
|
|
46450
|
+
* @param {string} stationId The station\'s id in kds-service (its KDS profile id)
|
|
46451
|
+
* @param {UpdateKdsStationDto} updateKdsStationDto The venue, and the station\'s new name and categories
|
|
46452
|
+
* @param {*} [options] Override http request option.
|
|
46453
|
+
* @throws {RequiredError}
|
|
46454
|
+
* @memberof KDSApi
|
|
46455
|
+
*/
|
|
46456
|
+
public updateKdsStation(stationId: string, updateKdsStationDto: UpdateKdsStationDto, options?: AxiosRequestConfig) {
|
|
46457
|
+
return KDSApiFp(this.configuration).updateKdsStation(stationId, updateKdsStationDto, options).then((request) => request(this.axios, this.basePath));
|
|
46458
|
+
}
|
|
45606
46459
|
}
|
|
45607
46460
|
|
|
45608
46461
|
|
|
@@ -48104,6 +48957,50 @@ export class NotificationApi extends BaseAPI implements NotificationApiInterface
|
|
|
48104
48957
|
*/
|
|
48105
48958
|
export const OpsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
48106
48959
|
return {
|
|
48960
|
+
/**
|
|
48961
|
+
* Adds the venue\'s active provider row of the platform under the store id (externalId), with supported integrations ORDERS and VENUE, or reactivates the row already there. Calling it again answers the same row; autoAccept, when sent, is applied each time. The venue\'s cached providers are cleared after the commit.
|
|
48962
|
+
* @summary Connect a venue to Foodora or Bolt with the platform\'s store id
|
|
48963
|
+
* @param {number} venueId The Munchi venue id
|
|
48964
|
+
* @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
|
|
48965
|
+
* @param {*} [options] Override http request option.
|
|
48966
|
+
* @throws {RequiredError}
|
|
48967
|
+
*/
|
|
48968
|
+
connectDeliveryPlatform: async (venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48969
|
+
// verify required parameter 'venueId' is not null or undefined
|
|
48970
|
+
assertParamExists('connectDeliveryPlatform', 'venueId', venueId)
|
|
48971
|
+
// verify required parameter 'connectDeliveryPlatformDto' is not null or undefined
|
|
48972
|
+
assertParamExists('connectDeliveryPlatform', 'connectDeliveryPlatformDto', connectDeliveryPlatformDto)
|
|
48973
|
+
const localVarPath = `/api/v1/ops/venues/{venueId}/delivery-platforms`
|
|
48974
|
+
.replace(`{${"venueId"}}`, encodeURIComponent(String(venueId)));
|
|
48975
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48976
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48977
|
+
let baseOptions;
|
|
48978
|
+
if (configuration) {
|
|
48979
|
+
baseOptions = configuration.baseOptions;
|
|
48980
|
+
}
|
|
48981
|
+
|
|
48982
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
48983
|
+
const localVarHeaderParameter = {} as any;
|
|
48984
|
+
const localVarQueryParameter = {} as any;
|
|
48985
|
+
|
|
48986
|
+
// authentication JWT-auth required
|
|
48987
|
+
// http bearer authentication required
|
|
48988
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
48989
|
+
|
|
48990
|
+
|
|
48991
|
+
|
|
48992
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
48993
|
+
|
|
48994
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48995
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48996
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
48997
|
+
localVarRequestOptions.data = serializeDataIfNeeded(connectDeliveryPlatformDto, localVarRequestOptions, configuration)
|
|
48998
|
+
|
|
48999
|
+
return {
|
|
49000
|
+
url: toPathString(localVarUrlObj),
|
|
49001
|
+
options: localVarRequestOptions,
|
|
49002
|
+
};
|
|
49003
|
+
},
|
|
48107
49004
|
/**
|
|
48108
49005
|
* The venue\'s stations and payment terminals, each with its id, name, type and status. Never a hardware id: a till signs in with that id alone. Kitchen screens and printers are not here.
|
|
48109
49006
|
* @summary A venue\'s tills, kiosks and payment terminals
|
|
@@ -48133,6 +49030,48 @@ export const OpsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
48133
49030
|
|
|
48134
49031
|
|
|
48135
49032
|
|
|
49033
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49034
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49035
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
49036
|
+
|
|
49037
|
+
return {
|
|
49038
|
+
url: toPathString(localVarUrlObj),
|
|
49039
|
+
options: localVarRequestOptions,
|
|
49040
|
+
};
|
|
49041
|
+
},
|
|
49042
|
+
/**
|
|
49043
|
+
* 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}).
|
|
49044
|
+
* @summary Disconnect a venue from Foodora or Bolt
|
|
49045
|
+
* @param {number} venueId The Munchi venue id
|
|
49046
|
+
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
49047
|
+
* @param {*} [options] Override http request option.
|
|
49048
|
+
* @throws {RequiredError}
|
|
49049
|
+
*/
|
|
49050
|
+
disconnectDeliveryPlatform: async (venueId: number, channel: DeliveryPlatformOpsConnect, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49051
|
+
// verify required parameter 'venueId' is not null or undefined
|
|
49052
|
+
assertParamExists('disconnectDeliveryPlatform', 'venueId', venueId)
|
|
49053
|
+
// verify required parameter 'channel' is not null or undefined
|
|
49054
|
+
assertParamExists('disconnectDeliveryPlatform', 'channel', channel)
|
|
49055
|
+
const localVarPath = `/api/v1/ops/venues/{venueId}/delivery-platforms/{channel}`
|
|
49056
|
+
.replace(`{${"venueId"}}`, encodeURIComponent(String(venueId)))
|
|
49057
|
+
.replace(`{${"channel"}}`, encodeURIComponent(String(channel)));
|
|
49058
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49059
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49060
|
+
let baseOptions;
|
|
49061
|
+
if (configuration) {
|
|
49062
|
+
baseOptions = configuration.baseOptions;
|
|
49063
|
+
}
|
|
49064
|
+
|
|
49065
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
49066
|
+
const localVarHeaderParameter = {} as any;
|
|
49067
|
+
const localVarQueryParameter = {} as any;
|
|
49068
|
+
|
|
49069
|
+
// authentication JWT-auth required
|
|
49070
|
+
// http bearer authentication required
|
|
49071
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
49072
|
+
|
|
49073
|
+
|
|
49074
|
+
|
|
48136
49075
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48137
49076
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48138
49077
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -48198,6 +49137,18 @@ export const OpsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
48198
49137
|
export const OpsApiFp = function(configuration?: Configuration) {
|
|
48199
49138
|
const localVarAxiosParamCreator = OpsApiAxiosParamCreator(configuration)
|
|
48200
49139
|
return {
|
|
49140
|
+
/**
|
|
49141
|
+
* Adds the venue\'s active provider row of the platform under the store id (externalId), with supported integrations ORDERS and VENUE, or reactivates the row already there. Calling it again answers the same row; autoAccept, when sent, is applied each time. The venue\'s cached providers are cleared after the commit.
|
|
49142
|
+
* @summary Connect a venue to Foodora or Bolt with the platform\'s store id
|
|
49143
|
+
* @param {number} venueId The Munchi venue id
|
|
49144
|
+
* @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
|
|
49145
|
+
* @param {*} [options] Override http request option.
|
|
49146
|
+
* @throws {RequiredError}
|
|
49147
|
+
*/
|
|
49148
|
+
async connectDeliveryPlatform(venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectedDeliveryPlatformDto>> {
|
|
49149
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.connectDeliveryPlatform(venueId, connectDeliveryPlatformDto, options);
|
|
49150
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
49151
|
+
},
|
|
48201
49152
|
/**
|
|
48202
49153
|
* The venue\'s stations and payment terminals, each with its id, name, type and status. Never a hardware id: a till signs in with that id alone. Kitchen screens and printers are not here.
|
|
48203
49154
|
* @summary A venue\'s tills, kiosks and payment terminals
|
|
@@ -48209,6 +49160,18 @@ export const OpsApiFp = function(configuration?: Configuration) {
|
|
|
48209
49160
|
const localVarAxiosArgs = await localVarAxiosParamCreator.devicesOfVenue(venueId, options);
|
|
48210
49161
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
48211
49162
|
},
|
|
49163
|
+
/**
|
|
49164
|
+
* 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}).
|
|
49165
|
+
* @summary Disconnect a venue from Foodora or Bolt
|
|
49166
|
+
* @param {number} venueId The Munchi venue id
|
|
49167
|
+
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
49168
|
+
* @param {*} [options] Override http request option.
|
|
49169
|
+
* @throws {RequiredError}
|
|
49170
|
+
*/
|
|
49171
|
+
async disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisconnectedDeliveryPlatformDto>> {
|
|
49172
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disconnectDeliveryPlatform(venueId, channel, options);
|
|
49173
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
49174
|
+
},
|
|
48212
49175
|
/**
|
|
48213
49176
|
* Venues whose name holds the text, in any case, or whose venue id it is, by name. Answers who the venue is and where, never its contacts, owners or schedule.
|
|
48214
49177
|
* @summary Find venues by name or id, across every venue
|
|
@@ -48231,6 +49194,17 @@ export const OpsApiFp = function(configuration?: Configuration) {
|
|
|
48231
49194
|
export const OpsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
48232
49195
|
const localVarFp = OpsApiFp(configuration)
|
|
48233
49196
|
return {
|
|
49197
|
+
/**
|
|
49198
|
+
* Adds the venue\'s active provider row of the platform under the store id (externalId), with supported integrations ORDERS and VENUE, or reactivates the row already there. Calling it again answers the same row; autoAccept, when sent, is applied each time. The venue\'s cached providers are cleared after the commit.
|
|
49199
|
+
* @summary Connect a venue to Foodora or Bolt with the platform\'s store id
|
|
49200
|
+
* @param {number} venueId The Munchi venue id
|
|
49201
|
+
* @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
|
|
49202
|
+
* @param {*} [options] Override http request option.
|
|
49203
|
+
* @throws {RequiredError}
|
|
49204
|
+
*/
|
|
49205
|
+
connectDeliveryPlatform(venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options?: any): AxiosPromise<ConnectedDeliveryPlatformDto> {
|
|
49206
|
+
return localVarFp.connectDeliveryPlatform(venueId, connectDeliveryPlatformDto, options).then((request) => request(axios, basePath));
|
|
49207
|
+
},
|
|
48234
49208
|
/**
|
|
48235
49209
|
* The venue\'s stations and payment terminals, each with its id, name, type and status. Never a hardware id: a till signs in with that id alone. Kitchen screens and printers are not here.
|
|
48236
49210
|
* @summary A venue\'s tills, kiosks and payment terminals
|
|
@@ -48241,6 +49215,17 @@ export const OpsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
48241
49215
|
devicesOfVenue(venueId: number, options?: any): AxiosPromise<VenueDevicesDto> {
|
|
48242
49216
|
return localVarFp.devicesOfVenue(venueId, options).then((request) => request(axios, basePath));
|
|
48243
49217
|
},
|
|
49218
|
+
/**
|
|
49219
|
+
* 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}).
|
|
49220
|
+
* @summary Disconnect a venue from Foodora or Bolt
|
|
49221
|
+
* @param {number} venueId The Munchi venue id
|
|
49222
|
+
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
49223
|
+
* @param {*} [options] Override http request option.
|
|
49224
|
+
* @throws {RequiredError}
|
|
49225
|
+
*/
|
|
49226
|
+
disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: any): AxiosPromise<DisconnectedDeliveryPlatformDto> {
|
|
49227
|
+
return localVarFp.disconnectDeliveryPlatform(venueId, channel, options).then((request) => request(axios, basePath));
|
|
49228
|
+
},
|
|
48244
49229
|
/**
|
|
48245
49230
|
* Venues whose name holds the text, in any case, or whose venue id it is, by name. Answers who the venue is and where, never its contacts, owners or schedule.
|
|
48246
49231
|
* @summary Find venues by name or id, across every venue
|
|
@@ -48261,6 +49246,17 @@ export const OpsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
48261
49246
|
* @interface OpsApi
|
|
48262
49247
|
*/
|
|
48263
49248
|
export interface OpsApiInterface {
|
|
49249
|
+
/**
|
|
49250
|
+
* Adds the venue\'s active provider row of the platform under the store id (externalId), with supported integrations ORDERS and VENUE, or reactivates the row already there. Calling it again answers the same row; autoAccept, when sent, is applied each time. The venue\'s cached providers are cleared after the commit.
|
|
49251
|
+
* @summary Connect a venue to Foodora or Bolt with the platform\'s store id
|
|
49252
|
+
* @param {number} venueId The Munchi venue id
|
|
49253
|
+
* @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
|
|
49254
|
+
* @param {*} [options] Override http request option.
|
|
49255
|
+
* @throws {RequiredError}
|
|
49256
|
+
* @memberof OpsApiInterface
|
|
49257
|
+
*/
|
|
49258
|
+
connectDeliveryPlatform(venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options?: AxiosRequestConfig): AxiosPromise<ConnectedDeliveryPlatformDto>;
|
|
49259
|
+
|
|
48264
49260
|
/**
|
|
48265
49261
|
* The venue\'s stations and payment terminals, each with its id, name, type and status. Never a hardware id: a till signs in with that id alone. Kitchen screens and printers are not here.
|
|
48266
49262
|
* @summary A venue\'s tills, kiosks and payment terminals
|
|
@@ -48271,6 +49267,17 @@ export interface OpsApiInterface {
|
|
|
48271
49267
|
*/
|
|
48272
49268
|
devicesOfVenue(venueId: number, options?: AxiosRequestConfig): AxiosPromise<VenueDevicesDto>;
|
|
48273
49269
|
|
|
49270
|
+
/**
|
|
49271
|
+
* 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}).
|
|
49272
|
+
* @summary Disconnect a venue from Foodora or Bolt
|
|
49273
|
+
* @param {number} venueId The Munchi venue id
|
|
49274
|
+
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
49275
|
+
* @param {*} [options] Override http request option.
|
|
49276
|
+
* @throws {RequiredError}
|
|
49277
|
+
* @memberof OpsApiInterface
|
|
49278
|
+
*/
|
|
49279
|
+
disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: AxiosRequestConfig): AxiosPromise<DisconnectedDeliveryPlatformDto>;
|
|
49280
|
+
|
|
48274
49281
|
/**
|
|
48275
49282
|
* Venues whose name holds the text, in any case, or whose venue id it is, by name. Answers who the venue is and where, never its contacts, owners or schedule.
|
|
48276
49283
|
* @summary Find venues by name or id, across every venue
|
|
@@ -48291,6 +49298,19 @@ export interface OpsApiInterface {
|
|
|
48291
49298
|
* @extends {BaseAPI}
|
|
48292
49299
|
*/
|
|
48293
49300
|
export class OpsApi extends BaseAPI implements OpsApiInterface {
|
|
49301
|
+
/**
|
|
49302
|
+
* Adds the venue\'s active provider row of the platform under the store id (externalId), with supported integrations ORDERS and VENUE, or reactivates the row already there. Calling it again answers the same row; autoAccept, when sent, is applied each time. The venue\'s cached providers are cleared after the commit.
|
|
49303
|
+
* @summary Connect a venue to Foodora or Bolt with the platform\'s store id
|
|
49304
|
+
* @param {number} venueId The Munchi venue id
|
|
49305
|
+
* @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
|
|
49306
|
+
* @param {*} [options] Override http request option.
|
|
49307
|
+
* @throws {RequiredError}
|
|
49308
|
+
* @memberof OpsApi
|
|
49309
|
+
*/
|
|
49310
|
+
public connectDeliveryPlatform(venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options?: AxiosRequestConfig) {
|
|
49311
|
+
return OpsApiFp(this.configuration).connectDeliveryPlatform(venueId, connectDeliveryPlatformDto, options).then((request) => request(this.axios, this.basePath));
|
|
49312
|
+
}
|
|
49313
|
+
|
|
48294
49314
|
/**
|
|
48295
49315
|
* The venue\'s stations and payment terminals, each with its id, name, type and status. Never a hardware id: a till signs in with that id alone. Kitchen screens and printers are not here.
|
|
48296
49316
|
* @summary A venue\'s tills, kiosks and payment terminals
|
|
@@ -48303,6 +49323,19 @@ export class OpsApi extends BaseAPI implements OpsApiInterface {
|
|
|
48303
49323
|
return OpsApiFp(this.configuration).devicesOfVenue(venueId, options).then((request) => request(this.axios, this.basePath));
|
|
48304
49324
|
}
|
|
48305
49325
|
|
|
49326
|
+
/**
|
|
49327
|
+
* 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}).
|
|
49328
|
+
* @summary Disconnect a venue from Foodora or Bolt
|
|
49329
|
+
* @param {number} venueId The Munchi venue id
|
|
49330
|
+
* @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
|
|
49331
|
+
* @param {*} [options] Override http request option.
|
|
49332
|
+
* @throws {RequiredError}
|
|
49333
|
+
* @memberof OpsApi
|
|
49334
|
+
*/
|
|
49335
|
+
public disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: AxiosRequestConfig) {
|
|
49336
|
+
return OpsApiFp(this.configuration).disconnectDeliveryPlatform(venueId, channel, options).then((request) => request(this.axios, this.basePath));
|
|
49337
|
+
}
|
|
49338
|
+
|
|
48306
49339
|
/**
|
|
48307
49340
|
* Venues whose name holds the text, in any case, or whose venue id it is, by name. Answers who the venue is and where, never its contacts, owners or schedule.
|
|
48308
49341
|
* @summary Find venues by name or id, across every venue
|
|
@@ -52700,6 +53733,40 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
|
|
|
52700
53733
|
|
|
52701
53734
|
|
|
52702
53735
|
|
|
53736
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53738
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53739
|
+
|
|
53740
|
+
return {
|
|
53741
|
+
url: toPathString(localVarUrlObj),
|
|
53742
|
+
options: localVarRequestOptions,
|
|
53743
|
+
};
|
|
53744
|
+
},
|
|
53745
|
+
/**
|
|
53746
|
+
* One read of the session\'s currency, by the sessionId a refund names, so a refund can be confirmed in its own currency before it is sent. A signed-in ticket reaches only a session of its own venues; a partner key reaches none, since the session, not the request, names the venue. Never the shared key (R27).
|
|
53747
|
+
* @summary Get the currency of a payment session by its sessionId
|
|
53748
|
+
* @param {string} sessionId The payment session\'s sessionId, the same value stored as the order paymentEvent referenceId
|
|
53749
|
+
* @param {*} [options] Override http request option.
|
|
53750
|
+
* @throws {RequiredError}
|
|
53751
|
+
*/
|
|
53752
|
+
getPaymentSessionCurrency: async (sessionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53753
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
53754
|
+
assertParamExists('getPaymentSessionCurrency', 'sessionId', sessionId)
|
|
53755
|
+
const localVarPath = `/api/v1/payment-session/currency/{sessionId}`
|
|
53756
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
53757
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53758
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53759
|
+
let baseOptions;
|
|
53760
|
+
if (configuration) {
|
|
53761
|
+
baseOptions = configuration.baseOptions;
|
|
53762
|
+
}
|
|
53763
|
+
|
|
53764
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53765
|
+
const localVarHeaderParameter = {} as any;
|
|
53766
|
+
const localVarQueryParameter = {} as any;
|
|
53767
|
+
|
|
53768
|
+
|
|
53769
|
+
|
|
52703
53770
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
52704
53771
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52705
53772
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -53518,6 +54585,17 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
|
|
|
53518
54585
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentSessionAnalytics(businessId, timeSpan, start, end, options);
|
|
53519
54586
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
53520
54587
|
},
|
|
54588
|
+
/**
|
|
54589
|
+
* One read of the session\'s currency, by the sessionId a refund names, so a refund can be confirmed in its own currency before it is sent. A signed-in ticket reaches only a session of its own venues; a partner key reaches none, since the session, not the request, names the venue. Never the shared key (R27).
|
|
54590
|
+
* @summary Get the currency of a payment session by its sessionId
|
|
54591
|
+
* @param {string} sessionId The payment session\'s sessionId, the same value stored as the order paymentEvent referenceId
|
|
54592
|
+
* @param {*} [options] Override http request option.
|
|
54593
|
+
* @throws {RequiredError}
|
|
54594
|
+
*/
|
|
54595
|
+
async getPaymentSessionCurrency(sessionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionCurrencyDto>> {
|
|
54596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentSessionCurrency(sessionId, options);
|
|
54597
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
54598
|
+
},
|
|
53521
54599
|
/**
|
|
53522
54600
|
* Answers at once, before Epassi is asked: the session is reserved PROCESSING with the QR code (sent in the X-Epassi-Qr-Code header) kept encrypted on it, and a Cloud Task that runs at once sends the payment to Epassi. Epassi may hold that payment up to about 30 seconds while the customer approves it in the Epassi app. Follow the session on the Ably channel named in `ablyChannel` (event `payment:status-changed`) or with GET /payment-session/:clientToken: `awaitingApproval` true while Epassi waits for the customer, then SUCCESS, FAILED or CANCELLED. A sale with no definite answer 6 minutes after it started is failed, Epassi is asked to cancel it and staff are alerted. A paid session is written to the order by the server. Idempotent by the X-Idempotency-Key header: a repeat answers the session\'s current state. Answers FAILED with payment.aborted when the payment could not be queued; Epassi was then never asked. Accepts the shared service key as well as a signed-in ticket: a named R27 exception, because the kiosk calls with that key until the apps have credentials of their own.
|
|
53523
54601
|
* @summary Charge an Epassi QR code
|
|
@@ -53799,6 +54877,16 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
|
|
|
53799
54877
|
getPaymentSessionAnalytics(businessId: number, timeSpan: TimeSpan, start?: string, end?: string, options?: any): AxiosPromise<PaymentSessionAnalyticsResponseDto> {
|
|
53800
54878
|
return localVarFp.getPaymentSessionAnalytics(businessId, timeSpan, start, end, options).then((request) => request(axios, basePath));
|
|
53801
54879
|
},
|
|
54880
|
+
/**
|
|
54881
|
+
* One read of the session\'s currency, by the sessionId a refund names, so a refund can be confirmed in its own currency before it is sent. A signed-in ticket reaches only a session of its own venues; a partner key reaches none, since the session, not the request, names the venue. Never the shared key (R27).
|
|
54882
|
+
* @summary Get the currency of a payment session by its sessionId
|
|
54883
|
+
* @param {string} sessionId The payment session\'s sessionId, the same value stored as the order paymentEvent referenceId
|
|
54884
|
+
* @param {*} [options] Override http request option.
|
|
54885
|
+
* @throws {RequiredError}
|
|
54886
|
+
*/
|
|
54887
|
+
getPaymentSessionCurrency(sessionId: string, options?: any): AxiosPromise<PaymentSessionCurrencyDto> {
|
|
54888
|
+
return localVarFp.getPaymentSessionCurrency(sessionId, options).then((request) => request(axios, basePath));
|
|
54889
|
+
},
|
|
53802
54890
|
/**
|
|
53803
54891
|
* Answers at once, before Epassi is asked: the session is reserved PROCESSING with the QR code (sent in the X-Epassi-Qr-Code header) kept encrypted on it, and a Cloud Task that runs at once sends the payment to Epassi. Epassi may hold that payment up to about 30 seconds while the customer approves it in the Epassi app. Follow the session on the Ably channel named in `ablyChannel` (event `payment:status-changed`) or with GET /payment-session/:clientToken: `awaitingApproval` true while Epassi waits for the customer, then SUCCESS, FAILED or CANCELLED. A sale with no definite answer 6 minutes after it started is failed, Epassi is asked to cancel it and staff are alerted. A paid session is written to the order by the server. Idempotent by the X-Idempotency-Key header: a repeat answers the session\'s current state. Answers FAILED with payment.aborted when the payment could not be queued; Epassi was then never asked. Accepts the shared service key as well as a signed-in ticket: a named R27 exception, because the kiosk calls with that key until the apps have credentials of their own.
|
|
53804
54892
|
* @summary Charge an Epassi QR code
|
|
@@ -54059,6 +55147,16 @@ export interface PaymentSessionApiInterface {
|
|
|
54059
55147
|
*/
|
|
54060
55148
|
getPaymentSessionAnalytics(businessId: number, timeSpan: TimeSpan, start?: string, end?: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionAnalyticsResponseDto>;
|
|
54061
55149
|
|
|
55150
|
+
/**
|
|
55151
|
+
* One read of the session\'s currency, by the sessionId a refund names, so a refund can be confirmed in its own currency before it is sent. A signed-in ticket reaches only a session of its own venues; a partner key reaches none, since the session, not the request, names the venue. Never the shared key (R27).
|
|
55152
|
+
* @summary Get the currency of a payment session by its sessionId
|
|
55153
|
+
* @param {string} sessionId The payment session\'s sessionId, the same value stored as the order paymentEvent referenceId
|
|
55154
|
+
* @param {*} [options] Override http request option.
|
|
55155
|
+
* @throws {RequiredError}
|
|
55156
|
+
* @memberof PaymentSessionApiInterface
|
|
55157
|
+
*/
|
|
55158
|
+
getPaymentSessionCurrency(sessionId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionCurrencyDto>;
|
|
55159
|
+
|
|
54062
55160
|
/**
|
|
54063
55161
|
* Answers at once, before Epassi is asked: the session is reserved PROCESSING with the QR code (sent in the X-Epassi-Qr-Code header) kept encrypted on it, and a Cloud Task that runs at once sends the payment to Epassi. Epassi may hold that payment up to about 30 seconds while the customer approves it in the Epassi app. Follow the session on the Ably channel named in `ablyChannel` (event `payment:status-changed`) or with GET /payment-session/:clientToken: `awaitingApproval` true while Epassi waits for the customer, then SUCCESS, FAILED or CANCELLED. A sale with no definite answer 6 minutes after it started is failed, Epassi is asked to cancel it and staff are alerted. A paid session is written to the order by the server. Idempotent by the X-Idempotency-Key header: a repeat answers the session\'s current state. Answers FAILED with payment.aborted when the payment could not be queued; Epassi was then never asked. Accepts the shared service key as well as a signed-in ticket: a named R27 exception, because the kiosk calls with that key until the apps have credentials of their own.
|
|
54064
55162
|
* @summary Charge an Epassi QR code
|
|
@@ -54327,6 +55425,18 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
|
|
|
54327
55425
|
return PaymentSessionApiFp(this.configuration).getPaymentSessionAnalytics(businessId, timeSpan, start, end, options).then((request) => request(this.axios, this.basePath));
|
|
54328
55426
|
}
|
|
54329
55427
|
|
|
55428
|
+
/**
|
|
55429
|
+
* One read of the session\'s currency, by the sessionId a refund names, so a refund can be confirmed in its own currency before it is sent. A signed-in ticket reaches only a session of its own venues; a partner key reaches none, since the session, not the request, names the venue. Never the shared key (R27).
|
|
55430
|
+
* @summary Get the currency of a payment session by its sessionId
|
|
55431
|
+
* @param {string} sessionId The payment session\'s sessionId, the same value stored as the order paymentEvent referenceId
|
|
55432
|
+
* @param {*} [options] Override http request option.
|
|
55433
|
+
* @throws {RequiredError}
|
|
55434
|
+
* @memberof PaymentSessionApi
|
|
55435
|
+
*/
|
|
55436
|
+
public getPaymentSessionCurrency(sessionId: string, options?: AxiosRequestConfig) {
|
|
55437
|
+
return PaymentSessionApiFp(this.configuration).getPaymentSessionCurrency(sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
55438
|
+
}
|
|
55439
|
+
|
|
54330
55440
|
/**
|
|
54331
55441
|
* Answers at once, before Epassi is asked: the session is reserved PROCESSING with the QR code (sent in the X-Epassi-Qr-Code header) kept encrypted on it, and a Cloud Task that runs at once sends the payment to Epassi. Epassi may hold that payment up to about 30 seconds while the customer approves it in the Epassi app. Follow the session on the Ably channel named in `ablyChannel` (event `payment:status-changed`) or with GET /payment-session/:clientToken: `awaitingApproval` true while Epassi waits for the customer, then SUCCESS, FAILED or CANCELLED. A sale with no definite answer 6 minutes after it started is failed, Epassi is asked to cancel it and staff are alerted. A paid session is written to the order by the server. Idempotent by the X-Idempotency-Key header: a repeat answers the session\'s current state. Answers FAILED with payment.aborted when the payment could not be queued; Epassi was then never asked. Accepts the shared service key as well as a signed-in ticket: a named R27 exception, because the kiosk calls with that key until the apps have credentials of their own.
|
|
54332
55442
|
* @summary Charge an Epassi QR code
|
|
@@ -55251,9 +56361,9 @@ export class ProductApi extends BaseAPI implements ProductApiInterface {
|
|
|
55251
56361
|
export const ProviderApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
55252
56362
|
return {
|
|
55253
56363
|
/**
|
|
55254
|
-
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
55255
|
-
* @summary Start connecting a venue to Uber Eats or
|
|
55256
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56364
|
+
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront, resq-service for ResQ) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
56365
|
+
* @summary Start connecting a venue to Uber Eats, Wolt or ResQ
|
|
56366
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55257
56367
|
* @param {CreateOnboardingSessionDto} createOnboardingSessionDto
|
|
55258
56368
|
* @param {*} [options] Override http request option.
|
|
55259
56369
|
* @throws {RequiredError}
|
|
@@ -55291,9 +56401,9 @@ export const ProviderApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
55291
56401
|
};
|
|
55292
56402
|
},
|
|
55293
56403
|
/**
|
|
55294
|
-
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or wolt-service
|
|
55295
|
-
* @summary Disconnect a venue from Uber Eats or
|
|
55296
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56404
|
+
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or the message of wolt-service or resq-service.
|
|
56405
|
+
* @summary Disconnect a venue from Uber Eats, Wolt or ResQ
|
|
56406
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55297
56407
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55298
56408
|
* @param {*} [options] Override http request option.
|
|
55299
56409
|
* @throws {RequiredError}
|
|
@@ -55363,9 +56473,9 @@ export const ProviderApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
55363
56473
|
};
|
|
55364
56474
|
},
|
|
55365
56475
|
/**
|
|
55366
|
-
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt and
|
|
55367
|
-
* @summary Whether a venue is connected to Uber Eats or
|
|
55368
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56476
|
+
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt, WoltStorefront and ResQ. Not cached: the dashboard acts on it.
|
|
56477
|
+
* @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
|
|
56478
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55369
56479
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55370
56480
|
* @param {*} [options] Override http request option.
|
|
55371
56481
|
* @throws {RequiredError}
|
|
@@ -55517,6 +56627,50 @@ export const ProviderApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
55517
56627
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
55518
56628
|
localVarRequestOptions.data = serializeDataIfNeeded(updateProviderSettingsDto, localVarRequestOptions, configuration)
|
|
55519
56629
|
|
|
56630
|
+
return {
|
|
56631
|
+
url: toPathString(localVarUrlObj),
|
|
56632
|
+
options: localVarRequestOptions,
|
|
56633
|
+
};
|
|
56634
|
+
},
|
|
56635
|
+
/**
|
|
56636
|
+
* 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.
|
|
56637
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
56638
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
56639
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
56640
|
+
* @param {*} [options] Override http request option.
|
|
56641
|
+
* @throws {RequiredError}
|
|
56642
|
+
*/
|
|
56643
|
+
updateVenueProviders: async (businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56644
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
56645
|
+
assertParamExists('updateVenueProviders', 'businessId', businessId)
|
|
56646
|
+
// verify required parameter 'updateVenueProvidersDto' is not null or undefined
|
|
56647
|
+
assertParamExists('updateVenueProviders', 'updateVenueProvidersDto', updateVenueProvidersDto)
|
|
56648
|
+
const localVarPath = `/api/v2/venues/{businessId}/providers`
|
|
56649
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
56650
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56651
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56652
|
+
let baseOptions;
|
|
56653
|
+
if (configuration) {
|
|
56654
|
+
baseOptions = configuration.baseOptions;
|
|
56655
|
+
}
|
|
56656
|
+
|
|
56657
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
56658
|
+
const localVarHeaderParameter = {} as any;
|
|
56659
|
+
const localVarQueryParameter = {} as any;
|
|
56660
|
+
|
|
56661
|
+
// authentication JWT-auth required
|
|
56662
|
+
// http bearer authentication required
|
|
56663
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
56664
|
+
|
|
56665
|
+
|
|
56666
|
+
|
|
56667
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
56668
|
+
|
|
56669
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56670
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56671
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
56672
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateVenueProvidersDto, localVarRequestOptions, configuration)
|
|
56673
|
+
|
|
55520
56674
|
return {
|
|
55521
56675
|
url: toPathString(localVarUrlObj),
|
|
55522
56676
|
options: localVarRequestOptions,
|
|
@@ -55533,9 +56687,9 @@ export const ProviderApiFp = function(configuration?: Configuration) {
|
|
|
55533
56687
|
const localVarAxiosParamCreator = ProviderApiAxiosParamCreator(configuration)
|
|
55534
56688
|
return {
|
|
55535
56689
|
/**
|
|
55536
|
-
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
55537
|
-
* @summary Start connecting a venue to Uber Eats or
|
|
55538
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56690
|
+
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront, resq-service for ResQ) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
56691
|
+
* @summary Start connecting a venue to Uber Eats, Wolt or ResQ
|
|
56692
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55539
56693
|
* @param {CreateOnboardingSessionDto} createOnboardingSessionDto
|
|
55540
56694
|
* @param {*} [options] Override http request option.
|
|
55541
56695
|
* @throws {RequiredError}
|
|
@@ -55545,9 +56699,9 @@ export const ProviderApiFp = function(configuration?: Configuration) {
|
|
|
55545
56699
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55546
56700
|
},
|
|
55547
56701
|
/**
|
|
55548
|
-
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or wolt-service
|
|
55549
|
-
* @summary Disconnect a venue from Uber Eats or
|
|
55550
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56702
|
+
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or the message of wolt-service or resq-service.
|
|
56703
|
+
* @summary Disconnect a venue from Uber Eats, Wolt or ResQ
|
|
56704
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55551
56705
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55552
56706
|
* @param {*} [options] Override http request option.
|
|
55553
56707
|
* @throws {RequiredError}
|
|
@@ -55568,9 +56722,9 @@ export const ProviderApiFp = function(configuration?: Configuration) {
|
|
|
55568
56722
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55569
56723
|
},
|
|
55570
56724
|
/**
|
|
55571
|
-
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt and
|
|
55572
|
-
* @summary Whether a venue is connected to Uber Eats or
|
|
55573
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56725
|
+
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt, WoltStorefront and ResQ. Not cached: the dashboard acts on it.
|
|
56726
|
+
* @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
|
|
56727
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55574
56728
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55575
56729
|
* @param {*} [options] Override http request option.
|
|
55576
56730
|
* @throws {RequiredError}
|
|
@@ -55616,6 +56770,18 @@ export const ProviderApiFp = function(configuration?: Configuration) {
|
|
|
55616
56770
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateProviderSettings(businessId, updateProviderSettingsDto, options);
|
|
55617
56771
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
55618
56772
|
},
|
|
56773
|
+
/**
|
|
56774
|
+
* 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.
|
|
56775
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
56776
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
56777
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
56778
|
+
* @param {*} [options] Override http request option.
|
|
56779
|
+
* @throws {RequiredError}
|
|
56780
|
+
*/
|
|
56781
|
+
async updateVenueProviders(businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatedVenueProvidersDto>> {
|
|
56782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateVenueProviders(businessId, updateVenueProvidersDto, options);
|
|
56783
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
56784
|
+
},
|
|
55619
56785
|
}
|
|
55620
56786
|
};
|
|
55621
56787
|
|
|
@@ -55627,9 +56793,9 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
|
|
|
55627
56793
|
const localVarFp = ProviderApiFp(configuration)
|
|
55628
56794
|
return {
|
|
55629
56795
|
/**
|
|
55630
|
-
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
55631
|
-
* @summary Start connecting a venue to Uber Eats or
|
|
55632
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56796
|
+
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront, resq-service for ResQ) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
56797
|
+
* @summary Start connecting a venue to Uber Eats, Wolt or ResQ
|
|
56798
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55633
56799
|
* @param {CreateOnboardingSessionDto} createOnboardingSessionDto
|
|
55634
56800
|
* @param {*} [options] Override http request option.
|
|
55635
56801
|
* @throws {RequiredError}
|
|
@@ -55638,9 +56804,9 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
|
|
|
55638
56804
|
return localVarFp.createOnboardingSession(channel, createOnboardingSessionDto, options).then((request) => request(axios, basePath));
|
|
55639
56805
|
},
|
|
55640
56806
|
/**
|
|
55641
|
-
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or wolt-service
|
|
55642
|
-
* @summary Disconnect a venue from Uber Eats or
|
|
55643
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56807
|
+
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or the message of wolt-service or resq-service.
|
|
56808
|
+
* @summary Disconnect a venue from Uber Eats, Wolt or ResQ
|
|
56809
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55644
56810
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55645
56811
|
* @param {*} [options] Override http request option.
|
|
55646
56812
|
* @throws {RequiredError}
|
|
@@ -55659,9 +56825,9 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
|
|
|
55659
56825
|
return localVarFp.getMenuIntegrations(businessId, options).then((request) => request(axios, basePath));
|
|
55660
56826
|
},
|
|
55661
56827
|
/**
|
|
55662
|
-
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt and
|
|
55663
|
-
* @summary Whether a venue is connected to Uber Eats or
|
|
55664
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56828
|
+
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt, WoltStorefront and ResQ. Not cached: the dashboard acts on it.
|
|
56829
|
+
* @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
|
|
56830
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55665
56831
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55666
56832
|
* @param {*} [options] Override http request option.
|
|
55667
56833
|
* @throws {RequiredError}
|
|
@@ -55703,6 +56869,17 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
|
|
|
55703
56869
|
updateProviderSettings(businessId: number, updateProviderSettingsDto: UpdateProviderSettingsDto, options?: any): AxiosPromise<UpdateProviderSettingsDto> {
|
|
55704
56870
|
return localVarFp.updateProviderSettings(businessId, updateProviderSettingsDto, options).then((request) => request(axios, basePath));
|
|
55705
56871
|
},
|
|
56872
|
+
/**
|
|
56873
|
+
* 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.
|
|
56874
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
56875
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
56876
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
56877
|
+
* @param {*} [options] Override http request option.
|
|
56878
|
+
* @throws {RequiredError}
|
|
56879
|
+
*/
|
|
56880
|
+
updateVenueProviders(businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options?: any): AxiosPromise<UpdatedVenueProvidersDto> {
|
|
56881
|
+
return localVarFp.updateVenueProviders(businessId, updateVenueProvidersDto, options).then((request) => request(axios, basePath));
|
|
56882
|
+
},
|
|
55706
56883
|
};
|
|
55707
56884
|
};
|
|
55708
56885
|
|
|
@@ -55713,9 +56890,9 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
|
|
|
55713
56890
|
*/
|
|
55714
56891
|
export interface ProviderApiInterface {
|
|
55715
56892
|
/**
|
|
55716
|
-
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
55717
|
-
* @summary Start connecting a venue to Uber Eats or
|
|
55718
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56893
|
+
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront, resq-service for ResQ) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
56894
|
+
* @summary Start connecting a venue to Uber Eats, Wolt or ResQ
|
|
56895
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55719
56896
|
* @param {CreateOnboardingSessionDto} createOnboardingSessionDto
|
|
55720
56897
|
* @param {*} [options] Override http request option.
|
|
55721
56898
|
* @throws {RequiredError}
|
|
@@ -55724,9 +56901,9 @@ export interface ProviderApiInterface {
|
|
|
55724
56901
|
createOnboardingSession(channel: ProviderEnum, createOnboardingSessionDto: CreateOnboardingSessionDto, options?: AxiosRequestConfig): AxiosPromise<OnboardingSessionDto>;
|
|
55725
56902
|
|
|
55726
56903
|
/**
|
|
55727
|
-
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or wolt-service
|
|
55728
|
-
* @summary Disconnect a venue from Uber Eats or
|
|
55729
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56904
|
+
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or the message of wolt-service or resq-service.
|
|
56905
|
+
* @summary Disconnect a venue from Uber Eats, Wolt or ResQ
|
|
56906
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55730
56907
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55731
56908
|
* @param {*} [options] Override http request option.
|
|
55732
56909
|
* @throws {RequiredError}
|
|
@@ -55745,9 +56922,9 @@ export interface ProviderApiInterface {
|
|
|
55745
56922
|
getMenuIntegrations(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<ProviderIntegrationDto>>;
|
|
55746
56923
|
|
|
55747
56924
|
/**
|
|
55748
|
-
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt and
|
|
55749
|
-
* @summary Whether a venue is connected to Uber Eats or
|
|
55750
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56925
|
+
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt, WoltStorefront and ResQ. Not cached: the dashboard acts on it.
|
|
56926
|
+
* @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
|
|
56927
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55751
56928
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55752
56929
|
* @param {*} [options] Override http request option.
|
|
55753
56930
|
* @throws {RequiredError}
|
|
@@ -55789,6 +56966,17 @@ export interface ProviderApiInterface {
|
|
|
55789
56966
|
*/
|
|
55790
56967
|
updateProviderSettings(businessId: number, updateProviderSettingsDto: UpdateProviderSettingsDto, options?: AxiosRequestConfig): AxiosPromise<UpdateProviderSettingsDto>;
|
|
55791
56968
|
|
|
56969
|
+
/**
|
|
56970
|
+
* 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.
|
|
56971
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
56972
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
56973
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
56974
|
+
* @param {*} [options] Override http request option.
|
|
56975
|
+
* @throws {RequiredError}
|
|
56976
|
+
* @memberof ProviderApiInterface
|
|
56977
|
+
*/
|
|
56978
|
+
updateVenueProviders(businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options?: AxiosRequestConfig): AxiosPromise<UpdatedVenueProvidersDto>;
|
|
56979
|
+
|
|
55792
56980
|
}
|
|
55793
56981
|
|
|
55794
56982
|
/**
|
|
@@ -55799,9 +56987,9 @@ export interface ProviderApiInterface {
|
|
|
55799
56987
|
*/
|
|
55800
56988
|
export class ProviderApi extends BaseAPI implements ProviderApiInterface {
|
|
55801
56989
|
/**
|
|
55802
|
-
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
55803
|
-
* @summary Start connecting a venue to Uber Eats or
|
|
55804
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
56990
|
+
* Asks the channel\'s service (ubereats-service for UberEats, wolt-service for Wolt and WoltStorefront, resq-service for ResQ) for a sign-in session and answers it as that service answered it. Nothing is written here.
|
|
56991
|
+
* @summary Start connecting a venue to Uber Eats, Wolt or ResQ
|
|
56992
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55805
56993
|
* @param {CreateOnboardingSessionDto} createOnboardingSessionDto
|
|
55806
56994
|
* @param {*} [options] Override http request option.
|
|
55807
56995
|
* @throws {RequiredError}
|
|
@@ -55812,9 +57000,9 @@ export class ProviderApi extends BaseAPI implements ProviderApiInterface {
|
|
|
55812
57000
|
}
|
|
55813
57001
|
|
|
55814
57002
|
/**
|
|
55815
|
-
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or wolt-service
|
|
55816
|
-
* @summary Disconnect a venue from Uber Eats or
|
|
55817
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
57003
|
+
* The channel\'s service disconnects the venue, writes its provider row and announces the change; its answer is passed on as it is: Uber Eats\' disconnected store, or the message of wolt-service or resq-service.
|
|
57004
|
+
* @summary Disconnect a venue from Uber Eats, Wolt or ResQ
|
|
57005
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55818
57006
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55819
57007
|
* @param {*} [options] Override http request option.
|
|
55820
57008
|
* @throws {RequiredError}
|
|
@@ -55837,9 +57025,9 @@ export class ProviderApi extends BaseAPI implements ProviderApiInterface {
|
|
|
55837
57025
|
}
|
|
55838
57026
|
|
|
55839
57027
|
/**
|
|
55840
|
-
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt and
|
|
55841
|
-
* @summary Whether a venue is connected to Uber Eats or
|
|
55842
|
-
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or
|
|
57028
|
+
* The channel\'s service answers, and its answer is passed on as it is: Uber Eats\' shape for UberEats, Wolt\'s for Wolt, WoltStorefront and ResQ. Not cached: the dashboard acts on it.
|
|
57029
|
+
* @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
|
|
57030
|
+
* @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
|
|
55843
57031
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
55844
57032
|
* @param {*} [options] Override http request option.
|
|
55845
57033
|
* @throws {RequiredError}
|
|
@@ -55888,6 +57076,19 @@ export class ProviderApi extends BaseAPI implements ProviderApiInterface {
|
|
|
55888
57076
|
public updateProviderSettings(businessId: number, updateProviderSettingsDto: UpdateProviderSettingsDto, options?: AxiosRequestConfig) {
|
|
55889
57077
|
return ProviderApiFp(this.configuration).updateProviderSettings(businessId, updateProviderSettingsDto, options).then((request) => request(this.axios, this.basePath));
|
|
55890
57078
|
}
|
|
57079
|
+
|
|
57080
|
+
/**
|
|
57081
|
+
* 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.
|
|
57082
|
+
* @summary Turn a venue\'s channels on or off, and change their auto-accept and integrations
|
|
57083
|
+
* @param {number} businessId The venue\'s orderingBusinessId
|
|
57084
|
+
* @param {UpdateVenueProvidersDto} updateVenueProvidersDto
|
|
57085
|
+
* @param {*} [options] Override http request option.
|
|
57086
|
+
* @throws {RequiredError}
|
|
57087
|
+
* @memberof ProviderApi
|
|
57088
|
+
*/
|
|
57089
|
+
public updateVenueProviders(businessId: number, updateVenueProvidersDto: UpdateVenueProvidersDto, options?: AxiosRequestConfig) {
|
|
57090
|
+
return ProviderApiFp(this.configuration).updateVenueProviders(businessId, updateVenueProvidersDto, options).then((request) => request(this.axios, this.basePath));
|
|
57091
|
+
}
|
|
55891
57092
|
}
|
|
55892
57093
|
|
|
55893
57094
|
|
|
@@ -55901,11 +57102,11 @@ export const ReceiptFooterApiAxiosParamCreator = function (configuration?: Confi
|
|
|
55901
57102
|
* The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
|
|
55902
57103
|
* @summary Get the receipt footer config for a business + channel
|
|
55903
57104
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
55904
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57105
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
55905
57106
|
* @param {*} [options] Override http request option.
|
|
55906
57107
|
* @throws {RequiredError}
|
|
55907
57108
|
*/
|
|
55908
|
-
receiptFooterGetConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57109
|
+
receiptFooterGetConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55909
57110
|
// verify required parameter 'businessId' is not null or undefined
|
|
55910
57111
|
assertParamExists('receiptFooterGetConfig', 'businessId', businessId)
|
|
55911
57112
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -55946,12 +57147,12 @@ export const ReceiptFooterApiAxiosParamCreator = function (configuration?: Confi
|
|
|
55946
57147
|
* Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
|
|
55947
57148
|
* @summary Create or update the receipt footer config for a business + channel
|
|
55948
57149
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
55949
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57150
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
55950
57151
|
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
55951
57152
|
* @param {*} [options] Override http request option.
|
|
55952
57153
|
* @throws {RequiredError}
|
|
55953
57154
|
*/
|
|
55954
|
-
receiptFooterUpsertConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57155
|
+
receiptFooterUpsertConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55955
57156
|
// verify required parameter 'businessId' is not null or undefined
|
|
55956
57157
|
assertParamExists('receiptFooterUpsertConfig', 'businessId', businessId)
|
|
55957
57158
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -56007,11 +57208,11 @@ export const ReceiptFooterApiFp = function(configuration?: Configuration) {
|
|
|
56007
57208
|
* The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
|
|
56008
57209
|
* @summary Get the receipt footer config for a business + channel
|
|
56009
57210
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
56010
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57211
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
56011
57212
|
* @param {*} [options] Override http request option.
|
|
56012
57213
|
* @throws {RequiredError}
|
|
56013
57214
|
*/
|
|
56014
|
-
async receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>> {
|
|
57215
|
+
async receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>> {
|
|
56015
57216
|
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptFooterGetConfig(businessId, xAppX, options);
|
|
56016
57217
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
56017
57218
|
},
|
|
@@ -56019,12 +57220,12 @@ export const ReceiptFooterApiFp = function(configuration?: Configuration) {
|
|
|
56019
57220
|
* Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
|
|
56020
57221
|
* @summary Create or update the receipt footer config for a business + channel
|
|
56021
57222
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
56022
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57223
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
56023
57224
|
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
56024
57225
|
* @param {*} [options] Override http request option.
|
|
56025
57226
|
* @throws {RequiredError}
|
|
56026
57227
|
*/
|
|
56027
|
-
async receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>> {
|
|
57228
|
+
async receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>> {
|
|
56028
57229
|
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options);
|
|
56029
57230
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
56030
57231
|
},
|
|
@@ -56042,23 +57243,23 @@ export const ReceiptFooterApiFactory = function (configuration?: Configuration,
|
|
|
56042
57243
|
* The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
|
|
56043
57244
|
* @summary Get the receipt footer config for a business + channel
|
|
56044
57245
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
56045
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57246
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
56046
57247
|
* @param {*} [options] Override http request option.
|
|
56047
57248
|
* @throws {RequiredError}
|
|
56048
57249
|
*/
|
|
56049
|
-
receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: any): AxiosPromise<ReceiptFooterConfigDto> {
|
|
57250
|
+
receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<ReceiptFooterConfigDto> {
|
|
56050
57251
|
return localVarFp.receiptFooterGetConfig(businessId, xAppX, options).then((request) => request(axios, basePath));
|
|
56051
57252
|
},
|
|
56052
57253
|
/**
|
|
56053
57254
|
* Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
|
|
56054
57255
|
* @summary Create or update the receipt footer config for a business + channel
|
|
56055
57256
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
56056
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57257
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
56057
57258
|
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
56058
57259
|
* @param {*} [options] Override http request option.
|
|
56059
57260
|
* @throws {RequiredError}
|
|
56060
57261
|
*/
|
|
56061
|
-
receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto> {
|
|
57262
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto> {
|
|
56062
57263
|
return localVarFp.receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options).then((request) => request(axios, basePath));
|
|
56063
57264
|
},
|
|
56064
57265
|
};
|
|
@@ -56074,24 +57275,24 @@ export interface ReceiptFooterApiInterface {
|
|
|
56074
57275
|
* The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
|
|
56075
57276
|
* @summary Get the receipt footer config for a business + channel
|
|
56076
57277
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
56077
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57278
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
56078
57279
|
* @param {*} [options] Override http request option.
|
|
56079
57280
|
* @throws {RequiredError}
|
|
56080
57281
|
* @memberof ReceiptFooterApiInterface
|
|
56081
57282
|
*/
|
|
56082
|
-
receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
|
|
57283
|
+
receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
|
|
56083
57284
|
|
|
56084
57285
|
/**
|
|
56085
57286
|
* Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
|
|
56086
57287
|
* @summary Create or update the receipt footer config for a business + channel
|
|
56087
57288
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
56088
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57289
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
56089
57290
|
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
56090
57291
|
* @param {*} [options] Override http request option.
|
|
56091
57292
|
* @throws {RequiredError}
|
|
56092
57293
|
* @memberof ReceiptFooterApiInterface
|
|
56093
57294
|
*/
|
|
56094
|
-
receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
|
|
57295
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
|
|
56095
57296
|
|
|
56096
57297
|
}
|
|
56097
57298
|
|
|
@@ -56106,12 +57307,12 @@ export class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterfa
|
|
|
56106
57307
|
* The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
|
|
56107
57308
|
* @summary Get the receipt footer config for a business + channel
|
|
56108
57309
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
56109
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57310
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
56110
57311
|
* @param {*} [options] Override http request option.
|
|
56111
57312
|
* @throws {RequiredError}
|
|
56112
57313
|
* @memberof ReceiptFooterApi
|
|
56113
57314
|
*/
|
|
56114
|
-
public receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig) {
|
|
57315
|
+
public receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
|
|
56115
57316
|
return ReceiptFooterApiFp(this.configuration).receiptFooterGetConfig(businessId, xAppX, options).then((request) => request(this.axios, this.basePath));
|
|
56116
57317
|
}
|
|
56117
57318
|
|
|
@@ -56119,13 +57320,13 @@ export class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterfa
|
|
|
56119
57320
|
* Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
|
|
56120
57321
|
* @summary Create or update the receipt footer config for a business + channel
|
|
56121
57322
|
* @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
|
|
56122
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
57323
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
|
|
56123
57324
|
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
56124
57325
|
* @param {*} [options] Override http request option.
|
|
56125
57326
|
* @throws {RequiredError}
|
|
56126
57327
|
* @memberof ReceiptFooterApi
|
|
56127
57328
|
*/
|
|
56128
|
-
public receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) {
|
|
57329
|
+
public receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) {
|
|
56129
57330
|
return ReceiptFooterApiFp(this.configuration).receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options).then((request) => request(this.axios, this.basePath));
|
|
56130
57331
|
}
|
|
56131
57332
|
}
|