@fiado/type-kit 1.1.56 → 1.1.58
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/account/dtos/CreateBankAccountInput.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountInput.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserInput.d.ts +14 -0
- package/bin/account/dtos/CreateBankAccountUserInput.js +6 -0
- package/bin/card/dtos/CardApplicationRequest.js +1 -1
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +3 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +22 -0
- package/bin/productCatalog/dtos/GetProductCatalogRequest.d.ts +3 -0
- package/bin/productCatalog/dtos/GetProductCatalogRequest.js +19 -0
- package/bin/transactionProcessor/dtos/AmountInfo.d.ts +6 -0
- package/bin/transactionProcessor/dtos/AmountInfo.js +6 -0
- package/bin/transactionProcessor/dtos/AmountInfoItem.d.ts +4 -0
- package/bin/transactionProcessor/dtos/AmountInfoItem.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.d.ts +17 -0
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.d.ts +16 -0
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.d.ts +6 -0
- package/bin/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizePocketTransactionRequest.d.ts +8 -0
- package/bin/transactionProcessor/dtos/AuthorizePocketTransactionRequest.js +6 -0
- package/{src/transactionProcessor/dtos/private/PrivateProcessorCardInfo.ts → bin/transactionProcessor/dtos/CardInfo.d.ts} +6 -6
- package/bin/transactionProcessor/dtos/CardInfo.js +6 -0
- package/bin/transactionProcessor/dtos/InstallmentsInfo.d.ts +7 -0
- package/bin/transactionProcessor/dtos/InstallmentsInfo.js +6 -0
- package/{src/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.ts → bin/transactionProcessor/dtos/MerchantInfo.d.ts} +7 -7
- package/bin/transactionProcessor/dtos/MerchantInfo.js +6 -0
- package/{src/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.ts → bin/transactionProcessor/dtos/TransactionInfo.d.ts} +8 -8
- package/bin/transactionProcessor/dtos/TransactionInfo.js +6 -0
- package/bin/transactionProcessor/index.d.ts +10 -8
- package/bin/transactionProcessor/index.js +10 -8
- package/package.json +23 -23
- package/src/account/dtos/AccountCreateRequest.ts +78 -78
- 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/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 +36 -36
- 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 +14 -14
- package/src/account/dtos/PocketItem.ts +43 -43
- package/src/account/dtos/UpdateBalanceOperation.ts +8 -8
- 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 +41 -41
- 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/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 +12 -12
- package/src/card/dtos/CardApplicationRequest.ts +27 -27
- package/src/card/dtos/CardBalanceResponse.ts +10 -10
- package/src/card/dtos/CardCreateAdditionalRequest.ts +40 -40
- 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 +26 -26
- package/src/contactInfo/dtos/GetAllContactInfoResponse.ts +13 -13
- package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
- package/src/contactInfo/index.ts +1 -1
- 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 +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 +3 -3
- package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
- package/src/exchangeRate/index.ts +9 -9
- 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 +72 -72
- package/src/identity/dtos/PeopleUpdateRequest.ts +71 -71
- 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 +28 -28
- 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/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 +8 -8
- 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/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/src/transaction/dtos/Credit.ts +21 -21
- package/src/transaction/dtos/Debit.ts +20 -20
- package/src/transaction/dtos/Notional.ts +20 -20
- package/src/transaction/dtos/Product.ts +21 -21
- package/src/transaction/dtos/Total.ts +20 -20
- package/src/transaction/dtos/TransactionCreateRequest.ts +101 -101
- package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
- package/src/transaction/enums/OperationEnum.ts +3 -3
- package/src/transaction/index.ts +5 -5
- package/src/transactionProcessor/dtos/AmountInfo.ts +7 -0
- package/src/transactionProcessor/dtos/AmountInfoItem.ts +4 -0
- package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +18 -0
- package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +17 -0
- package/src/transactionProcessor/dtos/{private/AuthorizeP2pTransactionRequest.ts → AuthorizeP2pTransactionRequest.ts} +5 -4
- package/src/transactionProcessor/dtos/{private/AuthorizePocketTransactionRequest.ts → AuthorizePocketTransactionRequest.ts} +8 -7
- package/src/transactionProcessor/dtos/CardInfo.ts +6 -0
- package/src/transactionProcessor/dtos/InstallmentsInfo.ts +7 -0
- package/src/transactionProcessor/dtos/MerchantInfo.ts +7 -0
- package/src/transactionProcessor/dtos/TransactionInfo.ts +8 -0
- package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +12 -12
- package/src/transactionProcessor/index.ts +13 -11
- package/.idea/aws.xml +0 -11
- package/.idea/fiado-type-kit.iml +0 -12
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/src/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.ts +0 -7
- package/src/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.ts +0 -4
- package/src/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.ts +0 -17
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { regexIso8601, regexUuidV4 } from "./constans/regex";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export class ValidationUtils {
|
|
5
|
-
|
|
6
|
-
// Método estático para validar UUID v4
|
|
7
|
-
public static validateUuidV4(value: any) {
|
|
8
|
-
if (value === null) return true;
|
|
9
|
-
return regexUuidV4.test(value);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// Método estático para validar la longitud de una cadena
|
|
13
|
-
public static validateStringLength(minLength: number, maxLength: number) {
|
|
14
|
-
return (value: string) => {
|
|
15
|
-
if (value === null) return true;
|
|
16
|
-
return value.length >= minLength && value.length <= maxLength;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// Método estático para validar el formato de fecha ISO 8601
|
|
21
|
-
public static validateIso8601(value: string) {
|
|
22
|
-
if (value === null) return true;
|
|
23
|
-
return regexIso8601.test(value);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
public static validateNumberRange(minValue: number, maxValue: number) {
|
|
27
|
-
return (value: number | null): boolean => {
|
|
28
|
-
if (value === null) return true;
|
|
29
|
-
return value >= minValue && value <= maxValue;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
import { regexIso8601, regexUuidV4 } from "./constans/regex";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export class ValidationUtils {
|
|
5
|
+
|
|
6
|
+
// Método estático para validar UUID v4
|
|
7
|
+
public static validateUuidV4(value: any) {
|
|
8
|
+
if (value === null) return true;
|
|
9
|
+
return regexUuidV4.test(value);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Método estático para validar la longitud de una cadena
|
|
13
|
+
public static validateStringLength(minLength: number, maxLength: number) {
|
|
14
|
+
return (value: string) => {
|
|
15
|
+
if (value === null) return true;
|
|
16
|
+
return value.length >= minLength && value.length <= maxLength;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Método estático para validar el formato de fecha ISO 8601
|
|
21
|
+
public static validateIso8601(value: string) {
|
|
22
|
+
if (value === null) return true;
|
|
23
|
+
return regexIso8601.test(value);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
public static validateNumberRange(minValue: number, maxValue: number) {
|
|
27
|
+
return (value: number | null): boolean => {
|
|
28
|
+
if (value === null) return true;
|
|
29
|
+
return value >= minValue && value <= maxValue;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
// Expresión regular para validar UUID v4
|
|
4
|
-
export const regexUuidV4 = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
5
|
-
// Expresión regular para validar fecha ISO 8601
|
|
6
|
-
export const regexIso8601 = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;
|
|
7
|
-
// Expresión regular para validar un número de teléfono
|
|
8
|
-
export const regexPhoneNumber = /^\+1\d{10}$|^\+52\d{10}$/;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
// Expresión regular para validar UUID v4
|
|
4
|
+
export const regexUuidV4 = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
5
|
+
// Expresión regular para validar fecha ISO 8601
|
|
6
|
+
export const regexIso8601 = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;
|
|
7
|
+
// Expresión regular para validar un número de teléfono
|
|
8
|
+
export const regexPhoneNumber = /^\+1\d{10}$|^\+52\d{10}$/;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Country } from "../../country/enums/Country";
|
|
2
|
-
import { IdentificationDocumentStatus } from "../enums/IdentificationDocumentStatus";
|
|
3
|
-
import { SexDocument } from "../enums/SexDocument";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export class IdentificationDocument {
|
|
7
|
-
|
|
8
|
-
frontImageName: string | null;
|
|
9
|
-
backImageName: string | null;
|
|
10
|
-
countryId: Country | null;
|
|
11
|
-
expirationDate: string | null;
|
|
12
|
-
issueDate: string | null;
|
|
13
|
-
lastNameFirst: string | null;
|
|
14
|
-
lastNameSecond: string | null;
|
|
15
|
-
names: string | null;
|
|
16
|
-
fullName: string | null;
|
|
17
|
-
countryOfBirth: string | null;
|
|
18
|
-
dateOfBirth: string | null;
|
|
19
|
-
documentNumber: string | null;
|
|
20
|
-
typeOfDocument: string;
|
|
21
|
-
sex: SexDocument | null;
|
|
22
|
-
verificationId: string | null;
|
|
23
|
-
curp: string | null;
|
|
24
|
-
status: IdentificationDocumentStatus;
|
|
1
|
+
import { Country } from "../../country/enums/Country";
|
|
2
|
+
import { IdentificationDocumentStatus } from "../enums/IdentificationDocumentStatus";
|
|
3
|
+
import { SexDocument } from "../enums/SexDocument";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class IdentificationDocument {
|
|
7
|
+
|
|
8
|
+
frontImageName: string | null;
|
|
9
|
+
backImageName: string | null;
|
|
10
|
+
countryId: Country | null;
|
|
11
|
+
expirationDate: string | null;
|
|
12
|
+
issueDate: string | null;
|
|
13
|
+
lastNameFirst: string | null;
|
|
14
|
+
lastNameSecond: string | null;
|
|
15
|
+
names: string | null;
|
|
16
|
+
fullName: string | null;
|
|
17
|
+
countryOfBirth: string | null;
|
|
18
|
+
dateOfBirth: string | null;
|
|
19
|
+
documentNumber: string | null;
|
|
20
|
+
typeOfDocument: string;
|
|
21
|
+
sex: SexDocument | null;
|
|
22
|
+
verificationId: string | null;
|
|
23
|
+
curp: string | null;
|
|
24
|
+
status: IdentificationDocumentStatus;
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export class PeopleCreateRequest {
|
|
4
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class PeopleCreateRequest {
|
|
4
|
+
|
|
5
5
|
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
import { App } from '../../app/enums/App';
|
|
3
|
-
import { SexDocument } from '../enums/SexDocument';
|
|
4
|
-
import { IdentificationDocument } from './IdentificationDocument';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export class PeopleResponse {
|
|
8
|
-
|
|
9
|
-
id: string;
|
|
10
|
-
createDate: string;
|
|
11
|
-
lastUpdateDate: string;
|
|
12
|
-
creationMethod: App;
|
|
13
|
-
indexName: string;
|
|
14
|
-
preferredName: string;
|
|
15
|
-
usSuffix: string | null;
|
|
16
|
-
usLastNames: string | null;
|
|
17
|
-
usNames: string | null;
|
|
18
|
-
latNames: string | null;
|
|
19
|
-
latLastNamePaternal: string | null;
|
|
20
|
-
latLastNameMaternal: string | null;
|
|
21
|
-
aliasNames: string[] | null;
|
|
22
|
-
preferredPronoun: string | null;
|
|
23
|
-
SSN_ITIN: string | null;
|
|
24
|
-
rfc: string | null;
|
|
25
|
-
curp: string | null;
|
|
26
|
-
passportNumber: string | null;
|
|
27
|
-
countryOfPassport: string | null;
|
|
28
|
-
documents: IdentificationDocument[] | null;
|
|
29
|
-
countryOfBirth: string | null;
|
|
30
|
-
dateOfBirth: string | null;
|
|
31
|
-
stateOfBirth: string | null;
|
|
32
|
-
nationalities: string[] | null;
|
|
33
|
-
docSex: SexDocument | null;
|
|
34
|
-
internalEmail: string | null;
|
|
35
|
-
occupation: string | null;
|
|
36
|
-
incomeSource: string | null;
|
|
37
|
-
notes: string | null;
|
|
38
|
-
tenantId: string | null;
|
|
39
|
-
USA_DebitAccount: boolean;
|
|
40
|
-
MEX_DebitAccount: boolean;
|
|
41
|
-
MEX_CreditClient: boolean;
|
|
42
|
-
MEX_CreditAdditional: boolean;
|
|
43
|
-
magicNumber: boolean;
|
|
44
|
-
USA_UploadDocument: boolean;
|
|
45
|
-
MEX_UploadDocument: boolean;
|
|
46
|
-
videoSelfieVerified: boolean;
|
|
47
|
-
MEX_ValidDocument: string;
|
|
48
|
-
USA_ValidDocument: string;
|
|
49
|
-
USA_FacematchVerified: boolean | null;
|
|
50
|
-
MEX_FacematchVerified: boolean | null;
|
|
51
|
-
fiadoListApproved: boolean | null;
|
|
52
|
-
cnbvListApproved: boolean | null;
|
|
53
|
-
blackListApproved: boolean | null;
|
|
54
|
-
whiteList: boolean | null;
|
|
55
|
-
hasOwner: boolean;
|
|
56
|
-
older18: boolean | null;
|
|
57
|
-
USA_Address: boolean;
|
|
58
|
-
MEX_Address: boolean;
|
|
59
|
-
MEX_ProofAddress: boolean;
|
|
60
|
-
USA_DebitAccountWish: boolean;
|
|
61
|
-
MEX_DebitAccountWish: boolean;
|
|
62
|
-
MEX_CreditAdditionalWish: boolean;
|
|
63
|
-
MEX_CreditClientWish: boolean;
|
|
64
|
-
SSN_ITINRequired: boolean | null;
|
|
65
|
-
|
|
66
|
-
MXN_FundsPurpose:string | null;
|
|
67
|
-
MXN_UsageMonthly:string | null;
|
|
68
|
-
MXN_MaximumTX:string | null;
|
|
69
|
-
signature: boolean;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
1
|
+
|
|
2
|
+
import { App } from '../../app/enums/App';
|
|
3
|
+
import { SexDocument } from '../enums/SexDocument';
|
|
4
|
+
import { IdentificationDocument } from './IdentificationDocument';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class PeopleResponse {
|
|
8
|
+
|
|
9
|
+
id: string;
|
|
10
|
+
createDate: string;
|
|
11
|
+
lastUpdateDate: string;
|
|
12
|
+
creationMethod: App;
|
|
13
|
+
indexName: string;
|
|
14
|
+
preferredName: string;
|
|
15
|
+
usSuffix: string | null;
|
|
16
|
+
usLastNames: string | null;
|
|
17
|
+
usNames: string | null;
|
|
18
|
+
latNames: string | null;
|
|
19
|
+
latLastNamePaternal: string | null;
|
|
20
|
+
latLastNameMaternal: string | null;
|
|
21
|
+
aliasNames: string[] | null;
|
|
22
|
+
preferredPronoun: string | null;
|
|
23
|
+
SSN_ITIN: string | null;
|
|
24
|
+
rfc: string | null;
|
|
25
|
+
curp: string | null;
|
|
26
|
+
passportNumber: string | null;
|
|
27
|
+
countryOfPassport: string | null;
|
|
28
|
+
documents: IdentificationDocument[] | null;
|
|
29
|
+
countryOfBirth: string | null;
|
|
30
|
+
dateOfBirth: string | null;
|
|
31
|
+
stateOfBirth: string | null;
|
|
32
|
+
nationalities: string[] | null;
|
|
33
|
+
docSex: SexDocument | null;
|
|
34
|
+
internalEmail: string | null;
|
|
35
|
+
occupation: string | null;
|
|
36
|
+
incomeSource: string | null;
|
|
37
|
+
notes: string | null;
|
|
38
|
+
tenantId: string | null;
|
|
39
|
+
USA_DebitAccount: boolean;
|
|
40
|
+
MEX_DebitAccount: boolean;
|
|
41
|
+
MEX_CreditClient: boolean;
|
|
42
|
+
MEX_CreditAdditional: boolean;
|
|
43
|
+
magicNumber: boolean;
|
|
44
|
+
USA_UploadDocument: boolean;
|
|
45
|
+
MEX_UploadDocument: boolean;
|
|
46
|
+
videoSelfieVerified: boolean;
|
|
47
|
+
MEX_ValidDocument: string;
|
|
48
|
+
USA_ValidDocument: string;
|
|
49
|
+
USA_FacematchVerified: boolean | null;
|
|
50
|
+
MEX_FacematchVerified: boolean | null;
|
|
51
|
+
fiadoListApproved: boolean | null;
|
|
52
|
+
cnbvListApproved: boolean | null;
|
|
53
|
+
blackListApproved: boolean | null;
|
|
54
|
+
whiteList: boolean | null;
|
|
55
|
+
hasOwner: boolean;
|
|
56
|
+
older18: boolean | null;
|
|
57
|
+
USA_Address: boolean;
|
|
58
|
+
MEX_Address: boolean;
|
|
59
|
+
MEX_ProofAddress: boolean;
|
|
60
|
+
USA_DebitAccountWish: boolean;
|
|
61
|
+
MEX_DebitAccountWish: boolean;
|
|
62
|
+
MEX_CreditAdditionalWish: boolean;
|
|
63
|
+
MEX_CreditClientWish: boolean;
|
|
64
|
+
SSN_ITINRequired: boolean | null;
|
|
65
|
+
|
|
66
|
+
MXN_FundsPurpose:string | null;
|
|
67
|
+
MXN_UsageMonthly:string | null;
|
|
68
|
+
MXN_MaximumTX:string | null;
|
|
69
|
+
signature: boolean;
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { SexDocument } from "../enums/SexDocument";
|
|
2
|
-
import { IdentificationDocument } from "./IdentificationDocument";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export class PeopleUpdateRequest {
|
|
6
|
-
|
|
7
|
-
id?: string;
|
|
8
|
-
creationMethod?: string;
|
|
9
|
-
indexName?: string | null;
|
|
10
|
-
preferredName?: string | null;
|
|
11
|
-
usSuffix?: string | null;
|
|
12
|
-
usLastNames?: string | null;
|
|
13
|
-
usNames?: string | null;
|
|
14
|
-
latNames?: string | null;
|
|
15
|
-
latLastNamePaternal?: string | null;
|
|
16
|
-
latLastNameMaternal?: string | null;
|
|
17
|
-
aliasNames?: string[] | null;
|
|
18
|
-
preferredPronoun?: string | null;
|
|
19
|
-
SSN_ITIN?: string | null;
|
|
20
|
-
rfc?: string | null;
|
|
21
|
-
curp?: string | null;
|
|
22
|
-
passportNumber?: string | null;
|
|
23
|
-
countryOfPassport?: string | null;
|
|
24
|
-
documents?: IdentificationDocument[] | null;
|
|
25
|
-
countryOfBirth?: string | null;
|
|
26
|
-
dateOfBirth?: string | null;
|
|
27
|
-
stateOfBirth?: string | null;
|
|
28
|
-
nationalities?: string[] | null;
|
|
29
|
-
docSex?: SexDocument | null;
|
|
30
|
-
internalEmail?: string | null;
|
|
31
|
-
occupation?: string | null;
|
|
32
|
-
incomeSource?: string | null;
|
|
33
|
-
notes?: string | null;
|
|
34
|
-
tenantId?: string | null;
|
|
35
|
-
USA_DebitAccount?: boolean;
|
|
36
|
-
MEX_DebitAccount?: boolean;
|
|
37
|
-
MEX_CreditClient?: boolean;
|
|
38
|
-
MEX_CreditAdditional?: boolean;
|
|
39
|
-
magicNumber?: boolean;
|
|
40
|
-
USA_UploadDocument?: boolean;
|
|
41
|
-
MEX_UploadDocument?: boolean;
|
|
42
|
-
videoSelfieVerified?: boolean;
|
|
43
|
-
MEX_ValidDocument?: string;
|
|
44
|
-
USA_ValidDocument?: string;
|
|
45
|
-
USA_FacematchVerified?: boolean | null;
|
|
46
|
-
MEX_FacematchVerified?: boolean | null;
|
|
47
|
-
fiadoListApproved?: boolean | null;
|
|
48
|
-
ofacListApproved?: boolean | null;
|
|
49
|
-
cnbvListApproved?: boolean | null;
|
|
50
|
-
blackListApproved?: boolean | null;
|
|
51
|
-
whiteList?: boolean | null;
|
|
52
|
-
hasOwner?: boolean;
|
|
53
|
-
older18?: boolean | null;
|
|
54
|
-
USA_Address?: boolean;
|
|
55
|
-
MEX_Address?: boolean;
|
|
56
|
-
CRI_Address?: boolean;
|
|
57
|
-
PER_Address?: boolean;
|
|
58
|
-
MEX_ProofAddress?: boolean;
|
|
59
|
-
MEX_SendWish?: boolean;
|
|
60
|
-
USA_DebitAccountWish?: boolean;
|
|
61
|
-
MEX_DebitAccountWish?: boolean;
|
|
62
|
-
MEX_CreditAdditionalWish?: boolean;
|
|
63
|
-
MEX_CreditClientWish?: boolean;
|
|
64
|
-
SSN_ITINRequired?: boolean | null;
|
|
65
|
-
duplicateUserDetection?: boolean | null;
|
|
66
|
-
|
|
67
|
-
MXN_FundsPurpose?:string | null;
|
|
68
|
-
MXN_UsageMonthly?:string | null;
|
|
69
|
-
MXN_MaximumTX?:string | null;
|
|
70
|
-
signature?: boolean;
|
|
71
|
-
MEX_Beneficiaries?: boolean;
|
|
1
|
+
import { SexDocument } from "../enums/SexDocument";
|
|
2
|
+
import { IdentificationDocument } from "./IdentificationDocument";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PeopleUpdateRequest {
|
|
6
|
+
|
|
7
|
+
id?: string;
|
|
8
|
+
creationMethod?: string;
|
|
9
|
+
indexName?: string | null;
|
|
10
|
+
preferredName?: string | null;
|
|
11
|
+
usSuffix?: string | null;
|
|
12
|
+
usLastNames?: string | null;
|
|
13
|
+
usNames?: string | null;
|
|
14
|
+
latNames?: string | null;
|
|
15
|
+
latLastNamePaternal?: string | null;
|
|
16
|
+
latLastNameMaternal?: string | null;
|
|
17
|
+
aliasNames?: string[] | null;
|
|
18
|
+
preferredPronoun?: string | null;
|
|
19
|
+
SSN_ITIN?: string | null;
|
|
20
|
+
rfc?: string | null;
|
|
21
|
+
curp?: string | null;
|
|
22
|
+
passportNumber?: string | null;
|
|
23
|
+
countryOfPassport?: string | null;
|
|
24
|
+
documents?: IdentificationDocument[] | null;
|
|
25
|
+
countryOfBirth?: string | null;
|
|
26
|
+
dateOfBirth?: string | null;
|
|
27
|
+
stateOfBirth?: string | null;
|
|
28
|
+
nationalities?: string[] | null;
|
|
29
|
+
docSex?: SexDocument | null;
|
|
30
|
+
internalEmail?: string | null;
|
|
31
|
+
occupation?: string | null;
|
|
32
|
+
incomeSource?: string | null;
|
|
33
|
+
notes?: string | null;
|
|
34
|
+
tenantId?: string | null;
|
|
35
|
+
USA_DebitAccount?: boolean;
|
|
36
|
+
MEX_DebitAccount?: boolean;
|
|
37
|
+
MEX_CreditClient?: boolean;
|
|
38
|
+
MEX_CreditAdditional?: boolean;
|
|
39
|
+
magicNumber?: boolean;
|
|
40
|
+
USA_UploadDocument?: boolean;
|
|
41
|
+
MEX_UploadDocument?: boolean;
|
|
42
|
+
videoSelfieVerified?: boolean;
|
|
43
|
+
MEX_ValidDocument?: string;
|
|
44
|
+
USA_ValidDocument?: string;
|
|
45
|
+
USA_FacematchVerified?: boolean | null;
|
|
46
|
+
MEX_FacematchVerified?: boolean | null;
|
|
47
|
+
fiadoListApproved?: boolean | null;
|
|
48
|
+
ofacListApproved?: boolean | null;
|
|
49
|
+
cnbvListApproved?: boolean | null;
|
|
50
|
+
blackListApproved?: boolean | null;
|
|
51
|
+
whiteList?: boolean | null;
|
|
52
|
+
hasOwner?: boolean;
|
|
53
|
+
older18?: boolean | null;
|
|
54
|
+
USA_Address?: boolean;
|
|
55
|
+
MEX_Address?: boolean;
|
|
56
|
+
CRI_Address?: boolean;
|
|
57
|
+
PER_Address?: boolean;
|
|
58
|
+
MEX_ProofAddress?: boolean;
|
|
59
|
+
MEX_SendWish?: boolean;
|
|
60
|
+
USA_DebitAccountWish?: boolean;
|
|
61
|
+
MEX_DebitAccountWish?: boolean;
|
|
62
|
+
MEX_CreditAdditionalWish?: boolean;
|
|
63
|
+
MEX_CreditClientWish?: boolean;
|
|
64
|
+
SSN_ITINRequired?: boolean | null;
|
|
65
|
+
duplicateUserDetection?: boolean | null;
|
|
66
|
+
|
|
67
|
+
MXN_FundsPurpose?:string | null;
|
|
68
|
+
MXN_UsageMonthly?:string | null;
|
|
69
|
+
MXN_MaximumTX?:string | null;
|
|
70
|
+
signature?: boolean;
|
|
71
|
+
MEX_Beneficiaries?: boolean;
|
|
72
72
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export class TypeOfDocument {
|
|
4
|
-
id: string;
|
|
5
|
-
countryId: string;
|
|
6
|
-
isEnabled: boolean;
|
|
7
|
-
name: string;
|
|
8
|
-
side: number;
|
|
9
|
-
order: number;
|
|
10
|
-
subtype: string;
|
|
11
|
-
type: string;
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export class TypeOfDocument {
|
|
4
|
+
id: string;
|
|
5
|
+
countryId: string;
|
|
6
|
+
isEnabled: boolean;
|
|
7
|
+
name: string;
|
|
8
|
+
side: number;
|
|
9
|
+
order: number;
|
|
10
|
+
subtype: string;
|
|
11
|
+
type: string;
|
|
12
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum IdentificationDocumentStatus {
|
|
4
|
-
VERIFIED = "VERIFIED",
|
|
5
|
-
REJECTED = "REJECTED",
|
|
6
|
-
UNVERIFIED = "UNVERIFIED"
|
|
7
|
-
}
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum IdentificationDocumentStatus {
|
|
4
|
+
VERIFIED = "VERIFIED",
|
|
5
|
+
REJECTED = "REJECTED",
|
|
6
|
+
UNVERIFIED = "UNVERIFIED"
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum SexDocument {
|
|
4
|
-
M = "M",
|
|
5
|
-
F = "F"
|
|
6
|
-
}
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum SexDocument {
|
|
4
|
+
M = "M",
|
|
5
|
+
F = "F"
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export enum TypeOfDocument {
|
|
2
|
-
MX_NATIONAL_ID = "MX_NATIONAL_ID",
|
|
3
|
-
MX_PASSPORT = "MX_PASSPORT",
|
|
4
|
-
US_DRIVER_LICENSE = "US_DRIVER_LICENSE",
|
|
5
|
-
US_PASSPORT = "US_PASSPORT"
|
|
1
|
+
export enum TypeOfDocument {
|
|
2
|
+
MX_NATIONAL_ID = "MX_NATIONAL_ID",
|
|
3
|
+
MX_PASSPORT = "MX_PASSPORT",
|
|
4
|
+
US_DRIVER_LICENSE = "US_DRIVER_LICENSE",
|
|
5
|
+
US_PASSPORT = "US_PASSPORT"
|
|
6
6
|
}
|
package/src/identity/index.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
//dtos
|
|
3
|
-
export * from './dtos/IdentificationDocument'
|
|
4
|
-
export * from './dtos/PeopleCreateRequest';
|
|
5
|
-
export * from './dtos/PeopleResponse';
|
|
6
|
-
export * from './dtos/TypeOfDocument';
|
|
7
|
-
export * from './dtos/PeopleUpdateRequest';
|
|
8
|
-
|
|
9
|
-
//enums
|
|
10
|
-
export * from './enums/IdentificationDocumentStatus';
|
|
11
|
-
export * from './enums/SexDocument';
|
|
12
|
-
|
|
1
|
+
|
|
2
|
+
//dtos
|
|
3
|
+
export * from './dtos/IdentificationDocument'
|
|
4
|
+
export * from './dtos/PeopleCreateRequest';
|
|
5
|
+
export * from './dtos/PeopleResponse';
|
|
6
|
+
export * from './dtos/TypeOfDocument';
|
|
7
|
+
export * from './dtos/PeopleUpdateRequest';
|
|
8
|
+
|
|
9
|
+
//enums
|
|
10
|
+
export * from './enums/IdentificationDocumentStatus';
|
|
11
|
+
export * from './enums/SexDocument';
|
|
12
|
+
|
package/src/index.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export * as Account from './account';
|
|
2
|
-
export * as Beneficiary from './beneficiary';
|
|
3
|
-
export * as Address from './address';
|
|
4
|
-
export * as App from './app';
|
|
5
|
-
export * as Authentication from './authentication';
|
|
6
|
-
export * as Card from './card';
|
|
7
|
-
export * as Country from './country';
|
|
8
|
-
export * as Currency from './currency';
|
|
9
|
-
export * as Directory from './directory';
|
|
10
|
-
export * as ExchangeRate from './exchangeRate';
|
|
11
|
-
export * as File from './identity';
|
|
12
|
-
export * as Group from './group';
|
|
13
|
-
export * as Identity from './provider';
|
|
14
|
-
export * as Header from './header';
|
|
15
|
-
export * as ServicePayment from './servicePayment';
|
|
16
|
-
export * as NotificationMessages from './notificationMessages';
|
|
17
|
-
export * as SessionActivity from './sessionActivity';
|
|
18
|
-
export * as EventBridgeMessage from './eventBridge';
|
|
19
|
-
export * as GenericMessage from './genericMessage';
|
|
20
|
-
export * as TransactionProcessor from './transactionProcessor';
|
|
21
|
-
export * as Transaction from './transaction';
|
|
22
|
-
export * as ContactInfo from './contactInfo';
|
|
23
|
-
export * as ProductCatalog from './productCatalog';
|
|
24
|
-
export * as Contract from './contract';
|
|
25
|
-
export * as CreditContract from './creditContract';
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
export * as Account from './account';
|
|
2
|
+
export * as Beneficiary from './beneficiary';
|
|
3
|
+
export * as Address from './address';
|
|
4
|
+
export * as App from './app';
|
|
5
|
+
export * as Authentication from './authentication';
|
|
6
|
+
export * as Card from './card';
|
|
7
|
+
export * as Country from './country';
|
|
8
|
+
export * as Currency from './currency';
|
|
9
|
+
export * as Directory from './directory';
|
|
10
|
+
export * as ExchangeRate from './exchangeRate';
|
|
11
|
+
export * as File from './identity';
|
|
12
|
+
export * as Group from './group';
|
|
13
|
+
export * as Identity from './provider';
|
|
14
|
+
export * as Header from './header';
|
|
15
|
+
export * as ServicePayment from './servicePayment';
|
|
16
|
+
export * as NotificationMessages from './notificationMessages';
|
|
17
|
+
export * as SessionActivity from './sessionActivity';
|
|
18
|
+
export * as EventBridgeMessage from './eventBridge';
|
|
19
|
+
export * as GenericMessage from './genericMessage';
|
|
20
|
+
export * as TransactionProcessor from './transactionProcessor';
|
|
21
|
+
export * as Transaction from './transaction';
|
|
22
|
+
export * as ContactInfo from './contactInfo';
|
|
23
|
+
export * as ProductCatalog from './productCatalog';
|
|
24
|
+
export * as Contract from './contract';
|
|
25
|
+
export * as CreditContract from './creditContract';
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {QueueMessageDestination} from "./QueueMessageDestination";
|
|
2
|
-
|
|
3
|
-
export class NotificationQueueMessageRequest {
|
|
4
|
-
templateId: string; // Nombre de la plantilla de mensaje a enviar
|
|
5
|
-
broadcast?: boolean; // Si el mensaje es masivo o no (a todos los dispositivos registrados)
|
|
6
|
-
destinations: QueueMessageDestination[]; // Grupo de destinos (directory y variables)
|
|
7
|
-
data?: any; // Informacion adicional a enviar al destino
|
|
1
|
+
import {QueueMessageDestination} from "./QueueMessageDestination";
|
|
2
|
+
|
|
3
|
+
export class NotificationQueueMessageRequest {
|
|
4
|
+
templateId: string; // Nombre de la plantilla de mensaje a enviar
|
|
5
|
+
broadcast?: boolean; // Si el mensaje es masivo o no (a todos los dispositivos registrados)
|
|
6
|
+
destinations: QueueMessageDestination[]; // Grupo de destinos (directory y variables)
|
|
7
|
+
data?: any; // Informacion adicional a enviar al destino
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {QueueMessageVariableValues} from "./QueueMessageVariableValues";
|
|
2
|
-
|
|
3
|
-
export class QueueMessageDestination {
|
|
4
|
-
directoryId: string;
|
|
5
|
-
templateVariables?: QueueMessageVariableValues[];
|
|
6
|
-
data?: any;
|
|
1
|
+
import {QueueMessageVariableValues} from "./QueueMessageVariableValues";
|
|
2
|
+
|
|
3
|
+
export class QueueMessageDestination {
|
|
4
|
+
directoryId: string;
|
|
5
|
+
templateVariables?: QueueMessageVariableValues[];
|
|
6
|
+
data?: any;
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class QueueMessageVariableValues {
|
|
2
|
-
key: string;
|
|
3
|
-
value: string;
|
|
1
|
+
export class QueueMessageVariableValues {
|
|
2
|
+
key: string;
|
|
3
|
+
value: string;
|
|
4
4
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export enum NotificationId {
|
|
5
|
-
|
|
6
|
-
ISSUED_ACCOUNT_USA = "ISSUED_ACCOUNT_USA", //Mesnaje de apertura de cuentas y tarjeta USA
|
|
7
|
-
ISSUED_ACCOUNT_MEX = "ISSUED_ACCOUNT_MEX", //Mesnaje de apertura de cuentas y tarjeta MEX
|
|
8
|
-
ONB_ERROR_VALID_DOCUMENT = "ONB_ERROR_VALID_DOCUMENT", // Mensaje cuando el resultado del onboarding es error en la validación del documento
|
|
9
|
-
ONB_ERROR_FACEMATCH = "ONB_ERROR_FACEMATCH", // Mensaje cuando el resultado del onboarding es error porque no hace match en video selfie con el documento
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export enum NotificationId {
|
|
5
|
+
|
|
6
|
+
ISSUED_ACCOUNT_USA = "ISSUED_ACCOUNT_USA", //Mesnaje de apertura de cuentas y tarjeta USA
|
|
7
|
+
ISSUED_ACCOUNT_MEX = "ISSUED_ACCOUNT_MEX", //Mesnaje de apertura de cuentas y tarjeta MEX
|
|
8
|
+
ONB_ERROR_VALID_DOCUMENT = "ONB_ERROR_VALID_DOCUMENT", // Mensaje cuando el resultado del onboarding es error en la validación del documento
|
|
9
|
+
ONB_ERROR_FACEMATCH = "ONB_ERROR_FACEMATCH", // Mensaje cuando el resultado del onboarding es error porque no hace match en video selfie con el documento
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
14
|
}
|