@munchi_oy/core 1.9.39 → 1.9.40

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.
@@ -3360,6 +3360,61 @@ export interface CreateLoyaltyProgramUserResponseDto {
3360
3360
  */
3361
3361
  'loyaltyAccount': LoyaltyAccountDto;
3362
3362
  }
3363
+ /**
3364
+ *
3365
+ * @export
3366
+ * @interface CreateManualSessionDto
3367
+ */
3368
+ export interface CreateManualSessionDto {
3369
+ /**
3370
+ * The internal business ID.
3371
+ * @type {number}
3372
+ * @memberof CreateManualSessionDto
3373
+ */
3374
+ 'businessId': number;
3375
+ /**
3376
+ * The POS order ID this payment session is for.
3377
+ * @type {string}
3378
+ * @memberof CreateManualSessionDto
3379
+ */
3380
+ 'orderId': string;
3381
+ /**
3382
+ * Amount to record in smallest currency unit (cents).
3383
+ * @type {number}
3384
+ * @memberof CreateManualSessionDto
3385
+ */
3386
+ 'amount': number;
3387
+ /**
3388
+ * Manual payment method (Cash, Voucher, CardManual, EdenredManual, GiftCard, …). Card paymethods (Card/Debit/Credit/Edenred — see CLOUD_CARD_PAYMETHOD) go through a gateway initiate, not here.
3389
+ * @type {string}
3390
+ * @memberof CreateManualSessionDto
3391
+ */
3392
+ 'paymethod': string;
3393
+ /**
3394
+ *
3395
+ * @type {PaymentProvider}
3396
+ * @memberof CreateManualSessionDto
3397
+ */
3398
+ 'provider': PaymentProvider;
3399
+ /**
3400
+ * Tip amount in smallest currency unit (cents).
3401
+ * @type {number}
3402
+ * @memberof CreateManualSessionDto
3403
+ */
3404
+ 'tipAmount'?: number;
3405
+ /**
3406
+ *
3407
+ * @type {InitiateVivaSessionDtoSplitContext}
3408
+ * @memberof CreateManualSessionDto
3409
+ */
3410
+ 'splitContext'?: InitiateVivaSessionDtoSplitContext;
3411
+ /**
3412
+ * Arbitrary client metadata persisted on the session (e.g. voucher code, gift card id, employee id, external reference, notes). Surfaced to reconciliation when building the order paymentEvent.
3413
+ * @type {object}
3414
+ * @memberof CreateManualSessionDto
3415
+ */
3416
+ 'metadata'?: object;
3417
+ }
3363
3418
  /**
3364
3419
  *
3365
3420
  * @export
@@ -5107,10 +5162,10 @@ export interface ExtendedProductDto {
5107
5162
  'display_photo'?: boolean;
5108
5163
  /**
5109
5164
  *
5110
- * @type {ExtendedProductDtoReportingCategory}
5165
+ * @type {PosOrderItemDtoReportingCategory}
5111
5166
  * @memberof ExtendedProductDto
5112
5167
  */
5113
- 'reporting_category'?: ExtendedProductDtoReportingCategory | null;
5168
+ 'reporting_category'?: PosOrderItemDtoReportingCategory | null;
5114
5169
  /**
5115
5170
  * Indicates if the product is inventoried in POS
5116
5171
  * @type {boolean}
@@ -5142,49 +5197,6 @@ export interface ExtendedProductDto {
5142
5197
  */
5143
5198
  'default_course_name'?: string | null;
5144
5199
  }
5145
- /**
5146
- * Reporting category details
5147
- * @export
5148
- * @interface ExtendedProductDtoReportingCategory
5149
- */
5150
- export interface ExtendedProductDtoReportingCategory {
5151
- /**
5152
- * Reporting Category ID
5153
- * @type {number}
5154
- * @memberof ExtendedProductDtoReportingCategory
5155
- */
5156
- 'id': number;
5157
- /**
5158
- * Business ID
5159
- * @type {string}
5160
- * @memberof ExtendedProductDtoReportingCategory
5161
- */
5162
- 'business_id': string;
5163
- /**
5164
- * Reporting Category Name
5165
- * @type {string}
5166
- * @memberof ExtendedProductDtoReportingCategory
5167
- */
5168
- 'reporting_category_name': string;
5169
- /**
5170
- * Index/Order
5171
- * @type {number}
5172
- * @memberof ExtendedProductDtoReportingCategory
5173
- */
5174
- 'index': number;
5175
- /**
5176
- * Created at timestamp
5177
- * @type {string}
5178
- * @memberof ExtendedProductDtoReportingCategory
5179
- */
5180
- 'created_at': string;
5181
- /**
5182
- * Updated at timestamp
5183
- * @type {string}
5184
- * @memberof ExtendedProductDtoReportingCategory
5185
- */
5186
- 'updated_at': string;
5187
- }
5188
5200
  /**
5189
5201
  *
5190
5202
  * @export
@@ -5603,6 +5615,25 @@ export interface GetPaymentStatusDto {
5603
5615
  */
5604
5616
  'orderId'?: string;
5605
5617
  }
5618
+ /**
5619
+ *
5620
+ * @export
5621
+ * @interface GetPosOrderDto
5622
+ */
5623
+ export interface GetPosOrderDto {
5624
+ /**
5625
+ * Id of the business
5626
+ * @type {number}
5627
+ * @memberof GetPosOrderDto
5628
+ */
5629
+ 'businessId': number;
5630
+ /**
5631
+ * Id of the order
5632
+ * @type {string}
5633
+ * @memberof GetPosOrderDto
5634
+ */
5635
+ 'orderId': string;
5636
+ }
5606
5637
  /**
5607
5638
  *
5608
5639
  * @export
@@ -5876,6 +5907,210 @@ export interface InitiateNetsTerminalPaymentResponseDto {
5876
5907
  */
5877
5908
  'connectCloudRequestId': string;
5878
5909
  }
5910
+ /**
5911
+ *
5912
+ * @export
5913
+ * @interface InitiateVivaSessionDto
5914
+ */
5915
+ export interface InitiateVivaSessionDto {
5916
+ /**
5917
+ * The internal business ID.
5918
+ * @type {number}
5919
+ * @memberof InitiateVivaSessionDto
5920
+ */
5921
+ 'businessId': number;
5922
+ /**
5923
+ * The POS order ID this payment session is for.
5924
+ * @type {string}
5925
+ * @memberof InitiateVivaSessionDto
5926
+ */
5927
+ 'orderId': string;
5928
+ /**
5929
+ * Amount to charge in smallest currency unit (cents).
5930
+ * @type {number}
5931
+ * @memberof InitiateVivaSessionDto
5932
+ */
5933
+ 'amount': number;
5934
+ /**
5935
+ *
5936
+ * @type {InitiateVivaSessionDtoSplitContext}
5937
+ * @memberof InitiateVivaSessionDto
5938
+ */
5939
+ 'splitContext'?: InitiateVivaSessionDtoSplitContext;
5940
+ }
5941
+ /**
5942
+ * Split context. Omit for a full-cart payment, or send { mode, partId|seatId } for a split. Must match the order\'s checkoutModel.
5943
+ * @export
5944
+ * @interface InitiateVivaSessionDtoSplitContext
5945
+ */
5946
+ export interface InitiateVivaSessionDtoSplitContext {
5947
+ /**
5948
+ *
5949
+ * @type {CheckoutModelEnum}
5950
+ * @memberof InitiateVivaSessionDtoSplitContext
5951
+ */
5952
+ 'mode': CheckoutModelEnum;
5953
+ /**
5954
+ * Equal-split part id. Required when mode=EQUAL_SPLIT; ignored otherwise.
5955
+ * @type {string}
5956
+ * @memberof InitiateVivaSessionDtoSplitContext
5957
+ */
5958
+ 'partId'?: string;
5959
+ /**
5960
+ * Item-split seat id. Required when mode=ITEM_SPLIT; ignored otherwise.
5961
+ * @type {string}
5962
+ * @memberof InitiateVivaSessionDtoSplitContext
5963
+ */
5964
+ 'seatId'?: string;
5965
+ }
5966
+ /**
5967
+ *
5968
+ * @export
5969
+ * @interface InitiateVivaSessionResponseDto
5970
+ */
5971
+ export interface InitiateVivaSessionResponseDto {
5972
+ /**
5973
+ * Opaque token returned to the client. Used by the client to poll/sync the session. Never sent to Viva.
5974
+ * @type {string}
5975
+ * @memberof InitiateVivaSessionResponseDto
5976
+ */
5977
+ 'clientToken': string;
5978
+ /**
5979
+ * Internal session ID sent to Viva for the transaction.
5980
+ * @type {string}
5981
+ * @memberof InitiateVivaSessionResponseDto
5982
+ */
5983
+ 'sessionId': string;
5984
+ /**
5985
+ *
5986
+ * @type {InitiateVivaSessionResponseDtoVivaIntent}
5987
+ * @memberof InitiateVivaSessionResponseDto
5988
+ */
5989
+ 'vivaIntent': InitiateVivaSessionResponseDtoVivaIntent;
5990
+ }
5991
+ /**
5992
+ * Viva payment intent returned by Viva createTransaction.
5993
+ * @export
5994
+ * @interface InitiateVivaSessionResponseDtoVivaIntent
5995
+ */
5996
+ export interface InitiateVivaSessionResponseDtoVivaIntent {
5997
+ /**
5998
+ * The session ID for the transaction.
5999
+ * @type {string}
6000
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6001
+ */
6002
+ 'sessionId': string;
6003
+ /**
6004
+ * The terminal ID initiating the transaction.
6005
+ * @type {string}
6006
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6007
+ */
6008
+ 'terminalId': string;
6009
+ /**
6010
+ * The cash register ID associated with the transaction.
6011
+ * @type {string}
6012
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6013
+ */
6014
+ 'cashRegisterId': string;
6015
+ /**
6016
+ * The amount of the transaction.
6017
+ * @type {number}
6018
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6019
+ */
6020
+ 'amount': number;
6021
+ /**
6022
+ * The currency code for the transaction amount.
6023
+ * @type {string}
6024
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6025
+ */
6026
+ 'currencyCode': CurrencyCodeEnum;
6027
+ /**
6028
+ * A reference for the merchant.
6029
+ * @type {string}
6030
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6031
+ */
6032
+ 'merchantReference'?: string;
6033
+ /**
6034
+ * A human-readable description for the customer statement.
6035
+ * @type {string}
6036
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6037
+ */
6038
+ 'customerTrns'?: string;
6039
+ /**
6040
+ * The tip amount included in the transaction.
6041
+ * @type {number}
6042
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6043
+ */
6044
+ 'tipAmount': number;
6045
+ /**
6046
+ * Indicates if the transaction is a preauthorization.
6047
+ * @type {boolean}
6048
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6049
+ */
6050
+ 'preauth': boolean;
6051
+ /**
6052
+ * Whether to show the transaction result on the terminal.
6053
+ * @type {boolean}
6054
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6055
+ */
6056
+ 'showTransactionResult': boolean;
6057
+ /**
6058
+ * Whether to show the receipt on the terminal.
6059
+ * @type {boolean}
6060
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6061
+ */
6062
+ 'showReceipt': boolean;
6063
+ /**
6064
+ *
6065
+ * @type {VivaPaymentResultDtoIsvDetails}
6066
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6067
+ */
6068
+ 'isvDetails'?: VivaPaymentResultDtoIsvDetails;
6069
+ /**
6070
+ * Whether to skip applying a surcharge to the transaction.
6071
+ * @type {boolean}
6072
+ * @memberof InitiateVivaSessionResponseDtoVivaIntent
6073
+ */
6074
+ 'skipSurcharge': boolean;
6075
+ }
6076
+ export declare const CurrencyCodeEnum: {
6077
+ readonly _978: "978";
6078
+ readonly _840: "840";
6079
+ readonly _826: "826";
6080
+ readonly _392: "392";
6081
+ readonly _036: "036";
6082
+ readonly _124: "124";
6083
+ readonly _756: "756";
6084
+ readonly _156: "156";
6085
+ readonly _344: "344";
6086
+ readonly _554: "554";
6087
+ readonly _752: "752";
6088
+ readonly _410: "410";
6089
+ readonly _702: "702";
6090
+ readonly _578: "578";
6091
+ readonly _484: "484";
6092
+ readonly _356: "356";
6093
+ readonly _643: "643";
6094
+ readonly _710: "710";
6095
+ readonly _949: "949";
6096
+ readonly _986: "986";
6097
+ readonly _901: "901";
6098
+ readonly _208: "208";
6099
+ readonly _985: "985";
6100
+ readonly _764: "764";
6101
+ readonly _360: "360";
6102
+ readonly _348: "348";
6103
+ readonly _203: "203";
6104
+ readonly _376: "376";
6105
+ readonly _152: "152";
6106
+ readonly _608: "608";
6107
+ readonly _784: "784";
6108
+ readonly _170: "170";
6109
+ readonly _682: "682";
6110
+ readonly _458: "458";
6111
+ readonly _946: "946";
6112
+ };
6113
+ export type CurrencyCodeEnum = typeof CurrencyCodeEnum[keyof typeof CurrencyCodeEnum];
5879
6114
  /**
5880
6115
  *
5881
6116
  * @export
@@ -11179,6 +11414,9 @@ export declare const PaymentMethod: {
11179
11414
  readonly Jpn: "JPN";
11180
11415
  readonly NineLives: "NineLives";
11181
11416
  readonly Trade: "Trade";
11417
+ readonly Exchange: "Exchange";
11418
+ readonly Tilisiirto: "Tilisiirto";
11419
+ readonly LoyaltyPoints: "LoyaltyPoints";
11182
11420
  };
11183
11421
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
11184
11422
  /**
@@ -11843,6 +12081,110 @@ export interface PaymentRefundLineAllocationDto {
11843
12081
  */
11844
12082
  'quantity': number;
11845
12083
  }
12084
+ /**
12085
+ *
12086
+ * @export
12087
+ * @enum {string}
12088
+ */
12089
+ export declare const PaymentSessionStatus: {
12090
+ readonly Initiated: "INITIATED";
12091
+ readonly Processing: "PROCESSING";
12092
+ readonly Success: "SUCCESS";
12093
+ readonly Failed: "FAILED";
12094
+ readonly Cancelled: "CANCELLED";
12095
+ readonly Closed: "CLOSED";
12096
+ readonly Voiding: "VOIDING";
12097
+ readonly Voided: "VOIDED";
12098
+ readonly VoidFailed: "VOID_FAILED";
12099
+ readonly Refunding: "REFUNDING";
12100
+ readonly Refunded: "REFUNDED";
12101
+ };
12102
+ export type PaymentSessionStatus = typeof PaymentSessionStatus[keyof typeof PaymentSessionStatus];
12103
+ /**
12104
+ *
12105
+ * @export
12106
+ * @interface PaymentSessionViewDto
12107
+ */
12108
+ export interface PaymentSessionViewDto {
12109
+ /**
12110
+ * Opaque client token.
12111
+ * @type {string}
12112
+ * @memberof PaymentSessionViewDto
12113
+ */
12114
+ 'clientToken': string;
12115
+ /**
12116
+ * Internal session ID.
12117
+ * @type {string}
12118
+ * @memberof PaymentSessionViewDto
12119
+ */
12120
+ 'sessionId': string;
12121
+ /**
12122
+ * Viva transaction ID set after webhook completes.
12123
+ * @type {string}
12124
+ * @memberof PaymentSessionViewDto
12125
+ */
12126
+ 'providerTransactionId'?: string;
12127
+ /**
12128
+ *
12129
+ * @type {PaymentSessionStatus}
12130
+ * @memberof PaymentSessionViewDto
12131
+ */
12132
+ 'status': PaymentSessionStatus;
12133
+ /**
12134
+ * Amount in cents.
12135
+ * @type {number}
12136
+ * @memberof PaymentSessionViewDto
12137
+ */
12138
+ 'amount': number;
12139
+ /**
12140
+ * Currency.
12141
+ * @type {string}
12142
+ * @memberof PaymentSessionViewDto
12143
+ */
12144
+ 'currency': string;
12145
+ /**
12146
+ * Tip amount (cents).
12147
+ * @type {number}
12148
+ * @memberof PaymentSessionViewDto
12149
+ */
12150
+ 'tipAmount': number;
12151
+ /**
12152
+ * Surcharge amount (cents).
12153
+ * @type {number}
12154
+ * @memberof PaymentSessionViewDto
12155
+ */
12156
+ 'surchargeAmount': number;
12157
+ /**
12158
+ * Error code if failed.
12159
+ * @type {string}
12160
+ * @memberof PaymentSessionViewDto
12161
+ */
12162
+ 'errorCode'?: string;
12163
+ /**
12164
+ * Error message if failed.
12165
+ * @type {string}
12166
+ * @memberof PaymentSessionViewDto
12167
+ */
12168
+ 'errorMessage'?: string;
12169
+ /**
12170
+ *
12171
+ * @type {string}
12172
+ * @memberof PaymentSessionViewDto
12173
+ */
12174
+ 'createdAt': string;
12175
+ /**
12176
+ *
12177
+ * @type {string}
12178
+ * @memberof PaymentSessionViewDto
12179
+ */
12180
+ 'updatedAt': string;
12181
+ /**
12182
+ *
12183
+ * @type {string}
12184
+ * @memberof PaymentSessionViewDto
12185
+ */
12186
+ 'closedAt'?: string;
12187
+ }
11846
12188
  /**
11847
12189
  *
11848
12190
  * @export
@@ -12717,10 +13059,10 @@ export interface PosItemDto {
12717
13059
  'display_photo'?: boolean;
12718
13060
  /**
12719
13061
  *
12720
- * @type {ExtendedProductDtoReportingCategory}
13062
+ * @type {PosOrderItemDtoReportingCategory}
12721
13063
  * @memberof PosItemDto
12722
13064
  */
12723
- 'reporting_category'?: ExtendedProductDtoReportingCategory | null;
13065
+ 'reporting_category'?: PosOrderItemDtoReportingCategory | null;
12724
13066
  /**
12725
13067
  * Indicates if the product is inventoried in POS
12726
13068
  * @type {boolean}
@@ -13393,10 +13735,10 @@ export interface PosOrderItemDto {
13393
13735
  'display_photo'?: boolean;
13394
13736
  /**
13395
13737
  *
13396
- * @type {ExtendedProductDtoReportingCategory}
13738
+ * @type {PosOrderItemDtoReportingCategory}
13397
13739
  * @memberof PosOrderItemDto
13398
13740
  */
13399
- 'reporting_category'?: ExtendedProductDtoReportingCategory | null;
13741
+ 'reporting_category'?: PosOrderItemDtoReportingCategory | null;
13400
13742
  /**
13401
13743
  * Category ID of the item
13402
13744
  * @type {number}
@@ -13416,6 +13758,49 @@ export interface PosOrderItemDto {
13416
13758
  */
13417
13759
  'courseName'?: string | null;
13418
13760
  }
13761
+ /**
13762
+ * Reporting category details
13763
+ * @export
13764
+ * @interface PosOrderItemDtoReportingCategory
13765
+ */
13766
+ export interface PosOrderItemDtoReportingCategory {
13767
+ /**
13768
+ * Reporting Category ID
13769
+ * @type {number}
13770
+ * @memberof PosOrderItemDtoReportingCategory
13771
+ */
13772
+ 'id': number;
13773
+ /**
13774
+ * Business ID
13775
+ * @type {string}
13776
+ * @memberof PosOrderItemDtoReportingCategory
13777
+ */
13778
+ 'business_id': string;
13779
+ /**
13780
+ * Reporting Category Name
13781
+ * @type {string}
13782
+ * @memberof PosOrderItemDtoReportingCategory
13783
+ */
13784
+ 'reporting_category_name': string;
13785
+ /**
13786
+ * Index/Order
13787
+ * @type {number}
13788
+ * @memberof PosOrderItemDtoReportingCategory
13789
+ */
13790
+ 'index': number;
13791
+ /**
13792
+ * Created at timestamp
13793
+ * @type {string}
13794
+ * @memberof PosOrderItemDtoReportingCategory
13795
+ */
13796
+ 'created_at': string;
13797
+ /**
13798
+ * Updated at timestamp
13799
+ * @type {string}
13800
+ * @memberof PosOrderItemDtoReportingCategory
13801
+ */
13802
+ 'updated_at': string;
13803
+ }
13419
13804
  /**
13420
13805
  *
13421
13806
  * @export
@@ -16082,6 +16467,25 @@ export declare const ScopeEnum: {
16082
16467
  readonly Cart: "CART";
16083
16468
  };
16084
16469
  export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
16470
+ /**
16471
+ *
16472
+ * @export
16473
+ * @interface ReverseSessionDto
16474
+ */
16475
+ export interface ReverseSessionDto {
16476
+ /**
16477
+ * The payment session\'s sessionId (id B) — the same value stored as the order paymentEvent referenceId. Use it to void/refund a recorded payment (the clientToken is only held during the live pay flow).
16478
+ * @type {string}
16479
+ * @memberof ReverseSessionDto
16480
+ */
16481
+ 'sessionId': string;
16482
+ /**
16483
+ * Amount to refund in cents for a partial / item refund. Must be > 0 and <= the session\'s paid amount. Omit to refund the full session amount.
16484
+ * @type {number}
16485
+ * @memberof ReverseSessionDto
16486
+ */
16487
+ 'amount'?: number;
16488
+ }
16085
16489
  /**
16086
16490
  *
16087
16491
  * @export
@@ -16448,6 +16852,31 @@ export declare const SourceType: {
16448
16852
  readonly Ticket: "TICKET";
16449
16853
  };
16450
16854
  export type SourceType = typeof SourceType[keyof typeof SourceType];
16855
+ /**
16856
+ *
16857
+ * @export
16858
+ * @interface SplitContextDto
16859
+ */
16860
+ export interface SplitContextDto {
16861
+ /**
16862
+ *
16863
+ * @type {CheckoutModelEnum}
16864
+ * @memberof SplitContextDto
16865
+ */
16866
+ 'mode': CheckoutModelEnum;
16867
+ /**
16868
+ * Equal-split part id. Required when mode=EQUAL_SPLIT; ignored otherwise.
16869
+ * @type {string}
16870
+ * @memberof SplitContextDto
16871
+ */
16872
+ 'partId'?: string;
16873
+ /**
16874
+ * Item-split seat id. Required when mode=ITEM_SPLIT; ignored otherwise.
16875
+ * @type {string}
16876
+ * @memberof SplitContextDto
16877
+ */
16878
+ 'seatId'?: string;
16879
+ }
16451
16880
  /**
16452
16881
  *
16453
16882
  * @export
@@ -17084,10 +17513,10 @@ export type TableShape = typeof TableShape[keyof typeof TableShape];
17084
17513
  */
17085
17514
  export declare const TableStatus: {
17086
17515
  readonly Available: "AVAILABLE";
17087
- readonly Occupied: "OCCUPIED";
17088
17516
  readonly Dirty: "DIRTY";
17089
17517
  readonly Blocked: "BLOCKED";
17090
17518
  readonly OutOfService: "OUT_OF_SERVICE";
17519
+ readonly Occupied: "OCCUPIED";
17091
17520
  };
17092
17521
  export type TableStatus = typeof TableStatus[keyof typeof TableStatus];
17093
17522
  /**
@@ -19717,6 +20146,9 @@ export declare const NameEnum: {
19717
20146
  readonly Jpn: "JPN";
19718
20147
  readonly NineLives: "NineLives";
19719
20148
  readonly Trade: "Trade";
20149
+ readonly Exchange: "Exchange";
20150
+ readonly Tilisiirto: "Tilisiirto";
20151
+ readonly LoyaltyPoints: "LoyaltyPoints";
19720
20152
  };
19721
20153
  export type NameEnum = typeof NameEnum[keyof typeof NameEnum];
19722
20154
  /**
@@ -20797,44 +21229,6 @@ export interface VivaPaymentIntent {
20797
21229
  */
20798
21230
  'skipSurcharge': boolean;
20799
21231
  }
20800
- export declare const CurrencyCodeEnum: {
20801
- readonly _978: "978";
20802
- readonly _840: "840";
20803
- readonly _826: "826";
20804
- readonly _392: "392";
20805
- readonly _036: "036";
20806
- readonly _124: "124";
20807
- readonly _756: "756";
20808
- readonly _156: "156";
20809
- readonly _344: "344";
20810
- readonly _554: "554";
20811
- readonly _752: "752";
20812
- readonly _410: "410";
20813
- readonly _702: "702";
20814
- readonly _578: "578";
20815
- readonly _484: "484";
20816
- readonly _356: "356";
20817
- readonly _643: "643";
20818
- readonly _710: "710";
20819
- readonly _949: "949";
20820
- readonly _986: "986";
20821
- readonly _901: "901";
20822
- readonly _208: "208";
20823
- readonly _985: "985";
20824
- readonly _764: "764";
20825
- readonly _360: "360";
20826
- readonly _348: "348";
20827
- readonly _203: "203";
20828
- readonly _376: "376";
20829
- readonly _152: "152";
20830
- readonly _608: "608";
20831
- readonly _784: "784";
20832
- readonly _170: "170";
20833
- readonly _682: "682";
20834
- readonly _458: "458";
20835
- readonly _946: "946";
20836
- };
20837
- export type CurrencyCodeEnum = typeof CurrencyCodeEnum[keyof typeof CurrencyCodeEnum];
20838
21232
  /**
20839
21233
  *
20840
21234
  * @export
@@ -28977,6 +29371,14 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
28977
29371
  * @throws {RequiredError}
28978
29372
  */
28979
29373
  getParkedPosOrderV2: (businessId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
29374
+ /**
29375
+ *
29376
+ * @summary Get a single POS order from Firestore
29377
+ * @param {GetPosOrderDto} getPosOrderDto
29378
+ * @param {*} [options] Override http request option.
29379
+ * @throws {RequiredError}
29380
+ */
29381
+ getPosOrderById: (getPosOrderDto: GetPosOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28980
29382
  /**
28981
29383
  *
28982
29384
  * @summary Mark an order as ready for pickup/delivery
@@ -29082,6 +29484,14 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
29082
29484
  * @throws {RequiredError}
29083
29485
  */
29084
29486
  getParkedPosOrderV2(businessId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PosOrderDto>>>;
29487
+ /**
29488
+ *
29489
+ * @summary Get a single POS order from Firestore
29490
+ * @param {GetPosOrderDto} getPosOrderDto
29491
+ * @param {*} [options] Override http request option.
29492
+ * @throws {RequiredError}
29493
+ */
29494
+ getPosOrderById(getPosOrderDto: GetPosOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PosOrderDto>>;
29085
29495
  /**
29086
29496
  *
29087
29497
  * @summary Mark an order as ready for pickup/delivery
@@ -29187,6 +29597,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
29187
29597
  * @throws {RequiredError}
29188
29598
  */
29189
29599
  getParkedPosOrderV2(businessId: string, options?: any): AxiosPromise<Array<PosOrderDto>>;
29600
+ /**
29601
+ *
29602
+ * @summary Get a single POS order from Firestore
29603
+ * @param {GetPosOrderDto} getPosOrderDto
29604
+ * @param {*} [options] Override http request option.
29605
+ * @throws {RequiredError}
29606
+ */
29607
+ getPosOrderById(getPosOrderDto: GetPosOrderDto, options?: any): AxiosPromise<PosOrderDto>;
29190
29608
  /**
29191
29609
  *
29192
29610
  * @summary Mark an order as ready for pickup/delivery
@@ -29300,6 +29718,15 @@ export interface OrdersApiInterface {
29300
29718
  * @memberof OrdersApiInterface
29301
29719
  */
29302
29720
  getParkedPosOrderV2(businessId: string, options?: AxiosRequestConfig): AxiosPromise<Array<PosOrderDto>>;
29721
+ /**
29722
+ *
29723
+ * @summary Get a single POS order from Firestore
29724
+ * @param {GetPosOrderDto} getPosOrderDto
29725
+ * @param {*} [options] Override http request option.
29726
+ * @throws {RequiredError}
29727
+ * @memberof OrdersApiInterface
29728
+ */
29729
+ getPosOrderById(getPosOrderDto: GetPosOrderDto, options?: AxiosRequestConfig): AxiosPromise<PosOrderDto>;
29303
29730
  /**
29304
29731
  *
29305
29732
  * @summary Mark an order as ready for pickup/delivery
@@ -29419,6 +29846,15 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
29419
29846
  * @memberof OrdersApi
29420
29847
  */
29421
29848
  getParkedPosOrderV2(businessId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosOrderDto[], any, {}>>;
29849
+ /**
29850
+ *
29851
+ * @summary Get a single POS order from Firestore
29852
+ * @param {GetPosOrderDto} getPosOrderDto
29853
+ * @param {*} [options] Override http request option.
29854
+ * @throws {RequiredError}
29855
+ * @memberof OrdersApi
29856
+ */
29857
+ getPosOrderById(getPosOrderDto: GetPosOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosOrderDto, any, {}>>;
29422
29858
  /**
29423
29859
  *
29424
29860
  * @summary Mark an order as ready for pickup/delivery
@@ -30198,6 +30634,296 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
30198
30634
  */
30199
30635
  refundVivaTransactionV4(refundPayloadDtoV4: RefundPayloadDtoV4, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentResultDto, any, {}>>;
30200
30636
  }
30637
+ /**
30638
+ * PaymentSessionApi - axios parameter creator
30639
+ * @export
30640
+ */
30641
+ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Configuration) => {
30642
+ /**
30643
+ * Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome, and a late success is auto-voided. Viva card only.
30644
+ * @summary Cancel an in-flight Viva payment session
30645
+ * @param {string} clientToken
30646
+ * @param {*} [options] Override http request option.
30647
+ * @throws {RequiredError}
30648
+ */
30649
+ cancelVivaSession: (clientToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30650
+ /**
30651
+ * Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
30652
+ * @summary Get payment session status by clientToken
30653
+ * @param {string} clientToken
30654
+ * @param {*} [options] Override http request option.
30655
+ * @throws {RequiredError}
30656
+ */
30657
+ getPaymentSession: (clientToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30658
+ /**
30659
+ * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30660
+ * @summary Initiate a Viva payment session
30661
+ * @param {InitiateVivaSessionDto} initiateVivaSessionDto
30662
+ * @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
30663
+ * @param {*} [options] Override http request option.
30664
+ * @throws {RequiredError}
30665
+ */
30666
+ initiateVivaSession: (initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30667
+ /**
30668
+ * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
30669
+ * @summary Record a manual payment session
30670
+ * @param {CreateManualSessionDto} createManualSessionDto
30671
+ * @param {*} [options] Override http request option.
30672
+ * @throws {RequiredError}
30673
+ */
30674
+ recordManualPayment: (createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30675
+ /**
30676
+ * Reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId (the order paymentEvent referenceId). Manual payments use void. Idempotent: re-calling a refunding/refunded session is a no-op.
30677
+ * @summary Refund a settled Viva payment session
30678
+ * @param {ReverseSessionDto} reverseSessionDto
30679
+ * @param {*} [options] Override http request option.
30680
+ * @throws {RequiredError}
30681
+ */
30682
+ refundVivaSession: (reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30683
+ /**
30684
+ * 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.
30685
+ * @summary Void a manual payment session
30686
+ * @param {ReverseSessionDto} reverseSessionDto
30687
+ * @param {*} [options] Override http request option.
30688
+ * @throws {RequiredError}
30689
+ */
30690
+ voidManualPayment: (reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30691
+ };
30692
+ /**
30693
+ * PaymentSessionApi - functional programming interface
30694
+ * @export
30695
+ */
30696
+ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
30697
+ /**
30698
+ * Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome, and a late success is auto-voided. Viva card only.
30699
+ * @summary Cancel an in-flight Viva payment session
30700
+ * @param {string} clientToken
30701
+ * @param {*} [options] Override http request option.
30702
+ * @throws {RequiredError}
30703
+ */
30704
+ cancelVivaSession(clientToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
30705
+ /**
30706
+ * Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
30707
+ * @summary Get payment session status by clientToken
30708
+ * @param {string} clientToken
30709
+ * @param {*} [options] Override http request option.
30710
+ * @throws {RequiredError}
30711
+ */
30712
+ getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
30713
+ /**
30714
+ * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30715
+ * @summary Initiate a Viva payment session
30716
+ * @param {InitiateVivaSessionDto} initiateVivaSessionDto
30717
+ * @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
30718
+ * @param {*} [options] Override http request option.
30719
+ * @throws {RequiredError}
30720
+ */
30721
+ initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateVivaSessionResponseDto>>;
30722
+ /**
30723
+ * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
30724
+ * @summary Record a manual payment session
30725
+ * @param {CreateManualSessionDto} createManualSessionDto
30726
+ * @param {*} [options] Override http request option.
30727
+ * @throws {RequiredError}
30728
+ */
30729
+ recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
30730
+ /**
30731
+ * Reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId (the order paymentEvent referenceId). Manual payments use void. Idempotent: re-calling a refunding/refunded session is a no-op.
30732
+ * @summary Refund a settled Viva payment session
30733
+ * @param {ReverseSessionDto} reverseSessionDto
30734
+ * @param {*} [options] Override http request option.
30735
+ * @throws {RequiredError}
30736
+ */
30737
+ refundVivaSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
30738
+ /**
30739
+ * 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.
30740
+ * @summary Void a manual payment session
30741
+ * @param {ReverseSessionDto} reverseSessionDto
30742
+ * @param {*} [options] Override http request option.
30743
+ * @throws {RequiredError}
30744
+ */
30745
+ voidManualPayment(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
30746
+ };
30747
+ /**
30748
+ * PaymentSessionApi - factory interface
30749
+ * @export
30750
+ */
30751
+ export declare const PaymentSessionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
30752
+ /**
30753
+ * Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome, and a late success is auto-voided. Viva card only.
30754
+ * @summary Cancel an in-flight Viva payment session
30755
+ * @param {string} clientToken
30756
+ * @param {*} [options] Override http request option.
30757
+ * @throws {RequiredError}
30758
+ */
30759
+ cancelVivaSession(clientToken: string, options?: any): AxiosPromise<PaymentSessionViewDto>;
30760
+ /**
30761
+ * Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
30762
+ * @summary Get payment session status by clientToken
30763
+ * @param {string} clientToken
30764
+ * @param {*} [options] Override http request option.
30765
+ * @throws {RequiredError}
30766
+ */
30767
+ getPaymentSession(clientToken: string, options?: any): AxiosPromise<PaymentSessionViewDto>;
30768
+ /**
30769
+ * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30770
+ * @summary Initiate a Viva payment session
30771
+ * @param {InitiateVivaSessionDto} initiateVivaSessionDto
30772
+ * @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
30773
+ * @param {*} [options] Override http request option.
30774
+ * @throws {RequiredError}
30775
+ */
30776
+ initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<InitiateVivaSessionResponseDto>;
30777
+ /**
30778
+ * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
30779
+ * @summary Record a manual payment session
30780
+ * @param {CreateManualSessionDto} createManualSessionDto
30781
+ * @param {*} [options] Override http request option.
30782
+ * @throws {RequiredError}
30783
+ */
30784
+ recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
30785
+ /**
30786
+ * Reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId (the order paymentEvent referenceId). Manual payments use void. Idempotent: re-calling a refunding/refunded session is a no-op.
30787
+ * @summary Refund a settled Viva payment session
30788
+ * @param {ReverseSessionDto} reverseSessionDto
30789
+ * @param {*} [options] Override http request option.
30790
+ * @throws {RequiredError}
30791
+ */
30792
+ refundVivaSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
30793
+ /**
30794
+ * 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.
30795
+ * @summary Void a manual payment session
30796
+ * @param {ReverseSessionDto} reverseSessionDto
30797
+ * @param {*} [options] Override http request option.
30798
+ * @throws {RequiredError}
30799
+ */
30800
+ voidManualPayment(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
30801
+ };
30802
+ /**
30803
+ * PaymentSessionApi - interface
30804
+ * @export
30805
+ * @interface PaymentSessionApi
30806
+ */
30807
+ export interface PaymentSessionApiInterface {
30808
+ /**
30809
+ * Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome, and a late success is auto-voided. Viva card only.
30810
+ * @summary Cancel an in-flight Viva payment session
30811
+ * @param {string} clientToken
30812
+ * @param {*} [options] Override http request option.
30813
+ * @throws {RequiredError}
30814
+ * @memberof PaymentSessionApiInterface
30815
+ */
30816
+ cancelVivaSession(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
30817
+ /**
30818
+ * Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
30819
+ * @summary Get payment session status by clientToken
30820
+ * @param {string} clientToken
30821
+ * @param {*} [options] Override http request option.
30822
+ * @throws {RequiredError}
30823
+ * @memberof PaymentSessionApiInterface
30824
+ */
30825
+ getPaymentSession(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
30826
+ /**
30827
+ * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30828
+ * @summary Initiate a Viva payment session
30829
+ * @param {InitiateVivaSessionDto} initiateVivaSessionDto
30830
+ * @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
30831
+ * @param {*} [options] Override http request option.
30832
+ * @throws {RequiredError}
30833
+ * @memberof PaymentSessionApiInterface
30834
+ */
30835
+ initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<InitiateVivaSessionResponseDto>;
30836
+ /**
30837
+ * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
30838
+ * @summary Record a manual payment session
30839
+ * @param {CreateManualSessionDto} createManualSessionDto
30840
+ * @param {*} [options] Override http request option.
30841
+ * @throws {RequiredError}
30842
+ * @memberof PaymentSessionApiInterface
30843
+ */
30844
+ recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
30845
+ /**
30846
+ * Reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId (the order paymentEvent referenceId). Manual payments use void. Idempotent: re-calling a refunding/refunded session is a no-op.
30847
+ * @summary Refund a settled Viva payment session
30848
+ * @param {ReverseSessionDto} reverseSessionDto
30849
+ * @param {*} [options] Override http request option.
30850
+ * @throws {RequiredError}
30851
+ * @memberof PaymentSessionApiInterface
30852
+ */
30853
+ refundVivaSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
30854
+ /**
30855
+ * 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.
30856
+ * @summary Void a manual payment session
30857
+ * @param {ReverseSessionDto} reverseSessionDto
30858
+ * @param {*} [options] Override http request option.
30859
+ * @throws {RequiredError}
30860
+ * @memberof PaymentSessionApiInterface
30861
+ */
30862
+ voidManualPayment(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
30863
+ }
30864
+ /**
30865
+ * PaymentSessionApi - object-oriented interface
30866
+ * @export
30867
+ * @class PaymentSessionApi
30868
+ * @extends {BaseAPI}
30869
+ */
30870
+ export declare class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInterface {
30871
+ /**
30872
+ * Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome, and a late success is auto-voided. Viva card only.
30873
+ * @summary Cancel an in-flight Viva payment session
30874
+ * @param {string} clientToken
30875
+ * @param {*} [options] Override http request option.
30876
+ * @throws {RequiredError}
30877
+ * @memberof PaymentSessionApi
30878
+ */
30879
+ cancelVivaSession(clientToken: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
30880
+ /**
30881
+ * Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
30882
+ * @summary Get payment session status by clientToken
30883
+ * @param {string} clientToken
30884
+ * @param {*} [options] Override http request option.
30885
+ * @throws {RequiredError}
30886
+ * @memberof PaymentSessionApi
30887
+ */
30888
+ getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
30889
+ /**
30890
+ * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
30891
+ * @summary Initiate a Viva payment session
30892
+ * @param {InitiateVivaSessionDto} initiateVivaSessionDto
30893
+ * @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
30894
+ * @param {*} [options] Override http request option.
30895
+ * @throws {RequiredError}
30896
+ * @memberof PaymentSessionApi
30897
+ */
30898
+ initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateVivaSessionResponseDto, any, {}>>;
30899
+ /**
30900
+ * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
30901
+ * @summary Record a manual payment session
30902
+ * @param {CreateManualSessionDto} createManualSessionDto
30903
+ * @param {*} [options] Override http request option.
30904
+ * @throws {RequiredError}
30905
+ * @memberof PaymentSessionApi
30906
+ */
30907
+ recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
30908
+ /**
30909
+ * Reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId (the order paymentEvent referenceId). Manual payments use void. Idempotent: re-calling a refunding/refunded session is a no-op.
30910
+ * @summary Refund a settled Viva payment session
30911
+ * @param {ReverseSessionDto} reverseSessionDto
30912
+ * @param {*} [options] Override http request option.
30913
+ * @throws {RequiredError}
30914
+ * @memberof PaymentSessionApi
30915
+ */
30916
+ refundVivaSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
30917
+ /**
30918
+ * 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.
30919
+ * @summary Void a manual payment session
30920
+ * @param {ReverseSessionDto} reverseSessionDto
30921
+ * @param {*} [options] Override http request option.
30922
+ * @throws {RequiredError}
30923
+ * @memberof PaymentSessionApi
30924
+ */
30925
+ voidManualPayment(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
30926
+ }
30201
30927
  /**
30202
30928
  * PluginApi - axios parameter creator
30203
30929
  * @export
@@ -32768,6 +33494,14 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
32768
33494
  * @throws {RequiredError}
32769
33495
  */
32770
33496
  handleVivaEvents: (vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33497
+ /**
33498
+ * Routes Viva ECR events to PaymentSession update + reconciliation. Does not touch the legacy /viva/verification path.
33499
+ * @summary Handle Viva webhook events for the payment-session flow
33500
+ * @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
33501
+ * @param {*} [options] Override http request option.
33502
+ * @throws {RequiredError}
33503
+ */
33504
+ handleVivaSessionEvents: (vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32771
33505
  /**
32772
33506
  *
32773
33507
  * @param {*} [options] Override http request option.
@@ -32806,6 +33540,13 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
32806
33540
  * @throws {RequiredError}
32807
33541
  */
32808
33542
  updateWoltProduct: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
33543
+ /**
33544
+ * Shares the same verification-key lookup as /viva/verification. Register this URL in Viva for the new flow.
33545
+ * @summary Viva webhook verification for the payment-session flow
33546
+ * @param {*} [options] Override http request option.
33547
+ * @throws {RequiredError}
33548
+ */
33549
+ verifyVivaSessionWebhook: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
32809
33550
  /**
32810
33551
  *
32811
33552
  * @param {*} [options] Override http request option.
@@ -32890,6 +33631,14 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
32890
33631
  * @throws {RequiredError}
32891
33632
  */
32892
33633
  handleVivaEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
33634
+ /**
33635
+ * Routes Viva ECR events to PaymentSession update + reconciliation. Does not touch the legacy /viva/verification path.
33636
+ * @summary Handle Viva webhook events for the payment-session flow
33637
+ * @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
33638
+ * @param {*} [options] Override http request option.
33639
+ * @throws {RequiredError}
33640
+ */
33641
+ handleVivaSessionEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
32893
33642
  /**
32894
33643
  *
32895
33644
  * @param {*} [options] Override http request option.
@@ -32928,6 +33677,13 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
32928
33677
  * @throws {RequiredError}
32929
33678
  */
32930
33679
  updateWoltProduct(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
33680
+ /**
33681
+ * Shares the same verification-key lookup as /viva/verification. Register this URL in Viva for the new flow.
33682
+ * @summary Viva webhook verification for the payment-session flow
33683
+ * @param {*} [options] Override http request option.
33684
+ * @throws {RequiredError}
33685
+ */
33686
+ verifyVivaSessionWebhook(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
32931
33687
  /**
32932
33688
  *
32933
33689
  * @param {*} [options] Override http request option.
@@ -33012,6 +33768,14 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
33012
33768
  * @throws {RequiredError}
33013
33769
  */
33014
33770
  handleVivaEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: any): AxiosPromise<void>;
33771
+ /**
33772
+ * Routes Viva ECR events to PaymentSession update + reconciliation. Does not touch the legacy /viva/verification path.
33773
+ * @summary Handle Viva webhook events for the payment-session flow
33774
+ * @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
33775
+ * @param {*} [options] Override http request option.
33776
+ * @throws {RequiredError}
33777
+ */
33778
+ handleVivaSessionEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: any): AxiosPromise<void>;
33015
33779
  /**
33016
33780
  *
33017
33781
  * @param {*} [options] Override http request option.
@@ -33050,6 +33814,13 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
33050
33814
  * @throws {RequiredError}
33051
33815
  */
33052
33816
  updateWoltProduct(options?: any): AxiosPromise<void>;
33817
+ /**
33818
+ * Shares the same verification-key lookup as /viva/verification. Register this URL in Viva for the new flow.
33819
+ * @summary Viva webhook verification for the payment-session flow
33820
+ * @param {*} [options] Override http request option.
33821
+ * @throws {RequiredError}
33822
+ */
33823
+ verifyVivaSessionWebhook(options?: any): AxiosPromise<void>;
33053
33824
  /**
33054
33825
  *
33055
33826
  * @param {*} [options] Override http request option.
@@ -33146,6 +33917,15 @@ export interface WebhookApiInterface {
33146
33917
  * @memberof WebhookApiInterface
33147
33918
  */
33148
33919
  handleVivaEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): AxiosPromise<void>;
33920
+ /**
33921
+ * Routes Viva ECR events to PaymentSession update + reconciliation. Does not touch the legacy /viva/verification path.
33922
+ * @summary Handle Viva webhook events for the payment-session flow
33923
+ * @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
33924
+ * @param {*} [options] Override http request option.
33925
+ * @throws {RequiredError}
33926
+ * @memberof WebhookApiInterface
33927
+ */
33928
+ handleVivaSessionEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): AxiosPromise<void>;
33149
33929
  /**
33150
33930
  *
33151
33931
  * @param {*} [options] Override http request option.
@@ -33190,6 +33970,14 @@ export interface WebhookApiInterface {
33190
33970
  * @memberof WebhookApiInterface
33191
33971
  */
33192
33972
  updateWoltProduct(options?: AxiosRequestConfig): AxiosPromise<void>;
33973
+ /**
33974
+ * Shares the same verification-key lookup as /viva/verification. Register this URL in Viva for the new flow.
33975
+ * @summary Viva webhook verification for the payment-session flow
33976
+ * @param {*} [options] Override http request option.
33977
+ * @throws {RequiredError}
33978
+ * @memberof WebhookApiInterface
33979
+ */
33980
+ verifyVivaSessionWebhook(options?: AxiosRequestConfig): AxiosPromise<void>;
33193
33981
  /**
33194
33982
  *
33195
33983
  * @param {*} [options] Override http request option.
@@ -33288,6 +34076,15 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
33288
34076
  * @memberof WebhookApi
33289
34077
  */
33290
34078
  handleVivaEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
34079
+ /**
34080
+ * Routes Viva ECR events to PaymentSession update + reconciliation. Does not touch the legacy /viva/verification path.
34081
+ * @summary Handle Viva webhook events for the payment-session flow
34082
+ * @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
34083
+ * @param {*} [options] Override http request option.
34084
+ * @throws {RequiredError}
34085
+ * @memberof WebhookApi
34086
+ */
34087
+ handleVivaSessionEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
33291
34088
  /**
33292
34089
  *
33293
34090
  * @param {*} [options] Override http request option.
@@ -33332,6 +34129,14 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
33332
34129
  * @memberof WebhookApi
33333
34130
  */
33334
34131
  updateWoltProduct(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
34132
+ /**
34133
+ * Shares the same verification-key lookup as /viva/verification. Register this URL in Viva for the new flow.
34134
+ * @summary Viva webhook verification for the payment-session flow
34135
+ * @param {*} [options] Override http request option.
34136
+ * @throws {RequiredError}
34137
+ * @memberof WebhookApi
34138
+ */
34139
+ verifyVivaSessionWebhook(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
33335
34140
  /**
33336
34141
  *
33337
34142
  * @param {*} [options] Override http request option.