@forwardslashns/taskit-validation-messages 1.10.48 → 1.10.51
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.d.ts +0 -10
- package/dist/validation/features/client-templates.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-templates.validation-messages.js +9 -19
- package/dist/validation/validation-messages.d.ts +0 -10
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-templates.validation-messages.ts +14 -29
|
@@ -180,16 +180,6 @@ export declare const CLIENT_TEMPLATES: {
|
|
|
180
180
|
message: string;
|
|
181
181
|
affectedFields: string[];
|
|
182
182
|
};
|
|
183
|
-
BILLING_SUBJECT_TO_COMMISSION_MISMATCH: {
|
|
184
|
-
severity: "error";
|
|
185
|
-
message: string;
|
|
186
|
-
affectedFields: string[];
|
|
187
|
-
};
|
|
188
|
-
BILLING_COMMISSION_RATE_MISMATCH: {
|
|
189
|
-
severity: "error";
|
|
190
|
-
message: string;
|
|
191
|
-
affectedFields: string[];
|
|
192
|
-
};
|
|
193
183
|
PAYMENT_COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
194
184
|
severity: "error";
|
|
195
185
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-templates.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"client-templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-templates.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoR3B,CAAC"}
|
|
@@ -50,13 +50,13 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
50
50
|
},
|
|
51
51
|
COMMISSION_RATE_OUT_OF_RANGE: {
|
|
52
52
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
53
|
-
message: 'Commission rate must be between 0 and 100',
|
|
53
|
+
message: 'Commission rate must be a percentage between 0 and 100. Please adjust the percent before saving.',
|
|
54
54
|
affectedFields: ['billingAndPayments.commissionRate'],
|
|
55
55
|
},
|
|
56
56
|
AMOUNT_REQUIRED_WHEN_SEPARATELY_CHARGED: {
|
|
57
57
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
58
58
|
message: 'Amount is required when template is separately charged',
|
|
59
|
-
affectedFields: ['
|
|
59
|
+
affectedFields: ['templateInfo.amount'],
|
|
60
60
|
},
|
|
61
61
|
COMMISSION_RATE_REQUIRED_WHEN_SUBJECT_TO_COMMISSION: {
|
|
62
62
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
@@ -66,7 +66,7 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
66
66
|
ESTIMATE_AMOUNT_REQUIRED_FOR_TAX_PAYMENT: {
|
|
67
67
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
68
68
|
message: 'Estimate amount is required for tax payment templates',
|
|
69
|
-
affectedFields: ['
|
|
69
|
+
affectedFields: ['templateInfo.estimateAmount'],
|
|
70
70
|
},
|
|
71
71
|
FINAL_ALLOWED_ONLY_WITH_ENDING: {
|
|
72
72
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
@@ -81,7 +81,7 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
81
81
|
BILLING_MUST_BE_SEPARATELY_CHARGED: {
|
|
82
82
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
83
83
|
message: 'Billing templates must be separately charged',
|
|
84
|
-
affectedFields: ['
|
|
84
|
+
affectedFields: ['templateInfo.separatelyCharged'],
|
|
85
85
|
},
|
|
86
86
|
BILLING_MUST_BE_SUBJECT_TO_COMMISSION: {
|
|
87
87
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
@@ -91,7 +91,7 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
91
91
|
PAYMENT_CANNOT_BE_SEPARATELY_CHARGED: {
|
|
92
92
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
93
93
|
message: 'Payment templates cannot be separately charged',
|
|
94
|
-
affectedFields: ['
|
|
94
|
+
affectedFields: ['templateInfo.separatelyCharged'],
|
|
95
95
|
},
|
|
96
96
|
PAYMENT_CANNOT_BE_SUBJECT_TO_COMMISSION: {
|
|
97
97
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
@@ -184,16 +184,6 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
184
184
|
message: 'The fourth month must fall within 12 months of the first month selected. Please update your selection before saving.',
|
|
185
185
|
affectedFields: ['recurrence.fourthMonth'],
|
|
186
186
|
},
|
|
187
|
-
BILLING_SUBJECT_TO_COMMISSION_MISMATCH: {
|
|
188
|
-
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
189
|
-
message: "Billing template must match the client's 'Subject to commission' setting.",
|
|
190
|
-
affectedFields: ['billingAndPayments.isSubjectToCommission'],
|
|
191
|
-
},
|
|
192
|
-
BILLING_COMMISSION_RATE_MISMATCH: {
|
|
193
|
-
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
194
|
-
message: "Billing template commission rate must match the client's commission rate.",
|
|
195
|
-
affectedFields: ['billingAndPayments.commissionRate'],
|
|
196
|
-
},
|
|
197
187
|
PAYMENT_COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
198
188
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
199
189
|
message: 'Payment template cannot have a commission rate.',
|
|
@@ -202,22 +192,22 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
|
|
|
202
192
|
AMOUNT_MUST_BE_NULL_WHEN_NOT_SEPARATELY_CHARGED: {
|
|
203
193
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
204
194
|
message: "Amount must be empty when 'Separately charged' is No.",
|
|
205
|
-
affectedFields: ['
|
|
195
|
+
affectedFields: ['templateInfo.amount'],
|
|
206
196
|
},
|
|
207
197
|
AMOUNT_MUST_BE_ZERO_FOR_FIXED_FEE_BILLING: {
|
|
208
198
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
209
199
|
message: "Amount must be 0 for Billing templates when client billing type is 'Fixed annual fee'.",
|
|
210
|
-
affectedFields: ['
|
|
200
|
+
affectedFields: ['templateInfo.amount'],
|
|
211
201
|
},
|
|
212
202
|
AMOUNT_MUST_MATCH_TEMPLATE: {
|
|
213
203
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
214
204
|
message: "Amount must match the template's amount when 'Separately charged' is Yes.",
|
|
215
|
-
affectedFields: ['
|
|
205
|
+
affectedFields: ['templateInfo.amount'],
|
|
216
206
|
},
|
|
217
207
|
SEPARATELY_CHARGED_MUST_BE_NO_FOR_FIXED_FEE: {
|
|
218
208
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
219
209
|
message: "'Separately charged' must be No for this template type when client billing type is 'Fixed annual fee'.",
|
|
220
|
-
affectedFields: ['
|
|
210
|
+
affectedFields: ['templateInfo.separatelyCharged'],
|
|
221
211
|
},
|
|
222
212
|
SUBJECT_TO_COMMISSION_MUST_BE_NO: {
|
|
223
213
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
@@ -2163,16 +2163,6 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
2163
2163
|
message: string;
|
|
2164
2164
|
affectedFields: string[];
|
|
2165
2165
|
};
|
|
2166
|
-
BILLING_SUBJECT_TO_COMMISSION_MISMATCH: {
|
|
2167
|
-
severity: "error";
|
|
2168
|
-
message: string;
|
|
2169
|
-
affectedFields: string[];
|
|
2170
|
-
};
|
|
2171
|
-
BILLING_COMMISSION_RATE_MISMATCH: {
|
|
2172
|
-
severity: "error";
|
|
2173
|
-
message: string;
|
|
2174
|
-
affectedFields: string[];
|
|
2175
|
-
};
|
|
2176
2166
|
PAYMENT_COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
2177
2167
|
severity: "error";
|
|
2178
2168
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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defineValidationFeatureMessages({
|
|
|
49
49
|
},
|
|
50
50
|
COMMISSION_RATE_OUT_OF_RANGE: {
|
|
51
51
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
52
|
-
message: 'Commission rate must be between 0 and 100',
|
|
52
|
+
message: 'Commission rate must be a percentage between 0 and 100. Please adjust the percent before saving.',
|
|
53
53
|
affectedFields: ['billingAndPayments.commissionRate'],
|
|
54
54
|
},
|
|
55
55
|
AMOUNT_REQUIRED_WHEN_SEPARATELY_CHARGED: {
|
|
56
56
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
57
57
|
message: 'Amount is required when template is separately charged',
|
|
58
|
-
affectedFields: ['
|
|
58
|
+
affectedFields: ['templateInfo.amount'],
|
|
59
59
|
},
|
|
60
60
|
COMMISSION_RATE_REQUIRED_WHEN_SUBJECT_TO_COMMISSION: {
|
|
61
61
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
@@ -65,7 +65,7 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
65
65
|
ESTIMATE_AMOUNT_REQUIRED_FOR_TAX_PAYMENT: {
|
|
66
66
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
67
67
|
message: 'Estimate amount is required for tax payment templates',
|
|
68
|
-
affectedFields: ['
|
|
68
|
+
affectedFields: ['templateInfo.estimateAmount'],
|
|
69
69
|
},
|
|
70
70
|
FINAL_ALLOWED_ONLY_WITH_ENDING: {
|
|
71
71
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
@@ -80,7 +80,7 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
80
80
|
BILLING_MUST_BE_SEPARATELY_CHARGED: {
|
|
81
81
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
82
82
|
message: 'Billing templates must be separately charged',
|
|
83
|
-
affectedFields: ['
|
|
83
|
+
affectedFields: ['templateInfo.separatelyCharged'],
|
|
84
84
|
},
|
|
85
85
|
BILLING_MUST_BE_SUBJECT_TO_COMMISSION: {
|
|
86
86
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
@@ -90,7 +90,7 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
90
90
|
PAYMENT_CANNOT_BE_SEPARATELY_CHARGED: {
|
|
91
91
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
92
92
|
message: 'Payment templates cannot be separately charged',
|
|
93
|
-
affectedFields: ['
|
|
93
|
+
affectedFields: ['templateInfo.separatelyCharged'],
|
|
94
94
|
},
|
|
95
95
|
PAYMENT_CANNOT_BE_SUBJECT_TO_COMMISSION: {
|
|
96
96
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
@@ -186,16 +186,6 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
186
186
|
'The fourth month must fall within 12 months of the first month selected. Please update your selection before saving.',
|
|
187
187
|
affectedFields: ['recurrence.fourthMonth'],
|
|
188
188
|
},
|
|
189
|
-
BILLING_SUBJECT_TO_COMMISSION_MISMATCH: {
|
|
190
|
-
severity: VALIDATION_SEVERITY.ERROR,
|
|
191
|
-
message: "Billing template must match the client's 'Subject to commission' setting.",
|
|
192
|
-
affectedFields: ['billingAndPayments.isSubjectToCommission'],
|
|
193
|
-
},
|
|
194
|
-
BILLING_COMMISSION_RATE_MISMATCH: {
|
|
195
|
-
severity: VALIDATION_SEVERITY.ERROR,
|
|
196
|
-
message: "Billing template commission rate must match the client's commission rate.",
|
|
197
|
-
affectedFields: ['billingAndPayments.commissionRate'],
|
|
198
|
-
},
|
|
199
189
|
PAYMENT_COMMISSION_RATE_MUST_BE_EMPTY: {
|
|
200
190
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
201
191
|
message: 'Payment template cannot have a commission rate.',
|
|
@@ -204,22 +194,22 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
204
194
|
AMOUNT_MUST_BE_NULL_WHEN_NOT_SEPARATELY_CHARGED: {
|
|
205
195
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
206
196
|
message: "Amount must be empty when 'Separately charged' is No.",
|
|
207
|
-
affectedFields: ['
|
|
197
|
+
affectedFields: ['templateInfo.amount'],
|
|
208
198
|
},
|
|
209
199
|
AMOUNT_MUST_BE_ZERO_FOR_FIXED_FEE_BILLING: {
|
|
210
200
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
211
201
|
message: "Amount must be 0 for Billing templates when client billing type is 'Fixed annual fee'.",
|
|
212
|
-
affectedFields: ['
|
|
202
|
+
affectedFields: ['templateInfo.amount'],
|
|
213
203
|
},
|
|
214
204
|
AMOUNT_MUST_MATCH_TEMPLATE: {
|
|
215
205
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
216
206
|
message: "Amount must match the template's amount when 'Separately charged' is Yes.",
|
|
217
|
-
affectedFields: ['
|
|
207
|
+
affectedFields: ['templateInfo.amount'],
|
|
218
208
|
},
|
|
219
209
|
SEPARATELY_CHARGED_MUST_BE_NO_FOR_FIXED_FEE: {
|
|
220
210
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
221
211
|
message: "'Separately charged' must be No for this template type when client billing type is 'Fixed annual fee'.",
|
|
222
|
-
affectedFields: ['
|
|
212
|
+
affectedFields: ['templateInfo.separatelyCharged'],
|
|
223
213
|
},
|
|
224
214
|
SUBJECT_TO_COMMISSION_MUST_BE_NO: {
|
|
225
215
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
@@ -238,26 +228,22 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
238
228
|
},
|
|
239
229
|
STATES_ONLY_ALLOWED_FOR_FILING: {
|
|
240
230
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
241
|
-
message:
|
|
242
|
-
'State sub-filings are only allowed for Filing template types.',
|
|
231
|
+
message: 'State sub-filings are only allowed for Filing template types.',
|
|
243
232
|
affectedFields: ['states'],
|
|
244
233
|
},
|
|
245
234
|
DUPLICATE_STATE_SUBFILING: {
|
|
246
235
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
247
|
-
message:
|
|
248
|
-
'A state sub-filing with the same template state and client state already exists.',
|
|
236
|
+
message: 'A state sub-filing with the same template state and client state already exists.',
|
|
249
237
|
affectedFields: ['states'],
|
|
250
238
|
},
|
|
251
239
|
STATE_TEMPLATE_STATE_NOT_FOUND: {
|
|
252
240
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
253
|
-
message:
|
|
254
|
-
'Selected template state does not exist or does not belong to the selected template.',
|
|
241
|
+
message: 'Selected template state does not exist or does not belong to the selected template.',
|
|
255
242
|
affectedFields: ['states'],
|
|
256
243
|
},
|
|
257
244
|
STATE_CLIENT_STATE_NOT_FOUND: {
|
|
258
245
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
259
|
-
message:
|
|
260
|
-
'Selected client entity state does not exist or does not belong to the client.',
|
|
246
|
+
message: 'Selected client entity state does not exist or does not belong to the client.',
|
|
261
247
|
affectedFields: ['states'],
|
|
262
248
|
},
|
|
263
249
|
STATE_ENDING_BEFORE_STARTING: {
|
|
@@ -267,8 +253,7 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
|
|
|
267
253
|
},
|
|
268
254
|
STATE_IS_FINAL_REQUIRED_WITH_ENDING_DATE: {
|
|
269
255
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
270
|
-
message:
|
|
271
|
-
'isFinal must be provided when an ending date is set on a state sub-filing.',
|
|
256
|
+
message: 'isFinal must be provided when an ending date is set on a state sub-filing.',
|
|
272
257
|
affectedFields: ['states'],
|
|
273
258
|
},
|
|
274
259
|
STATE_PAYMENT_METHOD_NOT_FOUND: {
|