@vantagepay/vantagepay 0.15.6 → 0.15.8
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/authentication/types.d.ts +4 -0
- package/dist/common/types.d.ts +6 -0
- package/dist/consumers/index.d.ts +5 -2
- package/dist/consumers/types.d.ts +67 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/lookups/index.d.ts +3 -0
- package/dist/lookups/types.d.ts +4 -0
- package/dist/merchants/types.d.ts +4 -0
- package/dist/payments/types.d.ts +10 -1
- package/dist/reports/types.d.ts +0 -2
- package/package.json +3 -3
package/dist/lookups/index.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export declare class Lookups extends BaseApi {
|
|
|
9
9
|
private currencyCache;
|
|
10
10
|
private countryCache;
|
|
11
11
|
private languageCache;
|
|
12
|
+
private allCurrencyCache;
|
|
13
|
+
private allCountryCache;
|
|
14
|
+
private allLanguageCache;
|
|
12
15
|
private mobileWalletOperatorCache;
|
|
13
16
|
private productTypeCache;
|
|
14
17
|
private merchantCategoryCache;
|
package/dist/lookups/types.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export declare enum Bank {
|
|
2
2
|
None = "None",
|
|
3
3
|
ABD = "ABD",
|
|
4
|
+
ABL = "ABL",
|
|
4
5
|
ACB = "ACB",
|
|
5
6
|
ABS = "ABS",
|
|
7
|
+
ABG = "ABG",
|
|
6
8
|
ADB = "ADB",
|
|
7
9
|
ADS = "ADS",
|
|
8
10
|
ALM = "ALM",
|
|
@@ -26,6 +28,7 @@ export declare enum Bank {
|
|
|
26
28
|
EXP = "EXP",
|
|
27
29
|
FPL = "FPL",
|
|
28
30
|
FAB = "FAB",
|
|
31
|
+
FBL = "FBL",
|
|
29
32
|
FDL = "FDL",
|
|
30
33
|
FBO = "FBO",
|
|
31
34
|
FBN = "FBN",
|
|
@@ -57,6 +60,7 @@ export declare enum Bank {
|
|
|
57
60
|
RBL = "RBL",
|
|
58
61
|
SAS = "SAS",
|
|
59
62
|
SBN = "SBN",
|
|
63
|
+
SCB = "SCB",
|
|
60
64
|
SCH = "SCH",
|
|
61
65
|
SIS = "SIS",
|
|
62
66
|
SOG = "SOG",
|
|
@@ -234,6 +234,10 @@ export declare class MerchantLoginCredentials {
|
|
|
234
234
|
username: string;
|
|
235
235
|
/** Gets or sets the password (required). */
|
|
236
236
|
password: string;
|
|
237
|
+
/** Indicates whether the user is locked out. */
|
|
238
|
+
isLockedOut: boolean;
|
|
239
|
+
/** Gets the reason (if any) of why the user has been locked out. */
|
|
240
|
+
reasonForLockout?: string;
|
|
237
241
|
}
|
|
238
242
|
export declare class MerchantMobileWallet {
|
|
239
243
|
reference?: string;
|
package/dist/payments/types.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ export declare class BankAccountDestination {
|
|
|
124
124
|
accountNumber: string;
|
|
125
125
|
/** The bank code of the bank that the account belongs to. */
|
|
126
126
|
bank: Bank;
|
|
127
|
+
beneficiaryReference?: string;
|
|
127
128
|
notificationEmailAddress?: string;
|
|
128
129
|
notificationMobileNumber?: string;
|
|
129
130
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
@@ -209,6 +210,7 @@ export declare class BillDestination {
|
|
|
209
210
|
productFields: {
|
|
210
211
|
[key: string]: string;
|
|
211
212
|
};
|
|
213
|
+
beneficiaryReference?: string;
|
|
212
214
|
notificationEmailAddress?: string;
|
|
213
215
|
notificationMobileNumber?: string;
|
|
214
216
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
@@ -294,6 +296,7 @@ export declare class CardDestination {
|
|
|
294
296
|
token?: string;
|
|
295
297
|
/** The full card number. */
|
|
296
298
|
cardNumber: string;
|
|
299
|
+
beneficiaryReference?: string;
|
|
297
300
|
notificationEmailAddress?: string;
|
|
298
301
|
notificationMobileNumber?: string;
|
|
299
302
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
@@ -370,6 +373,7 @@ export declare class CardDestinationResult {
|
|
|
370
373
|
}
|
|
371
374
|
export declare class CashDestination {
|
|
372
375
|
doNotProcess: boolean;
|
|
376
|
+
beneficiaryReference?: string;
|
|
373
377
|
notificationEmailAddress?: string;
|
|
374
378
|
notificationMobileNumber?: string;
|
|
375
379
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
@@ -439,6 +443,7 @@ export declare class CashDestinationResult {
|
|
|
439
443
|
message: string;
|
|
440
444
|
}
|
|
441
445
|
export declare class GenericDestination {
|
|
446
|
+
beneficiaryReference?: string;
|
|
442
447
|
notificationEmailAddress?: string;
|
|
443
448
|
notificationMobileNumber?: string;
|
|
444
449
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
@@ -478,6 +483,7 @@ export declare class MerchantDestination {
|
|
|
478
483
|
paymentType: MerchantPaymentType;
|
|
479
484
|
tipAmountInCents: number;
|
|
480
485
|
tipEmployeeReference?: string;
|
|
486
|
+
beneficiaryReference?: string;
|
|
481
487
|
notificationEmailAddress?: string;
|
|
482
488
|
notificationMobileNumber?: string;
|
|
483
489
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
@@ -563,6 +569,7 @@ export declare class MobileWalletDestination {
|
|
|
563
569
|
msisdn: string;
|
|
564
570
|
/** The mobile wallet operator that owns the mobile money account. */
|
|
565
571
|
mobileWalletOperator: MobileWalletOperator;
|
|
572
|
+
beneficiaryReference?: string;
|
|
566
573
|
notificationEmailAddress?: string;
|
|
567
574
|
notificationMobileNumber?: string;
|
|
568
575
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
@@ -676,6 +683,7 @@ export declare class QrCodeDestination {
|
|
|
676
683
|
[key: string]: string;
|
|
677
684
|
};
|
|
678
685
|
tipAmountInCents: number;
|
|
686
|
+
beneficiaryReference?: string;
|
|
679
687
|
notificationEmailAddress?: string;
|
|
680
688
|
notificationMobileNumber?: string;
|
|
681
689
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
@@ -760,6 +768,7 @@ export declare class WalletDestination {
|
|
|
760
768
|
walletProvider: string;
|
|
761
769
|
/** The wallet provider that created and manages the wallet. */
|
|
762
770
|
walletSource: string;
|
|
771
|
+
beneficiaryReference?: string;
|
|
763
772
|
notificationEmailAddress?: string;
|
|
764
773
|
notificationMobileNumber?: string;
|
|
765
774
|
/** The transaction description/reference that can appear in notifications and statements. */
|
|
@@ -931,7 +940,7 @@ export declare class PaymentReceiptResponse {
|
|
|
931
940
|
timeZone?: string;
|
|
932
941
|
}
|
|
933
942
|
export declare class PaymentRecurrenceSchedule {
|
|
934
|
-
reference
|
|
943
|
+
reference?: string;
|
|
935
944
|
createdDate: Date;
|
|
936
945
|
repeatInterval: RepeatInterval;
|
|
937
946
|
scheduleEndDate?: Date;
|
package/dist/reports/types.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ export declare class SalesDetailsResponse {
|
|
|
24
24
|
shortPaymentReference: string;
|
|
25
25
|
channel: string;
|
|
26
26
|
transactionType: string;
|
|
27
|
-
category: string;
|
|
28
27
|
sourceCategory: string;
|
|
29
28
|
destinationCategory: string;
|
|
30
29
|
sourceFacility: string;
|
|
@@ -44,7 +43,6 @@ export declare class SalesDetailsResponse {
|
|
|
44
43
|
userFeeAmountInCents: number;
|
|
45
44
|
tipAmountInCents: number;
|
|
46
45
|
isSuccess: boolean;
|
|
47
|
-
status: string;
|
|
48
46
|
summaryStatus: string;
|
|
49
47
|
sourceStatus: string;
|
|
50
48
|
destinationStatus: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vantagepay/vantagepay",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.8",
|
|
4
4
|
"description": "VantagePay API wrapper and SDK for integrating into VantagePay payment, consumer and merchant services.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"ncu": "npx npm-check-updates --interactive"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@microsoft/signalr": "^
|
|
21
|
+
"@microsoft/signalr": "^10.0.0",
|
|
22
22
|
"axios": "^1.13.2",
|
|
23
23
|
"axios-auth-refresh": "^3.3.6",
|
|
24
24
|
"axios-retry": "^4.5.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@types/qrcode": "^1.5.6",
|
|
33
33
|
"jest": "^30.2.0",
|
|
34
34
|
"microbundle": "0.15.1",
|
|
35
|
-
"prettier": "^3.
|
|
35
|
+
"prettier": "^3.7.1",
|
|
36
36
|
"ts-jest": "^29.4.5"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|