@forwardslashns/taskit-validation-messages 1.9.2 → 1.9.4
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/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts +5 -5
- package/dist/validation/features/client-current-entity-statuses.validation-messages.js +5 -5
- package/dist/validation/features/client-records-addresses.validation-messages.d.ts +5 -5
- package/dist/validation/features/client-records-addresses.validation-messages.js +5 -5
- package/dist/validation/features/client-records-banks.validation-messages.d.ts +23 -0
- package/dist/validation/features/client-records-banks.validation-messages.d.ts.map +1 -0
- package/dist/validation/features/client-records-banks.validation-messages.js +25 -0
- package/dist/validation/features/client-records-commission-details.validation-messages.d.ts +3 -3
- package/dist/validation/features/client-records-commission-details.validation-messages.js +3 -3
- package/dist/validation/features/client-records-contacts.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-records-contacts.validation-messages.js +2 -2
- package/dist/validation/features/{client-records-banks-and-credit-cards.validation-messages.d.ts → client-records-credit-cards.validation-messages.d.ts} +9 -13
- package/dist/validation/features/client-records-credit-cards.validation-messages.d.ts.map +1 -0
- package/dist/validation/features/{client-records-banks-and-credit-cards.validation-messages.js → client-records-credit-cards.validation-messages.js} +9 -13
- package/dist/validation/features/client-records-entity-states-histories.validation-messages.d.ts +4 -4
- package/dist/validation/features/client-records-entity-states-histories.validation-messages.js +4 -4
- package/dist/validation/features/client-records-entity-types-histories.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-records-entity-types-histories.validation-messages.js +2 -2
- package/dist/validation/features/client-records-filing-types-histories.validation-messages.d.ts +4 -4
- package/dist/validation/features/client-records-filing-types-histories.validation-messages.js +4 -4
- package/dist/validation/features/client-records-outside-providers.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-records-outside-providers.validation-messages.js +2 -2
- package/dist/validation/features/client-relationships-common.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-relationships-common.validation-messages.js +2 -2
- package/dist/validation/features/template-assignments.validation-messages.d.ts +4 -4
- package/dist/validation/features/template-assignments.validation-messages.js +4 -4
- package/dist/validation/features/templates.validation-messages.d.ts +8 -8
- package/dist/validation/features/templates.validation-messages.js +8 -8
- package/dist/validation/validation-messages.d.ts +61 -43
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/dist/validation/validation-messages.js +4 -2
- package/package.json +1 -1
- package/src/validation/features/client-current-entity-statuses.validation-messages.ts +5 -5
- package/src/validation/features/client-records-addresses.validation-messages.ts +5 -5
- package/src/validation/features/client-records-banks.validation-messages.ts +24 -0
- package/src/validation/features/client-records-commission-details.validation-messages.ts +3 -3
- package/src/validation/features/client-records-contacts.validation-messages.ts +2 -2
- package/src/validation/features/{client-records-banks-and-credit-cards.validation-messages.ts → client-records-credit-cards.validation-messages.ts} +8 -12
- package/src/validation/features/client-records-entity-states-histories.validation-messages.ts +4 -4
- package/src/validation/features/client-records-entity-types-histories.validation-messages.ts +2 -2
- package/src/validation/features/client-records-filing-types-histories.validation-messages.ts +4 -4
- package/src/validation/features/client-records-outside-providers.validation-messages.ts +2 -2
- package/src/validation/features/client-relationships-common.validation-messages.ts +2 -2
- package/src/validation/features/template-assignments.validation-messages.ts +4 -4
- package/src/validation/features/templates.validation-messages.ts +8 -8
- package/src/validation/validation-messages.ts +4 -2
- package/dist/validation/features/client-records-banks-and-credit-cards.validation-messages.d.ts.map +0 -1
|
@@ -16,12 +16,12 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
16
16
|
readonly FILING_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
17
17
|
readonly message: "Filing category does not exist";
|
|
18
18
|
readonly params: readonly ["id"];
|
|
19
|
-
readonly affectedFields: readonly ["
|
|
19
|
+
readonly affectedFields: readonly ["filingCategory"];
|
|
20
20
|
};
|
|
21
21
|
readonly BUSINESS_ACTIVITY_ID_DOES_NOT_EXIST: {
|
|
22
22
|
readonly message: "Business activity does not exist";
|
|
23
23
|
readonly params: readonly ["id"];
|
|
24
|
-
readonly affectedFields: readonly ["
|
|
24
|
+
readonly affectedFields: readonly ["businessActivity"];
|
|
25
25
|
};
|
|
26
26
|
readonly BILLING_TYPE_ID_DOES_NOT_EXIST: {
|
|
27
27
|
readonly message: "Billing type does not exist";
|
|
@@ -34,7 +34,7 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
34
34
|
};
|
|
35
35
|
readonly INVALID_CLIENT_ACTIVITY_STATUS: {
|
|
36
36
|
readonly message: "The 'Is active' field only applies to our clients. Please update the client type to 'Not our client' or update the 'Is active' status to 'Active'.";
|
|
37
|
-
readonly affectedFields: readonly ["isActive", "
|
|
37
|
+
readonly affectedFields: readonly ["isActive", "isClient"];
|
|
38
38
|
};
|
|
39
39
|
readonly INVALID_FEDERAL_LEGAL_ID: {
|
|
40
40
|
readonly message: "Enter a valid federal legal ID {legalIdType} (e.g. {legalIdValue})";
|
|
@@ -56,7 +56,7 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
56
56
|
};
|
|
57
57
|
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_BUSINESS_ACTIVITY_ID: {
|
|
58
58
|
readonly message: "Choose a Business Activity";
|
|
59
|
-
readonly affectedFields: readonly ["
|
|
59
|
+
readonly affectedFields: readonly ["businessActivity"];
|
|
60
60
|
};
|
|
61
61
|
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_BILLING_TYPE_ID: {
|
|
62
62
|
readonly message: "Choose a Billing Type";
|
|
@@ -64,7 +64,7 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
64
64
|
};
|
|
65
65
|
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_FILING_CATEGORY_ID: {
|
|
66
66
|
readonly message: "Choose a Filing Category";
|
|
67
|
-
readonly affectedFields: readonly ["
|
|
67
|
+
readonly affectedFields: readonly ["filingCategory"];
|
|
68
68
|
};
|
|
69
69
|
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_CONTACT: {
|
|
70
70
|
readonly message: "Create a Contact - One contact needs to have been saved to this client";
|
|
@@ -19,12 +19,12 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
19
19
|
FILING_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
20
20
|
message: `Filing category does not exist`,
|
|
21
21
|
params: ['id'],
|
|
22
|
-
affectedFields: ['
|
|
22
|
+
affectedFields: ['filingCategory'],
|
|
23
23
|
},
|
|
24
24
|
BUSINESS_ACTIVITY_ID_DOES_NOT_EXIST: {
|
|
25
25
|
message: `Business activity does not exist`,
|
|
26
26
|
params: ['id'],
|
|
27
|
-
affectedFields: ['
|
|
27
|
+
affectedFields: ['businessActivity'],
|
|
28
28
|
},
|
|
29
29
|
BILLING_TYPE_ID_DOES_NOT_EXIST: {
|
|
30
30
|
message: `Billing type does not exist`,
|
|
@@ -37,7 +37,7 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
37
37
|
},
|
|
38
38
|
INVALID_CLIENT_ACTIVITY_STATUS: {
|
|
39
39
|
message: `The 'Is active' field only applies to our clients. Please update the client type to 'Not our client' or update the 'Is active' status to 'Active'.`,
|
|
40
|
-
affectedFields: ['isActive', '
|
|
40
|
+
affectedFields: ['isActive', 'isClient'],
|
|
41
41
|
},
|
|
42
42
|
INVALID_FEDERAL_LEGAL_ID: {
|
|
43
43
|
message: `Enter a valid federal legal ID {legalIdType} (e.g. {legalIdValue})`,
|
|
@@ -59,7 +59,7 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
59
59
|
},
|
|
60
60
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_BUSINESS_ACTIVITY_ID: {
|
|
61
61
|
message: `Choose a Business Activity`,
|
|
62
|
-
affectedFields: ['
|
|
62
|
+
affectedFields: ['businessActivity'],
|
|
63
63
|
},
|
|
64
64
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_BILLING_TYPE_ID: {
|
|
65
65
|
message: `Choose a Billing Type`,
|
|
@@ -67,7 +67,7 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
67
67
|
},
|
|
68
68
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_FILING_CATEGORY_ID: {
|
|
69
69
|
message: `Choose a Filing Category`,
|
|
70
|
-
affectedFields: ['
|
|
70
|
+
affectedFields: ['filingCategory'],
|
|
71
71
|
},
|
|
72
72
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_CONTACT: {
|
|
73
73
|
message: `Create a Contact - One contact needs to have been saved to this client`,
|
|
@@ -2,27 +2,27 @@ export declare const CLIENT_RECORDS_ADDRESSES: {
|
|
|
2
2
|
readonly STATES_NOT_FOUND: {
|
|
3
3
|
readonly message: "States do not exist";
|
|
4
4
|
readonly params: readonly ["ids"];
|
|
5
|
-
readonly affectedFields: readonly ["
|
|
5
|
+
readonly affectedFields: readonly ["state"];
|
|
6
6
|
};
|
|
7
7
|
readonly INVALID_STATE_TYPE: {
|
|
8
8
|
readonly message: "States are not of type 'State'";
|
|
9
9
|
readonly params: readonly ["ids"];
|
|
10
|
-
readonly affectedFields: readonly ["
|
|
10
|
+
readonly affectedFields: readonly ["state"];
|
|
11
11
|
};
|
|
12
12
|
readonly CITIES_NOT_FOUND: {
|
|
13
13
|
readonly message: "Cities do not exist";
|
|
14
14
|
readonly params: readonly ["ids"];
|
|
15
|
-
readonly affectedFields: readonly ["
|
|
15
|
+
readonly affectedFields: readonly ["city"];
|
|
16
16
|
};
|
|
17
17
|
readonly INVALID_CITY_TYPE: {
|
|
18
18
|
readonly message: "Cities are not of type 'City'";
|
|
19
19
|
readonly params: readonly ["ids"];
|
|
20
|
-
readonly affectedFields: readonly ["
|
|
20
|
+
readonly affectedFields: readonly ["city"];
|
|
21
21
|
};
|
|
22
22
|
readonly ZIP_CODES_NOT_FOUND: {
|
|
23
23
|
readonly message: "Zip codes do not exist";
|
|
24
24
|
readonly params: readonly ["ids"];
|
|
25
|
-
readonly affectedFields: readonly ["
|
|
25
|
+
readonly affectedFields: readonly ["zip"];
|
|
26
26
|
};
|
|
27
27
|
readonly CONTACT_ROLES_NOT_FOUND: {
|
|
28
28
|
readonly message: "Contact roles do not exist";
|
|
@@ -5,27 +5,27 @@ exports.CLIENT_RECORDS_ADDRESSES = {
|
|
|
5
5
|
STATES_NOT_FOUND: {
|
|
6
6
|
message: 'States do not exist',
|
|
7
7
|
params: ['ids'],
|
|
8
|
-
affectedFields: ['
|
|
8
|
+
affectedFields: ['state'],
|
|
9
9
|
},
|
|
10
10
|
INVALID_STATE_TYPE: {
|
|
11
11
|
message: `States are not of type 'State'`,
|
|
12
12
|
params: ['ids'],
|
|
13
|
-
affectedFields: ['
|
|
13
|
+
affectedFields: ['state'],
|
|
14
14
|
},
|
|
15
15
|
CITIES_NOT_FOUND: {
|
|
16
16
|
message: `Cities do not exist`,
|
|
17
17
|
params: ['ids'],
|
|
18
|
-
affectedFields: ['
|
|
18
|
+
affectedFields: ['city'],
|
|
19
19
|
},
|
|
20
20
|
INVALID_CITY_TYPE: {
|
|
21
21
|
message: `Cities are not of type 'City'`,
|
|
22
22
|
params: ['ids'],
|
|
23
|
-
affectedFields: ['
|
|
23
|
+
affectedFields: ['city'],
|
|
24
24
|
},
|
|
25
25
|
ZIP_CODES_NOT_FOUND: {
|
|
26
26
|
message: `Zip codes do not exist`,
|
|
27
27
|
params: ['ids'],
|
|
28
|
-
affectedFields: ['
|
|
28
|
+
affectedFields: ['zip'],
|
|
29
29
|
},
|
|
30
30
|
CONTACT_ROLES_NOT_FOUND: {
|
|
31
31
|
message: `Contact roles do not exist`,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const CLIENT_RECORDS_BANKS: {
|
|
2
|
+
readonly INVALID_ROUTING_NUMBER: {
|
|
3
|
+
readonly message: "Enter a valid routing number.";
|
|
4
|
+
readonly affectedFields: readonly ["routingNumber"];
|
|
5
|
+
};
|
|
6
|
+
readonly INVALID_ACCOUNT_NUMBER: {
|
|
7
|
+
readonly message: "Enter a valid account number.";
|
|
8
|
+
readonly affectedFields: readonly ["accountNumber"];
|
|
9
|
+
};
|
|
10
|
+
readonly INVALID_DESCRIPTION: {
|
|
11
|
+
readonly message: "There is another payment method with the same description. Please ensure all payment methods have different descriptions.";
|
|
12
|
+
readonly affectedFields: readonly ["description"];
|
|
13
|
+
};
|
|
14
|
+
readonly NO_DEFAULT_PAYMENT_METHOD: {
|
|
15
|
+
readonly message: "There must be at least one payment method marked as default. Please select a default payment method.";
|
|
16
|
+
readonly affectedFields: readonly ["paymentMethods"];
|
|
17
|
+
};
|
|
18
|
+
readonly MULTIPLE_DEFAULT_PAYMENT_METHODS: {
|
|
19
|
+
readonly message: "There can only be one default payment method. Please ensure only one payment method is marked as default.";
|
|
20
|
+
readonly affectedFields: readonly ["paymentMethods"];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=client-records-banks.validation-messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-records-banks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-records-banks.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;CAuBvB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CLIENT_RECORDS_BANKS = void 0;
|
|
4
|
+
exports.CLIENT_RECORDS_BANKS = {
|
|
5
|
+
INVALID_ROUTING_NUMBER: {
|
|
6
|
+
message: 'Enter a valid routing number.',
|
|
7
|
+
affectedFields: ['routingNumber'],
|
|
8
|
+
},
|
|
9
|
+
INVALID_ACCOUNT_NUMBER: {
|
|
10
|
+
message: 'Enter a valid account number.',
|
|
11
|
+
affectedFields: ['accountNumber'],
|
|
12
|
+
},
|
|
13
|
+
INVALID_DESCRIPTION: {
|
|
14
|
+
message: 'There is another payment method with the same description. Please ensure all payment methods have different descriptions.',
|
|
15
|
+
affectedFields: ['description'],
|
|
16
|
+
},
|
|
17
|
+
NO_DEFAULT_PAYMENT_METHOD: {
|
|
18
|
+
message: 'There must be at least one payment method marked as default. Please select a default payment method.',
|
|
19
|
+
affectedFields: ['paymentMethods'],
|
|
20
|
+
},
|
|
21
|
+
MULTIPLE_DEFAULT_PAYMENT_METHODS: {
|
|
22
|
+
message: 'There can only be one default payment method. Please ensure only one payment method is marked as default.',
|
|
23
|
+
affectedFields: ['paymentMethods'],
|
|
24
|
+
},
|
|
25
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_COMMISSION_DETAILS: {
|
|
2
2
|
readonly INVALID_REQUEST_IS_SUBJECT_TO_COMMISSION: {
|
|
3
3
|
readonly message: "If client is subject to commission, sales representative and commission rate must be provided.";
|
|
4
|
-
readonly affectedFields: readonly ["
|
|
4
|
+
readonly affectedFields: readonly ["subjectToCommission", "salesRepresentative", "commissionRate"];
|
|
5
5
|
};
|
|
6
6
|
readonly INVALID_REQUEST_IS_NOT_SUBJECT_TO_COMMISSION: {
|
|
7
7
|
readonly message: "If client is not subject to commission, sales representative and commission rate must not be provided.";
|
|
8
|
-
readonly affectedFields: readonly ["
|
|
8
|
+
readonly affectedFields: readonly ["subjectToCommission", "salesRepresentative", "commissionRate"];
|
|
9
9
|
};
|
|
10
10
|
readonly SALES_REPRESENTATIVE_DOES_NOT_EXIST: {
|
|
11
11
|
readonly message: "Sales representative does not exist";
|
|
12
12
|
readonly params: readonly ["id"];
|
|
13
|
-
readonly affectedFields: readonly ["
|
|
13
|
+
readonly affectedFields: readonly ["salesRepresentative"];
|
|
14
14
|
};
|
|
15
15
|
readonly COMISSION_RATE_TOO_LOW: {
|
|
16
16
|
readonly message: "Enter a commission value greater than 0.0";
|
|
@@ -4,16 +4,16 @@ exports.CLIENT_RECORDS_COMMISSION_DETAILS = void 0;
|
|
|
4
4
|
exports.CLIENT_RECORDS_COMMISSION_DETAILS = {
|
|
5
5
|
INVALID_REQUEST_IS_SUBJECT_TO_COMMISSION: {
|
|
6
6
|
message: 'If client is subject to commission, sales representative and commission rate must be provided.',
|
|
7
|
-
affectedFields: ['
|
|
7
|
+
affectedFields: ['subjectToCommission', 'salesRepresentative', 'commissionRate'],
|
|
8
8
|
},
|
|
9
9
|
INVALID_REQUEST_IS_NOT_SUBJECT_TO_COMMISSION: {
|
|
10
10
|
message: 'If client is not subject to commission, sales representative and commission rate must not be provided.',
|
|
11
|
-
affectedFields: ['
|
|
11
|
+
affectedFields: ['subjectToCommission', 'salesRepresentative', 'commissionRate'],
|
|
12
12
|
},
|
|
13
13
|
SALES_REPRESENTATIVE_DOES_NOT_EXIST: {
|
|
14
14
|
message: `Sales representative does not exist`,
|
|
15
15
|
params: ['id'],
|
|
16
|
-
affectedFields: ['
|
|
16
|
+
affectedFields: ['salesRepresentative'],
|
|
17
17
|
},
|
|
18
18
|
COMISSION_RATE_TOO_LOW: {
|
|
19
19
|
message: `Enter a commission value greater than 0.0`,
|
|
@@ -2,12 +2,12 @@ export declare const CLIENT_RECORDS_CONTACTS: {
|
|
|
2
2
|
readonly CONTACT_ROLES_NOT_FOUND: {
|
|
3
3
|
readonly message: "Contact roles do not exist";
|
|
4
4
|
readonly params: readonly ["ids"];
|
|
5
|
-
readonly affectedFields: readonly ["
|
|
5
|
+
readonly affectedFields: readonly ["contact"];
|
|
6
6
|
};
|
|
7
7
|
readonly CONTACT_TYPES_NOT_FOUND: {
|
|
8
8
|
readonly message: "Contact types do not exist";
|
|
9
9
|
readonly params: readonly ["ids"];
|
|
10
|
-
readonly affectedFields: readonly ["
|
|
10
|
+
readonly affectedFields: readonly ["type"];
|
|
11
11
|
};
|
|
12
12
|
readonly LEGAL_CONTACT_MUST_BE_PROVIDED: {
|
|
13
13
|
readonly message: "The client must have a legal contact. Please set the contact type to 'Legal'.";
|
|
@@ -5,12 +5,12 @@ exports.CLIENT_RECORDS_CONTACTS = {
|
|
|
5
5
|
CONTACT_ROLES_NOT_FOUND: {
|
|
6
6
|
message: `Contact roles do not exist`,
|
|
7
7
|
params: ['ids'],
|
|
8
|
-
affectedFields: ['
|
|
8
|
+
affectedFields: ['contact'],
|
|
9
9
|
},
|
|
10
10
|
CONTACT_TYPES_NOT_FOUND: {
|
|
11
11
|
message: `Contact types do not exist`,
|
|
12
12
|
params: ['ids'],
|
|
13
|
-
affectedFields: ['
|
|
13
|
+
affectedFields: ['type'],
|
|
14
14
|
},
|
|
15
15
|
LEGAL_CONTACT_MUST_BE_PROVIDED: {
|
|
16
16
|
message: `The client must have a legal contact. Please set the contact type to 'Legal'.`,
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly
|
|
3
|
-
readonly message: "Enter a valid
|
|
4
|
-
readonly affectedFields: readonly ["
|
|
1
|
+
export declare const CLIENT_RECORDS_CREDIT_CARDS: {
|
|
2
|
+
readonly INVALID_EXPIRATION_DATE: {
|
|
3
|
+
readonly message: "Enter a valid expiration date (i.e. 12/2024).";
|
|
4
|
+
readonly affectedFields: readonly ["expDate"];
|
|
5
|
+
};
|
|
6
|
+
readonly INVALID_SECURITY_CODE: {
|
|
7
|
+
readonly message: "Enter a valid security code (i.e. 1234).";
|
|
8
|
+
readonly affectedFields: readonly ["securityCode"];
|
|
5
9
|
};
|
|
6
10
|
readonly INVALID_ACCOUNT_NUMBER: {
|
|
7
11
|
readonly message: "Enter a valid account number.";
|
|
@@ -19,13 +23,5 @@ export declare const CLIENT_RECORDS_BANKS_AND_CREDIT_CARDS: {
|
|
|
19
23
|
readonly message: "There can only be one default payment method. Please ensure only one payment method is marked as default.";
|
|
20
24
|
readonly affectedFields: readonly ["paymentMethods"];
|
|
21
25
|
};
|
|
22
|
-
readonly INVALID_EXPIRATION_DATE: {
|
|
23
|
-
readonly message: "Enter a valid expiration date (i.e. 12/2024).";
|
|
24
|
-
readonly affectedFields: readonly ["expirationDate"];
|
|
25
|
-
};
|
|
26
|
-
readonly INVALID_SECURITY_CODE: {
|
|
27
|
-
readonly message: "Enter a valid security code (i.e. 1234).";
|
|
28
|
-
readonly affectedFields: readonly ["securityCode"];
|
|
29
|
-
};
|
|
30
26
|
};
|
|
31
|
-
//# sourceMappingURL=client-records-
|
|
27
|
+
//# sourceMappingURL=client-records-credit-cards.validation-messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-records-credit-cards.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-records-credit-cards.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;CA2B9B,CAAC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
message: 'Enter a valid
|
|
7
|
-
affectedFields: ['
|
|
3
|
+
exports.CLIENT_RECORDS_CREDIT_CARDS = void 0;
|
|
4
|
+
exports.CLIENT_RECORDS_CREDIT_CARDS = {
|
|
5
|
+
INVALID_EXPIRATION_DATE: {
|
|
6
|
+
message: 'Enter a valid expiration date (i.e. 12/2024).',
|
|
7
|
+
affectedFields: ['expDate'],
|
|
8
|
+
},
|
|
9
|
+
INVALID_SECURITY_CODE: {
|
|
10
|
+
message: 'Enter a valid security code (i.e. 1234).',
|
|
11
|
+
affectedFields: ['securityCode'],
|
|
8
12
|
},
|
|
9
13
|
INVALID_ACCOUNT_NUMBER: {
|
|
10
14
|
message: 'Enter a valid account number.',
|
|
@@ -22,12 +26,4 @@ exports.CLIENT_RECORDS_BANKS_AND_CREDIT_CARDS = {
|
|
|
22
26
|
message: 'There can only be one default payment method. Please ensure only one payment method is marked as default.',
|
|
23
27
|
affectedFields: ['paymentMethods'],
|
|
24
28
|
},
|
|
25
|
-
INVALID_EXPIRATION_DATE: {
|
|
26
|
-
message: 'Enter a valid expiration date (i.e. 12/2024).',
|
|
27
|
-
affectedFields: ['expirationDate'],
|
|
28
|
-
},
|
|
29
|
-
INVALID_SECURITY_CODE: {
|
|
30
|
-
message: 'Enter a valid security code (i.e. 1234).',
|
|
31
|
-
affectedFields: ['securityCode'],
|
|
32
|
-
},
|
|
33
29
|
};
|
package/dist/validation/features/client-records-entity-states-histories.validation-messages.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const CLIENT_RECORDS_ENTITY_STATES: {
|
|
|
2
2
|
readonly STATE_ID_DOES_NOT_EXIST: {
|
|
3
3
|
readonly message: "State does not exist";
|
|
4
4
|
readonly params: readonly ["id"];
|
|
5
|
-
readonly affectedFields: readonly ["
|
|
5
|
+
readonly affectedFields: readonly ["state"];
|
|
6
6
|
};
|
|
7
7
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
|
|
8
8
|
readonly message: "The state, {domesticState}, starts on {domesticStateStartingDate}, which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the state or the client's date established.";
|
|
@@ -16,17 +16,17 @@ export declare const CLIENT_RECORDS_ENTITY_STATES: {
|
|
|
16
16
|
};
|
|
17
17
|
readonly DOMESTIC_STATE_STARTING_DATE_NOT_POPULATED: {
|
|
18
18
|
readonly message: "Current Domestic State Starting Date cannot be Empty";
|
|
19
|
-
readonly affectedFields: readonly ["
|
|
19
|
+
readonly affectedFields: readonly ["stateStartingDate"];
|
|
20
20
|
};
|
|
21
21
|
readonly STATES_IDS_DOES_NOT_EXIST: {
|
|
22
22
|
readonly message: "States do not exist";
|
|
23
23
|
readonly params: readonly ["ids"];
|
|
24
|
-
readonly affectedFields: readonly ["
|
|
24
|
+
readonly affectedFields: readonly ["state"];
|
|
25
25
|
};
|
|
26
26
|
readonly RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
27
27
|
readonly message: "Residence type does not exist";
|
|
28
28
|
readonly params: readonly ["ids"];
|
|
29
|
-
readonly affectedFields: readonly ["
|
|
29
|
+
readonly affectedFields: readonly ["residence"];
|
|
30
30
|
};
|
|
31
31
|
readonly AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
32
32
|
readonly message: "At least one domestic state should exist";
|
package/dist/validation/features/client-records-entity-states-histories.validation-messages.js
CHANGED
|
@@ -5,7 +5,7 @@ exports.CLIENT_RECORDS_ENTITY_STATES = {
|
|
|
5
5
|
STATE_ID_DOES_NOT_EXIST: {
|
|
6
6
|
message: `State does not exist`,
|
|
7
7
|
params: ['id'],
|
|
8
|
-
affectedFields: ['
|
|
8
|
+
affectedFields: ['state'],
|
|
9
9
|
},
|
|
10
10
|
NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
|
|
11
11
|
message: `The state, {domesticState}, starts on {domesticStateStartingDate}, which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the state or the client's date established.`,
|
|
@@ -19,17 +19,17 @@ exports.CLIENT_RECORDS_ENTITY_STATES = {
|
|
|
19
19
|
},
|
|
20
20
|
DOMESTIC_STATE_STARTING_DATE_NOT_POPULATED: {
|
|
21
21
|
message: `Current Domestic State Starting Date cannot be Empty`,
|
|
22
|
-
affectedFields: ['
|
|
22
|
+
affectedFields: ['stateStartingDate'],
|
|
23
23
|
},
|
|
24
24
|
STATES_IDS_DOES_NOT_EXIST: {
|
|
25
25
|
message: `States do not exist`,
|
|
26
26
|
params: ['ids'],
|
|
27
|
-
affectedFields: ['
|
|
27
|
+
affectedFields: ['state'],
|
|
28
28
|
},
|
|
29
29
|
RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
30
30
|
message: `Residence type does not exist`,
|
|
31
31
|
params: ['ids'],
|
|
32
|
-
affectedFields: ['
|
|
32
|
+
affectedFields: ['residence'],
|
|
33
33
|
},
|
|
34
34
|
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
35
35
|
message: `At least one domestic state should exist`,
|
package/dist/validation/features/client-records-entity-types-histories.validation-messages.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const CLIENT_RECORDS_ENTITY_TYPES: {
|
|
|
2
2
|
readonly ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
3
|
readonly message: "Entity type does not exist";
|
|
4
4
|
readonly params: readonly ["id"];
|
|
5
|
-
readonly affectedFields: readonly ["
|
|
5
|
+
readonly affectedFields: readonly ["entityType"];
|
|
6
6
|
};
|
|
7
7
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPE_STARTING_DATE: {
|
|
8
8
|
readonly message: "One or more entity types have a start date that is before the client's date established, {clientDateEstablished}. ({entityType} starting {entityTypeStartingDate}). Please update the entity type start dates to be on or after the client's date established, or update the client's date established.";
|
|
@@ -25,7 +25,7 @@ export declare const CLIENT_RECORDS_ENTITY_TYPES: {
|
|
|
25
25
|
readonly ENTITY_TYPES_IDS_DOES_NOT_EXIST: {
|
|
26
26
|
readonly message: "Entity types do not exist";
|
|
27
27
|
readonly params: readonly ["ids"];
|
|
28
|
-
readonly affectedFields: readonly ["
|
|
28
|
+
readonly affectedFields: readonly ["entityType"];
|
|
29
29
|
};
|
|
30
30
|
readonly AT_LEAST_ONE_ENTITY_TYPE_SHOULD_EXIST: {
|
|
31
31
|
readonly message: "At least one entity type should exist";
|
package/dist/validation/features/client-records-entity-types-histories.validation-messages.js
CHANGED
|
@@ -5,7 +5,7 @@ exports.CLIENT_RECORDS_ENTITY_TYPES = {
|
|
|
5
5
|
ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
6
6
|
message: `Entity type does not exist`,
|
|
7
7
|
params: ['id'],
|
|
8
|
-
affectedFields: ['
|
|
8
|
+
affectedFields: ['entityType'],
|
|
9
9
|
},
|
|
10
10
|
NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPE_STARTING_DATE: {
|
|
11
11
|
message: `One or more entity types have a start date that is before the client's date established, {clientDateEstablished}. ({entityType} starting {entityTypeStartingDate}). Please update the entity type start dates to be on or after the client's date established, or update the client's date established.`,
|
|
@@ -28,7 +28,7 @@ exports.CLIENT_RECORDS_ENTITY_TYPES = {
|
|
|
28
28
|
ENTITY_TYPES_IDS_DOES_NOT_EXIST: {
|
|
29
29
|
message: `Entity types do not exist`,
|
|
30
30
|
params: ['ids'],
|
|
31
|
-
affectedFields: ['
|
|
31
|
+
affectedFields: ['entityType'],
|
|
32
32
|
},
|
|
33
33
|
AT_LEAST_ONE_ENTITY_TYPE_SHOULD_EXIST: {
|
|
34
34
|
message: `At least one entity type should exist`,
|
package/dist/validation/features/client-records-filing-types-histories.validation-messages.d.ts
CHANGED
|
@@ -2,15 +2,15 @@ export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
|
2
2
|
readonly FILING_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
3
|
readonly message: "Sub/Parent status does not exist";
|
|
4
4
|
readonly params: readonly ["id"];
|
|
5
|
-
readonly affectedFields: readonly ["
|
|
5
|
+
readonly affectedFields: readonly ["filingType"];
|
|
6
6
|
};
|
|
7
7
|
readonly FILING_TYPE_PARENT_REQUIRED: {
|
|
8
8
|
readonly message: "Parent needs to be specified for filing type 'Files under parent'";
|
|
9
|
-
readonly affectedFields: readonly ["
|
|
9
|
+
readonly affectedFields: readonly ["currentParent"];
|
|
10
10
|
};
|
|
11
11
|
readonly CURRENT_FILING_TYPE_PARENT_REQUIRED: {
|
|
12
12
|
readonly message: "Parent needs to be specified for current filing type 'Files under parent'";
|
|
13
|
-
readonly affectedFields: readonly ["
|
|
13
|
+
readonly affectedFields: readonly ["currentParent"];
|
|
14
14
|
};
|
|
15
15
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
16
16
|
readonly message: "The Sub/Parent status {filingType} starts on {filingTypeStartingDate} which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the Sub/Parent status or the client's date established.";
|
|
@@ -33,7 +33,7 @@ export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
|
33
33
|
readonly FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
34
34
|
readonly message: "Sub/Parent status do not exist";
|
|
35
35
|
readonly params: readonly ["ids"];
|
|
36
|
-
readonly affectedFields: readonly ["
|
|
36
|
+
readonly affectedFields: readonly ["filingType"];
|
|
37
37
|
};
|
|
38
38
|
readonly AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
39
39
|
readonly message: "At least one Sub/Parent status should exist";
|
package/dist/validation/features/client-records-filing-types-histories.validation-messages.js
CHANGED
|
@@ -5,15 +5,15 @@ exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
|
5
5
|
FILING_TYPE_ID_DOES_NOT_EXIST: {
|
|
6
6
|
message: `Sub/Parent status does not exist`,
|
|
7
7
|
params: ['id'],
|
|
8
|
-
affectedFields: ['
|
|
8
|
+
affectedFields: ['filingType'],
|
|
9
9
|
},
|
|
10
10
|
FILING_TYPE_PARENT_REQUIRED: {
|
|
11
11
|
message: `Parent needs to be specified for filing type 'Files under parent'`,
|
|
12
|
-
affectedFields: ['
|
|
12
|
+
affectedFields: ['currentParent'],
|
|
13
13
|
},
|
|
14
14
|
CURRENT_FILING_TYPE_PARENT_REQUIRED: {
|
|
15
15
|
message: `Parent needs to be specified for current filing type 'Files under parent'`,
|
|
16
|
-
affectedFields: ['
|
|
16
|
+
affectedFields: ['currentParent'],
|
|
17
17
|
},
|
|
18
18
|
NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
19
19
|
message: `The Sub/Parent status {filingType} starts on {filingTypeStartingDate} which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the Sub/Parent status or the client's date established.`,
|
|
@@ -36,7 +36,7 @@ exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
|
36
36
|
FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
37
37
|
message: `Sub/Parent status do not exist`,
|
|
38
38
|
params: ['ids'],
|
|
39
|
-
affectedFields: ['
|
|
39
|
+
affectedFields: ['filingType'],
|
|
40
40
|
},
|
|
41
41
|
AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
42
42
|
message: `At least one Sub/Parent status should exist`,
|
|
@@ -2,12 +2,12 @@ export declare const CLIENT_RECORDS_OUTSIDE_PROVIDERS: {
|
|
|
2
2
|
readonly INVALID_TYPE: {
|
|
3
3
|
readonly message: "Outside provider types do not exist";
|
|
4
4
|
readonly params: readonly ["ids"];
|
|
5
|
-
readonly affectedFields: readonly ["
|
|
5
|
+
readonly affectedFields: readonly ["type"];
|
|
6
6
|
};
|
|
7
7
|
readonly SAME_TYPE_TIMELINE_OVERLAP: {
|
|
8
8
|
readonly message: "The client already has {outsideProviderType} starting from {startDate}. Your entry overlaps with that time. Please adjust the dates so they don't overlap.";
|
|
9
9
|
readonly params: readonly ["outsideProviderType", "startDate"];
|
|
10
|
-
readonly affectedFields: readonly ["
|
|
10
|
+
readonly affectedFields: readonly ["starting", "ending"];
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=client-records-outside-providers.validation-messages.d.ts.map
|
|
@@ -5,11 +5,11 @@ exports.CLIENT_RECORDS_OUTSIDE_PROVIDERS = {
|
|
|
5
5
|
INVALID_TYPE: {
|
|
6
6
|
message: `Outside provider types do not exist`,
|
|
7
7
|
params: ['ids'],
|
|
8
|
-
affectedFields: ['
|
|
8
|
+
affectedFields: ['type'],
|
|
9
9
|
},
|
|
10
10
|
SAME_TYPE_TIMELINE_OVERLAP: {
|
|
11
11
|
message: `The client already has {outsideProviderType} starting from {startDate}. Your entry overlaps with that time. Please adjust the dates so they don't overlap.`,
|
|
12
12
|
params: ['outsideProviderType', 'startDate'],
|
|
13
|
-
affectedFields: ['
|
|
13
|
+
affectedFields: ['starting', 'ending'],
|
|
14
14
|
},
|
|
15
15
|
};
|
|
@@ -45,11 +45,11 @@ export declare const CLIENT_RELATIONSHIPS_COMMON: {
|
|
|
45
45
|
};
|
|
46
46
|
readonly FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_CLIENT_CLOSE_DATE: {
|
|
47
47
|
readonly message: "The client has a close date that is the same as the relationship ending date, therefore the relationship must be marked as final. Please update the relationship's final status to 'Yes', or adjust the dates.";
|
|
48
|
-
readonly affectedFields: readonly ["
|
|
48
|
+
readonly affectedFields: readonly ["final"];
|
|
49
49
|
};
|
|
50
50
|
readonly FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_RELATED_CLIENT_CLOSE_DATE: {
|
|
51
51
|
readonly message: "The related client has a close date that is the same as the relationship ending date, therefore the relationship must be marked as final. Please update the relationship's final status to 'Yes', or adjust the dates.";
|
|
52
|
-
readonly affectedFields: readonly ["
|
|
52
|
+
readonly affectedFields: readonly ["final"];
|
|
53
53
|
};
|
|
54
54
|
readonly CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
55
55
|
readonly message: "{clientName} is listed as a {relationshipType} of {relatedClientName}, during the same timeframe that {relatedClientName} is listed as a {relationshipType} of {clientName}. Please review the relationship records for both clients and adjust the dates or relationship types to prevent a circular loop.";
|
|
@@ -48,11 +48,11 @@ exports.CLIENT_RELATIONSHIPS_COMMON = {
|
|
|
48
48
|
},
|
|
49
49
|
FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_CLIENT_CLOSE_DATE: {
|
|
50
50
|
message: `The client has a close date that is the same as the relationship ending date, therefore the relationship must be marked as final. Please update the relationship's final status to 'Yes', or adjust the dates.`,
|
|
51
|
-
affectedFields: ['
|
|
51
|
+
affectedFields: ['final'],
|
|
52
52
|
},
|
|
53
53
|
FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_RELATED_CLIENT_CLOSE_DATE: {
|
|
54
54
|
message: `The related client has a close date that is the same as the relationship ending date, therefore the relationship must be marked as final. Please update the relationship's final status to 'Yes', or adjust the dates.`,
|
|
55
|
-
affectedFields: ['
|
|
55
|
+
affectedFields: ['final'],
|
|
56
56
|
},
|
|
57
57
|
CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
58
58
|
message: `{clientName} is listed as a {relationshipType} of {relatedClientName}, during the same timeframe that {relatedClientName} is listed as a {relationshipType} of {clientName}. Please review the relationship records for both clients and adjust the dates or relationship types to prevent a circular loop.`,
|
|
@@ -9,19 +9,19 @@ export declare const TEMPLATE_ASSIGNMENTS: {
|
|
|
9
9
|
};
|
|
10
10
|
readonly DEFAULT_STAFF_REQUIRED: {
|
|
11
11
|
readonly message: "Default staff is required";
|
|
12
|
-
readonly affectedFields: readonly ["
|
|
12
|
+
readonly affectedFields: readonly ["defaultStaff"];
|
|
13
13
|
};
|
|
14
14
|
readonly INVALID_STAFF: {
|
|
15
15
|
readonly message: "Invalid staff member";
|
|
16
|
-
readonly affectedFields: readonly ["
|
|
16
|
+
readonly affectedFields: readonly ["defaultStaff"];
|
|
17
17
|
};
|
|
18
18
|
readonly ASSIGNMENT_TYPE_REQUIRED: {
|
|
19
19
|
readonly message: "Assignment type is required";
|
|
20
|
-
readonly affectedFields: readonly ["
|
|
20
|
+
readonly affectedFields: readonly ["assignmentType"];
|
|
21
21
|
};
|
|
22
22
|
readonly INVALID_ASSIGNMENT_TYPE: {
|
|
23
23
|
readonly message: "Invalid assignment type";
|
|
24
|
-
readonly affectedFields: readonly ["
|
|
24
|
+
readonly affectedFields: readonly ["assignmentType"];
|
|
25
25
|
};
|
|
26
26
|
readonly ORDER_REQUIRED: {
|
|
27
27
|
readonly message: "Order is required for workflow assignments";
|
|
@@ -12,19 +12,19 @@ exports.TEMPLATE_ASSIGNMENTS = {
|
|
|
12
12
|
},
|
|
13
13
|
DEFAULT_STAFF_REQUIRED: {
|
|
14
14
|
message: 'Default staff is required',
|
|
15
|
-
affectedFields: ['
|
|
15
|
+
affectedFields: ['defaultStaff'],
|
|
16
16
|
},
|
|
17
17
|
INVALID_STAFF: {
|
|
18
18
|
message: 'Invalid staff member',
|
|
19
|
-
affectedFields: ['
|
|
19
|
+
affectedFields: ['defaultStaff'],
|
|
20
20
|
},
|
|
21
21
|
ASSIGNMENT_TYPE_REQUIRED: {
|
|
22
22
|
message: 'Assignment type is required',
|
|
23
|
-
affectedFields: ['
|
|
23
|
+
affectedFields: ['assignmentType'],
|
|
24
24
|
},
|
|
25
25
|
INVALID_ASSIGNMENT_TYPE: {
|
|
26
26
|
message: 'Invalid assignment type',
|
|
27
|
-
affectedFields: ['
|
|
27
|
+
affectedFields: ['assignmentType'],
|
|
28
28
|
},
|
|
29
29
|
ORDER_REQUIRED: {
|
|
30
30
|
message: 'Order is required for workflow assignments',
|