groupdocs-parser-cloud 23.10.0 → 26.2.0
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.
- package/LICENSE +1 -1
- package/lib/{api_client.d.ts → src/api_client.d.ts} +17 -17
- package/lib/{api_client.js → src/api_client.js} +135 -125
- package/lib/{api_error.d.ts → src/api_error.d.ts} +56 -56
- package/lib/{api_error.js → src/api_error.js} +81 -80
- package/lib/{auth.d.ts → src/auth.d.ts} +23 -22
- package/lib/{auth.js → src/auth.js} +96 -71
- package/lib/{configuration.d.ts → src/configuration.d.ts} +39 -39
- package/lib/{configuration.js → src/configuration.js} +56 -55
- package/lib/{model.d.ts → src/model.d.ts} +2248 -2206
- package/lib/{model.js → src/model.js} +2216 -2169
- package/lib/{package_version.d.ts → src/package_version.d.ts} +4 -4
- package/lib/{package_version.js → src/package_version.js} +30 -29
- package/lib/{parser_api.d.ts → src/parser_api.d.ts} +274 -270
- package/lib/{parser_api.js → src/parser_api.js} +930 -893
- package/lib/{serializer.d.ts → src/serializer.d.ts} +14 -14
- package/lib/{serializer.js → src/serializer.js} +171 -170
- package/lib/test/api/test_auth_api.d.ts +1 -0
- package/lib/test/api/test_auth_api.js +45 -0
- package/lib/test/api/test_barcode_api.d.ts +1 -0
- package/lib/test/api/test_barcode_api.js +64 -0
- package/lib/test/api/test_file_api.d.ts +1 -0
- package/lib/test/api/test_file_api.js +95 -0
- package/lib/test/api/test_folder_api.d.ts +1 -0
- package/lib/test/api/test_folder_api.js +84 -0
- package/lib/test/api/test_formats_api.d.ts +1 -0
- package/lib/test/api/test_formats_api.js +60 -0
- package/lib/test/api/test_parser_container_api.d.ts +1 -0
- package/lib/test/api/test_parser_container_api.js +134 -0
- package/lib/test/api/test_parser_image_api.d.ts +1 -0
- package/lib/test/api/test_parser_image_api.js +179 -0
- package/lib/test/api/test_parser_info_api.d.ts +1 -0
- package/lib/test/api/test_parser_info_api.js +112 -0
- package/lib/test/api/test_parser_parse_api.d.ts +1 -0
- package/lib/test/api/test_parser_parse_api.js +184 -0
- package/lib/test/api/test_parser_template_api.d.ts +1 -0
- package/lib/test/api/test_parser_template_api.js +168 -0
- package/lib/test/api/test_parser_text_api.d.ts +1 -0
- package/lib/test/api/test_parser_text_api.js +180 -0
- package/lib/test/api/test_storage_api.d.ts +1 -0
- package/lib/test/api/test_storage_api.js +76 -0
- package/lib/test/test_context.d.ts +30 -0
- package/lib/test/test_context.js +156 -0
- package/lib/test/test_coverage.d.ts +1 -0
- package/lib/test/test_coverage.js +77 -0
- package/lib/test/test_file.d.ts +50 -0
- package/lib/test/test_file.js +92 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/package.json +16 -14
|
@@ -1,2169 +1,2216 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* The MIT License (MIT)
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c)
|
|
6
|
-
*
|
|
7
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
* in the Software without restriction, including without limitation the rights
|
|
10
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
* furnished to do so, subject to the following conditions:
|
|
13
|
-
*
|
|
14
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
15
|
-
* copies or substantial portions of the Software.
|
|
16
|
-
*
|
|
17
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
-
* SOFTWARE.
|
|
24
|
-
*/
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
BarcodePage.attributeTypeMap
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
{
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
{
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
{
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
{
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
{
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
{
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
{
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
{
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
{
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
{
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
{
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
{
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
{
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
{
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
{
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
{
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
{
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
{
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
{
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
{
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
{
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
{
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
{
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
{
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
{
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
{
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
{
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
{
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
{
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
{
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
{
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
{
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
{
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
{
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
{
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
{
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
{
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
{
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
{
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
{
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
{
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
{
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
{
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
{
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
{
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
/**
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
{
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
{
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
this.
|
|
1980
|
-
this.
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
this.
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
this.
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
}
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
this.
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
this.
|
|
2167
|
-
}
|
|
2168
|
-
}
|
|
2169
|
-
exports.
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* The MIT License (MIT)
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Aspose Pty Ltd
|
|
6
|
+
*
|
|
7
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
* in the Software without restriction, including without limitation the rights
|
|
10
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
* furnished to do so, subject to the following conditions:
|
|
13
|
+
*
|
|
14
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
* copies or substantial portions of the Software.
|
|
16
|
+
*
|
|
17
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
* SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.BarcodesOptions = exports.AIParseOptions = exports.TextStyle = exports.TextResult = exports.TextPage = exports.TemplateResult = exports.TemplateOptions = exports.Template = exports.TableLayout = exports.Table = exports.StorageFile = exports.StorageExist = exports.Size = exports.Rectangle = exports.Point = exports.ParserOptions = exports.ParseResult = exports.PageTextArea = exports.PageTableAreaCell = exports.PageTableArea = exports.PageArea = exports.Page = exports.ObjectExist = exports.ModelError = exports.InfoResult = exports.ImagesResult = exports.ImagePage = exports.Image = exports.FormattedTextOptions = exports.FormatsResult = exports.Format = exports.FilesUploadResult = exports.FilesList = exports.FileVersions = exports.FileType = exports.FileInfo = exports.FieldPosition = exports.FieldData = exports.Field = exports.ErrorDetails = exports.DiscUsage = exports.DetectorParameters = exports.CreateTemplateOptions = exports.Coordinates = exports.ContainerResult = exports.ContainerItemInfo = exports.ContainerItem = exports.BarcodesResult = exports.BarcodePage = exports.Barcode = void 0;
|
|
27
|
+
exports.GetTemplateRequest = exports.DeleteTemplateRequest = exports.CreateTemplateRequest = exports.StorageExistsRequest = exports.ObjectExistsRequest = exports.GetFileVersionsRequest = exports.GetDiscUsageRequest = exports.TextRequest = exports.ParseRequest = exports.ImagesRequest = exports.BarcodesRequest = exports.AIParseRequest = exports.GetInfoRequest = exports.ContainerRequest = exports.MoveFolderRequest = exports.GetFilesListRequest = exports.DeleteFolderRequest = exports.CreateFolderRequest = exports.CopyFolderRequest = exports.UploadFileRequest = exports.MoveFileRequest = exports.DownloadFileRequest = exports.DeleteFileRequest = exports.CopyFileRequest = exports.typeMap = exports.enumsMap = exports.TextOptions = exports.ParseOptions = exports.InfoOptions = exports.ImagesOptions = exports.FileVersion = exports.ContainerOptions = void 0;
|
|
28
|
+
/**
|
|
29
|
+
* Represents an barcode.
|
|
30
|
+
*/
|
|
31
|
+
class Barcode {
|
|
32
|
+
/**
|
|
33
|
+
* Returns attribute type map
|
|
34
|
+
*/
|
|
35
|
+
static getAttributeTypeMap() {
|
|
36
|
+
return Barcode.attributeTypeMap;
|
|
37
|
+
}
|
|
38
|
+
constructor(init) {
|
|
39
|
+
Object.assign(this, init);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.Barcode = Barcode;
|
|
43
|
+
/**
|
|
44
|
+
* Attribute type map
|
|
45
|
+
*/
|
|
46
|
+
Barcode.attributeTypeMap = [
|
|
47
|
+
{
|
|
48
|
+
name: "codeTypeName",
|
|
49
|
+
baseName: "codeTypeName",
|
|
50
|
+
type: "string",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: "page",
|
|
54
|
+
baseName: "page",
|
|
55
|
+
type: "BarcodePage",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "rectangle",
|
|
59
|
+
baseName: "rectangle",
|
|
60
|
+
type: "Rectangle",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "value",
|
|
64
|
+
baseName: "value",
|
|
65
|
+
type: "string",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: "downloadUrl",
|
|
69
|
+
baseName: "downloadUrl",
|
|
70
|
+
type: "string",
|
|
71
|
+
}
|
|
72
|
+
];
|
|
73
|
+
class BarcodePage {
|
|
74
|
+
/**
|
|
75
|
+
* Returns attribute type map
|
|
76
|
+
*/
|
|
77
|
+
static getAttributeTypeMap() {
|
|
78
|
+
return BarcodePage.attributeTypeMap;
|
|
79
|
+
}
|
|
80
|
+
constructor(init) {
|
|
81
|
+
Object.assign(this, init);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.BarcodePage = BarcodePage;
|
|
85
|
+
/**
|
|
86
|
+
* Attribute type map
|
|
87
|
+
*/
|
|
88
|
+
BarcodePage.attributeTypeMap = [
|
|
89
|
+
{
|
|
90
|
+
name: "index",
|
|
91
|
+
baseName: "index",
|
|
92
|
+
type: "number",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: "size",
|
|
96
|
+
baseName: "size",
|
|
97
|
+
type: "Size",
|
|
98
|
+
}
|
|
99
|
+
];
|
|
100
|
+
class BarcodesResult {
|
|
101
|
+
/**
|
|
102
|
+
* Returns attribute type map
|
|
103
|
+
*/
|
|
104
|
+
static getAttributeTypeMap() {
|
|
105
|
+
return BarcodesResult.attributeTypeMap;
|
|
106
|
+
}
|
|
107
|
+
constructor(init) {
|
|
108
|
+
Object.assign(this, init);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.BarcodesResult = BarcodesResult;
|
|
112
|
+
/**
|
|
113
|
+
* Attribute type map
|
|
114
|
+
*/
|
|
115
|
+
BarcodesResult.attributeTypeMap = [
|
|
116
|
+
{
|
|
117
|
+
name: "barcodes",
|
|
118
|
+
baseName: "barcodes",
|
|
119
|
+
type: "Array<Barcode>",
|
|
120
|
+
}
|
|
121
|
+
];
|
|
122
|
+
/**
|
|
123
|
+
* Represents a container item like Zip archive entity, email attachment, PDF Portfolio item and so on.
|
|
124
|
+
*/
|
|
125
|
+
class ContainerItem {
|
|
126
|
+
/**
|
|
127
|
+
* Returns attribute type map
|
|
128
|
+
*/
|
|
129
|
+
static getAttributeTypeMap() {
|
|
130
|
+
return ContainerItem.attributeTypeMap;
|
|
131
|
+
}
|
|
132
|
+
constructor(init) {
|
|
133
|
+
Object.assign(this, init);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.ContainerItem = ContainerItem;
|
|
137
|
+
/**
|
|
138
|
+
* Attribute type map
|
|
139
|
+
*/
|
|
140
|
+
ContainerItem.attributeTypeMap = [
|
|
141
|
+
{
|
|
142
|
+
name: "name",
|
|
143
|
+
baseName: "name",
|
|
144
|
+
type: "string",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: "filePath",
|
|
148
|
+
baseName: "filePath",
|
|
149
|
+
type: "string",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: "directory",
|
|
153
|
+
baseName: "directory",
|
|
154
|
+
type: "string",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: "metadata",
|
|
158
|
+
baseName: "metadata",
|
|
159
|
+
type: "{ [key: string]: string; }",
|
|
160
|
+
}
|
|
161
|
+
];
|
|
162
|
+
/**
|
|
163
|
+
* Container item info.
|
|
164
|
+
*/
|
|
165
|
+
class ContainerItemInfo {
|
|
166
|
+
/**
|
|
167
|
+
* Returns attribute type map
|
|
168
|
+
*/
|
|
169
|
+
static getAttributeTypeMap() {
|
|
170
|
+
return ContainerItemInfo.attributeTypeMap;
|
|
171
|
+
}
|
|
172
|
+
constructor(init) {
|
|
173
|
+
Object.assign(this, init);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
exports.ContainerItemInfo = ContainerItemInfo;
|
|
177
|
+
/**
|
|
178
|
+
* Attribute type map
|
|
179
|
+
*/
|
|
180
|
+
ContainerItemInfo.attributeTypeMap = [
|
|
181
|
+
{
|
|
182
|
+
name: "relativePath",
|
|
183
|
+
baseName: "relativePath",
|
|
184
|
+
type: "string",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
name: "password",
|
|
188
|
+
baseName: "password",
|
|
189
|
+
type: "string",
|
|
190
|
+
}
|
|
191
|
+
];
|
|
192
|
+
/**
|
|
193
|
+
* Container result.
|
|
194
|
+
*/
|
|
195
|
+
class ContainerResult {
|
|
196
|
+
/**
|
|
197
|
+
* Returns attribute type map
|
|
198
|
+
*/
|
|
199
|
+
static getAttributeTypeMap() {
|
|
200
|
+
return ContainerResult.attributeTypeMap;
|
|
201
|
+
}
|
|
202
|
+
constructor(init) {
|
|
203
|
+
Object.assign(this, init);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
exports.ContainerResult = ContainerResult;
|
|
207
|
+
/**
|
|
208
|
+
* Attribute type map
|
|
209
|
+
*/
|
|
210
|
+
ContainerResult.attributeTypeMap = [
|
|
211
|
+
{
|
|
212
|
+
name: "containerItems",
|
|
213
|
+
baseName: "containerItems",
|
|
214
|
+
type: "Array<ContainerItem>",
|
|
215
|
+
}
|
|
216
|
+
];
|
|
217
|
+
/**
|
|
218
|
+
* Class for rectangle coordinates.
|
|
219
|
+
*/
|
|
220
|
+
class Coordinates {
|
|
221
|
+
/**
|
|
222
|
+
* Returns attribute type map
|
|
223
|
+
*/
|
|
224
|
+
static getAttributeTypeMap() {
|
|
225
|
+
return Coordinates.attributeTypeMap;
|
|
226
|
+
}
|
|
227
|
+
constructor(init) {
|
|
228
|
+
Object.assign(this, init);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
exports.Coordinates = Coordinates;
|
|
232
|
+
/**
|
|
233
|
+
* Attribute type map
|
|
234
|
+
*/
|
|
235
|
+
Coordinates.attributeTypeMap = [
|
|
236
|
+
{
|
|
237
|
+
name: "top",
|
|
238
|
+
baseName: "top",
|
|
239
|
+
type: "number",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
name: "bottom",
|
|
243
|
+
baseName: "bottom",
|
|
244
|
+
type: "number",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "left",
|
|
248
|
+
baseName: "left",
|
|
249
|
+
type: "number",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: "right",
|
|
253
|
+
baseName: "right",
|
|
254
|
+
type: "number",
|
|
255
|
+
}
|
|
256
|
+
];
|
|
257
|
+
/**
|
|
258
|
+
* Template methods options.
|
|
259
|
+
*/
|
|
260
|
+
class CreateTemplateOptions {
|
|
261
|
+
/**
|
|
262
|
+
* Returns attribute type map
|
|
263
|
+
*/
|
|
264
|
+
static getAttributeTypeMap() {
|
|
265
|
+
return CreateTemplateOptions.attributeTypeMap;
|
|
266
|
+
}
|
|
267
|
+
constructor(init) {
|
|
268
|
+
Object.assign(this, init);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
exports.CreateTemplateOptions = CreateTemplateOptions;
|
|
272
|
+
/**
|
|
273
|
+
* Attribute type map
|
|
274
|
+
*/
|
|
275
|
+
CreateTemplateOptions.attributeTypeMap = [
|
|
276
|
+
{
|
|
277
|
+
name: "template",
|
|
278
|
+
baseName: "template",
|
|
279
|
+
type: "Template",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: "templatePath",
|
|
283
|
+
baseName: "templatePath",
|
|
284
|
+
type: "string",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: "storageName",
|
|
288
|
+
baseName: "storageName",
|
|
289
|
+
type: "string",
|
|
290
|
+
}
|
|
291
|
+
];
|
|
292
|
+
/**
|
|
293
|
+
* Provides parameters for the table detection algorithms.
|
|
294
|
+
*/
|
|
295
|
+
class DetectorParameters {
|
|
296
|
+
/**
|
|
297
|
+
* Returns attribute type map
|
|
298
|
+
*/
|
|
299
|
+
static getAttributeTypeMap() {
|
|
300
|
+
return DetectorParameters.attributeTypeMap;
|
|
301
|
+
}
|
|
302
|
+
constructor(init) {
|
|
303
|
+
Object.assign(this, init);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
exports.DetectorParameters = DetectorParameters;
|
|
307
|
+
/**
|
|
308
|
+
* Attribute type map
|
|
309
|
+
*/
|
|
310
|
+
DetectorParameters.attributeTypeMap = [
|
|
311
|
+
{
|
|
312
|
+
name: "minRowCount",
|
|
313
|
+
baseName: "minRowCount",
|
|
314
|
+
type: "number",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
name: "minColumnCount",
|
|
318
|
+
baseName: "minColumnCount",
|
|
319
|
+
type: "number",
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
name: "minVerticalSpace",
|
|
323
|
+
baseName: "minVerticalSpace",
|
|
324
|
+
type: "number",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: "hasMergedCells",
|
|
328
|
+
baseName: "hasMergedCells",
|
|
329
|
+
type: "boolean",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
name: "rectangle",
|
|
333
|
+
baseName: "rectangle",
|
|
334
|
+
type: "Rectangle",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
name: "verticalSeparators",
|
|
338
|
+
baseName: "verticalSeparators",
|
|
339
|
+
type: "Array<number>",
|
|
340
|
+
}
|
|
341
|
+
];
|
|
342
|
+
/**
|
|
343
|
+
* Class for disc space information.
|
|
344
|
+
*/
|
|
345
|
+
class DiscUsage {
|
|
346
|
+
/**
|
|
347
|
+
* Returns attribute type map
|
|
348
|
+
*/
|
|
349
|
+
static getAttributeTypeMap() {
|
|
350
|
+
return DiscUsage.attributeTypeMap;
|
|
351
|
+
}
|
|
352
|
+
constructor(init) {
|
|
353
|
+
Object.assign(this, init);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
exports.DiscUsage = DiscUsage;
|
|
357
|
+
/**
|
|
358
|
+
* Attribute type map
|
|
359
|
+
*/
|
|
360
|
+
DiscUsage.attributeTypeMap = [
|
|
361
|
+
{
|
|
362
|
+
name: "usedSize",
|
|
363
|
+
baseName: "usedSize",
|
|
364
|
+
type: "number",
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
name: "totalSize",
|
|
368
|
+
baseName: "totalSize",
|
|
369
|
+
type: "number",
|
|
370
|
+
}
|
|
371
|
+
];
|
|
372
|
+
/**
|
|
373
|
+
* The error details
|
|
374
|
+
*/
|
|
375
|
+
class ErrorDetails {
|
|
376
|
+
/**
|
|
377
|
+
* Returns attribute type map
|
|
378
|
+
*/
|
|
379
|
+
static getAttributeTypeMap() {
|
|
380
|
+
return ErrorDetails.attributeTypeMap;
|
|
381
|
+
}
|
|
382
|
+
constructor(init) {
|
|
383
|
+
Object.assign(this, init);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
exports.ErrorDetails = ErrorDetails;
|
|
387
|
+
/**
|
|
388
|
+
* Attribute type map
|
|
389
|
+
*/
|
|
390
|
+
ErrorDetails.attributeTypeMap = [
|
|
391
|
+
{
|
|
392
|
+
name: "requestId",
|
|
393
|
+
baseName: "requestId",
|
|
394
|
+
type: "string",
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
name: "date",
|
|
398
|
+
baseName: "date",
|
|
399
|
+
type: "Date",
|
|
400
|
+
}
|
|
401
|
+
];
|
|
402
|
+
/**
|
|
403
|
+
* Field of document template
|
|
404
|
+
*/
|
|
405
|
+
class Field {
|
|
406
|
+
/**
|
|
407
|
+
* Returns attribute type map
|
|
408
|
+
*/
|
|
409
|
+
static getAttributeTypeMap() {
|
|
410
|
+
return Field.attributeTypeMap;
|
|
411
|
+
}
|
|
412
|
+
constructor(init) {
|
|
413
|
+
Object.assign(this, init);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
exports.Field = Field;
|
|
417
|
+
/**
|
|
418
|
+
* Attribute type map
|
|
419
|
+
*/
|
|
420
|
+
Field.attributeTypeMap = [
|
|
421
|
+
{
|
|
422
|
+
name: "fieldName",
|
|
423
|
+
baseName: "fieldName",
|
|
424
|
+
type: "string",
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
name: "pageIndex",
|
|
428
|
+
baseName: "pageIndex",
|
|
429
|
+
type: "number",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
name: "fieldPosition",
|
|
433
|
+
baseName: "fieldPosition",
|
|
434
|
+
type: "FieldPosition",
|
|
435
|
+
}
|
|
436
|
+
];
|
|
437
|
+
/**
|
|
438
|
+
* Class for document field data.
|
|
439
|
+
*/
|
|
440
|
+
class FieldData {
|
|
441
|
+
/**
|
|
442
|
+
* Returns attribute type map
|
|
443
|
+
*/
|
|
444
|
+
static getAttributeTypeMap() {
|
|
445
|
+
return FieldData.attributeTypeMap;
|
|
446
|
+
}
|
|
447
|
+
constructor(init) {
|
|
448
|
+
Object.assign(this, init);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
exports.FieldData = FieldData;
|
|
452
|
+
/**
|
|
453
|
+
* Attribute type map
|
|
454
|
+
*/
|
|
455
|
+
FieldData.attributeTypeMap = [
|
|
456
|
+
{
|
|
457
|
+
name: "name",
|
|
458
|
+
baseName: "name",
|
|
459
|
+
type: "string",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
name: "pageIndex",
|
|
463
|
+
baseName: "pageIndex",
|
|
464
|
+
type: "number",
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
name: "pageArea",
|
|
468
|
+
baseName: "pageArea",
|
|
469
|
+
type: "PageArea",
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
name: "linkedField",
|
|
473
|
+
baseName: "linkedField",
|
|
474
|
+
type: "FieldData",
|
|
475
|
+
}
|
|
476
|
+
];
|
|
477
|
+
/**
|
|
478
|
+
* Field position class.
|
|
479
|
+
*/
|
|
480
|
+
class FieldPosition {
|
|
481
|
+
/**
|
|
482
|
+
* Returns attribute type map
|
|
483
|
+
*/
|
|
484
|
+
static getAttributeTypeMap() {
|
|
485
|
+
return FieldPosition.attributeTypeMap;
|
|
486
|
+
}
|
|
487
|
+
constructor(init) {
|
|
488
|
+
Object.assign(this, init);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
exports.FieldPosition = FieldPosition;
|
|
492
|
+
/**
|
|
493
|
+
* Attribute type map
|
|
494
|
+
*/
|
|
495
|
+
FieldPosition.attributeTypeMap = [
|
|
496
|
+
{
|
|
497
|
+
name: "fieldPositionType",
|
|
498
|
+
baseName: "fieldPositionType",
|
|
499
|
+
type: "string",
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
name: "rectangle",
|
|
503
|
+
baseName: "rectangle",
|
|
504
|
+
type: "Rectangle",
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
name: "regex",
|
|
508
|
+
baseName: "regex",
|
|
509
|
+
type: "string",
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
name: "matchCase",
|
|
513
|
+
baseName: "matchCase",
|
|
514
|
+
type: "boolean",
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
name: "linkedFieldName",
|
|
518
|
+
baseName: "linkedFieldName",
|
|
519
|
+
type: "string",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
name: "isLeftLinked",
|
|
523
|
+
baseName: "isLeftLinked",
|
|
524
|
+
type: "boolean",
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
name: "isRightLinked",
|
|
528
|
+
baseName: "isRightLinked",
|
|
529
|
+
type: "boolean",
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
name: "isTopLinked",
|
|
533
|
+
baseName: "isTopLinked",
|
|
534
|
+
type: "boolean",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
name: "isBottomLinked",
|
|
538
|
+
baseName: "isBottomLinked",
|
|
539
|
+
type: "boolean",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
name: "searchArea",
|
|
543
|
+
baseName: "searchArea",
|
|
544
|
+
type: "Size",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
name: "autoScale",
|
|
548
|
+
baseName: "autoScale",
|
|
549
|
+
type: "boolean",
|
|
550
|
+
}
|
|
551
|
+
];
|
|
552
|
+
/**
|
|
553
|
+
* File info
|
|
554
|
+
*/
|
|
555
|
+
class FileInfo {
|
|
556
|
+
/**
|
|
557
|
+
* Returns attribute type map
|
|
558
|
+
*/
|
|
559
|
+
static getAttributeTypeMap() {
|
|
560
|
+
return FileInfo.attributeTypeMap;
|
|
561
|
+
}
|
|
562
|
+
constructor(init) {
|
|
563
|
+
Object.assign(this, init);
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
exports.FileInfo = FileInfo;
|
|
567
|
+
/**
|
|
568
|
+
* Attribute type map
|
|
569
|
+
*/
|
|
570
|
+
FileInfo.attributeTypeMap = [
|
|
571
|
+
{
|
|
572
|
+
name: "filePath",
|
|
573
|
+
baseName: "filePath",
|
|
574
|
+
type: "string",
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
name: "storageName",
|
|
578
|
+
baseName: "storageName",
|
|
579
|
+
type: "string",
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
name: "password",
|
|
583
|
+
baseName: "password",
|
|
584
|
+
type: "string",
|
|
585
|
+
}
|
|
586
|
+
];
|
|
587
|
+
/**
|
|
588
|
+
* Represents the file type.
|
|
589
|
+
*/
|
|
590
|
+
class FileType {
|
|
591
|
+
/**
|
|
592
|
+
* Returns attribute type map
|
|
593
|
+
*/
|
|
594
|
+
static getAttributeTypeMap() {
|
|
595
|
+
return FileType.attributeTypeMap;
|
|
596
|
+
}
|
|
597
|
+
constructor(init) {
|
|
598
|
+
Object.assign(this, init);
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
exports.FileType = FileType;
|
|
602
|
+
/**
|
|
603
|
+
* Attribute type map
|
|
604
|
+
*/
|
|
605
|
+
FileType.attributeTypeMap = [
|
|
606
|
+
{
|
|
607
|
+
name: "fileFormat",
|
|
608
|
+
baseName: "fileFormat",
|
|
609
|
+
type: "string",
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
name: "extension",
|
|
613
|
+
baseName: "extension",
|
|
614
|
+
type: "string",
|
|
615
|
+
}
|
|
616
|
+
];
|
|
617
|
+
/**
|
|
618
|
+
* File versions FileVersion.
|
|
619
|
+
*/
|
|
620
|
+
class FileVersions {
|
|
621
|
+
/**
|
|
622
|
+
* Returns attribute type map
|
|
623
|
+
*/
|
|
624
|
+
static getAttributeTypeMap() {
|
|
625
|
+
return FileVersions.attributeTypeMap;
|
|
626
|
+
}
|
|
627
|
+
constructor(init) {
|
|
628
|
+
Object.assign(this, init);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
exports.FileVersions = FileVersions;
|
|
632
|
+
/**
|
|
633
|
+
* Attribute type map
|
|
634
|
+
*/
|
|
635
|
+
FileVersions.attributeTypeMap = [
|
|
636
|
+
{
|
|
637
|
+
name: "value",
|
|
638
|
+
baseName: "value",
|
|
639
|
+
type: "Array<FileVersion>",
|
|
640
|
+
}
|
|
641
|
+
];
|
|
642
|
+
/**
|
|
643
|
+
* Files list
|
|
644
|
+
*/
|
|
645
|
+
class FilesList {
|
|
646
|
+
/**
|
|
647
|
+
* Returns attribute type map
|
|
648
|
+
*/
|
|
649
|
+
static getAttributeTypeMap() {
|
|
650
|
+
return FilesList.attributeTypeMap;
|
|
651
|
+
}
|
|
652
|
+
constructor(init) {
|
|
653
|
+
Object.assign(this, init);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
exports.FilesList = FilesList;
|
|
657
|
+
/**
|
|
658
|
+
* Attribute type map
|
|
659
|
+
*/
|
|
660
|
+
FilesList.attributeTypeMap = [
|
|
661
|
+
{
|
|
662
|
+
name: "value",
|
|
663
|
+
baseName: "value",
|
|
664
|
+
type: "Array<StorageFile>",
|
|
665
|
+
}
|
|
666
|
+
];
|
|
667
|
+
/**
|
|
668
|
+
* File upload result
|
|
669
|
+
*/
|
|
670
|
+
class FilesUploadResult {
|
|
671
|
+
/**
|
|
672
|
+
* Returns attribute type map
|
|
673
|
+
*/
|
|
674
|
+
static getAttributeTypeMap() {
|
|
675
|
+
return FilesUploadResult.attributeTypeMap;
|
|
676
|
+
}
|
|
677
|
+
constructor(init) {
|
|
678
|
+
Object.assign(this, init);
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
exports.FilesUploadResult = FilesUploadResult;
|
|
682
|
+
/**
|
|
683
|
+
* Attribute type map
|
|
684
|
+
*/
|
|
685
|
+
FilesUploadResult.attributeTypeMap = [
|
|
686
|
+
{
|
|
687
|
+
name: "uploaded",
|
|
688
|
+
baseName: "uploaded",
|
|
689
|
+
type: "Array<string>",
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
name: "errors",
|
|
693
|
+
baseName: "errors",
|
|
694
|
+
type: "Array<Error>",
|
|
695
|
+
}
|
|
696
|
+
];
|
|
697
|
+
/**
|
|
698
|
+
* File-format
|
|
699
|
+
*/
|
|
700
|
+
class Format {
|
|
701
|
+
/**
|
|
702
|
+
* Returns attribute type map
|
|
703
|
+
*/
|
|
704
|
+
static getAttributeTypeMap() {
|
|
705
|
+
return Format.attributeTypeMap;
|
|
706
|
+
}
|
|
707
|
+
constructor(init) {
|
|
708
|
+
Object.assign(this, init);
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
exports.Format = Format;
|
|
712
|
+
/**
|
|
713
|
+
* Attribute type map
|
|
714
|
+
*/
|
|
715
|
+
Format.attributeTypeMap = [
|
|
716
|
+
{
|
|
717
|
+
name: "extension",
|
|
718
|
+
baseName: "extension",
|
|
719
|
+
type: "string",
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
name: "fileFormat",
|
|
723
|
+
baseName: "fileFormat",
|
|
724
|
+
type: "string",
|
|
725
|
+
}
|
|
726
|
+
];
|
|
727
|
+
/**
|
|
728
|
+
* Describes object which contains list of supported file formats.
|
|
729
|
+
*/
|
|
730
|
+
class FormatsResult {
|
|
731
|
+
/**
|
|
732
|
+
* Returns attribute type map
|
|
733
|
+
*/
|
|
734
|
+
static getAttributeTypeMap() {
|
|
735
|
+
return FormatsResult.attributeTypeMap;
|
|
736
|
+
}
|
|
737
|
+
constructor(init) {
|
|
738
|
+
Object.assign(this, init);
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
exports.FormatsResult = FormatsResult;
|
|
742
|
+
/**
|
|
743
|
+
* Attribute type map
|
|
744
|
+
*/
|
|
745
|
+
FormatsResult.attributeTypeMap = [
|
|
746
|
+
{
|
|
747
|
+
name: "formats",
|
|
748
|
+
baseName: "formats",
|
|
749
|
+
type: "Array<Format>",
|
|
750
|
+
}
|
|
751
|
+
];
|
|
752
|
+
/**
|
|
753
|
+
* Provides the options which are used for formatted text extraction.
|
|
754
|
+
*/
|
|
755
|
+
class FormattedTextOptions {
|
|
756
|
+
/**
|
|
757
|
+
* Returns attribute type map
|
|
758
|
+
*/
|
|
759
|
+
static getAttributeTypeMap() {
|
|
760
|
+
return FormattedTextOptions.attributeTypeMap;
|
|
761
|
+
}
|
|
762
|
+
constructor(init) {
|
|
763
|
+
Object.assign(this, init);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
exports.FormattedTextOptions = FormattedTextOptions;
|
|
767
|
+
/**
|
|
768
|
+
* Attribute type map
|
|
769
|
+
*/
|
|
770
|
+
FormattedTextOptions.attributeTypeMap = [
|
|
771
|
+
{
|
|
772
|
+
name: "mode",
|
|
773
|
+
baseName: "mode",
|
|
774
|
+
type: "string",
|
|
775
|
+
}
|
|
776
|
+
];
|
|
777
|
+
/**
|
|
778
|
+
* Represents an image.
|
|
779
|
+
*/
|
|
780
|
+
class Image {
|
|
781
|
+
/**
|
|
782
|
+
* Returns attribute type map
|
|
783
|
+
*/
|
|
784
|
+
static getAttributeTypeMap() {
|
|
785
|
+
return Image.attributeTypeMap;
|
|
786
|
+
}
|
|
787
|
+
constructor(init) {
|
|
788
|
+
Object.assign(this, init);
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
exports.Image = Image;
|
|
792
|
+
/**
|
|
793
|
+
* Attribute type map
|
|
794
|
+
*/
|
|
795
|
+
Image.attributeTypeMap = [
|
|
796
|
+
{
|
|
797
|
+
name: "path",
|
|
798
|
+
baseName: "path",
|
|
799
|
+
type: "string",
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
name: "downloadUrl",
|
|
803
|
+
baseName: "downloadUrl",
|
|
804
|
+
type: "string",
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
name: "pageIndex",
|
|
808
|
+
baseName: "pageIndex",
|
|
809
|
+
type: "number",
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
name: "rotation",
|
|
813
|
+
baseName: "rotation",
|
|
814
|
+
type: "number",
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
name: "fileFormat",
|
|
818
|
+
baseName: "fileFormat",
|
|
819
|
+
type: "string",
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
name: "rectangle",
|
|
823
|
+
baseName: "rectangle",
|
|
824
|
+
type: "Rectangle",
|
|
825
|
+
}
|
|
826
|
+
];
|
|
827
|
+
/**
|
|
828
|
+
* Represents page object with image collection.
|
|
829
|
+
*/
|
|
830
|
+
class ImagePage {
|
|
831
|
+
/**
|
|
832
|
+
* Returns attribute type map
|
|
833
|
+
*/
|
|
834
|
+
static getAttributeTypeMap() {
|
|
835
|
+
return ImagePage.attributeTypeMap;
|
|
836
|
+
}
|
|
837
|
+
constructor(init) {
|
|
838
|
+
Object.assign(this, init);
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
exports.ImagePage = ImagePage;
|
|
842
|
+
/**
|
|
843
|
+
* Attribute type map
|
|
844
|
+
*/
|
|
845
|
+
ImagePage.attributeTypeMap = [
|
|
846
|
+
{
|
|
847
|
+
name: "pageIndex",
|
|
848
|
+
baseName: "pageIndex",
|
|
849
|
+
type: "number",
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
name: "images",
|
|
853
|
+
baseName: "images",
|
|
854
|
+
type: "Array<Image>",
|
|
855
|
+
}
|
|
856
|
+
];
|
|
857
|
+
/**
|
|
858
|
+
* Images result.
|
|
859
|
+
*/
|
|
860
|
+
class ImagesResult {
|
|
861
|
+
/**
|
|
862
|
+
* Returns attribute type map
|
|
863
|
+
*/
|
|
864
|
+
static getAttributeTypeMap() {
|
|
865
|
+
return ImagesResult.attributeTypeMap;
|
|
866
|
+
}
|
|
867
|
+
constructor(init) {
|
|
868
|
+
Object.assign(this, init);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
exports.ImagesResult = ImagesResult;
|
|
872
|
+
/**
|
|
873
|
+
* Attribute type map
|
|
874
|
+
*/
|
|
875
|
+
ImagesResult.attributeTypeMap = [
|
|
876
|
+
{
|
|
877
|
+
name: "images",
|
|
878
|
+
baseName: "images",
|
|
879
|
+
type: "Array<Image>",
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
name: "pages",
|
|
883
|
+
baseName: "pages",
|
|
884
|
+
type: "Array<ImagePage>",
|
|
885
|
+
}
|
|
886
|
+
];
|
|
887
|
+
/**
|
|
888
|
+
* Info result.
|
|
889
|
+
*/
|
|
890
|
+
class InfoResult {
|
|
891
|
+
/**
|
|
892
|
+
* Returns attribute type map
|
|
893
|
+
*/
|
|
894
|
+
static getAttributeTypeMap() {
|
|
895
|
+
return InfoResult.attributeTypeMap;
|
|
896
|
+
}
|
|
897
|
+
constructor(init) {
|
|
898
|
+
Object.assign(this, init);
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
exports.InfoResult = InfoResult;
|
|
902
|
+
/**
|
|
903
|
+
* Attribute type map
|
|
904
|
+
*/
|
|
905
|
+
InfoResult.attributeTypeMap = [
|
|
906
|
+
{
|
|
907
|
+
name: "fileType",
|
|
908
|
+
baseName: "fileType",
|
|
909
|
+
type: "FileType",
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
name: "size",
|
|
913
|
+
baseName: "size",
|
|
914
|
+
type: "number",
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
name: "pageCount",
|
|
918
|
+
baseName: "pageCount",
|
|
919
|
+
type: "number",
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
name: "encoding",
|
|
923
|
+
baseName: "encoding",
|
|
924
|
+
type: "string",
|
|
925
|
+
}
|
|
926
|
+
];
|
|
927
|
+
/**
|
|
928
|
+
* Error
|
|
929
|
+
*/
|
|
930
|
+
class ModelError {
|
|
931
|
+
/**
|
|
932
|
+
* Returns attribute type map
|
|
933
|
+
*/
|
|
934
|
+
static getAttributeTypeMap() {
|
|
935
|
+
return ModelError.attributeTypeMap;
|
|
936
|
+
}
|
|
937
|
+
constructor(init) {
|
|
938
|
+
Object.assign(this, init);
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
exports.ModelError = ModelError;
|
|
942
|
+
/**
|
|
943
|
+
* Attribute type map
|
|
944
|
+
*/
|
|
945
|
+
ModelError.attributeTypeMap = [
|
|
946
|
+
{
|
|
947
|
+
name: "code",
|
|
948
|
+
baseName: "code",
|
|
949
|
+
type: "string",
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
name: "message",
|
|
953
|
+
baseName: "message",
|
|
954
|
+
type: "string",
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
name: "description",
|
|
958
|
+
baseName: "description",
|
|
959
|
+
type: "string",
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
name: "innerError",
|
|
963
|
+
baseName: "innerError",
|
|
964
|
+
type: "ErrorDetails",
|
|
965
|
+
}
|
|
966
|
+
];
|
|
967
|
+
/**
|
|
968
|
+
* Object exists
|
|
969
|
+
*/
|
|
970
|
+
class ObjectExist {
|
|
971
|
+
/**
|
|
972
|
+
* Returns attribute type map
|
|
973
|
+
*/
|
|
974
|
+
static getAttributeTypeMap() {
|
|
975
|
+
return ObjectExist.attributeTypeMap;
|
|
976
|
+
}
|
|
977
|
+
constructor(init) {
|
|
978
|
+
Object.assign(this, init);
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
exports.ObjectExist = ObjectExist;
|
|
982
|
+
/**
|
|
983
|
+
* Attribute type map
|
|
984
|
+
*/
|
|
985
|
+
ObjectExist.attributeTypeMap = [
|
|
986
|
+
{
|
|
987
|
+
name: "exists",
|
|
988
|
+
baseName: "exists",
|
|
989
|
+
type: "boolean",
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
name: "isFolder",
|
|
993
|
+
baseName: "isFolder",
|
|
994
|
+
type: "boolean",
|
|
995
|
+
}
|
|
996
|
+
];
|
|
997
|
+
/**
|
|
998
|
+
* The document page information such as page index and page size.
|
|
999
|
+
*/
|
|
1000
|
+
class Page {
|
|
1001
|
+
/**
|
|
1002
|
+
* Returns attribute type map
|
|
1003
|
+
*/
|
|
1004
|
+
static getAttributeTypeMap() {
|
|
1005
|
+
return Page.attributeTypeMap;
|
|
1006
|
+
}
|
|
1007
|
+
constructor(init) {
|
|
1008
|
+
Object.assign(this, init);
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
exports.Page = Page;
|
|
1012
|
+
/**
|
|
1013
|
+
* Attribute type map
|
|
1014
|
+
*/
|
|
1015
|
+
Page.attributeTypeMap = [
|
|
1016
|
+
{
|
|
1017
|
+
name: "index",
|
|
1018
|
+
baseName: "index",
|
|
1019
|
+
type: "number",
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
name: "size",
|
|
1023
|
+
baseName: "size",
|
|
1024
|
+
type: "Size",
|
|
1025
|
+
}
|
|
1026
|
+
];
|
|
1027
|
+
/**
|
|
1028
|
+
* Class for document page area.
|
|
1029
|
+
*/
|
|
1030
|
+
class PageArea {
|
|
1031
|
+
/**
|
|
1032
|
+
* Returns attribute type map
|
|
1033
|
+
*/
|
|
1034
|
+
static getAttributeTypeMap() {
|
|
1035
|
+
return PageArea.attributeTypeMap;
|
|
1036
|
+
}
|
|
1037
|
+
constructor(init) {
|
|
1038
|
+
Object.assign(this, init);
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
exports.PageArea = PageArea;
|
|
1042
|
+
/**
|
|
1043
|
+
* Attribute type map
|
|
1044
|
+
*/
|
|
1045
|
+
PageArea.attributeTypeMap = [
|
|
1046
|
+
{
|
|
1047
|
+
name: "rectangle",
|
|
1048
|
+
baseName: "rectangle",
|
|
1049
|
+
type: "Rectangle",
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
name: "page",
|
|
1053
|
+
baseName: "page",
|
|
1054
|
+
type: "Page",
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
name: "pageTextArea",
|
|
1058
|
+
baseName: "pageTextArea",
|
|
1059
|
+
type: "PageTextArea",
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
name: "pageTableArea",
|
|
1063
|
+
baseName: "pageTableArea",
|
|
1064
|
+
type: "PageTableArea",
|
|
1065
|
+
}
|
|
1066
|
+
];
|
|
1067
|
+
/**
|
|
1068
|
+
* Represents a table page area which is used to represent a table in the parsing by template functionality.
|
|
1069
|
+
*/
|
|
1070
|
+
class PageTableArea {
|
|
1071
|
+
/**
|
|
1072
|
+
* Returns attribute type map
|
|
1073
|
+
*/
|
|
1074
|
+
static getAttributeTypeMap() {
|
|
1075
|
+
return PageTableArea.attributeTypeMap;
|
|
1076
|
+
}
|
|
1077
|
+
constructor(init) {
|
|
1078
|
+
Object.assign(this, init);
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
exports.PageTableArea = PageTableArea;
|
|
1082
|
+
/**
|
|
1083
|
+
* Attribute type map
|
|
1084
|
+
*/
|
|
1085
|
+
PageTableArea.attributeTypeMap = [
|
|
1086
|
+
{
|
|
1087
|
+
name: "rowCount",
|
|
1088
|
+
baseName: "rowCount",
|
|
1089
|
+
type: "number",
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
name: "columnCount",
|
|
1093
|
+
baseName: "columnCount",
|
|
1094
|
+
type: "number",
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
name: "pageTableAreaCells",
|
|
1098
|
+
baseName: "pageTableAreaCells",
|
|
1099
|
+
type: "Array<PageTableAreaCell>",
|
|
1100
|
+
}
|
|
1101
|
+
];
|
|
1102
|
+
/**
|
|
1103
|
+
* Represents a table cell.
|
|
1104
|
+
*/
|
|
1105
|
+
class PageTableAreaCell {
|
|
1106
|
+
/**
|
|
1107
|
+
* Returns attribute type map
|
|
1108
|
+
*/
|
|
1109
|
+
static getAttributeTypeMap() {
|
|
1110
|
+
return PageTableAreaCell.attributeTypeMap;
|
|
1111
|
+
}
|
|
1112
|
+
constructor(init) {
|
|
1113
|
+
Object.assign(this, init);
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
exports.PageTableAreaCell = PageTableAreaCell;
|
|
1117
|
+
/**
|
|
1118
|
+
* Attribute type map
|
|
1119
|
+
*/
|
|
1120
|
+
PageTableAreaCell.attributeTypeMap = [
|
|
1121
|
+
{
|
|
1122
|
+
name: "columnIndex",
|
|
1123
|
+
baseName: "columnIndex",
|
|
1124
|
+
type: "number",
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
name: "columnSpan",
|
|
1128
|
+
baseName: "columnSpan",
|
|
1129
|
+
type: "number",
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
name: "pageArea",
|
|
1133
|
+
baseName: "pageArea",
|
|
1134
|
+
type: "PageArea",
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
name: "rowIndex",
|
|
1138
|
+
baseName: "rowIndex",
|
|
1139
|
+
type: "number",
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
name: "rowSpan",
|
|
1143
|
+
baseName: "rowSpan",
|
|
1144
|
+
type: "number",
|
|
1145
|
+
}
|
|
1146
|
+
];
|
|
1147
|
+
/**
|
|
1148
|
+
* Represents a page text area which is used to represent a text value in the parsing by template functionality.
|
|
1149
|
+
*/
|
|
1150
|
+
class PageTextArea {
|
|
1151
|
+
/**
|
|
1152
|
+
* Returns attribute type map
|
|
1153
|
+
*/
|
|
1154
|
+
static getAttributeTypeMap() {
|
|
1155
|
+
return PageTextArea.attributeTypeMap;
|
|
1156
|
+
}
|
|
1157
|
+
constructor(init) {
|
|
1158
|
+
Object.assign(this, init);
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
exports.PageTextArea = PageTextArea;
|
|
1162
|
+
/**
|
|
1163
|
+
* Attribute type map
|
|
1164
|
+
*/
|
|
1165
|
+
PageTextArea.attributeTypeMap = [
|
|
1166
|
+
{
|
|
1167
|
+
name: "text",
|
|
1168
|
+
baseName: "text",
|
|
1169
|
+
type: "string",
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
name: "baseLine",
|
|
1173
|
+
baseName: "baseLine",
|
|
1174
|
+
type: "number",
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
name: "areas",
|
|
1178
|
+
baseName: "areas",
|
|
1179
|
+
type: "Array<PageTextArea>",
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
name: "textStyle",
|
|
1183
|
+
baseName: "textStyle",
|
|
1184
|
+
type: "TextStyle",
|
|
1185
|
+
}
|
|
1186
|
+
];
|
|
1187
|
+
/**
|
|
1188
|
+
* Parse result.
|
|
1189
|
+
*/
|
|
1190
|
+
class ParseResult {
|
|
1191
|
+
/**
|
|
1192
|
+
* Returns attribute type map
|
|
1193
|
+
*/
|
|
1194
|
+
static getAttributeTypeMap() {
|
|
1195
|
+
return ParseResult.attributeTypeMap;
|
|
1196
|
+
}
|
|
1197
|
+
constructor(init) {
|
|
1198
|
+
Object.assign(this, init);
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
exports.ParseResult = ParseResult;
|
|
1202
|
+
/**
|
|
1203
|
+
* Attribute type map
|
|
1204
|
+
*/
|
|
1205
|
+
ParseResult.attributeTypeMap = [
|
|
1206
|
+
{
|
|
1207
|
+
name: "count",
|
|
1208
|
+
baseName: "count",
|
|
1209
|
+
type: "number",
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
name: "fieldsData",
|
|
1213
|
+
baseName: "fieldsData",
|
|
1214
|
+
type: "Array<FieldData>",
|
|
1215
|
+
}
|
|
1216
|
+
];
|
|
1217
|
+
/**
|
|
1218
|
+
* Base options class.
|
|
1219
|
+
*/
|
|
1220
|
+
class ParserOptions {
|
|
1221
|
+
/**
|
|
1222
|
+
* Returns attribute type map
|
|
1223
|
+
*/
|
|
1224
|
+
static getAttributeTypeMap() {
|
|
1225
|
+
return ParserOptions.attributeTypeMap;
|
|
1226
|
+
}
|
|
1227
|
+
constructor(init) {
|
|
1228
|
+
Object.assign(this, init);
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
exports.ParserOptions = ParserOptions;
|
|
1232
|
+
/**
|
|
1233
|
+
* Attribute type map
|
|
1234
|
+
*/
|
|
1235
|
+
ParserOptions.attributeTypeMap = [
|
|
1236
|
+
{
|
|
1237
|
+
name: "fileInfo",
|
|
1238
|
+
baseName: "fileInfo",
|
|
1239
|
+
type: "FileInfo",
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
name: "containerItemInfo",
|
|
1243
|
+
baseName: "containerItemInfo",
|
|
1244
|
+
type: "ContainerItemInfo",
|
|
1245
|
+
}
|
|
1246
|
+
];
|
|
1247
|
+
/**
|
|
1248
|
+
* Class for rectangle position model.
|
|
1249
|
+
*/
|
|
1250
|
+
class Point {
|
|
1251
|
+
/**
|
|
1252
|
+
* Returns attribute type map
|
|
1253
|
+
*/
|
|
1254
|
+
static getAttributeTypeMap() {
|
|
1255
|
+
return Point.attributeTypeMap;
|
|
1256
|
+
}
|
|
1257
|
+
constructor(init) {
|
|
1258
|
+
Object.assign(this, init);
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
exports.Point = Point;
|
|
1262
|
+
/**
|
|
1263
|
+
* Attribute type map
|
|
1264
|
+
*/
|
|
1265
|
+
Point.attributeTypeMap = [
|
|
1266
|
+
{
|
|
1267
|
+
name: "x",
|
|
1268
|
+
baseName: "x",
|
|
1269
|
+
type: "number",
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
name: "y",
|
|
1273
|
+
baseName: "y",
|
|
1274
|
+
type: "number",
|
|
1275
|
+
}
|
|
1276
|
+
];
|
|
1277
|
+
/**
|
|
1278
|
+
* Rectangular area on the page.
|
|
1279
|
+
*/
|
|
1280
|
+
class Rectangle {
|
|
1281
|
+
/**
|
|
1282
|
+
* Returns attribute type map
|
|
1283
|
+
*/
|
|
1284
|
+
static getAttributeTypeMap() {
|
|
1285
|
+
return Rectangle.attributeTypeMap;
|
|
1286
|
+
}
|
|
1287
|
+
constructor(init) {
|
|
1288
|
+
Object.assign(this, init);
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
exports.Rectangle = Rectangle;
|
|
1292
|
+
/**
|
|
1293
|
+
* Attribute type map
|
|
1294
|
+
*/
|
|
1295
|
+
Rectangle.attributeTypeMap = [
|
|
1296
|
+
{
|
|
1297
|
+
name: "position",
|
|
1298
|
+
baseName: "position",
|
|
1299
|
+
type: "Point",
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
name: "size",
|
|
1303
|
+
baseName: "size",
|
|
1304
|
+
type: "Size",
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
name: "coordinates",
|
|
1308
|
+
baseName: "coordinates",
|
|
1309
|
+
type: "Coordinates",
|
|
1310
|
+
}
|
|
1311
|
+
];
|
|
1312
|
+
/**
|
|
1313
|
+
* Represents a size of rectangular area.
|
|
1314
|
+
*/
|
|
1315
|
+
class Size {
|
|
1316
|
+
/**
|
|
1317
|
+
* Returns attribute type map
|
|
1318
|
+
*/
|
|
1319
|
+
static getAttributeTypeMap() {
|
|
1320
|
+
return Size.attributeTypeMap;
|
|
1321
|
+
}
|
|
1322
|
+
constructor(init) {
|
|
1323
|
+
Object.assign(this, init);
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
exports.Size = Size;
|
|
1327
|
+
/**
|
|
1328
|
+
* Attribute type map
|
|
1329
|
+
*/
|
|
1330
|
+
Size.attributeTypeMap = [
|
|
1331
|
+
{
|
|
1332
|
+
name: "height",
|
|
1333
|
+
baseName: "height",
|
|
1334
|
+
type: "number",
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
name: "width",
|
|
1338
|
+
baseName: "width",
|
|
1339
|
+
type: "number",
|
|
1340
|
+
}
|
|
1341
|
+
];
|
|
1342
|
+
/**
|
|
1343
|
+
* Storage exists
|
|
1344
|
+
*/
|
|
1345
|
+
class StorageExist {
|
|
1346
|
+
/**
|
|
1347
|
+
* Returns attribute type map
|
|
1348
|
+
*/
|
|
1349
|
+
static getAttributeTypeMap() {
|
|
1350
|
+
return StorageExist.attributeTypeMap;
|
|
1351
|
+
}
|
|
1352
|
+
constructor(init) {
|
|
1353
|
+
Object.assign(this, init);
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
exports.StorageExist = StorageExist;
|
|
1357
|
+
/**
|
|
1358
|
+
* Attribute type map
|
|
1359
|
+
*/
|
|
1360
|
+
StorageExist.attributeTypeMap = [
|
|
1361
|
+
{
|
|
1362
|
+
name: "exists",
|
|
1363
|
+
baseName: "exists",
|
|
1364
|
+
type: "boolean",
|
|
1365
|
+
}
|
|
1366
|
+
];
|
|
1367
|
+
/**
|
|
1368
|
+
* File or folder information
|
|
1369
|
+
*/
|
|
1370
|
+
class StorageFile {
|
|
1371
|
+
/**
|
|
1372
|
+
* Returns attribute type map
|
|
1373
|
+
*/
|
|
1374
|
+
static getAttributeTypeMap() {
|
|
1375
|
+
return StorageFile.attributeTypeMap;
|
|
1376
|
+
}
|
|
1377
|
+
constructor(init) {
|
|
1378
|
+
Object.assign(this, init);
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
exports.StorageFile = StorageFile;
|
|
1382
|
+
/**
|
|
1383
|
+
* Attribute type map
|
|
1384
|
+
*/
|
|
1385
|
+
StorageFile.attributeTypeMap = [
|
|
1386
|
+
{
|
|
1387
|
+
name: "name",
|
|
1388
|
+
baseName: "name",
|
|
1389
|
+
type: "string",
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
name: "isFolder",
|
|
1393
|
+
baseName: "isFolder",
|
|
1394
|
+
type: "boolean",
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
name: "modifiedDate",
|
|
1398
|
+
baseName: "modifiedDate",
|
|
1399
|
+
type: "Date",
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
name: "size",
|
|
1403
|
+
baseName: "size",
|
|
1404
|
+
type: "number",
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
name: "path",
|
|
1408
|
+
baseName: "path",
|
|
1409
|
+
type: "string",
|
|
1410
|
+
}
|
|
1411
|
+
];
|
|
1412
|
+
/**
|
|
1413
|
+
* Document template table
|
|
1414
|
+
*/
|
|
1415
|
+
class Table {
|
|
1416
|
+
/**
|
|
1417
|
+
* Returns attribute type map
|
|
1418
|
+
*/
|
|
1419
|
+
static getAttributeTypeMap() {
|
|
1420
|
+
return Table.attributeTypeMap;
|
|
1421
|
+
}
|
|
1422
|
+
constructor(init) {
|
|
1423
|
+
Object.assign(this, init);
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
exports.Table = Table;
|
|
1427
|
+
/**
|
|
1428
|
+
* Attribute type map
|
|
1429
|
+
*/
|
|
1430
|
+
Table.attributeTypeMap = [
|
|
1431
|
+
{
|
|
1432
|
+
name: "tableName",
|
|
1433
|
+
baseName: "tableName",
|
|
1434
|
+
type: "string",
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
name: "pageIndex",
|
|
1438
|
+
baseName: "pageIndex",
|
|
1439
|
+
type: "number",
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
name: "detectorParameters",
|
|
1443
|
+
baseName: "detectorParameters",
|
|
1444
|
+
type: "DetectorParameters",
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
name: "tableLayout",
|
|
1448
|
+
baseName: "tableLayout",
|
|
1449
|
+
type: "TableLayout",
|
|
1450
|
+
}
|
|
1451
|
+
];
|
|
1452
|
+
/**
|
|
1453
|
+
* Provides the template table layout which is used by Table to define table position.
|
|
1454
|
+
*/
|
|
1455
|
+
class TableLayout {
|
|
1456
|
+
/**
|
|
1457
|
+
* Returns attribute type map
|
|
1458
|
+
*/
|
|
1459
|
+
static getAttributeTypeMap() {
|
|
1460
|
+
return TableLayout.attributeTypeMap;
|
|
1461
|
+
}
|
|
1462
|
+
constructor(init) {
|
|
1463
|
+
Object.assign(this, init);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
exports.TableLayout = TableLayout;
|
|
1467
|
+
/**
|
|
1468
|
+
* Attribute type map
|
|
1469
|
+
*/
|
|
1470
|
+
TableLayout.attributeTypeMap = [
|
|
1471
|
+
{
|
|
1472
|
+
name: "verticalSeparators",
|
|
1473
|
+
baseName: "verticalSeparators",
|
|
1474
|
+
type: "Array<number>",
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
name: "horizontalSeparators",
|
|
1478
|
+
baseName: "horizontalSeparators",
|
|
1479
|
+
type: "Array<number>",
|
|
1480
|
+
}
|
|
1481
|
+
];
|
|
1482
|
+
/**
|
|
1483
|
+
* User-generated template to extract metadata from the document.
|
|
1484
|
+
*/
|
|
1485
|
+
class Template {
|
|
1486
|
+
/**
|
|
1487
|
+
* Returns attribute type map
|
|
1488
|
+
*/
|
|
1489
|
+
static getAttributeTypeMap() {
|
|
1490
|
+
return Template.attributeTypeMap;
|
|
1491
|
+
}
|
|
1492
|
+
constructor(init) {
|
|
1493
|
+
Object.assign(this, init);
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
exports.Template = Template;
|
|
1497
|
+
/**
|
|
1498
|
+
* Attribute type map
|
|
1499
|
+
*/
|
|
1500
|
+
Template.attributeTypeMap = [
|
|
1501
|
+
{
|
|
1502
|
+
name: "fields",
|
|
1503
|
+
baseName: "fields",
|
|
1504
|
+
type: "Array<Field>",
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
name: "tables",
|
|
1508
|
+
baseName: "tables",
|
|
1509
|
+
type: "Array<Table>",
|
|
1510
|
+
}
|
|
1511
|
+
];
|
|
1512
|
+
/**
|
|
1513
|
+
* Template methods options.
|
|
1514
|
+
*/
|
|
1515
|
+
class TemplateOptions {
|
|
1516
|
+
/**
|
|
1517
|
+
* Returns attribute type map
|
|
1518
|
+
*/
|
|
1519
|
+
static getAttributeTypeMap() {
|
|
1520
|
+
return TemplateOptions.attributeTypeMap;
|
|
1521
|
+
}
|
|
1522
|
+
constructor(init) {
|
|
1523
|
+
Object.assign(this, init);
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
exports.TemplateOptions = TemplateOptions;
|
|
1527
|
+
/**
|
|
1528
|
+
* Attribute type map
|
|
1529
|
+
*/
|
|
1530
|
+
TemplateOptions.attributeTypeMap = [
|
|
1531
|
+
{
|
|
1532
|
+
name: "templatePath",
|
|
1533
|
+
baseName: "templatePath",
|
|
1534
|
+
type: "string",
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
name: "storageName",
|
|
1538
|
+
baseName: "storageName",
|
|
1539
|
+
type: "string",
|
|
1540
|
+
}
|
|
1541
|
+
];
|
|
1542
|
+
/**
|
|
1543
|
+
* Document template result.
|
|
1544
|
+
*/
|
|
1545
|
+
class TemplateResult {
|
|
1546
|
+
/**
|
|
1547
|
+
* Returns attribute type map
|
|
1548
|
+
*/
|
|
1549
|
+
static getAttributeTypeMap() {
|
|
1550
|
+
return TemplateResult.attributeTypeMap;
|
|
1551
|
+
}
|
|
1552
|
+
constructor(init) {
|
|
1553
|
+
Object.assign(this, init);
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
exports.TemplateResult = TemplateResult;
|
|
1557
|
+
/**
|
|
1558
|
+
* Attribute type map
|
|
1559
|
+
*/
|
|
1560
|
+
TemplateResult.attributeTypeMap = [
|
|
1561
|
+
{
|
|
1562
|
+
name: "url",
|
|
1563
|
+
baseName: "url",
|
|
1564
|
+
type: "string",
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
name: "templatePath",
|
|
1568
|
+
baseName: "templatePath",
|
|
1569
|
+
type: "string",
|
|
1570
|
+
}
|
|
1571
|
+
];
|
|
1572
|
+
/**
|
|
1573
|
+
* Extracted text page class.
|
|
1574
|
+
*/
|
|
1575
|
+
class TextPage {
|
|
1576
|
+
/**
|
|
1577
|
+
* Returns attribute type map
|
|
1578
|
+
*/
|
|
1579
|
+
static getAttributeTypeMap() {
|
|
1580
|
+
return TextPage.attributeTypeMap;
|
|
1581
|
+
}
|
|
1582
|
+
constructor(init) {
|
|
1583
|
+
Object.assign(this, init);
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
exports.TextPage = TextPage;
|
|
1587
|
+
/**
|
|
1588
|
+
* Attribute type map
|
|
1589
|
+
*/
|
|
1590
|
+
TextPage.attributeTypeMap = [
|
|
1591
|
+
{
|
|
1592
|
+
name: "pageIndex",
|
|
1593
|
+
baseName: "pageIndex",
|
|
1594
|
+
type: "number",
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
name: "text",
|
|
1598
|
+
baseName: "text",
|
|
1599
|
+
type: "string",
|
|
1600
|
+
}
|
|
1601
|
+
];
|
|
1602
|
+
/**
|
|
1603
|
+
* The result od text extraction.
|
|
1604
|
+
*/
|
|
1605
|
+
class TextResult {
|
|
1606
|
+
/**
|
|
1607
|
+
* Returns attribute type map
|
|
1608
|
+
*/
|
|
1609
|
+
static getAttributeTypeMap() {
|
|
1610
|
+
return TextResult.attributeTypeMap;
|
|
1611
|
+
}
|
|
1612
|
+
constructor(init) {
|
|
1613
|
+
Object.assign(this, init);
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
exports.TextResult = TextResult;
|
|
1617
|
+
/**
|
|
1618
|
+
* Attribute type map
|
|
1619
|
+
*/
|
|
1620
|
+
TextResult.attributeTypeMap = [
|
|
1621
|
+
{
|
|
1622
|
+
name: "pages",
|
|
1623
|
+
baseName: "pages",
|
|
1624
|
+
type: "Array<TextPage>",
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
name: "text",
|
|
1628
|
+
baseName: "text",
|
|
1629
|
+
type: "string",
|
|
1630
|
+
}
|
|
1631
|
+
];
|
|
1632
|
+
/**
|
|
1633
|
+
* The text style such as font size, font name an so on.
|
|
1634
|
+
*/
|
|
1635
|
+
class TextStyle {
|
|
1636
|
+
/**
|
|
1637
|
+
* Returns attribute type map
|
|
1638
|
+
*/
|
|
1639
|
+
static getAttributeTypeMap() {
|
|
1640
|
+
return TextStyle.attributeTypeMap;
|
|
1641
|
+
}
|
|
1642
|
+
constructor(init) {
|
|
1643
|
+
Object.assign(this, init);
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
exports.TextStyle = TextStyle;
|
|
1647
|
+
/**
|
|
1648
|
+
* Attribute type map
|
|
1649
|
+
*/
|
|
1650
|
+
TextStyle.attributeTypeMap = [
|
|
1651
|
+
{
|
|
1652
|
+
name: "fontName",
|
|
1653
|
+
baseName: "fontName",
|
|
1654
|
+
type: "string",
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
name: "fontSize",
|
|
1658
|
+
baseName: "fontSize",
|
|
1659
|
+
type: "number",
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
name: "isBold",
|
|
1663
|
+
baseName: "isBold",
|
|
1664
|
+
type: "boolean",
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
name: "isItalic",
|
|
1668
|
+
baseName: "isItalic",
|
|
1669
|
+
type: "boolean",
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
name: "name",
|
|
1673
|
+
baseName: "name",
|
|
1674
|
+
type: "string",
|
|
1675
|
+
}
|
|
1676
|
+
];
|
|
1677
|
+
/**
|
|
1678
|
+
* AI Parse options.
|
|
1679
|
+
*/
|
|
1680
|
+
class AIParseOptions extends ParserOptions {
|
|
1681
|
+
/**
|
|
1682
|
+
* Returns attribute type map
|
|
1683
|
+
*/
|
|
1684
|
+
static getAttributeTypeMap() {
|
|
1685
|
+
return super.getAttributeTypeMap().concat(AIParseOptions.attributeTypeMap);
|
|
1686
|
+
}
|
|
1687
|
+
constructor(init) {
|
|
1688
|
+
super(init);
|
|
1689
|
+
Object.assign(this, init);
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
exports.AIParseOptions = AIParseOptions;
|
|
1693
|
+
/**
|
|
1694
|
+
* Attribute type map
|
|
1695
|
+
*/
|
|
1696
|
+
AIParseOptions.attributeTypeMap = [
|
|
1697
|
+
{
|
|
1698
|
+
name: "template",
|
|
1699
|
+
baseName: "template",
|
|
1700
|
+
type: "any",
|
|
1701
|
+
}
|
|
1702
|
+
];
|
|
1703
|
+
/**
|
|
1704
|
+
* Barcode options.
|
|
1705
|
+
*/
|
|
1706
|
+
class BarcodesOptions extends ParserOptions {
|
|
1707
|
+
/**
|
|
1708
|
+
* Returns attribute type map
|
|
1709
|
+
*/
|
|
1710
|
+
static getAttributeTypeMap() {
|
|
1711
|
+
return super.getAttributeTypeMap().concat(BarcodesOptions.attributeTypeMap);
|
|
1712
|
+
}
|
|
1713
|
+
constructor(init) {
|
|
1714
|
+
super(init);
|
|
1715
|
+
Object.assign(this, init);
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
exports.BarcodesOptions = BarcodesOptions;
|
|
1719
|
+
/**
|
|
1720
|
+
* Attribute type map
|
|
1721
|
+
*/
|
|
1722
|
+
BarcodesOptions.attributeTypeMap = [
|
|
1723
|
+
{
|
|
1724
|
+
name: "outputPath",
|
|
1725
|
+
baseName: "outputPath",
|
|
1726
|
+
type: "string",
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
name: "startPageNumber",
|
|
1730
|
+
baseName: "startPageNumber",
|
|
1731
|
+
type: "number",
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
name: "countPagesToExtract",
|
|
1735
|
+
baseName: "countPagesToExtract",
|
|
1736
|
+
type: "number",
|
|
1737
|
+
}
|
|
1738
|
+
];
|
|
1739
|
+
/**
|
|
1740
|
+
* Container options.
|
|
1741
|
+
*/
|
|
1742
|
+
class ContainerOptions extends ParserOptions {
|
|
1743
|
+
/**
|
|
1744
|
+
* Returns attribute type map
|
|
1745
|
+
*/
|
|
1746
|
+
static getAttributeTypeMap() {
|
|
1747
|
+
return super.getAttributeTypeMap().concat(ContainerOptions.attributeTypeMap);
|
|
1748
|
+
}
|
|
1749
|
+
constructor(init) {
|
|
1750
|
+
super(init);
|
|
1751
|
+
Object.assign(this, init);
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
exports.ContainerOptions = ContainerOptions;
|
|
1755
|
+
/**
|
|
1756
|
+
* Attribute type map
|
|
1757
|
+
*/
|
|
1758
|
+
ContainerOptions.attributeTypeMap = [];
|
|
1759
|
+
/**
|
|
1760
|
+
* File Version
|
|
1761
|
+
*/
|
|
1762
|
+
class FileVersion extends StorageFile {
|
|
1763
|
+
/**
|
|
1764
|
+
* Returns attribute type map
|
|
1765
|
+
*/
|
|
1766
|
+
static getAttributeTypeMap() {
|
|
1767
|
+
return super.getAttributeTypeMap().concat(FileVersion.attributeTypeMap);
|
|
1768
|
+
}
|
|
1769
|
+
constructor(init) {
|
|
1770
|
+
super(init);
|
|
1771
|
+
Object.assign(this, init);
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
exports.FileVersion = FileVersion;
|
|
1775
|
+
/**
|
|
1776
|
+
* Attribute type map
|
|
1777
|
+
*/
|
|
1778
|
+
FileVersion.attributeTypeMap = [
|
|
1779
|
+
{
|
|
1780
|
+
name: "versionId",
|
|
1781
|
+
baseName: "versionId",
|
|
1782
|
+
type: "string",
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
name: "isLatest",
|
|
1786
|
+
baseName: "isLatest",
|
|
1787
|
+
type: "boolean",
|
|
1788
|
+
}
|
|
1789
|
+
];
|
|
1790
|
+
/**
|
|
1791
|
+
* Image options.
|
|
1792
|
+
*/
|
|
1793
|
+
class ImagesOptions extends ParserOptions {
|
|
1794
|
+
/**
|
|
1795
|
+
* Returns attribute type map
|
|
1796
|
+
*/
|
|
1797
|
+
static getAttributeTypeMap() {
|
|
1798
|
+
return super.getAttributeTypeMap().concat(ImagesOptions.attributeTypeMap);
|
|
1799
|
+
}
|
|
1800
|
+
constructor(init) {
|
|
1801
|
+
super(init);
|
|
1802
|
+
Object.assign(this, init);
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
exports.ImagesOptions = ImagesOptions;
|
|
1806
|
+
/**
|
|
1807
|
+
* Attribute type map
|
|
1808
|
+
*/
|
|
1809
|
+
ImagesOptions.attributeTypeMap = [
|
|
1810
|
+
{
|
|
1811
|
+
name: "outputPath",
|
|
1812
|
+
baseName: "outputPath",
|
|
1813
|
+
type: "string",
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
name: "startPageNumber",
|
|
1817
|
+
baseName: "startPageNumber",
|
|
1818
|
+
type: "number",
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
name: "countPagesToExtract",
|
|
1822
|
+
baseName: "countPagesToExtract",
|
|
1823
|
+
type: "number",
|
|
1824
|
+
}
|
|
1825
|
+
];
|
|
1826
|
+
/**
|
|
1827
|
+
* Info options
|
|
1828
|
+
*/
|
|
1829
|
+
class InfoOptions extends ParserOptions {
|
|
1830
|
+
/**
|
|
1831
|
+
* Returns attribute type map
|
|
1832
|
+
*/
|
|
1833
|
+
static getAttributeTypeMap() {
|
|
1834
|
+
return super.getAttributeTypeMap().concat(InfoOptions.attributeTypeMap);
|
|
1835
|
+
}
|
|
1836
|
+
constructor(init) {
|
|
1837
|
+
super(init);
|
|
1838
|
+
Object.assign(this, init);
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
exports.InfoOptions = InfoOptions;
|
|
1842
|
+
/**
|
|
1843
|
+
* Attribute type map
|
|
1844
|
+
*/
|
|
1845
|
+
InfoOptions.attributeTypeMap = [];
|
|
1846
|
+
/**
|
|
1847
|
+
* Parse options.
|
|
1848
|
+
*/
|
|
1849
|
+
class ParseOptions extends ParserOptions {
|
|
1850
|
+
/**
|
|
1851
|
+
* Returns attribute type map
|
|
1852
|
+
*/
|
|
1853
|
+
static getAttributeTypeMap() {
|
|
1854
|
+
return super.getAttributeTypeMap().concat(ParseOptions.attributeTypeMap);
|
|
1855
|
+
}
|
|
1856
|
+
constructor(init) {
|
|
1857
|
+
super(init);
|
|
1858
|
+
Object.assign(this, init);
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
exports.ParseOptions = ParseOptions;
|
|
1862
|
+
/**
|
|
1863
|
+
* Attribute type map
|
|
1864
|
+
*/
|
|
1865
|
+
ParseOptions.attributeTypeMap = [
|
|
1866
|
+
{
|
|
1867
|
+
name: "template",
|
|
1868
|
+
baseName: "template",
|
|
1869
|
+
type: "Template",
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
name: "templatePath",
|
|
1873
|
+
baseName: "templatePath",
|
|
1874
|
+
type: "string",
|
|
1875
|
+
}
|
|
1876
|
+
];
|
|
1877
|
+
/**
|
|
1878
|
+
* Extract options.
|
|
1879
|
+
*/
|
|
1880
|
+
class TextOptions extends ParserOptions {
|
|
1881
|
+
/**
|
|
1882
|
+
* Returns attribute type map
|
|
1883
|
+
*/
|
|
1884
|
+
static getAttributeTypeMap() {
|
|
1885
|
+
return super.getAttributeTypeMap().concat(TextOptions.attributeTypeMap);
|
|
1886
|
+
}
|
|
1887
|
+
constructor(init) {
|
|
1888
|
+
super(init);
|
|
1889
|
+
Object.assign(this, init);
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
exports.TextOptions = TextOptions;
|
|
1893
|
+
/**
|
|
1894
|
+
* Attribute type map
|
|
1895
|
+
*/
|
|
1896
|
+
TextOptions.attributeTypeMap = [
|
|
1897
|
+
{
|
|
1898
|
+
name: "formattedTextOptions",
|
|
1899
|
+
baseName: "formattedTextOptions",
|
|
1900
|
+
type: "FormattedTextOptions",
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
name: "startPageNumber",
|
|
1904
|
+
baseName: "startPageNumber",
|
|
1905
|
+
type: "number",
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
name: "countPagesToExtract",
|
|
1909
|
+
baseName: "countPagesToExtract",
|
|
1910
|
+
type: "number",
|
|
1911
|
+
}
|
|
1912
|
+
];
|
|
1913
|
+
const enumsMap = {};
|
|
1914
|
+
exports.enumsMap = enumsMap;
|
|
1915
|
+
const typeMap = {
|
|
1916
|
+
Barcode,
|
|
1917
|
+
BarcodePage,
|
|
1918
|
+
BarcodesResult,
|
|
1919
|
+
ContainerItem,
|
|
1920
|
+
ContainerItemInfo,
|
|
1921
|
+
ContainerResult,
|
|
1922
|
+
Coordinates,
|
|
1923
|
+
CreateTemplateOptions,
|
|
1924
|
+
DetectorParameters,
|
|
1925
|
+
DiscUsage,
|
|
1926
|
+
ErrorDetails,
|
|
1927
|
+
Field,
|
|
1928
|
+
FieldData,
|
|
1929
|
+
FieldPosition,
|
|
1930
|
+
FileInfo,
|
|
1931
|
+
FileType,
|
|
1932
|
+
FileVersions,
|
|
1933
|
+
FilesList,
|
|
1934
|
+
FilesUploadResult,
|
|
1935
|
+
Format,
|
|
1936
|
+
FormatsResult,
|
|
1937
|
+
FormattedTextOptions,
|
|
1938
|
+
Image,
|
|
1939
|
+
ImagePage,
|
|
1940
|
+
ImagesResult,
|
|
1941
|
+
InfoResult,
|
|
1942
|
+
ModelError,
|
|
1943
|
+
ObjectExist,
|
|
1944
|
+
Page,
|
|
1945
|
+
PageArea,
|
|
1946
|
+
PageTableArea,
|
|
1947
|
+
PageTableAreaCell,
|
|
1948
|
+
PageTextArea,
|
|
1949
|
+
ParseResult,
|
|
1950
|
+
ParserOptions,
|
|
1951
|
+
Point,
|
|
1952
|
+
Rectangle,
|
|
1953
|
+
Size,
|
|
1954
|
+
StorageExist,
|
|
1955
|
+
StorageFile,
|
|
1956
|
+
Table,
|
|
1957
|
+
TableLayout,
|
|
1958
|
+
Template,
|
|
1959
|
+
TemplateOptions,
|
|
1960
|
+
TemplateResult,
|
|
1961
|
+
TextPage,
|
|
1962
|
+
TextResult,
|
|
1963
|
+
TextStyle,
|
|
1964
|
+
AIParseOptions,
|
|
1965
|
+
BarcodesOptions,
|
|
1966
|
+
ContainerOptions,
|
|
1967
|
+
FileVersion,
|
|
1968
|
+
ImagesOptions,
|
|
1969
|
+
InfoOptions,
|
|
1970
|
+
ParseOptions,
|
|
1971
|
+
TextOptions,
|
|
1972
|
+
};
|
|
1973
|
+
exports.typeMap = typeMap;
|
|
1974
|
+
/**
|
|
1975
|
+
* Request model for CopyFile operation.
|
|
1976
|
+
*/
|
|
1977
|
+
class CopyFileRequest {
|
|
1978
|
+
constructor(srcPath, destPath, srcStorageName, destStorageName, versionId) {
|
|
1979
|
+
this.srcPath = srcPath;
|
|
1980
|
+
this.destPath = destPath;
|
|
1981
|
+
this.srcStorageName = srcStorageName;
|
|
1982
|
+
this.destStorageName = destStorageName;
|
|
1983
|
+
this.versionId = versionId;
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
exports.CopyFileRequest = CopyFileRequest;
|
|
1987
|
+
/**
|
|
1988
|
+
* Request model for DeleteFile operation.
|
|
1989
|
+
*/
|
|
1990
|
+
class DeleteFileRequest {
|
|
1991
|
+
constructor(path, storageName, versionId) {
|
|
1992
|
+
this.path = path;
|
|
1993
|
+
this.storageName = storageName;
|
|
1994
|
+
this.versionId = versionId;
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
exports.DeleteFileRequest = DeleteFileRequest;
|
|
1998
|
+
/**
|
|
1999
|
+
* Request model for DownloadFile operation.
|
|
2000
|
+
*/
|
|
2001
|
+
class DownloadFileRequest {
|
|
2002
|
+
constructor(path, storageName, versionId) {
|
|
2003
|
+
this.path = path;
|
|
2004
|
+
this.storageName = storageName;
|
|
2005
|
+
this.versionId = versionId;
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
exports.DownloadFileRequest = DownloadFileRequest;
|
|
2009
|
+
/**
|
|
2010
|
+
* Request model for MoveFile operation.
|
|
2011
|
+
*/
|
|
2012
|
+
class MoveFileRequest {
|
|
2013
|
+
constructor(srcPath, destPath, srcStorageName, destStorageName, versionId) {
|
|
2014
|
+
this.srcPath = srcPath;
|
|
2015
|
+
this.destPath = destPath;
|
|
2016
|
+
this.srcStorageName = srcStorageName;
|
|
2017
|
+
this.destStorageName = destStorageName;
|
|
2018
|
+
this.versionId = versionId;
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
exports.MoveFileRequest = MoveFileRequest;
|
|
2022
|
+
/**
|
|
2023
|
+
* Request model for UploadFile operation.
|
|
2024
|
+
*/
|
|
2025
|
+
class UploadFileRequest {
|
|
2026
|
+
constructor(path, file, storageName) {
|
|
2027
|
+
this.path = path;
|
|
2028
|
+
this.file = file;
|
|
2029
|
+
this.storageName = storageName;
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
exports.UploadFileRequest = UploadFileRequest;
|
|
2033
|
+
/**
|
|
2034
|
+
* Request model for CopyFolder operation.
|
|
2035
|
+
*/
|
|
2036
|
+
class CopyFolderRequest {
|
|
2037
|
+
constructor(srcPath, destPath, srcStorageName, destStorageName) {
|
|
2038
|
+
this.srcPath = srcPath;
|
|
2039
|
+
this.destPath = destPath;
|
|
2040
|
+
this.srcStorageName = srcStorageName;
|
|
2041
|
+
this.destStorageName = destStorageName;
|
|
2042
|
+
}
|
|
2043
|
+
}
|
|
2044
|
+
exports.CopyFolderRequest = CopyFolderRequest;
|
|
2045
|
+
/**
|
|
2046
|
+
* Request model for CreateFolder operation.
|
|
2047
|
+
*/
|
|
2048
|
+
class CreateFolderRequest {
|
|
2049
|
+
constructor(path, storageName) {
|
|
2050
|
+
this.path = path;
|
|
2051
|
+
this.storageName = storageName;
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
exports.CreateFolderRequest = CreateFolderRequest;
|
|
2055
|
+
/**
|
|
2056
|
+
* Request model for DeleteFolder operation.
|
|
2057
|
+
*/
|
|
2058
|
+
class DeleteFolderRequest {
|
|
2059
|
+
constructor(path, storageName, recursive) {
|
|
2060
|
+
this.path = path;
|
|
2061
|
+
this.storageName = storageName;
|
|
2062
|
+
this.recursive = recursive;
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
exports.DeleteFolderRequest = DeleteFolderRequest;
|
|
2066
|
+
/**
|
|
2067
|
+
* Request model for GetFilesList operation.
|
|
2068
|
+
*/
|
|
2069
|
+
class GetFilesListRequest {
|
|
2070
|
+
constructor(path, storageName) {
|
|
2071
|
+
this.path = path;
|
|
2072
|
+
this.storageName = storageName;
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
exports.GetFilesListRequest = GetFilesListRequest;
|
|
2076
|
+
/**
|
|
2077
|
+
* Request model for MoveFolder operation.
|
|
2078
|
+
*/
|
|
2079
|
+
class MoveFolderRequest {
|
|
2080
|
+
constructor(srcPath, destPath, srcStorageName, destStorageName) {
|
|
2081
|
+
this.srcPath = srcPath;
|
|
2082
|
+
this.destPath = destPath;
|
|
2083
|
+
this.srcStorageName = srcStorageName;
|
|
2084
|
+
this.destStorageName = destStorageName;
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
exports.MoveFolderRequest = MoveFolderRequest;
|
|
2088
|
+
/**
|
|
2089
|
+
* Request model for Container operation.
|
|
2090
|
+
*/
|
|
2091
|
+
class ContainerRequest {
|
|
2092
|
+
constructor(options) {
|
|
2093
|
+
this.options = options;
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
exports.ContainerRequest = ContainerRequest;
|
|
2097
|
+
/**
|
|
2098
|
+
* Request model for GetInfo operation.
|
|
2099
|
+
*/
|
|
2100
|
+
class GetInfoRequest {
|
|
2101
|
+
constructor(options) {
|
|
2102
|
+
this.options = options;
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
exports.GetInfoRequest = GetInfoRequest;
|
|
2106
|
+
/**
|
|
2107
|
+
* Request model for AIParse operation.
|
|
2108
|
+
*/
|
|
2109
|
+
class AIParseRequest {
|
|
2110
|
+
constructor(options) {
|
|
2111
|
+
this.options = options;
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
exports.AIParseRequest = AIParseRequest;
|
|
2115
|
+
/**
|
|
2116
|
+
* Request model for Barcodes operation.
|
|
2117
|
+
*/
|
|
2118
|
+
class BarcodesRequest {
|
|
2119
|
+
constructor(options) {
|
|
2120
|
+
this.options = options;
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
exports.BarcodesRequest = BarcodesRequest;
|
|
2124
|
+
/**
|
|
2125
|
+
* Request model for Images operation.
|
|
2126
|
+
*/
|
|
2127
|
+
class ImagesRequest {
|
|
2128
|
+
constructor(options) {
|
|
2129
|
+
this.options = options;
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
exports.ImagesRequest = ImagesRequest;
|
|
2133
|
+
/**
|
|
2134
|
+
* Request model for Parse operation.
|
|
2135
|
+
*/
|
|
2136
|
+
class ParseRequest {
|
|
2137
|
+
constructor(options) {
|
|
2138
|
+
this.options = options;
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
exports.ParseRequest = ParseRequest;
|
|
2142
|
+
/**
|
|
2143
|
+
* Request model for Text operation.
|
|
2144
|
+
*/
|
|
2145
|
+
class TextRequest {
|
|
2146
|
+
constructor(options) {
|
|
2147
|
+
this.options = options;
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
exports.TextRequest = TextRequest;
|
|
2151
|
+
/**
|
|
2152
|
+
* Request model for GetDiscUsage operation.
|
|
2153
|
+
*/
|
|
2154
|
+
class GetDiscUsageRequest {
|
|
2155
|
+
constructor(storageName) {
|
|
2156
|
+
this.storageName = storageName;
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
exports.GetDiscUsageRequest = GetDiscUsageRequest;
|
|
2160
|
+
/**
|
|
2161
|
+
* Request model for GetFileVersions operation.
|
|
2162
|
+
*/
|
|
2163
|
+
class GetFileVersionsRequest {
|
|
2164
|
+
constructor(path, storageName) {
|
|
2165
|
+
this.path = path;
|
|
2166
|
+
this.storageName = storageName;
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
exports.GetFileVersionsRequest = GetFileVersionsRequest;
|
|
2170
|
+
/**
|
|
2171
|
+
* Request model for ObjectExists operation.
|
|
2172
|
+
*/
|
|
2173
|
+
class ObjectExistsRequest {
|
|
2174
|
+
constructor(path, storageName, versionId) {
|
|
2175
|
+
this.path = path;
|
|
2176
|
+
this.storageName = storageName;
|
|
2177
|
+
this.versionId = versionId;
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
exports.ObjectExistsRequest = ObjectExistsRequest;
|
|
2181
|
+
/**
|
|
2182
|
+
* Request model for StorageExists operation.
|
|
2183
|
+
*/
|
|
2184
|
+
class StorageExistsRequest {
|
|
2185
|
+
constructor(storageName) {
|
|
2186
|
+
this.storageName = storageName;
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
exports.StorageExistsRequest = StorageExistsRequest;
|
|
2190
|
+
/**
|
|
2191
|
+
* Request model for CreateTemplate operation.
|
|
2192
|
+
*/
|
|
2193
|
+
class CreateTemplateRequest {
|
|
2194
|
+
constructor(options) {
|
|
2195
|
+
this.options = options;
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
exports.CreateTemplateRequest = CreateTemplateRequest;
|
|
2199
|
+
/**
|
|
2200
|
+
* Request model for DeleteTemplate operation.
|
|
2201
|
+
*/
|
|
2202
|
+
class DeleteTemplateRequest {
|
|
2203
|
+
constructor(options) {
|
|
2204
|
+
this.options = options;
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
exports.DeleteTemplateRequest = DeleteTemplateRequest;
|
|
2208
|
+
/**
|
|
2209
|
+
* Request model for GetTemplate operation.
|
|
2210
|
+
*/
|
|
2211
|
+
class GetTemplateRequest {
|
|
2212
|
+
constructor(options) {
|
|
2213
|
+
this.options = options;
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
exports.GetTemplateRequest = GetTemplateRequest;
|