@forwardslashns/taskit-validation-messages 1.10.31 → 1.10.32

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.
@@ -39,6 +39,16 @@ export declare const CLIENT_TEMPLATES: {
39
39
  message: string;
40
40
  affectedFields: string[];
41
41
  };
42
+ ESTIMATE_AMOUNT_REQUIRED_FOR_TAX_PAYMENT: {
43
+ severity: "error";
44
+ message: string;
45
+ affectedFields: string[];
46
+ };
47
+ FINAL_ALLOWED_ONLY_WITH_ENDING: {
48
+ severity: "error";
49
+ message: string;
50
+ affectedFields: string[];
51
+ };
42
52
  DAY_OF_MONTH_OUT_OF_RANGE: {
43
53
  severity: "error";
44
54
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4E3B,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsF3B,CAAC"}
@@ -43,6 +43,16 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
43
43
  message: 'Commission rate is required when template is subject to commission',
44
44
  affectedFields: ['billingAndPayments.commissionRate'],
45
45
  },
46
+ ESTIMATE_AMOUNT_REQUIRED_FOR_TAX_PAYMENT: {
47
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
48
+ message: 'Estimate amount is required for tax payment templates',
49
+ affectedFields: ['billingAndPayments.estimateAmount'],
50
+ },
51
+ FINAL_ALLOWED_ONLY_WITH_ENDING: {
52
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
53
+ message: 'Final is allowed only when ending date is provided',
54
+ affectedFields: ['templateInfo.isFinal', 'templateInfo.endingDate'],
55
+ },
46
56
  DAY_OF_MONTH_OUT_OF_RANGE: {
47
57
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
48
58
  message: 'Day of month must be between 1 and 28',
@@ -1964,6 +1964,16 @@ export declare const VALIDATION_MESSAGES: {
1964
1964
  message: string;
1965
1965
  affectedFields: string[];
1966
1966
  };
1967
+ ESTIMATE_AMOUNT_REQUIRED_FOR_TAX_PAYMENT: {
1968
+ severity: "error";
1969
+ message: string;
1970
+ affectedFields: string[];
1971
+ };
1972
+ FINAL_ALLOWED_ONLY_WITH_ENDING: {
1973
+ severity: "error";
1974
+ message: string;
1975
+ affectedFields: string[];
1976
+ };
1967
1977
  DAY_OF_MONTH_OUT_OF_RANGE: {
1968
1978
  severity: "error";
1969
1979
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.31",
3
+ "version": "1.10.32",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -41,6 +41,16 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
41
41
  message: 'Commission rate is required when template is subject to commission',
42
42
  affectedFields: ['billingAndPayments.commissionRate'],
43
43
  },
44
+ ESTIMATE_AMOUNT_REQUIRED_FOR_TAX_PAYMENT: {
45
+ severity: VALIDATION_SEVERITY.ERROR,
46
+ message: 'Estimate amount is required for tax payment templates',
47
+ affectedFields: ['billingAndPayments.estimateAmount'],
48
+ },
49
+ FINAL_ALLOWED_ONLY_WITH_ENDING: {
50
+ severity: VALIDATION_SEVERITY.ERROR,
51
+ message: 'Final is allowed only when ending date is provided',
52
+ affectedFields: ['templateInfo.isFinal', 'templateInfo.endingDate'],
53
+ },
44
54
  DAY_OF_MONTH_OUT_OF_RANGE: {
45
55
  severity: VALIDATION_SEVERITY.ERROR,
46
56
  message: 'Day of month must be between 1 and 28',