@fiado/type-kit 1.9.46 → 1.9.47

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 (137) hide show
  1. package/bin/card/validations/CardUpdateKeyConstraint.js +2 -2
  2. package/bin/card/validations/IsPhoneNumberConstraint.js +2 -2
  3. package/bin/collector/dtos/CollectorTransactionResponse.d.ts +2 -2
  4. package/bin/collector/dtos/{CreditCOntractInfoResponse.d.ts → CreditContractResponse.d.ts} +1 -1
  5. package/bin/collector/dtos/CreditContractResponse.js +6 -0
  6. package/bin/collector/index.d.ts +1 -1
  7. package/bin/collector/index.js +1 -1
  8. package/bin/index.js +17 -7
  9. package/package.json +1 -1
  10. package/src/collector/dtos/CollectorTransactionResponse.ts +2 -2
  11. package/src/collector/dtos/{CreditContractInfoResponse.ts → CreditContractResponse.ts} +1 -2
  12. package/src/collector/index.ts +1 -1
  13. package/bin/account/dtos/AccountResponse.d.ts +0 -21
  14. package/bin/account/dtos/AccountResponse.js +0 -6
  15. package/bin/account/dtos/CreateBankAccountInput.d.ts +0 -8
  16. package/bin/account/dtos/CreateBankAccountInput.js +0 -6
  17. package/bin/account/dtos/CreateBankAccountUserInput.d.ts +0 -14
  18. package/bin/account/dtos/CreateBankAccountUserInput.js +0 -6
  19. package/bin/account/dtos/PocketCreateRequest.d.ts +0 -4
  20. package/bin/account/dtos/PocketCreateRequest.js +0 -31
  21. package/bin/account/dtos/PocketCreateResponse.d.ts +0 -2
  22. package/bin/account/dtos/PocketCreateResponse.js +0 -6
  23. package/bin/account/enums/AccountStatus.d.ts +0 -5
  24. package/bin/account/enums/AccountStatus.js +0 -9
  25. package/bin/bankAccount/dtos/ExternalAccountType.d.ts +0 -4
  26. package/bin/bankAccount/dtos/ExternalAccountType.js +0 -6
  27. package/bin/card/dtos/CardCreateRequest.d.ts +0 -34
  28. package/bin/card/dtos/CardCreateRequest.js +0 -176
  29. package/bin/centralPayments/dtos/AchTransactionRequest.d.ts +0 -8
  30. package/bin/centralPayments/dtos/AchTransactionRequest.js +0 -6
  31. package/bin/centralPayments/dtos/AchTransactionResponse.d.ts +0 -9
  32. package/bin/centralPayments/dtos/AchTransactionResponse.js +0 -6
  33. package/bin/centralPayments/dtos/CentralPaymentsDocumentImages.d.ts +0 -6
  34. package/bin/centralPayments/dtos/CentralPaymentsDocumentImages.js +0 -6
  35. package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadRequest.d.ts +0 -6
  36. package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadRequest.js +0 -6
  37. package/bin/collector/dtos/CreditCOntractInfoResponse.js +0 -6
  38. package/bin/contactInfo/dtos/GetAllContactInfoResponse.d.ts +0 -13
  39. package/bin/contactInfo/dtos/GetAllContactInfoResponse.js +0 -6
  40. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
  41. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
  42. package/bin/legal-documents-business/enums/LegalDocumentType.d.ts +0 -8
  43. package/bin/legal-documents-business/enums/LegalDocumentType.js +0 -12
  44. package/bin/membership/dtos/CreateMembershipDirectoryUserRequest.d.ts +0 -12
  45. package/bin/membership/dtos/CreateMembershipDirectoryUserRequest.js +0 -54
  46. package/bin/membership/dtos/CreateMembershipRequest.d.ts +0 -14
  47. package/bin/membership/dtos/CreateMembershipRequest.js +0 -56
  48. package/bin/membership/dtos/GetMembershipDirectoryUserListAppResponse.d.ts +0 -14
  49. package/bin/membership/dtos/GetMembershipDirectoryUserListAppResponse.js +0 -6
  50. package/bin/membership/dtos/GetMembershipDirectoryUserListResponse.d.ts +0 -21
  51. package/bin/membership/dtos/GetMembershipDirectoryUserListResponse.js +0 -6
  52. package/bin/membership/dtos/GetMembershipListAppResponse.d.ts +0 -10
  53. package/bin/membership/dtos/GetMembershipListAppResponse.js +0 -6
  54. package/bin/membership/dtos/GetMembershipListResponse.d.ts +0 -20
  55. package/bin/membership/dtos/GetMembershipListResponse.js +0 -6
  56. package/bin/membership/dtos/RegisterMembershipDirectoryUserRequest.d.ts +0 -4
  57. package/bin/membership/dtos/RegisterMembershipDirectoryUserRequest.js +0 -26
  58. package/bin/membership/dtos/UpdateMembershipDirectoryUserRequest.d.ts +0 -12
  59. package/bin/membership/dtos/UpdateMembershipDirectoryUserRequest.js +0 -54
  60. package/bin/membership/dtos/UpdateMembershipRequest.d.ts +0 -14
  61. package/bin/membership/dtos/UpdateMembershipRequest.js +0 -56
  62. package/bin/membership/enums/MembershipDirectoryStatusEnum.d.ts +0 -6
  63. package/bin/membership/enums/MembershipDirectoryStatusEnum.js +0 -10
  64. package/bin/membership/enums/MembershipFlowEnum.d.ts +0 -3
  65. package/bin/membership/enums/MembershipFlowEnum.js +0 -7
  66. package/bin/membership/enums/MembershipProviderEnum.d.ts +0 -5
  67. package/bin/membership/enums/MembershipProviderEnum.js +0 -9
  68. package/bin/membership/enums/MembershipStatusEnum.d.ts +0 -4
  69. package/bin/membership/enums/MembershipStatusEnum.js +0 -8
  70. package/bin/membership/enums/MembershipTypeEnum.d.ts +0 -3
  71. package/bin/membership/enums/MembershipTypeEnum.js +0 -7
  72. package/bin/membership/index.d.ts +0 -14
  73. package/bin/membership/index.js +0 -32
  74. package/bin/pomelo/dtos/PomeloCreateUserRequest.d.ts +0 -28
  75. package/bin/pomelo/dtos/PomeloCreateUserRequest.js +0 -2
  76. package/bin/pomelo/dtos/PomeloCreateUserResponse.d.ts +0 -35
  77. package/bin/pomelo/dtos/PomeloCreateUserResponse.js +0 -2
  78. package/bin/pomelo/enums/CountryEnum.d.ts +0 -8
  79. package/bin/pomelo/enums/CountryEnum.js +0 -12
  80. package/bin/pomelo/enums/IdentificationTypeEnum.d.ts +0 -7
  81. package/bin/pomelo/enums/IdentificationTypeEnum.js +0 -11
  82. package/bin/pomelo/enums/SexEnum.d.ts +0 -4
  83. package/bin/pomelo/enums/SexEnum.js +0 -8
  84. package/bin/pomelo/enums/TaxTypeEnum.d.ts +0 -7
  85. package/bin/pomelo/enums/TaxTypeEnum.js +0 -11
  86. package/bin/pomelo/enums/UserStatusEnum.d.ts +0 -4
  87. package/bin/pomelo/enums/UserStatusEnum.js +0 -8
  88. package/bin/pomelo/index.d.ts +0 -7
  89. package/bin/pomelo/index.js +0 -25
  90. package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.d.ts +0 -20
  91. package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.js +0 -6
  92. package/bin/productCatalog/dtos/GetProductCatalogRequest.d.ts +0 -3
  93. package/bin/productCatalog/dtos/GetProductCatalogRequest.js +0 -19
  94. package/bin/role/dtos/DirectoryBackoffice.d.ts +0 -15
  95. package/bin/role/dtos/DirectoryBackoffice.js +0 -6
  96. package/bin/role/enums/DirectoryBackofficeStatusEnum.d.ts +0 -4
  97. package/bin/role/enums/DirectoryBackofficeStatusEnum.js +0 -8
  98. package/bin/tern/dtos/TernAddress.d.ts +0 -8
  99. package/bin/tern/dtos/TernAddress.js +0 -40
  100. package/bin/tern/dtos/TernCreateAccountRequest.d.ts +0 -7
  101. package/bin/tern/dtos/TernCreateAccountRequest.js +0 -33
  102. package/bin/tern/dtos/TernCreateAccountResponse.d.ts +0 -5
  103. package/bin/tern/dtos/TernCreateAccountResponse.js +0 -25
  104. package/bin/tern/dtos/TernCreateUserRequest.d.ts +0 -15
  105. package/bin/tern/dtos/TernCreateUserRequest.js +0 -70
  106. package/bin/tern/dtos/TernCreateUserResponse.d.ts +0 -8
  107. package/bin/tern/dtos/TernCreateUserResponse.js +0 -37
  108. package/bin/tern/dtos/TernGetAccountRequest.d.ts +0 -5
  109. package/bin/tern/dtos/TernGetAccountRequest.js +0 -25
  110. package/bin/tern/dtos/TernGetAccountResponse.d.ts +0 -22
  111. package/bin/tern/dtos/TernGetAccountResponse.js +0 -87
  112. package/bin/tern/dtos/TernGetUserRequest.d.ts +0 -3
  113. package/bin/tern/dtos/TernGetUserRequest.js +0 -20
  114. package/bin/tern/dtos/TernGetUserResponse.d.ts +0 -24
  115. package/bin/tern/dtos/TernGetUserResponse.js +0 -96
  116. package/bin/tern/enums/TernAccountStatusEnum.d.ts +0 -4
  117. package/bin/tern/enums/TernAccountStatusEnum.js +0 -8
  118. package/bin/tern/enums/TernAccountTypeEnum.d.ts +0 -5
  119. package/bin/tern/enums/TernAccountTypeEnum.js +0 -9
  120. package/bin/tern/index.d.ts +0 -11
  121. package/bin/tern/index.js +0 -29
  122. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
  123. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
  124. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
  125. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
  126. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.d.ts +0 -6
  127. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.js +0 -6
  128. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.d.ts +0 -4
  129. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.js +0 -6
  130. package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.d.ts +0 -6
  131. package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.js +0 -6
  132. package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.d.ts +0 -7
  133. package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.js +0 -6
  134. package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.d.ts +0 -8
  135. package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.js +0 -6
  136. package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.d.ts +0 -16
  137. package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.js +0 -6
@@ -6,7 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.IsValueValid = exports.CardUpdateKeyConstraint = exports.IsReasonRequiredForCancelledStatusConstraint = void 0;
9
+ exports.CardUpdateKeyConstraint = exports.IsReasonRequiredForCancelledStatusConstraint = void 0;
10
+ exports.IsValueValid = IsValueValid;
10
11
  const class_validator_1 = require("class-validator");
11
12
  const Status_1 = require("../enums/Status");
12
13
  const UpdateKey_1 = require("../enums/UpdateKey");
@@ -70,4 +71,3 @@ function IsValueValid(validationOptions) {
70
71
  });
71
72
  };
72
73
  }
73
- exports.IsValueValid = IsValueValid;
@@ -6,7 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.IsPhoneNumberFiado = exports.IsPhoneNumberConstraint = void 0;
9
+ exports.IsPhoneNumberConstraint = void 0;
10
+ exports.IsPhoneNumberFiado = IsPhoneNumberFiado;
10
11
  const class_validator_1 = require("class-validator");
11
12
  const regex_1 = require("../../helpers/constans/regex");
12
13
  let IsPhoneNumberConstraint = class IsPhoneNumberConstraint {
@@ -36,4 +37,3 @@ function IsPhoneNumberFiado(validationOptions) {
36
37
  });
37
38
  };
38
39
  }
39
- exports.IsPhoneNumberFiado = IsPhoneNumberFiado;
@@ -1,5 +1,5 @@
1
- import { CreditContractInfoResponse } from "./CreditContractInfoResponse";
1
+ import { CreditContractResponse } from "./CreditContractResponse";
2
2
  export declare class CollectorTransactionResponse {
3
3
  id: string;
4
- creditContractInfo: CreditContractInfoResponse;
4
+ creditContractInfo: CreditContractResponse;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { CreditContractStatusEnum } from "../../transactionProcessor";
2
- export declare class CreditContractInfoResponse {
2
+ export declare class CreditContractResponse {
3
3
  id: string;
4
4
  status: CreditContractStatusEnum;
5
5
  relatedPreAuthId: string | null;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreditContractResponse = void 0;
4
+ class CreditContractResponse {
5
+ }
6
+ exports.CreditContractResponse = CreditContractResponse;
@@ -3,4 +3,4 @@ export * from './enums/CollectionType';
3
3
  export * from './dtos/CollectionOrderItem';
4
4
  export * from './dtos/CreateCollectionOrderRequest';
5
5
  export * from './dtos/CollectorTransactionResponse';
6
- export * from './dtos/CreditContractInfoResponse';
6
+ export * from './dtos/CreditContractResponse';
@@ -19,4 +19,4 @@ __exportStar(require("./enums/CollectionType"), exports);
19
19
  __exportStar(require("./dtos/CollectionOrderItem"), exports);
20
20
  __exportStar(require("./dtos/CreateCollectionOrderRequest"), exports);
21
21
  __exportStar(require("./dtos/CollectorTransactionResponse"), exports);
22
- __exportStar(require("./dtos/CreditContractInfoResponse"), exports);
22
+ __exportStar(require("./dtos/CreditContractResponse"), exports);
package/bin/index.js CHANGED
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.InvoiceCollector = exports.Collector = exports.Pricelist = exports.Company = exports.Services = exports.AccountIssuanceBusiness = exports.AppSelectionData = exports.Device = exports.Observations = exports.IssuanceBusiness = exports.Blacklist = exports.CentralPayments = exports.Helpdesk = exports.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = exports.RiskProfile = exports.FraudPreventionEngine = exports.BBVARst = 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.Activity = exports.Account = void 0;
27
37
  exports.Account = __importStar(require("./account"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.9.46",
3
+ "version": "1.9.47",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,9 +1,9 @@
1
- import { CreditContractInfoResponse } from "./CreditContractInfoResponse";
1
+ import { CreditContractResponse } from "./CreditContractResponse";
2
2
 
3
3
  export class CollectorTransactionResponse {
4
4
 
5
5
  id: string;
6
- creditContractInfo: CreditContractInfoResponse
6
+ creditContractInfo: CreditContractResponse;
7
7
  }
8
8
 
9
9
 
@@ -1,8 +1,7 @@
1
1
  import { CreditContractStatusEnum } from "../../transactionProcessor";
2
2
 
3
3
 
4
-
5
- export class CreditContractInfoResponse {
4
+ export class CreditContractResponse {
6
5
  id: string;
7
6
  status: CreditContractStatusEnum;
8
7
  relatedPreAuthId: string | null;
@@ -5,4 +5,4 @@ export * from './enums/CollectionType';
5
5
  export * from './dtos/CollectionOrderItem';
6
6
  export * from './dtos/CreateCollectionOrderRequest';
7
7
  export * from './dtos/CollectorTransactionResponse';
8
- export * from './dtos/CreditContractInfoResponse';
8
+ export * from './dtos/CreditContractResponse';
@@ -1,21 +0,0 @@
1
- import { Provider } from '../../provider/enums/Provider';
2
- import { Country } from '../../country/enums/Country';
3
- import { AccountStatus } from '../enums/AccountStatus';
4
- import { TypeOfDirectoryId } from '../../directory/enums/TypeOfDirectoryId';
5
- export declare class AccountResponse {
6
- id: string;
7
- typeOfAccountId: string;
8
- externalAccountId: string;
9
- externalSubAccountId: string | null;
10
- provider: Provider;
11
- directoryId: string;
12
- typeOfDirectoryId: TypeOfDirectoryId;
13
- currentBalance: number;
14
- balanceLock: number;
15
- countryId: Country;
16
- createDate: string;
17
- lastUpdateDate: string;
18
- accountNumber: string;
19
- routingNumber: string;
20
- status: AccountStatus;
21
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountResponse = void 0;
4
- class AccountResponse {
5
- }
6
- exports.AccountResponse = AccountResponse;
@@ -1,8 +0,0 @@
1
- import { BankAccountTypeEnum } from "../enums/BankAccountTypeEnum";
2
- export declare class CreateBankAccountInput {
3
- externalClientId?: string;
4
- externalUserId?: string;
5
- name: string;
6
- lastName: string;
7
- type: BankAccountTypeEnum;
8
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateBankAccountInput = void 0;
4
- class CreateBankAccountInput {
5
- }
6
- exports.CreateBankAccountInput = CreateBankAccountInput;
@@ -1,14 +0,0 @@
1
- import { AddressBase } from "../../address/dtos/AddressBase";
2
- export declare class CreateBankAccountUserInput {
3
- directoryId: string;
4
- typeOfDirectoryId: string;
5
- firstName: string;
6
- lastName: string;
7
- phoneNumber: string;
8
- address: AddressBase;
9
- email: string;
10
- dob: string;
11
- documentNumber: string;
12
- documentType?: string;
13
- gender?: "M" | "F";
14
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateBankAccountUserInput = void 0;
4
- class CreateBankAccountUserInput {
5
- }
6
- exports.CreateBankAccountUserInput = CreateBankAccountUserInput;
@@ -1,4 +0,0 @@
1
- export declare class PocketCreateRequest {
2
- beneficiaryDirectoryId?: string;
3
- accountId: string;
4
- }
@@ -1,31 +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.PocketCreateRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const regex_1 = require("../../helpers/constans/regex");
15
- class PocketCreateRequest {
16
- }
17
- exports.PocketCreateRequest = PocketCreateRequest;
18
- __decorate([
19
- (0, class_validator_1.IsString)(),
20
- (0, class_validator_1.Matches)(regex_1.regexUuidV4, {
21
- message: 'beneficiaryDirectoryId must be a valid UUID v4',
22
- }),
23
- __metadata("design:type", String)
24
- ], PocketCreateRequest.prototype, "beneficiaryDirectoryId", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsString)(),
27
- (0, class_validator_1.Matches)(regex_1.regexUuidV4, {
28
- message: 'accountId must be a valid UUID v4',
29
- }),
30
- __metadata("design:type", String)
31
- ], PocketCreateRequest.prototype, "accountId", void 0);
@@ -1,2 +0,0 @@
1
- export declare class PocketCreateResponse {
2
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PocketCreateResponse = void 0;
4
- class PocketCreateResponse {
5
- }
6
- exports.PocketCreateResponse = PocketCreateResponse;
@@ -1,5 +0,0 @@
1
- export declare enum AccountStatus {
2
- ACTIVE = "ACTIVE",
3
- INACTIVE = "INACTIVE",
4
- BLOCKED = "BLOCKED"
5
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountStatus = void 0;
4
- var AccountStatus;
5
- (function (AccountStatus) {
6
- AccountStatus["ACTIVE"] = "ACTIVE";
7
- AccountStatus["INACTIVE"] = "INACTIVE";
8
- AccountStatus["BLOCKED"] = "BLOCKED";
9
- })(AccountStatus || (exports.AccountStatus = AccountStatus = {}));
@@ -1,4 +0,0 @@
1
- export declare class ExternalAccountType {
2
- id?: number;
3
- name?: string;
4
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExternalAccountType = void 0;
4
- class ExternalAccountType {
5
- }
6
- exports.ExternalAccountType = ExternalAccountType;
@@ -1,34 +0,0 @@
1
- import { CountryId } from '../../country/enums/CountryId';
2
- import { CardType } from '../enums/CardType';
3
- import { Brand } from '../enums/Brand';
4
- import { OwnershipType } from '../enums/OwnershipType';
5
- import { Status } from '../enums/Status';
6
- import { Shipping } from '../../address';
7
- export declare class CardCreateRequest {
8
- id?: string;
9
- accountId?: string;
10
- activationDate?: string;
11
- countryId: CountryId;
12
- type: CardType;
13
- directoryId?: string;
14
- externalCardId: string;
15
- externalUserId: string;
16
- externalShipmentId: string;
17
- shipmentProvider: string;
18
- externalShipmentTrackingId: string;
19
- externalShipmentTrackingUrl: string;
20
- holderName: string;
21
- holderLastName: string;
22
- imageUrl?: string;
23
- brand: Brand;
24
- ownershipType: OwnershipType;
25
- lastFour: string;
26
- providerName?: string;
27
- status: Status;
28
- statusUpdateDate?: string;
29
- tenantId?: string;
30
- spendLimitByTransaction?: number;
31
- spendLimitByDay?: number;
32
- spendLimitByMonth?: number;
33
- shippedAddress?: Shipping;
34
- }
@@ -1,176 +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.CardCreateRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- const CountryId_1 = require("../../country/enums/CountryId");
16
- const CardType_1 = require("../enums/CardType");
17
- const Brand_1 = require("../enums/Brand");
18
- const OwnershipType_1 = require("../enums/OwnershipType");
19
- const Status_1 = require("../enums/Status");
20
- const regex_1 = require("../../helpers/constans/regex");
21
- const address_1 = require("../../address");
22
- class CardCreateRequest {
23
- }
24
- exports.CardCreateRequest = CardCreateRequest;
25
- __decorate([
26
- (0, class_validator_1.IsOptional)(),
27
- (0, class_validator_1.IsString)(),
28
- (0, class_validator_1.Matches)(regex_1.regexUuidV4, {
29
- message: 'id must be a valid UUID v4',
30
- }),
31
- __metadata("design:type", String)
32
- ], CardCreateRequest.prototype, "id", void 0);
33
- __decorate([
34
- (0, class_validator_1.IsOptional)(),
35
- (0, class_validator_1.IsString)(),
36
- (0, class_validator_1.Matches)(regex_1.regexUuidV4, {
37
- message: 'accountId must be a valid UUID v4 or null',
38
- }),
39
- __metadata("design:type", String)
40
- ], CardCreateRequest.prototype, "accountId", void 0);
41
- __decorate([
42
- (0, class_validator_1.IsOptional)(),
43
- (0, class_validator_1.IsString)(),
44
- (0, class_validator_1.Matches)(regex_1.regexIso8601, {
45
- message: 'activationDate must be a valid ISO 8601 date string',
46
- }),
47
- __metadata("design:type", String)
48
- ], CardCreateRequest.prototype, "activationDate", void 0);
49
- __decorate([
50
- (0, class_validator_1.IsEnum)(CountryId_1.CountryId),
51
- __metadata("design:type", String)
52
- ], CardCreateRequest.prototype, "countryId", void 0);
53
- __decorate([
54
- (0, class_validator_1.IsEnum)(CardType_1.CardType),
55
- __metadata("design:type", String)
56
- ], CardCreateRequest.prototype, "type", void 0);
57
- __decorate([
58
- (0, class_validator_1.IsString)(),
59
- (0, class_validator_1.Matches)(regex_1.regexUuidV4, {
60
- message: 'directoryId must be a valid UUID v4',
61
- }),
62
- __metadata("design:type", String)
63
- ], CardCreateRequest.prototype, "directoryId", void 0);
64
- __decorate([
65
- (0, class_validator_1.IsString)(),
66
- (0, class_validator_1.Length)(1, 100),
67
- __metadata("design:type", String)
68
- ], CardCreateRequest.prototype, "externalCardId", void 0);
69
- __decorate([
70
- (0, class_validator_1.IsString)(),
71
- (0, class_validator_1.Length)(1, 100),
72
- __metadata("design:type", String)
73
- ], CardCreateRequest.prototype, "externalUserId", void 0);
74
- __decorate([
75
- (0, class_validator_1.IsOptional)(),
76
- (0, class_validator_1.IsString)(),
77
- (0, class_validator_1.Length)(1, 100),
78
- __metadata("design:type", String)
79
- ], CardCreateRequest.prototype, "externalShipmentId", void 0);
80
- __decorate([
81
- (0, class_validator_1.IsOptional)(),
82
- (0, class_validator_1.IsString)(),
83
- (0, class_validator_1.Length)(1, 50),
84
- __metadata("design:type", String)
85
- ], CardCreateRequest.prototype, "shipmentProvider", void 0);
86
- __decorate([
87
- (0, class_validator_1.IsOptional)(),
88
- (0, class_validator_1.IsString)(),
89
- (0, class_validator_1.Length)(1, 50),
90
- __metadata("design:type", String)
91
- ], CardCreateRequest.prototype, "externalShipmentTrackingId", void 0);
92
- __decorate([
93
- (0, class_validator_1.IsOptional)(),
94
- (0, class_validator_1.IsString)(),
95
- (0, class_validator_1.Length)(1, 200),
96
- __metadata("design:type", String)
97
- ], CardCreateRequest.prototype, "externalShipmentTrackingUrl", void 0);
98
- __decorate([
99
- (0, class_validator_1.IsOptional)(),
100
- (0, class_validator_1.IsString)(),
101
- (0, class_validator_1.Length)(1, 50),
102
- __metadata("design:type", String)
103
- ], CardCreateRequest.prototype, "holderName", void 0);
104
- __decorate([
105
- (0, class_validator_1.IsOptional)(),
106
- (0, class_validator_1.IsString)(),
107
- (0, class_validator_1.Length)(1, 50),
108
- __metadata("design:type", String)
109
- ], CardCreateRequest.prototype, "holderLastName", void 0);
110
- __decorate([
111
- (0, class_validator_1.IsOptional)(),
112
- (0, class_validator_1.IsString)(),
113
- (0, class_validator_1.Length)(1, 200),
114
- __metadata("design:type", String)
115
- ], CardCreateRequest.prototype, "imageUrl", void 0);
116
- __decorate([
117
- (0, class_validator_1.IsEnum)(Brand_1.Brand),
118
- __metadata("design:type", String)
119
- ], CardCreateRequest.prototype, "brand", void 0);
120
- __decorate([
121
- (0, class_validator_1.IsEnum)(OwnershipType_1.OwnershipType),
122
- __metadata("design:type", String)
123
- ], CardCreateRequest.prototype, "ownershipType", void 0);
124
- __decorate([
125
- (0, class_validator_1.IsString)(),
126
- (0, class_validator_1.Length)(4, 4),
127
- __metadata("design:type", String)
128
- ], CardCreateRequest.prototype, "lastFour", void 0);
129
- __decorate([
130
- (0, class_validator_1.IsOptional)(),
131
- (0, class_validator_1.IsString)(),
132
- (0, class_validator_1.Length)(1, 50),
133
- __metadata("design:type", String)
134
- ], CardCreateRequest.prototype, "providerName", void 0);
135
- __decorate([
136
- (0, class_validator_1.IsEnum)(Status_1.Status),
137
- __metadata("design:type", String)
138
- ], CardCreateRequest.prototype, "status", void 0);
139
- __decorate([
140
- (0, class_validator_1.IsOptional)(),
141
- (0, class_validator_1.IsString)(),
142
- __metadata("design:type", String)
143
- ], CardCreateRequest.prototype, "statusUpdateDate", void 0);
144
- __decorate([
145
- (0, class_validator_1.IsOptional)(),
146
- (0, class_validator_1.IsString)(),
147
- (0, class_validator_1.Length)(1, 50),
148
- __metadata("design:type", String)
149
- ], CardCreateRequest.prototype, "tenantId", void 0);
150
- __decorate([
151
- (0, class_validator_1.IsOptional)(),
152
- (0, class_validator_1.IsNumber)(),
153
- (0, class_validator_1.Min)(1),
154
- (0, class_validator_1.Max)(9999999999),
155
- __metadata("design:type", Number)
156
- ], CardCreateRequest.prototype, "spendLimitByTransaction", void 0);
157
- __decorate([
158
- (0, class_validator_1.IsOptional)(),
159
- (0, class_validator_1.IsNumber)(),
160
- (0, class_validator_1.Min)(1),
161
- (0, class_validator_1.Max)(9999999999),
162
- __metadata("design:type", Number)
163
- ], CardCreateRequest.prototype, "spendLimitByDay", void 0);
164
- __decorate([
165
- (0, class_validator_1.IsOptional)(),
166
- (0, class_validator_1.IsNumber)(),
167
- (0, class_validator_1.Min)(1),
168
- (0, class_validator_1.Max)(9999999999),
169
- __metadata("design:type", Number)
170
- ], CardCreateRequest.prototype, "spendLimitByMonth", void 0);
171
- __decorate([
172
- (0, class_validator_1.IsOptional)(),
173
- (0, class_validator_1.ValidateNested)(),
174
- (0, class_transformer_1.Type)(() => address_1.Shipping),
175
- __metadata("design:type", address_1.Shipping)
176
- ], CardCreateRequest.prototype, "shippedAddress", void 0);
@@ -1,8 +0,0 @@
1
- export declare class AchTransactionRequest {
2
- transactionNumber: string;
3
- externalBankAccountId: string;
4
- externalAccountId: string;
5
- externalUserId: string;
6
- amount: number;
7
- concept?: string;
8
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AchTransactionRequest = void 0;
4
- class AchTransactionRequest {
5
- }
6
- exports.AchTransactionRequest = AchTransactionRequest;
@@ -1,9 +0,0 @@
1
- export declare class AchTransactionResponse {
2
- externalTransactionId: string;
3
- transactionNumber: string;
4
- externalAccountId: string;
5
- externalUserId: string;
6
- status: string;
7
- amount: number;
8
- currencyId: string;
9
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AchTransactionResponse = void 0;
4
- class AchTransactionResponse {
5
- }
6
- exports.AchTransactionResponse = AchTransactionResponse;
@@ -1,6 +0,0 @@
1
- import { DocumentSideEnum } from "../../identity";
2
- export declare class CentralPaymentsDocumentImages {
3
- side: DocumentSideEnum;
4
- url: string;
5
- extension: string;
6
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CentralPaymentsDocumentImages = void 0;
4
- class CentralPaymentsDocumentImages {
5
- }
6
- exports.CentralPaymentsDocumentImages = CentralPaymentsDocumentImages;
@@ -1,6 +0,0 @@
1
- import { IdentificationDocument } from "../../identity";
2
- import { CentralPaymentsDocumentImages } from "./CentralPaymentsDocumentImages";
3
- export declare class CentralPaymentsDocumentUploadRequest {
4
- documentInfo: IdentificationDocument;
5
- documentImages: CentralPaymentsDocumentImages[];
6
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CentralPaymentsDocumentUploadRequest = void 0;
4
- class CentralPaymentsDocumentUploadRequest {
5
- }
6
- exports.CentralPaymentsDocumentUploadRequest = CentralPaymentsDocumentUploadRequest;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreditContractInfoResponse = void 0;
4
- class CreditContractInfoResponse {
5
- }
6
- exports.CreditContractInfoResponse = CreditContractInfoResponse;
@@ -1,13 +0,0 @@
1
- import { TypeOfContactIdEnum } from "../enums/TypeOfContactIdEnum";
2
- export declare class GetAllContactInfoResponse {
3
- id: string;
4
- contact: string;
5
- directoryId: string;
6
- isPrincipal: boolean;
7
- typeOfContactId: TypeOfContactIdEnum;
8
- isWhatsApp: boolean;
9
- isVoice: boolean;
10
- isSMS: boolean;
11
- isApp: boolean;
12
- note: string;
13
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetAllContactInfoResponse = void 0;
4
- class GetAllContactInfoResponse {
5
- }
6
- exports.GetAllContactInfoResponse = GetAllContactInfoResponse;
@@ -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);