@forwardslashns/taskit-validation-messages 1.0.34 → 1.0.35

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.
@@ -239,7 +239,7 @@ export declare const VALIDATION_MESSAGES: {
239
239
  readonly params: readonly ["dateEstablished", "earliestEntityType", "earliestEntityTypeStartDate"];
240
240
  };
241
241
  readonly ENTITY_TYPES_DATES_OVERLAP: {
242
- readonly message: "There are multiple entries for {entityType} with overlapping timeframes: {entityType} from {startDate1} to {endDate1}, {entityType} from {startDate2} to {endDate2}. An entity type cannot appear more than once with overlapping dates. Please adjust the dates on the new or existing {entityType} entries to remove the overlap.";
242
+ readonly 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.";
243
243
  readonly params: readonly ["entityType", "startDate1", "endDate1", "startDate2", "endDate2"];
244
244
  };
245
245
  readonly ALL_NON_LAST_ENTITY_TYPES_REQUIRE_ENDING_DATE: {
@@ -284,7 +284,7 @@ export declare const VALIDATION_MESSAGES: {
284
284
  readonly params: readonly ["dateEstablished", "earliestFilingType", "earliestFilingTypeStartDate"];
285
285
  };
286
286
  readonly FILING_TYPES_DATES_OVERLAP: {
287
- readonly message: "There are multiple entries for {filingType} with overlapping timeframes: {filingType} from {startDate1} to {endDate1}, {filingType} from {startDate2} to {endDate2}. A Parent/Sub status cannot appear more than once with overlapping dates. Please adjust the dates on the new or existing {filingType} entries to remove the overlap.";
287
+ readonly message: "The client already has {filingType} starting from {startDate2} to {endDate2}. Your current entity type overlaps with that time. Please adjust the dates so they don't overlap.";
288
288
  readonly params: readonly ["filingType", "startDate1", "endDate1", "startDate2", "endDate2"];
289
289
  };
290
290
  readonly ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
@@ -333,7 +333,7 @@ export declare const VALIDATION_MESSAGES: {
333
333
  readonly params: readonly ["dateEstablished", "earliestState", "earliestStateStartDate"];
334
334
  };
335
335
  readonly STATES_DATES_OVERLAP: {
336
- readonly message: "There are multiple entries for {state} with overlapping timeframes: {state} from {startDate1} to {endDate1}, {state} from {startDate2} to {endDate2}. A state cannot appear more than once with overlapping dates, even if the residence type is different. Please adjust the dates on the new or existing {state} entries to remove the overlap.";
336
+ readonly 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.";
337
337
  readonly params: readonly ["state", "startDate1", "endDate1", "startDate2", "endDate2"];
338
338
  };
339
339
  readonly ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
@@ -243,7 +243,7 @@ exports.VALIDATION_MESSAGES = {
243
243
  params: ['dateEstablished', 'earliestEntityType', 'earliestEntityTypeStartDate'],
244
244
  },
245
245
  ENTITY_TYPES_DATES_OVERLAP: {
246
- message: `There are multiple entries for {entityType} with overlapping timeframes: {entityType} from {startDate1} to {endDate1}, {entityType} from {startDate2} to {endDate2}. An entity type cannot appear more than once with overlapping dates. Please adjust the dates on the new or existing {entityType} entries to remove the overlap.`,
246
+ 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.`,
247
247
  params: ['entityType', 'startDate1', 'endDate1', 'startDate2', 'endDate2'],
248
248
  },
249
249
  ALL_NON_LAST_ENTITY_TYPES_REQUIRE_ENDING_DATE: {
@@ -289,7 +289,7 @@ exports.VALIDATION_MESSAGES = {
289
289
  params: ['dateEstablished', 'earliestFilingType', 'earliestFilingTypeStartDate'],
290
290
  },
291
291
  FILING_TYPES_DATES_OVERLAP: {
292
- message: `There are multiple entries for {filingType} with overlapping timeframes: {filingType} from {startDate1} to {endDate1}, {filingType} from {startDate2} to {endDate2}. A Parent/Sub status cannot appear more than once with overlapping dates. Please adjust the dates on the new or existing {filingType} entries to remove the overlap.`,
292
+ message: `The client already has {filingType} starting from {startDate2} to {endDate2}. Your current entity type overlaps with that time. Please adjust the dates so they don't overlap.`,
293
293
  params: ['filingType', 'startDate1', 'endDate1', 'startDate2', 'endDate2'],
294
294
  },
295
295
  ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
@@ -339,7 +339,7 @@ exports.VALIDATION_MESSAGES = {
339
339
  params: ['dateEstablished', 'earliestState', 'earliestStateStartDate'],
340
340
  },
341
341
  STATES_DATES_OVERLAP: {
342
- message: `There are multiple entries for {state} with overlapping timeframes: {state} from {startDate1} to {endDate1}, {state} from {startDate2} to {endDate2}. A state cannot appear more than once with overlapping dates, even if the residence type is different. Please adjust the dates on the new or existing {state} entries to remove the overlap.`,
342
+ 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.`,
343
343
  params: ['state', 'startDate1', 'endDate1', 'startDate2', 'endDate2'],
344
344
  },
345
345
  ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -240,7 +240,7 @@ export const VALIDATION_MESSAGES = {
240
240
  params: ['dateEstablished', 'earliestEntityType', 'earliestEntityTypeStartDate'],
241
241
  },
242
242
  ENTITY_TYPES_DATES_OVERLAP: {
243
- message: `There are multiple entries for {entityType} with overlapping timeframes: {entityType} from {startDate1} to {endDate1}, {entityType} from {startDate2} to {endDate2}. An entity type cannot appear more than once with overlapping dates. Please adjust the dates on the new or existing {entityType} entries to remove the overlap.`,
243
+ 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.`,
244
244
  params: ['entityType', 'startDate1', 'endDate1', 'startDate2', 'endDate2'],
245
245
  },
246
246
  ALL_NON_LAST_ENTITY_TYPES_REQUIRE_ENDING_DATE: {
@@ -286,7 +286,7 @@ export const VALIDATION_MESSAGES = {
286
286
  params: ['dateEstablished', 'earliestFilingType', 'earliestFilingTypeStartDate'],
287
287
  },
288
288
  FILING_TYPES_DATES_OVERLAP: {
289
- message: `There are multiple entries for {filingType} with overlapping timeframes: {filingType} from {startDate1} to {endDate1}, {filingType} from {startDate2} to {endDate2}. A Parent/Sub status cannot appear more than once with overlapping dates. Please adjust the dates on the new or existing {filingType} entries to remove the overlap.`,
289
+ message: `The client already has {filingType} starting from {startDate2} to {endDate2}. Your current entity type overlaps with that time. Please adjust the dates so they don't overlap.`,
290
290
  params: ['filingType', 'startDate1', 'endDate1', 'startDate2', 'endDate2'],
291
291
  },
292
292
  ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
@@ -336,7 +336,7 @@ export const VALIDATION_MESSAGES = {
336
336
  params: ['dateEstablished', 'earliestState', 'earliestStateStartDate'],
337
337
  },
338
338
  STATES_DATES_OVERLAP: {
339
- message: `There are multiple entries for {state} with overlapping timeframes: {state} from {startDate1} to {endDate1}, {state} from {startDate2} to {endDate2}. A state cannot appear more than once with overlapping dates, even if the residence type is different. Please adjust the dates on the new or existing {state} entries to remove the overlap.`,
339
+ 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.`,
340
340
  params: ['state', 'startDate1', 'endDate1', 'startDate2', 'endDate2'],
341
341
  },
342
342
  ALL_NON_LAST_DOMESTIC_STATES_REQUIRE_ENDING_DATE: {