@forwardslashns/taskit-validation-messages 1.10.110 → 1.10.113

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.
@@ -116,7 +116,7 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
116
116
  },
117
117
  DELETE_BLOCKED_BY_GENERATED_TASKS: {
118
118
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
119
- message: 'This client template cannot be deleted because there are associated tasks already',
119
+ message: 'This client template cannot be deleted because there are associated tasks already.',
120
120
  affectedFields: ['clientTemplateId'],
121
121
  },
122
122
  DELETE_WITH_DEPENDENT_CLIENT_TEMPLATES: {
@@ -361,6 +361,30 @@ export declare const TEMPLATE_INFORMATION: {
361
361
  params: string[];
362
362
  affectedFields: string[];
363
363
  };
364
+ STOP_DATE_AFTER_STATE_SUB_FILING: {
365
+ severity: "error";
366
+ message: string;
367
+ params: string[];
368
+ affectedFields: string[];
369
+ };
370
+ REACTIVATE_BLOCKED_TAX_PAYMENT_FILING_STOPPED: {
371
+ severity: "error";
372
+ message: string;
373
+ params: string[];
374
+ affectedFields: string[];
375
+ };
376
+ REACTIVATE_BLOCKED_PARENT_FILING_STOPPED: {
377
+ severity: "error";
378
+ message: string;
379
+ params: string[];
380
+ affectedFields: string[];
381
+ };
382
+ REACTIVATE_BLOCKED_STATE_SUB_FILING_STOPPED: {
383
+ severity: "error";
384
+ message: string;
385
+ params: string[];
386
+ affectedFields: string[];
387
+ };
364
388
  TAX_PAYMENT_TEMPLATES_DEACTIVATED_WITH_TEMPLATE: {
365
389
  severity: "warning";
366
390
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0a/B,CAAC"}
1
+ {"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsc/B,CAAC"}
@@ -365,6 +365,30 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
365
365
  params: ['parentFilingTemplateName', 'parentFilingDateStopped'],
366
366
  affectedFields: ['stoppedAt'],
367
367
  },
368
+ STOP_DATE_AFTER_STATE_SUB_FILING: {
369
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
370
+ message: 'This template is associated with the state sub-filing {stateSubFilingName}, which is stopped on {stateSubFilingDateStopped}. Please set the stop date on or before that date before saving.',
371
+ params: ['stateSubFilingName', 'stateSubFilingDateStopped'],
372
+ affectedFields: ['stoppedAt'],
373
+ },
374
+ REACTIVATE_BLOCKED_TAX_PAYMENT_FILING_STOPPED: {
375
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
376
+ message: 'This template is associated with {filingTemplateName}, which is stopped on {filingTemplateDateStopped}. Please reactivate {filingTemplateName} before reactivating this template.',
377
+ params: ['filingTemplateName', 'filingTemplateDateStopped'],
378
+ affectedFields: ['stoppedAt'],
379
+ },
380
+ REACTIVATE_BLOCKED_PARENT_FILING_STOPPED: {
381
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
382
+ message: 'This template files under {parentFilingTemplateName}, which is stopped on {parentFilingDateStopped}. Please reactivate {parentFilingTemplateName} before reactivating this template.',
383
+ params: ['parentFilingTemplateName', 'parentFilingDateStopped'],
384
+ affectedFields: ['stoppedAt'],
385
+ },
386
+ REACTIVATE_BLOCKED_STATE_SUB_FILING_STOPPED: {
387
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
388
+ message: 'This template is associated with the state sub-filing {stateSubFilingName}, which is stopped on {stateSubFilingDateStopped}. Please reactivate {stateSubFilingName} before reactivating this template.',
389
+ params: ['stateSubFilingName', 'stateSubFilingDateStopped'],
390
+ affectedFields: ['stoppedAt'],
391
+ },
368
392
  TAX_PAYMENT_TEMPLATES_DEACTIVATED_WITH_TEMPLATE: {
369
393
  severity: validation_message_types_1.VALIDATION_SEVERITY.WARNING,
370
394
  message: 'Deactivating this template will also deactivate the following associated tax payment templates: {taxPaymentTemplateNames}',
@@ -1726,6 +1726,30 @@ export declare const VALIDATION_MESSAGES: {
1726
1726
  params: string[];
1727
1727
  affectedFields: string[];
1728
1728
  };
1729
+ STOP_DATE_AFTER_STATE_SUB_FILING: {
1730
+ severity: "error";
1731
+ message: string;
1732
+ params: string[];
1733
+ affectedFields: string[];
1734
+ };
1735
+ REACTIVATE_BLOCKED_TAX_PAYMENT_FILING_STOPPED: {
1736
+ severity: "error";
1737
+ message: string;
1738
+ params: string[];
1739
+ affectedFields: string[];
1740
+ };
1741
+ REACTIVATE_BLOCKED_PARENT_FILING_STOPPED: {
1742
+ severity: "error";
1743
+ message: string;
1744
+ params: string[];
1745
+ affectedFields: string[];
1746
+ };
1747
+ REACTIVATE_BLOCKED_STATE_SUB_FILING_STOPPED: {
1748
+ severity: "error";
1749
+ message: string;
1750
+ params: string[];
1751
+ affectedFields: string[];
1752
+ };
1729
1753
  TAX_PAYMENT_TEMPLATES_DEACTIVATED_WITH_TEMPLATE: {
1730
1754
  severity: "warning";
1731
1755
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.110",
3
+ "version": "1.10.113",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -117,7 +117,7 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
117
117
  },
118
118
  DELETE_BLOCKED_BY_GENERATED_TASKS: {
119
119
  severity: VALIDATION_SEVERITY.ERROR,
120
- message: 'This client template cannot be deleted because there are associated tasks already',
120
+ message: 'This client template cannot be deleted because there are associated tasks already.',
121
121
  affectedFields: ['clientTemplateId'],
122
122
  },
123
123
  DELETE_WITH_DEPENDENT_CLIENT_TEMPLATES: {
@@ -374,6 +374,34 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
374
374
  params: ['parentFilingTemplateName', 'parentFilingDateStopped'],
375
375
  affectedFields: ['stoppedAt'],
376
376
  },
377
+ STOP_DATE_AFTER_STATE_SUB_FILING: {
378
+ severity: VALIDATION_SEVERITY.ERROR,
379
+ message:
380
+ 'This template is associated with the state sub-filing {stateSubFilingName}, which is stopped on {stateSubFilingDateStopped}. Please set the stop date on or before that date before saving.',
381
+ params: ['stateSubFilingName', 'stateSubFilingDateStopped'],
382
+ affectedFields: ['stoppedAt'],
383
+ },
384
+ REACTIVATE_BLOCKED_TAX_PAYMENT_FILING_STOPPED: {
385
+ severity: VALIDATION_SEVERITY.ERROR,
386
+ message:
387
+ 'This template is associated with {filingTemplateName}, which is stopped on {filingTemplateDateStopped}. Please reactivate {filingTemplateName} before reactivating this template.',
388
+ params: ['filingTemplateName', 'filingTemplateDateStopped'],
389
+ affectedFields: ['stoppedAt'],
390
+ },
391
+ REACTIVATE_BLOCKED_PARENT_FILING_STOPPED: {
392
+ severity: VALIDATION_SEVERITY.ERROR,
393
+ message:
394
+ 'This template files under {parentFilingTemplateName}, which is stopped on {parentFilingDateStopped}. Please reactivate {parentFilingTemplateName} before reactivating this template.',
395
+ params: ['parentFilingTemplateName', 'parentFilingDateStopped'],
396
+ affectedFields: ['stoppedAt'],
397
+ },
398
+ REACTIVATE_BLOCKED_STATE_SUB_FILING_STOPPED: {
399
+ severity: VALIDATION_SEVERITY.ERROR,
400
+ message:
401
+ 'This template is associated with the state sub-filing {stateSubFilingName}, which is stopped on {stateSubFilingDateStopped}. Please reactivate {stateSubFilingName} before reactivating this template.',
402
+ params: ['stateSubFilingName', 'stateSubFilingDateStopped'],
403
+ affectedFields: ['stoppedAt'],
404
+ },
377
405
  TAX_PAYMENT_TEMPLATES_DEACTIVATED_WITH_TEMPLATE: {
378
406
  severity: VALIDATION_SEVERITY.WARNING,
379
407
  message: