keplar-api 0.0.1
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/.openapi-generator/FILES +151 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/dist/apis/DefaultApi.d.ts +736 -0
- package/dist/apis/DefaultApi.js +3538 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ApiCallMessagesSearchPost200ResponseInner.d.ts +74 -0
- package/dist/models/ApiCallMessagesSearchPost200ResponseInner.js +77 -0
- package/dist/models/ApiDemosCreateDemoInvitePostRequest.d.ts +50 -0
- package/dist/models/ApiDemosCreateDemoInvitePostRequest.js +63 -0
- package/dist/models/ApiFilesFileIdSignedUrlPost200Response.d.ts +38 -0
- package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +55 -0
- package/dist/models/ApiFilesFileIdSignedUrlPostRequest.d.ts +39 -0
- package/dist/models/ApiFilesFileIdSignedUrlPostRequest.js +52 -0
- package/dist/models/ApiFilesFileIdSignedUrlPostRequestAction.d.ts +26 -0
- package/dist/models/ApiFilesFileIdSignedUrlPostRequestAction.js +39 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.d.ts +32 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.js +51 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.d.ts +32 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.js +51 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.d.ts +39 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.js +56 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.d.ts +39 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.js +56 -0
- package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +108 -0
- package/dist/models/ApiInviteCodeCodeStartGet302Response.js +97 -0
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.d.ts +45 -0
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.js +56 -0
- package/dist/models/ApiInvitesIdParticipantInvitesParticipantIdPutRequest.d.ts +32 -0
- package/dist/models/ApiInvitesIdParticipantInvitesParticipantIdPutRequest.js +49 -0
- package/dist/models/ApiInvitesIdParticipantInvitesPostRequest.d.ts +33 -0
- package/dist/models/ApiInvitesIdParticipantInvitesPostRequest.js +52 -0
- package/dist/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.d.ts +57 -0
- package/dist/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.js +58 -0
- package/dist/models/ApiInvitesIdPutRequest.d.ts +64 -0
- package/dist/models/ApiInvitesIdPutRequest.js +65 -0
- package/dist/models/ApiInvitesIdResponsesGet200Response.d.ts +51 -0
- package/dist/models/ApiInvitesIdResponsesGet200Response.js +64 -0
- package/dist/models/ApiInvitesIdResponsesPostRequest.d.ts +46 -0
- package/dist/models/ApiInvitesIdResponsesPostRequest.js +55 -0
- package/dist/models/ApiInvitesIdResponsesResponseIdPutRequest.d.ts +39 -0
- package/dist/models/ApiInvitesIdResponsesResponseIdPutRequest.js +54 -0
- package/dist/models/ApiInvitesPostRequest.d.ts +57 -0
- package/dist/models/ApiInvitesPostRequest.js +64 -0
- package/dist/models/ApiProjectsGet200Response.d.ts +51 -0
- package/dist/models/ApiProjectsGet200Response.js +64 -0
- package/dist/models/ApiProjectsPostRequest.d.ts +72 -0
- package/dist/models/ApiProjectsPostRequest.js +71 -0
- package/dist/models/ApiProjectsPostRequestThreadAssetsInner.d.ts +38 -0
- package/dist/models/ApiProjectsPostRequestThreadAssetsInner.js +55 -0
- package/dist/models/ApiProjectsProjectIdFilesFileIdPutRequest.d.ts +39 -0
- package/dist/models/ApiProjectsProjectIdFilesFileIdPutRequest.js +52 -0
- package/dist/models/ApiProjectsProjectIdFilesGet200Response.d.ts +51 -0
- package/dist/models/ApiProjectsProjectIdFilesGet200Response.js +64 -0
- package/dist/models/ApiProjectsProjectIdFilesPostRequest.d.ts +51 -0
- package/dist/models/ApiProjectsProjectIdFilesPostRequest.js +58 -0
- package/dist/models/ApiProjectsProjectIdPutRequest.d.ts +59 -0
- package/dist/models/ApiProjectsProjectIdPutRequest.js +60 -0
- package/dist/models/ApiProjectsProjectIdSearchTranscriptsPostRequest.d.ts +38 -0
- package/dist/models/ApiProjectsProjectIdSearchTranscriptsPostRequest.js +51 -0
- package/dist/models/ApiThreadsGet200Response.d.ts +51 -0
- package/dist/models/ApiThreadsGet200Response.js +64 -0
- package/dist/models/ApiThreadsThreadIdFilesGet200Response.d.ts +57 -0
- package/dist/models/ApiThreadsThreadIdFilesGet200Response.js +68 -0
- package/dist/models/ApiThreadsThreadIdPostRequest.d.ts +59 -0
- package/dist/models/ApiThreadsThreadIdPostRequest.js +58 -0
- package/dist/models/BadRequestErrorResponse.d.ts +32 -0
- package/dist/models/BadRequestErrorResponse.js +51 -0
- package/dist/models/Call.d.ts +161 -0
- package/dist/models/Call.js +106 -0
- package/dist/models/CallEvent.d.ts +57 -0
- package/dist/models/CallEvent.js +66 -0
- package/dist/models/CallKind.d.ts +25 -0
- package/dist/models/CallKind.js +51 -0
- package/dist/models/CallMetadata.d.ts +65 -0
- package/dist/models/CallMetadata.js +66 -0
- package/dist/models/CallStatus.d.ts +26 -0
- package/dist/models/CallStatus.js +52 -0
- package/dist/models/ChatCompletionTool.d.ts +46 -0
- package/dist/models/ChatCompletionTool.js +63 -0
- package/dist/models/ChatCompletionToolFunction.d.ts +46 -0
- package/dist/models/ChatCompletionToolFunction.js +55 -0
- package/dist/models/ChatMessage.d.ts +83 -0
- package/dist/models/ChatMessage.js +80 -0
- package/dist/models/ChatMessageKind.d.ts +29 -0
- package/dist/models/ChatMessageKind.js +55 -0
- package/dist/models/ChatMessageRole.d.ts +26 -0
- package/dist/models/ChatMessageRole.js +52 -0
- package/dist/models/ChatSession.d.ts +101 -0
- package/dist/models/ChatSession.js +83 -0
- package/dist/models/Citation.d.ts +75 -0
- package/dist/models/Citation.js +72 -0
- package/dist/models/CodeInvite.d.ts +108 -0
- package/dist/models/CodeInvite.js +97 -0
- package/dist/models/CodeInviteResponse.d.ts +91 -0
- package/dist/models/CodeInviteResponse.js +83 -0
- package/dist/models/ConversationMessage.d.ts +100 -0
- package/dist/models/ConversationMessage.js +88 -0
- package/dist/models/ConversationMessageTopic.d.ts +58 -0
- package/dist/models/ConversationMessageTopic.js +65 -0
- package/dist/models/FileMimeType.d.ts +26 -0
- package/dist/models/FileMimeType.js +52 -0
- package/dist/models/ForbiddenErrorResponse.d.ts +32 -0
- package/dist/models/ForbiddenErrorResponse.js +51 -0
- package/dist/models/GetParticipantInvitesResponse.d.ts +39 -0
- package/dist/models/GetParticipantInvitesResponse.js +56 -0
- package/dist/models/GetProjectResponsesResponse.d.ts +51 -0
- package/dist/models/GetProjectResponsesResponse.js +64 -0
- package/dist/models/InboundCallResponse.d.ts +52 -0
- package/dist/models/InboundCallResponse.js +63 -0
- package/dist/models/InternalServerErrorResponse.d.ts +32 -0
- package/dist/models/InternalServerErrorResponse.js +51 -0
- package/dist/models/Invite.d.ts +135 -0
- package/dist/models/Invite.js +106 -0
- package/dist/models/InviteConfig.d.ts +88 -0
- package/dist/models/InviteConfig.js +73 -0
- package/dist/models/InviteResponse.d.ts +104 -0
- package/dist/models/InviteResponse.js +88 -0
- package/dist/models/InviteResponseData.d.ts +59 -0
- package/dist/models/InviteResponseData.js +58 -0
- package/dist/models/InviteResponseKind.d.ts +26 -0
- package/dist/models/InviteResponseKind.js +52 -0
- package/dist/models/InviteResponseStatus.d.ts +32 -0
- package/dist/models/InviteResponseStatus.js +58 -0
- package/dist/models/InviteResponseUpdateEvent.d.ts +31 -0
- package/dist/models/InviteResponseUpdateEvent.js +114 -0
- package/dist/models/InviteStatus.d.ts +28 -0
- package/dist/models/InviteStatus.js +54 -0
- package/dist/models/InviteWithAnalytics.d.ts +147 -0
- package/dist/models/InviteWithAnalytics.js +114 -0
- package/dist/models/ModelFile.d.ts +165 -0
- package/dist/models/ModelFile.js +118 -0
- package/dist/models/Moderator.d.ts +140 -0
- package/dist/models/Moderator.js +107 -0
- package/dist/models/ModeratorVendor.d.ts +25 -0
- package/dist/models/ModeratorVendor.js +51 -0
- package/dist/models/ModeratorVisibility.d.ts +26 -0
- package/dist/models/ModeratorVisibility.js +52 -0
- package/dist/models/NotFoundErrorResponse.d.ts +32 -0
- package/dist/models/NotFoundErrorResponse.js +51 -0
- package/dist/models/OpenAiModelConfig.d.ts +52 -0
- package/dist/models/OpenAiModelConfig.js +68 -0
- package/dist/models/Org.d.ts +104 -0
- package/dist/models/Org.js +87 -0
- package/dist/models/Participant.d.ts +102 -0
- package/dist/models/Participant.js +83 -0
- package/dist/models/ParticipantCreate.d.ts +56 -0
- package/dist/models/ParticipantCreate.js +57 -0
- package/dist/models/ParticipantInvite.d.ts +84 -0
- package/dist/models/ParticipantInvite.js +79 -0
- package/dist/models/ParticipantInviteConfig.d.ts +44 -0
- package/dist/models/ParticipantInviteConfig.js +53 -0
- package/dist/models/ParticipantInviteData.d.ts +38 -0
- package/dist/models/ParticipantInviteData.js +51 -0
- package/dist/models/PhoneCallStartResponse.d.ts +44 -0
- package/dist/models/PhoneCallStartResponse.js +57 -0
- package/dist/models/Project.d.ts +151 -0
- package/dist/models/Project.js +116 -0
- package/dist/models/ProjectAnalysis.d.ts +52 -0
- package/dist/models/ProjectAnalysis.js +61 -0
- package/dist/models/ProjectAudience.d.ts +46 -0
- package/dist/models/ProjectAudience.js +56 -0
- package/dist/models/ProjectConfig.d.ts +61 -0
- package/dist/models/ProjectConfig.js +64 -0
- package/dist/models/ProjectConversationConfig.d.ts +51 -0
- package/dist/models/ProjectConversationConfig.js +64 -0
- package/dist/models/ProjectFile.d.ts +90 -0
- package/dist/models/ProjectFile.js +81 -0
- package/dist/models/ProjectFileCategory.d.ts +28 -0
- package/dist/models/ProjectFileCategory.js +54 -0
- package/dist/models/ProjectFileMetadata.d.ts +44 -0
- package/dist/models/ProjectFileMetadata.js +53 -0
- package/dist/models/ProjectFilePublic.d.ts +46 -0
- package/dist/models/ProjectFilePublic.js +57 -0
- package/dist/models/ProjectFilePublicFile.d.ts +51 -0
- package/dist/models/ProjectFilePublicFile.js +58 -0
- package/dist/models/ProjectPanelQualification.d.ts +38 -0
- package/dist/models/ProjectPanelQualification.js +55 -0
- package/dist/models/ProjectPanelRespondentAttribute.d.ts +45 -0
- package/dist/models/ProjectPanelRespondentAttribute.js +60 -0
- package/dist/models/ProjectPanelSettings.d.ts +63 -0
- package/dist/models/ProjectPanelSettings.js +62 -0
- package/dist/models/ProjectScreenerQuestionChooseOne.d.ts +57 -0
- package/dist/models/ProjectScreenerQuestionChooseOne.js +70 -0
- package/dist/models/ProjectScreenerQuestionChooseOnePublic.d.ts +51 -0
- package/dist/models/ProjectScreenerQuestionChooseOnePublic.js +66 -0
- package/dist/models/ProjectScreenerQuestionResponse.d.ts +44 -0
- package/dist/models/ProjectScreenerQuestionResponse.js +59 -0
- package/dist/models/ProjectStatus.d.ts +27 -0
- package/dist/models/ProjectStatus.js +53 -0
- package/dist/models/ProjectSummaryWithAnalytics.d.ts +70 -0
- package/dist/models/ProjectSummaryWithAnalytics.js +75 -0
- package/dist/models/ProjectTemplateSettings.d.ts +24 -0
- package/dist/models/ProjectTemplateSettings.js +65 -0
- package/dist/models/ProjectWithAnalytics.d.ts +151 -0
- package/dist/models/ProjectWithAnalytics.js +118 -0
- package/dist/models/RemainingResponsesResponse.d.ts +32 -0
- package/dist/models/RemainingResponsesResponse.js +51 -0
- package/dist/models/RepDataConfigLegacy.d.ts +59 -0
- package/dist/models/RepDataConfigLegacy.js +61 -0
- package/dist/models/RepDataProjectLegacy.d.ts +32 -0
- package/dist/models/RepDataProjectLegacy.js +51 -0
- package/dist/models/RepDataStudyLegacy.d.ts +93 -0
- package/dist/models/RepDataStudyLegacy.js +92 -0
- package/dist/models/RepDataStudyLegacyQualificationsInner.d.ts +38 -0
- package/dist/models/RepDataStudyLegacyQualificationsInner.js +55 -0
- package/dist/models/RepDataSurveyLegacy.d.ts +46 -0
- package/dist/models/RepDataSurveyLegacy.js +59 -0
- package/dist/models/RepDataSurveyLegacyProject.d.ts +32 -0
- package/dist/models/RepDataSurveyLegacyProject.js +51 -0
- package/dist/models/RepDataSurveyStatusLegacy.d.ts +26 -0
- package/dist/models/RepDataSurveyStatusLegacy.js +52 -0
- package/dist/models/RepdataQualification.d.ts +39 -0
- package/dist/models/RepdataQualification.js +56 -0
- package/dist/models/RepdataQualificationAllowedOptionIdsInner.d.ts +21 -0
- package/dist/models/RepdataQualificationAllowedOptionIdsInner.js +38 -0
- package/dist/models/RepdataRespondentAttribute.d.ts +63 -0
- package/dist/models/RepdataRespondentAttribute.js +72 -0
- package/dist/models/RepdataSurvey.d.ts +64 -0
- package/dist/models/RepdataSurvey.js +73 -0
- package/dist/models/RepdataSurveyAttributes.d.ts +123 -0
- package/dist/models/RepdataSurveyAttributes.js +112 -0
- package/dist/models/RepdataSurveyRedirects.d.ts +56 -0
- package/dist/models/RepdataSurveyRedirects.js +67 -0
- package/dist/models/ResponseCallCompletedEvent.d.ts +39 -0
- package/dist/models/ResponseCallCompletedEvent.js +58 -0
- package/dist/models/ResponseCallFailedEvent.d.ts +45 -0
- package/dist/models/ResponseCallFailedEvent.js +62 -0
- package/dist/models/ResponseConsentEvent.d.ts +39 -0
- package/dist/models/ResponseConsentEvent.js +58 -0
- package/dist/models/ResponseOptOutEvent.d.ts +39 -0
- package/dist/models/ResponseOptOutEvent.js +58 -0
- package/dist/models/ResponseProcessingCompletedEvent.d.ts +39 -0
- package/dist/models/ResponseProcessingCompletedEvent.js +58 -0
- package/dist/models/ResponseProcessingFailedEvent.d.ts +45 -0
- package/dist/models/ResponseProcessingFailedEvent.js +62 -0
- package/dist/models/ResponseRedirectEvent.d.ts +39 -0
- package/dist/models/ResponseRedirectEvent.js +58 -0
- package/dist/models/ResponseStartCallEvent.d.ts +39 -0
- package/dist/models/ResponseStartCallEvent.js +58 -0
- package/dist/models/ResponseSubmitEmailEvent.d.ts +45 -0
- package/dist/models/ResponseSubmitEmailEvent.js +62 -0
- package/dist/models/ResponseSubmitScreenerEvent.d.ts +46 -0
- package/dist/models/ResponseSubmitScreenerEvent.js +63 -0
- package/dist/models/SearchProjectTranscriptsResponse.d.ts +51 -0
- package/dist/models/SearchProjectTranscriptsResponse.js +64 -0
- package/dist/models/TemplateConceptTest.d.ts +45 -0
- package/dist/models/TemplateConceptTest.js +62 -0
- package/dist/models/TemplateCustom.d.ts +45 -0
- package/dist/models/TemplateCustom.js +62 -0
- package/dist/models/TemplateInterview.d.ts +51 -0
- package/dist/models/TemplateInterview.js +66 -0
- package/dist/models/Thread.d.ts +116 -0
- package/dist/models/Thread.js +92 -0
- package/dist/models/ThreadCreateProjectStatus.d.ts +25 -0
- package/dist/models/ThreadCreateProjectStatus.js +51 -0
- package/dist/models/ThreadFile.d.ts +64 -0
- package/dist/models/ThreadFile.js +69 -0
- package/dist/models/ThreadKind.d.ts +25 -0
- package/dist/models/ThreadKind.js +51 -0
- package/dist/models/ThreadMetadata.d.ts +40 -0
- package/dist/models/ThreadMetadata.js +57 -0
- package/dist/models/Transcript.d.ts +39 -0
- package/dist/models/Transcript.js +56 -0
- package/dist/models/TranscriptMessage.d.ts +56 -0
- package/dist/models/TranscriptMessage.js +67 -0
- package/dist/models/TranscriptMessagesInner.d.ts +56 -0
- package/dist/models/TranscriptMessagesInner.js +67 -0
- package/dist/models/TranscriptQuality.d.ts +26 -0
- package/dist/models/TranscriptQuality.js +52 -0
- package/dist/models/UnauthorizedErrorResponse.d.ts +32 -0
- package/dist/models/UnauthorizedErrorResponse.js +51 -0
- package/dist/models/User.d.ts +156 -0
- package/dist/models/User.js +117 -0
- package/dist/models/UserAccountStatus.d.ts +27 -0
- package/dist/models/UserAccountStatus.js +53 -0
- package/dist/models/UserData.d.ts +32 -0
- package/dist/models/UserData.js +49 -0
- package/dist/models/UserProvider.d.ts +25 -0
- package/dist/models/UserProvider.js +51 -0
- package/dist/models/VapiAssistantConfig.d.ts +71 -0
- package/dist/models/VapiAssistantConfig.js +76 -0
- package/dist/models/VapiVoiceId.d.ts +25 -0
- package/dist/models/VapiVoiceId.js +51 -0
- package/dist/models/VapiVoiceVapiProvider.d.ts +46 -0
- package/dist/models/VapiVoiceVapiProvider.js +63 -0
- package/dist/models/index.d.ts +140 -0
- package/dist/models/index.js +158 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +564 -0
- package/package.json +19 -0
- package/src/apis/DefaultApi.ts +3381 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/ApiCallMessagesSearchPost200ResponseInner.ts +128 -0
- package/src/models/ApiDemosCreateDemoInvitePostRequest.ts +93 -0
- package/src/models/ApiFilesFileIdSignedUrlPost200Response.ts +75 -0
- package/src/models/ApiFilesFileIdSignedUrlPostRequest.ts +81 -0
- package/src/models/ApiFilesFileIdSignedUrlPostRequestAction.ts +46 -0
- package/src/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.ts +66 -0
- package/src/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.ts +66 -0
- package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.ts +83 -0
- package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.ts +85 -0
- package/src/models/ApiInviteCodeCodeStartGet302Response.ts +202 -0
- package/src/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.ts +90 -0
- package/src/models/ApiInvitesIdParticipantInvitesParticipantIdPutRequest.ts +65 -0
- package/src/models/ApiInvitesIdParticipantInvitesPostRequest.ts +74 -0
- package/src/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.ts +105 -0
- package/src/models/ApiInvitesIdPutRequest.ts +124 -0
- package/src/models/ApiInvitesIdResponsesGet200Response.ts +101 -0
- package/src/models/ApiInvitesIdResponsesPostRequest.ts +98 -0
- package/src/models/ApiInvitesIdResponsesResponseIdPutRequest.ts +84 -0
- package/src/models/ApiInvitesPostRequest.ts +108 -0
- package/src/models/ApiProjectsGet200Response.ts +101 -0
- package/src/models/ApiProjectsPostRequest.ts +147 -0
- package/src/models/ApiProjectsPostRequestThreadAssetsInner.ts +75 -0
- package/src/models/ApiProjectsProjectIdFilesFileIdPutRequest.ts +81 -0
- package/src/models/ApiProjectsProjectIdFilesGet200Response.ts +101 -0
- package/src/models/ApiProjectsProjectIdFilesPostRequest.ts +98 -0
- package/src/models/ApiProjectsProjectIdPutRequest.ts +121 -0
- package/src/models/ApiProjectsProjectIdSearchTranscriptsPostRequest.ts +73 -0
- package/src/models/ApiThreadsGet200Response.ts +101 -0
- package/src/models/ApiThreadsThreadIdFilesGet200Response.ts +110 -0
- package/src/models/ApiThreadsThreadIdPostRequest.ts +107 -0
- package/src/models/BadRequestErrorResponse.ts +66 -0
- package/src/models/Call.ts +296 -0
- package/src/models/CallEvent.ts +109 -0
- package/src/models/CallKind.ts +53 -0
- package/src/models/CallMetadata.ts +109 -0
- package/src/models/CallStatus.ts +54 -0
- package/src/models/ChatCompletionTool.ts +93 -0
- package/src/models/ChatCompletionToolFunction.ts +82 -0
- package/src/models/ChatMessage.ts +159 -0
- package/src/models/ChatMessageKind.ts +57 -0
- package/src/models/ChatMessageRole.ts +54 -0
- package/src/models/ChatSession.ts +180 -0
- package/src/models/Citation.ts +135 -0
- package/src/models/CodeInvite.ts +202 -0
- package/src/models/CodeInviteResponse.ts +181 -0
- package/src/models/ConversationMessage.ts +176 -0
- package/src/models/ConversationMessageTopic.ts +115 -0
- package/src/models/FileMimeType.ts +54 -0
- package/src/models/ForbiddenErrorResponse.ts +66 -0
- package/src/models/GetParticipantInvitesResponse.ts +83 -0
- package/src/models/GetProjectResponsesResponse.ts +101 -0
- package/src/models/InboundCallResponse.ts +93 -0
- package/src/models/InternalServerErrorResponse.ts +66 -0
- package/src/models/Invite.ts +254 -0
- package/src/models/InviteConfig.ts +154 -0
- package/src/models/InviteResponse.ts +204 -0
- package/src/models/InviteResponseData.ts +105 -0
- package/src/models/InviteResponseKind.ts +54 -0
- package/src/models/InviteResponseStatus.ts +60 -0
- package/src/models/InviteResponseUpdateEvent.ts +182 -0
- package/src/models/InviteStatus.ts +56 -0
- package/src/models/InviteWithAnalytics.ts +272 -0
- package/src/models/ModelFile.ts +282 -0
- package/src/models/Moderator.ts +255 -0
- package/src/models/ModeratorVendor.ts +53 -0
- package/src/models/ModeratorVisibility.ts +54 -0
- package/src/models/NotFoundErrorResponse.ts +66 -0
- package/src/models/OpenAiModelConfig.ts +93 -0
- package/src/models/Org.ts +201 -0
- package/src/models/Participant.ts +186 -0
- package/src/models/ParticipantCreate.ts +97 -0
- package/src/models/ParticipantInvite.ts +163 -0
- package/src/models/ParticipantInviteConfig.ts +81 -0
- package/src/models/ParticipantInviteData.ts +73 -0
- package/src/models/PhoneCallStartResponse.ts +83 -0
- package/src/models/Project.ts +299 -0
- package/src/models/ProjectAnalysis.ts +92 -0
- package/src/models/ProjectAudience.ts +97 -0
- package/src/models/ProjectConfig.ts +121 -0
- package/src/models/ProjectConversationConfig.ts +101 -0
- package/src/models/ProjectFile.ts +173 -0
- package/src/models/ProjectFileCategory.ts +56 -0
- package/src/models/ProjectFileMetadata.ts +81 -0
- package/src/models/ProjectFilePublic.ts +97 -0
- package/src/models/ProjectFilePublicFile.ts +100 -0
- package/src/models/ProjectPanelQualification.ts +75 -0
- package/src/models/ProjectPanelRespondentAttribute.ts +92 -0
- package/src/models/ProjectPanelSettings.ts +114 -0
- package/src/models/ProjectScreenerQuestionChooseOne.ts +103 -0
- package/src/models/ProjectScreenerQuestionChooseOnePublic.ts +94 -0
- package/src/models/ProjectScreenerQuestionResponse.ts +84 -0
- package/src/models/ProjectStatus.ts +55 -0
- package/src/models/ProjectSummaryWithAnalytics.ts +136 -0
- package/src/models/ProjectTemplateSettings.ts +91 -0
- package/src/models/ProjectWithAnalytics.ts +300 -0
- package/src/models/RemainingResponsesResponse.ts +66 -0
- package/src/models/RepDataConfigLegacy.ts +120 -0
- package/src/models/RepDataProjectLegacy.ts +66 -0
- package/src/models/RepDataStudyLegacy.ts +164 -0
- package/src/models/RepDataStudyLegacyQualificationsInner.ts +75 -0
- package/src/models/RepDataSurveyLegacy.ts +100 -0
- package/src/models/RepDataSurveyLegacyProject.ts +66 -0
- package/src/models/RepDataSurveyStatusLegacy.ts +54 -0
- package/src/models/RepdataQualification.ts +83 -0
- package/src/models/RepdataQualificationAllowedOptionIdsInner.ts +45 -0
- package/src/models/RepdataRespondentAttribute.ts +119 -0
- package/src/models/RepdataSurvey.ts +126 -0
- package/src/models/RepdataSurveyAttributes.ts +209 -0
- package/src/models/RepdataSurveyRedirects.ts +102 -0
- package/src/models/ResponseCallCompletedEvent.ts +76 -0
- package/src/models/ResponseCallFailedEvent.ts +85 -0
- package/src/models/ResponseConsentEvent.ts +76 -0
- package/src/models/ResponseOptOutEvent.ts +76 -0
- package/src/models/ResponseProcessingCompletedEvent.ts +76 -0
- package/src/models/ResponseProcessingFailedEvent.ts +85 -0
- package/src/models/ResponseRedirectEvent.ts +76 -0
- package/src/models/ResponseStartCallEvent.ts +76 -0
- package/src/models/ResponseSubmitEmailEvent.ts +85 -0
- package/src/models/ResponseSubmitScreenerEvent.ts +93 -0
- package/src/models/SearchProjectTranscriptsResponse.ts +101 -0
- package/src/models/TemplateConceptTest.ts +85 -0
- package/src/models/TemplateCustom.ts +85 -0
- package/src/models/TemplateInterview.ts +94 -0
- package/src/models/Thread.ts +220 -0
- package/src/models/ThreadCreateProjectStatus.ts +53 -0
- package/src/models/ThreadFile.ts +124 -0
- package/src/models/ThreadKind.ts +53 -0
- package/src/models/ThreadMetadata.ts +76 -0
- package/src/models/Transcript.ts +83 -0
- package/src/models/TranscriptMessage.ts +102 -0
- package/src/models/TranscriptMessagesInner.ts +102 -0
- package/src/models/TranscriptQuality.ts +54 -0
- package/src/models/UnauthorizedErrorResponse.ts +66 -0
- package/src/models/User.ts +300 -0
- package/src/models/UserAccountStatus.ts +55 -0
- package/src/models/UserData.ts +65 -0
- package/src/models/UserProvider.ts +53 -0
- package/src/models/VapiAssistantConfig.ts +141 -0
- package/src/models/VapiVoiceId.ts +53 -0
- package/src/models/VapiVoiceVapiProvider.ts +93 -0
- package/src/models/index.ts +142 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUser = instanceOfUser;
|
|
17
|
+
exports.UserFromJSON = UserFromJSON;
|
|
18
|
+
exports.UserFromJSONTyped = UserFromJSONTyped;
|
|
19
|
+
exports.UserToJSON = UserToJSON;
|
|
20
|
+
exports.UserToJSONTyped = UserToJSONTyped;
|
|
21
|
+
var Moderator_1 = require("./Moderator");
|
|
22
|
+
var Project_1 = require("./Project");
|
|
23
|
+
var UserAccountStatus_1 = require("./UserAccountStatus");
|
|
24
|
+
var Org_1 = require("./Org");
|
|
25
|
+
var UserData_1 = require("./UserData");
|
|
26
|
+
var UserProvider_1 = require("./UserProvider");
|
|
27
|
+
var ModelFile_1 = require("./ModelFile");
|
|
28
|
+
var ChatSession_1 = require("./ChatSession");
|
|
29
|
+
var Invite_1 = require("./Invite");
|
|
30
|
+
var Thread_1 = require("./Thread");
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the User interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfUser(value) {
|
|
35
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('seq' in value) || value['seq'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('provider' in value) || value['provider'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('accountStatus' in value) || value['accountStatus'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('orgId' in value) || value['orgId'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
function UserFromJSON(json) {
|
|
58
|
+
return UserFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': json['id'],
|
|
66
|
+
'seq': json['seq'],
|
|
67
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
68
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
69
|
+
'provider': (0, UserProvider_1.UserProviderFromJSON)(json['provider']),
|
|
70
|
+
'userId': json['userId'],
|
|
71
|
+
'email': json['email'],
|
|
72
|
+
'name': json['name'],
|
|
73
|
+
'accountStatus': (0, UserAccountStatus_1.UserAccountStatusFromJSON)(json['accountStatus']),
|
|
74
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
75
|
+
'profileImageUrl': json['profileImageUrl'] == null ? undefined : json['profileImageUrl'],
|
|
76
|
+
'data': json['data'] == null ? undefined : (0, UserData_1.UserDataFromJSON)(json['data']),
|
|
77
|
+
'orgId': json['orgId'],
|
|
78
|
+
'org': json['org'] == null ? undefined : (0, Org_1.OrgFromJSON)(json['org']),
|
|
79
|
+
'projects': json['projects'] == null ? undefined : (json['projects'].map(Project_1.ProjectFromJSON)),
|
|
80
|
+
'invites': json['invites'] == null ? undefined : (json['invites'].map(Invite_1.InviteFromJSON)),
|
|
81
|
+
'chatSessions': json['chatSessions'] == null ? undefined : (json['chatSessions'].map(ChatSession_1.ChatSessionFromJSON)),
|
|
82
|
+
'moderators': json['moderators'] == null ? undefined : (json['moderators'].map(Moderator_1.ModeratorFromJSON)),
|
|
83
|
+
'uploadedFiles': json['uploadedFiles'] == null ? undefined : (json['uploadedFiles'].map(ModelFile_1.ModelFileFromJSON)),
|
|
84
|
+
'threads': json['threads'] == null ? undefined : (json['threads'].map(Thread_1.ThreadFromJSON)),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function UserToJSON(json) {
|
|
88
|
+
return UserToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
function UserToJSONTyped(value, ignoreDiscriminator) {
|
|
91
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
92
|
+
if (value == null) {
|
|
93
|
+
return value;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
'id': value['id'],
|
|
97
|
+
'seq': value['seq'],
|
|
98
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
99
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
100
|
+
'provider': (0, UserProvider_1.UserProviderToJSON)(value['provider']),
|
|
101
|
+
'userId': value['userId'],
|
|
102
|
+
'email': value['email'],
|
|
103
|
+
'name': value['name'],
|
|
104
|
+
'accountStatus': (0, UserAccountStatus_1.UserAccountStatusToJSON)(value['accountStatus']),
|
|
105
|
+
'location': value['location'],
|
|
106
|
+
'profileImageUrl': value['profileImageUrl'],
|
|
107
|
+
'data': (0, UserData_1.UserDataToJSON)(value['data']),
|
|
108
|
+
'orgId': value['orgId'],
|
|
109
|
+
'org': (0, Org_1.OrgToJSON)(value['org']),
|
|
110
|
+
'projects': value['projects'] == null ? undefined : (value['projects'].map(Project_1.ProjectToJSON)),
|
|
111
|
+
'invites': value['invites'] == null ? undefined : (value['invites'].map(Invite_1.InviteToJSON)),
|
|
112
|
+
'chatSessions': value['chatSessions'] == null ? undefined : (value['chatSessions'].map(ChatSession_1.ChatSessionToJSON)),
|
|
113
|
+
'moderators': value['moderators'] == null ? undefined : (value['moderators'].map(Moderator_1.ModeratorToJSON)),
|
|
114
|
+
'uploadedFiles': value['uploadedFiles'] == null ? undefined : (value['uploadedFiles'].map(ModelFile_1.ModelFileToJSON)),
|
|
115
|
+
'threads': value['threads'] == null ? undefined : (value['threads'].map(Thread_1.ThreadToJSON)),
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const UserAccountStatus: {
|
|
17
|
+
readonly Active: "ACTIVE";
|
|
18
|
+
readonly Suspended: "SUSPENDED";
|
|
19
|
+
readonly Deleted: "DELETED";
|
|
20
|
+
readonly Pending: "PENDING";
|
|
21
|
+
};
|
|
22
|
+
export type UserAccountStatus = typeof UserAccountStatus[keyof typeof UserAccountStatus];
|
|
23
|
+
export declare function instanceOfUserAccountStatus(value: any): boolean;
|
|
24
|
+
export declare function UserAccountStatusFromJSON(json: any): UserAccountStatus;
|
|
25
|
+
export declare function UserAccountStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAccountStatus;
|
|
26
|
+
export declare function UserAccountStatusToJSON(value?: UserAccountStatus | null): any;
|
|
27
|
+
export declare function UserAccountStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): UserAccountStatus;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserAccountStatus = void 0;
|
|
17
|
+
exports.instanceOfUserAccountStatus = instanceOfUserAccountStatus;
|
|
18
|
+
exports.UserAccountStatusFromJSON = UserAccountStatusFromJSON;
|
|
19
|
+
exports.UserAccountStatusFromJSONTyped = UserAccountStatusFromJSONTyped;
|
|
20
|
+
exports.UserAccountStatusToJSON = UserAccountStatusToJSON;
|
|
21
|
+
exports.UserAccountStatusToJSONTyped = UserAccountStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UserAccountStatus = {
|
|
27
|
+
Active: 'ACTIVE',
|
|
28
|
+
Suspended: 'SUSPENDED',
|
|
29
|
+
Deleted: 'DELETED',
|
|
30
|
+
Pending: 'PENDING'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfUserAccountStatus(value) {
|
|
33
|
+
for (var key in exports.UserAccountStatus) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.UserAccountStatus, key)) {
|
|
35
|
+
if (exports.UserAccountStatus[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function UserAccountStatusFromJSON(json) {
|
|
43
|
+
return UserAccountStatusFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function UserAccountStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function UserAccountStatusToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function UserAccountStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserData
|
|
16
|
+
*/
|
|
17
|
+
export interface UserData {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UserData
|
|
22
|
+
*/
|
|
23
|
+
launchTrial?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UserData interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUserData(value: object): value is UserData;
|
|
29
|
+
export declare function UserDataFromJSON(json: any): UserData;
|
|
30
|
+
export declare function UserDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserData;
|
|
31
|
+
export declare function UserDataToJSON(json: any): UserData;
|
|
32
|
+
export declare function UserDataToJSONTyped(value?: UserData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserData = instanceOfUserData;
|
|
17
|
+
exports.UserDataFromJSON = UserDataFromJSON;
|
|
18
|
+
exports.UserDataFromJSONTyped = UserDataFromJSONTyped;
|
|
19
|
+
exports.UserDataToJSON = UserDataToJSON;
|
|
20
|
+
exports.UserDataToJSONTyped = UserDataToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserData interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserData(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UserDataFromJSON(json) {
|
|
28
|
+
return UserDataFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UserDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'launchTrial': json['launchTrial'] == null ? undefined : json['launchTrial'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function UserDataToJSON(json) {
|
|
39
|
+
return UserDataToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function UserDataToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'launchTrial': value['launchTrial'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const UserProvider: {
|
|
17
|
+
readonly Google: "google";
|
|
18
|
+
readonly Email: "email";
|
|
19
|
+
};
|
|
20
|
+
export type UserProvider = typeof UserProvider[keyof typeof UserProvider];
|
|
21
|
+
export declare function instanceOfUserProvider(value: any): boolean;
|
|
22
|
+
export declare function UserProviderFromJSON(json: any): UserProvider;
|
|
23
|
+
export declare function UserProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserProvider;
|
|
24
|
+
export declare function UserProviderToJSON(value?: UserProvider | null): any;
|
|
25
|
+
export declare function UserProviderToJSONTyped(value: any, ignoreDiscriminator: boolean): UserProvider;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserProvider = void 0;
|
|
17
|
+
exports.instanceOfUserProvider = instanceOfUserProvider;
|
|
18
|
+
exports.UserProviderFromJSON = UserProviderFromJSON;
|
|
19
|
+
exports.UserProviderFromJSONTyped = UserProviderFromJSONTyped;
|
|
20
|
+
exports.UserProviderToJSON = UserProviderToJSON;
|
|
21
|
+
exports.UserProviderToJSONTyped = UserProviderToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UserProvider = {
|
|
27
|
+
Google: 'google',
|
|
28
|
+
Email: 'email'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfUserProvider(value) {
|
|
31
|
+
for (var key in exports.UserProvider) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.UserProvider, key)) {
|
|
33
|
+
if (exports.UserProvider[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function UserProviderFromJSON(json) {
|
|
41
|
+
return UserProviderFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function UserProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function UserProviderToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function UserProviderToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { VapiVoiceVapiProvider } from './VapiVoiceVapiProvider';
|
|
13
|
+
import type { ChatCompletionTool } from './ChatCompletionTool';
|
|
14
|
+
import type { OpenAiModelConfig } from './OpenAiModelConfig';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface VapiAssistantConfig
|
|
19
|
+
*/
|
|
20
|
+
export interface VapiAssistantConfig {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof VapiAssistantConfig
|
|
25
|
+
*/
|
|
26
|
+
systemPrompt: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {OpenAiModelConfig}
|
|
30
|
+
* @memberof VapiAssistantConfig
|
|
31
|
+
*/
|
|
32
|
+
model: OpenAiModelConfig;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof VapiAssistantConfig
|
|
37
|
+
*/
|
|
38
|
+
firstMessage: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof VapiAssistantConfig
|
|
43
|
+
*/
|
|
44
|
+
endCallMessage: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof VapiAssistantConfig
|
|
49
|
+
*/
|
|
50
|
+
maxDurationSeconds: number;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {VapiVoiceVapiProvider}
|
|
54
|
+
* @memberof VapiAssistantConfig
|
|
55
|
+
*/
|
|
56
|
+
voice: VapiVoiceVapiProvider;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<ChatCompletionTool>}
|
|
60
|
+
* @memberof VapiAssistantConfig
|
|
61
|
+
*/
|
|
62
|
+
tools?: Array<ChatCompletionTool>;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the VapiAssistantConfig interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfVapiAssistantConfig(value: object): value is VapiAssistantConfig;
|
|
68
|
+
export declare function VapiAssistantConfigFromJSON(json: any): VapiAssistantConfig;
|
|
69
|
+
export declare function VapiAssistantConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): VapiAssistantConfig;
|
|
70
|
+
export declare function VapiAssistantConfigToJSON(json: any): VapiAssistantConfig;
|
|
71
|
+
export declare function VapiAssistantConfigToJSONTyped(value?: VapiAssistantConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVapiAssistantConfig = instanceOfVapiAssistantConfig;
|
|
17
|
+
exports.VapiAssistantConfigFromJSON = VapiAssistantConfigFromJSON;
|
|
18
|
+
exports.VapiAssistantConfigFromJSONTyped = VapiAssistantConfigFromJSONTyped;
|
|
19
|
+
exports.VapiAssistantConfigToJSON = VapiAssistantConfigToJSON;
|
|
20
|
+
exports.VapiAssistantConfigToJSONTyped = VapiAssistantConfigToJSONTyped;
|
|
21
|
+
var VapiVoiceVapiProvider_1 = require("./VapiVoiceVapiProvider");
|
|
22
|
+
var ChatCompletionTool_1 = require("./ChatCompletionTool");
|
|
23
|
+
var OpenAiModelConfig_1 = require("./OpenAiModelConfig");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the VapiAssistantConfig interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfVapiAssistantConfig(value) {
|
|
28
|
+
if (!('systemPrompt' in value) || value['systemPrompt'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('model' in value) || value['model'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('firstMessage' in value) || value['firstMessage'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('endCallMessage' in value) || value['endCallMessage'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('maxDurationSeconds' in value) || value['maxDurationSeconds'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('voice' in value) || value['voice'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function VapiAssistantConfigFromJSON(json) {
|
|
43
|
+
return VapiAssistantConfigFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function VapiAssistantConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'systemPrompt': json['systemPrompt'],
|
|
51
|
+
'model': (0, OpenAiModelConfig_1.OpenAiModelConfigFromJSON)(json['model']),
|
|
52
|
+
'firstMessage': json['firstMessage'],
|
|
53
|
+
'endCallMessage': json['endCallMessage'],
|
|
54
|
+
'maxDurationSeconds': json['maxDurationSeconds'],
|
|
55
|
+
'voice': (0, VapiVoiceVapiProvider_1.VapiVoiceVapiProviderFromJSON)(json['voice']),
|
|
56
|
+
'tools': json['tools'] == null ? undefined : (json['tools'].map(ChatCompletionTool_1.ChatCompletionToolFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function VapiAssistantConfigToJSON(json) {
|
|
60
|
+
return VapiAssistantConfigToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function VapiAssistantConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
63
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'systemPrompt': value['systemPrompt'],
|
|
69
|
+
'model': (0, OpenAiModelConfig_1.OpenAiModelConfigToJSON)(value['model']),
|
|
70
|
+
'firstMessage': value['firstMessage'],
|
|
71
|
+
'endCallMessage': value['endCallMessage'],
|
|
72
|
+
'maxDurationSeconds': value['maxDurationSeconds'],
|
|
73
|
+
'voice': (0, VapiVoiceVapiProvider_1.VapiVoiceVapiProviderToJSON)(value['voice']),
|
|
74
|
+
'tools': value['tools'] == null ? undefined : (value['tools'].map(ChatCompletionTool_1.ChatCompletionToolToJSON)),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const VapiVoiceId: {
|
|
17
|
+
readonly Elliot: "Elliot";
|
|
18
|
+
readonly Paige: "Paige";
|
|
19
|
+
};
|
|
20
|
+
export type VapiVoiceId = typeof VapiVoiceId[keyof typeof VapiVoiceId];
|
|
21
|
+
export declare function instanceOfVapiVoiceId(value: any): boolean;
|
|
22
|
+
export declare function VapiVoiceIdFromJSON(json: any): VapiVoiceId;
|
|
23
|
+
export declare function VapiVoiceIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): VapiVoiceId;
|
|
24
|
+
export declare function VapiVoiceIdToJSON(value?: VapiVoiceId | null): any;
|
|
25
|
+
export declare function VapiVoiceIdToJSONTyped(value: any, ignoreDiscriminator: boolean): VapiVoiceId;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.VapiVoiceId = void 0;
|
|
17
|
+
exports.instanceOfVapiVoiceId = instanceOfVapiVoiceId;
|
|
18
|
+
exports.VapiVoiceIdFromJSON = VapiVoiceIdFromJSON;
|
|
19
|
+
exports.VapiVoiceIdFromJSONTyped = VapiVoiceIdFromJSONTyped;
|
|
20
|
+
exports.VapiVoiceIdToJSON = VapiVoiceIdToJSON;
|
|
21
|
+
exports.VapiVoiceIdToJSONTyped = VapiVoiceIdToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.VapiVoiceId = {
|
|
27
|
+
Elliot: 'Elliot',
|
|
28
|
+
Paige: 'Paige'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfVapiVoiceId(value) {
|
|
31
|
+
for (var key in exports.VapiVoiceId) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.VapiVoiceId, key)) {
|
|
33
|
+
if (exports.VapiVoiceId[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function VapiVoiceIdFromJSON(json) {
|
|
41
|
+
return VapiVoiceIdFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function VapiVoiceIdFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function VapiVoiceIdToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function VapiVoiceIdToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { VapiVoiceId } from './VapiVoiceId';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface VapiVoiceVapiProvider
|
|
17
|
+
*/
|
|
18
|
+
export interface VapiVoiceVapiProvider {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof VapiVoiceVapiProvider
|
|
23
|
+
*/
|
|
24
|
+
provider: VapiVoiceVapiProviderProviderEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {VapiVoiceId}
|
|
28
|
+
* @memberof VapiVoiceVapiProvider
|
|
29
|
+
*/
|
|
30
|
+
voiceId: VapiVoiceId;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const VapiVoiceVapiProviderProviderEnum: {
|
|
36
|
+
readonly Vapi: "vapi";
|
|
37
|
+
};
|
|
38
|
+
export type VapiVoiceVapiProviderProviderEnum = typeof VapiVoiceVapiProviderProviderEnum[keyof typeof VapiVoiceVapiProviderProviderEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the VapiVoiceVapiProvider interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfVapiVoiceVapiProvider(value: object): value is VapiVoiceVapiProvider;
|
|
43
|
+
export declare function VapiVoiceVapiProviderFromJSON(json: any): VapiVoiceVapiProvider;
|
|
44
|
+
export declare function VapiVoiceVapiProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): VapiVoiceVapiProvider;
|
|
45
|
+
export declare function VapiVoiceVapiProviderToJSON(json: any): VapiVoiceVapiProvider;
|
|
46
|
+
export declare function VapiVoiceVapiProviderToJSONTyped(value?: VapiVoiceVapiProvider | null, ignoreDiscriminator?: boolean): any;
|