@munchi_oy/core 2.17.0 → 2.18.0

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
@@ -3668,7 +3668,7 @@ export interface ConfigManagementResponseDto {
3668
3668
  */
3669
3669
  'message'?: string;
3670
3670
  /**
3671
- * What was saved, as the database wrote it: the venue, the config, the provider\'s config without its secrets, the options, the integration (the third-party gift card\'s credentials without the password), { program, businessId } for loyalty (the program\'s secretKey answered null), { businessId, keys } for a sync, { id, removed } for a removed option.
3671
+ * What was saved, as the database wrote it: the venue, the config, the provider\'s config without its secrets but with hasSecretKey, hasClientSecret and hasPassword saying whether it holds them, the options, the integration (the third-party gift card\'s credentials without the password), { program, businessId } for loyalty (the program\'s secretKey answered null), { businessId, keys } for a sync, { id, removed } for a removed option.
3672
3672
  * @type {object}
3673
3673
  * @memberof ConfigManagementResponseDto
3674
3674
  */
@@ -5070,7 +5070,7 @@ export interface CreatePaymentTerminalDto {
5070
5070
  */
5071
5071
  'provider': TerminalProvider;
5072
5072
  /**
5073
- * The provider\'s own id of the terminal, trimmed: for viva the terminal ID (TID) in Viva\'s portal, digits only (16010572); for nets the terminal ID (TID), digits only (72102200); for worldline the terminal\'s serial number, letters and digits (253SKD884468). The payment is sent to the provider with this id, so it must be the id the provider knows
5073
+ * The provider\'s own id of the terminal, trimmed: for viva the terminal ID (TID) in Viva\'s portal, digits only (16010572); for nets the terminal ID (TID), digits only (72102200); for worldline the terminal\'s serial number, letters and digits (253SKD884468); for nexi the Nexi terminal ID, t- and 10 digits, the number padded with zeros (t-0000103319; a Nexi simulator\'s is t-19 and 8 digits). The payment is sent to the provider with this id, so it must be the id the provider knows
5074
5074
  * @type {string}
5075
5075
  * @memberof CreatePaymentTerminalDto
5076
5076
  */
@@ -15461,6 +15461,18 @@ export interface NetsConfigResponseDto {
15461
15461
  * @memberof NetsConfigResponseDto
15462
15462
  */
15463
15463
  'clientSecret': string | null;
15464
+ /**
15465
+ * Whether a Nets secret key is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
15466
+ * @type {boolean}
15467
+ * @memberof NetsConfigResponseDto
15468
+ */
15469
+ 'hasSecretKey': boolean;
15470
+ /**
15471
+ * Whether a Nets OAuth client secret is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
15472
+ * @type {boolean}
15473
+ * @memberof NetsConfigResponseDto
15474
+ */
15475
+ 'hasClientSecret': boolean;
15464
15476
  }
15465
15477
  /**
15466
15478
  *
@@ -15904,6 +15916,43 @@ export interface NewKdsStationDto {
15904
15916
  */
15905
15917
  'categoryIds': Array<string>;
15906
15918
  }
15919
+ /**
15920
+ *
15921
+ * @export
15922
+ * @interface NexiConfigResponseDto
15923
+ */
15924
+ export interface NexiConfigResponseDto {
15925
+ /**
15926
+ * Whether the Nexi integration is active.
15927
+ * @type {boolean}
15928
+ * @memberof NexiConfigResponseDto
15929
+ */
15930
+ 'isActive': boolean;
15931
+ /**
15932
+ * Display name.
15933
+ * @type {string}
15934
+ * @memberof NexiConfigResponseDto
15935
+ */
15936
+ 'name': string | null;
15937
+ /**
15938
+ * Nexi POS API user name; null when none is stored.
15939
+ * @type {string}
15940
+ * @memberof NexiConfigResponseDto
15941
+ */
15942
+ 'username': string | null;
15943
+ /**
15944
+ * Always null: the stored Nexi password never leaves the server. A save that leaves it out keeps it; a save that sends one replaces it.
15945
+ * @type {string}
15946
+ * @memberof NexiConfigResponseDto
15947
+ */
15948
+ 'password': string | null;
15949
+ /**
15950
+ * Whether a Nexi password is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
15951
+ * @type {boolean}
15952
+ * @memberof NexiConfigResponseDto
15953
+ */
15954
+ 'hasPassword': boolean;
15955
+ }
15907
15956
  /**
15908
15957
  *
15909
15958
  * @export
@@ -20038,7 +20087,8 @@ export const PaymentProvider = {
20038
20087
  Viva: 'viva',
20039
20088
  Nets: 'nets',
20040
20089
  Worldline: 'worldline',
20041
- Epassi: 'epassi'
20090
+ Epassi: 'epassi',
20091
+ Nexi: 'nexi'
20042
20092
  } as const;
20043
20093
 
20044
20094
  export type PaymentProvider = typeof PaymentProvider[keyof typeof PaymentProvider];
@@ -20055,7 +20105,8 @@ export const PaymentProviderEnum = {
20055
20105
  Viva: 'viva',
20056
20106
  Nets: 'nets',
20057
20107
  Worldline: 'worldline',
20058
- Epassi: 'epassi'
20108
+ Epassi: 'epassi',
20109
+ Nexi: 'nexi'
20059
20110
  } as const;
20060
20111
 
20061
20112
  export type PaymentProviderEnum = typeof PaymentProviderEnum[keyof typeof PaymentProviderEnum];
@@ -25772,6 +25823,12 @@ export interface ProvidersConfigResponseDto {
25772
25823
  * @memberof ProvidersConfigResponseDto
25773
25824
  */
25774
25825
  'worldline': ProvidersConfigResponseDtoWorldline | null;
25826
+ /**
25827
+ *
25828
+ * @type {ProvidersConfigResponseDtoNexi}
25829
+ * @memberof ProvidersConfigResponseDto
25830
+ */
25831
+ 'nexi': ProvidersConfigResponseDtoNexi | null;
25775
25832
  }
25776
25833
 
25777
25834
 
@@ -25817,6 +25874,55 @@ export interface ProvidersConfigResponseDtoNets {
25817
25874
  * @memberof ProvidersConfigResponseDtoNets
25818
25875
  */
25819
25876
  'clientSecret': string | null;
25877
+ /**
25878
+ * Whether a Nets secret key is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
25879
+ * @type {boolean}
25880
+ * @memberof ProvidersConfigResponseDtoNets
25881
+ */
25882
+ 'hasSecretKey': boolean;
25883
+ /**
25884
+ * Whether a Nets OAuth client secret is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
25885
+ * @type {boolean}
25886
+ * @memberof ProvidersConfigResponseDtoNets
25887
+ */
25888
+ 'hasClientSecret': boolean;
25889
+ }
25890
+ /**
25891
+ * The channel\'s Nexi settings; null when it has none.
25892
+ * @export
25893
+ * @interface ProvidersConfigResponseDtoNexi
25894
+ */
25895
+ export interface ProvidersConfigResponseDtoNexi {
25896
+ /**
25897
+ * Whether the Nexi integration is active.
25898
+ * @type {boolean}
25899
+ * @memberof ProvidersConfigResponseDtoNexi
25900
+ */
25901
+ 'isActive': boolean;
25902
+ /**
25903
+ * Display name.
25904
+ * @type {string}
25905
+ * @memberof ProvidersConfigResponseDtoNexi
25906
+ */
25907
+ 'name': string | null;
25908
+ /**
25909
+ * Nexi POS API user name; null when none is stored.
25910
+ * @type {string}
25911
+ * @memberof ProvidersConfigResponseDtoNexi
25912
+ */
25913
+ 'username': string | null;
25914
+ /**
25915
+ * Always null: the stored Nexi password never leaves the server. A save that leaves it out keeps it; a save that sends one replaces it.
25916
+ * @type {string}
25917
+ * @memberof ProvidersConfigResponseDtoNexi
25918
+ */
25919
+ 'password': string | null;
25920
+ /**
25921
+ * Whether a Nexi password is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
25922
+ * @type {boolean}
25923
+ * @memberof ProvidersConfigResponseDtoNexi
25924
+ */
25925
+ 'hasPassword': boolean;
25820
25926
  }
25821
25927
  /**
25822
25928
  * The channel\'s Stripe settings; null when it has none.
@@ -25930,6 +26036,12 @@ export interface ProvidersConfigResponseDtoWorldline {
25930
26036
  * @memberof ProvidersConfigResponseDtoWorldline
25931
26037
  */
25932
26038
  'publicKey': string | null;
26039
+ /**
26040
+ * Whether a Worldline secret key is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
26041
+ * @type {boolean}
26042
+ * @memberof ProvidersConfigResponseDtoWorldline
26043
+ */
26044
+ 'hasSecretKey': boolean;
25933
26045
  }
25934
26046
  /**
25935
26047
  *
@@ -35083,7 +35195,8 @@ export type TerminalConnectionType = typeof TerminalConnectionType[keyof typeof
35083
35195
  export const TerminalProvider = {
35084
35196
  Viva: 'viva',
35085
35197
  Nets: 'nets',
35086
- Worldline: 'worldline'
35198
+ Worldline: 'worldline',
35199
+ Nexi: 'nexi'
35087
35200
  } as const;
35088
35201
 
35089
35202
  export type TerminalProvider = typeof TerminalProvider[keyof typeof TerminalProvider];
@@ -38654,6 +38767,37 @@ export interface UpsertNetsDto {
38654
38767
  */
38655
38768
  'clientSecret'?: string;
38656
38769
  }
38770
+ /**
38771
+ *
38772
+ * @export
38773
+ * @interface UpsertNexiDto
38774
+ */
38775
+ export interface UpsertNexiDto {
38776
+ /**
38777
+ * The name shown for the Nexi integration. Absent keeps the stored value.
38778
+ * @type {string}
38779
+ * @memberof UpsertNexiDto
38780
+ */
38781
+ 'name'?: string;
38782
+ /**
38783
+ * Whether the Nexi integration is active. Absent keeps the stored value; a new Nexi config is saved active.
38784
+ * @type {boolean}
38785
+ * @memberof UpsertNexiDto
38786
+ */
38787
+ 'isActive'?: boolean;
38788
+ /**
38789
+ * Nexi POS API user name, as Nexi issues it. Required to create the Nexi config: a new one without it is refused with 400. Absent keeps the stored value. An empty string or null is refused with 400.
38790
+ * @type {string}
38791
+ * @memberof UpsertNexiDto
38792
+ */
38793
+ 'username'?: string;
38794
+ /**
38795
+ * Nexi POS API password, as Nexi issues it; never answered. Required to create the Nexi config: a new one without it is refused with 400. Absent keeps the stored value. An empty string or null is refused with 400.
38796
+ * @type {string}
38797
+ * @memberof UpsertNexiDto
38798
+ */
38799
+ 'password'?: string;
38800
+ }
38657
38801
  /**
38658
38802
  *
38659
38803
  * @export
@@ -38806,7 +38950,7 @@ export interface UpsertProvidersDto {
38806
38950
  */
38807
38951
  'name'?: string;
38808
38952
  /**
38809
- * Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe or Worldline active.
38953
+ * Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe, Worldline or Nexi active.
38810
38954
  * @type {boolean}
38811
38955
  * @memberof UpsertProvidersDto
38812
38956
  */
@@ -38871,6 +39015,18 @@ export interface UpsertProvidersDto {
38871
39015
  * @memberof UpsertProvidersDto
38872
39016
  */
38873
39017
  'locationId'?: string;
39018
+ /**
39019
+ * Nexi POS API user name, as Nexi issues it. Required to create the Nexi config: a new one without it is refused with 400. Absent keeps the stored value. An empty string or null is refused with 400.
39020
+ * @type {string}
39021
+ * @memberof UpsertProvidersDto
39022
+ */
39023
+ 'username'?: string;
39024
+ /**
39025
+ * Nexi POS API password, as Nexi issues it; never answered. Required to create the Nexi config: a new one without it is refused with 400. Absent keeps the stored value. An empty string or null is refused with 400.
39026
+ * @type {string}
39027
+ * @memberof UpsertProvidersDto
39028
+ */
39029
+ 'password'?: string;
38874
39030
  }
38875
39031
 
38876
39032
 
@@ -39021,6 +39177,37 @@ export interface UpsertVivaDtoConfig {
39021
39177
  */
39022
39178
  'additionalAmount'?: number;
39023
39179
  }
39180
+ /**
39181
+ *
39182
+ * @export
39183
+ * @interface UpsertWorldlineDto
39184
+ */
39185
+ export interface UpsertWorldlineDto {
39186
+ /**
39187
+ * The name shown for the Worldline integration. Absent keeps the stored value.
39188
+ * @type {string}
39189
+ * @memberof UpsertWorldlineDto
39190
+ */
39191
+ 'name'?: string;
39192
+ /**
39193
+ * Whether the Worldline integration is active. Absent keeps the stored value; a new Worldline config is saved active.
39194
+ * @type {boolean}
39195
+ * @memberof UpsertWorldlineDto
39196
+ */
39197
+ 'isActive'?: boolean;
39198
+ /**
39199
+ * The Worldline secret key. Absent keeps the stored value. An empty string or null is refused with 400.
39200
+ * @type {string}
39201
+ * @memberof UpsertWorldlineDto
39202
+ */
39203
+ 'secretKey'?: string;
39204
+ /**
39205
+ * The Worldline public key. Absent keeps the stored value. An empty string or null is refused with 400.
39206
+ * @type {string}
39207
+ * @memberof UpsertWorldlineDto
39208
+ */
39209
+ 'publicKey'?: string;
39210
+ }
39024
39211
  /**
39025
39212
  *
39026
39213
  * @export
@@ -42493,6 +42680,12 @@ export interface WorldlineConfigResponseDto {
42493
42680
  * @memberof WorldlineConfigResponseDto
42494
42681
  */
42495
42682
  'publicKey': string | null;
42683
+ /**
42684
+ * Whether a Worldline secret key is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
42685
+ * @type {boolean}
42686
+ * @memberof WorldlineConfigResponseDto
42687
+ */
42688
+ 'hasSecretKey': boolean;
42496
42689
  }
42497
42690
  /**
42498
42691
  *
@@ -47272,7 +47465,7 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47272
47465
  };
47273
47466
  },
47274
47467
  /**
47275
- * 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).
47468
+ * The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
47276
47469
  * @summary Read a channel\'s card payment providers
47277
47470
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47278
47471
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
@@ -47410,8 +47603,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47410
47603
  };
47411
47604
  },
47412
47605
  /**
47413
- * 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.
47414
- * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
47606
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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.
47607
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
47415
47608
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47416
47609
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
47417
47610
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -47658,8 +47851,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47658
47851
  };
47659
47852
  },
47660
47853
  /**
47661
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
47662
- * @summary Create or update a channel\'s Nets config
47854
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
47855
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
47663
47856
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47664
47857
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
47665
47858
  * @param {UpsertNetsDto} upsertNetsDto
@@ -47708,6 +47901,57 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47708
47901
  options: localVarRequestOptions,
47709
47902
  };
47710
47903
  },
47904
+ /**
47905
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
47906
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
47907
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47908
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
47909
+ * @param {UpsertNexiDto} upsertNexiDto
47910
+ * @param {*} [options] Override http request option.
47911
+ * @throws {RequiredError}
47912
+ */
47913
+ configUpsertNexi: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47914
+ // verify required parameter 'businessId' is not null or undefined
47915
+ assertParamExists('configUpsertNexi', 'businessId', businessId)
47916
+ // verify required parameter 'xAppX' is not null or undefined
47917
+ assertParamExists('configUpsertNexi', 'xAppX', xAppX)
47918
+ // verify required parameter 'upsertNexiDto' is not null or undefined
47919
+ assertParamExists('configUpsertNexi', 'upsertNexiDto', upsertNexiDto)
47920
+ const localVarPath = `/api/v1/config-management/business/{businessId}/config/nexi`
47921
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
47922
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47923
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
47924
+ let baseOptions;
47925
+ if (configuration) {
47926
+ baseOptions = configuration.baseOptions;
47927
+ }
47928
+
47929
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
47930
+ const localVarHeaderParameter = {} as any;
47931
+ const localVarQueryParameter = {} as any;
47932
+
47933
+ // authentication JWT-auth required
47934
+ // http bearer authentication required
47935
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
47936
+
47937
+ if (xAppX != null) {
47938
+ localVarHeaderParameter['x-app-x'] = String(xAppX);
47939
+ }
47940
+
47941
+
47942
+
47943
+ localVarHeaderParameter['Content-Type'] = 'application/json';
47944
+
47945
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
47946
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
47947
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
47948
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertNexiDto, localVarRequestOptions, configuration)
47949
+
47950
+ return {
47951
+ url: toPathString(localVarUrlObj),
47952
+ options: localVarRequestOptions,
47953
+ };
47954
+ },
47711
47955
  /**
47712
47956
  * 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.
47713
47957
  * @summary Create or update a channel\'s checkout payment options
@@ -47760,8 +48004,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47760
48004
  };
47761
48005
  },
47762
48006
  /**
47763
- * 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 provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
47764
- * @summary Set active provider and upsert its credentials
48007
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
48008
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
47765
48009
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47766
48010
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
47767
48011
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -47811,8 +48055,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47811
48055
  };
47812
48056
  },
47813
48057
  /**
47814
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
47815
- * @summary Create or update a channel\'s Stripe config
48058
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
48059
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
47816
48060
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47817
48061
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
47818
48062
  * @param {UpsertStripeDto} upsertStripeDto
@@ -47862,8 +48106,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47862
48106
  };
47863
48107
  },
47864
48108
  /**
47865
- * 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
47866
- * @summary Create or update a channel\'s Viva config
48109
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
48110
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
47867
48111
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47868
48112
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
47869
48113
  * @param {UpsertVivaDto} upsertVivaDto
@@ -47907,6 +48151,57 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47907
48151
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
47908
48152
  localVarRequestOptions.data = serializeDataIfNeeded(upsertVivaDto, localVarRequestOptions, configuration)
47909
48153
 
48154
+ return {
48155
+ url: toPathString(localVarUrlObj),
48156
+ options: localVarRequestOptions,
48157
+ };
48158
+ },
48159
+ /**
48160
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
48161
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48162
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48163
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48164
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
48165
+ * @param {*} [options] Override http request option.
48166
+ * @throws {RequiredError}
48167
+ */
48168
+ configUpsertWorldline: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48169
+ // verify required parameter 'businessId' is not null or undefined
48170
+ assertParamExists('configUpsertWorldline', 'businessId', businessId)
48171
+ // verify required parameter 'xAppX' is not null or undefined
48172
+ assertParamExists('configUpsertWorldline', 'xAppX', xAppX)
48173
+ // verify required parameter 'upsertWorldlineDto' is not null or undefined
48174
+ assertParamExists('configUpsertWorldline', 'upsertWorldlineDto', upsertWorldlineDto)
48175
+ const localVarPath = `/api/v1/config-management/business/{businessId}/config/worldline`
48176
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
48177
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48178
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48179
+ let baseOptions;
48180
+ if (configuration) {
48181
+ baseOptions = configuration.baseOptions;
48182
+ }
48183
+
48184
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
48185
+ const localVarHeaderParameter = {} as any;
48186
+ const localVarQueryParameter = {} as any;
48187
+
48188
+ // authentication JWT-auth required
48189
+ // http bearer authentication required
48190
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
48191
+
48192
+ if (xAppX != null) {
48193
+ localVarHeaderParameter['x-app-x'] = String(xAppX);
48194
+ }
48195
+
48196
+
48197
+
48198
+ localVarHeaderParameter['Content-Type'] = 'application/json';
48199
+
48200
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
48201
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48202
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
48203
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertWorldlineDto, localVarRequestOptions, configuration)
48204
+
47910
48205
  return {
47911
48206
  url: toPathString(localVarUrlObj),
47912
48207
  options: localVarRequestOptions,
@@ -47936,7 +48231,7 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
47936
48231
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
47937
48232
  },
47938
48233
  /**
47939
- * 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).
48234
+ * The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
47940
48235
  * @summary Read a channel\'s card payment providers
47941
48236
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47942
48237
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
@@ -47973,8 +48268,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
47973
48268
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
47974
48269
  },
47975
48270
  /**
47976
- * 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.
47977
- * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
48271
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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.
48272
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
47978
48273
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47979
48274
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
47980
48275
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -48037,8 +48332,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48037
48332
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48038
48333
  },
48039
48334
  /**
48040
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
48041
- * @summary Create or update a channel\'s Nets config
48335
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
48336
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
48042
48337
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48043
48338
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48044
48339
  * @param {UpsertNetsDto} upsertNetsDto
@@ -48049,6 +48344,19 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48049
48344
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNets(businessId, xAppX, upsertNetsDto, options);
48050
48345
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48051
48346
  },
48347
+ /**
48348
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
48349
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48350
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48351
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48352
+ * @param {UpsertNexiDto} upsertNexiDto
48353
+ * @param {*} [options] Override http request option.
48354
+ * @throws {RequiredError}
48355
+ */
48356
+ async configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48357
+ const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNexi(businessId, xAppX, upsertNexiDto, options);
48358
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48359
+ },
48052
48360
  /**
48053
48361
  * 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.
48054
48362
  * @summary Create or update a channel\'s checkout payment options
@@ -48063,8 +48371,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48063
48371
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48064
48372
  },
48065
48373
  /**
48066
- * 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 provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
48067
- * @summary Set active provider and upsert its credentials
48374
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
48375
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
48068
48376
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48069
48377
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48070
48378
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -48076,8 +48384,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48076
48384
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48077
48385
  },
48078
48386
  /**
48079
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
48080
- * @summary Create or update a channel\'s Stripe config
48387
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
48388
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48081
48389
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48082
48390
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48083
48391
  * @param {UpsertStripeDto} upsertStripeDto
@@ -48089,8 +48397,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48089
48397
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48090
48398
  },
48091
48399
  /**
48092
- * 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
48093
- * @summary Create or update a channel\'s Viva config
48400
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
48401
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
48094
48402
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48095
48403
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48096
48404
  * @param {UpsertVivaDto} upsertVivaDto
@@ -48101,6 +48409,19 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48101
48409
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertViva(businessId, xAppX, upsertVivaDto, options);
48102
48410
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48103
48411
  },
48412
+ /**
48413
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
48414
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48415
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48416
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48417
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
48418
+ * @param {*} [options] Override http request option.
48419
+ * @throws {RequiredError}
48420
+ */
48421
+ async configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48422
+ const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options);
48423
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48424
+ },
48104
48425
  }
48105
48426
  };
48106
48427
 
@@ -48124,7 +48445,7 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48124
48445
  return localVarFp.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(axios, basePath));
48125
48446
  },
48126
48447
  /**
48127
- * 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).
48448
+ * The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
48128
48449
  * @summary Read a channel\'s card payment providers
48129
48450
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48130
48451
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
@@ -48158,8 +48479,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48158
48479
  return localVarFp.configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(axios, basePath));
48159
48480
  },
48160
48481
  /**
48161
- * 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.
48162
- * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
48482
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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.
48483
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
48163
48484
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48164
48485
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48165
48486
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -48217,8 +48538,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48217
48538
  return localVarFp.configUpsertLoyalty(businessId, upsertLoyaltyDto, options).then((request) => request(axios, basePath));
48218
48539
  },
48219
48540
  /**
48220
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
48221
- * @summary Create or update a channel\'s Nets config
48541
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
48542
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
48222
48543
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48223
48544
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48224
48545
  * @param {UpsertNetsDto} upsertNetsDto
@@ -48228,6 +48549,18 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48228
48549
  configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48229
48550
  return localVarFp.configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(axios, basePath));
48230
48551
  },
48552
+ /**
48553
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
48554
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48555
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48556
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48557
+ * @param {UpsertNexiDto} upsertNexiDto
48558
+ * @param {*} [options] Override http request option.
48559
+ * @throws {RequiredError}
48560
+ */
48561
+ configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48562
+ return localVarFp.configUpsertNexi(businessId, xAppX, upsertNexiDto, options).then((request) => request(axios, basePath));
48563
+ },
48231
48564
  /**
48232
48565
  * 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.
48233
48566
  * @summary Create or update a channel\'s checkout payment options
@@ -48241,8 +48574,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48241
48574
  return localVarFp.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(axios, basePath));
48242
48575
  },
48243
48576
  /**
48244
- * 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 provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
48245
- * @summary Set active provider and upsert its credentials
48577
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
48578
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
48246
48579
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48247
48580
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48248
48581
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -48253,8 +48586,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48253
48586
  return localVarFp.configUpsertProviders(businessId, xAppX, upsertProvidersDto, options).then((request) => request(axios, basePath));
48254
48587
  },
48255
48588
  /**
48256
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
48257
- * @summary Create or update a channel\'s Stripe config
48589
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
48590
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48258
48591
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48259
48592
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48260
48593
  * @param {UpsertStripeDto} upsertStripeDto
@@ -48265,8 +48598,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48265
48598
  return localVarFp.configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(axios, basePath));
48266
48599
  },
48267
48600
  /**
48268
- * 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
48269
- * @summary Create or update a channel\'s Viva config
48601
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
48602
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
48270
48603
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48271
48604
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48272
48605
  * @param {UpsertVivaDto} upsertVivaDto
@@ -48276,6 +48609,18 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48276
48609
  configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48277
48610
  return localVarFp.configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(axios, basePath));
48278
48611
  },
48612
+ /**
48613
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
48614
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48615
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48616
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48617
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
48618
+ * @param {*} [options] Override http request option.
48619
+ * @throws {RequiredError}
48620
+ */
48621
+ configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48622
+ return localVarFp.configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options).then((request) => request(axios, basePath));
48623
+ },
48279
48624
  };
48280
48625
  };
48281
48626
 
@@ -48298,7 +48643,7 @@ export interface ConfigManagementApiInterface {
48298
48643
  configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48299
48644
 
48300
48645
  /**
48301
- * 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).
48646
+ * The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
48302
48647
  * @summary Read a channel\'s card payment providers
48303
48648
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48304
48649
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
@@ -48332,8 +48677,8 @@ export interface ConfigManagementApiInterface {
48332
48677
  configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48333
48678
 
48334
48679
  /**
48335
- * 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.
48336
- * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
48680
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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.
48681
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
48337
48682
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48338
48683
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48339
48684
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -48391,8 +48736,8 @@ export interface ConfigManagementApiInterface {
48391
48736
  configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48392
48737
 
48393
48738
  /**
48394
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
48395
- * @summary Create or update a channel\'s Nets config
48739
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
48740
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
48396
48741
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48397
48742
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48398
48743
  * @param {UpsertNetsDto} upsertNetsDto
@@ -48402,6 +48747,18 @@ export interface ConfigManagementApiInterface {
48402
48747
  */
48403
48748
  configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48404
48749
 
48750
+ /**
48751
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
48752
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48753
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48754
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48755
+ * @param {UpsertNexiDto} upsertNexiDto
48756
+ * @param {*} [options] Override http request option.
48757
+ * @throws {RequiredError}
48758
+ * @memberof ConfigManagementApiInterface
48759
+ */
48760
+ configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48761
+
48405
48762
  /**
48406
48763
  * 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.
48407
48764
  * @summary Create or update a channel\'s checkout payment options
@@ -48415,8 +48772,8 @@ export interface ConfigManagementApiInterface {
48415
48772
  configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48416
48773
 
48417
48774
  /**
48418
- * 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 provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
48419
- * @summary Set active provider and upsert its credentials
48775
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
48776
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
48420
48777
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48421
48778
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48422
48779
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -48427,8 +48784,8 @@ export interface ConfigManagementApiInterface {
48427
48784
  configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
48428
48785
 
48429
48786
  /**
48430
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
48431
- * @summary Create or update a channel\'s Stripe config
48787
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
48788
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48432
48789
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48433
48790
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48434
48791
  * @param {UpsertStripeDto} upsertStripeDto
@@ -48439,8 +48796,8 @@ export interface ConfigManagementApiInterface {
48439
48796
  configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48440
48797
 
48441
48798
  /**
48442
- * 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
48443
- * @summary Create or update a channel\'s Viva config
48799
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
48800
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
48444
48801
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48445
48802
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48446
48803
  * @param {UpsertVivaDto} upsertVivaDto
@@ -48450,6 +48807,18 @@ export interface ConfigManagementApiInterface {
48450
48807
  */
48451
48808
  configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48452
48809
 
48810
+ /**
48811
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
48812
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48813
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48814
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48815
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
48816
+ * @param {*} [options] Override http request option.
48817
+ * @throws {RequiredError}
48818
+ * @memberof ConfigManagementApiInterface
48819
+ */
48820
+ configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48821
+
48453
48822
  }
48454
48823
 
48455
48824
  /**
@@ -48474,7 +48843,7 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48474
48843
  }
48475
48844
 
48476
48845
  /**
48477
- * 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).
48846
+ * The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
48478
48847
  * @summary Read a channel\'s card payment providers
48479
48848
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48480
48849
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
@@ -48514,8 +48883,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48514
48883
  }
48515
48884
 
48516
48885
  /**
48517
- * 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.
48518
- * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
48886
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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.
48887
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
48519
48888
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48520
48889
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48521
48890
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -48583,8 +48952,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48583
48952
  }
48584
48953
 
48585
48954
  /**
48586
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
48587
- * @summary Create or update a channel\'s Nets config
48955
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
48956
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
48588
48957
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48589
48958
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48590
48959
  * @param {UpsertNetsDto} upsertNetsDto
@@ -48596,6 +48965,20 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48596
48965
  return ConfigManagementApiFp(this.configuration).configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(this.axios, this.basePath));
48597
48966
  }
48598
48967
 
48968
+ /**
48969
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
48970
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48971
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48972
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48973
+ * @param {UpsertNexiDto} upsertNexiDto
48974
+ * @param {*} [options] Override http request option.
48975
+ * @throws {RequiredError}
48976
+ * @memberof ConfigManagementApi
48977
+ */
48978
+ public configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig) {
48979
+ return ConfigManagementApiFp(this.configuration).configUpsertNexi(businessId, xAppX, upsertNexiDto, options).then((request) => request(this.axios, this.basePath));
48980
+ }
48981
+
48599
48982
  /**
48600
48983
  * 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.
48601
48984
  * @summary Create or update a channel\'s checkout payment options
@@ -48611,8 +48994,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48611
48994
  }
48612
48995
 
48613
48996
  /**
48614
- * 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 provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
48615
- * @summary Set active provider and upsert its credentials
48997
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
48998
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
48616
48999
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48617
49000
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48618
49001
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -48625,8 +49008,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48625
49008
  }
48626
49009
 
48627
49010
  /**
48628
- * Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
48629
- * @summary Create or update a channel\'s Stripe config
49011
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
49012
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48630
49013
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48631
49014
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48632
49015
  * @param {UpsertStripeDto} upsertStripeDto
@@ -48639,8 +49022,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48639
49022
  }
48640
49023
 
48641
49024
  /**
48642
- * 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
48643
- * @summary Create or update a channel\'s Viva config
49025
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. 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, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
49026
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
48644
49027
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48645
49028
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48646
49029
  * @param {UpsertVivaDto} upsertVivaDto
@@ -48651,6 +49034,20 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48651
49034
  public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
48652
49035
  return ConfigManagementApiFp(this.configuration).configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(this.axios, this.basePath));
48653
49036
  }
49037
+
49038
+ /**
49039
+ * Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
49040
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
49041
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49042
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49043
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
49044
+ * @param {*} [options] Override http request option.
49045
+ * @throws {RequiredError}
49046
+ * @memberof ConfigManagementApi
49047
+ */
49048
+ public configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig) {
49049
+ return ConfigManagementApiFp(this.configuration).configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options).then((request) => request(this.axios, this.basePath));
49050
+ }
48654
49051
  }
48655
49052
 
48656
49053
 
@@ -77153,7 +77550,7 @@ export const TerminalApiAxiosParamCreator = function (configuration?: Configurat
77153
77550
  };
77154
77551
  },
77155
77552
  /**
77156
- * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline asks no provider: its stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77553
+ * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77157
77554
  * @summary Discover available payment terminals
77158
77555
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77159
77556
  * @param {*} [options] Override http request option.
@@ -77220,7 +77617,7 @@ export const TerminalApiFp = function(configuration?: Configuration) {
77220
77617
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
77221
77618
  },
77222
77619
  /**
77223
- * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline asks no provider: its stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77620
+ * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77224
77621
  * @summary Discover available payment terminals
77225
77622
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77226
77623
  * @param {*} [options] Override http request option.
@@ -77260,7 +77657,7 @@ export const TerminalApiFactory = function (configuration?: Configuration, baseP
77260
77657
  return localVarFp.disconnectTerminal(options).then((request) => request(axios, basePath));
77261
77658
  },
77262
77659
  /**
77263
- * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline asks no provider: its stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77660
+ * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77264
77661
  * @summary Discover available payment terminals
77265
77662
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77266
77663
  * @param {*} [options] Override http request option.
@@ -77298,7 +77695,7 @@ export interface TerminalApiInterface {
77298
77695
  disconnectTerminal(options?: AxiosRequestConfig): AxiosPromise<LinkedStationDto>;
77299
77696
 
77300
77697
  /**
77301
- * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline asks no provider: its stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77698
+ * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77302
77699
  * @summary Discover available payment terminals
77303
77700
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77304
77701
  * @param {*} [options] Override http request option.
@@ -77340,7 +77737,7 @@ export class TerminalApi extends BaseAPI implements TerminalApiInterface {
77340
77737
  }
77341
77738
 
77342
77739
  /**
77343
- * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline asks no provider: its stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77740
+ * The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
77344
77741
  * @summary Discover available payment terminals
77345
77742
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77346
77743
  * @param {*} [options] Override http request option.
@@ -77923,7 +78320,7 @@ export const VenueKiosksApiAxiosParamCreator = function (configuration?: Configu
77923
78320
  };
77924
78321
  },
77925
78322
  /**
77926
- * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
78323
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
77927
78324
  * @summary Add a payment terminal to the venue (Munchi admins only)
77928
78325
  * @param {number} businessId The venue\&#39;s orderingBusinessId
77929
78326
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
@@ -78258,7 +78655,7 @@ export const VenueKiosksApiFp = function(configuration?: Configuration) {
78258
78655
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
78259
78656
  },
78260
78657
  /**
78261
- * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
78658
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
78262
78659
  * @summary Add a payment terminal to the venue (Munchi admins only)
78263
78660
  * @param {number} businessId The venue\&#39;s orderingBusinessId
78264
78661
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
@@ -78375,7 +78772,7 @@ export const VenueKiosksApiFactory = function (configuration?: Configuration, ba
78375
78772
  return localVarFp.claimVenueKiosk(businessId, claimKioskDto, options).then((request) => request(axios, basePath));
78376
78773
  },
78377
78774
  /**
78378
- * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
78775
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
78379
78776
  * @summary Add a payment terminal to the venue (Munchi admins only)
78380
78777
  * @param {number} businessId The venue\&#39;s orderingBusinessId
78381
78778
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
@@ -78484,7 +78881,7 @@ export interface VenueKiosksApiInterface {
78484
78881
  claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): AxiosPromise<VenueKioskDto>;
78485
78882
 
78486
78883
  /**
78487
- * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
78884
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
78488
78885
  * @summary Add a payment terminal to the venue (Munchi admins only)
78489
78886
  * @param {number} businessId The venue\&#39;s orderingBusinessId
78490
78887
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
@@ -78597,7 +78994,7 @@ export class VenueKiosksApi extends BaseAPI implements VenueKiosksApiInterface {
78597
78994
  }
78598
78995
 
78599
78996
  /**
78600
- * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
78997
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
78601
78998
  * @summary Add a payment terminal to the venue (Munchi admins only)
78602
78999
  * @param {number} businessId The venue\&#39;s orderingBusinessId
78603
79000
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto