@ottoai/documents 1.5.32 → 1.5.33

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.
@@ -0,0 +1,474 @@
1
+ [
2
+ [
3
+ {
4
+ "name": "name",
5
+ "type": "text",
6
+ "content": "Type Some",
7
+ "position": { "x": 33.89, "y": 33.16 },
8
+ "width": 121.71,
9
+ "height": 5.03,
10
+ "rotate": 0,
11
+ "alignment": "left",
12
+ "verticalAlignment": "top",
13
+ "fontSize": 10,
14
+ "lineHeight": 1,
15
+ "characterSpacing": 0,
16
+ "fontColor": "#000000",
17
+ "fontName": "Roboto",
18
+ "backgroundColor": "",
19
+ "opacity": 1,
20
+ "strikethrough": false,
21
+ "underline": false,
22
+ "required": false,
23
+ "readOnly": false
24
+ },
25
+ {
26
+ "name": "address_line_1",
27
+ "type": "text",
28
+ "content": "Type Something...",
29
+ "position": { "x": 33.99, "y": 41.73 },
30
+ "width": 137.58,
31
+ "height": 4.76,
32
+ "rotate": 0,
33
+ "alignment": "left",
34
+ "verticalAlignment": "top",
35
+ "fontSize": 10,
36
+ "lineHeight": 1,
37
+ "characterSpacing": 0,
38
+ "fontColor": "#000000",
39
+ "fontName": "Roboto",
40
+ "backgroundColor": "",
41
+ "opacity": 1,
42
+ "strikethrough": false,
43
+ "underline": false,
44
+ "required": false,
45
+ "readOnly": false
46
+ },
47
+ {
48
+ "name": "city",
49
+ "type": "text",
50
+ "content": "Type Something...",
51
+ "position": { "x": 32.72, "y": 50.35 },
52
+ "width": 62.18,
53
+ "height": 5.03,
54
+ "rotate": 0,
55
+ "alignment": "left",
56
+ "verticalAlignment": "top",
57
+ "fontSize": 10,
58
+ "lineHeight": 1,
59
+ "characterSpacing": 0,
60
+ "fontColor": "#000000",
61
+ "fontName": "Roboto",
62
+ "backgroundColor": "",
63
+ "opacity": 1,
64
+ "strikethrough": false,
65
+ "underline": false,
66
+ "required": false,
67
+ "readOnly": false
68
+ },
69
+ {
70
+ "name": "state",
71
+ "type": "text",
72
+ "content": "Type Something...",
73
+ "position": { "x": 96.23, "y": 50.48 },
74
+ "width": 38.1,
75
+ "height": 4.76,
76
+ "rotate": 0,
77
+ "alignment": "center",
78
+ "verticalAlignment": "top",
79
+ "fontSize": 10,
80
+ "lineHeight": 1,
81
+ "characterSpacing": 0,
82
+ "fontColor": "#000000",
83
+ "fontName": "Roboto",
84
+ "backgroundColor": "",
85
+ "opacity": 1,
86
+ "strikethrough": false,
87
+ "underline": false,
88
+ "required": false,
89
+ "readOnly": false
90
+ },
91
+ {
92
+ "name": "country",
93
+ "type": "text",
94
+ "content": "Type Something...",
95
+ "position": { "x": 136.59, "y": 50.65 },
96
+ "width": 34.4,
97
+ "height": 4.23,
98
+ "rotate": 0,
99
+ "alignment": "left",
100
+ "verticalAlignment": "top",
101
+ "fontSize": 10,
102
+ "lineHeight": 1,
103
+ "characterSpacing": 0,
104
+ "fontColor": "#000000",
105
+ "fontName": "Roboto",
106
+ "backgroundColor": "",
107
+ "opacity": 1,
108
+ "strikethrough": false,
109
+ "underline": false,
110
+ "required": false,
111
+ "readOnly": false
112
+ },
113
+ {
114
+ "name": "zip",
115
+ "type": "text",
116
+ "content": "Type Something...",
117
+ "position": { "x": 174.08, "y": 50.23 },
118
+ "width": 37.57,
119
+ "height": 4.76,
120
+ "rotate": 0,
121
+ "alignment": "left",
122
+ "verticalAlignment": "top",
123
+ "fontSize": 10,
124
+ "lineHeight": 1,
125
+ "characterSpacing": 0,
126
+ "fontColor": "#000000",
127
+ "fontName": "Roboto",
128
+ "backgroundColor": "",
129
+ "opacity": 1,
130
+ "strikethrough": false,
131
+ "underline": false,
132
+ "required": false,
133
+ "readOnly": false
134
+ },
135
+ {
136
+ "name": "ein",
137
+ "type": "text",
138
+ "content": "Type Something...",
139
+ "position": { "x": 159.83, "y": 33.44 },
140
+ "width": 50.01,
141
+ "height": 4.76,
142
+ "rotate": 0,
143
+ "alignment": "left",
144
+ "verticalAlignment": "top",
145
+ "fontSize": 10,
146
+ "lineHeight": 1,
147
+ "characterSpacing": 0,
148
+ "fontColor": "#000000",
149
+ "fontName": "Roboto",
150
+ "backgroundColor": "",
151
+ "opacity": 1,
152
+ "strikethrough": false,
153
+ "underline": false,
154
+ "required": false,
155
+ "readOnly": false
156
+ },
157
+ {
158
+ "name": "formCode_1",
159
+ "type": "text",
160
+ "content": ".",
161
+ "position": { "x": 192.74, "y": 63.98 },
162
+ "width": 5.56,
163
+ "height": 3.7,
164
+ "rotate": 0,
165
+ "alignment": "left",
166
+ "verticalAlignment": "top",
167
+ "fontSize": 10,
168
+ "lineHeight": 1,
169
+ "characterSpacing": 0,
170
+ "fontColor": "#000000",
171
+ "fontName": "Roboto",
172
+ "backgroundColor": "",
173
+ "opacity": 1,
174
+ "strikethrough": false,
175
+ "underline": false,
176
+ "required": false,
177
+ "readOnly": false
178
+ },
179
+ {
180
+ "name": "formCode_2",
181
+ "type": "text",
182
+ "content": "...",
183
+ "position": { "x": 198.43, "y": 64.01 },
184
+ "width": 5.29,
185
+ "height": 3.44,
186
+ "rotate": 0,
187
+ "alignment": "left",
188
+ "verticalAlignment": "top",
189
+ "fontSize": 10,
190
+ "lineHeight": 1,
191
+ "characterSpacing": 0,
192
+ "fontColor": "#000000",
193
+ "fontName": "Roboto",
194
+ "backgroundColor": "",
195
+ "opacity": 1,
196
+ "strikethrough": false,
197
+ "underline": false,
198
+ "required": false,
199
+ "readOnly": false
200
+ },
201
+ {
202
+ "name": "isForeignCorporation",
203
+ "type": "image",
204
+ "position": { "x": 193.42, "y": 157.28 },
205
+ "width": 3.97,
206
+ "height": 3.7,
207
+ "rotate": 0,
208
+ "opacity": 1,
209
+ "required": false,
210
+ "readOnly": false,
211
+ "content": ""
212
+ },
213
+ {
214
+ "name": "isCommonParent",
215
+ "type": "image",
216
+ "position": { "x": 193.42, "y": 165.68 },
217
+ "width": 3.7,
218
+ "height": 3.7,
219
+ "rotate": 0,
220
+ "opacity": 1,
221
+ "required": false,
222
+ "readOnly": false,
223
+ "content": ""
224
+ },
225
+ {
226
+ "name": "qualifiesUnderRegulations",
227
+ "type": "image",
228
+ "position": { "x": 193.16, "y": 178.13 },
229
+ "width": 3.97,
230
+ "height": 3.97,
231
+ "rotate": 0,
232
+ "opacity": 1,
233
+ "required": false,
234
+ "readOnly": false,
235
+ "content": ""
236
+ },
237
+ {
238
+ "name": "tentativeTotalTax",
239
+ "type": "text",
240
+ "content": "Type Something...",
241
+ "position": { "x": 179.11, "y": 198.93 },
242
+ "width": 36.78,
243
+ "height": 3.97,
244
+ "rotate": 0,
245
+ "alignment": "left",
246
+ "verticalAlignment": "top",
247
+ "fontSize": 10,
248
+ "lineHeight": 1,
249
+ "characterSpacing": 0,
250
+ "fontColor": "#000000",
251
+ "fontName": "Roboto",
252
+ "backgroundColor": "",
253
+ "opacity": 1,
254
+ "strikethrough": false,
255
+ "underline": false,
256
+ "required": false,
257
+ "readOnly": false
258
+ },
259
+ {
260
+ "name": "totalPaymentsAndCredits",
261
+ "type": "text",
262
+ "content": "Type Something...",
263
+ "position": { "x": 179.38, "y": 206.88 },
264
+ "width": 36.51,
265
+ "height": 5.03,
266
+ "rotate": 0,
267
+ "alignment": "left",
268
+ "verticalAlignment": "top",
269
+ "fontSize": 10,
270
+ "lineHeight": 1,
271
+ "characterSpacing": 0,
272
+ "fontColor": "#000000",
273
+ "fontName": "Roboto",
274
+ "backgroundColor": "",
275
+ "opacity": 1,
276
+ "strikethrough": false,
277
+ "underline": false,
278
+ "required": false,
279
+ "readOnly": false
280
+ },
281
+ {
282
+ "name": "balanceDue",
283
+ "type": "text",
284
+ "content": "Type Something...",
285
+ "position": { "x": 179.83, "y": 215.39 },
286
+ "width": 35.98,
287
+ "height": 5.03,
288
+ "rotate": 0,
289
+ "alignment": "left",
290
+ "verticalAlignment": "top",
291
+ "fontSize": 10,
292
+ "lineHeight": 1,
293
+ "characterSpacing": 0,
294
+ "fontColor": "#000000",
295
+ "fontName": "Roboto",
296
+ "backgroundColor": "",
297
+ "opacity": 1,
298
+ "strikethrough": false,
299
+ "underline": false,
300
+ "required": false,
301
+ "readOnly": false
302
+ },
303
+ {
304
+ "name": "change_in_accounting_period",
305
+ "type": "image",
306
+ "position": { "x": 22.18, "y": 191.19 },
307
+ "width": 3.7,
308
+ "height": 3.17,
309
+ "rotate": 0,
310
+ "opacity": 1,
311
+ "required": false,
312
+ "readOnly": false,
313
+ "content": ""
314
+ },
315
+ {
316
+ "name": "initial_return",
317
+ "type": "image",
318
+ "position": { "x": 131.36, "y": 186.43 },
319
+ "width": 4.23,
320
+ "height": 3.44,
321
+ "rotate": 0,
322
+ "opacity": 1,
323
+ "required": false,
324
+ "readOnly": false,
325
+ "content": ""
326
+ },
327
+ {
328
+ "name": "consolidated_return",
329
+ "type": "image",
330
+ "position": { "x": 75.04, "y": 190.14 },
331
+ "width": 4.76,
332
+ "height": 4.76,
333
+ "rotate": 0,
334
+ "opacity": 1,
335
+ "required": false,
336
+ "readOnly": false,
337
+ "content": ""
338
+ },
339
+ {
340
+ "name": "other",
341
+ "type": "image",
342
+ "position": { "x": 130.77, "y": 190.3 },
343
+ "width": 5.29,
344
+ "height": 4.76,
345
+ "rotate": 0,
346
+ "opacity": 1,
347
+ "required": false,
348
+ "readOnly": false,
349
+ "content": ""
350
+ },
351
+ {
352
+ "name": "final_return",
353
+ "type": "image",
354
+ "position": { "x": 161.31, "y": 186.3 },
355
+ "width": 5.03,
356
+ "height": 4.23,
357
+ "rotate": 0,
358
+ "opacity": 1,
359
+ "required": false,
360
+ "readOnly": false,
361
+ "content": ""
362
+ },
363
+ {
364
+ "name": "taxStartYear_date",
365
+ "type": "text",
366
+ "content": "...",
367
+ "position": { "x": 116.14, "y": 182.41 },
368
+ "width": 17.99,
369
+ "height": 3.97,
370
+ "rotate": 0,
371
+ "alignment": "center",
372
+ "verticalAlignment": "top",
373
+ "fontSize": 10,
374
+ "lineHeight": 1,
375
+ "characterSpacing": 0,
376
+ "fontColor": "#000000",
377
+ "fontName": "Roboto",
378
+ "backgroundColor": "",
379
+ "opacity": 1,
380
+ "strikethrough": false,
381
+ "underline": false,
382
+ "required": false,
383
+ "readOnly": false
384
+ },
385
+ {
386
+ "name": "start_year",
387
+ "type": "text",
388
+ "content": "Typ...",
389
+ "position": { "x": 141.61, "y": 182.33 },
390
+ "width": 7.14,
391
+ "height": 4.23,
392
+ "rotate": 0,
393
+ "alignment": "left",
394
+ "verticalAlignment": "top",
395
+ "fontSize": 10,
396
+ "lineHeight": 1,
397
+ "characterSpacing": 0,
398
+ "fontColor": "#000000",
399
+ "fontName": "Roboto",
400
+ "backgroundColor": "",
401
+ "opacity": 1,
402
+ "strikethrough": false,
403
+ "underline": false,
404
+ "required": false,
405
+ "readOnly": false
406
+ },
407
+ {
408
+ "name": "taxEndYear_date",
409
+ "type": "text",
410
+ "content": "Type...",
411
+ "position": { "x": 165.51, "y": 181.63 },
412
+ "width": 23.02,
413
+ "height": 5.03,
414
+ "rotate": 0,
415
+ "alignment": "center",
416
+ "verticalAlignment": "top",
417
+ "fontSize": 10,
418
+ "lineHeight": 1,
419
+ "characterSpacing": 0,
420
+ "fontColor": "#000000",
421
+ "fontName": "Roboto",
422
+ "backgroundColor": "",
423
+ "opacity": 1,
424
+ "strikethrough": false,
425
+ "underline": false,
426
+ "required": false,
427
+ "readOnly": false
428
+ },
429
+ {
430
+ "name": "end_year",
431
+ "type": "text",
432
+ "content": "Type...",
433
+ "position": { "x": 195.0136, "y": 182.3 },
434
+ "width": 19.31,
435
+ "height": 3.97,
436
+ "rotate": 0,
437
+ "alignment": "left",
438
+ "verticalAlignment": "top",
439
+ "fontSize": 10,
440
+ "lineHeight": 1,
441
+ "characterSpacing": 0,
442
+ "fontColor": "#000000",
443
+ "fontName": "Roboto",
444
+ "backgroundColor": "",
445
+ "opacity": 1,
446
+ "strikethrough": false,
447
+ "underline": false,
448
+ "required": false,
449
+ "readOnly": false
450
+ },
451
+ {
452
+ "name": "calender_year",
453
+ "type": "text",
454
+ "content": "...",
455
+ "position": { "x": 77.86, "y": 181.82 },
456
+ "width": 6.61,
457
+ "height": 4.76,
458
+ "rotate": 0,
459
+ "alignment": "left",
460
+ "verticalAlignment": "top",
461
+ "fontSize": 10,
462
+ "lineHeight": 1,
463
+ "characterSpacing": 0,
464
+ "fontColor": "#000000",
465
+ "fontName": "Roboto",
466
+ "backgroundColor": "",
467
+ "opacity": 1,
468
+ "strikethrough": false,
469
+ "underline": false,
470
+ "required": false,
471
+ "readOnly": false
472
+ }
473
+ ]
474
+ ]
@@ -0,0 +1,61 @@
1
+ import { AddressDto } from "../../types/common.dto";
2
+ export declare enum FilingStatus {
3
+ Single = "single",
4
+ Married = "married_jointly",
5
+ HeadOfHousehold = "head_of_household"
6
+ }
7
+ export declare enum MultipleJobsOption {
8
+ UseWorksheet = "use_worksheet",
9
+ UseEstimator = "use_estimator",
10
+ TwoJobsOnly = "two_jobs_only"
11
+ }
12
+ export declare class W4FormDataDto {
13
+ firstName: string;
14
+ lastName: string;
15
+ ssn: string;
16
+ address: AddressDto;
17
+ filingStatus: string[];
18
+ multipleJobsOption?: string;
19
+ qualifyingChildrenAmount?: number;
20
+ otherDependentsAmount?: number;
21
+ totalDependentsAmount?: number;
22
+ otherIncome?: number;
23
+ deductions?: number;
24
+ extraWithholding?: number;
25
+ signature: string;
26
+ signatureDate: string;
27
+ employerName?: string;
28
+ employerAddress?: AddressDto;
29
+ firstDateOfEmployment?: string;
30
+ ein?: string;
31
+ hasCapacityToSign?: boolean;
32
+ twoJobsAmount?: number;
33
+ threeJobsLine2a?: number;
34
+ threeJobsLine2b?: number;
35
+ threeJobsLine2c?: number;
36
+ payPeriodsPerYear?: number;
37
+ additionalWithholdingPerPayPeriod?: number;
38
+ line1aQualifiedTips?: number;
39
+ line1bOvertimeCompensation?: number;
40
+ line1cVehicleLoanInterest?: number;
41
+ line2Total?: number;
42
+ line3aSeniorSelf?: number;
43
+ line3bSeniorSpouse?: number;
44
+ line4SeniorTotal?: number;
45
+ line5StudentLoanIRA?: number;
46
+ line6aMedicalExpenses?: number;
47
+ line6bStateTaxes?: number;
48
+ line6cMortgageInterest?: number;
49
+ line6dCasualtyLosses?: number;
50
+ line6eOtherItemized?: number;
51
+ line7ItemizedTotal?: number;
52
+ line8aTotalIncome?: number;
53
+ line8bIncomeMinusSenior?: number;
54
+ line9FilingThreshold?: number;
55
+ line10ItemizedResult?: number;
56
+ line11StandardDeduction?: number;
57
+ line12CharityGifts?: number;
58
+ line13StandardPlusCharity?: number;
59
+ line14DeductionsDifference?: number;
60
+ line15TotalDeductions?: number;
61
+ }