From 05d704fbd057f52bd6e5fca933d9be09bc62c001 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 6 Jan 2026 11:54:34 +0000 Subject: [PATCH] SDK regeneration --- src/api/resources/facts/client/Client.ts | 12 +++--- .../requests/FactsBatchUpdateRequest.ts | 2 +- .../client/requests/FactsUpdateRequest.ts | 2 +- src/api/types/DocumentsCreateRequest.ts | 2 +- src/api/types/DocumentsSectionOverride.ts | 16 +++++++ src/api/types/DocumentsTemplate.ts | 8 +++- .../types/DocumentsTemplateWithSections.ts | 13 ++++++ src/api/types/FactsBatchUpdateInput.ts | 4 +- src/api/types/FactsBatchUpdateItem.ts | 2 +- src/api/types/FactsContext.ts | 2 +- src/api/types/FactsCreateInput.ts | 2 +- src/api/types/FactsCreateItem.ts | 4 +- src/api/types/FactsListItem.ts | 4 +- src/api/types/FactsUpdateResponse.ts | 2 +- .../types/TemplatesDocumentationModeEnum.ts | 12 ++++++ src/api/types/TemplatesItem.ts | 1 + src/api/types/TemplatesSection.ts | 1 + src/api/types/index.ts | 3 ++ .../types/DocumentsSectionOverride.ts | 28 +++++++++++++ src/serialization/types/DocumentsTemplate.ts | 9 ++-- .../types/DocumentsTemplateWithSections.ts | 25 +++++++++++ .../types/FactsBatchUpdateInput.ts | 5 +-- .../types/FactsBatchUpdateItem.ts | 4 +- src/serialization/types/FactsCreateItem.ts | 4 +- src/serialization/types/FactsListItem.ts | 4 +- .../types/FactsUpdateResponse.ts | 4 +- .../types/TemplatesDocumentationModeEnum.ts | 16 +++++++ src/serialization/types/TemplatesItem.ts | 3 ++ src/serialization/types/TemplatesSection.ts | 3 ++ src/serialization/types/index.ts | 3 ++ yarn.lock | 42 +++++++++---------- 31 files changed, 184 insertions(+), 58 deletions(-) create mode 100644 src/api/types/DocumentsSectionOverride.ts create mode 100644 src/api/types/DocumentsTemplateWithSections.ts create mode 100644 src/api/types/TemplatesDocumentationModeEnum.ts create mode 100644 src/serialization/types/DocumentsSectionOverride.ts create mode 100644 src/serialization/types/DocumentsTemplateWithSections.ts create mode 100644 src/serialization/types/TemplatesDocumentationModeEnum.ts diff --git a/src/api/resources/facts/client/Client.ts b/src/api/resources/facts/client/Client.ts index 55b9f98d..d023b2ad 100644 --- a/src/api/resources/facts/client/Client.ts +++ b/src/api/resources/facts/client/Client.ts @@ -344,7 +344,7 @@ export class Facts { * @example * await client.facts.batchUpdate("f47ac10b-58cc-4372-a567-0e02b2c3d479", { * facts: [{ - * factId: "f47ac10b-58cc-4372-a567-0e02b2c3d479" + * factId: "3c9d8a12-7f44-4b3e-9e6f-9271c2bbfa08" * }] * }) */ @@ -442,18 +442,18 @@ export class Facts { * Updates an existing fact associated with a specific interaction. * * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID. - * @param {Corti.Uuid} factId - The unique identifier of the fact to update. Must be a valid UUID. + * @param {string} factId - The unique identifier of the fact to update. Must be a valid UUID. * @param {Corti.FactsUpdateRequest} request * @param {Facts.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Corti.GatewayTimeoutError} * * @example - * await client.facts.update("f47ac10b-58cc-4372-a567-0e02b2c3d479", "f47ac10b-58cc-4372-a567-0e02b2c3d479") + * await client.facts.update("f47ac10b-58cc-4372-a567-0e02b2c3d479", "3c9d8a12-7f44-4b3e-9e6f-9271c2bbfa08") */ public update( id: Corti.Uuid, - factId: Corti.Uuid, + factId: string, request: Corti.FactsUpdateRequest = {}, requestOptions?: Facts.RequestOptions, ): core.HttpResponsePromise { @@ -462,7 +462,7 @@ export class Facts { private async __update( id: Corti.Uuid, - factId: Corti.Uuid, + factId: string, request: Corti.FactsUpdateRequest = {}, requestOptions?: Facts.RequestOptions, ): Promise> { @@ -470,7 +470,7 @@ export class Facts { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/${encodeURIComponent(serializers.Uuid.jsonOrThrow(factId, { omitUndefined: true }))}`, + `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/${encodeURIComponent(factId)}`, ), method: "PATCH", headers: mergeHeaders( diff --git a/src/api/resources/facts/client/requests/FactsBatchUpdateRequest.ts b/src/api/resources/facts/client/requests/FactsBatchUpdateRequest.ts index 38bd5fd8..4e1d1097 100644 --- a/src/api/resources/facts/client/requests/FactsBatchUpdateRequest.ts +++ b/src/api/resources/facts/client/requests/FactsBatchUpdateRequest.ts @@ -8,7 +8,7 @@ import * as Corti from "../../../../index.js"; * @example * { * facts: [{ - * factId: "f47ac10b-58cc-4372-a567-0e02b2c3d479" + * factId: "3c9d8a12-7f44-4b3e-9e6f-9271c2bbfa08" * }] * } */ diff --git a/src/api/resources/facts/client/requests/FactsUpdateRequest.ts b/src/api/resources/facts/client/requests/FactsUpdateRequest.ts index 2c792157..63196a68 100644 --- a/src/api/resources/facts/client/requests/FactsUpdateRequest.ts +++ b/src/api/resources/facts/client/requests/FactsUpdateRequest.ts @@ -13,7 +13,7 @@ export interface FactsUpdateRequest { text?: string; /** The updated group key for the fact. */ group?: string; - /** The updated origin of the fact. Set to 'USER' to indicate a change by an end-user. */ + /** To track the updated source of the fact. Set to 'user' to indicate a change by an end-user. */ source?: Corti.CommonSourceEnum; /** Set this to true if discarded by an end-user, then filter out from the document generation request. */ isDiscarded?: boolean; diff --git a/src/api/types/DocumentsCreateRequest.ts b/src/api/types/DocumentsCreateRequest.ts index 57ce95be..e61c566b 100644 --- a/src/api/types/DocumentsCreateRequest.ts +++ b/src/api/types/DocumentsCreateRequest.ts @@ -9,5 +9,5 @@ export type DocumentsCreateRequest = * Standard method for document generation: Use template key to generate document based on pre-defined template. */ | Corti.DocumentsCreateRequestWithTemplateKey /** - * Advanced method for document generation: Define sectionKeys in the request to build a template dynamically. See a detailed example [here](/templates/documents-advanced#assemble-a-template-with-extra-instructions). */ + * Advanced method for document generation: Define Sections in the request to build a template dynamically. See a detailed example [here](/templates/documents-advanced#assemble-a-template-with-extra-instructions). */ | Corti.DocumentsCreateRequestWithTemplate; diff --git a/src/api/types/DocumentsSectionOverride.ts b/src/api/types/DocumentsSectionOverride.ts new file mode 100644 index 00000000..85736e5f --- /dev/null +++ b/src/api/types/DocumentsSectionOverride.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface DocumentsSectionOverride { + /** The key of the section to be used during document generation. */ + key: string; + /** Override to use as the name for the section during document generation. */ + nameOverride?: string; + /** Override to use for the section-level writing style. */ + writingStyleOverride?: string; + /** Override to use for the section-level format rule. */ + formatRuleOverride?: string; + /** Override to use for the section-level additional instructions. */ + additionalInstructionsOverride?: string; +} diff --git a/src/api/types/DocumentsTemplate.ts b/src/api/types/DocumentsTemplate.ts index 9531b8be..af732607 100644 --- a/src/api/types/DocumentsTemplate.ts +++ b/src/api/types/DocumentsTemplate.ts @@ -4,4 +4,10 @@ import * as Corti from "../index.js"; -export type DocumentsTemplate = Corti.DocumentsTemplateWithSectionKeys; +export type DocumentsTemplate = + /** + * Flexible sections to be used in document generation. */ + | Corti.DocumentsTemplateWithSections + /** + * Section keys to be used in document generation, without overrides. */ + | Corti.DocumentsTemplateWithSectionKeys; diff --git a/src/api/types/DocumentsTemplateWithSections.ts b/src/api/types/DocumentsTemplateWithSections.ts new file mode 100644 index 00000000..33a7505c --- /dev/null +++ b/src/api/types/DocumentsTemplateWithSections.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Corti from "../index.js"; + +export interface DocumentsTemplateWithSections { + sections?: Corti.DocumentsSectionOverride[]; + /** A brief description of the document that can help give the LLM some context. */ + description?: string; + /** Override to use for the template-level additional instructions. */ + additionalInstructionsOverride?: string; +} diff --git a/src/api/types/FactsBatchUpdateInput.ts b/src/api/types/FactsBatchUpdateInput.ts index c9df2cef..53340cdf 100644 --- a/src/api/types/FactsBatchUpdateInput.ts +++ b/src/api/types/FactsBatchUpdateInput.ts @@ -2,11 +2,9 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Corti from "../index.js"; - export interface FactsBatchUpdateInput { /** The unique identifier of the fact to be updated. */ - factId: Corti.Uuid; + factId: string; /** Set this to true for facts discarded by an end-user, then filter those out from the document generation request. */ isDiscarded?: boolean; /** The updated text content of the fact. */ diff --git a/src/api/types/FactsBatchUpdateItem.ts b/src/api/types/FactsBatchUpdateItem.ts index dc60f436..dd1beaca 100644 --- a/src/api/types/FactsBatchUpdateItem.ts +++ b/src/api/types/FactsBatchUpdateItem.ts @@ -6,7 +6,7 @@ import * as Corti from "../index.js"; export interface FactsBatchUpdateItem { /** The unique identifier of the updated fact. */ - id: Corti.Uuid; + id: string; /** The updated text content of the fact. */ text: string; /** The updated group key to which the fact belongs. */ diff --git a/src/api/types/FactsContext.ts b/src/api/types/FactsContext.ts index 1f348a25..dc3d11bc 100644 --- a/src/api/types/FactsContext.ts +++ b/src/api/types/FactsContext.ts @@ -9,6 +9,6 @@ export interface FactsContext { text: string; /** The group to which the fact belongs. */ group?: string; - /** The source of the fact. 'USER' refers to facts provided by the user, while 'SYSTEM' refers to system-generated facts (e.g., EHR). */ + /** Source 'core' indicates facts generated by the LLM, 'user' for facts added by the user, 'system' for system-derived facts (e.g. EHR). */ source: Corti.CommonSourceEnum; } diff --git a/src/api/types/FactsCreateInput.ts b/src/api/types/FactsCreateInput.ts index 056c11ba..7ab1ebb2 100644 --- a/src/api/types/FactsCreateInput.ts +++ b/src/api/types/FactsCreateInput.ts @@ -9,6 +9,6 @@ export interface FactsCreateInput { text: string; /** The key identifying the group to which the fact belongs. */ group: string; - /** The origin of the fact, such as 'USER' or 'SYSTEM'. */ + /** To track the source of a fact. Set 'user' for an end-user, 'system' for EHR-derived facts. 'core' is used for facts generated by the LLM. */ source?: Corti.CommonSourceEnum; } diff --git a/src/api/types/FactsCreateItem.ts b/src/api/types/FactsCreateItem.ts index c20b3ba0..aeb96891 100644 --- a/src/api/types/FactsCreateItem.ts +++ b/src/api/types/FactsCreateItem.ts @@ -6,14 +6,14 @@ import * as Corti from "../index.js"; export interface FactsCreateItem { /** The unique identifier of the newly created fact. */ - id?: Corti.Uuid; + id?: string; /** The textual content of the created fact. */ text?: string; /** The group key categorizing the fact. */ group?: string; /** The unique identifier of the group to which the fact belongs. */ groupId?: Corti.Uuid; - /** The origin of the fact, such as 'USER' or 'SYSTEM'. */ + /** To track the source of a fact. Set 'user' for an end-user, 'system' for EHR-derived facts. 'core' is used for facts generated by the LLM. */ source?: Corti.CommonSourceEnum; /** Indicates whether the fact has been marked as discarded by an end-user. */ isDiscarded?: boolean; diff --git a/src/api/types/FactsListItem.ts b/src/api/types/FactsListItem.ts index 72f01129..c5f87db8 100644 --- a/src/api/types/FactsListItem.ts +++ b/src/api/types/FactsListItem.ts @@ -6,7 +6,7 @@ import * as Corti from "../index.js"; export interface FactsListItem { /** The unique identifier of the fact. */ - id?: Corti.Uuid; + id?: string; /** The text content of the fact. */ text?: string; /** The key identifying the group to which the fact belongs. */ @@ -15,7 +15,7 @@ export interface FactsListItem { groupId?: Corti.Uuid; /** Indicates whether the fact has been marked as discarded by an end-user. */ isDiscarded?: boolean; - /** The origin of the fact. */ + /** Source 'core' indicates facts generated by the LLM, 'user' for facts added by the user, 'system' for system-derived facts (e.g. EHR). */ source?: Corti.CommonSourceEnum; /** The timestamp when the fact was created. */ createdAt?: Date; diff --git a/src/api/types/FactsUpdateResponse.ts b/src/api/types/FactsUpdateResponse.ts index 9188051d..a0920962 100644 --- a/src/api/types/FactsUpdateResponse.ts +++ b/src/api/types/FactsUpdateResponse.ts @@ -6,7 +6,7 @@ import * as Corti from "../index.js"; export interface FactsUpdateResponse { /** The unique identifier of the fact. */ - id: Corti.Uuid; + id: string; /** The updated text content of the fact. */ text: string; /** The updated group key to which the fact belongs. */ diff --git a/src/api/types/TemplatesDocumentationModeEnum.ts b/src/api/types/TemplatesDocumentationModeEnum.ts new file mode 100644 index 00000000..b62e6407 --- /dev/null +++ b/src/api/types/TemplatesDocumentationModeEnum.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * Configures the approach and underlying system prompt that govern how the LLM generates documentation. + */ +export type TemplatesDocumentationModeEnum = "global_sequential" | "routed_parallel"; +export const TemplatesDocumentationModeEnum = { + GlobalSequential: "global_sequential", + RoutedParallel: "routed_parallel", +} as const; diff --git a/src/api/types/TemplatesItem.ts b/src/api/types/TemplatesItem.ts index 51605a16..f3f164ed 100644 --- a/src/api/types/TemplatesItem.ts +++ b/src/api/types/TemplatesItem.ts @@ -15,6 +15,7 @@ export interface TemplatesItem { key: string; /** Status of the template. */ status: string; + documentationMode?: Corti.TemplatesDocumentationModeEnum; /** List of sections included in the template */ templateSections: Corti.TemplatesSectionSorted[]; /** Available translations for the template */ diff --git a/src/api/types/TemplatesSection.ts b/src/api/types/TemplatesSection.ts index 89e76543..3218763c 100644 --- a/src/api/types/TemplatesSection.ts +++ b/src/api/types/TemplatesSection.ts @@ -17,6 +17,7 @@ export interface TemplatesSection { description: string; /** Default writing style for the section */ defaultWritingStyle: Corti.TemplatesWritingStyle; + documentationMode?: Corti.TemplatesDocumentationModeEnum; /** Type of section */ sectionType: string; /** Available translations for the section */ diff --git a/src/api/types/index.ts b/src/api/types/index.ts index a8ae8f54..b6ad46ba 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -3,8 +3,10 @@ export * from "./DocumentsContextWithFacts.js"; export * from "./DocumentsContextWithTranscript.js"; export * from "./DocumentsContextWithString.js"; export * from "./DocumentsSection.js"; +export * from "./DocumentsSectionOverride.js"; export * from "./DocumentsTemplate.js"; export * from "./DocumentsTemplateWithSectionKeys.js"; +export * from "./DocumentsTemplateWithSections.js"; export * from "./InteractionsEncounterCreateRequest.js"; export * from "./InteractionsEncounterUpdateRequest.js"; export * from "./InteractionsEncounterResponse.js"; @@ -49,6 +51,7 @@ export * from "./TranscriptsListItem.js"; export * from "./TranscriptsData.js"; export * from "./TemplatesSection.js"; export * from "./CommonSortingDirectionEnum.js"; +export * from "./TemplatesDocumentationModeEnum.js"; export * from "./TemplatesItem.js"; export * from "./TemplatesSectionSorted.js"; export * from "./CommonTranscriptRequest.js"; diff --git a/src/serialization/types/DocumentsSectionOverride.ts b/src/serialization/types/DocumentsSectionOverride.ts new file mode 100644 index 00000000..46d1a7f3 --- /dev/null +++ b/src/serialization/types/DocumentsSectionOverride.ts @@ -0,0 +1,28 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../index.js"; +import * as Corti from "../../api/index.js"; +import * as core from "../../core/index.js"; + +export const DocumentsSectionOverride: core.serialization.ObjectSchema< + serializers.DocumentsSectionOverride.Raw, + Corti.DocumentsSectionOverride +> = core.serialization.object({ + key: core.serialization.string(), + nameOverride: core.serialization.string().optional(), + writingStyleOverride: core.serialization.string().optional(), + formatRuleOverride: core.serialization.string().optional(), + additionalInstructionsOverride: core.serialization.string().optional(), +}); + +export declare namespace DocumentsSectionOverride { + export interface Raw { + key: string; + nameOverride?: string | null; + writingStyleOverride?: string | null; + formatRuleOverride?: string | null; + additionalInstructionsOverride?: string | null; + } +} diff --git a/src/serialization/types/DocumentsTemplate.ts b/src/serialization/types/DocumentsTemplate.ts index ec097bcc..ebd6c6ab 100644 --- a/src/serialization/types/DocumentsTemplate.ts +++ b/src/serialization/types/DocumentsTemplate.ts @@ -5,13 +5,12 @@ import * as serializers from "../index.js"; import * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import { DocumentsTemplateWithSections } from "./DocumentsTemplateWithSections.js"; import { DocumentsTemplateWithSectionKeys } from "./DocumentsTemplateWithSectionKeys.js"; -export const DocumentsTemplate: core.serialization.ObjectSchema< - serializers.DocumentsTemplate.Raw, - Corti.DocumentsTemplate -> = DocumentsTemplateWithSectionKeys; +export const DocumentsTemplate: core.serialization.Schema = + core.serialization.undiscriminatedUnion([DocumentsTemplateWithSections, DocumentsTemplateWithSectionKeys]); export declare namespace DocumentsTemplate { - export type Raw = DocumentsTemplateWithSectionKeys.Raw; + export type Raw = DocumentsTemplateWithSections.Raw | DocumentsTemplateWithSectionKeys.Raw; } diff --git a/src/serialization/types/DocumentsTemplateWithSections.ts b/src/serialization/types/DocumentsTemplateWithSections.ts new file mode 100644 index 00000000..1cf2393d --- /dev/null +++ b/src/serialization/types/DocumentsTemplateWithSections.ts @@ -0,0 +1,25 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../index.js"; +import * as Corti from "../../api/index.js"; +import * as core from "../../core/index.js"; +import { DocumentsSectionOverride } from "./DocumentsSectionOverride.js"; + +export const DocumentsTemplateWithSections: core.serialization.ObjectSchema< + serializers.DocumentsTemplateWithSections.Raw, + Corti.DocumentsTemplateWithSections +> = core.serialization.object({ + sections: core.serialization.list(DocumentsSectionOverride).optional(), + description: core.serialization.string().optional(), + additionalInstructionsOverride: core.serialization.string().optional(), +}); + +export declare namespace DocumentsTemplateWithSections { + export interface Raw { + sections?: DocumentsSectionOverride.Raw[] | null; + description?: string | null; + additionalInstructionsOverride?: string | null; + } +} diff --git a/src/serialization/types/FactsBatchUpdateInput.ts b/src/serialization/types/FactsBatchUpdateInput.ts index 19586567..fc30a5fc 100644 --- a/src/serialization/types/FactsBatchUpdateInput.ts +++ b/src/serialization/types/FactsBatchUpdateInput.ts @@ -5,13 +5,12 @@ import * as serializers from "../index.js"; import * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; export const FactsBatchUpdateInput: core.serialization.ObjectSchema< serializers.FactsBatchUpdateInput.Raw, Corti.FactsBatchUpdateInput > = core.serialization.object({ - factId: Uuid, + factId: core.serialization.string(), isDiscarded: core.serialization.boolean().optional(), text: core.serialization.string().optional(), group: core.serialization.string().optional(), @@ -19,7 +18,7 @@ export const FactsBatchUpdateInput: core.serialization.ObjectSchema< export declare namespace FactsBatchUpdateInput { export interface Raw { - factId: Uuid.Raw; + factId: string; isDiscarded?: boolean | null; text?: string | null; group?: string | null; diff --git a/src/serialization/types/FactsBatchUpdateItem.ts b/src/serialization/types/FactsBatchUpdateItem.ts index 036635b8..bd339a35 100644 --- a/src/serialization/types/FactsBatchUpdateItem.ts +++ b/src/serialization/types/FactsBatchUpdateItem.ts @@ -12,7 +12,7 @@ export const FactsBatchUpdateItem: core.serialization.ObjectSchema< serializers.FactsBatchUpdateItem.Raw, Corti.FactsBatchUpdateItem > = core.serialization.object({ - id: Uuid, + id: core.serialization.string(), text: core.serialization.string(), group: core.serialization.string(), groupId: Uuid, @@ -24,7 +24,7 @@ export const FactsBatchUpdateItem: core.serialization.ObjectSchema< export declare namespace FactsBatchUpdateItem { export interface Raw { - id: Uuid.Raw; + id: string; text: string; group: string; groupId: Uuid.Raw; diff --git a/src/serialization/types/FactsCreateItem.ts b/src/serialization/types/FactsCreateItem.ts index 619cb583..a9c750c2 100644 --- a/src/serialization/types/FactsCreateItem.ts +++ b/src/serialization/types/FactsCreateItem.ts @@ -10,7 +10,7 @@ import { CommonSourceEnum } from "./CommonSourceEnum.js"; export const FactsCreateItem: core.serialization.ObjectSchema = core.serialization.object({ - id: Uuid.optional(), + id: core.serialization.string().optional(), text: core.serialization.string().optional(), group: core.serialization.string().optional(), groupId: Uuid.optional(), @@ -21,7 +21,7 @@ export const FactsCreateItem: core.serialization.ObjectSchema = core.serialization.object({ - id: Uuid.optional(), + id: core.serialization.string().optional(), text: core.serialization.string().optional(), group: core.serialization.string().optional(), groupId: Uuid.optional(), @@ -24,7 +24,7 @@ export const FactsListItem: core.serialization.ObjectSchema = core.serialization.object({ - id: Uuid, + id: core.serialization.string(), text: core.serialization.string(), group: core.serialization.string(), groupId: Uuid, @@ -24,7 +24,7 @@ export const FactsUpdateResponse: core.serialization.ObjectSchema< export declare namespace FactsUpdateResponse { export interface Raw { - id: Uuid.Raw; + id: string; text: string; group: string; groupId: Uuid.Raw; diff --git a/src/serialization/types/TemplatesDocumentationModeEnum.ts b/src/serialization/types/TemplatesDocumentationModeEnum.ts new file mode 100644 index 00000000..653866ae --- /dev/null +++ b/src/serialization/types/TemplatesDocumentationModeEnum.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../index.js"; +import * as Corti from "../../api/index.js"; +import * as core from "../../core/index.js"; + +export const TemplatesDocumentationModeEnum: core.serialization.Schema< + serializers.TemplatesDocumentationModeEnum.Raw, + Corti.TemplatesDocumentationModeEnum +> = core.serialization.enum_(["global_sequential", "routed_parallel"]); + +export declare namespace TemplatesDocumentationModeEnum { + export type Raw = "global_sequential" | "routed_parallel"; +} diff --git a/src/serialization/types/TemplatesItem.ts b/src/serialization/types/TemplatesItem.ts index 35e6350d..1edda9d2 100644 --- a/src/serialization/types/TemplatesItem.ts +++ b/src/serialization/types/TemplatesItem.ts @@ -5,6 +5,7 @@ import * as serializers from "../index.js"; import * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import { TemplatesDocumentationModeEnum } from "./TemplatesDocumentationModeEnum.js"; import { TemplatesSectionSorted } from "./TemplatesSectionSorted.js"; import { TemplatesTranslation } from "./TemplatesTranslation.js"; @@ -15,6 +16,7 @@ export const TemplatesItem: core.serialization.ObjectSchema