@forwardslashns/taskit-validation-messages 1.9.3 → 1.9.5
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 +28 -4
- package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-current-entity-statuses.validation-messages.js +28 -4
- 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-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-credit-cards.validation-messages.d.ts +1 -1
- package/dist/validation/features/client-records-credit-cards.validation-messages.js +1 -1
- 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 +65 -41
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-current-entity-statuses.validation-messages.ts +28 -4
- package/src/validation/features/client-records-addresses.validation-messages.ts +5 -5
- 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-credit-cards.validation-messages.ts +1 -1
- 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
|
@@ -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";
|
|
@@ -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";
|
|
@@ -134,5 +134,29 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
134
134
|
readonly message: "This client cannot be deleted because it has contacts associated";
|
|
135
135
|
readonly affectedFields: readonly [];
|
|
136
136
|
};
|
|
137
|
+
readonly INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
138
|
+
readonly message: "Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.";
|
|
139
|
+
readonly params: readonly ["dateEstablished"];
|
|
140
|
+
readonly affectedFields: readonly ["initialFilingDate"];
|
|
141
|
+
};
|
|
142
|
+
readonly FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
|
|
143
|
+
readonly message: "Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.";
|
|
144
|
+
readonly params: readonly ["initialFilingDate"];
|
|
145
|
+
readonly affectedFields: readonly ["finalFilingDate"];
|
|
146
|
+
};
|
|
147
|
+
readonly FINAL_FILING_DATE_REQUIRED: {
|
|
148
|
+
readonly message: "Final filing date is required when initial filing date and close date are both provided.";
|
|
149
|
+
readonly affectedFields: readonly ["finalFilingDate"];
|
|
150
|
+
};
|
|
151
|
+
readonly SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
|
|
152
|
+
readonly message: "Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.";
|
|
153
|
+
readonly params: readonly ["serviceStartingDate"];
|
|
154
|
+
readonly affectedFields: readonly ["serviceEndingDate"];
|
|
155
|
+
};
|
|
156
|
+
readonly SERVICE_ENDING_DATE_REQUIRED: {
|
|
157
|
+
readonly message: "{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.";
|
|
158
|
+
readonly params: readonly ["clientName", "serviceStartingDate"];
|
|
159
|
+
readonly affectedFields: readonly ["serviceEndingDate"];
|
|
160
|
+
};
|
|
137
161
|
};
|
|
138
162
|
//# sourceMappingURL=client-current-entity-statuses.validation-messages.d.ts.map
|
package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-current-entity-statuses.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-current-entity-statuses.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"client-current-entity-statuses.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-current-entity-statuses.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgK/B,CAAC"}
|
|
@@ -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`,
|
|
@@ -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`,
|
|
@@ -137,4 +137,28 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
137
137
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
138
138
|
affectedFields: [],
|
|
139
139
|
},
|
|
140
|
+
INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
141
|
+
message: `Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.`,
|
|
142
|
+
params: ['dateEstablished'],
|
|
143
|
+
affectedFields: ['initialFilingDate'],
|
|
144
|
+
},
|
|
145
|
+
FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
|
|
146
|
+
message: `Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.`,
|
|
147
|
+
params: ['initialFilingDate'],
|
|
148
|
+
affectedFields: ['finalFilingDate'],
|
|
149
|
+
},
|
|
150
|
+
FINAL_FILING_DATE_REQUIRED: {
|
|
151
|
+
message: `Final filing date is required when initial filing date and close date are both provided.`,
|
|
152
|
+
affectedFields: ['finalFilingDate'],
|
|
153
|
+
},
|
|
154
|
+
SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
|
|
155
|
+
message: `Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.`,
|
|
156
|
+
params: ['serviceStartingDate'],
|
|
157
|
+
affectedFields: ['serviceEndingDate'],
|
|
158
|
+
},
|
|
159
|
+
SERVICE_ENDING_DATE_REQUIRED: {
|
|
160
|
+
message: `{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.`,
|
|
161
|
+
params: ['clientName', 'serviceStartingDate'],
|
|
162
|
+
affectedFields: ['serviceEndingDate'],
|
|
163
|
+
},
|
|
140
164
|
};
|
|
@@ -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`,
|
|
@@ -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,7 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_CREDIT_CARDS: {
|
|
2
2
|
readonly INVALID_EXPIRATION_DATE: {
|
|
3
3
|
readonly message: "Enter a valid expiration date (i.e. 12/2024).";
|
|
4
|
-
readonly affectedFields: readonly ["
|
|
4
|
+
readonly affectedFields: readonly ["expDate"];
|
|
5
5
|
};
|
|
6
6
|
readonly INVALID_SECURITY_CODE: {
|
|
7
7
|
readonly message: "Enter a valid security code (i.e. 1234).";
|
|
@@ -4,7 +4,7 @@ exports.CLIENT_RECORDS_CREDIT_CARDS = void 0;
|
|
|
4
4
|
exports.CLIENT_RECORDS_CREDIT_CARDS = {
|
|
5
5
|
INVALID_EXPIRATION_DATE: {
|
|
6
6
|
message: 'Enter a valid expiration date (i.e. 12/2024).',
|
|
7
|
-
affectedFields: ['
|
|
7
|
+
affectedFields: ['expDate'],
|
|
8
8
|
},
|
|
9
9
|
INVALID_SECURITY_CODE: {
|
|
10
10
|
message: 'Enter a valid security code (i.e. 1234).',
|
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',
|
|
@@ -10,27 +10,27 @@ export declare const TEMPLATES: {
|
|
|
10
10
|
};
|
|
11
11
|
readonly TYPE_REQUIRED: {
|
|
12
12
|
readonly message: "Template type is required";
|
|
13
|
-
readonly affectedFields: readonly ["
|
|
13
|
+
readonly affectedFields: readonly ["type"];
|
|
14
14
|
};
|
|
15
15
|
readonly INVALID_TYPE: {
|
|
16
16
|
readonly message: "Invalid template type";
|
|
17
|
-
readonly affectedFields: readonly ["
|
|
17
|
+
readonly affectedFields: readonly ["type"];
|
|
18
18
|
};
|
|
19
19
|
readonly DEFAULT_STAFF_REQUIRED: {
|
|
20
20
|
readonly message: "Default staff is required";
|
|
21
|
-
readonly affectedFields: readonly ["
|
|
21
|
+
readonly affectedFields: readonly ["defaultStaff"];
|
|
22
22
|
};
|
|
23
23
|
readonly INVALID_STAFF: {
|
|
24
24
|
readonly message: "Invalid staff member";
|
|
25
|
-
readonly affectedFields: readonly ["
|
|
25
|
+
readonly affectedFields: readonly ["defaultStaff"];
|
|
26
26
|
};
|
|
27
27
|
readonly INCOME_ACCOUNT_REQUIRED: {
|
|
28
28
|
readonly message: "Income account is required";
|
|
29
|
-
readonly affectedFields: readonly ["
|
|
29
|
+
readonly affectedFields: readonly ["incomeAccount"];
|
|
30
30
|
};
|
|
31
31
|
readonly INVALID_INCOME_ACCOUNT: {
|
|
32
32
|
readonly message: "Invalid income account";
|
|
33
|
-
readonly affectedFields: readonly ["
|
|
33
|
+
readonly affectedFields: readonly ["incomeAccount"];
|
|
34
34
|
};
|
|
35
35
|
readonly AMOUNT_REQUIRED: {
|
|
36
36
|
readonly message: "Amount is required when separately charged";
|
|
@@ -50,11 +50,11 @@ export declare const TEMPLATES: {
|
|
|
50
50
|
};
|
|
51
51
|
readonly INVALID_CLASSIFICATION: {
|
|
52
52
|
readonly message: "Invalid classification";
|
|
53
|
-
readonly affectedFields: readonly ["
|
|
53
|
+
readonly affectedFields: readonly ["classification"];
|
|
54
54
|
};
|
|
55
55
|
readonly INVALID_SETUP_TEMPLATE: {
|
|
56
56
|
readonly message: "Invalid associated setup template";
|
|
57
|
-
readonly affectedFields: readonly ["
|
|
57
|
+
readonly affectedFields: readonly ["associatedSetupTemplate"];
|
|
58
58
|
};
|
|
59
59
|
readonly OPTION_IN_USE: {
|
|
60
60
|
readonly message: "This template is currently in use and cannot be deleted";
|