@forwardslashns/taskit-validation-messages 1.9.4 → 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.
@@ -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
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwI/B,CAAC"}
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"}
@@ -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
  };
@@ -368,6 +368,30 @@ export declare const VALIDATION_MESSAGES: {
368
368
  readonly message: "This client cannot be deleted because it has contacts associated";
369
369
  readonly affectedFields: readonly [];
370
370
  };
371
+ readonly INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
372
+ readonly message: "Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.";
373
+ readonly params: readonly ["dateEstablished"];
374
+ readonly affectedFields: readonly ["initialFilingDate"];
375
+ };
376
+ readonly FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
377
+ readonly message: "Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.";
378
+ readonly params: readonly ["initialFilingDate"];
379
+ readonly affectedFields: readonly ["finalFilingDate"];
380
+ };
381
+ readonly FINAL_FILING_DATE_REQUIRED: {
382
+ readonly message: "Final filing date is required when initial filing date and close date are both provided.";
383
+ readonly affectedFields: readonly ["finalFilingDate"];
384
+ };
385
+ readonly SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
386
+ readonly message: "Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.";
387
+ readonly params: readonly ["serviceStartingDate"];
388
+ readonly affectedFields: readonly ["serviceEndingDate"];
389
+ };
390
+ readonly SERVICE_ENDING_DATE_REQUIRED: {
391
+ readonly message: "{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.";
392
+ readonly params: readonly ["clientName", "serviceStartingDate"];
393
+ readonly affectedFields: readonly ["serviceEndingDate"];
394
+ };
371
395
  };
372
396
  readonly CLIENT_RECORDS_ENTITY_TYPES: {
373
397
  readonly ENTITY_TYPE_ID_DOES_NOT_EXIST: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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -134,4 +134,28 @@ export const CLIENT_CURRENT_ENTITY_STATUS = {
134
134
  message: `This client cannot be deleted because it has contacts associated`,
135
135
  affectedFields: [],
136
136
  },
137
+ INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
138
+ message: `Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.`,
139
+ params: ['dateEstablished'],
140
+ affectedFields: ['initialFilingDate'],
141
+ },
142
+ FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
143
+ message: `Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.`,
144
+ params: ['initialFilingDate'],
145
+ affectedFields: ['finalFilingDate'],
146
+ },
147
+ FINAL_FILING_DATE_REQUIRED: {
148
+ message: `Final filing date is required when initial filing date and close date are both provided.`,
149
+ affectedFields: ['finalFilingDate'],
150
+ },
151
+ SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
152
+ message: `Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.`,
153
+ params: ['serviceStartingDate'],
154
+ affectedFields: ['serviceEndingDate'],
155
+ },
156
+ SERVICE_ENDING_DATE_REQUIRED: {
157
+ message: `{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.`,
158
+ params: ['clientName', 'serviceStartingDate'],
159
+ affectedFields: ['serviceEndingDate'],
160
+ },
137
161
  } as const;