@forwardslashns/taskit-validation-messages 1.10.94 → 1.10.96
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/tasks.validation-messages.d.ts +33 -0
- package/dist/validation/features/tasks.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/tasks.validation-messages.js +33 -0
- package/dist/validation/validation-messages.d.ts +33 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/tasks.validation-messages.ts +33 -0
|
@@ -217,6 +217,18 @@ export declare const TASKS: {
|
|
|
217
217
|
params: string[];
|
|
218
218
|
affectedFields: string[];
|
|
219
219
|
};
|
|
220
|
+
TASK_FILING_DUPLICATED_IN_SNAPSHOT: {
|
|
221
|
+
severity: "error";
|
|
222
|
+
message: string;
|
|
223
|
+
params: string[];
|
|
224
|
+
affectedFields: string[];
|
|
225
|
+
};
|
|
226
|
+
TASK_FILING_STATE_MISMATCH: {
|
|
227
|
+
severity: "error";
|
|
228
|
+
message: string;
|
|
229
|
+
params: string[];
|
|
230
|
+
affectedFields: string[];
|
|
231
|
+
};
|
|
220
232
|
CANNOT_MODIFY_FINAL_ASSIGNMENT: {
|
|
221
233
|
severity: "error";
|
|
222
234
|
message: string;
|
|
@@ -288,6 +300,17 @@ export declare const TASKS: {
|
|
|
288
300
|
params: string[];
|
|
289
301
|
affectedFields: string[];
|
|
290
302
|
};
|
|
303
|
+
TAX_PAYMENT_FILING_NOT_VALID: {
|
|
304
|
+
severity: "error";
|
|
305
|
+
message: string;
|
|
306
|
+
affectedFields: string[];
|
|
307
|
+
};
|
|
308
|
+
TAX_PAYMENT_TEMPLATE_NOT_IN_FILING: {
|
|
309
|
+
severity: "error";
|
|
310
|
+
message: string;
|
|
311
|
+
params: string[];
|
|
312
|
+
affectedFields: string[];
|
|
313
|
+
};
|
|
291
314
|
TAX_PAYMENT_TYPE_REQUIRED: {
|
|
292
315
|
severity: "error";
|
|
293
316
|
message: string;
|
|
@@ -323,5 +346,15 @@ export declare const TASKS: {
|
|
|
323
346
|
message: string;
|
|
324
347
|
affectedFields: string[];
|
|
325
348
|
};
|
|
349
|
+
TAX_YEAR_DIGITS_INVALID: {
|
|
350
|
+
severity: "error";
|
|
351
|
+
message: string;
|
|
352
|
+
affectedFields: string[];
|
|
353
|
+
};
|
|
354
|
+
TAX_YEAR_PREFIX_INVALID: {
|
|
355
|
+
severity: "error";
|
|
356
|
+
message: string;
|
|
357
|
+
affectedFields: string[];
|
|
358
|
+
};
|
|
326
359
|
};
|
|
327
360
|
//# sourceMappingURL=tasks.validation-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqXhB,CAAC"}
|
|
@@ -221,6 +221,18 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
|
|
|
221
221
|
params: ['clientTemplateStateId'],
|
|
222
222
|
affectedFields: ['filings'],
|
|
223
223
|
},
|
|
224
|
+
TASK_FILING_DUPLICATED_IN_SNAPSHOT: {
|
|
225
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
226
|
+
message: 'Task filing {filingId} appears more than once in the request.',
|
|
227
|
+
params: ['filingId'],
|
|
228
|
+
affectedFields: ['filings'],
|
|
229
|
+
},
|
|
230
|
+
TASK_FILING_STATE_MISMATCH: {
|
|
231
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
232
|
+
message: 'Task filing {filingId} does not belong to state sub-filing {clientTemplateStateId}.',
|
|
233
|
+
params: ['filingId', 'clientTemplateStateId'],
|
|
234
|
+
affectedFields: ['filings'],
|
|
235
|
+
},
|
|
224
236
|
CANNOT_MODIFY_FINAL_ASSIGNMENT: {
|
|
225
237
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
226
238
|
message: 'Assignment "{assignmentName}" is final and cannot be modified.',
|
|
@@ -292,6 +304,17 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
|
|
|
292
304
|
params: ['templateId'],
|
|
293
305
|
affectedFields: ['templateId'],
|
|
294
306
|
},
|
|
307
|
+
TAX_PAYMENT_FILING_NOT_VALID: {
|
|
308
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
309
|
+
message: 'The selected tax payment filing is not available for this client.',
|
|
310
|
+
affectedFields: ['clientFilingTemplateId'],
|
|
311
|
+
},
|
|
312
|
+
TAX_PAYMENT_TEMPLATE_NOT_IN_FILING: {
|
|
313
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
314
|
+
message: 'Tax payment template {templateId} does not belong to the selected tax payment filing.',
|
|
315
|
+
params: ['templateId'],
|
|
316
|
+
affectedFields: ['templateId'],
|
|
317
|
+
},
|
|
295
318
|
TAX_PAYMENT_TYPE_REQUIRED: {
|
|
296
319
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
297
320
|
message: 'Tax payment type is required.',
|
|
@@ -327,4 +350,14 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
|
|
|
327
350
|
message: 'Tax year must have 4 digits and start with 20.',
|
|
328
351
|
affectedFields: ['year'],
|
|
329
352
|
},
|
|
353
|
+
TAX_YEAR_DIGITS_INVALID: {
|
|
354
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
355
|
+
message: 'Please enter a 4 digit year.',
|
|
356
|
+
affectedFields: ['year'],
|
|
357
|
+
},
|
|
358
|
+
TAX_YEAR_PREFIX_INVALID: {
|
|
359
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
360
|
+
message: 'Please enter a valid 4-digit year.',
|
|
361
|
+
affectedFields: ['year'],
|
|
362
|
+
},
|
|
330
363
|
});
|
|
@@ -2670,6 +2670,18 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2670
2670
|
params: string[];
|
|
2671
2671
|
affectedFields: string[];
|
|
2672
2672
|
};
|
|
2673
|
+
TASK_FILING_DUPLICATED_IN_SNAPSHOT: {
|
|
2674
|
+
severity: "error";
|
|
2675
|
+
message: string;
|
|
2676
|
+
params: string[];
|
|
2677
|
+
affectedFields: string[];
|
|
2678
|
+
};
|
|
2679
|
+
TASK_FILING_STATE_MISMATCH: {
|
|
2680
|
+
severity: "error";
|
|
2681
|
+
message: string;
|
|
2682
|
+
params: string[];
|
|
2683
|
+
affectedFields: string[];
|
|
2684
|
+
};
|
|
2673
2685
|
CANNOT_MODIFY_FINAL_ASSIGNMENT: {
|
|
2674
2686
|
severity: "error";
|
|
2675
2687
|
message: string;
|
|
@@ -2741,6 +2753,17 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2741
2753
|
params: string[];
|
|
2742
2754
|
affectedFields: string[];
|
|
2743
2755
|
};
|
|
2756
|
+
TAX_PAYMENT_FILING_NOT_VALID: {
|
|
2757
|
+
severity: "error";
|
|
2758
|
+
message: string;
|
|
2759
|
+
affectedFields: string[];
|
|
2760
|
+
};
|
|
2761
|
+
TAX_PAYMENT_TEMPLATE_NOT_IN_FILING: {
|
|
2762
|
+
severity: "error";
|
|
2763
|
+
message: string;
|
|
2764
|
+
params: string[];
|
|
2765
|
+
affectedFields: string[];
|
|
2766
|
+
};
|
|
2744
2767
|
TAX_PAYMENT_TYPE_REQUIRED: {
|
|
2745
2768
|
severity: "error";
|
|
2746
2769
|
message: string;
|
|
@@ -2776,6 +2799,16 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2776
2799
|
message: string;
|
|
2777
2800
|
affectedFields: string[];
|
|
2778
2801
|
};
|
|
2802
|
+
TAX_YEAR_DIGITS_INVALID: {
|
|
2803
|
+
severity: "error";
|
|
2804
|
+
message: string;
|
|
2805
|
+
affectedFields: string[];
|
|
2806
|
+
};
|
|
2807
|
+
TAX_YEAR_PREFIX_INVALID: {
|
|
2808
|
+
severity: "error";
|
|
2809
|
+
message: string;
|
|
2810
|
+
affectedFields: string[];
|
|
2811
|
+
};
|
|
2779
2812
|
};
|
|
2780
2813
|
};
|
|
2781
2814
|
//# sourceMappingURL=validation-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -231,6 +231,18 @@ export const TASKS = defineValidationFeatureMessages({
|
|
|
231
231
|
params: ['clientTemplateStateId'],
|
|
232
232
|
affectedFields: ['filings'],
|
|
233
233
|
},
|
|
234
|
+
TASK_FILING_DUPLICATED_IN_SNAPSHOT: {
|
|
235
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
236
|
+
message: 'Task filing {filingId} appears more than once in the request.',
|
|
237
|
+
params: ['filingId'],
|
|
238
|
+
affectedFields: ['filings'],
|
|
239
|
+
},
|
|
240
|
+
TASK_FILING_STATE_MISMATCH: {
|
|
241
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
242
|
+
message: 'Task filing {filingId} does not belong to state sub-filing {clientTemplateStateId}.',
|
|
243
|
+
params: ['filingId', 'clientTemplateStateId'],
|
|
244
|
+
affectedFields: ['filings'],
|
|
245
|
+
},
|
|
234
246
|
CANNOT_MODIFY_FINAL_ASSIGNMENT: {
|
|
235
247
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
236
248
|
message: 'Assignment "{assignmentName}" is final and cannot be modified.',
|
|
@@ -305,6 +317,17 @@ export const TASKS = defineValidationFeatureMessages({
|
|
|
305
317
|
params: ['templateId'],
|
|
306
318
|
affectedFields: ['templateId'],
|
|
307
319
|
},
|
|
320
|
+
TAX_PAYMENT_FILING_NOT_VALID: {
|
|
321
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
322
|
+
message: 'The selected tax payment filing is not available for this client.',
|
|
323
|
+
affectedFields: ['clientFilingTemplateId'],
|
|
324
|
+
},
|
|
325
|
+
TAX_PAYMENT_TEMPLATE_NOT_IN_FILING: {
|
|
326
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
327
|
+
message: 'Tax payment template {templateId} does not belong to the selected tax payment filing.',
|
|
328
|
+
params: ['templateId'],
|
|
329
|
+
affectedFields: ['templateId'],
|
|
330
|
+
},
|
|
308
331
|
TAX_PAYMENT_TYPE_REQUIRED: {
|
|
309
332
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
310
333
|
message: 'Tax payment type is required.',
|
|
@@ -340,4 +363,14 @@ export const TASKS = defineValidationFeatureMessages({
|
|
|
340
363
|
message: 'Tax year must have 4 digits and start with 20.',
|
|
341
364
|
affectedFields: ['year'],
|
|
342
365
|
},
|
|
366
|
+
TAX_YEAR_DIGITS_INVALID: {
|
|
367
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
368
|
+
message: 'Please enter a 4 digit year.',
|
|
369
|
+
affectedFields: ['year'],
|
|
370
|
+
},
|
|
371
|
+
TAX_YEAR_PREFIX_INVALID: {
|
|
372
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
373
|
+
message: 'Please enter a valid 4-digit year.',
|
|
374
|
+
affectedFields: ['year'],
|
|
375
|
+
},
|
|
343
376
|
});
|