typizer 0.2.0 → 0.4.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,39 @@
2
2
 
3
3
  Формат — [Keep a Changelog](https://keepachangelog.com/ru/1.1.0/), версии — [SemVer](https://semver.org/lang/ru/).
4
4
 
5
+ ## [0.4.0] — 2026-11-18
6
+
7
+ Совместимо с 0.3.0: прежние вызовы работают без изменений.
8
+
9
+ ### Добавлено
10
+
11
+ - Проверки полей: ресурс `client.validators` — `list` (автопагинация), `get` (`val_…` или
12
+ `my/slug`), `create`, `update` (ответ `ValidatorUpdateResult` с `bump`), `archive`, `versions`,
13
+ `test` (ровно один из `ref` и `spec`, иначе `TypeError` до сети) и `suggest`; у каждого вызова —
14
+ `RequestOptions` и `.withResponse()`. `spec` передаётся и возвращается как есть (свободный объект).
15
+ - `run.warnings()` — поля со статусом `warn` в виде `FieldWarning { path, message, reason }`;
16
+ `run.checks_used` (тип `RunCheckUsed`); `FieldResult.message` и `FieldResult.checks`
17
+ (`FieldCheck`); у типизатора — `checks` (`TypizerCheck`).
18
+ - Типы `Validator`, `ValidatorDetail`, `ValidatorVersion`, `ValidatorTest`, `ValidatorUsedBy`,
19
+ `ValidatorUpdateResult`, `ValidatorTestResult`, `ValidatorSuggestion`, `DeletedValidator` —
20
+ перечисления в них открытые.
21
+
22
+ ## [0.3.0] — 2026-11-16
23
+
24
+ Совместимо с 0.2: прежние вызовы работают без изменений.
25
+
26
+ ### Добавлено
27
+
28
+ - Причина `code_mismatch` у `fields[*].reason`: значение поля расходится со штрихкодом или QR-кодом на
29
+ документе. Сервис сам читает коды (платёжный QR по ГОСТ Р 56042-2014, QR чека, «Честный знак»),
30
+ чтобы точнее заполнять поля вашей схемы; ответ — по-прежнему только поля схемы, отдельного списка
31
+ кодов в прогоне нет.
32
+
33
+ ### Изменено
34
+
35
+ - Низкоуровневый слой перегенерирован из текущего описания API: внутренние операции Кабинета
36
+ (поддержка) добавлены с пометкой deprecated — с ключом API они не работают и уйдут в 1.0.
37
+
5
38
  ## [0.2.0] — 2026-11-14
6
39
 
7
40
  Версия без поломок: всё из 0.1.0 работает как раньше, новый клиент добавлен рядом.
package/README.md CHANGED
@@ -90,6 +90,35 @@ const run = await client.extract<Invoice>({
90
90
  console.log(run.output?.total);
91
91
  ```
92
92
 
93
+ ### Проверки полей
94
+
95
+ Поле схемы можно проверить: `"x-typizer-check"` — официальная проверка (`"inn"`), своя
96
+ (`"my/contract-no@1"`) или правило прямо в схеме (`{ kind: 'rules', … }`). Значение, не прошедшее
97
+ проверку, приходит со статусом `warn`; `run.warnings()` — такие поля с готовой фразой по-русски
98
+ (`message`) и кодом причины (`reason`). Свои проверки — `client.validators` (`list`, `get`,
99
+ `create`, `update`, `archive`, `versions`, `test`, `suggest`); `validators.test` проверяет значения
100
+ без документа.
101
+
102
+ ```ts
103
+ import { Typizer } from 'typizer';
104
+
105
+ const client = new Typizer();
106
+ const check = await client.validators.test({
107
+ values: ['1234567894', '1234567890'], // контрольное число сходится, не сходится
108
+ spec: { kind: 'native', id: 'inn' },
109
+ });
110
+ for (const r of check.results) console.log(r.value, r.pass, r.message);
111
+
112
+ const run = await client.extract({
113
+ url: 'https://typizer.ru/samples/invoice.pdf',
114
+ schema: {
115
+ type: 'object',
116
+ properties: { seller_inn: { type: 'string', 'x-typizer-check': 'inn' } },
117
+ },
118
+ });
119
+ for (const w of run.warnings()) console.log(w.path, w.message); // что показать человеку
120
+ ```
121
+
93
122
  ## Схема из каталога
94
123
 
95
124
  Готовые схемы для типовых документов — [каталог](https://docs.typizer.ru/how-to/catalog/):
package/dist/client.d.ts CHANGED
@@ -7,6 +7,7 @@ import { type FileInput, type Uploadable } from './files.js';
7
7
  import type { Balance, Batch, CatalogEntry, CatalogEntryBrief, CatalogFavorite, CatalogPublisher, CatalogReport, CatalogUpdate, CatalogVersionBrief, DeletedFile, DeletedTypizer, DeletedWebhookEndpoint, File as FileObject, Me, Organization, Status, TypizerDraft, Typizer as TypizerObject, TypizerVersion, Usage, WebhookDelivery, WebhookEndpoint, WebhookEventType } from './gen/types.gen.js';
8
8
  import { PagePromise } from './pagination.js';
9
9
  import { type TypizerRun } from './run.js';
10
+ import type { DeletedValidator, Validator, ValidatorCreateParams, ValidatorDetail, ValidatorSuggestion, ValidatorSuggestParams, ValidatorTestParams, ValidatorTestResult, ValidatorUpdateParams, ValidatorUpdateResult, ValidatorVersion } from './validators.js';
10
11
  export declare const DEFAULT_BASE_URL = "https://api.typizer.ru";
11
12
  /** Settings of a `Typizer` client (SPEC §2.1). */
12
13
  export interface TypizerOptions {
@@ -135,6 +136,8 @@ export declare class TypizerClient {
135
136
  readonly catalog: Catalog;
136
137
  readonly batches: Batches;
137
138
  readonly webhookEndpoints: WebhookEndpoints;
139
+ /** Your field checks (`my/…`) for `x-typizer-check`. */
140
+ readonly validators: Validators;
138
141
  /** Same as the static `Typizer.webhooks`. */
139
142
  readonly webhooks: {
140
143
  readonly verify: typeof import("./webhooks.js").verifyWebhook;
@@ -287,6 +290,44 @@ export declare class Catalog extends Resource {
287
290
  version?: string;
288
291
  }, options?: RequestOptions): APIPromise<CatalogReport>;
289
292
  }
293
+ /**
294
+ * `client.validators`: your field checks («проверки»). A check is referenced from a schema field as
295
+ * `"x-typizer-check": "my/contract-no@1"`; a field that fails it comes back as `warn` with the
296
+ * check's `message` (`run.warnings()`).
297
+ */
298
+ export declare class Validators extends Resource {
299
+ /** Your checks, newest first; `for await` walks all pages (`GET /v1/validators`). */
300
+ list(params?: ListParams, options?: RequestOptions): PagePromise<Validator>;
301
+ /** A check with all versions and the typizers that use it: `val_…` or `my/contract-no[@1]`. */
302
+ get(ref: string, options?: RequestOptions): APIPromise<ValidatorDetail>;
303
+ /** Every version of a check, newest first (`val_…` or `my/contract-no`). */
304
+ versions(ref: string, options?: RequestOptions): APIPromise<ValidatorVersion[]>;
305
+ /**
306
+ * Creates a check (`POST /v1/validators`) at version `1.0.0`. Every test must hold, else
307
+ * `BadRequestError` with `param: 'tests/<i>'`; a taken `slug` is a `ConflictError`.
308
+ */
309
+ create(params: ValidatorCreateParams, options?: RequestOptions): APIPromise<Validator>;
310
+ /**
311
+ * Changes a check (`PATCH /v1/validators/{id}`). The API picks the version: `bump` is `minor`
312
+ * when the old tests still pass, `major` when one breaks, `patch` for texts only.
313
+ */
314
+ update(id: string, params: ValidatorUpdateParams, options?: RequestOptions): APIPromise<ValidatorUpdateResult>;
315
+ /**
316
+ * Archives a check (`DELETE /v1/validators/{id}`); its versions stay with past runs. While a
317
+ * typizer references it, this is a `ConflictError` with `param: 'used_by'`.
318
+ */
319
+ archive(id: string, options?: RequestOptions): APIPromise<DeletedValidator>;
320
+ /**
321
+ * Runs a check on values without a document (`POST /v1/validators/test`): pass exactly one of
322
+ * `ref` (`my/contract-no@1`, `inn@1`) and `spec` (an object, as is).
323
+ */
324
+ test(params: ValidatorTestParams, options?: RequestOptions): APIPromise<ValidatorTestResult>;
325
+ /**
326
+ * Drafts a check from a description and/or examples (`POST /v1/validators/suggest`); uses the
327
+ * organization's agent limit, like `typizers.generate`.
328
+ */
329
+ suggest(params?: ValidatorSuggestParams, options?: RequestOptions): APIPromise<ValidatorSuggestion>;
330
+ }
290
331
  /** `client.batches`: one typizer over many files. */
291
332
  export declare class Batches extends Resource {
292
333
  create(params: BatchCreateParams, options?: RequestOptions): APIPromise<Batch>;
package/dist/client.js CHANGED
@@ -49,6 +49,8 @@ export class TypizerClient {
49
49
  catalog;
50
50
  batches;
51
51
  webhookEndpoints;
52
+ /** Your field checks (`my/…`) for `x-typizer-check`. */
53
+ validators;
52
54
  /** Same as the static `Typizer.webhooks`. */
53
55
  webhooks = webhooks;
54
56
  #options;
@@ -94,6 +96,7 @@ export class TypizerClient {
94
96
  this.catalog = new Catalog(this);
95
97
  this.batches = new Batches(this);
96
98
  this.webhookEndpoints = new WebhookEndpoints(this);
99
+ this.validators = new Validators(this);
97
100
  Object.defineProperty(this, '_transport', { enumerable: false });
98
101
  }
99
102
  /** A copy with other settings that shares the connections and state. */
@@ -523,6 +526,126 @@ export class Catalog extends Resource {
523
526
  }, options);
524
527
  }
525
528
  }
529
+ /** `my/slug[@version]` → `GET /v1/validators/my/{slug}` (the version is dropped: the answer has
530
+ * every version); anything else is an id → `GET /v1/validators/{id}` (SPEC §3). */
531
+ function validatorGetReq(ref) {
532
+ const value = String(ref ?? '');
533
+ if (value.startsWith('my/')) {
534
+ const [name] = splitRef(value);
535
+ return { method: 'GET', path: `/v1/validators/my/${seg('slug', name.slice(3))}` };
536
+ }
537
+ return { method: 'GET', path: `/v1/validators/${seg('id', value)}` };
538
+ }
539
+ function validatorBody(p) {
540
+ return compact({
541
+ name: p.name,
542
+ slug: p.slug,
543
+ description: p.description,
544
+ spec: p.spec,
545
+ tests: p.tests,
546
+ changelog: p.changelog,
547
+ });
548
+ }
549
+ function checkSpec(method, spec) {
550
+ if (spec === undefined)
551
+ return;
552
+ if (!spec || typeof spec !== 'object' || Array.isArray(spec)) {
553
+ throw new TypeError(`typizer: ${method}: spec must be an object`);
554
+ }
555
+ }
556
+ /**
557
+ * `client.validators`: your field checks («проверки»). A check is referenced from a schema field as
558
+ * `"x-typizer-check": "my/contract-no@1"`; a field that fails it comes back as `warn` with the
559
+ * check's `message` (`run.warnings()`).
560
+ */
561
+ export class Validators extends Resource {
562
+ /** Your checks, newest first; `for await` walks all pages (`GET /v1/validators`). */
563
+ list(params = {}, options) {
564
+ return this.c._list('/v1/validators', { limit: params.limit }, 'starting_after', options);
565
+ }
566
+ /** A check with all versions and the typizers that use it: `val_…` or `my/contract-no[@1]`. */
567
+ get(ref, options) {
568
+ return this.c._call(() => Promise.resolve(validatorGetReq(ref)), options);
569
+ }
570
+ /** Every version of a check, newest first (`val_…` or `my/contract-no`). */
571
+ versions(ref, options) {
572
+ return this.c._call(() => Promise.resolve(validatorGetReq(ref)), options, (raw) => raw?.versions ?? []);
573
+ }
574
+ /**
575
+ * Creates a check (`POST /v1/validators`) at version `1.0.0`. Every test must hold, else
576
+ * `BadRequestError` with `param: 'tests/<i>'`; a taken `slug` is a `ConflictError`.
577
+ */
578
+ create(params, options) {
579
+ return this.c._call(() => {
580
+ if (!params?.name)
581
+ throw new TypeError('typizer: validators.create: name is required');
582
+ if (params.spec === undefined)
583
+ throw new TypeError('typizer: validators.create: spec is required');
584
+ checkSpec('validators.create', params.spec);
585
+ return Promise.resolve({
586
+ method: 'POST',
587
+ path: '/v1/validators',
588
+ json: validatorBody(params),
589
+ });
590
+ }, options);
591
+ }
592
+ /**
593
+ * Changes a check (`PATCH /v1/validators/{id}`). The API picks the version: `bump` is `minor`
594
+ * when the old tests still pass, `major` when one breaks, `patch` for texts only.
595
+ */
596
+ update(id, params, options) {
597
+ return this.c._call(() => {
598
+ checkSpec('validators.update', params?.spec);
599
+ return Promise.resolve({
600
+ method: 'PATCH',
601
+ path: `/v1/validators/${seg('id', id)}`,
602
+ json: validatorBody({ ...params, slug: undefined }),
603
+ });
604
+ }, options);
605
+ }
606
+ /**
607
+ * Archives a check (`DELETE /v1/validators/{id}`); its versions stay with past runs. While a
608
+ * typizer references it, this is a `ConflictError` with `param: 'used_by'`.
609
+ */
610
+ archive(id, options) {
611
+ return this.c._call(() => Promise.resolve({ method: 'DELETE', path: `/v1/validators/${seg('id', id)}` }), options);
612
+ }
613
+ /**
614
+ * Runs a check on values without a document (`POST /v1/validators/test`): pass exactly one of
615
+ * `ref` (`my/contract-no@1`, `inn@1`) and `spec` (an object, as is).
616
+ */
617
+ test(params, options) {
618
+ return this.c._call(() => {
619
+ if ((params?.ref === undefined) === (params?.spec === undefined)) {
620
+ throw new TypeError('typizer: validators.test: pass exactly one of ref and spec');
621
+ }
622
+ if (!Array.isArray(params.values)) {
623
+ throw new TypeError('typizer: validators.test: values must be an array');
624
+ }
625
+ checkSpec('validators.test', params.spec);
626
+ return Promise.resolve({
627
+ method: 'POST',
628
+ path: '/v1/validators/test',
629
+ json: compact({ ref: params.ref, spec: params.spec, values: params.values }),
630
+ });
631
+ }, options);
632
+ }
633
+ /**
634
+ * Drafts a check from a description and/or examples (`POST /v1/validators/suggest`); uses the
635
+ * organization's agent limit, like `typizers.generate`.
636
+ */
637
+ suggest(params = {}, options) {
638
+ return this.c._call(() => Promise.resolve({
639
+ method: 'POST',
640
+ path: '/v1/validators/suggest',
641
+ json: compact({
642
+ description: params.description,
643
+ examples: params.examples,
644
+ field: params.field,
645
+ }),
646
+ }), options);
647
+ }
648
+ }
526
649
  /** `client.batches`: one typizer over many files. */
527
650
  export class Batches extends Resource {
528
651
  create(params, options) {
@@ -1,2 +1,2 @@
1
- export { applyTypizerCatalogUpdate, approveConnectorLinkRequest, createAgentMessage, createAgentSampleRun, createAgentThread, createApiKey, createBatch, createCheckout, createConnectorLink, createConsent, createContractRequest, createDemoRun, createFile, createInboundMailbox, createInvoice, createRun, createToolOcr, createTypizer, createWebhookEndpoint, deleteApiKey, deleteFile, deleteInboundMailbox, deleteMe, deleteOrganization, deleteTypizer, deleteWebhookEndpoint, exportBatch, extract, favoriteCatalogEntry, forkCatalogEntry, generateTypizer, getActPdf, getAgentThread, getBalance, getBatch, getBillingProfile, getCatalogEntry, getCatalogPublisher, getCommunityCatalogEntry, getCompany, getConnectorLinkRequest, getContractRequestPdf, getDemoQuota, getDemoRun, getFile, getFileContent, getMe, getMyConsents, getOpenApiDocument, getOrganization, getOwnCatalogPublisher, getPayment, getRun, getRunOutput, getStatus, getToolOcrQuota, getTypizer, getTypizerCatalogUpdate, getTypizerVersion, getTypizerXsd, getUsage, getWebhookEndpoint, installCatalogEntry, listAgentThreads, listApiKeys, listBatches, listCatalog, listCatalogVersions, listContractRequests, listDemoSamples, listInboundMailboxes, listInboundMessages, listOwnCatalogEntries, listPayments, listRuns, listSignIns, listTypizers, listTypizerVersions, listWebhookDeliveries, listWebhookEndpoints, type Options, publishTypizer, rejectConnectorLinkRequest, reportCatalogEntry, retryRun, retryWebhookDelivery, rotateInboundMailbox, saveAgentThread, startLogin, suggestCompanies, testWebhookEndpoint, unfavoriteCatalogEntry, unpublishCatalogEntry, updateAgentThread, updateAutotopup, updateBillingProfile, updateInboundMailbox, updateOrganization, updateTypizer, updateWebhookEndpoint, upsertOwnCatalogPublisher } from './sdk.gen.js';
2
- export type { AgentMessage, AgentThread, ApiKey, ApplyTypizerCatalogUpdateData, ApplyTypizerCatalogUpdateError, ApplyTypizerCatalogUpdateErrors, ApplyTypizerCatalogUpdateResponse, ApplyTypizerCatalogUpdateResponses, ApproveConnectorLinkRequestData, ApproveConnectorLinkRequestError, ApproveConnectorLinkRequestErrors, ApproveConnectorLinkRequestResponse, ApproveConnectorLinkRequestResponses, Balance, BalanceLot, Batch, BillingProfile, CatalogEntry, CatalogEntryBrief, CatalogFavorite, CatalogInstallRequest, CatalogList, CatalogOwnEntry, CatalogPublisher, CatalogPublisherBrief, CatalogPublisherRequest, CatalogReport, CatalogReportRequest, CatalogUpdate, CatalogUpdateRequest, CatalogVersion, CatalogVersionBrief, Checkout, CheckoutRequest, ClientOptions, Company, CompanyList, ConnectorLink, ConnectorLinkAuthorization, ConnectorLinkRequest, ConnectorLinkRequestRejected, ConsentRequest, ContractRequest, ContractRequestList, CreateAgentMessageData, CreateAgentMessageError, CreateAgentMessageErrors, CreateAgentMessageRequest, CreateAgentMessageResponse, CreateAgentMessageResponses, CreateAgentSampleRunData, CreateAgentSampleRunError, CreateAgentSampleRunErrors, CreateAgentSampleRunResponse, CreateAgentSampleRunResponses, CreateAgentThreadData, CreateAgentThreadError, CreateAgentThreadErrors, CreateAgentThreadRequest, CreateAgentThreadResponse, CreateAgentThreadResponses, CreateApiKeyData, CreateApiKeyError, CreateApiKeyErrors, CreateApiKeyRequest, CreateApiKeyResponse, CreateApiKeyResponses, CreateBatchData, CreateBatchError, CreateBatchErrors, CreateBatchRequest, CreateBatchResponse, CreateBatchResponses, CreateCheckoutData, CreateCheckoutError, CreateCheckoutErrors, CreateCheckoutResponse, CreateCheckoutResponses, CreateConnectorLinkData, CreateConnectorLinkError, CreateConnectorLinkErrors, CreateConnectorLinkRequest, CreateConnectorLinkResponse, CreateConnectorLinkResponses, CreateConsentData, CreateConsentError, CreateConsentErrors, CreateConsentResponse, CreateConsentResponses, CreateContractRequestData, CreateContractRequestError, CreateContractRequestErrors, CreateContractRequestResponse, CreateContractRequestResponses, CreatedApiKey, CreateDemoRunData, CreateDemoRunError, CreateDemoRunErrors, CreateDemoRunResponse, CreateDemoRunResponses, CreateFileData, CreateFileError, CreateFileErrors, CreateFileResponse, CreateFileResponses, CreateInboundMailboxData, CreateInboundMailboxError, CreateInboundMailboxErrors, CreateInboundMailboxRequest, CreateInboundMailboxResponse, CreateInboundMailboxResponses, CreateInvoiceData, CreateInvoiceError, CreateInvoiceErrors, CreateInvoiceRequest, CreateInvoiceResponse, CreateInvoiceResponses, CreateRunData, CreateRunError, CreateRunErrors, CreateRunRequest, CreateRunResponse, CreateRunResponses, CreateToolOcrData, CreateToolOcrError, CreateToolOcrErrors, CreateToolOcrResponse, CreateToolOcrResponses, CreateTypizerData, CreateTypizerError, CreateTypizerErrors, CreateTypizerRequest, CreateTypizerResponse, CreateTypizerResponses, CreateWebhookEndpointData, CreateWebhookEndpointError, CreateWebhookEndpointErrors, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyErrors, DeleteApiKeyResponse, DeleteApiKeyResponses, DeletedApiKey, DeletedFile, DeletedInboundMailbox, DeletedTypizer, DeletedWebhookEndpoint, DeleteFileData, DeleteFileError, DeleteFileErrors, DeleteFileResponse, DeleteFileResponses, DeleteInboundMailboxData, DeleteInboundMailboxError, DeleteInboundMailboxErrors, DeleteInboundMailboxResponse, DeleteInboundMailboxResponses, DeleteMeData, DeleteMeError, DeleteMeErrors, DeleteMeResponse, DeleteMeResponses, DeleteOrganizationData, DeleteOrganizationError, DeleteOrganizationErrors, DeleteOrganizationResponse, DeleteOrganizationResponses, DeleteTypizerData, DeleteTypizerError, DeleteTypizerErrors, DeleteTypizerResponse, DeleteTypizerResponses, DeleteWebhookEndpointData, DeleteWebhookEndpointError, DeleteWebhookEndpointErrors, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DemoQuota, DemoRun, DemoRunRequest, DemoSample, DemoSampleList, ExportBatchData, ExportBatchError, ExportBatchErrors, ExportBatchResponse, ExportBatchResponses, ExtractData, ExtractError, ExtractErrors, ExtractRequest, ExtractResponse, ExtractResponses, FavoriteCatalogEntryData, FavoriteCatalogEntryError, FavoriteCatalogEntryErrors, FavoriteCatalogEntryResponse, FavoriteCatalogEntryResponses, File, ForkCatalogEntryData, ForkCatalogEntryError, ForkCatalogEntryErrors, ForkCatalogEntryResponse, ForkCatalogEntryResponses, GenerateTypizerData, GenerateTypizerError, GenerateTypizerErrors, GenerateTypizerRequest, GenerateTypizerResponse, GenerateTypizerResponses, GetActPdfData, GetActPdfError, GetActPdfErrors, GetActPdfResponse, GetActPdfResponses, GetAgentThreadData, GetAgentThreadError, GetAgentThreadErrors, GetAgentThreadResponse, GetAgentThreadResponses, GetBalanceData, GetBalanceError, GetBalanceErrors, GetBalanceResponse, GetBalanceResponses, GetBatchData, GetBatchError, GetBatchErrors, GetBatchResponse, GetBatchResponses, GetBillingProfileData, GetBillingProfileError, GetBillingProfileErrors, GetBillingProfileResponse, GetBillingProfileResponses, GetCatalogEntryData, GetCatalogEntryError, GetCatalogEntryErrors, GetCatalogEntryResponse, GetCatalogEntryResponses, GetCatalogPublisherData, GetCatalogPublisherError, GetCatalogPublisherErrors, GetCatalogPublisherResponse, GetCatalogPublisherResponses, GetCommunityCatalogEntryData, GetCommunityCatalogEntryError, GetCommunityCatalogEntryErrors, GetCommunityCatalogEntryResponse, GetCommunityCatalogEntryResponses, GetCompanyData, GetCompanyError, GetCompanyErrors, GetCompanyResponse, GetCompanyResponses, GetConnectorLinkRequestData, GetConnectorLinkRequestError, GetConnectorLinkRequestErrors, GetConnectorLinkRequestResponse, GetConnectorLinkRequestResponses, GetContractRequestPdfData, GetContractRequestPdfError, GetContractRequestPdfErrors, GetContractRequestPdfResponse, GetContractRequestPdfResponses, GetDemoQuotaData, GetDemoQuotaError, GetDemoQuotaErrors, GetDemoQuotaResponse, GetDemoQuotaResponses, GetDemoRunData, GetDemoRunError, GetDemoRunErrors, GetDemoRunResponse, GetDemoRunResponses, GetFileContentData, GetFileContentError, GetFileContentErrors, GetFileContentResponse, GetFileContentResponses, GetFileData, GetFileError, GetFileErrors, GetFileResponse, GetFileResponses, GetMeData, GetMeError, GetMeErrors, GetMeResponse, GetMeResponses, GetMyConsentsData, GetMyConsentsError, GetMyConsentsErrors, GetMyConsentsResponse, GetMyConsentsResponses, GetOpenApiDocumentData, GetOpenApiDocumentError, GetOpenApiDocumentErrors, GetOpenApiDocumentResponse, GetOpenApiDocumentResponses, GetOrganizationData, GetOrganizationError, GetOrganizationErrors, GetOrganizationResponse, GetOrganizationResponses, GetOwnCatalogPublisherData, GetOwnCatalogPublisherError, GetOwnCatalogPublisherErrors, GetOwnCatalogPublisherResponse, GetOwnCatalogPublisherResponses, GetPaymentData, GetPaymentError, GetPaymentErrors, GetPaymentResponse, GetPaymentResponses, GetRunData, GetRunError, GetRunErrors, GetRunOutputData, GetRunOutputError, GetRunOutputErrors, GetRunOutputResponses, GetRunResponse, GetRunResponses, GetStatusData, GetStatusError, GetStatusErrors, GetStatusResponse, GetStatusResponses, GetToolOcrQuotaData, GetToolOcrQuotaError, GetToolOcrQuotaErrors, GetToolOcrQuotaResponse, GetToolOcrQuotaResponses, GetTypizerCatalogUpdateData, GetTypizerCatalogUpdateError, GetTypizerCatalogUpdateErrors, GetTypizerCatalogUpdateResponse, GetTypizerCatalogUpdateResponses, GetTypizerData, GetTypizerError, GetTypizerErrors, GetTypizerResponse, GetTypizerResponses, GetTypizerVersionData, GetTypizerVersionError, GetTypizerVersionErrors, GetTypizerVersionResponse, GetTypizerVersionResponses, GetTypizerXsdData, GetTypizerXsdError, GetTypizerXsdErrors, GetTypizerXsdResponse, GetTypizerXsdResponses, GetUsageData, GetUsageError, GetUsageErrors, GetUsageResponse, GetUsageResponses, GetWebhookEndpointData, GetWebhookEndpointError, GetWebhookEndpointErrors, GetWebhookEndpointResponse, GetWebhookEndpointResponses, IdempotencyKey, IdempotencyKeyIgnored, InboundMailbox, InboundMailboxList, InboundMessage, InstallCatalogEntryData, InstallCatalogEntryError, InstallCatalogEntryErrors, InstallCatalogEntryResponse, InstallCatalogEntryResponses, ListAgentThreadsData, ListAgentThreadsError, ListAgentThreadsErrors, ListAgentThreadsResponse, ListAgentThreadsResponses, ListApiKeysData, ListApiKeysError, ListApiKeysErrors, ListApiKeysResponse, ListApiKeysResponses, ListBatchesData, ListBatchesError, ListBatchesErrors, ListBatchesResponse, ListBatchesResponses, ListCatalogData, ListCatalogError, ListCatalogErrors, ListCatalogResponse, ListCatalogResponses, ListCatalogVersionsData, ListCatalogVersionsError, ListCatalogVersionsErrors, ListCatalogVersionsResponse, ListCatalogVersionsResponses, ListContractRequestsData, ListContractRequestsError, ListContractRequestsErrors, ListContractRequestsResponse, ListContractRequestsResponses, ListDemoSamplesData, ListDemoSamplesError, ListDemoSamplesErrors, ListDemoSamplesResponse, ListDemoSamplesResponses, ListInboundMailboxesData, ListInboundMailboxesError, ListInboundMailboxesErrors, ListInboundMailboxesResponse, ListInboundMailboxesResponses, ListInboundMessagesData, ListInboundMessagesError, ListInboundMessagesErrors, ListInboundMessagesResponse, ListInboundMessagesResponses, ListOwnCatalogEntriesData, ListOwnCatalogEntriesError, ListOwnCatalogEntriesErrors, ListOwnCatalogEntriesResponse, ListOwnCatalogEntriesResponses, ListPaymentsData, ListPaymentsError, ListPaymentsErrors, ListPaymentsResponse, ListPaymentsResponses, ListRunsData, ListRunsError, ListRunsErrors, ListRunsResponse, ListRunsResponses, ListSignInsData, ListSignInsError, ListSignInsErrors, ListSignInsResponse, ListSignInsResponses, ListTypizersData, ListTypizersError, ListTypizersErrors, ListTypizersResponse, ListTypizersResponses, ListTypizerVersionsData, ListTypizerVersionsError, ListTypizerVersionsErrors, ListTypizerVersionsResponse, ListTypizerVersionsResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesError, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponse, ListWebhookDeliveriesResponses, ListWebhookEndpointsData, ListWebhookEndpointsError, ListWebhookEndpointsErrors, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, LoginChallenge, LoginStartRequest, MaintenanceEvent, MarketingConsentState, Me, MyConsents, OcrPage, OcrQuota, OcrResult, OcrTable, Organization, Payment, PaymentList, Problem, PublishTypizerData, PublishTypizerError, PublishTypizerErrors, PublishTypizerRequest, PublishTypizerResponse, PublishTypizerResponses, RejectConnectorLinkRequestData, RejectConnectorLinkRequestError, RejectConnectorLinkRequestErrors, RejectConnectorLinkRequestResponse, RejectConnectorLinkRequestResponses, ReportCatalogEntryData, ReportCatalogEntryError, ReportCatalogEntryErrors, ReportCatalogEntryResponse, ReportCatalogEntryResponses, RetryRunData, RetryRunError, RetryRunErrors, RetryRunResponse, RetryRunResponses, RetryWebhookDeliveryData, RetryWebhookDeliveryError, RetryWebhookDeliveryErrors, RetryWebhookDeliveryResponse, RetryWebhookDeliveryResponses, RotateInboundMailboxData, RotateInboundMailboxError, RotateInboundMailboxErrors, RotateInboundMailboxResponse, RotateInboundMailboxResponses, Run, SaveAgentThreadData, SaveAgentThreadError, SaveAgentThreadErrors, SaveAgentThreadRequest, SaveAgentThreadResponse, SaveAgentThreadResponses, SchemaChange, Scope, SignIn, SignInList, StartLoginData, StartLoginError, StartLoginErrors, StartLoginResponse, StartLoginResponses, Status, SuggestCompaniesData, SuggestCompaniesError, SuggestCompaniesErrors, SuggestCompaniesResponse, SuggestCompaniesResponses, TestWebhookEndpointData, TestWebhookEndpointError, TestWebhookEndpointErrors, TestWebhookEndpointResponse, TestWebhookEndpointResponses, Typizer, TypizerDraft, TypizerOrganization, TypizerVersion, UnfavoriteCatalogEntryData, UnfavoriteCatalogEntryError, UnfavoriteCatalogEntryErrors, UnfavoriteCatalogEntryResponse, UnfavoriteCatalogEntryResponses, UnpublishCatalogEntryData, UnpublishCatalogEntryError, UnpublishCatalogEntryErrors, UnpublishCatalogEntryResponse, UnpublishCatalogEntryResponses, UpdateAgentThreadData, UpdateAgentThreadError, UpdateAgentThreadErrors, UpdateAgentThreadRequest, UpdateAgentThreadResponse, UpdateAgentThreadResponses, UpdateAutotopupData, UpdateAutotopupError, UpdateAutotopupErrors, UpdateAutotopupRequest, UpdateAutotopupResponse, UpdateAutotopupResponses, UpdateBillingProfileData, UpdateBillingProfileError, UpdateBillingProfileErrors, UpdateBillingProfileRequest, UpdateBillingProfileResponse, UpdateBillingProfileResponses, UpdateInboundMailboxData, UpdateInboundMailboxError, UpdateInboundMailboxErrors, UpdateInboundMailboxRequest, UpdateInboundMailboxResponse, UpdateInboundMailboxResponses, UpdateOrganizationData, UpdateOrganizationError, UpdateOrganizationErrors, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOrganizationResponses, UpdateTypizerData, UpdateTypizerError, UpdateTypizerErrors, UpdateTypizerRequest, UpdateTypizerResponse, UpdateTypizerResponses, UpdateWebhookEndpointData, UpdateWebhookEndpointError, UpdateWebhookEndpointErrors, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpsertOwnCatalogPublisherData, UpsertOwnCatalogPublisherError, UpsertOwnCatalogPublisherErrors, UpsertOwnCatalogPublisherResponse, UpsertOwnCatalogPublisherResponses, Usage, UsageRow, WebhookDelivery, WebhookEndpoint, WebhookEventType } from './types.gen.js';
1
+ export { applyTypizerCatalogUpdate, approveConnectorLinkRequest, closeSupportConversation, createAgentMessage, createAgentSampleRun, createAgentThread, createApiKey, createBatch, createCheckout, createConnectorLink, createConsent, createContractRequest, createDemoRun, createFile, createInboundMailbox, createInvoice, createRun, createSupportAttachment, createSupportConversation, createSupportEmailCode, createSupportMessage, createSupportWidgetChallenge, createSupportWidgetMessage, createSupportWidgetToken, createSupportWidgetVisitor, createToolOcr, createTypizer, createValidator, createWebhookEndpoint, deleteApiKey, deleteFile, deleteInboundMailbox, deleteMe, deleteOrganization, deleteTypizer, deleteValidator, deleteWebhookEndpoint, exportBatch, extract, favoriteCatalogEntry, forkCatalogEntry, generateTypizer, getActPdf, getAgentThread, getBalance, getBatch, getBillingProfile, getCatalogEntry, getCatalogPublisher, getCommunityCatalogEntry, getCompany, getConnectorLinkRequest, getContractRequestPdf, getDemoQuota, getDemoRun, getFile, getFileContent, getMe, getMyConsents, getOpenApiDocument, getOrganization, getOwnCatalogPublisher, getPayment, getRun, getRunOutput, getStatus, getSupportConfig, getSupportConversation, getSupportWidgetConfig, getSupportWidgetState, getToolOcrQuota, getTypizer, getTypizerCatalogUpdate, getTypizerVersion, getTypizerXsd, getUsage, getValidator, getValidatorBySlug, getWebhookEndpoint, installCatalogEntry, listAgentThreads, listApiKeys, listBatches, listCatalog, listCatalogVersions, listContractRequests, listDemoSamples, listInboundMailboxes, listInboundMessages, listOwnCatalogEntries, listPayments, listRuns, listSignIns, listSupportConversations, listTypizers, listTypizerVersions, listValidatorFieldValues, listValidators, listWebhookDeliveries, listWebhookEndpoints, type Options, publishTypizer, publishValidator, rateSupportConversation, rejectConnectorLinkRequest, reopenSupportConversation, reportCatalogEntry, retryRun, retryWebhookDelivery, rotateInboundMailbox, saveAgentThread, startLogin, streamSupportWidget, suggestCompanies, suggestValidator, testValidator, testWebhookEndpoint, unfavoriteCatalogEntry, unpublishCatalogEntry, updateAgentThread, updateAutotopup, updateBillingProfile, updateInboundMailbox, updateOrganization, updateTypizer, updateValidator, updateWebhookEndpoint, upsertOwnCatalogPublisher, verifySupportEmail } from './sdk.gen.js';
2
+ export type { AgentMessage, AgentThread, ApiKey, ApplyTypizerCatalogUpdateData, ApplyTypizerCatalogUpdateError, ApplyTypizerCatalogUpdateErrors, ApplyTypizerCatalogUpdateResponse, ApplyTypizerCatalogUpdateResponses, ApproveConnectorLinkRequestData, ApproveConnectorLinkRequestError, ApproveConnectorLinkRequestErrors, ApproveConnectorLinkRequestResponse, ApproveConnectorLinkRequestResponses, Balance, BalanceLot, Batch, BillingProfile, CatalogEntry, CatalogEntryBrief, CatalogFavorite, CatalogForkValidatorRequest, CatalogInstallRequest, CatalogList, CatalogOwnEntry, CatalogPublisher, CatalogPublisherBrief, CatalogPublisherRequest, CatalogReport, CatalogReportRequest, CatalogUpdate, CatalogUpdateRequest, CatalogValidatorBrief, CatalogValidatorVersion, CatalogVersion, CatalogVersionBrief, Checkout, CheckoutRequest, ClientOptions, CloseSupportConversationData, CloseSupportConversationError, CloseSupportConversationErrors, CloseSupportConversationResponse, CloseSupportConversationResponses, Company, CompanyList, ConnectorLink, ConnectorLinkAuthorization, ConnectorLinkRequest, ConnectorLinkRequestRejected, ConsentRequest, ContractRequest, ContractRequestList, CreateAgentMessageData, CreateAgentMessageError, CreateAgentMessageErrors, CreateAgentMessageRequest, CreateAgentMessageResponse, CreateAgentMessageResponses, CreateAgentSampleRunData, CreateAgentSampleRunError, CreateAgentSampleRunErrors, CreateAgentSampleRunResponse, CreateAgentSampleRunResponses, CreateAgentThreadData, CreateAgentThreadError, CreateAgentThreadErrors, CreateAgentThreadRequest, CreateAgentThreadResponse, CreateAgentThreadResponses, CreateApiKeyData, CreateApiKeyError, CreateApiKeyErrors, CreateApiKeyRequest, CreateApiKeyResponse, CreateApiKeyResponses, CreateBatchData, CreateBatchError, CreateBatchErrors, CreateBatchRequest, CreateBatchResponse, CreateBatchResponses, CreateCheckoutData, CreateCheckoutError, CreateCheckoutErrors, CreateCheckoutResponse, CreateCheckoutResponses, CreateConnectorLinkData, CreateConnectorLinkError, CreateConnectorLinkErrors, CreateConnectorLinkRequest, CreateConnectorLinkResponse, CreateConnectorLinkResponses, CreateConsentData, CreateConsentError, CreateConsentErrors, CreateConsentResponse, CreateConsentResponses, CreateContractRequestData, CreateContractRequestError, CreateContractRequestErrors, CreateContractRequestResponse, CreateContractRequestResponses, CreatedApiKey, CreateDemoRunData, CreateDemoRunError, CreateDemoRunErrors, CreateDemoRunResponse, CreateDemoRunResponses, CreateFileData, CreateFileError, CreateFileErrors, CreateFileResponse, CreateFileResponses, CreateInboundMailboxData, CreateInboundMailboxError, CreateInboundMailboxErrors, CreateInboundMailboxRequest, CreateInboundMailboxResponse, CreateInboundMailboxResponses, CreateInvoiceData, CreateInvoiceError, CreateInvoiceErrors, CreateInvoiceRequest, CreateInvoiceResponse, CreateInvoiceResponses, CreateRunData, CreateRunError, CreateRunErrors, CreateRunRequest, CreateRunResponse, CreateRunResponses, CreateSupportAttachmentData, CreateSupportAttachmentError, CreateSupportAttachmentErrors, CreateSupportAttachmentResponse, CreateSupportAttachmentResponses, CreateSupportConversationData, CreateSupportConversationError, CreateSupportConversationErrors, CreateSupportConversationRequest, CreateSupportConversationResponse, CreateSupportConversationResponses, CreateSupportEmailCodeData, CreateSupportEmailCodeError, CreateSupportEmailCodeErrors, CreateSupportEmailCodeRequest, CreateSupportEmailCodeResponse, CreateSupportEmailCodeResponses, CreateSupportMessageData, CreateSupportMessageError, CreateSupportMessageErrors, CreateSupportMessageRequest, CreateSupportMessageResponse, CreateSupportMessageResponses, CreateSupportWidgetChallengeData, CreateSupportWidgetChallengeError, CreateSupportWidgetChallengeErrors, CreateSupportWidgetChallengeResponse, CreateSupportWidgetChallengeResponses, CreateSupportWidgetMessageData, CreateSupportWidgetMessageError, CreateSupportWidgetMessageErrors, CreateSupportWidgetMessageRequest, CreateSupportWidgetMessageResponse, CreateSupportWidgetMessageResponses, CreateSupportWidgetTokenData, CreateSupportWidgetTokenError, CreateSupportWidgetTokenErrors, CreateSupportWidgetTokenResponse, CreateSupportWidgetTokenResponses, CreateSupportWidgetVisitorData, CreateSupportWidgetVisitorError, CreateSupportWidgetVisitorErrors, CreateSupportWidgetVisitorRequest, CreateSupportWidgetVisitorResponse, CreateSupportWidgetVisitorResponses, CreateToolOcrData, CreateToolOcrError, CreateToolOcrErrors, CreateToolOcrResponse, CreateToolOcrResponses, CreateTypizerData, CreateTypizerError, CreateTypizerErrors, CreateTypizerRequest, CreateTypizerResponse, CreateTypizerResponses, CreateValidatorData, CreateValidatorError, CreateValidatorErrors, CreateValidatorRequest, CreateValidatorResponse, CreateValidatorResponses, CreateWebhookEndpointData, CreateWebhookEndpointError, CreateWebhookEndpointErrors, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyErrors, DeleteApiKeyResponse, DeleteApiKeyResponses, DeletedApiKey, DeletedFile, DeletedInboundMailbox, DeletedTypizer, DeletedValidator, DeletedWebhookEndpoint, DeleteFileData, DeleteFileError, DeleteFileErrors, DeleteFileResponse, DeleteFileResponses, DeleteInboundMailboxData, DeleteInboundMailboxError, DeleteInboundMailboxErrors, DeleteInboundMailboxResponse, DeleteInboundMailboxResponses, DeleteMeData, DeleteMeError, DeleteMeErrors, DeleteMeResponse, DeleteMeResponses, DeleteOrganizationData, DeleteOrganizationError, DeleteOrganizationErrors, DeleteOrganizationResponse, DeleteOrganizationResponses, DeleteTypizerData, DeleteTypizerError, DeleteTypizerErrors, DeleteTypizerResponse, DeleteTypizerResponses, DeleteValidatorData, DeleteValidatorError, DeleteValidatorErrors, DeleteValidatorResponse, DeleteValidatorResponses, DeleteWebhookEndpointData, DeleteWebhookEndpointError, DeleteWebhookEndpointErrors, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DemoQuota, DemoRun, DemoRunRequest, DemoSample, DemoSampleList, ExportBatchData, ExportBatchError, ExportBatchErrors, ExportBatchResponse, ExportBatchResponses, ExtractData, ExtractError, ExtractErrors, ExtractRequest, ExtractResponse, ExtractResponses, FavoriteCatalogEntryData, FavoriteCatalogEntryError, FavoriteCatalogEntryErrors, FavoriteCatalogEntryResponse, FavoriteCatalogEntryResponses, FieldCheck, FieldResult, FieldSource, FieldValues, File, ForkCatalogEntryData, ForkCatalogEntryError, ForkCatalogEntryErrors, ForkCatalogEntryResponse, ForkCatalogEntryResponses, GenerateTypizerData, GenerateTypizerError, GenerateTypizerErrors, GenerateTypizerRequest, GenerateTypizerResponse, GenerateTypizerResponses, GetActPdfData, GetActPdfError, GetActPdfErrors, GetActPdfResponse, GetActPdfResponses, GetAgentThreadData, GetAgentThreadError, GetAgentThreadErrors, GetAgentThreadResponse, GetAgentThreadResponses, GetBalanceData, GetBalanceError, GetBalanceErrors, GetBalanceResponse, GetBalanceResponses, GetBatchData, GetBatchError, GetBatchErrors, GetBatchResponse, GetBatchResponses, GetBillingProfileData, GetBillingProfileError, GetBillingProfileErrors, GetBillingProfileResponse, GetBillingProfileResponses, GetCatalogEntryData, GetCatalogEntryError, GetCatalogEntryErrors, GetCatalogEntryResponse, GetCatalogEntryResponses, GetCatalogPublisherData, GetCatalogPublisherError, GetCatalogPublisherErrors, GetCatalogPublisherResponse, GetCatalogPublisherResponses, GetCommunityCatalogEntryData, GetCommunityCatalogEntryError, GetCommunityCatalogEntryErrors, GetCommunityCatalogEntryResponse, GetCommunityCatalogEntryResponses, GetCompanyData, GetCompanyError, GetCompanyErrors, GetCompanyResponse, GetCompanyResponses, GetConnectorLinkRequestData, GetConnectorLinkRequestError, GetConnectorLinkRequestErrors, GetConnectorLinkRequestResponse, GetConnectorLinkRequestResponses, GetContractRequestPdfData, GetContractRequestPdfError, GetContractRequestPdfErrors, GetContractRequestPdfResponse, GetContractRequestPdfResponses, GetDemoQuotaData, GetDemoQuotaError, GetDemoQuotaErrors, GetDemoQuotaResponse, GetDemoQuotaResponses, GetDemoRunData, GetDemoRunError, GetDemoRunErrors, GetDemoRunResponse, GetDemoRunResponses, GetFileContentData, GetFileContentError, GetFileContentErrors, GetFileContentResponse, GetFileContentResponses, GetFileData, GetFileError, GetFileErrors, GetFileResponse, GetFileResponses, GetMeData, GetMeError, GetMeErrors, GetMeResponse, GetMeResponses, GetMyConsentsData, GetMyConsentsError, GetMyConsentsErrors, GetMyConsentsResponse, GetMyConsentsResponses, GetOpenApiDocumentData, GetOpenApiDocumentError, GetOpenApiDocumentErrors, GetOpenApiDocumentResponse, GetOpenApiDocumentResponses, GetOrganizationData, GetOrganizationError, GetOrganizationErrors, GetOrganizationResponse, GetOrganizationResponses, GetOwnCatalogPublisherData, GetOwnCatalogPublisherError, GetOwnCatalogPublisherErrors, GetOwnCatalogPublisherResponse, GetOwnCatalogPublisherResponses, GetPaymentData, GetPaymentError, GetPaymentErrors, GetPaymentResponse, GetPaymentResponses, GetRunData, GetRunError, GetRunErrors, GetRunOutputData, GetRunOutputError, GetRunOutputErrors, GetRunOutputResponses, GetRunResponse, GetRunResponses, GetStatusData, GetStatusError, GetStatusErrors, GetStatusResponse, GetStatusResponses, GetSupportConfigData, GetSupportConfigError, GetSupportConfigErrors, GetSupportConfigResponse, GetSupportConfigResponses, GetSupportConversationData, GetSupportConversationError, GetSupportConversationErrors, GetSupportConversationResponse, GetSupportConversationResponses, GetSupportWidgetConfigData, GetSupportWidgetConfigError, GetSupportWidgetConfigErrors, GetSupportWidgetConfigResponse, GetSupportWidgetConfigResponses, GetSupportWidgetStateData, GetSupportWidgetStateError, GetSupportWidgetStateErrors, GetSupportWidgetStateResponse, GetSupportWidgetStateResponses, GetToolOcrQuotaData, GetToolOcrQuotaError, GetToolOcrQuotaErrors, GetToolOcrQuotaResponse, GetToolOcrQuotaResponses, GetTypizerCatalogUpdateData, GetTypizerCatalogUpdateError, GetTypizerCatalogUpdateErrors, GetTypizerCatalogUpdateResponse, GetTypizerCatalogUpdateResponses, GetTypizerData, GetTypizerError, GetTypizerErrors, GetTypizerResponse, GetTypizerResponses, GetTypizerVersionData, GetTypizerVersionError, GetTypizerVersionErrors, GetTypizerVersionResponse, GetTypizerVersionResponses, GetTypizerXsdData, GetTypizerXsdError, GetTypizerXsdErrors, GetTypizerXsdResponse, GetTypizerXsdResponses, GetUsageData, GetUsageError, GetUsageErrors, GetUsageResponse, GetUsageResponses, GetValidatorBySlugData, GetValidatorBySlugError, GetValidatorBySlugErrors, GetValidatorBySlugResponse, GetValidatorBySlugResponses, GetValidatorData, GetValidatorError, GetValidatorErrors, GetValidatorResponse, GetValidatorResponses, GetWebhookEndpointData, GetWebhookEndpointError, GetWebhookEndpointErrors, GetWebhookEndpointResponse, GetWebhookEndpointResponses, IdempotencyKey, IdempotencyKeyIgnored, InboundMailbox, InboundMailboxList, InboundMessage, InstallCatalogEntryData, InstallCatalogEntryError, InstallCatalogEntryErrors, InstallCatalogEntryResponse, InstallCatalogEntryResponses, ListAgentThreadsData, ListAgentThreadsError, ListAgentThreadsErrors, ListAgentThreadsResponse, ListAgentThreadsResponses, ListApiKeysData, ListApiKeysError, ListApiKeysErrors, ListApiKeysResponse, ListApiKeysResponses, ListBatchesData, ListBatchesError, ListBatchesErrors, ListBatchesResponse, ListBatchesResponses, ListCatalogData, ListCatalogError, ListCatalogErrors, ListCatalogResponse, ListCatalogResponses, ListCatalogVersionsData, ListCatalogVersionsError, ListCatalogVersionsErrors, ListCatalogVersionsResponse, ListCatalogVersionsResponses, ListContractRequestsData, ListContractRequestsError, ListContractRequestsErrors, ListContractRequestsResponse, ListContractRequestsResponses, ListDemoSamplesData, ListDemoSamplesError, ListDemoSamplesErrors, ListDemoSamplesResponse, ListDemoSamplesResponses, ListInboundMailboxesData, ListInboundMailboxesError, ListInboundMailboxesErrors, ListInboundMailboxesResponse, ListInboundMailboxesResponses, ListInboundMessagesData, ListInboundMessagesError, ListInboundMessagesErrors, ListInboundMessagesResponse, ListInboundMessagesResponses, ListOwnCatalogEntriesData, ListOwnCatalogEntriesError, ListOwnCatalogEntriesErrors, ListOwnCatalogEntriesResponse, ListOwnCatalogEntriesResponses, ListPaymentsData, ListPaymentsError, ListPaymentsErrors, ListPaymentsResponse, ListPaymentsResponses, ListRunsData, ListRunsError, ListRunsErrors, ListRunsResponse, ListRunsResponses, ListSignInsData, ListSignInsError, ListSignInsErrors, ListSignInsResponse, ListSignInsResponses, ListSupportConversationsData, ListSupportConversationsError, ListSupportConversationsErrors, ListSupportConversationsResponse, ListSupportConversationsResponses, ListTypizersData, ListTypizersError, ListTypizersErrors, ListTypizersResponse, ListTypizersResponses, ListTypizerVersionsData, ListTypizerVersionsError, ListTypizerVersionsErrors, ListTypizerVersionsResponse, ListTypizerVersionsResponses, ListValidatorFieldValuesData, ListValidatorFieldValuesError, ListValidatorFieldValuesErrors, ListValidatorFieldValuesResponse, ListValidatorFieldValuesResponses, ListValidatorsData, ListValidatorsError, ListValidatorsErrors, ListValidatorsResponse, ListValidatorsResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesError, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponse, ListWebhookDeliveriesResponses, ListWebhookEndpointsData, ListWebhookEndpointsError, ListWebhookEndpointsErrors, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, LoginChallenge, LoginStartRequest, MaintenanceEvent, MarketingConsentState, Me, MyConsents, OcrPage, OcrQuota, OcrResult, OcrTable, Organization, Payment, PaymentList, Problem, PublishTypizerData, PublishTypizerError, PublishTypizerErrors, PublishTypizerRequest, PublishTypizerResponse, PublishTypizerResponses, PublishValidatorData, PublishValidatorError, PublishValidatorErrors, PublishValidatorRequest, PublishValidatorResponse, PublishValidatorResponses, RateSupportConversationData, RateSupportConversationError, RateSupportConversationErrors, RateSupportConversationRequest, RateSupportConversationResponse, RateSupportConversationResponses, RejectConnectorLinkRequestData, RejectConnectorLinkRequestError, RejectConnectorLinkRequestErrors, RejectConnectorLinkRequestResponse, RejectConnectorLinkRequestResponses, ReopenSupportConversationData, ReopenSupportConversationError, ReopenSupportConversationErrors, ReopenSupportConversationResponse, ReopenSupportConversationResponses, ReportCatalogEntryData, ReportCatalogEntryError, ReportCatalogEntryErrors, ReportCatalogEntryResponse, ReportCatalogEntryResponses, RetryRunData, RetryRunError, RetryRunErrors, RetryRunResponse, RetryRunResponses, RetryWebhookDeliveryData, RetryWebhookDeliveryError, RetryWebhookDeliveryErrors, RetryWebhookDeliveryResponse, RetryWebhookDeliveryResponses, RotateInboundMailboxData, RotateInboundMailboxError, RotateInboundMailboxErrors, RotateInboundMailboxResponse, RotateInboundMailboxResponses, Run, RunCheckUsed, SaveAgentThreadData, SaveAgentThreadError, SaveAgentThreadErrors, SaveAgentThreadRequest, SaveAgentThreadResponse, SaveAgentThreadResponses, SchemaChange, Scope, SignIn, SignInList, StartLoginData, StartLoginError, StartLoginErrors, StartLoginResponse, StartLoginResponses, Status, StreamSupportWidgetData, StreamSupportWidgetError, StreamSupportWidgetErrors, StreamSupportWidgetResponse, StreamSupportWidgetResponses, SuggestCompaniesData, SuggestCompaniesError, SuggestCompaniesErrors, SuggestCompaniesResponse, SuggestCompaniesResponses, SuggestValidatorData, SuggestValidatorError, SuggestValidatorErrors, SuggestValidatorRequest, SuggestValidatorResponse, SuggestValidatorResponses, SupportAttachment, SupportAttachmentInfo, SupportConfig, SupportConversation, SupportEmailCode, SupportEmailVerified, SupportMessage, SupportWidgetChallenge, SupportWidgetConfig, SupportWidgetReply, SupportWidgetState, SupportWidgetToken, SupportWidgetVisitor, TestValidatorData, TestValidatorError, TestValidatorErrors, TestValidatorRequest, TestValidatorResponse, TestValidatorResponses, TestWebhookEndpointData, TestWebhookEndpointError, TestWebhookEndpointErrors, TestWebhookEndpointResponse, TestWebhookEndpointResponses, Typizer, TypizerCheck, TypizerDraft, TypizerOrganization, TypizerVersion, UnfavoriteCatalogEntryData, UnfavoriteCatalogEntryError, UnfavoriteCatalogEntryErrors, UnfavoriteCatalogEntryResponse, UnfavoriteCatalogEntryResponses, UnpublishCatalogEntryData, UnpublishCatalogEntryError, UnpublishCatalogEntryErrors, UnpublishCatalogEntryResponse, UnpublishCatalogEntryResponses, UpdateAgentThreadData, UpdateAgentThreadError, UpdateAgentThreadErrors, UpdateAgentThreadRequest, UpdateAgentThreadResponse, UpdateAgentThreadResponses, UpdateAutotopupData, UpdateAutotopupError, UpdateAutotopupErrors, UpdateAutotopupRequest, UpdateAutotopupResponse, UpdateAutotopupResponses, UpdateBillingProfileData, UpdateBillingProfileError, UpdateBillingProfileErrors, UpdateBillingProfileRequest, UpdateBillingProfileResponse, UpdateBillingProfileResponses, UpdateInboundMailboxData, UpdateInboundMailboxError, UpdateInboundMailboxErrors, UpdateInboundMailboxRequest, UpdateInboundMailboxResponse, UpdateInboundMailboxResponses, UpdateOrganizationData, UpdateOrganizationError, UpdateOrganizationErrors, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOrganizationResponses, UpdateTypizerData, UpdateTypizerError, UpdateTypizerErrors, UpdateTypizerRequest, UpdateTypizerResponse, UpdateTypizerResponses, UpdateValidatorData, UpdateValidatorError, UpdateValidatorErrors, UpdateValidatorRequest, UpdateValidatorResponse, UpdateValidatorResponses, UpdateWebhookEndpointData, UpdateWebhookEndpointError, UpdateWebhookEndpointErrors, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpsertOwnCatalogPublisherData, UpsertOwnCatalogPublisherError, UpsertOwnCatalogPublisherErrors, UpsertOwnCatalogPublisherResponse, UpsertOwnCatalogPublisherResponses, Usage, UsageRow, Validator, ValidatorDetail, ValidatorSuggestion, ValidatorTest, ValidatorTestResult, ValidatorUpdateResult, ValidatorUsedBy, ValidatorVersion, VerifySupportEmailData, VerifySupportEmailError, VerifySupportEmailErrors, VerifySupportEmailRequest, VerifySupportEmailResponse, VerifySupportEmailResponses, WebhookDelivery, WebhookEndpoint, WebhookEventType } from './types.gen.js';
package/dist/gen/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- export { applyTypizerCatalogUpdate, approveConnectorLinkRequest, createAgentMessage, createAgentSampleRun, createAgentThread, createApiKey, createBatch, createCheckout, createConnectorLink, createConsent, createContractRequest, createDemoRun, createFile, createInboundMailbox, createInvoice, createRun, createToolOcr, createTypizer, createWebhookEndpoint, deleteApiKey, deleteFile, deleteInboundMailbox, deleteMe, deleteOrganization, deleteTypizer, deleteWebhookEndpoint, exportBatch, extract, favoriteCatalogEntry, forkCatalogEntry, generateTypizer, getActPdf, getAgentThread, getBalance, getBatch, getBillingProfile, getCatalogEntry, getCatalogPublisher, getCommunityCatalogEntry, getCompany, getConnectorLinkRequest, getContractRequestPdf, getDemoQuota, getDemoRun, getFile, getFileContent, getMe, getMyConsents, getOpenApiDocument, getOrganization, getOwnCatalogPublisher, getPayment, getRun, getRunOutput, getStatus, getToolOcrQuota, getTypizer, getTypizerCatalogUpdate, getTypizerVersion, getTypizerXsd, getUsage, getWebhookEndpoint, installCatalogEntry, listAgentThreads, listApiKeys, listBatches, listCatalog, listCatalogVersions, listContractRequests, listDemoSamples, listInboundMailboxes, listInboundMessages, listOwnCatalogEntries, listPayments, listRuns, listSignIns, listTypizers, listTypizerVersions, listWebhookDeliveries, listWebhookEndpoints, publishTypizer, rejectConnectorLinkRequest, reportCatalogEntry, retryRun, retryWebhookDelivery, rotateInboundMailbox, saveAgentThread, startLogin, suggestCompanies, testWebhookEndpoint, unfavoriteCatalogEntry, unpublishCatalogEntry, updateAgentThread, updateAutotopup, updateBillingProfile, updateInboundMailbox, updateOrganization, updateTypizer, updateWebhookEndpoint, upsertOwnCatalogPublisher } from './sdk.gen.js';
2
+ export { applyTypizerCatalogUpdate, approveConnectorLinkRequest, closeSupportConversation, createAgentMessage, createAgentSampleRun, createAgentThread, createApiKey, createBatch, createCheckout, createConnectorLink, createConsent, createContractRequest, createDemoRun, createFile, createInboundMailbox, createInvoice, createRun, createSupportAttachment, createSupportConversation, createSupportEmailCode, createSupportMessage, createSupportWidgetChallenge, createSupportWidgetMessage, createSupportWidgetToken, createSupportWidgetVisitor, createToolOcr, createTypizer, createValidator, createWebhookEndpoint, deleteApiKey, deleteFile, deleteInboundMailbox, deleteMe, deleteOrganization, deleteTypizer, deleteValidator, deleteWebhookEndpoint, exportBatch, extract, favoriteCatalogEntry, forkCatalogEntry, generateTypizer, getActPdf, getAgentThread, getBalance, getBatch, getBillingProfile, getCatalogEntry, getCatalogPublisher, getCommunityCatalogEntry, getCompany, getConnectorLinkRequest, getContractRequestPdf, getDemoQuota, getDemoRun, getFile, getFileContent, getMe, getMyConsents, getOpenApiDocument, getOrganization, getOwnCatalogPublisher, getPayment, getRun, getRunOutput, getStatus, getSupportConfig, getSupportConversation, getSupportWidgetConfig, getSupportWidgetState, getToolOcrQuota, getTypizer, getTypizerCatalogUpdate, getTypizerVersion, getTypizerXsd, getUsage, getValidator, getValidatorBySlug, getWebhookEndpoint, installCatalogEntry, listAgentThreads, listApiKeys, listBatches, listCatalog, listCatalogVersions, listContractRequests, listDemoSamples, listInboundMailboxes, listInboundMessages, listOwnCatalogEntries, listPayments, listRuns, listSignIns, listSupportConversations, listTypizers, listTypizerVersions, listValidatorFieldValues, listValidators, listWebhookDeliveries, listWebhookEndpoints, publishTypizer, publishValidator, rateSupportConversation, rejectConnectorLinkRequest, reopenSupportConversation, reportCatalogEntry, retryRun, retryWebhookDelivery, rotateInboundMailbox, saveAgentThread, startLogin, streamSupportWidget, suggestCompanies, suggestValidator, testValidator, testWebhookEndpoint, unfavoriteCatalogEntry, unpublishCatalogEntry, updateAgentThread, updateAutotopup, updateBillingProfile, updateInboundMailbox, updateOrganization, updateTypizer, updateValidator, updateWebhookEndpoint, upsertOwnCatalogPublisher, verifySupportEmail } from './sdk.gen.js';