@munchi_oy/core 2.20.0 → 2.22.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
@@ -2975,7 +2975,8 @@ export const ChannelEnum = {
2975
2975
  WoltStorefront: 'WoltStorefront',
2976
2976
  Storefront: 'Storefront',
2977
2977
  MunchiPay: 'MunchiPay',
2978
- ResQ: 'ResQ'
2978
+ ResQ: 'ResQ',
2979
+ Partner: 'Partner'
2979
2980
  } as const;
2980
2981
 
2981
2982
  export type ChannelEnum = typeof ChannelEnum[keyof typeof ChannelEnum];
@@ -16047,6 +16048,345 @@ export interface NexiConfigResponseDto {
16047
16048
  */
16048
16049
  'hasPassword': boolean;
16049
16050
  }
16051
+ /**
16052
+ *
16053
+ * @export
16054
+ * @interface NexiOnDeviceAnswerDto
16055
+ */
16056
+ export interface NexiOnDeviceAnswerDto {
16057
+ /**
16058
+ *
16059
+ * @type {PoyntPaymentStatus}
16060
+ * @memberof NexiOnDeviceAnswerDto
16061
+ */
16062
+ 'status': PoyntPaymentStatus;
16063
+ /**
16064
+ * The reference the payment app was given, read back from the transaction\'s references: the session\'s sessionId. Required on a sale\'s or a refund\'s approval, which is refused when it is not the session\'s. A decline or a cancel may come without it, and then only ends the wait. Not read on a revert: Poynt\'s void carries the sale\'s references.
16065
+ * @type {string}
16066
+ * @memberof NexiOnDeviceAnswerDto
16067
+ */
16068
+ 'reference'?: string;
16069
+ /**
16070
+ * Poynt\'s `Transaction.id`. Required on an approval. On a sale or a refund it becomes the session\'s providerTransactionId, and one id settles one session only. On a revert it is the void\'s own transaction or the sale\'s, and it or parentId must be the sale\'s; it is kept in the stored answer only.
16071
+ * @type {string}
16072
+ * @memberof NexiOnDeviceAnswerDto
16073
+ */
16074
+ 'transactionId'?: string;
16075
+ /**
16076
+ * Poynt\'s `Transaction.parentId`: on a void, the sale\'s transaction id. Absent on a sale, and on a refund, which Poynt does not link to its sale (a non-referenced refund).
16077
+ * @type {string}
16078
+ * @memberof NexiOnDeviceAnswerDto
16079
+ */
16080
+ 'parentId'?: string;
16081
+ /**
16082
+ * Poynt\'s `Transaction.status`. A sale\'s approval must carry CAPTURED, a refund\'s REFUNDED, a revert\'s VOIDED; any other is kept for ops and the session is not settled.
16083
+ * @type {string}
16084
+ * @memberof NexiOnDeviceAnswerDto
16085
+ */
16086
+ 'transactionStatus'?: string;
16087
+ /**
16088
+ * Poynt\'s `Transaction.action` (SALE, REFUND). Kept in the stored answer, not checked.
16089
+ * @type {string}
16090
+ * @memberof NexiOnDeviceAnswerDto
16091
+ */
16092
+ 'transactionAction'?: string;
16093
+ /**
16094
+ * Poynt\'s `Transaction.partiallyApproved`. An approval for part of the amount is kept for ops and the session is not settled. Absent reads as false.
16095
+ * @type {boolean}
16096
+ * @memberof NexiOnDeviceAnswerDto
16097
+ */
16098
+ 'partiallyApproved'?: boolean;
16099
+ /**
16100
+ * How many of the Payment\'s transactions Poynt approved. Absent or 1 is the normal case; 2 or more is kept for ops and the session is not settled.
16101
+ * @type {number}
16102
+ * @memberof NexiOnDeviceAnswerDto
16103
+ */
16104
+ 'approvedTransactionCount'?: number;
16105
+ /**
16106
+ * The currency charged, ISO 4217 alpha code (`amounts.currency`). Required on a sale\'s or a refund\'s approval, and must be the session\'s.
16107
+ * @type {string}
16108
+ * @memberof NexiOnDeviceAnswerDto
16109
+ */
16110
+ 'currency'?: string;
16111
+ /**
16112
+ * What the card was charged or refunded, in cents (`amounts.transactionAmount`), tip included. Required on a sale\'s or a refund\'s approval: a sale\'s must be the session\'s amount plus its tip, a refund\'s the refund\'s amount. One that does not match is kept for ops and the session is not settled. Not checked on a revert, which gives back the whole sale.
16113
+ * @type {number}
16114
+ * @memberof NexiOnDeviceAnswerDto
16115
+ */
16116
+ 'transactionAmount'?: number;
16117
+ /**
16118
+ * The tip in `amounts.tipAmount`, in cents. Kept in the stored answer; the payment event\'s tip is the session\'s, since the payment app takes no tip of its own.
16119
+ * @type {number}
16120
+ * @memberof NexiOnDeviceAnswerDto
16121
+ */
16122
+ 'tipAmount'?: number;
16123
+ /**
16124
+ * The card brand, Poynt\'s `card.type`.
16125
+ * @type {string}
16126
+ * @memberof NexiOnDeviceAnswerDto
16127
+ */
16128
+ 'cardType'?: string;
16129
+ /**
16130
+ * The card\'s first six digits (`card.numberFirst6`); they tell a benefit card. Six digits exactly.
16131
+ * @type {string}
16132
+ * @memberof NexiOnDeviceAnswerDto
16133
+ */
16134
+ 'numberFirst6'?: string;
16135
+ /**
16136
+ * The card\'s last four digits (`card.numberLast4`). A refund whose card differs from the sale\'s is recorded and logged, never refused. Four digits exactly.
16137
+ * @type {string}
16138
+ * @memberof NexiOnDeviceAnswerDto
16139
+ */
16140
+ 'numberLast4'?: string;
16141
+ /**
16142
+ * The issuer\'s approval code (`processorResponse.approvalCode`; Poynt\'s top-level `approvalCode` is null on the N950). Optional: shown on the payment event, never required.
16143
+ * @type {string}
16144
+ * @memberof NexiOnDeviceAnswerDto
16145
+ */
16146
+ 'approvalCode'?: string;
16147
+ /**
16148
+ * The acquirer\'s retrieval reference number (`processorResponse.retrievalRefNum`).
16149
+ * @type {string}
16150
+ * @memberof NexiOnDeviceAnswerDto
16151
+ */
16152
+ 'retrievalRefNum'?: string;
16153
+ /**
16154
+ * `processorResponse.status`: Successful or Failure. Kept, not checked.
16155
+ * @type {string}
16156
+ * @memberof NexiOnDeviceAnswerDto
16157
+ */
16158
+ 'processorStatus'?: string;
16159
+ /**
16160
+ * `processorResponse.statusMessage`: why a transaction failed, in Poynt\'s words. Stored, trimmed, as the session\'s errorMessage when the session ends without money; a blank one (the N950 sends a single space when it has none) is replaced by the server\'s own words.
16161
+ * @type {string}
16162
+ * @memberof NexiOnDeviceAnswerDto
16163
+ */
16164
+ 'processorStatusMessage'?: string;
16165
+ /**
16166
+ * Nexi\'s own reference of the transaction (the `npay-reference-number` reference), as the Nexi portal shows it. Kept, not checked.
16167
+ * @type {string}
16168
+ * @memberof NexiOnDeviceAnswerDto
16169
+ */
16170
+ 'nexiReferenceNumber'?: string;
16171
+ /**
16172
+ * When Poynt created the transaction, ISO 8601, as the device\'s clock says. Kept in the stored answer only; the payment event\'s time is the server\'s.
16173
+ * @type {string}
16174
+ * @memberof NexiOnDeviceAnswerDto
16175
+ */
16176
+ 'createdAt'?: string;
16177
+ }
16178
+
16179
+
16180
+ /**
16181
+ *
16182
+ * @export
16183
+ * @interface NexiOnDeviceResultViewDto
16184
+ */
16185
+ export interface NexiOnDeviceResultViewDto {
16186
+ /**
16187
+ * Opaque client token.
16188
+ * @type {string}
16189
+ * @memberof NexiOnDeviceResultViewDto
16190
+ */
16191
+ 'clientToken': string;
16192
+ /**
16193
+ * Internal session ID.
16194
+ * @type {string}
16195
+ * @memberof NexiOnDeviceResultViewDto
16196
+ */
16197
+ 'sessionId': string;
16198
+ /**
16199
+ * Viva transaction ID set after webhook completes.
16200
+ * @type {string}
16201
+ * @memberof NexiOnDeviceResultViewDto
16202
+ */
16203
+ 'providerTransactionId'?: string;
16204
+ /**
16205
+ *
16206
+ * @type {PaymentSessionStatus}
16207
+ * @memberof NexiOnDeviceResultViewDto
16208
+ */
16209
+ 'status': PaymentSessionStatus;
16210
+ /**
16211
+ * Amount in cents.
16212
+ * @type {number}
16213
+ * @memberof NexiOnDeviceResultViewDto
16214
+ */
16215
+ 'amount': number;
16216
+ /**
16217
+ * Currency.
16218
+ * @type {string}
16219
+ * @memberof NexiOnDeviceResultViewDto
16220
+ */
16221
+ 'currency': string;
16222
+ /**
16223
+ * Tip amount (cents).
16224
+ * @type {number}
16225
+ * @memberof NexiOnDeviceResultViewDto
16226
+ */
16227
+ 'tipAmount': number;
16228
+ /**
16229
+ * Surcharge amount (cents).
16230
+ * @type {number}
16231
+ * @memberof NexiOnDeviceResultViewDto
16232
+ */
16233
+ 'surchargeAmount': number;
16234
+ /**
16235
+ * Error code if failed.
16236
+ * @type {string}
16237
+ * @memberof NexiOnDeviceResultViewDto
16238
+ */
16239
+ 'errorCode'?: string;
16240
+ /**
16241
+ * Error message if failed.
16242
+ * @type {string}
16243
+ * @memberof NexiOnDeviceResultViewDto
16244
+ */
16245
+ 'errorMessage'?: string;
16246
+ /**
16247
+ * When the session was started (ISO 8601, UTC).
16248
+ * @type {string}
16249
+ * @memberof NexiOnDeviceResultViewDto
16250
+ */
16251
+ 'createdAt': string;
16252
+ /**
16253
+ * When the session last changed (ISO 8601, UTC).
16254
+ * @type {string}
16255
+ * @memberof NexiOnDeviceResultViewDto
16256
+ */
16257
+ 'updatedAt': string;
16258
+ /**
16259
+ * When the sale was written to the order and closed (ISO 8601, UTC); null while it is not.
16260
+ * @type {string}
16261
+ * @memberof NexiOnDeviceResultViewDto
16262
+ */
16263
+ 'closedAt'?: string;
16264
+ /**
16265
+ *
16266
+ * @type {NexiOnDeviceResultViewDtoTransaction}
16267
+ * @memberof NexiOnDeviceResultViewDto
16268
+ */
16269
+ 'transaction'?: NexiOnDeviceResultViewDtoTransaction;
16270
+ }
16271
+
16272
+
16273
+ /**
16274
+ * The payment event the order receives for this sale, built from the payment app\'s approval: the session\'s amount, the tip as a fee, the card\'s brand and masked number. Present while the session is a paid sale (SUCCESS or CLOSED), a repeated answer included; absent for a failure, a cancel, a refund or a revert.
16275
+ * @export
16276
+ * @interface NexiOnDeviceResultViewDtoTransaction
16277
+ */
16278
+ export interface NexiOnDeviceResultViewDtoTransaction {
16279
+ /**
16280
+ * Id of this payment: the payment provider\'s transaction id for a card payment, or an id the till made
16281
+ * @type {string}
16282
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16283
+ */
16284
+ 'id': string;
16285
+ /**
16286
+ * The payment\'s reference: the provider\'s session or merchant reference for a card payment, or, on a reversal, the id of the payment it reverses; null when there is none
16287
+ * @type {string}
16288
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16289
+ */
16290
+ 'referenceId': string | null;
16291
+ /**
16292
+ *
16293
+ * @type {PaymentProvider}
16294
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16295
+ */
16296
+ 'provider': PaymentProvider;
16297
+ /**
16298
+ *
16299
+ * @type {PaymentMethod}
16300
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16301
+ */
16302
+ 'type': PaymentMethod;
16303
+ /**
16304
+ *
16305
+ * @type {PaymentOutcomeStatus}
16306
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16307
+ */
16308
+ 'paymentOutcomeStatus'?: PaymentOutcomeStatus;
16309
+ /**
16310
+ * Amount paid in cents
16311
+ * @type {number}
16312
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16313
+ */
16314
+ 'amount': number;
16315
+ /**
16316
+ * Difference from cash rounding in cents
16317
+ * @type {number}
16318
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16319
+ */
16320
+ 'roundingDifference': number;
16321
+ /**
16322
+ * Raw data from payment provider, as it sent it
16323
+ * @type {object}
16324
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16325
+ */
16326
+ 'rawData': object;
16327
+ /**
16328
+ * When the payment was taken
16329
+ * @type {string}
16330
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16331
+ */
16332
+ 'createdAt': string;
16333
+ /**
16334
+ *
16335
+ * @type {TransactionDtoCardDetail}
16336
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16337
+ */
16338
+ 'cardDetail': TransactionDtoCardDetail | null;
16339
+ /**
16340
+ * The monetary amount of the voucher value that was *not* used and *not* refunded to the customer (i.e., the overage). This is applicable only when a voucher is used and its value exceeds the order total.
16341
+ * @type {number}
16342
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16343
+ */
16344
+ 'voucherForfeitedAmount'?: number | null;
16345
+ /**
16346
+ * The specific line items this transaction paid for. If null or empty, it was a pooled payment against the total bill.
16347
+ * @type {Array<string>}
16348
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16349
+ */
16350
+ 'lineItemIds'?: Array<string> | null;
16351
+ /**
16352
+ * The specific split part this transaction paid for. If null, it was not a payment for a split part.
16353
+ * @type {string}
16354
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16355
+ */
16356
+ 'splitPartId'?: string | null;
16357
+ /**
16358
+ * Detailed settlement allocations for this transaction. Use this for accurate refund and reconciliation logic, especially when one line item is split across multiple payments.
16359
+ * @type {Array<TransactionItemAllocationDto>}
16360
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16361
+ */
16362
+ 'itemAllocations'?: Array<TransactionItemAllocationDto> | null;
16363
+ /**
16364
+ *
16365
+ * @type {TransactionDtoDevice}
16366
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16367
+ */
16368
+ 'device'?: TransactionDtoDevice | null;
16369
+ /**
16370
+ *
16371
+ * @type {TransactionDtoCapturedBy}
16372
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16373
+ */
16374
+ 'capturedBy'?: TransactionDtoCapturedBy | null;
16375
+ /**
16376
+ * Indicates whether this transaction was processed as a pre-authorization.
16377
+ * @type {string}
16378
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16379
+ */
16380
+ 'label': string | null;
16381
+ /**
16382
+ *
16383
+ * @type {TransactionDtoFees}
16384
+ * @memberof NexiOnDeviceResultViewDtoTransaction
16385
+ */
16386
+ 'fees'?: TransactionDtoFees | null;
16387
+ }
16388
+
16389
+
16050
16390
  /**
16051
16391
  *
16052
16392
  * @export
@@ -18905,6 +19245,69 @@ export interface ParkPosOrderResponseDto {
18905
19245
  */
18906
19246
  'heldLineItems': number;
18907
19247
  }
19248
+ /**
19249
+ *
19250
+ * @export
19251
+ * @interface PartnerDto
19252
+ */
19253
+ export interface PartnerDto {
19254
+ /**
19255
+ * The partner\'s id, which never changes: a provider row links to it, and an order keeps it with the partner\'s name and logo as they were when the order was saved
19256
+ * @type {string}
19257
+ * @memberof PartnerDto
19258
+ */
19259
+ 'id': string;
19260
+ /**
19261
+ * The partner\'s key, which never changes once created: orders keep it. A platform Munchi connected before the partner standard has its channel name as key (Wolt, WoltStorefront, UberEats, Foodora, Bolt, ResQ); a partner on the partner standard a slug: words of lowercase letters and digits joined by single -, starting with a letter, 2 to 41 characters, that names no Munchi channel
19262
+ * @type {string}
19263
+ * @memberof PartnerDto
19264
+ */
19265
+ 'key': string;
19266
+ /**
19267
+ * The partner\'s name as the apps show it
19268
+ * @type {string}
19269
+ * @memberof PartnerDto
19270
+ */
19271
+ 'name': string;
19272
+ /**
19273
+ * The partner\'s logo, an https address; null when it has none
19274
+ * @type {string}
19275
+ * @memberof PartnerDto
19276
+ */
19277
+ 'logoUrl': string | null;
19278
+ /**
19279
+ * Whether the partner is active
19280
+ * @type {boolean}
19281
+ * @memberof PartnerDto
19282
+ */
19283
+ 'isActive': boolean;
19284
+ /**
19285
+ * When the partner was added, ISO 8601 in UTC
19286
+ * @type {string}
19287
+ * @memberof PartnerDto
19288
+ */
19289
+ 'createdAt': string;
19290
+ /**
19291
+ * When the partner was last changed, ISO 8601 in UTC
19292
+ * @type {string}
19293
+ * @memberof PartnerDto
19294
+ */
19295
+ 'updatedAt': string;
19296
+ }
19297
+ /**
19298
+ *
19299
+ * @export
19300
+ * @enum {string}
19301
+ */
19302
+
19303
+ export const PartnerWrite = {
19304
+ Created: 'created',
19305
+ Updated: 'updated'
19306
+ } as const;
19307
+
19308
+ export type PartnerWrite = typeof PartnerWrite[keyof typeof PartnerWrite];
19309
+
19310
+
18908
19311
  /**
18909
19312
  *
18910
19313
  * @export
@@ -24224,6 +24627,27 @@ export interface PosVivaMerchantDto {
24224
24627
  */
24225
24628
  'merchantId': string | null;
24226
24629
  }
24630
+ /**
24631
+ *
24632
+ * @export
24633
+ * @enum {string}
24634
+ */
24635
+
24636
+ export const PoyntPaymentStatus = {
24637
+ Authorized: 'AUTHORIZED',
24638
+ Canceled: 'CANCELED',
24639
+ Completed: 'COMPLETED',
24640
+ Declined: 'DECLINED',
24641
+ Failed: 'FAILED',
24642
+ Hold: 'HOLD',
24643
+ ReadCardOnly: 'READ_CARD_ONLY',
24644
+ Refunded: 'REFUNDED',
24645
+ Voided: 'VOIDED'
24646
+ } as const;
24647
+
24648
+ export type PoyntPaymentStatus = typeof PoyntPaymentStatus[keyof typeof PoyntPaymentStatus];
24649
+
24650
+
24227
24651
  /**
24228
24652
  *
24229
24653
  * @export
@@ -25723,7 +26147,8 @@ export const ProviderEnum = {
25723
26147
  WoltStorefront: 'WoltStorefront',
25724
26148
  Storefront: 'Storefront',
25725
26149
  MunchiPay: 'MunchiPay',
25726
- ResQ: 'ResQ'
26150
+ ResQ: 'ResQ',
26151
+ Partner: 'Partner'
25727
26152
  } as const;
25728
26153
 
25729
26154
  export type ProviderEnum = typeof ProviderEnum[keyof typeof ProviderEnum];
@@ -27492,6 +27917,154 @@ export const RecordManualStatus = {
27492
27917
  export type RecordManualStatus = typeof RecordManualStatus[keyof typeof RecordManualStatus];
27493
27918
 
27494
27919
 
27920
+ /**
27921
+ *
27922
+ * @export
27923
+ * @interface RecordNexiOnDeviceResultDto
27924
+ */
27925
+ export interface RecordNexiOnDeviceResultDto {
27926
+ /**
27927
+ * The sessionId the start, refund or revert route answered. A sale\'s and a refund\'s is the reference the payment app was given; a revert\'s names the reversal the void settles.
27928
+ * @type {string}
27929
+ * @memberof RecordNexiOnDeviceResultDto
27930
+ */
27931
+ 'sessionId': string;
27932
+ /**
27933
+ *
27934
+ * @type {RecordNexiOnDeviceResultDtoAnswer}
27935
+ * @memberof RecordNexiOnDeviceResultDto
27936
+ */
27937
+ 'answer': RecordNexiOnDeviceResultDtoAnswer;
27938
+ }
27939
+ /**
27940
+ * The payment app\'s answer, flattened from Poynt\'s Payment by the app.
27941
+ * @export
27942
+ * @interface RecordNexiOnDeviceResultDtoAnswer
27943
+ */
27944
+ export interface RecordNexiOnDeviceResultDtoAnswer {
27945
+ /**
27946
+ *
27947
+ * @type {PoyntPaymentStatus}
27948
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
27949
+ */
27950
+ 'status': PoyntPaymentStatus;
27951
+ /**
27952
+ * The reference the payment app was given, read back from the transaction\'s references: the session\'s sessionId. Required on a sale\'s or a refund\'s approval, which is refused when it is not the session\'s. A decline or a cancel may come without it, and then only ends the wait. Not read on a revert: Poynt\'s void carries the sale\'s references.
27953
+ * @type {string}
27954
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
27955
+ */
27956
+ 'reference'?: string;
27957
+ /**
27958
+ * Poynt\'s `Transaction.id`. Required on an approval. On a sale or a refund it becomes the session\'s providerTransactionId, and one id settles one session only. On a revert it is the void\'s own transaction or the sale\'s, and it or parentId must be the sale\'s; it is kept in the stored answer only.
27959
+ * @type {string}
27960
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
27961
+ */
27962
+ 'transactionId'?: string;
27963
+ /**
27964
+ * Poynt\'s `Transaction.parentId`: on a void, the sale\'s transaction id. Absent on a sale, and on a refund, which Poynt does not link to its sale (a non-referenced refund).
27965
+ * @type {string}
27966
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
27967
+ */
27968
+ 'parentId'?: string;
27969
+ /**
27970
+ * Poynt\'s `Transaction.status`. A sale\'s approval must carry CAPTURED, a refund\'s REFUNDED, a revert\'s VOIDED; any other is kept for ops and the session is not settled.
27971
+ * @type {string}
27972
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
27973
+ */
27974
+ 'transactionStatus'?: string;
27975
+ /**
27976
+ * Poynt\'s `Transaction.action` (SALE, REFUND). Kept in the stored answer, not checked.
27977
+ * @type {string}
27978
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
27979
+ */
27980
+ 'transactionAction'?: string;
27981
+ /**
27982
+ * Poynt\'s `Transaction.partiallyApproved`. An approval for part of the amount is kept for ops and the session is not settled. Absent reads as false.
27983
+ * @type {boolean}
27984
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
27985
+ */
27986
+ 'partiallyApproved'?: boolean;
27987
+ /**
27988
+ * How many of the Payment\'s transactions Poynt approved. Absent or 1 is the normal case; 2 or more is kept for ops and the session is not settled.
27989
+ * @type {number}
27990
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
27991
+ */
27992
+ 'approvedTransactionCount'?: number;
27993
+ /**
27994
+ * The currency charged, ISO 4217 alpha code (`amounts.currency`). Required on a sale\'s or a refund\'s approval, and must be the session\'s.
27995
+ * @type {string}
27996
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
27997
+ */
27998
+ 'currency'?: string;
27999
+ /**
28000
+ * What the card was charged or refunded, in cents (`amounts.transactionAmount`), tip included. Required on a sale\'s or a refund\'s approval: a sale\'s must be the session\'s amount plus its tip, a refund\'s the refund\'s amount. One that does not match is kept for ops and the session is not settled. Not checked on a revert, which gives back the whole sale.
28001
+ * @type {number}
28002
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28003
+ */
28004
+ 'transactionAmount'?: number;
28005
+ /**
28006
+ * The tip in `amounts.tipAmount`, in cents. Kept in the stored answer; the payment event\'s tip is the session\'s, since the payment app takes no tip of its own.
28007
+ * @type {number}
28008
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28009
+ */
28010
+ 'tipAmount'?: number;
28011
+ /**
28012
+ * The card brand, Poynt\'s `card.type`.
28013
+ * @type {string}
28014
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28015
+ */
28016
+ 'cardType'?: string;
28017
+ /**
28018
+ * The card\'s first six digits (`card.numberFirst6`); they tell a benefit card. Six digits exactly.
28019
+ * @type {string}
28020
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28021
+ */
28022
+ 'numberFirst6'?: string;
28023
+ /**
28024
+ * The card\'s last four digits (`card.numberLast4`). A refund whose card differs from the sale\'s is recorded and logged, never refused. Four digits exactly.
28025
+ * @type {string}
28026
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28027
+ */
28028
+ 'numberLast4'?: string;
28029
+ /**
28030
+ * The issuer\'s approval code (`processorResponse.approvalCode`; Poynt\'s top-level `approvalCode` is null on the N950). Optional: shown on the payment event, never required.
28031
+ * @type {string}
28032
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28033
+ */
28034
+ 'approvalCode'?: string;
28035
+ /**
28036
+ * The acquirer\'s retrieval reference number (`processorResponse.retrievalRefNum`).
28037
+ * @type {string}
28038
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28039
+ */
28040
+ 'retrievalRefNum'?: string;
28041
+ /**
28042
+ * `processorResponse.status`: Successful or Failure. Kept, not checked.
28043
+ * @type {string}
28044
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28045
+ */
28046
+ 'processorStatus'?: string;
28047
+ /**
28048
+ * `processorResponse.statusMessage`: why a transaction failed, in Poynt\'s words. Stored, trimmed, as the session\'s errorMessage when the session ends without money; a blank one (the N950 sends a single space when it has none) is replaced by the server\'s own words.
28049
+ * @type {string}
28050
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28051
+ */
28052
+ 'processorStatusMessage'?: string;
28053
+ /**
28054
+ * Nexi\'s own reference of the transaction (the `npay-reference-number` reference), as the Nexi portal shows it. Kept, not checked.
28055
+ * @type {string}
28056
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28057
+ */
28058
+ 'nexiReferenceNumber'?: string;
28059
+ /**
28060
+ * When Poynt created the transaction, ISO 8601, as the device\'s clock says. Kept in the stored answer only; the payment event\'s time is the server\'s.
28061
+ * @type {string}
28062
+ * @memberof RecordNexiOnDeviceResultDtoAnswer
28063
+ */
28064
+ 'createdAt'?: string;
28065
+ }
28066
+
28067
+
27495
28068
  /**
27496
28069
  *
27497
28070
  * @export
@@ -29575,7 +30148,7 @@ export interface ReverseSessionDto {
29575
30148
  */
29576
30149
  'sessionId': string;
29577
30150
  /**
29578
- * Amount to refund in cents for a partial / item refund. Must be > 0 and <= the session\'s paid amount. Omit to refund the full session amount.
30151
+ * Amount to refund in cents for a partial / item refund. Must be > 0 and <= the session\'s paid amount. Omit to refund the full session amount; on nexi/refund, omitting it refunds what is left of the sale, and nexi/revert ignores it.
29579
30152
  * @type {number}
29580
30153
  * @memberof ReverseSessionDto
29581
30154
  */
@@ -32083,6 +32656,76 @@ export interface SaveEpassiCredentialsDto {
32083
32656
  */
32084
32657
  'posName': string;
32085
32658
  }
32659
+ /**
32660
+ *
32661
+ * @export
32662
+ * @interface SavedPartnerDto
32663
+ */
32664
+ export interface SavedPartnerDto {
32665
+ /**
32666
+ *
32667
+ * @type {PartnerWrite}
32668
+ * @memberof SavedPartnerDto
32669
+ */
32670
+ 'write': PartnerWrite;
32671
+ /**
32672
+ *
32673
+ * @type {SavedPartnerDtoPartner}
32674
+ * @memberof SavedPartnerDto
32675
+ */
32676
+ 'partner': SavedPartnerDtoPartner;
32677
+ }
32678
+
32679
+
32680
+ /**
32681
+ * The partner as it is after the save; its key is the one it was saved under, which a key asked in another case is changed to
32682
+ * @export
32683
+ * @interface SavedPartnerDtoPartner
32684
+ */
32685
+ export interface SavedPartnerDtoPartner {
32686
+ /**
32687
+ * The partner\'s id, which never changes: a provider row links to it, and an order keeps it with the partner\'s name and logo as they were when the order was saved
32688
+ * @type {string}
32689
+ * @memberof SavedPartnerDtoPartner
32690
+ */
32691
+ 'id': string;
32692
+ /**
32693
+ * The partner\'s key, which never changes once created: orders keep it. A platform Munchi connected before the partner standard has its channel name as key (Wolt, WoltStorefront, UberEats, Foodora, Bolt, ResQ); a partner on the partner standard a slug: words of lowercase letters and digits joined by single -, starting with a letter, 2 to 41 characters, that names no Munchi channel
32694
+ * @type {string}
32695
+ * @memberof SavedPartnerDtoPartner
32696
+ */
32697
+ 'key': string;
32698
+ /**
32699
+ * The partner\'s name as the apps show it
32700
+ * @type {string}
32701
+ * @memberof SavedPartnerDtoPartner
32702
+ */
32703
+ 'name': string;
32704
+ /**
32705
+ * The partner\'s logo, an https address; null when it has none
32706
+ * @type {string}
32707
+ * @memberof SavedPartnerDtoPartner
32708
+ */
32709
+ 'logoUrl': string | null;
32710
+ /**
32711
+ * Whether the partner is active
32712
+ * @type {boolean}
32713
+ * @memberof SavedPartnerDtoPartner
32714
+ */
32715
+ 'isActive': boolean;
32716
+ /**
32717
+ * When the partner was added, ISO 8601 in UTC
32718
+ * @type {string}
32719
+ * @memberof SavedPartnerDtoPartner
32720
+ */
32721
+ 'createdAt': string;
32722
+ /**
32723
+ * When the partner was last changed, ISO 8601 in UTC
32724
+ * @type {string}
32725
+ * @memberof SavedPartnerDtoPartner
32726
+ */
32727
+ 'updatedAt': string;
32728
+ }
32086
32729
  /**
32087
32730
  *
32088
32731
  * @export
@@ -38904,6 +39547,31 @@ export interface UpsertNexiDto {
38904
39547
  */
38905
39548
  'password'?: string;
38906
39549
  }
39550
+ /**
39551
+ *
39552
+ * @export
39553
+ * @interface UpsertPartnerDto
39554
+ */
39555
+ export interface UpsertPartnerDto {
39556
+ /**
39557
+ * The partner\'s name as the apps show it, 1 to 60 characters once the spaces around it are removed
39558
+ * @type {string}
39559
+ * @memberof UpsertPartnerDto
39560
+ */
39561
+ 'name': string;
39562
+ /**
39563
+ * The partner\'s logo, an https address of at most 2048 characters (Munchi keeps its logos on Google Cloud Storage). null removes it; absent: a new partner has none, and a partner already there keeps its own
39564
+ * @type {string}
39565
+ * @memberof UpsertPartnerDto
39566
+ */
39567
+ 'logoUrl'?: string | null;
39568
+ /**
39569
+ * Whether the partner is active. Absent: a new partner is active, and a partner already there keeps its own
39570
+ * @type {boolean}
39571
+ * @memberof UpsertPartnerDto
39572
+ */
39573
+ 'isActive'?: boolean;
39574
+ }
38907
39575
  /**
38908
39576
  *
38909
39577
  * @export
@@ -39575,11 +40243,17 @@ export interface VendureSellerUpsertDto {
39575
40243
  */
39576
40244
  'enabled': boolean;
39577
40245
  /**
39578
- * The Clerk user ids of the venue\'s owners. Each is trimmed and added to the owners the venue has; none is ever removed. An empty list or none keeps them as they are
40246
+ * The Clerk user ids of the venue\'s owners. Each is trimmed and added to the owners the venue has; an owner is removed only when owners_removed lists it. An empty list or none keeps them as they are
39579
40247
  * @type {Array<string>}
39580
40248
  * @memberof VendureSellerUpsertDto
39581
40249
  */
39582
40250
  'owners'?: Array<string>;
40251
+ /**
40252
+ * The owner keys Vendure removed from the venue in this change: a Clerk user\'s externalId or a Clerk user id. Each is trimmed and removed from the owners the venue has, unless owners sends it too; an owner not listed here is never removed. Absent or empty means nothing was removed. Vendure builds from before its remove-owner route never send it
40253
+ * @type {Array<string>}
40254
+ * @memberof VendureSellerUpsertDto
40255
+ */
40256
+ 'owners_removed'?: Array<string>;
39583
40257
  /**
39584
40258
  * The venue\'s opening hours, seven days Sunday first, stored on the venue as sent: each day { enabled, lapses: [{ open: { hour, minute }, close: { hour, minute } }] }. Only checked to be a list. An empty list or none keeps the stored schedule
39585
40259
  * @type {Array<object>}
@@ -46480,11 +47154,11 @@ export const CashManagementApiAxiosParamCreator = function (configuration?: Conf
46480
47154
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
46481
47155
  * @param {string} sessionId The cash session\&#39;s id
46482
47156
  * @param {SendCashReportDto} sendCashReportDto
46483
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
47157
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
46484
47158
  * @param {*} [options] Override http request option.
46485
47159
  * @throws {RequiredError}
46486
47160
  */
46487
- sendSessionReport: async (businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47161
+ sendSessionReport: async (businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46488
47162
  // verify required parameter 'businessId' is not null or undefined
46489
47163
  assertParamExists('sendSessionReport', 'businessId', businessId)
46490
47164
  // verify required parameter 'sessionId' is not null or undefined
@@ -46607,11 +47281,11 @@ export const CashManagementApiFp = function(configuration?: Configuration) {
46607
47281
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
46608
47282
  * @param {string} sessionId The cash session\&#39;s id
46609
47283
  * @param {SendCashReportDto} sendCashReportDto
46610
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
47284
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
46611
47285
  * @param {*} [options] Override http request option.
46612
47286
  * @throws {RequiredError}
46613
47287
  */
46614
- async sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashReportSentDto>> {
47288
+ async sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashReportSentDto>> {
46615
47289
  const localVarAxiosArgs = await localVarAxiosParamCreator.sendSessionReport(businessId, sessionId, sendCashReportDto, xAppX, options);
46616
47290
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46617
47291
  },
@@ -46690,11 +47364,11 @@ export const CashManagementApiFactory = function (configuration?: Configuration,
46690
47364
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
46691
47365
  * @param {string} sessionId The cash session\&#39;s id
46692
47366
  * @param {SendCashReportDto} sendCashReportDto
46693
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
47367
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
46694
47368
  * @param {*} [options] Override http request option.
46695
47369
  * @throws {RequiredError}
46696
47370
  */
46697
- sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<CashReportSentDto> {
47371
+ sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: any): AxiosPromise<CashReportSentDto> {
46698
47372
  return localVarFp.sendSessionReport(businessId, sessionId, sendCashReportDto, xAppX, options).then((request) => request(axios, basePath));
46699
47373
  },
46700
47374
  };
@@ -46771,12 +47445,12 @@ export interface CashManagementApiInterface {
46771
47445
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
46772
47446
  * @param {string} sessionId The cash session\&#39;s id
46773
47447
  * @param {SendCashReportDto} sendCashReportDto
46774
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
47448
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
46775
47449
  * @param {*} [options] Override http request option.
46776
47450
  * @throws {RequiredError}
46777
47451
  * @memberof CashManagementApiInterface
46778
47452
  */
46779
- sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<CashReportSentDto>;
47453
+ sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig): AxiosPromise<CashReportSentDto>;
46780
47454
 
46781
47455
  }
46782
47456
 
@@ -46862,12 +47536,12 @@ export class CashManagementApi extends BaseAPI implements CashManagementApiInter
46862
47536
  * @param {string} businessId The venue\&#39;s id (its orderingBusinessId), as text
46863
47537
  * @param {string} sessionId The cash session\&#39;s id
46864
47538
  * @param {SendCashReportDto} sendCashReportDto
46865
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
47539
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} [xAppX] The app sending the request, one of ProviderEnum. The route answers 400 without it and 401 for any other value.
46866
47540
  * @param {*} [options] Override http request option.
46867
47541
  * @throws {RequiredError}
46868
47542
  * @memberof CashManagementApi
46869
47543
  */
46870
- public sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
47544
+ public sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, xAppX?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig) {
46871
47545
  return CashManagementApiFp(this.configuration).sendSessionReport(businessId, sessionId, sendCashReportDto, xAppX, options).then((request) => request(this.axios, this.basePath));
46872
47546
  }
46873
47547
  }
@@ -47529,12 +48203,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47529
48203
  * The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
47530
48204
  * @summary Enable or disable first-party Munchi GiftCard integration
47531
48205
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47532
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48206
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
47533
48207
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
47534
48208
  * @param {*} [options] Override http request option.
47535
48209
  * @throws {RequiredError}
47536
48210
  */
47537
- configConfigureMunchiGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48211
+ configConfigureMunchiGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47538
48212
  // verify required parameter 'businessId' is not null or undefined
47539
48213
  assertParamExists('configConfigureMunchiGiftCard', 'businessId', businessId)
47540
48214
  // verify required parameter 'xAppX' is not null or undefined
@@ -47580,11 +48254,11 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47580
48254
  * 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).
47581
48255
  * @summary Read a channel\'s card payment providers
47582
48256
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47583
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48257
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
47584
48258
  * @param {*} [options] Override http request option.
47585
48259
  * @throws {RequiredError}
47586
48260
  */
47587
- configGetProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48261
+ configGetProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47588
48262
  // verify required parameter 'businessId' is not null or undefined
47589
48263
  assertParamExists('configGetProviders', 'businessId', businessId)
47590
48264
  // verify required parameter 'xAppX' is not null or undefined
@@ -47670,11 +48344,11 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47670
48344
  * @summary Remove payment option
47671
48345
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47672
48346
  * @param {string} id The payment option\&#39;s id
47673
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48347
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
47674
48348
  * @param {*} [options] Override http request option.
47675
48349
  * @throws {RequiredError}
47676
48350
  */
47677
- configRemovePaymentOption: async (businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48351
+ configRemovePaymentOption: async (businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47678
48352
  // verify required parameter 'businessId' is not null or undefined
47679
48353
  assertParamExists('configRemovePaymentOption', 'businessId', businessId)
47680
48354
  // verify required parameter 'id' is not null or undefined
@@ -47718,13 +48392,13 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47718
48392
  * 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.
47719
48393
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
47720
48394
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47721
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48395
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
47722
48396
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
47723
48397
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
47724
48398
  * @param {*} [options] Override http request option.
47725
48399
  * @throws {RequiredError}
47726
48400
  */
47727
- configSaveEpassiCredentials: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48401
+ configSaveEpassiCredentials: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47728
48402
  // verify required parameter 'businessId' is not null or undefined
47729
48403
  assertParamExists('configSaveEpassiCredentials', 'businessId', businessId)
47730
48404
  // verify required parameter 'xAppX' is not null or undefined
@@ -47820,12 +48494,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47820
48494
  * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
47821
48495
  * @summary Create or update a channel\'s config
47822
48496
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47823
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48497
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
47824
48498
  * @param {UpsertConfigDto} upsertConfigDto
47825
48499
  * @param {*} [options] Override http request option.
47826
48500
  * @throws {RequiredError}
47827
48501
  */
47828
- configUpsertChannelConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48502
+ configUpsertChannelConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertConfigDto: UpsertConfigDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47829
48503
  // verify required parameter 'businessId' is not null or undefined
47830
48504
  assertParamExists('configUpsertChannelConfig', 'businessId', businessId)
47831
48505
  // verify required parameter 'xAppX' is not null or undefined
@@ -47871,12 +48545,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47871
48545
  * Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
47872
48546
  * @summary Create or update a channel\'s third-party gift card integration
47873
48547
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47874
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48548
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
47875
48549
  * @param {UpsertGiftCardDto} upsertGiftCardDto
47876
48550
  * @param {*} [options] Override http request option.
47877
48551
  * @throws {RequiredError}
47878
48552
  */
47879
- configUpsertGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48553
+ configUpsertGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertGiftCardDto: UpsertGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47880
48554
  // verify required parameter 'businessId' is not null or undefined
47881
48555
  assertParamExists('configUpsertGiftCard', 'businessId', businessId)
47882
48556
  // verify required parameter 'xAppX' is not null or undefined
@@ -47966,12 +48640,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
47966
48640
  * 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.
47967
48641
  * @summary Create or update a channel\'s Nets config (Munchi admins only)
47968
48642
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
47969
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48643
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
47970
48644
  * @param {UpsertNetsDto} upsertNetsDto
47971
48645
  * @param {*} [options] Override http request option.
47972
48646
  * @throws {RequiredError}
47973
48647
  */
47974
- configUpsertNets: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48648
+ configUpsertNets: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNetsDto: UpsertNetsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47975
48649
  // verify required parameter 'businessId' is not null or undefined
47976
48650
  assertParamExists('configUpsertNets', 'businessId', businessId)
47977
48651
  // verify required parameter 'xAppX' is not null or undefined
@@ -48017,12 +48691,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
48017
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 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.
48018
48692
  * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48019
48693
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48020
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48694
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48021
48695
  * @param {UpsertNexiDto} upsertNexiDto
48022
48696
  * @param {*} [options] Override http request option.
48023
48697
  * @throws {RequiredError}
48024
48698
  */
48025
- configUpsertNexi: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48699
+ configUpsertNexi: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNexiDto: UpsertNexiDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48026
48700
  // verify required parameter 'businessId' is not null or undefined
48027
48701
  assertParamExists('configUpsertNexi', 'businessId', businessId)
48028
48702
  // verify required parameter 'xAppX' is not null or undefined
@@ -48068,12 +48742,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
48068
48742
  * 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.
48069
48743
  * @summary Create or update a channel\'s checkout payment options
48070
48744
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48071
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48745
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48072
48746
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
48073
48747
  * @param {*} [options] Override http request option.
48074
48748
  * @throws {RequiredError}
48075
48749
  */
48076
- configUpsertPaymentOptions: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48750
+ configUpsertPaymentOptions: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48077
48751
  // verify required parameter 'businessId' is not null or undefined
48078
48752
  assertParamExists('configUpsertPaymentOptions', 'businessId', businessId)
48079
48753
  // verify required parameter 'xAppX' is not null or undefined
@@ -48119,12 +48793,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
48119
48793
  * 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.
48120
48794
  * @summary Set active provider and upsert its credentials (Munchi admins only)
48121
48795
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48122
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48796
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48123
48797
  * @param {UpsertProvidersDto} upsertProvidersDto
48124
48798
  * @param {*} [options] Override http request option.
48125
48799
  * @throws {RequiredError}
48126
48800
  */
48127
- configUpsertProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48801
+ configUpsertProviders: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertProvidersDto: UpsertProvidersDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48128
48802
  // verify required parameter 'businessId' is not null or undefined
48129
48803
  assertParamExists('configUpsertProviders', 'businessId', businessId)
48130
48804
  // verify required parameter 'xAppX' is not null or undefined
@@ -48170,12 +48844,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
48170
48844
  * 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.
48171
48845
  * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48172
48846
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48173
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48847
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48174
48848
  * @param {UpsertStripeDto} upsertStripeDto
48175
48849
  * @param {*} [options] Override http request option.
48176
48850
  * @throws {RequiredError}
48177
48851
  */
48178
- configUpsertStripe: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48852
+ configUpsertStripe: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertStripeDto: UpsertStripeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48179
48853
  // verify required parameter 'businessId' is not null or undefined
48180
48854
  assertParamExists('configUpsertStripe', 'businessId', businessId)
48181
48855
  // verify required parameter 'xAppX' is not null or undefined
@@ -48221,12 +48895,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
48221
48895
  * 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.
48222
48896
  * @summary Create or update a channel\'s Viva config (Munchi admins only)
48223
48897
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48224
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48898
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48225
48899
  * @param {UpsertVivaDto} upsertVivaDto
48226
48900
  * @param {*} [options] Override http request option.
48227
48901
  * @throws {RequiredError}
48228
48902
  */
48229
- configUpsertViva: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48903
+ configUpsertViva: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertVivaDto: UpsertVivaDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48230
48904
  // verify required parameter 'businessId' is not null or undefined
48231
48905
  assertParamExists('configUpsertViva', 'businessId', businessId)
48232
48906
  // verify required parameter 'xAppX' is not null or undefined
@@ -48272,12 +48946,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
48272
48946
  * 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.
48273
48947
  * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48274
48948
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48275
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
48949
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48276
48950
  * @param {UpsertWorldlineDto} upsertWorldlineDto
48277
48951
  * @param {*} [options] Override http request option.
48278
48952
  * @throws {RequiredError}
48279
48953
  */
48280
- configUpsertWorldline: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48954
+ configUpsertWorldline: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertWorldlineDto: UpsertWorldlineDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48281
48955
  // verify required parameter 'businessId' is not null or undefined
48282
48956
  assertParamExists('configUpsertWorldline', 'businessId', businessId)
48283
48957
  // verify required parameter 'xAppX' is not null or undefined
@@ -48333,12 +49007,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48333
49007
  * The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
48334
49008
  * @summary Enable or disable first-party Munchi GiftCard integration
48335
49009
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48336
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49010
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48337
49011
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
48338
49012
  * @param {*} [options] Override http request option.
48339
49013
  * @throws {RequiredError}
48340
49014
  */
48341
- async configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
49015
+ async configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48342
49016
  const localVarAxiosArgs = await localVarAxiosParamCreator.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options);
48343
49017
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48344
49018
  },
@@ -48346,11 +49020,11 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48346
49020
  * 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).
48347
49021
  * @summary Read a channel\'s card payment providers
48348
49022
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48349
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49023
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48350
49024
  * @param {*} [options] Override http request option.
48351
49025
  * @throws {RequiredError}
48352
49026
  */
48353
- async configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>> {
49027
+ async configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>> {
48354
49028
  const localVarAxiosArgs = await localVarAxiosParamCreator.configGetProviders(businessId, xAppX, options);
48355
49029
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48356
49030
  },
@@ -48371,11 +49045,11 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48371
49045
  * @summary Remove payment option
48372
49046
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48373
49047
  * @param {string} id The payment option\&#39;s id
48374
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49048
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48375
49049
  * @param {*} [options] Override http request option.
48376
49050
  * @throws {RequiredError}
48377
49051
  */
48378
- async configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
49052
+ async configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48379
49053
  const localVarAxiosArgs = await localVarAxiosParamCreator.configRemovePaymentOption(businessId, id, xAppX, options);
48380
49054
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48381
49055
  },
@@ -48383,13 +49057,13 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48383
49057
  * 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.
48384
49058
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
48385
49059
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48386
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49060
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48387
49061
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
48388
49062
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
48389
49063
  * @param {*} [options] Override http request option.
48390
49064
  * @throws {RequiredError}
48391
49065
  */
48392
- async configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EpassiCredentialsSavedDto>> {
49066
+ async configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EpassiCredentialsSavedDto>> {
48393
49067
  const localVarAxiosArgs = await localVarAxiosParamCreator.configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options);
48394
49068
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48395
49069
  },
@@ -48409,12 +49083,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48409
49083
  * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
48410
49084
  * @summary Create or update a channel\'s config
48411
49085
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48412
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49086
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48413
49087
  * @param {UpsertConfigDto} upsertConfigDto
48414
49088
  * @param {*} [options] Override http request option.
48415
49089
  * @throws {RequiredError}
48416
49090
  */
48417
- async configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
49091
+ async configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48418
49092
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options);
48419
49093
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48420
49094
  },
@@ -48422,12 +49096,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48422
49096
  * Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
48423
49097
  * @summary Create or update a channel\'s third-party gift card integration
48424
49098
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48425
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49099
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48426
49100
  * @param {UpsertGiftCardDto} upsertGiftCardDto
48427
49101
  * @param {*} [options] Override http request option.
48428
49102
  * @throws {RequiredError}
48429
49103
  */
48430
- async configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
49104
+ async configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48431
49105
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options);
48432
49106
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48433
49107
  },
@@ -48447,12 +49121,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48447
49121
  * 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.
48448
49122
  * @summary Create or update a channel\'s Nets config (Munchi admins only)
48449
49123
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48450
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49124
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48451
49125
  * @param {UpsertNetsDto} upsertNetsDto
48452
49126
  * @param {*} [options] Override http request option.
48453
49127
  * @throws {RequiredError}
48454
49128
  */
48455
- async configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
49129
+ async configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48456
49130
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNets(businessId, xAppX, upsertNetsDto, options);
48457
49131
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48458
49132
  },
@@ -48460,12 +49134,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48460
49134
  * 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.
48461
49135
  * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48462
49136
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48463
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49137
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48464
49138
  * @param {UpsertNexiDto} upsertNexiDto
48465
49139
  * @param {*} [options] Override http request option.
48466
49140
  * @throws {RequiredError}
48467
49141
  */
48468
- 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>> {
49142
+ async configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48469
49143
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNexi(businessId, xAppX, upsertNexiDto, options);
48470
49144
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48471
49145
  },
@@ -48473,12 +49147,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48473
49147
  * 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.
48474
49148
  * @summary Create or update a channel\'s checkout payment options
48475
49149
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48476
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49150
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48477
49151
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
48478
49152
  * @param {*} [options] Override http request option.
48479
49153
  * @throws {RequiredError}
48480
49154
  */
48481
- async configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
49155
+ async configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48482
49156
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options);
48483
49157
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48484
49158
  },
@@ -48486,12 +49160,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48486
49160
  * 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.
48487
49161
  * @summary Set active provider and upsert its credentials (Munchi admins only)
48488
49162
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48489
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49163
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48490
49164
  * @param {UpsertProvidersDto} upsertProvidersDto
48491
49165
  * @param {*} [options] Override http request option.
48492
49166
  * @throws {RequiredError}
48493
49167
  */
48494
- async configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>> {
49168
+ async configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>> {
48495
49169
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertProviders(businessId, xAppX, upsertProvidersDto, options);
48496
49170
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48497
49171
  },
@@ -48499,12 +49173,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48499
49173
  * 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.
48500
49174
  * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48501
49175
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48502
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49176
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48503
49177
  * @param {UpsertStripeDto} upsertStripeDto
48504
49178
  * @param {*} [options] Override http request option.
48505
49179
  * @throws {RequiredError}
48506
49180
  */
48507
- async configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
49181
+ async configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48508
49182
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertStripe(businessId, xAppX, upsertStripeDto, options);
48509
49183
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48510
49184
  },
@@ -48512,12 +49186,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48512
49186
  * 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.
48513
49187
  * @summary Create or update a channel\'s Viva config (Munchi admins only)
48514
49188
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48515
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49189
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48516
49190
  * @param {UpsertVivaDto} upsertVivaDto
48517
49191
  * @param {*} [options] Override http request option.
48518
49192
  * @throws {RequiredError}
48519
49193
  */
48520
- async configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
49194
+ async configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48521
49195
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertViva(businessId, xAppX, upsertVivaDto, options);
48522
49196
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48523
49197
  },
@@ -48525,12 +49199,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
48525
49199
  * 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.
48526
49200
  * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48527
49201
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48528
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49202
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48529
49203
  * @param {UpsertWorldlineDto} upsertWorldlineDto
48530
49204
  * @param {*} [options] Override http request option.
48531
49205
  * @throws {RequiredError}
48532
49206
  */
48533
- 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>> {
49207
+ async configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
48534
49208
  const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options);
48535
49209
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48536
49210
  },
@@ -48548,23 +49222,23 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48548
49222
  * The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
48549
49223
  * @summary Enable or disable first-party Munchi GiftCard integration
48550
49224
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48551
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49225
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48552
49226
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
48553
49227
  * @param {*} [options] Override http request option.
48554
49228
  * @throws {RequiredError}
48555
49229
  */
48556
- configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
49230
+ configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48557
49231
  return localVarFp.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(axios, basePath));
48558
49232
  },
48559
49233
  /**
48560
49234
  * 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).
48561
49235
  * @summary Read a channel\'s card payment providers
48562
49236
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
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
49237
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48564
49238
  * @param {*} [options] Override http request option.
48565
49239
  * @throws {RequiredError}
48566
49240
  */
48567
- configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<ProvidersConfigResponseDto> {
49241
+ configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: any): AxiosPromise<ProvidersConfigResponseDto> {
48568
49242
  return localVarFp.configGetProviders(businessId, xAppX, options).then((request) => request(axios, basePath));
48569
49243
  },
48570
49244
  /**
@@ -48583,24 +49257,24 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48583
49257
  * @summary Remove payment option
48584
49258
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48585
49259
  * @param {string} id The payment option\&#39;s id
48586
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49260
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48587
49261
  * @param {*} [options] Override http request option.
48588
49262
  * @throws {RequiredError}
48589
49263
  */
48590
- configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<ConfigManagementResponseDto> {
49264
+ configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: any): AxiosPromise<ConfigManagementResponseDto> {
48591
49265
  return localVarFp.configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(axios, basePath));
48592
49266
  },
48593
49267
  /**
48594
49268
  * 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.
48595
49269
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
48596
49270
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48597
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49271
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48598
49272
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
48599
49273
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
48600
49274
  * @param {*} [options] Override http request option.
48601
49275
  * @throws {RequiredError}
48602
49276
  */
48603
- configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: any): AxiosPromise<EpassiCredentialsSavedDto> {
49277
+ configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: any): AxiosPromise<EpassiCredentialsSavedDto> {
48604
49278
  return localVarFp.configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options).then((request) => request(axios, basePath));
48605
49279
  },
48606
49280
  /**
@@ -48618,24 +49292,24 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48618
49292
  * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
48619
49293
  * @summary Create or update a channel\'s config
48620
49294
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48621
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49295
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48622
49296
  * @param {UpsertConfigDto} upsertConfigDto
48623
49297
  * @param {*} [options] Override http request option.
48624
49298
  * @throws {RequiredError}
48625
49299
  */
48626
- configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
49300
+ configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48627
49301
  return localVarFp.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(axios, basePath));
48628
49302
  },
48629
49303
  /**
48630
49304
  * Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
48631
49305
  * @summary Create or update a channel\'s third-party gift card integration
48632
49306
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48633
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49307
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48634
49308
  * @param {UpsertGiftCardDto} upsertGiftCardDto
48635
49309
  * @param {*} [options] Override http request option.
48636
49310
  * @throws {RequiredError}
48637
49311
  */
48638
- configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
49312
+ configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48639
49313
  return localVarFp.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(axios, basePath));
48640
49314
  },
48641
49315
  /**
@@ -48653,84 +49327,84 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
48653
49327
  * 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.
48654
49328
  * @summary Create or update a channel\'s Nets config (Munchi admins only)
48655
49329
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48656
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49330
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48657
49331
  * @param {UpsertNetsDto} upsertNetsDto
48658
49332
  * @param {*} [options] Override http request option.
48659
49333
  * @throws {RequiredError}
48660
49334
  */
48661
- configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
49335
+ configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48662
49336
  return localVarFp.configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(axios, basePath));
48663
49337
  },
48664
49338
  /**
48665
49339
  * 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.
48666
49340
  * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48667
49341
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48668
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49342
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48669
49343
  * @param {UpsertNexiDto} upsertNexiDto
48670
49344
  * @param {*} [options] Override http request option.
48671
49345
  * @throws {RequiredError}
48672
49346
  */
48673
- configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
49347
+ configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNexiDto: UpsertNexiDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48674
49348
  return localVarFp.configUpsertNexi(businessId, xAppX, upsertNexiDto, options).then((request) => request(axios, basePath));
48675
49349
  },
48676
49350
  /**
48677
49351
  * 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.
48678
49352
  * @summary Create or update a channel\'s checkout payment options
48679
49353
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48680
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49354
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48681
49355
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
48682
49356
  * @param {*} [options] Override http request option.
48683
49357
  * @throws {RequiredError}
48684
49358
  */
48685
- configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
49359
+ configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48686
49360
  return localVarFp.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(axios, basePath));
48687
49361
  },
48688
49362
  /**
48689
49363
  * 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.
48690
49364
  * @summary Set active provider and upsert its credentials (Munchi admins only)
48691
49365
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48692
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49366
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48693
49367
  * @param {UpsertProvidersDto} upsertProvidersDto
48694
49368
  * @param {*} [options] Override http request option.
48695
49369
  * @throws {RequiredError}
48696
49370
  */
48697
- configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto> {
49371
+ configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto> {
48698
49372
  return localVarFp.configUpsertProviders(businessId, xAppX, upsertProvidersDto, options).then((request) => request(axios, basePath));
48699
49373
  },
48700
49374
  /**
48701
49375
  * 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.
48702
49376
  * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48703
49377
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48704
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49378
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48705
49379
  * @param {UpsertStripeDto} upsertStripeDto
48706
49380
  * @param {*} [options] Override http request option.
48707
49381
  * @throws {RequiredError}
48708
49382
  */
48709
- configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
49383
+ configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48710
49384
  return localVarFp.configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(axios, basePath));
48711
49385
  },
48712
49386
  /**
48713
49387
  * 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.
48714
49388
  * @summary Create or update a channel\'s Viva config (Munchi admins only)
48715
49389
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48716
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49390
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48717
49391
  * @param {UpsertVivaDto} upsertVivaDto
48718
49392
  * @param {*} [options] Override http request option.
48719
49393
  * @throws {RequiredError}
48720
49394
  */
48721
- configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
49395
+ configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48722
49396
  return localVarFp.configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(axios, basePath));
48723
49397
  },
48724
49398
  /**
48725
49399
  * 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.
48726
49400
  * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48727
49401
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48728
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49402
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48729
49403
  * @param {UpsertWorldlineDto} upsertWorldlineDto
48730
49404
  * @param {*} [options] Override http request option.
48731
49405
  * @throws {RequiredError}
48732
49406
  */
48733
- configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
49407
+ configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertWorldlineDto: UpsertWorldlineDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
48734
49408
  return localVarFp.configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options).then((request) => request(axios, basePath));
48735
49409
  },
48736
49410
  };
@@ -48746,24 +49420,24 @@ export interface ConfigManagementApiInterface {
48746
49420
  * The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
48747
49421
  * @summary Enable or disable first-party Munchi GiftCard integration
48748
49422
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48749
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49423
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48750
49424
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
48751
49425
  * @param {*} [options] Override http request option.
48752
49426
  * @throws {RequiredError}
48753
49427
  * @memberof ConfigManagementApiInterface
48754
49428
  */
48755
- configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49429
+ configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48756
49430
 
48757
49431
  /**
48758
49432
  * 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).
48759
49433
  * @summary Read a channel\'s card payment providers
48760
49434
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
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
49435
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48762
49436
  * @param {*} [options] Override http request option.
48763
49437
  * @throws {RequiredError}
48764
49438
  * @memberof ConfigManagementApiInterface
48765
49439
  */
48766
- configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
49440
+ configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
48767
49441
 
48768
49442
  /**
48769
49443
  * Clears the venue\'s cache entry of each key sent and tells the apps to fetch them again: every app of the venue, or one app channel when isGlobal is false.
@@ -48781,25 +49455,25 @@ export interface ConfigManagementApiInterface {
48781
49455
  * @summary Remove payment option
48782
49456
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48783
49457
  * @param {string} id The payment option\&#39;s id
48784
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49458
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48785
49459
  * @param {*} [options] Override http request option.
48786
49460
  * @throws {RequiredError}
48787
49461
  * @memberof ConfigManagementApiInterface
48788
49462
  */
48789
- configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49463
+ configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48790
49464
 
48791
49465
  /**
48792
49466
  * 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.
48793
49467
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
48794
49468
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48795
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49469
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48796
49470
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
48797
49471
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
48798
49472
  * @param {*} [options] Override http request option.
48799
49473
  * @throws {RequiredError}
48800
49474
  * @memberof ConfigManagementApiInterface
48801
49475
  */
48802
- configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): AxiosPromise<EpassiCredentialsSavedDto>;
49476
+ configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): AxiosPromise<EpassiCredentialsSavedDto>;
48803
49477
 
48804
49478
  /**
48805
49479
  * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license on every save, which leaves a venue it has a license for as it is: a venue whose license was missed when it was created gets it here. The fields below are written as sent; any other field is dropped and its name logged.
@@ -48816,25 +49490,25 @@ export interface ConfigManagementApiInterface {
48816
49490
  * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
48817
49491
  * @summary Create or update a channel\'s config
48818
49492
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48819
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49493
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48820
49494
  * @param {UpsertConfigDto} upsertConfigDto
48821
49495
  * @param {*} [options] Override http request option.
48822
49496
  * @throws {RequiredError}
48823
49497
  * @memberof ConfigManagementApiInterface
48824
49498
  */
48825
- configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49499
+ configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48826
49500
 
48827
49501
  /**
48828
49502
  * Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
48829
49503
  * @summary Create or update a channel\'s third-party gift card integration
48830
49504
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48831
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49505
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48832
49506
  * @param {UpsertGiftCardDto} upsertGiftCardDto
48833
49507
  * @param {*} [options] Override http request option.
48834
49508
  * @throws {RequiredError}
48835
49509
  * @memberof ConfigManagementApiInterface
48836
49510
  */
48837
- configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49511
+ configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48838
49512
 
48839
49513
  /**
48840
49514
  * The secret is stored encrypted and never answered: secretKey is null in the answer. A new program needs name, apiBaseUrl and secretKey; apiBaseUrl must be https on the Munchi loyalty server\'s host. A signed-in ticket may write only a programme that serves no venue off its account; the programme and the venue\'s link are written together. The venue\'s cached config and loyalty settings are cleared.
@@ -48851,85 +49525,85 @@ export interface ConfigManagementApiInterface {
48851
49525
  * 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.
48852
49526
  * @summary Create or update a channel\'s Nets config (Munchi admins only)
48853
49527
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48854
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49528
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48855
49529
  * @param {UpsertNetsDto} upsertNetsDto
48856
49530
  * @param {*} [options] Override http request option.
48857
49531
  * @throws {RequiredError}
48858
49532
  * @memberof ConfigManagementApiInterface
48859
49533
  */
48860
- configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49534
+ configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48861
49535
 
48862
49536
  /**
48863
49537
  * 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.
48864
49538
  * @summary Create or update a channel\'s Nexi config (Munchi admins only)
48865
49539
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48866
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49540
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48867
49541
  * @param {UpsertNexiDto} upsertNexiDto
48868
49542
  * @param {*} [options] Override http request option.
48869
49543
  * @throws {RequiredError}
48870
49544
  * @memberof ConfigManagementApiInterface
48871
49545
  */
48872
- configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49546
+ configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48873
49547
 
48874
49548
  /**
48875
49549
  * 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.
48876
49550
  * @summary Create or update a channel\'s checkout payment options
48877
49551
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48878
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49552
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48879
49553
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
48880
49554
  * @param {*} [options] Override http request option.
48881
49555
  * @throws {RequiredError}
48882
49556
  * @memberof ConfigManagementApiInterface
48883
49557
  */
48884
- configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49558
+ configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48885
49559
 
48886
49560
  /**
48887
49561
  * 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.
48888
49562
  * @summary Set active provider and upsert its credentials (Munchi admins only)
48889
49563
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48890
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49564
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48891
49565
  * @param {UpsertProvidersDto} upsertProvidersDto
48892
49566
  * @param {*} [options] Override http request option.
48893
49567
  * @throws {RequiredError}
48894
49568
  * @memberof ConfigManagementApiInterface
48895
49569
  */
48896
- configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
49570
+ configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
48897
49571
 
48898
49572
  /**
48899
49573
  * 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.
48900
49574
  * @summary Create or update a channel\'s Stripe config (Munchi admins only)
48901
49575
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48902
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49576
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48903
49577
  * @param {UpsertStripeDto} upsertStripeDto
48904
49578
  * @param {*} [options] Override http request option.
48905
49579
  * @throws {RequiredError}
48906
49580
  * @memberof ConfigManagementApiInterface
48907
49581
  */
48908
- configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49582
+ configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48909
49583
 
48910
49584
  /**
48911
49585
  * 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.
48912
49586
  * @summary Create or update a channel\'s Viva config (Munchi admins only)
48913
49587
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48914
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49588
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48915
49589
  * @param {UpsertVivaDto} upsertVivaDto
48916
49590
  * @param {*} [options] Override http request option.
48917
49591
  * @throws {RequiredError}
48918
49592
  * @memberof ConfigManagementApiInterface
48919
49593
  */
48920
- configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49594
+ configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48921
49595
 
48922
49596
  /**
48923
49597
  * 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.
48924
49598
  * @summary Create or update a channel\'s Worldline config (Munchi admins only)
48925
49599
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48926
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49600
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48927
49601
  * @param {UpsertWorldlineDto} upsertWorldlineDto
48928
49602
  * @param {*} [options] Override http request option.
48929
49603
  * @throws {RequiredError}
48930
49604
  * @memberof ConfigManagementApiInterface
48931
49605
  */
48932
- configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
49606
+ configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
48933
49607
 
48934
49608
  }
48935
49609
 
@@ -48944,13 +49618,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48944
49618
  * The till\'s Settings screen calls it. Creates the channel\'s config first if it has none. Turning it on also enables the MunchiGiftCard payment option.
48945
49619
  * @summary Enable or disable first-party Munchi GiftCard integration
48946
49620
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48947
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49621
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48948
49622
  * @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
48949
49623
  * @param {*} [options] Override http request option.
48950
49624
  * @throws {RequiredError}
48951
49625
  * @memberof ConfigManagementApi
48952
49626
  */
48953
- public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
49627
+ public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
48954
49628
  return ConfigManagementApiFp(this.configuration).configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(this.axios, this.basePath));
48955
49629
  }
48956
49630
 
@@ -48958,12 +49632,12 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48958
49632
  * 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).
48959
49633
  * @summary Read a channel\'s card payment providers
48960
49634
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48961
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49635
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48962
49636
  * @param {*} [options] Override http request option.
48963
49637
  * @throws {RequiredError}
48964
49638
  * @memberof ConfigManagementApi
48965
49639
  */
48966
- public configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
49640
+ public configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig) {
48967
49641
  return ConfigManagementApiFp(this.configuration).configGetProviders(businessId, xAppX, options).then((request) => request(this.axios, this.basePath));
48968
49642
  }
48969
49643
 
@@ -48985,12 +49659,12 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48985
49659
  * @summary Remove payment option
48986
49660
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
48987
49661
  * @param {string} id The payment option\&#39;s id
48988
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49662
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
48989
49663
  * @param {*} [options] Override http request option.
48990
49664
  * @throws {RequiredError}
48991
49665
  * @memberof ConfigManagementApi
48992
49666
  */
48993
- public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
49667
+ public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig) {
48994
49668
  return ConfigManagementApiFp(this.configuration).configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(this.axios, this.basePath));
48995
49669
  }
48996
49670
 
@@ -48998,14 +49672,14 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
48998
49672
  * 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.
48999
49673
  * @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
49000
49674
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49001
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49675
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49002
49676
  * @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
49003
49677
  * @param {SaveEpassiCredentialsDto} saveEpassiCredentialsDto
49004
49678
  * @param {*} [options] Override http request option.
49005
49679
  * @throws {RequiredError}
49006
49680
  * @memberof ConfigManagementApi
49007
49681
  */
49008
- public configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig) {
49682
+ public configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig) {
49009
49683
  return ConfigManagementApiFp(this.configuration).configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options).then((request) => request(this.axios, this.basePath));
49010
49684
  }
49011
49685
 
@@ -49026,13 +49700,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
49026
49700
  * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
49027
49701
  * @summary Create or update a channel\'s config
49028
49702
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49029
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49703
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49030
49704
  * @param {UpsertConfigDto} upsertConfigDto
49031
49705
  * @param {*} [options] Override http request option.
49032
49706
  * @throws {RequiredError}
49033
49707
  * @memberof ConfigManagementApi
49034
49708
  */
49035
- public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
49709
+ public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
49036
49710
  return ConfigManagementApiFp(this.configuration).configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(this.axios, this.basePath));
49037
49711
  }
49038
49712
 
@@ -49040,13 +49714,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
49040
49714
  * Creates the channel\'s config first if it has none. Links and credentials are merged over the stored ones; the GiftCard payment option is created after the last option, or switched with the integration.
49041
49715
  * @summary Create or update a channel\'s third-party gift card integration
49042
49716
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49043
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49717
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49044
49718
  * @param {UpsertGiftCardDto} upsertGiftCardDto
49045
49719
  * @param {*} [options] Override http request option.
49046
49720
  * @throws {RequiredError}
49047
49721
  * @memberof ConfigManagementApi
49048
49722
  */
49049
- public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
49723
+ public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
49050
49724
  return ConfigManagementApiFp(this.configuration).configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(this.axios, this.basePath));
49051
49725
  }
49052
49726
 
@@ -49067,13 +49741,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
49067
49741
  * 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.
49068
49742
  * @summary Create or update a channel\'s Nets config (Munchi admins only)
49069
49743
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49070
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49744
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49071
49745
  * @param {UpsertNetsDto} upsertNetsDto
49072
49746
  * @param {*} [options] Override http request option.
49073
49747
  * @throws {RequiredError}
49074
49748
  * @memberof ConfigManagementApi
49075
49749
  */
49076
- public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
49750
+ public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
49077
49751
  return ConfigManagementApiFp(this.configuration).configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(this.axios, this.basePath));
49078
49752
  }
49079
49753
 
@@ -49081,13 +49755,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
49081
49755
  * 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.
49082
49756
  * @summary Create or update a channel\'s Nexi config (Munchi admins only)
49083
49757
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49084
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49758
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49085
49759
  * @param {UpsertNexiDto} upsertNexiDto
49086
49760
  * @param {*} [options] Override http request option.
49087
49761
  * @throws {RequiredError}
49088
49762
  * @memberof ConfigManagementApi
49089
49763
  */
49090
- public configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig) {
49764
+ public configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig) {
49091
49765
  return ConfigManagementApiFp(this.configuration).configUpsertNexi(businessId, xAppX, upsertNexiDto, options).then((request) => request(this.axios, this.basePath));
49092
49766
  }
49093
49767
 
@@ -49095,13 +49769,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
49095
49769
  * 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.
49096
49770
  * @summary Create or update a channel\'s checkout payment options
49097
49771
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49098
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49772
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49099
49773
  * @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
49100
49774
  * @param {*} [options] Override http request option.
49101
49775
  * @throws {RequiredError}
49102
49776
  * @memberof ConfigManagementApi
49103
49777
  */
49104
- public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
49778
+ public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
49105
49779
  return ConfigManagementApiFp(this.configuration).configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(this.axios, this.basePath));
49106
49780
  }
49107
49781
 
@@ -49109,13 +49783,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
49109
49783
  * 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.
49110
49784
  * @summary Set active provider and upsert its credentials (Munchi admins only)
49111
49785
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49112
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49786
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49113
49787
  * @param {UpsertProvidersDto} upsertProvidersDto
49114
49788
  * @param {*} [options] Override http request option.
49115
49789
  * @throws {RequiredError}
49116
49790
  * @memberof ConfigManagementApi
49117
49791
  */
49118
- public configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) {
49792
+ public configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) {
49119
49793
  return ConfigManagementApiFp(this.configuration).configUpsertProviders(businessId, xAppX, upsertProvidersDto, options).then((request) => request(this.axios, this.basePath));
49120
49794
  }
49121
49795
 
@@ -49123,13 +49797,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
49123
49797
  * 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.
49124
49798
  * @summary Create or update a channel\'s Stripe config (Munchi admins only)
49125
49799
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49126
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49800
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49127
49801
  * @param {UpsertStripeDto} upsertStripeDto
49128
49802
  * @param {*} [options] Override http request option.
49129
49803
  * @throws {RequiredError}
49130
49804
  * @memberof ConfigManagementApi
49131
49805
  */
49132
- public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
49806
+ public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
49133
49807
  return ConfigManagementApiFp(this.configuration).configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(this.axios, this.basePath));
49134
49808
  }
49135
49809
 
@@ -49137,13 +49811,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
49137
49811
  * 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.
49138
49812
  * @summary Create or update a channel\'s Viva config (Munchi admins only)
49139
49813
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49140
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49814
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49141
49815
  * @param {UpsertVivaDto} upsertVivaDto
49142
49816
  * @param {*} [options] Override http request option.
49143
49817
  * @throws {RequiredError}
49144
49818
  * @memberof ConfigManagementApi
49145
49819
  */
49146
- public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
49820
+ public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
49147
49821
  return ConfigManagementApiFp(this.configuration).configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(this.axios, this.basePath));
49148
49822
  }
49149
49823
 
@@ -49151,13 +49825,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
49151
49825
  * 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.
49152
49826
  * @summary Create or update a channel\'s Worldline config (Munchi admins only)
49153
49827
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
49154
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
49828
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose config is read or written
49155
49829
  * @param {UpsertWorldlineDto} upsertWorldlineDto
49156
49830
  * @param {*} [options] Override http request option.
49157
49831
  * @throws {RequiredError}
49158
49832
  * @memberof ConfigManagementApi
49159
49833
  */
49160
- public configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig) {
49834
+ public configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig) {
49161
49835
  return ConfigManagementApiFp(this.configuration).configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options).then((request) => request(this.axios, this.basePath));
49162
49836
  }
49163
49837
  }
@@ -59747,6 +60421,40 @@ export const OpsApiAxiosParamCreator = function (configuration?: Configuration)
59747
60421
 
59748
60422
 
59749
60423
 
60424
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60425
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60426
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
60427
+
60428
+ return {
60429
+ url: toPathString(localVarUrlObj),
60430
+ options: localVarRequestOptions,
60431
+ };
60432
+ },
60433
+ /**
60434
+ * The partner directory: every delivery platform Munchi works with, active or not, by key, with its name and logo. Read from the cache, which a save clears.
60435
+ * @summary Every delivery partner, by key
60436
+ * @param {*} [options] Override http request option.
60437
+ * @throws {RequiredError}
60438
+ */
60439
+ listPartners: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
60440
+ const localVarPath = `/api/v1/ops/partners`;
60441
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
60442
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
60443
+ let baseOptions;
60444
+ if (configuration) {
60445
+ baseOptions = configuration.baseOptions;
60446
+ }
60447
+
60448
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
60449
+ const localVarHeaderParameter = {} as any;
60450
+ const localVarQueryParameter = {} as any;
60451
+
60452
+ // authentication JWT-auth required
60453
+ // http bearer authentication required
60454
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
60455
+
60456
+
60457
+
59750
60458
  setSearchParams(localVarUrlObj, localVarQueryParameter);
59751
60459
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
59752
60460
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -59837,6 +60545,50 @@ export const OpsApiAxiosParamCreator = function (configuration?: Configuration)
59837
60545
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
59838
60546
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
59839
60547
 
60548
+ return {
60549
+ url: toPathString(localVarUrlObj),
60550
+ options: localVarRequestOptions,
60551
+ };
60552
+ },
60553
+ /**
60554
+ * Creates the partner under the key, or changes the one there. The key itself never changes: orders keep it. A platform Munchi connected before the partner standard uses its channel name as key. The key is read in any case and saved as a platform\'s channel name (wolt as Wolt) or in lowercase (Fin-Delivery as fin-delivery); the answer\'s partner.key is the key saved. Only the fields sent change a partner already there. The directory\'s cache is cleared after the save.
60555
+ * @summary Add a delivery partner, or change its name, logo or active state
60556
+ * @param {string} key The partner\&#39;s key
60557
+ * @param {UpsertPartnerDto} upsertPartnerDto
60558
+ * @param {*} [options] Override http request option.
60559
+ * @throws {RequiredError}
60560
+ */
60561
+ upsertPartner: async (key: string, upsertPartnerDto: UpsertPartnerDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
60562
+ // verify required parameter 'key' is not null or undefined
60563
+ assertParamExists('upsertPartner', 'key', key)
60564
+ // verify required parameter 'upsertPartnerDto' is not null or undefined
60565
+ assertParamExists('upsertPartner', 'upsertPartnerDto', upsertPartnerDto)
60566
+ const localVarPath = `/api/v1/ops/partners/{key}`
60567
+ .replace(`{${"key"}}`, encodeURIComponent(String(key)));
60568
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
60569
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
60570
+ let baseOptions;
60571
+ if (configuration) {
60572
+ baseOptions = configuration.baseOptions;
60573
+ }
60574
+
60575
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
60576
+ const localVarHeaderParameter = {} as any;
60577
+ const localVarQueryParameter = {} as any;
60578
+
60579
+ // authentication JWT-auth required
60580
+ // http bearer authentication required
60581
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
60582
+
60583
+
60584
+
60585
+ localVarHeaderParameter['Content-Type'] = 'application/json';
60586
+
60587
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60588
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60589
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
60590
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertPartnerDto, localVarRequestOptions, configuration)
60591
+
59840
60592
  return {
59841
60593
  url: toPathString(localVarUrlObj),
59842
60594
  options: localVarRequestOptions,
@@ -59887,6 +60639,16 @@ export const OpsApiFp = function(configuration?: Configuration) {
59887
60639
  const localVarAxiosArgs = await localVarAxiosParamCreator.disconnectDeliveryPlatform(venueId, channel, options);
59888
60640
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
59889
60641
  },
60642
+ /**
60643
+ * The partner directory: every delivery platform Munchi works with, active or not, by key, with its name and logo. Read from the cache, which a save clears.
60644
+ * @summary Every delivery partner, by key
60645
+ * @param {*} [options] Override http request option.
60646
+ * @throws {RequiredError}
60647
+ */
60648
+ async listPartners(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartnerDto>>> {
60649
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPartners(options);
60650
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
60651
+ },
59890
60652
  /**
59891
60653
  * Undoes what licences turned off. Per venue, by venue id: turns on the provider rows the licence turned off that are still there and still off, and empties the hold. A dry run unless dryRun is false; call again until holdsLeft is 0. The next unpaid event turns the rows off again.
59892
60654
  * @summary Turn back on the kiosk and online store rows licence enforcement turned off
@@ -59910,6 +60672,18 @@ export const OpsApiFp = function(configuration?: Configuration) {
59910
60672
  const localVarAxiosArgs = await localVarAxiosParamCreator.searchVenues(search, limit, options);
59911
60673
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
59912
60674
  },
60675
+ /**
60676
+ * Creates the partner under the key, or changes the one there. The key itself never changes: orders keep it. A platform Munchi connected before the partner standard uses its channel name as key. The key is read in any case and saved as a platform\'s channel name (wolt as Wolt) or in lowercase (Fin-Delivery as fin-delivery); the answer\'s partner.key is the key saved. Only the fields sent change a partner already there. The directory\'s cache is cleared after the save.
60677
+ * @summary Add a delivery partner, or change its name, logo or active state
60678
+ * @param {string} key The partner\&#39;s key
60679
+ * @param {UpsertPartnerDto} upsertPartnerDto
60680
+ * @param {*} [options] Override http request option.
60681
+ * @throws {RequiredError}
60682
+ */
60683
+ async upsertPartner(key: string, upsertPartnerDto: UpsertPartnerDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedPartnerDto>> {
60684
+ const localVarAxiosArgs = await localVarAxiosParamCreator.upsertPartner(key, upsertPartnerDto, options);
60685
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
60686
+ },
59913
60687
  }
59914
60688
  };
59915
60689
 
@@ -59952,6 +60726,15 @@ export const OpsApiFactory = function (configuration?: Configuration, basePath?:
59952
60726
  disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: any): AxiosPromise<DisconnectedDeliveryPlatformDto> {
59953
60727
  return localVarFp.disconnectDeliveryPlatform(venueId, channel, options).then((request) => request(axios, basePath));
59954
60728
  },
60729
+ /**
60730
+ * The partner directory: every delivery platform Munchi works with, active or not, by key, with its name and logo. Read from the cache, which a save clears.
60731
+ * @summary Every delivery partner, by key
60732
+ * @param {*} [options] Override http request option.
60733
+ * @throws {RequiredError}
60734
+ */
60735
+ listPartners(options?: any): AxiosPromise<Array<PartnerDto>> {
60736
+ return localVarFp.listPartners(options).then((request) => request(axios, basePath));
60737
+ },
59955
60738
  /**
59956
60739
  * Undoes what licences turned off. Per venue, by venue id: turns on the provider rows the licence turned off that are still there and still off, and empties the hold. A dry run unless dryRun is false; call again until holdsLeft is 0. The next unpaid event turns the rows off again.
59957
60740
  * @summary Turn back on the kiosk and online store rows licence enforcement turned off
@@ -59973,6 +60756,17 @@ export const OpsApiFactory = function (configuration?: Configuration, basePath?:
59973
60756
  searchVenues(search: string, limit?: number, options?: any): AxiosPromise<Array<VenueFoundDto>> {
59974
60757
  return localVarFp.searchVenues(search, limit, options).then((request) => request(axios, basePath));
59975
60758
  },
60759
+ /**
60760
+ * Creates the partner under the key, or changes the one there. The key itself never changes: orders keep it. A platform Munchi connected before the partner standard uses its channel name as key. The key is read in any case and saved as a platform\'s channel name (wolt as Wolt) or in lowercase (Fin-Delivery as fin-delivery); the answer\'s partner.key is the key saved. Only the fields sent change a partner already there. The directory\'s cache is cleared after the save.
60761
+ * @summary Add a delivery partner, or change its name, logo or active state
60762
+ * @param {string} key The partner\&#39;s key
60763
+ * @param {UpsertPartnerDto} upsertPartnerDto
60764
+ * @param {*} [options] Override http request option.
60765
+ * @throws {RequiredError}
60766
+ */
60767
+ upsertPartner(key: string, upsertPartnerDto: UpsertPartnerDto, options?: any): AxiosPromise<SavedPartnerDto> {
60768
+ return localVarFp.upsertPartner(key, upsertPartnerDto, options).then((request) => request(axios, basePath));
60769
+ },
59976
60770
  };
59977
60771
  };
59978
60772
 
@@ -60014,6 +60808,15 @@ export interface OpsApiInterface {
60014
60808
  */
60015
60809
  disconnectDeliveryPlatform(venueId: number, channel: DeliveryPlatformOpsConnect, options?: AxiosRequestConfig): AxiosPromise<DisconnectedDeliveryPlatformDto>;
60016
60810
 
60811
+ /**
60812
+ * The partner directory: every delivery platform Munchi works with, active or not, by key, with its name and logo. Read from the cache, which a save clears.
60813
+ * @summary Every delivery partner, by key
60814
+ * @param {*} [options] Override http request option.
60815
+ * @throws {RequiredError}
60816
+ * @memberof OpsApiInterface
60817
+ */
60818
+ listPartners(options?: AxiosRequestConfig): AxiosPromise<Array<PartnerDto>>;
60819
+
60017
60820
  /**
60018
60821
  * Undoes what licences turned off. Per venue, by venue id: turns on the provider rows the licence turned off that are still there and still off, and empties the hold. A dry run unless dryRun is false; call again until holdsLeft is 0. The next unpaid event turns the rows off again.
60019
60822
  * @summary Turn back on the kiosk and online store rows licence enforcement turned off
@@ -60035,6 +60838,17 @@ export interface OpsApiInterface {
60035
60838
  */
60036
60839
  searchVenues(search: string, limit?: number, options?: AxiosRequestConfig): AxiosPromise<Array<VenueFoundDto>>;
60037
60840
 
60841
+ /**
60842
+ * Creates the partner under the key, or changes the one there. The key itself never changes: orders keep it. A platform Munchi connected before the partner standard uses its channel name as key. The key is read in any case and saved as a platform\'s channel name (wolt as Wolt) or in lowercase (Fin-Delivery as fin-delivery); the answer\'s partner.key is the key saved. Only the fields sent change a partner already there. The directory\'s cache is cleared after the save.
60843
+ * @summary Add a delivery partner, or change its name, logo or active state
60844
+ * @param {string} key The partner\&#39;s key
60845
+ * @param {UpsertPartnerDto} upsertPartnerDto
60846
+ * @param {*} [options] Override http request option.
60847
+ * @throws {RequiredError}
60848
+ * @memberof OpsApiInterface
60849
+ */
60850
+ upsertPartner(key: string, upsertPartnerDto: UpsertPartnerDto, options?: AxiosRequestConfig): AxiosPromise<SavedPartnerDto>;
60851
+
60038
60852
  }
60039
60853
 
60040
60854
  /**
@@ -60082,6 +60896,17 @@ export class OpsApi extends BaseAPI implements OpsApiInterface {
60082
60896
  return OpsApiFp(this.configuration).disconnectDeliveryPlatform(venueId, channel, options).then((request) => request(this.axios, this.basePath));
60083
60897
  }
60084
60898
 
60899
+ /**
60900
+ * The partner directory: every delivery platform Munchi works with, active or not, by key, with its name and logo. Read from the cache, which a save clears.
60901
+ * @summary Every delivery partner, by key
60902
+ * @param {*} [options] Override http request option.
60903
+ * @throws {RequiredError}
60904
+ * @memberof OpsApi
60905
+ */
60906
+ public listPartners(options?: AxiosRequestConfig) {
60907
+ return OpsApiFp(this.configuration).listPartners(options).then((request) => request(this.axios, this.basePath));
60908
+ }
60909
+
60085
60910
  /**
60086
60911
  * Undoes what licences turned off. Per venue, by venue id: turns on the provider rows the licence turned off that are still there and still off, and empties the hold. A dry run unless dryRun is false; call again until holdsLeft is 0. The next unpaid event turns the rows off again.
60087
60912
  * @summary Turn back on the kiosk and online store rows licence enforcement turned off
@@ -60106,6 +60931,19 @@ export class OpsApi extends BaseAPI implements OpsApiInterface {
60106
60931
  public searchVenues(search: string, limit?: number, options?: AxiosRequestConfig) {
60107
60932
  return OpsApiFp(this.configuration).searchVenues(search, limit, options).then((request) => request(this.axios, this.basePath));
60108
60933
  }
60934
+
60935
+ /**
60936
+ * Creates the partner under the key, or changes the one there. The key itself never changes: orders keep it. A platform Munchi connected before the partner standard uses its channel name as key. The key is read in any case and saved as a platform\'s channel name (wolt as Wolt) or in lowercase (Fin-Delivery as fin-delivery); the answer\'s partner.key is the key saved. Only the fields sent change a partner already there. The directory\'s cache is cleared after the save.
60937
+ * @summary Add a delivery partner, or change its name, logo or active state
60938
+ * @param {string} key The partner\&#39;s key
60939
+ * @param {UpsertPartnerDto} upsertPartnerDto
60940
+ * @param {*} [options] Override http request option.
60941
+ * @throws {RequiredError}
60942
+ * @memberof OpsApi
60943
+ */
60944
+ public upsertPartner(key: string, upsertPartnerDto: UpsertPartnerDto, options?: AxiosRequestConfig) {
60945
+ return OpsApiFp(this.configuration).upsertPartner(key, upsertPartnerDto, options).then((request) => request(this.axios, this.basePath));
60946
+ }
60109
60947
  }
60110
60948
 
60111
60949
 
@@ -64337,7 +65175,7 @@ export class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInter
64337
65175
  export const PaymentSessionApiAxiosParamCreator = function (configuration?: Configuration) {
64338
65176
  return {
64339
65177
  /**
64340
- * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
65178
+ * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only. A Nexi sale is cancelled as Nexi documents it: confirmed as failed (ABORTED) at Nexi, from any unfinished state; its outcome is still Nexi\'s, read by the wait rounds, which send the cancel again until Nexi takes it. A Nexi sale whose paid answer the server already claimed is not cancelled: it ends paid.
64341
65179
  * @summary Cancel an in-flight card payment session (Viva or Nets)
64342
65180
  * @param {string} clientToken The token the initiate answered for the session.
64343
65181
  * @param {*} [options] Override http request option.
@@ -64624,7 +65462,48 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
64624
65462
  };
64625
65463
  },
64626
65464
  /**
64627
- * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
65465
+ * Stores a DISPATCHED Nexi session for a sale the device\'s own payment app (Poynt, on the Newland N950) will take. Its sessionId is the reference the payment app is given; the device then reports the app\'s answer to nexi/on-device/result, and the server writes the order. Refused for a venue whose channel does not pay by Nexi. Nexi is not called, nothing follows the session, and it is never cancelled through :clientToken/cancel. Idempotent via X-Idempotency-Key. A signed-in ticket only.
65466
+ * @summary Start a Nexi sale on the device\'s own card reader
65467
+ * @param {InitiateWorldlineA2aSessionDto} initiateWorldlineA2aSessionDto
65468
+ * @param {string} [xIdempotencyKey] Client-generated UUID. A key this venue\&#39;s on-device sale already holds answers that sale as it stands; a key any other payment holds is refused.
65469
+ * @param {*} [options] Override http request option.
65470
+ * @throws {RequiredError}
65471
+ */
65472
+ initiateNexiOnDeviceSession: async (initiateWorldlineA2aSessionDto: InitiateWorldlineA2aSessionDto, xIdempotencyKey?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
65473
+ // verify required parameter 'initiateWorldlineA2aSessionDto' is not null or undefined
65474
+ assertParamExists('initiateNexiOnDeviceSession', 'initiateWorldlineA2aSessionDto', initiateWorldlineA2aSessionDto)
65475
+ const localVarPath = `/api/v1/payment-session/nexi/on-device`;
65476
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65477
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65478
+ let baseOptions;
65479
+ if (configuration) {
65480
+ baseOptions = configuration.baseOptions;
65481
+ }
65482
+
65483
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
65484
+ const localVarHeaderParameter = {} as any;
65485
+ const localVarQueryParameter = {} as any;
65486
+
65487
+ if (xIdempotencyKey != null) {
65488
+ localVarHeaderParameter['X-Idempotency-Key'] = String(xIdempotencyKey);
65489
+ }
65490
+
65491
+
65492
+
65493
+ localVarHeaderParameter['Content-Type'] = 'application/json';
65494
+
65495
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
65496
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65497
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
65498
+ localVarRequestOptions.data = serializeDataIfNeeded(initiateWorldlineA2aSessionDto, localVarRequestOptions, configuration)
65499
+
65500
+ return {
65501
+ url: toPathString(localVarUrlObj),
65502
+ options: localVarRequestOptions,
65503
+ };
65504
+ },
65505
+ /**
65506
+ * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. POST /payment-session/:clientToken/cancel cancels it as Nexi documents it, a confirm as failed; the outcome is still Nexi\'s answer, so a sale Nexi was already confirmed paid for ends paid. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
64628
65507
  * @summary Start a card payment on the station\'s Nexi terminal
64629
65508
  * @param {InitiateNexiSessionDto} initiateNexiSessionDto
64630
65509
  * @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
@@ -65042,6 +65921,42 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
65042
65921
  options: localVarRequestOptions,
65043
65922
  };
65044
65923
  },
65924
+ /**
65925
+ * Settles an on-device Nexi sale, refund or revert with Poynt\'s answer, decided by Poynt\'s payment status. COMPLETED makes a sale SUCCESS, REFUNDED makes a refund REFUNDED, VOIDED makes a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. DECLINED makes it FAILED (payment.declined), CANCELED makes it CANCELLED, FAILED makes it FAILED. A sale\'s or a refund\'s answer carries the session\'s sessionId as its reference, except a decline or a cancel, which may come without one; a revert\'s names the sale\'s Poynt transaction as its transactionId or parentId. An approval may replace a failure or a cancel (a payment recovered after the app was killed); an end without money replaces only the wait. An answer that may have moved money but cannot be recorded (AUTHORIZED, HOLD, READ_CARD_ONLY, another kind\'s approval, a partial approval, several approvals, another amount or currency) is kept on the session, which stays DISPATCHED, ops are alerted, and the request is refused. A refund to another card than the sale\'s is recorded and logged. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
65926
+ * @summary Record the device\'s payment app answer for an on-device Nexi session
65927
+ * @param {RecordNexiOnDeviceResultDto} recordNexiOnDeviceResultDto
65928
+ * @param {*} [options] Override http request option.
65929
+ * @throws {RequiredError}
65930
+ */
65931
+ recordNexiOnDeviceResult: async (recordNexiOnDeviceResultDto: RecordNexiOnDeviceResultDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
65932
+ // verify required parameter 'recordNexiOnDeviceResultDto' is not null or undefined
65933
+ assertParamExists('recordNexiOnDeviceResult', 'recordNexiOnDeviceResultDto', recordNexiOnDeviceResultDto)
65934
+ const localVarPath = `/api/v1/payment-session/nexi/on-device/result`;
65935
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65936
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65937
+ let baseOptions;
65938
+ if (configuration) {
65939
+ baseOptions = configuration.baseOptions;
65940
+ }
65941
+
65942
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
65943
+ const localVarHeaderParameter = {} as any;
65944
+ const localVarQueryParameter = {} as any;
65945
+
65946
+
65947
+
65948
+ localVarHeaderParameter['Content-Type'] = 'application/json';
65949
+
65950
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
65951
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65952
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
65953
+ localVarRequestOptions.data = serializeDataIfNeeded(recordNexiOnDeviceResultDto, localVarRequestOptions, configuration)
65954
+
65955
+ return {
65956
+ url: toPathString(localVarUrlObj),
65957
+ options: localVarRequestOptions,
65958
+ };
65959
+ },
65045
65960
  /**
65046
65961
  * Settles a handheld Worldline sale, refund or revert with the payment app\'s answer (WPI_RESPONSE). A sale\'s or a refund\'s approval carries the session\'s sessionId as its reference, and so does its decline, except that WPI may answer a decline or a cancel without one; a revert\'s (WPI_SVC_CANCEL_PAYMENT) carries none and names the sale\'s paymentSolutionReference instead. An approval makes a sale SUCCESS, a refund REFUNDED and a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. A sale\'s approval may carry a tip the cardholder added on the payment app: it is recorded with the session\'s tip. A failure makes it FAILED, or CANCELLED when the app reports WPI_ERR_COND_USER_CANCEL. An approval may replace a failure; a failure never replaces anything. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
65047
65962
  * @summary Record the Worldline payment app\'s answer for a handheld session
@@ -65138,6 +66053,83 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
65138
66053
 
65139
66054
 
65140
66055
 
66056
+ localVarHeaderParameter['Content-Type'] = 'application/json';
66057
+
66058
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66059
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66060
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66061
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseSessionDto, localVarRequestOptions, configuration)
66062
+
66063
+ return {
66064
+ url: toPathString(localVarUrlObj),
66065
+ options: localVarRequestOptions,
66066
+ };
66067
+ },
66068
+ /**
66069
+ * Stores a DISPATCHED refund session for the amount asked (what is left of the sale when none is), within what is left of the sale. Only a sale the device\'s own card reader took is accepted. The device then makes the refund on its payment app with the card presented (Poynt\'s non-referenced refund) and the refund\'s sessionId as its reference, and reports the answer to nexi/on-device/result. Does NOT write a reversal onto the order: the refund plan records it. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
66070
+ * @summary Start a card refund of an on-device Nexi sale
66071
+ * @param {ReverseSessionDto} reverseSessionDto
66072
+ * @param {*} [options] Override http request option.
66073
+ * @throws {RequiredError}
66074
+ */
66075
+ refundNexiOnDeviceSession: async (reverseSessionDto: ReverseSessionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
66076
+ // verify required parameter 'reverseSessionDto' is not null or undefined
66077
+ assertParamExists('refundNexiOnDeviceSession', 'reverseSessionDto', reverseSessionDto)
66078
+ const localVarPath = `/api/v1/payment-session/nexi/on-device/refund`;
66079
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
66080
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66081
+ let baseOptions;
66082
+ if (configuration) {
66083
+ baseOptions = configuration.baseOptions;
66084
+ }
66085
+
66086
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
66087
+ const localVarHeaderParameter = {} as any;
66088
+ const localVarQueryParameter = {} as any;
66089
+
66090
+
66091
+
66092
+ localVarHeaderParameter['Content-Type'] = 'application/json';
66093
+
66094
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66095
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66096
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66097
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseSessionDto, localVarRequestOptions, configuration)
66098
+
66099
+ return {
66100
+ url: toPathString(localVarUrlObj),
66101
+ options: localVarRequestOptions,
66102
+ };
66103
+ },
66104
+ /**
66105
+ * Stores a refund session for the amount asked (what is left of the sale when none is), within what is left of the sale, then asks Nexi for a customer-not-present refund of the sale on the sale\'s own terminal: the customer needs no card and the terminal shows nothing. Nexi\'s answer decides: Nexi made it → our confirm, then REFUNDED; Nexi ended it unpaid → FAILED and refused; Nexi still processing → the session waits and Cloud Tasks follow it until Nexi answers. Does NOT write a reversal onto the order: the refund plan records it, as for Viva and Nets. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the refund it started, as it stands, without asking Nexi again. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
66106
+ * @summary Refund a paid Nexi sale, customer not present, with no card
66107
+ * @param {ReverseSessionDto} reverseSessionDto
66108
+ * @param {string} [xIdempotencyKey] A UUID the app makes for this refund. A repeated key answers the refund it started, without refunding again.
66109
+ * @param {*} [options] Override http request option.
66110
+ * @throws {RequiredError}
66111
+ */
66112
+ refundNexiSession: async (reverseSessionDto: ReverseSessionDto, xIdempotencyKey?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
66113
+ // verify required parameter 'reverseSessionDto' is not null or undefined
66114
+ assertParamExists('refundNexiSession', 'reverseSessionDto', reverseSessionDto)
66115
+ const localVarPath = `/api/v1/payment-session/nexi/refund`;
66116
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
66117
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66118
+ let baseOptions;
66119
+ if (configuration) {
66120
+ baseOptions = configuration.baseOptions;
66121
+ }
66122
+
66123
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
66124
+ const localVarHeaderParameter = {} as any;
66125
+ const localVarQueryParameter = {} as any;
66126
+
66127
+ if (xIdempotencyKey != null) {
66128
+ localVarHeaderParameter['X-Idempotency-Key'] = String(xIdempotencyKey);
66129
+ }
66130
+
66131
+
66132
+
65141
66133
  localVarHeaderParameter['Content-Type'] = 'application/json';
65142
66134
 
65143
66135
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -65318,6 +66310,78 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
65318
66310
 
65319
66311
 
65320
66312
 
66313
+ localVarHeaderParameter['Content-Type'] = 'application/json';
66314
+
66315
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66316
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66317
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66318
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseSessionDto, localVarRequestOptions, configuration)
66319
+
66320
+ return {
66321
+ url: toPathString(localVarUrlObj),
66322
+ options: localVarRequestOptions,
66323
+ };
66324
+ },
66325
+ /**
66326
+ * Stores a DISPATCHED reversal session for the whole sale. Only a sale the device\'s own card reader took is accepted. The device then voids the sale on its payment app with no card (Poynt\'s void, by the sale\'s transaction id, which is the payment event\'s id) and reports the answer, with the reversal\'s sessionId, to nexi/on-device/result; once VOIDED, reconciliation writes the reversal onto the order. The server alone decides whether the sale may still be voided: up to 55 minutes after the sale was started, never on a closed order, and never once the sale has refund activity. `amount` is ignored: a void gives back the whole sale. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
66327
+ * @summary Start a revert (void) of an on-device Nexi sale
66328
+ * @param {ReverseSessionDto} reverseSessionDto
66329
+ * @param {*} [options] Override http request option.
66330
+ * @throws {RequiredError}
66331
+ */
66332
+ revertNexiOnDeviceSession: async (reverseSessionDto: ReverseSessionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
66333
+ // verify required parameter 'reverseSessionDto' is not null or undefined
66334
+ assertParamExists('revertNexiOnDeviceSession', 'reverseSessionDto', reverseSessionDto)
66335
+ const localVarPath = `/api/v1/payment-session/nexi/on-device/revert`;
66336
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
66337
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66338
+ let baseOptions;
66339
+ if (configuration) {
66340
+ baseOptions = configuration.baseOptions;
66341
+ }
66342
+
66343
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
66344
+ const localVarHeaderParameter = {} as any;
66345
+ const localVarQueryParameter = {} as any;
66346
+
66347
+
66348
+
66349
+ localVarHeaderParameter['Content-Type'] = 'application/json';
66350
+
66351
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66352
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66353
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66354
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseSessionDto, localVarRequestOptions, configuration)
66355
+
66356
+ return {
66357
+ url: toPathString(localVarUrlObj),
66358
+ options: localVarRequestOptions,
66359
+ };
66360
+ },
66361
+ /**
66362
+ * Reads the sale at Nexi and picks the way itself, so the till decides nothing by time: within Nexi\'s hour after the sale (CONFIRMED) and with nothing refunded yet, the sale is confirmed as failed again and everything goes back; once Nexi committed it (COMMITTED, after the hour or after a refund), a customer-not-present refund gives back what is left. A confirm Nexi refuses because the hour ended in between is read again and refunded instead. A sale Nexi already holds unpaid while our record calls it paid is recorded as given back. A confirm Nexi does not answer is never recorded as failed: the revert is kept, counted against the sale, and Cloud Task rounds settle it from Nexi\'s record of the sale: given back once Nexi holds it unpaid; the confirm as failed sent again while Nexi holds it confirmed paid; a refund of what is left once Nexi committed it paid. No card either way. Once Nexi gave the money back, the session is REFUNDING and reconciliation writes the reversal onto the order, then REFUNDED. `amount` is ignored: a revert gives back what is left. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
66363
+ * @summary Revert a paid Nexi sale: give back what is left and write the reversal onto the order
66364
+ * @param {ReverseSessionDto} reverseSessionDto
66365
+ * @param {*} [options] Override http request option.
66366
+ * @throws {RequiredError}
66367
+ */
66368
+ revertNexiSession: async (reverseSessionDto: ReverseSessionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
66369
+ // verify required parameter 'reverseSessionDto' is not null or undefined
66370
+ assertParamExists('revertNexiSession', 'reverseSessionDto', reverseSessionDto)
66371
+ const localVarPath = `/api/v1/payment-session/nexi/revert`;
66372
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
66373
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66374
+ let baseOptions;
66375
+ if (configuration) {
66376
+ baseOptions = configuration.baseOptions;
66377
+ }
66378
+
66379
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
66380
+ const localVarHeaderParameter = {} as any;
66381
+ const localVarQueryParameter = {} as any;
66382
+
66383
+
66384
+
65321
66385
  localVarHeaderParameter['Content-Type'] = 'application/json';
65322
66386
 
65323
66387
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -65521,7 +66585,7 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
65521
66585
  const localVarAxiosParamCreator = PaymentSessionApiAxiosParamCreator(configuration)
65522
66586
  return {
65523
66587
  /**
65524
- * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
66588
+ * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only. A Nexi sale is cancelled as Nexi documents it: confirmed as failed (ABORTED) at Nexi, from any unfinished state; its outcome is still Nexi\'s, read by the wait rounds, which send the cancel again until Nexi takes it. A Nexi sale whose paid answer the server already claimed is not cancelled: it ends paid.
65525
66589
  * @summary Cancel an in-flight card payment session (Viva or Nets)
65526
66590
  * @param {string} clientToken The token the initiate answered for the session.
65527
66591
  * @param {*} [options] Override http request option.
@@ -65606,7 +66670,19 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
65606
66670
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
65607
66671
  },
65608
66672
  /**
65609
- * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
66673
+ * Stores a DISPATCHED Nexi session for a sale the device\'s own payment app (Poynt, on the Newland N950) will take. Its sessionId is the reference the payment app is given; the device then reports the app\'s answer to nexi/on-device/result, and the server writes the order. Refused for a venue whose channel does not pay by Nexi. Nexi is not called, nothing follows the session, and it is never cancelled through :clientToken/cancel. Idempotent via X-Idempotency-Key. A signed-in ticket only.
66674
+ * @summary Start a Nexi sale on the device\'s own card reader
66675
+ * @param {InitiateWorldlineA2aSessionDto} initiateWorldlineA2aSessionDto
66676
+ * @param {string} [xIdempotencyKey] Client-generated UUID. A key this venue\&#39;s on-device sale already holds answers that sale as it stands; a key any other payment holds is refused.
66677
+ * @param {*} [options] Override http request option.
66678
+ * @throws {RequiredError}
66679
+ */
66680
+ async initiateNexiOnDeviceSession(initiateWorldlineA2aSessionDto: InitiateWorldlineA2aSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>> {
66681
+ const localVarAxiosArgs = await localVarAxiosParamCreator.initiateNexiOnDeviceSession(initiateWorldlineA2aSessionDto, xIdempotencyKey, options);
66682
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
66683
+ },
66684
+ /**
66685
+ * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. POST /payment-session/:clientToken/cancel cancels it as Nexi documents it, a confirm as failed; the outcome is still Nexi\'s answer, so a sale Nexi was already confirmed paid for ends paid. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
65610
66686
  * @summary Start a card payment on the station\'s Nexi terminal
65611
66687
  * @param {InitiateNexiSessionDto} initiateNexiSessionDto
65612
66688
  * @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
@@ -65731,6 +66807,17 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
65731
66807
  const localVarAxiosArgs = await localVarAxiosParamCreator.recordManualPayment(createManualSessionDto, xIdempotencyKey, options);
65732
66808
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
65733
66809
  },
66810
+ /**
66811
+ * Settles an on-device Nexi sale, refund or revert with Poynt\'s answer, decided by Poynt\'s payment status. COMPLETED makes a sale SUCCESS, REFUNDED makes a refund REFUNDED, VOIDED makes a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. DECLINED makes it FAILED (payment.declined), CANCELED makes it CANCELLED, FAILED makes it FAILED. A sale\'s or a refund\'s answer carries the session\'s sessionId as its reference, except a decline or a cancel, which may come without one; a revert\'s names the sale\'s Poynt transaction as its transactionId or parentId. An approval may replace a failure or a cancel (a payment recovered after the app was killed); an end without money replaces only the wait. An answer that may have moved money but cannot be recorded (AUTHORIZED, HOLD, READ_CARD_ONLY, another kind\'s approval, a partial approval, several approvals, another amount or currency) is kept on the session, which stays DISPATCHED, ops are alerted, and the request is refused. A refund to another card than the sale\'s is recorded and logged. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
66812
+ * @summary Record the device\'s payment app answer for an on-device Nexi session
66813
+ * @param {RecordNexiOnDeviceResultDto} recordNexiOnDeviceResultDto
66814
+ * @param {*} [options] Override http request option.
66815
+ * @throws {RequiredError}
66816
+ */
66817
+ async recordNexiOnDeviceResult(recordNexiOnDeviceResultDto: RecordNexiOnDeviceResultDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NexiOnDeviceResultViewDto>> {
66818
+ const localVarAxiosArgs = await localVarAxiosParamCreator.recordNexiOnDeviceResult(recordNexiOnDeviceResultDto, options);
66819
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
66820
+ },
65734
66821
  /**
65735
66822
  * Settles a handheld Worldline sale, refund or revert with the payment app\'s answer (WPI_RESPONSE). A sale\'s or a refund\'s approval carries the session\'s sessionId as its reference, and so does its decline, except that WPI may answer a decline or a cancel without one; a revert\'s (WPI_SVC_CANCEL_PAYMENT) carries none and names the sale\'s paymentSolutionReference instead. An approval makes a sale SUCCESS, a refund REFUNDED and a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. A sale\'s approval may carry a tip the cardholder added on the payment app: it is recorded with the session\'s tip. A failure makes it FAILED, or CANCELLED when the app reports WPI_ERR_COND_USER_CANCEL. An approval may replace a failure; a failure never replaces anything. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
65736
66823
  * @summary Record the Worldline payment app\'s answer for a handheld session
@@ -65764,6 +66851,29 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
65764
66851
  const localVarAxiosArgs = await localVarAxiosParamCreator.refundNetsSession(reverseSessionDto, options);
65765
66852
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
65766
66853
  },
66854
+ /**
66855
+ * Stores a DISPATCHED refund session for the amount asked (what is left of the sale when none is), within what is left of the sale. Only a sale the device\'s own card reader took is accepted. The device then makes the refund on its payment app with the card presented (Poynt\'s non-referenced refund) and the refund\'s sessionId as its reference, and reports the answer to nexi/on-device/result. Does NOT write a reversal onto the order: the refund plan records it. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
66856
+ * @summary Start a card refund of an on-device Nexi sale
66857
+ * @param {ReverseSessionDto} reverseSessionDto
66858
+ * @param {*} [options] Override http request option.
66859
+ * @throws {RequiredError}
66860
+ */
66861
+ async refundNexiOnDeviceSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>> {
66862
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundNexiOnDeviceSession(reverseSessionDto, options);
66863
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
66864
+ },
66865
+ /**
66866
+ * Stores a refund session for the amount asked (what is left of the sale when none is), within what is left of the sale, then asks Nexi for a customer-not-present refund of the sale on the sale\'s own terminal: the customer needs no card and the terminal shows nothing. Nexi\'s answer decides: Nexi made it → our confirm, then REFUNDED; Nexi ended it unpaid → FAILED and refused; Nexi still processing → the session waits and Cloud Tasks follow it until Nexi answers. Does NOT write a reversal onto the order: the refund plan records it, as for Viva and Nets. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the refund it started, as it stands, without asking Nexi again. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
66867
+ * @summary Refund a paid Nexi sale, customer not present, with no card
66868
+ * @param {ReverseSessionDto} reverseSessionDto
66869
+ * @param {string} [xIdempotencyKey] A UUID the app makes for this refund. A repeated key answers the refund it started, without refunding again.
66870
+ * @param {*} [options] Override http request option.
66871
+ * @throws {RequiredError}
66872
+ */
66873
+ async refundNexiSession(reverseSessionDto: ReverseSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>> {
66874
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundNexiSession(reverseSessionDto, xIdempotencyKey, options);
66875
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
66876
+ },
65767
66877
  /**
65768
66878
  * Refunds a Viva card payment at the gateway by its sessionId, optionally a partial `amount` (item / cluster refund). Validates the remaining refundable balance and supports multiple partial refunds. Does NOT write a reversal paymentEvent to the order — order-side accounting is handled by the refund plan. For a full reversal that writes the order paymentEvent, use /revert.
65769
66879
  * @summary Refund a settled Viva payment session (gateway only)
@@ -65819,6 +66929,28 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
65819
66929
  const localVarAxiosArgs = await localVarAxiosParamCreator.revertNetsSession(reverseSessionDto, options);
65820
66930
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
65821
66931
  },
66932
+ /**
66933
+ * Stores a DISPATCHED reversal session for the whole sale. Only a sale the device\'s own card reader took is accepted. The device then voids the sale on its payment app with no card (Poynt\'s void, by the sale\'s transaction id, which is the payment event\'s id) and reports the answer, with the reversal\'s sessionId, to nexi/on-device/result; once VOIDED, reconciliation writes the reversal onto the order. The server alone decides whether the sale may still be voided: up to 55 minutes after the sale was started, never on a closed order, and never once the sale has refund activity. `amount` is ignored: a void gives back the whole sale. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
66934
+ * @summary Start a revert (void) of an on-device Nexi sale
66935
+ * @param {ReverseSessionDto} reverseSessionDto
66936
+ * @param {*} [options] Override http request option.
66937
+ * @throws {RequiredError}
66938
+ */
66939
+ async revertNexiOnDeviceSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>> {
66940
+ const localVarAxiosArgs = await localVarAxiosParamCreator.revertNexiOnDeviceSession(reverseSessionDto, options);
66941
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
66942
+ },
66943
+ /**
66944
+ * Reads the sale at Nexi and picks the way itself, so the till decides nothing by time: within Nexi\'s hour after the sale (CONFIRMED) and with nothing refunded yet, the sale is confirmed as failed again and everything goes back; once Nexi committed it (COMMITTED, after the hour or after a refund), a customer-not-present refund gives back what is left. A confirm Nexi refuses because the hour ended in between is read again and refunded instead. A sale Nexi already holds unpaid while our record calls it paid is recorded as given back. A confirm Nexi does not answer is never recorded as failed: the revert is kept, counted against the sale, and Cloud Task rounds settle it from Nexi\'s record of the sale: given back once Nexi holds it unpaid; the confirm as failed sent again while Nexi holds it confirmed paid; a refund of what is left once Nexi committed it paid. No card either way. Once Nexi gave the money back, the session is REFUNDING and reconciliation writes the reversal onto the order, then REFUNDED. `amount` is ignored: a revert gives back what is left. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
66945
+ * @summary Revert a paid Nexi sale: give back what is left and write the reversal onto the order
66946
+ * @param {ReverseSessionDto} reverseSessionDto
66947
+ * @param {*} [options] Override http request option.
66948
+ * @throws {RequiredError}
66949
+ */
66950
+ async revertNexiSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>> {
66951
+ const localVarAxiosArgs = await localVarAxiosParamCreator.revertNexiSession(reverseSessionDto, options);
66952
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
66953
+ },
65822
66954
  /**
65823
66955
  * Fully reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId: refunds the full amount at the gateway AND writes a reversal paymentEvent to the order via the settlement engine. Idempotent: re-calling a reverted session is a no-op.
65824
66956
  * @summary Revert (fully reverse) a settled Viva payment session
@@ -65885,7 +67017,7 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
65885
67017
  const localVarFp = PaymentSessionApiFp(configuration)
65886
67018
  return {
65887
67019
  /**
65888
- * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
67020
+ * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only. A Nexi sale is cancelled as Nexi documents it: confirmed as failed (ABORTED) at Nexi, from any unfinished state; its outcome is still Nexi\'s, read by the wait rounds, which send the cancel again until Nexi takes it. A Nexi sale whose paid answer the server already claimed is not cancelled: it ends paid.
65889
67021
  * @summary Cancel an in-flight card payment session (Viva or Nets)
65890
67022
  * @param {string} clientToken The token the initiate answered for the session.
65891
67023
  * @param {*} [options] Override http request option.
@@ -65963,7 +67095,18 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
65963
67095
  return localVarFp.initiateNetsSession(initiateNetsSessionDto, xIdempotencyKey, options).then((request) => request(axios, basePath));
65964
67096
  },
65965
67097
  /**
65966
- * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
67098
+ * Stores a DISPATCHED Nexi session for a sale the device\'s own payment app (Poynt, on the Newland N950) will take. Its sessionId is the reference the payment app is given; the device then reports the app\'s answer to nexi/on-device/result, and the server writes the order. Refused for a venue whose channel does not pay by Nexi. Nexi is not called, nothing follows the session, and it is never cancelled through :clientToken/cancel. Idempotent via X-Idempotency-Key. A signed-in ticket only.
67099
+ * @summary Start a Nexi sale on the device\'s own card reader
67100
+ * @param {InitiateWorldlineA2aSessionDto} initiateWorldlineA2aSessionDto
67101
+ * @param {string} [xIdempotencyKey] Client-generated UUID. A key this venue\&#39;s on-device sale already holds answers that sale as it stands; a key any other payment holds is refused.
67102
+ * @param {*} [options] Override http request option.
67103
+ * @throws {RequiredError}
67104
+ */
67105
+ initiateNexiOnDeviceSession(initiateWorldlineA2aSessionDto: InitiateWorldlineA2aSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<PaymentSessionViewDto> {
67106
+ return localVarFp.initiateNexiOnDeviceSession(initiateWorldlineA2aSessionDto, xIdempotencyKey, options).then((request) => request(axios, basePath));
67107
+ },
67108
+ /**
67109
+ * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. POST /payment-session/:clientToken/cancel cancels it as Nexi documents it, a confirm as failed; the outcome is still Nexi\'s answer, so a sale Nexi was already confirmed paid for ends paid. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
65967
67110
  * @summary Start a card payment on the station\'s Nexi terminal
65968
67111
  * @param {InitiateNexiSessionDto} initiateNexiSessionDto
65969
67112
  * @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
@@ -66077,6 +67220,16 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
66077
67220
  recordManualPayment(createManualSessionDto: CreateManualSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<RecordManualPaymentResultDto> {
66078
67221
  return localVarFp.recordManualPayment(createManualSessionDto, xIdempotencyKey, options).then((request) => request(axios, basePath));
66079
67222
  },
67223
+ /**
67224
+ * Settles an on-device Nexi sale, refund or revert with Poynt\'s answer, decided by Poynt\'s payment status. COMPLETED makes a sale SUCCESS, REFUNDED makes a refund REFUNDED, VOIDED makes a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. DECLINED makes it FAILED (payment.declined), CANCELED makes it CANCELLED, FAILED makes it FAILED. A sale\'s or a refund\'s answer carries the session\'s sessionId as its reference, except a decline or a cancel, which may come without one; a revert\'s names the sale\'s Poynt transaction as its transactionId or parentId. An approval may replace a failure or a cancel (a payment recovered after the app was killed); an end without money replaces only the wait. An answer that may have moved money but cannot be recorded (AUTHORIZED, HOLD, READ_CARD_ONLY, another kind\'s approval, a partial approval, several approvals, another amount or currency) is kept on the session, which stays DISPATCHED, ops are alerted, and the request is refused. A refund to another card than the sale\'s is recorded and logged. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
67225
+ * @summary Record the device\'s payment app answer for an on-device Nexi session
67226
+ * @param {RecordNexiOnDeviceResultDto} recordNexiOnDeviceResultDto
67227
+ * @param {*} [options] Override http request option.
67228
+ * @throws {RequiredError}
67229
+ */
67230
+ recordNexiOnDeviceResult(recordNexiOnDeviceResultDto: RecordNexiOnDeviceResultDto, options?: any): AxiosPromise<NexiOnDeviceResultViewDto> {
67231
+ return localVarFp.recordNexiOnDeviceResult(recordNexiOnDeviceResultDto, options).then((request) => request(axios, basePath));
67232
+ },
66080
67233
  /**
66081
67234
  * Settles a handheld Worldline sale, refund or revert with the payment app\'s answer (WPI_RESPONSE). A sale\'s or a refund\'s approval carries the session\'s sessionId as its reference, and so does its decline, except that WPI may answer a decline or a cancel without one; a revert\'s (WPI_SVC_CANCEL_PAYMENT) carries none and names the sale\'s paymentSolutionReference instead. An approval makes a sale SUCCESS, a refund REFUNDED and a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. A sale\'s approval may carry a tip the cardholder added on the payment app: it is recorded with the session\'s tip. A failure makes it FAILED, or CANCELLED when the app reports WPI_ERR_COND_USER_CANCEL. An approval may replace a failure; a failure never replaces anything. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
66082
67235
  * @summary Record the Worldline payment app\'s answer for a handheld session
@@ -66107,6 +67260,27 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
66107
67260
  refundNetsSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto> {
66108
67261
  return localVarFp.refundNetsSession(reverseSessionDto, options).then((request) => request(axios, basePath));
66109
67262
  },
67263
+ /**
67264
+ * Stores a DISPATCHED refund session for the amount asked (what is left of the sale when none is), within what is left of the sale. Only a sale the device\'s own card reader took is accepted. The device then makes the refund on its payment app with the card presented (Poynt\'s non-referenced refund) and the refund\'s sessionId as its reference, and reports the answer to nexi/on-device/result. Does NOT write a reversal onto the order: the refund plan records it. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
67265
+ * @summary Start a card refund of an on-device Nexi sale
67266
+ * @param {ReverseSessionDto} reverseSessionDto
67267
+ * @param {*} [options] Override http request option.
67268
+ * @throws {RequiredError}
67269
+ */
67270
+ refundNexiOnDeviceSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto> {
67271
+ return localVarFp.refundNexiOnDeviceSession(reverseSessionDto, options).then((request) => request(axios, basePath));
67272
+ },
67273
+ /**
67274
+ * Stores a refund session for the amount asked (what is left of the sale when none is), within what is left of the sale, then asks Nexi for a customer-not-present refund of the sale on the sale\'s own terminal: the customer needs no card and the terminal shows nothing. Nexi\'s answer decides: Nexi made it → our confirm, then REFUNDED; Nexi ended it unpaid → FAILED and refused; Nexi still processing → the session waits and Cloud Tasks follow it until Nexi answers. Does NOT write a reversal onto the order: the refund plan records it, as for Viva and Nets. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the refund it started, as it stands, without asking Nexi again. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
67275
+ * @summary Refund a paid Nexi sale, customer not present, with no card
67276
+ * @param {ReverseSessionDto} reverseSessionDto
67277
+ * @param {string} [xIdempotencyKey] A UUID the app makes for this refund. A repeated key answers the refund it started, without refunding again.
67278
+ * @param {*} [options] Override http request option.
67279
+ * @throws {RequiredError}
67280
+ */
67281
+ refundNexiSession(reverseSessionDto: ReverseSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<PaymentSessionViewDto> {
67282
+ return localVarFp.refundNexiSession(reverseSessionDto, xIdempotencyKey, options).then((request) => request(axios, basePath));
67283
+ },
66110
67284
  /**
66111
67285
  * Refunds a Viva card payment at the gateway by its sessionId, optionally a partial `amount` (item / cluster refund). Validates the remaining refundable balance and supports multiple partial refunds. Does NOT write a reversal paymentEvent to the order — order-side accounting is handled by the refund plan. For a full reversal that writes the order paymentEvent, use /revert.
66112
67286
  * @summary Refund a settled Viva payment session (gateway only)
@@ -66157,6 +67331,26 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
66157
67331
  revertNetsSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<NetsRevertResponseDto> {
66158
67332
  return localVarFp.revertNetsSession(reverseSessionDto, options).then((request) => request(axios, basePath));
66159
67333
  },
67334
+ /**
67335
+ * Stores a DISPATCHED reversal session for the whole sale. Only a sale the device\'s own card reader took is accepted. The device then voids the sale on its payment app with no card (Poynt\'s void, by the sale\'s transaction id, which is the payment event\'s id) and reports the answer, with the reversal\'s sessionId, to nexi/on-device/result; once VOIDED, reconciliation writes the reversal onto the order. The server alone decides whether the sale may still be voided: up to 55 minutes after the sale was started, never on a closed order, and never once the sale has refund activity. `amount` is ignored: a void gives back the whole sale. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
67336
+ * @summary Start a revert (void) of an on-device Nexi sale
67337
+ * @param {ReverseSessionDto} reverseSessionDto
67338
+ * @param {*} [options] Override http request option.
67339
+ * @throws {RequiredError}
67340
+ */
67341
+ revertNexiOnDeviceSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto> {
67342
+ return localVarFp.revertNexiOnDeviceSession(reverseSessionDto, options).then((request) => request(axios, basePath));
67343
+ },
67344
+ /**
67345
+ * Reads the sale at Nexi and picks the way itself, so the till decides nothing by time: within Nexi\'s hour after the sale (CONFIRMED) and with nothing refunded yet, the sale is confirmed as failed again and everything goes back; once Nexi committed it (COMMITTED, after the hour or after a refund), a customer-not-present refund gives back what is left. A confirm Nexi refuses because the hour ended in between is read again and refunded instead. A sale Nexi already holds unpaid while our record calls it paid is recorded as given back. A confirm Nexi does not answer is never recorded as failed: the revert is kept, counted against the sale, and Cloud Task rounds settle it from Nexi\'s record of the sale: given back once Nexi holds it unpaid; the confirm as failed sent again while Nexi holds it confirmed paid; a refund of what is left once Nexi committed it paid. No card either way. Once Nexi gave the money back, the session is REFUNDING and reconciliation writes the reversal onto the order, then REFUNDED. `amount` is ignored: a revert gives back what is left. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
67346
+ * @summary Revert a paid Nexi sale: give back what is left and write the reversal onto the order
67347
+ * @param {ReverseSessionDto} reverseSessionDto
67348
+ * @param {*} [options] Override http request option.
67349
+ * @throws {RequiredError}
67350
+ */
67351
+ revertNexiSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto> {
67352
+ return localVarFp.revertNexiSession(reverseSessionDto, options).then((request) => request(axios, basePath));
67353
+ },
66160
67354
  /**
66161
67355
  * Fully reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId: refunds the full amount at the gateway AND writes a reversal paymentEvent to the order via the settlement engine. Idempotent: re-calling a reverted session is a no-op.
66162
67356
  * @summary Revert (fully reverse) a settled Viva payment session
@@ -66217,7 +67411,7 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
66217
67411
  */
66218
67412
  export interface PaymentSessionApiInterface {
66219
67413
  /**
66220
- * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
67414
+ * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only. A Nexi sale is cancelled as Nexi documents it: confirmed as failed (ABORTED) at Nexi, from any unfinished state; its outcome is still Nexi\'s, read by the wait rounds, which send the cancel again until Nexi takes it. A Nexi sale whose paid answer the server already claimed is not cancelled: it ends paid.
66221
67415
  * @summary Cancel an in-flight card payment session (Viva or Nets)
66222
67416
  * @param {string} clientToken The token the initiate answered for the session.
66223
67417
  * @param {*} [options] Override http request option.
@@ -66295,7 +67489,18 @@ export interface PaymentSessionApiInterface {
66295
67489
  initiateNetsSession(initiateNetsSessionDto: InitiateNetsSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<InitiateNetsSessionResponseDto>;
66296
67490
 
66297
67491
  /**
66298
- * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
67492
+ * Stores a DISPATCHED Nexi session for a sale the device\'s own payment app (Poynt, on the Newland N950) will take. Its sessionId is the reference the payment app is given; the device then reports the app\'s answer to nexi/on-device/result, and the server writes the order. Refused for a venue whose channel does not pay by Nexi. Nexi is not called, nothing follows the session, and it is never cancelled through :clientToken/cancel. Idempotent via X-Idempotency-Key. A signed-in ticket only.
67493
+ * @summary Start a Nexi sale on the device\'s own card reader
67494
+ * @param {InitiateWorldlineA2aSessionDto} initiateWorldlineA2aSessionDto
67495
+ * @param {string} [xIdempotencyKey] Client-generated UUID. A key this venue\&#39;s on-device sale already holds answers that sale as it stands; a key any other payment holds is refused.
67496
+ * @param {*} [options] Override http request option.
67497
+ * @throws {RequiredError}
67498
+ * @memberof PaymentSessionApiInterface
67499
+ */
67500
+ initiateNexiOnDeviceSession(initiateWorldlineA2aSessionDto: InitiateWorldlineA2aSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
67501
+
67502
+ /**
67503
+ * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. POST /payment-session/:clientToken/cancel cancels it as Nexi documents it, a confirm as failed; the outcome is still Nexi\'s answer, so a sale Nexi was already confirmed paid for ends paid. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
66299
67504
  * @summary Start a card payment on the station\'s Nexi terminal
66300
67505
  * @param {InitiateNexiSessionDto} initiateNexiSessionDto
66301
67506
  * @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
@@ -66409,6 +67614,16 @@ export interface PaymentSessionApiInterface {
66409
67614
  */
66410
67615
  recordManualPayment(createManualSessionDto: CreateManualSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<RecordManualPaymentResultDto>;
66411
67616
 
67617
+ /**
67618
+ * Settles an on-device Nexi sale, refund or revert with Poynt\'s answer, decided by Poynt\'s payment status. COMPLETED makes a sale SUCCESS, REFUNDED makes a refund REFUNDED, VOIDED makes a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. DECLINED makes it FAILED (payment.declined), CANCELED makes it CANCELLED, FAILED makes it FAILED. A sale\'s or a refund\'s answer carries the session\'s sessionId as its reference, except a decline or a cancel, which may come without one; a revert\'s names the sale\'s Poynt transaction as its transactionId or parentId. An approval may replace a failure or a cancel (a payment recovered after the app was killed); an end without money replaces only the wait. An answer that may have moved money but cannot be recorded (AUTHORIZED, HOLD, READ_CARD_ONLY, another kind\'s approval, a partial approval, several approvals, another amount or currency) is kept on the session, which stays DISPATCHED, ops are alerted, and the request is refused. A refund to another card than the sale\'s is recorded and logged. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
67619
+ * @summary Record the device\'s payment app answer for an on-device Nexi session
67620
+ * @param {RecordNexiOnDeviceResultDto} recordNexiOnDeviceResultDto
67621
+ * @param {*} [options] Override http request option.
67622
+ * @throws {RequiredError}
67623
+ * @memberof PaymentSessionApiInterface
67624
+ */
67625
+ recordNexiOnDeviceResult(recordNexiOnDeviceResultDto: RecordNexiOnDeviceResultDto, options?: AxiosRequestConfig): AxiosPromise<NexiOnDeviceResultViewDto>;
67626
+
66412
67627
  /**
66413
67628
  * Settles a handheld Worldline sale, refund or revert with the payment app\'s answer (WPI_RESPONSE). A sale\'s or a refund\'s approval carries the session\'s sessionId as its reference, and so does its decline, except that WPI may answer a decline or a cancel without one; a revert\'s (WPI_SVC_CANCEL_PAYMENT) carries none and names the sale\'s paymentSolutionReference instead. An approval makes a sale SUCCESS, a refund REFUNDED and a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. A sale\'s approval may carry a tip the cardholder added on the payment app: it is recorded with the session\'s tip. A failure makes it FAILED, or CANCELLED when the app reports WPI_ERR_COND_USER_CANCEL. An approval may replace a failure; a failure never replaces anything. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
66414
67629
  * @summary Record the Worldline payment app\'s answer for a handheld session
@@ -66439,6 +67654,27 @@ export interface PaymentSessionApiInterface {
66439
67654
  */
66440
67655
  refundNetsSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
66441
67656
 
67657
+ /**
67658
+ * Stores a DISPATCHED refund session for the amount asked (what is left of the sale when none is), within what is left of the sale. Only a sale the device\'s own card reader took is accepted. The device then makes the refund on its payment app with the card presented (Poynt\'s non-referenced refund) and the refund\'s sessionId as its reference, and reports the answer to nexi/on-device/result. Does NOT write a reversal onto the order: the refund plan records it. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
67659
+ * @summary Start a card refund of an on-device Nexi sale
67660
+ * @param {ReverseSessionDto} reverseSessionDto
67661
+ * @param {*} [options] Override http request option.
67662
+ * @throws {RequiredError}
67663
+ * @memberof PaymentSessionApiInterface
67664
+ */
67665
+ refundNexiOnDeviceSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
67666
+
67667
+ /**
67668
+ * Stores a refund session for the amount asked (what is left of the sale when none is), within what is left of the sale, then asks Nexi for a customer-not-present refund of the sale on the sale\'s own terminal: the customer needs no card and the terminal shows nothing. Nexi\'s answer decides: Nexi made it → our confirm, then REFUNDED; Nexi ended it unpaid → FAILED and refused; Nexi still processing → the session waits and Cloud Tasks follow it until Nexi answers. Does NOT write a reversal onto the order: the refund plan records it, as for Viva and Nets. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the refund it started, as it stands, without asking Nexi again. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
67669
+ * @summary Refund a paid Nexi sale, customer not present, with no card
67670
+ * @param {ReverseSessionDto} reverseSessionDto
67671
+ * @param {string} [xIdempotencyKey] A UUID the app makes for this refund. A repeated key answers the refund it started, without refunding again.
67672
+ * @param {*} [options] Override http request option.
67673
+ * @throws {RequiredError}
67674
+ * @memberof PaymentSessionApiInterface
67675
+ */
67676
+ refundNexiSession(reverseSessionDto: ReverseSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
67677
+
66442
67678
  /**
66443
67679
  * Refunds a Viva card payment at the gateway by its sessionId, optionally a partial `amount` (item / cluster refund). Validates the remaining refundable balance and supports multiple partial refunds. Does NOT write a reversal paymentEvent to the order — order-side accounting is handled by the refund plan. For a full reversal that writes the order paymentEvent, use /revert.
66444
67680
  * @summary Refund a settled Viva payment session (gateway only)
@@ -66489,6 +67725,26 @@ export interface PaymentSessionApiInterface {
66489
67725
  */
66490
67726
  revertNetsSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<NetsRevertResponseDto>;
66491
67727
 
67728
+ /**
67729
+ * Stores a DISPATCHED reversal session for the whole sale. Only a sale the device\'s own card reader took is accepted. The device then voids the sale on its payment app with no card (Poynt\'s void, by the sale\'s transaction id, which is the payment event\'s id) and reports the answer, with the reversal\'s sessionId, to nexi/on-device/result; once VOIDED, reconciliation writes the reversal onto the order. The server alone decides whether the sale may still be voided: up to 55 minutes after the sale was started, never on a closed order, and never once the sale has refund activity. `amount` is ignored: a void gives back the whole sale. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
67730
+ * @summary Start a revert (void) of an on-device Nexi sale
67731
+ * @param {ReverseSessionDto} reverseSessionDto
67732
+ * @param {*} [options] Override http request option.
67733
+ * @throws {RequiredError}
67734
+ * @memberof PaymentSessionApiInterface
67735
+ */
67736
+ revertNexiOnDeviceSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
67737
+
67738
+ /**
67739
+ * Reads the sale at Nexi and picks the way itself, so the till decides nothing by time: within Nexi\'s hour after the sale (CONFIRMED) and with nothing refunded yet, the sale is confirmed as failed again and everything goes back; once Nexi committed it (COMMITTED, after the hour or after a refund), a customer-not-present refund gives back what is left. A confirm Nexi refuses because the hour ended in between is read again and refunded instead. A sale Nexi already holds unpaid while our record calls it paid is recorded as given back. A confirm Nexi does not answer is never recorded as failed: the revert is kept, counted against the sale, and Cloud Task rounds settle it from Nexi\'s record of the sale: given back once Nexi holds it unpaid; the confirm as failed sent again while Nexi holds it confirmed paid; a refund of what is left once Nexi committed it paid. No card either way. Once Nexi gave the money back, the session is REFUNDING and reconciliation writes the reversal onto the order, then REFUNDED. `amount` is ignored: a revert gives back what is left. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
67740
+ * @summary Revert a paid Nexi sale: give back what is left and write the reversal onto the order
67741
+ * @param {ReverseSessionDto} reverseSessionDto
67742
+ * @param {*} [options] Override http request option.
67743
+ * @throws {RequiredError}
67744
+ * @memberof PaymentSessionApiInterface
67745
+ */
67746
+ revertNexiSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
67747
+
66492
67748
  /**
66493
67749
  * Fully reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId: refunds the full amount at the gateway AND writes a reversal paymentEvent to the order via the settlement engine. Idempotent: re-calling a reverted session is a no-op.
66494
67750
  * @summary Revert (fully reverse) a settled Viva payment session
@@ -66549,7 +67805,7 @@ export interface PaymentSessionApiInterface {
66549
67805
  */
66550
67806
  export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInterface {
66551
67807
  /**
66552
- * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
67808
+ * Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only. A Nexi sale is cancelled as Nexi documents it: confirmed as failed (ABORTED) at Nexi, from any unfinished state; its outcome is still Nexi\'s, read by the wait rounds, which send the cancel again until Nexi takes it. A Nexi sale whose paid answer the server already claimed is not cancelled: it ends paid.
66553
67809
  * @summary Cancel an in-flight card payment session (Viva or Nets)
66554
67810
  * @param {string} clientToken The token the initiate answered for the session.
66555
67811
  * @param {*} [options] Override http request option.
@@ -66641,7 +67897,20 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
66641
67897
  }
66642
67898
 
66643
67899
  /**
66644
- * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
67900
+ * Stores a DISPATCHED Nexi session for a sale the device\'s own payment app (Poynt, on the Newland N950) will take. Its sessionId is the reference the payment app is given; the device then reports the app\'s answer to nexi/on-device/result, and the server writes the order. Refused for a venue whose channel does not pay by Nexi. Nexi is not called, nothing follows the session, and it is never cancelled through :clientToken/cancel. Idempotent via X-Idempotency-Key. A signed-in ticket only.
67901
+ * @summary Start a Nexi sale on the device\'s own card reader
67902
+ * @param {InitiateWorldlineA2aSessionDto} initiateWorldlineA2aSessionDto
67903
+ * @param {string} [xIdempotencyKey] Client-generated UUID. A key this venue\&#39;s on-device sale already holds answers that sale as it stands; a key any other payment holds is refused.
67904
+ * @param {*} [options] Override http request option.
67905
+ * @throws {RequiredError}
67906
+ * @memberof PaymentSessionApi
67907
+ */
67908
+ public initiateNexiOnDeviceSession(initiateWorldlineA2aSessionDto: InitiateWorldlineA2aSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig) {
67909
+ return PaymentSessionApiFp(this.configuration).initiateNexiOnDeviceSession(initiateWorldlineA2aSessionDto, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
67910
+ }
67911
+
67912
+ /**
67913
+ * Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. POST /payment-session/:clientToken/cancel cancels it as Nexi documents it, a confirm as failed; the outcome is still Nexi\'s answer, so a sale Nexi was already confirmed paid for ends paid. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
66645
67914
  * @summary Start a card payment on the station\'s Nexi terminal
66646
67915
  * @param {InitiateNexiSessionDto} initiateNexiSessionDto
66647
67916
  * @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
@@ -66777,6 +68046,18 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
66777
68046
  return PaymentSessionApiFp(this.configuration).recordManualPayment(createManualSessionDto, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
66778
68047
  }
66779
68048
 
68049
+ /**
68050
+ * Settles an on-device Nexi sale, refund or revert with Poynt\'s answer, decided by Poynt\'s payment status. COMPLETED makes a sale SUCCESS, REFUNDED makes a refund REFUNDED, VOIDED makes a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. DECLINED makes it FAILED (payment.declined), CANCELED makes it CANCELLED, FAILED makes it FAILED. A sale\'s or a refund\'s answer carries the session\'s sessionId as its reference, except a decline or a cancel, which may come without one; a revert\'s names the sale\'s Poynt transaction as its transactionId or parentId. An approval may replace a failure or a cancel (a payment recovered after the app was killed); an end without money replaces only the wait. An answer that may have moved money but cannot be recorded (AUTHORIZED, HOLD, READ_CARD_ONLY, another kind\'s approval, a partial approval, several approvals, another amount or currency) is kept on the session, which stays DISPATCHED, ops are alerted, and the request is refused. A refund to another card than the sale\'s is recorded and logged. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
68051
+ * @summary Record the device\'s payment app answer for an on-device Nexi session
68052
+ * @param {RecordNexiOnDeviceResultDto} recordNexiOnDeviceResultDto
68053
+ * @param {*} [options] Override http request option.
68054
+ * @throws {RequiredError}
68055
+ * @memberof PaymentSessionApi
68056
+ */
68057
+ public recordNexiOnDeviceResult(recordNexiOnDeviceResultDto: RecordNexiOnDeviceResultDto, options?: AxiosRequestConfig) {
68058
+ return PaymentSessionApiFp(this.configuration).recordNexiOnDeviceResult(recordNexiOnDeviceResultDto, options).then((request) => request(this.axios, this.basePath));
68059
+ }
68060
+
66780
68061
  /**
66781
68062
  * Settles a handheld Worldline sale, refund or revert with the payment app\'s answer (WPI_RESPONSE). A sale\'s or a refund\'s approval carries the session\'s sessionId as its reference, and so does its decline, except that WPI may answer a decline or a cancel without one; a revert\'s (WPI_SVC_CANCEL_PAYMENT) carries none and names the sale\'s paymentSolutionReference instead. An approval makes a sale SUCCESS, a refund REFUNDED and a revert REFUNDING; reconciliation then writes the payment or the reversal onto the order. A sale\'s approval may carry a tip the cardholder added on the payment app: it is recorded with the session\'s tip. A failure makes it FAILED, or CANCELLED when the app reports WPI_ERR_COND_USER_CANCEL. An approval may replace a failure; a failure never replaces anything. A repeated answer is answered as the session stands. The payment event\'s time is the server\'s. A signed-in ticket only.
66782
68063
  * @summary Record the Worldline payment app\'s answer for a handheld session
@@ -66813,6 +68094,31 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
66813
68094
  return PaymentSessionApiFp(this.configuration).refundNetsSession(reverseSessionDto, options).then((request) => request(this.axios, this.basePath));
66814
68095
  }
66815
68096
 
68097
+ /**
68098
+ * Stores a DISPATCHED refund session for the amount asked (what is left of the sale when none is), within what is left of the sale. Only a sale the device\'s own card reader took is accepted. The device then makes the refund on its payment app with the card presented (Poynt\'s non-referenced refund) and the refund\'s sessionId as its reference, and reports the answer to nexi/on-device/result. Does NOT write a reversal onto the order: the refund plan records it. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
68099
+ * @summary Start a card refund of an on-device Nexi sale
68100
+ * @param {ReverseSessionDto} reverseSessionDto
68101
+ * @param {*} [options] Override http request option.
68102
+ * @throws {RequiredError}
68103
+ * @memberof PaymentSessionApi
68104
+ */
68105
+ public refundNexiOnDeviceSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) {
68106
+ return PaymentSessionApiFp(this.configuration).refundNexiOnDeviceSession(reverseSessionDto, options).then((request) => request(this.axios, this.basePath));
68107
+ }
68108
+
68109
+ /**
68110
+ * Stores a refund session for the amount asked (what is left of the sale when none is), within what is left of the sale, then asks Nexi for a customer-not-present refund of the sale on the sale\'s own terminal: the customer needs no card and the terminal shows nothing. Nexi\'s answer decides: Nexi made it → our confirm, then REFUNDED; Nexi ended it unpaid → FAILED and refused; Nexi still processing → the session waits and Cloud Tasks follow it until Nexi answers. Does NOT write a reversal onto the order: the refund plan records it, as for Viva and Nets. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the refund it started, as it stands, without asking Nexi again. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
68111
+ * @summary Refund a paid Nexi sale, customer not present, with no card
68112
+ * @param {ReverseSessionDto} reverseSessionDto
68113
+ * @param {string} [xIdempotencyKey] A UUID the app makes for this refund. A repeated key answers the refund it started, without refunding again.
68114
+ * @param {*} [options] Override http request option.
68115
+ * @throws {RequiredError}
68116
+ * @memberof PaymentSessionApi
68117
+ */
68118
+ public refundNexiSession(reverseSessionDto: ReverseSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig) {
68119
+ return PaymentSessionApiFp(this.configuration).refundNexiSession(reverseSessionDto, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
68120
+ }
68121
+
66816
68122
  /**
66817
68123
  * Refunds a Viva card payment at the gateway by its sessionId, optionally a partial `amount` (item / cluster refund). Validates the remaining refundable balance and supports multiple partial refunds. Does NOT write a reversal paymentEvent to the order — order-side accounting is handled by the refund plan. For a full reversal that writes the order paymentEvent, use /revert.
66818
68124
  * @summary Refund a settled Viva payment session (gateway only)
@@ -66873,6 +68179,30 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
66873
68179
  return PaymentSessionApiFp(this.configuration).revertNetsSession(reverseSessionDto, options).then((request) => request(this.axios, this.basePath));
66874
68180
  }
66875
68181
 
68182
+ /**
68183
+ * Stores a DISPATCHED reversal session for the whole sale. Only a sale the device\'s own card reader took is accepted. The device then voids the sale on its payment app with no card (Poynt\'s void, by the sale\'s transaction id, which is the payment event\'s id) and reports the answer, with the reversal\'s sessionId, to nexi/on-device/result; once VOIDED, reconciliation writes the reversal onto the order. The server alone decides whether the sale may still be voided: up to 55 minutes after the sale was started, never on a closed order, and never once the sale has refund activity. `amount` is ignored: a void gives back the whole sale. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
68184
+ * @summary Start a revert (void) of an on-device Nexi sale
68185
+ * @param {ReverseSessionDto} reverseSessionDto
68186
+ * @param {*} [options] Override http request option.
68187
+ * @throws {RequiredError}
68188
+ * @memberof PaymentSessionApi
68189
+ */
68190
+ public revertNexiOnDeviceSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) {
68191
+ return PaymentSessionApiFp(this.configuration).revertNexiOnDeviceSession(reverseSessionDto, options).then((request) => request(this.axios, this.basePath));
68192
+ }
68193
+
68194
+ /**
68195
+ * Reads the sale at Nexi and picks the way itself, so the till decides nothing by time: within Nexi\'s hour after the sale (CONFIRMED) and with nothing refunded yet, the sale is confirmed as failed again and everything goes back; once Nexi committed it (COMMITTED, after the hour or after a refund), a customer-not-present refund gives back what is left. A confirm Nexi refuses because the hour ended in between is read again and refunded instead. A sale Nexi already holds unpaid while our record calls it paid is recorded as given back. A confirm Nexi does not answer is never recorded as failed: the revert is kept, counted against the sale, and Cloud Task rounds settle it from Nexi\'s record of the sale: given back once Nexi holds it unpaid; the confirm as failed sent again while Nexi holds it confirmed paid; a refund of what is left once Nexi committed it paid. No card either way. Once Nexi gave the money back, the session is REFUNDING and reconciliation writes the reversal onto the order, then REFUNDED. `amount` is ignored: a revert gives back what is left. A signed-in ticket only. Every refusal answers the shared error body: `name` is a stable code the till maps to its own words, `detail` the waiter\'s words when it has none.
68196
+ * @summary Revert a paid Nexi sale: give back what is left and write the reversal onto the order
68197
+ * @param {ReverseSessionDto} reverseSessionDto
68198
+ * @param {*} [options] Override http request option.
68199
+ * @throws {RequiredError}
68200
+ * @memberof PaymentSessionApi
68201
+ */
68202
+ public revertNexiSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) {
68203
+ return PaymentSessionApiFp(this.configuration).revertNexiSession(reverseSessionDto, options).then((request) => request(this.axios, this.basePath));
68204
+ }
68205
+
66876
68206
  /**
66877
68207
  * Fully reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId: refunds the full amount at the gateway AND writes a reversal paymentEvent to the order via the settlement engine. Idempotent: re-calling a reverted session is a no-op.
66878
68208
  * @summary Revert (fully reverse) a settled Viva payment session
@@ -68815,11 +70145,11 @@ export const ReceiptFooterApiAxiosParamCreator = function (configuration?: Confi
68815
70145
  * The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
68816
70146
  * @summary Get the receipt footer config for a business + channel
68817
70147
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
68818
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70148
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
68819
70149
  * @param {*} [options] Override http request option.
68820
70150
  * @throws {RequiredError}
68821
70151
  */
68822
- receiptFooterGetConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
70152
+ receiptFooterGetConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
68823
70153
  // verify required parameter 'businessId' is not null or undefined
68824
70154
  assertParamExists('receiptFooterGetConfig', 'businessId', businessId)
68825
70155
  // verify required parameter 'xAppX' is not null or undefined
@@ -68860,12 +70190,12 @@ export const ReceiptFooterApiAxiosParamCreator = function (configuration?: Confi
68860
70190
  * Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
68861
70191
  * @summary Create or update the receipt footer config for a business + channel
68862
70192
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
68863
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70193
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
68864
70194
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
68865
70195
  * @param {*} [options] Override http request option.
68866
70196
  * @throws {RequiredError}
68867
70197
  */
68868
- receiptFooterUpsertConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
70198
+ receiptFooterUpsertConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertReceiptFooterDto: UpsertReceiptFooterDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
68869
70199
  // verify required parameter 'businessId' is not null or undefined
68870
70200
  assertParamExists('receiptFooterUpsertConfig', 'businessId', businessId)
68871
70201
  // verify required parameter 'xAppX' is not null or undefined
@@ -68921,11 +70251,11 @@ export const ReceiptFooterApiFp = function(configuration?: Configuration) {
68921
70251
  * The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
68922
70252
  * @summary Get the receipt footer config for a business + channel
68923
70253
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
68924
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70254
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
68925
70255
  * @param {*} [options] Override http request option.
68926
70256
  * @throws {RequiredError}
68927
70257
  */
68928
- async receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>> {
70258
+ async receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>> {
68929
70259
  const localVarAxiosArgs = await localVarAxiosParamCreator.receiptFooterGetConfig(businessId, xAppX, options);
68930
70260
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
68931
70261
  },
@@ -68933,12 +70263,12 @@ export const ReceiptFooterApiFp = function(configuration?: Configuration) {
68933
70263
  * Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
68934
70264
  * @summary Create or update the receipt footer config for a business + channel
68935
70265
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
68936
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70266
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
68937
70267
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
68938
70268
  * @param {*} [options] Override http request option.
68939
70269
  * @throws {RequiredError}
68940
70270
  */
68941
- async receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>> {
70271
+ async receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>> {
68942
70272
  const localVarAxiosArgs = await localVarAxiosParamCreator.receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options);
68943
70273
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
68944
70274
  },
@@ -68956,23 +70286,23 @@ export const ReceiptFooterApiFactory = function (configuration?: Configuration,
68956
70286
  * The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
68957
70287
  * @summary Get the receipt footer config for a business + channel
68958
70288
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
68959
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70289
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
68960
70290
  * @param {*} [options] Override http request option.
68961
70291
  * @throws {RequiredError}
68962
70292
  */
68963
- receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: any): AxiosPromise<ReceiptFooterConfigDto> {
70293
+ receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: any): AxiosPromise<ReceiptFooterConfigDto> {
68964
70294
  return localVarFp.receiptFooterGetConfig(businessId, xAppX, options).then((request) => request(axios, basePath));
68965
70295
  },
68966
70296
  /**
68967
70297
  * Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
68968
70298
  * @summary Create or update the receipt footer config for a business + channel
68969
70299
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
68970
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70300
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
68971
70301
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
68972
70302
  * @param {*} [options] Override http request option.
68973
70303
  * @throws {RequiredError}
68974
70304
  */
68975
- receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto> {
70305
+ receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto> {
68976
70306
  return localVarFp.receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options).then((request) => request(axios, basePath));
68977
70307
  },
68978
70308
  };
@@ -68988,24 +70318,24 @@ export interface ReceiptFooterApiInterface {
68988
70318
  * The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
68989
70319
  * @summary Get the receipt footer config for a business + channel
68990
70320
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
68991
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70321
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
68992
70322
  * @param {*} [options] Override http request option.
68993
70323
  * @throws {RequiredError}
68994
70324
  * @memberof ReceiptFooterApiInterface
68995
70325
  */
68996
- receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
70326
+ receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
68997
70327
 
68998
70328
  /**
68999
70329
  * Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
69000
70330
  * @summary Create or update the receipt footer config for a business + channel
69001
70331
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
69002
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70332
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
69003
70333
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
69004
70334
  * @param {*} [options] Override http request option.
69005
70335
  * @throws {RequiredError}
69006
70336
  * @memberof ReceiptFooterApiInterface
69007
70337
  */
69008
- receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
70338
+ receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
69009
70339
 
69010
70340
  }
69011
70341
 
@@ -69020,12 +70350,12 @@ export class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterfa
69020
70350
  * The footer the venue\'s tills on this channel print on the documents it applies to; the till reads it when it starts. Kept 30 days per venue and channel, the absence of a footer too, and invalidated for every channel of the venue when one of its footers is saved.
69021
70351
  * @summary Get the receipt footer config for a business + channel
69022
70352
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
69023
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70353
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
69024
70354
  * @param {*} [options] Override http request option.
69025
70355
  * @throws {RequiredError}
69026
70356
  * @memberof ReceiptFooterApi
69027
70357
  */
69028
- public receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig) {
70358
+ public receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', options?: AxiosRequestConfig) {
69029
70359
  return ReceiptFooterApiFp(this.configuration).receiptFooterGetConfig(businessId, xAppX, options).then((request) => request(this.axios, this.basePath));
69030
70360
  }
69031
70361
 
@@ -69033,13 +70363,13 @@ export class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterfa
69033
70363
  * Saves the venue\'s footer for the channel, replacing both fields; it is created on the first save. Once saved, the venue\'s kept footers are invalidated, every channel at once, and the venue\'s tills on that channel are told over Ably to sync RECEIPT_FOOTER. If the invalidation fails, the save still answers 200, the tills are still told, and the failure is logged as an error: the tills then read the old footer until it expires (up to 30 days) or POST v1/config-management/business/:businessId/sync (configManualSync) with RECEIPT_FOOTER clears it.
69034
70364
  * @summary Create or update the receipt footer config for a business + channel
69035
70365
  * @param {number} businessId The venue whose footer is read or written: its orderingBusinessId
69036
- * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
70366
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner'} xAppX The app channel whose footer is read or written; each channel of a venue has its own footer
69037
70367
  * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
69038
70368
  * @param {*} [options] Override http request option.
69039
70369
  * @throws {RequiredError}
69040
70370
  * @memberof ReceiptFooterApi
69041
70371
  */
69042
- public receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) {
70372
+ public receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ' | 'Partner', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) {
69043
70373
  return ReceiptFooterApiFp(this.configuration).receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options).then((request) => request(this.axios, this.basePath));
69044
70374
  }
69045
70375
  }