@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,644 +0,0 @@
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
- }
463
-
464
- /**
465
- * @author semantha
466
- *
467
- * This is a generated file do not change manually!
468
- */
469
- declare const AnalysisSourceEnumValues: readonly ["EXCEL", "PDF", "POLARION", "STRUCTURE_NAVIGATOR"];
470
- type AnalysisSourceEnum = (typeof AnalysisSourceEnumValues)[number];
471
- declare function isAnalysisSourceEnumValue(value: any): value is AnalysisSourceEnum;
472
-
473
- /**
474
- * @author semantha
475
- *
476
- * This is a generated file do not change manually!
477
- */
478
- declare const AnalysisStatusEnumValues: readonly ["INITIALIZING", "QUEUED", "IN_PROGRESS", "FINISHED", "UPDATING_RESULTS", "ERROR", "UNKNOWN", "CANCELLED", "EMPTY", "LIMIT_EXCEEDED"];
479
- type AnalysisStatusEnum = (typeof AnalysisStatusEnumValues)[number];
480
- declare function isAnalysisStatusEnumValue(value: any): value is AnalysisStatusEnum;
481
-
482
- /**
483
- * @author semantha
484
- *
485
- * This is a generated file do not change manually!
486
- */
487
- declare const AnalysisTypeEnumValues: readonly ["SIMILARITY", "PROMPT"];
488
- type AnalysisTypeEnum = (typeof AnalysisTypeEnumValues)[number];
489
- declare function isAnalysisTypeEnumValue(value: any): value is AnalysisTypeEnum;
490
-
491
- /**
492
- * @author semantha
493
- *
494
- * This is a generated file do not change manually!
495
- */
496
- interface Attribute {
497
- key?: string;
498
- name?: string;
499
- value?: string;
500
- }
501
-
502
- /**
503
- * @author semantha
504
- *
505
- * This is a generated file do not change manually!
506
- */
507
- interface Classification {
508
- id?: string;
509
- name?: string;
510
- }
511
-
512
- /**
513
- * @author semantha
514
- *
515
- * This is a generated file do not change manually!
516
- */
517
- interface CurrentUser {
518
- name: string;
519
- validUntil: number;
520
- roles?: string[];
521
- }
522
-
523
- /**
524
- * @author semantha
525
- *
526
- * This is a generated file do not change manually!
527
- */
528
- interface ExtendedReference {
529
- documentId?: string;
530
- documentName?: string;
531
- pageNumber?: number;
532
- paragraphId?: string;
533
- sentenceId?: string;
534
- similarity?: number;
535
- text?: string;
536
- context?: {
537
- [key: string]: string;
538
- };
539
- dataUrlImage?: string;
540
- type?: string;
541
- color?: string;
542
- comment?: string;
543
- hasOppositeMeaning?: boolean;
544
- tags?: string[];
545
- metadata?: string;
546
- used?: boolean;
547
- documentClass?: Entity;
548
- contextDiff?: boolean;
549
- id?: string;
550
- referenceText?: string;
551
- }
552
-
553
- /**
554
- * @author semantha
555
- *
556
- * This is a generated file do not change manually!
557
- */
558
- interface Evaluation {
559
- id?: string;
560
- score?: number;
561
- withoutTags?: boolean;
562
- tag?: string;
563
- underThreshold?: boolean;
564
- contextDiff?: boolean;
565
- references?: ExtendedReference[];
566
- }
567
-
568
- /**
569
- * @author semantha
570
- *
571
- * This is a generated file do not change manually!
572
- */
573
- interface ExcelTemplateColumnConfig {
574
- columnHeaderId: string;
575
- defaultColumnName?: string;
576
- customColumnName?: string;
577
- order?: number;
578
- headerType?: ExcelTemplateColumnConfigHeaderTypeEnum;
579
- hidden?: boolean;
580
- sampleData?: string[];
581
- }
582
-
583
- /**
584
- * @author semantha
585
- *
586
- * This is a generated file do not change manually!
587
- */
588
- declare const ExcelTemplateColumnConfigHeaderTypeEnumValues: readonly ["DEFAULT_COLUMN", "PLACEHOLDER_COLUMN", "EDITABLE_PLACEHOLDER_COLUMN"];
589
- type ExcelTemplateColumnConfigHeaderTypeEnum = (typeof ExcelTemplateColumnConfigHeaderTypeEnumValues)[number];
590
- declare function isExcelTemplateColumnConfigHeaderTypeEnumValue(value: any): value is ExcelTemplateColumnConfigHeaderTypeEnum;
591
-
592
- /**
593
- * @author semantha
594
- *
595
- * This is a generated file do not change manually!
596
- */
597
- interface ExcelTemplateDetails {
598
- name: string;
599
- columnConfigs: ExcelTemplateColumnConfig[];
600
- id?: string;
601
- }
602
-
603
- /**
604
- * @author semantha
605
- *
606
- * This is a generated file do not change manually!
607
- */
608
- interface FormDataContentDisposition {
609
- type?: string;
610
- parameters?: {
611
- [key: string]: string;
612
- };
613
- fileName?: string;
614
- creationDate?: string;
615
- modificationDate?: string;
616
- readDate?: string;
617
- size?: number;
618
- name?: string;
619
- }
620
-
621
- /**
622
- * @author semantha
623
- *
624
- * This is a generated file do not change manually!
625
- */
626
- declare const ModeEnumValues: readonly ["fingerprint", "keyword", "document", "document_fingerprint", "fingerprint_keyword", "auto"];
627
- type ModeEnum = (typeof ModeEnumValues)[number];
628
- declare function isModeEnumValue(value: any): value is ModeEnum;
629
-
630
- /**
631
- * @author semantha
632
- *
633
- * This is a generated file do not change manually!
634
- */
635
- interface PromptResult {
636
- name: string;
637
- id?: string;
638
- text?: string;
639
- answer?: string;
640
- status?: string;
641
- customAttributes?: Attribute[];
642
- }
643
-
644
- export { type Row as $, type AnalysesReport as A, type DocumentNamedEntity as B, type Char as C, type Distance as D, type EvaluationOverview as E, type DocumentTable as F, type Entity as G, type Evaluation as H, type ExcelTemplateColumnConfig as I, ExcelTemplateColumnConfigHeaderTypeEnumValues as J, type ExcelTemplateColumnConfigHeaderTypeEnum as K, isExcelTemplateColumnConfigHeaderTypeEnumValue as L, type ExcelTemplateDetails as M, type ExtendedReference as N, type Features as O, type FormDataContentDisposition as P, type FormatInformation as Q, type Link as R, ModeEnumValues as S, type ModeEnum as T, isModeEnumValue as U, type Page as V, type PageContent as W, type Paragraph as X, type PromptResult as Y, type Rect as Z, type Reference as _, type Analysis as a, type Sentence as a0, type TableCell as a1, type AnalysisCreation as b, type AnalysisInput as c, type AnalysisReport as d, AnalysisReportTypeEnumValues as e, type AnalysisReportTypeEnum as f, type AnalysisResult as g, type AnalysisResultComment as h, isAnalysisReportTypeEnumValue as i, AnalysisSourceEnumValues as j, type AnalysisSourceEnum as k, isAnalysisSourceEnumValue as l, type AnalysisStats as m, AnalysisStatusEnumValues as n, type AnalysisStatusEnum as o, isAnalysisStatusEnumValue as p, AnalysisTypeEnumValues as q, type AnalysisTypeEnum as r, isAnalysisTypeEnumValue as s, type AnnotationCell as t, type AnnotationPage as u, type Attachment as v, type Attribute as w, type Classification as x, type CurrentUser as y, type Document as z };