@fiado/type-kit 2.0.38 → 2.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/centralPayments/enums/CentralPaymentMetadataTypeEnum.d.ts +10 -0
- package/bin/centralPayments/enums/CentralPaymentMetadataTypeEnum.js +14 -0
- package/bin/centralPayments/index.d.ts +1 -0
- package/bin/centralPayments/index.js +3 -0
- package/bin/transactionProcessor/dtos/CardInfo.d.ts +1 -0
- package/bin/transactionProcessor/dtos/EventTransactionInfo.d.ts +10 -0
- package/bin/transactionProcessor/dtos/EventTransactionRequest.d.ts +3 -0
- package/bin/transactionProcessor/dtos/MerchantInfo.d.ts +6 -2
- package/package.json +1 -1
- package/src/centralPayments/enums/CentralPaymentMetadataTypeEnum.ts +10 -0
- package/src/centralPayments/index.ts +4 -0
- package/src/transactionProcessor/dtos/CardInfo.ts +1 -0
- package/src/transactionProcessor/dtos/EventTransactionInfo.ts +11 -4
- package/src/transactionProcessor/dtos/EventTransactionRequest.ts +3 -2
- package/src/transactionProcessor/dtos/MerchantInfo.ts +6 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum CentralPaymentMetadataTypeEnum {
|
|
2
|
+
BANK_TRANSFER_EVENT_METADATA = "BANK_TRANSFER_EVENT_METADATA",
|
|
3
|
+
CARD_EVENT_METADATA = "CARD_EVENT_METADATA",
|
|
4
|
+
CARDHOLDER_EVENT_METADATA = "CARDHOLDER_EVENT_METADATA",
|
|
5
|
+
NETWORK_TRANSFER_BATCH_EVENT_METADATA = "NETWORK_TRANSFER_BATCH_EVENT_METADATA",
|
|
6
|
+
NETWORK_TRANSFER_EVENT_METADATA = "NETWORK_TRANSFER_EVENT_METADATA",
|
|
7
|
+
P2P_EVENT_METADATA = "P2P_EVENT_METADATA",
|
|
8
|
+
REWARD_EVENT_METADATA = "REWARD_EVENT_METADATA",
|
|
9
|
+
TRANSACTION_EVENT_METADATA = "TRANSACTION_EVENT_METADATA"
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CentralPaymentMetadataTypeEnum = void 0;
|
|
4
|
+
var CentralPaymentMetadataTypeEnum;
|
|
5
|
+
(function (CentralPaymentMetadataTypeEnum) {
|
|
6
|
+
CentralPaymentMetadataTypeEnum["BANK_TRANSFER_EVENT_METADATA"] = "BANK_TRANSFER_EVENT_METADATA";
|
|
7
|
+
CentralPaymentMetadataTypeEnum["CARD_EVENT_METADATA"] = "CARD_EVENT_METADATA";
|
|
8
|
+
CentralPaymentMetadataTypeEnum["CARDHOLDER_EVENT_METADATA"] = "CARDHOLDER_EVENT_METADATA";
|
|
9
|
+
CentralPaymentMetadataTypeEnum["NETWORK_TRANSFER_BATCH_EVENT_METADATA"] = "NETWORK_TRANSFER_BATCH_EVENT_METADATA";
|
|
10
|
+
CentralPaymentMetadataTypeEnum["NETWORK_TRANSFER_EVENT_METADATA"] = "NETWORK_TRANSFER_EVENT_METADATA";
|
|
11
|
+
CentralPaymentMetadataTypeEnum["P2P_EVENT_METADATA"] = "P2P_EVENT_METADATA";
|
|
12
|
+
CentralPaymentMetadataTypeEnum["REWARD_EVENT_METADATA"] = "REWARD_EVENT_METADATA";
|
|
13
|
+
CentralPaymentMetadataTypeEnum["TRANSACTION_EVENT_METADATA"] = "TRANSACTION_EVENT_METADATA";
|
|
14
|
+
})(CentralPaymentMetadataTypeEnum || (exports.CentralPaymentMetadataTypeEnum = CentralPaymentMetadataTypeEnum = {}));
|
|
@@ -9,3 +9,4 @@ export * from './dtos/CentralPaymentsTransactionInfo';
|
|
|
9
9
|
export * from './enums/ServiceStatusEnum';
|
|
10
10
|
export * from './enums/MerchantLocationDistanceUnitEnum';
|
|
11
11
|
export * from './enums/CentralPaymentTransactionTypeEnum';
|
|
12
|
+
export * from './enums/CentralPaymentMetadataTypeEnum';
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// central payments dtos
|
|
17
18
|
__exportStar(require("./dtos/HealthcheckResponse"), exports);
|
|
18
19
|
__exportStar(require("./dtos/SubmitOOWQuestionAnswersRequest"), exports);
|
|
19
20
|
__exportStar(require("./dtos/OOWQuestionsResponse"), exports);
|
|
@@ -22,6 +23,8 @@ __exportStar(require("./dtos/GetMerchantLocationsQueryParams"), exports);
|
|
|
22
23
|
__exportStar(require("./dtos/GetMerchantLocationsResponse"), exports);
|
|
23
24
|
__exportStar(require("./dtos/MerchantLocation"), exports);
|
|
24
25
|
__exportStar(require("./dtos/CentralPaymentsTransactionInfo"), exports);
|
|
26
|
+
// central payments enums
|
|
25
27
|
__exportStar(require("./enums/ServiceStatusEnum"), exports);
|
|
26
28
|
__exportStar(require("./enums/MerchantLocationDistanceUnitEnum"), exports);
|
|
27
29
|
__exportStar(require("./enums/CentralPaymentTransactionTypeEnum"), exports);
|
|
30
|
+
__exportStar(require("./enums/CentralPaymentMetadataTypeEnum"), exports);
|
|
@@ -3,6 +3,8 @@ import { TransactionStatusEnum } from "../../transaction/enums/TransactionStatus
|
|
|
3
3
|
import { EventTypeEnum } from "../enums/EventTypeEnum";
|
|
4
4
|
export declare class EventTransactionInfo {
|
|
5
5
|
transactionId: string;
|
|
6
|
+
originalTransactionId?: string;
|
|
7
|
+
linkedTransactionId?: string;
|
|
6
8
|
externalTransactionRef?: string;
|
|
7
9
|
externalCardRef?: string;
|
|
8
10
|
transactionDate: string;
|
|
@@ -16,5 +18,13 @@ export declare class EventTransactionInfo {
|
|
|
16
18
|
sameDayTransfer?: boolean;
|
|
17
19
|
returnCode?: string;
|
|
18
20
|
operation?: OperationEnum;
|
|
21
|
+
deviceId?: string;
|
|
19
22
|
deviceType?: string;
|
|
23
|
+
isoMessageType?: string;
|
|
24
|
+
isPreAuth?: boolean;
|
|
25
|
+
authExpirationDate?: string;
|
|
26
|
+
processorTransTypeCode?: string;
|
|
27
|
+
processorActivityTypeCode?: string;
|
|
28
|
+
responseCode?: string;
|
|
29
|
+
error?: string;
|
|
20
30
|
}
|
|
@@ -5,6 +5,7 @@ import { CardInfo } from "./CardInfo";
|
|
|
5
5
|
import { EventTransactionInfo } from "./EventTransactionInfo";
|
|
6
6
|
import { MerchantInfo } from "./MerchantInfo";
|
|
7
7
|
export declare class EventTransactionRequest {
|
|
8
|
+
eventId?: string;
|
|
8
9
|
idempotencyKey?: string;
|
|
9
10
|
externalUserId: string;
|
|
10
11
|
cardInfo?: CardInfo;
|
|
@@ -14,4 +15,6 @@ export declare class EventTransactionRequest {
|
|
|
14
15
|
transactionInfo: EventTransactionInfo;
|
|
15
16
|
productCatalogId?: string;
|
|
16
17
|
provider: Provider;
|
|
18
|
+
metaDataCode?: string;
|
|
19
|
+
metaData?: string;
|
|
17
20
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export enum CentralPaymentMetadataTypeEnum {
|
|
2
|
+
BANK_TRANSFER_EVENT_METADATA = "BANK_TRANSFER_EVENT_METADATA",
|
|
3
|
+
CARD_EVENT_METADATA = "CARD_EVENT_METADATA",
|
|
4
|
+
CARDHOLDER_EVENT_METADATA = "CARDHOLDER_EVENT_METADATA",
|
|
5
|
+
NETWORK_TRANSFER_BATCH_EVENT_METADATA = "NETWORK_TRANSFER_BATCH_EVENT_METADATA",
|
|
6
|
+
NETWORK_TRANSFER_EVENT_METADATA = "NETWORK_TRANSFER_EVENT_METADATA",
|
|
7
|
+
P2P_EVENT_METADATA = "P2P_EVENT_METADATA",
|
|
8
|
+
REWARD_EVENT_METADATA = "REWARD_EVENT_METADATA",
|
|
9
|
+
TRANSACTION_EVENT_METADATA = "TRANSACTION_EVENT_METADATA"
|
|
10
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
// central payments dtos
|
|
1
3
|
export * from './dtos/HealthcheckResponse';
|
|
2
4
|
export * from './dtos/SubmitOOWQuestionAnswersRequest';
|
|
3
5
|
export * from './dtos/OOWQuestionsResponse';
|
|
@@ -7,6 +9,8 @@ export * from './dtos/GetMerchantLocationsResponse';
|
|
|
7
9
|
export * from './dtos/MerchantLocation';
|
|
8
10
|
export * from './dtos/CentralPaymentsTransactionInfo';
|
|
9
11
|
|
|
12
|
+
// central payments enums
|
|
10
13
|
export * from './enums/ServiceStatusEnum';
|
|
11
14
|
export * from './enums/MerchantLocationDistanceUnitEnum';
|
|
12
15
|
export * from './enums/CentralPaymentTransactionTypeEnum';
|
|
16
|
+
export * from './enums/CentralPaymentMetadataTypeEnum';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { OperationEnum } from "../../transaction/enums/OperationEnum";
|
|
2
2
|
import { TransactionStatusEnum } from "../../transaction/enums/TransactionStatusEnum";
|
|
3
3
|
import { EventTypeEnum } from "../enums/EventTypeEnum";
|
|
4
|
-
import { TransactionInfoStatusEnum } from "../enums/TransactionInfoStatusEnum";
|
|
5
|
-
|
|
6
|
-
|
|
7
4
|
|
|
8
5
|
export class EventTransactionInfo {
|
|
9
6
|
transactionId: string;
|
|
7
|
+
originalTransactionId?: string;
|
|
8
|
+
linkedTransactionId?: string;
|
|
10
9
|
externalTransactionRef?: string;
|
|
11
10
|
externalCardRef?: string;
|
|
12
11
|
transactionDate: string;
|
|
@@ -20,5 +19,13 @@ export class EventTransactionInfo {
|
|
|
20
19
|
sameDayTransfer?: boolean;
|
|
21
20
|
returnCode?: string;
|
|
22
21
|
operation?: OperationEnum;
|
|
22
|
+
deviceId?: string;
|
|
23
23
|
deviceType?: string;
|
|
24
|
-
|
|
24
|
+
isoMessageType?: string;
|
|
25
|
+
isPreAuth?: boolean;
|
|
26
|
+
authExpirationDate?: string;
|
|
27
|
+
processorTransTypeCode?: string;
|
|
28
|
+
processorActivityTypeCode?: string;
|
|
29
|
+
responseCode?: string;
|
|
30
|
+
error?: string;
|
|
31
|
+
}
|
|
@@ -5,9 +5,8 @@ import { CardInfo } from "./CardInfo";
|
|
|
5
5
|
import { EventTransactionInfo } from "./EventTransactionInfo";
|
|
6
6
|
import { MerchantInfo } from "./MerchantInfo";
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
8
|
export class EventTransactionRequest {
|
|
9
|
+
eventId?: string;
|
|
11
10
|
idempotencyKey?: string;
|
|
12
11
|
externalUserId: string;
|
|
13
12
|
cardInfo?: CardInfo;
|
|
@@ -17,4 +16,6 @@ export class EventTransactionRequest {
|
|
|
17
16
|
transactionInfo: EventTransactionInfo;
|
|
18
17
|
productCatalogId?: string;
|
|
19
18
|
provider: Provider;
|
|
19
|
+
metaDataCode?: string;
|
|
20
|
+
metaData?: string;
|
|
20
21
|
}
|