@corti/sdk 0.0.0-alpha.10
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/LICENSE +21 -0
- package/README.md +231 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +8 -0
- package/dist/cjs/api/errors/BadRequestError.js +52 -0
- package/dist/cjs/api/errors/ForbiddenError.d.ts +9 -0
- package/dist/cjs/api/errors/ForbiddenError.js +52 -0
- package/dist/cjs/api/errors/GatewayTimeoutError.d.ts +9 -0
- package/dist/cjs/api/errors/GatewayTimeoutError.js +52 -0
- package/dist/cjs/api/errors/InternalServerError.d.ts +8 -0
- package/dist/cjs/api/errors/InternalServerError.js +52 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +9 -0
- package/dist/cjs/api/errors/NotFoundError.js +52 -0
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +8 -0
- package/dist/cjs/api/errors/UnauthorizedError.js +52 -0
- package/dist/cjs/api/errors/index.d.ts +6 -0
- package/dist/cjs/api/errors/index.js +22 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/auth/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/auth/client/Client.js +129 -0
- package/dist/cjs/api/resources/auth/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/auth/client/index.js +17 -0
- package/dist/cjs/api/resources/auth/client/requests/AuthGetTokenRequest.d.ts +14 -0
- package/dist/cjs/api/resources/auth/client/requests/AuthGetTokenRequest.js +5 -0
- package/dist/cjs/api/resources/auth/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/auth/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/auth/index.d.ts +2 -0
- package/dist/cjs/api/resources/auth/index.js +18 -0
- package/dist/cjs/api/resources/auth/types/GetTokenResponse.d.ts +10 -0
- package/dist/cjs/api/resources/auth/types/GetTokenResponse.js +5 -0
- package/dist/cjs/api/resources/auth/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/auth/types/index.js +17 -0
- package/dist/cjs/api/resources/documents/client/Client.d.ts +127 -0
- package/dist/cjs/api/resources/documents/client/Client.js +440 -0
- package/dist/cjs/api/resources/documents/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/documents/client/index.js +17 -0
- package/dist/cjs/api/resources/documents/client/requests/DocumentsGetRequest.d.ts +13 -0
- package/dist/cjs/api/resources/documents/client/requests/DocumentsGetRequest.js +5 -0
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentCreate.d.ts +31 -0
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentCreate.js +5 -0
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentUpdate.d.ts +13 -0
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentUpdate.js +5 -0
- package/dist/cjs/api/resources/documents/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/documents/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/documents/index.d.ts +2 -0
- package/dist/cjs/api/resources/documents/index.js +18 -0
- package/dist/cjs/api/resources/documents/types/RequestDocumentCreateContextItem.d.ts +10 -0
- package/dist/cjs/api/resources/documents/types/RequestDocumentCreateContextItem.js +5 -0
- package/dist/cjs/api/resources/documents/types/RequestDocumentUpdateSectionsItem.d.ts +9 -0
- package/dist/cjs/api/resources/documents/types/RequestDocumentUpdateSectionsItem.js +5 -0
- package/dist/cjs/api/resources/documents/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/documents/types/index.js +18 -0
- package/dist/cjs/api/resources/facts/client/Client.d.ts +113 -0
- package/dist/cjs/api/resources/facts/client/Client.js +393 -0
- package/dist/cjs/api/resources/facts/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/facts/client/index.js +17 -0
- package/dist/cjs/api/resources/facts/client/requests/RequestFactUpdate.d.ts +21 -0
- package/dist/cjs/api/resources/facts/client/requests/RequestFactUpdate.js +5 -0
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsCreate.d.ts +17 -0
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsCreate.js +5 -0
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsUpdate.d.ts +16 -0
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsUpdate.js +5 -0
- package/dist/cjs/api/resources/facts/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/facts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/facts/index.d.ts +2 -0
- package/dist/cjs/api/resources/facts/index.js +18 -0
- package/dist/cjs/api/resources/facts/types/RequestFactsCreateFactsItem.d.ts +12 -0
- package/dist/cjs/api/resources/facts/types/RequestFactsCreateFactsItem.js +5 -0
- package/dist/cjs/api/resources/facts/types/RequestFactsUpdateFactsItem.d.ts +14 -0
- package/dist/cjs/api/resources/facts/types/RequestFactsUpdateFactsItem.js +5 -0
- package/dist/cjs/api/resources/facts/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/facts/types/index.js +18 -0
- package/dist/cjs/api/resources/index.d.ts +20 -0
- package/dist/cjs/api/resources/index.js +59 -0
- package/dist/cjs/api/resources/interactions/client/Client.d.ts +113 -0
- package/dist/cjs/api/resources/interactions/client/Client.js +442 -0
- package/dist/cjs/api/resources/interactions/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/interactions/client/index.js +17 -0
- package/dist/cjs/api/resources/interactions/client/requests/InteractionsListRequest.d.ts +34 -0
- package/dist/cjs/api/resources/interactions/client/requests/InteractionsListRequest.js +5 -0
- package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionCreate.d.ts +22 -0
- package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionCreate.js +5 -0
- package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionUpdate.d.ts +16 -0
- package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionUpdate.js +5 -0
- package/dist/cjs/api/resources/interactions/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/interactions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/interactions/index.d.ts +2 -0
- package/dist/cjs/api/resources/interactions/index.js +18 -0
- package/dist/cjs/api/resources/interactions/types/InteractionsListRequestDirection.d.ts +11 -0
- package/dist/cjs/api/resources/interactions/types/InteractionsListRequestDirection.js +10 -0
- package/dist/cjs/api/resources/interactions/types/InteractionsListRequestSort.d.ts +12 -0
- package/dist/cjs/api/resources/interactions/types/InteractionsListRequestSort.js +11 -0
- package/dist/cjs/api/resources/interactions/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/interactions/types/index.js +18 -0
- package/dist/cjs/api/resources/recordings/client/Client.d.ts +94 -0
- package/dist/cjs/api/resources/recordings/client/Client.js +347 -0
- package/dist/cjs/api/resources/recordings/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/recordings/client/index.js +2 -0
- package/dist/cjs/api/resources/recordings/index.d.ts +1 -0
- package/dist/cjs/api/resources/recordings/index.js +17 -0
- package/dist/cjs/api/resources/stream/client/Client.d.ts +35 -0
- package/dist/cjs/api/resources/stream/client/Client.js +82 -0
- package/dist/cjs/api/resources/stream/client/Socket.d.ts +54 -0
- package/dist/cjs/api/resources/stream/client/Socket.js +160 -0
- package/dist/cjs/api/resources/stream/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/stream/client/index.js +17 -0
- package/dist/cjs/api/resources/stream/index.d.ts +1 -0
- package/dist/cjs/api/resources/stream/index.js +17 -0
- package/dist/cjs/api/resources/templates/client/Client.d.ts +77 -0
- package/dist/cjs/api/resources/templates/client/Client.js +281 -0
- package/dist/cjs/api/resources/templates/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/templates/client/index.js +17 -0
- package/dist/cjs/api/resources/templates/client/requests/TemplatesListRequest.d.ts +21 -0
- package/dist/cjs/api/resources/templates/client/requests/TemplatesListRequest.js +5 -0
- package/dist/cjs/api/resources/templates/client/requests/TemplatesSectionsListRequest.d.ts +17 -0
- package/dist/cjs/api/resources/templates/client/requests/TemplatesSectionsListRequest.js +5 -0
- package/dist/cjs/api/resources/templates/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/templates/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/templates/index.d.ts +1 -0
- package/dist/cjs/api/resources/templates/index.js +17 -0
- package/dist/cjs/api/resources/transcribe/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/transcribe/client/Client.js +82 -0
- package/dist/cjs/api/resources/transcribe/client/Socket.d.ts +54 -0
- package/dist/cjs/api/resources/transcribe/client/Socket.js +160 -0
- package/dist/cjs/api/resources/transcribe/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/transcribe/client/index.js +17 -0
- package/dist/cjs/api/resources/transcribe/index.d.ts +1 -0
- package/dist/cjs/api/resources/transcribe/index.js +17 -0
- package/dist/cjs/api/resources/transcripts/client/Client.d.ts +110 -0
- package/dist/cjs/api/resources/transcripts/client/Client.js +402 -0
- package/dist/cjs/api/resources/transcripts/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/transcripts/client/index.js +17 -0
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptCreate.d.ts +28 -0
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptCreate.js +5 -0
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsListRequest.d.ts +30 -0
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsListRequest.js +5 -0
- package/dist/cjs/api/resources/transcripts/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/transcripts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/transcripts/index.d.ts +2 -0
- package/dist/cjs/api/resources/transcripts/index.js +18 -0
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateModelName.d.ts +12 -0
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateModelName.js +11 -0
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.ts +10 -0
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.js +5 -0
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.ts +21 -0
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.js +20 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestDirection.d.ts +11 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestDirection.js +10 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestSort.d.ts +11 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestSort.js +10 -0
- package/dist/cjs/api/resources/transcripts/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/transcripts/types/index.js +21 -0
- package/dist/cjs/api/types/DocumentContextData.d.ts +14 -0
- package/dist/cjs/api/types/DocumentContextData.js +5 -0
- package/dist/cjs/api/types/DocumentTemplate.d.ts +14 -0
- package/dist/cjs/api/types/DocumentTemplate.js +5 -0
- package/dist/cjs/api/types/Encounter.d.ts +16 -0
- package/dist/cjs/api/types/Encounter.js +5 -0
- package/dist/cjs/api/types/EncounterPeriod.d.ts +9 -0
- package/dist/cjs/api/types/EncounterPeriod.js +5 -0
- package/dist/cjs/api/types/EncounterStatus.d.ts +12 -0
- package/dist/cjs/api/types/EncounterStatus.js +14 -0
- package/dist/cjs/api/types/EncounterType.d.ts +11 -0
- package/dist/cjs/api/types/EncounterType.js +13 -0
- package/dist/cjs/api/types/EncounterUpdate.d.ts +16 -0
- package/dist/cjs/api/types/EncounterUpdate.js +5 -0
- package/dist/cjs/api/types/ErrorResponse.d.ts +11 -0
- package/dist/cjs/api/types/ErrorResponse.js +5 -0
- package/dist/cjs/api/types/FactContext.d.ts +12 -0
- package/dist/cjs/api/types/FactContext.js +5 -0
- package/dist/cjs/api/types/GenderEnum.d.ts +10 -0
- package/dist/cjs/api/types/GenderEnum.js +12 -0
- package/dist/cjs/api/types/ParticipantRoleEnum.d.ts +9 -0
- package/dist/cjs/api/types/ParticipantRoleEnum.js +11 -0
- package/dist/cjs/api/types/Patient.d.ts +16 -0
- package/dist/cjs/api/types/Patient.js +5 -0
- package/dist/cjs/api/types/PatientUpdate.d.ts +16 -0
- package/dist/cjs/api/types/PatientUpdate.js +5 -0
- package/dist/cjs/api/types/ResponseAllTemplateSections.d.ts +8 -0
- package/dist/cjs/api/types/ResponseAllTemplateSections.js +5 -0
- package/dist/cjs/api/types/ResponseAllTemplates.d.ts +8 -0
- package/dist/cjs/api/types/ResponseAllTemplates.js +5 -0
- package/dist/cjs/api/types/ResponseAllTemplatesDataItem.d.ts +20 -0
- package/dist/cjs/api/types/ResponseAllTemplatesDataItem.js +5 -0
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.ts +10 -0
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.js +5 -0
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTranslationsItem.d.ts +11 -0
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTranslationsItem.js +5 -0
- package/dist/cjs/api/types/ResponseDocumentList.d.ts +7 -0
- package/dist/cjs/api/types/ResponseDocumentList.js +5 -0
- package/dist/cjs/api/types/ResponseDocumentRead.d.ts +22 -0
- package/dist/cjs/api/types/ResponseDocumentRead.js +5 -0
- package/dist/cjs/api/types/ResponseDocumentReadSectionsItem.d.ts +17 -0
- package/dist/cjs/api/types/ResponseDocumentReadSectionsItem.js +5 -0
- package/dist/cjs/api/types/ResponseFactGroupsFiltered.d.ts +7 -0
- package/dist/cjs/api/types/ResponseFactGroupsFiltered.js +5 -0
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItem.d.ts +9 -0
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItem.js +5 -0
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.ts +8 -0
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.js +5 -0
- package/dist/cjs/api/types/ResponseFactUpdate.d.ts +22 -0
- package/dist/cjs/api/types/ResponseFactUpdate.js +5 -0
- package/dist/cjs/api/types/ResponseFactsCreate.d.ts +8 -0
- package/dist/cjs/api/types/ResponseFactsCreate.js +5 -0
- package/dist/cjs/api/types/ResponseFactsCreateFactsItem.d.ts +20 -0
- package/dist/cjs/api/types/ResponseFactsCreateFactsItem.js +5 -0
- package/dist/cjs/api/types/ResponseFactsList.d.ts +8 -0
- package/dist/cjs/api/types/ResponseFactsList.js +5 -0
- package/dist/cjs/api/types/ResponseFactsListFactsItem.d.ts +23 -0
- package/dist/cjs/api/types/ResponseFactsListFactsItem.js +5 -0
- package/dist/cjs/api/types/ResponseFactsListFactsItemEvidenceItem.d.ts +11 -0
- package/dist/cjs/api/types/ResponseFactsListFactsItemEvidenceItem.js +5 -0
- package/dist/cjs/api/types/ResponseFactsUpdate.d.ts +8 -0
- package/dist/cjs/api/types/ResponseFactsUpdate.js +5 -0
- package/dist/cjs/api/types/ResponseFactsUpdateFactsItem.d.ts +22 -0
- package/dist/cjs/api/types/ResponseFactsUpdateFactsItem.js +5 -0
- package/dist/cjs/api/types/ResponseInteraction.d.ts +24 -0
- package/dist/cjs/api/types/ResponseInteraction.js +5 -0
- package/dist/cjs/api/types/ResponseInteractionCreate.d.ts +10 -0
- package/dist/cjs/api/types/ResponseInteractionCreate.js +5 -0
- package/dist/cjs/api/types/ResponseInteractions.d.ts +7 -0
- package/dist/cjs/api/types/ResponseInteractions.js +5 -0
- package/dist/cjs/api/types/ResponseMetadataCreate.d.ts +7 -0
- package/dist/cjs/api/types/ResponseMetadataCreate.js +5 -0
- package/dist/cjs/api/types/ResponseMetadataCreateParticipantsRolesItem.d.ts +10 -0
- package/dist/cjs/api/types/ResponseMetadataCreateParticipantsRolesItem.js +5 -0
- package/dist/cjs/api/types/ResponseRecordingCreate.d.ts +8 -0
- package/dist/cjs/api/types/ResponseRecordingCreate.js +5 -0
- package/dist/cjs/api/types/ResponseRecordingList.d.ts +8 -0
- package/dist/cjs/api/types/ResponseRecordingList.js +5 -0
- package/dist/cjs/api/types/ResponseTranscriptCreate.d.ts +13 -0
- package/dist/cjs/api/types/ResponseTranscriptCreate.js +5 -0
- package/dist/cjs/api/types/ResponseTranscriptCreateTranscriptsItem.d.ts +17 -0
- package/dist/cjs/api/types/ResponseTranscriptCreateTranscriptsItem.js +5 -0
- package/dist/cjs/api/types/ResponseTranscriptListAll.d.ts +7 -0
- package/dist/cjs/api/types/ResponseTranscriptListAll.js +5 -0
- package/dist/cjs/api/types/ResponseTranscriptListAllTranscriptsItem.d.ts +9 -0
- package/dist/cjs/api/types/ResponseTranscriptListAllTranscriptsItem.js +5 -0
- package/dist/cjs/api/types/Section.d.ts +22 -0
- package/dist/cjs/api/types/Section.js +5 -0
- package/dist/cjs/api/types/SectionTranslationsItem.d.ts +11 -0
- package/dist/cjs/api/types/SectionTranslationsItem.js +5 -0
- package/dist/cjs/api/types/StreamConfigData.d.ts +8 -0
- package/dist/cjs/api/types/StreamConfigData.js +5 -0
- package/dist/cjs/api/types/StreamConfigMode.d.ts +10 -0
- package/dist/cjs/api/types/StreamConfigMode.js +5 -0
- package/dist/cjs/api/types/StreamConfigModeOutputLocale.d.ts +21 -0
- package/dist/cjs/api/types/StreamConfigModeOutputLocale.js +20 -0
- package/dist/cjs/api/types/StreamConfigModeType.d.ts +11 -0
- package/dist/cjs/api/types/StreamConfigModeType.js +10 -0
- package/dist/cjs/api/types/StreamConfigStatusMessage.d.ts +12 -0
- package/dist/cjs/api/types/StreamConfigStatusMessage.js +5 -0
- package/dist/cjs/api/types/StreamConfigStatusMessageType.d.ts +15 -0
- package/dist/cjs/api/types/StreamConfigStatusMessageType.js +14 -0
- package/dist/cjs/api/types/StreamConfigTranscription.d.ts +14 -0
- package/dist/cjs/api/types/StreamConfigTranscription.js +5 -0
- package/dist/cjs/api/types/StreamConfigTranscriptionPrimaryLanguage.d.ts +21 -0
- package/dist/cjs/api/types/StreamConfigTranscriptionPrimaryLanguage.js +20 -0
- package/dist/cjs/api/types/StreamConfigurationMessage.d.ts +8 -0
- package/dist/cjs/api/types/StreamConfigurationMessage.js +5 -0
- package/dist/cjs/api/types/StreamEndMessage.d.ts +6 -0
- package/dist/cjs/api/types/StreamEndMessage.js +5 -0
- package/dist/cjs/api/types/StreamEndedMessage.d.ts +6 -0
- package/dist/cjs/api/types/StreamEndedMessage.js +5 -0
- package/dist/cjs/api/types/StreamErrorDetail.d.ts +15 -0
- package/dist/cjs/api/types/StreamErrorDetail.js +5 -0
- package/dist/cjs/api/types/StreamErrorMessage.d.ts +8 -0
- package/dist/cjs/api/types/StreamErrorMessage.js +5 -0
- package/dist/cjs/api/types/StreamFact.d.ts +21 -0
- package/dist/cjs/api/types/StreamFact.js +5 -0
- package/dist/cjs/api/types/StreamFactsMessage.d.ts +8 -0
- package/dist/cjs/api/types/StreamFactsMessage.js +5 -0
- package/dist/cjs/api/types/StreamParticipant.d.ts +10 -0
- package/dist/cjs/api/types/StreamParticipant.js +5 -0
- package/dist/cjs/api/types/StreamParticipantRole.d.ts +12 -0
- package/dist/cjs/api/types/StreamParticipantRole.js +11 -0
- package/dist/cjs/api/types/StreamTranscript.d.ts +16 -0
- package/dist/cjs/api/types/StreamTranscript.js +5 -0
- package/dist/cjs/api/types/StreamTranscriptMessage.d.ts +8 -0
- package/dist/cjs/api/types/StreamTranscriptMessage.js +5 -0
- package/dist/cjs/api/types/StreamTranscriptTime.d.ts +9 -0
- package/dist/cjs/api/types/StreamTranscriptTime.js +5 -0
- package/dist/cjs/api/types/StreamUsageMessage.d.ts +8 -0
- package/dist/cjs/api/types/StreamUsageMessage.js +5 -0
- package/dist/cjs/api/types/TemplateFiltered.d.ts +20 -0
- package/dist/cjs/api/types/TemplateFiltered.js +5 -0
- package/dist/cjs/api/types/TemplateFilteredTemplateSectionsItem.d.ts +10 -0
- package/dist/cjs/api/types/TemplateFilteredTemplateSectionsItem.js +5 -0
- package/dist/cjs/api/types/TemplateFilteredTranslationsItem.d.ts +11 -0
- package/dist/cjs/api/types/TemplateFilteredTranslationsItem.js +5 -0
- package/dist/cjs/api/types/TranscribeCommand.d.ts +12 -0
- package/dist/cjs/api/types/TranscribeCommand.js +5 -0
- package/dist/cjs/api/types/TranscribeCommandData.d.ts +15 -0
- package/dist/cjs/api/types/TranscribeCommandData.js +5 -0
- package/dist/cjs/api/types/TranscribeCommandMessage.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeCommandMessage.js +5 -0
- package/dist/cjs/api/types/TranscribeCommandVariable.d.ts +11 -0
- package/dist/cjs/api/types/TranscribeCommandVariable.js +5 -0
- package/dist/cjs/api/types/TranscribeConfigStatusMessage.d.ts +12 -0
- package/dist/cjs/api/types/TranscribeConfigStatusMessage.js +5 -0
- package/dist/cjs/api/types/TranscribeConfigStatusMessageType.d.ts +12 -0
- package/dist/cjs/api/types/TranscribeConfigStatusMessageType.js +11 -0
- package/dist/cjs/api/types/TranscribeConfigurationMessage.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeConfigurationMessage.js +5 -0
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfiguration.d.ts +16 -0
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfiguration.js +5 -0
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.ts +21 -0
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.js +20 -0
- package/dist/cjs/api/types/TranscribeEndMessage.d.ts +6 -0
- package/dist/cjs/api/types/TranscribeEndMessage.js +5 -0
- package/dist/cjs/api/types/TranscribeEndedMessage.d.ts +6 -0
- package/dist/cjs/api/types/TranscribeEndedMessage.js +5 -0
- package/dist/cjs/api/types/TranscribeErrorMessage.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeErrorMessage.js +5 -0
- package/dist/cjs/api/types/TranscribeErrorMessageError.d.ts +15 -0
- package/dist/cjs/api/types/TranscribeErrorMessageError.js +5 -0
- package/dist/cjs/api/types/TranscribeTranscriptData.d.ts +15 -0
- package/dist/cjs/api/types/TranscribeTranscriptData.js +5 -0
- package/dist/cjs/api/types/TranscribeTranscriptMessage.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeTranscriptMessage.js +5 -0
- package/dist/cjs/api/types/TranscribeUsageMessage.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeUsageMessage.js +5 -0
- package/dist/cjs/api/types/Transcript.d.ts +17 -0
- package/dist/cjs/api/types/Transcript.js +5 -0
- package/dist/cjs/api/types/UsageInfo.d.ts +6 -0
- package/dist/cjs/api/types/UsageInfo.js +5 -0
- package/dist/cjs/api/types/Uuid.d.ts +4 -0
- package/dist/cjs/api/types/Uuid.js +5 -0
- package/dist/cjs/api/types/V2DocumentContextTypeEnum.d.ts +9 -0
- package/dist/cjs/api/types/V2DocumentContextTypeEnum.js +11 -0
- package/dist/cjs/api/types/V2SourceEnum.d.ts +9 -0
- package/dist/cjs/api/types/V2SourceEnum.js +11 -0
- package/dist/cjs/api/types/WritingStyle.d.ts +7 -0
- package/dist/cjs/api/types/WritingStyle.js +5 -0
- package/dist/cjs/api/types/index.d.ts +91 -0
- package/dist/cjs/api/types/index.js +107 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +26 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +5 -0
- package/dist/cjs/core/auth/BearerToken.js +15 -0
- package/dist/cjs/core/auth/OAuthTokenProvider.d.ts +25 -0
- package/dist/cjs/core/auth/OAuthTokenProvider.js +86 -0
- package/dist/cjs/core/auth/index.d.ts +3 -0
- package/dist/cjs/core/auth/index.js +9 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +17 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +14 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +40 -0
- package/dist/cjs/core/fetcher/Fetcher.js +120 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/cjs/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +12 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +68 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +23 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +54 -0
- package/dist/cjs/core/fetcher/index.d.ts +9 -0
- package/dist/cjs/core/fetcher/index.js +15 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/cjs/core/fetcher/makeRequest.js +42 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +40 -0
- package/dist/cjs/core/fetcher/signals.d.ts +11 -0
- package/dist/cjs/core/fetcher/signals.js +36 -0
- package/dist/cjs/core/headers.d.ts +3 -0
- package/dist/cjs/core/headers.js +29 -0
- package/dist/cjs/core/index.d.ts +6 -0
- package/dist/cjs/core/index.js +22 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/pagination/Page.d.ts +32 -0
- package/dist/cjs/core/pagination/Page.js +100 -0
- package/dist/cjs/core/pagination/Pageable.d.ts +14 -0
- package/dist/cjs/core/pagination/Pageable.js +10 -0
- package/dist/cjs/core/pagination/index.d.ts +2 -0
- package/dist/cjs/core/pagination/index.js +7 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +5 -0
- package/dist/cjs/core/runtime/runtime.d.ts +9 -0
- package/dist/cjs/core/runtime/runtime.js +102 -0
- package/dist/cjs/core/utils/index.d.ts +1 -0
- package/dist/cjs/core/utils/index.js +5 -0
- package/dist/cjs/core/utils/setObjectProperty.d.ts +11 -0
- package/dist/cjs/core/utils/setObjectProperty.js +42 -0
- package/dist/cjs/core/websocket/events.d.ts +36 -0
- package/dist/cjs/core/websocket/events.js +27 -0
- package/dist/cjs/core/websocket/index.d.ts +1 -0
- package/dist/cjs/core/websocket/index.js +17 -0
- package/dist/cjs/core/websocket/ws.d.ts +137 -0
- package/dist/cjs/core/websocket/ws.js +452 -0
- package/dist/cjs/custom/CortiAuth.d.ts +57 -0
- package/dist/cjs/custom/CortiAuth.js +185 -0
- package/dist/cjs/custom/CortiClient.d.ts +113 -0
- package/dist/cjs/custom/CortiClient.js +148 -0
- package/dist/cjs/custom/CustomStream.d.ts +15 -0
- package/dist/cjs/custom/CustomStream.js +82 -0
- package/dist/cjs/custom/CustomStreamSocket.d.ts +11 -0
- package/dist/cjs/custom/CustomStreamSocket.js +62 -0
- package/dist/cjs/custom/CustomTranscribe.d.ts +15 -0
- package/dist/cjs/custom/CustomTranscribe.js +82 -0
- package/dist/cjs/custom/CustomTranscribeSocket.d.ts +11 -0
- package/dist/cjs/custom/CustomTranscribeSocket.js +62 -0
- package/dist/cjs/custom/RefreshBearerProvider.d.ts +23 -0
- package/dist/cjs/custom/RefreshBearerProvider.js +85 -0
- package/dist/cjs/environments.d.ts +26 -0
- package/dist/cjs/environments.js +23 -0
- package/dist/cjs/errors/CortiError.d.ts +15 -0
- package/dist/cjs/errors/CortiError.js +30 -0
- package/dist/cjs/errors/CortiTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/CortiTimeoutError.js +13 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/index.d.ts +14 -0
- package/dist/cjs/index.js +56 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/api/errors/BadRequestError.d.mts +8 -0
- package/dist/esm/api/errors/BadRequestError.mjs +15 -0
- package/dist/esm/api/errors/ForbiddenError.d.mts +9 -0
- package/dist/esm/api/errors/ForbiddenError.mjs +15 -0
- package/dist/esm/api/errors/GatewayTimeoutError.d.mts +9 -0
- package/dist/esm/api/errors/GatewayTimeoutError.mjs +15 -0
- package/dist/esm/api/errors/InternalServerError.d.mts +8 -0
- package/dist/esm/api/errors/InternalServerError.mjs +15 -0
- package/dist/esm/api/errors/NotFoundError.d.mts +9 -0
- package/dist/esm/api/errors/NotFoundError.mjs +15 -0
- package/dist/esm/api/errors/UnauthorizedError.d.mts +8 -0
- package/dist/esm/api/errors/UnauthorizedError.mjs +15 -0
- package/dist/esm/api/errors/index.d.mts +6 -0
- package/dist/esm/api/errors/index.mjs +6 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/auth/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/auth/client/Client.mjs +89 -0
- package/dist/esm/api/resources/auth/client/index.d.mts +2 -0
- package/dist/esm/api/resources/auth/client/index.mjs +1 -0
- package/dist/esm/api/resources/auth/client/requests/AuthGetTokenRequest.d.mts +14 -0
- package/dist/esm/api/resources/auth/client/requests/AuthGetTokenRequest.mjs +4 -0
- package/dist/esm/api/resources/auth/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/auth/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/auth/index.d.mts +2 -0
- package/dist/esm/api/resources/auth/index.mjs +2 -0
- package/dist/esm/api/resources/auth/types/GetTokenResponse.d.mts +10 -0
- package/dist/esm/api/resources/auth/types/GetTokenResponse.mjs +4 -0
- package/dist/esm/api/resources/auth/types/index.d.mts +1 -0
- package/dist/esm/api/resources/auth/types/index.mjs +1 -0
- package/dist/esm/api/resources/documents/client/Client.d.mts +127 -0
- package/dist/esm/api/resources/documents/client/Client.mjs +400 -0
- package/dist/esm/api/resources/documents/client/index.d.mts +2 -0
- package/dist/esm/api/resources/documents/client/index.mjs +1 -0
- package/dist/esm/api/resources/documents/client/requests/DocumentsGetRequest.d.mts +13 -0
- package/dist/esm/api/resources/documents/client/requests/DocumentsGetRequest.mjs +4 -0
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentCreate.d.mts +31 -0
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentCreate.mjs +4 -0
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentUpdate.d.mts +13 -0
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentUpdate.mjs +4 -0
- package/dist/esm/api/resources/documents/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/documents/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/documents/index.d.mts +2 -0
- package/dist/esm/api/resources/documents/index.mjs +2 -0
- package/dist/esm/api/resources/documents/types/RequestDocumentCreateContextItem.d.mts +10 -0
- package/dist/esm/api/resources/documents/types/RequestDocumentCreateContextItem.mjs +4 -0
- package/dist/esm/api/resources/documents/types/RequestDocumentUpdateSectionsItem.d.mts +9 -0
- package/dist/esm/api/resources/documents/types/RequestDocumentUpdateSectionsItem.mjs +4 -0
- package/dist/esm/api/resources/documents/types/index.d.mts +2 -0
- package/dist/esm/api/resources/documents/types/index.mjs +2 -0
- package/dist/esm/api/resources/facts/client/Client.d.mts +113 -0
- package/dist/esm/api/resources/facts/client/Client.mjs +353 -0
- package/dist/esm/api/resources/facts/client/index.d.mts +2 -0
- package/dist/esm/api/resources/facts/client/index.mjs +1 -0
- package/dist/esm/api/resources/facts/client/requests/RequestFactUpdate.d.mts +21 -0
- package/dist/esm/api/resources/facts/client/requests/RequestFactUpdate.mjs +4 -0
- package/dist/esm/api/resources/facts/client/requests/RequestFactsCreate.d.mts +17 -0
- package/dist/esm/api/resources/facts/client/requests/RequestFactsCreate.mjs +4 -0
- package/dist/esm/api/resources/facts/client/requests/RequestFactsUpdate.d.mts +16 -0
- package/dist/esm/api/resources/facts/client/requests/RequestFactsUpdate.mjs +4 -0
- package/dist/esm/api/resources/facts/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/facts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/facts/index.d.mts +2 -0
- package/dist/esm/api/resources/facts/index.mjs +2 -0
- package/dist/esm/api/resources/facts/types/RequestFactsCreateFactsItem.d.mts +12 -0
- package/dist/esm/api/resources/facts/types/RequestFactsCreateFactsItem.mjs +4 -0
- package/dist/esm/api/resources/facts/types/RequestFactsUpdateFactsItem.d.mts +14 -0
- package/dist/esm/api/resources/facts/types/RequestFactsUpdateFactsItem.mjs +4 -0
- package/dist/esm/api/resources/facts/types/index.d.mts +2 -0
- package/dist/esm/api/resources/facts/types/index.mjs +2 -0
- package/dist/esm/api/resources/index.d.mts +20 -0
- package/dist/esm/api/resources/index.mjs +20 -0
- package/dist/esm/api/resources/interactions/client/Client.d.mts +113 -0
- package/dist/esm/api/resources/interactions/client/Client.mjs +402 -0
- package/dist/esm/api/resources/interactions/client/index.d.mts +2 -0
- package/dist/esm/api/resources/interactions/client/index.mjs +1 -0
- package/dist/esm/api/resources/interactions/client/requests/InteractionsListRequest.d.mts +34 -0
- package/dist/esm/api/resources/interactions/client/requests/InteractionsListRequest.mjs +4 -0
- package/dist/esm/api/resources/interactions/client/requests/RequestInteractionCreate.d.mts +22 -0
- package/dist/esm/api/resources/interactions/client/requests/RequestInteractionCreate.mjs +4 -0
- package/dist/esm/api/resources/interactions/client/requests/RequestInteractionUpdate.d.mts +16 -0
- package/dist/esm/api/resources/interactions/client/requests/RequestInteractionUpdate.mjs +4 -0
- package/dist/esm/api/resources/interactions/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/interactions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/interactions/index.d.mts +2 -0
- package/dist/esm/api/resources/interactions/index.mjs +2 -0
- package/dist/esm/api/resources/interactions/types/InteractionsListRequestDirection.d.mts +11 -0
- package/dist/esm/api/resources/interactions/types/InteractionsListRequestDirection.mjs +7 -0
- package/dist/esm/api/resources/interactions/types/InteractionsListRequestSort.d.mts +12 -0
- package/dist/esm/api/resources/interactions/types/InteractionsListRequestSort.mjs +8 -0
- package/dist/esm/api/resources/interactions/types/index.d.mts +2 -0
- package/dist/esm/api/resources/interactions/types/index.mjs +2 -0
- package/dist/esm/api/resources/recordings/client/Client.d.mts +94 -0
- package/dist/esm/api/resources/recordings/client/Client.mjs +307 -0
- package/dist/esm/api/resources/recordings/client/index.d.mts +1 -0
- package/dist/esm/api/resources/recordings/client/index.mjs +1 -0
- package/dist/esm/api/resources/recordings/index.d.mts +1 -0
- package/dist/esm/api/resources/recordings/index.mjs +1 -0
- package/dist/esm/api/resources/stream/client/Client.d.mts +35 -0
- package/dist/esm/api/resources/stream/client/Client.mjs +45 -0
- package/dist/esm/api/resources/stream/client/Socket.d.mts +54 -0
- package/dist/esm/api/resources/stream/client/Socket.mjs +123 -0
- package/dist/esm/api/resources/stream/client/index.d.mts +1 -0
- package/dist/esm/api/resources/stream/client/index.mjs +1 -0
- package/dist/esm/api/resources/stream/index.d.mts +1 -0
- package/dist/esm/api/resources/stream/index.mjs +1 -0
- package/dist/esm/api/resources/templates/client/Client.d.mts +77 -0
- package/dist/esm/api/resources/templates/client/Client.mjs +241 -0
- package/dist/esm/api/resources/templates/client/index.d.mts +2 -0
- package/dist/esm/api/resources/templates/client/index.mjs +1 -0
- package/dist/esm/api/resources/templates/client/requests/TemplatesListRequest.d.mts +21 -0
- package/dist/esm/api/resources/templates/client/requests/TemplatesListRequest.mjs +4 -0
- package/dist/esm/api/resources/templates/client/requests/TemplatesSectionsListRequest.d.mts +17 -0
- package/dist/esm/api/resources/templates/client/requests/TemplatesSectionsListRequest.mjs +4 -0
- package/dist/esm/api/resources/templates/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/templates/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/templates/index.d.mts +1 -0
- package/dist/esm/api/resources/templates/index.mjs +1 -0
- package/dist/esm/api/resources/transcribe/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/transcribe/client/Client.mjs +45 -0
- package/dist/esm/api/resources/transcribe/client/Socket.d.mts +54 -0
- package/dist/esm/api/resources/transcribe/client/Socket.mjs +123 -0
- package/dist/esm/api/resources/transcribe/client/index.d.mts +1 -0
- package/dist/esm/api/resources/transcribe/client/index.mjs +1 -0
- package/dist/esm/api/resources/transcribe/index.d.mts +1 -0
- package/dist/esm/api/resources/transcribe/index.mjs +1 -0
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +110 -0
- package/dist/esm/api/resources/transcripts/client/Client.mjs +362 -0
- package/dist/esm/api/resources/transcripts/client/index.d.mts +2 -0
- package/dist/esm/api/resources/transcripts/client/index.mjs +1 -0
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptCreate.d.mts +28 -0
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptCreate.mjs +4 -0
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsListRequest.d.mts +30 -0
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsListRequest.mjs +4 -0
- package/dist/esm/api/resources/transcripts/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/transcripts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/transcripts/index.d.mts +2 -0
- package/dist/esm/api/resources/transcripts/index.mjs +2 -0
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateModelName.d.mts +12 -0
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateModelName.mjs +8 -0
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.mts +10 -0
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.mjs +4 -0
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.mts +21 -0
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.mjs +17 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestDirection.d.mts +11 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestDirection.mjs +7 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestSort.d.mts +11 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestSort.mjs +7 -0
- package/dist/esm/api/resources/transcripts/types/index.d.mts +5 -0
- package/dist/esm/api/resources/transcripts/types/index.mjs +5 -0
- package/dist/esm/api/types/DocumentContextData.d.mts +14 -0
- package/dist/esm/api/types/DocumentContextData.mjs +4 -0
- package/dist/esm/api/types/DocumentTemplate.d.mts +14 -0
- package/dist/esm/api/types/DocumentTemplate.mjs +4 -0
- package/dist/esm/api/types/Encounter.d.mts +16 -0
- package/dist/esm/api/types/Encounter.mjs +4 -0
- package/dist/esm/api/types/EncounterPeriod.d.mts +9 -0
- package/dist/esm/api/types/EncounterPeriod.mjs +4 -0
- package/dist/esm/api/types/EncounterStatus.d.mts +12 -0
- package/dist/esm/api/types/EncounterStatus.mjs +11 -0
- package/dist/esm/api/types/EncounterType.d.mts +11 -0
- package/dist/esm/api/types/EncounterType.mjs +10 -0
- package/dist/esm/api/types/EncounterUpdate.d.mts +16 -0
- package/dist/esm/api/types/EncounterUpdate.mjs +4 -0
- package/dist/esm/api/types/ErrorResponse.d.mts +11 -0
- package/dist/esm/api/types/ErrorResponse.mjs +4 -0
- package/dist/esm/api/types/FactContext.d.mts +12 -0
- package/dist/esm/api/types/FactContext.mjs +4 -0
- package/dist/esm/api/types/GenderEnum.d.mts +10 -0
- package/dist/esm/api/types/GenderEnum.mjs +9 -0
- package/dist/esm/api/types/ParticipantRoleEnum.d.mts +9 -0
- package/dist/esm/api/types/ParticipantRoleEnum.mjs +8 -0
- package/dist/esm/api/types/Patient.d.mts +16 -0
- package/dist/esm/api/types/Patient.mjs +4 -0
- package/dist/esm/api/types/PatientUpdate.d.mts +16 -0
- package/dist/esm/api/types/PatientUpdate.mjs +4 -0
- package/dist/esm/api/types/ResponseAllTemplateSections.d.mts +8 -0
- package/dist/esm/api/types/ResponseAllTemplateSections.mjs +4 -0
- package/dist/esm/api/types/ResponseAllTemplates.d.mts +8 -0
- package/dist/esm/api/types/ResponseAllTemplates.mjs +4 -0
- package/dist/esm/api/types/ResponseAllTemplatesDataItem.d.mts +20 -0
- package/dist/esm/api/types/ResponseAllTemplatesDataItem.mjs +4 -0
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.mts +10 -0
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.mjs +4 -0
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTranslationsItem.d.mts +11 -0
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTranslationsItem.mjs +4 -0
- package/dist/esm/api/types/ResponseDocumentList.d.mts +7 -0
- package/dist/esm/api/types/ResponseDocumentList.mjs +4 -0
- package/dist/esm/api/types/ResponseDocumentRead.d.mts +22 -0
- package/dist/esm/api/types/ResponseDocumentRead.mjs +4 -0
- package/dist/esm/api/types/ResponseDocumentReadSectionsItem.d.mts +17 -0
- package/dist/esm/api/types/ResponseDocumentReadSectionsItem.mjs +4 -0
- package/dist/esm/api/types/ResponseFactGroupsFiltered.d.mts +7 -0
- package/dist/esm/api/types/ResponseFactGroupsFiltered.mjs +4 -0
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItem.d.mts +9 -0
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItem.mjs +4 -0
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.mts +8 -0
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.mjs +4 -0
- package/dist/esm/api/types/ResponseFactUpdate.d.mts +22 -0
- package/dist/esm/api/types/ResponseFactUpdate.mjs +4 -0
- package/dist/esm/api/types/ResponseFactsCreate.d.mts +8 -0
- package/dist/esm/api/types/ResponseFactsCreate.mjs +4 -0
- package/dist/esm/api/types/ResponseFactsCreateFactsItem.d.mts +20 -0
- package/dist/esm/api/types/ResponseFactsCreateFactsItem.mjs +4 -0
- package/dist/esm/api/types/ResponseFactsList.d.mts +8 -0
- package/dist/esm/api/types/ResponseFactsList.mjs +4 -0
- package/dist/esm/api/types/ResponseFactsListFactsItem.d.mts +23 -0
- package/dist/esm/api/types/ResponseFactsListFactsItem.mjs +4 -0
- package/dist/esm/api/types/ResponseFactsListFactsItemEvidenceItem.d.mts +11 -0
- package/dist/esm/api/types/ResponseFactsListFactsItemEvidenceItem.mjs +4 -0
- package/dist/esm/api/types/ResponseFactsUpdate.d.mts +8 -0
- package/dist/esm/api/types/ResponseFactsUpdate.mjs +4 -0
- package/dist/esm/api/types/ResponseFactsUpdateFactsItem.d.mts +22 -0
- package/dist/esm/api/types/ResponseFactsUpdateFactsItem.mjs +4 -0
- package/dist/esm/api/types/ResponseInteraction.d.mts +24 -0
- package/dist/esm/api/types/ResponseInteraction.mjs +4 -0
- package/dist/esm/api/types/ResponseInteractionCreate.d.mts +10 -0
- package/dist/esm/api/types/ResponseInteractionCreate.mjs +4 -0
- package/dist/esm/api/types/ResponseInteractions.d.mts +7 -0
- package/dist/esm/api/types/ResponseInteractions.mjs +4 -0
- package/dist/esm/api/types/ResponseMetadataCreate.d.mts +7 -0
- package/dist/esm/api/types/ResponseMetadataCreate.mjs +4 -0
- package/dist/esm/api/types/ResponseMetadataCreateParticipantsRolesItem.d.mts +10 -0
- package/dist/esm/api/types/ResponseMetadataCreateParticipantsRolesItem.mjs +4 -0
- package/dist/esm/api/types/ResponseRecordingCreate.d.mts +8 -0
- package/dist/esm/api/types/ResponseRecordingCreate.mjs +4 -0
- package/dist/esm/api/types/ResponseRecordingList.d.mts +8 -0
- package/dist/esm/api/types/ResponseRecordingList.mjs +4 -0
- package/dist/esm/api/types/ResponseTranscriptCreate.d.mts +13 -0
- package/dist/esm/api/types/ResponseTranscriptCreate.mjs +4 -0
- package/dist/esm/api/types/ResponseTranscriptCreateTranscriptsItem.d.mts +17 -0
- package/dist/esm/api/types/ResponseTranscriptCreateTranscriptsItem.mjs +4 -0
- package/dist/esm/api/types/ResponseTranscriptListAll.d.mts +7 -0
- package/dist/esm/api/types/ResponseTranscriptListAll.mjs +4 -0
- package/dist/esm/api/types/ResponseTranscriptListAllTranscriptsItem.d.mts +9 -0
- package/dist/esm/api/types/ResponseTranscriptListAllTranscriptsItem.mjs +4 -0
- package/dist/esm/api/types/Section.d.mts +22 -0
- package/dist/esm/api/types/Section.mjs +4 -0
- package/dist/esm/api/types/SectionTranslationsItem.d.mts +11 -0
- package/dist/esm/api/types/SectionTranslationsItem.mjs +4 -0
- package/dist/esm/api/types/StreamConfigData.d.mts +8 -0
- package/dist/esm/api/types/StreamConfigData.mjs +4 -0
- package/dist/esm/api/types/StreamConfigMode.d.mts +10 -0
- package/dist/esm/api/types/StreamConfigMode.mjs +4 -0
- package/dist/esm/api/types/StreamConfigModeOutputLocale.d.mts +21 -0
- package/dist/esm/api/types/StreamConfigModeOutputLocale.mjs +17 -0
- package/dist/esm/api/types/StreamConfigModeType.d.mts +11 -0
- package/dist/esm/api/types/StreamConfigModeType.mjs +7 -0
- package/dist/esm/api/types/StreamConfigStatusMessage.d.mts +12 -0
- package/dist/esm/api/types/StreamConfigStatusMessage.mjs +4 -0
- package/dist/esm/api/types/StreamConfigStatusMessageType.d.mts +15 -0
- package/dist/esm/api/types/StreamConfigStatusMessageType.mjs +11 -0
- package/dist/esm/api/types/StreamConfigTranscription.d.mts +14 -0
- package/dist/esm/api/types/StreamConfigTranscription.mjs +4 -0
- package/dist/esm/api/types/StreamConfigTranscriptionPrimaryLanguage.d.mts +21 -0
- package/dist/esm/api/types/StreamConfigTranscriptionPrimaryLanguage.mjs +17 -0
- package/dist/esm/api/types/StreamConfigurationMessage.d.mts +8 -0
- package/dist/esm/api/types/StreamConfigurationMessage.mjs +4 -0
- package/dist/esm/api/types/StreamEndMessage.d.mts +6 -0
- package/dist/esm/api/types/StreamEndMessage.mjs +4 -0
- package/dist/esm/api/types/StreamEndedMessage.d.mts +6 -0
- package/dist/esm/api/types/StreamEndedMessage.mjs +4 -0
- package/dist/esm/api/types/StreamErrorDetail.d.mts +15 -0
- package/dist/esm/api/types/StreamErrorDetail.mjs +4 -0
- package/dist/esm/api/types/StreamErrorMessage.d.mts +8 -0
- package/dist/esm/api/types/StreamErrorMessage.mjs +4 -0
- package/dist/esm/api/types/StreamFact.d.mts +21 -0
- package/dist/esm/api/types/StreamFact.mjs +4 -0
- package/dist/esm/api/types/StreamFactsMessage.d.mts +8 -0
- package/dist/esm/api/types/StreamFactsMessage.mjs +4 -0
- package/dist/esm/api/types/StreamParticipant.d.mts +10 -0
- package/dist/esm/api/types/StreamParticipant.mjs +4 -0
- package/dist/esm/api/types/StreamParticipantRole.d.mts +12 -0
- package/dist/esm/api/types/StreamParticipantRole.mjs +8 -0
- package/dist/esm/api/types/StreamTranscript.d.mts +16 -0
- package/dist/esm/api/types/StreamTranscript.mjs +4 -0
- package/dist/esm/api/types/StreamTranscriptMessage.d.mts +8 -0
- package/dist/esm/api/types/StreamTranscriptMessage.mjs +4 -0
- package/dist/esm/api/types/StreamTranscriptTime.d.mts +9 -0
- package/dist/esm/api/types/StreamTranscriptTime.mjs +4 -0
- package/dist/esm/api/types/StreamUsageMessage.d.mts +8 -0
- package/dist/esm/api/types/StreamUsageMessage.mjs +4 -0
- package/dist/esm/api/types/TemplateFiltered.d.mts +20 -0
- package/dist/esm/api/types/TemplateFiltered.mjs +4 -0
- package/dist/esm/api/types/TemplateFilteredTemplateSectionsItem.d.mts +10 -0
- package/dist/esm/api/types/TemplateFilteredTemplateSectionsItem.mjs +4 -0
- package/dist/esm/api/types/TemplateFilteredTranslationsItem.d.mts +11 -0
- package/dist/esm/api/types/TemplateFilteredTranslationsItem.mjs +4 -0
- package/dist/esm/api/types/TranscribeCommand.d.mts +12 -0
- package/dist/esm/api/types/TranscribeCommand.mjs +4 -0
- package/dist/esm/api/types/TranscribeCommandData.d.mts +15 -0
- package/dist/esm/api/types/TranscribeCommandData.mjs +4 -0
- package/dist/esm/api/types/TranscribeCommandMessage.d.mts +8 -0
- package/dist/esm/api/types/TranscribeCommandMessage.mjs +4 -0
- package/dist/esm/api/types/TranscribeCommandVariable.d.mts +11 -0
- package/dist/esm/api/types/TranscribeCommandVariable.mjs +4 -0
- package/dist/esm/api/types/TranscribeConfigStatusMessage.d.mts +12 -0
- package/dist/esm/api/types/TranscribeConfigStatusMessage.mjs +4 -0
- package/dist/esm/api/types/TranscribeConfigStatusMessageType.d.mts +12 -0
- package/dist/esm/api/types/TranscribeConfigStatusMessageType.mjs +8 -0
- package/dist/esm/api/types/TranscribeConfigurationMessage.d.mts +8 -0
- package/dist/esm/api/types/TranscribeConfigurationMessage.mjs +4 -0
- package/dist/esm/api/types/TranscribeConfigurationMessageConfiguration.d.mts +16 -0
- package/dist/esm/api/types/TranscribeConfigurationMessageConfiguration.mjs +4 -0
- package/dist/esm/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.mts +21 -0
- package/dist/esm/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.mjs +17 -0
- package/dist/esm/api/types/TranscribeEndMessage.d.mts +6 -0
- package/dist/esm/api/types/TranscribeEndMessage.mjs +4 -0
- package/dist/esm/api/types/TranscribeEndedMessage.d.mts +6 -0
- package/dist/esm/api/types/TranscribeEndedMessage.mjs +4 -0
- package/dist/esm/api/types/TranscribeErrorMessage.d.mts +8 -0
- package/dist/esm/api/types/TranscribeErrorMessage.mjs +4 -0
- package/dist/esm/api/types/TranscribeErrorMessageError.d.mts +15 -0
- package/dist/esm/api/types/TranscribeErrorMessageError.mjs +4 -0
- package/dist/esm/api/types/TranscribeTranscriptData.d.mts +15 -0
- package/dist/esm/api/types/TranscribeTranscriptData.mjs +4 -0
- package/dist/esm/api/types/TranscribeTranscriptMessage.d.mts +8 -0
- package/dist/esm/api/types/TranscribeTranscriptMessage.mjs +4 -0
- package/dist/esm/api/types/TranscribeUsageMessage.d.mts +8 -0
- package/dist/esm/api/types/TranscribeUsageMessage.mjs +4 -0
- package/dist/esm/api/types/Transcript.d.mts +17 -0
- package/dist/esm/api/types/Transcript.mjs +4 -0
- package/dist/esm/api/types/UsageInfo.d.mts +6 -0
- package/dist/esm/api/types/UsageInfo.mjs +4 -0
- package/dist/esm/api/types/Uuid.d.mts +4 -0
- package/dist/esm/api/types/Uuid.mjs +4 -0
- package/dist/esm/api/types/V2DocumentContextTypeEnum.d.mts +9 -0
- package/dist/esm/api/types/V2DocumentContextTypeEnum.mjs +8 -0
- package/dist/esm/api/types/V2SourceEnum.d.mts +9 -0
- package/dist/esm/api/types/V2SourceEnum.mjs +8 -0
- package/dist/esm/api/types/WritingStyle.d.mts +7 -0
- package/dist/esm/api/types/WritingStyle.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +91 -0
- package/dist/esm/api/types/index.mjs +91 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +23 -0
- package/dist/esm/core/auth/BearerToken.d.mts +5 -0
- package/dist/esm/core/auth/BearerToken.mjs +12 -0
- package/dist/esm/core/auth/OAuthTokenProvider.d.mts +25 -0
- package/dist/esm/core/auth/OAuthTokenProvider.mjs +49 -0
- package/dist/esm/core/auth/index.d.mts +3 -0
- package/dist/esm/core/auth/index.mjs +3 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +17 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +11 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +40 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +116 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/ResponseWithBody.d.mts +4 -0
- package/dist/esm/core/fetcher/ResponseWithBody.mjs +3 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +6 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +4 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +32 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +20 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +51 -0
- package/dist/esm/core/fetcher/index.d.mts +9 -0
- package/dist/esm/core/fetcher/index.mjs +5 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +38 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +37 -0
- package/dist/esm/core/fetcher/signals.d.mts +11 -0
- package/dist/esm/core/fetcher/signals.mjs +32 -0
- package/dist/esm/core/headers.d.mts +3 -0
- package/dist/esm/core/headers.mjs +25 -0
- package/dist/esm/core/index.d.mts +6 -0
- package/dist/esm/core/index.mjs +6 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/pagination/Page.d.mts +32 -0
- package/dist/esm/core/pagination/Page.mjs +96 -0
- package/dist/esm/core/pagination/Pageable.d.mts +14 -0
- package/dist/esm/core/pagination/Pageable.mjs +6 -0
- package/dist/esm/core/pagination/index.d.mts +2 -0
- package/dist/esm/core/pagination/index.mjs +2 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +9 -0
- package/dist/esm/core/runtime/runtime.mjs +99 -0
- package/dist/esm/core/utils/index.d.mts +1 -0
- package/dist/esm/core/utils/index.mjs +1 -0
- package/dist/esm/core/utils/setObjectProperty.d.mts +11 -0
- package/dist/esm/core/utils/setObjectProperty.mjs +39 -0
- package/dist/esm/core/websocket/events.d.mts +36 -0
- package/dist/esm/core/websocket/events.mjs +21 -0
- package/dist/esm/core/websocket/index.d.mts +1 -0
- package/dist/esm/core/websocket/index.mjs +1 -0
- package/dist/esm/core/websocket/ws.d.mts +137 -0
- package/dist/esm/core/websocket/ws.mjs +415 -0
- package/dist/esm/custom/CortiAuth.d.mts +57 -0
- package/dist/esm/custom/CortiAuth.mjs +145 -0
- package/dist/esm/custom/CortiClient.d.mts +113 -0
- package/dist/esm/custom/CortiClient.mjs +111 -0
- package/dist/esm/custom/CustomStream.d.mts +15 -0
- package/dist/esm/custom/CustomStream.mjs +45 -0
- package/dist/esm/custom/CustomStreamSocket.d.mts +11 -0
- package/dist/esm/custom/CustomStreamSocket.mjs +25 -0
- package/dist/esm/custom/CustomTranscribe.d.mts +15 -0
- package/dist/esm/custom/CustomTranscribe.mjs +45 -0
- package/dist/esm/custom/CustomTranscribeSocket.d.mts +11 -0
- package/dist/esm/custom/CustomTranscribeSocket.mjs +25 -0
- package/dist/esm/custom/RefreshBearerProvider.d.mts +23 -0
- package/dist/esm/custom/RefreshBearerProvider.mjs +48 -0
- package/dist/esm/environments.d.mts +26 -0
- package/dist/esm/environments.mjs +20 -0
- package/dist/esm/errors/CortiError.d.mts +15 -0
- package/dist/esm/errors/CortiError.mjs +26 -0
- package/dist/esm/errors/CortiTimeoutError.d.mts +6 -0
- package/dist/esm/errors/CortiTimeoutError.mjs +9 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/index.d.mts +14 -0
- package/dist/esm/index.mjs +15 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +71 -0
- package/reference.md +1726 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface StreamErrorDetail {
|
|
5
|
+
/** Error identifier */
|
|
6
|
+
id?: string;
|
|
7
|
+
/** Error title */
|
|
8
|
+
title?: string;
|
|
9
|
+
/** HTTP status code or similar error code */
|
|
10
|
+
status?: number;
|
|
11
|
+
/** Detailed error message */
|
|
12
|
+
details?: string;
|
|
13
|
+
/** Link to documentation or further information */
|
|
14
|
+
doc?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface StreamFact {
|
|
5
|
+
/** Unique identifier for the fact */
|
|
6
|
+
id: string;
|
|
7
|
+
/** Text description of the fact */
|
|
8
|
+
text: string;
|
|
9
|
+
/** Categorization of the fact (e.g., medical-history) */
|
|
10
|
+
group: string;
|
|
11
|
+
/** Unique identifier for the group */
|
|
12
|
+
groupId: string;
|
|
13
|
+
/** Indicates if the fact was discarded */
|
|
14
|
+
isDiscarded: boolean;
|
|
15
|
+
/** Source of the fact (e.g., core for generated automatically) */
|
|
16
|
+
source: string;
|
|
17
|
+
/** Timestamp when the fact was created */
|
|
18
|
+
createdAt?: string;
|
|
19
|
+
/** Timestamp when the fact was last updated */
|
|
20
|
+
updatedAt?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Corti from "../index.js";
|
|
5
|
+
export interface StreamParticipant {
|
|
6
|
+
/** Audio channel number (e.g. 0 or 1) */
|
|
7
|
+
channel: number;
|
|
8
|
+
/** Role of the participant (e.g., doctor, patient, or multiple) */
|
|
9
|
+
role?: Corti.StreamParticipantRole;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Role of the participant (e.g., doctor, patient, or multiple)
|
|
6
|
+
*/
|
|
7
|
+
export type StreamParticipantRole = "doctor" | "patient" | "multiple";
|
|
8
|
+
export declare const StreamParticipantRole: {
|
|
9
|
+
readonly Doctor: "doctor";
|
|
10
|
+
readonly Patient: "patient";
|
|
11
|
+
readonly Multiple: "multiple";
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.StreamParticipantRole = void 0;
|
|
7
|
+
exports.StreamParticipantRole = {
|
|
8
|
+
Doctor: "doctor",
|
|
9
|
+
Patient: "patient",
|
|
10
|
+
Multiple: "multiple",
|
|
11
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Corti from "../index.js";
|
|
5
|
+
export interface StreamTranscript {
|
|
6
|
+
/** Unique identifier for the transcript */
|
|
7
|
+
id: string;
|
|
8
|
+
/** The transcribed text */
|
|
9
|
+
transcript: string;
|
|
10
|
+
/** Indicates whether the transcript is finalized or interim */
|
|
11
|
+
final: boolean;
|
|
12
|
+
/** Speaker identifier (-1 if diarization is off) */
|
|
13
|
+
speakerId: number;
|
|
14
|
+
participant: Corti.StreamParticipant;
|
|
15
|
+
time: Corti.StreamTranscriptTime;
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Corti from "../index.js";
|
|
5
|
+
export interface TemplateFiltered {
|
|
6
|
+
/** The timestamp when the template was updated. */
|
|
7
|
+
date_updated?: string;
|
|
8
|
+
/** Name of the template */
|
|
9
|
+
name?: string;
|
|
10
|
+
/** Description of the template */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Unique key for the template */
|
|
13
|
+
key?: string;
|
|
14
|
+
/** Status of the template. */
|
|
15
|
+
status?: string;
|
|
16
|
+
/** List of sections included in the template */
|
|
17
|
+
template_sections?: Corti.TemplateFilteredTemplateSectionsItem[];
|
|
18
|
+
/** Available translations for the template */
|
|
19
|
+
translations?: Corti.TemplateFilteredTranslationsItem[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Corti from "../index.js";
|
|
5
|
+
export interface TemplateFilteredTemplateSectionsItem {
|
|
6
|
+
/** Sort order of the section within the template */
|
|
7
|
+
sort?: number;
|
|
8
|
+
/** The section details */
|
|
9
|
+
sections_id?: Corti.Section;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TemplateFilteredTranslationsItem {
|
|
5
|
+
/** Language identifier */
|
|
6
|
+
languages_id?: string;
|
|
7
|
+
/** Localized name of the template */
|
|
8
|
+
name?: string;
|
|
9
|
+
/** Localized description of the template */
|
|
10
|
+
description?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Corti from "../index.js";
|
|
5
|
+
export interface TranscribeCommand {
|
|
6
|
+
/** To identify the command when it gets detected and returned over the WebSocket */
|
|
7
|
+
id: string;
|
|
8
|
+
/** The spoken phrases that should trigger the command */
|
|
9
|
+
phrases?: string[];
|
|
10
|
+
/** Variables for the command */
|
|
11
|
+
variables?: Corti.TranscribeCommandVariable[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TranscribeCommandData {
|
|
5
|
+
/** To identify the command when it gets detected and returned over the WebSocket */
|
|
6
|
+
id: string;
|
|
7
|
+
/** The variables identified */
|
|
8
|
+
variables?: Record<string, unknown>;
|
|
9
|
+
/** The raw transcript without spoken punctuation applied and without command phrases removed */
|
|
10
|
+
rawTranscriptText: string;
|
|
11
|
+
/** Start time of the transcript segment in seconds */
|
|
12
|
+
start: number;
|
|
13
|
+
/** End time of the transcript segment in seconds */
|
|
14
|
+
end: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TranscribeCommandVariable {
|
|
5
|
+
/** Variable key identifier */
|
|
6
|
+
key: string;
|
|
7
|
+
/** Variable type */
|
|
8
|
+
type?: string;
|
|
9
|
+
/** Enum values for the variable */
|
|
10
|
+
enum?: string[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Corti from "../index.js";
|
|
5
|
+
export interface TranscribeConfigStatusMessage {
|
|
6
|
+
/** Configuration status result */
|
|
7
|
+
type: Corti.TranscribeConfigStatusMessageType;
|
|
8
|
+
/** Optional reason for rejection */
|
|
9
|
+
reason?: string;
|
|
10
|
+
/** Session identifier returned when configuration is accepted */
|
|
11
|
+
sessionId: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Configuration status result
|
|
6
|
+
*/
|
|
7
|
+
export type TranscribeConfigStatusMessageType = "CONFIG_ACCEPTED" | "CONFIG_DENIED" | "CONFIG_TIMEOUT";
|
|
8
|
+
export declare const TranscribeConfigStatusMessageType: {
|
|
9
|
+
readonly ConfigAccepted: "CONFIG_ACCEPTED";
|
|
10
|
+
readonly ConfigDenied: "CONFIG_DENIED";
|
|
11
|
+
readonly ConfigTimeout: "CONFIG_TIMEOUT";
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TranscribeConfigStatusMessageType = void 0;
|
|
7
|
+
exports.TranscribeConfigStatusMessageType = {
|
|
8
|
+
ConfigAccepted: "CONFIG_ACCEPTED",
|
|
9
|
+
ConfigDenied: "CONFIG_DENIED",
|
|
10
|
+
ConfigTimeout: "CONFIG_TIMEOUT",
|
|
11
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Corti from "../index.js";
|
|
5
|
+
export interface TranscribeConfigurationMessageConfiguration {
|
|
6
|
+
/** The locale of the primary spoken language. Supported languages: en (English US), en-GB (English UK), da (Danish), de (German), fr (French), de-CH (Swiss-German), sv (Swedish), es (Spanish), it (Italian), nl (Dutch), no (Norwegian), pt (Portuguese) */
|
|
7
|
+
primaryLanguage: Corti.TranscribeConfigurationMessageConfigurationPrimaryLanguage;
|
|
8
|
+
/** When true, returns interim results for reduced latency */
|
|
9
|
+
interimResults?: boolean;
|
|
10
|
+
/** When true, converts spoken punctuation such as 'period' or 'slash' into '.' or '/' */
|
|
11
|
+
spokenPunctuation?: boolean;
|
|
12
|
+
/** When true, automatically punctuates and capitalizes in the final transcript */
|
|
13
|
+
automaticPunctuation?: boolean;
|
|
14
|
+
/** Commands that should be registered and detected */
|
|
15
|
+
commands?: Corti.TranscribeCommand[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The locale of the primary spoken language. Supported languages: en (English US), en-GB (English UK), da (Danish), de (German), fr (French), de-CH (Swiss-German), sv (Swedish), es (Spanish), it (Italian), nl (Dutch), no (Norwegian), pt (Portuguese)
|
|
6
|
+
*/
|
|
7
|
+
export type TranscribeConfigurationMessageConfigurationPrimaryLanguage = "en" | "en-GB" | "da" | "de" | "fr" | "de-CH" | "sv" | "es" | "it" | "nl" | "no" | "pt";
|
|
8
|
+
export declare const TranscribeConfigurationMessageConfigurationPrimaryLanguage: {
|
|
9
|
+
readonly En: "en";
|
|
10
|
+
readonly EnGb: "en-GB";
|
|
11
|
+
readonly Da: "da";
|
|
12
|
+
readonly De: "de";
|
|
13
|
+
readonly Fr: "fr";
|
|
14
|
+
readonly DeCh: "de-CH";
|
|
15
|
+
readonly Sv: "sv";
|
|
16
|
+
readonly Es: "es";
|
|
17
|
+
readonly It: "it";
|
|
18
|
+
readonly Nl: "nl";
|
|
19
|
+
readonly No: "no";
|
|
20
|
+
readonly Pt: "pt";
|
|
21
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TranscribeConfigurationMessageConfigurationPrimaryLanguage = void 0;
|
|
7
|
+
exports.TranscribeConfigurationMessageConfigurationPrimaryLanguage = {
|
|
8
|
+
En: "en",
|
|
9
|
+
EnGb: "en-GB",
|
|
10
|
+
Da: "da",
|
|
11
|
+
De: "de",
|
|
12
|
+
Fr: "fr",
|
|
13
|
+
DeCh: "de-CH",
|
|
14
|
+
Sv: "sv",
|
|
15
|
+
Es: "es",
|
|
16
|
+
It: "it",
|
|
17
|
+
Nl: "nl",
|
|
18
|
+
No: "no",
|
|
19
|
+
Pt: "pt",
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TranscribeErrorMessageError {
|
|
5
|
+
/** Unique error identifier */
|
|
6
|
+
id: string;
|
|
7
|
+
/** Error title */
|
|
8
|
+
title?: string;
|
|
9
|
+
/** HTTP status code */
|
|
10
|
+
status?: number;
|
|
11
|
+
/** Detailed error description */
|
|
12
|
+
details?: string;
|
|
13
|
+
/** Link to documentation */
|
|
14
|
+
doc?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TranscribeTranscriptData {
|
|
5
|
+
/** Transcript segment with punctuations applied and command phrases removed */
|
|
6
|
+
text: string;
|
|
7
|
+
/** The raw transcript without spoken punctuation applied and without command phrases removed */
|
|
8
|
+
rawTranscriptText: string;
|
|
9
|
+
/** Start time of the transcript segment in seconds */
|
|
10
|
+
start: number;
|
|
11
|
+
/** End time of the transcript segment in seconds */
|
|
12
|
+
end: number;
|
|
13
|
+
/** If false, then interim transcript result */
|
|
14
|
+
isFinal: boolean;
|
|
15
|
+
}
|