@fiado/type-kit 1.9.3 → 1.9.5

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 (599) hide show
  1. package/.idea/aws.xml +11 -0
  2. package/.idea/fiado-type-kit.iml +12 -0
  3. package/.idea/modules.xml +8 -0
  4. package/.idea/vcs.xml +6 -0
  5. package/README.md +70 -70
  6. package/bin/account/dtos/BankAccountP2pTransferRequest.d.ts +2 -0
  7. package/bin/card/validations/CardUpdateKeyConstraint.js +2 -2
  8. package/bin/card/validations/IsPhoneNumberConstraint.js +2 -2
  9. package/bin/transaction/dtos/internal/BaseProviderTransaction.d.ts +2 -0
  10. package/package.json +23 -23
  11. package/src/account/dtos/AccountCreateRequest.ts +100 -100
  12. package/src/account/dtos/AccountCreateResponse.ts +10 -10
  13. package/src/account/dtos/AccountInfo.ts +43 -43
  14. package/src/account/dtos/AccountUpdateBalanceRequest.ts +6 -6
  15. package/src/account/dtos/AccountUpdateRequest.ts +40 -40
  16. package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
  17. package/src/account/dtos/BankAccountP2pTransferRequest.ts +10 -8
  18. package/src/account/dtos/BankAccountP2pTransferResponse.ts +11 -11
  19. package/src/account/dtos/BankAccountPocketTransferRequest.ts +9 -9
  20. package/src/account/dtos/BankAccountPocketTransferResponse.ts +9 -9
  21. package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
  22. package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
  23. package/src/account/dtos/CreateBankAccountUserRequest.ts +20 -20
  24. package/src/account/dtos/CreateBankAccountUserResponse.ts +14 -14
  25. package/src/account/dtos/ExchangeInfo.ts +8 -8
  26. package/src/account/dtos/ExecuteP2pOperationRequest.ts +10 -10
  27. package/src/account/dtos/ExecuteP2pOperationResponse.ts +6 -6
  28. package/src/account/dtos/ExecutePocketOperationRequest.ts +13 -13
  29. package/src/account/dtos/ExecutePocketOperationResponse.ts +7 -7
  30. package/src/account/dtos/GetAccountBalanceResponse.ts +46 -46
  31. package/src/account/dtos/GetAccountResponse.ts +62 -62
  32. package/src/account/dtos/GetAccountResponseList.ts +5 -5
  33. package/src/account/dtos/GetBankAccountRequest.ts +3 -3
  34. package/src/account/dtos/GetBankAccountResponse.ts +22 -22
  35. package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
  36. package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +10 -10
  37. package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
  38. package/src/account/dtos/GetBankAccountUserResponse.ts +27 -27
  39. package/src/account/dtos/GetPocketBalanceResponse.ts +46 -46
  40. package/src/account/dtos/GetPocketResponse.ts +8 -8
  41. package/src/account/dtos/PocketBalanceItem.ts +17 -17
  42. package/src/account/dtos/PocketItem.ts +43 -43
  43. package/src/account/dtos/SPEITransferCreateRequest.ts +42 -42
  44. package/src/account/dtos/SPEITransferResponse.ts +22 -22
  45. package/src/account/dtos/SPEITransferUpdateRequest.ts +43 -43
  46. package/src/account/dtos/UpdateBalanceOperation.ts +10 -10
  47. package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
  48. package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
  49. package/src/account/entities/AccountEntityBase.ts +12 -12
  50. package/src/account/enums/AccountEntityStatusEnum.ts +6 -6
  51. package/src/account/enums/AccountLevelEnum.ts +5 -5
  52. package/src/account/enums/BankAccountP2pTransferType.ts +5 -5
  53. package/src/account/enums/BankAccountTypeEnum.ts +5 -5
  54. package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
  55. package/src/account/enums/CreateBankAccountUserStatusEnum.ts +5 -5
  56. package/src/account/enums/PocketOperationTypeEnum.ts +7 -7
  57. package/src/account/enums/SpeiTransferStatusEnum.ts +10 -10
  58. package/src/account/enums/UserEntityStatusEnum.ts +4 -4
  59. package/src/account/index.ts +55 -55
  60. package/src/accountIssuanceBusiness/enums/Status.ts +12 -12
  61. package/src/accountIssuanceBusiness/index.ts +2 -2
  62. package/src/activity/dtos/ActivityMessageRequest.ts +30 -30
  63. package/src/activity/dtos/ActivityMessageResponse.ts +24 -24
  64. package/src/activity/dtos/ActivityQueueMessage.ts +9 -9
  65. package/src/activity/index.ts +8 -8
  66. package/src/address/dtos/AddressBase.ts +130 -130
  67. package/src/address/dtos/AddressCreateRequest.ts +6 -6
  68. package/src/address/dtos/AddressResponse.ts +41 -41
  69. package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
  70. package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
  71. package/src/address/dtos/Geometry.ts +4 -4
  72. package/src/address/dtos/OfficeDetails.ts +30 -30
  73. package/src/address/dtos/OperationSchedule.ts +8 -8
  74. package/src/address/dtos/Place.ts +83 -83
  75. package/src/address/dtos/Shipping.ts +36 -36
  76. package/src/address/dtos/Timezone.ts +5 -5
  77. package/src/address/enums/AddressProvider.ts +10 -10
  78. package/src/address/enums/AddressStatus.ts +9 -9
  79. package/src/address/index.ts +16 -16
  80. package/src/apiResponse/dtos/FiadoApiResponse.ts +7 -7
  81. package/src/app/enums/App.ts +10 -10
  82. package/src/app/index.ts +3 -3
  83. package/src/appSelectionData/dtos/AppSelectionDataCreateRequest.ts +27 -27
  84. package/src/appSelectionData/index.ts +4 -4
  85. package/src/auth/dtos/ChallengeBackofficeRequest.ts +22 -22
  86. package/src/auth/dtos/ResetPasswordBackofficeRequest.ts +9 -9
  87. package/src/auth/dtos/SignInBackofficeRequest.ts +13 -13
  88. package/src/auth/dtos/SignInBackofficeResponse.ts +6 -6
  89. package/src/auth/dtos/SignUpBackofficeRequest.ts +18 -18
  90. package/src/auth/index.ts +7 -7
  91. package/src/authentication/dtos/ChangePasswordRequest.ts +16 -16
  92. package/src/authentication/dtos/RefreshTokenRequest.ts +12 -12
  93. package/src/authentication/dtos/RespondToAuthChallengeRequest.ts +24 -24
  94. package/src/authentication/dtos/SignInRequest.ts +30 -30
  95. package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
  96. package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
  97. package/src/authentication/dtos/SignUpRequest.ts +21 -21
  98. package/src/authentication/dtos/UserConfirmRequest.ts +13 -13
  99. package/src/authentication/index.ts +14 -14
  100. package/src/bankAccount/dtos/CreateExternalBankAccountRequest.ts +14 -14
  101. package/src/bankAccount/dtos/CreateExternalBankAccountResponse.ts +5 -5
  102. package/src/bankAccount/dtos/ExternalAccountCurrency.ts +3 -3
  103. package/src/bankAccount/dtos/GetExternalBankAccountRequest.ts +11 -11
  104. package/src/bankAccount/dtos/GetExternalBankAccountResponse.ts +14 -14
  105. package/src/bankAccount/dtos/GetExternalBankResponse.ts +13 -13
  106. package/src/bankAccount/enums/ExternalAccountOwnershipEnum.ts +3 -3
  107. package/src/bankAccount/enums/ExternalAccountStatusEnum.ts +6 -6
  108. package/src/bankAccount/enums/ExternalAccountTypeEnum.ts +5 -5
  109. package/src/bankAccount/index.ts +9 -9
  110. package/src/bbvaRst/dtos/CreateRSTTransactionRequest.ts +14 -14
  111. package/src/bbvaRst/dtos/CreateRSTTransactionResponse.ts +9 -9
  112. package/src/bbvaRst/enums/RSTStatusEnum.ts +4 -4
  113. package/src/bbvaRst/index.ts +2 -2
  114. package/src/beneficiary/dtos/AccountBeneficiaryCreateRequest.ts +56 -56
  115. package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +26 -26
  116. package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +42 -42
  117. package/src/beneficiary/enums/AccountType.ts +6 -6
  118. package/src/beneficiary/index.ts +7 -7
  119. package/src/blacklist/dtos/CreateBlockedPersonRequest.ts +32 -32
  120. package/src/blacklist/dtos/GetBlockedPersonsResponse.ts +84 -84
  121. package/src/blacklist/dtos/UpdateBlockedPersonRequest.ts +42 -42
  122. package/src/blacklist/enums/IdentificationParameter.ts +5 -5
  123. package/src/blacklist/index.ts +7 -7
  124. package/src/card/dtos/AccountCancelGetResponse.ts +25 -25
  125. package/src/card/dtos/AccountIssuanceStepConfig.ts +13 -13
  126. package/src/card/dtos/CardActivateRequest.ts +12 -12
  127. package/src/card/dtos/CardAdditionalRequest.ts +25 -25
  128. package/src/card/dtos/CardAdditionalResponse.ts +14 -14
  129. package/src/card/dtos/CardApplicationRequest.ts +35 -35
  130. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  131. package/src/card/dtos/CardCreateAdditionalRequest.ts +82 -82
  132. package/src/card/dtos/CardResponse.ts +34 -34
  133. package/src/card/dtos/CardSensitiveInformationResponse.ts +23 -23
  134. package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
  135. package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
  136. package/src/card/dtos/CardSummaryResponse.ts +10 -10
  137. package/src/card/dtos/CardUpdateIssuanceRequest.ts +20 -20
  138. package/src/card/dtos/CardUpdateRequest.ts +23 -23
  139. package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +11 -11
  140. package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
  141. package/src/card/dtos/Internal/AssignCardRequest.ts +8 -8
  142. package/src/card/dtos/Internal/BatchBeneficiary.ts +6 -6
  143. package/src/card/dtos/Internal/BatchCardAttributes.ts +9 -9
  144. package/src/card/dtos/Internal/BatchCardInitialLoad.ts +3 -3
  145. package/src/card/dtos/Internal/BatchPointOfContact.ts +4 -4
  146. package/src/card/dtos/Internal/BatchShippingAddress.ts +7 -7
  147. package/src/card/dtos/Internal/CardBatchRequest.ts +13 -13
  148. package/src/card/dtos/Internal/CardBatchResponse.ts +19 -19
  149. package/src/card/dtos/Internal/CardIssuanceObservationUpdateRequest.ts +14 -14
  150. package/src/card/dtos/Internal/CardStatementListResponse.ts +6 -6
  151. package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
  152. package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
  153. package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +14 -14
  154. package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
  155. package/src/card/dtos/Internal/GetBankAccountCardBalanceResponse.ts +12 -12
  156. package/src/card/dtos/Internal/GetBankAccountCardResponse.ts +34 -34
  157. package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
  158. package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
  159. package/src/card/dtos/Internal/ReplaceBankAccountCardRequest.ts +9 -9
  160. package/src/card/dtos/Internal/ReplaceBankAccountCardResponse.ts +3 -3
  161. package/src/card/dtos/Internal/StatementDocumentResponse.ts +2 -2
  162. package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +24 -24
  163. package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +7 -7
  164. package/src/card/enums/AccountCancellationStatus.ts +7 -7
  165. package/src/card/enums/Brand.ts +7 -7
  166. package/src/card/enums/CardIssuanceStatus.ts +5 -5
  167. package/src/card/enums/CardIssuing.ts +6 -6
  168. package/src/card/enums/CardReasonStatus.ts +8 -8
  169. package/src/card/enums/CardType.ts +4 -4
  170. package/src/card/enums/CardUpdateKey.ts +4 -4
  171. package/src/card/enums/CreditOrDebit.ts +5 -5
  172. package/src/card/enums/DeliveryChannel.ts +7 -7
  173. package/src/card/enums/ExternalShippingStatus.ts +14 -14
  174. package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
  175. package/src/card/enums/IssuanceType.ts +5 -5
  176. package/src/card/enums/NominatedOrInnominated.ts +8 -8
  177. package/src/card/enums/OwnershipType.ts +3 -3
  178. package/src/card/enums/Program.ts +6 -6
  179. package/src/card/enums/ReplaceBankAccountCardReasonEnum.ts +7 -7
  180. package/src/card/enums/ShippingStatus.ts +8 -8
  181. package/src/card/enums/Status.ts +6 -6
  182. package/src/card/enums/UpdateKey.ts +5 -5
  183. package/src/card/enums/VirtualOrPhysical.ts +6 -6
  184. package/src/card/enums/issuance/IssuanceFlow.ts +8 -8
  185. package/src/card/enums/issuance/KycStatus.ts +13 -13
  186. package/src/card/enums/issuance/ObservationStatus.ts +6 -6
  187. package/src/card/enums/issuance/ObservationStep.ts +22 -22
  188. package/src/card/enums/issuance/UserStatus.ts +7 -7
  189. package/src/card/index.ts +75 -75
  190. package/src/card/validations/CardUpdateKeyConstraint.ts +71 -71
  191. package/src/card/validations/IsPhoneNumberConstraint.ts +29 -29
  192. package/src/centralPayments/dtos/AchTransactionRequest.ts +8 -8
  193. package/src/centralPayments/dtos/AchTransactionResponse.ts +9 -9
  194. package/src/centralPayments/dtos/HealthcheckResponse.ts +8 -8
  195. package/src/centralPayments/dtos/OOWAnswer.ts +3 -3
  196. package/src/centralPayments/dtos/OOWQuestionsResponse.ts +6 -6
  197. package/src/centralPayments/dtos/SubmitOOWQuestionAnswersRequest.ts +3 -3
  198. package/src/centralPayments/enums/ServiceStatusEnum.ts +4 -4
  199. package/src/centralPayments/index.ts +9 -9
  200. package/src/cognitoConnector/dtos/ChangePasswordRequest.ts +20 -20
  201. package/src/cognitoConnector/dtos/GetUserRequest.ts +12 -12
  202. package/src/cognitoConnector/dtos/GetUserResponse.ts +9 -9
  203. package/src/cognitoConnector/dtos/RefreshTokenRequest.ts +14 -14
  204. package/src/cognitoConnector/dtos/RefreshTokenResponse.ts +6 -6
  205. package/src/cognitoConnector/dtos/RespondToAuthChallengeRequest.ts +25 -25
  206. package/src/cognitoConnector/dtos/SetPasswordRequest.ts +19 -19
  207. package/src/cognitoConnector/dtos/SignInRequest.ts +20 -20
  208. package/src/cognitoConnector/dtos/SignInResponse.ts +11 -11
  209. package/src/cognitoConnector/dtos/SignUpConfirmRequest.ts +17 -17
  210. package/src/cognitoConnector/dtos/SignUpRequest.ts +22 -22
  211. package/src/cognitoConnector/dtos/SignUpResponse.ts +8 -8
  212. package/src/cognitoConnector/enums/SyncStatus.ts +6 -6
  213. package/src/cognitoConnector/index.ts +24 -24
  214. package/src/collector/dtos/CollectionOrderItem.ts +70 -70
  215. package/src/collector/dtos/CreateCollectionOrderRequest.ts +17 -17
  216. package/src/collector/enums/CollectionType.ts +4 -4
  217. package/src/collector/enums/CollectorOrderStatus.ts +20 -20
  218. package/src/collector/index.ts +5 -5
  219. package/src/company/enums/Company.ts +7 -7
  220. package/src/company/index.ts +6 -6
  221. package/src/contactInfo/dtos/ContactInfoBackOfficeResponse.ts +9 -9
  222. package/src/contactInfo/dtos/ContactInfoCreateBackOfficeRequest.ts +10 -10
  223. package/src/contactInfo/dtos/ContactInfoCreateRequest.ts +2 -2
  224. package/src/contactInfo/dtos/ContactInfoRequest.ts +29 -29
  225. package/src/contactInfo/dtos/ContactInfoResponse.ts +30 -30
  226. package/src/contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.ts +15 -15
  227. package/src/contactInfo/dtos/ContactInfoUpdateRequest.ts +4 -4
  228. package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
  229. package/src/contactInfo/index.ts +7 -7
  230. package/src/contract/dtos/ContractCreateRequest.ts +29 -29
  231. package/src/contract/dtos/ContractCreateResponse.ts +2 -2
  232. package/src/contract/index.ts +4 -4
  233. package/src/country/dtos/CreateCountryRequest.ts +65 -65
  234. package/src/country/dtos/UpdateCountryRequest.ts +65 -65
  235. package/src/country/enums/CountriesISO3.ts +220 -220
  236. package/src/country/enums/Country.ts +6 -6
  237. package/src/country/enums/CountryISO2ToISO3.ts +69 -69
  238. package/src/country/enums/CountryISO3ToISO2.ts +61 -61
  239. package/src/country/enums/CountryId.ts +6 -6
  240. package/src/country/index.ts +13 -13
  241. package/src/country/utilities/CountryCodeConverter.ts +13 -13
  242. package/src/creditContract/dtos/CreditContractCreateRequest.ts +62 -62
  243. package/src/creditContract/enums/InstrumentEnum.ts +5 -5
  244. package/src/creditContract/index.ts +5 -5
  245. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  246. package/src/currency/index.ts +2 -2
  247. package/src/device/dtos/RegisterDeviceRequest.ts +20 -20
  248. package/src/device/dtos/ReplaceDeviceRequest.ts +23 -23
  249. package/src/device/enums/DeviceStatusEnum.ts +4 -4
  250. package/src/device/enums/DeviceTypeEnum.ts +4 -4
  251. package/src/device/index.ts +7 -7
  252. package/src/directory/dtos/DirectoryBackoffice.ts +16 -16
  253. package/src/directory/dtos/DirectoryBackofficeCreateRequest.ts +22 -22
  254. package/src/directory/dtos/DirectoryBackofficeResponse.ts +17 -17
  255. package/src/directory/dtos/DirectoryBackofficeUpdateRequest.ts +34 -34
  256. package/src/directory/dtos/DirectoryResponse.ts +19 -19
  257. package/src/directory/dtos/External.ts +6 -6
  258. package/src/directory/enums/DirectoryBackofficeStatusEnum.ts +4 -4
  259. package/src/directory/enums/Profile.ts +6 -6
  260. package/src/directory/enums/Scope.ts +7 -7
  261. package/src/directory/enums/Status.ts +9 -9
  262. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  263. package/src/directory/index.ts +13 -13
  264. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  265. package/src/eventBridge/index.ts +1 -1
  266. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  267. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  268. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  269. package/src/exchangeRate/dtos/GetExchangeRatesRequest.ts +3 -3
  270. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  271. package/src/exchangeRate/index.ts +9 -9
  272. package/src/fraudPreventionEngine/dtos/CreateAccountLevelRequest.ts +9 -9
  273. package/src/fraudPreventionEngine/dtos/GetAccountLevelParams.ts +5 -5
  274. package/src/fraudPreventionEngine/dtos/GetAccountLevelResponse.ts +7 -7
  275. package/src/fraudPreventionEngine/enums/AccountLevelTenantEnum.ts +5 -5
  276. package/src/fraudPreventionEngine/index.ts +5 -5
  277. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  278. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  279. package/src/genericMessage/index.ts +1 -1
  280. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  281. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  282. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  283. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  284. package/src/group/dtos/GroupResponse.ts +17 -17
  285. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  286. package/src/group/enums/GroupAction.ts +8 -8
  287. package/src/group/enums/GroupStatus.ts +6 -6
  288. package/src/group/enums/RelationStatus.ts +8 -8
  289. package/src/group/enums/RelationType.ts +9 -9
  290. package/src/group/index.ts +18 -18
  291. package/src/header/TokenPayload.ts +18 -18
  292. package/src/header/index.ts +3 -3
  293. package/src/helpdesk/dtos/HelpdeskCreateTicketRequest.ts +30 -30
  294. package/src/helpdesk/dtos/HelpdeskCreateUserRequest.ts +39 -39
  295. package/src/helpdesk/index.ts +1 -1
  296. package/src/helpers/ValidationUtils.ts +32 -32
  297. package/src/helpers/constans/regex.ts +12 -12
  298. package/src/identity/dtos/IdentificationDocument.ts +23 -23
  299. package/src/identity/dtos/PeopleCreateRequest.ts +28 -28
  300. package/src/identity/dtos/PeopleResponse.ts +105 -105
  301. package/src/identity/dtos/PeopleUpdateRequest.ts +96 -96
  302. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  303. package/src/identity/dtos/UploadDocumentFile.ts +6 -6
  304. package/src/identity/dtos/UploadDocumentRequest.ts +9 -9
  305. package/src/identity/enums/AccountRequirementStatusEnum.ts +4 -4
  306. package/src/identity/enums/AuthorizationNeededMXNStatus.ts +11 -11
  307. package/src/identity/enums/CPStatusEnum.ts +12 -12
  308. package/src/identity/enums/DocumentSideEnum.ts +3 -3
  309. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  310. package/src/identity/enums/InfoSelfVerifiedStatus.ts +9 -9
  311. package/src/identity/enums/SexDocument.ts +6 -6
  312. package/src/identity/enums/TypeOfDocument.ts +5 -5
  313. package/src/identity/index.ts +19 -19
  314. package/src/index.ts +50 -50
  315. package/src/issuanceBusiness/dtos/BaseIssuanceRequirement.ts +195 -195
  316. package/src/issuanceBusiness/dtos/IssuanceRequirementCreateRequest.ts +13 -13
  317. package/src/issuanceBusiness/dtos/IssuanceRequirementResponse.ts +13 -13
  318. package/src/issuanceBusiness/dtos/IssuanceRequirementUpdateRequest.ts +5 -5
  319. package/src/issuanceBusiness/enums/IssuanceStatus.ts +7 -7
  320. package/src/issuanceBusiness/index.ts +8 -8
  321. package/src/legal-documents-business/dtos/DirectoryAcceptanceRequest.ts +6 -6
  322. package/src/legal-documents-business/dtos/LegalDocumentCreateRequest.ts +25 -25
  323. package/src/legal-documents-business/dtos/LegalDocumentResponse.ts +11 -11
  324. package/src/legal-documents-business/dtos/UpdateLegalDocumentRequest.ts +34 -34
  325. package/src/legal-documents-business/index.ts +6 -6
  326. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  327. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  328. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  329. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  330. package/src/notificationMessages/index.ts +5 -5
  331. package/src/observations/dtos/ObservationCreateRequest.ts +19 -19
  332. package/src/observations/index.ts +2 -2
  333. package/src/p2pContact/dtos/CreateP2pContactRequest.ts +8 -8
  334. package/src/pricelist/dtos/DiscountCreateRequest.ts +40 -40
  335. package/src/pricelist/dtos/DiscountResponse.ts +16 -16
  336. package/src/pricelist/dtos/GetDiscountByServiceIdAndDirectoriesResponse.ts +31 -31
  337. package/src/pricelist/dtos/GetDiscountListResponse.ts +5 -5
  338. package/src/pricelist/dtos/GetPricelistListResponse.ts +5 -5
  339. package/src/pricelist/dtos/PricelistCreateRequest.ts +19 -19
  340. package/src/pricelist/dtos/PricelistResponse.ts +9 -9
  341. package/src/pricelist/enums/DiscountTypeEnum.ts +3 -3
  342. package/src/pricelist/index.ts +11 -11
  343. package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
  344. package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
  345. package/src/productCatalog/enums/ProductSubtypeEnum.ts +66 -66
  346. package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
  347. package/src/productCatalog/enums/ProductTypeEnum.ts +9 -9
  348. package/src/productCatalog/index.ts +5 -5
  349. package/src/provider/dtos/ProviderDocumentImages.ts +6 -6
  350. package/src/provider/dtos/ProviderDocumentUploadRequest.ts +6 -6
  351. package/src/provider/dtos/ProviderDocumentUploadResponse.ts +11 -11
  352. package/src/provider/dtos/UploadDocumentStatusDetail.ts +10 -10
  353. package/src/provider/enums/Provider.ts +7 -7
  354. package/src/provider/enums/ProviderCode.ts +7 -7
  355. package/src/provider/enums/UploadDocumentStatusEnum.ts +3 -3
  356. package/src/provider/index.ts +9 -9
  357. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  358. package/src/riskProfile/dtos/AlarmCategory.ts +2 -2
  359. package/src/riskProfile/dtos/AnswerQuestionnaireQuestionRequest.ts +5 -5
  360. package/src/riskProfile/dtos/CreateBackofficeAlarm.ts +14 -14
  361. package/src/riskProfile/dtos/CreatePrivateAlarm.ts +38 -38
  362. package/src/riskProfile/dtos/CreateRiskProfileRequest.ts +45 -45
  363. package/src/riskProfile/dtos/GetUserQuestionnaireResponse.ts +12 -12
  364. package/src/riskProfile/dtos/TransactionAlarmQueueMessage.ts +48 -48
  365. package/src/riskProfile/dtos/TransactionAlertResponse.ts +50 -50
  366. package/src/riskProfile/dtos/UpdateAlarmProfileRequest.ts +9 -9
  367. package/src/riskProfile/dtos/UpdateFactorInfo.ts +5 -5
  368. package/src/riskProfile/dtos/UpdateRiskProfileRequest.ts +5 -5
  369. package/src/riskProfile/dtos/UpdateTransactionAlertRequest.ts +42 -42
  370. package/src/riskProfile/dtos/UserQuestionnaireQuestion.ts +8 -8
  371. package/src/riskProfile/enums/AlarmCategory.ts +11 -11
  372. package/src/riskProfile/enums/AlarmName.ts +21 -21
  373. package/src/riskProfile/enums/AlarmOperationType.ts +10 -10
  374. package/src/riskProfile/enums/AlarmPriority.ts +7 -7
  375. package/src/riskProfile/enums/AlarmType.ts +7 -7
  376. package/src/riskProfile/enums/PepLevelEnum.ts +6 -6
  377. package/src/riskProfile/enums/RiskFactorCategoryEnum.ts +14 -14
  378. package/src/riskProfile/enums/UserQuestionnaireQuestionAnswerEnum.ts +3 -3
  379. package/src/riskProfile/enums/UserQuestionnaireQuestionStatusEnum.ts +3 -3
  380. package/src/riskProfile/enums/UserQuestionnaireStatusEnum.ts +3 -3
  381. package/src/riskProfile/index.ts +24 -24
  382. package/src/role/dtos/PermissionCreateRequest.ts +32 -32
  383. package/src/role/dtos/PermissionResponse.ts +13 -13
  384. package/src/role/dtos/PermissionUpdateRequest.ts +40 -40
  385. package/src/role/dtos/RoleAssignRequest.ts +14 -14
  386. package/src/role/dtos/RoleCreateRequest.ts +18 -18
  387. package/src/role/dtos/RoleResponse.ts +9 -9
  388. package/src/role/dtos/RoleUpdateRequest.ts +22 -22
  389. package/src/role/dtos/UserRoleResponse.ts +9 -9
  390. package/src/role/index.ts +9 -9
  391. package/src/servicePayment/dtos/GetCatalogParams.ts +5 -5
  392. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  393. package/src/servicePayment/index.ts +1 -1
  394. package/src/services/dtos/CreateServiceRequest.ts +50 -50
  395. package/src/services/dtos/GetServiceListAppResponse.ts +5 -5
  396. package/src/services/dtos/GetServiceListResponse.ts +6 -6
  397. package/src/services/dtos/GetServiceMembershipListAppResponse.ts +4 -4
  398. package/src/services/dtos/GetServiceMembershipListResponse.ts +5 -5
  399. package/src/services/dtos/RegisterServiceMembershipRequest.ts +19 -19
  400. package/src/services/dtos/ServiceMembershipResponse.ts +16 -16
  401. package/src/services/dtos/ServiceResponse.ts +23 -23
  402. package/src/services/dtos/UpdateServiceMembershipRequest.ts +25 -25
  403. package/src/services/dtos/UpdateServiceRequest.ts +49 -49
  404. package/src/services/enums/ServiceCompanyEnum.ts +4 -4
  405. package/src/services/enums/ServiceFlowEnum.ts +3 -3
  406. package/src/services/enums/ServiceMembershipStatusEnum.ts +6 -6
  407. package/src/services/enums/ServiceRecurrenceEnum.ts +6 -6
  408. package/src/services/enums/ServiceStatusEnum.ts +4 -4
  409. package/src/services/enums/ServiceTypeEnum.ts +3 -3
  410. package/src/services/index.ts +24 -24
  411. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +14 -14
  412. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  413. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  414. package/src/sessionActivity/index.ts +2 -2
  415. package/src/stpAccount/dtos/CreateAccountWebhookDetail.ts +5 -5
  416. package/src/stpSpei/dtos/GetBusinessAccountBalanceResponse.ts +4 -4
  417. package/src/stpSpei/dtos/PutStpOrderRequest.ts +16 -16
  418. package/src/stpSpei/dtos/SpeiWebhookMessage.ts +10 -10
  419. package/src/stpSpei/enums/ActividadesProductivasEnum.ts +47 -47
  420. package/src/stpSpei/enums/BusinessNameEnum.ts +3 -3
  421. package/src/stpSpei/enums/EntidadesFederativasEnum.ts +33 -33
  422. package/src/stpSpei/enums/PaisesEnum.ts +275 -275
  423. package/src/stpSpei/enums/WebhookMessageStatusEnum.ts +7 -7
  424. package/src/stpSpei/index.ts +9 -9
  425. package/src/transaction/dtos/ActivityProblemGetResponse.ts +22 -22
  426. package/src/transaction/dtos/Credit.ts +24 -24
  427. package/src/transaction/dtos/Debit.ts +20 -20
  428. package/src/transaction/dtos/Notional.ts +20 -20
  429. package/src/transaction/dtos/Product.ts +26 -26
  430. package/src/transaction/dtos/ProductDetail.ts +51 -51
  431. package/src/transaction/dtos/Total.ts +20 -20
  432. package/src/transaction/dtos/TransactionCreateRequest.ts +143 -143
  433. package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
  434. package/src/transaction/dtos/TransactionGetDetailResponse.ts +27 -27
  435. package/src/transaction/dtos/TransactionGetResponse.ts +20 -20
  436. package/src/transaction/dtos/internal/BaseProviderTransaction.ts +20 -18
  437. package/src/transaction/dtos/internal/BaseProviderTransactionQueryParams.ts +6 -6
  438. package/src/transaction/dtos/internal/CentralPaymentsQueryParams.ts +6 -6
  439. package/src/transaction/dtos/internal/CentralPaymentsTransactionItem.ts +36 -36
  440. package/src/transaction/dtos/internal/ProviderTransactionMerchant.ts +10 -10
  441. package/src/transaction/dtos/internal/ProviderTransactionPagination.ts +5 -5
  442. package/src/transaction/dtos/internal/ProviderTransactionReversalRequest.ts +3 -3
  443. package/src/transaction/dtos/internal/ProviderTransactionReversalResponse.ts +5 -5
  444. package/src/transaction/dtos/internal/TernQueryParams.ts +13 -13
  445. package/src/transaction/dtos/internal/TernTransactionItem.ts +23 -23
  446. package/src/transaction/dtos/internal/TransactionListResponse.ts +5 -5
  447. package/src/transaction/enums/ActivityProblemStatusEnum.ts +4 -4
  448. package/src/transaction/enums/DisputeOrFraudEnum.ts +3 -3
  449. package/src/transaction/enums/DisputeOrFraudStatusEnum.ts +4 -4
  450. package/src/transaction/enums/OperationEnum.ts +3 -3
  451. package/src/transaction/enums/TransactionSourceEnum.ts +7 -7
  452. package/src/transaction/enums/TransactionStatusEnum.ts +11 -11
  453. package/src/transaction/index.ts +33 -33
  454. package/src/transactionProcessor/dtos/AmountInfo.ts +6 -6
  455. package/src/transactionProcessor/dtos/AmountInfoItem.ts +3 -3
  456. package/src/transactionProcessor/dtos/AuthorizeAdjustmentTransactionRequest.ts +14 -14
  457. package/src/transactionProcessor/dtos/AuthorizeCollectorTransactionRequest.ts +9 -9
  458. package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +19 -19
  459. package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +16 -16
  460. package/src/transactionProcessor/dtos/AuthorizeDisputeTransactionRequest.ts +13 -13
  461. package/src/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.ts +11 -11
  462. package/src/transactionProcessor/dtos/AuthorizePocketTransactionRequest.ts +8 -8
  463. package/src/transactionProcessor/dtos/AuthorizeRstTransactionRequest.ts +4 -4
  464. package/src/transactionProcessor/dtos/AuthorizeServicePaymentRequest.ts +7 -7
  465. package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferNcRequest.ts +14 -14
  466. package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.ts +7 -7
  467. package/src/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferInRequest.ts +37 -37
  468. package/src/transactionProcessor/dtos/AuthorizeUsdAchTransactionRequest.ts +6 -6
  469. package/src/transactionProcessor/dtos/BankInfo.ts +9 -9
  470. package/src/transactionProcessor/dtos/CardInfo.ts +5 -5
  471. package/src/transactionProcessor/dtos/EventTransactionInfo.ts +22 -22
  472. package/src/transactionProcessor/dtos/EventTransactionRequest.ts +19 -19
  473. package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
  474. package/src/transactionProcessor/dtos/MerchantInfo.ts +6 -6
  475. package/src/transactionProcessor/dtos/ProcessUpdateLevelRequest.ts +3 -3
  476. package/src/transactionProcessor/dtos/RSTTransactionStatusUpdate.ts +6 -6
  477. package/src/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.ts +6 -6
  478. package/src/transactionProcessor/dtos/TransactionInfo.ts +7 -7
  479. package/src/transactionProcessor/dtos/TransactionProcessorQueueMessage.ts +3 -3
  480. package/src/transactionProcessor/dtos/TransactionProcessorResponse.ts +13 -13
  481. package/src/transactionProcessor/enums/AppEnum.ts +3 -3
  482. package/src/transactionProcessor/enums/AsyncTxStatusEnum.ts +5 -5
  483. package/src/transactionProcessor/enums/EventChannelEnum.ts +12 -12
  484. package/src/transactionProcessor/enums/EventTypeEnum.ts +16 -16
  485. package/src/transactionProcessor/enums/TransactionInfoStatusEnum.ts +7 -7
  486. package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +20 -20
  487. package/src/transactionProcessor/index.ts +34 -34
  488. package/bin/account/dtos/AccountResponse.d.ts +0 -21
  489. package/bin/account/dtos/AccountResponse.js +0 -6
  490. package/bin/account/dtos/CreateBankAccountInput.d.ts +0 -8
  491. package/bin/account/dtos/CreateBankAccountInput.js +0 -6
  492. package/bin/account/dtos/CreateBankAccountUserInput.d.ts +0 -14
  493. package/bin/account/dtos/CreateBankAccountUserInput.js +0 -6
  494. package/bin/account/dtos/PocketCreateRequest.d.ts +0 -4
  495. package/bin/account/dtos/PocketCreateRequest.js +0 -31
  496. package/bin/account/dtos/PocketCreateResponse.d.ts +0 -2
  497. package/bin/account/dtos/PocketCreateResponse.js +0 -6
  498. package/bin/account/enums/AccountStatus.d.ts +0 -5
  499. package/bin/account/enums/AccountStatus.js +0 -9
  500. package/bin/card/dtos/CardCreateRequest.d.ts +0 -34
  501. package/bin/card/dtos/CardCreateRequest.js +0 -176
  502. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
  503. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
  504. package/bin/legal-documents-business/enums/LegalDocumentType.d.ts +0 -8
  505. package/bin/legal-documents-business/enums/LegalDocumentType.js +0 -12
  506. package/bin/membership/dtos/CreateMembershipDirectoryUserRequest.d.ts +0 -12
  507. package/bin/membership/dtos/CreateMembershipDirectoryUserRequest.js +0 -54
  508. package/bin/membership/dtos/CreateMembershipRequest.d.ts +0 -14
  509. package/bin/membership/dtos/CreateMembershipRequest.js +0 -56
  510. package/bin/membership/dtos/GetMembershipDirectoryUserListAppResponse.d.ts +0 -14
  511. package/bin/membership/dtos/GetMembershipDirectoryUserListAppResponse.js +0 -6
  512. package/bin/membership/dtos/GetMembershipDirectoryUserListResponse.d.ts +0 -21
  513. package/bin/membership/dtos/GetMembershipDirectoryUserListResponse.js +0 -6
  514. package/bin/membership/dtos/GetMembershipListAppResponse.d.ts +0 -10
  515. package/bin/membership/dtos/GetMembershipListAppResponse.js +0 -6
  516. package/bin/membership/dtos/GetMembershipListResponse.d.ts +0 -20
  517. package/bin/membership/dtos/GetMembershipListResponse.js +0 -6
  518. package/bin/membership/dtos/RegisterMembershipDirectoryUserRequest.d.ts +0 -4
  519. package/bin/membership/dtos/RegisterMembershipDirectoryUserRequest.js +0 -26
  520. package/bin/membership/dtos/UpdateMembershipDirectoryUserRequest.d.ts +0 -12
  521. package/bin/membership/dtos/UpdateMembershipDirectoryUserRequest.js +0 -54
  522. package/bin/membership/dtos/UpdateMembershipRequest.d.ts +0 -14
  523. package/bin/membership/dtos/UpdateMembershipRequest.js +0 -56
  524. package/bin/membership/enums/MembershipDirectoryStatusEnum.d.ts +0 -6
  525. package/bin/membership/enums/MembershipDirectoryStatusEnum.js +0 -10
  526. package/bin/membership/enums/MembershipFlowEnum.d.ts +0 -3
  527. package/bin/membership/enums/MembershipFlowEnum.js +0 -7
  528. package/bin/membership/enums/MembershipProviderEnum.d.ts +0 -5
  529. package/bin/membership/enums/MembershipProviderEnum.js +0 -9
  530. package/bin/membership/enums/MembershipStatusEnum.d.ts +0 -4
  531. package/bin/membership/enums/MembershipStatusEnum.js +0 -8
  532. package/bin/membership/enums/MembershipTypeEnum.d.ts +0 -3
  533. package/bin/membership/enums/MembershipTypeEnum.js +0 -7
  534. package/bin/membership/index.d.ts +0 -14
  535. package/bin/membership/index.js +0 -32
  536. package/bin/pomelo/dtos/PomeloCreateUserRequest.d.ts +0 -28
  537. package/bin/pomelo/dtos/PomeloCreateUserRequest.js +0 -2
  538. package/bin/pomelo/dtos/PomeloCreateUserResponse.d.ts +0 -35
  539. package/bin/pomelo/dtos/PomeloCreateUserResponse.js +0 -2
  540. package/bin/pomelo/enums/CountryEnum.d.ts +0 -8
  541. package/bin/pomelo/enums/CountryEnum.js +0 -12
  542. package/bin/pomelo/enums/IdentificationTypeEnum.d.ts +0 -7
  543. package/bin/pomelo/enums/IdentificationTypeEnum.js +0 -11
  544. package/bin/pomelo/enums/SexEnum.d.ts +0 -4
  545. package/bin/pomelo/enums/SexEnum.js +0 -8
  546. package/bin/pomelo/enums/TaxTypeEnum.d.ts +0 -7
  547. package/bin/pomelo/enums/TaxTypeEnum.js +0 -11
  548. package/bin/pomelo/enums/UserStatusEnum.d.ts +0 -4
  549. package/bin/pomelo/enums/UserStatusEnum.js +0 -8
  550. package/bin/pomelo/index.d.ts +0 -7
  551. package/bin/pomelo/index.js +0 -25
  552. package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.d.ts +0 -20
  553. package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.js +0 -6
  554. package/bin/productCatalog/dtos/GetProductCatalogRequest.d.ts +0 -3
  555. package/bin/productCatalog/dtos/GetProductCatalogRequest.js +0 -19
  556. package/bin/role/dtos/DirectoryBackoffice.d.ts +0 -15
  557. package/bin/role/dtos/DirectoryBackoffice.js +0 -6
  558. package/bin/role/enums/DirectoryBackofficeStatusEnum.d.ts +0 -4
  559. package/bin/role/enums/DirectoryBackofficeStatusEnum.js +0 -8
  560. package/bin/tern/dtos/TernAddress.d.ts +0 -8
  561. package/bin/tern/dtos/TernAddress.js +0 -40
  562. package/bin/tern/dtos/TernCreateAccountRequest.d.ts +0 -7
  563. package/bin/tern/dtos/TernCreateAccountRequest.js +0 -33
  564. package/bin/tern/dtos/TernCreateAccountResponse.d.ts +0 -5
  565. package/bin/tern/dtos/TernCreateAccountResponse.js +0 -25
  566. package/bin/tern/dtos/TernCreateUserRequest.d.ts +0 -15
  567. package/bin/tern/dtos/TernCreateUserRequest.js +0 -70
  568. package/bin/tern/dtos/TernCreateUserResponse.d.ts +0 -8
  569. package/bin/tern/dtos/TernCreateUserResponse.js +0 -37
  570. package/bin/tern/dtos/TernGetAccountRequest.d.ts +0 -5
  571. package/bin/tern/dtos/TernGetAccountRequest.js +0 -25
  572. package/bin/tern/dtos/TernGetAccountResponse.d.ts +0 -22
  573. package/bin/tern/dtos/TernGetAccountResponse.js +0 -87
  574. package/bin/tern/dtos/TernGetUserRequest.d.ts +0 -3
  575. package/bin/tern/dtos/TernGetUserRequest.js +0 -20
  576. package/bin/tern/dtos/TernGetUserResponse.d.ts +0 -24
  577. package/bin/tern/dtos/TernGetUserResponse.js +0 -96
  578. package/bin/tern/enums/TernAccountStatusEnum.d.ts +0 -4
  579. package/bin/tern/enums/TernAccountStatusEnum.js +0 -8
  580. package/bin/tern/enums/TernAccountTypeEnum.d.ts +0 -5
  581. package/bin/tern/enums/TernAccountTypeEnum.js +0 -9
  582. package/bin/tern/index.d.ts +0 -11
  583. package/bin/tern/index.js +0 -29
  584. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
  585. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
  586. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
  587. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
  588. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.d.ts +0 -6
  589. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.js +0 -6
  590. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.d.ts +0 -4
  591. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.js +0 -6
  592. package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.d.ts +0 -6
  593. package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.js +0 -6
  594. package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.d.ts +0 -7
  595. package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.js +0 -6
  596. package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.d.ts +0 -8
  597. package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.js +0 -6
  598. package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.d.ts +0 -16
  599. package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.js +0 -6
@@ -1,131 +1,131 @@
1
-
2
-
3
-
4
- import { IsBoolean, IsEnum, IsNumber, IsOptional, IsString, Length, Matches, ValidateNested } from 'class-validator';
5
- import { TypeOfDirectoryId } from "../../directory/enums/TypeOfDirectoryId";
6
- import { AddressProvider } from "../enums/AddressProvider";
7
- import { AddressStatus } from "../enums/AddressStatus";
8
- import { Place } from "./Place";
9
- import { CountryId } from '../../country/enums/CountryId';
10
- import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
11
-
12
- export class AddressBase {
13
-
14
- @IsOptional()
15
- @IsString()
16
- @Matches(regexUuidV4,
17
- {
18
- message: 'id must be a valid UUID v4',
19
- })
20
- id?: string;
21
-
22
- @IsNumber()
23
- @IsOptional()
24
- distance?: number;
25
-
26
- @IsEnum(TypeOfDirectoryId)
27
- createdBy: TypeOfDirectoryId;
28
-
29
- @IsString()
30
- @Matches(regexUuidV4,
31
- {
32
- message: 'directoryId must be a valid UUID v4',
33
- })
34
- directoryId: string;
35
-
36
- @IsBoolean()
37
- isPrincipal: boolean;
38
-
39
- @IsOptional()
40
- @IsString()
41
- @Length(1, 100)
42
- tag?: string;
43
-
44
- @IsString()
45
- @Length(1, 100)
46
- tenantId: string;
47
-
48
- @IsString()
49
- typeOfAddressId: string;
50
-
51
- @IsEnum(TypeOfDirectoryId)
52
- typeOfDirectoryId: TypeOfDirectoryId;
53
-
54
- @IsEnum(AddressProvider)
55
- provider: AddressProvider;
56
-
57
- @ValidateNested()
58
- place: Place;
59
-
60
- @IsString()
61
- @Matches(regexIso8601,
62
- {
63
- message: 'validFrom must be a valid ISO 8601 date string',
64
- })
65
- validFrom: string;
66
-
67
- @IsOptional()
68
- @IsString()
69
- @Matches(regexIso8601,
70
- {
71
- message: 'validUntil must be a valid ISO 8601 date string',
72
- })
73
- validUntil?: string;
74
-
75
- @IsEnum(AddressStatus)
76
- addressStatus: AddressStatus;
77
-
78
- @IsOptional()
79
- @IsString()
80
- @Length(1, 200)
81
- additionalInformation?: string;
82
-
83
- @IsBoolean()
84
- helpNeeded: boolean;
85
-
86
- @IsOptional()
87
- @IsString()
88
- @Length(1, 10)
89
- internalNumber?: string;
90
-
91
- @IsEnum(CountryId)
92
- countryId: CountryId;
93
-
94
- @IsString()
95
- @Length(1, 100)
96
- street?: string;
97
-
98
- @IsString()
99
- @Length(1, 10)
100
- addressNumber?: string;
101
-
102
- @IsOptional()
103
- @IsString()
104
- @Length(2, 60)
105
- municipality?: string;
106
-
107
- @IsOptional()
108
- @IsString()
109
- subMunicipality?: string;
110
-
111
- @IsOptional()
112
- @IsString()
113
- @Length(2, 60)
114
- neighborhood?: string;
115
-
116
- @IsOptional()
117
- @IsString()
118
- @Length(2, 60)
119
- subRegion?: string;
120
-
121
- @IsString()
122
- @Length(5, 10)
123
- region?: string;
124
-
125
- @IsString()
126
- @Length(5, 10)
127
- postalCode?: string;
128
-
129
- @IsEnum(CountryId)
130
- country: string;
1
+
2
+
3
+
4
+ import { IsBoolean, IsEnum, IsNumber, IsOptional, IsString, Length, Matches, ValidateNested } from 'class-validator';
5
+ import { TypeOfDirectoryId } from "../../directory/enums/TypeOfDirectoryId";
6
+ import { AddressProvider } from "../enums/AddressProvider";
7
+ import { AddressStatus } from "../enums/AddressStatus";
8
+ import { Place } from "./Place";
9
+ import { CountryId } from '../../country/enums/CountryId';
10
+ import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
11
+
12
+ export class AddressBase {
13
+
14
+ @IsOptional()
15
+ @IsString()
16
+ @Matches(regexUuidV4,
17
+ {
18
+ message: 'id must be a valid UUID v4',
19
+ })
20
+ id?: string;
21
+
22
+ @IsNumber()
23
+ @IsOptional()
24
+ distance?: number;
25
+
26
+ @IsEnum(TypeOfDirectoryId)
27
+ createdBy: TypeOfDirectoryId;
28
+
29
+ @IsString()
30
+ @Matches(regexUuidV4,
31
+ {
32
+ message: 'directoryId must be a valid UUID v4',
33
+ })
34
+ directoryId: string;
35
+
36
+ @IsBoolean()
37
+ isPrincipal: boolean;
38
+
39
+ @IsOptional()
40
+ @IsString()
41
+ @Length(1, 100)
42
+ tag?: string;
43
+
44
+ @IsString()
45
+ @Length(1, 100)
46
+ tenantId: string;
47
+
48
+ @IsString()
49
+ typeOfAddressId: string;
50
+
51
+ @IsEnum(TypeOfDirectoryId)
52
+ typeOfDirectoryId: TypeOfDirectoryId;
53
+
54
+ @IsEnum(AddressProvider)
55
+ provider: AddressProvider;
56
+
57
+ @ValidateNested()
58
+ place: Place;
59
+
60
+ @IsString()
61
+ @Matches(regexIso8601,
62
+ {
63
+ message: 'validFrom must be a valid ISO 8601 date string',
64
+ })
65
+ validFrom: string;
66
+
67
+ @IsOptional()
68
+ @IsString()
69
+ @Matches(regexIso8601,
70
+ {
71
+ message: 'validUntil must be a valid ISO 8601 date string',
72
+ })
73
+ validUntil?: string;
74
+
75
+ @IsEnum(AddressStatus)
76
+ addressStatus: AddressStatus;
77
+
78
+ @IsOptional()
79
+ @IsString()
80
+ @Length(1, 200)
81
+ additionalInformation?: string;
82
+
83
+ @IsBoolean()
84
+ helpNeeded: boolean;
85
+
86
+ @IsOptional()
87
+ @IsString()
88
+ @Length(1, 10)
89
+ internalNumber?: string;
90
+
91
+ @IsEnum(CountryId)
92
+ countryId: CountryId;
93
+
94
+ @IsString()
95
+ @Length(1, 100)
96
+ street?: string;
97
+
98
+ @IsString()
99
+ @Length(1, 10)
100
+ addressNumber?: string;
101
+
102
+ @IsOptional()
103
+ @IsString()
104
+ @Length(2, 60)
105
+ municipality?: string;
106
+
107
+ @IsOptional()
108
+ @IsString()
109
+ subMunicipality?: string;
110
+
111
+ @IsOptional()
112
+ @IsString()
113
+ @Length(2, 60)
114
+ neighborhood?: string;
115
+
116
+ @IsOptional()
117
+ @IsString()
118
+ @Length(2, 60)
119
+ subRegion?: string;
120
+
121
+ @IsString()
122
+ @Length(5, 10)
123
+ region?: string;
124
+
125
+ @IsString()
126
+ @Length(5, 10)
127
+ postalCode?: string;
128
+
129
+ @IsEnum(CountryId)
130
+ country: string;
131
131
  }
@@ -1,7 +1,7 @@
1
- import { AddressBase } from "./AddressBase";
2
-
3
-
4
- export class AddressCreateRequest extends AddressBase {
5
-
6
-
1
+ import { AddressBase } from "./AddressBase";
2
+
3
+
4
+ export class AddressCreateRequest extends AddressBase {
5
+
6
+
7
7
  }
@@ -1,41 +1,41 @@
1
-
2
-
3
-
4
- import { IsOptional, IsString, Length, Matches } from 'class-validator';
5
-
6
- import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
7
- import { AddressBase } from './AddressBase';
8
-
9
- export class AddressResponse extends AddressBase {
10
-
11
- @IsString()
12
- @Matches(regexUuidV4,
13
- {
14
- message: 'id must be a valid UUID v4',
15
- })
16
- id: string
17
-
18
- @IsOptional()
19
- @IsString()
20
- @Matches(regexIso8601,
21
- {
22
- message: 'createDate must be a valid ISO 8601 date string',
23
- })
24
- createDate: string;
25
-
26
- @IsOptional()
27
- @IsString()
28
- @Matches(regexIso8601,
29
- {
30
- message: 'updateDate must be a valid ISO 8601 date string',
31
- })
32
- updateDate?: string;
33
-
34
- @IsOptional()
35
- @IsString()
36
- @Length(1, 100)
37
- updatedBy?: string;
38
- }
39
-
40
-
41
-
1
+
2
+
3
+
4
+ import { IsOptional, IsString, Length, Matches } from 'class-validator';
5
+
6
+ import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
7
+ import { AddressBase } from './AddressBase';
8
+
9
+ export class AddressResponse extends AddressBase {
10
+
11
+ @IsString()
12
+ @Matches(regexUuidV4,
13
+ {
14
+ message: 'id must be a valid UUID v4',
15
+ })
16
+ id: string
17
+
18
+ @IsOptional()
19
+ @IsString()
20
+ @Matches(regexIso8601,
21
+ {
22
+ message: 'createDate must be a valid ISO 8601 date string',
23
+ })
24
+ createDate: string;
25
+
26
+ @IsOptional()
27
+ @IsString()
28
+ @Matches(regexIso8601,
29
+ {
30
+ message: 'updateDate must be a valid ISO 8601 date string',
31
+ })
32
+ updateDate?: string;
33
+
34
+ @IsOptional()
35
+ @IsString()
36
+ @Length(1, 100)
37
+ updatedBy?: string;
38
+ }
39
+
40
+
41
+
@@ -1,12 +1,12 @@
1
- import { CountryId } from "../../country";
2
-
3
-
4
- export class AddressShippingCardRequest {
5
-
6
- addressId: string | null;
7
- addressServiceLocationId: string | null;
8
- provider: string | null;
9
- serviceType: string | null;
10
- countryId: CountryId;
11
- directoryId: string;
12
- };
1
+ import { CountryId } from "../../country";
2
+
3
+
4
+ export class AddressShippingCardRequest {
5
+
6
+ addressId: string | null;
7
+ addressServiceLocationId: string | null;
8
+ provider: string | null;
9
+ serviceType: string | null;
10
+ countryId: CountryId;
11
+ directoryId: string;
12
+ };
@@ -1,11 +1,11 @@
1
- import { AddressResponse } from "./AddressResponse";
2
- import { OfficeDetails } from "./OfficeDetails";
3
-
4
-
5
- export declare type AddressShippingCardResponse = {
6
- addresses:
7
- {
8
- address: AddressResponse,
9
- closeOffice: OfficeDetails
10
- }
11
- };
1
+ import { AddressResponse } from "./AddressResponse";
2
+ import { OfficeDetails } from "./OfficeDetails";
3
+
4
+
5
+ export declare type AddressShippingCardResponse = {
6
+ addresses:
7
+ {
8
+ address: AddressResponse,
9
+ closeOffice: OfficeDetails
10
+ }
11
+ };
@@ -1,5 +1,5 @@
1
-
2
-
3
- export type Geometry = {
4
- point: [number, number];
1
+
2
+
3
+ export type Geometry = {
4
+ point: [number, number];
5
5
  }
@@ -1,31 +1,31 @@
1
- import { OperationSchedule } from "./OperationSchedule"
2
-
3
-
4
- export type OfficeDetails = {
5
- code: string;
6
- name: string;
7
- ownerName: string;
8
- address: AddressDetail;
9
- latitude: string;
10
- longitude: string;
11
- distance: number;
12
- phoneNumber: string;
13
- operationSchedule: OperationSchedule[];
14
- };
15
-
16
- export type AddressDetail = {
17
- fullAddress: string;
18
- address1: string;
19
- address2: string;
20
- city: string;
21
- neighorhood: string;
22
- state: string;
23
- zipCode: string;
24
- reference: string;
25
- betweenRoadName1: string;
26
- betweenRoadName2: string;
27
- externalNumber: string;
28
- internalNumber: string;
29
- roadTypeCode: string;
30
- roadTypeAbbName: string;
1
+ import { OperationSchedule } from "./OperationSchedule"
2
+
3
+
4
+ export type OfficeDetails = {
5
+ code: string;
6
+ name: string;
7
+ ownerName: string;
8
+ address: AddressDetail;
9
+ latitude: string;
10
+ longitude: string;
11
+ distance: number;
12
+ phoneNumber: string;
13
+ operationSchedule: OperationSchedule[];
14
+ };
15
+
16
+ export type AddressDetail = {
17
+ fullAddress: string;
18
+ address1: string;
19
+ address2: string;
20
+ city: string;
21
+ neighorhood: string;
22
+ state: string;
23
+ zipCode: string;
24
+ reference: string;
25
+ betweenRoadName1: string;
26
+ betweenRoadName2: string;
27
+ externalNumber: string;
28
+ internalNumber: string;
29
+ roadTypeCode: string;
30
+ roadTypeAbbName: string;
31
31
  };
@@ -1,9 +1,9 @@
1
-
2
-
3
- export type OperationSchedule = {
4
- Weekday: string
5
- StartHourDay: string
6
- FinishHourDay: string
7
- StartHourLunchDay: string
8
- FinishHourLunchDay: string
1
+
2
+
3
+ export type OperationSchedule = {
4
+ Weekday: string
5
+ StartHourDay: string
6
+ FinishHourDay: string
7
+ StartHourLunchDay: string
8
+ FinishHourLunchDay: string
9
9
  }
@@ -1,84 +1,84 @@
1
- import { IsArray, IsBoolean, IsEnum, IsOptional, IsString, Length, ValidateNested } from 'class-validator';
2
- import { Geometry } from "./Geometry";
3
- import { Timezone } from "./Timezone";
4
- import { Country } from '../../country/enums/Country';
5
-
6
- export class Place {
7
- @ValidateNested()
8
- geometry: Geometry;
9
-
10
- @IsOptional()
11
- @IsString()
12
- addressNumber?: string;
13
-
14
- @IsOptional()
15
- @IsArray()
16
- @IsString({ each: true })
17
- categories?: string[];
18
-
19
- @IsOptional()
20
- @IsEnum(Country)
21
- country?: string;
22
-
23
- @IsBoolean()
24
- interpolated: boolean;
25
-
26
- @IsOptional()
27
- @IsString()
28
- @Length(1, 300)
29
- label?: string;
30
-
31
- @IsOptional()
32
- @IsString()
33
- @Length(1, 60)
34
- municipality?: string;
35
-
36
- @IsOptional()
37
- @IsString()
38
- @Length(2, 60)
39
- neighborhood?: string;
40
-
41
- @IsOptional()
42
- @IsString()
43
- @Length(5, 10)
44
- postalCode?: string;
45
-
46
- @IsOptional()
47
- @IsString()
48
- @Length(5, 10)
49
- region?: string;
50
-
51
- @IsOptional()
52
- @IsString()
53
- @Length(1, 100)
54
- street?: string;
55
-
56
- @IsOptional()
57
- @IsString()
58
- @Length(2, 60)
59
- subMunicipality?: string;
60
-
61
- @IsOptional()
62
- @IsString()
63
- @Length(2, 60)
64
- subRegion?: string;
65
-
66
- @IsOptional()
67
- @IsArray()
68
- @IsString({ each: true })
69
- supplementalCategories?: string[];
70
-
71
- @IsOptional()
72
- @ValidateNested()
73
- timezone?: Timezone;
74
-
75
- @IsOptional()
76
- @IsString()
77
- @Length(1, 10)
78
- unitNumber?: string;
79
-
80
- @IsOptional()
81
- @IsString()
82
- @Length(1, 10)
83
- unitType?: string;
1
+ import { IsArray, IsBoolean, IsEnum, IsOptional, IsString, Length, ValidateNested } from 'class-validator';
2
+ import { Geometry } from "./Geometry";
3
+ import { Timezone } from "./Timezone";
4
+ import { Country } from '../../country/enums/Country';
5
+
6
+ export class Place {
7
+ @ValidateNested()
8
+ geometry: Geometry;
9
+
10
+ @IsOptional()
11
+ @IsString()
12
+ addressNumber?: string;
13
+
14
+ @IsOptional()
15
+ @IsArray()
16
+ @IsString({ each: true })
17
+ categories?: string[];
18
+
19
+ @IsOptional()
20
+ @IsEnum(Country)
21
+ country?: string;
22
+
23
+ @IsBoolean()
24
+ interpolated: boolean;
25
+
26
+ @IsOptional()
27
+ @IsString()
28
+ @Length(1, 300)
29
+ label?: string;
30
+
31
+ @IsOptional()
32
+ @IsString()
33
+ @Length(1, 60)
34
+ municipality?: string;
35
+
36
+ @IsOptional()
37
+ @IsString()
38
+ @Length(2, 60)
39
+ neighborhood?: string;
40
+
41
+ @IsOptional()
42
+ @IsString()
43
+ @Length(5, 10)
44
+ postalCode?: string;
45
+
46
+ @IsOptional()
47
+ @IsString()
48
+ @Length(5, 10)
49
+ region?: string;
50
+
51
+ @IsOptional()
52
+ @IsString()
53
+ @Length(1, 100)
54
+ street?: string;
55
+
56
+ @IsOptional()
57
+ @IsString()
58
+ @Length(2, 60)
59
+ subMunicipality?: string;
60
+
61
+ @IsOptional()
62
+ @IsString()
63
+ @Length(2, 60)
64
+ subRegion?: string;
65
+
66
+ @IsOptional()
67
+ @IsArray()
68
+ @IsString({ each: true })
69
+ supplementalCategories?: string[];
70
+
71
+ @IsOptional()
72
+ @ValidateNested()
73
+ timezone?: Timezone;
74
+
75
+ @IsOptional()
76
+ @IsString()
77
+ @Length(1, 10)
78
+ unitNumber?: string;
79
+
80
+ @IsOptional()
81
+ @IsString()
82
+ @Length(1, 10)
83
+ unitType?: string;
84
84
  }