keplar-api 0.0.9 → 0.0.11
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 +43 -23
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +413 -251
- package/dist/apis/DefaultApi.js +1749 -799
- package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.d.ts +51 -0
- package/dist/models/ApiInvitesIdParticipantInvitesGet200Response.js +64 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +6 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.js +4 -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/CreateEmailShareRequest.d.ts +38 -0
- package/dist/models/CreateEmailShareRequest.js +53 -0
- package/dist/models/CreateProjectShareRequest.d.ts +38 -0
- package/dist/models/CreateProjectShareRequest.js +51 -0
- package/dist/models/CreateProjectShareResponse.d.ts +45 -0
- package/dist/models/CreateProjectShareResponse.js +60 -0
- package/dist/models/DeleteEmailShare200Response.d.ts +32 -0
- package/dist/models/DeleteEmailShare200Response.js +51 -0
- package/dist/models/EmailShare.d.ts +75 -0
- package/dist/models/EmailShare.js +77 -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/GetShareEntities200Response.d.ts +39 -0
- package/dist/models/GetShareEntities200Response.js +56 -0
- package/dist/models/GetSharedInviteResponses200Response.d.ts +51 -0
- package/dist/models/GetSharedInviteResponses200Response.js +64 -0
- package/dist/models/GetSharedInviteResponsesStatusesParameterInner.d.ts +26 -0
- package/dist/models/GetSharedInviteResponsesStatusesParameterInner.js +39 -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/InviteResponseShareConfig.d.ts +39 -0
- package/dist/models/InviteResponseShareConfig.js +58 -0
- 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/ProjectShareConfig.d.ts +39 -0
- package/dist/models/ProjectShareConfig.js +58 -0
- package/dist/models/RequestShareAccess200Response.d.ts +38 -0
- package/dist/models/RequestShareAccess200Response.js +55 -0
- package/dist/models/RequestShareAccessRequest.d.ts +32 -0
- package/dist/models/RequestShareAccessRequest.js +51 -0
- 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/ShareEntity.d.ts +102 -0
- package/dist/models/ShareEntity.js +92 -0
- package/dist/models/ShareEntityConfig.d.ts +27 -0
- package/dist/models/ShareEntityConfig.js +54 -0
- package/dist/models/ShareEntityCreatedByKind.d.ts +26 -0
- package/dist/models/ShareEntityCreatedByKind.js +52 -0
- package/dist/models/ShareEntityKind.d.ts +25 -0
- package/dist/models/ShareEntityKind.js +51 -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/UpdateShareEntityRequest.d.ts +38 -0
- package/dist/models/UpdateShareEntityRequest.js +52 -0
- package/dist/models/VerifyEmailAccessForShare200Response.d.ts +38 -0
- package/dist/models/VerifyEmailAccessForShare200Response.js +55 -0
- package/dist/models/VerifyEmailAccessForShareRequest.d.ts +32 -0
- package/dist/models/VerifyEmailAccessForShareRequest.js +51 -0
- package/dist/models/index.d.ts +43 -23
- package/dist/models/index.js +43 -23
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1991 -1038
- package/src/models/ApiInvitesIdParticipantInvitesGet200Response.ts +101 -0
- package/src/models/AttributeStatsSchemaInnerValuesInner.ts +9 -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/CreateEmailShareRequest.ts +74 -0
- package/src/models/CreateProjectShareRequest.ts +73 -0
- package/src/models/CreateProjectShareResponse.ts +92 -0
- package/src/models/DeleteEmailShare200Response.ts +66 -0
- package/src/models/EmailShare.ts +135 -0
- package/src/models/{ApiInviteCodeCodeGet200Response.ts → GetCodeInvite200Response.ts} +45 -29
- package/src/models/GetCodeInviteResponseRedirect200Response.ts +66 -0
- package/src/models/GetShareEntities200Response.ts +83 -0
- package/src/models/GetSharedInviteResponses200Response.ts +101 -0
- package/src/models/GetSharedInviteResponsesStatusesParameterInner.ts +46 -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/InviteResponseShareConfig.ts +76 -0
- 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/ProjectShareConfig.ts +76 -0
- package/src/models/RequestShareAccess200Response.ts +75 -0
- package/src/models/RequestShareAccessRequest.ts +66 -0
- 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/ShareEntity.ts +192 -0
- package/src/models/ShareEntityConfig.ts +72 -0
- package/src/models/ShareEntityCreatedByKind.ts +54 -0
- package/src/models/ShareEntityKind.ts +53 -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/UpdateShareEntityRequest.ts +73 -0
- package/src/models/VerifyEmailAccessForShare200Response.ts +75 -0
- package/src/models/VerifyEmailAccessForShareRequest.ts +66 -0
- package/src/models/index.ts +43 -23
- 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/ApiInvitesIdResponsesGet200Response.d.ts +0 -51
- package/dist/models/ApiInvitesIdResponsesGet200Response.js +0 -64
- 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/ApiInvitesIdResponsesGet200Response.ts +0 -101
- 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,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
|
-
|
|
@@ -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
|
-
|