keplar-api 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +37 -22
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +236 -235
- package/dist/apis/DefaultApi.js +926 -786
- package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.d.ts +51 -0
- package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.js +64 -0
- package/dist/models/ApiInvitesIdResponsesGet200Response.d.ts +3 -3
- package/dist/models/ApiInvitesIdResponsesGet200Response.js +3 -3
- package/dist/models/Attribute.d.ts +65 -0
- package/dist/models/Attribute.js +68 -0
- package/dist/models/AttributeFilterGroupSchemaInner.d.ts +23 -0
- package/dist/models/AttributeFilterGroupSchemaInner.js +58 -0
- package/dist/models/AttributeKind.d.ts +76 -0
- package/dist/models/AttributeKind.js +75 -0
- package/dist/models/AttributeSource.d.ts +25 -0
- package/dist/models/AttributeSource.js +51 -0
- package/dist/models/AttributeStatsSchemaInner.d.ts +40 -0
- package/dist/models/AttributeStatsSchemaInner.js +57 -0
- package/dist/models/AttributeStatsSchemaInnerKind.d.ts +57 -0
- package/dist/models/AttributeStatsSchemaInnerKind.js +64 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +38 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.js +55 -0
- package/dist/models/AttributeValueKind.d.ts +26 -0
- package/dist/models/AttributeValueKind.js +52 -0
- package/dist/models/CallSummary.d.ts +46 -0
- package/dist/models/CallSummary.js +61 -0
- package/dist/models/CodeInvite.d.ts +10 -3
- package/dist/models/CodeInvite.js +8 -3
- package/dist/models/CodeInviteConfig.d.ts +30 -0
- package/dist/models/CodeInviteConfig.js +59 -0
- package/dist/models/CodeInviteConfigContacts.d.ts +75 -0
- package/dist/models/CodeInviteConfigContacts.js +72 -0
- package/dist/models/CodeInviteConfigKeplarPanel.d.ts +82 -0
- package/dist/models/CodeInviteConfigKeplarPanel.js +77 -0
- package/dist/models/CreateCodeInviteResponseRequest.d.ts +40 -0
- package/dist/models/CreateCodeInviteResponseRequest.js +53 -0
- package/dist/models/GetCodeInvite200Response.d.ts +83 -0
- package/dist/models/{ApiInviteCodeCodeGet200Response.js → GetCodeInvite200Response.js} +21 -16
- package/dist/models/GetCodeInviteResponseRedirect200Response.d.ts +32 -0
- package/dist/models/GetCodeInviteResponseRedirect200Response.js +51 -0
- package/dist/models/InviteConfig.d.ts +12 -70
- package/dist/models/InviteConfig.js +23 -37
- package/dist/models/InviteConfigContacts.d.ts +75 -0
- package/dist/models/InviteConfigContacts.js +72 -0
- package/dist/models/InviteConfigKeplarPanel.d.ts +95 -0
- package/dist/models/InviteConfigKeplarPanel.js +82 -0
- package/dist/models/InviteConfigPublic.d.ts +81 -0
- package/dist/models/InviteConfigPublic.js +74 -0
- package/dist/models/InviteResponse.d.ts +7 -0
- package/dist/models/InviteResponse.js +3 -0
- package/dist/models/InviteResponseAttribute.d.ts +71 -0
- package/dist/models/InviteResponseAttribute.js +74 -0
- package/dist/models/InviteResponseData.d.ts +3 -3
- package/dist/models/InviteResponseData.js +3 -3
- package/dist/models/InviteResponseWithCallSummary.d.ts +118 -0
- package/dist/models/InviteResponseWithCallSummary.js +97 -0
- package/dist/models/JoinCodeInvite302Response.d.ts +83 -0
- package/dist/models/{ApiInviteCodeCodeStartGet302Response.js → JoinCodeInvite302Response.js} +21 -16
- package/dist/models/JoinCodeInvite302ResponseSettings.d.ts +46 -0
- package/dist/models/JoinCodeInvite302ResponseSettings.js +57 -0
- package/dist/models/NumberFilterSchema.d.ts +57 -0
- package/dist/models/NumberFilterSchema.js +66 -0
- package/dist/models/PanelQualification.d.ts +38 -0
- package/dist/models/{ProjectPanelQualification.js → PanelQualification.js} +13 -13
- package/dist/models/PanelRespondentAttribute.d.ts +45 -0
- package/dist/models/PanelRespondentAttribute.js +60 -0
- package/dist/models/PanelSettings.d.ts +63 -0
- package/dist/models/{ProjectPanelSettings.js → PanelSettings.js} +16 -16
- package/dist/models/Participant.d.ts +7 -0
- package/dist/models/Participant.js +3 -0
- package/dist/models/ParticipantAttribute.d.ts +77 -0
- package/dist/models/ParticipantAttribute.js +78 -0
- package/dist/models/ProjectAudience.d.ts +3 -3
- package/dist/models/ProjectAudience.js +3 -3
- package/dist/models/ProjectConfig.d.ts +3 -3
- package/dist/models/ProjectConfig.js +3 -3
- package/dist/models/ResponseSubmitScreenerEvent.d.ts +3 -3
- package/dist/models/ResponseSubmitScreenerEvent.js +3 -3
- package/dist/models/ScreenerQuestionChooseOne.d.ts +57 -0
- package/dist/models/{ProjectScreenerQuestionChooseOne.js → ScreenerQuestionChooseOne.js} +15 -15
- package/dist/models/ScreenerQuestionChooseOnePublic.d.ts +51 -0
- package/dist/models/ScreenerQuestionChooseOnePublic.js +66 -0
- package/dist/models/ScreenerQuestionResponse.d.ts +44 -0
- package/dist/models/{ProjectScreenerQuestionResponse.js → ScreenerQuestionResponse.js} +13 -13
- package/dist/models/SelectFilterSchema.d.ts +45 -0
- package/dist/models/SelectFilterSchema.js +60 -0
- package/dist/models/SelectFilterSchemaKind.d.ts +26 -0
- package/dist/models/SelectFilterSchemaKind.js +39 -0
- package/dist/models/StartPhoneCallForCodeInviteResponseRequest.d.ts +32 -0
- package/dist/models/StartPhoneCallForCodeInviteResponseRequest.js +51 -0
- package/dist/models/UpdateCallForCodeInviteResponseRequest.d.ts +39 -0
- package/dist/models/UpdateCallForCodeInviteResponseRequest.js +56 -0
- package/dist/models/UpdateCallForCodeInviteResponseRequestCall.d.ts +39 -0
- package/dist/models/UpdateCallForCodeInviteResponseRequestCall.js +56 -0
- package/dist/models/UpdateCodeInviteResponse404Response.d.ts +32 -0
- package/dist/models/UpdateCodeInviteResponse404Response.js +51 -0
- package/dist/models/index.d.ts +37 -22
- package/dist/models/index.js +37 -22
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1126 -991
- package/src/models/ApiInvitesIdParticipantInvitesGet200Response.ts +101 -0
- package/src/models/ApiInvitesIdResponsesGet200Response.ts +10 -10
- package/src/models/Attribute.ts +130 -0
- package/src/models/AttributeFilterGroupSchemaInner.ts +76 -0
- package/src/models/AttributeKind.ts +143 -0
- package/src/models/AttributeSource.ts +53 -0
- package/src/models/AttributeStatsSchemaInner.ts +90 -0
- package/src/models/AttributeStatsSchemaInnerKind.ts +110 -0
- package/src/models/AttributeStatsSchemaInnerValuesInner.ts +75 -0
- package/src/models/AttributeValueKind.ts +54 -0
- package/src/models/CallSummary.ts +101 -0
- package/src/models/CodeInvite.ts +27 -11
- package/src/models/CodeInviteConfig.ts +83 -0
- package/src/models/CodeInviteConfigContacts.ts +125 -0
- package/src/models/CodeInviteConfigKeplarPanel.ts +142 -0
- package/src/models/CreateCodeInviteResponseRequest.ts +90 -0
- package/src/models/{ApiInviteCodeCodeGet200Response.ts → GetCodeInvite200Response.ts} +45 -29
- package/src/models/GetCodeInviteResponseRedirect200Response.ts +66 -0
- package/src/models/InviteConfig.ts +42 -113
- package/src/models/InviteConfigContacts.ts +125 -0
- package/src/models/InviteConfigKeplarPanel.ts +165 -0
- package/src/models/InviteConfigPublic.ts +133 -0
- package/src/models/InviteResponse.ts +15 -0
- package/src/models/InviteResponseAttribute.ts +142 -0
- package/src/models/InviteResponseData.ts +10 -10
- package/src/models/InviteResponseWithCallSummary.ts +235 -0
- package/src/models/{ApiInviteCodeCodeStartGet302Response.ts → JoinCodeInvite302Response.ts} +45 -29
- package/src/models/JoinCodeInvite302ResponseSettings.ts +97 -0
- package/src/models/NumberFilterSchema.ts +101 -0
- package/src/models/{ProjectPanelQualification.ts → PanelQualification.ts} +12 -12
- package/src/models/PanelRespondentAttribute.ts +92 -0
- package/src/models/{ProjectPanelSettings.ts → PanelSettings.ts} +26 -26
- package/src/models/Participant.ts +15 -0
- package/src/models/ParticipantAttribute.ts +151 -0
- package/src/models/ProjectAudience.ts +10 -10
- package/src/models/ProjectConfig.ts +11 -11
- package/src/models/ResponseSubmitScreenerEvent.ts +10 -10
- package/src/models/{ProjectScreenerQuestionChooseOne.ts → ScreenerQuestionChooseOne.ts} +17 -17
- package/src/models/ScreenerQuestionChooseOnePublic.ts +94 -0
- package/src/models/{ProjectScreenerQuestionResponse.ts → ScreenerQuestionResponse.ts} +13 -13
- package/src/models/SelectFilterSchema.ts +92 -0
- package/src/models/SelectFilterSchemaKind.ts +46 -0
- package/src/models/StartPhoneCallForCodeInviteResponseRequest.ts +66 -0
- package/src/models/UpdateCallForCodeInviteResponseRequest.ts +83 -0
- package/src/models/UpdateCallForCodeInviteResponseRequestCall.ts +85 -0
- package/src/models/UpdateCodeInviteResponse404Response.ts +66 -0
- package/src/models/index.ts +37 -22
- package/dist/models/ApiInviteCodeCodeGet200Response.d.ts +0 -76
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.d.ts +0 -32
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.js +0 -51
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.d.ts +0 -32
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.js +0 -51
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.d.ts +0 -32
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.js +0 -51
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.d.ts +0 -39
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.js +0 -56
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.d.ts +0 -39
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.js +0 -56
- package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +0 -76
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.d.ts +0 -64
- package/dist/models/ApiInviteCodeCodeStartGet302ResponseSettings.js +0 -63
- package/dist/models/GetParticipantInvitesResponse.d.ts +0 -39
- package/dist/models/GetParticipantInvitesResponse.js +0 -56
- package/dist/models/ProjectPanelQualification.d.ts +0 -38
- package/dist/models/ProjectPanelRespondentAttribute.d.ts +0 -45
- package/dist/models/ProjectPanelRespondentAttribute.js +0 -60
- package/dist/models/ProjectPanelSettings.d.ts +0 -63
- package/dist/models/ProjectScreenerQuestionChooseOne.d.ts +0 -57
- package/dist/models/ProjectScreenerQuestionChooseOnePublic.d.ts +0 -51
- package/dist/models/ProjectScreenerQuestionChooseOnePublic.js +0 -66
- package/dist/models/ProjectScreenerQuestionResponse.d.ts +0 -44
- package/dist/models/RepDataConfigLegacy.d.ts +0 -59
- package/dist/models/RepDataConfigLegacy.js +0 -62
- package/dist/models/RepDataProjectLegacy.d.ts +0 -32
- package/dist/models/RepDataProjectLegacy.js +0 -51
- package/dist/models/RepDataStudyLegacy.d.ts +0 -93
- package/dist/models/RepDataStudyLegacy.js +0 -92
- package/dist/models/RepDataStudyLegacyQualificationsInner.d.ts +0 -38
- package/dist/models/RepDataStudyLegacyQualificationsInner.js +0 -55
- package/dist/models/RepDataSurveyLegacy.d.ts +0 -46
- package/dist/models/RepDataSurveyLegacy.js +0 -59
- package/dist/models/RepDataSurveyLegacyProject.d.ts +0 -32
- package/dist/models/RepDataSurveyLegacyProject.js +0 -51
- package/dist/models/RepDataSurveyStatusLegacy.d.ts +0 -26
- package/dist/models/RepDataSurveyStatusLegacy.js +0 -52
- package/src/models/ApiInviteCodeCodeResponsesResponseIdPut404Response.ts +0 -66
- package/src/models/ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response.ts +0 -66
- package/src/models/ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest.ts +0 -66
- package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest.ts +0 -83
- package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.ts +0 -85
- package/src/models/ApiInviteCodeCodeStartGet302ResponseSettings.ts +0 -121
- package/src/models/GetParticipantInvitesResponse.ts +0 -83
- package/src/models/ProjectPanelRespondentAttribute.ts +0 -92
- package/src/models/ProjectScreenerQuestionChooseOnePublic.ts +0 -94
- package/src/models/RepDataConfigLegacy.ts +0 -120
- package/src/models/RepDataProjectLegacy.ts +0 -66
- package/src/models/RepDataStudyLegacy.ts +0 -164
- package/src/models/RepDataStudyLegacyQualificationsInner.ts +0 -75
- package/src/models/RepDataSurveyLegacy.ts +0 -100
- package/src/models/RepDataSurveyLegacyProject.ts +0 -66
- package/src/models/RepDataSurveyStatusLegacy.ts +0 -54
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfParticipantAttribute = instanceOfParticipantAttribute;
|
|
17
|
+
exports.ParticipantAttributeFromJSON = ParticipantAttributeFromJSON;
|
|
18
|
+
exports.ParticipantAttributeFromJSONTyped = ParticipantAttributeFromJSONTyped;
|
|
19
|
+
exports.ParticipantAttributeToJSON = ParticipantAttributeToJSON;
|
|
20
|
+
exports.ParticipantAttributeToJSONTyped = ParticipantAttributeToJSONTyped;
|
|
21
|
+
var AttributeSource_1 = require("./AttributeSource");
|
|
22
|
+
var Participant_1 = require("./Participant");
|
|
23
|
+
var Attribute_1 = require("./Attribute");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ParticipantAttribute interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfParticipantAttribute(value) {
|
|
28
|
+
if (!('participantId' in value) || value['participantId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('attributeKindKey' in value) || value['attributeKindKey'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('attributeValue' in value) || value['attributeValue'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function ParticipantAttributeFromJSON(json) {
|
|
43
|
+
return ParticipantAttributeFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ParticipantAttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'participantId': json['participantId'],
|
|
51
|
+
'attributeKindKey': json['attributeKindKey'],
|
|
52
|
+
'attributeValue': json['attributeValue'],
|
|
53
|
+
'source': (0, AttributeSource_1.AttributeSourceFromJSON)(json['source']),
|
|
54
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
55
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
56
|
+
'participant': json['participant'] == null ? undefined : (0, Participant_1.ParticipantFromJSON)(json['participant']),
|
|
57
|
+
'attribute': json['attribute'] == null ? undefined : (0, Attribute_1.AttributeFromJSON)(json['attribute']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function ParticipantAttributeToJSON(json) {
|
|
61
|
+
return ParticipantAttributeToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function ParticipantAttributeToJSONTyped(value, ignoreDiscriminator) {
|
|
64
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'participantId': value['participantId'],
|
|
70
|
+
'attributeKindKey': value['attributeKindKey'],
|
|
71
|
+
'attributeValue': value['attributeValue'],
|
|
72
|
+
'source': (0, AttributeSource_1.AttributeSourceToJSON)(value['source']),
|
|
73
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
74
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
75
|
+
'participant': (0, Participant_1.ParticipantToJSON)(value['participant']),
|
|
76
|
+
'attribute': (0, Attribute_1.AttributeToJSON)(value['attribute']),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ParticipantCreate } from './ParticipantCreate';
|
|
13
|
-
import type {
|
|
13
|
+
import type { PanelSettings } from './PanelSettings';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -31,10 +31,10 @@ export interface ProjectAudience {
|
|
|
31
31
|
participants?: Array<ParticipantCreate> | null;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @type {
|
|
34
|
+
* @type {PanelSettings}
|
|
35
35
|
* @memberof ProjectAudience
|
|
36
36
|
*/
|
|
37
|
-
panelSettings?:
|
|
37
|
+
panelSettings?: PanelSettings | null;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Check if a given object implements the ProjectAudience interface.
|
|
@@ -19,7 +19,7 @@ exports.ProjectAudienceFromJSONTyped = ProjectAudienceFromJSONTyped;
|
|
|
19
19
|
exports.ProjectAudienceToJSON = ProjectAudienceToJSON;
|
|
20
20
|
exports.ProjectAudienceToJSONTyped = ProjectAudienceToJSONTyped;
|
|
21
21
|
var ParticipantCreate_1 = require("./ParticipantCreate");
|
|
22
|
-
var
|
|
22
|
+
var PanelSettings_1 = require("./PanelSettings");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the ProjectAudience interface.
|
|
25
25
|
*/
|
|
@@ -38,7 +38,7 @@ function ProjectAudienceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'sampleSize': json['sampleSize'],
|
|
40
40
|
'participants': json['participants'] == null ? undefined : (json['participants'].map(ParticipantCreate_1.ParticipantCreateFromJSON)),
|
|
41
|
-
'panelSettings': json['panelSettings'] == null ? undefined : (0,
|
|
41
|
+
'panelSettings': json['panelSettings'] == null ? undefined : (0, PanelSettings_1.PanelSettingsFromJSON)(json['panelSettings']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
function ProjectAudienceToJSON(json) {
|
|
@@ -52,6 +52,6 @@ function ProjectAudienceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
52
|
return {
|
|
53
53
|
'sampleSize': value['sampleSize'],
|
|
54
54
|
'participants': value['participants'] == null ? undefined : (value['participants'].map(ParticipantCreate_1.ParticipantCreateToJSON)),
|
|
55
|
-
'panelSettings': (0,
|
|
55
|
+
'panelSettings': (0, PanelSettings_1.PanelSettingsToJSON)(value['panelSettings']),
|
|
56
56
|
};
|
|
57
57
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ScreenerQuestionChooseOne } from './ScreenerQuestionChooseOne';
|
|
12
13
|
import type { ProjectBrief } from './ProjectBrief';
|
|
13
14
|
import type { ProjectAudience } from './ProjectAudience';
|
|
14
|
-
import type { ProjectScreenerQuestionChooseOne } from './ProjectScreenerQuestionChooseOne';
|
|
15
15
|
import type { ProjectKind } from './ProjectKind';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
@@ -53,10 +53,10 @@ export interface ProjectConfig {
|
|
|
53
53
|
briefDocument?: string;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {Array<
|
|
56
|
+
* @type {Array<ScreenerQuestionChooseOne>}
|
|
57
57
|
* @memberof ProjectConfig
|
|
58
58
|
*/
|
|
59
|
-
screenerQuestions?: Array<
|
|
59
|
+
screenerQuestions?: Array<ScreenerQuestionChooseOne>;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {ProjectAudience}
|
|
@@ -18,9 +18,9 @@ exports.ProjectConfigFromJSON = ProjectConfigFromJSON;
|
|
|
18
18
|
exports.ProjectConfigFromJSONTyped = ProjectConfigFromJSONTyped;
|
|
19
19
|
exports.ProjectConfigToJSON = ProjectConfigToJSON;
|
|
20
20
|
exports.ProjectConfigToJSONTyped = ProjectConfigToJSONTyped;
|
|
21
|
+
var ScreenerQuestionChooseOne_1 = require("./ScreenerQuestionChooseOne");
|
|
21
22
|
var ProjectBrief_1 = require("./ProjectBrief");
|
|
22
23
|
var ProjectAudience_1 = require("./ProjectAudience");
|
|
23
|
-
var ProjectScreenerQuestionChooseOne_1 = require("./ProjectScreenerQuestionChooseOne");
|
|
24
24
|
var ProjectKind_1 = require("./ProjectKind");
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the ProjectConfig interface.
|
|
@@ -45,7 +45,7 @@ function ProjectConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'learningPlan': json['learningPlan'],
|
|
46
46
|
'brief': json['brief'] == null ? undefined : (0, ProjectBrief_1.ProjectBriefFromJSON)(json['brief']),
|
|
47
47
|
'briefDocument': json['briefDocument'] == null ? undefined : json['briefDocument'],
|
|
48
|
-
'screenerQuestions': json['screenerQuestions'] == null ? undefined : (json['screenerQuestions'].map(
|
|
48
|
+
'screenerQuestions': json['screenerQuestions'] == null ? undefined : (json['screenerQuestions'].map(ScreenerQuestionChooseOne_1.ScreenerQuestionChooseOneFromJSON)),
|
|
49
49
|
'audienceSettings': json['audienceSettings'] == null ? undefined : (0, ProjectAudience_1.ProjectAudienceFromJSON)(json['audienceSettings']),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -63,7 +63,7 @@ function ProjectConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
|
63
63
|
'learningPlan': value['learningPlan'],
|
|
64
64
|
'brief': (0, ProjectBrief_1.ProjectBriefToJSON)(value['brief']),
|
|
65
65
|
'briefDocument': value['briefDocument'],
|
|
66
|
-
'screenerQuestions': value['screenerQuestions'] == null ? undefined : (value['screenerQuestions'].map(
|
|
66
|
+
'screenerQuestions': value['screenerQuestions'] == null ? undefined : (value['screenerQuestions'].map(ScreenerQuestionChooseOne_1.ScreenerQuestionChooseOneToJSON)),
|
|
67
67
|
'audienceSettings': (0, ProjectAudience_1.ProjectAudienceToJSON)(value['audienceSettings']),
|
|
68
68
|
};
|
|
69
69
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ScreenerQuestionResponse } from './ScreenerQuestionResponse';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -24,10 +24,10 @@ export interface ResponseSubmitScreenerEvent {
|
|
|
24
24
|
type: ResponseSubmitScreenerEventTypeEnum;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<ScreenerQuestionResponse>}
|
|
28
28
|
* @memberof ResponseSubmitScreenerEvent
|
|
29
29
|
*/
|
|
30
|
-
screenerQuestionsResponses: Array<
|
|
30
|
+
screenerQuestionsResponses: Array<ScreenerQuestionResponse>;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* @export
|
|
@@ -19,7 +19,7 @@ exports.ResponseSubmitScreenerEventFromJSON = ResponseSubmitScreenerEventFromJSO
|
|
|
19
19
|
exports.ResponseSubmitScreenerEventFromJSONTyped = ResponseSubmitScreenerEventFromJSONTyped;
|
|
20
20
|
exports.ResponseSubmitScreenerEventToJSON = ResponseSubmitScreenerEventToJSON;
|
|
21
21
|
exports.ResponseSubmitScreenerEventToJSONTyped = ResponseSubmitScreenerEventToJSONTyped;
|
|
22
|
-
var
|
|
22
|
+
var ScreenerQuestionResponse_1 = require("./ScreenerQuestionResponse");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -45,7 +45,7 @@ function ResponseSubmitScreenerEventFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'type': json['type'],
|
|
48
|
-
'screenerQuestionsResponses': (json['screenerQuestionsResponses'].map(
|
|
48
|
+
'screenerQuestionsResponses': (json['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseFromJSON)),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
function ResponseSubmitScreenerEventToJSON(json) {
|
|
@@ -58,6 +58,6 @@ function ResponseSubmitScreenerEventToJSONTyped(value, ignoreDiscriminator) {
|
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
60
60
|
'type': value['type'],
|
|
61
|
-
'screenerQuestionsResponses': (value['screenerQuestionsResponses'].map(
|
|
61
|
+
'screenerQuestionsResponses': (value['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseToJSON)),
|
|
62
62
|
};
|
|
63
63
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScreenerQuestionChooseOne
|
|
16
|
+
*/
|
|
17
|
+
export interface ScreenerQuestionChooseOne {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ScreenerQuestionChooseOne
|
|
22
|
+
*/
|
|
23
|
+
type: ScreenerQuestionChooseOneTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScreenerQuestionChooseOne
|
|
28
|
+
*/
|
|
29
|
+
question: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof ScreenerQuestionChooseOne
|
|
34
|
+
*/
|
|
35
|
+
options: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof ScreenerQuestionChooseOne
|
|
40
|
+
*/
|
|
41
|
+
passingOptions: Array<string>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const ScreenerQuestionChooseOneTypeEnum: {
|
|
47
|
+
readonly ChooseOne: "chooseOne";
|
|
48
|
+
};
|
|
49
|
+
export type ScreenerQuestionChooseOneTypeEnum = typeof ScreenerQuestionChooseOneTypeEnum[keyof typeof ScreenerQuestionChooseOneTypeEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ScreenerQuestionChooseOne interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfScreenerQuestionChooseOne(value: object): value is ScreenerQuestionChooseOne;
|
|
54
|
+
export declare function ScreenerQuestionChooseOneFromJSON(json: any): ScreenerQuestionChooseOne;
|
|
55
|
+
export declare function ScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOne;
|
|
56
|
+
export declare function ScreenerQuestionChooseOneToJSON(json: any): ScreenerQuestionChooseOne;
|
|
57
|
+
export declare function ScreenerQuestionChooseOneToJSONTyped(value?: ScreenerQuestionChooseOne | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,22 +13,22 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.ScreenerQuestionChooseOneTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfScreenerQuestionChooseOne = instanceOfScreenerQuestionChooseOne;
|
|
18
|
+
exports.ScreenerQuestionChooseOneFromJSON = ScreenerQuestionChooseOneFromJSON;
|
|
19
|
+
exports.ScreenerQuestionChooseOneFromJSONTyped = ScreenerQuestionChooseOneFromJSONTyped;
|
|
20
|
+
exports.ScreenerQuestionChooseOneToJSON = ScreenerQuestionChooseOneToJSON;
|
|
21
|
+
exports.ScreenerQuestionChooseOneToJSONTyped = ScreenerQuestionChooseOneToJSONTyped;
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
25
|
+
exports.ScreenerQuestionChooseOneTypeEnum = {
|
|
26
26
|
ChooseOne: 'chooseOne'
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* Check if a given object implements the
|
|
29
|
+
* Check if a given object implements the ScreenerQuestionChooseOne interface.
|
|
30
30
|
*/
|
|
31
|
-
function
|
|
31
|
+
function instanceOfScreenerQuestionChooseOne(value) {
|
|
32
32
|
if (!('type' in value) || value['type'] === undefined)
|
|
33
33
|
return false;
|
|
34
34
|
if (!('question' in value) || value['question'] === undefined)
|
|
@@ -39,10 +39,10 @@ function instanceOfProjectScreenerQuestionChooseOne(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
return true;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
return
|
|
42
|
+
function ScreenerQuestionChooseOneFromJSON(json) {
|
|
43
|
+
return ScreenerQuestionChooseOneFromJSONTyped(json, false);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function ScreenerQuestionChooseOneFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
46
|
if (json == null) {
|
|
47
47
|
return json;
|
|
48
48
|
}
|
|
@@ -53,10 +53,10 @@ function ProjectScreenerQuestionChooseOneFromJSONTyped(json, ignoreDiscriminator
|
|
|
53
53
|
'passingOptions': json['passingOptions'],
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
56
|
+
function ScreenerQuestionChooseOneToJSON(json) {
|
|
57
|
+
return ScreenerQuestionChooseOneToJSONTyped(json, false);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ScreenerQuestionChooseOneToJSONTyped(value, ignoreDiscriminator) {
|
|
60
60
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
61
|
if (value == null) {
|
|
62
62
|
return value;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScreenerQuestionChooseOnePublic
|
|
16
|
+
*/
|
|
17
|
+
export interface ScreenerQuestionChooseOnePublic {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
22
|
+
*/
|
|
23
|
+
type: ScreenerQuestionChooseOnePublicTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
28
|
+
*/
|
|
29
|
+
question: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
34
|
+
*/
|
|
35
|
+
options: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ScreenerQuestionChooseOnePublicTypeEnum: {
|
|
41
|
+
readonly ChooseOne: "chooseOne";
|
|
42
|
+
};
|
|
43
|
+
export type ScreenerQuestionChooseOnePublicTypeEnum = typeof ScreenerQuestionChooseOnePublicTypeEnum[keyof typeof ScreenerQuestionChooseOnePublicTypeEnum];
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfScreenerQuestionChooseOnePublic(value: object): value is ScreenerQuestionChooseOnePublic;
|
|
48
|
+
export declare function ScreenerQuestionChooseOnePublicFromJSON(json: any): ScreenerQuestionChooseOnePublic;
|
|
49
|
+
export declare function ScreenerQuestionChooseOnePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOnePublic;
|
|
50
|
+
export declare function ScreenerQuestionChooseOnePublicToJSON(json: any): ScreenerQuestionChooseOnePublic;
|
|
51
|
+
export declare function ScreenerQuestionChooseOnePublicToJSONTyped(value?: ScreenerQuestionChooseOnePublic | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ScreenerQuestionChooseOnePublicTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfScreenerQuestionChooseOnePublic = instanceOfScreenerQuestionChooseOnePublic;
|
|
18
|
+
exports.ScreenerQuestionChooseOnePublicFromJSON = ScreenerQuestionChooseOnePublicFromJSON;
|
|
19
|
+
exports.ScreenerQuestionChooseOnePublicFromJSONTyped = ScreenerQuestionChooseOnePublicFromJSONTyped;
|
|
20
|
+
exports.ScreenerQuestionChooseOnePublicToJSON = ScreenerQuestionChooseOnePublicToJSON;
|
|
21
|
+
exports.ScreenerQuestionChooseOnePublicToJSONTyped = ScreenerQuestionChooseOnePublicToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ScreenerQuestionChooseOnePublicTypeEnum = {
|
|
26
|
+
ChooseOne: 'chooseOne'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfScreenerQuestionChooseOnePublic(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('question' in value) || value['question'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('options' in value) || value['options'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function ScreenerQuestionChooseOnePublicFromJSON(json) {
|
|
41
|
+
return ScreenerQuestionChooseOnePublicFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ScreenerQuestionChooseOnePublicFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'type': json['type'],
|
|
49
|
+
'question': json['question'],
|
|
50
|
+
'options': json['options'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function ScreenerQuestionChooseOnePublicToJSON(json) {
|
|
54
|
+
return ScreenerQuestionChooseOnePublicToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function ScreenerQuestionChooseOnePublicToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'type': value['type'],
|
|
63
|
+
'question': value['question'],
|
|
64
|
+
'options': value['options'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScreenerQuestionResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ScreenerQuestionResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ScreenerQuestionResponse
|
|
22
|
+
*/
|
|
23
|
+
question: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScreenerQuestionResponse
|
|
28
|
+
*/
|
|
29
|
+
response: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ScreenerQuestionResponse
|
|
34
|
+
*/
|
|
35
|
+
passing: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ScreenerQuestionResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfScreenerQuestionResponse(value: object): value is ScreenerQuestionResponse;
|
|
41
|
+
export declare function ScreenerQuestionResponseFromJSON(json: any): ScreenerQuestionResponse;
|
|
42
|
+
export declare function ScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionResponse;
|
|
43
|
+
export declare function ScreenerQuestionResponseToJSON(json: any): ScreenerQuestionResponse;
|
|
44
|
+
export declare function ScreenerQuestionResponseToJSONTyped(value?: ScreenerQuestionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfScreenerQuestionResponse = instanceOfScreenerQuestionResponse;
|
|
17
|
+
exports.ScreenerQuestionResponseFromJSON = ScreenerQuestionResponseFromJSON;
|
|
18
|
+
exports.ScreenerQuestionResponseFromJSONTyped = ScreenerQuestionResponseFromJSONTyped;
|
|
19
|
+
exports.ScreenerQuestionResponseToJSON = ScreenerQuestionResponseToJSON;
|
|
20
|
+
exports.ScreenerQuestionResponseToJSONTyped = ScreenerQuestionResponseToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the ScreenerQuestionResponse interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfScreenerQuestionResponse(value) {
|
|
25
25
|
if (!('question' in value) || value['question'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('response' in value) || value['response'] === undefined)
|
|
@@ -30,10 +30,10 @@ function instanceOfProjectScreenerQuestionResponse(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function ScreenerQuestionResponseFromJSON(json) {
|
|
34
|
+
return ScreenerQuestionResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function ScreenerQuestionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function ProjectScreenerQuestionResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
43
43
|
'passing': json['passing'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function ScreenerQuestionResponseToJSON(json) {
|
|
47
|
+
return ScreenerQuestionResponseToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ScreenerQuestionResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
50
50
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
51
|
if (value == null) {
|
|
52
52
|
return value;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SelectFilterSchemaKind } from './SelectFilterSchemaKind';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SelectFilterSchema
|
|
17
|
+
*/
|
|
18
|
+
export interface SelectFilterSchema {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SelectFilterSchemaKind}
|
|
22
|
+
* @memberof SelectFilterSchema
|
|
23
|
+
*/
|
|
24
|
+
kind: SelectFilterSchemaKind;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SelectFilterSchema
|
|
29
|
+
*/
|
|
30
|
+
key: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof SelectFilterSchema
|
|
35
|
+
*/
|
|
36
|
+
values: Array<string>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SelectFilterSchema interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSelectFilterSchema(value: object): value is SelectFilterSchema;
|
|
42
|
+
export declare function SelectFilterSchemaFromJSON(json: any): SelectFilterSchema;
|
|
43
|
+
export declare function SelectFilterSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SelectFilterSchema;
|
|
44
|
+
export declare function SelectFilterSchemaToJSON(json: any): SelectFilterSchema;
|
|
45
|
+
export declare function SelectFilterSchemaToJSONTyped(value?: SelectFilterSchema | null, ignoreDiscriminator?: boolean): any;
|