@forwardslashns/taskit-validation-messages 1.10.19 → 1.10.21
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-current-entity-statuses.validation-messages.d.ts +15 -0
- package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-current-entity-statuses.validation-messages.js +15 -0
- package/dist/validation/validation-message.types.d.ts +2 -2
- package/dist/validation/validation-message.types.d.ts.map +1 -1
- package/dist/validation/validation-messages.d.ts +15 -0
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-current-entity-statuses.validation-messages.ts +15 -0
- package/src/validation/validation-message.types.ts +2 -2
|
@@ -101,6 +101,21 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
101
101
|
message: string;
|
|
102
102
|
affectedFields: string[];
|
|
103
103
|
};
|
|
104
|
+
OPTIONAL_ACCOUNT_ID_NOT_SET_WARNING: {
|
|
105
|
+
severity: "warning";
|
|
106
|
+
message: string;
|
|
107
|
+
affectedFields: string[];
|
|
108
|
+
};
|
|
109
|
+
OPTIONAL_BUSINESS_ACTIVITY_ID_NOT_SET_WARNING: {
|
|
110
|
+
severity: "warning";
|
|
111
|
+
message: string;
|
|
112
|
+
affectedFields: string[];
|
|
113
|
+
};
|
|
114
|
+
OPTIONAL_FILING_CATEGORY_ID_NOT_SET_WARNING: {
|
|
115
|
+
severity: "warning";
|
|
116
|
+
message: string;
|
|
117
|
+
affectedFields: string[];
|
|
118
|
+
};
|
|
104
119
|
CLIENT_COULD_NOT_BE_DELETED_CLIENT_RELATIONSHIP_EXIST: {
|
|
105
120
|
severity: "error";
|
|
106
121
|
message: string;
|
package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-current-entity-statuses.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-current-entity-statuses.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"client-current-entity-statuses.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-current-entity-statuses.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoNvC,CAAC"}
|
|
@@ -105,6 +105,21 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = (0, validation_message_types_1.defineVali
|
|
|
105
105
|
message: `Provide an Initial Filing Date`,
|
|
106
106
|
affectedFields: ['initialFilingDate'],
|
|
107
107
|
},
|
|
108
|
+
OPTIONAL_ACCOUNT_ID_NOT_SET_WARNING: {
|
|
109
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.WARNING,
|
|
110
|
+
message: `Account ID is not set`,
|
|
111
|
+
affectedFields: ['accountId'],
|
|
112
|
+
},
|
|
113
|
+
OPTIONAL_BUSINESS_ACTIVITY_ID_NOT_SET_WARNING: {
|
|
114
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.WARNING,
|
|
115
|
+
message: `Business Activity is not set`,
|
|
116
|
+
affectedFields: ['businessActivity'],
|
|
117
|
+
},
|
|
118
|
+
OPTIONAL_FILING_CATEGORY_ID_NOT_SET_WARNING: {
|
|
119
|
+
severity: validation_message_types_1.VALIDATION_SEVERITY.WARNING,
|
|
120
|
+
message: `Filing Category is not set`,
|
|
121
|
+
affectedFields: ['filingCategory'],
|
|
122
|
+
},
|
|
108
123
|
CLIENT_COULD_NOT_BE_DELETED_CLIENT_RELATIONSHIP_EXIST: {
|
|
109
124
|
severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
|
|
110
125
|
message: `This client cannot be deleted because it has client relationships associated`,
|
|
@@ -11,13 +11,13 @@ export type ValidationIssue = {
|
|
|
11
11
|
code: string;
|
|
12
12
|
};
|
|
13
13
|
export type ManualValidationIssueInput = Omit<ValidationIssue, 'severity'> & {
|
|
14
|
-
severity
|
|
14
|
+
severity: ValidationSeverity;
|
|
15
15
|
};
|
|
16
16
|
export type ValidationIssueInput = {
|
|
17
17
|
feature: string;
|
|
18
18
|
content: string;
|
|
19
19
|
affectedFields: string[];
|
|
20
|
-
severity
|
|
20
|
+
severity: ValidationSeverity;
|
|
21
21
|
};
|
|
22
22
|
export type ValidationMessageDefinition = {
|
|
23
23
|
severity: ValidationSeverity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-message.types.d.ts","sourceRoot":"","sources":["../../src/validation/validation-message.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEhG,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GAAG;IAC3E,QAAQ,
|
|
1
|
+
{"version":3,"file":"validation-message.types.d.ts","sourceRoot":"","sources":["../../src/validation/validation-message.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEhG,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GAAG;IAC3E,QAAQ,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;AAEpF,eAAO,MAAM,+BAA+B,GAAI,CAAC,SAAS,yBAAyB,EAAE,UAAU,CAAC,KAAG,CAAa,CAAC"}
|
|
@@ -385,6 +385,21 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
385
385
|
message: string;
|
|
386
386
|
affectedFields: string[];
|
|
387
387
|
};
|
|
388
|
+
OPTIONAL_ACCOUNT_ID_NOT_SET_WARNING: {
|
|
389
|
+
severity: "warning";
|
|
390
|
+
message: string;
|
|
391
|
+
affectedFields: string[];
|
|
392
|
+
};
|
|
393
|
+
OPTIONAL_BUSINESS_ACTIVITY_ID_NOT_SET_WARNING: {
|
|
394
|
+
severity: "warning";
|
|
395
|
+
message: string;
|
|
396
|
+
affectedFields: string[];
|
|
397
|
+
};
|
|
398
|
+
OPTIONAL_FILING_CATEGORY_ID_NOT_SET_WARNING: {
|
|
399
|
+
severity: "warning";
|
|
400
|
+
message: string;
|
|
401
|
+
affectedFields: string[];
|
|
402
|
+
};
|
|
388
403
|
CLIENT_COULD_NOT_BE_DELETED_CLIENT_RELATIONSHIP_EXIST: {
|
|
389
404
|
severity: "error";
|
|
390
405
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,mBAAmB
|
|
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
|
@@ -103,6 +103,21 @@ export const CLIENT_CURRENT_ENTITY_STATUS = defineValidationFeatureMessages({
|
|
|
103
103
|
message: `Provide an Initial Filing Date`,
|
|
104
104
|
affectedFields: ['initialFilingDate'],
|
|
105
105
|
},
|
|
106
|
+
OPTIONAL_ACCOUNT_ID_NOT_SET_WARNING: {
|
|
107
|
+
severity: VALIDATION_SEVERITY.WARNING,
|
|
108
|
+
message: `Account ID is not set`,
|
|
109
|
+
affectedFields: ['accountId'],
|
|
110
|
+
},
|
|
111
|
+
OPTIONAL_BUSINESS_ACTIVITY_ID_NOT_SET_WARNING: {
|
|
112
|
+
severity: VALIDATION_SEVERITY.WARNING,
|
|
113
|
+
message: `Business Activity is not set`,
|
|
114
|
+
affectedFields: ['businessActivity'],
|
|
115
|
+
},
|
|
116
|
+
OPTIONAL_FILING_CATEGORY_ID_NOT_SET_WARNING: {
|
|
117
|
+
severity: VALIDATION_SEVERITY.WARNING,
|
|
118
|
+
message: `Filing Category is not set`,
|
|
119
|
+
affectedFields: ['filingCategory'],
|
|
120
|
+
},
|
|
106
121
|
CLIENT_COULD_NOT_BE_DELETED_CLIENT_RELATIONSHIP_EXIST: {
|
|
107
122
|
severity: VALIDATION_SEVERITY.ERROR,
|
|
108
123
|
message: `This client cannot be deleted because it has client relationships associated`,
|
|
@@ -14,14 +14,14 @@ export type ValidationIssue = {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export type ManualValidationIssueInput = Omit<ValidationIssue, 'severity'> & {
|
|
17
|
-
severity
|
|
17
|
+
severity: ValidationSeverity;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export type ValidationIssueInput = {
|
|
21
21
|
feature: string;
|
|
22
22
|
content: string;
|
|
23
23
|
affectedFields: string[];
|
|
24
|
-
severity
|
|
24
|
+
severity: ValidationSeverity;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export type ValidationMessageDefinition = {
|