@forwardslashns/taskit-validation-messages 1.10.16 → 1.10.18

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.
@@ -84,6 +84,18 @@ export declare const TEMPLATE_INFORMATION: {
84
84
  readonly message: "Invalid filing type";
85
85
  readonly affectedFields: readonly ["filingTypeId"];
86
86
  };
87
+ readonly FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_STATE_SUB_FILINGS_EXIST: {
88
+ readonly message: "A filing template that has state sub-filings must be 'Income tax' filing type. Please select 'Income tax' or remove the associated state sub-filings before saving.";
89
+ readonly affectedFields: readonly ["filingTypeId"];
90
+ };
91
+ readonly FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_ASSOCIATED_SUB_ENTITY_FILINGS_EXIST: {
92
+ readonly message: "A filing template that has associated sub-entity filings must be 'Income tax' filing type. Please select 'Income tax' or remove the associated sub-entity filing before saving.";
93
+ readonly affectedFields: readonly ["filingTypeId"];
94
+ };
95
+ readonly FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_ASSOCIATED_TAX_PAYMENTS_EXIST: {
96
+ readonly message: "A filing template that has associated tax payments must be 'Income tax' filing type. Please select 'Income tax' or remove the associated tax payments before saving.";
97
+ readonly affectedFields: readonly ["filingTypeId"];
98
+ };
87
99
  readonly STATE_REQUIRED: {
88
100
  readonly message: "State is required";
89
101
  readonly affectedFields: readonly ["stateId"];
@@ -92,6 +104,11 @@ export declare const TEMPLATE_INFORMATION: {
92
104
  readonly message: "Invalid state";
93
105
  readonly affectedFields: readonly ["stateId"];
94
106
  };
107
+ readonly STATE_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
108
+ readonly message: "This template is linked to sub-entity filing templates that are set to {SubEntityTemplateState} state, which conflicts with the selected state. Please update the state before saving.";
109
+ readonly params: readonly ["SubEntityTemplateState"];
110
+ readonly affectedFields: readonly ["stateId"];
111
+ };
95
112
  readonly FILING_STATUS_REQUIRED: {
96
113
  readonly message: "Sub/Parent status is required when filing type is Income tax";
97
114
  readonly affectedFields: readonly ["filingStatusId"];
@@ -100,6 +117,18 @@ export declare const TEMPLATE_INFORMATION: {
100
117
  readonly message: "Invalid filing status";
101
118
  readonly affectedFields: readonly ["filingStatusId"];
102
119
  };
120
+ readonly FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_STATE_SUB_FILINGS_EXIST: {
121
+ readonly message: "A filing template with state sub-filings cannot file under a parent. Please select Files separately or remove the associated state sub-filings before saving.";
122
+ readonly affectedFields: readonly ["filingStatusId"];
123
+ };
124
+ readonly FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_SUB_ENTITY_FILINGS_EXIST: {
125
+ readonly message: "A filing template with sub entity filings cannot file under a parent. Please select Files separately or remove the associated sub entity filings before saving.";
126
+ readonly affectedFields: readonly ["filingStatusId"];
127
+ };
128
+ readonly FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_TAX_PAYMENTS_EXIST: {
129
+ readonly message: "A filing template with tax payments cannot file under a parent. Please select Files separately or remove the associated tax payments before saving.";
130
+ readonly affectedFields: readonly ["filingStatusId"];
131
+ };
103
132
  readonly FILES_UNDER_REQUIRED: {
104
133
  readonly message: "Files under is required when Sub/Parent status is \"Files under parent\"";
105
134
  readonly affectedFields: readonly ["filesUnder"];
@@ -1 +1 @@
1
- {"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsJvB,CAAC"}
1
+ {"version":3,"file":"template-information.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/template-information.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0LvB,CAAC"}
@@ -87,6 +87,18 @@ exports.TEMPLATE_INFORMATION = {
87
87
  message: 'Invalid filing type',
88
88
  affectedFields: ['filingTypeId'],
89
89
  },
90
+ FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_STATE_SUB_FILINGS_EXIST: {
91
+ message: "A filing template that has state sub-filings must be 'Income tax' filing type. Please select 'Income tax' or remove the associated state sub-filings before saving.",
92
+ affectedFields: ['filingTypeId'],
93
+ },
94
+ FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_ASSOCIATED_SUB_ENTITY_FILINGS_EXIST: {
95
+ message: "A filing template that has associated sub-entity filings must be 'Income tax' filing type. Please select 'Income tax' or remove the associated sub-entity filing before saving.",
96
+ affectedFields: ['filingTypeId'],
97
+ },
98
+ FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_ASSOCIATED_TAX_PAYMENTS_EXIST: {
99
+ message: "A filing template that has associated tax payments must be 'Income tax' filing type. Please select 'Income tax' or remove the associated tax payments before saving.",
100
+ affectedFields: ['filingTypeId'],
101
+ },
90
102
  STATE_REQUIRED: {
91
103
  message: 'State is required',
92
104
  affectedFields: ['stateId'],
@@ -95,6 +107,11 @@ exports.TEMPLATE_INFORMATION = {
95
107
  message: 'Invalid state',
96
108
  affectedFields: ['stateId'],
97
109
  },
110
+ STATE_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
111
+ message: 'This template is linked to sub-entity filing templates that are set to {SubEntityTemplateState} state, which conflicts with the selected state. Please update the state before saving.',
112
+ params: ['SubEntityTemplateState'],
113
+ affectedFields: ['stateId'],
114
+ },
98
115
  FILING_STATUS_REQUIRED: {
99
116
  message: 'Sub/Parent status is required when filing type is Income tax',
100
117
  affectedFields: ['filingStatusId'],
@@ -103,6 +120,18 @@ exports.TEMPLATE_INFORMATION = {
103
120
  message: 'Invalid filing status',
104
121
  affectedFields: ['filingStatusId'],
105
122
  },
123
+ FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_STATE_SUB_FILINGS_EXIST: {
124
+ message: 'A filing template with state sub-filings cannot file under a parent. Please select Files separately or remove the associated state sub-filings before saving.',
125
+ affectedFields: ['filingStatusId'],
126
+ },
127
+ FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_SUB_ENTITY_FILINGS_EXIST: {
128
+ message: 'A filing template with sub entity filings cannot file under a parent. Please select Files separately or remove the associated sub entity filings before saving.',
129
+ affectedFields: ['filingStatusId'],
130
+ },
131
+ FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_TAX_PAYMENTS_EXIST: {
132
+ message: 'A filing template with tax payments cannot file under a parent. Please select Files separately or remove the associated tax payments before saving.',
133
+ affectedFields: ['filingStatusId'],
134
+ },
106
135
  FILES_UNDER_REQUIRED: {
107
136
  message: 'Files under is required when Sub/Parent status is "Files under parent"',
108
137
  affectedFields: ['filesUnder'],
@@ -1144,6 +1144,18 @@ export declare const VALIDATION_MESSAGES: {
1144
1144
  readonly message: "Invalid filing type";
1145
1145
  readonly affectedFields: readonly ["filingTypeId"];
1146
1146
  };
1147
+ readonly FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_STATE_SUB_FILINGS_EXIST: {
1148
+ readonly message: "A filing template that has state sub-filings must be 'Income tax' filing type. Please select 'Income tax' or remove the associated state sub-filings before saving.";
1149
+ readonly affectedFields: readonly ["filingTypeId"];
1150
+ };
1151
+ readonly FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_ASSOCIATED_SUB_ENTITY_FILINGS_EXIST: {
1152
+ readonly message: "A filing template that has associated sub-entity filings must be 'Income tax' filing type. Please select 'Income tax' or remove the associated sub-entity filing before saving.";
1153
+ readonly affectedFields: readonly ["filingTypeId"];
1154
+ };
1155
+ readonly FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_ASSOCIATED_TAX_PAYMENTS_EXIST: {
1156
+ readonly message: "A filing template that has associated tax payments must be 'Income tax' filing type. Please select 'Income tax' or remove the associated tax payments before saving.";
1157
+ readonly affectedFields: readonly ["filingTypeId"];
1158
+ };
1147
1159
  readonly STATE_REQUIRED: {
1148
1160
  readonly message: "State is required";
1149
1161
  readonly affectedFields: readonly ["stateId"];
@@ -1152,6 +1164,11 @@ export declare const VALIDATION_MESSAGES: {
1152
1164
  readonly message: "Invalid state";
1153
1165
  readonly affectedFields: readonly ["stateId"];
1154
1166
  };
1167
+ readonly STATE_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
1168
+ readonly message: "This template is linked to sub-entity filing templates that are set to {SubEntityTemplateState} state, which conflicts with the selected state. Please update the state before saving.";
1169
+ readonly params: readonly ["SubEntityTemplateState"];
1170
+ readonly affectedFields: readonly ["stateId"];
1171
+ };
1155
1172
  readonly FILING_STATUS_REQUIRED: {
1156
1173
  readonly message: "Sub/Parent status is required when filing type is Income tax";
1157
1174
  readonly affectedFields: readonly ["filingStatusId"];
@@ -1160,6 +1177,18 @@ export declare const VALIDATION_MESSAGES: {
1160
1177
  readonly message: "Invalid filing status";
1161
1178
  readonly affectedFields: readonly ["filingStatusId"];
1162
1179
  };
1180
+ readonly FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_STATE_SUB_FILINGS_EXIST: {
1181
+ readonly message: "A filing template with state sub-filings cannot file under a parent. Please select Files separately or remove the associated state sub-filings before saving.";
1182
+ readonly affectedFields: readonly ["filingStatusId"];
1183
+ };
1184
+ readonly FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_SUB_ENTITY_FILINGS_EXIST: {
1185
+ readonly message: "A filing template with sub entity filings cannot file under a parent. Please select Files separately or remove the associated sub entity filings before saving.";
1186
+ readonly affectedFields: readonly ["filingStatusId"];
1187
+ };
1188
+ readonly FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_TAX_PAYMENTS_EXIST: {
1189
+ readonly message: "A filing template with tax payments cannot file under a parent. Please select Files separately or remove the associated tax payments before saving.";
1190
+ readonly affectedFields: readonly ["filingStatusId"];
1191
+ };
1163
1192
  readonly FILES_UNDER_REQUIRED: {
1164
1193
  readonly message: "Files under is required when Sub/Parent status is \"Files under parent\"";
1165
1194
  readonly affectedFields: readonly ["filesUnder"];
@@ -1 +1 @@
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.16",
3
+ "version": "1.10.18",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -84,6 +84,21 @@ export const TEMPLATE_INFORMATION = {
84
84
  message: 'Invalid filing type',
85
85
  affectedFields: ['filingTypeId'],
86
86
  },
87
+ FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_STATE_SUB_FILINGS_EXIST: {
88
+ message:
89
+ "A filing template that has state sub-filings must be 'Income tax' filing type. Please select 'Income tax' or remove the associated state sub-filings before saving.",
90
+ affectedFields: ['filingTypeId'],
91
+ },
92
+ FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_ASSOCIATED_SUB_ENTITY_FILINGS_EXIST: {
93
+ message:
94
+ "A filing template that has associated sub-entity filings must be 'Income tax' filing type. Please select 'Income tax' or remove the associated sub-entity filing before saving.",
95
+ affectedFields: ['filingTypeId'],
96
+ },
97
+ FILING_TYPE_MUST_BE_INCOME_TAX_WHEN_ASSOCIATED_TAX_PAYMENTS_EXIST: {
98
+ message:
99
+ "A filing template that has associated tax payments must be 'Income tax' filing type. Please select 'Income tax' or remove the associated tax payments before saving.",
100
+ affectedFields: ['filingTypeId'],
101
+ },
87
102
  STATE_REQUIRED: {
88
103
  message: 'State is required',
89
104
  affectedFields: ['stateId'],
@@ -92,6 +107,12 @@ export const TEMPLATE_INFORMATION = {
92
107
  message: 'Invalid state',
93
108
  affectedFields: ['stateId'],
94
109
  },
110
+ STATE_MISMATCH_WITH_ASSOCIATED_SUB_ENTITY_FILINGS: {
111
+ message:
112
+ 'This template is linked to sub-entity filing templates that are set to {SubEntityTemplateState} state, which conflicts with the selected state. Please update the state before saving.',
113
+ params: ['SubEntityTemplateState'],
114
+ affectedFields: ['stateId'],
115
+ },
95
116
  FILING_STATUS_REQUIRED: {
96
117
  message: 'Sub/Parent status is required when filing type is Income tax',
97
118
  affectedFields: ['filingStatusId'],
@@ -100,6 +121,21 @@ export const TEMPLATE_INFORMATION = {
100
121
  message: 'Invalid filing status',
101
122
  affectedFields: ['filingStatusId'],
102
123
  },
124
+ FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_STATE_SUB_FILINGS_EXIST: {
125
+ message:
126
+ 'A filing template with state sub-filings cannot file under a parent. Please select Files separately or remove the associated state sub-filings before saving.',
127
+ affectedFields: ['filingStatusId'],
128
+ },
129
+ FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_SUB_ENTITY_FILINGS_EXIST: {
130
+ message:
131
+ 'A filing template with sub entity filings cannot file under a parent. Please select Files separately or remove the associated sub entity filings before saving.',
132
+ affectedFields: ['filingStatusId'],
133
+ },
134
+ FILES_UNDER_PARENT_NOT_ALLOWED_WHEN_TAX_PAYMENTS_EXIST: {
135
+ message:
136
+ 'A filing template with tax payments cannot file under a parent. Please select Files separately or remove the associated tax payments before saving.',
137
+ affectedFields: ['filingStatusId'],
138
+ },
103
139
  FILES_UNDER_REQUIRED: {
104
140
  message: 'Files under is required when Sub/Parent status is "Files under parent"',
105
141
  affectedFields: ['filesUnder'],