@munchi_oy/core 1.9.45 → 1.9.47
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 +361 -1752
- 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 +356 -2072
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -1568,61 +1568,7 @@ export interface CardPresentDetailsDto {
|
|
|
1568
1568
|
*/
|
|
1569
1569
|
export interface CardPresentDetailsDtoWallet {
|
|
1570
1570
|
/**
|
|
1571
|
-
*
|
|
1572
|
-
* @type {number}
|
|
1573
|
-
* @memberof CardPresentDetailsDtoWallet
|
|
1574
|
-
*/
|
|
1575
|
-
'id': number;
|
|
1576
|
-
/**
|
|
1577
|
-
* Unique code for the wallet
|
|
1578
|
-
* @type {string}
|
|
1579
|
-
* @memberof CardPresentDetailsDtoWallet
|
|
1580
|
-
*/
|
|
1581
|
-
'code': string;
|
|
1582
|
-
/**
|
|
1583
|
-
* The ID of the user who owns this wallet
|
|
1584
|
-
* @type {number}
|
|
1585
|
-
* @memberof CardPresentDetailsDtoWallet
|
|
1586
|
-
*/
|
|
1587
|
-
'user_id': number;
|
|
1588
|
-
/**
|
|
1589
|
-
* Current balance in the wallet
|
|
1590
|
-
* @type {number}
|
|
1591
|
-
* @memberof CardPresentDetailsDtoWallet
|
|
1592
|
-
*/
|
|
1593
|
-
'balance': number;
|
|
1594
|
-
/**
|
|
1595
|
-
* Whether the wallet is locked
|
|
1596
|
-
* @type {boolean}
|
|
1597
|
-
* @memberof CardPresentDetailsDtoWallet
|
|
1598
|
-
*/
|
|
1599
|
-
'locked': boolean;
|
|
1600
|
-
/**
|
|
1601
|
-
* Reason for locking the wallet, if applicable
|
|
1602
|
-
* @type {object}
|
|
1603
|
-
* @memberof CardPresentDetailsDtoWallet
|
|
1604
|
-
*/
|
|
1605
|
-
'locked_reason': object | null;
|
|
1606
|
-
/**
|
|
1607
|
-
* Timestamp when the wallet was locked, if applicable
|
|
1608
|
-
* @type {object}
|
|
1609
|
-
* @memberof CardPresentDetailsDtoWallet
|
|
1610
|
-
*/
|
|
1611
|
-
'locked_at': object | null;
|
|
1612
|
-
/**
|
|
1613
|
-
* Timestamp when the wallet was created
|
|
1614
|
-
* @type {string}
|
|
1615
|
-
* @memberof CardPresentDetailsDtoWallet
|
|
1616
|
-
*/
|
|
1617
|
-
'created_at': string;
|
|
1618
|
-
/**
|
|
1619
|
-
* Timestamp when the wallet was last updated
|
|
1620
|
-
* @type {string}
|
|
1621
|
-
* @memberof CardPresentDetailsDtoWallet
|
|
1622
|
-
*/
|
|
1623
|
-
'updated_at': string;
|
|
1624
|
-
/**
|
|
1625
|
-
* Type of wallet (e.g., cash, credit_point)
|
|
1571
|
+
* Wallet type
|
|
1626
1572
|
* @type {string}
|
|
1627
1573
|
* @memberof CardPresentDetailsDtoWallet
|
|
1628
1574
|
*/
|
|
@@ -3058,6 +3004,19 @@ export interface CoordinateDto {
|
|
|
3058
3004
|
*/
|
|
3059
3005
|
'lon': number;
|
|
3060
3006
|
}
|
|
3007
|
+
/**
|
|
3008
|
+
*
|
|
3009
|
+
* @export
|
|
3010
|
+
* @interface CourseConfigDto
|
|
3011
|
+
*/
|
|
3012
|
+
export interface CourseConfigDto {
|
|
3013
|
+
/**
|
|
3014
|
+
* Rank assigned to uncoursed items
|
|
3015
|
+
* @type {number}
|
|
3016
|
+
* @memberof CourseConfigDto
|
|
3017
|
+
*/
|
|
3018
|
+
'uncoursedRank': number;
|
|
3019
|
+
}
|
|
3061
3020
|
/**
|
|
3062
3021
|
*
|
|
3063
3022
|
* @export
|
|
@@ -3076,6 +3035,12 @@ export interface CourseDto {
|
|
|
3076
3035
|
* @memberof CourseDto
|
|
3077
3036
|
*/
|
|
3078
3037
|
'name': string;
|
|
3038
|
+
/**
|
|
3039
|
+
* Course rank used for ordering
|
|
3040
|
+
* @type {number}
|
|
3041
|
+
* @memberof CourseDto
|
|
3042
|
+
*/
|
|
3043
|
+
'rank': number;
|
|
3079
3044
|
/**
|
|
3080
3045
|
* Whether the course fires automatically to the kitchen
|
|
3081
3046
|
* @type {boolean}
|
|
@@ -6172,6 +6137,176 @@ export interface InitiateNetsTerminalPaymentResponseDto {
|
|
|
6172
6137
|
*/
|
|
6173
6138
|
'connectCloudRequestId': string;
|
|
6174
6139
|
}
|
|
6140
|
+
/**
|
|
6141
|
+
*
|
|
6142
|
+
* @export
|
|
6143
|
+
* @interface InitiateVivaA2aSessionDto
|
|
6144
|
+
*/
|
|
6145
|
+
export interface InitiateVivaA2aSessionDto {
|
|
6146
|
+
/**
|
|
6147
|
+
* The internal business ID.
|
|
6148
|
+
* @type {number}
|
|
6149
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6150
|
+
*/
|
|
6151
|
+
'businessId': number;
|
|
6152
|
+
/**
|
|
6153
|
+
* The unique reference for the order or cart.
|
|
6154
|
+
* @type {string}
|
|
6155
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6156
|
+
*/
|
|
6157
|
+
'referenceId': string;
|
|
6158
|
+
/**
|
|
6159
|
+
* The display reference for the order or cart.
|
|
6160
|
+
* @type {string}
|
|
6161
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6162
|
+
*/
|
|
6163
|
+
'displayId': string;
|
|
6164
|
+
/**
|
|
6165
|
+
* Amount in the smallest currency unit (e.g., cents).
|
|
6166
|
+
* @type {number}
|
|
6167
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6168
|
+
*/
|
|
6169
|
+
'amount': number;
|
|
6170
|
+
/**
|
|
6171
|
+
*
|
|
6172
|
+
* @type {CurrencyCode}
|
|
6173
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6174
|
+
*/
|
|
6175
|
+
'currency': CurrencyCode;
|
|
6176
|
+
/**
|
|
6177
|
+
*
|
|
6178
|
+
* @type {boolean}
|
|
6179
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6180
|
+
*/
|
|
6181
|
+
'showReceipt'?: boolean;
|
|
6182
|
+
/**
|
|
6183
|
+
*
|
|
6184
|
+
* @type {number}
|
|
6185
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6186
|
+
*/
|
|
6187
|
+
'tipAmount'?: number;
|
|
6188
|
+
/**
|
|
6189
|
+
*
|
|
6190
|
+
* @type {boolean}
|
|
6191
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6192
|
+
*/
|
|
6193
|
+
'showTransactionResult'?: boolean;
|
|
6194
|
+
/**
|
|
6195
|
+
*
|
|
6196
|
+
* @type {InitiateVivaSessionDtoSplitContext}
|
|
6197
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6198
|
+
*/
|
|
6199
|
+
'splitContext'?: InitiateVivaSessionDtoSplitContext;
|
|
6200
|
+
}
|
|
6201
|
+
/**
|
|
6202
|
+
*
|
|
6203
|
+
* @export
|
|
6204
|
+
* @interface InitiateVivaA2aSessionResponseDto
|
|
6205
|
+
*/
|
|
6206
|
+
export interface InitiateVivaA2aSessionResponseDto {
|
|
6207
|
+
/**
|
|
6208
|
+
*
|
|
6209
|
+
* @type {string}
|
|
6210
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6211
|
+
*/
|
|
6212
|
+
'clientTransactionId': string;
|
|
6213
|
+
/**
|
|
6214
|
+
*
|
|
6215
|
+
* @type {number}
|
|
6216
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6217
|
+
*/
|
|
6218
|
+
'amount': number;
|
|
6219
|
+
/**
|
|
6220
|
+
*
|
|
6221
|
+
* @type {number}
|
|
6222
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6223
|
+
*/
|
|
6224
|
+
'tipAmount': number;
|
|
6225
|
+
/**
|
|
6226
|
+
*
|
|
6227
|
+
* @type {VivaAppToAppPaymentMethod}
|
|
6228
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6229
|
+
*/
|
|
6230
|
+
'paymentMethod': VivaAppToAppPaymentMethod;
|
|
6231
|
+
/**
|
|
6232
|
+
*
|
|
6233
|
+
* @type {number}
|
|
6234
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6235
|
+
*/
|
|
6236
|
+
'sourceCode': number;
|
|
6237
|
+
/**
|
|
6238
|
+
*
|
|
6239
|
+
* @type {boolean}
|
|
6240
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6241
|
+
*/
|
|
6242
|
+
'show_receipt': boolean;
|
|
6243
|
+
/**
|
|
6244
|
+
*
|
|
6245
|
+
* @type {boolean}
|
|
6246
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6247
|
+
*/
|
|
6248
|
+
'show_transaction_result': boolean;
|
|
6249
|
+
/**
|
|
6250
|
+
*
|
|
6251
|
+
* @type {boolean}
|
|
6252
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6253
|
+
*/
|
|
6254
|
+
'show_rating': boolean;
|
|
6255
|
+
/**
|
|
6256
|
+
* The ISV amount.
|
|
6257
|
+
* @type {number}
|
|
6258
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6259
|
+
*/
|
|
6260
|
+
'ISV_amount'?: number;
|
|
6261
|
+
/**
|
|
6262
|
+
* The ISV client ID.
|
|
6263
|
+
* @type {string}
|
|
6264
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6265
|
+
*/
|
|
6266
|
+
'ISV_clientId'?: string;
|
|
6267
|
+
/**
|
|
6268
|
+
* The ISV client secret. Only include this if the mobile app must send it for the POC.
|
|
6269
|
+
* @type {string}
|
|
6270
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6271
|
+
*/
|
|
6272
|
+
'ISV_clientSecret'?: string;
|
|
6273
|
+
/**
|
|
6274
|
+
* The ISO numeric currency code required by Viva ISV mode.
|
|
6275
|
+
* @type {number}
|
|
6276
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6277
|
+
*/
|
|
6278
|
+
'ISV_currencyCode'?: number;
|
|
6279
|
+
/**
|
|
6280
|
+
* The customer transaction description shown in Viva.
|
|
6281
|
+
* @type {string}
|
|
6282
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6283
|
+
*/
|
|
6284
|
+
'ISV_customerTrns'?: string;
|
|
6285
|
+
/**
|
|
6286
|
+
* The ISV client transaction ID if used separately from the app transaction ID.
|
|
6287
|
+
* @type {string}
|
|
6288
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6289
|
+
*/
|
|
6290
|
+
'ISV_clientTransactionId'?: string;
|
|
6291
|
+
/**
|
|
6292
|
+
* Merchant-facing reference shown on the Viva receipt (e.g. KIOSK-1234).
|
|
6293
|
+
* @type {string}
|
|
6294
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6295
|
+
*/
|
|
6296
|
+
'merchantReference'?: string;
|
|
6297
|
+
/**
|
|
6298
|
+
* Opaque client token used to poll/sync the session. Never sent to Viva.
|
|
6299
|
+
* @type {string}
|
|
6300
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6301
|
+
*/
|
|
6302
|
+
'clientToken': string;
|
|
6303
|
+
/**
|
|
6304
|
+
* Internal session ID (equals the Viva app-to-app clientTransactionId).
|
|
6305
|
+
* @type {string}
|
|
6306
|
+
* @memberof InitiateVivaA2aSessionResponseDto
|
|
6307
|
+
*/
|
|
6308
|
+
'sessionId': string;
|
|
6309
|
+
}
|
|
6175
6310
|
/**
|
|
6176
6311
|
*
|
|
6177
6312
|
* @export
|
|
@@ -8468,91 +8603,6 @@ export interface LoyaltyTierDto {
|
|
|
8468
8603
|
*/
|
|
8469
8604
|
'threshold': number;
|
|
8470
8605
|
}
|
|
8471
|
-
/**
|
|
8472
|
-
*
|
|
8473
|
-
* @export
|
|
8474
|
-
* @interface LoyaltyUserDto
|
|
8475
|
-
*/
|
|
8476
|
-
export interface LoyaltyUserDto {
|
|
8477
|
-
/**
|
|
8478
|
-
* The ID of the user
|
|
8479
|
-
* @type {number}
|
|
8480
|
-
* @memberof LoyaltyUserDto
|
|
8481
|
-
*/
|
|
8482
|
-
'id': number;
|
|
8483
|
-
/**
|
|
8484
|
-
* The landline phone number of the user
|
|
8485
|
-
* @type {object}
|
|
8486
|
-
* @memberof LoyaltyUserDto
|
|
8487
|
-
*/
|
|
8488
|
-
'phone': object | null;
|
|
8489
|
-
/**
|
|
8490
|
-
* The mobile phone number of the user
|
|
8491
|
-
* @type {string}
|
|
8492
|
-
* @memberof LoyaltyUserDto
|
|
8493
|
-
*/
|
|
8494
|
-
'cellphone': string;
|
|
8495
|
-
/**
|
|
8496
|
-
* The first name of the user
|
|
8497
|
-
* @type {string}
|
|
8498
|
-
* @memberof LoyaltyUserDto
|
|
8499
|
-
*/
|
|
8500
|
-
'name': string;
|
|
8501
|
-
/**
|
|
8502
|
-
* The last name of the user
|
|
8503
|
-
* @type {string}
|
|
8504
|
-
* @memberof LoyaltyUserDto
|
|
8505
|
-
*/
|
|
8506
|
-
'lastname': string;
|
|
8507
|
-
/**
|
|
8508
|
-
* The level of the user
|
|
8509
|
-
* @type {number}
|
|
8510
|
-
* @memberof LoyaltyUserDto
|
|
8511
|
-
*/
|
|
8512
|
-
'level': number;
|
|
8513
|
-
/**
|
|
8514
|
-
* Whether the user account is enabled
|
|
8515
|
-
* @type {boolean}
|
|
8516
|
-
* @memberof LoyaltyUserDto
|
|
8517
|
-
*/
|
|
8518
|
-
'enabled': boolean;
|
|
8519
|
-
/**
|
|
8520
|
-
* The address of the user
|
|
8521
|
-
* @type {object}
|
|
8522
|
-
* @memberof LoyaltyUserDto
|
|
8523
|
-
*/
|
|
8524
|
-
'address': object | null;
|
|
8525
|
-
/**
|
|
8526
|
-
* Loyalty points accumulated by the user
|
|
8527
|
-
* @type {number}
|
|
8528
|
-
* @memberof LoyaltyUserDto
|
|
8529
|
-
*/
|
|
8530
|
-
'loyalty_level_points': number;
|
|
8531
|
-
/**
|
|
8532
|
-
* Country code of the user
|
|
8533
|
-
* @type {string}
|
|
8534
|
-
* @memberof LoyaltyUserDto
|
|
8535
|
-
*/
|
|
8536
|
-
'country_code': string;
|
|
8537
|
-
/**
|
|
8538
|
-
* Number of orders placed by the user
|
|
8539
|
-
* @type {number}
|
|
8540
|
-
* @memberof LoyaltyUserDto
|
|
8541
|
-
*/
|
|
8542
|
-
'orders_count': number;
|
|
8543
|
-
/**
|
|
8544
|
-
* URL to the user\'s profile photo
|
|
8545
|
-
* @type {object}
|
|
8546
|
-
* @memberof LoyaltyUserDto
|
|
8547
|
-
*/
|
|
8548
|
-
'photo': object | null;
|
|
8549
|
-
/**
|
|
8550
|
-
* List of wallets associated with the user
|
|
8551
|
-
* @type {Array<WalletDto>}
|
|
8552
|
-
* @memberof LoyaltyUserDto
|
|
8553
|
-
*/
|
|
8554
|
-
'wallets': Array<WalletDto>;
|
|
8555
|
-
}
|
|
8556
8606
|
/**
|
|
8557
8607
|
*
|
|
8558
8608
|
* @export
|
|
@@ -12327,6 +12377,7 @@ export interface PaymentRefundLineAllocationDto {
|
|
|
12327
12377
|
*/
|
|
12328
12378
|
export declare const PaymentSessionStatus: {
|
|
12329
12379
|
readonly Initiated: "INITIATED";
|
|
12380
|
+
readonly Dispatched: "DISPATCHED";
|
|
12330
12381
|
readonly Processing: "PROCESSING";
|
|
12331
12382
|
readonly Success: "SUCCESS";
|
|
12332
12383
|
readonly Failed: "FAILED";
|
|
@@ -17077,25 +17128,6 @@ export interface ReverseSessionDto {
|
|
|
17077
17128
|
*/
|
|
17078
17129
|
'amount'?: number;
|
|
17079
17130
|
}
|
|
17080
|
-
/**
|
|
17081
|
-
*
|
|
17082
|
-
* @export
|
|
17083
|
-
* @interface RewardPointPayload
|
|
17084
|
-
*/
|
|
17085
|
-
export interface RewardPointPayload {
|
|
17086
|
-
/**
|
|
17087
|
-
* The amount of credit to add (positive value) or deduct (negative value). Examples: \"+20\" to add 20 points, \"-20\" to deduct 20 points, \"+100\" for large additions, \"-5\" for small deductions.
|
|
17088
|
-
* @type {string}
|
|
17089
|
-
* @memberof RewardPointPayload
|
|
17090
|
-
*/
|
|
17091
|
-
'amount': string;
|
|
17092
|
-
/**
|
|
17093
|
-
* The business ID associated with the reward points
|
|
17094
|
-
* @type {number}
|
|
17095
|
-
* @memberof RewardPointPayload
|
|
17096
|
-
*/
|
|
17097
|
-
'businessId': number;
|
|
17098
|
-
}
|
|
17099
17131
|
/**
|
|
17100
17132
|
*
|
|
17101
17133
|
* @export
|
|
@@ -21011,22 +21043,9 @@ export interface UserInfoResponseDto {
|
|
|
21011
21043
|
/**
|
|
21012
21044
|
*
|
|
21013
21045
|
* @export
|
|
21014
|
-
* @interface
|
|
21046
|
+
* @interface UserWalletResponseDto
|
|
21015
21047
|
*/
|
|
21016
|
-
export interface
|
|
21017
|
-
/**
|
|
21018
|
-
*
|
|
21019
|
-
* @type {string}
|
|
21020
|
-
* @memberof UserValidation
|
|
21021
|
-
*/
|
|
21022
|
-
'phone': string;
|
|
21023
|
-
}
|
|
21024
|
-
/**
|
|
21025
|
-
*
|
|
21026
|
-
* @export
|
|
21027
|
-
* @interface UserWalletResponseDto
|
|
21028
|
-
*/
|
|
21029
|
-
export interface UserWalletResponseDto {
|
|
21048
|
+
export interface UserWalletResponseDto {
|
|
21030
21049
|
/**
|
|
21031
21050
|
*
|
|
21032
21051
|
* @type {Array<WalletItemDto>}
|
|
@@ -22583,61 +22602,7 @@ export interface WalletCatalogDto {
|
|
|
22583
22602
|
*/
|
|
22584
22603
|
export interface WalletDto {
|
|
22585
22604
|
/**
|
|
22586
|
-
*
|
|
22587
|
-
* @type {number}
|
|
22588
|
-
* @memberof WalletDto
|
|
22589
|
-
*/
|
|
22590
|
-
'id': number;
|
|
22591
|
-
/**
|
|
22592
|
-
* Unique code for the wallet
|
|
22593
|
-
* @type {string}
|
|
22594
|
-
* @memberof WalletDto
|
|
22595
|
-
*/
|
|
22596
|
-
'code': string;
|
|
22597
|
-
/**
|
|
22598
|
-
* The ID of the user who owns this wallet
|
|
22599
|
-
* @type {number}
|
|
22600
|
-
* @memberof WalletDto
|
|
22601
|
-
*/
|
|
22602
|
-
'user_id': number;
|
|
22603
|
-
/**
|
|
22604
|
-
* Current balance in the wallet
|
|
22605
|
-
* @type {number}
|
|
22606
|
-
* @memberof WalletDto
|
|
22607
|
-
*/
|
|
22608
|
-
'balance': number;
|
|
22609
|
-
/**
|
|
22610
|
-
* Whether the wallet is locked
|
|
22611
|
-
* @type {boolean}
|
|
22612
|
-
* @memberof WalletDto
|
|
22613
|
-
*/
|
|
22614
|
-
'locked': boolean;
|
|
22615
|
-
/**
|
|
22616
|
-
* Reason for locking the wallet, if applicable
|
|
22617
|
-
* @type {object}
|
|
22618
|
-
* @memberof WalletDto
|
|
22619
|
-
*/
|
|
22620
|
-
'locked_reason': object | null;
|
|
22621
|
-
/**
|
|
22622
|
-
* Timestamp when the wallet was locked, if applicable
|
|
22623
|
-
* @type {object}
|
|
22624
|
-
* @memberof WalletDto
|
|
22625
|
-
*/
|
|
22626
|
-
'locked_at': object | null;
|
|
22627
|
-
/**
|
|
22628
|
-
* Timestamp when the wallet was created
|
|
22629
|
-
* @type {string}
|
|
22630
|
-
* @memberof WalletDto
|
|
22631
|
-
*/
|
|
22632
|
-
'created_at': string;
|
|
22633
|
-
/**
|
|
22634
|
-
* Timestamp when the wallet was last updated
|
|
22635
|
-
* @type {string}
|
|
22636
|
-
* @memberof WalletDto
|
|
22637
|
-
*/
|
|
22638
|
-
'updated_at': string;
|
|
22639
|
-
/**
|
|
22640
|
-
* Type of wallet (e.g., cash, credit_point)
|
|
22605
|
+
* Wallet type
|
|
22641
22606
|
* @type {string}
|
|
22642
22607
|
* @memberof WalletDto
|
|
22643
22608
|
*/
|
|
@@ -22698,945 +22663,110 @@ export interface WechatPayDetailsDto {
|
|
|
22698
22663
|
*/
|
|
22699
22664
|
'reader'?: string | null;
|
|
22700
22665
|
/**
|
|
22701
|
-
* WeChat Pay transaction ID
|
|
22702
|
-
* @type {string}
|
|
22703
|
-
* @memberof WechatPayDetailsDto
|
|
22704
|
-
*/
|
|
22705
|
-
'transactionId'?: string | null;
|
|
22706
|
-
}
|
|
22707
|
-
/**
|
|
22708
|
-
*
|
|
22709
|
-
* @export
|
|
22710
|
-
* @interface WorldlineAmountsRequestDto
|
|
22711
|
-
*/
|
|
22712
|
-
export interface WorldlineAmountsRequestDto {
|
|
22713
|
-
/**
|
|
22714
|
-
* ISO 4217 currency symbol
|
|
22715
|
-
* @type {string}
|
|
22716
|
-
* @memberof WorldlineAmountsRequestDto
|
|
22717
|
-
*/
|
|
22718
|
-
'currencySymbol': string;
|
|
22719
|
-
/**
|
|
22720
|
-
* Base amount in the lowest unit of the currency
|
|
22721
|
-
* @type {number}
|
|
22722
|
-
* @memberof WorldlineAmountsRequestDto
|
|
22723
|
-
*/
|
|
22724
|
-
'base': number;
|
|
22725
|
-
/**
|
|
22726
|
-
* Optional tip amount in the lowest unit of the currency
|
|
22727
|
-
* @type {number}
|
|
22728
|
-
* @memberof WorldlineAmountsRequestDto
|
|
22729
|
-
*/
|
|
22730
|
-
'tip'?: number;
|
|
22731
|
-
}
|
|
22732
|
-
/**
|
|
22733
|
-
*
|
|
22734
|
-
* @export
|
|
22735
|
-
* @interface WorldlineAmountsResponseDto
|
|
22736
|
-
*/
|
|
22737
|
-
export interface WorldlineAmountsResponseDto {
|
|
22738
|
-
/**
|
|
22739
|
-
*
|
|
22740
|
-
* @type {WorldlineAmountsResponseDtoCurrency}
|
|
22741
|
-
* @memberof WorldlineAmountsResponseDto
|
|
22742
|
-
*/
|
|
22743
|
-
'currency': WorldlineAmountsResponseDtoCurrency;
|
|
22744
|
-
/**
|
|
22745
|
-
* Base amount
|
|
22746
|
-
* @type {number}
|
|
22747
|
-
* @memberof WorldlineAmountsResponseDto
|
|
22748
|
-
*/
|
|
22749
|
-
'base': number;
|
|
22750
|
-
/**
|
|
22751
|
-
* Total amount
|
|
22752
|
-
* @type {number}
|
|
22753
|
-
* @memberof WorldlineAmountsResponseDto
|
|
22754
|
-
*/
|
|
22755
|
-
'total': number;
|
|
22756
|
-
/**
|
|
22757
|
-
* Tip amount
|
|
22758
|
-
* @type {number}
|
|
22759
|
-
* @memberof WorldlineAmountsResponseDto
|
|
22760
|
-
*/
|
|
22761
|
-
'tip'?: number;
|
|
22762
|
-
}
|
|
22763
|
-
/**
|
|
22764
|
-
* Currency information
|
|
22765
|
-
* @export
|
|
22766
|
-
* @interface WorldlineAmountsResponseDtoCurrency
|
|
22767
|
-
*/
|
|
22768
|
-
export interface WorldlineAmountsResponseDtoCurrency {
|
|
22769
|
-
/**
|
|
22770
|
-
* ISO 4217 numeric currency code
|
|
22771
|
-
* @type {string}
|
|
22772
|
-
* @memberof WorldlineAmountsResponseDtoCurrency
|
|
22773
|
-
*/
|
|
22774
|
-
'code': string;
|
|
22775
|
-
/**
|
|
22776
|
-
* ISO 4217 currency symbol
|
|
22777
|
-
* @type {string}
|
|
22778
|
-
* @memberof WorldlineAmountsResponseDtoCurrency
|
|
22779
|
-
*/
|
|
22780
|
-
'symbol': string;
|
|
22781
|
-
/**
|
|
22782
|
-
* Currency exponent
|
|
22783
|
-
* @type {number}
|
|
22784
|
-
* @memberof WorldlineAmountsResponseDtoCurrency
|
|
22785
|
-
*/
|
|
22786
|
-
'exponent': number;
|
|
22787
|
-
}
|
|
22788
|
-
/**
|
|
22789
|
-
*
|
|
22790
|
-
* @export
|
|
22791
|
-
* @interface WorldlineAsyncResponseDto
|
|
22792
|
-
*/
|
|
22793
|
-
export interface WorldlineAsyncResponseDto {
|
|
22794
|
-
/**
|
|
22795
|
-
* Business operation identifier generated by the POS
|
|
22796
|
-
* @type {string}
|
|
22797
|
-
* @memberof WorldlineAsyncResponseDto
|
|
22798
|
-
*/
|
|
22799
|
-
'operationId': string;
|
|
22800
|
-
}
|
|
22801
|
-
/**
|
|
22802
|
-
*
|
|
22803
|
-
* @export
|
|
22804
|
-
* @enum {string}
|
|
22805
|
-
*/
|
|
22806
|
-
export declare const WorldlineAuthorizationMethod: {
|
|
22807
|
-
readonly Online: "Online";
|
|
22808
|
-
readonly Offline: "Offline";
|
|
22809
|
-
};
|
|
22810
|
-
export type WorldlineAuthorizationMethod = typeof WorldlineAuthorizationMethod[keyof typeof WorldlineAuthorizationMethod];
|
|
22811
|
-
/**
|
|
22812
|
-
*
|
|
22813
|
-
* @export
|
|
22814
|
-
* @enum {string}
|
|
22815
|
-
*/
|
|
22816
|
-
export declare const WorldlineAuthorizationResponder: {
|
|
22817
|
-
readonly Manual: "Manual";
|
|
22818
|
-
readonly Unknown: "Unknown";
|
|
22819
|
-
readonly Local: "Local";
|
|
22820
|
-
readonly Base24: "Base24";
|
|
22821
|
-
readonly Issuer: "Issuer";
|
|
22822
|
-
readonly Network: "Network";
|
|
22823
|
-
readonly Acquirer: "Acquirer";
|
|
22824
|
-
readonly Other: "Other";
|
|
22825
|
-
};
|
|
22826
|
-
export type WorldlineAuthorizationResponder = typeof WorldlineAuthorizationResponder[keyof typeof WorldlineAuthorizationResponder];
|
|
22827
|
-
/**
|
|
22828
|
-
*
|
|
22829
|
-
* @export
|
|
22830
|
-
* @interface WorldlineCurrencyDataDto
|
|
22831
|
-
*/
|
|
22832
|
-
export interface WorldlineCurrencyDataDto {
|
|
22833
|
-
/**
|
|
22834
|
-
* ISO 4217 numeric currency code
|
|
22835
|
-
* @type {string}
|
|
22836
|
-
* @memberof WorldlineCurrencyDataDto
|
|
22837
|
-
*/
|
|
22838
|
-
'code': string;
|
|
22839
|
-
/**
|
|
22840
|
-
* ISO 4217 currency symbol
|
|
22841
|
-
* @type {string}
|
|
22842
|
-
* @memberof WorldlineCurrencyDataDto
|
|
22843
|
-
*/
|
|
22844
|
-
'symbol': string;
|
|
22845
|
-
/**
|
|
22846
|
-
* Currency exponent
|
|
22847
|
-
* @type {number}
|
|
22848
|
-
* @memberof WorldlineCurrencyDataDto
|
|
22849
|
-
*/
|
|
22850
|
-
'exponent': number;
|
|
22851
|
-
}
|
|
22852
|
-
/**
|
|
22853
|
-
*
|
|
22854
|
-
* @export
|
|
22855
|
-
* @interface WorldlineDeviceInformationResponseDto
|
|
22856
|
-
*/
|
|
22857
|
-
export interface WorldlineDeviceInformationResponseDto {
|
|
22858
|
-
/**
|
|
22859
|
-
*
|
|
22860
|
-
* @type {WorldlineDeviceInformationResponseDtoEnabledFeatures}
|
|
22861
|
-
* @memberof WorldlineDeviceInformationResponseDto
|
|
22862
|
-
*/
|
|
22863
|
-
'enabledFeatures'?: WorldlineDeviceInformationResponseDtoEnabledFeatures;
|
|
22864
|
-
/**
|
|
22865
|
-
*
|
|
22866
|
-
* @type {WorldlinePaymentResponseDtoMerchant}
|
|
22867
|
-
* @memberof WorldlineDeviceInformationResponseDto
|
|
22868
|
-
*/
|
|
22869
|
-
'merchant'?: WorldlinePaymentResponseDtoMerchant;
|
|
22870
|
-
/**
|
|
22871
|
-
*
|
|
22872
|
-
* @type {WorldlineDeviceInformationResponseDtoOngoingOperation}
|
|
22873
|
-
* @memberof WorldlineDeviceInformationResponseDto
|
|
22874
|
-
*/
|
|
22875
|
-
'ongoingOperation'?: WorldlineDeviceInformationResponseDtoOngoingOperation;
|
|
22876
|
-
/**
|
|
22877
|
-
*
|
|
22878
|
-
* @type {WorldlinePaymentResponseDtoTerminal}
|
|
22879
|
-
* @memberof WorldlineDeviceInformationResponseDto
|
|
22880
|
-
*/
|
|
22881
|
-
'terminal'?: WorldlinePaymentResponseDtoTerminal;
|
|
22882
|
-
}
|
|
22883
|
-
/**
|
|
22884
|
-
* Enabled terminal features
|
|
22885
|
-
* @export
|
|
22886
|
-
* @interface WorldlineDeviceInformationResponseDtoEnabledFeatures
|
|
22887
|
-
*/
|
|
22888
|
-
export interface WorldlineDeviceInformationResponseDtoEnabledFeatures {
|
|
22889
|
-
/**
|
|
22890
|
-
* Cashier support enabled
|
|
22891
|
-
* @type {boolean}
|
|
22892
|
-
* @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
|
|
22893
|
-
*/
|
|
22894
|
-
'cashier'?: boolean;
|
|
22895
|
-
/**
|
|
22896
|
-
* DCC enabled
|
|
22897
|
-
* @type {boolean}
|
|
22898
|
-
* @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
|
|
22899
|
-
*/
|
|
22900
|
-
'dcc'?: boolean;
|
|
22901
|
-
/**
|
|
22902
|
-
* Tip enabled
|
|
22903
|
-
* @type {boolean}
|
|
22904
|
-
* @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
|
|
22905
|
-
*/
|
|
22906
|
-
'tip'?: boolean;
|
|
22907
|
-
}
|
|
22908
|
-
/**
|
|
22909
|
-
* Ongoing terminal operation
|
|
22910
|
-
* @export
|
|
22911
|
-
* @interface WorldlineDeviceInformationResponseDtoOngoingOperation
|
|
22912
|
-
*/
|
|
22913
|
-
export interface WorldlineDeviceInformationResponseDtoOngoingOperation {
|
|
22914
|
-
/**
|
|
22915
|
-
* Current operation identifier
|
|
22916
|
-
* @type {string}
|
|
22917
|
-
* @memberof WorldlineDeviceInformationResponseDtoOngoingOperation
|
|
22918
|
-
*/
|
|
22919
|
-
'operationId': string;
|
|
22920
|
-
/**
|
|
22921
|
-
* Current ongoing operation type
|
|
22922
|
-
* @type {string}
|
|
22923
|
-
* @memberof WorldlineDeviceInformationResponseDtoOngoingOperation
|
|
22924
|
-
*/
|
|
22925
|
-
'type': string;
|
|
22926
|
-
}
|
|
22927
|
-
/**
|
|
22928
|
-
*
|
|
22929
|
-
* @export
|
|
22930
|
-
* @interface WorldlineDialogDto
|
|
22931
|
-
*/
|
|
22932
|
-
export interface WorldlineDialogDto {
|
|
22933
|
-
/**
|
|
22934
|
-
* Dialog title
|
|
22935
|
-
* @type {string}
|
|
22936
|
-
* @memberof WorldlineDialogDto
|
|
22937
|
-
*/
|
|
22938
|
-
'title'?: string;
|
|
22939
|
-
/**
|
|
22940
|
-
* Dialog text
|
|
22941
|
-
* @type {string}
|
|
22942
|
-
* @memberof WorldlineDialogDto
|
|
22943
|
-
*/
|
|
22944
|
-
'text'?: string;
|
|
22945
|
-
/**
|
|
22946
|
-
* Dialog options
|
|
22947
|
-
* @type {object}
|
|
22948
|
-
* @memberof WorldlineDialogDto
|
|
22949
|
-
*/
|
|
22950
|
-
'options'?: object;
|
|
22951
|
-
}
|
|
22952
|
-
/**
|
|
22953
|
-
*
|
|
22954
|
-
* @export
|
|
22955
|
-
* @interface WorldlineEmbeddedReceiptDto
|
|
22956
|
-
*/
|
|
22957
|
-
export interface WorldlineEmbeddedReceiptDto {
|
|
22958
|
-
/**
|
|
22959
|
-
* Receipt header
|
|
22960
|
-
* @type {string}
|
|
22961
|
-
* @memberof WorldlineEmbeddedReceiptDto
|
|
22962
|
-
*/
|
|
22963
|
-
'header'?: string;
|
|
22964
|
-
/**
|
|
22965
|
-
* Receipt content
|
|
22966
|
-
* @type {string}
|
|
22967
|
-
* @memberof WorldlineEmbeddedReceiptDto
|
|
22968
|
-
*/
|
|
22969
|
-
'content'?: string;
|
|
22970
|
-
/**
|
|
22971
|
-
* Receipt footer
|
|
22972
|
-
* @type {string}
|
|
22973
|
-
* @memberof WorldlineEmbeddedReceiptDto
|
|
22974
|
-
*/
|
|
22975
|
-
'footer'?: string;
|
|
22976
|
-
}
|
|
22977
|
-
/**
|
|
22978
|
-
*
|
|
22979
|
-
* @export
|
|
22980
|
-
* @interface WorldlineEnabledFeaturesDto
|
|
22981
|
-
*/
|
|
22982
|
-
export interface WorldlineEnabledFeaturesDto {
|
|
22983
|
-
/**
|
|
22984
|
-
* Cashier support enabled
|
|
22985
|
-
* @type {boolean}
|
|
22986
|
-
* @memberof WorldlineEnabledFeaturesDto
|
|
22987
|
-
*/
|
|
22988
|
-
'cashier'?: boolean;
|
|
22989
|
-
/**
|
|
22990
|
-
* DCC enabled
|
|
22991
|
-
* @type {boolean}
|
|
22992
|
-
* @memberof WorldlineEnabledFeaturesDto
|
|
22993
|
-
*/
|
|
22994
|
-
'dcc'?: boolean;
|
|
22995
|
-
/**
|
|
22996
|
-
* Tip enabled
|
|
22997
|
-
* @type {boolean}
|
|
22998
|
-
* @memberof WorldlineEnabledFeaturesDto
|
|
22999
|
-
*/
|
|
23000
|
-
'tip'?: boolean;
|
|
23001
|
-
}
|
|
23002
|
-
/**
|
|
23003
|
-
*
|
|
23004
|
-
* @export
|
|
23005
|
-
* @enum {string}
|
|
23006
|
-
*/
|
|
23007
|
-
export declare const WorldlineEntryMode: {
|
|
23008
|
-
readonly Keyed: "Keyed";
|
|
23009
|
-
readonly Magstripe: "Magstripe";
|
|
23010
|
-
readonly Chip: "Chip";
|
|
23011
|
-
readonly Contactless: "Contactless";
|
|
23012
|
-
};
|
|
23013
|
-
export type WorldlineEntryMode = typeof WorldlineEntryMode[keyof typeof WorldlineEntryMode];
|
|
23014
|
-
/**
|
|
23015
|
-
*
|
|
23016
|
-
* @export
|
|
23017
|
-
* @interface WorldlineErrorResponseDto
|
|
23018
|
-
*/
|
|
23019
|
-
export interface WorldlineErrorResponseDto {
|
|
23020
|
-
/**
|
|
23021
|
-
* Error description
|
|
23022
|
-
* @type {string}
|
|
23023
|
-
* @memberof WorldlineErrorResponseDto
|
|
23024
|
-
*/
|
|
23025
|
-
'description': string;
|
|
23026
|
-
/**
|
|
23027
|
-
* Validation or processing errors
|
|
23028
|
-
* @type {Array<string>}
|
|
23029
|
-
* @memberof WorldlineErrorResponseDto
|
|
23030
|
-
*/
|
|
23031
|
-
'errors'?: Array<string>;
|
|
23032
|
-
}
|
|
23033
|
-
/**
|
|
23034
|
-
*
|
|
23035
|
-
* @export
|
|
23036
|
-
* @interface WorldlineEventEnvelopeDto
|
|
23037
|
-
*/
|
|
23038
|
-
export interface WorldlineEventEnvelopeDto {
|
|
23039
|
-
/**
|
|
23040
|
-
* Unique event identifier
|
|
23041
|
-
* @type {string}
|
|
23042
|
-
* @memberof WorldlineEventEnvelopeDto
|
|
23043
|
-
*/
|
|
23044
|
-
'id': string;
|
|
23045
|
-
/**
|
|
23046
|
-
* Timestamp when the event was created
|
|
23047
|
-
* @type {string}
|
|
23048
|
-
* @memberof WorldlineEventEnvelopeDto
|
|
23049
|
-
*/
|
|
23050
|
-
'createdAt': string;
|
|
23051
|
-
/**
|
|
23052
|
-
*
|
|
23053
|
-
* @type {WorldlineEventType}
|
|
23054
|
-
* @memberof WorldlineEventEnvelopeDto
|
|
23055
|
-
*/
|
|
23056
|
-
'type': WorldlineEventType;
|
|
23057
|
-
/**
|
|
23058
|
-
* Business operation identifier
|
|
23059
|
-
* @type {string}
|
|
23060
|
-
* @memberof WorldlineEventEnvelopeDto
|
|
23061
|
-
*/
|
|
23062
|
-
'operationId'?: string;
|
|
23063
|
-
/**
|
|
23064
|
-
*
|
|
23065
|
-
* @type {WorldlineEventEnvelopeDtoData}
|
|
23066
|
-
* @memberof WorldlineEventEnvelopeDto
|
|
23067
|
-
*/
|
|
23068
|
-
'data'?: WorldlineEventEnvelopeDtoData;
|
|
23069
|
-
}
|
|
23070
|
-
/**
|
|
23071
|
-
* @type WorldlineEventEnvelopeDtoData
|
|
23072
|
-
* Event payload
|
|
23073
|
-
* @export
|
|
23074
|
-
*/
|
|
23075
|
-
export type WorldlineEventEnvelopeDtoData = WorldlineDialogDto | WorldlinePaymentResponseDto;
|
|
23076
|
-
/**
|
|
23077
|
-
*
|
|
23078
|
-
* @export
|
|
23079
|
-
* @enum {string}
|
|
23080
|
-
*/
|
|
23081
|
-
export declare const WorldlineEventType: {
|
|
23082
|
-
readonly PaymentCompleted: "PaymentCompleted";
|
|
23083
|
-
readonly RefundCompleted: "RefundCompleted";
|
|
23084
|
-
readonly CaptureCompleted: "CaptureCompleted";
|
|
23085
|
-
readonly ReversalCompleted: "ReversalCompleted";
|
|
23086
|
-
readonly ReadCardCompleted: "ReadCardCompleted";
|
|
23087
|
-
readonly PrintCompleted: "PrintCompleted";
|
|
23088
|
-
readonly DialogShown: "DialogShown";
|
|
23089
|
-
};
|
|
23090
|
-
export type WorldlineEventType = typeof WorldlineEventType[keyof typeof WorldlineEventType];
|
|
23091
|
-
/**
|
|
23092
|
-
*
|
|
23093
|
-
* @export
|
|
23094
|
-
* @interface WorldlineMerchantDto
|
|
23095
|
-
*/
|
|
23096
|
-
export interface WorldlineMerchantDto {
|
|
23097
|
-
/**
|
|
23098
|
-
* Merchant identifier
|
|
23099
|
-
* @type {string}
|
|
23100
|
-
* @memberof WorldlineMerchantDto
|
|
23101
|
-
*/
|
|
23102
|
-
'id'?: string;
|
|
23103
|
-
/**
|
|
23104
|
-
* Merchant display name
|
|
23105
|
-
* @type {string}
|
|
23106
|
-
* @memberof WorldlineMerchantDto
|
|
23107
|
-
*/
|
|
23108
|
-
'name': string;
|
|
23109
|
-
/**
|
|
23110
|
-
* Merchant street address
|
|
23111
|
-
* @type {string}
|
|
23112
|
-
* @memberof WorldlineMerchantDto
|
|
23113
|
-
*/
|
|
23114
|
-
'address'?: string;
|
|
23115
|
-
/**
|
|
23116
|
-
* Postal code and city
|
|
23117
|
-
* @type {string}
|
|
23118
|
-
* @memberof WorldlineMerchantDto
|
|
23119
|
-
*/
|
|
23120
|
-
'city'?: string;
|
|
23121
|
-
/**
|
|
23122
|
-
* Organization number
|
|
23123
|
-
* @type {string}
|
|
23124
|
-
* @memberof WorldlineMerchantDto
|
|
23125
|
-
*/
|
|
23126
|
-
'organizationNumber'?: string;
|
|
23127
|
-
/**
|
|
23128
|
-
* Phone number
|
|
23129
|
-
* @type {string}
|
|
23130
|
-
* @memberof WorldlineMerchantDto
|
|
23131
|
-
*/
|
|
23132
|
-
'phoneNumber'?: string;
|
|
23133
|
-
}
|
|
23134
|
-
/**
|
|
23135
|
-
*
|
|
23136
|
-
* @export
|
|
23137
|
-
* @interface WorldlineOngoingOperationDto
|
|
23138
|
-
*/
|
|
23139
|
-
export interface WorldlineOngoingOperationDto {
|
|
23140
|
-
/**
|
|
23141
|
-
* Current operation identifier
|
|
23142
|
-
* @type {string}
|
|
23143
|
-
* @memberof WorldlineOngoingOperationDto
|
|
23144
|
-
*/
|
|
23145
|
-
'operationId': string;
|
|
23146
|
-
/**
|
|
23147
|
-
* Current ongoing operation type
|
|
23148
|
-
* @type {string}
|
|
23149
|
-
* @memberof WorldlineOngoingOperationDto
|
|
23150
|
-
*/
|
|
23151
|
-
'type': string;
|
|
23152
|
-
}
|
|
23153
|
-
/**
|
|
23154
|
-
*
|
|
23155
|
-
* @export
|
|
23156
|
-
* @enum {string}
|
|
23157
|
-
*/
|
|
23158
|
-
export declare const WorldlineOutcomeDescription: {
|
|
23159
|
-
readonly None: "None";
|
|
23160
|
-
readonly Aborted: "Aborted";
|
|
23161
|
-
readonly UserCancel: "UserCancel";
|
|
23162
|
-
readonly UserTimeout: "UserTimeout";
|
|
23163
|
-
readonly CommunicationError: "CommunicationError";
|
|
23164
|
-
readonly GenericError: "GenericError";
|
|
23165
|
-
};
|
|
23166
|
-
export type WorldlineOutcomeDescription = typeof WorldlineOutcomeDescription[keyof typeof WorldlineOutcomeDescription];
|
|
23167
|
-
/**
|
|
23168
|
-
*
|
|
23169
|
-
* @export
|
|
23170
|
-
* @interface WorldlinePaymentRequestDataDto
|
|
23171
|
-
*/
|
|
23172
|
-
export interface WorldlinePaymentRequestDataDto {
|
|
23173
|
-
/**
|
|
23174
|
-
* Business operation identifier generated by the POS
|
|
23175
|
-
* @type {string}
|
|
23176
|
-
* @memberof WorldlinePaymentRequestDataDto
|
|
23177
|
-
*/
|
|
23178
|
-
'operationId': string;
|
|
23179
|
-
/**
|
|
23180
|
-
*
|
|
23181
|
-
* @type {WorldlinePaymentRequestDataDtoAmounts}
|
|
23182
|
-
* @memberof WorldlinePaymentRequestDataDto
|
|
23183
|
-
*/
|
|
23184
|
-
'amounts': WorldlinePaymentRequestDataDtoAmounts;
|
|
23185
|
-
/**
|
|
23186
|
-
* Cashier identifier
|
|
23187
|
-
* @type {string}
|
|
23188
|
-
* @memberof WorldlinePaymentRequestDataDto
|
|
23189
|
-
*/
|
|
23190
|
-
'cashierId'?: string;
|
|
23191
|
-
/**
|
|
23192
|
-
* POS custom data
|
|
23193
|
-
* @type {object}
|
|
23194
|
-
* @memberof WorldlinePaymentRequestDataDto
|
|
23195
|
-
*/
|
|
23196
|
-
'customData'?: object;
|
|
23197
|
-
/**
|
|
23198
|
-
* Whether the terminal should print a receipt
|
|
23199
|
-
* @type {boolean}
|
|
23200
|
-
* @memberof WorldlinePaymentRequestDataDto
|
|
23201
|
-
*/
|
|
23202
|
-
'printReceipt'?: boolean;
|
|
23203
|
-
/**
|
|
23204
|
-
* Whether manual PAN entry is allowed
|
|
23205
|
-
* @type {boolean}
|
|
23206
|
-
* @memberof WorldlinePaymentRequestDataDto
|
|
23207
|
-
*/
|
|
23208
|
-
'manualEntry'?: boolean;
|
|
23209
|
-
/**
|
|
23210
|
-
* Receipt width in characters
|
|
23211
|
-
* @type {number}
|
|
23212
|
-
* @memberof WorldlinePaymentRequestDataDto
|
|
23213
|
-
*/
|
|
23214
|
-
'receiptWidth'?: number;
|
|
23215
|
-
}
|
|
23216
|
-
/**
|
|
23217
|
-
* Payment amounts
|
|
23218
|
-
* @export
|
|
23219
|
-
* @interface WorldlinePaymentRequestDataDtoAmounts
|
|
23220
|
-
*/
|
|
23221
|
-
export interface WorldlinePaymentRequestDataDtoAmounts {
|
|
23222
|
-
/**
|
|
23223
|
-
* ISO 4217 currency symbol
|
|
23224
|
-
* @type {string}
|
|
23225
|
-
* @memberof WorldlinePaymentRequestDataDtoAmounts
|
|
23226
|
-
*/
|
|
23227
|
-
'currencySymbol': string;
|
|
23228
|
-
/**
|
|
23229
|
-
* Base amount in the lowest unit of the currency
|
|
23230
|
-
* @type {number}
|
|
23231
|
-
* @memberof WorldlinePaymentRequestDataDtoAmounts
|
|
23232
|
-
*/
|
|
23233
|
-
'base': number;
|
|
23234
|
-
/**
|
|
23235
|
-
* Optional tip amount in the lowest unit of the currency
|
|
23236
|
-
* @type {number}
|
|
23237
|
-
* @memberof WorldlinePaymentRequestDataDtoAmounts
|
|
23238
|
-
*/
|
|
23239
|
-
'tip'?: number;
|
|
23240
|
-
}
|
|
23241
|
-
/**
|
|
23242
|
-
*
|
|
23243
|
-
* @export
|
|
23244
|
-
* @interface WorldlinePaymentResponseDto
|
|
23245
|
-
*/
|
|
23246
|
-
export interface WorldlinePaymentResponseDto {
|
|
23247
|
-
/**
|
|
23248
|
-
*
|
|
23249
|
-
* @type {WorldlinePaymentResponseDtoAmounts}
|
|
23250
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23251
|
-
*/
|
|
23252
|
-
'amounts'?: WorldlinePaymentResponseDtoAmounts;
|
|
23253
|
-
/**
|
|
23254
|
-
* Approval code
|
|
23255
|
-
* @type {string}
|
|
23256
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23257
|
-
*/
|
|
23258
|
-
'approvalCode'?: string;
|
|
23259
|
-
/**
|
|
23260
|
-
*
|
|
23261
|
-
* @type {WorldlineAuthorizationMethod}
|
|
23262
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23263
|
-
*/
|
|
23264
|
-
'authorizationMethod'?: WorldlineAuthorizationMethod;
|
|
23265
|
-
/**
|
|
23266
|
-
*
|
|
23267
|
-
* @type {WorldlineAuthorizationResponder}
|
|
23268
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23269
|
-
*/
|
|
23270
|
-
'authorizationResponder'?: WorldlineAuthorizationResponder;
|
|
23271
|
-
/**
|
|
23272
|
-
* Batch number
|
|
23273
|
-
* @type {string}
|
|
23274
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23275
|
-
*/
|
|
23276
|
-
'batchNumber'?: string;
|
|
23277
|
-
/**
|
|
23278
|
-
* Card product name
|
|
23279
|
-
* @type {string}
|
|
23280
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23281
|
-
*/
|
|
23282
|
-
'cardProductName'?: string;
|
|
23283
|
-
/**
|
|
23284
|
-
* Cashier identifier
|
|
23285
|
-
* @type {string}
|
|
23286
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23287
|
-
*/
|
|
23288
|
-
'cashierId'?: string;
|
|
23289
|
-
/**
|
|
23290
|
-
* POS custom data
|
|
23291
|
-
* @type {object}
|
|
23292
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23293
|
-
*/
|
|
23294
|
-
'customData'?: object;
|
|
23295
|
-
/**
|
|
23296
|
-
*
|
|
23297
|
-
* @type {WorldlineEntryMode}
|
|
23298
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23299
|
-
*/
|
|
23300
|
-
'entryMode'?: WorldlineEntryMode;
|
|
23301
|
-
/**
|
|
23302
|
-
* Financial institution
|
|
23303
|
-
* @type {string}
|
|
23304
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23305
|
-
*/
|
|
23306
|
-
'financialInstitution'?: string;
|
|
23307
|
-
/**
|
|
23308
|
-
* Masked PAN
|
|
23309
|
-
* @type {string}
|
|
23310
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23311
|
-
*/
|
|
23312
|
-
'maskedPan'?: string;
|
|
23313
|
-
/**
|
|
23314
|
-
*
|
|
23315
|
-
* @type {WorldlinePaymentResponseDtoMerchant}
|
|
23316
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23317
|
-
*/
|
|
23318
|
-
'merchant'?: WorldlinePaymentResponseDtoMerchant;
|
|
23319
|
-
/**
|
|
23320
|
-
*
|
|
23321
|
-
* @type {WorldlinePaymentResponseDtoReceipt}
|
|
23322
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23323
|
-
*/
|
|
23324
|
-
'receipt'?: WorldlinePaymentResponseDtoReceipt;
|
|
23325
|
-
/**
|
|
23326
|
-
* Receipt number
|
|
23327
|
-
* @type {string}
|
|
23328
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23329
|
-
*/
|
|
23330
|
-
'receiptNumber'?: string;
|
|
23331
|
-
/**
|
|
23332
|
-
* Action code
|
|
23333
|
-
* @type {string}
|
|
23334
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23335
|
-
*/
|
|
23336
|
-
'actionCode'?: string;
|
|
23337
|
-
/**
|
|
23338
|
-
*
|
|
23339
|
-
* @type {WorldlinePaymentResponseDtoTerminal}
|
|
23340
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23341
|
-
*/
|
|
23342
|
-
'terminal'?: WorldlinePaymentResponseDtoTerminal;
|
|
23343
|
-
/**
|
|
23344
|
-
* Terminal reference number
|
|
23345
|
-
* @type {string}
|
|
23346
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23347
|
-
*/
|
|
23348
|
-
'terminalRrn'?: string;
|
|
23349
|
-
/**
|
|
23350
|
-
* Transaction timestamp
|
|
23351
|
-
* @type {string}
|
|
23352
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23353
|
-
*/
|
|
23354
|
-
'timestamp'?: string;
|
|
23355
|
-
/**
|
|
23356
|
-
* Worldline transaction identifier
|
|
23357
|
-
* @type {string}
|
|
23358
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23359
|
-
*/
|
|
23360
|
-
'transactionId'?: string;
|
|
23361
|
-
/**
|
|
23362
|
-
*
|
|
23363
|
-
* @type {WorldlineTransactionOutcome}
|
|
23364
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23365
|
-
*/
|
|
23366
|
-
'transactionOutcome'?: WorldlineTransactionOutcome;
|
|
23367
|
-
/**
|
|
23368
|
-
*
|
|
23369
|
-
* @type {WorldlineOutcomeDescription}
|
|
23370
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23371
|
-
*/
|
|
23372
|
-
'outcomeDescription'?: WorldlineOutcomeDescription;
|
|
23373
|
-
/**
|
|
23374
|
-
*
|
|
23375
|
-
* @type {WorldlineTransactionType}
|
|
23376
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23377
|
-
*/
|
|
23378
|
-
'transactionType'?: WorldlineTransactionType;
|
|
23379
|
-
/**
|
|
23380
|
-
*
|
|
23381
|
-
* @type {WorldlineVerificationMethod}
|
|
23382
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23383
|
-
*/
|
|
23384
|
-
'verificationMethod'?: WorldlineVerificationMethod;
|
|
23385
|
-
/**
|
|
23386
|
-
* Cardholder language
|
|
23387
|
-
* @type {string}
|
|
23388
|
-
* @memberof WorldlinePaymentResponseDto
|
|
23389
|
-
*/
|
|
23390
|
-
'cardholderLanguage'?: string;
|
|
23391
|
-
}
|
|
23392
|
-
/**
|
|
23393
|
-
* Transaction amounts
|
|
23394
|
-
* @export
|
|
23395
|
-
* @interface WorldlinePaymentResponseDtoAmounts
|
|
23396
|
-
*/
|
|
23397
|
-
export interface WorldlinePaymentResponseDtoAmounts {
|
|
23398
|
-
/**
|
|
23399
|
-
*
|
|
23400
|
-
* @type {WorldlineAmountsResponseDtoCurrency}
|
|
23401
|
-
* @memberof WorldlinePaymentResponseDtoAmounts
|
|
23402
|
-
*/
|
|
23403
|
-
'currency': WorldlineAmountsResponseDtoCurrency;
|
|
23404
|
-
/**
|
|
23405
|
-
* Base amount
|
|
23406
|
-
* @type {number}
|
|
23407
|
-
* @memberof WorldlinePaymentResponseDtoAmounts
|
|
23408
|
-
*/
|
|
23409
|
-
'base': number;
|
|
23410
|
-
/**
|
|
23411
|
-
* Total amount
|
|
23412
|
-
* @type {number}
|
|
23413
|
-
* @memberof WorldlinePaymentResponseDtoAmounts
|
|
23414
|
-
*/
|
|
23415
|
-
'total': number;
|
|
23416
|
-
/**
|
|
23417
|
-
* Tip amount
|
|
23418
|
-
* @type {number}
|
|
23419
|
-
* @memberof WorldlinePaymentResponseDtoAmounts
|
|
23420
|
-
*/
|
|
23421
|
-
'tip'?: number;
|
|
23422
|
-
}
|
|
23423
|
-
/**
|
|
23424
|
-
* Merchant information
|
|
23425
|
-
* @export
|
|
23426
|
-
* @interface WorldlinePaymentResponseDtoMerchant
|
|
23427
|
-
*/
|
|
23428
|
-
export interface WorldlinePaymentResponseDtoMerchant {
|
|
23429
|
-
/**
|
|
23430
|
-
* Merchant identifier
|
|
23431
|
-
* @type {string}
|
|
23432
|
-
* @memberof WorldlinePaymentResponseDtoMerchant
|
|
23433
|
-
*/
|
|
23434
|
-
'id'?: string;
|
|
23435
|
-
/**
|
|
23436
|
-
* Merchant display name
|
|
23437
|
-
* @type {string}
|
|
23438
|
-
* @memberof WorldlinePaymentResponseDtoMerchant
|
|
23439
|
-
*/
|
|
23440
|
-
'name': string;
|
|
23441
|
-
/**
|
|
23442
|
-
* Merchant street address
|
|
23443
|
-
* @type {string}
|
|
23444
|
-
* @memberof WorldlinePaymentResponseDtoMerchant
|
|
23445
|
-
*/
|
|
23446
|
-
'address'?: string;
|
|
23447
|
-
/**
|
|
23448
|
-
* Postal code and city
|
|
23449
|
-
* @type {string}
|
|
23450
|
-
* @memberof WorldlinePaymentResponseDtoMerchant
|
|
23451
|
-
*/
|
|
23452
|
-
'city'?: string;
|
|
23453
|
-
/**
|
|
23454
|
-
* Organization number
|
|
23455
|
-
* @type {string}
|
|
23456
|
-
* @memberof WorldlinePaymentResponseDtoMerchant
|
|
23457
|
-
*/
|
|
23458
|
-
'organizationNumber'?: string;
|
|
23459
|
-
/**
|
|
23460
|
-
* Phone number
|
|
23461
|
-
* @type {string}
|
|
23462
|
-
* @memberof WorldlinePaymentResponseDtoMerchant
|
|
23463
|
-
*/
|
|
23464
|
-
'phoneNumber'?: string;
|
|
23465
|
-
}
|
|
23466
|
-
/**
|
|
23467
|
-
* Receipt data
|
|
23468
|
-
* @export
|
|
23469
|
-
* @interface WorldlinePaymentResponseDtoReceipt
|
|
23470
|
-
*/
|
|
23471
|
-
export interface WorldlinePaymentResponseDtoReceipt {
|
|
23472
|
-
/**
|
|
23473
|
-
*
|
|
23474
|
-
* @type {WorldlineReceiptDtoCustomer}
|
|
23475
|
-
* @memberof WorldlinePaymentResponseDtoReceipt
|
|
23476
|
-
*/
|
|
23477
|
-
'customer'?: WorldlineReceiptDtoCustomer;
|
|
23478
|
-
/**
|
|
23479
|
-
*
|
|
23480
|
-
* @type {WorldlineReceiptDtoMerchant}
|
|
23481
|
-
* @memberof WorldlinePaymentResponseDtoReceipt
|
|
23482
|
-
*/
|
|
23483
|
-
'merchant'?: WorldlineReceiptDtoMerchant;
|
|
23484
|
-
}
|
|
23485
|
-
/**
|
|
23486
|
-
* Terminal information
|
|
23487
|
-
* @export
|
|
23488
|
-
* @interface WorldlinePaymentResponseDtoTerminal
|
|
23489
|
-
*/
|
|
23490
|
-
export interface WorldlinePaymentResponseDtoTerminal {
|
|
23491
|
-
/**
|
|
23492
|
-
* Terminal identifier
|
|
23493
|
-
* @type {string}
|
|
23494
|
-
* @memberof WorldlinePaymentResponseDtoTerminal
|
|
23495
|
-
*/
|
|
23496
|
-
'id': string;
|
|
23497
|
-
/**
|
|
23498
|
-
* Current date and time in the terminal
|
|
23499
|
-
* @type {string}
|
|
23500
|
-
* @memberof WorldlinePaymentResponseDtoTerminal
|
|
23501
|
-
*/
|
|
23502
|
-
'dateTime': string;
|
|
23503
|
-
/**
|
|
23504
|
-
* Terminal uptime in seconds
|
|
23505
|
-
* @type {number}
|
|
23506
|
-
* @memberof WorldlinePaymentResponseDtoTerminal
|
|
23507
|
-
*/
|
|
23508
|
-
'uptimeSeconds'?: number;
|
|
23509
|
-
/**
|
|
23510
|
-
*
|
|
23511
|
-
* @type {WorldlineTerminalInformationDtoSoftware}
|
|
23512
|
-
* @memberof WorldlinePaymentResponseDtoTerminal
|
|
23513
|
-
*/
|
|
23514
|
-
'software'?: WorldlineTerminalInformationDtoSoftware;
|
|
23515
|
-
/**
|
|
23516
|
-
* Configured reboot time
|
|
23517
|
-
* @type {string}
|
|
23518
|
-
* @memberof WorldlinePaymentResponseDtoTerminal
|
|
23519
|
-
*/
|
|
23520
|
-
'rebootTime'?: string;
|
|
23521
|
-
}
|
|
23522
|
-
/**
|
|
23523
|
-
*
|
|
23524
|
-
* @export
|
|
23525
|
-
* @interface WorldlineReceiptContentDto
|
|
23526
|
-
*/
|
|
23527
|
-
export interface WorldlineReceiptContentDto {
|
|
23528
|
-
/**
|
|
23529
|
-
* Recommendation whether the receipt should be printed
|
|
23530
|
-
* @type {boolean}
|
|
23531
|
-
* @memberof WorldlineReceiptContentDto
|
|
23532
|
-
*/
|
|
23533
|
-
'shouldPrint'?: boolean;
|
|
23534
|
-
/**
|
|
23535
|
-
* Plain text receipt
|
|
23536
|
-
* @type {string}
|
|
23537
|
-
* @memberof WorldlineReceiptContentDto
|
|
23538
|
-
*/
|
|
23539
|
-
'plain'?: string;
|
|
23540
|
-
/**
|
|
23541
|
-
*
|
|
23542
|
-
* @type {WorldlineReceiptContentDtoEmbeddedPlain}
|
|
23543
|
-
* @memberof WorldlineReceiptContentDto
|
|
22666
|
+
* WeChat Pay transaction ID
|
|
22667
|
+
* @type {string}
|
|
22668
|
+
* @memberof WechatPayDetailsDto
|
|
23544
22669
|
*/
|
|
23545
|
-
'
|
|
22670
|
+
'transactionId'?: string | null;
|
|
23546
22671
|
}
|
|
23547
22672
|
/**
|
|
23548
|
-
*
|
|
22673
|
+
*
|
|
23549
22674
|
* @export
|
|
23550
|
-
* @interface
|
|
22675
|
+
* @interface WorldlineAmountsRequestDto
|
|
23551
22676
|
*/
|
|
23552
|
-
export interface
|
|
22677
|
+
export interface WorldlineAmountsRequestDto {
|
|
23553
22678
|
/**
|
|
23554
|
-
*
|
|
22679
|
+
* ISO 4217 currency symbol
|
|
23555
22680
|
* @type {string}
|
|
23556
|
-
* @memberof
|
|
22681
|
+
* @memberof WorldlineAmountsRequestDto
|
|
23557
22682
|
*/
|
|
23558
|
-
'
|
|
22683
|
+
'currencySymbol': string;
|
|
23559
22684
|
/**
|
|
23560
|
-
*
|
|
23561
|
-
* @type {
|
|
23562
|
-
* @memberof
|
|
22685
|
+
* Base amount in the lowest unit of the currency
|
|
22686
|
+
* @type {number}
|
|
22687
|
+
* @memberof WorldlineAmountsRequestDto
|
|
23563
22688
|
*/
|
|
23564
|
-
'
|
|
22689
|
+
'base': number;
|
|
23565
22690
|
/**
|
|
23566
|
-
*
|
|
23567
|
-
* @type {
|
|
23568
|
-
* @memberof
|
|
22691
|
+
* Optional tip amount in the lowest unit of the currency
|
|
22692
|
+
* @type {number}
|
|
22693
|
+
* @memberof WorldlineAmountsRequestDto
|
|
23569
22694
|
*/
|
|
23570
|
-
'
|
|
22695
|
+
'tip'?: number;
|
|
23571
22696
|
}
|
|
23572
22697
|
/**
|
|
23573
22698
|
*
|
|
23574
22699
|
* @export
|
|
23575
|
-
* @interface
|
|
22700
|
+
* @interface WorldlinePaymentRequestDataDto
|
|
23576
22701
|
*/
|
|
23577
|
-
export interface
|
|
22702
|
+
export interface WorldlinePaymentRequestDataDto {
|
|
23578
22703
|
/**
|
|
23579
|
-
*
|
|
23580
|
-
* @type {
|
|
23581
|
-
* @memberof
|
|
22704
|
+
* Business operation identifier generated by the POS
|
|
22705
|
+
* @type {string}
|
|
22706
|
+
* @memberof WorldlinePaymentRequestDataDto
|
|
23582
22707
|
*/
|
|
23583
|
-
'
|
|
22708
|
+
'operationId': string;
|
|
23584
22709
|
/**
|
|
23585
22710
|
*
|
|
23586
|
-
* @type {
|
|
23587
|
-
* @memberof
|
|
22711
|
+
* @type {WorldlinePaymentRequestDataDtoAmounts}
|
|
22712
|
+
* @memberof WorldlinePaymentRequestDataDto
|
|
23588
22713
|
*/
|
|
23589
|
-
'
|
|
23590
|
-
|
|
23591
|
-
|
|
23592
|
-
|
|
23593
|
-
|
|
23594
|
-
|
|
23595
|
-
|
|
23596
|
-
export interface WorldlineReceiptDtoCustomer {
|
|
22714
|
+
'amounts': WorldlinePaymentRequestDataDtoAmounts;
|
|
22715
|
+
/**
|
|
22716
|
+
* Cashier identifier
|
|
22717
|
+
* @type {string}
|
|
22718
|
+
* @memberof WorldlinePaymentRequestDataDto
|
|
22719
|
+
*/
|
|
22720
|
+
'cashierId'?: string;
|
|
23597
22721
|
/**
|
|
23598
|
-
*
|
|
22722
|
+
* POS custom data
|
|
22723
|
+
* @type {object}
|
|
22724
|
+
* @memberof WorldlinePaymentRequestDataDto
|
|
22725
|
+
*/
|
|
22726
|
+
'customData'?: object;
|
|
22727
|
+
/**
|
|
22728
|
+
* Whether the terminal should print a receipt
|
|
23599
22729
|
* @type {boolean}
|
|
23600
|
-
* @memberof
|
|
22730
|
+
* @memberof WorldlinePaymentRequestDataDto
|
|
23601
22731
|
*/
|
|
23602
|
-
'
|
|
22732
|
+
'printReceipt'?: boolean;
|
|
23603
22733
|
/**
|
|
23604
|
-
*
|
|
23605
|
-
* @type {
|
|
23606
|
-
* @memberof
|
|
22734
|
+
* Whether manual PAN entry is allowed
|
|
22735
|
+
* @type {boolean}
|
|
22736
|
+
* @memberof WorldlinePaymentRequestDataDto
|
|
23607
22737
|
*/
|
|
23608
|
-
'
|
|
22738
|
+
'manualEntry'?: boolean;
|
|
23609
22739
|
/**
|
|
23610
|
-
*
|
|
23611
|
-
* @type {
|
|
23612
|
-
* @memberof
|
|
22740
|
+
* Receipt width in characters
|
|
22741
|
+
* @type {number}
|
|
22742
|
+
* @memberof WorldlinePaymentRequestDataDto
|
|
23613
22743
|
*/
|
|
23614
|
-
'
|
|
22744
|
+
'receiptWidth'?: number;
|
|
23615
22745
|
}
|
|
23616
22746
|
/**
|
|
23617
|
-
*
|
|
22747
|
+
* Payment amounts
|
|
23618
22748
|
* @export
|
|
23619
|
-
* @interface
|
|
22749
|
+
* @interface WorldlinePaymentRequestDataDtoAmounts
|
|
23620
22750
|
*/
|
|
23621
|
-
export interface
|
|
22751
|
+
export interface WorldlinePaymentRequestDataDtoAmounts {
|
|
23622
22752
|
/**
|
|
23623
|
-
*
|
|
23624
|
-
* @type {
|
|
23625
|
-
* @memberof
|
|
22753
|
+
* ISO 4217 currency symbol
|
|
22754
|
+
* @type {string}
|
|
22755
|
+
* @memberof WorldlinePaymentRequestDataDtoAmounts
|
|
23626
22756
|
*/
|
|
23627
|
-
'
|
|
22757
|
+
'currencySymbol': string;
|
|
23628
22758
|
/**
|
|
23629
|
-
*
|
|
23630
|
-
* @type {
|
|
23631
|
-
* @memberof
|
|
22759
|
+
* Base amount in the lowest unit of the currency
|
|
22760
|
+
* @type {number}
|
|
22761
|
+
* @memberof WorldlinePaymentRequestDataDtoAmounts
|
|
23632
22762
|
*/
|
|
23633
|
-
'
|
|
22763
|
+
'base': number;
|
|
23634
22764
|
/**
|
|
23635
|
-
*
|
|
23636
|
-
* @type {
|
|
23637
|
-
* @memberof
|
|
22765
|
+
* Optional tip amount in the lowest unit of the currency
|
|
22766
|
+
* @type {number}
|
|
22767
|
+
* @memberof WorldlinePaymentRequestDataDtoAmounts
|
|
23638
22768
|
*/
|
|
23639
|
-
'
|
|
22769
|
+
'tip'?: number;
|
|
23640
22770
|
}
|
|
23641
22771
|
/**
|
|
23642
22772
|
*
|
|
@@ -23712,161 +22842,6 @@ export interface WorldlineRefundRequestDataDtoAmounts {
|
|
|
23712
22842
|
*/
|
|
23713
22843
|
'tip'?: number;
|
|
23714
22844
|
}
|
|
23715
|
-
/**
|
|
23716
|
-
*
|
|
23717
|
-
* @export
|
|
23718
|
-
* @interface WorldlineResponseEnvelopeDto
|
|
23719
|
-
*/
|
|
23720
|
-
export interface WorldlineResponseEnvelopeDto {
|
|
23721
|
-
/**
|
|
23722
|
-
* Identifier of the request this response belongs to
|
|
23723
|
-
* @type {string}
|
|
23724
|
-
* @memberof WorldlineResponseEnvelopeDto
|
|
23725
|
-
*/
|
|
23726
|
-
'id'?: string;
|
|
23727
|
-
/**
|
|
23728
|
-
* Timestamp when the response was created
|
|
23729
|
-
* @type {string}
|
|
23730
|
-
* @memberof WorldlineResponseEnvelopeDto
|
|
23731
|
-
*/
|
|
23732
|
-
'createdAt': string;
|
|
23733
|
-
/**
|
|
23734
|
-
*
|
|
23735
|
-
* @type {WorldlineResponseStatus}
|
|
23736
|
-
* @memberof WorldlineResponseEnvelopeDto
|
|
23737
|
-
*/
|
|
23738
|
-
'status': WorldlineResponseStatus;
|
|
23739
|
-
/**
|
|
23740
|
-
*
|
|
23741
|
-
* @type {WorldlineResponseEnvelopeDtoData}
|
|
23742
|
-
* @memberof WorldlineResponseEnvelopeDto
|
|
23743
|
-
*/
|
|
23744
|
-
'data': WorldlineResponseEnvelopeDtoData;
|
|
23745
|
-
}
|
|
23746
|
-
/**
|
|
23747
|
-
* @type WorldlineResponseEnvelopeDtoData
|
|
23748
|
-
* Response payload
|
|
23749
|
-
* @export
|
|
23750
|
-
*/
|
|
23751
|
-
export type WorldlineResponseEnvelopeDtoData = WorldlineAsyncResponseDto | WorldlineDeviceInformationResponseDto | WorldlineErrorResponseDto | WorldlinePaymentResponseDto;
|
|
23752
|
-
/**
|
|
23753
|
-
*
|
|
23754
|
-
* @export
|
|
23755
|
-
* @enum {string}
|
|
23756
|
-
*/
|
|
23757
|
-
export declare const WorldlineResponseStatus: {
|
|
23758
|
-
readonly Ok: "OK";
|
|
23759
|
-
readonly NotFound: "NotFound";
|
|
23760
|
-
readonly BadRequest: "BadRequest";
|
|
23761
|
-
readonly Unauthorized: "Unauthorized";
|
|
23762
|
-
readonly Forbidden: "Forbidden";
|
|
23763
|
-
readonly TooManyRequests: "TooManyRequests";
|
|
23764
|
-
readonly ServiceUnavailable: "ServiceUnavailable";
|
|
23765
|
-
readonly InternalServerError: "InternalServerError";
|
|
23766
|
-
};
|
|
23767
|
-
export type WorldlineResponseStatus = typeof WorldlineResponseStatus[keyof typeof WorldlineResponseStatus];
|
|
23768
|
-
/**
|
|
23769
|
-
*
|
|
23770
|
-
* @export
|
|
23771
|
-
* @interface WorldlineTerminalInformationDto
|
|
23772
|
-
*/
|
|
23773
|
-
export interface WorldlineTerminalInformationDto {
|
|
23774
|
-
/**
|
|
23775
|
-
* Terminal identifier
|
|
23776
|
-
* @type {string}
|
|
23777
|
-
* @memberof WorldlineTerminalInformationDto
|
|
23778
|
-
*/
|
|
23779
|
-
'id': string;
|
|
23780
|
-
/**
|
|
23781
|
-
* Current date and time in the terminal
|
|
23782
|
-
* @type {string}
|
|
23783
|
-
* @memberof WorldlineTerminalInformationDto
|
|
23784
|
-
*/
|
|
23785
|
-
'dateTime': string;
|
|
23786
|
-
/**
|
|
23787
|
-
* Terminal uptime in seconds
|
|
23788
|
-
* @type {number}
|
|
23789
|
-
* @memberof WorldlineTerminalInformationDto
|
|
23790
|
-
*/
|
|
23791
|
-
'uptimeSeconds'?: number;
|
|
23792
|
-
/**
|
|
23793
|
-
*
|
|
23794
|
-
* @type {WorldlineTerminalInformationDtoSoftware}
|
|
23795
|
-
* @memberof WorldlineTerminalInformationDto
|
|
23796
|
-
*/
|
|
23797
|
-
'software'?: WorldlineTerminalInformationDtoSoftware;
|
|
23798
|
-
/**
|
|
23799
|
-
* Configured reboot time
|
|
23800
|
-
* @type {string}
|
|
23801
|
-
* @memberof WorldlineTerminalInformationDto
|
|
23802
|
-
*/
|
|
23803
|
-
'rebootTime'?: string;
|
|
23804
|
-
}
|
|
23805
|
-
/**
|
|
23806
|
-
* Terminal software information
|
|
23807
|
-
* @export
|
|
23808
|
-
* @interface WorldlineTerminalInformationDtoSoftware
|
|
23809
|
-
*/
|
|
23810
|
-
export interface WorldlineTerminalInformationDtoSoftware {
|
|
23811
|
-
/**
|
|
23812
|
-
* Current terminal software version
|
|
23813
|
-
* @type {string}
|
|
23814
|
-
* @memberof WorldlineTerminalInformationDtoSoftware
|
|
23815
|
-
*/
|
|
23816
|
-
'current': string;
|
|
23817
|
-
}
|
|
23818
|
-
/**
|
|
23819
|
-
*
|
|
23820
|
-
* @export
|
|
23821
|
-
* @interface WorldlineTerminalSoftwareDto
|
|
23822
|
-
*/
|
|
23823
|
-
export interface WorldlineTerminalSoftwareDto {
|
|
23824
|
-
/**
|
|
23825
|
-
* Current terminal software version
|
|
23826
|
-
* @type {string}
|
|
23827
|
-
* @memberof WorldlineTerminalSoftwareDto
|
|
23828
|
-
*/
|
|
23829
|
-
'current': string;
|
|
23830
|
-
}
|
|
23831
|
-
/**
|
|
23832
|
-
*
|
|
23833
|
-
* @export
|
|
23834
|
-
* @enum {string}
|
|
23835
|
-
*/
|
|
23836
|
-
export declare const WorldlineTransactionOutcome: {
|
|
23837
|
-
readonly Approved: "Approved";
|
|
23838
|
-
readonly Declined: "Declined";
|
|
23839
|
-
readonly Cancelled: "Cancelled";
|
|
23840
|
-
};
|
|
23841
|
-
export type WorldlineTransactionOutcome = typeof WorldlineTransactionOutcome[keyof typeof WorldlineTransactionOutcome];
|
|
23842
|
-
/**
|
|
23843
|
-
*
|
|
23844
|
-
* @export
|
|
23845
|
-
* @enum {string}
|
|
23846
|
-
*/
|
|
23847
|
-
export declare const WorldlineTransactionType: {
|
|
23848
|
-
readonly Payment: "Payment";
|
|
23849
|
-
readonly Refund: "Refund";
|
|
23850
|
-
readonly Capture: "Capture";
|
|
23851
|
-
readonly Reversal: "Reversal";
|
|
23852
|
-
readonly Print: "Print";
|
|
23853
|
-
};
|
|
23854
|
-
export type WorldlineTransactionType = typeof WorldlineTransactionType[keyof typeof WorldlineTransactionType];
|
|
23855
|
-
/**
|
|
23856
|
-
*
|
|
23857
|
-
* @export
|
|
23858
|
-
* @enum {string}
|
|
23859
|
-
*/
|
|
23860
|
-
export declare const WorldlineVerificationMethod: {
|
|
23861
|
-
readonly Failed: "Failed";
|
|
23862
|
-
readonly OnlinePin: "OnlinePin";
|
|
23863
|
-
readonly OfflinePin: "OfflinePin";
|
|
23864
|
-
readonly Signature: "Signature";
|
|
23865
|
-
readonly NoCvm: "NoCvm";
|
|
23866
|
-
readonly ConsumerDevice: "ConsumerDevice";
|
|
23867
|
-
readonly Skipped: "Skipped";
|
|
23868
|
-
};
|
|
23869
|
-
export type WorldlineVerificationMethod = typeof WorldlineVerificationMethod[keyof typeof WorldlineVerificationMethod];
|
|
23870
22845
|
/**
|
|
23871
22846
|
* AblyApi - axios parameter creator
|
|
23872
22847
|
* @export
|
|
@@ -26539,6 +25514,14 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
26539
25514
|
* @export
|
|
26540
25515
|
*/
|
|
26541
25516
|
export declare const CoursesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25517
|
+
/**
|
|
25518
|
+
*
|
|
25519
|
+
* @summary Get course config for a business
|
|
25520
|
+
* @param {number} businessId Business ID
|
|
25521
|
+
* @param {*} [options] Override http request option.
|
|
25522
|
+
* @throws {RequiredError}
|
|
25523
|
+
*/
|
|
25524
|
+
getCourseConfig: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26542
25525
|
/**
|
|
26543
25526
|
*
|
|
26544
25527
|
* @summary Get courses for a business
|
|
@@ -26553,6 +25536,14 @@ export declare const CoursesApiAxiosParamCreator: (configuration?: Configuration
|
|
|
26553
25536
|
* @export
|
|
26554
25537
|
*/
|
|
26555
25538
|
export declare const CoursesApiFp: (configuration?: Configuration) => {
|
|
25539
|
+
/**
|
|
25540
|
+
*
|
|
25541
|
+
* @summary Get course config for a business
|
|
25542
|
+
* @param {number} businessId Business ID
|
|
25543
|
+
* @param {*} [options] Override http request option.
|
|
25544
|
+
* @throws {RequiredError}
|
|
25545
|
+
*/
|
|
25546
|
+
getCourseConfig(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourseConfigDto>>;
|
|
26556
25547
|
/**
|
|
26557
25548
|
*
|
|
26558
25549
|
* @summary Get courses for a business
|
|
@@ -26567,6 +25558,14 @@ export declare const CoursesApiFp: (configuration?: Configuration) => {
|
|
|
26567
25558
|
* @export
|
|
26568
25559
|
*/
|
|
26569
25560
|
export declare const CoursesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25561
|
+
/**
|
|
25562
|
+
*
|
|
25563
|
+
* @summary Get course config for a business
|
|
25564
|
+
* @param {number} businessId Business ID
|
|
25565
|
+
* @param {*} [options] Override http request option.
|
|
25566
|
+
* @throws {RequiredError}
|
|
25567
|
+
*/
|
|
25568
|
+
getCourseConfig(businessId: number, options?: any): AxiosPromise<CourseConfigDto>;
|
|
26570
25569
|
/**
|
|
26571
25570
|
*
|
|
26572
25571
|
* @summary Get courses for a business
|
|
@@ -26582,6 +25581,15 @@ export declare const CoursesApiFactory: (configuration?: Configuration, basePath
|
|
|
26582
25581
|
* @interface CoursesApi
|
|
26583
25582
|
*/
|
|
26584
25583
|
export interface CoursesApiInterface {
|
|
25584
|
+
/**
|
|
25585
|
+
*
|
|
25586
|
+
* @summary Get course config for a business
|
|
25587
|
+
* @param {number} businessId Business ID
|
|
25588
|
+
* @param {*} [options] Override http request option.
|
|
25589
|
+
* @throws {RequiredError}
|
|
25590
|
+
* @memberof CoursesApiInterface
|
|
25591
|
+
*/
|
|
25592
|
+
getCourseConfig(businessId: number, options?: AxiosRequestConfig): AxiosPromise<CourseConfigDto>;
|
|
26585
25593
|
/**
|
|
26586
25594
|
*
|
|
26587
25595
|
* @summary Get courses for a business
|
|
@@ -26599,6 +25607,15 @@ export interface CoursesApiInterface {
|
|
|
26599
25607
|
* @extends {BaseAPI}
|
|
26600
25608
|
*/
|
|
26601
25609
|
export declare class CoursesApi extends BaseAPI implements CoursesApiInterface {
|
|
25610
|
+
/**
|
|
25611
|
+
*
|
|
25612
|
+
* @summary Get course config for a business
|
|
25613
|
+
* @param {number} businessId Business ID
|
|
25614
|
+
* @param {*} [options] Override http request option.
|
|
25615
|
+
* @throws {RequiredError}
|
|
25616
|
+
* @memberof CoursesApi
|
|
25617
|
+
*/
|
|
25618
|
+
getCourseConfig(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CourseConfigDto, any, {}>>;
|
|
26602
25619
|
/**
|
|
26603
25620
|
*
|
|
26604
25621
|
* @summary Get courses for a business
|
|
@@ -29817,123 +28834,48 @@ export declare const OrderInternalApiFp: (configuration?: Configuration) => {
|
|
|
29817
28834
|
* OrderInternalApi - factory interface
|
|
29818
28835
|
* @export
|
|
29819
28836
|
*/
|
|
29820
|
-
export declare const OrderInternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
29821
|
-
/**
|
|
29822
|
-
*
|
|
29823
|
-
* @summary Get order data by external ID for internal microservice communication
|
|
29824
|
-
* @param {string} externalId
|
|
29825
|
-
* @param {*} [options] Override http request option.
|
|
29826
|
-
* @throws {RequiredError}
|
|
29827
|
-
*/
|
|
29828
|
-
findOneByExternalId(externalId: string, options?: any): AxiosPromise<void>;
|
|
29829
|
-
};
|
|
29830
|
-
/**
|
|
29831
|
-
* OrderInternalApi - interface
|
|
29832
|
-
* @export
|
|
29833
|
-
* @interface OrderInternalApi
|
|
29834
|
-
*/
|
|
29835
|
-
export interface OrderInternalApiInterface {
|
|
29836
|
-
/**
|
|
29837
|
-
*
|
|
29838
|
-
* @summary Get order data by external ID for internal microservice communication
|
|
29839
|
-
* @param {string} externalId
|
|
29840
|
-
* @param {*} [options] Override http request option.
|
|
29841
|
-
* @throws {RequiredError}
|
|
29842
|
-
* @memberof OrderInternalApiInterface
|
|
29843
|
-
*/
|
|
29844
|
-
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29845
|
-
}
|
|
29846
|
-
/**
|
|
29847
|
-
* OrderInternalApi - object-oriented interface
|
|
29848
|
-
* @export
|
|
29849
|
-
* @class OrderInternalApi
|
|
29850
|
-
* @extends {BaseAPI}
|
|
29851
|
-
*/
|
|
29852
|
-
export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
|
|
29853
|
-
/**
|
|
29854
|
-
*
|
|
29855
|
-
* @summary Get order data by external ID for internal microservice communication
|
|
29856
|
-
* @param {string} externalId
|
|
29857
|
-
* @param {*} [options] Override http request option.
|
|
29858
|
-
* @throws {RequiredError}
|
|
29859
|
-
* @memberof OrderInternalApi
|
|
29860
|
-
*/
|
|
29861
|
-
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29862
|
-
}
|
|
29863
|
-
/**
|
|
29864
|
-
* OrderingCoApi - axios parameter creator
|
|
29865
|
-
* @export
|
|
29866
|
-
*/
|
|
29867
|
-
export declare const OrderingCoApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29868
|
-
/**
|
|
29869
|
-
*
|
|
29870
|
-
* @summary Update tax rate for businesses
|
|
29871
|
-
* @param {object} body
|
|
29872
|
-
* @param {*} [options] Override http request option.
|
|
29873
|
-
* @throws {RequiredError}
|
|
29874
|
-
*/
|
|
29875
|
-
updateTaxRate: (body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29876
|
-
};
|
|
29877
|
-
/**
|
|
29878
|
-
* OrderingCoApi - functional programming interface
|
|
29879
|
-
* @export
|
|
29880
|
-
*/
|
|
29881
|
-
export declare const OrderingCoApiFp: (configuration?: Configuration) => {
|
|
29882
|
-
/**
|
|
29883
|
-
*
|
|
29884
|
-
* @summary Update tax rate for businesses
|
|
29885
|
-
* @param {object} body
|
|
29886
|
-
* @param {*} [options] Override http request option.
|
|
29887
|
-
* @throws {RequiredError}
|
|
29888
|
-
*/
|
|
29889
|
-
updateTaxRate(body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
29890
|
-
};
|
|
29891
|
-
/**
|
|
29892
|
-
* OrderingCoApi - factory interface
|
|
29893
|
-
* @export
|
|
29894
|
-
*/
|
|
29895
|
-
export declare const OrderingCoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
28837
|
+
export declare const OrderInternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
29896
28838
|
/**
|
|
29897
28839
|
*
|
|
29898
|
-
* @summary
|
|
29899
|
-
* @param {
|
|
28840
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
28841
|
+
* @param {string} externalId
|
|
29900
28842
|
* @param {*} [options] Override http request option.
|
|
29901
28843
|
* @throws {RequiredError}
|
|
29902
28844
|
*/
|
|
29903
|
-
|
|
28845
|
+
findOneByExternalId(externalId: string, options?: any): AxiosPromise<void>;
|
|
29904
28846
|
};
|
|
29905
28847
|
/**
|
|
29906
|
-
*
|
|
28848
|
+
* OrderInternalApi - interface
|
|
29907
28849
|
* @export
|
|
29908
|
-
* @interface
|
|
28850
|
+
* @interface OrderInternalApi
|
|
29909
28851
|
*/
|
|
29910
|
-
export interface
|
|
28852
|
+
export interface OrderInternalApiInterface {
|
|
29911
28853
|
/**
|
|
29912
28854
|
*
|
|
29913
|
-
* @summary
|
|
29914
|
-
* @param {
|
|
28855
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
28856
|
+
* @param {string} externalId
|
|
29915
28857
|
* @param {*} [options] Override http request option.
|
|
29916
28858
|
* @throws {RequiredError}
|
|
29917
|
-
* @memberof
|
|
28859
|
+
* @memberof OrderInternalApiInterface
|
|
29918
28860
|
*/
|
|
29919
|
-
|
|
28861
|
+
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29920
28862
|
}
|
|
29921
28863
|
/**
|
|
29922
|
-
*
|
|
28864
|
+
* OrderInternalApi - object-oriented interface
|
|
29923
28865
|
* @export
|
|
29924
|
-
* @class
|
|
28866
|
+
* @class OrderInternalApi
|
|
29925
28867
|
* @extends {BaseAPI}
|
|
29926
28868
|
*/
|
|
29927
|
-
export declare class
|
|
28869
|
+
export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
|
|
29928
28870
|
/**
|
|
29929
28871
|
*
|
|
29930
|
-
* @summary
|
|
29931
|
-
* @param {
|
|
28872
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
28873
|
+
* @param {string} externalId
|
|
29932
28874
|
* @param {*} [options] Override http request option.
|
|
29933
28875
|
* @throws {RequiredError}
|
|
29934
|
-
* @memberof
|
|
28876
|
+
* @memberof OrderInternalApi
|
|
29935
28877
|
*/
|
|
29936
|
-
|
|
28878
|
+
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29937
28879
|
}
|
|
29938
28880
|
/**
|
|
29939
28881
|
* OrdersApi - axios parameter creator
|
|
@@ -31283,6 +30225,14 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
|
|
|
31283
30225
|
* @throws {RequiredError}
|
|
31284
30226
|
*/
|
|
31285
30227
|
getPaymentSession: (clientToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30228
|
+
/**
|
|
30229
|
+
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
30230
|
+
* @summary Initiate a Viva app-to-app payment session
|
|
30231
|
+
* @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
|
|
30232
|
+
* @param {*} [options] Override http request option.
|
|
30233
|
+
* @throws {RequiredError}
|
|
30234
|
+
*/
|
|
30235
|
+
initiateVivaA2aSession: (initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31286
30236
|
/**
|
|
31287
30237
|
* Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
|
|
31288
30238
|
* @summary Initiate a Viva payment session
|
|
@@ -31346,6 +30296,14 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
|
|
|
31346
30296
|
* @throws {RequiredError}
|
|
31347
30297
|
*/
|
|
31348
30298
|
getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
|
|
30299
|
+
/**
|
|
30300
|
+
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
30301
|
+
* @summary Initiate a Viva app-to-app payment session
|
|
30302
|
+
* @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
|
|
30303
|
+
* @param {*} [options] Override http request option.
|
|
30304
|
+
* @throws {RequiredError}
|
|
30305
|
+
*/
|
|
30306
|
+
initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateVivaA2aSessionResponseDto>>;
|
|
31349
30307
|
/**
|
|
31350
30308
|
* Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
|
|
31351
30309
|
* @summary Initiate a Viva payment session
|
|
@@ -31409,6 +30367,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
|
|
|
31409
30367
|
* @throws {RequiredError}
|
|
31410
30368
|
*/
|
|
31411
30369
|
getPaymentSession(clientToken: string, options?: any): AxiosPromise<PaymentSessionViewDto>;
|
|
30370
|
+
/**
|
|
30371
|
+
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
30372
|
+
* @summary Initiate a Viva app-to-app payment session
|
|
30373
|
+
* @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
|
|
30374
|
+
* @param {*} [options] Override http request option.
|
|
30375
|
+
* @throws {RequiredError}
|
|
30376
|
+
*/
|
|
30377
|
+
initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: any): AxiosPromise<InitiateVivaA2aSessionResponseDto>;
|
|
31412
30378
|
/**
|
|
31413
30379
|
* Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
|
|
31414
30380
|
* @summary Initiate a Viva payment session
|
|
@@ -31475,6 +30441,15 @@ export interface PaymentSessionApiInterface {
|
|
|
31475
30441
|
* @memberof PaymentSessionApiInterface
|
|
31476
30442
|
*/
|
|
31477
30443
|
getPaymentSession(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
|
|
30444
|
+
/**
|
|
30445
|
+
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
30446
|
+
* @summary Initiate a Viva app-to-app payment session
|
|
30447
|
+
* @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
|
|
30448
|
+
* @param {*} [options] Override http request option.
|
|
30449
|
+
* @throws {RequiredError}
|
|
30450
|
+
* @memberof PaymentSessionApiInterface
|
|
30451
|
+
*/
|
|
30452
|
+
initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): AxiosPromise<InitiateVivaA2aSessionResponseDto>;
|
|
31478
30453
|
/**
|
|
31479
30454
|
* Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
|
|
31480
30455
|
* @summary Initiate a Viva payment session
|
|
@@ -31547,6 +30522,15 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
|
|
|
31547
30522
|
* @memberof PaymentSessionApi
|
|
31548
30523
|
*/
|
|
31549
30524
|
getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
|
|
30525
|
+
/**
|
|
30526
|
+
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
30527
|
+
* @summary Initiate a Viva app-to-app payment session
|
|
30528
|
+
* @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
|
|
30529
|
+
* @param {*} [options] Override http request option.
|
|
30530
|
+
* @throws {RequiredError}
|
|
30531
|
+
* @memberof PaymentSessionApi
|
|
30532
|
+
*/
|
|
30533
|
+
initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateVivaA2aSessionResponseDto, any, {}>>;
|
|
31550
30534
|
/**
|
|
31551
30535
|
* Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
|
|
31552
30536
|
* @summary Initiate a Viva payment session
|
|
@@ -31594,103 +30578,6 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
|
|
|
31594
30578
|
*/
|
|
31595
30579
|
voidManualPayment(voidManualSessionDto: VoidManualSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordManualPaymentResultDto, any, {}>>;
|
|
31596
30580
|
}
|
|
31597
|
-
/**
|
|
31598
|
-
* PluginApi - axios parameter creator
|
|
31599
|
-
* @export
|
|
31600
|
-
*/
|
|
31601
|
-
export declare const PluginApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31602
|
-
/**
|
|
31603
|
-
*
|
|
31604
|
-
* @param {*} [options] Override http request option.
|
|
31605
|
-
* @throws {RequiredError}
|
|
31606
|
-
*/
|
|
31607
|
-
loadConfigFile: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31608
|
-
/**
|
|
31609
|
-
*
|
|
31610
|
-
* @param {*} [options] Override http request option.
|
|
31611
|
-
* @throws {RequiredError}
|
|
31612
|
-
*/
|
|
31613
|
-
upsertBusiness: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31614
|
-
};
|
|
31615
|
-
/**
|
|
31616
|
-
* PluginApi - functional programming interface
|
|
31617
|
-
* @export
|
|
31618
|
-
*/
|
|
31619
|
-
export declare const PluginApiFp: (configuration?: Configuration) => {
|
|
31620
|
-
/**
|
|
31621
|
-
*
|
|
31622
|
-
* @param {*} [options] Override http request option.
|
|
31623
|
-
* @throws {RequiredError}
|
|
31624
|
-
*/
|
|
31625
|
-
loadConfigFile(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
31626
|
-
/**
|
|
31627
|
-
*
|
|
31628
|
-
* @param {*} [options] Override http request option.
|
|
31629
|
-
* @throws {RequiredError}
|
|
31630
|
-
*/
|
|
31631
|
-
upsertBusiness(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
31632
|
-
};
|
|
31633
|
-
/**
|
|
31634
|
-
* PluginApi - factory interface
|
|
31635
|
-
* @export
|
|
31636
|
-
*/
|
|
31637
|
-
export declare const PluginApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
31638
|
-
/**
|
|
31639
|
-
*
|
|
31640
|
-
* @param {*} [options] Override http request option.
|
|
31641
|
-
* @throws {RequiredError}
|
|
31642
|
-
*/
|
|
31643
|
-
loadConfigFile(options?: any): AxiosPromise<void>;
|
|
31644
|
-
/**
|
|
31645
|
-
*
|
|
31646
|
-
* @param {*} [options] Override http request option.
|
|
31647
|
-
* @throws {RequiredError}
|
|
31648
|
-
*/
|
|
31649
|
-
upsertBusiness(options?: any): AxiosPromise<void>;
|
|
31650
|
-
};
|
|
31651
|
-
/**
|
|
31652
|
-
* PluginApi - interface
|
|
31653
|
-
* @export
|
|
31654
|
-
* @interface PluginApi
|
|
31655
|
-
*/
|
|
31656
|
-
export interface PluginApiInterface {
|
|
31657
|
-
/**
|
|
31658
|
-
*
|
|
31659
|
-
* @param {*} [options] Override http request option.
|
|
31660
|
-
* @throws {RequiredError}
|
|
31661
|
-
* @memberof PluginApiInterface
|
|
31662
|
-
*/
|
|
31663
|
-
loadConfigFile(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
31664
|
-
/**
|
|
31665
|
-
*
|
|
31666
|
-
* @param {*} [options] Override http request option.
|
|
31667
|
-
* @throws {RequiredError}
|
|
31668
|
-
* @memberof PluginApiInterface
|
|
31669
|
-
*/
|
|
31670
|
-
upsertBusiness(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
31671
|
-
}
|
|
31672
|
-
/**
|
|
31673
|
-
* PluginApi - object-oriented interface
|
|
31674
|
-
* @export
|
|
31675
|
-
* @class PluginApi
|
|
31676
|
-
* @extends {BaseAPI}
|
|
31677
|
-
*/
|
|
31678
|
-
export declare class PluginApi extends BaseAPI implements PluginApiInterface {
|
|
31679
|
-
/**
|
|
31680
|
-
*
|
|
31681
|
-
* @param {*} [options] Override http request option.
|
|
31682
|
-
* @throws {RequiredError}
|
|
31683
|
-
* @memberof PluginApi
|
|
31684
|
-
*/
|
|
31685
|
-
loadConfigFile(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
31686
|
-
/**
|
|
31687
|
-
*
|
|
31688
|
-
* @param {*} [options] Override http request option.
|
|
31689
|
-
* @throws {RequiredError}
|
|
31690
|
-
* @memberof PluginApi
|
|
31691
|
-
*/
|
|
31692
|
-
upsertBusiness(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
31693
|
-
}
|
|
31694
30581
|
/**
|
|
31695
30582
|
* PrintersApi - axios parameter creator
|
|
31696
30583
|
* @export
|
|
@@ -33815,133 +32702,6 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
33815
32702
|
*/
|
|
33816
32703
|
getUserInfoV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
|
|
33817
32704
|
}
|
|
33818
|
-
/**
|
|
33819
|
-
* UsersApi - axios parameter creator
|
|
33820
|
-
* @export
|
|
33821
|
-
*/
|
|
33822
|
-
export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33823
|
-
/**
|
|
33824
|
-
*
|
|
33825
|
-
* @summary Filter user information with phone number
|
|
33826
|
-
* @param {UserValidation} userValidation User body data
|
|
33827
|
-
* @param {*} [options] Override http request option.
|
|
33828
|
-
* @throws {RequiredError}
|
|
33829
|
-
*/
|
|
33830
|
-
getUser: (userValidation: UserValidation, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33831
|
-
/**
|
|
33832
|
-
*
|
|
33833
|
-
* @summary Add credit points to user wallet
|
|
33834
|
-
* @param {number} userId
|
|
33835
|
-
* @param {number} walletId
|
|
33836
|
-
* @param {RewardPointPayload} rewardPointPayload
|
|
33837
|
-
* @param {*} [options] Override http request option.
|
|
33838
|
-
* @throws {RequiredError}
|
|
33839
|
-
*/
|
|
33840
|
-
updateUserRewardPoints: (userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33841
|
-
};
|
|
33842
|
-
/**
|
|
33843
|
-
* UsersApi - functional programming interface
|
|
33844
|
-
* @export
|
|
33845
|
-
*/
|
|
33846
|
-
export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
33847
|
-
/**
|
|
33848
|
-
*
|
|
33849
|
-
* @summary Filter user information with phone number
|
|
33850
|
-
* @param {UserValidation} userValidation User body data
|
|
33851
|
-
* @param {*} [options] Override http request option.
|
|
33852
|
-
* @throws {RequiredError}
|
|
33853
|
-
*/
|
|
33854
|
-
getUser(userValidation: UserValidation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LoyaltyUserDto>>>;
|
|
33855
|
-
/**
|
|
33856
|
-
*
|
|
33857
|
-
* @summary Add credit points to user wallet
|
|
33858
|
-
* @param {number} userId
|
|
33859
|
-
* @param {number} walletId
|
|
33860
|
-
* @param {RewardPointPayload} rewardPointPayload
|
|
33861
|
-
* @param {*} [options] Override http request option.
|
|
33862
|
-
* @throws {RequiredError}
|
|
33863
|
-
*/
|
|
33864
|
-
updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
33865
|
-
};
|
|
33866
|
-
/**
|
|
33867
|
-
* UsersApi - factory interface
|
|
33868
|
-
* @export
|
|
33869
|
-
*/
|
|
33870
|
-
export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
33871
|
-
/**
|
|
33872
|
-
*
|
|
33873
|
-
* @summary Filter user information with phone number
|
|
33874
|
-
* @param {UserValidation} userValidation User body data
|
|
33875
|
-
* @param {*} [options] Override http request option.
|
|
33876
|
-
* @throws {RequiredError}
|
|
33877
|
-
*/
|
|
33878
|
-
getUser(userValidation: UserValidation, options?: any): AxiosPromise<Array<LoyaltyUserDto>>;
|
|
33879
|
-
/**
|
|
33880
|
-
*
|
|
33881
|
-
* @summary Add credit points to user wallet
|
|
33882
|
-
* @param {number} userId
|
|
33883
|
-
* @param {number} walletId
|
|
33884
|
-
* @param {RewardPointPayload} rewardPointPayload
|
|
33885
|
-
* @param {*} [options] Override http request option.
|
|
33886
|
-
* @throws {RequiredError}
|
|
33887
|
-
*/
|
|
33888
|
-
updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: any): AxiosPromise<void>;
|
|
33889
|
-
};
|
|
33890
|
-
/**
|
|
33891
|
-
* UsersApi - interface
|
|
33892
|
-
* @export
|
|
33893
|
-
* @interface UsersApi
|
|
33894
|
-
*/
|
|
33895
|
-
export interface UsersApiInterface {
|
|
33896
|
-
/**
|
|
33897
|
-
*
|
|
33898
|
-
* @summary Filter user information with phone number
|
|
33899
|
-
* @param {UserValidation} userValidation User body data
|
|
33900
|
-
* @param {*} [options] Override http request option.
|
|
33901
|
-
* @throws {RequiredError}
|
|
33902
|
-
* @memberof UsersApiInterface
|
|
33903
|
-
*/
|
|
33904
|
-
getUser(userValidation: UserValidation, options?: AxiosRequestConfig): AxiosPromise<Array<LoyaltyUserDto>>;
|
|
33905
|
-
/**
|
|
33906
|
-
*
|
|
33907
|
-
* @summary Add credit points to user wallet
|
|
33908
|
-
* @param {number} userId
|
|
33909
|
-
* @param {number} walletId
|
|
33910
|
-
* @param {RewardPointPayload} rewardPointPayload
|
|
33911
|
-
* @param {*} [options] Override http request option.
|
|
33912
|
-
* @throws {RequiredError}
|
|
33913
|
-
* @memberof UsersApiInterface
|
|
33914
|
-
*/
|
|
33915
|
-
updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
33916
|
-
}
|
|
33917
|
-
/**
|
|
33918
|
-
* UsersApi - object-oriented interface
|
|
33919
|
-
* @export
|
|
33920
|
-
* @class UsersApi
|
|
33921
|
-
* @extends {BaseAPI}
|
|
33922
|
-
*/
|
|
33923
|
-
export declare class UsersApi extends BaseAPI implements UsersApiInterface {
|
|
33924
|
-
/**
|
|
33925
|
-
*
|
|
33926
|
-
* @summary Filter user information with phone number
|
|
33927
|
-
* @param {UserValidation} userValidation User body data
|
|
33928
|
-
* @param {*} [options] Override http request option.
|
|
33929
|
-
* @throws {RequiredError}
|
|
33930
|
-
* @memberof UsersApi
|
|
33931
|
-
*/
|
|
33932
|
-
getUser(userValidation: UserValidation, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoyaltyUserDto[], any, {}>>;
|
|
33933
|
-
/**
|
|
33934
|
-
*
|
|
33935
|
-
* @summary Add credit points to user wallet
|
|
33936
|
-
* @param {number} userId
|
|
33937
|
-
* @param {number} walletId
|
|
33938
|
-
* @param {RewardPointPayload} rewardPointPayload
|
|
33939
|
-
* @param {*} [options] Override http request option.
|
|
33940
|
-
* @throws {RequiredError}
|
|
33941
|
-
* @memberof UsersApi
|
|
33942
|
-
*/
|
|
33943
|
-
updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
33944
|
-
}
|
|
33945
32705
|
/**
|
|
33946
32706
|
* VendureSellerApi - axios parameter creator
|
|
33947
32707
|
* @export
|
|
@@ -34844,35 +33604,6 @@ export declare const WorldlineApiAxiosParamCreator: (configuration?: Configurati
|
|
|
34844
33604
|
* @throws {RequiredError}
|
|
34845
33605
|
*/
|
|
34846
33606
|
createRefund: (createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34847
|
-
/**
|
|
34848
|
-
* Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
|
|
34849
|
-
* @summary Long-poll for the next unhandled Worldline WAN request
|
|
34850
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
34851
|
-
* @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
|
|
34852
|
-
* @param {string} sessionID The terminal session UUID
|
|
34853
|
-
* @param {string} protocolVersion The version of the API protocol being used
|
|
34854
|
-
* @param {*} [options] Override http request option.
|
|
34855
|
-
* @throws {RequiredError}
|
|
34856
|
-
*/
|
|
34857
|
-
getNextRequest: (terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34858
|
-
/**
|
|
34859
|
-
* Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
|
|
34860
|
-
* @summary Report a terminal event such as dialog shown or operation completion
|
|
34861
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
34862
|
-
* @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
|
|
34863
|
-
* @param {*} [options] Override http request option.
|
|
34864
|
-
* @throws {RequiredError}
|
|
34865
|
-
*/
|
|
34866
|
-
submitEvent: (terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34867
|
-
/**
|
|
34868
|
-
* Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
|
|
34869
|
-
* @summary Submit a response to a previously fetched request
|
|
34870
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
34871
|
-
* @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
|
|
34872
|
-
* @param {*} [options] Override http request option.
|
|
34873
|
-
* @throws {RequiredError}
|
|
34874
|
-
*/
|
|
34875
|
-
submitResponse: (terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34876
33607
|
};
|
|
34877
33608
|
/**
|
|
34878
33609
|
* WorldlineApi - functional programming interface
|
|
@@ -34903,35 +33634,6 @@ export declare const WorldlineApiFp: (configuration?: Configuration) => {
|
|
|
34903
33634
|
* @throws {RequiredError}
|
|
34904
33635
|
*/
|
|
34905
33636
|
createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
34906
|
-
/**
|
|
34907
|
-
* Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
|
|
34908
|
-
* @summary Long-poll for the next unhandled Worldline WAN request
|
|
34909
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
34910
|
-
* @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
|
|
34911
|
-
* @param {string} sessionID The terminal session UUID
|
|
34912
|
-
* @param {string} protocolVersion The version of the API protocol being used
|
|
34913
|
-
* @param {*} [options] Override http request option.
|
|
34914
|
-
* @throws {RequiredError}
|
|
34915
|
-
*/
|
|
34916
|
-
getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
34917
|
-
/**
|
|
34918
|
-
* Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
|
|
34919
|
-
* @summary Report a terminal event such as dialog shown or operation completion
|
|
34920
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
34921
|
-
* @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
|
|
34922
|
-
* @param {*} [options] Override http request option.
|
|
34923
|
-
* @throws {RequiredError}
|
|
34924
|
-
*/
|
|
34925
|
-
submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
34926
|
-
/**
|
|
34927
|
-
* Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
|
|
34928
|
-
* @summary Submit a response to a previously fetched request
|
|
34929
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
34930
|
-
* @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
|
|
34931
|
-
* @param {*} [options] Override http request option.
|
|
34932
|
-
* @throws {RequiredError}
|
|
34933
|
-
*/
|
|
34934
|
-
submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
34935
33637
|
};
|
|
34936
33638
|
/**
|
|
34937
33639
|
* WorldlineApi - factory interface
|
|
@@ -34962,35 +33664,6 @@ export declare const WorldlineApiFactory: (configuration?: Configuration, basePa
|
|
|
34962
33664
|
* @throws {RequiredError}
|
|
34963
33665
|
*/
|
|
34964
33666
|
createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: any): AxiosPromise<void>;
|
|
34965
|
-
/**
|
|
34966
|
-
* Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
|
|
34967
|
-
* @summary Long-poll for the next unhandled Worldline WAN request
|
|
34968
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
34969
|
-
* @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
|
|
34970
|
-
* @param {string} sessionID The terminal session UUID
|
|
34971
|
-
* @param {string} protocolVersion The version of the API protocol being used
|
|
34972
|
-
* @param {*} [options] Override http request option.
|
|
34973
|
-
* @throws {RequiredError}
|
|
34974
|
-
*/
|
|
34975
|
-
getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: any): AxiosPromise<void>;
|
|
34976
|
-
/**
|
|
34977
|
-
* Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
|
|
34978
|
-
* @summary Report a terminal event such as dialog shown or operation completion
|
|
34979
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
34980
|
-
* @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
|
|
34981
|
-
* @param {*} [options] Override http request option.
|
|
34982
|
-
* @throws {RequiredError}
|
|
34983
|
-
*/
|
|
34984
|
-
submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: any): AxiosPromise<void>;
|
|
34985
|
-
/**
|
|
34986
|
-
* Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
|
|
34987
|
-
* @summary Submit a response to a previously fetched request
|
|
34988
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
34989
|
-
* @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
|
|
34990
|
-
* @param {*} [options] Override http request option.
|
|
34991
|
-
* @throws {RequiredError}
|
|
34992
|
-
*/
|
|
34993
|
-
submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: any): AxiosPromise<void>;
|
|
34994
33667
|
};
|
|
34995
33668
|
/**
|
|
34996
33669
|
* WorldlineApi - interface
|
|
@@ -35025,38 +33698,6 @@ export interface WorldlineApiInterface {
|
|
|
35025
33698
|
* @memberof WorldlineApiInterface
|
|
35026
33699
|
*/
|
|
35027
33700
|
createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
35028
|
-
/**
|
|
35029
|
-
* Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
|
|
35030
|
-
* @summary Long-poll for the next unhandled Worldline WAN request
|
|
35031
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
35032
|
-
* @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
|
|
35033
|
-
* @param {string} sessionID The terminal session UUID
|
|
35034
|
-
* @param {string} protocolVersion The version of the API protocol being used
|
|
35035
|
-
* @param {*} [options] Override http request option.
|
|
35036
|
-
* @throws {RequiredError}
|
|
35037
|
-
* @memberof WorldlineApiInterface
|
|
35038
|
-
*/
|
|
35039
|
-
getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
35040
|
-
/**
|
|
35041
|
-
* Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
|
|
35042
|
-
* @summary Report a terminal event such as dialog shown or operation completion
|
|
35043
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
35044
|
-
* @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
|
|
35045
|
-
* @param {*} [options] Override http request option.
|
|
35046
|
-
* @throws {RequiredError}
|
|
35047
|
-
* @memberof WorldlineApiInterface
|
|
35048
|
-
*/
|
|
35049
|
-
submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
35050
|
-
/**
|
|
35051
|
-
* Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
|
|
35052
|
-
* @summary Submit a response to a previously fetched request
|
|
35053
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
35054
|
-
* @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
|
|
35055
|
-
* @param {*} [options] Override http request option.
|
|
35056
|
-
* @throws {RequiredError}
|
|
35057
|
-
* @memberof WorldlineApiInterface
|
|
35058
|
-
*/
|
|
35059
|
-
submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
35060
33701
|
}
|
|
35061
33702
|
/**
|
|
35062
33703
|
* WorldlineApi - object-oriented interface
|
|
@@ -35092,38 +33733,6 @@ export declare class WorldlineApi extends BaseAPI implements WorldlineApiInterfa
|
|
|
35092
33733
|
* @memberof WorldlineApi
|
|
35093
33734
|
*/
|
|
35094
33735
|
createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
35095
|
-
/**
|
|
35096
|
-
* Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
|
|
35097
|
-
* @summary Long-poll for the next unhandled Worldline WAN request
|
|
35098
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
35099
|
-
* @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
|
|
35100
|
-
* @param {string} sessionID The terminal session UUID
|
|
35101
|
-
* @param {string} protocolVersion The version of the API protocol being used
|
|
35102
|
-
* @param {*} [options] Override http request option.
|
|
35103
|
-
* @throws {RequiredError}
|
|
35104
|
-
* @memberof WorldlineApi
|
|
35105
|
-
*/
|
|
35106
|
-
getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
35107
|
-
/**
|
|
35108
|
-
* Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
|
|
35109
|
-
* @summary Report a terminal event such as dialog shown or operation completion
|
|
35110
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
35111
|
-
* @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
|
|
35112
|
-
* @param {*} [options] Override http request option.
|
|
35113
|
-
* @throws {RequiredError}
|
|
35114
|
-
* @memberof WorldlineApi
|
|
35115
|
-
*/
|
|
35116
|
-
submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
35117
|
-
/**
|
|
35118
|
-
* Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
|
|
35119
|
-
* @summary Submit a response to a previously fetched request
|
|
35120
|
-
* @param {string} terminalId The unique identifier of the terminal
|
|
35121
|
-
* @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
|
|
35122
|
-
* @param {*} [options] Override http request option.
|
|
35123
|
-
* @throws {RequiredError}
|
|
35124
|
-
* @memberof WorldlineApi
|
|
35125
|
-
*/
|
|
35126
|
-
submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
35127
33736
|
}
|
|
35128
33737
|
/**
|
|
35129
33738
|
* WorldlineInternalApi - axios parameter creator
|