@forwardslashns/taskit-validation-messages 1.10.111 → 1.10.114
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/client-templates.validation-messages.js +1 -1
- package/dist/validation/features/template-information.validation-messages.d.ts +24 -0
- package/dist/validation/features/template-information.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/template-information.validation-messages.js +24 -0
- package/dist/validation/validation-messages.d.ts +24 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-templates.validation-messages.ts +1 -1
- package/src/validation/features/template-information.validation-messages.ts +24 -0
|
@@ -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: {
|
|
@@ -148,6 +148,24 @@ export declare const TEMPLATE_INFORMATION: {
|
|
|
148
148
|
params: string[];
|
|
149
149
|
affectedFields: string[];
|
|
150
150
|
};
|
|
151
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
|
|
152
|
+
severity: "error";
|
|
153
|
+
message: string;
|
|
154
|
+
params: string[];
|
|
155
|
+
affectedFields: string[];
|
|
156
|
+
};
|
|
157
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
158
|
+
severity: "error";
|
|
159
|
+
message: string;
|
|
160
|
+
params: string[];
|
|
161
|
+
affectedFields: string[];
|
|
162
|
+
};
|
|
163
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_PARENT_FILING: {
|
|
164
|
+
severity: "error";
|
|
165
|
+
message: string;
|
|
166
|
+
params: string[];
|
|
167
|
+
affectedFields: string[];
|
|
168
|
+
};
|
|
151
169
|
FILING_STATUS_REQUIRED: {
|
|
152
170
|
severity: "error";
|
|
153
171
|
message: string;
|
|
@@ -206,6 +224,12 @@ export declare const TEMPLATE_INFORMATION: {
|
|
|
206
224
|
params: string[];
|
|
207
225
|
affectedFields: string[];
|
|
208
226
|
};
|
|
227
|
+
FILES_UNDER_PARENT_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
228
|
+
severity: "error";
|
|
229
|
+
message: string;
|
|
230
|
+
params: string[];
|
|
231
|
+
affectedFields: string[];
|
|
232
|
+
};
|
|
209
233
|
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
210
234
|
severity: "error";
|
|
211
235
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8d/B,CAAC"}
|
|
@@ -152,6 +152,24 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
152
152
|
params: ['parentFilingTemplateState'],
|
|
153
153
|
affectedFields: ['state'],
|
|
154
154
|
},
|
|
155
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
|
|
156
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
157
|
+
message: `This template is linked to sub-entity filing templates that are set to {subEntityTemplateAssociatedEntities}, which conflicts with the selected associated entities. Please update the associated entities before saving.`,
|
|
158
|
+
params: ['subEntityTemplateAssociatedEntities'],
|
|
159
|
+
affectedFields: ['associatedEntities'],
|
|
160
|
+
},
|
|
161
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
162
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
163
|
+
message: `This template has associated tax payments that are set to {taxPaymentTemplateAssociatedEntities}, which conflicts with the selected associated entities. Please update the associated entities before saving.`,
|
|
164
|
+
params: ['taxPaymentTemplateAssociatedEntities'],
|
|
165
|
+
affectedFields: ['associatedEntities'],
|
|
166
|
+
},
|
|
167
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_PARENT_FILING: {
|
|
168
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
169
|
+
message: `This template is filing under a parent that is set to {parentFilingTemplateAssociatedEntities}, which conflicts with the selected associated entities. Please update the associated entities before saving.`,
|
|
170
|
+
params: ['parentFilingTemplateAssociatedEntities'],
|
|
171
|
+
affectedFields: ['associatedEntities'],
|
|
172
|
+
},
|
|
155
173
|
FILING_STATUS_REQUIRED: {
|
|
156
174
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
157
175
|
message: 'Sub/Parent status is required when filing type is Income tax',
|
|
@@ -210,6 +228,12 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
210
228
|
params: ['parentFilingTemplateName', 'parentFilingState'],
|
|
211
229
|
affectedFields: ['filesUnder'],
|
|
212
230
|
},
|
|
231
|
+
FILES_UNDER_PARENT_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
232
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
233
|
+
message: `{parentFilingTemplateName} is set to {parentFilingAssociatedEntities}, which conflicts with this filing template's associated entities. Please select a different parent template or update the associated entities before saving.`,
|
|
234
|
+
params: ['parentFilingTemplateName', 'parentFilingAssociatedEntities'],
|
|
235
|
+
affectedFields: ['filesUnder'],
|
|
236
|
+
},
|
|
213
237
|
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
214
238
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
215
239
|
message: `{parentFilingTemplateName} is set as 'Files under parent' and cannot be a parent template. Please select a different parent template.`,
|
|
@@ -1513,6 +1513,24 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1513
1513
|
params: string[];
|
|
1514
1514
|
affectedFields: string[];
|
|
1515
1515
|
};
|
|
1516
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
|
|
1517
|
+
severity: "error";
|
|
1518
|
+
message: string;
|
|
1519
|
+
params: string[];
|
|
1520
|
+
affectedFields: string[];
|
|
1521
|
+
};
|
|
1522
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
1523
|
+
severity: "error";
|
|
1524
|
+
message: string;
|
|
1525
|
+
params: string[];
|
|
1526
|
+
affectedFields: string[];
|
|
1527
|
+
};
|
|
1528
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_PARENT_FILING: {
|
|
1529
|
+
severity: "error";
|
|
1530
|
+
message: string;
|
|
1531
|
+
params: string[];
|
|
1532
|
+
affectedFields: string[];
|
|
1533
|
+
};
|
|
1516
1534
|
FILING_STATUS_REQUIRED: {
|
|
1517
1535
|
severity: "error";
|
|
1518
1536
|
message: string;
|
|
@@ -1571,6 +1589,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1571
1589
|
params: string[];
|
|
1572
1590
|
affectedFields: string[];
|
|
1573
1591
|
};
|
|
1592
|
+
FILES_UNDER_PARENT_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
1593
|
+
severity: "error";
|
|
1594
|
+
message: string;
|
|
1595
|
+
params: string[];
|
|
1596
|
+
affectedFields: string[];
|
|
1597
|
+
};
|
|
1574
1598
|
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
1575
1599
|
severity: "error";
|
|
1576
1600
|
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
|
|
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
|
@@ -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: {
|
|
@@ -153,6 +153,24 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
153
153
|
params: ['parentFilingTemplateState'],
|
|
154
154
|
affectedFields: ['state'],
|
|
155
155
|
},
|
|
156
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
|
|
157
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
158
|
+
message: `This template is linked to sub-entity filing templates that are set to {subEntityTemplateAssociatedEntities}, which conflicts with the selected associated entities. Please update the associated entities before saving.`,
|
|
159
|
+
params: ['subEntityTemplateAssociatedEntities'],
|
|
160
|
+
affectedFields: ['associatedEntities'],
|
|
161
|
+
},
|
|
162
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
163
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
164
|
+
message: `This template has associated tax payments that are set to {taxPaymentTemplateAssociatedEntities}, which conflicts with the selected associated entities. Please update the associated entities before saving.`,
|
|
165
|
+
params: ['taxPaymentTemplateAssociatedEntities'],
|
|
166
|
+
affectedFields: ['associatedEntities'],
|
|
167
|
+
},
|
|
168
|
+
ASSOCIATED_ENTITIES_MISMATCH_WITH_PARENT_FILING: {
|
|
169
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
170
|
+
message: `This template is filing under a parent that is set to {parentFilingTemplateAssociatedEntities}, which conflicts with the selected associated entities. Please update the associated entities before saving.`,
|
|
171
|
+
params: ['parentFilingTemplateAssociatedEntities'],
|
|
172
|
+
affectedFields: ['associatedEntities'],
|
|
173
|
+
},
|
|
156
174
|
FILING_STATUS_REQUIRED: {
|
|
157
175
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
158
176
|
message: 'Sub/Parent status is required when filing type is Income tax',
|
|
@@ -214,6 +232,12 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
214
232
|
params: ['parentFilingTemplateName', 'parentFilingState'],
|
|
215
233
|
affectedFields: ['filesUnder'],
|
|
216
234
|
},
|
|
235
|
+
FILES_UNDER_PARENT_ASSOCIATED_ENTITIES_MISMATCH: {
|
|
236
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
237
|
+
message: `{parentFilingTemplateName} is set to {parentFilingAssociatedEntities}, which conflicts with this filing template's associated entities. Please select a different parent template or update the associated entities before saving.`,
|
|
238
|
+
params: ['parentFilingTemplateName', 'parentFilingAssociatedEntities'],
|
|
239
|
+
affectedFields: ['filesUnder'],
|
|
240
|
+
},
|
|
217
241
|
PARENT_FILING_CANNOT_FILE_UNDER_PARENT: {
|
|
218
242
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
219
243
|
message: `{parentFilingTemplateName} is set as 'Files under parent' and cannot be a parent template. Please select a different parent template.`,
|