@gemina/sdk 0.1.2 → 0.2.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.cts CHANGED
@@ -579,6 +579,12 @@ interface ChatQueryInDTO {
579
579
  * @memberof ChatQueryInDTO
580
580
  */
581
581
  message: string;
582
+ /**
583
+ * Continue an existing conversation. Omit to start a new one; the response returns the sessionId to send on follow-up turns.
584
+ * @type {string}
585
+ * @memberof ChatQueryInDTO
586
+ */
587
+ sessionId?: string | null;
582
588
  }
583
589
  /**
584
590
  * Check if a given object implements the ChatQueryInDTO interface.
@@ -654,6 +660,12 @@ interface ChatQueryOutDTO {
654
660
  * @memberof ChatQueryOutDTO
655
661
  */
656
662
  servedAtTimestamp?: number;
663
+ /**
664
+ * Conversation id — send back to continue this chat
665
+ * @type {string}
666
+ * @memberof ChatQueryOutDTO
667
+ */
668
+ sessionId: string;
657
669
  }
658
670
  /**
659
671
  * Check if a given object implements the ChatQueryOutDTO interface.
@@ -679,6 +691,9 @@ declare function ChatQueryOutDTOToJSONTyped(value?: ChatQueryOutDTO | null, igno
679
691
  interface ChatQueryRequest {
680
692
  chatQueryInDTO: ChatQueryInDTO;
681
693
  }
694
+ interface DeleteChatSessionRequest {
695
+ sessionId: string;
696
+ }
682
697
  /**
683
698
  *
684
699
  */
@@ -688,15 +703,29 @@ declare class ChatApi extends BaseAPI {
688
703
  */
689
704
  chatQueryRequestOpts(requestParameters: ChatQueryRequest): Promise<RequestOpts>;
690
705
  /**
691
- * Ask a natural-language question about the tenant\'s indexed documents. Returns a grounded answer with documentId citations; ``confident=false`` means the underlying data could not support a reliable answer.
706
+ * Ask a natural-language question about the tenant\'s indexed documents. Returns a grounded answer with documentId citations; ``confident=false`` means the underlying data could not support a reliable answer. Send back the returned ``sessionId`` to continue the conversation; omit it to start a new one.
692
707
  * Chat Query
693
708
  */
694
709
  chatQueryRaw(requestParameters: ChatQueryRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ChatQueryOutDTO>>;
695
710
  /**
696
- * Ask a natural-language question about the tenant\'s indexed documents. Returns a grounded answer with documentId citations; ``confident=false`` means the underlying data could not support a reliable answer.
711
+ * Ask a natural-language question about the tenant\'s indexed documents. Returns a grounded answer with documentId citations; ``confident=false`` means the underlying data could not support a reliable answer. Send back the returned ``sessionId`` to continue the conversation; omit it to start a new one.
697
712
  * Chat Query
698
713
  */
699
714
  chatQuery(requestParameters: ChatQueryRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ChatQueryOutDTO>;
715
+ /**
716
+ * Creates request options for deleteChatSession without sending the request
717
+ */
718
+ deleteChatSessionRequestOpts(requestParameters: DeleteChatSessionRequest): Promise<RequestOpts>;
719
+ /**
720
+ * End a conversation explicitly (\'new chat\' hygiene). 404 for unknown, expired, or foreign sessions alike — ids can\'t be probed.
721
+ * Delete Chat Session
722
+ */
723
+ deleteChatSessionRaw(requestParameters: DeleteChatSessionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
724
+ /**
725
+ * End a conversation explicitly (\'new chat\' hygiene). 404 for unknown, expired, or foreign sessions alike — ids can\'t be probed.
726
+ * Delete Chat Session
727
+ */
728
+ deleteChatSession(requestParameters: DeleteChatSessionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
700
729
  }
701
730
 
702
731
  /**
@@ -4066,6 +4095,18 @@ interface ContractOutDTO {
4066
4095
  * @memberof ContractOutDTO
4067
4096
  */
4068
4097
  billingCycleDay: number;
4098
+ /**
4099
+ *
4100
+ * @type {number}
4101
+ * @memberof ContractOutDTO
4102
+ */
4103
+ chatIncludedPerCycle?: number;
4104
+ /**
4105
+ *
4106
+ * @type {string}
4107
+ * @memberof ContractOutDTO
4108
+ */
4109
+ chatPriceCents?: string;
4069
4110
  /**
4070
4111
  *
4071
4112
  * @type {string}
@@ -4084,12 +4125,24 @@ interface ContractOutDTO {
4084
4125
  * @memberof ContractOutDTO
4085
4126
  */
4086
4127
  createdAtTimestamp?: number | null;
4128
+ /**
4129
+ *
4130
+ * @type {boolean}
4131
+ * @memberof ContractOutDTO
4132
+ */
4133
+ documentIntelligenceEnabled?: boolean;
4087
4134
  /**
4088
4135
  *
4089
4136
  * @type {string}
4090
4137
  * @memberof ContractOutDTO
4091
4138
  */
4092
4139
  id: string;
4140
+ /**
4141
+ *
4142
+ * @type {string}
4143
+ * @memberof ContractOutDTO
4144
+ */
4145
+ indexPriceCents?: string;
4093
4146
  /**
4094
4147
  *
4095
4148
  * @type {number}
@@ -4126,12 +4179,30 @@ interface ContractOutDTO {
4126
4179
  * @memberof ContractOutDTO
4127
4180
  */
4128
4181
  requiresManualApproval: boolean;
4182
+ /**
4183
+ *
4184
+ * @type {number}
4185
+ * @memberof ContractOutDTO
4186
+ */
4187
+ retrievalRateLimitPerSecond?: number;
4129
4188
  /**
4130
4189
  *
4131
4190
  * @type {ContractStatus}
4132
4191
  * @memberof ContractOutDTO
4133
4192
  */
4134
4193
  status: ContractStatus;
4194
+ /**
4195
+ *
4196
+ * @type {string}
4197
+ * @memberof ContractOutDTO
4198
+ */
4199
+ storageIncludedGb?: string;
4200
+ /**
4201
+ *
4202
+ * @type {string}
4203
+ * @memberof ContractOutDTO
4204
+ */
4205
+ storagePricePerGbMonthCents?: string;
4135
4206
  /**
4136
4207
  *
4137
4208
  * @type {string}
@@ -6212,6 +6283,200 @@ declare function RetrievalAggregateOutDTOFromJSONTyped(json: any, ignoreDiscrimi
6212
6283
  declare function RetrievalAggregateOutDTOToJSON(json: any): RetrievalAggregateOutDTO;
6213
6284
  declare function RetrievalAggregateOutDTOToJSONTyped(value?: RetrievalAggregateOutDTO | null, ignoreDiscriminator?: boolean): any;
6214
6285
 
6286
+ /**
6287
+ * Gemina API
6288
+ * 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
6289
+ *
6290
+ * The version of the OpenAPI document: 1.0.0
6291
+ *
6292
+ *
6293
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6294
+ * https://openapi-generator.tech
6295
+ * Do not edit the class manually.
6296
+ */
6297
+ /**
6298
+ *
6299
+ * @export
6300
+ * @interface RetrievalFieldItemDTO
6301
+ */
6302
+ interface RetrievalFieldItemDTO {
6303
+ /**
6304
+ * documents in which this field appears
6305
+ * @type {number}
6306
+ * @memberof RetrievalFieldItemDTO
6307
+ */
6308
+ count?: number;
6309
+ /**
6310
+ *
6311
+ * @type {string}
6312
+ * @memberof RetrievalFieldItemDTO
6313
+ */
6314
+ documentType?: string | null;
6315
+ /**
6316
+ *
6317
+ * @type {string}
6318
+ * @memberof RetrievalFieldItemDTO
6319
+ */
6320
+ field: string;
6321
+ }
6322
+ /**
6323
+ * Check if a given object implements the RetrievalFieldItemDTO interface.
6324
+ */
6325
+ declare function instanceOfRetrievalFieldItemDTO(value: object): value is RetrievalFieldItemDTO;
6326
+ declare function RetrievalFieldItemDTOFromJSON(json: any): RetrievalFieldItemDTO;
6327
+ declare function RetrievalFieldItemDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RetrievalFieldItemDTO;
6328
+ declare function RetrievalFieldItemDTOToJSON(json: any): RetrievalFieldItemDTO;
6329
+ declare function RetrievalFieldItemDTOToJSONTyped(value?: RetrievalFieldItemDTO | null, ignoreDiscriminator?: boolean): any;
6330
+
6331
+ /**
6332
+ * Gemina API
6333
+ * 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
6334
+ *
6335
+ * The version of the OpenAPI document: 1.0.0
6336
+ *
6337
+ *
6338
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6339
+ * https://openapi-generator.tech
6340
+ * Do not edit the class manually.
6341
+ */
6342
+
6343
+ /**
6344
+ * Observed structured field NAMES per document type (self-query catalog).
6345
+ *
6346
+ * Names only — never values. Same envelope (servedAt) as the sibling
6347
+ * retrieval endpoints.
6348
+ * @export
6349
+ * @interface RetrievalFieldsOutDTO
6350
+ */
6351
+ interface RetrievalFieldsOutDTO {
6352
+ /**
6353
+ *
6354
+ * @type {Date}
6355
+ * @memberof RetrievalFieldsOutDTO
6356
+ */
6357
+ createdAt?: Date | null;
6358
+ /**
6359
+ *
6360
+ * @type {number}
6361
+ * @memberof RetrievalFieldsOutDTO
6362
+ */
6363
+ createdAtTimestamp?: number | null;
6364
+ /**
6365
+ *
6366
+ * @type {Array<RetrievalFieldItemDTO>}
6367
+ * @memberof RetrievalFieldsOutDTO
6368
+ */
6369
+ fields?: Array<RetrievalFieldItemDTO>;
6370
+ /**
6371
+ *
6372
+ * @type {Date}
6373
+ * @memberof RetrievalFieldsOutDTO
6374
+ */
6375
+ servedAt?: Date;
6376
+ /**
6377
+ *
6378
+ * @type {number}
6379
+ * @memberof RetrievalFieldsOutDTO
6380
+ */
6381
+ servedAtTimestamp?: number;
6382
+ }
6383
+ /**
6384
+ * Check if a given object implements the RetrievalFieldsOutDTO interface.
6385
+ */
6386
+ declare function instanceOfRetrievalFieldsOutDTO(value: object): value is RetrievalFieldsOutDTO;
6387
+ declare function RetrievalFieldsOutDTOFromJSON(json: any): RetrievalFieldsOutDTO;
6388
+ declare function RetrievalFieldsOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RetrievalFieldsOutDTO;
6389
+ declare function RetrievalFieldsOutDTOToJSON(json: any): RetrievalFieldsOutDTO;
6390
+ declare function RetrievalFieldsOutDTOToJSONTyped(value?: RetrievalFieldsOutDTO | null, ignoreDiscriminator?: boolean): any;
6391
+
6392
+ /**
6393
+ * Gemina API
6394
+ * 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
6395
+ *
6396
+ * The version of the OpenAPI document: 1.0.0
6397
+ *
6398
+ *
6399
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6400
+ * https://openapi-generator.tech
6401
+ * Do not edit the class manually.
6402
+ */
6403
+ /**
6404
+ *
6405
+ * @export
6406
+ * @interface Value
6407
+ */
6408
+ interface Value {
6409
+ }
6410
+ /**
6411
+ * Check if a given object implements the Value interface.
6412
+ */
6413
+ declare function instanceOfValue(value: object): value is Value;
6414
+ declare function ValueFromJSON(json: any): Value;
6415
+ declare function ValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): Value;
6416
+ declare function ValueToJSON(json: any): Value;
6417
+ declare function ValueToJSONTyped(value?: Value | null, ignoreDiscriminator?: boolean): any;
6418
+
6419
+ /**
6420
+ * Gemina API
6421
+ * 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
6422
+ *
6423
+ * The version of the OpenAPI document: 1.0.0
6424
+ *
6425
+ *
6426
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6427
+ * https://openapi-generator.tech
6428
+ * Do not edit the class manually.
6429
+ */
6430
+
6431
+ /**
6432
+ * One self-query condition over the ``structured`` JSONB (design §5, D6).
6433
+ *
6434
+ * Deliberately narrow: TOP-LEVEL snake_case keys only, a closed op set,
6435
+ * values compiled to bind parameters — the model never writes SQL.
6436
+ * @export
6437
+ * @interface StructuredFilterDTO
6438
+ */
6439
+ interface StructuredFilterDTO {
6440
+ /**
6441
+ *
6442
+ * @type {StructuredFilterDTOOpEnum}
6443
+ * @memberof StructuredFilterDTO
6444
+ */
6445
+ op: StructuredFilterDTOOpEnum;
6446
+ /**
6447
+ *
6448
+ * @type {string}
6449
+ * @memberof StructuredFilterDTO
6450
+ */
6451
+ path: string;
6452
+ /**
6453
+ *
6454
+ * @type {Value}
6455
+ * @memberof StructuredFilterDTO
6456
+ */
6457
+ value?: Value | null;
6458
+ }
6459
+ /**
6460
+ * @export
6461
+ */
6462
+ declare const StructuredFilterDTOOpEnum: {
6463
+ readonly Eq: "eq";
6464
+ readonly Neq: "neq";
6465
+ readonly Gt: "gt";
6466
+ readonly Lt: "lt";
6467
+ readonly Contains: "contains";
6468
+ readonly Exists: "exists";
6469
+ };
6470
+ type StructuredFilterDTOOpEnum = typeof StructuredFilterDTOOpEnum[keyof typeof StructuredFilterDTOOpEnum];
6471
+ /**
6472
+ * Check if a given object implements the StructuredFilterDTO interface.
6473
+ */
6474
+ declare function instanceOfStructuredFilterDTO(value: object): value is StructuredFilterDTO;
6475
+ declare function StructuredFilterDTOFromJSON(json: any): StructuredFilterDTO;
6476
+ declare function StructuredFilterDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): StructuredFilterDTO;
6477
+ declare function StructuredFilterDTOToJSON(json: any): StructuredFilterDTO;
6478
+ declare function StructuredFilterDTOToJSONTyped(value?: StructuredFilterDTO | null, ignoreDiscriminator?: boolean): any;
6479
+
6215
6480
  /**
6216
6481
  * Gemina API
6217
6482
  * 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
@@ -6266,6 +6531,12 @@ interface RetrievalQueryInDTO {
6266
6531
  * @memberof RetrievalQueryInDTO
6267
6532
  */
6268
6533
  sortMethod?: RetrievalQueryInDTOSortMethodEnum;
6534
+ /**
6535
+ * Self-query conditions over any structured field (whitelisted ops)
6536
+ * @type {Array<StructuredFilterDTO>}
6537
+ * @memberof RetrievalQueryInDTO
6538
+ */
6539
+ structuredFilters?: Array<StructuredFilterDTO>;
6269
6540
  /**
6270
6541
  * Natural-language query (semantic/hybrid modes)
6271
6542
  * @type {string}
@@ -6378,6 +6649,52 @@ declare function QueryMetaDTOToJSONTyped(value?: QueryMetaDTO | null, ignoreDisc
6378
6649
  * https://openapi-generator.tech
6379
6650
  * Do not edit the class manually.
6380
6651
  */
6652
+ /**
6653
+ *
6654
+ * @export
6655
+ * @interface MatchedChunkDTO
6656
+ */
6657
+ interface MatchedChunkDTO {
6658
+ /**
6659
+ *
6660
+ * @type {string}
6661
+ * @memberof MatchedChunkDTO
6662
+ */
6663
+ chunkType?: string;
6664
+ /**
6665
+ *
6666
+ * @type {number}
6667
+ * @memberof MatchedChunkDTO
6668
+ */
6669
+ score?: number | null;
6670
+ /**
6671
+ *
6672
+ * @type {string}
6673
+ * @memberof MatchedChunkDTO
6674
+ */
6675
+ text: string;
6676
+ }
6677
+ /**
6678
+ * Check if a given object implements the MatchedChunkDTO interface.
6679
+ */
6680
+ declare function instanceOfMatchedChunkDTO(value: object): value is MatchedChunkDTO;
6681
+ declare function MatchedChunkDTOFromJSON(json: any): MatchedChunkDTO;
6682
+ declare function MatchedChunkDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MatchedChunkDTO;
6683
+ declare function MatchedChunkDTOToJSON(json: any): MatchedChunkDTO;
6684
+ declare function MatchedChunkDTOToJSONTyped(value?: MatchedChunkDTO | null, ignoreDiscriminator?: boolean): any;
6685
+
6686
+ /**
6687
+ * Gemina API
6688
+ * 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
6689
+ *
6690
+ * The version of the OpenAPI document: 1.0.0
6691
+ *
6692
+ *
6693
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6694
+ * https://openapi-generator.tech
6695
+ * Do not edit the class manually.
6696
+ */
6697
+
6381
6698
  /**
6382
6699
  *
6383
6700
  * @export
@@ -6450,6 +6767,12 @@ interface QueryResultItemDTO {
6450
6767
  * @memberof QueryResultItemDTO
6451
6768
  */
6452
6769
  issueDate?: Date | null;
6770
+ /**
6771
+ * Line-item/section snippets that matched the query (chunk search)
6772
+ * @type {Array<MatchedChunkDTO>}
6773
+ * @memberof QueryResultItemDTO
6774
+ */
6775
+ matchedChunks?: Array<MatchedChunkDTO>;
6453
6776
  /**
6454
6777
  *
6455
6778
  * @type {number}
@@ -6667,6 +6990,20 @@ declare class RetrievalApi extends BaseAPI {
6667
6990
  * Retrieval Aggregate
6668
6991
  */
6669
6992
  retrievalAggregate(requestParameters: RetrievalAggregateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<RetrievalAggregateOutDTO>;
6993
+ /**
6994
+ * Creates request options for retrievalFields without sending the request
6995
+ */
6996
+ retrievalFieldsRequestOpts(): Promise<RequestOpts>;
6997
+ /**
6998
+ * Observed structured field NAMES per document type (self-query catalog). Names only — no values; tenant-scoped like every retrieval path.
6999
+ * Retrieval Fields
7000
+ */
7001
+ retrievalFieldsRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<RetrievalFieldsOutDTO>>;
7002
+ /**
7003
+ * Observed structured field NAMES per document type (self-query catalog). Names only — no values; tenant-scoped like every retrieval path.
7004
+ * Retrieval Fields
7005
+ */
7006
+ retrievalFields(initOverrides?: RequestInit | InitOverrideFunction): Promise<RetrievalFieldsOutDTO>;
6670
7007
  /**
6671
7008
  * Creates request options for retrievalQuery without sending the request
6672
7009
  */
@@ -6686,12 +7023,12 @@ declare class RetrievalApi extends BaseAPI {
6686
7023
  */
6687
7024
  retrievalStatusRequestOpts(): Promise<RequestOpts>;
6688
7025
  /**
6689
- * How many of the tenant\'s documents are currently indexed.
7026
+ * How many of the tenant\'s documents are currently indexed. Same dual auth as /query: X-API-Key OR a Bearer retrieval token — but only an *unpinned* (whole-account) token is accepted. An end-user-pinned token gets 403: the account-wide index size must not leak into a single end-user\'s browser session.
6690
7027
  * Retrieval Status
6691
7028
  */
6692
7029
  retrievalStatusRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<RetrievalStatusOutDTO>>;
6693
7030
  /**
6694
- * How many of the tenant\'s documents are currently indexed.
7031
+ * How many of the tenant\'s documents are currently indexed. Same dual auth as /query: X-API-Key OR a Bearer retrieval token — but only an *unpinned* (whole-account) token is accepted. An end-user-pinned token gets 403: the account-wide index size must not leak into a single end-user\'s browser session.
6695
7032
  * Retrieval Status
6696
7033
  */
6697
7034
  retrievalStatus(initOverrides?: RequestInit | InitOverrideFunction): Promise<RetrievalStatusOutDTO>;
@@ -6826,6 +7163,9 @@ declare function SessionTokenOutDTOToJSONTyped(value?: SessionTokenOutDTO | null
6826
7163
  interface MintRetrievalTokenRequest {
6827
7164
  sessionTokenInDTO: SessionTokenInDTO;
6828
7165
  }
7166
+ interface MintRetrievalTokenUserRequest {
7167
+ sessionTokenInDTO: SessionTokenInDTO;
7168
+ }
6829
7169
  /**
6830
7170
  *
6831
7171
  */
@@ -6844,6 +7184,20 @@ declare class SessionsApi extends BaseAPI {
6844
7184
  * Mint Retrieval Token
6845
7185
  */
6846
7186
  mintRetrievalToken(requestParameters: MintRetrievalTokenRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SessionTokenOutDTO>;
7187
+ /**
7188
+ * Creates request options for mintRetrievalTokenUser without sending the request
7189
+ */
7190
+ mintRetrievalTokenUserRequestOpts(requestParameters: MintRetrievalTokenUserRequest): Promise<RequestOpts>;
7191
+ /**
7192
+ * Browser-safe variant of ``POST /v1/sessions/token`` for logged-in users. Authenticates with the caller\'s JWT (``Authorization: Bearer <jwt>``) and treats the ``X-API-Key`` header as the *UUID id* of one of the user\'s API keys — NOT the raw secret. Ownership is verified server-side (``APIKeyModel.id == header AND user_id == jwt``), so the raw secret never leaves the server. Mirrors ``POST /v1/filetag/user``. Deliberately, the key\'s IP allowlist is NOT enforced on this path: the console runs from arbitrary user IPs, and JWT auth + server-side ownership is the control — the same accepted convention as ``/v1/filetag/user``. The minted token is identical to the server-to-server variant: signed, query-only, TTL-clamped, tenant pinned from the key.
7193
+ * Mint Retrieval Token User
7194
+ */
7195
+ mintRetrievalTokenUserRaw(requestParameters: MintRetrievalTokenUserRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<SessionTokenOutDTO>>;
7196
+ /**
7197
+ * Browser-safe variant of ``POST /v1/sessions/token`` for logged-in users. Authenticates with the caller\'s JWT (``Authorization: Bearer <jwt>``) and treats the ``X-API-Key`` header as the *UUID id* of one of the user\'s API keys — NOT the raw secret. Ownership is verified server-side (``APIKeyModel.id == header AND user_id == jwt``), so the raw secret never leaves the server. Mirrors ``POST /v1/filetag/user``. Deliberately, the key\'s IP allowlist is NOT enforced on this path: the console runs from arbitrary user IPs, and JWT auth + server-side ownership is the control — the same accepted convention as ``/v1/filetag/user``. The minted token is identical to the server-to-server variant: signed, query-only, TTL-clamped, tenant pinned from the key.
7198
+ * Mint Retrieval Token User
7199
+ */
7200
+ mintRetrievalTokenUser(requestParameters: MintRetrievalTokenUserRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SessionTokenOutDTO>;
6847
7201
  }
6848
7202
 
6849
7203
  /**
@@ -7101,6 +7455,12 @@ interface PlanDetailOutDTO {
7101
7455
  * @memberof PlanDetailOutDTO
7102
7456
  */
7103
7457
  bonusPercentage: number;
7458
+ /**
7459
+ *
7460
+ * @type {string}
7461
+ * @memberof PlanDetailOutDTO
7462
+ */
7463
+ chatCreditCost?: string;
7104
7464
  /**
7105
7465
  *
7106
7466
  * @type {number}
@@ -7161,6 +7521,12 @@ interface PlanDetailOutDTO {
7161
7521
  * @memberof PlanDetailOutDTO
7162
7522
  */
7163
7523
  id: string;
7524
+ /**
7525
+ *
7526
+ * @type {string}
7527
+ * @memberof PlanDetailOutDTO
7528
+ */
7529
+ indexCreditCost?: string;
7164
7530
  /**
7165
7531
  *
7166
7532
  * @type {boolean}
@@ -7233,6 +7599,12 @@ interface PlanDetailOutDTO {
7233
7599
  * @memberof PlanDetailOutDTO
7234
7600
  */
7235
7601
  storageCreditCostPerGbMonth?: string;
7602
+ /**
7603
+ *
7604
+ * @type {string}
7605
+ * @memberof PlanDetailOutDTO
7606
+ */
7607
+ storageIncludedGb?: string;
7236
7608
  /**
7237
7609
  *
7238
7610
  * @type {SupportLevel}
@@ -7279,6 +7651,12 @@ interface PlanOutDTO {
7279
7651
  * @memberof PlanOutDTO
7280
7652
  */
7281
7653
  bonusPercentage: number;
7654
+ /**
7655
+ *
7656
+ * @type {string}
7657
+ * @memberof PlanOutDTO
7658
+ */
7659
+ chatCreditCost?: string;
7282
7660
  /**
7283
7661
  *
7284
7662
  * @type {number}
@@ -7333,6 +7711,12 @@ interface PlanOutDTO {
7333
7711
  * @memberof PlanOutDTO
7334
7712
  */
7335
7713
  id: string;
7714
+ /**
7715
+ *
7716
+ * @type {string}
7717
+ * @memberof PlanOutDTO
7718
+ */
7719
+ indexCreditCost?: string;
7336
7720
  /**
7337
7721
  *
7338
7722
  * @type {boolean}
@@ -7405,6 +7789,12 @@ interface PlanOutDTO {
7405
7789
  * @memberof PlanOutDTO
7406
7790
  */
7407
7791
  storageCreditCostPerGbMonth?: string;
7792
+ /**
7793
+ *
7794
+ * @type {string}
7795
+ * @memberof PlanOutDTO
7796
+ */
7797
+ storageIncludedGb?: string;
7408
7798
  /**
7409
7799
  *
7410
7800
  * @type {SupportLevel}
@@ -7574,6 +7964,18 @@ interface ResponseChangePlan {
7574
7964
  * @memberof ResponseChangePlan
7575
7965
  */
7576
7966
  cancelScheduledAt?: Date;
7967
+ /**
7968
+ *
7969
+ * @type {string}
7970
+ * @memberof ResponseChangePlan
7971
+ */
7972
+ chatCreditCost?: string;
7973
+ /**
7974
+ *
7975
+ * @type {number}
7976
+ * @memberof ResponseChangePlan
7977
+ */
7978
+ chatIncludedPerCycle?: number;
7577
7979
  /**
7578
7980
  *
7579
7981
  * @type {string}
@@ -7604,6 +8006,12 @@ interface ResponseChangePlan {
7604
8006
  * @memberof ResponseChangePlan
7605
8007
  */
7606
8008
  dataResidencyEnabled: boolean;
8009
+ /**
8010
+ *
8011
+ * @type {boolean}
8012
+ * @memberof ResponseChangePlan
8013
+ */
8014
+ documentIntelligenceEnabled?: boolean;
7607
8015
  /**
7608
8016
  *
7609
8017
  * @type {boolean}
@@ -7616,6 +8024,12 @@ interface ResponseChangePlan {
7616
8024
  * @memberof ResponseChangePlan
7617
8025
  */
7618
8026
  id: string;
8027
+ /**
8028
+ *
8029
+ * @type {string}
8030
+ * @memberof ResponseChangePlan
8031
+ */
8032
+ indexCreditCost?: string;
7619
8033
  /**
7620
8034
  *
7621
8035
  * @type {boolean}
@@ -7664,12 +8078,30 @@ interface ResponseChangePlan {
7664
8078
  * @memberof ResponseChangePlan
7665
8079
  */
7666
8080
  priceSnapshotCents: number;
8081
+ /**
8082
+ *
8083
+ * @type {number}
8084
+ * @memberof ResponseChangePlan
8085
+ */
8086
+ retrievalRateLimitPerSecond?: number;
7667
8087
  /**
7668
8088
  *
7669
8089
  * @type {SubscriptionStatus}
7670
8090
  * @memberof ResponseChangePlan
7671
8091
  */
7672
8092
  status: SubscriptionStatus;
8093
+ /**
8094
+ *
8095
+ * @type {string}
8096
+ * @memberof ResponseChangePlan
8097
+ */
8098
+ storageCreditCostPerGbMonth?: string;
8099
+ /**
8100
+ *
8101
+ * @type {string}
8102
+ * @memberof ResponseChangePlan
8103
+ */
8104
+ storageIncludedGb?: string;
7673
8105
  /**
7674
8106
  *
7675
8107
  * @type {SupportLevel}
@@ -7704,6 +8136,107 @@ declare function ResponseChangePlanFromJSONTyped(json: any, ignoreDiscriminator:
7704
8136
  declare function ResponseChangePlanToJSON(json: any): ResponseChangePlan;
7705
8137
  declare function ResponseChangePlanToJSONTyped(value?: ResponseChangePlan | null, ignoreDiscriminator?: boolean): any;
7706
8138
 
8139
+ /**
8140
+ * Gemina API
8141
+ * 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
8142
+ *
8143
+ * The version of the OpenAPI document: 1.0.0
8144
+ *
8145
+ *
8146
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8147
+ * https://openapi-generator.tech
8148
+ * Do not edit the class manually.
8149
+ */
8150
+ /**
8151
+ * Tenant storage usage (FileTag-excluded). ``billingMode`` is
8152
+ * credits | money | none; ``unit`` is credits | usd. ``ratePerGbMonth`` and
8153
+ * ``projectedCharge`` are 0 when storage is not billed (``none``).
8154
+ * @export
8155
+ * @interface StorageUsageOutDTO
8156
+ */
8157
+ interface StorageUsageOutDTO {
8158
+ /**
8159
+ *
8160
+ * @type {string}
8161
+ * @memberof StorageUsageOutDTO
8162
+ */
8163
+ billableGb: string;
8164
+ /**
8165
+ *
8166
+ * @type {string}
8167
+ * @memberof StorageUsageOutDTO
8168
+ */
8169
+ billingMode: string;
8170
+ /**
8171
+ *
8172
+ * @type {Date}
8173
+ * @memberof StorageUsageOutDTO
8174
+ */
8175
+ createdAt?: Date | null;
8176
+ /**
8177
+ *
8178
+ * @type {number}
8179
+ * @memberof StorageUsageOutDTO
8180
+ */
8181
+ createdAtTimestamp?: number | null;
8182
+ /**
8183
+ *
8184
+ * @type {string}
8185
+ * @memberof StorageUsageOutDTO
8186
+ */
8187
+ includedGb: string;
8188
+ /**
8189
+ *
8190
+ * @type {string}
8191
+ * @memberof StorageUsageOutDTO
8192
+ */
8193
+ projectedCharge: string;
8194
+ /**
8195
+ *
8196
+ * @type {string}
8197
+ * @memberof StorageUsageOutDTO
8198
+ */
8199
+ ratePerGbMonth: string;
8200
+ /**
8201
+ *
8202
+ * @type {Date}
8203
+ * @memberof StorageUsageOutDTO
8204
+ */
8205
+ servedAt?: Date;
8206
+ /**
8207
+ *
8208
+ * @type {number}
8209
+ * @memberof StorageUsageOutDTO
8210
+ */
8211
+ servedAtTimestamp?: number;
8212
+ /**
8213
+ *
8214
+ * @type {number}
8215
+ * @memberof StorageUsageOutDTO
8216
+ */
8217
+ storedBytes: number;
8218
+ /**
8219
+ *
8220
+ * @type {string}
8221
+ * @memberof StorageUsageOutDTO
8222
+ */
8223
+ storedGb: string;
8224
+ /**
8225
+ *
8226
+ * @type {string}
8227
+ * @memberof StorageUsageOutDTO
8228
+ */
8229
+ unit: string;
8230
+ }
8231
+ /**
8232
+ * Check if a given object implements the StorageUsageOutDTO interface.
8233
+ */
8234
+ declare function instanceOfStorageUsageOutDTO(value: object): value is StorageUsageOutDTO;
8235
+ declare function StorageUsageOutDTOFromJSON(json: any): StorageUsageOutDTO;
8236
+ declare function StorageUsageOutDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageUsageOutDTO;
8237
+ declare function StorageUsageOutDTOToJSON(json: any): StorageUsageOutDTO;
8238
+ declare function StorageUsageOutDTOToJSONTyped(value?: StorageUsageOutDTO | null, ignoreDiscriminator?: boolean): any;
8239
+
7707
8240
  /**
7708
8241
  * Gemina API
7709
8242
  * 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
@@ -7761,6 +8294,18 @@ interface SubscriptionOutDTO {
7761
8294
  * @memberof SubscriptionOutDTO
7762
8295
  */
7763
8296
  cancelScheduledAt?: Date | null;
8297
+ /**
8298
+ *
8299
+ * @type {string}
8300
+ * @memberof SubscriptionOutDTO
8301
+ */
8302
+ chatCreditCost?: string;
8303
+ /**
8304
+ *
8305
+ * @type {number}
8306
+ * @memberof SubscriptionOutDTO
8307
+ */
8308
+ chatIncludedPerCycle?: number;
7764
8309
  /**
7765
8310
  *
7766
8311
  * @type {Date}
@@ -7803,6 +8348,12 @@ interface SubscriptionOutDTO {
7803
8348
  * @memberof SubscriptionOutDTO
7804
8349
  */
7805
8350
  dataResidencyEnabled: boolean;
8351
+ /**
8352
+ *
8353
+ * @type {boolean}
8354
+ * @memberof SubscriptionOutDTO
8355
+ */
8356
+ documentIntelligenceEnabled?: boolean;
7806
8357
  /**
7807
8358
  *
7808
8359
  * @type {boolean}
@@ -7815,6 +8366,12 @@ interface SubscriptionOutDTO {
7815
8366
  * @memberof SubscriptionOutDTO
7816
8367
  */
7817
8368
  id: string;
8369
+ /**
8370
+ *
8371
+ * @type {string}
8372
+ * @memberof SubscriptionOutDTO
8373
+ */
8374
+ indexCreditCost?: string;
7818
8375
  /**
7819
8376
  *
7820
8377
  * @type {boolean}
@@ -7863,12 +8420,30 @@ interface SubscriptionOutDTO {
7863
8420
  * @memberof SubscriptionOutDTO
7864
8421
  */
7865
8422
  priceSnapshotCents: number;
8423
+ /**
8424
+ *
8425
+ * @type {number}
8426
+ * @memberof SubscriptionOutDTO
8427
+ */
8428
+ retrievalRateLimitPerSecond?: number;
7866
8429
  /**
7867
8430
  *
7868
8431
  * @type {SubscriptionStatus}
7869
8432
  * @memberof SubscriptionOutDTO
7870
8433
  */
7871
8434
  status: SubscriptionStatus;
8435
+ /**
8436
+ *
8437
+ * @type {string}
8438
+ * @memberof SubscriptionOutDTO
8439
+ */
8440
+ storageCreditCostPerGbMonth?: string;
8441
+ /**
8442
+ *
8443
+ * @type {string}
8444
+ * @memberof SubscriptionOutDTO
8445
+ */
8446
+ storageIncludedGb?: string;
7872
8447
  /**
7873
8448
  *
7874
8449
  * @type {SupportLevel}
@@ -8345,6 +8920,18 @@ declare class SubscriptionsApi extends BaseAPI {
8345
8920
  * Get Credit Usage
8346
8921
  */
8347
8922
  getCreditUsage(initOverrides?: RequestInit | InitOverrideFunction): Promise<UsageBreakdownListOutDTO>;
8923
+ /**
8924
+ * Creates request options for getMyStorageUsage without sending the request
8925
+ */
8926
+ getMyStorageUsageRequestOpts(): Promise<RequestOpts>;
8927
+ /**
8928
+ * Get My Storage Usage
8929
+ */
8930
+ getMyStorageUsageRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<StorageUsageOutDTO>>;
8931
+ /**
8932
+ * Get My Storage Usage
8933
+ */
8934
+ getMyStorageUsage(initOverrides?: RequestInit | InitOverrideFunction): Promise<StorageUsageOutDTO>;
8348
8935
  /**
8349
8936
  * Creates request options for getMySubscription without sending the request
8350
8937
  */
@@ -9352,6 +9939,46 @@ interface ProcessDocumentOptions {
9352
9939
  /** Random source in [0, 1) for the jitter factor. Defaults to `Math.random`. */
9353
9940
  random?: () => number;
9354
9941
  }
9942
+ /** Options for {@link GeminaClient.conversation}. */
9943
+ interface ConversationOptions {
9944
+ /**
9945
+ * End-user id forwarded with each turn (API-key path only; on the
9946
+ * session-token path the token's signed scope wins server-side).
9947
+ */
9948
+ endUserId?: string;
9949
+ }
9950
+ /**
9951
+ * A stateful chat conversation that threads the server-issued `sessionId`
9952
+ * across turns, so follow-up questions keep context — you never touch the id.
9953
+ *
9954
+ * ```ts
9955
+ * const chat = client.conversation();
9956
+ * await chat.send("How much did I spend at Acme in Q1?");
9957
+ * await chat.send("And the biggest invoice?"); // remembers Acme / Q1
9958
+ * await chat.delete(); // end it server-side
9959
+ * ```
9960
+ *
9961
+ * A turn that carries a stale session (24h idle TTL, or after `reset`) fails
9962
+ * with the API's 404 `CHAT_SESSION_NOT_FOUND`; catch it, call `reset()`, and
9963
+ * resend to continue in a fresh conversation.
9964
+ */
9965
+ declare class GeminaChatConversation {
9966
+ private readonly chat;
9967
+ private readonly endUserId?;
9968
+ private currentSessionId;
9969
+ constructor(chat: ChatApi, endUserId?: string | undefined);
9970
+ /** The current conversation id — `undefined` before the first turn or after a reset. */
9971
+ get sessionId(): string | undefined;
9972
+ /** Send one turn; its answer continues this conversation. */
9973
+ send(message: string): Promise<ChatQueryOutDTO>;
9974
+ /** Forget the conversation locally; the next `send` starts a new one. */
9975
+ reset(): void;
9976
+ /**
9977
+ * End the conversation: delete it server-side (mirrors a "New chat" action)
9978
+ * and forget it locally. No-op if no turn has been sent yet.
9979
+ */
9980
+ delete(): Promise<void>;
9981
+ }
9355
9982
  /**
9356
9983
  * Convenience facade over the generated Gemina API client.
9357
9984
  *
@@ -9389,6 +10016,12 @@ declare class GeminaClient {
9389
10016
  get sessions(): SessionsApi;
9390
10017
  get subscriptions(): SubscriptionsApi;
9391
10018
  get billing(): BillingApi;
10019
+ /**
10020
+ * Start a stateful chat {@link GeminaChatConversation} that threads the
10021
+ * conversation `sessionId` across turns for you, so follow-up questions keep
10022
+ * context. The full one-shot surface stays on `client.chat`.
10023
+ */
10024
+ conversation(options?: ConversationOptions): GeminaChatConversation;
9392
10025
  /**
9393
10026
  * Submit a document via the async endpoints, poll with exponential
9394
10027
  * backoff until processing reaches a terminal status, and return the
@@ -9451,6 +10084,6 @@ declare class GeminaTimeoutError extends GeminaError {
9451
10084
  * client sends NO custom User-Agent header (browsers forbid overriding it).
9452
10085
  * VERSION is exported for consumers and diagnostics only.
9453
10086
  */
9454
- declare const VERSION = "0.1.2";
10087
+ declare const VERSION = "0.2.1";
9455
10088
 
9456
- 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 ChatQueryInDTO, ChatQueryInDTOFromJSON, ChatQueryInDTOFromJSONTyped, ChatQueryInDTOToJSON, ChatQueryInDTOToJSONTyped, type ChatQueryOutDTO, ChatQueryOutDTOFromJSON, ChatQueryOutDTOFromJSONTyped, ChatQueryOutDTOToJSON, ChatQueryOutDTOToJSONTyped, type ChatQueryRequest, type CheckoutOutDTO, CheckoutOutDTOFromJSON, CheckoutOutDTOFromJSONTyped, 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 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 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 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, FreeTierApi, type FreeTierConfigOutDTO, FreeTierConfigOutDTOFromJSON, FreeTierConfigOutDTOFromJSONTyped, FreeTierConfigOutDTOToJSON, FreeTierConfigOutDTOToJSONTyped, GeminaClient, type GeminaClientApis, type GeminaClientOptions, GeminaError, GeminaProcessingError, GeminaTimeoutError, type GenerateTemplateAsyncRequest, type GenerateTemplateFromUrlAsyncRequest, type GenerateTemplateFromUrlInDTO, GenerateTemplateFromUrlInDTOFromJSON, GenerateTemplateFromUrlInDTOFromJSONTyped, GenerateTemplateFromUrlInDTOToJSON, GenerateTemplateFromUrlInDTOToJSONTyped, type GenerateTemplateFromUrlRequest, type GenerateTemplateRequest, type GetCreditHistoryRequest, type GetDocumentByUserRequest, type GetDocumentExtractionByUserRequest, type GetDocumentExtractionRequest, type GetDocumentProcessingResultByCorrelationIdByUserRequest, type GetDocumentProcessingResultByCorrelationIdRequest, type GetDocumentRequest, 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 ListTemplatesByApiKeyRequest, type ListTemplatesRequest, type LocationInner, LocationInnerFromJSON, LocationInnerFromJSONTyped, LocationInnerToJSON, LocationInnerToJSONTyped, MetaApi, type Middleware, type MintRetrievalTokenRequest, 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 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 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 SessionTokenInDTO, SessionTokenInDTOFromJSON, SessionTokenInDTOFromJSONTyped, SessionTokenInDTOToJSON, SessionTokenInDTOToJSONTyped, type SessionTokenOutDTO, SessionTokenOutDTOFromJSON, SessionTokenOutDTOFromJSONTyped, SessionTokenOutDTOToJSON, SessionTokenOutDTOToJSONTyped, SessionsApi, SortMethodModel, SortMethodModelFromJSON, SortMethodModelFromJSONTyped, SortMethodModelToJSON, SortMethodModelToJSONTyped, 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, 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 ValidationError, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, type ValidationSchemaModel, ValidationSchemaModelFromJSON, ValidationSchemaModelFromJSONTyped, ValidationSchemaModelToJSON, ValidationSchemaModelToJSONTyped, type ValuesValue, ValuesValueFromJSON, ValuesValueFromJSONTyped, ValuesValueToJSON, ValuesValueToJSONTyped, 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, instanceOfChatQueryInDTO, instanceOfChatQueryOutDTO, 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, instanceOfExtractionDocumentViewMetaOutDTO, instanceOfExtractionMetaOutDTO, instanceOfExtractionPrimaryViewOutDTO, instanceOfExtractionProcessingResultOutDTO, instanceOfExtractionTypeModel, instanceOfExtractionValidationInDTO, instanceOfExtractionValidationMetaOutDTO, instanceOfExtractionValidationResultOutDTO, instanceOfExtractionViewDataOutDTO, instanceOfExtractionViewMetaOutDTO, instanceOfExtractionViewOutDTO, instanceOfExtractionsViewOutDTO, instanceOfFeatureType, instanceOfFieldDefinitionDTO, instanceOfFieldDifferenceModel, instanceOfFieldType, instanceOfFileTagBalanceOutDTO, instanceOfFileTagFilenamePatternsOutDTO, instanceOfFileTagMetadataOutDTO, instanceOfFileTagResultOutDTO, instanceOfFilesCreateUploadInDTO, instanceOfFilesNextToolCallOutDTO, instanceOfFilesUploadDetailsOutDTO, instanceOfFilesUploadInstructionsOutDTO, instanceOfFreeTierConfigOutDTO, instanceOfGenerateTemplateFromUrlInDTO, instanceOfHTTPValidationError, instanceOfInvoiceListOutDTO, instanceOfInvoiceOutDTO, instanceOfInvoicePdfOutDTO, instanceOfInvoiceStatus, instanceOfInvoiceType, instanceOfLocationInner, instanceOfModelType, instanceOfNextActionOutDTO, instanceOfNumberOfStoredDocumentsOutDTO, instanceOfOperationType, instanceOfPeriodPresetModel, instanceOfPlanCreditCostOutDTO, instanceOfPlanDetailOutDTO, instanceOfPlanListOutDTO, instanceOfPlanOutDTO, instanceOfPurgeReasonModel, instanceOfPurgedDocumentsDataOutDTO, instanceOfQueryMetaDTO, instanceOfQueryResultItemDTO, instanceOfRateCardOutDTO, instanceOfResponseChangePlan, instanceOfResponseStatus, instanceOfRetrievalAggregateInDTO, instanceOfRetrievalAggregateOutDTO, instanceOfRetrievalFiltersDTO, instanceOfRetrievalQueryInDTO, instanceOfRetrievalQueryOutDTO, instanceOfRetrievalStatusOutDTO, instanceOfSessionTokenInDTO, instanceOfSessionTokenOutDTO, instanceOfSortMethodModel, instanceOfSubscribeInDTO, instanceOfSubscriptionOutDTO, instanceOfSubscriptionStatus, instanceOfSupportLevel, instanceOfTOSOutDTO, instanceOfTableDefinitionDTOInput, instanceOfTagFileBodyDTO, instanceOfTagUrlInDTO, instanceOfTemplateListOutDTO, instanceOfTemplateOutDTO, instanceOfTemplateSchemaDTOInput, instanceOfTemplateSchemaDTOOutput, instanceOfTemplateStatusModel, instanceOfTopUpPackListOutDTO, instanceOfTopUpPackOutDTO, instanceOfTopUpPurchaseInDTO, instanceOfTopUpPurchaseOutDTO, instanceOfUpdateTemplateInDTO, instanceOfUsageBreakdownListOutDTO, instanceOfUsageBreakdownOutDTO, instanceOfUsageLineItemOutDTO, instanceOfUsageSummaryOutDTO, instanceOfValidationError, instanceOfValidationSchemaModel, instanceOfValuesValue, instanceOfViewMetaOutDTO, instanceOfVolumeDiscountTierOutDTO, instanceOfWebDocumentUploadInDTO, instanceOfWebhookResponseDTO, mapValues, querystring };
10089
+ 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 ChatQueryInDTO, ChatQueryInDTOFromJSON, ChatQueryInDTOFromJSONTyped, ChatQueryInDTOToJSON, ChatQueryInDTOToJSONTyped, type ChatQueryOutDTO, ChatQueryOutDTOFromJSON, ChatQueryOutDTOFromJSONTyped, ChatQueryOutDTOToJSON, ChatQueryOutDTOToJSONTyped, type ChatQueryRequest, type CheckoutOutDTO, CheckoutOutDTOFromJSON, CheckoutOutDTOFromJSONTyped, 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 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, 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 GetCreditHistoryRequest, type GetDocumentByUserRequest, type GetDocumentExtractionByUserRequest, type GetDocumentExtractionRequest, type GetDocumentProcessingResultByCorrelationIdByUserRequest, type GetDocumentProcessingResultByCorrelationIdRequest, type GetDocumentRequest, 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 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 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 SessionTokenInDTO, SessionTokenInDTOFromJSON, SessionTokenInDTOFromJSONTyped, SessionTokenInDTOToJSON, SessionTokenInDTOToJSONTyped, type SessionTokenOutDTO, SessionTokenOutDTOFromJSON, SessionTokenOutDTOFromJSONTyped, SessionTokenOutDTOToJSON, SessionTokenOutDTOToJSONTyped, SessionsApi, SortMethodModel, SortMethodModelFromJSON, SortMethodModelFromJSONTyped, SortMethodModelToJSON, SortMethodModelToJSONTyped, 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, 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 ValidationError, ValidationErrorFromJSON, ValidationErrorFromJSONTyped, ValidationErrorToJSON, ValidationErrorToJSONTyped, type ValidationSchemaModel, ValidationSchemaModelFromJSON, ValidationSchemaModelFromJSONTyped, ValidationSchemaModelToJSON, ValidationSchemaModelToJSONTyped, type Value, ValueFromJSON, ValueFromJSONTyped, ValueToJSON, ValueToJSONTyped, type ValuesValue, ValuesValueFromJSON, ValuesValueFromJSONTyped, ValuesValueToJSON, ValuesValueToJSONTyped, 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, instanceOfChatQueryInDTO, instanceOfChatQueryOutDTO, 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, instanceOfExtractionDocumentViewMetaOutDTO, instanceOfExtractionMetaOutDTO, instanceOfExtractionPrimaryViewOutDTO, instanceOfExtractionProcessingResultOutDTO, instanceOfExtractionTypeModel, instanceOfExtractionValidationInDTO, instanceOfExtractionValidationMetaOutDTO, instanceOfExtractionValidationResultOutDTO, instanceOfExtractionViewDataOutDTO, instanceOfExtractionViewMetaOutDTO, instanceOfExtractionViewOutDTO, instanceOfExtractionsViewOutDTO, instanceOfFeatureType, instanceOfFieldDefinitionDTO, instanceOfFieldDifferenceModel, instanceOfFieldType, instanceOfFileTagBalanceOutDTO, instanceOfFileTagFilenamePatternsOutDTO, instanceOfFileTagMetadataOutDTO, instanceOfFileTagResultOutDTO, instanceOfFilesCreateUploadInDTO, instanceOfFilesNextToolCallOutDTO, instanceOfFilesUploadDetailsOutDTO, instanceOfFilesUploadInstructionsOutDTO, 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, instanceOfSessionTokenInDTO, instanceOfSessionTokenOutDTO, instanceOfSortMethodModel, instanceOfStorageUsageOutDTO, instanceOfStructuredFilterDTO, instanceOfSubscribeInDTO, instanceOfSubscriptionOutDTO, instanceOfSubscriptionStatus, instanceOfSupportLevel, instanceOfTOSOutDTO, instanceOfTableDefinitionDTOInput, instanceOfTagFileBodyDTO, instanceOfTagUrlInDTO, instanceOfTemplateListOutDTO, instanceOfTemplateOutDTO, instanceOfTemplateSchemaDTOInput, instanceOfTemplateSchemaDTOOutput, instanceOfTemplateStatusModel, instanceOfTopUpPackListOutDTO, instanceOfTopUpPackOutDTO, instanceOfTopUpPurchaseInDTO, instanceOfTopUpPurchaseOutDTO, instanceOfUpdateTemplateInDTO, instanceOfUsageBreakdownListOutDTO, instanceOfUsageBreakdownOutDTO, instanceOfUsageLineItemOutDTO, instanceOfUsageSummaryOutDTO, instanceOfValidationError, instanceOfValidationSchemaModel, instanceOfValue, instanceOfValuesValue, instanceOfViewMetaOutDTO, instanceOfVolumeDiscountTierOutDTO, instanceOfWebDocumentUploadInDTO, instanceOfWebhookResponseDTO, mapValues, querystring };