@gemina/sdk 0.14.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Gemina API
3
3
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
4
4
  *
5
- * The version of the OpenAPI document: 1.6.2
5
+ * The version of the OpenAPI document: 1.11.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -187,7 +187,7 @@ declare class TextApiResponse {
187
187
  * Gemina API
188
188
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
189
189
  *
190
- * The version of the OpenAPI document: 1.6.2
190
+ * The version of the OpenAPI document: 1.11.0
191
191
  *
192
192
  *
193
193
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -217,7 +217,7 @@ declare function InvoiceStatusToJSONTyped(value: any, ignoreDiscriminator: boole
217
217
  * Gemina API
218
218
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
219
219
  *
220
- * The version of the OpenAPI document: 1.6.2
220
+ * The version of the OpenAPI document: 1.11.0
221
221
  *
222
222
  *
223
223
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -244,7 +244,7 @@ declare function InvoiceTypeToJSONTyped(value: any, ignoreDiscriminator: boolean
244
244
  * Gemina API
245
245
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
246
246
  *
247
- * The version of the OpenAPI document: 1.6.2
247
+ * The version of the OpenAPI document: 1.11.0
248
248
  *
249
249
  *
250
250
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -338,7 +338,7 @@ declare function InvoiceOutDTOToJSONTyped(value?: InvoiceOutDTO | null, ignoreDi
338
338
  * Gemina API
339
339
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
340
340
  *
341
- * The version of the OpenAPI document: 1.6.2
341
+ * The version of the OpenAPI document: 1.11.0
342
342
  *
343
343
  *
344
344
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -402,7 +402,7 @@ declare function InvoiceListOutDTOToJSONTyped(value?: InvoiceListOutDTO | null,
402
402
  * Gemina API
403
403
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
404
404
  *
405
- * The version of the OpenAPI document: 1.6.2
405
+ * The version of the OpenAPI document: 1.11.0
406
406
  *
407
407
  *
408
408
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -447,7 +447,7 @@ declare function InvoicePdfOutDTOToJSONTyped(value?: InvoicePdfOutDTO | null, ig
447
447
  * Gemina API
448
448
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
449
449
  *
450
- * The version of the OpenAPI document: 1.6.2
450
+ * The version of the OpenAPI document: 1.11.0
451
451
  *
452
452
  *
453
453
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -480,7 +480,7 @@ declare function WebhookResponseDTOToJSONTyped(value?: WebhookResponseDTO | null
480
480
  * Gemina API
481
481
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
482
482
  *
483
- * The version of the OpenAPI document: 1.6.2
483
+ * The version of the OpenAPI document: 1.11.0
484
484
  *
485
485
  *
486
486
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -556,7 +556,7 @@ declare class BillingApi extends BaseAPI {
556
556
  * Gemina API
557
557
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
558
558
  *
559
- * The version of the OpenAPI document: 1.6.2
559
+ * The version of the OpenAPI document: 1.11.0
560
560
  *
561
561
  *
562
562
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -601,7 +601,7 @@ declare function ChatQueryInDTOToJSONTyped(value?: ChatQueryInDTO | null, ignore
601
601
  * Gemina API
602
602
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
603
603
  *
604
- * The version of the OpenAPI document: 1.6.2
604
+ * The version of the OpenAPI document: 1.11.0
605
605
  *
606
606
  *
607
607
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -682,7 +682,7 @@ declare function ChatQueryOutDTOToJSONTyped(value?: ChatQueryOutDTO | null, igno
682
682
  * Gemina API
683
683
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
684
684
  *
685
- * The version of the OpenAPI document: 1.6.2
685
+ * The version of the OpenAPI document: 1.11.0
686
686
  *
687
687
  *
688
688
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -780,7 +780,7 @@ declare function ChatSessionOutDTOToJSONTyped(value?: ChatSessionOutDTO | null,
780
780
  * Gemina API
781
781
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
782
782
  *
783
- * The version of the OpenAPI document: 1.6.2
783
+ * The version of the OpenAPI document: 1.11.0
784
784
  *
785
785
  *
786
786
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -844,7 +844,7 @@ declare function ChatSessionListOutDTOToJSONTyped(value?: ChatSessionListOutDTO
844
844
  * Gemina API
845
845
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
846
846
  *
847
- * The version of the OpenAPI document: 1.6.2
847
+ * The version of the OpenAPI document: 1.11.0
848
848
  *
849
849
  *
850
850
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -920,7 +920,7 @@ declare function ChatMessageOutDTOToJSONTyped(value?: ChatMessageOutDTO | null,
920
920
  * Gemina API
921
921
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
922
922
  *
923
- * The version of the OpenAPI document: 1.6.2
923
+ * The version of the OpenAPI document: 1.11.0
924
924
  *
925
925
  *
926
926
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -990,7 +990,7 @@ declare function ChatTranscriptOutDTOToJSONTyped(value?: ChatTranscriptOutDTO |
990
990
  * Gemina API
991
991
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
992
992
  *
993
- * The version of the OpenAPI document: 1.6.2
993
+ * The version of the OpenAPI document: 1.11.0
994
994
  *
995
995
  *
996
996
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1016,7 +1016,7 @@ declare function SortMethodModelToJSONTyped(value: any, ignoreDiscriminator: boo
1016
1016
  * Gemina API
1017
1017
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1018
1018
  *
1019
- * The version of the OpenAPI document: 1.6.2
1019
+ * The version of the OpenAPI document: 1.11.0
1020
1020
  *
1021
1021
  *
1022
1022
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1143,7 +1143,7 @@ declare class ChatApi extends BaseAPI {
1143
1143
  * Gemina API
1144
1144
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1145
1145
  *
1146
- * The version of the OpenAPI document: 1.6.2
1146
+ * The version of the OpenAPI document: 1.11.0
1147
1147
  *
1148
1148
  *
1149
1149
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1194,7 +1194,7 @@ declare function ContactFormInDTOToJSONTyped(value?: ContactFormInDTO | null, ig
1194
1194
  * Gemina API
1195
1195
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1196
1196
  *
1197
- * The version of the OpenAPI document: 1.6.2
1197
+ * The version of the OpenAPI document: 1.11.0
1198
1198
  *
1199
1199
  *
1200
1200
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1227,7 +1227,140 @@ declare class ContactApi extends BaseAPI {
1227
1227
  * Gemina API
1228
1228
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1229
1229
  *
1230
- * The version of the OpenAPI document: 1.6.2
1230
+ * The version of the OpenAPI document: 1.11.0
1231
+ *
1232
+ *
1233
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1234
+ * https://openapi-generator.tech
1235
+ * Do not edit the class manually.
1236
+ */
1237
+ /**
1238
+ *
1239
+ * @export
1240
+ */
1241
+ declare const ModelType: {
1242
+ readonly Gemina: "gemina";
1243
+ readonly Google: "google";
1244
+ readonly Openai: "openai";
1245
+ readonly Velox: "velox";
1246
+ readonly Praetorian: "praetorian";
1247
+ readonly Invictus: "invictus";
1248
+ };
1249
+ type ModelType = typeof ModelType[keyof typeof ModelType];
1250
+ declare function instanceOfModelType(value: any): boolean;
1251
+ declare function ModelTypeFromJSON(json: any): ModelType;
1252
+ declare function ModelTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelType;
1253
+ declare function ModelTypeToJSON(value?: ModelType | null): any;
1254
+ declare function ModelTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ModelType;
1255
+
1256
+ /**
1257
+ * Gemina API
1258
+ * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1259
+ *
1260
+ * The version of the OpenAPI document: 1.11.0
1261
+ *
1262
+ *
1263
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1264
+ * https://openapi-generator.tech
1265
+ * Do not edit the class manually.
1266
+ */
1267
+ /**
1268
+ * Extraction types accepted by the document-upload endpoints.
1269
+ * @export
1270
+ */
1271
+ declare const UploadExtractionTypeEnum: {
1272
+ readonly Ocr: "ocr";
1273
+ readonly DocumentDetailsHebrew: "document_details_hebrew";
1274
+ readonly DocumentLineItemsHebrew: "document_line_items_hebrew";
1275
+ readonly InvoiceHeaders: "invoice_headers";
1276
+ readonly InvoiceLineItems: "invoice_line_items";
1277
+ readonly CustomTemplate: "custom_template";
1278
+ };
1279
+ type UploadExtractionTypeEnum = typeof UploadExtractionTypeEnum[keyof typeof UploadExtractionTypeEnum];
1280
+ declare function instanceOfUploadExtractionTypeEnum(value: any): boolean;
1281
+ declare function UploadExtractionTypeEnumFromJSON(json: any): UploadExtractionTypeEnum;
1282
+ declare function UploadExtractionTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadExtractionTypeEnum;
1283
+ declare function UploadExtractionTypeEnumToJSON(value?: UploadExtractionTypeEnum | null): any;
1284
+ declare function UploadExtractionTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): UploadExtractionTypeEnum;
1285
+
1286
+ /**
1287
+ * Gemina API
1288
+ * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1289
+ *
1290
+ * The version of the OpenAPI document: 1.11.0
1291
+ *
1292
+ *
1293
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1294
+ * https://openapi-generator.tech
1295
+ * Do not edit the class manually.
1296
+ */
1297
+
1298
+ /**
1299
+ * Request body for ``POST /documents/{document_id}/extractions``.
1300
+ *
1301
+ * No file, external id or end-user id: they belong to the document. FileTag is
1302
+ * structurally rejected by ``UploadExtractionTypeModel``.
1303
+ * @export
1304
+ * @interface AddExtractionsInDTO
1305
+ */
1306
+ interface AddExtractionsInDTO {
1307
+ /**
1308
+ * Enable self-correction of the extracted data; defaults to the account setting
1309
+ * @type {boolean}
1310
+ * @memberof AddExtractionsInDTO
1311
+ */
1312
+ correction?: boolean | null;
1313
+ /**
1314
+ * Enable self-evaluation of the extracted data; defaults to the account setting
1315
+ * @type {boolean}
1316
+ * @memberof AddExtractionsInDTO
1317
+ */
1318
+ evaluation?: boolean | null;
1319
+ /**
1320
+ * Extraction types to add to the existing document
1321
+ * @type {Array<UploadExtractionTypeEnum>}
1322
+ * @memberof AddExtractionsInDTO
1323
+ */
1324
+ extractionTypes: Array<UploadExtractionTypeEnum>;
1325
+ /**
1326
+ * Return per-field bounding boxes; defaults to the account setting
1327
+ * @type {boolean}
1328
+ * @memberof AddExtractionsInDTO
1329
+ */
1330
+ includeCoordinates?: boolean | null;
1331
+ /**
1332
+ * Extraction model; defaults to the account's configured model
1333
+ * @type {ModelType}
1334
+ * @memberof AddExtractionsInDTO
1335
+ */
1336
+ modelType?: ModelType | null;
1337
+ /**
1338
+ * Custom template to extract with; required by (and only valid with) the custom_template type
1339
+ * @type {string}
1340
+ * @memberof AddExtractionsInDTO
1341
+ */
1342
+ templateId?: string | null;
1343
+ /**
1344
+ * Enable extended reasoning; defaults to the account setting
1345
+ * @type {boolean}
1346
+ * @memberof AddExtractionsInDTO
1347
+ */
1348
+ thinking?: boolean | null;
1349
+ }
1350
+ /**
1351
+ * Check if a given object implements the AddExtractionsInDTO interface.
1352
+ */
1353
+ declare function instanceOfAddExtractionsInDTO(value: object): value is AddExtractionsInDTO;
1354
+ declare function AddExtractionsInDTOFromJSON(json: any): AddExtractionsInDTO;
1355
+ declare function AddExtractionsInDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddExtractionsInDTO;
1356
+ declare function AddExtractionsInDTOToJSON(json: any): AddExtractionsInDTO;
1357
+ declare function AddExtractionsInDTOToJSONTyped(value?: AddExtractionsInDTO | null, ignoreDiscriminator?: boolean): any;
1358
+
1359
+ /**
1360
+ * Gemina API
1361
+ * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1362
+ *
1363
+ * The version of the OpenAPI document: 1.11.0
1231
1364
  *
1232
1365
  *
1233
1366
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1257,7 +1390,7 @@ declare function ResponseStatusToJSONTyped(value: any, ignoreDiscriminator: bool
1257
1390
  * Gemina API
1258
1391
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1259
1392
  *
1260
- * The version of the OpenAPI document: 1.6.2
1393
+ * The version of the OpenAPI document: 1.11.0
1261
1394
  *
1262
1395
  *
1263
1396
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1284,7 +1417,7 @@ declare function DocumentFileTypeModelToJSONTyped(value: any, ignoreDiscriminato
1284
1417
  * Gemina API
1285
1418
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1286
1419
  *
1287
- * The version of the OpenAPI document: 1.6.2
1420
+ * The version of the OpenAPI document: 1.11.0
1288
1421
  *
1289
1422
  *
1290
1423
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1312,7 +1445,7 @@ declare function DataCenterRegionModelToJSONTyped(value: any, ignoreDiscriminato
1312
1445
  * Gemina API
1313
1446
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1314
1447
  *
1315
- * The version of the OpenAPI document: 1.6.2
1448
+ * The version of the OpenAPI document: 1.11.0
1316
1449
  *
1317
1450
  *
1318
1451
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1321,146 +1454,164 @@ declare function DataCenterRegionModelToJSONTyped(value: any, ignoreDiscriminato
1321
1454
  */
1322
1455
 
1323
1456
  /**
1457
+ * The document-view meta plus the async poll pointer.
1324
1458
  *
1459
+ * Extends (never replaces) ``DocumentViewMetaOutDTO`` so the add-on response
1460
+ * keeps every meta field a document view carries (``createdAt``,
1461
+ * ``contentPurgedAt``, ``processingStatus``, ``documentId``, ...) and only
1462
+ * ADDS ``next`` / ``correlationId`` -- the same poll pointer an upload response
1463
+ * exposes, so an existing submit-and-wait SDK helper works unchanged.
1325
1464
  * @export
1326
- * @interface DocumentViewMetaOutDTO
1465
+ * @interface DocumentAddExtractionsMetaOutDTO
1327
1466
  */
1328
- interface DocumentViewMetaOutDTO {
1467
+ interface DocumentAddExtractionsMetaOutDTO {
1329
1468
  /**
1330
1469
  *
1331
1470
  * @type {string}
1332
- * @memberof DocumentViewMetaOutDTO
1471
+ * @memberof DocumentAddExtractionsMetaOutDTO
1333
1472
  */
1334
1473
  apiKeyId?: string | null;
1335
1474
  /**
1336
1475
  *
1337
1476
  * @type {Date}
1338
- * @memberof DocumentViewMetaOutDTO
1477
+ * @memberof DocumentAddExtractionsMetaOutDTO
1339
1478
  */
1340
1479
  contentPurgedAt: Date | null;
1341
1480
  /**
1342
1481
  *
1343
1482
  * @type {string}
1344
- * @memberof DocumentViewMetaOutDTO
1483
+ * @memberof DocumentAddExtractionsMetaOutDTO
1345
1484
  */
1346
1485
  contentType?: string | null;
1486
+ /**
1487
+ *
1488
+ * @type {string}
1489
+ * @memberof DocumentAddExtractionsMetaOutDTO
1490
+ */
1491
+ correlationId?: string | null;
1347
1492
  /**
1348
1493
  *
1349
1494
  * @type {Date}
1350
- * @memberof DocumentViewMetaOutDTO
1495
+ * @memberof DocumentAddExtractionsMetaOutDTO
1351
1496
  */
1352
1497
  createdAt: Date;
1353
1498
  /**
1354
1499
  *
1355
1500
  * @type {DocumentFileTypeModel}
1356
- * @memberof DocumentViewMetaOutDTO
1501
+ * @memberof DocumentAddExtractionsMetaOutDTO
1357
1502
  */
1358
1503
  documentFileType?: DocumentFileTypeModel | null;
1359
1504
  /**
1360
1505
  *
1361
1506
  * @type {string}
1362
- * @memberof DocumentViewMetaOutDTO
1507
+ * @memberof DocumentAddExtractionsMetaOutDTO
1363
1508
  */
1364
1509
  documentId?: string | null;
1365
1510
  /**
1366
1511
  *
1367
1512
  * @type {string}
1368
- * @memberof DocumentViewMetaOutDTO
1513
+ * @memberof DocumentAddExtractionsMetaOutDTO
1369
1514
  */
1370
1515
  endUserId?: string | null;
1371
1516
  /**
1372
1517
  *
1373
1518
  * @type {string}
1374
- * @memberof DocumentViewMetaOutDTO
1519
+ * @memberof DocumentAddExtractionsMetaOutDTO
1375
1520
  */
1376
1521
  externalId?: string | null;
1377
1522
  /**
1378
1523
  *
1379
1524
  * @type {number}
1380
- * @memberof DocumentViewMetaOutDTO
1525
+ * @memberof DocumentAddExtractionsMetaOutDTO
1381
1526
  */
1382
1527
  fileSize?: number | null;
1383
1528
  /**
1384
1529
  *
1385
1530
  * @type {string}
1386
- * @memberof DocumentViewMetaOutDTO
1531
+ * @memberof DocumentAddExtractionsMetaOutDTO
1387
1532
  */
1388
1533
  filename?: string | null;
1389
1534
  /**
1390
1535
  *
1391
1536
  * @type {string}
1392
- * @memberof DocumentViewMetaOutDTO
1537
+ * @memberof DocumentAddExtractionsMetaOutDTO
1393
1538
  */
1394
1539
  imageUrl?: string | null;
1540
+ /**
1541
+ *
1542
+ * @type {string}
1543
+ * @memberof DocumentAddExtractionsMetaOutDTO
1544
+ */
1545
+ next?: string | null;
1395
1546
  /**
1396
1547
  *
1397
1548
  * @type {number}
1398
- * @memberof DocumentViewMetaOutDTO
1549
+ * @memberof DocumentAddExtractionsMetaOutDTO
1399
1550
  */
1400
1551
  normalizedHeight?: number | null;
1401
1552
  /**
1402
1553
  *
1403
1554
  * @type {number}
1404
- * @memberof DocumentViewMetaOutDTO
1555
+ * @memberof DocumentAddExtractionsMetaOutDTO
1405
1556
  */
1406
1557
  normalizedMegapixels?: number | null;
1407
1558
  /**
1408
1559
  *
1409
1560
  * @type {number}
1410
- * @memberof DocumentViewMetaOutDTO
1561
+ * @memberof DocumentAddExtractionsMetaOutDTO
1411
1562
  */
1412
1563
  normalizedWidth?: number | null;
1413
1564
  /**
1414
1565
  *
1415
1566
  * @type {number}
1416
- * @memberof DocumentViewMetaOutDTO
1567
+ * @memberof DocumentAddExtractionsMetaOutDTO
1417
1568
  */
1418
1569
  numberOfPages?: number | null;
1419
1570
  /**
1420
1571
  *
1421
1572
  * @type {string}
1422
- * @memberof DocumentViewMetaOutDTO
1573
+ * @memberof DocumentAddExtractionsMetaOutDTO
1423
1574
  */
1424
1575
  originalDocumentUrl?: string | null;
1425
1576
  /**
1426
1577
  *
1427
1578
  * @type {ResponseStatus}
1428
- * @memberof DocumentViewMetaOutDTO
1579
+ * @memberof DocumentAddExtractionsMetaOutDTO
1429
1580
  */
1430
1581
  processingStatus?: ResponseStatus | null;
1431
1582
  /**
1432
1583
  *
1433
1584
  * @type {DataCenterRegionModel}
1434
- * @memberof DocumentViewMetaOutDTO
1585
+ * @memberof DocumentAddExtractionsMetaOutDTO
1435
1586
  */
1436
1587
  storageLocation?: DataCenterRegionModel | null;
1437
1588
  /**
1438
1589
  *
1439
1590
  * @type {string}
1440
- * @memberof DocumentViewMetaOutDTO
1591
+ * @memberof DocumentAddExtractionsMetaOutDTO
1441
1592
  */
1442
1593
  thumbnailUrl?: string | null;
1443
1594
  /**
1444
1595
  *
1445
1596
  * @type {string}
1446
- * @memberof DocumentViewMetaOutDTO
1597
+ * @memberof DocumentAddExtractionsMetaOutDTO
1447
1598
  */
1448
1599
  userId?: string | null;
1449
1600
  }
1450
1601
  /**
1451
- * Check if a given object implements the DocumentViewMetaOutDTO interface.
1602
+ * Check if a given object implements the DocumentAddExtractionsMetaOutDTO interface.
1452
1603
  */
1453
- declare function instanceOfDocumentViewMetaOutDTO(value: object): value is DocumentViewMetaOutDTO;
1454
- declare function DocumentViewMetaOutDTOFromJSON(json: any): DocumentViewMetaOutDTO;
1455
- declare function DocumentViewMetaOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentViewMetaOutDTO;
1456
- declare function DocumentViewMetaOutDTOToJSON(json: any): DocumentViewMetaOutDTO;
1457
- declare function DocumentViewMetaOutDTOToJSONTyped(value?: DocumentViewMetaOutDTO | null, ignoreDiscriminator?: boolean): any;
1604
+ declare function instanceOfDocumentAddExtractionsMetaOutDTO(value: object): value is DocumentAddExtractionsMetaOutDTO;
1605
+ declare function DocumentAddExtractionsMetaOutDTOFromJSON(json: any): DocumentAddExtractionsMetaOutDTO;
1606
+ declare function DocumentAddExtractionsMetaOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentAddExtractionsMetaOutDTO;
1607
+ declare function DocumentAddExtractionsMetaOutDTOToJSON(json: any): DocumentAddExtractionsMetaOutDTO;
1608
+ declare function DocumentAddExtractionsMetaOutDTOToJSONTyped(value?: DocumentAddExtractionsMetaOutDTO | null, ignoreDiscriminator?: boolean): any;
1458
1609
 
1459
1610
  /**
1460
1611
  * Gemina API
1461
1612
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1462
1613
  *
1463
- * The version of the OpenAPI document: 1.6.2
1614
+ * The version of the OpenAPI document: 1.11.0
1464
1615
  *
1465
1616
  *
1466
1617
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1530,7 +1681,7 @@ declare function VerifiedDiffEntryOutDTOToJSONTyped(value?: VerifiedDiffEntryOut
1530
1681
  * Gemina API
1531
1682
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1532
1683
  *
1533
- * The version of the OpenAPI document: 1.6.2
1684
+ * The version of the OpenAPI document: 1.11.0
1534
1685
  *
1535
1686
  *
1536
1687
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1557,7 +1708,7 @@ declare function PurgeReasonModelToJSONTyped(value: any, ignoreDiscriminator: bo
1557
1708
  * Gemina API
1558
1709
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1559
1710
  *
1560
- * The version of the OpenAPI document: 1.6.2
1711
+ * The version of the OpenAPI document: 1.11.0
1561
1712
  *
1562
1713
  *
1563
1714
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1588,37 +1739,7 @@ declare function ExtractionTypeModelToJSONTyped(value: any, ignoreDiscriminator:
1588
1739
  * Gemina API
1589
1740
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1590
1741
  *
1591
- * The version of the OpenAPI document: 1.6.2
1592
- *
1593
- *
1594
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1595
- * https://openapi-generator.tech
1596
- * Do not edit the class manually.
1597
- */
1598
- /**
1599
- *
1600
- * @export
1601
- */
1602
- declare const ModelType: {
1603
- readonly Gemina: "gemina";
1604
- readonly Google: "google";
1605
- readonly Openai: "openai";
1606
- readonly Velox: "velox";
1607
- readonly Praetorian: "praetorian";
1608
- readonly Invictus: "invictus";
1609
- };
1610
- type ModelType = typeof ModelType[keyof typeof ModelType];
1611
- declare function instanceOfModelType(value: any): boolean;
1612
- declare function ModelTypeFromJSON(json: any): ModelType;
1613
- declare function ModelTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelType;
1614
- declare function ModelTypeToJSON(value?: ModelType | null): any;
1615
- declare function ModelTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ModelType;
1616
-
1617
- /**
1618
- * Gemina API
1619
- * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1620
- *
1621
- * The version of the OpenAPI document: 1.6.2
1742
+ * The version of the OpenAPI document: 1.11.0
1622
1743
  *
1623
1744
  *
1624
1745
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1702,7 +1823,7 @@ declare function ValidationFieldModelToJSONTyped(value?: ValidationFieldModel |
1702
1823
  * Gemina API
1703
1824
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1704
1825
  *
1705
- * The version of the OpenAPI document: 1.6.2
1826
+ * The version of the OpenAPI document: 1.11.0
1706
1827
  *
1707
1828
  *
1708
1829
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1774,7 +1895,7 @@ declare function ValidationColumnModelToJSONTyped(value?: ValidationColumnModel
1774
1895
  * Gemina API
1775
1896
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1776
1897
  *
1777
- * The version of the OpenAPI document: 1.6.2
1898
+ * The version of the OpenAPI document: 1.11.0
1778
1899
  *
1779
1900
  *
1780
1901
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1825,7 +1946,7 @@ declare function RowMutableTableModelToJSONTyped(value?: RowMutableTableModel |
1825
1946
  * Gemina API
1826
1947
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1827
1948
  *
1828
- * The version of the OpenAPI document: 1.6.2
1949
+ * The version of the OpenAPI document: 1.11.0
1829
1950
  *
1830
1951
  *
1831
1952
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1871,7 +1992,7 @@ declare function ValidationSchemaModelToJSONTyped(value?: ValidationSchemaModel
1871
1992
  * Gemina API
1872
1993
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1873
1994
  *
1874
- * The version of the OpenAPI document: 1.6.2
1995
+ * The version of the OpenAPI document: 1.11.0
1875
1996
  *
1876
1997
  *
1877
1998
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1989,7 +2110,7 @@ declare function ExtractionMetaOutDTOToJSONTyped(value?: ExtractionMetaOutDTO |
1989
2110
  * Gemina API
1990
2111
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
1991
2112
  *
1992
- * The version of the OpenAPI document: 1.6.2
2113
+ * The version of the OpenAPI document: 1.11.0
1993
2114
  *
1994
2115
  *
1995
2116
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2028,72 +2149,302 @@ interface ExtractionProcessingResultOutDTO {
2028
2149
  * @type {{ [key: string]: any; }}
2029
2150
  * @memberof ExtractionProcessingResultOutDTO
2030
2151
  */
2031
- values: {
2032
- [key: string]: any;
2033
- } | null;
2152
+ values: {
2153
+ [key: string]: any;
2154
+ } | null;
2155
+ /**
2156
+ *
2157
+ * @type {Array<VerifiedDiffEntryOutDTO>}
2158
+ * @memberof ExtractionProcessingResultOutDTO
2159
+ */
2160
+ verifiedDiff?: Array<VerifiedDiffEntryOutDTO> | null;
2161
+ /**
2162
+ *
2163
+ * @type {{ [key: string]: any; }}
2164
+ * @memberof ExtractionProcessingResultOutDTO
2165
+ */
2166
+ verifiedValues?: {
2167
+ [key: string]: any;
2168
+ } | null;
2169
+ }
2170
+ /**
2171
+ * Check if a given object implements the ExtractionProcessingResultOutDTO interface.
2172
+ */
2173
+ declare function instanceOfExtractionProcessingResultOutDTO(value: object): value is ExtractionProcessingResultOutDTO;
2174
+ declare function ExtractionProcessingResultOutDTOFromJSON(json: any): ExtractionProcessingResultOutDTO;
2175
+ declare function ExtractionProcessingResultOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtractionProcessingResultOutDTO;
2176
+ declare function ExtractionProcessingResultOutDTOToJSON(json: any): ExtractionProcessingResultOutDTO;
2177
+ declare function ExtractionProcessingResultOutDTOToJSONTyped(value?: ExtractionProcessingResultOutDTO | null, ignoreDiscriminator?: boolean): any;
2178
+
2179
+ /**
2180
+ * Gemina API
2181
+ * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2182
+ *
2183
+ * The version of the OpenAPI document: 1.11.0
2184
+ *
2185
+ *
2186
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2187
+ * https://openapi-generator.tech
2188
+ * Do not edit the class manually.
2189
+ */
2190
+
2191
+ /**
2192
+ *
2193
+ * @export
2194
+ * @interface DocumentDataOutDTO
2195
+ */
2196
+ interface DocumentDataOutDTO {
2197
+ /**
2198
+ *
2199
+ * @type {Array<ExtractionProcessingResultOutDTO>}
2200
+ * @memberof DocumentDataOutDTO
2201
+ */
2202
+ extractions?: Array<ExtractionProcessingResultOutDTO> | null;
2203
+ }
2204
+ /**
2205
+ * Check if a given object implements the DocumentDataOutDTO interface.
2206
+ */
2207
+ declare function instanceOfDocumentDataOutDTO(value: object): value is DocumentDataOutDTO;
2208
+ declare function DocumentDataOutDTOFromJSON(json: any): DocumentDataOutDTO;
2209
+ declare function DocumentDataOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentDataOutDTO;
2210
+ declare function DocumentDataOutDTOToJSON(json: any): DocumentDataOutDTO;
2211
+ declare function DocumentDataOutDTOToJSONTyped(value?: DocumentDataOutDTO | null, ignoreDiscriminator?: boolean): any;
2212
+
2213
+ /**
2214
+ * Gemina API
2215
+ * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2216
+ *
2217
+ * The version of the OpenAPI document: 1.11.0
2218
+ *
2219
+ *
2220
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2221
+ * https://openapi-generator.tech
2222
+ * Do not edit the class manually.
2223
+ */
2224
+
2225
+ /**
2226
+ * The document view (all extractions, old and new) plus what this call created.
2227
+ *
2228
+ * ``pollCorrelationId`` is the document's ORIGINAL correlation: the existing
2229
+ * ``GET /documents/results/{id}`` / ``get_extraction_result`` report the whole
2230
+ * document as done only once every row (including the new ones) is terminal.
2231
+ * @export
2232
+ * @interface DocumentAddExtractionsOutDTO
2233
+ */
2234
+ interface DocumentAddExtractionsOutDTO {
2235
+ /**
2236
+ *
2237
+ * @type {Date}
2238
+ * @memberof DocumentAddExtractionsOutDTO
2239
+ */
2240
+ createdAt?: Date | null;
2241
+ /**
2242
+ *
2243
+ * @type {number}
2244
+ * @memberof DocumentAddExtractionsOutDTO
2245
+ */
2246
+ createdAtTimestamp?: number | null;
2247
+ /**
2248
+ *
2249
+ * @type {DocumentDataOutDTO}
2250
+ * @memberof DocumentAddExtractionsOutDTO
2251
+ */
2252
+ data: DocumentDataOutDTO | null;
2253
+ /**
2254
+ *
2255
+ * @type {Array<{ [key: string]: any; }>}
2256
+ * @memberof DocumentAddExtractionsOutDTO
2257
+ */
2258
+ errors?: Array<{
2259
+ [key: string]: any;
2260
+ }>;
2261
+ /**
2262
+ *
2263
+ * @type {DocumentAddExtractionsMetaOutDTO}
2264
+ * @memberof DocumentAddExtractionsOutDTO
2265
+ */
2266
+ meta: DocumentAddExtractionsMetaOutDTO;
2267
+ /**
2268
+ * Ids of the extractions this call created
2269
+ * @type {Array<string>}
2270
+ * @memberof DocumentAddExtractionsOutDTO
2271
+ */
2272
+ newExtractionIds?: Array<string>;
2273
+ /**
2274
+ * Correlation id to poll for the document's completion
2275
+ * @type {string}
2276
+ * @memberof DocumentAddExtractionsOutDTO
2277
+ */
2278
+ pollCorrelationId: string;
2279
+ /**
2280
+ *
2281
+ * @type {ResponseStatus}
2282
+ * @memberof DocumentAddExtractionsOutDTO
2283
+ */
2284
+ status: ResponseStatus;
2285
+ }
2286
+ /**
2287
+ * Check if a given object implements the DocumentAddExtractionsOutDTO interface.
2288
+ */
2289
+ declare function instanceOfDocumentAddExtractionsOutDTO(value: object): value is DocumentAddExtractionsOutDTO;
2290
+ declare function DocumentAddExtractionsOutDTOFromJSON(json: any): DocumentAddExtractionsOutDTO;
2291
+ declare function DocumentAddExtractionsOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentAddExtractionsOutDTO;
2292
+ declare function DocumentAddExtractionsOutDTOToJSON(json: any): DocumentAddExtractionsOutDTO;
2293
+ declare function DocumentAddExtractionsOutDTOToJSONTyped(value?: DocumentAddExtractionsOutDTO | null, ignoreDiscriminator?: boolean): any;
2294
+
2295
+ /**
2296
+ * Gemina API
2297
+ * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2298
+ *
2299
+ * The version of the OpenAPI document: 1.11.0
2300
+ *
2301
+ *
2302
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2303
+ * https://openapi-generator.tech
2304
+ * Do not edit the class manually.
2305
+ */
2306
+
2307
+ /**
2308
+ *
2309
+ * @export
2310
+ * @interface DocumentViewMetaOutDTO
2311
+ */
2312
+ interface DocumentViewMetaOutDTO {
2313
+ /**
2314
+ *
2315
+ * @type {string}
2316
+ * @memberof DocumentViewMetaOutDTO
2317
+ */
2318
+ apiKeyId?: string | null;
2319
+ /**
2320
+ *
2321
+ * @type {Date}
2322
+ * @memberof DocumentViewMetaOutDTO
2323
+ */
2324
+ contentPurgedAt: Date | null;
2325
+ /**
2326
+ *
2327
+ * @type {string}
2328
+ * @memberof DocumentViewMetaOutDTO
2329
+ */
2330
+ contentType?: string | null;
2331
+ /**
2332
+ *
2333
+ * @type {Date}
2334
+ * @memberof DocumentViewMetaOutDTO
2335
+ */
2336
+ createdAt: Date;
2337
+ /**
2338
+ *
2339
+ * @type {DocumentFileTypeModel}
2340
+ * @memberof DocumentViewMetaOutDTO
2341
+ */
2342
+ documentFileType?: DocumentFileTypeModel | null;
2343
+ /**
2344
+ *
2345
+ * @type {string}
2346
+ * @memberof DocumentViewMetaOutDTO
2347
+ */
2348
+ documentId?: string | null;
2349
+ /**
2350
+ *
2351
+ * @type {string}
2352
+ * @memberof DocumentViewMetaOutDTO
2353
+ */
2354
+ endUserId?: string | null;
2355
+ /**
2356
+ *
2357
+ * @type {string}
2358
+ * @memberof DocumentViewMetaOutDTO
2359
+ */
2360
+ externalId?: string | null;
2361
+ /**
2362
+ *
2363
+ * @type {number}
2364
+ * @memberof DocumentViewMetaOutDTO
2365
+ */
2366
+ fileSize?: number | null;
2367
+ /**
2368
+ *
2369
+ * @type {string}
2370
+ * @memberof DocumentViewMetaOutDTO
2371
+ */
2372
+ filename?: string | null;
2373
+ /**
2374
+ *
2375
+ * @type {string}
2376
+ * @memberof DocumentViewMetaOutDTO
2377
+ */
2378
+ imageUrl?: string | null;
2379
+ /**
2380
+ *
2381
+ * @type {number}
2382
+ * @memberof DocumentViewMetaOutDTO
2383
+ */
2384
+ normalizedHeight?: number | null;
2385
+ /**
2386
+ *
2387
+ * @type {number}
2388
+ * @memberof DocumentViewMetaOutDTO
2389
+ */
2390
+ normalizedMegapixels?: number | null;
2391
+ /**
2392
+ *
2393
+ * @type {number}
2394
+ * @memberof DocumentViewMetaOutDTO
2395
+ */
2396
+ normalizedWidth?: number | null;
2397
+ /**
2398
+ *
2399
+ * @type {number}
2400
+ * @memberof DocumentViewMetaOutDTO
2401
+ */
2402
+ numberOfPages?: number | null;
2403
+ /**
2404
+ *
2405
+ * @type {string}
2406
+ * @memberof DocumentViewMetaOutDTO
2407
+ */
2408
+ originalDocumentUrl?: string | null;
2409
+ /**
2410
+ *
2411
+ * @type {ResponseStatus}
2412
+ * @memberof DocumentViewMetaOutDTO
2413
+ */
2414
+ processingStatus?: ResponseStatus | null;
2034
2415
  /**
2035
2416
  *
2036
- * @type {Array<VerifiedDiffEntryOutDTO>}
2037
- * @memberof ExtractionProcessingResultOutDTO
2417
+ * @type {DataCenterRegionModel}
2418
+ * @memberof DocumentViewMetaOutDTO
2038
2419
  */
2039
- verifiedDiff?: Array<VerifiedDiffEntryOutDTO> | null;
2420
+ storageLocation?: DataCenterRegionModel | null;
2040
2421
  /**
2041
2422
  *
2042
- * @type {{ [key: string]: any; }}
2043
- * @memberof ExtractionProcessingResultOutDTO
2423
+ * @type {string}
2424
+ * @memberof DocumentViewMetaOutDTO
2044
2425
  */
2045
- verifiedValues?: {
2046
- [key: string]: any;
2047
- } | null;
2048
- }
2049
- /**
2050
- * Check if a given object implements the ExtractionProcessingResultOutDTO interface.
2051
- */
2052
- declare function instanceOfExtractionProcessingResultOutDTO(value: object): value is ExtractionProcessingResultOutDTO;
2053
- declare function ExtractionProcessingResultOutDTOFromJSON(json: any): ExtractionProcessingResultOutDTO;
2054
- declare function ExtractionProcessingResultOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtractionProcessingResultOutDTO;
2055
- declare function ExtractionProcessingResultOutDTOToJSON(json: any): ExtractionProcessingResultOutDTO;
2056
- declare function ExtractionProcessingResultOutDTOToJSONTyped(value?: ExtractionProcessingResultOutDTO | null, ignoreDiscriminator?: boolean): any;
2057
-
2058
- /**
2059
- * Gemina API
2060
- * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2061
- *
2062
- * The version of the OpenAPI document: 1.6.2
2063
- *
2064
- *
2065
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2066
- * https://openapi-generator.tech
2067
- * Do not edit the class manually.
2068
- */
2069
-
2070
- /**
2071
- *
2072
- * @export
2073
- * @interface DocumentDataOutDTO
2074
- */
2075
- interface DocumentDataOutDTO {
2426
+ thumbnailUrl?: string | null;
2076
2427
  /**
2077
2428
  *
2078
- * @type {Array<ExtractionProcessingResultOutDTO>}
2079
- * @memberof DocumentDataOutDTO
2429
+ * @type {string}
2430
+ * @memberof DocumentViewMetaOutDTO
2080
2431
  */
2081
- extractions?: Array<ExtractionProcessingResultOutDTO> | null;
2432
+ userId?: string | null;
2082
2433
  }
2083
2434
  /**
2084
- * Check if a given object implements the DocumentDataOutDTO interface.
2435
+ * Check if a given object implements the DocumentViewMetaOutDTO interface.
2085
2436
  */
2086
- declare function instanceOfDocumentDataOutDTO(value: object): value is DocumentDataOutDTO;
2087
- declare function DocumentDataOutDTOFromJSON(json: any): DocumentDataOutDTO;
2088
- declare function DocumentDataOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentDataOutDTO;
2089
- declare function DocumentDataOutDTOToJSON(json: any): DocumentDataOutDTO;
2090
- declare function DocumentDataOutDTOToJSONTyped(value?: DocumentDataOutDTO | null, ignoreDiscriminator?: boolean): any;
2437
+ declare function instanceOfDocumentViewMetaOutDTO(value: object): value is DocumentViewMetaOutDTO;
2438
+ declare function DocumentViewMetaOutDTOFromJSON(json: any): DocumentViewMetaOutDTO;
2439
+ declare function DocumentViewMetaOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentViewMetaOutDTO;
2440
+ declare function DocumentViewMetaOutDTOToJSON(json: any): DocumentViewMetaOutDTO;
2441
+ declare function DocumentViewMetaOutDTOToJSONTyped(value?: DocumentViewMetaOutDTO | null, ignoreDiscriminator?: boolean): any;
2091
2442
 
2092
2443
  /**
2093
2444
  * Gemina API
2094
2445
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2095
2446
  *
2096
- * The version of the OpenAPI document: 1.6.2
2447
+ * The version of the OpenAPI document: 1.11.0
2097
2448
  *
2098
2449
  *
2099
2450
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2159,7 +2510,7 @@ declare function DocumentPrimaryViewOutDTOToJSONTyped(value?: DocumentPrimaryVie
2159
2510
  * Gemina API
2160
2511
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2161
2512
  *
2162
- * The version of the OpenAPI document: 1.6.2
2513
+ * The version of the OpenAPI document: 1.11.0
2163
2514
  *
2164
2515
  *
2165
2516
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2301,7 +2652,7 @@ declare function DocumentProcessingMetaOutDTOToJSONTyped(value?: DocumentProcess
2301
2652
  * Gemina API
2302
2653
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2303
2654
  *
2304
- * The version of the OpenAPI document: 1.6.2
2655
+ * The version of the OpenAPI document: 1.11.0
2305
2656
  *
2306
2657
  *
2307
2658
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2379,7 +2730,7 @@ declare function DocumentProcessingResultOutDTOToJSONTyped(value?: DocumentProce
2379
2730
  * Gemina API
2380
2731
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2381
2732
  *
2382
- * The version of the OpenAPI document: 1.6.2
2733
+ * The version of the OpenAPI document: 1.11.0
2383
2734
  *
2384
2735
  *
2385
2736
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2412,7 +2763,7 @@ declare function PurgedDocumentsDataOutDTOToJSONTyped(value?: PurgedDocumentsDat
2412
2763
  * Gemina API
2413
2764
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2414
2765
  *
2415
- * The version of the OpenAPI document: 1.6.2
2766
+ * The version of the OpenAPI document: 1.11.0
2416
2767
  *
2417
2768
  *
2418
2769
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2542,7 +2893,7 @@ declare function DocumentMetaOutDTOToJSONTyped(value?: DocumentMetaOutDTO | null
2542
2893
  * Gemina API
2543
2894
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2544
2895
  *
2545
- * The version of the OpenAPI document: 1.6.2
2896
+ * The version of the OpenAPI document: 1.11.0
2546
2897
  *
2547
2898
  *
2548
2899
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2620,7 +2971,7 @@ declare function DocumentPurgingResultOutDTOToJSONTyped(value?: DocumentPurgingR
2620
2971
  * Gemina API
2621
2972
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2622
2973
  *
2623
- * The version of the OpenAPI document: 1.6.2
2974
+ * The version of the OpenAPI document: 1.11.0
2624
2975
  *
2625
2976
  *
2626
2977
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2674,7 +3025,7 @@ declare function DocumentViewOutDTOToJSONTyped(value?: DocumentViewOutDTO | null
2674
3025
  * Gemina API
2675
3026
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2676
3027
  *
2677
- * The version of the OpenAPI document: 1.6.2
3028
+ * The version of the OpenAPI document: 1.11.0
2678
3029
  *
2679
3030
  *
2680
3031
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2708,7 +3059,7 @@ declare function DocumentViewDataOutDTOToJSONTyped(value?: DocumentViewDataOutDT
2708
3059
  * Gemina API
2709
3060
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2710
3061
  *
2711
- * The version of the OpenAPI document: 1.6.2
3062
+ * The version of the OpenAPI document: 1.11.0
2712
3063
  *
2713
3064
  *
2714
3065
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2774,7 +3125,7 @@ declare function ViewMetaOutDTOToJSONTyped(value?: ViewMetaOutDTO | null, ignore
2774
3125
  * Gemina API
2775
3126
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2776
3127
  *
2777
- * The version of the OpenAPI document: 1.6.2
3128
+ * The version of the OpenAPI document: 1.11.0
2778
3129
  *
2779
3130
  *
2780
3131
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2852,7 +3203,7 @@ declare function DocumentsViewOutDTOToJSONTyped(value?: DocumentsViewOutDTO | nu
2852
3203
  * Gemina API
2853
3204
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2854
3205
  *
2855
- * The version of the OpenAPI document: 1.6.2
3206
+ * The version of the OpenAPI document: 1.11.0
2856
3207
  *
2857
3208
  *
2858
3209
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2884,7 +3235,7 @@ declare function CreditMeterToJSONTyped(value: any, ignoreDiscriminator: boolean
2884
3235
  * Gemina API
2885
3236
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2886
3237
  *
2887
- * The version of the OpenAPI document: 1.6.2
3238
+ * The version of the OpenAPI document: 1.11.0
2888
3239
  *
2889
3240
  *
2890
3241
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2940,7 +3291,7 @@ declare function ExtractionCostStateModelToJSONTyped(value: any, ignoreDiscrimin
2940
3291
  * Gemina API
2941
3292
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
2942
3293
  *
2943
- * The version of the OpenAPI document: 1.6.2
3294
+ * The version of the OpenAPI document: 1.11.0
2944
3295
  *
2945
3296
  *
2946
3297
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3026,7 +3377,7 @@ declare function ExtractionCostOutDTOToJSONTyped(value?: ExtractionCostOutDTO |
3026
3377
  * Gemina API
3027
3378
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3028
3379
  *
3029
- * The version of the OpenAPI document: 1.6.2
3380
+ * The version of the OpenAPI document: 1.11.0
3030
3381
  *
3031
3382
  *
3032
3383
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3071,7 +3422,7 @@ declare function FoundationMetaDTOToJSONTyped(value?: FoundationMetaDTO | null,
3071
3422
  * Gemina API
3072
3423
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3073
3424
  *
3074
- * The version of the OpenAPI document: 1.6.2
3425
+ * The version of the OpenAPI document: 1.11.0
3075
3426
  *
3076
3427
  *
3077
3428
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3149,7 +3500,7 @@ declare function ExtractionCostOutResultDTOToJSONTyped(value?: ExtractionCostOut
3149
3500
  * Gemina API
3150
3501
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3151
3502
  *
3152
- * The version of the OpenAPI document: 1.6.2
3503
+ * The version of the OpenAPI document: 1.11.0
3153
3504
  *
3154
3505
  *
3155
3506
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3183,7 +3534,7 @@ declare function ExtractionCostsDataOutDTOToJSONTyped(value?: ExtractionCostsDat
3183
3534
  * Gemina API
3184
3535
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3185
3536
  *
3186
- * The version of the OpenAPI document: 1.6.2
3537
+ * The version of the OpenAPI document: 1.11.0
3187
3538
  *
3188
3539
  *
3189
3540
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3264,7 +3615,7 @@ declare function ExtractionCostsOutDTOToJSONTyped(value?: ExtractionCostsOutDTO
3264
3615
  * Gemina API
3265
3616
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3266
3617
  *
3267
- * The version of the OpenAPI document: 1.6.2
3618
+ * The version of the OpenAPI document: 1.11.0
3268
3619
  *
3269
3620
  *
3270
3621
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3418,7 +3769,7 @@ declare function ExtractionViewMetaOutDTOToJSONTyped(value?: ExtractionViewMetaO
3418
3769
  * Gemina API
3419
3770
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3420
3771
  *
3421
- * The version of the OpenAPI document: 1.6.2
3772
+ * The version of the OpenAPI document: 1.11.0
3422
3773
  *
3423
3774
  *
3424
3775
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3536,7 +3887,7 @@ declare function ExtractionDocumentViewMetaOutDTOToJSONTyped(value?: ExtractionD
3536
3887
  * Gemina API
3537
3888
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3538
3889
  *
3539
- * The version of the OpenAPI document: 1.6.2
3890
+ * The version of the OpenAPI document: 1.11.0
3540
3891
  *
3541
3892
  *
3542
3893
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3624,7 +3975,7 @@ declare function ExtractionPrimaryViewOutDTOToJSONTyped(value?: ExtractionPrimar
3624
3975
  * Gemina API
3625
3976
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3626
3977
  *
3627
- * The version of the OpenAPI document: 1.6.2
3978
+ * The version of the OpenAPI document: 1.11.0
3628
3979
  *
3629
3980
  *
3630
3981
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3670,7 +4021,7 @@ declare function RowSourcesModelToJSONTyped(value?: RowSourcesModel | null, igno
3670
4021
  * Gemina API
3671
4022
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3672
4023
  *
3673
- * The version of the OpenAPI document: 1.6.2
4024
+ * The version of the OpenAPI document: 1.11.0
3674
4025
  *
3675
4026
  *
3676
4027
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3710,7 +4061,7 @@ declare function ExtractionValidationInDTOToJSONTyped(value?: ExtractionValidati
3710
4061
  * Gemina API
3711
4062
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3712
4063
  *
3713
- * The version of the OpenAPI document: 1.6.2
4064
+ * The version of the OpenAPI document: 1.11.0
3714
4065
  *
3715
4066
  *
3716
4067
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3792,7 +4143,7 @@ declare function ExtractionValidationMetaOutDTOToJSONTyped(value?: ExtractionVal
3792
4143
  * Gemina API
3793
4144
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3794
4145
  *
3795
- * The version of the OpenAPI document: 1.6.2
4146
+ * The version of the OpenAPI document: 1.11.0
3796
4147
  *
3797
4148
  *
3798
4149
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3879,7 +4230,7 @@ declare function CountBreakdownModelToJSONTyped(value?: CountBreakdownModel | nu
3879
4230
  * Gemina API
3880
4231
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3881
4232
  *
3882
- * The version of the OpenAPI document: 1.6.2
4233
+ * The version of the OpenAPI document: 1.11.0
3883
4234
  *
3884
4235
  *
3885
4236
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3936,7 +4287,7 @@ declare function FieldDifferenceModelToJSONTyped(value?: FieldDifferenceModel |
3936
4287
  * Gemina API
3937
4288
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
3938
4289
  *
3939
- * The version of the OpenAPI document: 1.6.2
4290
+ * The version of the OpenAPI document: 1.11.0
3940
4291
  *
3941
4292
  *
3942
4293
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4056,7 +4407,7 @@ declare function ComparisonSummaryModelToJSONTyped(value?: ComparisonSummaryMode
4056
4407
  * Gemina API
4057
4408
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
4058
4409
  *
4059
- * The version of the OpenAPI document: 1.6.2
4410
+ * The version of the OpenAPI document: 1.11.0
4060
4411
  *
4061
4412
  *
4062
4413
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4134,7 +4485,7 @@ declare function ExtractionValidationResultOutDTOToJSONTyped(value?: ExtractionV
4134
4485
  * Gemina API
4135
4486
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
4136
4487
  *
4137
- * The version of the OpenAPI document: 1.6.2
4488
+ * The version of the OpenAPI document: 1.11.0
4138
4489
  *
4139
4490
  *
4140
4491
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4210,7 +4561,7 @@ declare function ExtractionViewOutDTOToJSONTyped(value?: ExtractionViewOutDTO |
4210
4561
  * Gemina API
4211
4562
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
4212
4563
  *
4213
- * The version of the OpenAPI document: 1.6.2
4564
+ * The version of the OpenAPI document: 1.11.0
4214
4565
  *
4215
4566
  *
4216
4567
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4244,7 +4595,7 @@ declare function ExtractionViewDataOutDTOToJSONTyped(value?: ExtractionViewDataO
4244
4595
  * Gemina API
4245
4596
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
4246
4597
  *
4247
- * The version of the OpenAPI document: 1.6.2
4598
+ * The version of the OpenAPI document: 1.11.0
4248
4599
  *
4249
4600
  *
4250
4601
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4322,7 +4673,7 @@ declare function ExtractionsViewOutDTOToJSONTyped(value?: ExtractionsViewOutDTO
4322
4673
  * Gemina API
4323
4674
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
4324
4675
  *
4325
- * The version of the OpenAPI document: 1.6.2
4676
+ * The version of the OpenAPI document: 1.11.0
4326
4677
  *
4327
4678
  *
4328
4679
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4373,37 +4724,7 @@ declare function NumberOfStoredDocumentsOutDTOToJSONTyped(value?: NumberOfStored
4373
4724
  * Gemina API
4374
4725
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
4375
4726
  *
4376
- * The version of the OpenAPI document: 1.6.2
4377
- *
4378
- *
4379
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4380
- * https://openapi-generator.tech
4381
- * Do not edit the class manually.
4382
- */
4383
- /**
4384
- * Extraction types accepted by the document-upload endpoints.
4385
- * @export
4386
- */
4387
- declare const UploadExtractionTypeEnum: {
4388
- readonly Ocr: "ocr";
4389
- readonly DocumentDetailsHebrew: "document_details_hebrew";
4390
- readonly DocumentLineItemsHebrew: "document_line_items_hebrew";
4391
- readonly InvoiceHeaders: "invoice_headers";
4392
- readonly InvoiceLineItems: "invoice_line_items";
4393
- readonly CustomTemplate: "custom_template";
4394
- };
4395
- type UploadExtractionTypeEnum = typeof UploadExtractionTypeEnum[keyof typeof UploadExtractionTypeEnum];
4396
- declare function instanceOfUploadExtractionTypeEnum(value: any): boolean;
4397
- declare function UploadExtractionTypeEnumFromJSON(json: any): UploadExtractionTypeEnum;
4398
- declare function UploadExtractionTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadExtractionTypeEnum;
4399
- declare function UploadExtractionTypeEnumToJSON(value?: UploadExtractionTypeEnum | null): any;
4400
- declare function UploadExtractionTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): UploadExtractionTypeEnum;
4401
-
4402
- /**
4403
- * Gemina API
4404
- * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
4405
- *
4406
- * The version of the OpenAPI document: 1.6.2
4727
+ * The version of the OpenAPI document: 1.11.0
4407
4728
  *
4408
4729
  *
4409
4730
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4503,7 +4824,7 @@ declare function WebDocumentUploadInDTOToJSONTyped(value?: WebDocumentUploadInDT
4503
4824
  * Gemina API
4504
4825
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
4505
4826
  *
4506
- * The version of the OpenAPI document: 1.6.2
4827
+ * The version of the OpenAPI document: 1.11.0
4507
4828
  *
4508
4829
  *
4509
4830
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4511,6 +4832,14 @@ declare function WebDocumentUploadInDTOToJSONTyped(value?: WebDocumentUploadInDT
4511
4832
  * Do not edit the class manually.
4512
4833
  */
4513
4834
 
4835
+ interface AddDocumentExtractionsRequest {
4836
+ documentId: string;
4837
+ addExtractionsInDTO: AddExtractionsInDTO;
4838
+ }
4839
+ interface AddDocumentExtractionsByUserRequest {
4840
+ documentId: string;
4841
+ addExtractionsInDTO: AddExtractionsInDTO;
4842
+ }
4514
4843
  interface CreateDocumentProcessingRequestRequest {
4515
4844
  externalId: string;
4516
4845
  extractionTypes: Array<UploadExtractionTypeEnum>;
@@ -4632,6 +4961,10 @@ interface PurgeDocumentsWithExternalIdRequest {
4632
4961
  interface PurgeDocumentsWithExternalIdByUserRequest {
4633
4962
  targetDocumentExternalId: string;
4634
4963
  }
4964
+ interface ResumeTutorialRequestRequest {
4965
+ attemptId: string;
4966
+ file?: Blob | null;
4967
+ }
4635
4968
  interface UploadDocumentRequest {
4636
4969
  externalId: string;
4637
4970
  extractionTypes: Array<UploadExtractionTypeEnum>;
@@ -4667,6 +5000,32 @@ interface ValidateDocumentExtractionRequest {
4667
5000
  *
4668
5001
  */
4669
5002
  declare class DocumentApi extends BaseAPI {
5003
+ /**
5004
+ * Creates request options for addDocumentExtractions without sending the request
5005
+ */
5006
+ addDocumentExtractionsRequestOpts(requestParameters: AddDocumentExtractionsRequest): Promise<RequestOpts>;
5007
+ /**
5008
+ * Run additional extraction types on a document that is already stored. No upload: the document\'s stored artifacts are reused and only the extraction step runs. Billed per extraction like an upload. Returns the whole document (all extractions, old and new). When the new extractions are still running the response is HTTP 202 and ``pollCorrelationId`` / ``Location`` point at the existing results endpoint.
5009
+ * Add extraction types to an existing document
5010
+ */
5011
+ addDocumentExtractionsRaw(requestParameters: AddDocumentExtractionsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<DocumentAddExtractionsOutDTO>>;
5012
+ /**
5013
+ * Run additional extraction types on a document that is already stored. No upload: the document\'s stored artifacts are reused and only the extraction step runs. Billed per extraction like an upload. Returns the whole document (all extractions, old and new). When the new extractions are still running the response is HTTP 202 and ``pollCorrelationId`` / ``Location`` point at the existing results endpoint.
5014
+ * Add extraction types to an existing document
5015
+ */
5016
+ addDocumentExtractions(requestParameters: AddDocumentExtractionsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DocumentAddExtractionsOutDTO>;
5017
+ /**
5018
+ * Creates request options for addDocumentExtractionsByUser without sending the request
5019
+ */
5020
+ addDocumentExtractionsByUserRequestOpts(requestParameters: AddDocumentExtractionsByUserRequest): Promise<RequestOpts>;
5021
+ /**
5022
+ * Add extraction types to an existing document (user credentials)
5023
+ */
5024
+ addDocumentExtractionsByUserRaw(requestParameters: AddDocumentExtractionsByUserRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<DocumentAddExtractionsOutDTO>>;
5025
+ /**
5026
+ * Add extraction types to an existing document (user credentials)
5027
+ */
5028
+ addDocumentExtractionsByUser(requestParameters: AddDocumentExtractionsByUserRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DocumentAddExtractionsOutDTO>;
4670
5029
  /**
4671
5030
  * Creates request options for createDocumentProcessingRequest without sending the request
4672
5031
  */
@@ -4993,6 +5352,20 @@ declare class DocumentApi extends BaseAPI {
4993
5352
  * Purge Documents With External Id By User
4994
5353
  */
4995
5354
  purgeDocumentsWithExternalIdByUser(requestParameters: PurgeDocumentsWithExternalIdByUserRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DocumentPurgingResultOutDTO>;
5355
+ /**
5356
+ * Creates request options for resumeTutorialRequest without sending the request
5357
+ */
5358
+ resumeTutorialRequestRequestOpts(requestParameters: ResumeTutorialRequestRequest): Promise<RequestOpts>;
5359
+ /**
5360
+ * Explicitly recover an interrupted guided API request, using its original key and file.
5361
+ * Resume Tutorial Request
5362
+ */
5363
+ resumeTutorialRequestRaw(requestParameters: ResumeTutorialRequestRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<DocumentProcessingResultOutDTO>>;
5364
+ /**
5365
+ * Explicitly recover an interrupted guided API request, using its original key and file.
5366
+ * Resume Tutorial Request
5367
+ */
5368
+ resumeTutorialRequest(requestParameters: ResumeTutorialRequestRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DocumentProcessingResultOutDTO>;
4996
5369
  /**
4997
5370
  * Creates request options for uploadDocument without sending the request
4998
5371
  */
@@ -5055,7 +5428,7 @@ declare class DocumentApi extends BaseAPI {
5055
5428
  * Gemina API
5056
5429
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5057
5430
  *
5058
- * The version of the OpenAPI document: 1.6.2
5431
+ * The version of the OpenAPI document: 1.11.0
5059
5432
  *
5060
5433
  *
5061
5434
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5124,7 +5497,7 @@ declare function VolumeDiscountTierOutDTOToJSONTyped(value?: VolumeDiscountTierO
5124
5497
  * Gemina API
5125
5498
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5126
5499
  *
5127
- * The version of the OpenAPI document: 1.6.2
5500
+ * The version of the OpenAPI document: 1.11.0
5128
5501
  *
5129
5502
  *
5130
5503
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5151,7 +5524,7 @@ declare function ContractStatusToJSONTyped(value: any, ignoreDiscriminator: bool
5151
5524
  * Gemina API
5152
5525
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5153
5526
  *
5154
- * The version of the OpenAPI document: 1.6.2
5527
+ * The version of the OpenAPI document: 1.11.0
5155
5528
  *
5156
5529
  *
5157
5530
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5179,7 +5552,7 @@ declare function FeatureTypeToJSONTyped(value: any, ignoreDiscriminator: boolean
5179
5552
  * Gemina API
5180
5553
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5181
5554
  *
5182
- * The version of the OpenAPI document: 1.6.2
5555
+ * The version of the OpenAPI document: 1.11.0
5183
5556
  *
5184
5557
  *
5185
5558
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5211,7 +5584,7 @@ declare function OperationTypeToJSONTyped(value: any, ignoreDiscriminator: boole
5211
5584
  * Gemina API
5212
5585
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5213
5586
  *
5214
- * The version of the OpenAPI document: 1.6.2
5587
+ * The version of the OpenAPI document: 1.11.0
5215
5588
  *
5216
5589
  *
5217
5590
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5299,7 +5672,7 @@ declare function RateCardOutDTOToJSONTyped(value?: RateCardOutDTO | null, ignore
5299
5672
  * Gemina API
5300
5673
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5301
5674
  *
5302
- * The version of the OpenAPI document: 1.6.2
5675
+ * The version of the OpenAPI document: 1.11.0
5303
5676
  *
5304
5677
  *
5305
5678
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5465,7 +5838,7 @@ declare function ContractOutDTOToJSONTyped(value?: ContractOutDTO | null, ignore
5465
5838
  * Gemina API
5466
5839
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5467
5840
  *
5468
- * The version of the OpenAPI document: 1.6.2
5841
+ * The version of the OpenAPI document: 1.11.0
5469
5842
  *
5470
5843
  *
5471
5844
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5552,7 +5925,7 @@ declare function EnterpriseTransactionOutDTOToJSONTyped(value?: EnterpriseTransa
5552
5925
  * Gemina API
5553
5926
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5554
5927
  *
5555
- * The version of the OpenAPI document: 1.6.2
5928
+ * The version of the OpenAPI document: 1.11.0
5556
5929
  *
5557
5930
  *
5558
5931
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5616,7 +5989,7 @@ declare function EnterpriseTransactionListOutDTOToJSONTyped(value?: EnterpriseTr
5616
5989
  * Gemina API
5617
5990
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5618
5991
  *
5619
- * The version of the OpenAPI document: 1.6.2
5992
+ * The version of the OpenAPI document: 1.11.0
5620
5993
  *
5621
5994
  *
5622
5995
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5646,7 +6019,7 @@ declare function PeriodPresetModelToJSONTyped(value: any, ignoreDiscriminator: b
5646
6019
  * Gemina API
5647
6020
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5648
6021
  *
5649
- * The version of the OpenAPI document: 1.6.2
6022
+ * The version of the OpenAPI document: 1.11.0
5650
6023
  *
5651
6024
  *
5652
6025
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5727,7 +6100,7 @@ declare function SpendLimitOutDTOToJSONTyped(value?: SpendLimitOutDTO | null, ig
5727
6100
  * Gemina API
5728
6101
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5729
6102
  *
5730
- * The version of the OpenAPI document: 1.6.2
6103
+ * The version of the OpenAPI document: 1.11.0
5731
6104
  *
5732
6105
  *
5733
6106
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5773,7 +6146,7 @@ declare function SpendLimitUpdateInDTOToJSONTyped(value?: SpendLimitUpdateInDTO
5773
6146
  * Gemina API
5774
6147
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5775
6148
  *
5776
- * The version of the OpenAPI document: 1.6.2
6149
+ * The version of the OpenAPI document: 1.11.0
5777
6150
  *
5778
6151
  *
5779
6152
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5855,7 +6228,7 @@ declare function UsageLineItemOutDTOToJSONTyped(value?: UsageLineItemOutDTO | nu
5855
6228
  * Gemina API
5856
6229
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5857
6230
  *
5858
- * The version of the OpenAPI document: 1.6.2
6231
+ * The version of the OpenAPI document: 1.11.0
5859
6232
  *
5860
6233
  *
5861
6234
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5925,7 +6298,7 @@ declare function UsageSummaryOutDTOToJSONTyped(value?: UsageSummaryOutDTO | null
5925
6298
  * Gemina API
5926
6299
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
5927
6300
  *
5928
- * The version of the OpenAPI document: 1.6.2
6301
+ * The version of the OpenAPI document: 1.11.0
5929
6302
  *
5930
6303
  *
5931
6304
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6015,7 +6388,7 @@ declare class EnterpriseApi extends BaseAPI {
6015
6388
  * Gemina API
6016
6389
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6017
6390
  *
6018
- * The version of the OpenAPI document: 1.6.2
6391
+ * The version of the OpenAPI document: 1.11.0
6019
6392
  *
6020
6393
  *
6021
6394
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6048,7 +6421,7 @@ declare function CreditTransactionTypeToJSONTyped(value: any, ignoreDiscriminato
6048
6421
  * Gemina API
6049
6422
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6050
6423
  *
6051
- * The version of the OpenAPI document: 1.6.2
6424
+ * The version of the OpenAPI document: 1.11.0
6052
6425
  *
6053
6426
  *
6054
6427
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6142,7 +6515,7 @@ declare function CreditTransactionOutDTOToJSONTyped(value?: CreditTransactionOut
6142
6515
  * Gemina API
6143
6516
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6144
6517
  *
6145
- * The version of the OpenAPI document: 1.6.2
6518
+ * The version of the OpenAPI document: 1.11.0
6146
6519
  *
6147
6520
  *
6148
6521
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6206,7 +6579,7 @@ declare function CreditTransactionListOutDTOToJSONTyped(value?: CreditTransactio
6206
6579
  * Gemina API
6207
6580
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6208
6581
  *
6209
- * The version of the OpenAPI document: 1.6.2
6582
+ * The version of the OpenAPI document: 1.11.0
6210
6583
  *
6211
6584
  *
6212
6585
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6263,7 +6636,7 @@ declare function FileTagBalanceOutDTOToJSONTyped(value?: FileTagBalanceOutDTO |
6263
6636
  * Gemina API
6264
6637
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6265
6638
  *
6266
- * The version of the OpenAPI document: 1.6.2
6639
+ * The version of the OpenAPI document: 1.11.0
6267
6640
  *
6268
6641
  *
6269
6642
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6330,7 +6703,7 @@ declare function FileTagFilenamePatternsOutDTOToJSONTyped(value?: FileTagFilenam
6330
6703
  * Gemina API
6331
6704
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6332
6705
  *
6333
- * The version of the OpenAPI document: 1.6.2
6706
+ * The version of the OpenAPI document: 1.11.0
6334
6707
  *
6335
6708
  *
6336
6709
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6407,7 +6780,7 @@ declare function NextActionOutDTOToJSONTyped(value?: NextActionOutDTO | null, ig
6407
6780
  * Gemina API
6408
6781
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6409
6782
  *
6410
- * The version of the OpenAPI document: 1.6.2
6783
+ * The version of the OpenAPI document: 1.11.0
6411
6784
  *
6412
6785
  *
6413
6786
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6493,7 +6866,7 @@ declare function FileTagMetadataOutDTOToJSONTyped(value?: FileTagMetadataOutDTO
6493
6866
  * Gemina API
6494
6867
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6495
6868
  *
6496
- * The version of the OpenAPI document: 1.6.2
6869
+ * The version of the OpenAPI document: 1.11.0
6497
6870
  *
6498
6871
  *
6499
6872
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6575,7 +6948,7 @@ declare function FileTagResultOutDTOToJSONTyped(value?: FileTagResultOutDTO | nu
6575
6948
  * Gemina API
6576
6949
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6577
6950
  *
6578
- * The version of the OpenAPI document: 1.6.2
6951
+ * The version of the OpenAPI document: 1.11.0
6579
6952
  *
6580
6953
  *
6581
6954
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6587,11 +6960,19 @@ interface GetMyFiletagCreditHistoryRequest {
6587
6960
  skip?: number;
6588
6961
  limit?: number;
6589
6962
  }
6963
+ interface SavedFiletagResultRequest {
6964
+ documentId: string;
6965
+ }
6966
+ interface SavedFiletagResultUserRequest {
6967
+ documentId: string;
6968
+ }
6590
6969
  interface TagDocumentRequest {
6591
6970
  file: Blob;
6971
+ externalId?: string | null;
6592
6972
  }
6593
6973
  interface TagDocumentByUserRequest {
6594
6974
  file: Blob;
6975
+ externalId?: string | null;
6595
6976
  }
6596
6977
  /**
6597
6978
  *
@@ -6625,6 +7006,30 @@ declare class FileTagApi extends BaseAPI {
6625
7006
  * Get My Filetag Credit History
6626
7007
  */
6627
7008
  getMyFiletagCreditHistory(requestParameters?: GetMyFiletagCreditHistoryRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreditTransactionListOutDTO>;
7009
+ /**
7010
+ * Creates request options for savedFiletagResult without sending the request
7011
+ */
7012
+ savedFiletagResultRequestOpts(requestParameters: SavedFiletagResultRequest): Promise<RequestOpts>;
7013
+ /**
7014
+ * Saved Filetag Result
7015
+ */
7016
+ savedFiletagResultRaw(requestParameters: SavedFiletagResultRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<FileTagResultOutDTO>>;
7017
+ /**
7018
+ * Saved Filetag Result
7019
+ */
7020
+ savedFiletagResult(requestParameters: SavedFiletagResultRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<FileTagResultOutDTO>;
7021
+ /**
7022
+ * Creates request options for savedFiletagResultUser without sending the request
7023
+ */
7024
+ savedFiletagResultUserRequestOpts(requestParameters: SavedFiletagResultUserRequest): Promise<RequestOpts>;
7025
+ /**
7026
+ * Saved Filetag Result User
7027
+ */
7028
+ savedFiletagResultUserRaw(requestParameters: SavedFiletagResultUserRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<FileTagResultOutDTO>>;
7029
+ /**
7030
+ * Saved Filetag Result User
7031
+ */
7032
+ savedFiletagResultUser(requestParameters: SavedFiletagResultUserRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<FileTagResultOutDTO>;
6628
7033
  /**
6629
7034
  * Creates request options for tagDocument without sending the request
6630
7035
  */
@@ -6659,7 +7064,7 @@ declare class FileTagApi extends BaseAPI {
6659
7064
  * Gemina API
6660
7065
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6661
7066
  *
6662
- * The version of the OpenAPI document: 1.6.2
7067
+ * The version of the OpenAPI document: 1.11.0
6663
7068
  *
6664
7069
  *
6665
7070
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6710,7 +7115,7 @@ declare function FilesCreateUploadInDTOToJSONTyped(value?: FilesCreateUploadInDT
6710
7115
  * Gemina API
6711
7116
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6712
7117
  *
6713
- * The version of the OpenAPI document: 1.6.2
7118
+ * The version of the OpenAPI document: 1.11.0
6714
7119
  *
6715
7120
  *
6716
7121
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6776,7 +7181,7 @@ declare function FilesUploadDetailsOutDTOToJSONTyped(value?: FilesUploadDetailsO
6776
7181
  * Gemina API
6777
7182
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6778
7183
  *
6779
- * The version of the OpenAPI document: 1.6.2
7184
+ * The version of the OpenAPI document: 1.11.0
6780
7185
  *
6781
7186
  *
6782
7187
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6831,7 +7236,7 @@ declare function FilesNextToolCallOutDTOToJSONTyped(value?: FilesNextToolCallOut
6831
7236
  * Gemina API
6832
7237
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6833
7238
  *
6834
- * The version of the OpenAPI document: 1.6.2
7239
+ * The version of the OpenAPI document: 1.11.0
6835
7240
  *
6836
7241
  *
6837
7242
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6851,6 +7256,12 @@ interface FilesUploadInstructionsOutDTO {
6851
7256
  * @memberof FilesUploadInstructionsOutDTO
6852
7257
  */
6853
7258
  fileId: string;
7259
+ /**
7260
+ * Guided private-file handoff expiry. The signed upload URL has its own shorter expiry.
7261
+ * @type {Date}
7262
+ * @memberof FilesUploadInstructionsOutDTO
7263
+ */
7264
+ handoffExpiresAt?: Date | null;
6854
7265
  /**
6855
7266
  *
6856
7267
  * @type {FilesNextToolCallOutDTO}
@@ -6877,7 +7288,7 @@ declare function FilesUploadInstructionsOutDTOToJSONTyped(value?: FilesUploadIns
6877
7288
  * Gemina API
6878
7289
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6879
7290
  *
6880
- * The version of the OpenAPI document: 1.6.2
7291
+ * The version of the OpenAPI document: 1.11.0
6881
7292
  *
6882
7293
  *
6883
7294
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6921,7 +7332,7 @@ declare function TagFileBodyDTOToJSONTyped(value?: TagFileBodyDTO | null, ignore
6921
7332
  * Gemina API
6922
7333
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6923
7334
  *
6924
- * The version of the OpenAPI document: 1.6.2
7335
+ * The version of the OpenAPI document: 1.11.0
6925
7336
  *
6926
7337
  *
6927
7338
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6966,7 +7377,7 @@ declare function TagUrlInDTOToJSONTyped(value?: TagUrlInDTO | null, ignoreDiscri
6966
7377
  * Gemina API
6967
7378
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
6968
7379
  *
6969
- * The version of the OpenAPI document: 1.6.2
7380
+ * The version of the OpenAPI document: 1.11.0
6970
7381
  *
6971
7382
  *
6972
7383
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7036,7 +7447,7 @@ declare class FilesApi extends BaseAPI {
7036
7447
  * Gemina API
7037
7448
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7038
7449
  *
7039
- * The version of the OpenAPI document: 1.6.2
7450
+ * The version of the OpenAPI document: 1.11.0
7040
7451
  *
7041
7452
  *
7042
7453
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7093,7 +7504,7 @@ declare function FreeTierConfigOutDTOToJSONTyped(value?: FreeTierConfigOutDTO |
7093
7504
  * Gemina API
7094
7505
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7095
7506
  *
7096
- * The version of the OpenAPI document: 1.6.2
7507
+ * The version of the OpenAPI document: 1.11.0
7097
7508
  *
7098
7509
  *
7099
7510
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7125,7 +7536,7 @@ declare class FreeTierApi extends BaseAPI {
7125
7536
  * Gemina API
7126
7537
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7127
7538
  *
7128
- * The version of the OpenAPI document: 1.6.2
7539
+ * The version of the OpenAPI document: 1.11.0
7129
7540
  *
7130
7541
  *
7131
7542
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7176,7 +7587,7 @@ declare function TOSOutDTOToJSONTyped(value?: TOSOutDTO | null, ignoreDiscrimina
7176
7587
  * Gemina API
7177
7588
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7178
7589
  *
7179
- * The version of the OpenAPI document: 1.6.2
7590
+ * The version of the OpenAPI document: 1.11.0
7180
7591
  *
7181
7592
  *
7182
7593
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7208,7 +7619,7 @@ declare class LegalApi extends BaseAPI {
7208
7619
  * Gemina API
7209
7620
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7210
7621
  *
7211
- * The version of the OpenAPI document: 1.6.2
7622
+ * The version of the OpenAPI document: 1.11.0
7212
7623
  *
7213
7624
  *
7214
7625
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7238,7 +7649,7 @@ declare class MetaApi extends BaseAPI {
7238
7649
  * Gemina API
7239
7650
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7240
7651
  *
7241
- * The version of the OpenAPI document: 1.6.2
7652
+ * The version of the OpenAPI document: 1.11.0
7242
7653
  *
7243
7654
  *
7244
7655
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7261,6 +7672,12 @@ interface RetrievalFiltersDTO {
7261
7672
  * @memberof RetrievalFiltersDTO
7262
7673
  */
7263
7674
  buyerName?: string | null;
7675
+ /**
7676
+ *
7677
+ * @type {Array<string>}
7678
+ * @memberof RetrievalFiltersDTO
7679
+ */
7680
+ currencies?: Array<string> | null;
7264
7681
  /**
7265
7682
  *
7266
7683
  * @type {string}
@@ -7273,18 +7690,36 @@ interface RetrievalFiltersDTO {
7273
7690
  * @memberof RetrievalFiltersDTO
7274
7691
  */
7275
7692
  docNumber?: string | null;
7693
+ /**
7694
+ *
7695
+ * @type {Array<string>}
7696
+ * @memberof RetrievalFiltersDTO
7697
+ */
7698
+ docNumbers?: Array<string> | null;
7276
7699
  /**
7277
7700
  *
7278
7701
  * @type {string}
7279
7702
  * @memberof RetrievalFiltersDTO
7280
7703
  */
7281
7704
  documentId?: string | null;
7705
+ /**
7706
+ *
7707
+ * @type {Array<string>}
7708
+ * @memberof RetrievalFiltersDTO
7709
+ */
7710
+ documentIds?: Array<string> | null;
7282
7711
  /**
7283
7712
  *
7284
7713
  * @type {string}
7285
7714
  * @memberof RetrievalFiltersDTO
7286
7715
  */
7287
7716
  documentType?: string | null;
7717
+ /**
7718
+ *
7719
+ * @type {Array<string>}
7720
+ * @memberof RetrievalFiltersDTO
7721
+ */
7722
+ documentTypes?: Array<string> | null;
7288
7723
  /**
7289
7724
  *
7290
7725
  * @type {Date}
@@ -7351,6 +7786,12 @@ interface RetrievalFiltersDTO {
7351
7786
  * @memberof RetrievalFiltersDTO
7352
7787
  */
7353
7788
  vendorName?: string | null;
7789
+ /**
7790
+ *
7791
+ * @type {Array<string>}
7792
+ * @memberof RetrievalFiltersDTO
7793
+ */
7794
+ vendorNames?: Array<string> | null;
7354
7795
  /**
7355
7796
  *
7356
7797
  * @type {string}
@@ -7371,7 +7812,7 @@ declare function RetrievalFiltersDTOToJSONTyped(value?: RetrievalFiltersDTO | nu
7371
7812
  * Gemina API
7372
7813
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7373
7814
  *
7374
- * The version of the OpenAPI document: 1.6.2
7815
+ * The version of the OpenAPI document: 1.11.0
7375
7816
  *
7376
7817
  *
7377
7818
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7398,7 +7839,7 @@ declare function ValueToJSONTyped(value?: Value | null, ignoreDiscriminator?: bo
7398
7839
  * Gemina API
7399
7840
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7400
7841
  *
7401
- * The version of the OpenAPI document: 1.6.2
7842
+ * The version of the OpenAPI document: 1.11.0
7402
7843
  *
7403
7844
  *
7404
7845
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7460,7 +7901,7 @@ declare function StructuredFilterDTOToJSONTyped(value?: StructuredFilterDTO | nu
7460
7901
  * Gemina API
7461
7902
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7462
7903
  *
7463
- * The version of the OpenAPI document: 1.6.2
7904
+ * The version of the OpenAPI document: 1.11.0
7464
7905
  *
7465
7906
  *
7466
7907
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7494,6 +7935,7 @@ declare const AggregateMetricDTOFieldEnum: {
7494
7935
  readonly NetAmount: "net_amount";
7495
7936
  readonly VatAmount: "vat_amount";
7496
7937
  readonly MeasurableQuantity: "measurable_quantity";
7938
+ readonly LineTotal: "line_total";
7497
7939
  };
7498
7940
  type AggregateMetricDTOFieldEnum = typeof AggregateMetricDTOFieldEnum[keyof typeof AggregateMetricDTOFieldEnum];
7499
7941
  /**
@@ -7520,7 +7962,7 @@ declare function AggregateMetricDTOToJSONTyped(value?: AggregateMetricDTO | null
7520
7962
  * Gemina API
7521
7963
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7522
7964
  *
7523
- * The version of the OpenAPI document: 1.6.2
7965
+ * The version of the OpenAPI document: 1.11.0
7524
7966
  *
7525
7967
  *
7526
7968
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7581,6 +8023,9 @@ declare const RetrievalAggregateInDTOGroupByEnum: {
7581
8023
  readonly Year: "year";
7582
8024
  readonly MeasurableUom: "measurable_uom";
7583
8025
  readonly Description: "description";
8026
+ readonly DocNumber: "doc_number";
8027
+ readonly IssueDate: "issue_date";
8028
+ readonly DocumentId: "document_id";
7584
8029
  };
7585
8030
  type RetrievalAggregateInDTOGroupByEnum = typeof RetrievalAggregateInDTOGroupByEnum[keyof typeof RetrievalAggregateInDTOGroupByEnum];
7586
8031
  /**
@@ -7596,7 +8041,7 @@ declare function RetrievalAggregateInDTOToJSONTyped(value?: RetrievalAggregateIn
7596
8041
  * Gemina API
7597
8042
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7598
8043
  *
7599
- * The version of the OpenAPI document: 1.6.2
8044
+ * The version of the OpenAPI document: 1.11.0
7600
8045
  *
7601
8046
  *
7602
8047
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7623,7 +8068,7 @@ declare function ValuesValueToJSONTyped(value?: ValuesValue | null, ignoreDiscri
7623
8068
  * Gemina API
7624
8069
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7625
8070
  *
7626
- * The version of the OpenAPI document: 1.6.2
8071
+ * The version of the OpenAPI document: 1.11.0
7627
8072
  *
7628
8073
  *
7629
8074
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7667,7 +8112,7 @@ declare function AggregateRowDTOToJSONTyped(value?: AggregateRowDTO | null, igno
7667
8112
  * Gemina API
7668
8113
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7669
8114
  *
7670
- * The version of the OpenAPI document: 1.6.2
8115
+ * The version of the OpenAPI document: 1.11.0
7671
8116
  *
7672
8117
  *
7673
8118
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7687,7 +8132,7 @@ interface AggregateMetaDTO {
7687
8132
  */
7688
8133
  count: number;
7689
8134
  /**
7690
- * True when the server added 'currency' to group_by because money metrics were requested without a currency filter — amounts in different currencies must never be summed together.
8135
+ * True when the server added 'currency' to group_by because money metrics (document totals, or line_total in line-item scope) were requested without a currency filter — amounts in different currencies must never be summed together.
7691
8136
  * @type {boolean}
7692
8137
  * @memberof AggregateMetaDTO
7693
8138
  */
@@ -7724,7 +8169,7 @@ declare function AggregateMetaDTOToJSONTyped(value?: AggregateMetaDTO | null, ig
7724
8169
  * Gemina API
7725
8170
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7726
8171
  *
7727
- * The version of the OpenAPI document: 1.6.2
8172
+ * The version of the OpenAPI document: 1.11.0
7728
8173
  *
7729
8174
  *
7730
8175
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7788,7 +8233,7 @@ declare function RetrievalAggregateOutDTOToJSONTyped(value?: RetrievalAggregateO
7788
8233
  * Gemina API
7789
8234
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7790
8235
  *
7791
- * The version of the OpenAPI document: 1.6.2
8236
+ * The version of the OpenAPI document: 1.11.0
7792
8237
  *
7793
8238
  *
7794
8239
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7833,7 +8278,7 @@ declare function RetrievalFieldItemDTOToJSONTyped(value?: RetrievalFieldItemDTO
7833
8278
  * Gemina API
7834
8279
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7835
8280
  *
7836
- * The version of the OpenAPI document: 1.6.2
8281
+ * The version of the OpenAPI document: 1.11.0
7837
8282
  *
7838
8283
  *
7839
8284
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7894,7 +8339,7 @@ declare function RetrievalFieldsOutDTOToJSONTyped(value?: RetrievalFieldsOutDTO
7894
8339
  * Gemina API
7895
8340
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
7896
8341
  *
7897
- * The version of the OpenAPI document: 1.6.2
8342
+ * The version of the OpenAPI document: 1.11.0
7898
8343
  *
7899
8344
  *
7900
8345
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8004,7 +8449,7 @@ declare function RetrievalQueryInDTOToJSONTyped(value?: RetrievalQueryInDTO | nu
8004
8449
  * Gemina API
8005
8450
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8006
8451
  *
8007
- * The version of the OpenAPI document: 1.6.2
8452
+ * The version of the OpenAPI document: 1.11.0
8008
8453
  *
8009
8454
  *
8010
8455
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8023,6 +8468,18 @@ interface QueryMetaDTO {
8023
8468
  * @memberof QueryMetaDTO
8024
8469
  */
8025
8470
  count: number;
8471
+ /**
8472
+ * For a structured query with an exact externalId and effective endUserId, true only when all meaningful indexable results in that owned scope have search vectors and final processing has finished. See indexingState to distinguish preparation from an unavailable result.
8473
+ * @type {boolean}
8474
+ * @memberof QueryMetaDTO
8475
+ */
8476
+ indexingReady?: boolean | null;
8477
+ /**
8478
+ * Exact-scope preparation state. Unavailable includes failed results, no indexable content or skipped indexing; ordinary search remains available for any retained indexed results.
8479
+ * @type {QueryMetaDTOIndexingStateEnum}
8480
+ * @memberof QueryMetaDTO
8481
+ */
8482
+ indexingState?: QueryMetaDTOIndexingStateEnum | null;
8026
8483
  /**
8027
8484
  *
8028
8485
  * @type {number}
@@ -8042,6 +8499,15 @@ interface QueryMetaDTO {
8042
8499
  */
8043
8500
  skip?: number;
8044
8501
  }
8502
+ /**
8503
+ * @export
8504
+ */
8505
+ declare const QueryMetaDTOIndexingStateEnum: {
8506
+ readonly Preparing: "preparing";
8507
+ readonly Ready: "ready";
8508
+ readonly Unavailable: "unavailable";
8509
+ };
8510
+ type QueryMetaDTOIndexingStateEnum = typeof QueryMetaDTOIndexingStateEnum[keyof typeof QueryMetaDTOIndexingStateEnum];
8045
8511
  /**
8046
8512
  * Check if a given object implements the QueryMetaDTO interface.
8047
8513
  */
@@ -8055,7 +8521,7 @@ declare function QueryMetaDTOToJSONTyped(value?: QueryMetaDTO | null, ignoreDisc
8055
8521
  * Gemina API
8056
8522
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8057
8523
  *
8058
- * The version of the OpenAPI document: 1.6.2
8524
+ * The version of the OpenAPI document: 1.11.0
8059
8525
  *
8060
8526
  *
8061
8527
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8100,7 +8566,7 @@ declare function MatchedChunkDTOToJSONTyped(value?: MatchedChunkDTO | null, igno
8100
8566
  * Gemina API
8101
8567
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8102
8568
  *
8103
- * The version of the OpenAPI document: 1.6.2
8569
+ * The version of the OpenAPI document: 1.11.0
8104
8570
  *
8105
8571
  *
8106
8572
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8250,7 +8716,7 @@ declare function QueryResultItemDTOToJSONTyped(value?: QueryResultItemDTO | null
8250
8716
  * Gemina API
8251
8717
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8252
8718
  *
8253
- * The version of the OpenAPI document: 1.6.2
8719
+ * The version of the OpenAPI document: 1.11.0
8254
8720
  *
8255
8721
  *
8256
8722
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8314,7 +8780,7 @@ declare function RetrievalQueryOutDTOToJSONTyped(value?: RetrievalQueryOutDTO |
8314
8780
  * Gemina API
8315
8781
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8316
8782
  *
8317
- * The version of the OpenAPI document: 1.6.2
8783
+ * The version of the OpenAPI document: 1.11.0
8318
8784
  *
8319
8785
  *
8320
8786
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8371,7 +8837,7 @@ declare function RetrievalStatusOutDTOToJSONTyped(value?: RetrievalStatusOutDTO
8371
8837
  * Gemina API
8372
8838
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8373
8839
  *
8374
- * The version of the OpenAPI document: 1.6.2
8840
+ * The version of the OpenAPI document: 1.11.0
8375
8841
  *
8376
8842
  *
8377
8843
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8451,7 +8917,7 @@ declare class RetrievalApi extends BaseAPI {
8451
8917
  * Gemina API
8452
8918
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8453
8919
  *
8454
- * The version of the OpenAPI document: 1.6.2
8920
+ * The version of the OpenAPI document: 1.11.0
8455
8921
  *
8456
8922
  *
8457
8923
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8496,7 +8962,7 @@ declare function SessionTokenInDTOToJSONTyped(value?: SessionTokenInDTO | null,
8496
8962
  * Gemina API
8497
8963
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8498
8964
  *
8499
- * The version of the OpenAPI document: 1.6.2
8965
+ * The version of the OpenAPI document: 1.11.0
8500
8966
  *
8501
8967
  *
8502
8968
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8571,7 +9037,7 @@ declare function SessionTokenOutDTOToJSONTyped(value?: SessionTokenOutDTO | null
8571
9037
  * Gemina API
8572
9038
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8573
9039
  *
8574
- * The version of the OpenAPI document: 1.6.2
9040
+ * The version of the OpenAPI document: 1.11.0
8575
9041
  *
8576
9042
  *
8577
9043
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8623,7 +9089,7 @@ declare class SessionsApi extends BaseAPI {
8623
9089
  * Gemina API
8624
9090
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8625
9091
  *
8626
- * The version of the OpenAPI document: 1.6.2
9092
+ * The version of the OpenAPI document: 1.11.0
8627
9093
  *
8628
9094
  *
8629
9095
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8694,7 +9160,7 @@ declare function CheckoutOutDTOToJSONTyped(value?: CheckoutOutDTO | null, ignore
8694
9160
  * Gemina API
8695
9161
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8696
9162
  *
8697
- * The version of the OpenAPI document: 1.6.2
9163
+ * The version of the OpenAPI document: 1.11.0
8698
9164
  *
8699
9165
  *
8700
9166
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8727,7 +9193,83 @@ declare function CreditMeterFilterToJSONTyped(value: any, ignoreDiscriminator: b
8727
9193
  * Gemina API
8728
9194
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8729
9195
  *
8730
- * The version of the OpenAPI document: 1.6.2
9196
+ * The version of the OpenAPI document: 1.11.0
9197
+ *
9198
+ *
9199
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9200
+ * https://openapi-generator.tech
9201
+ * Do not edit the class manually.
9202
+ */
9203
+ /**
9204
+ * A Paddle transaction to open in Paddle.js (``Checkout.open({transactionId})``)
9205
+ * so the customer can replace the card on file.
9206
+ *
9207
+ * ``purpose`` tells the client what completing it does:
9208
+ * "update_payment_method" — saves the new card, charges nothing;
9209
+ * "pay_overdue" — the subscription is past due, so the checkout charges the
9210
+ * overdue renewal with the new card and the subscription recovers;
9211
+ * "resume_subscription" — the subscription is paused, so saving the card
9212
+ * resumes it and bills a new billing period immediately (a separate charge
9213
+ * that can still fail).
9214
+ * ``checkoutUrl`` is Paddle's hosted link for clients without Paddle.js.
9215
+ * @export
9216
+ * @interface PaymentMethodUpdateOutDTO
9217
+ */
9218
+ interface PaymentMethodUpdateOutDTO {
9219
+ /**
9220
+ *
9221
+ * @type {string}
9222
+ * @memberof PaymentMethodUpdateOutDTO
9223
+ */
9224
+ checkoutUrl?: string | null;
9225
+ /**
9226
+ *
9227
+ * @type {Date}
9228
+ * @memberof PaymentMethodUpdateOutDTO
9229
+ */
9230
+ createdAt?: Date | null;
9231
+ /**
9232
+ *
9233
+ * @type {number}
9234
+ * @memberof PaymentMethodUpdateOutDTO
9235
+ */
9236
+ createdAtTimestamp?: number | null;
9237
+ /**
9238
+ *
9239
+ * @type {string}
9240
+ * @memberof PaymentMethodUpdateOutDTO
9241
+ */
9242
+ paddleTransactionId: string;
9243
+ /**
9244
+ *
9245
+ * @type {PaymentMethodUpdateOutDTOPurposeEnum}
9246
+ * @memberof PaymentMethodUpdateOutDTO
9247
+ */
9248
+ purpose: PaymentMethodUpdateOutDTOPurposeEnum;
9249
+ }
9250
+ /**
9251
+ * @export
9252
+ */
9253
+ declare const PaymentMethodUpdateOutDTOPurposeEnum: {
9254
+ readonly UpdatePaymentMethod: "update_payment_method";
9255
+ readonly PayOverdue: "pay_overdue";
9256
+ readonly ResumeSubscription: "resume_subscription";
9257
+ };
9258
+ type PaymentMethodUpdateOutDTOPurposeEnum = typeof PaymentMethodUpdateOutDTOPurposeEnum[keyof typeof PaymentMethodUpdateOutDTOPurposeEnum];
9259
+ /**
9260
+ * Check if a given object implements the PaymentMethodUpdateOutDTO interface.
9261
+ */
9262
+ declare function instanceOfPaymentMethodUpdateOutDTO(value: object): value is PaymentMethodUpdateOutDTO;
9263
+ declare function PaymentMethodUpdateOutDTOFromJSON(json: any): PaymentMethodUpdateOutDTO;
9264
+ declare function PaymentMethodUpdateOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodUpdateOutDTO;
9265
+ declare function PaymentMethodUpdateOutDTOToJSON(json: any): PaymentMethodUpdateOutDTO;
9266
+ declare function PaymentMethodUpdateOutDTOToJSONTyped(value?: PaymentMethodUpdateOutDTO | null, ignoreDiscriminator?: boolean): any;
9267
+
9268
+ /**
9269
+ * Gemina API
9270
+ * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9271
+ *
9272
+ * The version of the OpenAPI document: 1.11.0
8731
9273
  *
8732
9274
  *
8733
9275
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8759,7 +9301,7 @@ declare function DataRetentionPeriodModelToJSONTyped(value: any, ignoreDiscrimin
8759
9301
  * Gemina API
8760
9302
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8761
9303
  *
8762
- * The version of the OpenAPI document: 1.6.2
9304
+ * The version of the OpenAPI document: 1.11.0
8763
9305
  *
8764
9306
  *
8765
9307
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8841,7 +9383,7 @@ declare function PlanCreditCostOutDTOToJSONTyped(value?: PlanCreditCostOutDTO |
8841
9383
  * Gemina API
8842
9384
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8843
9385
  *
8844
- * The version of the OpenAPI document: 1.6.2
9386
+ * The version of the OpenAPI document: 1.11.0
8845
9387
  *
8846
9388
  *
8847
9389
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8868,7 +9410,7 @@ declare function SupportLevelToJSONTyped(value: any, ignoreDiscriminator: boolea
8868
9410
  * Gemina API
8869
9411
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
8870
9412
  *
8871
- * The version of the OpenAPI document: 1.6.2
9413
+ * The version of the OpenAPI document: 1.11.0
8872
9414
  *
8873
9415
  *
8874
9416
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9064,7 +9606,7 @@ declare function PlanDetailOutDTOToJSONTyped(value?: PlanDetailOutDTO | null, ig
9064
9606
  * Gemina API
9065
9607
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9066
9608
  *
9067
- * The version of the OpenAPI document: 1.6.2
9609
+ * The version of the OpenAPI document: 1.11.0
9068
9610
  *
9069
9611
  *
9070
9612
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9254,7 +9796,7 @@ declare function PlanOutDTOToJSONTyped(value?: PlanOutDTO | null, ignoreDiscrimi
9254
9796
  * Gemina API
9255
9797
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9256
9798
  *
9257
- * The version of the OpenAPI document: 1.6.2
9799
+ * The version of the OpenAPI document: 1.11.0
9258
9800
  *
9259
9801
  *
9260
9802
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9318,7 +9860,7 @@ declare function PlanListOutDTOToJSONTyped(value?: PlanListOutDTO | null, ignore
9318
9860
  * Gemina API
9319
9861
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9320
9862
  *
9321
- * The version of the OpenAPI document: 1.6.2
9863
+ * The version of the OpenAPI document: 1.11.0
9322
9864
  *
9323
9865
  *
9324
9866
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9348,7 +9890,7 @@ declare function SubscriptionStatusToJSONTyped(value: any, ignoreDiscriminator:
9348
9890
  * Gemina API
9349
9891
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9350
9892
  *
9351
- * The version of the OpenAPI document: 1.6.2
9893
+ * The version of the OpenAPI document: 1.11.0
9352
9894
  *
9353
9895
  *
9354
9896
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9574,7 +10116,7 @@ declare function ResponseChangePlanToJSONTyped(value?: ResponseChangePlan | null
9574
10116
  * Gemina API
9575
10117
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9576
10118
  *
9577
- * The version of the OpenAPI document: 1.6.2
10119
+ * The version of the OpenAPI document: 1.11.0
9578
10120
  *
9579
10121
  *
9580
10122
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9675,7 +10217,7 @@ declare function StorageUsageOutDTOToJSONTyped(value?: StorageUsageOutDTO | null
9675
10217
  * Gemina API
9676
10218
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9677
10219
  *
9678
- * The version of the OpenAPI document: 1.6.2
10220
+ * The version of the OpenAPI document: 1.11.0
9679
10221
  *
9680
10222
  *
9681
10223
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9708,7 +10250,7 @@ declare function SubscribeInDTOToJSONTyped(value?: SubscribeInDTO | null, ignore
9708
10250
  * Gemina API
9709
10251
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9710
10252
  *
9711
- * The version of the OpenAPI document: 1.6.2
10253
+ * The version of the OpenAPI document: 1.11.0
9712
10254
  *
9713
10255
  *
9714
10256
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9916,7 +10458,7 @@ declare function SubscriptionOutDTOToJSONTyped(value?: SubscriptionOutDTO | null
9916
10458
  * Gemina API
9917
10459
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9918
10460
  *
9919
- * The version of the OpenAPI document: 1.6.2
10461
+ * The version of the OpenAPI document: 1.11.0
9920
10462
  *
9921
10463
  *
9922
10464
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9997,7 +10539,7 @@ declare function TopUpPackOutDTOToJSONTyped(value?: TopUpPackOutDTO | null, igno
9997
10539
  * Gemina API
9998
10540
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
9999
10541
  *
10000
- * The version of the OpenAPI document: 1.6.2
10542
+ * The version of the OpenAPI document: 1.11.0
10001
10543
  *
10002
10544
  *
10003
10545
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10061,7 +10603,7 @@ declare function TopUpPackListOutDTOToJSONTyped(value?: TopUpPackListOutDTO | nu
10061
10603
  * Gemina API
10062
10604
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10063
10605
  *
10064
- * The version of the OpenAPI document: 1.6.2
10606
+ * The version of the OpenAPI document: 1.11.0
10065
10607
  *
10066
10608
  *
10067
10609
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10094,7 +10636,7 @@ declare function TopUpPurchaseInDTOToJSONTyped(value?: TopUpPurchaseInDTO | null
10094
10636
  * Gemina API
10095
10637
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10096
10638
  *
10097
- * The version of the OpenAPI document: 1.6.2
10639
+ * The version of the OpenAPI document: 1.11.0
10098
10640
  *
10099
10641
  *
10100
10642
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10157,7 +10699,7 @@ declare function TopUpPurchaseOutDTOToJSONTyped(value?: TopUpPurchaseOutDTO | nu
10157
10699
  * Gemina API
10158
10700
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10159
10701
  *
10160
- * The version of the OpenAPI document: 1.6.2
10702
+ * The version of the OpenAPI document: 1.11.0
10161
10703
  *
10162
10704
  *
10163
10705
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10227,7 +10769,7 @@ declare function UsageBreakdownOutDTOToJSONTyped(value?: UsageBreakdownOutDTO |
10227
10769
  * Gemina API
10228
10770
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10229
10771
  *
10230
- * The version of the OpenAPI document: 1.6.2
10772
+ * The version of the OpenAPI document: 1.11.0
10231
10773
  *
10232
10774
  *
10233
10775
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10273,7 +10815,7 @@ declare function UsageBreakdownListOutDTOToJSONTyped(value?: UsageBreakdownListO
10273
10815
  * Gemina API
10274
10816
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10275
10817
  *
10276
- * The version of the OpenAPI document: 1.6.2
10818
+ * The version of the OpenAPI document: 1.11.0
10277
10819
  *
10278
10820
  *
10279
10821
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10426,6 +10968,20 @@ declare class SubscriptionsApi extends BaseAPI {
10426
10968
  * Purchase Top Up
10427
10969
  */
10428
10970
  purchaseTopUp(requestParameters: PurchaseTopUpRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<TopUpPurchaseOutDTO>;
10971
+ /**
10972
+ * Creates request options for startPaymentMethodUpdate without sending the request
10973
+ */
10974
+ startPaymentMethodUpdateRequestOpts(): Promise<RequestOpts>;
10975
+ /**
10976
+ * Start replacing the card on file for the caller\'s subscription (or enterprise contract). POST, not GET: for an active subscription Paddle creates a new zero-value transaction on every call.
10977
+ * Start Payment Method Update
10978
+ */
10979
+ startPaymentMethodUpdateRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<PaymentMethodUpdateOutDTO>>;
10980
+ /**
10981
+ * Start replacing the card on file for the caller\'s subscription (or enterprise contract). POST, not GET: for an active subscription Paddle creates a new zero-value transaction on every call.
10982
+ * Start Payment Method Update
10983
+ */
10984
+ startPaymentMethodUpdate(initOverrides?: RequestInit | InitOverrideFunction): Promise<PaymentMethodUpdateOutDTO>;
10429
10985
  /**
10430
10986
  * Creates request options for subscribe without sending the request
10431
10987
  */
@@ -10444,7 +11000,7 @@ declare class SubscriptionsApi extends BaseAPI {
10444
11000
  * Gemina API
10445
11001
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10446
11002
  *
10447
- * The version of the OpenAPI document: 1.6.2
11003
+ * The version of the OpenAPI document: 1.11.0
10448
11004
  *
10449
11005
  *
10450
11006
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10472,7 +11028,7 @@ declare function FieldTypeToJSONTyped(value: any, ignoreDiscriminator: boolean):
10472
11028
  * Gemina API
10473
11029
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10474
11030
  *
10475
- * The version of the OpenAPI document: 1.6.2
11031
+ * The version of the OpenAPI document: 1.11.0
10476
11032
  *
10477
11033
  *
10478
11034
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10512,7 +11068,7 @@ declare function ColumnDefinitionDTOToJSONTyped(value?: ColumnDefinitionDTO | nu
10512
11068
  * Gemina API
10513
11069
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10514
11070
  *
10515
- * The version of the OpenAPI document: 1.6.2
11071
+ * The version of the OpenAPI document: 1.11.0
10516
11072
  *
10517
11073
  *
10518
11074
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10554,7 +11110,7 @@ declare function TableDefinitionDTOInputToJSONTyped(value?: TableDefinitionDTOIn
10554
11110
  * Gemina API
10555
11111
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10556
11112
  *
10557
- * The version of the OpenAPI document: 1.6.2
11113
+ * The version of the OpenAPI document: 1.11.0
10558
11114
  *
10559
11115
  *
10560
11116
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10606,7 +11162,7 @@ declare function FieldDefinitionDTOToJSONTyped(value?: FieldDefinitionDTO | null
10606
11162
  * Gemina API
10607
11163
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10608
11164
  *
10609
- * The version of the OpenAPI document: 1.6.2
11165
+ * The version of the OpenAPI document: 1.11.0
10610
11166
  *
10611
11167
  *
10612
11168
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10650,7 +11206,7 @@ declare function TemplateSchemaDTOInputToJSONTyped(value?: TemplateSchemaDTOInpu
10650
11206
  * Gemina API
10651
11207
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10652
11208
  *
10653
- * The version of the OpenAPI document: 1.6.2
11209
+ * The version of the OpenAPI document: 1.11.0
10654
11210
  *
10655
11211
  *
10656
11212
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10696,7 +11252,7 @@ declare function CreateTemplateInDTOToJSONTyped(value?: CreateTemplateInDTO | nu
10696
11252
  * Gemina API
10697
11253
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10698
11254
  *
10699
- * The version of the OpenAPI document: 1.6.2
11255
+ * The version of the OpenAPI document: 1.11.0
10700
11256
  *
10701
11257
  *
10702
11258
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10729,7 +11285,7 @@ declare function GenerateTemplateFromUrlInDTOToJSONTyped(value?: GenerateTemplat
10729
11285
  * Gemina API
10730
11286
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10731
11287
  *
10732
- * The version of the OpenAPI document: 1.6.2
11288
+ * The version of the OpenAPI document: 1.11.0
10733
11289
  *
10734
11290
  *
10735
11291
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10773,7 +11329,7 @@ declare function TemplateSchemaDTOOutputToJSONTyped(value?: TemplateSchemaDTOOut
10773
11329
  * Gemina API
10774
11330
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10775
11331
  *
10776
- * The version of the OpenAPI document: 1.6.2
11332
+ * The version of the OpenAPI document: 1.11.0
10777
11333
  *
10778
11334
  *
10779
11335
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10801,7 +11357,7 @@ declare function TemplateStatusModelToJSONTyped(value: any, ignoreDiscriminator:
10801
11357
  * Gemina API
10802
11358
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10803
11359
  *
10804
- * The version of the OpenAPI document: 1.6.2
11360
+ * The version of the OpenAPI document: 1.11.0
10805
11361
  *
10806
11362
  *
10807
11363
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10845,6 +11401,12 @@ interface TemplateOutDTO {
10845
11401
  * @memberof TemplateOutDTO
10846
11402
  */
10847
11403
  isActive?: boolean;
11404
+ /**
11405
+ *
11406
+ * @type {boolean}
11407
+ * @memberof TemplateOutDTO
11408
+ */
11409
+ isStarter?: boolean;
10848
11410
  /**
10849
11411
  *
10850
11412
  * @type {string}
@@ -10889,7 +11451,7 @@ declare function TemplateOutDTOToJSONTyped(value?: TemplateOutDTO | null, ignore
10889
11451
  * Gemina API
10890
11452
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10891
11453
  *
10892
- * The version of the OpenAPI document: 1.6.2
11454
+ * The version of the OpenAPI document: 1.11.0
10893
11455
  *
10894
11456
  *
10895
11457
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10929,7 +11491,7 @@ declare function TemplateListOutDTOToJSONTyped(value?: TemplateListOutDTO | null
10929
11491
  * Gemina API
10930
11492
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10931
11493
  *
10932
- * The version of the OpenAPI document: 1.6.2
11494
+ * The version of the OpenAPI document: 1.11.0
10933
11495
  *
10934
11496
  *
10935
11497
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10975,7 +11537,7 @@ declare function UpdateTemplateInDTOToJSONTyped(value?: UpdateTemplateInDTO | nu
10975
11537
  * Gemina API
10976
11538
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
10977
11539
  *
10978
- * The version of the OpenAPI document: 1.6.2
11540
+ * The version of the OpenAPI document: 1.11.0
10979
11541
  *
10980
11542
  *
10981
11543
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11202,7 +11764,7 @@ declare class TemplatesApi extends BaseAPI {
11202
11764
  * Gemina API
11203
11765
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
11204
11766
  *
11205
- * The version of the OpenAPI document: 1.6.2
11767
+ * The version of the OpenAPI document: 1.11.0
11206
11768
  *
11207
11769
  *
11208
11770
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11286,7 +11848,7 @@ declare function FoundationDTOToJSONTyped(value?: FoundationDTO | null, ignoreDi
11286
11848
  * Gemina API
11287
11849
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
11288
11850
  *
11289
- * The version of the OpenAPI document: 1.6.2
11851
+ * The version of the OpenAPI document: 1.11.0
11290
11852
  *
11291
11853
  *
11292
11854
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11313,7 +11875,7 @@ declare function LocationInnerToJSONTyped(value?: LocationInner | null, ignoreDi
11313
11875
  * Gemina API
11314
11876
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
11315
11877
  *
11316
- * The version of the OpenAPI document: 1.6.2
11878
+ * The version of the OpenAPI document: 1.11.0
11317
11879
  *
11318
11880
  *
11319
11881
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11359,7 +11921,7 @@ declare function ValidationErrorToJSONTyped(value?: ValidationError | null, igno
11359
11921
  * Gemina API
11360
11922
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
11361
11923
  *
11362
- * The version of the OpenAPI document: 1.6.2
11924
+ * The version of the OpenAPI document: 1.11.0
11363
11925
  *
11364
11926
  *
11365
11927
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11393,7 +11955,7 @@ declare function HTTPValidationErrorToJSONTyped(value?: HTTPValidationError | nu
11393
11955
  * Gemina API
11394
11956
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
11395
11957
  *
11396
- * The version of the OpenAPI document: 1.6.2
11958
+ * The version of the OpenAPI document: 1.11.0
11397
11959
  *
11398
11960
  *
11399
11961
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11416,7 +11978,7 @@ declare function PurgeChatSession422ResponseToJSONTyped(value?: PurgeChatSession
11416
11978
  * Gemina API
11417
11979
  * Extract structured data from invoices and financial documents, then search, aggregate, and chat over everything you\'ve processed. Authenticate with your API key in the `X-API-Key` header; browser-embedded components use short-lived session tokens minted via `POST /v1/sessions/token`. Guides: https://console.gemina.co/docs
11418
11980
  *
11419
- * The version of the OpenAPI document: 1.6.2
11981
+ * The version of the OpenAPI document: 1.11.0
11420
11982
  *
11421
11983
  *
11422
11984
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11509,6 +12071,31 @@ interface ProcessDocumentOptions {
11509
12071
  /** Random source in [0, 1) for the jitter factor. Defaults to `Math.random`. */
11510
12072
  random?: () => number;
11511
12073
  }
12074
+ /** Options for `GeminaClient.addExtractionsAndWait`. */
12075
+ interface AddExtractionsOptions {
12076
+ /** Template ID for `custom_template` extraction. */
12077
+ templateId?: string;
12078
+ /** Model type override. */
12079
+ modelType?: ModelType;
12080
+ /** Use the Thinking model. */
12081
+ thinking?: boolean;
12082
+ /** Use the Evaluation model. */
12083
+ evaluation?: boolean;
12084
+ /** Use the Correction model. */
12085
+ correction?: boolean;
12086
+ /** Include coordinates in the extraction results. */
12087
+ includeCoordinates?: boolean;
12088
+ /** Overall deadline in seconds (default 300). */
12089
+ timeoutSeconds?: number;
12090
+ /** First poll interval in seconds (default 2.0; grows x1.5 per attempt). */
12091
+ initialIntervalSeconds?: number;
12092
+ /** Poll interval cap in seconds (default 15.0). */
12093
+ maxIntervalSeconds?: number;
12094
+ /** Sleep function (seconds). Defaults to a real `setTimeout` wait. */
12095
+ sleepFn?: (seconds: number) => Promise<void>;
12096
+ /** Random source in [0, 1) for the jitter factor. Defaults to `Math.random`. */
12097
+ random?: () => number;
12098
+ }
11512
12099
  /** Options for {@link GeminaClient.conversation}. */
11513
12100
  interface ConversationOptions {
11514
12101
  /**
@@ -11614,6 +12201,27 @@ declare class GeminaClient {
11614
12201
  * @param options Endpoint form fields + polling knobs.
11615
12202
  */
11616
12203
  processDocument(source: DocumentSource, extractionTypes: UploadExtractionTypeEnum[], options?: ProcessDocumentOptions): Promise<DocumentProcessingResultOutDTO>;
12204
+ /**
12205
+ * Add extraction types to a document Gemina already stores, then poll until
12206
+ * terminal and return the typed result — the add-on twin of
12207
+ * `processDocument` for a document you uploaded earlier (via
12208
+ * `processDocument`, FileTag, or an MCP tool), addressed by its id. No file
12209
+ * is re-uploaded; the stored document is re-extracted with the new
12210
+ * `extractionTypes`. Billing and page limits apply per added type exactly as
12211
+ * on an upload.
12212
+ *
12213
+ * @param documentId The stored document's id (from a prior upload's
12214
+ * `meta.documentId`, a FileTag result, or
12215
+ * `client.documents.getDocument(...)`).
12216
+ * @param extractionTypes Non-empty list of types to add.
12217
+ * @param options Per-extraction options + polling knobs.
12218
+ * @throws GeminaProcessingError on terminal `failed`.
12219
+ * @throws GeminaTimeoutError on the deadline; `.correlationId` resumes polling.
12220
+ * @throws ResponseError if the add-on request itself is rejected —
12221
+ * 404 (unknown document), 409 (type already present), 410 (content purged),
12222
+ * 422 (`custom_template` without `templateId`), 429 (out of credits / over quota). Not retried.
12223
+ */
12224
+ addExtractionsAndWait(documentId: string, extractionTypes: UploadExtractionTypeEnum[], options?: AddExtractionsOptions): Promise<DocumentProcessingResultOutDTO>;
11617
12225
  private pollUntilTerminal;
11618
12226
  }
11619
12227
 
@@ -11657,6 +12265,6 @@ declare class GeminaTimeoutError extends GeminaError {
11657
12265
  * client sends NO custom User-Agent header (browsers forbid overriding it).
11658
12266
  * VERSION is exported for consumers and diagnostics only.
11659
12267
  */
11660
- declare const VERSION = "0.14.0";
12268
+ declare const VERSION = "0.16.1";
11661
12269
 
11662
- export { type ActivateTemplateRequest, type AggregateMetaDTO, AggregateMetaDTOFromJSON, AggregateMetaDTOFromJSONTyped, AggregateMetaDTOToJSON, AggregateMetaDTOToJSONTyped, type AggregateMetricDTO, AggregateMetricDTOFieldEnum, AggregateMetricDTOFromJSON, AggregateMetricDTOFromJSONTyped, AggregateMetricDTOOpEnum, AggregateMetricDTOToJSON, AggregateMetricDTOToJSONTyped, type AggregateRowDTO, AggregateRowDTOFromJSON, AggregateRowDTOFromJSONTyped, AggregateRowDTOToJSON, AggregateRowDTOToJSONTyped, type ApiResponse, BASE_PATH, BaseAPI, BillingApi, BlobApiResponse, COLLECTION_FORMATS, type ChangePlanRequest, ChatApi, type ChatMessageOutDTO, ChatMessageOutDTOFromJSON, ChatMessageOutDTOFromJSONTyped, ChatMessageOutDTOToJSON, ChatMessageOutDTOToJSONTyped, type ChatQueryInDTO, ChatQueryInDTOFromJSON, ChatQueryInDTOFromJSONTyped, ChatQueryInDTOToJSON, ChatQueryInDTOToJSONTyped, type ChatQueryOutDTO, ChatQueryOutDTOFromJSON, ChatQueryOutDTOFromJSONTyped, ChatQueryOutDTOToJSON, ChatQueryOutDTOToJSONTyped, type ChatQueryRequest, type ChatSessionListOutDTO, ChatSessionListOutDTOFromJSON, ChatSessionListOutDTOFromJSONTyped, ChatSessionListOutDTOToJSON, ChatSessionListOutDTOToJSONTyped, type ChatSessionOutDTO, ChatSessionOutDTOFromJSON, ChatSessionOutDTOFromJSONTyped, ChatSessionOutDTOToJSON, ChatSessionOutDTOToJSONTyped, type ChatTranscriptOutDTO, ChatTranscriptOutDTOFromJSON, ChatTranscriptOutDTOFromJSONTyped, ChatTranscriptOutDTOToJSON, ChatTranscriptOutDTOToJSONTyped, type CheckoutOutDTO, CheckoutOutDTOFromJSON, CheckoutOutDTOFromJSONTyped, CheckoutOutDTOStatusEnum, CheckoutOutDTOToJSON, CheckoutOutDTOToJSONTyped, type ColumnDefinitionDTO, ColumnDefinitionDTOFromJSON, ColumnDefinitionDTOFromJSONTyped, ColumnDefinitionDTOToJSON, ColumnDefinitionDTOToJSONTyped, type ComparisonSummaryModel, ComparisonSummaryModelFromJSON, ComparisonSummaryModelFromJSONTyped, ComparisonSummaryModelToJSON, ComparisonSummaryModelToJSONTyped, Configuration, type ConfigurationParameters, type Consume, ContactApi, type ContactFormInDTO, ContactFormInDTOFromJSON, ContactFormInDTOFromJSONTyped, ContactFormInDTOToJSON, ContactFormInDTOToJSONTyped, type ContractOutDTO, ContractOutDTOFromJSON, ContractOutDTOFromJSONTyped, ContractOutDTOToJSON, ContractOutDTOToJSONTyped, ContractStatus, ContractStatusFromJSON, ContractStatusFromJSONTyped, ContractStatusToJSON, ContractStatusToJSONTyped, type ConversationOptions, type CountBreakdownModel, CountBreakdownModelFromJSON, CountBreakdownModelFromJSONTyped, CountBreakdownModelToJSON, CountBreakdownModelToJSONTyped, type CreateDocumentProcessingRequestByUserRequest, type CreateDocumentProcessingRequestRequest, type CreateTemplateInDTO, CreateTemplateInDTOFromJSON, CreateTemplateInDTOFromJSONTyped, CreateTemplateInDTOToJSON, CreateTemplateInDTOToJSONTyped, type CreateTemplateRequest, type CreateUploadRequest, type CreateWebDocumentProcessingRequestByUserRequest, type CreateWebDocumentProcessingRequestRequest, CreditMeter, CreditMeterFilter, CreditMeterFilterFromJSON, CreditMeterFilterFromJSONTyped, CreditMeterFilterToJSON, CreditMeterFilterToJSONTyped, CreditMeterFromJSON, CreditMeterFromJSONTyped, CreditMeterToJSON, CreditMeterToJSONTyped, type CreditTransactionListOutDTO, CreditTransactionListOutDTOFromJSON, CreditTransactionListOutDTOFromJSONTyped, CreditTransactionListOutDTOToJSON, CreditTransactionListOutDTOToJSONTyped, type CreditTransactionOutDTO, CreditTransactionOutDTOFromJSON, CreditTransactionOutDTOFromJSONTyped, CreditTransactionOutDTOToJSON, CreditTransactionOutDTOToJSONTyped, CreditTransactionType, CreditTransactionTypeFromJSON, CreditTransactionTypeFromJSONTyped, CreditTransactionTypeToJSON, CreditTransactionTypeToJSONTyped, DEFAULT_BASE_URL, DataCenterRegionModel, DataCenterRegionModelFromJSON, DataCenterRegionModelFromJSONTyped, DataCenterRegionModelToJSON, DataCenterRegionModelToJSONTyped, DataRetentionPeriodModel, DataRetentionPeriodModelFromJSON, DataRetentionPeriodModelFromJSONTyped, DataRetentionPeriodModelToJSON, DataRetentionPeriodModelToJSONTyped, type DeactivateTemplateRequest, DefaultConfig, type DeleteChatSessionRequest, type DeleteTemplateRequest, DocumentApi, type DocumentDataOutDTO, DocumentDataOutDTOFromJSON, DocumentDataOutDTOFromJSONTyped, DocumentDataOutDTOToJSON, DocumentDataOutDTOToJSONTyped, DocumentFileTypeModel, DocumentFileTypeModelFromJSON, DocumentFileTypeModelFromJSONTyped, DocumentFileTypeModelToJSON, DocumentFileTypeModelToJSONTyped, type DocumentMetaOutDTO, DocumentMetaOutDTOFromJSON, DocumentMetaOutDTOFromJSONTyped, DocumentMetaOutDTOToJSON, DocumentMetaOutDTOToJSONTyped, type DocumentPrimaryViewOutDTO, DocumentPrimaryViewOutDTOFromJSON, DocumentPrimaryViewOutDTOFromJSONTyped, DocumentPrimaryViewOutDTOToJSON, DocumentPrimaryViewOutDTOToJSONTyped, type DocumentProcessingMetaOutDTO, DocumentProcessingMetaOutDTOFromJSON, DocumentProcessingMetaOutDTOFromJSONTyped, DocumentProcessingMetaOutDTOToJSON, DocumentProcessingMetaOutDTOToJSONTyped, type DocumentProcessingResultOutDTO, DocumentProcessingResultOutDTOFromJSON, DocumentProcessingResultOutDTOFromJSONTyped, DocumentProcessingResultOutDTOToJSON, DocumentProcessingResultOutDTOToJSONTyped, type DocumentPurgingResultOutDTO, DocumentPurgingResultOutDTOFromJSON, DocumentPurgingResultOutDTOFromJSONTyped, DocumentPurgingResultOutDTOToJSON, DocumentPurgingResultOutDTOToJSONTyped, type DocumentSource, type DocumentViewDataOutDTO, DocumentViewDataOutDTOFromJSON, DocumentViewDataOutDTOFromJSONTyped, DocumentViewDataOutDTOToJSON, DocumentViewDataOutDTOToJSONTyped, type DocumentViewMetaOutDTO, DocumentViewMetaOutDTOFromJSON, DocumentViewMetaOutDTOFromJSONTyped, DocumentViewMetaOutDTOToJSON, DocumentViewMetaOutDTOToJSONTyped, type DocumentViewOutDTO, DocumentViewOutDTOFromJSON, DocumentViewOutDTOFromJSONTyped, DocumentViewOutDTOToJSON, DocumentViewOutDTOToJSONTyped, type DocumentsViewOutDTO, DocumentsViewOutDTOFromJSON, DocumentsViewOutDTOFromJSONTyped, DocumentsViewOutDTOToJSON, DocumentsViewOutDTOToJSONTyped, EnterpriseApi, type EnterpriseTransactionListOutDTO, EnterpriseTransactionListOutDTOFromJSON, EnterpriseTransactionListOutDTOFromJSONTyped, EnterpriseTransactionListOutDTOToJSON, EnterpriseTransactionListOutDTOToJSONTyped, type EnterpriseTransactionOutDTO, EnterpriseTransactionOutDTOFromJSON, EnterpriseTransactionOutDTOFromJSONTyped, EnterpriseTransactionOutDTOToJSON, EnterpriseTransactionOutDTOToJSONTyped, type ErrorContext, type ExtractionCostOutDTO, ExtractionCostOutDTOFromJSON, ExtractionCostOutDTOFromJSONTyped, ExtractionCostOutDTOToJSON, ExtractionCostOutDTOToJSONTyped, type ExtractionCostOutResultDTO, ExtractionCostOutResultDTOFromJSON, ExtractionCostOutResultDTOFromJSONTyped, ExtractionCostOutResultDTOToJSON, ExtractionCostOutResultDTOToJSONTyped, ExtractionCostStateModel, ExtractionCostStateModelFromJSON, ExtractionCostStateModelFromJSONTyped, ExtractionCostStateModelToJSON, ExtractionCostStateModelToJSONTyped, type ExtractionCostsDataOutDTO, ExtractionCostsDataOutDTOFromJSON, ExtractionCostsDataOutDTOFromJSONTyped, ExtractionCostsDataOutDTOToJSON, ExtractionCostsDataOutDTOToJSONTyped, type ExtractionCostsOutDTO, ExtractionCostsOutDTOFromJSON, ExtractionCostsOutDTOFromJSONTyped, ExtractionCostsOutDTOToJSON, ExtractionCostsOutDTOToJSONTyped, type ExtractionDocumentViewMetaOutDTO, ExtractionDocumentViewMetaOutDTOFromJSON, ExtractionDocumentViewMetaOutDTOFromJSONTyped, ExtractionDocumentViewMetaOutDTOToJSON, ExtractionDocumentViewMetaOutDTOToJSONTyped, type ExtractionMetaOutDTO, ExtractionMetaOutDTOFromJSON, ExtractionMetaOutDTOFromJSONTyped, ExtractionMetaOutDTOToJSON, ExtractionMetaOutDTOToJSONTyped, type ExtractionPrimaryViewOutDTO, ExtractionPrimaryViewOutDTOFromJSON, ExtractionPrimaryViewOutDTOFromJSONTyped, ExtractionPrimaryViewOutDTOToJSON, ExtractionPrimaryViewOutDTOToJSONTyped, type ExtractionProcessingResultOutDTO, ExtractionProcessingResultOutDTOFromJSON, ExtractionProcessingResultOutDTOFromJSONTyped, ExtractionProcessingResultOutDTOToJSON, ExtractionProcessingResultOutDTOToJSONTyped, ExtractionTypeModel, ExtractionTypeModelFromJSON, ExtractionTypeModelFromJSONTyped, ExtractionTypeModelToJSON, ExtractionTypeModelToJSONTyped, type ExtractionValidationInDTO, ExtractionValidationInDTOFromJSON, ExtractionValidationInDTOFromJSONTyped, ExtractionValidationInDTOToJSON, ExtractionValidationInDTOToJSONTyped, type ExtractionValidationMetaOutDTO, ExtractionValidationMetaOutDTOFromJSON, ExtractionValidationMetaOutDTOFromJSONTyped, ExtractionValidationMetaOutDTOToJSON, ExtractionValidationMetaOutDTOToJSONTyped, type ExtractionValidationResultOutDTO, ExtractionValidationResultOutDTOFromJSON, ExtractionValidationResultOutDTOFromJSONTyped, ExtractionValidationResultOutDTOToJSON, ExtractionValidationResultOutDTOToJSONTyped, type ExtractionViewDataOutDTO, ExtractionViewDataOutDTOFromJSON, ExtractionViewDataOutDTOFromJSONTyped, ExtractionViewDataOutDTOToJSON, ExtractionViewDataOutDTOToJSONTyped, type ExtractionViewMetaOutDTO, ExtractionViewMetaOutDTOFromJSON, ExtractionViewMetaOutDTOFromJSONTyped, ExtractionViewMetaOutDTOToJSON, ExtractionViewMetaOutDTOToJSONTyped, type ExtractionViewOutDTO, ExtractionViewOutDTOFromJSON, ExtractionViewOutDTOFromJSONTyped, ExtractionViewOutDTOToJSON, ExtractionViewOutDTOToJSONTyped, type ExtractionsViewOutDTO, ExtractionsViewOutDTOFromJSON, ExtractionsViewOutDTOFromJSONTyped, ExtractionsViewOutDTOToJSON, ExtractionsViewOutDTOToJSONTyped, FeatureType, FeatureTypeFromJSON, FeatureTypeFromJSONTyped, FeatureTypeToJSON, FeatureTypeToJSONTyped, type FetchAPI, FetchError, type FetchParams, type FieldDefinitionDTO, FieldDefinitionDTOFromJSON, FieldDefinitionDTOFromJSONTyped, FieldDefinitionDTOToJSON, FieldDefinitionDTOToJSONTyped, type FieldDifferenceModel, FieldDifferenceModelFromJSON, FieldDifferenceModelFromJSONTyped, FieldDifferenceModelToJSON, FieldDifferenceModelToJSONTyped, FieldType, FieldTypeFromJSON, FieldTypeFromJSONTyped, FieldTypeToJSON, FieldTypeToJSONTyped, FileTagApi, type FileTagBalanceOutDTO, FileTagBalanceOutDTOFromJSON, FileTagBalanceOutDTOFromJSONTyped, FileTagBalanceOutDTOToJSON, FileTagBalanceOutDTOToJSONTyped, type FileTagFilenamePatternsOutDTO, FileTagFilenamePatternsOutDTOFromJSON, FileTagFilenamePatternsOutDTOFromJSONTyped, FileTagFilenamePatternsOutDTOToJSON, FileTagFilenamePatternsOutDTOToJSONTyped, type FileTagMetadataOutDTO, FileTagMetadataOutDTOFromJSON, FileTagMetadataOutDTOFromJSONTyped, FileTagMetadataOutDTOToJSON, FileTagMetadataOutDTOToJSONTyped, type FileTagResultOutDTO, FileTagResultOutDTOFromJSON, FileTagResultOutDTOFromJSONTyped, FileTagResultOutDTOToJSON, FileTagResultOutDTOToJSONTyped, FilesApi, type FilesCreateUploadInDTO, FilesCreateUploadInDTOFromJSON, FilesCreateUploadInDTOFromJSONTyped, FilesCreateUploadInDTOToJSON, FilesCreateUploadInDTOToJSONTyped, type FilesNextToolCallOutDTO, FilesNextToolCallOutDTOFromJSON, FilesNextToolCallOutDTOFromJSONTyped, FilesNextToolCallOutDTOToJSON, FilesNextToolCallOutDTOToJSONTyped, FilesNextToolCallOutDTOToolEnum, type FilesUploadDetailsOutDTO, FilesUploadDetailsOutDTOFromJSON, FilesUploadDetailsOutDTOFromJSONTyped, FilesUploadDetailsOutDTOMethodEnum, FilesUploadDetailsOutDTOToJSON, FilesUploadDetailsOutDTOToJSONTyped, type FilesUploadInstructionsOutDTO, FilesUploadInstructionsOutDTOFromJSON, FilesUploadInstructionsOutDTOFromJSONTyped, FilesUploadInstructionsOutDTOToJSON, FilesUploadInstructionsOutDTOToJSONTyped, type FindDocumentExtractionsByUserRequest, type FindDocumentExtractionsRequest, type FindDocumentsByUserRequest, type FindDocumentsRequest, type FoundationDTO, FoundationDTOFromJSON, FoundationDTOFromJSONTyped, FoundationDTOToJSON, FoundationDTOToJSONTyped, type FoundationMetaDTO, FoundationMetaDTOFromJSON, FoundationMetaDTOFromJSONTyped, FoundationMetaDTOToJSON, FoundationMetaDTOToJSONTyped, FreeTierApi, type FreeTierConfigOutDTO, FreeTierConfigOutDTOFromJSON, FreeTierConfigOutDTOFromJSONTyped, FreeTierConfigOutDTOToJSON, FreeTierConfigOutDTOToJSONTyped, GeminaChatConversation, GeminaClient, type GeminaClientApis, type GeminaClientOptions, GeminaError, GeminaProcessingError, GeminaTimeoutError, type GenerateTemplateAsyncRequest, type GenerateTemplateFromUrlAsyncRequest, type GenerateTemplateFromUrlInDTO, GenerateTemplateFromUrlInDTOFromJSON, GenerateTemplateFromUrlInDTOFromJSONTyped, GenerateTemplateFromUrlInDTOToJSON, GenerateTemplateFromUrlInDTOToJSONTyped, type GenerateTemplateFromUrlRequest, type GenerateTemplateRequest, type GetChatSessionRequest, type GetCreditHistoryRequest, type GetDocumentByUserRequest, type GetDocumentExtractionByUserRequest, type GetDocumentExtractionRequest, type GetDocumentProcessingResultByCorrelationIdByUserRequest, type GetDocumentProcessingResultByCorrelationIdRequest, type GetDocumentRequest, type GetExtractionCostRequest, type GetExtractionCostsRequest, type GetInvoicePdfRequest, type GetInvoiceRequest, type GetMyFiletagCreditHistoryRequest, type GetMyTransactionsRequest, type GetMyUsageRequest, type GetPlanRequest, type GetTemplateRequest, type GetUserInvoicesRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type HTTPValidationError, HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped, type InitOverrideFunction, type InvoiceListOutDTO, InvoiceListOutDTOFromJSON, InvoiceListOutDTOFromJSONTyped, InvoiceListOutDTOToJSON, InvoiceListOutDTOToJSONTyped, type InvoiceOutDTO, InvoiceOutDTOFromJSON, InvoiceOutDTOFromJSONTyped, InvoiceOutDTOToJSON, InvoiceOutDTOToJSONTyped, type InvoicePdfOutDTO, InvoicePdfOutDTOFromJSON, InvoicePdfOutDTOFromJSONTyped, InvoicePdfOutDTOToJSON, InvoicePdfOutDTOToJSONTyped, InvoiceStatus, InvoiceStatusFromJSON, InvoiceStatusFromJSONTyped, InvoiceStatusToJSON, InvoiceStatusToJSONTyped, InvoiceType, InvoiceTypeFromJSON, InvoiceTypeFromJSONTyped, InvoiceTypeToJSON, InvoiceTypeToJSONTyped, JSONApiResponse, type Json, LegalApi, type ListActivePlansRequest, type ListChatSessionsRequest, type ListTemplatesByApiKeyRequest, type ListTemplatesRequest, type LocationInner, LocationInnerFromJSON, LocationInnerFromJSONTyped, LocationInnerToJSON, LocationInnerToJSONTyped, type MatchedChunkDTO, MatchedChunkDTOFromJSON, MatchedChunkDTOFromJSONTyped, MatchedChunkDTOToJSON, MatchedChunkDTOToJSONTyped, MetaApi, type Middleware, type MintRetrievalTokenRequest, type MintRetrievalTokenUserRequest, type ModelPropertyNaming, ModelType, ModelTypeFromJSON, ModelTypeFromJSONTyped, ModelTypeToJSON, ModelTypeToJSONTyped, type NextActionOutDTO, NextActionOutDTOActionEnum, NextActionOutDTOFromJSON, NextActionOutDTOFromJSONTyped, NextActionOutDTOToJSON, NextActionOutDTOToJSONTyped, type NumberOfStoredDocumentsOutDTO, NumberOfStoredDocumentsOutDTOFromJSON, NumberOfStoredDocumentsOutDTOFromJSONTyped, NumberOfStoredDocumentsOutDTOToJSON, NumberOfStoredDocumentsOutDTOToJSONTyped, OperationType, OperationTypeFromJSON, OperationTypeFromJSONTyped, OperationTypeToJSON, OperationTypeToJSONTyped, PeriodPresetModel, PeriodPresetModelFromJSON, PeriodPresetModelFromJSONTyped, PeriodPresetModelToJSON, PeriodPresetModelToJSONTyped, type PlanCreditCostOutDTO, PlanCreditCostOutDTOFromJSON, PlanCreditCostOutDTOFromJSONTyped, PlanCreditCostOutDTOToJSON, PlanCreditCostOutDTOToJSONTyped, type PlanDetailOutDTO, PlanDetailOutDTOFromJSON, PlanDetailOutDTOFromJSONTyped, PlanDetailOutDTOToJSON, PlanDetailOutDTOToJSONTyped, type PlanListOutDTO, PlanListOutDTOFromJSON, PlanListOutDTOFromJSONTyped, PlanListOutDTOToJSON, PlanListOutDTOToJSONTyped, type PlanOutDTO, PlanOutDTOFromJSON, PlanOutDTOFromJSONTyped, PlanOutDTOToJSON, PlanOutDTOToJSONTyped, type ProcessDocumentOptions, type PurchaseTopUpRequest, type PurgeChatSession422Response, PurgeChatSession422ResponseFromJSON, PurgeChatSession422ResponseFromJSONTyped, PurgeChatSession422ResponseToJSON, PurgeChatSession422ResponseToJSONTyped, type PurgeChatSessionByUserRequest, type PurgeChatSessionRequest, type PurgeDocumentByUserRequest, type PurgeDocumentExtractionByUserRequest, type PurgeDocumentExtractionRequest, type PurgeDocumentRequest, type PurgeDocumentsWithEndUserIdByUserRequest, type PurgeDocumentsWithEndUserIdRequest, type PurgeDocumentsWithExternalIdByUserRequest, type PurgeDocumentsWithExternalIdRequest, PurgeReasonModel, PurgeReasonModelFromJSON, PurgeReasonModelFromJSONTyped, PurgeReasonModelToJSON, PurgeReasonModelToJSONTyped, type PurgedDocumentsDataOutDTO, PurgedDocumentsDataOutDTOFromJSON, PurgedDocumentsDataOutDTOFromJSONTyped, PurgedDocumentsDataOutDTOToJSON, PurgedDocumentsDataOutDTOToJSONTyped, type QueryMetaDTO, QueryMetaDTOFromJSON, QueryMetaDTOFromJSONTyped, QueryMetaDTOToJSON, QueryMetaDTOToJSONTyped, type QueryResultItemDTO, QueryResultItemDTOFromJSON, QueryResultItemDTOFromJSONTyped, QueryResultItemDTOToJSON, QueryResultItemDTOToJSONTyped, type RateCardOutDTO, RateCardOutDTOFromJSON, RateCardOutDTOFromJSONTyped, RateCardOutDTOToJSON, RateCardOutDTOToJSONTyped, type RequestContext, type RequestOpts, RequiredError, type ResponseChangePlan, ResponseChangePlanFromJSON, ResponseChangePlanFromJSONTyped, ResponseChangePlanToJSON, ResponseChangePlanToJSONTyped, type ResponseContext, ResponseError, ResponseStatus, ResponseStatusFromJSON, ResponseStatusFromJSONTyped, ResponseStatusToJSON, ResponseStatusToJSONTyped, type ResponseTransformer, type RetrievalAggregateInDTO, RetrievalAggregateInDTOFromJSON, RetrievalAggregateInDTOFromJSONTyped, RetrievalAggregateInDTOGroupByEnum, RetrievalAggregateInDTOToJSON, RetrievalAggregateInDTOToJSONTyped, type RetrievalAggregateOutDTO, RetrievalAggregateOutDTOFromJSON, RetrievalAggregateOutDTOFromJSONTyped, RetrievalAggregateOutDTOToJSON, RetrievalAggregateOutDTOToJSONTyped, type RetrievalAggregateRequest, RetrievalApi, type RetrievalFieldItemDTO, RetrievalFieldItemDTOFromJSON, RetrievalFieldItemDTOFromJSONTyped, RetrievalFieldItemDTOToJSON, RetrievalFieldItemDTOToJSONTyped, type RetrievalFieldsOutDTO, RetrievalFieldsOutDTOFromJSON, RetrievalFieldsOutDTOFromJSONTyped, RetrievalFieldsOutDTOToJSON, RetrievalFieldsOutDTOToJSONTyped, type RetrievalFiltersDTO, RetrievalFiltersDTOFromJSON, RetrievalFiltersDTOFromJSONTyped, RetrievalFiltersDTOToJSON, RetrievalFiltersDTOToJSONTyped, type RetrievalQueryInDTO, RetrievalQueryInDTOFromJSON, RetrievalQueryInDTOFromJSONTyped, RetrievalQueryInDTOModeEnum, RetrievalQueryInDTOSortFieldEnum, RetrievalQueryInDTOSortMethodEnum, RetrievalQueryInDTOToJSON, RetrievalQueryInDTOToJSONTyped, type RetrievalQueryOutDTO, RetrievalQueryOutDTOFromJSON, RetrievalQueryOutDTOFromJSONTyped, RetrievalQueryOutDTOToJSON, RetrievalQueryOutDTOToJSONTyped, type RetrievalQueryRequest, type RetrievalStatusOutDTO, RetrievalStatusOutDTOFromJSON, RetrievalStatusOutDTOFromJSONTyped, RetrievalStatusOutDTOToJSON, RetrievalStatusOutDTOToJSONTyped, type RowMutableTableModel, RowMutableTableModelFromJSON, RowMutableTableModelFromJSONTyped, RowMutableTableModelToJSON, RowMutableTableModelToJSONTyped, type RowSourcesModel, RowSourcesModelFromJSON, RowSourcesModelFromJSONTyped, RowSourcesModelToJSON, RowSourcesModelToJSONTyped, type SessionTokenInDTO, SessionTokenInDTOFromJSON, SessionTokenInDTOFromJSONTyped, SessionTokenInDTOToJSON, SessionTokenInDTOToJSONTyped, type SessionTokenOutDTO, SessionTokenOutDTOFromJSON, SessionTokenOutDTOFromJSONTyped, SessionTokenOutDTOToJSON, SessionTokenOutDTOToJSONTyped, SessionsApi, type SetMySpendLimitRequest, SortMethodModel, SortMethodModelFromJSON, SortMethodModelFromJSONTyped, SortMethodModelToJSON, SortMethodModelToJSONTyped, type SpendLimitOutDTO, SpendLimitOutDTOFromJSON, SpendLimitOutDTOFromJSONTyped, SpendLimitOutDTOToJSON, SpendLimitOutDTOToJSONTyped, type SpendLimitUpdateInDTO, SpendLimitUpdateInDTOFromJSON, SpendLimitUpdateInDTOFromJSONTyped, SpendLimitUpdateInDTOToJSON, SpendLimitUpdateInDTOToJSONTyped, type StorageUsageOutDTO, StorageUsageOutDTOFromJSON, StorageUsageOutDTOFromJSONTyped, StorageUsageOutDTOToJSON, StorageUsageOutDTOToJSONTyped, type StructuredFilterDTO, StructuredFilterDTOFromJSON, StructuredFilterDTOFromJSONTyped, StructuredFilterDTOOpEnum, StructuredFilterDTOToJSON, StructuredFilterDTOToJSONTyped, type SubmitContactFormRequest, type SubscribeInDTO, SubscribeInDTOFromJSON, SubscribeInDTOFromJSONTyped, SubscribeInDTOToJSON, SubscribeInDTOToJSONTyped, type SubscribeRequest, type SubscriptionOutDTO, SubscriptionOutDTOFromJSON, SubscriptionOutDTOFromJSONTyped, SubscriptionOutDTOToJSON, SubscriptionOutDTOToJSONTyped, SubscriptionStatus, SubscriptionStatusFromJSON, SubscriptionStatusFromJSONTyped, SubscriptionStatusToJSON, SubscriptionStatusToJSONTyped, SubscriptionsApi, SupportLevel, SupportLevelFromJSON, SupportLevelFromJSONTyped, SupportLevelToJSON, SupportLevelToJSONTyped, type TOSOutDTO, TOSOutDTOFromJSON, TOSOutDTOFromJSONTyped, TOSOutDTOToJSON, TOSOutDTOToJSONTyped, type TableDefinitionDTOInput, TableDefinitionDTOInputFromJSON, TableDefinitionDTOInputFromJSONTyped, TableDefinitionDTOInputToJSON, TableDefinitionDTOInputToJSONTyped, type TagDocumentByUserRequest, type TagDocumentRequest, type TagFileBodyDTO, TagFileBodyDTOFromJSON, TagFileBodyDTOFromJSONTyped, TagFileBodyDTOToJSON, TagFileBodyDTOToJSONTyped, type TagFileRequest, type TagUrlInDTO, TagUrlInDTOFromJSON, TagUrlInDTOFromJSONTyped, TagUrlInDTOToJSON, TagUrlInDTOToJSONTyped, type TagUrlRequest, type TemplateListOutDTO, TemplateListOutDTOFromJSON, TemplateListOutDTOFromJSONTyped, TemplateListOutDTOToJSON, TemplateListOutDTOToJSONTyped, type TemplateOutDTO, TemplateOutDTOFromJSON, TemplateOutDTOFromJSONTyped, TemplateOutDTOToJSON, TemplateOutDTOToJSONTyped, type TemplateSchemaDTOInput, TemplateSchemaDTOInputFromJSON, TemplateSchemaDTOInputFromJSONTyped, TemplateSchemaDTOInputToJSON, TemplateSchemaDTOInputToJSONTyped, type TemplateSchemaDTOOutput, TemplateSchemaDTOOutputFromJSON, TemplateSchemaDTOOutputFromJSONTyped, TemplateSchemaDTOOutputToJSON, TemplateSchemaDTOOutputToJSONTyped, TemplateStatusModel, TemplateStatusModelFromJSON, TemplateStatusModelFromJSONTyped, TemplateStatusModelToJSON, TemplateStatusModelToJSONTyped, TemplatesApi, TextApiResponse, type TopUpPackListOutDTO, TopUpPackListOutDTOFromJSON, TopUpPackListOutDTOFromJSONTyped, TopUpPackListOutDTOToJSON, TopUpPackListOutDTOToJSONTyped, type TopUpPackOutDTO, TopUpPackOutDTOFromJSON, TopUpPackOutDTOFromJSONTyped, TopUpPackOutDTOToJSON, TopUpPackOutDTOToJSONTyped, type TopUpPurchaseInDTO, TopUpPurchaseInDTOFromJSON, TopUpPurchaseInDTOFromJSONTyped, TopUpPurchaseInDTOToJSON, TopUpPurchaseInDTOToJSONTyped, type TopUpPurchaseOutDTO, TopUpPurchaseOutDTOFromJSON, TopUpPurchaseOutDTOFromJSONTyped, TopUpPurchaseOutDTOToJSON, TopUpPurchaseOutDTOToJSONTyped, type UpdateTemplateInDTO, UpdateTemplateInDTOFromJSON, UpdateTemplateInDTOFromJSONTyped, UpdateTemplateInDTOToJSON, UpdateTemplateInDTOToJSONTyped, type UpdateTemplateRequest, type UploadDocumentByUserRequest, type UploadDocumentRequest, UploadExtractionTypeEnum, UploadExtractionTypeEnumFromJSON, UploadExtractionTypeEnumFromJSONTyped, UploadExtractionTypeEnumToJSON, UploadExtractionTypeEnumToJSONTyped, type UploadWebDocumentRequest, type UsageBreakdownListOutDTO, UsageBreakdownListOutDTOFromJSON, UsageBreakdownListOutDTOFromJSONTyped, UsageBreakdownListOutDTOToJSON, UsageBreakdownListOutDTOToJSONTyped, type UsageBreakdownOutDTO, UsageBreakdownOutDTOFromJSON, UsageBreakdownOutDTOFromJSONTyped, UsageBreakdownOutDTOToJSON, UsageBreakdownOutDTOToJSONTyped, type UsageLineItemOutDTO, UsageLineItemOutDTOFromJSON, UsageLineItemOutDTOFromJSONTyped, UsageLineItemOutDTOToJSON, UsageLineItemOutDTOToJSONTyped, type UsageSummaryOutDTO, UsageSummaryOutDTOFromJSON, UsageSummaryOutDTOFromJSONTyped, UsageSummaryOutDTOToJSON, UsageSummaryOutDTOToJSONTyped, VERSION, type ValidateDocumentExtractionRequest, type ValidationColumnModel, ValidationColumnModelFromJSON, ValidationColumnModelFromJSONTyped, ValidationColumnModelToJSON, ValidationColumnModelToJSONTyped, ValidationColumnModelTypeEnum, type ValidationError, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, type ValidationFieldModel, ValidationFieldModelFromJSON, ValidationFieldModelFromJSONTyped, ValidationFieldModelToJSON, ValidationFieldModelToJSONTyped, ValidationFieldModelTypeEnum, type ValidationSchemaModel, ValidationSchemaModelFromJSON, ValidationSchemaModelFromJSONTyped, ValidationSchemaModelToJSON, ValidationSchemaModelToJSONTyped, type Value, type ValueAnyOfInner, ValueAnyOfInnerFromJSON, ValueAnyOfInnerFromJSONTyped, ValueAnyOfInnerToJSON, ValueAnyOfInnerToJSONTyped, ValueFromJSON, ValueFromJSONTyped, ValueToJSON, ValueToJSONTyped, type ValuesValue, ValuesValueFromJSON, ValuesValueFromJSONTyped, ValuesValueToJSON, ValuesValueToJSONTyped, type VerifiedDiffEntryOutDTO, VerifiedDiffEntryOutDTOFromJSON, VerifiedDiffEntryOutDTOFromJSONTyped, VerifiedDiffEntryOutDTOStatusEnum, VerifiedDiffEntryOutDTOToJSON, VerifiedDiffEntryOutDTOToJSONTyped, type ViewMetaOutDTO, ViewMetaOutDTOFromJSON, ViewMetaOutDTOFromJSONTyped, ViewMetaOutDTOToJSON, ViewMetaOutDTOToJSONTyped, VoidApiResponse, type VolumeDiscountTierOutDTO, VolumeDiscountTierOutDTOFromJSON, VolumeDiscountTierOutDTOFromJSONTyped, VolumeDiscountTierOutDTOToJSON, VolumeDiscountTierOutDTOToJSONTyped, type WebDocumentUploadInDTO, WebDocumentUploadInDTOFromJSON, WebDocumentUploadInDTOFromJSONTyped, WebDocumentUploadInDTOToJSON, WebDocumentUploadInDTOToJSONTyped, type WebhookResponseDTO, WebhookResponseDTOFromJSON, WebhookResponseDTOFromJSONTyped, WebhookResponseDTOToJSON, WebhookResponseDTOToJSONTyped, canConsumeForm, exists, instanceOfAggregateMetaDTO, instanceOfAggregateMetricDTO, instanceOfAggregateRowDTO, instanceOfChatMessageOutDTO, instanceOfChatQueryInDTO, instanceOfChatQueryOutDTO, instanceOfChatSessionListOutDTO, instanceOfChatSessionOutDTO, instanceOfChatTranscriptOutDTO, instanceOfCheckoutOutDTO, instanceOfColumnDefinitionDTO, instanceOfComparisonSummaryModel, instanceOfContactFormInDTO, instanceOfContractOutDTO, instanceOfContractStatus, instanceOfCountBreakdownModel, instanceOfCreateTemplateInDTO, instanceOfCreditMeter, instanceOfCreditMeterFilter, instanceOfCreditTransactionListOutDTO, instanceOfCreditTransactionOutDTO, instanceOfCreditTransactionType, instanceOfDataCenterRegionModel, instanceOfDataRetentionPeriodModel, instanceOfDocumentDataOutDTO, instanceOfDocumentFileTypeModel, instanceOfDocumentMetaOutDTO, instanceOfDocumentPrimaryViewOutDTO, instanceOfDocumentProcessingMetaOutDTO, instanceOfDocumentProcessingResultOutDTO, instanceOfDocumentPurgingResultOutDTO, instanceOfDocumentViewDataOutDTO, instanceOfDocumentViewMetaOutDTO, instanceOfDocumentViewOutDTO, instanceOfDocumentsViewOutDTO, instanceOfEnterpriseTransactionListOutDTO, instanceOfEnterpriseTransactionOutDTO, instanceOfExtractionCostOutDTO, instanceOfExtractionCostOutResultDTO, instanceOfExtractionCostStateModel, instanceOfExtractionCostsDataOutDTO, instanceOfExtractionCostsOutDTO, instanceOfExtractionDocumentViewMetaOutDTO, instanceOfExtractionMetaOutDTO, instanceOfExtractionPrimaryViewOutDTO, instanceOfExtractionProcessingResultOutDTO, instanceOfExtractionTypeModel, instanceOfExtractionValidationInDTO, instanceOfExtractionValidationMetaOutDTO, instanceOfExtractionValidationResultOutDTO, instanceOfExtractionViewDataOutDTO, instanceOfExtractionViewMetaOutDTO, instanceOfExtractionViewOutDTO, instanceOfExtractionsViewOutDTO, instanceOfFeatureType, instanceOfFieldDefinitionDTO, instanceOfFieldDifferenceModel, instanceOfFieldType, instanceOfFileTagBalanceOutDTO, instanceOfFileTagFilenamePatternsOutDTO, instanceOfFileTagMetadataOutDTO, instanceOfFileTagResultOutDTO, instanceOfFilesCreateUploadInDTO, instanceOfFilesNextToolCallOutDTO, instanceOfFilesUploadDetailsOutDTO, instanceOfFilesUploadInstructionsOutDTO, instanceOfFoundationDTO, instanceOfFoundationMetaDTO, instanceOfFreeTierConfigOutDTO, instanceOfGenerateTemplateFromUrlInDTO, instanceOfHTTPValidationError, instanceOfInvoiceListOutDTO, instanceOfInvoiceOutDTO, instanceOfInvoicePdfOutDTO, instanceOfInvoiceStatus, instanceOfInvoiceType, instanceOfLocationInner, instanceOfMatchedChunkDTO, instanceOfModelType, instanceOfNextActionOutDTO, instanceOfNumberOfStoredDocumentsOutDTO, instanceOfOperationType, instanceOfPeriodPresetModel, instanceOfPlanCreditCostOutDTO, instanceOfPlanDetailOutDTO, instanceOfPlanListOutDTO, instanceOfPlanOutDTO, instanceOfPurgeReasonModel, instanceOfPurgedDocumentsDataOutDTO, instanceOfQueryMetaDTO, instanceOfQueryResultItemDTO, instanceOfRateCardOutDTO, instanceOfResponseChangePlan, instanceOfResponseStatus, instanceOfRetrievalAggregateInDTO, instanceOfRetrievalAggregateOutDTO, instanceOfRetrievalFieldItemDTO, instanceOfRetrievalFieldsOutDTO, instanceOfRetrievalFiltersDTO, instanceOfRetrievalQueryInDTO, instanceOfRetrievalQueryOutDTO, instanceOfRetrievalStatusOutDTO, instanceOfRowMutableTableModel, instanceOfRowSourcesModel, instanceOfSessionTokenInDTO, instanceOfSessionTokenOutDTO, instanceOfSortMethodModel, instanceOfSpendLimitOutDTO, instanceOfSpendLimitUpdateInDTO, instanceOfStorageUsageOutDTO, instanceOfStructuredFilterDTO, instanceOfSubscribeInDTO, instanceOfSubscriptionOutDTO, instanceOfSubscriptionStatus, instanceOfSupportLevel, instanceOfTOSOutDTO, instanceOfTableDefinitionDTOInput, instanceOfTagFileBodyDTO, instanceOfTagUrlInDTO, instanceOfTemplateListOutDTO, instanceOfTemplateOutDTO, instanceOfTemplateSchemaDTOInput, instanceOfTemplateSchemaDTOOutput, instanceOfTemplateStatusModel, instanceOfTopUpPackListOutDTO, instanceOfTopUpPackOutDTO, instanceOfTopUpPurchaseInDTO, instanceOfTopUpPurchaseOutDTO, instanceOfUpdateTemplateInDTO, instanceOfUploadExtractionTypeEnum, instanceOfUsageBreakdownListOutDTO, instanceOfUsageBreakdownOutDTO, instanceOfUsageLineItemOutDTO, instanceOfUsageSummaryOutDTO, instanceOfValidationColumnModel, instanceOfValidationError, instanceOfValidationFieldModel, instanceOfValidationSchemaModel, instanceOfValue, instanceOfValueAnyOfInner, instanceOfValuesValue, instanceOfVerifiedDiffEntryOutDTO, instanceOfViewMetaOutDTO, instanceOfVolumeDiscountTierOutDTO, instanceOfWebDocumentUploadInDTO, instanceOfWebhookResponseDTO, mapValues, querystring };
12270
+ export { type ActivateTemplateRequest, type AddDocumentExtractionsByUserRequest, type AddDocumentExtractionsRequest, type AddExtractionsInDTO, AddExtractionsInDTOFromJSON, AddExtractionsInDTOFromJSONTyped, AddExtractionsInDTOToJSON, AddExtractionsInDTOToJSONTyped, type AggregateMetaDTO, AggregateMetaDTOFromJSON, AggregateMetaDTOFromJSONTyped, AggregateMetaDTOToJSON, AggregateMetaDTOToJSONTyped, type AggregateMetricDTO, AggregateMetricDTOFieldEnum, AggregateMetricDTOFromJSON, AggregateMetricDTOFromJSONTyped, AggregateMetricDTOOpEnum, AggregateMetricDTOToJSON, AggregateMetricDTOToJSONTyped, type AggregateRowDTO, AggregateRowDTOFromJSON, AggregateRowDTOFromJSONTyped, AggregateRowDTOToJSON, AggregateRowDTOToJSONTyped, type ApiResponse, BASE_PATH, BaseAPI, BillingApi, BlobApiResponse, COLLECTION_FORMATS, type ChangePlanRequest, ChatApi, type ChatMessageOutDTO, ChatMessageOutDTOFromJSON, ChatMessageOutDTOFromJSONTyped, ChatMessageOutDTOToJSON, ChatMessageOutDTOToJSONTyped, type ChatQueryInDTO, ChatQueryInDTOFromJSON, ChatQueryInDTOFromJSONTyped, ChatQueryInDTOToJSON, ChatQueryInDTOToJSONTyped, type ChatQueryOutDTO, ChatQueryOutDTOFromJSON, ChatQueryOutDTOFromJSONTyped, ChatQueryOutDTOToJSON, ChatQueryOutDTOToJSONTyped, type ChatQueryRequest, type ChatSessionListOutDTO, ChatSessionListOutDTOFromJSON, ChatSessionListOutDTOFromJSONTyped, ChatSessionListOutDTOToJSON, ChatSessionListOutDTOToJSONTyped, type ChatSessionOutDTO, ChatSessionOutDTOFromJSON, ChatSessionOutDTOFromJSONTyped, ChatSessionOutDTOToJSON, ChatSessionOutDTOToJSONTyped, type ChatTranscriptOutDTO, ChatTranscriptOutDTOFromJSON, ChatTranscriptOutDTOFromJSONTyped, ChatTranscriptOutDTOToJSON, ChatTranscriptOutDTOToJSONTyped, type CheckoutOutDTO, CheckoutOutDTOFromJSON, CheckoutOutDTOFromJSONTyped, CheckoutOutDTOStatusEnum, CheckoutOutDTOToJSON, CheckoutOutDTOToJSONTyped, type ColumnDefinitionDTO, ColumnDefinitionDTOFromJSON, ColumnDefinitionDTOFromJSONTyped, ColumnDefinitionDTOToJSON, ColumnDefinitionDTOToJSONTyped, type ComparisonSummaryModel, ComparisonSummaryModelFromJSON, ComparisonSummaryModelFromJSONTyped, ComparisonSummaryModelToJSON, ComparisonSummaryModelToJSONTyped, Configuration, type ConfigurationParameters, type Consume, ContactApi, type ContactFormInDTO, ContactFormInDTOFromJSON, ContactFormInDTOFromJSONTyped, ContactFormInDTOToJSON, ContactFormInDTOToJSONTyped, type ContractOutDTO, ContractOutDTOFromJSON, ContractOutDTOFromJSONTyped, ContractOutDTOToJSON, ContractOutDTOToJSONTyped, ContractStatus, ContractStatusFromJSON, ContractStatusFromJSONTyped, ContractStatusToJSON, ContractStatusToJSONTyped, type ConversationOptions, type CountBreakdownModel, CountBreakdownModelFromJSON, CountBreakdownModelFromJSONTyped, CountBreakdownModelToJSON, CountBreakdownModelToJSONTyped, type CreateDocumentProcessingRequestByUserRequest, type CreateDocumentProcessingRequestRequest, type CreateTemplateInDTO, CreateTemplateInDTOFromJSON, CreateTemplateInDTOFromJSONTyped, CreateTemplateInDTOToJSON, CreateTemplateInDTOToJSONTyped, type CreateTemplateRequest, type CreateUploadRequest, type CreateWebDocumentProcessingRequestByUserRequest, type CreateWebDocumentProcessingRequestRequest, CreditMeter, CreditMeterFilter, CreditMeterFilterFromJSON, CreditMeterFilterFromJSONTyped, CreditMeterFilterToJSON, CreditMeterFilterToJSONTyped, CreditMeterFromJSON, CreditMeterFromJSONTyped, CreditMeterToJSON, CreditMeterToJSONTyped, type CreditTransactionListOutDTO, CreditTransactionListOutDTOFromJSON, CreditTransactionListOutDTOFromJSONTyped, CreditTransactionListOutDTOToJSON, CreditTransactionListOutDTOToJSONTyped, type CreditTransactionOutDTO, CreditTransactionOutDTOFromJSON, CreditTransactionOutDTOFromJSONTyped, CreditTransactionOutDTOToJSON, CreditTransactionOutDTOToJSONTyped, CreditTransactionType, CreditTransactionTypeFromJSON, CreditTransactionTypeFromJSONTyped, CreditTransactionTypeToJSON, CreditTransactionTypeToJSONTyped, DEFAULT_BASE_URL, DataCenterRegionModel, DataCenterRegionModelFromJSON, DataCenterRegionModelFromJSONTyped, DataCenterRegionModelToJSON, DataCenterRegionModelToJSONTyped, DataRetentionPeriodModel, DataRetentionPeriodModelFromJSON, DataRetentionPeriodModelFromJSONTyped, DataRetentionPeriodModelToJSON, DataRetentionPeriodModelToJSONTyped, type DeactivateTemplateRequest, DefaultConfig, type DeleteChatSessionRequest, type DeleteTemplateRequest, type DocumentAddExtractionsMetaOutDTO, DocumentAddExtractionsMetaOutDTOFromJSON, DocumentAddExtractionsMetaOutDTOFromJSONTyped, DocumentAddExtractionsMetaOutDTOToJSON, DocumentAddExtractionsMetaOutDTOToJSONTyped, type DocumentAddExtractionsOutDTO, DocumentAddExtractionsOutDTOFromJSON, DocumentAddExtractionsOutDTOFromJSONTyped, DocumentAddExtractionsOutDTOToJSON, DocumentAddExtractionsOutDTOToJSONTyped, DocumentApi, type DocumentDataOutDTO, DocumentDataOutDTOFromJSON, DocumentDataOutDTOFromJSONTyped, DocumentDataOutDTOToJSON, DocumentDataOutDTOToJSONTyped, DocumentFileTypeModel, DocumentFileTypeModelFromJSON, DocumentFileTypeModelFromJSONTyped, DocumentFileTypeModelToJSON, DocumentFileTypeModelToJSONTyped, type DocumentMetaOutDTO, DocumentMetaOutDTOFromJSON, DocumentMetaOutDTOFromJSONTyped, DocumentMetaOutDTOToJSON, DocumentMetaOutDTOToJSONTyped, type DocumentPrimaryViewOutDTO, DocumentPrimaryViewOutDTOFromJSON, DocumentPrimaryViewOutDTOFromJSONTyped, DocumentPrimaryViewOutDTOToJSON, DocumentPrimaryViewOutDTOToJSONTyped, type DocumentProcessingMetaOutDTO, DocumentProcessingMetaOutDTOFromJSON, DocumentProcessingMetaOutDTOFromJSONTyped, DocumentProcessingMetaOutDTOToJSON, DocumentProcessingMetaOutDTOToJSONTyped, type DocumentProcessingResultOutDTO, DocumentProcessingResultOutDTOFromJSON, DocumentProcessingResultOutDTOFromJSONTyped, DocumentProcessingResultOutDTOToJSON, DocumentProcessingResultOutDTOToJSONTyped, type DocumentPurgingResultOutDTO, DocumentPurgingResultOutDTOFromJSON, DocumentPurgingResultOutDTOFromJSONTyped, DocumentPurgingResultOutDTOToJSON, DocumentPurgingResultOutDTOToJSONTyped, type DocumentSource, type DocumentViewDataOutDTO, DocumentViewDataOutDTOFromJSON, DocumentViewDataOutDTOFromJSONTyped, DocumentViewDataOutDTOToJSON, DocumentViewDataOutDTOToJSONTyped, type DocumentViewMetaOutDTO, DocumentViewMetaOutDTOFromJSON, DocumentViewMetaOutDTOFromJSONTyped, DocumentViewMetaOutDTOToJSON, DocumentViewMetaOutDTOToJSONTyped, type DocumentViewOutDTO, DocumentViewOutDTOFromJSON, DocumentViewOutDTOFromJSONTyped, DocumentViewOutDTOToJSON, DocumentViewOutDTOToJSONTyped, type DocumentsViewOutDTO, DocumentsViewOutDTOFromJSON, DocumentsViewOutDTOFromJSONTyped, DocumentsViewOutDTOToJSON, DocumentsViewOutDTOToJSONTyped, EnterpriseApi, type EnterpriseTransactionListOutDTO, EnterpriseTransactionListOutDTOFromJSON, EnterpriseTransactionListOutDTOFromJSONTyped, EnterpriseTransactionListOutDTOToJSON, EnterpriseTransactionListOutDTOToJSONTyped, type EnterpriseTransactionOutDTO, EnterpriseTransactionOutDTOFromJSON, EnterpriseTransactionOutDTOFromJSONTyped, EnterpriseTransactionOutDTOToJSON, EnterpriseTransactionOutDTOToJSONTyped, type ErrorContext, type ExtractionCostOutDTO, ExtractionCostOutDTOFromJSON, ExtractionCostOutDTOFromJSONTyped, ExtractionCostOutDTOToJSON, ExtractionCostOutDTOToJSONTyped, type ExtractionCostOutResultDTO, ExtractionCostOutResultDTOFromJSON, ExtractionCostOutResultDTOFromJSONTyped, ExtractionCostOutResultDTOToJSON, ExtractionCostOutResultDTOToJSONTyped, ExtractionCostStateModel, ExtractionCostStateModelFromJSON, ExtractionCostStateModelFromJSONTyped, ExtractionCostStateModelToJSON, ExtractionCostStateModelToJSONTyped, type ExtractionCostsDataOutDTO, ExtractionCostsDataOutDTOFromJSON, ExtractionCostsDataOutDTOFromJSONTyped, ExtractionCostsDataOutDTOToJSON, ExtractionCostsDataOutDTOToJSONTyped, type ExtractionCostsOutDTO, ExtractionCostsOutDTOFromJSON, ExtractionCostsOutDTOFromJSONTyped, ExtractionCostsOutDTOToJSON, ExtractionCostsOutDTOToJSONTyped, type ExtractionDocumentViewMetaOutDTO, ExtractionDocumentViewMetaOutDTOFromJSON, ExtractionDocumentViewMetaOutDTOFromJSONTyped, ExtractionDocumentViewMetaOutDTOToJSON, ExtractionDocumentViewMetaOutDTOToJSONTyped, type ExtractionMetaOutDTO, ExtractionMetaOutDTOFromJSON, ExtractionMetaOutDTOFromJSONTyped, ExtractionMetaOutDTOToJSON, ExtractionMetaOutDTOToJSONTyped, type ExtractionPrimaryViewOutDTO, ExtractionPrimaryViewOutDTOFromJSON, ExtractionPrimaryViewOutDTOFromJSONTyped, ExtractionPrimaryViewOutDTOToJSON, ExtractionPrimaryViewOutDTOToJSONTyped, type ExtractionProcessingResultOutDTO, ExtractionProcessingResultOutDTOFromJSON, ExtractionProcessingResultOutDTOFromJSONTyped, ExtractionProcessingResultOutDTOToJSON, ExtractionProcessingResultOutDTOToJSONTyped, ExtractionTypeModel, ExtractionTypeModelFromJSON, ExtractionTypeModelFromJSONTyped, ExtractionTypeModelToJSON, ExtractionTypeModelToJSONTyped, type ExtractionValidationInDTO, ExtractionValidationInDTOFromJSON, ExtractionValidationInDTOFromJSONTyped, ExtractionValidationInDTOToJSON, ExtractionValidationInDTOToJSONTyped, type ExtractionValidationMetaOutDTO, ExtractionValidationMetaOutDTOFromJSON, ExtractionValidationMetaOutDTOFromJSONTyped, ExtractionValidationMetaOutDTOToJSON, ExtractionValidationMetaOutDTOToJSONTyped, type ExtractionValidationResultOutDTO, ExtractionValidationResultOutDTOFromJSON, ExtractionValidationResultOutDTOFromJSONTyped, ExtractionValidationResultOutDTOToJSON, ExtractionValidationResultOutDTOToJSONTyped, type ExtractionViewDataOutDTO, ExtractionViewDataOutDTOFromJSON, ExtractionViewDataOutDTOFromJSONTyped, ExtractionViewDataOutDTOToJSON, ExtractionViewDataOutDTOToJSONTyped, type ExtractionViewMetaOutDTO, ExtractionViewMetaOutDTOFromJSON, ExtractionViewMetaOutDTOFromJSONTyped, ExtractionViewMetaOutDTOToJSON, ExtractionViewMetaOutDTOToJSONTyped, type ExtractionViewOutDTO, ExtractionViewOutDTOFromJSON, ExtractionViewOutDTOFromJSONTyped, ExtractionViewOutDTOToJSON, ExtractionViewOutDTOToJSONTyped, type ExtractionsViewOutDTO, ExtractionsViewOutDTOFromJSON, ExtractionsViewOutDTOFromJSONTyped, ExtractionsViewOutDTOToJSON, ExtractionsViewOutDTOToJSONTyped, FeatureType, FeatureTypeFromJSON, FeatureTypeFromJSONTyped, FeatureTypeToJSON, FeatureTypeToJSONTyped, type FetchAPI, FetchError, type FetchParams, type FieldDefinitionDTO, FieldDefinitionDTOFromJSON, FieldDefinitionDTOFromJSONTyped, FieldDefinitionDTOToJSON, FieldDefinitionDTOToJSONTyped, type FieldDifferenceModel, FieldDifferenceModelFromJSON, FieldDifferenceModelFromJSONTyped, FieldDifferenceModelToJSON, FieldDifferenceModelToJSONTyped, FieldType, FieldTypeFromJSON, FieldTypeFromJSONTyped, FieldTypeToJSON, FieldTypeToJSONTyped, FileTagApi, type FileTagBalanceOutDTO, FileTagBalanceOutDTOFromJSON, FileTagBalanceOutDTOFromJSONTyped, FileTagBalanceOutDTOToJSON, FileTagBalanceOutDTOToJSONTyped, type FileTagFilenamePatternsOutDTO, FileTagFilenamePatternsOutDTOFromJSON, FileTagFilenamePatternsOutDTOFromJSONTyped, FileTagFilenamePatternsOutDTOToJSON, FileTagFilenamePatternsOutDTOToJSONTyped, type FileTagMetadataOutDTO, FileTagMetadataOutDTOFromJSON, FileTagMetadataOutDTOFromJSONTyped, FileTagMetadataOutDTOToJSON, FileTagMetadataOutDTOToJSONTyped, type FileTagResultOutDTO, FileTagResultOutDTOFromJSON, FileTagResultOutDTOFromJSONTyped, FileTagResultOutDTOToJSON, FileTagResultOutDTOToJSONTyped, FilesApi, type FilesCreateUploadInDTO, FilesCreateUploadInDTOFromJSON, FilesCreateUploadInDTOFromJSONTyped, FilesCreateUploadInDTOToJSON, FilesCreateUploadInDTOToJSONTyped, type FilesNextToolCallOutDTO, FilesNextToolCallOutDTOFromJSON, FilesNextToolCallOutDTOFromJSONTyped, FilesNextToolCallOutDTOToJSON, FilesNextToolCallOutDTOToJSONTyped, FilesNextToolCallOutDTOToolEnum, type FilesUploadDetailsOutDTO, FilesUploadDetailsOutDTOFromJSON, FilesUploadDetailsOutDTOFromJSONTyped, FilesUploadDetailsOutDTOMethodEnum, FilesUploadDetailsOutDTOToJSON, FilesUploadDetailsOutDTOToJSONTyped, type FilesUploadInstructionsOutDTO, FilesUploadInstructionsOutDTOFromJSON, FilesUploadInstructionsOutDTOFromJSONTyped, FilesUploadInstructionsOutDTOToJSON, FilesUploadInstructionsOutDTOToJSONTyped, type FindDocumentExtractionsByUserRequest, type FindDocumentExtractionsRequest, type FindDocumentsByUserRequest, type FindDocumentsRequest, type FoundationDTO, FoundationDTOFromJSON, FoundationDTOFromJSONTyped, FoundationDTOToJSON, FoundationDTOToJSONTyped, type FoundationMetaDTO, FoundationMetaDTOFromJSON, FoundationMetaDTOFromJSONTyped, FoundationMetaDTOToJSON, FoundationMetaDTOToJSONTyped, FreeTierApi, type FreeTierConfigOutDTO, FreeTierConfigOutDTOFromJSON, FreeTierConfigOutDTOFromJSONTyped, FreeTierConfigOutDTOToJSON, FreeTierConfigOutDTOToJSONTyped, GeminaChatConversation, GeminaClient, type GeminaClientApis, type GeminaClientOptions, GeminaError, GeminaProcessingError, GeminaTimeoutError, type GenerateTemplateAsyncRequest, type GenerateTemplateFromUrlAsyncRequest, type GenerateTemplateFromUrlInDTO, GenerateTemplateFromUrlInDTOFromJSON, GenerateTemplateFromUrlInDTOFromJSONTyped, GenerateTemplateFromUrlInDTOToJSON, GenerateTemplateFromUrlInDTOToJSONTyped, type GenerateTemplateFromUrlRequest, type GenerateTemplateRequest, type GetChatSessionRequest, type GetCreditHistoryRequest, type GetDocumentByUserRequest, type GetDocumentExtractionByUserRequest, type GetDocumentExtractionRequest, type GetDocumentProcessingResultByCorrelationIdByUserRequest, type GetDocumentProcessingResultByCorrelationIdRequest, type GetDocumentRequest, type GetExtractionCostRequest, type GetExtractionCostsRequest, type GetInvoicePdfRequest, type GetInvoiceRequest, type GetMyFiletagCreditHistoryRequest, type GetMyTransactionsRequest, type GetMyUsageRequest, type GetPlanRequest, type GetTemplateRequest, type GetUserInvoicesRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type HTTPValidationError, HTTPValidationErrorFromJSON, HTTPValidationErrorFromJSONTyped, HTTPValidationErrorToJSON, HTTPValidationErrorToJSONTyped, type InitOverrideFunction, type InvoiceListOutDTO, InvoiceListOutDTOFromJSON, InvoiceListOutDTOFromJSONTyped, InvoiceListOutDTOToJSON, InvoiceListOutDTOToJSONTyped, type InvoiceOutDTO, InvoiceOutDTOFromJSON, InvoiceOutDTOFromJSONTyped, InvoiceOutDTOToJSON, InvoiceOutDTOToJSONTyped, type InvoicePdfOutDTO, InvoicePdfOutDTOFromJSON, InvoicePdfOutDTOFromJSONTyped, InvoicePdfOutDTOToJSON, InvoicePdfOutDTOToJSONTyped, InvoiceStatus, InvoiceStatusFromJSON, InvoiceStatusFromJSONTyped, InvoiceStatusToJSON, InvoiceStatusToJSONTyped, InvoiceType, InvoiceTypeFromJSON, InvoiceTypeFromJSONTyped, InvoiceTypeToJSON, InvoiceTypeToJSONTyped, JSONApiResponse, type Json, LegalApi, type ListActivePlansRequest, type ListChatSessionsRequest, type ListTemplatesByApiKeyRequest, type ListTemplatesRequest, type LocationInner, LocationInnerFromJSON, LocationInnerFromJSONTyped, LocationInnerToJSON, LocationInnerToJSONTyped, type MatchedChunkDTO, MatchedChunkDTOFromJSON, MatchedChunkDTOFromJSONTyped, MatchedChunkDTOToJSON, MatchedChunkDTOToJSONTyped, MetaApi, type Middleware, type MintRetrievalTokenRequest, type MintRetrievalTokenUserRequest, type ModelPropertyNaming, ModelType, ModelTypeFromJSON, ModelTypeFromJSONTyped, ModelTypeToJSON, ModelTypeToJSONTyped, type NextActionOutDTO, NextActionOutDTOActionEnum, NextActionOutDTOFromJSON, NextActionOutDTOFromJSONTyped, NextActionOutDTOToJSON, NextActionOutDTOToJSONTyped, type NumberOfStoredDocumentsOutDTO, NumberOfStoredDocumentsOutDTOFromJSON, NumberOfStoredDocumentsOutDTOFromJSONTyped, NumberOfStoredDocumentsOutDTOToJSON, NumberOfStoredDocumentsOutDTOToJSONTyped, OperationType, OperationTypeFromJSON, OperationTypeFromJSONTyped, OperationTypeToJSON, OperationTypeToJSONTyped, type PaymentMethodUpdateOutDTO, PaymentMethodUpdateOutDTOFromJSON, PaymentMethodUpdateOutDTOFromJSONTyped, PaymentMethodUpdateOutDTOPurposeEnum, PaymentMethodUpdateOutDTOToJSON, PaymentMethodUpdateOutDTOToJSONTyped, PeriodPresetModel, PeriodPresetModelFromJSON, PeriodPresetModelFromJSONTyped, PeriodPresetModelToJSON, PeriodPresetModelToJSONTyped, type PlanCreditCostOutDTO, PlanCreditCostOutDTOFromJSON, PlanCreditCostOutDTOFromJSONTyped, PlanCreditCostOutDTOToJSON, PlanCreditCostOutDTOToJSONTyped, type PlanDetailOutDTO, PlanDetailOutDTOFromJSON, PlanDetailOutDTOFromJSONTyped, PlanDetailOutDTOToJSON, PlanDetailOutDTOToJSONTyped, type PlanListOutDTO, PlanListOutDTOFromJSON, PlanListOutDTOFromJSONTyped, PlanListOutDTOToJSON, PlanListOutDTOToJSONTyped, type PlanOutDTO, PlanOutDTOFromJSON, PlanOutDTOFromJSONTyped, PlanOutDTOToJSON, PlanOutDTOToJSONTyped, type ProcessDocumentOptions, type PurchaseTopUpRequest, type PurgeChatSession422Response, PurgeChatSession422ResponseFromJSON, PurgeChatSession422ResponseFromJSONTyped, PurgeChatSession422ResponseToJSON, PurgeChatSession422ResponseToJSONTyped, type PurgeChatSessionByUserRequest, type PurgeChatSessionRequest, type PurgeDocumentByUserRequest, type PurgeDocumentExtractionByUserRequest, type PurgeDocumentExtractionRequest, type PurgeDocumentRequest, type PurgeDocumentsWithEndUserIdByUserRequest, type PurgeDocumentsWithEndUserIdRequest, type PurgeDocumentsWithExternalIdByUserRequest, type PurgeDocumentsWithExternalIdRequest, PurgeReasonModel, PurgeReasonModelFromJSON, PurgeReasonModelFromJSONTyped, PurgeReasonModelToJSON, PurgeReasonModelToJSONTyped, type PurgedDocumentsDataOutDTO, PurgedDocumentsDataOutDTOFromJSON, PurgedDocumentsDataOutDTOFromJSONTyped, PurgedDocumentsDataOutDTOToJSON, PurgedDocumentsDataOutDTOToJSONTyped, type QueryMetaDTO, QueryMetaDTOFromJSON, QueryMetaDTOFromJSONTyped, QueryMetaDTOIndexingStateEnum, QueryMetaDTOToJSON, QueryMetaDTOToJSONTyped, type QueryResultItemDTO, QueryResultItemDTOFromJSON, QueryResultItemDTOFromJSONTyped, QueryResultItemDTOToJSON, QueryResultItemDTOToJSONTyped, type RateCardOutDTO, RateCardOutDTOFromJSON, RateCardOutDTOFromJSONTyped, RateCardOutDTOToJSON, RateCardOutDTOToJSONTyped, type RequestContext, type RequestOpts, RequiredError, type ResponseChangePlan, ResponseChangePlanFromJSON, ResponseChangePlanFromJSONTyped, ResponseChangePlanToJSON, ResponseChangePlanToJSONTyped, type ResponseContext, ResponseError, ResponseStatus, ResponseStatusFromJSON, ResponseStatusFromJSONTyped, ResponseStatusToJSON, ResponseStatusToJSONTyped, type ResponseTransformer, type ResumeTutorialRequestRequest, type RetrievalAggregateInDTO, RetrievalAggregateInDTOFromJSON, RetrievalAggregateInDTOFromJSONTyped, RetrievalAggregateInDTOGroupByEnum, RetrievalAggregateInDTOToJSON, RetrievalAggregateInDTOToJSONTyped, type RetrievalAggregateOutDTO, RetrievalAggregateOutDTOFromJSON, RetrievalAggregateOutDTOFromJSONTyped, RetrievalAggregateOutDTOToJSON, RetrievalAggregateOutDTOToJSONTyped, type RetrievalAggregateRequest, RetrievalApi, type RetrievalFieldItemDTO, RetrievalFieldItemDTOFromJSON, RetrievalFieldItemDTOFromJSONTyped, RetrievalFieldItemDTOToJSON, RetrievalFieldItemDTOToJSONTyped, type RetrievalFieldsOutDTO, RetrievalFieldsOutDTOFromJSON, RetrievalFieldsOutDTOFromJSONTyped, RetrievalFieldsOutDTOToJSON, RetrievalFieldsOutDTOToJSONTyped, type RetrievalFiltersDTO, RetrievalFiltersDTOFromJSON, RetrievalFiltersDTOFromJSONTyped, RetrievalFiltersDTOToJSON, RetrievalFiltersDTOToJSONTyped, type RetrievalQueryInDTO, RetrievalQueryInDTOFromJSON, RetrievalQueryInDTOFromJSONTyped, RetrievalQueryInDTOModeEnum, RetrievalQueryInDTOSortFieldEnum, RetrievalQueryInDTOSortMethodEnum, RetrievalQueryInDTOToJSON, RetrievalQueryInDTOToJSONTyped, type RetrievalQueryOutDTO, RetrievalQueryOutDTOFromJSON, RetrievalQueryOutDTOFromJSONTyped, RetrievalQueryOutDTOToJSON, RetrievalQueryOutDTOToJSONTyped, type RetrievalQueryRequest, type RetrievalStatusOutDTO, RetrievalStatusOutDTOFromJSON, RetrievalStatusOutDTOFromJSONTyped, RetrievalStatusOutDTOToJSON, RetrievalStatusOutDTOToJSONTyped, type RowMutableTableModel, RowMutableTableModelFromJSON, RowMutableTableModelFromJSONTyped, RowMutableTableModelToJSON, RowMutableTableModelToJSONTyped, type RowSourcesModel, RowSourcesModelFromJSON, RowSourcesModelFromJSONTyped, RowSourcesModelToJSON, RowSourcesModelToJSONTyped, type SavedFiletagResultRequest, type SavedFiletagResultUserRequest, type SessionTokenInDTO, SessionTokenInDTOFromJSON, SessionTokenInDTOFromJSONTyped, SessionTokenInDTOToJSON, SessionTokenInDTOToJSONTyped, type SessionTokenOutDTO, SessionTokenOutDTOFromJSON, SessionTokenOutDTOFromJSONTyped, SessionTokenOutDTOToJSON, SessionTokenOutDTOToJSONTyped, SessionsApi, type SetMySpendLimitRequest, SortMethodModel, SortMethodModelFromJSON, SortMethodModelFromJSONTyped, SortMethodModelToJSON, SortMethodModelToJSONTyped, type SpendLimitOutDTO, SpendLimitOutDTOFromJSON, SpendLimitOutDTOFromJSONTyped, SpendLimitOutDTOToJSON, SpendLimitOutDTOToJSONTyped, type SpendLimitUpdateInDTO, SpendLimitUpdateInDTOFromJSON, SpendLimitUpdateInDTOFromJSONTyped, SpendLimitUpdateInDTOToJSON, SpendLimitUpdateInDTOToJSONTyped, type StorageUsageOutDTO, StorageUsageOutDTOFromJSON, StorageUsageOutDTOFromJSONTyped, StorageUsageOutDTOToJSON, StorageUsageOutDTOToJSONTyped, type StructuredFilterDTO, StructuredFilterDTOFromJSON, StructuredFilterDTOFromJSONTyped, StructuredFilterDTOOpEnum, StructuredFilterDTOToJSON, StructuredFilterDTOToJSONTyped, type SubmitContactFormRequest, type SubscribeInDTO, SubscribeInDTOFromJSON, SubscribeInDTOFromJSONTyped, SubscribeInDTOToJSON, SubscribeInDTOToJSONTyped, type SubscribeRequest, type SubscriptionOutDTO, SubscriptionOutDTOFromJSON, SubscriptionOutDTOFromJSONTyped, SubscriptionOutDTOToJSON, SubscriptionOutDTOToJSONTyped, SubscriptionStatus, SubscriptionStatusFromJSON, SubscriptionStatusFromJSONTyped, SubscriptionStatusToJSON, SubscriptionStatusToJSONTyped, SubscriptionsApi, SupportLevel, SupportLevelFromJSON, SupportLevelFromJSONTyped, SupportLevelToJSON, SupportLevelToJSONTyped, type TOSOutDTO, TOSOutDTOFromJSON, TOSOutDTOFromJSONTyped, TOSOutDTOToJSON, TOSOutDTOToJSONTyped, type TableDefinitionDTOInput, TableDefinitionDTOInputFromJSON, TableDefinitionDTOInputFromJSONTyped, TableDefinitionDTOInputToJSON, TableDefinitionDTOInputToJSONTyped, type TagDocumentByUserRequest, type TagDocumentRequest, type TagFileBodyDTO, TagFileBodyDTOFromJSON, TagFileBodyDTOFromJSONTyped, TagFileBodyDTOToJSON, TagFileBodyDTOToJSONTyped, type TagFileRequest, type TagUrlInDTO, TagUrlInDTOFromJSON, TagUrlInDTOFromJSONTyped, TagUrlInDTOToJSON, TagUrlInDTOToJSONTyped, type TagUrlRequest, type TemplateListOutDTO, TemplateListOutDTOFromJSON, TemplateListOutDTOFromJSONTyped, TemplateListOutDTOToJSON, TemplateListOutDTOToJSONTyped, type TemplateOutDTO, TemplateOutDTOFromJSON, TemplateOutDTOFromJSONTyped, TemplateOutDTOToJSON, TemplateOutDTOToJSONTyped, type TemplateSchemaDTOInput, TemplateSchemaDTOInputFromJSON, TemplateSchemaDTOInputFromJSONTyped, TemplateSchemaDTOInputToJSON, TemplateSchemaDTOInputToJSONTyped, type TemplateSchemaDTOOutput, TemplateSchemaDTOOutputFromJSON, TemplateSchemaDTOOutputFromJSONTyped, TemplateSchemaDTOOutputToJSON, TemplateSchemaDTOOutputToJSONTyped, TemplateStatusModel, TemplateStatusModelFromJSON, TemplateStatusModelFromJSONTyped, TemplateStatusModelToJSON, TemplateStatusModelToJSONTyped, TemplatesApi, TextApiResponse, type TopUpPackListOutDTO, TopUpPackListOutDTOFromJSON, TopUpPackListOutDTOFromJSONTyped, TopUpPackListOutDTOToJSON, TopUpPackListOutDTOToJSONTyped, type TopUpPackOutDTO, TopUpPackOutDTOFromJSON, TopUpPackOutDTOFromJSONTyped, TopUpPackOutDTOToJSON, TopUpPackOutDTOToJSONTyped, type TopUpPurchaseInDTO, TopUpPurchaseInDTOFromJSON, TopUpPurchaseInDTOFromJSONTyped, TopUpPurchaseInDTOToJSON, TopUpPurchaseInDTOToJSONTyped, type TopUpPurchaseOutDTO, TopUpPurchaseOutDTOFromJSON, TopUpPurchaseOutDTOFromJSONTyped, TopUpPurchaseOutDTOToJSON, TopUpPurchaseOutDTOToJSONTyped, type UpdateTemplateInDTO, UpdateTemplateInDTOFromJSON, UpdateTemplateInDTOFromJSONTyped, UpdateTemplateInDTOToJSON, UpdateTemplateInDTOToJSONTyped, type UpdateTemplateRequest, type UploadDocumentByUserRequest, type UploadDocumentRequest, UploadExtractionTypeEnum, UploadExtractionTypeEnumFromJSON, UploadExtractionTypeEnumFromJSONTyped, UploadExtractionTypeEnumToJSON, UploadExtractionTypeEnumToJSONTyped, type UploadWebDocumentRequest, type UsageBreakdownListOutDTO, UsageBreakdownListOutDTOFromJSON, UsageBreakdownListOutDTOFromJSONTyped, UsageBreakdownListOutDTOToJSON, UsageBreakdownListOutDTOToJSONTyped, type UsageBreakdownOutDTO, UsageBreakdownOutDTOFromJSON, UsageBreakdownOutDTOFromJSONTyped, UsageBreakdownOutDTOToJSON, UsageBreakdownOutDTOToJSONTyped, type UsageLineItemOutDTO, UsageLineItemOutDTOFromJSON, UsageLineItemOutDTOFromJSONTyped, UsageLineItemOutDTOToJSON, UsageLineItemOutDTOToJSONTyped, type UsageSummaryOutDTO, UsageSummaryOutDTOFromJSON, UsageSummaryOutDTOFromJSONTyped, UsageSummaryOutDTOToJSON, UsageSummaryOutDTOToJSONTyped, VERSION, type ValidateDocumentExtractionRequest, type ValidationColumnModel, ValidationColumnModelFromJSON, ValidationColumnModelFromJSONTyped, ValidationColumnModelToJSON, ValidationColumnModelToJSONTyped, ValidationColumnModelTypeEnum, type ValidationError, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, type ValidationFieldModel, ValidationFieldModelFromJSON, ValidationFieldModelFromJSONTyped, ValidationFieldModelToJSON, ValidationFieldModelToJSONTyped, ValidationFieldModelTypeEnum, type ValidationSchemaModel, ValidationSchemaModelFromJSON, ValidationSchemaModelFromJSONTyped, ValidationSchemaModelToJSON, ValidationSchemaModelToJSONTyped, type Value, type ValueAnyOfInner, ValueAnyOfInnerFromJSON, ValueAnyOfInnerFromJSONTyped, ValueAnyOfInnerToJSON, ValueAnyOfInnerToJSONTyped, ValueFromJSON, ValueFromJSONTyped, ValueToJSON, ValueToJSONTyped, type ValuesValue, ValuesValueFromJSON, ValuesValueFromJSONTyped, ValuesValueToJSON, ValuesValueToJSONTyped, type VerifiedDiffEntryOutDTO, VerifiedDiffEntryOutDTOFromJSON, VerifiedDiffEntryOutDTOFromJSONTyped, VerifiedDiffEntryOutDTOStatusEnum, VerifiedDiffEntryOutDTOToJSON, VerifiedDiffEntryOutDTOToJSONTyped, type ViewMetaOutDTO, ViewMetaOutDTOFromJSON, ViewMetaOutDTOFromJSONTyped, ViewMetaOutDTOToJSON, ViewMetaOutDTOToJSONTyped, VoidApiResponse, type VolumeDiscountTierOutDTO, VolumeDiscountTierOutDTOFromJSON, VolumeDiscountTierOutDTOFromJSONTyped, VolumeDiscountTierOutDTOToJSON, VolumeDiscountTierOutDTOToJSONTyped, type WebDocumentUploadInDTO, WebDocumentUploadInDTOFromJSON, WebDocumentUploadInDTOFromJSONTyped, WebDocumentUploadInDTOToJSON, WebDocumentUploadInDTOToJSONTyped, type WebhookResponseDTO, WebhookResponseDTOFromJSON, WebhookResponseDTOFromJSONTyped, WebhookResponseDTOToJSON, WebhookResponseDTOToJSONTyped, canConsumeForm, exists, instanceOfAddExtractionsInDTO, instanceOfAggregateMetaDTO, instanceOfAggregateMetricDTO, instanceOfAggregateRowDTO, instanceOfChatMessageOutDTO, instanceOfChatQueryInDTO, instanceOfChatQueryOutDTO, instanceOfChatSessionListOutDTO, instanceOfChatSessionOutDTO, instanceOfChatTranscriptOutDTO, instanceOfCheckoutOutDTO, instanceOfColumnDefinitionDTO, instanceOfComparisonSummaryModel, instanceOfContactFormInDTO, instanceOfContractOutDTO, instanceOfContractStatus, instanceOfCountBreakdownModel, instanceOfCreateTemplateInDTO, instanceOfCreditMeter, instanceOfCreditMeterFilter, instanceOfCreditTransactionListOutDTO, instanceOfCreditTransactionOutDTO, instanceOfCreditTransactionType, instanceOfDataCenterRegionModel, instanceOfDataRetentionPeriodModel, instanceOfDocumentAddExtractionsMetaOutDTO, instanceOfDocumentAddExtractionsOutDTO, instanceOfDocumentDataOutDTO, instanceOfDocumentFileTypeModel, instanceOfDocumentMetaOutDTO, instanceOfDocumentPrimaryViewOutDTO, instanceOfDocumentProcessingMetaOutDTO, instanceOfDocumentProcessingResultOutDTO, instanceOfDocumentPurgingResultOutDTO, instanceOfDocumentViewDataOutDTO, instanceOfDocumentViewMetaOutDTO, instanceOfDocumentViewOutDTO, instanceOfDocumentsViewOutDTO, instanceOfEnterpriseTransactionListOutDTO, instanceOfEnterpriseTransactionOutDTO, instanceOfExtractionCostOutDTO, instanceOfExtractionCostOutResultDTO, instanceOfExtractionCostStateModel, instanceOfExtractionCostsDataOutDTO, instanceOfExtractionCostsOutDTO, instanceOfExtractionDocumentViewMetaOutDTO, instanceOfExtractionMetaOutDTO, instanceOfExtractionPrimaryViewOutDTO, instanceOfExtractionProcessingResultOutDTO, instanceOfExtractionTypeModel, instanceOfExtractionValidationInDTO, instanceOfExtractionValidationMetaOutDTO, instanceOfExtractionValidationResultOutDTO, instanceOfExtractionViewDataOutDTO, instanceOfExtractionViewMetaOutDTO, instanceOfExtractionViewOutDTO, instanceOfExtractionsViewOutDTO, instanceOfFeatureType, instanceOfFieldDefinitionDTO, instanceOfFieldDifferenceModel, instanceOfFieldType, instanceOfFileTagBalanceOutDTO, instanceOfFileTagFilenamePatternsOutDTO, instanceOfFileTagMetadataOutDTO, instanceOfFileTagResultOutDTO, instanceOfFilesCreateUploadInDTO, instanceOfFilesNextToolCallOutDTO, instanceOfFilesUploadDetailsOutDTO, instanceOfFilesUploadInstructionsOutDTO, instanceOfFoundationDTO, instanceOfFoundationMetaDTO, instanceOfFreeTierConfigOutDTO, instanceOfGenerateTemplateFromUrlInDTO, instanceOfHTTPValidationError, instanceOfInvoiceListOutDTO, instanceOfInvoiceOutDTO, instanceOfInvoicePdfOutDTO, instanceOfInvoiceStatus, instanceOfInvoiceType, instanceOfLocationInner, instanceOfMatchedChunkDTO, instanceOfModelType, instanceOfNextActionOutDTO, instanceOfNumberOfStoredDocumentsOutDTO, instanceOfOperationType, instanceOfPaymentMethodUpdateOutDTO, instanceOfPeriodPresetModel, instanceOfPlanCreditCostOutDTO, instanceOfPlanDetailOutDTO, instanceOfPlanListOutDTO, instanceOfPlanOutDTO, instanceOfPurgeReasonModel, instanceOfPurgedDocumentsDataOutDTO, instanceOfQueryMetaDTO, instanceOfQueryResultItemDTO, instanceOfRateCardOutDTO, instanceOfResponseChangePlan, instanceOfResponseStatus, instanceOfRetrievalAggregateInDTO, instanceOfRetrievalAggregateOutDTO, instanceOfRetrievalFieldItemDTO, instanceOfRetrievalFieldsOutDTO, instanceOfRetrievalFiltersDTO, instanceOfRetrievalQueryInDTO, instanceOfRetrievalQueryOutDTO, instanceOfRetrievalStatusOutDTO, instanceOfRowMutableTableModel, instanceOfRowSourcesModel, instanceOfSessionTokenInDTO, instanceOfSessionTokenOutDTO, instanceOfSortMethodModel, instanceOfSpendLimitOutDTO, instanceOfSpendLimitUpdateInDTO, instanceOfStorageUsageOutDTO, instanceOfStructuredFilterDTO, instanceOfSubscribeInDTO, instanceOfSubscriptionOutDTO, instanceOfSubscriptionStatus, instanceOfSupportLevel, instanceOfTOSOutDTO, instanceOfTableDefinitionDTOInput, instanceOfTagFileBodyDTO, instanceOfTagUrlInDTO, instanceOfTemplateListOutDTO, instanceOfTemplateOutDTO, instanceOfTemplateSchemaDTOInput, instanceOfTemplateSchemaDTOOutput, instanceOfTemplateStatusModel, instanceOfTopUpPackListOutDTO, instanceOfTopUpPackOutDTO, instanceOfTopUpPurchaseInDTO, instanceOfTopUpPurchaseOutDTO, instanceOfUpdateTemplateInDTO, instanceOfUploadExtractionTypeEnum, instanceOfUsageBreakdownListOutDTO, instanceOfUsageBreakdownOutDTO, instanceOfUsageLineItemOutDTO, instanceOfUsageSummaryOutDTO, instanceOfValidationColumnModel, instanceOfValidationError, instanceOfValidationFieldModel, instanceOfValidationSchemaModel, instanceOfValue, instanceOfValueAnyOfInner, instanceOfValuesValue, instanceOfVerifiedDiffEntryOutDTO, instanceOfViewMetaOutDTO, instanceOfVolumeDiscountTierOutDTO, instanceOfWebDocumentUploadInDTO, instanceOfWebhookResponseDTO, mapValues, querystring };