@semantha/product-sdk 9.3.3 → 9.3.5

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.
Files changed (49) hide show
  1. package/dist/{chunk-F5JCME7D.js → chunk-42V6ET2L.js} +2 -2
  2. package/dist/{chunk-F5JCME7D.js.map → chunk-42V6ET2L.js.map} +1 -1
  3. package/dist/{chunk-IISTQOX3.js → chunk-4GQLGD5G.js} +2 -2
  4. package/dist/{chunk-IISTQOX3.js.map → chunk-4GQLGD5G.js.map} +1 -1
  5. package/dist/{chunk-Y763UUOV.mjs → chunk-5LVSCZPN.mjs} +2 -2
  6. package/dist/{chunk-Y763UUOV.mjs.map → chunk-5LVSCZPN.mjs.map} +1 -1
  7. package/dist/{chunk-I2MRAQSD.mjs → chunk-7HYARBNP.mjs} +2 -2
  8. package/dist/{chunk-I2MRAQSD.mjs.map → chunk-7HYARBNP.mjs.map} +1 -1
  9. package/dist/{chunk-OP5BUX5G.js → chunk-EWH4N3WH.js} +2 -2
  10. package/dist/{chunk-OP5BUX5G.js.map → chunk-EWH4N3WH.js.map} +1 -1
  11. package/dist/chunk-L3NE3MB6.mjs +2 -0
  12. package/dist/chunk-L3NE3MB6.mjs.map +1 -0
  13. package/dist/{chunk-7Y3CRYXW.mjs → chunk-OYJIIC7E.mjs} +2 -2
  14. package/dist/{chunk-7Y3CRYXW.mjs.map → chunk-OYJIIC7E.mjs.map} +1 -1
  15. package/dist/chunk-PSWCXZCM.js +2 -0
  16. package/dist/chunk-PSWCXZCM.js.map +1 -0
  17. package/dist/file-box/api/index.js +1 -1
  18. package/dist/file-box/api/index.mjs +1 -1
  19. package/dist/file-box/index.js +1 -1
  20. package/dist/file-box/index.mjs +1 -1
  21. package/dist/requirements/api/index.d.mts +48 -15
  22. package/dist/requirements/api/index.d.ts +48 -15
  23. package/dist/requirements/api/index.js +1 -1
  24. package/dist/requirements/api/index.js.map +1 -1
  25. package/dist/requirements/api/index.mjs +1 -1
  26. package/dist/requirements/api/index.mjs.map +1 -1
  27. package/dist/requirements/model/index.d.mts +643 -3
  28. package/dist/requirements/model/index.d.ts +643 -3
  29. package/dist/rest/index.d.mts +3 -2
  30. package/dist/rest/index.d.ts +3 -2
  31. package/dist/rest/index.js +1 -1
  32. package/dist/rest/index.mjs +1 -1
  33. package/dist/structure-navigator/api/index.js +1 -1
  34. package/dist/structure-navigator/api/index.mjs +1 -1
  35. package/dist/structure-navigator/index.js +1 -1
  36. package/dist/structure-navigator/index.mjs +1 -1
  37. package/dist/table-extractor/api/index.js +1 -1
  38. package/dist/table-extractor/api/index.mjs +1 -1
  39. package/dist/tracking/api/index.js +1 -1
  40. package/dist/tracking/api/index.mjs +1 -1
  41. package/dist/tracking/index.js +1 -1
  42. package/dist/tracking/index.mjs +1 -1
  43. package/package.json +1 -1
  44. package/dist/chunk-DOK44NQJ.mjs +0 -2
  45. package/dist/chunk-DOK44NQJ.mjs.map +0 -1
  46. package/dist/chunk-Z3N63BWG.js +0 -2
  47. package/dist/chunk-Z3N63BWG.js.map +0 -1
  48. package/dist/promptResult-DMk78LDb.d.mts +0 -644
  49. package/dist/promptResult-DMk78LDb.d.ts +0 -644
@@ -1,5 +1,465 @@
1
- import { E as EvaluationOverview } from '../../promptResult-DMk78LDb.js';
2
- export { A as AnalysesReport, a as Analysis, b as AnalysisCreation, c as AnalysisInput, d as AnalysisReport, f as AnalysisReportTypeEnum, e as AnalysisReportTypeEnumValues, g as AnalysisResult, h as AnalysisResultComment, k as AnalysisSourceEnum, j as AnalysisSourceEnumValues, m as AnalysisStats, o as AnalysisStatusEnum, n as AnalysisStatusEnumValues, r as AnalysisTypeEnum, q as AnalysisTypeEnumValues, t as AnnotationCell, u as AnnotationPage, v as Attachment, w as Attribute, C as Char, x as Classification, y as CurrentUser, D as Distance, z as Document, B as DocumentNamedEntity, F as DocumentTable, G as Entity, H as Evaluation, I as ExcelTemplateColumnConfig, K as ExcelTemplateColumnConfigHeaderTypeEnum, J as ExcelTemplateColumnConfigHeaderTypeEnumValues, M as ExcelTemplateDetails, N as ExtendedReference, O as Features, P as FormDataContentDisposition, Q as FormatInformation, R as Link, T as ModeEnum, S as ModeEnumValues, V as Page, W as PageContent, X as Paragraph, Y as PromptResult, Z as Rect, _ as Reference, $ as Row, a0 as Sentence, a1 as TableCell, i as isAnalysisReportTypeEnumValue, l as isAnalysisSourceEnumValue, p as isAnalysisStatusEnumValue, s as isAnalysisTypeEnumValue, L as isExcelTemplateColumnConfigHeaderTypeEnumValue, U as isModeEnumValue } from '../../promptResult-DMk78LDb.js';
1
+ /**
2
+ * @author semantha
3
+ *
4
+ * This is a generated file do not change manually!
5
+ */
6
+ interface AnalysisStats {
7
+ countIdenticalMatches?: number;
8
+ countTotalResults?: number;
9
+ countGoodMatches?: number;
10
+ countSimilarMatches?: number;
11
+ countNoMatches?: number;
12
+ }
13
+
14
+ /**
15
+ * @author semantha
16
+ *
17
+ * This is a generated file do not change manually!
18
+ */
19
+ interface AnalysisReport {
20
+ id?: string;
21
+ name?: string;
22
+ created?: number;
23
+ type?: AnalysisReportTypeEnum;
24
+ stats?: AnalysisStats;
25
+ tags?: string;
26
+ documentClassIds?: string[];
27
+ projectId?: string;
28
+ space?: string;
29
+ }
30
+
31
+ /**
32
+ * @author semantha
33
+ *
34
+ * This is a generated file do not change manually!
35
+ */
36
+ interface AnalysesReport {
37
+ analysisReports?: AnalysisReport[];
38
+ statsSummary?: AnalysisStats;
39
+ }
40
+
41
+ /**
42
+ * @author semantha
43
+ *
44
+ * This is a generated file do not change manually!
45
+ */
46
+ interface Analysis {
47
+ id?: string;
48
+ name?: string;
49
+ strategy?: string;
50
+ maxReferences?: number;
51
+ similarityThreshold?: number;
52
+ created?: number;
53
+ tags?: string;
54
+ documentClassIds?: string[];
55
+ status?: AnalysisStatusEnum;
56
+ progressState?: number;
57
+ goodMatchesThreshold?: number;
58
+ matchAllReferences?: boolean;
59
+ showDocumentScore?: boolean;
60
+ minDocumentScore?: number;
61
+ source?: AnalysisSourceEnum;
62
+ type?: AnalysisTypeEnum;
63
+ stats?: AnalysisStats;
64
+ }
65
+
66
+ /**
67
+ * @author semantha
68
+ *
69
+ * This is a generated file do not change manually!
70
+ */
71
+ interface Attachment {
72
+ name?: string;
73
+ }
74
+
75
+ /**
76
+ * @author semantha
77
+ *
78
+ * This is a generated file do not change manually!
79
+ */
80
+ interface Entity {
81
+ name: string;
82
+ id?: string;
83
+ }
84
+
85
+ /**
86
+ * @author semantha
87
+ *
88
+ * This is a generated file do not change manually!
89
+ */
90
+ interface FormatInformation {
91
+ id?: number;
92
+ textType?: string;
93
+ fontsize?: number;
94
+ bold?: boolean;
95
+ italic?: boolean;
96
+ count?: number;
97
+ targetTextType?: string;
98
+ }
99
+
100
+ /**
101
+ * @author semantha
102
+ *
103
+ * This is a generated file do not change manually!
104
+ */
105
+ interface Distance {
106
+ top?: number;
107
+ bottom?: number;
108
+ left?: number;
109
+ right?: number;
110
+ }
111
+
112
+ /**
113
+ * @author semantha
114
+ *
115
+ * This is a generated file do not change manually!
116
+ */
117
+ interface Features {
118
+ distance?: Distance;
119
+ fontSize?: number;
120
+ bold?: boolean;
121
+ italic?: boolean;
122
+ page?: number;
123
+ pageRev?: number;
124
+ pageWidth?: number;
125
+ pageAspectRatio?: number;
126
+ uppercase?: boolean;
127
+ startsWith?: string;
128
+ containsText?: boolean;
129
+ language?: string;
130
+ relativeFontsize?: string;
131
+ }
132
+
133
+ /**
134
+ * @author semantha
135
+ *
136
+ * This is a generated file do not change manually!
137
+ */
138
+ interface Rect {
139
+ x: number;
140
+ y: number;
141
+ width: number;
142
+ height: number;
143
+ page: number;
144
+ }
145
+
146
+ /**
147
+ * @author semantha
148
+ *
149
+ * This is a generated file do not change manually!
150
+ */
151
+ interface AnnotationCell {
152
+ bbox?: Rect;
153
+ type?: string;
154
+ features?: Features;
155
+ }
156
+
157
+ /**
158
+ * @author semantha
159
+ *
160
+ * This is a generated file do not change manually!
161
+ */
162
+ interface AnnotationPage {
163
+ height?: number;
164
+ width?: number;
165
+ pageNumber?: number;
166
+ ignorePage?: boolean;
167
+ cells?: AnnotationCell[];
168
+ }
169
+
170
+ /**
171
+ * @author semantha
172
+ *
173
+ * This is a generated file do not change manually!
174
+ */
175
+ interface TableCell {
176
+ text?: string;
177
+ }
178
+
179
+ /**
180
+ * @author semantha
181
+ *
182
+ * This is a generated file do not change manually!
183
+ */
184
+ interface Row {
185
+ cells?: TableCell[];
186
+ }
187
+
188
+ /**
189
+ * @author semantha
190
+ *
191
+ * This is a generated file do not change manually!
192
+ */
193
+ interface DocumentTable {
194
+ rows?: Row[];
195
+ }
196
+
197
+ /**
198
+ * @author semantha
199
+ *
200
+ * This is a generated file do not change manually!
201
+ */
202
+ interface Link {
203
+ documentId?: string;
204
+ documentName?: string;
205
+ paragraphId?: string;
206
+ }
207
+
208
+ /**
209
+ * @author semantha
210
+ *
211
+ * This is a generated file do not change manually!
212
+ */
213
+ interface Reference {
214
+ documentId?: string;
215
+ documentName?: string;
216
+ pageNumber?: number;
217
+ paragraphId?: string;
218
+ sentenceId?: string;
219
+ similarity?: number;
220
+ text?: string;
221
+ context?: {
222
+ [key: string]: string;
223
+ };
224
+ dataUrlImage?: string;
225
+ type?: string;
226
+ color?: string;
227
+ comment?: string;
228
+ hasOppositeMeaning?: boolean;
229
+ }
230
+
231
+ /**
232
+ * @author semantha
233
+ *
234
+ * This is a generated file do not change manually!
235
+ */
236
+ interface Char {
237
+ character: string;
238
+ area?: Rect;
239
+ }
240
+
241
+ /**
242
+ * @author semantha
243
+ *
244
+ * This is a generated file do not change manually!
245
+ */
246
+ interface DocumentNamedEntity {
247
+ name?: string;
248
+ text?: string;
249
+ }
250
+
251
+ /**
252
+ * @author semantha
253
+ *
254
+ * This is a generated file do not change manually!
255
+ */
256
+ interface Sentence {
257
+ id?: string;
258
+ text?: string;
259
+ documentName?: string;
260
+ namedEntities?: DocumentNamedEntity[];
261
+ references?: Reference[];
262
+ areas?: Rect[];
263
+ characters?: Char[];
264
+ }
265
+
266
+ /**
267
+ * @author semantha
268
+ *
269
+ * This is a generated file do not change manually!
270
+ */
271
+ interface Paragraph {
272
+ text?: string;
273
+ type?: string;
274
+ id?: string;
275
+ documentName?: string;
276
+ sentences?: Sentence[];
277
+ references?: Reference[];
278
+ context?: {
279
+ [key: string]: string;
280
+ };
281
+ areas?: Rect[];
282
+ links?: Link[];
283
+ name?: string;
284
+ tags?: string[];
285
+ comment?: string;
286
+ verified?: boolean;
287
+ dataUrlImage?: string;
288
+ formatId?: number;
289
+ }
290
+
291
+ /**
292
+ * @author semantha
293
+ *
294
+ * This is a generated file do not change manually!
295
+ */
296
+ interface PageContent {
297
+ paragraphs?: Paragraph[];
298
+ }
299
+
300
+ /**
301
+ * @author semantha
302
+ *
303
+ * This is a generated file do not change manually!
304
+ */
305
+ interface Page {
306
+ contents?: PageContent[];
307
+ paragraphs?: Paragraph[];
308
+ tables?: DocumentTable[];
309
+ annotationPage?: AnnotationPage;
310
+ }
311
+
312
+ /**
313
+ * @author semantha
314
+ *
315
+ * This is a generated file do not change manually!
316
+ */
317
+ interface AnalysisInput {
318
+ id?: string;
319
+ name?: string;
320
+ tags?: string[];
321
+ metadata?: string;
322
+ filename?: string;
323
+ created?: number;
324
+ updated?: number;
325
+ ignored?: boolean;
326
+ processed?: boolean;
327
+ lang?: string;
328
+ content?: string;
329
+ documentClass?: Entity;
330
+ derivedTags?: string[];
331
+ color?: string;
332
+ derivedColor?: string;
333
+ comment?: string;
334
+ derivedComment?: string;
335
+ contentPreview?: string;
336
+ mimeType?: string;
337
+ attachments?: Attachment[];
338
+ pages?: Page[];
339
+ references?: Reference[];
340
+ imagePages?: string[];
341
+ formatInformations?: FormatInformation[];
342
+ context?: {
343
+ [key: string]: string;
344
+ };
345
+ additionalInfo?: string;
346
+ documentClassId?: string;
347
+ }
348
+
349
+ /**
350
+ * @author semantha
351
+ *
352
+ * This is a generated file do not change manually!
353
+ */
354
+ interface AnalysisCreation {
355
+ analysisData: AnalysisInput[];
356
+ name: string;
357
+ threshold?: number;
358
+ strategy?: string;
359
+ limit?: number;
360
+ goodMatchesThreshold?: number;
361
+ matchAllReferences?: boolean;
362
+ showDocumentScore?: boolean;
363
+ tagsFilter?: string;
364
+ documentClassIdsFilter?: string[];
365
+ }
366
+
367
+ /**
368
+ * @author semantha
369
+ *
370
+ * This is a generated file do not change manually!
371
+ */
372
+ declare const AnalysisReportTypeEnumValues: readonly ["EXCEL", "PDF", "POLARION", "STRUCTURE_NAVIGATOR"];
373
+ type AnalysisReportTypeEnum = (typeof AnalysisReportTypeEnumValues)[number];
374
+ declare function isAnalysisReportTypeEnumValue(value: any): value is AnalysisReportTypeEnum;
375
+
376
+ /**
377
+ * @author semantha
378
+ *
379
+ * This is a generated file do not change manually!
380
+ */
381
+ interface Document {
382
+ id?: string;
383
+ name?: string;
384
+ tags?: string[];
385
+ metadata?: string;
386
+ filename?: string;
387
+ created?: number;
388
+ updated?: number;
389
+ ignored?: boolean;
390
+ processed?: boolean;
391
+ lang?: string;
392
+ content?: string;
393
+ documentClass?: Entity;
394
+ derivedTags?: string[];
395
+ color?: string;
396
+ derivedColor?: string;
397
+ comment?: string;
398
+ derivedComment?: string;
399
+ contentPreview?: string;
400
+ mimeType?: string;
401
+ attachments?: Attachment[];
402
+ pages?: Page[];
403
+ references?: Reference[];
404
+ imagePages?: string[];
405
+ formatInformations?: FormatInformation[];
406
+ documentClassId?: string;
407
+ }
408
+
409
+ /**
410
+ * @author semantha
411
+ *
412
+ * This is a generated file do not change manually!
413
+ */
414
+ interface EvaluationOverview {
415
+ id?: string;
416
+ score?: number;
417
+ withoutTags?: boolean;
418
+ tag?: string;
419
+ underThreshold?: boolean;
420
+ contextDiff?: boolean;
421
+ }
422
+
423
+ /**
424
+ * @author semantha
425
+ *
426
+ * This is a generated file do not change manually!
427
+ */
428
+ interface AnalysisResult {
429
+ id?: string;
430
+ name?: string;
431
+ status?: string;
432
+ classification?: string;
433
+ evaluations?: EvaluationOverview[];
434
+ edited?: boolean;
435
+ analysis?: string;
436
+ comment?: string;
437
+ text?: string;
438
+ context?: {
439
+ [key: string]: string;
440
+ };
441
+ document?: Document;
442
+ referenceDocumentId?: string;
443
+ referenceDocumentName?: string;
444
+ referenceParagraphId?: string;
445
+ referenceText?: string;
446
+ referenceContext?: {
447
+ [key: string]: string;
448
+ };
449
+ referenceDocument?: Document;
450
+ referenceMetadata?: string;
451
+ documentClass?: Entity;
452
+ hasAdditionalMatches?: boolean;
453
+ }
454
+
455
+ /**
456
+ * @author semantha
457
+ *
458
+ * This is a generated file do not change manually!
459
+ */
460
+ interface AnalysisResultComment {
461
+ text: string;
462
+ }
3
463
 
4
464
  /**
5
465
  * @author semantha
@@ -17,4 +477,184 @@ interface AnalysisResultOverview {
17
477
  comment?: string;
18
478
  }
19
479
 
20
- export { type AnalysisResultOverview, EvaluationOverview };
480
+ /**
481
+ * @author semantha
482
+ *
483
+ * This is a generated file do not change manually!
484
+ */
485
+ declare const AnalysisSourceEnumValues: readonly ["EXCEL", "PDF", "POLARION", "STRUCTURE_NAVIGATOR"];
486
+ type AnalysisSourceEnum = (typeof AnalysisSourceEnumValues)[number];
487
+ declare function isAnalysisSourceEnumValue(value: any): value is AnalysisSourceEnum;
488
+
489
+ /**
490
+ * @author semantha
491
+ *
492
+ * This is a generated file do not change manually!
493
+ */
494
+ declare const AnalysisStatusEnumValues: readonly ["INITIALIZING", "QUEUED", "IN_PROGRESS", "FINISHED", "UPDATING_RESULTS", "ERROR", "UNKNOWN", "CANCELLED", "EMPTY", "LIMIT_EXCEEDED"];
495
+ type AnalysisStatusEnum = (typeof AnalysisStatusEnumValues)[number];
496
+ declare function isAnalysisStatusEnumValue(value: any): value is AnalysisStatusEnum;
497
+
498
+ /**
499
+ * @author semantha
500
+ *
501
+ * This is a generated file do not change manually!
502
+ */
503
+ declare const AnalysisTypeEnumValues: readonly ["SIMILARITY", "PROMPT"];
504
+ type AnalysisTypeEnum = (typeof AnalysisTypeEnumValues)[number];
505
+ declare function isAnalysisTypeEnumValue(value: any): value is AnalysisTypeEnum;
506
+
507
+ /**
508
+ * @author semantha
509
+ *
510
+ * This is a generated file do not change manually!
511
+ */
512
+ interface Attribute {
513
+ key?: string;
514
+ name?: string;
515
+ value?: string;
516
+ }
517
+
518
+ /**
519
+ * @author semantha
520
+ *
521
+ * This is a generated file do not change manually!
522
+ */
523
+ interface Classification {
524
+ id?: string;
525
+ name?: string;
526
+ }
527
+
528
+ /**
529
+ * @author semantha
530
+ *
531
+ * This is a generated file do not change manually!
532
+ */
533
+ interface CurrentUser {
534
+ name: string;
535
+ validUntil: number;
536
+ roles?: string[];
537
+ }
538
+
539
+ /**
540
+ * @author semantha
541
+ *
542
+ * This is a generated file do not change manually!
543
+ */
544
+ interface ExtendedReference {
545
+ documentId?: string;
546
+ documentName?: string;
547
+ pageNumber?: number;
548
+ paragraphId?: string;
549
+ sentenceId?: string;
550
+ similarity?: number;
551
+ text?: string;
552
+ context?: {
553
+ [key: string]: string;
554
+ };
555
+ dataUrlImage?: string;
556
+ type?: string;
557
+ color?: string;
558
+ comment?: string;
559
+ hasOppositeMeaning?: boolean;
560
+ tags?: string[];
561
+ metadata?: string;
562
+ used?: boolean;
563
+ documentClass?: Entity;
564
+ contextDiff?: boolean;
565
+ id?: string;
566
+ referenceText?: string;
567
+ }
568
+
569
+ /**
570
+ * @author semantha
571
+ *
572
+ * This is a generated file do not change manually!
573
+ */
574
+ interface Evaluation {
575
+ id?: string;
576
+ score?: number;
577
+ withoutTags?: boolean;
578
+ tag?: string;
579
+ underThreshold?: boolean;
580
+ contextDiff?: boolean;
581
+ references?: ExtendedReference[];
582
+ }
583
+
584
+ /**
585
+ * @author semantha
586
+ *
587
+ * This is a generated file do not change manually!
588
+ */
589
+ interface ExcelTemplateColumnConfig {
590
+ columnHeaderId: string;
591
+ defaultColumnName?: string;
592
+ customColumnName?: string;
593
+ order?: number;
594
+ headerType?: ExcelTemplateColumnConfigHeaderTypeEnum;
595
+ hidden?: boolean;
596
+ sampleData?: string[];
597
+ }
598
+
599
+ /**
600
+ * @author semantha
601
+ *
602
+ * This is a generated file do not change manually!
603
+ */
604
+ declare const ExcelTemplateColumnConfigHeaderTypeEnumValues: readonly ["DEFAULT_COLUMN", "PLACEHOLDER_COLUMN", "EDITABLE_PLACEHOLDER_COLUMN"];
605
+ type ExcelTemplateColumnConfigHeaderTypeEnum = (typeof ExcelTemplateColumnConfigHeaderTypeEnumValues)[number];
606
+ declare function isExcelTemplateColumnConfigHeaderTypeEnumValue(value: any): value is ExcelTemplateColumnConfigHeaderTypeEnum;
607
+
608
+ /**
609
+ * @author semantha
610
+ *
611
+ * This is a generated file do not change manually!
612
+ */
613
+ interface ExcelTemplateDetails {
614
+ name: string;
615
+ columnConfigs: ExcelTemplateColumnConfig[];
616
+ id?: string;
617
+ }
618
+
619
+ /**
620
+ * @author semantha
621
+ *
622
+ * This is a generated file do not change manually!
623
+ */
624
+ interface FormDataContentDisposition {
625
+ type?: string;
626
+ parameters?: {
627
+ [key: string]: string;
628
+ };
629
+ fileName?: string;
630
+ creationDate?: string;
631
+ modificationDate?: string;
632
+ readDate?: string;
633
+ size?: number;
634
+ name?: string;
635
+ }
636
+
637
+ /**
638
+ * @author semantha
639
+ *
640
+ * This is a generated file do not change manually!
641
+ */
642
+ declare const ModeEnumValues: readonly ["fingerprint", "keyword", "document", "document_fingerprint", "fingerprint_keyword", "auto"];
643
+ type ModeEnum = (typeof ModeEnumValues)[number];
644
+ declare function isModeEnumValue(value: any): value is ModeEnum;
645
+
646
+ /**
647
+ * @author semantha
648
+ *
649
+ * This is a generated file do not change manually!
650
+ */
651
+ interface PromptResult {
652
+ name: string;
653
+ id?: string;
654
+ text?: string;
655
+ answer?: string;
656
+ status?: string;
657
+ customAttributes?: Attribute[];
658
+ }
659
+
660
+ export { type AnalysesReport, type Analysis, type AnalysisCreation, type AnalysisInput, type AnalysisReport, type AnalysisReportTypeEnum, AnalysisReportTypeEnumValues, type AnalysisResult, type AnalysisResultComment, type AnalysisResultOverview, type AnalysisSourceEnum, AnalysisSourceEnumValues, type AnalysisStats, type AnalysisStatusEnum, AnalysisStatusEnumValues, type AnalysisTypeEnum, AnalysisTypeEnumValues, type AnnotationCell, type AnnotationPage, type Attachment, type Attribute, type Char, type Classification, type CurrentUser, type Distance, type Document, type DocumentNamedEntity, type DocumentTable, type Entity, type Evaluation, type EvaluationOverview, type ExcelTemplateColumnConfig, type ExcelTemplateColumnConfigHeaderTypeEnum, ExcelTemplateColumnConfigHeaderTypeEnumValues, type ExcelTemplateDetails, type ExtendedReference, type Features, type FormDataContentDisposition, type FormatInformation, type Link, type ModeEnum, ModeEnumValues, type Page, type PageContent, type Paragraph, type PromptResult, type Rect, type Reference, type Row, type Sentence, type TableCell, isAnalysisReportTypeEnumValue, isAnalysisSourceEnumValue, isAnalysisStatusEnumValue, isAnalysisTypeEnumValue, isExcelTemplateColumnConfigHeaderTypeEnumValue, isModeEnumValue };
@@ -1,9 +1,10 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { AxiosResponse, ResponseType } from 'axios';
2
2
 
3
3
  declare class RestResponse<T> {
4
4
  private readonly response;
5
5
  constructor(response: Promise<AxiosResponse<T>>);
6
6
  toModel(): Promise<T>;
7
+ toFile(): Promise<File>;
7
8
  getStatusCode(): Promise<number>;
8
9
  getStatusText(): Promise<string>;
9
10
  }
@@ -40,7 +41,7 @@ declare class RestClient {
40
41
  }, data?: any): Promise<RestResponse<R>>;
41
42
  post<R>(url: string, params?: any, headers?: {
42
43
  [key: string]: string;
43
- }, data?: any): Promise<RestResponse<R>>;
44
+ }, data?: any, responseType?: ResponseType): Promise<RestResponse<R>>;
44
45
  delete(url: string, data?: any): Promise<void>;
45
46
  patch<R>(url: string, data?: any): Promise<RestResponse<R>>;
46
47
  put<R>(url: string, data: any): Promise<RestResponse<R>>;
@@ -1,9 +1,10 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { AxiosResponse, ResponseType } from 'axios';
2
2
 
3
3
  declare class RestResponse<T> {
4
4
  private readonly response;
5
5
  constructor(response: Promise<AxiosResponse<T>>);
6
6
  toModel(): Promise<T>;
7
+ toFile(): Promise<File>;
7
8
  getStatusCode(): Promise<number>;
8
9
  getStatusText(): Promise<string>;
9
10
  }
@@ -40,7 +41,7 @@ declare class RestClient {
40
41
  }, data?: any): Promise<RestResponse<R>>;
41
42
  post<R>(url: string, params?: any, headers?: {
42
43
  [key: string]: string;
43
- }, data?: any): Promise<RestResponse<R>>;
44
+ }, data?: any, responseType?: ResponseType): Promise<RestResponse<R>>;
44
45
  delete(url: string, data?: any): Promise<void>;
45
46
  patch<R>(url: string, data?: any): Promise<RestResponse<R>>;
46
47
  put<R>(url: string, data: any): Promise<RestResponse<R>>;
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkZ3N63BWG_js=require('../chunk-Z3N63BWG.js');Object.defineProperty(exports,"MediaType",{enumerable:true,get:function(){return chunkZ3N63BWG_js.b}});Object.defineProperty(exports,"RestClient",{enumerable:true,get:function(){return chunkZ3N63BWG_js.c}});Object.defineProperty(exports,"RestResponse",{enumerable:true,get:function(){return chunkZ3N63BWG_js.a}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkPSWCXZCM_js=require('../chunk-PSWCXZCM.js');Object.defineProperty(exports,"MediaType",{enumerable:true,get:function(){return chunkPSWCXZCM_js.b}});Object.defineProperty(exports,"RestClient",{enumerable:true,get:function(){return chunkPSWCXZCM_js.c}});Object.defineProperty(exports,"RestResponse",{enumerable:true,get:function(){return chunkPSWCXZCM_js.a}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{b as MediaType,c as RestClient,a as RestResponse}from'../chunk-DOK44NQJ.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{b as MediaType,c as RestClient,a as RestResponse}from'../chunk-L3NE3MB6.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkOP5BUX5G_js=require('../../chunk-OP5BUX5G.js');require('../../chunk-Z3N63BWG.js');Object.defineProperty(exports,"BinaryEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.a}});Object.defineProperty(exports,"ConfigurationEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.b}});Object.defineProperty(exports,"ConfigurationsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.c}});Object.defineProperty(exports,"DocumentstructureEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.f}});Object.defineProperty(exports,"DocumentstructuresEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.g}});Object.defineProperty(exports,"DomainEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.h}});Object.defineProperty(exports,"DomainsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.i}});Object.defineProperty(exports,"EventsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.d}});Object.defineProperty(exports,"ScreenshotsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.e}});Object.defineProperty(exports,"StructureNavigatorAPI",{enumerable:true,get:function(){return chunkOP5BUX5G_js.k}});Object.defineProperty(exports,"StructurenavigatorEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.j}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkEWH4N3WH_js=require('../../chunk-EWH4N3WH.js');require('../../chunk-PSWCXZCM.js');Object.defineProperty(exports,"BinaryEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.a}});Object.defineProperty(exports,"ConfigurationEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.b}});Object.defineProperty(exports,"ConfigurationsEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.c}});Object.defineProperty(exports,"DocumentstructureEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.f}});Object.defineProperty(exports,"DocumentstructuresEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.g}});Object.defineProperty(exports,"DomainEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.h}});Object.defineProperty(exports,"DomainsEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.i}});Object.defineProperty(exports,"EventsEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.d}});Object.defineProperty(exports,"ScreenshotsEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.e}});Object.defineProperty(exports,"StructureNavigatorAPI",{enumerable:true,get:function(){return chunkEWH4N3WH_js.k}});Object.defineProperty(exports,"StructurenavigatorEndpoint",{enumerable:true,get:function(){return chunkEWH4N3WH_js.j}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map