@fiado/type-kit 1.0.94 → 1.0.96
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/card/dtos/CardUpdateRequest.js +0 -2
- package/bin/index.d.ts +1 -0
- package/bin/index.js +2 -1
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.d.ts +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.d.ts +4 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.d.ts +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.d.ts +7 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.d.ts +8 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.d.ts +14 -0
- package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.js +6 -0
- package/bin/transactionProcessor/index.d.ts +6 -0
- package/bin/transactionProcessor/index.js +22 -0
- package/package.json +1 -1
- package/src/card/dtos/CardUpdateRequest.ts +0 -2
- package/src/index.ts +3 -2
- package/src/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.ts +7 -0
- package/src/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.ts +4 -0
- package/src/transactionProcessor/dtos/private/PrivateProcessorCardInfo.ts +6 -0
- package/src/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.ts +7 -0
- package/src/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.ts +8 -0
- package/src/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.ts +15 -0
- package/src/transactionProcessor/index.ts +7 -0
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CardUpdateRequest = void 0;
|
|
13
13
|
const UpdateKey_1 = require("../enums/UpdateKey");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const CardUpdateKeyConstraint_1 = require("../validations/CardUpdateKeyConstraint");
|
|
16
15
|
class CardUpdateRequest {
|
|
17
16
|
}
|
|
18
17
|
exports.CardUpdateRequest = CardUpdateRequest;
|
|
@@ -22,6 +21,5 @@ __decorate([
|
|
|
22
21
|
], CardUpdateRequest.prototype, "type", void 0);
|
|
23
22
|
__decorate([
|
|
24
23
|
(0, class_validator_1.IsString)(),
|
|
25
|
-
(0, CardUpdateKeyConstraint_1.IsValueValid)(),
|
|
26
24
|
__metadata("design:type", String)
|
|
27
25
|
], CardUpdateRequest.prototype, "value", void 0);
|
package/bin/index.d.ts
CHANGED
|
@@ -16,3 +16,4 @@ export * as NotificationMessages from './notificationMessages';
|
|
|
16
16
|
export * as SessionActivity from './sessionActivity';
|
|
17
17
|
export * as EventBridgeMessage from './eventBridge';
|
|
18
18
|
export * as GenericMessage from './genericMessage';
|
|
19
|
+
export * as TransactionProcessor from './transactionProcessor';
|
package/bin/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Account = void 0;
|
|
26
|
+
exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Account = void 0;
|
|
27
27
|
exports.Account = __importStar(require("./account"));
|
|
28
28
|
exports.Address = __importStar(require("./address"));
|
|
29
29
|
exports.App = __importStar(require("./app"));
|
|
@@ -42,3 +42,4 @@ exports.NotificationMessages = __importStar(require("./notificationMessages"));
|
|
|
42
42
|
exports.SessionActivity = __importStar(require("./sessionActivity"));
|
|
43
43
|
exports.EventBridgeMessage = __importStar(require("./eventBridge"));
|
|
44
44
|
exports.GenericMessage = __importStar(require("./genericMessage"));
|
|
45
|
+
exports.TransactionProcessor = __importStar(require("./transactionProcessor"));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PrivateProcessorAmountInfoItem } from "./PrivateProcessorAmountInfoItem";
|
|
2
|
+
export declare class PrivateProcessorAmountInfo {
|
|
3
|
+
transaction: PrivateProcessorAmountInfoItem;
|
|
4
|
+
settlement: PrivateProcessorAmountInfoItem;
|
|
5
|
+
local: PrivateProcessorAmountInfoItem;
|
|
6
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PrivateProcessorCardInfo } from "./PrivateProcessorCardInfo";
|
|
2
|
+
import { PrivateProcessorMerchantInfo } from "./PrivateProcessorMerchantInfo";
|
|
3
|
+
import { PrivateProcessorAmountInfo } from "./PrivateProcessorAmountInfo";
|
|
4
|
+
import { PrivateProcessorTransactionInfo } from "./PrivateProcessorTransactionInfo";
|
|
5
|
+
export declare class PrivateTransactionProcessorRequest {
|
|
6
|
+
idempotencyKey: string;
|
|
7
|
+
externalUserId: string;
|
|
8
|
+
cardInfo: PrivateProcessorCardInfo | null;
|
|
9
|
+
productCatalogId: string;
|
|
10
|
+
merchantInfo: PrivateProcessorMerchantInfo;
|
|
11
|
+
amountInfo: PrivateProcessorAmountInfo;
|
|
12
|
+
transactionInfo: PrivateProcessorTransactionInfo;
|
|
13
|
+
additionalData: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './dtos/private/PrivateTransactionProcessorRequest';
|
|
2
|
+
export * from './dtos/private/PrivateProcessorTransactionInfo';
|
|
3
|
+
export * from './dtos/private/PrivateProcessorMerchantInfo';
|
|
4
|
+
export * from './dtos/private/PrivateProcessorCardInfo';
|
|
5
|
+
export * from './dtos/private/PrivateProcessorAmountInfo';
|
|
6
|
+
export * from './dtos/private/PrivateProcessorAmountInfoItem';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dtos/private/PrivateTransactionProcessorRequest"), exports);
|
|
18
|
+
__exportStar(require("./dtos/private/PrivateProcessorTransactionInfo"), exports);
|
|
19
|
+
__exportStar(require("./dtos/private/PrivateProcessorMerchantInfo"), exports);
|
|
20
|
+
__exportStar(require("./dtos/private/PrivateProcessorCardInfo"), exports);
|
|
21
|
+
__exportStar(require("./dtos/private/PrivateProcessorAmountInfo"), exports);
|
|
22
|
+
__exportStar(require("./dtos/private/PrivateProcessorAmountInfoItem"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import {UpdateKey} from "../enums/UpdateKey";
|
|
2
2
|
import {IsEnum, IsString} from "class-validator";
|
|
3
|
-
import {IsValueValid} from "../validations/CardUpdateKeyConstraint";
|
|
4
3
|
|
|
5
4
|
|
|
6
5
|
export class CardUpdateRequest {
|
|
@@ -9,6 +8,5 @@ export class CardUpdateRequest {
|
|
|
9
8
|
type: UpdateKey;
|
|
10
9
|
|
|
11
10
|
@IsString()
|
|
12
|
-
@IsValueValid()
|
|
13
11
|
value: string;
|
|
14
12
|
}
|
package/src/index.ts
CHANGED
|
@@ -14,8 +14,9 @@ export * as Header from './header';
|
|
|
14
14
|
export * as ServicePayment from './servicePayment';
|
|
15
15
|
export * as NotificationMessages from './notificationMessages';
|
|
16
16
|
export * as SessionActivity from './sessionActivity';
|
|
17
|
-
export * as EventBridgeMessage from './eventBridge'
|
|
18
|
-
export * as GenericMessage from './genericMessage'
|
|
17
|
+
export * as EventBridgeMessage from './eventBridge';
|
|
18
|
+
export * as GenericMessage from './genericMessage';
|
|
19
|
+
export * as TransactionProcessor from './transactionProcessor';
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {PrivateProcessorCardInfo} from "./PrivateProcessorCardInfo";
|
|
2
|
+
import {PrivateProcessorMerchantInfo} from "./PrivateProcessorMerchantInfo";
|
|
3
|
+
import {PrivateProcessorAmountInfo} from "./PrivateProcessorAmountInfo";
|
|
4
|
+
import {PrivateProcessorTransactionInfo} from "./PrivateProcessorTransactionInfo";
|
|
5
|
+
|
|
6
|
+
export class PrivateTransactionProcessorRequest {
|
|
7
|
+
idempotencyKey: string;
|
|
8
|
+
externalUserId: string;
|
|
9
|
+
cardInfo: PrivateProcessorCardInfo | null;
|
|
10
|
+
productCatalogId: string;
|
|
11
|
+
merchantInfo: PrivateProcessorMerchantInfo;
|
|
12
|
+
amountInfo: PrivateProcessorAmountInfo;
|
|
13
|
+
transactionInfo: PrivateProcessorTransactionInfo;
|
|
14
|
+
additionalData: any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './dtos/private/PrivateTransactionProcessorRequest';
|
|
2
|
+
export * from './dtos/private/PrivateProcessorTransactionInfo';
|
|
3
|
+
export * from './dtos/private/PrivateProcessorMerchantInfo';
|
|
4
|
+
export * from './dtos/private/PrivateProcessorCardInfo';
|
|
5
|
+
export * from './dtos/private/PrivateProcessorAmountInfo';
|
|
6
|
+
export * from './dtos/private/PrivateProcessorAmountInfoItem';
|
|
7
|
+
|