@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
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "
|
|
47
|
-
"User-Agent": "@corti/sdk/
|
|
46
|
+
"X-Fern-SDK-Version": "2.0.0-rc",
|
|
47
|
+
"User-Agent": "@corti/sdk/2.0.0-rc",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -4,10 +4,6 @@ import { CodesClient } from "./api/resources/codes/client/Client.js";
|
|
|
4
4
|
import { DocumentsClient } from "./api/resources/documents/client/Client.js";
|
|
5
5
|
import { FactsClient } from "./api/resources/facts/client/Client.js";
|
|
6
6
|
import { InteractionsClient } from "./api/resources/interactions/client/Client.js";
|
|
7
|
-
import { NewSectionsClient } from "./api/resources/newSections/client/Client.js";
|
|
8
|
-
import { NewSectionVersionsClient } from "./api/resources/newSectionVersions/client/Client.js";
|
|
9
|
-
import { NewTemplatesClient } from "./api/resources/newTemplates/client/Client.js";
|
|
10
|
-
import { NewTemplateVersionsClient } from "./api/resources/newTemplateVersions/client/Client.js";
|
|
11
7
|
import { RecordingsClient } from "./api/resources/recordings/client/Client.js";
|
|
12
8
|
import { StreamClient } from "./api/resources/stream/client/Client.js";
|
|
13
9
|
import { TemplatesClient } from "./api/resources/templates/client/Client.js";
|
|
@@ -30,10 +26,6 @@ export declare class CortiClient {
|
|
|
30
26
|
protected _documents: DocumentsClient | undefined;
|
|
31
27
|
protected _templates: TemplatesClient | undefined;
|
|
32
28
|
protected _codes: CodesClient | undefined;
|
|
33
|
-
protected _newTemplates: NewTemplatesClient | undefined;
|
|
34
|
-
protected _newTemplateVersions: NewTemplateVersionsClient | undefined;
|
|
35
|
-
protected _newSections: NewSectionsClient | undefined;
|
|
36
|
-
protected _newSectionVersions: NewSectionVersionsClient | undefined;
|
|
37
29
|
protected _agents: AgentsClient | undefined;
|
|
38
30
|
protected _stream: StreamClient | undefined;
|
|
39
31
|
protected _transcribe: TranscribeClient | undefined;
|
|
@@ -46,10 +38,6 @@ export declare class CortiClient {
|
|
|
46
38
|
get documents(): DocumentsClient;
|
|
47
39
|
get templates(): TemplatesClient;
|
|
48
40
|
get codes(): CodesClient;
|
|
49
|
-
get newTemplates(): NewTemplatesClient;
|
|
50
|
-
get newTemplateVersions(): NewTemplateVersionsClient;
|
|
51
|
-
get newSections(): NewSectionsClient;
|
|
52
|
-
get newSectionVersions(): NewSectionVersionsClient;
|
|
53
41
|
get agents(): AgentsClient;
|
|
54
42
|
get stream(): StreamClient;
|
|
55
43
|
get transcribe(): TranscribeClient;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -8,15 +8,11 @@ const Client_js_3 = require("./api/resources/codes/client/Client.js");
|
|
|
8
8
|
const Client_js_4 = require("./api/resources/documents/client/Client.js");
|
|
9
9
|
const Client_js_5 = require("./api/resources/facts/client/Client.js");
|
|
10
10
|
const Client_js_6 = require("./api/resources/interactions/client/Client.js");
|
|
11
|
-
const Client_js_7 = require("./api/resources/
|
|
12
|
-
const Client_js_8 = require("./api/resources/
|
|
13
|
-
const Client_js_9 = require("./api/resources/
|
|
14
|
-
const Client_js_10 = require("./api/resources/
|
|
15
|
-
const Client_js_11 = require("./api/resources/
|
|
16
|
-
const Client_js_12 = require("./api/resources/stream/client/Client.js");
|
|
17
|
-
const Client_js_13 = require("./api/resources/templates/client/Client.js");
|
|
18
|
-
const Client_js_14 = require("./api/resources/transcribe/client/Client.js");
|
|
19
|
-
const Client_js_15 = require("./api/resources/transcripts/client/Client.js");
|
|
11
|
+
const Client_js_7 = require("./api/resources/recordings/client/Client.js");
|
|
12
|
+
const Client_js_8 = require("./api/resources/stream/client/Client.js");
|
|
13
|
+
const Client_js_9 = require("./api/resources/templates/client/Client.js");
|
|
14
|
+
const Client_js_10 = require("./api/resources/transcribe/client/Client.js");
|
|
15
|
+
const Client_js_11 = require("./api/resources/transcripts/client/Client.js");
|
|
20
16
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
21
17
|
class CortiClient {
|
|
22
18
|
constructor(options) {
|
|
@@ -32,11 +28,11 @@ class CortiClient {
|
|
|
32
28
|
}
|
|
33
29
|
get recordings() {
|
|
34
30
|
var _a;
|
|
35
|
-
return ((_a = this._recordings) !== null && _a !== void 0 ? _a : (this._recordings = new
|
|
31
|
+
return ((_a = this._recordings) !== null && _a !== void 0 ? _a : (this._recordings = new Client_js_7.RecordingsClient(this._options)));
|
|
36
32
|
}
|
|
37
33
|
get transcripts() {
|
|
38
34
|
var _a;
|
|
39
|
-
return ((_a = this._transcripts) !== null && _a !== void 0 ? _a : (this._transcripts = new
|
|
35
|
+
return ((_a = this._transcripts) !== null && _a !== void 0 ? _a : (this._transcripts = new Client_js_11.TranscriptsClient(this._options)));
|
|
40
36
|
}
|
|
41
37
|
get facts() {
|
|
42
38
|
var _a;
|
|
@@ -48,39 +44,23 @@ class CortiClient {
|
|
|
48
44
|
}
|
|
49
45
|
get templates() {
|
|
50
46
|
var _a;
|
|
51
|
-
return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new
|
|
47
|
+
return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_js_9.TemplatesClient(this._options)));
|
|
52
48
|
}
|
|
53
49
|
get codes() {
|
|
54
50
|
var _a;
|
|
55
51
|
return ((_a = this._codes) !== null && _a !== void 0 ? _a : (this._codes = new Client_js_3.CodesClient(this._options)));
|
|
56
52
|
}
|
|
57
|
-
get newTemplates() {
|
|
58
|
-
var _a;
|
|
59
|
-
return ((_a = this._newTemplates) !== null && _a !== void 0 ? _a : (this._newTemplates = new Client_js_9.NewTemplatesClient(this._options)));
|
|
60
|
-
}
|
|
61
|
-
get newTemplateVersions() {
|
|
62
|
-
var _a;
|
|
63
|
-
return ((_a = this._newTemplateVersions) !== null && _a !== void 0 ? _a : (this._newTemplateVersions = new Client_js_10.NewTemplateVersionsClient(this._options)));
|
|
64
|
-
}
|
|
65
|
-
get newSections() {
|
|
66
|
-
var _a;
|
|
67
|
-
return ((_a = this._newSections) !== null && _a !== void 0 ? _a : (this._newSections = new Client_js_7.NewSectionsClient(this._options)));
|
|
68
|
-
}
|
|
69
|
-
get newSectionVersions() {
|
|
70
|
-
var _a;
|
|
71
|
-
return ((_a = this._newSectionVersions) !== null && _a !== void 0 ? _a : (this._newSectionVersions = new Client_js_8.NewSectionVersionsClient(this._options)));
|
|
72
|
-
}
|
|
73
53
|
get agents() {
|
|
74
54
|
var _a;
|
|
75
55
|
return ((_a = this._agents) !== null && _a !== void 0 ? _a : (this._agents = new Client_js_1.AgentsClient(this._options)));
|
|
76
56
|
}
|
|
77
57
|
get stream() {
|
|
78
58
|
var _a;
|
|
79
|
-
return ((_a = this._stream) !== null && _a !== void 0 ? _a : (this._stream = new
|
|
59
|
+
return ((_a = this._stream) !== null && _a !== void 0 ? _a : (this._stream = new Client_js_8.StreamClient(this._options)));
|
|
80
60
|
}
|
|
81
61
|
get transcribe() {
|
|
82
62
|
var _a;
|
|
83
|
-
return ((_a = this._transcribe) !== null && _a !== void 0 ? _a : (this._transcribe = new
|
|
63
|
+
return ((_a = this._transcribe) !== null && _a !== void 0 ? _a : (this._transcribe = new Client_js_10.TranscribeClient(this._options)));
|
|
84
64
|
}
|
|
85
65
|
}
|
|
86
66
|
exports.CortiClient = CortiClient;
|
|
@@ -12,13 +12,6 @@ export * as facts from "./facts/index.js";
|
|
|
12
12
|
export * from "./interactions/client/requests/index.js";
|
|
13
13
|
export * as interactions from "./interactions/index.js";
|
|
14
14
|
export * from "./interactions/types/index.js";
|
|
15
|
-
export * from "./newSections/client/requests/index.js";
|
|
16
|
-
export * as newSections from "./newSections/index.js";
|
|
17
|
-
export * as newSectionVersions from "./newSectionVersions/index.js";
|
|
18
|
-
export * from "./newTemplates/client/requests/index.js";
|
|
19
|
-
export * as newTemplates from "./newTemplates/index.js";
|
|
20
|
-
export * from "./newTemplateVersions/client/requests/index.js";
|
|
21
|
-
export * as newTemplateVersions from "./newTemplateVersions/index.js";
|
|
22
15
|
export * as recordings from "./recordings/index.js";
|
|
23
16
|
export * as stream from "./stream/index.js";
|
|
24
17
|
export * from "./templates/client/requests/index.js";
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.transcripts = exports.transcribe = exports.templates = exports.stream = exports.recordings = exports.
|
|
39
|
+
exports.transcripts = exports.transcribe = exports.templates = exports.stream = exports.recordings = exports.interactions = exports.facts = exports.documents = exports.codes = exports.auth = exports.agents = void 0;
|
|
40
40
|
__exportStar(require("./agents/client/requests/index.js"), exports);
|
|
41
41
|
exports.agents = __importStar(require("./agents/index.js"));
|
|
42
42
|
__exportStar(require("./agents/types/index.js"), exports);
|
|
@@ -51,13 +51,6 @@ exports.facts = __importStar(require("./facts/index.js"));
|
|
|
51
51
|
__exportStar(require("./interactions/client/requests/index.js"), exports);
|
|
52
52
|
exports.interactions = __importStar(require("./interactions/index.js"));
|
|
53
53
|
__exportStar(require("./interactions/types/index.js"), exports);
|
|
54
|
-
__exportStar(require("./newSections/client/requests/index.js"), exports);
|
|
55
|
-
exports.newSections = __importStar(require("./newSections/index.js"));
|
|
56
|
-
exports.newSectionVersions = __importStar(require("./newSectionVersions/index.js"));
|
|
57
|
-
__exportStar(require("./newTemplates/client/requests/index.js"), exports);
|
|
58
|
-
exports.newTemplates = __importStar(require("./newTemplates/index.js"));
|
|
59
|
-
__exportStar(require("./newTemplateVersions/client/requests/index.js"), exports);
|
|
60
|
-
exports.newTemplateVersions = __importStar(require("./newTemplateVersions/index.js"));
|
|
61
54
|
exports.recordings = __importStar(require("./recordings/index.js"));
|
|
62
55
|
exports.stream = __importStar(require("./stream/index.js"));
|
|
63
56
|
__exportStar(require("./templates/client/requests/index.js"), exports);
|
|
@@ -62,7 +62,6 @@ export * from "./AuthTokenRequestClientCredentials.js";
|
|
|
62
62
|
export * from "./AuthTokenRequestRefresh.js";
|
|
63
63
|
export * from "./AuthTokenRequestRopc.js";
|
|
64
64
|
export * from "./AuthTokenResponse.js";
|
|
65
|
-
export * from "./BoolNode.js";
|
|
66
65
|
export * from "./CodesFilter.js";
|
|
67
66
|
export * from "./CodesGeneralReadResponse.js";
|
|
68
67
|
export * from "./CodesGeneralReadResponseAlternativesItem.js";
|
|
@@ -79,8 +78,6 @@ export * from "./CommonTextContextType.js";
|
|
|
79
78
|
export * from "./CommonTranscriptRequest.js";
|
|
80
79
|
export * from "./CommonTranscriptResponse.js";
|
|
81
80
|
export * from "./CommonUsageInfo.js";
|
|
82
|
-
export * from "./CreateSectionVersionRequest.js";
|
|
83
|
-
export * from "./DictNode.js";
|
|
84
81
|
export * from "./DocumentsContext.js";
|
|
85
82
|
export * from "./DocumentsContextWithFacts.js";
|
|
86
83
|
export * from "./DocumentsContextWithFactsType.js";
|
|
@@ -116,9 +113,6 @@ export * from "./FactsFactGroupsListResponse.js";
|
|
|
116
113
|
export * from "./FactsListItem.js";
|
|
117
114
|
export * from "./FactsListResponse.js";
|
|
118
115
|
export * from "./FactsUpdateResponse.js";
|
|
119
|
-
export * from "./FieldDefinition.js";
|
|
120
|
-
export * from "./FloatNode.js";
|
|
121
|
-
export * from "./IntegerNode.js";
|
|
122
116
|
export * from "./InteractionsCreateResponse.js";
|
|
123
117
|
export * from "./InteractionsEncounterCreateRequest.js";
|
|
124
118
|
export * from "./InteractionsEncounterPeriod.js";
|
|
@@ -130,15 +124,9 @@ export * from "./InteractionsGenderEnum.js";
|
|
|
130
124
|
export * from "./InteractionsGetResponse.js";
|
|
131
125
|
export * from "./InteractionsListResponse.js";
|
|
132
126
|
export * from "./InteractionsPatient.js";
|
|
133
|
-
export * from "./ListNode.js";
|
|
134
127
|
export * from "./OAuthTokenRequest.js";
|
|
135
|
-
export * from "./OutputSchema.js";
|
|
136
128
|
export * from "./RecordingsCreateResponse.js";
|
|
137
129
|
export * from "./RecordingsListResponse.js";
|
|
138
|
-
export * from "./Section.js";
|
|
139
|
-
export * from "./SectionInstructions.js";
|
|
140
|
-
export * from "./SectionVersion.js";
|
|
141
|
-
export * from "./StatusResponse.js";
|
|
142
130
|
export * from "./StreamConfig.js";
|
|
143
131
|
export * from "./StreamConfigMessage.js";
|
|
144
132
|
export * from "./StreamConfigMode.js";
|
|
@@ -164,9 +152,6 @@ export * from "./StreamTranscript.js";
|
|
|
164
152
|
export * from "./StreamTranscriptMessage.js";
|
|
165
153
|
export * from "./StreamTranscriptTime.js";
|
|
166
154
|
export * from "./StreamUsageMessage.js";
|
|
167
|
-
export * from "./StringNode.js";
|
|
168
|
-
export * from "./Template.js";
|
|
169
|
-
export * from "./TemplateInstructions.js";
|
|
170
155
|
export * from "./TemplatesDocumentationModeEnum.js";
|
|
171
156
|
export * from "./TemplatesFormatRule.js";
|
|
172
157
|
export * from "./TemplatesItem.js";
|
|
@@ -177,8 +162,6 @@ export * from "./TemplatesSectionSorted.js";
|
|
|
177
162
|
export * from "./TemplatesSectionTranslation.js";
|
|
178
163
|
export * from "./TemplatesTranslation.js";
|
|
179
164
|
export * from "./TemplatesWritingStyle.js";
|
|
180
|
-
export * from "./TemplateVersion.js";
|
|
181
|
-
export * from "./TemplateVersionSectionRequest.js";
|
|
182
165
|
export * from "./TranscribeCommand.js";
|
|
183
166
|
export * from "./TranscribeCommandData.js";
|
|
184
167
|
export * from "./TranscribeCommandMessage.js";
|
|
@@ -78,7 +78,6 @@ __exportStar(require("./AuthTokenRequestClientCredentials.js"), exports);
|
|
|
78
78
|
__exportStar(require("./AuthTokenRequestRefresh.js"), exports);
|
|
79
79
|
__exportStar(require("./AuthTokenRequestRopc.js"), exports);
|
|
80
80
|
__exportStar(require("./AuthTokenResponse.js"), exports);
|
|
81
|
-
__exportStar(require("./BoolNode.js"), exports);
|
|
82
81
|
__exportStar(require("./CodesFilter.js"), exports);
|
|
83
82
|
__exportStar(require("./CodesGeneralReadResponse.js"), exports);
|
|
84
83
|
__exportStar(require("./CodesGeneralReadResponseAlternativesItem.js"), exports);
|
|
@@ -95,8 +94,6 @@ __exportStar(require("./CommonTextContextType.js"), exports);
|
|
|
95
94
|
__exportStar(require("./CommonTranscriptRequest.js"), exports);
|
|
96
95
|
__exportStar(require("./CommonTranscriptResponse.js"), exports);
|
|
97
96
|
__exportStar(require("./CommonUsageInfo.js"), exports);
|
|
98
|
-
__exportStar(require("./CreateSectionVersionRequest.js"), exports);
|
|
99
|
-
__exportStar(require("./DictNode.js"), exports);
|
|
100
97
|
__exportStar(require("./DocumentsContext.js"), exports);
|
|
101
98
|
__exportStar(require("./DocumentsContextWithFacts.js"), exports);
|
|
102
99
|
__exportStar(require("./DocumentsContextWithFactsType.js"), exports);
|
|
@@ -132,9 +129,6 @@ __exportStar(require("./FactsFactGroupsListResponse.js"), exports);
|
|
|
132
129
|
__exportStar(require("./FactsListItem.js"), exports);
|
|
133
130
|
__exportStar(require("./FactsListResponse.js"), exports);
|
|
134
131
|
__exportStar(require("./FactsUpdateResponse.js"), exports);
|
|
135
|
-
__exportStar(require("./FieldDefinition.js"), exports);
|
|
136
|
-
__exportStar(require("./FloatNode.js"), exports);
|
|
137
|
-
__exportStar(require("./IntegerNode.js"), exports);
|
|
138
132
|
__exportStar(require("./InteractionsCreateResponse.js"), exports);
|
|
139
133
|
__exportStar(require("./InteractionsEncounterCreateRequest.js"), exports);
|
|
140
134
|
__exportStar(require("./InteractionsEncounterPeriod.js"), exports);
|
|
@@ -146,15 +140,9 @@ __exportStar(require("./InteractionsGenderEnum.js"), exports);
|
|
|
146
140
|
__exportStar(require("./InteractionsGetResponse.js"), exports);
|
|
147
141
|
__exportStar(require("./InteractionsListResponse.js"), exports);
|
|
148
142
|
__exportStar(require("./InteractionsPatient.js"), exports);
|
|
149
|
-
__exportStar(require("./ListNode.js"), exports);
|
|
150
143
|
__exportStar(require("./OAuthTokenRequest.js"), exports);
|
|
151
|
-
__exportStar(require("./OutputSchema.js"), exports);
|
|
152
144
|
__exportStar(require("./RecordingsCreateResponse.js"), exports);
|
|
153
145
|
__exportStar(require("./RecordingsListResponse.js"), exports);
|
|
154
|
-
__exportStar(require("./Section.js"), exports);
|
|
155
|
-
__exportStar(require("./SectionInstructions.js"), exports);
|
|
156
|
-
__exportStar(require("./SectionVersion.js"), exports);
|
|
157
|
-
__exportStar(require("./StatusResponse.js"), exports);
|
|
158
146
|
__exportStar(require("./StreamConfig.js"), exports);
|
|
159
147
|
__exportStar(require("./StreamConfigMessage.js"), exports);
|
|
160
148
|
__exportStar(require("./StreamConfigMode.js"), exports);
|
|
@@ -180,9 +168,6 @@ __exportStar(require("./StreamTranscript.js"), exports);
|
|
|
180
168
|
__exportStar(require("./StreamTranscriptMessage.js"), exports);
|
|
181
169
|
__exportStar(require("./StreamTranscriptTime.js"), exports);
|
|
182
170
|
__exportStar(require("./StreamUsageMessage.js"), exports);
|
|
183
|
-
__exportStar(require("./StringNode.js"), exports);
|
|
184
|
-
__exportStar(require("./Template.js"), exports);
|
|
185
|
-
__exportStar(require("./TemplateInstructions.js"), exports);
|
|
186
171
|
__exportStar(require("./TemplatesDocumentationModeEnum.js"), exports);
|
|
187
172
|
__exportStar(require("./TemplatesFormatRule.js"), exports);
|
|
188
173
|
__exportStar(require("./TemplatesItem.js"), exports);
|
|
@@ -193,8 +178,6 @@ __exportStar(require("./TemplatesSectionSorted.js"), exports);
|
|
|
193
178
|
__exportStar(require("./TemplatesSectionTranslation.js"), exports);
|
|
194
179
|
__exportStar(require("./TemplatesTranslation.js"), exports);
|
|
195
180
|
__exportStar(require("./TemplatesWritingStyle.js"), exports);
|
|
196
|
-
__exportStar(require("./TemplateVersion.js"), exports);
|
|
197
|
-
__exportStar(require("./TemplateVersionSectionRequest.js"), exports);
|
|
198
181
|
__exportStar(require("./TranscribeCommand.js"), exports);
|
|
199
182
|
__exportStar(require("./TranscribeCommandData.js"), exports);
|
|
200
183
|
__exportStar(require("./TranscribeCommandMessage.js"), exports);
|
|
@@ -76,9 +76,9 @@ class CortiClient extends Client_js_1.CortiClient {
|
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
78
|
this.getAuthHeaders = () => __awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
var _a
|
|
79
|
+
var _a;
|
|
80
80
|
const req = yield this._options.authProvider.getAuthRequest();
|
|
81
|
-
return new Headers(Object.assign(Object.assign({}, ((_a = req.headers) !== null && _a !== void 0 ? _a : {})), { "Tenant-Name":
|
|
81
|
+
return new Headers(Object.assign(Object.assign({}, ((_a = req.headers) !== null && _a !== void 0 ? _a : {})), { "Tenant-Name": yield core.Supplier.get(this._options.tenantName) }));
|
|
82
82
|
});
|
|
83
83
|
(0, withCredentialsConfig_js_1.setDefaultWithCredentials)(options.withCredentials);
|
|
84
84
|
this._encodeHeadersAsWsProtocols = options.encodeHeadersAsWsProtocols;
|
|
@@ -99,7 +99,7 @@ class CortiAuth extends Client_js_1.AuthClient {
|
|
|
99
99
|
return __awaiter(this, void 0, void 0, function* () {
|
|
100
100
|
const authRequest = (0, buildTokenRequestBody_js_1.buildTokenRequestBody)(request);
|
|
101
101
|
const tenantName = yield core.Supplier.get(this._tenantName);
|
|
102
|
-
return this.token(tenantName
|
|
102
|
+
return this.token(tenantName, authRequest, requestOptions).withRawResponse();
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
/** Exchange username/password for access token via ROPC (resource owner password credentials). */
|
|
@@ -175,7 +175,7 @@ class CortiAuth extends Client_js_1.AuthClient {
|
|
|
175
175
|
return __awaiter(this, arguments, void 0, function* ({ clientId, redirectUri, codeChallenge, scopes }, options) {
|
|
176
176
|
const envUrls = yield core.Supplier.get(this._options.environment);
|
|
177
177
|
const tenantName = yield core.Supplier.get(this._tenantName);
|
|
178
|
-
const authUrl = new URL(core.url.join(envUrls.login, tenantName
|
|
178
|
+
const authUrl = new URL(core.url.join(envUrls.login, tenantName, "protocol/openid-connect/auth"));
|
|
179
179
|
authUrl.searchParams.set("response_type", "code");
|
|
180
180
|
const allScopes = ["openid", "profile", ...(scopes !== null && scopes !== void 0 ? scopes : [])];
|
|
181
181
|
authUrl.searchParams.set("scope", [...new Set(allScopes)].join(" "));
|
|
@@ -76,7 +76,7 @@ class CustomStream extends Client_js_1.StreamClient {
|
|
|
76
76
|
connect: { get: () => super.connect }
|
|
77
77
|
});
|
|
78
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
79
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
80
80
|
const { configuration, awaitConfiguration = true, proxy } = args, rest = __rest(args, ["configuration", "awaitConfiguration", "proxy"]);
|
|
81
81
|
const useProxyPath = proxy || this._encodeHeadersAsWsProtocols;
|
|
82
82
|
const protocols = yield (0, encodeHeadersAsWsProtocols_js_1.getWsProtocols)(Object.assign(Object.assign({}, this._options), { encodeHeadersAsWsProtocols: this._encodeHeadersAsWsProtocols }), proxy === null || proxy === void 0 ? void 0 : proxy.protocols);
|
|
@@ -88,7 +88,7 @@ class CustomStream extends Client_js_1.StreamClient {
|
|
|
88
88
|
headers: (_d = rest.headers) !== null && _d !== void 0 ? _d : {},
|
|
89
89
|
options: { debug: (_e = rest.debug) !== null && _e !== void 0 ? _e : false, maxRetries: (_f = rest.reconnectAttempts) !== null && _f !== void 0 ? _f : 30 },
|
|
90
90
|
})
|
|
91
|
-
: (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:
|
|
91
|
+
: (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;
|
|
92
92
|
const ws = new CustomStreamSocket_js_1.CustomStreamSocket({ socket });
|
|
93
93
|
if (!configuration) {
|
|
94
94
|
return ws;
|
|
@@ -76,8 +76,8 @@ class CustomTranscribe extends Client_js_1.TranscribeClient {
|
|
|
76
76
|
connect: { get: () => super.connect }
|
|
77
77
|
});
|
|
78
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
80
|
-
const
|
|
79
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
80
|
+
const _j = args !== null && args !== void 0 ? args : {}, { configuration, awaitConfiguration = true, proxy } = _j, rest = __rest(_j, ["configuration", "awaitConfiguration", "proxy"]);
|
|
81
81
|
const useProxyPath = proxy || this._encodeHeadersAsWsProtocols;
|
|
82
82
|
const protocols = yield (0, encodeHeadersAsWsProtocols_js_1.getWsProtocols)(Object.assign(Object.assign({}, this._options), { encodeHeadersAsWsProtocols: this._encodeHeadersAsWsProtocols }), proxy === null || proxy === void 0 ? void 0 : proxy.protocols);
|
|
83
83
|
const socket = useProxyPath
|
|
@@ -88,7 +88,7 @@ class CustomTranscribe extends Client_js_1.TranscribeClient {
|
|
|
88
88
|
headers: (_d = rest.headers) !== null && _d !== void 0 ? _d : {},
|
|
89
89
|
options: { debug: (_e = rest.debug) !== null && _e !== void 0 ? _e : false, maxRetries: (_f = rest.reconnectAttempts) !== null && _f !== void 0 ? _f : 30 },
|
|
90
90
|
})
|
|
91
|
-
: (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:
|
|
91
|
+
: (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;
|
|
92
92
|
const ws = new CustomTranscribeSocket_js_1.CustomTranscribeSocket({ socket });
|
|
93
93
|
if (!configuration) {
|
|
94
94
|
return ws;
|
|
@@ -12,13 +12,6 @@ export * as facts from "./facts/index.js";
|
|
|
12
12
|
export * from "./interactions/client/requests/index.js";
|
|
13
13
|
export * as interactions from "./interactions/index.js";
|
|
14
14
|
export * from "./interactions/types/index.js";
|
|
15
|
-
export * from "./newSections/client/requests/index.js";
|
|
16
|
-
export * as newSections from "./newSections/index.js";
|
|
17
|
-
export * as newSectionVersions from "./newSectionVersions/index.js";
|
|
18
|
-
export * from "./newTemplates/client/requests/index.js";
|
|
19
|
-
export * as newTemplates from "./newTemplates/index.js";
|
|
20
|
-
export * from "./newTemplateVersions/client/requests/index.js";
|
|
21
|
-
export * as newTemplateVersions from "./newTemplateVersions/index.js";
|
|
22
15
|
export * from "./stream/client/socket/index.js";
|
|
23
16
|
export * as stream from "./stream/index.js";
|
|
24
17
|
export * from "./transcribe/client/socket/index.js";
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.transcripts = exports.transcribe = exports.stream = exports.
|
|
39
|
+
exports.transcripts = exports.transcribe = exports.stream = exports.interactions = exports.facts = exports.documents = exports.codes = exports.auth = exports.agents = void 0;
|
|
40
40
|
__exportStar(require("./agents/client/requests/index.js"), exports);
|
|
41
41
|
exports.agents = __importStar(require("./agents/index.js"));
|
|
42
42
|
__exportStar(require("./agents/types/index.js"), exports);
|
|
@@ -51,13 +51,6 @@ exports.facts = __importStar(require("./facts/index.js"));
|
|
|
51
51
|
__exportStar(require("./interactions/client/requests/index.js"), exports);
|
|
52
52
|
exports.interactions = __importStar(require("./interactions/index.js"));
|
|
53
53
|
__exportStar(require("./interactions/types/index.js"), exports);
|
|
54
|
-
__exportStar(require("./newSections/client/requests/index.js"), exports);
|
|
55
|
-
exports.newSections = __importStar(require("./newSections/index.js"));
|
|
56
|
-
exports.newSectionVersions = __importStar(require("./newSectionVersions/index.js"));
|
|
57
|
-
__exportStar(require("./newTemplates/client/requests/index.js"), exports);
|
|
58
|
-
exports.newTemplates = __importStar(require("./newTemplates/index.js"));
|
|
59
|
-
__exportStar(require("./newTemplateVersions/client/requests/index.js"), exports);
|
|
60
|
-
exports.newTemplateVersions = __importStar(require("./newTemplateVersions/index.js"));
|
|
61
54
|
__exportStar(require("./stream/client/socket/index.js"), exports);
|
|
62
55
|
exports.stream = __importStar(require("./stream/index.js"));
|
|
63
56
|
__exportStar(require("./transcribe/client/socket/index.js"), exports);
|
|
@@ -62,7 +62,6 @@ export * from "./AuthTokenRequestClientCredentials.js";
|
|
|
62
62
|
export * from "./AuthTokenRequestRefresh.js";
|
|
63
63
|
export * from "./AuthTokenRequestRopc.js";
|
|
64
64
|
export * from "./AuthTokenResponse.js";
|
|
65
|
-
export * from "./BoolNode.js";
|
|
66
65
|
export * from "./CodesFilter.js";
|
|
67
66
|
export * from "./CodesGeneralReadResponse.js";
|
|
68
67
|
export * from "./CodesGeneralReadResponseAlternativesItem.js";
|
|
@@ -79,8 +78,6 @@ export * from "./CommonTextContextType.js";
|
|
|
79
78
|
export * from "./CommonTranscriptRequest.js";
|
|
80
79
|
export * from "./CommonTranscriptResponse.js";
|
|
81
80
|
export * from "./CommonUsageInfo.js";
|
|
82
|
-
export * from "./CreateSectionVersionRequest.js";
|
|
83
|
-
export * from "./DictNode.js";
|
|
84
81
|
export * from "./DocumentsContext.js";
|
|
85
82
|
export * from "./DocumentsContextWithFacts.js";
|
|
86
83
|
export * from "./DocumentsContextWithFactsType.js";
|
|
@@ -116,9 +113,6 @@ export * from "./FactsFactGroupsListResponse.js";
|
|
|
116
113
|
export * from "./FactsListItem.js";
|
|
117
114
|
export * from "./FactsListResponse.js";
|
|
118
115
|
export * from "./FactsUpdateResponse.js";
|
|
119
|
-
export * from "./FieldDefinition.js";
|
|
120
|
-
export * from "./FloatNode.js";
|
|
121
|
-
export * from "./IntegerNode.js";
|
|
122
116
|
export * from "./InteractionsCreateResponse.js";
|
|
123
117
|
export * from "./InteractionsEncounterCreateRequest.js";
|
|
124
118
|
export * from "./InteractionsEncounterPeriod.js";
|
|
@@ -130,15 +124,9 @@ export * from "./InteractionsGenderEnum.js";
|
|
|
130
124
|
export * from "./InteractionsGetResponse.js";
|
|
131
125
|
export * from "./InteractionsListResponse.js";
|
|
132
126
|
export * from "./InteractionsPatient.js";
|
|
133
|
-
export * from "./ListNode.js";
|
|
134
127
|
export * from "./OAuthTokenRequest.js";
|
|
135
|
-
export * from "./OutputSchema.js";
|
|
136
128
|
export * from "./RecordingsCreateResponse.js";
|
|
137
129
|
export * from "./RecordingsListResponse.js";
|
|
138
|
-
export * from "./Section.js";
|
|
139
|
-
export * from "./SectionInstructions.js";
|
|
140
|
-
export * from "./SectionVersion.js";
|
|
141
|
-
export * from "./StatusResponse.js";
|
|
142
130
|
export * from "./StreamConfig.js";
|
|
143
131
|
export * from "./StreamConfigMessage.js";
|
|
144
132
|
export * from "./StreamConfigMode.js";
|
|
@@ -164,9 +152,6 @@ export * from "./StreamTranscript.js";
|
|
|
164
152
|
export * from "./StreamTranscriptMessage.js";
|
|
165
153
|
export * from "./StreamTranscriptTime.js";
|
|
166
154
|
export * from "./StreamUsageMessage.js";
|
|
167
|
-
export * from "./StringNode.js";
|
|
168
|
-
export * from "./Template.js";
|
|
169
|
-
export * from "./TemplateInstructions.js";
|
|
170
155
|
export * from "./TemplatesDocumentationModeEnum.js";
|
|
171
156
|
export * from "./TemplatesFormatRule.js";
|
|
172
157
|
export * from "./TemplatesItem.js";
|
|
@@ -177,8 +162,6 @@ export * from "./TemplatesSectionSorted.js";
|
|
|
177
162
|
export * from "./TemplatesSectionTranslation.js";
|
|
178
163
|
export * from "./TemplatesTranslation.js";
|
|
179
164
|
export * from "./TemplatesWritingStyle.js";
|
|
180
|
-
export * from "./TemplateVersion.js";
|
|
181
|
-
export * from "./TemplateVersionSectionRequest.js";
|
|
182
165
|
export * from "./TranscribeCommand.js";
|
|
183
166
|
export * from "./TranscribeCommandData.js";
|
|
184
167
|
export * from "./TranscribeCommandMessage.js";
|
|
@@ -78,7 +78,6 @@ __exportStar(require("./AuthTokenRequestClientCredentials.js"), exports);
|
|
|
78
78
|
__exportStar(require("./AuthTokenRequestRefresh.js"), exports);
|
|
79
79
|
__exportStar(require("./AuthTokenRequestRopc.js"), exports);
|
|
80
80
|
__exportStar(require("./AuthTokenResponse.js"), exports);
|
|
81
|
-
__exportStar(require("./BoolNode.js"), exports);
|
|
82
81
|
__exportStar(require("./CodesFilter.js"), exports);
|
|
83
82
|
__exportStar(require("./CodesGeneralReadResponse.js"), exports);
|
|
84
83
|
__exportStar(require("./CodesGeneralReadResponseAlternativesItem.js"), exports);
|
|
@@ -95,8 +94,6 @@ __exportStar(require("./CommonTextContextType.js"), exports);
|
|
|
95
94
|
__exportStar(require("./CommonTranscriptRequest.js"), exports);
|
|
96
95
|
__exportStar(require("./CommonTranscriptResponse.js"), exports);
|
|
97
96
|
__exportStar(require("./CommonUsageInfo.js"), exports);
|
|
98
|
-
__exportStar(require("./CreateSectionVersionRequest.js"), exports);
|
|
99
|
-
__exportStar(require("./DictNode.js"), exports);
|
|
100
97
|
__exportStar(require("./DocumentsContext.js"), exports);
|
|
101
98
|
__exportStar(require("./DocumentsContextWithFacts.js"), exports);
|
|
102
99
|
__exportStar(require("./DocumentsContextWithFactsType.js"), exports);
|
|
@@ -132,9 +129,6 @@ __exportStar(require("./FactsFactGroupsListResponse.js"), exports);
|
|
|
132
129
|
__exportStar(require("./FactsListItem.js"), exports);
|
|
133
130
|
__exportStar(require("./FactsListResponse.js"), exports);
|
|
134
131
|
__exportStar(require("./FactsUpdateResponse.js"), exports);
|
|
135
|
-
__exportStar(require("./FieldDefinition.js"), exports);
|
|
136
|
-
__exportStar(require("./FloatNode.js"), exports);
|
|
137
|
-
__exportStar(require("./IntegerNode.js"), exports);
|
|
138
132
|
__exportStar(require("./InteractionsCreateResponse.js"), exports);
|
|
139
133
|
__exportStar(require("./InteractionsEncounterCreateRequest.js"), exports);
|
|
140
134
|
__exportStar(require("./InteractionsEncounterPeriod.js"), exports);
|
|
@@ -146,15 +140,9 @@ __exportStar(require("./InteractionsGenderEnum.js"), exports);
|
|
|
146
140
|
__exportStar(require("./InteractionsGetResponse.js"), exports);
|
|
147
141
|
__exportStar(require("./InteractionsListResponse.js"), exports);
|
|
148
142
|
__exportStar(require("./InteractionsPatient.js"), exports);
|
|
149
|
-
__exportStar(require("./ListNode.js"), exports);
|
|
150
143
|
__exportStar(require("./OAuthTokenRequest.js"), exports);
|
|
151
|
-
__exportStar(require("./OutputSchema.js"), exports);
|
|
152
144
|
__exportStar(require("./RecordingsCreateResponse.js"), exports);
|
|
153
145
|
__exportStar(require("./RecordingsListResponse.js"), exports);
|
|
154
|
-
__exportStar(require("./Section.js"), exports);
|
|
155
|
-
__exportStar(require("./SectionInstructions.js"), exports);
|
|
156
|
-
__exportStar(require("./SectionVersion.js"), exports);
|
|
157
|
-
__exportStar(require("./StatusResponse.js"), exports);
|
|
158
146
|
__exportStar(require("./StreamConfig.js"), exports);
|
|
159
147
|
__exportStar(require("./StreamConfigMessage.js"), exports);
|
|
160
148
|
__exportStar(require("./StreamConfigMode.js"), exports);
|
|
@@ -180,9 +168,6 @@ __exportStar(require("./StreamTranscript.js"), exports);
|
|
|
180
168
|
__exportStar(require("./StreamTranscriptMessage.js"), exports);
|
|
181
169
|
__exportStar(require("./StreamTranscriptTime.js"), exports);
|
|
182
170
|
__exportStar(require("./StreamUsageMessage.js"), exports);
|
|
183
|
-
__exportStar(require("./StringNode.js"), exports);
|
|
184
|
-
__exportStar(require("./Template.js"), exports);
|
|
185
|
-
__exportStar(require("./TemplateInstructions.js"), exports);
|
|
186
171
|
__exportStar(require("./TemplatesDocumentationModeEnum.js"), exports);
|
|
187
172
|
__exportStar(require("./TemplatesFormatRule.js"), exports);
|
|
188
173
|
__exportStar(require("./TemplatesItem.js"), exports);
|
|
@@ -193,8 +178,6 @@ __exportStar(require("./TemplatesSectionSorted.js"), exports);
|
|
|
193
178
|
__exportStar(require("./TemplatesSectionTranslation.js"), exports);
|
|
194
179
|
__exportStar(require("./TemplatesTranslation.js"), exports);
|
|
195
180
|
__exportStar(require("./TemplatesWritingStyle.js"), exports);
|
|
196
|
-
__exportStar(require("./TemplateVersion.js"), exports);
|
|
197
|
-
__exportStar(require("./TemplateVersionSectionRequest.js"), exports);
|
|
198
181
|
__exportStar(require("./TranscribeCommand.js"), exports);
|
|
199
182
|
__exportStar(require("./TranscribeCommandData.js"), exports);
|
|
200
183
|
__exportStar(require("./TranscribeCommandMessage.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "2.0.0-rc";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "
|
|
10
|
-
"User-Agent": "@corti/sdk/
|
|
9
|
+
"X-Fern-SDK-Version": "2.0.0-rc",
|
|
10
|
+
"User-Agent": "@corti/sdk/2.0.0-rc",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -4,10 +4,6 @@ import { CodesClient } from "./api/resources/codes/client/Client.mjs";
|
|
|
4
4
|
import { DocumentsClient } from "./api/resources/documents/client/Client.mjs";
|
|
5
5
|
import { FactsClient } from "./api/resources/facts/client/Client.mjs";
|
|
6
6
|
import { InteractionsClient } from "./api/resources/interactions/client/Client.mjs";
|
|
7
|
-
import { NewSectionsClient } from "./api/resources/newSections/client/Client.mjs";
|
|
8
|
-
import { NewSectionVersionsClient } from "./api/resources/newSectionVersions/client/Client.mjs";
|
|
9
|
-
import { NewTemplatesClient } from "./api/resources/newTemplates/client/Client.mjs";
|
|
10
|
-
import { NewTemplateVersionsClient } from "./api/resources/newTemplateVersions/client/Client.mjs";
|
|
11
7
|
import { RecordingsClient } from "./api/resources/recordings/client/Client.mjs";
|
|
12
8
|
import { StreamClient } from "./api/resources/stream/client/Client.mjs";
|
|
13
9
|
import { TemplatesClient } from "./api/resources/templates/client/Client.mjs";
|
|
@@ -30,10 +26,6 @@ export declare class CortiClient {
|
|
|
30
26
|
protected _documents: DocumentsClient | undefined;
|
|
31
27
|
protected _templates: TemplatesClient | undefined;
|
|
32
28
|
protected _codes: CodesClient | undefined;
|
|
33
|
-
protected _newTemplates: NewTemplatesClient | undefined;
|
|
34
|
-
protected _newTemplateVersions: NewTemplateVersionsClient | undefined;
|
|
35
|
-
protected _newSections: NewSectionsClient | undefined;
|
|
36
|
-
protected _newSectionVersions: NewSectionVersionsClient | undefined;
|
|
37
29
|
protected _agents: AgentsClient | undefined;
|
|
38
30
|
protected _stream: StreamClient | undefined;
|
|
39
31
|
protected _transcribe: TranscribeClient | undefined;
|
|
@@ -46,10 +38,6 @@ export declare class CortiClient {
|
|
|
46
38
|
get documents(): DocumentsClient;
|
|
47
39
|
get templates(): TemplatesClient;
|
|
48
40
|
get codes(): CodesClient;
|
|
49
|
-
get newTemplates(): NewTemplatesClient;
|
|
50
|
-
get newTemplateVersions(): NewTemplateVersionsClient;
|
|
51
|
-
get newSections(): NewSectionsClient;
|
|
52
|
-
get newSectionVersions(): NewSectionVersionsClient;
|
|
53
41
|
get agents(): AgentsClient;
|
|
54
42
|
get stream(): StreamClient;
|
|
55
43
|
get transcribe(): TranscribeClient;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -5,10 +5,6 @@ import { CodesClient } from "./api/resources/codes/client/Client.mjs";
|
|
|
5
5
|
import { DocumentsClient } from "./api/resources/documents/client/Client.mjs";
|
|
6
6
|
import { FactsClient } from "./api/resources/facts/client/Client.mjs";
|
|
7
7
|
import { InteractionsClient } from "./api/resources/interactions/client/Client.mjs";
|
|
8
|
-
import { NewSectionsClient } from "./api/resources/newSections/client/Client.mjs";
|
|
9
|
-
import { NewSectionVersionsClient } from "./api/resources/newSectionVersions/client/Client.mjs";
|
|
10
|
-
import { NewTemplatesClient } from "./api/resources/newTemplates/client/Client.mjs";
|
|
11
|
-
import { NewTemplateVersionsClient } from "./api/resources/newTemplateVersions/client/Client.mjs";
|
|
12
8
|
import { RecordingsClient } from "./api/resources/recordings/client/Client.mjs";
|
|
13
9
|
import { StreamClient } from "./api/resources/stream/client/Client.mjs";
|
|
14
10
|
import { TemplatesClient } from "./api/resources/templates/client/Client.mjs";
|
|
@@ -51,22 +47,6 @@ export class CortiClient {
|
|
|
51
47
|
var _a;
|
|
52
48
|
return ((_a = this._codes) !== null && _a !== void 0 ? _a : (this._codes = new CodesClient(this._options)));
|
|
53
49
|
}
|
|
54
|
-
get newTemplates() {
|
|
55
|
-
var _a;
|
|
56
|
-
return ((_a = this._newTemplates) !== null && _a !== void 0 ? _a : (this._newTemplates = new NewTemplatesClient(this._options)));
|
|
57
|
-
}
|
|
58
|
-
get newTemplateVersions() {
|
|
59
|
-
var _a;
|
|
60
|
-
return ((_a = this._newTemplateVersions) !== null && _a !== void 0 ? _a : (this._newTemplateVersions = new NewTemplateVersionsClient(this._options)));
|
|
61
|
-
}
|
|
62
|
-
get newSections() {
|
|
63
|
-
var _a;
|
|
64
|
-
return ((_a = this._newSections) !== null && _a !== void 0 ? _a : (this._newSections = new NewSectionsClient(this._options)));
|
|
65
|
-
}
|
|
66
|
-
get newSectionVersions() {
|
|
67
|
-
var _a;
|
|
68
|
-
return ((_a = this._newSectionVersions) !== null && _a !== void 0 ? _a : (this._newSectionVersions = new NewSectionVersionsClient(this._options)));
|
|
69
|
-
}
|
|
70
50
|
get agents() {
|
|
71
51
|
var _a;
|
|
72
52
|
return ((_a = this._agents) !== null && _a !== void 0 ? _a : (this._agents = new AgentsClient(this._options)));
|