@corti/sdk 1.2.0 → 2.0.0-templates
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.d.ts +2 -2
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +12 -0
- package/dist/cjs/Client.js +30 -10
- package/dist/cjs/api/resources/index.d.ts +7 -0
- package/dist/cjs/api/resources/index.js +8 -1
- package/dist/cjs/api/resources/newSectionVersions/client/Client.d.ts +84 -0
- package/dist/cjs/api/resources/newSectionVersions/client/Client.js +349 -0
- package/dist/cjs/api/resources/newSectionVersions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/newSectionVersions/client/index.js +2 -0
- package/dist/cjs/api/resources/newSectionVersions/index.d.ts +1 -0
- package/dist/cjs/api/resources/newSectionVersions/index.js +17 -0
- package/dist/cjs/api/resources/newSections/client/Client.d.ts +81 -0
- package/dist/cjs/api/resources/newSections/client/Client.js +353 -0
- package/dist/cjs/api/resources/newSections/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/newSections/client/index.js +17 -0
- package/dist/cjs/api/resources/newSections/client/requests/CreateSectionRequest.d.ts +33 -0
- package/dist/cjs/api/resources/newSections/client/requests/CreateSectionRequest.js +3 -0
- package/dist/cjs/api/resources/newSections/client/requests/ListNewSectionsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/newSections/client/requests/ListNewSectionsRequest.js +3 -0
- package/dist/cjs/api/resources/newSections/client/requests/UpdateSectionRequest.d.ts +10 -0
- package/dist/cjs/api/resources/newSections/client/requests/UpdateSectionRequest.js +3 -0
- package/dist/cjs/api/resources/newSections/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/newSections/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/newSections/index.d.ts +1 -0
- package/dist/cjs/api/resources/newSections/index.js +17 -0
- package/dist/cjs/api/resources/newTemplateVersions/client/Client.d.ts +60 -0
- package/dist/cjs/api/resources/newTemplateVersions/client/Client.js +255 -0
- package/dist/cjs/api/resources/newTemplateVersions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/newTemplateVersions/client/index.js +2 -0
- package/dist/cjs/api/resources/newTemplateVersions/index.d.ts +1 -0
- package/dist/cjs/api/resources/newTemplateVersions/index.js +17 -0
- package/dist/cjs/api/resources/newTemplates/client/Client.d.ts +68 -0
- package/dist/cjs/api/resources/newTemplates/client/Client.js +299 -0
- package/dist/cjs/api/resources/newTemplates/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/newTemplates/client/index.js +17 -0
- package/dist/cjs/api/resources/newTemplates/client/requests/CreateTemplateRequest.d.ts +28 -0
- package/dist/cjs/api/resources/newTemplates/client/requests/CreateTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.d.ts +12 -0
- package/dist/cjs/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.js +3 -0
- package/dist/cjs/api/resources/newTemplates/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/newTemplates/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/newTemplates/index.d.ts +2 -0
- package/dist/cjs/api/resources/newTemplates/index.js +18 -0
- package/dist/cjs/api/resources/newTemplates/types/CreateTemplateRequestGeneration.d.ts +5 -0
- package/dist/cjs/api/resources/newTemplates/types/CreateTemplateRequestGeneration.js +3 -0
- package/dist/cjs/api/resources/newTemplates/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/newTemplates/types/index.js +17 -0
- package/dist/cjs/api/types/BoolNode.d.ts +7 -0
- package/dist/cjs/api/types/BoolNode.js +3 -0
- package/dist/cjs/api/types/DictNode.d.ts +12 -0
- package/dist/cjs/api/types/DictNode.js +3 -0
- package/dist/cjs/api/types/FieldDefinition.d.ts +8 -0
- package/dist/cjs/api/types/FieldDefinition.js +3 -0
- package/dist/cjs/api/types/FloatNode.d.ts +13 -0
- package/dist/cjs/api/types/FloatNode.js +3 -0
- package/dist/cjs/api/types/IntegerNode.d.ts +13 -0
- package/dist/cjs/api/types/IntegerNode.js +3 -0
- package/dist/cjs/api/types/ListNode.d.ts +13 -0
- package/dist/cjs/api/types/ListNode.js +3 -0
- package/dist/cjs/api/types/OutputSchema.d.ts +2 -0
- package/dist/cjs/api/types/OutputSchema.js +3 -0
- package/dist/cjs/api/types/Section.d.ts +23 -0
- package/dist/cjs/api/types/Section.js +3 -0
- package/dist/cjs/api/types/SectionGeneration.d.ts +8 -0
- package/dist/cjs/api/types/SectionGeneration.js +3 -0
- package/dist/cjs/api/types/SectionInstructions.d.ts +6 -0
- package/dist/cjs/api/types/SectionInstructions.js +3 -0
- package/dist/cjs/api/types/SectionVersion.d.ts +8 -0
- package/dist/cjs/api/types/SectionVersion.js +3 -0
- package/dist/cjs/api/types/StatusResponse.d.ts +3 -0
- package/dist/cjs/api/types/StatusResponse.js +3 -0
- package/dist/cjs/api/types/StreamConfig.d.ts +3 -1
- package/dist/cjs/api/types/{StreamConfigXCortiRetentionPolicy.d.ts → StreamConfigRetentionPolicy.d.ts} +2 -2
- package/dist/cjs/api/types/{StreamConfigXCortiRetentionPolicy.js → StreamConfigRetentionPolicy.js} +2 -2
- package/dist/cjs/api/types/StreamConfigStatusMessage.d.ts +2 -0
- package/dist/cjs/api/types/StringNode.d.ts +11 -0
- package/dist/cjs/api/types/StringNode.js +3 -0
- package/dist/cjs/api/types/Template.d.ts +22 -0
- package/dist/cjs/api/types/Template.js +3 -0
- package/dist/cjs/api/types/TemplateGeneration.d.ts +6 -0
- package/dist/cjs/api/types/TemplateGeneration.js +3 -0
- package/dist/cjs/api/types/TemplateInstructions.d.ts +4 -0
- package/dist/cjs/api/types/TemplateInstructions.js +3 -0
- package/dist/cjs/api/types/TemplateVersion.d.ts +8 -0
- package/dist/cjs/api/types/TemplateVersion.js +3 -0
- package/dist/cjs/api/types/TemplateVersionSectionRequest.d.ts +6 -0
- package/dist/cjs/api/types/TemplateVersionSectionRequest.js +3 -0
- package/dist/cjs/api/types/TranscribeConfig.d.ts +2 -0
- package/dist/cjs/api/types/TranscribeConfigStatusMessage.d.ts +4 -2
- package/dist/cjs/api/types/index.d.ts +19 -1
- package/dist/cjs/api/types/index.js +19 -1
- 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/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/index.js +7 -1
- package/dist/cjs/serialization/resources/newSectionVersions/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/newSectionVersions/client/index.js +37 -0
- package/dist/cjs/serialization/resources/newSectionVersions/client/list.d.ts +8 -0
- package/dist/cjs/serialization/resources/newSectionVersions/client/list.js +40 -0
- package/dist/cjs/serialization/resources/newSectionVersions/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/newSectionVersions/index.js +17 -0
- package/dist/cjs/serialization/resources/newSections/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/newSections/client/index.js +41 -0
- package/dist/cjs/serialization/resources/newSections/client/list.d.ts +8 -0
- package/dist/cjs/serialization/resources/newSections/client/list.js +40 -0
- package/dist/cjs/serialization/resources/newSections/client/requests/CreateSectionRequest.d.ts +16 -0
- package/dist/cjs/serialization/resources/newSections/client/requests/CreateSectionRequest.js +48 -0
- package/dist/cjs/serialization/resources/newSections/client/requests/UpdateSectionRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/newSections/client/requests/UpdateSectionRequest.js +44 -0
- package/dist/cjs/serialization/resources/newSections/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/newSections/client/requests/index.js +7 -0
- package/dist/cjs/serialization/resources/newSections/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/newSections/index.js +17 -0
- package/dist/cjs/serialization/resources/newTemplates/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/newTemplates/client/index.js +41 -0
- package/dist/cjs/serialization/resources/newTemplates/client/list.d.ts +8 -0
- package/dist/cjs/serialization/resources/newTemplates/client/list.js +40 -0
- package/dist/cjs/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.d.ts +16 -0
- package/dist/cjs/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.js +48 -0
- package/dist/cjs/serialization/resources/newTemplates/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/newTemplates/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/newTemplates/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/newTemplates/index.js +18 -0
- package/dist/cjs/serialization/resources/newTemplates/types/CreateTemplateRequestGeneration.d.ts +12 -0
- package/dist/cjs/serialization/resources/newTemplates/types/CreateTemplateRequestGeneration.js +44 -0
- package/dist/cjs/serialization/resources/newTemplates/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/newTemplates/types/index.js +17 -0
- package/dist/cjs/serialization/types/BoolNode.d.ts +11 -0
- package/dist/cjs/serialization/types/BoolNode.js +43 -0
- package/dist/cjs/serialization/types/DictNode.d.ts +13 -0
- package/dist/cjs/serialization/types/DictNode.js +46 -0
- package/dist/cjs/serialization/types/FieldDefinition.d.ts +11 -0
- package/dist/cjs/serialization/types/FieldDefinition.js +44 -0
- package/dist/cjs/serialization/types/FloatNode.d.ts +14 -0
- package/dist/cjs/serialization/types/FloatNode.js +46 -0
- package/dist/cjs/serialization/types/IntegerNode.d.ts +14 -0
- package/dist/cjs/serialization/types/IntegerNode.js +46 -0
- package/dist/cjs/serialization/types/ListNode.d.ts +14 -0
- package/dist/cjs/serialization/types/ListNode.js +47 -0
- package/dist/cjs/serialization/types/OutputSchema.d.ts +11 -0
- package/dist/cjs/serialization/types/OutputSchema.js +51 -0
- package/dist/cjs/serialization/types/Section.d.ts +19 -0
- package/dist/cjs/serialization/types/Section.js +51 -0
- package/dist/cjs/serialization/types/SectionGeneration.d.ts +12 -0
- package/dist/cjs/serialization/types/SectionGeneration.js +45 -0
- package/dist/cjs/serialization/types/SectionInstructions.d.ts +10 -0
- package/dist/cjs/serialization/types/SectionInstructions.js +42 -0
- package/dist/cjs/serialization/types/SectionVersion.d.ts +12 -0
- package/dist/cjs/serialization/types/SectionVersion.js +44 -0
- package/dist/cjs/serialization/types/StatusResponse.d.ts +9 -0
- package/dist/cjs/serialization/types/{StreamConfigXCortiRetentionPolicy.js → StatusResponse.js} +4 -2
- package/dist/cjs/serialization/types/StreamConfig.d.ts +3 -2
- package/dist/cjs/serialization/types/StreamConfig.js +3 -2
- package/dist/cjs/serialization/types/StreamConfigRetentionPolicy.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamConfigRetentionPolicy.js +39 -0
- package/dist/cjs/serialization/types/StreamConfigStatusMessage.d.ts +2 -0
- package/dist/cjs/serialization/types/StreamConfigStatusMessage.js +2 -0
- package/dist/cjs/serialization/types/StringNode.d.ts +13 -0
- package/dist/cjs/serialization/types/StringNode.js +45 -0
- package/dist/cjs/serialization/types/Template.d.ts +19 -0
- package/dist/cjs/serialization/types/Template.js +51 -0
- package/dist/cjs/serialization/types/TemplateGeneration.d.ts +12 -0
- package/dist/cjs/serialization/types/TemplateGeneration.js +44 -0
- package/dist/cjs/serialization/types/TemplateInstructions.d.ts +9 -0
- package/dist/cjs/serialization/types/TemplateInstructions.js +41 -0
- package/dist/cjs/serialization/types/TemplateVersion.d.ts +12 -0
- package/dist/cjs/serialization/types/TemplateVersion.js +44 -0
- package/dist/cjs/serialization/types/TemplateVersionSectionRequest.d.ts +10 -0
- package/dist/cjs/serialization/types/TemplateVersionSectionRequest.js +42 -0
- package/dist/cjs/serialization/types/TranscribeConfig.d.ts +1 -0
- package/dist/cjs/serialization/types/TranscribeConfig.js +1 -0
- package/dist/cjs/serialization/types/TranscribeConfigStatusMessage.d.ts +3 -1
- package/dist/cjs/serialization/types/TranscribeConfigStatusMessage.js +3 -1
- package/dist/cjs/serialization/types/index.d.ts +19 -1
- package/dist/cjs/serialization/types/index.js +19 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +2 -2
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +12 -0
- package/dist/esm/Client.mjs +20 -0
- package/dist/esm/api/resources/index.d.mts +7 -0
- package/dist/esm/api/resources/index.mjs +7 -0
- package/dist/esm/api/resources/newSectionVersions/client/Client.d.mts +84 -0
- package/dist/esm/api/resources/newSectionVersions/client/Client.mjs +312 -0
- package/dist/esm/api/resources/newSectionVersions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/newSectionVersions/client/index.mjs +1 -0
- package/dist/esm/api/resources/newSectionVersions/index.d.mts +1 -0
- package/dist/esm/api/resources/newSectionVersions/index.mjs +1 -0
- package/dist/esm/api/resources/newSections/client/Client.d.mts +81 -0
- package/dist/esm/api/resources/newSections/client/Client.mjs +316 -0
- package/dist/esm/api/resources/newSections/client/index.d.mts +1 -0
- package/dist/esm/api/resources/newSections/client/index.mjs +1 -0
- package/dist/esm/api/resources/newSections/client/requests/CreateSectionRequest.d.mts +33 -0
- package/dist/esm/api/resources/newSections/client/requests/CreateSectionRequest.mjs +2 -0
- package/dist/esm/api/resources/newSections/client/requests/ListNewSectionsRequest.d.mts +12 -0
- package/dist/esm/api/resources/newSections/client/requests/ListNewSectionsRequest.mjs +2 -0
- package/dist/esm/api/resources/newSections/client/requests/UpdateSectionRequest.d.mts +10 -0
- package/dist/esm/api/resources/newSections/client/requests/UpdateSectionRequest.mjs +2 -0
- package/dist/esm/api/resources/newSections/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/newSections/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/newSections/index.d.mts +1 -0
- package/dist/esm/api/resources/newSections/index.mjs +1 -0
- package/dist/esm/api/resources/newTemplateVersions/client/Client.d.mts +60 -0
- package/dist/esm/api/resources/newTemplateVersions/client/Client.mjs +218 -0
- package/dist/esm/api/resources/newTemplateVersions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/newTemplateVersions/client/index.mjs +1 -0
- package/dist/esm/api/resources/newTemplateVersions/index.d.mts +1 -0
- package/dist/esm/api/resources/newTemplateVersions/index.mjs +1 -0
- package/dist/esm/api/resources/newTemplates/client/Client.d.mts +68 -0
- package/dist/esm/api/resources/newTemplates/client/Client.mjs +262 -0
- package/dist/esm/api/resources/newTemplates/client/index.d.mts +1 -0
- package/dist/esm/api/resources/newTemplates/client/index.mjs +1 -0
- package/dist/esm/api/resources/newTemplates/client/requests/CreateTemplateRequest.d.mts +28 -0
- package/dist/esm/api/resources/newTemplates/client/requests/CreateTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.d.mts +12 -0
- package/dist/esm/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.mjs +2 -0
- package/dist/esm/api/resources/newTemplates/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/newTemplates/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/newTemplates/index.d.mts +2 -0
- package/dist/esm/api/resources/newTemplates/index.mjs +2 -0
- package/dist/esm/api/resources/newTemplates/types/CreateTemplateRequestGeneration.d.mts +5 -0
- package/dist/esm/api/resources/newTemplates/types/CreateTemplateRequestGeneration.mjs +2 -0
- package/dist/esm/api/resources/newTemplates/types/index.d.mts +1 -0
- package/dist/esm/api/resources/newTemplates/types/index.mjs +1 -0
- package/dist/esm/api/types/BoolNode.d.mts +7 -0
- package/dist/esm/api/types/BoolNode.mjs +2 -0
- package/dist/esm/api/types/DictNode.d.mts +12 -0
- package/dist/esm/api/types/DictNode.mjs +2 -0
- package/dist/esm/api/types/FieldDefinition.d.mts +8 -0
- package/dist/esm/api/types/FieldDefinition.mjs +2 -0
- package/dist/esm/api/types/FloatNode.d.mts +13 -0
- package/dist/esm/api/types/FloatNode.mjs +2 -0
- package/dist/esm/api/types/IntegerNode.d.mts +13 -0
- package/dist/esm/api/types/IntegerNode.mjs +2 -0
- package/dist/esm/api/types/ListNode.d.mts +13 -0
- package/dist/esm/api/types/ListNode.mjs +2 -0
- package/dist/esm/api/types/OutputSchema.d.mts +2 -0
- package/dist/esm/api/types/OutputSchema.mjs +2 -0
- package/dist/esm/api/types/Section.d.mts +23 -0
- package/dist/esm/api/types/Section.mjs +2 -0
- package/dist/esm/api/types/SectionGeneration.d.mts +8 -0
- package/dist/esm/api/types/SectionGeneration.mjs +2 -0
- package/dist/esm/api/types/SectionInstructions.d.mts +6 -0
- package/dist/esm/api/types/SectionInstructions.mjs +2 -0
- package/dist/esm/api/types/SectionVersion.d.mts +8 -0
- package/dist/esm/api/types/SectionVersion.mjs +2 -0
- package/dist/esm/api/types/StatusResponse.d.mts +3 -0
- package/dist/esm/api/types/StatusResponse.mjs +2 -0
- package/dist/esm/api/types/StreamConfig.d.mts +3 -1
- package/dist/esm/api/types/{StreamConfigXCortiRetentionPolicy.d.mts → StreamConfigRetentionPolicy.d.mts} +2 -2
- package/dist/esm/api/types/{StreamConfigXCortiRetentionPolicy.mjs → StreamConfigRetentionPolicy.mjs} +1 -1
- package/dist/esm/api/types/StreamConfigStatusMessage.d.mts +2 -0
- package/dist/esm/api/types/StringNode.d.mts +11 -0
- package/dist/esm/api/types/StringNode.mjs +2 -0
- package/dist/esm/api/types/Template.d.mts +22 -0
- package/dist/esm/api/types/Template.mjs +2 -0
- package/dist/esm/api/types/TemplateGeneration.d.mts +6 -0
- package/dist/esm/api/types/TemplateGeneration.mjs +2 -0
- package/dist/esm/api/types/TemplateInstructions.d.mts +4 -0
- package/dist/esm/api/types/TemplateInstructions.mjs +2 -0
- package/dist/esm/api/types/TemplateVersion.d.mts +8 -0
- package/dist/esm/api/types/TemplateVersion.mjs +2 -0
- package/dist/esm/api/types/TemplateVersionSectionRequest.d.mts +6 -0
- package/dist/esm/api/types/TemplateVersionSectionRequest.mjs +2 -0
- package/dist/esm/api/types/TranscribeConfig.d.mts +2 -0
- package/dist/esm/api/types/TranscribeConfigStatusMessage.d.mts +4 -2
- package/dist/esm/api/types/index.d.mts +19 -1
- package/dist/esm/api/types/index.mjs +19 -1
- 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/index.d.mts +6 -0
- package/dist/esm/serialization/resources/index.mjs +6 -0
- package/dist/esm/serialization/resources/newSectionVersions/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/newSectionVersions/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/newSectionVersions/client/list.d.mts +8 -0
- package/dist/esm/serialization/resources/newSectionVersions/client/list.mjs +4 -0
- package/dist/esm/serialization/resources/newSectionVersions/index.d.mts +1 -0
- package/dist/esm/serialization/resources/newSectionVersions/index.mjs +1 -0
- package/dist/esm/serialization/resources/newSections/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/newSections/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/newSections/client/list.d.mts +8 -0
- package/dist/esm/serialization/resources/newSections/client/list.mjs +4 -0
- package/dist/esm/serialization/resources/newSections/client/requests/CreateSectionRequest.d.mts +16 -0
- package/dist/esm/serialization/resources/newSections/client/requests/CreateSectionRequest.mjs +12 -0
- package/dist/esm/serialization/resources/newSections/client/requests/UpdateSectionRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/newSections/client/requests/UpdateSectionRequest.mjs +8 -0
- package/dist/esm/serialization/resources/newSections/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/newSections/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/newSections/index.d.mts +1 -0
- package/dist/esm/serialization/resources/newSections/index.mjs +1 -0
- package/dist/esm/serialization/resources/newTemplates/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/newTemplates/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/newTemplates/client/list.d.mts +8 -0
- package/dist/esm/serialization/resources/newTemplates/client/list.mjs +4 -0
- package/dist/esm/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.d.mts +16 -0
- package/dist/esm/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.mjs +12 -0
- package/dist/esm/serialization/resources/newTemplates/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/newTemplates/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/newTemplates/index.d.mts +2 -0
- package/dist/esm/serialization/resources/newTemplates/index.mjs +2 -0
- package/dist/esm/serialization/resources/newTemplates/types/CreateTemplateRequestGeneration.d.mts +12 -0
- package/dist/esm/serialization/resources/newTemplates/types/CreateTemplateRequestGeneration.mjs +8 -0
- package/dist/esm/serialization/resources/newTemplates/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/newTemplates/types/index.mjs +1 -0
- package/dist/esm/serialization/types/BoolNode.d.mts +11 -0
- package/dist/esm/serialization/types/BoolNode.mjs +7 -0
- package/dist/esm/serialization/types/DictNode.d.mts +13 -0
- package/dist/esm/serialization/types/DictNode.mjs +10 -0
- package/dist/esm/serialization/types/FieldDefinition.d.mts +11 -0
- package/dist/esm/serialization/types/FieldDefinition.mjs +8 -0
- package/dist/esm/serialization/types/FloatNode.d.mts +14 -0
- package/dist/esm/serialization/types/FloatNode.mjs +10 -0
- package/dist/esm/serialization/types/IntegerNode.d.mts +14 -0
- package/dist/esm/serialization/types/IntegerNode.mjs +10 -0
- package/dist/esm/serialization/types/ListNode.d.mts +14 -0
- package/dist/esm/serialization/types/ListNode.mjs +11 -0
- package/dist/esm/serialization/types/OutputSchema.d.mts +11 -0
- package/dist/esm/serialization/types/OutputSchema.mjs +15 -0
- package/dist/esm/serialization/types/Section.d.mts +19 -0
- package/dist/esm/serialization/types/Section.mjs +15 -0
- package/dist/esm/serialization/types/SectionGeneration.d.mts +12 -0
- package/dist/esm/serialization/types/SectionGeneration.mjs +9 -0
- package/dist/esm/serialization/types/SectionInstructions.d.mts +10 -0
- package/dist/esm/serialization/types/SectionInstructions.mjs +6 -0
- package/dist/esm/serialization/types/SectionVersion.d.mts +12 -0
- package/dist/esm/serialization/types/SectionVersion.mjs +8 -0
- package/dist/esm/serialization/types/StatusResponse.d.mts +9 -0
- package/dist/esm/serialization/types/StatusResponse.mjs +5 -0
- package/dist/esm/serialization/types/StreamConfig.d.mts +3 -2
- package/dist/esm/serialization/types/StreamConfig.mjs +3 -2
- package/dist/esm/serialization/types/StreamConfigRetentionPolicy.d.mts +7 -0
- package/dist/esm/serialization/types/{StreamConfigXCortiRetentionPolicy.mjs → StreamConfigRetentionPolicy.mjs} +1 -1
- package/dist/esm/serialization/types/StreamConfigStatusMessage.d.mts +2 -0
- package/dist/esm/serialization/types/StreamConfigStatusMessage.mjs +2 -0
- package/dist/esm/serialization/types/StringNode.d.mts +13 -0
- package/dist/esm/serialization/types/StringNode.mjs +9 -0
- package/dist/esm/serialization/types/Template.d.mts +19 -0
- package/dist/esm/serialization/types/Template.mjs +15 -0
- package/dist/esm/serialization/types/TemplateGeneration.d.mts +12 -0
- package/dist/esm/serialization/types/TemplateGeneration.mjs +8 -0
- package/dist/esm/serialization/types/TemplateInstructions.d.mts +9 -0
- package/dist/esm/serialization/types/TemplateInstructions.mjs +5 -0
- package/dist/esm/serialization/types/TemplateVersion.d.mts +12 -0
- package/dist/esm/serialization/types/TemplateVersion.mjs +8 -0
- package/dist/esm/serialization/types/TemplateVersionSectionRequest.d.mts +10 -0
- package/dist/esm/serialization/types/TemplateVersionSectionRequest.mjs +6 -0
- package/dist/esm/serialization/types/TranscribeConfig.d.mts +1 -0
- package/dist/esm/serialization/types/TranscribeConfig.mjs +1 -0
- package/dist/esm/serialization/types/TranscribeConfigStatusMessage.d.mts +3 -1
- package/dist/esm/serialization/types/TranscribeConfigStatusMessage.mjs +3 -1
- package/dist/esm/serialization/types/index.d.mts +19 -1
- package/dist/esm/serialization/types/index.mjs +19 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +4 -2
- package/dist/cjs/serialization/types/StreamConfigXCortiRetentionPolicy.d.ts +0 -7
- package/dist/esm/serialization/types/StreamConfigXCortiRetentionPolicy.d.mts +0 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./CreateTemplateRequestGeneration.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./CreateTemplateRequestGeneration.mjs";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface DictNode {
|
|
3
|
+
type: "dict";
|
|
4
|
+
/** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
|
|
5
|
+
description?: string;
|
|
6
|
+
/** Controls how subheadings are rendered in the generated output. Use `inline` (default) for `{key}: {value}\n` or `block` for `{key}\n{value}\n`, or provide a custom format string containing both `{key}` and `{value}` placeholders. Mutually exclusive with `objectFormat`. */
|
|
7
|
+
subheadingFormat?: string;
|
|
8
|
+
/** A format string referencing field keys as placeholders (e.g. `{fieldKey}`). All placeholders must correspond to defined field keys. Mutually exclusive with `subheadingFormat`. */
|
|
9
|
+
objectFormat?: string;
|
|
10
|
+
/** Define what fields are possible to return in the dict. */
|
|
11
|
+
fields?: Corti.FieldDefinition[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface FieldDefinition {
|
|
3
|
+
/** Use to set a key to reference. */
|
|
4
|
+
key: string;
|
|
5
|
+
/** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
|
|
6
|
+
description: string;
|
|
7
|
+
value: Corti.OutputSchema;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface FloatNode {
|
|
2
|
+
type: "float";
|
|
3
|
+
/** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
|
|
4
|
+
description?: string;
|
|
5
|
+
/** The default to output if nothing to output. */
|
|
6
|
+
default?: number | null;
|
|
7
|
+
/** Can be used to prompt the LLM for specifically allowed float values to output. */
|
|
8
|
+
enum?: number[];
|
|
9
|
+
/** Use if a minimum value applies. */
|
|
10
|
+
minimum?: number | null;
|
|
11
|
+
/** Use if a maximum value applies. */
|
|
12
|
+
maximum?: number | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IntegerNode {
|
|
2
|
+
type: "integer";
|
|
3
|
+
/** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
|
|
4
|
+
description?: string;
|
|
5
|
+
/** The default to output if nothing to output. */
|
|
6
|
+
default?: number | null;
|
|
7
|
+
/** Can be used to prompt the LLM for specifically allowed integer values to output. */
|
|
8
|
+
enum?: number[];
|
|
9
|
+
/** Use if a minimum value applies. */
|
|
10
|
+
minimum?: number | null;
|
|
11
|
+
/** Use if a maximum value applies. */
|
|
12
|
+
maximum?: number | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface ListNode {
|
|
3
|
+
type: "list";
|
|
4
|
+
/** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
|
|
5
|
+
description?: string;
|
|
6
|
+
items: Corti.OutputSchema;
|
|
7
|
+
/** Controls how each list item is rendered in the generated output. Use `bullet` (default), `numbered`, or `plain`, or provide a custom format string containing the `{item}` placeholder. */
|
|
8
|
+
itemFormat?: string;
|
|
9
|
+
/** Minimum number of list items to generate. */
|
|
10
|
+
minItems?: number | null;
|
|
11
|
+
/** Maximum number of list items to generate. */
|
|
12
|
+
maxItems?: number | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface Section {
|
|
3
|
+
/** The UUID of the section. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Reference to the section to inherit generation configuration from. Inherits from published version by default. */
|
|
6
|
+
inheritedFromId?: string | null;
|
|
7
|
+
/** True if the section was auto-generated as part of an inline section-composed POST /documents request. */
|
|
8
|
+
autoGenerated?: boolean;
|
|
9
|
+
/** The name of the section. */
|
|
10
|
+
name: string;
|
|
11
|
+
/** The intended language for outputs as BCP 47 tag. */
|
|
12
|
+
language: string;
|
|
13
|
+
/** The description for the section. */
|
|
14
|
+
description?: string;
|
|
15
|
+
/** The labels available to use as query param filter in the LIST /sections endpoint. */
|
|
16
|
+
labels: string[];
|
|
17
|
+
/** Shows the currently published version of this section. */
|
|
18
|
+
publishedVersion?: Corti.SectionVersion;
|
|
19
|
+
/** The original timestamp when the section was created. */
|
|
20
|
+
createdAt: Date;
|
|
21
|
+
/** The original timestamp when the section was last updated. */
|
|
22
|
+
updatedAt: Date;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface SectionGeneration {
|
|
3
|
+
/** The title of this section. Passed to the LLM. */
|
|
4
|
+
title: string;
|
|
5
|
+
/** The prompt instructions for this section. */
|
|
6
|
+
instructions: Corti.SectionInstructions;
|
|
7
|
+
outputSchema: Corti.OutputSchema;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface SectionInstructions {
|
|
2
|
+
/** The content prompt instructs the model what to include for synthesis. For `documentationMode: routed_parallel` this impacts what facts to route to this section. */
|
|
3
|
+
contentPrompt: string;
|
|
4
|
+
/** The writingStyle prompt instructs the model in what tone and style to output. */
|
|
5
|
+
writingStylePrompt: string;
|
|
6
|
+
}
|
|
@@ -3,5 +3,7 @@ export interface StreamConfig {
|
|
|
3
3
|
transcription: Corti.StreamConfigTranscription;
|
|
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
|
+
/** The audio format of the incoming audio stream */
|
|
8
|
+
audioFormat?: string;
|
|
7
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** 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. */
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const StreamConfigRetentionPolicy: {
|
|
3
3
|
readonly Retain: "retain";
|
|
4
4
|
readonly None: "none";
|
|
5
5
|
};
|
|
6
|
-
export type
|
|
6
|
+
export type StreamConfigRetentionPolicy = (typeof StreamConfigRetentionPolicy)[keyof typeof StreamConfigRetentionPolicy];
|
package/dist/esm/api/types/{StreamConfigXCortiRetentionPolicy.mjs → StreamConfigRetentionPolicy.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
/** 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. */
|
|
3
|
-
export const
|
|
3
|
+
export const StreamConfigRetentionPolicy = {
|
|
4
4
|
Retain: "retain",
|
|
5
5
|
None: "none",
|
|
6
6
|
};
|
|
@@ -4,4 +4,6 @@ export interface StreamConfigStatusMessage {
|
|
|
4
4
|
type: Corti.StreamConfigStatusMessageType;
|
|
5
5
|
/** Optional reason for rejection (e.g., 'language unavailable') */
|
|
6
6
|
reason?: string;
|
|
7
|
+
/** The resolved configuration. Only present when type is CONFIG_ACCEPTED. */
|
|
8
|
+
configuration?: Corti.StreamConfig;
|
|
7
9
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface StringNode {
|
|
2
|
+
type: "string";
|
|
3
|
+
/** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
|
|
4
|
+
description?: string;
|
|
5
|
+
/** The default to output if nothing to output. */
|
|
6
|
+
default?: string | null;
|
|
7
|
+
/** Can be used to prompt the LLM with specific values to output. */
|
|
8
|
+
enum?: string[];
|
|
9
|
+
/** Can be used to prompt the LLM for a specific output pattern. */
|
|
10
|
+
pattern?: string | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface Template {
|
|
3
|
+
/** The UUID of the template. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Reference to the template to inherit template instructions and sections from. Inherits from published version by default. */
|
|
6
|
+
inheritedFromId?: string | null;
|
|
7
|
+
/** True if the template was auto-generated based on the section-composed POST /documents request. */
|
|
8
|
+
autoGenerated?: boolean;
|
|
9
|
+
/** The name of this template. Not passed to the LLM. */
|
|
10
|
+
name: string;
|
|
11
|
+
/** A description for this template. Not passed to the LLM. */
|
|
12
|
+
description?: string;
|
|
13
|
+
/** The intended language as BCP 47 tag. Does not strictly have to match outputLanguage in POST /documents request. */
|
|
14
|
+
language: string;
|
|
15
|
+
/** The available labels to use as query param filter in the LIST /templates endpoint. */
|
|
16
|
+
labels: string[];
|
|
17
|
+
publishedVersion?: Corti.TemplateVersion;
|
|
18
|
+
/** The original timestamp when the template was created. */
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
/** The original timestamp when the template was last updated. */
|
|
21
|
+
updatedAt: Date;
|
|
22
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface TemplateGeneration {
|
|
3
|
+
instructions: Corti.TemplateInstructions;
|
|
4
|
+
/** Populated only on GET /alpha/templates/{templateID}/versions/{versionID}; omitted from list responses. */
|
|
5
|
+
sections?: Corti.Section[];
|
|
6
|
+
}
|
|
@@ -4,6 +4,8 @@ export interface TranscribeConfigStatusMessage {
|
|
|
4
4
|
type: Corti.TranscribeConfigStatusMessageType;
|
|
5
5
|
/** Optional reason for rejection */
|
|
6
6
|
reason?: string;
|
|
7
|
-
/** Session identifier
|
|
8
|
-
sessionId
|
|
7
|
+
/** Session identifier. Only present when type is CONFIG_ACCEPTED. */
|
|
8
|
+
sessionId?: string;
|
|
9
|
+
/** The resolved configuration. Only present when type is CONFIG_ACCEPTED. */
|
|
10
|
+
configuration?: Corti.TranscribeConfig;
|
|
9
11
|
}
|
|
@@ -62,6 +62,7 @@ export * from "./AuthTokenRequestClientCredentials.mjs";
|
|
|
62
62
|
export * from "./AuthTokenRequestRefresh.mjs";
|
|
63
63
|
export * from "./AuthTokenRequestRopc.mjs";
|
|
64
64
|
export * from "./AuthTokenResponse.mjs";
|
|
65
|
+
export * from "./BoolNode.mjs";
|
|
65
66
|
export * from "./CodesFilter.mjs";
|
|
66
67
|
export * from "./CodesGeneralReadResponse.mjs";
|
|
67
68
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
@@ -78,6 +79,7 @@ export * from "./CommonTextContextType.mjs";
|
|
|
78
79
|
export * from "./CommonTranscriptRequest.mjs";
|
|
79
80
|
export * from "./CommonTranscriptResponse.mjs";
|
|
80
81
|
export * from "./CommonUsageInfo.mjs";
|
|
82
|
+
export * from "./DictNode.mjs";
|
|
81
83
|
export * from "./DocumentsContext.mjs";
|
|
82
84
|
export * from "./DocumentsContextWithFacts.mjs";
|
|
83
85
|
export * from "./DocumentsContextWithFactsType.mjs";
|
|
@@ -113,6 +115,9 @@ export * from "./FactsFactGroupsListResponse.mjs";
|
|
|
113
115
|
export * from "./FactsListItem.mjs";
|
|
114
116
|
export * from "./FactsListResponse.mjs";
|
|
115
117
|
export * from "./FactsUpdateResponse.mjs";
|
|
118
|
+
export * from "./FieldDefinition.mjs";
|
|
119
|
+
export * from "./FloatNode.mjs";
|
|
120
|
+
export * from "./IntegerNode.mjs";
|
|
116
121
|
export * from "./InteractionsCreateResponse.mjs";
|
|
117
122
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
118
123
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
@@ -124,19 +129,26 @@ export * from "./InteractionsGenderEnum.mjs";
|
|
|
124
129
|
export * from "./InteractionsGetResponse.mjs";
|
|
125
130
|
export * from "./InteractionsListResponse.mjs";
|
|
126
131
|
export * from "./InteractionsPatient.mjs";
|
|
132
|
+
export * from "./ListNode.mjs";
|
|
127
133
|
export * from "./OAuthTokenRequest.mjs";
|
|
134
|
+
export * from "./OutputSchema.mjs";
|
|
128
135
|
export * from "./RecordingsCreateResponse.mjs";
|
|
129
136
|
export * from "./RecordingsListResponse.mjs";
|
|
137
|
+
export * from "./Section.mjs";
|
|
138
|
+
export * from "./SectionGeneration.mjs";
|
|
139
|
+
export * from "./SectionInstructions.mjs";
|
|
140
|
+
export * from "./SectionVersion.mjs";
|
|
141
|
+
export * from "./StatusResponse.mjs";
|
|
130
142
|
export * from "./StreamConfig.mjs";
|
|
131
143
|
export * from "./StreamConfigMessage.mjs";
|
|
132
144
|
export * from "./StreamConfigMode.mjs";
|
|
133
145
|
export * from "./StreamConfigModeType.mjs";
|
|
134
146
|
export * from "./StreamConfigParticipant.mjs";
|
|
135
147
|
export * from "./StreamConfigParticipantRole.mjs";
|
|
148
|
+
export * from "./StreamConfigRetentionPolicy.mjs";
|
|
136
149
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
137
150
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
138
151
|
export * from "./StreamConfigTranscription.mjs";
|
|
139
|
-
export * from "./StreamConfigXCortiRetentionPolicy.mjs";
|
|
140
152
|
export * from "./StreamDeltaUsageMessage.mjs";
|
|
141
153
|
export * from "./StreamEndedMessage.mjs";
|
|
142
154
|
export * from "./StreamEndMessage.mjs";
|
|
@@ -152,6 +164,10 @@ export * from "./StreamTranscript.mjs";
|
|
|
152
164
|
export * from "./StreamTranscriptMessage.mjs";
|
|
153
165
|
export * from "./StreamTranscriptTime.mjs";
|
|
154
166
|
export * from "./StreamUsageMessage.mjs";
|
|
167
|
+
export * from "./StringNode.mjs";
|
|
168
|
+
export * from "./Template.mjs";
|
|
169
|
+
export * from "./TemplateGeneration.mjs";
|
|
170
|
+
export * from "./TemplateInstructions.mjs";
|
|
155
171
|
export * from "./TemplatesDocumentationModeEnum.mjs";
|
|
156
172
|
export * from "./TemplatesFormatRule.mjs";
|
|
157
173
|
export * from "./TemplatesItem.mjs";
|
|
@@ -162,6 +178,8 @@ export * from "./TemplatesSectionSorted.mjs";
|
|
|
162
178
|
export * from "./TemplatesSectionTranslation.mjs";
|
|
163
179
|
export * from "./TemplatesTranslation.mjs";
|
|
164
180
|
export * from "./TemplatesWritingStyle.mjs";
|
|
181
|
+
export * from "./TemplateVersion.mjs";
|
|
182
|
+
export * from "./TemplateVersionSectionRequest.mjs";
|
|
165
183
|
export * from "./TranscribeCommand.mjs";
|
|
166
184
|
export * from "./TranscribeCommandData.mjs";
|
|
167
185
|
export * from "./TranscribeCommandMessage.mjs";
|
|
@@ -62,6 +62,7 @@ export * from "./AuthTokenRequestClientCredentials.mjs";
|
|
|
62
62
|
export * from "./AuthTokenRequestRefresh.mjs";
|
|
63
63
|
export * from "./AuthTokenRequestRopc.mjs";
|
|
64
64
|
export * from "./AuthTokenResponse.mjs";
|
|
65
|
+
export * from "./BoolNode.mjs";
|
|
65
66
|
export * from "./CodesFilter.mjs";
|
|
66
67
|
export * from "./CodesGeneralReadResponse.mjs";
|
|
67
68
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
@@ -78,6 +79,7 @@ export * from "./CommonTextContextType.mjs";
|
|
|
78
79
|
export * from "./CommonTranscriptRequest.mjs";
|
|
79
80
|
export * from "./CommonTranscriptResponse.mjs";
|
|
80
81
|
export * from "./CommonUsageInfo.mjs";
|
|
82
|
+
export * from "./DictNode.mjs";
|
|
81
83
|
export * from "./DocumentsContext.mjs";
|
|
82
84
|
export * from "./DocumentsContextWithFacts.mjs";
|
|
83
85
|
export * from "./DocumentsContextWithFactsType.mjs";
|
|
@@ -113,6 +115,9 @@ export * from "./FactsFactGroupsListResponse.mjs";
|
|
|
113
115
|
export * from "./FactsListItem.mjs";
|
|
114
116
|
export * from "./FactsListResponse.mjs";
|
|
115
117
|
export * from "./FactsUpdateResponse.mjs";
|
|
118
|
+
export * from "./FieldDefinition.mjs";
|
|
119
|
+
export * from "./FloatNode.mjs";
|
|
120
|
+
export * from "./IntegerNode.mjs";
|
|
116
121
|
export * from "./InteractionsCreateResponse.mjs";
|
|
117
122
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
118
123
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
@@ -124,19 +129,26 @@ export * from "./InteractionsGenderEnum.mjs";
|
|
|
124
129
|
export * from "./InteractionsGetResponse.mjs";
|
|
125
130
|
export * from "./InteractionsListResponse.mjs";
|
|
126
131
|
export * from "./InteractionsPatient.mjs";
|
|
132
|
+
export * from "./ListNode.mjs";
|
|
127
133
|
export * from "./OAuthTokenRequest.mjs";
|
|
134
|
+
export * from "./OutputSchema.mjs";
|
|
128
135
|
export * from "./RecordingsCreateResponse.mjs";
|
|
129
136
|
export * from "./RecordingsListResponse.mjs";
|
|
137
|
+
export * from "./Section.mjs";
|
|
138
|
+
export * from "./SectionGeneration.mjs";
|
|
139
|
+
export * from "./SectionInstructions.mjs";
|
|
140
|
+
export * from "./SectionVersion.mjs";
|
|
141
|
+
export * from "./StatusResponse.mjs";
|
|
130
142
|
export * from "./StreamConfig.mjs";
|
|
131
143
|
export * from "./StreamConfigMessage.mjs";
|
|
132
144
|
export * from "./StreamConfigMode.mjs";
|
|
133
145
|
export * from "./StreamConfigModeType.mjs";
|
|
134
146
|
export * from "./StreamConfigParticipant.mjs";
|
|
135
147
|
export * from "./StreamConfigParticipantRole.mjs";
|
|
148
|
+
export * from "./StreamConfigRetentionPolicy.mjs";
|
|
136
149
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
137
150
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
138
151
|
export * from "./StreamConfigTranscription.mjs";
|
|
139
|
-
export * from "./StreamConfigXCortiRetentionPolicy.mjs";
|
|
140
152
|
export * from "./StreamDeltaUsageMessage.mjs";
|
|
141
153
|
export * from "./StreamEndedMessage.mjs";
|
|
142
154
|
export * from "./StreamEndMessage.mjs";
|
|
@@ -152,6 +164,10 @@ export * from "./StreamTranscript.mjs";
|
|
|
152
164
|
export * from "./StreamTranscriptMessage.mjs";
|
|
153
165
|
export * from "./StreamTranscriptTime.mjs";
|
|
154
166
|
export * from "./StreamUsageMessage.mjs";
|
|
167
|
+
export * from "./StringNode.mjs";
|
|
168
|
+
export * from "./Template.mjs";
|
|
169
|
+
export * from "./TemplateGeneration.mjs";
|
|
170
|
+
export * from "./TemplateInstructions.mjs";
|
|
155
171
|
export * from "./TemplatesDocumentationModeEnum.mjs";
|
|
156
172
|
export * from "./TemplatesFormatRule.mjs";
|
|
157
173
|
export * from "./TemplatesItem.mjs";
|
|
@@ -162,6 +178,8 @@ export * from "./TemplatesSectionSorted.mjs";
|
|
|
162
178
|
export * from "./TemplatesSectionTranslation.mjs";
|
|
163
179
|
export * from "./TemplatesTranslation.mjs";
|
|
164
180
|
export * from "./TemplatesWritingStyle.mjs";
|
|
181
|
+
export * from "./TemplateVersion.mjs";
|
|
182
|
+
export * from "./TemplateVersionSectionRequest.mjs";
|
|
165
183
|
export * from "./TranscribeCommand.mjs";
|
|
166
184
|
export * from "./TranscribeCommandData.mjs";
|
|
167
185
|
export * from "./TranscribeCommandMessage.mjs";
|
|
@@ -40,9 +40,9 @@ export class CortiClient extends BaseCortiClient {
|
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
this.getAuthHeaders = () => __awaiter(this, void 0, void 0, function* () {
|
|
43
|
-
var _a;
|
|
43
|
+
var _a, _b;
|
|
44
44
|
const req = yield this._options.authProvider.getAuthRequest();
|
|
45
|
-
return new Headers(Object.assign(Object.assign({}, ((_a = req.headers) !== null && _a !== void 0 ? _a : {})), { "Tenant-Name": yield core.Supplier.get(this._options.tenantName) }));
|
|
45
|
+
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 : "" }));
|
|
46
46
|
});
|
|
47
47
|
setDefaultWithCredentials(options.withCredentials);
|
|
48
48
|
this._encodeHeadersAsWsProtocols = options.encodeHeadersAsWsProtocols;
|
|
@@ -63,7 +63,7 @@ export class CortiAuth extends AuthClient {
|
|
|
63
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
64
64
|
const authRequest = buildTokenRequestBody(request);
|
|
65
65
|
const tenantName = yield core.Supplier.get(this._tenantName);
|
|
66
|
-
return this.token(tenantName, authRequest, requestOptions).withRawResponse();
|
|
66
|
+
return this.token(tenantName !== null && tenantName !== void 0 ? tenantName : "base", authRequest, requestOptions).withRawResponse();
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
/** Exchange username/password for access token via ROPC (resource owner password credentials). */
|
|
@@ -139,7 +139,7 @@ export class CortiAuth extends AuthClient {
|
|
|
139
139
|
return __awaiter(this, arguments, void 0, function* ({ clientId, redirectUri, codeChallenge, scopes }, options) {
|
|
140
140
|
const envUrls = yield core.Supplier.get(this._options.environment);
|
|
141
141
|
const tenantName = yield core.Supplier.get(this._tenantName);
|
|
142
|
-
const authUrl = new URL(core.url.join(envUrls.login, tenantName, "protocol/openid-connect/auth"));
|
|
142
|
+
const authUrl = new URL(core.url.join(envUrls.login, tenantName !== null && tenantName !== void 0 ? tenantName : "", "protocol/openid-connect/auth"));
|
|
143
143
|
authUrl.searchParams.set("response_type", "code");
|
|
144
144
|
const allScopes = ["openid", "profile", ...(scopes !== null && scopes !== void 0 ? scopes : [])];
|
|
145
145
|
authUrl.searchParams.set("scope", [...new Set(allScopes)].join(" "));
|
|
@@ -40,7 +40,7 @@ export class CustomStream extends StreamClient {
|
|
|
40
40
|
connect: { get: () => super.connect }
|
|
41
41
|
});
|
|
42
42
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
43
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
44
44
|
const { configuration, awaitConfiguration = true, proxy } = args, rest = __rest(args, ["configuration", "awaitConfiguration", "proxy"]);
|
|
45
45
|
const useProxyPath = proxy || this._encodeHeadersAsWsProtocols;
|
|
46
46
|
const protocols = yield getWsProtocols(Object.assign(Object.assign({}, this._options), { encodeHeadersAsWsProtocols: this._encodeHeadersAsWsProtocols }), proxy === null || proxy === void 0 ? void 0 : proxy.protocols);
|
|
@@ -52,7 +52,7 @@ export class CustomStream extends StreamClient {
|
|
|
52
52
|
headers: (_d = rest.headers) !== null && _d !== void 0 ? _d : {},
|
|
53
53
|
options: { debug: (_e = rest.debug) !== null && _e !== void 0 ? _e : false, maxRetries: (_f = rest.reconnectAttempts) !== null && _f !== void 0 ? _f : 30 },
|
|
54
54
|
})
|
|
55
|
-
: (yield _super.connect.call(this, Object.assign(Object.assign({}, rest), { token: ((_h = (yield ((_g = this._options.authProvider) === null || _g === void 0 ? void 0 : _g.getAuthRequest()))) === null || _h === void 0 ? void 0 : _h.headers.Authorization) || "", tenantName: yield core.Supplier.get(this._options.tenantName) }))).socket;
|
|
55
|
+
: (yield _super.connect.call(this, Object.assign(Object.assign({}, rest), { token: ((_h = (yield ((_g = this._options.authProvider) === null || _g === void 0 ? void 0 : _g.getAuthRequest()))) === null || _h === void 0 ? void 0 : _h.headers.Authorization) || "", tenantName: (_j = (yield core.Supplier.get(this._options.tenantName))) !== null && _j !== void 0 ? _j : "base" }))).socket;
|
|
56
56
|
const ws = new CustomStreamSocket({ socket });
|
|
57
57
|
if (!configuration) {
|
|
58
58
|
return ws;
|
|
@@ -40,8 +40,8 @@ export class CustomTranscribe extends TranscribeClient {
|
|
|
40
40
|
connect: { get: () => super.connect }
|
|
41
41
|
});
|
|
42
42
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
44
|
-
const
|
|
43
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
44
|
+
const _k = args !== null && args !== void 0 ? args : {}, { configuration, awaitConfiguration = true, proxy } = _k, rest = __rest(_k, ["configuration", "awaitConfiguration", "proxy"]);
|
|
45
45
|
const useProxyPath = proxy || this._encodeHeadersAsWsProtocols;
|
|
46
46
|
const protocols = yield getWsProtocols(Object.assign(Object.assign({}, this._options), { encodeHeadersAsWsProtocols: this._encodeHeadersAsWsProtocols }), proxy === null || proxy === void 0 ? void 0 : proxy.protocols);
|
|
47
47
|
const socket = useProxyPath
|
|
@@ -52,7 +52,7 @@ export class CustomTranscribe extends TranscribeClient {
|
|
|
52
52
|
headers: (_d = rest.headers) !== null && _d !== void 0 ? _d : {},
|
|
53
53
|
options: { debug: (_e = rest.debug) !== null && _e !== void 0 ? _e : false, maxRetries: (_f = rest.reconnectAttempts) !== null && _f !== void 0 ? _f : 30 },
|
|
54
54
|
})
|
|
55
|
-
: (yield _super.connect.call(this, Object.assign(Object.assign({}, rest), { token: ((_h = (yield ((_g = this._options.authProvider) === null || _g === void 0 ? void 0 : _g.getAuthRequest()))) === null || _h === void 0 ? void 0 : _h.headers.Authorization) || "", tenantName: yield core.Supplier.get(this._options.tenantName) }))).socket;
|
|
55
|
+
: (yield _super.connect.call(this, Object.assign(Object.assign({}, rest), { token: ((_h = (yield ((_g = this._options.authProvider) === null || _g === void 0 ? void 0 : _g.getAuthRequest()))) === null || _h === void 0 ? void 0 : _h.headers.Authorization) || "", tenantName: (_j = (yield core.Supplier.get(this._options.tenantName))) !== null && _j !== void 0 ? _j : "base" }))).socket;
|
|
56
56
|
const ws = new CustomTranscribeSocket({ socket });
|
|
57
57
|
if (!configuration) {
|
|
58
58
|
return ws;
|
|
@@ -12,6 +12,12 @@ export * as facts from "./facts/index.mjs";
|
|
|
12
12
|
export * from "./interactions/client/requests/index.mjs";
|
|
13
13
|
export * as interactions from "./interactions/index.mjs";
|
|
14
14
|
export * from "./interactions/types/index.mjs";
|
|
15
|
+
export * from "./newSections/client/requests/index.mjs";
|
|
16
|
+
export * as newSections from "./newSections/index.mjs";
|
|
17
|
+
export * as newSectionVersions from "./newSectionVersions/index.mjs";
|
|
18
|
+
export * from "./newTemplates/client/requests/index.mjs";
|
|
19
|
+
export * as newTemplates from "./newTemplates/index.mjs";
|
|
20
|
+
export * from "./newTemplates/types/index.mjs";
|
|
15
21
|
export * from "./stream/client/socket/index.mjs";
|
|
16
22
|
export * as stream from "./stream/index.mjs";
|
|
17
23
|
export * from "./transcribe/client/socket/index.mjs";
|
|
@@ -12,6 +12,12 @@ export * as facts from "./facts/index.mjs";
|
|
|
12
12
|
export * from "./interactions/client/requests/index.mjs";
|
|
13
13
|
export * as interactions from "./interactions/index.mjs";
|
|
14
14
|
export * from "./interactions/types/index.mjs";
|
|
15
|
+
export * from "./newSections/client/requests/index.mjs";
|
|
16
|
+
export * as newSections from "./newSections/index.mjs";
|
|
17
|
+
export * as newSectionVersions from "./newSectionVersions/index.mjs";
|
|
18
|
+
export * from "./newTemplates/client/requests/index.mjs";
|
|
19
|
+
export * as newTemplates from "./newTemplates/index.mjs";
|
|
20
|
+
export * from "./newTemplates/types/index.mjs";
|
|
15
21
|
export * from "./stream/client/socket/index.mjs";
|
|
16
22
|
export * as stream from "./stream/index.mjs";
|
|
17
23
|
export * from "./transcribe/client/socket/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as list from "./list.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as list from "./list.mjs";
|