@fiado/type-kit 1.2.48 → 1.2.50
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/README.md +70 -70
- package/bin/card/validations/CardUpdateKeyConstraint.js +2 -2
- package/bin/card/validations/IsPhoneNumberConstraint.js +2 -2
- package/bin/contactInfo/dtos/ContactInfoBackOfficeResponse.d.ts +4 -0
- package/bin/contactInfo/dtos/ContactInfoBackOfficeResponse.js +7 -0
- package/bin/contactInfo/dtos/ContactInfoCreateBackOfficeRequest.d.ts +4 -0
- package/bin/{account/dtos/PocketCreateRequest.js → contactInfo/dtos/ContactInfoCreateBackOfficeRequest.js} +7 -14
- package/bin/contactInfo/dtos/ContactInfoCreateRequest.d.ts +2 -15
- package/bin/contactInfo/dtos/ContactInfoCreateRequest.js +2 -65
- package/bin/contactInfo/dtos/ContactInfoRequest.d.ts +11 -0
- package/bin/{tern/dtos/TernAddress.js → contactInfo/dtos/ContactInfoRequest.js} +25 -16
- package/bin/contactInfo/dtos/ContactInfoResponse.d.ts +12 -0
- package/bin/contactInfo/dtos/ContactInfoResponse.js +6 -0
- package/bin/contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.d.ts +5 -0
- package/bin/{tern/dtos/TernGetAccountRequest.js → contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.js} +12 -9
- package/bin/contactInfo/dtos/ContactInfoUpdateRequest.d.ts +3 -0
- package/bin/contactInfo/dtos/ContactInfoUpdateRequest.js +7 -0
- package/bin/contactInfo/index.d.ts +6 -1
- package/bin/contactInfo/index.js +6 -1
- package/package.json +23 -23
- package/src/account/dtos/AccountCreateRequest.ts +79 -79
- package/src/account/dtos/AccountCreateResponse.ts +7 -7
- package/src/account/dtos/AccountInfo.ts +39 -39
- package/src/account/dtos/AccountUpdateBalanceRequest.ts +6 -6
- package/src/account/dtos/AccountUpdateRequest.ts +36 -36
- package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
- package/src/account/dtos/BankAccountP2pTransferRequest.ts +7 -7
- 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/ExecuteP2pOperationRequest.ts +7 -7
- package/src/account/dtos/ExecutePocketOperationRequest.ts +5 -5
- package/src/account/dtos/GetAccountBalanceResponse.ts +46 -46
- package/src/account/dtos/GetAccountResponse.ts +62 -62
- 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 +46 -46
- package/src/account/dtos/GetPocketResponse.ts +8 -8
- package/src/account/dtos/PocketBalanceItem.ts +17 -17
- package/src/account/dtos/PocketItem.ts +43 -43
- package/src/account/dtos/UpdateBalanceOperation.ts +10 -10
- 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/BankAccountP2pTransferType.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 +42 -42
- package/src/activity/dtos/ActivityMessageRequest.ts +24 -24
- package/src/activity/dtos/ActivityMessageResponse.ts +24 -24
- package/src/activity/dtos/ActivityQueueMessage.ts +9 -9
- package/src/activity/index.ts +8 -8
- 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/bankAccount/dtos/ExternalAccountCurrency.ts +3 -3
- package/src/bankAccount/dtos/ExternalAccountType.ts +3 -3
- package/src/bankAccount/dtos/GetExternalBankAccountRequest.ts +11 -11
- package/src/bankAccount/dtos/GetExternalBankAccountResponse.ts +15 -15
- package/src/bankAccount/dtos/GetExternalBankResponse.ts +13 -13
- package/src/bankAccount/index.ts +4 -4
- package/src/bbvaRst/dtos/CreateRSTTransactionRequest.ts +14 -14
- package/src/bbvaRst/dtos/CreateRSTTransactionResponse.ts +9 -9
- package/src/bbvaRst/enums/RSTStatusEnum.ts +4 -4
- package/src/bbvaRst/index.ts +2 -2
- package/src/beneficiary/dtos/AccountBeneficiaryCreateRequest.ts +41 -41
- package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +23 -23
- package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +39 -39
- package/src/beneficiary/enums/AccountType.ts +6 -6
- package/src/beneficiary/index.ts +7 -7
- package/src/card/dtos/CardActivateRequest.ts +12 -12
- package/src/card/dtos/CardAdditionalRequest.ts +25 -25
- package/src/card/dtos/CardAdditionalResponse.ts +14 -14
- package/src/card/dtos/CardApplicationRequest.ts +27 -27
- package/src/card/dtos/CardBalanceResponse.ts +10 -10
- package/src/card/dtos/CardCreateAdditionalRequest.ts +78 -78
- package/src/card/dtos/CardResponse.ts +34 -34
- package/src/card/dtos/CardSensitiveInformationResponse.ts +18 -18
- package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
- package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
- package/src/card/dtos/CardSummaryResponse.ts +10 -10
- package/src/card/dtos/CardUpdateRequest.ts +11 -11
- package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
- package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
- package/src/card/dtos/Internal/AssignCardRequest.ts +8 -8
- 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/GetBankAccountCardResponse.ts +32 -32
- 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 +50 -50
- package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
- package/src/card/validations/IsPhoneNumberConstraint.ts +29 -29
- package/src/contactInfo/dtos/ContactInfoBackOfficeResponse.ts +7 -0
- package/src/contactInfo/dtos/ContactInfoCreateBackOfficeRequest.ts +11 -0
- package/src/contactInfo/dtos/ContactInfoCreateRequest.ts +3 -48
- package/src/contactInfo/dtos/ContactInfoRequest.ts +30 -0
- package/src/contactInfo/dtos/{GetAllContactInfoResponse.ts → ContactInfoResponse.ts} +14 -13
- package/src/contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.ts +16 -0
- package/src/contactInfo/dtos/ContactInfoUpdateRequest.ts +5 -0
- package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
- package/src/contactInfo/index.ts +7 -2
- package/src/contract/dtos/ContractCreateRequest.ts +29 -29
- package/src/contract/dtos/ContractCreateResponse.ts +2 -2
- package/src/contract/index.ts +4 -4
- 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/creditContract/dtos/CreditContractCreateRequest.ts +51 -51
- package/src/creditContract/enums/InstrumentEnum.ts +5 -5
- package/src/creditContract/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 +19 -19
- 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 +3 -3
- package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
- package/src/exchangeRate/index.ts +9 -9
- package/src/fraudPreventionEngine/dtos/CreateAccountLevelRequest.ts +9 -9
- package/src/fraudPreventionEngine/dtos/GetAccountLevelParams.ts +3 -3
- package/src/fraudPreventionEngine/dtos/GetAccountLevelResponse.ts +7 -7
- package/src/fraudPreventionEngine/enums/AccountLevelTenantEnum.ts +5 -5
- package/src/fraudPreventionEngine/index.ts +5 -5
- 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 +18 -18
- 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 +74 -74
- package/src/identity/dtos/PeopleUpdateRequest.ts +73 -73
- 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 +35 -35
- 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/p2pContact/dtos/CreateP2pContactRequest.ts +8 -8
- package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
- package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
- package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
- package/src/productCatalog/enums/ProductTypeEnum.ts +15 -15
- package/src/productCatalog/index.ts +4 -4
- 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/GetCatalogParams.ts +5 -5
- package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
- package/src/servicePayment/index.ts +1 -1
- 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/src/stpSpei/dtos/PutStpOrderRequest.ts +13 -13
- package/src/stpSpei/dtos/SpeiWebhookMessage.ts +9 -9
- package/src/stpSpei/enums/WebhookMessageStatusEnum.ts +4 -4
- package/src/stpSpei/index.ts +3 -3
- package/src/transaction/dtos/Credit.ts +24 -24
- package/src/transaction/dtos/Debit.ts +20 -20
- package/src/transaction/dtos/Notional.ts +20 -20
- package/src/transaction/dtos/Product.ts +16 -16
- package/src/transaction/dtos/ProductDetail.ts +23 -23
- package/src/transaction/dtos/Total.ts +20 -20
- package/src/transaction/dtos/TransactionCreateRequest.ts +109 -109
- package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
- package/src/transaction/dtos/TransactionGetDetailResponse.ts +24 -24
- package/src/transaction/dtos/TransactionGetResponse.ts +19 -19
- package/src/transaction/enums/OperationEnum.ts +3 -3
- package/src/transaction/enums/TransactionSourceEnum.ts +4 -4
- package/src/transaction/enums/TransactionStatusEnum.ts +6 -6
- package/src/transaction/index.ts +17 -17
- package/src/transactionProcessor/dtos/AmountInfo.ts +6 -6
- package/src/transactionProcessor/dtos/AmountInfoItem.ts +3 -3
- package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +19 -19
- package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +16 -16
- package/src/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.ts +8 -8
- package/src/transactionProcessor/dtos/AuthorizePocketTransactionRequest.ts +8 -8
- package/src/transactionProcessor/dtos/AuthorizeRstTransactionRequest.ts +4 -4
- package/src/transactionProcessor/dtos/AuthorizeServicePaymentRequest.ts +7 -7
- package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.ts +6 -6
- package/src/transactionProcessor/dtos/CardInfo.ts +5 -5
- package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
- package/src/transactionProcessor/dtos/MerchantInfo.ts +6 -6
- package/src/transactionProcessor/dtos/ProcessUpdateLevelRequest.ts +3 -3
- package/src/transactionProcessor/dtos/RSTTransactionStatusUpdate.ts +6 -6
- package/src/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.ts +6 -6
- package/src/transactionProcessor/dtos/TransactionInfo.ts +7 -7
- package/src/transactionProcessor/dtos/TransactionProcessorQueueMessage.ts +3 -3
- package/src/transactionProcessor/enums/AsyncTxStatusEnum.ts +5 -5
- package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +15 -15
- package/src/transactionProcessor/index.ts +20 -20
- package/bin/account/dtos/AccountResponse.d.ts +0 -21
- package/bin/account/dtos/AccountResponse.js +0 -6
- package/bin/account/dtos/CreateBankAccountInput.d.ts +0 -8
- package/bin/account/dtos/CreateBankAccountInput.js +0 -6
- package/bin/account/dtos/CreateBankAccountUserInput.d.ts +0 -14
- package/bin/account/dtos/CreateBankAccountUserInput.js +0 -6
- package/bin/account/dtos/PocketCreateRequest.d.ts +0 -4
- package/bin/account/dtos/PocketCreateResponse.d.ts +0 -2
- package/bin/account/dtos/PocketCreateResponse.js +0 -6
- package/bin/account/enums/AccountStatus.d.ts +0 -5
- package/bin/account/enums/AccountStatus.js +0 -9
- package/bin/card/dtos/CardCreateRequest.d.ts +0 -34
- package/bin/card/dtos/CardCreateRequest.js +0 -176
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
- package/bin/pomelo/dtos/PomeloCreateUserRequest.d.ts +0 -28
- package/bin/pomelo/dtos/PomeloCreateUserRequest.js +0 -2
- package/bin/pomelo/dtos/PomeloCreateUserResponse.d.ts +0 -35
- package/bin/pomelo/dtos/PomeloCreateUserResponse.js +0 -2
- package/bin/pomelo/enums/CountryEnum.d.ts +0 -8
- package/bin/pomelo/enums/CountryEnum.js +0 -12
- package/bin/pomelo/enums/IdentificationTypeEnum.d.ts +0 -7
- package/bin/pomelo/enums/IdentificationTypeEnum.js +0 -11
- package/bin/pomelo/enums/SexEnum.d.ts +0 -4
- package/bin/pomelo/enums/SexEnum.js +0 -8
- package/bin/pomelo/enums/TaxTypeEnum.d.ts +0 -7
- package/bin/pomelo/enums/TaxTypeEnum.js +0 -11
- package/bin/pomelo/enums/UserStatusEnum.d.ts +0 -4
- package/bin/pomelo/enums/UserStatusEnum.js +0 -8
- package/bin/pomelo/index.d.ts +0 -7
- package/bin/pomelo/index.js +0 -25
- package/bin/productCatalog/dtos/GetProductCatalogRequest.d.ts +0 -3
- package/bin/productCatalog/dtos/GetProductCatalogRequest.js +0 -19
- package/bin/tern/dtos/TernAddress.d.ts +0 -8
- 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/TernCreateAccountResponse.js +0 -25
- 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/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/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.d.ts +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.d.ts +0 -4
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.d.ts +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.d.ts +0 -7
- package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.d.ts +0 -8
- package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.d.ts +0 -16
- package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export class CardInfo {
|
|
2
|
-
productType: string;
|
|
3
|
-
lastFour: string;
|
|
4
|
-
provider: string;
|
|
5
|
-
externalCardId: string;
|
|
1
|
+
export class CardInfo {
|
|
2
|
+
productType: string;
|
|
3
|
+
lastFour: string;
|
|
4
|
+
provider: string;
|
|
5
|
+
externalCardId: string;
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export class InstallmentsInfo {
|
|
2
|
-
quantity: string;
|
|
3
|
-
creditType: string;
|
|
4
|
-
gracePeriod: string;
|
|
5
|
-
currentInstallment: string;
|
|
6
|
-
promotionType: string;
|
|
1
|
+
export class InstallmentsInfo {
|
|
2
|
+
quantity: string;
|
|
3
|
+
creditType: string;
|
|
4
|
+
gracePeriod: string;
|
|
5
|
+
currentInstallment: string;
|
|
6
|
+
promotionType: string;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export class MerchantInfo {
|
|
2
|
-
id: string;
|
|
3
|
-
address: string;
|
|
4
|
-
name: string;
|
|
5
|
-
mcc: string;
|
|
6
|
-
terminalId: string;
|
|
1
|
+
export class MerchantInfo {
|
|
2
|
+
id: string;
|
|
3
|
+
address: string;
|
|
4
|
+
name: string;
|
|
5
|
+
mcc: string;
|
|
6
|
+
terminalId: string;
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default class ProcessUpdateLevelRequest {
|
|
2
|
-
directoryId: string;
|
|
3
|
-
peopleId: string;
|
|
1
|
+
export default class ProcessUpdateLevelRequest {
|
|
2
|
+
directoryId: string;
|
|
3
|
+
peopleId: string;
|
|
4
4
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {AsyncTxStatusEnum} from "../enums/AsyncTxStatusEnum";
|
|
2
|
-
|
|
3
|
-
export class RSTTransactionStatusUpdate {
|
|
4
|
-
status: AsyncTxStatusEnum;
|
|
5
|
-
transactionNumber: string;
|
|
6
|
-
atmId: string | null;
|
|
1
|
+
import {AsyncTxStatusEnum} from "../enums/AsyncTxStatusEnum";
|
|
2
|
+
|
|
3
|
+
export class RSTTransactionStatusUpdate {
|
|
4
|
+
status: AsyncTxStatusEnum;
|
|
5
|
+
transactionNumber: string;
|
|
6
|
+
atmId: string | null;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {AsyncTxStatusEnum} from "../enums/AsyncTxStatusEnum";
|
|
2
|
-
|
|
3
|
-
export class SpeiBankTransferStatusUpdate {
|
|
4
|
-
transactionNumber: string;
|
|
5
|
-
status: AsyncTxStatusEnum;
|
|
6
|
-
rejectionReason: string | null;
|
|
1
|
+
import {AsyncTxStatusEnum} from "../enums/AsyncTxStatusEnum";
|
|
2
|
+
|
|
3
|
+
export class SpeiBankTransferStatusUpdate {
|
|
4
|
+
transactionNumber: string;
|
|
5
|
+
status: AsyncTxStatusEnum;
|
|
6
|
+
rejectionReason: string | null;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export class TransactionInfo {
|
|
2
|
-
id: string;
|
|
3
|
-
type: string;
|
|
4
|
-
network: string;
|
|
5
|
-
date: string;
|
|
6
|
-
originalTransactionId: string;
|
|
7
|
-
pointType: string;
|
|
1
|
+
export class TransactionInfo {
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
network: string;
|
|
5
|
+
date: string;
|
|
6
|
+
originalTransactionId: string;
|
|
7
|
+
pointType: string;
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class TransactionProcessorQueueMessage<T> {
|
|
2
|
-
productCatalogId: string;
|
|
3
|
-
data: T;
|
|
1
|
+
export class TransactionProcessorQueueMessage<T> {
|
|
2
|
+
productCatalogId: string;
|
|
3
|
+
data: T;
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export enum AsyncTxStatusEnum {
|
|
2
|
-
PENDING = "PENDING",
|
|
3
|
-
CANCELLED = "CANCELLED",
|
|
4
|
-
RETURNED = "RETURNED",
|
|
5
|
-
APPROVED = "APPROVED",
|
|
1
|
+
export enum AsyncTxStatusEnum {
|
|
2
|
+
PENDING = "PENDING",
|
|
3
|
+
CANCELLED = "CANCELLED",
|
|
4
|
+
RETURNED = "RETURNED",
|
|
5
|
+
APPROVED = "APPROVED",
|
|
6
6
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export enum TransactionProcessorCodesEnum {
|
|
2
|
-
CARD_NOT_FOUND = "CARD_NOT_FOUND",
|
|
3
|
-
CARD_NOT_ACTIVE = "CARD_NOT_ACTIVE",
|
|
4
|
-
USER_NOT_ACTIVE = "USER_NOT_ACTIVE",
|
|
5
|
-
DOCUMENT_ID_NOT_FOUND = "DOCUMENT_ID_NOT_FOUND",
|
|
6
|
-
TRX_AMOUNT_LIMIT_EXCEEDED = "TRX_AMOUNT_LIMIT_EXCEEDED",
|
|
7
|
-
INSUFFICIENT_FUNDS = "INSUFFICIENT_FUNDS",
|
|
8
|
-
USER_NOT_AUTHORIZED_FOR_CREDIT = "USER_NOT_AUTHORIZED_FOR_CREDIT",
|
|
9
|
-
ACCOUNT_BLOCKED = "ACCOUNT_BLOCKED",
|
|
10
|
-
SYSTEM_ERROR = "SYSTEM_ERROR",
|
|
11
|
-
PRODUCT_NOT_FOUND = "PRODUCT_NOT_FOUND",
|
|
12
|
-
TRANSACTION_APPROVED = "TRANSACTION_APPROVED",
|
|
13
|
-
CREDIT_MINIMAL_AMOUNT_ERROR = "CREDIT_MINIMAL_AMOUNT_ERROR",
|
|
14
|
-
ACCOUNT_LEVEL_MAX_MONTHLY_AMOUNT_EXCEEDED = "ACCOUNT_LEVEL_MAX_MONTHLY_AMOUNT_EXCEEDED",
|
|
15
|
-
ACCOUNT_LEVEL_MAX_AVAILABLE_BALANCE_EXCEEDED = "ACCOUNT_LEVEL_MAX_AVAILABLE_BALANCE_EXCEEDED",
|
|
1
|
+
export enum TransactionProcessorCodesEnum {
|
|
2
|
+
CARD_NOT_FOUND = "CARD_NOT_FOUND",
|
|
3
|
+
CARD_NOT_ACTIVE = "CARD_NOT_ACTIVE",
|
|
4
|
+
USER_NOT_ACTIVE = "USER_NOT_ACTIVE",
|
|
5
|
+
DOCUMENT_ID_NOT_FOUND = "DOCUMENT_ID_NOT_FOUND",
|
|
6
|
+
TRX_AMOUNT_LIMIT_EXCEEDED = "TRX_AMOUNT_LIMIT_EXCEEDED",
|
|
7
|
+
INSUFFICIENT_FUNDS = "INSUFFICIENT_FUNDS",
|
|
8
|
+
USER_NOT_AUTHORIZED_FOR_CREDIT = "USER_NOT_AUTHORIZED_FOR_CREDIT",
|
|
9
|
+
ACCOUNT_BLOCKED = "ACCOUNT_BLOCKED",
|
|
10
|
+
SYSTEM_ERROR = "SYSTEM_ERROR",
|
|
11
|
+
PRODUCT_NOT_FOUND = "PRODUCT_NOT_FOUND",
|
|
12
|
+
TRANSACTION_APPROVED = "TRANSACTION_APPROVED",
|
|
13
|
+
CREDIT_MINIMAL_AMOUNT_ERROR = "CREDIT_MINIMAL_AMOUNT_ERROR",
|
|
14
|
+
ACCOUNT_LEVEL_MAX_MONTHLY_AMOUNT_EXCEEDED = "ACCOUNT_LEVEL_MAX_MONTHLY_AMOUNT_EXCEEDED",
|
|
15
|
+
ACCOUNT_LEVEL_MAX_AVAILABLE_BALANCE_EXCEEDED = "ACCOUNT_LEVEL_MAX_AVAILABLE_BALANCE_EXCEEDED",
|
|
16
16
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export * from './dtos/AmountInfo';
|
|
2
|
-
export * from './dtos/AmountInfoItem';
|
|
3
|
-
export * from './dtos/AuthorizeCreditCardAdjustmentRequest';
|
|
4
|
-
export * from './dtos/AuthorizeCreditCardPurchaseRequest';
|
|
5
|
-
export * from './dtos/AuthorizeP2pTransactionRequest';
|
|
6
|
-
export * from './dtos/AuthorizePocketTransactionRequest';
|
|
7
|
-
export * from './dtos/AuthorizeSpeiBankTransferRequest';
|
|
8
|
-
export * from './dtos/AuthorizeRstTransactionRequest';
|
|
9
|
-
export * from './dtos/CardInfo';
|
|
10
|
-
export * from './dtos/InstallmentsInfo';
|
|
11
|
-
export * from './dtos/MerchantInfo';
|
|
12
|
-
export * from './dtos/ProcessUpdateLevelRequest';
|
|
13
|
-
export * from './dtos/SpeiBankTransferStatusUpdate';
|
|
14
|
-
export * from './dtos/TransactionInfo';
|
|
15
|
-
export * from './dtos/TransactionProcessorQueueMessage';
|
|
16
|
-
export * from './dtos/AuthorizeServicePaymentRequest';
|
|
17
|
-
|
|
18
|
-
export * from './enums/TransactionProcessorCodesEnum';
|
|
19
|
-
export * from './enums/AsyncTxStatusEnum';
|
|
20
|
-
|
|
1
|
+
export * from './dtos/AmountInfo';
|
|
2
|
+
export * from './dtos/AmountInfoItem';
|
|
3
|
+
export * from './dtos/AuthorizeCreditCardAdjustmentRequest';
|
|
4
|
+
export * from './dtos/AuthorizeCreditCardPurchaseRequest';
|
|
5
|
+
export * from './dtos/AuthorizeP2pTransactionRequest';
|
|
6
|
+
export * from './dtos/AuthorizePocketTransactionRequest';
|
|
7
|
+
export * from './dtos/AuthorizeSpeiBankTransferRequest';
|
|
8
|
+
export * from './dtos/AuthorizeRstTransactionRequest';
|
|
9
|
+
export * from './dtos/CardInfo';
|
|
10
|
+
export * from './dtos/InstallmentsInfo';
|
|
11
|
+
export * from './dtos/MerchantInfo';
|
|
12
|
+
export * from './dtos/ProcessUpdateLevelRequest';
|
|
13
|
+
export * from './dtos/SpeiBankTransferStatusUpdate';
|
|
14
|
+
export * from './dtos/TransactionInfo';
|
|
15
|
+
export * from './dtos/TransactionProcessorQueueMessage';
|
|
16
|
+
export * from './dtos/AuthorizeServicePaymentRequest';
|
|
17
|
+
|
|
18
|
+
export * from './enums/TransactionProcessorCodesEnum';
|
|
19
|
+
export * from './enums/AsyncTxStatusEnum';
|
|
20
|
+
|
|
@@ -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,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,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,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,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.GroupDirectoryRetationsUpdateRequest = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GroupDirectoryRetationsUpdateRequest {
|
|
15
|
-
}
|
|
16
|
-
exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsOptional)(),
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.Length)(1, 20),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { CountryEnum } from "../enums/CountryEnum";
|
|
2
|
-
import { SexEnum } from "../enums/SexEnum";
|
|
3
|
-
import { TaxTypeEnum } from "../enums/TaxTypeEnum";
|
|
4
|
-
export type PomeloCreateUserRequest = {
|
|
5
|
-
name?: string;
|
|
6
|
-
surname?: string;
|
|
7
|
-
identification_type?: "INE";
|
|
8
|
-
identification_value?: string;
|
|
9
|
-
birthdate?: string;
|
|
10
|
-
gender?: SexEnum;
|
|
11
|
-
email: string;
|
|
12
|
-
phone?: string;
|
|
13
|
-
tax_identification_type?: TaxTypeEnum;
|
|
14
|
-
tax_identification_value?: string;
|
|
15
|
-
legal_address: {
|
|
16
|
-
street_name?: string;
|
|
17
|
-
street_number?: string;
|
|
18
|
-
floor?: string;
|
|
19
|
-
apartment?: string;
|
|
20
|
-
zip_code?: string;
|
|
21
|
-
neighborhood?: string;
|
|
22
|
-
city?: string;
|
|
23
|
-
region?: string;
|
|
24
|
-
additional_info?: string;
|
|
25
|
-
country?: CountryEnum;
|
|
26
|
-
};
|
|
27
|
-
operation_country: CountryEnum;
|
|
28
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { CountryEnum } from "../enums/CountryEnum";
|
|
2
|
-
import { IdentificationTypeEnum } from "../enums/IdentificationTypeEnum";
|
|
3
|
-
import { SexEnum } from "../enums/SexEnum";
|
|
4
|
-
import { TaxTypeEnum } from "../enums/TaxTypeEnum";
|
|
5
|
-
import { UserStatusEnum } from "../enums/UserStatusEnum";
|
|
6
|
-
export interface PomeloCreateUserResponse {
|
|
7
|
-
data: {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
surname: string;
|
|
11
|
-
identification_type: IdentificationTypeEnum;
|
|
12
|
-
identification_value: string;
|
|
13
|
-
birthdate: string;
|
|
14
|
-
gender: SexEnum;
|
|
15
|
-
email: string;
|
|
16
|
-
phone: string;
|
|
17
|
-
tax_identification_type: TaxTypeEnum;
|
|
18
|
-
tax_identification_value: string;
|
|
19
|
-
nationality: CountryEnum;
|
|
20
|
-
status: UserStatusEnum;
|
|
21
|
-
operation_country: CountryEnum;
|
|
22
|
-
legal_address: {
|
|
23
|
-
street_name: string;
|
|
24
|
-
street_number: string;
|
|
25
|
-
floor: string;
|
|
26
|
-
apartment: string;
|
|
27
|
-
zip_code: string;
|
|
28
|
-
neighborhood: string;
|
|
29
|
-
city: string;
|
|
30
|
-
region: string;
|
|
31
|
-
additional_info: string;
|
|
32
|
-
country: CountryEnum;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CountryEnum = void 0;
|
|
4
|
-
var CountryEnum;
|
|
5
|
-
(function (CountryEnum) {
|
|
6
|
-
CountryEnum["MEX"] = "MEX";
|
|
7
|
-
CountryEnum["ARG"] = "ARG";
|
|
8
|
-
CountryEnum["BRA"] = "BRA";
|
|
9
|
-
CountryEnum["PER"] = "PER";
|
|
10
|
-
CountryEnum["COL"] = "COL";
|
|
11
|
-
CountryEnum["CHL"] = "CHL";
|
|
12
|
-
})(CountryEnum || (exports.CountryEnum = CountryEnum = {}));
|