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
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ProjectScreenerQuestionChooseOnePublic } from './ProjectScreenerQuestionChooseOnePublic';
|
|
17
|
-
import {
|
|
18
|
-
ProjectScreenerQuestionChooseOnePublicFromJSON,
|
|
19
|
-
ProjectScreenerQuestionChooseOnePublicFromJSONTyped,
|
|
20
|
-
ProjectScreenerQuestionChooseOnePublicToJSON,
|
|
21
|
-
ProjectScreenerQuestionChooseOnePublicToJSONTyped,
|
|
22
|
-
} from './ProjectScreenerQuestionChooseOnePublic';
|
|
23
|
-
import type { ProjectFilePublic } from './ProjectFilePublic';
|
|
24
|
-
import {
|
|
25
|
-
ProjectFilePublicFromJSON,
|
|
26
|
-
ProjectFilePublicFromJSONTyped,
|
|
27
|
-
ProjectFilePublicToJSON,
|
|
28
|
-
ProjectFilePublicToJSONTyped,
|
|
29
|
-
} from './ProjectFilePublic';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface ApiInviteCodeCodeStartGet302ResponseSettings
|
|
35
|
-
*/
|
|
36
|
-
export interface ApiInviteCodeCodeStartGet302ResponseSettings {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ApiInviteCodeCodeStartGet302ResponseSettings
|
|
41
|
-
*/
|
|
42
|
-
maxResponsesPerParticipant?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof ApiInviteCodeCodeStartGet302ResponseSettings
|
|
47
|
-
*/
|
|
48
|
-
maxDurationSeconds: number;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Array<ProjectScreenerQuestionChooseOnePublic>}
|
|
52
|
-
* @memberof ApiInviteCodeCodeStartGet302ResponseSettings
|
|
53
|
-
*/
|
|
54
|
-
screenerQuestions?: Array<ProjectScreenerQuestionChooseOnePublic>;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<ProjectFilePublic>}
|
|
58
|
-
* @memberof ApiInviteCodeCodeStartGet302ResponseSettings
|
|
59
|
-
*/
|
|
60
|
-
files?: Array<ProjectFilePublic>;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {boolean}
|
|
64
|
-
* @memberof ApiInviteCodeCodeStartGet302ResponseSettings
|
|
65
|
-
*/
|
|
66
|
-
collectEmail?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof ApiInviteCodeCodeStartGet302ResponseSettings
|
|
71
|
-
*/
|
|
72
|
-
privacyNotice?: string;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Check if a given object implements the ApiInviteCodeCodeStartGet302ResponseSettings interface.
|
|
77
|
-
*/
|
|
78
|
-
export function instanceOfApiInviteCodeCodeStartGet302ResponseSettings(value: object): value is ApiInviteCodeCodeStartGet302ResponseSettings {
|
|
79
|
-
if (!('maxDurationSeconds' in value) || value['maxDurationSeconds'] === undefined) return false;
|
|
80
|
-
return true;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export function ApiInviteCodeCodeStartGet302ResponseSettingsFromJSON(json: any): ApiInviteCodeCodeStartGet302ResponseSettings {
|
|
84
|
-
return ApiInviteCodeCodeStartGet302ResponseSettingsFromJSONTyped(json, false);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function ApiInviteCodeCodeStartGet302ResponseSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiInviteCodeCodeStartGet302ResponseSettings {
|
|
88
|
-
if (json == null) {
|
|
89
|
-
return json;
|
|
90
|
-
}
|
|
91
|
-
return {
|
|
92
|
-
|
|
93
|
-
'maxResponsesPerParticipant': json['maxResponsesPerParticipant'] == null ? undefined : json['maxResponsesPerParticipant'],
|
|
94
|
-
'maxDurationSeconds': json['maxDurationSeconds'],
|
|
95
|
-
'screenerQuestions': json['screenerQuestions'] == null ? undefined : ((json['screenerQuestions'] as Array<any>).map(ProjectScreenerQuestionChooseOnePublicFromJSON)),
|
|
96
|
-
'files': json['files'] == null ? undefined : ((json['files'] as Array<any>).map(ProjectFilePublicFromJSON)),
|
|
97
|
-
'collectEmail': json['collectEmail'] == null ? undefined : json['collectEmail'],
|
|
98
|
-
'privacyNotice': json['privacyNotice'] == null ? undefined : json['privacyNotice'],
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export function ApiInviteCodeCodeStartGet302ResponseSettingsToJSON(json: any): ApiInviteCodeCodeStartGet302ResponseSettings {
|
|
103
|
-
return ApiInviteCodeCodeStartGet302ResponseSettingsToJSONTyped(json, false);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function ApiInviteCodeCodeStartGet302ResponseSettingsToJSONTyped(value?: ApiInviteCodeCodeStartGet302ResponseSettings | null, ignoreDiscriminator: boolean = false): any {
|
|
107
|
-
if (value == null) {
|
|
108
|
-
return value;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
return {
|
|
112
|
-
|
|
113
|
-
'maxResponsesPerParticipant': value['maxResponsesPerParticipant'],
|
|
114
|
-
'maxDurationSeconds': value['maxDurationSeconds'],
|
|
115
|
-
'screenerQuestions': value['screenerQuestions'] == null ? undefined : ((value['screenerQuestions'] as Array<any>).map(ProjectScreenerQuestionChooseOnePublicToJSON)),
|
|
116
|
-
'files': value['files'] == null ? undefined : ((value['files'] as Array<any>).map(ProjectFilePublicToJSON)),
|
|
117
|
-
'collectEmail': value['collectEmail'],
|
|
118
|
-
'privacyNotice': value['privacyNotice'],
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ParticipantInvite } from './ParticipantInvite';
|
|
17
|
-
import {
|
|
18
|
-
ParticipantInviteFromJSON,
|
|
19
|
-
ParticipantInviteFromJSONTyped,
|
|
20
|
-
ParticipantInviteToJSON,
|
|
21
|
-
ParticipantInviteToJSONTyped,
|
|
22
|
-
} from './ParticipantInvite';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface GetParticipantInvitesResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface GetParticipantInvitesResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ParticipantInvite>}
|
|
33
|
-
* @memberof GetParticipantInvitesResponse
|
|
34
|
-
*/
|
|
35
|
-
participantInvites: Array<ParticipantInvite>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof GetParticipantInvitesResponse
|
|
40
|
-
*/
|
|
41
|
-
total: number;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the GetParticipantInvitesResponse interface.
|
|
46
|
-
*/
|
|
47
|
-
export function instanceOfGetParticipantInvitesResponse(value: object): value is GetParticipantInvitesResponse {
|
|
48
|
-
if (!('participantInvites' in value) || value['participantInvites'] === undefined) return false;
|
|
49
|
-
if (!('total' in value) || value['total'] === undefined) return false;
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function GetParticipantInvitesResponseFromJSON(json: any): GetParticipantInvitesResponse {
|
|
54
|
-
return GetParticipantInvitesResponseFromJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export function GetParticipantInvitesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetParticipantInvitesResponse {
|
|
58
|
-
if (json == null) {
|
|
59
|
-
return json;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'participantInvites': ((json['participantInvites'] as Array<any>).map(ParticipantInviteFromJSON)),
|
|
64
|
-
'total': json['total'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function GetParticipantInvitesResponseToJSON(json: any): GetParticipantInvitesResponse {
|
|
69
|
-
return GetParticipantInvitesResponseToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function GetParticipantInvitesResponseToJSONTyped(value?: GetParticipantInvitesResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'participantInvites': ((value['participantInvites'] as Array<any>).map(ParticipantInviteToJSON)),
|
|
80
|
-
'total': value['total'],
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ProjectPanelQualification } from './ProjectPanelQualification';
|
|
17
|
-
import {
|
|
18
|
-
ProjectPanelQualificationFromJSON,
|
|
19
|
-
ProjectPanelQualificationFromJSONTyped,
|
|
20
|
-
ProjectPanelQualificationToJSON,
|
|
21
|
-
ProjectPanelQualificationToJSONTyped,
|
|
22
|
-
} from './ProjectPanelQualification';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProjectPanelRespondentAttribute
|
|
28
|
-
*/
|
|
29
|
-
export interface ProjectPanelRespondentAttribute {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProjectPanelQualification>}
|
|
33
|
-
* @memberof ProjectPanelRespondentAttribute
|
|
34
|
-
*/
|
|
35
|
-
qualifications: Array<ProjectPanelQualification>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ProjectPanelRespondentAttribute
|
|
40
|
-
*/
|
|
41
|
-
quota: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ProjectPanelRespondentAttribute
|
|
46
|
-
*/
|
|
47
|
-
quota_name: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the ProjectPanelRespondentAttribute interface.
|
|
52
|
-
*/
|
|
53
|
-
export function instanceOfProjectPanelRespondentAttribute(value: object): value is ProjectPanelRespondentAttribute {
|
|
54
|
-
if (!('qualifications' in value) || value['qualifications'] === undefined) return false;
|
|
55
|
-
if (!('quota' in value) || value['quota'] === undefined) return false;
|
|
56
|
-
if (!('quota_name' in value) || value['quota_name'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function ProjectPanelRespondentAttributeFromJSON(json: any): ProjectPanelRespondentAttribute {
|
|
61
|
-
return ProjectPanelRespondentAttributeFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function ProjectPanelRespondentAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectPanelRespondentAttribute {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'qualifications': ((json['qualifications'] as Array<any>).map(ProjectPanelQualificationFromJSON)),
|
|
71
|
-
'quota': json['quota'],
|
|
72
|
-
'quota_name': json['quota_name'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function ProjectPanelRespondentAttributeToJSON(json: any): ProjectPanelRespondentAttribute {
|
|
77
|
-
return ProjectPanelRespondentAttributeToJSONTyped(json, false);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function ProjectPanelRespondentAttributeToJSONTyped(value?: ProjectPanelRespondentAttribute | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
-
if (value == null) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
return {
|
|
86
|
-
|
|
87
|
-
'qualifications': ((value['qualifications'] as Array<any>).map(ProjectPanelQualificationToJSON)),
|
|
88
|
-
'quota': value['quota'],
|
|
89
|
-
'quota_name': value['quota_name'],
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ProjectScreenerQuestionChooseOnePublic
|
|
20
|
-
*/
|
|
21
|
-
export interface ProjectScreenerQuestionChooseOnePublic {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ProjectScreenerQuestionChooseOnePublic
|
|
26
|
-
*/
|
|
27
|
-
type: ProjectScreenerQuestionChooseOnePublicTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ProjectScreenerQuestionChooseOnePublic
|
|
32
|
-
*/
|
|
33
|
-
question: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {Array<string>}
|
|
37
|
-
* @memberof ProjectScreenerQuestionChooseOnePublic
|
|
38
|
-
*/
|
|
39
|
-
options: Array<string>;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export const ProjectScreenerQuestionChooseOnePublicTypeEnum = {
|
|
47
|
-
ChooseOne: 'chooseOne'
|
|
48
|
-
} as const;
|
|
49
|
-
export type ProjectScreenerQuestionChooseOnePublicTypeEnum = typeof ProjectScreenerQuestionChooseOnePublicTypeEnum[keyof typeof ProjectScreenerQuestionChooseOnePublicTypeEnum];
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Check if a given object implements the ProjectScreenerQuestionChooseOnePublic interface.
|
|
54
|
-
*/
|
|
55
|
-
export function instanceOfProjectScreenerQuestionChooseOnePublic(value: object): value is ProjectScreenerQuestionChooseOnePublic {
|
|
56
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
57
|
-
if (!('question' in value) || value['question'] === undefined) return false;
|
|
58
|
-
if (!('options' in value) || value['options'] === undefined) return false;
|
|
59
|
-
return true;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function ProjectScreenerQuestionChooseOnePublicFromJSON(json: any): ProjectScreenerQuestionChooseOnePublic {
|
|
63
|
-
return ProjectScreenerQuestionChooseOnePublicFromJSONTyped(json, false);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function ProjectScreenerQuestionChooseOnePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectScreenerQuestionChooseOnePublic {
|
|
67
|
-
if (json == null) {
|
|
68
|
-
return json;
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
|
|
72
|
-
'type': json['type'],
|
|
73
|
-
'question': json['question'],
|
|
74
|
-
'options': json['options'],
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function ProjectScreenerQuestionChooseOnePublicToJSON(json: any): ProjectScreenerQuestionChooseOnePublic {
|
|
79
|
-
return ProjectScreenerQuestionChooseOnePublicToJSONTyped(json, false);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function ProjectScreenerQuestionChooseOnePublicToJSONTyped(value?: ProjectScreenerQuestionChooseOnePublic | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
-
if (value == null) {
|
|
84
|
-
return value;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
return {
|
|
88
|
-
|
|
89
|
-
'type': value['type'],
|
|
90
|
-
'question': value['question'],
|
|
91
|
-
'options': value['options'],
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { RepDataStudyLegacy } from './RepDataStudyLegacy';
|
|
17
|
-
import {
|
|
18
|
-
RepDataStudyLegacyFromJSON,
|
|
19
|
-
RepDataStudyLegacyFromJSONTyped,
|
|
20
|
-
RepDataStudyLegacyToJSON,
|
|
21
|
-
RepDataStudyLegacyToJSONTyped,
|
|
22
|
-
} from './RepDataStudyLegacy';
|
|
23
|
-
import type { RepDataProjectLegacy } from './RepDataProjectLegacy';
|
|
24
|
-
import {
|
|
25
|
-
RepDataProjectLegacyFromJSON,
|
|
26
|
-
RepDataProjectLegacyFromJSONTyped,
|
|
27
|
-
RepDataProjectLegacyToJSON,
|
|
28
|
-
RepDataProjectLegacyToJSONTyped,
|
|
29
|
-
} from './RepDataProjectLegacy';
|
|
30
|
-
import type { RepDataSurveyLegacy } from './RepDataSurveyLegacy';
|
|
31
|
-
import {
|
|
32
|
-
RepDataSurveyLegacyFromJSON,
|
|
33
|
-
RepDataSurveyLegacyFromJSONTyped,
|
|
34
|
-
RepDataSurveyLegacyToJSON,
|
|
35
|
-
RepDataSurveyLegacyToJSONTyped,
|
|
36
|
-
} from './RepDataSurveyLegacy';
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @export
|
|
41
|
-
* @interface RepDataConfigLegacy
|
|
42
|
-
*/
|
|
43
|
-
export interface RepDataConfigLegacy {
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {boolean}
|
|
47
|
-
* @memberof RepDataConfigLegacy
|
|
48
|
-
*/
|
|
49
|
-
enabled: boolean;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {object}
|
|
53
|
-
* @memberof RepDataConfigLegacy
|
|
54
|
-
*/
|
|
55
|
-
config?: object;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {RepDataStudyLegacy}
|
|
59
|
-
* @memberof RepDataConfigLegacy
|
|
60
|
-
*/
|
|
61
|
-
study?: RepDataStudyLegacy;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {RepDataSurveyLegacy}
|
|
65
|
-
* @memberof RepDataConfigLegacy
|
|
66
|
-
*/
|
|
67
|
-
survey?: RepDataSurveyLegacy | null;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {RepDataProjectLegacy}
|
|
71
|
-
* @memberof RepDataConfigLegacy
|
|
72
|
-
*/
|
|
73
|
-
project?: RepDataProjectLegacy;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Check if a given object implements the RepDataConfigLegacy interface.
|
|
78
|
-
*/
|
|
79
|
-
export function instanceOfRepDataConfigLegacy(value: object): value is RepDataConfigLegacy {
|
|
80
|
-
if (!('enabled' in value) || value['enabled'] === undefined) return false;
|
|
81
|
-
return true;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function RepDataConfigLegacyFromJSON(json: any): RepDataConfigLegacy {
|
|
85
|
-
return RepDataConfigLegacyFromJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function RepDataConfigLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataConfigLegacy {
|
|
89
|
-
if (json == null) {
|
|
90
|
-
return json;
|
|
91
|
-
}
|
|
92
|
-
return {
|
|
93
|
-
|
|
94
|
-
'enabled': json['enabled'],
|
|
95
|
-
'config': json['config'] == null ? undefined : json['config'],
|
|
96
|
-
'study': json['study'] == null ? undefined : RepDataStudyLegacyFromJSON(json['study']),
|
|
97
|
-
'survey': json['survey'] == null ? undefined : RepDataSurveyLegacyFromJSON(json['survey']),
|
|
98
|
-
'project': json['project'] == null ? undefined : RepDataProjectLegacyFromJSON(json['project']),
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export function RepDataConfigLegacyToJSON(json: any): RepDataConfigLegacy {
|
|
103
|
-
return RepDataConfigLegacyToJSONTyped(json, false);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function RepDataConfigLegacyToJSONTyped(value?: RepDataConfigLegacy | null, ignoreDiscriminator: boolean = false): any {
|
|
107
|
-
if (value == null) {
|
|
108
|
-
return value;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
return {
|
|
112
|
-
|
|
113
|
-
'enabled': value['enabled'],
|
|
114
|
-
'config': value['config'],
|
|
115
|
-
'study': RepDataStudyLegacyToJSON(value['study']),
|
|
116
|
-
'survey': RepDataSurveyLegacyToJSON(value['survey']),
|
|
117
|
-
'project': RepDataProjectLegacyToJSON(value['project']),
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fastify Template API
|
|
5
|
-
* API documentation using Swagger
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface RepDataProjectLegacy
|
|
20
|
-
*/
|
|
21
|
-
export interface RepDataProjectLegacy {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof RepDataProjectLegacy
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the RepDataProjectLegacy interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfRepDataProjectLegacy(value: object): value is RepDataProjectLegacy {
|
|
34
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function RepDataProjectLegacyFromJSON(json: any): RepDataProjectLegacy {
|
|
39
|
-
return RepDataProjectLegacyFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function RepDataProjectLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataProjectLegacy {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'id': json['id'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function RepDataProjectLegacyToJSON(json: any): RepDataProjectLegacy {
|
|
53
|
-
return RepDataProjectLegacyToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function RepDataProjectLegacyToJSONTyped(value?: RepDataProjectLegacy | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'id': value['id'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|