@forwardslashns/taskit-validation-messages 1.10.23 → 1.10.25
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/template-information.validation-messages.d.ts +30 -0
- package/dist/validation/features/template-information.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/template-information.validation-messages.js +30 -0
- package/dist/validation/features/template-recurrence-settings.validation-messages.d.ts +6 -0
- package/dist/validation/features/template-recurrence-settings.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/template-recurrence-settings.validation-messages.js +6 -0
- package/dist/validation/validation-messages.d.ts +36 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/template-information.validation-messages.ts +35 -0
- package/src/validation/features/template-recurrence-settings.validation-messages.ts +7 -0
|
@@ -203,6 +203,36 @@ export declare const TEMPLATE_INFORMATION: {
|
|
|
203
203
|
message: string;
|
|
204
204
|
affectedFields: string[];
|
|
205
205
|
};
|
|
206
|
+
TAX_PAYMENT_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
|
|
207
|
+
severity: "error";
|
|
208
|
+
message: string;
|
|
209
|
+
params: string[];
|
|
210
|
+
affectedFields: string[];
|
|
211
|
+
};
|
|
212
|
+
TAX_PAYMENT_FILING_MUST_BE_INCOME_TAX: {
|
|
213
|
+
severity: "error";
|
|
214
|
+
message: string;
|
|
215
|
+
params: string[];
|
|
216
|
+
affectedFields: string[];
|
|
217
|
+
};
|
|
218
|
+
TAX_PAYMENT_FILING_STATE_MISMATCH: {
|
|
219
|
+
severity: "error";
|
|
220
|
+
message: string;
|
|
221
|
+
params: string[];
|
|
222
|
+
affectedFields: string[];
|
|
223
|
+
};
|
|
224
|
+
TAX_PAYMENT_FILING_MUST_FILE_SEPARATELY: {
|
|
225
|
+
severity: "error";
|
|
226
|
+
message: string;
|
|
227
|
+
params: string[];
|
|
228
|
+
affectedFields: string[];
|
|
229
|
+
};
|
|
230
|
+
TAX_PAYMENT_FILING_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
231
|
+
severity: "error";
|
|
232
|
+
message: string;
|
|
233
|
+
params: string[];
|
|
234
|
+
affectedFields: string[];
|
|
235
|
+
};
|
|
206
236
|
SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
|
|
207
237
|
severity: "error";
|
|
208
238
|
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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwQ/B,CAAC"}
|
|
@@ -207,6 +207,36 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
207
207
|
message: 'The selected tax payment filing must be a Filing type template',
|
|
208
208
|
affectedFields: ['taxPaymentFiling'],
|
|
209
209
|
},
|
|
210
|
+
TAX_PAYMENT_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
|
|
211
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
212
|
+
message: 'Tax payments can only be associated with filings on an annual recurrence. {FilingTemplateName} is not set to recur annually. Please add an annual recurrence to {FilingTemplateName}, or select a different filing template.',
|
|
213
|
+
params: ['FilingTemplateName'],
|
|
214
|
+
affectedFields: ['taxPaymentFiling'],
|
|
215
|
+
},
|
|
216
|
+
TAX_PAYMENT_FILING_MUST_BE_INCOME_TAX: {
|
|
217
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
218
|
+
message: 'A tax payment must be associated with an income tax filing. {FilingTemplateName} is set to {FilingTemplateFilingType}. Please select a filing template with filing type set to income tax.',
|
|
219
|
+
params: ['FilingTemplateName', 'FilingTemplateFilingType'],
|
|
220
|
+
affectedFields: ['taxPaymentFiling'],
|
|
221
|
+
},
|
|
222
|
+
TAX_PAYMENT_FILING_STATE_MISMATCH: {
|
|
223
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
224
|
+
message: "{FilingTemplateName} is set to {FilingTemplateState}, which conflicts with this template's state. Please select a different filing template or update the state before saving.",
|
|
225
|
+
params: ['FilingTemplateName', 'FilingTemplateState'],
|
|
226
|
+
affectedFields: ['taxPaymentFiling'],
|
|
227
|
+
},
|
|
228
|
+
TAX_PAYMENT_FILING_MUST_FILE_SEPARATELY: {
|
|
229
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
230
|
+
message: "Tax payments can only be associated with filings that file separately. {FilingTemplateName} is set as 'Filing under parent'. Please select a different filing template.",
|
|
231
|
+
params: ['FilingTemplateName'],
|
|
232
|
+
affectedFields: ['taxPaymentFiling'],
|
|
233
|
+
},
|
|
234
|
+
TAX_PAYMENT_FILING_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
235
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
236
|
+
message: "{FilingTemplateName} is set to {FilingTemplateAssociatedEntities}, which conflicts with this template's associated entities. Please update the associated entities before saving.",
|
|
237
|
+
params: ['FilingTemplateName', 'FilingTemplateAssociatedEntities'],
|
|
238
|
+
affectedFields: ['taxPaymentFiling'],
|
|
239
|
+
},
|
|
210
240
|
SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
|
|
211
241
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
212
242
|
message: 'The selected associated setup template must be a Setup type template',
|
|
@@ -194,5 +194,11 @@ export declare const TEMPLATE_RECURRENCE_SETTINGS: {
|
|
|
194
194
|
params: string[];
|
|
195
195
|
affectedFields: string[];
|
|
196
196
|
};
|
|
197
|
+
FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
|
|
198
|
+
severity: "error";
|
|
199
|
+
message: string;
|
|
200
|
+
params: string[];
|
|
201
|
+
affectedFields: string[];
|
|
202
|
+
};
|
|
197
203
|
};
|
|
198
204
|
//# sourceMappingURL=template-recurrence-settings.validation-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-recurrence-settings.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-recurrence-settings.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;wBAIf,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsLR,MAAM,EAAE;;;;;wBAKR,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"template-recurrence-settings.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-recurrence-settings.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;wBAIf,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsLR,MAAM,EAAE;;;;;wBAKR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC"}
|
|
@@ -198,4 +198,10 @@ exports.TEMPLATE_RECURRENCE_SETTINGS = (0, validation_message_types_1.defineVali
|
|
|
198
198
|
params: ['templateType'],
|
|
199
199
|
affectedFields: ['recurrenceSettings'],
|
|
200
200
|
},
|
|
201
|
+
FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
|
|
202
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
203
|
+
message: 'This template files under {parentName} and inherits its annual recurrence schedule. Recurrence settings cannot be added or edited here.',
|
|
204
|
+
params: ['parentName'],
|
|
205
|
+
affectedFields: ['recurrenceSettings'],
|
|
206
|
+
},
|
|
201
207
|
});
|
|
@@ -1505,6 +1505,36 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1505
1505
|
message: string;
|
|
1506
1506
|
affectedFields: string[];
|
|
1507
1507
|
};
|
|
1508
|
+
TAX_PAYMENT_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
|
|
1509
|
+
severity: "error";
|
|
1510
|
+
message: string;
|
|
1511
|
+
params: string[];
|
|
1512
|
+
affectedFields: string[];
|
|
1513
|
+
};
|
|
1514
|
+
TAX_PAYMENT_FILING_MUST_BE_INCOME_TAX: {
|
|
1515
|
+
severity: "error";
|
|
1516
|
+
message: string;
|
|
1517
|
+
params: string[];
|
|
1518
|
+
affectedFields: string[];
|
|
1519
|
+
};
|
|
1520
|
+
TAX_PAYMENT_FILING_STATE_MISMATCH: {
|
|
1521
|
+
severity: "error";
|
|
1522
|
+
message: string;
|
|
1523
|
+
params: string[];
|
|
1524
|
+
affectedFields: string[];
|
|
1525
|
+
};
|
|
1526
|
+
TAX_PAYMENT_FILING_MUST_FILE_SEPARATELY: {
|
|
1527
|
+
severity: "error";
|
|
1528
|
+
message: string;
|
|
1529
|
+
params: string[];
|
|
1530
|
+
affectedFields: string[];
|
|
1531
|
+
};
|
|
1532
|
+
TAX_PAYMENT_FILING_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
1533
|
+
severity: "error";
|
|
1534
|
+
message: string;
|
|
1535
|
+
params: string[];
|
|
1536
|
+
affectedFields: string[];
|
|
1537
|
+
};
|
|
1508
1538
|
SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
|
|
1509
1539
|
severity: "error";
|
|
1510
1540
|
message: string;
|
|
@@ -1880,6 +1910,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1880
1910
|
params: string[];
|
|
1881
1911
|
affectedFields: string[];
|
|
1882
1912
|
};
|
|
1913
|
+
FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
|
|
1914
|
+
severity: "error";
|
|
1915
|
+
message: string;
|
|
1916
|
+
params: string[];
|
|
1917
|
+
affectedFields: string[];
|
|
1918
|
+
};
|
|
1883
1919
|
};
|
|
1884
1920
|
};
|
|
1885
1921
|
//# 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":"AA4BA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -214,6 +214,41 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
214
214
|
message: 'The selected tax payment filing must be a Filing type template',
|
|
215
215
|
affectedFields: ['taxPaymentFiling'],
|
|
216
216
|
},
|
|
217
|
+
TAX_PAYMENT_FILING_MUST_HAVE_ANNUAL_RECURRENCE: {
|
|
218
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
219
|
+
message:
|
|
220
|
+
'Tax payments can only be associated with filings on an annual recurrence. {FilingTemplateName} is not set to recur annually. Please add an annual recurrence to {FilingTemplateName}, or select a different filing template.',
|
|
221
|
+
params: ['FilingTemplateName'],
|
|
222
|
+
affectedFields: ['taxPaymentFiling'],
|
|
223
|
+
},
|
|
224
|
+
TAX_PAYMENT_FILING_MUST_BE_INCOME_TAX: {
|
|
225
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
226
|
+
message:
|
|
227
|
+
'A tax payment must be associated with an income tax filing. {FilingTemplateName} is set to {FilingTemplateFilingType}. Please select a filing template with filing type set to income tax.',
|
|
228
|
+
params: ['FilingTemplateName', 'FilingTemplateFilingType'],
|
|
229
|
+
affectedFields: ['taxPaymentFiling'],
|
|
230
|
+
},
|
|
231
|
+
TAX_PAYMENT_FILING_STATE_MISMATCH: {
|
|
232
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
233
|
+
message:
|
|
234
|
+
"{FilingTemplateName} is set to {FilingTemplateState}, which conflicts with this template's state. Please select a different filing template or update the state before saving.",
|
|
235
|
+
params: ['FilingTemplateName', 'FilingTemplateState'],
|
|
236
|
+
affectedFields: ['taxPaymentFiling'],
|
|
237
|
+
},
|
|
238
|
+
TAX_PAYMENT_FILING_MUST_FILE_SEPARATELY: {
|
|
239
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
240
|
+
message:
|
|
241
|
+
"Tax payments can only be associated with filings that file separately. {FilingTemplateName} is set as 'Filing under parent'. Please select a different filing template.",
|
|
242
|
+
params: ['FilingTemplateName'],
|
|
243
|
+
affectedFields: ['taxPaymentFiling'],
|
|
244
|
+
},
|
|
245
|
+
TAX_PAYMENT_FILING_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
246
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
247
|
+
message:
|
|
248
|
+
"{FilingTemplateName} is set to {FilingTemplateAssociatedEntities}, which conflicts with this template's associated entities. Please update the associated entities before saving.",
|
|
249
|
+
params: ['FilingTemplateName', 'FilingTemplateAssociatedEntities'],
|
|
250
|
+
affectedFields: ['taxPaymentFiling'],
|
|
251
|
+
},
|
|
217
252
|
SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
|
|
218
253
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
219
254
|
message: 'The selected associated setup template must be a Setup type template',
|
|
@@ -204,4 +204,11 @@ export const TEMPLATE_RECURRENCE_SETTINGS = defineValidationFeatureMessages({
|
|
|
204
204
|
params: ['templateType'],
|
|
205
205
|
affectedFields: ['recurrenceSettings'],
|
|
206
206
|
},
|
|
207
|
+
FILES_UNDER_INHERITS_PARENT_ANNUAL_RECURRENCE: {
|
|
208
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
209
|
+
message:
|
|
210
|
+
'This template files under {parentName} and inherits its annual recurrence schedule. Recurrence settings cannot be added or edited here.',
|
|
211
|
+
params: ['parentName'],
|
|
212
|
+
affectedFields: ['recurrenceSettings'],
|
|
213
|
+
},
|
|
207
214
|
});
|