@forwardslashns/taskit-validation-messages 1.0.16 → 1.0.17

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.
@@ -210,6 +210,9 @@ 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 AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
214
+ readonly message: "At least one domestic state should exist";
215
+ };
213
216
  readonly NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
214
217
  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
218
  readonly params: readonly ["clientCloseDate", "domesticState", "domesticStateStartingDate"];
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0VtB,CAAC"}
1
+ {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6VtB,CAAC"}
@@ -221,6 +221,9 @@ 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
+ AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
225
+ message: `At least one domestic state should exist`,
226
+ },
224
227
  NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
225
228
  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
229
  params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -218,6 +218,9 @@ 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
+ AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
222
+ message: `At least one domestic state should exist`,
223
+ },
221
224
  NOT_ALIGNED_CLOSE_DATE_DOMESTIC_STATE_STARTING_DATE: {
222
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.`,
223
226
  params: ['clientCloseDate', 'domesticState', 'domesticStateStartingDate'],