@forwardslashns/taskit-validation-messages 1.10.38 → 1.10.39

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.
@@ -251,6 +251,59 @@ export declare const TEMPLATE_INFORMATION: {
251
251
  params: string[];
252
252
  affectedFields: string[];
253
253
  };
254
+ MAIN_FILING_REQUIRED: {
255
+ severity: "error";
256
+ message: string;
257
+ affectedFields: string[];
258
+ };
259
+ INVALID_MAIN_FILING: {
260
+ severity: "error";
261
+ message: string;
262
+ affectedFields: string[];
263
+ };
264
+ MAIN_FILING_MUST_BE_FILING_TYPE: {
265
+ severity: "error";
266
+ message: string;
267
+ affectedFields: string[];
268
+ };
269
+ MAIN_FILING_MUST_BE_INCOME_TAX: {
270
+ severity: "error";
271
+ message: string;
272
+ params: string[];
273
+ affectedFields: string[];
274
+ };
275
+ MAIN_FILING_MUST_FILE_SEPARATELY: {
276
+ severity: "error";
277
+ message: string;
278
+ params: string[];
279
+ affectedFields: string[];
280
+ };
281
+ MAIN_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
282
+ severity: "error";
283
+ message: string;
284
+ params: string[];
285
+ affectedFields: string[];
286
+ };
287
+ INVALID_TAX_PAYMENT_FILING_STATE: {
288
+ severity: "error";
289
+ message: string;
290
+ affectedFields: string[];
291
+ };
292
+ TAX_PAYMENT_FILING_STATE_DOES_NOT_BELONG_TO_FILING: {
293
+ severity: "error";
294
+ message: string;
295
+ affectedFields: string[];
296
+ };
297
+ TAX_PAYMENT_FILING_STATE_NOT_ALLOWED_WITH_SUB_ENTITY: {
298
+ severity: "error";
299
+ message: string;
300
+ affectedFields: string[];
301
+ };
302
+ TAX_PAYMENT_FILING_MUST_BE_SUB_ENTITY_OF_MAIN: {
303
+ severity: "error";
304
+ message: string;
305
+ affectedFields: string[];
306
+ };
254
307
  SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
255
308
  severity: "error";
256
309
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6R/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqV/B,CAAC"}
@@ -255,6 +255,59 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
255
255
  params: ['FilingTemplateName', 'FilingTemplateAssociatedEntities'],
256
256
  affectedFields: ['taxPaymentFiling'],
257
257
  },
258
+ MAIN_FILING_REQUIRED: {
259
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
260
+ message: 'Main filing is required for tax payment templates',
261
+ affectedFields: ['taxPaymentFiling'],
262
+ },
263
+ INVALID_MAIN_FILING: {
264
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
265
+ message: 'The selected main filing does not exist',
266
+ affectedFields: ['taxPaymentFiling'],
267
+ },
268
+ MAIN_FILING_MUST_BE_FILING_TYPE: {
269
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
270
+ message: 'The selected main filing must be a Filing type template',
271
+ affectedFields: ['taxPaymentFiling'],
272
+ },
273
+ MAIN_FILING_MUST_BE_INCOME_TAX: {
274
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
275
+ message: 'A main filing must be an income tax filing. {MainFilingName} is set to {MainFilingFilingType}. Please select a filing template with filing type set to income tax.',
276
+ params: ['MainFilingName', 'MainFilingFilingType'],
277
+ affectedFields: ['taxPaymentFiling'],
278
+ },
279
+ MAIN_FILING_MUST_FILE_SEPARATELY: {
280
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
281
+ message: "Tax payments can only be associated with filings that file separately. {MainFilingName} is set as 'Filing under parent'. Please select a different filing template.",
282
+ params: ['MainFilingName'],
283
+ affectedFields: ['taxPaymentFiling'],
284
+ },
285
+ MAIN_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
286
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
287
+ message: 'Tax payments can only be associated with filings on an annual recurrence. {MainFilingName} is not set to recur annually. Please add an annual recurrence to {MainFilingName}, or select a different filing template.',
288
+ params: ['MainFilingName'],
289
+ affectedFields: ['taxPaymentFiling'],
290
+ },
291
+ INVALID_TAX_PAYMENT_FILING_STATE: {
292
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
293
+ message: 'The selected tax payment filing state does not exist',
294
+ affectedFields: ['taxPaymentFiling'],
295
+ },
296
+ TAX_PAYMENT_FILING_STATE_DOES_NOT_BELONG_TO_FILING: {
297
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
298
+ message: 'The selected tax payment filing state does not belong to the selected filing template',
299
+ affectedFields: ['taxPaymentFiling'],
300
+ },
301
+ TAX_PAYMENT_FILING_STATE_NOT_ALLOWED_WITH_SUB_ENTITY: {
302
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
303
+ message: 'A state filing option cannot be selected when a sub-entity filing is chosen',
304
+ affectedFields: ['taxPaymentFiling'],
305
+ },
306
+ TAX_PAYMENT_FILING_MUST_BE_SUB_ENTITY_OF_MAIN: {
307
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
308
+ message: 'The selected tax payment filing must be the main filing or a sub-entity filing of the main filing',
309
+ affectedFields: ['taxPaymentFiling'],
310
+ },
258
311
  SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
259
312
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
260
313
  message: 'The selected associated setup template must be a Setup type template',
@@ -1555,6 +1555,59 @@ export declare const VALIDATION_MESSAGES: {
1555
1555
  params: string[];
1556
1556
  affectedFields: string[];
1557
1557
  };
1558
+ MAIN_FILING_REQUIRED: {
1559
+ severity: "error";
1560
+ message: string;
1561
+ affectedFields: string[];
1562
+ };
1563
+ INVALID_MAIN_FILING: {
1564
+ severity: "error";
1565
+ message: string;
1566
+ affectedFields: string[];
1567
+ };
1568
+ MAIN_FILING_MUST_BE_FILING_TYPE: {
1569
+ severity: "error";
1570
+ message: string;
1571
+ affectedFields: string[];
1572
+ };
1573
+ MAIN_FILING_MUST_BE_INCOME_TAX: {
1574
+ severity: "error";
1575
+ message: string;
1576
+ params: string[];
1577
+ affectedFields: string[];
1578
+ };
1579
+ MAIN_FILING_MUST_FILE_SEPARATELY: {
1580
+ severity: "error";
1581
+ message: string;
1582
+ params: string[];
1583
+ affectedFields: string[];
1584
+ };
1585
+ MAIN_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
1586
+ severity: "error";
1587
+ message: string;
1588
+ params: string[];
1589
+ affectedFields: string[];
1590
+ };
1591
+ INVALID_TAX_PAYMENT_FILING_STATE: {
1592
+ severity: "error";
1593
+ message: string;
1594
+ affectedFields: string[];
1595
+ };
1596
+ TAX_PAYMENT_FILING_STATE_DOES_NOT_BELONG_TO_FILING: {
1597
+ severity: "error";
1598
+ message: string;
1599
+ affectedFields: string[];
1600
+ };
1601
+ TAX_PAYMENT_FILING_STATE_NOT_ALLOWED_WITH_SUB_ENTITY: {
1602
+ severity: "error";
1603
+ message: string;
1604
+ affectedFields: string[];
1605
+ };
1606
+ TAX_PAYMENT_FILING_MUST_BE_SUB_ENTITY_OF_MAIN: {
1607
+ severity: "error";
1608
+ message: string;
1609
+ affectedFields: string[];
1610
+ };
1558
1611
  SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
1559
1612
  severity: "error";
1560
1613
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.38",
3
+ "version": "1.10.39",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -270,6 +270,62 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
270
270
  params: ['FilingTemplateName', 'FilingTemplateAssociatedEntities'],
271
271
  affectedFields: ['taxPaymentFiling'],
272
272
  },
273
+ MAIN_FILING_REQUIRED: {
274
+ severity: VALIDATION_SEVERITY.ERROR,
275
+ message: 'Main filing is required for tax payment templates',
276
+ affectedFields: ['taxPaymentFiling'],
277
+ },
278
+ INVALID_MAIN_FILING: {
279
+ severity: VALIDATION_SEVERITY.ERROR,
280
+ message: 'The selected main filing does not exist',
281
+ affectedFields: ['taxPaymentFiling'],
282
+ },
283
+ MAIN_FILING_MUST_BE_FILING_TYPE: {
284
+ severity: VALIDATION_SEVERITY.ERROR,
285
+ message: 'The selected main filing must be a Filing type template',
286
+ affectedFields: ['taxPaymentFiling'],
287
+ },
288
+ MAIN_FILING_MUST_BE_INCOME_TAX: {
289
+ severity: VALIDATION_SEVERITY.ERROR,
290
+ message:
291
+ 'A main filing must be an income tax filing. {MainFilingName} is set to {MainFilingFilingType}. Please select a filing template with filing type set to income tax.',
292
+ params: ['MainFilingName', 'MainFilingFilingType'],
293
+ affectedFields: ['taxPaymentFiling'],
294
+ },
295
+ MAIN_FILING_MUST_FILE_SEPARATELY: {
296
+ severity: VALIDATION_SEVERITY.ERROR,
297
+ message:
298
+ "Tax payments can only be associated with filings that file separately. {MainFilingName} is set as 'Filing under parent'. Please select a different filing template.",
299
+ params: ['MainFilingName'],
300
+ affectedFields: ['taxPaymentFiling'],
301
+ },
302
+ MAIN_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
303
+ severity: VALIDATION_SEVERITY.ERROR,
304
+ message:
305
+ 'Tax payments can only be associated with filings on an annual recurrence. {MainFilingName} is not set to recur annually. Please add an annual recurrence to {MainFilingName}, or select a different filing template.',
306
+ params: ['MainFilingName'],
307
+ affectedFields: ['taxPaymentFiling'],
308
+ },
309
+ INVALID_TAX_PAYMENT_FILING_STATE: {
310
+ severity: VALIDATION_SEVERITY.ERROR,
311
+ message: 'The selected tax payment filing state does not exist',
312
+ affectedFields: ['taxPaymentFiling'],
313
+ },
314
+ TAX_PAYMENT_FILING_STATE_DOES_NOT_BELONG_TO_FILING: {
315
+ severity: VALIDATION_SEVERITY.ERROR,
316
+ message: 'The selected tax payment filing state does not belong to the selected filing template',
317
+ affectedFields: ['taxPaymentFiling'],
318
+ },
319
+ TAX_PAYMENT_FILING_STATE_NOT_ALLOWED_WITH_SUB_ENTITY: {
320
+ severity: VALIDATION_SEVERITY.ERROR,
321
+ message: 'A state filing option cannot be selected when a sub-entity filing is chosen',
322
+ affectedFields: ['taxPaymentFiling'],
323
+ },
324
+ TAX_PAYMENT_FILING_MUST_BE_SUB_ENTITY_OF_MAIN: {
325
+ severity: VALIDATION_SEVERITY.ERROR,
326
+ message: 'The selected tax payment filing must be the main filing or a sub-entity filing of the main filing',
327
+ affectedFields: ['taxPaymentFiling'],
328
+ },
273
329
  SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
274
330
  severity: VALIDATION_SEVERITY.ERROR,
275
331
  message: 'The selected associated setup template must be a Setup type template',