@forwardslashns/taskit-validation-messages 1.10.41 → 1.10.43
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.js +1 -1
- package/dist/validation/features/account-ids.validation-messages.js +1 -1
- package/dist/validation/features/business-activities.validation-messages.js +1 -1
- package/dist/validation/features/client-current-entity-statuses.validation-messages.js +6 -6
- package/dist/validation/features/client-records-entity-states-histories.validation-messages.js +10 -10
- package/dist/validation/features/client-records-entity-types-histories.validation-messages.js +10 -10
- package/dist/validation/features/client-records-filing-statuses-histories.validation-messages.js +10 -10
- package/dist/validation/features/client-records-outside-providers.validation-messages.js +1 -1
- package/dist/validation/features/client-relationships-common.validation-messages.js +13 -13
- package/dist/validation/features/client-relationships-income-sources.validation-messages.js +2 -2
- package/dist/validation/features/client-relationships-owners.validation-messages.js +2 -2
- package/dist/validation/features/client-template-assignments.validation-messages.js +1 -1
- package/dist/validation/features/client-templates.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-templates.validation-messages.js +1 -1
- package/dist/validation/features/filing-categories.validation-messages.js +1 -1
- package/dist/validation/features/income-accounts.validation-messages.js +1 -1
- package/dist/validation/features/roles-and-permissions.validation-messages.js +3 -3
- package/dist/validation/features/states.validation-messages.js +3 -3
- package/dist/validation/features/template-assignments.validation-messages.js +1 -1
- package/dist/validation/features/template-information.validation-messages.d.ts +6 -0
- package/dist/validation/features/template-information.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/template-information.validation-messages.js +33 -27
- package/dist/validation/features/template-recurrence-settings.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/template-recurrence-settings.validation-messages.js +6 -6
- package/dist/validation/features/user-preferences.validation-messages.js +1 -1
- package/dist/validation/features/users.validation-messages.js +5 -5
- package/dist/validation/validation-messages.d.ts +6 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- 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 +1 -1
- package/src/validation/features/business-activities.validation-messages.ts +1 -1
- package/src/validation/features/client-current-entity-statuses.validation-messages.ts +6 -6
- package/src/validation/features/client-records-entity-states-histories.validation-messages.ts +10 -10
- package/src/validation/features/client-records-entity-types-histories.validation-messages.ts +10 -10
- package/src/validation/features/client-records-filing-statuses-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 +13 -13
- package/src/validation/features/client-relationships-income-sources.validation-messages.ts +2 -2
- package/src/validation/features/client-relationships-owners.validation-messages.ts +2 -2
- package/src/validation/features/client-template-assignments.validation-messages.ts +1 -1
- package/src/validation/features/client-templates.validation-messages.ts +7 -4
- package/src/validation/features/filing-categories.validation-messages.ts +1 -1
- package/src/validation/features/income-accounts.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/template-assignments.validation-messages.ts +1 -1
- package/src/validation/features/template-information.validation-messages.ts +33 -41
- package/src/validation/features/template-recurrence-settings.validation-messages.ts +6 -10
- package/src/validation/features/user-preferences.validation-messages.ts +1 -1
- package/src/validation/features/users.validation-messages.ts +5 -5
|
@@ -16,7 +16,7 @@ exports.ACCOUNT_CATEGORIES = (0, validation_message_types_1.defineValidationFeat
|
|
|
16
16
|
},
|
|
17
17
|
NAME_ALREADY_EXISTS: {
|
|
18
18
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
19
|
-
message: `Account category with the same name
|
|
19
|
+
message: `Account category with the same name {name} already exists`,
|
|
20
20
|
params: ['name'],
|
|
21
21
|
affectedFields: ['accountCategory'],
|
|
22
22
|
},
|
|
@@ -16,7 +16,7 @@ exports.ACCOUNT_IDS = (0, validation_message_types_1.defineValidationFeatureMess
|
|
|
16
16
|
},
|
|
17
17
|
NAME_ALREADY_EXISTS: {
|
|
18
18
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
19
|
-
message: `Account id with the same name
|
|
19
|
+
message: `Account id with the same name {name} already exists`,
|
|
20
20
|
params: ['name'],
|
|
21
21
|
affectedFields: ['accountId'],
|
|
22
22
|
},
|
|
@@ -16,7 +16,7 @@ exports.BUSINESS_ACTIVITIES = (0, validation_message_types_1.defineValidationFea
|
|
|
16
16
|
},
|
|
17
17
|
NAME_ALREADY_EXISTS: {
|
|
18
18
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
19
|
-
message: `Business activity with the same name
|
|
19
|
+
message: `Business activity with the same name {name} already exists.`,
|
|
20
20
|
params: ['name'],
|
|
21
21
|
affectedFields: ['businessActivity'],
|
|
22
22
|
},
|
|
@@ -50,13 +50,13 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = (0, validation_message_types_1.defineVali
|
|
|
50
50
|
},
|
|
51
51
|
INVALID_FEDERAL_LEGAL_ID: {
|
|
52
52
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
53
|
-
message: `Enter a valid federal legal ID
|
|
53
|
+
message: `Enter a valid federal legal ID {legalIdType} (e.g. {legalIdValue})`,
|
|
54
54
|
params: ['legalIdType', 'legalIdValue'],
|
|
55
55
|
affectedFields: ['federalLegalId'],
|
|
56
56
|
},
|
|
57
57
|
NAME_ALREADY_EXISTS: {
|
|
58
58
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
59
|
-
message: `Client with the same name
|
|
59
|
+
message: `Client with the same name {name} already exists`,
|
|
60
60
|
params: ['name'],
|
|
61
61
|
affectedFields: ['name'],
|
|
62
62
|
},
|
|
@@ -187,13 +187,13 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = (0, validation_message_types_1.defineVali
|
|
|
187
187
|
},
|
|
188
188
|
INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
189
189
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
190
|
-
message: `Initial filing date cannot be before date established
|
|
190
|
+
message: `Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.`,
|
|
191
191
|
params: ['dateEstablished'],
|
|
192
192
|
affectedFields: ['initialFilingDate'],
|
|
193
193
|
},
|
|
194
194
|
FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
|
|
195
195
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
196
|
-
message: `Final filing date cannot be before initial filing date
|
|
196
|
+
message: `Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.`,
|
|
197
197
|
params: ['initialFilingDate'],
|
|
198
198
|
affectedFields: ['finalFilingDate'],
|
|
199
199
|
},
|
|
@@ -204,13 +204,13 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = (0, validation_message_types_1.defineVali
|
|
|
204
204
|
},
|
|
205
205
|
SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
|
|
206
206
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
207
|
-
message: `Service ending date cannot be before service starting date
|
|
207
|
+
message: `Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.`,
|
|
208
208
|
params: ['serviceStartingDate'],
|
|
209
209
|
affectedFields: ['serviceEndingDate'],
|
|
210
210
|
},
|
|
211
211
|
SERVICE_ENDING_DATE_REQUIRED: {
|
|
212
212
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
213
|
-
message: `
|
|
213
|
+
message: `{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.`,
|
|
214
214
|
params: ['clientName', 'serviceStartingDate'],
|
|
215
215
|
affectedFields: ['serviceEndingDate'],
|
|
216
216
|
},
|
package/dist/validation/features/client-records-entity-states-histories.validation-messages.js
CHANGED
|
@@ -11,13 +11,13 @@ exports.CLIENT_RECORDS_ENTITY_STATES = (0, validation_message_types_1.defineVali
|
|
|
11
11
|
},
|
|
12
12
|
NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
|
|
13
13
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
14
|
-
message: `The state,
|
|
14
|
+
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.`,
|
|
15
15
|
params: ['clientDateEstablished', 'domesticState', 'domesticStateStartingDate'],
|
|
16
16
|
affectedFields: ['dateEstablished', 'domesticState'],
|
|
17
17
|
},
|
|
18
18
|
NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
|
|
19
19
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
20
|
-
message: `One or more states have a start date which is after the client's close date of
|
|
20
|
+
message: `One or more states have a start date which is after the client's close date of {clientCloseDate}. {domesticState} starting {domesticStateStartingDate}. Please update the state/s start date/s to be before the client's close date, or update the client's close date.`,
|
|
21
21
|
params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
|
|
22
22
|
affectedFields: ['closeDate', 'domesticState'],
|
|
23
23
|
},
|
|
@@ -45,49 +45,49 @@ exports.CLIENT_RECORDS_ENTITY_STATES = (0, validation_message_types_1.defineVali
|
|
|
45
45
|
},
|
|
46
46
|
STATES_STARTING_DATE_NOT_POPULATED: {
|
|
47
47
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
48
|
-
message: `Starting date for
|
|
48
|
+
message: `Starting date for {state} cannot be empty`,
|
|
49
49
|
params: ['state'],
|
|
50
50
|
affectedFields: ['stateStartingDate'],
|
|
51
51
|
},
|
|
52
52
|
NOT_ALIGNED_STATES_STARTING_ENDING_DATE: {
|
|
53
53
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
54
|
-
message: `The ending date for
|
|
54
|
+
message: `The ending date for {state} must be after its starting date`,
|
|
55
55
|
params: ['state'],
|
|
56
56
|
affectedFields: ['stateStartingDate', 'stateEndingDate'],
|
|
57
57
|
},
|
|
58
58
|
NOT_ALIGNED_DATE_ESTABLISHED_STATES_STARTING_DATE: {
|
|
59
59
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
60
|
-
message: `Adjust the start date to be on or after the client's date established,
|
|
60
|
+
message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
|
|
61
61
|
params: ['clientStartDate'],
|
|
62
62
|
affectedFields: ['stateStartingDate', 'dateEstablished'],
|
|
63
63
|
},
|
|
64
64
|
NOT_ALIGNED_CLOSE_DATE_STATES_STARTING_DATE: {
|
|
65
65
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
66
|
-
message: `Adjust the start date to be before the client's close date,
|
|
66
|
+
message: `Adjust the start date to be before the client's close date, {clientCloseDate}.`,
|
|
67
67
|
params: ['clientCloseDate'],
|
|
68
68
|
affectedFields: ['stateStartingDate', 'closeDate'],
|
|
69
69
|
},
|
|
70
70
|
DOMESTIC_STATES_DATE_GAP_DETECTED: {
|
|
71
71
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
72
|
-
message: `There is a gap in the timeframes between
|
|
72
|
+
message: `There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.`,
|
|
73
73
|
params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
|
|
74
74
|
affectedFields: ['domesticState'],
|
|
75
75
|
},
|
|
76
76
|
STATES_CONSECUTIVE_DUPLICATES_DETECTED: {
|
|
77
77
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
78
|
-
message: `There are two entries for
|
|
78
|
+
message: `There are two entries for {state} with timeframes that immediately follow each other. {state} ending {firstPeriodEnd}, and {state} starting {secondPeriodStart}. Please update one entry to include the entire timeframe for {state}. `,
|
|
79
79
|
params: ['state', 'firstPeriodStart', 'firstPeriodEnd', 'secondPeriodStart'],
|
|
80
80
|
affectedFields: ['domesticState'],
|
|
81
81
|
},
|
|
82
82
|
DOMESTIC_STATE_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
|
|
83
83
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
84
|
-
message: `There is a gap between the client's date established (
|
|
84
|
+
message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first state ({earliestState} starting {earliestStateStartDate}). There must be a state that begins on {dateEstablished}.`,
|
|
85
85
|
params: ['dateEstablished', 'earliestState', 'earliestStateStartDate'],
|
|
86
86
|
affectedFields: ['domesticState', 'dateEstablished'],
|
|
87
87
|
},
|
|
88
88
|
STATES_DATES_OVERLAP: {
|
|
89
89
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
90
|
-
message: `The client already has
|
|
90
|
+
message: `The client already has {state} starting from {startDate2} to {endDate2}. Your current entity type overlaps with that time. Please adjust the dates so they don't overlap.`,
|
|
91
91
|
params: ['state', 'startDate1', 'endDate1', 'startDate2', 'endDate2'],
|
|
92
92
|
affectedFields: ['domesticState'],
|
|
93
93
|
},
|
package/dist/validation/features/client-records-entity-types-histories.validation-messages.js
CHANGED
|
@@ -11,13 +11,13 @@ exports.CLIENT_RECORDS_ENTITY_TYPES = (0, validation_message_types_1.defineValid
|
|
|
11
11
|
},
|
|
12
12
|
NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPE_STARTING_DATE: {
|
|
13
13
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
14
|
-
message: `One or more entity types have a start date that is before the client's date established,
|
|
14
|
+
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.`,
|
|
15
15
|
params: ['clientDateEstablished', 'entityType', 'entityTypeStartingDate'],
|
|
16
16
|
affectedFields: ['dateEstablished', 'entityType'],
|
|
17
17
|
},
|
|
18
18
|
NOT_ALIGNED_CLOSE_DATE_ENTITY_TYPE_STARTING_DATE: {
|
|
19
19
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
20
|
-
message: `One or more entity types have start dates that are after the client's close date,
|
|
20
|
+
message: `One or more entity types have start dates that are after the client's close date, {clientCloseDate}. {entityType} starting {entityTypeStartingDate}. Please update the entity type/s end date/s to be on or before the client's close date, or update the client's close date.`,
|
|
21
21
|
params: ['clientCloseDate', 'entityType', 'entityTypeStartingDate'],
|
|
22
22
|
affectedFields: ['closeDate', 'entityType'],
|
|
23
23
|
},
|
|
@@ -44,49 +44,49 @@ exports.CLIENT_RECORDS_ENTITY_TYPES = (0, validation_message_types_1.defineValid
|
|
|
44
44
|
},
|
|
45
45
|
ENTITY_TYPES_STARTING_DATE_NOT_POPULATED: {
|
|
46
46
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
47
|
-
message: `Starting date for
|
|
47
|
+
message: `Starting date for {entityType} cannot be empty`,
|
|
48
48
|
params: ['entityType'],
|
|
49
49
|
affectedFields: ['entityTypeStartingDate'],
|
|
50
50
|
},
|
|
51
51
|
NOT_ALIGNED_ENTITY_TYPES_STARTING_ENDING_DATE: {
|
|
52
52
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
53
|
-
message: `The ending date for
|
|
53
|
+
message: `The ending date for {entityType} must be after its starting date`,
|
|
54
54
|
params: ['entityType'],
|
|
55
55
|
affectedFields: ['entityTypeStartingDate', 'entityTypeEndingDate'],
|
|
56
56
|
},
|
|
57
57
|
NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPES_STARTING_DATE: {
|
|
58
58
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
59
|
-
message: `Adjust the start date to be on or after the client's date established,
|
|
59
|
+
message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
|
|
60
60
|
params: ['clientStartDate'],
|
|
61
61
|
affectedFields: ['entityTypeStartingDate', 'dateEstablished'],
|
|
62
62
|
},
|
|
63
63
|
NOT_ALIGNED_CLOSE_DATE_ENTITY_TYPES_STARTING_DATE: {
|
|
64
64
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
65
|
-
message: `Adjust the start date to be before the client's close date,
|
|
65
|
+
message: `Adjust the start date to be before the client's close date, {clientCloseDate}.`,
|
|
66
66
|
params: ['clientCloseDate'],
|
|
67
67
|
affectedFields: ['entityTypeStartingDate', 'closeDate'],
|
|
68
68
|
},
|
|
69
69
|
ENTITY_TYPES_DATE_GAP_DETECTED: {
|
|
70
70
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
71
|
-
message: `There is a gap in the timeframes between
|
|
71
|
+
message: `There is a gap in the timeframes between {currentEntityType}, ending {currentEntityTypeEndDate}, and {nextEntityType}, starting {nextEntityTypeStartDate}. Please adjust the dates to fill this gap.`,
|
|
72
72
|
params: ['currentEntityType', 'currentEntityTypeEndDate', 'nextEntityType', 'nextEntityTypeStartDate'],
|
|
73
73
|
affectedFields: ['entityType'],
|
|
74
74
|
},
|
|
75
75
|
ENTITY_TYPES_CONSECUTIVE_DUPLICATES_DETECTED: {
|
|
76
76
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
77
|
-
message: `There are two entries for
|
|
77
|
+
message: `There are two entries for {entityType} with timeframes that immediately follow each other. {entityType} ending {firstPeriodEnd}, and {entityType} starting {secondPeriodStart}. Please update one entry to include the entire timeframe for {entityType}. `,
|
|
78
78
|
params: ['entityType', 'firstPeriodStart', 'firstPeriodEnd', 'secondPeriodStart'],
|
|
79
79
|
affectedFields: ['entityType'],
|
|
80
80
|
},
|
|
81
81
|
ENTITY_TYPE_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
|
|
82
82
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
83
|
-
message: `There is a gap between the client's date established (
|
|
83
|
+
message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first entity type ({earliestEntityType} starting {earliestEntityTypeStartDate}). There must be an entity type that begins on {dateEstablished}.`,
|
|
84
84
|
params: ['dateEstablished', 'earliestEntityType', 'earliestEntityTypeStartDate'],
|
|
85
85
|
affectedFields: ['entityType', 'dateEstablished'],
|
|
86
86
|
},
|
|
87
87
|
ENTITY_TYPES_DATES_OVERLAP: {
|
|
88
88
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
89
|
-
message: `The client already has
|
|
89
|
+
message: `The client already has {entityType} starting from {startDate2} to {endDate2}. Your current entity type overlaps with that time. Please adjust the dates so they don't overlap.`,
|
|
90
90
|
params: ['entityType', 'startDate1', 'endDate1', 'startDate2', 'endDate2'],
|
|
91
91
|
affectedFields: ['entityType'],
|
|
92
92
|
},
|
package/dist/validation/features/client-records-filing-statuses-histories.validation-messages.js
CHANGED
|
@@ -11,13 +11,13 @@ exports.CLIENT_RECORDS_FILING_STATUSES = (0, validation_message_types_1.defineVa
|
|
|
11
11
|
},
|
|
12
12
|
NOT_ALIGNED_DATE_ESTABLISHED_FILING_STATUS_STARTING_DATE: {
|
|
13
13
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
14
|
-
message: `The Sub/Parent status
|
|
14
|
+
message: `The Sub/Parent status {filingStatus} starts on {filingStatusStartingDate} 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.`,
|
|
15
15
|
params: ['clientDateEstablished', 'filingStatus', 'filingStatusStartingDate'],
|
|
16
16
|
affectedFields: ['dateEstablished', 'filingStatus'],
|
|
17
17
|
},
|
|
18
18
|
NOT_ALIGNED_CLOSE_DATE_FILING_STATUS_STARTING_DATE: {
|
|
19
19
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
20
|
-
message: `One or more Sub/Parent status have a start date which is after the client's close date of
|
|
20
|
+
message: `One or more Sub/Parent status have a start date which is after the client's close date of {clientCloseDate}. {filingStatus}, starting {filingStatusStartingDate}. Please update the start date to be earlier than the client's close date, or update the client's close date.`,
|
|
21
21
|
params: ['clientCloseDate', 'filingStatus', 'filingStatusStartingDate'],
|
|
22
22
|
affectedFields: ['closeDate', 'filingStatus'],
|
|
23
23
|
},
|
|
@@ -44,49 +44,49 @@ exports.CLIENT_RECORDS_FILING_STATUSES = (0, validation_message_types_1.defineVa
|
|
|
44
44
|
},
|
|
45
45
|
FILING_STATUSES_STARTING_DATE_NOT_POPULATED: {
|
|
46
46
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
47
|
-
message: `Starting date for
|
|
47
|
+
message: `Starting date for {filingStatus} cannot be empty`,
|
|
48
48
|
params: ['filingStatus'],
|
|
49
49
|
affectedFields: ['filingStatusStartingDate'],
|
|
50
50
|
},
|
|
51
51
|
NOT_ALIGNED_FILING_STATUSES_STARTING_ENDING_DATE: {
|
|
52
52
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
53
|
-
message: `The ending date for
|
|
53
|
+
message: `The ending date for {filingStatus} must be after its starting date`,
|
|
54
54
|
params: ['filingStatus'],
|
|
55
55
|
affectedFields: ['filingStatusStartingDate', 'filingStatusEndingDate'],
|
|
56
56
|
},
|
|
57
57
|
NOT_ALIGNED_DATE_ESTABLISHED_FILING_STATUSES_STARTING_DATE: {
|
|
58
58
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
59
|
-
message: `Adjust the start date to be on or after the client's date established,
|
|
59
|
+
message: `Adjust the start date to be on or after the client's date established, {clientStartDate}.`,
|
|
60
60
|
params: ['clientStartDate'],
|
|
61
61
|
affectedFields: ['filingStatusStartingDate', 'dateEstablished'],
|
|
62
62
|
},
|
|
63
63
|
NOT_ALIGNED_CLOSE_DATE_FILING_STATUSES_STARTING_DATE: {
|
|
64
64
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
65
|
-
message: `Adjust the start date to be before the client's close date,
|
|
65
|
+
message: `Adjust the start date to be before the client's close date, {clientCloseDate}.`,
|
|
66
66
|
params: ['clientCloseDate'],
|
|
67
67
|
affectedFields: ['filingStatusStartingDate', 'closeDate'],
|
|
68
68
|
},
|
|
69
69
|
FILING_STATUSES_DATE_GAP_DETECTED: {
|
|
70
70
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
71
|
-
message: `There is a gap in the timeframes between
|
|
71
|
+
message: `There is a gap in the timeframes between {currentFilingStatus}, ending {currentFilingStatusEndDate}, and {nextFilingStatus}, starting {nextFilingStatusStartDate}. Please adjust the dates to fill this gap.`,
|
|
72
72
|
params: ['currentFilingStatus', 'currentFilingStatusEndDate', 'nextFilingStatus', 'nextFilingStatusStartDate'],
|
|
73
73
|
affectedFields: ['filingStatus'],
|
|
74
74
|
},
|
|
75
75
|
FILING_STATUSES_CONSECUTIVE_DUPLICATES_DETECTED: {
|
|
76
76
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
77
|
-
message: `There are two entries for
|
|
77
|
+
message: `There are two entries for {filingStatus} with timeframes that immediately follow each other. {filingStatus} ending {firstPeriodEnd}, and {filingStatus} starting {secondPeriodStart}. Please update one entry to include the entire timeframe for {filingStatus}. `,
|
|
78
78
|
params: ['filingStatus', 'firstPeriodStart', 'firstPeriodEnd', 'secondPeriodStart'],
|
|
79
79
|
affectedFields: ['filingStatus'],
|
|
80
80
|
},
|
|
81
81
|
FILING_STATUS_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
|
|
82
82
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
83
|
-
message: `There is a gap between the client's date established (
|
|
83
|
+
message: `There is a gap between the client's date established ({dateEstablished}) and the start date of the first Sub/Parent status ({earliestFilingStatusStartDate}). Please ensure that the status of one Sub/Parent status matches the client's date established.`,
|
|
84
84
|
params: ['dateEstablished', 'earliestFilingStatusStartDate'],
|
|
85
85
|
affectedFields: ['filingStatus', 'dateEstablished'],
|
|
86
86
|
},
|
|
87
87
|
FILING_STATUSES_DATES_OVERLAP: {
|
|
88
88
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
89
|
-
message: `The client already has
|
|
89
|
+
message: `The client already has {filingStatus} starting from {startDate2} to {endDate2}. Your current entity type overlaps with that time. Please adjust the dates so they don't overlap.`,
|
|
90
90
|
params: ['filingStatus', 'startDate1', 'endDate1', 'startDate2', 'endDate2'],
|
|
91
91
|
affectedFields: ['filingStatus'],
|
|
92
92
|
},
|
|
@@ -11,7 +11,7 @@ exports.CLIENT_RECORDS_OUTSIDE_PROVIDERS = (0, validation_message_types_1.define
|
|
|
11
11
|
},
|
|
12
12
|
SAME_TYPE_TIMELINE_OVERLAP: {
|
|
13
13
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
14
|
-
message: `The client already has
|
|
14
|
+
message: `The client already has {outsideProviderType} starting from {startDate}. Your entry overlaps with that time. Please adjust the dates so they don't overlap.`,
|
|
15
15
|
params: ['outsideProviderType', 'startDate'],
|
|
16
16
|
affectedFields: ['starting', 'ending'],
|
|
17
17
|
},
|
|
@@ -10,79 +10,79 @@ exports.CLIENT_RELATIONSHIPS_COMMON = (0, validation_message_types_1.defineValid
|
|
|
10
10
|
},
|
|
11
11
|
INVALID_RELATIONSHIP_TYPE_FOR_ENTITY_TYPE: {
|
|
12
12
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
13
|
-
message: `
|
|
13
|
+
message: `{clientName} is a/an {entityType}, which can't have {relationshipType}s. Please update the relationship type.`,
|
|
14
14
|
params: ['clientName', 'entityType', 'relationshipType'],
|
|
15
15
|
affectedFields: ['relationshipType'],
|
|
16
16
|
},
|
|
17
17
|
STARTING_DATE_BEFORE_CLIENT_DATE_ESTABLISHED: {
|
|
18
18
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
19
|
-
message: `This relationship's start date cannot be before {clientName}'s date established,
|
|
19
|
+
message: `This relationship's start date cannot be before {clientName}'s date established, {clientDateEstablished}. Please adjust the dates to proceed.`,
|
|
20
20
|
params: ['clientName', 'clientDateEstablished'],
|
|
21
21
|
affectedFields: ['startingDate'],
|
|
22
22
|
},
|
|
23
23
|
STARTING_DATE_ON_OR_AFTER_CLIENT_CLOSE_DATE: {
|
|
24
24
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
25
|
-
message: `This relationship's start date cannot be on or after {clientName}'s close date,
|
|
25
|
+
message: `This relationship's start date cannot be on or after {clientName}'s close date, {clientCloseDate}. Please adjust the dates to proceed.`,
|
|
26
26
|
params: ['clientName', 'clientCloseDate'],
|
|
27
27
|
affectedFields: ['startingDate'],
|
|
28
28
|
},
|
|
29
29
|
STARTING_DATE_BEFORE_RELATED_CLIENT_DATE_ESTABLISHED: {
|
|
30
30
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
31
|
-
message: `This relationship's start date cannot be before {relatedClientName}'s date established,
|
|
31
|
+
message: `This relationship's start date cannot be before {relatedClientName}'s date established, {relatedClientDateEstablished}. Please adjust the dates to proceed.`,
|
|
32
32
|
params: ['relatedClientName', 'relatedClientDateEstablished'],
|
|
33
33
|
affectedFields: ['startingDate'],
|
|
34
34
|
},
|
|
35
35
|
STARTING_DATE_ON_OR_AFTER_RELATED_CLIENT_CLOSE_DATE: {
|
|
36
36
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
37
|
-
message: `This relationship's start date cannot be on or after {relatedClientName}'s close date,
|
|
37
|
+
message: `This relationship's start date cannot be on or after {relatedClientName}'s close date, {relatedClientCloseDate}. Please adjust the dates to proceed.`,
|
|
38
38
|
params: ['relatedClientName', 'relatedClientCloseDate'],
|
|
39
39
|
affectedFields: ['startingDate'],
|
|
40
40
|
},
|
|
41
41
|
ENDING_DATE_ON_OR_BEFORE_STARTING_DATE: {
|
|
42
42
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
43
|
-
message: `Please update the relationship ending date to be after the starting date,
|
|
43
|
+
message: `Please update the relationship ending date to be after the starting date, {startingDate}.`,
|
|
44
44
|
params: ['startingDate'],
|
|
45
45
|
affectedFields: ['endingDate'],
|
|
46
46
|
},
|
|
47
47
|
ENDING_DATE_AFTER_CLIENT_CLOSE_DATE: {
|
|
48
48
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
49
|
-
message: `{clientName}'s close date is
|
|
49
|
+
message: `{clientName}'s close date is {clientCloseDate}. One or more relationships have end dates later than this. Please update the following relationship end dates to be on or before {clientCloseDate}: {relationshipsWithEndingDateAfterCloseDate}, or update {clientName}'s close date.`,
|
|
50
50
|
params: ['clientName', 'clientCloseDate', 'relationshipsWithEndingDateAfterCloseDate'],
|
|
51
51
|
affectedFields: ['endingDate'],
|
|
52
52
|
},
|
|
53
53
|
ENDING_DATE_AFTER_RELATED_CLIENT_CLOSE_DATE: {
|
|
54
54
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
55
|
-
message: `{relatedClientName}'s close date is
|
|
55
|
+
message: `{relatedClientName}'s close date is {relatedClientCloseDate}. One or more relationships have end dates later than this. Please update the following relationship end dates to be on or before {relatedClientCloseDate}: {relationshipsWithEndingDateAfterCloseDate}, or update {relatedClientName}'s close date.`,
|
|
56
56
|
params: ['relatedClientName', 'relatedClientCloseDate', 'relationshipsWithEndingDateAfterCloseDate'],
|
|
57
57
|
affectedFields: ['endingDate'],
|
|
58
58
|
},
|
|
59
59
|
FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_CLIENT_CLOSE_DATE: {
|
|
60
60
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
61
|
-
message: `The relationship between
|
|
61
|
+
message: `The relationship between {clientName} and {relatedClientName} has no end date or is not marked as final. Please update {relatedClientName}'s end date to be on or before {clientName}'s close date of {clientCloseDate}, or mark the relationship as final.`,
|
|
62
62
|
params: ['clientName', 'relatedClientName', 'clientCloseDate'],
|
|
63
63
|
affectedFields: ['endingDate', 'final'],
|
|
64
64
|
},
|
|
65
65
|
FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_RELATED_CLIENT_CLOSE_DATE: {
|
|
66
66
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
67
|
-
message: `The relationship between
|
|
67
|
+
message: `The relationship between {clientName} and {relatedClientName} has no end date or is not marked as final. Please update {clientName}'s end date to be on or before {relatedClientName}'s close date of {relatedClientCloseDate}, or mark the relationship as final.`,
|
|
68
68
|
params: ['clientName', 'relatedClientName', 'relatedClientCloseDate'],
|
|
69
69
|
affectedFields: ['endingDate', 'final'],
|
|
70
70
|
},
|
|
71
71
|
CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
72
72
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
73
|
-
message: `
|
|
73
|
+
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.`,
|
|
74
74
|
params: ['clientName', 'relatedClientName', 'relationshipType'],
|
|
75
75
|
affectedFields: ['relationshipType', 'relatedClient', 'startingDate', 'endingDate'],
|
|
76
76
|
},
|
|
77
77
|
CONFLICTING_RELATIONSHIP_TYPES_SAME_TIMEFRAME: {
|
|
78
78
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
79
|
-
message: `
|
|
79
|
+
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.`,
|
|
80
80
|
params: ['relatedClientName', 'clientName'],
|
|
81
81
|
affectedFields: ['relationshipType', 'relatedClient', 'startingDate', 'endingDate'],
|
|
82
82
|
},
|
|
83
83
|
CONSECUTIVE_DUPLICATE_RELATIONSHIPS: {
|
|
84
84
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
85
|
-
message: `There is another
|
|
85
|
+
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.`,
|
|
86
86
|
params: ['relationshipType', 'relatedClientName', 'clientName', 'relationshipEnding'],
|
|
87
87
|
affectedFields: ['startingDate', 'endingDate'],
|
|
88
88
|
},
|
|
@@ -5,7 +5,7 @@ const validation_message_types_1 = require("../validation-message.types");
|
|
|
5
5
|
exports.CLIENT_RELATIONSHIPS_INCOME_SOURCES = (0, validation_message_types_1.defineValidationFeatureMessages)({
|
|
6
6
|
SUBSIDIARY_CANNOT_HAVE_PARENT: {
|
|
7
7
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
8
|
-
message: `
|
|
8
|
+
message: `{clientName} cannot have subsidiary relationships since it is filing as a subsidiary under {parentClientName} during this timeframe. Please adjust the timeframe or select a different relationship type.`,
|
|
9
9
|
params: ['clientName', 'parentClientName'],
|
|
10
10
|
affectedFields: ['relationshipType', 'startingDate', 'endingDate'],
|
|
11
11
|
},
|
|
@@ -66,7 +66,7 @@ exports.CLIENT_RELATIONSHIPS_INCOME_SOURCES = (0, validation_message_types_1.def
|
|
|
66
66
|
},
|
|
67
67
|
K1_ISSUER_INVALID_ENTITY_TYPE: {
|
|
68
68
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
69
|
-
message: `
|
|
69
|
+
message: `{relatedClient} is a/an {entityType}, which cannot issue K1s. Please select a different client or choose a different relationship type.`,
|
|
70
70
|
params: ['relatedClient', 'entityType'],
|
|
71
71
|
affectedFields: ['relatedClient', 'relationshipType'],
|
|
72
72
|
},
|
|
@@ -15,13 +15,13 @@ exports.CLIENT_RELATIONSHIPS_OWNERS = (0, validation_message_types_1.defineValid
|
|
|
15
15
|
},
|
|
16
16
|
MULTIPLE_PARENT_RELATIONSHIPS_SAME_TIMEFRAME: {
|
|
17
17
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
18
|
-
message: `There can only be one parent relationship associated to a client during the same timeframe. There is a current parent relationship with
|
|
18
|
+
message: `There can only be one parent relationship associated to a client during the same timeframe. There is a current parent relationship with {parentRelatedClientName} starting {relationshipStarting}. Please add an end date to that relationship before adding a new one.`,
|
|
19
19
|
params: ['parentRelatedClientName', 'relationshipStarting'],
|
|
20
20
|
affectedFields: ['relationshipType', 'startingDate'],
|
|
21
21
|
},
|
|
22
22
|
PARENT_CANNOT_BE_SUB_ENTITY: {
|
|
23
23
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
24
|
-
message: `
|
|
24
|
+
message: `{relatedClientName} cannot be the parent of {clientName}, since it is filing as a sub-entity under another parent during this timeframe. Please adjust the timeframe or select a different relationship type.`,
|
|
25
25
|
params: ['relatedClientName', 'clientName'],
|
|
26
26
|
affectedFields: ['relatedClient', 'relationshipType', 'startingDate', 'endingDate'],
|
|
27
27
|
},
|
|
@@ -25,7 +25,7 @@ exports.CLIENT_TEMPLATE_ASSIGNMENTS = (0, validation_message_types_1.defineValid
|
|
|
25
25
|
},
|
|
26
26
|
ORDER_NOT_CONSECUTIVE: {
|
|
27
27
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
28
|
-
message:
|
|
28
|
+
message: `Assignment orders must be consecutive starting from 1. Expected orders: {expected}`,
|
|
29
29
|
params: ['expected'],
|
|
30
30
|
affectedFields: ['assignments.order'],
|
|
31
31
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-templates.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"client-templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-templates.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0L3B,CAAC"}
|
|
@@ -165,7 +165,7 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
165
165
|
},
|
|
166
166
|
OVERRIDE_DAY_EXCEEDS_MONTH_MAX: {
|
|
167
167
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
168
|
-
message: `Day
|
|
168
|
+
message: `Day {dayOfMonth} is not valid for {monthName}. The maximum allowed day is {maxDays}.`,
|
|
169
169
|
params: ['dayOfMonth', 'monthName', 'maxDays'],
|
|
170
170
|
affectedFields: ['recurrence.dayOfMonth'],
|
|
171
171
|
},
|
|
@@ -16,7 +16,7 @@ exports.FILING_CATEGORIES = (0, validation_message_types_1.defineValidationFeatu
|
|
|
16
16
|
},
|
|
17
17
|
NAME_ALREADY_EXISTS: {
|
|
18
18
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
19
|
-
message: `Filing category with the same name
|
|
19
|
+
message: `Filing category with the same name {name} already exists`,
|
|
20
20
|
params: ['name'],
|
|
21
21
|
affectedFields: ['filingCategory'],
|
|
22
22
|
},
|
|
@@ -10,7 +10,7 @@ exports.INCOME_ACCOUNTS = (0, validation_message_types_1.defineValidationFeature
|
|
|
10
10
|
},
|
|
11
11
|
NAME_ALREADY_EXISTS: {
|
|
12
12
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
13
|
-
message:
|
|
13
|
+
message: 'Income account with the name {name} already exists',
|
|
14
14
|
params: ['name'],
|
|
15
15
|
affectedFields: ['name'],
|
|
16
16
|
},
|
|
@@ -5,13 +5,13 @@ const validation_message_types_1 = require("../validation-message.types");
|
|
|
5
5
|
exports.ROLES_AND_PERMISSIONS = (0, validation_message_types_1.defineValidationFeatureMessages)({
|
|
6
6
|
ROLE_ALREADY_EXISTS: {
|
|
7
7
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
8
|
-
message: `Role with name
|
|
8
|
+
message: `Role with name {name} already exists`,
|
|
9
9
|
params: ['name'],
|
|
10
10
|
affectedFields: ['name'],
|
|
11
11
|
},
|
|
12
12
|
PERMISSION_ALREADY_EXISTS: {
|
|
13
13
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
14
|
-
message: `Permission with name
|
|
14
|
+
message: `Permission with name {name} already exists`,
|
|
15
15
|
params: ['name'],
|
|
16
16
|
affectedFields: ['name'],
|
|
17
17
|
},
|
|
@@ -35,7 +35,7 @@ exports.ROLES_AND_PERMISSIONS = (0, validation_message_types_1.defineValidationF
|
|
|
35
35
|
},
|
|
36
36
|
ROLE_HAS_ASSIGNED_USERS: {
|
|
37
37
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
38
|
-
message: `Cannot delete role with name
|
|
38
|
+
message: `Cannot delete role with name {roleName} because it has users assigned to it`,
|
|
39
39
|
params: ['roleName'],
|
|
40
40
|
affectedFields: [],
|
|
41
41
|
},
|
|
@@ -16,7 +16,7 @@ exports.STATES = (0, validation_message_types_1.defineValidationFeatureMessages)
|
|
|
16
16
|
},
|
|
17
17
|
NAME_ALREADY_EXISTS: {
|
|
18
18
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
19
|
-
message: `State with the same name
|
|
19
|
+
message: `State with the same name {name} already exists`,
|
|
20
20
|
params: ['name'],
|
|
21
21
|
affectedFields: ['name'],
|
|
22
22
|
},
|
|
@@ -44,13 +44,13 @@ exports.STATES = (0, validation_message_types_1.defineValidationFeatureMessages)
|
|
|
44
44
|
},
|
|
45
45
|
STATE_PARENT_TYPE_NOT_ALLOWED: {
|
|
46
46
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
47
|
-
message: `There must be a nation associated with the state
|
|
47
|
+
message: `There must be a nation associated with the state {stateName}. Please select a nation to proceed.`,
|
|
48
48
|
params: ['stateName'],
|
|
49
49
|
affectedFields: ['parent'],
|
|
50
50
|
},
|
|
51
51
|
CITY_PARENT_TYPE_NOT_ALLOWED: {
|
|
52
52
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
53
|
-
message: `There must be a state associated with the city
|
|
53
|
+
message: `There must be a state associated with the city {cityName}. Please select a state to proceed.`,
|
|
54
54
|
params: ['cityName'],
|
|
55
55
|
affectedFields: ['parent'],
|
|
56
56
|
},
|
|
@@ -85,7 +85,7 @@ exports.TEMPLATE_ASSIGNMENTS = (0, validation_message_types_1.defineValidationFe
|
|
|
85
85
|
},
|
|
86
86
|
ASSIGNMENTS_ORDER_NOT_CONSECUTIVE: {
|
|
87
87
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
88
|
-
message:
|
|
88
|
+
message: `Assignment orders must be consecutive starting from 1. Expected orders: {expected}`,
|
|
89
89
|
params: ['expected'],
|
|
90
90
|
affectedFields: ['assignments'],
|
|
91
91
|
},
|
|
@@ -206,6 +206,12 @@ export declare const TEMPLATE_INFORMATION: {
|
|
|
206
206
|
params: string[];
|
|
207
207
|
affectedFields: string[];
|
|
208
208
|
};
|
|
209
|
+
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
210
|
+
severity: "error";
|
|
211
|
+
message: string;
|
|
212
|
+
params: string[];
|
|
213
|
+
affectedFields: string[];
|
|
214
|
+
};
|
|
209
215
|
TAX_PAYMENT_FILING_REQUIRED: {
|
|
210
216
|
severity: "error";
|
|
211
217
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6U/B,CAAC"}
|