@corti/sdk 2.0.0-templates.7 → 2.0.0-templates.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +0 -15
- package/dist/cjs/Client.js +20 -45
- package/dist/cjs/api/resources/documents/client/Client.d.ts +41 -0
- package/dist/cjs/api/resources/documents/client/Client.js +111 -0
- package/dist/cjs/api/resources/documents/client/requests/GenerateDocumentsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/documents/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/documents/index.d.ts +2 -0
- package/dist/cjs/api/resources/documents/index.js +2 -0
- package/dist/cjs/api/resources/documents/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/documents/resources/index.js +43 -0
- package/dist/cjs/api/resources/documents/resources/sections/client/Client.d.ts +84 -0
- package/dist/cjs/api/resources/{alphaSections → documents/resources/sections}/client/Client.js +44 -36
- package/dist/cjs/api/resources/documents/resources/sections/client/requests/ListSectionsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.ts +13 -0
- package/dist/cjs/api/resources/documents/resources/sections/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/documents/resources/sections/index.d.ts +2 -0
- package/dist/cjs/api/resources/{alphaSections → documents/resources/sections}/index.js +1 -0
- package/dist/cjs/api/resources/documents/resources/sections/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/documents/resources/sections/resources/index.js +41 -0
- package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/Client.d.ts +87 -0
- package/dist/cjs/api/resources/{alphaSectionVersions → documents/resources/sections/resources/versions}/client/Client.js +43 -39
- package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.ts +18 -0
- package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/documents/resources/templates/client/Client.d.ts +80 -0
- package/dist/cjs/api/resources/{alphaTemplates → documents/resources/templates}/client/Client.js +44 -36
- package/dist/cjs/api/resources/documents/resources/templates/client/requests/ListTemplatesRequest.d.ts +16 -0
- package/dist/cjs/api/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.ts +13 -0
- package/dist/cjs/api/resources/documents/resources/templates/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/documents/resources/templates/index.d.ts +2 -0
- package/dist/cjs/api/resources/documents/resources/templates/index.js +18 -0
- package/dist/cjs/api/resources/documents/resources/templates/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/documents/resources/templates/resources/index.js +42 -0
- package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.d.ts +83 -0
- package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/Client.js +35 -33
- package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/index.js +17 -0
- package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/CreateTemplateVersionRequest.d.ts +2 -2
- package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/CreateTemplateVersionRequestGeneration.d.ts +1 -1
- package/dist/cjs/api/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.d.ts +4 -0
- package/dist/cjs/api/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.js +7 -0
- package/dist/cjs/api/resources/documents/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/documents/types/index.js +17 -0
- package/dist/cjs/api/resources/facts/client/requests/FactsExtractRequest.d.ts +1 -1
- package/dist/cjs/api/resources/index.d.ts +1 -9
- package/dist/cjs/api/resources/index.js +2 -10
- package/dist/cjs/api/resources/stream/client/Socket.d.ts +1 -1
- package/dist/cjs/api/resources/templates/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/templates/client/Client.js +2 -2
- package/dist/{esm/api/resources/templates/client/requests/TemplatesListRequest.d.mts → cjs/api/resources/templates/client/requests/ListTemplatesRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/templates/client/requests/{TemplatesSectionListRequest.d.ts → SectionListTemplatesRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/templates/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/transcribe/client/Socket.d.ts +1 -1
- package/dist/cjs/api/resources/transcripts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/transcripts/client/Client.js +1 -1
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -1
- package/dist/cjs/api/types/CreateEphemeralDocumentResponse.d.ts +8 -0
- package/dist/cjs/api/types/CreateSectionBase.d.ts +8 -3
- package/dist/cjs/api/types/CreateSectionFromInheritanceRequest.d.ts +1 -1
- package/dist/cjs/api/types/CreateTemplateBase.d.ts +10 -3
- package/dist/cjs/api/types/CreateTemplateFromInheritanceRequest.d.ts +2 -2
- package/dist/cjs/api/types/DocumentationEvidence.d.ts +6 -0
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplate.d.ts +1 -1
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateKey.d.ts +1 -1
- package/dist/cjs/api/types/DocumentsGetResponse.d.ts +1 -1
- package/dist/cjs/api/types/EphemeralDocument.d.ts +12 -0
- package/dist/cjs/api/types/EphemeralDocument.js +3 -0
- package/dist/cjs/api/types/GuidedAssemblyRequest.d.ts +0 -2
- package/dist/cjs/api/types/GuidedDocumentBase.d.ts +12 -0
- package/dist/cjs/api/types/GuidedDocumentBase.js +3 -0
- package/dist/cjs/api/types/GuidedDocumentByAssembly.d.ts +1 -5
- package/dist/cjs/api/types/GuidedDocumentByDynamic.d.ts +1 -5
- package/dist/cjs/api/types/GuidedDocumentByTemplateRef.d.ts +1 -5
- package/dist/cjs/api/types/GuidedDynamicRequest.d.ts +0 -2
- package/dist/cjs/api/types/GuidedSectionOverride.d.ts +1 -5
- package/dist/cjs/api/types/Label.d.ts +4 -0
- package/dist/cjs/api/types/Label.js +3 -0
- package/dist/cjs/api/types/Section.d.ts +9 -3
- package/dist/cjs/api/types/SectionInstructionsOverride.d.ts +2 -0
- package/dist/cjs/api/types/SectionOverrides.d.ts +2 -2
- package/dist/cjs/api/types/SectionSource.d.ts +6 -0
- package/dist/cjs/api/types/SectionSource.js +9 -0
- package/dist/cjs/api/types/StatusResponse.d.ts +2 -0
- package/dist/cjs/api/types/StreamAudioEventData.d.ts +9 -0
- package/dist/cjs/api/types/StreamAudioEventData.js +3 -0
- package/dist/cjs/api/types/StreamAudioEventDataEvent.d.ts +8 -0
- package/dist/cjs/api/types/StreamAudioEventDataEvent.js +11 -0
- package/dist/cjs/api/types/StreamAudioEventMessage.d.ts +5 -0
- package/dist/cjs/api/types/StreamAudioEventMessage.js +3 -0
- package/dist/cjs/api/types/StreamAudioEventsConfig.d.ts +4 -0
- package/dist/cjs/api/types/StreamAudioEventsConfig.js +3 -0
- package/dist/cjs/api/types/StreamConfig.d.ts +1 -0
- package/dist/cjs/api/types/StreamConfigMode.d.ts +2 -0
- package/dist/cjs/api/types/StreamConfigModeFactGenerationInterval.d.ts +6 -0
- package/dist/cjs/api/types/StreamConfigModeFactGenerationInterval.js +9 -0
- package/dist/cjs/api/types/Template.d.ts +11 -3
- package/dist/cjs/api/types/TemplateGeneration.d.ts +1 -1
- package/dist/cjs/api/types/TemplateSource.d.ts +6 -0
- package/dist/cjs/api/types/TemplateSource.js +9 -0
- package/dist/cjs/api/types/TranscribeAudioEventData.d.ts +9 -0
- package/dist/cjs/api/types/TranscribeAudioEventData.js +3 -0
- package/dist/cjs/api/types/TranscribeAudioEventDataEvent.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeAudioEventDataEvent.js +11 -0
- package/dist/cjs/api/types/TranscribeAudioEventMessage.d.ts +5 -0
- package/dist/cjs/api/types/TranscribeAudioEventMessage.js +3 -0
- package/dist/cjs/api/types/TranscribeAudioEventsConfig.d.ts +4 -0
- package/dist/cjs/api/types/TranscribeAudioEventsConfig.js +3 -0
- package/dist/cjs/api/types/TranscribeConfig.d.ts +1 -0
- package/dist/cjs/api/types/index.d.ts +16 -4
- package/dist/cjs/api/types/index.js +16 -4
- package/dist/cjs/custom/CortiClient.js +2 -2
- package/dist/cjs/custom/auth/CortiAuth.js +2 -2
- package/dist/cjs/custom/stream/CustomStream.js +2 -2
- package/dist/cjs/custom/transcribe/CustomTranscribe.js +3 -3
- package/dist/cjs/serialization/resources/documents/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/documents/index.js +2 -0
- package/dist/cjs/serialization/resources/documents/resources/index.d.ts +4 -0
- package/dist/cjs/serialization/resources/documents/resources/index.js +43 -0
- package/dist/cjs/serialization/resources/documents/resources/sections/client/list.d.ts +8 -0
- package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/list.js +2 -2
- package/dist/cjs/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.ts +15 -0
- package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/UpdateSectionRequest.js +6 -3
- package/dist/cjs/serialization/resources/documents/resources/sections/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/documents/resources/sections/index.js +18 -0
- package/dist/cjs/serialization/resources/documents/resources/sections/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/documents/resources/sections/resources/index.js +41 -0
- package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/list.d.ts +8 -0
- package/dist/cjs/serialization/resources/{alphaSectionVersions → documents/resources/sections/resources/versions}/client/list.js +2 -2
- package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.js +42 -0
- package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/documents/resources/templates/client/list.d.ts +8 -0
- package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/list.js +2 -2
- package/dist/cjs/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.ts +15 -0
- package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/UpdateTemplateRequest.js +6 -3
- package/dist/cjs/serialization/resources/documents/resources/templates/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/documents/resources/templates/index.js +18 -0
- package/dist/cjs/serialization/resources/documents/resources/templates/resources/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/documents/resources/templates/resources/index.js +42 -0
- package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/index.js +41 -0
- package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/list.d.ts +8 -0
- package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/list.js +2 -2
- package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/CreateTemplateVersionRequest.js +1 -1
- package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.d.ts +12 -0
- package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/CreateTemplateVersionRequestGeneration.js +3 -3
- package/dist/cjs/serialization/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.d.ts +7 -0
- package/dist/cjs/serialization/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.js +39 -0
- package/dist/cjs/serialization/resources/documents/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/documents/types/index.js +17 -0
- package/dist/cjs/serialization/resources/index.d.ts +1 -8
- package/dist/cjs/serialization/resources/index.js +2 -9
- package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.d.ts +3 -2
- package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.js +2 -0
- package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.ts +3 -2
- package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.js +2 -0
- package/dist/cjs/serialization/types/CreateEphemeralDocumentResponse.d.ts +12 -0
- package/dist/cjs/serialization/types/CreateEphemeralDocumentResponse.js +44 -0
- package/dist/cjs/serialization/types/CreateSectionBase.d.ts +5 -2
- package/dist/cjs/serialization/types/CreateSectionBase.js +5 -2
- package/dist/cjs/serialization/types/CreateSectionFromInheritanceRequest.d.ts +1 -1
- package/dist/cjs/serialization/types/CreateSectionFromInheritanceRequest.js +1 -1
- package/dist/cjs/serialization/types/CreateTemplateBase.d.ts +6 -2
- package/dist/cjs/serialization/types/CreateTemplateBase.js +6 -2
- package/dist/cjs/serialization/types/CreateTemplateFromInheritanceRequest.d.ts +1 -1
- package/dist/cjs/serialization/types/CreateTemplateFromInheritanceRequest.js +1 -1
- package/dist/cjs/serialization/types/DocumentationEvidence.d.ts +12 -0
- package/dist/cjs/serialization/types/{GuidedDocumentResponse.js → DocumentationEvidence.js} +6 -6
- package/dist/cjs/serialization/types/EphemeralDocument.d.ts +14 -0
- package/dist/cjs/serialization/types/{GuidedGenerationResult.js → EphemeralDocument.js} +7 -5
- package/dist/cjs/serialization/types/GuidedAssemblyRequest.d.ts +0 -1
- package/dist/cjs/serialization/types/GuidedAssemblyRequest.js +0 -1
- package/dist/cjs/serialization/types/GuidedDocumentBase.d.ts +12 -0
- package/dist/cjs/serialization/types/GuidedDocumentBase.js +44 -0
- package/dist/cjs/serialization/types/GuidedDocumentByAssembly.d.ts +2 -4
- package/dist/cjs/serialization/types/GuidedDocumentByAssembly.js +5 -5
- package/dist/cjs/serialization/types/GuidedDocumentByDynamic.d.ts +2 -4
- package/dist/cjs/serialization/types/GuidedDocumentByDynamic.js +5 -5
- package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.d.ts +2 -4
- package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.js +5 -5
- package/dist/cjs/serialization/types/GuidedDynamicRequest.d.ts +0 -1
- package/dist/cjs/serialization/types/GuidedDynamicRequest.js +0 -1
- package/dist/cjs/serialization/types/GuidedSectionOverride.d.ts +3 -5
- package/dist/cjs/serialization/types/GuidedSectionOverride.js +2 -5
- package/dist/cjs/serialization/types/Label.d.ts +10 -0
- package/dist/cjs/serialization/types/{GuidedGenerationResultUsageTokenCount.js → Label.js} +4 -4
- package/dist/cjs/serialization/types/Section.d.ts +7 -2
- package/dist/cjs/serialization/types/Section.js +7 -2
- package/dist/cjs/serialization/types/SectionInstructionsOverride.d.ts +1 -0
- package/dist/cjs/serialization/types/SectionInstructionsOverride.js +1 -0
- package/dist/cjs/serialization/types/SectionOverrides.d.ts +1 -1
- package/dist/cjs/serialization/types/SectionOverrides.js +1 -1
- package/dist/cjs/serialization/types/SectionSource.d.ts +7 -0
- package/dist/cjs/serialization/{resources/alphaSectionVersions/client/index.js → types/SectionSource.js} +4 -2
- package/dist/cjs/serialization/types/StatusResponse.d.ts +2 -0
- package/dist/cjs/serialization/types/StatusResponse.js +2 -0
- package/dist/cjs/serialization/types/StreamAudioEventData.d.ts +12 -0
- package/dist/cjs/serialization/types/StreamAudioEventData.js +44 -0
- package/dist/cjs/serialization/types/StreamAudioEventDataEvent.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamAudioEventDataEvent.js +44 -0
- package/dist/cjs/serialization/types/StreamAudioEventMessage.d.ts +11 -0
- package/dist/cjs/serialization/types/StreamAudioEventMessage.js +43 -0
- package/dist/cjs/serialization/types/StreamAudioEventsConfig.d.ts +9 -0
- package/dist/cjs/serialization/types/StreamAudioEventsConfig.js +41 -0
- package/dist/cjs/serialization/types/StreamConfig.d.ts +2 -0
- package/dist/cjs/serialization/types/StreamConfig.js +2 -0
- package/dist/cjs/serialization/types/StreamConfigMode.d.ts +2 -0
- package/dist/cjs/serialization/types/StreamConfigMode.js +2 -0
- package/dist/cjs/serialization/types/StreamConfigModeFactGenerationInterval.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamConfigModeFactGenerationInterval.js +39 -0
- package/dist/cjs/serialization/types/Template.d.ts +8 -2
- package/dist/cjs/serialization/types/Template.js +8 -2
- package/dist/cjs/serialization/types/TemplateSource.d.ts +7 -0
- package/dist/cjs/serialization/types/TemplateSource.js +39 -0
- package/dist/cjs/serialization/types/TranscribeAudioEventData.d.ts +12 -0
- package/dist/cjs/serialization/types/TranscribeAudioEventData.js +44 -0
- package/dist/cjs/serialization/types/TranscribeAudioEventDataEvent.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscribeAudioEventDataEvent.js +44 -0
- package/dist/cjs/serialization/types/TranscribeAudioEventMessage.d.ts +11 -0
- package/dist/cjs/serialization/types/{GuidedGenerationResultUsage.js → TranscribeAudioEventMessage.js} +5 -4
- package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.d.ts +9 -0
- package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.js +41 -0
- package/dist/cjs/serialization/types/TranscribeConfig.d.ts +2 -0
- package/dist/cjs/serialization/types/TranscribeConfig.js +2 -0
- package/dist/cjs/serialization/types/index.d.ts +16 -4
- package/dist/cjs/serialization/types/index.js +16 -4
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +0 -15
- package/dist/esm/Client.mjs +0 -25
- package/dist/esm/api/resources/documents/client/Client.d.mts +41 -0
- package/dist/esm/api/resources/documents/client/Client.mjs +111 -0
- package/dist/esm/api/resources/documents/client/requests/GenerateDocumentsRequest.d.mts +17 -0
- package/dist/esm/api/resources/documents/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/documents/index.d.mts +2 -0
- package/dist/esm/api/resources/documents/index.mjs +2 -0
- package/dist/esm/api/resources/documents/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/documents/resources/index.mjs +4 -0
- package/dist/esm/api/resources/documents/resources/sections/client/Client.d.mts +84 -0
- package/dist/esm/api/resources/{alphaSections → documents/resources/sections}/client/Client.mjs +42 -34
- package/dist/esm/api/resources/documents/resources/sections/client/requests/ListSectionsRequest.d.mts +16 -0
- package/dist/esm/api/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.mts +13 -0
- package/dist/esm/api/resources/documents/resources/sections/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/documents/resources/sections/index.d.mts +2 -0
- package/dist/esm/api/resources/documents/resources/sections/index.mjs +2 -0
- package/dist/esm/api/resources/documents/resources/sections/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/documents/resources/sections/resources/index.mjs +2 -0
- package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/Client.d.mts +87 -0
- package/dist/esm/api/resources/{alphaSectionVersions → documents/resources/sections/resources/versions}/client/Client.mjs +41 -37
- package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.mts +18 -0
- package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/documents/resources/templates/client/Client.d.mts +80 -0
- package/dist/esm/api/resources/{alphaTemplates → documents/resources/templates}/client/Client.mjs +42 -34
- package/dist/esm/api/resources/documents/resources/templates/client/requests/ListTemplatesRequest.d.mts +16 -0
- package/dist/esm/api/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.mts +13 -0
- package/dist/esm/api/resources/documents/resources/templates/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/documents/resources/templates/index.d.mts +2 -0
- package/dist/esm/api/resources/documents/resources/templates/index.mjs +2 -0
- package/dist/esm/api/resources/documents/resources/templates/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/documents/resources/templates/resources/index.mjs +3 -0
- package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.d.mts +83 -0
- package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/Client.mjs +33 -31
- package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/index.mjs +1 -0
- package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/CreateTemplateVersionRequest.d.mts +2 -2
- package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/CreateTemplateVersionRequestGeneration.d.mts +1 -1
- package/dist/esm/api/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.d.mts +4 -0
- package/dist/esm/api/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.mjs +4 -0
- package/dist/esm/api/resources/documents/types/index.d.mts +1 -0
- package/dist/esm/api/resources/documents/types/index.mjs +1 -0
- package/dist/esm/api/resources/facts/client/requests/FactsExtractRequest.d.mts +1 -1
- package/dist/esm/api/resources/index.d.mts +1 -9
- package/dist/esm/api/resources/index.mjs +1 -9
- package/dist/esm/api/resources/stream/client/Socket.d.mts +1 -1
- package/dist/esm/api/resources/templates/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/templates/client/Client.mjs +2 -2
- package/dist/{cjs/api/resources/templates/client/requests/TemplatesListRequest.d.ts → esm/api/resources/templates/client/requests/ListTemplatesRequest.d.mts} +1 -1
- package/dist/esm/api/resources/templates/client/requests/{TemplatesSectionListRequest.d.mts → SectionListTemplatesRequest.d.mts} +1 -1
- package/dist/esm/api/resources/templates/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/transcribe/client/Socket.d.mts +1 -1
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/transcripts/client/Client.mjs +1 -1
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -1
- package/dist/esm/api/types/CreateEphemeralDocumentResponse.d.mts +8 -0
- package/dist/esm/api/types/CreateSectionBase.d.mts +8 -3
- package/dist/esm/api/types/CreateSectionFromInheritanceRequest.d.mts +1 -1
- package/dist/esm/api/types/CreateTemplateBase.d.mts +10 -3
- package/dist/esm/api/types/CreateTemplateFromInheritanceRequest.d.mts +2 -2
- package/dist/esm/api/types/DocumentationEvidence.d.mts +6 -0
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplate.d.mts +1 -1
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplateKey.d.mts +1 -1
- package/dist/esm/api/types/DocumentsGetResponse.d.mts +1 -1
- package/dist/esm/api/types/EphemeralDocument.d.mts +12 -0
- package/dist/esm/api/types/EphemeralDocument.mjs +2 -0
- package/dist/esm/api/types/GuidedAssemblyRequest.d.mts +0 -2
- package/dist/esm/api/types/GuidedDocumentBase.d.mts +12 -0
- package/dist/esm/api/types/GuidedDocumentBase.mjs +2 -0
- package/dist/esm/api/types/GuidedDocumentByAssembly.d.mts +1 -5
- package/dist/esm/api/types/GuidedDocumentByDynamic.d.mts +1 -5
- package/dist/esm/api/types/GuidedDocumentByTemplateRef.d.mts +1 -5
- package/dist/esm/api/types/GuidedDynamicRequest.d.mts +0 -2
- package/dist/esm/api/types/GuidedSectionOverride.d.mts +1 -5
- package/dist/esm/api/types/Label.d.mts +4 -0
- package/dist/esm/api/types/Label.mjs +2 -0
- package/dist/esm/api/types/Section.d.mts +9 -3
- package/dist/esm/api/types/SectionInstructionsOverride.d.mts +2 -0
- package/dist/esm/api/types/SectionOverrides.d.mts +2 -2
- package/dist/esm/api/types/SectionSource.d.mts +6 -0
- package/dist/esm/api/types/SectionSource.mjs +6 -0
- package/dist/esm/api/types/StatusResponse.d.mts +2 -0
- package/dist/esm/api/types/StreamAudioEventData.d.mts +9 -0
- package/dist/esm/api/types/StreamAudioEventData.mjs +2 -0
- package/dist/esm/api/types/StreamAudioEventDataEvent.d.mts +8 -0
- package/dist/esm/api/types/StreamAudioEventDataEvent.mjs +8 -0
- package/dist/esm/api/types/StreamAudioEventMessage.d.mts +5 -0
- package/dist/esm/api/types/StreamAudioEventMessage.mjs +2 -0
- package/dist/esm/api/types/StreamAudioEventsConfig.d.mts +4 -0
- package/dist/esm/api/types/StreamAudioEventsConfig.mjs +2 -0
- package/dist/esm/api/types/StreamConfig.d.mts +1 -0
- package/dist/esm/api/types/StreamConfigMode.d.mts +2 -0
- package/dist/esm/api/types/StreamConfigModeFactGenerationInterval.d.mts +6 -0
- package/dist/esm/api/types/StreamConfigModeFactGenerationInterval.mjs +6 -0
- package/dist/esm/api/types/Template.d.mts +11 -3
- package/dist/esm/api/types/TemplateGeneration.d.mts +1 -1
- package/dist/esm/api/types/TemplateSource.d.mts +6 -0
- package/dist/esm/api/types/TemplateSource.mjs +6 -0
- package/dist/esm/api/types/TranscribeAudioEventData.d.mts +9 -0
- package/dist/esm/api/types/TranscribeAudioEventData.mjs +2 -0
- package/dist/esm/api/types/TranscribeAudioEventDataEvent.d.mts +8 -0
- package/dist/esm/api/types/TranscribeAudioEventDataEvent.mjs +8 -0
- package/dist/esm/api/types/TranscribeAudioEventMessage.d.mts +5 -0
- package/dist/esm/api/types/TranscribeAudioEventMessage.mjs +2 -0
- package/dist/esm/api/types/TranscribeAudioEventsConfig.d.mts +4 -0
- package/dist/esm/api/types/TranscribeAudioEventsConfig.mjs +2 -0
- package/dist/esm/api/types/TranscribeConfig.d.mts +1 -0
- package/dist/esm/api/types/index.d.mts +16 -4
- package/dist/esm/api/types/index.mjs +16 -4
- package/dist/esm/custom/CortiClient.mjs +2 -2
- package/dist/esm/custom/auth/CortiAuth.mjs +2 -2
- package/dist/esm/custom/stream/CustomStream.mjs +2 -2
- package/dist/esm/custom/transcribe/CustomTranscribe.mjs +3 -3
- package/dist/esm/serialization/resources/documents/index.d.mts +2 -0
- package/dist/esm/serialization/resources/documents/index.mjs +2 -0
- package/dist/esm/serialization/resources/documents/resources/index.d.mts +4 -0
- package/dist/esm/serialization/resources/documents/resources/index.mjs +4 -0
- package/dist/esm/serialization/resources/documents/resources/sections/client/list.d.mts +8 -0
- package/dist/esm/serialization/resources/documents/resources/sections/client/list.mjs +4 -0
- package/dist/esm/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.mts +15 -0
- package/dist/esm/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.mjs +11 -0
- package/dist/esm/serialization/resources/documents/resources/sections/index.d.mts +2 -0
- package/dist/esm/serialization/resources/documents/resources/sections/index.mjs +2 -0
- package/dist/esm/serialization/resources/documents/resources/sections/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/documents/resources/sections/resources/index.mjs +2 -0
- package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/list.d.mts +8 -0
- package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/list.mjs +4 -0
- package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.mjs +6 -0
- package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/documents/resources/templates/client/list.d.mts +8 -0
- package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/list.mjs +2 -2
- package/dist/esm/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.mts +15 -0
- package/dist/esm/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.mjs +11 -0
- package/dist/esm/serialization/resources/documents/resources/templates/index.d.mts +2 -0
- package/dist/esm/serialization/resources/documents/resources/templates/index.mjs +2 -0
- package/dist/esm/serialization/resources/documents/resources/templates/resources/index.d.mts +3 -0
- package/dist/esm/serialization/resources/documents/resources/templates/resources/index.mjs +3 -0
- package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/list.d.mts +8 -0
- package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/list.mjs +4 -0
- package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/CreateTemplateVersionRequest.mjs +1 -1
- package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.d.mts +12 -0
- package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/CreateTemplateVersionRequestGeneration.mjs +3 -3
- package/dist/esm/serialization/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.d.mts +7 -0
- package/dist/esm/serialization/resources/{alphaSections/client/list.mjs → documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.mjs} +1 -2
- package/dist/esm/serialization/resources/documents/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/documents/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +1 -8
- package/dist/esm/serialization/resources/index.mjs +1 -8
- package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.d.mts +3 -2
- package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.mjs +2 -0
- package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.mts +3 -2
- package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs +2 -0
- package/dist/esm/serialization/types/CreateEphemeralDocumentResponse.d.mts +12 -0
- package/dist/esm/serialization/types/CreateEphemeralDocumentResponse.mjs +8 -0
- package/dist/esm/serialization/types/CreateSectionBase.d.mts +5 -2
- package/dist/esm/serialization/types/CreateSectionBase.mjs +5 -2
- package/dist/esm/serialization/types/CreateSectionFromInheritanceRequest.d.mts +1 -1
- package/dist/esm/serialization/types/CreateSectionFromInheritanceRequest.mjs +1 -1
- package/dist/esm/serialization/types/CreateTemplateBase.d.mts +6 -2
- package/dist/esm/serialization/types/CreateTemplateBase.mjs +6 -2
- package/dist/esm/serialization/types/CreateTemplateFromInheritanceRequest.d.mts +1 -1
- package/dist/esm/serialization/types/CreateTemplateFromInheritanceRequest.mjs +1 -1
- package/dist/esm/serialization/types/DocumentationEvidence.d.mts +12 -0
- package/dist/esm/serialization/types/DocumentationEvidence.mjs +8 -0
- package/dist/esm/serialization/types/EphemeralDocument.d.mts +14 -0
- package/dist/esm/serialization/types/{GuidedGenerationResult.mjs → EphemeralDocument.mjs} +6 -4
- package/dist/esm/serialization/types/GuidedAssemblyRequest.d.mts +0 -1
- package/dist/esm/serialization/types/GuidedAssemblyRequest.mjs +0 -1
- package/dist/esm/serialization/types/GuidedDocumentBase.d.mts +12 -0
- package/dist/esm/serialization/types/GuidedDocumentBase.mjs +8 -0
- package/dist/esm/serialization/types/GuidedDocumentByAssembly.d.mts +2 -4
- package/dist/esm/serialization/types/GuidedDocumentByAssembly.mjs +5 -5
- package/dist/esm/serialization/types/GuidedDocumentByDynamic.d.mts +2 -4
- package/dist/esm/serialization/types/GuidedDocumentByDynamic.mjs +5 -5
- package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.d.mts +2 -4
- package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.mjs +5 -5
- package/dist/esm/serialization/types/GuidedDynamicRequest.d.mts +0 -1
- package/dist/esm/serialization/types/GuidedDynamicRequest.mjs +0 -1
- package/dist/esm/serialization/types/GuidedSectionOverride.d.mts +3 -5
- package/dist/esm/serialization/types/GuidedSectionOverride.mjs +2 -5
- package/dist/esm/serialization/types/Label.d.mts +10 -0
- package/dist/esm/serialization/types/Label.mjs +6 -0
- package/dist/esm/serialization/types/Section.d.mts +7 -2
- package/dist/esm/serialization/types/Section.mjs +7 -2
- package/dist/esm/serialization/types/SectionInstructionsOverride.d.mts +1 -0
- package/dist/esm/serialization/types/SectionInstructionsOverride.mjs +1 -0
- package/dist/esm/serialization/types/SectionOverrides.d.mts +1 -1
- package/dist/esm/serialization/types/SectionOverrides.mjs +1 -1
- package/dist/esm/serialization/types/SectionSource.d.mts +7 -0
- package/dist/esm/serialization/types/SectionSource.mjs +3 -0
- package/dist/esm/serialization/types/StatusResponse.d.mts +2 -0
- package/dist/esm/serialization/types/StatusResponse.mjs +2 -0
- package/dist/esm/serialization/types/StreamAudioEventData.d.mts +12 -0
- package/dist/esm/serialization/types/StreamAudioEventData.mjs +8 -0
- package/dist/esm/serialization/types/StreamAudioEventDataEvent.d.mts +7 -0
- package/dist/esm/serialization/types/StreamAudioEventDataEvent.mjs +8 -0
- package/dist/esm/serialization/types/StreamAudioEventMessage.d.mts +11 -0
- package/dist/esm/serialization/types/StreamAudioEventMessage.mjs +7 -0
- package/dist/esm/serialization/types/StreamAudioEventsConfig.d.mts +9 -0
- package/dist/esm/serialization/types/StreamAudioEventsConfig.mjs +5 -0
- package/dist/esm/serialization/types/StreamConfig.d.mts +2 -0
- package/dist/esm/serialization/types/StreamConfig.mjs +2 -0
- package/dist/esm/serialization/types/StreamConfigMode.d.mts +2 -0
- package/dist/esm/serialization/types/StreamConfigMode.mjs +2 -0
- package/dist/esm/serialization/types/StreamConfigModeFactGenerationInterval.d.mts +7 -0
- package/dist/esm/serialization/types/StreamConfigModeFactGenerationInterval.mjs +3 -0
- package/dist/esm/serialization/types/Template.d.mts +8 -2
- package/dist/esm/serialization/types/Template.mjs +8 -2
- package/dist/esm/serialization/types/TemplateSource.d.mts +7 -0
- package/dist/esm/serialization/types/TemplateSource.mjs +3 -0
- package/dist/esm/serialization/types/TranscribeAudioEventData.d.mts +12 -0
- package/dist/esm/serialization/types/TranscribeAudioEventData.mjs +8 -0
- package/dist/esm/serialization/types/TranscribeAudioEventDataEvent.d.mts +7 -0
- package/dist/esm/serialization/types/TranscribeAudioEventDataEvent.mjs +8 -0
- package/dist/esm/serialization/types/TranscribeAudioEventMessage.d.mts +11 -0
- package/dist/esm/serialization/types/TranscribeAudioEventMessage.mjs +7 -0
- package/dist/esm/serialization/types/TranscribeAudioEventsConfig.d.mts +9 -0
- package/dist/esm/serialization/types/TranscribeAudioEventsConfig.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeConfig.d.mts +2 -0
- package/dist/esm/serialization/types/TranscribeConfig.mjs +2 -0
- package/dist/esm/serialization/types/index.d.mts +16 -4
- package/dist/esm/serialization/types/index.mjs +16 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/resources/alphaDocuments/client/Client.d.ts +0 -35
- package/dist/cjs/api/resources/alphaDocuments/client/Client.js +0 -143
- package/dist/cjs/api/resources/alphaDocuments/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/alphaSectionVersions/client/Client.d.ts +0 -83
- package/dist/cjs/api/resources/alphaSectionVersions/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/alphaSections/client/Client.d.ts +0 -80
- package/dist/cjs/api/resources/alphaSections/client/requests/ListAlphaSectionsRequest.d.ts +0 -12
- package/dist/cjs/api/resources/alphaSections/client/requests/UpdateSectionRequest.d.ts +0 -10
- package/dist/cjs/api/resources/alphaSections/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/alphaSections/index.d.ts +0 -1
- package/dist/cjs/api/resources/alphaTemplateVersions/client/Client.d.ts +0 -81
- package/dist/cjs/api/resources/alphaTemplates/client/Client.d.ts +0 -76
- package/dist/cjs/api/resources/alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.ts +0 -12
- package/dist/cjs/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -10
- package/dist/cjs/api/resources/alphaTemplates/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/alphaTemplates/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/alphaTemplates/index.d.ts +0 -1
- package/dist/cjs/api/resources/alphaTemplates/index.js +0 -17
- package/dist/cjs/api/types/GuidedDocumentResponse.d.ts +0 -8
- package/dist/cjs/api/types/GuidedGenerationResult.d.ts +0 -11
- package/dist/cjs/api/types/GuidedGenerationResultUsage.d.ts +0 -4
- package/dist/cjs/api/types/GuidedGenerationResultUsageTokenCount.d.ts +0 -4
- package/dist/cjs/serialization/resources/alphaSectionVersions/client/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/alphaSectionVersions/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/alphaSectionVersions/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/alphaSectionVersions/index.js +0 -17
- package/dist/cjs/serialization/resources/alphaSections/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/alphaSections/client/requests/UpdateSectionRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/alphaSections/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/alphaSections/index.js +0 -17
- package/dist/cjs/serialization/resources/alphaTemplateVersions/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +0 -10
- package/dist/cjs/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.ts +0 -12
- package/dist/cjs/serialization/resources/alphaTemplates/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/alphaTemplates/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/alphaTemplates/index.js +0 -17
- package/dist/cjs/serialization/types/GuidedDocumentResponse.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedGenerationResult.d.ts +0 -12
- package/dist/cjs/serialization/types/GuidedGenerationResultUsage.d.ts +0 -10
- package/dist/cjs/serialization/types/GuidedGenerationResultUsageTokenCount.d.ts +0 -10
- package/dist/esm/api/resources/alphaDocuments/client/Client.d.mts +0 -35
- package/dist/esm/api/resources/alphaDocuments/client/Client.mjs +0 -106
- package/dist/esm/api/resources/alphaDocuments/client/index.d.mts +0 -1
- package/dist/esm/api/resources/alphaSectionVersions/client/Client.d.mts +0 -83
- package/dist/esm/api/resources/alphaSectionVersions/client/index.d.mts +0 -1
- package/dist/esm/api/resources/alphaSections/client/Client.d.mts +0 -80
- package/dist/esm/api/resources/alphaSections/client/requests/ListAlphaSectionsRequest.d.mts +0 -12
- package/dist/esm/api/resources/alphaSections/client/requests/UpdateSectionRequest.d.mts +0 -10
- package/dist/esm/api/resources/alphaSections/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/alphaSections/index.d.mts +0 -1
- package/dist/esm/api/resources/alphaSections/index.mjs +0 -1
- package/dist/esm/api/resources/alphaTemplateVersions/client/Client.d.mts +0 -81
- package/dist/esm/api/resources/alphaTemplates/client/Client.d.mts +0 -76
- package/dist/esm/api/resources/alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.mts +0 -12
- package/dist/esm/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -10
- package/dist/esm/api/resources/alphaTemplates/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/alphaTemplates/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/alphaTemplates/index.d.mts +0 -1
- package/dist/esm/api/resources/alphaTemplates/index.mjs +0 -1
- package/dist/esm/api/types/GuidedDocumentResponse.d.mts +0 -8
- package/dist/esm/api/types/GuidedGenerationResult.d.mts +0 -11
- package/dist/esm/api/types/GuidedGenerationResultUsage.d.mts +0 -4
- package/dist/esm/api/types/GuidedGenerationResultUsageTokenCount.d.mts +0 -4
- package/dist/esm/serialization/resources/alphaSectionVersions/client/index.d.mts +0 -1
- package/dist/esm/serialization/resources/alphaSectionVersions/client/index.mjs +0 -1
- package/dist/esm/serialization/resources/alphaSectionVersions/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/alphaSectionVersions/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/alphaSectionVersions/index.d.mts +0 -1
- package/dist/esm/serialization/resources/alphaSectionVersions/index.mjs +0 -1
- package/dist/esm/serialization/resources/alphaSections/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/alphaSections/client/requests/UpdateSectionRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/alphaSections/client/requests/UpdateSectionRequest.mjs +0 -8
- package/dist/esm/serialization/resources/alphaSections/index.d.mts +0 -1
- package/dist/esm/serialization/resources/alphaSections/index.mjs +0 -1
- package/dist/esm/serialization/resources/alphaTemplateVersions/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/alphaTemplateVersions/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +0 -10
- package/dist/esm/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.mts +0 -12
- package/dist/esm/serialization/resources/alphaTemplates/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.mjs +0 -8
- package/dist/esm/serialization/resources/alphaTemplates/index.d.mts +0 -1
- package/dist/esm/serialization/resources/alphaTemplates/index.mjs +0 -1
- package/dist/esm/serialization/types/GuidedDocumentResponse.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedDocumentResponse.mjs +0 -8
- package/dist/esm/serialization/types/GuidedGenerationResult.d.mts +0 -12
- package/dist/esm/serialization/types/GuidedGenerationResultUsage.d.mts +0 -10
- package/dist/esm/serialization/types/GuidedGenerationResultUsage.mjs +0 -6
- package/dist/esm/serialization/types/GuidedGenerationResultUsageTokenCount.d.mts +0 -10
- package/dist/esm/serialization/types/GuidedGenerationResultUsageTokenCount.mjs +0 -6
- /package/dist/cjs/api/resources/{alphaSections/client/requests/ListAlphaSectionsRequest.js → documents/client/requests/GenerateDocumentsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{alphaSections → documents/resources/sections}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{alphaSections → documents/resources/sections}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{alphaSections/client/requests/UpdateSectionRequest.js → documents/resources/sections/client/requests/ListSectionsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.js → documents/resources/sections/client/requests/UpdateSectionRequest.js} +0 -0
- /package/dist/cjs/api/resources/{alphaDocuments/client → documents/resources/sections/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.js → documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.js} +0 -0
- /package/dist/cjs/api/resources/{alphaSectionVersions/client → documents/resources/sections/resources/versions/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{alphaDocuments → documents/resources/sections/resources/versions}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{alphaDocuments → documents/resources/sections/resources/versions}/index.js +0 -0
- /package/dist/cjs/api/resources/{alphaTemplates → documents/resources/templates}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{alphaTemplates → documents/resources/templates}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{alphaTemplates/client/requests/ListAlphaTemplatesRequest.js → documents/resources/templates/client/requests/ListTemplatesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{alphaTemplates → documents/resources/templates}/client/requests/UpdateTemplateRequest.js +0 -0
- /package/dist/cjs/api/resources/{alphaSections → documents/resources/templates}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{templates/client/requests/TemplatesListRequest.js → documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.js} +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.js +0 -0
- /package/dist/cjs/api/resources/{templates/client/requests/TemplatesSectionListRequest.js → documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.js} +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.js +0 -0
- /package/dist/cjs/api/{types/GuidedDocumentResponse.js → resources/templates/client/requests/ListTemplatesRequest.js} +0 -0
- /package/dist/cjs/api/{types/GuidedGenerationResult.js → resources/templates/client/requests/SectionListTemplatesRequest.js} +0 -0
- /package/dist/cjs/api/types/{GuidedGenerationResultUsage.js → CreateEphemeralDocumentResponse.js} +0 -0
- /package/dist/cjs/api/types/{GuidedGenerationResultUsageTokenCount.js → DocumentationEvidence.js} +0 -0
- /package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/index.js +0 -0
- /package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/index.js +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.js +0 -0
- /package/dist/cjs/{api/resources/alphaSectionVersions → serialization/resources/documents/resources/sections/resources/versions}/index.d.ts +0 -0
- /package/dist/cjs/{api/resources/alphaSectionVersions → serialization/resources/documents/resources/sections/resources/versions}/index.js +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/index.js +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/index.js +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.js +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.js +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.js +0 -0
- /package/dist/esm/api/resources/{alphaSections/client/requests/ListAlphaSectionsRequest.mjs → documents/client/requests/GenerateDocumentsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{alphaSections → documents/resources/sections}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{alphaSections → documents/resources/sections}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{alphaSections/client/requests/UpdateSectionRequest.mjs → documents/resources/sections/client/requests/ListSectionsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs → documents/resources/sections/client/requests/UpdateSectionRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{alphaDocuments/client → documents/resources/sections/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.mjs → documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{alphaSectionVersions/client → documents/resources/sections/resources/versions/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{alphaDocuments → documents/resources/sections/resources/versions}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{alphaDocuments → documents/resources/sections/resources/versions}/index.mjs +0 -0
- /package/dist/esm/api/resources/{alphaTemplates → documents/resources/templates}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{alphaTemplates → documents/resources/templates}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{alphaTemplates/client/requests/ListAlphaTemplatesRequest.mjs → documents/resources/templates/client/requests/ListTemplatesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{alphaTemplates → documents/resources/templates}/client/requests/UpdateTemplateRequest.mjs +0 -0
- /package/dist/esm/api/resources/{alphaSections → documents/resources/templates}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{templates/client/requests/TemplatesListRequest.mjs → documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.mjs +0 -0
- /package/dist/esm/api/resources/{templates/client/requests/TemplatesSectionListRequest.mjs → documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.mjs} +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.d.mts +0 -0
- /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.mjs +0 -0
- /package/dist/esm/api/{types/GuidedDocumentResponse.mjs → resources/templates/client/requests/ListTemplatesRequest.mjs} +0 -0
- /package/dist/esm/api/{types/GuidedGenerationResult.mjs → resources/templates/client/requests/SectionListTemplatesRequest.mjs} +0 -0
- /package/dist/esm/api/types/{GuidedGenerationResultUsage.mjs → CreateEphemeralDocumentResponse.mjs} +0 -0
- /package/dist/esm/api/types/{GuidedGenerationResultUsageTokenCount.mjs → DocumentationEvidence.mjs} +0 -0
- /package/dist/esm/serialization/resources/{alphaSections → documents/resources/sections}/client/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{alphaSections → documents/resources/sections}/client/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.mjs +0 -0
- /package/dist/esm/{api/resources/alphaSectionVersions → serialization/resources/documents/resources/sections/resources/versions}/index.d.mts +0 -0
- /package/dist/esm/{api/resources/alphaSectionVersions → serialization/resources/documents/resources/sections/resources/versions}/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.mjs +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A generated document that was not saved to the database.
|
|
3
|
+
*/
|
|
4
|
+
export interface EphemeralDocument {
|
|
5
|
+
name: string;
|
|
6
|
+
templateId: string;
|
|
7
|
+
templateVersionId: string;
|
|
8
|
+
/** The BCP 47 language tag of the generated output. */
|
|
9
|
+
language: string;
|
|
10
|
+
stringDocument: Record<string, string>;
|
|
11
|
+
structuredDocument?: Record<string, unknown> | null;
|
|
12
|
+
}
|
|
@@ -5,8 +5,6 @@ import type * as Corti from "../index.js";
|
|
|
5
5
|
export interface GuidedAssemblyRequest {
|
|
6
6
|
/** Name for the auto-generated template aggregate that will be persisted. */
|
|
7
7
|
name: string;
|
|
8
|
-
/** BCP 47 language tag. */
|
|
9
|
-
language: string;
|
|
10
8
|
/** Template-level instructions for the assembled template. */
|
|
11
9
|
instructions?: Corti.TemplateInstructions;
|
|
12
10
|
sectionRefs: Corti.GuidedAssemblySectionRef[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Fields shared across all guided-document request variants.
|
|
4
|
+
*/
|
|
5
|
+
export interface GuidedDocumentBase {
|
|
6
|
+
/** The language in which the document will be generated as a BCP 47 tag. */
|
|
7
|
+
outputLanguage: string;
|
|
8
|
+
/** Ordered list of context items the model reasons over. Each item is one of text, a transcript (with optional metadata and segments), or a single fact. Items are interleaved by timestamps where present on transcript segments; otherwise array order is preserved. */
|
|
9
|
+
context?: Corti.GuidedDocumentContext[];
|
|
10
|
+
/** When supplied, all facts and transcripts already attached to the referenced interaction are passed implicitly as input context. */
|
|
11
|
+
interactionId?: string;
|
|
12
|
+
}
|
|
@@ -2,11 +2,7 @@ import type * as Corti from "../index.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Generate a document by assembling a template from existing stored sections. The resulting template aggregate is auto-saved and can be referenced in future calls. At least one of `context` or `interactionId` must be supplied as input context for the model.
|
|
4
4
|
*/
|
|
5
|
-
export interface GuidedDocumentByAssembly {
|
|
6
|
-
/** Ordered list of context items the model reasons over. Each item is one of text, a transcript (with optional metadata and segments), or a single fact. Items are interleaved by timestamps where present on transcript segments; otherwise array order is preserved. */
|
|
7
|
-
context?: Corti.GuidedDocumentContext[];
|
|
8
|
-
/** When supplied, all facts and transcripts already attached to the referenced interaction are passed implicitly as input context. */
|
|
9
|
-
interactionId?: string;
|
|
5
|
+
export interface GuidedDocumentByAssembly extends Corti.GuidedDocumentBase {
|
|
10
6
|
/** Assemble a template from existing stored sections. */
|
|
11
7
|
assemblyTemplate: Corti.GuidedAssemblyRequest;
|
|
12
8
|
}
|
|
@@ -2,11 +2,7 @@ import type * as Corti from "../index.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Generate a document from a fully inline template definition supplied in the request body. Sections and the wrapping template are created and immediately published as auto-generated resources. At least one of `context` or `interactionId` must be supplied as input context for the model.
|
|
4
4
|
*/
|
|
5
|
-
export interface GuidedDocumentByDynamic {
|
|
6
|
-
/** Ordered list of context items the model reasons over. Each item is one of text, a transcript (with optional metadata and segments), or a single fact. Items are interleaved by timestamps where present on transcript segments; otherwise array order is preserved. */
|
|
7
|
-
context?: Corti.GuidedDocumentContext[];
|
|
8
|
-
/** When supplied, all facts and transcripts already attached to the referenced interaction are passed implicitly as input context. */
|
|
9
|
-
interactionId?: string;
|
|
5
|
+
export interface GuidedDocumentByDynamic extends Corti.GuidedDocumentBase {
|
|
10
6
|
/** Fully inline template defined in the request body. */
|
|
11
7
|
dynamicTemplate: Corti.GuidedDynamicRequest;
|
|
12
8
|
}
|
|
@@ -2,11 +2,7 @@ import type * as Corti from "../index.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Generate a document using a stored template. Optionally supply runtime overrides to patch instructions or sections without mutating the base template. At least one of `context` or `interactionId` must be supplied as input context for the model.
|
|
4
4
|
*/
|
|
5
|
-
export interface GuidedDocumentByTemplateRef {
|
|
6
|
-
/** Ordered list of context items the model reasons over. Each item is one of text, a transcript (with optional metadata and segments), or a single fact. Items are interleaved by timestamps where present on transcript segments; otherwise array order is preserved. */
|
|
7
|
-
context?: Corti.GuidedDocumentContext[];
|
|
8
|
-
/** When supplied, all facts and transcripts already attached to the referenced interaction are passed implicitly as input context. */
|
|
9
|
-
interactionId?: string;
|
|
5
|
+
export interface GuidedDocumentByTemplateRef extends Corti.GuidedDocumentBase {
|
|
10
6
|
/** Reference an existing stored template, optionally with overrides. */
|
|
11
7
|
templateRef: Corti.GuidedTemplateRef;
|
|
12
8
|
}
|
|
@@ -5,9 +5,5 @@ import type * as Corti from "../index.js";
|
|
|
5
5
|
export interface GuidedSectionOverride {
|
|
6
6
|
/** The UUID of a section linked to the base template version. */
|
|
7
7
|
sectionId: string;
|
|
8
|
-
|
|
9
|
-
title?: string | null;
|
|
10
|
-
instructions?: Corti.SectionInstructionsOverride;
|
|
11
|
-
/** When provided, fully replaces the parent's output schema. Not a partial merge — any submitted value replaces the parent's schema in its entirety. */
|
|
12
|
-
outputSchema?: Corti.OutputSchema;
|
|
8
|
+
generation?: Corti.SectionOverrides;
|
|
13
9
|
}
|
|
@@ -6,14 +6,20 @@ export interface Section {
|
|
|
6
6
|
inheritedFromId?: string | null;
|
|
7
7
|
/** True if the section was auto-generated as part of an inline section-composed POST /documents request. */
|
|
8
8
|
autoGenerated?: boolean;
|
|
9
|
+
/** Whether this section was created by the user or from the Corti standard resources. */
|
|
10
|
+
source?: Corti.SectionSource;
|
|
9
11
|
/** The name of the section. */
|
|
10
12
|
name: string;
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
+
/** BCP 47 languages this section has been tweaked for. Empty means no language-specific tweaks. */
|
|
14
|
+
languages: string[];
|
|
15
|
+
/** ISO 3166-1 alpha-3 country codes this section has been tweaked for. Empty means no region-specific tweaks. */
|
|
16
|
+
regions: string[];
|
|
17
|
+
/** Clinical specialties this section has been tweaked for. Empty means no specialty-specific tweaks. */
|
|
18
|
+
specialties: string[];
|
|
13
19
|
/** The description for the section. */
|
|
14
20
|
description?: string;
|
|
15
21
|
/** The labels available to use as query param filter in the LIST /sections endpoint. */
|
|
16
|
-
labels:
|
|
22
|
+
labels: Corti.Label[];
|
|
17
23
|
/** Shows the currently published version of this section. */
|
|
18
24
|
publishedVersion?: Corti.SectionVersion;
|
|
19
25
|
/** The original timestamp when the section was created. */
|
|
@@ -6,4 +6,6 @@ export interface SectionInstructionsOverride {
|
|
|
6
6
|
contentPrompt?: string;
|
|
7
7
|
/** When provided, replaces the section's writing style prompt. Omit to inherit from the parent. */
|
|
8
8
|
writingStylePrompt?: string;
|
|
9
|
+
/** When provided, replaces the section's misc prompt. Omit to inherit from the parent. */
|
|
10
|
+
miscPrompt?: string;
|
|
9
11
|
}
|
|
@@ -3,8 +3,8 @@ import type * as Corti from "../index.js";
|
|
|
3
3
|
* Patches a section's content at link time without mutating the underlying section. Override semantics are per-field for instructions (any field you omit is inherited from the parent's published version) and wholesale for `outputSchema` (whatever you submit fully replaces the parent schema). The same applies when a section is forked via `inheritFromId`.
|
|
4
4
|
*/
|
|
5
5
|
export interface SectionOverrides {
|
|
6
|
-
/** When provided, replaces the section's
|
|
7
|
-
|
|
6
|
+
/** When provided, replaces the section's heading for this call. */
|
|
7
|
+
heading?: string | null;
|
|
8
8
|
instructions?: Corti.SectionInstructionsOverride;
|
|
9
9
|
/** When provided, fully replaces the parent's output schema. */
|
|
10
10
|
outputSchema?: Corti.OutputSchema;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SectionSource = void 0;
|
|
5
|
+
/** Whether this section was created by the user or from the Corti standard resources. */
|
|
6
|
+
exports.SectionSource = {
|
|
7
|
+
User: "user",
|
|
8
|
+
Corti: "corti",
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Corti from "../index.js";
|
|
2
|
+
export interface StreamAudioEventData {
|
|
3
|
+
/** The type of audio quality or speech activity event */
|
|
4
|
+
event: Corti.StreamAudioEventDataEvent;
|
|
5
|
+
/** Audio channel identifier */
|
|
6
|
+
channel: number;
|
|
7
|
+
/** Start time of the event in milliseconds */
|
|
8
|
+
startTimeMs: number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** The type of audio quality or speech activity event */
|
|
2
|
+
export declare const StreamAudioEventDataEvent: {
|
|
3
|
+
readonly SpeechQualityIssueDetected: "speechQualityIssueDetected";
|
|
4
|
+
readonly SpeechQualityIssueRecovered: "speechQualityIssueRecovered";
|
|
5
|
+
readonly LongSilenceDetected: "longSilenceDetected";
|
|
6
|
+
readonly LongSilenceRecovered: "longSilenceRecovered";
|
|
7
|
+
};
|
|
8
|
+
export type StreamAudioEventDataEvent = (typeof StreamAudioEventDataEvent)[keyof typeof StreamAudioEventDataEvent];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.StreamAudioEventDataEvent = void 0;
|
|
5
|
+
/** The type of audio quality or speech activity event */
|
|
6
|
+
exports.StreamAudioEventDataEvent = {
|
|
7
|
+
SpeechQualityIssueDetected: "speechQualityIssueDetected",
|
|
8
|
+
SpeechQualityIssueRecovered: "speechQualityIssueRecovered",
|
|
9
|
+
LongSilenceDetected: "longSilenceDetected",
|
|
10
|
+
LongSilenceRecovered: "longSilenceRecovered",
|
|
11
|
+
};
|
|
@@ -4,6 +4,7 @@ export interface StreamConfig {
|
|
|
4
4
|
mode: Corti.StreamConfigMode;
|
|
5
5
|
/** Optional parameter to specify data retention policy for the generated transcripts and facts. Use value 'none' to indicate data should not be stored in the database. Use value 'retain' to indicate that the data should be retained according to standard retention policies. If configuration is not provided, then the default retention policy will apply. */
|
|
6
6
|
retentionPolicy?: Corti.StreamConfigRetentionPolicy;
|
|
7
|
+
audioEvents?: Corti.StreamAudioEventsConfig;
|
|
7
8
|
/** The audio format of the incoming audio stream */
|
|
8
9
|
audioFormat?: string;
|
|
9
10
|
}
|
|
@@ -4,4 +4,6 @@ export interface StreamConfigMode {
|
|
|
4
4
|
type: Corti.StreamConfigModeType;
|
|
5
5
|
/** Output language locale specific to facts. */
|
|
6
6
|
outputLocale?: Corti.StreamSupportedLanguage;
|
|
7
|
+
/** Rate at which fact generation should process and return results. If no value is set, the default is `fixed` and will trigger fact generation at the standard interval of around 60s. With `fast_init`, fact generation will follow a logarithmic curve. */
|
|
8
|
+
factGenerationInterval?: Corti.StreamConfigModeFactGenerationInterval;
|
|
7
9
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Rate at which fact generation should process and return results. If no value is set, the default is `fixed` and will trigger fact generation at the standard interval of around 60s. With `fast_init`, fact generation will follow a logarithmic curve. */
|
|
2
|
+
export declare const StreamConfigModeFactGenerationInterval: {
|
|
3
|
+
readonly Fixed: "fixed";
|
|
4
|
+
readonly FastInit: "fast_init";
|
|
5
|
+
};
|
|
6
|
+
export type StreamConfigModeFactGenerationInterval = (typeof StreamConfigModeFactGenerationInterval)[keyof typeof StreamConfigModeFactGenerationInterval];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.StreamConfigModeFactGenerationInterval = void 0;
|
|
5
|
+
/** Rate at which fact generation should process and return results. If no value is set, the default is `fixed` and will trigger fact generation at the standard interval of around 60s. With `fast_init`, fact generation will follow a logarithmic curve. */
|
|
6
|
+
exports.StreamConfigModeFactGenerationInterval = {
|
|
7
|
+
Fixed: "fixed",
|
|
8
|
+
FastInit: "fast_init",
|
|
9
|
+
};
|
|
@@ -6,14 +6,22 @@ export interface Template {
|
|
|
6
6
|
inheritedFromId?: string | null;
|
|
7
7
|
/** True if the template was auto-generated based on the section-composed POST /documents request. */
|
|
8
8
|
autoGenerated?: boolean;
|
|
9
|
+
/** Whether this template was created by the user or is a Corti standard resource. */
|
|
10
|
+
source?: Corti.TemplateSource;
|
|
9
11
|
/** The name of this template. Not passed to the LLM. */
|
|
10
12
|
name: string;
|
|
11
13
|
/** A description for this template. Not passed to the LLM. */
|
|
12
14
|
description?: string;
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
+
/** BCP 47 language subtags this template has been tweaked for (e.g. `["fr", "de"]`). Empty means no language-specific tweaks. */
|
|
16
|
+
languages: string[];
|
|
17
|
+
/** ISO 3166-1 alpha-3 country codes this template has been tweaked for (e.g. `["BEL"]`). Empty means no region-specific tweaks. */
|
|
18
|
+
regions: string[];
|
|
19
|
+
/** Clinical specialties this template has been tweaked for. Empty means no specialty-specific tweaks. */
|
|
20
|
+
specialties: string[];
|
|
15
21
|
/** The available labels to use as query param filter in the LIST /templates endpoint. */
|
|
16
|
-
labels:
|
|
22
|
+
labels: Corti.Label[];
|
|
23
|
+
/** Access policies for this template. */
|
|
24
|
+
policies?: unknown[];
|
|
17
25
|
publishedVersion?: Corti.TemplateVersion;
|
|
18
26
|
/** The original timestamp when the template was created. */
|
|
19
27
|
createdAt: Date;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Corti from "../index.js";
|
|
2
2
|
export interface TemplateGeneration {
|
|
3
3
|
instructions: Corti.TemplateInstructions;
|
|
4
|
-
/** Populated only on GET /
|
|
4
|
+
/** Populated only on GET /documents/templates/{templateID}/versions/{versionID}; omitted from list responses. */
|
|
5
5
|
sections?: Corti.Section[];
|
|
6
6
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TemplateSource = void 0;
|
|
5
|
+
/** Whether this template was created by the user or is a Corti standard resource. */
|
|
6
|
+
exports.TemplateSource = {
|
|
7
|
+
User: "user",
|
|
8
|
+
Corti: "corti",
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Corti from "../index.js";
|
|
2
|
+
export interface TranscribeAudioEventData {
|
|
3
|
+
/** The type of audio quality or speech activity event */
|
|
4
|
+
event: Corti.TranscribeAudioEventDataEvent;
|
|
5
|
+
/** Audio channel identifier */
|
|
6
|
+
channel: number;
|
|
7
|
+
/** Start time of the event in milliseconds */
|
|
8
|
+
startTimeMs: number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** The type of audio quality or speech activity event */
|
|
2
|
+
export declare const TranscribeAudioEventDataEvent: {
|
|
3
|
+
readonly SpeechQualityIssueDetected: "speechQualityIssueDetected";
|
|
4
|
+
readonly SpeechQualityIssueRecovered: "speechQualityIssueRecovered";
|
|
5
|
+
readonly LongSilenceDetected: "longSilenceDetected";
|
|
6
|
+
readonly LongSilenceRecovered: "longSilenceRecovered";
|
|
7
|
+
};
|
|
8
|
+
export type TranscribeAudioEventDataEvent = (typeof TranscribeAudioEventDataEvent)[keyof typeof TranscribeAudioEventDataEvent];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TranscribeAudioEventDataEvent = void 0;
|
|
5
|
+
/** The type of audio quality or speech activity event */
|
|
6
|
+
exports.TranscribeAudioEventDataEvent = {
|
|
7
|
+
SpeechQualityIssueDetected: "speechQualityIssueDetected",
|
|
8
|
+
SpeechQualityIssueRecovered: "speechQualityIssueRecovered",
|
|
9
|
+
LongSilenceDetected: "longSilenceDetected",
|
|
10
|
+
LongSilenceRecovered: "longSilenceRecovered",
|
|
11
|
+
};
|
|
@@ -11,6 +11,7 @@ export interface TranscribeConfig {
|
|
|
11
11
|
/** Commands that should be registered and detected */
|
|
12
12
|
commands?: Corti.TranscribeCommand[];
|
|
13
13
|
formatting?: Corti.TranscribeFormatting;
|
|
14
|
+
audioEvents?: Corti.TranscribeAudioEventsConfig;
|
|
14
15
|
/** The audio format of the incoming audio stream */
|
|
15
16
|
audioFormat?: string;
|
|
16
17
|
}
|
|
@@ -79,6 +79,7 @@ export * from "./CommonUsageInfo.js";
|
|
|
79
79
|
export * from "./ContextFacts.js";
|
|
80
80
|
export * from "./ContextText.js";
|
|
81
81
|
export * from "./ContextTranscript.js";
|
|
82
|
+
export * from "./CreateEphemeralDocumentResponse.js";
|
|
82
83
|
export * from "./CreateSectionBase.js";
|
|
83
84
|
export * from "./CreateSectionFromInheritanceRequest.js";
|
|
84
85
|
export * from "./CreateSectionFromScratchRequest.js";
|
|
@@ -89,6 +90,7 @@ export * from "./CreateTemplateFromInheritanceRequestGeneration.js";
|
|
|
89
90
|
export * from "./CreateTemplateFromScratchRequest.js";
|
|
90
91
|
export * from "./CreateTemplateFromScratchRequestGeneration.js";
|
|
91
92
|
export * from "./CreateTemplateRequest.js";
|
|
93
|
+
export * from "./DocumentationEvidence.js";
|
|
92
94
|
export * from "./DocumentsContext.js";
|
|
93
95
|
export * from "./DocumentsContextWithFacts.js";
|
|
94
96
|
export * from "./DocumentsContextWithFactsType.js";
|
|
@@ -107,6 +109,7 @@ export * from "./DocumentsSectionOverride.js";
|
|
|
107
109
|
export * from "./DocumentsTemplate.js";
|
|
108
110
|
export * from "./DocumentsTemplateWithSectionKeys.js";
|
|
109
111
|
export * from "./DocumentsTemplateWithSections.js";
|
|
112
|
+
export * from "./EphemeralDocument.js";
|
|
110
113
|
export * from "./ErrorResponse.js";
|
|
111
114
|
export * from "./FactsBatchUpdateInput.js";
|
|
112
115
|
export * from "./FactsBatchUpdateItem.js";
|
|
@@ -127,21 +130,18 @@ export * from "./FactsUpdateResponse.js";
|
|
|
127
130
|
export * from "./FieldDefinition.js";
|
|
128
131
|
export * from "./GuidedAssemblyRequest.js";
|
|
129
132
|
export * from "./GuidedAssemblySectionRef.js";
|
|
133
|
+
export * from "./GuidedDocumentBase.js";
|
|
130
134
|
export * from "./GuidedDocumentByAssembly.js";
|
|
131
135
|
export * from "./GuidedDocumentByDynamic.js";
|
|
132
136
|
export * from "./GuidedDocumentByTemplateRef.js";
|
|
133
137
|
export * from "./GuidedDocumentContext.js";
|
|
134
138
|
export * from "./GuidedDocumentFactMinimal.js";
|
|
135
139
|
export * from "./GuidedDocumentRequest.js";
|
|
136
|
-
export * from "./GuidedDocumentResponse.js";
|
|
137
140
|
export * from "./GuidedDocumentTranscriptMetadataMinimal.js";
|
|
138
141
|
export * from "./GuidedDocumentTranscriptMinimal.js";
|
|
139
142
|
export * from "./GuidedDocumentTranscriptSegmentMinimal.js";
|
|
140
143
|
export * from "./GuidedDynamicInline.js";
|
|
141
144
|
export * from "./GuidedDynamicRequest.js";
|
|
142
|
-
export * from "./GuidedGenerationResult.js";
|
|
143
|
-
export * from "./GuidedGenerationResultUsage.js";
|
|
144
|
-
export * from "./GuidedGenerationResultUsageTokenCount.js";
|
|
145
145
|
export * from "./GuidedSectionOverride.js";
|
|
146
146
|
export * from "./GuidedTemplateOverrides.js";
|
|
147
147
|
export * from "./GuidedTemplateRef.js";
|
|
@@ -156,6 +156,7 @@ export * from "./InteractionsGenderEnum.js";
|
|
|
156
156
|
export * from "./InteractionsGetResponse.js";
|
|
157
157
|
export * from "./InteractionsListResponse.js";
|
|
158
158
|
export * from "./InteractionsPatient.js";
|
|
159
|
+
export * from "./Label.js";
|
|
159
160
|
export * from "./NumberNode.js";
|
|
160
161
|
export * from "./OAuthTokenRequest.js";
|
|
161
162
|
export * from "./ObjectNode.js";
|
|
@@ -169,11 +170,17 @@ export * from "./SectionInstructions.js";
|
|
|
169
170
|
export * from "./SectionInstructionsOverride.js";
|
|
170
171
|
export * from "./SectionInstructionsPartial.js";
|
|
171
172
|
export * from "./SectionOverrides.js";
|
|
173
|
+
export * from "./SectionSource.js";
|
|
172
174
|
export * from "./SectionVersion.js";
|
|
173
175
|
export * from "./StatusResponse.js";
|
|
176
|
+
export * from "./StreamAudioEventData.js";
|
|
177
|
+
export * from "./StreamAudioEventDataEvent.js";
|
|
178
|
+
export * from "./StreamAudioEventMessage.js";
|
|
179
|
+
export * from "./StreamAudioEventsConfig.js";
|
|
174
180
|
export * from "./StreamConfig.js";
|
|
175
181
|
export * from "./StreamConfigMessage.js";
|
|
176
182
|
export * from "./StreamConfigMode.js";
|
|
183
|
+
export * from "./StreamConfigModeFactGenerationInterval.js";
|
|
177
184
|
export * from "./StreamConfigModeType.js";
|
|
178
185
|
export * from "./StreamConfigParticipant.js";
|
|
179
186
|
export * from "./StreamConfigParticipantRole.js";
|
|
@@ -201,6 +208,7 @@ export * from "./Template.js";
|
|
|
201
208
|
export * from "./TemplateGeneration.js";
|
|
202
209
|
export * from "./TemplateInstructions.js";
|
|
203
210
|
export * from "./TemplateInstructionsPartial.js";
|
|
211
|
+
export * from "./TemplateSource.js";
|
|
204
212
|
export * from "./TemplatesDocumentationModeEnum.js";
|
|
205
213
|
export * from "./TemplatesFormatRule.js";
|
|
206
214
|
export * from "./TemplatesItem.js";
|
|
@@ -213,6 +221,10 @@ export * from "./TemplatesTranslation.js";
|
|
|
213
221
|
export * from "./TemplatesWritingStyle.js";
|
|
214
222
|
export * from "./TemplateVersion.js";
|
|
215
223
|
export * from "./TemplateVersionSectionRequest.js";
|
|
224
|
+
export * from "./TranscribeAudioEventData.js";
|
|
225
|
+
export * from "./TranscribeAudioEventDataEvent.js";
|
|
226
|
+
export * from "./TranscribeAudioEventMessage.js";
|
|
227
|
+
export * from "./TranscribeAudioEventsConfig.js";
|
|
216
228
|
export * from "./TranscribeCommand.js";
|
|
217
229
|
export * from "./TranscribeCommandData.js";
|
|
218
230
|
export * from "./TranscribeCommandMessage.js";
|
|
@@ -95,6 +95,7 @@ __exportStar(require("./CommonUsageInfo.js"), exports);
|
|
|
95
95
|
__exportStar(require("./ContextFacts.js"), exports);
|
|
96
96
|
__exportStar(require("./ContextText.js"), exports);
|
|
97
97
|
__exportStar(require("./ContextTranscript.js"), exports);
|
|
98
|
+
__exportStar(require("./CreateEphemeralDocumentResponse.js"), exports);
|
|
98
99
|
__exportStar(require("./CreateSectionBase.js"), exports);
|
|
99
100
|
__exportStar(require("./CreateSectionFromInheritanceRequest.js"), exports);
|
|
100
101
|
__exportStar(require("./CreateSectionFromScratchRequest.js"), exports);
|
|
@@ -105,6 +106,7 @@ __exportStar(require("./CreateTemplateFromInheritanceRequestGeneration.js"), exp
|
|
|
105
106
|
__exportStar(require("./CreateTemplateFromScratchRequest.js"), exports);
|
|
106
107
|
__exportStar(require("./CreateTemplateFromScratchRequestGeneration.js"), exports);
|
|
107
108
|
__exportStar(require("./CreateTemplateRequest.js"), exports);
|
|
109
|
+
__exportStar(require("./DocumentationEvidence.js"), exports);
|
|
108
110
|
__exportStar(require("./DocumentsContext.js"), exports);
|
|
109
111
|
__exportStar(require("./DocumentsContextWithFacts.js"), exports);
|
|
110
112
|
__exportStar(require("./DocumentsContextWithFactsType.js"), exports);
|
|
@@ -123,6 +125,7 @@ __exportStar(require("./DocumentsSectionOverride.js"), exports);
|
|
|
123
125
|
__exportStar(require("./DocumentsTemplate.js"), exports);
|
|
124
126
|
__exportStar(require("./DocumentsTemplateWithSectionKeys.js"), exports);
|
|
125
127
|
__exportStar(require("./DocumentsTemplateWithSections.js"), exports);
|
|
128
|
+
__exportStar(require("./EphemeralDocument.js"), exports);
|
|
126
129
|
__exportStar(require("./ErrorResponse.js"), exports);
|
|
127
130
|
__exportStar(require("./FactsBatchUpdateInput.js"), exports);
|
|
128
131
|
__exportStar(require("./FactsBatchUpdateItem.js"), exports);
|
|
@@ -143,21 +146,18 @@ __exportStar(require("./FactsUpdateResponse.js"), exports);
|
|
|
143
146
|
__exportStar(require("./FieldDefinition.js"), exports);
|
|
144
147
|
__exportStar(require("./GuidedAssemblyRequest.js"), exports);
|
|
145
148
|
__exportStar(require("./GuidedAssemblySectionRef.js"), exports);
|
|
149
|
+
__exportStar(require("./GuidedDocumentBase.js"), exports);
|
|
146
150
|
__exportStar(require("./GuidedDocumentByAssembly.js"), exports);
|
|
147
151
|
__exportStar(require("./GuidedDocumentByDynamic.js"), exports);
|
|
148
152
|
__exportStar(require("./GuidedDocumentByTemplateRef.js"), exports);
|
|
149
153
|
__exportStar(require("./GuidedDocumentContext.js"), exports);
|
|
150
154
|
__exportStar(require("./GuidedDocumentFactMinimal.js"), exports);
|
|
151
155
|
__exportStar(require("./GuidedDocumentRequest.js"), exports);
|
|
152
|
-
__exportStar(require("./GuidedDocumentResponse.js"), exports);
|
|
153
156
|
__exportStar(require("./GuidedDocumentTranscriptMetadataMinimal.js"), exports);
|
|
154
157
|
__exportStar(require("./GuidedDocumentTranscriptMinimal.js"), exports);
|
|
155
158
|
__exportStar(require("./GuidedDocumentTranscriptSegmentMinimal.js"), exports);
|
|
156
159
|
__exportStar(require("./GuidedDynamicInline.js"), exports);
|
|
157
160
|
__exportStar(require("./GuidedDynamicRequest.js"), exports);
|
|
158
|
-
__exportStar(require("./GuidedGenerationResult.js"), exports);
|
|
159
|
-
__exportStar(require("./GuidedGenerationResultUsage.js"), exports);
|
|
160
|
-
__exportStar(require("./GuidedGenerationResultUsageTokenCount.js"), exports);
|
|
161
161
|
__exportStar(require("./GuidedSectionOverride.js"), exports);
|
|
162
162
|
__exportStar(require("./GuidedTemplateOverrides.js"), exports);
|
|
163
163
|
__exportStar(require("./GuidedTemplateRef.js"), exports);
|
|
@@ -172,6 +172,7 @@ __exportStar(require("./InteractionsGenderEnum.js"), exports);
|
|
|
172
172
|
__exportStar(require("./InteractionsGetResponse.js"), exports);
|
|
173
173
|
__exportStar(require("./InteractionsListResponse.js"), exports);
|
|
174
174
|
__exportStar(require("./InteractionsPatient.js"), exports);
|
|
175
|
+
__exportStar(require("./Label.js"), exports);
|
|
175
176
|
__exportStar(require("./NumberNode.js"), exports);
|
|
176
177
|
__exportStar(require("./OAuthTokenRequest.js"), exports);
|
|
177
178
|
__exportStar(require("./ObjectNode.js"), exports);
|
|
@@ -185,11 +186,17 @@ __exportStar(require("./SectionInstructions.js"), exports);
|
|
|
185
186
|
__exportStar(require("./SectionInstructionsOverride.js"), exports);
|
|
186
187
|
__exportStar(require("./SectionInstructionsPartial.js"), exports);
|
|
187
188
|
__exportStar(require("./SectionOverrides.js"), exports);
|
|
189
|
+
__exportStar(require("./SectionSource.js"), exports);
|
|
188
190
|
__exportStar(require("./SectionVersion.js"), exports);
|
|
189
191
|
__exportStar(require("./StatusResponse.js"), exports);
|
|
192
|
+
__exportStar(require("./StreamAudioEventData.js"), exports);
|
|
193
|
+
__exportStar(require("./StreamAudioEventDataEvent.js"), exports);
|
|
194
|
+
__exportStar(require("./StreamAudioEventMessage.js"), exports);
|
|
195
|
+
__exportStar(require("./StreamAudioEventsConfig.js"), exports);
|
|
190
196
|
__exportStar(require("./StreamConfig.js"), exports);
|
|
191
197
|
__exportStar(require("./StreamConfigMessage.js"), exports);
|
|
192
198
|
__exportStar(require("./StreamConfigMode.js"), exports);
|
|
199
|
+
__exportStar(require("./StreamConfigModeFactGenerationInterval.js"), exports);
|
|
193
200
|
__exportStar(require("./StreamConfigModeType.js"), exports);
|
|
194
201
|
__exportStar(require("./StreamConfigParticipant.js"), exports);
|
|
195
202
|
__exportStar(require("./StreamConfigParticipantRole.js"), exports);
|
|
@@ -217,6 +224,7 @@ __exportStar(require("./Template.js"), exports);
|
|
|
217
224
|
__exportStar(require("./TemplateGeneration.js"), exports);
|
|
218
225
|
__exportStar(require("./TemplateInstructions.js"), exports);
|
|
219
226
|
__exportStar(require("./TemplateInstructionsPartial.js"), exports);
|
|
227
|
+
__exportStar(require("./TemplateSource.js"), exports);
|
|
220
228
|
__exportStar(require("./TemplatesDocumentationModeEnum.js"), exports);
|
|
221
229
|
__exportStar(require("./TemplatesFormatRule.js"), exports);
|
|
222
230
|
__exportStar(require("./TemplatesItem.js"), exports);
|
|
@@ -229,6 +237,10 @@ __exportStar(require("./TemplatesTranslation.js"), exports);
|
|
|
229
237
|
__exportStar(require("./TemplatesWritingStyle.js"), exports);
|
|
230
238
|
__exportStar(require("./TemplateVersion.js"), exports);
|
|
231
239
|
__exportStar(require("./TemplateVersionSectionRequest.js"), exports);
|
|
240
|
+
__exportStar(require("./TranscribeAudioEventData.js"), exports);
|
|
241
|
+
__exportStar(require("./TranscribeAudioEventDataEvent.js"), exports);
|
|
242
|
+
__exportStar(require("./TranscribeAudioEventMessage.js"), exports);
|
|
243
|
+
__exportStar(require("./TranscribeAudioEventsConfig.js"), exports);
|
|
232
244
|
__exportStar(require("./TranscribeCommand.js"), exports);
|
|
233
245
|
__exportStar(require("./TranscribeCommandData.js"), exports);
|
|
234
246
|
__exportStar(require("./TranscribeCommandMessage.js"), exports);
|
|
@@ -76,9 +76,9 @@ class CortiClient extends Client_js_1.CortiClient {
|
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
78
|
this.getAuthHeaders = () => __awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
var _a;
|
|
79
|
+
var _a, _b;
|
|
80
80
|
const req = yield this._options.authProvider.getAuthRequest();
|
|
81
|
-
return new Headers(Object.assign(Object.assign({}, ((_a = req.headers) !== null && _a !== void 0 ? _a : {})), { "Tenant-Name": yield core.Supplier.get(this._options.tenantName) }));
|
|
81
|
+
return new Headers(Object.assign(Object.assign({}, ((_a = req.headers) !== null && _a !== void 0 ? _a : {})), { "Tenant-Name": (_b = (yield core.Supplier.get(this._options.tenantName))) !== null && _b !== void 0 ? _b : "" }));
|
|
82
82
|
});
|
|
83
83
|
(0, withCredentialsConfig_js_1.setDefaultWithCredentials)(options.withCredentials);
|
|
84
84
|
this._encodeHeadersAsWsProtocols = options.encodeHeadersAsWsProtocols;
|