@munchi_oy/core 2.17.0 → 2.19.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
  */
@@ -9178,7 +9178,7 @@ export interface GiftCardHistoryEventDto {
9178
9178
  */
9179
9179
  'venueName': string | null;
9180
9180
  /**
9181
- * The till order it belongs to; null when none
9181
+ * The till order it belongs to: the one it was spent on, or, on a SOLD line, the POS order that sold the card; null when none
9182
9182
  * @type {string}
9183
9183
  * @memberof GiftCardHistoryEventDto
9184
9184
  */
@@ -9189,6 +9189,12 @@ export interface GiftCardHistoryEventDto {
9189
9189
  * @memberof GiftCardHistoryEventDto
9190
9190
  */
9191
9191
  'orderNumber'?: string | null;
9192
+ /**
9193
+ *
9194
+ * @type {GiftCardHistoryEventDtoPayment}
9195
+ * @memberof GiftCardHistoryEventDto
9196
+ */
9197
+ 'payment'?: GiftCardHistoryEventDtoPayment | null;
9192
9198
  /**
9193
9199
  * The address of an EMAILED, EMAIL_FAILED or EMAIL_CHANGED line; null for the others
9194
9200
  * @type {string}
@@ -9216,6 +9222,39 @@ export interface GiftCardHistoryEventDto {
9216
9222
  }
9217
9223
 
9218
9224
 
9225
+ /**
9226
+ * How a SOLD line\'s sale was paid; null on every other line, and on a POS sale with no POS order (sold before cards kept their order)
9227
+ * @export
9228
+ * @interface GiftCardHistoryEventDtoPayment
9229
+ */
9230
+ export interface GiftCardHistoryEventDtoPayment {
9231
+ /**
9232
+ * How the sale was paid: Card for a card sold online, which only a card payment of the card\'s value makes; for a POS sale, the methods of its POS order\'s payments, empty while that order is not paid, or its payments could not be read
9233
+ * @type {Array<PaymentMethod>}
9234
+ * @memberof GiftCardHistoryEventDtoPayment
9235
+ */
9236
+ 'methods': Array<PaymentMethod>;
9237
+ /**
9238
+ * The code of the online order that sold the card, as the buyer\'s receipt shows it; null for a POS sale, whose order is the line\'s orderId
9239
+ * @type {string}
9240
+ * @memberof GiftCardHistoryEventDtoPayment
9241
+ */
9242
+ 'onlineOrderCode': string | null;
9243
+ /**
9244
+ *
9245
+ * @type {PaymentProvider}
9246
+ * @memberof GiftCardHistoryEventDtoPayment
9247
+ */
9248
+ 'provider': PaymentProvider | null;
9249
+ /**
9250
+ * When it was paid, ISO 8601: for a POS sale, when its POS order was completed, which may be after the card was sold; online, when the card was made from the settled payment. Null while a POS order is not paid, or its payments could not be read
9251
+ * @type {string}
9252
+ * @memberof GiftCardHistoryEventDtoPayment
9253
+ */
9254
+ 'paidAt': string | null;
9255
+ }
9256
+
9257
+
9219
9258
  /**
9220
9259
  *
9221
9260
  * @export
@@ -9919,6 +9958,39 @@ export interface GiftCardReportDtoSpent {
9919
9958
  */
9920
9959
  'orderCount': number;
9921
9960
  }
9961
+ /**
9962
+ *
9963
+ * @export
9964
+ * @interface GiftCardSalePaymentDto
9965
+ */
9966
+ export interface GiftCardSalePaymentDto {
9967
+ /**
9968
+ * How the sale was paid: Card for a card sold online, which only a card payment of the card\'s value makes; for a POS sale, the methods of its POS order\'s payments, empty while that order is not paid, or its payments could not be read
9969
+ * @type {Array<PaymentMethod>}
9970
+ * @memberof GiftCardSalePaymentDto
9971
+ */
9972
+ 'methods': Array<PaymentMethod>;
9973
+ /**
9974
+ * The code of the online order that sold the card, as the buyer\'s receipt shows it; null for a POS sale, whose order is the line\'s orderId
9975
+ * @type {string}
9976
+ * @memberof GiftCardSalePaymentDto
9977
+ */
9978
+ 'onlineOrderCode': string | null;
9979
+ /**
9980
+ *
9981
+ * @type {PaymentProvider}
9982
+ * @memberof GiftCardSalePaymentDto
9983
+ */
9984
+ 'provider': PaymentProvider | null;
9985
+ /**
9986
+ * When it was paid, ISO 8601: for a POS sale, when its POS order was completed, which may be after the card was sold; online, when the card was made from the settled payment. Null while a POS order is not paid, or its payments could not be read
9987
+ * @type {string}
9988
+ * @memberof GiftCardSalePaymentDto
9989
+ */
9990
+ 'paidAt': string | null;
9991
+ }
9992
+
9993
+
9922
9994
  /**
9923
9995
  *
9924
9996
  * @export
@@ -15461,6 +15533,18 @@ export interface NetsConfigResponseDto {
15461
15533
  * @memberof NetsConfigResponseDto
15462
15534
  */
15463
15535
  'clientSecret': string | null;
15536
+ /**
15537
+ * 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.
15538
+ * @type {boolean}
15539
+ * @memberof NetsConfigResponseDto
15540
+ */
15541
+ 'hasSecretKey': boolean;
15542
+ /**
15543
+ * 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.
15544
+ * @type {boolean}
15545
+ * @memberof NetsConfigResponseDto
15546
+ */
15547
+ 'hasClientSecret': boolean;
15464
15548
  }
15465
15549
  /**
15466
15550
  *
@@ -15904,6 +15988,43 @@ export interface NewKdsStationDto {
15904
15988
  */
15905
15989
  'categoryIds': Array<string>;
15906
15990
  }
15991
+ /**
15992
+ *
15993
+ * @export
15994
+ * @interface NexiConfigResponseDto
15995
+ */
15996
+ export interface NexiConfigResponseDto {
15997
+ /**
15998
+ * Whether the Nexi integration is active.
15999
+ * @type {boolean}
16000
+ * @memberof NexiConfigResponseDto
16001
+ */
16002
+ 'isActive': boolean;
16003
+ /**
16004
+ * Display name.
16005
+ * @type {string}
16006
+ * @memberof NexiConfigResponseDto
16007
+ */
16008
+ 'name': string | null;
16009
+ /**
16010
+ * Nexi POS API user name; null when none is stored.
16011
+ * @type {string}
16012
+ * @memberof NexiConfigResponseDto
16013
+ */
16014
+ 'username': string | null;
16015
+ /**
16016
+ * 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.
16017
+ * @type {string}
16018
+ * @memberof NexiConfigResponseDto
16019
+ */
16020
+ 'password': string | null;
16021
+ /**
16022
+ * 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.
16023
+ * @type {boolean}
16024
+ * @memberof NexiConfigResponseDto
16025
+ */
16026
+ 'hasPassword': boolean;
16027
+ }
15907
16028
  /**
15908
16029
  *
15909
16030
  * @export
@@ -20038,7 +20159,8 @@ export const PaymentProvider = {
20038
20159
  Viva: 'viva',
20039
20160
  Nets: 'nets',
20040
20161
  Worldline: 'worldline',
20041
- Epassi: 'epassi'
20162
+ Epassi: 'epassi',
20163
+ Nexi: 'nexi'
20042
20164
  } as const;
20043
20165
 
20044
20166
  export type PaymentProvider = typeof PaymentProvider[keyof typeof PaymentProvider];
@@ -20055,7 +20177,8 @@ export const PaymentProviderEnum = {
20055
20177
  Viva: 'viva',
20056
20178
  Nets: 'nets',
20057
20179
  Worldline: 'worldline',
20058
- Epassi: 'epassi'
20180
+ Epassi: 'epassi',
20181
+ Nexi: 'nexi'
20059
20182
  } as const;
20060
20183
 
20061
20184
  export type PaymentProviderEnum = typeof PaymentProviderEnum[keyof typeof PaymentProviderEnum];
@@ -25772,6 +25895,12 @@ export interface ProvidersConfigResponseDto {
25772
25895
  * @memberof ProvidersConfigResponseDto
25773
25896
  */
25774
25897
  'worldline': ProvidersConfigResponseDtoWorldline | null;
25898
+ /**
25899
+ *
25900
+ * @type {ProvidersConfigResponseDtoNexi}
25901
+ * @memberof ProvidersConfigResponseDto
25902
+ */
25903
+ 'nexi': ProvidersConfigResponseDtoNexi | null;
25775
25904
  }
25776
25905
 
25777
25906
 
@@ -25817,6 +25946,55 @@ export interface ProvidersConfigResponseDtoNets {
25817
25946
  * @memberof ProvidersConfigResponseDtoNets
25818
25947
  */
25819
25948
  'clientSecret': string | null;
25949
+ /**
25950
+ * 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.
25951
+ * @type {boolean}
25952
+ * @memberof ProvidersConfigResponseDtoNets
25953
+ */
25954
+ 'hasSecretKey': boolean;
25955
+ /**
25956
+ * 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.
25957
+ * @type {boolean}
25958
+ * @memberof ProvidersConfigResponseDtoNets
25959
+ */
25960
+ 'hasClientSecret': boolean;
25961
+ }
25962
+ /**
25963
+ * The channel\'s Nexi settings; null when it has none.
25964
+ * @export
25965
+ * @interface ProvidersConfigResponseDtoNexi
25966
+ */
25967
+ export interface ProvidersConfigResponseDtoNexi {
25968
+ /**
25969
+ * Whether the Nexi integration is active.
25970
+ * @type {boolean}
25971
+ * @memberof ProvidersConfigResponseDtoNexi
25972
+ */
25973
+ 'isActive': boolean;
25974
+ /**
25975
+ * Display name.
25976
+ * @type {string}
25977
+ * @memberof ProvidersConfigResponseDtoNexi
25978
+ */
25979
+ 'name': string | null;
25980
+ /**
25981
+ * Nexi POS API user name; null when none is stored.
25982
+ * @type {string}
25983
+ * @memberof ProvidersConfigResponseDtoNexi
25984
+ */
25985
+ 'username': string | null;
25986
+ /**
25987
+ * 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.
25988
+ * @type {string}
25989
+ * @memberof ProvidersConfigResponseDtoNexi
25990
+ */
25991
+ 'password': string | null;
25992
+ /**
25993
+ * 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.
25994
+ * @type {boolean}
25995
+ * @memberof ProvidersConfigResponseDtoNexi
25996
+ */
25997
+ 'hasPassword': boolean;
25820
25998
  }
25821
25999
  /**
25822
26000
  * The channel\'s Stripe settings; null when it has none.
@@ -25930,6 +26108,12 @@ export interface ProvidersConfigResponseDtoWorldline {
25930
26108
  * @memberof ProvidersConfigResponseDtoWorldline
25931
26109
  */
25932
26110
  'publicKey': string | null;
26111
+ /**
26112
+ * 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.
26113
+ * @type {boolean}
26114
+ * @memberof ProvidersConfigResponseDtoWorldline
26115
+ */
26116
+ 'hasSecretKey': boolean;
25933
26117
  }
25934
26118
  /**
25935
26119
  *
@@ -32237,6 +32421,12 @@ export interface SellGiftCardOnlineDto {
32237
32421
  * @memberof SellGiftCardOnlineDto
32238
32422
  */
32239
32423
  'sendAt'?: string;
32424
+ /**
32425
+ *
32426
+ * @type {PaymentProvider}
32427
+ * @memberof SellGiftCardOnlineDto
32428
+ */
32429
+ 'paymentProvider'?: PaymentProvider;
32240
32430
  }
32241
32431
 
32242
32432
 
@@ -35083,7 +35273,8 @@ export type TerminalConnectionType = typeof TerminalConnectionType[keyof typeof
35083
35273
  export const TerminalProvider = {
35084
35274
  Viva: 'viva',
35085
35275
  Nets: 'nets',
35086
- Worldline: 'worldline'
35276
+ Worldline: 'worldline',
35277
+ Nexi: 'nexi'
35087
35278
  } as const;
35088
35279
 
35089
35280
  export type TerminalProvider = typeof TerminalProvider[keyof typeof TerminalProvider];
@@ -38654,6 +38845,37 @@ export interface UpsertNetsDto {
38654
38845
  */
38655
38846
  'clientSecret'?: string;
38656
38847
  }
38848
+ /**
38849
+ *
38850
+ * @export
38851
+ * @interface UpsertNexiDto
38852
+ */
38853
+ export interface UpsertNexiDto {
38854
+ /**
38855
+ * The name shown for the Nexi integration. Absent keeps the stored value.
38856
+ * @type {string}
38857
+ * @memberof UpsertNexiDto
38858
+ */
38859
+ 'name'?: string;
38860
+ /**
38861
+ * Whether the Nexi integration is active. Absent keeps the stored value; a new Nexi config is saved active.
38862
+ * @type {boolean}
38863
+ * @memberof UpsertNexiDto
38864
+ */
38865
+ 'isActive'?: boolean;
38866
+ /**
38867
+ * 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.
38868
+ * @type {string}
38869
+ * @memberof UpsertNexiDto
38870
+ */
38871
+ 'username'?: string;
38872
+ /**
38873
+ * 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.
38874
+ * @type {string}
38875
+ * @memberof UpsertNexiDto
38876
+ */
38877
+ 'password'?: string;
38878
+ }
38657
38879
  /**
38658
38880
  *
38659
38881
  * @export
@@ -38806,7 +39028,7 @@ export interface UpsertProvidersDto {
38806
39028
  */
38807
39029
  'name'?: string;
38808
39030
  /**
38809
- * Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe or Worldline active.
39031
+ * Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe, Worldline or Nexi active.
38810
39032
  * @type {boolean}
38811
39033
  * @memberof UpsertProvidersDto
38812
39034
  */
@@ -38871,6 +39093,18 @@ export interface UpsertProvidersDto {
38871
39093
  * @memberof UpsertProvidersDto
38872
39094
  */
38873
39095
  'locationId'?: string;
39096
+ /**
39097
+ * 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.
39098
+ * @type {string}
39099
+ * @memberof UpsertProvidersDto
39100
+ */
39101
+ 'username'?: string;
39102
+ /**
39103
+ * 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.
39104
+ * @type {string}
39105
+ * @memberof UpsertProvidersDto
39106
+ */
39107
+ 'password'?: string;
38874
39108
  }
38875
39109
 
38876
39110
 
@@ -39021,6 +39255,37 @@ export interface UpsertVivaDtoConfig {
39021
39255
  */
39022
39256
  'additionalAmount'?: number;
39023
39257
  }
39258
+ /**
39259
+ *
39260
+ * @export
39261
+ * @interface UpsertWorldlineDto
39262
+ */
39263
+ export interface UpsertWorldlineDto {
39264
+ /**
39265
+ * The name shown for the Worldline integration. Absent keeps the stored value.
39266
+ * @type {string}
39267
+ * @memberof UpsertWorldlineDto
39268
+ */
39269
+ 'name'?: string;
39270
+ /**
39271
+ * Whether the Worldline integration is active. Absent keeps the stored value; a new Worldline config is saved active.
39272
+ * @type {boolean}
39273
+ * @memberof UpsertWorldlineDto
39274
+ */
39275
+ 'isActive'?: boolean;
39276
+ /**
39277
+ * The Worldline secret key. Absent keeps the stored value. An empty string or null is refused with 400.
39278
+ * @type {string}
39279
+ * @memberof UpsertWorldlineDto
39280
+ */
39281
+ 'secretKey'?: string;
39282
+ /**
39283
+ * The Worldline public key. Absent keeps the stored value. An empty string or null is refused with 400.
39284
+ * @type {string}
39285
+ * @memberof UpsertWorldlineDto
39286
+ */
39287
+ 'publicKey'?: string;
39288
+ }
39024
39289
  /**
39025
39290
  *
39026
39291
  * @export
@@ -42493,6 +42758,12 @@ export interface WorldlineConfigResponseDto {
42493
42758
  * @memberof WorldlineConfigResponseDto
42494
42759
  */
42495
42760
  'publicKey': string | null;
42761
+ /**
42762
+ * 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.
42763
+ * @type {boolean}
42764
+ * @memberof WorldlineConfigResponseDto
42765
+ */
42766
+ 'hasSecretKey': boolean;
42496
42767
  }
42497
42768
  /**
42498
42769
  *
@@ -47272,7 +47543,7 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47272
47543
  };
47273
47544
  },
47274
47545
  /**
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).
47546
+ * 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
47547
  * @summary Read a channel\'s card payment providers
47277
47548
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47278
47549
  * @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 +47681,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47410
47681
  };
47411
47682
  },
47412
47683
  /**
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
47684
+ * 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.
47685
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
47415
47686
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47416
47687
  * @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
47688
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -47658,8 +47929,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47658
47929
  };
47659
47930
  },
47660
47931
  /**
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
47932
+ * 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.
47933
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
47663
47934
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47664
47935
  * @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
47936
  * @param {UpsertNetsDto} upsertNetsDto
@@ -47708,6 +47979,57 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47708
47979
  options: localVarRequestOptions,
47709
47980
  };
47710
47981
  },
47982
+ /**
47983
+ * 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.
47984
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
47985
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47986
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
47987
+ * @param {UpsertNexiDto} upsertNexiDto
47988
+ * @param {*} [options] Override http request option.
47989
+ * @throws {RequiredError}
47990
+ */
47991
+ configUpsertNexi: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47992
+ // verify required parameter 'businessId' is not null or undefined
47993
+ assertParamExists('configUpsertNexi', 'businessId', businessId)
47994
+ // verify required parameter 'xAppX' is not null or undefined
47995
+ assertParamExists('configUpsertNexi', 'xAppX', xAppX)
47996
+ // verify required parameter 'upsertNexiDto' is not null or undefined
47997
+ assertParamExists('configUpsertNexi', 'upsertNexiDto', upsertNexiDto)
47998
+ const localVarPath = `/api/v1/config-management/business/{businessId}/config/nexi`
47999
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
48000
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48001
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48002
+ let baseOptions;
48003
+ if (configuration) {
48004
+ baseOptions = configuration.baseOptions;
48005
+ }
48006
+
48007
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
48008
+ const localVarHeaderParameter = {} as any;
48009
+ const localVarQueryParameter = {} as any;
48010
+
48011
+ // authentication JWT-auth required
48012
+ // http bearer authentication required
48013
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
48014
+
48015
+ if (xAppX != null) {
48016
+ localVarHeaderParameter['x-app-x'] = String(xAppX);
48017
+ }
48018
+
48019
+
48020
+
48021
+ localVarHeaderParameter['Content-Type'] = 'application/json';
48022
+
48023
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
48024
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48025
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
48026
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertNexiDto, localVarRequestOptions, configuration)
48027
+
48028
+ return {
48029
+ url: toPathString(localVarUrlObj),
48030
+ options: localVarRequestOptions,
48031
+ };
48032
+ },
47711
48033
  /**
47712
48034
  * 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
48035
  * @summary Create or update a channel\'s checkout payment options
@@ -47760,8 +48082,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47760
48082
  };
47761
48083
  },
47762
48084
  /**
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
48085
+ * 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.
48086
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
47765
48087
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47766
48088
  * @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
48089
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -47811,8 +48133,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47811
48133
  };
47812
48134
  },
47813
48135
  /**
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
48136
+ * 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.
48137
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
47816
48138
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47817
48139
  * @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
48140
  * @param {UpsertStripeDto} upsertStripeDto
@@ -47862,8 +48184,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47862
48184
  };
47863
48185
  },
47864
48186
  /**
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
48187
+ * 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.
48188
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
47867
48189
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47868
48190
  * @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
48191
  * @param {UpsertVivaDto} upsertVivaDto
@@ -47907,6 +48229,57 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47907
48229
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
47908
48230
  localVarRequestOptions.data = serializeDataIfNeeded(upsertVivaDto, localVarRequestOptions, configuration)
47909
48231
 
48232
+ return {
48233
+ url: toPathString(localVarUrlObj),
48234
+ options: localVarRequestOptions,
48235
+ };
48236
+ },
48237
+ /**
48238
+ * 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.
48239
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48240
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48241
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48242
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
48243
+ * @param {*} [options] Override http request option.
48244
+ * @throws {RequiredError}
48245
+ */
48246
+ configUpsertWorldline: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48247
+ // verify required parameter 'businessId' is not null or undefined
48248
+ assertParamExists('configUpsertWorldline', 'businessId', businessId)
48249
+ // verify required parameter 'xAppX' is not null or undefined
48250
+ assertParamExists('configUpsertWorldline', 'xAppX', xAppX)
48251
+ // verify required parameter 'upsertWorldlineDto' is not null or undefined
48252
+ assertParamExists('configUpsertWorldline', 'upsertWorldlineDto', upsertWorldlineDto)
48253
+ const localVarPath = `/api/v1/config-management/business/{businessId}/config/worldline`
48254
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
48255
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48256
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48257
+ let baseOptions;
48258
+ if (configuration) {
48259
+ baseOptions = configuration.baseOptions;
48260
+ }
48261
+
48262
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
48263
+ const localVarHeaderParameter = {} as any;
48264
+ const localVarQueryParameter = {} as any;
48265
+
48266
+ // authentication JWT-auth required
48267
+ // http bearer authentication required
48268
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
48269
+
48270
+ if (xAppX != null) {
48271
+ localVarHeaderParameter['x-app-x'] = String(xAppX);
48272
+ }
48273
+
48274
+
48275
+
48276
+ localVarHeaderParameter['Content-Type'] = 'application/json';
48277
+
48278
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
48279
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48280
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
48281
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertWorldlineDto, localVarRequestOptions, configuration)
48282
+
47910
48283
  return {
47911
48284
  url: toPathString(localVarUrlObj),
47912
48285
  options: localVarRequestOptions,
@@ -47936,7 +48309,7 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
47936
48309
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
47937
48310
  },
47938
48311
  /**
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).
48312
+ * 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
48313
  * @summary Read a channel\'s card payment providers
47941
48314
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47942
48315
  * @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 +48346,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
47973
48346
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
47974
48347
  },
47975
48348
  /**
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
48349
+ * 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.
48350
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
47978
48351
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47979
48352
  * @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
48353
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -48037,8 +48410,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48037
48410
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48038
48411
  },
48039
48412
  /**
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
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. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
48414
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
48042
48415
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48043
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
48044
48417
  * @param {UpsertNetsDto} upsertNetsDto
@@ -48049,6 +48422,19 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48049
48422
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNets(businessId, xAppX, upsertNetsDto, options);
48050
48423
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48051
48424
  },
48425
+ /**
48426
+ * 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.
48427
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48428
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48429
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48430
+ * @param {UpsertNexiDto} upsertNexiDto
48431
+ * @param {*} [options] Override http request option.
48432
+ * @throws {RequiredError}
48433
+ */
48434
+ 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>> {
48435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNexi(businessId, xAppX, upsertNexiDto, options);
48436
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48437
+ },
48052
48438
  /**
48053
48439
  * 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
48440
  * @summary Create or update a channel\'s checkout payment options
@@ -48063,8 +48449,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48063
48449
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48064
48450
  },
48065
48451
  /**
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
48452
+ * 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.
48453
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
48068
48454
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48069
48455
  * @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
48456
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -48076,8 +48462,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48076
48462
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48077
48463
  },
48078
48464
  /**
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
48465
+ * 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.
48466
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48081
48467
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48082
48468
  * @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
48469
  * @param {UpsertStripeDto} upsertStripeDto
@@ -48089,8 +48475,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48089
48475
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48090
48476
  },
48091
48477
  /**
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
48478
+ * 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.
48479
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
48094
48480
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48095
48481
  * @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
48482
  * @param {UpsertVivaDto} upsertVivaDto
@@ -48101,6 +48487,19 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48101
48487
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertViva(businessId, xAppX, upsertVivaDto, options);
48102
48488
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48103
48489
  },
48490
+ /**
48491
+ * 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.
48492
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48493
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48494
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48495
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
48496
+ * @param {*} [options] Override http request option.
48497
+ * @throws {RequiredError}
48498
+ */
48499
+ 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>> {
48500
+ const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options);
48501
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48502
+ },
48104
48503
  }
48105
48504
  };
48106
48505
 
@@ -48124,7 +48523,7 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48124
48523
  return localVarFp.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(axios, basePath));
48125
48524
  },
48126
48525
  /**
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).
48526
+ * 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
48527
  * @summary Read a channel\'s card payment providers
48129
48528
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48130
48529
  * @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 +48557,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48158
48557
  return localVarFp.configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(axios, basePath));
48159
48558
  },
48160
48559
  /**
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
48560
+ * 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.
48561
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
48163
48562
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48164
48563
  * @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
48564
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -48217,8 +48616,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48217
48616
  return localVarFp.configUpsertLoyalty(businessId, upsertLoyaltyDto, options).then((request) => request(axios, basePath));
48218
48617
  },
48219
48618
  /**
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
48619
+ * 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.
48620
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
48222
48621
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48223
48622
  * @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
48623
  * @param {UpsertNetsDto} upsertNetsDto
@@ -48228,6 +48627,18 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48228
48627
  configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48229
48628
  return localVarFp.configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(axios, basePath));
48230
48629
  },
48630
+ /**
48631
+ * 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.
48632
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48633
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48634
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48635
+ * @param {UpsertNexiDto} upsertNexiDto
48636
+ * @param {*} [options] Override http request option.
48637
+ * @throws {RequiredError}
48638
+ */
48639
+ configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48640
+ return localVarFp.configUpsertNexi(businessId, xAppX, upsertNexiDto, options).then((request) => request(axios, basePath));
48641
+ },
48231
48642
  /**
48232
48643
  * 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
48644
  * @summary Create or update a channel\'s checkout payment options
@@ -48241,8 +48652,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48241
48652
  return localVarFp.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(axios, basePath));
48242
48653
  },
48243
48654
  /**
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
48655
+ * 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.
48656
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
48246
48657
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48247
48658
  * @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
48659
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -48253,8 +48664,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48253
48664
  return localVarFp.configUpsertProviders(businessId, xAppX, upsertProvidersDto, options).then((request) => request(axios, basePath));
48254
48665
  },
48255
48666
  /**
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
48667
+ * 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.
48668
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48258
48669
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48259
48670
  * @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
48671
  * @param {UpsertStripeDto} upsertStripeDto
@@ -48265,8 +48676,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48265
48676
  return localVarFp.configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(axios, basePath));
48266
48677
  },
48267
48678
  /**
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
48679
+ * 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.
48680
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
48270
48681
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48271
48682
  * @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
48683
  * @param {UpsertVivaDto} upsertVivaDto
@@ -48276,6 +48687,18 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48276
48687
  configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48277
48688
  return localVarFp.configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(axios, basePath));
48278
48689
  },
48690
+ /**
48691
+ * 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.
48692
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48693
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48694
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48695
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
48696
+ * @param {*} [options] Override http request option.
48697
+ * @throws {RequiredError}
48698
+ */
48699
+ configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48700
+ return localVarFp.configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options).then((request) => request(axios, basePath));
48701
+ },
48279
48702
  };
48280
48703
  };
48281
48704
 
@@ -48298,7 +48721,7 @@ export interface ConfigManagementApiInterface {
48298
48721
  configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48299
48722
 
48300
48723
  /**
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).
48724
+ * 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
48725
  * @summary Read a channel\'s card payment providers
48303
48726
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48304
48727
  * @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 +48755,8 @@ export interface ConfigManagementApiInterface {
48332
48755
  configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48333
48756
 
48334
48757
  /**
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
48758
+ * 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.
48759
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
48337
48760
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48338
48761
  * @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
48762
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -48391,8 +48814,8 @@ export interface ConfigManagementApiInterface {
48391
48814
  configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48392
48815
 
48393
48816
  /**
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
48817
+ * 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.
48818
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
48396
48819
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48397
48820
  * @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
48821
  * @param {UpsertNetsDto} upsertNetsDto
@@ -48402,6 +48825,18 @@ export interface ConfigManagementApiInterface {
48402
48825
  */
48403
48826
  configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48404
48827
 
48828
+ /**
48829
+ * 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.
48830
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48831
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48832
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48833
+ * @param {UpsertNexiDto} upsertNexiDto
48834
+ * @param {*} [options] Override http request option.
48835
+ * @throws {RequiredError}
48836
+ * @memberof ConfigManagementApiInterface
48837
+ */
48838
+ configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48839
+
48405
48840
  /**
48406
48841
  * 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
48842
  * @summary Create or update a channel\'s checkout payment options
@@ -48415,8 +48850,8 @@ export interface ConfigManagementApiInterface {
48415
48850
  configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48416
48851
 
48417
48852
  /**
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
48853
+ * 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.
48854
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
48420
48855
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48421
48856
  * @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
48857
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -48427,8 +48862,8 @@ export interface ConfigManagementApiInterface {
48427
48862
  configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
48428
48863
 
48429
48864
  /**
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
48865
+ * 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.
48866
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48432
48867
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48433
48868
  * @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
48869
  * @param {UpsertStripeDto} upsertStripeDto
@@ -48439,8 +48874,8 @@ export interface ConfigManagementApiInterface {
48439
48874
  configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48440
48875
 
48441
48876
  /**
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
48877
+ * 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.
48878
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
48444
48879
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48445
48880
  * @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
48881
  * @param {UpsertVivaDto} upsertVivaDto
@@ -48450,6 +48885,18 @@ export interface ConfigManagementApiInterface {
48450
48885
  */
48451
48886
  configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48452
48887
 
48888
+ /**
48889
+ * 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.
48890
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48891
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48892
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48893
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
48894
+ * @param {*} [options] Override http request option.
48895
+ * @throws {RequiredError}
48896
+ * @memberof ConfigManagementApiInterface
48897
+ */
48898
+ configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48899
+
48453
48900
  }
48454
48901
 
48455
48902
  /**
@@ -48474,7 +48921,7 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48474
48921
  }
48475
48922
 
48476
48923
  /**
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).
48924
+ * 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
48925
  * @summary Read a channel\'s card payment providers
48479
48926
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48480
48927
  * @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 +48961,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48514
48961
  }
48515
48962
 
48516
48963
  /**
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
48964
+ * 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.
48965
+ * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
48519
48966
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48520
48967
  * @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
48968
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
@@ -48583,8 +49030,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48583
49030
  }
48584
49031
 
48585
49032
  /**
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
49033
+ * 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.
49034
+ * @summary Create or update a channel\'s Nets config (Munchi admins only)
48588
49035
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48589
49036
  * @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
49037
  * @param {UpsertNetsDto} upsertNetsDto
@@ -48596,6 +49043,20 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48596
49043
  return ConfigManagementApiFp(this.configuration).configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(this.axios, this.basePath));
48597
49044
  }
48598
49045
 
49046
+ /**
49047
+ * 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.
49048
+ * @summary Create or update a channel\'s Nexi config (Munchi admins only)
49049
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49050
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49051
+ * @param {UpsertNexiDto} upsertNexiDto
49052
+ * @param {*} [options] Override http request option.
49053
+ * @throws {RequiredError}
49054
+ * @memberof ConfigManagementApi
49055
+ */
49056
+ public configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig) {
49057
+ return ConfigManagementApiFp(this.configuration).configUpsertNexi(businessId, xAppX, upsertNexiDto, options).then((request) => request(this.axios, this.basePath));
49058
+ }
49059
+
48599
49060
  /**
48600
49061
  * 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
49062
  * @summary Create or update a channel\'s checkout payment options
@@ -48611,8 +49072,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48611
49072
  }
48612
49073
 
48613
49074
  /**
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
49075
+ * 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.
49076
+ * @summary Set active provider and upsert its credentials (Munchi admins only)
48616
49077
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48617
49078
  * @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
49079
  * @param {UpsertProvidersDto} upsertProvidersDto
@@ -48625,8 +49086,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48625
49086
  }
48626
49087
 
48627
49088
  /**
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
49089
+ * 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.
49090
+ * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48630
49091
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48631
49092
  * @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
49093
  * @param {UpsertStripeDto} upsertStripeDto
@@ -48639,8 +49100,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48639
49100
  }
48640
49101
 
48641
49102
  /**
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
49103
+ * 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.
49104
+ * @summary Create or update a channel\'s Viva config (Munchi admins only)
48644
49105
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48645
49106
  * @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
49107
  * @param {UpsertVivaDto} upsertVivaDto
@@ -48651,6 +49112,20 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48651
49112
  public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
48652
49113
  return ConfigManagementApiFp(this.configuration).configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(this.axios, this.basePath));
48653
49114
  }
49115
+
49116
+ /**
49117
+ * 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.
49118
+ * @summary Create or update a channel\'s Worldline config (Munchi admins only)
49119
+ * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49120
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49121
+ * @param {UpsertWorldlineDto} upsertWorldlineDto
49122
+ * @param {*} [options] Override http request option.
49123
+ * @throws {RequiredError}
49124
+ * @memberof ConfigManagementApi
49125
+ */
49126
+ public configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig) {
49127
+ return ConfigManagementApiFp(this.configuration).configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options).then((request) => request(this.axios, this.basePath));
49128
+ }
48654
49129
  }
48655
49130
 
48656
49131
 
@@ -77153,7 +77628,7 @@ export const TerminalApiAxiosParamCreator = function (configuration?: Configurat
77153
77628
  };
77154
77629
  },
77155
77630
  /**
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.
77631
+ * 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
77632
  * @summary Discover available payment terminals
77158
77633
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77159
77634
  * @param {*} [options] Override http request option.
@@ -77220,7 +77695,7 @@ export const TerminalApiFp = function(configuration?: Configuration) {
77220
77695
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
77221
77696
  },
77222
77697
  /**
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.
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.
77224
77699
  * @summary Discover available payment terminals
77225
77700
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77226
77701
  * @param {*} [options] Override http request option.
@@ -77260,7 +77735,7 @@ export const TerminalApiFactory = function (configuration?: Configuration, baseP
77260
77735
  return localVarFp.disconnectTerminal(options).then((request) => request(axios, basePath));
77261
77736
  },
77262
77737
  /**
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.
77738
+ * 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
77739
  * @summary Discover available payment terminals
77265
77740
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77266
77741
  * @param {*} [options] Override http request option.
@@ -77298,7 +77773,7 @@ export interface TerminalApiInterface {
77298
77773
  disconnectTerminal(options?: AxiosRequestConfig): AxiosPromise<LinkedStationDto>;
77299
77774
 
77300
77775
  /**
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.
77776
+ * 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
77777
  * @summary Discover available payment terminals
77303
77778
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77304
77779
  * @param {*} [options] Override http request option.
@@ -77340,7 +77815,7 @@ export class TerminalApi extends BaseAPI implements TerminalApiInterface {
77340
77815
  }
77341
77816
 
77342
77817
  /**
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.
77818
+ * 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
77819
  * @summary Discover available payment terminals
77345
77820
  * @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
77346
77821
  * @param {*} [options] Override http request option.
@@ -77923,7 +78398,7 @@ export const VenueKiosksApiAxiosParamCreator = function (configuration?: Configu
77923
78398
  };
77924
78399
  },
77925
78400
  /**
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.
78401
+ * 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
78402
  * @summary Add a payment terminal to the venue (Munchi admins only)
77928
78403
  * @param {number} businessId The venue\&#39;s orderingBusinessId
77929
78404
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
@@ -78258,7 +78733,7 @@ export const VenueKiosksApiFp = function(configuration?: Configuration) {
78258
78733
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
78259
78734
  },
78260
78735
  /**
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.
78736
+ * 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
78737
  * @summary Add a payment terminal to the venue (Munchi admins only)
78263
78738
  * @param {number} businessId The venue\&#39;s orderingBusinessId
78264
78739
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
@@ -78375,7 +78850,7 @@ export const VenueKiosksApiFactory = function (configuration?: Configuration, ba
78375
78850
  return localVarFp.claimVenueKiosk(businessId, claimKioskDto, options).then((request) => request(axios, basePath));
78376
78851
  },
78377
78852
  /**
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.
78853
+ * 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
78854
  * @summary Add a payment terminal to the venue (Munchi admins only)
78380
78855
  * @param {number} businessId The venue\&#39;s orderingBusinessId
78381
78856
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
@@ -78484,7 +78959,7 @@ export interface VenueKiosksApiInterface {
78484
78959
  claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): AxiosPromise<VenueKioskDto>;
78485
78960
 
78486
78961
  /**
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.
78962
+ * 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
78963
  * @summary Add a payment terminal to the venue (Munchi admins only)
78489
78964
  * @param {number} businessId The venue\&#39;s orderingBusinessId
78490
78965
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
@@ -78597,7 +79072,7 @@ export class VenueKiosksApi extends BaseAPI implements VenueKiosksApiInterface {
78597
79072
  }
78598
79073
 
78599
79074
  /**
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.
79075
+ * 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
79076
  * @summary Add a payment terminal to the venue (Munchi admins only)
78602
79077
  * @param {number} businessId The venue\&#39;s orderingBusinessId
78603
79078
  * @param {CreatePaymentTerminalDto} createPaymentTerminalDto