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.
Files changed (441) hide show
  1. package/.openapi-generator/FILES +151 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +46 -0
  5. package/dist/apis/DefaultApi.d.ts +736 -0
  6. package/dist/apis/DefaultApi.js +3538 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +19 -0
  9. package/dist/index.d.ts +3 -0
  10. package/dist/index.js +21 -0
  11. package/dist/models/ApiCallMessagesSearchPost200ResponseInner.d.ts +74 -0
  12. package/dist/models/ApiCallMessagesSearchPost200ResponseInner.js +77 -0
  13. package/dist/models/ApiDemosCreateDemoInvitePostRequest.d.ts +50 -0
  14. package/dist/models/ApiDemosCreateDemoInvitePostRequest.js +63 -0
  15. package/dist/models/ApiFilesFileIdSignedUrlPost200Response.d.ts +38 -0
  16. package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +55 -0
  17. package/dist/models/ApiFilesFileIdSignedUrlPostRequest.d.ts +39 -0
  18. package/dist/models/ApiFilesFileIdSignedUrlPostRequest.js +52 -0
  19. package/dist/models/ApiFilesFileIdSignedUrlPostRequestAction.d.ts +26 -0
  20. package/dist/models/ApiFilesFileIdSignedUrlPostRequestAction.js +39 -0
  21. package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.d.ts +32 -0
  22. package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.js +51 -0
  23. package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.d.ts +32 -0
  24. package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.js +51 -0
  25. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.d.ts +39 -0
  26. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.js +56 -0
  27. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.d.ts +39 -0
  28. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.js +56 -0
  29. package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +108 -0
  30. package/dist/models/ApiInviteCodeCodeStartGet302Response.js +97 -0
  31. package/dist/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.d.ts +45 -0
  32. package/dist/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.js +56 -0
  33. package/dist/models/ApiInvitesIdParticipantInvitesParticipantIdPutRequest.d.ts +32 -0
  34. package/dist/models/ApiInvitesIdParticipantInvitesParticipantIdPutRequest.js +49 -0
  35. package/dist/models/ApiInvitesIdParticipantInvitesPostRequest.d.ts +33 -0
  36. package/dist/models/ApiInvitesIdParticipantInvitesPostRequest.js +52 -0
  37. package/dist/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.d.ts +57 -0
  38. package/dist/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.js +58 -0
  39. package/dist/models/ApiInvitesIdPutRequest.d.ts +64 -0
  40. package/dist/models/ApiInvitesIdPutRequest.js +65 -0
  41. package/dist/models/ApiInvitesIdResponsesGet200Response.d.ts +51 -0
  42. package/dist/models/ApiInvitesIdResponsesGet200Response.js +64 -0
  43. package/dist/models/ApiInvitesIdResponsesPostRequest.d.ts +46 -0
  44. package/dist/models/ApiInvitesIdResponsesPostRequest.js +55 -0
  45. package/dist/models/ApiInvitesIdResponsesResponseIdPutRequest.d.ts +39 -0
  46. package/dist/models/ApiInvitesIdResponsesResponseIdPutRequest.js +54 -0
  47. package/dist/models/ApiInvitesPostRequest.d.ts +57 -0
  48. package/dist/models/ApiInvitesPostRequest.js +64 -0
  49. package/dist/models/ApiProjectsGet200Response.d.ts +51 -0
  50. package/dist/models/ApiProjectsGet200Response.js +64 -0
  51. package/dist/models/ApiProjectsPostRequest.d.ts +72 -0
  52. package/dist/models/ApiProjectsPostRequest.js +71 -0
  53. package/dist/models/ApiProjectsPostRequestThreadAssetsInner.d.ts +38 -0
  54. package/dist/models/ApiProjectsPostRequestThreadAssetsInner.js +55 -0
  55. package/dist/models/ApiProjectsProjectIdFilesFileIdPutRequest.d.ts +39 -0
  56. package/dist/models/ApiProjectsProjectIdFilesFileIdPutRequest.js +52 -0
  57. package/dist/models/ApiProjectsProjectIdFilesGet200Response.d.ts +51 -0
  58. package/dist/models/ApiProjectsProjectIdFilesGet200Response.js +64 -0
  59. package/dist/models/ApiProjectsProjectIdFilesPostRequest.d.ts +51 -0
  60. package/dist/models/ApiProjectsProjectIdFilesPostRequest.js +58 -0
  61. package/dist/models/ApiProjectsProjectIdPutRequest.d.ts +59 -0
  62. package/dist/models/ApiProjectsProjectIdPutRequest.js +60 -0
  63. package/dist/models/ApiProjectsProjectIdSearchTranscriptsPostRequest.d.ts +38 -0
  64. package/dist/models/ApiProjectsProjectIdSearchTranscriptsPostRequest.js +51 -0
  65. package/dist/models/ApiThreadsGet200Response.d.ts +51 -0
  66. package/dist/models/ApiThreadsGet200Response.js +64 -0
  67. package/dist/models/ApiThreadsThreadIdFilesGet200Response.d.ts +57 -0
  68. package/dist/models/ApiThreadsThreadIdFilesGet200Response.js +68 -0
  69. package/dist/models/ApiThreadsThreadIdPostRequest.d.ts +59 -0
  70. package/dist/models/ApiThreadsThreadIdPostRequest.js +58 -0
  71. package/dist/models/BadRequestErrorResponse.d.ts +32 -0
  72. package/dist/models/BadRequestErrorResponse.js +51 -0
  73. package/dist/models/Call.d.ts +161 -0
  74. package/dist/models/Call.js +106 -0
  75. package/dist/models/CallEvent.d.ts +57 -0
  76. package/dist/models/CallEvent.js +66 -0
  77. package/dist/models/CallKind.d.ts +25 -0
  78. package/dist/models/CallKind.js +51 -0
  79. package/dist/models/CallMetadata.d.ts +65 -0
  80. package/dist/models/CallMetadata.js +66 -0
  81. package/dist/models/CallStatus.d.ts +26 -0
  82. package/dist/models/CallStatus.js +52 -0
  83. package/dist/models/ChatCompletionTool.d.ts +46 -0
  84. package/dist/models/ChatCompletionTool.js +63 -0
  85. package/dist/models/ChatCompletionToolFunction.d.ts +46 -0
  86. package/dist/models/ChatCompletionToolFunction.js +55 -0
  87. package/dist/models/ChatMessage.d.ts +83 -0
  88. package/dist/models/ChatMessage.js +80 -0
  89. package/dist/models/ChatMessageKind.d.ts +29 -0
  90. package/dist/models/ChatMessageKind.js +55 -0
  91. package/dist/models/ChatMessageRole.d.ts +26 -0
  92. package/dist/models/ChatMessageRole.js +52 -0
  93. package/dist/models/ChatSession.d.ts +101 -0
  94. package/dist/models/ChatSession.js +83 -0
  95. package/dist/models/Citation.d.ts +75 -0
  96. package/dist/models/Citation.js +72 -0
  97. package/dist/models/CodeInvite.d.ts +108 -0
  98. package/dist/models/CodeInvite.js +97 -0
  99. package/dist/models/CodeInviteResponse.d.ts +91 -0
  100. package/dist/models/CodeInviteResponse.js +83 -0
  101. package/dist/models/ConversationMessage.d.ts +100 -0
  102. package/dist/models/ConversationMessage.js +88 -0
  103. package/dist/models/ConversationMessageTopic.d.ts +58 -0
  104. package/dist/models/ConversationMessageTopic.js +65 -0
  105. package/dist/models/FileMimeType.d.ts +26 -0
  106. package/dist/models/FileMimeType.js +52 -0
  107. package/dist/models/ForbiddenErrorResponse.d.ts +32 -0
  108. package/dist/models/ForbiddenErrorResponse.js +51 -0
  109. package/dist/models/GetParticipantInvitesResponse.d.ts +39 -0
  110. package/dist/models/GetParticipantInvitesResponse.js +56 -0
  111. package/dist/models/GetProjectResponsesResponse.d.ts +51 -0
  112. package/dist/models/GetProjectResponsesResponse.js +64 -0
  113. package/dist/models/InboundCallResponse.d.ts +52 -0
  114. package/dist/models/InboundCallResponse.js +63 -0
  115. package/dist/models/InternalServerErrorResponse.d.ts +32 -0
  116. package/dist/models/InternalServerErrorResponse.js +51 -0
  117. package/dist/models/Invite.d.ts +135 -0
  118. package/dist/models/Invite.js +106 -0
  119. package/dist/models/InviteConfig.d.ts +88 -0
  120. package/dist/models/InviteConfig.js +73 -0
  121. package/dist/models/InviteResponse.d.ts +104 -0
  122. package/dist/models/InviteResponse.js +88 -0
  123. package/dist/models/InviteResponseData.d.ts +59 -0
  124. package/dist/models/InviteResponseData.js +58 -0
  125. package/dist/models/InviteResponseKind.d.ts +26 -0
  126. package/dist/models/InviteResponseKind.js +52 -0
  127. package/dist/models/InviteResponseStatus.d.ts +32 -0
  128. package/dist/models/InviteResponseStatus.js +58 -0
  129. package/dist/models/InviteResponseUpdateEvent.d.ts +31 -0
  130. package/dist/models/InviteResponseUpdateEvent.js +114 -0
  131. package/dist/models/InviteStatus.d.ts +28 -0
  132. package/dist/models/InviteStatus.js +54 -0
  133. package/dist/models/InviteWithAnalytics.d.ts +147 -0
  134. package/dist/models/InviteWithAnalytics.js +114 -0
  135. package/dist/models/ModelFile.d.ts +165 -0
  136. package/dist/models/ModelFile.js +118 -0
  137. package/dist/models/Moderator.d.ts +140 -0
  138. package/dist/models/Moderator.js +107 -0
  139. package/dist/models/ModeratorVendor.d.ts +25 -0
  140. package/dist/models/ModeratorVendor.js +51 -0
  141. package/dist/models/ModeratorVisibility.d.ts +26 -0
  142. package/dist/models/ModeratorVisibility.js +52 -0
  143. package/dist/models/NotFoundErrorResponse.d.ts +32 -0
  144. package/dist/models/NotFoundErrorResponse.js +51 -0
  145. package/dist/models/OpenAiModelConfig.d.ts +52 -0
  146. package/dist/models/OpenAiModelConfig.js +68 -0
  147. package/dist/models/Org.d.ts +104 -0
  148. package/dist/models/Org.js +87 -0
  149. package/dist/models/Participant.d.ts +102 -0
  150. package/dist/models/Participant.js +83 -0
  151. package/dist/models/ParticipantCreate.d.ts +56 -0
  152. package/dist/models/ParticipantCreate.js +57 -0
  153. package/dist/models/ParticipantInvite.d.ts +84 -0
  154. package/dist/models/ParticipantInvite.js +79 -0
  155. package/dist/models/ParticipantInviteConfig.d.ts +44 -0
  156. package/dist/models/ParticipantInviteConfig.js +53 -0
  157. package/dist/models/ParticipantInviteData.d.ts +38 -0
  158. package/dist/models/ParticipantInviteData.js +51 -0
  159. package/dist/models/PhoneCallStartResponse.d.ts +44 -0
  160. package/dist/models/PhoneCallStartResponse.js +57 -0
  161. package/dist/models/Project.d.ts +151 -0
  162. package/dist/models/Project.js +116 -0
  163. package/dist/models/ProjectAnalysis.d.ts +52 -0
  164. package/dist/models/ProjectAnalysis.js +61 -0
  165. package/dist/models/ProjectAudience.d.ts +46 -0
  166. package/dist/models/ProjectAudience.js +56 -0
  167. package/dist/models/ProjectConfig.d.ts +61 -0
  168. package/dist/models/ProjectConfig.js +64 -0
  169. package/dist/models/ProjectConversationConfig.d.ts +51 -0
  170. package/dist/models/ProjectConversationConfig.js +64 -0
  171. package/dist/models/ProjectFile.d.ts +90 -0
  172. package/dist/models/ProjectFile.js +81 -0
  173. package/dist/models/ProjectFileCategory.d.ts +28 -0
  174. package/dist/models/ProjectFileCategory.js +54 -0
  175. package/dist/models/ProjectFileMetadata.d.ts +44 -0
  176. package/dist/models/ProjectFileMetadata.js +53 -0
  177. package/dist/models/ProjectFilePublic.d.ts +46 -0
  178. package/dist/models/ProjectFilePublic.js +57 -0
  179. package/dist/models/ProjectFilePublicFile.d.ts +51 -0
  180. package/dist/models/ProjectFilePublicFile.js +58 -0
  181. package/dist/models/ProjectPanelQualification.d.ts +38 -0
  182. package/dist/models/ProjectPanelQualification.js +55 -0
  183. package/dist/models/ProjectPanelRespondentAttribute.d.ts +45 -0
  184. package/dist/models/ProjectPanelRespondentAttribute.js +60 -0
  185. package/dist/models/ProjectPanelSettings.d.ts +63 -0
  186. package/dist/models/ProjectPanelSettings.js +62 -0
  187. package/dist/models/ProjectScreenerQuestionChooseOne.d.ts +57 -0
  188. package/dist/models/ProjectScreenerQuestionChooseOne.js +70 -0
  189. package/dist/models/ProjectScreenerQuestionChooseOnePublic.d.ts +51 -0
  190. package/dist/models/ProjectScreenerQuestionChooseOnePublic.js +66 -0
  191. package/dist/models/ProjectScreenerQuestionResponse.d.ts +44 -0
  192. package/dist/models/ProjectScreenerQuestionResponse.js +59 -0
  193. package/dist/models/ProjectStatus.d.ts +27 -0
  194. package/dist/models/ProjectStatus.js +53 -0
  195. package/dist/models/ProjectSummaryWithAnalytics.d.ts +70 -0
  196. package/dist/models/ProjectSummaryWithAnalytics.js +75 -0
  197. package/dist/models/ProjectTemplateSettings.d.ts +24 -0
  198. package/dist/models/ProjectTemplateSettings.js +65 -0
  199. package/dist/models/ProjectWithAnalytics.d.ts +151 -0
  200. package/dist/models/ProjectWithAnalytics.js +118 -0
  201. package/dist/models/RemainingResponsesResponse.d.ts +32 -0
  202. package/dist/models/RemainingResponsesResponse.js +51 -0
  203. package/dist/models/RepDataConfigLegacy.d.ts +59 -0
  204. package/dist/models/RepDataConfigLegacy.js +61 -0
  205. package/dist/models/RepDataProjectLegacy.d.ts +32 -0
  206. package/dist/models/RepDataProjectLegacy.js +51 -0
  207. package/dist/models/RepDataStudyLegacy.d.ts +93 -0
  208. package/dist/models/RepDataStudyLegacy.js +92 -0
  209. package/dist/models/RepDataStudyLegacyQualificationsInner.d.ts +38 -0
  210. package/dist/models/RepDataStudyLegacyQualificationsInner.js +55 -0
  211. package/dist/models/RepDataSurveyLegacy.d.ts +46 -0
  212. package/dist/models/RepDataSurveyLegacy.js +59 -0
  213. package/dist/models/RepDataSurveyLegacyProject.d.ts +32 -0
  214. package/dist/models/RepDataSurveyLegacyProject.js +51 -0
  215. package/dist/models/RepDataSurveyStatusLegacy.d.ts +26 -0
  216. package/dist/models/RepDataSurveyStatusLegacy.js +52 -0
  217. package/dist/models/RepdataQualification.d.ts +39 -0
  218. package/dist/models/RepdataQualification.js +56 -0
  219. package/dist/models/RepdataQualificationAllowedOptionIdsInner.d.ts +21 -0
  220. package/dist/models/RepdataQualificationAllowedOptionIdsInner.js +38 -0
  221. package/dist/models/RepdataRespondentAttribute.d.ts +63 -0
  222. package/dist/models/RepdataRespondentAttribute.js +72 -0
  223. package/dist/models/RepdataSurvey.d.ts +64 -0
  224. package/dist/models/RepdataSurvey.js +73 -0
  225. package/dist/models/RepdataSurveyAttributes.d.ts +123 -0
  226. package/dist/models/RepdataSurveyAttributes.js +112 -0
  227. package/dist/models/RepdataSurveyRedirects.d.ts +56 -0
  228. package/dist/models/RepdataSurveyRedirects.js +67 -0
  229. package/dist/models/ResponseCallCompletedEvent.d.ts +39 -0
  230. package/dist/models/ResponseCallCompletedEvent.js +58 -0
  231. package/dist/models/ResponseCallFailedEvent.d.ts +45 -0
  232. package/dist/models/ResponseCallFailedEvent.js +62 -0
  233. package/dist/models/ResponseConsentEvent.d.ts +39 -0
  234. package/dist/models/ResponseConsentEvent.js +58 -0
  235. package/dist/models/ResponseOptOutEvent.d.ts +39 -0
  236. package/dist/models/ResponseOptOutEvent.js +58 -0
  237. package/dist/models/ResponseProcessingCompletedEvent.d.ts +39 -0
  238. package/dist/models/ResponseProcessingCompletedEvent.js +58 -0
  239. package/dist/models/ResponseProcessingFailedEvent.d.ts +45 -0
  240. package/dist/models/ResponseProcessingFailedEvent.js +62 -0
  241. package/dist/models/ResponseRedirectEvent.d.ts +39 -0
  242. package/dist/models/ResponseRedirectEvent.js +58 -0
  243. package/dist/models/ResponseStartCallEvent.d.ts +39 -0
  244. package/dist/models/ResponseStartCallEvent.js +58 -0
  245. package/dist/models/ResponseSubmitEmailEvent.d.ts +45 -0
  246. package/dist/models/ResponseSubmitEmailEvent.js +62 -0
  247. package/dist/models/ResponseSubmitScreenerEvent.d.ts +46 -0
  248. package/dist/models/ResponseSubmitScreenerEvent.js +63 -0
  249. package/dist/models/SearchProjectTranscriptsResponse.d.ts +51 -0
  250. package/dist/models/SearchProjectTranscriptsResponse.js +64 -0
  251. package/dist/models/TemplateConceptTest.d.ts +45 -0
  252. package/dist/models/TemplateConceptTest.js +62 -0
  253. package/dist/models/TemplateCustom.d.ts +45 -0
  254. package/dist/models/TemplateCustom.js +62 -0
  255. package/dist/models/TemplateInterview.d.ts +51 -0
  256. package/dist/models/TemplateInterview.js +66 -0
  257. package/dist/models/Thread.d.ts +116 -0
  258. package/dist/models/Thread.js +92 -0
  259. package/dist/models/ThreadCreateProjectStatus.d.ts +25 -0
  260. package/dist/models/ThreadCreateProjectStatus.js +51 -0
  261. package/dist/models/ThreadFile.d.ts +64 -0
  262. package/dist/models/ThreadFile.js +69 -0
  263. package/dist/models/ThreadKind.d.ts +25 -0
  264. package/dist/models/ThreadKind.js +51 -0
  265. package/dist/models/ThreadMetadata.d.ts +40 -0
  266. package/dist/models/ThreadMetadata.js +57 -0
  267. package/dist/models/Transcript.d.ts +39 -0
  268. package/dist/models/Transcript.js +56 -0
  269. package/dist/models/TranscriptMessage.d.ts +56 -0
  270. package/dist/models/TranscriptMessage.js +67 -0
  271. package/dist/models/TranscriptMessagesInner.d.ts +56 -0
  272. package/dist/models/TranscriptMessagesInner.js +67 -0
  273. package/dist/models/TranscriptQuality.d.ts +26 -0
  274. package/dist/models/TranscriptQuality.js +52 -0
  275. package/dist/models/UnauthorizedErrorResponse.d.ts +32 -0
  276. package/dist/models/UnauthorizedErrorResponse.js +51 -0
  277. package/dist/models/User.d.ts +156 -0
  278. package/dist/models/User.js +117 -0
  279. package/dist/models/UserAccountStatus.d.ts +27 -0
  280. package/dist/models/UserAccountStatus.js +53 -0
  281. package/dist/models/UserData.d.ts +32 -0
  282. package/dist/models/UserData.js +49 -0
  283. package/dist/models/UserProvider.d.ts +25 -0
  284. package/dist/models/UserProvider.js +51 -0
  285. package/dist/models/VapiAssistantConfig.d.ts +71 -0
  286. package/dist/models/VapiAssistantConfig.js +76 -0
  287. package/dist/models/VapiVoiceId.d.ts +25 -0
  288. package/dist/models/VapiVoiceId.js +51 -0
  289. package/dist/models/VapiVoiceVapiProvider.d.ts +46 -0
  290. package/dist/models/VapiVoiceVapiProvider.js +63 -0
  291. package/dist/models/index.d.ts +140 -0
  292. package/dist/models/index.js +158 -0
  293. package/dist/runtime.d.ts +184 -0
  294. package/dist/runtime.js +564 -0
  295. package/package.json +19 -0
  296. package/src/apis/DefaultApi.ts +3381 -0
  297. package/src/apis/index.ts +3 -0
  298. package/src/index.ts +5 -0
  299. package/src/models/ApiCallMessagesSearchPost200ResponseInner.ts +128 -0
  300. package/src/models/ApiDemosCreateDemoInvitePostRequest.ts +93 -0
  301. package/src/models/ApiFilesFileIdSignedUrlPost200Response.ts +75 -0
  302. package/src/models/ApiFilesFileIdSignedUrlPostRequest.ts +81 -0
  303. package/src/models/ApiFilesFileIdSignedUrlPostRequestAction.ts +46 -0
  304. package/src/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.ts +66 -0
  305. package/src/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.ts +66 -0
  306. package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.ts +83 -0
  307. package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.ts +85 -0
  308. package/src/models/ApiInviteCodeCodeStartGet302Response.ts +202 -0
  309. package/src/models/ApiInviteCodeCodeStartGet302ResponseProjectConfig.ts +90 -0
  310. package/src/models/ApiInvitesIdParticipantInvitesParticipantIdPutRequest.ts +65 -0
  311. package/src/models/ApiInvitesIdParticipantInvitesPostRequest.ts +74 -0
  312. package/src/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.ts +105 -0
  313. package/src/models/ApiInvitesIdPutRequest.ts +124 -0
  314. package/src/models/ApiInvitesIdResponsesGet200Response.ts +101 -0
  315. package/src/models/ApiInvitesIdResponsesPostRequest.ts +98 -0
  316. package/src/models/ApiInvitesIdResponsesResponseIdPutRequest.ts +84 -0
  317. package/src/models/ApiInvitesPostRequest.ts +108 -0
  318. package/src/models/ApiProjectsGet200Response.ts +101 -0
  319. package/src/models/ApiProjectsPostRequest.ts +147 -0
  320. package/src/models/ApiProjectsPostRequestThreadAssetsInner.ts +75 -0
  321. package/src/models/ApiProjectsProjectIdFilesFileIdPutRequest.ts +81 -0
  322. package/src/models/ApiProjectsProjectIdFilesGet200Response.ts +101 -0
  323. package/src/models/ApiProjectsProjectIdFilesPostRequest.ts +98 -0
  324. package/src/models/ApiProjectsProjectIdPutRequest.ts +121 -0
  325. package/src/models/ApiProjectsProjectIdSearchTranscriptsPostRequest.ts +73 -0
  326. package/src/models/ApiThreadsGet200Response.ts +101 -0
  327. package/src/models/ApiThreadsThreadIdFilesGet200Response.ts +110 -0
  328. package/src/models/ApiThreadsThreadIdPostRequest.ts +107 -0
  329. package/src/models/BadRequestErrorResponse.ts +66 -0
  330. package/src/models/Call.ts +296 -0
  331. package/src/models/CallEvent.ts +109 -0
  332. package/src/models/CallKind.ts +53 -0
  333. package/src/models/CallMetadata.ts +109 -0
  334. package/src/models/CallStatus.ts +54 -0
  335. package/src/models/ChatCompletionTool.ts +93 -0
  336. package/src/models/ChatCompletionToolFunction.ts +82 -0
  337. package/src/models/ChatMessage.ts +159 -0
  338. package/src/models/ChatMessageKind.ts +57 -0
  339. package/src/models/ChatMessageRole.ts +54 -0
  340. package/src/models/ChatSession.ts +180 -0
  341. package/src/models/Citation.ts +135 -0
  342. package/src/models/CodeInvite.ts +202 -0
  343. package/src/models/CodeInviteResponse.ts +181 -0
  344. package/src/models/ConversationMessage.ts +176 -0
  345. package/src/models/ConversationMessageTopic.ts +115 -0
  346. package/src/models/FileMimeType.ts +54 -0
  347. package/src/models/ForbiddenErrorResponse.ts +66 -0
  348. package/src/models/GetParticipantInvitesResponse.ts +83 -0
  349. package/src/models/GetProjectResponsesResponse.ts +101 -0
  350. package/src/models/InboundCallResponse.ts +93 -0
  351. package/src/models/InternalServerErrorResponse.ts +66 -0
  352. package/src/models/Invite.ts +254 -0
  353. package/src/models/InviteConfig.ts +154 -0
  354. package/src/models/InviteResponse.ts +204 -0
  355. package/src/models/InviteResponseData.ts +105 -0
  356. package/src/models/InviteResponseKind.ts +54 -0
  357. package/src/models/InviteResponseStatus.ts +60 -0
  358. package/src/models/InviteResponseUpdateEvent.ts +182 -0
  359. package/src/models/InviteStatus.ts +56 -0
  360. package/src/models/InviteWithAnalytics.ts +272 -0
  361. package/src/models/ModelFile.ts +282 -0
  362. package/src/models/Moderator.ts +255 -0
  363. package/src/models/ModeratorVendor.ts +53 -0
  364. package/src/models/ModeratorVisibility.ts +54 -0
  365. package/src/models/NotFoundErrorResponse.ts +66 -0
  366. package/src/models/OpenAiModelConfig.ts +93 -0
  367. package/src/models/Org.ts +201 -0
  368. package/src/models/Participant.ts +186 -0
  369. package/src/models/ParticipantCreate.ts +97 -0
  370. package/src/models/ParticipantInvite.ts +163 -0
  371. package/src/models/ParticipantInviteConfig.ts +81 -0
  372. package/src/models/ParticipantInviteData.ts +73 -0
  373. package/src/models/PhoneCallStartResponse.ts +83 -0
  374. package/src/models/Project.ts +299 -0
  375. package/src/models/ProjectAnalysis.ts +92 -0
  376. package/src/models/ProjectAudience.ts +97 -0
  377. package/src/models/ProjectConfig.ts +121 -0
  378. package/src/models/ProjectConversationConfig.ts +101 -0
  379. package/src/models/ProjectFile.ts +173 -0
  380. package/src/models/ProjectFileCategory.ts +56 -0
  381. package/src/models/ProjectFileMetadata.ts +81 -0
  382. package/src/models/ProjectFilePublic.ts +97 -0
  383. package/src/models/ProjectFilePublicFile.ts +100 -0
  384. package/src/models/ProjectPanelQualification.ts +75 -0
  385. package/src/models/ProjectPanelRespondentAttribute.ts +92 -0
  386. package/src/models/ProjectPanelSettings.ts +114 -0
  387. package/src/models/ProjectScreenerQuestionChooseOne.ts +103 -0
  388. package/src/models/ProjectScreenerQuestionChooseOnePublic.ts +94 -0
  389. package/src/models/ProjectScreenerQuestionResponse.ts +84 -0
  390. package/src/models/ProjectStatus.ts +55 -0
  391. package/src/models/ProjectSummaryWithAnalytics.ts +136 -0
  392. package/src/models/ProjectTemplateSettings.ts +91 -0
  393. package/src/models/ProjectWithAnalytics.ts +300 -0
  394. package/src/models/RemainingResponsesResponse.ts +66 -0
  395. package/src/models/RepDataConfigLegacy.ts +120 -0
  396. package/src/models/RepDataProjectLegacy.ts +66 -0
  397. package/src/models/RepDataStudyLegacy.ts +164 -0
  398. package/src/models/RepDataStudyLegacyQualificationsInner.ts +75 -0
  399. package/src/models/RepDataSurveyLegacy.ts +100 -0
  400. package/src/models/RepDataSurveyLegacyProject.ts +66 -0
  401. package/src/models/RepDataSurveyStatusLegacy.ts +54 -0
  402. package/src/models/RepdataQualification.ts +83 -0
  403. package/src/models/RepdataQualificationAllowedOptionIdsInner.ts +45 -0
  404. package/src/models/RepdataRespondentAttribute.ts +119 -0
  405. package/src/models/RepdataSurvey.ts +126 -0
  406. package/src/models/RepdataSurveyAttributes.ts +209 -0
  407. package/src/models/RepdataSurveyRedirects.ts +102 -0
  408. package/src/models/ResponseCallCompletedEvent.ts +76 -0
  409. package/src/models/ResponseCallFailedEvent.ts +85 -0
  410. package/src/models/ResponseConsentEvent.ts +76 -0
  411. package/src/models/ResponseOptOutEvent.ts +76 -0
  412. package/src/models/ResponseProcessingCompletedEvent.ts +76 -0
  413. package/src/models/ResponseProcessingFailedEvent.ts +85 -0
  414. package/src/models/ResponseRedirectEvent.ts +76 -0
  415. package/src/models/ResponseStartCallEvent.ts +76 -0
  416. package/src/models/ResponseSubmitEmailEvent.ts +85 -0
  417. package/src/models/ResponseSubmitScreenerEvent.ts +93 -0
  418. package/src/models/SearchProjectTranscriptsResponse.ts +101 -0
  419. package/src/models/TemplateConceptTest.ts +85 -0
  420. package/src/models/TemplateCustom.ts +85 -0
  421. package/src/models/TemplateInterview.ts +94 -0
  422. package/src/models/Thread.ts +220 -0
  423. package/src/models/ThreadCreateProjectStatus.ts +53 -0
  424. package/src/models/ThreadFile.ts +124 -0
  425. package/src/models/ThreadKind.ts +53 -0
  426. package/src/models/ThreadMetadata.ts +76 -0
  427. package/src/models/Transcript.ts +83 -0
  428. package/src/models/TranscriptMessage.ts +102 -0
  429. package/src/models/TranscriptMessagesInner.ts +102 -0
  430. package/src/models/TranscriptQuality.ts +54 -0
  431. package/src/models/UnauthorizedErrorResponse.ts +66 -0
  432. package/src/models/User.ts +300 -0
  433. package/src/models/UserAccountStatus.ts +55 -0
  434. package/src/models/UserData.ts +65 -0
  435. package/src/models/UserProvider.ts +53 -0
  436. package/src/models/VapiAssistantConfig.ts +141 -0
  437. package/src/models/VapiVoiceId.ts +53 -0
  438. package/src/models/VapiVoiceVapiProvider.ts +93 -0
  439. package/src/models/index.ts +142 -0
  440. package/src/runtime.ts +432 -0
  441. package/tsconfig.json +20 -0
@@ -0,0 +1,72 @@
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.instanceOfRepdataRespondentAttribute = instanceOfRepdataRespondentAttribute;
17
+ exports.RepdataRespondentAttributeFromJSON = RepdataRespondentAttributeFromJSON;
18
+ exports.RepdataRespondentAttributeFromJSONTyped = RepdataRespondentAttributeFromJSONTyped;
19
+ exports.RepdataRespondentAttributeToJSON = RepdataRespondentAttributeToJSON;
20
+ exports.RepdataRespondentAttributeToJSONTyped = RepdataRespondentAttributeToJSONTyped;
21
+ var RepdataQualification_1 = require("./RepdataQualification");
22
+ /**
23
+ * Check if a given object implements the RepdataRespondentAttribute interface.
24
+ */
25
+ function instanceOfRepdataRespondentAttribute(value) {
26
+ if (!('quota_id' in value) || value['quota_id'] === undefined)
27
+ return false;
28
+ if (!('quota_name' in value) || value['quota_name'] === undefined)
29
+ return false;
30
+ if (!('quota' in value) || value['quota'] === undefined)
31
+ return false;
32
+ if (!('survey_starts' in value) || value['survey_starts'] === undefined)
33
+ return false;
34
+ if (!('survey_completes' in value) || value['survey_completes'] === undefined)
35
+ return false;
36
+ if (!('qualifications' in value) || value['qualifications'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function RepdataRespondentAttributeFromJSON(json) {
41
+ return RepdataRespondentAttributeFromJSONTyped(json, false);
42
+ }
43
+ function RepdataRespondentAttributeFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'quota_id': json['quota_id'],
49
+ 'quota_name': json['quota_name'],
50
+ 'quota': json['quota'],
51
+ 'survey_starts': json['survey_starts'],
52
+ 'survey_completes': json['survey_completes'],
53
+ 'qualifications': (json['qualifications'].map(RepdataQualification_1.RepdataQualificationFromJSON)),
54
+ };
55
+ }
56
+ function RepdataRespondentAttributeToJSON(json) {
57
+ return RepdataRespondentAttributeToJSONTyped(json, false);
58
+ }
59
+ function RepdataRespondentAttributeToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'quota_id': value['quota_id'],
66
+ 'quota_name': value['quota_name'],
67
+ 'quota': value['quota'],
68
+ 'survey_starts': value['survey_starts'],
69
+ 'survey_completes': value['survey_completes'],
70
+ 'qualifications': (value['qualifications'].map(RepdataQualification_1.RepdataQualificationToJSON)),
71
+ };
72
+ }
@@ -0,0 +1,64 @@
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 { RepdataSurveyAttributes } from './RepdataSurveyAttributes';
13
+ import type { RepdataRespondentAttribute } from './RepdataRespondentAttribute';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface RepdataSurvey
18
+ */
19
+ export interface RepdataSurvey {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof RepdataSurvey
24
+ */
25
+ id: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof RepdataSurvey
30
+ */
31
+ project_id: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof RepdataSurvey
36
+ */
37
+ name: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof RepdataSurvey
42
+ */
43
+ status: string;
44
+ /**
45
+ *
46
+ * @type {RepdataSurveyAttributes}
47
+ * @memberof RepdataSurvey
48
+ */
49
+ survey_attributes: RepdataSurveyAttributes;
50
+ /**
51
+ *
52
+ * @type {Array<RepdataRespondentAttribute>}
53
+ * @memberof RepdataSurvey
54
+ */
55
+ respondent_attributes: Array<RepdataRespondentAttribute>;
56
+ }
57
+ /**
58
+ * Check if a given object implements the RepdataSurvey interface.
59
+ */
60
+ export declare function instanceOfRepdataSurvey(value: object): value is RepdataSurvey;
61
+ export declare function RepdataSurveyFromJSON(json: any): RepdataSurvey;
62
+ export declare function RepdataSurveyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepdataSurvey;
63
+ export declare function RepdataSurveyToJSON(json: any): RepdataSurvey;
64
+ export declare function RepdataSurveyToJSONTyped(value?: RepdataSurvey | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,73 @@
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.instanceOfRepdataSurvey = instanceOfRepdataSurvey;
17
+ exports.RepdataSurveyFromJSON = RepdataSurveyFromJSON;
18
+ exports.RepdataSurveyFromJSONTyped = RepdataSurveyFromJSONTyped;
19
+ exports.RepdataSurveyToJSON = RepdataSurveyToJSON;
20
+ exports.RepdataSurveyToJSONTyped = RepdataSurveyToJSONTyped;
21
+ var RepdataSurveyAttributes_1 = require("./RepdataSurveyAttributes");
22
+ var RepdataRespondentAttribute_1 = require("./RepdataRespondentAttribute");
23
+ /**
24
+ * Check if a given object implements the RepdataSurvey interface.
25
+ */
26
+ function instanceOfRepdataSurvey(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('project_id' in value) || value['project_id'] === undefined)
30
+ return false;
31
+ if (!('name' in value) || value['name'] === undefined)
32
+ return false;
33
+ if (!('status' in value) || value['status'] === undefined)
34
+ return false;
35
+ if (!('survey_attributes' in value) || value['survey_attributes'] === undefined)
36
+ return false;
37
+ if (!('respondent_attributes' in value) || value['respondent_attributes'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function RepdataSurveyFromJSON(json) {
42
+ return RepdataSurveyFromJSONTyped(json, false);
43
+ }
44
+ function RepdataSurveyFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'id': json['id'],
50
+ 'project_id': json['project_id'],
51
+ 'name': json['name'],
52
+ 'status': json['status'],
53
+ 'survey_attributes': (0, RepdataSurveyAttributes_1.RepdataSurveyAttributesFromJSON)(json['survey_attributes']),
54
+ 'respondent_attributes': (json['respondent_attributes'].map(RepdataRespondentAttribute_1.RepdataRespondentAttributeFromJSON)),
55
+ };
56
+ }
57
+ function RepdataSurveyToJSON(json) {
58
+ return RepdataSurveyToJSONTyped(json, false);
59
+ }
60
+ function RepdataSurveyToJSONTyped(value, ignoreDiscriminator) {
61
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'id': value['id'],
67
+ 'project_id': value['project_id'],
68
+ 'name': value['name'],
69
+ 'status': value['status'],
70
+ 'survey_attributes': (0, RepdataSurveyAttributes_1.RepdataSurveyAttributesToJSON)(value['survey_attributes']),
71
+ 'respondent_attributes': (value['respondent_attributes'].map(RepdataRespondentAttribute_1.RepdataRespondentAttributeToJSON)),
72
+ };
73
+ }
@@ -0,0 +1,123 @@
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 { RepdataSurveyRedirects } from './RepdataSurveyRedirects';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RepdataSurveyAttributes
17
+ */
18
+ export interface RepdataSurveyAttributes {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof RepdataSurveyAttributes
23
+ */
24
+ respondents: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof RepdataSurveyAttributes
29
+ */
30
+ country_code: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof RepdataSurveyAttributes
35
+ */
36
+ language_code: string;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof RepdataSurveyAttributes
41
+ */
42
+ length_of_interview: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof RepdataSurveyAttributes
47
+ */
48
+ incidence_rate: number;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof RepdataSurveyAttributes
53
+ */
54
+ minimum_price_per_complete: number;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof RepdataSurveyAttributes
59
+ */
60
+ offered_price_per_complete: number;
61
+ /**
62
+ *
63
+ * @type {Array<string>}
64
+ * @memberof RepdataSurveyAttributes
65
+ */
66
+ device_compatibilities: Array<string>;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof RepdataSurveyAttributes
71
+ */
72
+ collects_pii: boolean;
73
+ /**
74
+ *
75
+ * @type {boolean}
76
+ * @memberof RepdataSurveyAttributes
77
+ */
78
+ hashing_enabled: boolean;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof RepdataSurveyAttributes
83
+ */
84
+ calculation_type: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof RepdataSurveyAttributes
89
+ */
90
+ traffic_control_limit_type: string;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof RepdataSurveyAttributes
95
+ */
96
+ out_of_field_date: string;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof RepdataSurveyAttributes
101
+ */
102
+ out_of_field_timezone: string;
103
+ /**
104
+ *
105
+ * @type {string}
106
+ * @memberof RepdataSurveyAttributes
107
+ */
108
+ entry_link: string;
109
+ /**
110
+ *
111
+ * @type {RepdataSurveyRedirects}
112
+ * @memberof RepdataSurveyAttributes
113
+ */
114
+ redirects: RepdataSurveyRedirects;
115
+ }
116
+ /**
117
+ * Check if a given object implements the RepdataSurveyAttributes interface.
118
+ */
119
+ export declare function instanceOfRepdataSurveyAttributes(value: object): value is RepdataSurveyAttributes;
120
+ export declare function RepdataSurveyAttributesFromJSON(json: any): RepdataSurveyAttributes;
121
+ export declare function RepdataSurveyAttributesFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepdataSurveyAttributes;
122
+ export declare function RepdataSurveyAttributesToJSON(json: any): RepdataSurveyAttributes;
123
+ export declare function RepdataSurveyAttributesToJSONTyped(value?: RepdataSurveyAttributes | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,112 @@
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.instanceOfRepdataSurveyAttributes = instanceOfRepdataSurveyAttributes;
17
+ exports.RepdataSurveyAttributesFromJSON = RepdataSurveyAttributesFromJSON;
18
+ exports.RepdataSurveyAttributesFromJSONTyped = RepdataSurveyAttributesFromJSONTyped;
19
+ exports.RepdataSurveyAttributesToJSON = RepdataSurveyAttributesToJSON;
20
+ exports.RepdataSurveyAttributesToJSONTyped = RepdataSurveyAttributesToJSONTyped;
21
+ var RepdataSurveyRedirects_1 = require("./RepdataSurveyRedirects");
22
+ /**
23
+ * Check if a given object implements the RepdataSurveyAttributes interface.
24
+ */
25
+ function instanceOfRepdataSurveyAttributes(value) {
26
+ if (!('respondents' in value) || value['respondents'] === undefined)
27
+ return false;
28
+ if (!('country_code' in value) || value['country_code'] === undefined)
29
+ return false;
30
+ if (!('language_code' in value) || value['language_code'] === undefined)
31
+ return false;
32
+ if (!('length_of_interview' in value) || value['length_of_interview'] === undefined)
33
+ return false;
34
+ if (!('incidence_rate' in value) || value['incidence_rate'] === undefined)
35
+ return false;
36
+ if (!('minimum_price_per_complete' in value) || value['minimum_price_per_complete'] === undefined)
37
+ return false;
38
+ if (!('offered_price_per_complete' in value) || value['offered_price_per_complete'] === undefined)
39
+ return false;
40
+ if (!('device_compatibilities' in value) || value['device_compatibilities'] === undefined)
41
+ return false;
42
+ if (!('collects_pii' in value) || value['collects_pii'] === undefined)
43
+ return false;
44
+ if (!('hashing_enabled' in value) || value['hashing_enabled'] === undefined)
45
+ return false;
46
+ if (!('calculation_type' in value) || value['calculation_type'] === undefined)
47
+ return false;
48
+ if (!('traffic_control_limit_type' in value) || value['traffic_control_limit_type'] === undefined)
49
+ return false;
50
+ if (!('out_of_field_date' in value) || value['out_of_field_date'] === undefined)
51
+ return false;
52
+ if (!('out_of_field_timezone' in value) || value['out_of_field_timezone'] === undefined)
53
+ return false;
54
+ if (!('entry_link' in value) || value['entry_link'] === undefined)
55
+ return false;
56
+ if (!('redirects' in value) || value['redirects'] === undefined)
57
+ return false;
58
+ return true;
59
+ }
60
+ function RepdataSurveyAttributesFromJSON(json) {
61
+ return RepdataSurveyAttributesFromJSONTyped(json, false);
62
+ }
63
+ function RepdataSurveyAttributesFromJSONTyped(json, ignoreDiscriminator) {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+ 'respondents': json['respondents'],
69
+ 'country_code': json['country_code'],
70
+ 'language_code': json['language_code'],
71
+ 'length_of_interview': json['length_of_interview'],
72
+ 'incidence_rate': json['incidence_rate'],
73
+ 'minimum_price_per_complete': json['minimum_price_per_complete'],
74
+ 'offered_price_per_complete': json['offered_price_per_complete'],
75
+ 'device_compatibilities': json['device_compatibilities'],
76
+ 'collects_pii': json['collects_pii'],
77
+ 'hashing_enabled': json['hashing_enabled'],
78
+ 'calculation_type': json['calculation_type'],
79
+ 'traffic_control_limit_type': json['traffic_control_limit_type'],
80
+ 'out_of_field_date': json['out_of_field_date'],
81
+ 'out_of_field_timezone': json['out_of_field_timezone'],
82
+ 'entry_link': json['entry_link'],
83
+ 'redirects': (0, RepdataSurveyRedirects_1.RepdataSurveyRedirectsFromJSON)(json['redirects']),
84
+ };
85
+ }
86
+ function RepdataSurveyAttributesToJSON(json) {
87
+ return RepdataSurveyAttributesToJSONTyped(json, false);
88
+ }
89
+ function RepdataSurveyAttributesToJSONTyped(value, ignoreDiscriminator) {
90
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
91
+ if (value == null) {
92
+ return value;
93
+ }
94
+ return {
95
+ 'respondents': value['respondents'],
96
+ 'country_code': value['country_code'],
97
+ 'language_code': value['language_code'],
98
+ 'length_of_interview': value['length_of_interview'],
99
+ 'incidence_rate': value['incidence_rate'],
100
+ 'minimum_price_per_complete': value['minimum_price_per_complete'],
101
+ 'offered_price_per_complete': value['offered_price_per_complete'],
102
+ 'device_compatibilities': value['device_compatibilities'],
103
+ 'collects_pii': value['collects_pii'],
104
+ 'hashing_enabled': value['hashing_enabled'],
105
+ 'calculation_type': value['calculation_type'],
106
+ 'traffic_control_limit_type': value['traffic_control_limit_type'],
107
+ 'out_of_field_date': value['out_of_field_date'],
108
+ 'out_of_field_timezone': value['out_of_field_timezone'],
109
+ 'entry_link': value['entry_link'],
110
+ 'redirects': (0, RepdataSurveyRedirects_1.RepdataSurveyRedirectsToJSON)(value['redirects']),
111
+ };
112
+ }
@@ -0,0 +1,56 @@
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 RepdataSurveyRedirects
16
+ */
17
+ export interface RepdataSurveyRedirects {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RepdataSurveyRedirects
22
+ */
23
+ complete: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RepdataSurveyRedirects
28
+ */
29
+ standard_termination: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RepdataSurveyRedirects
34
+ */
35
+ quality_termination: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof RepdataSurveyRedirects
40
+ */
41
+ security_termination: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof RepdataSurveyRedirects
46
+ */
47
+ overquota_termination_term: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the RepdataSurveyRedirects interface.
51
+ */
52
+ export declare function instanceOfRepdataSurveyRedirects(value: object): value is RepdataSurveyRedirects;
53
+ export declare function RepdataSurveyRedirectsFromJSON(json: any): RepdataSurveyRedirects;
54
+ export declare function RepdataSurveyRedirectsFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepdataSurveyRedirects;
55
+ export declare function RepdataSurveyRedirectsToJSON(json: any): RepdataSurveyRedirects;
56
+ export declare function RepdataSurveyRedirectsToJSONTyped(value?: RepdataSurveyRedirects | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.instanceOfRepdataSurveyRedirects = instanceOfRepdataSurveyRedirects;
17
+ exports.RepdataSurveyRedirectsFromJSON = RepdataSurveyRedirectsFromJSON;
18
+ exports.RepdataSurveyRedirectsFromJSONTyped = RepdataSurveyRedirectsFromJSONTyped;
19
+ exports.RepdataSurveyRedirectsToJSON = RepdataSurveyRedirectsToJSON;
20
+ exports.RepdataSurveyRedirectsToJSONTyped = RepdataSurveyRedirectsToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RepdataSurveyRedirects interface.
23
+ */
24
+ function instanceOfRepdataSurveyRedirects(value) {
25
+ if (!('complete' in value) || value['complete'] === undefined)
26
+ return false;
27
+ if (!('standard_termination' in value) || value['standard_termination'] === undefined)
28
+ return false;
29
+ if (!('quality_termination' in value) || value['quality_termination'] === undefined)
30
+ return false;
31
+ if (!('security_termination' in value) || value['security_termination'] === undefined)
32
+ return false;
33
+ if (!('overquota_termination_term' in value) || value['overquota_termination_term'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function RepdataSurveyRedirectsFromJSON(json) {
38
+ return RepdataSurveyRedirectsFromJSONTyped(json, false);
39
+ }
40
+ function RepdataSurveyRedirectsFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'complete': json['complete'],
46
+ 'standard_termination': json['standard_termination'],
47
+ 'quality_termination': json['quality_termination'],
48
+ 'security_termination': json['security_termination'],
49
+ 'overquota_termination_term': json['overquota_termination_term'],
50
+ };
51
+ }
52
+ function RepdataSurveyRedirectsToJSON(json) {
53
+ return RepdataSurveyRedirectsToJSONTyped(json, false);
54
+ }
55
+ function RepdataSurveyRedirectsToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'complete': value['complete'],
62
+ 'standard_termination': value['standard_termination'],
63
+ 'quality_termination': value['quality_termination'],
64
+ 'security_termination': value['security_termination'],
65
+ 'overquota_termination_term': value['overquota_termination_term'],
66
+ };
67
+ }
@@ -0,0 +1,39 @@
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 ResponseCallCompletedEvent
16
+ */
17
+ export interface ResponseCallCompletedEvent {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ResponseCallCompletedEvent
22
+ */
23
+ type: ResponseCallCompletedEventTypeEnum;
24
+ }
25
+ /**
26
+ * @export
27
+ */
28
+ export declare const ResponseCallCompletedEventTypeEnum: {
29
+ readonly CallCompleted: "CALL_COMPLETED";
30
+ };
31
+ export type ResponseCallCompletedEventTypeEnum = typeof ResponseCallCompletedEventTypeEnum[keyof typeof ResponseCallCompletedEventTypeEnum];
32
+ /**
33
+ * Check if a given object implements the ResponseCallCompletedEvent interface.
34
+ */
35
+ export declare function instanceOfResponseCallCompletedEvent(value: object): value is ResponseCallCompletedEvent;
36
+ export declare function ResponseCallCompletedEventFromJSON(json: any): ResponseCallCompletedEvent;
37
+ export declare function ResponseCallCompletedEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResponseCallCompletedEvent;
38
+ export declare function ResponseCallCompletedEventToJSON(json: any): ResponseCallCompletedEvent;
39
+ export declare function ResponseCallCompletedEventToJSONTyped(value?: ResponseCallCompletedEvent | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.ResponseCallCompletedEventTypeEnum = void 0;
17
+ exports.instanceOfResponseCallCompletedEvent = instanceOfResponseCallCompletedEvent;
18
+ exports.ResponseCallCompletedEventFromJSON = ResponseCallCompletedEventFromJSON;
19
+ exports.ResponseCallCompletedEventFromJSONTyped = ResponseCallCompletedEventFromJSONTyped;
20
+ exports.ResponseCallCompletedEventToJSON = ResponseCallCompletedEventToJSON;
21
+ exports.ResponseCallCompletedEventToJSONTyped = ResponseCallCompletedEventToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ResponseCallCompletedEventTypeEnum = {
26
+ CallCompleted: 'CALL_COMPLETED'
27
+ };
28
+ /**
29
+ * Check if a given object implements the ResponseCallCompletedEvent interface.
30
+ */
31
+ function instanceOfResponseCallCompletedEvent(value) {
32
+ if (!('type' in value) || value['type'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function ResponseCallCompletedEventFromJSON(json) {
37
+ return ResponseCallCompletedEventFromJSONTyped(json, false);
38
+ }
39
+ function ResponseCallCompletedEventFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'type': json['type'],
45
+ };
46
+ }
47
+ function ResponseCallCompletedEventToJSON(json) {
48
+ return ResponseCallCompletedEventToJSONTyped(json, false);
49
+ }
50
+ function ResponseCallCompletedEventToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'type': value['type'],
57
+ };
58
+ }