@fiado/type-kit 1.0.37 → 1.0.39
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 +11 -0
- package/.idea/fiado-type-kit.iml +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/README.md +70 -70
- package/bin/card/dtos/CardUpdateRequest.js +1 -2
- package/bin/index.d.ts +2 -0
- package/bin/index.js +3 -1
- package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.d.ts +6 -0
- package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.js +6 -0
- package/bin/notificationMessages/dtos/QueueMessageDestination.d.ts +6 -0
- package/bin/notificationMessages/dtos/QueueMessageDestination.js +6 -0
- package/bin/notificationMessages/dtos/QueueMessageVariableValues.d.ts +4 -0
- package/bin/notificationMessages/dtos/QueueMessageVariableValues.js +6 -0
- package/bin/notificationMessages/index.d.ts +3 -0
- package/bin/notificationMessages/index.js +19 -0
- package/bin/sessionActivity/dtos/SessionActivityQueueMessageRequest.d.ts +10 -0
- package/bin/sessionActivity/dtos/SessionActivityQueueMessageRequest.js +6 -0
- package/bin/sessionActivity/enums/SessionActivityActionEnum.d.ts +7 -0
- package/bin/sessionActivity/enums/SessionActivityActionEnum.js +11 -0
- package/bin/sessionActivity/enums/SessionActivityActionOriginEnum.d.ts +4 -0
- package/bin/sessionActivity/enums/SessionActivityActionOriginEnum.js +8 -0
- package/bin/sessionActivity/index.d.ts +3 -0
- package/bin/sessionActivity/index.js +19 -0
- package/package.json +23 -23
- package/src/account/dtos/AccountCreateRequest.ts +44 -44
- package/src/account/dtos/AccountCreateResponse.ts +5 -5
- package/src/account/dtos/AccountResponse.ts +26 -26
- package/src/account/dtos/PocketCreateRequest.ts +18 -18
- package/src/account/dtos/PocketCreateResponse.ts +4 -4
- package/src/account/enums/AccountStatus.ts +6 -6
- package/src/account/index.ts +16 -16
- 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/Geometry.ts +4 -4
- 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 +12 -12
- 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 +41 -41
- package/src/card/dtos/CardCreateRequest.ts +141 -141
- package/src/card/dtos/CardResponse.ts +4 -4
- package/src/card/dtos/CardUpdateRequest.ts +13 -15
- package/src/card/enums/Brand.ts +7 -7
- package/src/card/enums/CardIssuanceStatus.ts +5 -5
- package/src/card/enums/CardType.ts +4 -4
- package/src/card/enums/CardUpdateKey.ts +4 -4
- package/src/card/enums/IssuanceType.ts +5 -5
- package/src/card/enums/OwnershipType.ts +3 -3
- package/src/card/enums/Status.ts +5 -5
- package/src/card/enums/UpdateKey.ts +5 -5
- package/src/card/index.ts +19 -19
- 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 +17 -17
- 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/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/enums/ExchangeRateStatus.ts +5 -5
- package/src/exchangeRate/index.ts +8 -8
- package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
- package/src/group/dtos/GroupCreateRequest.ts +48 -48
- 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 +27 -27
- 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 +16 -16
- 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/TypeOfDocument.ts +11 -11
- package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
- package/src/identity/enums/SexDocument.ts +6 -6
- package/src/identity/index.ts +11 -11
- package/src/index.ts +20 -20
- package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -0
- package/src/notificationMessages/dtos/QueueMessageDestination.ts +7 -0
- package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +4 -0
- package/src/notificationMessages/index.ts +3 -0
- package/src/provider/enums/Provider.ts +5 -5
- package/src/provider/index.ts +1 -1
- package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
- package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +11 -0
- package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -0
- package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -0
- package/src/sessionActivity/index.ts +3 -0
|
@@ -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,80 +1,80 @@
|
|
|
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
|
-
operationId: string | null;
|
|
38
|
-
tenantId: string | null;
|
|
39
|
-
photoOfpersonImageName: string | null;
|
|
40
|
-
videoOfPersonImageName: string | null;
|
|
41
|
-
USA_DebitAccount: boolean;
|
|
42
|
-
MEX_DebitAccount: boolean;
|
|
43
|
-
MEX_CreditClient: boolean;
|
|
44
|
-
MEX_CreditAdditional: boolean;
|
|
45
|
-
magicNumber: boolean;
|
|
46
|
-
USA_UploadDocument: boolean;
|
|
47
|
-
MEX_UploadDocument: boolean;
|
|
48
|
-
videoSelfieVerified: boolean;
|
|
49
|
-
MEX_ValidDocument: string;
|
|
50
|
-
USA_ValidDocument: string;
|
|
51
|
-
USA_FacematchVerified: boolean | null;
|
|
52
|
-
MEX_FacematchVerified: boolean | null;
|
|
53
|
-
fiadoListApproved: boolean | null;
|
|
54
|
-
ofacListApproved: boolean | null;
|
|
55
|
-
cnbvListApproved: boolean | null;
|
|
56
|
-
blackListApproved: boolean | null;
|
|
57
|
-
whiteList: boolean | null;
|
|
58
|
-
hasOwner: boolean;
|
|
59
|
-
older18: boolean | null;
|
|
60
|
-
USA_Address: boolean;
|
|
61
|
-
MEX_Address: boolean;
|
|
62
|
-
COL_Address: boolean;
|
|
63
|
-
GTM_Address: boolean;
|
|
64
|
-
HND_Address: boolean;
|
|
65
|
-
CRI_Address: boolean;
|
|
66
|
-
PER_Address: boolean;
|
|
67
|
-
MEX_ProofAddress: boolean;
|
|
68
|
-
MEX_SendWish: boolean;
|
|
69
|
-
COL_SendWish: boolean;
|
|
70
|
-
GTM_SendWish: boolean;
|
|
71
|
-
HND_SendWish: boolean;
|
|
72
|
-
CRI_SendWish: boolean;
|
|
73
|
-
PER_SendWish: boolean;
|
|
74
|
-
USA_DebitAccountWish: boolean;
|
|
75
|
-
MEX_DebitAccountWish: boolean;
|
|
76
|
-
MEX_CreditAdditionalWish: boolean;
|
|
77
|
-
MEX_CreditClientWish: boolean;
|
|
78
|
-
SSN_ITINRequired: boolean | null;
|
|
79
|
-
|
|
80
|
-
}
|
|
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
|
+
operationId: string | null;
|
|
38
|
+
tenantId: string | null;
|
|
39
|
+
photoOfpersonImageName: string | null;
|
|
40
|
+
videoOfPersonImageName: string | null;
|
|
41
|
+
USA_DebitAccount: boolean;
|
|
42
|
+
MEX_DebitAccount: boolean;
|
|
43
|
+
MEX_CreditClient: boolean;
|
|
44
|
+
MEX_CreditAdditional: boolean;
|
|
45
|
+
magicNumber: boolean;
|
|
46
|
+
USA_UploadDocument: boolean;
|
|
47
|
+
MEX_UploadDocument: boolean;
|
|
48
|
+
videoSelfieVerified: boolean;
|
|
49
|
+
MEX_ValidDocument: string;
|
|
50
|
+
USA_ValidDocument: string;
|
|
51
|
+
USA_FacematchVerified: boolean | null;
|
|
52
|
+
MEX_FacematchVerified: boolean | null;
|
|
53
|
+
fiadoListApproved: boolean | null;
|
|
54
|
+
ofacListApproved: boolean | null;
|
|
55
|
+
cnbvListApproved: boolean | null;
|
|
56
|
+
blackListApproved: boolean | null;
|
|
57
|
+
whiteList: boolean | null;
|
|
58
|
+
hasOwner: boolean;
|
|
59
|
+
older18: boolean | null;
|
|
60
|
+
USA_Address: boolean;
|
|
61
|
+
MEX_Address: boolean;
|
|
62
|
+
COL_Address: boolean;
|
|
63
|
+
GTM_Address: boolean;
|
|
64
|
+
HND_Address: boolean;
|
|
65
|
+
CRI_Address: boolean;
|
|
66
|
+
PER_Address: boolean;
|
|
67
|
+
MEX_ProofAddress: boolean;
|
|
68
|
+
MEX_SendWish: boolean;
|
|
69
|
+
COL_SendWish: boolean;
|
|
70
|
+
GTM_SendWish: boolean;
|
|
71
|
+
HND_SendWish: boolean;
|
|
72
|
+
CRI_SendWish: boolean;
|
|
73
|
+
PER_SendWish: boolean;
|
|
74
|
+
USA_DebitAccountWish: boolean;
|
|
75
|
+
MEX_DebitAccountWish: boolean;
|
|
76
|
+
MEX_CreditAdditionalWish: boolean;
|
|
77
|
+
MEX_CreditClientWish: boolean;
|
|
78
|
+
SSN_ITINRequired: boolean | null;
|
|
79
|
+
|
|
80
|
+
}
|
|
@@ -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
|
+
}
|
package/src/identity/index.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
//dtos
|
|
3
|
-
export * from './dtos/IdentificationDocument'
|
|
4
|
-
export * from './dtos/PeopleCreateRequest';
|
|
5
|
-
export * from './dtos/PeopleResponse';
|
|
6
|
-
export * from './dtos/TypeOfDocument';
|
|
7
|
-
|
|
8
|
-
//enums
|
|
9
|
-
export * from './enums/IdentificationDocumentStatus';
|
|
10
|
-
export * from './enums/SexDocument';
|
|
11
|
-
|
|
1
|
+
|
|
2
|
+
//dtos
|
|
3
|
+
export * from './dtos/IdentificationDocument'
|
|
4
|
+
export * from './dtos/PeopleCreateRequest';
|
|
5
|
+
export * from './dtos/PeopleResponse';
|
|
6
|
+
export * from './dtos/TypeOfDocument';
|
|
7
|
+
|
|
8
|
+
//enums
|
|
9
|
+
export * from './enums/IdentificationDocumentStatus';
|
|
10
|
+
export * from './enums/SexDocument';
|
|
11
|
+
|
package/src/index.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export * as
|
|
4
|
-
export * as
|
|
5
|
-
export * as
|
|
6
|
-
export * as
|
|
7
|
-
export * as
|
|
8
|
-
export * as
|
|
9
|
-
export * as
|
|
10
|
-
export * as
|
|
11
|
-
export * as
|
|
12
|
-
export * as
|
|
13
|
-
export * as
|
|
14
|
-
export * as
|
|
15
|
-
export * as
|
|
16
|
-
export * as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
export * as Account from './account';
|
|
2
|
+
export * as Address from './address';
|
|
3
|
+
export * as App from './app';
|
|
4
|
+
export * as Authentication from './authentication';
|
|
5
|
+
export * as Card from './card';
|
|
6
|
+
export * as Country from './country';
|
|
7
|
+
export * as Currency from './currency';
|
|
8
|
+
export * as Directory from './directory';
|
|
9
|
+
export * as ExchangeRate from './exchangeRate';
|
|
10
|
+
export * as File from './identity';
|
|
11
|
+
export * as Group from './group';
|
|
12
|
+
export * as Identity from './provider';
|
|
13
|
+
export * as Header from './header';
|
|
14
|
+
export * as ServicePayment from './servicePayment';
|
|
15
|
+
export * as NotificationMessages from './notificationMessages';
|
|
16
|
+
export * as SessionActivity from './sessionActivity';
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum Provider {
|
|
4
|
-
TERN = 'TERN',
|
|
5
|
-
POMELO = 'POMELO'
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum Provider {
|
|
4
|
+
TERN = 'TERN',
|
|
5
|
+
POMELO = 'POMELO'
|
|
6
6
|
}
|
package/src/provider/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
export * from './enums/Provider';
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { IsNotEmpty, Length, Min } from 'class-validator';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export class ServicePaymentRequest {
|
|
7
|
-
|
|
8
|
-
@IsNotEmpty()
|
|
9
|
-
@Length(1, 50)
|
|
10
|
-
serviceId: string;
|
|
11
|
-
|
|
12
|
-
@IsNotEmpty()
|
|
13
|
-
@Length(1, 100)
|
|
14
|
-
directoryId: string;
|
|
15
|
-
|
|
16
|
-
@IsNotEmpty()
|
|
17
|
-
@Length(1, 100)
|
|
18
|
-
reference: string;
|
|
19
|
-
|
|
20
|
-
@IsNotEmpty()
|
|
21
|
-
@Length(1, 50)
|
|
22
|
-
productId: string;
|
|
23
|
-
|
|
24
|
-
@IsNotEmpty()
|
|
25
|
-
@Min(0.01)
|
|
26
|
-
amount: number;
|
|
27
|
-
|
|
28
|
-
@IsNotEmpty()
|
|
29
|
-
@Length(1, 50)
|
|
30
|
-
transactionNumber: string;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { IsNotEmpty, Length, Min } from 'class-validator';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ServicePaymentRequest {
|
|
7
|
+
|
|
8
|
+
@IsNotEmpty()
|
|
9
|
+
@Length(1, 50)
|
|
10
|
+
serviceId: string;
|
|
11
|
+
|
|
12
|
+
@IsNotEmpty()
|
|
13
|
+
@Length(1, 100)
|
|
14
|
+
directoryId: string;
|
|
15
|
+
|
|
16
|
+
@IsNotEmpty()
|
|
17
|
+
@Length(1, 100)
|
|
18
|
+
reference: string;
|
|
19
|
+
|
|
20
|
+
@IsNotEmpty()
|
|
21
|
+
@Length(1, 50)
|
|
22
|
+
productId: string;
|
|
23
|
+
|
|
24
|
+
@IsNotEmpty()
|
|
25
|
+
@Min(0.01)
|
|
26
|
+
amount: number;
|
|
27
|
+
|
|
28
|
+
@IsNotEmpty()
|
|
29
|
+
@Length(1, 50)
|
|
30
|
+
transactionNumber: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {SessionActivityActionEnum} from "../enums/SessionActivityActionEnum";
|
|
2
|
+
import {SessionActivityActionOriginEnum} from "../enums/SessionActivityActionOriginEnum";
|
|
3
|
+
|
|
4
|
+
export class SessionActivityQueueMessageRequest {
|
|
5
|
+
id: string; // requestId de la peticion
|
|
6
|
+
sessionId: string; // Id de la sesion que realizo el request
|
|
7
|
+
operationName: string; // nombre de la operacion asociada al request
|
|
8
|
+
source: string; // Tabla|lambda|componente desde donde vino el mensaje
|
|
9
|
+
action: SessionActivityActionEnum; // Accion realizada
|
|
10
|
+
actionOrigin: SessionActivityActionOriginEnum; // Si la peticion fue realizada desde la APP o backoffice
|
|
11
|
+
}
|