@forwardslashns/taskit-validation-messages 1.10.8 → 1.10.9

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.
@@ -56,6 +56,68 @@ export declare const TEMPLATES: {
56
56
  readonly message: "Invalid associated setup template";
57
57
  readonly affectedFields: readonly ["associatedSetupTemplate"];
58
58
  };
59
+ readonly FILING_TYPE_REQUIRED: {
60
+ readonly message: "Filing type is required";
61
+ readonly affectedFields: readonly ["filingTypeId"];
62
+ };
63
+ readonly INVALID_FILING_TYPE: {
64
+ readonly message: "Invalid filing type";
65
+ readonly affectedFields: readonly ["filingTypeId"];
66
+ };
67
+ readonly STATE_REQUIRED: {
68
+ readonly message: "State is required";
69
+ readonly affectedFields: readonly ["stateId"];
70
+ };
71
+ readonly INVALID_STATE: {
72
+ readonly message: "Invalid state";
73
+ readonly affectedFields: readonly ["stateId"];
74
+ };
75
+ readonly FILING_STATUS_REQUIRED: {
76
+ readonly message: "Sub/Parent status is required when filing type is Income tax";
77
+ readonly affectedFields: readonly ["filingStatusId"];
78
+ };
79
+ readonly INVALID_FILING_STATUS: {
80
+ readonly message: "Invalid filing status";
81
+ readonly affectedFields: readonly ["filingStatusId"];
82
+ };
83
+ readonly FILES_UNDER_REQUIRED: {
84
+ readonly message: "Files under is required when Sub/Parent status is \"Files under parent\"";
85
+ readonly affectedFields: readonly ["filesUnder"];
86
+ };
87
+ readonly INVALID_FILES_UNDER: {
88
+ readonly message: "The selected parent filing does not exist";
89
+ readonly affectedFields: readonly ["filesUnder"];
90
+ };
91
+ readonly FILES_UNDER_MUST_BE_FILING: {
92
+ readonly message: "The selected parent must be a Filing template";
93
+ readonly affectedFields: readonly ["filesUnder"];
94
+ };
95
+ readonly FILES_UNDER_MUST_BE_INCOME_TAX: {
96
+ readonly message: "A parent filing must be an 'Income tax' filing. {parentName} is set to {parentFilingType}. Please select a parent filing with 'Filing type' set to 'Income tax'.";
97
+ readonly params: readonly ["parentName", "parentFilingType"];
98
+ readonly affectedFields: readonly ["filesUnder"];
99
+ };
100
+ readonly FILES_UNDER_MUST_HAVE_ANNUAL_RECURRENCE: {
101
+ readonly message: "A parent filing must be on an annual recurrence. {parentName} does not have an annual recurrence setup. Please add an annual recurrence for {parentName}, or select a different parent filing.";
102
+ readonly params: readonly ["parentName"];
103
+ readonly affectedFields: readonly ["filesUnder"];
104
+ };
105
+ readonly TAX_PAYMENT_FILING_REQUIRED: {
106
+ readonly message: "Tax payment filing is required";
107
+ readonly affectedFields: readonly ["taxPaymentFilingId"];
108
+ };
109
+ readonly INVALID_TAX_PAYMENT_FILING: {
110
+ readonly message: "The selected tax payment filing does not exist";
111
+ readonly affectedFields: readonly ["taxPaymentFilingId"];
112
+ };
113
+ readonly TAX_PAYMENT_FILING_MUST_BE_FILING_TYPE: {
114
+ readonly message: "The selected tax payment filing must be a Filing type template";
115
+ readonly affectedFields: readonly ["taxPaymentFilingId"];
116
+ };
117
+ readonly SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
118
+ readonly message: "The selected associated setup template must be a Setup type template";
119
+ readonly affectedFields: readonly ["associatedSetupTemplateId"];
120
+ };
59
121
  readonly OPTION_IN_USE: {
60
122
  readonly message: "This template is currently in use and cannot be deleted";
61
123
  readonly affectedFields: readonly [];
@@ -1 +1 @@
1
- {"version":3,"file":"templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/templates.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEZ,CAAC"}
1
+ {"version":3,"file":"templates.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/templates.validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkIZ,CAAC"}
@@ -59,6 +59,68 @@ exports.TEMPLATES = {
59
59
  message: 'Invalid associated setup template',
60
60
  affectedFields: ['associatedSetupTemplate'],
61
61
  },
62
+ FILING_TYPE_REQUIRED: {
63
+ message: 'Filing type is required',
64
+ affectedFields: ['filingTypeId'],
65
+ },
66
+ INVALID_FILING_TYPE: {
67
+ message: 'Invalid filing type',
68
+ affectedFields: ['filingTypeId'],
69
+ },
70
+ STATE_REQUIRED: {
71
+ message: 'State is required',
72
+ affectedFields: ['stateId'],
73
+ },
74
+ INVALID_STATE: {
75
+ message: 'Invalid state',
76
+ affectedFields: ['stateId'],
77
+ },
78
+ FILING_STATUS_REQUIRED: {
79
+ message: 'Sub/Parent status is required when filing type is Income tax',
80
+ affectedFields: ['filingStatusId'],
81
+ },
82
+ INVALID_FILING_STATUS: {
83
+ message: 'Invalid filing status',
84
+ affectedFields: ['filingStatusId'],
85
+ },
86
+ FILES_UNDER_REQUIRED: {
87
+ message: 'Files under is required when Sub/Parent status is "Files under parent"',
88
+ affectedFields: ['filesUnder'],
89
+ },
90
+ INVALID_FILES_UNDER: {
91
+ message: 'The selected parent filing does not exist',
92
+ affectedFields: ['filesUnder'],
93
+ },
94
+ FILES_UNDER_MUST_BE_FILING: {
95
+ message: 'The selected parent must be a Filing template',
96
+ affectedFields: ['filesUnder'],
97
+ },
98
+ FILES_UNDER_MUST_BE_INCOME_TAX: {
99
+ message: "A parent filing must be an 'Income tax' filing. {parentName} is set to {parentFilingType}. Please select a parent filing with 'Filing type' set to 'Income tax'.",
100
+ params: ['parentName', 'parentFilingType'],
101
+ affectedFields: ['filesUnder'],
102
+ },
103
+ FILES_UNDER_MUST_HAVE_ANNUAL_RECURRENCE: {
104
+ message: 'A parent filing must be on an annual recurrence. {parentName} does not have an annual recurrence setup. Please add an annual recurrence for {parentName}, or select a different parent filing.',
105
+ params: ['parentName'],
106
+ affectedFields: ['filesUnder'],
107
+ },
108
+ TAX_PAYMENT_FILING_REQUIRED: {
109
+ message: 'Tax payment filing is required',
110
+ affectedFields: ['taxPaymentFilingId'],
111
+ },
112
+ INVALID_TAX_PAYMENT_FILING: {
113
+ message: 'The selected tax payment filing does not exist',
114
+ affectedFields: ['taxPaymentFilingId'],
115
+ },
116
+ TAX_PAYMENT_FILING_MUST_BE_FILING_TYPE: {
117
+ message: 'The selected tax payment filing must be a Filing type template',
118
+ affectedFields: ['taxPaymentFilingId'],
119
+ },
120
+ SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
121
+ message: 'The selected associated setup template must be a Setup type template',
122
+ affectedFields: ['associatedSetupTemplateId'],
123
+ },
62
124
  OPTION_IN_USE: {
63
125
  message: 'This template is currently in use and cannot be deleted',
64
126
  affectedFields: [],
@@ -1116,6 +1116,68 @@ export declare const VALIDATION_MESSAGES: {
1116
1116
  readonly message: "Invalid associated setup template";
1117
1117
  readonly affectedFields: readonly ["associatedSetupTemplate"];
1118
1118
  };
1119
+ readonly FILING_TYPE_REQUIRED: {
1120
+ readonly message: "Filing type is required";
1121
+ readonly affectedFields: readonly ["filingTypeId"];
1122
+ };
1123
+ readonly INVALID_FILING_TYPE: {
1124
+ readonly message: "Invalid filing type";
1125
+ readonly affectedFields: readonly ["filingTypeId"];
1126
+ };
1127
+ readonly STATE_REQUIRED: {
1128
+ readonly message: "State is required";
1129
+ readonly affectedFields: readonly ["stateId"];
1130
+ };
1131
+ readonly INVALID_STATE: {
1132
+ readonly message: "Invalid state";
1133
+ readonly affectedFields: readonly ["stateId"];
1134
+ };
1135
+ readonly FILING_STATUS_REQUIRED: {
1136
+ readonly message: "Sub/Parent status is required when filing type is Income tax";
1137
+ readonly affectedFields: readonly ["filingStatusId"];
1138
+ };
1139
+ readonly INVALID_FILING_STATUS: {
1140
+ readonly message: "Invalid filing status";
1141
+ readonly affectedFields: readonly ["filingStatusId"];
1142
+ };
1143
+ readonly FILES_UNDER_REQUIRED: {
1144
+ readonly message: "Files under is required when Sub/Parent status is \"Files under parent\"";
1145
+ readonly affectedFields: readonly ["filesUnder"];
1146
+ };
1147
+ readonly INVALID_FILES_UNDER: {
1148
+ readonly message: "The selected parent filing does not exist";
1149
+ readonly affectedFields: readonly ["filesUnder"];
1150
+ };
1151
+ readonly FILES_UNDER_MUST_BE_FILING: {
1152
+ readonly message: "The selected parent must be a Filing template";
1153
+ readonly affectedFields: readonly ["filesUnder"];
1154
+ };
1155
+ readonly FILES_UNDER_MUST_BE_INCOME_TAX: {
1156
+ readonly message: "A parent filing must be an 'Income tax' filing. {parentName} is set to {parentFilingType}. Please select a parent filing with 'Filing type' set to 'Income tax'.";
1157
+ readonly params: readonly ["parentName", "parentFilingType"];
1158
+ readonly affectedFields: readonly ["filesUnder"];
1159
+ };
1160
+ readonly FILES_UNDER_MUST_HAVE_ANNUAL_RECURRENCE: {
1161
+ readonly message: "A parent filing must be on an annual recurrence. {parentName} does not have an annual recurrence setup. Please add an annual recurrence for {parentName}, or select a different parent filing.";
1162
+ readonly params: readonly ["parentName"];
1163
+ readonly affectedFields: readonly ["filesUnder"];
1164
+ };
1165
+ readonly TAX_PAYMENT_FILING_REQUIRED: {
1166
+ readonly message: "Tax payment filing is required";
1167
+ readonly affectedFields: readonly ["taxPaymentFilingId"];
1168
+ };
1169
+ readonly INVALID_TAX_PAYMENT_FILING: {
1170
+ readonly message: "The selected tax payment filing does not exist";
1171
+ readonly affectedFields: readonly ["taxPaymentFilingId"];
1172
+ };
1173
+ readonly TAX_PAYMENT_FILING_MUST_BE_FILING_TYPE: {
1174
+ readonly message: "The selected tax payment filing must be a Filing type template";
1175
+ readonly affectedFields: readonly ["taxPaymentFilingId"];
1176
+ };
1177
+ readonly SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
1178
+ readonly message: "The selected associated setup template must be a Setup type template";
1179
+ readonly affectedFields: readonly ["associatedSetupTemplateId"];
1180
+ };
1119
1181
  readonly OPTION_IN_USE: {
1120
1182
  readonly message: "This template is currently in use and cannot be deleted";
1121
1183
  readonly affectedFields: readonly [];
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.8",
3
+ "version": "1.10.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -56,6 +56,70 @@ export const TEMPLATES = {
56
56
  message: 'Invalid associated setup template',
57
57
  affectedFields: ['associatedSetupTemplate'],
58
58
  },
59
+ FILING_TYPE_REQUIRED: {
60
+ message: 'Filing type is required',
61
+ affectedFields: ['filingTypeId'],
62
+ },
63
+ INVALID_FILING_TYPE: {
64
+ message: 'Invalid filing type',
65
+ affectedFields: ['filingTypeId'],
66
+ },
67
+ STATE_REQUIRED: {
68
+ message: 'State is required',
69
+ affectedFields: ['stateId'],
70
+ },
71
+ INVALID_STATE: {
72
+ message: 'Invalid state',
73
+ affectedFields: ['stateId'],
74
+ },
75
+ FILING_STATUS_REQUIRED: {
76
+ message: 'Sub/Parent status is required when filing type is Income tax',
77
+ affectedFields: ['filingStatusId'],
78
+ },
79
+ INVALID_FILING_STATUS: {
80
+ message: 'Invalid filing status',
81
+ affectedFields: ['filingStatusId'],
82
+ },
83
+ FILES_UNDER_REQUIRED: {
84
+ message: 'Files under is required when Sub/Parent status is "Files under parent"',
85
+ affectedFields: ['filesUnder'],
86
+ },
87
+ INVALID_FILES_UNDER: {
88
+ message: 'The selected parent filing does not exist',
89
+ affectedFields: ['filesUnder'],
90
+ },
91
+ FILES_UNDER_MUST_BE_FILING: {
92
+ message: 'The selected parent must be a Filing template',
93
+ affectedFields: ['filesUnder'],
94
+ },
95
+ FILES_UNDER_MUST_BE_INCOME_TAX: {
96
+ message:
97
+ "A parent filing must be an 'Income tax' filing. {parentName} is set to {parentFilingType}. Please select a parent filing with 'Filing type' set to 'Income tax'.",
98
+ params: ['parentName', 'parentFilingType'],
99
+ affectedFields: ['filesUnder'],
100
+ },
101
+ FILES_UNDER_MUST_HAVE_ANNUAL_RECURRENCE: {
102
+ message:
103
+ 'A parent filing must be on an annual recurrence. {parentName} does not have an annual recurrence setup. Please add an annual recurrence for {parentName}, or select a different parent filing.',
104
+ params: ['parentName'],
105
+ affectedFields: ['filesUnder'],
106
+ },
107
+ TAX_PAYMENT_FILING_REQUIRED: {
108
+ message: 'Tax payment filing is required',
109
+ affectedFields: ['taxPaymentFilingId'],
110
+ },
111
+ INVALID_TAX_PAYMENT_FILING: {
112
+ message: 'The selected tax payment filing does not exist',
113
+ affectedFields: ['taxPaymentFilingId'],
114
+ },
115
+ TAX_PAYMENT_FILING_MUST_BE_FILING_TYPE: {
116
+ message: 'The selected tax payment filing must be a Filing type template',
117
+ affectedFields: ['taxPaymentFilingId'],
118
+ },
119
+ SETUP_TEMPLATE_MUST_BE_SETUP_TYPE: {
120
+ message: 'The selected associated setup template must be a Setup type template',
121
+ affectedFields: ['associatedSetupTemplateId'],
122
+ },
59
123
  OPTION_IN_USE: {
60
124
  message: 'This template is currently in use and cannot be deleted',
61
125
  affectedFields: [],