@munchi_oy/core 1.4.8 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1686,6 +1686,12 @@ export interface CashRefundPayload {
1686
1686
  * @memberof CashRefundPayload
1687
1687
  */
1688
1688
  'items'?: Array<RefundedItemDto>;
1689
+ /**
1690
+ * Per-line allocation persisted for this payment refund, keyed to original line item ids
1691
+ * @type {Array<PaymentRefundLineAllocationDto>}
1692
+ * @memberof CashRefundPayload
1693
+ */
1694
+ 'lineItemAllocations'?: Array<PaymentRefundLineAllocationDto>;
1689
1695
  /**
1690
1696
  *
1691
1697
  * @type {PaymentMethod}
@@ -2569,38 +2575,6 @@ export interface ConnectTerminalDto {
2569
2575
  */
2570
2576
  'terminalHardwareId': string;
2571
2577
  }
2572
- /**
2573
- *
2574
- * @export
2575
- * @interface ConnectionTokenPayloadDto
2576
- */
2577
- export interface ConnectionTokenPayloadDto {
2578
- /**
2579
- * The ordering business ID for this transaction.
2580
- * @type {number}
2581
- * @memberof ConnectionTokenPayloadDto
2582
- */
2583
- 'orderingBusinessId': number;
2584
- /**
2585
- *
2586
- * @type {PaymentProvider}
2587
- * @memberof ConnectionTokenPayloadDto
2588
- */
2589
- 'provider': PaymentProvider;
2590
- }
2591
- /**
2592
- *
2593
- * @export
2594
- * @interface ConnectionTokenResponseDto
2595
- */
2596
- export interface ConnectionTokenResponseDto {
2597
- /**
2598
- * The access token for the payment provider.
2599
- * @type {string}
2600
- * @memberof ConnectionTokenResponseDto
2601
- */
2602
- 'accessToken': string;
2603
- }
2604
2578
  /**
2605
2579
  *
2606
2580
  * @export
@@ -3277,22 +3251,6 @@ export declare const DeliveryType: {
3277
3251
  readonly HomeDelivery: "home_delivery";
3278
3252
  };
3279
3253
  export type DeliveryType = typeof DeliveryType[keyof typeof DeliveryType];
3280
- /**
3281
- *
3282
- * @export
3283
- * @enum {string}
3284
- */
3285
- export declare const DeviceStatus: {
3286
- readonly NUMBER_0: 0;
3287
- readonly NUMBER_1: 1;
3288
- readonly NUMBER_2: 2;
3289
- readonly NUMBER_3: 3;
3290
- readonly NUMBER_4: 4;
3291
- readonly NUMBER_5: 5;
3292
- readonly NUMBER_6: 6;
3293
- readonly NUMBER_7: 7;
3294
- };
3295
- export type DeviceStatus = typeof DeviceStatus[keyof typeof DeviceStatus];
3296
3254
  /**
3297
3255
  *
3298
3256
  * @export
@@ -3318,6 +3276,17 @@ export interface DeviceSubscriptionDto {
3318
3276
  */
3319
3277
  'businessIds': Array<number>;
3320
3278
  }
3279
+ /**
3280
+ *
3281
+ * @export
3282
+ * @enum {string}
3283
+ */
3284
+ export declare const DeviceType: {
3285
+ readonly Tablet: "TABLET";
3286
+ readonly KioskStand: "KIOSK_STAND";
3287
+ readonly SmartTerminal: "SMART_TERMINAL";
3288
+ };
3289
+ export type DeviceType = typeof DeviceType[keyof typeof DeviceType];
3321
3290
  /**
3322
3291
  *
3323
3292
  * @export
@@ -4343,6 +4312,31 @@ export interface FirebaseTokenDto {
4343
4312
  */
4344
4313
  'customToken': string;
4345
4314
  }
4315
+ /**
4316
+ *
4317
+ * @export
4318
+ * @interface GetPaymentReferenceDto
4319
+ */
4320
+ export interface GetPaymentReferenceDto {
4321
+ /**
4322
+ *
4323
+ * @type {PaymentProvider}
4324
+ * @memberof GetPaymentReferenceDto
4325
+ */
4326
+ 'provider': PaymentProvider;
4327
+ /**
4328
+ *
4329
+ * @type {string}
4330
+ * @memberof GetPaymentReferenceDto
4331
+ */
4332
+ 'transactionId': string;
4333
+ /**
4334
+ *
4335
+ * @type {string}
4336
+ * @memberof GetPaymentReferenceDto
4337
+ */
4338
+ 'orderId': string;
4339
+ }
4346
4340
  /**
4347
4341
  *
4348
4342
  * @export
@@ -4417,6 +4411,12 @@ export interface GetStationResponseDtoStation {
4417
4411
  * @memberof GetStationResponseDtoStation
4418
4412
  */
4419
4413
  'type': StationType;
4414
+ /**
4415
+ *
4416
+ * @type {DeviceType}
4417
+ * @memberof GetStationResponseDtoStation
4418
+ */
4419
+ 'deviceType'?: DeviceType;
4420
4420
  /**
4421
4421
  *
4422
4422
  * @type {Status}
@@ -5694,6 +5694,12 @@ export interface ManualRefundPayload {
5694
5694
  * @memberof ManualRefundPayload
5695
5695
  */
5696
5696
  'items'?: Array<RefundedItemDto>;
5697
+ /**
5698
+ * Per-line allocation persisted for this payment refund, keyed to original line item ids
5699
+ * @type {Array<PaymentRefundLineAllocationDto>}
5700
+ * @memberof ManualRefundPayload
5701
+ */
5702
+ 'lineItemAllocations'?: Array<PaymentRefundLineAllocationDto>;
5697
5703
  /**
5698
5704
  *
5699
5705
  * @type {PaymentMethod}
@@ -8463,19 +8469,6 @@ export interface PaymentIntegrationLinkDto {
8463
8469
  */
8464
8470
  'redeem'?: string | null;
8465
8471
  }
8466
- /**
8467
- *
8468
- * @export
8469
- * @interface PaymentIntentIdDto
8470
- */
8471
- export interface PaymentIntentIdDto {
8472
- /**
8473
- * The ID of the payment intent to capture or cancel
8474
- * @type {string}
8475
- * @memberof PaymentIntentIdDto
8476
- */
8477
- 'id': string;
8478
- }
8479
8472
  /**
8480
8473
  *
8481
8474
  * @export
@@ -9013,6 +9006,31 @@ export interface PaymentProviderResponseDtoAdditionalConfig {
9013
9006
  */
9014
9007
  'sourceCode'?: string | null;
9015
9008
  }
9009
+ /**
9010
+ *
9011
+ * @export
9012
+ * @interface PaymentReferenceResponseDto
9013
+ */
9014
+ export interface PaymentReferenceResponseDto {
9015
+ /**
9016
+ *
9017
+ * @type {PaymentProvider}
9018
+ * @memberof PaymentReferenceResponseDto
9019
+ */
9020
+ 'provider': PaymentProvider;
9021
+ /**
9022
+ *
9023
+ * @type {string}
9024
+ * @memberof PaymentReferenceResponseDto
9025
+ */
9026
+ 'originalTransactionId': string;
9027
+ /**
9028
+ *
9029
+ * @type {object}
9030
+ * @memberof PaymentReferenceResponseDto
9031
+ */
9032
+ 'references': object | null;
9033
+ }
9016
9034
  /**
9017
9035
  *
9018
9036
  * @export
@@ -9098,6 +9116,12 @@ export interface PaymentRefundDto {
9098
9116
  * @memberof PaymentRefundDto
9099
9117
  */
9100
9118
  'items'?: Array<RefundedItemDto>;
9119
+ /**
9120
+ * Per-line allocation persisted for this payment refund, keyed to original line item ids
9121
+ * @type {Array<PaymentRefundLineAllocationDto>}
9122
+ * @memberof PaymentRefundDto
9123
+ */
9124
+ 'lineItemAllocations'?: Array<PaymentRefundLineAllocationDto>;
9101
9125
  /**
9102
9126
  *
9103
9127
  * @type {PaymentMethod}
@@ -9113,6 +9137,31 @@ export interface PaymentRefundDto {
9113
9137
  [key: string]: any;
9114
9138
  };
9115
9139
  }
9140
+ /**
9141
+ *
9142
+ * @export
9143
+ * @interface PaymentRefundLineAllocationDto
9144
+ */
9145
+ export interface PaymentRefundLineAllocationDto {
9146
+ /**
9147
+ * Original line item id that this refund amount was applied to
9148
+ * @type {string}
9149
+ * @memberof PaymentRefundLineAllocationDto
9150
+ */
9151
+ 'lineItemId': string;
9152
+ /**
9153
+ * Refunded amount allocated to this line item from the payment refund
9154
+ * @type {number}
9155
+ * @memberof PaymentRefundLineAllocationDto
9156
+ */
9157
+ 'amount': number;
9158
+ /**
9159
+ * Refunded quantity allocated to this line item from the payment refund
9160
+ * @type {number}
9161
+ * @memberof PaymentRefundLineAllocationDto
9162
+ */
9163
+ 'quantity': number;
9164
+ }
9116
9165
  /**
9117
9166
  *
9118
9167
  * @export
@@ -12470,6 +12519,19 @@ export interface RefundDto {
12470
12519
  */
12471
12520
  'orderExternalId': string;
12472
12521
  }
12522
+ /**
12523
+ *
12524
+ * @export
12525
+ * @enum {string}
12526
+ */
12527
+ export declare const RefundFailureReasonKey: {
12528
+ readonly FullNotSupportedGiftCard: "screens.pos.refund.fullNotSupportedGiftCard";
12529
+ readonly PartialShortfallGiftCardPortion: "screens.pos.refund.partialShortfallGiftCardPortion";
12530
+ readonly PlanOverAllocation: "screens.pos.refund.planOverAllocation";
12531
+ readonly CannotSplitLinkedNonSplittable: "screens.pos.refund.cannotSplitLinkedNonSplittable";
12532
+ readonly InsufficientFunds: "screens.pos.refund.insufficientFunds";
12533
+ };
12534
+ export type RefundFailureReasonKey = typeof RefundFailureReasonKey[keyof typeof RefundFailureReasonKey];
12473
12535
  /**
12474
12536
  *
12475
12537
  * @export
@@ -12610,11 +12672,11 @@ export interface RefundPlanDto {
12610
12672
  */
12611
12673
  'mode': RefundMode;
12612
12674
  /**
12613
- * A translation key for the frontend if the status is FAILED.
12614
- * @type {object}
12675
+ *
12676
+ * @type {RefundFailureReasonKey}
12615
12677
  * @memberof RefundPlanDto
12616
12678
  */
12617
- 'failureReasonKey'?: object | null;
12679
+ 'failureReasonKey'?: RefundFailureReasonKey | null;
12618
12680
  /**
12619
12681
  *
12620
12682
  * @type {RefundOverallStatus}
@@ -13368,6 +13430,12 @@ export interface StationDetailsDto {
13368
13430
  * @memberof StationDetailsDto
13369
13431
  */
13370
13432
  'type': StationType;
13433
+ /**
13434
+ *
13435
+ * @type {DeviceType}
13436
+ * @memberof StationDetailsDto
13437
+ */
13438
+ 'deviceType'?: DeviceType;
13371
13439
  /**
13372
13440
  *
13373
13441
  * @type {Status}
@@ -13499,126 +13567,6 @@ export declare const Status: {
13499
13567
  readonly Inactive: "INACTIVE";
13500
13568
  };
13501
13569
  export type Status = typeof Status[keyof typeof Status];
13502
- /**
13503
- *
13504
- * @export
13505
- * @interface StripeConnectionTokenDto
13506
- */
13507
- export interface StripeConnectionTokenDto {
13508
- /**
13509
- * String representing the object\'s type
13510
- * @type {string}
13511
- * @memberof StripeConnectionTokenDto
13512
- */
13513
- 'object': string;
13514
- /**
13515
- * The id of the location that this connection token is scoped to
13516
- * @type {string}
13517
- * @memberof StripeConnectionTokenDto
13518
- */
13519
- 'location'?: string;
13520
- /**
13521
- * Your application should pass this token to the Stripe Terminal SDK
13522
- * @type {string}
13523
- * @memberof StripeConnectionTokenDto
13524
- */
13525
- 'secret': string;
13526
- }
13527
- /**
13528
- *
13529
- * @export
13530
- * @interface StripePaymentIntentDto
13531
- */
13532
- export interface StripePaymentIntentDto {
13533
- /**
13534
- * Unique identifier for the payment intent
13535
- * @type {string}
13536
- * @memberof StripePaymentIntentDto
13537
- */
13538
- 'id': string;
13539
- /**
13540
- * Object type, always \"payment_intent\"
13541
- * @type {string}
13542
- * @memberof StripePaymentIntentDto
13543
- */
13544
- 'object': string;
13545
- /**
13546
- * Amount intended to be collected (in smallest currency unit)
13547
- * @type {number}
13548
- * @memberof StripePaymentIntentDto
13549
- */
13550
- 'amount': number;
13551
- /**
13552
- * Amount that can be captured from this payment intent
13553
- * @type {number}
13554
- * @memberof StripePaymentIntentDto
13555
- */
13556
- 'amount_capturable': number;
13557
- /**
13558
- * Amount that has been received from this payment intent
13559
- * @type {number}
13560
- * @memberof StripePaymentIntentDto
13561
- */
13562
- 'amount_received': number;
13563
- /**
13564
- * The currency of the payment intent
13565
- * @type {string}
13566
- * @memberof StripePaymentIntentDto
13567
- */
13568
- 'currency': string;
13569
- /**
13570
- * Customer ID this payment intent belongs to, if any
13571
- * @type {object}
13572
- * @memberof StripePaymentIntentDto
13573
- */
13574
- 'customer'?: object | null;
13575
- /**
13576
- * Status of the payment intent
13577
- * @type {string}
13578
- * @memberof StripePaymentIntentDto
13579
- */
13580
- 'status': StatusEnum;
13581
- /**
13582
- * ID of the payment method used in this payment intent
13583
- * @type {object}
13584
- * @memberof StripePaymentIntentDto
13585
- */
13586
- 'payment_method'?: object | null;
13587
- /**
13588
- * Time at which the object was created
13589
- * @type {number}
13590
- * @memberof StripePaymentIntentDto
13591
- */
13592
- 'created': number;
13593
- /**
13594
- * Has the value true if the object exists in live mode or false if the object exists in test mode
13595
- * @type {boolean}
13596
- * @memberof StripePaymentIntentDto
13597
- */
13598
- 'livemode': boolean;
13599
- /**
13600
- * Shipping information
13601
- * @type {object}
13602
- * @memberof StripePaymentIntentDto
13603
- */
13604
- 'shipping'?: object | null;
13605
- /**
13606
- * Set of key-value pairs attached to the object
13607
- * @type {object}
13608
- * @memberof StripePaymentIntentDto
13609
- */
13610
- 'metadata'?: object;
13611
- }
13612
- export declare const StatusEnum: {
13613
- readonly RequiresPaymentMethod: "requires_payment_method";
13614
- readonly RequiresConfirmation: "requires_confirmation";
13615
- readonly RequiresAction: "requires_action";
13616
- readonly Processing: "processing";
13617
- readonly RequiresCapture: "requires_capture";
13618
- readonly Canceled: "canceled";
13619
- readonly Succeeded: "succeeded";
13620
- };
13621
- export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
13622
13570
  /**
13623
13571
  *
13624
13572
  * @export
@@ -13815,6 +13763,12 @@ export interface SyncStationDto {
13815
13763
  * @memberof SyncStationDto
13816
13764
  */
13817
13765
  'type'?: StationType;
13766
+ /**
13767
+ *
13768
+ * @type {DeviceType}
13769
+ * @memberof SyncStationDto
13770
+ */
13771
+ 'deviceType'?: DeviceType;
13818
13772
  /**
13819
13773
  * Payment terminal ID associated with this station
13820
13774
  * @type {string}
@@ -16470,6 +16424,125 @@ export interface VideoBackgroundConfig {
16470
16424
  */
16471
16425
  'loop'?: boolean;
16472
16426
  }
16427
+ /**
16428
+ *
16429
+ * @export
16430
+ * @interface VivaAppToAppInitResponseDto
16431
+ */
16432
+ export interface VivaAppToAppInitResponseDto {
16433
+ /**
16434
+ *
16435
+ * @type {string}
16436
+ * @memberof VivaAppToAppInitResponseDto
16437
+ */
16438
+ 'clientTransactionId': string;
16439
+ /**
16440
+ *
16441
+ * @type {number}
16442
+ * @memberof VivaAppToAppInitResponseDto
16443
+ */
16444
+ 'amount': number;
16445
+ /**
16446
+ *
16447
+ * @type {number}
16448
+ * @memberof VivaAppToAppInitResponseDto
16449
+ */
16450
+ 'tipAmount': number;
16451
+ /**
16452
+ *
16453
+ * @type {VivaAppToAppPaymentMethod}
16454
+ * @memberof VivaAppToAppInitResponseDto
16455
+ */
16456
+ 'paymentMethod': VivaAppToAppPaymentMethod;
16457
+ /**
16458
+ *
16459
+ * @type {number}
16460
+ * @memberof VivaAppToAppInitResponseDto
16461
+ */
16462
+ 'sourceCode': number;
16463
+ /**
16464
+ *
16465
+ * @type {boolean}
16466
+ * @memberof VivaAppToAppInitResponseDto
16467
+ */
16468
+ 'show_receipt': boolean;
16469
+ /**
16470
+ *
16471
+ * @type {boolean}
16472
+ * @memberof VivaAppToAppInitResponseDto
16473
+ */
16474
+ 'show_transaction_result': boolean;
16475
+ /**
16476
+ *
16477
+ * @type {boolean}
16478
+ * @memberof VivaAppToAppInitResponseDto
16479
+ */
16480
+ 'show_rating': boolean;
16481
+ /**
16482
+ * The ISV amount.
16483
+ * @type {number}
16484
+ * @memberof VivaAppToAppInitResponseDto
16485
+ */
16486
+ 'ISV_amount'?: number;
16487
+ /**
16488
+ * The ISV client ID.
16489
+ * @type {string}
16490
+ * @memberof VivaAppToAppInitResponseDto
16491
+ */
16492
+ 'ISV_clientId'?: string;
16493
+ /**
16494
+ * The ISV client secret. Only include this if the mobile app must send it for the POC.
16495
+ * @type {string}
16496
+ * @memberof VivaAppToAppInitResponseDto
16497
+ */
16498
+ 'ISV_clientSecret'?: string;
16499
+ /**
16500
+ * The ISV source code.
16501
+ * @type {number}
16502
+ * @memberof VivaAppToAppInitResponseDto
16503
+ */
16504
+ 'ISV_sourceCode'?: number;
16505
+ /**
16506
+ * The ISO numeric currency code required by Viva ISV mode.
16507
+ * @type {number}
16508
+ * @memberof VivaAppToAppInitResponseDto
16509
+ */
16510
+ 'ISV_currencyCode'?: number;
16511
+ /**
16512
+ * The customer transaction description shown in Viva.
16513
+ * @type {string}
16514
+ * @memberof VivaAppToAppInitResponseDto
16515
+ */
16516
+ 'ISV_customerTrns'?: string;
16517
+ /**
16518
+ * The ISV merchant source code for multi-merchant routing.
16519
+ * @type {number}
16520
+ * @memberof VivaAppToAppInitResponseDto
16521
+ */
16522
+ 'ISV_merchantSourceCode'?: number;
16523
+ /**
16524
+ * The ISV client transaction ID if used separately from the app transaction ID.
16525
+ * @type {string}
16526
+ * @memberof VivaAppToAppInitResponseDto
16527
+ */
16528
+ 'ISV_clientTransactionId'?: string;
16529
+ }
16530
+ /**
16531
+ *
16532
+ * @export
16533
+ * @enum {string}
16534
+ */
16535
+ export declare const VivaAppToAppPaymentMethod: {
16536
+ readonly CardPresent: "CardPresent";
16537
+ readonly Moto: "MOTO";
16538
+ readonly QrDefault: "QrDefault";
16539
+ readonly AliPay: "AliPay";
16540
+ readonly Paypal: "Paypal";
16541
+ readonly Klarna: "Klarna";
16542
+ readonly Iris: "IRIS";
16543
+ readonly Blik: "BLIK";
16544
+ };
16545
+ export type VivaAppToAppPaymentMethod = typeof VivaAppToAppPaymentMethod[keyof typeof VivaAppToAppPaymentMethod];
16473
16546
  /**
16474
16547
  *
16475
16548
  * @export
@@ -16624,50 +16697,6 @@ export declare const VivaCurrencyCode: {
16624
16697
  readonly _946: "946";
16625
16698
  };
16626
16699
  export type VivaCurrencyCode = typeof VivaCurrencyCode[keyof typeof VivaCurrencyCode];
16627
- /**
16628
- *
16629
- * @export
16630
- * @interface VivaDevice
16631
- */
16632
- export interface VivaDevice {
16633
- /**
16634
- * The terminal ID for this transaction.
16635
- * @type {string}
16636
- * @memberof VivaDevice
16637
- */
16638
- 'terminalId': string;
16639
- /**
16640
- *
16641
- * @type {DeviceStatus}
16642
- * @memberof VivaDevice
16643
- */
16644
- 'statusId': DeviceStatus;
16645
- /**
16646
- * The source code of the business location.
16647
- * @type {string}
16648
- * @memberof VivaDevice
16649
- */
16650
- 'sourceCode': string;
16651
- /**
16652
- * The virtual terminal ID of the device.
16653
- * @type {string}
16654
- * @memberof VivaDevice
16655
- */
16656
- 'virtualTerminalId': string;
16657
- }
16658
- /**
16659
- *
16660
- * @export
16661
- * @interface VivaDiscoverDevicesDto
16662
- */
16663
- export interface VivaDiscoverDevicesDto {
16664
- /**
16665
- * The ordering business ID for this transaction.
16666
- * @type {number}
16667
- * @memberof VivaDiscoverDevicesDto
16668
- */
16669
- 'orderingBusinessId': number;
16670
- }
16671
16700
  /**
16672
16701
  *
16673
16702
  * @export
@@ -24039,22 +24068,6 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
24039
24068
  * @throws {RequiredError}
24040
24069
  */
24041
24070
  cancelNetsTerminalTransaction: (netsCancelTransactionDto: NetsCancelTransactionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24042
- /**
24043
- * Cancels a payment intent that has not yet been captured, releasing the authorization hold on customer funds.
24044
- * @summary Cancel a Stripe payment intent
24045
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to cancel
24046
- * @param {*} [options] Override http request option.
24047
- * @throws {RequiredError}
24048
- */
24049
- cancelStripePayment: (paymentIntentIdDto: PaymentIntentIdDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24050
- /**
24051
- * Cancels a Viva transaction.
24052
- * @summary Cancel a Viva transaction
24053
- * @param {VivaCancelTransactionDto} vivaCancelTransactionDto Payload to cancel a Viva transaction.
24054
- * @param {*} [options] Override http request option.
24055
- * @throws {RequiredError}
24056
- */
24057
- cancelTransaction: (vivaCancelTransactionDto: VivaCancelTransactionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24058
24071
  /**
24059
24072
  * Initiates a request to cancel a Viva payment.
24060
24073
  * @summary Request Viva payment cancellation
@@ -24063,14 +24076,6 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
24063
24076
  * @throws {RequiredError}
24064
24077
  */
24065
24078
  cancelVivaTransactionV2: (vivaCancelTransactionDto: VivaCancelTransactionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24066
- /**
24067
- * Captures a previously authorized payment intent, transferring funds from the customer to your account.
24068
- * @summary Capture a Stripe payment intent
24069
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to capture
24070
- * @param {*} [options] Override http request option.
24071
- * @throws {RequiredError}
24072
- */
24073
- captureStripePayment: (paymentIntentIdDto: PaymentIntentIdDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24074
24079
  /**
24075
24080
  * Refund a nets transaction
24076
24081
  * @summary Refund a nets transaction
@@ -24079,15 +24084,6 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
24079
24084
  * @throws {RequiredError}
24080
24085
  */
24081
24086
  createNetsRefundTransaction: (createRefundDto: CreateRefundDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24082
- /**
24083
- * Creates a new Viva payment intent.
24084
- * @summary Create Viva payment
24085
- * @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
24086
- * @param {*} [options] Override http request option.
24087
- * @deprecated
24088
- * @throws {RequiredError}
24089
- */
24090
- createVivaPayment: (vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24091
24087
  /**
24092
24088
  * Creates a new Viva payment intent.
24093
24089
  * @summary Create Viva payment
@@ -24097,21 +24093,13 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
24097
24093
  */
24098
24094
  createVivaPaymentV3: (vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24099
24095
  /**
24100
- * Retrieves a list of available Viva payment devices for the associated merchant.
24101
- * @summary Discover Viva payment devices
24102
- * @param {VivaDiscoverDevicesDto} vivaDiscoverDevicesDto Payload to specify discovery criteria for Viva devices.
24103
- * @param {*} [options] Override http request option.
24104
- * @throws {RequiredError}
24105
- */
24106
- discoverDevices: (vivaDiscoverDevicesDto: VivaDiscoverDevicesDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24107
- /**
24108
- * Retrieves a connection token for the specified business.
24109
- * @summary Get connection token
24110
- * @param {ConnectionTokenPayloadDto} connectionTokenPayloadDto Connection token payload
24096
+ * Retrieves the refund reference for a specific transaction.
24097
+ * @summary Get refund reference for a transaction
24098
+ * @param {GetPaymentReferenceDto} getPaymentReferenceDto Payment reference query parameters
24111
24099
  * @param {*} [options] Override http request option.
24112
24100
  * @throws {RequiredError}
24113
24101
  */
24114
- getConnectionToken: (connectionTokenPayloadDto: ConnectionTokenPayloadDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24102
+ getPaymentReference: (getPaymentReferenceDto: GetPaymentReferenceDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24115
24103
  /**
24116
24104
  * Retrieves the current status of a payment transaction by its reference ID.
24117
24105
  * @summary Get payment status
@@ -24120,14 +24108,6 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
24120
24108
  * @throws {RequiredError}
24121
24109
  */
24122
24110
  getPaymentStatus: (getPaymentStatusDto: GetPaymentStatusDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24123
- /**
24124
- * Retrieves a Stripe Terminal connection token for the specified business. This token is required to initialize the Stripe Terminal SDK.
24125
- * @summary Get Stripe Terminal connection token
24126
- * @param {string} businessId Unique identifier for the business
24127
- * @param {*} [options] Override http request option.
24128
- * @throws {RequiredError}
24129
- */
24130
- getToken: (businessId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24131
24111
  /**
24132
24112
  * Initiate a terminal transaction
24133
24113
  * @summary Initiate a terminal transaction
@@ -24214,22 +24194,6 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
24214
24194
  * @throws {RequiredError}
24215
24195
  */
24216
24196
  cancelNetsTerminalTransaction(netsCancelTransactionDto: NetsCancelTransactionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
24217
- /**
24218
- * Cancels a payment intent that has not yet been captured, releasing the authorization hold on customer funds.
24219
- * @summary Cancel a Stripe payment intent
24220
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to cancel
24221
- * @param {*} [options] Override http request option.
24222
- * @throws {RequiredError}
24223
- */
24224
- cancelStripePayment(paymentIntentIdDto: PaymentIntentIdDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePaymentIntentDto>>;
24225
- /**
24226
- * Cancels a Viva transaction.
24227
- * @summary Cancel a Viva transaction
24228
- * @param {VivaCancelTransactionDto} vivaCancelTransactionDto Payload to cancel a Viva transaction.
24229
- * @param {*} [options] Override http request option.
24230
- * @throws {RequiredError}
24231
- */
24232
- cancelTransaction(vivaCancelTransactionDto: VivaCancelTransactionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
24233
24197
  /**
24234
24198
  * Initiates a request to cancel a Viva payment.
24235
24199
  * @summary Request Viva payment cancellation
@@ -24238,14 +24202,6 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
24238
24202
  * @throws {RequiredError}
24239
24203
  */
24240
24204
  cancelVivaTransactionV2(vivaCancelTransactionDto: VivaCancelTransactionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
24241
- /**
24242
- * Captures a previously authorized payment intent, transferring funds from the customer to your account.
24243
- * @summary Capture a Stripe payment intent
24244
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to capture
24245
- * @param {*} [options] Override http request option.
24246
- * @throws {RequiredError}
24247
- */
24248
- captureStripePayment(paymentIntentIdDto: PaymentIntentIdDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePaymentIntentDto>>;
24249
24205
  /**
24250
24206
  * Refund a nets transaction
24251
24207
  * @summary Refund a nets transaction
@@ -24254,15 +24210,6 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
24254
24210
  * @throws {RequiredError}
24255
24211
  */
24256
24212
  createNetsRefundTransaction(createRefundDto: CreateRefundDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNetsRefundResponseDto>>;
24257
- /**
24258
- * Creates a new Viva payment intent.
24259
- * @summary Create Viva payment
24260
- * @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
24261
- * @param {*} [options] Override http request option.
24262
- * @deprecated
24263
- * @throws {RequiredError}
24264
- */
24265
- createVivaPayment(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VivaPaymentIntent>>;
24266
24213
  /**
24267
24214
  * Creates a new Viva payment intent.
24268
24215
  * @summary Create Viva payment
@@ -24272,21 +24219,13 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
24272
24219
  */
24273
24220
  createVivaPaymentV3(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VivaPaymentIntent>>;
24274
24221
  /**
24275
- * Retrieves a list of available Viva payment devices for the associated merchant.
24276
- * @summary Discover Viva payment devices
24277
- * @param {VivaDiscoverDevicesDto} vivaDiscoverDevicesDto Payload to specify discovery criteria for Viva devices.
24278
- * @param {*} [options] Override http request option.
24279
- * @throws {RequiredError}
24280
- */
24281
- discoverDevices(vivaDiscoverDevicesDto: VivaDiscoverDevicesDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VivaDevice>>>;
24282
- /**
24283
- * Retrieves a connection token for the specified business.
24284
- * @summary Get connection token
24285
- * @param {ConnectionTokenPayloadDto} connectionTokenPayloadDto Connection token payload
24222
+ * Retrieves the refund reference for a specific transaction.
24223
+ * @summary Get refund reference for a transaction
24224
+ * @param {GetPaymentReferenceDto} getPaymentReferenceDto Payment reference query parameters
24286
24225
  * @param {*} [options] Override http request option.
24287
24226
  * @throws {RequiredError}
24288
24227
  */
24289
- getConnectionToken(connectionTokenPayloadDto: ConnectionTokenPayloadDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectionTokenResponseDto>>;
24228
+ getPaymentReference(getPaymentReferenceDto: GetPaymentReferenceDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentReferenceResponseDto>>;
24290
24229
  /**
24291
24230
  * Retrieves the current status of a payment transaction by its reference ID.
24292
24231
  * @summary Get payment status
@@ -24295,14 +24234,6 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
24295
24234
  * @throws {RequiredError}
24296
24235
  */
24297
24236
  getPaymentStatus(getPaymentStatusDto: GetPaymentStatusDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentStatusDto>>;
24298
- /**
24299
- * Retrieves a Stripe Terminal connection token for the specified business. This token is required to initialize the Stripe Terminal SDK.
24300
- * @summary Get Stripe Terminal connection token
24301
- * @param {string} businessId Unique identifier for the business
24302
- * @param {*} [options] Override http request option.
24303
- * @throws {RequiredError}
24304
- */
24305
- getToken(businessId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeConnectionTokenDto>>;
24306
24237
  /**
24307
24238
  * Initiate a terminal transaction
24308
24239
  * @summary Initiate a terminal transaction
@@ -24389,22 +24320,6 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
24389
24320
  * @throws {RequiredError}
24390
24321
  */
24391
24322
  cancelNetsTerminalTransaction(netsCancelTransactionDto: NetsCancelTransactionDto, options?: any): AxiosPromise<void>;
24392
- /**
24393
- * Cancels a payment intent that has not yet been captured, releasing the authorization hold on customer funds.
24394
- * @summary Cancel a Stripe payment intent
24395
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to cancel
24396
- * @param {*} [options] Override http request option.
24397
- * @throws {RequiredError}
24398
- */
24399
- cancelStripePayment(paymentIntentIdDto: PaymentIntentIdDto, options?: any): AxiosPromise<StripePaymentIntentDto>;
24400
- /**
24401
- * Cancels a Viva transaction.
24402
- * @summary Cancel a Viva transaction
24403
- * @param {VivaCancelTransactionDto} vivaCancelTransactionDto Payload to cancel a Viva transaction.
24404
- * @param {*} [options] Override http request option.
24405
- * @throws {RequiredError}
24406
- */
24407
- cancelTransaction(vivaCancelTransactionDto: VivaCancelTransactionDto, options?: any): AxiosPromise<void>;
24408
24323
  /**
24409
24324
  * Initiates a request to cancel a Viva payment.
24410
24325
  * @summary Request Viva payment cancellation
@@ -24413,14 +24328,6 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
24413
24328
  * @throws {RequiredError}
24414
24329
  */
24415
24330
  cancelVivaTransactionV2(vivaCancelTransactionDto: VivaCancelTransactionDto, options?: any): AxiosPromise<void>;
24416
- /**
24417
- * Captures a previously authorized payment intent, transferring funds from the customer to your account.
24418
- * @summary Capture a Stripe payment intent
24419
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to capture
24420
- * @param {*} [options] Override http request option.
24421
- * @throws {RequiredError}
24422
- */
24423
- captureStripePayment(paymentIntentIdDto: PaymentIntentIdDto, options?: any): AxiosPromise<StripePaymentIntentDto>;
24424
24331
  /**
24425
24332
  * Refund a nets transaction
24426
24333
  * @summary Refund a nets transaction
@@ -24429,15 +24336,6 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
24429
24336
  * @throws {RequiredError}
24430
24337
  */
24431
24338
  createNetsRefundTransaction(createRefundDto: CreateRefundDto, options?: any): AxiosPromise<CreateNetsRefundResponseDto>;
24432
- /**
24433
- * Creates a new Viva payment intent.
24434
- * @summary Create Viva payment
24435
- * @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
24436
- * @param {*} [options] Override http request option.
24437
- * @deprecated
24438
- * @throws {RequiredError}
24439
- */
24440
- createVivaPayment(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: any): AxiosPromise<VivaPaymentIntent>;
24441
24339
  /**
24442
24340
  * Creates a new Viva payment intent.
24443
24341
  * @summary Create Viva payment
@@ -24447,21 +24345,13 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
24447
24345
  */
24448
24346
  createVivaPaymentV3(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: any): AxiosPromise<VivaPaymentIntent>;
24449
24347
  /**
24450
- * Retrieves a list of available Viva payment devices for the associated merchant.
24451
- * @summary Discover Viva payment devices
24452
- * @param {VivaDiscoverDevicesDto} vivaDiscoverDevicesDto Payload to specify discovery criteria for Viva devices.
24348
+ * Retrieves the refund reference for a specific transaction.
24349
+ * @summary Get refund reference for a transaction
24350
+ * @param {GetPaymentReferenceDto} getPaymentReferenceDto Payment reference query parameters
24453
24351
  * @param {*} [options] Override http request option.
24454
24352
  * @throws {RequiredError}
24455
24353
  */
24456
- discoverDevices(vivaDiscoverDevicesDto: VivaDiscoverDevicesDto, options?: any): AxiosPromise<Array<VivaDevice>>;
24457
- /**
24458
- * Retrieves a connection token for the specified business.
24459
- * @summary Get connection token
24460
- * @param {ConnectionTokenPayloadDto} connectionTokenPayloadDto Connection token payload
24461
- * @param {*} [options] Override http request option.
24462
- * @throws {RequiredError}
24463
- */
24464
- getConnectionToken(connectionTokenPayloadDto: ConnectionTokenPayloadDto, options?: any): AxiosPromise<ConnectionTokenResponseDto>;
24354
+ getPaymentReference(getPaymentReferenceDto: GetPaymentReferenceDto, options?: any): AxiosPromise<PaymentReferenceResponseDto>;
24465
24355
  /**
24466
24356
  * Retrieves the current status of a payment transaction by its reference ID.
24467
24357
  * @summary Get payment status
@@ -24470,14 +24360,6 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
24470
24360
  * @throws {RequiredError}
24471
24361
  */
24472
24362
  getPaymentStatus(getPaymentStatusDto: GetPaymentStatusDto, options?: any): AxiosPromise<PaymentStatusDto>;
24473
- /**
24474
- * Retrieves a Stripe Terminal connection token for the specified business. This token is required to initialize the Stripe Terminal SDK.
24475
- * @summary Get Stripe Terminal connection token
24476
- * @param {string} businessId Unique identifier for the business
24477
- * @param {*} [options] Override http request option.
24478
- * @throws {RequiredError}
24479
- */
24480
- getToken(businessId: string, options?: any): AxiosPromise<StripeConnectionTokenDto>;
24481
24363
  /**
24482
24364
  * Initiate a terminal transaction
24483
24365
  * @summary Initiate a terminal transaction
@@ -24566,24 +24448,6 @@ export interface PaymentApiInterface {
24566
24448
  * @memberof PaymentApiInterface
24567
24449
  */
24568
24450
  cancelNetsTerminalTransaction(netsCancelTransactionDto: NetsCancelTransactionDto, options?: AxiosRequestConfig): AxiosPromise<void>;
24569
- /**
24570
- * Cancels a payment intent that has not yet been captured, releasing the authorization hold on customer funds.
24571
- * @summary Cancel a Stripe payment intent
24572
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to cancel
24573
- * @param {*} [options] Override http request option.
24574
- * @throws {RequiredError}
24575
- * @memberof PaymentApiInterface
24576
- */
24577
- cancelStripePayment(paymentIntentIdDto: PaymentIntentIdDto, options?: AxiosRequestConfig): AxiosPromise<StripePaymentIntentDto>;
24578
- /**
24579
- * Cancels a Viva transaction.
24580
- * @summary Cancel a Viva transaction
24581
- * @param {VivaCancelTransactionDto} vivaCancelTransactionDto Payload to cancel a Viva transaction.
24582
- * @param {*} [options] Override http request option.
24583
- * @throws {RequiredError}
24584
- * @memberof PaymentApiInterface
24585
- */
24586
- cancelTransaction(vivaCancelTransactionDto: VivaCancelTransactionDto, options?: AxiosRequestConfig): AxiosPromise<void>;
24587
24451
  /**
24588
24452
  * Initiates a request to cancel a Viva payment.
24589
24453
  * @summary Request Viva payment cancellation
@@ -24593,15 +24457,6 @@ export interface PaymentApiInterface {
24593
24457
  * @memberof PaymentApiInterface
24594
24458
  */
24595
24459
  cancelVivaTransactionV2(vivaCancelTransactionDto: VivaCancelTransactionDto, options?: AxiosRequestConfig): AxiosPromise<void>;
24596
- /**
24597
- * Captures a previously authorized payment intent, transferring funds from the customer to your account.
24598
- * @summary Capture a Stripe payment intent
24599
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to capture
24600
- * @param {*} [options] Override http request option.
24601
- * @throws {RequiredError}
24602
- * @memberof PaymentApiInterface
24603
- */
24604
- captureStripePayment(paymentIntentIdDto: PaymentIntentIdDto, options?: AxiosRequestConfig): AxiosPromise<StripePaymentIntentDto>;
24605
24460
  /**
24606
24461
  * Refund a nets transaction
24607
24462
  * @summary Refund a nets transaction
@@ -24611,16 +24466,6 @@ export interface PaymentApiInterface {
24611
24466
  * @memberof PaymentApiInterface
24612
24467
  */
24613
24468
  createNetsRefundTransaction(createRefundDto: CreateRefundDto, options?: AxiosRequestConfig): AxiosPromise<CreateNetsRefundResponseDto>;
24614
- /**
24615
- * Creates a new Viva payment intent.
24616
- * @summary Create Viva payment
24617
- * @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
24618
- * @param {*} [options] Override http request option.
24619
- * @deprecated
24620
- * @throws {RequiredError}
24621
- * @memberof PaymentApiInterface
24622
- */
24623
- createVivaPayment(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig): AxiosPromise<VivaPaymentIntent>;
24624
24469
  /**
24625
24470
  * Creates a new Viva payment intent.
24626
24471
  * @summary Create Viva payment
@@ -24631,23 +24476,14 @@ export interface PaymentApiInterface {
24631
24476
  */
24632
24477
  createVivaPaymentV3(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig): AxiosPromise<VivaPaymentIntent>;
24633
24478
  /**
24634
- * Retrieves a list of available Viva payment devices for the associated merchant.
24635
- * @summary Discover Viva payment devices
24636
- * @param {VivaDiscoverDevicesDto} vivaDiscoverDevicesDto Payload to specify discovery criteria for Viva devices.
24479
+ * Retrieves the refund reference for a specific transaction.
24480
+ * @summary Get refund reference for a transaction
24481
+ * @param {GetPaymentReferenceDto} getPaymentReferenceDto Payment reference query parameters
24637
24482
  * @param {*} [options] Override http request option.
24638
24483
  * @throws {RequiredError}
24639
24484
  * @memberof PaymentApiInterface
24640
24485
  */
24641
- discoverDevices(vivaDiscoverDevicesDto: VivaDiscoverDevicesDto, options?: AxiosRequestConfig): AxiosPromise<Array<VivaDevice>>;
24642
- /**
24643
- * Retrieves a connection token for the specified business.
24644
- * @summary Get connection token
24645
- * @param {ConnectionTokenPayloadDto} connectionTokenPayloadDto Connection token payload
24646
- * @param {*} [options] Override http request option.
24647
- * @throws {RequiredError}
24648
- * @memberof PaymentApiInterface
24649
- */
24650
- getConnectionToken(connectionTokenPayloadDto: ConnectionTokenPayloadDto, options?: AxiosRequestConfig): AxiosPromise<ConnectionTokenResponseDto>;
24486
+ getPaymentReference(getPaymentReferenceDto: GetPaymentReferenceDto, options?: AxiosRequestConfig): AxiosPromise<PaymentReferenceResponseDto>;
24651
24487
  /**
24652
24488
  * Retrieves the current status of a payment transaction by its reference ID.
24653
24489
  * @summary Get payment status
@@ -24657,15 +24493,6 @@ export interface PaymentApiInterface {
24657
24493
  * @memberof PaymentApiInterface
24658
24494
  */
24659
24495
  getPaymentStatus(getPaymentStatusDto: GetPaymentStatusDto, options?: AxiosRequestConfig): AxiosPromise<PaymentStatusDto>;
24660
- /**
24661
- * Retrieves a Stripe Terminal connection token for the specified business. This token is required to initialize the Stripe Terminal SDK.
24662
- * @summary Get Stripe Terminal connection token
24663
- * @param {string} businessId Unique identifier for the business
24664
- * @param {*} [options] Override http request option.
24665
- * @throws {RequiredError}
24666
- * @memberof PaymentApiInterface
24667
- */
24668
- getToken(businessId: string, options?: AxiosRequestConfig): AxiosPromise<StripeConnectionTokenDto>;
24669
24496
  /**
24670
24497
  * Initiate a terminal transaction
24671
24498
  * @summary Initiate a terminal transaction
@@ -24764,24 +24591,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
24764
24591
  * @memberof PaymentApi
24765
24592
  */
24766
24593
  cancelNetsTerminalTransaction(netsCancelTransactionDto: NetsCancelTransactionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24767
- /**
24768
- * Cancels a payment intent that has not yet been captured, releasing the authorization hold on customer funds.
24769
- * @summary Cancel a Stripe payment intent
24770
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to cancel
24771
- * @param {*} [options] Override http request option.
24772
- * @throws {RequiredError}
24773
- * @memberof PaymentApi
24774
- */
24775
- cancelStripePayment(paymentIntentIdDto: PaymentIntentIdDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StripePaymentIntentDto, any, {}>>;
24776
- /**
24777
- * Cancels a Viva transaction.
24778
- * @summary Cancel a Viva transaction
24779
- * @param {VivaCancelTransactionDto} vivaCancelTransactionDto Payload to cancel a Viva transaction.
24780
- * @param {*} [options] Override http request option.
24781
- * @throws {RequiredError}
24782
- * @memberof PaymentApi
24783
- */
24784
- cancelTransaction(vivaCancelTransactionDto: VivaCancelTransactionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24785
24594
  /**
24786
24595
  * Initiates a request to cancel a Viva payment.
24787
24596
  * @summary Request Viva payment cancellation
@@ -24791,15 +24600,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
24791
24600
  * @memberof PaymentApi
24792
24601
  */
24793
24602
  cancelVivaTransactionV2(vivaCancelTransactionDto: VivaCancelTransactionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24794
- /**
24795
- * Captures a previously authorized payment intent, transferring funds from the customer to your account.
24796
- * @summary Capture a Stripe payment intent
24797
- * @param {PaymentIntentIdDto} paymentIntentIdDto Payment intent ID to capture
24798
- * @param {*} [options] Override http request option.
24799
- * @throws {RequiredError}
24800
- * @memberof PaymentApi
24801
- */
24802
- captureStripePayment(paymentIntentIdDto: PaymentIntentIdDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StripePaymentIntentDto, any, {}>>;
24803
24603
  /**
24804
24604
  * Refund a nets transaction
24805
24605
  * @summary Refund a nets transaction
@@ -24809,16 +24609,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
24809
24609
  * @memberof PaymentApi
24810
24610
  */
24811
24611
  createNetsRefundTransaction(createRefundDto: CreateRefundDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateNetsRefundResponseDto, any, {}>>;
24812
- /**
24813
- * Creates a new Viva payment intent.
24814
- * @summary Create Viva payment
24815
- * @param {VivaCreatePaymentDto} vivaCreatePaymentDto Viva payment creation payload
24816
- * @param {*} [options] Override http request option.
24817
- * @deprecated
24818
- * @throws {RequiredError}
24819
- * @memberof PaymentApi
24820
- */
24821
- createVivaPayment(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentIntent, any, {}>>;
24822
24612
  /**
24823
24613
  * Creates a new Viva payment intent.
24824
24614
  * @summary Create Viva payment
@@ -24829,23 +24619,14 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
24829
24619
  */
24830
24620
  createVivaPaymentV3(vivaCreatePaymentDto: VivaCreatePaymentDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentIntent, any, {}>>;
24831
24621
  /**
24832
- * Retrieves a list of available Viva payment devices for the associated merchant.
24833
- * @summary Discover Viva payment devices
24834
- * @param {VivaDiscoverDevicesDto} vivaDiscoverDevicesDto Payload to specify discovery criteria for Viva devices.
24622
+ * Retrieves the refund reference for a specific transaction.
24623
+ * @summary Get refund reference for a transaction
24624
+ * @param {GetPaymentReferenceDto} getPaymentReferenceDto Payment reference query parameters
24835
24625
  * @param {*} [options] Override http request option.
24836
24626
  * @throws {RequiredError}
24837
24627
  * @memberof PaymentApi
24838
24628
  */
24839
- discoverDevices(vivaDiscoverDevicesDto: VivaDiscoverDevicesDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaDevice[], any, {}>>;
24840
- /**
24841
- * Retrieves a connection token for the specified business.
24842
- * @summary Get connection token
24843
- * @param {ConnectionTokenPayloadDto} connectionTokenPayloadDto Connection token payload
24844
- * @param {*} [options] Override http request option.
24845
- * @throws {RequiredError}
24846
- * @memberof PaymentApi
24847
- */
24848
- getConnectionToken(connectionTokenPayloadDto: ConnectionTokenPayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConnectionTokenResponseDto, any, {}>>;
24629
+ getPaymentReference(getPaymentReferenceDto: GetPaymentReferenceDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentReferenceResponseDto, any, {}>>;
24849
24630
  /**
24850
24631
  * Retrieves the current status of a payment transaction by its reference ID.
24851
24632
  * @summary Get payment status
@@ -24855,15 +24636,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
24855
24636
  * @memberof PaymentApi
24856
24637
  */
24857
24638
  getPaymentStatus(getPaymentStatusDto: GetPaymentStatusDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentStatusDto, any, {}>>;
24858
- /**
24859
- * Retrieves a Stripe Terminal connection token for the specified business. This token is required to initialize the Stripe Terminal SDK.
24860
- * @summary Get Stripe Terminal connection token
24861
- * @param {string} businessId Unique identifier for the business
24862
- * @param {*} [options] Override http request option.
24863
- * @throws {RequiredError}
24864
- * @memberof PaymentApi
24865
- */
24866
- getToken(businessId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StripeConnectionTokenDto, any, {}>>;
24867
24639
  /**
24868
24640
  * Initiate a terminal transaction
24869
24641
  * @summary Initiate a terminal transaction
@@ -26762,6 +26534,81 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
26762
26534
  */
26763
26535
  updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
26764
26536
  }
26537
+ /**
26538
+ * VivaApi - axios parameter creator
26539
+ * @export
26540
+ */
26541
+ export declare const VivaApiAxiosParamCreator: (configuration?: Configuration) => {
26542
+ /**
26543
+ *
26544
+ * @summary Create Viva app-to-app payment
26545
+ * @param {CreateTerminalPaymentDto} createTerminalPaymentDto
26546
+ * @param {*} [options] Override http request option.
26547
+ * @throws {RequiredError}
26548
+ */
26549
+ createVivaAppToAppPayment: (createTerminalPaymentDto: CreateTerminalPaymentDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26550
+ };
26551
+ /**
26552
+ * VivaApi - functional programming interface
26553
+ * @export
26554
+ */
26555
+ export declare const VivaApiFp: (configuration?: Configuration) => {
26556
+ /**
26557
+ *
26558
+ * @summary Create Viva app-to-app payment
26559
+ * @param {CreateTerminalPaymentDto} createTerminalPaymentDto
26560
+ * @param {*} [options] Override http request option.
26561
+ * @throws {RequiredError}
26562
+ */
26563
+ createVivaAppToAppPayment(createTerminalPaymentDto: CreateTerminalPaymentDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VivaAppToAppInitResponseDto>>;
26564
+ };
26565
+ /**
26566
+ * VivaApi - factory interface
26567
+ * @export
26568
+ */
26569
+ export declare const VivaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26570
+ /**
26571
+ *
26572
+ * @summary Create Viva app-to-app payment
26573
+ * @param {CreateTerminalPaymentDto} createTerminalPaymentDto
26574
+ * @param {*} [options] Override http request option.
26575
+ * @throws {RequiredError}
26576
+ */
26577
+ createVivaAppToAppPayment(createTerminalPaymentDto: CreateTerminalPaymentDto, options?: any): AxiosPromise<VivaAppToAppInitResponseDto>;
26578
+ };
26579
+ /**
26580
+ * VivaApi - interface
26581
+ * @export
26582
+ * @interface VivaApi
26583
+ */
26584
+ export interface VivaApiInterface {
26585
+ /**
26586
+ *
26587
+ * @summary Create Viva app-to-app payment
26588
+ * @param {CreateTerminalPaymentDto} createTerminalPaymentDto
26589
+ * @param {*} [options] Override http request option.
26590
+ * @throws {RequiredError}
26591
+ * @memberof VivaApiInterface
26592
+ */
26593
+ createVivaAppToAppPayment(createTerminalPaymentDto: CreateTerminalPaymentDto, options?: AxiosRequestConfig): AxiosPromise<VivaAppToAppInitResponseDto>;
26594
+ }
26595
+ /**
26596
+ * VivaApi - object-oriented interface
26597
+ * @export
26598
+ * @class VivaApi
26599
+ * @extends {BaseAPI}
26600
+ */
26601
+ export declare class VivaApi extends BaseAPI implements VivaApiInterface {
26602
+ /**
26603
+ *
26604
+ * @summary Create Viva app-to-app payment
26605
+ * @param {CreateTerminalPaymentDto} createTerminalPaymentDto
26606
+ * @param {*} [options] Override http request option.
26607
+ * @throws {RequiredError}
26608
+ * @memberof VivaApi
26609
+ */
26610
+ createVivaAppToAppPayment(createTerminalPaymentDto: CreateTerminalPaymentDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaAppToAppInitResponseDto, any, {}>>;
26611
+ }
26765
26612
  /**
26766
26613
  * WebhookApi - axios parameter creator
26767
26614
  * @export