keplar-api 0.0.1 → 0.0.2

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.
Files changed (115) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +4 -4
  4. package/dist/apis/DefaultApi.js +1 -1
  5. package/dist/models/ApiCallMessagesSearchPost200ResponseInner.d.ts +1 -1
  6. package/dist/models/ApiCallMessagesSearchPost200ResponseInner.js +2 -2
  7. package/dist/models/ApiFilesFileIdSignedUrlPost200Response.d.ts +1 -1
  8. package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +2 -2
  9. package/dist/models/ApiInviteCodeCodeGet200Response.d.ts +108 -0
  10. package/dist/models/ApiInviteCodeCodeGet200Response.js +98 -0
  11. package/dist/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.d.ts +1 -1
  12. package/dist/models/ApiInviteCodeCodeStartGet302Response.d.ts +5 -5
  13. package/dist/models/ApiInviteCodeCodeStartGet302Response.js +2 -1
  14. package/dist/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.d.ts +1 -1
  15. package/dist/models/ApiInvitesIdPutRequest.d.ts +3 -3
  16. package/dist/models/ApiInvitesIdPutRequest.js +3 -2
  17. package/dist/models/ApiInvitesIdResponsesPostRequest.d.ts +1 -1
  18. package/dist/models/ApiInvitesPostRequest.d.ts +2 -2
  19. package/dist/models/ApiInvitesPostRequest.js +2 -1
  20. package/dist/models/ApiProjectsPostRequest.d.ts +1 -1
  21. package/dist/models/ApiProjectsProjectIdFilesFileIdPutRequest.d.ts +1 -1
  22. package/dist/models/ApiProjectsProjectIdFilesPostRequest.d.ts +1 -1
  23. package/dist/models/ApiProjectsProjectIdPutRequest.d.ts +1 -1
  24. package/dist/models/ApiThreadsThreadIdPostRequest.d.ts +2 -2
  25. package/dist/models/Call.d.ts +11 -11
  26. package/dist/models/Call.js +9 -6
  27. package/dist/models/ChatMessage.d.ts +2 -2
  28. package/dist/models/ChatSession.d.ts +6 -6
  29. package/dist/models/ChatSession.js +3 -2
  30. package/dist/models/CodeInvite.d.ts +4 -4
  31. package/dist/models/CodeInvite.js +6 -5
  32. package/dist/models/CodeInviteResponse.d.ts +3 -3
  33. package/dist/models/CodeInviteResponse.js +3 -2
  34. package/dist/models/ConversationMessage.d.ts +3 -3
  35. package/dist/models/ConversationMessage.js +3 -2
  36. package/dist/models/Invite.d.ts +3 -3
  37. package/dist/models/Invite.js +3 -2
  38. package/dist/models/InviteResponse.d.ts +4 -4
  39. package/dist/models/InviteResponse.js +3 -2
  40. package/dist/models/InviteResponseData.d.ts +1 -1
  41. package/dist/models/InviteWithAnalytics.d.ts +3 -3
  42. package/dist/models/InviteWithAnalytics.js +3 -2
  43. package/dist/models/ModelFile.d.ts +7 -7
  44. package/dist/models/ModelFile.js +3 -2
  45. package/dist/models/Moderator.d.ts +6 -6
  46. package/dist/models/Moderator.js +2 -2
  47. package/dist/models/Org.d.ts +1 -1
  48. package/dist/models/Participant.d.ts +4 -4
  49. package/dist/models/ParticipantCreate.d.ts +1 -1
  50. package/dist/models/ParticipantInvite.d.ts +2 -2
  51. package/dist/models/Project.d.ts +2 -2
  52. package/dist/models/ProjectAudience.d.ts +2 -2
  53. package/dist/models/ProjectAudience.js +3 -2
  54. package/dist/models/ProjectFile.d.ts +3 -3
  55. package/dist/models/ProjectFileCategory.d.ts +1 -0
  56. package/dist/models/ProjectFileCategory.js +1 -0
  57. package/dist/models/ProjectFilePublic.d.ts +2 -2
  58. package/dist/models/ProjectFilePublicFile.d.ts +3 -3
  59. package/dist/models/ProjectFilePublicFile.js +2 -1
  60. package/dist/models/ProjectSummaryWithAnalytics.d.ts +1 -1
  61. package/dist/models/ProjectWithAnalytics.d.ts +2 -2
  62. package/dist/models/RepDataConfigLegacy.d.ts +1 -1
  63. package/dist/models/RepDataConfigLegacy.js +3 -2
  64. package/dist/models/Thread.d.ts +5 -5
  65. package/dist/models/Thread.js +3 -2
  66. package/dist/models/TranscriptMessage.d.ts +1 -1
  67. package/dist/models/TranscriptMessage.js +2 -2
  68. package/dist/models/User.d.ts +3 -3
  69. package/dist/models/index.d.ts +1 -0
  70. package/dist/models/index.js +1 -0
  71. package/package.json +1 -1
  72. package/src/apis/DefaultApi.ts +7 -4
  73. package/src/models/ApiCallMessagesSearchPost200ResponseInner.ts +3 -3
  74. package/src/models/ApiFilesFileIdSignedUrlPost200Response.ts +3 -3
  75. package/src/models/ApiInviteCodeCodeGet200Response.ts +202 -0
  76. package/src/models/ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequestCall.ts +1 -1
  77. package/src/models/ApiInviteCodeCodeStartGet302Response.ts +6 -6
  78. package/src/models/ApiInvitesIdParticipantInvitesPostRequestParticipant.ts +1 -1
  79. package/src/models/ApiInvitesIdPutRequest.ts +5 -5
  80. package/src/models/ApiInvitesIdResponsesPostRequest.ts +1 -1
  81. package/src/models/ApiInvitesPostRequest.ts +3 -3
  82. package/src/models/ApiProjectsPostRequest.ts +1 -1
  83. package/src/models/ApiProjectsProjectIdFilesFileIdPutRequest.ts +1 -1
  84. package/src/models/ApiProjectsProjectIdFilesPostRequest.ts +1 -1
  85. package/src/models/ApiProjectsProjectIdPutRequest.ts +1 -1
  86. package/src/models/ApiThreadsThreadIdPostRequest.ts +2 -2
  87. package/src/models/Call.ts +17 -17
  88. package/src/models/ChatMessage.ts +2 -2
  89. package/src/models/ChatSession.ts +8 -8
  90. package/src/models/CodeInvite.ts +9 -9
  91. package/src/models/CodeInviteResponse.ts +5 -5
  92. package/src/models/ConversationMessage.ts +5 -5
  93. package/src/models/Invite.ts +5 -5
  94. package/src/models/InviteResponse.ts +6 -6
  95. package/src/models/InviteResponseData.ts +1 -1
  96. package/src/models/InviteWithAnalytics.ts +5 -5
  97. package/src/models/ModelFile.ts +9 -9
  98. package/src/models/Moderator.ts +8 -8
  99. package/src/models/Org.ts +1 -1
  100. package/src/models/Participant.ts +4 -4
  101. package/src/models/ParticipantCreate.ts +1 -1
  102. package/src/models/ParticipantInvite.ts +2 -2
  103. package/src/models/Project.ts +2 -2
  104. package/src/models/ProjectAudience.ts +4 -4
  105. package/src/models/ProjectFile.ts +3 -3
  106. package/src/models/ProjectFileCategory.ts +1 -0
  107. package/src/models/ProjectFilePublic.ts +2 -2
  108. package/src/models/ProjectFilePublicFile.ts +4 -4
  109. package/src/models/ProjectSummaryWithAnalytics.ts +1 -1
  110. package/src/models/ProjectWithAnalytics.ts +2 -2
  111. package/src/models/RepDataConfigLegacy.ts +3 -3
  112. package/src/models/Thread.ts +7 -7
  113. package/src/models/TranscriptMessage.ts +3 -3
  114. package/src/models/User.ts +3 -3
  115. package/src/models/index.ts +1 -0
@@ -90,7 +90,7 @@ export interface CodeInviteResponse {
90
90
  * @type {InviteResponseData}
91
91
  * @memberof CodeInviteResponse
92
92
  */
93
- data?: InviteResponseData;
93
+ data?: InviteResponseData | null;
94
94
  /**
95
95
  *
96
96
  * @type {InviteResponseStatus}
@@ -102,13 +102,13 @@ export interface CodeInviteResponse {
102
102
  * @type {string}
103
103
  * @memberof CodeInviteResponse
104
104
  */
105
- participantId?: string;
105
+ participantId?: string | null;
106
106
  /**
107
107
  *
108
108
  * @type {Participant}
109
109
  * @memberof CodeInviteResponse
110
110
  */
111
- participant?: Participant;
111
+ participant?: Participant | null;
112
112
  /**
113
113
  *
114
114
  * @type {Invite}
@@ -150,7 +150,7 @@ export function CodeInviteResponseFromJSONTyped(json: any, ignoreDiscriminator:
150
150
  'data': json['data'] == null ? undefined : InviteResponseDataFromJSON(json['data']),
151
151
  'status': InviteResponseStatusFromJSON(json['status']),
152
152
  'participantId': json['participantId'] == null ? undefined : json['participantId'],
153
- 'participant': json['participant'] == null ? undefined : json['participant'],
153
+ 'participant': json['participant'] == null ? undefined : ParticipantFromJSON(json['participant']),
154
154
  'invite': json['invite'] == null ? undefined : InviteFromJSON(json['invite']),
155
155
  };
156
156
  }
@@ -174,7 +174,7 @@ export function CodeInviteResponseToJSONTyped(value?: CodeInviteResponse | null,
174
174
  'data': InviteResponseDataToJSON(value['data']),
175
175
  'status': InviteResponseStatusToJSON(value['status']),
176
176
  'participantId': value['participantId'],
177
- 'participant': value['participant'],
177
+ 'participant': ParticipantToJSON(value['participant']),
178
178
  'invite': InviteToJSON(value['invite']),
179
179
  };
180
180
  }
@@ -57,7 +57,7 @@ export interface ConversationMessage {
57
57
  * @type {string}
58
58
  * @memberof ConversationMessage
59
59
  */
60
- source?: string;
60
+ source?: string | null;
61
61
  /**
62
62
  *
63
63
  * @type {Date}
@@ -93,7 +93,7 @@ export interface ConversationMessage {
93
93
  * @type {number}
94
94
  * @memberof ConversationMessage
95
95
  */
96
- conversationMessageTopicIndex?: number;
96
+ conversationMessageTopicIndex?: number | null;
97
97
  /**
98
98
  *
99
99
  * @type {Call}
@@ -105,7 +105,7 @@ export interface ConversationMessage {
105
105
  * @type {ConversationMessageTopic}
106
106
  * @memberof ConversationMessage
107
107
  */
108
- conversationMessageTopic?: ConversationMessageTopic;
108
+ conversationMessageTopic?: ConversationMessageTopic | null;
109
109
  }
110
110
 
111
111
  /**
@@ -144,7 +144,7 @@ export function ConversationMessageFromJSONTyped(json: any, ignoreDiscriminator:
144
144
  'secondsFromStart': json['secondsFromStart'],
145
145
  'conversationMessageTopicIndex': json['conversationMessageTopicIndex'] == null ? undefined : json['conversationMessageTopicIndex'],
146
146
  'call': json['call'] == null ? undefined : CallFromJSON(json['call']),
147
- 'conversationMessageTopic': json['conversationMessageTopic'] == null ? undefined : json['conversationMessageTopic'],
147
+ 'conversationMessageTopic': json['conversationMessageTopic'] == null ? undefined : ConversationMessageTopicFromJSON(json['conversationMessageTopic']),
148
148
  };
149
149
  }
150
150
 
@@ -170,7 +170,7 @@ export function ConversationMessageToJSONTyped(value?: ConversationMessage | nul
170
170
  'secondsFromStart': value['secondsFromStart'],
171
171
  'conversationMessageTopicIndex': value['conversationMessageTopicIndex'],
172
172
  'call': CallToJSON(value['call']),
173
- 'conversationMessageTopic': value['conversationMessageTopic'],
173
+ 'conversationMessageTopic': ConversationMessageTopicToJSON(value['conversationMessageTopic']),
174
174
  };
175
175
  }
176
176
 
@@ -86,7 +86,7 @@ export interface Invite {
86
86
  * @type {string}
87
87
  * @memberof Invite
88
88
  */
89
- description?: string;
89
+ description?: string | null;
90
90
  /**
91
91
  *
92
92
  * @type {InviteConfig}
@@ -122,13 +122,13 @@ export interface Invite {
122
122
  * @type {Date}
123
123
  * @memberof Invite
124
124
  */
125
- liveAt?: Date;
125
+ liveAt?: Date | null;
126
126
  /**
127
127
  *
128
128
  * @type {Date}
129
129
  * @memberof Invite
130
130
  */
131
- expiresAt?: Date;
131
+ expiresAt?: Date | null;
132
132
  /**
133
133
  *
134
134
  * @type {string}
@@ -240,8 +240,8 @@ export function InviteToJSONTyped(value?: Invite | null, ignoreDiscriminator: bo
240
240
  'status': InviteStatusToJSON(value['status']),
241
241
  'createdAt': ((value['createdAt']).toISOString()),
242
242
  'updatedAt': ((value['updatedAt']).toISOString()),
243
- 'liveAt': value['liveAt'] == null ? undefined : ((value['liveAt']).toISOString()),
244
- 'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
243
+ 'liveAt': value['liveAt'] === null ? null : ((value['liveAt'] as any)?.toISOString()),
244
+ 'expiresAt': value['expiresAt'] === null ? null : ((value['expiresAt'] as any)?.toISOString()),
245
245
  'createdById': value['createdById'],
246
246
  'projectId': value['projectId'],
247
247
  'createdBy': UserToJSON(value['createdBy']),
@@ -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'] == null ? undefined : ((value['liveAt']).toISOString()),
260
- 'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
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']),
@@ -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'] == null ? undefined : ((value['expiresAt']).toISOString()),
273
+ 'expiresAt': value['expiresAt'] === null ? null : ((value['expiresAt'] as any)?.toISOString()),
274
274
  'publicUrl': value['publicUrl'],
275
- 'publicUrlExpiresAt': value['publicUrlExpiresAt'] == null ? undefined : ((value['publicUrlExpiresAt']).toISOString()),
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)),
@@ -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,13 +103,13 @@ 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
- * @type {any}
109
+ * @type {object}
110
110
  * @memberof Moderator
111
111
  */
112
- vendorData?: any | null;
112
+ vendorData?: object | null;
113
113
  /**
114
114
  *
115
115
  * @type {string}
@@ -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
@@ -97,7 +97,7 @@ export interface Org {
97
97
  * @type {object}
98
98
  * @memberof Org
99
99
  */
100
- data?: object;
100
+ data?: object | null;
101
101
  /**
102
102
  *
103
103
  * @type {Array<User>}
@@ -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}
@@ -48,7 +48,7 @@ export interface ParticipantCreate {
48
48
  * @type {object}
49
49
  * @memberof ParticipantCreate
50
50
  */
51
- data?: object;
51
+ data?: object | null;
52
52
  }
53
53
 
54
54
  /**
@@ -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}
@@ -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
 
@@ -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}
@@ -20,6 +20,7 @@
20
20
  export const ProjectFileCategory = {
21
21
  Transcript: 'transcript',
22
22
  Attachment: 'attachment',
23
+ VisualAsset: 'visual_asset',
23
24
  Report: 'report',
24
25
  Analysis: 'analysis',
25
26
  Other: 'other'
@@ -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'] == null ? undefined : ((value['publicUrlExpiresAt']).toISOString()),
97
+ 'publicUrlExpiresAt': value['publicUrlExpiresAt'] === null ? null : ((value['publicUrlExpiresAt'] as any)?.toISOString()),
98
98
  };
99
99
  }
100
100
 
@@ -51,7 +51,7 @@ export interface ProjectSummaryWithAnalytics {
51
51
  * @type {string}
52
52
  * @memberof ProjectSummaryWithAnalytics
53
53
  */
54
- description?: string;
54
+ description?: string | null;
55
55
  /**
56
56
  *
57
57
  * @type {ProjectStatus}
@@ -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
  }