@fiado/type-kit 2.0.38 → 2.0.39
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/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/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
|
@@ -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
|
@@ -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
|
}
|