@fiado/type-kit 2.0.37 → 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.
@@ -1,4 +1,4 @@
1
- export declare class CentralPaymentsMetaDataInfo {
1
+ export declare class CentralPaymentsTransactionInfo {
2
2
  id: string;
3
3
  createdAt?: string;
4
4
  updatedAt?: string;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CentralPaymentsTransactionInfo = void 0;
4
+ class CentralPaymentsTransactionInfo {
5
+ }
6
+ exports.CentralPaymentsTransactionInfo = CentralPaymentsTransactionInfo;
@@ -5,7 +5,7 @@ export * from './dtos/OOWAnswer';
5
5
  export * from './dtos/GetMerchantLocationsQueryParams';
6
6
  export * from './dtos/GetMerchantLocationsResponse';
7
7
  export * from './dtos/MerchantLocation';
8
- export * from './dtos/CentralPaymentsMetaDataInfo';
8
+ export * from './dtos/CentralPaymentsTransactionInfo';
9
9
  export * from './enums/ServiceStatusEnum';
10
10
  export * from './enums/MerchantLocationDistanceUnitEnum';
11
11
  export * from './enums/CentralPaymentTransactionTypeEnum';
@@ -21,7 +21,7 @@ __exportStar(require("./dtos/OOWAnswer"), exports);
21
21
  __exportStar(require("./dtos/GetMerchantLocationsQueryParams"), exports);
22
22
  __exportStar(require("./dtos/GetMerchantLocationsResponse"), exports);
23
23
  __exportStar(require("./dtos/MerchantLocation"), exports);
24
- __exportStar(require("./dtos/CentralPaymentsMetaDataInfo"), exports);
24
+ __exportStar(require("./dtos/CentralPaymentsTransactionInfo"), exports);
25
25
  __exportStar(require("./enums/ServiceStatusEnum"), exports);
26
26
  __exportStar(require("./enums/MerchantLocationDistanceUnitEnum"), exports);
27
27
  __exportStar(require("./enums/CentralPaymentTransactionTypeEnum"), exports);
@@ -3,4 +3,5 @@ export declare class CardInfo {
3
3
  lastFour: string;
4
4
  provider: string;
5
5
  externalCardId: string;
6
+ cardBin?: string;
6
7
  }
@@ -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
  }
@@ -1,7 +1,11 @@
1
1
  export declare class MerchantInfo {
2
2
  id: string;
3
- address: string;
3
+ address?: string;
4
4
  name: string;
5
5
  mcc: string;
6
- terminalId: string;
6
+ mccName?: string;
7
+ mccGroup?: string;
8
+ terminalId?: string;
9
+ country?: string;
10
+ postalCode?: string;
7
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "2.0.37",
3
+ "version": "2.0.39",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,4 +1,4 @@
1
- export class CentralPaymentsMetaDataInfo {
1
+ export class CentralPaymentsTransactionInfo {
2
2
  id: string;
3
3
  createdAt?: string;
4
4
  updatedAt?: string;
@@ -5,7 +5,7 @@ export * from './dtos/OOWAnswer';
5
5
  export * from './dtos/GetMerchantLocationsQueryParams';
6
6
  export * from './dtos/GetMerchantLocationsResponse';
7
7
  export * from './dtos/MerchantLocation';
8
- export * from './dtos/CentralPaymentsMetaDataInfo';
8
+ export * from './dtos/CentralPaymentsTransactionInfo';
9
9
 
10
10
  export * from './enums/ServiceStatusEnum';
11
11
  export * from './enums/MerchantLocationDistanceUnitEnum';
@@ -3,4 +3,5 @@ export class CardInfo {
3
3
  lastFour: string;
4
4
  provider: string;
5
5
  externalCardId: string;
6
+ cardBin?: string;
6
7
  }
@@ -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
  }
@@ -1,7 +1,11 @@
1
1
  export class MerchantInfo {
2
2
  id: string;
3
- address: string;
3
+ address?: string;
4
4
  name: string;
5
5
  mcc: string;
6
- terminalId: string;
6
+ mccName?: string;
7
+ mccGroup?: string;
8
+ terminalId?: string;
9
+ country?: string;
10
+ postalCode?: string;
7
11
  }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CentralPaymentsMetaDataInfo = void 0;
4
- class CentralPaymentsMetaDataInfo {
5
- }
6
- exports.CentralPaymentsMetaDataInfo = CentralPaymentsMetaDataInfo;