@forwardslashns/taskit-validation-messages 1.10.35 → 1.10.36
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 +12 -0
- package/dist/validation/features/template-information.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/template-information.validation-messages.js +12 -0
- package/dist/validation/validation-messages.d.ts +12 -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 +14 -0
|
@@ -136,6 +136,18 @@ export declare const TEMPLATE_INFORMATION: {
|
|
|
136
136
|
params: string[];
|
|
137
137
|
affectedFields: string[];
|
|
138
138
|
};
|
|
139
|
+
STATE_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
140
|
+
severity: "error";
|
|
141
|
+
message: string;
|
|
142
|
+
params: string[];
|
|
143
|
+
affectedFields: string[];
|
|
144
|
+
};
|
|
145
|
+
STATE_MISMATCH_WITH_PARENT_FILING: {
|
|
146
|
+
severity: "error";
|
|
147
|
+
message: string;
|
|
148
|
+
params: string[];
|
|
149
|
+
affectedFields: string[];
|
|
150
|
+
};
|
|
139
151
|
FILING_STATUS_REQUIRED: {
|
|
140
152
|
severity: "error";
|
|
141
153
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6R/B,CAAC"}
|
|
@@ -140,6 +140,18 @@ exports.TEMPLATE_INFORMATION = (0, validation_message_types_1.defineValidationFe
|
|
|
140
140
|
params: ['SubEntityTemplateState'],
|
|
141
141
|
affectedFields: ['state'],
|
|
142
142
|
},
|
|
143
|
+
STATE_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
144
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
145
|
+
message: 'This template has associated tax payments that are set to {TaxPaymentTemplateState} state, which conflicts with the selected state. Please update the state before saving.',
|
|
146
|
+
params: ['TaxPaymentTemplateState'],
|
|
147
|
+
affectedFields: ['state'],
|
|
148
|
+
},
|
|
149
|
+
STATE_MISMATCH_WITH_PARENT_FILING: {
|
|
150
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
151
|
+
message: 'This template is filing under a parent that is set to {ParentFilingTemplateState}, which conflicts with the selected state. Please update the state before saving.',
|
|
152
|
+
params: ['ParentFilingTemplateState'],
|
|
153
|
+
affectedFields: ['state'],
|
|
154
|
+
},
|
|
143
155
|
FILING_STATUS_REQUIRED: {
|
|
144
156
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
145
157
|
message: 'Sub/Parent status is required when filing type is Income tax',
|
|
@@ -1438,6 +1438,18 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1438
1438
|
params: string[];
|
|
1439
1439
|
affectedFields: string[];
|
|
1440
1440
|
};
|
|
1441
|
+
STATE_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
1442
|
+
severity: "error";
|
|
1443
|
+
message: string;
|
|
1444
|
+
params: string[];
|
|
1445
|
+
affectedFields: string[];
|
|
1446
|
+
};
|
|
1447
|
+
STATE_MISMATCH_WITH_PARENT_FILING: {
|
|
1448
|
+
severity: "error";
|
|
1449
|
+
message: string;
|
|
1450
|
+
params: string[];
|
|
1451
|
+
affectedFields: string[];
|
|
1452
|
+
};
|
|
1441
1453
|
FILING_STATUS_REQUIRED: {
|
|
1442
1454
|
severity: "error";
|
|
1443
1455
|
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
|
|
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
|
@@ -142,6 +142,20 @@ export const TEMPLATE_INFORMATION = defineValidationFeatureMessages({
|
|
|
142
142
|
params: ['SubEntityTemplateState'],
|
|
143
143
|
affectedFields: ['state'],
|
|
144
144
|
},
|
|
145
|
+
STATE_MISMATCH_WITH_ASSOCIATED_TAX_PAYMENTS: {
|
|
146
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
147
|
+
message:
|
|
148
|
+
'This template has associated tax payments that are set to {TaxPaymentTemplateState} state, which conflicts with the selected state. Please update the state before saving.',
|
|
149
|
+
params: ['TaxPaymentTemplateState'],
|
|
150
|
+
affectedFields: ['state'],
|
|
151
|
+
},
|
|
152
|
+
STATE_MISMATCH_WITH_PARENT_FILING: {
|
|
153
|
+
severity: VALIDATION_SEVERITY.ERROR,
|
|
154
|
+
message:
|
|
155
|
+
'This template is filing under a parent that is set to {ParentFilingTemplateState}, which conflicts with the selected state. Please update the state before saving.',
|
|
156
|
+
params: ['ParentFilingTemplateState'],
|
|
157
|
+
affectedFields: ['state'],
|
|
158
|
+
},
|
|
145
159
|
FILING_STATUS_REQUIRED: {
|
|
146
160
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
147
161
|
message: 'Sub/Parent status is required when filing type is Income tax',
|