@corti/sdk 1.2.0-templates-beta.4 → 2.0.0-rc
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 -12
- package/dist/cjs/Client.js +10 -30
- package/dist/cjs/api/resources/index.d.ts +0 -7
- package/dist/cjs/api/resources/index.js +1 -8
- package/dist/cjs/api/types/index.d.ts +0 -17
- package/dist/cjs/api/types/index.js +0 -17
- 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 +0 -7
- package/dist/cjs/serialization/resources/index.js +1 -8
- package/dist/cjs/serialization/types/index.d.ts +0 -17
- package/dist/cjs/serialization/types/index.js +0 -17
- 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 -12
- package/dist/esm/Client.mjs +0 -20
- package/dist/esm/api/resources/index.d.mts +0 -7
- package/dist/esm/api/resources/index.mjs +0 -7
- package/dist/esm/api/types/index.d.mts +0 -17
- package/dist/esm/api/types/index.mjs +0 -17
- 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 +0 -7
- package/dist/esm/serialization/resources/index.mjs +0 -7
- package/dist/esm/serialization/types/index.d.mts +0 -17
- package/dist/esm/serialization/types/index.mjs +0 -17
- 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/newSectionVersions/client/Client.d.ts +0 -81
- package/dist/cjs/api/resources/newSectionVersions/client/Client.js +0 -346
- package/dist/cjs/api/resources/newSectionVersions/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/newSectionVersions/client/index.js +0 -2
- package/dist/cjs/api/resources/newSectionVersions/index.d.ts +0 -1
- package/dist/cjs/api/resources/newSectionVersions/index.js +0 -17
- package/dist/cjs/api/resources/newSections/client/Client.d.ts +0 -78
- package/dist/cjs/api/resources/newSections/client/Client.js +0 -350
- package/dist/cjs/api/resources/newSections/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/newSections/client/index.js +0 -17
- package/dist/cjs/api/resources/newSections/client/requests/CreateSectionRequest.d.ts +0 -30
- package/dist/cjs/api/resources/newSections/client/requests/CreateSectionRequest.js +0 -3
- package/dist/cjs/api/resources/newSections/client/requests/ListNewSectionsRequest.d.ts +0 -12
- package/dist/cjs/api/resources/newSections/client/requests/ListNewSectionsRequest.js +0 -3
- package/dist/cjs/api/resources/newSections/client/requests/UpdateSectionRequest.d.ts +0 -10
- package/dist/cjs/api/resources/newSections/client/requests/UpdateSectionRequest.js +0 -3
- package/dist/cjs/api/resources/newSections/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/newSections/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/newSections/index.d.ts +0 -1
- package/dist/cjs/api/resources/newSections/index.js +0 -17
- package/dist/cjs/api/resources/newTemplateVersions/client/Client.d.ts +0 -75
- package/dist/cjs/api/resources/newTemplateVersions/client/Client.js +0 -340
- package/dist/cjs/api/resources/newTemplateVersions/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplateVersions/client/index.js +0 -17
- package/dist/cjs/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +0 -9
- package/dist/cjs/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.js +0 -3
- package/dist/cjs/api/resources/newTemplateVersions/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplateVersions/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/newTemplateVersions/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplateVersions/index.js +0 -17
- package/dist/cjs/api/resources/newTemplates/client/Client.d.ts +0 -71
- package/dist/cjs/api/resources/newTemplates/client/Client.js +0 -343
- package/dist/cjs/api/resources/newTemplates/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplates/client/index.js +0 -17
- package/dist/cjs/api/resources/newTemplates/client/requests/CreateTemplateRequest.d.ts +0 -24
- package/dist/cjs/api/resources/newTemplates/client/requests/CreateTemplateRequest.js +0 -3
- package/dist/cjs/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.d.ts +0 -12
- package/dist/cjs/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.js +0 -3
- package/dist/cjs/api/resources/newTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -10
- package/dist/cjs/api/resources/newTemplates/client/requests/UpdateTemplateRequest.js +0 -3
- package/dist/cjs/api/resources/newTemplates/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/newTemplates/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/newTemplates/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplates/index.js +0 -17
- package/dist/cjs/api/types/BoolNode.d.ts +0 -7
- package/dist/cjs/api/types/BoolNode.js +0 -3
- package/dist/cjs/api/types/CreateSectionVersionRequest.d.ts +0 -7
- package/dist/cjs/api/types/CreateSectionVersionRequest.js +0 -3
- package/dist/cjs/api/types/DictNode.d.ts +0 -12
- package/dist/cjs/api/types/DictNode.js +0 -3
- package/dist/cjs/api/types/FieldDefinition.d.ts +0 -8
- package/dist/cjs/api/types/FieldDefinition.js +0 -3
- package/dist/cjs/api/types/FloatNode.d.ts +0 -13
- package/dist/cjs/api/types/FloatNode.js +0 -3
- package/dist/cjs/api/types/IntegerNode.d.ts +0 -13
- package/dist/cjs/api/types/IntegerNode.js +0 -3
- package/dist/cjs/api/types/ListNode.d.ts +0 -13
- package/dist/cjs/api/types/ListNode.js +0 -3
- package/dist/cjs/api/types/OutputSchema.d.ts +0 -2
- package/dist/cjs/api/types/OutputSchema.js +0 -3
- package/dist/cjs/api/types/Section.d.ts +0 -21
- package/dist/cjs/api/types/Section.js +0 -3
- package/dist/cjs/api/types/SectionInstructions.d.ts +0 -6
- package/dist/cjs/api/types/SectionInstructions.js +0 -3
- package/dist/cjs/api/types/SectionVersion.d.ts +0 -12
- package/dist/cjs/api/types/SectionVersion.js +0 -3
- package/dist/cjs/api/types/StatusResponse.d.ts +0 -3
- package/dist/cjs/api/types/StatusResponse.js +0 -3
- package/dist/cjs/api/types/StringNode.d.ts +0 -11
- package/dist/cjs/api/types/StringNode.js +0 -3
- package/dist/cjs/api/types/Template.d.ts +0 -22
- package/dist/cjs/api/types/Template.js +0 -3
- package/dist/cjs/api/types/TemplateInstructions.d.ts +0 -4
- package/dist/cjs/api/types/TemplateInstructions.js +0 -3
- package/dist/cjs/api/types/TemplateVersion.d.ts +0 -10
- package/dist/cjs/api/types/TemplateVersion.js +0 -3
- package/dist/cjs/api/types/TemplateVersionSectionRequest.d.ts +0 -7
- package/dist/cjs/api/types/TemplateVersionSectionRequest.js +0 -3
- package/dist/cjs/serialization/resources/newSectionVersions/client/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newSectionVersions/client/index.js +0 -37
- package/dist/cjs/serialization/resources/newSectionVersions/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/newSectionVersions/client/list.js +0 -40
- package/dist/cjs/serialization/resources/newSectionVersions/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newSectionVersions/index.js +0 -17
- package/dist/cjs/serialization/resources/newSections/client/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newSections/client/index.js +0 -41
- package/dist/cjs/serialization/resources/newSections/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/newSections/client/list.js +0 -40
- package/dist/cjs/serialization/resources/newSections/client/requests/CreateSectionRequest.d.ts +0 -16
- package/dist/cjs/serialization/resources/newSections/client/requests/CreateSectionRequest.js +0 -48
- package/dist/cjs/serialization/resources/newSections/client/requests/UpdateSectionRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/newSections/client/requests/UpdateSectionRequest.js +0 -44
- package/dist/cjs/serialization/resources/newSections/client/requests/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newSections/client/requests/index.js +0 -7
- package/dist/cjs/serialization/resources/newSections/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newSections/index.js +0 -17
- package/dist/cjs/serialization/resources/newTemplateVersions/client/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newTemplateVersions/client/index.js +0 -41
- package/dist/cjs/serialization/resources/newTemplateVersions/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/newTemplateVersions/client/list.js +0 -40
- package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.js +0 -44
- package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/index.js +0 -5
- package/dist/cjs/serialization/resources/newTemplateVersions/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newTemplateVersions/index.js +0 -17
- package/dist/cjs/serialization/resources/newTemplates/client/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newTemplates/client/index.js +0 -41
- package/dist/cjs/serialization/resources/newTemplates/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/newTemplates/client/list.js +0 -40
- package/dist/cjs/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.d.ts +0 -18
- package/dist/cjs/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.js +0 -50
- package/dist/cjs/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.js +0 -44
- package/dist/cjs/serialization/resources/newTemplates/client/requests/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newTemplates/client/requests/index.js +0 -7
- package/dist/cjs/serialization/resources/newTemplates/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newTemplates/index.js +0 -17
- package/dist/cjs/serialization/types/BoolNode.d.ts +0 -11
- package/dist/cjs/serialization/types/BoolNode.js +0 -43
- package/dist/cjs/serialization/types/CreateSectionVersionRequest.d.ts +0 -12
- package/dist/cjs/serialization/types/CreateSectionVersionRequest.js +0 -45
- package/dist/cjs/serialization/types/DictNode.d.ts +0 -13
- package/dist/cjs/serialization/types/DictNode.js +0 -46
- package/dist/cjs/serialization/types/FieldDefinition.d.ts +0 -11
- package/dist/cjs/serialization/types/FieldDefinition.js +0 -44
- package/dist/cjs/serialization/types/FloatNode.d.ts +0 -14
- package/dist/cjs/serialization/types/FloatNode.js +0 -46
- package/dist/cjs/serialization/types/IntegerNode.d.ts +0 -14
- package/dist/cjs/serialization/types/IntegerNode.js +0 -46
- package/dist/cjs/serialization/types/ListNode.d.ts +0 -14
- package/dist/cjs/serialization/types/ListNode.js +0 -47
- package/dist/cjs/serialization/types/OutputSchema.d.ts +0 -11
- package/dist/cjs/serialization/types/OutputSchema.js +0 -51
- package/dist/cjs/serialization/types/Section.d.ts +0 -18
- package/dist/cjs/serialization/types/Section.js +0 -50
- package/dist/cjs/serialization/types/SectionInstructions.d.ts +0 -10
- package/dist/cjs/serialization/types/SectionInstructions.js +0 -42
- package/dist/cjs/serialization/types/SectionVersion.d.ts +0 -14
- package/dist/cjs/serialization/types/SectionVersion.js +0 -47
- package/dist/cjs/serialization/types/StatusResponse.d.ts +0 -9
- package/dist/cjs/serialization/types/StatusResponse.js +0 -41
- package/dist/cjs/serialization/types/StringNode.d.ts +0 -13
- package/dist/cjs/serialization/types/StringNode.js +0 -45
- package/dist/cjs/serialization/types/Template.d.ts +0 -19
- package/dist/cjs/serialization/types/Template.js +0 -51
- package/dist/cjs/serialization/types/TemplateInstructions.d.ts +0 -9
- package/dist/cjs/serialization/types/TemplateInstructions.js +0 -41
- package/dist/cjs/serialization/types/TemplateVersion.d.ts +0 -14
- package/dist/cjs/serialization/types/TemplateVersion.js +0 -46
- package/dist/cjs/serialization/types/TemplateVersionSectionRequest.d.ts +0 -11
- package/dist/cjs/serialization/types/TemplateVersionSectionRequest.js +0 -43
- package/dist/esm/api/resources/newSectionVersions/client/Client.d.mts +0 -81
- package/dist/esm/api/resources/newSectionVersions/client/Client.mjs +0 -309
- package/dist/esm/api/resources/newSectionVersions/client/index.d.mts +0 -1
- package/dist/esm/api/resources/newSectionVersions/client/index.mjs +0 -1
- package/dist/esm/api/resources/newSectionVersions/index.d.mts +0 -1
- package/dist/esm/api/resources/newSectionVersions/index.mjs +0 -1
- package/dist/esm/api/resources/newSections/client/Client.d.mts +0 -78
- package/dist/esm/api/resources/newSections/client/Client.mjs +0 -313
- package/dist/esm/api/resources/newSections/client/index.d.mts +0 -1
- package/dist/esm/api/resources/newSections/client/index.mjs +0 -1
- package/dist/esm/api/resources/newSections/client/requests/CreateSectionRequest.d.mts +0 -30
- package/dist/esm/api/resources/newSections/client/requests/CreateSectionRequest.mjs +0 -2
- package/dist/esm/api/resources/newSections/client/requests/ListNewSectionsRequest.d.mts +0 -12
- package/dist/esm/api/resources/newSections/client/requests/ListNewSectionsRequest.mjs +0 -2
- package/dist/esm/api/resources/newSections/client/requests/UpdateSectionRequest.d.mts +0 -10
- package/dist/esm/api/resources/newSections/client/requests/UpdateSectionRequest.mjs +0 -2
- package/dist/esm/api/resources/newSections/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/newSections/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/newSections/index.d.mts +0 -1
- package/dist/esm/api/resources/newSections/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplateVersions/client/Client.d.mts +0 -75
- package/dist/esm/api/resources/newTemplateVersions/client/Client.mjs +0 -303
- package/dist/esm/api/resources/newTemplateVersions/client/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplateVersions/client/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +0 -9
- package/dist/esm/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs +0 -2
- package/dist/esm/api/resources/newTemplateVersions/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplateVersions/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplateVersions/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplateVersions/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplates/client/Client.d.mts +0 -71
- package/dist/esm/api/resources/newTemplates/client/Client.mjs +0 -306
- package/dist/esm/api/resources/newTemplates/client/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplates/client/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplates/client/requests/CreateTemplateRequest.d.mts +0 -24
- package/dist/esm/api/resources/newTemplates/client/requests/CreateTemplateRequest.mjs +0 -2
- package/dist/esm/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.d.mts +0 -12
- package/dist/esm/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.mjs +0 -2
- package/dist/esm/api/resources/newTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -10
- package/dist/esm/api/resources/newTemplates/client/requests/UpdateTemplateRequest.mjs +0 -2
- package/dist/esm/api/resources/newTemplates/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/newTemplates/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplates/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplates/index.mjs +0 -1
- package/dist/esm/api/types/BoolNode.d.mts +0 -7
- package/dist/esm/api/types/BoolNode.mjs +0 -2
- package/dist/esm/api/types/CreateSectionVersionRequest.d.mts +0 -7
- package/dist/esm/api/types/CreateSectionVersionRequest.mjs +0 -2
- package/dist/esm/api/types/DictNode.d.mts +0 -12
- package/dist/esm/api/types/DictNode.mjs +0 -2
- package/dist/esm/api/types/FieldDefinition.d.mts +0 -8
- package/dist/esm/api/types/FieldDefinition.mjs +0 -2
- package/dist/esm/api/types/FloatNode.d.mts +0 -13
- package/dist/esm/api/types/FloatNode.mjs +0 -2
- package/dist/esm/api/types/IntegerNode.d.mts +0 -13
- package/dist/esm/api/types/IntegerNode.mjs +0 -2
- package/dist/esm/api/types/ListNode.d.mts +0 -13
- package/dist/esm/api/types/ListNode.mjs +0 -2
- package/dist/esm/api/types/OutputSchema.d.mts +0 -2
- package/dist/esm/api/types/OutputSchema.mjs +0 -2
- package/dist/esm/api/types/Section.d.mts +0 -21
- package/dist/esm/api/types/Section.mjs +0 -2
- package/dist/esm/api/types/SectionInstructions.d.mts +0 -6
- package/dist/esm/api/types/SectionInstructions.mjs +0 -2
- package/dist/esm/api/types/SectionVersion.d.mts +0 -12
- package/dist/esm/api/types/SectionVersion.mjs +0 -2
- package/dist/esm/api/types/StatusResponse.d.mts +0 -3
- package/dist/esm/api/types/StatusResponse.mjs +0 -2
- package/dist/esm/api/types/StringNode.d.mts +0 -11
- package/dist/esm/api/types/StringNode.mjs +0 -2
- package/dist/esm/api/types/Template.d.mts +0 -22
- package/dist/esm/api/types/Template.mjs +0 -2
- package/dist/esm/api/types/TemplateInstructions.d.mts +0 -4
- package/dist/esm/api/types/TemplateInstructions.mjs +0 -2
- package/dist/esm/api/types/TemplateVersion.d.mts +0 -10
- package/dist/esm/api/types/TemplateVersion.mjs +0 -2
- package/dist/esm/api/types/TemplateVersionSectionRequest.d.mts +0 -7
- package/dist/esm/api/types/TemplateVersionSectionRequest.mjs +0 -2
- package/dist/esm/serialization/resources/newSectionVersions/client/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newSectionVersions/client/index.mjs +0 -1
- package/dist/esm/serialization/resources/newSectionVersions/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/newSectionVersions/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/newSectionVersions/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newSectionVersions/index.mjs +0 -1
- package/dist/esm/serialization/resources/newSections/client/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newSections/client/index.mjs +0 -2
- package/dist/esm/serialization/resources/newSections/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/newSections/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/newSections/client/requests/CreateSectionRequest.d.mts +0 -16
- package/dist/esm/serialization/resources/newSections/client/requests/CreateSectionRequest.mjs +0 -12
- package/dist/esm/serialization/resources/newSections/client/requests/UpdateSectionRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/newSections/client/requests/UpdateSectionRequest.mjs +0 -8
- package/dist/esm/serialization/resources/newSections/client/requests/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newSections/client/requests/index.mjs +0 -2
- package/dist/esm/serialization/resources/newSections/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newSections/index.mjs +0 -1
- package/dist/esm/serialization/resources/newTemplateVersions/client/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newTemplateVersions/client/index.mjs +0 -2
- package/dist/esm/serialization/resources/newTemplateVersions/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/newTemplateVersions/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs +0 -8
- package/dist/esm/serialization/resources/newTemplateVersions/client/requests/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newTemplateVersions/client/requests/index.mjs +0 -1
- package/dist/esm/serialization/resources/newTemplateVersions/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newTemplateVersions/index.mjs +0 -1
- package/dist/esm/serialization/resources/newTemplates/client/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newTemplates/client/index.mjs +0 -2
- package/dist/esm/serialization/resources/newTemplates/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/newTemplates/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.d.mts +0 -18
- package/dist/esm/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.mjs +0 -14
- package/dist/esm/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.mjs +0 -8
- package/dist/esm/serialization/resources/newTemplates/client/requests/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newTemplates/client/requests/index.mjs +0 -2
- package/dist/esm/serialization/resources/newTemplates/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newTemplates/index.mjs +0 -1
- package/dist/esm/serialization/types/BoolNode.d.mts +0 -11
- package/dist/esm/serialization/types/BoolNode.mjs +0 -7
- package/dist/esm/serialization/types/CreateSectionVersionRequest.d.mts +0 -12
- package/dist/esm/serialization/types/CreateSectionVersionRequest.mjs +0 -9
- package/dist/esm/serialization/types/DictNode.d.mts +0 -13
- package/dist/esm/serialization/types/DictNode.mjs +0 -10
- package/dist/esm/serialization/types/FieldDefinition.d.mts +0 -11
- package/dist/esm/serialization/types/FieldDefinition.mjs +0 -8
- package/dist/esm/serialization/types/FloatNode.d.mts +0 -14
- package/dist/esm/serialization/types/FloatNode.mjs +0 -10
- package/dist/esm/serialization/types/IntegerNode.d.mts +0 -14
- package/dist/esm/serialization/types/IntegerNode.mjs +0 -10
- package/dist/esm/serialization/types/ListNode.d.mts +0 -14
- package/dist/esm/serialization/types/ListNode.mjs +0 -11
- package/dist/esm/serialization/types/OutputSchema.d.mts +0 -11
- package/dist/esm/serialization/types/OutputSchema.mjs +0 -15
- package/dist/esm/serialization/types/Section.d.mts +0 -18
- package/dist/esm/serialization/types/Section.mjs +0 -14
- package/dist/esm/serialization/types/SectionInstructions.d.mts +0 -10
- package/dist/esm/serialization/types/SectionInstructions.mjs +0 -6
- package/dist/esm/serialization/types/SectionVersion.d.mts +0 -14
- package/dist/esm/serialization/types/SectionVersion.mjs +0 -11
- package/dist/esm/serialization/types/StatusResponse.d.mts +0 -9
- package/dist/esm/serialization/types/StatusResponse.mjs +0 -5
- package/dist/esm/serialization/types/StringNode.d.mts +0 -13
- package/dist/esm/serialization/types/StringNode.mjs +0 -9
- package/dist/esm/serialization/types/Template.d.mts +0 -19
- package/dist/esm/serialization/types/Template.mjs +0 -15
- package/dist/esm/serialization/types/TemplateInstructions.d.mts +0 -9
- package/dist/esm/serialization/types/TemplateInstructions.mjs +0 -5
- package/dist/esm/serialization/types/TemplateVersion.d.mts +0 -14
- package/dist/esm/serialization/types/TemplateVersion.mjs +0 -10
- package/dist/esm/serialization/types/TemplateVersionSectionRequest.d.mts +0 -11
- package/dist/esm/serialization/types/TemplateVersionSectionRequest.mjs +0 -7
|
@@ -12,13 +12,6 @@ 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 "./newTemplateVersions/client/requests/index.mjs";
|
|
21
|
-
export * as newTemplateVersions from "./newTemplateVersions/index.mjs";
|
|
22
15
|
export * as recordings from "./recordings/index.mjs";
|
|
23
16
|
export * as stream from "./stream/index.mjs";
|
|
24
17
|
export * from "./templates/client/requests/index.mjs";
|
|
@@ -12,13 +12,6 @@ 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 "./newTemplateVersions/client/requests/index.mjs";
|
|
21
|
-
export * as newTemplateVersions from "./newTemplateVersions/index.mjs";
|
|
22
15
|
export * as recordings from "./recordings/index.mjs";
|
|
23
16
|
export * as stream from "./stream/index.mjs";
|
|
24
17
|
export * from "./templates/client/requests/index.mjs";
|
|
@@ -62,7 +62,6 @@ 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";
|
|
66
65
|
export * from "./CodesFilter.mjs";
|
|
67
66
|
export * from "./CodesGeneralReadResponse.mjs";
|
|
68
67
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
@@ -79,8 +78,6 @@ export * from "./CommonTextContextType.mjs";
|
|
|
79
78
|
export * from "./CommonTranscriptRequest.mjs";
|
|
80
79
|
export * from "./CommonTranscriptResponse.mjs";
|
|
81
80
|
export * from "./CommonUsageInfo.mjs";
|
|
82
|
-
export * from "./CreateSectionVersionRequest.mjs";
|
|
83
|
-
export * from "./DictNode.mjs";
|
|
84
81
|
export * from "./DocumentsContext.mjs";
|
|
85
82
|
export * from "./DocumentsContextWithFacts.mjs";
|
|
86
83
|
export * from "./DocumentsContextWithFactsType.mjs";
|
|
@@ -116,9 +113,6 @@ export * from "./FactsFactGroupsListResponse.mjs";
|
|
|
116
113
|
export * from "./FactsListItem.mjs";
|
|
117
114
|
export * from "./FactsListResponse.mjs";
|
|
118
115
|
export * from "./FactsUpdateResponse.mjs";
|
|
119
|
-
export * from "./FieldDefinition.mjs";
|
|
120
|
-
export * from "./FloatNode.mjs";
|
|
121
|
-
export * from "./IntegerNode.mjs";
|
|
122
116
|
export * from "./InteractionsCreateResponse.mjs";
|
|
123
117
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
124
118
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
@@ -130,15 +124,9 @@ export * from "./InteractionsGenderEnum.mjs";
|
|
|
130
124
|
export * from "./InteractionsGetResponse.mjs";
|
|
131
125
|
export * from "./InteractionsListResponse.mjs";
|
|
132
126
|
export * from "./InteractionsPatient.mjs";
|
|
133
|
-
export * from "./ListNode.mjs";
|
|
134
127
|
export * from "./OAuthTokenRequest.mjs";
|
|
135
|
-
export * from "./OutputSchema.mjs";
|
|
136
128
|
export * from "./RecordingsCreateResponse.mjs";
|
|
137
129
|
export * from "./RecordingsListResponse.mjs";
|
|
138
|
-
export * from "./Section.mjs";
|
|
139
|
-
export * from "./SectionInstructions.mjs";
|
|
140
|
-
export * from "./SectionVersion.mjs";
|
|
141
|
-
export * from "./StatusResponse.mjs";
|
|
142
130
|
export * from "./StreamConfig.mjs";
|
|
143
131
|
export * from "./StreamConfigMessage.mjs";
|
|
144
132
|
export * from "./StreamConfigMode.mjs";
|
|
@@ -164,9 +152,6 @@ export * from "./StreamTranscript.mjs";
|
|
|
164
152
|
export * from "./StreamTranscriptMessage.mjs";
|
|
165
153
|
export * from "./StreamTranscriptTime.mjs";
|
|
166
154
|
export * from "./StreamUsageMessage.mjs";
|
|
167
|
-
export * from "./StringNode.mjs";
|
|
168
|
-
export * from "./Template.mjs";
|
|
169
|
-
export * from "./TemplateInstructions.mjs";
|
|
170
155
|
export * from "./TemplatesDocumentationModeEnum.mjs";
|
|
171
156
|
export * from "./TemplatesFormatRule.mjs";
|
|
172
157
|
export * from "./TemplatesItem.mjs";
|
|
@@ -177,8 +162,6 @@ export * from "./TemplatesSectionSorted.mjs";
|
|
|
177
162
|
export * from "./TemplatesSectionTranslation.mjs";
|
|
178
163
|
export * from "./TemplatesTranslation.mjs";
|
|
179
164
|
export * from "./TemplatesWritingStyle.mjs";
|
|
180
|
-
export * from "./TemplateVersion.mjs";
|
|
181
|
-
export * from "./TemplateVersionSectionRequest.mjs";
|
|
182
165
|
export * from "./TranscribeCommand.mjs";
|
|
183
166
|
export * from "./TranscribeCommandData.mjs";
|
|
184
167
|
export * from "./TranscribeCommandMessage.mjs";
|
|
@@ -62,7 +62,6 @@ 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";
|
|
66
65
|
export * from "./CodesFilter.mjs";
|
|
67
66
|
export * from "./CodesGeneralReadResponse.mjs";
|
|
68
67
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
@@ -79,8 +78,6 @@ export * from "./CommonTextContextType.mjs";
|
|
|
79
78
|
export * from "./CommonTranscriptRequest.mjs";
|
|
80
79
|
export * from "./CommonTranscriptResponse.mjs";
|
|
81
80
|
export * from "./CommonUsageInfo.mjs";
|
|
82
|
-
export * from "./CreateSectionVersionRequest.mjs";
|
|
83
|
-
export * from "./DictNode.mjs";
|
|
84
81
|
export * from "./DocumentsContext.mjs";
|
|
85
82
|
export * from "./DocumentsContextWithFacts.mjs";
|
|
86
83
|
export * from "./DocumentsContextWithFactsType.mjs";
|
|
@@ -116,9 +113,6 @@ export * from "./FactsFactGroupsListResponse.mjs";
|
|
|
116
113
|
export * from "./FactsListItem.mjs";
|
|
117
114
|
export * from "./FactsListResponse.mjs";
|
|
118
115
|
export * from "./FactsUpdateResponse.mjs";
|
|
119
|
-
export * from "./FieldDefinition.mjs";
|
|
120
|
-
export * from "./FloatNode.mjs";
|
|
121
|
-
export * from "./IntegerNode.mjs";
|
|
122
116
|
export * from "./InteractionsCreateResponse.mjs";
|
|
123
117
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
124
118
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
@@ -130,15 +124,9 @@ export * from "./InteractionsGenderEnum.mjs";
|
|
|
130
124
|
export * from "./InteractionsGetResponse.mjs";
|
|
131
125
|
export * from "./InteractionsListResponse.mjs";
|
|
132
126
|
export * from "./InteractionsPatient.mjs";
|
|
133
|
-
export * from "./ListNode.mjs";
|
|
134
127
|
export * from "./OAuthTokenRequest.mjs";
|
|
135
|
-
export * from "./OutputSchema.mjs";
|
|
136
128
|
export * from "./RecordingsCreateResponse.mjs";
|
|
137
129
|
export * from "./RecordingsListResponse.mjs";
|
|
138
|
-
export * from "./Section.mjs";
|
|
139
|
-
export * from "./SectionInstructions.mjs";
|
|
140
|
-
export * from "./SectionVersion.mjs";
|
|
141
|
-
export * from "./StatusResponse.mjs";
|
|
142
130
|
export * from "./StreamConfig.mjs";
|
|
143
131
|
export * from "./StreamConfigMessage.mjs";
|
|
144
132
|
export * from "./StreamConfigMode.mjs";
|
|
@@ -164,9 +152,6 @@ export * from "./StreamTranscript.mjs";
|
|
|
164
152
|
export * from "./StreamTranscriptMessage.mjs";
|
|
165
153
|
export * from "./StreamTranscriptTime.mjs";
|
|
166
154
|
export * from "./StreamUsageMessage.mjs";
|
|
167
|
-
export * from "./StringNode.mjs";
|
|
168
|
-
export * from "./Template.mjs";
|
|
169
|
-
export * from "./TemplateInstructions.mjs";
|
|
170
155
|
export * from "./TemplatesDocumentationModeEnum.mjs";
|
|
171
156
|
export * from "./TemplatesFormatRule.mjs";
|
|
172
157
|
export * from "./TemplatesItem.mjs";
|
|
@@ -177,8 +162,6 @@ export * from "./TemplatesSectionSorted.mjs";
|
|
|
177
162
|
export * from "./TemplatesSectionTranslation.mjs";
|
|
178
163
|
export * from "./TemplatesTranslation.mjs";
|
|
179
164
|
export * from "./TemplatesWritingStyle.mjs";
|
|
180
|
-
export * from "./TemplateVersion.mjs";
|
|
181
|
-
export * from "./TemplateVersionSectionRequest.mjs";
|
|
182
165
|
export * from "./TranscribeCommand.mjs";
|
|
183
166
|
export * from "./TranscribeCommandData.mjs";
|
|
184
167
|
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;
|
|
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":
|
|
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) }));
|
|
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
|
|
66
|
+
return this.token(tenantName, 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
|
|
142
|
+
const authUrl = new URL(core.url.join(envUrls.login, 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;
|
|
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:
|
|
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;
|
|
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;
|
|
44
|
+
const _j = args !== null && args !== void 0 ? args : {}, { configuration, awaitConfiguration = true, proxy } = _j, rest = __rest(_j, ["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:
|
|
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;
|
|
56
56
|
const ws = new CustomTranscribeSocket({ socket });
|
|
57
57
|
if (!configuration) {
|
|
58
58
|
return ws;
|
|
@@ -12,13 +12,6 @@ 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 "./newTemplateVersions/client/requests/index.mjs";
|
|
21
|
-
export * as newTemplateVersions from "./newTemplateVersions/index.mjs";
|
|
22
15
|
export * from "./stream/client/socket/index.mjs";
|
|
23
16
|
export * as stream from "./stream/index.mjs";
|
|
24
17
|
export * from "./transcribe/client/socket/index.mjs";
|
|
@@ -12,13 +12,6 @@ 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 "./newTemplateVersions/client/requests/index.mjs";
|
|
21
|
-
export * as newTemplateVersions from "./newTemplateVersions/index.mjs";
|
|
22
15
|
export * from "./stream/client/socket/index.mjs";
|
|
23
16
|
export * as stream from "./stream/index.mjs";
|
|
24
17
|
export * from "./transcribe/client/socket/index.mjs";
|
|
@@ -62,7 +62,6 @@ 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";
|
|
66
65
|
export * from "./CodesFilter.mjs";
|
|
67
66
|
export * from "./CodesGeneralReadResponse.mjs";
|
|
68
67
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
@@ -79,8 +78,6 @@ export * from "./CommonTextContextType.mjs";
|
|
|
79
78
|
export * from "./CommonTranscriptRequest.mjs";
|
|
80
79
|
export * from "./CommonTranscriptResponse.mjs";
|
|
81
80
|
export * from "./CommonUsageInfo.mjs";
|
|
82
|
-
export * from "./CreateSectionVersionRequest.mjs";
|
|
83
|
-
export * from "./DictNode.mjs";
|
|
84
81
|
export * from "./DocumentsContext.mjs";
|
|
85
82
|
export * from "./DocumentsContextWithFacts.mjs";
|
|
86
83
|
export * from "./DocumentsContextWithFactsType.mjs";
|
|
@@ -116,9 +113,6 @@ export * from "./FactsFactGroupsListResponse.mjs";
|
|
|
116
113
|
export * from "./FactsListItem.mjs";
|
|
117
114
|
export * from "./FactsListResponse.mjs";
|
|
118
115
|
export * from "./FactsUpdateResponse.mjs";
|
|
119
|
-
export * from "./FieldDefinition.mjs";
|
|
120
|
-
export * from "./FloatNode.mjs";
|
|
121
|
-
export * from "./IntegerNode.mjs";
|
|
122
116
|
export * from "./InteractionsCreateResponse.mjs";
|
|
123
117
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
124
118
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
@@ -130,15 +124,9 @@ export * from "./InteractionsGenderEnum.mjs";
|
|
|
130
124
|
export * from "./InteractionsGetResponse.mjs";
|
|
131
125
|
export * from "./InteractionsListResponse.mjs";
|
|
132
126
|
export * from "./InteractionsPatient.mjs";
|
|
133
|
-
export * from "./ListNode.mjs";
|
|
134
127
|
export * from "./OAuthTokenRequest.mjs";
|
|
135
|
-
export * from "./OutputSchema.mjs";
|
|
136
128
|
export * from "./RecordingsCreateResponse.mjs";
|
|
137
129
|
export * from "./RecordingsListResponse.mjs";
|
|
138
|
-
export * from "./Section.mjs";
|
|
139
|
-
export * from "./SectionInstructions.mjs";
|
|
140
|
-
export * from "./SectionVersion.mjs";
|
|
141
|
-
export * from "./StatusResponse.mjs";
|
|
142
130
|
export * from "./StreamConfig.mjs";
|
|
143
131
|
export * from "./StreamConfigMessage.mjs";
|
|
144
132
|
export * from "./StreamConfigMode.mjs";
|
|
@@ -164,9 +152,6 @@ export * from "./StreamTranscript.mjs";
|
|
|
164
152
|
export * from "./StreamTranscriptMessage.mjs";
|
|
165
153
|
export * from "./StreamTranscriptTime.mjs";
|
|
166
154
|
export * from "./StreamUsageMessage.mjs";
|
|
167
|
-
export * from "./StringNode.mjs";
|
|
168
|
-
export * from "./Template.mjs";
|
|
169
|
-
export * from "./TemplateInstructions.mjs";
|
|
170
155
|
export * from "./TemplatesDocumentationModeEnum.mjs";
|
|
171
156
|
export * from "./TemplatesFormatRule.mjs";
|
|
172
157
|
export * from "./TemplatesItem.mjs";
|
|
@@ -177,8 +162,6 @@ export * from "./TemplatesSectionSorted.mjs";
|
|
|
177
162
|
export * from "./TemplatesSectionTranslation.mjs";
|
|
178
163
|
export * from "./TemplatesTranslation.mjs";
|
|
179
164
|
export * from "./TemplatesWritingStyle.mjs";
|
|
180
|
-
export * from "./TemplateVersion.mjs";
|
|
181
|
-
export * from "./TemplateVersionSectionRequest.mjs";
|
|
182
165
|
export * from "./TranscribeCommand.mjs";
|
|
183
166
|
export * from "./TranscribeCommandData.mjs";
|
|
184
167
|
export * from "./TranscribeCommandMessage.mjs";
|
|
@@ -62,7 +62,6 @@ 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";
|
|
66
65
|
export * from "./CodesFilter.mjs";
|
|
67
66
|
export * from "./CodesGeneralReadResponse.mjs";
|
|
68
67
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
@@ -79,8 +78,6 @@ export * from "./CommonTextContextType.mjs";
|
|
|
79
78
|
export * from "./CommonTranscriptRequest.mjs";
|
|
80
79
|
export * from "./CommonTranscriptResponse.mjs";
|
|
81
80
|
export * from "./CommonUsageInfo.mjs";
|
|
82
|
-
export * from "./CreateSectionVersionRequest.mjs";
|
|
83
|
-
export * from "./DictNode.mjs";
|
|
84
81
|
export * from "./DocumentsContext.mjs";
|
|
85
82
|
export * from "./DocumentsContextWithFacts.mjs";
|
|
86
83
|
export * from "./DocumentsContextWithFactsType.mjs";
|
|
@@ -116,9 +113,6 @@ export * from "./FactsFactGroupsListResponse.mjs";
|
|
|
116
113
|
export * from "./FactsListItem.mjs";
|
|
117
114
|
export * from "./FactsListResponse.mjs";
|
|
118
115
|
export * from "./FactsUpdateResponse.mjs";
|
|
119
|
-
export * from "./FieldDefinition.mjs";
|
|
120
|
-
export * from "./FloatNode.mjs";
|
|
121
|
-
export * from "./IntegerNode.mjs";
|
|
122
116
|
export * from "./InteractionsCreateResponse.mjs";
|
|
123
117
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
124
118
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
@@ -130,15 +124,9 @@ export * from "./InteractionsGenderEnum.mjs";
|
|
|
130
124
|
export * from "./InteractionsGetResponse.mjs";
|
|
131
125
|
export * from "./InteractionsListResponse.mjs";
|
|
132
126
|
export * from "./InteractionsPatient.mjs";
|
|
133
|
-
export * from "./ListNode.mjs";
|
|
134
127
|
export * from "./OAuthTokenRequest.mjs";
|
|
135
|
-
export * from "./OutputSchema.mjs";
|
|
136
128
|
export * from "./RecordingsCreateResponse.mjs";
|
|
137
129
|
export * from "./RecordingsListResponse.mjs";
|
|
138
|
-
export * from "./Section.mjs";
|
|
139
|
-
export * from "./SectionInstructions.mjs";
|
|
140
|
-
export * from "./SectionVersion.mjs";
|
|
141
|
-
export * from "./StatusResponse.mjs";
|
|
142
130
|
export * from "./StreamConfig.mjs";
|
|
143
131
|
export * from "./StreamConfigMessage.mjs";
|
|
144
132
|
export * from "./StreamConfigMode.mjs";
|
|
@@ -164,9 +152,6 @@ export * from "./StreamTranscript.mjs";
|
|
|
164
152
|
export * from "./StreamTranscriptMessage.mjs";
|
|
165
153
|
export * from "./StreamTranscriptTime.mjs";
|
|
166
154
|
export * from "./StreamUsageMessage.mjs";
|
|
167
|
-
export * from "./StringNode.mjs";
|
|
168
|
-
export * from "./Template.mjs";
|
|
169
|
-
export * from "./TemplateInstructions.mjs";
|
|
170
155
|
export * from "./TemplatesDocumentationModeEnum.mjs";
|
|
171
156
|
export * from "./TemplatesFormatRule.mjs";
|
|
172
157
|
export * from "./TemplatesItem.mjs";
|
|
@@ -177,8 +162,6 @@ export * from "./TemplatesSectionSorted.mjs";
|
|
|
177
162
|
export * from "./TemplatesSectionTranslation.mjs";
|
|
178
163
|
export * from "./TemplatesTranslation.mjs";
|
|
179
164
|
export * from "./TemplatesWritingStyle.mjs";
|
|
180
|
-
export * from "./TemplateVersion.mjs";
|
|
181
|
-
export * from "./TemplateVersionSectionRequest.mjs";
|
|
182
165
|
export * from "./TranscribeCommand.mjs";
|
|
183
166
|
export * from "./TranscribeCommandData.mjs";
|
|
184
167
|
export * from "./TranscribeCommandMessage.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "2.0.0-rc";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "2.0.0-rc";
|
package/package.json
CHANGED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
-
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
-
import * as core from "../../../../core/index.js";
|
|
4
|
-
import * as Corti from "../../../index.js";
|
|
5
|
-
export declare namespace NewSectionVersionsClient {
|
|
6
|
-
type Options = BaseClientOptions;
|
|
7
|
-
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class NewSectionVersionsClient {
|
|
11
|
-
protected readonly _options: NormalizedClientOptionsWithAuth<NewSectionVersionsClient.Options>;
|
|
12
|
-
constructor(options: NewSectionVersionsClient.Options);
|
|
13
|
-
/**
|
|
14
|
-
* @param {string} sectionID
|
|
15
|
-
* @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
-
*
|
|
17
|
-
* @throws {@link Corti.NotFoundError}
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* await client.newSectionVersions.list("sectionID")
|
|
21
|
-
*/
|
|
22
|
-
list(sectionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion[]>;
|
|
23
|
-
private __list;
|
|
24
|
-
/**
|
|
25
|
-
* @param {string} sectionID
|
|
26
|
-
* @param {Corti.CreateSectionVersionRequest} request
|
|
27
|
-
* @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
|
-
*
|
|
29
|
-
* @throws {@link Corti.BadRequestError}
|
|
30
|
-
* @throws {@link Corti.NotFoundError}
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* await client.newSectionVersions.create("sectionID", {
|
|
34
|
-
* title: "title",
|
|
35
|
-
* instructions: {
|
|
36
|
-
* contentPrompt: "contentPrompt",
|
|
37
|
-
* writingStylePrompt: "writingStylePrompt"
|
|
38
|
-
* }
|
|
39
|
-
* })
|
|
40
|
-
*/
|
|
41
|
-
create(sectionID: string, request: Corti.CreateSectionVersionRequest, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
|
|
42
|
-
private __create;
|
|
43
|
-
/**
|
|
44
|
-
* @param {string} sectionID
|
|
45
|
-
* @param {string} versionID
|
|
46
|
-
* @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
|
-
*
|
|
48
|
-
* @throws {@link Corti.NotFoundError}
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* await client.newSectionVersions.get("sectionID", "versionID")
|
|
52
|
-
*/
|
|
53
|
-
get(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
|
|
54
|
-
private __get;
|
|
55
|
-
/**
|
|
56
|
-
* @param {string} sectionID
|
|
57
|
-
* @param {string} versionID
|
|
58
|
-
* @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link Corti.NotFoundError}
|
|
61
|
-
*
|
|
62
|
-
* @example
|
|
63
|
-
* await client.newSectionVersions.delete("sectionID", "versionID")
|
|
64
|
-
*/
|
|
65
|
-
delete(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
66
|
-
private __delete;
|
|
67
|
-
/**
|
|
68
|
-
* Sets this version as the published version of the section.
|
|
69
|
-
*
|
|
70
|
-
* @param {string} sectionID
|
|
71
|
-
* @param {string} versionID
|
|
72
|
-
* @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link Corti.NotFoundError}
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* await client.newSectionVersions.publish("sectionID", "versionID")
|
|
78
|
-
*/
|
|
79
|
-
publish(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.StatusResponse>;
|
|
80
|
-
private __publish;
|
|
81
|
-
}
|