@munchi_oy/core 1.9.37 → 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.
- package/dist/generated/api.d.ts +973 -90
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +1599 -312
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -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 {
|
|
5165
|
+
* @type {PosOrderItemDtoReportingCategory}
|
|
5111
5166
|
* @memberof ExtendedProductDto
|
|
5112
5167
|
*/
|
|
5113
|
-
'reporting_category'?:
|
|
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
|
|
@@ -11846,6 +12081,110 @@ export interface PaymentRefundLineAllocationDto {
|
|
|
11846
12081
|
*/
|
|
11847
12082
|
'quantity': number;
|
|
11848
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
|
+
}
|
|
11849
12188
|
/**
|
|
11850
12189
|
*
|
|
11851
12190
|
* @export
|
|
@@ -12720,10 +13059,10 @@ export interface PosItemDto {
|
|
|
12720
13059
|
'display_photo'?: boolean;
|
|
12721
13060
|
/**
|
|
12722
13061
|
*
|
|
12723
|
-
* @type {
|
|
13062
|
+
* @type {PosOrderItemDtoReportingCategory}
|
|
12724
13063
|
* @memberof PosItemDto
|
|
12725
13064
|
*/
|
|
12726
|
-
'reporting_category'?:
|
|
13065
|
+
'reporting_category'?: PosOrderItemDtoReportingCategory | null;
|
|
12727
13066
|
/**
|
|
12728
13067
|
* Indicates if the product is inventoried in POS
|
|
12729
13068
|
* @type {boolean}
|
|
@@ -13396,10 +13735,10 @@ export interface PosOrderItemDto {
|
|
|
13396
13735
|
'display_photo'?: boolean;
|
|
13397
13736
|
/**
|
|
13398
13737
|
*
|
|
13399
|
-
* @type {
|
|
13738
|
+
* @type {PosOrderItemDtoReportingCategory}
|
|
13400
13739
|
* @memberof PosOrderItemDto
|
|
13401
13740
|
*/
|
|
13402
|
-
'reporting_category'?:
|
|
13741
|
+
'reporting_category'?: PosOrderItemDtoReportingCategory | null;
|
|
13403
13742
|
/**
|
|
13404
13743
|
* Category ID of the item
|
|
13405
13744
|
* @type {number}
|
|
@@ -13419,6 +13758,49 @@ export interface PosOrderItemDto {
|
|
|
13419
13758
|
*/
|
|
13420
13759
|
'courseName'?: string | null;
|
|
13421
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
|
+
}
|
|
13422
13804
|
/**
|
|
13423
13805
|
*
|
|
13424
13806
|
* @export
|
|
@@ -16085,6 +16467,25 @@ export declare const ScopeEnum: {
|
|
|
16085
16467
|
readonly Cart: "CART";
|
|
16086
16468
|
};
|
|
16087
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
|
+
}
|
|
16088
16489
|
/**
|
|
16089
16490
|
*
|
|
16090
16491
|
* @export
|
|
@@ -16451,6 +16852,31 @@ export declare const SourceType: {
|
|
|
16451
16852
|
readonly Ticket: "TICKET";
|
|
16452
16853
|
};
|
|
16453
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
|
+
}
|
|
16454
16880
|
/**
|
|
16455
16881
|
*
|
|
16456
16882
|
* @export
|
|
@@ -17087,10 +17513,10 @@ export type TableShape = typeof TableShape[keyof typeof TableShape];
|
|
|
17087
17513
|
*/
|
|
17088
17514
|
export declare const TableStatus: {
|
|
17089
17515
|
readonly Available: "AVAILABLE";
|
|
17090
|
-
readonly Occupied: "OCCUPIED";
|
|
17091
17516
|
readonly Dirty: "DIRTY";
|
|
17092
17517
|
readonly Blocked: "BLOCKED";
|
|
17093
17518
|
readonly OutOfService: "OUT_OF_SERVICE";
|
|
17519
|
+
readonly Occupied: "OCCUPIED";
|
|
17094
17520
|
};
|
|
17095
17521
|
export type TableStatus = typeof TableStatus[keyof typeof TableStatus];
|
|
17096
17522
|
/**
|
|
@@ -17561,6 +17987,38 @@ export declare const TransactionType: {
|
|
|
17561
17987
|
readonly BalanceInquiry: "balanceInquiry";
|
|
17562
17988
|
};
|
|
17563
17989
|
export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
|
|
17990
|
+
/**
|
|
17991
|
+
*
|
|
17992
|
+
* @export
|
|
17993
|
+
* @interface TransferTableDto
|
|
17994
|
+
*/
|
|
17995
|
+
export interface TransferTableDto {
|
|
17996
|
+
/**
|
|
17997
|
+
* ID of the destination table
|
|
17998
|
+
* @type {string}
|
|
17999
|
+
* @memberof TransferTableDto
|
|
18000
|
+
*/
|
|
18001
|
+
'toTableId': string;
|
|
18002
|
+
}
|
|
18003
|
+
/**
|
|
18004
|
+
*
|
|
18005
|
+
* @export
|
|
18006
|
+
* @interface TransferTableResponseDto
|
|
18007
|
+
*/
|
|
18008
|
+
export interface TransferTableResponseDto {
|
|
18009
|
+
/**
|
|
18010
|
+
*
|
|
18011
|
+
* @type {DiningTableResponseDto}
|
|
18012
|
+
* @memberof TransferTableResponseDto
|
|
18013
|
+
*/
|
|
18014
|
+
'fromTable': DiningTableResponseDto;
|
|
18015
|
+
/**
|
|
18016
|
+
*
|
|
18017
|
+
* @type {DiningTableResponseDto}
|
|
18018
|
+
* @memberof TransferTableResponseDto
|
|
18019
|
+
*/
|
|
18020
|
+
'toTable': DiningTableResponseDto;
|
|
18021
|
+
}
|
|
17564
18022
|
/**
|
|
17565
18023
|
*
|
|
17566
18024
|
* @export
|
|
@@ -20769,46 +21227,8 @@ export interface VivaPaymentIntent {
|
|
|
20769
21227
|
* @type {boolean}
|
|
20770
21228
|
* @memberof VivaPaymentIntent
|
|
20771
21229
|
*/
|
|
20772
|
-
'skipSurcharge': boolean;
|
|
20773
|
-
}
|
|
20774
|
-
export declare const CurrencyCodeEnum: {
|
|
20775
|
-
readonly _978: "978";
|
|
20776
|
-
readonly _840: "840";
|
|
20777
|
-
readonly _826: "826";
|
|
20778
|
-
readonly _392: "392";
|
|
20779
|
-
readonly _036: "036";
|
|
20780
|
-
readonly _124: "124";
|
|
20781
|
-
readonly _756: "756";
|
|
20782
|
-
readonly _156: "156";
|
|
20783
|
-
readonly _344: "344";
|
|
20784
|
-
readonly _554: "554";
|
|
20785
|
-
readonly _752: "752";
|
|
20786
|
-
readonly _410: "410";
|
|
20787
|
-
readonly _702: "702";
|
|
20788
|
-
readonly _578: "578";
|
|
20789
|
-
readonly _484: "484";
|
|
20790
|
-
readonly _356: "356";
|
|
20791
|
-
readonly _643: "643";
|
|
20792
|
-
readonly _710: "710";
|
|
20793
|
-
readonly _949: "949";
|
|
20794
|
-
readonly _986: "986";
|
|
20795
|
-
readonly _901: "901";
|
|
20796
|
-
readonly _208: "208";
|
|
20797
|
-
readonly _985: "985";
|
|
20798
|
-
readonly _764: "764";
|
|
20799
|
-
readonly _360: "360";
|
|
20800
|
-
readonly _348: "348";
|
|
20801
|
-
readonly _203: "203";
|
|
20802
|
-
readonly _376: "376";
|
|
20803
|
-
readonly _152: "152";
|
|
20804
|
-
readonly _608: "608";
|
|
20805
|
-
readonly _784: "784";
|
|
20806
|
-
readonly _170: "170";
|
|
20807
|
-
readonly _682: "682";
|
|
20808
|
-
readonly _458: "458";
|
|
20809
|
-
readonly _946: "946";
|
|
20810
|
-
};
|
|
20811
|
-
export type CurrencyCodeEnum = typeof CurrencyCodeEnum[keyof typeof CurrencyCodeEnum];
|
|
21230
|
+
'skipSurcharge': boolean;
|
|
21231
|
+
}
|
|
20812
21232
|
/**
|
|
20813
21233
|
*
|
|
20814
21234
|
* @export
|
|
@@ -25683,6 +26103,16 @@ export declare const FloorPlanApiAxiosParamCreator: (configuration?: Configurati
|
|
|
25683
26103
|
* @throws {RequiredError}
|
|
25684
26104
|
*/
|
|
25685
26105
|
getFloorPlan: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26106
|
+
/**
|
|
26107
|
+
*
|
|
26108
|
+
* @summary Transfer an occupied table to an available table
|
|
26109
|
+
* @param {string} id
|
|
26110
|
+
* @param {number} businessId
|
|
26111
|
+
* @param {TransferTableDto} transferTableDto
|
|
26112
|
+
* @param {*} [options] Override http request option.
|
|
26113
|
+
* @throws {RequiredError}
|
|
26114
|
+
*/
|
|
26115
|
+
transferTable: (id: string, businessId: number, transferTableDto: TransferTableDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25686
26116
|
/**
|
|
25687
26117
|
*
|
|
25688
26118
|
* @summary Update a dining table
|
|
@@ -25771,6 +26201,16 @@ export declare const FloorPlanApiFp: (configuration?: Configuration) => {
|
|
|
25771
26201
|
* @throws {RequiredError}
|
|
25772
26202
|
*/
|
|
25773
26203
|
getFloorPlan(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FloorSectionResponseDto>>>;
|
|
26204
|
+
/**
|
|
26205
|
+
*
|
|
26206
|
+
* @summary Transfer an occupied table to an available table
|
|
26207
|
+
* @param {string} id
|
|
26208
|
+
* @param {number} businessId
|
|
26209
|
+
* @param {TransferTableDto} transferTableDto
|
|
26210
|
+
* @param {*} [options] Override http request option.
|
|
26211
|
+
* @throws {RequiredError}
|
|
26212
|
+
*/
|
|
26213
|
+
transferTable(id: string, businessId: number, transferTableDto: TransferTableDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferTableResponseDto>>;
|
|
25774
26214
|
/**
|
|
25775
26215
|
*
|
|
25776
26216
|
* @summary Update a dining table
|
|
@@ -25859,6 +26299,16 @@ export declare const FloorPlanApiFactory: (configuration?: Configuration, basePa
|
|
|
25859
26299
|
* @throws {RequiredError}
|
|
25860
26300
|
*/
|
|
25861
26301
|
getFloorPlan(businessId: number, options?: any): AxiosPromise<Array<FloorSectionResponseDto>>;
|
|
26302
|
+
/**
|
|
26303
|
+
*
|
|
26304
|
+
* @summary Transfer an occupied table to an available table
|
|
26305
|
+
* @param {string} id
|
|
26306
|
+
* @param {number} businessId
|
|
26307
|
+
* @param {TransferTableDto} transferTableDto
|
|
26308
|
+
* @param {*} [options] Override http request option.
|
|
26309
|
+
* @throws {RequiredError}
|
|
26310
|
+
*/
|
|
26311
|
+
transferTable(id: string, businessId: number, transferTableDto: TransferTableDto, options?: any): AxiosPromise<TransferTableResponseDto>;
|
|
25862
26312
|
/**
|
|
25863
26313
|
*
|
|
25864
26314
|
* @summary Update a dining table
|
|
@@ -25953,6 +26403,17 @@ export interface FloorPlanApiInterface {
|
|
|
25953
26403
|
* @memberof FloorPlanApiInterface
|
|
25954
26404
|
*/
|
|
25955
26405
|
getFloorPlan(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<FloorSectionResponseDto>>;
|
|
26406
|
+
/**
|
|
26407
|
+
*
|
|
26408
|
+
* @summary Transfer an occupied table to an available table
|
|
26409
|
+
* @param {string} id
|
|
26410
|
+
* @param {number} businessId
|
|
26411
|
+
* @param {TransferTableDto} transferTableDto
|
|
26412
|
+
* @param {*} [options] Override http request option.
|
|
26413
|
+
* @throws {RequiredError}
|
|
26414
|
+
* @memberof FloorPlanApiInterface
|
|
26415
|
+
*/
|
|
26416
|
+
transferTable(id: string, businessId: number, transferTableDto: TransferTableDto, options?: AxiosRequestConfig): AxiosPromise<TransferTableResponseDto>;
|
|
25956
26417
|
/**
|
|
25957
26418
|
*
|
|
25958
26419
|
* @summary Update a dining table
|
|
@@ -26052,6 +26513,17 @@ export declare class FloorPlanApi extends BaseAPI implements FloorPlanApiInterfa
|
|
|
26052
26513
|
* @memberof FloorPlanApi
|
|
26053
26514
|
*/
|
|
26054
26515
|
getFloorPlan(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FloorSectionResponseDto[], any, {}>>;
|
|
26516
|
+
/**
|
|
26517
|
+
*
|
|
26518
|
+
* @summary Transfer an occupied table to an available table
|
|
26519
|
+
* @param {string} id
|
|
26520
|
+
* @param {number} businessId
|
|
26521
|
+
* @param {TransferTableDto} transferTableDto
|
|
26522
|
+
* @param {*} [options] Override http request option.
|
|
26523
|
+
* @throws {RequiredError}
|
|
26524
|
+
* @memberof FloorPlanApi
|
|
26525
|
+
*/
|
|
26526
|
+
transferTable(id: string, businessId: number, transferTableDto: TransferTableDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransferTableResponseDto, any, {}>>;
|
|
26055
26527
|
/**
|
|
26056
26528
|
*
|
|
26057
26529
|
* @summary Update a dining table
|
|
@@ -28899,6 +29371,14 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
28899
29371
|
* @throws {RequiredError}
|
|
28900
29372
|
*/
|
|
28901
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>;
|
|
28902
29382
|
/**
|
|
28903
29383
|
*
|
|
28904
29384
|
* @summary Mark an order as ready for pickup/delivery
|
|
@@ -29004,6 +29484,14 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
29004
29484
|
* @throws {RequiredError}
|
|
29005
29485
|
*/
|
|
29006
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>>;
|
|
29007
29495
|
/**
|
|
29008
29496
|
*
|
|
29009
29497
|
* @summary Mark an order as ready for pickup/delivery
|
|
@@ -29109,6 +29597,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
29109
29597
|
* @throws {RequiredError}
|
|
29110
29598
|
*/
|
|
29111
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>;
|
|
29112
29608
|
/**
|
|
29113
29609
|
*
|
|
29114
29610
|
* @summary Mark an order as ready for pickup/delivery
|
|
@@ -29222,6 +29718,15 @@ export interface OrdersApiInterface {
|
|
|
29222
29718
|
* @memberof OrdersApiInterface
|
|
29223
29719
|
*/
|
|
29224
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>;
|
|
29225
29730
|
/**
|
|
29226
29731
|
*
|
|
29227
29732
|
* @summary Mark an order as ready for pickup/delivery
|
|
@@ -29341,6 +29846,15 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
29341
29846
|
* @memberof OrdersApi
|
|
29342
29847
|
*/
|
|
29343
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, {}>>;
|
|
29344
29858
|
/**
|
|
29345
29859
|
*
|
|
29346
29860
|
* @summary Mark an order as ready for pickup/delivery
|
|
@@ -30120,6 +30634,296 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
30120
30634
|
*/
|
|
30121
30635
|
refundVivaTransactionV4(refundPayloadDtoV4: RefundPayloadDtoV4, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentResultDto, any, {}>>;
|
|
30122
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
|
+
}
|
|
30123
30927
|
/**
|
|
30124
30928
|
* PluginApi - axios parameter creator
|
|
30125
30929
|
* @export
|
|
@@ -32690,6 +33494,14 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
32690
33494
|
* @throws {RequiredError}
|
|
32691
33495
|
*/
|
|
32692
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>;
|
|
32693
33505
|
/**
|
|
32694
33506
|
*
|
|
32695
33507
|
* @param {*} [options] Override http request option.
|
|
@@ -32728,6 +33540,13 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
32728
33540
|
* @throws {RequiredError}
|
|
32729
33541
|
*/
|
|
32730
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>;
|
|
32731
33550
|
/**
|
|
32732
33551
|
*
|
|
32733
33552
|
* @param {*} [options] Override http request option.
|
|
@@ -32812,6 +33631,14 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
32812
33631
|
* @throws {RequiredError}
|
|
32813
33632
|
*/
|
|
32814
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>>;
|
|
32815
33642
|
/**
|
|
32816
33643
|
*
|
|
32817
33644
|
* @param {*} [options] Override http request option.
|
|
@@ -32850,6 +33677,13 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
32850
33677
|
* @throws {RequiredError}
|
|
32851
33678
|
*/
|
|
32852
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>>;
|
|
32853
33687
|
/**
|
|
32854
33688
|
*
|
|
32855
33689
|
* @param {*} [options] Override http request option.
|
|
@@ -32934,6 +33768,14 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
32934
33768
|
* @throws {RequiredError}
|
|
32935
33769
|
*/
|
|
32936
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>;
|
|
32937
33779
|
/**
|
|
32938
33780
|
*
|
|
32939
33781
|
* @param {*} [options] Override http request option.
|
|
@@ -32972,6 +33814,13 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
32972
33814
|
* @throws {RequiredError}
|
|
32973
33815
|
*/
|
|
32974
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>;
|
|
32975
33824
|
/**
|
|
32976
33825
|
*
|
|
32977
33826
|
* @param {*} [options] Override http request option.
|
|
@@ -33068,6 +33917,15 @@ export interface WebhookApiInterface {
|
|
|
33068
33917
|
* @memberof WebhookApiInterface
|
|
33069
33918
|
*/
|
|
33070
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>;
|
|
33071
33929
|
/**
|
|
33072
33930
|
*
|
|
33073
33931
|
* @param {*} [options] Override http request option.
|
|
@@ -33112,6 +33970,14 @@ export interface WebhookApiInterface {
|
|
|
33112
33970
|
* @memberof WebhookApiInterface
|
|
33113
33971
|
*/
|
|
33114
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>;
|
|
33115
33981
|
/**
|
|
33116
33982
|
*
|
|
33117
33983
|
* @param {*} [options] Override http request option.
|
|
@@ -33210,6 +34076,15 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
33210
34076
|
* @memberof WebhookApi
|
|
33211
34077
|
*/
|
|
33212
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, {}>>;
|
|
33213
34088
|
/**
|
|
33214
34089
|
*
|
|
33215
34090
|
* @param {*} [options] Override http request option.
|
|
@@ -33254,6 +34129,14 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
33254
34129
|
* @memberof WebhookApi
|
|
33255
34130
|
*/
|
|
33256
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, {}>>;
|
|
33257
34140
|
/**
|
|
33258
34141
|
*
|
|
33259
34142
|
* @param {*} [options] Override http request option.
|