keplar-api 0.0.1 → 0.0.3
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 +3 -0
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +27 -4
- package/dist/apis/DefaultApi.js +115 -1
- package/dist/models/ApiCallMessagesSearchPost200ResponseInner.d.ts +1 -1
- package/dist/models/ApiCallMessagesSearchPost200ResponseInner.js +2 -2
- package/dist/models/ApiFilesFileIdSignedUrlPost200Response.d.ts +1 -1
- package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +2 -2
- package/dist/models/ApiInviteCodeCodeGet200Response.d.ts +108 -0
- package/dist/models/ApiInviteCodeCodeGet200Response.js +98 -0
- package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.d.ts +1 -1
- package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +5 -5
- package/dist/models/ApiInviteCodeCodeStartGet302Response.js +2 -1
- package/dist/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.d.ts +1 -1
- package/dist/models/ApiInvitesIdPutRequest.d.ts +3 -3
- package/dist/models/ApiInvitesIdPutRequest.js +3 -2
- package/dist/models/ApiInvitesIdResponsesPostRequest.d.ts +1 -1
- package/dist/models/ApiInvitesPostRequest.d.ts +2 -2
- package/dist/models/ApiInvitesPostRequest.js +2 -1
- package/dist/models/ApiProjectsPostRequest.d.ts +1 -1
- package/dist/models/ApiProjectsProjectIdFilesFileIdPutRequest.d.ts +1 -1
- package/dist/models/ApiProjectsProjectIdFilesPostRequest.d.ts +1 -1
- package/dist/models/ApiProjectsProjectIdPutRequest.d.ts +1 -1
- package/dist/models/ApiThreadsThreadIdPostRequest.d.ts +2 -2
- package/dist/models/ApiThreadsThreadIdProjectDraftVersionsGet200Response.d.ts +33 -0
- package/dist/models/ApiThreadsThreadIdProjectDraftVersionsGet200Response.js +52 -0
- package/dist/models/Call.d.ts +11 -11
- package/dist/models/Call.js +9 -6
- package/dist/models/ChatMessage.d.ts +2 -2
- package/dist/models/ChatSession.d.ts +4 -4
- package/dist/models/ChatSession.js +3 -2
- package/dist/models/CodeInvite.d.ts +4 -4
- package/dist/models/CodeInvite.js +6 -5
- package/dist/models/CodeInviteResponse.d.ts +3 -3
- package/dist/models/CodeInviteResponse.js +3 -2
- package/dist/models/ConversationMessage.d.ts +3 -3
- package/dist/models/ConversationMessage.js +3 -2
- package/dist/models/Invite.d.ts +3 -3
- package/dist/models/Invite.js +3 -2
- package/dist/models/InviteResponse.d.ts +4 -4
- package/dist/models/InviteResponse.js +3 -2
- package/dist/models/InviteResponseData.d.ts +1 -1
- package/dist/models/InviteWithAnalytics.d.ts +3 -3
- package/dist/models/InviteWithAnalytics.js +3 -2
- package/dist/models/ModelFile.d.ts +7 -7
- package/dist/models/ModelFile.js +3 -2
- package/dist/models/Moderator.d.ts +4 -4
- package/dist/models/Moderator.js +2 -2
- package/dist/models/Org.d.ts +1 -1
- package/dist/models/Participant.d.ts +4 -4
- package/dist/models/ParticipantCreate.d.ts +1 -1
- package/dist/models/ParticipantInvite.d.ts +2 -2
- package/dist/models/Project.d.ts +2 -2
- package/dist/models/ProjectAudience.d.ts +2 -2
- package/dist/models/ProjectAudience.js +3 -2
- package/dist/models/ProjectDraftVersion.d.ts +68 -0
- package/dist/models/ProjectDraftVersion.js +63 -0
- package/dist/models/ProjectFile.d.ts +3 -3
- package/dist/models/ProjectFileCategory.d.ts +1 -0
- package/dist/models/ProjectFileCategory.js +1 -0
- package/dist/models/ProjectFilePublic.d.ts +2 -2
- package/dist/models/ProjectFilePublicFile.d.ts +3 -3
- package/dist/models/ProjectFilePublicFile.js +2 -1
- package/dist/models/ProjectSummaryWithAnalytics.d.ts +1 -1
- package/dist/models/ProjectWithAnalytics.d.ts +2 -2
- package/dist/models/RepDataConfigLegacy.d.ts +1 -1
- package/dist/models/RepDataConfigLegacy.js +3 -2
- package/dist/models/Thread.d.ts +5 -5
- package/dist/models/Thread.js +3 -2
- package/dist/models/ThreadMetadata.d.ts +7 -0
- package/dist/models/ThreadMetadata.js +3 -0
- package/dist/models/TranscriptMessage.d.ts +1 -1
- package/dist/models/TranscriptMessage.js +2 -2
- package/dist/models/User.d.ts +3 -3
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +115 -4
- package/src/models/ApiCallMessagesSearchPost200ResponseInner.ts +3 -3
- package/src/models/ApiFilesFileIdSignedUrlPost200Response.ts +3 -3
- package/src/models/ApiInviteCodeCodeGet200Response.ts +202 -0
- package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.ts +1 -1
- package/src/models/ApiInviteCodeCodeStartGet302Response.ts +6 -6
- package/src/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.ts +1 -1
- package/src/models/ApiInvitesIdPutRequest.ts +5 -5
- package/src/models/ApiInvitesIdResponsesPostRequest.ts +1 -1
- package/src/models/ApiInvitesPostRequest.ts +3 -3
- package/src/models/ApiProjectsPostRequest.ts +1 -1
- package/src/models/ApiProjectsProjectIdFilesFileIdPutRequest.ts +1 -1
- package/src/models/ApiProjectsProjectIdFilesPostRequest.ts +1 -1
- package/src/models/ApiProjectsProjectIdPutRequest.ts +1 -1
- package/src/models/ApiThreadsThreadIdPostRequest.ts +2 -2
- package/src/models/ApiThreadsThreadIdProjectDraftVersionsGet200Response.ts +74 -0
- package/src/models/Call.ts +17 -17
- package/src/models/ChatMessage.ts +2 -2
- package/src/models/ChatSession.ts +6 -6
- package/src/models/CodeInvite.ts +9 -9
- package/src/models/CodeInviteResponse.ts +5 -5
- package/src/models/ConversationMessage.ts +5 -5
- package/src/models/Invite.ts +5 -5
- package/src/models/InviteResponse.ts +6 -6
- package/src/models/InviteResponseData.ts +1 -1
- package/src/models/InviteWithAnalytics.ts +5 -5
- package/src/models/ModelFile.ts +9 -9
- package/src/models/Moderator.ts +6 -6
- package/src/models/Org.ts +1 -1
- package/src/models/Participant.ts +4 -4
- package/src/models/ParticipantCreate.ts +1 -1
- package/src/models/ParticipantInvite.ts +2 -2
- package/src/models/Project.ts +2 -2
- package/src/models/ProjectAudience.ts +4 -4
- package/src/models/ProjectDraftVersion.ts +114 -0
- package/src/models/ProjectFile.ts +3 -3
- package/src/models/ProjectFileCategory.ts +1 -0
- package/src/models/ProjectFilePublic.ts +2 -2
- package/src/models/ProjectFilePublicFile.ts +4 -4
- package/src/models/ProjectSummaryWithAnalytics.ts +1 -1
- package/src/models/ProjectWithAnalytics.ts +2 -2
- package/src/models/RepDataConfigLegacy.ts +3 -3
- package/src/models/Thread.ts +7 -7
- package/src/models/ThreadMetadata.ts +16 -0
- package/src/models/TranscriptMessage.ts +3 -3
- package/src/models/User.ts +3 -3
- package/src/models/index.ts +3 -0
|
@@ -19,6 +19,7 @@ exports.InviteResponseFromJSONTyped = InviteResponseFromJSONTyped;
|
|
|
19
19
|
exports.InviteResponseToJSON = InviteResponseToJSON;
|
|
20
20
|
exports.InviteResponseToJSONTyped = InviteResponseToJSONTyped;
|
|
21
21
|
var Call_1 = require("./Call");
|
|
22
|
+
var Participant_1 = require("./Participant");
|
|
22
23
|
var InviteResponseStatus_1 = require("./InviteResponseStatus");
|
|
23
24
|
var InviteResponseData_1 = require("./InviteResponseData");
|
|
24
25
|
var InviteResponseKind_1 = require("./InviteResponseKind");
|
|
@@ -59,7 +60,7 @@ function InviteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'vendorParticipantId': json['vendorParticipantId'] == null ? undefined : json['vendorParticipantId'],
|
|
60
61
|
'participantId': json['participantId'] == null ? undefined : json['participantId'],
|
|
61
62
|
'invite': json['invite'] == null ? undefined : (0, Invite_1.InviteFromJSON)(json['invite']),
|
|
62
|
-
'participant': json['participant'] == null ? undefined : json['participant'],
|
|
63
|
+
'participant': json['participant'] == null ? undefined : (0, Participant_1.ParticipantFromJSON)(json['participant']),
|
|
63
64
|
'calls': json['calls'] == null ? undefined : (json['calls'].map(Call_1.CallFromJSON)),
|
|
64
65
|
};
|
|
65
66
|
}
|
|
@@ -82,7 +83,7 @@ function InviteResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
82
83
|
'vendorParticipantId': value['vendorParticipantId'],
|
|
83
84
|
'participantId': value['participantId'],
|
|
84
85
|
'invite': (0, Invite_1.InviteToJSON)(value['invite']),
|
|
85
|
-
'participant': value['participant'],
|
|
86
|
+
'participant': (0, Participant_1.ParticipantToJSON)(value['participant']),
|
|
86
87
|
'calls': value['calls'] == null ? undefined : (value['calls'].map(Call_1.CallToJSON)),
|
|
87
88
|
};
|
|
88
89
|
}
|
|
@@ -39,7 +39,7 @@ export interface InviteWithAnalytics {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof InviteWithAnalytics
|
|
41
41
|
*/
|
|
42
|
-
description?: string;
|
|
42
|
+
description?: string | null;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {InviteConfig}
|
|
@@ -75,13 +75,13 @@ export interface InviteWithAnalytics {
|
|
|
75
75
|
* @type {Date}
|
|
76
76
|
* @memberof InviteWithAnalytics
|
|
77
77
|
*/
|
|
78
|
-
liveAt?: Date;
|
|
78
|
+
liveAt?: Date | null;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
81
|
* @type {Date}
|
|
82
82
|
* @memberof InviteWithAnalytics
|
|
83
83
|
*/
|
|
84
|
-
expiresAt?: Date;
|
|
84
|
+
expiresAt?: Date | null;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @type {string}
|
|
@@ -86,6 +86,7 @@ function InviteWithAnalyticsToJSON(json) {
|
|
|
86
86
|
return InviteWithAnalyticsToJSONTyped(json, false);
|
|
87
87
|
}
|
|
88
88
|
function InviteWithAnalyticsToJSONTyped(value, ignoreDiscriminator) {
|
|
89
|
+
var _a, _b;
|
|
89
90
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
90
91
|
if (value == null) {
|
|
91
92
|
return value;
|
|
@@ -99,8 +100,8 @@ function InviteWithAnalyticsToJSONTyped(value, ignoreDiscriminator) {
|
|
|
99
100
|
'status': (0, InviteStatus_1.InviteStatusToJSON)(value['status']),
|
|
100
101
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
101
102
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
102
|
-
'liveAt': value['liveAt']
|
|
103
|
-
'expiresAt': value['expiresAt']
|
|
103
|
+
'liveAt': value['liveAt'] === null ? null : ((_a = value['liveAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
104
|
+
'expiresAt': value['expiresAt'] === null ? null : ((_b = value['expiresAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
|
|
104
105
|
'createdById': value['createdById'],
|
|
105
106
|
'projectId': value['projectId'],
|
|
106
107
|
'createdBy': (0, User_1.UserToJSON)(value['createdBy']),
|
|
@@ -49,7 +49,7 @@ export interface ModelFile {
|
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof ModelFile
|
|
51
51
|
*/
|
|
52
|
-
displayName?: string;
|
|
52
|
+
displayName?: string | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {FileMimeType}
|
|
@@ -79,7 +79,7 @@ export interface ModelFile {
|
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof ModelFile
|
|
81
81
|
*/
|
|
82
|
-
gcsGeneration?: string;
|
|
82
|
+
gcsGeneration?: string | null;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {string}
|
|
@@ -97,7 +97,7 @@ export interface ModelFile {
|
|
|
97
97
|
* @type {string}
|
|
98
98
|
* @memberof ModelFile
|
|
99
99
|
*/
|
|
100
|
-
description?: string;
|
|
100
|
+
description?: string | null;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {{ [key: string]: any; }}
|
|
@@ -105,7 +105,7 @@ export interface ModelFile {
|
|
|
105
105
|
*/
|
|
106
106
|
metadata?: {
|
|
107
107
|
[key: string]: any;
|
|
108
|
-
};
|
|
108
|
+
} | null;
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
111
|
* @type {boolean}
|
|
@@ -117,19 +117,19 @@ export interface ModelFile {
|
|
|
117
117
|
* @type {Date}
|
|
118
118
|
* @memberof ModelFile
|
|
119
119
|
*/
|
|
120
|
-
expiresAt?: Date;
|
|
120
|
+
expiresAt?: Date | null;
|
|
121
121
|
/**
|
|
122
122
|
*
|
|
123
123
|
* @type {string}
|
|
124
124
|
* @memberof ModelFile
|
|
125
125
|
*/
|
|
126
|
-
publicUrl?: string;
|
|
126
|
+
publicUrl?: string | null;
|
|
127
127
|
/**
|
|
128
128
|
*
|
|
129
129
|
* @type {Date}
|
|
130
130
|
* @memberof ModelFile
|
|
131
131
|
*/
|
|
132
|
-
publicUrlExpiresAt?: Date;
|
|
132
|
+
publicUrlExpiresAt?: Date | null;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
* @type {User}
|
package/dist/models/ModelFile.js
CHANGED
|
@@ -87,6 +87,7 @@ function ModelFileToJSON(json) {
|
|
|
87
87
|
return ModelFileToJSONTyped(json, false);
|
|
88
88
|
}
|
|
89
89
|
function ModelFileToJSONTyped(value, ignoreDiscriminator) {
|
|
90
|
+
var _a, _b;
|
|
90
91
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
91
92
|
if (value == null) {
|
|
92
93
|
return value;
|
|
@@ -107,9 +108,9 @@ function ModelFileToJSONTyped(value, ignoreDiscriminator) {
|
|
|
107
108
|
'description': value['description'],
|
|
108
109
|
'metadata': value['metadata'],
|
|
109
110
|
'isPublic': value['isPublic'],
|
|
110
|
-
'expiresAt': value['expiresAt']
|
|
111
|
+
'expiresAt': value['expiresAt'] === null ? null : ((_a = value['expiresAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
111
112
|
'publicUrl': value['publicUrl'],
|
|
112
|
-
'publicUrlExpiresAt': value['publicUrlExpiresAt']
|
|
113
|
+
'publicUrlExpiresAt': value['publicUrlExpiresAt'] === null ? null : ((_b = value['publicUrlExpiresAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
|
|
113
114
|
'uploadedBy': (0, User_1.UserToJSON)(value['uploadedBy']),
|
|
114
115
|
'org': (0, Org_1.OrgToJSON)(value['org']),
|
|
115
116
|
'projectFiles': value['projectFiles'] == null ? undefined : (value['projectFiles'].map(ProjectFile_1.ProjectFileToJSON)),
|
|
@@ -38,7 +38,7 @@ export interface Moderator {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof Moderator
|
|
40
40
|
*/
|
|
41
|
-
description?: string;
|
|
41
|
+
description?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {ModeratorVisibility}
|
|
@@ -62,7 +62,7 @@ export interface Moderator {
|
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof Moderator
|
|
64
64
|
*/
|
|
65
|
-
vendorId?: string;
|
|
65
|
+
vendorId?: string | null;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {any}
|
|
@@ -98,7 +98,7 @@ export interface Moderator {
|
|
|
98
98
|
* @type {string}
|
|
99
99
|
* @memberof Moderator
|
|
100
100
|
*/
|
|
101
|
-
parentModeratorId?: string;
|
|
101
|
+
parentModeratorId?: string | null;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
104
|
* @type {Org}
|
|
@@ -116,7 +116,7 @@ export interface Moderator {
|
|
|
116
116
|
* @type {Moderator}
|
|
117
117
|
* @memberof Moderator
|
|
118
118
|
*/
|
|
119
|
-
parentModerator?: Moderator;
|
|
119
|
+
parentModerator?: Moderator | null;
|
|
120
120
|
/**
|
|
121
121
|
*
|
|
122
122
|
* @type {Array<Moderator>}
|
package/dist/models/Moderator.js
CHANGED
|
@@ -71,7 +71,7 @@ function ModeratorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
71
|
'parentModeratorId': json['parentModeratorId'] == null ? undefined : json['parentModeratorId'],
|
|
72
72
|
'org': json['org'] == null ? undefined : (0, Org_1.OrgFromJSON)(json['org']),
|
|
73
73
|
'createdBy': json['createdBy'] == null ? undefined : (0, User_1.UserFromJSON)(json['createdBy']),
|
|
74
|
-
'parentModerator': json['parentModerator'] == null ? undefined : json['parentModerator'],
|
|
74
|
+
'parentModerator': json['parentModerator'] == null ? undefined : ModeratorFromJSON(json['parentModerator']),
|
|
75
75
|
'childModerators': json['childModerators'] == null ? undefined : (json['childModerators'].map(ModeratorFromJSON)),
|
|
76
76
|
'projects': json['projects'] == null ? undefined : (json['projects'].map(Project_1.ProjectFromJSON)),
|
|
77
77
|
};
|
|
@@ -100,7 +100,7 @@ function ModeratorToJSONTyped(value, ignoreDiscriminator) {
|
|
|
100
100
|
'parentModeratorId': value['parentModeratorId'],
|
|
101
101
|
'org': (0, Org_1.OrgToJSON)(value['org']),
|
|
102
102
|
'createdBy': (0, User_1.UserToJSON)(value['createdBy']),
|
|
103
|
-
'parentModerator': value['parentModerator'],
|
|
103
|
+
'parentModerator': ModeratorToJSON(value['parentModerator']),
|
|
104
104
|
'childModerators': value['childModerators'] == null ? undefined : (value['childModerators'].map(ModeratorToJSON)),
|
|
105
105
|
'projects': value['projects'] == null ? undefined : (value['projects'].map(Project_1.ProjectToJSON)),
|
|
106
106
|
};
|
package/dist/models/Org.d.ts
CHANGED
|
@@ -42,25 +42,25 @@ export interface Participant {
|
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof Participant
|
|
44
44
|
*/
|
|
45
|
-
email?: string;
|
|
45
|
+
email?: string | null;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof Participant
|
|
50
50
|
*/
|
|
51
|
-
phoneNumber?: string;
|
|
51
|
+
phoneNumber?: string | null;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof Participant
|
|
56
56
|
*/
|
|
57
|
-
name?: string;
|
|
57
|
+
name?: string | null;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {object}
|
|
61
61
|
* @memberof Participant
|
|
62
62
|
*/
|
|
63
|
-
data?: object;
|
|
63
|
+
data?: object | null;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
@@ -54,13 +54,13 @@ export interface ParticipantInvite {
|
|
|
54
54
|
* @type {ParticipantInviteConfig}
|
|
55
55
|
* @memberof ParticipantInvite
|
|
56
56
|
*/
|
|
57
|
-
config?: ParticipantInviteConfig;
|
|
57
|
+
config?: ParticipantInviteConfig | null;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {ParticipantInviteData}
|
|
61
61
|
* @memberof ParticipantInvite
|
|
62
62
|
*/
|
|
63
|
-
data?: ParticipantInviteData;
|
|
63
|
+
data?: ParticipantInviteData | null;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {Participant}
|
package/dist/models/Project.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export interface Project {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof Project
|
|
57
57
|
*/
|
|
58
|
-
description?: string;
|
|
58
|
+
description?: string | null;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {ProjectStatus}
|
|
@@ -97,7 +97,7 @@ export interface Project {
|
|
|
97
97
|
* @type {ProjectAnalysis}
|
|
98
98
|
* @memberof Project
|
|
99
99
|
*/
|
|
100
|
-
analysis?: ProjectAnalysis;
|
|
100
|
+
analysis?: ProjectAnalysis | null;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {User}
|
|
@@ -28,13 +28,13 @@ export interface ProjectAudience {
|
|
|
28
28
|
* @type {Array<ParticipantCreate>}
|
|
29
29
|
* @memberof ProjectAudience
|
|
30
30
|
*/
|
|
31
|
-
participants?: Array<ParticipantCreate
|
|
31
|
+
participants?: Array<ParticipantCreate> | null;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {ProjectPanelSettings}
|
|
35
35
|
* @memberof ProjectAudience
|
|
36
36
|
*/
|
|
37
|
-
panelSettings?: ProjectPanelSettings;
|
|
37
|
+
panelSettings?: ProjectPanelSettings | null;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Check if a given object implements the ProjectAudience interface.
|
|
@@ -19,6 +19,7 @@ exports.ProjectAudienceFromJSONTyped = ProjectAudienceFromJSONTyped;
|
|
|
19
19
|
exports.ProjectAudienceToJSON = ProjectAudienceToJSON;
|
|
20
20
|
exports.ProjectAudienceToJSONTyped = ProjectAudienceToJSONTyped;
|
|
21
21
|
var ParticipantCreate_1 = require("./ParticipantCreate");
|
|
22
|
+
var ProjectPanelSettings_1 = require("./ProjectPanelSettings");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the ProjectAudience interface.
|
|
24
25
|
*/
|
|
@@ -37,7 +38,7 @@ function ProjectAudienceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'sampleSize': json['sampleSize'],
|
|
39
40
|
'participants': json['participants'] == null ? undefined : (json['participants'].map(ParticipantCreate_1.ParticipantCreateFromJSON)),
|
|
40
|
-
'panelSettings': json['panelSettings'] == null ? undefined : json['panelSettings'],
|
|
41
|
+
'panelSettings': json['panelSettings'] == null ? undefined : (0, ProjectPanelSettings_1.ProjectPanelSettingsFromJSON)(json['panelSettings']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
function ProjectAudienceToJSON(json) {
|
|
@@ -51,6 +52,6 @@ function ProjectAudienceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
52
|
return {
|
|
52
53
|
'sampleSize': value['sampleSize'],
|
|
53
54
|
'participants': value['participants'] == null ? undefined : (value['participants'].map(ParticipantCreate_1.ParticipantCreateToJSON)),
|
|
54
|
-
'panelSettings': value['panelSettings'],
|
|
55
|
+
'panelSettings': (0, ProjectPanelSettings_1.ProjectPanelSettingsToJSON)(value['panelSettings']),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProjectDraftVersion
|
|
16
|
+
*/
|
|
17
|
+
export interface ProjectDraftVersion {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProjectDraftVersion
|
|
22
|
+
*/
|
|
23
|
+
version: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProjectDraftVersion
|
|
28
|
+
*/
|
|
29
|
+
business_context?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProjectDraftVersion
|
|
34
|
+
*/
|
|
35
|
+
learning_goals?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ProjectDraftVersion
|
|
40
|
+
*/
|
|
41
|
+
interview_questions?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<any>}
|
|
45
|
+
* @memberof ProjectDraftVersion
|
|
46
|
+
*/
|
|
47
|
+
assets?: Array<any>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ProjectDraftVersion
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ProjectDraftVersion
|
|
58
|
+
*/
|
|
59
|
+
description?: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ProjectDraftVersion interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfProjectDraftVersion(value: object): value is ProjectDraftVersion;
|
|
65
|
+
export declare function ProjectDraftVersionFromJSON(json: any): ProjectDraftVersion;
|
|
66
|
+
export declare function ProjectDraftVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectDraftVersion;
|
|
67
|
+
export declare function ProjectDraftVersionToJSON(json: any): ProjectDraftVersion;
|
|
68
|
+
export declare function ProjectDraftVersionToJSONTyped(value?: ProjectDraftVersion | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfProjectDraftVersion = instanceOfProjectDraftVersion;
|
|
17
|
+
exports.ProjectDraftVersionFromJSON = ProjectDraftVersionFromJSON;
|
|
18
|
+
exports.ProjectDraftVersionFromJSONTyped = ProjectDraftVersionFromJSONTyped;
|
|
19
|
+
exports.ProjectDraftVersionToJSON = ProjectDraftVersionToJSON;
|
|
20
|
+
exports.ProjectDraftVersionToJSONTyped = ProjectDraftVersionToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProjectDraftVersion interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProjectDraftVersion(value) {
|
|
25
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ProjectDraftVersionFromJSON(json) {
|
|
30
|
+
return ProjectDraftVersionFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ProjectDraftVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'version': json['version'],
|
|
38
|
+
'business_context': json['business_context'] == null ? undefined : json['business_context'],
|
|
39
|
+
'learning_goals': json['learning_goals'] == null ? undefined : json['learning_goals'],
|
|
40
|
+
'interview_questions': json['interview_questions'] == null ? undefined : json['interview_questions'],
|
|
41
|
+
'assets': json['assets'] == null ? undefined : json['assets'],
|
|
42
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
43
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ProjectDraftVersionToJSON(json) {
|
|
47
|
+
return ProjectDraftVersionToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ProjectDraftVersionToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'version': value['version'],
|
|
56
|
+
'business_context': value['business_context'],
|
|
57
|
+
'learning_goals': value['learning_goals'],
|
|
58
|
+
'interview_questions': value['interview_questions'],
|
|
59
|
+
'assets': value['assets'],
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'description': value['description'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -54,19 +54,19 @@ export interface ProjectFile {
|
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof ProjectFile
|
|
56
56
|
*/
|
|
57
|
-
description?: string;
|
|
57
|
+
description?: string | null;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {ProjectFileCategory}
|
|
61
61
|
* @memberof ProjectFile
|
|
62
62
|
*/
|
|
63
|
-
category?: ProjectFileCategory;
|
|
63
|
+
category?: ProjectFileCategory | null;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {ProjectFileMetadata}
|
|
67
67
|
* @memberof ProjectFile
|
|
68
68
|
*/
|
|
69
|
-
metadata?: ProjectFileMetadata;
|
|
69
|
+
metadata?: ProjectFileMetadata | null;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @type {Project}
|
|
@@ -28,13 +28,13 @@ export interface ProjectFilePublic {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof ProjectFilePublic
|
|
30
30
|
*/
|
|
31
|
-
description?: string;
|
|
31
|
+
description?: string | null;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {ProjectFileMetadata}
|
|
35
35
|
* @memberof ProjectFilePublic
|
|
36
36
|
*/
|
|
37
|
-
metadata?: ProjectFileMetadata;
|
|
37
|
+
metadata?: ProjectFileMetadata | null;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Check if a given object implements the ProjectFilePublic interface.
|
|
@@ -21,7 +21,7 @@ export interface ProjectFilePublicFile {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof ProjectFilePublicFile
|
|
23
23
|
*/
|
|
24
|
-
description?: string;
|
|
24
|
+
description?: string | null;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {FileMimeType}
|
|
@@ -33,13 +33,13 @@ export interface ProjectFilePublicFile {
|
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof ProjectFilePublicFile
|
|
35
35
|
*/
|
|
36
|
-
publicUrl?: string;
|
|
36
|
+
publicUrl?: string | null;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {Date}
|
|
40
40
|
* @memberof ProjectFilePublicFile
|
|
41
41
|
*/
|
|
42
|
-
publicUrlExpiresAt?: Date;
|
|
42
|
+
publicUrlExpiresAt?: Date | null;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Check if a given object implements the ProjectFilePublicFile interface.
|
|
@@ -45,6 +45,7 @@ function ProjectFilePublicFileToJSON(json) {
|
|
|
45
45
|
return ProjectFilePublicFileToJSONTyped(json, false);
|
|
46
46
|
}
|
|
47
47
|
function ProjectFilePublicFileToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
var _a;
|
|
48
49
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
50
|
if (value == null) {
|
|
50
51
|
return value;
|
|
@@ -53,6 +54,6 @@ function ProjectFilePublicFileToJSONTyped(value, ignoreDiscriminator) {
|
|
|
53
54
|
'description': value['description'],
|
|
54
55
|
'mimeType': (0, FileMimeType_1.FileMimeTypeToJSON)(value['mimeType']),
|
|
55
56
|
'publicUrl': value['publicUrl'],
|
|
56
|
-
'publicUrlExpiresAt': value['publicUrlExpiresAt']
|
|
57
|
+
'publicUrlExpiresAt': value['publicUrlExpiresAt'] === null ? null : ((_a = value['publicUrlExpiresAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
57
58
|
};
|
|
58
59
|
}
|
|
@@ -55,7 +55,7 @@ export interface ProjectWithAnalytics {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof ProjectWithAnalytics
|
|
57
57
|
*/
|
|
58
|
-
description?: string;
|
|
58
|
+
description?: string | null;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {ProjectStatus}
|
|
@@ -97,7 +97,7 @@ export interface ProjectWithAnalytics {
|
|
|
97
97
|
* @type {ProjectAnalysis}
|
|
98
98
|
* @memberof ProjectWithAnalytics
|
|
99
99
|
*/
|
|
100
|
-
analysis?: ProjectAnalysis;
|
|
100
|
+
analysis?: ProjectAnalysis | null;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {User}
|
|
@@ -20,6 +20,7 @@ exports.RepDataConfigLegacyToJSON = RepDataConfigLegacyToJSON;
|
|
|
20
20
|
exports.RepDataConfigLegacyToJSONTyped = RepDataConfigLegacyToJSONTyped;
|
|
21
21
|
var RepDataStudyLegacy_1 = require("./RepDataStudyLegacy");
|
|
22
22
|
var RepDataProjectLegacy_1 = require("./RepDataProjectLegacy");
|
|
23
|
+
var RepDataSurveyLegacy_1 = require("./RepDataSurveyLegacy");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the RepDataConfigLegacy interface.
|
|
25
26
|
*/
|
|
@@ -39,7 +40,7 @@ function RepDataConfigLegacyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
'enabled': json['enabled'],
|
|
40
41
|
'config': json['config'] == null ? undefined : json['config'],
|
|
41
42
|
'study': json['study'] == null ? undefined : (0, RepDataStudyLegacy_1.RepDataStudyLegacyFromJSON)(json['study']),
|
|
42
|
-
'survey': json['survey'] == null ? undefined : json['survey'],
|
|
43
|
+
'survey': json['survey'] == null ? undefined : (0, RepDataSurveyLegacy_1.RepDataSurveyLegacyFromJSON)(json['survey']),
|
|
43
44
|
'project': json['project'] == null ? undefined : (0, RepDataProjectLegacy_1.RepDataProjectLegacyFromJSON)(json['project']),
|
|
44
45
|
};
|
|
45
46
|
}
|
|
@@ -55,7 +56,7 @@ function RepDataConfigLegacyToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
56
|
'enabled': value['enabled'],
|
|
56
57
|
'config': value['config'],
|
|
57
58
|
'study': (0, RepDataStudyLegacy_1.RepDataStudyLegacyToJSON)(value['study']),
|
|
58
|
-
'survey': value['survey'],
|
|
59
|
+
'survey': (0, RepDataSurveyLegacy_1.RepDataSurveyLegacyToJSON)(value['survey']),
|
|
59
60
|
'project': (0, RepDataProjectLegacy_1.RepDataProjectLegacyToJSON)(value['project']),
|
|
60
61
|
};
|
|
61
62
|
}
|