@smartytalent/api-client 0.8.1 → 0.8.3

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 (298) hide show
  1. package/dist/apis/DocumentsApi.d.ts +221 -0
  2. package/dist/apis/DocumentsApi.d.ts.map +1 -0
  3. package/dist/apis/DocumentsApi.js +506 -0
  4. package/dist/apis/DocumentsApi.js.map +1 -0
  5. package/dist/apis/PersonasApi.d.ts +1 -0
  6. package/dist/apis/PersonasApi.d.ts.map +1 -1
  7. package/dist/apis/PersonasApi.js +3 -0
  8. package/dist/apis/PersonasApi.js.map +1 -1
  9. package/dist/apis/ResponsesApi.d.ts +157 -0
  10. package/dist/apis/ResponsesApi.d.ts.map +1 -0
  11. package/dist/apis/ResponsesApi.js +364 -0
  12. package/dist/apis/ResponsesApi.js.map +1 -0
  13. package/dist/apis/SurveysApi.d.ts +69 -54
  14. package/dist/apis/SurveysApi.d.ts.map +1 -1
  15. package/dist/apis/SurveysApi.js +137 -110
  16. package/dist/apis/SurveysApi.js.map +1 -1
  17. package/dist/apis/index.d.ts +2 -0
  18. package/dist/apis/index.d.ts.map +1 -1
  19. package/dist/apis/index.js +2 -0
  20. package/dist/apis/index.js.map +1 -1
  21. package/dist/models/CreateDocumentRequestBody.d.ts +34 -0
  22. package/dist/models/CreateDocumentRequestBody.d.ts.map +1 -0
  23. package/dist/models/CreateDocumentRequestBody.js +52 -0
  24. package/dist/models/CreateDocumentRequestBody.js.map +1 -0
  25. package/dist/models/CreateDocumentRequestBodyData.d.ts +54 -0
  26. package/dist/models/CreateDocumentRequestBodyData.d.ts.map +1 -0
  27. package/dist/models/CreateDocumentRequestBodyData.js +66 -0
  28. package/dist/models/CreateDocumentRequestBodyData.js.map +1 -0
  29. package/dist/models/CreateDocumentRequestBodyDataAttributes.d.ts +104 -0
  30. package/dist/models/CreateDocumentRequestBodyDataAttributes.d.ts.map +1 -0
  31. package/dist/models/CreateDocumentRequestBodyDataAttributes.js +87 -0
  32. package/dist/models/CreateDocumentRequestBodyDataAttributes.js.map +1 -0
  33. package/dist/models/CreateSurveyRequestBody.d.ts +34 -0
  34. package/dist/models/CreateSurveyRequestBody.d.ts.map +1 -0
  35. package/dist/models/CreateSurveyRequestBody.js +52 -0
  36. package/dist/models/CreateSurveyRequestBody.js.map +1 -0
  37. package/dist/models/CreateSurveyRequestBodyData.d.ts +47 -0
  38. package/dist/models/CreateSurveyRequestBodyData.d.ts.map +1 -0
  39. package/dist/models/CreateSurveyRequestBodyData.js +63 -0
  40. package/dist/models/CreateSurveyRequestBodyData.js.map +1 -0
  41. package/dist/models/CreateSurveyRequestBodyDataAttributes.d.ts +54 -0
  42. package/dist/models/CreateSurveyRequestBodyDataAttributes.d.ts.map +1 -0
  43. package/dist/models/CreateSurveyRequestBodyDataAttributes.js +64 -0
  44. package/dist/models/CreateSurveyRequestBodyDataAttributes.js.map +1 -0
  45. package/dist/models/DocumentAttributesSchema.d.ts +190 -0
  46. package/dist/models/DocumentAttributesSchema.d.ts.map +1 -0
  47. package/dist/models/DocumentAttributesSchema.js +113 -0
  48. package/dist/models/DocumentAttributesSchema.js.map +1 -0
  49. package/dist/models/DocumentAttributesSchemaOrganization.d.ts +33 -0
  50. package/dist/models/DocumentAttributesSchemaOrganization.d.ts.map +1 -0
  51. package/dist/models/DocumentAttributesSchemaOrganization.js +49 -0
  52. package/dist/models/DocumentAttributesSchemaOrganization.js.map +1 -0
  53. package/dist/models/DocumentRelationshipsCandidateSchema.d.ts +34 -0
  54. package/dist/models/DocumentRelationshipsCandidateSchema.d.ts.map +1 -0
  55. package/dist/models/DocumentRelationshipsCandidateSchema.js +50 -0
  56. package/dist/models/DocumentRelationshipsCandidateSchema.js.map +1 -0
  57. package/dist/models/DocumentRelationshipsConversationSchema.d.ts +34 -0
  58. package/dist/models/DocumentRelationshipsConversationSchema.d.ts.map +1 -0
  59. package/dist/models/DocumentRelationshipsConversationSchema.js +50 -0
  60. package/dist/models/DocumentRelationshipsConversationSchema.js.map +1 -0
  61. package/dist/models/DocumentRelationshipsConversationSchemaData.d.ts +39 -0
  62. package/dist/models/DocumentRelationshipsConversationSchemaData.d.ts.map +1 -0
  63. package/dist/models/DocumentRelationshipsConversationSchemaData.js +51 -0
  64. package/dist/models/DocumentRelationshipsConversationSchemaData.js.map +1 -0
  65. package/dist/models/DocumentRelationshipsJobSchema.d.ts +34 -0
  66. package/dist/models/DocumentRelationshipsJobSchema.d.ts.map +1 -0
  67. package/dist/models/DocumentRelationshipsJobSchema.js +50 -0
  68. package/dist/models/DocumentRelationshipsJobSchema.js.map +1 -0
  69. package/dist/models/DocumentRelationshipsSchema.d.ts +48 -0
  70. package/dist/models/DocumentRelationshipsSchema.d.ts.map +1 -0
  71. package/dist/models/DocumentRelationshipsSchema.js +56 -0
  72. package/dist/models/DocumentRelationshipsSchema.js.map +1 -0
  73. package/dist/models/DocumentResourceSchema.d.ts +75 -0
  74. package/dist/models/DocumentResourceSchema.d.ts.map +1 -0
  75. package/dist/models/DocumentResourceSchema.js +75 -0
  76. package/dist/models/DocumentResourceSchema.js.map +1 -0
  77. package/dist/models/DocumentSchema.d.ts +49 -0
  78. package/dist/models/DocumentSchema.d.ts.map +1 -0
  79. package/dist/models/DocumentSchema.js +55 -0
  80. package/dist/models/DocumentSchema.js.map +1 -0
  81. package/dist/models/DocumentsSchema.d.ts +48 -0
  82. package/dist/models/DocumentsSchema.d.ts.map +1 -0
  83. package/dist/models/DocumentsSchema.js +56 -0
  84. package/dist/models/DocumentsSchema.js.map +1 -0
  85. package/dist/models/GuestDocumentActionSchema.d.ts +72 -0
  86. package/dist/models/GuestDocumentActionSchema.d.ts.map +1 -0
  87. package/dist/models/GuestDocumentActionSchema.js +73 -0
  88. package/dist/models/GuestDocumentActionSchema.js.map +1 -0
  89. package/dist/models/GuestDocumentAttributesSchema.d.ts +157 -0
  90. package/dist/models/GuestDocumentAttributesSchema.d.ts.map +1 -0
  91. package/dist/models/GuestDocumentAttributesSchema.js +110 -0
  92. package/dist/models/GuestDocumentAttributesSchema.js.map +1 -0
  93. package/dist/models/GuestDocumentAttributesSchemaOrganization.d.ts +33 -0
  94. package/dist/models/GuestDocumentAttributesSchemaOrganization.d.ts.map +1 -0
  95. package/dist/models/GuestDocumentAttributesSchemaOrganization.js +49 -0
  96. package/dist/models/GuestDocumentAttributesSchemaOrganization.js.map +1 -0
  97. package/dist/models/GuestDocumentAttributesSchemaTimestamps.d.ts +45 -0
  98. package/dist/models/GuestDocumentAttributesSchemaTimestamps.d.ts.map +1 -0
  99. package/dist/models/GuestDocumentAttributesSchemaTimestamps.js +53 -0
  100. package/dist/models/GuestDocumentAttributesSchemaTimestamps.js.map +1 -0
  101. package/dist/models/GuestDocumentAttributesSchemaViewer.d.ts +57 -0
  102. package/dist/models/GuestDocumentAttributesSchemaViewer.d.ts.map +1 -0
  103. package/dist/models/GuestDocumentAttributesSchemaViewer.js +57 -0
  104. package/dist/models/GuestDocumentAttributesSchemaViewer.js.map +1 -0
  105. package/dist/models/GuestDocumentMetaSchema.d.ts +44 -0
  106. package/dist/models/GuestDocumentMetaSchema.d.ts.map +1 -0
  107. package/dist/models/{GuestSurveyMetaSchema.js → GuestDocumentMetaSchema.js} +14 -14
  108. package/dist/models/GuestDocumentMetaSchema.js.map +1 -0
  109. package/dist/models/GuestDocumentResourceSchema.d.ts +53 -0
  110. package/dist/models/GuestDocumentResourceSchema.d.ts.map +1 -0
  111. package/dist/models/GuestDocumentResourceSchema.js +61 -0
  112. package/dist/models/GuestDocumentResourceSchema.js.map +1 -0
  113. package/dist/models/GuestDocumentSchema.d.ts +39 -0
  114. package/dist/models/GuestDocumentSchema.d.ts.map +1 -0
  115. package/dist/models/GuestDocumentSchema.js +50 -0
  116. package/dist/models/GuestDocumentSchema.js.map +1 -0
  117. package/dist/models/GuestResponseAttributesSchema.d.ts +102 -0
  118. package/dist/models/GuestResponseAttributesSchema.d.ts.map +1 -0
  119. package/dist/models/{GuestSurveyAttributesSchema.js → GuestResponseAttributesSchema.js} +23 -22
  120. package/dist/models/GuestResponseAttributesSchema.js.map +1 -0
  121. package/dist/models/GuestResponseMetaSchema.d.ts +45 -0
  122. package/dist/models/GuestResponseMetaSchema.d.ts.map +1 -0
  123. package/dist/models/GuestResponseMetaSchema.js +55 -0
  124. package/dist/models/GuestResponseMetaSchema.js.map +1 -0
  125. package/dist/models/GuestResponseResourceSchema.d.ts +53 -0
  126. package/dist/models/GuestResponseResourceSchema.d.ts.map +1 -0
  127. package/dist/models/GuestResponseResourceSchema.js +61 -0
  128. package/dist/models/GuestResponseResourceSchema.js.map +1 -0
  129. package/dist/models/GuestResponseSchema.d.ts +39 -0
  130. package/dist/models/GuestResponseSchema.d.ts.map +1 -0
  131. package/dist/models/GuestResponseSchema.js +50 -0
  132. package/dist/models/GuestResponseSchema.js.map +1 -0
  133. package/dist/models/PersonaAttributesSchema.d.ts +298 -4
  134. package/dist/models/PersonaAttributesSchema.d.ts.map +1 -1
  135. package/dist/models/PersonaAttributesSchema.js +86 -4
  136. package/dist/models/PersonaAttributesSchema.js.map +1 -1
  137. package/dist/models/PersonaResourceSchema.d.ts +1 -1
  138. package/dist/models/PersonaResourceSchema.js +1 -1
  139. package/dist/models/PersonaResourceSchema.js.map +1 -1
  140. package/dist/models/ResponseAttributesSchema.d.ts +184 -0
  141. package/dist/models/ResponseAttributesSchema.d.ts.map +1 -0
  142. package/dist/models/ResponseAttributesSchema.js +100 -0
  143. package/dist/models/ResponseAttributesSchema.js.map +1 -0
  144. package/dist/models/ResponseRelationshipsCandidateSchema.d.ts +34 -0
  145. package/dist/models/ResponseRelationshipsCandidateSchema.d.ts.map +1 -0
  146. package/dist/models/ResponseRelationshipsCandidateSchema.js +50 -0
  147. package/dist/models/ResponseRelationshipsCandidateSchema.js.map +1 -0
  148. package/dist/models/ResponseRelationshipsCandidateSchemaData.d.ts +39 -0
  149. package/dist/models/ResponseRelationshipsCandidateSchemaData.d.ts.map +1 -0
  150. package/dist/models/ResponseRelationshipsCandidateSchemaData.js +51 -0
  151. package/dist/models/ResponseRelationshipsCandidateSchemaData.js.map +1 -0
  152. package/dist/models/ResponseRelationshipsJobSchema.d.ts +34 -0
  153. package/dist/models/ResponseRelationshipsJobSchema.d.ts.map +1 -0
  154. package/dist/models/ResponseRelationshipsJobSchema.js +50 -0
  155. package/dist/models/ResponseRelationshipsJobSchema.js.map +1 -0
  156. package/dist/models/ResponseRelationshipsSchema.d.ts +48 -0
  157. package/dist/models/ResponseRelationshipsSchema.d.ts.map +1 -0
  158. package/dist/models/ResponseRelationshipsSchema.js +56 -0
  159. package/dist/models/ResponseRelationshipsSchema.js.map +1 -0
  160. package/dist/models/ResponseRelationshipsSurveySchema.d.ts +34 -0
  161. package/dist/models/ResponseRelationshipsSurveySchema.d.ts.map +1 -0
  162. package/dist/models/ResponseRelationshipsSurveySchema.js +50 -0
  163. package/dist/models/ResponseRelationshipsSurveySchema.js.map +1 -0
  164. package/dist/models/ResponseRelationshipsSurveySchemaData.d.ts +39 -0
  165. package/dist/models/ResponseRelationshipsSurveySchemaData.d.ts.map +1 -0
  166. package/dist/models/ResponseRelationshipsSurveySchemaData.js +51 -0
  167. package/dist/models/ResponseRelationshipsSurveySchemaData.js.map +1 -0
  168. package/dist/models/ResponseResourceSchema.d.ts +75 -0
  169. package/dist/models/ResponseResourceSchema.d.ts.map +1 -0
  170. package/dist/models/ResponseResourceSchema.js +75 -0
  171. package/dist/models/ResponseResourceSchema.js.map +1 -0
  172. package/dist/models/ResponseSchema.d.ts +49 -0
  173. package/dist/models/ResponseSchema.d.ts.map +1 -0
  174. package/dist/models/ResponseSchema.js +55 -0
  175. package/dist/models/ResponseSchema.js.map +1 -0
  176. package/dist/models/ResponsesSchema.d.ts +48 -0
  177. package/dist/models/ResponsesSchema.d.ts.map +1 -0
  178. package/dist/models/ResponsesSchema.js +56 -0
  179. package/dist/models/ResponsesSchema.js.map +1 -0
  180. package/dist/models/SubmitGuestDocumentRequestBody.d.ts +41 -0
  181. package/dist/models/SubmitGuestDocumentRequestBody.d.ts.map +1 -0
  182. package/dist/models/SubmitGuestDocumentRequestBody.js +57 -0
  183. package/dist/models/SubmitGuestDocumentRequestBody.js.map +1 -0
  184. package/dist/models/SubmitGuestDocumentRequestBodyData.d.ts +53 -0
  185. package/dist/models/SubmitGuestDocumentRequestBodyData.d.ts.map +1 -0
  186. package/dist/models/SubmitGuestDocumentRequestBodyData.js +65 -0
  187. package/dist/models/SubmitGuestDocumentRequestBodyData.js.map +1 -0
  188. package/dist/models/SubmitGuestDocumentRequestBodyDataAttributes.d.ts +48 -0
  189. package/dist/models/SubmitGuestDocumentRequestBodyDataAttributes.d.ts.map +1 -0
  190. package/dist/models/SubmitGuestDocumentRequestBodyDataAttributes.js +62 -0
  191. package/dist/models/SubmitGuestDocumentRequestBodyDataAttributes.js.map +1 -0
  192. package/dist/models/SubmitGuestResponseRequestBody.d.ts +41 -0
  193. package/dist/models/SubmitGuestResponseRequestBody.d.ts.map +1 -0
  194. package/dist/models/SubmitGuestResponseRequestBody.js +57 -0
  195. package/dist/models/SubmitGuestResponseRequestBody.js.map +1 -0
  196. package/dist/models/SubmitGuestResponseRequestBodyData.d.ts +53 -0
  197. package/dist/models/SubmitGuestResponseRequestBodyData.d.ts.map +1 -0
  198. package/dist/models/SubmitGuestResponseRequestBodyData.js +65 -0
  199. package/dist/models/SubmitGuestResponseRequestBodyData.js.map +1 -0
  200. package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.d.ts +33 -0
  201. package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.d.ts.map +1 -0
  202. package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.js +51 -0
  203. package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.js.map +1 -0
  204. package/dist/models/SurveyAttributesSchema.d.ts +42 -91
  205. package/dist/models/SurveyAttributesSchema.d.ts.map +1 -1
  206. package/dist/models/SurveyAttributesSchema.js +18 -32
  207. package/dist/models/SurveyAttributesSchema.js.map +1 -1
  208. package/dist/models/SurveyContentSchema.d.ts +42 -0
  209. package/dist/models/SurveyContentSchema.d.ts.map +1 -0
  210. package/dist/models/SurveyContentSchema.js +52 -0
  211. package/dist/models/SurveyContentSchema.js.map +1 -0
  212. package/dist/models/SurveyQuestionOptionSchema.d.ts +41 -0
  213. package/dist/models/SurveyQuestionOptionSchema.d.ts.map +1 -0
  214. package/dist/models/SurveyQuestionOptionSchema.js +51 -0
  215. package/dist/models/SurveyQuestionOptionSchema.js.map +1 -0
  216. package/dist/models/SurveyQuestionSchema.d.ts +119 -0
  217. package/dist/models/SurveyQuestionSchema.d.ts.map +1 -0
  218. package/dist/models/SurveyQuestionSchema.js +85 -0
  219. package/dist/models/SurveyQuestionSchema.js.map +1 -0
  220. package/dist/models/SurveyQuestionSchemaScaleLabels.d.ts +43 -0
  221. package/dist/models/SurveyQuestionSchemaScaleLabels.d.ts.map +1 -0
  222. package/dist/models/SurveyQuestionSchemaScaleLabels.js +51 -0
  223. package/dist/models/SurveyQuestionSchemaScaleLabels.js.map +1 -0
  224. package/dist/models/SurveyResourceSchema.d.ts +2 -3
  225. package/dist/models/SurveyResourceSchema.d.ts.map +1 -1
  226. package/dist/models/SurveyResourceSchema.js +2 -3
  227. package/dist/models/SurveyResourceSchema.js.map +1 -1
  228. package/dist/models/UpdateDocumentRequestBody.d.ts +34 -0
  229. package/dist/models/UpdateDocumentRequestBody.d.ts.map +1 -0
  230. package/dist/models/UpdateDocumentRequestBody.js +52 -0
  231. package/dist/models/UpdateDocumentRequestBody.js.map +1 -0
  232. package/dist/models/UpdateDocumentRequestBodyData.d.ts +60 -0
  233. package/dist/models/UpdateDocumentRequestBodyData.d.ts.map +1 -0
  234. package/dist/models/UpdateDocumentRequestBodyData.js +66 -0
  235. package/dist/models/UpdateDocumentRequestBodyData.js.map +1 -0
  236. package/dist/models/UpdateDocumentRequestBodyDataAttributes.d.ts +85 -0
  237. package/dist/models/UpdateDocumentRequestBodyDataAttributes.d.ts.map +1 -0
  238. package/dist/models/UpdateDocumentRequestBodyDataAttributes.js +71 -0
  239. package/dist/models/UpdateDocumentRequestBodyDataAttributes.js.map +1 -0
  240. package/dist/models/UpdateSurveyRequestBody.d.ts +34 -0
  241. package/dist/models/UpdateSurveyRequestBody.d.ts.map +1 -0
  242. package/dist/models/UpdateSurveyRequestBody.js +52 -0
  243. package/dist/models/UpdateSurveyRequestBody.js.map +1 -0
  244. package/dist/models/UpdateSurveyRequestBodyData.d.ts +53 -0
  245. package/dist/models/UpdateSurveyRequestBodyData.d.ts.map +1 -0
  246. package/dist/models/UpdateSurveyRequestBodyData.js +63 -0
  247. package/dist/models/UpdateSurveyRequestBodyData.js.map +1 -0
  248. package/dist/models/UpdateSurveyRequestBodyDataAttributes.d.ts +55 -0
  249. package/dist/models/UpdateSurveyRequestBodyDataAttributes.d.ts.map +1 -0
  250. package/dist/models/UpdateSurveyRequestBodyDataAttributes.js +63 -0
  251. package/dist/models/UpdateSurveyRequestBodyDataAttributes.js.map +1 -0
  252. package/dist/models/index.d.ts +54 -11
  253. package/dist/models/index.d.ts.map +1 -1
  254. package/dist/models/index.js +54 -11
  255. package/dist/models/index.js.map +1 -1
  256. package/package.json +1 -1
  257. package/dist/models/GuestSurveyAttributesSchema.d.ts +0 -98
  258. package/dist/models/GuestSurveyAttributesSchema.d.ts.map +0 -1
  259. package/dist/models/GuestSurveyAttributesSchema.js.map +0 -1
  260. package/dist/models/GuestSurveyMetaSchema.d.ts +0 -45
  261. package/dist/models/GuestSurveyMetaSchema.d.ts.map +0 -1
  262. package/dist/models/GuestSurveyMetaSchema.js.map +0 -1
  263. package/dist/models/GuestSurveyResourceSchema.d.ts +0 -53
  264. package/dist/models/GuestSurveyResourceSchema.d.ts.map +0 -1
  265. package/dist/models/GuestSurveyResourceSchema.js +0 -61
  266. package/dist/models/GuestSurveyResourceSchema.js.map +0 -1
  267. package/dist/models/GuestSurveySchema.d.ts +0 -38
  268. package/dist/models/GuestSurveySchema.d.ts.map +0 -1
  269. package/dist/models/GuestSurveySchema.js +0 -50
  270. package/dist/models/GuestSurveySchema.js.map +0 -1
  271. package/dist/models/SubmitGuestSurveyRequestBody.d.ts +0 -41
  272. package/dist/models/SubmitGuestSurveyRequestBody.d.ts.map +0 -1
  273. package/dist/models/SubmitGuestSurveyRequestBody.js +0 -57
  274. package/dist/models/SubmitGuestSurveyRequestBody.js.map +0 -1
  275. package/dist/models/SubmitGuestSurveyRequestBodyData.d.ts +0 -53
  276. package/dist/models/SubmitGuestSurveyRequestBodyData.d.ts.map +0 -1
  277. package/dist/models/SubmitGuestSurveyRequestBodyData.js +0 -65
  278. package/dist/models/SubmitGuestSurveyRequestBodyData.js.map +0 -1
  279. package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.d.ts +0 -39
  280. package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.d.ts.map +0 -1
  281. package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.js +0 -53
  282. package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.js.map +0 -1
  283. package/dist/models/SurveyRelationshipsCandidateSchema.d.ts +0 -34
  284. package/dist/models/SurveyRelationshipsCandidateSchema.d.ts.map +0 -1
  285. package/dist/models/SurveyRelationshipsCandidateSchema.js +0 -50
  286. package/dist/models/SurveyRelationshipsCandidateSchema.js.map +0 -1
  287. package/dist/models/SurveyRelationshipsCandidateSchemaData.d.ts +0 -39
  288. package/dist/models/SurveyRelationshipsCandidateSchemaData.d.ts.map +0 -1
  289. package/dist/models/SurveyRelationshipsCandidateSchemaData.js +0 -51
  290. package/dist/models/SurveyRelationshipsCandidateSchemaData.js.map +0 -1
  291. package/dist/models/SurveyRelationshipsJobSchema.d.ts +0 -34
  292. package/dist/models/SurveyRelationshipsJobSchema.d.ts.map +0 -1
  293. package/dist/models/SurveyRelationshipsJobSchema.js +0 -50
  294. package/dist/models/SurveyRelationshipsJobSchema.js.map +0 -1
  295. package/dist/models/SurveyRelationshipsSchema.d.ts +0 -41
  296. package/dist/models/SurveyRelationshipsSchema.d.ts.map +0 -1
  297. package/dist/models/SurveyRelationshipsSchema.js +0 -53
  298. package/dist/models/SurveyRelationshipsSchema.js.map +0 -1
@@ -0,0 +1,157 @@
1
+ /**
2
+ * SmartyMeet Dev03 API REST
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.1
6
+ * Contact: developer@smartymeet.com
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 * as runtime from '../runtime';
13
+ import type { GuestResponseSchema, ResponseSchema, ResponsesSchema, SubmitGuestResponseRequestBody } from '../models/index';
14
+ export interface GuestResponseOptionsRequest {
15
+ responseId: string;
16
+ }
17
+ export interface ListResponsesRequest {
18
+ filterStatus?: ListResponsesFilterStatusEnum;
19
+ filterSurveyId?: string;
20
+ filterCandidateId?: string;
21
+ filterCreatedFrom?: Date;
22
+ filterCreatedTo?: Date;
23
+ filterModifiedFrom?: Date;
24
+ filterModifiedTo?: Date;
25
+ pageSize?: number;
26
+ pageNumber?: number;
27
+ pageAfter?: string;
28
+ pageBefore?: string;
29
+ }
30
+ export interface ResponseOptionsRequest {
31
+ responseId: string;
32
+ }
33
+ export interface ShowGuestResponseRequest {
34
+ responseId: string;
35
+ tenantId: string;
36
+ token: string;
37
+ }
38
+ export interface ShowResponseRequest {
39
+ responseId: string;
40
+ }
41
+ export interface SubmitGuestResponseRequest {
42
+ responseId: string;
43
+ submitGuestResponseRequestBody: SubmitGuestResponseRequestBody;
44
+ }
45
+ /**
46
+ *
47
+ */
48
+ export declare class ResponsesApi extends runtime.BaseAPI {
49
+ /**
50
+ * Creates request options for guestResponseOptions without sending the request
51
+ */
52
+ guestResponseOptionsRequestOpts(requestParameters: GuestResponseOptionsRequest): Promise<runtime.RequestOpts>;
53
+ /**
54
+ * Enable CORS by returning correct headers
55
+ * Guest Response Options
56
+ */
57
+ guestResponseOptionsRaw(requestParameters: GuestResponseOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
58
+ /**
59
+ * Enable CORS by returning correct headers
60
+ * Guest Response Options
61
+ */
62
+ guestResponseOptions(requestParameters: GuestResponseOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
63
+ /**
64
+ * Creates request options for listResponses without sending the request
65
+ */
66
+ listResponsesRequestOpts(requestParameters: ListResponsesRequest): Promise<runtime.RequestOpts>;
67
+ /**
68
+ * Returns a collection of survey responses for the caller\'s tenant. Recruiter surface - requires a session (CUSTOM authorizer); the recipient never reaches this path. Use one filter at a time (one GSI per query): - `filterStatus=completed` - answered responses - `filterSurveyId=<id>` - responses of one survey - `filterCandidateId=<id>` - responses sent to one candidate `answers` is keyed by questionId and absent until the recipient answers. `results` (e.g. the NPS category) are computed server-side on submit and are read-only. The NPS number itself is derived by the reader as `(promoters - detractors) / total * 100`.
69
+ * List Responses
70
+ */
71
+ listResponsesRaw(requestParameters: ListResponsesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResponsesSchema>>;
72
+ /**
73
+ * Returns a collection of survey responses for the caller\'s tenant. Recruiter surface - requires a session (CUSTOM authorizer); the recipient never reaches this path. Use one filter at a time (one GSI per query): - `filterStatus=completed` - answered responses - `filterSurveyId=<id>` - responses of one survey - `filterCandidateId=<id>` - responses sent to one candidate `answers` is keyed by questionId and absent until the recipient answers. `results` (e.g. the NPS category) are computed server-side on submit and are read-only. The NPS number itself is derived by the reader as `(promoters - detractors) / total * 100`.
74
+ * List Responses
75
+ */
76
+ listResponses(requestParameters?: ListResponsesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResponsesSchema>;
77
+ /**
78
+ * Creates request options for responseOptions without sending the request
79
+ */
80
+ responseOptionsRequestOpts(requestParameters: ResponseOptionsRequest): Promise<runtime.RequestOpts>;
81
+ /**
82
+ * Enable CORS by returning correct headers
83
+ * Response Options
84
+ */
85
+ responseOptionsRaw(requestParameters: ResponseOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
86
+ /**
87
+ * Enable CORS by returning correct headers
88
+ * Response Options
89
+ */
90
+ responseOptions(requestParameters: ResponseOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
91
+ /**
92
+ * Creates request options for responsesOptions without sending the request
93
+ */
94
+ responsesOptionsRequestOpts(): Promise<runtime.RequestOpts>;
95
+ /**
96
+ * Enable CORS by returning correct headers
97
+ * Responses Options
98
+ */
99
+ responsesOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
100
+ /**
101
+ * Enable CORS by returning correct headers
102
+ * Responses Options
103
+ */
104
+ responsesOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
105
+ /**
106
+ * Creates request options for showGuestResponse without sending the request
107
+ */
108
+ showGuestResponseRequestOpts(requestParameters: ShowGuestResponseRequest): Promise<runtime.RequestOpts>;
109
+ /**
110
+ * Recipient opens the survey link from the email. There is no authorizer on this path: auth is `tenantId` + `token` (the per-response accessToken minted at create) read from the link query string, never a session. The response is an explicit allowlist - status, languageCode, candidateName, jobTitle, companyName, title, questions, answers, expiresAt, respondedAt. `title` and `questions` are the SNAPSHOT of the published survey definition stamped at mint time. No `meta` (it holds the accessToken), no candidateId / jobId, no surveyId / surveyVersion, no results, no relationships. A pending response past `expiresAt` reads back with status `expired`; an answered one reads back `completed` with the stored answers so the FE renders the thank-you state. Every failure mode (unknown tenant, unknown response, wrong token) collapses to the same 404 - existence is never leaked.
111
+ * Show Guest Response
112
+ */
113
+ showGuestResponseRaw(requestParameters: ShowGuestResponseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuestResponseSchema>>;
114
+ /**
115
+ * Recipient opens the survey link from the email. There is no authorizer on this path: auth is `tenantId` + `token` (the per-response accessToken minted at create) read from the link query string, never a session. The response is an explicit allowlist - status, languageCode, candidateName, jobTitle, companyName, title, questions, answers, expiresAt, respondedAt. `title` and `questions` are the SNAPSHOT of the published survey definition stamped at mint time. No `meta` (it holds the accessToken), no candidateId / jobId, no surveyId / surveyVersion, no results, no relationships. A pending response past `expiresAt` reads back with status `expired`; an answered one reads back `completed` with the stored answers so the FE renders the thank-you state. Every failure mode (unknown tenant, unknown response, wrong token) collapses to the same 404 - existence is never leaked.
116
+ * Show Guest Response
117
+ */
118
+ showGuestResponse(requestParameters: ShowGuestResponseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuestResponseSchema>;
119
+ /**
120
+ * Creates request options for showResponse without sending the request
121
+ */
122
+ showResponseRequestOpts(requestParameters: ShowResponseRequest): Promise<runtime.RequestOpts>;
123
+ /**
124
+ * Returns a single survey response, including the question snapshot the recipient saw, their `answers` and the server-computed `results`. Recruiter surface - requires a session (CUSTOM authorizer). Free-text answers are recipient-authored - treat them as untrusted content and never feed them to an LLM.
125
+ * Show Response
126
+ */
127
+ showResponseRaw(requestParameters: ShowResponseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResponseSchema>>;
128
+ /**
129
+ * Returns a single survey response, including the question snapshot the recipient saw, their `answers` and the server-computed `results`. Recruiter surface - requires a session (CUSTOM authorizer). Free-text answers are recipient-authored - treat them as untrusted content and never feed them to an LLM.
130
+ * Show Response
131
+ */
132
+ showResponse(requestParameters: ShowResponseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResponseSchema>;
133
+ /**
134
+ * Creates request options for submitGuestResponse without sending the request
135
+ */
136
+ submitGuestResponseRequestOpts(requestParameters: SubmitGuestResponseRequest): Promise<runtime.RequestOpts>;
137
+ /**
138
+ * Recipient answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `answers` is an object keyed by the snapshot\'s questionIds. Value shape per question type: scale -> integer within scaleMin..scaleMax; single-choice -> one option `value` slug; multiple-choice -> array of unique option `value` slugs; open-text -> string (maxLength). Every answer is validated against the row\'s snapshot - unknown questionIds, missing required answers, out-of-range scales, unknown option slugs and over-length text are all rejected in ONE 400 with per-question detail. `results` (e.g. the NPS category) are computed server-side and are read-only - a client-supplied value is ignored. Single use: allowed only from status `pending` and only before `expiresAt`. A second submit is a 400-class error, never a silent overwrite. Token mismatch returns the same 404 as an unknown response. The response carries the same guest allowlist as showGuestResponse.
139
+ * Submit Guest Response
140
+ */
141
+ submitGuestResponseRaw(requestParameters: SubmitGuestResponseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuestResponseSchema>>;
142
+ /**
143
+ * Recipient answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `answers` is an object keyed by the snapshot\'s questionIds. Value shape per question type: scale -> integer within scaleMin..scaleMax; single-choice -> one option `value` slug; multiple-choice -> array of unique option `value` slugs; open-text -> string (maxLength). Every answer is validated against the row\'s snapshot - unknown questionIds, missing required answers, out-of-range scales, unknown option slugs and over-length text are all rejected in ONE 400 with per-question detail. `results` (e.g. the NPS category) are computed server-side and are read-only - a client-supplied value is ignored. Single use: allowed only from status `pending` and only before `expiresAt`. A second submit is a 400-class error, never a silent overwrite. Token mismatch returns the same 404 as an unknown response. The response carries the same guest allowlist as showGuestResponse.
144
+ * Submit Guest Response
145
+ */
146
+ submitGuestResponse(requestParameters: SubmitGuestResponseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuestResponseSchema>;
147
+ }
148
+ /**
149
+ * @export
150
+ */
151
+ export declare const ListResponsesFilterStatusEnum: {
152
+ readonly Pending: "pending";
153
+ readonly Completed: "completed";
154
+ readonly Expired: "expired";
155
+ };
156
+ export type ListResponsesFilterStatusEnum = typeof ListResponsesFilterStatusEnum[keyof typeof ListResponsesFilterStatusEnum];
157
+ //# sourceMappingURL=ResponsesApi.d.ts.map
@@ -0,0 +1 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sBAAsB,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAO1L;;;OAGG;IACG,mBAAmB,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAKrK;AAED;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC"}
@@ -0,0 +1,364 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SmartyMeet Dev03 API REST
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.1
9
+ * Contact: developer@smartymeet.com
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.ListResponsesFilterStatusEnum = exports.ResponsesApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class ResponsesApi extends runtime.BaseAPI {
56
+ /**
57
+ * Creates request options for guestResponseOptions without sending the request
58
+ */
59
+ async guestResponseOptionsRequestOpts(requestParameters) {
60
+ if (requestParameters['responseId'] == null) {
61
+ throw new runtime.RequiredError('responseId', 'Required parameter "responseId" was null or undefined when calling guestResponseOptions().');
62
+ }
63
+ const queryParameters = {};
64
+ const headerParameters = {};
65
+ let urlPath = `/v1/guest/responses/{responseId}`;
66
+ urlPath = urlPath.replace(`{${"responseId"}}`, encodeURIComponent(String(requestParameters['responseId'])));
67
+ return {
68
+ path: urlPath,
69
+ method: 'OPTIONS',
70
+ headers: headerParameters,
71
+ query: queryParameters,
72
+ };
73
+ }
74
+ /**
75
+ * Enable CORS by returning correct headers
76
+ * Guest Response Options
77
+ */
78
+ async guestResponseOptionsRaw(requestParameters, initOverrides) {
79
+ const requestOptions = await this.guestResponseOptionsRequestOpts(requestParameters);
80
+ const response = await this.request(requestOptions, initOverrides);
81
+ return new runtime.VoidApiResponse(response);
82
+ }
83
+ /**
84
+ * Enable CORS by returning correct headers
85
+ * Guest Response Options
86
+ */
87
+ async guestResponseOptions(requestParameters, initOverrides) {
88
+ await this.guestResponseOptionsRaw(requestParameters, initOverrides);
89
+ }
90
+ /**
91
+ * Creates request options for listResponses without sending the request
92
+ */
93
+ async listResponsesRequestOpts(requestParameters) {
94
+ const queryParameters = {};
95
+ if (requestParameters['filterStatus'] != null) {
96
+ queryParameters['filterStatus'] = requestParameters['filterStatus'];
97
+ }
98
+ if (requestParameters['filterSurveyId'] != null) {
99
+ queryParameters['filterSurveyId'] = requestParameters['filterSurveyId'];
100
+ }
101
+ if (requestParameters['filterCandidateId'] != null) {
102
+ queryParameters['filterCandidateId'] = requestParameters['filterCandidateId'];
103
+ }
104
+ if (requestParameters['filterCreatedFrom'] != null) {
105
+ queryParameters['filterCreatedFrom'] = requestParameters['filterCreatedFrom'].toISOString();
106
+ }
107
+ if (requestParameters['filterCreatedTo'] != null) {
108
+ queryParameters['filterCreatedTo'] = requestParameters['filterCreatedTo'].toISOString();
109
+ }
110
+ if (requestParameters['filterModifiedFrom'] != null) {
111
+ queryParameters['filterModifiedFrom'] = requestParameters['filterModifiedFrom'].toISOString();
112
+ }
113
+ if (requestParameters['filterModifiedTo'] != null) {
114
+ queryParameters['filterModifiedTo'] = requestParameters['filterModifiedTo'].toISOString();
115
+ }
116
+ if (requestParameters['pageSize'] != null) {
117
+ queryParameters['pageSize'] = requestParameters['pageSize'];
118
+ }
119
+ if (requestParameters['pageNumber'] != null) {
120
+ queryParameters['pageNumber'] = requestParameters['pageNumber'];
121
+ }
122
+ if (requestParameters['pageAfter'] != null) {
123
+ queryParameters['pageAfter'] = requestParameters['pageAfter'];
124
+ }
125
+ if (requestParameters['pageBefore'] != null) {
126
+ queryParameters['pageBefore'] = requestParameters['pageBefore'];
127
+ }
128
+ const headerParameters = {};
129
+ if (this.configuration && this.configuration.apiKey) {
130
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
131
+ }
132
+ if (this.configuration && this.configuration.accessToken) {
133
+ // oauth required
134
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
135
+ }
136
+ let urlPath = `/v1/responses`;
137
+ return {
138
+ path: urlPath,
139
+ method: 'GET',
140
+ headers: headerParameters,
141
+ query: queryParameters,
142
+ };
143
+ }
144
+ /**
145
+ * Returns a collection of survey responses for the caller\'s tenant. Recruiter surface - requires a session (CUSTOM authorizer); the recipient never reaches this path. Use one filter at a time (one GSI per query): - `filterStatus=completed` - answered responses - `filterSurveyId=<id>` - responses of one survey - `filterCandidateId=<id>` - responses sent to one candidate `answers` is keyed by questionId and absent until the recipient answers. `results` (e.g. the NPS category) are computed server-side on submit and are read-only. The NPS number itself is derived by the reader as `(promoters - detractors) / total * 100`.
146
+ * List Responses
147
+ */
148
+ async listResponsesRaw(requestParameters, initOverrides) {
149
+ const requestOptions = await this.listResponsesRequestOpts(requestParameters);
150
+ const response = await this.request(requestOptions, initOverrides);
151
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ResponsesSchemaFromJSON)(jsonValue));
152
+ }
153
+ /**
154
+ * Returns a collection of survey responses for the caller\'s tenant. Recruiter surface - requires a session (CUSTOM authorizer); the recipient never reaches this path. Use one filter at a time (one GSI per query): - `filterStatus=completed` - answered responses - `filterSurveyId=<id>` - responses of one survey - `filterCandidateId=<id>` - responses sent to one candidate `answers` is keyed by questionId and absent until the recipient answers. `results` (e.g. the NPS category) are computed server-side on submit and are read-only. The NPS number itself is derived by the reader as `(promoters - detractors) / total * 100`.
155
+ * List Responses
156
+ */
157
+ async listResponses(requestParameters = {}, initOverrides) {
158
+ const response = await this.listResponsesRaw(requestParameters, initOverrides);
159
+ return await response.value();
160
+ }
161
+ /**
162
+ * Creates request options for responseOptions without sending the request
163
+ */
164
+ async responseOptionsRequestOpts(requestParameters) {
165
+ if (requestParameters['responseId'] == null) {
166
+ throw new runtime.RequiredError('responseId', 'Required parameter "responseId" was null or undefined when calling responseOptions().');
167
+ }
168
+ const queryParameters = {};
169
+ const headerParameters = {};
170
+ let urlPath = `/v1/responses/{responseId}`;
171
+ urlPath = urlPath.replace(`{${"responseId"}}`, encodeURIComponent(String(requestParameters['responseId'])));
172
+ return {
173
+ path: urlPath,
174
+ method: 'OPTIONS',
175
+ headers: headerParameters,
176
+ query: queryParameters,
177
+ };
178
+ }
179
+ /**
180
+ * Enable CORS by returning correct headers
181
+ * Response Options
182
+ */
183
+ async responseOptionsRaw(requestParameters, initOverrides) {
184
+ const requestOptions = await this.responseOptionsRequestOpts(requestParameters);
185
+ const response = await this.request(requestOptions, initOverrides);
186
+ return new runtime.VoidApiResponse(response);
187
+ }
188
+ /**
189
+ * Enable CORS by returning correct headers
190
+ * Response Options
191
+ */
192
+ async responseOptions(requestParameters, initOverrides) {
193
+ await this.responseOptionsRaw(requestParameters, initOverrides);
194
+ }
195
+ /**
196
+ * Creates request options for responsesOptions without sending the request
197
+ */
198
+ async responsesOptionsRequestOpts() {
199
+ const queryParameters = {};
200
+ const headerParameters = {};
201
+ let urlPath = `/v1/responses`;
202
+ return {
203
+ path: urlPath,
204
+ method: 'OPTIONS',
205
+ headers: headerParameters,
206
+ query: queryParameters,
207
+ };
208
+ }
209
+ /**
210
+ * Enable CORS by returning correct headers
211
+ * Responses Options
212
+ */
213
+ async responsesOptionsRaw(initOverrides) {
214
+ const requestOptions = await this.responsesOptionsRequestOpts();
215
+ const response = await this.request(requestOptions, initOverrides);
216
+ return new runtime.VoidApiResponse(response);
217
+ }
218
+ /**
219
+ * Enable CORS by returning correct headers
220
+ * Responses Options
221
+ */
222
+ async responsesOptions(initOverrides) {
223
+ await this.responsesOptionsRaw(initOverrides);
224
+ }
225
+ /**
226
+ * Creates request options for showGuestResponse without sending the request
227
+ */
228
+ async showGuestResponseRequestOpts(requestParameters) {
229
+ if (requestParameters['responseId'] == null) {
230
+ throw new runtime.RequiredError('responseId', 'Required parameter "responseId" was null or undefined when calling showGuestResponse().');
231
+ }
232
+ if (requestParameters['tenantId'] == null) {
233
+ throw new runtime.RequiredError('tenantId', 'Required parameter "tenantId" was null or undefined when calling showGuestResponse().');
234
+ }
235
+ if (requestParameters['token'] == null) {
236
+ throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling showGuestResponse().');
237
+ }
238
+ const queryParameters = {};
239
+ if (requestParameters['tenantId'] != null) {
240
+ queryParameters['tenantId'] = requestParameters['tenantId'];
241
+ }
242
+ if (requestParameters['token'] != null) {
243
+ queryParameters['token'] = requestParameters['token'];
244
+ }
245
+ const headerParameters = {};
246
+ let urlPath = `/v1/guest/responses/{responseId}`;
247
+ urlPath = urlPath.replace(`{${"responseId"}}`, encodeURIComponent(String(requestParameters['responseId'])));
248
+ return {
249
+ path: urlPath,
250
+ method: 'GET',
251
+ headers: headerParameters,
252
+ query: queryParameters,
253
+ };
254
+ }
255
+ /**
256
+ * Recipient opens the survey link from the email. There is no authorizer on this path: auth is `tenantId` + `token` (the per-response accessToken minted at create) read from the link query string, never a session. The response is an explicit allowlist - status, languageCode, candidateName, jobTitle, companyName, title, questions, answers, expiresAt, respondedAt. `title` and `questions` are the SNAPSHOT of the published survey definition stamped at mint time. No `meta` (it holds the accessToken), no candidateId / jobId, no surveyId / surveyVersion, no results, no relationships. A pending response past `expiresAt` reads back with status `expired`; an answered one reads back `completed` with the stored answers so the FE renders the thank-you state. Every failure mode (unknown tenant, unknown response, wrong token) collapses to the same 404 - existence is never leaked.
257
+ * Show Guest Response
258
+ */
259
+ async showGuestResponseRaw(requestParameters, initOverrides) {
260
+ const requestOptions = await this.showGuestResponseRequestOpts(requestParameters);
261
+ const response = await this.request(requestOptions, initOverrides);
262
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GuestResponseSchemaFromJSON)(jsonValue));
263
+ }
264
+ /**
265
+ * Recipient opens the survey link from the email. There is no authorizer on this path: auth is `tenantId` + `token` (the per-response accessToken minted at create) read from the link query string, never a session. The response is an explicit allowlist - status, languageCode, candidateName, jobTitle, companyName, title, questions, answers, expiresAt, respondedAt. `title` and `questions` are the SNAPSHOT of the published survey definition stamped at mint time. No `meta` (it holds the accessToken), no candidateId / jobId, no surveyId / surveyVersion, no results, no relationships. A pending response past `expiresAt` reads back with status `expired`; an answered one reads back `completed` with the stored answers so the FE renders the thank-you state. Every failure mode (unknown tenant, unknown response, wrong token) collapses to the same 404 - existence is never leaked.
266
+ * Show Guest Response
267
+ */
268
+ async showGuestResponse(requestParameters, initOverrides) {
269
+ const response = await this.showGuestResponseRaw(requestParameters, initOverrides);
270
+ return await response.value();
271
+ }
272
+ /**
273
+ * Creates request options for showResponse without sending the request
274
+ */
275
+ async showResponseRequestOpts(requestParameters) {
276
+ if (requestParameters['responseId'] == null) {
277
+ throw new runtime.RequiredError('responseId', 'Required parameter "responseId" was null or undefined when calling showResponse().');
278
+ }
279
+ const queryParameters = {};
280
+ const headerParameters = {};
281
+ if (this.configuration && this.configuration.apiKey) {
282
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
283
+ }
284
+ if (this.configuration && this.configuration.accessToken) {
285
+ // oauth required
286
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
287
+ }
288
+ let urlPath = `/v1/responses/{responseId}`;
289
+ urlPath = urlPath.replace(`{${"responseId"}}`, encodeURIComponent(String(requestParameters['responseId'])));
290
+ return {
291
+ path: urlPath,
292
+ method: 'GET',
293
+ headers: headerParameters,
294
+ query: queryParameters,
295
+ };
296
+ }
297
+ /**
298
+ * Returns a single survey response, including the question snapshot the recipient saw, their `answers` and the server-computed `results`. Recruiter surface - requires a session (CUSTOM authorizer). Free-text answers are recipient-authored - treat them as untrusted content and never feed them to an LLM.
299
+ * Show Response
300
+ */
301
+ async showResponseRaw(requestParameters, initOverrides) {
302
+ const requestOptions = await this.showResponseRequestOpts(requestParameters);
303
+ const response = await this.request(requestOptions, initOverrides);
304
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ResponseSchemaFromJSON)(jsonValue));
305
+ }
306
+ /**
307
+ * Returns a single survey response, including the question snapshot the recipient saw, their `answers` and the server-computed `results`. Recruiter surface - requires a session (CUSTOM authorizer). Free-text answers are recipient-authored - treat them as untrusted content and never feed them to an LLM.
308
+ * Show Response
309
+ */
310
+ async showResponse(requestParameters, initOverrides) {
311
+ const response = await this.showResponseRaw(requestParameters, initOverrides);
312
+ return await response.value();
313
+ }
314
+ /**
315
+ * Creates request options for submitGuestResponse without sending the request
316
+ */
317
+ async submitGuestResponseRequestOpts(requestParameters) {
318
+ if (requestParameters['responseId'] == null) {
319
+ throw new runtime.RequiredError('responseId', 'Required parameter "responseId" was null or undefined when calling submitGuestResponse().');
320
+ }
321
+ if (requestParameters['submitGuestResponseRequestBody'] == null) {
322
+ throw new runtime.RequiredError('submitGuestResponseRequestBody', 'Required parameter "submitGuestResponseRequestBody" was null or undefined when calling submitGuestResponse().');
323
+ }
324
+ const queryParameters = {};
325
+ const headerParameters = {};
326
+ headerParameters['Content-Type'] = 'application/json';
327
+ let urlPath = `/v1/guest/responses/{responseId}`;
328
+ urlPath = urlPath.replace(`{${"responseId"}}`, encodeURIComponent(String(requestParameters['responseId'])));
329
+ return {
330
+ path: urlPath,
331
+ method: 'PATCH',
332
+ headers: headerParameters,
333
+ query: queryParameters,
334
+ body: (0, index_1.SubmitGuestResponseRequestBodyToJSON)(requestParameters['submitGuestResponseRequestBody']),
335
+ };
336
+ }
337
+ /**
338
+ * Recipient answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `answers` is an object keyed by the snapshot\'s questionIds. Value shape per question type: scale -> integer within scaleMin..scaleMax; single-choice -> one option `value` slug; multiple-choice -> array of unique option `value` slugs; open-text -> string (maxLength). Every answer is validated against the row\'s snapshot - unknown questionIds, missing required answers, out-of-range scales, unknown option slugs and over-length text are all rejected in ONE 400 with per-question detail. `results` (e.g. the NPS category) are computed server-side and are read-only - a client-supplied value is ignored. Single use: allowed only from status `pending` and only before `expiresAt`. A second submit is a 400-class error, never a silent overwrite. Token mismatch returns the same 404 as an unknown response. The response carries the same guest allowlist as showGuestResponse.
339
+ * Submit Guest Response
340
+ */
341
+ async submitGuestResponseRaw(requestParameters, initOverrides) {
342
+ const requestOptions = await this.submitGuestResponseRequestOpts(requestParameters);
343
+ const response = await this.request(requestOptions, initOverrides);
344
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GuestResponseSchemaFromJSON)(jsonValue));
345
+ }
346
+ /**
347
+ * Recipient answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `answers` is an object keyed by the snapshot\'s questionIds. Value shape per question type: scale -> integer within scaleMin..scaleMax; single-choice -> one option `value` slug; multiple-choice -> array of unique option `value` slugs; open-text -> string (maxLength). Every answer is validated against the row\'s snapshot - unknown questionIds, missing required answers, out-of-range scales, unknown option slugs and over-length text are all rejected in ONE 400 with per-question detail. `results` (e.g. the NPS category) are computed server-side and are read-only - a client-supplied value is ignored. Single use: allowed only from status `pending` and only before `expiresAt`. A second submit is a 400-class error, never a silent overwrite. Token mismatch returns the same 404 as an unknown response. The response carries the same guest allowlist as showGuestResponse.
348
+ * Submit Guest Response
349
+ */
350
+ async submitGuestResponse(requestParameters, initOverrides) {
351
+ const response = await this.submitGuestResponseRaw(requestParameters, initOverrides);
352
+ return await response.value();
353
+ }
354
+ }
355
+ exports.ResponsesApi = ResponsesApi;
356
+ /**
357
+ * @export
358
+ */
359
+ exports.ListResponsesFilterStatusEnum = {
360
+ Pending: 'pending',
361
+ Completed: 'completed',
362
+ Expired: 'expired'
363
+ };
364
+ //# sourceMappingURL=ResponsesApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResponsesApi.js","sourceRoot":"","sources":["../../src/apis/ResponsesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAQtC,2CAWyB;AAuCzB;;GAEG;AACH,MAAa,YAAa,SAAQ,OAAO,CAAC,OAAO;IA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