@corti/sdk 0.0.0-alpha.10 → 0.1.0-alpha
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/README.md +21 -7
- package/dist/cjs/Client.d.ts +62 -0
- package/dist/cjs/Client.js +114 -0
- package/dist/cjs/api/resources/auth/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/auth/client/Client.js +18 -9
- package/dist/cjs/api/resources/auth/client/requests/AuthGetTokenRequest.d.ts +4 -4
- package/dist/cjs/api/resources/auth/types/GetTokenResponse.d.ts +5 -5
- package/dist/cjs/api/resources/documents/client/Client.d.ts +11 -12
- package/dist/cjs/api/resources/documents/client/Client.js +142 -44
- package/dist/cjs/api/resources/documents/client/requests/DocumentsUpdateRequest.d.ts +13 -0
- package/dist/cjs/api/resources/documents/client/requests/index.d.ts +1 -3
- package/dist/cjs/api/resources/documents/index.d.ts +0 -1
- package/dist/cjs/api/resources/documents/index.js +0 -1
- package/dist/cjs/api/resources/facts/client/Client.d.ts +15 -18
- package/dist/cjs/api/resources/facts/client/Client.js +111 -39
- package/dist/cjs/api/resources/facts/client/requests/FactsBatchUpdateRequest.d.ts +16 -0
- package/dist/cjs/api/resources/facts/client/requests/FactsCreateRequest.d.ts +17 -0
- package/dist/cjs/api/resources/facts/client/requests/FactsUpdateRequest.d.ts +18 -0
- package/dist/cjs/api/resources/facts/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/facts/index.d.ts +0 -1
- package/dist/cjs/api/resources/facts/index.js +0 -1
- package/dist/cjs/api/resources/index.d.ts +2 -4
- package/dist/cjs/api/resources/index.js +3 -5
- package/dist/cjs/api/resources/interactions/client/Client.d.ts +9 -9
- package/dist/cjs/api/resources/interactions/client/Client.js +151 -43
- package/dist/cjs/api/resources/interactions/client/requests/InteractionsCreateRequest.d.ts +22 -0
- package/dist/cjs/api/resources/interactions/client/requests/InteractionsListRequest.d.ts +8 -8
- package/dist/cjs/api/resources/interactions/client/requests/InteractionsUpdateRequest.d.ts +16 -0
- package/dist/cjs/api/resources/interactions/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/interactions/types/InteractionsListRequestSort.d.ts +5 -2
- package/dist/cjs/api/resources/interactions/types/InteractionsListRequestSort.js +3 -0
- package/dist/cjs/api/resources/interactions/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/interactions/types/index.js +0 -1
- package/dist/cjs/api/resources/recordings/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/recordings/client/Client.js +99 -24
- package/dist/cjs/api/resources/stream/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/stream/client/Client.js +13 -12
- package/dist/cjs/api/resources/stream/client/Socket.d.ts +2 -4
- package/dist/cjs/api/resources/stream/client/Socket.js +43 -10
- package/dist/cjs/api/resources/stream/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/stream/client/index.js +0 -15
- package/dist/cjs/api/resources/templates/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/templates/client/Client.js +70 -21
- package/dist/cjs/api/resources/templates/client/requests/TemplatesListRequest.d.ts +3 -3
- package/dist/cjs/api/resources/templates/client/requests/TemplatesSectionListRequest.d.ts +17 -0
- package/dist/cjs/api/resources/templates/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/transcribe/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/transcribe/client/Client.js +15 -14
- package/dist/cjs/api/resources/transcribe/client/Socket.d.ts +2 -4
- package/dist/cjs/api/resources/transcribe/client/Socket.js +43 -10
- package/dist/cjs/api/resources/transcribe/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/transcribe/client/index.js +0 -15
- package/dist/cjs/api/resources/transcripts/client/Client.d.ts +12 -11
- package/dist/cjs/api/resources/transcripts/client/Client.js +154 -105
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +28 -0
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsListRequest.d.ts +1 -18
- package/dist/cjs/api/resources/transcripts/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +12 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.js +11 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.ts +21 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.js +20 -0
- package/dist/cjs/api/resources/transcripts/types/index.d.ts +2 -5
- package/dist/cjs/api/resources/transcripts/types/index.js +2 -5
- package/dist/cjs/api/types/CommonSortingDirectionEnum.d.ts +8 -0
- package/dist/cjs/api/types/CommonSortingDirectionEnum.js +10 -0
- package/dist/cjs/api/types/CommonSourceEnum.d.ts +9 -0
- package/dist/cjs/api/types/CommonSourceEnum.js +11 -0
- package/dist/cjs/api/types/CommonTranscript.d.ts +17 -0
- package/dist/cjs/api/types/CommonUsageInfo.d.ts +6 -0
- package/dist/cjs/api/types/DocumentsContext.d.ts +10 -0
- package/dist/cjs/api/types/DocumentsContextData.d.ts +14 -0
- package/dist/cjs/api/types/DocumentsContextTypeEnum.d.ts +9 -0
- package/dist/cjs/api/types/DocumentsContextTypeEnum.js +11 -0
- package/dist/cjs/api/types/DocumentsCreateRequest.d.ts +5 -0
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplate.d.ts +16 -0
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateId.d.ts +16 -0
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateKey.d.ts +16 -0
- package/dist/cjs/api/types/DocumentsGetResponse.d.ts +22 -0
- package/dist/cjs/api/types/DocumentsListResponse.d.ts +7 -0
- package/dist/cjs/api/types/DocumentsSection.d.ts +17 -0
- package/dist/cjs/api/types/DocumentsSectionInput.d.ts +9 -0
- package/dist/cjs/api/types/DocumentsTemplate.d.ts +14 -0
- package/dist/cjs/api/types/ErrorResponse.d.ts +1 -1
- package/dist/cjs/api/types/FactsBatchUpdateInput.d.ts +14 -0
- package/dist/cjs/api/types/FactsBatchUpdateItem.d.ts +22 -0
- package/dist/cjs/api/types/FactsBatchUpdateResponse.d.ts +8 -0
- package/dist/cjs/api/types/FactsContext.d.ts +12 -0
- package/dist/cjs/api/types/FactsCreateInput.d.ts +12 -0
- package/dist/cjs/api/types/FactsCreateItem.d.ts +20 -0
- package/dist/cjs/api/types/FactsCreateResponse.d.ts +8 -0
- package/dist/cjs/api/types/FactsEvidence.d.ts +11 -0
- package/dist/cjs/api/types/FactsFactGroupsItem.d.ts +9 -0
- package/dist/cjs/api/types/FactsFactGroupsItemTranslationsItem.d.ts +8 -0
- package/dist/cjs/api/types/FactsFactGroupsListResponse.d.ts +7 -0
- package/dist/cjs/api/types/FactsListItem.d.ts +23 -0
- package/dist/cjs/api/types/FactsListResponse.d.ts +8 -0
- package/dist/cjs/api/types/FactsUpdateResponse.d.ts +22 -0
- package/dist/cjs/api/types/InteractionsCreateResponse.d.ts +10 -0
- package/dist/cjs/api/types/InteractionsEncounterCreateRequest.d.ts +16 -0
- package/dist/cjs/api/types/InteractionsEncounterPeriod.d.ts +9 -0
- package/dist/cjs/api/types/InteractionsEncounterResponse.d.ts +16 -0
- package/dist/cjs/api/types/InteractionsEncounterStatusEnum.d.ts +12 -0
- package/dist/cjs/api/types/InteractionsEncounterStatusEnum.js +14 -0
- package/dist/cjs/api/types/InteractionsEncounterTypeEnum.d.ts +11 -0
- package/dist/cjs/api/types/InteractionsEncounterTypeEnum.js +13 -0
- package/dist/cjs/api/types/InteractionsEncounterUpdateRequest.d.ts +16 -0
- package/dist/cjs/api/types/InteractionsGenderEnum.d.ts +10 -0
- package/dist/cjs/api/types/InteractionsGenderEnum.js +12 -0
- package/dist/cjs/api/types/InteractionsGetResponse.d.ts +24 -0
- package/dist/cjs/api/types/InteractionsListResponse.d.ts +7 -0
- package/dist/cjs/api/types/InteractionsPatient.d.ts +16 -0
- package/dist/cjs/api/types/RecordingsCreateResponse.d.ts +8 -0
- package/dist/cjs/api/types/RecordingsListResponse.d.ts +8 -0
- package/dist/cjs/api/types/StreamConfig.d.ts +8 -0
- package/dist/cjs/api/types/StreamConfigMessage.d.ts +8 -0
- package/dist/cjs/api/types/StreamConfigMode.d.ts +4 -2
- package/dist/cjs/api/types/StreamConfigModeType.d.ts +2 -1
- package/dist/cjs/api/types/StreamConfigModeType.js +1 -0
- package/dist/cjs/api/types/StreamConfigParticipant.d.ts +10 -0
- package/dist/cjs/api/types/StreamConfigParticipantRole.d.ts +12 -0
- package/dist/cjs/api/types/StreamConfigParticipantRole.js +11 -0
- package/dist/cjs/api/types/StreamConfigStatusMessage.d.ts +0 -2
- package/dist/cjs/api/types/StreamConfigTranscription.d.ts +3 -3
- package/dist/cjs/api/types/StreamErrorDetail.d.ts +5 -5
- package/dist/cjs/api/types/StreamErrorMessage.d.ts +1 -1
- package/dist/cjs/api/types/StreamFact.d.ts +6 -2
- package/dist/cjs/api/types/StreamParticipant.d.ts +0 -3
- package/dist/cjs/api/types/StreamSupportedLanguage.d.ts +23 -0
- package/dist/cjs/api/types/StreamSupportedLanguage.js +22 -0
- package/dist/cjs/api/types/TemplatesItem.d.ts +20 -0
- package/dist/cjs/api/types/TemplatesListResponse.d.ts +8 -0
- package/dist/cjs/api/types/TemplatesSection.d.ts +22 -0
- package/dist/cjs/api/types/TemplatesSectionListResponse.d.ts +8 -0
- package/dist/cjs/api/types/TemplatesSectionSorted.d.ts +10 -0
- package/dist/cjs/api/types/TemplatesTranslation.d.ts +11 -0
- package/dist/cjs/api/types/TemplatesWritingStyle.d.ts +7 -0
- package/dist/cjs/api/types/TranscribeCommand.d.ts +1 -1
- package/dist/cjs/api/types/TranscribeCommandData.d.ts +1 -1
- package/dist/cjs/api/types/TranscribeCommandVariable.d.ts +2 -2
- package/dist/cjs/api/types/TranscribeConfig.d.ts +16 -0
- package/dist/cjs/api/types/TranscribeConfigMessage.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeErrorMessage.d.ts +1 -1
- package/dist/cjs/api/types/TranscribeErrorMessageError.d.ts +4 -4
- package/dist/cjs/api/types/TranscribeSupportedLanguage.d.ts +23 -0
- package/dist/cjs/api/types/TranscribeSupportedLanguage.js +22 -0
- package/dist/cjs/api/types/TranscriptsData.d.ts +10 -0
- package/dist/cjs/api/types/TranscriptsListItem.d.ts +10 -0
- package/dist/cjs/api/types/TranscriptsListResponse.d.ts +7 -0
- package/dist/cjs/api/types/TranscriptsMetadata.d.ts +7 -0
- package/dist/cjs/api/types/TranscriptsParticipant.d.ts +10 -0
- package/dist/cjs/api/types/TranscriptsParticipantRoleEnum.d.ts +9 -0
- package/dist/cjs/api/types/TranscriptsParticipantRoleEnum.js +11 -0
- package/dist/cjs/api/types/TranscriptsResponse.d.ts +13 -0
- package/dist/cjs/api/types/index.d.ts +65 -60
- package/dist/cjs/api/types/index.js +65 -60
- package/dist/cjs/core/auth/BasicAuth.js +3 -3
- package/dist/cjs/core/auth/OAuthTokenProvider.js +4 -4
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/cjs/core/fetcher/createRequestUrl.js +3 -7
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -4
- package/dist/cjs/core/fetcher/getFetchFn.js +1 -52
- package/dist/cjs/core/index.d.ts +3 -0
- package/dist/cjs/core/index.js +26 -0
- package/dist/cjs/core/schemas/Schema.d.ts +87 -0
- package/dist/cjs/core/schemas/Schema.js +24 -0
- package/dist/cjs/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/bigint/bigint.js +53 -0
- package/dist/cjs/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/bigint/index.js +5 -0
- package/dist/cjs/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/date/date.js +62 -0
- package/dist/cjs/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/date/index.js +5 -0
- package/dist/cjs/core/schemas/builders/enum/enum.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/enum/enum.js +38 -0
- package/dist/cjs/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/enum/index.js +5 -0
- package/dist/cjs/core/schemas/builders/index.d.ts +14 -0
- package/dist/cjs/core/schemas/builders/index.js +30 -0
- package/dist/cjs/core/schemas/builders/lazy/index.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/lazy/index.js +7 -0
- package/dist/cjs/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/cjs/core/schemas/builders/lazy/lazy.js +24 -0
- package/dist/cjs/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/lazy/lazyObject.js +11 -0
- package/dist/cjs/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/list/index.js +5 -0
- package/dist/cjs/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/list/list.js +54 -0
- package/dist/cjs/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/literals/booleanLiteral.js +28 -0
- package/dist/cjs/core/schemas/builders/literals/index.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/literals/index.js +7 -0
- package/dist/cjs/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/literals/stringLiteral.js +28 -0
- package/dist/cjs/core/schemas/builders/object/index.d.ts +6 -0
- package/dist/cjs/core/schemas/builders/object/index.js +11 -0
- package/dist/cjs/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/object/object.js +261 -0
- package/dist/cjs/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/cjs/core/schemas/builders/object/objectWithoutOptionalProperties.js +7 -0
- package/dist/cjs/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/cjs/core/schemas/builders/object/property.js +15 -0
- package/dist/cjs/core/schemas/builders/object/types.d.ts +31 -0
- package/dist/cjs/core/schemas/builders/object/types.js +2 -0
- package/dist/cjs/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/cjs/core/schemas/builders/object-like/getObjectLikeUtils.js +53 -0
- package/dist/cjs/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/object-like/index.js +6 -0
- package/dist/cjs/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/cjs/core/schemas/builders/object-like/types.js +2 -0
- package/dist/cjs/core/schemas/builders/primitives/any.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/primitives/any.js +6 -0
- package/dist/cjs/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/primitives/boolean.js +25 -0
- package/dist/cjs/core/schemas/builders/primitives/index.d.ts +5 -0
- package/dist/cjs/core/schemas/builders/primitives/index.js +13 -0
- package/dist/cjs/core/schemas/builders/primitives/number.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/primitives/number.js +25 -0
- package/dist/cjs/core/schemas/builders/primitives/string.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/primitives/string.js +25 -0
- package/dist/cjs/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/cjs/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/record/index.js +5 -0
- package/dist/cjs/core/schemas/builders/record/record.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/record/record.js +93 -0
- package/dist/cjs/core/schemas/builders/record/types.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/record/types.js +2 -0
- package/dist/cjs/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/cjs/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/dist/cjs/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/cjs/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/dist/cjs/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +21 -0
- package/dist/cjs/core/schemas/builders/schema-utils/getSchemaUtils.js +145 -0
- package/dist/cjs/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/cjs/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/schema-utils/stringifyValidationErrors.js +9 -0
- package/dist/cjs/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/set/index.js +5 -0
- package/dist/cjs/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/set/set.js +43 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +39 -0
- package/dist/cjs/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/cjs/core/schemas/builders/union/discriminant.js +9 -0
- package/dist/cjs/core/schemas/builders/union/index.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/union/index.js +7 -0
- package/dist/cjs/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/cjs/core/schemas/builders/union/types.js +2 -0
- package/dist/cjs/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/union/union.js +129 -0
- package/dist/cjs/core/schemas/index.d.ts +2 -0
- package/dist/cjs/core/schemas/index.js +17 -0
- package/dist/cjs/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/cjs/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/cjs/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/cjs/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/cjs/core/schemas/utils/createIdentitySchemaCreator.js +15 -0
- package/dist/cjs/core/schemas/utils/entries.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/entries.js +6 -0
- package/dist/cjs/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/filterObject.js +13 -0
- package/dist/cjs/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/getErrorMessageForIncorrectType.js +27 -0
- package/dist/cjs/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/isPlainObject.js +17 -0
- package/dist/cjs/core/schemas/utils/keys.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/keys.js +6 -0
- package/dist/cjs/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/cjs/core/schemas/utils/maybeSkipValidation.js +27 -0
- package/dist/cjs/core/schemas/utils/partition.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/partition.js +15 -0
- package/dist/cjs/core/url/index.d.ts +2 -0
- package/dist/cjs/core/url/index.js +7 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +49 -0
- package/dist/cjs/core/url/qs.d.ts +6 -0
- package/dist/cjs/core/url/qs.js +64 -0
- package/dist/cjs/core/websocket/ws.d.ts +32 -22
- package/dist/cjs/core/websocket/ws.js +15 -7
- package/dist/cjs/custom/CortiAuth.d.ts +9 -9
- package/dist/cjs/custom/CortiAuth.js +29 -22
- package/dist/cjs/custom/CortiClient.js +2 -2
- package/dist/cjs/custom/CustomStream.d.ts +6 -3
- package/dist/cjs/custom/CustomStream.js +47 -19
- package/dist/cjs/custom/CustomStreamSocket.js +1 -1
- package/dist/cjs/custom/CustomTranscribe.d.ts +6 -3
- package/dist/cjs/custom/CustomTranscribe.js +46 -20
- package/dist/cjs/custom/CustomTranscribeSocket.js +1 -1
- package/dist/cjs/custom/RefreshBearerProvider.d.ts +3 -3
- package/dist/cjs/custom/RefreshBearerProvider.js +9 -9
- package/dist/cjs/index.d.ts +7 -4
- package/dist/cjs/index.js +12 -8
- package/dist/cjs/serialization/index.d.ts +2 -0
- package/dist/cjs/serialization/index.js +18 -0
- package/dist/cjs/serialization/resources/auth/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/auth/client/index.js +17 -0
- package/dist/cjs/serialization/resources/auth/client/requests/AuthGetTokenRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/auth/client/requests/AuthGetTokenRequest.js +44 -0
- package/dist/cjs/serialization/resources/auth/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/auth/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/auth/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/auth/index.js +18 -0
- package/dist/cjs/serialization/resources/auth/types/GetTokenResponse.d.ts +16 -0
- package/dist/cjs/serialization/resources/auth/types/GetTokenResponse.js +47 -0
- package/dist/cjs/serialization/resources/auth/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/auth/types/index.js +17 -0
- package/dist/cjs/serialization/resources/documents/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/documents/client/index.js +17 -0
- package/dist/cjs/serialization/resources/documents/client/requests/DocumentsUpdateRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/documents/client/requests/DocumentsUpdateRequest.js +45 -0
- package/dist/cjs/serialization/resources/documents/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/documents/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/documents/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/documents/index.js +17 -0
- package/dist/cjs/serialization/resources/facts/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/facts/client/index.js +17 -0
- package/dist/cjs/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.js +44 -0
- package/dist/cjs/serialization/resources/facts/client/requests/FactsCreateRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/facts/client/requests/FactsCreateRequest.js +44 -0
- package/dist/cjs/serialization/resources/facts/client/requests/FactsUpdateRequest.d.ts +16 -0
- package/dist/cjs/serialization/resources/facts/client/requests/FactsUpdateRequest.js +47 -0
- package/dist/cjs/serialization/resources/facts/client/requests/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/facts/client/requests/index.js +9 -0
- package/dist/cjs/serialization/resources/facts/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/facts/index.js +17 -0
- package/dist/cjs/serialization/resources/index.d.ts +17 -0
- package/dist/cjs/serialization/resources/index.js +56 -0
- package/dist/cjs/serialization/resources/interactions/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/interactions/client/index.js +17 -0
- package/dist/cjs/serialization/resources/interactions/client/requests/InteractionsCreateRequest.d.ts +17 -0
- package/dist/cjs/serialization/resources/interactions/client/requests/InteractionsCreateRequest.js +48 -0
- package/dist/cjs/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.d.ts +17 -0
- package/dist/cjs/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.js +48 -0
- package/dist/cjs/serialization/resources/interactions/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/interactions/client/requests/index.js +7 -0
- package/dist/cjs/serialization/resources/interactions/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/interactions/index.js +18 -0
- package/dist/cjs/serialization/resources/interactions/types/InteractionsListRequestSort.d.ts +10 -0
- package/dist/cjs/serialization/resources/interactions/types/InteractionsListRequestSort.js +41 -0
- package/dist/cjs/serialization/resources/interactions/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/interactions/types/index.js +17 -0
- package/dist/cjs/serialization/resources/stream/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/stream/client/index.js +17 -0
- package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.d.ts +16 -0
- package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.js +54 -0
- package/dist/cjs/serialization/resources/stream/client/socket/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/stream/client/socket/index.js +5 -0
- package/dist/cjs/serialization/resources/stream/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/stream/index.js +17 -0
- package/dist/cjs/serialization/resources/transcribe/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/transcribe/client/index.js +17 -0
- package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.ts +16 -0
- package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.js +54 -0
- package/dist/cjs/serialization/resources/transcribe/client/socket/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/transcribe/client/socket/index.js +5 -0
- package/dist/cjs/serialization/resources/transcribe/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/transcribe/index.js +17 -0
- package/dist/cjs/serialization/resources/transcripts/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/transcripts/client/index.js +17 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +22 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js +53 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/transcripts/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/transcripts/index.js +18 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +10 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.js +41 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.ts +10 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.js +41 -0
- package/dist/cjs/serialization/resources/transcripts/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/transcripts/types/index.js +18 -0
- package/dist/cjs/serialization/types/CommonSortingDirectionEnum.d.ts +10 -0
- package/dist/cjs/serialization/types/CommonSortingDirectionEnum.js +41 -0
- package/dist/cjs/serialization/types/CommonSourceEnum.d.ts +10 -0
- package/dist/cjs/serialization/types/CommonSourceEnum.js +41 -0
- package/dist/cjs/serialization/types/CommonTranscript.d.ts +17 -0
- package/dist/cjs/serialization/types/CommonTranscript.js +48 -0
- package/dist/cjs/serialization/types/CommonUsageInfo.d.ts +12 -0
- package/dist/cjs/serialization/types/CommonUsageInfo.js +43 -0
- package/dist/cjs/serialization/types/DocumentsContext.d.ts +15 -0
- package/dist/cjs/serialization/types/DocumentsContext.js +46 -0
- package/dist/cjs/serialization/types/DocumentsContextData.d.ts +12 -0
- package/dist/cjs/serialization/types/DocumentsContextData.js +47 -0
- package/dist/cjs/serialization/types/DocumentsContextTypeEnum.d.ts +10 -0
- package/dist/cjs/serialization/types/DocumentsContextTypeEnum.js +41 -0
- package/dist/cjs/serialization/types/DocumentsCreateRequest.d.ts +13 -0
- package/dist/cjs/serialization/types/DocumentsCreateRequest.js +48 -0
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplate.d.ts +18 -0
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplate.js +49 -0
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.d.ts +18 -0
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.js +49 -0
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateKey.d.ts +17 -0
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateKey.js +48 -0
- package/dist/cjs/serialization/types/DocumentsGetResponse.d.ts +23 -0
- package/dist/cjs/serialization/types/DocumentsGetResponse.js +54 -0
- package/dist/cjs/serialization/types/DocumentsListResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/DocumentsListResponse.js +44 -0
- package/dist/cjs/serialization/types/DocumentsSection.d.ts +17 -0
- package/dist/cjs/serialization/types/DocumentsSection.js +48 -0
- package/dist/cjs/serialization/types/DocumentsSectionInput.d.ts +15 -0
- package/dist/cjs/serialization/types/DocumentsSectionInput.js +46 -0
- package/dist/cjs/serialization/types/DocumentsTemplate.d.ts +16 -0
- package/dist/cjs/serialization/types/DocumentsTemplate.js +47 -0
- package/dist/cjs/serialization/types/ErrorResponse.d.ts +17 -0
- package/dist/cjs/serialization/types/ErrorResponse.js +48 -0
- package/dist/cjs/serialization/types/FactsBatchUpdateInput.d.ts +16 -0
- package/dist/cjs/serialization/types/FactsBatchUpdateInput.js +47 -0
- package/dist/cjs/serialization/types/FactsBatchUpdateItem.d.ts +21 -0
- package/dist/cjs/serialization/types/FactsBatchUpdateItem.js +52 -0
- package/dist/cjs/serialization/types/FactsBatchUpdateResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/FactsBatchUpdateResponse.js +44 -0
- package/dist/cjs/serialization/types/FactsContext.d.ts +15 -0
- package/dist/cjs/serialization/types/FactsContext.js +46 -0
- package/dist/cjs/serialization/types/FactsCreateInput.d.ts +15 -0
- package/dist/cjs/serialization/types/FactsCreateInput.js +46 -0
- package/dist/cjs/serialization/types/FactsCreateItem.d.ts +20 -0
- package/dist/cjs/serialization/types/FactsCreateItem.js +51 -0
- package/dist/cjs/serialization/types/FactsCreateResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/FactsCreateResponse.js +44 -0
- package/dist/cjs/serialization/types/FactsEvidence.d.ts +14 -0
- package/dist/cjs/serialization/types/FactsEvidence.js +45 -0
- package/dist/cjs/serialization/types/FactsFactGroupsItem.d.ts +16 -0
- package/dist/cjs/serialization/types/FactsFactGroupsItem.js +47 -0
- package/dist/cjs/serialization/types/FactsFactGroupsItemTranslationsItem.d.ts +14 -0
- package/dist/cjs/serialization/types/FactsFactGroupsItemTranslationsItem.js +45 -0
- package/dist/cjs/serialization/types/FactsFactGroupsListResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/FactsFactGroupsListResponse.js +44 -0
- package/dist/cjs/serialization/types/FactsListItem.d.ts +23 -0
- package/dist/cjs/serialization/types/FactsListItem.js +54 -0
- package/dist/cjs/serialization/types/FactsListResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/FactsListResponse.js +44 -0
- package/dist/cjs/serialization/types/FactsUpdateResponse.d.ts +21 -0
- package/dist/cjs/serialization/types/FactsUpdateResponse.js +52 -0
- package/dist/cjs/serialization/types/InteractionsCreateResponse.d.ts +14 -0
- package/dist/cjs/serialization/types/InteractionsCreateResponse.js +45 -0
- package/dist/cjs/serialization/types/InteractionsEncounterCreateRequest.d.ts +19 -0
- package/dist/cjs/serialization/types/InteractionsEncounterCreateRequest.js +50 -0
- package/dist/cjs/serialization/types/InteractionsEncounterPeriod.d.ts +13 -0
- package/dist/cjs/serialization/types/InteractionsEncounterPeriod.js +44 -0
- package/dist/cjs/serialization/types/InteractionsEncounterResponse.d.ts +19 -0
- package/dist/cjs/serialization/types/InteractionsEncounterResponse.js +50 -0
- package/dist/cjs/serialization/types/InteractionsEncounterStatusEnum.d.ts +10 -0
- package/dist/cjs/serialization/types/InteractionsEncounterStatusEnum.js +41 -0
- package/dist/cjs/serialization/types/InteractionsEncounterTypeEnum.d.ts +10 -0
- package/dist/cjs/serialization/types/InteractionsEncounterTypeEnum.js +41 -0
- package/dist/cjs/serialization/types/InteractionsEncounterUpdateRequest.d.ts +19 -0
- package/dist/cjs/serialization/types/InteractionsEncounterUpdateRequest.js +50 -0
- package/dist/cjs/serialization/types/InteractionsGenderEnum.d.ts +10 -0
- package/dist/cjs/serialization/types/InteractionsGenderEnum.js +41 -0
- package/dist/cjs/serialization/types/InteractionsGetResponse.d.ts +23 -0
- package/dist/cjs/serialization/types/InteractionsGetResponse.js +54 -0
- package/dist/cjs/serialization/types/InteractionsListResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/InteractionsListResponse.js +44 -0
- package/dist/cjs/serialization/types/InteractionsPatient.d.ts +17 -0
- package/dist/cjs/serialization/types/InteractionsPatient.js +48 -0
- package/dist/cjs/serialization/types/RecordingsCreateResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/RecordingsCreateResponse.js +44 -0
- package/dist/cjs/serialization/types/RecordingsListResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/RecordingsListResponse.js +44 -0
- package/dist/cjs/serialization/types/StreamConfig.d.ts +15 -0
- package/dist/cjs/serialization/types/StreamConfig.js +46 -0
- package/dist/cjs/serialization/types/StreamConfigMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/StreamConfigMessage.js +45 -0
- package/dist/cjs/serialization/types/StreamConfigMode.d.ts +16 -0
- package/dist/cjs/serialization/types/StreamConfigMode.js +47 -0
- package/dist/cjs/serialization/types/StreamConfigModeType.d.ts +10 -0
- package/dist/cjs/serialization/types/StreamConfigModeType.js +41 -0
- package/dist/cjs/serialization/types/StreamConfigParticipant.d.ts +14 -0
- package/dist/cjs/serialization/types/StreamConfigParticipant.js +45 -0
- package/dist/cjs/serialization/types/StreamConfigParticipantRole.d.ts +10 -0
- package/dist/cjs/serialization/types/StreamConfigParticipantRole.js +41 -0
- package/dist/cjs/serialization/types/StreamConfigStatusMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/StreamConfigStatusMessage.js +45 -0
- package/dist/cjs/serialization/types/StreamConfigStatusMessageType.d.ts +10 -0
- package/dist/cjs/serialization/types/StreamConfigStatusMessageType.js +48 -0
- package/dist/cjs/serialization/types/StreamConfigTranscription.d.ts +17 -0
- package/dist/cjs/serialization/types/StreamConfigTranscription.js +48 -0
- package/dist/cjs/serialization/types/StreamEndMessage.d.ts +12 -0
- package/dist/cjs/serialization/types/StreamEndMessage.js +43 -0
- package/dist/cjs/serialization/types/StreamEndedMessage.d.ts +12 -0
- package/dist/cjs/serialization/types/StreamEndedMessage.js +43 -0
- package/dist/cjs/serialization/types/StreamErrorDetail.d.ts +16 -0
- package/dist/cjs/serialization/types/StreamErrorDetail.js +47 -0
- package/dist/cjs/serialization/types/StreamErrorMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/StreamErrorMessage.js +45 -0
- package/dist/cjs/serialization/types/StreamFact.d.ts +21 -0
- package/dist/cjs/serialization/types/StreamFact.js +52 -0
- package/dist/cjs/serialization/types/StreamFactsMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/StreamFactsMessage.js +45 -0
- package/dist/cjs/serialization/types/StreamParticipant.d.ts +12 -0
- package/dist/cjs/serialization/types/StreamParticipant.js +43 -0
- package/dist/cjs/serialization/types/StreamSupportedLanguage.d.ts +10 -0
- package/dist/cjs/serialization/types/StreamSupportedLanguage.js +56 -0
- package/dist/cjs/serialization/types/StreamTranscript.d.ts +19 -0
- package/dist/cjs/serialization/types/StreamTranscript.js +50 -0
- package/dist/cjs/serialization/types/StreamTranscriptMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/StreamTranscriptMessage.js +45 -0
- package/dist/cjs/serialization/types/StreamTranscriptTime.d.ts +13 -0
- package/dist/cjs/serialization/types/StreamTranscriptTime.js +44 -0
- package/dist/cjs/serialization/types/StreamUsageMessage.d.ts +13 -0
- package/dist/cjs/serialization/types/StreamUsageMessage.js +44 -0
- package/dist/cjs/serialization/types/TemplatesItem.d.ts +20 -0
- package/dist/cjs/serialization/types/TemplatesItem.js +51 -0
- package/dist/cjs/serialization/types/TemplatesListResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/TemplatesListResponse.js +44 -0
- package/dist/cjs/serialization/types/TemplatesSection.d.ts +21 -0
- package/dist/cjs/serialization/types/TemplatesSection.js +52 -0
- package/dist/cjs/serialization/types/TemplatesSectionListResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/TemplatesSectionListResponse.js +44 -0
- package/dist/cjs/serialization/types/TemplatesSectionSorted.d.ts +14 -0
- package/dist/cjs/serialization/types/TemplatesSectionSorted.js +45 -0
- package/dist/cjs/serialization/types/TemplatesTranslation.d.ts +14 -0
- package/dist/cjs/serialization/types/TemplatesTranslation.js +45 -0
- package/dist/cjs/serialization/types/TemplatesWritingStyle.d.ts +12 -0
- package/dist/cjs/serialization/types/TemplatesWritingStyle.js +43 -0
- package/dist/cjs/serialization/types/TranscribeCommand.d.ts +15 -0
- package/dist/cjs/serialization/types/TranscribeCommand.js +46 -0
- package/dist/cjs/serialization/types/TranscribeCommandData.d.ts +16 -0
- package/dist/cjs/serialization/types/TranscribeCommandData.js +49 -0
- package/dist/cjs/serialization/types/TranscribeCommandMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/TranscribeCommandMessage.js +45 -0
- package/dist/cjs/serialization/types/TranscribeCommandVariable.d.ts +14 -0
- package/dist/cjs/serialization/types/TranscribeCommandVariable.js +45 -0
- package/dist/cjs/serialization/types/TranscribeConfig.d.ts +18 -0
- package/dist/cjs/serialization/types/TranscribeConfig.js +49 -0
- package/dist/cjs/serialization/types/TranscribeConfigMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/TranscribeConfigMessage.js +45 -0
- package/dist/cjs/serialization/types/TranscribeConfigStatusMessage.d.ts +15 -0
- package/dist/cjs/serialization/types/TranscribeConfigStatusMessage.js +46 -0
- package/dist/cjs/serialization/types/TranscribeConfigStatusMessageType.d.ts +10 -0
- package/dist/cjs/serialization/types/TranscribeConfigStatusMessageType.js +41 -0
- package/dist/cjs/serialization/types/TranscribeEndMessage.d.ts +12 -0
- package/dist/cjs/serialization/types/TranscribeEndMessage.js +43 -0
- package/dist/cjs/serialization/types/TranscribeEndedMessage.d.ts +12 -0
- package/dist/cjs/serialization/types/TranscribeEndedMessage.js +43 -0
- package/dist/cjs/serialization/types/TranscribeErrorMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/TranscribeErrorMessage.js +45 -0
- package/dist/cjs/serialization/types/TranscribeErrorMessageError.d.ts +16 -0
- package/dist/cjs/serialization/types/TranscribeErrorMessageError.js +47 -0
- package/dist/cjs/serialization/types/TranscribeSupportedLanguage.d.ts +10 -0
- package/dist/cjs/serialization/types/TranscribeSupportedLanguage.js +56 -0
- package/dist/cjs/serialization/types/TranscribeTranscriptData.d.ts +16 -0
- package/dist/cjs/serialization/types/TranscribeTranscriptData.js +47 -0
- package/dist/cjs/serialization/types/TranscribeTranscriptMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/TranscribeTranscriptMessage.js +45 -0
- package/dist/cjs/serialization/types/TranscribeUsageMessage.d.ts +13 -0
- package/dist/cjs/serialization/types/TranscribeUsageMessage.js +44 -0
- package/dist/cjs/serialization/types/TranscriptsData.d.ts +15 -0
- package/dist/cjs/serialization/types/TranscriptsData.js +46 -0
- package/dist/cjs/serialization/types/TranscriptsListItem.d.ts +16 -0
- package/dist/cjs/serialization/types/TranscriptsListItem.js +47 -0
- package/dist/cjs/serialization/types/TranscriptsListResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/TranscriptsListResponse.js +44 -0
- package/dist/cjs/serialization/types/TranscriptsMetadata.d.ts +13 -0
- package/dist/cjs/serialization/types/TranscriptsMetadata.js +44 -0
- package/dist/cjs/serialization/types/TranscriptsParticipant.d.ts +14 -0
- package/dist/cjs/serialization/types/TranscriptsParticipant.js +45 -0
- package/dist/cjs/serialization/types/TranscriptsParticipantRoleEnum.d.ts +10 -0
- package/dist/cjs/serialization/types/TranscriptsParticipantRoleEnum.js +41 -0
- package/dist/cjs/serialization/types/TranscriptsResponse.d.ts +19 -0
- package/dist/cjs/serialization/types/TranscriptsResponse.js +50 -0
- package/dist/cjs/serialization/types/Uuid.d.ts +10 -0
- package/dist/cjs/serialization/types/Uuid.js +41 -0
- package/dist/cjs/serialization/types/index.d.ts +96 -0
- package/dist/cjs/serialization/types/index.js +112 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +62 -0
- package/dist/esm/Client.mjs +77 -0
- package/dist/esm/api/resources/auth/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/auth/client/Client.mjs +18 -6
- package/dist/esm/api/resources/auth/client/requests/AuthGetTokenRequest.d.mts +4 -4
- package/dist/esm/api/resources/auth/types/GetTokenResponse.d.mts +5 -5
- package/dist/esm/api/resources/documents/client/Client.d.mts +11 -12
- package/dist/esm/api/resources/documents/client/Client.mjs +142 -41
- package/dist/esm/api/resources/documents/client/requests/DocumentsUpdateRequest.d.mts +13 -0
- package/dist/esm/api/resources/documents/client/requests/index.d.mts +1 -3
- package/dist/esm/api/resources/documents/index.d.mts +0 -1
- package/dist/esm/api/resources/documents/index.mjs +0 -1
- package/dist/esm/api/resources/facts/client/Client.d.mts +15 -18
- package/dist/esm/api/resources/facts/client/Client.mjs +111 -36
- package/dist/esm/api/resources/facts/client/requests/FactsBatchUpdateRequest.d.mts +16 -0
- package/dist/esm/api/resources/facts/client/requests/FactsCreateRequest.d.mts +17 -0
- package/dist/esm/api/resources/facts/client/requests/FactsUpdateRequest.d.mts +18 -0
- package/dist/esm/api/resources/facts/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/facts/index.d.mts +0 -1
- package/dist/esm/api/resources/facts/index.mjs +0 -1
- package/dist/esm/api/resources/index.d.mts +2 -4
- package/dist/esm/api/resources/index.mjs +2 -4
- package/dist/esm/api/resources/interactions/client/Client.d.mts +9 -9
- package/dist/esm/api/resources/interactions/client/Client.mjs +151 -40
- package/dist/esm/api/resources/interactions/client/requests/InteractionsCreateRequest.d.mts +22 -0
- package/dist/esm/api/resources/interactions/client/requests/InteractionsListRequest.d.mts +8 -8
- package/dist/esm/api/resources/interactions/client/requests/InteractionsUpdateRequest.d.mts +16 -0
- package/dist/esm/api/resources/interactions/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/interactions/types/InteractionsListRequestSort.d.mts +5 -2
- package/dist/esm/api/resources/interactions/types/InteractionsListRequestSort.mjs +3 -0
- package/dist/esm/api/resources/interactions/types/index.d.mts +0 -1
- package/dist/esm/api/resources/interactions/types/index.mjs +0 -1
- package/dist/esm/api/resources/recordings/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/recordings/client/Client.mjs +99 -21
- package/dist/esm/api/resources/stream/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/stream/client/Client.mjs +13 -12
- package/dist/esm/api/resources/stream/client/Socket.d.mts +2 -4
- package/dist/esm/api/resources/stream/client/Socket.mjs +44 -11
- package/dist/esm/api/resources/stream/client/index.d.mts +1 -1
- package/dist/esm/api/resources/stream/client/index.mjs +1 -1
- package/dist/esm/api/resources/templates/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/templates/client/Client.mjs +70 -18
- package/dist/esm/api/resources/templates/client/requests/TemplatesListRequest.d.mts +3 -3
- package/dist/esm/api/resources/templates/client/requests/TemplatesSectionListRequest.d.mts +17 -0
- package/dist/esm/api/resources/templates/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/transcribe/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/transcribe/client/Client.mjs +15 -14
- package/dist/esm/api/resources/transcribe/client/Socket.d.mts +2 -4
- package/dist/esm/api/resources/transcribe/client/Socket.mjs +44 -11
- package/dist/esm/api/resources/transcribe/client/index.d.mts +1 -1
- package/dist/esm/api/resources/transcribe/client/index.mjs +1 -1
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +12 -11
- package/dist/esm/api/resources/transcripts/client/Client.mjs +154 -102
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +28 -0
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsListRequest.d.mts +1 -18
- package/dist/esm/api/resources/transcripts/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +12 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +8 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.mts +21 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.mjs +17 -0
- package/dist/esm/api/resources/transcripts/types/index.d.mts +2 -5
- package/dist/esm/api/resources/transcripts/types/index.mjs +2 -5
- package/dist/esm/api/types/CommonSortingDirectionEnum.d.mts +8 -0
- package/dist/esm/api/types/CommonSortingDirectionEnum.mjs +7 -0
- package/dist/esm/api/types/CommonSourceEnum.d.mts +9 -0
- package/dist/esm/api/types/CommonSourceEnum.mjs +8 -0
- package/dist/esm/api/types/CommonTranscript.d.mts +17 -0
- package/dist/esm/api/types/CommonUsageInfo.d.mts +6 -0
- package/dist/esm/api/types/DocumentsContext.d.mts +10 -0
- package/dist/esm/api/types/DocumentsContextData.d.mts +14 -0
- package/dist/esm/api/types/DocumentsContextTypeEnum.d.mts +9 -0
- package/dist/esm/api/types/DocumentsContextTypeEnum.mjs +8 -0
- package/dist/esm/api/types/DocumentsCreateRequest.d.mts +5 -0
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplate.d.mts +16 -0
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplateId.d.mts +16 -0
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplateKey.d.mts +16 -0
- package/dist/esm/api/types/DocumentsGetResponse.d.mts +22 -0
- package/dist/esm/api/types/DocumentsListResponse.d.mts +7 -0
- package/dist/esm/api/types/DocumentsSection.d.mts +17 -0
- package/dist/esm/api/types/DocumentsSectionInput.d.mts +9 -0
- package/dist/esm/api/types/DocumentsTemplate.d.mts +14 -0
- package/dist/esm/api/types/ErrorResponse.d.mts +1 -1
- package/dist/esm/api/types/FactsBatchUpdateInput.d.mts +14 -0
- package/dist/esm/api/types/FactsBatchUpdateItem.d.mts +22 -0
- package/dist/esm/api/types/FactsBatchUpdateResponse.d.mts +8 -0
- package/dist/esm/api/types/FactsContext.d.mts +12 -0
- package/dist/esm/api/types/FactsCreateInput.d.mts +12 -0
- package/dist/esm/api/types/FactsCreateItem.d.mts +20 -0
- package/dist/esm/api/types/FactsCreateResponse.d.mts +8 -0
- package/dist/esm/api/types/FactsEvidence.d.mts +11 -0
- package/dist/esm/api/types/FactsFactGroupsItem.d.mts +9 -0
- package/dist/esm/api/types/FactsFactGroupsItemTranslationsItem.d.mts +8 -0
- package/dist/esm/api/types/FactsFactGroupsListResponse.d.mts +7 -0
- package/dist/esm/api/types/FactsListItem.d.mts +23 -0
- package/dist/esm/api/types/FactsListResponse.d.mts +8 -0
- package/dist/esm/api/types/FactsUpdateResponse.d.mts +22 -0
- package/dist/esm/api/types/InteractionsCreateResponse.d.mts +10 -0
- package/dist/esm/api/types/InteractionsEncounterCreateRequest.d.mts +16 -0
- package/dist/esm/api/types/InteractionsEncounterPeriod.d.mts +9 -0
- package/dist/esm/api/types/InteractionsEncounterResponse.d.mts +16 -0
- package/dist/esm/api/types/InteractionsEncounterStatusEnum.d.mts +12 -0
- package/dist/esm/api/types/InteractionsEncounterStatusEnum.mjs +11 -0
- package/dist/esm/api/types/InteractionsEncounterTypeEnum.d.mts +11 -0
- package/dist/esm/api/types/InteractionsEncounterTypeEnum.mjs +10 -0
- package/dist/esm/api/types/InteractionsEncounterUpdateRequest.d.mts +16 -0
- package/dist/esm/api/types/InteractionsGenderEnum.d.mts +10 -0
- package/dist/esm/api/types/InteractionsGenderEnum.mjs +9 -0
- package/dist/esm/api/types/InteractionsGetResponse.d.mts +24 -0
- package/dist/esm/api/types/InteractionsListResponse.d.mts +7 -0
- package/dist/esm/api/types/InteractionsPatient.d.mts +16 -0
- package/dist/esm/api/types/RecordingsCreateResponse.d.mts +8 -0
- package/dist/esm/api/types/RecordingsListResponse.d.mts +8 -0
- package/dist/esm/api/types/StreamConfig.d.mts +8 -0
- package/dist/esm/api/types/StreamConfigMessage.d.mts +8 -0
- package/dist/esm/api/types/StreamConfigMode.d.mts +4 -2
- package/dist/esm/api/types/StreamConfigModeType.d.mts +2 -1
- package/dist/esm/api/types/StreamConfigModeType.mjs +1 -0
- package/dist/esm/api/types/StreamConfigParticipant.d.mts +10 -0
- package/dist/esm/api/types/StreamConfigParticipantRole.d.mts +12 -0
- package/dist/esm/api/types/StreamConfigParticipantRole.mjs +8 -0
- package/dist/esm/api/types/StreamConfigStatusMessage.d.mts +0 -2
- package/dist/esm/api/types/StreamConfigTranscription.d.mts +3 -3
- package/dist/esm/api/types/StreamErrorDetail.d.mts +5 -5
- package/dist/esm/api/types/StreamErrorMessage.d.mts +1 -1
- package/dist/esm/api/types/StreamFact.d.mts +6 -2
- package/dist/esm/api/types/StreamParticipant.d.mts +0 -3
- package/dist/esm/api/types/StreamSupportedLanguage.d.mts +23 -0
- package/dist/esm/api/types/StreamSupportedLanguage.mjs +19 -0
- package/dist/esm/api/types/TemplatesItem.d.mts +20 -0
- package/dist/esm/api/types/TemplatesListResponse.d.mts +8 -0
- package/dist/esm/api/types/TemplatesSection.d.mts +22 -0
- package/dist/esm/api/types/TemplatesSectionListResponse.d.mts +8 -0
- package/dist/esm/api/types/TemplatesSectionSorted.d.mts +10 -0
- package/dist/esm/api/types/TemplatesTranslation.d.mts +11 -0
- package/dist/esm/api/types/TemplatesWritingStyle.d.mts +7 -0
- package/dist/esm/api/types/TranscribeCommand.d.mts +1 -1
- package/dist/esm/api/types/TranscribeCommandData.d.mts +1 -1
- package/dist/esm/api/types/TranscribeCommandVariable.d.mts +2 -2
- package/dist/esm/api/types/TranscribeConfig.d.mts +16 -0
- package/dist/esm/api/types/TranscribeConfigMessage.d.mts +8 -0
- package/dist/esm/api/types/TranscribeErrorMessage.d.mts +1 -1
- package/dist/esm/api/types/TranscribeErrorMessageError.d.mts +4 -4
- package/dist/esm/api/types/TranscribeSupportedLanguage.d.mts +23 -0
- package/dist/esm/api/types/TranscribeSupportedLanguage.mjs +19 -0
- package/dist/esm/api/types/TranscriptsData.d.mts +10 -0
- package/dist/esm/api/types/TranscriptsListItem.d.mts +10 -0
- package/dist/esm/api/types/TranscriptsListResponse.d.mts +7 -0
- package/dist/esm/api/types/TranscriptsMetadata.d.mts +7 -0
- package/dist/esm/api/types/TranscriptsParticipant.d.mts +10 -0
- package/dist/esm/api/types/TranscriptsParticipantRoleEnum.d.mts +9 -0
- package/dist/esm/api/types/TranscriptsParticipantRoleEnum.mjs +8 -0
- package/dist/esm/api/types/TranscriptsResponse.d.mts +13 -0
- package/dist/esm/api/types/index.d.mts +65 -60
- package/dist/esm/api/types/index.mjs +65 -60
- package/dist/esm/core/auth/BasicAuth.mjs +3 -3
- package/dist/esm/core/auth/OAuthTokenProvider.mjs +4 -4
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -1
- package/dist/esm/core/fetcher/createRequestUrl.mjs +3 -4
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -4
- package/dist/esm/core/fetcher/getFetchFn.mjs +1 -19
- package/dist/esm/core/index.d.mts +3 -0
- package/dist/esm/core/index.mjs +3 -0
- package/dist/esm/core/schemas/Schema.d.mts +87 -0
- package/dist/esm/core/schemas/Schema.mjs +21 -0
- package/dist/esm/core/schemas/builders/bigint/bigint.d.mts +2 -0
- package/dist/esm/core/schemas/builders/bigint/bigint.mjs +50 -0
- package/dist/esm/core/schemas/builders/bigint/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/bigint/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/date/date.d.mts +2 -0
- package/dist/esm/core/schemas/builders/date/date.mjs +59 -0
- package/dist/esm/core/schemas/builders/date/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/date/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/enum/enum.d.mts +2 -0
- package/dist/esm/core/schemas/builders/enum/enum.mjs +35 -0
- package/dist/esm/core/schemas/builders/enum/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/enum/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/index.d.mts +14 -0
- package/dist/esm/core/schemas/builders/index.mjs +14 -0
- package/dist/esm/core/schemas/builders/lazy/index.d.mts +3 -0
- package/dist/esm/core/schemas/builders/lazy/index.mjs +2 -0
- package/dist/esm/core/schemas/builders/lazy/lazy.d.mts +5 -0
- package/dist/esm/core/schemas/builders/lazy/lazy.mjs +19 -0
- package/dist/esm/core/schemas/builders/lazy/lazyObject.d.mts +3 -0
- package/dist/esm/core/schemas/builders/lazy/lazyObject.mjs +8 -0
- package/dist/esm/core/schemas/builders/list/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/list/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/list/list.d.mts +2 -0
- package/dist/esm/core/schemas/builders/list/list.mjs +51 -0
- package/dist/esm/core/schemas/builders/literals/booleanLiteral.d.mts +2 -0
- package/dist/esm/core/schemas/builders/literals/booleanLiteral.mjs +25 -0
- package/dist/esm/core/schemas/builders/literals/index.d.mts +2 -0
- package/dist/esm/core/schemas/builders/literals/index.mjs +2 -0
- package/dist/esm/core/schemas/builders/literals/stringLiteral.d.mts +2 -0
- package/dist/esm/core/schemas/builders/literals/stringLiteral.mjs +25 -0
- package/dist/esm/core/schemas/builders/object/index.d.mts +6 -0
- package/dist/esm/core/schemas/builders/object/index.mjs +3 -0
- package/dist/esm/core/schemas/builders/object/object.d.mts +3 -0
- package/dist/esm/core/schemas/builders/object/object.mjs +257 -0
- package/dist/esm/core/schemas/builders/object/objectWithoutOptionalProperties.d.mts +6 -0
- package/dist/esm/core/schemas/builders/object/objectWithoutOptionalProperties.mjs +4 -0
- package/dist/esm/core/schemas/builders/object/property.d.mts +8 -0
- package/dist/esm/core/schemas/builders/object/property.mjs +11 -0
- package/dist/esm/core/schemas/builders/object/types.d.mts +31 -0
- package/dist/esm/core/schemas/builders/object/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/object-like/getObjectLikeUtils.d.mts +9 -0
- package/dist/esm/core/schemas/builders/object-like/getObjectLikeUtils.mjs +49 -0
- package/dist/esm/core/schemas/builders/object-like/index.d.mts +2 -0
- package/dist/esm/core/schemas/builders/object-like/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/object-like/types.d.mts +7 -0
- package/dist/esm/core/schemas/builders/object-like/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/primitives/any.d.mts +1 -0
- package/dist/esm/core/schemas/builders/primitives/any.mjs +3 -0
- package/dist/esm/core/schemas/builders/primitives/boolean.d.mts +1 -0
- package/dist/esm/core/schemas/builders/primitives/boolean.mjs +22 -0
- package/dist/esm/core/schemas/builders/primitives/index.d.mts +5 -0
- package/dist/esm/core/schemas/builders/primitives/index.mjs +5 -0
- package/dist/esm/core/schemas/builders/primitives/number.d.mts +1 -0
- package/dist/esm/core/schemas/builders/primitives/number.mjs +22 -0
- package/dist/esm/core/schemas/builders/primitives/string.d.mts +1 -0
- package/dist/esm/core/schemas/builders/primitives/string.mjs +22 -0
- package/dist/esm/core/schemas/builders/primitives/unknown.d.mts +1 -0
- package/dist/esm/core/schemas/builders/primitives/unknown.mjs +3 -0
- package/dist/esm/core/schemas/builders/record/index.d.mts +2 -0
- package/dist/esm/core/schemas/builders/record/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/record/record.d.mts +3 -0
- package/dist/esm/core/schemas/builders/record/record.mjs +90 -0
- package/dist/esm/core/schemas/builders/record/types.d.mts +4 -0
- package/dist/esm/core/schemas/builders/record/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/schema-utils/JsonError.d.mts +5 -0
- package/dist/esm/core/schemas/builders/schema-utils/JsonError.mjs +8 -0
- package/dist/esm/core/schemas/builders/schema-utils/ParseError.d.mts +5 -0
- package/dist/esm/core/schemas/builders/schema-utils/ParseError.mjs +8 -0
- package/dist/esm/core/schemas/builders/schema-utils/getSchemaUtils.d.mts +21 -0
- package/dist/esm/core/schemas/builders/schema-utils/getSchemaUtils.mjs +138 -0
- package/dist/esm/core/schemas/builders/schema-utils/index.d.mts +4 -0
- package/dist/esm/core/schemas/builders/schema-utils/index.mjs +3 -0
- package/dist/esm/core/schemas/builders/schema-utils/stringifyValidationErrors.d.mts +2 -0
- package/dist/esm/core/schemas/builders/schema-utils/stringifyValidationErrors.mjs +6 -0
- package/dist/esm/core/schemas/builders/set/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/set/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/set/set.d.mts +2 -0
- package/dist/esm/core/schemas/builders/set/set.mjs +40 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/index.d.mts +2 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/types.d.mts +4 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.mts +3 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.mjs +36 -0
- package/dist/esm/core/schemas/builders/union/discriminant.d.mts +5 -0
- package/dist/esm/core/schemas/builders/union/discriminant.mjs +6 -0
- package/dist/esm/core/schemas/builders/union/index.d.mts +4 -0
- package/dist/esm/core/schemas/builders/union/index.mjs +2 -0
- package/dist/esm/core/schemas/builders/union/types.d.mts +13 -0
- package/dist/esm/core/schemas/builders/union/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/union/union.d.mts +4 -0
- package/dist/esm/core/schemas/builders/union/union.mjs +126 -0
- package/dist/esm/core/schemas/index.d.mts +2 -0
- package/dist/esm/core/schemas/index.mjs +1 -0
- package/dist/esm/core/schemas/utils/MaybePromise.d.mts +1 -0
- package/dist/esm/core/schemas/utils/MaybePromise.mjs +1 -0
- package/dist/esm/core/schemas/utils/addQuestionMarksToNullableProperties.d.mts +7 -0
- package/dist/esm/core/schemas/utils/addQuestionMarksToNullableProperties.mjs +1 -0
- package/dist/esm/core/schemas/utils/createIdentitySchemaCreator.d.mts +2 -0
- package/dist/esm/core/schemas/utils/createIdentitySchemaCreator.mjs +12 -0
- package/dist/esm/core/schemas/utils/entries.d.mts +1 -0
- package/dist/esm/core/schemas/utils/entries.mjs +3 -0
- package/dist/esm/core/schemas/utils/filterObject.d.mts +1 -0
- package/dist/esm/core/schemas/utils/filterObject.mjs +10 -0
- package/dist/esm/core/schemas/utils/getErrorMessageForIncorrectType.d.mts +1 -0
- package/dist/esm/core/schemas/utils/getErrorMessageForIncorrectType.mjs +24 -0
- package/dist/esm/core/schemas/utils/isPlainObject.d.mts +1 -0
- package/dist/esm/core/schemas/utils/isPlainObject.mjs +14 -0
- package/dist/esm/core/schemas/utils/keys.d.mts +1 -0
- package/dist/esm/core/schemas/utils/keys.mjs +3 -0
- package/dist/esm/core/schemas/utils/maybeSkipValidation.d.mts +2 -0
- package/dist/esm/core/schemas/utils/maybeSkipValidation.mjs +24 -0
- package/dist/esm/core/schemas/utils/partition.d.mts +1 -0
- package/dist/esm/core/schemas/utils/partition.mjs +12 -0
- package/dist/esm/core/url/index.d.mts +2 -0
- package/dist/esm/core/url/index.mjs +2 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +46 -0
- package/dist/esm/core/url/qs.d.mts +6 -0
- package/dist/esm/core/url/qs.mjs +61 -0
- package/dist/esm/core/websocket/ws.d.mts +32 -22
- package/dist/esm/core/websocket/ws.mjs +15 -7
- package/dist/esm/custom/CortiAuth.d.mts +9 -9
- package/dist/esm/custom/CortiAuth.mjs +29 -19
- package/dist/esm/custom/CortiClient.mjs +2 -2
- package/dist/esm/custom/CustomStream.d.mts +6 -3
- package/dist/esm/custom/CustomStream.mjs +47 -19
- package/dist/esm/custom/CustomStreamSocket.mjs +1 -1
- package/dist/esm/custom/CustomTranscribe.d.mts +6 -3
- package/dist/esm/custom/CustomTranscribe.mjs +46 -20
- package/dist/esm/custom/CustomTranscribeSocket.mjs +1 -1
- package/dist/esm/custom/RefreshBearerProvider.d.mts +3 -3
- package/dist/esm/custom/RefreshBearerProvider.mjs +9 -9
- package/dist/esm/index.d.mts +7 -4
- package/dist/esm/index.mjs +7 -5
- package/dist/esm/serialization/index.d.mts +2 -0
- package/dist/esm/serialization/index.mjs +2 -0
- package/dist/esm/serialization/resources/auth/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/auth/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/auth/client/requests/AuthGetTokenRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/auth/client/requests/AuthGetTokenRequest.mjs +8 -0
- package/dist/esm/serialization/resources/auth/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/auth/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/auth/index.d.mts +2 -0
- package/dist/esm/serialization/resources/auth/index.mjs +2 -0
- package/dist/esm/serialization/resources/auth/types/GetTokenResponse.d.mts +16 -0
- package/dist/esm/serialization/resources/auth/types/GetTokenResponse.mjs +11 -0
- package/dist/esm/serialization/resources/auth/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/auth/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/documents/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/documents/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/documents/client/requests/DocumentsUpdateRequest.d.mts +14 -0
- package/dist/esm/serialization/resources/documents/client/requests/DocumentsUpdateRequest.mjs +9 -0
- package/dist/esm/serialization/resources/documents/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/documents/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/documents/index.d.mts +1 -0
- package/dist/esm/serialization/resources/documents/index.mjs +1 -0
- package/dist/esm/serialization/resources/facts/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/facts/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.mjs +8 -0
- package/dist/esm/serialization/resources/facts/client/requests/FactsCreateRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/facts/client/requests/FactsCreateRequest.mjs +8 -0
- package/dist/esm/serialization/resources/facts/client/requests/FactsUpdateRequest.d.mts +16 -0
- package/dist/esm/serialization/resources/facts/client/requests/FactsUpdateRequest.mjs +11 -0
- package/dist/esm/serialization/resources/facts/client/requests/index.d.mts +3 -0
- package/dist/esm/serialization/resources/facts/client/requests/index.mjs +3 -0
- package/dist/esm/serialization/resources/facts/index.d.mts +1 -0
- package/dist/esm/serialization/resources/facts/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +17 -0
- package/dist/esm/serialization/resources/index.mjs +17 -0
- package/dist/esm/serialization/resources/interactions/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/interactions/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/interactions/client/requests/InteractionsCreateRequest.d.mts +17 -0
- package/dist/esm/serialization/resources/interactions/client/requests/InteractionsCreateRequest.mjs +12 -0
- package/dist/esm/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.d.mts +17 -0
- package/dist/esm/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.mjs +12 -0
- package/dist/esm/serialization/resources/interactions/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/interactions/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/interactions/index.d.mts +2 -0
- package/dist/esm/serialization/resources/interactions/index.mjs +2 -0
- package/dist/esm/serialization/resources/interactions/types/InteractionsListRequestSort.d.mts +10 -0
- package/dist/esm/serialization/resources/interactions/types/InteractionsListRequestSort.mjs +5 -0
- package/dist/esm/serialization/resources/interactions/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/interactions/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/stream/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/stream/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.d.mts +16 -0
- package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.mjs +18 -0
- package/dist/esm/serialization/resources/stream/client/socket/index.d.mts +1 -0
- package/dist/esm/serialization/resources/stream/client/socket/index.mjs +1 -0
- package/dist/esm/serialization/resources/stream/index.d.mts +1 -0
- package/dist/esm/serialization/resources/stream/index.mjs +1 -0
- package/dist/esm/serialization/resources/transcribe/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/transcribe/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.mts +16 -0
- package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs +18 -0
- package/dist/esm/serialization/resources/transcribe/client/socket/index.d.mts +1 -0
- package/dist/esm/serialization/resources/transcribe/client/socket/index.mjs +1 -0
- package/dist/esm/serialization/resources/transcribe/index.d.mts +1 -0
- package/dist/esm/serialization/resources/transcribe/index.mjs +1 -0
- package/dist/esm/serialization/resources/transcripts/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/transcripts/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +22 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs +17 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/transcripts/index.d.mts +2 -0
- package/dist/esm/serialization/resources/transcripts/index.mjs +2 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +10 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +5 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.mts +10 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.mjs +5 -0
- package/dist/esm/serialization/resources/transcripts/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/transcripts/types/index.mjs +2 -0
- package/dist/esm/serialization/types/CommonSortingDirectionEnum.d.mts +10 -0
- package/dist/esm/serialization/types/CommonSortingDirectionEnum.mjs +5 -0
- package/dist/esm/serialization/types/CommonSourceEnum.d.mts +10 -0
- package/dist/esm/serialization/types/CommonSourceEnum.mjs +5 -0
- package/dist/esm/serialization/types/CommonTranscript.d.mts +17 -0
- package/dist/esm/serialization/types/CommonTranscript.mjs +12 -0
- package/dist/esm/serialization/types/CommonUsageInfo.d.mts +12 -0
- package/dist/esm/serialization/types/CommonUsageInfo.mjs +7 -0
- package/dist/esm/serialization/types/DocumentsContext.d.mts +15 -0
- package/dist/esm/serialization/types/DocumentsContext.mjs +10 -0
- package/dist/esm/serialization/types/DocumentsContextData.d.mts +12 -0
- package/dist/esm/serialization/types/DocumentsContextData.mjs +11 -0
- package/dist/esm/serialization/types/DocumentsContextTypeEnum.d.mts +10 -0
- package/dist/esm/serialization/types/DocumentsContextTypeEnum.mjs +5 -0
- package/dist/esm/serialization/types/DocumentsCreateRequest.d.mts +13 -0
- package/dist/esm/serialization/types/DocumentsCreateRequest.mjs +12 -0
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.d.mts +18 -0
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.mjs +13 -0
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.d.mts +18 -0
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.mjs +13 -0
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.d.mts +17 -0
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.mjs +12 -0
- package/dist/esm/serialization/types/DocumentsGetResponse.d.mts +23 -0
- package/dist/esm/serialization/types/DocumentsGetResponse.mjs +18 -0
- package/dist/esm/serialization/types/DocumentsListResponse.d.mts +13 -0
- package/dist/esm/serialization/types/DocumentsListResponse.mjs +8 -0
- package/dist/esm/serialization/types/DocumentsSection.d.mts +17 -0
- package/dist/esm/serialization/types/DocumentsSection.mjs +12 -0
- package/dist/esm/serialization/types/DocumentsSectionInput.d.mts +15 -0
- package/dist/esm/serialization/types/DocumentsSectionInput.mjs +10 -0
- package/dist/esm/serialization/types/DocumentsTemplate.d.mts +16 -0
- package/dist/esm/serialization/types/DocumentsTemplate.mjs +11 -0
- package/dist/esm/serialization/types/ErrorResponse.d.mts +17 -0
- package/dist/esm/serialization/types/ErrorResponse.mjs +12 -0
- package/dist/esm/serialization/types/FactsBatchUpdateInput.d.mts +16 -0
- package/dist/esm/serialization/types/FactsBatchUpdateInput.mjs +11 -0
- package/dist/esm/serialization/types/FactsBatchUpdateItem.d.mts +21 -0
- package/dist/esm/serialization/types/FactsBatchUpdateItem.mjs +16 -0
- package/dist/esm/serialization/types/FactsBatchUpdateResponse.d.mts +13 -0
- package/dist/esm/serialization/types/FactsBatchUpdateResponse.mjs +8 -0
- package/dist/esm/serialization/types/FactsContext.d.mts +15 -0
- package/dist/esm/serialization/types/FactsContext.mjs +10 -0
- package/dist/esm/serialization/types/FactsCreateInput.d.mts +15 -0
- package/dist/esm/serialization/types/FactsCreateInput.mjs +10 -0
- package/dist/esm/serialization/types/FactsCreateItem.d.mts +20 -0
- package/dist/esm/serialization/types/FactsCreateItem.mjs +15 -0
- package/dist/esm/serialization/types/FactsCreateResponse.d.mts +13 -0
- package/dist/esm/serialization/types/FactsCreateResponse.mjs +8 -0
- package/dist/esm/serialization/types/FactsEvidence.d.mts +14 -0
- package/dist/esm/serialization/types/FactsEvidence.mjs +9 -0
- package/dist/esm/serialization/types/FactsFactGroupsItem.d.mts +16 -0
- package/dist/esm/serialization/types/FactsFactGroupsItem.mjs +11 -0
- package/dist/esm/serialization/types/FactsFactGroupsItemTranslationsItem.d.mts +14 -0
- package/dist/esm/serialization/types/FactsFactGroupsItemTranslationsItem.mjs +9 -0
- package/dist/esm/serialization/types/FactsFactGroupsListResponse.d.mts +13 -0
- package/dist/esm/serialization/types/FactsFactGroupsListResponse.mjs +8 -0
- package/dist/esm/serialization/types/FactsListItem.d.mts +23 -0
- package/dist/esm/serialization/types/FactsListItem.mjs +18 -0
- package/dist/esm/serialization/types/FactsListResponse.d.mts +13 -0
- package/dist/esm/serialization/types/FactsListResponse.mjs +8 -0
- package/dist/esm/serialization/types/FactsUpdateResponse.d.mts +21 -0
- package/dist/esm/serialization/types/FactsUpdateResponse.mjs +16 -0
- package/dist/esm/serialization/types/InteractionsCreateResponse.d.mts +14 -0
- package/dist/esm/serialization/types/InteractionsCreateResponse.mjs +9 -0
- package/dist/esm/serialization/types/InteractionsEncounterCreateRequest.d.mts +19 -0
- package/dist/esm/serialization/types/InteractionsEncounterCreateRequest.mjs +14 -0
- package/dist/esm/serialization/types/InteractionsEncounterPeriod.d.mts +13 -0
- package/dist/esm/serialization/types/InteractionsEncounterPeriod.mjs +8 -0
- package/dist/esm/serialization/types/InteractionsEncounterResponse.d.mts +19 -0
- package/dist/esm/serialization/types/InteractionsEncounterResponse.mjs +14 -0
- package/dist/esm/serialization/types/InteractionsEncounterStatusEnum.d.mts +10 -0
- package/dist/esm/serialization/types/InteractionsEncounterStatusEnum.mjs +5 -0
- package/dist/esm/serialization/types/InteractionsEncounterTypeEnum.d.mts +10 -0
- package/dist/esm/serialization/types/InteractionsEncounterTypeEnum.mjs +5 -0
- package/dist/esm/serialization/types/InteractionsEncounterUpdateRequest.d.mts +19 -0
- package/dist/esm/serialization/types/InteractionsEncounterUpdateRequest.mjs +14 -0
- package/dist/esm/serialization/types/InteractionsGenderEnum.d.mts +10 -0
- package/dist/esm/serialization/types/InteractionsGenderEnum.mjs +5 -0
- package/dist/esm/serialization/types/InteractionsGetResponse.d.mts +23 -0
- package/dist/esm/serialization/types/InteractionsGetResponse.mjs +18 -0
- package/dist/esm/serialization/types/InteractionsListResponse.d.mts +13 -0
- package/dist/esm/serialization/types/InteractionsListResponse.mjs +8 -0
- package/dist/esm/serialization/types/InteractionsPatient.d.mts +17 -0
- package/dist/esm/serialization/types/InteractionsPatient.mjs +12 -0
- package/dist/esm/serialization/types/RecordingsCreateResponse.d.mts +13 -0
- package/dist/esm/serialization/types/RecordingsCreateResponse.mjs +8 -0
- package/dist/esm/serialization/types/RecordingsListResponse.d.mts +13 -0
- package/dist/esm/serialization/types/RecordingsListResponse.mjs +8 -0
- package/dist/esm/serialization/types/StreamConfig.d.mts +15 -0
- package/dist/esm/serialization/types/StreamConfig.mjs +10 -0
- package/dist/esm/serialization/types/StreamConfigMessage.d.mts +14 -0
- package/dist/esm/serialization/types/StreamConfigMessage.mjs +9 -0
- package/dist/esm/serialization/types/StreamConfigMode.d.mts +16 -0
- package/dist/esm/serialization/types/StreamConfigMode.mjs +11 -0
- package/dist/esm/serialization/types/StreamConfigModeType.d.mts +10 -0
- package/dist/esm/serialization/types/StreamConfigModeType.mjs +5 -0
- package/dist/esm/serialization/types/StreamConfigParticipant.d.mts +14 -0
- package/dist/esm/serialization/types/StreamConfigParticipant.mjs +9 -0
- package/dist/esm/serialization/types/StreamConfigParticipantRole.d.mts +10 -0
- package/dist/esm/serialization/types/StreamConfigParticipantRole.mjs +5 -0
- package/dist/esm/serialization/types/StreamConfigStatusMessage.d.mts +14 -0
- package/dist/esm/serialization/types/StreamConfigStatusMessage.mjs +9 -0
- package/dist/esm/serialization/types/StreamConfigStatusMessageType.d.mts +10 -0
- package/dist/esm/serialization/types/StreamConfigStatusMessageType.mjs +12 -0
- package/dist/esm/serialization/types/StreamConfigTranscription.d.mts +17 -0
- package/dist/esm/serialization/types/StreamConfigTranscription.mjs +12 -0
- package/dist/esm/serialization/types/StreamEndMessage.d.mts +12 -0
- package/dist/esm/serialization/types/StreamEndMessage.mjs +7 -0
- package/dist/esm/serialization/types/StreamEndedMessage.d.mts +12 -0
- package/dist/esm/serialization/types/StreamEndedMessage.mjs +7 -0
- package/dist/esm/serialization/types/StreamErrorDetail.d.mts +16 -0
- package/dist/esm/serialization/types/StreamErrorDetail.mjs +11 -0
- package/dist/esm/serialization/types/StreamErrorMessage.d.mts +14 -0
- package/dist/esm/serialization/types/StreamErrorMessage.mjs +9 -0
- package/dist/esm/serialization/types/StreamFact.d.mts +21 -0
- package/dist/esm/serialization/types/StreamFact.mjs +16 -0
- package/dist/esm/serialization/types/StreamFactsMessage.d.mts +14 -0
- package/dist/esm/serialization/types/StreamFactsMessage.mjs +9 -0
- package/dist/esm/serialization/types/StreamParticipant.d.mts +12 -0
- package/dist/esm/serialization/types/StreamParticipant.mjs +7 -0
- package/dist/esm/serialization/types/StreamSupportedLanguage.d.mts +10 -0
- package/dist/esm/serialization/types/StreamSupportedLanguage.mjs +20 -0
- package/dist/esm/serialization/types/StreamTranscript.d.mts +19 -0
- package/dist/esm/serialization/types/StreamTranscript.mjs +14 -0
- package/dist/esm/serialization/types/StreamTranscriptMessage.d.mts +14 -0
- package/dist/esm/serialization/types/StreamTranscriptMessage.mjs +9 -0
- package/dist/esm/serialization/types/StreamTranscriptTime.d.mts +13 -0
- package/dist/esm/serialization/types/StreamTranscriptTime.mjs +8 -0
- package/dist/esm/serialization/types/StreamUsageMessage.d.mts +13 -0
- package/dist/esm/serialization/types/StreamUsageMessage.mjs +8 -0
- package/dist/esm/serialization/types/TemplatesItem.d.mts +20 -0
- package/dist/esm/serialization/types/TemplatesItem.mjs +15 -0
- package/dist/esm/serialization/types/TemplatesListResponse.d.mts +13 -0
- package/dist/esm/serialization/types/TemplatesListResponse.mjs +8 -0
- package/dist/esm/serialization/types/TemplatesSection.d.mts +21 -0
- package/dist/esm/serialization/types/TemplatesSection.mjs +16 -0
- package/dist/esm/serialization/types/TemplatesSectionListResponse.d.mts +13 -0
- package/dist/esm/serialization/types/TemplatesSectionListResponse.mjs +8 -0
- package/dist/esm/serialization/types/TemplatesSectionSorted.d.mts +14 -0
- package/dist/esm/serialization/types/TemplatesSectionSorted.mjs +9 -0
- package/dist/esm/serialization/types/TemplatesTranslation.d.mts +14 -0
- package/dist/esm/serialization/types/TemplatesTranslation.mjs +9 -0
- package/dist/esm/serialization/types/TemplatesWritingStyle.d.mts +12 -0
- package/dist/esm/serialization/types/TemplatesWritingStyle.mjs +7 -0
- package/dist/esm/serialization/types/TranscribeCommand.d.mts +15 -0
- package/dist/esm/serialization/types/TranscribeCommand.mjs +10 -0
- package/dist/esm/serialization/types/TranscribeCommandData.d.mts +16 -0
- package/dist/esm/serialization/types/TranscribeCommandData.mjs +13 -0
- package/dist/esm/serialization/types/TranscribeCommandMessage.d.mts +14 -0
- package/dist/esm/serialization/types/TranscribeCommandMessage.mjs +9 -0
- package/dist/esm/serialization/types/TranscribeCommandVariable.d.mts +14 -0
- package/dist/esm/serialization/types/TranscribeCommandVariable.mjs +9 -0
- package/dist/esm/serialization/types/TranscribeConfig.d.mts +18 -0
- package/dist/esm/serialization/types/TranscribeConfig.mjs +13 -0
- package/dist/esm/serialization/types/TranscribeConfigMessage.d.mts +14 -0
- package/dist/esm/serialization/types/TranscribeConfigMessage.mjs +9 -0
- package/dist/esm/serialization/types/TranscribeConfigStatusMessage.d.mts +15 -0
- package/dist/esm/serialization/types/TranscribeConfigStatusMessage.mjs +10 -0
- package/dist/esm/serialization/types/TranscribeConfigStatusMessageType.d.mts +10 -0
- package/dist/esm/serialization/types/TranscribeConfigStatusMessageType.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeEndMessage.d.mts +12 -0
- package/dist/esm/serialization/types/TranscribeEndMessage.mjs +7 -0
- package/dist/esm/serialization/types/TranscribeEndedMessage.d.mts +12 -0
- package/dist/esm/serialization/types/TranscribeEndedMessage.mjs +7 -0
- package/dist/esm/serialization/types/TranscribeErrorMessage.d.mts +14 -0
- package/dist/esm/serialization/types/TranscribeErrorMessage.mjs +9 -0
- package/dist/esm/serialization/types/TranscribeErrorMessageError.d.mts +16 -0
- package/dist/esm/serialization/types/TranscribeErrorMessageError.mjs +11 -0
- package/dist/esm/serialization/types/TranscribeSupportedLanguage.d.mts +10 -0
- package/dist/esm/serialization/types/TranscribeSupportedLanguage.mjs +20 -0
- package/dist/esm/serialization/types/TranscribeTranscriptData.d.mts +16 -0
- package/dist/esm/serialization/types/TranscribeTranscriptData.mjs +11 -0
- package/dist/esm/serialization/types/TranscribeTranscriptMessage.d.mts +14 -0
- package/dist/esm/serialization/types/TranscribeTranscriptMessage.mjs +9 -0
- package/dist/esm/serialization/types/TranscribeUsageMessage.d.mts +13 -0
- package/dist/esm/serialization/types/TranscribeUsageMessage.mjs +8 -0
- package/dist/esm/serialization/types/TranscriptsData.d.mts +15 -0
- package/dist/esm/serialization/types/TranscriptsData.mjs +10 -0
- package/dist/esm/serialization/types/TranscriptsListItem.d.mts +16 -0
- package/dist/esm/serialization/types/TranscriptsListItem.mjs +11 -0
- package/dist/esm/serialization/types/TranscriptsListResponse.d.mts +13 -0
- package/dist/esm/serialization/types/TranscriptsListResponse.mjs +8 -0
- package/dist/esm/serialization/types/TranscriptsMetadata.d.mts +13 -0
- package/dist/esm/serialization/types/TranscriptsMetadata.mjs +8 -0
- package/dist/esm/serialization/types/TranscriptsParticipant.d.mts +14 -0
- package/dist/esm/serialization/types/TranscriptsParticipant.mjs +9 -0
- package/dist/esm/serialization/types/TranscriptsParticipantRoleEnum.d.mts +10 -0
- package/dist/esm/serialization/types/TranscriptsParticipantRoleEnum.mjs +5 -0
- package/dist/esm/serialization/types/TranscriptsResponse.d.mts +19 -0
- package/dist/esm/serialization/types/TranscriptsResponse.mjs +14 -0
- package/dist/esm/serialization/types/Uuid.d.mts +10 -0
- package/dist/esm/serialization/types/Uuid.mjs +5 -0
- package/dist/esm/serialization/types/index.d.mts +96 -0
- package/dist/esm/serialization/types/index.mjs +96 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +29 -18
- package/reference.md +57 -77
- package/dist/cjs/api/resources/documents/client/requests/DocumentsGetRequest.d.ts +0 -13
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentCreate.d.ts +0 -31
- package/dist/cjs/api/resources/documents/client/requests/RequestDocumentUpdate.d.ts +0 -13
- package/dist/cjs/api/resources/documents/types/RequestDocumentCreateContextItem.d.ts +0 -10
- package/dist/cjs/api/resources/documents/types/RequestDocumentUpdateSectionsItem.d.ts +0 -9
- 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/RequestFactUpdate.d.ts +0 -21
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsCreate.d.ts +0 -17
- package/dist/cjs/api/resources/facts/client/requests/RequestFactsUpdate.d.ts +0 -16
- package/dist/cjs/api/resources/facts/types/RequestFactsCreateFactsItem.d.ts +0 -12
- package/dist/cjs/api/resources/facts/types/RequestFactsUpdateFactsItem.d.ts +0 -14
- 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/RequestInteractionCreate.d.ts +0 -22
- package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionUpdate.d.ts +0 -16
- 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/templates/client/requests/TemplatesSectionsListRequest.d.ts +0 -17
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptCreate.d.ts +0 -28
- 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/RequestTranscriptCreatePrimaryLanguage.d.ts +0 -21
- package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.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/types/DocumentContextData.d.ts +0 -14
- package/dist/cjs/api/types/DocumentTemplate.d.ts +0 -14
- package/dist/cjs/api/types/Encounter.d.ts +0 -16
- package/dist/cjs/api/types/EncounterPeriod.d.ts +0 -9
- 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/FactContext.d.ts +0 -12
- 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/PatientUpdate.d.ts +0 -16
- package/dist/cjs/api/types/ResponseAllTemplateSections.d.ts +0 -8
- package/dist/cjs/api/types/ResponseAllTemplates.d.ts +0 -8
- package/dist/cjs/api/types/ResponseAllTemplatesDataItem.d.ts +0 -20
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.ts +0 -10
- package/dist/cjs/api/types/ResponseAllTemplatesDataItemTranslationsItem.d.ts +0 -11
- package/dist/cjs/api/types/ResponseDocumentList.d.ts +0 -7
- package/dist/cjs/api/types/ResponseDocumentRead.d.ts +0 -22
- package/dist/cjs/api/types/ResponseDocumentReadSectionsItem.d.ts +0 -17
- package/dist/cjs/api/types/ResponseFactGroupsFiltered.d.ts +0 -7
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItem.d.ts +0 -9
- package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.ts +0 -8
- package/dist/cjs/api/types/ResponseFactUpdate.d.ts +0 -22
- package/dist/cjs/api/types/ResponseFactsCreate.d.ts +0 -8
- package/dist/cjs/api/types/ResponseFactsCreateFactsItem.d.ts +0 -20
- package/dist/cjs/api/types/ResponseFactsList.d.ts +0 -8
- package/dist/cjs/api/types/ResponseFactsListFactsItem.d.ts +0 -23
- package/dist/cjs/api/types/ResponseFactsListFactsItemEvidenceItem.d.ts +0 -11
- package/dist/cjs/api/types/ResponseFactsUpdate.d.ts +0 -8
- package/dist/cjs/api/types/ResponseFactsUpdateFactsItem.d.ts +0 -22
- package/dist/cjs/api/types/ResponseInteraction.d.ts +0 -24
- package/dist/cjs/api/types/ResponseInteractionCreate.d.ts +0 -10
- package/dist/cjs/api/types/ResponseInteractions.d.ts +0 -7
- package/dist/cjs/api/types/ResponseMetadataCreate.d.ts +0 -7
- package/dist/cjs/api/types/ResponseMetadataCreateParticipantsRolesItem.d.ts +0 -10
- package/dist/cjs/api/types/ResponseRecordingCreate.d.ts +0 -8
- package/dist/cjs/api/types/ResponseRecordingList.d.ts +0 -8
- package/dist/cjs/api/types/ResponseTranscriptCreate.d.ts +0 -13
- package/dist/cjs/api/types/ResponseTranscriptCreateTranscriptsItem.d.ts +0 -17
- package/dist/cjs/api/types/ResponseTranscriptListAll.d.ts +0 -7
- package/dist/cjs/api/types/ResponseTranscriptListAllTranscriptsItem.d.ts +0 -9
- package/dist/cjs/api/types/Section.d.ts +0 -22
- package/dist/cjs/api/types/SectionTranslationsItem.d.ts +0 -11
- package/dist/cjs/api/types/StreamConfigData.d.ts +0 -8
- 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/StreamParticipantRole.d.ts +0 -12
- package/dist/cjs/api/types/StreamParticipantRole.js +0 -11
- package/dist/cjs/api/types/TemplateFiltered.d.ts +0 -20
- package/dist/cjs/api/types/TemplateFilteredTemplateSectionsItem.d.ts +0 -10
- package/dist/cjs/api/types/TemplateFilteredTranslationsItem.d.ts +0 -11
- package/dist/cjs/api/types/TranscribeConfigurationMessage.d.ts +0 -8
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfiguration.d.ts +0 -16
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.ts +0 -21
- package/dist/cjs/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.js +0 -20
- package/dist/cjs/api/types/Transcript.d.ts +0 -17
- 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/esm/api/resources/documents/client/requests/DocumentsGetRequest.d.mts +0 -13
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentCreate.d.mts +0 -31
- package/dist/esm/api/resources/documents/client/requests/RequestDocumentUpdate.d.mts +0 -13
- package/dist/esm/api/resources/documents/types/RequestDocumentCreateContextItem.d.mts +0 -10
- package/dist/esm/api/resources/documents/types/RequestDocumentUpdateSectionsItem.d.mts +0 -9
- 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/RequestFactUpdate.d.mts +0 -21
- package/dist/esm/api/resources/facts/client/requests/RequestFactsCreate.d.mts +0 -17
- package/dist/esm/api/resources/facts/client/requests/RequestFactsUpdate.d.mts +0 -16
- package/dist/esm/api/resources/facts/types/RequestFactsCreateFactsItem.d.mts +0 -12
- package/dist/esm/api/resources/facts/types/RequestFactsUpdateFactsItem.d.mts +0 -14
- 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/RequestInteractionCreate.d.mts +0 -22
- package/dist/esm/api/resources/interactions/client/requests/RequestInteractionUpdate.d.mts +0 -16
- 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/templates/client/requests/TemplatesSectionsListRequest.d.mts +0 -17
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptCreate.d.mts +0 -28
- 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/RequestTranscriptCreatePrimaryLanguage.d.mts +0 -21
- package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.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/types/DocumentContextData.d.mts +0 -14
- package/dist/esm/api/types/DocumentTemplate.d.mts +0 -14
- package/dist/esm/api/types/Encounter.d.mts +0 -16
- package/dist/esm/api/types/EncounterPeriod.d.mts +0 -9
- 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/FactContext.d.mts +0 -12
- 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/PatientUpdate.d.mts +0 -16
- package/dist/esm/api/types/ResponseAllTemplateSections.d.mts +0 -8
- package/dist/esm/api/types/ResponseAllTemplates.d.mts +0 -8
- package/dist/esm/api/types/ResponseAllTemplatesDataItem.d.mts +0 -20
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.mts +0 -10
- package/dist/esm/api/types/ResponseAllTemplatesDataItemTranslationsItem.d.mts +0 -11
- package/dist/esm/api/types/ResponseDocumentList.d.mts +0 -7
- package/dist/esm/api/types/ResponseDocumentRead.d.mts +0 -22
- package/dist/esm/api/types/ResponseDocumentReadSectionsItem.d.mts +0 -17
- package/dist/esm/api/types/ResponseFactGroupsFiltered.d.mts +0 -7
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItem.d.mts +0 -9
- package/dist/esm/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.mts +0 -8
- package/dist/esm/api/types/ResponseFactUpdate.d.mts +0 -22
- package/dist/esm/api/types/ResponseFactsCreate.d.mts +0 -8
- package/dist/esm/api/types/ResponseFactsCreateFactsItem.d.mts +0 -20
- package/dist/esm/api/types/ResponseFactsList.d.mts +0 -8
- package/dist/esm/api/types/ResponseFactsListFactsItem.d.mts +0 -23
- package/dist/esm/api/types/ResponseFactsListFactsItemEvidenceItem.d.mts +0 -11
- package/dist/esm/api/types/ResponseFactsUpdate.d.mts +0 -8
- package/dist/esm/api/types/ResponseFactsUpdateFactsItem.d.mts +0 -22
- package/dist/esm/api/types/ResponseInteraction.d.mts +0 -24
- package/dist/esm/api/types/ResponseInteractionCreate.d.mts +0 -10
- package/dist/esm/api/types/ResponseInteractions.d.mts +0 -7
- package/dist/esm/api/types/ResponseMetadataCreate.d.mts +0 -7
- package/dist/esm/api/types/ResponseMetadataCreateParticipantsRolesItem.d.mts +0 -10
- package/dist/esm/api/types/ResponseRecordingCreate.d.mts +0 -8
- package/dist/esm/api/types/ResponseRecordingList.d.mts +0 -8
- package/dist/esm/api/types/ResponseTranscriptCreate.d.mts +0 -13
- package/dist/esm/api/types/ResponseTranscriptCreateTranscriptsItem.d.mts +0 -17
- package/dist/esm/api/types/ResponseTranscriptListAll.d.mts +0 -7
- package/dist/esm/api/types/ResponseTranscriptListAllTranscriptsItem.d.mts +0 -9
- package/dist/esm/api/types/Section.d.mts +0 -22
- package/dist/esm/api/types/SectionTranslationsItem.d.mts +0 -11
- package/dist/esm/api/types/StreamConfigData.d.mts +0 -8
- 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/StreamParticipantRole.d.mts +0 -12
- package/dist/esm/api/types/StreamParticipantRole.mjs +0 -8
- package/dist/esm/api/types/TemplateFiltered.d.mts +0 -20
- package/dist/esm/api/types/TemplateFilteredTemplateSectionsItem.d.mts +0 -10
- package/dist/esm/api/types/TemplateFilteredTranslationsItem.d.mts +0 -11
- package/dist/esm/api/types/TranscribeConfigurationMessage.d.mts +0 -8
- package/dist/esm/api/types/TranscribeConfigurationMessageConfiguration.d.mts +0 -16
- package/dist/esm/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.mts +0 -21
- package/dist/esm/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.mjs +0 -17
- package/dist/esm/api/types/Transcript.d.mts +0 -17
- 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/cjs/api/resources/documents/client/requests/{DocumentsGetRequest.js → DocumentsUpdateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{documents/client/requests/RequestDocumentCreate.js → facts/client/requests/FactsBatchUpdateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{documents/client/requests/RequestDocumentUpdate.js → facts/client/requests/FactsCreateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{documents/types/RequestDocumentCreateContextItem.js → facts/client/requests/FactsUpdateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{documents/types/RequestDocumentUpdateSectionsItem.js → interactions/client/requests/InteractionsCreateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{facts/client/requests/RequestFactUpdate.js → interactions/client/requests/InteractionsUpdateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{facts/client/requests/RequestFactsCreate.js → templates/client/requests/TemplatesSectionListRequest.js} +0 -0
- /package/dist/cjs/api/resources/{facts/client/requests/RequestFactsUpdate.js → transcripts/client/requests/TranscriptsCreateRequest.js} +0 -0
- /package/dist/cjs/api/{resources/facts/types/RequestFactsCreateFactsItem.js → types/CommonTranscript.js} +0 -0
- /package/dist/cjs/api/{resources/facts/types/RequestFactsUpdateFactsItem.js → types/CommonUsageInfo.js} +0 -0
- /package/dist/cjs/api/{resources/interactions/client/requests/RequestInteractionCreate.js → types/DocumentsContext.js} +0 -0
- /package/dist/cjs/api/{resources/interactions/client/requests/RequestInteractionUpdate.js → types/DocumentsContextData.js} +0 -0
- /package/dist/cjs/api/{resources/templates/client/requests/TemplatesSectionsListRequest.js → types/DocumentsCreateRequest.js} +0 -0
- /package/dist/cjs/api/{resources/transcripts/client/requests/TranscriptCreate.js → types/DocumentsCreateRequestWithTemplate.js} +0 -0
- /package/dist/cjs/api/{resources/transcripts/types/RequestTranscriptCreateParticipantsItem.js → types/DocumentsCreateRequestWithTemplateId.js} +0 -0
- /package/dist/cjs/api/types/{DocumentContextData.js → DocumentsCreateRequestWithTemplateKey.js} +0 -0
- /package/dist/cjs/api/types/{DocumentTemplate.js → DocumentsGetResponse.js} +0 -0
- /package/dist/cjs/api/types/{Encounter.js → DocumentsListResponse.js} +0 -0
- /package/dist/cjs/api/types/{EncounterPeriod.js → DocumentsSection.js} +0 -0
- /package/dist/cjs/api/types/{EncounterUpdate.js → DocumentsSectionInput.js} +0 -0
- /package/dist/cjs/api/types/{FactContext.js → DocumentsTemplate.js} +0 -0
- /package/dist/cjs/api/types/{Patient.js → FactsBatchUpdateInput.js} +0 -0
- /package/dist/cjs/api/types/{PatientUpdate.js → FactsBatchUpdateItem.js} +0 -0
- /package/dist/cjs/api/types/{ResponseAllTemplateSections.js → FactsBatchUpdateResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseAllTemplates.js → FactsContext.js} +0 -0
- /package/dist/cjs/api/types/{ResponseAllTemplatesDataItem.js → FactsCreateInput.js} +0 -0
- /package/dist/cjs/api/types/{ResponseAllTemplatesDataItemTemplateSectionsItem.js → FactsCreateItem.js} +0 -0
- /package/dist/cjs/api/types/{ResponseAllTemplatesDataItemTranslationsItem.js → FactsCreateResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseDocumentList.js → FactsEvidence.js} +0 -0
- /package/dist/cjs/api/types/{ResponseDocumentRead.js → FactsFactGroupsItem.js} +0 -0
- /package/dist/cjs/api/types/{ResponseDocumentReadSectionsItem.js → FactsFactGroupsItemTranslationsItem.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactGroupsFiltered.js → FactsFactGroupsListResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactGroupsFilteredDataItem.js → FactsListItem.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactGroupsFilteredDataItemTranslationsItem.js → FactsListResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactUpdate.js → FactsUpdateResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactsCreate.js → InteractionsCreateResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactsCreateFactsItem.js → InteractionsEncounterCreateRequest.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactsList.js → InteractionsEncounterPeriod.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactsListFactsItem.js → InteractionsEncounterResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactsListFactsItemEvidenceItem.js → InteractionsEncounterUpdateRequest.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactsUpdate.js → InteractionsGetResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseFactsUpdateFactsItem.js → InteractionsListResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseInteraction.js → InteractionsPatient.js} +0 -0
- /package/dist/cjs/api/types/{ResponseInteractionCreate.js → RecordingsCreateResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseInteractions.js → RecordingsListResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseMetadataCreate.js → StreamConfig.js} +0 -0
- /package/dist/cjs/api/types/{ResponseMetadataCreateParticipantsRolesItem.js → StreamConfigMessage.js} +0 -0
- /package/dist/cjs/api/types/{ResponseRecordingCreate.js → StreamConfigParticipant.js} +0 -0
- /package/dist/cjs/api/types/{ResponseRecordingList.js → TemplatesItem.js} +0 -0
- /package/dist/cjs/api/types/{ResponseTranscriptCreate.js → TemplatesListResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseTranscriptCreateTranscriptsItem.js → TemplatesSection.js} +0 -0
- /package/dist/cjs/api/types/{ResponseTranscriptListAll.js → TemplatesSectionListResponse.js} +0 -0
- /package/dist/cjs/api/types/{ResponseTranscriptListAllTranscriptsItem.js → TemplatesSectionSorted.js} +0 -0
- /package/dist/cjs/api/types/{Section.js → TemplatesTranslation.js} +0 -0
- /package/dist/cjs/api/types/{SectionTranslationsItem.js → TemplatesWritingStyle.js} +0 -0
- /package/dist/cjs/api/types/{StreamConfigData.js → TranscribeConfig.js} +0 -0
- /package/dist/cjs/api/types/{StreamConfigurationMessage.js → TranscribeConfigMessage.js} +0 -0
- /package/dist/cjs/api/types/{TemplateFiltered.js → TranscriptsData.js} +0 -0
- /package/dist/cjs/api/types/{TemplateFilteredTemplateSectionsItem.js → TranscriptsListItem.js} +0 -0
- /package/dist/cjs/api/types/{TemplateFilteredTranslationsItem.js → TranscriptsListResponse.js} +0 -0
- /package/dist/cjs/api/types/{TranscribeConfigurationMessage.js → TranscriptsMetadata.js} +0 -0
- /package/dist/cjs/api/types/{TranscribeConfigurationMessageConfiguration.js → TranscriptsParticipant.js} +0 -0
- /package/dist/cjs/api/types/{Transcript.js → TranscriptsResponse.js} +0 -0
- /package/dist/esm/api/resources/documents/client/requests/{DocumentsGetRequest.mjs → DocumentsUpdateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{documents/client/requests/RequestDocumentCreate.mjs → facts/client/requests/FactsBatchUpdateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{documents/client/requests/RequestDocumentUpdate.mjs → facts/client/requests/FactsCreateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{documents/types/RequestDocumentCreateContextItem.mjs → facts/client/requests/FactsUpdateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{documents/types/RequestDocumentUpdateSectionsItem.mjs → interactions/client/requests/InteractionsCreateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{facts/client/requests/RequestFactUpdate.mjs → interactions/client/requests/InteractionsUpdateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{facts/client/requests/RequestFactsCreate.mjs → templates/client/requests/TemplatesSectionListRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{facts/client/requests/RequestFactsUpdate.mjs → transcripts/client/requests/TranscriptsCreateRequest.mjs} +0 -0
- /package/dist/esm/api/{resources/facts/types/RequestFactsCreateFactsItem.mjs → types/CommonTranscript.mjs} +0 -0
- /package/dist/esm/api/{resources/facts/types/RequestFactsUpdateFactsItem.mjs → types/CommonUsageInfo.mjs} +0 -0
- /package/dist/esm/api/{resources/interactions/client/requests/RequestInteractionCreate.mjs → types/DocumentsContext.mjs} +0 -0
- /package/dist/esm/api/{resources/interactions/client/requests/RequestInteractionUpdate.mjs → types/DocumentsContextData.mjs} +0 -0
- /package/dist/esm/api/{resources/templates/client/requests/TemplatesSectionsListRequest.mjs → types/DocumentsCreateRequest.mjs} +0 -0
- /package/dist/esm/api/{resources/transcripts/client/requests/TranscriptCreate.mjs → types/DocumentsCreateRequestWithTemplate.mjs} +0 -0
- /package/dist/esm/api/{resources/transcripts/types/RequestTranscriptCreateParticipantsItem.mjs → types/DocumentsCreateRequestWithTemplateId.mjs} +0 -0
- /package/dist/esm/api/types/{DocumentContextData.mjs → DocumentsCreateRequestWithTemplateKey.mjs} +0 -0
- /package/dist/esm/api/types/{DocumentTemplate.mjs → DocumentsGetResponse.mjs} +0 -0
- /package/dist/esm/api/types/{Encounter.mjs → DocumentsListResponse.mjs} +0 -0
- /package/dist/esm/api/types/{EncounterPeriod.mjs → DocumentsSection.mjs} +0 -0
- /package/dist/esm/api/types/{EncounterUpdate.mjs → DocumentsSectionInput.mjs} +0 -0
- /package/dist/esm/api/types/{FactContext.mjs → DocumentsTemplate.mjs} +0 -0
- /package/dist/esm/api/types/{Patient.mjs → FactsBatchUpdateInput.mjs} +0 -0
- /package/dist/esm/api/types/{PatientUpdate.mjs → FactsBatchUpdateItem.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseAllTemplateSections.mjs → FactsBatchUpdateResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseAllTemplates.mjs → FactsContext.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseAllTemplatesDataItem.mjs → FactsCreateInput.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseAllTemplatesDataItemTemplateSectionsItem.mjs → FactsCreateItem.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseAllTemplatesDataItemTranslationsItem.mjs → FactsCreateResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseDocumentList.mjs → FactsEvidence.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseDocumentRead.mjs → FactsFactGroupsItem.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseDocumentReadSectionsItem.mjs → FactsFactGroupsItemTranslationsItem.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactGroupsFiltered.mjs → FactsFactGroupsListResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactGroupsFilteredDataItem.mjs → FactsListItem.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactGroupsFilteredDataItemTranslationsItem.mjs → FactsListResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactUpdate.mjs → FactsUpdateResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactsCreate.mjs → InteractionsCreateResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactsCreateFactsItem.mjs → InteractionsEncounterCreateRequest.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactsList.mjs → InteractionsEncounterPeriod.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactsListFactsItem.mjs → InteractionsEncounterResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactsListFactsItemEvidenceItem.mjs → InteractionsEncounterUpdateRequest.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactsUpdate.mjs → InteractionsGetResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseFactsUpdateFactsItem.mjs → InteractionsListResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseInteraction.mjs → InteractionsPatient.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseInteractionCreate.mjs → RecordingsCreateResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseInteractions.mjs → RecordingsListResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseMetadataCreate.mjs → StreamConfig.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseMetadataCreateParticipantsRolesItem.mjs → StreamConfigMessage.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseRecordingCreate.mjs → StreamConfigParticipant.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseRecordingList.mjs → TemplatesItem.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseTranscriptCreate.mjs → TemplatesListResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseTranscriptCreateTranscriptsItem.mjs → TemplatesSection.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseTranscriptListAll.mjs → TemplatesSectionListResponse.mjs} +0 -0
- /package/dist/esm/api/types/{ResponseTranscriptListAllTranscriptsItem.mjs → TemplatesSectionSorted.mjs} +0 -0
- /package/dist/esm/api/types/{Section.mjs → TemplatesTranslation.mjs} +0 -0
- /package/dist/esm/api/types/{SectionTranslationsItem.mjs → TemplatesWritingStyle.mjs} +0 -0
- /package/dist/esm/api/types/{StreamConfigData.mjs → TranscribeConfig.mjs} +0 -0
- /package/dist/esm/api/types/{StreamConfigurationMessage.mjs → TranscribeConfigMessage.mjs} +0 -0
- /package/dist/esm/api/types/{TemplateFiltered.mjs → TranscriptsData.mjs} +0 -0
- /package/dist/esm/api/types/{TemplateFilteredTemplateSectionsItem.mjs → TranscriptsListItem.mjs} +0 -0
- /package/dist/esm/api/types/{TemplateFilteredTranslationsItem.mjs → TranscriptsListResponse.mjs} +0 -0
- /package/dist/esm/api/types/{TranscribeConfigurationMessage.mjs → TranscriptsMetadata.mjs} +0 -0
- /package/dist/esm/api/types/{TranscribeConfigurationMessageConfiguration.mjs → TranscriptsParticipant.mjs} +0 -0
- /package/dist/esm/api/types/{Transcript.mjs → TranscriptsResponse.mjs} +0 -0
|
@@ -16,10 +16,10 @@ export declare namespace Transcribe {
|
|
|
16
16
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
17
17
|
}
|
|
18
18
|
interface ConnectArgs {
|
|
19
|
-
|
|
20
|
-
token
|
|
19
|
+
tenantName: string;
|
|
20
|
+
token: string;
|
|
21
21
|
/** Arbitrary headers to send with the websocket connect request. */
|
|
22
|
-
headers?: Record<string,
|
|
22
|
+
headers?: Record<string, string>;
|
|
23
23
|
/** Enable debug mode on the websocket. Defaults to false. */
|
|
24
24
|
debug?: boolean;
|
|
25
25
|
/** Number of reconnect attempts. Defaults to 30. */
|
|
@@ -29,6 +29,6 @@ export declare namespace Transcribe {
|
|
|
29
29
|
export declare class Transcribe {
|
|
30
30
|
protected readonly _options: Transcribe.Options;
|
|
31
31
|
constructor(_options: Transcribe.Options);
|
|
32
|
-
connect(args
|
|
32
|
+
connect(args: Transcribe.ConnectArgs): Promise<TranscribeSocket>;
|
|
33
33
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
34
34
|
}
|
|
@@ -11,25 +11,26 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
13
|
import * as core from "../../../../core/index.mjs";
|
|
14
|
-
import * as qs from "qs";
|
|
15
14
|
import { TranscribeSocket } from "./Socket.mjs";
|
|
16
15
|
export class Transcribe {
|
|
17
16
|
constructor(_options) {
|
|
18
17
|
this._options = _options;
|
|
19
18
|
}
|
|
20
|
-
connect() {
|
|
21
|
-
return __awaiter(this,
|
|
22
|
-
var _a
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
19
|
+
connect(args) {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
var _a;
|
|
22
|
+
const { tenantName, token, headers, debug, reconnectAttempts } = args;
|
|
23
|
+
const _queryParams = {};
|
|
24
|
+
_queryParams["tenant-name"] = tenantName;
|
|
25
|
+
_queryParams["token"] = token;
|
|
26
|
+
let _headers = Object.assign({}, headers);
|
|
27
|
+
const socket = new core.ReconnectingWebSocket({
|
|
28
|
+
url: core.url.join((_a = (yield core.Supplier.get(this._options["baseUrl"]))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options["environment"])).wss, "/audio-bridge/v2/transcribe"),
|
|
29
|
+
protocols: [],
|
|
30
|
+
queryParameters: _queryParams,
|
|
31
|
+
headers: _headers,
|
|
32
|
+
options: { debug: debug !== null && debug !== void 0 ? debug : false, maxRetries: reconnectAttempts !== null && reconnectAttempts !== void 0 ? reconnectAttempts : 30 },
|
|
33
|
+
});
|
|
33
34
|
return new TranscribeSocket({ socket });
|
|
34
35
|
});
|
|
35
36
|
}
|
|
@@ -36,7 +36,7 @@ export declare class TranscribeSocket {
|
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
on<T extends keyof TranscribeSocket.EventHandlers>(event: T, callback: TranscribeSocket.EventHandlers[T]): void;
|
|
39
|
-
sendConfiguration(message: Corti.
|
|
39
|
+
sendConfiguration(message: Corti.TranscribeConfigMessage): void;
|
|
40
40
|
sendAudio(message: string): void;
|
|
41
41
|
sendEnd(message: Corti.TranscribeEndMessage): void;
|
|
42
42
|
/** Connect to the websocket and register event handlers. */
|
|
@@ -48,7 +48,5 @@ export declare class TranscribeSocket {
|
|
|
48
48
|
/** Asserts that the websocket is open. */
|
|
49
49
|
private assertSocketIsOpen;
|
|
50
50
|
/** Send a binary payload to the websocket. */
|
|
51
|
-
|
|
52
|
-
/** Send a JSON payload to the websocket. */
|
|
53
|
-
private sendJson;
|
|
51
|
+
protected sendBinary(payload: ArrayBufferLike | Blob | ArrayBufferView): void;
|
|
54
52
|
}
|
|
@@ -11,7 +11,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
13
|
import * as core from "../../../../core/index.mjs";
|
|
14
|
-
import {
|
|
14
|
+
import { TranscribeConfigMessage } from "../../../../serialization/types/TranscribeConfigMessage.mjs";
|
|
15
|
+
import { TranscribeEndMessage } from "../../../../serialization/types/TranscribeEndMessage.mjs";
|
|
16
|
+
import { fromJson } from "../../../../core/json.mjs";
|
|
17
|
+
import * as serializers from "../../../../serialization/index.mjs";
|
|
15
18
|
export class TranscribeSocket {
|
|
16
19
|
constructor(args) {
|
|
17
20
|
this.eventHandlers = {};
|
|
@@ -20,9 +23,21 @@ export class TranscribeSocket {
|
|
|
20
23
|
(_b = (_a = this.eventHandlers).open) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
21
24
|
};
|
|
22
25
|
this.handleMessage = (event) => {
|
|
23
|
-
var _a, _b;
|
|
26
|
+
var _a, _b, _c, _d;
|
|
24
27
|
const data = fromJson(event.data);
|
|
25
|
-
|
|
28
|
+
const parsedResponse = serializers.TranscribeSocketResponse.parse(data, {
|
|
29
|
+
unrecognizedObjectKeys: "passthrough",
|
|
30
|
+
allowUnrecognizedUnionMembers: true,
|
|
31
|
+
allowUnrecognizedEnumValues: true,
|
|
32
|
+
skipValidation: true,
|
|
33
|
+
omitUndefined: true,
|
|
34
|
+
});
|
|
35
|
+
if (parsedResponse.ok) {
|
|
36
|
+
(_b = (_a = this.eventHandlers).message) === null || _b === void 0 ? void 0 : _b.call(_a, parsedResponse.value);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
(_d = (_c = this.eventHandlers).error) === null || _d === void 0 ? void 0 : _d.call(_c, new Error("Received unknown message type"));
|
|
40
|
+
}
|
|
26
41
|
};
|
|
27
42
|
this.handleClose = (event) => {
|
|
28
43
|
var _a, _b;
|
|
@@ -58,15 +73,38 @@ export class TranscribeSocket {
|
|
|
58
73
|
}
|
|
59
74
|
sendConfiguration(message) {
|
|
60
75
|
this.assertSocketIsOpen();
|
|
61
|
-
|
|
76
|
+
const jsonPayload = TranscribeConfigMessage.jsonOrThrow(message, {
|
|
77
|
+
unrecognizedObjectKeys: "passthrough",
|
|
78
|
+
allowUnrecognizedUnionMembers: true,
|
|
79
|
+
allowUnrecognizedEnumValues: true,
|
|
80
|
+
skipValidation: true,
|
|
81
|
+
omitUndefined: true,
|
|
82
|
+
});
|
|
83
|
+
this.socket.send(JSON.stringify(jsonPayload));
|
|
62
84
|
}
|
|
63
85
|
sendAudio(message) {
|
|
64
86
|
this.assertSocketIsOpen();
|
|
65
|
-
|
|
87
|
+
const jsonPayload = core.serialization
|
|
88
|
+
.string()
|
|
89
|
+
.jsonOrThrow(message, {
|
|
90
|
+
unrecognizedObjectKeys: "passthrough",
|
|
91
|
+
allowUnrecognizedUnionMembers: true,
|
|
92
|
+
allowUnrecognizedEnumValues: true,
|
|
93
|
+
skipValidation: true,
|
|
94
|
+
omitUndefined: true,
|
|
95
|
+
});
|
|
96
|
+
this.socket.send(JSON.stringify(jsonPayload));
|
|
66
97
|
}
|
|
67
98
|
sendEnd(message) {
|
|
68
99
|
this.assertSocketIsOpen();
|
|
69
|
-
|
|
100
|
+
const jsonPayload = TranscribeEndMessage.jsonOrThrow(message, {
|
|
101
|
+
unrecognizedObjectKeys: "passthrough",
|
|
102
|
+
allowUnrecognizedUnionMembers: true,
|
|
103
|
+
allowUnrecognizedEnumValues: true,
|
|
104
|
+
skipValidation: true,
|
|
105
|
+
omitUndefined: true,
|
|
106
|
+
});
|
|
107
|
+
this.socket.send(JSON.stringify(jsonPayload));
|
|
70
108
|
}
|
|
71
109
|
/** Connect to the websocket and register event handlers. */
|
|
72
110
|
connect() {
|
|
@@ -115,9 +153,4 @@ export class TranscribeSocket {
|
|
|
115
153
|
sendBinary(payload) {
|
|
116
154
|
this.socket.send(payload);
|
|
117
155
|
}
|
|
118
|
-
/** Send a JSON payload to the websocket. */
|
|
119
|
-
sendJson(payload) {
|
|
120
|
-
const jsonPayload = toJson(payload);
|
|
121
|
-
this.socket.send(jsonPayload);
|
|
122
|
-
}
|
|
123
156
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
|
@@ -34,7 +34,7 @@ export declare class Transcripts {
|
|
|
34
34
|
/**
|
|
35
35
|
* Retrieves a list of transcripts for a given interaction.
|
|
36
36
|
*
|
|
37
|
-
* @param {Corti.Uuid} id - The unique identifier of the interaction
|
|
37
|
+
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
38
38
|
* @param {Corti.TranscriptsListRequest} request
|
|
39
39
|
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
40
|
*
|
|
@@ -47,12 +47,13 @@ export declare class Transcripts {
|
|
|
47
47
|
* @example
|
|
48
48
|
* await client.transcripts.list("f47ac10b-58cc-4372-a567-0e02b2c3d479")
|
|
49
49
|
*/
|
|
50
|
-
list(id: Corti.Uuid, request?: Corti.TranscriptsListRequest, requestOptions?: Transcripts.RequestOptions):
|
|
50
|
+
list(id: Corti.Uuid, request?: Corti.TranscriptsListRequest, requestOptions?: Transcripts.RequestOptions): core.HttpResponsePromise<Corti.TranscriptsListResponse>;
|
|
51
|
+
private __list;
|
|
51
52
|
/**
|
|
52
53
|
* Creates a new transcript for an interaction.
|
|
53
54
|
*
|
|
54
|
-
* @param {Corti.Uuid} id - The unique identifier of the interaction
|
|
55
|
-
* @param {Corti.
|
|
55
|
+
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
56
|
+
* @param {Corti.TranscriptsCreateRequest} request
|
|
56
57
|
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
58
|
*
|
|
58
59
|
* @throws {@link Corti.BadRequestError}
|
|
@@ -65,16 +66,16 @@ export declare class Transcripts {
|
|
|
65
66
|
* await client.transcripts.create("f47ac10b-58cc-4372-a567-0e02b2c3d479", {
|
|
66
67
|
* recordingId: "f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
|
67
68
|
* primaryLanguage: "en",
|
|
68
|
-
* modelName: "
|
|
69
|
+
* modelName: "base"
|
|
69
70
|
* })
|
|
70
71
|
*/
|
|
71
|
-
create(id: Corti.Uuid, request: Corti.
|
|
72
|
+
create(id: Corti.Uuid, request: Corti.TranscriptsCreateRequest, requestOptions?: Transcripts.RequestOptions): core.HttpResponsePromise<Corti.TranscriptsResponse>;
|
|
72
73
|
private __create;
|
|
73
74
|
/**
|
|
74
75
|
* Retrieves the transcript for a specific interaction.
|
|
75
76
|
*
|
|
76
|
-
* @param {Corti.Uuid} id - The unique identifier of the interaction
|
|
77
|
-
* @param {Corti.Uuid} transcriptId - The unique identifier of the transcript
|
|
77
|
+
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
78
|
+
* @param {Corti.Uuid} transcriptId - The unique identifier of the transcript. Must be a valid UUID.
|
|
78
79
|
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
79
80
|
*
|
|
80
81
|
* @throws {@link Corti.BadRequestError}
|
|
@@ -86,13 +87,13 @@ export declare class Transcripts {
|
|
|
86
87
|
* @example
|
|
87
88
|
* await client.transcripts.get("f47ac10b-58cc-4372-a567-0e02b2c3d479", "f47ac10b-58cc-4372-a567-0e02b2c3d479")
|
|
88
89
|
*/
|
|
89
|
-
get(id: Corti.Uuid, transcriptId: Corti.Uuid, requestOptions?: Transcripts.RequestOptions): core.HttpResponsePromise<Corti.
|
|
90
|
+
get(id: Corti.Uuid, transcriptId: Corti.Uuid, requestOptions?: Transcripts.RequestOptions): core.HttpResponsePromise<Corti.TranscriptsResponse>;
|
|
90
91
|
private __get;
|
|
91
92
|
/**
|
|
92
93
|
* Deletes a specific transcript associated with an interaction.
|
|
93
94
|
*
|
|
94
|
-
* @param {Corti.Uuid} id - The unique identifier of the interaction
|
|
95
|
-
* @param {Corti.Uuid} transcriptId - The unique identifier of the transcript
|
|
95
|
+
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
96
|
+
* @param {Corti.Uuid} transcriptId - The unique identifier of the transcript. Must be a valid UUID.
|
|
96
97
|
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
98
|
*
|
|
98
99
|
* @throws {@link Corti.BadRequestError}
|
|
@@ -13,7 +13,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
13
13
|
import * as core from "../../../../core/index.mjs";
|
|
14
14
|
import * as Corti from "../../../index.mjs";
|
|
15
15
|
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
16
|
-
import
|
|
16
|
+
import * as serializers from "../../../../serialization/index.mjs";
|
|
17
17
|
import * as errors from "../../../../errors/index.mjs";
|
|
18
18
|
export class Transcripts {
|
|
19
19
|
constructor(_options) {
|
|
@@ -22,7 +22,7 @@ export class Transcripts {
|
|
|
22
22
|
/**
|
|
23
23
|
* Retrieves a list of transcripts for a given interaction.
|
|
24
24
|
*
|
|
25
|
-
* @param {Corti.Uuid} id - The unique identifier of the interaction
|
|
25
|
+
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
26
26
|
* @param {Corti.TranscriptsListRequest} request
|
|
27
27
|
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
28
|
*
|
|
@@ -35,100 +35,95 @@ export class Transcripts {
|
|
|
35
35
|
* @example
|
|
36
36
|
* await client.transcripts.list("f47ac10b-58cc-4372-a567-0e02b2c3d479")
|
|
37
37
|
*/
|
|
38
|
-
list(
|
|
38
|
+
list(id, request = {}, requestOptions) {
|
|
39
|
+
return core.HttpResponsePromise.fromPromise(this.__list(id, request, requestOptions));
|
|
40
|
+
}
|
|
41
|
+
__list(id_1) {
|
|
39
42
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
switch (_response.error.reason) {
|
|
98
|
-
case "non-json":
|
|
43
|
+
var _a, _b, _c;
|
|
44
|
+
const { full } = request;
|
|
45
|
+
const _queryParams = {};
|
|
46
|
+
if (full !== undefined) {
|
|
47
|
+
_queryParams["full"] = (_a = full === null || full === void 0 ? void 0 : full.toString()) !== null && _a !== void 0 ? _a : null;
|
|
48
|
+
}
|
|
49
|
+
const _response = yield core.fetcher({
|
|
50
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)).base, `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/`),
|
|
51
|
+
method: "GET",
|
|
52
|
+
headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
|
|
53
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
54
|
+
"Tenant-Name": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName,
|
|
55
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
56
|
+
queryParameters: _queryParams,
|
|
57
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
58
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
59
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
60
|
+
});
|
|
61
|
+
if (_response.ok) {
|
|
62
|
+
return {
|
|
63
|
+
data: serializers.TranscriptsListResponse.parseOrThrow(_response.body, {
|
|
64
|
+
unrecognizedObjectKeys: "passthrough",
|
|
65
|
+
allowUnrecognizedUnionMembers: true,
|
|
66
|
+
allowUnrecognizedEnumValues: true,
|
|
67
|
+
skipValidation: true,
|
|
68
|
+
breadcrumbsPrefix: ["response"],
|
|
69
|
+
}),
|
|
70
|
+
rawResponse: _response.rawResponse,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
if (_response.error.reason === "status-code") {
|
|
74
|
+
switch (_response.error.statusCode) {
|
|
75
|
+
case 400:
|
|
76
|
+
throw new Corti.BadRequestError(_response.error.body, _response.rawResponse);
|
|
77
|
+
case 401:
|
|
78
|
+
throw new Corti.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
79
|
+
case 403:
|
|
80
|
+
throw new Corti.ForbiddenError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
81
|
+
unrecognizedObjectKeys: "passthrough",
|
|
82
|
+
allowUnrecognizedUnionMembers: true,
|
|
83
|
+
allowUnrecognizedEnumValues: true,
|
|
84
|
+
skipValidation: true,
|
|
85
|
+
breadcrumbsPrefix: ["response"],
|
|
86
|
+
}), _response.rawResponse);
|
|
87
|
+
case 500:
|
|
88
|
+
throw new Corti.InternalServerError(_response.error.body, _response.rawResponse);
|
|
89
|
+
case 504:
|
|
90
|
+
throw new Corti.GatewayTimeoutError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
91
|
+
unrecognizedObjectKeys: "passthrough",
|
|
92
|
+
allowUnrecognizedUnionMembers: true,
|
|
93
|
+
allowUnrecognizedEnumValues: true,
|
|
94
|
+
skipValidation: true,
|
|
95
|
+
breadcrumbsPrefix: ["response"],
|
|
96
|
+
}), _response.rawResponse);
|
|
97
|
+
default:
|
|
99
98
|
throw new errors.CortiError({
|
|
100
99
|
statusCode: _response.error.statusCode,
|
|
101
|
-
body: _response.error.
|
|
102
|
-
rawResponse: _response.rawResponse,
|
|
103
|
-
});
|
|
104
|
-
case "timeout":
|
|
105
|
-
throw new errors.CortiTimeoutError("Timeout exceeded when calling GET /interactions/{id}/transcripts/.");
|
|
106
|
-
case "unknown":
|
|
107
|
-
throw new errors.CortiError({
|
|
108
|
-
message: _response.error.errorMessage,
|
|
100
|
+
body: _response.error.body,
|
|
109
101
|
rawResponse: _response.rawResponse,
|
|
110
102
|
});
|
|
111
103
|
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
104
|
+
}
|
|
105
|
+
switch (_response.error.reason) {
|
|
106
|
+
case "non-json":
|
|
107
|
+
throw new errors.CortiError({
|
|
108
|
+
statusCode: _response.error.statusCode,
|
|
109
|
+
body: _response.error.rawBody,
|
|
110
|
+
rawResponse: _response.rawResponse,
|
|
111
|
+
});
|
|
112
|
+
case "timeout":
|
|
113
|
+
throw new errors.CortiTimeoutError("Timeout exceeded when calling GET /interactions/{id}/transcripts/.");
|
|
114
|
+
case "unknown":
|
|
115
|
+
throw new errors.CortiError({
|
|
116
|
+
message: _response.error.errorMessage,
|
|
117
|
+
rawResponse: _response.rawResponse,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
125
120
|
});
|
|
126
121
|
}
|
|
127
122
|
/**
|
|
128
123
|
* Creates a new transcript for an interaction.
|
|
129
124
|
*
|
|
130
|
-
* @param {Corti.Uuid} id - The unique identifier of the interaction
|
|
131
|
-
* @param {Corti.
|
|
125
|
+
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
126
|
+
* @param {Corti.TranscriptsCreateRequest} request
|
|
132
127
|
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
133
128
|
*
|
|
134
129
|
* @throws {@link Corti.BadRequestError}
|
|
@@ -141,7 +136,7 @@ export class Transcripts {
|
|
|
141
136
|
* await client.transcripts.create("f47ac10b-58cc-4372-a567-0e02b2c3d479", {
|
|
142
137
|
* recordingId: "f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
|
143
138
|
* primaryLanguage: "en",
|
|
144
|
-
* modelName: "
|
|
139
|
+
* modelName: "base"
|
|
145
140
|
* })
|
|
146
141
|
*/
|
|
147
142
|
create(id, request, requestOptions) {
|
|
@@ -151,7 +146,7 @@ export class Transcripts {
|
|
|
151
146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
152
147
|
var _a, _b;
|
|
153
148
|
const _response = yield core.fetcher({
|
|
154
|
-
url:
|
|
149
|
+
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)).base, `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/`),
|
|
155
150
|
method: "POST",
|
|
156
151
|
headers: mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({
|
|
157
152
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -159,13 +154,25 @@ export class Transcripts {
|
|
|
159
154
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
160
155
|
contentType: "application/json",
|
|
161
156
|
requestType: "json",
|
|
162
|
-
body: request,
|
|
157
|
+
body: serializers.TranscriptsCreateRequest.jsonOrThrow(request, {
|
|
158
|
+
unrecognizedObjectKeys: "strip",
|
|
159
|
+
omitUndefined: true,
|
|
160
|
+
}),
|
|
163
161
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
164
162
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
165
163
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
166
164
|
});
|
|
167
165
|
if (_response.ok) {
|
|
168
|
-
return {
|
|
166
|
+
return {
|
|
167
|
+
data: serializers.TranscriptsResponse.parseOrThrow(_response.body, {
|
|
168
|
+
unrecognizedObjectKeys: "passthrough",
|
|
169
|
+
allowUnrecognizedUnionMembers: true,
|
|
170
|
+
allowUnrecognizedEnumValues: true,
|
|
171
|
+
skipValidation: true,
|
|
172
|
+
breadcrumbsPrefix: ["response"],
|
|
173
|
+
}),
|
|
174
|
+
rawResponse: _response.rawResponse,
|
|
175
|
+
};
|
|
169
176
|
}
|
|
170
177
|
if (_response.error.reason === "status-code") {
|
|
171
178
|
switch (_response.error.statusCode) {
|
|
@@ -174,11 +181,23 @@ export class Transcripts {
|
|
|
174
181
|
case 401:
|
|
175
182
|
throw new Corti.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
176
183
|
case 403:
|
|
177
|
-
throw new Corti.ForbiddenError(_response.error.body,
|
|
184
|
+
throw new Corti.ForbiddenError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
185
|
+
unrecognizedObjectKeys: "passthrough",
|
|
186
|
+
allowUnrecognizedUnionMembers: true,
|
|
187
|
+
allowUnrecognizedEnumValues: true,
|
|
188
|
+
skipValidation: true,
|
|
189
|
+
breadcrumbsPrefix: ["response"],
|
|
190
|
+
}), _response.rawResponse);
|
|
178
191
|
case 500:
|
|
179
192
|
throw new Corti.InternalServerError(_response.error.body, _response.rawResponse);
|
|
180
193
|
case 504:
|
|
181
|
-
throw new Corti.GatewayTimeoutError(_response.error.body,
|
|
194
|
+
throw new Corti.GatewayTimeoutError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
195
|
+
unrecognizedObjectKeys: "passthrough",
|
|
196
|
+
allowUnrecognizedUnionMembers: true,
|
|
197
|
+
allowUnrecognizedEnumValues: true,
|
|
198
|
+
skipValidation: true,
|
|
199
|
+
breadcrumbsPrefix: ["response"],
|
|
200
|
+
}), _response.rawResponse);
|
|
182
201
|
default:
|
|
183
202
|
throw new errors.CortiError({
|
|
184
203
|
statusCode: _response.error.statusCode,
|
|
@@ -207,8 +226,8 @@ export class Transcripts {
|
|
|
207
226
|
/**
|
|
208
227
|
* Retrieves the transcript for a specific interaction.
|
|
209
228
|
*
|
|
210
|
-
* @param {Corti.Uuid} id - The unique identifier of the interaction
|
|
211
|
-
* @param {Corti.Uuid} transcriptId - The unique identifier of the transcript
|
|
229
|
+
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
230
|
+
* @param {Corti.Uuid} transcriptId - The unique identifier of the transcript. Must be a valid UUID.
|
|
212
231
|
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
213
232
|
*
|
|
214
233
|
* @throws {@link Corti.BadRequestError}
|
|
@@ -227,7 +246,7 @@ export class Transcripts {
|
|
|
227
246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
228
247
|
var _a, _b;
|
|
229
248
|
const _response = yield core.fetcher({
|
|
230
|
-
url:
|
|
249
|
+
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)).base, `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/${encodeURIComponent(serializers.Uuid.jsonOrThrow(transcriptId, { omitUndefined: true }))}`),
|
|
231
250
|
method: "GET",
|
|
232
251
|
headers: mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({
|
|
233
252
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -238,7 +257,16 @@ export class Transcripts {
|
|
|
238
257
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
239
258
|
});
|
|
240
259
|
if (_response.ok) {
|
|
241
|
-
return {
|
|
260
|
+
return {
|
|
261
|
+
data: serializers.TranscriptsResponse.parseOrThrow(_response.body, {
|
|
262
|
+
unrecognizedObjectKeys: "passthrough",
|
|
263
|
+
allowUnrecognizedUnionMembers: true,
|
|
264
|
+
allowUnrecognizedEnumValues: true,
|
|
265
|
+
skipValidation: true,
|
|
266
|
+
breadcrumbsPrefix: ["response"],
|
|
267
|
+
}),
|
|
268
|
+
rawResponse: _response.rawResponse,
|
|
269
|
+
};
|
|
242
270
|
}
|
|
243
271
|
if (_response.error.reason === "status-code") {
|
|
244
272
|
switch (_response.error.statusCode) {
|
|
@@ -247,11 +275,23 @@ export class Transcripts {
|
|
|
247
275
|
case 401:
|
|
248
276
|
throw new Corti.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
249
277
|
case 403:
|
|
250
|
-
throw new Corti.ForbiddenError(_response.error.body,
|
|
278
|
+
throw new Corti.ForbiddenError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
279
|
+
unrecognizedObjectKeys: "passthrough",
|
|
280
|
+
allowUnrecognizedUnionMembers: true,
|
|
281
|
+
allowUnrecognizedEnumValues: true,
|
|
282
|
+
skipValidation: true,
|
|
283
|
+
breadcrumbsPrefix: ["response"],
|
|
284
|
+
}), _response.rawResponse);
|
|
251
285
|
case 500:
|
|
252
286
|
throw new Corti.InternalServerError(_response.error.body, _response.rawResponse);
|
|
253
287
|
case 504:
|
|
254
|
-
throw new Corti.GatewayTimeoutError(_response.error.body,
|
|
288
|
+
throw new Corti.GatewayTimeoutError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
289
|
+
unrecognizedObjectKeys: "passthrough",
|
|
290
|
+
allowUnrecognizedUnionMembers: true,
|
|
291
|
+
allowUnrecognizedEnumValues: true,
|
|
292
|
+
skipValidation: true,
|
|
293
|
+
breadcrumbsPrefix: ["response"],
|
|
294
|
+
}), _response.rawResponse);
|
|
255
295
|
default:
|
|
256
296
|
throw new errors.CortiError({
|
|
257
297
|
statusCode: _response.error.statusCode,
|
|
@@ -280,8 +320,8 @@ export class Transcripts {
|
|
|
280
320
|
/**
|
|
281
321
|
* Deletes a specific transcript associated with an interaction.
|
|
282
322
|
*
|
|
283
|
-
* @param {Corti.Uuid} id - The unique identifier of the interaction
|
|
284
|
-
* @param {Corti.Uuid} transcriptId - The unique identifier of the transcript
|
|
323
|
+
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
324
|
+
* @param {Corti.Uuid} transcriptId - The unique identifier of the transcript. Must be a valid UUID.
|
|
285
325
|
* @param {Transcripts.RequestOptions} requestOptions - Request-specific configuration.
|
|
286
326
|
*
|
|
287
327
|
* @throws {@link Corti.BadRequestError}
|
|
@@ -300,7 +340,7 @@ export class Transcripts {
|
|
|
300
340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
301
341
|
var _a, _b;
|
|
302
342
|
const _response = yield core.fetcher({
|
|
303
|
-
url:
|
|
343
|
+
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)).base, `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/${encodeURIComponent(serializers.Uuid.jsonOrThrow(transcriptId, { omitUndefined: true }))}`),
|
|
304
344
|
method: "DELETE",
|
|
305
345
|
headers: mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({
|
|
306
346
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -320,11 +360,23 @@ export class Transcripts {
|
|
|
320
360
|
case 401:
|
|
321
361
|
throw new Corti.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
322
362
|
case 403:
|
|
323
|
-
throw new Corti.ForbiddenError(_response.error.body,
|
|
363
|
+
throw new Corti.ForbiddenError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
364
|
+
unrecognizedObjectKeys: "passthrough",
|
|
365
|
+
allowUnrecognizedUnionMembers: true,
|
|
366
|
+
allowUnrecognizedEnumValues: true,
|
|
367
|
+
skipValidation: true,
|
|
368
|
+
breadcrumbsPrefix: ["response"],
|
|
369
|
+
}), _response.rawResponse);
|
|
324
370
|
case 500:
|
|
325
371
|
throw new Corti.InternalServerError(_response.error.body, _response.rawResponse);
|
|
326
372
|
case 504:
|
|
327
|
-
throw new Corti.GatewayTimeoutError(_response.error.body,
|
|
373
|
+
throw new Corti.GatewayTimeoutError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
374
|
+
unrecognizedObjectKeys: "passthrough",
|
|
375
|
+
allowUnrecognizedUnionMembers: true,
|
|
376
|
+
allowUnrecognizedEnumValues: true,
|
|
377
|
+
skipValidation: true,
|
|
378
|
+
breadcrumbsPrefix: ["response"],
|
|
379
|
+
}), _response.rawResponse);
|
|
328
380
|
default:
|
|
329
381
|
throw new errors.CortiError({
|
|
330
382
|
statusCode: _response.error.statusCode,
|