@gobodo/gobodo-api-promise 0.1.34 → 0.1.38
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/README.md +8 -3
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +14 -2
- package/dist/api/AdCampaignsApi.js +98 -2
- package/dist/api/AdManagementApi.js +146 -2
- package/dist/api/AdminDataManagementApi.js +14 -2
- package/dist/api/AdsApi.js +74 -2
- package/dist/api/AttachmentsApi.js +86 -2
- package/dist/api/AuthenticationApi.js +27 -27
- package/dist/api/CategoriesApi.js +86 -2
- package/dist/api/CommentsApi.js +98 -2
- package/dist/api/ContentManagementApi.js +290 -2
- package/dist/api/ConversationsApi.js +110 -2
- package/dist/api/DataSheetImportsApi.js +182 -2
- package/dist/api/DefaultApi.js +134 -2
- package/dist/api/DocumentsApi.js +158 -2
- package/dist/api/EntryPartsApi.js +158 -2
- package/dist/api/FacebookApi.js +6 -6
- package/dist/api/FieldsApi.js +38 -2
- package/dist/api/FilesApi.js +14 -2
- package/dist/api/FormsApi.js +218 -2
- package/dist/api/FunctionsApi.js +14 -2
- package/dist/api/GeocodeApi.js +62 -2
- package/dist/api/GoogleApi.js +6 -6
- package/dist/api/GraphActionsApi.js +122 -2
- package/dist/api/GraphObjectTypesApi.js +110 -2
- package/dist/api/GraphObjectsApi.js +779 -11
- package/dist/api/GraphRelationshipTypesApi.js +206 -2
- package/dist/api/GraphRelationshipsApi.js +374 -2
- package/dist/api/GraphSchemasApi.js +86 -2
- package/dist/api/GraphTraversalApi.js +144 -2
- package/dist/api/GraphsApi.js +134 -2
- package/dist/api/GroupsApi.js +134 -2
- package/dist/api/IAMApi.js +50 -2
- package/dist/api/ImagesApi.js +98 -2
- package/dist/api/InvitesApi.js +62 -2
- package/dist/api/LikesApi.js +146 -2
- package/dist/api/LinkedINApi.js +6 -6
- package/dist/api/LiveMeetingsApi.js +26 -2
- package/dist/api/MeetingEventsApi.js +62 -2
- package/dist/api/PagesApi.js +110 -2
- package/dist/api/PostsApi.js +62 -2
- package/dist/api/PrivateMessagesApi.js +194 -2
- package/dist/api/PublicationsApi.js +14 -2
- package/dist/api/ScreensApi.js +38 -2
- package/dist/api/SocialIntegrationApi.js +15 -15
- package/dist/api/StripeAccountsApi.js +458 -2
- package/dist/api/TagsApi.js +14 -2
- package/dist/api/TemplatesApi.js +38 -2
- package/dist/api/ThemeMappingsApi.js +38 -2
- package/dist/api/TransactionsApi.js +8 -8
- package/dist/api/TwitterApi.js +6 -6
- package/dist/api/UserTagsApi.js +110 -2
- package/dist/api/UsersApi.js +110 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +134 -2
- package/dist/index.js +5 -5
- package/dist/model/APIClient.js +2 -2
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +2 -2
- package/dist/model/Article.js +121 -121
- package/dist/model/AuthResponse.js +238 -0
- package/dist/model/Balance.js +34 -34
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +31 -31
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/Document.js +121 -121
- package/dist/model/DocumentPart.js +2 -2
- package/dist/model/DocumentPartType.js +2 -2
- package/dist/model/DocumentType.js +48 -48
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +26 -26
- package/dist/model/File.js +48 -48
- package/dist/model/FileAttachmentUploadObject.js +48 -48
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +2 -2
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/Graph.js +25 -25
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphDatabaseService.js +24 -24
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphObject.js +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +2 -2
- package/dist/model/GraphObjectType.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationObjectObject.js +2 -2
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +2 -2
- package/dist/model/GraphSchema.js +2 -2
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +70 -70
- package/dist/model/ImageUploadObject.js +70 -70
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +54 -54
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +85 -85
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +42 -42
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +25 -25
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +48 -48
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +23 -23
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.js +30 -30
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.js +60 -60
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +25 -25
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +26 -26
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/Sort.js +2 -2
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +30 -30
- package/dist/model/TemplateSchema.js +30 -30
- package/dist/model/ThemeMapping.js +39 -39
- package/dist/model/ThemeMappingPayload.js +25 -25
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +55 -55
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +77 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +55 -55
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +42 -42
- package/dist/model/UserDataPayload.js +42 -42
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +42 -42
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +81 -81
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +81 -81
- package/dist/model/VideoUploadObject.js +81 -81
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
package/dist/model/Document.js
CHANGED
|
@@ -23,7 +23,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
23
23
|
* gobodo-api
|
|
24
24
|
* REST Interface for Gobodo API
|
|
25
25
|
*
|
|
26
|
-
* The version of the OpenAPI document: 0.1.
|
|
26
|
+
* The version of the OpenAPI document: 0.1.38
|
|
27
27
|
* Contact: info@gobodo.io
|
|
28
28
|
*
|
|
29
29
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
34
34
|
/**
|
|
35
35
|
* The Document model module.
|
|
36
36
|
* @module model/Document
|
|
37
|
-
* @version 0.1.
|
|
37
|
+
* @version 0.1.38
|
|
38
38
|
*/
|
|
39
39
|
var Document = /*#__PURE__*/function () {
|
|
40
40
|
/**
|
|
@@ -121,21 +121,21 @@ var Document = /*#__PURE__*/function () {
|
|
|
121
121
|
this['description'] = description;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
|
-
* @return {
|
|
124
|
+
* @return {Object}
|
|
125
125
|
*/
|
|
126
126
|
}, {
|
|
127
|
-
key: "
|
|
128
|
-
value: function
|
|
129
|
-
return this.
|
|
127
|
+
key: "getEntrypartarray",
|
|
128
|
+
value: function getEntrypartarray() {
|
|
129
|
+
return this.entrypartarray;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
* @param {
|
|
133
|
+
* @param {Object} entrypartarray
|
|
134
134
|
*/
|
|
135
135
|
}, {
|
|
136
|
-
key: "
|
|
137
|
-
value: function
|
|
138
|
-
this['
|
|
136
|
+
key: "setEntrypartarray",
|
|
137
|
+
value: function setEntrypartarray(entrypartarray) {
|
|
138
|
+
this['entrypartarray'] = entrypartarray;
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
141
|
* @return {Date}
|
|
@@ -155,38 +155,89 @@ var Document = /*#__PURE__*/function () {
|
|
|
155
155
|
this['expirationdate'] = expirationdate;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
* @return {
|
|
158
|
+
* @return {module:model/DocumentType}
|
|
159
159
|
*/
|
|
160
160
|
}, {
|
|
161
|
-
key: "
|
|
162
|
-
value: function
|
|
163
|
-
return this.
|
|
161
|
+
key: "getDocumenttype",
|
|
162
|
+
value: function getDocumenttype() {
|
|
163
|
+
return this.documenttype;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
|
-
* @param {
|
|
167
|
+
* @param {module:model/DocumentType} documenttype
|
|
168
168
|
*/
|
|
169
169
|
}, {
|
|
170
|
-
key: "
|
|
171
|
-
value: function
|
|
172
|
-
this['
|
|
170
|
+
key: "setDocumenttype",
|
|
171
|
+
value: function setDocumenttype(documenttype) {
|
|
172
|
+
this['documenttype'] = documenttype;
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
* @return {
|
|
175
|
+
* @return {String}
|
|
176
176
|
*/
|
|
177
177
|
}, {
|
|
178
|
-
key: "
|
|
179
|
-
value: function
|
|
180
|
-
return this.
|
|
178
|
+
key: "getMainPhoto",
|
|
179
|
+
value: function getMainPhoto() {
|
|
180
|
+
return this.mainPhoto;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
* @param {
|
|
184
|
+
* @param {String} mainPhoto
|
|
185
185
|
*/
|
|
186
186
|
}, {
|
|
187
|
-
key: "
|
|
188
|
-
value: function
|
|
189
|
-
this['
|
|
187
|
+
key: "setMainPhoto",
|
|
188
|
+
value: function setMainPhoto(mainPhoto) {
|
|
189
|
+
this['mainPhoto'] = mainPhoto;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* @return {module:model/FilterManager}
|
|
193
|
+
*/
|
|
194
|
+
}, {
|
|
195
|
+
key: "getFilterManager",
|
|
196
|
+
value: function getFilterManager() {
|
|
197
|
+
return this.filterManager;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @param {module:model/FilterManager} filterManager
|
|
202
|
+
*/
|
|
203
|
+
}, {
|
|
204
|
+
key: "setFilterManager",
|
|
205
|
+
value: function setFilterManager(filterManager) {
|
|
206
|
+
this['filterManager'] = filterManager;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* @return {String}
|
|
210
|
+
*/
|
|
211
|
+
}, {
|
|
212
|
+
key: "getUnfilteredSubject",
|
|
213
|
+
value: function getUnfilteredSubject() {
|
|
214
|
+
return this.unfilteredSubject;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* @param {String} unfilteredSubject
|
|
219
|
+
*/
|
|
220
|
+
}, {
|
|
221
|
+
key: "setUnfilteredSubject",
|
|
222
|
+
value: function setUnfilteredSubject(unfilteredSubject) {
|
|
223
|
+
this['unfilteredSubject'] = unfilteredSubject;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* @return {Number}
|
|
227
|
+
*/
|
|
228
|
+
}, {
|
|
229
|
+
key: "getPagecount",
|
|
230
|
+
value: function getPagecount() {
|
|
231
|
+
return this.pagecount;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @param {Number} pagecount
|
|
236
|
+
*/
|
|
237
|
+
}, {
|
|
238
|
+
key: "setPagecount",
|
|
239
|
+
value: function setPagecount(pagecount) {
|
|
240
|
+
this['pagecount'] = pagecount;
|
|
190
241
|
}
|
|
191
242
|
/**
|
|
192
243
|
* @return {module:model/GraphIteratorEntryPart}
|
|
@@ -256,57 +307,6 @@ var Document = /*#__PURE__*/function () {
|
|
|
256
307
|
value: function setContributors(contributors) {
|
|
257
308
|
this['contributors'] = contributors;
|
|
258
309
|
}
|
|
259
|
-
/**
|
|
260
|
-
* @return {module:model/FilterManager}
|
|
261
|
-
*/
|
|
262
|
-
}, {
|
|
263
|
-
key: "getFilterManager",
|
|
264
|
-
value: function getFilterManager() {
|
|
265
|
-
return this.filterManager;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* @param {module:model/FilterManager} filterManager
|
|
270
|
-
*/
|
|
271
|
-
}, {
|
|
272
|
-
key: "setFilterManager",
|
|
273
|
-
value: function setFilterManager(filterManager) {
|
|
274
|
-
this['filterManager'] = filterManager;
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* @return {Object}
|
|
278
|
-
*/
|
|
279
|
-
}, {
|
|
280
|
-
key: "getEntrypartarray",
|
|
281
|
-
value: function getEntrypartarray() {
|
|
282
|
-
return this.entrypartarray;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* @param {Object} entrypartarray
|
|
287
|
-
*/
|
|
288
|
-
}, {
|
|
289
|
-
key: "setEntrypartarray",
|
|
290
|
-
value: function setEntrypartarray(entrypartarray) {
|
|
291
|
-
this['entrypartarray'] = entrypartarray;
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* @return {String}
|
|
295
|
-
*/
|
|
296
|
-
}, {
|
|
297
|
-
key: "getMainPhoto",
|
|
298
|
-
value: function getMainPhoto() {
|
|
299
|
-
return this.mainPhoto;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* @param {String} mainPhoto
|
|
304
|
-
*/
|
|
305
|
-
}, {
|
|
306
|
-
key: "setMainPhoto",
|
|
307
|
-
value: function setMainPhoto(mainPhoto) {
|
|
308
|
-
this['mainPhoto'] = mainPhoto;
|
|
309
|
-
}
|
|
310
310
|
/**
|
|
311
311
|
* @return {String}
|
|
312
312
|
*/
|
|
@@ -488,18 +488,27 @@ var Document = /*#__PURE__*/function () {
|
|
|
488
488
|
if (data.hasOwnProperty('description')) {
|
|
489
489
|
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
490
490
|
}
|
|
491
|
-
if (data.hasOwnProperty('
|
|
492
|
-
obj['
|
|
491
|
+
if (data.hasOwnProperty('entrypartarray')) {
|
|
492
|
+
obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
|
|
493
493
|
}
|
|
494
494
|
if (data.hasOwnProperty('expirationdate')) {
|
|
495
495
|
obj['expirationdate'] = _ApiClient["default"].convertToType(data['expirationdate'], 'Date');
|
|
496
496
|
}
|
|
497
|
-
if (data.hasOwnProperty('pagecount')) {
|
|
498
|
-
obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
|
|
499
|
-
}
|
|
500
497
|
if (data.hasOwnProperty('documenttype')) {
|
|
501
498
|
obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
|
|
502
499
|
}
|
|
500
|
+
if (data.hasOwnProperty('mainPhoto')) {
|
|
501
|
+
obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
|
|
502
|
+
}
|
|
503
|
+
if (data.hasOwnProperty('filterManager')) {
|
|
504
|
+
obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
|
|
505
|
+
}
|
|
506
|
+
if (data.hasOwnProperty('unfilteredSubject')) {
|
|
507
|
+
obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
|
|
508
|
+
}
|
|
509
|
+
if (data.hasOwnProperty('pagecount')) {
|
|
510
|
+
obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
|
|
511
|
+
}
|
|
503
512
|
if (data.hasOwnProperty('topentrypartarray')) {
|
|
504
513
|
obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
|
|
505
514
|
}
|
|
@@ -512,15 +521,6 @@ var Document = /*#__PURE__*/function () {
|
|
|
512
521
|
if (data.hasOwnProperty('contributors')) {
|
|
513
522
|
obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
|
|
514
523
|
}
|
|
515
|
-
if (data.hasOwnProperty('filterManager')) {
|
|
516
|
-
obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
|
|
517
|
-
}
|
|
518
|
-
if (data.hasOwnProperty('entrypartarray')) {
|
|
519
|
-
obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
|
|
520
|
-
}
|
|
521
|
-
if (data.hasOwnProperty('mainPhoto')) {
|
|
522
|
-
obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
|
|
523
|
-
}
|
|
524
524
|
if (data.hasOwnProperty('body')) {
|
|
525
525
|
obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
|
|
526
526
|
}
|
|
@@ -585,19 +585,14 @@ var Document = /*#__PURE__*/function () {
|
|
|
585
585
|
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
586
586
|
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
587
587
|
}
|
|
588
|
-
// ensure the json data is a string
|
|
589
|
-
if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
|
|
590
|
-
throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
|
|
591
|
-
}
|
|
592
588
|
// validate the optional field `documenttype`
|
|
593
589
|
if (data['documenttype']) {
|
|
594
590
|
// data not null
|
|
595
591
|
_DocumentType["default"].validateJSON(data['documenttype']);
|
|
596
592
|
}
|
|
597
|
-
//
|
|
598
|
-
if (data['
|
|
599
|
-
|
|
600
|
-
_GraphIteratorEntryPart["default"].validateJSON(data['topentrypartarray']);
|
|
593
|
+
// ensure the json data is a string
|
|
594
|
+
if (data['mainPhoto'] && !(typeof data['mainPhoto'] === 'string' || data['mainPhoto'] instanceof String)) {
|
|
595
|
+
throw new Error("Expected the field `mainPhoto` to be a primitive type in the JSON string but got " + data['mainPhoto']);
|
|
601
596
|
}
|
|
602
597
|
// validate the optional field `filterManager`
|
|
603
598
|
if (data['filterManager']) {
|
|
@@ -605,8 +600,13 @@ var Document = /*#__PURE__*/function () {
|
|
|
605
600
|
_FilterManager["default"].validateJSON(data['filterManager']);
|
|
606
601
|
}
|
|
607
602
|
// ensure the json data is a string
|
|
608
|
-
if (data['
|
|
609
|
-
throw new Error("Expected the field `
|
|
603
|
+
if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
|
|
604
|
+
throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
|
|
605
|
+
}
|
|
606
|
+
// validate the optional field `topentrypartarray`
|
|
607
|
+
if (data['topentrypartarray']) {
|
|
608
|
+
// data not null
|
|
609
|
+
_GraphIteratorEntryPart["default"].validateJSON(data['topentrypartarray']);
|
|
610
610
|
}
|
|
611
611
|
// ensure the json data is a string
|
|
612
612
|
if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
|
|
@@ -642,9 +642,9 @@ Document.prototype['status'] = undefined;
|
|
|
642
642
|
Document.prototype['description'] = undefined;
|
|
643
643
|
|
|
644
644
|
/**
|
|
645
|
-
* @member {
|
|
645
|
+
* @member {Object} entrypartarray
|
|
646
646
|
*/
|
|
647
|
-
Document.prototype['
|
|
647
|
+
Document.prototype['entrypartarray'] = undefined;
|
|
648
648
|
|
|
649
649
|
/**
|
|
650
650
|
* @member {Date} expirationdate
|
|
@@ -652,49 +652,49 @@ Document.prototype['unfilteredSubject'] = undefined;
|
|
|
652
652
|
Document.prototype['expirationdate'] = undefined;
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
|
-
* @member {
|
|
655
|
+
* @member {module:model/DocumentType} documenttype
|
|
656
656
|
*/
|
|
657
|
-
Document.prototype['
|
|
657
|
+
Document.prototype['documenttype'] = undefined;
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
|
-
* @member {
|
|
660
|
+
* @member {String} mainPhoto
|
|
661
661
|
*/
|
|
662
|
-
Document.prototype['
|
|
662
|
+
Document.prototype['mainPhoto'] = undefined;
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
|
-
* @member {module:model/
|
|
665
|
+
* @member {module:model/FilterManager} filterManager
|
|
666
666
|
*/
|
|
667
|
-
Document.prototype['
|
|
667
|
+
Document.prototype['filterManager'] = undefined;
|
|
668
668
|
|
|
669
669
|
/**
|
|
670
|
-
* @member {
|
|
670
|
+
* @member {String} unfilteredSubject
|
|
671
671
|
*/
|
|
672
|
-
Document.prototype['
|
|
672
|
+
Document.prototype['unfilteredSubject'] = undefined;
|
|
673
673
|
|
|
674
674
|
/**
|
|
675
|
-
* @member {
|
|
675
|
+
* @member {Number} pagecount
|
|
676
676
|
*/
|
|
677
|
-
Document.prototype['
|
|
677
|
+
Document.prototype['pagecount'] = undefined;
|
|
678
678
|
|
|
679
679
|
/**
|
|
680
|
-
* @member {
|
|
680
|
+
* @member {module:model/GraphIteratorEntryPart} topentrypartarray
|
|
681
681
|
*/
|
|
682
|
-
Document.prototype['
|
|
682
|
+
Document.prototype['topentrypartarray'] = undefined;
|
|
683
683
|
|
|
684
684
|
/**
|
|
685
|
-
* @member {
|
|
685
|
+
* @member {Object} relatedarticles
|
|
686
686
|
*/
|
|
687
|
-
Document.prototype['
|
|
687
|
+
Document.prototype['relatedarticles'] = undefined;
|
|
688
688
|
|
|
689
689
|
/**
|
|
690
|
-
* @member {Object}
|
|
690
|
+
* @member {Object} keywords
|
|
691
691
|
*/
|
|
692
|
-
Document.prototype['
|
|
692
|
+
Document.prototype['keywords'] = undefined;
|
|
693
693
|
|
|
694
694
|
/**
|
|
695
|
-
* @member {
|
|
695
|
+
* @member {Array.<module:model/User>} contributors
|
|
696
696
|
*/
|
|
697
|
-
Document.prototype['
|
|
697
|
+
Document.prototype['contributors'] = undefined;
|
|
698
698
|
|
|
699
699
|
/**
|
|
700
700
|
* @member {String} body
|
|
@@ -21,7 +21,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
21
21
|
* gobodo-api
|
|
22
22
|
* REST Interface for Gobodo API
|
|
23
23
|
*
|
|
24
|
-
* The version of the OpenAPI document: 0.1.
|
|
24
|
+
* The version of the OpenAPI document: 0.1.38
|
|
25
25
|
* Contact: info@gobodo.io
|
|
26
26
|
*
|
|
27
27
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The DocumentPart model module.
|
|
34
34
|
* @module model/DocumentPart
|
|
35
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.38
|
|
36
36
|
*/
|
|
37
37
|
var DocumentPart = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
17
17
|
* gobodo-api
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.38
|
|
21
21
|
* Contact: info@gobodo.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The DocumentPartType model module.
|
|
30
30
|
* @module model/DocumentPartType
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.38
|
|
32
32
|
*/
|
|
33
33
|
var DocumentPartType = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
17
17
|
* gobodo-api
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.38
|
|
21
21
|
* Contact: info@gobodo.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The DocumentType model module.
|
|
30
30
|
* @module model/DocumentType
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.38
|
|
32
32
|
*/
|
|
33
33
|
var DocumentType = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -84,35 +84,35 @@ var DocumentType = /*#__PURE__*/function () {
|
|
|
84
84
|
* @return {Object}
|
|
85
85
|
*/
|
|
86
86
|
}, {
|
|
87
|
-
key: "
|
|
88
|
-
value: function
|
|
89
|
-
return this.
|
|
87
|
+
key: "getChildTypes",
|
|
88
|
+
value: function getChildTypes() {
|
|
89
|
+
return this.childTypes;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* @param {Object}
|
|
93
|
+
* @param {Object} childTypes
|
|
94
94
|
*/
|
|
95
95
|
}, {
|
|
96
|
-
key: "
|
|
97
|
-
value: function
|
|
98
|
-
this['
|
|
96
|
+
key: "setChildTypes",
|
|
97
|
+
value: function setChildTypes(childTypes) {
|
|
98
|
+
this['childTypes'] = childTypes;
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
|
-
* @return {
|
|
101
|
+
* @return {String}
|
|
102
102
|
*/
|
|
103
103
|
}, {
|
|
104
|
-
key: "
|
|
105
|
-
value: function
|
|
106
|
-
return this.
|
|
104
|
+
key: "getSingleDescription",
|
|
105
|
+
value: function getSingleDescription() {
|
|
106
|
+
return this.singleDescription;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
* @param {
|
|
110
|
+
* @param {String} singleDescription
|
|
111
111
|
*/
|
|
112
112
|
}, {
|
|
113
|
-
key: "
|
|
114
|
-
value: function
|
|
115
|
-
this['
|
|
113
|
+
key: "setSingleDescription",
|
|
114
|
+
value: function setSingleDescription(singleDescription) {
|
|
115
|
+
this['singleDescription'] = singleDescription;
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
118
|
* @return {Boolean}
|
|
@@ -135,35 +135,35 @@ var DocumentType = /*#__PURE__*/function () {
|
|
|
135
135
|
* @return {Object}
|
|
136
136
|
*/
|
|
137
137
|
}, {
|
|
138
|
-
key: "
|
|
139
|
-
value: function
|
|
140
|
-
return this.
|
|
138
|
+
key: "getEntryPartTypes",
|
|
139
|
+
value: function getEntryPartTypes() {
|
|
140
|
+
return this.entryPartTypes;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* @param {Object}
|
|
144
|
+
* @param {Object} entryPartTypes
|
|
145
145
|
*/
|
|
146
146
|
}, {
|
|
147
|
-
key: "
|
|
148
|
-
value: function
|
|
149
|
-
this['
|
|
147
|
+
key: "setEntryPartTypes",
|
|
148
|
+
value: function setEntryPartTypes(entryPartTypes) {
|
|
149
|
+
this['entryPartTypes'] = entryPartTypes;
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
|
-
* @return {
|
|
152
|
+
* @return {Boolean}
|
|
153
153
|
*/
|
|
154
154
|
}, {
|
|
155
|
-
key: "
|
|
156
|
-
value: function
|
|
157
|
-
return this.
|
|
155
|
+
key: "getMediaItem",
|
|
156
|
+
value: function getMediaItem() {
|
|
157
|
+
return this.mediaItem;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* @param {
|
|
161
|
+
* @param {Boolean} mediaItem
|
|
162
162
|
*/
|
|
163
163
|
}, {
|
|
164
|
-
key: "
|
|
165
|
-
value: function
|
|
166
|
-
this['
|
|
164
|
+
key: "setMediaItem",
|
|
165
|
+
value: function setMediaItem(mediaItem) {
|
|
166
|
+
this['mediaItem'] = mediaItem;
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
169
|
* @return {String}
|
|
@@ -306,20 +306,20 @@ var DocumentType = /*#__PURE__*/function () {
|
|
|
306
306
|
if (data.hasOwnProperty('parent')) {
|
|
307
307
|
obj['parent'] = DocumentType.constructFromObject(data['parent']);
|
|
308
308
|
}
|
|
309
|
-
if (data.hasOwnProperty('
|
|
310
|
-
obj['
|
|
309
|
+
if (data.hasOwnProperty('childTypes')) {
|
|
310
|
+
obj['childTypes'] = _ApiClient["default"].convertToType(data['childTypes'], Object);
|
|
311
311
|
}
|
|
312
|
-
if (data.hasOwnProperty('
|
|
313
|
-
obj['
|
|
312
|
+
if (data.hasOwnProperty('singleDescription')) {
|
|
313
|
+
obj['singleDescription'] = _ApiClient["default"].convertToType(data['singleDescription'], 'String');
|
|
314
314
|
}
|
|
315
315
|
if (data.hasOwnProperty('singlePart')) {
|
|
316
316
|
obj['singlePart'] = _ApiClient["default"].convertToType(data['singlePart'], 'Boolean');
|
|
317
317
|
}
|
|
318
|
-
if (data.hasOwnProperty('
|
|
319
|
-
obj['
|
|
318
|
+
if (data.hasOwnProperty('entryPartTypes')) {
|
|
319
|
+
obj['entryPartTypes'] = _ApiClient["default"].convertToType(data['entryPartTypes'], Object);
|
|
320
320
|
}
|
|
321
|
-
if (data.hasOwnProperty('
|
|
322
|
-
obj['
|
|
321
|
+
if (data.hasOwnProperty('mediaItem')) {
|
|
322
|
+
obj['mediaItem'] = _ApiClient["default"].convertToType(data['mediaItem'], 'Boolean');
|
|
323
323
|
}
|
|
324
324
|
if (data.hasOwnProperty('description')) {
|
|
325
325
|
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
@@ -397,14 +397,14 @@ DocumentType.prototype['name'] = undefined;
|
|
|
397
397
|
DocumentType.prototype['parent'] = undefined;
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
|
-
* @member {Object}
|
|
400
|
+
* @member {Object} childTypes
|
|
401
401
|
*/
|
|
402
|
-
DocumentType.prototype['
|
|
402
|
+
DocumentType.prototype['childTypes'] = undefined;
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
|
-
* @member {
|
|
405
|
+
* @member {String} singleDescription
|
|
406
406
|
*/
|
|
407
|
-
DocumentType.prototype['
|
|
407
|
+
DocumentType.prototype['singleDescription'] = undefined;
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
410
|
* @member {Boolean} singlePart
|
|
@@ -412,14 +412,14 @@ DocumentType.prototype['mediaItem'] = undefined;
|
|
|
412
412
|
DocumentType.prototype['singlePart'] = undefined;
|
|
413
413
|
|
|
414
414
|
/**
|
|
415
|
-
* @member {Object}
|
|
415
|
+
* @member {Object} entryPartTypes
|
|
416
416
|
*/
|
|
417
|
-
DocumentType.prototype['
|
|
417
|
+
DocumentType.prototype['entryPartTypes'] = undefined;
|
|
418
418
|
|
|
419
419
|
/**
|
|
420
|
-
* @member {
|
|
420
|
+
* @member {Boolean} mediaItem
|
|
421
421
|
*/
|
|
422
|
-
DocumentType.prototype['
|
|
422
|
+
DocumentType.prototype['mediaItem'] = undefined;
|
|
423
423
|
|
|
424
424
|
/**
|
|
425
425
|
* @member {String} description
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.38
|
|
19
19
|
* Contact: info@gobodo.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The FieldMapping model module.
|
|
28
28
|
* @module model/FieldMapping
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.38
|
|
30
30
|
*/
|
|
31
31
|
var FieldMapping = /*#__PURE__*/function () {
|
|
32
32
|
/**
|