@gemina/sdk 0.17.1 → 0.17.2
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/README.md +22 -8
- package/dist/index.cjs +34 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +34 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -13578,7 +13578,7 @@ declare function isWebhookTest(event: WebhookEvent): event is WebhookTestWebhook
|
|
|
13578
13578
|
* cannot be parsed; `reason` says why. No other error leaves this function
|
|
13579
13579
|
* for any body, header or secret.
|
|
13580
13580
|
*/
|
|
13581
|
-
declare function unwrapWebhook(body: string |
|
|
13581
|
+
declare function unwrapWebhook(body: string | ArrayBufferLike | ArrayBufferView, headers: WebhookHeaders, secret: string, options?: UnwrapWebhookOptions): Promise<WebhookEvent>;
|
|
13582
13582
|
|
|
13583
13583
|
/**
|
|
13584
13584
|
* Package version — the single hand-written source of truth (mirrors
|
|
@@ -13586,6 +13586,6 @@ declare function unwrapWebhook(body: string | ArrayBuffer | ArrayBufferView, hea
|
|
|
13586
13586
|
* client sends NO custom User-Agent header (browsers forbid overriding it).
|
|
13587
13587
|
* VERSION is exported for consumers and diagnostics only.
|
|
13588
13588
|
*/
|
|
13589
|
-
declare const VERSION = "0.17.
|
|
13589
|
+
declare const VERSION = "0.17.2";
|
|
13590
13590
|
|
|
13591
13591
|
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, type CreateWebhookEndpointRequest, type CreatedWebhookEndpointOutDTO, CreatedWebhookEndpointOutDTODisabledReasonEnum, CreatedWebhookEndpointOutDTOFromJSON, CreatedWebhookEndpointOutDTOFromJSONTyped, CreatedWebhookEndpointOutDTOToJSON, CreatedWebhookEndpointOutDTOToJSONTyped, 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 DeleteWebhookEndpointRequest, 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 ExtractionCompletedEvent, type ExtractionCompletedEventData, ExtractionCompletedEventDataFromJSON, ExtractionCompletedEventDataFromJSONTyped, ExtractionCompletedEventDataToJSON, ExtractionCompletedEventDataToJSONTyped, ExtractionCompletedEventFromJSON, ExtractionCompletedEventFromJSONTyped, ExtractionCompletedEventToJSON, ExtractionCompletedEventToJSONTyped, ExtractionCompletedEventTypeEnum, type ExtractionCompletedWebhookEvent, 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, GeminaWebhookVerificationError, type GeminaWebhookVerificationReason, 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 GetWebhookEndpointRequest, type GetWebhookEventRequest, 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 ListWebhookEventsRequest, ListWebhookEventsStatusEnum, 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 ResendWebhookEventRequest, 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 RotateWebhookEndpointSecretRequest, type RowMutableTableModel, RowMutableTableModelFromJSON, RowMutableTableModelFromJSONTyped, RowMutableTableModelToJSON, RowMutableTableModelToJSONTyped, type RowSourcesModel, RowSourcesModelFromJSON, RowSourcesModelFromJSONTyped, RowSourcesModelToJSON, RowSourcesModelToJSONTyped, type SavedFiletagResultRequest, type SavedFiletagResultUserRequest, type SendWebhookTestEventRequest, 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 UnwrapWebhookOptions, type UpdateTemplateInDTO, UpdateTemplateInDTOFromJSON, UpdateTemplateInDTOFromJSONTyped, UpdateTemplateInDTOToJSON, UpdateTemplateInDTOToJSONTyped, type UpdateTemplateRequest, type UpdateWebhookEndpointRequest, 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 WebhookAttemptOutDTO, WebhookAttemptOutDTOFromJSON, WebhookAttemptOutDTOFromJSONTyped, WebhookAttemptOutDTOToJSON, WebhookAttemptOutDTOToJSONTyped, type WebhookDeliveryResultOutDTO, WebhookDeliveryResultOutDTOFromJSON, WebhookDeliveryResultOutDTOFromJSONTyped, WebhookDeliveryResultOutDTOToJSON, WebhookDeliveryResultOutDTOToJSONTyped, type WebhookEndpointCreateInDTO, WebhookEndpointCreateInDTOFromJSON, WebhookEndpointCreateInDTOFromJSONTyped, WebhookEndpointCreateInDTOToJSON, WebhookEndpointCreateInDTOToJSONTyped, type WebhookEndpointListOutDTO, WebhookEndpointListOutDTOFromJSON, WebhookEndpointListOutDTOFromJSONTyped, WebhookEndpointListOutDTOToJSON, WebhookEndpointListOutDTOToJSONTyped, type WebhookEndpointOutDTO, WebhookEndpointOutDTODisabledReasonEnum, WebhookEndpointOutDTOFromJSON, WebhookEndpointOutDTOFromJSONTyped, WebhookEndpointOutDTOToJSON, WebhookEndpointOutDTOToJSONTyped, type WebhookEndpointUpdateInDTO, WebhookEndpointUpdateInDTOFromJSON, WebhookEndpointUpdateInDTOFromJSONTyped, WebhookEndpointUpdateInDTOToJSON, WebhookEndpointUpdateInDTOToJSONTyped, type WebhookEvent, type WebhookEventListOutDTO, WebhookEventListOutDTOFromJSON, WebhookEventListOutDTOFromJSONTyped, WebhookEventListOutDTOToJSON, WebhookEventListOutDTOToJSONTyped, type WebhookEventOutDTO, WebhookEventOutDTOFailureReasonEnum, WebhookEventOutDTOFromJSON, WebhookEventOutDTOFromJSONTyped, WebhookEventOutDTOStatusEnum, WebhookEventOutDTOToJSON, WebhookEventOutDTOToJSONTyped, WebhookEventOutDTOTypeEnum, type WebhookHeaders, type WebhookResponseDTO, WebhookResponseDTOFromJSON, WebhookResponseDTOFromJSONTyped, WebhookResponseDTOToJSON, WebhookResponseDTOToJSONTyped, type WebhookTestEvent, type WebhookTestEventData, WebhookTestEventDataFromJSON, WebhookTestEventDataFromJSONTyped, WebhookTestEventDataToJSON, WebhookTestEventDataToJSONTyped, WebhookTestEventFromJSON, WebhookTestEventFromJSONTyped, WebhookTestEventToJSON, WebhookTestEventToJSONTyped, WebhookTestEventTypeEnum, type WebhookTestWebhookEvent, WebhooksApi, canConsumeForm, exists, instanceOfAddExtractionsInDTO, instanceOfAggregateMetaDTO, instanceOfAggregateMetricDTO, instanceOfAggregateRowDTO, instanceOfChatMessageOutDTO, instanceOfChatQueryInDTO, instanceOfChatQueryOutDTO, instanceOfChatSessionListOutDTO, instanceOfChatSessionOutDTO, instanceOfChatTranscriptOutDTO, instanceOfCheckoutOutDTO, instanceOfColumnDefinitionDTO, instanceOfComparisonSummaryModel, instanceOfContactFormInDTO, instanceOfContractOutDTO, instanceOfContractStatus, instanceOfCountBreakdownModel, instanceOfCreateTemplateInDTO, instanceOfCreatedWebhookEndpointOutDTO, instanceOfCreditMeter, instanceOfCreditMeterFilter, instanceOfCreditTransactionListOutDTO, instanceOfCreditTransactionOutDTO, instanceOfCreditTransactionType, instanceOfDataCenterRegionModel, instanceOfDataRetentionPeriodModel, instanceOfDocumentAddExtractionsMetaOutDTO, instanceOfDocumentAddExtractionsOutDTO, instanceOfDocumentDataOutDTO, instanceOfDocumentFileTypeModel, instanceOfDocumentMetaOutDTO, instanceOfDocumentPrimaryViewOutDTO, instanceOfDocumentProcessingMetaOutDTO, instanceOfDocumentProcessingResultOutDTO, instanceOfDocumentPurgingResultOutDTO, instanceOfDocumentViewDataOutDTO, instanceOfDocumentViewMetaOutDTO, instanceOfDocumentViewOutDTO, instanceOfDocumentsViewOutDTO, instanceOfEnterpriseTransactionListOutDTO, instanceOfEnterpriseTransactionOutDTO, instanceOfExtractionCompletedEvent, instanceOfExtractionCompletedEventData, 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, instanceOfWebhookAttemptOutDTO, instanceOfWebhookDeliveryResultOutDTO, instanceOfWebhookEndpointCreateInDTO, instanceOfWebhookEndpointListOutDTO, instanceOfWebhookEndpointOutDTO, instanceOfWebhookEndpointUpdateInDTO, instanceOfWebhookEventListOutDTO, instanceOfWebhookEventOutDTO, instanceOfWebhookResponseDTO, instanceOfWebhookTestEvent, instanceOfWebhookTestEventData, isExtractionCompleted, isWebhookTest, mapValues, querystring, unwrapWebhook };
|
package/dist/index.d.ts
CHANGED
|
@@ -13578,7 +13578,7 @@ declare function isWebhookTest(event: WebhookEvent): event is WebhookTestWebhook
|
|
|
13578
13578
|
* cannot be parsed; `reason` says why. No other error leaves this function
|
|
13579
13579
|
* for any body, header or secret.
|
|
13580
13580
|
*/
|
|
13581
|
-
declare function unwrapWebhook(body: string |
|
|
13581
|
+
declare function unwrapWebhook(body: string | ArrayBufferLike | ArrayBufferView, headers: WebhookHeaders, secret: string, options?: UnwrapWebhookOptions): Promise<WebhookEvent>;
|
|
13582
13582
|
|
|
13583
13583
|
/**
|
|
13584
13584
|
* Package version — the single hand-written source of truth (mirrors
|
|
@@ -13586,6 +13586,6 @@ declare function unwrapWebhook(body: string | ArrayBuffer | ArrayBufferView, hea
|
|
|
13586
13586
|
* client sends NO custom User-Agent header (browsers forbid overriding it).
|
|
13587
13587
|
* VERSION is exported for consumers and diagnostics only.
|
|
13588
13588
|
*/
|
|
13589
|
-
declare const VERSION = "0.17.
|
|
13589
|
+
declare const VERSION = "0.17.2";
|
|
13590
13590
|
|
|
13591
13591
|
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, type CreateWebhookEndpointRequest, type CreatedWebhookEndpointOutDTO, CreatedWebhookEndpointOutDTODisabledReasonEnum, CreatedWebhookEndpointOutDTOFromJSON, CreatedWebhookEndpointOutDTOFromJSONTyped, CreatedWebhookEndpointOutDTOToJSON, CreatedWebhookEndpointOutDTOToJSONTyped, 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 DeleteWebhookEndpointRequest, 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 ExtractionCompletedEvent, type ExtractionCompletedEventData, ExtractionCompletedEventDataFromJSON, ExtractionCompletedEventDataFromJSONTyped, ExtractionCompletedEventDataToJSON, ExtractionCompletedEventDataToJSONTyped, ExtractionCompletedEventFromJSON, ExtractionCompletedEventFromJSONTyped, ExtractionCompletedEventToJSON, ExtractionCompletedEventToJSONTyped, ExtractionCompletedEventTypeEnum, type ExtractionCompletedWebhookEvent, 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, GeminaWebhookVerificationError, type GeminaWebhookVerificationReason, 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 GetWebhookEndpointRequest, type GetWebhookEventRequest, 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 ListWebhookEventsRequest, ListWebhookEventsStatusEnum, 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 ResendWebhookEventRequest, 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 RotateWebhookEndpointSecretRequest, type RowMutableTableModel, RowMutableTableModelFromJSON, RowMutableTableModelFromJSONTyped, RowMutableTableModelToJSON, RowMutableTableModelToJSONTyped, type RowSourcesModel, RowSourcesModelFromJSON, RowSourcesModelFromJSONTyped, RowSourcesModelToJSON, RowSourcesModelToJSONTyped, type SavedFiletagResultRequest, type SavedFiletagResultUserRequest, type SendWebhookTestEventRequest, 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 UnwrapWebhookOptions, type UpdateTemplateInDTO, UpdateTemplateInDTOFromJSON, UpdateTemplateInDTOFromJSONTyped, UpdateTemplateInDTOToJSON, UpdateTemplateInDTOToJSONTyped, type UpdateTemplateRequest, type UpdateWebhookEndpointRequest, 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 WebhookAttemptOutDTO, WebhookAttemptOutDTOFromJSON, WebhookAttemptOutDTOFromJSONTyped, WebhookAttemptOutDTOToJSON, WebhookAttemptOutDTOToJSONTyped, type WebhookDeliveryResultOutDTO, WebhookDeliveryResultOutDTOFromJSON, WebhookDeliveryResultOutDTOFromJSONTyped, WebhookDeliveryResultOutDTOToJSON, WebhookDeliveryResultOutDTOToJSONTyped, type WebhookEndpointCreateInDTO, WebhookEndpointCreateInDTOFromJSON, WebhookEndpointCreateInDTOFromJSONTyped, WebhookEndpointCreateInDTOToJSON, WebhookEndpointCreateInDTOToJSONTyped, type WebhookEndpointListOutDTO, WebhookEndpointListOutDTOFromJSON, WebhookEndpointListOutDTOFromJSONTyped, WebhookEndpointListOutDTOToJSON, WebhookEndpointListOutDTOToJSONTyped, type WebhookEndpointOutDTO, WebhookEndpointOutDTODisabledReasonEnum, WebhookEndpointOutDTOFromJSON, WebhookEndpointOutDTOFromJSONTyped, WebhookEndpointOutDTOToJSON, WebhookEndpointOutDTOToJSONTyped, type WebhookEndpointUpdateInDTO, WebhookEndpointUpdateInDTOFromJSON, WebhookEndpointUpdateInDTOFromJSONTyped, WebhookEndpointUpdateInDTOToJSON, WebhookEndpointUpdateInDTOToJSONTyped, type WebhookEvent, type WebhookEventListOutDTO, WebhookEventListOutDTOFromJSON, WebhookEventListOutDTOFromJSONTyped, WebhookEventListOutDTOToJSON, WebhookEventListOutDTOToJSONTyped, type WebhookEventOutDTO, WebhookEventOutDTOFailureReasonEnum, WebhookEventOutDTOFromJSON, WebhookEventOutDTOFromJSONTyped, WebhookEventOutDTOStatusEnum, WebhookEventOutDTOToJSON, WebhookEventOutDTOToJSONTyped, WebhookEventOutDTOTypeEnum, type WebhookHeaders, type WebhookResponseDTO, WebhookResponseDTOFromJSON, WebhookResponseDTOFromJSONTyped, WebhookResponseDTOToJSON, WebhookResponseDTOToJSONTyped, type WebhookTestEvent, type WebhookTestEventData, WebhookTestEventDataFromJSON, WebhookTestEventDataFromJSONTyped, WebhookTestEventDataToJSON, WebhookTestEventDataToJSONTyped, WebhookTestEventFromJSON, WebhookTestEventFromJSONTyped, WebhookTestEventToJSON, WebhookTestEventToJSONTyped, WebhookTestEventTypeEnum, type WebhookTestWebhookEvent, WebhooksApi, canConsumeForm, exists, instanceOfAddExtractionsInDTO, instanceOfAggregateMetaDTO, instanceOfAggregateMetricDTO, instanceOfAggregateRowDTO, instanceOfChatMessageOutDTO, instanceOfChatQueryInDTO, instanceOfChatQueryOutDTO, instanceOfChatSessionListOutDTO, instanceOfChatSessionOutDTO, instanceOfChatTranscriptOutDTO, instanceOfCheckoutOutDTO, instanceOfColumnDefinitionDTO, instanceOfComparisonSummaryModel, instanceOfContactFormInDTO, instanceOfContractOutDTO, instanceOfContractStatus, instanceOfCountBreakdownModel, instanceOfCreateTemplateInDTO, instanceOfCreatedWebhookEndpointOutDTO, instanceOfCreditMeter, instanceOfCreditMeterFilter, instanceOfCreditTransactionListOutDTO, instanceOfCreditTransactionOutDTO, instanceOfCreditTransactionType, instanceOfDataCenterRegionModel, instanceOfDataRetentionPeriodModel, instanceOfDocumentAddExtractionsMetaOutDTO, instanceOfDocumentAddExtractionsOutDTO, instanceOfDocumentDataOutDTO, instanceOfDocumentFileTypeModel, instanceOfDocumentMetaOutDTO, instanceOfDocumentPrimaryViewOutDTO, instanceOfDocumentProcessingMetaOutDTO, instanceOfDocumentProcessingResultOutDTO, instanceOfDocumentPurgingResultOutDTO, instanceOfDocumentViewDataOutDTO, instanceOfDocumentViewMetaOutDTO, instanceOfDocumentViewOutDTO, instanceOfDocumentsViewOutDTO, instanceOfEnterpriseTransactionListOutDTO, instanceOfEnterpriseTransactionOutDTO, instanceOfExtractionCompletedEvent, instanceOfExtractionCompletedEventData, 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, instanceOfWebhookAttemptOutDTO, instanceOfWebhookDeliveryResultOutDTO, instanceOfWebhookEndpointCreateInDTO, instanceOfWebhookEndpointListOutDTO, instanceOfWebhookEndpointOutDTO, instanceOfWebhookEndpointUpdateInDTO, instanceOfWebhookEventListOutDTO, instanceOfWebhookEventOutDTO, instanceOfWebhookResponseDTO, instanceOfWebhookTestEvent, instanceOfWebhookTestEventData, isExtractionCompleted, isWebhookTest, mapValues, querystring, unwrapWebhook };
|
package/dist/index.js
CHANGED
|
@@ -11836,18 +11836,21 @@ var GeminaClient = class _GeminaClient {
|
|
|
11836
11836
|
let submitted;
|
|
11837
11837
|
if (typeof Blob !== "undefined" && source instanceof Blob) {
|
|
11838
11838
|
try {
|
|
11839
|
-
submitted = await this.documents.createDocumentProcessingRequest(
|
|
11840
|
-
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
|
|
11850
|
-
|
|
11839
|
+
submitted = await this.documents.createDocumentProcessingRequest(
|
|
11840
|
+
{
|
|
11841
|
+
file: await normalizeBlobSource(source),
|
|
11842
|
+
externalId,
|
|
11843
|
+
extractionTypes,
|
|
11844
|
+
templateId: options.templateId,
|
|
11845
|
+
modelType: options.modelType,
|
|
11846
|
+
thinking: options.thinking,
|
|
11847
|
+
evaluation: options.evaluation,
|
|
11848
|
+
correction: options.correction,
|
|
11849
|
+
includeCoordinates: options.includeCoordinates,
|
|
11850
|
+
endUserId: options.endUserId
|
|
11851
|
+
},
|
|
11852
|
+
sendExtractionTypesAsSeparateParts(extractionTypes)
|
|
11853
|
+
);
|
|
11851
11854
|
} catch (error) {
|
|
11852
11855
|
throw await asProcessingErrorIfFailedResult(error);
|
|
11853
11856
|
}
|
|
@@ -11976,6 +11979,24 @@ function finalizeTerminal(result) {
|
|
|
11976
11979
|
}
|
|
11977
11980
|
return result;
|
|
11978
11981
|
}
|
|
11982
|
+
function sendExtractionTypesAsSeparateParts(extractionTypes) {
|
|
11983
|
+
return async ({ init }) => {
|
|
11984
|
+
const body = init.body;
|
|
11985
|
+
if (!isFormDataLike(body)) {
|
|
11986
|
+
throw new GeminaError(
|
|
11987
|
+
"Internal error: the generated document upload did not build a FormData body"
|
|
11988
|
+
);
|
|
11989
|
+
}
|
|
11990
|
+
body.delete("extraction_types");
|
|
11991
|
+
for (const extractionType of extractionTypes) {
|
|
11992
|
+
body.append("extraction_types", extractionType);
|
|
11993
|
+
}
|
|
11994
|
+
return { body: init.body };
|
|
11995
|
+
};
|
|
11996
|
+
}
|
|
11997
|
+
function isFormDataLike(body) {
|
|
11998
|
+
return typeof body === "object" && body !== null && typeof body.append === "function" && typeof body.delete === "function";
|
|
11999
|
+
}
|
|
11979
12000
|
async function asProcessingErrorIfFailedResult(error) {
|
|
11980
12001
|
if (!(error instanceof ResponseError)) {
|
|
11981
12002
|
return error;
|
|
@@ -12174,7 +12195,7 @@ async function unwrapWebhook(body, headers, secret, options = {}) {
|
|
|
12174
12195
|
}
|
|
12175
12196
|
|
|
12176
12197
|
// src/version.ts
|
|
12177
|
-
var VERSION = "0.17.
|
|
12198
|
+
var VERSION = "0.17.2";
|
|
12178
12199
|
export {
|
|
12179
12200
|
AddExtractionsInDTOFromJSON,
|
|
12180
12201
|
AddExtractionsInDTOFromJSONTyped,
|