@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.
- package/dist/apis/DocumentsApi.d.ts +221 -0
- package/dist/apis/DocumentsApi.d.ts.map +1 -0
- package/dist/apis/DocumentsApi.js +506 -0
- package/dist/apis/DocumentsApi.js.map +1 -0
- package/dist/apis/PersonasApi.d.ts +1 -0
- package/dist/apis/PersonasApi.d.ts.map +1 -1
- package/dist/apis/PersonasApi.js +3 -0
- package/dist/apis/PersonasApi.js.map +1 -1
- package/dist/apis/ResponsesApi.d.ts +157 -0
- package/dist/apis/ResponsesApi.d.ts.map +1 -0
- package/dist/apis/ResponsesApi.js +364 -0
- package/dist/apis/ResponsesApi.js.map +1 -0
- package/dist/apis/SurveysApi.d.ts +69 -54
- package/dist/apis/SurveysApi.d.ts.map +1 -1
- package/dist/apis/SurveysApi.js +137 -110
- package/dist/apis/SurveysApi.js.map +1 -1
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +2 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/CreateDocumentRequestBody.d.ts +34 -0
- package/dist/models/CreateDocumentRequestBody.d.ts.map +1 -0
- package/dist/models/CreateDocumentRequestBody.js +52 -0
- package/dist/models/CreateDocumentRequestBody.js.map +1 -0
- package/dist/models/CreateDocumentRequestBodyData.d.ts +54 -0
- package/dist/models/CreateDocumentRequestBodyData.d.ts.map +1 -0
- package/dist/models/CreateDocumentRequestBodyData.js +66 -0
- package/dist/models/CreateDocumentRequestBodyData.js.map +1 -0
- package/dist/models/CreateDocumentRequestBodyDataAttributes.d.ts +104 -0
- package/dist/models/CreateDocumentRequestBodyDataAttributes.d.ts.map +1 -0
- package/dist/models/CreateDocumentRequestBodyDataAttributes.js +87 -0
- package/dist/models/CreateDocumentRequestBodyDataAttributes.js.map +1 -0
- package/dist/models/CreateSurveyRequestBody.d.ts +34 -0
- package/dist/models/CreateSurveyRequestBody.d.ts.map +1 -0
- package/dist/models/CreateSurveyRequestBody.js +52 -0
- package/dist/models/CreateSurveyRequestBody.js.map +1 -0
- package/dist/models/CreateSurveyRequestBodyData.d.ts +47 -0
- package/dist/models/CreateSurveyRequestBodyData.d.ts.map +1 -0
- package/dist/models/CreateSurveyRequestBodyData.js +63 -0
- package/dist/models/CreateSurveyRequestBodyData.js.map +1 -0
- package/dist/models/CreateSurveyRequestBodyDataAttributes.d.ts +54 -0
- package/dist/models/CreateSurveyRequestBodyDataAttributes.d.ts.map +1 -0
- package/dist/models/CreateSurveyRequestBodyDataAttributes.js +64 -0
- package/dist/models/CreateSurveyRequestBodyDataAttributes.js.map +1 -0
- package/dist/models/DocumentAttributesSchema.d.ts +190 -0
- package/dist/models/DocumentAttributesSchema.d.ts.map +1 -0
- package/dist/models/DocumentAttributesSchema.js +113 -0
- package/dist/models/DocumentAttributesSchema.js.map +1 -0
- package/dist/models/DocumentAttributesSchemaOrganization.d.ts +33 -0
- package/dist/models/DocumentAttributesSchemaOrganization.d.ts.map +1 -0
- package/dist/models/DocumentAttributesSchemaOrganization.js +49 -0
- package/dist/models/DocumentAttributesSchemaOrganization.js.map +1 -0
- package/dist/models/DocumentRelationshipsCandidateSchema.d.ts +34 -0
- package/dist/models/DocumentRelationshipsCandidateSchema.d.ts.map +1 -0
- package/dist/models/DocumentRelationshipsCandidateSchema.js +50 -0
- package/dist/models/DocumentRelationshipsCandidateSchema.js.map +1 -0
- package/dist/models/DocumentRelationshipsConversationSchema.d.ts +34 -0
- package/dist/models/DocumentRelationshipsConversationSchema.d.ts.map +1 -0
- package/dist/models/DocumentRelationshipsConversationSchema.js +50 -0
- package/dist/models/DocumentRelationshipsConversationSchema.js.map +1 -0
- package/dist/models/DocumentRelationshipsConversationSchemaData.d.ts +39 -0
- package/dist/models/DocumentRelationshipsConversationSchemaData.d.ts.map +1 -0
- package/dist/models/DocumentRelationshipsConversationSchemaData.js +51 -0
- package/dist/models/DocumentRelationshipsConversationSchemaData.js.map +1 -0
- package/dist/models/DocumentRelationshipsJobSchema.d.ts +34 -0
- package/dist/models/DocumentRelationshipsJobSchema.d.ts.map +1 -0
- package/dist/models/DocumentRelationshipsJobSchema.js +50 -0
- package/dist/models/DocumentRelationshipsJobSchema.js.map +1 -0
- package/dist/models/DocumentRelationshipsSchema.d.ts +48 -0
- package/dist/models/DocumentRelationshipsSchema.d.ts.map +1 -0
- package/dist/models/DocumentRelationshipsSchema.js +56 -0
- package/dist/models/DocumentRelationshipsSchema.js.map +1 -0
- package/dist/models/DocumentResourceSchema.d.ts +75 -0
- package/dist/models/DocumentResourceSchema.d.ts.map +1 -0
- package/dist/models/DocumentResourceSchema.js +75 -0
- package/dist/models/DocumentResourceSchema.js.map +1 -0
- package/dist/models/DocumentSchema.d.ts +49 -0
- package/dist/models/DocumentSchema.d.ts.map +1 -0
- package/dist/models/DocumentSchema.js +55 -0
- package/dist/models/DocumentSchema.js.map +1 -0
- package/dist/models/DocumentsSchema.d.ts +48 -0
- package/dist/models/DocumentsSchema.d.ts.map +1 -0
- package/dist/models/DocumentsSchema.js +56 -0
- package/dist/models/DocumentsSchema.js.map +1 -0
- package/dist/models/GuestDocumentActionSchema.d.ts +72 -0
- package/dist/models/GuestDocumentActionSchema.d.ts.map +1 -0
- package/dist/models/GuestDocumentActionSchema.js +73 -0
- package/dist/models/GuestDocumentActionSchema.js.map +1 -0
- package/dist/models/GuestDocumentAttributesSchema.d.ts +157 -0
- package/dist/models/GuestDocumentAttributesSchema.d.ts.map +1 -0
- package/dist/models/GuestDocumentAttributesSchema.js +110 -0
- package/dist/models/GuestDocumentAttributesSchema.js.map +1 -0
- package/dist/models/GuestDocumentAttributesSchemaOrganization.d.ts +33 -0
- package/dist/models/GuestDocumentAttributesSchemaOrganization.d.ts.map +1 -0
- package/dist/models/GuestDocumentAttributesSchemaOrganization.js +49 -0
- package/dist/models/GuestDocumentAttributesSchemaOrganization.js.map +1 -0
- package/dist/models/GuestDocumentAttributesSchemaTimestamps.d.ts +45 -0
- package/dist/models/GuestDocumentAttributesSchemaTimestamps.d.ts.map +1 -0
- package/dist/models/GuestDocumentAttributesSchemaTimestamps.js +53 -0
- package/dist/models/GuestDocumentAttributesSchemaTimestamps.js.map +1 -0
- package/dist/models/GuestDocumentAttributesSchemaViewer.d.ts +57 -0
- package/dist/models/GuestDocumentAttributesSchemaViewer.d.ts.map +1 -0
- package/dist/models/GuestDocumentAttributesSchemaViewer.js +57 -0
- package/dist/models/GuestDocumentAttributesSchemaViewer.js.map +1 -0
- package/dist/models/GuestDocumentMetaSchema.d.ts +44 -0
- package/dist/models/GuestDocumentMetaSchema.d.ts.map +1 -0
- package/dist/models/{GuestSurveyMetaSchema.js → GuestDocumentMetaSchema.js} +14 -14
- package/dist/models/GuestDocumentMetaSchema.js.map +1 -0
- package/dist/models/GuestDocumentResourceSchema.d.ts +53 -0
- package/dist/models/GuestDocumentResourceSchema.d.ts.map +1 -0
- package/dist/models/GuestDocumentResourceSchema.js +61 -0
- package/dist/models/GuestDocumentResourceSchema.js.map +1 -0
- package/dist/models/GuestDocumentSchema.d.ts +39 -0
- package/dist/models/GuestDocumentSchema.d.ts.map +1 -0
- package/dist/models/GuestDocumentSchema.js +50 -0
- package/dist/models/GuestDocumentSchema.js.map +1 -0
- package/dist/models/GuestResponseAttributesSchema.d.ts +102 -0
- package/dist/models/GuestResponseAttributesSchema.d.ts.map +1 -0
- package/dist/models/{GuestSurveyAttributesSchema.js → GuestResponseAttributesSchema.js} +23 -22
- package/dist/models/GuestResponseAttributesSchema.js.map +1 -0
- package/dist/models/GuestResponseMetaSchema.d.ts +45 -0
- package/dist/models/GuestResponseMetaSchema.d.ts.map +1 -0
- package/dist/models/GuestResponseMetaSchema.js +55 -0
- package/dist/models/GuestResponseMetaSchema.js.map +1 -0
- package/dist/models/GuestResponseResourceSchema.d.ts +53 -0
- package/dist/models/GuestResponseResourceSchema.d.ts.map +1 -0
- package/dist/models/GuestResponseResourceSchema.js +61 -0
- package/dist/models/GuestResponseResourceSchema.js.map +1 -0
- package/dist/models/GuestResponseSchema.d.ts +39 -0
- package/dist/models/GuestResponseSchema.d.ts.map +1 -0
- package/dist/models/GuestResponseSchema.js +50 -0
- package/dist/models/GuestResponseSchema.js.map +1 -0
- package/dist/models/PersonaAttributesSchema.d.ts +298 -4
- package/dist/models/PersonaAttributesSchema.d.ts.map +1 -1
- package/dist/models/PersonaAttributesSchema.js +86 -4
- package/dist/models/PersonaAttributesSchema.js.map +1 -1
- package/dist/models/PersonaResourceSchema.d.ts +1 -1
- package/dist/models/PersonaResourceSchema.js +1 -1
- package/dist/models/PersonaResourceSchema.js.map +1 -1
- package/dist/models/ResponseAttributesSchema.d.ts +184 -0
- package/dist/models/ResponseAttributesSchema.d.ts.map +1 -0
- package/dist/models/ResponseAttributesSchema.js +100 -0
- package/dist/models/ResponseAttributesSchema.js.map +1 -0
- package/dist/models/ResponseRelationshipsCandidateSchema.d.ts +34 -0
- package/dist/models/ResponseRelationshipsCandidateSchema.d.ts.map +1 -0
- package/dist/models/ResponseRelationshipsCandidateSchema.js +50 -0
- package/dist/models/ResponseRelationshipsCandidateSchema.js.map +1 -0
- package/dist/models/ResponseRelationshipsCandidateSchemaData.d.ts +39 -0
- package/dist/models/ResponseRelationshipsCandidateSchemaData.d.ts.map +1 -0
- package/dist/models/ResponseRelationshipsCandidateSchemaData.js +51 -0
- package/dist/models/ResponseRelationshipsCandidateSchemaData.js.map +1 -0
- package/dist/models/ResponseRelationshipsJobSchema.d.ts +34 -0
- package/dist/models/ResponseRelationshipsJobSchema.d.ts.map +1 -0
- package/dist/models/ResponseRelationshipsJobSchema.js +50 -0
- package/dist/models/ResponseRelationshipsJobSchema.js.map +1 -0
- package/dist/models/ResponseRelationshipsSchema.d.ts +48 -0
- package/dist/models/ResponseRelationshipsSchema.d.ts.map +1 -0
- package/dist/models/ResponseRelationshipsSchema.js +56 -0
- package/dist/models/ResponseRelationshipsSchema.js.map +1 -0
- package/dist/models/ResponseRelationshipsSurveySchema.d.ts +34 -0
- package/dist/models/ResponseRelationshipsSurveySchema.d.ts.map +1 -0
- package/dist/models/ResponseRelationshipsSurveySchema.js +50 -0
- package/dist/models/ResponseRelationshipsSurveySchema.js.map +1 -0
- package/dist/models/ResponseRelationshipsSurveySchemaData.d.ts +39 -0
- package/dist/models/ResponseRelationshipsSurveySchemaData.d.ts.map +1 -0
- package/dist/models/ResponseRelationshipsSurveySchemaData.js +51 -0
- package/dist/models/ResponseRelationshipsSurveySchemaData.js.map +1 -0
- package/dist/models/ResponseResourceSchema.d.ts +75 -0
- package/dist/models/ResponseResourceSchema.d.ts.map +1 -0
- package/dist/models/ResponseResourceSchema.js +75 -0
- package/dist/models/ResponseResourceSchema.js.map +1 -0
- package/dist/models/ResponseSchema.d.ts +49 -0
- package/dist/models/ResponseSchema.d.ts.map +1 -0
- package/dist/models/ResponseSchema.js +55 -0
- package/dist/models/ResponseSchema.js.map +1 -0
- package/dist/models/ResponsesSchema.d.ts +48 -0
- package/dist/models/ResponsesSchema.d.ts.map +1 -0
- package/dist/models/ResponsesSchema.js +56 -0
- package/dist/models/ResponsesSchema.js.map +1 -0
- package/dist/models/SubmitGuestDocumentRequestBody.d.ts +41 -0
- package/dist/models/SubmitGuestDocumentRequestBody.d.ts.map +1 -0
- package/dist/models/SubmitGuestDocumentRequestBody.js +57 -0
- package/dist/models/SubmitGuestDocumentRequestBody.js.map +1 -0
- package/dist/models/SubmitGuestDocumentRequestBodyData.d.ts +53 -0
- package/dist/models/SubmitGuestDocumentRequestBodyData.d.ts.map +1 -0
- package/dist/models/SubmitGuestDocumentRequestBodyData.js +65 -0
- package/dist/models/SubmitGuestDocumentRequestBodyData.js.map +1 -0
- package/dist/models/SubmitGuestDocumentRequestBodyDataAttributes.d.ts +48 -0
- package/dist/models/SubmitGuestDocumentRequestBodyDataAttributes.d.ts.map +1 -0
- package/dist/models/SubmitGuestDocumentRequestBodyDataAttributes.js +62 -0
- package/dist/models/SubmitGuestDocumentRequestBodyDataAttributes.js.map +1 -0
- package/dist/models/SubmitGuestResponseRequestBody.d.ts +41 -0
- package/dist/models/SubmitGuestResponseRequestBody.d.ts.map +1 -0
- package/dist/models/SubmitGuestResponseRequestBody.js +57 -0
- package/dist/models/SubmitGuestResponseRequestBody.js.map +1 -0
- package/dist/models/SubmitGuestResponseRequestBodyData.d.ts +53 -0
- package/dist/models/SubmitGuestResponseRequestBodyData.d.ts.map +1 -0
- package/dist/models/SubmitGuestResponseRequestBodyData.js +65 -0
- package/dist/models/SubmitGuestResponseRequestBodyData.js.map +1 -0
- package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.d.ts +33 -0
- package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.d.ts.map +1 -0
- package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.js +51 -0
- package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.js.map +1 -0
- package/dist/models/SurveyAttributesSchema.d.ts +42 -91
- package/dist/models/SurveyAttributesSchema.d.ts.map +1 -1
- package/dist/models/SurveyAttributesSchema.js +18 -32
- package/dist/models/SurveyAttributesSchema.js.map +1 -1
- package/dist/models/SurveyContentSchema.d.ts +42 -0
- package/dist/models/SurveyContentSchema.d.ts.map +1 -0
- package/dist/models/SurveyContentSchema.js +52 -0
- package/dist/models/SurveyContentSchema.js.map +1 -0
- package/dist/models/SurveyQuestionOptionSchema.d.ts +41 -0
- package/dist/models/SurveyQuestionOptionSchema.d.ts.map +1 -0
- package/dist/models/SurveyQuestionOptionSchema.js +51 -0
- package/dist/models/SurveyQuestionOptionSchema.js.map +1 -0
- package/dist/models/SurveyQuestionSchema.d.ts +119 -0
- package/dist/models/SurveyQuestionSchema.d.ts.map +1 -0
- package/dist/models/SurveyQuestionSchema.js +85 -0
- package/dist/models/SurveyQuestionSchema.js.map +1 -0
- package/dist/models/SurveyQuestionSchemaScaleLabels.d.ts +43 -0
- package/dist/models/SurveyQuestionSchemaScaleLabels.d.ts.map +1 -0
- package/dist/models/SurveyQuestionSchemaScaleLabels.js +51 -0
- package/dist/models/SurveyQuestionSchemaScaleLabels.js.map +1 -0
- package/dist/models/SurveyResourceSchema.d.ts +2 -3
- package/dist/models/SurveyResourceSchema.d.ts.map +1 -1
- package/dist/models/SurveyResourceSchema.js +2 -3
- package/dist/models/SurveyResourceSchema.js.map +1 -1
- package/dist/models/UpdateDocumentRequestBody.d.ts +34 -0
- package/dist/models/UpdateDocumentRequestBody.d.ts.map +1 -0
- package/dist/models/UpdateDocumentRequestBody.js +52 -0
- package/dist/models/UpdateDocumentRequestBody.js.map +1 -0
- package/dist/models/UpdateDocumentRequestBodyData.d.ts +60 -0
- package/dist/models/UpdateDocumentRequestBodyData.d.ts.map +1 -0
- package/dist/models/UpdateDocumentRequestBodyData.js +66 -0
- package/dist/models/UpdateDocumentRequestBodyData.js.map +1 -0
- package/dist/models/UpdateDocumentRequestBodyDataAttributes.d.ts +85 -0
- package/dist/models/UpdateDocumentRequestBodyDataAttributes.d.ts.map +1 -0
- package/dist/models/UpdateDocumentRequestBodyDataAttributes.js +71 -0
- package/dist/models/UpdateDocumentRequestBodyDataAttributes.js.map +1 -0
- package/dist/models/UpdateSurveyRequestBody.d.ts +34 -0
- package/dist/models/UpdateSurveyRequestBody.d.ts.map +1 -0
- package/dist/models/UpdateSurveyRequestBody.js +52 -0
- package/dist/models/UpdateSurveyRequestBody.js.map +1 -0
- package/dist/models/UpdateSurveyRequestBodyData.d.ts +53 -0
- package/dist/models/UpdateSurveyRequestBodyData.d.ts.map +1 -0
- package/dist/models/UpdateSurveyRequestBodyData.js +63 -0
- package/dist/models/UpdateSurveyRequestBodyData.js.map +1 -0
- package/dist/models/UpdateSurveyRequestBodyDataAttributes.d.ts +55 -0
- package/dist/models/UpdateSurveyRequestBodyDataAttributes.d.ts.map +1 -0
- package/dist/models/UpdateSurveyRequestBodyDataAttributes.js +63 -0
- package/dist/models/UpdateSurveyRequestBodyDataAttributes.js.map +1 -0
- package/dist/models/index.d.ts +54 -11
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +54 -11
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/GuestSurveyAttributesSchema.d.ts +0 -98
- package/dist/models/GuestSurveyAttributesSchema.d.ts.map +0 -1
- package/dist/models/GuestSurveyAttributesSchema.js.map +0 -1
- package/dist/models/GuestSurveyMetaSchema.d.ts +0 -45
- package/dist/models/GuestSurveyMetaSchema.d.ts.map +0 -1
- package/dist/models/GuestSurveyMetaSchema.js.map +0 -1
- package/dist/models/GuestSurveyResourceSchema.d.ts +0 -53
- package/dist/models/GuestSurveyResourceSchema.d.ts.map +0 -1
- package/dist/models/GuestSurveyResourceSchema.js +0 -61
- package/dist/models/GuestSurveyResourceSchema.js.map +0 -1
- package/dist/models/GuestSurveySchema.d.ts +0 -38
- package/dist/models/GuestSurveySchema.d.ts.map +0 -1
- package/dist/models/GuestSurveySchema.js +0 -50
- package/dist/models/GuestSurveySchema.js.map +0 -1
- package/dist/models/SubmitGuestSurveyRequestBody.d.ts +0 -41
- package/dist/models/SubmitGuestSurveyRequestBody.d.ts.map +0 -1
- package/dist/models/SubmitGuestSurveyRequestBody.js +0 -57
- package/dist/models/SubmitGuestSurveyRequestBody.js.map +0 -1
- package/dist/models/SubmitGuestSurveyRequestBodyData.d.ts +0 -53
- package/dist/models/SubmitGuestSurveyRequestBodyData.d.ts.map +0 -1
- package/dist/models/SubmitGuestSurveyRequestBodyData.js +0 -65
- package/dist/models/SubmitGuestSurveyRequestBodyData.js.map +0 -1
- package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.d.ts +0 -39
- package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.d.ts.map +0 -1
- package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.js +0 -53
- package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.js.map +0 -1
- package/dist/models/SurveyRelationshipsCandidateSchema.d.ts +0 -34
- package/dist/models/SurveyRelationshipsCandidateSchema.d.ts.map +0 -1
- package/dist/models/SurveyRelationshipsCandidateSchema.js +0 -50
- package/dist/models/SurveyRelationshipsCandidateSchema.js.map +0 -1
- package/dist/models/SurveyRelationshipsCandidateSchemaData.d.ts +0 -39
- package/dist/models/SurveyRelationshipsCandidateSchemaData.d.ts.map +0 -1
- package/dist/models/SurveyRelationshipsCandidateSchemaData.js +0 -51
- package/dist/models/SurveyRelationshipsCandidateSchemaData.js.map +0 -1
- package/dist/models/SurveyRelationshipsJobSchema.d.ts +0 -34
- package/dist/models/SurveyRelationshipsJobSchema.d.ts.map +0 -1
- package/dist/models/SurveyRelationshipsJobSchema.js +0 -50
- package/dist/models/SurveyRelationshipsJobSchema.js.map +0 -1
- package/dist/models/SurveyRelationshipsSchema.d.ts +0 -41
- package/dist/models/SurveyRelationshipsSchema.d.ts.map +0 -1
- package/dist/models/SurveyRelationshipsSchema.js +0 -53
- package/dist/models/SurveyRelationshipsSchema.js.map +0 -1
|
@@ -10,13 +10,17 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
14
|
-
export interface
|
|
13
|
+
import type { CreateSurveyRequestBody, SurveySchema, SurveysSchema, UpdateSurveyRequestBody } from '../models/index';
|
|
14
|
+
export interface CreateSurveyRequest {
|
|
15
|
+
createSurveyRequestBody: CreateSurveyRequestBody;
|
|
16
|
+
}
|
|
17
|
+
export interface DeleteSurveyRequest {
|
|
15
18
|
surveyId: string;
|
|
19
|
+
permanentDelete?: DeleteSurveyPermanentDeleteEnum;
|
|
16
20
|
}
|
|
17
21
|
export interface ListSurveysRequest {
|
|
18
22
|
filterStatus?: ListSurveysFilterStatusEnum;
|
|
19
|
-
|
|
23
|
+
filterKind?: ListSurveysFilterKindEnum;
|
|
20
24
|
filterCreatedFrom?: Date;
|
|
21
25
|
filterCreatedTo?: Date;
|
|
22
26
|
filterModifiedFrom?: Date;
|
|
@@ -26,95 +30,76 @@ export interface ListSurveysRequest {
|
|
|
26
30
|
pageAfter?: string;
|
|
27
31
|
pageBefore?: string;
|
|
28
32
|
}
|
|
29
|
-
export interface ShowGuestSurveyRequest {
|
|
30
|
-
surveyId: string;
|
|
31
|
-
tenantId: string;
|
|
32
|
-
token: string;
|
|
33
|
-
}
|
|
34
33
|
export interface ShowSurveyRequest {
|
|
35
34
|
surveyId: string;
|
|
36
35
|
}
|
|
37
|
-
export interface
|
|
36
|
+
export interface SurveyOptionsRequest {
|
|
38
37
|
surveyId: string;
|
|
39
|
-
submitGuestSurveyRequestBody: SubmitGuestSurveyRequestBody;
|
|
40
38
|
}
|
|
41
|
-
export interface
|
|
39
|
+
export interface UpdateSurveyRequest {
|
|
42
40
|
surveyId: string;
|
|
41
|
+
updateSurveyRequestBody: UpdateSurveyRequestBody;
|
|
43
42
|
}
|
|
44
43
|
/**
|
|
45
44
|
*
|
|
46
45
|
*/
|
|
47
46
|
export declare class SurveysApi extends runtime.BaseAPI {
|
|
48
47
|
/**
|
|
49
|
-
* Creates request options for
|
|
48
|
+
* Creates request options for createSurvey without sending the request
|
|
50
49
|
*/
|
|
51
|
-
|
|
50
|
+
createSurveyRequestOpts(requestParameters: CreateSurveyRequest): Promise<runtime.RequestOpts>;
|
|
52
51
|
/**
|
|
53
|
-
*
|
|
54
|
-
*
|
|
52
|
+
* Creates a survey definition. Always born a DRAFT with `version` 0 - there is no create-and-publish shortcut; publish it with `PATCH status=active` so a survey can never go live without passing publish validation. `content` holds `{title, questions}`. Questions saved without a `questionId` get a server-assigned one. `kind` defaults to `general` and is IMMUTABLE after create (`cnps` is the candidate NPS kind the rejection workflow resolves by default). Question types: `scale` (optional `subtype: nps` pins 0-10 and enables detractor/passive/promoter classification on submit), `single-choice` / `multiple-choice` (options carry a stable slug `value` plus a locale-map `label`; recipients submit the value, never the label), `open-text` (`maxLength`, default 2000).
|
|
53
|
+
* Create Survey
|
|
55
54
|
*/
|
|
56
|
-
|
|
55
|
+
createSurveyRaw(requestParameters: CreateSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SurveySchema>>;
|
|
57
56
|
/**
|
|
58
|
-
*
|
|
59
|
-
*
|
|
57
|
+
* Creates a survey definition. Always born a DRAFT with `version` 0 - there is no create-and-publish shortcut; publish it with `PATCH status=active` so a survey can never go live without passing publish validation. `content` holds `{title, questions}`. Questions saved without a `questionId` get a server-assigned one. `kind` defaults to `general` and is IMMUTABLE after create (`cnps` is the candidate NPS kind the rejection workflow resolves by default). Question types: `scale` (optional `subtype: nps` pins 0-10 and enables detractor/passive/promoter classification on submit), `single-choice` / `multiple-choice` (options carry a stable slug `value` plus a locale-map `label`; recipients submit the value, never the label), `open-text` (`maxLength`, default 2000).
|
|
58
|
+
* Create Survey
|
|
60
59
|
*/
|
|
61
|
-
|
|
60
|
+
createSurvey(requestParameters: CreateSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SurveySchema>;
|
|
62
61
|
/**
|
|
63
|
-
* Creates request options for
|
|
62
|
+
* Creates request options for deleteSurvey without sending the request
|
|
64
63
|
*/
|
|
65
|
-
|
|
64
|
+
deleteSurveyRequestOpts(requestParameters: DeleteSurveyRequest): Promise<runtime.RequestOpts>;
|
|
66
65
|
/**
|
|
67
|
-
*
|
|
68
|
-
*
|
|
66
|
+
* Soft archive by default (`status=archived` - existing invitations keep working from their snapshots; new invitations against the survey fail). `?permanentDelete=true` removes the row.
|
|
67
|
+
* Delete Survey
|
|
69
68
|
*/
|
|
70
|
-
|
|
69
|
+
deleteSurveyRaw(requestParameters: DeleteSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
71
70
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
71
|
+
* Soft archive by default (`status=archived` - existing invitations keep working from their snapshots; new invitations against the survey fail). `?permanentDelete=true` removes the row.
|
|
72
|
+
* Delete Survey
|
|
74
73
|
*/
|
|
75
|
-
|
|
74
|
+
deleteSurvey(requestParameters: DeleteSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
76
75
|
/**
|
|
77
|
-
* Creates request options for
|
|
76
|
+
* Creates request options for listSurveys without sending the request
|
|
78
77
|
*/
|
|
79
|
-
|
|
78
|
+
listSurveysRequestOpts(requestParameters: ListSurveysRequest): Promise<runtime.RequestOpts>;
|
|
80
79
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
80
|
+
* Returns a collection of survey definitions for the caller\'s tenant. Use one filter at a time (one GSI per query): - `filterStatus=active` - published surveys - `filterKind=cnps` - the candidate NPS kind `version` is 0 until the first publish. `publishedContent`, `version` and `publishedAt` are server-managed - they change only through the publish transition.
|
|
81
|
+
* List Surveys
|
|
83
82
|
*/
|
|
84
|
-
|
|
83
|
+
listSurveysRaw(requestParameters: ListSurveysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SurveysSchema>>;
|
|
85
84
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
85
|
+
* Returns a collection of survey definitions for the caller\'s tenant. Use one filter at a time (one GSI per query): - `filterStatus=active` - published surveys - `filterKind=cnps` - the candidate NPS kind `version` is 0 until the first publish. `publishedContent`, `version` and `publishedAt` are server-managed - they change only through the publish transition.
|
|
86
|
+
* List Surveys
|
|
88
87
|
*/
|
|
89
|
-
|
|
88
|
+
listSurveys(requestParameters?: ListSurveysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SurveysSchema>;
|
|
90
89
|
/**
|
|
91
90
|
* Creates request options for showSurvey without sending the request
|
|
92
91
|
*/
|
|
93
92
|
showSurveyRequestOpts(requestParameters: ShowSurveyRequest): Promise<runtime.RequestOpts>;
|
|
94
93
|
/**
|
|
95
|
-
* Returns a single
|
|
94
|
+
* Returns a single survey definition, including the draft `content` and (after the first publish) the frozen `publishedContent` + `version`.
|
|
96
95
|
* Show Survey
|
|
97
96
|
*/
|
|
98
97
|
showSurveyRaw(requestParameters: ShowSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SurveySchema>>;
|
|
99
98
|
/**
|
|
100
|
-
* Returns a single
|
|
99
|
+
* Returns a single survey definition, including the draft `content` and (after the first publish) the frozen `publishedContent` + `version`.
|
|
101
100
|
* Show Survey
|
|
102
101
|
*/
|
|
103
102
|
showSurvey(requestParameters: ShowSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SurveySchema>;
|
|
104
|
-
/**
|
|
105
|
-
* Creates request options for submitGuestSurvey without sending the request
|
|
106
|
-
*/
|
|
107
|
-
submitGuestSurveyRequestOpts(requestParameters: SubmitGuestSurveyRequest): Promise<runtime.RequestOpts>;
|
|
108
|
-
/**
|
|
109
|
-
* Candidate answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `score` is a required integer 0-10; `comment` is optional free text (max 2000 characters). `npsCategory` is computed server-side from the score and is 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 survey. The response carries the same guest allowlist as showGuestSurvey.
|
|
110
|
-
* Submit Guest Survey
|
|
111
|
-
*/
|
|
112
|
-
submitGuestSurveyRaw(requestParameters: SubmitGuestSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuestSurveySchema>>;
|
|
113
|
-
/**
|
|
114
|
-
* Candidate answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `score` is a required integer 0-10; `comment` is optional free text (max 2000 characters). `npsCategory` is computed server-side from the score and is 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 survey. The response carries the same guest allowlist as showGuestSurvey.
|
|
115
|
-
* Submit Guest Survey
|
|
116
|
-
*/
|
|
117
|
-
submitGuestSurvey(requestParameters: SubmitGuestSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuestSurveySchema>;
|
|
118
103
|
/**
|
|
119
104
|
* Creates request options for surveyOptions without sending the request
|
|
120
105
|
*/
|
|
@@ -143,14 +128,44 @@ export declare class SurveysApi extends runtime.BaseAPI {
|
|
|
143
128
|
* Surveys Options
|
|
144
129
|
*/
|
|
145
130
|
surveysOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
131
|
+
/**
|
|
132
|
+
* Creates request options for updateSurvey without sending the request
|
|
133
|
+
*/
|
|
134
|
+
updateSurveyRequestOpts(requestParameters: UpdateSurveyRequest): Promise<runtime.RequestOpts>;
|
|
135
|
+
/**
|
|
136
|
+
* Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` edits land on the DRAFT copy and change nothing live until the next publish. - `status: active` is the PUBLISH door: the effective content is publish-validated (title with en-US, 1-50 well-formed questions, unique questionIds and option values, nps pinned to 0-10), then copied to `publishedContent` with `version += 1`. Re-sending `status: active` on an already-active survey re-publishes the edited draft; reactivating an archived survey publishes too. - `kind` is immutable. Archived surveys accept no edits except the reactivating publish. Allowed transitions: draft->active, draft->archived, active->archived, archived->active.
|
|
137
|
+
* Update Survey
|
|
138
|
+
*/
|
|
139
|
+
updateSurveyRaw(requestParameters: UpdateSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SurveySchema>>;
|
|
140
|
+
/**
|
|
141
|
+
* Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` edits land on the DRAFT copy and change nothing live until the next publish. - `status: active` is the PUBLISH door: the effective content is publish-validated (title with en-US, 1-50 well-formed questions, unique questionIds and option values, nps pinned to 0-10), then copied to `publishedContent` with `version += 1`. Re-sending `status: active` on an already-active survey re-publishes the edited draft; reactivating an archived survey publishes too. - `kind` is immutable. Archived surveys accept no edits except the reactivating publish. Allowed transitions: draft->active, draft->archived, active->archived, archived->active.
|
|
142
|
+
* Update Survey
|
|
143
|
+
*/
|
|
144
|
+
updateSurvey(requestParameters: UpdateSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SurveySchema>;
|
|
146
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* @export
|
|
148
|
+
*/
|
|
149
|
+
export declare const DeleteSurveyPermanentDeleteEnum: {
|
|
150
|
+
readonly True: "true";
|
|
151
|
+
readonly False: "false";
|
|
152
|
+
};
|
|
153
|
+
export type DeleteSurveyPermanentDeleteEnum = typeof DeleteSurveyPermanentDeleteEnum[keyof typeof DeleteSurveyPermanentDeleteEnum];
|
|
147
154
|
/**
|
|
148
155
|
* @export
|
|
149
156
|
*/
|
|
150
157
|
export declare const ListSurveysFilterStatusEnum: {
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
158
|
+
readonly Draft: "draft";
|
|
159
|
+
readonly Active: "active";
|
|
160
|
+
readonly Archived: "archived";
|
|
154
161
|
};
|
|
155
162
|
export type ListSurveysFilterStatusEnum = typeof ListSurveysFilterStatusEnum[keyof typeof ListSurveysFilterStatusEnum];
|
|
163
|
+
/**
|
|
164
|
+
* @export
|
|
165
|
+
*/
|
|
166
|
+
export declare const ListSurveysFilterKindEnum: {
|
|
167
|
+
readonly Cnps: "cnps";
|
|
168
|
+
readonly General: "general";
|
|
169
|
+
};
|
|
170
|
+
export type ListSurveysFilterKindEnum = typeof ListSurveysFilterKindEnum[keyof typeof ListSurveysFilterKindEnum];
|
|
156
171
|
//# sourceMappingURL=SurveysApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SurveysApi.d.ts","sourceRoot":"","sources":["../../src/apis/SurveysApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"SurveysApi.d.ts","sourceRoot":"","sources":["../../src/apis/SurveysApi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AY,CAAC,CAAC;IAOrK;;;OAGG;IACG,YAAY,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,YAAY,CAAC;CAKhJ;AAED;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;CAGlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AACnI;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;CAI9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AACvH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC"}
|
package/dist/apis/SurveysApi.js
CHANGED
|
@@ -46,7 +46,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.ListSurveysFilterStatusEnum = exports.SurveysApi = void 0;
|
|
49
|
+
exports.ListSurveysFilterKindEnum = exports.ListSurveysFilterStatusEnum = exports.DeleteSurveyPermanentDeleteEnum = exports.SurveysApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
51
|
const index_1 = require("../models/index");
|
|
52
52
|
/**
|
|
@@ -54,38 +54,91 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class SurveysApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* Creates request options for
|
|
57
|
+
* Creates request options for createSurvey without sending the request
|
|
58
58
|
*/
|
|
59
|
-
async
|
|
59
|
+
async createSurveyRequestOpts(requestParameters) {
|
|
60
|
+
if (requestParameters['createSurveyRequestBody'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('createSurveyRequestBody', 'Required parameter "createSurveyRequestBody" was null or undefined when calling createSurvey().');
|
|
62
|
+
}
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
const headerParameters = {};
|
|
65
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
66
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
67
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
68
|
+
}
|
|
69
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
70
|
+
// oauth required
|
|
71
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
72
|
+
}
|
|
73
|
+
let urlPath = `/v1/surveys`;
|
|
74
|
+
return {
|
|
75
|
+
path: urlPath,
|
|
76
|
+
method: 'POST',
|
|
77
|
+
headers: headerParameters,
|
|
78
|
+
query: queryParameters,
|
|
79
|
+
body: (0, index_1.CreateSurveyRequestBodyToJSON)(requestParameters['createSurveyRequestBody']),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Creates a survey definition. Always born a DRAFT with `version` 0 - there is no create-and-publish shortcut; publish it with `PATCH status=active` so a survey can never go live without passing publish validation. `content` holds `{title, questions}`. Questions saved without a `questionId` get a server-assigned one. `kind` defaults to `general` and is IMMUTABLE after create (`cnps` is the candidate NPS kind the rejection workflow resolves by default). Question types: `scale` (optional `subtype: nps` pins 0-10 and enables detractor/passive/promoter classification on submit), `single-choice` / `multiple-choice` (options carry a stable slug `value` plus a locale-map `label`; recipients submit the value, never the label), `open-text` (`maxLength`, default 2000).
|
|
84
|
+
* Create Survey
|
|
85
|
+
*/
|
|
86
|
+
async createSurveyRaw(requestParameters, initOverrides) {
|
|
87
|
+
const requestOptions = await this.createSurveyRequestOpts(requestParameters);
|
|
88
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveySchemaFromJSON)(jsonValue));
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Creates a survey definition. Always born a DRAFT with `version` 0 - there is no create-and-publish shortcut; publish it with `PATCH status=active` so a survey can never go live without passing publish validation. `content` holds `{title, questions}`. Questions saved without a `questionId` get a server-assigned one. `kind` defaults to `general` and is IMMUTABLE after create (`cnps` is the candidate NPS kind the rejection workflow resolves by default). Question types: `scale` (optional `subtype: nps` pins 0-10 and enables detractor/passive/promoter classification on submit), `single-choice` / `multiple-choice` (options carry a stable slug `value` plus a locale-map `label`; recipients submit the value, never the label), `open-text` (`maxLength`, default 2000).
|
|
93
|
+
* Create Survey
|
|
94
|
+
*/
|
|
95
|
+
async createSurvey(requestParameters, initOverrides) {
|
|
96
|
+
const response = await this.createSurveyRaw(requestParameters, initOverrides);
|
|
97
|
+
return await response.value();
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Creates request options for deleteSurvey without sending the request
|
|
101
|
+
*/
|
|
102
|
+
async deleteSurveyRequestOpts(requestParameters) {
|
|
60
103
|
if (requestParameters['surveyId'] == null) {
|
|
61
|
-
throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling
|
|
104
|
+
throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling deleteSurvey().');
|
|
62
105
|
}
|
|
63
106
|
const queryParameters = {};
|
|
107
|
+
if (requestParameters['permanentDelete'] != null) {
|
|
108
|
+
queryParameters['permanentDelete'] = requestParameters['permanentDelete'];
|
|
109
|
+
}
|
|
64
110
|
const headerParameters = {};
|
|
65
|
-
|
|
111
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
112
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
113
|
+
}
|
|
114
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
115
|
+
// oauth required
|
|
116
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
117
|
+
}
|
|
118
|
+
let urlPath = `/v1/surveys/{surveyId}`;
|
|
66
119
|
urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
|
|
67
120
|
return {
|
|
68
121
|
path: urlPath,
|
|
69
|
-
method: '
|
|
122
|
+
method: 'DELETE',
|
|
70
123
|
headers: headerParameters,
|
|
71
124
|
query: queryParameters,
|
|
72
125
|
};
|
|
73
126
|
}
|
|
74
127
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
128
|
+
* Soft archive by default (`status=archived` - existing invitations keep working from their snapshots; new invitations against the survey fail). `?permanentDelete=true` removes the row.
|
|
129
|
+
* Delete Survey
|
|
77
130
|
*/
|
|
78
|
-
async
|
|
79
|
-
const requestOptions = await this.
|
|
131
|
+
async deleteSurveyRaw(requestParameters, initOverrides) {
|
|
132
|
+
const requestOptions = await this.deleteSurveyRequestOpts(requestParameters);
|
|
80
133
|
const response = await this.request(requestOptions, initOverrides);
|
|
81
134
|
return new runtime.VoidApiResponse(response);
|
|
82
135
|
}
|
|
83
136
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
137
|
+
* Soft archive by default (`status=archived` - existing invitations keep working from their snapshots; new invitations against the survey fail). `?permanentDelete=true` removes the row.
|
|
138
|
+
* Delete Survey
|
|
86
139
|
*/
|
|
87
|
-
async
|
|
88
|
-
await this.
|
|
140
|
+
async deleteSurvey(requestParameters, initOverrides) {
|
|
141
|
+
await this.deleteSurveyRaw(requestParameters, initOverrides);
|
|
89
142
|
}
|
|
90
143
|
/**
|
|
91
144
|
* Creates request options for listSurveys without sending the request
|
|
@@ -95,8 +148,8 @@ class SurveysApi extends runtime.BaseAPI {
|
|
|
95
148
|
if (requestParameters['filterStatus'] != null) {
|
|
96
149
|
queryParameters['filterStatus'] = requestParameters['filterStatus'];
|
|
97
150
|
}
|
|
98
|
-
if (requestParameters['
|
|
99
|
-
queryParameters['
|
|
151
|
+
if (requestParameters['filterKind'] != null) {
|
|
152
|
+
queryParameters['filterKind'] = requestParameters['filterKind'];
|
|
100
153
|
}
|
|
101
154
|
if (requestParameters['filterCreatedFrom'] != null) {
|
|
102
155
|
queryParameters['filterCreatedFrom'] = requestParameters['filterCreatedFrom'].toISOString();
|
|
@@ -139,7 +192,7 @@ class SurveysApi extends runtime.BaseAPI {
|
|
|
139
192
|
};
|
|
140
193
|
}
|
|
141
194
|
/**
|
|
142
|
-
* Returns a collection of
|
|
195
|
+
* Returns a collection of survey definitions for the caller\'s tenant. Use one filter at a time (one GSI per query): - `filterStatus=active` - published surveys - `filterKind=cnps` - the candidate NPS kind `version` is 0 until the first publish. `publishedContent`, `version` and `publishedAt` are server-managed - they change only through the publish transition.
|
|
143
196
|
* List Surveys
|
|
144
197
|
*/
|
|
145
198
|
async listSurveysRaw(requestParameters, initOverrides) {
|
|
@@ -148,60 +201,13 @@ class SurveysApi extends runtime.BaseAPI {
|
|
|
148
201
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveysSchemaFromJSON)(jsonValue));
|
|
149
202
|
}
|
|
150
203
|
/**
|
|
151
|
-
* Returns a collection of
|
|
204
|
+
* Returns a collection of survey definitions for the caller\'s tenant. Use one filter at a time (one GSI per query): - `filterStatus=active` - published surveys - `filterKind=cnps` - the candidate NPS kind `version` is 0 until the first publish. `publishedContent`, `version` and `publishedAt` are server-managed - they change only through the publish transition.
|
|
152
205
|
* List Surveys
|
|
153
206
|
*/
|
|
154
207
|
async listSurveys(requestParameters = {}, initOverrides) {
|
|
155
208
|
const response = await this.listSurveysRaw(requestParameters, initOverrides);
|
|
156
209
|
return await response.value();
|
|
157
210
|
}
|
|
158
|
-
/**
|
|
159
|
-
* Creates request options for showGuestSurvey without sending the request
|
|
160
|
-
*/
|
|
161
|
-
async showGuestSurveyRequestOpts(requestParameters) {
|
|
162
|
-
if (requestParameters['surveyId'] == null) {
|
|
163
|
-
throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling showGuestSurvey().');
|
|
164
|
-
}
|
|
165
|
-
if (requestParameters['tenantId'] == null) {
|
|
166
|
-
throw new runtime.RequiredError('tenantId', 'Required parameter "tenantId" was null or undefined when calling showGuestSurvey().');
|
|
167
|
-
}
|
|
168
|
-
if (requestParameters['token'] == null) {
|
|
169
|
-
throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling showGuestSurvey().');
|
|
170
|
-
}
|
|
171
|
-
const queryParameters = {};
|
|
172
|
-
if (requestParameters['tenantId'] != null) {
|
|
173
|
-
queryParameters['tenantId'] = requestParameters['tenantId'];
|
|
174
|
-
}
|
|
175
|
-
if (requestParameters['token'] != null) {
|
|
176
|
-
queryParameters['token'] = requestParameters['token'];
|
|
177
|
-
}
|
|
178
|
-
const headerParameters = {};
|
|
179
|
-
let urlPath = `/v1/guest/surveys/{surveyId}`;
|
|
180
|
-
urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
|
|
181
|
-
return {
|
|
182
|
-
path: urlPath,
|
|
183
|
-
method: 'GET',
|
|
184
|
-
headers: headerParameters,
|
|
185
|
-
query: queryParameters,
|
|
186
|
-
};
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Candidate opens the survey link from the rejection email. There is no authorizer on this path: auth is `tenantId` + `token` (the per-survey accessToken minted at create) read from the link query string, never a session. The response is an explicit allowlist - status, stage, languageCode, candidateName, jobTitle, companyName, score, comment, expiresAt, respondedAt. No `meta` (it holds the accessToken), no candidateId / jobId, no relationships. A pending survey past `expiresAt` reads back with status `expired`; an answered one reads back `completed` with the stored score so the FE renders the thank-you state. Every failure mode (unknown tenant, unknown survey, wrong token) collapses to the same 404 - existence is never leaked.
|
|
190
|
-
* Show Guest Survey
|
|
191
|
-
*/
|
|
192
|
-
async showGuestSurveyRaw(requestParameters, initOverrides) {
|
|
193
|
-
const requestOptions = await this.showGuestSurveyRequestOpts(requestParameters);
|
|
194
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
195
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GuestSurveySchemaFromJSON)(jsonValue));
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Candidate opens the survey link from the rejection email. There is no authorizer on this path: auth is `tenantId` + `token` (the per-survey accessToken minted at create) read from the link query string, never a session. The response is an explicit allowlist - status, stage, languageCode, candidateName, jobTitle, companyName, score, comment, expiresAt, respondedAt. No `meta` (it holds the accessToken), no candidateId / jobId, no relationships. A pending survey past `expiresAt` reads back with status `expired`; an answered one reads back `completed` with the stored score so the FE renders the thank-you state. Every failure mode (unknown tenant, unknown survey, wrong token) collapses to the same 404 - existence is never leaked.
|
|
199
|
-
* Show Guest Survey
|
|
200
|
-
*/
|
|
201
|
-
async showGuestSurvey(requestParameters, initOverrides) {
|
|
202
|
-
const response = await this.showGuestSurveyRaw(requestParameters, initOverrides);
|
|
203
|
-
return await response.value();
|
|
204
|
-
}
|
|
205
211
|
/**
|
|
206
212
|
* Creates request options for showSurvey without sending the request
|
|
207
213
|
*/
|
|
@@ -228,7 +234,7 @@ class SurveysApi extends runtime.BaseAPI {
|
|
|
228
234
|
};
|
|
229
235
|
}
|
|
230
236
|
/**
|
|
231
|
-
* Returns a single
|
|
237
|
+
* Returns a single survey definition, including the draft `content` and (after the first publish) the frozen `publishedContent` + `version`.
|
|
232
238
|
* Show Survey
|
|
233
239
|
*/
|
|
234
240
|
async showSurveyRaw(requestParameters, initOverrides) {
|
|
@@ -237,53 +243,13 @@ class SurveysApi extends runtime.BaseAPI {
|
|
|
237
243
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveySchemaFromJSON)(jsonValue));
|
|
238
244
|
}
|
|
239
245
|
/**
|
|
240
|
-
* Returns a single
|
|
246
|
+
* Returns a single survey definition, including the draft `content` and (after the first publish) the frozen `publishedContent` + `version`.
|
|
241
247
|
* Show Survey
|
|
242
248
|
*/
|
|
243
249
|
async showSurvey(requestParameters, initOverrides) {
|
|
244
250
|
const response = await this.showSurveyRaw(requestParameters, initOverrides);
|
|
245
251
|
return await response.value();
|
|
246
252
|
}
|
|
247
|
-
/**
|
|
248
|
-
* Creates request options for submitGuestSurvey without sending the request
|
|
249
|
-
*/
|
|
250
|
-
async submitGuestSurveyRequestOpts(requestParameters) {
|
|
251
|
-
if (requestParameters['surveyId'] == null) {
|
|
252
|
-
throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling submitGuestSurvey().');
|
|
253
|
-
}
|
|
254
|
-
if (requestParameters['submitGuestSurveyRequestBody'] == null) {
|
|
255
|
-
throw new runtime.RequiredError('submitGuestSurveyRequestBody', 'Required parameter "submitGuestSurveyRequestBody" was null or undefined when calling submitGuestSurvey().');
|
|
256
|
-
}
|
|
257
|
-
const queryParameters = {};
|
|
258
|
-
const headerParameters = {};
|
|
259
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
260
|
-
let urlPath = `/v1/guest/surveys/{surveyId}`;
|
|
261
|
-
urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
|
|
262
|
-
return {
|
|
263
|
-
path: urlPath,
|
|
264
|
-
method: 'PATCH',
|
|
265
|
-
headers: headerParameters,
|
|
266
|
-
query: queryParameters,
|
|
267
|
-
body: (0, index_1.SubmitGuestSurveyRequestBodyToJSON)(requestParameters['submitGuestSurveyRequestBody']),
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* Candidate answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `score` is a required integer 0-10; `comment` is optional free text (max 2000 characters). `npsCategory` is computed server-side from the score and is 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 survey. The response carries the same guest allowlist as showGuestSurvey.
|
|
272
|
-
* Submit Guest Survey
|
|
273
|
-
*/
|
|
274
|
-
async submitGuestSurveyRaw(requestParameters, initOverrides) {
|
|
275
|
-
const requestOptions = await this.submitGuestSurveyRequestOpts(requestParameters);
|
|
276
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
277
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GuestSurveySchemaFromJSON)(jsonValue));
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* Candidate answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `score` is a required integer 0-10; `comment` is optional free text (max 2000 characters). `npsCategory` is computed server-side from the score and is 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 survey. The response carries the same guest allowlist as showGuestSurvey.
|
|
281
|
-
* Submit Guest Survey
|
|
282
|
-
*/
|
|
283
|
-
async submitGuestSurvey(requestParameters, initOverrides) {
|
|
284
|
-
const response = await this.submitGuestSurveyRaw(requestParameters, initOverrides);
|
|
285
|
-
return await response.value();
|
|
286
|
-
}
|
|
287
253
|
/**
|
|
288
254
|
* Creates request options for surveyOptions without sending the request
|
|
289
255
|
*/
|
|
@@ -348,14 +314,75 @@ class SurveysApi extends runtime.BaseAPI {
|
|
|
348
314
|
async surveysOptions(initOverrides) {
|
|
349
315
|
await this.surveysOptionsRaw(initOverrides);
|
|
350
316
|
}
|
|
317
|
+
/**
|
|
318
|
+
* Creates request options for updateSurvey without sending the request
|
|
319
|
+
*/
|
|
320
|
+
async updateSurveyRequestOpts(requestParameters) {
|
|
321
|
+
if (requestParameters['surveyId'] == null) {
|
|
322
|
+
throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling updateSurvey().');
|
|
323
|
+
}
|
|
324
|
+
if (requestParameters['updateSurveyRequestBody'] == null) {
|
|
325
|
+
throw new runtime.RequiredError('updateSurveyRequestBody', 'Required parameter "updateSurveyRequestBody" was null or undefined when calling updateSurvey().');
|
|
326
|
+
}
|
|
327
|
+
const queryParameters = {};
|
|
328
|
+
const headerParameters = {};
|
|
329
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
330
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
331
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
332
|
+
}
|
|
333
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
334
|
+
// oauth required
|
|
335
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
336
|
+
}
|
|
337
|
+
let urlPath = `/v1/surveys/{surveyId}`;
|
|
338
|
+
urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
|
|
339
|
+
return {
|
|
340
|
+
path: urlPath,
|
|
341
|
+
method: 'PATCH',
|
|
342
|
+
headers: headerParameters,
|
|
343
|
+
query: queryParameters,
|
|
344
|
+
body: (0, index_1.UpdateSurveyRequestBodyToJSON)(requestParameters['updateSurveyRequestBody']),
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` edits land on the DRAFT copy and change nothing live until the next publish. - `status: active` is the PUBLISH door: the effective content is publish-validated (title with en-US, 1-50 well-formed questions, unique questionIds and option values, nps pinned to 0-10), then copied to `publishedContent` with `version += 1`. Re-sending `status: active` on an already-active survey re-publishes the edited draft; reactivating an archived survey publishes too. - `kind` is immutable. Archived surveys accept no edits except the reactivating publish. Allowed transitions: draft->active, draft->archived, active->archived, archived->active.
|
|
349
|
+
* Update Survey
|
|
350
|
+
*/
|
|
351
|
+
async updateSurveyRaw(requestParameters, initOverrides) {
|
|
352
|
+
const requestOptions = await this.updateSurveyRequestOpts(requestParameters);
|
|
353
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
354
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveySchemaFromJSON)(jsonValue));
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` edits land on the DRAFT copy and change nothing live until the next publish. - `status: active` is the PUBLISH door: the effective content is publish-validated (title with en-US, 1-50 well-formed questions, unique questionIds and option values, nps pinned to 0-10), then copied to `publishedContent` with `version += 1`. Re-sending `status: active` on an already-active survey re-publishes the edited draft; reactivating an archived survey publishes too. - `kind` is immutable. Archived surveys accept no edits except the reactivating publish. Allowed transitions: draft->active, draft->archived, active->archived, archived->active.
|
|
358
|
+
* Update Survey
|
|
359
|
+
*/
|
|
360
|
+
async updateSurvey(requestParameters, initOverrides) {
|
|
361
|
+
const response = await this.updateSurveyRaw(requestParameters, initOverrides);
|
|
362
|
+
return await response.value();
|
|
363
|
+
}
|
|
351
364
|
}
|
|
352
365
|
exports.SurveysApi = SurveysApi;
|
|
366
|
+
/**
|
|
367
|
+
* @export
|
|
368
|
+
*/
|
|
369
|
+
exports.DeleteSurveyPermanentDeleteEnum = {
|
|
370
|
+
True: 'true',
|
|
371
|
+
False: 'false'
|
|
372
|
+
};
|
|
353
373
|
/**
|
|
354
374
|
* @export
|
|
355
375
|
*/
|
|
356
376
|
exports.ListSurveysFilterStatusEnum = {
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
377
|
+
Draft: 'draft',
|
|
378
|
+
Active: 'active',
|
|
379
|
+
Archived: 'archived'
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* @export
|
|
383
|
+
*/
|
|
384
|
+
exports.ListSurveysFilterKindEnum = {
|
|
385
|
+
Cnps: 'cnps',
|
|
386
|
+
General: 'general'
|
|
360
387
|
};
|
|
361
388
|
//# sourceMappingURL=SurveysApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SurveysApi.js","sourceRoot":"","sources":["../../src/apis/SurveysApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;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