@ottoai/documents 1.3.12 → 1.4.2

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,456 @@
1
+ [
2
+ {
3
+ "name": "name",
4
+ "type": "text",
5
+ "content": "",
6
+ "position": { "x": 23.14, "y": 83.33 },
7
+ "width": 101.8,
8
+ "height": 5,
9
+ "rotate": 0,
10
+ "alignment": "left",
11
+ "verticalAlignment": "top",
12
+ "fontSize": 11,
13
+ "lineHeight": 1,
14
+ "characterSpacing": 0,
15
+ "fontColor": "#000000",
16
+ "backgroundColor": "",
17
+ "opacity": 1,
18
+ "strikethrough": false,
19
+ "underline": false,
20
+ "required": true,
21
+ "readOnly": false,
22
+ "fontName": "Roboto"
23
+ },
24
+ {
25
+ "name": "country_of_citizenship",
26
+ "type": "text",
27
+ "content": "",
28
+ "position": { "x": 140.04, "y": 83.59 },
29
+ "width": 54.3,
30
+ "height": 5,
31
+ "rotate": 0,
32
+ "alignment": "left",
33
+ "verticalAlignment": "top",
34
+ "fontSize": 11,
35
+ "lineHeight": 1,
36
+ "characterSpacing": 0,
37
+ "fontColor": "#000000",
38
+ "backgroundColor": "",
39
+ "opacity": 1,
40
+ "strikethrough": false,
41
+ "underline": false,
42
+ "required": true,
43
+ "readOnly": false,
44
+ "fontName": "Roboto"
45
+ },
46
+ {
47
+ "name": "permanent_address_line_1",
48
+ "type": "text",
49
+ "content": "",
50
+ "position": { "x": 23.01, "y": 92.13 },
51
+ "width": 179.65,
52
+ "height": 5.03,
53
+ "rotate": 0,
54
+ "alignment": "left",
55
+ "verticalAlignment": "top",
56
+ "fontSize": 11,
57
+ "lineHeight": 1,
58
+ "characterSpacing": 0,
59
+ "fontColor": "#000000",
60
+ "backgroundColor": "",
61
+ "opacity": 1,
62
+ "strikethrough": false,
63
+ "underline": false,
64
+ "required": true,
65
+ "readOnly": false,
66
+ "fontName": "Roboto"
67
+ },
68
+ {
69
+ "name": "permanent_city_state_zip",
70
+ "type": "text",
71
+ "content": "",
72
+ "position": { "x": 23.01, "y": 100.86 },
73
+ "width": 122.16,
74
+ "height": 5,
75
+ "rotate": 0,
76
+ "alignment": "left",
77
+ "verticalAlignment": "top",
78
+ "fontSize": 11,
79
+ "lineHeight": 1,
80
+ "characterSpacing": 0,
81
+ "fontColor": "#000000",
82
+ "backgroundColor": "",
83
+ "opacity": 1,
84
+ "strikethrough": false,
85
+ "underline": false,
86
+ "required": true,
87
+ "readOnly": false,
88
+ "fontName": "Roboto"
89
+ },
90
+ {
91
+ "name": "permanent_country",
92
+ "type": "text",
93
+ "content": "",
94
+ "position": { "x": 157.2, "y": 100.21 },
95
+ "width": 43.92,
96
+ "height": 5.03,
97
+ "rotate": 0,
98
+ "alignment": "left",
99
+ "verticalAlignment": "top",
100
+ "fontSize": 11,
101
+ "lineHeight": 1,
102
+ "characterSpacing": 0,
103
+ "fontColor": "#000000",
104
+ "backgroundColor": "",
105
+ "opacity": 1,
106
+ "strikethrough": false,
107
+ "underline": false,
108
+ "required": true,
109
+ "readOnly": false,
110
+ "fontName": "Roboto"
111
+ },
112
+ {
113
+ "name": "mailing_address_line_1",
114
+ "type": "text",
115
+ "content": "",
116
+ "position": { "x": 22.74, "y": 109.33 },
117
+ "width": 179.12,
118
+ "height": 5.03,
119
+ "rotate": 0,
120
+ "alignment": "left",
121
+ "verticalAlignment": "top",
122
+ "fontSize": 11,
123
+ "lineHeight": 1,
124
+ "characterSpacing": 0,
125
+ "fontColor": "#000000",
126
+ "backgroundColor": "",
127
+ "opacity": 1,
128
+ "strikethrough": false,
129
+ "underline": false,
130
+ "required": false,
131
+ "readOnly": false,
132
+ "fontName": "Roboto"
133
+ },
134
+ {
135
+ "name": "mailing_city_state_zip",
136
+ "type": "text",
137
+ "content": "",
138
+ "position": { "x": 22.74, "y": 117.28 },
139
+ "width": 122.16,
140
+ "height": 5,
141
+ "rotate": 0,
142
+ "alignment": "left",
143
+ "verticalAlignment": "top",
144
+ "fontSize": 11,
145
+ "lineHeight": 1,
146
+ "characterSpacing": 0,
147
+ "fontColor": "#000000",
148
+ "backgroundColor": "",
149
+ "opacity": 1,
150
+ "strikethrough": false,
151
+ "underline": false,
152
+ "required": false,
153
+ "readOnly": false,
154
+ "fontName": "Roboto"
155
+ },
156
+ {
157
+ "name": "mailing_country",
158
+ "type": "text",
159
+ "content": "",
160
+ "position": { "x": 156.99, "y": 117.2 },
161
+ "width": 43.92,
162
+ "height": 5.03,
163
+ "rotate": 0,
164
+ "alignment": "left",
165
+ "verticalAlignment": "top",
166
+ "fontSize": 11,
167
+ "lineHeight": 1,
168
+ "characterSpacing": 0,
169
+ "fontColor": "#000000",
170
+ "backgroundColor": "",
171
+ "opacity": 1,
172
+ "strikethrough": false,
173
+ "underline": false,
174
+ "required": false,
175
+ "readOnly": false,
176
+ "fontName": "Roboto"
177
+ },
178
+ {
179
+ "name": "us_taxpayer_id_number",
180
+ "type": "text",
181
+ "content": "",
182
+ "position": { "x": 22.92, "y": 126.01 },
183
+ "width": 178.59,
184
+ "height": 5.03,
185
+ "rotate": 0,
186
+ "alignment": "left",
187
+ "verticalAlignment": "top",
188
+ "fontSize": 11,
189
+ "lineHeight": 1,
190
+ "characterSpacing": 0,
191
+ "fontColor": "#000000",
192
+ "backgroundColor": "",
193
+ "opacity": 1,
194
+ "strikethrough": false,
195
+ "underline": false,
196
+ "required": false,
197
+ "readOnly": false,
198
+ "fontName": "Roboto"
199
+ },
200
+ {
201
+ "name": "foreign_tax_id_number",
202
+ "type": "text",
203
+ "content": "",
204
+ "position": { "x": 23.08, "y": 135.01 },
205
+ "width": 69.32,
206
+ "height": 5.03,
207
+ "rotate": 0,
208
+ "alignment": "left",
209
+ "verticalAlignment": "top",
210
+ "fontSize": 11,
211
+ "lineHeight": 1,
212
+ "characterSpacing": 0,
213
+ "fontColor": "#000000",
214
+ "backgroundColor": "",
215
+ "opacity": 1,
216
+ "strikethrough": false,
217
+ "underline": false,
218
+ "required": false,
219
+ "readOnly": false,
220
+ "fontName": "Roboto"
221
+ },
222
+ {
223
+ "name": "ftin_not_required_checkbox",
224
+ "type": "image",
225
+ "position": { "x": 196.87, "y": 130.77 },
226
+ "required": false,
227
+ "width": 6.88,
228
+ "height": 5.56,
229
+ "rotate": 0,
230
+ "opacity": 1,
231
+ "readOnly": false,
232
+ "content": ""
233
+ },
234
+ {
235
+ "name": "reference_number",
236
+ "type": "text",
237
+ "content": "",
238
+ "position": { "x": 23.45, "y": 142.95 },
239
+ "width": 73.55,
240
+ "height": 5.03,
241
+ "rotate": 0,
242
+ "alignment": "left",
243
+ "verticalAlignment": "top",
244
+ "fontSize": 11,
245
+ "lineHeight": 1,
246
+ "characterSpacing": 0,
247
+ "fontColor": "#000000",
248
+ "backgroundColor": "",
249
+ "opacity": 1,
250
+ "strikethrough": false,
251
+ "underline": false,
252
+ "required": false,
253
+ "readOnly": false,
254
+ "fontName": "Roboto"
255
+ },
256
+ {
257
+ "name": "date_of_birth",
258
+ "type": "text",
259
+ "content": "",
260
+ "position": { "x": 110.85, "y": 142.95 },
261
+ "width": 61.12,
262
+ "height": 5.03,
263
+ "rotate": 0,
264
+ "alignment": "center",
265
+ "verticalAlignment": "top",
266
+ "fontSize": 11,
267
+ "lineHeight": 1,
268
+ "characterSpacing": 0,
269
+ "fontColor": "#000000",
270
+ "backgroundColor": "",
271
+ "opacity": 1,
272
+ "strikethrough": false,
273
+ "underline": false,
274
+ "required": true,
275
+ "readOnly": false,
276
+ "fontName": "Roboto"
277
+ },
278
+ {
279
+ "name": "treaty_country",
280
+ "type": "text",
281
+ "content": "",
282
+ "position": { "x": 86.21, "y": 152.48 },
283
+ "width": 68,
284
+ "height": 4.5,
285
+ "rotate": 0,
286
+ "alignment": "left",
287
+ "verticalAlignment": "top",
288
+ "fontSize": 11,
289
+ "lineHeight": 1,
290
+ "characterSpacing": 0,
291
+ "fontColor": "#000000",
292
+ "backgroundColor": "",
293
+ "opacity": 1,
294
+ "strikethrough": false,
295
+ "underline": false,
296
+ "required": false,
297
+ "readOnly": false,
298
+ "fontName": "Roboto"
299
+ },
300
+ {
301
+ "name": "treaty_article_paragraph",
302
+ "type": "text",
303
+ "content": "",
304
+ "position": { "x": 23.5, "y": 164.34 },
305
+ "width": 37.31,
306
+ "height": 4.5,
307
+ "rotate": 0,
308
+ "alignment": "center",
309
+ "verticalAlignment": "top",
310
+ "fontSize": 11,
311
+ "lineHeight": 1,
312
+ "characterSpacing": 0,
313
+ "fontColor": "#000000",
314
+ "backgroundColor": "",
315
+ "opacity": 1,
316
+ "strikethrough": false,
317
+ "underline": false,
318
+ "required": false,
319
+ "readOnly": false,
320
+ "fontName": "Roboto"
321
+ },
322
+ {
323
+ "name": "withholding_rate",
324
+ "type": "text",
325
+ "content": "",
326
+ "position": { "x": 124.09, "y": 164.87 },
327
+ "width": 9.52,
328
+ "height": 4.5,
329
+ "rotate": 0,
330
+ "alignment": "center",
331
+ "verticalAlignment": "top",
332
+ "fontSize": 11,
333
+ "lineHeight": 1,
334
+ "characterSpacing": 0,
335
+ "fontColor": "#000000",
336
+ "backgroundColor": "",
337
+ "opacity": 1,
338
+ "strikethrough": false,
339
+ "underline": false,
340
+ "required": false,
341
+ "readOnly": false,
342
+ "fontName": "Roboto"
343
+ },
344
+ {
345
+ "name": "income_type",
346
+ "type": "text",
347
+ "content": "",
348
+ "position": { "x": 23.54, "y": 169.31 },
349
+ "width": 175.68,
350
+ "height": 4.76,
351
+ "rotate": 0,
352
+ "alignment": "left",
353
+ "verticalAlignment": "top",
354
+ "fontSize": 11,
355
+ "lineHeight": 1,
356
+ "characterSpacing": 0,
357
+ "fontColor": "#000000",
358
+ "backgroundColor": "",
359
+ "opacity": 1,
360
+ "strikethrough": false,
361
+ "underline": false,
362
+ "required": false,
363
+ "readOnly": false,
364
+ "fontName": "Roboto"
365
+ },
366
+ {
367
+ "name": "additional_conditions",
368
+ "type": "text",
369
+ "content": "",
370
+ "position": { "x": 184.69, "y": 174.02 },
371
+ "width": 24.61,
372
+ "height": 4.5,
373
+ "rotate": 0,
374
+ "alignment": "left",
375
+ "verticalAlignment": "top",
376
+ "fontSize": 9,
377
+ "lineHeight": 1.2,
378
+ "characterSpacing": 0,
379
+ "fontColor": "#000000",
380
+ "backgroundColor": "",
381
+ "opacity": 1,
382
+ "strikethrough": false,
383
+ "underline": false,
384
+ "required": false,
385
+ "readOnly": false,
386
+ "fontName": "Roboto"
387
+ },
388
+ {
389
+ "name": "signature",
390
+ "type": "image",
391
+ "position": { "x": 66.84, "y": 242.59 },
392
+ "width": 77.79,
393
+ "height": 11.91,
394
+ "rotate": 0,
395
+ "opacity": 1,
396
+ "required": true,
397
+ "readOnly": false,
398
+ "content": ""
399
+ },
400
+ {
401
+ "name": "signature_date",
402
+ "type": "text",
403
+ "content": "",
404
+ "position": { "x": 157.41, "y": 248.12 },
405
+ "width": 43.66,
406
+ "height": 5.03,
407
+ "rotate": 0,
408
+ "alignment": "center",
409
+ "verticalAlignment": "top",
410
+ "fontSize": 11,
411
+ "lineHeight": 1,
412
+ "characterSpacing": 0,
413
+ "fontColor": "#000000",
414
+ "backgroundColor": "",
415
+ "opacity": 1,
416
+ "strikethrough": false,
417
+ "underline": false,
418
+ "required": true,
419
+ "readOnly": false,
420
+ "fontName": "Roboto"
421
+ },
422
+ {
423
+ "name": "signer_name",
424
+ "type": "text",
425
+ "content": "",
426
+ "position": { "x": 39.69, "y": 257.04 },
427
+ "width": 81.44,
428
+ "height": 5,
429
+ "rotate": 0,
430
+ "alignment": "left",
431
+ "verticalAlignment": "top",
432
+ "fontSize": 11,
433
+ "lineHeight": 1,
434
+ "characterSpacing": 0,
435
+ "fontColor": "#000000",
436
+ "backgroundColor": "",
437
+ "opacity": 1,
438
+ "strikethrough": false,
439
+ "underline": false,
440
+ "required": true,
441
+ "readOnly": false,
442
+ "fontName": "Roboto"
443
+ },
444
+ {
445
+ "name": "capacity_checkbox",
446
+ "type": "image",
447
+ "position": { "x": 37.92, "y": 240.64 },
448
+ "required": false,
449
+ "width": 5.03,
450
+ "height": 6.09,
451
+ "rotate": 0,
452
+ "opacity": 1,
453
+ "readOnly": false,
454
+ "content": ""
455
+ }
456
+ ]
@@ -1,9 +1,12 @@
1
1
  import { formW9 } from "./form-w9";
2
2
  import { form1099 } from "./form-1099";
3
+ import { formW8Ben } from "./form-w8ben";
3
4
  import { W9FormDataDto, AddressDto, RequesterDto } from "./form-w9/form.dto";
4
5
  import { Form1099Dto } from "./form-1099/form.dto";
6
+ import { W8BenFormDataDto } from "./form-w8ben/form.dto";
5
7
  declare enum SupportedFormTypes {
6
8
  FORM_W9 = "form_w9",
7
- FORM_1099 = "form_1099"
9
+ FORM_1099 = "form_1099",
10
+ FORM_W8BEN = "form_w8ben"
8
11
  }
9
- export { formW9, form1099, SupportedFormTypes, W9FormDataDto, AddressDto, RequesterDto, Form1099Dto, };
12
+ export { formW9, form1099, formW8Ben, SupportedFormTypes, AddressDto, RequesterDto, W9FormDataDto, Form1099Dto, W8BenFormDataDto, };
@@ -1,19 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Form1099Dto = exports.RequesterDto = exports.AddressDto = exports.W9FormDataDto = exports.SupportedFormTypes = exports.form1099 = exports.formW9 = void 0;
3
+ exports.W8BenFormDataDto = exports.Form1099Dto = exports.W9FormDataDto = exports.RequesterDto = exports.AddressDto = exports.SupportedFormTypes = exports.formW8Ben = exports.form1099 = exports.formW9 = void 0;
4
4
  const form_w9_1 = require("./form-w9");
5
5
  Object.defineProperty(exports, "formW9", { enumerable: true, get: function () { return form_w9_1.formW9; } });
6
6
  const form_1099_1 = require("./form-1099");
7
7
  Object.defineProperty(exports, "form1099", { enumerable: true, get: function () { return form_1099_1.form1099; } });
8
+ const form_w8ben_1 = require("./form-w8ben");
9
+ Object.defineProperty(exports, "formW8Ben", { enumerable: true, get: function () { return form_w8ben_1.formW8Ben; } });
8
10
  const form_dto_1 = require("./form-w9/form.dto");
9
11
  Object.defineProperty(exports, "W9FormDataDto", { enumerable: true, get: function () { return form_dto_1.W9FormDataDto; } });
10
12
  Object.defineProperty(exports, "AddressDto", { enumerable: true, get: function () { return form_dto_1.AddressDto; } });
11
13
  Object.defineProperty(exports, "RequesterDto", { enumerable: true, get: function () { return form_dto_1.RequesterDto; } });
12
14
  const form_dto_2 = require("./form-1099/form.dto");
13
15
  Object.defineProperty(exports, "Form1099Dto", { enumerable: true, get: function () { return form_dto_2.Form1099Dto; } });
16
+ const form_dto_3 = require("./form-w8ben/form.dto");
17
+ Object.defineProperty(exports, "W8BenFormDataDto", { enumerable: true, get: function () { return form_dto_3.W8BenFormDataDto; } });
14
18
  var SupportedFormTypes;
15
19
  (function (SupportedFormTypes) {
16
20
  SupportedFormTypes["FORM_W9"] = "form_w9";
17
21
  SupportedFormTypes["FORM_1099"] = "form_1099";
22
+ SupportedFormTypes["FORM_W8BEN"] = "form_w8ben";
18
23
  })(SupportedFormTypes || (exports.SupportedFormTypes = SupportedFormTypes = {}));
19
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/create/pdf/united-states/index.ts"],"names":[],"mappings":";;;AAAA,uCAAmC;AAWjC,uFAXO,gBAAM,OAWP;AAVR,2CAAuC;AAWrC,yFAXO,oBAAQ,OAWP;AAVV,iDAA6E;AAY3E,8FAZO,wBAAa,OAYP;AACb,2FAbsB,qBAAU,OAatB;AACV,6FAdkC,uBAAY,OAclC;AAbd,mDAAmD;AAcjD,4FAdO,sBAAW,OAcP;AAZb,IAAK,kBAGJ;AAHD,WAAK,kBAAkB;IACrB,yCAAmB,CAAA;IACnB,6CAAuB,CAAA;AACzB,CAAC,EAHI,kBAAkB,kCAAlB,kBAAkB,QAGtB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/create/pdf/united-states/index.ts"],"names":[],"mappings":";;;AAAA,uCAAmC;AAcjC,uFAdO,gBAAM,OAcP;AAbR,2CAAuC;AAcrC,yFAdO,oBAAQ,OAcP;AAbV,6CAAyC;AAcvC,0FAdO,sBAAS,OAcP;AAbX,iDAA6E;AAiB3E,8FAjBO,wBAAa,OAiBP;AAFb,2FAfsB,qBAAU,OAetB;AACV,6FAhBkC,uBAAY,OAgBlC;AAfd,mDAAmD;AAiBjD,4FAjBO,sBAAW,OAiBP;AAhBb,oDAAyD;AAiBvD,iGAjBO,2BAAgB,OAiBP;AAflB,IAAK,kBAIJ;AAJD,WAAK,kBAAkB;IACrB,yCAAmB,CAAA;IACnB,6CAAuB,CAAA;IACvB,+CAAyB,CAAA;AAC3B,CAAC,EAJI,kBAAkB,kCAAlB,kBAAkB,QAItB"}