@fiado/type-kit 1.1.86 → 1.1.88

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.
Files changed (44) hide show
  1. package/bin/account/dtos/CreateBankAccountOutput.d.ts +5 -0
  2. package/bin/account/dtos/CreateBankAccountOutput.js +6 -0
  3. package/bin/account/dtos/CreateBankAccountUserOutput.d.ts +8 -0
  4. package/bin/account/dtos/CreateBankAccountUserOutput.js +6 -0
  5. package/bin/card/dtos/CardAdditionalResponse.d.ts +2 -0
  6. package/bin/creditContract/dto/CreditContractCreateRequest.d.ts +15 -0
  7. package/bin/creditContract/dto/CreditContractCreateRequest.js +72 -0
  8. package/bin/index.d.ts +1 -0
  9. package/bin/index.js +2 -1
  10. package/bin/productCatalog/enums/ProductTypeEnum.d.ts +3 -0
  11. package/bin/productCatalog/enums/ProductTypeEnum.js +3 -0
  12. package/bin/stpSpei/dtos/PutStpOrderRequest.d.ts +11 -0
  13. package/bin/stpSpei/dtos/PutStpOrderRequest.js +6 -0
  14. package/bin/stpSpei/dtos/SpeiWebhookMessage.d.ts +9 -0
  15. package/bin/stpSpei/dtos/SpeiWebhookMessage.js +6 -0
  16. package/bin/stpSpei/enums/WebhookMessageStatusEnum.d.ts +5 -0
  17. package/bin/stpSpei/enums/WebhookMessageStatusEnum.js +9 -0
  18. package/bin/stpSpei/index.d.ts +3 -0
  19. package/bin/stpSpei/index.js +19 -0
  20. package/bin/transaction/TransactionCreateRequest.d.ts +2 -0
  21. package/bin/transaction/TransactionCreateRequest.js +6 -0
  22. package/bin/transaction/TransactionCreateResponse.d.ts +2 -0
  23. package/bin/transaction/TransactionCreateResponse.js +6 -0
  24. package/bin/transaction/dtos/TransactionGetResponse.d.ts +15 -0
  25. package/bin/transaction/dtos/TransactionGetResponse.js +6 -0
  26. package/bin/transaction/index.d.ts +1 -0
  27. package/bin/transaction/index.js +1 -0
  28. package/bin/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.d.ts +6 -0
  29. package/bin/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.js +6 -0
  30. package/bin/transactionProcessor/dtos/TransactionProcessorQueueMessage.d.ts +4 -0
  31. package/bin/transactionProcessor/dtos/TransactionProcessorQueueMessage.js +6 -0
  32. package/bin/transactionProcessor/enums/AsyncTxStatusEnum.d.ts +6 -0
  33. package/bin/transactionProcessor/enums/AsyncTxStatusEnum.js +10 -0
  34. package/bin/transactionProcessor/index.d.ts +4 -0
  35. package/bin/transactionProcessor/index.js +4 -0
  36. package/package.json +1 -1
  37. package/src/transaction/dtos/TransactionGetResponse.ts +4 -3
  38. package/src/transaction/index.ts +1 -0
  39. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
  40. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
  41. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
  42. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
  43. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
  44. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
@@ -0,0 +1,5 @@
1
+ import { Provider } from "../../provider";
2
+ export declare class CreateBankAccountOutput {
3
+ externalAccountId: string;
4
+ provider: Provider;
5
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateBankAccountOutput = void 0;
4
+ class CreateBankAccountOutput {
5
+ }
6
+ exports.CreateBankAccountOutput = CreateBankAccountOutput;
@@ -0,0 +1,8 @@
1
+ import { Provider } from "../../provider";
2
+ export declare class CreateBankAccountUserOutput {
3
+ externalUserId: string;
4
+ externalAccountId?: string;
5
+ provider: Provider;
6
+ accountNumber?: string;
7
+ routingNumber?: string;
8
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateBankAccountUserOutput = void 0;
4
+ class CreateBankAccountUserOutput {
5
+ }
6
+ exports.CreateBankAccountUserOutput = CreateBankAccountUserOutput;
@@ -1,3 +1,4 @@
1
+ import { Status } from "../../directory/enums/Status";
1
2
  import { CardSummaryResponse } from "./CardSummaryResponse";
2
3
  export declare class CardAdditionalResponse {
3
4
  fullName: string;
@@ -5,5 +6,6 @@ export declare class CardAdditionalResponse {
5
6
  profileImage: string;
6
7
  directoryId: string;
7
8
  isOwner: boolean;
9
+ directoryStatus: Status;
8
10
  cards: CardSummaryResponse[];
9
11
  }
@@ -0,0 +1,15 @@
1
+ import { CountryId } from "../../country";
2
+ import { InstrumentEnum } from "../enums/InstrumentEnum";
3
+ export default class CreditContractCreateRequest {
4
+ directoryUserId: string;
5
+ relatedTransaction: string;
6
+ peopleId: string;
7
+ currencyId: CountryId;
8
+ creditNotional: number;
9
+ creditFee: number;
10
+ creditTax: number;
11
+ creditTotal: number;
12
+ instrument: InstrumentEnum;
13
+ amountBlocked: number;
14
+ relatedPocketId: string;
15
+ }
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const class_validator_1 = require("class-validator");
13
+ const country_1 = require("../../country");
14
+ const InstrumentEnum_1 = require("../enums/InstrumentEnum");
15
+ class CreditContractCreateRequest {
16
+ }
17
+ exports.default = CreditContractCreateRequest;
18
+ __decorate([
19
+ (0, class_validator_1.IsString)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ __metadata("design:type", String)
22
+ ], CreditContractCreateRequest.prototype, "directoryUserId", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsString)(),
25
+ (0, class_validator_1.IsNotEmpty)(),
26
+ __metadata("design:type", String)
27
+ ], CreditContractCreateRequest.prototype, "relatedTransaction", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsNotEmpty)(),
31
+ __metadata("design:type", String)
32
+ ], CreditContractCreateRequest.prototype, "peopleId", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsEnum)(country_1.CountryId),
35
+ (0, class_validator_1.IsNotEmpty)(),
36
+ __metadata("design:type", String)
37
+ ], CreditContractCreateRequest.prototype, "currencyId", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.IsNumber)(),
40
+ (0, class_validator_1.IsNotEmpty)(),
41
+ __metadata("design:type", Number)
42
+ ], CreditContractCreateRequest.prototype, "creditNotional", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.IsNumber)(),
45
+ (0, class_validator_1.IsNotEmpty)(),
46
+ __metadata("design:type", Number)
47
+ ], CreditContractCreateRequest.prototype, "creditFee", void 0);
48
+ __decorate([
49
+ (0, class_validator_1.IsNumber)(),
50
+ (0, class_validator_1.IsNotEmpty)(),
51
+ __metadata("design:type", Number)
52
+ ], CreditContractCreateRequest.prototype, "creditTax", void 0);
53
+ __decorate([
54
+ (0, class_validator_1.IsNumber)(),
55
+ (0, class_validator_1.IsNotEmpty)(),
56
+ __metadata("design:type", Number)
57
+ ], CreditContractCreateRequest.prototype, "creditTotal", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsEnum)(InstrumentEnum_1.InstrumentEnum),
60
+ (0, class_validator_1.IsNotEmpty)(),
61
+ __metadata("design:type", String)
62
+ ], CreditContractCreateRequest.prototype, "instrument", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsNumber)(),
65
+ (0, class_validator_1.IsNotEmpty)(),
66
+ __metadata("design:type", Number)
67
+ ], CreditContractCreateRequest.prototype, "amountBlocked", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsString)(),
70
+ (0, class_validator_1.IsNotEmpty)(),
71
+ __metadata("design:type", String)
72
+ ], CreditContractCreateRequest.prototype, "relatedPocketId", void 0);
package/bin/index.d.ts CHANGED
@@ -25,3 +25,4 @@ export * as Contract from './contract';
25
25
  export * as CreditContract from './creditContract';
26
26
  export * as P2pContact from './p2pContact';
27
27
  export * as BankAccount from './bankAccount';
28
+ export * as Stp from './stpSpei';
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.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = 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.Beneficiary = exports.Account = void 0;
26
+ exports.Stp = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = 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.Beneficiary = exports.Account = void 0;
27
27
  exports.Account = __importStar(require("./account"));
28
28
  exports.Beneficiary = __importStar(require("./beneficiary"));
29
29
  exports.Address = __importStar(require("./address"));
@@ -51,3 +51,4 @@ exports.Contract = __importStar(require("./contract"));
51
51
  exports.CreditContract = __importStar(require("./creditContract"));
52
52
  exports.P2pContact = __importStar(require("./p2pContact"));
53
53
  exports.BankAccount = __importStar(require("./bankAccount"));
54
+ exports.Stp = __importStar(require("./stpSpei"));
@@ -1,9 +1,12 @@
1
1
  export declare enum ProductTypeEnum {
2
2
  INTERNAL = "INTERNAL",
3
3
  CREDIT_CARD = "TdC",
4
+ CREDIT_CARD_REFUND = "TdC_REFUND",
5
+ CREDIT_CARD_ADJUSTMENT = "TdC_ADJUSTMENT",
4
6
  DEBIT_CARD = "TdD",
5
7
  ATM = "ATM",
6
8
  P2P = "P2P",
7
9
  BANK_TRANSFER = "TRF",
10
+ BANK_TRANSFER_RETURN = "TRF_RETURN",
8
11
  SERVICE_PAYMENT = "SRV"
9
12
  }
@@ -5,9 +5,12 @@ var ProductTypeEnum;
5
5
  (function (ProductTypeEnum) {
6
6
  ProductTypeEnum["INTERNAL"] = "INTERNAL";
7
7
  ProductTypeEnum["CREDIT_CARD"] = "TdC";
8
+ ProductTypeEnum["CREDIT_CARD_REFUND"] = "TdC_REFUND";
9
+ ProductTypeEnum["CREDIT_CARD_ADJUSTMENT"] = "TdC_ADJUSTMENT";
8
10
  ProductTypeEnum["DEBIT_CARD"] = "TdD";
9
11
  ProductTypeEnum["ATM"] = "ATM";
10
12
  ProductTypeEnum["P2P"] = "P2P";
11
13
  ProductTypeEnum["BANK_TRANSFER"] = "TRF";
14
+ ProductTypeEnum["BANK_TRANSFER_RETURN"] = "TRF_RETURN";
12
15
  ProductTypeEnum["SERVICE_PAYMENT"] = "SRV";
13
16
  })(ProductTypeEnum || (exports.ProductTypeEnum = ProductTypeEnum = {}));
@@ -0,0 +1,11 @@
1
+ export declare class PutStpOrderRequest {
2
+ processorObject: any | null;
3
+ amount: number;
4
+ transactionNumber: string;
5
+ numericReference: number;
6
+ concept: string | null;
7
+ beneficiaryAccount: string;
8
+ beneficiaryName: string;
9
+ bankName: string;
10
+ bankCode: string;
11
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutStpOrderRequest = void 0;
4
+ class PutStpOrderRequest {
5
+ }
6
+ exports.PutStpOrderRequest = PutStpOrderRequest;
@@ -0,0 +1,9 @@
1
+ import { WebhookMessageStatusEnum } from "../enums/WebhookMessageStatusEnum";
2
+ export declare class SpeiWebhookMessage {
3
+ id: number;
4
+ empresa: string;
5
+ folioOrigen: string;
6
+ estado: WebhookMessageStatusEnum;
7
+ causaDevolucion: string;
8
+ tsLiquidacion: string;
9
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpeiWebhookMessage = void 0;
4
+ class SpeiWebhookMessage {
5
+ }
6
+ exports.SpeiWebhookMessage = SpeiWebhookMessage;
@@ -0,0 +1,5 @@
1
+ export declare enum WebhookMessageStatusEnum {
2
+ SUCCESS = "Exito",
3
+ CANCELLATION = "Cancelacion",
4
+ RETURN = "Devolucion"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebhookMessageStatusEnum = void 0;
4
+ var WebhookMessageStatusEnum;
5
+ (function (WebhookMessageStatusEnum) {
6
+ WebhookMessageStatusEnum["SUCCESS"] = "Exito";
7
+ WebhookMessageStatusEnum["CANCELLATION"] = "Cancelacion";
8
+ WebhookMessageStatusEnum["RETURN"] = "Devolucion";
9
+ })(WebhookMessageStatusEnum || (exports.WebhookMessageStatusEnum = WebhookMessageStatusEnum = {}));
@@ -0,0 +1,3 @@
1
+ export * from './dtos/PutStpOrderRequest';
2
+ export * from './dtos/SpeiWebhookMessage';
3
+ export * from './enums/WebhookMessageStatusEnum';
@@ -0,0 +1,19 @@
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/PutStpOrderRequest"), exports);
18
+ __exportStar(require("./dtos/SpeiWebhookMessage"), exports);
19
+ __exportStar(require("./enums/WebhookMessageStatusEnum"), exports);
@@ -0,0 +1,2 @@
1
+ export declare class TransactionCreateRequest {
2
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionCreateRequest = void 0;
4
+ class TransactionCreateRequest {
5
+ }
6
+ exports.TransactionCreateRequest = TransactionCreateRequest;
@@ -0,0 +1,2 @@
1
+ export declare class TransactionCreateResponse {
2
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionCreateResponse = void 0;
4
+ class TransactionCreateResponse {
5
+ }
6
+ exports.TransactionCreateResponse = TransactionCreateResponse;
@@ -0,0 +1,15 @@
1
+ import { CountryId } from "../../country";
2
+ import { ProductTypeEnum } from "../../productCatalog";
3
+ import { OperationEnum } from "../enums/OperationEnum";
4
+ export declare class TransactionGetResponse {
5
+ pagination: string | null;
6
+ items: {
7
+ totalAmount: number;
8
+ date: string;
9
+ transactionNumber: string;
10
+ transactionType: ProductTypeEnum;
11
+ description: string;
12
+ currencyId: CountryId;
13
+ operation: OperationEnum;
14
+ }[];
15
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionGetResponse = void 0;
4
+ class TransactionGetResponse {
5
+ }
6
+ exports.TransactionGetResponse = TransactionGetResponse;
@@ -1,3 +1,4 @@
1
1
  export * from './dtos/TransactionCreateRequest';
2
2
  export * from './dtos/TransactionCreateResponse';
3
+ export * from './dtos/TransactionGetResponse';
3
4
  export * from './enums/OperationEnum';
@@ -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);
@@ -0,0 +1,6 @@
1
+ import { AsyncTxStatusEnum } from "../enums/AsyncTxStatusEnum";
2
+ export declare class SpeiBankTransferStatusUpdate {
3
+ transactionNumber: string;
4
+ status: AsyncTxStatusEnum;
5
+ rejectionReason: string | null;
6
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpeiBankTransferStatusUpdate = void 0;
4
+ class SpeiBankTransferStatusUpdate {
5
+ }
6
+ exports.SpeiBankTransferStatusUpdate = SpeiBankTransferStatusUpdate;
@@ -0,0 +1,4 @@
1
+ export declare class TransactionProcessorQueueMessage<T> {
2
+ productCatalogId: string;
3
+ data: T;
4
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionProcessorQueueMessage = void 0;
4
+ class TransactionProcessorQueueMessage {
5
+ }
6
+ exports.TransactionProcessorQueueMessage = TransactionProcessorQueueMessage;
@@ -0,0 +1,6 @@
1
+ export declare enum AsyncTxStatusEnum {
2
+ PENDING = "PENDING",
3
+ CANCELLED = "CANCELLED",
4
+ RETURNED = "RETURNED",
5
+ APPROVED = "APPROVED"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AsyncTxStatusEnum = void 0;
4
+ var AsyncTxStatusEnum;
5
+ (function (AsyncTxStatusEnum) {
6
+ AsyncTxStatusEnum["PENDING"] = "PENDING";
7
+ AsyncTxStatusEnum["CANCELLED"] = "CANCELLED";
8
+ AsyncTxStatusEnum["RETURNED"] = "RETURNED";
9
+ AsyncTxStatusEnum["APPROVED"] = "APPROVED";
10
+ })(AsyncTxStatusEnum || (exports.AsyncTxStatusEnum = AsyncTxStatusEnum = {}));
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.1.86",
3
+ "version": "1.1.88",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,3 +1,4 @@
1
+ import { CountryId } from "../../country";
1
2
  import { ProductTypeEnum } from "../../productCatalog";
2
3
  import { OperationEnum } from "../enums/OperationEnum";
3
4
 
@@ -8,8 +9,8 @@ export class TransactionGetResponse {
8
9
  date: string;
9
10
  transactionNumber: string;
10
11
  transactionType: ProductTypeEnum;
11
- displayName: string;
12
- operation: OperationEnum;
13
- status: string;
12
+ description: string;
13
+ currencyId: CountryId;
14
+ operation: OperationEnum;
14
15
  }[]
15
16
  }
@@ -3,5 +3,6 @@ export * from './dtos/TransactionCreateRequest';
3
3
  export * from './dtos/TransactionCreateResponse';
4
4
  export * from './dtos/TransactionGetResponse';
5
5
 
6
+
6
7
  //enums
7
8
  export * from './enums/OperationEnum';
@@ -1,3 +0,0 @@
1
- export declare class GroupDirectoryRetationsUpdateRequest {
2
- agent: string;
3
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GroupDirectoryRetationsUpdateRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class GroupDirectoryRetationsUpdateRequest {
15
- }
16
- exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
17
- __decorate([
18
- (0, class_validator_1.IsOptional)(),
19
- (0, class_validator_1.IsString)(),
20
- (0, class_validator_1.Length)(1, 20),
21
- __metadata("design:type", String)
22
- ], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);
@@ -1,5 +0,0 @@
1
- export declare class AuthorizeP2pTransactionRequest {
2
- idempotencyKey: string;
3
- targetDirectoryId: string;
4
- amount: number;
5
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthorizeP2pTransactionRequest = void 0;
4
- class AuthorizeP2pTransactionRequest {
5
- }
6
- exports.AuthorizeP2pTransactionRequest = AuthorizeP2pTransactionRequest;
@@ -1,7 +0,0 @@
1
- import { OperationEnum } from "../../../transaction";
2
- export declare class AuthorizePocketTransactionRequest {
3
- idempotencyKey: string;
4
- targetPocketId: string;
5
- operation: OperationEnum;
6
- amount: number;
7
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthorizePocketTransactionRequest = void 0;
4
- class AuthorizePocketTransactionRequest {
5
- }
6
- exports.AuthorizePocketTransactionRequest = AuthorizePocketTransactionRequest;