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
|
@@ -85,7 +85,7 @@ export interface InviteResponse {
|
|
|
85
85
|
* @type {InviteResponseData}
|
|
86
86
|
* @memberof InviteResponse
|
|
87
87
|
*/
|
|
88
|
-
data?: InviteResponseData;
|
|
88
|
+
data?: InviteResponseData | null;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
* @type {Date}
|
|
@@ -109,13 +109,13 @@ export interface InviteResponse {
|
|
|
109
109
|
* @type {string}
|
|
110
110
|
* @memberof InviteResponse
|
|
111
111
|
*/
|
|
112
|
-
vendorParticipantId?: string;
|
|
112
|
+
vendorParticipantId?: string | null;
|
|
113
113
|
/**
|
|
114
114
|
*
|
|
115
115
|
* @type {string}
|
|
116
116
|
* @memberof InviteResponse
|
|
117
117
|
*/
|
|
118
|
-
participantId?: string;
|
|
118
|
+
participantId?: string | null;
|
|
119
119
|
/**
|
|
120
120
|
*
|
|
121
121
|
* @type {Invite}
|
|
@@ -127,7 +127,7 @@ export interface InviteResponse {
|
|
|
127
127
|
* @type {Participant}
|
|
128
128
|
* @memberof InviteResponse
|
|
129
129
|
*/
|
|
130
|
-
participant?: Participant;
|
|
130
|
+
participant?: Participant | null;
|
|
131
131
|
/**
|
|
132
132
|
*
|
|
133
133
|
* @type {Array<Call>}
|
|
@@ -171,7 +171,7 @@ export function InviteResponseFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
171
171
|
'vendorParticipantId': json['vendorParticipantId'] == null ? undefined : json['vendorParticipantId'],
|
|
172
172
|
'participantId': json['participantId'] == null ? undefined : json['participantId'],
|
|
173
173
|
'invite': json['invite'] == null ? undefined : InviteFromJSON(json['invite']),
|
|
174
|
-
'participant': json['participant'] == null ? undefined : json['participant'],
|
|
174
|
+
'participant': json['participant'] == null ? undefined : ParticipantFromJSON(json['participant']),
|
|
175
175
|
'calls': json['calls'] == null ? undefined : ((json['calls'] as Array<any>).map(CallFromJSON)),
|
|
176
176
|
};
|
|
177
177
|
}
|
|
@@ -197,7 +197,7 @@ export function InviteResponseToJSONTyped(value?: InviteResponse | null, ignoreD
|
|
|
197
197
|
'vendorParticipantId': value['vendorParticipantId'],
|
|
198
198
|
'participantId': value['participantId'],
|
|
199
199
|
'invite': InviteToJSON(value['invite']),
|
|
200
|
-
'participant': value['participant'],
|
|
200
|
+
'participant': ParticipantToJSON(value['participant']),
|
|
201
201
|
'calls': value['calls'] == null ? undefined : ((value['calls'] as Array<any>).map(CallToJSON)),
|
|
202
202
|
};
|
|
203
203
|
}
|
|
@@ -44,7 +44,7 @@ export interface InviteResponseData {
|
|
|
44
44
|
* @type {{ [key: string]: string; }}
|
|
45
45
|
* @memberof InviteResponseData
|
|
46
46
|
*/
|
|
47
|
-
surveyParams?: { [key: string]: string; };
|
|
47
|
+
surveyParams?: { [key: string]: string; } | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {Array<ProjectScreenerQuestionResponse>}
|
|
@@ -86,7 +86,7 @@ export interface InviteWithAnalytics {
|
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof InviteWithAnalytics
|
|
88
88
|
*/
|
|
89
|
-
description?: string;
|
|
89
|
+
description?: string | null;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
92
|
* @type {InviteConfig}
|
|
@@ -122,13 +122,13 @@ export interface InviteWithAnalytics {
|
|
|
122
122
|
* @type {Date}
|
|
123
123
|
* @memberof InviteWithAnalytics
|
|
124
124
|
*/
|
|
125
|
-
liveAt?: Date;
|
|
125
|
+
liveAt?: Date | null;
|
|
126
126
|
/**
|
|
127
127
|
*
|
|
128
128
|
* @type {Date}
|
|
129
129
|
* @memberof InviteWithAnalytics
|
|
130
130
|
*/
|
|
131
|
-
expiresAt?: Date;
|
|
131
|
+
expiresAt?: Date | null;
|
|
132
132
|
/**
|
|
133
133
|
*
|
|
134
134
|
* @type {string}
|
|
@@ -256,8 +256,8 @@ export function InviteWithAnalyticsToJSONTyped(value?: InviteWithAnalytics | nul
|
|
|
256
256
|
'status': InviteStatusToJSON(value['status']),
|
|
257
257
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
258
258
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
259
|
-
'liveAt': value['liveAt']
|
|
260
|
-
'expiresAt': value['expiresAt']
|
|
259
|
+
'liveAt': value['liveAt'] === null ? null : ((value['liveAt'] as any)?.toISOString()),
|
|
260
|
+
'expiresAt': value['expiresAt'] === null ? null : ((value['expiresAt'] as any)?.toISOString()),
|
|
261
261
|
'createdById': value['createdById'],
|
|
262
262
|
'projectId': value['projectId'],
|
|
263
263
|
'createdBy': UserToJSON(value['createdBy']),
|
package/src/models/ModelFile.ts
CHANGED
|
@@ -84,7 +84,7 @@ export interface ModelFile {
|
|
|
84
84
|
* @type {string}
|
|
85
85
|
* @memberof ModelFile
|
|
86
86
|
*/
|
|
87
|
-
displayName?: string;
|
|
87
|
+
displayName?: string | null;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @type {FileMimeType}
|
|
@@ -114,7 +114,7 @@ export interface ModelFile {
|
|
|
114
114
|
* @type {string}
|
|
115
115
|
* @memberof ModelFile
|
|
116
116
|
*/
|
|
117
|
-
gcsGeneration?: string;
|
|
117
|
+
gcsGeneration?: string | null;
|
|
118
118
|
/**
|
|
119
119
|
*
|
|
120
120
|
* @type {string}
|
|
@@ -132,13 +132,13 @@ export interface ModelFile {
|
|
|
132
132
|
* @type {string}
|
|
133
133
|
* @memberof ModelFile
|
|
134
134
|
*/
|
|
135
|
-
description?: string;
|
|
135
|
+
description?: string | null;
|
|
136
136
|
/**
|
|
137
137
|
*
|
|
138
138
|
* @type {{ [key: string]: any; }}
|
|
139
139
|
* @memberof ModelFile
|
|
140
140
|
*/
|
|
141
|
-
metadata?: { [key: string]: any; };
|
|
141
|
+
metadata?: { [key: string]: any; } | null;
|
|
142
142
|
/**
|
|
143
143
|
*
|
|
144
144
|
* @type {boolean}
|
|
@@ -150,19 +150,19 @@ export interface ModelFile {
|
|
|
150
150
|
* @type {Date}
|
|
151
151
|
* @memberof ModelFile
|
|
152
152
|
*/
|
|
153
|
-
expiresAt?: Date;
|
|
153
|
+
expiresAt?: Date | null;
|
|
154
154
|
/**
|
|
155
155
|
*
|
|
156
156
|
* @type {string}
|
|
157
157
|
* @memberof ModelFile
|
|
158
158
|
*/
|
|
159
|
-
publicUrl?: string;
|
|
159
|
+
publicUrl?: string | null;
|
|
160
160
|
/**
|
|
161
161
|
*
|
|
162
162
|
* @type {Date}
|
|
163
163
|
* @memberof ModelFile
|
|
164
164
|
*/
|
|
165
|
-
publicUrlExpiresAt?: Date;
|
|
165
|
+
publicUrlExpiresAt?: Date | null;
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
168
168
|
* @type {User}
|
|
@@ -270,9 +270,9 @@ export function ModelFileToJSONTyped(value?: ModelFile | null, ignoreDiscriminat
|
|
|
270
270
|
'description': value['description'],
|
|
271
271
|
'metadata': value['metadata'],
|
|
272
272
|
'isPublic': value['isPublic'],
|
|
273
|
-
'expiresAt': value['expiresAt']
|
|
273
|
+
'expiresAt': value['expiresAt'] === null ? null : ((value['expiresAt'] as any)?.toISOString()),
|
|
274
274
|
'publicUrl': value['publicUrl'],
|
|
275
|
-
'publicUrlExpiresAt': value['publicUrlExpiresAt']
|
|
275
|
+
'publicUrlExpiresAt': value['publicUrlExpiresAt'] === null ? null : ((value['publicUrlExpiresAt'] as any)?.toISOString()),
|
|
276
276
|
'uploadedBy': UserToJSON(value['uploadedBy']),
|
|
277
277
|
'org': OrgToJSON(value['org']),
|
|
278
278
|
'projectFiles': value['projectFiles'] == null ? undefined : ((value['projectFiles'] as Array<any>).map(ProjectFileToJSON)),
|
package/src/models/Moderator.ts
CHANGED
|
@@ -79,7 +79,7 @@ export interface Moderator {
|
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof Moderator
|
|
81
81
|
*/
|
|
82
|
-
description?: string;
|
|
82
|
+
description?: string | null;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {ModeratorVisibility}
|
|
@@ -103,7 +103,7 @@ export interface Moderator {
|
|
|
103
103
|
* @type {string}
|
|
104
104
|
* @memberof Moderator
|
|
105
105
|
*/
|
|
106
|
-
vendorId?: string;
|
|
106
|
+
vendorId?: string | null;
|
|
107
107
|
/**
|
|
108
108
|
*
|
|
109
109
|
* @type {any}
|
|
@@ -139,7 +139,7 @@ export interface Moderator {
|
|
|
139
139
|
* @type {string}
|
|
140
140
|
* @memberof Moderator
|
|
141
141
|
*/
|
|
142
|
-
parentModeratorId?: string;
|
|
142
|
+
parentModeratorId?: string | null;
|
|
143
143
|
/**
|
|
144
144
|
*
|
|
145
145
|
* @type {Org}
|
|
@@ -157,7 +157,7 @@ export interface Moderator {
|
|
|
157
157
|
* @type {Moderator}
|
|
158
158
|
* @memberof Moderator
|
|
159
159
|
*/
|
|
160
|
-
parentModerator?: Moderator;
|
|
160
|
+
parentModerator?: Moderator | null;
|
|
161
161
|
/**
|
|
162
162
|
*
|
|
163
163
|
* @type {Array<Moderator>}
|
|
@@ -215,7 +215,7 @@ export function ModeratorFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
215
215
|
'parentModeratorId': json['parentModeratorId'] == null ? undefined : json['parentModeratorId'],
|
|
216
216
|
'org': json['org'] == null ? undefined : OrgFromJSON(json['org']),
|
|
217
217
|
'createdBy': json['createdBy'] == null ? undefined : UserFromJSON(json['createdBy']),
|
|
218
|
-
'parentModerator': json['parentModerator'] == null ? undefined : json['parentModerator'],
|
|
218
|
+
'parentModerator': json['parentModerator'] == null ? undefined : ModeratorFromJSON(json['parentModerator']),
|
|
219
219
|
'childModerators': json['childModerators'] == null ? undefined : ((json['childModerators'] as Array<any>).map(ModeratorFromJSON)),
|
|
220
220
|
'projects': json['projects'] == null ? undefined : ((json['projects'] as Array<any>).map(ProjectFromJSON)),
|
|
221
221
|
};
|
|
@@ -247,7 +247,7 @@ export function ModeratorToJSONTyped(value?: Moderator | null, ignoreDiscriminat
|
|
|
247
247
|
'parentModeratorId': value['parentModeratorId'],
|
|
248
248
|
'org': OrgToJSON(value['org']),
|
|
249
249
|
'createdBy': UserToJSON(value['createdBy']),
|
|
250
|
-
'parentModerator': value['parentModerator'],
|
|
250
|
+
'parentModerator': ModeratorToJSON(value['parentModerator']),
|
|
251
251
|
'childModerators': value['childModerators'] == null ? undefined : ((value['childModerators'] as Array<any>).map(ModeratorToJSON)),
|
|
252
252
|
'projects': value['projects'] == null ? undefined : ((value['projects'] as Array<any>).map(ProjectToJSON)),
|
|
253
253
|
};
|
package/src/models/Org.ts
CHANGED
|
@@ -71,25 +71,25 @@ export interface Participant {
|
|
|
71
71
|
* @type {string}
|
|
72
72
|
* @memberof Participant
|
|
73
73
|
*/
|
|
74
|
-
email?: string;
|
|
74
|
+
email?: string | null;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @type {string}
|
|
78
78
|
* @memberof Participant
|
|
79
79
|
*/
|
|
80
|
-
phoneNumber?: string;
|
|
80
|
+
phoneNumber?: string | null;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
83
|
* @type {string}
|
|
84
84
|
* @memberof Participant
|
|
85
85
|
*/
|
|
86
|
-
name?: string;
|
|
86
|
+
name?: string | null;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
89
|
* @type {object}
|
|
90
90
|
* @memberof Participant
|
|
91
91
|
*/
|
|
92
|
-
data?: object;
|
|
92
|
+
data?: object | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {string}
|
|
@@ -83,13 +83,13 @@ export interface ParticipantInvite {
|
|
|
83
83
|
* @type {ParticipantInviteConfig}
|
|
84
84
|
* @memberof ParticipantInvite
|
|
85
85
|
*/
|
|
86
|
-
config?: ParticipantInviteConfig;
|
|
86
|
+
config?: ParticipantInviteConfig | null;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
89
|
* @type {ParticipantInviteData}
|
|
90
90
|
* @memberof ParticipantInvite
|
|
91
91
|
*/
|
|
92
|
-
data?: ParticipantInviteData;
|
|
92
|
+
data?: ParticipantInviteData | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {Participant}
|
package/src/models/Project.ts
CHANGED
|
@@ -126,7 +126,7 @@ export interface Project {
|
|
|
126
126
|
* @type {string}
|
|
127
127
|
* @memberof Project
|
|
128
128
|
*/
|
|
129
|
-
description?: string;
|
|
129
|
+
description?: string | null;
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
132
|
* @type {ProjectStatus}
|
|
@@ -168,7 +168,7 @@ export interface Project {
|
|
|
168
168
|
* @type {ProjectAnalysis}
|
|
169
169
|
* @memberof Project
|
|
170
170
|
*/
|
|
171
|
-
analysis?: ProjectAnalysis;
|
|
171
|
+
analysis?: ProjectAnalysis | null;
|
|
172
172
|
/**
|
|
173
173
|
*
|
|
174
174
|
* @type {User}
|
|
@@ -45,13 +45,13 @@ export interface ProjectAudience {
|
|
|
45
45
|
* @type {Array<ParticipantCreate>}
|
|
46
46
|
* @memberof ProjectAudience
|
|
47
47
|
*/
|
|
48
|
-
participants?: Array<ParticipantCreate
|
|
48
|
+
participants?: Array<ParticipantCreate> | null;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {ProjectPanelSettings}
|
|
52
52
|
* @memberof ProjectAudience
|
|
53
53
|
*/
|
|
54
|
-
panelSettings?: ProjectPanelSettings;
|
|
54
|
+
panelSettings?: ProjectPanelSettings | null;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/**
|
|
@@ -74,7 +74,7 @@ export function ProjectAudienceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
74
74
|
|
|
75
75
|
'sampleSize': json['sampleSize'],
|
|
76
76
|
'participants': json['participants'] == null ? undefined : ((json['participants'] as Array<any>).map(ParticipantCreateFromJSON)),
|
|
77
|
-
'panelSettings': json['panelSettings'] == null ? undefined : json['panelSettings'],
|
|
77
|
+
'panelSettings': json['panelSettings'] == null ? undefined : ProjectPanelSettingsFromJSON(json['panelSettings']),
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -91,7 +91,7 @@ export function ProjectAudienceToJSONTyped(value?: ProjectAudience | null, ignor
|
|
|
91
91
|
|
|
92
92
|
'sampleSize': value['sampleSize'],
|
|
93
93
|
'participants': value['participants'] == null ? undefined : ((value['participants'] as Array<any>).map(ParticipantCreateToJSON)),
|
|
94
|
-
'panelSettings': value['panelSettings'],
|
|
94
|
+
'panelSettings': ProjectPanelSettingsToJSON(value['panelSettings']),
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -0,0 +1,114 @@
|
|
|
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 ProjectDraftVersion
|
|
20
|
+
*/
|
|
21
|
+
export interface ProjectDraftVersion {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ProjectDraftVersion
|
|
26
|
+
*/
|
|
27
|
+
version: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ProjectDraftVersion
|
|
32
|
+
*/
|
|
33
|
+
business_context?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ProjectDraftVersion
|
|
38
|
+
*/
|
|
39
|
+
learning_goals?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ProjectDraftVersion
|
|
44
|
+
*/
|
|
45
|
+
interview_questions?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<any>}
|
|
49
|
+
* @memberof ProjectDraftVersion
|
|
50
|
+
*/
|
|
51
|
+
assets?: Array<any>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ProjectDraftVersion
|
|
56
|
+
*/
|
|
57
|
+
name?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ProjectDraftVersion
|
|
62
|
+
*/
|
|
63
|
+
description?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the ProjectDraftVersion interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfProjectDraftVersion(value: object): value is ProjectDraftVersion {
|
|
70
|
+
if (!('version' in value) || value['version'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function ProjectDraftVersionFromJSON(json: any): ProjectDraftVersion {
|
|
75
|
+
return ProjectDraftVersionFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ProjectDraftVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectDraftVersion {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'version': json['version'],
|
|
85
|
+
'business_context': json['business_context'] == null ? undefined : json['business_context'],
|
|
86
|
+
'learning_goals': json['learning_goals'] == null ? undefined : json['learning_goals'],
|
|
87
|
+
'interview_questions': json['interview_questions'] == null ? undefined : json['interview_questions'],
|
|
88
|
+
'assets': json['assets'] == null ? undefined : json['assets'],
|
|
89
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
90
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ProjectDraftVersionToJSON(json: any): ProjectDraftVersion {
|
|
95
|
+
return ProjectDraftVersionToJSONTyped(json, false);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function ProjectDraftVersionToJSONTyped(value?: ProjectDraftVersion | null, ignoreDiscriminator: boolean = false): any {
|
|
99
|
+
if (value == null) {
|
|
100
|
+
return value;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
return {
|
|
104
|
+
|
|
105
|
+
'version': value['version'],
|
|
106
|
+
'business_context': value['business_context'],
|
|
107
|
+
'learning_goals': value['learning_goals'],
|
|
108
|
+
'interview_questions': value['interview_questions'],
|
|
109
|
+
'assets': value['assets'],
|
|
110
|
+
'name': value['name'],
|
|
111
|
+
'description': value['description'],
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -83,19 +83,19 @@ export interface ProjectFile {
|
|
|
83
83
|
* @type {string}
|
|
84
84
|
* @memberof ProjectFile
|
|
85
85
|
*/
|
|
86
|
-
description?: string;
|
|
86
|
+
description?: string | null;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
89
|
* @type {ProjectFileCategory}
|
|
90
90
|
* @memberof ProjectFile
|
|
91
91
|
*/
|
|
92
|
-
category?: ProjectFileCategory;
|
|
92
|
+
category?: ProjectFileCategory | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {ProjectFileMetadata}
|
|
96
96
|
* @memberof ProjectFile
|
|
97
97
|
*/
|
|
98
|
-
metadata?: ProjectFileMetadata;
|
|
98
|
+
metadata?: ProjectFileMetadata | null;
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
101
|
* @type {Project}
|
|
@@ -45,13 +45,13 @@ export interface ProjectFilePublic {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof ProjectFilePublic
|
|
47
47
|
*/
|
|
48
|
-
description?: string;
|
|
48
|
+
description?: string | null;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {ProjectFileMetadata}
|
|
52
52
|
* @memberof ProjectFilePublic
|
|
53
53
|
*/
|
|
54
|
-
metadata?: ProjectFileMetadata;
|
|
54
|
+
metadata?: ProjectFileMetadata | null;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/**
|
|
@@ -32,7 +32,7 @@ export interface ProjectFilePublicFile {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ProjectFilePublicFile
|
|
34
34
|
*/
|
|
35
|
-
description?: string;
|
|
35
|
+
description?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {FileMimeType}
|
|
@@ -44,13 +44,13 @@ export interface ProjectFilePublicFile {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof ProjectFilePublicFile
|
|
46
46
|
*/
|
|
47
|
-
publicUrl?: string;
|
|
47
|
+
publicUrl?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {Date}
|
|
51
51
|
* @memberof ProjectFilePublicFile
|
|
52
52
|
*/
|
|
53
|
-
publicUrlExpiresAt?: Date;
|
|
53
|
+
publicUrlExpiresAt?: Date | null;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
|
|
@@ -94,7 +94,7 @@ export function ProjectFilePublicFileToJSONTyped(value?: ProjectFilePublicFile |
|
|
|
94
94
|
'description': value['description'],
|
|
95
95
|
'mimeType': FileMimeTypeToJSON(value['mimeType']),
|
|
96
96
|
'publicUrl': value['publicUrl'],
|
|
97
|
-
'publicUrlExpiresAt': value['publicUrlExpiresAt']
|
|
97
|
+
'publicUrlExpiresAt': value['publicUrlExpiresAt'] === null ? null : ((value['publicUrlExpiresAt'] as any)?.toISOString()),
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -126,7 +126,7 @@ export interface ProjectWithAnalytics {
|
|
|
126
126
|
* @type {string}
|
|
127
127
|
* @memberof ProjectWithAnalytics
|
|
128
128
|
*/
|
|
129
|
-
description?: string;
|
|
129
|
+
description?: string | null;
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
132
|
* @type {ProjectStatus}
|
|
@@ -168,7 +168,7 @@ export interface ProjectWithAnalytics {
|
|
|
168
168
|
* @type {ProjectAnalysis}
|
|
169
169
|
* @memberof ProjectWithAnalytics
|
|
170
170
|
*/
|
|
171
|
-
analysis?: ProjectAnalysis;
|
|
171
|
+
analysis?: ProjectAnalysis | null;
|
|
172
172
|
/**
|
|
173
173
|
*
|
|
174
174
|
* @type {User}
|
|
@@ -64,7 +64,7 @@ export interface RepDataConfigLegacy {
|
|
|
64
64
|
* @type {RepDataSurveyLegacy}
|
|
65
65
|
* @memberof RepDataConfigLegacy
|
|
66
66
|
*/
|
|
67
|
-
survey?: RepDataSurveyLegacy;
|
|
67
|
+
survey?: RepDataSurveyLegacy | null;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {RepDataProjectLegacy}
|
|
@@ -94,7 +94,7 @@ export function RepDataConfigLegacyFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
94
94
|
'enabled': json['enabled'],
|
|
95
95
|
'config': json['config'] == null ? undefined : json['config'],
|
|
96
96
|
'study': json['study'] == null ? undefined : RepDataStudyLegacyFromJSON(json['study']),
|
|
97
|
-
'survey': json['survey'] == null ? undefined : json['survey'],
|
|
97
|
+
'survey': json['survey'] == null ? undefined : RepDataSurveyLegacyFromJSON(json['survey']),
|
|
98
98
|
'project': json['project'] == null ? undefined : RepDataProjectLegacyFromJSON(json['project']),
|
|
99
99
|
};
|
|
100
100
|
}
|
|
@@ -113,7 +113,7 @@ export function RepDataConfigLegacyToJSONTyped(value?: RepDataConfigLegacy | nul
|
|
|
113
113
|
'enabled': value['enabled'],
|
|
114
114
|
'config': value['config'],
|
|
115
115
|
'study': RepDataStudyLegacyToJSON(value['study']),
|
|
116
|
-
'survey': value['survey'],
|
|
116
|
+
'survey': RepDataSurveyLegacyToJSON(value['survey']),
|
|
117
117
|
'project': RepDataProjectLegacyToJSON(value['project']),
|
|
118
118
|
};
|
|
119
119
|
}
|
package/src/models/Thread.ts
CHANGED
|
@@ -91,19 +91,19 @@ export interface Thread {
|
|
|
91
91
|
* @type {ThreadKind}
|
|
92
92
|
* @memberof Thread
|
|
93
93
|
*/
|
|
94
|
-
kind?: ThreadKind;
|
|
94
|
+
kind?: ThreadKind | null;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @type {string}
|
|
98
98
|
* @memberof Thread
|
|
99
99
|
*/
|
|
100
|
-
description?: string;
|
|
100
|
+
description?: string | null;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {ThreadMetadata}
|
|
104
104
|
* @memberof Thread
|
|
105
105
|
*/
|
|
106
|
-
metadata?: ThreadMetadata;
|
|
106
|
+
metadata?: ThreadMetadata | null;
|
|
107
107
|
/**
|
|
108
108
|
*
|
|
109
109
|
* @type {string}
|
|
@@ -121,7 +121,7 @@ export interface Thread {
|
|
|
121
121
|
* @type {string}
|
|
122
122
|
* @memberof Thread
|
|
123
123
|
*/
|
|
124
|
-
projectId?: string;
|
|
124
|
+
projectId?: string | null;
|
|
125
125
|
/**
|
|
126
126
|
*
|
|
127
127
|
* @type {User}
|
|
@@ -139,7 +139,7 @@ export interface Thread {
|
|
|
139
139
|
* @type {Project}
|
|
140
140
|
* @memberof Thread
|
|
141
141
|
*/
|
|
142
|
-
project?: Project;
|
|
142
|
+
project?: Project | null;
|
|
143
143
|
/**
|
|
144
144
|
*
|
|
145
145
|
* @type {Array<ThreadFile>}
|
|
@@ -185,7 +185,7 @@ export function ThreadFromJSONTyped(json: any, ignoreDiscriminator: boolean): Th
|
|
|
185
185
|
'projectId': json['projectId'] == null ? undefined : json['projectId'],
|
|
186
186
|
'createdBy': json['createdBy'] == null ? undefined : UserFromJSON(json['createdBy']),
|
|
187
187
|
'org': json['org'] == null ? undefined : OrgFromJSON(json['org']),
|
|
188
|
-
'project': json['project'] == null ? undefined : json['project'],
|
|
188
|
+
'project': json['project'] == null ? undefined : ProjectFromJSON(json['project']),
|
|
189
189
|
'threadFiles': json['threadFiles'] == null ? undefined : ((json['threadFiles'] as Array<any>).map(ThreadFileFromJSON)),
|
|
190
190
|
};
|
|
191
191
|
}
|
|
@@ -213,7 +213,7 @@ export function ThreadToJSONTyped(value?: Thread | null, ignoreDiscriminator: bo
|
|
|
213
213
|
'projectId': value['projectId'],
|
|
214
214
|
'createdBy': UserToJSON(value['createdBy']),
|
|
215
215
|
'org': OrgToJSON(value['org']),
|
|
216
|
-
'project': value['project'],
|
|
216
|
+
'project': ProjectToJSON(value['project']),
|
|
217
217
|
'threadFiles': value['threadFiles'] == null ? undefined : ((value['threadFiles'] as Array<any>).map(ThreadFileToJSON)),
|
|
218
218
|
};
|
|
219
219
|
}
|