@forwardslashns/taskit-validation-messages 1.0.30 → 1.0.32
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.
|
@@ -106,7 +106,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
106
106
|
readonly params: readonly ["clientDateEstablished", "entityType", "entityTypeStartingDate"];
|
|
107
107
|
};
|
|
108
108
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
109
|
-
readonly message: "The Parent/Sub status
|
|
109
|
+
readonly message: "The Parent/Sub status {filingType} starts on {filingTypeStartingDate} which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the Parent/Sub status or the client's date established.";
|
|
110
110
|
readonly params: readonly ["clientDateEstablished", "filingType", "filingTypeStartingDate"];
|
|
111
111
|
};
|
|
112
112
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
|
|
@@ -121,7 +121,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
121
121
|
readonly params: readonly ["clientCloseDate", "entityType", "entityTypeStartingDate"];
|
|
122
122
|
};
|
|
123
123
|
readonly NOT_ALIGNED_CLOSE_DATE_FILING_TYPE_STARTING_DATE: {
|
|
124
|
-
readonly message: "One or more Parent/Sub status
|
|
124
|
+
readonly message: "One or more Parent/Sub status have a start date which is after the client’s close date of {clientCloseDate}. {filingType}, starting {filingTypeStartingDate}. Please update the start date to be earlier than the client’s close date, or update the client's close date.";
|
|
125
125
|
readonly params: readonly ["clientCloseDate", "filingType", "filingTypeStartingDate"];
|
|
126
126
|
};
|
|
127
127
|
readonly ENTITY_TYPE_STARTING_DATE_NOT_POPULATED: {
|
|
@@ -247,7 +247,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
247
247
|
readonly message: "The current entity type cannot have an end date. Please remove the end date for this state.";
|
|
248
248
|
};
|
|
249
249
|
readonly FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
250
|
-
readonly message: "Parent/Sub
|
|
250
|
+
readonly message: "Parent/Sub status with ids '{ids}' do not exist";
|
|
251
251
|
readonly params: readonly ["ids"];
|
|
252
252
|
};
|
|
253
253
|
readonly AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
@@ -293,6 +293,10 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
293
293
|
readonly message: "States with ids '{ids}' do not exist";
|
|
294
294
|
readonly params: readonly ["ids"];
|
|
295
295
|
};
|
|
296
|
+
readonly RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
297
|
+
readonly message: "Residence type with ids '{ids}' does not exist";
|
|
298
|
+
readonly params: readonly ["ids"];
|
|
299
|
+
};
|
|
296
300
|
readonly AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
297
301
|
readonly message: "At least one domestic state should exist";
|
|
298
302
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsbtB,CAAC"}
|
|
@@ -109,7 +109,7 @@ exports.VALIDATION_MESSAGES = {
|
|
|
109
109
|
params: ['clientDateEstablished', 'entityType', 'entityTypeStartingDate'],
|
|
110
110
|
},
|
|
111
111
|
NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
112
|
-
message: `The Parent/Sub status
|
|
112
|
+
message: `The Parent/Sub status {filingType} starts on {filingTypeStartingDate} which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the Parent/Sub status or the client's date established.`,
|
|
113
113
|
params: ['clientDateEstablished', 'filingType', 'filingTypeStartingDate'],
|
|
114
114
|
},
|
|
115
115
|
NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
|
|
@@ -124,7 +124,7 @@ exports.VALIDATION_MESSAGES = {
|
|
|
124
124
|
params: ['clientCloseDate', 'entityType', 'entityTypeStartingDate'],
|
|
125
125
|
},
|
|
126
126
|
NOT_ALIGNED_CLOSE_DATE_FILING_TYPE_STARTING_DATE: {
|
|
127
|
-
message: `One or more Parent/Sub status
|
|
127
|
+
message: `One or more Parent/Sub status have a start date which is after the client’s close date of {clientCloseDate}. {filingType}, starting {filingTypeStartingDate}. Please update the start date to be earlier than the client’s close date, or update the client's close date.`,
|
|
128
128
|
params: ['clientCloseDate', 'filingType', 'filingTypeStartingDate'],
|
|
129
129
|
},
|
|
130
130
|
ENTITY_TYPE_STARTING_DATE_NOT_POPULATED: {
|
|
@@ -252,7 +252,7 @@ exports.VALIDATION_MESSAGES = {
|
|
|
252
252
|
},
|
|
253
253
|
//UPDATE-FILING-TYPES-VALIDATIONS
|
|
254
254
|
FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
255
|
-
message: `Parent/Sub
|
|
255
|
+
message: `Parent/Sub status with ids '{ids}' do not exist`,
|
|
256
256
|
params: ['ids'],
|
|
257
257
|
},
|
|
258
258
|
AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
@@ -299,6 +299,10 @@ exports.VALIDATION_MESSAGES = {
|
|
|
299
299
|
message: `States with ids '{ids}' do not exist`,
|
|
300
300
|
params: ['ids'],
|
|
301
301
|
},
|
|
302
|
+
RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
303
|
+
message: `Residence type with ids '{ids}' does not exist`,
|
|
304
|
+
params: ['ids'],
|
|
305
|
+
},
|
|
302
306
|
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
303
307
|
message: `At least one domestic state should exist`,
|
|
304
308
|
},
|
package/package.json
CHANGED
|
@@ -106,7 +106,7 @@ export const VALIDATION_MESSAGES = {
|
|
|
106
106
|
params: ['clientDateEstablished', 'entityType', 'entityTypeStartingDate'],
|
|
107
107
|
},
|
|
108
108
|
NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
109
|
-
message: `The Parent/Sub status
|
|
109
|
+
message: `The Parent/Sub status {filingType} starts on {filingTypeStartingDate} which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the Parent/Sub status or the client's date established.`,
|
|
110
110
|
params: ['clientDateEstablished', 'filingType', 'filingTypeStartingDate'],
|
|
111
111
|
},
|
|
112
112
|
NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
|
|
@@ -121,7 +121,7 @@ export const VALIDATION_MESSAGES = {
|
|
|
121
121
|
params: ['clientCloseDate', 'entityType', 'entityTypeStartingDate'],
|
|
122
122
|
},
|
|
123
123
|
NOT_ALIGNED_CLOSE_DATE_FILING_TYPE_STARTING_DATE: {
|
|
124
|
-
message: `One or more Parent/Sub status
|
|
124
|
+
message: `One or more Parent/Sub status have a start date which is after the client’s close date of {clientCloseDate}. {filingType}, starting {filingTypeStartingDate}. Please update the start date to be earlier than the client’s close date, or update the client's close date.`,
|
|
125
125
|
params: ['clientCloseDate', 'filingType', 'filingTypeStartingDate'],
|
|
126
126
|
},
|
|
127
127
|
ENTITY_TYPE_STARTING_DATE_NOT_POPULATED: {
|
|
@@ -249,7 +249,7 @@ export const VALIDATION_MESSAGES = {
|
|
|
249
249
|
},
|
|
250
250
|
//UPDATE-FILING-TYPES-VALIDATIONS
|
|
251
251
|
FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
252
|
-
message: `Parent/Sub
|
|
252
|
+
message: `Parent/Sub status with ids '{ids}' do not exist`,
|
|
253
253
|
params: ['ids'],
|
|
254
254
|
},
|
|
255
255
|
AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
@@ -296,6 +296,10 @@ export const VALIDATION_MESSAGES = {
|
|
|
296
296
|
message: `States with ids '{ids}' do not exist`,
|
|
297
297
|
params: ['ids'],
|
|
298
298
|
},
|
|
299
|
+
RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
300
|
+
message: `Residence type with ids '{ids}' does not exist`,
|
|
301
|
+
params: ['ids'],
|
|
302
|
+
},
|
|
299
303
|
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
300
304
|
message: `At least one domestic state should exist`,
|
|
301
305
|
},
|