@nestbox-ai/doc-processing-api 0.0.1 → 1.0.61

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 (68) hide show
  1. package/.openapi-generator/FILES +48 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +111 -44
  5. package/api.ts +2539 -0
  6. package/base.ts +62 -0
  7. package/common.ts +126 -0
  8. package/configuration.ts +121 -0
  9. package/dist/api.d.ts +1543 -0
  10. package/dist/api.js +1902 -0
  11. package/dist/base.d.ts +42 -0
  12. package/dist/base.js +46 -0
  13. package/dist/common.d.ts +34 -0
  14. package/dist/common.js +138 -0
  15. package/dist/configuration.d.ts +98 -0
  16. package/dist/configuration.js +44 -0
  17. package/dist/esm/api.d.ts +1543 -0
  18. package/dist/esm/api.js +1867 -0
  19. package/dist/esm/base.d.ts +42 -0
  20. package/dist/esm/base.js +41 -0
  21. package/dist/esm/common.d.ts +34 -0
  22. package/dist/esm/common.js +125 -0
  23. package/dist/esm/configuration.d.ts +98 -0
  24. package/dist/esm/configuration.js +40 -0
  25. package/dist/esm/index.d.ts +13 -0
  26. package/dist/esm/index.js +15 -0
  27. package/dist/index.d.ts +13 -0
  28. package/dist/index.js +31 -0
  29. package/docs/ArtifactsApi.md +61 -0
  30. package/docs/BatchQueryDto.md +34 -0
  31. package/docs/DocumentCreateResponseDto.md +22 -0
  32. package/docs/DocumentDto.md +38 -0
  33. package/docs/DocumentSourcesResponseDto.md +20 -0
  34. package/docs/DocumentsApi.md +186 -0
  35. package/docs/ErrorDto.md +26 -0
  36. package/docs/EvalCreateResponseDto.md +22 -0
  37. package/docs/EvalDto.md +36 -0
  38. package/docs/EvalsApi.md +243 -0
  39. package/docs/GpuDeviceDto.md +28 -0
  40. package/docs/GpuHealthCheckDto.md +26 -0
  41. package/docs/HealthApi.md +53 -0
  42. package/docs/HealthCheckItemDto.md +26 -0
  43. package/docs/HealthChecksDto.md +24 -0
  44. package/docs/HealthResponseDto.md +24 -0
  45. package/docs/JobDto.md +48 -0
  46. package/docs/JobLinksDto.md +22 -0
  47. package/docs/JobStatusDto.md +32 -0
  48. package/docs/JobsApi.md +170 -0
  49. package/docs/PaginatedDocumentsDto.md +22 -0
  50. package/docs/PaginatedEvalsDto.md +22 -0
  51. package/docs/PaginatedJobsDto.md +22 -0
  52. package/docs/PaginatedProfilesDto.md +22 -0
  53. package/docs/PaginatedQueriesDto.md +22 -0
  54. package/docs/PaginationDto.md +24 -0
  55. package/docs/ProfileDto.md +32 -0
  56. package/docs/ProfilesApi.md +220 -0
  57. package/docs/QueriesApi.md +232 -0
  58. package/docs/QueryCreateResponseDto.md +22 -0
  59. package/docs/SourceItemDto.md +32 -0
  60. package/docs/SourcesApi.md +67 -0
  61. package/docs/ValidationErrorDto.md +26 -0
  62. package/docs/ValidationIssueDto.md +24 -0
  63. package/docs/ValidationResultDto.md +24 -0
  64. package/git_push.sh +57 -0
  65. package/index.ts +18 -0
  66. package/package.json +29 -6
  67. package/tsconfig.esm.json +7 -0
  68. package/tsconfig.json +18 -0
package/dist/api.d.ts ADDED
@@ -0,0 +1,1543 @@
1
+ /**
2
+ * Nestbox API Documents Processing API
3
+ * API for Nestbox Documents Processing
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ export interface BatchQueryDto {
17
+ /**
18
+ * Batch query ID
19
+ */
20
+ 'id': string;
21
+ /**
22
+ * Associated document ID
23
+ */
24
+ 'documentId'?: string;
25
+ /**
26
+ * Batch query status
27
+ */
28
+ 'status': BatchQueryDtoStatusEnum;
29
+ /**
30
+ * Batch query creation timestamp
31
+ */
32
+ 'createdAt': string;
33
+ /**
34
+ * Batch query last update timestamp
35
+ */
36
+ 'updatedAt'?: string;
37
+ /**
38
+ * Latest job ID associated with this batch query
39
+ */
40
+ 'latestJobId'?: string;
41
+ /**
42
+ * YAML file name
43
+ */
44
+ 'yamlFileName'?: string;
45
+ /**
46
+ * Optional stored results (if persisted)
47
+ */
48
+ 'results'?: {
49
+ [key: string]: any;
50
+ };
51
+ }
52
+ export declare const BatchQueryDtoStatusEnum: {
53
+ readonly Queued: "queued";
54
+ readonly Running: "running";
55
+ readonly Completed: "completed";
56
+ readonly Failed: "failed";
57
+ };
58
+ export type BatchQueryDtoStatusEnum = typeof BatchQueryDtoStatusEnum[keyof typeof BatchQueryDtoStatusEnum];
59
+ export interface DocumentCreateResponseDto {
60
+ /**
61
+ * Created document
62
+ */
63
+ 'document': DocumentDto;
64
+ /**
65
+ * Processing job
66
+ */
67
+ 'job': JobDto;
68
+ }
69
+ export interface DocumentDto {
70
+ /**
71
+ * Document ID
72
+ */
73
+ 'id': string;
74
+ /**
75
+ * Associated profile ID
76
+ */
77
+ 'profileId': string;
78
+ /**
79
+ * Document processing status
80
+ */
81
+ 'status': DocumentDtoStatusEnum;
82
+ /**
83
+ * Original file name
84
+ */
85
+ 'fileName'?: string;
86
+ /**
87
+ * MIME content type
88
+ */
89
+ 'contentType'?: string;
90
+ /**
91
+ * File size in bytes
92
+ */
93
+ 'sizeBytes'?: number;
94
+ /**
95
+ * Document creation timestamp
96
+ */
97
+ 'createdAt': string;
98
+ /**
99
+ * Document last update timestamp
100
+ */
101
+ 'updatedAt'?: string;
102
+ /**
103
+ * Latest job ID associated with this document
104
+ */
105
+ 'latestJobId'?: string;
106
+ /**
107
+ * Optional processing metrics (pages, chunks, entities, etc.)
108
+ */
109
+ 'metrics'?: {
110
+ [key: string]: any;
111
+ };
112
+ }
113
+ export declare const DocumentDtoStatusEnum: {
114
+ readonly Queued: "queued";
115
+ readonly Processing: "processing";
116
+ readonly Ready: "ready";
117
+ readonly Failed: "failed";
118
+ readonly Deleted: "deleted";
119
+ };
120
+ export type DocumentDtoStatusEnum = typeof DocumentDtoStatusEnum[keyof typeof DocumentDtoStatusEnum];
121
+ export interface DocumentSourcesResponseDto {
122
+ /**
123
+ * Source items
124
+ */
125
+ 'data': Array<SourceItemDto>;
126
+ }
127
+ export interface ErrorDto {
128
+ /**
129
+ * Error type
130
+ */
131
+ 'error': string;
132
+ /**
133
+ * Error message
134
+ */
135
+ 'message': string;
136
+ /**
137
+ * Request ID for tracking
138
+ */
139
+ 'requestId'?: string;
140
+ /**
141
+ * Additional error details
142
+ */
143
+ 'details'?: {
144
+ [key: string]: any;
145
+ };
146
+ }
147
+ export interface EvalCreateResponseDto {
148
+ /**
149
+ * Created evaluation
150
+ */
151
+ 'eval': EvalDto;
152
+ /**
153
+ * Processing job
154
+ */
155
+ 'job': JobDto;
156
+ }
157
+ export interface EvalDto {
158
+ /**
159
+ * Evaluation ID
160
+ */
161
+ 'id': string;
162
+ /**
163
+ * Associated document ID
164
+ */
165
+ 'documentId': string;
166
+ /**
167
+ * Evaluation status
168
+ */
169
+ 'status': EvalDtoStatusEnum;
170
+ /**
171
+ * Evaluation creation timestamp
172
+ */
173
+ 'createdAt': string;
174
+ /**
175
+ * Evaluation last update timestamp
176
+ */
177
+ 'updatedAt'?: string;
178
+ /**
179
+ * Latest job ID associated with this evaluation
180
+ */
181
+ 'latestJobId'?: string;
182
+ /**
183
+ * YAML file name
184
+ */
185
+ 'yamlFileName'?: string;
186
+ /**
187
+ * Optional aggregated metrics (e.g., similarity scores)
188
+ */
189
+ 'summary'?: {
190
+ [key: string]: any;
191
+ };
192
+ /**
193
+ * Optional detailed report (if stored)
194
+ */
195
+ 'report'?: {
196
+ [key: string]: any;
197
+ };
198
+ }
199
+ export declare const EvalDtoStatusEnum: {
200
+ readonly Queued: "queued";
201
+ readonly Running: "running";
202
+ readonly Completed: "completed";
203
+ readonly Failed: "failed";
204
+ };
205
+ export type EvalDtoStatusEnum = typeof EvalDtoStatusEnum[keyof typeof EvalDtoStatusEnum];
206
+ export interface GpuDeviceDto {
207
+ /**
208
+ * GPU device index
209
+ */
210
+ 'index': number;
211
+ /**
212
+ * GPU device name
213
+ */
214
+ 'name': string;
215
+ /**
216
+ * Total GPU memory in MB
217
+ */
218
+ 'memoryTotalMB': number;
219
+ /**
220
+ * Used GPU memory in MB
221
+ */
222
+ 'memoryUsedMB'?: number;
223
+ /**
224
+ * GPU utilization percentage
225
+ */
226
+ 'utilizationPct'?: number;
227
+ }
228
+ export interface GpuHealthCheckDto {
229
+ /**
230
+ * GPU health status
231
+ */
232
+ 'status': GpuHealthCheckDtoStatusEnum;
233
+ /**
234
+ * Number of GPU devices
235
+ */
236
+ 'deviceCount'?: number;
237
+ /**
238
+ * GPU devices information
239
+ */
240
+ 'devices'?: Array<GpuDeviceDto>;
241
+ /**
242
+ * GPU status message
243
+ */
244
+ 'message'?: string;
245
+ }
246
+ export declare const GpuHealthCheckDtoStatusEnum: {
247
+ readonly Ok: "ok";
248
+ readonly Degraded: "degraded";
249
+ readonly Down: "down";
250
+ };
251
+ export type GpuHealthCheckDtoStatusEnum = typeof GpuHealthCheckDtoStatusEnum[keyof typeof GpuHealthCheckDtoStatusEnum];
252
+ export interface HealthCheckItemDto {
253
+ /**
254
+ * Health check status
255
+ */
256
+ 'status': HealthCheckItemDtoStatusEnum;
257
+ /**
258
+ * Latency in milliseconds
259
+ */
260
+ 'latencyMs'?: number;
261
+ /**
262
+ * Status message
263
+ */
264
+ 'message'?: string;
265
+ /**
266
+ * Additional details
267
+ */
268
+ 'details'?: {
269
+ [key: string]: any;
270
+ };
271
+ }
272
+ export declare const HealthCheckItemDtoStatusEnum: {
273
+ readonly Ok: "ok";
274
+ readonly Degraded: "degraded";
275
+ readonly Down: "down";
276
+ };
277
+ export type HealthCheckItemDtoStatusEnum = typeof HealthCheckItemDtoStatusEnum[keyof typeof HealthCheckItemDtoStatusEnum];
278
+ export interface HealthChecksDto {
279
+ /**
280
+ * Redis health check
281
+ */
282
+ 'redis': HealthCheckItemDto;
283
+ /**
284
+ * Database health check
285
+ */
286
+ 'db': HealthCheckItemDto;
287
+ /**
288
+ * GPU health check
289
+ */
290
+ 'gpu': GpuHealthCheckDto;
291
+ }
292
+ export interface HealthResponseDto {
293
+ /**
294
+ * Overall system health status
295
+ */
296
+ 'status': HealthResponseDtoStatusEnum;
297
+ /**
298
+ * Health check timestamp
299
+ */
300
+ 'timestamp': string;
301
+ /**
302
+ * Health check results
303
+ */
304
+ 'checks': HealthChecksDto;
305
+ }
306
+ export declare const HealthResponseDtoStatusEnum: {
307
+ readonly Ok: "ok";
308
+ readonly Degraded: "degraded";
309
+ readonly Down: "down";
310
+ };
311
+ export type HealthResponseDtoStatusEnum = typeof HealthResponseDtoStatusEnum[keyof typeof HealthResponseDtoStatusEnum];
312
+ export interface JobDto {
313
+ /**
314
+ * Job ID
315
+ */
316
+ 'id': string;
317
+ /**
318
+ * Job type
319
+ */
320
+ 'type': JobDtoTypeEnum;
321
+ /**
322
+ * Job state
323
+ */
324
+ 'state': JobDtoStateEnum;
325
+ /**
326
+ * Job creation timestamp
327
+ */
328
+ 'createdAt': string;
329
+ /**
330
+ * Job last update timestamp
331
+ */
332
+ 'updatedAt'?: string;
333
+ /**
334
+ * Associated profile ID
335
+ */
336
+ 'profileId'?: string;
337
+ /**
338
+ * Associated document ID
339
+ */
340
+ 'documentId'?: string;
341
+ /**
342
+ * Associated evaluation ID
343
+ */
344
+ 'evalId'?: string;
345
+ /**
346
+ * Associated query ID
347
+ */
348
+ 'queryId'?: string;
349
+ /**
350
+ * 0..1 progress fraction
351
+ */
352
+ 'progress'?: number;
353
+ /**
354
+ * Current pipeline stage
355
+ */
356
+ 'stage'?: string;
357
+ /**
358
+ * Current job message
359
+ */
360
+ 'message'?: string;
361
+ /**
362
+ * Error message if failed
363
+ */
364
+ 'error'?: string;
365
+ /**
366
+ * Job-related links
367
+ */
368
+ 'links'?: JobLinksDto;
369
+ /**
370
+ * Additional job metadata
371
+ */
372
+ 'metadata'?: {
373
+ [key: string]: any;
374
+ };
375
+ }
376
+ export declare const JobDtoTypeEnum: {
377
+ readonly DocumentProcessing: "document_processing";
378
+ readonly Evaluation: "evaluation";
379
+ readonly BatchQuery: "batch_query";
380
+ readonly Other: "other";
381
+ };
382
+ export type JobDtoTypeEnum = typeof JobDtoTypeEnum[keyof typeof JobDtoTypeEnum];
383
+ export declare const JobDtoStateEnum: {
384
+ readonly Pending: "pending";
385
+ readonly Processing: "processing";
386
+ readonly Completed: "completed";
387
+ readonly Failed: "failed";
388
+ readonly Canceled: "canceled";
389
+ };
390
+ export type JobDtoStateEnum = typeof JobDtoStateEnum[keyof typeof JobDtoStateEnum];
391
+ export interface JobLinksDto {
392
+ /**
393
+ * Job status URI
394
+ */
395
+ 'status'?: string;
396
+ /**
397
+ * Resource URI
398
+ */
399
+ 'resource'?: string;
400
+ }
401
+ export interface JobStatusDto {
402
+ /**
403
+ * Job ID
404
+ */
405
+ 'id': string;
406
+ /**
407
+ * Job state
408
+ */
409
+ 'state': JobStatusDtoStateEnum;
410
+ /**
411
+ * Job last update timestamp
412
+ */
413
+ 'updatedAt': string;
414
+ /**
415
+ * 0..1 progress fraction
416
+ */
417
+ 'progress'?: number;
418
+ /**
419
+ * Current pipeline stage
420
+ */
421
+ 'stage'?: string;
422
+ /**
423
+ * Current job message
424
+ */
425
+ 'message'?: string;
426
+ /**
427
+ * Error message if failed
428
+ */
429
+ 'error'?: string;
430
+ }
431
+ export declare const JobStatusDtoStateEnum: {
432
+ readonly Pending: "pending";
433
+ readonly Processing: "processing";
434
+ readonly Completed: "completed";
435
+ readonly Failed: "failed";
436
+ readonly Canceled: "canceled";
437
+ };
438
+ export type JobStatusDtoStateEnum = typeof JobStatusDtoStateEnum[keyof typeof JobStatusDtoStateEnum];
439
+ export interface PaginatedDocumentsDto {
440
+ /**
441
+ * Document data
442
+ */
443
+ 'data': Array<DocumentDto>;
444
+ /**
445
+ * Pagination information
446
+ */
447
+ 'pagination': PaginationDto;
448
+ }
449
+ export interface PaginatedEvalsDto {
450
+ /**
451
+ * Evaluation data
452
+ */
453
+ 'data': Array<EvalDto>;
454
+ /**
455
+ * Pagination information
456
+ */
457
+ 'pagination': PaginationDto;
458
+ }
459
+ export interface PaginatedJobsDto {
460
+ /**
461
+ * Job data
462
+ */
463
+ 'data': Array<JobDto>;
464
+ /**
465
+ * Pagination information
466
+ */
467
+ 'pagination': PaginationDto;
468
+ }
469
+ export interface PaginatedProfilesDto {
470
+ /**
471
+ * Profile data
472
+ */
473
+ 'data': Array<ProfileDto>;
474
+ /**
475
+ * Pagination information
476
+ */
477
+ 'pagination': PaginationDto;
478
+ }
479
+ export interface PaginatedQueriesDto {
480
+ /**
481
+ * Batch query data
482
+ */
483
+ 'data': Array<BatchQueryDto>;
484
+ /**
485
+ * Pagination information
486
+ */
487
+ 'pagination': PaginationDto;
488
+ }
489
+ export interface PaginationDto {
490
+ /**
491
+ * Current page number
492
+ */
493
+ 'page': number;
494
+ /**
495
+ * Page size limit
496
+ */
497
+ 'limit': number;
498
+ /**
499
+ * Total number of items
500
+ */
501
+ 'total': number;
502
+ }
503
+ export interface ProfileDto {
504
+ /**
505
+ * Profile ID
506
+ */
507
+ 'id': string;
508
+ /**
509
+ * Profile name
510
+ */
511
+ 'name': string;
512
+ /**
513
+ * Profile description
514
+ */
515
+ 'description'?: string;
516
+ /**
517
+ * Profile creation timestamp
518
+ */
519
+ 'createdAt': string;
520
+ /**
521
+ * Profile last update timestamp
522
+ */
523
+ 'updatedAt'?: string;
524
+ /**
525
+ * YAML file name
526
+ */
527
+ 'yamlFileName'?: string;
528
+ /**
529
+ * Optional checksum of the uploaded YAML file
530
+ */
531
+ 'yamlSha256'?: string;
532
+ }
533
+ export interface QueryCreateResponseDto {
534
+ /**
535
+ * Created batch query
536
+ */
537
+ 'query': BatchQueryDto;
538
+ /**
539
+ * Processing job
540
+ */
541
+ 'job': JobDto;
542
+ }
543
+ export interface SourceItemDto {
544
+ /**
545
+ * Source ID
546
+ */
547
+ 'id': string;
548
+ /**
549
+ * Associated document ID
550
+ */
551
+ 'documentId': string;
552
+ /**
553
+ * Associated job ID
554
+ */
555
+ 'jobId'?: string;
556
+ /**
557
+ * Chunk ID
558
+ */
559
+ 'chunkId'?: string;
560
+ /**
561
+ * Page number
562
+ */
563
+ 'page'?: number;
564
+ /**
565
+ * Source text content
566
+ */
567
+ 'text': string;
568
+ /**
569
+ * Additional metadata
570
+ */
571
+ 'metadata'?: {
572
+ [key: string]: any;
573
+ };
574
+ }
575
+ export interface ValidationErrorDto {
576
+ /**
577
+ * Error type
578
+ */
579
+ 'error': string;
580
+ /**
581
+ * Error message
582
+ */
583
+ 'message': string;
584
+ /**
585
+ * Validation issues
586
+ */
587
+ 'issues': Array<ValidationIssueDto>;
588
+ /**
589
+ * Request ID for tracking
590
+ */
591
+ 'requestId'?: string;
592
+ }
593
+ export interface ValidationIssueDto {
594
+ /**
595
+ * JSON pointer-like path into the YAML document
596
+ */
597
+ 'path': string;
598
+ /**
599
+ * Validation issue message
600
+ */
601
+ 'message': string;
602
+ /**
603
+ * Issue severity
604
+ */
605
+ 'severity'?: ValidationIssueDtoSeverityEnum;
606
+ }
607
+ export declare const ValidationIssueDtoSeverityEnum: {
608
+ readonly Error: "error";
609
+ readonly Warning: "warning";
610
+ };
611
+ export type ValidationIssueDtoSeverityEnum = typeof ValidationIssueDtoSeverityEnum[keyof typeof ValidationIssueDtoSeverityEnum];
612
+ export interface ValidationResultDto {
613
+ /**
614
+ * Whether the validation passed
615
+ */
616
+ 'valid': boolean;
617
+ /**
618
+ * Non-fatal issues
619
+ */
620
+ 'warnings'?: Array<ValidationIssueDto>;
621
+ /**
622
+ * Optional normalized representation (if available)
623
+ */
624
+ 'normalized'?: {
625
+ [key: string]: any;
626
+ };
627
+ }
628
+ /**
629
+ * ArtifactsApi - axios parameter creator
630
+ */
631
+ export declare const ArtifactsApiAxiosParamCreator: (configuration?: Configuration) => {
632
+ /**
633
+ * Downloads artifacts produced by the pipeline (e.g., GraphRAG outputs, DB snapshots, visualizations) as a single archive.
634
+ * @summary Download document artifacts
635
+ * @param {string} documentId Document ID.
636
+ * @param {*} [options] Override http request option.
637
+ * @throws {RequiredError}
638
+ */
639
+ artifactsControllerDownloadDocumentArtifacts: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
640
+ };
641
+ /**
642
+ * ArtifactsApi - functional programming interface
643
+ */
644
+ export declare const ArtifactsApiFp: (configuration?: Configuration) => {
645
+ /**
646
+ * Downloads artifacts produced by the pipeline (e.g., GraphRAG outputs, DB snapshots, visualizations) as a single archive.
647
+ * @summary Download document artifacts
648
+ * @param {string} documentId Document ID.
649
+ * @param {*} [options] Override http request option.
650
+ * @throws {RequiredError}
651
+ */
652
+ artifactsControllerDownloadDocumentArtifacts(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
653
+ };
654
+ /**
655
+ * ArtifactsApi - factory interface
656
+ */
657
+ export declare const ArtifactsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
658
+ /**
659
+ * Downloads artifacts produced by the pipeline (e.g., GraphRAG outputs, DB snapshots, visualizations) as a single archive.
660
+ * @summary Download document artifacts
661
+ * @param {string} documentId Document ID.
662
+ * @param {*} [options] Override http request option.
663
+ * @throws {RequiredError}
664
+ */
665
+ artifactsControllerDownloadDocumentArtifacts(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
666
+ };
667
+ /**
668
+ * ArtifactsApi - object-oriented interface
669
+ */
670
+ export declare class ArtifactsApi extends BaseAPI {
671
+ /**
672
+ * Downloads artifacts produced by the pipeline (e.g., GraphRAG outputs, DB snapshots, visualizations) as a single archive.
673
+ * @summary Download document artifacts
674
+ * @param {string} documentId Document ID.
675
+ * @param {*} [options] Override http request option.
676
+ * @throws {RequiredError}
677
+ */
678
+ artifactsControllerDownloadDocumentArtifacts(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
679
+ }
680
+ /**
681
+ * DocumentsApi - axios parameter creator
682
+ */
683
+ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configuration) => {
684
+ /**
685
+ * Upload a document file (pdf/md/html/docx/etc) via multipart form to start processing.
686
+ * @summary Create document processing job
687
+ * @param {string} profileId Profile/config ID to use for processing (maps to CLI --config).
688
+ * @param {File} file Document file to process (pdf/md/html/docx/etc).
689
+ * @param {string} [stages] Comma-separated stages to run (e.g., docling,chunking,graphrag). If omitted, auto-detected by server.
690
+ * @param {DocumentsControllerCreateDocumentPriorityEnum} [priority]
691
+ * @param {boolean} [visualize] Whether to generate graph visualization artifacts.
692
+ * @param {*} [options] Override http request option.
693
+ * @throws {RequiredError}
694
+ */
695
+ documentsControllerCreateDocument: (profileId: string, file: File, stages?: string, priority?: DocumentsControllerCreateDocumentPriorityEnum, visualize?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
696
+ /**
697
+ *
698
+ * @summary Read document
699
+ * @param {string} documentId Document ID.
700
+ * @param {*} [options] Override http request option.
701
+ * @throws {RequiredError}
702
+ */
703
+ documentsControllerGetDocument: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
704
+ /**
705
+ * List processed documents. Supports filtering by profileId.
706
+ * @summary List documents
707
+ * @param {number} [page] 1-based page number.
708
+ * @param {number} [limit] Page size.
709
+ * @param {string} [profileId] Filter documents by profile/config ID.
710
+ * @param {*} [options] Override http request option.
711
+ * @throws {RequiredError}
712
+ */
713
+ documentsControllerListDocuments: (page?: number, limit?: number, profileId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
714
+ };
715
+ /**
716
+ * DocumentsApi - functional programming interface
717
+ */
718
+ export declare const DocumentsApiFp: (configuration?: Configuration) => {
719
+ /**
720
+ * Upload a document file (pdf/md/html/docx/etc) via multipart form to start processing.
721
+ * @summary Create document processing job
722
+ * @param {string} profileId Profile/config ID to use for processing (maps to CLI --config).
723
+ * @param {File} file Document file to process (pdf/md/html/docx/etc).
724
+ * @param {string} [stages] Comma-separated stages to run (e.g., docling,chunking,graphrag). If omitted, auto-detected by server.
725
+ * @param {DocumentsControllerCreateDocumentPriorityEnum} [priority]
726
+ * @param {boolean} [visualize] Whether to generate graph visualization artifacts.
727
+ * @param {*} [options] Override http request option.
728
+ * @throws {RequiredError}
729
+ */
730
+ documentsControllerCreateDocument(profileId: string, file: File, stages?: string, priority?: DocumentsControllerCreateDocumentPriorityEnum, visualize?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentCreateResponseDto>>;
731
+ /**
732
+ *
733
+ * @summary Read document
734
+ * @param {string} documentId Document ID.
735
+ * @param {*} [options] Override http request option.
736
+ * @throws {RequiredError}
737
+ */
738
+ documentsControllerGetDocument(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentDto>>;
739
+ /**
740
+ * List processed documents. Supports filtering by profileId.
741
+ * @summary List documents
742
+ * @param {number} [page] 1-based page number.
743
+ * @param {number} [limit] Page size.
744
+ * @param {string} [profileId] Filter documents by profile/config ID.
745
+ * @param {*} [options] Override http request option.
746
+ * @throws {RequiredError}
747
+ */
748
+ documentsControllerListDocuments(page?: number, limit?: number, profileId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedDocumentsDto>>;
749
+ };
750
+ /**
751
+ * DocumentsApi - factory interface
752
+ */
753
+ export declare const DocumentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
754
+ /**
755
+ * Upload a document file (pdf/md/html/docx/etc) via multipart form to start processing.
756
+ * @summary Create document processing job
757
+ * @param {string} profileId Profile/config ID to use for processing (maps to CLI --config).
758
+ * @param {File} file Document file to process (pdf/md/html/docx/etc).
759
+ * @param {string} [stages] Comma-separated stages to run (e.g., docling,chunking,graphrag). If omitted, auto-detected by server.
760
+ * @param {DocumentsControllerCreateDocumentPriorityEnum} [priority]
761
+ * @param {boolean} [visualize] Whether to generate graph visualization artifacts.
762
+ * @param {*} [options] Override http request option.
763
+ * @throws {RequiredError}
764
+ */
765
+ documentsControllerCreateDocument(profileId: string, file: File, stages?: string, priority?: DocumentsControllerCreateDocumentPriorityEnum, visualize?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DocumentCreateResponseDto>;
766
+ /**
767
+ *
768
+ * @summary Read document
769
+ * @param {string} documentId Document ID.
770
+ * @param {*} [options] Override http request option.
771
+ * @throws {RequiredError}
772
+ */
773
+ documentsControllerGetDocument(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<DocumentDto>;
774
+ /**
775
+ * List processed documents. Supports filtering by profileId.
776
+ * @summary List documents
777
+ * @param {number} [page] 1-based page number.
778
+ * @param {number} [limit] Page size.
779
+ * @param {string} [profileId] Filter documents by profile/config ID.
780
+ * @param {*} [options] Override http request option.
781
+ * @throws {RequiredError}
782
+ */
783
+ documentsControllerListDocuments(page?: number, limit?: number, profileId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedDocumentsDto>;
784
+ };
785
+ /**
786
+ * DocumentsApi - object-oriented interface
787
+ */
788
+ export declare class DocumentsApi extends BaseAPI {
789
+ /**
790
+ * Upload a document file (pdf/md/html/docx/etc) via multipart form to start processing.
791
+ * @summary Create document processing job
792
+ * @param {string} profileId Profile/config ID to use for processing (maps to CLI --config).
793
+ * @param {File} file Document file to process (pdf/md/html/docx/etc).
794
+ * @param {string} [stages] Comma-separated stages to run (e.g., docling,chunking,graphrag). If omitted, auto-detected by server.
795
+ * @param {DocumentsControllerCreateDocumentPriorityEnum} [priority]
796
+ * @param {boolean} [visualize] Whether to generate graph visualization artifacts.
797
+ * @param {*} [options] Override http request option.
798
+ * @throws {RequiredError}
799
+ */
800
+ documentsControllerCreateDocument(profileId: string, file: File, stages?: string, priority?: DocumentsControllerCreateDocumentPriorityEnum, visualize?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentCreateResponseDto, any, {}>>;
801
+ /**
802
+ *
803
+ * @summary Read document
804
+ * @param {string} documentId Document ID.
805
+ * @param {*} [options] Override http request option.
806
+ * @throws {RequiredError}
807
+ */
808
+ documentsControllerGetDocument(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentDto, any, {}>>;
809
+ /**
810
+ * List processed documents. Supports filtering by profileId.
811
+ * @summary List documents
812
+ * @param {number} [page] 1-based page number.
813
+ * @param {number} [limit] Page size.
814
+ * @param {string} [profileId] Filter documents by profile/config ID.
815
+ * @param {*} [options] Override http request option.
816
+ * @throws {RequiredError}
817
+ */
818
+ documentsControllerListDocuments(page?: number, limit?: number, profileId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedDocumentsDto, any, {}>>;
819
+ }
820
+ export declare const DocumentsControllerCreateDocumentPriorityEnum: {
821
+ readonly Low: "low";
822
+ readonly Normal: "normal";
823
+ readonly High: "high";
824
+ };
825
+ export type DocumentsControllerCreateDocumentPriorityEnum = typeof DocumentsControllerCreateDocumentPriorityEnum[keyof typeof DocumentsControllerCreateDocumentPriorityEnum];
826
+ /**
827
+ * EvalsApi - axios parameter creator
828
+ */
829
+ export declare const EvalsApiAxiosParamCreator: (configuration?: Configuration) => {
830
+ /**
831
+ * Uploads an eval YAML (test cases) to run against a document.
832
+ * @summary Create an eval from YAML
833
+ * @param {string} documentId Document ID.
834
+ * @param {File} yaml Eval YAML file (test cases).
835
+ * @param {boolean} [watch] If true, server may keep the request open longer (optional); most clients should poll job status instead.
836
+ * @param {*} [options] Override http request option.
837
+ * @throws {RequiredError}
838
+ */
839
+ evalsControllerCreateEval: (documentId: string, yaml: File, watch?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
840
+ /**
841
+ *
842
+ * @summary Read eval
843
+ * @param {string} documentId Document ID.
844
+ * @param {string} evalId Evaluation ID.
845
+ * @param {*} [options] Override http request option.
846
+ * @throws {RequiredError}
847
+ */
848
+ evalsControllerGetEval: (documentId: string, evalId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
849
+ /**
850
+ *
851
+ * @summary List evals for a document
852
+ * @param {string} documentId Document ID.
853
+ * @param {any} [limit] Page size.
854
+ * @param {any} [page] 1-based page number.
855
+ * @param {*} [options] Override http request option.
856
+ * @throws {RequiredError}
857
+ */
858
+ evalsControllerListEvals: (documentId: string, limit?: any, page?: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
859
+ /**
860
+ * Validates an uploaded eval YAML without creating an eval.
861
+ * @summary Validate eval YAML
862
+ * @param {string} documentId Document ID.
863
+ * @param {File} yaml YAML file to validate.
864
+ * @param {*} [options] Override http request option.
865
+ * @throws {RequiredError}
866
+ */
867
+ evalsControllerValidateEvalYaml: (documentId: string, yaml: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
868
+ };
869
+ /**
870
+ * EvalsApi - functional programming interface
871
+ */
872
+ export declare const EvalsApiFp: (configuration?: Configuration) => {
873
+ /**
874
+ * Uploads an eval YAML (test cases) to run against a document.
875
+ * @summary Create an eval from YAML
876
+ * @param {string} documentId Document ID.
877
+ * @param {File} yaml Eval YAML file (test cases).
878
+ * @param {boolean} [watch] If true, server may keep the request open longer (optional); most clients should poll job status instead.
879
+ * @param {*} [options] Override http request option.
880
+ * @throws {RequiredError}
881
+ */
882
+ evalsControllerCreateEval(documentId: string, yaml: File, watch?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvalCreateResponseDto>>;
883
+ /**
884
+ *
885
+ * @summary Read eval
886
+ * @param {string} documentId Document ID.
887
+ * @param {string} evalId Evaluation ID.
888
+ * @param {*} [options] Override http request option.
889
+ * @throws {RequiredError}
890
+ */
891
+ evalsControllerGetEval(documentId: string, evalId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvalDto>>;
892
+ /**
893
+ *
894
+ * @summary List evals for a document
895
+ * @param {string} documentId Document ID.
896
+ * @param {any} [limit] Page size.
897
+ * @param {any} [page] 1-based page number.
898
+ * @param {*} [options] Override http request option.
899
+ * @throws {RequiredError}
900
+ */
901
+ evalsControllerListEvals(documentId: string, limit?: any, page?: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedEvalsDto>>;
902
+ /**
903
+ * Validates an uploaded eval YAML without creating an eval.
904
+ * @summary Validate eval YAML
905
+ * @param {string} documentId Document ID.
906
+ * @param {File} yaml YAML file to validate.
907
+ * @param {*} [options] Override http request option.
908
+ * @throws {RequiredError}
909
+ */
910
+ evalsControllerValidateEvalYaml(documentId: string, yaml: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidationResultDto>>;
911
+ };
912
+ /**
913
+ * EvalsApi - factory interface
914
+ */
915
+ export declare const EvalsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
916
+ /**
917
+ * Uploads an eval YAML (test cases) to run against a document.
918
+ * @summary Create an eval from YAML
919
+ * @param {string} documentId Document ID.
920
+ * @param {File} yaml Eval YAML file (test cases).
921
+ * @param {boolean} [watch] If true, server may keep the request open longer (optional); most clients should poll job status instead.
922
+ * @param {*} [options] Override http request option.
923
+ * @throws {RequiredError}
924
+ */
925
+ evalsControllerCreateEval(documentId: string, yaml: File, watch?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<EvalCreateResponseDto>;
926
+ /**
927
+ *
928
+ * @summary Read eval
929
+ * @param {string} documentId Document ID.
930
+ * @param {string} evalId Evaluation ID.
931
+ * @param {*} [options] Override http request option.
932
+ * @throws {RequiredError}
933
+ */
934
+ evalsControllerGetEval(documentId: string, evalId: string, options?: RawAxiosRequestConfig): AxiosPromise<EvalDto>;
935
+ /**
936
+ *
937
+ * @summary List evals for a document
938
+ * @param {string} documentId Document ID.
939
+ * @param {any} [limit] Page size.
940
+ * @param {any} [page] 1-based page number.
941
+ * @param {*} [options] Override http request option.
942
+ * @throws {RequiredError}
943
+ */
944
+ evalsControllerListEvals(documentId: string, limit?: any, page?: any, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedEvalsDto>;
945
+ /**
946
+ * Validates an uploaded eval YAML without creating an eval.
947
+ * @summary Validate eval YAML
948
+ * @param {string} documentId Document ID.
949
+ * @param {File} yaml YAML file to validate.
950
+ * @param {*} [options] Override http request option.
951
+ * @throws {RequiredError}
952
+ */
953
+ evalsControllerValidateEvalYaml(documentId: string, yaml: File, options?: RawAxiosRequestConfig): AxiosPromise<ValidationResultDto>;
954
+ };
955
+ /**
956
+ * EvalsApi - object-oriented interface
957
+ */
958
+ export declare class EvalsApi extends BaseAPI {
959
+ /**
960
+ * Uploads an eval YAML (test cases) to run against a document.
961
+ * @summary Create an eval from YAML
962
+ * @param {string} documentId Document ID.
963
+ * @param {File} yaml Eval YAML file (test cases).
964
+ * @param {boolean} [watch] If true, server may keep the request open longer (optional); most clients should poll job status instead.
965
+ * @param {*} [options] Override http request option.
966
+ * @throws {RequiredError}
967
+ */
968
+ evalsControllerCreateEval(documentId: string, yaml: File, watch?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvalCreateResponseDto, any, {}>>;
969
+ /**
970
+ *
971
+ * @summary Read eval
972
+ * @param {string} documentId Document ID.
973
+ * @param {string} evalId Evaluation ID.
974
+ * @param {*} [options] Override http request option.
975
+ * @throws {RequiredError}
976
+ */
977
+ evalsControllerGetEval(documentId: string, evalId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvalDto, any, {}>>;
978
+ /**
979
+ *
980
+ * @summary List evals for a document
981
+ * @param {string} documentId Document ID.
982
+ * @param {any} [limit] Page size.
983
+ * @param {any} [page] 1-based page number.
984
+ * @param {*} [options] Override http request option.
985
+ * @throws {RequiredError}
986
+ */
987
+ evalsControllerListEvals(documentId: string, limit?: any, page?: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedEvalsDto, any, {}>>;
988
+ /**
989
+ * Validates an uploaded eval YAML without creating an eval.
990
+ * @summary Validate eval YAML
991
+ * @param {string} documentId Document ID.
992
+ * @param {File} yaml YAML file to validate.
993
+ * @param {*} [options] Override http request option.
994
+ * @throws {RequiredError}
995
+ */
996
+ evalsControllerValidateEvalYaml(documentId: string, yaml: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidationResultDto, any, {}>>;
997
+ }
998
+ /**
999
+ * HealthApi - axios parameter creator
1000
+ */
1001
+ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
1002
+ /**
1003
+ * Returns service health including Redis, database, and GPU status.
1004
+ * @summary Get system health
1005
+ * @param {*} [options] Override http request option.
1006
+ * @throws {RequiredError}
1007
+ */
1008
+ healthControllerGetHealth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1009
+ };
1010
+ /**
1011
+ * HealthApi - functional programming interface
1012
+ */
1013
+ export declare const HealthApiFp: (configuration?: Configuration) => {
1014
+ /**
1015
+ * Returns service health including Redis, database, and GPU status.
1016
+ * @summary Get system health
1017
+ * @param {*} [options] Override http request option.
1018
+ * @throws {RequiredError}
1019
+ */
1020
+ healthControllerGetHealth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthResponseDto>>;
1021
+ };
1022
+ /**
1023
+ * HealthApi - factory interface
1024
+ */
1025
+ export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1026
+ /**
1027
+ * Returns service health including Redis, database, and GPU status.
1028
+ * @summary Get system health
1029
+ * @param {*} [options] Override http request option.
1030
+ * @throws {RequiredError}
1031
+ */
1032
+ healthControllerGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthResponseDto>;
1033
+ };
1034
+ /**
1035
+ * HealthApi - object-oriented interface
1036
+ */
1037
+ export declare class HealthApi extends BaseAPI {
1038
+ /**
1039
+ * Returns service health including Redis, database, and GPU status.
1040
+ * @summary Get system health
1041
+ * @param {*} [options] Override http request option.
1042
+ * @throws {RequiredError}
1043
+ */
1044
+ healthControllerGetHealth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthResponseDto, any, {}>>;
1045
+ }
1046
+ /**
1047
+ * JobsApi - axios parameter creator
1048
+ */
1049
+ export declare const JobsApiAxiosParamCreator: (configuration?: Configuration) => {
1050
+ /**
1051
+ *
1052
+ * @summary Read job
1053
+ * @param {string} jobId Job ID.
1054
+ * @param {*} [options] Override http request option.
1055
+ * @throws {RequiredError}
1056
+ */
1057
+ jobsControllerGetJob: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1058
+ /**
1059
+ * Returns a lightweight status payload suitable for polling.
1060
+ * @summary Get job status
1061
+ * @param {string} jobId Job ID.
1062
+ * @param {*} [options] Override http request option.
1063
+ * @throws {RequiredError}
1064
+ */
1065
+ jobsControllerGetJobStatus: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1066
+ /**
1067
+ * Lists jobs for document processing, evaluations, and query jobs.
1068
+ * @summary List jobs
1069
+ * @param {number} [page] 1-based page number.
1070
+ * @param {number} [limit] Page size.
1071
+ * @param {*} [options] Override http request option.
1072
+ * @throws {RequiredError}
1073
+ */
1074
+ jobsControllerListJobs: (page?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1075
+ };
1076
+ /**
1077
+ * JobsApi - functional programming interface
1078
+ */
1079
+ export declare const JobsApiFp: (configuration?: Configuration) => {
1080
+ /**
1081
+ *
1082
+ * @summary Read job
1083
+ * @param {string} jobId Job ID.
1084
+ * @param {*} [options] Override http request option.
1085
+ * @throws {RequiredError}
1086
+ */
1087
+ jobsControllerGetJob(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDto>>;
1088
+ /**
1089
+ * Returns a lightweight status payload suitable for polling.
1090
+ * @summary Get job status
1091
+ * @param {string} jobId Job ID.
1092
+ * @param {*} [options] Override http request option.
1093
+ * @throws {RequiredError}
1094
+ */
1095
+ jobsControllerGetJobStatus(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobStatusDto>>;
1096
+ /**
1097
+ * Lists jobs for document processing, evaluations, and query jobs.
1098
+ * @summary List jobs
1099
+ * @param {number} [page] 1-based page number.
1100
+ * @param {number} [limit] Page size.
1101
+ * @param {*} [options] Override http request option.
1102
+ * @throws {RequiredError}
1103
+ */
1104
+ jobsControllerListJobs(page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedJobsDto>>;
1105
+ };
1106
+ /**
1107
+ * JobsApi - factory interface
1108
+ */
1109
+ export declare const JobsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1110
+ /**
1111
+ *
1112
+ * @summary Read job
1113
+ * @param {string} jobId Job ID.
1114
+ * @param {*} [options] Override http request option.
1115
+ * @throws {RequiredError}
1116
+ */
1117
+ jobsControllerGetJob(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<JobDto>;
1118
+ /**
1119
+ * Returns a lightweight status payload suitable for polling.
1120
+ * @summary Get job status
1121
+ * @param {string} jobId Job ID.
1122
+ * @param {*} [options] Override http request option.
1123
+ * @throws {RequiredError}
1124
+ */
1125
+ jobsControllerGetJobStatus(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<JobStatusDto>;
1126
+ /**
1127
+ * Lists jobs for document processing, evaluations, and query jobs.
1128
+ * @summary List jobs
1129
+ * @param {number} [page] 1-based page number.
1130
+ * @param {number} [limit] Page size.
1131
+ * @param {*} [options] Override http request option.
1132
+ * @throws {RequiredError}
1133
+ */
1134
+ jobsControllerListJobs(page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedJobsDto>;
1135
+ };
1136
+ /**
1137
+ * JobsApi - object-oriented interface
1138
+ */
1139
+ export declare class JobsApi extends BaseAPI {
1140
+ /**
1141
+ *
1142
+ * @summary Read job
1143
+ * @param {string} jobId Job ID.
1144
+ * @param {*} [options] Override http request option.
1145
+ * @throws {RequiredError}
1146
+ */
1147
+ jobsControllerGetJob(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JobDto, any, {}>>;
1148
+ /**
1149
+ * Returns a lightweight status payload suitable for polling.
1150
+ * @summary Get job status
1151
+ * @param {string} jobId Job ID.
1152
+ * @param {*} [options] Override http request option.
1153
+ * @throws {RequiredError}
1154
+ */
1155
+ jobsControllerGetJobStatus(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JobStatusDto, any, {}>>;
1156
+ /**
1157
+ * Lists jobs for document processing, evaluations, and query jobs.
1158
+ * @summary List jobs
1159
+ * @param {number} [page] 1-based page number.
1160
+ * @param {number} [limit] Page size.
1161
+ * @param {*} [options] Override http request option.
1162
+ * @throws {RequiredError}
1163
+ */
1164
+ jobsControllerListJobs(page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedJobsDto, any, {}>>;
1165
+ }
1166
+ /**
1167
+ * ProfilesApi - axios parameter creator
1168
+ */
1169
+ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuration) => {
1170
+ /**
1171
+ * Upload a YAML config file (multipart form). Do not inline YAML parameters in JSON.
1172
+ * @summary Create profile from YAML
1173
+ * @param {File} yaml YAML file containing the profile/config.
1174
+ * @param {string} [name] Optional override for profile name (otherwise derived from YAML).
1175
+ * @param {*} [options] Override http request option.
1176
+ * @throws {RequiredError}
1177
+ */
1178
+ profilesControllerCreateProfile: (yaml: File, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1179
+ /**
1180
+ *
1181
+ * @summary Read profile
1182
+ * @param {string} profileId Profile/config ID.
1183
+ * @param {*} [options] Override http request option.
1184
+ * @throws {RequiredError}
1185
+ */
1186
+ profilesControllerGetProfile: (profileId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1187
+ /**
1188
+ * Returns the JSON schema for profile YAML configuration files.
1189
+ * @summary Get profile schema
1190
+ * @param {*} [options] Override http request option.
1191
+ * @throws {RequiredError}
1192
+ */
1193
+ profilesControllerGetProfileSchema: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1194
+ /**
1195
+ *
1196
+ * @summary List profiles
1197
+ * @param {number} [page] 1-based page number.
1198
+ * @param {number} [limit] Page size.
1199
+ * @param {*} [options] Override http request option.
1200
+ * @throws {RequiredError}
1201
+ */
1202
+ profilesControllerListProfiles: (page?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1203
+ };
1204
+ /**
1205
+ * ProfilesApi - functional programming interface
1206
+ */
1207
+ export declare const ProfilesApiFp: (configuration?: Configuration) => {
1208
+ /**
1209
+ * Upload a YAML config file (multipart form). Do not inline YAML parameters in JSON.
1210
+ * @summary Create profile from YAML
1211
+ * @param {File} yaml YAML file containing the profile/config.
1212
+ * @param {string} [name] Optional override for profile name (otherwise derived from YAML).
1213
+ * @param {*} [options] Override http request option.
1214
+ * @throws {RequiredError}
1215
+ */
1216
+ profilesControllerCreateProfile(yaml: File, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfileDto>>;
1217
+ /**
1218
+ *
1219
+ * @summary Read profile
1220
+ * @param {string} profileId Profile/config ID.
1221
+ * @param {*} [options] Override http request option.
1222
+ * @throws {RequiredError}
1223
+ */
1224
+ profilesControllerGetProfile(profileId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfileDto>>;
1225
+ /**
1226
+ * Returns the JSON schema for profile YAML configuration files.
1227
+ * @summary Get profile schema
1228
+ * @param {*} [options] Override http request option.
1229
+ * @throws {RequiredError}
1230
+ */
1231
+ profilesControllerGetProfileSchema(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1232
+ [key: string]: any;
1233
+ }>>;
1234
+ /**
1235
+ *
1236
+ * @summary List profiles
1237
+ * @param {number} [page] 1-based page number.
1238
+ * @param {number} [limit] Page size.
1239
+ * @param {*} [options] Override http request option.
1240
+ * @throws {RequiredError}
1241
+ */
1242
+ profilesControllerListProfiles(page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedProfilesDto>>;
1243
+ };
1244
+ /**
1245
+ * ProfilesApi - factory interface
1246
+ */
1247
+ export declare const ProfilesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1248
+ /**
1249
+ * Upload a YAML config file (multipart form). Do not inline YAML parameters in JSON.
1250
+ * @summary Create profile from YAML
1251
+ * @param {File} yaml YAML file containing the profile/config.
1252
+ * @param {string} [name] Optional override for profile name (otherwise derived from YAML).
1253
+ * @param {*} [options] Override http request option.
1254
+ * @throws {RequiredError}
1255
+ */
1256
+ profilesControllerCreateProfile(yaml: File, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProfileDto>;
1257
+ /**
1258
+ *
1259
+ * @summary Read profile
1260
+ * @param {string} profileId Profile/config ID.
1261
+ * @param {*} [options] Override http request option.
1262
+ * @throws {RequiredError}
1263
+ */
1264
+ profilesControllerGetProfile(profileId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProfileDto>;
1265
+ /**
1266
+ * Returns the JSON schema for profile YAML configuration files.
1267
+ * @summary Get profile schema
1268
+ * @param {*} [options] Override http request option.
1269
+ * @throws {RequiredError}
1270
+ */
1271
+ profilesControllerGetProfileSchema(options?: RawAxiosRequestConfig): AxiosPromise<{
1272
+ [key: string]: any;
1273
+ }>;
1274
+ /**
1275
+ *
1276
+ * @summary List profiles
1277
+ * @param {number} [page] 1-based page number.
1278
+ * @param {number} [limit] Page size.
1279
+ * @param {*} [options] Override http request option.
1280
+ * @throws {RequiredError}
1281
+ */
1282
+ profilesControllerListProfiles(page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedProfilesDto>;
1283
+ };
1284
+ /**
1285
+ * ProfilesApi - object-oriented interface
1286
+ */
1287
+ export declare class ProfilesApi extends BaseAPI {
1288
+ /**
1289
+ * Upload a YAML config file (multipart form). Do not inline YAML parameters in JSON.
1290
+ * @summary Create profile from YAML
1291
+ * @param {File} yaml YAML file containing the profile/config.
1292
+ * @param {string} [name] Optional override for profile name (otherwise derived from YAML).
1293
+ * @param {*} [options] Override http request option.
1294
+ * @throws {RequiredError}
1295
+ */
1296
+ profilesControllerCreateProfile(yaml: File, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfileDto, any, {}>>;
1297
+ /**
1298
+ *
1299
+ * @summary Read profile
1300
+ * @param {string} profileId Profile/config ID.
1301
+ * @param {*} [options] Override http request option.
1302
+ * @throws {RequiredError}
1303
+ */
1304
+ profilesControllerGetProfile(profileId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfileDto, any, {}>>;
1305
+ /**
1306
+ * Returns the JSON schema for profile YAML configuration files.
1307
+ * @summary Get profile schema
1308
+ * @param {*} [options] Override http request option.
1309
+ * @throws {RequiredError}
1310
+ */
1311
+ profilesControllerGetProfileSchema(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1312
+ [key: string]: any;
1313
+ }, any, {}>>;
1314
+ /**
1315
+ *
1316
+ * @summary List profiles
1317
+ * @param {number} [page] 1-based page number.
1318
+ * @param {number} [limit] Page size.
1319
+ * @param {*} [options] Override http request option.
1320
+ * @throws {RequiredError}
1321
+ */
1322
+ profilesControllerListProfiles(page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedProfilesDto, any, {}>>;
1323
+ }
1324
+ /**
1325
+ * QueriesApi - axios parameter creator
1326
+ */
1327
+ export declare const QueriesApiAxiosParamCreator: (configuration?: Configuration) => {
1328
+ /**
1329
+ * Uploads a batch queries YAML (multipart form). Typically schedules a job.
1330
+ * @summary Create batch query from YAML
1331
+ * @param {File} yaml Batch queries YAML file.
1332
+ * @param {boolean} [watch]
1333
+ * @param {*} [options] Override http request option.
1334
+ * @throws {RequiredError}
1335
+ */
1336
+ queriesControllerCreateQuery: (yaml: File, watch?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1337
+ /**
1338
+ *
1339
+ * @summary Read batch query
1340
+ * @param {string} queryId Batch query ID.
1341
+ * @param {*} [options] Override http request option.
1342
+ * @throws {RequiredError}
1343
+ */
1344
+ queriesControllerGetQuery: (queryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1345
+ /**
1346
+ * Lists batch query runs (submitted via YAML).
1347
+ * @summary List batch queries
1348
+ * @param {number} [page] 1-based page number.
1349
+ * @param {number} [limit] Page size.
1350
+ * @param {string} [documentId] Filter by document ID.
1351
+ * @param {*} [options] Override http request option.
1352
+ * @throws {RequiredError}
1353
+ */
1354
+ queriesControllerListQueries: (page?: number, limit?: number, documentId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1355
+ /**
1356
+ * Validates an uploaded batch queries YAML without creating a query.
1357
+ * @summary Validate batch query YAML
1358
+ * @param {File} yaml YAML file to validate.
1359
+ * @param {*} [options] Override http request option.
1360
+ * @throws {RequiredError}
1361
+ */
1362
+ queriesControllerValidateQueryYaml: (yaml: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1363
+ };
1364
+ /**
1365
+ * QueriesApi - functional programming interface
1366
+ */
1367
+ export declare const QueriesApiFp: (configuration?: Configuration) => {
1368
+ /**
1369
+ * Uploads a batch queries YAML (multipart form). Typically schedules a job.
1370
+ * @summary Create batch query from YAML
1371
+ * @param {File} yaml Batch queries YAML file.
1372
+ * @param {boolean} [watch]
1373
+ * @param {*} [options] Override http request option.
1374
+ * @throws {RequiredError}
1375
+ */
1376
+ queriesControllerCreateQuery(yaml: File, watch?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryCreateResponseDto>>;
1377
+ /**
1378
+ *
1379
+ * @summary Read batch query
1380
+ * @param {string} queryId Batch query ID.
1381
+ * @param {*} [options] Override http request option.
1382
+ * @throws {RequiredError}
1383
+ */
1384
+ queriesControllerGetQuery(queryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchQueryDto>>;
1385
+ /**
1386
+ * Lists batch query runs (submitted via YAML).
1387
+ * @summary List batch queries
1388
+ * @param {number} [page] 1-based page number.
1389
+ * @param {number} [limit] Page size.
1390
+ * @param {string} [documentId] Filter by document ID.
1391
+ * @param {*} [options] Override http request option.
1392
+ * @throws {RequiredError}
1393
+ */
1394
+ queriesControllerListQueries(page?: number, limit?: number, documentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedQueriesDto>>;
1395
+ /**
1396
+ * Validates an uploaded batch queries YAML without creating a query.
1397
+ * @summary Validate batch query YAML
1398
+ * @param {File} yaml YAML file to validate.
1399
+ * @param {*} [options] Override http request option.
1400
+ * @throws {RequiredError}
1401
+ */
1402
+ queriesControllerValidateQueryYaml(yaml: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidationResultDto>>;
1403
+ };
1404
+ /**
1405
+ * QueriesApi - factory interface
1406
+ */
1407
+ export declare const QueriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1408
+ /**
1409
+ * Uploads a batch queries YAML (multipart form). Typically schedules a job.
1410
+ * @summary Create batch query from YAML
1411
+ * @param {File} yaml Batch queries YAML file.
1412
+ * @param {boolean} [watch]
1413
+ * @param {*} [options] Override http request option.
1414
+ * @throws {RequiredError}
1415
+ */
1416
+ queriesControllerCreateQuery(yaml: File, watch?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<QueryCreateResponseDto>;
1417
+ /**
1418
+ *
1419
+ * @summary Read batch query
1420
+ * @param {string} queryId Batch query ID.
1421
+ * @param {*} [options] Override http request option.
1422
+ * @throws {RequiredError}
1423
+ */
1424
+ queriesControllerGetQuery(queryId: string, options?: RawAxiosRequestConfig): AxiosPromise<BatchQueryDto>;
1425
+ /**
1426
+ * Lists batch query runs (submitted via YAML).
1427
+ * @summary List batch queries
1428
+ * @param {number} [page] 1-based page number.
1429
+ * @param {number} [limit] Page size.
1430
+ * @param {string} [documentId] Filter by document ID.
1431
+ * @param {*} [options] Override http request option.
1432
+ * @throws {RequiredError}
1433
+ */
1434
+ queriesControllerListQueries(page?: number, limit?: number, documentId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedQueriesDto>;
1435
+ /**
1436
+ * Validates an uploaded batch queries YAML without creating a query.
1437
+ * @summary Validate batch query YAML
1438
+ * @param {File} yaml YAML file to validate.
1439
+ * @param {*} [options] Override http request option.
1440
+ * @throws {RequiredError}
1441
+ */
1442
+ queriesControllerValidateQueryYaml(yaml: File, options?: RawAxiosRequestConfig): AxiosPromise<ValidationResultDto>;
1443
+ };
1444
+ /**
1445
+ * QueriesApi - object-oriented interface
1446
+ */
1447
+ export declare class QueriesApi extends BaseAPI {
1448
+ /**
1449
+ * Uploads a batch queries YAML (multipart form). Typically schedules a job.
1450
+ * @summary Create batch query from YAML
1451
+ * @param {File} yaml Batch queries YAML file.
1452
+ * @param {boolean} [watch]
1453
+ * @param {*} [options] Override http request option.
1454
+ * @throws {RequiredError}
1455
+ */
1456
+ queriesControllerCreateQuery(yaml: File, watch?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QueryCreateResponseDto, any, {}>>;
1457
+ /**
1458
+ *
1459
+ * @summary Read batch query
1460
+ * @param {string} queryId Batch query ID.
1461
+ * @param {*} [options] Override http request option.
1462
+ * @throws {RequiredError}
1463
+ */
1464
+ queriesControllerGetQuery(queryId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchQueryDto, any, {}>>;
1465
+ /**
1466
+ * Lists batch query runs (submitted via YAML).
1467
+ * @summary List batch queries
1468
+ * @param {number} [page] 1-based page number.
1469
+ * @param {number} [limit] Page size.
1470
+ * @param {string} [documentId] Filter by document ID.
1471
+ * @param {*} [options] Override http request option.
1472
+ * @throws {RequiredError}
1473
+ */
1474
+ queriesControllerListQueries(page?: number, limit?: number, documentId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedQueriesDto, any, {}>>;
1475
+ /**
1476
+ * Validates an uploaded batch queries YAML without creating a query.
1477
+ * @summary Validate batch query YAML
1478
+ * @param {File} yaml YAML file to validate.
1479
+ * @param {*} [options] Override http request option.
1480
+ * @throws {RequiredError}
1481
+ */
1482
+ queriesControllerValidateQueryYaml(yaml: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidationResultDto, any, {}>>;
1483
+ }
1484
+ /**
1485
+ * SourcesApi - axios parameter creator
1486
+ */
1487
+ export declare const SourcesApiAxiosParamCreator: (configuration?: Configuration) => {
1488
+ /**
1489
+ * Returns source data used to produce answers/results. If sourceId is provided, returns the matching source. Otherwise returns a list.
1490
+ * @summary Read document sources
1491
+ * @param {string} documentId Document ID.
1492
+ * @param {any} [jobId] Optional job ID to scope sources to a specific query job.
1493
+ * @param {any} [sourceId] Optional source ID (full or partial) to retrieve a specific source.
1494
+ * @param {*} [options] Override http request option.
1495
+ * @throws {RequiredError}
1496
+ */
1497
+ sourcesControllerGetDocumentSources: (documentId: string, jobId?: any, sourceId?: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1498
+ };
1499
+ /**
1500
+ * SourcesApi - functional programming interface
1501
+ */
1502
+ export declare const SourcesApiFp: (configuration?: Configuration) => {
1503
+ /**
1504
+ * Returns source data used to produce answers/results. If sourceId is provided, returns the matching source. Otherwise returns a list.
1505
+ * @summary Read document sources
1506
+ * @param {string} documentId Document ID.
1507
+ * @param {any} [jobId] Optional job ID to scope sources to a specific query job.
1508
+ * @param {any} [sourceId] Optional source ID (full or partial) to retrieve a specific source.
1509
+ * @param {*} [options] Override http request option.
1510
+ * @throws {RequiredError}
1511
+ */
1512
+ sourcesControllerGetDocumentSources(documentId: string, jobId?: any, sourceId?: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentSourcesResponseDto>>;
1513
+ };
1514
+ /**
1515
+ * SourcesApi - factory interface
1516
+ */
1517
+ export declare const SourcesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1518
+ /**
1519
+ * Returns source data used to produce answers/results. If sourceId is provided, returns the matching source. Otherwise returns a list.
1520
+ * @summary Read document sources
1521
+ * @param {string} documentId Document ID.
1522
+ * @param {any} [jobId] Optional job ID to scope sources to a specific query job.
1523
+ * @param {any} [sourceId] Optional source ID (full or partial) to retrieve a specific source.
1524
+ * @param {*} [options] Override http request option.
1525
+ * @throws {RequiredError}
1526
+ */
1527
+ sourcesControllerGetDocumentSources(documentId: string, jobId?: any, sourceId?: any, options?: RawAxiosRequestConfig): AxiosPromise<DocumentSourcesResponseDto>;
1528
+ };
1529
+ /**
1530
+ * SourcesApi - object-oriented interface
1531
+ */
1532
+ export declare class SourcesApi extends BaseAPI {
1533
+ /**
1534
+ * Returns source data used to produce answers/results. If sourceId is provided, returns the matching source. Otherwise returns a list.
1535
+ * @summary Read document sources
1536
+ * @param {string} documentId Document ID.
1537
+ * @param {any} [jobId] Optional job ID to scope sources to a specific query job.
1538
+ * @param {any} [sourceId] Optional source ID (full or partial) to retrieve a specific source.
1539
+ * @param {*} [options] Override http request option.
1540
+ * @throws {RequiredError}
1541
+ */
1542
+ sourcesControllerGetDocumentSources(documentId: string, jobId?: any, sourceId?: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentSourcesResponseDto, any, {}>>;
1543
+ }