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
|
@@ -18,6 +18,7 @@ exports.InviteResponseFromJSON = InviteResponseFromJSON;
|
|
|
18
18
|
exports.InviteResponseFromJSONTyped = InviteResponseFromJSONTyped;
|
|
19
19
|
exports.InviteResponseToJSON = InviteResponseToJSON;
|
|
20
20
|
exports.InviteResponseToJSONTyped = InviteResponseToJSONTyped;
|
|
21
|
+
var InviteResponseAttribute_1 = require("./InviteResponseAttribute");
|
|
21
22
|
var Call_1 = require("./Call");
|
|
22
23
|
var Participant_1 = require("./Participant");
|
|
23
24
|
var InviteResponseStatus_1 = require("./InviteResponseStatus");
|
|
@@ -64,6 +65,7 @@ function InviteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
65
|
'invite': json['invite'] == null ? undefined : (0, Invite_1.InviteFromJSON)(json['invite']),
|
|
65
66
|
'participant': json['participant'] == null ? undefined : (0, Participant_1.ParticipantFromJSON)(json['participant']),
|
|
66
67
|
'calls': json['calls'] == null ? undefined : (json['calls'].map(Call_1.CallFromJSON)),
|
|
68
|
+
'inviteResponseAttributes': json['inviteResponseAttributes'] == null ? undefined : (json['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeFromJSON)),
|
|
67
69
|
};
|
|
68
70
|
}
|
|
69
71
|
function InviteResponseToJSON(json) {
|
|
@@ -88,5 +90,6 @@ function InviteResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
88
90
|
'invite': (0, Invite_1.InviteToJSON)(value['invite']),
|
|
89
91
|
'participant': (0, Participant_1.ParticipantToJSON)(value['participant']),
|
|
90
92
|
'calls': value['calls'] == null ? undefined : (value['calls'].map(Call_1.CallToJSON)),
|
|
93
|
+
'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : (value['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeToJSON)),
|
|
91
94
|
};
|
|
92
95
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AttributeSource } from './AttributeSource';
|
|
13
|
+
import type { Attribute } from './Attribute';
|
|
14
|
+
import type { InviteResponse } from './InviteResponse';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface InviteResponseAttribute
|
|
19
|
+
*/
|
|
20
|
+
export interface InviteResponseAttribute {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof InviteResponseAttribute
|
|
25
|
+
*/
|
|
26
|
+
inviteResponseId: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof InviteResponseAttribute
|
|
31
|
+
*/
|
|
32
|
+
attributeKindKey: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof InviteResponseAttribute
|
|
37
|
+
*/
|
|
38
|
+
attributeValue: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {AttributeSource}
|
|
42
|
+
* @memberof InviteResponseAttribute
|
|
43
|
+
*/
|
|
44
|
+
source: AttributeSource;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Date}
|
|
48
|
+
* @memberof InviteResponseAttribute
|
|
49
|
+
*/
|
|
50
|
+
createdAt: Date;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {InviteResponse}
|
|
54
|
+
* @memberof InviteResponseAttribute
|
|
55
|
+
*/
|
|
56
|
+
inviteResponse?: InviteResponse;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Attribute}
|
|
60
|
+
* @memberof InviteResponseAttribute
|
|
61
|
+
*/
|
|
62
|
+
attribute?: Attribute;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the InviteResponseAttribute interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfInviteResponseAttribute(value: object): value is InviteResponseAttribute;
|
|
68
|
+
export declare function InviteResponseAttributeFromJSON(json: any): InviteResponseAttribute;
|
|
69
|
+
export declare function InviteResponseAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteResponseAttribute;
|
|
70
|
+
export declare function InviteResponseAttributeToJSON(json: any): InviteResponseAttribute;
|
|
71
|
+
export declare function InviteResponseAttributeToJSONTyped(value?: InviteResponseAttribute | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfInviteResponseAttribute = instanceOfInviteResponseAttribute;
|
|
17
|
+
exports.InviteResponseAttributeFromJSON = InviteResponseAttributeFromJSON;
|
|
18
|
+
exports.InviteResponseAttributeFromJSONTyped = InviteResponseAttributeFromJSONTyped;
|
|
19
|
+
exports.InviteResponseAttributeToJSON = InviteResponseAttributeToJSON;
|
|
20
|
+
exports.InviteResponseAttributeToJSONTyped = InviteResponseAttributeToJSONTyped;
|
|
21
|
+
var AttributeSource_1 = require("./AttributeSource");
|
|
22
|
+
var Attribute_1 = require("./Attribute");
|
|
23
|
+
var InviteResponse_1 = require("./InviteResponse");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the InviteResponseAttribute interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfInviteResponseAttribute(value) {
|
|
28
|
+
if (!('inviteResponseId' in value) || value['inviteResponseId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('attributeKindKey' in value) || value['attributeKindKey'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('attributeValue' in value) || value['attributeValue'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function InviteResponseAttributeFromJSON(json) {
|
|
41
|
+
return InviteResponseAttributeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function InviteResponseAttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'inviteResponseId': json['inviteResponseId'],
|
|
49
|
+
'attributeKindKey': json['attributeKindKey'],
|
|
50
|
+
'attributeValue': json['attributeValue'],
|
|
51
|
+
'source': (0, AttributeSource_1.AttributeSourceFromJSON)(json['source']),
|
|
52
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
53
|
+
'inviteResponse': json['inviteResponse'] == null ? undefined : (0, InviteResponse_1.InviteResponseFromJSON)(json['inviteResponse']),
|
|
54
|
+
'attribute': json['attribute'] == null ? undefined : (0, Attribute_1.AttributeFromJSON)(json['attribute']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function InviteResponseAttributeToJSON(json) {
|
|
58
|
+
return InviteResponseAttributeToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function InviteResponseAttributeToJSONTyped(value, ignoreDiscriminator) {
|
|
61
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'inviteResponseId': value['inviteResponseId'],
|
|
67
|
+
'attributeKindKey': value['attributeKindKey'],
|
|
68
|
+
'attributeValue': value['attributeValue'],
|
|
69
|
+
'source': (0, AttributeSource_1.AttributeSourceToJSON)(value['source']),
|
|
70
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
71
|
+
'inviteResponse': (0, InviteResponse_1.InviteResponseToJSON)(value['inviteResponse']),
|
|
72
|
+
'attribute': (0, Attribute_1.AttributeToJSON)(value['attribute']),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ScreenerQuestionResponse } from './ScreenerQuestionResponse';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -24,10 +24,10 @@ export interface InviteResponseData {
|
|
|
24
24
|
email?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<ScreenerQuestionResponse>}
|
|
28
28
|
* @memberof InviteResponseData
|
|
29
29
|
*/
|
|
30
|
-
screenerQuestionsResponses?: Array<
|
|
30
|
+
screenerQuestionsResponses?: Array<ScreenerQuestionResponse>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {boolean}
|
|
@@ -18,7 +18,7 @@ exports.InviteResponseDataFromJSON = InviteResponseDataFromJSON;
|
|
|
18
18
|
exports.InviteResponseDataFromJSONTyped = InviteResponseDataFromJSONTyped;
|
|
19
19
|
exports.InviteResponseDataToJSON = InviteResponseDataToJSON;
|
|
20
20
|
exports.InviteResponseDataToJSONTyped = InviteResponseDataToJSONTyped;
|
|
21
|
-
var
|
|
21
|
+
var ScreenerQuestionResponse_1 = require("./ScreenerQuestionResponse");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the InviteResponseData interface.
|
|
24
24
|
*/
|
|
@@ -34,7 +34,7 @@ function InviteResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
36
|
'email': json['email'] == null ? undefined : json['email'],
|
|
37
|
-
'screenerQuestionsResponses': json['screenerQuestionsResponses'] == null ? undefined : (json['screenerQuestionsResponses'].map(
|
|
37
|
+
'screenerQuestionsResponses': json['screenerQuestionsResponses'] == null ? undefined : (json['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseFromJSON)),
|
|
38
38
|
'consented': json['consented'] == null ? undefined : json['consented'],
|
|
39
39
|
'redirected': json['redirected'] == null ? undefined : json['redirected'],
|
|
40
40
|
};
|
|
@@ -49,7 +49,7 @@ function InviteResponseDataToJSONTyped(value, ignoreDiscriminator) {
|
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
51
|
'email': value['email'],
|
|
52
|
-
'screenerQuestionsResponses': value['screenerQuestionsResponses'] == null ? undefined : (value['screenerQuestionsResponses'].map(
|
|
52
|
+
'screenerQuestionsResponses': value['screenerQuestionsResponses'] == null ? undefined : (value['screenerQuestionsResponses'].map(ScreenerQuestionResponse_1.ScreenerQuestionResponseToJSON)),
|
|
53
53
|
'consented': value['consented'],
|
|
54
54
|
'redirected': value['redirected'],
|
|
55
55
|
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { InviteResponseAttribute } from './InviteResponseAttribute';
|
|
13
|
+
import type { CallSummary } from './CallSummary';
|
|
14
|
+
import type { Participant } from './Participant';
|
|
15
|
+
import type { InviteResponseStatus } from './InviteResponseStatus';
|
|
16
|
+
import type { InviteResponseData } from './InviteResponseData';
|
|
17
|
+
import type { InviteResponseKind } from './InviteResponseKind';
|
|
18
|
+
import type { InviteResponseMetadata } from './InviteResponseMetadata';
|
|
19
|
+
import type { Invite } from './Invite';
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface InviteResponseWithCallSummary
|
|
24
|
+
*/
|
|
25
|
+
export interface InviteResponseWithCallSummary {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof InviteResponseWithCallSummary
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {InviteResponseKind}
|
|
35
|
+
* @memberof InviteResponseWithCallSummary
|
|
36
|
+
*/
|
|
37
|
+
kind: InviteResponseKind;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {InviteResponseStatus}
|
|
41
|
+
* @memberof InviteResponseWithCallSummary
|
|
42
|
+
*/
|
|
43
|
+
status: InviteResponseStatus;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {InviteResponseData}
|
|
47
|
+
* @memberof InviteResponseWithCallSummary
|
|
48
|
+
*/
|
|
49
|
+
data?: InviteResponseData | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {InviteResponseMetadata}
|
|
53
|
+
* @memberof InviteResponseWithCallSummary
|
|
54
|
+
*/
|
|
55
|
+
metadata?: InviteResponseMetadata | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Date}
|
|
59
|
+
* @memberof InviteResponseWithCallSummary
|
|
60
|
+
*/
|
|
61
|
+
createdAt: Date;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof InviteResponseWithCallSummary
|
|
66
|
+
*/
|
|
67
|
+
updatedAt: Date;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof InviteResponseWithCallSummary
|
|
72
|
+
*/
|
|
73
|
+
inviteId: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof InviteResponseWithCallSummary
|
|
78
|
+
*/
|
|
79
|
+
vendorParticipantId?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof InviteResponseWithCallSummary
|
|
84
|
+
*/
|
|
85
|
+
participantId?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {Invite}
|
|
89
|
+
* @memberof InviteResponseWithCallSummary
|
|
90
|
+
*/
|
|
91
|
+
invite?: Invite;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {Participant}
|
|
95
|
+
* @memberof InviteResponseWithCallSummary
|
|
96
|
+
*/
|
|
97
|
+
participant?: Participant | null;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Array<CallSummary>}
|
|
101
|
+
* @memberof InviteResponseWithCallSummary
|
|
102
|
+
*/
|
|
103
|
+
calls: Array<CallSummary>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Array<InviteResponseAttribute>}
|
|
107
|
+
* @memberof InviteResponseWithCallSummary
|
|
108
|
+
*/
|
|
109
|
+
inviteResponseAttributes?: Array<InviteResponseAttribute>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Check if a given object implements the InviteResponseWithCallSummary interface.
|
|
113
|
+
*/
|
|
114
|
+
export declare function instanceOfInviteResponseWithCallSummary(value: object): value is InviteResponseWithCallSummary;
|
|
115
|
+
export declare function InviteResponseWithCallSummaryFromJSON(json: any): InviteResponseWithCallSummary;
|
|
116
|
+
export declare function InviteResponseWithCallSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteResponseWithCallSummary;
|
|
117
|
+
export declare function InviteResponseWithCallSummaryToJSON(json: any): InviteResponseWithCallSummary;
|
|
118
|
+
export declare function InviteResponseWithCallSummaryToJSONTyped(value?: InviteResponseWithCallSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfInviteResponseWithCallSummary = instanceOfInviteResponseWithCallSummary;
|
|
17
|
+
exports.InviteResponseWithCallSummaryFromJSON = InviteResponseWithCallSummaryFromJSON;
|
|
18
|
+
exports.InviteResponseWithCallSummaryFromJSONTyped = InviteResponseWithCallSummaryFromJSONTyped;
|
|
19
|
+
exports.InviteResponseWithCallSummaryToJSON = InviteResponseWithCallSummaryToJSON;
|
|
20
|
+
exports.InviteResponseWithCallSummaryToJSONTyped = InviteResponseWithCallSummaryToJSONTyped;
|
|
21
|
+
var InviteResponseAttribute_1 = require("./InviteResponseAttribute");
|
|
22
|
+
var CallSummary_1 = require("./CallSummary");
|
|
23
|
+
var Participant_1 = require("./Participant");
|
|
24
|
+
var InviteResponseStatus_1 = require("./InviteResponseStatus");
|
|
25
|
+
var InviteResponseData_1 = require("./InviteResponseData");
|
|
26
|
+
var InviteResponseKind_1 = require("./InviteResponseKind");
|
|
27
|
+
var InviteResponseMetadata_1 = require("./InviteResponseMetadata");
|
|
28
|
+
var Invite_1 = require("./Invite");
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the InviteResponseWithCallSummary interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfInviteResponseWithCallSummary(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('inviteId' in value) || value['inviteId'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('calls' in value) || value['calls'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function InviteResponseWithCallSummaryFromJSON(json) {
|
|
50
|
+
return InviteResponseWithCallSummaryFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function InviteResponseWithCallSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': json['id'],
|
|
58
|
+
'kind': (0, InviteResponseKind_1.InviteResponseKindFromJSON)(json['kind']),
|
|
59
|
+
'status': (0, InviteResponseStatus_1.InviteResponseStatusFromJSON)(json['status']),
|
|
60
|
+
'data': json['data'] == null ? undefined : (0, InviteResponseData_1.InviteResponseDataFromJSON)(json['data']),
|
|
61
|
+
'metadata': json['metadata'] == null ? undefined : (0, InviteResponseMetadata_1.InviteResponseMetadataFromJSON)(json['metadata']),
|
|
62
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
63
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
64
|
+
'inviteId': json['inviteId'],
|
|
65
|
+
'vendorParticipantId': json['vendorParticipantId'] == null ? undefined : json['vendorParticipantId'],
|
|
66
|
+
'participantId': json['participantId'] == null ? undefined : json['participantId'],
|
|
67
|
+
'invite': json['invite'] == null ? undefined : (0, Invite_1.InviteFromJSON)(json['invite']),
|
|
68
|
+
'participant': json['participant'] == null ? undefined : (0, Participant_1.ParticipantFromJSON)(json['participant']),
|
|
69
|
+
'calls': (json['calls'].map(CallSummary_1.CallSummaryFromJSON)),
|
|
70
|
+
'inviteResponseAttributes': json['inviteResponseAttributes'] == null ? undefined : (json['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeFromJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function InviteResponseWithCallSummaryToJSON(json) {
|
|
74
|
+
return InviteResponseWithCallSummaryToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
function InviteResponseWithCallSummaryToJSONTyped(value, ignoreDiscriminator) {
|
|
77
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
'id': value['id'],
|
|
83
|
+
'kind': (0, InviteResponseKind_1.InviteResponseKindToJSON)(value['kind']),
|
|
84
|
+
'status': (0, InviteResponseStatus_1.InviteResponseStatusToJSON)(value['status']),
|
|
85
|
+
'data': (0, InviteResponseData_1.InviteResponseDataToJSON)(value['data']),
|
|
86
|
+
'metadata': (0, InviteResponseMetadata_1.InviteResponseMetadataToJSON)(value['metadata']),
|
|
87
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
88
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
89
|
+
'inviteId': value['inviteId'],
|
|
90
|
+
'vendorParticipantId': value['vendorParticipantId'],
|
|
91
|
+
'participantId': value['participantId'],
|
|
92
|
+
'invite': (0, Invite_1.InviteToJSON)(value['invite']),
|
|
93
|
+
'participant': (0, Participant_1.ParticipantToJSON)(value['participant']),
|
|
94
|
+
'calls': (value['calls'].map(CallSummary_1.CallSummaryToJSON)),
|
|
95
|
+
'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : (value['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeToJSON)),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { InviteStatus } from './InviteStatus';
|
|
13
|
+
import type { CodeInviteConfig } from './CodeInviteConfig';
|
|
14
|
+
import type { JoinCodeInvite302ResponseSettings } from './JoinCodeInvite302ResponseSettings';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface JoinCodeInvite302Response
|
|
19
|
+
*/
|
|
20
|
+
export interface JoinCodeInvite302Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof JoinCodeInvite302Response
|
|
25
|
+
*/
|
|
26
|
+
id: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof JoinCodeInvite302Response
|
|
31
|
+
*/
|
|
32
|
+
code: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof JoinCodeInvite302Response
|
|
37
|
+
*/
|
|
38
|
+
name: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof JoinCodeInvite302Response
|
|
43
|
+
*/
|
|
44
|
+
description?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {InviteStatus}
|
|
48
|
+
* @memberof JoinCodeInvite302Response
|
|
49
|
+
*/
|
|
50
|
+
status: InviteStatus;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Date}
|
|
54
|
+
* @memberof JoinCodeInvite302Response
|
|
55
|
+
*/
|
|
56
|
+
expiresAt?: Date | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof JoinCodeInvite302Response
|
|
61
|
+
*/
|
|
62
|
+
projectId: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {CodeInviteConfig}
|
|
66
|
+
* @memberof JoinCodeInvite302Response
|
|
67
|
+
*/
|
|
68
|
+
config: CodeInviteConfig;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {JoinCodeInvite302ResponseSettings}
|
|
72
|
+
* @memberof JoinCodeInvite302Response
|
|
73
|
+
*/
|
|
74
|
+
settings: JoinCodeInvite302ResponseSettings;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the JoinCodeInvite302Response interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfJoinCodeInvite302Response(value: object): value is JoinCodeInvite302Response;
|
|
80
|
+
export declare function JoinCodeInvite302ResponseFromJSON(json: any): JoinCodeInvite302Response;
|
|
81
|
+
export declare function JoinCodeInvite302ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): JoinCodeInvite302Response;
|
|
82
|
+
export declare function JoinCodeInvite302ResponseToJSON(json: any): JoinCodeInvite302Response;
|
|
83
|
+
export declare function JoinCodeInvite302ResponseToJSONTyped(value?: JoinCodeInvite302Response | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/{ApiInviteCodeCodeStartGet302Response.js → JoinCodeInvite302Response.js}
RENAMED
|
@@ -13,17 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
var ApiInviteCodeCodeStartGet302ResponseSettings_1 = require("./ApiInviteCodeCodeStartGet302ResponseSettings");
|
|
16
|
+
exports.instanceOfJoinCodeInvite302Response = instanceOfJoinCodeInvite302Response;
|
|
17
|
+
exports.JoinCodeInvite302ResponseFromJSON = JoinCodeInvite302ResponseFromJSON;
|
|
18
|
+
exports.JoinCodeInvite302ResponseFromJSONTyped = JoinCodeInvite302ResponseFromJSONTyped;
|
|
19
|
+
exports.JoinCodeInvite302ResponseToJSON = JoinCodeInvite302ResponseToJSON;
|
|
20
|
+
exports.JoinCodeInvite302ResponseToJSONTyped = JoinCodeInvite302ResponseToJSONTyped;
|
|
22
21
|
var InviteStatus_1 = require("./InviteStatus");
|
|
22
|
+
var CodeInviteConfig_1 = require("./CodeInviteConfig");
|
|
23
|
+
var JoinCodeInvite302ResponseSettings_1 = require("./JoinCodeInvite302ResponseSettings");
|
|
23
24
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
25
|
+
* Check if a given object implements the JoinCodeInvite302Response interface.
|
|
25
26
|
*/
|
|
26
|
-
function
|
|
27
|
+
function instanceOfJoinCodeInvite302Response(value) {
|
|
27
28
|
if (!('id' in value) || value['id'] === undefined)
|
|
28
29
|
return false;
|
|
29
30
|
if (!('code' in value) || value['code'] === undefined)
|
|
@@ -34,14 +35,16 @@ function instanceOfApiInviteCodeCodeStartGet302Response(value) {
|
|
|
34
35
|
return false;
|
|
35
36
|
if (!('projectId' in value) || value['projectId'] === undefined)
|
|
36
37
|
return false;
|
|
38
|
+
if (!('config' in value) || value['config'] === undefined)
|
|
39
|
+
return false;
|
|
37
40
|
if (!('settings' in value) || value['settings'] === undefined)
|
|
38
41
|
return false;
|
|
39
42
|
return true;
|
|
40
43
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
44
|
+
function JoinCodeInvite302ResponseFromJSON(json) {
|
|
45
|
+
return JoinCodeInvite302ResponseFromJSONTyped(json, false);
|
|
43
46
|
}
|
|
44
|
-
function
|
|
47
|
+
function JoinCodeInvite302ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
48
|
if (json == null) {
|
|
46
49
|
return json;
|
|
47
50
|
}
|
|
@@ -53,13 +56,14 @@ function ApiInviteCodeCodeStartGet302ResponseFromJSONTyped(json, ignoreDiscrimin
|
|
|
53
56
|
'status': (0, InviteStatus_1.InviteStatusFromJSON)(json['status']),
|
|
54
57
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
55
58
|
'projectId': json['projectId'],
|
|
56
|
-
'
|
|
59
|
+
'config': (0, CodeInviteConfig_1.CodeInviteConfigFromJSON)(json['config']),
|
|
60
|
+
'settings': (0, JoinCodeInvite302ResponseSettings_1.JoinCodeInvite302ResponseSettingsFromJSON)(json['settings']),
|
|
57
61
|
};
|
|
58
62
|
}
|
|
59
|
-
function
|
|
60
|
-
return
|
|
63
|
+
function JoinCodeInvite302ResponseToJSON(json) {
|
|
64
|
+
return JoinCodeInvite302ResponseToJSONTyped(json, false);
|
|
61
65
|
}
|
|
62
|
-
function
|
|
66
|
+
function JoinCodeInvite302ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
63
67
|
var _a;
|
|
64
68
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
69
|
if (value == null) {
|
|
@@ -73,6 +77,7 @@ function ApiInviteCodeCodeStartGet302ResponseToJSONTyped(value, ignoreDiscrimina
|
|
|
73
77
|
'status': (0, InviteStatus_1.InviteStatusToJSON)(value['status']),
|
|
74
78
|
'expiresAt': value['expiresAt'] === null ? null : ((_a = value['expiresAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
75
79
|
'projectId': value['projectId'],
|
|
76
|
-
'
|
|
80
|
+
'config': (0, CodeInviteConfig_1.CodeInviteConfigToJSON)(value['config']),
|
|
81
|
+
'settings': (0, JoinCodeInvite302ResponseSettings_1.JoinCodeInvite302ResponseSettingsToJSON)(value['settings']),
|
|
77
82
|
};
|
|
78
83
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ScreenerQuestionChooseOnePublic } from './ScreenerQuestionChooseOnePublic';
|
|
13
|
+
import type { ProjectFilePublic } from './ProjectFilePublic';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JoinCodeInvite302ResponseSettings
|
|
18
|
+
*/
|
|
19
|
+
export interface JoinCodeInvite302ResponseSettings {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JoinCodeInvite302ResponseSettings
|
|
24
|
+
*/
|
|
25
|
+
maxDurationSeconds: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ScreenerQuestionChooseOnePublic>}
|
|
29
|
+
* @memberof JoinCodeInvite302ResponseSettings
|
|
30
|
+
*/
|
|
31
|
+
screenerQuestions?: Array<ScreenerQuestionChooseOnePublic>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<ProjectFilePublic>}
|
|
35
|
+
* @memberof JoinCodeInvite302ResponseSettings
|
|
36
|
+
*/
|
|
37
|
+
files?: Array<ProjectFilePublic>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the JoinCodeInvite302ResponseSettings interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfJoinCodeInvite302ResponseSettings(value: object): value is JoinCodeInvite302ResponseSettings;
|
|
43
|
+
export declare function JoinCodeInvite302ResponseSettingsFromJSON(json: any): JoinCodeInvite302ResponseSettings;
|
|
44
|
+
export declare function JoinCodeInvite302ResponseSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): JoinCodeInvite302ResponseSettings;
|
|
45
|
+
export declare function JoinCodeInvite302ResponseSettingsToJSON(json: any): JoinCodeInvite302ResponseSettings;
|
|
46
|
+
export declare function JoinCodeInvite302ResponseSettingsToJSONTyped(value?: JoinCodeInvite302ResponseSettings | null, ignoreDiscriminator?: boolean): any;
|