@forwardslashns/taskit-validation-messages 1.10.49 → 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 +1 -11
- 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 +1 -11
|
@@ -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,7 +50,7 @@ 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: {
|
|
@@ -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.',
|
|
@@ -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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F_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: {
|
|
@@ -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.',
|