@forwardslashns/taskit-validation-messages 1.3.9 → 1.5.0
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/.github/.workflows/npm-publish.yml +27 -27
- package/.prettierrc +8 -8
- package/dist/validation/features/account-categories.validation-messages.d.ts +1 -1
- package/dist/validation/features/account-categories.validation-messages.js +1 -1
- package/dist/validation/features/account-ids.validation-messages.d.ts +2 -2
- package/dist/validation/features/account-ids.validation-messages.js +2 -2
- package/dist/validation/features/business-activities.validation-messages.d.ts +1 -1
- package/dist/validation/features/business-activities.validation-messages.js +1 -1
- package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts +7 -7
- package/dist/validation/features/client-current-entity-statuses.validation-messages.js +7 -7
- package/dist/validation/features/client-records-addresses.validation-messages.d.ts +7 -7
- package/dist/validation/features/client-records-addresses.validation-messages.js +7 -7
- package/dist/validation/features/client-records-commission-details.validation-messages.d.ts +1 -1
- package/dist/validation/features/client-records-commission-details.validation-messages.js +1 -1
- package/dist/validation/features/client-records-contacts.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-records-contacts.validation-messages.js +2 -2
- package/dist/validation/features/client-records-entity-states-histories.validation-messages.d.ts +3 -3
- package/dist/validation/features/client-records-entity-states-histories.validation-messages.js +3 -3
- package/dist/validation/features/client-records-entity-types-histories.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-records-entity-types-histories.validation-messages.js +2 -2
- package/dist/validation/features/client-records-filing-types-histories.validation-messages.d.ts +10 -10
- package/dist/validation/features/client-records-filing-types-histories.validation-messages.js +10 -10
- package/dist/validation/features/client-records-outside-providers.validation-messages.d.ts +1 -1
- package/dist/validation/features/client-records-outside-providers.validation-messages.js +1 -1
- package/dist/validation/features/client-relationships.validation-messages.d.ts +9 -0
- package/dist/validation/features/client-relationships.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-relationships.validation-messages.js +9 -0
- package/dist/validation/features/filing-categories.validation-messages.d.ts +1 -1
- package/dist/validation/features/filing-categories.validation-messages.js +1 -1
- package/dist/validation/features/roles-and-permissions.validation-messages.d.ts +3 -3
- package/dist/validation/features/roles-and-permissions.validation-messages.js +3 -3
- package/dist/validation/features/states.validation-messages.d.ts +3 -3
- package/dist/validation/features/states.validation-messages.js +3 -3
- package/dist/validation/features/users.validation-messages.d.ts +2 -2
- package/dist/validation/features/users.validation-messages.js +2 -2
- package/dist/validation/validation-messages.d.ts +55 -46
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/account-categories.validation-messages.ts +1 -1
- package/src/validation/features/account-ids.validation-messages.ts +2 -2
- package/src/validation/features/business-activities.validation-messages.ts +1 -1
- package/src/validation/features/client-current-entity-statuses.validation-messages.ts +7 -7
- package/src/validation/features/client-records-addresses.validation-messages.ts +7 -7
- package/src/validation/features/client-records-commission-details.validation-messages.ts +1 -1
- package/src/validation/features/client-records-contacts.validation-messages.ts +2 -2
- package/src/validation/features/client-records-entity-states-histories.validation-messages.ts +3 -3
- package/src/validation/features/client-records-entity-types-histories.validation-messages.ts +2 -2
- package/src/validation/features/client-records-filing-types-histories.validation-messages.ts +10 -10
- package/src/validation/features/client-records-outside-providers.validation-messages.ts +1 -1
- package/src/validation/features/client-relationships.validation-messages.ts +9 -0
- package/src/validation/features/filing-categories.validation-messages.ts +1 -1
- package/src/validation/features/roles-and-permissions.validation-messages.ts +3 -3
- package/src/validation/features/states.validation-messages.ts +3 -3
- package/src/validation/features/users.validation-messages.ts +2 -2
- package/tsconfig.json +17 -17
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
name: Node.js Package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: master
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
build:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- uses: actions/checkout@v3
|
|
12
|
-
- uses: actions/setup-node@v3
|
|
13
|
-
with:
|
|
14
|
-
node-version: 22
|
|
15
|
-
- run: npm ci
|
|
16
|
-
|
|
17
|
-
publish-npm:
|
|
18
|
-
needs: build
|
|
19
|
-
runs-on: ubuntu-latest
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v3
|
|
22
|
-
- uses: actions/setup-node@v3
|
|
23
|
-
with:
|
|
24
|
-
node-version: 22
|
|
25
|
-
registry-url: https://registry.npmjs.org/
|
|
26
|
-
- run: npm ci
|
|
27
|
-
- run: npm publish
|
|
1
|
+
name: Node.js Package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: master
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v3
|
|
12
|
+
- uses: actions/setup-node@v3
|
|
13
|
+
with:
|
|
14
|
+
node-version: 22
|
|
15
|
+
- run: npm ci
|
|
16
|
+
|
|
17
|
+
publish-npm:
|
|
18
|
+
needs: build
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v3
|
|
22
|
+
- uses: actions/setup-node@v3
|
|
23
|
+
with:
|
|
24
|
+
node-version: 22
|
|
25
|
+
registry-url: https://registry.npmjs.org/
|
|
26
|
+
- run: npm ci
|
|
27
|
+
- run: npm publish
|
package/.prettierrc
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"trailingComma": "es5",
|
|
3
|
-
"tabWidth": 2,
|
|
4
|
-
"semi": true,
|
|
5
|
-
"singleQuote": true,
|
|
6
|
-
"printWidth": 120,
|
|
7
|
-
"endOfLine": "auto"
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"trailingComma": "es5",
|
|
3
|
+
"tabWidth": 2,
|
|
4
|
+
"semi": true,
|
|
5
|
+
"singleQuote": true,
|
|
6
|
+
"printWidth": 120,
|
|
7
|
+
"endOfLine": "auto"
|
|
8
|
+
}
|
|
@@ -4,7 +4,7 @@ export declare const ACCOUNT_CATEGORIES: {
|
|
|
4
4
|
readonly affectedFields: readonly [];
|
|
5
5
|
};
|
|
6
6
|
readonly ID_DOES_NOT_EXIST: {
|
|
7
|
-
readonly message: "Account category
|
|
7
|
+
readonly message: "Account category does not exist";
|
|
8
8
|
readonly params: readonly ["id"];
|
|
9
9
|
readonly affectedFields: readonly ["accountCategoryId"];
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ export declare const ACCOUNT_IDS: {
|
|
|
4
4
|
readonly affectedFields: readonly [];
|
|
5
5
|
};
|
|
6
6
|
readonly ID_DOES_NOT_EXIST: {
|
|
7
|
-
readonly message: "Account id
|
|
7
|
+
readonly message: "Account id does not exist";
|
|
8
8
|
readonly params: readonly ["id"];
|
|
9
9
|
readonly affectedFields: readonly ["accountId"];
|
|
10
10
|
};
|
|
@@ -14,7 +14,7 @@ export declare const ACCOUNT_IDS: {
|
|
|
14
14
|
readonly affectedFields: readonly ["name"];
|
|
15
15
|
};
|
|
16
16
|
readonly ACCOUNT_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
17
|
-
readonly message: "Account category
|
|
17
|
+
readonly message: "Account category does not exist";
|
|
18
18
|
readonly params: readonly ["id"];
|
|
19
19
|
readonly affectedFields: readonly ["accountCategoryId"];
|
|
20
20
|
};
|
|
@@ -7,7 +7,7 @@ exports.ACCOUNT_IDS = {
|
|
|
7
7
|
affectedFields: [],
|
|
8
8
|
},
|
|
9
9
|
ID_DOES_NOT_EXIST: {
|
|
10
|
-
message: `Account id
|
|
10
|
+
message: `Account id does not exist`,
|
|
11
11
|
params: ['id'],
|
|
12
12
|
affectedFields: ['accountId'],
|
|
13
13
|
},
|
|
@@ -17,7 +17,7 @@ exports.ACCOUNT_IDS = {
|
|
|
17
17
|
affectedFields: ['name'],
|
|
18
18
|
},
|
|
19
19
|
ACCOUNT_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
20
|
-
message: `Account category
|
|
20
|
+
message: `Account category does not exist`,
|
|
21
21
|
params: ['id'],
|
|
22
22
|
affectedFields: ['accountCategoryId'],
|
|
23
23
|
},
|
|
@@ -4,7 +4,7 @@ export declare const BUSINESS_ACTIVITIES: {
|
|
|
4
4
|
readonly affectedFields: readonly [];
|
|
5
5
|
};
|
|
6
6
|
readonly ID_DOES_NOT_EXIST: {
|
|
7
|
-
readonly message: "Business activity
|
|
7
|
+
readonly message: "Business activity does not exist.";
|
|
8
8
|
readonly params: readonly ["id"];
|
|
9
9
|
readonly affectedFields: readonly ["businessActivityId"];
|
|
10
10
|
};
|
|
@@ -4,32 +4,32 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
4
4
|
readonly affectedFields: readonly [];
|
|
5
5
|
};
|
|
6
6
|
readonly ID_DOES_NOT_EXIST: {
|
|
7
|
-
readonly message: "Client
|
|
7
|
+
readonly message: "Client does not exist";
|
|
8
8
|
readonly params: readonly ["id"];
|
|
9
9
|
readonly affectedFields: readonly ["clientId"];
|
|
10
10
|
};
|
|
11
11
|
readonly ACCOUNT_ID_DOES_NOT_EXIST: {
|
|
12
|
-
readonly message: "Account id
|
|
12
|
+
readonly message: "Account id does not exist";
|
|
13
13
|
readonly params: readonly ["id"];
|
|
14
14
|
readonly affectedFields: readonly ["accountId"];
|
|
15
15
|
};
|
|
16
16
|
readonly FILING_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
17
|
-
readonly message: "Filing category
|
|
17
|
+
readonly message: "Filing category does not exist";
|
|
18
18
|
readonly params: readonly ["id"];
|
|
19
19
|
readonly affectedFields: readonly ["filingCategoryId"];
|
|
20
20
|
};
|
|
21
21
|
readonly BUSINESS_ACTIVITY_ID_DOES_NOT_EXIST: {
|
|
22
|
-
readonly message: "Business activity
|
|
22
|
+
readonly message: "Business activity does not exist";
|
|
23
23
|
readonly params: readonly ["id"];
|
|
24
24
|
readonly affectedFields: readonly ["businessActivityId"];
|
|
25
25
|
};
|
|
26
26
|
readonly BILLING_TYPE_ID_DOES_NOT_EXIST: {
|
|
27
|
-
readonly message: "Billing type
|
|
27
|
+
readonly message: "Billing type does not exist";
|
|
28
28
|
readonly params: readonly ["id"];
|
|
29
29
|
readonly affectedFields: readonly ["billingTypeId"];
|
|
30
30
|
};
|
|
31
31
|
readonly CLIENT_WITH_SAME_FEDERAL_LEGAL_ID_EXISTS: {
|
|
32
|
-
readonly message: "This ID is already in use. Please enter a different ID.";
|
|
32
|
+
readonly message: "This federal legal ID is already in use. Please enter a different federal legal ID.";
|
|
33
33
|
readonly affectedFields: readonly ["federalLegalId"];
|
|
34
34
|
};
|
|
35
35
|
readonly INVALID_CLIENT_ACTIVITY_STATUS: {
|
|
@@ -37,7 +37,7 @@ export declare const CLIENT_CURRENT_ENTITY_STATUS: {
|
|
|
37
37
|
readonly affectedFields: readonly ["isActive", "clientType"];
|
|
38
38
|
};
|
|
39
39
|
readonly INVALID_FEDERAL_LEGAL_ID: {
|
|
40
|
-
readonly message: "Enter a valid {legalIdType} (e.g. {legalIdValue})";
|
|
40
|
+
readonly message: "Enter a valid federal legal ID {legalIdType} (e.g. {legalIdValue})";
|
|
41
41
|
readonly params: readonly ["legalIdType", "legalIdValue"];
|
|
42
42
|
readonly affectedFields: readonly ["federalLegalId"];
|
|
43
43
|
};
|
|
@@ -7,32 +7,32 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
7
7
|
affectedFields: [],
|
|
8
8
|
},
|
|
9
9
|
ID_DOES_NOT_EXIST: {
|
|
10
|
-
message: `Client
|
|
10
|
+
message: `Client does not exist`,
|
|
11
11
|
params: ['id'],
|
|
12
12
|
affectedFields: ['clientId'],
|
|
13
13
|
},
|
|
14
14
|
ACCOUNT_ID_DOES_NOT_EXIST: {
|
|
15
|
-
message: `Account id
|
|
15
|
+
message: `Account id does not exist`,
|
|
16
16
|
params: ['id'],
|
|
17
17
|
affectedFields: ['accountId'],
|
|
18
18
|
},
|
|
19
19
|
FILING_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
20
|
-
message: `Filing category
|
|
20
|
+
message: `Filing category does not exist`,
|
|
21
21
|
params: ['id'],
|
|
22
22
|
affectedFields: ['filingCategoryId'],
|
|
23
23
|
},
|
|
24
24
|
BUSINESS_ACTIVITY_ID_DOES_NOT_EXIST: {
|
|
25
|
-
message: `Business activity
|
|
25
|
+
message: `Business activity does not exist`,
|
|
26
26
|
params: ['id'],
|
|
27
27
|
affectedFields: ['businessActivityId'],
|
|
28
28
|
},
|
|
29
29
|
BILLING_TYPE_ID_DOES_NOT_EXIST: {
|
|
30
|
-
message: `Billing type
|
|
30
|
+
message: `Billing type does not exist`,
|
|
31
31
|
params: ['id'],
|
|
32
32
|
affectedFields: ['billingTypeId'],
|
|
33
33
|
},
|
|
34
34
|
CLIENT_WITH_SAME_FEDERAL_LEGAL_ID_EXISTS: {
|
|
35
|
-
message: `This ID is already in use. Please enter a different ID.`,
|
|
35
|
+
message: `This federal legal ID is already in use. Please enter a different federal legal ID.`,
|
|
36
36
|
affectedFields: ['federalLegalId'],
|
|
37
37
|
},
|
|
38
38
|
INVALID_CLIENT_ACTIVITY_STATUS: {
|
|
@@ -40,7 +40,7 @@ exports.CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
40
40
|
affectedFields: ['isActive', 'clientType'],
|
|
41
41
|
},
|
|
42
42
|
INVALID_FEDERAL_LEGAL_ID: {
|
|
43
|
-
message: `Enter a valid {legalIdType} (e.g. {legalIdValue})`,
|
|
43
|
+
message: `Enter a valid federal legal ID {legalIdType} (e.g. {legalIdValue})`,
|
|
44
44
|
params: ['legalIdType', 'legalIdValue'],
|
|
45
45
|
affectedFields: ['federalLegalId'],
|
|
46
46
|
},
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_ADDRESSES: {
|
|
2
2
|
readonly STATES_NOT_FOUND: {
|
|
3
|
-
readonly message: "States
|
|
3
|
+
readonly message: "States do not exist";
|
|
4
4
|
readonly params: readonly ["ids"];
|
|
5
5
|
readonly affectedFields: readonly ["stateId"];
|
|
6
6
|
};
|
|
7
7
|
readonly INVALID_STATE_TYPE: {
|
|
8
|
-
readonly message: "States
|
|
8
|
+
readonly message: "States are not of type 'State'";
|
|
9
9
|
readonly params: readonly ["ids"];
|
|
10
10
|
readonly affectedFields: readonly ["stateId"];
|
|
11
11
|
};
|
|
12
12
|
readonly CITIES_NOT_FOUND: {
|
|
13
|
-
readonly message: "Cities
|
|
13
|
+
readonly message: "Cities do not exist";
|
|
14
14
|
readonly params: readonly ["ids"];
|
|
15
15
|
readonly affectedFields: readonly ["cityId"];
|
|
16
16
|
};
|
|
17
17
|
readonly INVALID_CITY_TYPE: {
|
|
18
|
-
readonly message: "Cities
|
|
18
|
+
readonly message: "Cities are not of type 'City'";
|
|
19
19
|
readonly params: readonly ["ids"];
|
|
20
20
|
readonly affectedFields: readonly ["cityId"];
|
|
21
21
|
};
|
|
22
22
|
readonly ZIP_CODES_NOT_FOUND: {
|
|
23
|
-
readonly message: "Zip codes
|
|
23
|
+
readonly message: "Zip codes do not exist";
|
|
24
24
|
readonly params: readonly ["ids"];
|
|
25
25
|
readonly affectedFields: readonly ["zipCode"];
|
|
26
26
|
};
|
|
27
27
|
readonly CONTACT_ROLES_NOT_FOUND: {
|
|
28
|
-
readonly message: "Contact roles
|
|
28
|
+
readonly message: "Contact roles do not exist";
|
|
29
29
|
readonly params: readonly ["ids"];
|
|
30
30
|
readonly affectedFields: readonly ["contactRoleId"];
|
|
31
31
|
};
|
|
32
32
|
readonly CONTACT_TYPES_NOT_FOUND: {
|
|
33
|
-
readonly message: "Contact types
|
|
33
|
+
readonly message: "Contact types do not exist";
|
|
34
34
|
readonly params: readonly ["ids"];
|
|
35
35
|
readonly affectedFields: readonly ["contactTypeId"];
|
|
36
36
|
};
|
|
@@ -3,37 +3,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_ADDRESSES = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_ADDRESSES = {
|
|
5
5
|
STATES_NOT_FOUND: {
|
|
6
|
-
message: 'States
|
|
6
|
+
message: 'States do not exist',
|
|
7
7
|
params: ['ids'],
|
|
8
8
|
affectedFields: ['stateId'],
|
|
9
9
|
},
|
|
10
10
|
INVALID_STATE_TYPE: {
|
|
11
|
-
message: `States
|
|
11
|
+
message: `States are not of type 'State'`,
|
|
12
12
|
params: ['ids'],
|
|
13
13
|
affectedFields: ['stateId'],
|
|
14
14
|
},
|
|
15
15
|
CITIES_NOT_FOUND: {
|
|
16
|
-
message: `Cities
|
|
16
|
+
message: `Cities do not exist`,
|
|
17
17
|
params: ['ids'],
|
|
18
18
|
affectedFields: ['cityId'],
|
|
19
19
|
},
|
|
20
20
|
INVALID_CITY_TYPE: {
|
|
21
|
-
message: `Cities
|
|
21
|
+
message: `Cities are not of type 'City'`,
|
|
22
22
|
params: ['ids'],
|
|
23
23
|
affectedFields: ['cityId'],
|
|
24
24
|
},
|
|
25
25
|
ZIP_CODES_NOT_FOUND: {
|
|
26
|
-
message: `Zip codes
|
|
26
|
+
message: `Zip codes do not exist`,
|
|
27
27
|
params: ['ids'],
|
|
28
28
|
affectedFields: ['zipCode'],
|
|
29
29
|
},
|
|
30
30
|
CONTACT_ROLES_NOT_FOUND: {
|
|
31
|
-
message: `Contact roles
|
|
31
|
+
message: `Contact roles do not exist`,
|
|
32
32
|
params: ['ids'],
|
|
33
33
|
affectedFields: ['contactRoleId'],
|
|
34
34
|
},
|
|
35
35
|
CONTACT_TYPES_NOT_FOUND: {
|
|
36
|
-
message: `Contact types
|
|
36
|
+
message: `Contact types do not exist`,
|
|
37
37
|
params: ['ids'],
|
|
38
38
|
affectedFields: ['contactTypeId'],
|
|
39
39
|
},
|
|
@@ -8,7 +8,7 @@ export declare const CLIENT_RECORDS_COMMISSION_DETAILS: {
|
|
|
8
8
|
readonly affectedFields: readonly ["isSubjectToCommission", "salesRepresentativeId", "commissionRate"];
|
|
9
9
|
};
|
|
10
10
|
readonly SALES_REPRESENTATIVE_DOES_NOT_EXIST: {
|
|
11
|
-
readonly message: "Sales representative
|
|
11
|
+
readonly message: "Sales representative does not exist";
|
|
12
12
|
readonly params: readonly ["id"];
|
|
13
13
|
readonly affectedFields: readonly ["salesRepresentativeId"];
|
|
14
14
|
};
|
|
@@ -11,7 +11,7 @@ exports.CLIENT_RECORDS_COMMISSION_DETAILS = {
|
|
|
11
11
|
affectedFields: ['isSubjectToCommission', 'salesRepresentativeId', 'commissionRate'],
|
|
12
12
|
},
|
|
13
13
|
SALES_REPRESENTATIVE_DOES_NOT_EXIST: {
|
|
14
|
-
message: `Sales representative
|
|
14
|
+
message: `Sales representative does not exist`,
|
|
15
15
|
params: ['id'],
|
|
16
16
|
affectedFields: ['salesRepresentativeId'],
|
|
17
17
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_CONTACTS: {
|
|
2
2
|
readonly CONTACT_ROLES_NOT_FOUND: {
|
|
3
|
-
readonly message: "Contact roles
|
|
3
|
+
readonly message: "Contact roles do not exist";
|
|
4
4
|
readonly params: readonly ["ids"];
|
|
5
5
|
readonly affectedFields: readonly ["contactRoleId"];
|
|
6
6
|
};
|
|
7
7
|
readonly CONTACT_TYPES_NOT_FOUND: {
|
|
8
|
-
readonly message: "Contact types
|
|
8
|
+
readonly message: "Contact types do not exist";
|
|
9
9
|
readonly params: readonly ["ids"];
|
|
10
10
|
readonly affectedFields: readonly ["contactTypeId"];
|
|
11
11
|
};
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_CONTACTS = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_CONTACTS = {
|
|
5
5
|
CONTACT_ROLES_NOT_FOUND: {
|
|
6
|
-
message: `Contact roles
|
|
6
|
+
message: `Contact roles do not exist`,
|
|
7
7
|
params: ['ids'],
|
|
8
8
|
affectedFields: ['contactRoleId'],
|
|
9
9
|
},
|
|
10
10
|
CONTACT_TYPES_NOT_FOUND: {
|
|
11
|
-
message: `Contact types
|
|
11
|
+
message: `Contact types do not exist`,
|
|
12
12
|
params: ['ids'],
|
|
13
13
|
affectedFields: ['contactTypeId'],
|
|
14
14
|
},
|
package/dist/validation/features/client-records-entity-states-histories.validation-messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_ENTITY_STATES: {
|
|
2
2
|
readonly STATE_ID_DOES_NOT_EXIST: {
|
|
3
|
-
readonly message: "State
|
|
3
|
+
readonly message: "State does not exist";
|
|
4
4
|
readonly params: readonly ["id"];
|
|
5
5
|
readonly affectedFields: readonly ["stateId"];
|
|
6
6
|
};
|
|
@@ -19,12 +19,12 @@ export declare const CLIENT_RECORDS_ENTITY_STATES: {
|
|
|
19
19
|
readonly affectedFields: readonly ["domesticStateStartingDate"];
|
|
20
20
|
};
|
|
21
21
|
readonly STATES_IDS_DOES_NOT_EXIST: {
|
|
22
|
-
readonly message: "States
|
|
22
|
+
readonly message: "States do not exist";
|
|
23
23
|
readonly params: readonly ["ids"];
|
|
24
24
|
readonly affectedFields: readonly ["stateId"];
|
|
25
25
|
};
|
|
26
26
|
readonly RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
27
|
-
readonly message: "Residence type
|
|
27
|
+
readonly message: "Residence type does not exist";
|
|
28
28
|
readonly params: readonly ["ids"];
|
|
29
29
|
readonly affectedFields: readonly ["residenceTypeId"];
|
|
30
30
|
};
|
package/dist/validation/features/client-records-entity-states-histories.validation-messages.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_ENTITY_STATES = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_ENTITY_STATES = {
|
|
5
5
|
STATE_ID_DOES_NOT_EXIST: {
|
|
6
|
-
message: `State
|
|
6
|
+
message: `State does not exist`,
|
|
7
7
|
params: ['id'],
|
|
8
8
|
affectedFields: ['stateId'],
|
|
9
9
|
},
|
|
@@ -22,12 +22,12 @@ exports.CLIENT_RECORDS_ENTITY_STATES = {
|
|
|
22
22
|
affectedFields: ['domesticStateStartingDate'],
|
|
23
23
|
},
|
|
24
24
|
STATES_IDS_DOES_NOT_EXIST: {
|
|
25
|
-
message: `States
|
|
25
|
+
message: `States do not exist`,
|
|
26
26
|
params: ['ids'],
|
|
27
27
|
affectedFields: ['stateId'],
|
|
28
28
|
},
|
|
29
29
|
RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
30
|
-
message: `Residence type
|
|
30
|
+
message: `Residence type does not exist`,
|
|
31
31
|
params: ['ids'],
|
|
32
32
|
affectedFields: ['residenceTypeId'],
|
|
33
33
|
},
|
package/dist/validation/features/client-records-entity-types-histories.validation-messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_ENTITY_TYPES: {
|
|
2
2
|
readonly ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
|
-
readonly message: "Entity type
|
|
3
|
+
readonly message: "Entity type does not exist";
|
|
4
4
|
readonly params: readonly ["id"];
|
|
5
5
|
readonly affectedFields: readonly ["entityTypeId"];
|
|
6
6
|
};
|
|
@@ -23,7 +23,7 @@ export declare const CLIENT_RECORDS_ENTITY_TYPES: {
|
|
|
23
23
|
readonly affectedFields: readonly ["entityTypeStartingDate", "entityTypeEndingDate"];
|
|
24
24
|
};
|
|
25
25
|
readonly ENTITY_TYPES_IDS_DOES_NOT_EXIST: {
|
|
26
|
-
readonly message: "Entity types
|
|
26
|
+
readonly message: "Entity types do not exist";
|
|
27
27
|
readonly params: readonly ["ids"];
|
|
28
28
|
readonly affectedFields: readonly ["entityTypeId"];
|
|
29
29
|
};
|
package/dist/validation/features/client-records-entity-types-histories.validation-messages.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_ENTITY_TYPES = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_ENTITY_TYPES = {
|
|
5
5
|
ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
6
|
-
message: `Entity type
|
|
6
|
+
message: `Entity type does not exist`,
|
|
7
7
|
params: ['id'],
|
|
8
8
|
affectedFields: ['entityTypeId'],
|
|
9
9
|
},
|
|
@@ -26,7 +26,7 @@ exports.CLIENT_RECORDS_ENTITY_TYPES = {
|
|
|
26
26
|
affectedFields: ['entityTypeStartingDate', 'entityTypeEndingDate'],
|
|
27
27
|
},
|
|
28
28
|
ENTITY_TYPES_IDS_DOES_NOT_EXIST: {
|
|
29
|
-
message: `Entity types
|
|
29
|
+
message: `Entity types do not exist`,
|
|
30
30
|
params: ['ids'],
|
|
31
31
|
affectedFields: ['entityTypeId'],
|
|
32
32
|
},
|
package/dist/validation/features/client-records-filing-types-histories.validation-messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
2
2
|
readonly FILING_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
|
-
readonly message: "Parent
|
|
3
|
+
readonly message: "Sub/Parent status does not exist";
|
|
4
4
|
readonly params: readonly ["id"];
|
|
5
5
|
readonly affectedFields: readonly ["filingTypeId"];
|
|
6
6
|
};
|
|
@@ -13,30 +13,30 @@ export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
|
13
13
|
readonly affectedFields: readonly ["parentClientId"];
|
|
14
14
|
};
|
|
15
15
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
16
|
-
readonly message: "The Parent
|
|
16
|
+
readonly message: "The Sub/Parent status {filingType} starts on {filingTypeStartingDate} which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the Sub/Parent status or the client's date established.";
|
|
17
17
|
readonly params: readonly ["clientDateEstablished", "filingType", "filingTypeStartingDate"];
|
|
18
18
|
readonly affectedFields: readonly ["dateEstablished", "filingType"];
|
|
19
19
|
};
|
|
20
20
|
readonly NOT_ALIGNED_CLOSE_DATE_FILING_TYPE_STARTING_DATE: {
|
|
21
|
-
readonly message: "One or more Parent
|
|
21
|
+
readonly message: "One or more Sub/Parent status have a start date which is after the client's close date of {clientCloseDate}. {filingType}, starting {filingTypeStartingDate}. Please update the start date to be earlier than the client's close date, or update the client's close date.";
|
|
22
22
|
readonly params: readonly ["clientCloseDate", "filingType", "filingTypeStartingDate"];
|
|
23
23
|
readonly affectedFields: readonly ["closeDate", "filingType"];
|
|
24
24
|
};
|
|
25
25
|
readonly FILING_TYPE_STARTING_DATE_NOT_POPULATED: {
|
|
26
|
-
readonly message: "Current Parent
|
|
26
|
+
readonly message: "Current Sub/Parent status Starting Date cannot be Empty";
|
|
27
27
|
readonly affectedFields: readonly ["filingTypeStartingDate"];
|
|
28
28
|
};
|
|
29
29
|
readonly NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
|
|
30
|
-
readonly message: "Parent
|
|
30
|
+
readonly message: "Sub/Parent status starting date needs to be before the ending date";
|
|
31
31
|
readonly affectedFields: readonly ["filingTypeStartingDate", "filingTypeEndingDate"];
|
|
32
32
|
};
|
|
33
33
|
readonly FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
34
|
-
readonly message: "Parent
|
|
34
|
+
readonly message: "Sub/Parent status do not exist";
|
|
35
35
|
readonly params: readonly ["ids"];
|
|
36
36
|
readonly affectedFields: readonly ["filingTypeId"];
|
|
37
37
|
};
|
|
38
38
|
readonly AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
39
|
-
readonly message: "At least one Parent
|
|
39
|
+
readonly message: "At least one Sub/Parent status should exist";
|
|
40
40
|
readonly affectedFields: readonly ["filingType"];
|
|
41
41
|
};
|
|
42
42
|
readonly FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
|
|
@@ -70,7 +70,7 @@ export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
|
70
70
|
readonly affectedFields: readonly ["filingType"];
|
|
71
71
|
};
|
|
72
72
|
readonly FILING_TYPE_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
|
|
73
|
-
readonly message: "There is a gap between the client's date established ({dateEstablished}) and the start of its first Parent
|
|
73
|
+
readonly message: "There is a gap between the client's date established ({dateEstablished}) and the start of its first Sub/Parent status ({earliestFilingType} starting {earliestFilingTypeStartDate}). There must be a Sub/Parent status that begins on {dateEstablished}.";
|
|
74
74
|
readonly params: readonly ["dateEstablished", "earliestFilingType", "earliestFilingTypeStartDate"];
|
|
75
75
|
readonly affectedFields: readonly ["filingType", "dateEstablished"];
|
|
76
76
|
};
|
|
@@ -80,11 +80,11 @@ export declare const CLIENT_RECORDS_FILING_TYPES: {
|
|
|
80
80
|
readonly affectedFields: readonly ["filingType"];
|
|
81
81
|
};
|
|
82
82
|
readonly ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
|
|
83
|
-
readonly message: "Only the last Parent
|
|
83
|
+
readonly message: "Only the last Sub/Parent status can be open without an end date. Add an ending date to the existing Sub/Parent status before adding a start date for a new Sub/Parent status.";
|
|
84
84
|
readonly affectedFields: readonly ["filingTypeEndingDate"];
|
|
85
85
|
};
|
|
86
86
|
readonly CURRENT_FILING_TYPE_CANNOT_HAVE_ENDING_DATE: {
|
|
87
|
-
readonly message: "The current Parent
|
|
87
|
+
readonly message: "The current Sub/Parent status cannot have an end date. Please remove the end date for this state.";
|
|
88
88
|
readonly affectedFields: readonly ["filingTypeEndingDate"];
|
|
89
89
|
};
|
|
90
90
|
};
|
package/dist/validation/features/client-records-filing-types-histories.validation-messages.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_FILING_TYPES = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
5
5
|
FILING_TYPE_ID_DOES_NOT_EXIST: {
|
|
6
|
-
message: `Parent
|
|
6
|
+
message: `Sub/Parent status does not exist`,
|
|
7
7
|
params: ['id'],
|
|
8
8
|
affectedFields: ['filingTypeId'],
|
|
9
9
|
},
|
|
@@ -16,30 +16,30 @@ exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
|
16
16
|
affectedFields: ['parentClientId'],
|
|
17
17
|
},
|
|
18
18
|
NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
19
|
-
message: `The Parent
|
|
19
|
+
message: `The Sub/Parent status {filingType} starts on {filingTypeStartingDate} which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the Sub/Parent status or the client's date established.`,
|
|
20
20
|
params: ['clientDateEstablished', 'filingType', 'filingTypeStartingDate'],
|
|
21
21
|
affectedFields: ['dateEstablished', 'filingType'],
|
|
22
22
|
},
|
|
23
23
|
NOT_ALIGNED_CLOSE_DATE_FILING_TYPE_STARTING_DATE: {
|
|
24
|
-
message: `One or more Parent
|
|
24
|
+
message: `One or more Sub/Parent status have a start date which is after the client's close date of {clientCloseDate}. {filingType}, starting {filingTypeStartingDate}. Please update the start date to be earlier than the client's close date, or update the client's close date.`,
|
|
25
25
|
params: ['clientCloseDate', 'filingType', 'filingTypeStartingDate'],
|
|
26
26
|
affectedFields: ['closeDate', 'filingType'],
|
|
27
27
|
},
|
|
28
28
|
FILING_TYPE_STARTING_DATE_NOT_POPULATED: {
|
|
29
|
-
message: `Current Parent
|
|
29
|
+
message: `Current Sub/Parent status Starting Date cannot be Empty`,
|
|
30
30
|
affectedFields: ['filingTypeStartingDate'],
|
|
31
31
|
},
|
|
32
32
|
NOT_ALIGNED_FILING_TYPE_STARTING_ENDING_DATE: {
|
|
33
|
-
message: `Parent
|
|
33
|
+
message: `Sub/Parent status starting date needs to be before the ending date`,
|
|
34
34
|
affectedFields: ['filingTypeStartingDate', 'filingTypeEndingDate'],
|
|
35
35
|
},
|
|
36
36
|
FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
37
|
-
message: `Parent
|
|
37
|
+
message: `Sub/Parent status do not exist`,
|
|
38
38
|
params: ['ids'],
|
|
39
39
|
affectedFields: ['filingTypeId'],
|
|
40
40
|
},
|
|
41
41
|
AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
42
|
-
message: `At least one Parent
|
|
42
|
+
message: `At least one Sub/Parent status should exist`,
|
|
43
43
|
affectedFields: ['filingType'],
|
|
44
44
|
},
|
|
45
45
|
FILING_TYPES_STARTING_DATE_NOT_POPULATED: {
|
|
@@ -73,7 +73,7 @@ exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
|
73
73
|
affectedFields: ['filingType'],
|
|
74
74
|
},
|
|
75
75
|
FILING_TYPE_EARLIEST_AND_DATE_ESTABLISHED_GAP_DETECTED: {
|
|
76
|
-
message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first Parent
|
|
76
|
+
message: `There is a gap between the client's date established ({dateEstablished}) and the start of its first Sub/Parent status ({earliestFilingType} starting {earliestFilingTypeStartDate}). There must be a Sub/Parent status that begins on {dateEstablished}.`,
|
|
77
77
|
params: ['dateEstablished', 'earliestFilingType', 'earliestFilingTypeStartDate'],
|
|
78
78
|
affectedFields: ['filingType', 'dateEstablished'],
|
|
79
79
|
},
|
|
@@ -83,11 +83,11 @@ exports.CLIENT_RECORDS_FILING_TYPES = {
|
|
|
83
83
|
affectedFields: ['filingType'],
|
|
84
84
|
},
|
|
85
85
|
ALL_NON_LAST_FILING_TYPES_REQUIRE_ENDING_DATE: {
|
|
86
|
-
message: `Only the last Parent
|
|
86
|
+
message: `Only the last Sub/Parent status can be open without an end date. Add an ending date to the existing Sub/Parent status before adding a start date for a new Sub/Parent status.`,
|
|
87
87
|
affectedFields: ['filingTypeEndingDate'],
|
|
88
88
|
},
|
|
89
89
|
CURRENT_FILING_TYPE_CANNOT_HAVE_ENDING_DATE: {
|
|
90
|
-
message: `The current Parent
|
|
90
|
+
message: `The current Sub/Parent status cannot have an end date. Please remove the end date for this state.`,
|
|
91
91
|
affectedFields: ['filingTypeEndingDate'],
|
|
92
92
|
},
|
|
93
93
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CLIENT_RECORDS_OUTSIDE_PROVIDERS: {
|
|
2
2
|
readonly INVALID_TYPE: {
|
|
3
|
-
readonly message: "Outside provider types
|
|
3
|
+
readonly message: "Outside provider types do not exist";
|
|
4
4
|
readonly params: readonly ["ids"];
|
|
5
5
|
readonly affectedFields: readonly ["outsideProviderTypeId"];
|
|
6
6
|
};
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CLIENT_RECORDS_OUTSIDE_PROVIDERS = void 0;
|
|
4
4
|
exports.CLIENT_RECORDS_OUTSIDE_PROVIDERS = {
|
|
5
5
|
INVALID_TYPE: {
|
|
6
|
-
message: `Outside provider types
|
|
6
|
+
message: `Outside provider types do not exist`,
|
|
7
7
|
params: ['ids'],
|
|
8
8
|
affectedFields: ['outsideProviderTypeId'],
|
|
9
9
|
},
|