keplar-api 0.0.9 → 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 +24 -22
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +236 -249
- package/dist/apis/DefaultApi.js +878 -803
- 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/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/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/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/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/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 +24 -22
- package/dist/models/index.js +24 -22
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1094 -1026
- package/src/models/ApiInvitesIdParticipantInvitesGet200Response.ts +101 -0
- package/src/models/ApiInvitesIdResponsesGet200Response.ts +10 -10
- 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/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/{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/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/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 +24 -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,83 @@
|
|
|
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 { InviteStatus } from './InviteStatus';
|
|
13
|
+
import type { CodeInviteConfig } from './CodeInviteConfig';
|
|
14
|
+
import type { JoinCodeInvite302ResponseSettings } from './JoinCodeInvite302ResponseSettings';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface JoinCodeInvite302Response
|
|
19
|
+
*/
|
|
20
|
+
export interface JoinCodeInvite302Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof JoinCodeInvite302Response
|
|
25
|
+
*/
|
|
26
|
+
id: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof JoinCodeInvite302Response
|
|
31
|
+
*/
|
|
32
|
+
code: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof JoinCodeInvite302Response
|
|
37
|
+
*/
|
|
38
|
+
name: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof JoinCodeInvite302Response
|
|
43
|
+
*/
|
|
44
|
+
description?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {InviteStatus}
|
|
48
|
+
* @memberof JoinCodeInvite302Response
|
|
49
|
+
*/
|
|
50
|
+
status: InviteStatus;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Date}
|
|
54
|
+
* @memberof JoinCodeInvite302Response
|
|
55
|
+
*/
|
|
56
|
+
expiresAt?: Date | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof JoinCodeInvite302Response
|
|
61
|
+
*/
|
|
62
|
+
projectId: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {CodeInviteConfig}
|
|
66
|
+
* @memberof JoinCodeInvite302Response
|
|
67
|
+
*/
|
|
68
|
+
config: CodeInviteConfig;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {JoinCodeInvite302ResponseSettings}
|
|
72
|
+
* @memberof JoinCodeInvite302Response
|
|
73
|
+
*/
|
|
74
|
+
settings: JoinCodeInvite302ResponseSettings;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the JoinCodeInvite302Response interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfJoinCodeInvite302Response(value: object): value is JoinCodeInvite302Response;
|
|
80
|
+
export declare function JoinCodeInvite302ResponseFromJSON(json: any): JoinCodeInvite302Response;
|
|
81
|
+
export declare function JoinCodeInvite302ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): JoinCodeInvite302Response;
|
|
82
|
+
export declare function JoinCodeInvite302ResponseToJSON(json: any): JoinCodeInvite302Response;
|
|
83
|
+
export declare function JoinCodeInvite302ResponseToJSONTyped(value?: JoinCodeInvite302Response | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/{ApiInviteCodeCodeStartGet302Response.js → JoinCodeInvite302Response.js}
RENAMED
|
@@ -13,17 +13,18 @@
|
|
|
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
|
-
var ApiInviteCodeCodeStartGet302ResponseSettings_1 = require("./ApiInviteCodeCodeStartGet302ResponseSettings");
|
|
16
|
+
exports.instanceOfJoinCodeInvite302Response = instanceOfJoinCodeInvite302Response;
|
|
17
|
+
exports.JoinCodeInvite302ResponseFromJSON = JoinCodeInvite302ResponseFromJSON;
|
|
18
|
+
exports.JoinCodeInvite302ResponseFromJSONTyped = JoinCodeInvite302ResponseFromJSONTyped;
|
|
19
|
+
exports.JoinCodeInvite302ResponseToJSON = JoinCodeInvite302ResponseToJSON;
|
|
20
|
+
exports.JoinCodeInvite302ResponseToJSONTyped = JoinCodeInvite302ResponseToJSONTyped;
|
|
22
21
|
var InviteStatus_1 = require("./InviteStatus");
|
|
22
|
+
var CodeInviteConfig_1 = require("./CodeInviteConfig");
|
|
23
|
+
var JoinCodeInvite302ResponseSettings_1 = require("./JoinCodeInvite302ResponseSettings");
|
|
23
24
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
25
|
+
* Check if a given object implements the JoinCodeInvite302Response interface.
|
|
25
26
|
*/
|
|
26
|
-
function
|
|
27
|
+
function instanceOfJoinCodeInvite302Response(value) {
|
|
27
28
|
if (!('id' in value) || value['id'] === undefined)
|
|
28
29
|
return false;
|
|
29
30
|
if (!('code' in value) || value['code'] === undefined)
|
|
@@ -34,14 +35,16 @@ function instanceOfApiInviteCodeCodeStartGet302Response(value) {
|
|
|
34
35
|
return false;
|
|
35
36
|
if (!('projectId' in value) || value['projectId'] === undefined)
|
|
36
37
|
return false;
|
|
38
|
+
if (!('config' in value) || value['config'] === undefined)
|
|
39
|
+
return false;
|
|
37
40
|
if (!('settings' in value) || value['settings'] === undefined)
|
|
38
41
|
return false;
|
|
39
42
|
return true;
|
|
40
43
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
44
|
+
function JoinCodeInvite302ResponseFromJSON(json) {
|
|
45
|
+
return JoinCodeInvite302ResponseFromJSONTyped(json, false);
|
|
43
46
|
}
|
|
44
|
-
function
|
|
47
|
+
function JoinCodeInvite302ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
48
|
if (json == null) {
|
|
46
49
|
return json;
|
|
47
50
|
}
|
|
@@ -53,13 +56,14 @@ function ApiInviteCodeCodeStartGet302ResponseFromJSONTyped(json, ignoreDiscrimin
|
|
|
53
56
|
'status': (0, InviteStatus_1.InviteStatusFromJSON)(json['status']),
|
|
54
57
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
55
58
|
'projectId': json['projectId'],
|
|
56
|
-
'
|
|
59
|
+
'config': (0, CodeInviteConfig_1.CodeInviteConfigFromJSON)(json['config']),
|
|
60
|
+
'settings': (0, JoinCodeInvite302ResponseSettings_1.JoinCodeInvite302ResponseSettingsFromJSON)(json['settings']),
|
|
57
61
|
};
|
|
58
62
|
}
|
|
59
|
-
function
|
|
60
|
-
return
|
|
63
|
+
function JoinCodeInvite302ResponseToJSON(json) {
|
|
64
|
+
return JoinCodeInvite302ResponseToJSONTyped(json, false);
|
|
61
65
|
}
|
|
62
|
-
function
|
|
66
|
+
function JoinCodeInvite302ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
63
67
|
var _a;
|
|
64
68
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
69
|
if (value == null) {
|
|
@@ -73,6 +77,7 @@ function ApiInviteCodeCodeStartGet302ResponseToJSONTyped(value, ignoreDiscrimina
|
|
|
73
77
|
'status': (0, InviteStatus_1.InviteStatusToJSON)(value['status']),
|
|
74
78
|
'expiresAt': value['expiresAt'] === null ? null : ((_a = value['expiresAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
75
79
|
'projectId': value['projectId'],
|
|
76
|
-
'
|
|
80
|
+
'config': (0, CodeInviteConfig_1.CodeInviteConfigToJSON)(value['config']),
|
|
81
|
+
'settings': (0, JoinCodeInvite302ResponseSettings_1.JoinCodeInvite302ResponseSettingsToJSON)(value['settings']),
|
|
77
82
|
};
|
|
78
83
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ScreenerQuestionChooseOnePublic } from './ScreenerQuestionChooseOnePublic';
|
|
13
|
+
import type { ProjectFilePublic } from './ProjectFilePublic';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JoinCodeInvite302ResponseSettings
|
|
18
|
+
*/
|
|
19
|
+
export interface JoinCodeInvite302ResponseSettings {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JoinCodeInvite302ResponseSettings
|
|
24
|
+
*/
|
|
25
|
+
maxDurationSeconds: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ScreenerQuestionChooseOnePublic>}
|
|
29
|
+
* @memberof JoinCodeInvite302ResponseSettings
|
|
30
|
+
*/
|
|
31
|
+
screenerQuestions?: Array<ScreenerQuestionChooseOnePublic>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<ProjectFilePublic>}
|
|
35
|
+
* @memberof JoinCodeInvite302ResponseSettings
|
|
36
|
+
*/
|
|
37
|
+
files?: Array<ProjectFilePublic>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the JoinCodeInvite302ResponseSettings interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfJoinCodeInvite302ResponseSettings(value: object): value is JoinCodeInvite302ResponseSettings;
|
|
43
|
+
export declare function JoinCodeInvite302ResponseSettingsFromJSON(json: any): JoinCodeInvite302ResponseSettings;
|
|
44
|
+
export declare function JoinCodeInvite302ResponseSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): JoinCodeInvite302ResponseSettings;
|
|
45
|
+
export declare function JoinCodeInvite302ResponseSettingsToJSON(json: any): JoinCodeInvite302ResponseSettings;
|
|
46
|
+
export declare function JoinCodeInvite302ResponseSettingsToJSONTyped(value?: JoinCodeInvite302ResponseSettings | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfJoinCodeInvite302ResponseSettings = instanceOfJoinCodeInvite302ResponseSettings;
|
|
17
|
+
exports.JoinCodeInvite302ResponseSettingsFromJSON = JoinCodeInvite302ResponseSettingsFromJSON;
|
|
18
|
+
exports.JoinCodeInvite302ResponseSettingsFromJSONTyped = JoinCodeInvite302ResponseSettingsFromJSONTyped;
|
|
19
|
+
exports.JoinCodeInvite302ResponseSettingsToJSON = JoinCodeInvite302ResponseSettingsToJSON;
|
|
20
|
+
exports.JoinCodeInvite302ResponseSettingsToJSONTyped = JoinCodeInvite302ResponseSettingsToJSONTyped;
|
|
21
|
+
var ScreenerQuestionChooseOnePublic_1 = require("./ScreenerQuestionChooseOnePublic");
|
|
22
|
+
var ProjectFilePublic_1 = require("./ProjectFilePublic");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the JoinCodeInvite302ResponseSettings interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfJoinCodeInvite302ResponseSettings(value) {
|
|
27
|
+
if (!('maxDurationSeconds' in value) || value['maxDurationSeconds'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function JoinCodeInvite302ResponseSettingsFromJSON(json) {
|
|
32
|
+
return JoinCodeInvite302ResponseSettingsFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function JoinCodeInvite302ResponseSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'maxDurationSeconds': json['maxDurationSeconds'],
|
|
40
|
+
'screenerQuestions': json['screenerQuestions'] == null ? undefined : (json['screenerQuestions'].map(ScreenerQuestionChooseOnePublic_1.ScreenerQuestionChooseOnePublicFromJSON)),
|
|
41
|
+
'files': json['files'] == null ? undefined : (json['files'].map(ProjectFilePublic_1.ProjectFilePublicFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function JoinCodeInvite302ResponseSettingsToJSON(json) {
|
|
45
|
+
return JoinCodeInvite302ResponseSettingsToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function JoinCodeInvite302ResponseSettingsToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'maxDurationSeconds': value['maxDurationSeconds'],
|
|
54
|
+
'screenerQuestions': value['screenerQuestions'] == null ? undefined : (value['screenerQuestions'].map(ScreenerQuestionChooseOnePublic_1.ScreenerQuestionChooseOnePublicToJSON)),
|
|
55
|
+
'files': value['files'] == null ? undefined : (value['files'].map(ProjectFilePublic_1.ProjectFilePublicToJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 PanelQualification
|
|
16
|
+
*/
|
|
17
|
+
export interface PanelQualification {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<any>}
|
|
21
|
+
* @memberof PanelQualification
|
|
22
|
+
*/
|
|
23
|
+
allowed_option_ids: Array<any>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PanelQualification
|
|
28
|
+
*/
|
|
29
|
+
question_id: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PanelQualification interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPanelQualification(value: object): value is PanelQualification;
|
|
35
|
+
export declare function PanelQualificationFromJSON(json: any): PanelQualification;
|
|
36
|
+
export declare function PanelQualificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PanelQualification;
|
|
37
|
+
export declare function PanelQualificationToJSON(json: any): PanelQualification;
|
|
38
|
+
export declare function PanelQualificationToJSONTyped(value?: PanelQualification | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,25 +13,25 @@
|
|
|
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.instanceOfPanelQualification = instanceOfPanelQualification;
|
|
17
|
+
exports.PanelQualificationFromJSON = PanelQualificationFromJSON;
|
|
18
|
+
exports.PanelQualificationFromJSONTyped = PanelQualificationFromJSONTyped;
|
|
19
|
+
exports.PanelQualificationToJSON = PanelQualificationToJSON;
|
|
20
|
+
exports.PanelQualificationToJSONTyped = PanelQualificationToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the PanelQualification interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfPanelQualification(value) {
|
|
25
25
|
if (!('allowed_option_ids' in value) || value['allowed_option_ids'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('question_id' in value) || value['question_id'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function PanelQualificationFromJSON(json) {
|
|
32
|
+
return PanelQualificationFromJSONTyped(json, false);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function PanelQualificationFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
35
|
if (json == null) {
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
@@ -40,10 +40,10 @@ function ProjectPanelQualificationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'question_id': json['question_id'],
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
return
|
|
43
|
+
function PanelQualificationToJSON(json) {
|
|
44
|
+
return PanelQualificationToJSONTyped(json, false);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function PanelQualificationToJSONTyped(value, ignoreDiscriminator) {
|
|
47
47
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
48
|
if (value == null) {
|
|
49
49
|
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 { PanelQualification } from './PanelQualification';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PanelRespondentAttribute
|
|
17
|
+
*/
|
|
18
|
+
export interface PanelRespondentAttribute {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<PanelQualification>}
|
|
22
|
+
* @memberof PanelRespondentAttribute
|
|
23
|
+
*/
|
|
24
|
+
qualifications: Array<PanelQualification>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PanelRespondentAttribute
|
|
29
|
+
*/
|
|
30
|
+
quota: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PanelRespondentAttribute
|
|
35
|
+
*/
|
|
36
|
+
quota_name: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the PanelRespondentAttribute interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfPanelRespondentAttribute(value: object): value is PanelRespondentAttribute;
|
|
42
|
+
export declare function PanelRespondentAttributeFromJSON(json: any): PanelRespondentAttribute;
|
|
43
|
+
export declare function PanelRespondentAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PanelRespondentAttribute;
|
|
44
|
+
export declare function PanelRespondentAttributeToJSON(json: any): PanelRespondentAttribute;
|
|
45
|
+
export declare function PanelRespondentAttributeToJSONTyped(value?: PanelRespondentAttribute | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfPanelRespondentAttribute = instanceOfPanelRespondentAttribute;
|
|
17
|
+
exports.PanelRespondentAttributeFromJSON = PanelRespondentAttributeFromJSON;
|
|
18
|
+
exports.PanelRespondentAttributeFromJSONTyped = PanelRespondentAttributeFromJSONTyped;
|
|
19
|
+
exports.PanelRespondentAttributeToJSON = PanelRespondentAttributeToJSON;
|
|
20
|
+
exports.PanelRespondentAttributeToJSONTyped = PanelRespondentAttributeToJSONTyped;
|
|
21
|
+
var PanelQualification_1 = require("./PanelQualification");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PanelRespondentAttribute interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPanelRespondentAttribute(value) {
|
|
26
|
+
if (!('qualifications' in value) || value['qualifications'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('quota' in value) || value['quota'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('quota_name' in value) || value['quota_name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function PanelRespondentAttributeFromJSON(json) {
|
|
35
|
+
return PanelRespondentAttributeFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function PanelRespondentAttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'qualifications': (json['qualifications'].map(PanelQualification_1.PanelQualificationFromJSON)),
|
|
43
|
+
'quota': json['quota'],
|
|
44
|
+
'quota_name': json['quota_name'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function PanelRespondentAttributeToJSON(json) {
|
|
48
|
+
return PanelRespondentAttributeToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function PanelRespondentAttributeToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'qualifications': (value['qualifications'].map(PanelQualification_1.PanelQualificationToJSON)),
|
|
57
|
+
'quota': value['quota'],
|
|
58
|
+
'quota_name': value['quota_name'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { PanelRespondentAttribute } from './PanelRespondentAttribute';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PanelSettings
|
|
17
|
+
*/
|
|
18
|
+
export interface PanelSettings {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<PanelRespondentAttribute>}
|
|
22
|
+
* @memberof PanelSettings
|
|
23
|
+
*/
|
|
24
|
+
respondent_attributes: Array<PanelRespondentAttribute>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PanelSettings
|
|
29
|
+
*/
|
|
30
|
+
country_code?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PanelSettings
|
|
35
|
+
*/
|
|
36
|
+
language_code?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PanelSettings
|
|
41
|
+
*/
|
|
42
|
+
length_of_interview?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof PanelSettings
|
|
47
|
+
*/
|
|
48
|
+
incidence_rate?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof PanelSettings
|
|
53
|
+
*/
|
|
54
|
+
compensation?: number;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the PanelSettings interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfPanelSettings(value: object): value is PanelSettings;
|
|
60
|
+
export declare function PanelSettingsFromJSON(json: any): PanelSettings;
|
|
61
|
+
export declare function PanelSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PanelSettings;
|
|
62
|
+
export declare function PanelSettingsToJSON(json: any): PanelSettings;
|
|
63
|
+
export declare function PanelSettingsToJSONTyped(value?: PanelSettings | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,29 +13,29 @@
|
|
|
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
|
-
var
|
|
16
|
+
exports.instanceOfPanelSettings = instanceOfPanelSettings;
|
|
17
|
+
exports.PanelSettingsFromJSON = PanelSettingsFromJSON;
|
|
18
|
+
exports.PanelSettingsFromJSONTyped = PanelSettingsFromJSONTyped;
|
|
19
|
+
exports.PanelSettingsToJSON = PanelSettingsToJSON;
|
|
20
|
+
exports.PanelSettingsToJSONTyped = PanelSettingsToJSONTyped;
|
|
21
|
+
var PanelRespondentAttribute_1 = require("./PanelRespondentAttribute");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the PanelSettings interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfPanelSettings(value) {
|
|
26
26
|
if (!('respondent_attributes' in value) || value['respondent_attributes'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
return true;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
return
|
|
30
|
+
function PanelSettingsFromJSON(json) {
|
|
31
|
+
return PanelSettingsFromJSONTyped(json, false);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function PanelSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
34
|
if (json == null) {
|
|
35
35
|
return json;
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
|
-
'respondent_attributes': (json['respondent_attributes'].map(
|
|
38
|
+
'respondent_attributes': (json['respondent_attributes'].map(PanelRespondentAttribute_1.PanelRespondentAttributeFromJSON)),
|
|
39
39
|
'country_code': json['country_code'] == null ? undefined : json['country_code'],
|
|
40
40
|
'language_code': json['language_code'] == null ? undefined : json['language_code'],
|
|
41
41
|
'length_of_interview': json['length_of_interview'] == null ? undefined : json['length_of_interview'],
|
|
@@ -43,16 +43,16 @@ function ProjectPanelSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'compensation': json['compensation'] == null ? undefined : json['compensation'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function PanelSettingsToJSON(json) {
|
|
47
|
+
return PanelSettingsToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function PanelSettingsToJSONTyped(value, ignoreDiscriminator) {
|
|
50
50
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
51
|
if (value == null) {
|
|
52
52
|
return value;
|
|
53
53
|
}
|
|
54
54
|
return {
|
|
55
|
-
'respondent_attributes': (value['respondent_attributes'].map(
|
|
55
|
+
'respondent_attributes': (value['respondent_attributes'].map(PanelRespondentAttribute_1.PanelRespondentAttributeToJSON)),
|
|
56
56
|
'country_code': value['country_code'],
|
|
57
57
|
'language_code': value['language_code'],
|
|
58
58
|
'length_of_interview': value['length_of_interview'],
|
|
@@ -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}
|