@corti/sdk 1.0.0-alpha.1 → 1.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/api/resources/codes/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/codes/client/Client.js +1 -1
- package/dist/cjs/api/types/AgentsAgentCard.d.ts +2 -2
- package/dist/cjs/api/types/AgentsErrorResponse.d.ts +2 -2
- package/dist/cjs/api/types/CodesGeneralResponse.d.ts +1 -1
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +4 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +4 -0
- package/dist/cjs/api/types/StreamConfig.d.ts +2 -0
- package/dist/cjs/api/types/StreamConfigXCortiRetentionPolicy.d.ts +6 -0
- package/dist/cjs/api/types/StreamConfigXCortiRetentionPolicy.js +9 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/custom/CortiClient.js +1 -1
- package/dist/cjs/custom/auth/OAuthAuthCodeAuthProvider.js +1 -1
- package/dist/cjs/custom/auth/OAuthPkceAuthProvider.js +1 -1
- package/dist/cjs/custom/auth/OAuthRopcAuthProvider.js +1 -1
- package/dist/cjs/custom/overrides/OAuthAuthProvider.js +1 -1
- package/dist/cjs/custom/overrides/fetcher/index.d.ts +2 -2
- package/dist/cjs/custom/overrides/fetcher/index.js +4 -4
- package/dist/cjs/custom/overrides/index.d.ts +5 -5
- package/dist/cjs/custom/overrides/index.js +7 -7
- package/dist/cjs/custom/proxy/CustomProxyStream.d.ts +1 -1
- package/dist/cjs/custom/proxy/CustomProxyTranscribe.d.ts +1 -1
- package/dist/cjs/custom/stream/CustomStream.d.ts +2 -2
- package/dist/cjs/custom/stream/CustomStream.js +4 -4
- package/dist/cjs/custom/transcribe/CustomTranscribe.d.ts +2 -2
- package/dist/cjs/custom/transcribe/CustomTranscribe.js +4 -4
- package/dist/cjs/custom/utils/index.d.ts +2 -2
- package/dist/cjs/custom/utils/index.js +3 -3
- package/dist/cjs/custom/utils/withCredentialsConfig.js +1 -1
- package/dist/cjs/serialization/types/AgentsAgentCard.d.ts +2 -2
- package/dist/cjs/serialization/types/AgentsAgentCard.js +2 -2
- package/dist/cjs/serialization/types/AgentsErrorResponse.d.ts +2 -2
- package/dist/cjs/serialization/types/AgentsErrorResponse.js +1 -2
- package/dist/cjs/serialization/types/AgentsValidationErrorResponse.d.ts +3 -2
- package/dist/cjs/serialization/types/AgentsValidationErrorResponse.js +2 -2
- package/dist/cjs/serialization/types/CodesGeneralResponse.d.ts +1 -1
- package/dist/cjs/serialization/types/CodesGeneralResponse.js +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +10 -1
- package/dist/cjs/serialization/types/StreamConfig.d.ts +2 -0
- package/dist/cjs/serialization/types/StreamConfig.js +2 -0
- package/dist/cjs/serialization/types/StreamConfigXCortiRetentionPolicy.d.ts +7 -0
- package/dist/cjs/serialization/types/{StreamConfigMessageType.js → StreamConfigXCortiRetentionPolicy.js} +2 -2
- package/dist/cjs/serialization/types/index.d.ts +1 -0
- package/dist/cjs/serialization/types/index.js +1 -0
- 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/api/resources/codes/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/codes/client/Client.mjs +1 -1
- package/dist/esm/api/types/AgentsAgentCard.d.mts +2 -2
- package/dist/esm/api/types/AgentsErrorResponse.d.mts +2 -2
- package/dist/esm/api/types/CodesGeneralResponse.d.mts +1 -1
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +4 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +4 -0
- package/dist/esm/api/types/StreamConfig.d.mts +2 -0
- package/dist/esm/api/types/StreamConfigXCortiRetentionPolicy.d.mts +6 -0
- package/dist/esm/api/types/StreamConfigXCortiRetentionPolicy.mjs +6 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/custom/CortiClient.mjs +1 -1
- package/dist/esm/custom/auth/OAuthAuthCodeAuthProvider.mjs +1 -1
- package/dist/esm/custom/auth/OAuthPkceAuthProvider.mjs +1 -1
- package/dist/esm/custom/auth/OAuthRopcAuthProvider.mjs +1 -1
- package/dist/esm/custom/overrides/OAuthAuthProvider.mjs +1 -1
- package/dist/esm/custom/overrides/fetcher/index.d.mts +2 -2
- package/dist/esm/custom/overrides/fetcher/index.mjs +2 -2
- package/dist/esm/custom/overrides/index.d.mts +5 -5
- package/dist/esm/custom/overrides/index.mjs +3 -5
- package/dist/esm/custom/proxy/CustomProxyStream.d.mts +1 -1
- package/dist/esm/custom/proxy/CustomProxyStream.mjs +0 -1
- package/dist/esm/custom/proxy/CustomProxyTranscribe.d.mts +1 -1
- package/dist/esm/custom/proxy/CustomProxyTranscribe.mjs +0 -1
- package/dist/esm/custom/stream/CustomStream.d.mts +2 -2
- package/dist/esm/custom/stream/CustomStream.mjs +4 -4
- package/dist/esm/custom/transcribe/CustomTranscribe.d.mts +2 -2
- package/dist/esm/custom/transcribe/CustomTranscribe.mjs +4 -4
- package/dist/esm/custom/utils/index.d.mts +2 -2
- package/dist/esm/custom/utils/index.mjs +1 -1
- package/dist/esm/custom/utils/withCredentialsConfig.mjs +1 -1
- package/dist/esm/serialization/types/AgentsAgentCard.d.mts +2 -2
- package/dist/esm/serialization/types/AgentsAgentCard.mjs +2 -2
- package/dist/esm/serialization/types/AgentsErrorResponse.d.mts +2 -2
- package/dist/esm/serialization/types/AgentsErrorResponse.mjs +1 -2
- package/dist/esm/serialization/types/AgentsValidationErrorResponse.d.mts +3 -2
- package/dist/esm/serialization/types/AgentsValidationErrorResponse.mjs +2 -2
- package/dist/esm/serialization/types/CodesGeneralResponse.d.mts +1 -1
- package/dist/esm/serialization/types/CodesGeneralResponse.mjs +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +10 -1
- package/dist/esm/serialization/types/StreamConfig.d.mts +2 -0
- package/dist/esm/serialization/types/StreamConfig.mjs +2 -0
- package/dist/esm/serialization/types/StreamConfigXCortiRetentionPolicy.d.mts +7 -0
- package/dist/esm/serialization/types/{AuthTokenRequestGrantType.mjs → StreamConfigXCortiRetentionPolicy.mjs} +1 -1
- package/dist/esm/serialization/types/index.d.mts +1 -0
- package/dist/esm/serialization/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +5 -4
- package/dist/cjs/api/resources/agents/exports.d.ts +0 -2
- package/dist/cjs/api/resources/agents/exports.js +0 -21
- package/dist/cjs/api/resources/agents/types/AgentsMessageStreamResponse.d.ts +0 -10
- package/dist/cjs/api/resources/agents/types/AgentsMessageStreamResponse.js +0 -5
- package/dist/cjs/api/resources/auth/client/requests/AuthGetCodeFlowTokenRequest.d.ts +0 -22
- package/dist/cjs/api/resources/auth/client/requests/AuthGetCodeFlowTokenRequest.js +0 -5
- package/dist/cjs/api/resources/auth/client/requests/AuthGetTokenRequest.d.ts +0 -15
- package/dist/cjs/api/resources/auth/client/requests/AuthGetTokenRequest.js +0 -5
- package/dist/cjs/api/resources/auth/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/auth/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/auth/exports.d.ts +0 -2
- package/dist/cjs/api/resources/auth/exports.js +0 -21
- package/dist/cjs/api/resources/auth/types/AuthGetTokenRequestGrantType.d.ts +0 -6
- package/dist/cjs/api/resources/auth/types/AuthGetTokenRequestGrantType.js +0 -9
- package/dist/cjs/api/resources/auth/types/AuthTokenRequest.d.ts +0 -2
- package/dist/cjs/api/resources/auth/types/AuthTokenRequest.js +0 -3
- package/dist/cjs/api/resources/auth/types/GetTokenResponse.d.ts +0 -10
- package/dist/cjs/api/resources/auth/types/GetTokenResponse.js +0 -5
- package/dist/cjs/api/resources/codes/exports.d.ts +0 -2
- package/dist/cjs/api/resources/codes/exports.js +0 -21
- package/dist/cjs/api/resources/documents/client/requests/DocumentsCreateRequest.d.ts +0 -20
- package/dist/cjs/api/resources/documents/client/requests/DocumentsCreateRequest.js +0 -3
- package/dist/cjs/api/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +0 -5
- package/dist/cjs/api/resources/documents/client/requests/DocumentsDeleteRequest.js +0 -3
- package/dist/cjs/api/resources/documents/client/requests/DocumentsGetRequest.d.ts +0 -5
- package/dist/cjs/api/resources/documents/client/requests/DocumentsGetRequest.js +0 -3
- package/dist/cjs/api/resources/documents/client/requests/DocumentsListRequest.d.ts +0 -5
- package/dist/cjs/api/resources/documents/client/requests/DocumentsListRequest.js +0 -3
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentCreate.d.ts +0 -31
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentCreate.js +0 -5
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentUpdate.d.ts +0 -13
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentUpdate.js +0 -5
- package/dist/cjs/api/resources/documents/exports.d.ts +0 -2
- package/dist/cjs/api/resources/documents/exports.js +0 -21
- package/dist/cjs/api/resources/documents/types/RequestDocumentCreateContextItem.d.ts +0 -10
- package/dist/cjs/api/resources/documents/types/RequestDocumentCreateContextItem.js +0 -5
- package/dist/cjs/api/resources/documents/types/RequestDocumentUpdateSectionsItem.d.ts +0 -9
- package/dist/cjs/api/resources/documents/types/RequestDocumentUpdateSectionsItem.js +0 -5
- package/dist/cjs/api/resources/documents/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/documents/types/index.js +0 -18
- package/dist/cjs/api/resources/facts/client/requests/FactsListRequest.d.ts +0 -5
- package/dist/cjs/api/resources/facts/client/requests/FactsListRequest.js +0 -3
- package/dist/cjs/api/resources/facts/client/requests/RequestFactUpdate.d.ts +0 -21
- package/dist/cjs/api/resources/facts/client/requests/RequestFactUpdate.js +0 -5
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsCreate.d.ts +0 -17
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsCreate.js +0 -5
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsUpdate.d.ts +0 -16
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsUpdate.js +0 -5
- package/dist/cjs/api/resources/facts/exports.d.ts +0 -2
- package/dist/cjs/api/resources/facts/exports.js +0 -21
- package/dist/cjs/api/resources/facts/types/RequestFactsCreateFactsItem.d.ts +0 -12
- package/dist/cjs/api/resources/facts/types/RequestFactsCreateFactsItem.js +0 -5
- package/dist/cjs/api/resources/facts/types/RequestFactsUpdateFactsItem.d.ts +0 -14
- package/dist/cjs/api/resources/facts/types/RequestFactsUpdateFactsItem.js +0 -5
- package/dist/cjs/api/resources/facts/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/facts/types/index.js +0 -18
- package/dist/cjs/api/resources/interactions/client/requests/InteractionsDeleteRequest.d.ts +0 -5
- package/dist/cjs/api/resources/interactions/client/requests/InteractionsDeleteRequest.js +0 -3
- package/dist/cjs/api/resources/interactions/client/requests/InteractionsGetRequest.d.ts +0 -5
- package/dist/cjs/api/resources/interactions/client/requests/InteractionsGetRequest.js +0 -3
- package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionCreate.d.ts +0 -22
- package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionCreate.js +0 -5
- package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionUpdate.d.ts +0 -16
- package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionUpdate.js +0 -5
- package/dist/cjs/api/resources/interactions/exports.d.ts +0 -2
- package/dist/cjs/api/resources/interactions/exports.js +0 -21
- package/dist/cjs/api/resources/interactions/types/InteractionsListRequestDirection.d.ts +0 -11
- package/dist/cjs/api/resources/interactions/types/InteractionsListRequestDirection.js +0 -10
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsDeleteRequest.d.ts +0 -5
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsDeleteRequest.js +0 -3
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsGetRequest.d.ts +0 -5
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsGetRequest.js +0 -3
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.d.ts +0 -5
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.js +0 -3
- package/dist/cjs/api/resources/recordings/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/recordings/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/recordings/exports.d.ts +0 -2
- package/dist/cjs/api/resources/recordings/exports.js +0 -21
- package/dist/cjs/api/resources/stream/exports.d.ts +0 -2
- package/dist/cjs/api/resources/stream/exports.js +0 -21
- package/dist/cjs/api/resources/templates/client/requests/TemplatesSectionsListRequest.d.ts +0 -17
- package/dist/cjs/api/resources/templates/client/requests/TemplatesSectionsListRequest.js +0 -5
- package/dist/cjs/api/resources/templates/exports.d.ts +0 -2
- package/dist/cjs/api/resources/templates/exports.js +0 -21
- package/dist/cjs/api/resources/transcribe/exports.d.ts +0 -2
- package/dist/cjs/api/resources/transcribe/exports.js +0 -21
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptCreate.d.ts +0 -28
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptCreate.js +0 -5
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsDeleteRequest.d.ts +0 -5
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsDeleteRequest.js +0 -3
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsGetRequest.d.ts +0 -5
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsGetRequest.js +0 -3
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsGetStatusRequest.d.ts +0 -5
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsGetStatusRequest.js +0 -3
- package/dist/cjs/api/resources/transcripts/exports.d.ts +0 -2
- package/dist/cjs/api/resources/transcripts/exports.js +0 -21
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateModelName.d.ts +0 -12
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateModelName.js +0 -11
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.ts +0 -10
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.js +0 -5
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.ts +0 -21
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.js +0 -20
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +0 -12
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.js +0 -11
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.ts +0 -21
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.js +0 -20
- package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestDirection.d.ts +0 -11
- package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestDirection.js +0 -10
- package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestSort.d.ts +0 -11
- package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestSort.js +0 -10
- package/dist/cjs/api/resources/transcripts/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/transcripts/types/index.js +0 -17
- package/dist/cjs/api/types/AgentsMessageSendParams.d.ts +0 -10
- package/dist/cjs/api/types/AgentsMessageSendParams.js +0 -5
- package/dist/cjs/api/types/AgentsTaskArtifactUpdateEvent.d.ts +0 -19
- package/dist/cjs/api/types/AgentsTaskArtifactUpdateEvent.js +0 -5
- package/dist/cjs/api/types/AgentsTaskStatusUpdateEvent.d.ts +0 -17
- package/dist/cjs/api/types/AgentsTaskStatusUpdateEvent.js +0 -5
- package/dist/cjs/api/types/AuthTokenRequest.d.ts +0 -14
- package/dist/cjs/api/types/AuthTokenRequest.js +0 -3
- package/dist/cjs/api/types/AuthTokenRequestGrantType.d.ts +0 -5
- package/dist/cjs/api/types/AuthTokenRequestGrantType.js +0 -8
- package/dist/cjs/api/types/CommonTranscript.d.ts +0 -17
- package/dist/cjs/api/types/CommonTranscript.js +0 -5
- package/dist/cjs/api/types/DocumentContextData.d.ts +0 -14
- package/dist/cjs/api/types/DocumentContextData.js +0 -5
- package/dist/cjs/api/types/DocumentTemplate.d.ts +0 -14
- package/dist/cjs/api/types/DocumentTemplate.js +0 -5
- package/dist/cjs/api/types/DocumentsContextData.d.ts +0 -14
- package/dist/cjs/api/types/DocumentsContextData.js +0 -5
- package/dist/cjs/api/types/DocumentsContextTypeEnum.d.ts +0 -9
- package/dist/cjs/api/types/DocumentsContextTypeEnum.js +0 -11
- package/dist/cjs/api/types/DocumentsCreateRequestBody.d.ts +0 -8
- package/dist/cjs/api/types/DocumentsCreateRequestBody.js +0 -3
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateId.d.ts +0 -16
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateId.js +0 -5
- package/dist/cjs/api/types/DocumentsTemplateWithSectionIds.d.ts +0 -12
- package/dist/cjs/api/types/DocumentsTemplateWithSectionIds.js +0 -5
- package/dist/cjs/api/types/Encounter.d.ts +0 -16
- package/dist/cjs/api/types/Encounter.js +0 -5
- package/dist/cjs/api/types/EncounterPeriod.d.ts +0 -9
- package/dist/cjs/api/types/EncounterPeriod.js +0 -5
- package/dist/cjs/api/types/EncounterStatus.d.ts +0 -12
- package/dist/cjs/api/types/EncounterStatus.js +0 -14
- package/dist/cjs/api/types/EncounterType.d.ts +0 -11
- package/dist/cjs/api/types/EncounterType.js +0 -13
- package/dist/cjs/api/types/EncounterUpdate.d.ts +0 -16
- package/dist/cjs/api/types/EncounterUpdate.js +0 -5
- package/dist/cjs/api/types/FactContext.d.ts +0 -12
- package/dist/cjs/api/types/FactContext.js +0 -5
- package/dist/cjs/api/types/GenderEnum.d.ts +0 -10
- package/dist/cjs/api/types/GenderEnum.js +0 -12
- package/dist/cjs/api/types/ParticipantRoleEnum.d.ts +0 -9
- package/dist/cjs/api/types/ParticipantRoleEnum.js +0 -11
- package/dist/cjs/api/types/Patient.d.ts +0 -16
- package/dist/cjs/api/types/Patient.js +0 -5
- package/dist/cjs/api/types/PatientUpdate.d.ts +0 -16
- package/dist/cjs/api/types/PatientUpdate.js +0 -5
- package/dist/cjs/api/types/ResponseAllTemplateSections.d.ts +0 -8
- package/dist/cjs/api/types/ResponseAllTemplateSections.js +0 -5
- package/dist/cjs/api/types/ResponseAllTemplates.d.ts +0 -8
- package/dist/cjs/api/types/ResponseAllTemplates.js +0 -5
- package/dist/cjs/api/types/ResponseAllTemplatesDataItem.d.ts +0 -20
- package/dist/cjs/api/types/ResponseAllTemplatesDataItem.js +0 -5
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.ts +0 -10
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.js +0 -5
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTranslationsItem.d.ts +0 -11
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTranslationsItem.js +0 -5
- package/dist/cjs/api/types/ResponseDocumentList.d.ts +0 -7
- package/dist/cjs/api/types/ResponseDocumentList.js +0 -5
- package/dist/cjs/api/types/ResponseDocumentRead.d.ts +0 -22
- package/dist/cjs/api/types/ResponseDocumentRead.js +0 -5
- package/dist/cjs/api/types/ResponseDocumentReadSectionsItem.d.ts +0 -17
- package/dist/cjs/api/types/ResponseDocumentReadSectionsItem.js +0 -5
- package/dist/cjs/api/types/ResponseFactGroupsFiltered.d.ts +0 -7
- package/dist/cjs/api/types/ResponseFactGroupsFiltered.js +0 -5
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItem.d.ts +0 -9
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItem.js +0 -5
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.ts +0 -8
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.js +0 -5
- package/dist/cjs/api/types/ResponseFactUpdate.d.ts +0 -22
- package/dist/cjs/api/types/ResponseFactUpdate.js +0 -5
- package/dist/cjs/api/types/ResponseFactsCreate.d.ts +0 -8
- package/dist/cjs/api/types/ResponseFactsCreate.js +0 -5
- package/dist/cjs/api/types/ResponseFactsCreateFactsItem.d.ts +0 -20
- package/dist/cjs/api/types/ResponseFactsCreateFactsItem.js +0 -5
- package/dist/cjs/api/types/ResponseFactsList.d.ts +0 -8
- package/dist/cjs/api/types/ResponseFactsList.js +0 -5
- package/dist/cjs/api/types/ResponseFactsListFactsItem.d.ts +0 -23
- package/dist/cjs/api/types/ResponseFactsListFactsItem.js +0 -5
- package/dist/cjs/api/types/ResponseFactsListFactsItemEvidenceItem.d.ts +0 -11
- package/dist/cjs/api/types/ResponseFactsListFactsItemEvidenceItem.js +0 -5
- package/dist/cjs/api/types/ResponseFactsUpdate.d.ts +0 -8
- package/dist/cjs/api/types/ResponseFactsUpdate.js +0 -5
- package/dist/cjs/api/types/ResponseFactsUpdateFactsItem.d.ts +0 -22
- package/dist/cjs/api/types/ResponseFactsUpdateFactsItem.js +0 -5
- package/dist/cjs/api/types/ResponseInteraction.d.ts +0 -24
- package/dist/cjs/api/types/ResponseInteraction.js +0 -5
- package/dist/cjs/api/types/ResponseInteractionCreate.d.ts +0 -10
- package/dist/cjs/api/types/ResponseInteractionCreate.js +0 -5
- package/dist/cjs/api/types/ResponseInteractions.d.ts +0 -7
- package/dist/cjs/api/types/ResponseInteractions.js +0 -5
- package/dist/cjs/api/types/ResponseMetadataCreate.d.ts +0 -7
- package/dist/cjs/api/types/ResponseMetadataCreate.js +0 -5
- package/dist/cjs/api/types/ResponseMetadataCreateParticipantsRolesItem.d.ts +0 -10
- package/dist/cjs/api/types/ResponseMetadataCreateParticipantsRolesItem.js +0 -5
- package/dist/cjs/api/types/ResponseRecordingCreate.d.ts +0 -8
- package/dist/cjs/api/types/ResponseRecordingCreate.js +0 -5
- package/dist/cjs/api/types/ResponseRecordingList.d.ts +0 -8
- package/dist/cjs/api/types/ResponseRecordingList.js +0 -5
- package/dist/cjs/api/types/ResponseTranscriptCreate.d.ts +0 -13
- package/dist/cjs/api/types/ResponseTranscriptCreate.js +0 -5
- package/dist/cjs/api/types/ResponseTranscriptCreateTranscriptsItem.d.ts +0 -17
- package/dist/cjs/api/types/ResponseTranscriptCreateTranscriptsItem.js +0 -5
- package/dist/cjs/api/types/ResponseTranscriptListAll.d.ts +0 -7
- package/dist/cjs/api/types/ResponseTranscriptListAll.js +0 -5
- package/dist/cjs/api/types/ResponseTranscriptListAllTranscriptsItem.d.ts +0 -9
- package/dist/cjs/api/types/ResponseTranscriptListAllTranscriptsItem.js +0 -5
- package/dist/cjs/api/types/ResponseTranscriptListFull.d.ts +0 -10
- package/dist/cjs/api/types/ResponseTranscriptListFull.js +0 -5
- package/dist/cjs/api/types/ResponseTranscriptListFullTranscriptsItem.d.ts +0 -17
- package/dist/cjs/api/types/ResponseTranscriptListFullTranscriptsItem.js +0 -5
- package/dist/cjs/api/types/Section.d.ts +0 -22
- package/dist/cjs/api/types/Section.js +0 -5
- package/dist/cjs/api/types/SectionTranslationsItem.d.ts +0 -11
- package/dist/cjs/api/types/SectionTranslationsItem.js +0 -5
- package/dist/cjs/api/types/SortingDirectionEnum.d.ts +0 -8
- package/dist/cjs/api/types/SortingDirectionEnum.js +0 -10
- package/dist/cjs/api/types/StreamConfigData.d.ts +0 -8
- package/dist/cjs/api/types/StreamConfigData.js +0 -5
- package/dist/cjs/api/types/StreamConfigMessageType.d.ts +0 -4
- package/dist/cjs/api/types/StreamConfigMessageType.js +0 -7
- package/dist/cjs/api/types/StreamConfigModeOutputLocale.d.ts +0 -21
- package/dist/cjs/api/types/StreamConfigModeOutputLocale.js +0 -20
- package/dist/cjs/api/types/StreamConfigTranscriptionPrimaryLanguage.d.ts +0 -21
- package/dist/cjs/api/types/StreamConfigTranscriptionPrimaryLanguage.js +0 -20
- package/dist/cjs/api/types/StreamConfigurationMessage.d.ts +0 -8
- package/dist/cjs/api/types/StreamConfigurationMessage.js +0 -5
- package/dist/cjs/api/types/StreamEndMessageType.d.ts +0 -4
- package/dist/cjs/api/types/StreamEndMessageType.js +0 -7
- package/dist/cjs/api/types/StreamEndedMessageType.d.ts +0 -4
- package/dist/cjs/api/types/StreamEndedMessageType.js +0 -7
- package/dist/cjs/api/types/StreamErrorMessageType.d.ts +0 -4
- package/dist/cjs/api/types/StreamErrorMessageType.js +0 -7
- package/dist/cjs/api/types/StreamFactsMessageType.d.ts +0 -4
- package/dist/cjs/api/types/StreamFactsMessageType.js +0 -7
- package/dist/cjs/api/types/StreamFlushMessageType.d.ts +0 -4
- package/dist/cjs/api/types/StreamFlushMessageType.js +0 -7
- package/dist/cjs/api/types/StreamFlushedMessageType.d.ts +0 -4
- package/dist/cjs/api/types/StreamFlushedMessageType.js +0 -7
- package/dist/cjs/api/types/StreamParticipantRole.d.ts +0 -12
- package/dist/cjs/api/types/StreamParticipantRole.js +0 -11
- package/dist/cjs/api/types/StreamTranscriptMessageType.d.ts +0 -4
- package/dist/cjs/api/types/StreamTranscriptMessageType.js +0 -7
- package/dist/cjs/api/types/StreamUsageMessageType.d.ts +0 -4
- package/dist/cjs/api/types/StreamUsageMessageType.js +0 -7
- package/dist/cjs/api/types/TemplateFiltered.d.ts +0 -20
- package/dist/cjs/api/types/TemplateFiltered.js +0 -5
- package/dist/cjs/api/types/TemplateFilteredTemplateSectionsItem.d.ts +0 -10
- package/dist/cjs/api/types/TemplateFilteredTemplateSectionsItem.js +0 -5
- package/dist/cjs/api/types/TemplateFilteredTranslationsItem.d.ts +0 -11
- package/dist/cjs/api/types/TemplateFilteredTranslationsItem.js +0 -5
- package/dist/cjs/api/types/TranscribeCommandMessageType.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeCommandMessageType.js +0 -7
- package/dist/cjs/api/types/TranscribeCommandVariableType.d.ts +0 -5
- package/dist/cjs/api/types/TranscribeCommandVariableType.js +0 -8
- package/dist/cjs/api/types/TranscribeConfigMessageType.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeConfigMessageType.js +0 -7
- package/dist/cjs/api/types/TranscribeConfigurationMessage.d.ts +0 -8
- package/dist/cjs/api/types/TranscribeConfigurationMessage.js +0 -5
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfiguration.d.ts +0 -16
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfiguration.js +0 -5
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.ts +0 -21
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.js +0 -20
- package/dist/cjs/api/types/TranscribeEndMessageType.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeEndMessageType.js +0 -7
- package/dist/cjs/api/types/TranscribeEndedMessageType.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeEndedMessageType.js +0 -7
- package/dist/cjs/api/types/TranscribeErrorMessageType.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeErrorMessageType.js +0 -7
- package/dist/cjs/api/types/TranscribeFlushMessageType.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeFlushMessageType.js +0 -7
- package/dist/cjs/api/types/TranscribeFlushedMessageType.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeFlushedMessageType.js +0 -7
- package/dist/cjs/api/types/TranscribeTranscriptMessageType.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeTranscriptMessageType.js +0 -7
- package/dist/cjs/api/types/TranscribeUsageMessageType.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeUsageMessageType.js +0 -7
- package/dist/cjs/api/types/Transcript.d.ts +0 -17
- package/dist/cjs/api/types/Transcript.js +0 -5
- package/dist/cjs/api/types/UsageInfo.d.ts +0 -6
- package/dist/cjs/api/types/UsageInfo.js +0 -5
- package/dist/cjs/api/types/V2DocumentContextTypeEnum.d.ts +0 -9
- package/dist/cjs/api/types/V2DocumentContextTypeEnum.js +0 -11
- package/dist/cjs/api/types/V2SourceEnum.d.ts +0 -9
- package/dist/cjs/api/types/V2SourceEnum.js +0 -11
- package/dist/cjs/api/types/WritingStyle.d.ts +0 -7
- package/dist/cjs/api/types/WritingStyle.js +0 -5
- package/dist/cjs/auth/BearerAuthProvider.d.ts +0 -20
- package/dist/cjs/auth/BearerAuthProvider.js +0 -79
- package/dist/cjs/auth/OAuthRopcAuthProvider.d.ts +0 -33
- package/dist/cjs/auth/OAuthRopcAuthProvider.js +0 -130
- package/dist/cjs/core/auth/BearerProvider.d.ts +0 -8
- package/dist/cjs/core/auth/BearerProvider.js +0 -57
- package/dist/cjs/core/auth/OAuthTokenProvider.d.ts +0 -25
- package/dist/cjs/core/auth/OAuthTokenProvider.js +0 -86
- package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +0 -4
- package/dist/cjs/core/fetcher/ResponseWithBody.js +0 -6
- package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/cjs/core/pagination/CustomPager.d.ts +0 -67
- package/dist/cjs/core/pagination/CustomPager.js +0 -194
- package/dist/cjs/core/pagination/Pageable.d.ts +0 -14
- package/dist/cjs/core/pagination/Pageable.js +0 -10
- package/dist/cjs/core/stream/Stream.d.ts +0 -46
- package/dist/cjs/core/stream/Stream.js +0 -169
- package/dist/cjs/core/stream/index.d.ts +0 -1
- package/dist/cjs/core/stream/index.js +0 -5
- package/dist/cjs/custom/BearerProvider.d.ts +0 -13
- package/dist/cjs/custom/BearerProvider.js +0 -60
- package/dist/cjs/custom/CortiAuth.d.ts +0 -129
- package/dist/cjs/custom/CortiAuth.js +0 -195
- package/dist/cjs/custom/CortiOAuthAuthProvider.d.ts +0 -7
- package/dist/cjs/custom/CortiOAuthAuthProvider.js +0 -15
- package/dist/cjs/custom/CortiWebSocketClient.d.ts +0 -14
- package/dist/cjs/custom/CortiWebSocketClient.js +0 -64
- package/dist/cjs/custom/CustomStream.d.ts +0 -8
- package/dist/cjs/custom/CustomStream.js +0 -62
- package/dist/cjs/custom/CustomStreamSocket.d.ts +0 -15
- package/dist/cjs/custom/CustomStreamSocket.js +0 -70
- package/dist/cjs/custom/CustomTranscribe.d.ts +0 -6
- package/dist/cjs/custom/CustomTranscribe.js +0 -62
- package/dist/cjs/custom/CustomTranscribeSocket.d.ts +0 -15
- package/dist/cjs/custom/CustomTranscribeSocket.js +0 -70
- package/dist/cjs/custom/ExtendedAuthClient.d.ts +0 -32
- package/dist/cjs/custom/ExtendedAuthClient.js +0 -163
- package/dist/cjs/custom/ExtendedClient.d.ts +0 -57
- package/dist/cjs/custom/ExtendedClient.js +0 -90
- package/dist/cjs/custom/OAuthAuthCodeAuthProvider.d.ts +0 -23
- package/dist/cjs/custom/OAuthAuthCodeAuthProvider.js +0 -164
- package/dist/cjs/custom/OAuthAuthProvider.d.ts +0 -99
- package/dist/cjs/custom/OAuthAuthProvider.js +0 -290
- package/dist/cjs/custom/OAuthPkceAuthProvider.d.ts +0 -23
- package/dist/cjs/custom/OAuthPkceAuthProvider.js +0 -164
- package/dist/cjs/custom/OAuthRopcAuthProvider.d.ts +0 -22
- package/dist/cjs/custom/OAuthRopcAuthProvider.js +0 -137
- package/dist/cjs/custom/RefreshBearerProvider.d.ts +0 -33
- package/dist/cjs/custom/RefreshBearerProvider.js +0 -112
- package/dist/cjs/custom/api/resources/auth/client/ExtendedClient.d.ts +0 -32
- package/dist/cjs/custom/api/resources/auth/client/ExtendedClient.js +0 -162
- package/dist/cjs/custom/createAuthProvider.d.ts +0 -6
- package/dist/cjs/custom/createAuthProvider.js +0 -53
- package/dist/cjs/custom/environments.d.ts +0 -10
- package/dist/cjs/custom/environments.js +0 -12
- package/dist/cjs/custom/index.d.ts +0 -11
- package/dist/cjs/custom/index.js +0 -59
- package/dist/cjs/custom/requests/AuthGetCodeFlowTokenRequest.d.ts +0 -19
- package/dist/cjs/custom/requests/AuthGetCodeFlowTokenRequest.js +0 -2
- package/dist/cjs/custom/requests/index.d.ts +0 -1
- package/dist/cjs/custom/requests/index.js +0 -2
- package/dist/cjs/custom/serialization/index.d.ts +0 -1
- package/dist/cjs/custom/serialization/index.js +0 -17
- package/dist/cjs/custom/serialization/requests/AuthGetCodeFlowTokenRequest.d.ts +0 -15
- package/dist/cjs/custom/serialization/requests/AuthGetCodeFlowTokenRequest.js +0 -46
- package/dist/cjs/custom/serialization/requests/index.d.ts +0 -1
- package/dist/cjs/custom/serialization/requests/index.js +0 -5
- package/dist/cjs/custom/utils/getEnvironmentFromString.d.ts +0 -5
- package/dist/cjs/custom/utils/getEnvironmentFromString.js +0 -13
- package/dist/cjs/custom/utils/localStorage.d.ts +0 -4
- package/dist/cjs/custom/utils/localStorage.js +0 -40
- package/dist/cjs/custom/utils/pkce.d.ts +0 -2
- package/dist/cjs/custom/utils/pkce.js +0 -29
- package/dist/cjs/custom/utils/tokenRequest.d.ts +0 -12
- package/dist/cjs/custom/utils/tokenRequest.js +0 -79
- package/dist/cjs/serialization/resources/agents/types/AgentsMessageStreamResponse.d.ts +0 -19
- package/dist/cjs/serialization/resources/agents/types/AgentsMessageStreamResponse.js +0 -50
- package/dist/cjs/serialization/resources/auth/client/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/auth/client/index.js +0 -17
- package/dist/cjs/serialization/resources/auth/client/requests/AuthGetCodeFlowTokenRequest.d.ts +0 -15
- package/dist/cjs/serialization/resources/auth/client/requests/AuthGetCodeFlowTokenRequest.js +0 -46
- package/dist/cjs/serialization/resources/auth/client/requests/AuthGetTokenRequest.d.ts +0 -13
- package/dist/cjs/serialization/resources/auth/client/requests/AuthGetTokenRequest.js +0 -44
- package/dist/cjs/serialization/resources/auth/client/requests/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/auth/client/requests/index.js +0 -5
- package/dist/cjs/serialization/resources/auth/types/AuthGetTokenRequestGrantType.d.ts +0 -7
- package/dist/cjs/serialization/resources/auth/types/AuthGetTokenRequestGrantType.js +0 -39
- package/dist/cjs/serialization/resources/auth/types/AuthTokenRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/auth/types/AuthTokenRequest.js +0 -50
- package/dist/cjs/serialization/resources/auth/types/GetTokenResponse.d.ts +0 -16
- package/dist/cjs/serialization/resources/auth/types/GetTokenResponse.js +0 -47
- package/dist/cjs/serialization/resources/documents/client/requests/RequestDocumentCreate.d.ts +0 -19
- package/dist/cjs/serialization/resources/documents/client/requests/RequestDocumentCreate.js +0 -50
- package/dist/cjs/serialization/resources/documents/client/requests/RequestDocumentUpdate.d.ts +0 -14
- package/dist/cjs/serialization/resources/documents/client/requests/RequestDocumentUpdate.js +0 -45
- package/dist/cjs/serialization/resources/documents/types/RequestDocumentCreateContextItem.d.ts +0 -15
- package/dist/cjs/serialization/resources/documents/types/RequestDocumentCreateContextItem.js +0 -46
- package/dist/cjs/serialization/resources/documents/types/RequestDocumentUpdateSectionsItem.d.ts +0 -15
- package/dist/cjs/serialization/resources/documents/types/RequestDocumentUpdateSectionsItem.js +0 -46
- package/dist/cjs/serialization/resources/documents/types/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/documents/types/index.js +0 -18
- package/dist/cjs/serialization/resources/facts/client/requests/RequestFactUpdate.d.ts +0 -16
- package/dist/cjs/serialization/resources/facts/client/requests/RequestFactUpdate.js +0 -47
- package/dist/cjs/serialization/resources/facts/client/requests/RequestFactsCreate.d.ts +0 -13
- package/dist/cjs/serialization/resources/facts/client/requests/RequestFactsCreate.js +0 -44
- package/dist/cjs/serialization/resources/facts/client/requests/RequestFactsUpdate.d.ts +0 -13
- package/dist/cjs/serialization/resources/facts/client/requests/RequestFactsUpdate.js +0 -44
- package/dist/cjs/serialization/resources/facts/types/RequestFactsCreateFactsItem.d.ts +0 -15
- package/dist/cjs/serialization/resources/facts/types/RequestFactsCreateFactsItem.js +0 -46
- package/dist/cjs/serialization/resources/facts/types/RequestFactsUpdateFactsItem.d.ts +0 -16
- package/dist/cjs/serialization/resources/facts/types/RequestFactsUpdateFactsItem.js +0 -47
- package/dist/cjs/serialization/resources/facts/types/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/facts/types/index.js +0 -18
- package/dist/cjs/serialization/resources/interactions/client/requests/RequestInteractionCreate.d.ts +0 -17
- package/dist/cjs/serialization/resources/interactions/client/requests/RequestInteractionCreate.js +0 -48
- package/dist/cjs/serialization/resources/interactions/client/requests/RequestInteractionUpdate.d.ts +0 -17
- package/dist/cjs/serialization/resources/interactions/client/requests/RequestInteractionUpdate.js +0 -48
- package/dist/cjs/serialization/resources/interactions/types/InteractionsListRequestDirection.d.ts +0 -10
- package/dist/cjs/serialization/resources/interactions/types/InteractionsListRequestDirection.js +0 -41
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptCreate.d.ts +0 -22
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptCreate.js +0 -53
- package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreateModelName.d.ts +0 -10
- package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreateModelName.js +0 -41
- package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.ts +0 -14
- package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.js +0 -45
- package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.ts +0 -10
- package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.js +0 -41
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +0 -10
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.js +0 -41
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.ts +0 -10
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.js +0 -41
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsListRequestSort.d.ts +0 -10
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsListRequestSort.js +0 -41
- package/dist/cjs/serialization/resources/transcripts/types/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/transcripts/types/index.js +0 -17
- package/dist/cjs/serialization/types/AgentsMessageSendParams.d.ts +0 -16
- package/dist/cjs/serialization/types/AgentsMessageSendParams.js +0 -47
- package/dist/cjs/serialization/types/AgentsTaskArtifactUpdateEvent.d.ts +0 -19
- package/dist/cjs/serialization/types/AgentsTaskArtifactUpdateEvent.js +0 -50
- package/dist/cjs/serialization/types/AgentsTaskStatusUpdateEvent.d.ts +0 -18
- package/dist/cjs/serialization/types/AgentsTaskStatusUpdateEvent.js +0 -49
- package/dist/cjs/serialization/types/AuthTokenRequest.d.ts +0 -13
- package/dist/cjs/serialization/types/AuthTokenRequest.js +0 -45
- package/dist/cjs/serialization/types/AuthTokenRequestGrantType.d.ts +0 -7
- package/dist/cjs/serialization/types/AuthTokenRequestGrantType.js +0 -39
- package/dist/cjs/serialization/types/CommonTranscript.d.ts +0 -17
- package/dist/cjs/serialization/types/CommonTranscript.js +0 -48
- package/dist/cjs/serialization/types/DocumentContextData.d.ts +0 -12
- package/dist/cjs/serialization/types/DocumentContextData.js +0 -47
- package/dist/cjs/serialization/types/DocumentTemplate.d.ts +0 -16
- package/dist/cjs/serialization/types/DocumentTemplate.js +0 -47
- package/dist/cjs/serialization/types/DocumentsContextData.d.ts +0 -12
- package/dist/cjs/serialization/types/DocumentsContextData.js +0 -47
- package/dist/cjs/serialization/types/DocumentsContextTypeEnum.d.ts +0 -10
- package/dist/cjs/serialization/types/DocumentsContextTypeEnum.js +0 -41
- package/dist/cjs/serialization/types/DocumentsCreateRequestBody.d.ts +0 -9
- package/dist/cjs/serialization/types/DocumentsCreateRequestBody.js +0 -44
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.d.ts +0 -18
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.js +0 -49
- package/dist/cjs/serialization/types/DocumentsTemplateWithSectionIds.d.ts +0 -15
- package/dist/cjs/serialization/types/DocumentsTemplateWithSectionIds.js +0 -46
- package/dist/cjs/serialization/types/Encounter.d.ts +0 -19
- package/dist/cjs/serialization/types/Encounter.js +0 -50
- package/dist/cjs/serialization/types/EncounterPeriod.d.ts +0 -13
- package/dist/cjs/serialization/types/EncounterPeriod.js +0 -44
- package/dist/cjs/serialization/types/EncounterStatus.d.ts +0 -10
- package/dist/cjs/serialization/types/EncounterStatus.js +0 -41
- package/dist/cjs/serialization/types/EncounterType.d.ts +0 -10
- package/dist/cjs/serialization/types/EncounterType.js +0 -41
- package/dist/cjs/serialization/types/EncounterUpdate.d.ts +0 -19
- package/dist/cjs/serialization/types/EncounterUpdate.js +0 -50
- package/dist/cjs/serialization/types/FactContext.d.ts +0 -15
- package/dist/cjs/serialization/types/FactContext.js +0 -46
- package/dist/cjs/serialization/types/GenderEnum.d.ts +0 -10
- package/dist/cjs/serialization/types/GenderEnum.js +0 -41
- package/dist/cjs/serialization/types/ParticipantRoleEnum.d.ts +0 -10
- package/dist/cjs/serialization/types/ParticipantRoleEnum.js +0 -41
- package/dist/cjs/serialization/types/Patient.d.ts +0 -17
- package/dist/cjs/serialization/types/Patient.js +0 -48
- package/dist/cjs/serialization/types/PatientUpdate.d.ts +0 -17
- package/dist/cjs/serialization/types/PatientUpdate.js +0 -48
- package/dist/cjs/serialization/types/ResponseAllTemplateSections.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseAllTemplateSections.js +0 -44
- package/dist/cjs/serialization/types/ResponseAllTemplates.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseAllTemplates.js +0 -44
- package/dist/cjs/serialization/types/ResponseAllTemplatesDataItem.d.ts +0 -20
- package/dist/cjs/serialization/types/ResponseAllTemplatesDataItem.js +0 -51
- package/dist/cjs/serialization/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.ts +0 -14
- package/dist/cjs/serialization/types/ResponseAllTemplatesDataItemTemplateSectionsItem.js +0 -45
- package/dist/cjs/serialization/types/ResponseAllTemplatesDataItemTranslationsItem.d.ts +0 -14
- package/dist/cjs/serialization/types/ResponseAllTemplatesDataItemTranslationsItem.js +0 -45
- package/dist/cjs/serialization/types/ResponseDocumentList.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseDocumentList.js +0 -44
- package/dist/cjs/serialization/types/ResponseDocumentRead.d.ts +0 -23
- package/dist/cjs/serialization/types/ResponseDocumentRead.js +0 -54
- package/dist/cjs/serialization/types/ResponseDocumentReadSectionsItem.d.ts +0 -17
- package/dist/cjs/serialization/types/ResponseDocumentReadSectionsItem.js +0 -48
- package/dist/cjs/serialization/types/ResponseFactGroupsFiltered.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseFactGroupsFiltered.js +0 -44
- package/dist/cjs/serialization/types/ResponseFactGroupsFilteredDataItem.d.ts +0 -16
- package/dist/cjs/serialization/types/ResponseFactGroupsFilteredDataItem.js +0 -47
- package/dist/cjs/serialization/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.ts +0 -14
- package/dist/cjs/serialization/types/ResponseFactGroupsFilteredDataItemTranslationsItem.js +0 -45
- package/dist/cjs/serialization/types/ResponseFactUpdate.d.ts +0 -21
- package/dist/cjs/serialization/types/ResponseFactUpdate.js +0 -52
- package/dist/cjs/serialization/types/ResponseFactsCreate.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseFactsCreate.js +0 -44
- package/dist/cjs/serialization/types/ResponseFactsCreateFactsItem.d.ts +0 -20
- package/dist/cjs/serialization/types/ResponseFactsCreateFactsItem.js +0 -51
- package/dist/cjs/serialization/types/ResponseFactsList.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseFactsList.js +0 -44
- package/dist/cjs/serialization/types/ResponseFactsListFactsItem.d.ts +0 -23
- package/dist/cjs/serialization/types/ResponseFactsListFactsItem.js +0 -54
- package/dist/cjs/serialization/types/ResponseFactsListFactsItemEvidenceItem.d.ts +0 -14
- package/dist/cjs/serialization/types/ResponseFactsListFactsItemEvidenceItem.js +0 -45
- package/dist/cjs/serialization/types/ResponseFactsUpdate.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseFactsUpdate.js +0 -44
- package/dist/cjs/serialization/types/ResponseFactsUpdateFactsItem.d.ts +0 -21
- package/dist/cjs/serialization/types/ResponseFactsUpdateFactsItem.js +0 -52
- package/dist/cjs/serialization/types/ResponseInteraction.d.ts +0 -23
- package/dist/cjs/serialization/types/ResponseInteraction.js +0 -54
- package/dist/cjs/serialization/types/ResponseInteractionCreate.d.ts +0 -14
- package/dist/cjs/serialization/types/ResponseInteractionCreate.js +0 -45
- package/dist/cjs/serialization/types/ResponseInteractions.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseInteractions.js +0 -44
- package/dist/cjs/serialization/types/ResponseMetadataCreate.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseMetadataCreate.js +0 -44
- package/dist/cjs/serialization/types/ResponseMetadataCreateParticipantsRolesItem.d.ts +0 -14
- package/dist/cjs/serialization/types/ResponseMetadataCreateParticipantsRolesItem.js +0 -45
- package/dist/cjs/serialization/types/ResponseRecordingCreate.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseRecordingCreate.js +0 -44
- package/dist/cjs/serialization/types/ResponseRecordingList.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseRecordingList.js +0 -44
- package/dist/cjs/serialization/types/ResponseTranscriptCreate.d.ts +0 -19
- package/dist/cjs/serialization/types/ResponseTranscriptCreate.js +0 -50
- package/dist/cjs/serialization/types/ResponseTranscriptListAll.d.ts +0 -13
- package/dist/cjs/serialization/types/ResponseTranscriptListAll.js +0 -44
- package/dist/cjs/serialization/types/ResponseTranscriptListAllTranscriptsItem.d.ts +0 -16
- package/dist/cjs/serialization/types/ResponseTranscriptListAllTranscriptsItem.js +0 -47
- package/dist/cjs/serialization/types/ResponseTranscriptListFull.d.ts +0 -15
- package/dist/cjs/serialization/types/ResponseTranscriptListFull.js +0 -46
- package/dist/cjs/serialization/types/ResponseTranscriptListFullTranscriptsItem.d.ts +0 -17
- package/dist/cjs/serialization/types/ResponseTranscriptListFullTranscriptsItem.js +0 -48
- package/dist/cjs/serialization/types/Section.d.ts +0 -21
- package/dist/cjs/serialization/types/Section.js +0 -52
- package/dist/cjs/serialization/types/SectionTranslationsItem.d.ts +0 -14
- package/dist/cjs/serialization/types/SectionTranslationsItem.js +0 -45
- package/dist/cjs/serialization/types/SortingDirectionEnum.d.ts +0 -10
- package/dist/cjs/serialization/types/SortingDirectionEnum.js +0 -41
- package/dist/cjs/serialization/types/StreamConfigData.d.ts +0 -15
- package/dist/cjs/serialization/types/StreamConfigData.js +0 -46
- package/dist/cjs/serialization/types/StreamConfigMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/StreamConfigModeOutputLocale.d.ts +0 -10
- package/dist/cjs/serialization/types/StreamConfigModeOutputLocale.js +0 -41
- package/dist/cjs/serialization/types/StreamConfigTranscriptionPrimaryLanguage.d.ts +0 -10
- package/dist/cjs/serialization/types/StreamConfigTranscriptionPrimaryLanguage.js +0 -41
- package/dist/cjs/serialization/types/StreamConfigurationMessage.d.ts +0 -14
- package/dist/cjs/serialization/types/StreamConfigurationMessage.js +0 -45
- package/dist/cjs/serialization/types/StreamEndMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/StreamEndMessageType.js +0 -39
- package/dist/cjs/serialization/types/StreamEndedMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/StreamEndedMessageType.js +0 -39
- package/dist/cjs/serialization/types/StreamErrorMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/StreamErrorMessageType.js +0 -39
- package/dist/cjs/serialization/types/StreamFactsMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/StreamFactsMessageType.js +0 -39
- package/dist/cjs/serialization/types/StreamFlushMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/StreamFlushMessageType.js +0 -39
- package/dist/cjs/serialization/types/StreamFlushedMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/StreamFlushedMessageType.js +0 -39
- package/dist/cjs/serialization/types/StreamParticipantRole.d.ts +0 -10
- package/dist/cjs/serialization/types/StreamParticipantRole.js +0 -41
- package/dist/cjs/serialization/types/StreamTranscriptMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/StreamTranscriptMessageType.js +0 -39
- package/dist/cjs/serialization/types/StreamUsageMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/StreamUsageMessageType.js +0 -39
- package/dist/cjs/serialization/types/TemplateFiltered.d.ts +0 -20
- package/dist/cjs/serialization/types/TemplateFiltered.js +0 -51
- package/dist/cjs/serialization/types/TemplateFilteredTemplateSectionsItem.d.ts +0 -14
- package/dist/cjs/serialization/types/TemplateFilteredTemplateSectionsItem.js +0 -45
- package/dist/cjs/serialization/types/TemplateFilteredTranslationsItem.d.ts +0 -14
- package/dist/cjs/serialization/types/TemplateFilteredTranslationsItem.js +0 -45
- package/dist/cjs/serialization/types/TranscribeCommandMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeCommandMessageType.js +0 -39
- package/dist/cjs/serialization/types/TranscribeCommandVariableType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeCommandVariableType.js +0 -39
- package/dist/cjs/serialization/types/TranscribeConfigMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeConfigMessageType.js +0 -39
- package/dist/cjs/serialization/types/TranscribeConfigurationMessage.d.ts +0 -14
- package/dist/cjs/serialization/types/TranscribeConfigurationMessage.js +0 -45
- package/dist/cjs/serialization/types/TranscribeConfigurationMessageConfiguration.d.ts +0 -18
- package/dist/cjs/serialization/types/TranscribeConfigurationMessageConfiguration.js +0 -49
- package/dist/cjs/serialization/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.ts +0 -10
- package/dist/cjs/serialization/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.js +0 -41
- package/dist/cjs/serialization/types/TranscribeEndMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeEndMessageType.js +0 -39
- package/dist/cjs/serialization/types/TranscribeEndedMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeEndedMessageType.js +0 -39
- package/dist/cjs/serialization/types/TranscribeErrorMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeErrorMessageType.js +0 -39
- package/dist/cjs/serialization/types/TranscribeFlushMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeFlushMessageType.js +0 -39
- package/dist/cjs/serialization/types/TranscribeFlushedMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeFlushedMessageType.js +0 -39
- package/dist/cjs/serialization/types/TranscribeTranscriptMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeTranscriptMessageType.js +0 -39
- package/dist/cjs/serialization/types/TranscribeUsageMessageType.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscribeUsageMessageType.js +0 -39
- package/dist/cjs/serialization/types/Transcript.d.ts +0 -17
- package/dist/cjs/serialization/types/Transcript.js +0 -48
- package/dist/cjs/serialization/types/UsageInfo.d.ts +0 -12
- package/dist/cjs/serialization/types/UsageInfo.js +0 -43
- package/dist/cjs/serialization/types/V2DocumentContextTypeEnum.d.ts +0 -10
- package/dist/cjs/serialization/types/V2DocumentContextTypeEnum.js +0 -41
- package/dist/cjs/serialization/types/V2SourceEnum.d.ts +0 -10
- package/dist/cjs/serialization/types/V2SourceEnum.js +0 -41
- package/dist/cjs/serialization/types/WritingStyle.d.ts +0 -12
- package/dist/cjs/serialization/types/WritingStyle.js +0 -43
- package/dist/esm/api/resources/agents/exports.d.mts +0 -2
- package/dist/esm/api/resources/agents/exports.mjs +0 -3
- package/dist/esm/api/resources/agents/types/AgentsMessageStreamResponse.d.mts +0 -10
- package/dist/esm/api/resources/agents/types/AgentsMessageStreamResponse.mjs +0 -4
- package/dist/esm/api/resources/auth/client/requests/AuthGetTokenRequest.d.mts +0 -15
- package/dist/esm/api/resources/auth/client/requests/AuthGetTokenRequest.mjs +0 -4
- package/dist/esm/api/resources/auth/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/auth/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/auth/exports.d.mts +0 -2
- package/dist/esm/api/resources/auth/exports.mjs +0 -3
- package/dist/esm/api/resources/auth/types/AuthGetTokenRequestGrantType.d.mts +0 -6
- package/dist/esm/api/resources/auth/types/AuthGetTokenRequestGrantType.mjs +0 -6
- package/dist/esm/api/resources/auth/types/AuthTokenRequest.d.mts +0 -2
- package/dist/esm/api/resources/auth/types/AuthTokenRequest.mjs +0 -2
- package/dist/esm/api/resources/auth/types/GetTokenResponse.d.mts +0 -10
- package/dist/esm/api/resources/auth/types/GetTokenResponse.mjs +0 -4
- package/dist/esm/api/resources/codes/exports.d.mts +0 -2
- package/dist/esm/api/resources/codes/exports.mjs +0 -3
- package/dist/esm/api/resources/documents/client/requests/DocumentsCreateRequest.d.mts +0 -20
- package/dist/esm/api/resources/documents/client/requests/DocumentsCreateRequest.mjs +0 -2
- package/dist/esm/api/resources/documents/client/requests/DocumentsDeleteRequest.d.mts +0 -5
- package/dist/esm/api/resources/documents/client/requests/DocumentsDeleteRequest.mjs +0 -2
- package/dist/esm/api/resources/documents/client/requests/DocumentsGetRequest.d.mts +0 -5
- package/dist/esm/api/resources/documents/client/requests/DocumentsGetRequest.mjs +0 -2
- package/dist/esm/api/resources/documents/client/requests/DocumentsListRequest.d.mts +0 -5
- package/dist/esm/api/resources/documents/client/requests/DocumentsListRequest.mjs +0 -2
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentCreate.d.mts +0 -31
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentCreate.mjs +0 -4
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentUpdate.d.mts +0 -13
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentUpdate.mjs +0 -4
- package/dist/esm/api/resources/documents/exports.d.mts +0 -2
- package/dist/esm/api/resources/documents/exports.mjs +0 -3
- package/dist/esm/api/resources/documents/types/RequestDocumentCreateContextItem.d.mts +0 -10
- package/dist/esm/api/resources/documents/types/RequestDocumentCreateContextItem.mjs +0 -4
- package/dist/esm/api/resources/documents/types/RequestDocumentUpdateSectionsItem.d.mts +0 -9
- package/dist/esm/api/resources/documents/types/RequestDocumentUpdateSectionsItem.mjs +0 -4
- package/dist/esm/api/resources/documents/types/index.d.mts +0 -2
- package/dist/esm/api/resources/documents/types/index.mjs +0 -2
- package/dist/esm/api/resources/facts/client/requests/FactsListRequest.d.mts +0 -5
- package/dist/esm/api/resources/facts/client/requests/FactsListRequest.mjs +0 -2
- package/dist/esm/api/resources/facts/client/requests/RequestFactUpdate.d.mts +0 -21
- package/dist/esm/api/resources/facts/client/requests/RequestFactUpdate.mjs +0 -4
- package/dist/esm/api/resources/facts/client/requests/RequestFactsCreate.d.mts +0 -17
- package/dist/esm/api/resources/facts/client/requests/RequestFactsCreate.mjs +0 -4
- package/dist/esm/api/resources/facts/client/requests/RequestFactsUpdate.d.mts +0 -16
- package/dist/esm/api/resources/facts/client/requests/RequestFactsUpdate.mjs +0 -4
- package/dist/esm/api/resources/facts/exports.d.mts +0 -2
- package/dist/esm/api/resources/facts/exports.mjs +0 -3
- package/dist/esm/api/resources/facts/types/RequestFactsCreateFactsItem.d.mts +0 -12
- package/dist/esm/api/resources/facts/types/RequestFactsCreateFactsItem.mjs +0 -4
- package/dist/esm/api/resources/facts/types/RequestFactsUpdateFactsItem.d.mts +0 -14
- package/dist/esm/api/resources/facts/types/RequestFactsUpdateFactsItem.mjs +0 -4
- package/dist/esm/api/resources/facts/types/index.d.mts +0 -2
- package/dist/esm/api/resources/facts/types/index.mjs +0 -2
- package/dist/esm/api/resources/interactions/client/requests/InteractionsDeleteRequest.d.mts +0 -5
- package/dist/esm/api/resources/interactions/client/requests/InteractionsDeleteRequest.mjs +0 -2
- package/dist/esm/api/resources/interactions/client/requests/InteractionsGetRequest.d.mts +0 -5
- package/dist/esm/api/resources/interactions/client/requests/InteractionsGetRequest.mjs +0 -2
- package/dist/esm/api/resources/interactions/client/requests/RequestInteractionCreate.d.mts +0 -22
- package/dist/esm/api/resources/interactions/client/requests/RequestInteractionCreate.mjs +0 -4
- package/dist/esm/api/resources/interactions/client/requests/RequestInteractionUpdate.d.mts +0 -16
- package/dist/esm/api/resources/interactions/client/requests/RequestInteractionUpdate.mjs +0 -4
- package/dist/esm/api/resources/interactions/exports.d.mts +0 -2
- package/dist/esm/api/resources/interactions/exports.mjs +0 -3
- package/dist/esm/api/resources/interactions/types/InteractionsListRequestDirection.d.mts +0 -11
- package/dist/esm/api/resources/interactions/types/InteractionsListRequestDirection.mjs +0 -7
- package/dist/esm/api/resources/recordings/client/requests/RecordingsDeleteRequest.d.mts +0 -5
- package/dist/esm/api/resources/recordings/client/requests/RecordingsDeleteRequest.mjs +0 -2
- package/dist/esm/api/resources/recordings/client/requests/RecordingsGetRequest.d.mts +0 -5
- package/dist/esm/api/resources/recordings/client/requests/RecordingsGetRequest.mjs +0 -2
- package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.d.mts +0 -5
- package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.mjs +0 -2
- package/dist/esm/api/resources/recordings/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/recordings/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/recordings/exports.d.mts +0 -2
- package/dist/esm/api/resources/recordings/exports.mjs +0 -3
- package/dist/esm/api/resources/stream/exports.d.mts +0 -2
- package/dist/esm/api/resources/stream/exports.mjs +0 -3
- package/dist/esm/api/resources/templates/client/requests/TemplatesSectionsListRequest.d.mts +0 -17
- package/dist/esm/api/resources/templates/client/requests/TemplatesSectionsListRequest.mjs +0 -4
- package/dist/esm/api/resources/templates/exports.d.mts +0 -2
- package/dist/esm/api/resources/templates/exports.mjs +0 -3
- package/dist/esm/api/resources/transcribe/exports.d.mts +0 -2
- package/dist/esm/api/resources/transcribe/exports.mjs +0 -3
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptCreate.d.mts +0 -28
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptCreate.mjs +0 -4
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsDeleteRequest.d.mts +0 -5
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsDeleteRequest.mjs +0 -2
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsGetRequest.d.mts +0 -5
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsGetRequest.mjs +0 -2
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsGetStatusRequest.d.mts +0 -5
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsGetStatusRequest.mjs +0 -2
- package/dist/esm/api/resources/transcripts/exports.d.mts +0 -2
- package/dist/esm/api/resources/transcripts/exports.mjs +0 -3
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateModelName.d.mts +0 -12
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateModelName.mjs +0 -8
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.mts +0 -10
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.mjs +0 -4
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.mts +0 -21
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.mjs +0 -17
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +0 -12
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +0 -8
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.mts +0 -21
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.mjs +0 -17
- package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestDirection.d.mts +0 -11
- package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestDirection.mjs +0 -7
- package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestSort.d.mts +0 -11
- package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestSort.mjs +0 -7
- package/dist/esm/api/resources/transcripts/types/index.d.mts +0 -1
- package/dist/esm/api/resources/transcripts/types/index.mjs +0 -1
- package/dist/esm/api/types/AgentsMessageSendParams.d.mts +0 -10
- package/dist/esm/api/types/AgentsMessageSendParams.mjs +0 -4
- package/dist/esm/api/types/AgentsTaskArtifactUpdateEvent.d.mts +0 -19
- package/dist/esm/api/types/AgentsTaskArtifactUpdateEvent.mjs +0 -4
- package/dist/esm/api/types/AgentsTaskStatusUpdateEvent.d.mts +0 -17
- package/dist/esm/api/types/AgentsTaskStatusUpdateEvent.mjs +0 -4
- package/dist/esm/api/types/AuthTokenRequest.d.mts +0 -14
- package/dist/esm/api/types/AuthTokenRequest.mjs +0 -2
- package/dist/esm/api/types/AuthTokenRequestGrantType.d.mts +0 -5
- package/dist/esm/api/types/AuthTokenRequestGrantType.mjs +0 -5
- package/dist/esm/api/types/CommonTranscript.d.mts +0 -17
- package/dist/esm/api/types/CommonTranscript.mjs +0 -4
- package/dist/esm/api/types/DocumentContextData.d.mts +0 -14
- package/dist/esm/api/types/DocumentContextData.mjs +0 -4
- package/dist/esm/api/types/DocumentTemplate.d.mts +0 -14
- package/dist/esm/api/types/DocumentTemplate.mjs +0 -4
- package/dist/esm/api/types/DocumentsContextData.d.mts +0 -14
- package/dist/esm/api/types/DocumentsContextData.mjs +0 -4
- package/dist/esm/api/types/DocumentsContextTypeEnum.d.mts +0 -9
- package/dist/esm/api/types/DocumentsContextTypeEnum.mjs +0 -8
- package/dist/esm/api/types/DocumentsCreateRequestBody.d.mts +0 -8
- package/dist/esm/api/types/DocumentsCreateRequestBody.mjs +0 -2
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplateId.d.mts +0 -16
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplateId.mjs +0 -4
- package/dist/esm/api/types/DocumentsTemplateWithSectionIds.d.mts +0 -12
- package/dist/esm/api/types/DocumentsTemplateWithSectionIds.mjs +0 -4
- package/dist/esm/api/types/Encounter.d.mts +0 -16
- package/dist/esm/api/types/Encounter.mjs +0 -4
- package/dist/esm/api/types/EncounterPeriod.d.mts +0 -9
- package/dist/esm/api/types/EncounterPeriod.mjs +0 -4
- package/dist/esm/api/types/EncounterStatus.d.mts +0 -12
- package/dist/esm/api/types/EncounterStatus.mjs +0 -11
- package/dist/esm/api/types/EncounterType.d.mts +0 -11
- package/dist/esm/api/types/EncounterType.mjs +0 -10
- package/dist/esm/api/types/EncounterUpdate.d.mts +0 -16
- package/dist/esm/api/types/EncounterUpdate.mjs +0 -4
- package/dist/esm/api/types/FactContext.d.mts +0 -12
- package/dist/esm/api/types/FactContext.mjs +0 -4
- package/dist/esm/api/types/GenderEnum.d.mts +0 -10
- package/dist/esm/api/types/GenderEnum.mjs +0 -9
- package/dist/esm/api/types/ParticipantRoleEnum.d.mts +0 -9
- package/dist/esm/api/types/ParticipantRoleEnum.mjs +0 -8
- package/dist/esm/api/types/Patient.d.mts +0 -16
- package/dist/esm/api/types/Patient.mjs +0 -4
- package/dist/esm/api/types/PatientUpdate.d.mts +0 -16
- package/dist/esm/api/types/PatientUpdate.mjs +0 -4
- package/dist/esm/api/types/ResponseAllTemplateSections.d.mts +0 -8
- package/dist/esm/api/types/ResponseAllTemplateSections.mjs +0 -4
- package/dist/esm/api/types/ResponseAllTemplates.d.mts +0 -8
- package/dist/esm/api/types/ResponseAllTemplates.mjs +0 -4
- package/dist/esm/api/types/ResponseAllTemplatesDataItem.d.mts +0 -20
- package/dist/esm/api/types/ResponseAllTemplatesDataItem.mjs +0 -4
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.mts +0 -10
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.mjs +0 -4
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTranslationsItem.d.mts +0 -11
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTranslationsItem.mjs +0 -4
- package/dist/esm/api/types/ResponseDocumentList.d.mts +0 -7
- package/dist/esm/api/types/ResponseDocumentList.mjs +0 -4
- package/dist/esm/api/types/ResponseDocumentRead.d.mts +0 -22
- package/dist/esm/api/types/ResponseDocumentRead.mjs +0 -4
- package/dist/esm/api/types/ResponseDocumentReadSectionsItem.d.mts +0 -17
- package/dist/esm/api/types/ResponseDocumentReadSectionsItem.mjs +0 -4
- package/dist/esm/api/types/ResponseFactGroupsFiltered.d.mts +0 -7
- package/dist/esm/api/types/ResponseFactGroupsFiltered.mjs +0 -4
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItem.d.mts +0 -9
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItem.mjs +0 -4
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.mts +0 -8
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.mjs +0 -4
- package/dist/esm/api/types/ResponseFactUpdate.d.mts +0 -22
- package/dist/esm/api/types/ResponseFactUpdate.mjs +0 -4
- package/dist/esm/api/types/ResponseFactsCreate.d.mts +0 -8
- package/dist/esm/api/types/ResponseFactsCreate.mjs +0 -4
- package/dist/esm/api/types/ResponseFactsCreateFactsItem.d.mts +0 -20
- package/dist/esm/api/types/ResponseFactsCreateFactsItem.mjs +0 -4
- package/dist/esm/api/types/ResponseFactsList.d.mts +0 -8
- package/dist/esm/api/types/ResponseFactsList.mjs +0 -4
- package/dist/esm/api/types/ResponseFactsListFactsItem.d.mts +0 -23
- package/dist/esm/api/types/ResponseFactsListFactsItem.mjs +0 -4
- package/dist/esm/api/types/ResponseFactsListFactsItemEvidenceItem.d.mts +0 -11
- package/dist/esm/api/types/ResponseFactsListFactsItemEvidenceItem.mjs +0 -4
- package/dist/esm/api/types/ResponseFactsUpdate.d.mts +0 -8
- package/dist/esm/api/types/ResponseFactsUpdate.mjs +0 -4
- package/dist/esm/api/types/ResponseFactsUpdateFactsItem.d.mts +0 -22
- package/dist/esm/api/types/ResponseFactsUpdateFactsItem.mjs +0 -4
- package/dist/esm/api/types/ResponseInteraction.d.mts +0 -24
- package/dist/esm/api/types/ResponseInteraction.mjs +0 -4
- package/dist/esm/api/types/ResponseInteractionCreate.d.mts +0 -10
- package/dist/esm/api/types/ResponseInteractionCreate.mjs +0 -4
- package/dist/esm/api/types/ResponseInteractions.d.mts +0 -7
- package/dist/esm/api/types/ResponseInteractions.mjs +0 -4
- package/dist/esm/api/types/ResponseMetadataCreate.d.mts +0 -7
- package/dist/esm/api/types/ResponseMetadataCreate.mjs +0 -4
- package/dist/esm/api/types/ResponseMetadataCreateParticipantsRolesItem.d.mts +0 -10
- package/dist/esm/api/types/ResponseMetadataCreateParticipantsRolesItem.mjs +0 -4
- package/dist/esm/api/types/ResponseRecordingCreate.d.mts +0 -8
- package/dist/esm/api/types/ResponseRecordingCreate.mjs +0 -4
- package/dist/esm/api/types/ResponseRecordingList.d.mts +0 -8
- package/dist/esm/api/types/ResponseRecordingList.mjs +0 -4
- package/dist/esm/api/types/ResponseTranscriptCreate.d.mts +0 -13
- package/dist/esm/api/types/ResponseTranscriptCreate.mjs +0 -4
- package/dist/esm/api/types/ResponseTranscriptCreateTranscriptsItem.d.mts +0 -17
- package/dist/esm/api/types/ResponseTranscriptCreateTranscriptsItem.mjs +0 -4
- package/dist/esm/api/types/ResponseTranscriptListAll.d.mts +0 -7
- package/dist/esm/api/types/ResponseTranscriptListAll.mjs +0 -4
- package/dist/esm/api/types/ResponseTranscriptListAllTranscriptsItem.d.mts +0 -9
- package/dist/esm/api/types/ResponseTranscriptListAllTranscriptsItem.mjs +0 -4
- package/dist/esm/api/types/ResponseTranscriptListFull.d.mts +0 -10
- package/dist/esm/api/types/ResponseTranscriptListFull.mjs +0 -4
- package/dist/esm/api/types/ResponseTranscriptListFullTranscriptsItem.d.mts +0 -17
- package/dist/esm/api/types/ResponseTranscriptListFullTranscriptsItem.mjs +0 -4
- package/dist/esm/api/types/Section.d.mts +0 -22
- package/dist/esm/api/types/Section.mjs +0 -4
- package/dist/esm/api/types/SectionTranslationsItem.d.mts +0 -11
- package/dist/esm/api/types/SectionTranslationsItem.mjs +0 -4
- package/dist/esm/api/types/SortingDirectionEnum.d.mts +0 -8
- package/dist/esm/api/types/SortingDirectionEnum.mjs +0 -7
- package/dist/esm/api/types/StreamConfigData.d.mts +0 -8
- package/dist/esm/api/types/StreamConfigData.mjs +0 -4
- package/dist/esm/api/types/StreamConfigMessageType.d.mts +0 -4
- package/dist/esm/api/types/StreamConfigMessageType.mjs +0 -4
- package/dist/esm/api/types/StreamConfigModeOutputLocale.d.mts +0 -21
- package/dist/esm/api/types/StreamConfigModeOutputLocale.mjs +0 -17
- package/dist/esm/api/types/StreamConfigTranscriptionPrimaryLanguage.d.mts +0 -21
- package/dist/esm/api/types/StreamConfigTranscriptionPrimaryLanguage.mjs +0 -17
- package/dist/esm/api/types/StreamConfigurationMessage.d.mts +0 -8
- package/dist/esm/api/types/StreamConfigurationMessage.mjs +0 -4
- package/dist/esm/api/types/StreamEndMessageType.d.mts +0 -4
- package/dist/esm/api/types/StreamEndMessageType.mjs +0 -4
- package/dist/esm/api/types/StreamEndedMessageType.d.mts +0 -4
- package/dist/esm/api/types/StreamEndedMessageType.mjs +0 -4
- package/dist/esm/api/types/StreamErrorMessageType.d.mts +0 -4
- package/dist/esm/api/types/StreamErrorMessageType.mjs +0 -4
- package/dist/esm/api/types/StreamFactsMessageType.d.mts +0 -4
- package/dist/esm/api/types/StreamFactsMessageType.mjs +0 -4
- package/dist/esm/api/types/StreamFlushMessageType.d.mts +0 -4
- package/dist/esm/api/types/StreamFlushMessageType.mjs +0 -4
- package/dist/esm/api/types/StreamFlushedMessageType.d.mts +0 -4
- package/dist/esm/api/types/StreamFlushedMessageType.mjs +0 -4
- package/dist/esm/api/types/StreamParticipantRole.d.mts +0 -12
- package/dist/esm/api/types/StreamParticipantRole.mjs +0 -8
- package/dist/esm/api/types/StreamTranscriptMessageType.d.mts +0 -4
- package/dist/esm/api/types/StreamTranscriptMessageType.mjs +0 -4
- package/dist/esm/api/types/StreamUsageMessageType.d.mts +0 -4
- package/dist/esm/api/types/StreamUsageMessageType.mjs +0 -4
- package/dist/esm/api/types/TemplateFiltered.d.mts +0 -20
- package/dist/esm/api/types/TemplateFiltered.mjs +0 -4
- package/dist/esm/api/types/TemplateFilteredTemplateSectionsItem.d.mts +0 -10
- package/dist/esm/api/types/TemplateFilteredTemplateSectionsItem.mjs +0 -4
- package/dist/esm/api/types/TemplateFilteredTranslationsItem.d.mts +0 -11
- package/dist/esm/api/types/TemplateFilteredTranslationsItem.mjs +0 -4
- package/dist/esm/api/types/TranscribeCommandMessageType.d.mts +0 -4
- package/dist/esm/api/types/TranscribeCommandMessageType.mjs +0 -4
- package/dist/esm/api/types/TranscribeCommandVariableType.d.mts +0 -5
- package/dist/esm/api/types/TranscribeCommandVariableType.mjs +0 -5
- package/dist/esm/api/types/TranscribeConfigMessageType.d.mts +0 -4
- package/dist/esm/api/types/TranscribeConfigMessageType.mjs +0 -4
- package/dist/esm/api/types/TranscribeConfigurationMessage.d.mts +0 -8
- package/dist/esm/api/types/TranscribeConfigurationMessage.mjs +0 -4
- package/dist/esm/api/types/TranscribeConfigurationMessageConfiguration.d.mts +0 -16
- package/dist/esm/api/types/TranscribeConfigurationMessageConfiguration.mjs +0 -4
- package/dist/esm/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.mts +0 -21
- package/dist/esm/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.mjs +0 -17
- package/dist/esm/api/types/TranscribeEndMessageType.d.mts +0 -4
- package/dist/esm/api/types/TranscribeEndMessageType.mjs +0 -4
- package/dist/esm/api/types/TranscribeEndedMessageType.d.mts +0 -4
- package/dist/esm/api/types/TranscribeEndedMessageType.mjs +0 -4
- package/dist/esm/api/types/TranscribeErrorMessageType.d.mts +0 -4
- package/dist/esm/api/types/TranscribeErrorMessageType.mjs +0 -4
- package/dist/esm/api/types/TranscribeFlushMessageType.d.mts +0 -4
- package/dist/esm/api/types/TranscribeFlushMessageType.mjs +0 -4
- package/dist/esm/api/types/TranscribeFlushedMessageType.d.mts +0 -4
- package/dist/esm/api/types/TranscribeFlushedMessageType.mjs +0 -4
- package/dist/esm/api/types/TranscribeTranscriptMessageType.d.mts +0 -4
- package/dist/esm/api/types/TranscribeTranscriptMessageType.mjs +0 -4
- package/dist/esm/api/types/TranscribeUsageMessageType.d.mts +0 -4
- package/dist/esm/api/types/TranscribeUsageMessageType.mjs +0 -4
- package/dist/esm/api/types/Transcript.d.mts +0 -17
- package/dist/esm/api/types/Transcript.mjs +0 -4
- package/dist/esm/api/types/UsageInfo.d.mts +0 -6
- package/dist/esm/api/types/UsageInfo.mjs +0 -4
- package/dist/esm/api/types/V2DocumentContextTypeEnum.d.mts +0 -9
- package/dist/esm/api/types/V2DocumentContextTypeEnum.mjs +0 -8
- package/dist/esm/api/types/V2SourceEnum.d.mts +0 -9
- package/dist/esm/api/types/V2SourceEnum.mjs +0 -8
- package/dist/esm/api/types/WritingStyle.d.mts +0 -7
- package/dist/esm/api/types/WritingStyle.mjs +0 -4
- package/dist/esm/auth/BearerAuthProvider.d.mts +0 -20
- package/dist/esm/auth/BearerAuthProvider.mjs +0 -42
- package/dist/esm/auth/OAuthRopcAuthProvider.d.mts +0 -33
- package/dist/esm/auth/OAuthRopcAuthProvider.mjs +0 -93
- package/dist/esm/core/auth/OAuthTokenProvider.d.mts +0 -25
- package/dist/esm/core/auth/OAuthTokenProvider.mjs +0 -49
- package/dist/esm/core/fetcher/ResponseWithBody.d.mts +0 -4
- package/dist/esm/core/fetcher/ResponseWithBody.mjs +0 -3
- package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.mts +0 -30
- package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.mjs +0 -243
- package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.mts +0 -21
- package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.mjs +0 -122
- package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.mts +0 -31
- package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.mjs +0 -225
- package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.d.mts +0 -18
- package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.mjs +0 -23
- package/dist/esm/core/pagination/CustomPager.d.mts +0 -67
- package/dist/esm/core/pagination/CustomPager.mjs +0 -189
- package/dist/esm/core/pagination/Pageable.d.mts +0 -14
- package/dist/esm/core/pagination/Pageable.mjs +0 -6
- package/dist/esm/core/stream/Stream.d.mts +0 -46
- package/dist/esm/core/stream/Stream.mjs +0 -164
- package/dist/esm/core/stream/index.d.mts +0 -1
- package/dist/esm/core/stream/index.mjs +0 -1
- package/dist/esm/custom/BearerProvider.d.mts +0 -13
- package/dist/esm/custom/BearerProvider.mjs +0 -23
- package/dist/esm/custom/CortiAuth.d.mts +0 -129
- package/dist/esm/custom/CortiAuth.mjs +0 -158
- package/dist/esm/custom/CortiOAuthAuthProvider.d.mts +0 -7
- package/dist/esm/custom/CortiOAuthAuthProvider.mjs +0 -11
- package/dist/esm/custom/CortiWebSocketClient.d.mts +0 -14
- package/dist/esm/custom/CortiWebSocketClient.mjs +0 -27
- package/dist/esm/custom/CustomStream.d.mts +0 -8
- package/dist/esm/custom/CustomStream.mjs +0 -25
- package/dist/esm/custom/CustomStreamSocket.d.mts +0 -15
- package/dist/esm/custom/CustomStreamSocket.mjs +0 -33
- package/dist/esm/custom/CustomTranscribe.d.mts +0 -6
- package/dist/esm/custom/CustomTranscribe.mjs +0 -25
- package/dist/esm/custom/CustomTranscribeSocket.d.mts +0 -15
- package/dist/esm/custom/CustomTranscribeSocket.mjs +0 -33
- package/dist/esm/custom/OAuthAuthCodeAuthProvider.d.mts +0 -23
- package/dist/esm/custom/OAuthAuthCodeAuthProvider.mjs +0 -127
- package/dist/esm/custom/OAuthAuthProvider.d.mts +0 -99
- package/dist/esm/custom/OAuthAuthProvider.mjs +0 -239
- package/dist/esm/custom/OAuthPkceAuthProvider.d.mts +0 -23
- package/dist/esm/custom/OAuthPkceAuthProvider.mjs +0 -127
- package/dist/esm/custom/OAuthRopcAuthProvider.d.mts +0 -22
- package/dist/esm/custom/OAuthRopcAuthProvider.mjs +0 -100
- package/dist/esm/custom/RefreshBearerProvider.d.mts +0 -33
- package/dist/esm/custom/RefreshBearerProvider.mjs +0 -75
- package/dist/esm/custom/createAuthProvider.d.mts +0 -6
- package/dist/esm/custom/createAuthProvider.mjs +0 -18
- package/dist/esm/custom/environments.d.mts +0 -10
- package/dist/esm/custom/environments.mjs +0 -9
- package/dist/esm/custom/index.d.mts +0 -11
- package/dist/esm/custom/index.mjs +0 -11
- package/dist/esm/custom/utils/getEnvironmentFromString.d.mts +0 -5
- package/dist/esm/custom/utils/getEnvironmentFromString.mjs +0 -10
- package/dist/esm/custom/utils/localStorage.d.mts +0 -4
- package/dist/esm/custom/utils/localStorage.mjs +0 -34
- package/dist/esm/custom/utils/pkce.d.mts +0 -2
- package/dist/esm/custom/utils/pkce.mjs +0 -24
- package/dist/esm/custom/utils/tokenRequest.d.mts +0 -12
- package/dist/esm/custom/utils/tokenRequest.mjs +0 -42
- package/dist/esm/serialization/resources/agents/types/AgentsMessageStreamResponse.d.mts +0 -19
- package/dist/esm/serialization/resources/agents/types/AgentsMessageStreamResponse.mjs +0 -14
- package/dist/esm/serialization/resources/auth/client/index.d.mts +0 -1
- package/dist/esm/serialization/resources/auth/client/index.mjs +0 -1
- package/dist/esm/serialization/resources/auth/client/requests/AuthGetTokenRequest.d.mts +0 -13
- package/dist/esm/serialization/resources/auth/client/requests/AuthGetTokenRequest.mjs +0 -8
- package/dist/esm/serialization/resources/auth/client/requests/index.d.mts +0 -1
- package/dist/esm/serialization/resources/auth/client/requests/index.mjs +0 -1
- package/dist/esm/serialization/resources/auth/types/AuthGetTokenRequestGrantType.d.mts +0 -7
- package/dist/esm/serialization/resources/auth/types/AuthGetTokenRequestGrantType.mjs +0 -3
- package/dist/esm/serialization/resources/auth/types/AuthTokenRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/auth/types/AuthTokenRequest.mjs +0 -14
- package/dist/esm/serialization/resources/auth/types/GetTokenResponse.d.mts +0 -16
- package/dist/esm/serialization/resources/auth/types/GetTokenResponse.mjs +0 -11
- package/dist/esm/serialization/resources/documents/client/requests/RequestDocumentCreate.d.mts +0 -19
- package/dist/esm/serialization/resources/documents/client/requests/RequestDocumentCreate.mjs +0 -14
- package/dist/esm/serialization/resources/documents/client/requests/RequestDocumentUpdate.d.mts +0 -14
- package/dist/esm/serialization/resources/documents/client/requests/RequestDocumentUpdate.mjs +0 -9
- package/dist/esm/serialization/resources/documents/types/RequestDocumentCreateContextItem.d.mts +0 -15
- package/dist/esm/serialization/resources/documents/types/RequestDocumentCreateContextItem.mjs +0 -10
- package/dist/esm/serialization/resources/documents/types/RequestDocumentUpdateSectionsItem.d.mts +0 -15
- package/dist/esm/serialization/resources/documents/types/RequestDocumentUpdateSectionsItem.mjs +0 -10
- package/dist/esm/serialization/resources/documents/types/index.d.mts +0 -2
- package/dist/esm/serialization/resources/documents/types/index.mjs +0 -2
- package/dist/esm/serialization/resources/facts/client/requests/RequestFactUpdate.d.mts +0 -16
- package/dist/esm/serialization/resources/facts/client/requests/RequestFactUpdate.mjs +0 -11
- package/dist/esm/serialization/resources/facts/client/requests/RequestFactsCreate.d.mts +0 -13
- package/dist/esm/serialization/resources/facts/client/requests/RequestFactsCreate.mjs +0 -8
- package/dist/esm/serialization/resources/facts/client/requests/RequestFactsUpdate.d.mts +0 -13
- package/dist/esm/serialization/resources/facts/client/requests/RequestFactsUpdate.mjs +0 -8
- package/dist/esm/serialization/resources/facts/types/RequestFactsCreateFactsItem.d.mts +0 -15
- package/dist/esm/serialization/resources/facts/types/RequestFactsCreateFactsItem.mjs +0 -10
- package/dist/esm/serialization/resources/facts/types/RequestFactsUpdateFactsItem.d.mts +0 -16
- package/dist/esm/serialization/resources/facts/types/RequestFactsUpdateFactsItem.mjs +0 -11
- package/dist/esm/serialization/resources/facts/types/index.d.mts +0 -2
- package/dist/esm/serialization/resources/facts/types/index.mjs +0 -2
- package/dist/esm/serialization/resources/interactions/client/requests/RequestInteractionCreate.d.mts +0 -17
- package/dist/esm/serialization/resources/interactions/client/requests/RequestInteractionCreate.mjs +0 -12
- package/dist/esm/serialization/resources/interactions/client/requests/RequestInteractionUpdate.d.mts +0 -17
- package/dist/esm/serialization/resources/interactions/client/requests/RequestInteractionUpdate.mjs +0 -12
- package/dist/esm/serialization/resources/interactions/types/InteractionsListRequestDirection.d.mts +0 -10
- package/dist/esm/serialization/resources/interactions/types/InteractionsListRequestDirection.mjs +0 -5
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptCreate.d.mts +0 -22
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptCreate.mjs +0 -17
- package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreateModelName.d.mts +0 -10
- package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreateModelName.mjs +0 -5
- package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.mts +0 -14
- package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.mjs +0 -9
- package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.mts +0 -10
- package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.mjs +0 -5
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +0 -10
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +0 -5
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.mts +0 -10
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.mjs +0 -5
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsListRequestSort.d.mts +0 -10
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsListRequestSort.mjs +0 -5
- package/dist/esm/serialization/resources/transcripts/types/index.d.mts +0 -1
- package/dist/esm/serialization/resources/transcripts/types/index.mjs +0 -1
- package/dist/esm/serialization/types/AgentsMessageSendParams.d.mts +0 -16
- package/dist/esm/serialization/types/AgentsMessageSendParams.mjs +0 -11
- package/dist/esm/serialization/types/AgentsTaskArtifactUpdateEvent.d.mts +0 -19
- package/dist/esm/serialization/types/AgentsTaskArtifactUpdateEvent.mjs +0 -14
- package/dist/esm/serialization/types/AgentsTaskStatusUpdateEvent.d.mts +0 -18
- package/dist/esm/serialization/types/AgentsTaskStatusUpdateEvent.mjs +0 -13
- package/dist/esm/serialization/types/AuthTokenRequest.d.mts +0 -13
- package/dist/esm/serialization/types/AuthTokenRequest.mjs +0 -9
- package/dist/esm/serialization/types/AuthTokenRequestGrantType.d.mts +0 -7
- package/dist/esm/serialization/types/CommonTranscript.d.mts +0 -17
- package/dist/esm/serialization/types/CommonTranscript.mjs +0 -12
- package/dist/esm/serialization/types/DocumentContextData.d.mts +0 -12
- package/dist/esm/serialization/types/DocumentContextData.mjs +0 -11
- package/dist/esm/serialization/types/DocumentTemplate.d.mts +0 -16
- package/dist/esm/serialization/types/DocumentTemplate.mjs +0 -11
- package/dist/esm/serialization/types/DocumentsContextData.d.mts +0 -12
- package/dist/esm/serialization/types/DocumentsContextData.mjs +0 -11
- package/dist/esm/serialization/types/DocumentsContextTypeEnum.d.mts +0 -10
- package/dist/esm/serialization/types/DocumentsContextTypeEnum.mjs +0 -5
- package/dist/esm/serialization/types/DocumentsCreateRequestBody.d.mts +0 -9
- package/dist/esm/serialization/types/DocumentsCreateRequestBody.mjs +0 -8
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.d.mts +0 -18
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.mjs +0 -13
- package/dist/esm/serialization/types/DocumentsTemplateWithSectionIds.d.mts +0 -15
- package/dist/esm/serialization/types/DocumentsTemplateWithSectionIds.mjs +0 -10
- package/dist/esm/serialization/types/Encounter.d.mts +0 -19
- package/dist/esm/serialization/types/Encounter.mjs +0 -14
- package/dist/esm/serialization/types/EncounterPeriod.d.mts +0 -13
- package/dist/esm/serialization/types/EncounterPeriod.mjs +0 -8
- package/dist/esm/serialization/types/EncounterStatus.d.mts +0 -10
- package/dist/esm/serialization/types/EncounterStatus.mjs +0 -5
- package/dist/esm/serialization/types/EncounterType.d.mts +0 -10
- package/dist/esm/serialization/types/EncounterType.mjs +0 -5
- package/dist/esm/serialization/types/EncounterUpdate.d.mts +0 -19
- package/dist/esm/serialization/types/EncounterUpdate.mjs +0 -14
- package/dist/esm/serialization/types/FactContext.d.mts +0 -15
- package/dist/esm/serialization/types/FactContext.mjs +0 -10
- package/dist/esm/serialization/types/GenderEnum.d.mts +0 -10
- package/dist/esm/serialization/types/GenderEnum.mjs +0 -5
- package/dist/esm/serialization/types/ParticipantRoleEnum.d.mts +0 -10
- package/dist/esm/serialization/types/ParticipantRoleEnum.mjs +0 -5
- package/dist/esm/serialization/types/Patient.d.mts +0 -17
- package/dist/esm/serialization/types/Patient.mjs +0 -12
- package/dist/esm/serialization/types/PatientUpdate.d.mts +0 -17
- package/dist/esm/serialization/types/PatientUpdate.mjs +0 -12
- package/dist/esm/serialization/types/ResponseAllTemplateSections.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseAllTemplateSections.mjs +0 -8
- package/dist/esm/serialization/types/ResponseAllTemplates.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseAllTemplates.mjs +0 -8
- package/dist/esm/serialization/types/ResponseAllTemplatesDataItem.d.mts +0 -20
- package/dist/esm/serialization/types/ResponseAllTemplatesDataItem.mjs +0 -15
- package/dist/esm/serialization/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.mts +0 -14
- package/dist/esm/serialization/types/ResponseAllTemplatesDataItemTemplateSectionsItem.mjs +0 -9
- package/dist/esm/serialization/types/ResponseAllTemplatesDataItemTranslationsItem.d.mts +0 -14
- package/dist/esm/serialization/types/ResponseAllTemplatesDataItemTranslationsItem.mjs +0 -9
- package/dist/esm/serialization/types/ResponseDocumentList.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseDocumentList.mjs +0 -8
- package/dist/esm/serialization/types/ResponseDocumentRead.d.mts +0 -23
- package/dist/esm/serialization/types/ResponseDocumentRead.mjs +0 -18
- package/dist/esm/serialization/types/ResponseDocumentReadSectionsItem.d.mts +0 -17
- package/dist/esm/serialization/types/ResponseDocumentReadSectionsItem.mjs +0 -12
- package/dist/esm/serialization/types/ResponseFactGroupsFiltered.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseFactGroupsFiltered.mjs +0 -8
- package/dist/esm/serialization/types/ResponseFactGroupsFilteredDataItem.d.mts +0 -16
- package/dist/esm/serialization/types/ResponseFactGroupsFilteredDataItem.mjs +0 -11
- package/dist/esm/serialization/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.mts +0 -14
- package/dist/esm/serialization/types/ResponseFactGroupsFilteredDataItemTranslationsItem.mjs +0 -9
- package/dist/esm/serialization/types/ResponseFactUpdate.d.mts +0 -21
- package/dist/esm/serialization/types/ResponseFactUpdate.mjs +0 -16
- package/dist/esm/serialization/types/ResponseFactsCreate.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseFactsCreate.mjs +0 -8
- package/dist/esm/serialization/types/ResponseFactsCreateFactsItem.d.mts +0 -20
- package/dist/esm/serialization/types/ResponseFactsCreateFactsItem.mjs +0 -15
- package/dist/esm/serialization/types/ResponseFactsList.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseFactsList.mjs +0 -8
- package/dist/esm/serialization/types/ResponseFactsListFactsItem.d.mts +0 -23
- package/dist/esm/serialization/types/ResponseFactsListFactsItem.mjs +0 -18
- package/dist/esm/serialization/types/ResponseFactsListFactsItemEvidenceItem.d.mts +0 -14
- package/dist/esm/serialization/types/ResponseFactsListFactsItemEvidenceItem.mjs +0 -9
- package/dist/esm/serialization/types/ResponseFactsUpdate.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseFactsUpdate.mjs +0 -8
- package/dist/esm/serialization/types/ResponseFactsUpdateFactsItem.d.mts +0 -21
- package/dist/esm/serialization/types/ResponseFactsUpdateFactsItem.mjs +0 -16
- package/dist/esm/serialization/types/ResponseInteraction.d.mts +0 -23
- package/dist/esm/serialization/types/ResponseInteraction.mjs +0 -18
- package/dist/esm/serialization/types/ResponseInteractionCreate.d.mts +0 -14
- package/dist/esm/serialization/types/ResponseInteractionCreate.mjs +0 -9
- package/dist/esm/serialization/types/ResponseInteractions.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseInteractions.mjs +0 -8
- package/dist/esm/serialization/types/ResponseMetadataCreate.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseMetadataCreate.mjs +0 -8
- package/dist/esm/serialization/types/ResponseMetadataCreateParticipantsRolesItem.d.mts +0 -14
- package/dist/esm/serialization/types/ResponseMetadataCreateParticipantsRolesItem.mjs +0 -9
- package/dist/esm/serialization/types/ResponseRecordingCreate.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseRecordingCreate.mjs +0 -8
- package/dist/esm/serialization/types/ResponseRecordingList.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseRecordingList.mjs +0 -8
- package/dist/esm/serialization/types/ResponseTranscriptCreate.d.mts +0 -19
- package/dist/esm/serialization/types/ResponseTranscriptCreate.mjs +0 -14
- package/dist/esm/serialization/types/ResponseTranscriptListAll.d.mts +0 -13
- package/dist/esm/serialization/types/ResponseTranscriptListAll.mjs +0 -8
- package/dist/esm/serialization/types/ResponseTranscriptListAllTranscriptsItem.d.mts +0 -16
- package/dist/esm/serialization/types/ResponseTranscriptListAllTranscriptsItem.mjs +0 -11
- package/dist/esm/serialization/types/ResponseTranscriptListFull.d.mts +0 -15
- package/dist/esm/serialization/types/ResponseTranscriptListFull.mjs +0 -10
- package/dist/esm/serialization/types/ResponseTranscriptListFullTranscriptsItem.d.mts +0 -17
- package/dist/esm/serialization/types/ResponseTranscriptListFullTranscriptsItem.mjs +0 -12
- package/dist/esm/serialization/types/Section.d.mts +0 -21
- package/dist/esm/serialization/types/Section.mjs +0 -16
- package/dist/esm/serialization/types/SectionTranslationsItem.d.mts +0 -14
- package/dist/esm/serialization/types/SectionTranslationsItem.mjs +0 -9
- package/dist/esm/serialization/types/SortingDirectionEnum.d.mts +0 -10
- package/dist/esm/serialization/types/SortingDirectionEnum.mjs +0 -5
- package/dist/esm/serialization/types/StreamConfigData.d.mts +0 -15
- package/dist/esm/serialization/types/StreamConfigData.mjs +0 -10
- package/dist/esm/serialization/types/StreamConfigMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/StreamConfigMessageType.mjs +0 -3
- package/dist/esm/serialization/types/StreamConfigModeOutputLocale.d.mts +0 -10
- package/dist/esm/serialization/types/StreamConfigModeOutputLocale.mjs +0 -5
- package/dist/esm/serialization/types/StreamConfigTranscriptionPrimaryLanguage.d.mts +0 -10
- package/dist/esm/serialization/types/StreamConfigTranscriptionPrimaryLanguage.mjs +0 -5
- package/dist/esm/serialization/types/StreamConfigurationMessage.d.mts +0 -14
- package/dist/esm/serialization/types/StreamConfigurationMessage.mjs +0 -9
- package/dist/esm/serialization/types/StreamEndMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/StreamEndMessageType.mjs +0 -3
- package/dist/esm/serialization/types/StreamEndedMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/StreamEndedMessageType.mjs +0 -3
- package/dist/esm/serialization/types/StreamErrorMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/StreamErrorMessageType.mjs +0 -3
- package/dist/esm/serialization/types/StreamFactsMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/StreamFactsMessageType.mjs +0 -3
- package/dist/esm/serialization/types/StreamFlushMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/StreamFlushMessageType.mjs +0 -3
- package/dist/esm/serialization/types/StreamFlushedMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/StreamFlushedMessageType.mjs +0 -3
- package/dist/esm/serialization/types/StreamParticipantRole.d.mts +0 -10
- package/dist/esm/serialization/types/StreamParticipantRole.mjs +0 -5
- package/dist/esm/serialization/types/StreamTranscriptMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/StreamTranscriptMessageType.mjs +0 -3
- package/dist/esm/serialization/types/StreamUsageMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/StreamUsageMessageType.mjs +0 -3
- package/dist/esm/serialization/types/TemplateFiltered.d.mts +0 -20
- package/dist/esm/serialization/types/TemplateFiltered.mjs +0 -15
- package/dist/esm/serialization/types/TemplateFilteredTemplateSectionsItem.d.mts +0 -14
- package/dist/esm/serialization/types/TemplateFilteredTemplateSectionsItem.mjs +0 -9
- package/dist/esm/serialization/types/TemplateFilteredTranslationsItem.d.mts +0 -14
- package/dist/esm/serialization/types/TemplateFilteredTranslationsItem.mjs +0 -9
- package/dist/esm/serialization/types/TranscribeCommandMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeCommandMessageType.mjs +0 -3
- package/dist/esm/serialization/types/TranscribeCommandVariableType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeCommandVariableType.mjs +0 -3
- package/dist/esm/serialization/types/TranscribeConfigMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeConfigMessageType.mjs +0 -3
- package/dist/esm/serialization/types/TranscribeConfigurationMessage.d.mts +0 -14
- package/dist/esm/serialization/types/TranscribeConfigurationMessage.mjs +0 -9
- package/dist/esm/serialization/types/TranscribeConfigurationMessageConfiguration.d.mts +0 -18
- package/dist/esm/serialization/types/TranscribeConfigurationMessageConfiguration.mjs +0 -13
- package/dist/esm/serialization/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.mts +0 -10
- package/dist/esm/serialization/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.mjs +0 -5
- package/dist/esm/serialization/types/TranscribeEndMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeEndMessageType.mjs +0 -3
- package/dist/esm/serialization/types/TranscribeEndedMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeEndedMessageType.mjs +0 -3
- package/dist/esm/serialization/types/TranscribeErrorMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeErrorMessageType.mjs +0 -3
- package/dist/esm/serialization/types/TranscribeFlushMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeFlushMessageType.mjs +0 -3
- package/dist/esm/serialization/types/TranscribeFlushedMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeFlushedMessageType.mjs +0 -3
- package/dist/esm/serialization/types/TranscribeTranscriptMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeTranscriptMessageType.mjs +0 -3
- package/dist/esm/serialization/types/TranscribeUsageMessageType.d.mts +0 -7
- package/dist/esm/serialization/types/TranscribeUsageMessageType.mjs +0 -3
- package/dist/esm/serialization/types/Transcript.d.mts +0 -17
- package/dist/esm/serialization/types/Transcript.mjs +0 -12
- package/dist/esm/serialization/types/UsageInfo.d.mts +0 -12
- package/dist/esm/serialization/types/UsageInfo.mjs +0 -7
- package/dist/esm/serialization/types/V2DocumentContextTypeEnum.d.mts +0 -10
- package/dist/esm/serialization/types/V2DocumentContextTypeEnum.mjs +0 -5
- package/dist/esm/serialization/types/V2SourceEnum.d.mts +0 -10
- package/dist/esm/serialization/types/V2SourceEnum.mjs +0 -5
- package/dist/esm/serialization/types/WritingStyle.d.mts +0 -12
- package/dist/esm/serialization/types/WritingStyle.mjs +0 -7
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
11
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
12
|
-
var m = o[Symbol.asyncIterator], i;
|
|
13
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
14
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
15
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
16
|
-
};
|
|
17
|
-
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
18
|
-
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
19
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
20
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
21
|
-
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
22
|
-
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
|
23
|
-
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
|
|
24
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
25
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
26
|
-
function fulfill(value) { resume("next", value); }
|
|
27
|
-
function reject(value) { resume("throw", value); }
|
|
28
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
29
|
-
};
|
|
30
|
-
import { RUNTIME } from "../runtime/index.mjs";
|
|
31
|
-
const DATA_PREFIX = "data:";
|
|
32
|
-
export class Stream {
|
|
33
|
-
constructor({ stream, parse, eventShape, signal }) {
|
|
34
|
-
this.controller = new AbortController();
|
|
35
|
-
this.stream = stream;
|
|
36
|
-
this.parse = parse;
|
|
37
|
-
if (eventShape.type === "sse") {
|
|
38
|
-
this.prefix = DATA_PREFIX;
|
|
39
|
-
this.messageTerminator = "\n";
|
|
40
|
-
this.streamTerminator = eventShape.streamTerminator;
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
this.messageTerminator = eventShape.messageTerminator;
|
|
44
|
-
}
|
|
45
|
-
signal === null || signal === void 0 ? void 0 : signal.addEventListener("abort", () => this.controller.abort());
|
|
46
|
-
}
|
|
47
|
-
iterMessages() {
|
|
48
|
-
return __asyncGenerator(this, arguments, function* iterMessages_1() {
|
|
49
|
-
var _a, e_1, _b, _c;
|
|
50
|
-
this.controller.signal;
|
|
51
|
-
const stream = readableStreamAsyncIterable(this.stream);
|
|
52
|
-
let buf = "";
|
|
53
|
-
let prefixSeen = false;
|
|
54
|
-
try {
|
|
55
|
-
for (var _d = true, stream_1 = __asyncValues(stream), stream_1_1; stream_1_1 = yield __await(stream_1.next()), _a = stream_1_1.done, !_a; _d = true) {
|
|
56
|
-
_c = stream_1_1.value;
|
|
57
|
-
_d = false;
|
|
58
|
-
const chunk = _c;
|
|
59
|
-
buf += this.decodeChunk(chunk);
|
|
60
|
-
let terminatorIndex;
|
|
61
|
-
while ((terminatorIndex = buf.indexOf(this.messageTerminator)) >= 0) {
|
|
62
|
-
let line = buf.slice(0, terminatorIndex + 1);
|
|
63
|
-
buf = buf.slice(terminatorIndex + this.messageTerminator.length);
|
|
64
|
-
if (!line.trim()) {
|
|
65
|
-
continue;
|
|
66
|
-
}
|
|
67
|
-
if (!prefixSeen && this.prefix != null) {
|
|
68
|
-
const prefixIndex = line.indexOf(this.prefix);
|
|
69
|
-
if (prefixIndex === -1) {
|
|
70
|
-
continue;
|
|
71
|
-
}
|
|
72
|
-
prefixSeen = true;
|
|
73
|
-
line = line.slice(prefixIndex + this.prefix.length);
|
|
74
|
-
}
|
|
75
|
-
if (this.streamTerminator != null && line.includes(this.streamTerminator)) {
|
|
76
|
-
return yield __await(void 0);
|
|
77
|
-
}
|
|
78
|
-
const message = yield __await(this.parse(JSON.parse(line)));
|
|
79
|
-
yield yield __await(message);
|
|
80
|
-
prefixSeen = false;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
85
|
-
finally {
|
|
86
|
-
try {
|
|
87
|
-
if (!_d && !_a && (_b = stream_1.return)) yield __await(_b.call(stream_1));
|
|
88
|
-
}
|
|
89
|
-
finally { if (e_1) throw e_1.error; }
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
[Symbol.asyncIterator]() {
|
|
94
|
-
return __asyncGenerator(this, arguments, function* _a() {
|
|
95
|
-
var _b, e_2, _c, _d;
|
|
96
|
-
try {
|
|
97
|
-
for (var _e = true, _f = __asyncValues(this.iterMessages()), _g; _g = yield __await(_f.next()), _b = _g.done, !_b; _e = true) {
|
|
98
|
-
_d = _g.value;
|
|
99
|
-
_e = false;
|
|
100
|
-
const message = _d;
|
|
101
|
-
yield yield __await(message);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
105
|
-
finally {
|
|
106
|
-
try {
|
|
107
|
-
if (!_e && !_b && (_c = _f.return)) yield __await(_c.call(_f));
|
|
108
|
-
}
|
|
109
|
-
finally { if (e_2) throw e_2.error; }
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
decodeChunk(chunk) {
|
|
114
|
-
let decoded = "";
|
|
115
|
-
// If TextDecoder is present, use it
|
|
116
|
-
if (typeof TextDecoder !== "undefined") {
|
|
117
|
-
const decoder = new TextDecoder("utf8");
|
|
118
|
-
decoded += decoder.decode(chunk);
|
|
119
|
-
}
|
|
120
|
-
// Buffer is present in Node.js environment
|
|
121
|
-
else if (RUNTIME.type === "node" && typeof chunk !== "undefined") {
|
|
122
|
-
decoded += Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
|
|
123
|
-
}
|
|
124
|
-
return decoded;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Browser polyfill for ReadableStream
|
|
129
|
-
*/
|
|
130
|
-
// biome-ignore lint/suspicious/noExplicitAny: allow explicit any
|
|
131
|
-
export function readableStreamAsyncIterable(stream) {
|
|
132
|
-
if (stream[Symbol.asyncIterator]) {
|
|
133
|
-
return stream;
|
|
134
|
-
}
|
|
135
|
-
const reader = stream.getReader();
|
|
136
|
-
return {
|
|
137
|
-
next() {
|
|
138
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
-
try {
|
|
140
|
-
const result = yield reader.read();
|
|
141
|
-
if (result === null || result === void 0 ? void 0 : result.done) {
|
|
142
|
-
reader.releaseLock();
|
|
143
|
-
} // release lock when stream becomes closed
|
|
144
|
-
return result;
|
|
145
|
-
}
|
|
146
|
-
catch (e) {
|
|
147
|
-
reader.releaseLock(); // release lock when stream becomes errored
|
|
148
|
-
throw e;
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
},
|
|
152
|
-
return() {
|
|
153
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
-
const cancelPromise = reader.cancel();
|
|
155
|
-
reader.releaseLock();
|
|
156
|
-
yield cancelPromise;
|
|
157
|
-
return { done: true, value: undefined };
|
|
158
|
-
});
|
|
159
|
-
},
|
|
160
|
-
[Symbol.asyncIterator]() {
|
|
161
|
-
return this;
|
|
162
|
-
},
|
|
163
|
-
};
|
|
164
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Stream } from "./Stream.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Stream } from "./Stream.mjs";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BearerProvider used as a replacement of OAuthTokenProvider, in case when BearerAuth was used instead of OAuth2.
|
|
3
|
-
*/
|
|
4
|
-
import * as core from "../core/index.mjs";
|
|
5
|
-
interface Options {
|
|
6
|
-
accessToken: core.Supplier<string>;
|
|
7
|
-
}
|
|
8
|
-
export declare class BearerProvider {
|
|
9
|
-
private _accessToken;
|
|
10
|
-
constructor(_options: Options);
|
|
11
|
-
getToken(): Promise<string>;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BearerProvider used as a replacement of OAuthTokenProvider, in case when BearerAuth was used instead of OAuth2.
|
|
3
|
-
*/
|
|
4
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
import * as core from "../core/index.mjs";
|
|
14
|
-
export class BearerProvider {
|
|
15
|
-
constructor(_options) {
|
|
16
|
-
this._accessToken = _options.accessToken;
|
|
17
|
-
}
|
|
18
|
-
getToken() {
|
|
19
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
20
|
-
return core.Supplier.get(this._accessToken);
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../api/index.mjs";
|
|
2
|
-
import { AuthClient } from "../api/resources/auth/client/Client.mjs";
|
|
3
|
-
import type { OAuthAuthProvider } from "../auth/OAuthAuthProvider.mjs";
|
|
4
|
-
import * as core from "../core/index.mjs";
|
|
5
|
-
import { type Environment } from "./utils/environment.mjs";
|
|
6
|
-
interface Options {
|
|
7
|
-
skipRedirect?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare namespace CortiAuth {
|
|
10
|
-
/** Auth (clientId/clientSecret or token) is optional; credentials can be passed to getToken() instead. */
|
|
11
|
-
type Options = Omit<AuthClient.Options, "clientId" | "clientSecret" | "token" | "environment"> & Partial<OAuthAuthProvider.ClientCredentials> & Partial<OAuthAuthProvider.TokenOverride> & {
|
|
12
|
-
environment: Environment;
|
|
13
|
-
};
|
|
14
|
-
/** Optional scopes on getToken request. */
|
|
15
|
-
interface GetTokenRequest extends Corti.OAuthTokenRequest {
|
|
16
|
-
scopes?: string[];
|
|
17
|
-
}
|
|
18
|
-
/** ROPC (resource owner password credentials) request for getRopcFlowToken. */
|
|
19
|
-
interface GetRopcFlowTokenRequest {
|
|
20
|
-
clientId: string;
|
|
21
|
-
username: string;
|
|
22
|
-
password: string;
|
|
23
|
-
scopes?: string[];
|
|
24
|
-
}
|
|
25
|
-
/** Refresh token request for refreshToken. */
|
|
26
|
-
interface RefreshTokenRequest {
|
|
27
|
-
clientId: string;
|
|
28
|
-
refreshToken: string;
|
|
29
|
-
clientSecret?: string;
|
|
30
|
-
scopes?: string[];
|
|
31
|
-
}
|
|
32
|
-
/** Authorization code grant request for getCodeFlowToken. */
|
|
33
|
-
interface GetCodeFlowTokenRequest {
|
|
34
|
-
clientId: string;
|
|
35
|
-
clientSecret: string;
|
|
36
|
-
redirectUri: string;
|
|
37
|
-
code: string;
|
|
38
|
-
scopes?: string[];
|
|
39
|
-
}
|
|
40
|
-
/** PKCE grant request for getPkceFlowToken. codeVerifier is optional — if omitted, reads from localStorage. */
|
|
41
|
-
interface GetPkceFlowTokenRequest {
|
|
42
|
-
clientId: string;
|
|
43
|
-
redirectUri: string;
|
|
44
|
-
code: string;
|
|
45
|
-
codeVerifier?: string;
|
|
46
|
-
scopes?: string[];
|
|
47
|
-
}
|
|
48
|
-
/** Parameters for authorizeUrl — builds the Keycloak authorization endpoint URL. */
|
|
49
|
-
interface AuthorizationCodeClient {
|
|
50
|
-
clientId: string;
|
|
51
|
-
redirectUri: string;
|
|
52
|
-
codeChallenge?: string;
|
|
53
|
-
scopes?: string[];
|
|
54
|
-
}
|
|
55
|
-
/** Parameters for authorizePkceUrl — like AuthorizationCodeClient but without codeChallenge (generated internally). */
|
|
56
|
-
interface PkceClient {
|
|
57
|
-
clientId: string;
|
|
58
|
-
redirectUri: string;
|
|
59
|
-
scopes?: string[];
|
|
60
|
-
codeVerifier?: string;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export declare class CortiAuth extends AuthClient {
|
|
64
|
-
/** No-op auth provider so super.token() does not trigger OAuth refresh. When auth is omitted, a dummy token is passed so the base constructor does not throw. */
|
|
65
|
-
constructor(options: CortiAuth.Options);
|
|
66
|
-
/**
|
|
67
|
-
* Exchange credentials for a short-lived access token using the tenant token endpoint (client_credentials).
|
|
68
|
-
* Resolves tenant from client options. Supports optional scopes (openid is always included).
|
|
69
|
-
*
|
|
70
|
-
* @param request - Client credentials and optional scopes
|
|
71
|
-
* @param requestOptions - Request-specific configuration
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link Corti.BadRequestError}
|
|
74
|
-
* @throws {@link Corti.UnauthorizedError}
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* const response = await auth.getToken({
|
|
78
|
-
* clientId: "client_id",
|
|
79
|
-
* clientSecret: "client_secret",
|
|
80
|
-
* scopes: ["profile"]
|
|
81
|
-
* });
|
|
82
|
-
*/
|
|
83
|
-
getToken(request: CortiAuth.GetTokenRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Corti.AuthTokenResponse>;
|
|
84
|
-
private _getTokenWithTenant;
|
|
85
|
-
/** Exchange username/password for access token via ROPC (resource owner password credentials). */
|
|
86
|
-
getRopcFlowToken(request: CortiAuth.GetRopcFlowTokenRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Corti.AuthTokenResponse>;
|
|
87
|
-
/**
|
|
88
|
-
* Exchange a refresh token for a new access token (refresh_token grant).
|
|
89
|
-
* Resolves tenant from client options.
|
|
90
|
-
*
|
|
91
|
-
* @param request - Client ID, refresh token, and optional scopes
|
|
92
|
-
* @param requestOptions - Request-specific configuration
|
|
93
|
-
*
|
|
94
|
-
* @throws {@link Corti.BadRequestError}
|
|
95
|
-
* @throws {@link Corti.UnauthorizedError}
|
|
96
|
-
*
|
|
97
|
-
* @example
|
|
98
|
-
* const response = await auth.refreshToken({
|
|
99
|
-
* clientId: "client_id",
|
|
100
|
-
* refreshToken: "refresh_token",
|
|
101
|
-
* });
|
|
102
|
-
*/
|
|
103
|
-
refreshToken(request: CortiAuth.RefreshTokenRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Corti.AuthTokenResponse>;
|
|
104
|
-
/** Exchange an authorization code for an access token (authorization_code grant). */
|
|
105
|
-
getCodeFlowToken(request: CortiAuth.GetCodeFlowTokenRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Corti.AuthTokenResponse>;
|
|
106
|
-
/**
|
|
107
|
-
* Exchange a PKCE authorization code for an access token (authorization_code grant with code_verifier).
|
|
108
|
-
* If codeVerifier is omitted, it is read from localStorage (set by authorizePkceUrl).
|
|
109
|
-
*/
|
|
110
|
-
getPkceFlowToken(request: CortiAuth.GetPkceFlowTokenRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Corti.AuthTokenResponse>;
|
|
111
|
-
/**
|
|
112
|
-
* Build the Keycloak authorization endpoint URL for the PKCE flow.
|
|
113
|
-
* Generates a code verifier if not provided, stores it in localStorage, and computes the challenge.
|
|
114
|
-
* In a browser environment, redirects to the URL unless skipRedirect is true.
|
|
115
|
-
*/
|
|
116
|
-
authorizePkceUrl({ clientId, redirectUri, scopes, codeVerifier }: CortiAuth.PkceClient, options?: Options): Promise<string>;
|
|
117
|
-
/** Read the PKCE code verifier stored in localStorage by authorizePkceUrl. Returns null if not found. */
|
|
118
|
-
static getCodeVerifier(): string | null;
|
|
119
|
-
/**
|
|
120
|
-
* Build the Keycloak authorization endpoint URL for the authorization code flow.
|
|
121
|
-
* In a browser environment, redirects to the URL unless skipRedirect is true.
|
|
122
|
-
* In a server environment (no window), always returns the URL string.
|
|
123
|
-
*
|
|
124
|
-
* @param client - clientId, redirectUri, and optional codeChallenge/scopes
|
|
125
|
-
* @param options - { skipRedirect?: boolean }
|
|
126
|
-
*/
|
|
127
|
-
authorizeUrl({ clientId, redirectUri, codeChallenge, scopes }: CortiAuth.AuthorizationCodeClient, options?: Options): Promise<string>;
|
|
128
|
-
}
|
|
129
|
-
export {};
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
11
|
-
var t = {};
|
|
12
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
13
|
-
t[p] = s[p];
|
|
14
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
15
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
16
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
17
|
-
t[p[i]] = s[p[i]];
|
|
18
|
-
}
|
|
19
|
-
return t;
|
|
20
|
-
};
|
|
21
|
-
import { AuthClient } from "../api/resources/auth/client/Client.mjs";
|
|
22
|
-
import * as core from "../core/index.mjs";
|
|
23
|
-
import { ParseError } from "../core/schemas/index.mjs";
|
|
24
|
-
import { buildTokenRequestBody } from "./utils/buildTokenRequestBody.mjs";
|
|
25
|
-
import { getEnvironment } from "./utils/environment.mjs";
|
|
26
|
-
import { CODE_VERIFIER_KEY, getLocalStorageItem, setLocalStorageItem } from "./utils/localStorageHelpers.mjs";
|
|
27
|
-
import { generateCodeChallenge, generateCodeVerifier } from "./utils/pkceHelpers.mjs";
|
|
28
|
-
export class CortiAuth extends AuthClient {
|
|
29
|
-
/** No-op auth provider so super.token() does not trigger OAuth refresh. When auth is omitted, a dummy token is passed so the base constructor does not throw. */
|
|
30
|
-
constructor(options) {
|
|
31
|
-
var _a;
|
|
32
|
-
const { environment } = options, rest = __rest(options, ["environment"]);
|
|
33
|
-
super(Object.assign(Object.assign({}, rest), { environment: getEnvironment(environment), token: (_a = options.token) !== null && _a !== void 0 ? _a : (() => "") }));
|
|
34
|
-
this._options.authProvider = new core.NoOpAuthProvider();
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Exchange credentials for a short-lived access token using the tenant token endpoint (client_credentials).
|
|
38
|
-
* Resolves tenant from client options. Supports optional scopes (openid is always included).
|
|
39
|
-
*
|
|
40
|
-
* @param request - Client credentials and optional scopes
|
|
41
|
-
* @param requestOptions - Request-specific configuration
|
|
42
|
-
*
|
|
43
|
-
* @throws {@link Corti.BadRequestError}
|
|
44
|
-
* @throws {@link Corti.UnauthorizedError}
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* const response = await auth.getToken({
|
|
48
|
-
* clientId: "client_id",
|
|
49
|
-
* clientSecret: "client_secret",
|
|
50
|
-
* scopes: ["profile"]
|
|
51
|
-
* });
|
|
52
|
-
*/
|
|
53
|
-
getToken(request, requestOptions) {
|
|
54
|
-
return core.HttpResponsePromise.fromPromise(this._getTokenWithTenant(request, requestOptions !== null && requestOptions !== void 0 ? requestOptions : {}));
|
|
55
|
-
}
|
|
56
|
-
_getTokenWithTenant(request, requestOptions) {
|
|
57
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
-
const authRequest = buildTokenRequestBody(request);
|
|
59
|
-
const tenantName = yield core.Supplier.get(this._options.tenantName);
|
|
60
|
-
return this.token(tenantName, authRequest, requestOptions).withRawResponse();
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
/** Exchange username/password for access token via ROPC (resource owner password credentials). */
|
|
64
|
-
getRopcFlowToken(request, requestOptions) {
|
|
65
|
-
return core.HttpResponsePromise.fromPromise(this._getTokenWithTenant(request, requestOptions !== null && requestOptions !== void 0 ? requestOptions : {}));
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Exchange a refresh token for a new access token (refresh_token grant).
|
|
69
|
-
* Resolves tenant from client options.
|
|
70
|
-
*
|
|
71
|
-
* @param request - Client ID, refresh token, and optional scopes
|
|
72
|
-
* @param requestOptions - Request-specific configuration
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link Corti.BadRequestError}
|
|
75
|
-
* @throws {@link Corti.UnauthorizedError}
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* const response = await auth.refreshToken({
|
|
79
|
-
* clientId: "client_id",
|
|
80
|
-
* refreshToken: "refresh_token",
|
|
81
|
-
* });
|
|
82
|
-
*/
|
|
83
|
-
refreshToken(request, requestOptions) {
|
|
84
|
-
return core.HttpResponsePromise.fromPromise(this._getTokenWithTenant(request, requestOptions !== null && requestOptions !== void 0 ? requestOptions : {}));
|
|
85
|
-
}
|
|
86
|
-
/** Exchange an authorization code for an access token (authorization_code grant). */
|
|
87
|
-
getCodeFlowToken(request, requestOptions) {
|
|
88
|
-
return core.HttpResponsePromise.fromPromise(this._getTokenWithTenant(request, requestOptions !== null && requestOptions !== void 0 ? requestOptions : {}));
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Exchange a PKCE authorization code for an access token (authorization_code grant with code_verifier).
|
|
92
|
-
* If codeVerifier is omitted, it is read from localStorage (set by authorizePkceUrl).
|
|
93
|
-
*/
|
|
94
|
-
getPkceFlowToken(request, requestOptions) {
|
|
95
|
-
var _a;
|
|
96
|
-
const codeVerifier = (_a = request.codeVerifier) !== null && _a !== void 0 ? _a : getLocalStorageItem(CODE_VERIFIER_KEY);
|
|
97
|
-
if (!codeVerifier) {
|
|
98
|
-
throw new ParseError([
|
|
99
|
-
{
|
|
100
|
-
path: ["codeVerifier"],
|
|
101
|
-
message: "Code verifier was not provided and not found in localStorage.",
|
|
102
|
-
},
|
|
103
|
-
]);
|
|
104
|
-
}
|
|
105
|
-
return core.HttpResponsePromise.fromPromise(this._getTokenWithTenant(Object.assign(Object.assign({}, request), { codeVerifier }), requestOptions !== null && requestOptions !== void 0 ? requestOptions : {}));
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Build the Keycloak authorization endpoint URL for the PKCE flow.
|
|
109
|
-
* Generates a code verifier if not provided, stores it in localStorage, and computes the challenge.
|
|
110
|
-
* In a browser environment, redirects to the URL unless skipRedirect is true.
|
|
111
|
-
*/
|
|
112
|
-
authorizePkceUrl(_a, options_1) {
|
|
113
|
-
return __awaiter(this, arguments, void 0, function* ({ clientId, redirectUri, scopes, codeVerifier }, options) {
|
|
114
|
-
const verifier = codeVerifier !== null && codeVerifier !== void 0 ? codeVerifier : generateCodeVerifier();
|
|
115
|
-
setLocalStorageItem(CODE_VERIFIER_KEY, verifier);
|
|
116
|
-
const codeChallenge = yield generateCodeChallenge(verifier);
|
|
117
|
-
return this.authorizeUrl({ clientId, redirectUri, codeChallenge, scopes }, options);
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
/** Read the PKCE code verifier stored in localStorage by authorizePkceUrl. Returns null if not found. */
|
|
121
|
-
static getCodeVerifier() {
|
|
122
|
-
return getLocalStorageItem(CODE_VERIFIER_KEY);
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Build the Keycloak authorization endpoint URL for the authorization code flow.
|
|
126
|
-
* In a browser environment, redirects to the URL unless skipRedirect is true.
|
|
127
|
-
* In a server environment (no window), always returns the URL string.
|
|
128
|
-
*
|
|
129
|
-
* @param client - clientId, redirectUri, and optional codeChallenge/scopes
|
|
130
|
-
* @param options - { skipRedirect?: boolean }
|
|
131
|
-
*/
|
|
132
|
-
authorizeUrl(_a, options_1) {
|
|
133
|
-
return __awaiter(this, arguments, void 0, function* ({ clientId, redirectUri, codeChallenge, scopes }, options) {
|
|
134
|
-
const envUrls = yield core.Supplier.get(this._options.environment);
|
|
135
|
-
const tenantName = yield core.Supplier.get(this._options.tenantName);
|
|
136
|
-
const authUrl = new URL(core.url.join(envUrls.login, tenantName, "protocol/openid-connect/auth"));
|
|
137
|
-
authUrl.searchParams.set("response_type", "code");
|
|
138
|
-
const allScopes = ["openid", "profile", ...(scopes !== null && scopes !== void 0 ? scopes : [])];
|
|
139
|
-
authUrl.searchParams.set("scope", [...new Set(allScopes)].join(" "));
|
|
140
|
-
if (clientId !== undefined) {
|
|
141
|
-
authUrl.searchParams.set("client_id", clientId);
|
|
142
|
-
}
|
|
143
|
-
if (redirectUri !== undefined) {
|
|
144
|
-
authUrl.searchParams.set("redirect_uri", redirectUri);
|
|
145
|
-
}
|
|
146
|
-
if (codeChallenge !== undefined) {
|
|
147
|
-
authUrl.searchParams.set("code_challenge", codeChallenge);
|
|
148
|
-
authUrl.searchParams.set("code_challenge_method", "S256");
|
|
149
|
-
}
|
|
150
|
-
const authUrlString = authUrl.toString();
|
|
151
|
-
if (typeof window !== "undefined" && !(options === null || options === void 0 ? void 0 : options.skipRedirect)) {
|
|
152
|
-
window.location.href = authUrlString;
|
|
153
|
-
return authUrlString;
|
|
154
|
-
}
|
|
155
|
-
return authUrlString;
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { OAuthAuthProvider } from "../auth/OAuthAuthProvider.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* Patch: OAuth auth provider that uses CortiAuth (real token endpoint) instead of AuthClient (fake-token).
|
|
4
|
-
*/
|
|
5
|
-
export declare class CortiOAuthAuthProvider extends OAuthAuthProvider {
|
|
6
|
-
constructor(options: OAuthAuthProvider.Options & OAuthAuthProvider.ClientCredentials);
|
|
7
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { OAuthAuthProvider } from "../auth/OAuthAuthProvider.mjs";
|
|
2
|
-
import { CortiAuth } from "./CortiAuth.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* Patch: OAuth auth provider that uses CortiAuth (real token endpoint) instead of AuthClient (fake-token).
|
|
5
|
-
*/
|
|
6
|
-
export class CortiOAuthAuthProvider extends OAuthAuthProvider {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
this.authClient = new CortiAuth(options);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Lightweight client with only WebSocket resources (stream and transcribe).
|
|
3
|
-
* Use this when you need direct WebSocket connections, e.g. for proxying scenarios.
|
|
4
|
-
*
|
|
5
|
-
* Pass the proxy object with URL directly to connect() - no configuration needed.
|
|
6
|
-
*/
|
|
7
|
-
import { Stream } from "./CustomStream.mjs";
|
|
8
|
-
import { Transcribe } from "./CustomTranscribe.mjs";
|
|
9
|
-
export declare class CortiWebSocketClient {
|
|
10
|
-
protected _stream: Stream | undefined;
|
|
11
|
-
protected _transcribe: Transcribe | undefined;
|
|
12
|
-
get stream(): Stream;
|
|
13
|
-
get transcribe(): Transcribe;
|
|
14
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Lightweight client with only WebSocket resources (stream and transcribe).
|
|
3
|
-
* Use this when you need direct WebSocket connections, e.g. for proxying scenarios.
|
|
4
|
-
*
|
|
5
|
-
* Pass the proxy object with URL directly to connect() - no configuration needed.
|
|
6
|
-
*/
|
|
7
|
-
import * as environments from "../environments.mjs";
|
|
8
|
-
import { Stream } from "./CustomStream.mjs";
|
|
9
|
-
import { Transcribe } from "./CustomTranscribe.mjs";
|
|
10
|
-
export class CortiWebSocketClient {
|
|
11
|
-
get stream() {
|
|
12
|
-
var _a;
|
|
13
|
-
// Placeholder options - not used when proxy is passed to connect()
|
|
14
|
-
return ((_a = this._stream) !== null && _a !== void 0 ? _a : (this._stream = new Stream({
|
|
15
|
-
environment: environments.CortiEnvironment.Eu,
|
|
16
|
-
tenantName: "",
|
|
17
|
-
})));
|
|
18
|
-
}
|
|
19
|
-
get transcribe() {
|
|
20
|
-
var _a;
|
|
21
|
-
// Placeholder options - not used when proxy is passed to connect()
|
|
22
|
-
return ((_a = this._transcribe) !== null && _a !== void 0 ? _a : (this._transcribe = new Transcribe({
|
|
23
|
-
environment: environments.CortiEnvironment.Eu,
|
|
24
|
-
tenantName: "",
|
|
25
|
-
})));
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { StreamClient } from "../api/resources/stream/client/Client.mjs";
|
|
2
|
-
import type { StreamSocket } from "../api/resources/stream/client/Socket.mjs";
|
|
3
|
-
export type CustomStreamConnectArgs = {
|
|
4
|
-
id: string;
|
|
5
|
-
} & Partial<Omit<StreamClient.ConnectArgs, "id" | "tenantName" | "token">>;
|
|
6
|
-
export declare class CustomStream extends StreamClient {
|
|
7
|
-
connect(args: CustomStreamConnectArgs): Promise<StreamSocket>;
|
|
8
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import { StreamClient } from "../api/resources/stream/client/Client.mjs";
|
|
11
|
-
import * as core from "../core/index.mjs";
|
|
12
|
-
export class CustomStream extends StreamClient {
|
|
13
|
-
connect(args) {
|
|
14
|
-
const _super = Object.create(null, {
|
|
15
|
-
connect: { get: () => super.connect }
|
|
16
|
-
});
|
|
17
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
18
|
-
var _a, _b, _c;
|
|
19
|
-
const tenantName = yield core.Supplier.get(this._options.tenantName);
|
|
20
|
-
const authRequest = yield ((_a = this._options.authProvider) === null || _a === void 0 ? void 0 : _a.getAuthRequest());
|
|
21
|
-
const token = (_c = (_b = authRequest === null || authRequest === void 0 ? void 0 : authRequest.headers.Authorization) !== null && _b !== void 0 ? _b : authRequest === null || authRequest === void 0 ? void 0 : authRequest.headers.authorization) !== null && _c !== void 0 ? _c : "";
|
|
22
|
-
return _super.connect.call(this, Object.assign(Object.assign({}, args), { tenantName, token }));
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Patch: file patches disability of auto-generating binary data methods for sending data to the socket
|
|
3
|
-
*/
|
|
4
|
-
import { StreamSocket as FernStreamSocket } from "../api/resources/stream/client/Socket.mjs";
|
|
5
|
-
export declare class StreamSocket extends FernStreamSocket {
|
|
6
|
-
sendAudio(message: ArrayBufferLike | Blob | ArrayBufferView | string): void;
|
|
7
|
-
/**
|
|
8
|
-
* Patch: have to repeat this method, because it is private in the base class
|
|
9
|
-
*/
|
|
10
|
-
private __assertSocketIsOpen;
|
|
11
|
-
/**
|
|
12
|
-
* Patch: added ability to remove event handlers
|
|
13
|
-
*/
|
|
14
|
-
off<T extends keyof FernStreamSocket.EventHandlers>(event: T, callback?: FernStreamSocket.EventHandlers[T]): void;
|
|
15
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Patch: file patches disability of auto-generating binary data methods for sending data to the socket
|
|
3
|
-
*/
|
|
4
|
-
import { StreamSocket as FernStreamSocket } from "../api/resources/stream/client/Socket.mjs";
|
|
5
|
-
import * as core from "../core/index.mjs";
|
|
6
|
-
export class StreamSocket extends FernStreamSocket {
|
|
7
|
-
sendAudio(message) {
|
|
8
|
-
if (typeof message === "string") {
|
|
9
|
-
return super.sendAudio(message);
|
|
10
|
-
}
|
|
11
|
-
this.__assertSocketIsOpen();
|
|
12
|
-
super.sendBinary(message);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Patch: have to repeat this method, because it is private in the base class
|
|
16
|
-
*/
|
|
17
|
-
__assertSocketIsOpen() {
|
|
18
|
-
if (!this.socket) {
|
|
19
|
-
throw new Error("Socket is not connected.");
|
|
20
|
-
}
|
|
21
|
-
if (this.socket.readyState !== core.ReconnectingWebSocket.OPEN) {
|
|
22
|
-
throw new Error("Socket is not open.");
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Patch: added ability to remove event handlers
|
|
27
|
-
*/
|
|
28
|
-
off(event, callback) {
|
|
29
|
-
if (!callback || callback === this.eventHandlers[event]) {
|
|
30
|
-
delete this.eventHandlers[event];
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TranscribeClient } from "../api/resources/transcribe/client/Client.mjs";
|
|
2
|
-
import type { TranscribeSocket } from "../api/resources/transcribe/client/Socket.mjs";
|
|
3
|
-
export type CustomTranscribeConnectArgs = Partial<Omit<TranscribeClient.ConnectArgs, "tenantName" | "token">>;
|
|
4
|
-
export declare class CustomTranscribe extends TranscribeClient {
|
|
5
|
-
connect(args?: CustomTranscribeConnectArgs): Promise<TranscribeSocket>;
|
|
6
|
-
}
|