@fiado/type-kit 3.0.18 → 3.0.20
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/bin/country/enums/CountryId.d.ts +13 -0
- package/bin/country/enums/CountryId.js +13 -0
- package/bin/currency/enums/CurrencyId.d.ts +15 -0
- package/bin/currency/enums/CurrencyId.js +19 -0
- package/bin/currency/index.d.ts +1 -0
- package/bin/currency/index.js +1 -0
- package/bin/transactionProcessor/dtos/ProviderProcessServicePaymentTransactionRequest.d.ts +4 -0
- package/bin/transactionProcessor/dtos/ProviderProcessServicePaymentTransactionRequest.js +6 -0
- package/bin/transactionProcessor/dtos/ProviderProcessServicePaymentTransactionResponse.d.ts +4 -0
- package/bin/transactionProcessor/dtos/ProviderProcessServicePaymentTransactionResponse.js +6 -0
- package/bin/transactionProcessor/dtos/ServicePaymentTransactionItem.d.ts +10 -0
- package/bin/transactionProcessor/dtos/ServicePaymentTransactionItem.js +6 -0
- package/bin/transactionProcessor/index.d.ts +3 -0
- package/bin/transactionProcessor/index.js +3 -0
- package/package.json +1 -1
- package/src/country/enums/CountryId.ts +14 -1
- package/src/currency/enums/CurrencyId.ts +15 -0
- package/src/currency/index.ts +2 -3
- package/src/transactionProcessor/dtos/ProviderProcessServicePaymentTransactionRequest.ts +5 -0
- package/src/transactionProcessor/dtos/ProviderProcessServicePaymentTransactionResponse.ts +5 -0
- package/src/transactionProcessor/dtos/ServicePaymentTransactionItem.ts +11 -0
- package/src/transactionProcessor/index.ts +3 -0
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export declare enum CountryId {
|
|
2
|
+
ARG = "032",
|
|
3
|
+
BOL = "068",
|
|
4
|
+
COL = "170",
|
|
5
|
+
CRI = "188",
|
|
6
|
+
CUB = "192",
|
|
7
|
+
DOM = "214",
|
|
8
|
+
ECU = "218",
|
|
9
|
+
SLV = "222",
|
|
10
|
+
GTM = "320",
|
|
11
|
+
HTI = "332",
|
|
12
|
+
HND = "340",
|
|
13
|
+
JAM = "388",
|
|
2
14
|
MEX = "484",
|
|
15
|
+
NIC = "558",
|
|
3
16
|
USA = "840"
|
|
4
17
|
}
|
|
@@ -4,6 +4,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.CountryId = void 0;
|
|
5
5
|
var CountryId;
|
|
6
6
|
(function (CountryId) {
|
|
7
|
+
CountryId["ARG"] = "032";
|
|
8
|
+
CountryId["BOL"] = "068";
|
|
9
|
+
CountryId["COL"] = "170";
|
|
10
|
+
CountryId["CRI"] = "188";
|
|
11
|
+
CountryId["CUB"] = "192";
|
|
12
|
+
CountryId["DOM"] = "214";
|
|
13
|
+
CountryId["ECU"] = "218";
|
|
14
|
+
CountryId["SLV"] = "222";
|
|
15
|
+
CountryId["GTM"] = "320";
|
|
16
|
+
CountryId["HTI"] = "332";
|
|
17
|
+
CountryId["HND"] = "340";
|
|
18
|
+
CountryId["JAM"] = "388";
|
|
7
19
|
CountryId["MEX"] = "484";
|
|
20
|
+
CountryId["NIC"] = "558";
|
|
8
21
|
CountryId["USA"] = "840";
|
|
9
22
|
})(CountryId || (exports.CountryId = CountryId = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CurrencyId = void 0;
|
|
4
|
+
var CurrencyId;
|
|
5
|
+
(function (CurrencyId) {
|
|
6
|
+
CurrencyId["MXN"] = "MXN";
|
|
7
|
+
CurrencyId["USD"] = "USD";
|
|
8
|
+
CurrencyId["ARS"] = "ARS";
|
|
9
|
+
CurrencyId["BOB"] = "BOB";
|
|
10
|
+
CurrencyId["COP"] = "COP";
|
|
11
|
+
CurrencyId["CRC"] = "CRC";
|
|
12
|
+
CurrencyId["CUP"] = "CUP";
|
|
13
|
+
CurrencyId["DOP"] = "DOP";
|
|
14
|
+
CurrencyId["GTQ"] = "GTQ";
|
|
15
|
+
CurrencyId["HTG"] = "HTG";
|
|
16
|
+
CurrencyId["HNL"] = "HNL";
|
|
17
|
+
CurrencyId["JMD"] = "JMD";
|
|
18
|
+
CurrencyId["NIO"] = "NIO";
|
|
19
|
+
})(CurrencyId || (exports.CurrencyId = CurrencyId = {}));
|
package/bin/currency/index.d.ts
CHANGED
package/bin/currency/index.js
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProviderProcessServicePaymentTransactionRequest = void 0;
|
|
4
|
+
class ProviderProcessServicePaymentTransactionRequest {
|
|
5
|
+
}
|
|
6
|
+
exports.ProviderProcessServicePaymentTransactionRequest = ProviderProcessServicePaymentTransactionRequest;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProviderProcessServicePaymentTransactionResponse = void 0;
|
|
4
|
+
class ProviderProcessServicePaymentTransactionResponse {
|
|
5
|
+
}
|
|
6
|
+
exports.ProviderProcessServicePaymentTransactionResponse = ProviderProcessServicePaymentTransactionResponse;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TransactionStatusEnum } from "../../transaction";
|
|
2
|
+
export declare class ServicePaymentTransactionItem {
|
|
3
|
+
id?: string;
|
|
4
|
+
externalAccountId: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
transactionNumber: string;
|
|
7
|
+
currencyId: string;
|
|
8
|
+
status?: TransactionStatusEnum;
|
|
9
|
+
relatedProductId?: string;
|
|
10
|
+
}
|
|
@@ -34,6 +34,9 @@ export * from './dtos/ProviderProcessChargebackTransactionResponse';
|
|
|
34
34
|
export * from './dtos/MembershipTransactionItem';
|
|
35
35
|
export * from './dtos/ProviderProcessMembershipTransactionRequest';
|
|
36
36
|
export * from './dtos/ProviderProcessMembershipTransactionResponse';
|
|
37
|
+
export * from './dtos/ServicePaymentTransactionItem';
|
|
38
|
+
export * from './dtos/ProviderProcessServicePaymentTransactionRequest';
|
|
39
|
+
export * from './dtos/ProviderProcessServicePaymentTransactionResponse';
|
|
37
40
|
export * from './dtos/AuthorizeRenewalPreAuthRequest';
|
|
38
41
|
export * from './dtos/AuthorizeRenewalPreAuthResponse';
|
|
39
42
|
export * from './enums/TransactionProcessorCodesEnum';
|
|
@@ -50,6 +50,9 @@ __exportStar(require("./dtos/ProviderProcessChargebackTransactionResponse"), exp
|
|
|
50
50
|
__exportStar(require("./dtos/MembershipTransactionItem"), exports);
|
|
51
51
|
__exportStar(require("./dtos/ProviderProcessMembershipTransactionRequest"), exports);
|
|
52
52
|
__exportStar(require("./dtos/ProviderProcessMembershipTransactionResponse"), exports);
|
|
53
|
+
__exportStar(require("./dtos/ServicePaymentTransactionItem"), exports);
|
|
54
|
+
__exportStar(require("./dtos/ProviderProcessServicePaymentTransactionRequest"), exports);
|
|
55
|
+
__exportStar(require("./dtos/ProviderProcessServicePaymentTransactionResponse"), exports);
|
|
53
56
|
__exportStar(require("./dtos/AuthorizeRenewalPreAuthRequest"), exports);
|
|
54
57
|
__exportStar(require("./dtos/AuthorizeRenewalPreAuthResponse"), exports);
|
|
55
58
|
__exportStar(require("./enums/TransactionProcessorCodesEnum"), exports);
|
package/package.json
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
//*
|
|
3
3
|
|
|
4
4
|
export enum CountryId {
|
|
5
|
+
ARG = "032",
|
|
6
|
+
BOL = "068",
|
|
7
|
+
COL = "170",
|
|
8
|
+
CRI = "188",
|
|
9
|
+
CUB = "192",
|
|
10
|
+
DOM = "214",
|
|
11
|
+
ECU = "218",
|
|
12
|
+
SLV = "222",
|
|
13
|
+
GTM = "320",
|
|
14
|
+
HTI = "332",
|
|
15
|
+
HND = "340",
|
|
16
|
+
JAM = "388",
|
|
5
17
|
MEX = "484",
|
|
6
|
-
|
|
18
|
+
NIC = "558",
|
|
19
|
+
USA = "840",
|
|
7
20
|
}
|
package/src/currency/index.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export * from './dtos/CurrencyResponse';
|
|
1
|
+
export * from './dtos/CurrencyResponse';
|
|
2
|
+
export * from './enums/CurrencyId';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {TransactionStatusEnum} from "../../transaction";
|
|
2
|
+
|
|
3
|
+
export class ServicePaymentTransactionItem {
|
|
4
|
+
id?: string;
|
|
5
|
+
externalAccountId: string;
|
|
6
|
+
amount: number;
|
|
7
|
+
transactionNumber: string;
|
|
8
|
+
currencyId: string;
|
|
9
|
+
status?: TransactionStatusEnum;
|
|
10
|
+
relatedProductId?: string;
|
|
11
|
+
}
|
|
@@ -34,6 +34,9 @@ export * from './dtos/ProviderProcessChargebackTransactionResponse';
|
|
|
34
34
|
export * from './dtos/MembershipTransactionItem';
|
|
35
35
|
export * from './dtos/ProviderProcessMembershipTransactionRequest';
|
|
36
36
|
export * from './dtos/ProviderProcessMembershipTransactionResponse';
|
|
37
|
+
export * from './dtos/ServicePaymentTransactionItem';
|
|
38
|
+
export * from './dtos/ProviderProcessServicePaymentTransactionRequest';
|
|
39
|
+
export * from './dtos/ProviderProcessServicePaymentTransactionResponse';
|
|
37
40
|
export * from './dtos/AuthorizeRenewalPreAuthRequest';
|
|
38
41
|
export * from './dtos/AuthorizeRenewalPreAuthResponse';
|
|
39
42
|
|