@forwardslashns/taskit-validation-messages 1.9.4 → 1.9.6
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.
- package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts +32 -0
- package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-current-entity-statuses.validation-messages.js +32 -0
- package/dist/validation/validation-messages.d.ts +32 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-current-entity-statuses.validation-messages.ts +32 -0
|
@@ -74,6 +74,14 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
74
74
|
readonly message: "Create an Address - One address needs to have been saved to this client";
|
|
75
75
|
readonly affectedFields: readonly ["addresses"];
|
|
76
76
|
};
|
|
77
|
+
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_SERVICE_STARTING_DATE: {
|
|
78
|
+
readonly message: "Provide a Service Starting Date";
|
|
79
|
+
readonly affectedFields: readonly ["serviceStartingDate"];
|
|
80
|
+
};
|
|
81
|
+
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_INITIAL_FILING_DATE: {
|
|
82
|
+
readonly message: "Provide an Initial Filing Date";
|
|
83
|
+
readonly affectedFields: readonly ["initialFilingDate"];
|
|
84
|
+
};
|
|
77
85
|
readonly CLIENT_COULD_NOT_BE_DELETED_CLIENT_RELATIONSHIP_EXIST: {
|
|
78
86
|
readonly message: "This client cannot be deleted because it has client relationships associated";
|
|
79
87
|
readonly affectedFields: readonly [];
|
|
@@ -134,5 +142,29 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
134
142
|
readonly message: "This client cannot be deleted because it has contacts associated";
|
|
135
143
|
readonly affectedFields: readonly [];
|
|
136
144
|
};
|
|
145
|
+
readonly INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
146
|
+
readonly message: "Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.";
|
|
147
|
+
readonly params: readonly ["dateEstablished"];
|
|
148
|
+
readonly affectedFields: readonly ["initialFilingDate"];
|
|
149
|
+
};
|
|
150
|
+
readonly FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
|
|
151
|
+
readonly message: "Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.";
|
|
152
|
+
readonly params: readonly ["initialFilingDate"];
|
|
153
|
+
readonly affectedFields: readonly ["finalFilingDate"];
|
|
154
|
+
};
|
|
155
|
+
readonly FINAL_FILING_DATE_REQUIRED: {
|
|
156
|
+
readonly message: "Final filing date is required when initial filing date and close date are both provided.";
|
|
157
|
+
readonly affectedFields: readonly ["finalFilingDate"];
|
|
158
|
+
};
|
|
159
|
+
readonly SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
|
|
160
|
+
readonly message: "Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.";
|
|
161
|
+
readonly params: readonly ["serviceStartingDate"];
|
|
162
|
+
readonly affectedFields: readonly ["serviceEndingDate"];
|
|
163
|
+
};
|
|
164
|
+
readonly SERVICE_ENDING_DATE_REQUIRED: {
|
|
165
|
+
readonly message: "{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.";
|
|
166
|
+
readonly params: readonly ["clientName", "serviceStartingDate"];
|
|
167
|
+
readonly affectedFields: readonly ["serviceEndingDate"];
|
|
168
|
+
};
|
|
137
169
|
};
|
|
138
170
|
//# sourceMappingURL=client-current-entity-statuses.validation-messages.d.ts.map
|
package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map
CHANGED
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwK/B,CAAC"}
|
|
@@ -77,6 +77,14 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
77
77
|
message: `Create an Address - One address needs to have been saved to this client`,
|
|
78
78
|
affectedFields: ['addresses'],
|
|
79
79
|
},
|
|
80
|
+
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_SERVICE_STARTING_DATE: {
|
|
81
|
+
message: `Provide a Service Starting Date`,
|
|
82
|
+
affectedFields: ['serviceStartingDate'],
|
|
83
|
+
},
|
|
84
|
+
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_INITIAL_FILING_DATE: {
|
|
85
|
+
message: `Provide an Initial Filing Date`,
|
|
86
|
+
affectedFields: ['initialFilingDate'],
|
|
87
|
+
},
|
|
80
88
|
CLIENT_COULD_NOT_BE_DELETED_CLIENT_RELATIONSHIP_EXIST: {
|
|
81
89
|
message: `This client cannot be deleted because it has client relationships associated`,
|
|
82
90
|
affectedFields: [],
|
|
@@ -137,4 +145,28 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
137
145
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
138
146
|
affectedFields: [],
|
|
139
147
|
},
|
|
148
|
+
INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
149
|
+
message: `Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.`,
|
|
150
|
+
params: ['dateEstablished'],
|
|
151
|
+
affectedFields: ['initialFilingDate'],
|
|
152
|
+
},
|
|
153
|
+
FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
|
|
154
|
+
message: `Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.`,
|
|
155
|
+
params: ['initialFilingDate'],
|
|
156
|
+
affectedFields: ['finalFilingDate'],
|
|
157
|
+
},
|
|
158
|
+
FINAL_FILING_DATE_REQUIRED: {
|
|
159
|
+
message: `Final filing date is required when initial filing date and close date are both provided.`,
|
|
160
|
+
affectedFields: ['finalFilingDate'],
|
|
161
|
+
},
|
|
162
|
+
SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
|
|
163
|
+
message: `Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.`,
|
|
164
|
+
params: ['serviceStartingDate'],
|
|
165
|
+
affectedFields: ['serviceEndingDate'],
|
|
166
|
+
},
|
|
167
|
+
SERVICE_ENDING_DATE_REQUIRED: {
|
|
168
|
+
message: `{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.`,
|
|
169
|
+
params: ['clientName', 'serviceStartingDate'],
|
|
170
|
+
affectedFields: ['serviceEndingDate'],
|
|
171
|
+
},
|
|
140
172
|
};
|
|
@@ -308,6 +308,14 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
308
308
|
readonly message: "Create an Address - One address needs to have been saved to this client";
|
|
309
309
|
readonly affectedFields: readonly ["addresses"];
|
|
310
310
|
};
|
|
311
|
+
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_SERVICE_STARTING_DATE: {
|
|
312
|
+
readonly message: "Provide a Service Starting Date";
|
|
313
|
+
readonly affectedFields: readonly ["serviceStartingDate"];
|
|
314
|
+
};
|
|
315
|
+
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_INITIAL_FILING_DATE: {
|
|
316
|
+
readonly message: "Provide an Initial Filing Date";
|
|
317
|
+
readonly affectedFields: readonly ["initialFilingDate"];
|
|
318
|
+
};
|
|
311
319
|
readonly CLIENT_COULD_NOT_BE_DELETED_CLIENT_RELATIONSHIP_EXIST: {
|
|
312
320
|
readonly message: "This client cannot be deleted because it has client relationships associated";
|
|
313
321
|
readonly affectedFields: readonly [];
|
|
@@ -368,6 +376,30 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
368
376
|
readonly message: "This client cannot be deleted because it has contacts associated";
|
|
369
377
|
readonly affectedFields: readonly [];
|
|
370
378
|
};
|
|
379
|
+
readonly INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
380
|
+
readonly message: "Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.";
|
|
381
|
+
readonly params: readonly ["dateEstablished"];
|
|
382
|
+
readonly affectedFields: readonly ["initialFilingDate"];
|
|
383
|
+
};
|
|
384
|
+
readonly FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
|
|
385
|
+
readonly message: "Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.";
|
|
386
|
+
readonly params: readonly ["initialFilingDate"];
|
|
387
|
+
readonly affectedFields: readonly ["finalFilingDate"];
|
|
388
|
+
};
|
|
389
|
+
readonly FINAL_FILING_DATE_REQUIRED: {
|
|
390
|
+
readonly message: "Final filing date is required when initial filing date and close date are both provided.";
|
|
391
|
+
readonly affectedFields: readonly ["finalFilingDate"];
|
|
392
|
+
};
|
|
393
|
+
readonly SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
|
|
394
|
+
readonly message: "Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.";
|
|
395
|
+
readonly params: readonly ["serviceStartingDate"];
|
|
396
|
+
readonly affectedFields: readonly ["serviceEndingDate"];
|
|
397
|
+
};
|
|
398
|
+
readonly SERVICE_ENDING_DATE_REQUIRED: {
|
|
399
|
+
readonly message: "{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.";
|
|
400
|
+
readonly params: readonly ["clientName", "serviceStartingDate"];
|
|
401
|
+
readonly affectedFields: readonly ["serviceEndingDate"];
|
|
402
|
+
};
|
|
371
403
|
};
|
|
372
404
|
readonly CLIENT_RECORDS_ENTITY_TYPES: {
|
|
373
405
|
readonly ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -74,6 +74,14 @@ export const CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
74
74
|
message: `Create an Address - One address needs to have been saved to this client`,
|
|
75
75
|
affectedFields: ['addresses'],
|
|
76
76
|
},
|
|
77
|
+
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_SERVICE_STARTING_DATE: {
|
|
78
|
+
message: `Provide a Service Starting Date`,
|
|
79
|
+
affectedFields: ['serviceStartingDate'],
|
|
80
|
+
},
|
|
81
|
+
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_INITIAL_FILING_DATE: {
|
|
82
|
+
message: `Provide an Initial Filing Date`,
|
|
83
|
+
affectedFields: ['initialFilingDate'],
|
|
84
|
+
},
|
|
77
85
|
CLIENT_COULD_NOT_BE_DELETED_CLIENT_RELATIONSHIP_EXIST: {
|
|
78
86
|
message: `This client cannot be deleted because it has client relationships associated`,
|
|
79
87
|
affectedFields: [],
|
|
@@ -134,4 +142,28 @@ export const CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
134
142
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
135
143
|
affectedFields: [],
|
|
136
144
|
},
|
|
145
|
+
INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
146
|
+
message: `Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.`,
|
|
147
|
+
params: ['dateEstablished'],
|
|
148
|
+
affectedFields: ['initialFilingDate'],
|
|
149
|
+
},
|
|
150
|
+
FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
|
|
151
|
+
message: `Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.`,
|
|
152
|
+
params: ['initialFilingDate'],
|
|
153
|
+
affectedFields: ['finalFilingDate'],
|
|
154
|
+
},
|
|
155
|
+
FINAL_FILING_DATE_REQUIRED: {
|
|
156
|
+
message: `Final filing date is required when initial filing date and close date are both provided.`,
|
|
157
|
+
affectedFields: ['finalFilingDate'],
|
|
158
|
+
},
|
|
159
|
+
SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
|
|
160
|
+
message: `Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.`,
|
|
161
|
+
params: ['serviceStartingDate'],
|
|
162
|
+
affectedFields: ['serviceEndingDate'],
|
|
163
|
+
},
|
|
164
|
+
SERVICE_ENDING_DATE_REQUIRED: {
|
|
165
|
+
message: `{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.`,
|
|
166
|
+
params: ['clientName', 'serviceStartingDate'],
|
|
167
|
+
affectedFields: ['serviceEndingDate'],
|
|
168
|
+
},
|
|
137
169
|
} as const;
|