@forwardslashns/taskit-validation-messages 1.10.33 → 1.10.35

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.
@@ -19,6 +19,11 @@ export declare const CLIENT_TEMPLATES: {
19
19
  message: string;
20
20
  affectedFields: string[];
21
21
  };
22
+ DEFAULT_PAYMENT_METHOD_INVALID: {
23
+ severity: "error";
24
+ message: string;
25
+ affectedFields: string[];
26
+ };
22
27
  ENDING_BEFORE_STARTING: {
23
28
  severity: "error";
24
29
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsF3B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2F3B,CAAC"}
@@ -21,7 +21,12 @@ exports.CLIENT_TEMPLATES = (0, validation_message_types_1.defineValidationFeatur
21
21
  CUSTOMER_CONTACT_INVALID: {
22
22
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
23
23
  message: 'Selected customer contact does not belong to the client',
24
- affectedFields: ['billingAndPayments.customerContactId'],
24
+ affectedFields: ['billingAndPayments.customerContact'],
25
+ },
26
+ DEFAULT_PAYMENT_METHOD_INVALID: {
27
+ severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
28
+ message: 'Selected default payment method does not belong to the client',
29
+ affectedFields: ['billingAndPayments.defaultPaymentMethod'],
25
30
  },
26
31
  ENDING_BEFORE_STARTING: {
27
32
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
@@ -1929,6 +1929,11 @@ export declare const VALIDATION_MESSAGES: {
1929
1929
  message: string;
1930
1930
  affectedFields: string[];
1931
1931
  };
1932
+ DEFAULT_PAYMENT_METHOD_INVALID: {
1933
+ severity: "error";
1934
+ message: string;
1935
+ affectedFields: string[];
1936
+ };
1932
1937
  ENDING_BEFORE_STARTING: {
1933
1938
  severity: "error";
1934
1939
  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.33",
3
+ "version": "1.10.35",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -19,7 +19,12 @@ export const CLIENT_TEMPLATES = defineValidationFeatureMessages({
19
19
  CUSTOMER_CONTACT_INVALID: {
20
20
  severity: VALIDATION_SEVERITY.ERROR,
21
21
  message: 'Selected customer contact does not belong to the client',
22
- affectedFields: ['billingAndPayments.customerContactId'],
22
+ affectedFields: ['billingAndPayments.customerContact'],
23
+ },
24
+ DEFAULT_PAYMENT_METHOD_INVALID: {
25
+ severity: VALIDATION_SEVERITY.ERROR,
26
+ message: 'Selected default payment method does not belong to the client',
27
+ affectedFields: ['billingAndPayments.defaultPaymentMethod'],
23
28
  },
24
29
  ENDING_BEFORE_STARTING: {
25
30
  severity: VALIDATION_SEVERITY.ERROR,