@munchi_oy/core 2.0.5 → 2.0.6

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/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
@@ -5554,6 +5627,35 @@ export const DeliveryIntentStatus = {
5554
5627
  export type DeliveryIntentStatus = typeof DeliveryIntentStatus[keyof typeof DeliveryIntentStatus];
5555
5628
 
5556
5629
 
5630
+ /**
5631
+ *
5632
+ * @export
5633
+ * @enum {string}
5634
+ */
5635
+
5636
+ export const DeliveryPlatformConnection = {
5637
+ Created: 'created',
5638
+ Reactivated: 'reactivated',
5639
+ AlreadyActive: 'already_active'
5640
+ } as const;
5641
+
5642
+ export type DeliveryPlatformConnection = typeof DeliveryPlatformConnection[keyof typeof DeliveryPlatformConnection];
5643
+
5644
+
5645
+ /**
5646
+ *
5647
+ * @export
5648
+ * @enum {string}
5649
+ */
5650
+
5651
+ export const DeliveryPlatformOpsConnect = {
5652
+ Foodora: 'Foodora',
5653
+ Bolt: 'Bolt'
5654
+ } as const;
5655
+
5656
+ export type DeliveryPlatformOpsConnect = typeof DeliveryPlatformOpsConnect[keyof typeof DeliveryPlatformOpsConnect];
5657
+
5658
+
5557
5659
  /**
5558
5660
  *
5559
5661
  * @export
@@ -5757,6 +5859,33 @@ export interface DiningTableResponseDto {
5757
5859
  */
5758
5860
  export type DisconnectOnboarding200Response = DisconnectedUberEatsStoreDto | DisconnectedWoltVenueDto;
5759
5861
 
5862
+ /**
5863
+ *
5864
+ * @export
5865
+ * @interface DisconnectedDeliveryPlatformDto
5866
+ */
5867
+ export interface DisconnectedDeliveryPlatformDto {
5868
+ /**
5869
+ * The Munchi venue id (orderingBusinessId)
5870
+ * @type {number}
5871
+ * @memberof DisconnectedDeliveryPlatformDto
5872
+ */
5873
+ 'venueId': number;
5874
+ /**
5875
+ *
5876
+ * @type {DeliveryPlatformOpsConnect}
5877
+ * @memberof DisconnectedDeliveryPlatformDto
5878
+ */
5879
+ 'channel': DeliveryPlatformOpsConnect;
5880
+ /**
5881
+ * The store ids of the rows made inactive: one, unless rows were written by hand under several. Kept, so a connect with the same store id reactivates its row
5882
+ * @type {Array<string>}
5883
+ * @memberof DisconnectedDeliveryPlatformDto
5884
+ */
5885
+ 'externalIds': Array<string>;
5886
+ }
5887
+
5888
+
5760
5889
  /**
5761
5890
  *
5762
5891
  * @export
@@ -17719,6 +17848,19 @@ export interface PaymentSessionAnalyticsResponseDtoResolvedRange {
17719
17848
  */
17720
17849
  'end': string;
17721
17850
  }
17851
+ /**
17852
+ *
17853
+ * @export
17854
+ * @interface PaymentSessionCurrencyDto
17855
+ */
17856
+ export interface PaymentSessionCurrencyDto {
17857
+ /**
17858
+ * The ISO 4217 code of the currency the payment session was taken in, as stored on the session (`PaymentSession.currency`)
17859
+ * @type {string}
17860
+ * @memberof PaymentSessionCurrencyDto
17861
+ */
17862
+ 'currency': string;
17863
+ }
17722
17864
  /**
17723
17865
  *
17724
17866
  * @export
@@ -22496,7 +22638,8 @@ export const ProviderEnum = {
22496
22638
  Kiosk: 'Kiosk',
22497
22639
  WoltStorefront: 'WoltStorefront',
22498
22640
  Storefront: 'Storefront',
22499
- MunchiPay: 'MunchiPay'
22641
+ MunchiPay: 'MunchiPay',
22642
+ ResQ: 'ResQ'
22500
22643
  } as const;
22501
22644
 
22502
22645
  export type ProviderEnum = typeof ProviderEnum[keyof typeof ProviderEnum];
@@ -32204,6 +32347,21 @@ export interface VendureSellerUpsertDto {
32204
32347
  */
32205
32348
  'schedule'?: Array<object>;
32206
32349
  }
32350
+ /**
32351
+ *
32352
+ * @export
32353
+ * @interface VenueCurrencyDto
32354
+ */
32355
+ export interface VenueCurrencyDto {
32356
+ /**
32357
+ *
32358
+ * @type {CurrencyCode}
32359
+ * @memberof VenueCurrencyDto
32360
+ */
32361
+ 'currency': CurrencyCode;
32362
+ }
32363
+
32364
+
32207
32365
  /**
32208
32366
  *
32209
32367
  * @export
@@ -36357,6 +36515,44 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
36357
36515
 
36358
36516
 
36359
36517
 
36518
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36519
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36520
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36521
+
36522
+ return {
36523
+ url: toPathString(localVarUrlObj),
36524
+ options: localVarRequestOptions,
36525
+ };
36526
+ },
36527
+ /**
36528
+ * 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).
36529
+ * @summary Get the currency the venue sells in
36530
+ * @param {number} businessId The venue\&#39;s business id (orderingBusinessId)
36531
+ * @param {*} [options] Override http request option.
36532
+ * @throws {RequiredError}
36533
+ */
36534
+ getVenueCurrency: async (businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36535
+ // verify required parameter 'businessId' is not null or undefined
36536
+ assertParamExists('getVenueCurrency', 'businessId', businessId)
36537
+ const localVarPath = `/api/v1/business/{businessId}/currency`
36538
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
36539
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36540
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36541
+ let baseOptions;
36542
+ if (configuration) {
36543
+ baseOptions = configuration.baseOptions;
36544
+ }
36545
+
36546
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36547
+ const localVarHeaderParameter = {} as any;
36548
+ const localVarQueryParameter = {} as any;
36549
+
36550
+ // authentication JWT-auth required
36551
+ // http bearer authentication required
36552
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36553
+
36554
+
36555
+
36360
36556
  setSearchParams(localVarUrlObj, localVarQueryParameter);
36361
36557
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36362
36558
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -36629,6 +36825,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
36629
36825
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSingleBusinessProviderStatus(businessId, provider, externalId, options);
36630
36826
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36631
36827
  },
36828
+ /**
36829
+ * 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).
36830
+ * @summary Get the currency the venue sells in
36831
+ * @param {number} businessId The venue\&#39;s business id (orderingBusinessId)
36832
+ * @param {*} [options] Override http request option.
36833
+ * @throws {RequiredError}
36834
+ */
36835
+ async getVenueCurrency(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueCurrencyDto>> {
36836
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVenueCurrency(businessId, options);
36837
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36838
+ },
36632
36839
  /**
36633
36840
  * 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
36841
  * @summary Open or close one of the venue\'s sales channels
@@ -36814,6 +37021,16 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
36814
37021
  getSingleBusinessProviderStatus(businessId: string, provider: ProviderEnum, externalId: string, options?: any): AxiosPromise<SingleProviderStatusResponseDto> {
36815
37022
  return localVarFp.getSingleBusinessProviderStatus(businessId, provider, externalId, options).then((request) => request(axios, basePath));
36816
37023
  },
37024
+ /**
37025
+ * 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).
37026
+ * @summary Get the currency the venue sells in
37027
+ * @param {number} businessId The venue\&#39;s business id (orderingBusinessId)
37028
+ * @param {*} [options] Override http request option.
37029
+ * @throws {RequiredError}
37030
+ */
37031
+ getVenueCurrency(businessId: number, options?: any): AxiosPromise<VenueCurrencyDto> {
37032
+ return localVarFp.getVenueCurrency(businessId, options).then((request) => request(axios, basePath));
37033
+ },
36817
37034
  /**
36818
37035
  * 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
37036
  * @summary Open or close one of the venue\'s sales channels
@@ -36996,6 +37213,16 @@ export interface BusinessApiInterface {
36996
37213
  */
36997
37214
  getSingleBusinessProviderStatus(businessId: string, provider: ProviderEnum, externalId: string, options?: AxiosRequestConfig): AxiosPromise<SingleProviderStatusResponseDto>;
36998
37215
 
37216
+ /**
37217
+ * 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).
37218
+ * @summary Get the currency the venue sells in
37219
+ * @param {number} businessId The venue\&#39;s business id (orderingBusinessId)
37220
+ * @param {*} [options] Override http request option.
37221
+ * @throws {RequiredError}
37222
+ * @memberof BusinessApiInterface
37223
+ */
37224
+ getVenueCurrency(businessId: number, options?: AxiosRequestConfig): AxiosPromise<VenueCurrencyDto>;
37225
+
36999
37226
  /**
37000
37227
  * 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
37228
  * @summary Open or close one of the venue\'s sales channels
@@ -37206,6 +37433,18 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
37206
37433
  return BusinessApiFp(this.configuration).getSingleBusinessProviderStatus(businessId, provider, externalId, options).then((request) => request(this.axios, this.basePath));
37207
37434
  }
37208
37435
 
37436
+ /**
37437
+ * 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).
37438
+ * @summary Get the currency the venue sells in
37439
+ * @param {number} businessId The venue\&#39;s business id (orderingBusinessId)
37440
+ * @param {*} [options] Override http request option.
37441
+ * @throws {RequiredError}
37442
+ * @memberof BusinessApi
37443
+ */
37444
+ public getVenueCurrency(businessId: number, options?: AxiosRequestConfig) {
37445
+ return BusinessApiFp(this.configuration).getVenueCurrency(businessId, options).then((request) => request(this.axios, this.basePath));
37446
+ }
37447
+
37209
37448
  /**
37210
37449
  * 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
37450
  * @summary Open or close one of the venue\'s sales channels
@@ -37619,11 +37858,11 @@ export const CashManagementApiAxiosParamCreator = function (configuration?: Conf
37619
37858
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
37620
37859
  * @param {string} sessionId The cash session\&#39;s id
37621
37860
  * @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.
37861
+ * @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
37862
  * @param {*} [options] Override http request option.
37624
37863
  * @throws {RequiredError}
37625
37864
  */
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> => {
37865
+ 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
37866
  // verify required parameter 'businessId' is not null or undefined
37628
37867
  assertParamExists('sendSessionReport', 'businessId', businessId)
37629
37868
  // verify required parameter 'sessionId' is not null or undefined
@@ -37746,11 +37985,11 @@ export const CashManagementApiFp = function(configuration?: Configuration) {
37746
37985
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
37747
37986
  * @param {string} sessionId The cash session\&#39;s id
37748
37987
  * @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.
37988
+ * @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
37989
  * @param {*} [options] Override http request option.
37751
37990
  * @throws {RequiredError}
37752
37991
  */
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>> {
37992
+ 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
37993
  const localVarAxiosArgs = await localVarAxiosParamCreator.sendSessionReport(businessId, sessionId, sendCashReportDto, xAppX, options);
37755
37994
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37756
37995
  },
@@ -37829,11 +38068,11 @@ export const CashManagementApiFactory = function (configuration?: Configuration,
37829
38068
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
37830
38069
  * @param {string} sessionId The cash session\&#39;s id
37831
38070
  * @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.
38071
+ * @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
38072
  * @param {*} [options] Override http request option.
37834
38073
  * @throws {RequiredError}
37835
38074
  */
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> {
38075
+ 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
38076
  return localVarFp.sendSessionReport(businessId, sessionId, sendCashReportDto, xAppX, options).then((request) => request(axios, basePath));
37838
38077
  },
37839
38078
  };
@@ -37910,12 +38149,12 @@ export interface CashManagementApiInterface {
37910
38149
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
37911
38150
  * @param {string} sessionId The cash session\&#39;s id
37912
38151
  * @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.
38152
+ * @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
38153
  * @param {*} [options] Override http request option.
37915
38154
  * @throws {RequiredError}
37916
38155
  * @memberof CashManagementApiInterface
37917
38156
  */
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>;
38157
+ 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
38158
 
37920
38159
  }
37921
38160
 
@@ -38001,12 +38240,12 @@ export class CashManagementApi extends BaseAPI implements CashManagementApiInter
38001
38240
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
38002
38241
  * @param {string} sessionId The cash session\&#39;s id
38003
38242
  * @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.
38243
+ * @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
38244
  * @param {*} [options] Override http request option.
38006
38245
  * @throws {RequiredError}
38007
38246
  * @memberof CashManagementApi
38008
38247
  */
38009
- public sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig) {
38248
+ 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
38249
  return CashManagementApiFp(this.configuration).sendSessionReport(businessId, sessionId, sendCashReportDto, xAppX, options).then((request) => request(this.axios, this.basePath));
38011
38250
  }
38012
38251
  }
@@ -38668,12 +38907,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
38668
38907
  * 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
38908
  * @summary Enable or disable first-party Munchi GiftCard integration
38670
38909
  * @param {number} businessId The venue\&#39;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
38910
+ * @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
38911
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
38673
38912
  * @param {*} [options] Override http request option.
38674
38913
  * @throws {RequiredError}
38675
38914
  */
38676
- configConfigureMunchiGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38915
+ 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
38916
  // verify required parameter 'businessId' is not null or undefined
38678
38917
  assertParamExists('configConfigureMunchiGiftCard', 'businessId', businessId)
38679
38918
  // verify required parameter 'xAppX' is not null or undefined
@@ -38719,11 +38958,11 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
38719
38958
  * 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
38959
  * @summary Read a channel\'s card payment providers
38721
38960
  * @param {number} businessId The venue\&#39;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
38961
+ * @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
38962
  * @param {*} [options] Override http request option.
38724
38963
  * @throws {RequiredError}
38725
38964
  */
38726
- configGetProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38965
+ configGetProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38727
38966
  // verify required parameter 'businessId' is not null or undefined
38728
38967
  assertParamExists('configGetProviders', 'businessId', businessId)
38729
38968
  // verify required parameter 'xAppX' is not null or undefined
@@ -38809,11 +39048,11 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
38809
39048
  * @summary Remove payment option
38810
39049
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
38811
39050
  * @param {string} id The payment option\&#39;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
39051
+ * @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
39052
  * @param {*} [options] Override http request option.
38814
39053
  * @throws {RequiredError}
38815
39054
  */
38816
- configRemovePaymentOption: async (businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39055
+ 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
39056
  // verify required parameter 'businessId' is not null or undefined
38818
39057
  assertParamExists('configRemovePaymentOption', 'businessId', businessId)
38819
39058
  // verify required parameter 'id' is not null or undefined
@@ -38857,13 +39096,13 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
38857
39096
  * 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
39097
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
38859
39098
  * @param {number} businessId The venue\&#39;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
39099
+ * @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
39100
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
38862
39101
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
38863
39102
  * @param {*} [options] Override http request option.
38864
39103
  * @throws {RequiredError}
38865
39104
  */
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> => {
39105
+ 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
39106
  // verify required parameter 'businessId' is not null or undefined
38868
39107
  assertParamExists('configSaveEpassiCredentials', 'businessId', businessId)
38869
39108
  // verify required parameter 'xAppX' is not null or undefined
@@ -38959,12 +39198,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
38959
39198
  * 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
39199
  * @summary Create or update a channel\'s config
38961
39200
  * @param {number} businessId The venue\&#39;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
39201
+ * @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
39202
  * @param {UpsertConfigDto} upsertConfigDto
38964
39203
  * @param {*} [options] Override http request option.
38965
39204
  * @throws {RequiredError}
38966
39205
  */
38967
- configUpsertChannelConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertConfigDto: UpsertConfigDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39206
+ 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
39207
  // verify required parameter 'businessId' is not null or undefined
38969
39208
  assertParamExists('configUpsertChannelConfig', 'businessId', businessId)
38970
39209
  // verify required parameter 'xAppX' is not null or undefined
@@ -39010,12 +39249,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
39010
39249
  * 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
39250
  * @summary Create or update a channel\'s third-party gift card integration
39012
39251
  * @param {number} businessId The venue\&#39;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
39252
+ * @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
39253
  * @param {UpsertGiftCardDto} upsertGiftCardDto
39015
39254
  * @param {*} [options] Override http request option.
39016
39255
  * @throws {RequiredError}
39017
39256
  */
39018
- configUpsertGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39257
+ 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
39258
  // verify required parameter 'businessId' is not null or undefined
39020
39259
  assertParamExists('configUpsertGiftCard', 'businessId', businessId)
39021
39260
  // verify required parameter 'xAppX' is not null or undefined
@@ -39105,12 +39344,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
39105
39344
  * 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
39345
  * @summary Create or update a channel\'s Nets config
39107
39346
  * @param {number} businessId The venue\&#39;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
39347
+ * @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
39348
  * @param {UpsertNetsDto} upsertNetsDto
39110
39349
  * @param {*} [options] Override http request option.
39111
39350
  * @throws {RequiredError}
39112
39351
  */
39113
- configUpsertNets: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertNetsDto: UpsertNetsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39352
+ 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
39353
  // verify required parameter 'businessId' is not null or undefined
39115
39354
  assertParamExists('configUpsertNets', 'businessId', businessId)
39116
39355
  // verify required parameter 'xAppX' is not null or undefined
@@ -39156,12 +39395,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
39156
39395
  * 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
39396
  * @summary Create or update a channel\'s checkout payment options
39158
39397
  * @param {number} businessId The venue\&#39;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
39398
+ * @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
39399
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
39161
39400
  * @param {*} [options] Override http request option.
39162
39401
  * @throws {RequiredError}
39163
39402
  */
39164
- configUpsertPaymentOptions: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39403
+ 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
39404
  // verify required parameter 'businessId' is not null or undefined
39166
39405
  assertParamExists('configUpsertPaymentOptions', 'businessId', businessId)
39167
39406
  // verify required parameter 'xAppX' is not null or undefined
@@ -39207,12 +39446,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
39207
39446
  * 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
39447
  * @summary Set active provider and upsert its credentials
39209
39448
  * @param {number} businessId The venue\&#39;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
39449
+ * @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
39450
  * @param {UpsertProvidersDto} upsertProvidersDto
39212
39451
  * @param {*} [options] Override http request option.
39213
39452
  * @throws {RequiredError}
39214
39453
  */
39215
- configUpsertProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertProvidersDto: UpsertProvidersDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39454
+ 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
39455
  // verify required parameter 'businessId' is not null or undefined
39217
39456
  assertParamExists('configUpsertProviders', 'businessId', businessId)
39218
39457
  // verify required parameter 'xAppX' is not null or undefined
@@ -39258,12 +39497,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
39258
39497
  * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
39259
39498
  * @summary Create or update a channel\'s Stripe config
39260
39499
  * @param {number} businessId The venue\&#39;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
39500
+ * @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
39501
  * @param {UpsertStripeDto} upsertStripeDto
39263
39502
  * @param {*} [options] Override http request option.
39264
39503
  * @throws {RequiredError}
39265
39504
  */
39266
- configUpsertStripe: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertStripeDto: UpsertStripeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39505
+ 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
39506
  // verify required parameter 'businessId' is not null or undefined
39268
39507
  assertParamExists('configUpsertStripe', 'businessId', businessId)
39269
39508
  // verify required parameter 'xAppX' is not null or undefined
@@ -39309,12 +39548,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
39309
39548
  * 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
39549
  * @summary Create or update a channel\'s Viva config
39311
39550
  * @param {number} businessId The venue\&#39;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
39551
+ * @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
39552
  * @param {UpsertVivaDto} upsertVivaDto
39314
39553
  * @param {*} [options] Override http request option.
39315
39554
  * @throws {RequiredError}
39316
39555
  */
39317
- configUpsertViva: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertVivaDto: UpsertVivaDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39556
+ 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
39557
  // verify required parameter 'businessId' is not null or undefined
39319
39558
  assertParamExists('configUpsertViva', 'businessId', businessId)
39320
39559
  // verify required parameter 'xAppX' is not null or undefined
@@ -39370,12 +39609,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39370
39609
  * 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
39610
  * @summary Enable or disable first-party Munchi GiftCard integration
39372
39611
  * @param {number} businessId The venue\&#39;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
39612
+ * @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
39613
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
39375
39614
  * @param {*} [options] Override http request option.
39376
39615
  * @throws {RequiredError}
39377
39616
  */
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>> {
39617
+ 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
39618
  const localVarAxiosArgs = await localVarAxiosParamCreator.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options);
39380
39619
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39381
39620
  },
@@ -39383,11 +39622,11 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39383
39622
  * 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
39623
  * @summary Read a channel\'s card payment providers
39385
39624
  * @param {number} businessId The venue\&#39;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
39625
+ * @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
39626
  * @param {*} [options] Override http request option.
39388
39627
  * @throws {RequiredError}
39389
39628
  */
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>> {
39629
+ 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
39630
  const localVarAxiosArgs = await localVarAxiosParamCreator.configGetProviders(businessId, xAppX, options);
39392
39631
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39393
39632
  },
@@ -39408,11 +39647,11 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39408
39647
  * @summary Remove payment option
39409
39648
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
39410
39649
  * @param {string} id The payment option\&#39;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
39650
+ * @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
39651
  * @param {*} [options] Override http request option.
39413
39652
  * @throws {RequiredError}
39414
39653
  */
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>> {
39654
+ 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
39655
  const localVarAxiosArgs = await localVarAxiosParamCreator.configRemovePaymentOption(businessId, id, xAppX, options);
39417
39656
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39418
39657
  },
@@ -39420,13 +39659,13 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39420
39659
  * 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
39660
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
39422
39661
  * @param {number} businessId The venue\&#39;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
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
39424
39663
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
39425
39664
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
39426
39665
  * @param {*} [options] Override http request option.
39427
39666
  * @throws {RequiredError}
39428
39667
  */
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>> {
39668
+ 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
39669
  const localVarAxiosArgs = await localVarAxiosParamCreator.configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options);
39431
39670
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39432
39671
  },
@@ -39446,12 +39685,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39446
39685
  * 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
39686
  * @summary Create or update a channel\'s config
39448
39687
  * @param {number} businessId The venue\&#39;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
39688
+ * @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
39689
  * @param {UpsertConfigDto} upsertConfigDto
39451
39690
  * @param {*} [options] Override http request option.
39452
39691
  * @throws {RequiredError}
39453
39692
  */
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>> {
39693
+ 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
39694
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options);
39456
39695
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39457
39696
  },
@@ -39459,12 +39698,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39459
39698
  * 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
39699
  * @summary Create or update a channel\'s third-party gift card integration
39461
39700
  * @param {number} businessId The venue\&#39;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
39701
+ * @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
39702
  * @param {UpsertGiftCardDto} upsertGiftCardDto
39464
39703
  * @param {*} [options] Override http request option.
39465
39704
  * @throws {RequiredError}
39466
39705
  */
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>> {
39706
+ 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
39707
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options);
39469
39708
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39470
39709
  },
@@ -39484,12 +39723,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39484
39723
  * 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
39724
  * @summary Create or update a channel\'s Nets config
39486
39725
  * @param {number} businessId The venue\&#39;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
39726
+ * @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
39727
  * @param {UpsertNetsDto} upsertNetsDto
39489
39728
  * @param {*} [options] Override http request option.
39490
39729
  * @throws {RequiredError}
39491
39730
  */
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>> {
39731
+ 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
39732
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNets(businessId, xAppX, upsertNetsDto, options);
39494
39733
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39495
39734
  },
@@ -39497,12 +39736,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39497
39736
  * 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
39737
  * @summary Create or update a channel\'s checkout payment options
39499
39738
  * @param {number} businessId The venue\&#39;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
39739
+ * @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
39740
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
39502
39741
  * @param {*} [options] Override http request option.
39503
39742
  * @throws {RequiredError}
39504
39743
  */
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>> {
39744
+ 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
39745
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options);
39507
39746
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39508
39747
  },
@@ -39510,12 +39749,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39510
39749
  * 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
39750
  * @summary Set active provider and upsert its credentials
39512
39751
  * @param {number} businessId The venue\&#39;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
39752
+ * @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
39753
  * @param {UpsertProvidersDto} upsertProvidersDto
39515
39754
  * @param {*} [options] Override http request option.
39516
39755
  * @throws {RequiredError}
39517
39756
  */
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>> {
39757
+ 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
39758
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertProviders(businessId, xAppX, upsertProvidersDto, options);
39520
39759
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39521
39760
  },
@@ -39523,12 +39762,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39523
39762
  * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
39524
39763
  * @summary Create or update a channel\'s Stripe config
39525
39764
  * @param {number} businessId The venue\&#39;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
39765
+ * @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
39766
  * @param {UpsertStripeDto} upsertStripeDto
39528
39767
  * @param {*} [options] Override http request option.
39529
39768
  * @throws {RequiredError}
39530
39769
  */
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>> {
39770
+ 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
39771
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertStripe(businessId, xAppX, upsertStripeDto, options);
39533
39772
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39534
39773
  },
@@ -39536,12 +39775,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
39536
39775
  * 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
39776
  * @summary Create or update a channel\'s Viva config
39538
39777
  * @param {number} businessId The venue\&#39;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
39778
+ * @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
39779
  * @param {UpsertVivaDto} upsertVivaDto
39541
39780
  * @param {*} [options] Override http request option.
39542
39781
  * @throws {RequiredError}
39543
39782
  */
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>> {
39783
+ 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
39784
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertViva(businessId, xAppX, upsertVivaDto, options);
39546
39785
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39547
39786
  },
@@ -39559,23 +39798,23 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
39559
39798
  * 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
39799
  * @summary Enable or disable first-party Munchi GiftCard integration
39561
39800
  * @param {number} businessId The venue\&#39;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
39801
+ * @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
39802
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
39564
39803
  * @param {*} [options] Override http request option.
39565
39804
  * @throws {RequiredError}
39566
39805
  */
39567
- configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39806
+ configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39568
39807
  return localVarFp.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(axios, basePath));
39569
39808
  },
39570
39809
  /**
39571
39810
  * 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
39811
  * @summary Read a channel\'s card payment providers
39573
39812
  * @param {number} businessId The venue\&#39;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
39813
+ * @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
39814
  * @param {*} [options] Override http request option.
39576
39815
  * @throws {RequiredError}
39577
39816
  */
39578
- configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: any): AxiosPromise<ProvidersConfigResponseDto> {
39817
+ configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<ProvidersConfigResponseDto> {
39579
39818
  return localVarFp.configGetProviders(businessId, xAppX, options).then((request) => request(axios, basePath));
39580
39819
  },
39581
39820
  /**
@@ -39594,24 +39833,24 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
39594
39833
  * @summary Remove payment option
39595
39834
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
39596
39835
  * @param {string} id The payment option\&#39;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
39836
+ * @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
39837
  * @param {*} [options] Override http request option.
39599
39838
  * @throws {RequiredError}
39600
39839
  */
39601
- configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: any): AxiosPromise<ConfigManagementResponseDto> {
39840
+ configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<ConfigManagementResponseDto> {
39602
39841
  return localVarFp.configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(axios, basePath));
39603
39842
  },
39604
39843
  /**
39605
39844
  * 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
39845
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
39607
39846
  * @param {number} businessId The venue\&#39;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
39847
+ * @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
39848
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
39610
39849
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
39611
39850
  * @param {*} [options] Override http request option.
39612
39851
  * @throws {RequiredError}
39613
39852
  */
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> {
39853
+ 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
39854
  return localVarFp.configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options).then((request) => request(axios, basePath));
39616
39855
  },
39617
39856
  /**
@@ -39629,24 +39868,24 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
39629
39868
  * 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
39869
  * @summary Create or update a channel\'s config
39631
39870
  * @param {number} businessId The venue\&#39;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
39871
+ * @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
39872
  * @param {UpsertConfigDto} upsertConfigDto
39634
39873
  * @param {*} [options] Override http request option.
39635
39874
  * @throws {RequiredError}
39636
39875
  */
39637
- configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39876
+ configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39638
39877
  return localVarFp.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(axios, basePath));
39639
39878
  },
39640
39879
  /**
39641
39880
  * 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
39881
  * @summary Create or update a channel\'s third-party gift card integration
39643
39882
  * @param {number} businessId The venue\&#39;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
39883
+ * @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
39884
  * @param {UpsertGiftCardDto} upsertGiftCardDto
39646
39885
  * @param {*} [options] Override http request option.
39647
39886
  * @throws {RequiredError}
39648
39887
  */
39649
- configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39888
+ configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39650
39889
  return localVarFp.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(axios, basePath));
39651
39890
  },
39652
39891
  /**
@@ -39664,60 +39903,60 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
39664
39903
  * 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
39904
  * @summary Create or update a channel\'s Nets config
39666
39905
  * @param {number} businessId The venue\&#39;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
39906
+ * @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
39907
  * @param {UpsertNetsDto} upsertNetsDto
39669
39908
  * @param {*} [options] Override http request option.
39670
39909
  * @throws {RequiredError}
39671
39910
  */
39672
- configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39911
+ configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39673
39912
  return localVarFp.configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(axios, basePath));
39674
39913
  },
39675
39914
  /**
39676
39915
  * 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
39916
  * @summary Create or update a channel\'s checkout payment options
39678
39917
  * @param {number} businessId The venue\&#39;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
39918
+ * @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
39919
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
39681
39920
  * @param {*} [options] Override http request option.
39682
39921
  * @throws {RequiredError}
39683
39922
  */
39684
- configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39923
+ configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39685
39924
  return localVarFp.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(axios, basePath));
39686
39925
  },
39687
39926
  /**
39688
39927
  * 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
39928
  * @summary Set active provider and upsert its credentials
39690
39929
  * @param {number} businessId The venue\&#39;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
39930
+ * @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
39931
  * @param {UpsertProvidersDto} upsertProvidersDto
39693
39932
  * @param {*} [options] Override http request option.
39694
39933
  * @throws {RequiredError}
39695
39934
  */
39696
- configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto> {
39935
+ configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto> {
39697
39936
  return localVarFp.configUpsertProviders(businessId, xAppX, upsertProvidersDto, options).then((request) => request(axios, basePath));
39698
39937
  },
39699
39938
  /**
39700
39939
  * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
39701
39940
  * @summary Create or update a channel\'s Stripe config
39702
39941
  * @param {number} businessId The venue\&#39;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
39942
+ * @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
39943
  * @param {UpsertStripeDto} upsertStripeDto
39705
39944
  * @param {*} [options] Override http request option.
39706
39945
  * @throws {RequiredError}
39707
39946
  */
39708
- configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39947
+ configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39709
39948
  return localVarFp.configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(axios, basePath));
39710
39949
  },
39711
39950
  /**
39712
39951
  * 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
39952
  * @summary Create or update a channel\'s Viva config
39714
39953
  * @param {number} businessId The venue\&#39;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
39954
+ * @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
39955
  * @param {UpsertVivaDto} upsertVivaDto
39717
39956
  * @param {*} [options] Override http request option.
39718
39957
  * @throws {RequiredError}
39719
39958
  */
39720
- configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39959
+ configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
39721
39960
  return localVarFp.configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(axios, basePath));
39722
39961
  },
39723
39962
  };
@@ -39733,24 +39972,24 @@ export interface ConfigManagementApiInterface {
39733
39972
  * 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
39973
  * @summary Enable or disable first-party Munchi GiftCard integration
39735
39974
  * @param {number} businessId The venue\&#39;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
39975
+ * @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
39976
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
39738
39977
  * @param {*} [options] Override http request option.
39739
39978
  * @throws {RequiredError}
39740
39979
  * @memberof ConfigManagementApiInterface
39741
39980
  */
39742
- configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
39981
+ configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
39743
39982
 
39744
39983
  /**
39745
39984
  * 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
39985
  * @summary Read a channel\'s card payment providers
39747
39986
  * @param {number} businessId The venue\&#39;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
39987
+ * @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
39988
  * @param {*} [options] Override http request option.
39750
39989
  * @throws {RequiredError}
39751
39990
  * @memberof ConfigManagementApiInterface
39752
39991
  */
39753
- configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
39992
+ configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
39754
39993
 
39755
39994
  /**
39756
39995
  * 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 +40007,25 @@ export interface ConfigManagementApiInterface {
39768
40007
  * @summary Remove payment option
39769
40008
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
39770
40009
  * @param {string} id The payment option\&#39;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
40010
+ * @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
40011
  * @param {*} [options] Override http request option.
39773
40012
  * @throws {RequiredError}
39774
40013
  * @memberof ConfigManagementApiInterface
39775
40014
  */
39776
- configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
40015
+ configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
39777
40016
 
39778
40017
  /**
39779
40018
  * 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
40019
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
39781
40020
  * @param {number} businessId The venue\&#39;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
40021
+ * @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
40022
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
39784
40023
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
39785
40024
  * @param {*} [options] Override http request option.
39786
40025
  * @throws {RequiredError}
39787
40026
  * @memberof ConfigManagementApiInterface
39788
40027
  */
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>;
40028
+ 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
40029
 
39791
40030
  /**
39792
40031
  * 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 +40042,25 @@ export interface ConfigManagementApiInterface {
39803
40042
  * 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
40043
  * @summary Create or update a channel\'s config
39805
40044
  * @param {number} businessId The venue\&#39;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
40045
+ * @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
40046
  * @param {UpsertConfigDto} upsertConfigDto
39808
40047
  * @param {*} [options] Override http request option.
39809
40048
  * @throws {RequiredError}
39810
40049
  * @memberof ConfigManagementApiInterface
39811
40050
  */
39812
- configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
40051
+ configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
39813
40052
 
39814
40053
  /**
39815
40054
  * 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
40055
  * @summary Create or update a channel\'s third-party gift card integration
39817
40056
  * @param {number} businessId The venue\&#39;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
40057
+ * @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
40058
  * @param {UpsertGiftCardDto} upsertGiftCardDto
39820
40059
  * @param {*} [options] Override http request option.
39821
40060
  * @throws {RequiredError}
39822
40061
  * @memberof ConfigManagementApiInterface
39823
40062
  */
39824
- configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
40063
+ configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
39825
40064
 
39826
40065
  /**
39827
40066
  * 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 +40077,61 @@ export interface ConfigManagementApiInterface {
39838
40077
  * 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
40078
  * @summary Create or update a channel\'s Nets config
39840
40079
  * @param {number} businessId The venue\&#39;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
40080
+ * @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
40081
  * @param {UpsertNetsDto} upsertNetsDto
39843
40082
  * @param {*} [options] Override http request option.
39844
40083
  * @throws {RequiredError}
39845
40084
  * @memberof ConfigManagementApiInterface
39846
40085
  */
39847
- configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
40086
+ configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
39848
40087
 
39849
40088
  /**
39850
40089
  * 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
40090
  * @summary Create or update a channel\'s checkout payment options
39852
40091
  * @param {number} businessId The venue\&#39;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
40092
+ * @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
40093
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
39855
40094
  * @param {*} [options] Override http request option.
39856
40095
  * @throws {RequiredError}
39857
40096
  * @memberof ConfigManagementApiInterface
39858
40097
  */
39859
- configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
40098
+ configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
39860
40099
 
39861
40100
  /**
39862
40101
  * 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
40102
  * @summary Set active provider and upsert its credentials
39864
40103
  * @param {number} businessId The venue\&#39;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
40104
+ * @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
40105
  * @param {UpsertProvidersDto} upsertProvidersDto
39867
40106
  * @param {*} [options] Override http request option.
39868
40107
  * @throws {RequiredError}
39869
40108
  * @memberof ConfigManagementApiInterface
39870
40109
  */
39871
- configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
40110
+ configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
39872
40111
 
39873
40112
  /**
39874
40113
  * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
39875
40114
  * @summary Create or update a channel\'s Stripe config
39876
40115
  * @param {number} businessId The venue\&#39;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
40116
+ * @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
40117
  * @param {UpsertStripeDto} upsertStripeDto
39879
40118
  * @param {*} [options] Override http request option.
39880
40119
  * @throws {RequiredError}
39881
40120
  * @memberof ConfigManagementApiInterface
39882
40121
  */
39883
- configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
40122
+ configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
39884
40123
 
39885
40124
  /**
39886
40125
  * 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
40126
  * @summary Create or update a channel\'s Viva config
39888
40127
  * @param {number} businessId The venue\&#39;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
40128
+ * @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
40129
  * @param {UpsertVivaDto} upsertVivaDto
39891
40130
  * @param {*} [options] Override http request option.
39892
40131
  * @throws {RequiredError}
39893
40132
  * @memberof ConfigManagementApiInterface
39894
40133
  */
39895
- configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
40134
+ configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
39896
40135
 
39897
40136
  }
39898
40137
 
@@ -39907,13 +40146,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
39907
40146
  * 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
40147
  * @summary Enable or disable first-party Munchi GiftCard integration
39909
40148
  * @param {number} businessId The venue\&#39;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
40149
+ * @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
40150
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
39912
40151
  * @param {*} [options] Override http request option.
39913
40152
  * @throws {RequiredError}
39914
40153
  * @memberof ConfigManagementApi
39915
40154
  */
39916
- public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
40155
+ public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
39917
40156
  return ConfigManagementApiFp(this.configuration).configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(this.axios, this.basePath));
39918
40157
  }
39919
40158
 
@@ -39921,12 +40160,12 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
39921
40160
  * 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
40161
  * @summary Read a channel\'s card payment providers
39923
40162
  * @param {number} businessId The venue\&#39;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
40163
+ * @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
40164
  * @param {*} [options] Override http request option.
39926
40165
  * @throws {RequiredError}
39927
40166
  * @memberof ConfigManagementApi
39928
40167
  */
39929
- public configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig) {
40168
+ public configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
39930
40169
  return ConfigManagementApiFp(this.configuration).configGetProviders(businessId, xAppX, options).then((request) => request(this.axios, this.basePath));
39931
40170
  }
39932
40171
 
@@ -39948,12 +40187,12 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
39948
40187
  * @summary Remove payment option
39949
40188
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
39950
40189
  * @param {string} id The payment option\&#39;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
40190
+ * @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
40191
  * @param {*} [options] Override http request option.
39953
40192
  * @throws {RequiredError}
39954
40193
  * @memberof ConfigManagementApi
39955
40194
  */
39956
- public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig) {
40195
+ public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
39957
40196
  return ConfigManagementApiFp(this.configuration).configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(this.axios, this.basePath));
39958
40197
  }
39959
40198
 
@@ -39961,14 +40200,14 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
39961
40200
  * 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
40201
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
39963
40202
  * @param {number} businessId The venue\&#39;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
40203
+ * @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
40204
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
39966
40205
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
39967
40206
  * @param {*} [options] Override http request option.
39968
40207
  * @throws {RequiredError}
39969
40208
  * @memberof ConfigManagementApi
39970
40209
  */
39971
- public configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig) {
40210
+ 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
40211
  return ConfigManagementApiFp(this.configuration).configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options).then((request) => request(this.axios, this.basePath));
39973
40212
  }
39974
40213
 
@@ -39989,13 +40228,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
39989
40228
  * 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
40229
  * @summary Create or update a channel\'s config
39991
40230
  * @param {number} businessId The venue\&#39;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
40231
+ * @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
40232
  * @param {UpsertConfigDto} upsertConfigDto
39994
40233
  * @param {*} [options] Override http request option.
39995
40234
  * @throws {RequiredError}
39996
40235
  * @memberof ConfigManagementApi
39997
40236
  */
39998
- public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
40237
+ public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
39999
40238
  return ConfigManagementApiFp(this.configuration).configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(this.axios, this.basePath));
40000
40239
  }
40001
40240
 
@@ -40003,13 +40242,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
40003
40242
  * 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
40243
  * @summary Create or update a channel\'s third-party gift card integration
40005
40244
  * @param {number} businessId The venue\&#39;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
40245
+ * @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
40246
  * @param {UpsertGiftCardDto} upsertGiftCardDto
40008
40247
  * @param {*} [options] Override http request option.
40009
40248
  * @throws {RequiredError}
40010
40249
  * @memberof ConfigManagementApi
40011
40250
  */
40012
- public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
40251
+ public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
40013
40252
  return ConfigManagementApiFp(this.configuration).configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(this.axios, this.basePath));
40014
40253
  }
40015
40254
 
@@ -40030,13 +40269,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
40030
40269
  * 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
40270
  * @summary Create or update a channel\'s Nets config
40032
40271
  * @param {number} businessId The venue\&#39;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
40272
+ * @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
40273
  * @param {UpsertNetsDto} upsertNetsDto
40035
40274
  * @param {*} [options] Override http request option.
40036
40275
  * @throws {RequiredError}
40037
40276
  * @memberof ConfigManagementApi
40038
40277
  */
40039
- public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
40278
+ public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
40040
40279
  return ConfigManagementApiFp(this.configuration).configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(this.axios, this.basePath));
40041
40280
  }
40042
40281
 
@@ -40044,13 +40283,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
40044
40283
  * 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
40284
  * @summary Create or update a channel\'s checkout payment options
40046
40285
  * @param {number} businessId The venue\&#39;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
40286
+ * @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
40287
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
40049
40288
  * @param {*} [options] Override http request option.
40050
40289
  * @throws {RequiredError}
40051
40290
  * @memberof ConfigManagementApi
40052
40291
  */
40053
- public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
40292
+ public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
40054
40293
  return ConfigManagementApiFp(this.configuration).configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(this.axios, this.basePath));
40055
40294
  }
40056
40295
 
@@ -40058,13 +40297,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
40058
40297
  * 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
40298
  * @summary Set active provider and upsert its credentials
40060
40299
  * @param {number} businessId The venue\&#39;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
40300
+ * @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
40301
  * @param {UpsertProvidersDto} upsertProvidersDto
40063
40302
  * @param {*} [options] Override http request option.
40064
40303
  * @throws {RequiredError}
40065
40304
  * @memberof ConfigManagementApi
40066
40305
  */
40067
- public configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) {
40306
+ public configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) {
40068
40307
  return ConfigManagementApiFp(this.configuration).configUpsertProviders(businessId, xAppX, upsertProvidersDto, options).then((request) => request(this.axios, this.basePath));
40069
40308
  }
40070
40309
 
@@ -40072,13 +40311,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
40072
40311
  * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
40073
40312
  * @summary Create or update a channel\'s Stripe config
40074
40313
  * @param {number} businessId The venue\&#39;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
40314
+ * @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
40315
  * @param {UpsertStripeDto} upsertStripeDto
40077
40316
  * @param {*} [options] Override http request option.
40078
40317
  * @throws {RequiredError}
40079
40318
  * @memberof ConfigManagementApi
40080
40319
  */
40081
- public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
40320
+ public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
40082
40321
  return ConfigManagementApiFp(this.configuration).configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(this.axios, this.basePath));
40083
40322
  }
40084
40323
 
@@ -40086,13 +40325,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
40086
40325
  * 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
40326
  * @summary Create or update a channel\'s Viva config
40088
40327
  * @param {number} businessId The venue\&#39;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
40328
+ * @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
40329
  * @param {UpsertVivaDto} upsertVivaDto
40091
40330
  * @param {*} [options] Override http request option.
40092
40331
  * @throws {RequiredError}
40093
40332
  * @memberof ConfigManagementApi
40094
40333
  */
40095
- public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
40334
+ public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
40096
40335
  return ConfigManagementApiFp(this.configuration).configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(this.axios, this.basePath));
40097
40336
  }
40098
40337
  }
@@ -48104,6 +48343,50 @@ export class NotificationApi extends BaseAPI implements NotificationApiInterface
48104
48343
  */
48105
48344
  export const OpsApiAxiosParamCreator = function (configuration?: Configuration) {
48106
48345
  return {
48346
+ /**
48347
+ * 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.
48348
+ * @summary Connect a venue to Foodora or Bolt with the platform\'s store id
48349
+ * @param {number} venueId The Munchi venue id
48350
+ * @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
48351
+ * @param {*} [options] Override http request option.
48352
+ * @throws {RequiredError}
48353
+ */
48354
+ connectDeliveryPlatform: async (venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48355
+ // verify required parameter 'venueId' is not null or undefined
48356
+ assertParamExists('connectDeliveryPlatform', 'venueId', venueId)
48357
+ // verify required parameter 'connectDeliveryPlatformDto' is not null or undefined
48358
+ assertParamExists('connectDeliveryPlatform', 'connectDeliveryPlatformDto', connectDeliveryPlatformDto)
48359
+ const localVarPath = `/api/v1/ops/venues/{venueId}/delivery-platforms`
48360
+ .replace(`{${"venueId"}}`, encodeURIComponent(String(venueId)));
48361
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48362
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48363
+ let baseOptions;
48364
+ if (configuration) {
48365
+ baseOptions = configuration.baseOptions;
48366
+ }
48367
+
48368
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
48369
+ const localVarHeaderParameter = {} as any;
48370
+ const localVarQueryParameter = {} as any;
48371
+
48372
+ // authentication JWT-auth required
48373
+ // http bearer authentication required
48374
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
48375
+
48376
+
48377
+
48378
+ localVarHeaderParameter['Content-Type'] = 'application/json';
48379
+
48380
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
48381
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48382
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
48383
+ localVarRequestOptions.data = serializeDataIfNeeded(connectDeliveryPlatformDto, localVarRequestOptions, configuration)
48384
+
48385
+ return {
48386
+ url: toPathString(localVarUrlObj),
48387
+ options: localVarRequestOptions,
48388
+ };
48389
+ },
48107
48390
  /**
48108
48391
  * 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
48392
  * @summary A venue\'s tills, kiosks and payment terminals
@@ -48133,6 +48416,48 @@ export const OpsApiAxiosParamCreator = function (configuration?: Configuration)
48133
48416
 
48134
48417
 
48135
48418
 
48419
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
48420
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48421
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
48422
+
48423
+ return {
48424
+ url: toPathString(localVarUrlObj),
48425
+ options: localVarRequestOptions,
48426
+ };
48427
+ },
48428
+ /**
48429
+ * Makes the venue\'s active rows of the platform inactive; they are kept, so connecting the same store id again brings the row back. 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}).
48430
+ * @summary Disconnect a venue from Foodora or Bolt
48431
+ * @param {number} venueId The Munchi venue id
48432
+ * @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
48433
+ * @param {*} [options] Override http request option.
48434
+ * @throws {RequiredError}
48435
+ */
48436
+ disconnectDeliveryPlatform: async (venueId: number, channel: DeliveryPlatformOpsConnect, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48437
+ // verify required parameter 'venueId' is not null or undefined
48438
+ assertParamExists('disconnectDeliveryPlatform', 'venueId', venueId)
48439
+ // verify required parameter 'channel' is not null or undefined
48440
+ assertParamExists('disconnectDeliveryPlatform', 'channel', channel)
48441
+ const localVarPath = `/api/v1/ops/venues/{venueId}/delivery-platforms/{channel}`
48442
+ .replace(`{${"venueId"}}`, encodeURIComponent(String(venueId)))
48443
+ .replace(`{${"channel"}}`, encodeURIComponent(String(channel)));
48444
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48445
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48446
+ let baseOptions;
48447
+ if (configuration) {
48448
+ baseOptions = configuration.baseOptions;
48449
+ }
48450
+
48451
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
48452
+ const localVarHeaderParameter = {} as any;
48453
+ const localVarQueryParameter = {} as any;
48454
+
48455
+ // authentication JWT-auth required
48456
+ // http bearer authentication required
48457
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
48458
+
48459
+
48460
+
48136
48461
  setSearchParams(localVarUrlObj, localVarQueryParameter);
48137
48462
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48138
48463
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -48198,6 +48523,18 @@ export const OpsApiAxiosParamCreator = function (configuration?: Configuration)
48198
48523
  export const OpsApiFp = function(configuration?: Configuration) {
48199
48524
  const localVarAxiosParamCreator = OpsApiAxiosParamCreator(configuration)
48200
48525
  return {
48526
+ /**
48527
+ * 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.
48528
+ * @summary Connect a venue to Foodora or Bolt with the platform\'s store id
48529
+ * @param {number} venueId The Munchi venue id
48530
+ * @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
48531
+ * @param {*} [options] Override http request option.
48532
+ * @throws {RequiredError}
48533
+ */
48534
+ async connectDeliveryPlatform(venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectedDeliveryPlatformDto>> {
48535
+ const localVarAxiosArgs = await localVarAxiosParamCreator.connectDeliveryPlatform(venueId, connectDeliveryPlatformDto, options);
48536
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48537
+ },
48201
48538
  /**
48202
48539
  * 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
48540
  * @summary A venue\'s tills, kiosks and payment terminals
@@ -48209,6 +48546,18 @@ export const OpsApiFp = function(configuration?: Configuration) {
48209
48546
  const localVarAxiosArgs = await localVarAxiosParamCreator.devicesOfVenue(venueId, options);
48210
48547
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48211
48548
  },
48549
+ /**
48550
+ * Makes the venue\'s active rows of the platform inactive; they are kept, so connecting the same store id again brings the row back. 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}).
48551
+ * @summary Disconnect a venue from Foodora or Bolt
48552
+ * @param {number} venueId The Munchi venue id
48553
+ * @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
48554
+ * @param {*} [options] Override http request option.
48555
+ * @throws {RequiredError}
48556
+ */
48557
+ async disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisconnectedDeliveryPlatformDto>> {
48558
+ const localVarAxiosArgs = await localVarAxiosParamCreator.disconnectDeliveryPlatform(venueId, channel, options);
48559
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48560
+ },
48212
48561
  /**
48213
48562
  * 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
48563
  * @summary Find venues by name or id, across every venue
@@ -48231,6 +48580,17 @@ export const OpsApiFp = function(configuration?: Configuration) {
48231
48580
  export const OpsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
48232
48581
  const localVarFp = OpsApiFp(configuration)
48233
48582
  return {
48583
+ /**
48584
+ * 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.
48585
+ * @summary Connect a venue to Foodora or Bolt with the platform\'s store id
48586
+ * @param {number} venueId The Munchi venue id
48587
+ * @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
48588
+ * @param {*} [options] Override http request option.
48589
+ * @throws {RequiredError}
48590
+ */
48591
+ connectDeliveryPlatform(venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options?: any): AxiosPromise<ConnectedDeliveryPlatformDto> {
48592
+ return localVarFp.connectDeliveryPlatform(venueId, connectDeliveryPlatformDto, options).then((request) => request(axios, basePath));
48593
+ },
48234
48594
  /**
48235
48595
  * 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
48596
  * @summary A venue\'s tills, kiosks and payment terminals
@@ -48241,6 +48601,17 @@ export const OpsApiFactory = function (configuration?: Configuration, basePath?:
48241
48601
  devicesOfVenue(venueId: number, options?: any): AxiosPromise<VenueDevicesDto> {
48242
48602
  return localVarFp.devicesOfVenue(venueId, options).then((request) => request(axios, basePath));
48243
48603
  },
48604
+ /**
48605
+ * Makes the venue\'s active rows of the platform inactive; they are kept, so connecting the same store id again brings the row back. 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}).
48606
+ * @summary Disconnect a venue from Foodora or Bolt
48607
+ * @param {number} venueId The Munchi venue id
48608
+ * @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
48609
+ * @param {*} [options] Override http request option.
48610
+ * @throws {RequiredError}
48611
+ */
48612
+ disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: any): AxiosPromise<DisconnectedDeliveryPlatformDto> {
48613
+ return localVarFp.disconnectDeliveryPlatform(venueId, channel, options).then((request) => request(axios, basePath));
48614
+ },
48244
48615
  /**
48245
48616
  * 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
48617
  * @summary Find venues by name or id, across every venue
@@ -48261,6 +48632,17 @@ export const OpsApiFactory = function (configuration?: Configuration, basePath?:
48261
48632
  * @interface OpsApi
48262
48633
  */
48263
48634
  export interface OpsApiInterface {
48635
+ /**
48636
+ * 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.
48637
+ * @summary Connect a venue to Foodora or Bolt with the platform\'s store id
48638
+ * @param {number} venueId The Munchi venue id
48639
+ * @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
48640
+ * @param {*} [options] Override http request option.
48641
+ * @throws {RequiredError}
48642
+ * @memberof OpsApiInterface
48643
+ */
48644
+ connectDeliveryPlatform(venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options?: AxiosRequestConfig): AxiosPromise<ConnectedDeliveryPlatformDto>;
48645
+
48264
48646
  /**
48265
48647
  * 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
48648
  * @summary A venue\'s tills, kiosks and payment terminals
@@ -48271,6 +48653,17 @@ export interface OpsApiInterface {
48271
48653
  */
48272
48654
  devicesOfVenue(venueId: number, options?: AxiosRequestConfig): AxiosPromise<VenueDevicesDto>;
48273
48655
 
48656
+ /**
48657
+ * Makes the venue\'s active rows of the platform inactive; they are kept, so connecting the same store id again brings the row back. 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}).
48658
+ * @summary Disconnect a venue from Foodora or Bolt
48659
+ * @param {number} venueId The Munchi venue id
48660
+ * @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
48661
+ * @param {*} [options] Override http request option.
48662
+ * @throws {RequiredError}
48663
+ * @memberof OpsApiInterface
48664
+ */
48665
+ disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: AxiosRequestConfig): AxiosPromise<DisconnectedDeliveryPlatformDto>;
48666
+
48274
48667
  /**
48275
48668
  * 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
48669
  * @summary Find venues by name or id, across every venue
@@ -48291,6 +48684,19 @@ export interface OpsApiInterface {
48291
48684
  * @extends {BaseAPI}
48292
48685
  */
48293
48686
  export class OpsApi extends BaseAPI implements OpsApiInterface {
48687
+ /**
48688
+ * 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.
48689
+ * @summary Connect a venue to Foodora or Bolt with the platform\'s store id
48690
+ * @param {number} venueId The Munchi venue id
48691
+ * @param {ConnectDeliveryPlatformDto} connectDeliveryPlatformDto
48692
+ * @param {*} [options] Override http request option.
48693
+ * @throws {RequiredError}
48694
+ * @memberof OpsApi
48695
+ */
48696
+ public connectDeliveryPlatform(venueId: number, connectDeliveryPlatformDto: ConnectDeliveryPlatformDto, options?: AxiosRequestConfig) {
48697
+ return OpsApiFp(this.configuration).connectDeliveryPlatform(venueId, connectDeliveryPlatformDto, options).then((request) => request(this.axios, this.basePath));
48698
+ }
48699
+
48294
48700
  /**
48295
48701
  * 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
48702
  * @summary A venue\'s tills, kiosks and payment terminals
@@ -48303,6 +48709,19 @@ export class OpsApi extends BaseAPI implements OpsApiInterface {
48303
48709
  return OpsApiFp(this.configuration).devicesOfVenue(venueId, options).then((request) => request(this.axios, this.basePath));
48304
48710
  }
48305
48711
 
48712
+ /**
48713
+ * Makes the venue\'s active rows of the platform inactive; they are kept, so connecting the same store id again brings the row back. 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}).
48714
+ * @summary Disconnect a venue from Foodora or Bolt
48715
+ * @param {number} venueId The Munchi venue id
48716
+ * @param {DeliveryPlatformOpsConnect} channel Foodora or Bolt
48717
+ * @param {*} [options] Override http request option.
48718
+ * @throws {RequiredError}
48719
+ * @memberof OpsApi
48720
+ */
48721
+ public disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: AxiosRequestConfig) {
48722
+ return OpsApiFp(this.configuration).disconnectDeliveryPlatform(venueId, channel, options).then((request) => request(this.axios, this.basePath));
48723
+ }
48724
+
48306
48725
  /**
48307
48726
  * 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
48727
  * @summary Find venues by name or id, across every venue
@@ -52700,6 +53119,40 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
52700
53119
 
52701
53120
 
52702
53121
 
53122
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
53123
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
53124
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
53125
+
53126
+ return {
53127
+ url: toPathString(localVarUrlObj),
53128
+ options: localVarRequestOptions,
53129
+ };
53130
+ },
53131
+ /**
53132
+ * 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).
53133
+ * @summary Get the currency of a payment session by its sessionId
53134
+ * @param {string} sessionId The payment session\&#39;s sessionId, the same value stored as the order paymentEvent referenceId
53135
+ * @param {*} [options] Override http request option.
53136
+ * @throws {RequiredError}
53137
+ */
53138
+ getPaymentSessionCurrency: async (sessionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
53139
+ // verify required parameter 'sessionId' is not null or undefined
53140
+ assertParamExists('getPaymentSessionCurrency', 'sessionId', sessionId)
53141
+ const localVarPath = `/api/v1/payment-session/currency/{sessionId}`
53142
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
53143
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
53144
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
53145
+ let baseOptions;
53146
+ if (configuration) {
53147
+ baseOptions = configuration.baseOptions;
53148
+ }
53149
+
53150
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
53151
+ const localVarHeaderParameter = {} as any;
53152
+ const localVarQueryParameter = {} as any;
53153
+
53154
+
53155
+
52703
53156
  setSearchParams(localVarUrlObj, localVarQueryParameter);
52704
53157
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52705
53158
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -53518,6 +53971,17 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
53518
53971
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentSessionAnalytics(businessId, timeSpan, start, end, options);
53519
53972
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
53520
53973
  },
53974
+ /**
53975
+ * 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).
53976
+ * @summary Get the currency of a payment session by its sessionId
53977
+ * @param {string} sessionId The payment session\&#39;s sessionId, the same value stored as the order paymentEvent referenceId
53978
+ * @param {*} [options] Override http request option.
53979
+ * @throws {RequiredError}
53980
+ */
53981
+ async getPaymentSessionCurrency(sessionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionCurrencyDto>> {
53982
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentSessionCurrency(sessionId, options);
53983
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
53984
+ },
53521
53985
  /**
53522
53986
  * 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
53987
  * @summary Charge an Epassi QR code
@@ -53799,6 +54263,16 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
53799
54263
  getPaymentSessionAnalytics(businessId: number, timeSpan: TimeSpan, start?: string, end?: string, options?: any): AxiosPromise<PaymentSessionAnalyticsResponseDto> {
53800
54264
  return localVarFp.getPaymentSessionAnalytics(businessId, timeSpan, start, end, options).then((request) => request(axios, basePath));
53801
54265
  },
54266
+ /**
54267
+ * 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).
54268
+ * @summary Get the currency of a payment session by its sessionId
54269
+ * @param {string} sessionId The payment session\&#39;s sessionId, the same value stored as the order paymentEvent referenceId
54270
+ * @param {*} [options] Override http request option.
54271
+ * @throws {RequiredError}
54272
+ */
54273
+ getPaymentSessionCurrency(sessionId: string, options?: any): AxiosPromise<PaymentSessionCurrencyDto> {
54274
+ return localVarFp.getPaymentSessionCurrency(sessionId, options).then((request) => request(axios, basePath));
54275
+ },
53802
54276
  /**
53803
54277
  * 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
54278
  * @summary Charge an Epassi QR code
@@ -54059,6 +54533,16 @@ export interface PaymentSessionApiInterface {
54059
54533
  */
54060
54534
  getPaymentSessionAnalytics(businessId: number, timeSpan: TimeSpan, start?: string, end?: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionAnalyticsResponseDto>;
54061
54535
 
54536
+ /**
54537
+ * 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).
54538
+ * @summary Get the currency of a payment session by its sessionId
54539
+ * @param {string} sessionId The payment session\&#39;s sessionId, the same value stored as the order paymentEvent referenceId
54540
+ * @param {*} [options] Override http request option.
54541
+ * @throws {RequiredError}
54542
+ * @memberof PaymentSessionApiInterface
54543
+ */
54544
+ getPaymentSessionCurrency(sessionId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionCurrencyDto>;
54545
+
54062
54546
  /**
54063
54547
  * 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
54548
  * @summary Charge an Epassi QR code
@@ -54327,6 +54811,18 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
54327
54811
  return PaymentSessionApiFp(this.configuration).getPaymentSessionAnalytics(businessId, timeSpan, start, end, options).then((request) => request(this.axios, this.basePath));
54328
54812
  }
54329
54813
 
54814
+ /**
54815
+ * 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).
54816
+ * @summary Get the currency of a payment session by its sessionId
54817
+ * @param {string} sessionId The payment session\&#39;s sessionId, the same value stored as the order paymentEvent referenceId
54818
+ * @param {*} [options] Override http request option.
54819
+ * @throws {RequiredError}
54820
+ * @memberof PaymentSessionApi
54821
+ */
54822
+ public getPaymentSessionCurrency(sessionId: string, options?: AxiosRequestConfig) {
54823
+ return PaymentSessionApiFp(this.configuration).getPaymentSessionCurrency(sessionId, options).then((request) => request(this.axios, this.basePath));
54824
+ }
54825
+
54330
54826
  /**
54331
54827
  * 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
54828
  * @summary Charge an Epassi QR code
@@ -55251,9 +55747,9 @@ export class ProductApi extends BaseAPI implements ProductApiInterface {
55251
55747
  export const ProviderApiAxiosParamCreator = function (configuration?: Configuration) {
55252
55748
  return {
55253
55749
  /**
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 Wolt
55256
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
55750
+ * 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.
55751
+ * @summary Start connecting a venue to Uber Eats, Wolt or ResQ
55752
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55257
55753
  * @param {CreateOnboardingSessionDto} createOnboardingSessionDto
55258
55754
  * @param {*} [options] Override http request option.
55259
55755
  * @throws {RequiredError}
@@ -55291,9 +55787,9 @@ export const ProviderApiAxiosParamCreator = function (configuration?: Configurat
55291
55787
  };
55292
55788
  },
55293
55789
  /**
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\'s message.
55295
- * @summary Disconnect a venue from Uber Eats or Wolt
55296
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
55790
+ * 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.
55791
+ * @summary Disconnect a venue from Uber Eats, Wolt or ResQ
55792
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55297
55793
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55298
55794
  * @param {*} [options] Override http request option.
55299
55795
  * @throws {RequiredError}
@@ -55363,9 +55859,9 @@ export const ProviderApiAxiosParamCreator = function (configuration?: Configurat
55363
55859
  };
55364
55860
  },
55365
55861
  /**
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 WoltStorefront. Not cached: the dashboard acts on it.
55367
- * @summary Whether a venue is connected to Uber Eats or Wolt
55368
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
55862
+ * 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.
55863
+ * @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
55864
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55369
55865
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55370
55866
  * @param {*} [options] Override http request option.
55371
55867
  * @throws {RequiredError}
@@ -55533,9 +56029,9 @@ export const ProviderApiFp = function(configuration?: Configuration) {
55533
56029
  const localVarAxiosParamCreator = ProviderApiAxiosParamCreator(configuration)
55534
56030
  return {
55535
56031
  /**
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 Wolt
55538
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56032
+ * 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.
56033
+ * @summary Start connecting a venue to Uber Eats, Wolt or ResQ
56034
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55539
56035
  * @param {CreateOnboardingSessionDto} createOnboardingSessionDto
55540
56036
  * @param {*} [options] Override http request option.
55541
56037
  * @throws {RequiredError}
@@ -55545,9 +56041,9 @@ export const ProviderApiFp = function(configuration?: Configuration) {
55545
56041
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
55546
56042
  },
55547
56043
  /**
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\'s message.
55549
- * @summary Disconnect a venue from Uber Eats or Wolt
55550
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56044
+ * 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.
56045
+ * @summary Disconnect a venue from Uber Eats, Wolt or ResQ
56046
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55551
56047
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55552
56048
  * @param {*} [options] Override http request option.
55553
56049
  * @throws {RequiredError}
@@ -55568,9 +56064,9 @@ export const ProviderApiFp = function(configuration?: Configuration) {
55568
56064
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
55569
56065
  },
55570
56066
  /**
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 WoltStorefront. Not cached: the dashboard acts on it.
55572
- * @summary Whether a venue is connected to Uber Eats or Wolt
55573
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56067
+ * 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.
56068
+ * @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
56069
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55574
56070
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55575
56071
  * @param {*} [options] Override http request option.
55576
56072
  * @throws {RequiredError}
@@ -55627,9 +56123,9 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
55627
56123
  const localVarFp = ProviderApiFp(configuration)
55628
56124
  return {
55629
56125
  /**
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 Wolt
55632
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56126
+ * 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.
56127
+ * @summary Start connecting a venue to Uber Eats, Wolt or ResQ
56128
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55633
56129
  * @param {CreateOnboardingSessionDto} createOnboardingSessionDto
55634
56130
  * @param {*} [options] Override http request option.
55635
56131
  * @throws {RequiredError}
@@ -55638,9 +56134,9 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
55638
56134
  return localVarFp.createOnboardingSession(channel, createOnboardingSessionDto, options).then((request) => request(axios, basePath));
55639
56135
  },
55640
56136
  /**
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\'s message.
55642
- * @summary Disconnect a venue from Uber Eats or Wolt
55643
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56137
+ * 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.
56138
+ * @summary Disconnect a venue from Uber Eats, Wolt or ResQ
56139
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55644
56140
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55645
56141
  * @param {*} [options] Override http request option.
55646
56142
  * @throws {RequiredError}
@@ -55659,9 +56155,9 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
55659
56155
  return localVarFp.getMenuIntegrations(businessId, options).then((request) => request(axios, basePath));
55660
56156
  },
55661
56157
  /**
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 WoltStorefront. Not cached: the dashboard acts on it.
55663
- * @summary Whether a venue is connected to Uber Eats or Wolt
55664
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56158
+ * 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.
56159
+ * @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
56160
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55665
56161
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55666
56162
  * @param {*} [options] Override http request option.
55667
56163
  * @throws {RequiredError}
@@ -55713,9 +56209,9 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
55713
56209
  */
55714
56210
  export interface ProviderApiInterface {
55715
56211
  /**
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 Wolt
55718
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56212
+ * 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.
56213
+ * @summary Start connecting a venue to Uber Eats, Wolt or ResQ
56214
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55719
56215
  * @param {CreateOnboardingSessionDto} createOnboardingSessionDto
55720
56216
  * @param {*} [options] Override http request option.
55721
56217
  * @throws {RequiredError}
@@ -55724,9 +56220,9 @@ export interface ProviderApiInterface {
55724
56220
  createOnboardingSession(channel: ProviderEnum, createOnboardingSessionDto: CreateOnboardingSessionDto, options?: AxiosRequestConfig): AxiosPromise<OnboardingSessionDto>;
55725
56221
 
55726
56222
  /**
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\'s message.
55728
- * @summary Disconnect a venue from Uber Eats or Wolt
55729
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56223
+ * 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.
56224
+ * @summary Disconnect a venue from Uber Eats, Wolt or ResQ
56225
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55730
56226
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55731
56227
  * @param {*} [options] Override http request option.
55732
56228
  * @throws {RequiredError}
@@ -55745,9 +56241,9 @@ export interface ProviderApiInterface {
55745
56241
  getMenuIntegrations(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<ProviderIntegrationDto>>;
55746
56242
 
55747
56243
  /**
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 WoltStorefront. Not cached: the dashboard acts on it.
55749
- * @summary Whether a venue is connected to Uber Eats or Wolt
55750
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56244
+ * 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.
56245
+ * @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
56246
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55751
56247
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55752
56248
  * @param {*} [options] Override http request option.
55753
56249
  * @throws {RequiredError}
@@ -55799,9 +56295,9 @@ export interface ProviderApiInterface {
55799
56295
  */
55800
56296
  export class ProviderApi extends BaseAPI implements ProviderApiInterface {
55801
56297
  /**
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 Wolt
55804
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56298
+ * 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.
56299
+ * @summary Start connecting a venue to Uber Eats, Wolt or ResQ
56300
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55805
56301
  * @param {CreateOnboardingSessionDto} createOnboardingSessionDto
55806
56302
  * @param {*} [options] Override http request option.
55807
56303
  * @throws {RequiredError}
@@ -55812,9 +56308,9 @@ export class ProviderApi extends BaseAPI implements ProviderApiInterface {
55812
56308
  }
55813
56309
 
55814
56310
  /**
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\'s message.
55816
- * @summary Disconnect a venue from Uber Eats or Wolt
55817
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56311
+ * 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.
56312
+ * @summary Disconnect a venue from Uber Eats, Wolt or ResQ
56313
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55818
56314
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55819
56315
  * @param {*} [options] Override http request option.
55820
56316
  * @throws {RequiredError}
@@ -55837,9 +56333,9 @@ export class ProviderApi extends BaseAPI implements ProviderApiInterface {
55837
56333
  }
55838
56334
 
55839
56335
  /**
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 WoltStorefront. Not cached: the dashboard acts on it.
55841
- * @summary Whether a venue is connected to Uber Eats or Wolt
55842
- * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt or WoltStorefront. Any other channel is answered 400
56336
+ * 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.
56337
+ * @summary Whether a venue is connected to Uber Eats, Wolt or ResQ
56338
+ * @param {ProviderEnum} channel The channel to connect: UberEats, Wolt, WoltStorefront or ResQ. Any other channel is answered 400
55843
56339
  * @param {number} businessId The venue\&#39;s orderingBusinessId
55844
56340
  * @param {*} [options] Override http request option.
55845
56341
  * @throws {RequiredError}
@@ -55901,11 +56397,11 @@ export const ReceiptFooterApiAxiosParamCreator = function (configuration?: Confi
55901
56397
  * 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
56398
  * @summary Get the receipt footer config for a business + channel
55903
56399
  * @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
56400
+ * @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
56401
  * @param {*} [options] Override http request option.
55906
56402
  * @throws {RequiredError}
55907
56403
  */
55908
- receiptFooterGetConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
56404
+ receiptFooterGetConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
55909
56405
  // verify required parameter 'businessId' is not null or undefined
55910
56406
  assertParamExists('receiptFooterGetConfig', 'businessId', businessId)
55911
56407
  // verify required parameter 'xAppX' is not null or undefined
@@ -55946,12 +56442,12 @@ export const ReceiptFooterApiAxiosParamCreator = function (configuration?: Confi
55946
56442
  * 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
56443
  * @summary Create or update the receipt footer config for a business + channel
55948
56444
  * @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
56445
+ * @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
56446
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
55951
56447
  * @param {*} [options] Override http request option.
55952
56448
  * @throws {RequiredError}
55953
56449
  */
55954
- receiptFooterUpsertConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
56450
+ 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
56451
  // verify required parameter 'businessId' is not null or undefined
55956
56452
  assertParamExists('receiptFooterUpsertConfig', 'businessId', businessId)
55957
56453
  // verify required parameter 'xAppX' is not null or undefined
@@ -56007,11 +56503,11 @@ export const ReceiptFooterApiFp = function(configuration?: Configuration) {
56007
56503
  * 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
56504
  * @summary Get the receipt footer config for a business + channel
56009
56505
  * @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
56506
+ * @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
56507
  * @param {*} [options] Override http request option.
56012
56508
  * @throws {RequiredError}
56013
56509
  */
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>> {
56510
+ 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
56511
  const localVarAxiosArgs = await localVarAxiosParamCreator.receiptFooterGetConfig(businessId, xAppX, options);
56016
56512
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
56017
56513
  },
@@ -56019,12 +56515,12 @@ export const ReceiptFooterApiFp = function(configuration?: Configuration) {
56019
56515
  * 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
56516
  * @summary Create or update the receipt footer config for a business + channel
56021
56517
  * @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
56518
+ * @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
56519
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
56024
56520
  * @param {*} [options] Override http request option.
56025
56521
  * @throws {RequiredError}
56026
56522
  */
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>> {
56523
+ 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
56524
  const localVarAxiosArgs = await localVarAxiosParamCreator.receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options);
56029
56525
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
56030
56526
  },
@@ -56042,23 +56538,23 @@ export const ReceiptFooterApiFactory = function (configuration?: Configuration,
56042
56538
  * 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
56539
  * @summary Get the receipt footer config for a business + channel
56044
56540
  * @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
56541
+ * @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
56542
  * @param {*} [options] Override http request option.
56047
56543
  * @throws {RequiredError}
56048
56544
  */
56049
- receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: any): AxiosPromise<ReceiptFooterConfigDto> {
56545
+ receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<ReceiptFooterConfigDto> {
56050
56546
  return localVarFp.receiptFooterGetConfig(businessId, xAppX, options).then((request) => request(axios, basePath));
56051
56547
  },
56052
56548
  /**
56053
56549
  * 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
56550
  * @summary Create or update the receipt footer config for a business + channel
56055
56551
  * @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
56552
+ * @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
56553
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
56058
56554
  * @param {*} [options] Override http request option.
56059
56555
  * @throws {RequiredError}
56060
56556
  */
56061
- receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto> {
56557
+ receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto> {
56062
56558
  return localVarFp.receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options).then((request) => request(axios, basePath));
56063
56559
  },
56064
56560
  };
@@ -56074,24 +56570,24 @@ export interface ReceiptFooterApiInterface {
56074
56570
  * 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
56571
  * @summary Get the receipt footer config for a business + channel
56076
56572
  * @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
56573
+ * @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
56574
  * @param {*} [options] Override http request option.
56079
56575
  * @throws {RequiredError}
56080
56576
  * @memberof ReceiptFooterApiInterface
56081
56577
  */
56082
- receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
56578
+ receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
56083
56579
 
56084
56580
  /**
56085
56581
  * 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
56582
  * @summary Create or update the receipt footer config for a business + channel
56087
56583
  * @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
56584
+ * @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
56585
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
56090
56586
  * @param {*} [options] Override http request option.
56091
56587
  * @throws {RequiredError}
56092
56588
  * @memberof ReceiptFooterApiInterface
56093
56589
  */
56094
- receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
56590
+ receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
56095
56591
 
56096
56592
  }
56097
56593
 
@@ -56106,12 +56602,12 @@ export class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterfa
56106
56602
  * 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
56603
  * @summary Get the receipt footer config for a business + channel
56108
56604
  * @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
56605
+ * @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
56606
  * @param {*} [options] Override http request option.
56111
56607
  * @throws {RequiredError}
56112
56608
  * @memberof ReceiptFooterApi
56113
56609
  */
56114
- public receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig) {
56610
+ public receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
56115
56611
  return ReceiptFooterApiFp(this.configuration).receiptFooterGetConfig(businessId, xAppX, options).then((request) => request(this.axios, this.basePath));
56116
56612
  }
56117
56613
 
@@ -56119,13 +56615,13 @@ export class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterfa
56119
56615
  * 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
56616
  * @summary Create or update the receipt footer config for a business + channel
56121
56617
  * @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
56618
+ * @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
56619
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
56124
56620
  * @param {*} [options] Override http request option.
56125
56621
  * @throws {RequiredError}
56126
56622
  * @memberof ReceiptFooterApi
56127
56623
  */
56128
- public receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) {
56624
+ public receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) {
56129
56625
  return ReceiptFooterApiFp(this.configuration).receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options).then((request) => request(this.axios, this.basePath));
56130
56626
  }
56131
56627
  }