@forwardslashns/taskit-validation-messages 1.4.0 → 1.6.0
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/account-categories.validation-messages.d.ts +1 -1
- package/dist/validation/features/account-categories.validation-messages.js +1 -1
- package/dist/validation/features/account-ids.validation-messages.d.ts +2 -2
- package/dist/validation/features/account-ids.validation-messages.js +2 -2
- package/dist/validation/features/business-activities.validation-messages.d.ts +1 -1
- package/dist/validation/features/business-activities.validation-messages.js +1 -1
- package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts +7 -7
- package/dist/validation/features/client-current-entity-statuses.validation-messages.js +7 -7
- package/dist/validation/features/client-records-addresses.validation-messages.d.ts +7 -7
- package/dist/validation/features/client-records-addresses.validation-messages.js +7 -7
- package/dist/validation/features/client-records-commission-details.validation-messages.d.ts +1 -1
- package/dist/validation/features/client-records-commission-details.validation-messages.js +1 -1
- 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-entity-states-histories.validation-messages.d.ts +3 -3
- package/dist/validation/features/client-records-entity-states-histories.validation-messages.js +3 -3
- 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 +10 -10
- package/dist/validation/features/client-records-filing-types-histories.validation-messages.js +10 -10
- package/dist/validation/features/client-records-outside-providers.validation-messages.d.ts +1 -1
- package/dist/validation/features/client-records-outside-providers.validation-messages.js +1 -1
- package/dist/validation/features/client-relationships-common.validation-messages.d.ts +70 -0
- package/dist/validation/features/client-relationships-common.validation-messages.d.ts.map +1 -0
- package/dist/validation/features/client-relationships-common.validation-messages.js +72 -0
- package/dist/validation/features/client-relationships-income-sources.validation-messages.d.ts +72 -0
- package/dist/validation/features/client-relationships-income-sources.validation-messages.d.ts.map +1 -0
- package/dist/validation/features/client-relationships-income-sources.validation-messages.js +74 -0
- package/dist/validation/features/client-relationships-owners.validation-messages.d.ts +73 -0
- package/dist/validation/features/client-relationships-owners.validation-messages.d.ts.map +1 -0
- package/dist/validation/features/client-relationships-owners.validation-messages.js +75 -0
- package/dist/validation/features/filing-categories.validation-messages.d.ts +1 -1
- package/dist/validation/features/filing-categories.validation-messages.js +1 -1
- package/dist/validation/features/roles-and-permissions.validation-messages.d.ts +3 -3
- package/dist/validation/features/roles-and-permissions.validation-messages.js +3 -3
- package/dist/validation/features/states.validation-messages.d.ts +3 -3
- package/dist/validation/features/states.validation-messages.js +3 -3
- package/dist/validation/features/users.validation-messages.d.ts +2 -2
- package/dist/validation/features/users.validation-messages.js +2 -2
- package/dist/validation/validation-messages.d.ts +92 -88
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/dist/validation/validation-messages.js +6 -2
- package/package.json +1 -1
- package/src/validation/features/account-categories.validation-messages.ts +1 -1
- package/src/validation/features/account-ids.validation-messages.ts +2 -2
- package/src/validation/features/business-activities.validation-messages.ts +1 -1
- package/src/validation/features/client-current-entity-statuses.validation-messages.ts +7 -7
- package/src/validation/features/client-records-addresses.validation-messages.ts +7 -7
- package/src/validation/features/client-records-commission-details.validation-messages.ts +1 -1
- package/src/validation/features/client-records-contacts.validation-messages.ts +2 -2
- package/src/validation/features/client-records-entity-states-histories.validation-messages.ts +3 -3
- 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 +10 -10
- package/src/validation/features/client-records-outside-providers.validation-messages.ts +1 -1
- package/src/validation/features/client-relationships-common.validation-messages.ts +69 -0
- package/src/validation/features/client-relationships-income-sources.validation-messages.ts +71 -0
- package/src/validation/features/client-relationships-owners.validation-messages.ts +72 -0
- package/src/validation/features/filing-categories.validation-messages.ts +1 -1
- package/src/validation/features/roles-and-permissions.validation-messages.ts +3 -3
- package/src/validation/features/states.validation-messages.ts +3 -3
- package/src/validation/features/users.validation-messages.ts +2 -2
- package/src/validation/validation-messages.ts +6 -2
|
@@ -4,7 +4,7 @@ export declare const ACCOUNT_CATEGORIES: {
|
|
|
4
4
|
readonly affectedFields: readonly [];
|
|
5
5
|
};
|
|
6
6
|
readonly ID_DOES_NOT_EXIST: {
|
|
7
|
-
readonly message: "Account category
|
|
7
|
+
readonly message: "Account category does not exist";
|
|
8
8
|
readonly params: readonly ["id"];
|
|
9
9
|
readonly affectedFields: readonly ["accountCategoryId"];
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ export declare const ACCOUNT_IDS: {
|
|
|
4
4
|
readonly affectedFields: readonly [];
|
|
5
5
|
};
|
|
6
6
|
readonly ID_DOES_NOT_EXIST: {
|
|
7
|
-
readonly message: "Account id
|
|
7
|
+
readonly message: "Account id does not exist";
|
|
8
8
|
readonly params: readonly ["id"];
|
|
9
9
|
readonly affectedFields: readonly ["accountId"];
|
|
10
10
|
};
|
|
@@ -14,7 +14,7 @@ export declare const ACCOUNT_IDS: {
|
|
|
14
14
|
readonly affectedFields: readonly ["name"];
|
|
15
15
|
};
|
|
16
16
|
readonly ACCOUNT_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
17
|
-
readonly message: "Account category
|
|
17
|
+
readonly message: "Account category does not exist";
|
|
18
18
|
readonly params: readonly ["id"];
|
|
19
19
|
readonly affectedFields: readonly ["accountCategoryId"];
|
|
20
20
|
};
|
|
@@ -7,7 +7,7 @@ exports.ACCOUNT_IDS = {
|
|
|
7
7
|
affectedFields: [],
|
|
8
8
|
},
|
|
9
9
|
ID_DOES_NOT_EXIST: {
|
|
10
|
-
message: `Account id
|
|
10
|
+
message: `Account id does not exist`,
|
|
11
11
|
params: ['id'],
|
|
12
12
|
affectedFields: ['accountId'],
|
|
13
13
|
},
|
|
@@ -17,7 +17,7 @@ exports.ACCOUNT_IDS = {
|
|
|
17
17
|
affectedFields: ['name'],
|
|
18
18
|
},
|
|
19
19
|
ACCOUNT_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
20
|
-
message: `Account category
|
|
20
|
+
message: `Account category does not exist`,
|
|
21
21
|
params: ['id'],
|
|
22
22
|
affectedFields: ['accountCategoryId'],
|
|
23
23
|
},
|
|
@@ -4,7 +4,7 @@ export declare const BUSINESS_ACTIVITIES: {
|
|
|
4
4
|
readonly affectedFields: readonly [];
|
|
5
5
|
};
|
|
6
6
|
readonly ID_DOES_NOT_EXIST: {
|
|
7
|
-
readonly message: "Business activity
|
|
7
|
+
readonly message: "Business activity does not exist.";
|
|
8
8
|
readonly params: readonly ["id"];
|
|
9
9
|
readonly affectedFields: readonly ["businessActivityId"];
|
|
10
10
|
};
|
|
@@ -4,32 +4,32 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
4
4
|
readonly affectedFields: readonly [];
|
|
5
5
|
};
|
|
6
6
|
readonly ID_DOES_NOT_EXIST: {
|
|
7
|
-
readonly message: "Client
|
|
7
|
+
readonly message: "Client does not exist";
|
|
8
8
|
readonly params: readonly ["id"];
|
|
9
9
|
readonly affectedFields: readonly ["clientId"];
|
|
10
10
|
};
|
|
11
11
|
readonly ACCOUNT_ID_DOES_NOT_EXIST: {
|
|
12
|
-
readonly message: "Account id
|
|
12
|
+
readonly message: "Account id does not exist";
|
|
13
13
|
readonly params: readonly ["id"];
|
|
14
14
|
readonly affectedFields: readonly ["accountId"];
|
|
15
15
|
};
|
|
16
16
|
readonly FILING_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
17
|
-
readonly message: "Filing category
|
|
17
|
+
readonly message: "Filing category does not exist";
|
|
18
18
|
readonly params: readonly ["id"];
|
|
19
19
|
readonly affectedFields: readonly ["filingCategoryId"];
|
|
20
20
|
};
|
|
21
21
|
readonly BUSINESS_ACTIVITY_ID_DOES_NOT_EXIST: {
|
|
22
|
-
readonly message: "Business activity
|
|
22
|
+
readonly message: "Business activity does not exist";
|
|
23
23
|
readonly params: readonly ["id"];
|
|
24
24
|
readonly affectedFields: readonly ["businessActivityId"];
|
|
25
25
|
};
|
|
26
26
|
readonly BILLING_TYPE_ID_DOES_NOT_EXIST: {
|
|
27
|
-
readonly message: "Billing type
|
|
27
|
+
readonly message: "Billing type does not exist";
|
|
28
28
|
readonly params: readonly ["id"];
|
|
29
29
|
readonly affectedFields: readonly ["billingTypeId"];
|
|
30
30
|
};
|
|
31
31
|
readonly CLIENT_WITH_SAME_FEDERAL_LEGAL_ID_EXISTS: {
|
|
32
|
-
readonly message: "This ID is already in use. Please enter a different ID.";
|
|
32
|
+
readonly message: "This federal legal ID is already in use. Please enter a different federal legal ID.";
|
|
33
33
|
readonly affectedFields: readonly ["federalLegalId"];
|
|
34
34
|
};
|
|
35
35
|
readonly INVALID_CLIENT_ACTIVITY_STATUS: {
|
|
@@ -37,7 +37,7 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
37
37
|
readonly affectedFields: readonly ["isActive", "clientType"];
|
|
38
38
|
};
|
|
39
39
|
readonly INVALID_FEDERAL_LEGAL_ID: {
|
|
40
|
-
readonly message: "Enter a valid {legalIdType} (e.g. {legalIdValue})";
|
|
40
|
+
readonly message: "Enter a valid federal legal ID {legalIdType} (e.g. {legalIdValue})";
|
|
41
41
|
readonly params: readonly ["legalIdType", "legalIdValue"];
|
|
42
42
|
readonly affectedFields: readonly ["federalLegalId"];
|
|
43
43
|
};
|
|
@@ -7,32 +7,32 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
7
7
|
affectedFields: [],
|
|
8
8
|
},
|
|
9
9
|
ID_DOES_NOT_EXIST: {
|
|
10
|
-
message: `Client
|
|
10
|
+
message: `Client does not exist`,
|
|
11
11
|
params: ['id'],
|
|
12
12
|
affectedFields: ['clientId'],
|
|
13
13
|
},
|
|
14
14
|
ACCOUNT_ID_DOES_NOT_EXIST: {
|
|
15
|
-
message: `Account id
|
|
15
|
+
message: `Account id does not exist`,
|
|
16
16
|
params: ['id'],
|
|
17
17
|
affectedFields: ['accountId'],
|
|
18
18
|
},
|
|
19
19
|
FILING_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
20
|
-
message: `Filing category
|
|
20
|
+
message: `Filing category does not exist`,
|
|
21
21
|
params: ['id'],
|
|
22
22
|
affectedFields: ['filingCategoryId'],
|
|
23
23
|
},
|
|
24
24
|
BUSINESS_ACTIVITY_ID_DOES_NOT_EXIST: {
|
|
25
|
-
message: `Business activity
|
|
25
|
+
message: `Business activity does not exist`,
|
|
26
26
|
params: ['id'],
|
|
27
27
|
affectedFields: ['businessActivityId'],
|
|
28
28
|
},
|
|
29
29
|
BILLING_TYPE_ID_DOES_NOT_EXIST: {
|
|
30
|
-
message: `Billing type
|
|
30
|
+
message: `Billing type does not exist`,
|
|
31
31
|
params: ['id'],
|
|
32
32
|
affectedFields: ['billingTypeId'],
|
|
33
33
|
},
|
|
34
34
|
CLIENT_WITH_SAME_FEDERAL_LEGAL_ID_EXISTS: {
|
|
35
|
-
message: `This ID is already in use. Please enter a different ID.`,
|
|
35
|
+
message: `This federal legal ID is already in use. Please enter a different federal legal ID.`,
|
|
36
36
|
affectedFields: ['federalLegalId'],
|
|
37
37
|
},
|
|
38
38
|
INVALID_CLIENT_ACTIVITY_STATUS: {
|
|
@@ -40,7 +40,7 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
40
40
|
affectedFields: ['isActive', 'clientType'],
|
|
41
41
|
},
|
|
42
42
|
INVALID_FEDERAL_LEGAL_ID: {
|
|
43
|
-
message: `Enter a valid {legalIdType} (e.g. {legalIdValue})`,
|
|
43
|
+
message: `Enter a valid federal legal ID {legalIdType} (e.g. {legalIdValue})`,
|
|
44
44
|
params: ['legalIdType', 'legalIdValue'],
|
|
45
45
|
affectedFields: ['federalLegalId'],
|
|
46
46
|
},
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_ADDRESSES: {
|
|
2
2
|
readonly STATES_NOT_FOUND: {
|
|
3
|
-
readonly message: "States
|
|
3
|
+
readonly message: "States do not exist";
|
|
4
4
|
readonly params: readonly ["ids"];
|
|
5
5
|
readonly affectedFields: readonly ["stateId"];
|
|
6
6
|
};
|
|
7
7
|
readonly INVALID_STATE_TYPE: {
|
|
8
|
-
readonly message: "States
|
|
8
|
+
readonly message: "States are not of type 'State'";
|
|
9
9
|
readonly params: readonly ["ids"];
|
|
10
10
|
readonly affectedFields: readonly ["stateId"];
|
|
11
11
|
};
|
|
12
12
|
readonly CITIES_NOT_FOUND: {
|
|
13
|
-
readonly message: "Cities
|
|
13
|
+
readonly message: "Cities do not exist";
|
|
14
14
|
readonly params: readonly ["ids"];
|
|
15
15
|
readonly affectedFields: readonly ["cityId"];
|
|
16
16
|
};
|
|
17
17
|
readonly INVALID_CITY_TYPE: {
|
|
18
|
-
readonly message: "Cities
|
|
18
|
+
readonly message: "Cities are not of type 'City'";
|
|
19
19
|
readonly params: readonly ["ids"];
|
|
20
20
|
readonly affectedFields: readonly ["cityId"];
|
|
21
21
|
};
|
|
22
22
|
readonly ZIP_CODES_NOT_FOUND: {
|
|
23
|
-
readonly message: "Zip codes
|
|
23
|
+
readonly message: "Zip codes do not exist";
|
|
24
24
|
readonly params: readonly ["ids"];
|
|
25
25
|
readonly affectedFields: readonly ["zipCode"];
|
|
26
26
|
};
|
|
27
27
|
readonly CONTACT_ROLES_NOT_FOUND: {
|
|
28
|
-
readonly message: "Contact roles
|
|
28
|
+
readonly message: "Contact roles do not exist";
|
|
29
29
|
readonly params: readonly ["ids"];
|
|
30
30
|
readonly affectedFields: readonly ["contactRoleId"];
|
|
31
31
|
};
|
|
32
32
|
readonly CONTACT_TYPES_NOT_FOUND: {
|
|
33
|
-
readonly message: "Contact types
|
|
33
|
+
readonly message: "Contact types do not exist";
|
|
34
34
|
readonly params: readonly ["ids"];
|
|
35
35
|
readonly affectedFields: readonly ["contactTypeId"];
|
|
36
36
|
};
|
|
@@ -3,37 +3,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_ADDRESSES = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_ADDRESSES = {
|
|
5
5
|
STATES_NOT_FOUND: {
|
|
6
|
-
message: 'States
|
|
6
|
+
message: 'States do not exist',
|
|
7
7
|
params: ['ids'],
|
|
8
8
|
affectedFields: ['stateId'],
|
|
9
9
|
},
|
|
10
10
|
INVALID_STATE_TYPE: {
|
|
11
|
-
message: `States
|
|
11
|
+
message: `States are not of type 'State'`,
|
|
12
12
|
params: ['ids'],
|
|
13
13
|
affectedFields: ['stateId'],
|
|
14
14
|
},
|
|
15
15
|
CITIES_NOT_FOUND: {
|
|
16
|
-
message: `Cities
|
|
16
|
+
message: `Cities do not exist`,
|
|
17
17
|
params: ['ids'],
|
|
18
18
|
affectedFields: ['cityId'],
|
|
19
19
|
},
|
|
20
20
|
INVALID_CITY_TYPE: {
|
|
21
|
-
message: `Cities
|
|
21
|
+
message: `Cities are not of type 'City'`,
|
|
22
22
|
params: ['ids'],
|
|
23
23
|
affectedFields: ['cityId'],
|
|
24
24
|
},
|
|
25
25
|
ZIP_CODES_NOT_FOUND: {
|
|
26
|
-
message: `Zip codes
|
|
26
|
+
message: `Zip codes do not exist`,
|
|
27
27
|
params: ['ids'],
|
|
28
28
|
affectedFields: ['zipCode'],
|
|
29
29
|
},
|
|
30
30
|
CONTACT_ROLES_NOT_FOUND: {
|
|
31
|
-
message: `Contact roles
|
|
31
|
+
message: `Contact roles do not exist`,
|
|
32
32
|
params: ['ids'],
|
|
33
33
|
affectedFields: ['contactRoleId'],
|
|
34
34
|
},
|
|
35
35
|
CONTACT_TYPES_NOT_FOUND: {
|
|
36
|
-
message: `Contact types
|
|
36
|
+
message: `Contact types do not exist`,
|
|
37
37
|
params: ['ids'],
|
|
38
38
|
affectedFields: ['contactTypeId'],
|
|
39
39
|
},
|
|
@@ -8,7 +8,7 @@ export declare const CLIENT_RECORDS_COMMISSION_DETAILS: {
|
|
|
8
8
|
readonly affectedFields: readonly ["isSubjectToCommission", "salesRepresentativeId", "commissionRate"];
|
|
9
9
|
};
|
|
10
10
|
readonly SALES_REPRESENTATIVE_DOES_NOT_EXIST: {
|
|
11
|
-
readonly message: "Sales representative
|
|
11
|
+
readonly message: "Sales representative does not exist";
|
|
12
12
|
readonly params: readonly ["id"];
|
|
13
13
|
readonly affectedFields: readonly ["salesRepresentativeId"];
|
|
14
14
|
};
|
|
@@ -11,7 +11,7 @@ exports.CLIENT_RECORDS_COMMISSION_DETAILS = {
|
|
|
11
11
|
affectedFields: ['isSubjectToCommission', 'salesRepresentativeId', 'commissionRate'],
|
|
12
12
|
},
|
|
13
13
|
SALES_REPRESENTATIVE_DOES_NOT_EXIST: {
|
|
14
|
-
message: `Sales representative
|
|
14
|
+
message: `Sales representative does not exist`,
|
|
15
15
|
params: ['id'],
|
|
16
16
|
affectedFields: ['salesRepresentativeId'],
|
|
17
17
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_CONTACTS: {
|
|
2
2
|
readonly CONTACT_ROLES_NOT_FOUND: {
|
|
3
|
-
readonly message: "Contact roles
|
|
3
|
+
readonly message: "Contact roles do not exist";
|
|
4
4
|
readonly params: readonly ["ids"];
|
|
5
5
|
readonly affectedFields: readonly ["contactRoleId"];
|
|
6
6
|
};
|
|
7
7
|
readonly CONTACT_TYPES_NOT_FOUND: {
|
|
8
|
-
readonly message: "Contact types
|
|
8
|
+
readonly message: "Contact types do not exist";
|
|
9
9
|
readonly params: readonly ["ids"];
|
|
10
10
|
readonly affectedFields: readonly ["contactTypeId"];
|
|
11
11
|
};
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_CONTACTS = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_CONTACTS = {
|
|
5
5
|
CONTACT_ROLES_NOT_FOUND: {
|
|
6
|
-
message: `Contact roles
|
|
6
|
+
message: `Contact roles do not exist`,
|
|
7
7
|
params: ['ids'],
|
|
8
8
|
affectedFields: ['contactRoleId'],
|
|
9
9
|
},
|
|
10
10
|
CONTACT_TYPES_NOT_FOUND: {
|
|
11
|
-
message: `Contact types
|
|
11
|
+
message: `Contact types do not exist`,
|
|
12
12
|
params: ['ids'],
|
|
13
13
|
affectedFields: ['contactTypeId'],
|
|
14
14
|
},
|
package/dist/validation/features/client-records-entity-states-histories.validation-messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_ENTITY_STATES: {
|
|
2
2
|
readonly STATE_ID_DOES_NOT_EXIST: {
|
|
3
|
-
readonly message: "State
|
|
3
|
+
readonly message: "State does not exist";
|
|
4
4
|
readonly params: readonly ["id"];
|
|
5
5
|
readonly affectedFields: readonly ["stateId"];
|
|
6
6
|
};
|
|
@@ -19,12 +19,12 @@ export declare const CLIENT_RECORDS_ENTITY_STATES: {
|
|
|
19
19
|
readonly affectedFields: readonly ["domesticStateStartingDate"];
|
|
20
20
|
};
|
|
21
21
|
readonly STATES_IDS_DOES_NOT_EXIST: {
|
|
22
|
-
readonly message: "States
|
|
22
|
+
readonly message: "States do not exist";
|
|
23
23
|
readonly params: readonly ["ids"];
|
|
24
24
|
readonly affectedFields: readonly ["stateId"];
|
|
25
25
|
};
|
|
26
26
|
readonly RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
27
|
-
readonly message: "Residence type
|
|
27
|
+
readonly message: "Residence type does not exist";
|
|
28
28
|
readonly params: readonly ["ids"];
|
|
29
29
|
readonly affectedFields: readonly ["residenceTypeId"];
|
|
30
30
|
};
|
package/dist/validation/features/client-records-entity-states-histories.validation-messages.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_ENTITY_STATES = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_ENTITY_STATES = {
|
|
5
5
|
STATE_ID_DOES_NOT_EXIST: {
|
|
6
|
-
message: `State
|
|
6
|
+
message: `State does not exist`,
|
|
7
7
|
params: ['id'],
|
|
8
8
|
affectedFields: ['stateId'],
|
|
9
9
|
},
|
|
@@ -22,12 +22,12 @@ exports.CLIENT_RECORDS_ENTITY_STATES = {
|
|
|
22
22
|
affectedFields: ['domesticStateStartingDate'],
|
|
23
23
|
},
|
|
24
24
|
STATES_IDS_DOES_NOT_EXIST: {
|
|
25
|
-
message: `States
|
|
25
|
+
message: `States do not exist`,
|
|
26
26
|
params: ['ids'],
|
|
27
27
|
affectedFields: ['stateId'],
|
|
28
28
|
},
|
|
29
29
|
RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
30
|
-
message: `Residence type
|
|
30
|
+
message: `Residence type does not exist`,
|
|
31
31
|
params: ['ids'],
|
|
32
32
|
affectedFields: ['residenceTypeId'],
|
|
33
33
|
},
|
package/dist/validation/features/client-records-entity-types-histories.validation-messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_ENTITY_TYPES: {
|
|
2
2
|
readonly ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
|
-
readonly message: "Entity type
|
|
3
|
+
readonly message: "Entity type does not exist";
|
|
4
4
|
readonly params: readonly ["id"];
|
|
5
5
|
readonly affectedFields: readonly ["entityTypeId"];
|
|
6
6
|
};
|
|
@@ -23,7 +23,7 @@ export declare const CLIENT_RECORDS_ENTITY_TYPES: {
|
|
|
23
23
|
readonly affectedFields: readonly ["entityTypeStartingDate", "entityTypeEndingDate"];
|
|
24
24
|
};
|
|
25
25
|
readonly ENTITY_TYPES_IDS_DOES_NOT_EXIST: {
|
|
26
|
-
readonly message: "Entity types
|
|
26
|
+
readonly message: "Entity types do not exist";
|
|
27
27
|
readonly params: readonly ["ids"];
|
|
28
28
|
readonly affectedFields: readonly ["entityTypeId"];
|
|
29
29
|
};
|
package/dist/validation/features/client-records-entity-types-histories.validation-messages.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_ENTITY_TYPES = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_ENTITY_TYPES = {
|
|
5
5
|
ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
6
|
-
message: `Entity type
|
|
6
|
+
message: `Entity type does not exist`,
|
|
7
7
|
params: ['id'],
|
|
8
8
|
affectedFields: ['entityTypeId'],
|
|
9
9
|
},
|
|
@@ -26,7 +26,7 @@ exports.CLIENT_RECORDS_ENTITY_TYPES = {
|
|
|
26
26
|
affectedFields: ['entityTypeStartingDate', 'entityTypeEndingDate'],
|
|
27
27
|
},
|
|
28
28
|
ENTITY_TYPES_IDS_DOES_NOT_EXIST: {
|
|
29
|
-
message: `Entity types
|
|
29
|
+
message: `Entity types do not exist`,
|
|
30
30
|
params: ['ids'],
|
|
31
31
|
affectedFields: ['entityTypeId'],
|
|
32
32
|
},
|
package/dist/validation/features/client-records-filing-types-histories.validation-messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
2
2
|
readonly FILING_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
|
-
readonly message: "Parent
|
|
3
|
+
readonly message: "Sub/Parent status does not exist";
|
|
4
4
|
readonly params: readonly ["id"];
|
|
5
5
|
readonly affectedFields: readonly ["filingTypeId"];
|
|
6
6
|
};
|
|
@@ -13,30 +13,30 @@ export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
|
13
13
|
readonly affectedFields: readonly ["parentClientId"];
|
|
14
14
|
};
|
|
15
15
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
16
|
-
readonly message: "The Parent
|
|
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.";
|
|
17
17
|
readonly params: readonly ["clientDateEstablished", "filingType", "filingTypeStartingDate"];
|
|
18
18
|
readonly affectedFields: readonly ["dateEstablished", "filingType"];
|
|
19
19
|
};
|
|
20
20
|
readonly NOT_ALIGNED_CLOSE_DATE_FILING_TYPE_STARTING_DATE: {
|
|
21
|
-
readonly message: "One or more Parent
|
|
21
|
+
readonly message: "One or more Sub/Parent status have a start date which is after the client's close date of {clientCloseDate}. {filingType}, starting {filingTypeStartingDate}. Please update the start date to be earlier than the client's close date, or update the client's close date.";
|
|
22
22
|
readonly params: readonly ["clientCloseDate", "filingType", "filingTypeStartingDate"];
|
|
23
23
|
readonly affectedFields: readonly ["closeDate", "filingType"];
|
|
24
24
|
};
|
|
25
25
|
readonly FILING_TYPE_STARTING_DATE_NOT_POPULATED: {
|
|
26
|
-
readonly message: "Current Parent
|
|
26
|
+
readonly message: "Current Sub/Parent status Starting Date cannot be Empty";
|
|
27
27
|
readonly affectedFields: readonly ["filingTypeStartingDate"];
|
|
28
28
|
};
|
|
29
29
|
readonly NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
|
|
30
|
-
readonly message: "Parent
|
|
30
|
+
readonly message: "Sub/Parent status starting date needs to be before the ending date";
|
|
31
31
|
readonly affectedFields: readonly ["filingTypeStartingDate", "filingTypeEndingDate"];
|
|
32
32
|
};
|
|
33
33
|
readonly FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
34
|
-
readonly message: "Parent
|
|
34
|
+
readonly message: "Sub/Parent status do not exist";
|
|
35
35
|
readonly params: readonly ["ids"];
|
|
36
36
|
readonly affectedFields: readonly ["filingTypeId"];
|
|
37
37
|
};
|
|
38
38
|
readonly AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
39
|
-
readonly message: "At least one Parent
|
|
39
|
+
readonly message: "At least one Sub/Parent status should exist";
|
|
40
40
|
readonly affectedFields: readonly ["filingType"];
|
|
41
41
|
};
|
|
42
42
|
readonly FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
|
|
@@ -70,7 +70,7 @@ export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
|
70
70
|
readonly affectedFields: readonly ["filingType"];
|
|
71
71
|
};
|
|
72
72
|
readonly FILING_TYPE_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
|
|
73
|
-
readonly message: "There is a gap between the client's date established ({dateEstablished}) and the start of its first Parent
|
|
73
|
+
readonly message: "There is a gap between the client's date established ({dateEstablished}) and the start of its first Sub/Parent status ({earliestFilingType} starting {earliestFilingTypeStartDate}). There must be a Sub/Parent status that begins on {dateEstablished}.";
|
|
74
74
|
readonly params: readonly ["dateEstablished", "earliestFilingType", "earliestFilingTypeStartDate"];
|
|
75
75
|
readonly affectedFields: readonly ["filingType", "dateEstablished"];
|
|
76
76
|
};
|
|
@@ -80,11 +80,11 @@ export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
|
80
80
|
readonly affectedFields: readonly ["filingType"];
|
|
81
81
|
};
|
|
82
82
|
readonly ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
|
|
83
|
-
readonly message: "Only the last Parent
|
|
83
|
+
readonly message: "Only the last Sub/Parent status can be open without an end date. Add an ending date to the existing Sub/Parent status before adding a start date for a new Sub/Parent status.";
|
|
84
84
|
readonly affectedFields: readonly ["filingTypeEndingDate"];
|
|
85
85
|
};
|
|
86
86
|
readonly CURRENT_FILING_TYPE_CANNOT_HAVE_ENDING_DATE: {
|
|
87
|
-
readonly message: "The current Parent
|
|
87
|
+
readonly message: "The current Sub/Parent status cannot have an end date. Please remove the end date for this state.";
|
|
88
88
|
readonly affectedFields: readonly ["filingTypeEndingDate"];
|
|
89
89
|
};
|
|
90
90
|
};
|
package/dist/validation/features/client-records-filing-types-histories.validation-messages.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_FILING_TYPES = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
5
5
|
FILING_TYPE_ID_DOES_NOT_EXIST: {
|
|
6
|
-
message: `Parent
|
|
6
|
+
message: `Sub/Parent status does not exist`,
|
|
7
7
|
params: ['id'],
|
|
8
8
|
affectedFields: ['filingTypeId'],
|
|
9
9
|
},
|
|
@@ -16,30 +16,30 @@ exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
|
16
16
|
affectedFields: ['parentClientId'],
|
|
17
17
|
},
|
|
18
18
|
NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
19
|
-
message: `The Parent
|
|
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.`,
|
|
20
20
|
params: ['clientDateEstablished', 'filingType', 'filingTypeStartingDate'],
|
|
21
21
|
affectedFields: ['dateEstablished', 'filingType'],
|
|
22
22
|
},
|
|
23
23
|
NOT_ALIGNED_CLOSE_DATE_FILING_TYPE_STARTING_DATE: {
|
|
24
|
-
message: `One or more Parent
|
|
24
|
+
message: `One or more Sub/Parent status have a start date which is after the client's close date of {clientCloseDate}. {filingType}, starting {filingTypeStartingDate}. Please update the start date to be earlier than the client's close date, or update the client's close date.`,
|
|
25
25
|
params: ['clientCloseDate', 'filingType', 'filingTypeStartingDate'],
|
|
26
26
|
affectedFields: ['closeDate', 'filingType'],
|
|
27
27
|
},
|
|
28
28
|
FILING_TYPE_STARTING_DATE_NOT_POPULATED: {
|
|
29
|
-
message: `Current Parent
|
|
29
|
+
message: `Current Sub/Parent status Starting Date cannot be Empty`,
|
|
30
30
|
affectedFields: ['filingTypeStartingDate'],
|
|
31
31
|
},
|
|
32
32
|
NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
|
|
33
|
-
message: `Parent
|
|
33
|
+
message: `Sub/Parent status starting date needs to be before the ending date`,
|
|
34
34
|
affectedFields: ['filingTypeStartingDate', 'filingTypeEndingDate'],
|
|
35
35
|
},
|
|
36
36
|
FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
37
|
-
message: `Parent
|
|
37
|
+
message: `Sub/Parent status do not exist`,
|
|
38
38
|
params: ['ids'],
|
|
39
39
|
affectedFields: ['filingTypeId'],
|
|
40
40
|
},
|
|
41
41
|
AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
42
|
-
message: `At least one Parent
|
|
42
|
+
message: `At least one Sub/Parent status should exist`,
|
|
43
43
|
affectedFields: ['filingType'],
|
|
44
44
|
},
|
|
45
45
|
FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
|
|
@@ -73,7 +73,7 @@ exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
|
73
73
|
affectedFields: ['filingType'],
|
|
74
74
|
},
|
|
75
75
|
FILING_TYPE_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
|
|
76
|
-
message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first Parent
|
|
76
|
+
message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first Sub/Parent status ({earliestFilingType} starting {earliestFilingTypeStartDate}). There must be a Sub/Parent status that begins on {dateEstablished}.`,
|
|
77
77
|
params: ['dateEstablished', 'earliestFilingType', 'earliestFilingTypeStartDate'],
|
|
78
78
|
affectedFields: ['filingType', 'dateEstablished'],
|
|
79
79
|
},
|
|
@@ -83,11 +83,11 @@ exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
|
83
83
|
affectedFields: ['filingType'],
|
|
84
84
|
},
|
|
85
85
|
ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
|
|
86
|
-
message: `Only the last Parent
|
|
86
|
+
message: `Only the last Sub/Parent status can be open without an end date. Add an ending date to the existing Sub/Parent status before adding a start date for a new Sub/Parent status.`,
|
|
87
87
|
affectedFields: ['filingTypeEndingDate'],
|
|
88
88
|
},
|
|
89
89
|
CURRENT_FILING_TYPE_CANNOT_HAVE_ENDING_DATE: {
|
|
90
|
-
message: `The current Parent
|
|
90
|
+
message: `The current Sub/Parent status cannot have an end date. Please remove the end date for this state.`,
|
|
91
91
|
affectedFields: ['filingTypeEndingDate'],
|
|
92
92
|
},
|
|
93
93
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_OUTSIDE_PROVIDERS: {
|
|
2
2
|
readonly INVALID_TYPE: {
|
|
3
|
-
readonly message: "Outside provider types
|
|
3
|
+
readonly message: "Outside provider types do not exist";
|
|
4
4
|
readonly params: readonly ["ids"];
|
|
5
5
|
readonly affectedFields: readonly ["outsideProviderTypeId"];
|
|
6
6
|
};
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_OUTSIDE_PROVIDERS = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_OUTSIDE_PROVIDERS = {
|
|
5
5
|
INVALID_TYPE: {
|
|
6
|
-
message: `Outside provider types
|
|
6
|
+
message: `Outside provider types do not exist`,
|
|
7
7
|
params: ['ids'],
|
|
8
8
|
affectedFields: ['outsideProviderTypeId'],
|
|
9
9
|
},
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare const CLIENT_RELATIONSHIPS_COMMON: {
|
|
2
|
+
readonly CURRENT_CLIENT_CANNOT_BE_RELATED_TO_CURRENT_CLIENT: {
|
|
3
|
+
readonly message: "A client cannot have a relationship with itself.";
|
|
4
|
+
readonly affectedFields: readonly ["relatedClientId"];
|
|
5
|
+
};
|
|
6
|
+
readonly INVALID_RELATIONSHIP_TYPE_FOR_ENTITY_TYPE: {
|
|
7
|
+
readonly message: "{clientName} is a/an {entityType}, which can't have {relationshipType}s. Please update the relationship type.";
|
|
8
|
+
readonly params: readonly ["clientName", "entityType", "relationshipType"];
|
|
9
|
+
readonly affectedFields: readonly ["relationshipTypeId"];
|
|
10
|
+
};
|
|
11
|
+
readonly STARTING_DATE_BEFORE_CLIENT_DATE_ESTABLISHED: {
|
|
12
|
+
readonly message: "This relationship's start date cannot be before {clientName}'s date established, {clientDateEstablished}. Please adjust the dates to proceed.";
|
|
13
|
+
readonly params: readonly ["clientName", "clientDateEstablished"];
|
|
14
|
+
readonly affectedFields: readonly ["startingDate"];
|
|
15
|
+
};
|
|
16
|
+
readonly STARTING_DATE_ON_OR_AFTER_CLIENT_CLOSE_DATE: {
|
|
17
|
+
readonly message: "This relationship's start date cannot be on or after {clientName}'s close date, {clientCloseDate}. Please adjust the dates to proceed.";
|
|
18
|
+
readonly params: readonly ["clientName", "clientCloseDate"];
|
|
19
|
+
readonly affectedFields: readonly ["startingDate"];
|
|
20
|
+
};
|
|
21
|
+
readonly STARTING_DATE_BEFORE_RELATED_CLIENT_DATE_ESTABLISHED: {
|
|
22
|
+
readonly message: "This relationship's start date cannot be before {relatedClientName}'s date established, {relatedClientDateEstablished}. Please adjust the dates to proceed.";
|
|
23
|
+
readonly params: readonly ["relatedClientName", "relatedClientDateEstablished"];
|
|
24
|
+
readonly affectedFields: readonly ["startingDate"];
|
|
25
|
+
};
|
|
26
|
+
readonly STARTING_DATE_ON_OR_AFTER_RELATED_CLIENT_CLOSE_DATE: {
|
|
27
|
+
readonly message: "This relationship's start date cannot be on or after {relatedClientName}'s close date, {relatedClientCloseDate}. Please adjust the dates to proceed.";
|
|
28
|
+
readonly params: readonly ["relatedClientName", "relatedClientCloseDate"];
|
|
29
|
+
readonly affectedFields: readonly ["startingDate"];
|
|
30
|
+
};
|
|
31
|
+
readonly ENDING_DATE_ON_OR_BEFORE_STARTING_DATE: {
|
|
32
|
+
readonly message: "Please update the relationship ending date to be after the starting date, {startingDate}.";
|
|
33
|
+
readonly params: readonly ["startingDate"];
|
|
34
|
+
readonly affectedFields: readonly ["endingDate"];
|
|
35
|
+
};
|
|
36
|
+
readonly ENDING_DATE_AFTER_CLIENT_CLOSE_DATE: {
|
|
37
|
+
readonly message: "Please update the relationship ending date to be on or before the client's close date, {clientCloseDate}.";
|
|
38
|
+
readonly params: readonly ["clientCloseDate"];
|
|
39
|
+
readonly affectedFields: readonly ["endingDate"];
|
|
40
|
+
};
|
|
41
|
+
readonly ENDING_DATE_AFTER_RELATED_CLIENT_CLOSE_DATE: {
|
|
42
|
+
readonly message: "Please update the relationship ending date to be on or before {relatedClientName}'s close date, {relatedClientCloseDate}.";
|
|
43
|
+
readonly params: readonly ["relatedClientName", "relatedClientCloseDate"];
|
|
44
|
+
readonly affectedFields: readonly ["endingDate"];
|
|
45
|
+
};
|
|
46
|
+
readonly FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_CLIENT_CLOSE_DATE: {
|
|
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 ["isFinal"];
|
|
49
|
+
};
|
|
50
|
+
readonly FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_RELATED_CLIENT_CLOSE_DATE: {
|
|
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 ["isFinal"];
|
|
53
|
+
};
|
|
54
|
+
readonly CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
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.";
|
|
56
|
+
readonly params: readonly ["clientName", "relatedClientName", "relationshipType"];
|
|
57
|
+
readonly affectedFields: readonly ["relationshipTypeId", "relatedClientId", "startingDate", "endingDate"];
|
|
58
|
+
};
|
|
59
|
+
readonly CONFLICTING_RELATIONSHIP_TYPES_SAME_TIMEFRAME: {
|
|
60
|
+
readonly message: "{relatedClientName} cannot be associated with {clientName} more than once within the same timeframe. Please ensure there are no conflicting relationships for these clients in this timeframe.";
|
|
61
|
+
readonly params: readonly ["relatedClientName", "clientName"];
|
|
62
|
+
readonly affectedFields: readonly ["relationshipTypeId", "relatedClientId", "startingDate", "endingDate"];
|
|
63
|
+
};
|
|
64
|
+
readonly CONSECUTIVE_DUPLICATE_RELATIONSHIPS: {
|
|
65
|
+
readonly message: "There is another {relationshipType} relationship between {relatedClientName} and {clientName} ending on {relationshipEnding}. Please review and adjust the dates to track this relationship in one record.";
|
|
66
|
+
readonly params: readonly ["relationshipType", "relatedClientName", "clientName", "relationshipEnding"];
|
|
67
|
+
readonly affectedFields: readonly ["startingDate", "endingDate"];
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=client-relationships-common.validation-messages.d.ts.map
|