@forwardslashns/taskit-validation-messages 1.10.105 → 1.10.107

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.
Files changed (123) hide show
  1. package/.gitignore +10 -0
  2. package/package.json +1 -1
  3. package/src/validation/features/client-template-assignments.validation-messages.ts +7 -2
  4. package/src/validation/features/template-states.validation-messages.ts +7 -0
  5. package/dist/index.d.ts +0 -5
  6. package/dist/index.d.ts.map +0 -1
  7. package/dist/validation/features/account-categories.validation-messages.d.ts +0 -25
  8. package/dist/validation/features/account-categories.validation-messages.d.ts.map +0 -1
  9. package/dist/validation/features/account-categories.validation-messages.js +0 -28
  10. package/dist/validation/features/account-ids.validation-messages.d.ts +0 -31
  11. package/dist/validation/features/account-ids.validation-messages.d.ts.map +0 -1
  12. package/dist/validation/features/account-ids.validation-messages.js +0 -34
  13. package/dist/validation/features/business-activities.validation-messages.d.ts +0 -25
  14. package/dist/validation/features/business-activities.validation-messages.d.ts.map +0 -1
  15. package/dist/validation/features/business-activities.validation-messages.js +0 -28
  16. package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts +0 -219
  17. package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map +0 -1
  18. package/dist/validation/features/client-current-entity-statuses.validation-messages.js +0 -222
  19. package/dist/validation/features/client-records-addresses.validation-messages.d.ts +0 -75
  20. package/dist/validation/features/client-records-addresses.validation-messages.d.ts.map +0 -1
  21. package/dist/validation/features/client-records-addresses.validation-messages.js +0 -78
  22. package/dist/validation/features/client-records-banks.validation-messages.d.ts +0 -28
  23. package/dist/validation/features/client-records-banks.validation-messages.d.ts.map +0 -1
  24. package/dist/validation/features/client-records-banks.validation-messages.js +0 -31
  25. package/dist/validation/features/client-records-commission-details.validation-messages.d.ts +0 -29
  26. package/dist/validation/features/client-records-commission-details.validation-messages.d.ts.map +0 -1
  27. package/dist/validation/features/client-records-commission-details.validation-messages.js +0 -32
  28. package/dist/validation/features/client-records-contacts.validation-messages.d.ts +0 -45
  29. package/dist/validation/features/client-records-contacts.validation-messages.d.ts.map +0 -1
  30. package/dist/validation/features/client-records-contacts.validation-messages.js +0 -48
  31. package/dist/validation/features/client-records-credit-cards.validation-messages.d.ts +0 -33
  32. package/dist/validation/features/client-records-credit-cards.validation-messages.d.ts.map +0 -1
  33. package/dist/validation/features/client-records-credit-cards.validation-messages.js +0 -36
  34. package/dist/validation/features/client-records-entity-states-histories.validation-messages.d.ts +0 -101
  35. package/dist/validation/features/client-records-entity-states-histories.validation-messages.d.ts.map +0 -1
  36. package/dist/validation/features/client-records-entity-states-histories.validation-messages.js +0 -104
  37. package/dist/validation/features/client-records-entity-types-histories.validation-messages.d.ts +0 -100
  38. package/dist/validation/features/client-records-entity-types-histories.validation-messages.d.ts.map +0 -1
  39. package/dist/validation/features/client-records-entity-types-histories.validation-messages.js +0 -103
  40. package/dist/validation/features/client-records-filing-statuses-histories.validation-messages.d.ts +0 -100
  41. package/dist/validation/features/client-records-filing-statuses-histories.validation-messages.d.ts.map +0 -1
  42. package/dist/validation/features/client-records-filing-statuses-histories.validation-messages.js +0 -103
  43. package/dist/validation/features/client-records-outside-providers.validation-messages.d.ts +0 -15
  44. package/dist/validation/features/client-records-outside-providers.validation-messages.d.ts.map +0 -1
  45. package/dist/validation/features/client-records-outside-providers.validation-messages.js +0 -18
  46. package/dist/validation/features/client-relationships-common.validation-messages.d.ts +0 -86
  47. package/dist/validation/features/client-relationships-common.validation-messages.d.ts.map +0 -1
  48. package/dist/validation/features/client-relationships-common.validation-messages.js +0 -89
  49. package/dist/validation/features/client-relationships-income-sources.validation-messages.d.ts +0 -88
  50. package/dist/validation/features/client-relationships-income-sources.validation-messages.d.ts.map +0 -1
  51. package/dist/validation/features/client-relationships-income-sources.validation-messages.js +0 -91
  52. package/dist/validation/features/client-relationships-owners.validation-messages.d.ts +0 -90
  53. package/dist/validation/features/client-relationships-owners.validation-messages.d.ts.map +0 -1
  54. package/dist/validation/features/client-relationships-owners.validation-messages.js +0 -93
  55. package/dist/validation/features/client-template-assignments.validation-messages.d.ts +0 -79
  56. package/dist/validation/features/client-template-assignments.validation-messages.d.ts.map +0 -1
  57. package/dist/validation/features/client-template-assignments.validation-messages.js +0 -82
  58. package/dist/validation/features/client-templates.validation-messages.d.ts +0 -303
  59. package/dist/validation/features/client-templates.validation-messages.d.ts.map +0 -1
  60. package/dist/validation/features/client-templates.validation-messages.js +0 -306
  61. package/dist/validation/features/data-filters.validation-messages.d.ts +0 -23
  62. package/dist/validation/features/data-filters.validation-messages.d.ts.map +0 -1
  63. package/dist/validation/features/data-filters.validation-messages.js +0 -26
  64. package/dist/validation/features/detail-types.validation-messages.d.ts +0 -25
  65. package/dist/validation/features/detail-types.validation-messages.d.ts.map +0 -1
  66. package/dist/validation/features/detail-types.validation-messages.js +0 -28
  67. package/dist/validation/features/filing-categories.validation-messages.d.ts +0 -25
  68. package/dist/validation/features/filing-categories.validation-messages.d.ts.map +0 -1
  69. package/dist/validation/features/filing-categories.validation-messages.js +0 -28
  70. package/dist/validation/features/income-accounts.validation-messages.d.ts +0 -24
  71. package/dist/validation/features/income-accounts.validation-messages.d.ts.map +0 -1
  72. package/dist/validation/features/income-accounts.validation-messages.js +0 -27
  73. package/dist/validation/features/notes.validation-messages.d.ts +0 -72
  74. package/dist/validation/features/notes.validation-messages.d.ts.map +0 -1
  75. package/dist/validation/features/notes.validation-messages.js +0 -75
  76. package/dist/validation/features/open-items.validation-messages.d.ts +0 -72
  77. package/dist/validation/features/open-items.validation-messages.d.ts.map +0 -1
  78. package/dist/validation/features/open-items.validation-messages.js +0 -75
  79. package/dist/validation/features/roles-and-permissions.validation-messages.d.ts +0 -39
  80. package/dist/validation/features/roles-and-permissions.validation-messages.d.ts.map +0 -1
  81. package/dist/validation/features/roles-and-permissions.validation-messages.js +0 -42
  82. package/dist/validation/features/states.validation-messages.d.ts +0 -59
  83. package/dist/validation/features/states.validation-messages.d.ts.map +0 -1
  84. package/dist/validation/features/states.validation-messages.js +0 -62
  85. package/dist/validation/features/task-related.validation-messages.d.ts +0 -25
  86. package/dist/validation/features/task-related.validation-messages.d.ts.map +0 -1
  87. package/dist/validation/features/task-related.validation-messages.js +0 -28
  88. package/dist/validation/features/task-types.validation-messages.d.ts +0 -9
  89. package/dist/validation/features/task-types.validation-messages.d.ts.map +0 -1
  90. package/dist/validation/features/task-types.validation-messages.js +0 -12
  91. package/dist/validation/features/tasks.validation-messages.d.ts +0 -365
  92. package/dist/validation/features/tasks.validation-messages.d.ts.map +0 -1
  93. package/dist/validation/features/tasks.validation-messages.js +0 -368
  94. package/dist/validation/features/template-assignments.validation-messages.d.ts +0 -124
  95. package/dist/validation/features/template-assignments.validation-messages.d.ts.map +0 -1
  96. package/dist/validation/features/template-assignments.validation-messages.js +0 -127
  97. package/dist/validation/features/template-information.validation-messages.d.ts +0 -371
  98. package/dist/validation/features/template-information.validation-messages.d.ts.map +0 -1
  99. package/dist/validation/features/template-information.validation-messages.js +0 -374
  100. package/dist/validation/features/template-recurrence-settings.validation-messages.d.ts +0 -189
  101. package/dist/validation/features/template-recurrence-settings.validation-messages.d.ts.map +0 -1
  102. package/dist/validation/features/template-recurrence-settings.validation-messages.js +0 -192
  103. package/dist/validation/features/template-states.validation-messages.d.ts +0 -83
  104. package/dist/validation/features/template-states.validation-messages.d.ts.map +0 -1
  105. package/dist/validation/features/template-states.validation-messages.js +0 -86
  106. package/dist/validation/features/user-preferences.validation-messages.d.ts +0 -24
  107. package/dist/validation/features/user-preferences.validation-messages.d.ts.map +0 -1
  108. package/dist/validation/features/user-preferences.validation-messages.js +0 -27
  109. package/dist/validation/features/users.validation-messages.d.ts +0 -70
  110. package/dist/validation/features/users.validation-messages.d.ts.map +0 -1
  111. package/dist/validation/features/users.validation-messages.js +0 -73
  112. package/dist/validation/validation-constants.d.ts +0 -10
  113. package/dist/validation/validation-constants.d.ts.map +0 -1
  114. package/dist/validation/validation-constants.js +0 -28
  115. package/dist/validation/validation-message.formatter.d.ts +0 -19
  116. package/dist/validation/validation-message.formatter.d.ts.map +0 -1
  117. package/dist/validation/validation-message.formatter.js +0 -54
  118. package/dist/validation/validation-message.types.d.ts +0 -30
  119. package/dist/validation/validation-message.types.d.ts.map +0 -1
  120. package/dist/validation/validation-message.types.js +0 -9
  121. package/dist/validation/validation-messages.d.ts +0 -3039
  122. package/dist/validation/validation-messages.d.ts.map +0 -1
  123. package/dist/validation/validation-messages.js +0 -75
@@ -1,15 +0,0 @@
1
- export declare const CLIENT_RECORDS_OUTSIDE_PROVIDERS: {
2
- INVALID_TYPE: {
3
- severity: "error";
4
- message: string;
5
- params: string[];
6
- affectedFields: string[];
7
- };
8
- SAME_TYPE_TIMELINE_OVERLAP: {
9
- severity: "error";
10
- message: string;
11
- params: string[];
12
- affectedFields: string[];
13
- };
14
- };
15
- //# sourceMappingURL=client-records-outside-providers.validation-messages.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client-records-outside-providers.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-records-outside-providers.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;CAa3C,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CLIENT_RECORDS_OUTSIDE_PROVIDERS = void 0;
4
- const validation_message_types_1 = require("../validation-message.types");
5
- exports.CLIENT_RECORDS_OUTSIDE_PROVIDERS = (0, validation_message_types_1.defineValidationFeatureMessages)({
6
- INVALID_TYPE: {
7
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
8
- message: `Outside provider types do not exist`,
9
- params: ['ids'],
10
- affectedFields: ['type'],
11
- },
12
- SAME_TYPE_TIMELINE_OVERLAP: {
13
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
14
- message: `The client already has {outsideProviderType} starting from {startDate}. Your entry overlaps with that time. Please adjust the dates so they don't overlap.`,
15
- params: ['outsideProviderType', 'startDate'],
16
- affectedFields: ['starting', 'ending'],
17
- },
18
- });
@@ -1,86 +0,0 @@
1
- export declare const CLIENT_RELATIONSHIPS_COMMON: {
2
- CURRENT_CLIENT_CANNOT_BE_RELATED_TO_CURRENT_CLIENT: {
3
- severity: "error";
4
- message: string;
5
- affectedFields: string[];
6
- };
7
- INVALID_RELATIONSHIP_TYPE_FOR_ENTITY_TYPE: {
8
- severity: "error";
9
- message: string;
10
- params: string[];
11
- affectedFields: string[];
12
- };
13
- STARTING_DATE_BEFORE_CLIENT_DATE_ESTABLISHED: {
14
- severity: "error";
15
- message: string;
16
- params: string[];
17
- affectedFields: string[];
18
- };
19
- STARTING_DATE_ON_OR_AFTER_CLIENT_CLOSE_DATE: {
20
- severity: "error";
21
- message: string;
22
- params: string[];
23
- affectedFields: string[];
24
- };
25
- STARTING_DATE_BEFORE_RELATED_CLIENT_DATE_ESTABLISHED: {
26
- severity: "error";
27
- message: string;
28
- params: string[];
29
- affectedFields: string[];
30
- };
31
- STARTING_DATE_ON_OR_AFTER_RELATED_CLIENT_CLOSE_DATE: {
32
- severity: "error";
33
- message: string;
34
- params: string[];
35
- affectedFields: string[];
36
- };
37
- ENDING_DATE_ON_OR_BEFORE_STARTING_DATE: {
38
- severity: "error";
39
- message: string;
40
- params: string[];
41
- affectedFields: string[];
42
- };
43
- ENDING_DATE_AFTER_CLIENT_CLOSE_DATE: {
44
- severity: "error";
45
- message: string;
46
- params: string[];
47
- affectedFields: string[];
48
- };
49
- ENDING_DATE_AFTER_RELATED_CLIENT_CLOSE_DATE: {
50
- severity: "error";
51
- message: string;
52
- params: string[];
53
- affectedFields: string[];
54
- };
55
- FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_CLIENT_CLOSE_DATE: {
56
- severity: "error";
57
- message: string;
58
- params: string[];
59
- affectedFields: string[];
60
- };
61
- FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_RELATED_CLIENT_CLOSE_DATE: {
62
- severity: "error";
63
- message: string;
64
- params: string[];
65
- affectedFields: string[];
66
- };
67
- CIRCULAR_RELATIONSHIP_DETECTED: {
68
- severity: "error";
69
- message: string;
70
- params: string[];
71
- affectedFields: string[];
72
- };
73
- CONFLICTING_RELATIONSHIP_TYPES_SAME_TIMEFRAME: {
74
- severity: "error";
75
- message: string;
76
- params: string[];
77
- affectedFields: string[];
78
- };
79
- CONSECUTIVE_DUPLICATE_RELATIONSHIPS: {
80
- severity: "error";
81
- message: string;
82
- params: string[];
83
- affectedFields: string[];
84
- };
85
- };
86
- //# sourceMappingURL=client-relationships-common.validation-messages.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client-relationships-common.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-relationships-common.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFtC,CAAC"}
@@ -1,89 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CLIENT_RELATIONSHIPS_COMMON = void 0;
4
- const validation_message_types_1 = require("../validation-message.types");
5
- exports.CLIENT_RELATIONSHIPS_COMMON = (0, validation_message_types_1.defineValidationFeatureMessages)({
6
- CURRENT_CLIENT_CANNOT_BE_RELATED_TO_CURRENT_CLIENT: {
7
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
8
- message: `A client cannot have a relationship with itself.`,
9
- affectedFields: ['relatedClient'],
10
- },
11
- INVALID_RELATIONSHIP_TYPE_FOR_ENTITY_TYPE: {
12
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
13
- message: `{clientName} is a/an {entityType}, which can't have {relationshipType}s. Please update the relationship type.`,
14
- params: ['clientName', 'entityType', 'relationshipType'],
15
- affectedFields: ['relationshipType'],
16
- },
17
- STARTING_DATE_BEFORE_CLIENT_DATE_ESTABLISHED: {
18
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
19
- message: `This relationship's start date cannot be before {clientName}'s date established, {clientDateEstablished}. Please adjust the dates to proceed.`,
20
- params: ['clientName', 'clientDateEstablished'],
21
- affectedFields: ['startingDate'],
22
- },
23
- STARTING_DATE_ON_OR_AFTER_CLIENT_CLOSE_DATE: {
24
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
25
- message: `This relationship's start date cannot be on or after {clientName}'s close date, {clientCloseDate}. Please adjust the dates to proceed.`,
26
- params: ['clientName', 'clientCloseDate'],
27
- affectedFields: ['startingDate'],
28
- },
29
- STARTING_DATE_BEFORE_RELATED_CLIENT_DATE_ESTABLISHED: {
30
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
31
- message: `This relationship's start date cannot be before {relatedClientName}'s date established, {relatedClientDateEstablished}. Please adjust the dates to proceed.`,
32
- params: ['relatedClientName', 'relatedClientDateEstablished'],
33
- affectedFields: ['startingDate'],
34
- },
35
- STARTING_DATE_ON_OR_AFTER_RELATED_CLIENT_CLOSE_DATE: {
36
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
37
- message: `This relationship's start date cannot be on or after {relatedClientName}'s close date, {relatedClientCloseDate}. Please adjust the dates to proceed.`,
38
- params: ['relatedClientName', 'relatedClientCloseDate'],
39
- affectedFields: ['startingDate'],
40
- },
41
- ENDING_DATE_ON_OR_BEFORE_STARTING_DATE: {
42
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
43
- message: `Please update the relationship ending date to be after the starting date, {startingDate}.`,
44
- params: ['startingDate'],
45
- affectedFields: ['endingDate'],
46
- },
47
- ENDING_DATE_AFTER_CLIENT_CLOSE_DATE: {
48
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
49
- message: `{clientName}'s close date is {clientCloseDate}. One or more relationships have end dates later than this. Please update the following relationship end dates to be on or before {clientCloseDate}: {relationshipsWithEndingDateAfterCloseDate}, or update {clientName}'s close date.`,
50
- params: ['clientName', 'clientCloseDate', 'relationshipsWithEndingDateAfterCloseDate'],
51
- affectedFields: ['endingDate'],
52
- },
53
- ENDING_DATE_AFTER_RELATED_CLIENT_CLOSE_DATE: {
54
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
55
- message: `{relatedClientName}'s close date is {relatedClientCloseDate}. One or more relationships have end dates later than this. Please update the following relationship end dates to be on or before {relatedClientCloseDate}: {relationshipsWithEndingDateAfterCloseDate}, or update {relatedClientName}'s close date.`,
56
- params: ['relatedClientName', 'relatedClientCloseDate', 'relationshipsWithEndingDateAfterCloseDate'],
57
- affectedFields: ['endingDate'],
58
- },
59
- FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_CLIENT_CLOSE_DATE: {
60
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
61
- message: `The relationship between {clientName} and {relatedClientName} has no end date or is not marked as final. Please update {relatedClientName}'s end date to be on or before {clientName}'s close date of {clientCloseDate}, or mark the relationship as final.`,
62
- params: ['clientName', 'relatedClientName', 'clientCloseDate'],
63
- affectedFields: ['endingDate', 'final'],
64
- },
65
- FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_RELATED_CLIENT_CLOSE_DATE: {
66
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
67
- message: `The relationship between {clientName} and {relatedClientName} has no end date or is not marked as final. Please update {clientName}'s end date to be on or before {relatedClientName}'s close date of {relatedClientCloseDate}, or mark the relationship as final.`,
68
- params: ['clientName', 'relatedClientName', 'relatedClientCloseDate'],
69
- affectedFields: ['endingDate', 'final'],
70
- },
71
- CIRCULAR_RELATIONSHIP_DETECTED: {
72
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
73
- message: `{clientName} is listed as a {relationshipType} of {relatedClientName}, during the same timeframe that {relatedClientName} is listed as a {relationshipType} of {clientName}. Please review the relationship records for both clients and adjust the dates or relationship types to prevent a circular loop.`,
74
- params: ['clientName', 'relatedClientName', 'relationshipType'],
75
- affectedFields: ['relationshipType', 'relatedClient', 'startingDate', 'endingDate'],
76
- },
77
- CONFLICTING_RELATIONSHIP_TYPES_SAME_TIMEFRAME: {
78
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
79
- message: `{relatedClientName} cannot be associated with {clientName} more than once within the same timeframe. Please ensure there are no conflicting relationships for these clients in this timeframe.`,
80
- params: ['relatedClientName', 'clientName'],
81
- affectedFields: ['relationshipType', 'relatedClient', 'startingDate', 'endingDate'],
82
- },
83
- CONSECUTIVE_DUPLICATE_RELATIONSHIPS: {
84
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
85
- message: `There is another {relationshipType} relationship between {relatedClientName} and {clientName} ending on {relationshipEnding}. Please review and adjust the dates to track this relationship in one record.`,
86
- params: ['relationshipType', 'relatedClientName', 'clientName', 'relationshipEnding'],
87
- affectedFields: ['startingDate', 'endingDate'],
88
- },
89
- });
@@ -1,88 +0,0 @@
1
- export declare const CLIENT_RELATIONSHIPS_INCOME_SOURCES: {
2
- SUBSIDIARY_CANNOT_HAVE_PARENT: {
3
- severity: "error";
4
- message: string;
5
- params: string[];
6
- affectedFields: string[];
7
- };
8
- SUBSIDIARY_REQUIRES_FILES_SEPARATELY: {
9
- severity: "error";
10
- message: string;
11
- affectedFields: string[];
12
- };
13
- SUBSIDIARY_PROFIT_PERCENTAGE_MUST_BE_100: {
14
- severity: "error";
15
- message: string;
16
- affectedFields: string[];
17
- };
18
- SUBSIDIARY_LOSS_PERCENTAGE_MUST_BE_100: {
19
- severity: "error";
20
- message: string;
21
- affectedFields: string[];
22
- };
23
- SUBSIDIARY_CAPITAL_PERCENTAGE_MUST_BE_100: {
24
- severity: "error";
25
- message: string;
26
- affectedFields: string[];
27
- };
28
- SUBSIDIARY_ENTITY_TYPE_MISMATCH: {
29
- severity: "error";
30
- message: string;
31
- affectedFields: string[];
32
- };
33
- K1_ISSUER_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
34
- severity: "error";
35
- message: string;
36
- affectedFields: string[];
37
- };
38
- K1_ISSUER_LOSS_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
39
- severity: "error";
40
- message: string;
41
- affectedFields: string[];
42
- };
43
- K1_ISSUER_CAPITAL_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
44
- severity: "error";
45
- message: string;
46
- affectedFields: string[];
47
- };
48
- K1_ISSUER_NO_K1_PROFIT_PERCENTAGE_MUST_BE_0: {
49
- severity: "error";
50
- message: string;
51
- affectedFields: string[];
52
- };
53
- K1_ISSUER_NO_K1_LOSS_PERCENTAGE_MUST_BE_0: {
54
- severity: "error";
55
- message: string;
56
- affectedFields: string[];
57
- };
58
- K1_ISSUER_NO_K1_CAPITAL_PERCENTAGE_MUST_BE_0: {
59
- severity: "error";
60
- message: string;
61
- affectedFields: string[];
62
- };
63
- K1_ISSUER_INVALID_ENTITY_TYPE: {
64
- severity: "error";
65
- message: string;
66
- params: string[];
67
- affectedFields: string[];
68
- };
69
- INCOME_SOURCE_TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
70
- severity: "error";
71
- message: string;
72
- params: string[];
73
- affectedFields: string[];
74
- };
75
- INCOME_SOURCE_TOTAL_LOSS_PERCENTAGE_EXCEEDS_100: {
76
- severity: "error";
77
- message: string;
78
- params: string[];
79
- affectedFields: string[];
80
- };
81
- INCOME_SOURCE_TOTAL_CAPITAL_PERCENTAGE_EXCEEDS_100: {
82
- severity: "error";
83
- message: string;
84
- params: string[];
85
- affectedFields: string[];
86
- };
87
- };
88
- //# sourceMappingURL=client-relationships-income-sources.validation-messages.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client-relationships-income-sources.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-relationships-income-sources.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsF9C,CAAC"}
@@ -1,91 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CLIENT_RELATIONSHIPS_INCOME_SOURCES = void 0;
4
- const validation_message_types_1 = require("../validation-message.types");
5
- exports.CLIENT_RELATIONSHIPS_INCOME_SOURCES = (0, validation_message_types_1.defineValidationFeatureMessages)({
6
- SUBSIDIARY_CANNOT_HAVE_PARENT: {
7
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
8
- message: `{clientName} cannot have subsidiary relationships since it is filing as a subsidiary under {parentClientName} during this timeframe. Please adjust the timeframe or select a different relationship type.`,
9
- params: ['clientName', 'parentClientName'],
10
- affectedFields: ['relationshipType', 'startingDate', 'endingDate'],
11
- },
12
- SUBSIDIARY_REQUIRES_FILES_SEPARATELY: {
13
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
14
- message: `A subsidiary relationship can only be added to an entity that files separately. Please update the Sub/Parent status before adding a subsidiary relationship, or choose a different relationship type.`,
15
- affectedFields: ['relationshipType', 'filingStatus'],
16
- },
17
- SUBSIDIARY_PROFIT_PERCENTAGE_MUST_BE_100: {
18
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
19
- message: `A subsidiary must allocate 100% profit to its parent. Please update the percentage to 100% or change the relationship type.`,
20
- affectedFields: ['profit', 'relationshipType'],
21
- },
22
- SUBSIDIARY_LOSS_PERCENTAGE_MUST_BE_100: {
23
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
24
- message: `A subsidiary must allocate 100% loss to its parent. Please update the percentage to 100% or change the relationship type.`,
25
- affectedFields: ['loss', 'relationshipType'],
26
- },
27
- SUBSIDIARY_CAPITAL_PERCENTAGE_MUST_BE_100: {
28
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
29
- message: `A subsidiary must allocate 100% capital to its parent. Please update the percentage to 100% or change the relationship type.`,
30
- affectedFields: ['capital', 'relationshipType'],
31
- },
32
- SUBSIDIARY_ENTITY_TYPE_MISMATCH: {
33
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
34
- message: `A subsidiary entity must be the same entity type as the client during the relationship's timeframe (besides DBA or LLC subsidiaries). Please select a different relationship type, or update either client's entity type.`,
35
- affectedFields: ['relatedClient', 'relationshipType'],
36
- },
37
- K1_ISSUER_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
38
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
39
- message: `A K1 issuer must allocate a profit percentage greater than 0%. Please enter a profit percentage, or change Receives K1 to 'No'.`,
40
- affectedFields: ['profit', 'k1Applicable'],
41
- },
42
- K1_ISSUER_LOSS_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
43
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
44
- message: `A K1 issuer must allocate a loss percentage greater than 0%. Please enter a profit percentage, or change Receives K1 to 'No'.`,
45
- affectedFields: ['loss', 'k1Applicable'],
46
- },
47
- K1_ISSUER_CAPITAL_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
48
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
49
- message: `A K1 issuer must allocate a capital percentage greater than 0%. Please enter a capital percentage, or change Receives K1 to 'No'.`,
50
- affectedFields: ['capital', 'k1Applicable'],
51
- },
52
- K1_ISSUER_NO_K1_PROFIT_PERCENTAGE_MUST_BE_0: {
53
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
54
- message: `A K1 issuer that does not issue a K1 cannot allocate a profit percentage. Please update the profit percentage to 0%, or change Receives K1 to 'Yes'.`,
55
- affectedFields: ['profit', 'k1Applicable'],
56
- },
57
- K1_ISSUER_NO_K1_LOSS_PERCENTAGE_MUST_BE_0: {
58
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
59
- message: `A K1 issuer that does not issue a K1 cannot allocate a loss percentage. Please update the loss percentage to 0%, or change Receives K1 to 'Yes'.`,
60
- affectedFields: ['loss', 'k1Applicable'],
61
- },
62
- K1_ISSUER_NO_K1_CAPITAL_PERCENTAGE_MUST_BE_0: {
63
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
64
- message: `A K1 issuer that does not issue a K1 cannot allocate a capital percentage. Please update the capital percentage to 0%, or change Receives K1 to 'Yes'.`,
65
- affectedFields: ['capital', 'k1Applicable'],
66
- },
67
- K1_ISSUER_INVALID_ENTITY_TYPE: {
68
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
69
- message: `{relatedClient} is a/an {entityType}, which cannot issue K1s. Please select a different client or choose a different relationship type.`,
70
- params: ['relatedClient', 'entityType'],
71
- affectedFields: ['relatedClient', 'relationshipType'],
72
- },
73
- INCOME_SOURCE_TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
74
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
75
- message: `The ownership percentages for {relatedClient}'s profit exceeds 100% for this timeframe. Please update their shareholder percentages so that the total between all owners does not exceed 100%.`,
76
- params: ['relatedClient'],
77
- affectedFields: ['profit', 'startingDate', 'endingDate'],
78
- },
79
- INCOME_SOURCE_TOTAL_LOSS_PERCENTAGE_EXCEEDS_100: {
80
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
81
- message: `The ownership percentages for {relatedClient}'s loss exceeds 100% for this timeframe. Please update their shareholder percentages so that the total between all owners does not exceed 100%.`,
82
- params: ['relatedClient'],
83
- affectedFields: ['loss', 'startingDate', 'endingDate'],
84
- },
85
- INCOME_SOURCE_TOTAL_CAPITAL_PERCENTAGE_EXCEEDS_100: {
86
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
87
- message: `The ownership percentages for {relatedClient}'s capital exceeds 100% for this timeframe. Please update their shareholder percentages so that the total between all owners does not exceed 100%.`,
88
- params: ['relatedClient'],
89
- affectedFields: ['capital', 'startingDate', 'endingDate'],
90
- },
91
- });
@@ -1,90 +0,0 @@
1
- export declare const CLIENT_RELATIONSHIPS_OWNERS: {
2
- PARENT_RELATIONSHIP_REQUIRES_FILES_UNDER_PARENT: {
3
- severity: "error";
4
- message: string;
5
- affectedFields: string[];
6
- };
7
- MULTIPLE_ACTIVE_PARENT_RELATIONSHIPS: {
8
- severity: "error";
9
- message: string;
10
- affectedFields: string[];
11
- };
12
- MULTIPLE_PARENT_RELATIONSHIPS_SAME_TIMEFRAME: {
13
- severity: "error";
14
- message: string;
15
- params: string[];
16
- affectedFields: string[];
17
- };
18
- PARENT_CANNOT_BE_SUB_ENTITY: {
19
- severity: "error";
20
- message: string;
21
- params: string[];
22
- affectedFields: string[];
23
- };
24
- PARENT_ENTITY_TYPE_MISMATCH: {
25
- severity: "error";
26
- message: string;
27
- affectedFields: string[];
28
- };
29
- PARENT_PROFIT_PERCENTAGE_MUST_BE_100: {
30
- severity: "error";
31
- message: string;
32
- affectedFields: string[];
33
- };
34
- PARENT_LOSS_PERCENTAGE_MUST_BE_100: {
35
- severity: "error";
36
- message: string;
37
- affectedFields: string[];
38
- };
39
- PARENT_CAPITAL_PERCENTAGE_MUST_BE_100: {
40
- severity: "error";
41
- message: string;
42
- affectedFields: string[];
43
- };
44
- SHAREHOLDER_K1_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
45
- severity: "error";
46
- message: string;
47
- affectedFields: string[];
48
- };
49
- SHAREHOLDER_K1_LOSS_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
50
- severity: "error";
51
- message: string;
52
- affectedFields: string[];
53
- };
54
- SHAREHOLDER_K1_CAPITAL_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
55
- severity: "error";
56
- message: string;
57
- affectedFields: string[];
58
- };
59
- SHAREHOLDER_NO_K1_PROFIT_PERCENTAGE_MUST_BE_0: {
60
- severity: "error";
61
- message: string;
62
- affectedFields: string[];
63
- };
64
- SHAREHOLDER_NO_K1_LOSS_PERCENTAGE_MUST_BE_0: {
65
- severity: "error";
66
- message: string;
67
- affectedFields: string[];
68
- };
69
- SHAREHOLDER_NO_K1_CAPITAL_PERCENTAGE_MUST_BE_0: {
70
- severity: "error";
71
- message: string;
72
- affectedFields: string[];
73
- };
74
- TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
75
- severity: "error";
76
- message: string;
77
- affectedFields: string[];
78
- };
79
- TOTAL_LOSS_PERCENTAGE_EXCEEDS_100: {
80
- severity: "error";
81
- message: string;
82
- affectedFields: string[];
83
- };
84
- TOTAL_CAPITAL_PERCENTAGE_EXCEEDS_100: {
85
- severity: "error";
86
- message: string;
87
- affectedFields: string[];
88
- };
89
- };
90
- //# sourceMappingURL=client-relationships-owners.validation-messages.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client-relationships-owners.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-relationships-owners.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFtC,CAAC"}
@@ -1,93 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CLIENT_RELATIONSHIPS_OWNERS = void 0;
4
- const validation_message_types_1 = require("../validation-message.types");
5
- exports.CLIENT_RELATIONSHIPS_OWNERS = (0, validation_message_types_1.defineValidationFeatureMessages)({
6
- PARENT_RELATIONSHIP_REQUIRES_FILES_UNDER_PARENT: {
7
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
8
- message: `A Parent relationship can only be added to an entity that files under parent. Please update the Sub/Parent status before adding a parent relationship, or choose a different relationship type.`,
9
- affectedFields: ['relationshipType', 'filingStatus'],
10
- },
11
- MULTIPLE_ACTIVE_PARENT_RELATIONSHIPS: {
12
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
13
- message: `All parent relationships besides the current one must have an ending date. Please add an ending date for any parent relationships that are no longer current, before adding this parent relationship.`,
14
- affectedFields: ['endingDate'],
15
- },
16
- MULTIPLE_PARENT_RELATIONSHIPS_SAME_TIMEFRAME: {
17
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
18
- message: `There can only be one parent relationship associated to a client during the same timeframe. There is a current parent relationship with {parentRelatedClientName} starting {relationshipStarting}. Please add an end date to that relationship before adding a new one.`,
19
- params: ['parentRelatedClientName', 'relationshipStarting'],
20
- affectedFields: ['relationshipType', 'startingDate'],
21
- },
22
- PARENT_CANNOT_BE_SUB_ENTITY: {
23
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
24
- message: `{relatedClientName} cannot be the parent of {clientName}, since it is filing as a sub-entity under another parent during this timeframe. Please adjust the timeframe or select a different relationship type.`,
25
- params: ['relatedClientName', 'clientName'],
26
- affectedFields: ['relatedClient', 'relationshipType', 'startingDate', 'endingDate'],
27
- },
28
- PARENT_ENTITY_TYPE_MISMATCH: {
29
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
30
- message: `A parent entity must be the same entity type as the client during the relationship's timeframe. Please select a different relationship type or update either client's entity type.`,
31
- affectedFields: ['relatedClient', 'relationshipType'],
32
- },
33
- PARENT_PROFIT_PERCENTAGE_MUST_BE_100: {
34
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
35
- message: `A parent must own a profit percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
36
- affectedFields: ['profit', 'relationshipType'],
37
- },
38
- PARENT_LOSS_PERCENTAGE_MUST_BE_100: {
39
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
40
- message: `A parent must own a loss percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
41
- affectedFields: ['loss', 'relationshipType'],
42
- },
43
- PARENT_CAPITAL_PERCENTAGE_MUST_BE_100: {
44
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
45
- message: `A parent must own a capital percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
46
- affectedFields: ['capital', 'relationshipType'],
47
- },
48
- SHAREHOLDER_K1_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
49
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
50
- message: `A shareholder relationship that issues a K1 must have a profit percentage greater than 0%. Please enter a profit percentage, or change Issues K1 to 'No'.`,
51
- affectedFields: ['profit', 'k1Applicable'],
52
- },
53
- SHAREHOLDER_K1_LOSS_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
54
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
55
- message: `A shareholder relationship that issues a K1 must have a loss percentage greater than 0%. Please enter a loss percentage, or change Issues K1 to 'No'.`,
56
- affectedFields: ['loss', 'k1Applicable'],
57
- },
58
- SHAREHOLDER_K1_CAPITAL_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
59
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
60
- message: `A shareholder relationship that issues a K1 must have a capital percentage greater than 0%. Please enter a capital percentage, or change Issues K1 to 'No'.`,
61
- affectedFields: ['capital', 'k1Applicable'],
62
- },
63
- SHAREHOLDER_NO_K1_PROFIT_PERCENTAGE_MUST_BE_0: {
64
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
65
- message: `A shareholder relationship that does not issue a K1 must have a 0% profit percentage. Please update the profit percentage, or change Issues K1 to 'Yes'.`,
66
- affectedFields: ['profit', 'k1Applicable'],
67
- },
68
- SHAREHOLDER_NO_K1_LOSS_PERCENTAGE_MUST_BE_0: {
69
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
70
- message: `A shareholder relationship that does not issue a K1 must have a 0% loss percentage. Please update the loss percentage, or change Issues K1 to 'Yes'.`,
71
- affectedFields: ['loss', 'k1Applicable'],
72
- },
73
- SHAREHOLDER_NO_K1_CAPITAL_PERCENTAGE_MUST_BE_0: {
74
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
75
- message: `A shareholder relationship that does not issue a K1 must have a 0% capital percentage. Please update the capital percentage, or change Issues K1 to 'Yes'.`,
76
- affectedFields: ['capital', 'k1Applicable'],
77
- },
78
- TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
79
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
80
- message: `The total profit percentage for this timeframe exceeds 100%. Please adjust the shareholder percentages to total no more than 100% for all shareholders in this timeframe.`,
81
- affectedFields: ['profit', 'startingDate', 'endingDate'],
82
- },
83
- TOTAL_LOSS_PERCENTAGE_EXCEEDS_100: {
84
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
85
- message: `The total loss percentage for this timeframe exceeds 100%. Please adjust the shareholder percentages to total no more than 100% for all shareholders in this timeframe.`,
86
- affectedFields: ['loss', 'startingDate', 'endingDate'],
87
- },
88
- TOTAL_CAPITAL_PERCENTAGE_EXCEEDS_100: {
89
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
90
- message: `The total capital percentage for this timeframe exceeds 100%. Please adjust the shareholder percentages to total no more than 100% for all shareholders in this timeframe.`,
91
- affectedFields: ['capital', 'startingDate', 'endingDate'],
92
- },
93
- });