@forwardslashns/taskit-validation-messages 1.0.15 → 1.0.16

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.
@@ -147,7 +147,7 @@ export declare const VALIDATION_MESSAGES: {
147
147
  readonly NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
148
148
  readonly message: "Filing type starting date needs to be before the ending date";
149
149
  };
150
- readonly NOT_ALIGNED_DOMESTIC_STATE_STARTING_ENDING_DATE: {
150
+ readonly NOT_ALIGNED_STATE_STARTING_ENDING_DATE: {
151
151
  readonly message: "Domestic state starting date needs to be before the ending date";
152
152
  };
153
153
  readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_ACCOUNT_ID: {
@@ -210,11 +210,11 @@ export declare const VALIDATION_MESSAGES: {
210
210
  readonly CLIENT_COULD_NOT_BE_DELETED_CONTACTS_EXIST: {
211
211
  readonly message: "This client cannot be deleted because it has contacts associated";
212
212
  };
213
- readonly NOT_ALIGNED_CLOSE_DATE_DOMEASTIC_STATE_STARTING_DATE: {
213
+ readonly NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
214
214
  readonly 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.";
215
215
  readonly params: readonly ["clientCloseDate", "domesticState", "domesticStateStartingDate"];
216
216
  };
217
- readonly DOMESTIC_STATE_DATE_GAP_DETECTED: {
217
+ readonly STATE_DATE_GAP_DETECTED: {
218
218
  readonly message: "There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.";
219
219
  readonly params: readonly ["currentState", "currentStateEndDate", "nextState", "nextStateStartDate"];
220
220
  };
@@ -158,7 +158,7 @@ exports.VALIDATION_MESSAGES = {
158
158
  NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
159
159
  message: `Filing type starting date needs to be before the ending date`,
160
160
  },
161
- NOT_ALIGNED_DOMESTIC_STATE_STARTING_ENDING_DATE: {
161
+ NOT_ALIGNED_STATE_STARTING_ENDING_DATE: {
162
162
  message: `Domestic state starting date needs to be before the ending date`,
163
163
  },
164
164
  CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_ACCOUNT_ID: {
@@ -221,11 +221,11 @@ exports.VALIDATION_MESSAGES = {
221
221
  CLIENT_COULD_NOT_BE_DELETED_CONTACTS_EXIST: {
222
222
  message: `This client cannot be deleted because it has contacts associated`,
223
223
  },
224
- NOT_ALIGNED_CLOSE_DATE_DOMEASTIC_STATE_STARTING_DATE: {
224
+ NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
225
225
  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.`,
226
226
  params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
227
227
  },
228
- DOMESTIC_STATE_DATE_GAP_DETECTED: {
228
+ STATE_DATE_GAP_DETECTED: {
229
229
  message: `There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.`,
230
230
  params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
231
231
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -155,7 +155,7 @@ export const VALIDATION_MESSAGES = {
155
155
  NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
156
156
  message: `Filing type starting date needs to be before the ending date`,
157
157
  },
158
- NOT_ALIGNED_DOMESTIC_STATE_STARTING_ENDING_DATE: {
158
+ NOT_ALIGNED_STATE_STARTING_ENDING_DATE: {
159
159
  message: `Domestic state starting date needs to be before the ending date`,
160
160
  },
161
161
  CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_ACCOUNT_ID: {
@@ -218,11 +218,11 @@ export const VALIDATION_MESSAGES = {
218
218
  CLIENT_COULD_NOT_BE_DELETED_CONTACTS_EXIST: {
219
219
  message: `This client cannot be deleted because it has contacts associated`,
220
220
  },
221
- NOT_ALIGNED_CLOSE_DATE_DOMEASTIC_STATE_STARTING_DATE: {
221
+ NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
222
222
  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.`,
223
223
  params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
224
224
  },
225
- DOMESTIC_STATE_DATE_GAP_DETECTED: {
225
+ STATE_DATE_GAP_DETECTED: {
226
226
  message: `There is a gap in the timeframes between {currentState}, ending {currentStateEndDate}, and {nextState}, starting {nextStateStartDate}. Please adjust the dates to fill this gap.`,
227
227
  params: ['currentState', 'currentStateEndDate', 'nextState', 'nextStateStartDate'],
228
228
  },