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
|
@@ -1,164 +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 { RepDataStudyLegacyQualificationsInner } from './RepDataStudyLegacyQualificationsInner';
|
|
17
|
-
import {
|
|
18
|
-
RepDataStudyLegacyQualificationsInnerFromJSON,
|
|
19
|
-
RepDataStudyLegacyQualificationsInnerFromJSONTyped,
|
|
20
|
-
RepDataStudyLegacyQualificationsInnerToJSON,
|
|
21
|
-
RepDataStudyLegacyQualificationsInnerToJSONTyped,
|
|
22
|
-
} from './RepDataStudyLegacyQualificationsInner';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface RepDataStudyLegacy
|
|
28
|
-
*/
|
|
29
|
-
export interface RepDataStudyLegacy {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof RepDataStudyLegacy
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof RepDataStudyLegacy
|
|
40
|
-
*/
|
|
41
|
-
compensation: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof RepDataStudyLegacy
|
|
46
|
-
*/
|
|
47
|
-
lengthOfInterview: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof RepDataStudyLegacy
|
|
52
|
-
*/
|
|
53
|
-
incidenceRate: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof RepDataStudyLegacy
|
|
58
|
-
*/
|
|
59
|
-
countryCode: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof RepDataStudyLegacy
|
|
64
|
-
*/
|
|
65
|
-
languageCode: string;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Array<string>}
|
|
69
|
-
* @memberof RepDataStudyLegacy
|
|
70
|
-
*/
|
|
71
|
-
deviceCompatibility: Array<string>;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof RepDataStudyLegacy
|
|
76
|
-
*/
|
|
77
|
-
minAge: number;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof RepDataStudyLegacy
|
|
82
|
-
*/
|
|
83
|
-
maxAge: number;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {Array<string>}
|
|
87
|
-
* @memberof RepDataStudyLegacy
|
|
88
|
-
*/
|
|
89
|
-
genders: Array<string>;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {Array<RepDataStudyLegacyQualificationsInner>}
|
|
93
|
-
* @memberof RepDataStudyLegacy
|
|
94
|
-
*/
|
|
95
|
-
qualifications: Array<RepDataStudyLegacyQualificationsInner>;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Check if a given object implements the RepDataStudyLegacy interface.
|
|
100
|
-
*/
|
|
101
|
-
export function instanceOfRepDataStudyLegacy(value: object): value is RepDataStudyLegacy {
|
|
102
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
103
|
-
if (!('compensation' in value) || value['compensation'] === undefined) return false;
|
|
104
|
-
if (!('lengthOfInterview' in value) || value['lengthOfInterview'] === undefined) return false;
|
|
105
|
-
if (!('incidenceRate' in value) || value['incidenceRate'] === undefined) return false;
|
|
106
|
-
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
107
|
-
if (!('languageCode' in value) || value['languageCode'] === undefined) return false;
|
|
108
|
-
if (!('deviceCompatibility' in value) || value['deviceCompatibility'] === undefined) return false;
|
|
109
|
-
if (!('minAge' in value) || value['minAge'] === undefined) return false;
|
|
110
|
-
if (!('maxAge' in value) || value['maxAge'] === undefined) return false;
|
|
111
|
-
if (!('genders' in value) || value['genders'] === undefined) return false;
|
|
112
|
-
if (!('qualifications' in value) || value['qualifications'] === undefined) return false;
|
|
113
|
-
return true;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export function RepDataStudyLegacyFromJSON(json: any): RepDataStudyLegacy {
|
|
117
|
-
return RepDataStudyLegacyFromJSONTyped(json, false);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export function RepDataStudyLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataStudyLegacy {
|
|
121
|
-
if (json == null) {
|
|
122
|
-
return json;
|
|
123
|
-
}
|
|
124
|
-
return {
|
|
125
|
-
|
|
126
|
-
'name': json['name'],
|
|
127
|
-
'compensation': json['compensation'],
|
|
128
|
-
'lengthOfInterview': json['lengthOfInterview'],
|
|
129
|
-
'incidenceRate': json['incidenceRate'],
|
|
130
|
-
'countryCode': json['countryCode'],
|
|
131
|
-
'languageCode': json['languageCode'],
|
|
132
|
-
'deviceCompatibility': json['deviceCompatibility'],
|
|
133
|
-
'minAge': json['minAge'],
|
|
134
|
-
'maxAge': json['maxAge'],
|
|
135
|
-
'genders': json['genders'],
|
|
136
|
-
'qualifications': ((json['qualifications'] as Array<any>).map(RepDataStudyLegacyQualificationsInnerFromJSON)),
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export function RepDataStudyLegacyToJSON(json: any): RepDataStudyLegacy {
|
|
141
|
-
return RepDataStudyLegacyToJSONTyped(json, false);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export function RepDataStudyLegacyToJSONTyped(value?: RepDataStudyLegacy | null, ignoreDiscriminator: boolean = false): any {
|
|
145
|
-
if (value == null) {
|
|
146
|
-
return value;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
return {
|
|
150
|
-
|
|
151
|
-
'name': value['name'],
|
|
152
|
-
'compensation': value['compensation'],
|
|
153
|
-
'lengthOfInterview': value['lengthOfInterview'],
|
|
154
|
-
'incidenceRate': value['incidenceRate'],
|
|
155
|
-
'countryCode': value['countryCode'],
|
|
156
|
-
'languageCode': value['languageCode'],
|
|
157
|
-
'deviceCompatibility': value['deviceCompatibility'],
|
|
158
|
-
'minAge': value['minAge'],
|
|
159
|
-
'maxAge': value['maxAge'],
|
|
160
|
-
'genders': value['genders'],
|
|
161
|
-
'qualifications': ((value['qualifications'] as Array<any>).map(RepDataStudyLegacyQualificationsInnerToJSON)),
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
|
|
@@ -1,75 +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 RepDataStudyLegacyQualificationsInner
|
|
20
|
-
*/
|
|
21
|
-
export interface RepDataStudyLegacyQualificationsInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof RepDataStudyLegacyQualificationsInner
|
|
26
|
-
*/
|
|
27
|
-
qualificationId: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Array<number>}
|
|
31
|
-
* @memberof RepDataStudyLegacyQualificationsInner
|
|
32
|
-
*/
|
|
33
|
-
qualificationOptions: Array<number>;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the RepDataStudyLegacyQualificationsInner interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfRepDataStudyLegacyQualificationsInner(value: object): value is RepDataStudyLegacyQualificationsInner {
|
|
40
|
-
if (!('qualificationId' in value) || value['qualificationId'] === undefined) return false;
|
|
41
|
-
if (!('qualificationOptions' in value) || value['qualificationOptions'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function RepDataStudyLegacyQualificationsInnerFromJSON(json: any): RepDataStudyLegacyQualificationsInner {
|
|
46
|
-
return RepDataStudyLegacyQualificationsInnerFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function RepDataStudyLegacyQualificationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataStudyLegacyQualificationsInner {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'qualificationId': json['qualificationId'],
|
|
56
|
-
'qualificationOptions': json['qualificationOptions'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function RepDataStudyLegacyQualificationsInnerToJSON(json: any): RepDataStudyLegacyQualificationsInner {
|
|
61
|
-
return RepDataStudyLegacyQualificationsInnerToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function RepDataStudyLegacyQualificationsInnerToJSONTyped(value?: RepDataStudyLegacyQualificationsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'qualificationId': value['qualificationId'],
|
|
72
|
-
'qualificationOptions': value['qualificationOptions'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -1,100 +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 { RepDataSurveyLegacyProject } from './RepDataSurveyLegacyProject';
|
|
17
|
-
import {
|
|
18
|
-
RepDataSurveyLegacyProjectFromJSON,
|
|
19
|
-
RepDataSurveyLegacyProjectFromJSONTyped,
|
|
20
|
-
RepDataSurveyLegacyProjectToJSON,
|
|
21
|
-
RepDataSurveyLegacyProjectToJSONTyped,
|
|
22
|
-
} from './RepDataSurveyLegacyProject';
|
|
23
|
-
import type { RepDataSurveyStatusLegacy } from './RepDataSurveyStatusLegacy';
|
|
24
|
-
import {
|
|
25
|
-
RepDataSurveyStatusLegacyFromJSON,
|
|
26
|
-
RepDataSurveyStatusLegacyFromJSONTyped,
|
|
27
|
-
RepDataSurveyStatusLegacyToJSON,
|
|
28
|
-
RepDataSurveyStatusLegacyToJSONTyped,
|
|
29
|
-
} from './RepDataSurveyStatusLegacy';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface RepDataSurveyLegacy
|
|
35
|
-
*/
|
|
36
|
-
export interface RepDataSurveyLegacy {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof RepDataSurveyLegacy
|
|
41
|
-
*/
|
|
42
|
-
id: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {RepDataSurveyStatusLegacy}
|
|
46
|
-
* @memberof RepDataSurveyLegacy
|
|
47
|
-
*/
|
|
48
|
-
status: RepDataSurveyStatusLegacy;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {RepDataSurveyLegacyProject}
|
|
52
|
-
* @memberof RepDataSurveyLegacy
|
|
53
|
-
*/
|
|
54
|
-
project?: RepDataSurveyLegacyProject;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Check if a given object implements the RepDataSurveyLegacy interface.
|
|
61
|
-
*/
|
|
62
|
-
export function instanceOfRepDataSurveyLegacy(value: object): value is RepDataSurveyLegacy {
|
|
63
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
64
|
-
if (!('status' in value) || value['status'] === undefined) return false;
|
|
65
|
-
return true;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function RepDataSurveyLegacyFromJSON(json: any): RepDataSurveyLegacy {
|
|
69
|
-
return RepDataSurveyLegacyFromJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function RepDataSurveyLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataSurveyLegacy {
|
|
73
|
-
if (json == null) {
|
|
74
|
-
return json;
|
|
75
|
-
}
|
|
76
|
-
return {
|
|
77
|
-
|
|
78
|
-
'id': json['id'],
|
|
79
|
-
'status': RepDataSurveyStatusLegacyFromJSON(json['status']),
|
|
80
|
-
'project': json['project'] == null ? undefined : RepDataSurveyLegacyProjectFromJSON(json['project']),
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function RepDataSurveyLegacyToJSON(json: any): RepDataSurveyLegacy {
|
|
85
|
-
return RepDataSurveyLegacyToJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function RepDataSurveyLegacyToJSONTyped(value?: RepDataSurveyLegacy | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
-
if (value == null) {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'id': value['id'],
|
|
96
|
-
'status': RepDataSurveyStatusLegacyToJSON(value['status']),
|
|
97
|
-
'project': RepDataSurveyLegacyProjectToJSON(value['project']),
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|
|
@@ -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 RepDataSurveyLegacyProject
|
|
20
|
-
*/
|
|
21
|
-
export interface RepDataSurveyLegacyProject {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof RepDataSurveyLegacyProject
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the RepDataSurveyLegacyProject interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfRepDataSurveyLegacyProject(value: object): value is RepDataSurveyLegacyProject {
|
|
34
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function RepDataSurveyLegacyProjectFromJSON(json: any): RepDataSurveyLegacyProject {
|
|
39
|
-
return RepDataSurveyLegacyProjectFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function RepDataSurveyLegacyProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataSurveyLegacyProject {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'id': json['id'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function RepDataSurveyLegacyProjectToJSON(json: any): RepDataSurveyLegacyProject {
|
|
53
|
-
return RepDataSurveyLegacyProjectToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function RepDataSurveyLegacyProjectToJSONTyped(value?: RepDataSurveyLegacyProject | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'id': value['id'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
@@ -1,54 +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
|
-
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const RepDataSurveyStatusLegacy = {
|
|
21
|
-
Live: 'LIVE',
|
|
22
|
-
Draft: 'DRAFT',
|
|
23
|
-
Paused: 'PAUSED'
|
|
24
|
-
} as const;
|
|
25
|
-
export type RepDataSurveyStatusLegacy = typeof RepDataSurveyStatusLegacy[keyof typeof RepDataSurveyStatusLegacy];
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export function instanceOfRepDataSurveyStatusLegacy(value: any): boolean {
|
|
29
|
-
for (const key in RepDataSurveyStatusLegacy) {
|
|
30
|
-
if (Object.prototype.hasOwnProperty.call(RepDataSurveyStatusLegacy, key)) {
|
|
31
|
-
if (RepDataSurveyStatusLegacy[key as keyof typeof RepDataSurveyStatusLegacy] === value) {
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function RepDataSurveyStatusLegacyFromJSON(json: any): RepDataSurveyStatusLegacy {
|
|
40
|
-
return RepDataSurveyStatusLegacyFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export function RepDataSurveyStatusLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepDataSurveyStatusLegacy {
|
|
44
|
-
return json as RepDataSurveyStatusLegacy;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function RepDataSurveyStatusLegacyToJSON(value?: RepDataSurveyStatusLegacy | null): any {
|
|
48
|
-
return value as any;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function RepDataSurveyStatusLegacyToJSONTyped(value: any, ignoreDiscriminator: boolean): RepDataSurveyStatusLegacy {
|
|
52
|
-
return value as RepDataSurveyStatusLegacy;
|
|
53
|
-
}
|
|
54
|
-
|