@fiado/type-kit 1.1.82 → 1.1.84
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/stpSpei/index.d.ts +2 -0
- package/bin/stpSpei/index.js +2 -0
- package/bin/transaction/dtos/TransactionGetResponse.d.ts +14 -0
- package/bin/transaction/dtos/TransactionGetResponse.js +6 -0
- package/bin/transaction/index.d.ts +1 -0
- package/bin/transaction/index.js +1 -0
- package/bin/transactionProcessor/index.d.ts +4 -0
- package/bin/transactionProcessor/index.js +4 -0
- package/package.json +1 -1
- package/src/productCatalog/enums/ProductTypeEnum.ts +1 -1
- package/src/stpSpei/index.ts +4 -1
- package/src/transaction/dtos/TransactionCreateRequest.ts +1 -1
- package/src/transaction/dtos/TransactionGetResponse.ts +15 -0
- package/src/transaction/index.ts +1 -0
- package/src/transactionProcessor/index.ts +4 -0
package/bin/stpSpei/index.d.ts
CHANGED
package/bin/stpSpei/index.js
CHANGED
|
@@ -15,3 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./dtos/PutStpOrderRequest"), exports);
|
|
18
|
+
__exportStar(require("./dtos/SpeiWebhookMessage"), exports);
|
|
19
|
+
__exportStar(require("./enums/WebhookMessageStatusEnum"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ProductTypeEnum } from "../../productCatalog";
|
|
2
|
+
import { OperationEnum } from "../enums/OperationEnum";
|
|
3
|
+
export declare class TransactionGetResponse {
|
|
4
|
+
pagination: string | null;
|
|
5
|
+
items: {
|
|
6
|
+
totalAmount: number;
|
|
7
|
+
date: string;
|
|
8
|
+
transactionNumber: string;
|
|
9
|
+
transactionType: ProductTypeEnum;
|
|
10
|
+
displayName: string;
|
|
11
|
+
operation: OperationEnum;
|
|
12
|
+
status: string;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
package/bin/transaction/index.js
CHANGED
|
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
//dtos
|
|
18
18
|
__exportStar(require("./dtos/TransactionCreateRequest"), exports);
|
|
19
19
|
__exportStar(require("./dtos/TransactionCreateResponse"), exports);
|
|
20
|
+
__exportStar(require("./dtos/TransactionGetResponse"), exports);
|
|
20
21
|
//enums
|
|
21
22
|
__exportStar(require("./enums/OperationEnum"), exports);
|
|
@@ -4,8 +4,12 @@ export * from './dtos/AuthorizeCreditCardAdjustmentRequest';
|
|
|
4
4
|
export * from './dtos/AuthorizeCreditCardPurchaseRequest';
|
|
5
5
|
export * from './dtos/AuthorizeP2pTransactionRequest';
|
|
6
6
|
export * from './dtos/AuthorizePocketTransactionRequest';
|
|
7
|
+
export * from './dtos/AuthorizeSpeiBankTransferRequest';
|
|
7
8
|
export * from './dtos/CardInfo';
|
|
8
9
|
export * from './dtos/InstallmentsInfo';
|
|
9
10
|
export * from './dtos/MerchantInfo';
|
|
11
|
+
export * from './dtos/SpeiBankTransferStatusUpdate';
|
|
10
12
|
export * from './dtos/TransactionInfo';
|
|
13
|
+
export * from './dtos/TransactionProcessorQueueMessage';
|
|
11
14
|
export * from './enums/TransactionProcessorCodesEnum';
|
|
15
|
+
export * from './enums/AsyncTxStatusEnum';
|
|
@@ -20,8 +20,12 @@ __exportStar(require("./dtos/AuthorizeCreditCardAdjustmentRequest"), exports);
|
|
|
20
20
|
__exportStar(require("./dtos/AuthorizeCreditCardPurchaseRequest"), exports);
|
|
21
21
|
__exportStar(require("./dtos/AuthorizeP2pTransactionRequest"), exports);
|
|
22
22
|
__exportStar(require("./dtos/AuthorizePocketTransactionRequest"), exports);
|
|
23
|
+
__exportStar(require("./dtos/AuthorizeSpeiBankTransferRequest"), exports);
|
|
23
24
|
__exportStar(require("./dtos/CardInfo"), exports);
|
|
24
25
|
__exportStar(require("./dtos/InstallmentsInfo"), exports);
|
|
25
26
|
__exportStar(require("./dtos/MerchantInfo"), exports);
|
|
27
|
+
__exportStar(require("./dtos/SpeiBankTransferStatusUpdate"), exports);
|
|
26
28
|
__exportStar(require("./dtos/TransactionInfo"), exports);
|
|
29
|
+
__exportStar(require("./dtos/TransactionProcessorQueueMessage"), exports);
|
|
27
30
|
__exportStar(require("./enums/TransactionProcessorCodesEnum"), exports);
|
|
31
|
+
__exportStar(require("./enums/AsyncTxStatusEnum"), exports);
|
package/package.json
CHANGED
package/src/stpSpei/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IsEnum, IsNotEmpty, IsString, Length, Matches, ValidateNested} from "class-validator";
|
|
2
2
|
import {regexUuidV4} from "../../helpers/constans/regex";
|
|
3
3
|
import {CountryId} from "../../country";
|
|
4
4
|
import {OperationEnum} from "../enums/OperationEnum";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProductTypeEnum } from "../../productCatalog";
|
|
2
|
+
import { OperationEnum } from "../enums/OperationEnum";
|
|
3
|
+
|
|
4
|
+
export class TransactionGetResponse {
|
|
5
|
+
pagination: string|null;
|
|
6
|
+
items: {
|
|
7
|
+
totalAmount: number;
|
|
8
|
+
date: string;
|
|
9
|
+
transactionNumber: string;
|
|
10
|
+
transactionType: ProductTypeEnum;
|
|
11
|
+
displayName: string;
|
|
12
|
+
operation: OperationEnum;
|
|
13
|
+
status: string;
|
|
14
|
+
}[]
|
|
15
|
+
}
|
package/src/transaction/index.ts
CHANGED
|
@@ -4,10 +4,14 @@ export * from './dtos/AuthorizeCreditCardAdjustmentRequest';
|
|
|
4
4
|
export * from './dtos/AuthorizeCreditCardPurchaseRequest';
|
|
5
5
|
export * from './dtos/AuthorizeP2pTransactionRequest';
|
|
6
6
|
export * from './dtos/AuthorizePocketTransactionRequest';
|
|
7
|
+
export * from './dtos/AuthorizeSpeiBankTransferRequest';
|
|
7
8
|
export * from './dtos/CardInfo';
|
|
8
9
|
export * from './dtos/InstallmentsInfo';
|
|
9
10
|
export * from './dtos/MerchantInfo';
|
|
11
|
+
export * from './dtos/SpeiBankTransferStatusUpdate';
|
|
10
12
|
export * from './dtos/TransactionInfo';
|
|
13
|
+
export * from './dtos/TransactionProcessorQueueMessage';
|
|
11
14
|
|
|
12
15
|
export * from './enums/TransactionProcessorCodesEnum';
|
|
16
|
+
export * from './enums/AsyncTxStatusEnum';
|
|
13
17
|
|