@fiado/type-kit 1.0.86 → 1.0.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.
- package/.idea/aws.xml +10 -10
- package/.idea/fiado-type-kit.iml +11 -11
- package/.idea/modules.xml +7 -7
- package/.idea/sonarlint/issuestore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
- package/.idea/sonarlint/issuestore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
- package/.idea/sonarlint/issuestore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
- package/.idea/sonarlint/issuestore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +2 -0
- package/.idea/sonarlint/issuestore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
- package/.idea/sonarlint/issuestore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
- package/.idea/sonarlint/issuestore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
- package/.idea/sonarlint/issuestore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
- package/.idea/sonarlint/issuestore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
- package/.idea/sonarlint/issuestore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
- package/.idea/sonarlint/issuestore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
- package/.idea/sonarlint/issuestore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
- package/.idea/sonarlint/issuestore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
- package/.idea/sonarlint/issuestore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
- package/.idea/sonarlint/issuestore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
- package/.idea/sonarlint/issuestore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
- package/.idea/sonarlint/issuestore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
- package/.idea/sonarlint/issuestore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
- package/.idea/sonarlint/issuestore/5/9/59861d131fb0f6508d57801b470735455669e76f +0 -0
- package/.idea/sonarlint/issuestore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
- package/.idea/sonarlint/issuestore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
- package/.idea/sonarlint/issuestore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
- package/.idea/sonarlint/issuestore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
- package/.idea/sonarlint/issuestore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
- package/.idea/sonarlint/issuestore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
- package/.idea/sonarlint/issuestore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
- package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/issuestore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
- package/.idea/sonarlint/issuestore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
- package/.idea/sonarlint/issuestore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
- package/.idea/sonarlint/issuestore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
- package/.idea/sonarlint/issuestore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
- package/.idea/sonarlint/issuestore/8/3/837ec76e2e7ee5ac8e0326747630f9f66b7d5c1c +0 -0
- package/.idea/sonarlint/issuestore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
- package/.idea/sonarlint/issuestore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
- package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/issuestore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
- package/.idea/sonarlint/issuestore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
- package/.idea/sonarlint/issuestore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
- package/.idea/sonarlint/issuestore/a/5/a545ebf840220599f323a01614431575a770e319 +0 -0
- package/.idea/sonarlint/issuestore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
- package/.idea/sonarlint/issuestore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
- package/.idea/sonarlint/issuestore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
- package/.idea/sonarlint/issuestore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
- package/.idea/sonarlint/issuestore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
- package/.idea/sonarlint/issuestore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
- package/.idea/sonarlint/issuestore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
- package/.idea/sonarlint/issuestore/index.pb +95 -0
- package/.idea/sonarlint/securityhotspotstore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/9/59861d131fb0f6508d57801b470735455669e76f +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/3/837ec76e2e7ee5ac8e0326747630f9f66b7d5c1c +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/5/a545ebf840220599f323a01614431575a770e319 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +95 -0
- package/.idea/vcs.xml +5 -5
- package/README.md +70 -70
- package/bin/account/dtos/PocketBalanceItem.d.ts +6 -0
- package/bin/{tern/dtos/TernCreateAccountResponse.js → account/dtos/PocketBalanceItem.js} +15 -8
- package/bin/account/dtos/PocketItem.d.ts +2 -3
- package/bin/account/dtos/PocketItem.js +3 -11
- package/bin/account/index.d.ts +1 -0
- package/bin/account/index.js +1 -0
- package/bin/exchangeRate/dtos/GetExchangeRatesRequest.d.ts +4 -0
- package/bin/exchangeRate/dtos/GetExchangeRatesRequest.js +5 -0
- package/package.json +23 -23
- package/src/account/dtos/AccountCreateRequest.ts +75 -75
- package/src/account/dtos/AccountCreateResponse.ts +7 -7
- package/src/account/dtos/AccountInfo.ts +39 -39
- package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
- package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
- package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
- package/src/account/dtos/CreateBankAccountUserRequest.ts +17 -17
- package/src/account/dtos/CreateBankAccountUserResponse.ts +11 -11
- package/src/account/dtos/ExchangeInfo.ts +8 -8
- package/src/account/dtos/GetAccountBalanceResponse.ts +32 -32
- package/src/account/dtos/GetBankAccountRequest.ts +3 -3
- package/src/account/dtos/GetBankAccountResponse.ts +22 -22
- package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
- package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +8 -8
- package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
- package/src/account/dtos/GetBankAccountUserResponse.ts +25 -25
- package/src/account/dtos/GetPocketBalanceResponse.ts +43 -43
- package/src/account/dtos/GetPocketResponse.ts +8 -8
- package/src/account/dtos/PocketBalanceItem.ts +15 -0
- package/src/account/dtos/PocketItem.ts +40 -45
- package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
- package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
- package/src/account/entities/AccountEntityBase.ts +12 -12
- package/src/account/enums/AccountEntityStatusEnum.ts +4 -4
- package/src/account/enums/AccountLevelEnum.ts +5 -5
- package/src/account/enums/BankAccountTypeEnum.ts +2 -2
- package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
- package/src/account/enums/UserEntityStatusEnum.ts +4 -4
- package/src/account/index.ts +33 -32
- package/src/address/dtos/AddressBase.ts +130 -130
- package/src/address/dtos/AddressCreateRequest.ts +6 -6
- package/src/address/dtos/AddressResponse.ts +41 -41
- package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
- package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
- package/src/address/dtos/Geometry.ts +4 -4
- package/src/address/dtos/OfficeDetails.ts +30 -30
- package/src/address/dtos/OperationSchedule.ts +8 -8
- package/src/address/dtos/Place.ts +83 -83
- package/src/address/dtos/Shipping.ts +36 -36
- package/src/address/dtos/Timezone.ts +5 -5
- package/src/address/enums/AddressProvider.ts +10 -10
- package/src/address/enums/AddressStatus.ts +9 -9
- package/src/address/index.ts +16 -16
- package/src/app/enums/App.ts +10 -10
- package/src/app/index.ts +3 -3
- package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
- package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
- package/src/authentication/index.ts +3 -3
- package/src/card/dtos/CardActivateRequest.ts +12 -12
- package/src/card/dtos/CardApplicationRequest.ts +20 -20
- package/src/card/dtos/CardBalanceResponse.ts +10 -10
- package/src/card/dtos/CardCreateAdditionalRequest.ts +40 -40
- package/src/card/dtos/CardResponse.ts +4 -4
- package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
- package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
- package/src/card/dtos/CardUpdateRequest.ts +13 -13
- package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
- package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
- package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
- package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
- package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +14 -14
- package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
- package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
- package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
- package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +21 -21
- package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +5 -5
- package/src/card/enums/Brand.ts +7 -7
- package/src/card/enums/CardIssuanceStatus.ts +5 -5
- package/src/card/enums/CardIssuing.ts +6 -6
- package/src/card/enums/CardType.ts +4 -4
- package/src/card/enums/CardUpdateKey.ts +4 -4
- package/src/card/enums/CreditOrDebit.ts +5 -5
- package/src/card/enums/DeliveryChannel.ts +7 -7
- package/src/card/enums/ExternalShippingStatus.ts +14 -14
- package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
- package/src/card/enums/IssuanceType.ts +5 -5
- package/src/card/enums/NominatedOrInnominated.ts +8 -8
- package/src/card/enums/OwnershipType.ts +3 -3
- package/src/card/enums/ShippingStatus.ts +8 -8
- package/src/card/enums/Status.ts +6 -6
- package/src/card/enums/UpdateKey.ts +5 -5
- package/src/card/enums/VirtualOrPhysical.ts +6 -6
- package/src/card/index.ts +44 -44
- package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
- package/src/card/validations/IsPhoneNumberConstraint.ts +26 -26
- package/src/country/enums/Country.ts +6 -6
- package/src/country/enums/CountryId.ts +6 -6
- package/src/country/index.ts +5 -5
- package/src/currency/dtos/CurrencyResponse.ts +8 -8
- package/src/currency/index.ts +2 -2
- package/src/directory/dtos/DirectoryResponse.ts +18 -18
- package/src/directory/dtos/External.ts +6 -6
- package/src/directory/enums/Profile.ts +6 -6
- package/src/directory/enums/Scope.ts +7 -7
- package/src/directory/enums/Status.ts +8 -8
- package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
- package/src/directory/index.ts +7 -7
- package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
- package/src/eventBridge/index.ts +1 -1
- package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
- package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
- package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
- package/src/exchangeRate/dtos/GetExchangeRatesRequest.ts +4 -0
- package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
- package/src/exchangeRate/index.ts +8 -8
- package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
- package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
- package/src/genericMessage/index.ts +1 -1
- package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
- package/src/group/dtos/GroupCreateRequest.ts +54 -54
- package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
- package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
- package/src/group/dtos/GroupResponse.ts +17 -17
- package/src/group/dtos/GroupUpdateRequest.ts +31 -31
- package/src/group/enums/GroupAction.ts +8 -8
- package/src/group/enums/GroupStatus.ts +6 -6
- package/src/group/enums/RelationStatus.ts +8 -8
- package/src/group/enums/RelationType.ts +9 -9
- package/src/group/index.ts +18 -18
- package/src/header/TokenPayload.ts +17 -17
- package/src/header/index.ts +3 -3
- package/src/helpers/ValidationUtils.ts +32 -32
- package/src/helpers/constans/regex.ts +12 -12
- package/src/identity/dtos/IdentificationDocument.ts +24 -24
- package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
- package/src/identity/dtos/PeopleResponse.ts +80 -80
- package/src/identity/dtos/PeopleUpdateRequest.ts +75 -75
- package/src/identity/dtos/TypeOfDocument.ts +11 -11
- package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
- package/src/identity/enums/SexDocument.ts +6 -6
- package/src/identity/enums/TypeOfDocument.ts +5 -5
- package/src/identity/index.ts +12 -12
- package/src/index.ts +22 -22
- package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
- package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
- package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
- package/src/notificationMessages/enums/NotificationId.ts +13 -13
- package/src/notificationMessages/index.ts +5 -5
- package/src/provider/enums/Provider.ts +4 -4
- package/src/provider/index.ts +1 -1
- package/src/queue/dtos/QueueMessageBase.ts +13 -13
- package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
- package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
- package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
- package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
- package/src/sessionActivity/index.ts +2 -2
- package/bin/tern/dtos/TernAddress.d.ts +0 -8
- package/bin/tern/dtos/TernAddress.js +0 -40
- package/bin/tern/dtos/TernCreateAccountRequest.d.ts +0 -7
- package/bin/tern/dtos/TernCreateAccountRequest.js +0 -33
- package/bin/tern/dtos/TernCreateAccountResponse.d.ts +0 -5
- package/bin/tern/dtos/TernCreateUserRequest.d.ts +0 -15
- package/bin/tern/dtos/TernCreateUserRequest.js +0 -70
- package/bin/tern/dtos/TernCreateUserResponse.d.ts +0 -8
- package/bin/tern/dtos/TernCreateUserResponse.js +0 -37
- package/bin/tern/dtos/TernGetAccountRequest.d.ts +0 -5
- package/bin/tern/dtos/TernGetAccountRequest.js +0 -25
- package/bin/tern/dtos/TernGetAccountResponse.d.ts +0 -22
- package/bin/tern/dtos/TernGetAccountResponse.js +0 -87
- package/bin/tern/dtos/TernGetUserRequest.d.ts +0 -3
- package/bin/tern/dtos/TernGetUserRequest.js +0 -20
- package/bin/tern/dtos/TernGetUserResponse.d.ts +0 -24
- package/bin/tern/dtos/TernGetUserResponse.js +0 -96
- package/bin/tern/enums/TernAccountStatusEnum.d.ts +0 -4
- package/bin/tern/enums/TernAccountStatusEnum.js +0 -8
- package/bin/tern/enums/TernAccountTypeEnum.d.ts +0 -5
- package/bin/tern/enums/TernAccountTypeEnum.js +0 -9
- package/bin/tern/index.d.ts +0 -11
- package/bin/tern/index.js +0 -29
package/src/account/index.ts
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
//dtos
|
|
2
|
-
export * from './dtos/AccountCreateRequest';
|
|
3
|
-
export * from './dtos/AccountCreateResponse';
|
|
4
|
-
export * from './dtos/BankAccountExternalAddress';
|
|
5
|
-
export * from './dtos/CreateBankAccountRequest';
|
|
6
|
-
export * from './dtos/CreateBankAccountResponse';
|
|
7
|
-
export * from './dtos/CreateBankAccountUserRequest';
|
|
8
|
-
export * from './dtos/CreateBankAccountUserResponse';
|
|
9
|
-
export * from './dtos/GetBankAccountRequest';
|
|
10
|
-
export * from './dtos/GetBankAccountResponse';
|
|
11
|
-
export * from './dtos/GetBankAccountUserRequest';
|
|
12
|
-
export * from './dtos/GetBankAccountUserResponse';
|
|
13
|
-
export * from './dtos/UpdateBankAccountUserRequest';
|
|
14
|
-
export * from './dtos/UpdateBankAccountUserResponse';
|
|
15
|
-
export * from './dtos/GetBankAccountSensitiveInformationRequest';
|
|
16
|
-
export * from './dtos/GetBankAccountSensitiveInformationResponse';
|
|
17
|
-
export * from './dtos/AccountInfo';
|
|
18
|
-
export * from './dtos/ExchangeInfo';
|
|
19
|
-
export * from './dtos/GetAccountBalanceResponse';
|
|
20
|
-
export * from './dtos/GetPocketBalanceResponse';
|
|
21
|
-
export * from './dtos/GetPocketResponse';
|
|
22
|
-
export * from './dtos/PocketItem';
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export * from './enums/
|
|
30
|
-
export * from './enums/
|
|
31
|
-
export * from './enums/
|
|
32
|
-
export * from './enums/
|
|
1
|
+
//dtos
|
|
2
|
+
export * from './dtos/AccountCreateRequest';
|
|
3
|
+
export * from './dtos/AccountCreateResponse';
|
|
4
|
+
export * from './dtos/BankAccountExternalAddress';
|
|
5
|
+
export * from './dtos/CreateBankAccountRequest';
|
|
6
|
+
export * from './dtos/CreateBankAccountResponse';
|
|
7
|
+
export * from './dtos/CreateBankAccountUserRequest';
|
|
8
|
+
export * from './dtos/CreateBankAccountUserResponse';
|
|
9
|
+
export * from './dtos/GetBankAccountRequest';
|
|
10
|
+
export * from './dtos/GetBankAccountResponse';
|
|
11
|
+
export * from './dtos/GetBankAccountUserRequest';
|
|
12
|
+
export * from './dtos/GetBankAccountUserResponse';
|
|
13
|
+
export * from './dtos/UpdateBankAccountUserRequest';
|
|
14
|
+
export * from './dtos/UpdateBankAccountUserResponse';
|
|
15
|
+
export * from './dtos/GetBankAccountSensitiveInformationRequest';
|
|
16
|
+
export * from './dtos/GetBankAccountSensitiveInformationResponse';
|
|
17
|
+
export * from './dtos/AccountInfo';
|
|
18
|
+
export * from './dtos/ExchangeInfo';
|
|
19
|
+
export * from './dtos/GetAccountBalanceResponse';
|
|
20
|
+
export * from './dtos/GetPocketBalanceResponse';
|
|
21
|
+
export * from './dtos/GetPocketResponse';
|
|
22
|
+
export * from './dtos/PocketItem';
|
|
23
|
+
export * from './dtos/PocketBalanceItem';
|
|
24
|
+
|
|
25
|
+
//Entities
|
|
26
|
+
export * from './entities/AccountEntityBase';
|
|
27
|
+
|
|
28
|
+
//Enums
|
|
29
|
+
export * from './enums/AccountEntityStatusEnum';
|
|
30
|
+
export * from './enums/BankAccountTypeEnum';
|
|
31
|
+
export * from './enums/BankAccountUserStatusEnum';
|
|
32
|
+
export * from './enums/UserEntityStatusEnum';
|
|
33
|
+
export * from './enums/AccountLevelEnum';
|
|
@@ -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
|
}
|