@forwardslashns/taskit-validation-messages 1.3.5 → 1.3.6

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.
@@ -97,5 +97,41 @@ export declare const CLIENT_RELATIONSHIPS: {
97
97
  readonly 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.";
98
98
  readonly affectedFields: readonly ["relationshipTypeId", "filingTypeId"];
99
99
  };
100
+ readonly PARENT_PROFIT_PERCENTAGE_MUST_BE_100: {
101
+ readonly message: "A parent must own a profit percentage of 100%. Please update the percentage to 100% or change the relationship type.";
102
+ readonly affectedFields: readonly ["profit", "relationshipTypeId"];
103
+ };
104
+ readonly PARENT_LOSS_PERCENTAGE_MUST_BE_100: {
105
+ readonly message: "A parent must own a loss percentage of 100%. Please update the percentage to 100% or change the relationship type.";
106
+ readonly affectedFields: readonly ["loss", "relationshipTypeId"];
107
+ };
108
+ readonly PARENT_CAPITAL_PERCENTAGE_MUST_BE_100: {
109
+ readonly message: "A parent must own a capital percentage of 100%. Please update the percentage to 100% or change the relationship type.";
110
+ readonly affectedFields: readonly ["capital", "relationshipTypeId"];
111
+ };
112
+ readonly SHAREHOLDER_K1_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
113
+ readonly 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'.";
114
+ readonly affectedFields: readonly ["profit", "k1Applicable"];
115
+ };
116
+ readonly SHAREHOLDER_K1_LOSS_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
117
+ readonly 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'.";
118
+ readonly affectedFields: readonly ["loss", "k1Applicable"];
119
+ };
120
+ readonly SHAREHOLDER_K1_CAPITAL_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
121
+ readonly 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'.";
122
+ readonly affectedFields: readonly ["capital", "k1Applicable"];
123
+ };
124
+ readonly TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
125
+ readonly 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.";
126
+ readonly affectedFields: readonly ["profit", "startingDate", "endingDate"];
127
+ };
128
+ readonly TOTAL_LOSS_PERCENTAGE_EXCEEDS_100: {
129
+ readonly 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.";
130
+ readonly affectedFields: readonly ["loss", "startingDate", "endingDate"];
131
+ };
132
+ readonly TOTAL_CAPITAL_PERCENTAGE_EXCEEDS_100: {
133
+ readonly 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.";
134
+ readonly affectedFields: readonly ["capital", "startingDate", "endingDate"];
135
+ };
100
136
  };
101
137
  //# sourceMappingURL=client-relationships.validation-messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-relationships.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-relationships.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmGvB,CAAC"}
1
+ {"version":3,"file":"client-relationships.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/client-relationships.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuIvB,CAAC"}
@@ -100,4 +100,40 @@ exports.CLIENT_RELATIONSHIPS = {
100
100
  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.`,
101
101
  affectedFields: ['relationshipTypeId', 'filingTypeId'],
102
102
  },
103
+ PARENT_PROFIT_PERCENTAGE_MUST_BE_100: {
104
+ message: `A parent must own a profit percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
105
+ affectedFields: ['profit', 'relationshipTypeId'],
106
+ },
107
+ PARENT_LOSS_PERCENTAGE_MUST_BE_100: {
108
+ message: `A parent must own a loss percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
109
+ affectedFields: ['loss', 'relationshipTypeId'],
110
+ },
111
+ PARENT_CAPITAL_PERCENTAGE_MUST_BE_100: {
112
+ message: `A parent must own a capital percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
113
+ affectedFields: ['capital', 'relationshipTypeId'],
114
+ },
115
+ SHAREHOLDER_K1_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
116
+ 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'.`,
117
+ affectedFields: ['profit', 'k1Applicable'],
118
+ },
119
+ SHAREHOLDER_K1_LOSS_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
120
+ 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'.`,
121
+ affectedFields: ['loss', 'k1Applicable'],
122
+ },
123
+ SHAREHOLDER_K1_CAPITAL_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
124
+ 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'.`,
125
+ affectedFields: ['capital', 'k1Applicable'],
126
+ },
127
+ TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
128
+ 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.`,
129
+ affectedFields: ['profit', 'startingDate', 'endingDate'],
130
+ },
131
+ TOTAL_LOSS_PERCENTAGE_EXCEEDS_100: {
132
+ 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.`,
133
+ affectedFields: ['loss', 'startingDate', 'endingDate'],
134
+ },
135
+ TOTAL_CAPITAL_PERCENTAGE_EXCEEDS_100: {
136
+ 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.`,
137
+ affectedFields: ['capital', 'startingDate', 'endingDate'],
138
+ },
103
139
  };
@@ -705,6 +705,42 @@ export declare const VALIDATION_MESSAGES: {
705
705
  readonly 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.";
706
706
  readonly affectedFields: readonly ["relationshipTypeId", "filingTypeId"];
707
707
  };
708
+ readonly PARENT_PROFIT_PERCENTAGE_MUST_BE_100: {
709
+ readonly message: "A parent must own a profit percentage of 100%. Please update the percentage to 100% or change the relationship type.";
710
+ readonly affectedFields: readonly ["profit", "relationshipTypeId"];
711
+ };
712
+ readonly PARENT_LOSS_PERCENTAGE_MUST_BE_100: {
713
+ readonly message: "A parent must own a loss percentage of 100%. Please update the percentage to 100% or change the relationship type.";
714
+ readonly affectedFields: readonly ["loss", "relationshipTypeId"];
715
+ };
716
+ readonly PARENT_CAPITAL_PERCENTAGE_MUST_BE_100: {
717
+ readonly message: "A parent must own a capital percentage of 100%. Please update the percentage to 100% or change the relationship type.";
718
+ readonly affectedFields: readonly ["capital", "relationshipTypeId"];
719
+ };
720
+ readonly SHAREHOLDER_K1_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
721
+ readonly 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'.";
722
+ readonly affectedFields: readonly ["profit", "k1Applicable"];
723
+ };
724
+ readonly SHAREHOLDER_K1_LOSS_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
725
+ readonly 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'.";
726
+ readonly affectedFields: readonly ["loss", "k1Applicable"];
727
+ };
728
+ readonly SHAREHOLDER_K1_CAPITAL_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
729
+ readonly 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'.";
730
+ readonly affectedFields: readonly ["capital", "k1Applicable"];
731
+ };
732
+ readonly TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
733
+ readonly 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.";
734
+ readonly affectedFields: readonly ["profit", "startingDate", "endingDate"];
735
+ };
736
+ readonly TOTAL_LOSS_PERCENTAGE_EXCEEDS_100: {
737
+ readonly 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.";
738
+ readonly affectedFields: readonly ["loss", "startingDate", "endingDate"];
739
+ };
740
+ readonly TOTAL_CAPITAL_PERCENTAGE_EXCEEDS_100: {
741
+ readonly 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.";
742
+ readonly affectedFields: readonly ["capital", "startingDate", "endingDate"];
743
+ };
708
744
  };
709
745
  readonly FILING_CATEGORIES: {
710
746
  readonly INVALID_REQUEST: {
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -97,4 +97,40 @@ export const CLIENT_RELATIONSHIPS = {
97
97
  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.`,
98
98
  affectedFields: ['relationshipTypeId', 'filingTypeId'],
99
99
  },
100
+ PARENT_PROFIT_PERCENTAGE_MUST_BE_100: {
101
+ message: `A parent must own a profit percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
102
+ affectedFields: ['profit', 'relationshipTypeId'],
103
+ },
104
+ PARENT_LOSS_PERCENTAGE_MUST_BE_100: {
105
+ message: `A parent must own a loss percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
106
+ affectedFields: ['loss', 'relationshipTypeId'],
107
+ },
108
+ PARENT_CAPITAL_PERCENTAGE_MUST_BE_100: {
109
+ message: `A parent must own a capital percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
110
+ affectedFields: ['capital', 'relationshipTypeId'],
111
+ },
112
+ SHAREHOLDER_K1_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
113
+ 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'.`,
114
+ affectedFields: ['profit', 'k1Applicable'],
115
+ },
116
+ SHAREHOLDER_K1_LOSS_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
117
+ 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'.`,
118
+ affectedFields: ['loss', 'k1Applicable'],
119
+ },
120
+ SHAREHOLDER_K1_CAPITAL_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
121
+ 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'.`,
122
+ affectedFields: ['capital', 'k1Applicable'],
123
+ },
124
+ TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
125
+ 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.`,
126
+ affectedFields: ['profit', 'startingDate', 'endingDate'],
127
+ },
128
+ TOTAL_LOSS_PERCENTAGE_EXCEEDS_100: {
129
+ 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.`,
130
+ affectedFields: ['loss', 'startingDate', 'endingDate'],
131
+ },
132
+ TOTAL_CAPITAL_PERCENTAGE_EXCEEDS_100: {
133
+ 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.`,
134
+ affectedFields: ['capital', 'startingDate', 'endingDate'],
135
+ },
100
136
  } as const;