@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
package/src/validation/features/client-records-entity-states-histories.validation-messages.ts
CHANGED
|
@@ -2,7 +2,7 @@ export const CLIENT_RECORDS_ENTITY_STATES = {
|
|
|
2
2
|
STATE_ID_DOES_NOT_EXIST: {
|
|
3
3
|
message: `State does not exist`,
|
|
4
4
|
params: ['id'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['state'],
|
|
6
6
|
},
|
|
7
7
|
NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
|
|
8
8
|
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 const CLIENT_RECORDS_ENTITY_STATES = {
|
|
|
16
16
|
},
|
|
17
17
|
DOMESTIC_STATE_STARTING_DATE_NOT_POPULATED: {
|
|
18
18
|
message: `Current Domestic State Starting Date cannot be Empty`,
|
|
19
|
-
affectedFields: ['
|
|
19
|
+
affectedFields: ['stateStartingDate'],
|
|
20
20
|
},
|
|
21
21
|
STATES_IDS_DOES_NOT_EXIST: {
|
|
22
22
|
message: `States do not exist`,
|
|
23
23
|
params: ['ids'],
|
|
24
|
-
affectedFields: ['
|
|
24
|
+
affectedFields: ['state'],
|
|
25
25
|
},
|
|
26
26
|
RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
27
27
|
message: `Residence type does not exist`,
|
|
28
28
|
params: ['ids'],
|
|
29
|
-
affectedFields: ['
|
|
29
|
+
affectedFields: ['residence'],
|
|
30
30
|
},
|
|
31
31
|
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
32
32
|
message: `At least one domestic state should exist`,
|
package/src/validation/features/client-records-entity-types-histories.validation-messages.ts
CHANGED
|
@@ -2,7 +2,7 @@ export const CLIENT_RECORDS_ENTITY_TYPES = {
|
|
|
2
2
|
ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
3
|
message: `Entity type does not exist`,
|
|
4
4
|
params: ['id'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['entityType'],
|
|
6
6
|
},
|
|
7
7
|
NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPE_STARTING_DATE: {
|
|
8
8
|
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 const CLIENT_RECORDS_ENTITY_TYPES = {
|
|
|
25
25
|
ENTITY_TYPES_IDS_DOES_NOT_EXIST: {
|
|
26
26
|
message: `Entity types do not exist`,
|
|
27
27
|
params: ['ids'],
|
|
28
|
-
affectedFields: ['
|
|
28
|
+
affectedFields: ['entityType'],
|
|
29
29
|
},
|
|
30
30
|
AT_LEAST_ONE_ENTITY_TYPE_SHOULD_EXIST: {
|
|
31
31
|
message: `At least one entity type should exist`,
|
package/src/validation/features/client-records-filing-types-histories.validation-messages.ts
CHANGED
|
@@ -2,15 +2,15 @@ export const CLIENT_RECORDS_FILING_TYPES = {
|
|
|
2
2
|
FILING_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
3
|
message: `Sub/Parent status does not exist`,
|
|
4
4
|
params: ['id'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['filingType'],
|
|
6
6
|
},
|
|
7
7
|
FILING_TYPE_PARENT_REQUIRED: {
|
|
8
8
|
message: `Parent needs to be specified for filing type 'Files under parent'`,
|
|
9
|
-
affectedFields: ['
|
|
9
|
+
affectedFields: ['currentParent'],
|
|
10
10
|
},
|
|
11
11
|
CURRENT_FILING_TYPE_PARENT_REQUIRED: {
|
|
12
12
|
message: `Parent needs to be specified for current filing type 'Files under parent'`,
|
|
13
|
-
affectedFields: ['
|
|
13
|
+
affectedFields: ['currentParent'],
|
|
14
14
|
},
|
|
15
15
|
NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
16
16
|
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 const CLIENT_RECORDS_FILING_TYPES = {
|
|
|
33
33
|
FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
34
34
|
message: `Sub/Parent status do not exist`,
|
|
35
35
|
params: ['ids'],
|
|
36
|
-
affectedFields: ['
|
|
36
|
+
affectedFields: ['filingType'],
|
|
37
37
|
},
|
|
38
38
|
AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
39
39
|
message: `At least one Sub/Parent status should exist`,
|
|
@@ -2,11 +2,11 @@ export const CLIENT_RECORDS_OUTSIDE_PROVIDERS = {
|
|
|
2
2
|
INVALID_TYPE: {
|
|
3
3
|
message: `Outside provider types do not exist`,
|
|
4
4
|
params: ['ids'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['type'],
|
|
6
6
|
},
|
|
7
7
|
SAME_TYPE_TIMELINE_OVERLAP: {
|
|
8
8
|
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
|
params: ['outsideProviderType', 'startDate'],
|
|
10
|
-
affectedFields: ['
|
|
10
|
+
affectedFields: ['starting', 'ending'],
|
|
11
11
|
},
|
|
12
12
|
} as const;
|
|
@@ -45,11 +45,11 @@ export const CLIENT_RELATIONSHIPS_COMMON = {
|
|
|
45
45
|
},
|
|
46
46
|
FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_CLIENT_CLOSE_DATE: {
|
|
47
47
|
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
|
-
affectedFields: ['
|
|
48
|
+
affectedFields: ['final'],
|
|
49
49
|
},
|
|
50
50
|
FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_RELATED_CLIENT_CLOSE_DATE: {
|
|
51
51
|
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
|
-
affectedFields: ['
|
|
52
|
+
affectedFields: ['final'],
|
|
53
53
|
},
|
|
54
54
|
CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
55
55
|
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 const TEMPLATE_ASSIGNMENTS = {
|
|
|
9
9
|
},
|
|
10
10
|
DEFAULT_STAFF_REQUIRED: {
|
|
11
11
|
message: 'Default staff is required',
|
|
12
|
-
affectedFields: ['
|
|
12
|
+
affectedFields: ['defaultStaff'],
|
|
13
13
|
},
|
|
14
14
|
INVALID_STAFF: {
|
|
15
15
|
message: 'Invalid staff member',
|
|
16
|
-
affectedFields: ['
|
|
16
|
+
affectedFields: ['defaultStaff'],
|
|
17
17
|
},
|
|
18
18
|
ASSIGNMENT_TYPE_REQUIRED: {
|
|
19
19
|
message: 'Assignment type is required',
|
|
20
|
-
affectedFields: ['
|
|
20
|
+
affectedFields: ['assignmentType'],
|
|
21
21
|
},
|
|
22
22
|
INVALID_ASSIGNMENT_TYPE: {
|
|
23
23
|
message: 'Invalid assignment type',
|
|
24
|
-
affectedFields: ['
|
|
24
|
+
affectedFields: ['assignmentType'],
|
|
25
25
|
},
|
|
26
26
|
ORDER_REQUIRED: {
|
|
27
27
|
message: 'Order is required for workflow assignments',
|
|
@@ -10,27 +10,27 @@ export const TEMPLATES = {
|
|
|
10
10
|
},
|
|
11
11
|
TYPE_REQUIRED: {
|
|
12
12
|
message: 'Template type is required',
|
|
13
|
-
affectedFields: ['
|
|
13
|
+
affectedFields: ['type'],
|
|
14
14
|
},
|
|
15
15
|
INVALID_TYPE: {
|
|
16
16
|
message: 'Invalid template type',
|
|
17
|
-
affectedFields: ['
|
|
17
|
+
affectedFields: ['type'],
|
|
18
18
|
},
|
|
19
19
|
DEFAULT_STAFF_REQUIRED: {
|
|
20
20
|
message: 'Default staff is required',
|
|
21
|
-
affectedFields: ['
|
|
21
|
+
affectedFields: ['defaultStaff'],
|
|
22
22
|
},
|
|
23
23
|
INVALID_STAFF: {
|
|
24
24
|
message: 'Invalid staff member',
|
|
25
|
-
affectedFields: ['
|
|
25
|
+
affectedFields: ['defaultStaff'],
|
|
26
26
|
},
|
|
27
27
|
INCOME_ACCOUNT_REQUIRED: {
|
|
28
28
|
message: 'Income account is required',
|
|
29
|
-
affectedFields: ['
|
|
29
|
+
affectedFields: ['incomeAccount'],
|
|
30
30
|
},
|
|
31
31
|
INVALID_INCOME_ACCOUNT: {
|
|
32
32
|
message: 'Invalid income account',
|
|
33
|
-
affectedFields: ['
|
|
33
|
+
affectedFields: ['incomeAccount'],
|
|
34
34
|
},
|
|
35
35
|
AMOUNT_REQUIRED: {
|
|
36
36
|
message: 'Amount is required when separately charged',
|
|
@@ -50,11 +50,11 @@ export const TEMPLATES = {
|
|
|
50
50
|
},
|
|
51
51
|
INVALID_CLASSIFICATION: {
|
|
52
52
|
message: 'Invalid classification',
|
|
53
|
-
affectedFields: ['
|
|
53
|
+
affectedFields: ['classification'],
|
|
54
54
|
},
|
|
55
55
|
INVALID_SETUP_TEMPLATE: {
|
|
56
56
|
message: 'Invalid associated setup template',
|
|
57
|
-
affectedFields: ['
|
|
57
|
+
affectedFields: ['associatedSetupTemplate'],
|
|
58
58
|
},
|
|
59
59
|
OPTION_IN_USE: {
|
|
60
60
|
message: 'This template is currently in use and cannot be deleted',
|
|
@@ -2,7 +2,8 @@ import { ACCOUNT_CATEGORIES } from './features/account-categories.validation-mes
|
|
|
2
2
|
import { ACCOUNT_IDS } from './features/account-ids.validation-messages';
|
|
3
3
|
import { CLIENT_RECORDS_ADDRESSES } from './features/client-records-addresses.validation-messages';
|
|
4
4
|
import { BUSINESS_ACTIVITIES } from './features/business-activities.validation-messages';
|
|
5
|
-
import {
|
|
5
|
+
import { CLIENT_RECORDS_BANKS } from './features/client-records-banks.validation-messages';
|
|
6
|
+
import { CLIENT_RECORDS_CREDIT_CARDS } from './features/client-records-credit-cards.validation-messages';
|
|
6
7
|
import { CLIENT_RECORDS_CONTACTS } from './features/client-records-contacts.validation-messages';
|
|
7
8
|
import { CLIENT_RECORDS_COMMISSION_DETAILS } from './features/client-records-commission-details.validation-messages';
|
|
8
9
|
import { CLIENT_CURRENT_ENTITY_STATUS } from './features/client-current-entity-statuses.validation-messages';
|
|
@@ -28,7 +29,8 @@ export const VALIDATION_MESSAGES = {
|
|
|
28
29
|
ACCOUNT_IDS,
|
|
29
30
|
CLIENT_RECORDS_ADDRESSES,
|
|
30
31
|
BUSINESS_ACTIVITIES,
|
|
31
|
-
|
|
32
|
+
CLIENT_RECORDS_BANKS,
|
|
33
|
+
CLIENT_RECORDS_CREDIT_CARDS,
|
|
32
34
|
CLIENT_RECORDS_CONTACTS,
|
|
33
35
|
CLIENT_RECORDS_COMMISSION_DETAILS,
|
|
34
36
|
CLIENT_CURRENT_ENTITY_STATUS,
|
package/dist/validation/features/client-records-banks-and-credit-cards.validation-messages.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client-records-banks-and-credit-cards.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-records-banks-and-credit-cards.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BxC,CAAC"}
|