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
|
@@ -0,0 +1,76 @@
|
|
|
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 ProjectShareConfig
|
|
20
|
+
*/
|
|
21
|
+
export interface ProjectShareConfig {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ProjectShareConfig
|
|
26
|
+
*/
|
|
27
|
+
kind: ProjectShareConfigKindEnum;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export const ProjectShareConfigKindEnum = {
|
|
35
|
+
Project: 'project'
|
|
36
|
+
} as const;
|
|
37
|
+
export type ProjectShareConfigKindEnum = typeof ProjectShareConfigKindEnum[keyof typeof ProjectShareConfigKindEnum];
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ProjectShareConfig interface.
|
|
42
|
+
*/
|
|
43
|
+
export function instanceOfProjectShareConfig(value: object): value is ProjectShareConfig {
|
|
44
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function ProjectShareConfigFromJSON(json: any): ProjectShareConfig {
|
|
49
|
+
return ProjectShareConfigFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ProjectShareConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectShareConfig {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
|
|
58
|
+
'kind': json['kind'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ProjectShareConfigToJSON(json: any): ProjectShareConfig {
|
|
63
|
+
return ProjectShareConfigToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ProjectShareConfigToJSONTyped(value?: ProjectShareConfig | null, ignoreDiscriminator: boolean = false): any {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'kind': value['kind'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 RequestShareAccess200Response
|
|
20
|
+
*/
|
|
21
|
+
export interface RequestShareAccess200Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof RequestShareAccess200Response
|
|
26
|
+
*/
|
|
27
|
+
success: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof RequestShareAccess200Response
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the RequestShareAccess200Response interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfRequestShareAccess200Response(value: object): value is RequestShareAccess200Response {
|
|
40
|
+
if (!('success' in value) || value['success'] === undefined) return false;
|
|
41
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function RequestShareAccess200ResponseFromJSON(json: any): RequestShareAccess200Response {
|
|
46
|
+
return RequestShareAccess200ResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function RequestShareAccess200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestShareAccess200Response {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'success': json['success'],
|
|
56
|
+
'message': json['message'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function RequestShareAccess200ResponseToJSON(json: any): RequestShareAccess200Response {
|
|
61
|
+
return RequestShareAccess200ResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function RequestShareAccess200ResponseToJSONTyped(value?: RequestShareAccess200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'success': value['success'],
|
|
72
|
+
'message': value['message'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 RequestShareAccessRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface RequestShareAccessRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RequestShareAccessRequest
|
|
26
|
+
*/
|
|
27
|
+
email: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the RequestShareAccessRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfRequestShareAccessRequest(value: object): value is RequestShareAccessRequest {
|
|
34
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function RequestShareAccessRequestFromJSON(json: any): RequestShareAccessRequest {
|
|
39
|
+
return RequestShareAccessRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function RequestShareAccessRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestShareAccessRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'email': json['email'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function RequestShareAccessRequestToJSON(json: any): RequestShareAccessRequest {
|
|
53
|
+
return RequestShareAccessRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function RequestShareAccessRequestToJSONTyped(value?: RequestShareAccessRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'email': value['email'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ScreenerQuestionResponse } from './ScreenerQuestionResponse';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ScreenerQuestionResponseFromJSON,
|
|
19
|
+
ScreenerQuestionResponseFromJSONTyped,
|
|
20
|
+
ScreenerQuestionResponseToJSON,
|
|
21
|
+
ScreenerQuestionResponseToJSONTyped,
|
|
22
|
+
} from './ScreenerQuestionResponse';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -35,10 +35,10 @@ export interface ResponseSubmitScreenerEvent {
|
|
|
35
35
|
type: ResponseSubmitScreenerEventTypeEnum;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<ScreenerQuestionResponse>}
|
|
39
39
|
* @memberof ResponseSubmitScreenerEvent
|
|
40
40
|
*/
|
|
41
|
-
screenerQuestionsResponses: Array<
|
|
41
|
+
screenerQuestionsResponses: Array<ScreenerQuestionResponse>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
|
|
@@ -71,7 +71,7 @@ export function ResponseSubmitScreenerEventFromJSONTyped(json: any, ignoreDiscri
|
|
|
71
71
|
return {
|
|
72
72
|
|
|
73
73
|
'type': json['type'],
|
|
74
|
-
'screenerQuestionsResponses': ((json['screenerQuestionsResponses'] as Array<any>).map(
|
|
74
|
+
'screenerQuestionsResponses': ((json['screenerQuestionsResponses'] as Array<any>).map(ScreenerQuestionResponseFromJSON)),
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -87,7 +87,7 @@ export function ResponseSubmitScreenerEventToJSONTyped(value?: ResponseSubmitScr
|
|
|
87
87
|
return {
|
|
88
88
|
|
|
89
89
|
'type': value['type'],
|
|
90
|
-
'screenerQuestionsResponses': ((value['screenerQuestionsResponses'] as Array<any>).map(
|
|
90
|
+
'screenerQuestionsResponses': ((value['screenerQuestionsResponses'] as Array<any>).map(ScreenerQuestionResponseToJSON)),
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -16,31 +16,31 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ScreenerQuestionChooseOne
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ScreenerQuestionChooseOne {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ScreenerQuestionChooseOne
|
|
26
26
|
*/
|
|
27
|
-
type:
|
|
27
|
+
type: ScreenerQuestionChooseOneTypeEnum;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ScreenerQuestionChooseOne
|
|
32
32
|
*/
|
|
33
33
|
question: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {Array<string>}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ScreenerQuestionChooseOne
|
|
38
38
|
*/
|
|
39
39
|
options: Array<string>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {Array<string>}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof ScreenerQuestionChooseOne
|
|
44
44
|
*/
|
|
45
45
|
passingOptions: Array<string>;
|
|
46
46
|
}
|
|
@@ -49,16 +49,16 @@ export interface ProjectScreenerQuestionChooseOne {
|
|
|
49
49
|
/**
|
|
50
50
|
* @export
|
|
51
51
|
*/
|
|
52
|
-
export const
|
|
52
|
+
export const ScreenerQuestionChooseOneTypeEnum = {
|
|
53
53
|
ChooseOne: 'chooseOne'
|
|
54
54
|
} as const;
|
|
55
|
-
export type
|
|
55
|
+
export type ScreenerQuestionChooseOneTypeEnum = typeof ScreenerQuestionChooseOneTypeEnum[keyof typeof ScreenerQuestionChooseOneTypeEnum];
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* Check if a given object implements the
|
|
59
|
+
* Check if a given object implements the ScreenerQuestionChooseOne interface.
|
|
60
60
|
*/
|
|
61
|
-
export function
|
|
61
|
+
export function instanceOfScreenerQuestionChooseOne(value: object): value is ScreenerQuestionChooseOne {
|
|
62
62
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
63
63
|
if (!('question' in value) || value['question'] === undefined) return false;
|
|
64
64
|
if (!('options' in value) || value['options'] === undefined) return false;
|
|
@@ -66,11 +66,11 @@ export function instanceOfProjectScreenerQuestionChooseOne(value: object): value
|
|
|
66
66
|
return true;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export function
|
|
70
|
-
return
|
|
69
|
+
export function ScreenerQuestionChooseOneFromJSON(json: any): ScreenerQuestionChooseOne {
|
|
70
|
+
return ScreenerQuestionChooseOneFromJSONTyped(json, false);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export function
|
|
73
|
+
export function ScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOne {
|
|
74
74
|
if (json == null) {
|
|
75
75
|
return json;
|
|
76
76
|
}
|
|
@@ -83,11 +83,11 @@ export function ProjectScreenerQuestionChooseOneFromJSONTyped(json: any, ignoreD
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export function
|
|
87
|
-
return
|
|
86
|
+
export function ScreenerQuestionChooseOneToJSON(json: any): ScreenerQuestionChooseOne {
|
|
87
|
+
return ScreenerQuestionChooseOneToJSONTyped(json, false);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export function
|
|
90
|
+
export function ScreenerQuestionChooseOneToJSONTyped(value?: ScreenerQuestionChooseOne | null, ignoreDiscriminator: boolean = false): any {
|
|
91
91
|
if (value == null) {
|
|
92
92
|
return value;
|
|
93
93
|
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 ScreenerQuestionChooseOnePublic
|
|
20
|
+
*/
|
|
21
|
+
export interface ScreenerQuestionChooseOnePublic {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
26
|
+
*/
|
|
27
|
+
type: ScreenerQuestionChooseOnePublicTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
32
|
+
*/
|
|
33
|
+
question: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof ScreenerQuestionChooseOnePublic
|
|
38
|
+
*/
|
|
39
|
+
options: Array<string>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const ScreenerQuestionChooseOnePublicTypeEnum = {
|
|
47
|
+
ChooseOne: 'chooseOne'
|
|
48
|
+
} as const;
|
|
49
|
+
export type ScreenerQuestionChooseOnePublicTypeEnum = typeof ScreenerQuestionChooseOnePublicTypeEnum[keyof typeof ScreenerQuestionChooseOnePublicTypeEnum];
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the ScreenerQuestionChooseOnePublic interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfScreenerQuestionChooseOnePublic(value: object): value is ScreenerQuestionChooseOnePublic {
|
|
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 ScreenerQuestionChooseOnePublicFromJSON(json: any): ScreenerQuestionChooseOnePublic {
|
|
63
|
+
return ScreenerQuestionChooseOnePublicFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ScreenerQuestionChooseOnePublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionChooseOnePublic {
|
|
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 ScreenerQuestionChooseOnePublicToJSON(json: any): ScreenerQuestionChooseOnePublic {
|
|
79
|
+
return ScreenerQuestionChooseOnePublicToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function ScreenerQuestionChooseOnePublicToJSONTyped(value?: ScreenerQuestionChooseOnePublic | 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
|
+
|
|
@@ -16,44 +16,44 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ScreenerQuestionResponse
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ScreenerQuestionResponse {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ScreenerQuestionResponse
|
|
26
26
|
*/
|
|
27
27
|
question: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ScreenerQuestionResponse
|
|
32
32
|
*/
|
|
33
33
|
response: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {boolean}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ScreenerQuestionResponse
|
|
38
38
|
*/
|
|
39
39
|
passing: boolean;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
43
|
+
* Check if a given object implements the ScreenerQuestionResponse interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfScreenerQuestionResponse(value: object): value is ScreenerQuestionResponse {
|
|
46
46
|
if (!('question' in value) || value['question'] === undefined) return false;
|
|
47
47
|
if (!('response' in value) || value['response'] === undefined) return false;
|
|
48
48
|
if (!('passing' in value) || value['passing'] === undefined) return false;
|
|
49
49
|
return true;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function
|
|
53
|
-
return
|
|
52
|
+
export function ScreenerQuestionResponseFromJSON(json: any): ScreenerQuestionResponse {
|
|
53
|
+
return ScreenerQuestionResponseFromJSONTyped(json, false);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export function
|
|
56
|
+
export function ScreenerQuestionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenerQuestionResponse {
|
|
57
57
|
if (json == null) {
|
|
58
58
|
return json;
|
|
59
59
|
}
|
|
@@ -65,11 +65,11 @@ export function ProjectScreenerQuestionResponseFromJSONTyped(json: any, ignoreDi
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export function
|
|
69
|
-
return
|
|
68
|
+
export function ScreenerQuestionResponseToJSON(json: any): ScreenerQuestionResponse {
|
|
69
|
+
return ScreenerQuestionResponseToJSONTyped(json, false);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export function
|
|
72
|
+
export function ScreenerQuestionResponseToJSONTyped(value?: ScreenerQuestionResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
73
73
|
if (value == null) {
|
|
74
74
|
return value;
|
|
75
75
|
}
|