@munchi_oy/core 1.9.44 → 1.9.46

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.
@@ -1568,61 +1568,7 @@ export interface CardPresentDetailsDto {
1568
1568
  */
1569
1569
  export interface CardPresentDetailsDtoWallet {
1570
1570
  /**
1571
- * The ID of the wallet
1572
- * @type {number}
1573
- * @memberof CardPresentDetailsDtoWallet
1574
- */
1575
- 'id': number;
1576
- /**
1577
- * Unique code for the wallet
1578
- * @type {string}
1579
- * @memberof CardPresentDetailsDtoWallet
1580
- */
1581
- 'code': string;
1582
- /**
1583
- * The ID of the user who owns this wallet
1584
- * @type {number}
1585
- * @memberof CardPresentDetailsDtoWallet
1586
- */
1587
- 'user_id': number;
1588
- /**
1589
- * Current balance in the wallet
1590
- * @type {number}
1591
- * @memberof CardPresentDetailsDtoWallet
1592
- */
1593
- 'balance': number;
1594
- /**
1595
- * Whether the wallet is locked
1596
- * @type {boolean}
1597
- * @memberof CardPresentDetailsDtoWallet
1598
- */
1599
- 'locked': boolean;
1600
- /**
1601
- * Reason for locking the wallet, if applicable
1602
- * @type {object}
1603
- * @memberof CardPresentDetailsDtoWallet
1604
- */
1605
- 'locked_reason': object | null;
1606
- /**
1607
- * Timestamp when the wallet was locked, if applicable
1608
- * @type {object}
1609
- * @memberof CardPresentDetailsDtoWallet
1610
- */
1611
- 'locked_at': object | null;
1612
- /**
1613
- * Timestamp when the wallet was created
1614
- * @type {string}
1615
- * @memberof CardPresentDetailsDtoWallet
1616
- */
1617
- 'created_at': string;
1618
- /**
1619
- * Timestamp when the wallet was last updated
1620
- * @type {string}
1621
- * @memberof CardPresentDetailsDtoWallet
1622
- */
1623
- 'updated_at': string;
1624
- /**
1625
- * Type of wallet (e.g., cash, credit_point)
1571
+ * Wallet type
1626
1572
  * @type {string}
1627
1573
  * @memberof CardPresentDetailsDtoWallet
1628
1574
  */
@@ -3420,6 +3366,247 @@ export interface CreateManualSessionDto {
3420
3366
  * @memberof CreateManualSessionDto
3421
3367
  */
3422
3368
  'metadata'?: object;
3369
+ /**
3370
+ *
3371
+ * @type {CreateManualSessionDtoOrder}
3372
+ * @memberof CreateManualSessionDto
3373
+ */
3374
+ 'order': CreateManualSessionDtoOrder;
3375
+ /**
3376
+ * Cash handling config forwarded from the client. When enabled the backend additionally records a cash session.
3377
+ * @type {object}
3378
+ * @memberof CreateManualSessionDto
3379
+ */
3380
+ 'cashConfig'?: object;
3381
+ }
3382
+ /**
3383
+ * The full POS order (cart) this payment is for. Sent by the client instead of a separate Firestore upsert so the backend writes the order, records the payment and returns the computed order in one round-trip.
3384
+ * @export
3385
+ * @interface CreateManualSessionDtoOrder
3386
+ */
3387
+ export interface CreateManualSessionDtoOrder {
3388
+ /**
3389
+ *
3390
+ * @type {string}
3391
+ * @memberof CreateManualSessionDtoOrder
3392
+ */
3393
+ 'id': string;
3394
+ /**
3395
+ *
3396
+ * @type {string}
3397
+ * @memberof CreateManualSessionDtoOrder
3398
+ */
3399
+ 'businessId': string;
3400
+ /**
3401
+ *
3402
+ * @type {ProviderEnum}
3403
+ * @memberof CreateManualSessionDtoOrder
3404
+ */
3405
+ 'provider': ProviderEnum;
3406
+ /**
3407
+ *
3408
+ * @type {CurrencyCode}
3409
+ * @memberof CreateManualSessionDtoOrder
3410
+ */
3411
+ 'currency': CurrencyCode;
3412
+ /**
3413
+ *
3414
+ * @type {PosBusinessDto}
3415
+ * @memberof CreateManualSessionDtoOrder
3416
+ */
3417
+ 'business': PosBusinessDto;
3418
+ /**
3419
+ *
3420
+ * @type {string}
3421
+ * @memberof CreateManualSessionDtoOrder
3422
+ */
3423
+ 'createdAt': string;
3424
+ /**
3425
+ *
3426
+ * @type {OrderStatusEnum}
3427
+ * @memberof CreateManualSessionDtoOrder
3428
+ */
3429
+ 'status': OrderStatusEnum;
3430
+ /**
3431
+ *
3432
+ * @type {string}
3433
+ * @memberof CreateManualSessionDtoOrder
3434
+ */
3435
+ 'updatedAt': string;
3436
+ /**
3437
+ *
3438
+ * @type {string}
3439
+ * @memberof CreateManualSessionDtoOrder
3440
+ */
3441
+ 'completedAt'?: string;
3442
+ /**
3443
+ *
3444
+ * @type {string}
3445
+ * @memberof CreateManualSessionDtoOrder
3446
+ */
3447
+ 'orderNumber': string;
3448
+ /**
3449
+ *
3450
+ * @type {CheckoutModelEnum}
3451
+ * @memberof CreateManualSessionDtoOrder
3452
+ */
3453
+ 'checkoutModel': CheckoutModelEnum;
3454
+ /**
3455
+ *
3456
+ * @type {OrderTypePOS}
3457
+ * @memberof CreateManualSessionDtoOrder
3458
+ */
3459
+ 'orderType': OrderTypePOS;
3460
+ /**
3461
+ *
3462
+ * @type {string}
3463
+ * @memberof CreateManualSessionDtoOrder
3464
+ */
3465
+ 'spotNumber': string | null;
3466
+ /**
3467
+ * ID of the floor plan dining table linked to this order
3468
+ * @type {string}
3469
+ * @memberof CreateManualSessionDtoOrder
3470
+ */
3471
+ 'tableId'?: string | null;
3472
+ /**
3473
+ *
3474
+ * @type {string}
3475
+ * @memberof CreateManualSessionDtoOrder
3476
+ */
3477
+ 'comments': string | null;
3478
+ /**
3479
+ *
3480
+ * @type {PosOrderDtoTableService}
3481
+ * @memberof CreateManualSessionDtoOrder
3482
+ */
3483
+ 'tableService'?: PosOrderDtoTableService | null;
3484
+ /**
3485
+ *
3486
+ * @type {PosOrderDtoEqualSplitState}
3487
+ * @memberof CreateManualSessionDtoOrder
3488
+ */
3489
+ 'equalSplitState'?: PosOrderDtoEqualSplitState | null;
3490
+ /**
3491
+ * Id of the staff in shift
3492
+ * @type {string}
3493
+ * @memberof CreateManualSessionDtoOrder
3494
+ */
3495
+ 'staffId': string | null;
3496
+ /**
3497
+ * Id of the shift
3498
+ * @type {string}
3499
+ * @memberof CreateManualSessionDtoOrder
3500
+ */
3501
+ 'shiftId': string | null;
3502
+ /**
3503
+ *
3504
+ * @type {OrderRefundStatus}
3505
+ * @memberof CreateManualSessionDtoOrder
3506
+ */
3507
+ 'orderRefundStatus': OrderRefundStatus;
3508
+ /**
3509
+ *
3510
+ * @type {LocatorType}
3511
+ * @memberof CreateManualSessionDtoOrder
3512
+ */
3513
+ 'locatorType': LocatorType;
3514
+ /**
3515
+ *
3516
+ * @type {PosOrderPriceDto}
3517
+ * @memberof CreateManualSessionDtoOrder
3518
+ */
3519
+ 'basketPrice': PosOrderPriceDto;
3520
+ /**
3521
+ *
3522
+ * @type {Array<PosOrderItemDto>}
3523
+ * @memberof CreateManualSessionDtoOrder
3524
+ */
3525
+ 'items': Array<PosOrderItemDto>;
3526
+ /**
3527
+ *
3528
+ * @type {Array<PosDiscountDto>}
3529
+ * @memberof CreateManualSessionDtoOrder
3530
+ */
3531
+ 'discounts': Array<PosDiscountDto>;
3532
+ /**
3533
+ *
3534
+ * @type {PosCustomerDto}
3535
+ * @memberof CreateManualSessionDtoOrder
3536
+ */
3537
+ 'customer': PosCustomerDto | null;
3538
+ /**
3539
+ *
3540
+ * @type {Array<TransactionDto>}
3541
+ * @memberof CreateManualSessionDtoOrder
3542
+ */
3543
+ 'paymentEvents': Array<TransactionDto>;
3544
+ /**
3545
+ *
3546
+ * @type {Array<PaymentRefundDto>}
3547
+ * @memberof CreateManualSessionDtoOrder
3548
+ */
3549
+ 'refunds'?: Array<PaymentRefundDto>;
3550
+ /**
3551
+ * Data version code
3552
+ * @type {string}
3553
+ * @memberof CreateManualSessionDtoOrder
3554
+ */
3555
+ 'version': string;
3556
+ /**
3557
+ *
3558
+ * @type {OrderFormat}
3559
+ * @memberof CreateManualSessionDtoOrder
3560
+ */
3561
+ 'orderFormat'?: OrderFormat;
3562
+ /**
3563
+ * The ID of the loyalty program active during this order.
3564
+ * @type {string}
3565
+ * @memberof CreateManualSessionDtoOrder
3566
+ */
3567
+ 'loyaltyProgramId': string | null;
3568
+ /**
3569
+ * An array of loyalty transaction IDs related to this order.
3570
+ * @type {Array<string>}
3571
+ * @memberof CreateManualSessionDtoOrder
3572
+ */
3573
+ 'loyaltyTransactionIds': Array<string>;
3574
+ /**
3575
+ *
3576
+ * @type {PosOrderDtoTaxSummary}
3577
+ * @memberof CreateManualSessionDtoOrder
3578
+ */
3579
+ 'taxSummary'?: PosOrderDtoTaxSummary;
3580
+ /**
3581
+ * Name of staff member who created the order
3582
+ * @type {string}
3583
+ * @memberof CreateManualSessionDtoOrder
3584
+ */
3585
+ 'staffName'?: string | null;
3586
+ /**
3587
+ *
3588
+ * @type {PosOrderDtoInvoiceCompany}
3589
+ * @memberof CreateManualSessionDtoOrder
3590
+ */
3591
+ 'invoiceCompany'?: PosOrderDtoInvoiceCompany | null;
3592
+ /**
3593
+ *
3594
+ * @type {object}
3595
+ * @memberof CreateManualSessionDtoOrder
3596
+ */
3597
+ 'lastPaymentError'?: object;
3598
+ /**
3599
+ *
3600
+ * @type {Array<OrderFeeDto>}
3601
+ * @memberof CreateManualSessionDtoOrder
3602
+ */
3603
+ 'fees'?: Array<OrderFeeDto> | null;
3604
+ /**
3605
+ * Loyalty user ID associated with this order
3606
+ * @type {number}
3607
+ * @memberof CreateManualSessionDtoOrder
3608
+ */
3609
+ 'targetUserId'?: number;
3423
3610
  }
3424
3611
  /**
3425
3612
  *
@@ -5934,30 +6121,200 @@ export interface InitiateNetsTerminalPaymentResponseDto {
5934
6121
  /**
5935
6122
  *
5936
6123
  * @export
5937
- * @interface InitiateVivaSessionDto
6124
+ * @interface InitiateVivaA2aSessionDto
5938
6125
  */
5939
- export interface InitiateVivaSessionDto {
6126
+ export interface InitiateVivaA2aSessionDto {
5940
6127
  /**
5941
6128
  * The internal business ID.
5942
6129
  * @type {number}
5943
- * @memberof InitiateVivaSessionDto
6130
+ * @memberof InitiateVivaA2aSessionDto
5944
6131
  */
5945
6132
  'businessId': number;
5946
6133
  /**
5947
- * The POS order ID this payment session is for.
6134
+ * The unique reference for the order or cart.
5948
6135
  * @type {string}
5949
- * @memberof InitiateVivaSessionDto
6136
+ * @memberof InitiateVivaA2aSessionDto
5950
6137
  */
5951
- 'orderId': string;
6138
+ 'referenceId': string;
5952
6139
  /**
5953
- * Amount to charge in smallest currency unit (cents).
6140
+ * The display reference for the order or cart.
6141
+ * @type {string}
6142
+ * @memberof InitiateVivaA2aSessionDto
6143
+ */
6144
+ 'displayId': string;
6145
+ /**
6146
+ * Amount in the smallest currency unit (e.g., cents).
5954
6147
  * @type {number}
5955
- * @memberof InitiateVivaSessionDto
6148
+ * @memberof InitiateVivaA2aSessionDto
5956
6149
  */
5957
6150
  'amount': number;
5958
6151
  /**
5959
6152
  *
5960
- * @type {InitiateVivaSessionDtoSplitContext}
6153
+ * @type {CurrencyCode}
6154
+ * @memberof InitiateVivaA2aSessionDto
6155
+ */
6156
+ 'currency': CurrencyCode;
6157
+ /**
6158
+ *
6159
+ * @type {boolean}
6160
+ * @memberof InitiateVivaA2aSessionDto
6161
+ */
6162
+ 'showReceipt'?: boolean;
6163
+ /**
6164
+ *
6165
+ * @type {number}
6166
+ * @memberof InitiateVivaA2aSessionDto
6167
+ */
6168
+ 'tipAmount'?: number;
6169
+ /**
6170
+ *
6171
+ * @type {boolean}
6172
+ * @memberof InitiateVivaA2aSessionDto
6173
+ */
6174
+ 'showTransactionResult'?: boolean;
6175
+ /**
6176
+ *
6177
+ * @type {InitiateVivaSessionDtoSplitContext}
6178
+ * @memberof InitiateVivaA2aSessionDto
6179
+ */
6180
+ 'splitContext'?: InitiateVivaSessionDtoSplitContext;
6181
+ }
6182
+ /**
6183
+ *
6184
+ * @export
6185
+ * @interface InitiateVivaA2aSessionResponseDto
6186
+ */
6187
+ export interface InitiateVivaA2aSessionResponseDto {
6188
+ /**
6189
+ *
6190
+ * @type {string}
6191
+ * @memberof InitiateVivaA2aSessionResponseDto
6192
+ */
6193
+ 'clientTransactionId': string;
6194
+ /**
6195
+ *
6196
+ * @type {number}
6197
+ * @memberof InitiateVivaA2aSessionResponseDto
6198
+ */
6199
+ 'amount': number;
6200
+ /**
6201
+ *
6202
+ * @type {number}
6203
+ * @memberof InitiateVivaA2aSessionResponseDto
6204
+ */
6205
+ 'tipAmount': number;
6206
+ /**
6207
+ *
6208
+ * @type {VivaAppToAppPaymentMethod}
6209
+ * @memberof InitiateVivaA2aSessionResponseDto
6210
+ */
6211
+ 'paymentMethod': VivaAppToAppPaymentMethod;
6212
+ /**
6213
+ *
6214
+ * @type {number}
6215
+ * @memberof InitiateVivaA2aSessionResponseDto
6216
+ */
6217
+ 'sourceCode': number;
6218
+ /**
6219
+ *
6220
+ * @type {boolean}
6221
+ * @memberof InitiateVivaA2aSessionResponseDto
6222
+ */
6223
+ 'show_receipt': boolean;
6224
+ /**
6225
+ *
6226
+ * @type {boolean}
6227
+ * @memberof InitiateVivaA2aSessionResponseDto
6228
+ */
6229
+ 'show_transaction_result': boolean;
6230
+ /**
6231
+ *
6232
+ * @type {boolean}
6233
+ * @memberof InitiateVivaA2aSessionResponseDto
6234
+ */
6235
+ 'show_rating': boolean;
6236
+ /**
6237
+ * The ISV amount.
6238
+ * @type {number}
6239
+ * @memberof InitiateVivaA2aSessionResponseDto
6240
+ */
6241
+ 'ISV_amount'?: number;
6242
+ /**
6243
+ * The ISV client ID.
6244
+ * @type {string}
6245
+ * @memberof InitiateVivaA2aSessionResponseDto
6246
+ */
6247
+ 'ISV_clientId'?: string;
6248
+ /**
6249
+ * The ISV client secret. Only include this if the mobile app must send it for the POC.
6250
+ * @type {string}
6251
+ * @memberof InitiateVivaA2aSessionResponseDto
6252
+ */
6253
+ 'ISV_clientSecret'?: string;
6254
+ /**
6255
+ * The ISO numeric currency code required by Viva ISV mode.
6256
+ * @type {number}
6257
+ * @memberof InitiateVivaA2aSessionResponseDto
6258
+ */
6259
+ 'ISV_currencyCode'?: number;
6260
+ /**
6261
+ * The customer transaction description shown in Viva.
6262
+ * @type {string}
6263
+ * @memberof InitiateVivaA2aSessionResponseDto
6264
+ */
6265
+ 'ISV_customerTrns'?: string;
6266
+ /**
6267
+ * The ISV client transaction ID if used separately from the app transaction ID.
6268
+ * @type {string}
6269
+ * @memberof InitiateVivaA2aSessionResponseDto
6270
+ */
6271
+ 'ISV_clientTransactionId'?: string;
6272
+ /**
6273
+ * Merchant-facing reference shown on the Viva receipt (e.g. KIOSK-1234).
6274
+ * @type {string}
6275
+ * @memberof InitiateVivaA2aSessionResponseDto
6276
+ */
6277
+ 'merchantReference'?: string;
6278
+ /**
6279
+ * Opaque client token used to poll/sync the session. Never sent to Viva.
6280
+ * @type {string}
6281
+ * @memberof InitiateVivaA2aSessionResponseDto
6282
+ */
6283
+ 'clientToken': string;
6284
+ /**
6285
+ * Internal session ID (equals the Viva app-to-app clientTransactionId).
6286
+ * @type {string}
6287
+ * @memberof InitiateVivaA2aSessionResponseDto
6288
+ */
6289
+ 'sessionId': string;
6290
+ }
6291
+ /**
6292
+ *
6293
+ * @export
6294
+ * @interface InitiateVivaSessionDto
6295
+ */
6296
+ export interface InitiateVivaSessionDto {
6297
+ /**
6298
+ * The internal business ID.
6299
+ * @type {number}
6300
+ * @memberof InitiateVivaSessionDto
6301
+ */
6302
+ 'businessId': number;
6303
+ /**
6304
+ * The POS order ID this payment session is for.
6305
+ * @type {string}
6306
+ * @memberof InitiateVivaSessionDto
6307
+ */
6308
+ 'orderId': string;
6309
+ /**
6310
+ * Amount to charge in smallest currency unit (cents).
6311
+ * @type {number}
6312
+ * @memberof InitiateVivaSessionDto
6313
+ */
6314
+ 'amount': number;
6315
+ /**
6316
+ *
6317
+ * @type {InitiateVivaSessionDtoSplitContext}
5961
6318
  * @memberof InitiateVivaSessionDto
5962
6319
  */
5963
6320
  'splitContext'?: InitiateVivaSessionDtoSplitContext;
@@ -8227,91 +8584,6 @@ export interface LoyaltyTierDto {
8227
8584
  */
8228
8585
  'threshold': number;
8229
8586
  }
8230
- /**
8231
- *
8232
- * @export
8233
- * @interface LoyaltyUserDto
8234
- */
8235
- export interface LoyaltyUserDto {
8236
- /**
8237
- * The ID of the user
8238
- * @type {number}
8239
- * @memberof LoyaltyUserDto
8240
- */
8241
- 'id': number;
8242
- /**
8243
- * The landline phone number of the user
8244
- * @type {object}
8245
- * @memberof LoyaltyUserDto
8246
- */
8247
- 'phone': object | null;
8248
- /**
8249
- * The mobile phone number of the user
8250
- * @type {string}
8251
- * @memberof LoyaltyUserDto
8252
- */
8253
- 'cellphone': string;
8254
- /**
8255
- * The first name of the user
8256
- * @type {string}
8257
- * @memberof LoyaltyUserDto
8258
- */
8259
- 'name': string;
8260
- /**
8261
- * The last name of the user
8262
- * @type {string}
8263
- * @memberof LoyaltyUserDto
8264
- */
8265
- 'lastname': string;
8266
- /**
8267
- * The level of the user
8268
- * @type {number}
8269
- * @memberof LoyaltyUserDto
8270
- */
8271
- 'level': number;
8272
- /**
8273
- * Whether the user account is enabled
8274
- * @type {boolean}
8275
- * @memberof LoyaltyUserDto
8276
- */
8277
- 'enabled': boolean;
8278
- /**
8279
- * The address of the user
8280
- * @type {object}
8281
- * @memberof LoyaltyUserDto
8282
- */
8283
- 'address': object | null;
8284
- /**
8285
- * Loyalty points accumulated by the user
8286
- * @type {number}
8287
- * @memberof LoyaltyUserDto
8288
- */
8289
- 'loyalty_level_points': number;
8290
- /**
8291
- * Country code of the user
8292
- * @type {string}
8293
- * @memberof LoyaltyUserDto
8294
- */
8295
- 'country_code': string;
8296
- /**
8297
- * Number of orders placed by the user
8298
- * @type {number}
8299
- * @memberof LoyaltyUserDto
8300
- */
8301
- 'orders_count': number;
8302
- /**
8303
- * URL to the user\'s profile photo
8304
- * @type {object}
8305
- * @memberof LoyaltyUserDto
8306
- */
8307
- 'photo': object | null;
8308
- /**
8309
- * List of wallets associated with the user
8310
- * @type {Array<WalletDto>}
8311
- * @memberof LoyaltyUserDto
8312
- */
8313
- 'wallets': Array<WalletDto>;
8314
- }
8315
8587
  /**
8316
8588
  *
8317
8589
  * @export
@@ -15776,83 +16048,367 @@ export interface ReceiptDetailsDto {
15776
16048
  /**
15777
16049
  *
15778
16050
  * @export
15779
- * @interface RedeemGiftCardDto
16051
+ * @interface RecordManualPaymentResultDto
15780
16052
  */
15781
- export interface RedeemGiftCardDto {
16053
+ export interface RecordManualPaymentResultDto {
16054
+ /**
16055
+ * Whether the payment was recorded on the order.
16056
+ * @type {boolean}
16057
+ * @memberof RecordManualPaymentResultDto
16058
+ */
16059
+ 'success': boolean;
15782
16060
  /**
15783
16061
  *
16062
+ * @type {RecordManualStatus}
16063
+ * @memberof RecordManualPaymentResultDto
16064
+ */
16065
+ 'status': RecordManualStatus;
16066
+ /**
16067
+ * Id of the paymentEvent just written to the order (SUCCESS only).
15784
16068
  * @type {string}
15785
- * @memberof RedeemGiftCardDto
16069
+ * @memberof RecordManualPaymentResultDto
15786
16070
  */
15787
- 'giftCardNumber': string;
16071
+ 'transactionId'?: string;
15788
16072
  /**
15789
- *
15790
- * @type {number}
15791
- * @memberof RedeemGiftCardDto
16073
+ * Machine-readable failure code (ORDER_ALREADY_PAID | EXCEEDS_AVAILABLE | ...).
16074
+ * @type {string}
16075
+ * @memberof RecordManualPaymentResultDto
15792
16076
  */
15793
- 'amount': number;
16077
+ 'errorCode'?: string;
16078
+ /**
16079
+ * Human-readable failure message.
16080
+ * @type {string}
16081
+ * @memberof RecordManualPaymentResultDto
16082
+ */
16083
+ 'errorMessage'?: string;
15794
16084
  /**
15795
16085
  *
15796
- * @type {number}
15797
- * @memberof RedeemGiftCardDto
16086
+ * @type {RecordManualPaymentResultDtoOrder}
16087
+ * @memberof RecordManualPaymentResultDto
15798
16088
  */
15799
- 'orderingBusinessId': number;
16089
+ 'order': RecordManualPaymentResultDtoOrder;
15800
16090
  }
15801
16091
  /**
15802
- *
16092
+ * The full POS order after the attempt — same shape as getPosOrderById returns.
15803
16093
  * @export
15804
- * @interface RedeemGiftCardResponseDto
16094
+ * @interface RecordManualPaymentResultDtoOrder
15805
16095
  */
15806
- export interface RedeemGiftCardResponseDto {
16096
+ export interface RecordManualPaymentResultDtoOrder {
15807
16097
  /**
15808
16098
  *
15809
- * @type {boolean}
15810
- * @memberof RedeemGiftCardResponseDto
16099
+ * @type {string}
16100
+ * @memberof RecordManualPaymentResultDtoOrder
15811
16101
  */
15812
- 'success': boolean;
16102
+ 'id': string;
15813
16103
  /**
15814
16104
  *
15815
- * @type {number}
15816
- * @memberof RedeemGiftCardResponseDto
16105
+ * @type {string}
16106
+ * @memberof RecordManualPaymentResultDtoOrder
15817
16107
  */
15818
- 'errorCode'?: number | null;
16108
+ 'businessId': string;
15819
16109
  /**
15820
16110
  *
15821
- * @type {number}
15822
- * @memberof RedeemGiftCardResponseDto
16111
+ * @type {ProviderEnum}
16112
+ * @memberof RecordManualPaymentResultDtoOrder
15823
16113
  */
15824
- 'redeemedAmount'?: number;
16114
+ 'provider': ProviderEnum;
15825
16115
  /**
15826
16116
  *
15827
- * @type {number}
15828
- * @memberof RedeemGiftCardResponseDto
16117
+ * @type {CurrencyCode}
16118
+ * @memberof RecordManualPaymentResultDtoOrder
15829
16119
  */
15830
- 'remainingBalance'?: number;
16120
+ 'currency': CurrencyCode;
15831
16121
  /**
15832
16122
  *
15833
- * @type {string}
15834
- * @memberof RedeemGiftCardResponseDto
16123
+ * @type {PosBusinessDto}
16124
+ * @memberof RecordManualPaymentResultDtoOrder
15835
16125
  */
15836
- 'currency'?: string;
15837
- }
15838
- /**
15839
- *
15840
- * @export
15841
- * @interface RefreshTokenDto
15842
- */
15843
- export interface RefreshTokenDto {
16126
+ 'business': PosBusinessDto;
15844
16127
  /**
15845
- * JWT refresh token issued by the login endpoint
16128
+ *
15846
16129
  * @type {string}
15847
- * @memberof RefreshTokenDto
16130
+ * @memberof RecordManualPaymentResultDtoOrder
15848
16131
  */
15849
- 'refreshToken': string;
15850
- }
15851
- /**
15852
- *
15853
- * @export
15854
- * @interface RefreshTokenResponseDto
15855
- */
16132
+ 'createdAt': string;
16133
+ /**
16134
+ *
16135
+ * @type {OrderStatusEnum}
16136
+ * @memberof RecordManualPaymentResultDtoOrder
16137
+ */
16138
+ 'status': OrderStatusEnum;
16139
+ /**
16140
+ *
16141
+ * @type {string}
16142
+ * @memberof RecordManualPaymentResultDtoOrder
16143
+ */
16144
+ 'updatedAt': string;
16145
+ /**
16146
+ *
16147
+ * @type {string}
16148
+ * @memberof RecordManualPaymentResultDtoOrder
16149
+ */
16150
+ 'completedAt'?: string;
16151
+ /**
16152
+ *
16153
+ * @type {string}
16154
+ * @memberof RecordManualPaymentResultDtoOrder
16155
+ */
16156
+ 'orderNumber': string;
16157
+ /**
16158
+ *
16159
+ * @type {CheckoutModelEnum}
16160
+ * @memberof RecordManualPaymentResultDtoOrder
16161
+ */
16162
+ 'checkoutModel': CheckoutModelEnum;
16163
+ /**
16164
+ *
16165
+ * @type {OrderTypePOS}
16166
+ * @memberof RecordManualPaymentResultDtoOrder
16167
+ */
16168
+ 'orderType': OrderTypePOS;
16169
+ /**
16170
+ *
16171
+ * @type {string}
16172
+ * @memberof RecordManualPaymentResultDtoOrder
16173
+ */
16174
+ 'spotNumber': string | null;
16175
+ /**
16176
+ * ID of the floor plan dining table linked to this order
16177
+ * @type {string}
16178
+ * @memberof RecordManualPaymentResultDtoOrder
16179
+ */
16180
+ 'tableId'?: string | null;
16181
+ /**
16182
+ *
16183
+ * @type {string}
16184
+ * @memberof RecordManualPaymentResultDtoOrder
16185
+ */
16186
+ 'comments': string | null;
16187
+ /**
16188
+ *
16189
+ * @type {PosOrderDtoTableService}
16190
+ * @memberof RecordManualPaymentResultDtoOrder
16191
+ */
16192
+ 'tableService'?: PosOrderDtoTableService | null;
16193
+ /**
16194
+ *
16195
+ * @type {PosOrderDtoEqualSplitState}
16196
+ * @memberof RecordManualPaymentResultDtoOrder
16197
+ */
16198
+ 'equalSplitState'?: PosOrderDtoEqualSplitState | null;
16199
+ /**
16200
+ * Id of the staff in shift
16201
+ * @type {string}
16202
+ * @memberof RecordManualPaymentResultDtoOrder
16203
+ */
16204
+ 'staffId': string | null;
16205
+ /**
16206
+ * Id of the shift
16207
+ * @type {string}
16208
+ * @memberof RecordManualPaymentResultDtoOrder
16209
+ */
16210
+ 'shiftId': string | null;
16211
+ /**
16212
+ *
16213
+ * @type {OrderRefundStatus}
16214
+ * @memberof RecordManualPaymentResultDtoOrder
16215
+ */
16216
+ 'orderRefundStatus': OrderRefundStatus;
16217
+ /**
16218
+ *
16219
+ * @type {LocatorType}
16220
+ * @memberof RecordManualPaymentResultDtoOrder
16221
+ */
16222
+ 'locatorType': LocatorType;
16223
+ /**
16224
+ *
16225
+ * @type {PosOrderPriceDto}
16226
+ * @memberof RecordManualPaymentResultDtoOrder
16227
+ */
16228
+ 'basketPrice': PosOrderPriceDto;
16229
+ /**
16230
+ *
16231
+ * @type {Array<PosOrderItemDto>}
16232
+ * @memberof RecordManualPaymentResultDtoOrder
16233
+ */
16234
+ 'items': Array<PosOrderItemDto>;
16235
+ /**
16236
+ *
16237
+ * @type {Array<PosDiscountDto>}
16238
+ * @memberof RecordManualPaymentResultDtoOrder
16239
+ */
16240
+ 'discounts': Array<PosDiscountDto>;
16241
+ /**
16242
+ *
16243
+ * @type {PosCustomerDto}
16244
+ * @memberof RecordManualPaymentResultDtoOrder
16245
+ */
16246
+ 'customer': PosCustomerDto | null;
16247
+ /**
16248
+ *
16249
+ * @type {Array<TransactionDto>}
16250
+ * @memberof RecordManualPaymentResultDtoOrder
16251
+ */
16252
+ 'paymentEvents': Array<TransactionDto>;
16253
+ /**
16254
+ *
16255
+ * @type {Array<PaymentRefundDto>}
16256
+ * @memberof RecordManualPaymentResultDtoOrder
16257
+ */
16258
+ 'refunds'?: Array<PaymentRefundDto>;
16259
+ /**
16260
+ * Data version code
16261
+ * @type {string}
16262
+ * @memberof RecordManualPaymentResultDtoOrder
16263
+ */
16264
+ 'version': string;
16265
+ /**
16266
+ *
16267
+ * @type {OrderFormat}
16268
+ * @memberof RecordManualPaymentResultDtoOrder
16269
+ */
16270
+ 'orderFormat'?: OrderFormat;
16271
+ /**
16272
+ * The ID of the loyalty program active during this order.
16273
+ * @type {string}
16274
+ * @memberof RecordManualPaymentResultDtoOrder
16275
+ */
16276
+ 'loyaltyProgramId': string | null;
16277
+ /**
16278
+ * An array of loyalty transaction IDs related to this order.
16279
+ * @type {Array<string>}
16280
+ * @memberof RecordManualPaymentResultDtoOrder
16281
+ */
16282
+ 'loyaltyTransactionIds': Array<string>;
16283
+ /**
16284
+ *
16285
+ * @type {PosOrderDtoTaxSummary}
16286
+ * @memberof RecordManualPaymentResultDtoOrder
16287
+ */
16288
+ 'taxSummary'?: PosOrderDtoTaxSummary;
16289
+ /**
16290
+ * Name of staff member who created the order
16291
+ * @type {string}
16292
+ * @memberof RecordManualPaymentResultDtoOrder
16293
+ */
16294
+ 'staffName'?: string | null;
16295
+ /**
16296
+ *
16297
+ * @type {PosOrderDtoInvoiceCompany}
16298
+ * @memberof RecordManualPaymentResultDtoOrder
16299
+ */
16300
+ 'invoiceCompany'?: PosOrderDtoInvoiceCompany | null;
16301
+ /**
16302
+ *
16303
+ * @type {object}
16304
+ * @memberof RecordManualPaymentResultDtoOrder
16305
+ */
16306
+ 'lastPaymentError'?: object;
16307
+ /**
16308
+ *
16309
+ * @type {Array<OrderFeeDto>}
16310
+ * @memberof RecordManualPaymentResultDtoOrder
16311
+ */
16312
+ 'fees'?: Array<OrderFeeDto> | null;
16313
+ /**
16314
+ * Loyalty user ID associated with this order
16315
+ * @type {number}
16316
+ * @memberof RecordManualPaymentResultDtoOrder
16317
+ */
16318
+ 'targetUserId'?: number;
16319
+ }
16320
+ /**
16321
+ *
16322
+ * @export
16323
+ * @enum {string}
16324
+ */
16325
+ export declare const RecordManualStatus: {
16326
+ readonly Success: "SUCCESS";
16327
+ readonly AlreadyPaid: "ALREADY_PAID";
16328
+ readonly Rejected: "REJECTED";
16329
+ readonly Failed: "FAILED";
16330
+ };
16331
+ export type RecordManualStatus = typeof RecordManualStatus[keyof typeof RecordManualStatus];
16332
+ /**
16333
+ *
16334
+ * @export
16335
+ * @interface RedeemGiftCardDto
16336
+ */
16337
+ export interface RedeemGiftCardDto {
16338
+ /**
16339
+ *
16340
+ * @type {string}
16341
+ * @memberof RedeemGiftCardDto
16342
+ */
16343
+ 'giftCardNumber': string;
16344
+ /**
16345
+ *
16346
+ * @type {number}
16347
+ * @memberof RedeemGiftCardDto
16348
+ */
16349
+ 'amount': number;
16350
+ /**
16351
+ *
16352
+ * @type {number}
16353
+ * @memberof RedeemGiftCardDto
16354
+ */
16355
+ 'orderingBusinessId': number;
16356
+ }
16357
+ /**
16358
+ *
16359
+ * @export
16360
+ * @interface RedeemGiftCardResponseDto
16361
+ */
16362
+ export interface RedeemGiftCardResponseDto {
16363
+ /**
16364
+ *
16365
+ * @type {boolean}
16366
+ * @memberof RedeemGiftCardResponseDto
16367
+ */
16368
+ 'success': boolean;
16369
+ /**
16370
+ *
16371
+ * @type {number}
16372
+ * @memberof RedeemGiftCardResponseDto
16373
+ */
16374
+ 'errorCode'?: number | null;
16375
+ /**
16376
+ *
16377
+ * @type {number}
16378
+ * @memberof RedeemGiftCardResponseDto
16379
+ */
16380
+ 'redeemedAmount'?: number;
16381
+ /**
16382
+ *
16383
+ * @type {number}
16384
+ * @memberof RedeemGiftCardResponseDto
16385
+ */
16386
+ 'remainingBalance'?: number;
16387
+ /**
16388
+ *
16389
+ * @type {string}
16390
+ * @memberof RedeemGiftCardResponseDto
16391
+ */
16392
+ 'currency'?: string;
16393
+ }
16394
+ /**
16395
+ *
16396
+ * @export
16397
+ * @interface RefreshTokenDto
16398
+ */
16399
+ export interface RefreshTokenDto {
16400
+ /**
16401
+ * JWT refresh token issued by the login endpoint
16402
+ * @type {string}
16403
+ * @memberof RefreshTokenDto
16404
+ */
16405
+ 'refreshToken': string;
16406
+ }
16407
+ /**
16408
+ *
16409
+ * @export
16410
+ * @interface RefreshTokenResponseDto
16411
+ */
15856
16412
  export interface RefreshTokenResponseDto {
15857
16413
  /**
15858
16414
  * Message indicating that new access and refresh tokens have been generated
@@ -16555,26 +17111,7 @@ export interface ReverseSessionDto {
16555
17111
  /**
16556
17112
  *
16557
17113
  * @export
16558
- * @interface RewardPointPayload
16559
- */
16560
- export interface RewardPointPayload {
16561
- /**
16562
- * The amount of credit to add (positive value) or deduct (negative value). Examples: \"+20\" to add 20 points, \"-20\" to deduct 20 points, \"+100\" for large additions, \"-5\" for small deductions.
16563
- * @type {string}
16564
- * @memberof RewardPointPayload
16565
- */
16566
- 'amount': string;
16567
- /**
16568
- * The business ID associated with the reward points
16569
- * @type {number}
16570
- * @memberof RewardPointPayload
16571
- */
16572
- 'businessId': number;
16573
- }
16574
- /**
16575
- *
16576
- * @export
16577
- * @enum {string}
17114
+ * @enum {string}
16578
17115
  */
16579
17116
  export declare const SYNCKEY: {
16580
17117
  readonly Menu: "MENU";
@@ -20483,19 +21020,6 @@ export interface UserInfoResponseDto {
20483
21020
  */
20484
21021
  'orderingAccessToken': string;
20485
21022
  }
20486
- /**
20487
- *
20488
- * @export
20489
- * @interface UserValidation
20490
- */
20491
- export interface UserValidation {
20492
- /**
20493
- *
20494
- * @type {string}
20495
- * @memberof UserValidation
20496
- */
20497
- 'phone': string;
20498
- }
20499
21023
  /**
20500
21024
  *
20501
21025
  * @export
@@ -21989,6 +22513,37 @@ export declare const EventTypeIdEnum: {
21989
22513
  readonly NUMBER_8194: 8194;
21990
22514
  };
21991
22515
  export type EventTypeIdEnum = typeof EventTypeIdEnum[keyof typeof EventTypeIdEnum];
22516
+ /**
22517
+ *
22518
+ * @export
22519
+ * @interface VoidManualSessionDto
22520
+ */
22521
+ export interface VoidManualSessionDto {
22522
+ /**
22523
+ * The order paymentEvent referenceId (sessionId) to reverse. No payment session is created for manual payments, so the order is located directly.
22524
+ * @type {string}
22525
+ * @memberof VoidManualSessionDto
22526
+ */
22527
+ 'sessionId': string;
22528
+ /**
22529
+ * The internal business ID.
22530
+ * @type {number}
22531
+ * @memberof VoidManualSessionDto
22532
+ */
22533
+ 'businessId': number;
22534
+ /**
22535
+ * The POS order ID the paymentEvent lives on.
22536
+ * @type {string}
22537
+ * @memberof VoidManualSessionDto
22538
+ */
22539
+ 'orderId': string;
22540
+ /**
22541
+ * Cash handling config forwarded from the client. When enabled the backend additionally records a REFUND cash log for the reversal.
22542
+ * @type {object}
22543
+ * @memberof VoidManualSessionDto
22544
+ */
22545
+ 'cashConfig'?: object;
22546
+ }
21992
22547
  /**
21993
22548
  *
21994
22549
  * @export
@@ -22027,61 +22582,7 @@ export interface WalletCatalogDto {
22027
22582
  */
22028
22583
  export interface WalletDto {
22029
22584
  /**
22030
- * The ID of the wallet
22031
- * @type {number}
22032
- * @memberof WalletDto
22033
- */
22034
- 'id': number;
22035
- /**
22036
- * Unique code for the wallet
22037
- * @type {string}
22038
- * @memberof WalletDto
22039
- */
22040
- 'code': string;
22041
- /**
22042
- * The ID of the user who owns this wallet
22043
- * @type {number}
22044
- * @memberof WalletDto
22045
- */
22046
- 'user_id': number;
22047
- /**
22048
- * Current balance in the wallet
22049
- * @type {number}
22050
- * @memberof WalletDto
22051
- */
22052
- 'balance': number;
22053
- /**
22054
- * Whether the wallet is locked
22055
- * @type {boolean}
22056
- * @memberof WalletDto
22057
- */
22058
- 'locked': boolean;
22059
- /**
22060
- * Reason for locking the wallet, if applicable
22061
- * @type {object}
22062
- * @memberof WalletDto
22063
- */
22064
- 'locked_reason': object | null;
22065
- /**
22066
- * Timestamp when the wallet was locked, if applicable
22067
- * @type {object}
22068
- * @memberof WalletDto
22069
- */
22070
- 'locked_at': object | null;
22071
- /**
22072
- * Timestamp when the wallet was created
22073
- * @type {string}
22074
- * @memberof WalletDto
22075
- */
22076
- 'created_at': string;
22077
- /**
22078
- * Timestamp when the wallet was last updated
22079
- * @type {string}
22080
- * @memberof WalletDto
22081
- */
22082
- 'updated_at': string;
22083
- /**
22084
- * Type of wallet (e.g., cash, credit_point)
22585
+ * Wallet type
22085
22586
  * @type {string}
22086
22587
  * @memberof WalletDto
22087
22588
  */
@@ -22102,985 +22603,150 @@ export interface WalletItemDto {
22102
22603
  /**
22103
22604
  *
22104
22605
  * @type {string}
22105
- * @memberof WalletItemDto
22106
- */
22107
- 'status': StatusEnum;
22108
- /**
22109
- *
22110
- * @type {object}
22111
- * @memberof WalletItemDto
22112
- */
22113
- 'expires_at': object | null;
22114
- /**
22115
- *
22116
- * @type {WalletCatalogDto}
22117
- * @memberof WalletItemDto
22118
- */
22119
- 'catalog': WalletCatalogDto;
22120
- }
22121
- export declare const StatusEnum: {
22122
- readonly Claimed: "Claimed";
22123
- readonly Redeemed: "Redeemed";
22124
- };
22125
- export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
22126
- /**
22127
- *
22128
- * @export
22129
- * @interface WechatPayDetailsDto
22130
- */
22131
- export interface WechatPayDetailsDto {
22132
- /**
22133
- * Payment location
22134
- * @type {string}
22135
- * @memberof WechatPayDetailsDto
22136
- */
22137
- 'location'?: string | null;
22138
- /**
22139
- * Reader identifier
22140
- * @type {string}
22141
- * @memberof WechatPayDetailsDto
22142
- */
22143
- 'reader'?: string | null;
22144
- /**
22145
- * WeChat Pay transaction ID
22146
- * @type {string}
22147
- * @memberof WechatPayDetailsDto
22148
- */
22149
- 'transactionId'?: string | null;
22150
- }
22151
- /**
22152
- *
22153
- * @export
22154
- * @interface WorldlineAmountsRequestDto
22155
- */
22156
- export interface WorldlineAmountsRequestDto {
22157
- /**
22158
- * ISO 4217 currency symbol
22159
- * @type {string}
22160
- * @memberof WorldlineAmountsRequestDto
22161
- */
22162
- 'currencySymbol': string;
22163
- /**
22164
- * Base amount in the lowest unit of the currency
22165
- * @type {number}
22166
- * @memberof WorldlineAmountsRequestDto
22167
- */
22168
- 'base': number;
22169
- /**
22170
- * Optional tip amount in the lowest unit of the currency
22171
- * @type {number}
22172
- * @memberof WorldlineAmountsRequestDto
22173
- */
22174
- 'tip'?: number;
22175
- }
22176
- /**
22177
- *
22178
- * @export
22179
- * @interface WorldlineAmountsResponseDto
22180
- */
22181
- export interface WorldlineAmountsResponseDto {
22182
- /**
22183
- *
22184
- * @type {WorldlineAmountsResponseDtoCurrency}
22185
- * @memberof WorldlineAmountsResponseDto
22186
- */
22187
- 'currency': WorldlineAmountsResponseDtoCurrency;
22188
- /**
22189
- * Base amount
22190
- * @type {number}
22191
- * @memberof WorldlineAmountsResponseDto
22192
- */
22193
- 'base': number;
22194
- /**
22195
- * Total amount
22196
- * @type {number}
22197
- * @memberof WorldlineAmountsResponseDto
22198
- */
22199
- 'total': number;
22200
- /**
22201
- * Tip amount
22202
- * @type {number}
22203
- * @memberof WorldlineAmountsResponseDto
22204
- */
22205
- 'tip'?: number;
22206
- }
22207
- /**
22208
- * Currency information
22209
- * @export
22210
- * @interface WorldlineAmountsResponseDtoCurrency
22211
- */
22212
- export interface WorldlineAmountsResponseDtoCurrency {
22213
- /**
22214
- * ISO 4217 numeric currency code
22215
- * @type {string}
22216
- * @memberof WorldlineAmountsResponseDtoCurrency
22217
- */
22218
- 'code': string;
22219
- /**
22220
- * ISO 4217 currency symbol
22221
- * @type {string}
22222
- * @memberof WorldlineAmountsResponseDtoCurrency
22223
- */
22224
- 'symbol': string;
22225
- /**
22226
- * Currency exponent
22227
- * @type {number}
22228
- * @memberof WorldlineAmountsResponseDtoCurrency
22229
- */
22230
- 'exponent': number;
22231
- }
22232
- /**
22233
- *
22234
- * @export
22235
- * @interface WorldlineAsyncResponseDto
22236
- */
22237
- export interface WorldlineAsyncResponseDto {
22238
- /**
22239
- * Business operation identifier generated by the POS
22240
- * @type {string}
22241
- * @memberof WorldlineAsyncResponseDto
22242
- */
22243
- 'operationId': string;
22244
- }
22245
- /**
22246
- *
22247
- * @export
22248
- * @enum {string}
22249
- */
22250
- export declare const WorldlineAuthorizationMethod: {
22251
- readonly Online: "Online";
22252
- readonly Offline: "Offline";
22253
- };
22254
- export type WorldlineAuthorizationMethod = typeof WorldlineAuthorizationMethod[keyof typeof WorldlineAuthorizationMethod];
22255
- /**
22256
- *
22257
- * @export
22258
- * @enum {string}
22259
- */
22260
- export declare const WorldlineAuthorizationResponder: {
22261
- readonly Manual: "Manual";
22262
- readonly Unknown: "Unknown";
22263
- readonly Local: "Local";
22264
- readonly Base24: "Base24";
22265
- readonly Issuer: "Issuer";
22266
- readonly Network: "Network";
22267
- readonly Acquirer: "Acquirer";
22268
- readonly Other: "Other";
22269
- };
22270
- export type WorldlineAuthorizationResponder = typeof WorldlineAuthorizationResponder[keyof typeof WorldlineAuthorizationResponder];
22271
- /**
22272
- *
22273
- * @export
22274
- * @interface WorldlineCurrencyDataDto
22275
- */
22276
- export interface WorldlineCurrencyDataDto {
22277
- /**
22278
- * ISO 4217 numeric currency code
22279
- * @type {string}
22280
- * @memberof WorldlineCurrencyDataDto
22281
- */
22282
- 'code': string;
22283
- /**
22284
- * ISO 4217 currency symbol
22285
- * @type {string}
22286
- * @memberof WorldlineCurrencyDataDto
22287
- */
22288
- 'symbol': string;
22289
- /**
22290
- * Currency exponent
22291
- * @type {number}
22292
- * @memberof WorldlineCurrencyDataDto
22293
- */
22294
- 'exponent': number;
22295
- }
22296
- /**
22297
- *
22298
- * @export
22299
- * @interface WorldlineDeviceInformationResponseDto
22300
- */
22301
- export interface WorldlineDeviceInformationResponseDto {
22302
- /**
22303
- *
22304
- * @type {WorldlineDeviceInformationResponseDtoEnabledFeatures}
22305
- * @memberof WorldlineDeviceInformationResponseDto
22306
- */
22307
- 'enabledFeatures'?: WorldlineDeviceInformationResponseDtoEnabledFeatures;
22308
- /**
22309
- *
22310
- * @type {WorldlinePaymentResponseDtoMerchant}
22311
- * @memberof WorldlineDeviceInformationResponseDto
22312
- */
22313
- 'merchant'?: WorldlinePaymentResponseDtoMerchant;
22314
- /**
22315
- *
22316
- * @type {WorldlineDeviceInformationResponseDtoOngoingOperation}
22317
- * @memberof WorldlineDeviceInformationResponseDto
22318
- */
22319
- 'ongoingOperation'?: WorldlineDeviceInformationResponseDtoOngoingOperation;
22320
- /**
22321
- *
22322
- * @type {WorldlinePaymentResponseDtoTerminal}
22323
- * @memberof WorldlineDeviceInformationResponseDto
22324
- */
22325
- 'terminal'?: WorldlinePaymentResponseDtoTerminal;
22326
- }
22327
- /**
22328
- * Enabled terminal features
22329
- * @export
22330
- * @interface WorldlineDeviceInformationResponseDtoEnabledFeatures
22331
- */
22332
- export interface WorldlineDeviceInformationResponseDtoEnabledFeatures {
22333
- /**
22334
- * Cashier support enabled
22335
- * @type {boolean}
22336
- * @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
22337
- */
22338
- 'cashier'?: boolean;
22339
- /**
22340
- * DCC enabled
22341
- * @type {boolean}
22342
- * @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
22343
- */
22344
- 'dcc'?: boolean;
22345
- /**
22346
- * Tip enabled
22347
- * @type {boolean}
22348
- * @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
22349
- */
22350
- 'tip'?: boolean;
22351
- }
22352
- /**
22353
- * Ongoing terminal operation
22354
- * @export
22355
- * @interface WorldlineDeviceInformationResponseDtoOngoingOperation
22356
- */
22357
- export interface WorldlineDeviceInformationResponseDtoOngoingOperation {
22358
- /**
22359
- * Current operation identifier
22360
- * @type {string}
22361
- * @memberof WorldlineDeviceInformationResponseDtoOngoingOperation
22362
- */
22363
- 'operationId': string;
22364
- /**
22365
- * Current ongoing operation type
22366
- * @type {string}
22367
- * @memberof WorldlineDeviceInformationResponseDtoOngoingOperation
22368
- */
22369
- 'type': string;
22370
- }
22371
- /**
22372
- *
22373
- * @export
22374
- * @interface WorldlineDialogDto
22375
- */
22376
- export interface WorldlineDialogDto {
22377
- /**
22378
- * Dialog title
22379
- * @type {string}
22380
- * @memberof WorldlineDialogDto
22381
- */
22382
- 'title'?: string;
22383
- /**
22384
- * Dialog text
22385
- * @type {string}
22386
- * @memberof WorldlineDialogDto
22387
- */
22388
- 'text'?: string;
22389
- /**
22390
- * Dialog options
22391
- * @type {object}
22392
- * @memberof WorldlineDialogDto
22393
- */
22394
- 'options'?: object;
22395
- }
22396
- /**
22397
- *
22398
- * @export
22399
- * @interface WorldlineEmbeddedReceiptDto
22400
- */
22401
- export interface WorldlineEmbeddedReceiptDto {
22402
- /**
22403
- * Receipt header
22404
- * @type {string}
22405
- * @memberof WorldlineEmbeddedReceiptDto
22406
- */
22407
- 'header'?: string;
22408
- /**
22409
- * Receipt content
22410
- * @type {string}
22411
- * @memberof WorldlineEmbeddedReceiptDto
22412
- */
22413
- 'content'?: string;
22414
- /**
22415
- * Receipt footer
22416
- * @type {string}
22417
- * @memberof WorldlineEmbeddedReceiptDto
22418
- */
22419
- 'footer'?: string;
22420
- }
22421
- /**
22422
- *
22423
- * @export
22424
- * @interface WorldlineEnabledFeaturesDto
22425
- */
22426
- export interface WorldlineEnabledFeaturesDto {
22427
- /**
22428
- * Cashier support enabled
22429
- * @type {boolean}
22430
- * @memberof WorldlineEnabledFeaturesDto
22431
- */
22432
- 'cashier'?: boolean;
22433
- /**
22434
- * DCC enabled
22435
- * @type {boolean}
22436
- * @memberof WorldlineEnabledFeaturesDto
22437
- */
22438
- 'dcc'?: boolean;
22439
- /**
22440
- * Tip enabled
22441
- * @type {boolean}
22442
- * @memberof WorldlineEnabledFeaturesDto
22443
- */
22444
- 'tip'?: boolean;
22445
- }
22446
- /**
22447
- *
22448
- * @export
22449
- * @enum {string}
22450
- */
22451
- export declare const WorldlineEntryMode: {
22452
- readonly Keyed: "Keyed";
22453
- readonly Magstripe: "Magstripe";
22454
- readonly Chip: "Chip";
22455
- readonly Contactless: "Contactless";
22456
- };
22457
- export type WorldlineEntryMode = typeof WorldlineEntryMode[keyof typeof WorldlineEntryMode];
22458
- /**
22459
- *
22460
- * @export
22461
- * @interface WorldlineErrorResponseDto
22462
- */
22463
- export interface WorldlineErrorResponseDto {
22464
- /**
22465
- * Error description
22466
- * @type {string}
22467
- * @memberof WorldlineErrorResponseDto
22468
- */
22469
- 'description': string;
22470
- /**
22471
- * Validation or processing errors
22472
- * @type {Array<string>}
22473
- * @memberof WorldlineErrorResponseDto
22474
- */
22475
- 'errors'?: Array<string>;
22476
- }
22477
- /**
22478
- *
22479
- * @export
22480
- * @interface WorldlineEventEnvelopeDto
22481
- */
22482
- export interface WorldlineEventEnvelopeDto {
22483
- /**
22484
- * Unique event identifier
22485
- * @type {string}
22486
- * @memberof WorldlineEventEnvelopeDto
22487
- */
22488
- 'id': string;
22489
- /**
22490
- * Timestamp when the event was created
22491
- * @type {string}
22492
- * @memberof WorldlineEventEnvelopeDto
22493
- */
22494
- 'createdAt': string;
22495
- /**
22496
- *
22497
- * @type {WorldlineEventType}
22498
- * @memberof WorldlineEventEnvelopeDto
22499
- */
22500
- 'type': WorldlineEventType;
22501
- /**
22502
- * Business operation identifier
22503
- * @type {string}
22504
- * @memberof WorldlineEventEnvelopeDto
22505
- */
22506
- 'operationId'?: string;
22507
- /**
22508
- *
22509
- * @type {WorldlineEventEnvelopeDtoData}
22510
- * @memberof WorldlineEventEnvelopeDto
22511
- */
22512
- 'data'?: WorldlineEventEnvelopeDtoData;
22513
- }
22514
- /**
22515
- * @type WorldlineEventEnvelopeDtoData
22516
- * Event payload
22517
- * @export
22518
- */
22519
- export type WorldlineEventEnvelopeDtoData = WorldlineDialogDto | WorldlinePaymentResponseDto;
22520
- /**
22521
- *
22522
- * @export
22523
- * @enum {string}
22524
- */
22525
- export declare const WorldlineEventType: {
22526
- readonly PaymentCompleted: "PaymentCompleted";
22527
- readonly RefundCompleted: "RefundCompleted";
22528
- readonly CaptureCompleted: "CaptureCompleted";
22529
- readonly ReversalCompleted: "ReversalCompleted";
22530
- readonly ReadCardCompleted: "ReadCardCompleted";
22531
- readonly PrintCompleted: "PrintCompleted";
22532
- readonly DialogShown: "DialogShown";
22533
- };
22534
- export type WorldlineEventType = typeof WorldlineEventType[keyof typeof WorldlineEventType];
22535
- /**
22536
- *
22537
- * @export
22538
- * @interface WorldlineMerchantDto
22539
- */
22540
- export interface WorldlineMerchantDto {
22541
- /**
22542
- * Merchant identifier
22543
- * @type {string}
22544
- * @memberof WorldlineMerchantDto
22545
- */
22546
- 'id'?: string;
22547
- /**
22548
- * Merchant display name
22549
- * @type {string}
22550
- * @memberof WorldlineMerchantDto
22551
- */
22552
- 'name': string;
22553
- /**
22554
- * Merchant street address
22555
- * @type {string}
22556
- * @memberof WorldlineMerchantDto
22557
- */
22558
- 'address'?: string;
22559
- /**
22560
- * Postal code and city
22561
- * @type {string}
22562
- * @memberof WorldlineMerchantDto
22563
- */
22564
- 'city'?: string;
22565
- /**
22566
- * Organization number
22567
- * @type {string}
22568
- * @memberof WorldlineMerchantDto
22569
- */
22570
- 'organizationNumber'?: string;
22571
- /**
22572
- * Phone number
22573
- * @type {string}
22574
- * @memberof WorldlineMerchantDto
22575
- */
22576
- 'phoneNumber'?: string;
22577
- }
22578
- /**
22579
- *
22580
- * @export
22581
- * @interface WorldlineOngoingOperationDto
22582
- */
22583
- export interface WorldlineOngoingOperationDto {
22584
- /**
22585
- * Current operation identifier
22586
- * @type {string}
22587
- * @memberof WorldlineOngoingOperationDto
22588
- */
22589
- 'operationId': string;
22590
- /**
22591
- * Current ongoing operation type
22592
- * @type {string}
22593
- * @memberof WorldlineOngoingOperationDto
22594
- */
22595
- 'type': string;
22596
- }
22597
- /**
22598
- *
22599
- * @export
22600
- * @enum {string}
22601
- */
22602
- export declare const WorldlineOutcomeDescription: {
22603
- readonly None: "None";
22604
- readonly Aborted: "Aborted";
22605
- readonly UserCancel: "UserCancel";
22606
- readonly UserTimeout: "UserTimeout";
22607
- readonly CommunicationError: "CommunicationError";
22608
- readonly GenericError: "GenericError";
22609
- };
22610
- export type WorldlineOutcomeDescription = typeof WorldlineOutcomeDescription[keyof typeof WorldlineOutcomeDescription];
22611
- /**
22612
- *
22613
- * @export
22614
- * @interface WorldlinePaymentRequestDataDto
22615
- */
22616
- export interface WorldlinePaymentRequestDataDto {
22617
- /**
22618
- * Business operation identifier generated by the POS
22619
- * @type {string}
22620
- * @memberof WorldlinePaymentRequestDataDto
22621
- */
22622
- 'operationId': string;
22623
- /**
22624
- *
22625
- * @type {WorldlinePaymentRequestDataDtoAmounts}
22626
- * @memberof WorldlinePaymentRequestDataDto
22627
- */
22628
- 'amounts': WorldlinePaymentRequestDataDtoAmounts;
22629
- /**
22630
- * Cashier identifier
22631
- * @type {string}
22632
- * @memberof WorldlinePaymentRequestDataDto
22633
- */
22634
- 'cashierId'?: string;
22635
- /**
22636
- * POS custom data
22637
- * @type {object}
22638
- * @memberof WorldlinePaymentRequestDataDto
22639
- */
22640
- 'customData'?: object;
22641
- /**
22642
- * Whether the terminal should print a receipt
22643
- * @type {boolean}
22644
- * @memberof WorldlinePaymentRequestDataDto
22645
- */
22646
- 'printReceipt'?: boolean;
22647
- /**
22648
- * Whether manual PAN entry is allowed
22649
- * @type {boolean}
22650
- * @memberof WorldlinePaymentRequestDataDto
22651
- */
22652
- 'manualEntry'?: boolean;
22653
- /**
22654
- * Receipt width in characters
22655
- * @type {number}
22656
- * @memberof WorldlinePaymentRequestDataDto
22657
- */
22658
- 'receiptWidth'?: number;
22659
- }
22660
- /**
22661
- * Payment amounts
22662
- * @export
22663
- * @interface WorldlinePaymentRequestDataDtoAmounts
22664
- */
22665
- export interface WorldlinePaymentRequestDataDtoAmounts {
22666
- /**
22667
- * ISO 4217 currency symbol
22668
- * @type {string}
22669
- * @memberof WorldlinePaymentRequestDataDtoAmounts
22670
- */
22671
- 'currencySymbol': string;
22672
- /**
22673
- * Base amount in the lowest unit of the currency
22674
- * @type {number}
22675
- * @memberof WorldlinePaymentRequestDataDtoAmounts
22676
- */
22677
- 'base': number;
22678
- /**
22679
- * Optional tip amount in the lowest unit of the currency
22680
- * @type {number}
22681
- * @memberof WorldlinePaymentRequestDataDtoAmounts
22682
- */
22683
- 'tip'?: number;
22684
- }
22685
- /**
22686
- *
22687
- * @export
22688
- * @interface WorldlinePaymentResponseDto
22689
- */
22690
- export interface WorldlinePaymentResponseDto {
22691
- /**
22692
- *
22693
- * @type {WorldlinePaymentResponseDtoAmounts}
22694
- * @memberof WorldlinePaymentResponseDto
22695
- */
22696
- 'amounts'?: WorldlinePaymentResponseDtoAmounts;
22697
- /**
22698
- * Approval code
22699
- * @type {string}
22700
- * @memberof WorldlinePaymentResponseDto
22701
- */
22702
- 'approvalCode'?: string;
22703
- /**
22704
- *
22705
- * @type {WorldlineAuthorizationMethod}
22706
- * @memberof WorldlinePaymentResponseDto
22707
- */
22708
- 'authorizationMethod'?: WorldlineAuthorizationMethod;
22709
- /**
22710
- *
22711
- * @type {WorldlineAuthorizationResponder}
22712
- * @memberof WorldlinePaymentResponseDto
22713
- */
22714
- 'authorizationResponder'?: WorldlineAuthorizationResponder;
22715
- /**
22716
- * Batch number
22717
- * @type {string}
22718
- * @memberof WorldlinePaymentResponseDto
22719
- */
22720
- 'batchNumber'?: string;
22721
- /**
22722
- * Card product name
22723
- * @type {string}
22724
- * @memberof WorldlinePaymentResponseDto
22725
- */
22726
- 'cardProductName'?: string;
22727
- /**
22728
- * Cashier identifier
22729
- * @type {string}
22730
- * @memberof WorldlinePaymentResponseDto
22731
- */
22732
- 'cashierId'?: string;
22733
- /**
22734
- * POS custom data
22735
- * @type {object}
22736
- * @memberof WorldlinePaymentResponseDto
22737
- */
22738
- 'customData'?: object;
22739
- /**
22740
- *
22741
- * @type {WorldlineEntryMode}
22742
- * @memberof WorldlinePaymentResponseDto
22743
- */
22744
- 'entryMode'?: WorldlineEntryMode;
22745
- /**
22746
- * Financial institution
22747
- * @type {string}
22748
- * @memberof WorldlinePaymentResponseDto
22749
- */
22750
- 'financialInstitution'?: string;
22751
- /**
22752
- * Masked PAN
22753
- * @type {string}
22754
- * @memberof WorldlinePaymentResponseDto
22755
- */
22756
- 'maskedPan'?: string;
22757
- /**
22758
- *
22759
- * @type {WorldlinePaymentResponseDtoMerchant}
22760
- * @memberof WorldlinePaymentResponseDto
22761
- */
22762
- 'merchant'?: WorldlinePaymentResponseDtoMerchant;
22763
- /**
22764
- *
22765
- * @type {WorldlinePaymentResponseDtoReceipt}
22766
- * @memberof WorldlinePaymentResponseDto
22767
- */
22768
- 'receipt'?: WorldlinePaymentResponseDtoReceipt;
22769
- /**
22770
- * Receipt number
22771
- * @type {string}
22772
- * @memberof WorldlinePaymentResponseDto
22773
- */
22774
- 'receiptNumber'?: string;
22775
- /**
22776
- * Action code
22777
- * @type {string}
22778
- * @memberof WorldlinePaymentResponseDto
22779
- */
22780
- 'actionCode'?: string;
22781
- /**
22782
- *
22783
- * @type {WorldlinePaymentResponseDtoTerminal}
22784
- * @memberof WorldlinePaymentResponseDto
22785
- */
22786
- 'terminal'?: WorldlinePaymentResponseDtoTerminal;
22787
- /**
22788
- * Terminal reference number
22789
- * @type {string}
22790
- * @memberof WorldlinePaymentResponseDto
22791
- */
22792
- 'terminalRrn'?: string;
22793
- /**
22794
- * Transaction timestamp
22795
- * @type {string}
22796
- * @memberof WorldlinePaymentResponseDto
22797
- */
22798
- 'timestamp'?: string;
22799
- /**
22800
- * Worldline transaction identifier
22801
- * @type {string}
22802
- * @memberof WorldlinePaymentResponseDto
22803
- */
22804
- 'transactionId'?: string;
22805
- /**
22806
- *
22807
- * @type {WorldlineTransactionOutcome}
22808
- * @memberof WorldlinePaymentResponseDto
22809
- */
22810
- 'transactionOutcome'?: WorldlineTransactionOutcome;
22811
- /**
22812
- *
22813
- * @type {WorldlineOutcomeDescription}
22814
- * @memberof WorldlinePaymentResponseDto
22815
- */
22816
- 'outcomeDescription'?: WorldlineOutcomeDescription;
22817
- /**
22818
- *
22819
- * @type {WorldlineTransactionType}
22820
- * @memberof WorldlinePaymentResponseDto
22821
- */
22822
- 'transactionType'?: WorldlineTransactionType;
22823
- /**
22824
- *
22825
- * @type {WorldlineVerificationMethod}
22826
- * @memberof WorldlinePaymentResponseDto
22827
- */
22828
- 'verificationMethod'?: WorldlineVerificationMethod;
22829
- /**
22830
- * Cardholder language
22831
- * @type {string}
22832
- * @memberof WorldlinePaymentResponseDto
22833
- */
22834
- 'cardholderLanguage'?: string;
22835
- }
22836
- /**
22837
- * Transaction amounts
22838
- * @export
22839
- * @interface WorldlinePaymentResponseDtoAmounts
22840
- */
22841
- export interface WorldlinePaymentResponseDtoAmounts {
22842
- /**
22843
- *
22844
- * @type {WorldlineAmountsResponseDtoCurrency}
22845
- * @memberof WorldlinePaymentResponseDtoAmounts
22846
- */
22847
- 'currency': WorldlineAmountsResponseDtoCurrency;
22848
- /**
22849
- * Base amount
22850
- * @type {number}
22851
- * @memberof WorldlinePaymentResponseDtoAmounts
22852
- */
22853
- 'base': number;
22854
- /**
22855
- * Total amount
22856
- * @type {number}
22857
- * @memberof WorldlinePaymentResponseDtoAmounts
22858
- */
22859
- 'total': number;
22860
- /**
22861
- * Tip amount
22862
- * @type {number}
22863
- * @memberof WorldlinePaymentResponseDtoAmounts
22864
- */
22865
- 'tip'?: number;
22866
- }
22867
- /**
22868
- * Merchant information
22869
- * @export
22870
- * @interface WorldlinePaymentResponseDtoMerchant
22871
- */
22872
- export interface WorldlinePaymentResponseDtoMerchant {
22873
- /**
22874
- * Merchant identifier
22875
- * @type {string}
22876
- * @memberof WorldlinePaymentResponseDtoMerchant
22877
- */
22878
- 'id'?: string;
22879
- /**
22880
- * Merchant display name
22881
- * @type {string}
22882
- * @memberof WorldlinePaymentResponseDtoMerchant
22883
- */
22884
- 'name': string;
22885
- /**
22886
- * Merchant street address
22887
- * @type {string}
22888
- * @memberof WorldlinePaymentResponseDtoMerchant
22889
- */
22890
- 'address'?: string;
22891
- /**
22892
- * Postal code and city
22893
- * @type {string}
22894
- * @memberof WorldlinePaymentResponseDtoMerchant
22895
- */
22896
- 'city'?: string;
22897
- /**
22898
- * Organization number
22899
- * @type {string}
22900
- * @memberof WorldlinePaymentResponseDtoMerchant
22901
- */
22902
- 'organizationNumber'?: string;
22903
- /**
22904
- * Phone number
22905
- * @type {string}
22906
- * @memberof WorldlinePaymentResponseDtoMerchant
22907
- */
22908
- 'phoneNumber'?: string;
22909
- }
22910
- /**
22911
- * Receipt data
22912
- * @export
22913
- * @interface WorldlinePaymentResponseDtoReceipt
22914
- */
22915
- export interface WorldlinePaymentResponseDtoReceipt {
22606
+ * @memberof WalletItemDto
22607
+ */
22608
+ 'status': StatusEnum;
22916
22609
  /**
22917
22610
  *
22918
- * @type {WorldlineReceiptDtoCustomer}
22919
- * @memberof WorldlinePaymentResponseDtoReceipt
22611
+ * @type {object}
22612
+ * @memberof WalletItemDto
22920
22613
  */
22921
- 'customer'?: WorldlineReceiptDtoCustomer;
22614
+ 'expires_at': object | null;
22922
22615
  /**
22923
22616
  *
22924
- * @type {WorldlineReceiptDtoMerchant}
22925
- * @memberof WorldlinePaymentResponseDtoReceipt
22617
+ * @type {WalletCatalogDto}
22618
+ * @memberof WalletItemDto
22926
22619
  */
22927
- 'merchant'?: WorldlineReceiptDtoMerchant;
22620
+ 'catalog': WalletCatalogDto;
22928
22621
  }
22622
+ export declare const StatusEnum: {
22623
+ readonly Claimed: "Claimed";
22624
+ readonly Redeemed: "Redeemed";
22625
+ };
22626
+ export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
22929
22627
  /**
22930
- * Terminal information
22628
+ *
22931
22629
  * @export
22932
- * @interface WorldlinePaymentResponseDtoTerminal
22630
+ * @interface WechatPayDetailsDto
22933
22631
  */
22934
- export interface WorldlinePaymentResponseDtoTerminal {
22632
+ export interface WechatPayDetailsDto {
22935
22633
  /**
22936
- * Terminal identifier
22634
+ * Payment location
22937
22635
  * @type {string}
22938
- * @memberof WorldlinePaymentResponseDtoTerminal
22636
+ * @memberof WechatPayDetailsDto
22939
22637
  */
22940
- 'id': string;
22638
+ 'location'?: string | null;
22941
22639
  /**
22942
- * Current date and time in the terminal
22640
+ * Reader identifier
22943
22641
  * @type {string}
22944
- * @memberof WorldlinePaymentResponseDtoTerminal
22945
- */
22946
- 'dateTime': string;
22947
- /**
22948
- * Terminal uptime in seconds
22949
- * @type {number}
22950
- * @memberof WorldlinePaymentResponseDtoTerminal
22951
- */
22952
- 'uptimeSeconds'?: number;
22953
- /**
22954
- *
22955
- * @type {WorldlineTerminalInformationDtoSoftware}
22956
- * @memberof WorldlinePaymentResponseDtoTerminal
22642
+ * @memberof WechatPayDetailsDto
22957
22643
  */
22958
- 'software'?: WorldlineTerminalInformationDtoSoftware;
22644
+ 'reader'?: string | null;
22959
22645
  /**
22960
- * Configured reboot time
22646
+ * WeChat Pay transaction ID
22961
22647
  * @type {string}
22962
- * @memberof WorldlinePaymentResponseDtoTerminal
22648
+ * @memberof WechatPayDetailsDto
22963
22649
  */
22964
- 'rebootTime'?: string;
22650
+ 'transactionId'?: string | null;
22965
22651
  }
22966
22652
  /**
22967
22653
  *
22968
22654
  * @export
22969
- * @interface WorldlineReceiptContentDto
22655
+ * @interface WorldlineAmountsRequestDto
22970
22656
  */
22971
- export interface WorldlineReceiptContentDto {
22657
+ export interface WorldlineAmountsRequestDto {
22972
22658
  /**
22973
- * Recommendation whether the receipt should be printed
22974
- * @type {boolean}
22975
- * @memberof WorldlineReceiptContentDto
22659
+ * ISO 4217 currency symbol
22660
+ * @type {string}
22661
+ * @memberof WorldlineAmountsRequestDto
22976
22662
  */
22977
- 'shouldPrint'?: boolean;
22663
+ 'currencySymbol': string;
22978
22664
  /**
22979
- * Plain text receipt
22980
- * @type {string}
22981
- * @memberof WorldlineReceiptContentDto
22665
+ * Base amount in the lowest unit of the currency
22666
+ * @type {number}
22667
+ * @memberof WorldlineAmountsRequestDto
22982
22668
  */
22983
- 'plain'?: string;
22669
+ 'base': number;
22984
22670
  /**
22985
- *
22986
- * @type {WorldlineReceiptContentDtoEmbeddedPlain}
22987
- * @memberof WorldlineReceiptContentDto
22671
+ * Optional tip amount in the lowest unit of the currency
22672
+ * @type {number}
22673
+ * @memberof WorldlineAmountsRequestDto
22988
22674
  */
22989
- 'embeddedPlain'?: WorldlineReceiptContentDtoEmbeddedPlain;
22675
+ 'tip'?: number;
22990
22676
  }
22991
22677
  /**
22992
- * Embedded receipt sections
22678
+ *
22993
22679
  * @export
22994
- * @interface WorldlineReceiptContentDtoEmbeddedPlain
22680
+ * @interface WorldlinePaymentRequestDataDto
22995
22681
  */
22996
- export interface WorldlineReceiptContentDtoEmbeddedPlain {
22682
+ export interface WorldlinePaymentRequestDataDto {
22997
22683
  /**
22998
- * Receipt header
22684
+ * Business operation identifier generated by the POS
22999
22685
  * @type {string}
23000
- * @memberof WorldlineReceiptContentDtoEmbeddedPlain
22686
+ * @memberof WorldlinePaymentRequestDataDto
23001
22687
  */
23002
- 'header'?: string;
22688
+ 'operationId': string;
23003
22689
  /**
23004
- * Receipt content
23005
- * @type {string}
23006
- * @memberof WorldlineReceiptContentDtoEmbeddedPlain
22690
+ *
22691
+ * @type {WorldlinePaymentRequestDataDtoAmounts}
22692
+ * @memberof WorldlinePaymentRequestDataDto
23007
22693
  */
23008
- 'content'?: string;
22694
+ 'amounts': WorldlinePaymentRequestDataDtoAmounts;
23009
22695
  /**
23010
- * Receipt footer
22696
+ * Cashier identifier
23011
22697
  * @type {string}
23012
- * @memberof WorldlineReceiptContentDtoEmbeddedPlain
23013
- */
23014
- 'footer'?: string;
23015
- }
23016
- /**
23017
- *
23018
- * @export
23019
- * @interface WorldlineReceiptDto
23020
- */
23021
- export interface WorldlineReceiptDto {
23022
- /**
23023
- *
23024
- * @type {WorldlineReceiptDtoCustomer}
23025
- * @memberof WorldlineReceiptDto
22698
+ * @memberof WorldlinePaymentRequestDataDto
23026
22699
  */
23027
- 'customer'?: WorldlineReceiptDtoCustomer;
22700
+ 'cashierId'?: string;
23028
22701
  /**
23029
- *
23030
- * @type {WorldlineReceiptDtoMerchant}
23031
- * @memberof WorldlineReceiptDto
22702
+ * POS custom data
22703
+ * @type {object}
22704
+ * @memberof WorldlinePaymentRequestDataDto
23032
22705
  */
23033
- 'merchant'?: WorldlineReceiptDtoMerchant;
23034
- }
23035
- /**
23036
- * Customer receipt
23037
- * @export
23038
- * @interface WorldlineReceiptDtoCustomer
23039
- */
23040
- export interface WorldlineReceiptDtoCustomer {
22706
+ 'customData'?: object;
23041
22707
  /**
23042
- * Recommendation whether the receipt should be printed
22708
+ * Whether the terminal should print a receipt
23043
22709
  * @type {boolean}
23044
- * @memberof WorldlineReceiptDtoCustomer
22710
+ * @memberof WorldlinePaymentRequestDataDto
23045
22711
  */
23046
- 'shouldPrint'?: boolean;
22712
+ 'printReceipt'?: boolean;
23047
22713
  /**
23048
- * Plain text receipt
23049
- * @type {string}
23050
- * @memberof WorldlineReceiptDtoCustomer
22714
+ * Whether manual PAN entry is allowed
22715
+ * @type {boolean}
22716
+ * @memberof WorldlinePaymentRequestDataDto
23051
22717
  */
23052
- 'plain'?: string;
22718
+ 'manualEntry'?: boolean;
23053
22719
  /**
23054
- *
23055
- * @type {WorldlineReceiptContentDtoEmbeddedPlain}
23056
- * @memberof WorldlineReceiptDtoCustomer
22720
+ * Receipt width in characters
22721
+ * @type {number}
22722
+ * @memberof WorldlinePaymentRequestDataDto
23057
22723
  */
23058
- 'embeddedPlain'?: WorldlineReceiptContentDtoEmbeddedPlain;
22724
+ 'receiptWidth'?: number;
23059
22725
  }
23060
22726
  /**
23061
- * Merchant receipt
22727
+ * Payment amounts
23062
22728
  * @export
23063
- * @interface WorldlineReceiptDtoMerchant
22729
+ * @interface WorldlinePaymentRequestDataDtoAmounts
23064
22730
  */
23065
- export interface WorldlineReceiptDtoMerchant {
22731
+ export interface WorldlinePaymentRequestDataDtoAmounts {
23066
22732
  /**
23067
- * Recommendation whether the receipt should be printed
23068
- * @type {boolean}
23069
- * @memberof WorldlineReceiptDtoMerchant
22733
+ * ISO 4217 currency symbol
22734
+ * @type {string}
22735
+ * @memberof WorldlinePaymentRequestDataDtoAmounts
23070
22736
  */
23071
- 'shouldPrint'?: boolean;
22737
+ 'currencySymbol': string;
23072
22738
  /**
23073
- * Plain text receipt
23074
- * @type {string}
23075
- * @memberof WorldlineReceiptDtoMerchant
22739
+ * Base amount in the lowest unit of the currency
22740
+ * @type {number}
22741
+ * @memberof WorldlinePaymentRequestDataDtoAmounts
23076
22742
  */
23077
- 'plain'?: string;
22743
+ 'base': number;
23078
22744
  /**
23079
- *
23080
- * @type {WorldlineReceiptContentDtoEmbeddedPlain}
23081
- * @memberof WorldlineReceiptDtoMerchant
22745
+ * Optional tip amount in the lowest unit of the currency
22746
+ * @type {number}
22747
+ * @memberof WorldlinePaymentRequestDataDtoAmounts
23082
22748
  */
23083
- 'embeddedPlain'?: WorldlineReceiptContentDtoEmbeddedPlain;
22749
+ 'tip'?: number;
23084
22750
  }
23085
22751
  /**
23086
22752
  *
@@ -23156,161 +22822,6 @@ export interface WorldlineRefundRequestDataDtoAmounts {
23156
22822
  */
23157
22823
  'tip'?: number;
23158
22824
  }
23159
- /**
23160
- *
23161
- * @export
23162
- * @interface WorldlineResponseEnvelopeDto
23163
- */
23164
- export interface WorldlineResponseEnvelopeDto {
23165
- /**
23166
- * Identifier of the request this response belongs to
23167
- * @type {string}
23168
- * @memberof WorldlineResponseEnvelopeDto
23169
- */
23170
- 'id'?: string;
23171
- /**
23172
- * Timestamp when the response was created
23173
- * @type {string}
23174
- * @memberof WorldlineResponseEnvelopeDto
23175
- */
23176
- 'createdAt': string;
23177
- /**
23178
- *
23179
- * @type {WorldlineResponseStatus}
23180
- * @memberof WorldlineResponseEnvelopeDto
23181
- */
23182
- 'status': WorldlineResponseStatus;
23183
- /**
23184
- *
23185
- * @type {WorldlineResponseEnvelopeDtoData}
23186
- * @memberof WorldlineResponseEnvelopeDto
23187
- */
23188
- 'data': WorldlineResponseEnvelopeDtoData;
23189
- }
23190
- /**
23191
- * @type WorldlineResponseEnvelopeDtoData
23192
- * Response payload
23193
- * @export
23194
- */
23195
- export type WorldlineResponseEnvelopeDtoData = WorldlineAsyncResponseDto | WorldlineDeviceInformationResponseDto | WorldlineErrorResponseDto | WorldlinePaymentResponseDto;
23196
- /**
23197
- *
23198
- * @export
23199
- * @enum {string}
23200
- */
23201
- export declare const WorldlineResponseStatus: {
23202
- readonly Ok: "OK";
23203
- readonly NotFound: "NotFound";
23204
- readonly BadRequest: "BadRequest";
23205
- readonly Unauthorized: "Unauthorized";
23206
- readonly Forbidden: "Forbidden";
23207
- readonly TooManyRequests: "TooManyRequests";
23208
- readonly ServiceUnavailable: "ServiceUnavailable";
23209
- readonly InternalServerError: "InternalServerError";
23210
- };
23211
- export type WorldlineResponseStatus = typeof WorldlineResponseStatus[keyof typeof WorldlineResponseStatus];
23212
- /**
23213
- *
23214
- * @export
23215
- * @interface WorldlineTerminalInformationDto
23216
- */
23217
- export interface WorldlineTerminalInformationDto {
23218
- /**
23219
- * Terminal identifier
23220
- * @type {string}
23221
- * @memberof WorldlineTerminalInformationDto
23222
- */
23223
- 'id': string;
23224
- /**
23225
- * Current date and time in the terminal
23226
- * @type {string}
23227
- * @memberof WorldlineTerminalInformationDto
23228
- */
23229
- 'dateTime': string;
23230
- /**
23231
- * Terminal uptime in seconds
23232
- * @type {number}
23233
- * @memberof WorldlineTerminalInformationDto
23234
- */
23235
- 'uptimeSeconds'?: number;
23236
- /**
23237
- *
23238
- * @type {WorldlineTerminalInformationDtoSoftware}
23239
- * @memberof WorldlineTerminalInformationDto
23240
- */
23241
- 'software'?: WorldlineTerminalInformationDtoSoftware;
23242
- /**
23243
- * Configured reboot time
23244
- * @type {string}
23245
- * @memberof WorldlineTerminalInformationDto
23246
- */
23247
- 'rebootTime'?: string;
23248
- }
23249
- /**
23250
- * Terminal software information
23251
- * @export
23252
- * @interface WorldlineTerminalInformationDtoSoftware
23253
- */
23254
- export interface WorldlineTerminalInformationDtoSoftware {
23255
- /**
23256
- * Current terminal software version
23257
- * @type {string}
23258
- * @memberof WorldlineTerminalInformationDtoSoftware
23259
- */
23260
- 'current': string;
23261
- }
23262
- /**
23263
- *
23264
- * @export
23265
- * @interface WorldlineTerminalSoftwareDto
23266
- */
23267
- export interface WorldlineTerminalSoftwareDto {
23268
- /**
23269
- * Current terminal software version
23270
- * @type {string}
23271
- * @memberof WorldlineTerminalSoftwareDto
23272
- */
23273
- 'current': string;
23274
- }
23275
- /**
23276
- *
23277
- * @export
23278
- * @enum {string}
23279
- */
23280
- export declare const WorldlineTransactionOutcome: {
23281
- readonly Approved: "Approved";
23282
- readonly Declined: "Declined";
23283
- readonly Cancelled: "Cancelled";
23284
- };
23285
- export type WorldlineTransactionOutcome = typeof WorldlineTransactionOutcome[keyof typeof WorldlineTransactionOutcome];
23286
- /**
23287
- *
23288
- * @export
23289
- * @enum {string}
23290
- */
23291
- export declare const WorldlineTransactionType: {
23292
- readonly Payment: "Payment";
23293
- readonly Refund: "Refund";
23294
- readonly Capture: "Capture";
23295
- readonly Reversal: "Reversal";
23296
- readonly Print: "Print";
23297
- };
23298
- export type WorldlineTransactionType = typeof WorldlineTransactionType[keyof typeof WorldlineTransactionType];
23299
- /**
23300
- *
23301
- * @export
23302
- * @enum {string}
23303
- */
23304
- export declare const WorldlineVerificationMethod: {
23305
- readonly Failed: "Failed";
23306
- readonly OnlinePin: "OnlinePin";
23307
- readonly OfflinePin: "OfflinePin";
23308
- readonly Signature: "Signature";
23309
- readonly NoCvm: "NoCvm";
23310
- readonly ConsumerDevice: "ConsumerDevice";
23311
- readonly Skipped: "Skipped";
23312
- };
23313
- export type WorldlineVerificationMethod = typeof WorldlineVerificationMethod[keyof typeof WorldlineVerificationMethod];
23314
22825
  /**
23315
22826
  * AblyApi - axios parameter creator
23316
22827
  * @export
@@ -29272,112 +28783,37 @@ export declare const OrderInternalApiFactory: (configuration?: Configuration, ba
29272
28783
  findOneByExternalId(externalId: string, options?: any): AxiosPromise<void>;
29273
28784
  };
29274
28785
  /**
29275
- * OrderInternalApi - interface
29276
- * @export
29277
- * @interface OrderInternalApi
29278
- */
29279
- export interface OrderInternalApiInterface {
29280
- /**
29281
- *
29282
- * @summary Get order data by external ID for internal microservice communication
29283
- * @param {string} externalId
29284
- * @param {*} [options] Override http request option.
29285
- * @throws {RequiredError}
29286
- * @memberof OrderInternalApiInterface
29287
- */
29288
- findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
29289
- }
29290
- /**
29291
- * OrderInternalApi - object-oriented interface
29292
- * @export
29293
- * @class OrderInternalApi
29294
- * @extends {BaseAPI}
29295
- */
29296
- export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
29297
- /**
29298
- *
29299
- * @summary Get order data by external ID for internal microservice communication
29300
- * @param {string} externalId
29301
- * @param {*} [options] Override http request option.
29302
- * @throws {RequiredError}
29303
- * @memberof OrderInternalApi
29304
- */
29305
- findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
29306
- }
29307
- /**
29308
- * OrderingCoApi - axios parameter creator
29309
- * @export
29310
- */
29311
- export declare const OrderingCoApiAxiosParamCreator: (configuration?: Configuration) => {
29312
- /**
29313
- *
29314
- * @summary Update tax rate for businesses
29315
- * @param {object} body
29316
- * @param {*} [options] Override http request option.
29317
- * @throws {RequiredError}
29318
- */
29319
- updateTaxRate: (body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
29320
- };
29321
- /**
29322
- * OrderingCoApi - functional programming interface
29323
- * @export
29324
- */
29325
- export declare const OrderingCoApiFp: (configuration?: Configuration) => {
29326
- /**
29327
- *
29328
- * @summary Update tax rate for businesses
29329
- * @param {object} body
29330
- * @param {*} [options] Override http request option.
29331
- * @throws {RequiredError}
29332
- */
29333
- updateTaxRate(body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
29334
- };
29335
- /**
29336
- * OrderingCoApi - factory interface
29337
- * @export
29338
- */
29339
- export declare const OrderingCoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
29340
- /**
29341
- *
29342
- * @summary Update tax rate for businesses
29343
- * @param {object} body
29344
- * @param {*} [options] Override http request option.
29345
- * @throws {RequiredError}
29346
- */
29347
- updateTaxRate(body: object, options?: any): AxiosPromise<void>;
29348
- };
29349
- /**
29350
- * OrderingCoApi - interface
28786
+ * OrderInternalApi - interface
29351
28787
  * @export
29352
- * @interface OrderingCoApi
28788
+ * @interface OrderInternalApi
29353
28789
  */
29354
- export interface OrderingCoApiInterface {
28790
+ export interface OrderInternalApiInterface {
29355
28791
  /**
29356
28792
  *
29357
- * @summary Update tax rate for businesses
29358
- * @param {object} body
28793
+ * @summary Get order data by external ID for internal microservice communication
28794
+ * @param {string} externalId
29359
28795
  * @param {*} [options] Override http request option.
29360
28796
  * @throws {RequiredError}
29361
- * @memberof OrderingCoApiInterface
28797
+ * @memberof OrderInternalApiInterface
29362
28798
  */
29363
- updateTaxRate(body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
28799
+ findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
29364
28800
  }
29365
28801
  /**
29366
- * OrderingCoApi - object-oriented interface
28802
+ * OrderInternalApi - object-oriented interface
29367
28803
  * @export
29368
- * @class OrderingCoApi
28804
+ * @class OrderInternalApi
29369
28805
  * @extends {BaseAPI}
29370
28806
  */
29371
- export declare class OrderingCoApi extends BaseAPI implements OrderingCoApiInterface {
28807
+ export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
29372
28808
  /**
29373
28809
  *
29374
- * @summary Update tax rate for businesses
29375
- * @param {object} body
28810
+ * @summary Get order data by external ID for internal microservice communication
28811
+ * @param {string} externalId
29376
28812
  * @param {*} [options] Override http request option.
29377
28813
  * @throws {RequiredError}
29378
- * @memberof OrderingCoApi
28814
+ * @memberof OrderInternalApi
29379
28815
  */
29380
- updateTaxRate(body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
28816
+ findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
29381
28817
  }
29382
28818
  /**
29383
28819
  * OrdersApi - axios parameter creator
@@ -30727,6 +30163,14 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
30727
30163
  * @throws {RequiredError}
30728
30164
  */
30729
30165
  getPaymentSession: (clientToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30166
+ /**
30167
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30168
+ * @summary Initiate a Viva app-to-app payment session
30169
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30170
+ * @param {*} [options] Override http request option.
30171
+ * @throws {RequiredError}
30172
+ */
30173
+ initiateVivaA2aSession: (initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30730
30174
  /**
30731
30175
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30732
30176
  * @summary Initiate a Viva payment session
@@ -30763,11 +30207,11 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
30763
30207
  /**
30764
30208
  * Reverses a manually-recorded payment (cash / voucher / CardManual / gift card / …) by its sessionId (the order paymentEvent referenceId). Not for card paymethods (Card/Debit/Credit/Edenred) — those use cancel/refund. Idempotent: re-calling a voided session is a no-op.
30765
30209
  * @summary Void a manual payment session
30766
- * @param {ReverseSessionDto} reverseSessionDto
30210
+ * @param {VoidManualSessionDto} voidManualSessionDto
30767
30211
  * @param {*} [options] Override http request option.
30768
30212
  * @throws {RequiredError}
30769
30213
  */
30770
- voidManualPayment: (reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30214
+ voidManualPayment: (voidManualSessionDto: VoidManualSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30771
30215
  };
30772
30216
  /**
30773
30217
  * PaymentSessionApi - functional programming interface
@@ -30790,6 +30234,14 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
30790
30234
  * @throws {RequiredError}
30791
30235
  */
30792
30236
  getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
30237
+ /**
30238
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30239
+ * @summary Initiate a Viva app-to-app payment session
30240
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30241
+ * @param {*} [options] Override http request option.
30242
+ * @throws {RequiredError}
30243
+ */
30244
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateVivaA2aSessionResponseDto>>;
30793
30245
  /**
30794
30246
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30795
30247
  * @summary Initiate a Viva payment session
@@ -30806,7 +30258,7 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
30806
30258
  * @param {*} [options] Override http request option.
30807
30259
  * @throws {RequiredError}
30808
30260
  */
30809
- recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
30261
+ recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordManualPaymentResultDto>>;
30810
30262
  /**
30811
30263
  * 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.
30812
30264
  * @summary Refund a settled Viva payment session (gateway only)
@@ -30826,11 +30278,11 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
30826
30278
  /**
30827
30279
  * Reverses a manually-recorded payment (cash / voucher / CardManual / gift card / …) by its sessionId (the order paymentEvent referenceId). Not for card paymethods (Card/Debit/Credit/Edenred) — those use cancel/refund. Idempotent: re-calling a voided session is a no-op.
30828
30280
  * @summary Void a manual payment session
30829
- * @param {ReverseSessionDto} reverseSessionDto
30281
+ * @param {VoidManualSessionDto} voidManualSessionDto
30830
30282
  * @param {*} [options] Override http request option.
30831
30283
  * @throws {RequiredError}
30832
30284
  */
30833
- voidManualPayment(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
30285
+ voidManualPayment(voidManualSessionDto: VoidManualSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordManualPaymentResultDto>>;
30834
30286
  };
30835
30287
  /**
30836
30288
  * PaymentSessionApi - factory interface
@@ -30853,6 +30305,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
30853
30305
  * @throws {RequiredError}
30854
30306
  */
30855
30307
  getPaymentSession(clientToken: string, options?: any): AxiosPromise<PaymentSessionViewDto>;
30308
+ /**
30309
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30310
+ * @summary Initiate a Viva app-to-app payment session
30311
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30312
+ * @param {*} [options] Override http request option.
30313
+ * @throws {RequiredError}
30314
+ */
30315
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: any): AxiosPromise<InitiateVivaA2aSessionResponseDto>;
30856
30316
  /**
30857
30317
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30858
30318
  * @summary Initiate a Viva payment session
@@ -30869,7 +30329,7 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
30869
30329
  * @param {*} [options] Override http request option.
30870
30330
  * @throws {RequiredError}
30871
30331
  */
30872
- recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
30332
+ recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: any): AxiosPromise<RecordManualPaymentResultDto>;
30873
30333
  /**
30874
30334
  * 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.
30875
30335
  * @summary Refund a settled Viva payment session (gateway only)
@@ -30889,11 +30349,11 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
30889
30349
  /**
30890
30350
  * Reverses a manually-recorded payment (cash / voucher / CardManual / gift card / …) by its sessionId (the order paymentEvent referenceId). Not for card paymethods (Card/Debit/Credit/Edenred) — those use cancel/refund. Idempotent: re-calling a voided session is a no-op.
30891
30351
  * @summary Void a manual payment session
30892
- * @param {ReverseSessionDto} reverseSessionDto
30352
+ * @param {VoidManualSessionDto} voidManualSessionDto
30893
30353
  * @param {*} [options] Override http request option.
30894
30354
  * @throws {RequiredError}
30895
30355
  */
30896
- voidManualPayment(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
30356
+ voidManualPayment(voidManualSessionDto: VoidManualSessionDto, options?: any): AxiosPromise<RecordManualPaymentResultDto>;
30897
30357
  };
30898
30358
  /**
30899
30359
  * PaymentSessionApi - interface
@@ -30919,6 +30379,15 @@ export interface PaymentSessionApiInterface {
30919
30379
  * @memberof PaymentSessionApiInterface
30920
30380
  */
30921
30381
  getPaymentSession(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
30382
+ /**
30383
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30384
+ * @summary Initiate a Viva app-to-app payment session
30385
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30386
+ * @param {*} [options] Override http request option.
30387
+ * @throws {RequiredError}
30388
+ * @memberof PaymentSessionApiInterface
30389
+ */
30390
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): AxiosPromise<InitiateVivaA2aSessionResponseDto>;
30922
30391
  /**
30923
30392
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30924
30393
  * @summary Initiate a Viva payment session
@@ -30937,7 +30406,7 @@ export interface PaymentSessionApiInterface {
30937
30406
  * @throws {RequiredError}
30938
30407
  * @memberof PaymentSessionApiInterface
30939
30408
  */
30940
- recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
30409
+ recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): AxiosPromise<RecordManualPaymentResultDto>;
30941
30410
  /**
30942
30411
  * 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.
30943
30412
  * @summary Refund a settled Viva payment session (gateway only)
@@ -30959,12 +30428,12 @@ export interface PaymentSessionApiInterface {
30959
30428
  /**
30960
30429
  * Reverses a manually-recorded payment (cash / voucher / CardManual / gift card / …) by its sessionId (the order paymentEvent referenceId). Not for card paymethods (Card/Debit/Credit/Edenred) — those use cancel/refund. Idempotent: re-calling a voided session is a no-op.
30961
30430
  * @summary Void a manual payment session
30962
- * @param {ReverseSessionDto} reverseSessionDto
30431
+ * @param {VoidManualSessionDto} voidManualSessionDto
30963
30432
  * @param {*} [options] Override http request option.
30964
30433
  * @throws {RequiredError}
30965
30434
  * @memberof PaymentSessionApiInterface
30966
30435
  */
30967
- voidManualPayment(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
30436
+ voidManualPayment(voidManualSessionDto: VoidManualSessionDto, options?: AxiosRequestConfig): AxiosPromise<RecordManualPaymentResultDto>;
30968
30437
  }
30969
30438
  /**
30970
30439
  * PaymentSessionApi - object-oriented interface
@@ -30991,6 +30460,15 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
30991
30460
  * @memberof PaymentSessionApi
30992
30461
  */
30993
30462
  getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
30463
+ /**
30464
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30465
+ * @summary Initiate a Viva app-to-app payment session
30466
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30467
+ * @param {*} [options] Override http request option.
30468
+ * @throws {RequiredError}
30469
+ * @memberof PaymentSessionApi
30470
+ */
30471
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateVivaA2aSessionResponseDto, any, {}>>;
30994
30472
  /**
30995
30473
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30996
30474
  * @summary Initiate a Viva payment session
@@ -31009,7 +30487,7 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
31009
30487
  * @throws {RequiredError}
31010
30488
  * @memberof PaymentSessionApi
31011
30489
  */
31012
- recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
30490
+ recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordManualPaymentResultDto, any, {}>>;
31013
30491
  /**
31014
30492
  * 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.
31015
30493
  * @summary Refund a settled Viva payment session (gateway only)
@@ -31031,109 +30509,12 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
31031
30509
  /**
31032
30510
  * Reverses a manually-recorded payment (cash / voucher / CardManual / gift card / …) by its sessionId (the order paymentEvent referenceId). Not for card paymethods (Card/Debit/Credit/Edenred) — those use cancel/refund. Idempotent: re-calling a voided session is a no-op.
31033
30511
  * @summary Void a manual payment session
31034
- * @param {ReverseSessionDto} reverseSessionDto
30512
+ * @param {VoidManualSessionDto} voidManualSessionDto
31035
30513
  * @param {*} [options] Override http request option.
31036
30514
  * @throws {RequiredError}
31037
30515
  * @memberof PaymentSessionApi
31038
30516
  */
31039
- voidManualPayment(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
31040
- }
31041
- /**
31042
- * PluginApi - axios parameter creator
31043
- * @export
31044
- */
31045
- export declare const PluginApiAxiosParamCreator: (configuration?: Configuration) => {
31046
- /**
31047
- *
31048
- * @param {*} [options] Override http request option.
31049
- * @throws {RequiredError}
31050
- */
31051
- loadConfigFile: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
31052
- /**
31053
- *
31054
- * @param {*} [options] Override http request option.
31055
- * @throws {RequiredError}
31056
- */
31057
- upsertBusiness: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
31058
- };
31059
- /**
31060
- * PluginApi - functional programming interface
31061
- * @export
31062
- */
31063
- export declare const PluginApiFp: (configuration?: Configuration) => {
31064
- /**
31065
- *
31066
- * @param {*} [options] Override http request option.
31067
- * @throws {RequiredError}
31068
- */
31069
- loadConfigFile(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
31070
- /**
31071
- *
31072
- * @param {*} [options] Override http request option.
31073
- * @throws {RequiredError}
31074
- */
31075
- upsertBusiness(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
31076
- };
31077
- /**
31078
- * PluginApi - factory interface
31079
- * @export
31080
- */
31081
- export declare const PluginApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
31082
- /**
31083
- *
31084
- * @param {*} [options] Override http request option.
31085
- * @throws {RequiredError}
31086
- */
31087
- loadConfigFile(options?: any): AxiosPromise<void>;
31088
- /**
31089
- *
31090
- * @param {*} [options] Override http request option.
31091
- * @throws {RequiredError}
31092
- */
31093
- upsertBusiness(options?: any): AxiosPromise<void>;
31094
- };
31095
- /**
31096
- * PluginApi - interface
31097
- * @export
31098
- * @interface PluginApi
31099
- */
31100
- export interface PluginApiInterface {
31101
- /**
31102
- *
31103
- * @param {*} [options] Override http request option.
31104
- * @throws {RequiredError}
31105
- * @memberof PluginApiInterface
31106
- */
31107
- loadConfigFile(options?: AxiosRequestConfig): AxiosPromise<void>;
31108
- /**
31109
- *
31110
- * @param {*} [options] Override http request option.
31111
- * @throws {RequiredError}
31112
- * @memberof PluginApiInterface
31113
- */
31114
- upsertBusiness(options?: AxiosRequestConfig): AxiosPromise<void>;
31115
- }
31116
- /**
31117
- * PluginApi - object-oriented interface
31118
- * @export
31119
- * @class PluginApi
31120
- * @extends {BaseAPI}
31121
- */
31122
- export declare class PluginApi extends BaseAPI implements PluginApiInterface {
31123
- /**
31124
- *
31125
- * @param {*} [options] Override http request option.
31126
- * @throws {RequiredError}
31127
- * @memberof PluginApi
31128
- */
31129
- loadConfigFile(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
31130
- /**
31131
- *
31132
- * @param {*} [options] Override http request option.
31133
- * @throws {RequiredError}
31134
- * @memberof PluginApi
31135
- */
31136
- upsertBusiness(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
30517
+ voidManualPayment(voidManualSessionDto: VoidManualSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordManualPaymentResultDto, any, {}>>;
31137
30518
  }
31138
30519
  /**
31139
30520
  * PrintersApi - axios parameter creator
@@ -33259,133 +32640,6 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
33259
32640
  */
33260
32641
  getUserInfoV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
33261
32642
  }
33262
- /**
33263
- * UsersApi - axios parameter creator
33264
- * @export
33265
- */
33266
- export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
33267
- /**
33268
- *
33269
- * @summary Filter user information with phone number
33270
- * @param {UserValidation} userValidation User body data
33271
- * @param {*} [options] Override http request option.
33272
- * @throws {RequiredError}
33273
- */
33274
- getUser: (userValidation: UserValidation, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33275
- /**
33276
- *
33277
- * @summary Add credit points to user wallet
33278
- * @param {number} userId
33279
- * @param {number} walletId
33280
- * @param {RewardPointPayload} rewardPointPayload
33281
- * @param {*} [options] Override http request option.
33282
- * @throws {RequiredError}
33283
- */
33284
- updateUserRewardPoints: (userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33285
- };
33286
- /**
33287
- * UsersApi - functional programming interface
33288
- * @export
33289
- */
33290
- export declare const UsersApiFp: (configuration?: Configuration) => {
33291
- /**
33292
- *
33293
- * @summary Filter user information with phone number
33294
- * @param {UserValidation} userValidation User body data
33295
- * @param {*} [options] Override http request option.
33296
- * @throws {RequiredError}
33297
- */
33298
- getUser(userValidation: UserValidation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LoyaltyUserDto>>>;
33299
- /**
33300
- *
33301
- * @summary Add credit points to user wallet
33302
- * @param {number} userId
33303
- * @param {number} walletId
33304
- * @param {RewardPointPayload} rewardPointPayload
33305
- * @param {*} [options] Override http request option.
33306
- * @throws {RequiredError}
33307
- */
33308
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
33309
- };
33310
- /**
33311
- * UsersApi - factory interface
33312
- * @export
33313
- */
33314
- export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
33315
- /**
33316
- *
33317
- * @summary Filter user information with phone number
33318
- * @param {UserValidation} userValidation User body data
33319
- * @param {*} [options] Override http request option.
33320
- * @throws {RequiredError}
33321
- */
33322
- getUser(userValidation: UserValidation, options?: any): AxiosPromise<Array<LoyaltyUserDto>>;
33323
- /**
33324
- *
33325
- * @summary Add credit points to user wallet
33326
- * @param {number} userId
33327
- * @param {number} walletId
33328
- * @param {RewardPointPayload} rewardPointPayload
33329
- * @param {*} [options] Override http request option.
33330
- * @throws {RequiredError}
33331
- */
33332
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: any): AxiosPromise<void>;
33333
- };
33334
- /**
33335
- * UsersApi - interface
33336
- * @export
33337
- * @interface UsersApi
33338
- */
33339
- export interface UsersApiInterface {
33340
- /**
33341
- *
33342
- * @summary Filter user information with phone number
33343
- * @param {UserValidation} userValidation User body data
33344
- * @param {*} [options] Override http request option.
33345
- * @throws {RequiredError}
33346
- * @memberof UsersApiInterface
33347
- */
33348
- getUser(userValidation: UserValidation, options?: AxiosRequestConfig): AxiosPromise<Array<LoyaltyUserDto>>;
33349
- /**
33350
- *
33351
- * @summary Add credit points to user wallet
33352
- * @param {number} userId
33353
- * @param {number} walletId
33354
- * @param {RewardPointPayload} rewardPointPayload
33355
- * @param {*} [options] Override http request option.
33356
- * @throws {RequiredError}
33357
- * @memberof UsersApiInterface
33358
- */
33359
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): AxiosPromise<void>;
33360
- }
33361
- /**
33362
- * UsersApi - object-oriented interface
33363
- * @export
33364
- * @class UsersApi
33365
- * @extends {BaseAPI}
33366
- */
33367
- export declare class UsersApi extends BaseAPI implements UsersApiInterface {
33368
- /**
33369
- *
33370
- * @summary Filter user information with phone number
33371
- * @param {UserValidation} userValidation User body data
33372
- * @param {*} [options] Override http request option.
33373
- * @throws {RequiredError}
33374
- * @memberof UsersApi
33375
- */
33376
- getUser(userValidation: UserValidation, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoyaltyUserDto[], any, {}>>;
33377
- /**
33378
- *
33379
- * @summary Add credit points to user wallet
33380
- * @param {number} userId
33381
- * @param {number} walletId
33382
- * @param {RewardPointPayload} rewardPointPayload
33383
- * @param {*} [options] Override http request option.
33384
- * @throws {RequiredError}
33385
- * @memberof UsersApi
33386
- */
33387
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
33388
- }
33389
32643
  /**
33390
32644
  * VendureSellerApi - axios parameter creator
33391
32645
  * @export
@@ -34288,35 +33542,6 @@ export declare const WorldlineApiAxiosParamCreator: (configuration?: Configurati
34288
33542
  * @throws {RequiredError}
34289
33543
  */
34290
33544
  createRefund: (createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34291
- /**
34292
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
34293
- * @summary Long-poll for the next unhandled Worldline WAN request
34294
- * @param {string} terminalId The unique identifier of the terminal
34295
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
34296
- * @param {string} sessionID The terminal session UUID
34297
- * @param {string} protocolVersion The version of the API protocol being used
34298
- * @param {*} [options] Override http request option.
34299
- * @throws {RequiredError}
34300
- */
34301
- getNextRequest: (terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34302
- /**
34303
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
34304
- * @summary Report a terminal event such as dialog shown or operation completion
34305
- * @param {string} terminalId The unique identifier of the terminal
34306
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
34307
- * @param {*} [options] Override http request option.
34308
- * @throws {RequiredError}
34309
- */
34310
- submitEvent: (terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34311
- /**
34312
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
34313
- * @summary Submit a response to a previously fetched request
34314
- * @param {string} terminalId The unique identifier of the terminal
34315
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
34316
- * @param {*} [options] Override http request option.
34317
- * @throws {RequiredError}
34318
- */
34319
- submitResponse: (terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34320
33545
  };
34321
33546
  /**
34322
33547
  * WorldlineApi - functional programming interface
@@ -34347,35 +33572,6 @@ export declare const WorldlineApiFp: (configuration?: Configuration) => {
34347
33572
  * @throws {RequiredError}
34348
33573
  */
34349
33574
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
34350
- /**
34351
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
34352
- * @summary Long-poll for the next unhandled Worldline WAN request
34353
- * @param {string} terminalId The unique identifier of the terminal
34354
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
34355
- * @param {string} sessionID The terminal session UUID
34356
- * @param {string} protocolVersion The version of the API protocol being used
34357
- * @param {*} [options] Override http request option.
34358
- * @throws {RequiredError}
34359
- */
34360
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
34361
- /**
34362
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
34363
- * @summary Report a terminal event such as dialog shown or operation completion
34364
- * @param {string} terminalId The unique identifier of the terminal
34365
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
34366
- * @param {*} [options] Override http request option.
34367
- * @throws {RequiredError}
34368
- */
34369
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
34370
- /**
34371
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
34372
- * @summary Submit a response to a previously fetched request
34373
- * @param {string} terminalId The unique identifier of the terminal
34374
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
34375
- * @param {*} [options] Override http request option.
34376
- * @throws {RequiredError}
34377
- */
34378
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
34379
33575
  };
34380
33576
  /**
34381
33577
  * WorldlineApi - factory interface
@@ -34406,35 +33602,6 @@ export declare const WorldlineApiFactory: (configuration?: Configuration, basePa
34406
33602
  * @throws {RequiredError}
34407
33603
  */
34408
33604
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: any): AxiosPromise<void>;
34409
- /**
34410
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
34411
- * @summary Long-poll for the next unhandled Worldline WAN request
34412
- * @param {string} terminalId The unique identifier of the terminal
34413
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
34414
- * @param {string} sessionID The terminal session UUID
34415
- * @param {string} protocolVersion The version of the API protocol being used
34416
- * @param {*} [options] Override http request option.
34417
- * @throws {RequiredError}
34418
- */
34419
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: any): AxiosPromise<void>;
34420
- /**
34421
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
34422
- * @summary Report a terminal event such as dialog shown or operation completion
34423
- * @param {string} terminalId The unique identifier of the terminal
34424
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
34425
- * @param {*} [options] Override http request option.
34426
- * @throws {RequiredError}
34427
- */
34428
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: any): AxiosPromise<void>;
34429
- /**
34430
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
34431
- * @summary Submit a response to a previously fetched request
34432
- * @param {string} terminalId The unique identifier of the terminal
34433
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
34434
- * @param {*} [options] Override http request option.
34435
- * @throws {RequiredError}
34436
- */
34437
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: any): AxiosPromise<void>;
34438
33605
  };
34439
33606
  /**
34440
33607
  * WorldlineApi - interface
@@ -34469,38 +33636,6 @@ export interface WorldlineApiInterface {
34469
33636
  * @memberof WorldlineApiInterface
34470
33637
  */
34471
33638
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): AxiosPromise<void>;
34472
- /**
34473
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
34474
- * @summary Long-poll for the next unhandled Worldline WAN request
34475
- * @param {string} terminalId The unique identifier of the terminal
34476
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
34477
- * @param {string} sessionID The terminal session UUID
34478
- * @param {string} protocolVersion The version of the API protocol being used
34479
- * @param {*} [options] Override http request option.
34480
- * @throws {RequiredError}
34481
- * @memberof WorldlineApiInterface
34482
- */
34483
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): AxiosPromise<void>;
34484
- /**
34485
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
34486
- * @summary Report a terminal event such as dialog shown or operation completion
34487
- * @param {string} terminalId The unique identifier of the terminal
34488
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
34489
- * @param {*} [options] Override http request option.
34490
- * @throws {RequiredError}
34491
- * @memberof WorldlineApiInterface
34492
- */
34493
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): AxiosPromise<void>;
34494
- /**
34495
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
34496
- * @summary Submit a response to a previously fetched request
34497
- * @param {string} terminalId The unique identifier of the terminal
34498
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
34499
- * @param {*} [options] Override http request option.
34500
- * @throws {RequiredError}
34501
- * @memberof WorldlineApiInterface
34502
- */
34503
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): AxiosPromise<void>;
34504
33639
  }
34505
33640
  /**
34506
33641
  * WorldlineApi - object-oriented interface
@@ -34536,38 +33671,6 @@ export declare class WorldlineApi extends BaseAPI implements WorldlineApiInterfa
34536
33671
  * @memberof WorldlineApi
34537
33672
  */
34538
33673
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
34539
- /**
34540
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
34541
- * @summary Long-poll for the next unhandled Worldline WAN request
34542
- * @param {string} terminalId The unique identifier of the terminal
34543
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
34544
- * @param {string} sessionID The terminal session UUID
34545
- * @param {string} protocolVersion The version of the API protocol being used
34546
- * @param {*} [options] Override http request option.
34547
- * @throws {RequiredError}
34548
- * @memberof WorldlineApi
34549
- */
34550
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
34551
- /**
34552
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
34553
- * @summary Report a terminal event such as dialog shown or operation completion
34554
- * @param {string} terminalId The unique identifier of the terminal
34555
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
34556
- * @param {*} [options] Override http request option.
34557
- * @throws {RequiredError}
34558
- * @memberof WorldlineApi
34559
- */
34560
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
34561
- /**
34562
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
34563
- * @summary Submit a response to a previously fetched request
34564
- * @param {string} terminalId The unique identifier of the terminal
34565
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
34566
- * @param {*} [options] Override http request option.
34567
- * @throws {RequiredError}
34568
- * @memberof WorldlineApi
34569
- */
34570
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
34571
33674
  }
34572
33675
  /**
34573
33676
  * WorldlineInternalApi - axios parameter creator