@forwardslashns/taskit-validation-messages 1.10.91 → 1.10.93

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.
@@ -200,6 +200,23 @@ export declare const TASKS: {
200
200
  message: string;
201
201
  affectedFields: never[];
202
202
  };
203
+ CANNOT_REIMPORT_FILINGS_TASK_CLOSED: {
204
+ severity: "error";
205
+ message: string;
206
+ affectedFields: never[];
207
+ };
208
+ TASK_FILING_STATE_ALREADY_ON_TASK: {
209
+ severity: "error";
210
+ message: string;
211
+ params: string[];
212
+ affectedFields: string[];
213
+ };
214
+ TASK_FILING_STATE_NOT_ELIGIBLE: {
215
+ severity: "error";
216
+ message: string;
217
+ params: string[];
218
+ affectedFields: string[];
219
+ };
203
220
  CANNOT_MODIFY_FINAL_ASSIGNMENT: {
204
221
  severity: "error";
205
222
  message: string;
@@ -238,5 +255,32 @@ export declare const TASKS: {
238
255
  message: string;
239
256
  affectedFields: string[];
240
257
  };
258
+ TASK_AMOUNT_REQUIRES_DATE_PAID: {
259
+ severity: "error";
260
+ message: string;
261
+ affectedFields: string[];
262
+ };
263
+ TASK_DATE_PAID_REQUIRES_AMOUNT: {
264
+ severity: "error";
265
+ message: string;
266
+ affectedFields: string[];
267
+ };
268
+ TASK_PAYMENT_METHOD_NOT_ON_CLIENT: {
269
+ severity: "error";
270
+ message: string;
271
+ affectedFields: string[];
272
+ };
273
+ TAX_PAYMENT_TYPE_NOT_FOUND: {
274
+ severity: "error";
275
+ message: string;
276
+ params: string[];
277
+ affectedFields: string[];
278
+ };
279
+ OVERPAYMENT_SETTING_NOT_FOUND: {
280
+ severity: "error";
281
+ message: string;
282
+ params: string[];
283
+ affectedFields: string[];
284
+ };
241
285
  };
242
286
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8PhB,CAAC"}
1
+ {"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ShB,CAAC"}
@@ -204,6 +204,23 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
204
204
  message: 'Assignments cannot be re-imported once this task has been closed.',
205
205
  affectedFields: [],
206
206
  },
207
+ CANNOT_REIMPORT_FILINGS_TASK_CLOSED: {
208
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
209
+ message: 'State sub-filings cannot be re-imported once this task has been closed.',
210
+ affectedFields: [],
211
+ },
212
+ TASK_FILING_STATE_ALREADY_ON_TASK: {
213
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
214
+ message: 'State sub-filing {clientTemplateStateId} is already on this task.',
215
+ params: ['clientTemplateStateId'],
216
+ affectedFields: ['filings'],
217
+ },
218
+ TASK_FILING_STATE_NOT_ELIGIBLE: {
219
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
220
+ message: "State sub-filing {clientTemplateStateId} cannot be added to this task. It must belong to this task's client template and be active during the filing period.",
221
+ params: ['clientTemplateStateId'],
222
+ affectedFields: ['filings'],
223
+ },
207
224
  CANNOT_MODIFY_FINAL_ASSIGNMENT: {
208
225
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
209
226
  message: 'Assignment "{assignmentName}" is final and cannot be modified.',
@@ -242,4 +259,31 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
242
259
  message: 'Status is required.',
243
260
  affectedFields: ['statusId'],
244
261
  },
262
+ TASK_AMOUNT_REQUIRES_DATE_PAID: {
263
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
264
+ message: 'Date paid is required when an amount is entered.',
265
+ affectedFields: ['datePaid'],
266
+ },
267
+ TASK_DATE_PAID_REQUIRES_AMOUNT: {
268
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
269
+ message: 'Amount is required when a date paid is entered.',
270
+ affectedFields: ['amount'],
271
+ },
272
+ TASK_PAYMENT_METHOD_NOT_ON_CLIENT: {
273
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
274
+ message: 'Selected payment method does not belong to the client.',
275
+ affectedFields: ['paymentMethodId'],
276
+ },
277
+ TAX_PAYMENT_TYPE_NOT_FOUND: {
278
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
279
+ message: 'Tax payment type {taxPaymentTypeId} does not exist.',
280
+ params: ['taxPaymentTypeId'],
281
+ affectedFields: ['taxPaymentTypeId'],
282
+ },
283
+ OVERPAYMENT_SETTING_NOT_FOUND: {
284
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
285
+ message: 'Overpayment setting {overpaymentSettingId} does not exist.',
286
+ params: ['overpaymentSettingId'],
287
+ affectedFields: ['overpaymentSettingId'],
288
+ },
245
289
  });
@@ -2653,6 +2653,23 @@ export declare const VALIDATION_MESSAGES: {
2653
2653
  message: string;
2654
2654
  affectedFields: never[];
2655
2655
  };
2656
+ CANNOT_REIMPORT_FILINGS_TASK_CLOSED: {
2657
+ severity: "error";
2658
+ message: string;
2659
+ affectedFields: never[];
2660
+ };
2661
+ TASK_FILING_STATE_ALREADY_ON_TASK: {
2662
+ severity: "error";
2663
+ message: string;
2664
+ params: string[];
2665
+ affectedFields: string[];
2666
+ };
2667
+ TASK_FILING_STATE_NOT_ELIGIBLE: {
2668
+ severity: "error";
2669
+ message: string;
2670
+ params: string[];
2671
+ affectedFields: string[];
2672
+ };
2656
2673
  CANNOT_MODIFY_FINAL_ASSIGNMENT: {
2657
2674
  severity: "error";
2658
2675
  message: string;
@@ -2691,6 +2708,33 @@ export declare const VALIDATION_MESSAGES: {
2691
2708
  message: string;
2692
2709
  affectedFields: string[];
2693
2710
  };
2711
+ TASK_AMOUNT_REQUIRES_DATE_PAID: {
2712
+ severity: "error";
2713
+ message: string;
2714
+ affectedFields: string[];
2715
+ };
2716
+ TASK_DATE_PAID_REQUIRES_AMOUNT: {
2717
+ severity: "error";
2718
+ message: string;
2719
+ affectedFields: string[];
2720
+ };
2721
+ TASK_PAYMENT_METHOD_NOT_ON_CLIENT: {
2722
+ severity: "error";
2723
+ message: string;
2724
+ affectedFields: string[];
2725
+ };
2726
+ TAX_PAYMENT_TYPE_NOT_FOUND: {
2727
+ severity: "error";
2728
+ message: string;
2729
+ params: string[];
2730
+ affectedFields: string[];
2731
+ };
2732
+ OVERPAYMENT_SETTING_NOT_FOUND: {
2733
+ severity: "error";
2734
+ message: string;
2735
+ params: string[];
2736
+ affectedFields: string[];
2737
+ };
2694
2738
  };
2695
2739
  };
2696
2740
  //# 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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.91",
3
+ "version": "1.10.93",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -213,6 +213,24 @@ export const TASKS = defineValidationFeatureMessages({
213
213
  message: 'Assignments cannot be re-imported once this task has been closed.',
214
214
  affectedFields: [],
215
215
  },
216
+ CANNOT_REIMPORT_FILINGS_TASK_CLOSED: {
217
+ severity: VALIDATION_SEVERITY.ERROR,
218
+ message: 'State sub-filings cannot be re-imported once this task has been closed.',
219
+ affectedFields: [],
220
+ },
221
+ TASK_FILING_STATE_ALREADY_ON_TASK: {
222
+ severity: VALIDATION_SEVERITY.ERROR,
223
+ message: 'State sub-filing {clientTemplateStateId} is already on this task.',
224
+ params: ['clientTemplateStateId'],
225
+ affectedFields: ['filings'],
226
+ },
227
+ TASK_FILING_STATE_NOT_ELIGIBLE: {
228
+ severity: VALIDATION_SEVERITY.ERROR,
229
+ message:
230
+ "State sub-filing {clientTemplateStateId} cannot be added to this task. It must belong to this task's client template and be active during the filing period.",
231
+ params: ['clientTemplateStateId'],
232
+ affectedFields: ['filings'],
233
+ },
216
234
  CANNOT_MODIFY_FINAL_ASSIGNMENT: {
217
235
  severity: VALIDATION_SEVERITY.ERROR,
218
236
  message: 'Assignment "{assignmentName}" is final and cannot be modified.',
@@ -254,4 +272,31 @@ export const TASKS = defineValidationFeatureMessages({
254
272
  message: 'Status is required.',
255
273
  affectedFields: ['statusId'],
256
274
  },
275
+ TASK_AMOUNT_REQUIRES_DATE_PAID: {
276
+ severity: VALIDATION_SEVERITY.ERROR,
277
+ message: 'Date paid is required when an amount is entered.',
278
+ affectedFields: ['datePaid'],
279
+ },
280
+ TASK_DATE_PAID_REQUIRES_AMOUNT: {
281
+ severity: VALIDATION_SEVERITY.ERROR,
282
+ message: 'Amount is required when a date paid is entered.',
283
+ affectedFields: ['amount'],
284
+ },
285
+ TASK_PAYMENT_METHOD_NOT_ON_CLIENT: {
286
+ severity: VALIDATION_SEVERITY.ERROR,
287
+ message: 'Selected payment method does not belong to the client.',
288
+ affectedFields: ['paymentMethodId'],
289
+ },
290
+ TAX_PAYMENT_TYPE_NOT_FOUND: {
291
+ severity: VALIDATION_SEVERITY.ERROR,
292
+ message: 'Tax payment type {taxPaymentTypeId} does not exist.',
293
+ params: ['taxPaymentTypeId'],
294
+ affectedFields: ['taxPaymentTypeId'],
295
+ },
296
+ OVERPAYMENT_SETTING_NOT_FOUND: {
297
+ severity: VALIDATION_SEVERITY.ERROR,
298
+ message: 'Overpayment setting {overpaymentSettingId} does not exist.',
299
+ params: ['overpaymentSettingId'],
300
+ affectedFields: ['overpaymentSettingId'],
301
+ },
257
302
  });