@gobodo/gobodo-api-promise 0.1.34 → 0.1.36

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 (188) hide show
  1. package/README.md +3 -3
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/ActionTypesApi.js +2 -2
  4. package/dist/api/AdCampaignsApi.js +2 -2
  5. package/dist/api/AdManagementApi.js +2 -2
  6. package/dist/api/AdminDataManagementApi.js +2 -2
  7. package/dist/api/AdsApi.js +2 -2
  8. package/dist/api/AttachmentsApi.js +2 -2
  9. package/dist/api/AuthenticationApi.js +27 -27
  10. package/dist/api/CategoriesApi.js +2 -2
  11. package/dist/api/CommentsApi.js +2 -2
  12. package/dist/api/ContentManagementApi.js +2 -2
  13. package/dist/api/ConversationsApi.js +2 -2
  14. package/dist/api/DataSheetImportsApi.js +2 -2
  15. package/dist/api/DefaultApi.js +2 -2
  16. package/dist/api/DocumentsApi.js +2 -2
  17. package/dist/api/EntryPartsApi.js +2 -2
  18. package/dist/api/FacebookApi.js +6 -6
  19. package/dist/api/FieldsApi.js +2 -2
  20. package/dist/api/FilesApi.js +2 -2
  21. package/dist/api/FormsApi.js +2 -2
  22. package/dist/api/FunctionsApi.js +2 -2
  23. package/dist/api/GeocodeApi.js +2 -2
  24. package/dist/api/GoogleApi.js +6 -6
  25. package/dist/api/GraphActionsApi.js +2 -2
  26. package/dist/api/GraphObjectTypesApi.js +2 -2
  27. package/dist/api/GraphObjectsApi.js +2 -2
  28. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  29. package/dist/api/GraphRelationshipsApi.js +2 -2
  30. package/dist/api/GraphSchemasApi.js +2 -2
  31. package/dist/api/GraphTraversalApi.js +2 -2
  32. package/dist/api/GraphsApi.js +2 -2
  33. package/dist/api/GroupsApi.js +2 -2
  34. package/dist/api/IAMApi.js +2 -2
  35. package/dist/api/ImagesApi.js +2 -2
  36. package/dist/api/InvitesApi.js +2 -2
  37. package/dist/api/LikesApi.js +2 -2
  38. package/dist/api/LinkedINApi.js +6 -6
  39. package/dist/api/LiveMeetingsApi.js +2 -2
  40. package/dist/api/MeetingEventsApi.js +2 -2
  41. package/dist/api/PagesApi.js +2 -2
  42. package/dist/api/PostsApi.js +2 -2
  43. package/dist/api/PrivateMessagesApi.js +2 -2
  44. package/dist/api/PublicationsApi.js +2 -2
  45. package/dist/api/ScreensApi.js +2 -2
  46. package/dist/api/SocialIntegrationApi.js +15 -15
  47. package/dist/api/StripeAccountsApi.js +2 -2
  48. package/dist/api/TagsApi.js +2 -2
  49. package/dist/api/TemplatesApi.js +2 -2
  50. package/dist/api/ThemeMappingsApi.js +2 -2
  51. package/dist/api/TransactionsApi.js +2 -2
  52. package/dist/api/TwitterApi.js +6 -6
  53. package/dist/api/UserTagsApi.js +2 -2
  54. package/dist/api/UsersApi.js +2 -2
  55. package/dist/api/UtilsApi.js +2 -2
  56. package/dist/api/VideosApi.js +2 -2
  57. package/dist/index.js +5 -5
  58. package/dist/model/APIClient.js +2 -2
  59. package/dist/model/AccountSessionInput.js +2 -2
  60. package/dist/model/AccountSessionResponse.js +2 -2
  61. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  62. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +2 -2
  64. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +2 -2
  65. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +2 -2
  66. package/dist/model/Article.js +131 -131
  67. package/dist/model/AuthResponse.js +238 -0
  68. package/dist/model/Balance.js +2 -2
  69. package/dist/model/BalanceDetails.js +2 -2
  70. package/dist/model/BalanceResponse.js +2 -2
  71. package/dist/model/BankAccountInfo.js +2 -2
  72. package/dist/model/CardInfo.js +2 -2
  73. package/dist/model/Comment.js +38 -38
  74. package/dist/model/Coordinates.js +2 -2
  75. package/dist/model/CreateAccountResponse.js +2 -2
  76. package/dist/model/CreateStripeAccountInput.js +2 -2
  77. package/dist/model/CreateStripeCustomerInput.js +2 -2
  78. package/dist/model/CustomerResponse.js +2 -2
  79. package/dist/model/DataObject.js +2 -2
  80. package/dist/model/DataSheetImport.js +2 -2
  81. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  82. package/dist/model/DataSheetImportSummary.js +2 -2
  83. package/dist/model/Document.js +131 -131
  84. package/dist/model/DocumentPart.js +2 -2
  85. package/dist/model/DocumentPartType.js +25 -25
  86. package/dist/model/DocumentType.js +48 -48
  87. package/dist/model/FieldMapping.js +2 -2
  88. package/dist/model/Fields.js +52 -52
  89. package/dist/model/File.js +31 -31
  90. package/dist/model/FileAttachmentUploadObject.js +31 -31
  91. package/dist/model/Filter.js +2 -2
  92. package/dist/model/FilterManager.js +2 -2
  93. package/dist/model/Form.js +29 -29
  94. package/dist/model/FormSection.js +2 -2
  95. package/dist/model/FormSubmission.js +2 -2
  96. package/dist/model/Geocode.js +2 -2
  97. package/dist/model/GeocodePayload.js +2 -2
  98. package/dist/model/GeolocationInput.js +2 -2
  99. package/dist/model/Graph.js +2 -2
  100. package/dist/model/GraphAction.js +2 -2
  101. package/dist/model/GraphDatabaseService.js +29 -29
  102. package/dist/model/GraphGeocode.js +2 -2
  103. package/dist/model/GraphIteratorEntryPart.js +2 -2
  104. package/dist/model/GraphObject.js +2 -2
  105. package/dist/model/GraphObjectPayload.js +2 -2
  106. package/dist/model/GraphObjectSchema.js +2 -2
  107. package/dist/model/GraphObjectType.js +2 -2
  108. package/dist/model/GraphObjectTypeSchema.js +2 -2
  109. package/dist/model/GraphOwner.js +2 -2
  110. package/dist/model/GraphRelationObjectObject.js +2 -2
  111. package/dist/model/GraphRelationship.js +2 -2
  112. package/dist/model/GraphRelationshipPayload.js +2 -2
  113. package/dist/model/GraphRelationshipType.js +2 -2
  114. package/dist/model/GraphSchema.js +90 -90
  115. package/dist/model/GraphTraversalInput.js +2 -2
  116. package/dist/model/Image.js +63 -63
  117. package/dist/model/ImageUploadObject.js +63 -63
  118. package/dist/model/InputPart.js +29 -29
  119. package/dist/model/InputPartMediaType.js +2 -2
  120. package/dist/model/Link.js +28 -28
  121. package/dist/model/LiveStreamInfo.js +2 -2
  122. package/dist/model/MeetingEvent.js +31 -31
  123. package/dist/model/MeetingEventTimezone.js +2 -2
  124. package/dist/model/MeetingInfo.js +2 -2
  125. package/dist/model/Member.js +65 -65
  126. package/dist/model/MemberGroupCategory.js +2 -2
  127. package/dist/model/MemberList.js +2 -2
  128. package/dist/model/MessageGroup.js +25 -25
  129. package/dist/model/MultipartBody.js +2 -2
  130. package/dist/model/Objecttype.js +2 -2
  131. package/dist/model/Page.js +2 -2
  132. package/dist/model/PageSchema.js +75 -75
  133. package/dist/model/Pageable.js +2 -2
  134. package/dist/model/Path.js +2 -2
  135. package/dist/model/PaymentAccountObject.js +2 -2
  136. package/dist/model/PaymentIntentInput.js +2 -2
  137. package/dist/model/PaymentIntentResponse.js +2 -2
  138. package/dist/model/PaymentMethod.js +23 -23
  139. package/dist/model/PaymentMethodInput.js +2 -2
  140. package/dist/model/PaymentMethodResponse.js +2 -2
  141. package/dist/model/PaymentMethodsResponse.js +2 -2
  142. package/dist/model/Payout.js +30 -30
  143. package/dist/model/PayoutInput.js +2 -2
  144. package/dist/model/PayoutResponse.js +2 -2
  145. package/dist/model/Post.js +2 -2
  146. package/dist/model/PrivateMessage.js +2 -2
  147. package/dist/model/PrivateMessageConversation.js +33 -33
  148. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  149. package/dist/model/Profile.js +2 -2
  150. package/dist/model/Profiletype.js +2 -2
  151. package/dist/model/PropertyContainer.js +25 -25
  152. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  153. package/dist/model/RelationshipMapping.js +2 -2
  154. package/dist/model/ScreenSchema.js +2 -2
  155. package/dist/model/SimulcastInfo.js +2 -2
  156. package/dist/model/SkinField.js +52 -52
  157. package/dist/model/SocialGroup.js +2 -2
  158. package/dist/model/SocialGroupType.js +2 -2
  159. package/dist/model/Sort.js +2 -2
  160. package/dist/model/SourceTypes.js +2 -2
  161. package/dist/model/StatusUpdate.js +2 -2
  162. package/dist/model/StreetAddress.js +2 -2
  163. package/dist/model/StripeAccount.js +2 -2
  164. package/dist/model/StripeCustomerAccount.js +2 -2
  165. package/dist/model/Template.js +2 -2
  166. package/dist/model/TemplateSchema.js +2 -2
  167. package/dist/model/ThemeMapping.js +2 -2
  168. package/dist/model/ThemeMappingPayload.js +2 -2
  169. package/dist/model/Transaction.js +2 -2
  170. package/dist/model/Transfer.js +31 -31
  171. package/dist/model/TransferInput.js +2 -2
  172. package/dist/model/TransferResponse.js +77 -2
  173. package/dist/model/TransferResponsePaymentMethodDetails.js +31 -31
  174. package/dist/model/TraversalRelationResponse.js +2 -2
  175. package/dist/model/User.js +65 -65
  176. package/dist/model/UserDataPayload.js +65 -65
  177. package/dist/model/UserDomain.js +2 -2
  178. package/dist/model/UserInvite.js +2 -2
  179. package/dist/model/UserInviteInput.js +2 -2
  180. package/dist/model/UserSchema.js +65 -65
  181. package/dist/model/UserTag.js +2 -2
  182. package/dist/model/Userid.js +2 -2
  183. package/dist/model/Video.js +68 -68
  184. package/dist/model/VideoLiveUrl.js +2 -2
  185. package/dist/model/VideoSchema.js +68 -68
  186. package/dist/model/VideoUploadObject.js +68 -68
  187. package/dist/model/ZeusPortalCategory.js +2 -2
  188. package/package.json +1 -1
@@ -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.34
26
+ * The version of the OpenAPI document: 0.1.36
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.34
37
+ * @version 0.1.36
38
38
  */
39
39
  var Document = /*#__PURE__*/function () {
40
40
  /**
@@ -87,55 +87,55 @@ var Document = /*#__PURE__*/function () {
87
87
  this['creatorpageid'] = creatorpageid;
88
88
  }
89
89
  /**
90
- * @return {Number}
90
+ * @return {String}
91
91
  */
92
92
  }, {
93
- key: "getStatus",
94
- value: function getStatus() {
95
- return this.status;
93
+ key: "getDescription",
94
+ value: function getDescription() {
95
+ return this.description;
96
96
  }
97
97
 
98
98
  /**
99
- * @param {Number} status
99
+ * @param {String} description
100
100
  */
101
101
  }, {
102
- key: "setStatus",
103
- value: function setStatus(status) {
104
- this['status'] = status;
102
+ key: "setDescription",
103
+ value: function setDescription(description) {
104
+ this['description'] = description;
105
105
  }
106
106
  /**
107
- * @return {String}
107
+ * @return {Number}
108
108
  */
109
109
  }, {
110
- key: "getDescription",
111
- value: function getDescription() {
112
- return this.description;
110
+ key: "getStatus",
111
+ value: function getStatus() {
112
+ return this.status;
113
113
  }
114
114
 
115
115
  /**
116
- * @param {String} description
116
+ * @param {Number} status
117
117
  */
118
118
  }, {
119
- key: "setDescription",
120
- value: function setDescription(description) {
121
- this['description'] = description;
119
+ key: "setStatus",
120
+ value: function setStatus(status) {
121
+ this['status'] = status;
122
122
  }
123
123
  /**
124
- * @return {String}
124
+ * @return {Object}
125
125
  */
126
126
  }, {
127
- key: "getUnfilteredSubject",
128
- value: function getUnfilteredSubject() {
129
- return this.unfilteredSubject;
127
+ key: "getEntrypartarray",
128
+ value: function getEntrypartarray() {
129
+ return this.entrypartarray;
130
130
  }
131
131
 
132
132
  /**
133
- * @param {String} unfilteredSubject
133
+ * @param {Object} entrypartarray
134
134
  */
135
135
  }, {
136
- key: "setUnfilteredSubject",
137
- value: function setUnfilteredSubject(unfilteredSubject) {
138
- this['unfilteredSubject'] = unfilteredSubject;
136
+ key: "setEntrypartarray",
137
+ value: function setEntrypartarray(entrypartarray) {
138
+ this['entrypartarray'] = entrypartarray;
139
139
  }
140
140
  /**
141
141
  * @return {Date}
@@ -155,38 +155,72 @@ var Document = /*#__PURE__*/function () {
155
155
  this['expirationdate'] = expirationdate;
156
156
  }
157
157
  /**
158
- * @return {Number}
158
+ * @return {module:model/DocumentType}
159
159
  */
160
160
  }, {
161
- key: "getPagecount",
162
- value: function getPagecount() {
163
- return this.pagecount;
161
+ key: "getDocumenttype",
162
+ value: function getDocumenttype() {
163
+ return this.documenttype;
164
164
  }
165
165
 
166
166
  /**
167
- * @param {Number} pagecount
167
+ * @param {module:model/DocumentType} documenttype
168
168
  */
169
169
  }, {
170
- key: "setPagecount",
171
- value: function setPagecount(pagecount) {
172
- this['pagecount'] = pagecount;
170
+ key: "setDocumenttype",
171
+ value: function setDocumenttype(documenttype) {
172
+ this['documenttype'] = documenttype;
173
173
  }
174
174
  /**
175
- * @return {module:model/DocumentType}
175
+ * @return {String}
176
176
  */
177
177
  }, {
178
- key: "getDocumenttype",
179
- value: function getDocumenttype() {
180
- return this.documenttype;
178
+ key: "getMainPhoto",
179
+ value: function getMainPhoto() {
180
+ return this.mainPhoto;
181
181
  }
182
182
 
183
183
  /**
184
- * @param {module:model/DocumentType} documenttype
184
+ * @param {String} mainPhoto
185
185
  */
186
186
  }, {
187
- key: "setDocumenttype",
188
- value: function setDocumenttype(documenttype) {
189
- this['documenttype'] = documenttype;
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 {Number}
210
+ */
211
+ }, {
212
+ key: "getPagecount",
213
+ value: function getPagecount() {
214
+ return this.pagecount;
215
+ }
216
+
217
+ /**
218
+ * @param {Number} pagecount
219
+ */
220
+ }, {
221
+ key: "setPagecount",
222
+ value: function setPagecount(pagecount) {
223
+ this['pagecount'] = pagecount;
190
224
  }
191
225
  /**
192
226
  * @return {module:model/GraphIteratorEntryPart}
@@ -256,56 +290,22 @@ var Document = /*#__PURE__*/function () {
256
290
  value: function setContributors(contributors) {
257
291
  this['contributors'] = contributors;
258
292
  }
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
293
  /**
294
294
  * @return {String}
295
295
  */
296
296
  }, {
297
- key: "getMainPhoto",
298
- value: function getMainPhoto() {
299
- return this.mainPhoto;
297
+ key: "getUnfilteredSubject",
298
+ value: function getUnfilteredSubject() {
299
+ return this.unfilteredSubject;
300
300
  }
301
301
 
302
302
  /**
303
- * @param {String} mainPhoto
303
+ * @param {String} unfilteredSubject
304
304
  */
305
305
  }, {
306
- key: "setMainPhoto",
307
- value: function setMainPhoto(mainPhoto) {
308
- this['mainPhoto'] = mainPhoto;
306
+ key: "setUnfilteredSubject",
307
+ value: function setUnfilteredSubject(unfilteredSubject) {
308
+ this['unfilteredSubject'] = unfilteredSubject;
309
309
  }
310
310
  /**
311
311
  * @return {String}
@@ -482,24 +482,30 @@ var Document = /*#__PURE__*/function () {
482
482
  if (data.hasOwnProperty('creatorpageid')) {
483
483
  obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
484
484
  }
485
- if (data.hasOwnProperty('status')) {
486
- obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
487
- }
488
485
  if (data.hasOwnProperty('description')) {
489
486
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
490
487
  }
491
- if (data.hasOwnProperty('unfilteredSubject')) {
492
- obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
488
+ if (data.hasOwnProperty('status')) {
489
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
490
+ }
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('pagecount')) {
507
+ obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
508
+ }
503
509
  if (data.hasOwnProperty('topentrypartarray')) {
504
510
  obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
505
511
  }
@@ -512,14 +518,8 @@ var Document = /*#__PURE__*/function () {
512
518
  if (data.hasOwnProperty('contributors')) {
513
519
  obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
514
520
  }
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');
521
+ if (data.hasOwnProperty('unfilteredSubject')) {
522
+ obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
523
523
  }
524
524
  if (data.hasOwnProperty('body')) {
525
525
  obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
@@ -585,28 +585,28 @@ 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
- // validate the optional field `topentrypartarray`
598
- if (data['topentrypartarray']) {
599
- // data not null
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']) {
604
599
  // data not null
605
600
  _FilterManager["default"].validateJSON(data['filterManager']);
606
601
  }
602
+ // validate the optional field `topentrypartarray`
603
+ if (data['topentrypartarray']) {
604
+ // data not null
605
+ _GraphIteratorEntryPart["default"].validateJSON(data['topentrypartarray']);
606
+ }
607
607
  // ensure the json data is a string
608
- if (data['mainPhoto'] && !(typeof data['mainPhoto'] === 'string' || data['mainPhoto'] instanceof String)) {
609
- throw new Error("Expected the field `mainPhoto` to be a primitive type in the JSON string but got " + data['mainPhoto']);
608
+ if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
609
+ throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
610
610
  }
611
611
  // ensure the json data is a string
612
612
  if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
@@ -632,19 +632,19 @@ Document.prototype['documentparts'] = undefined;
632
632
  Document.prototype['creatorpageid'] = undefined;
633
633
 
634
634
  /**
635
- * @member {Number} status
635
+ * @member {String} description
636
636
  */
637
- Document.prototype['status'] = undefined;
637
+ Document.prototype['description'] = undefined;
638
638
 
639
639
  /**
640
- * @member {String} description
640
+ * @member {Number} status
641
641
  */
642
- Document.prototype['description'] = undefined;
642
+ Document.prototype['status'] = undefined;
643
643
 
644
644
  /**
645
- * @member {String} unfilteredSubject
645
+ * @member {Object} entrypartarray
646
646
  */
647
- Document.prototype['unfilteredSubject'] = undefined;
647
+ Document.prototype['entrypartarray'] = undefined;
648
648
 
649
649
  /**
650
650
  * @member {Date} expirationdate
@@ -652,14 +652,24 @@ Document.prototype['unfilteredSubject'] = undefined;
652
652
  Document.prototype['expirationdate'] = undefined;
653
653
 
654
654
  /**
655
- * @member {Number} pagecount
655
+ * @member {module:model/DocumentType} documenttype
656
656
  */
657
- Document.prototype['pagecount'] = undefined;
657
+ Document.prototype['documenttype'] = undefined;
658
658
 
659
659
  /**
660
- * @member {module:model/DocumentType} documenttype
660
+ * @member {String} mainPhoto
661
661
  */
662
- Document.prototype['documenttype'] = undefined;
662
+ Document.prototype['mainPhoto'] = undefined;
663
+
664
+ /**
665
+ * @member {module:model/FilterManager} filterManager
666
+ */
667
+ Document.prototype['filterManager'] = undefined;
668
+
669
+ /**
670
+ * @member {Number} pagecount
671
+ */
672
+ Document.prototype['pagecount'] = undefined;
663
673
 
664
674
  /**
665
675
  * @member {module:model/GraphIteratorEntryPart} topentrypartarray
@@ -682,19 +692,9 @@ Document.prototype['keywords'] = undefined;
682
692
  Document.prototype['contributors'] = undefined;
683
693
 
684
694
  /**
685
- * @member {module:model/FilterManager} filterManager
686
- */
687
- Document.prototype['filterManager'] = undefined;
688
-
689
- /**
690
- * @member {Object} entrypartarray
691
- */
692
- Document.prototype['entrypartarray'] = undefined;
693
-
694
- /**
695
- * @member {String} mainPhoto
695
+ * @member {String} unfilteredSubject
696
696
  */
697
- Document.prototype['mainPhoto'] = undefined;
697
+ Document.prototype['unfilteredSubject'] = 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.34
24
+ * The version of the OpenAPI document: 0.1.36
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.34
35
+ * @version 0.1.36
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.34
20
+ * The version of the OpenAPI document: 0.1.36
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.34
31
+ * @version 0.1.36
32
32
  */
33
33
  var DocumentPartType = /*#__PURE__*/function () {
34
34
  /**
@@ -98,38 +98,38 @@ var DocumentPartType = /*#__PURE__*/function () {
98
98
  this['childTypes'] = childTypes;
99
99
  }
100
100
  /**
101
- * @return {String}
101
+ * @return {Object}
102
102
  */
103
103
  }, {
104
- key: "getSingleDescription",
105
- value: function getSingleDescription() {
106
- return this.singleDescription;
104
+ key: "getEntryTypes",
105
+ value: function getEntryTypes() {
106
+ return this.entryTypes;
107
107
  }
108
108
 
109
109
  /**
110
- * @param {String} singleDescription
110
+ * @param {Object} entryTypes
111
111
  */
112
112
  }, {
113
- key: "setSingleDescription",
114
- value: function setSingleDescription(singleDescription) {
115
- this['singleDescription'] = singleDescription;
113
+ key: "setEntryTypes",
114
+ value: function setEntryTypes(entryTypes) {
115
+ this['entryTypes'] = entryTypes;
116
116
  }
117
117
  /**
118
- * @return {Object}
118
+ * @return {String}
119
119
  */
120
120
  }, {
121
- key: "getEntryTypes",
122
- value: function getEntryTypes() {
123
- return this.entryTypes;
121
+ key: "getSingleDescription",
122
+ value: function getSingleDescription() {
123
+ return this.singleDescription;
124
124
  }
125
125
 
126
126
  /**
127
- * @param {Object} entryTypes
127
+ * @param {String} singleDescription
128
128
  */
129
129
  }, {
130
- key: "setEntryTypes",
131
- value: function setEntryTypes(entryTypes) {
132
- this['entryTypes'] = entryTypes;
130
+ key: "setSingleDescription",
131
+ value: function setSingleDescription(singleDescription) {
132
+ this['singleDescription'] = singleDescription;
133
133
  }
134
134
  /**
135
135
  * @return {String}
@@ -241,12 +241,12 @@ var DocumentPartType = /*#__PURE__*/function () {
241
241
  if (data.hasOwnProperty('childTypes')) {
242
242
  obj['childTypes'] = _ApiClient["default"].convertToType(data['childTypes'], Object);
243
243
  }
244
- if (data.hasOwnProperty('singleDescription')) {
245
- obj['singleDescription'] = _ApiClient["default"].convertToType(data['singleDescription'], 'String');
246
- }
247
244
  if (data.hasOwnProperty('entryTypes')) {
248
245
  obj['entryTypes'] = _ApiClient["default"].convertToType(data['entryTypes'], Object);
249
246
  }
247
+ if (data.hasOwnProperty('singleDescription')) {
248
+ obj['singleDescription'] = _ApiClient["default"].convertToType(data['singleDescription'], 'String');
249
+ }
250
250
  if (data.hasOwnProperty('description')) {
251
251
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
252
252
  }
@@ -322,14 +322,14 @@ DocumentPartType.prototype['parent'] = undefined;
322
322
  DocumentPartType.prototype['childTypes'] = undefined;
323
323
 
324
324
  /**
325
- * @member {String} singleDescription
325
+ * @member {Object} entryTypes
326
326
  */
327
- DocumentPartType.prototype['singleDescription'] = undefined;
327
+ DocumentPartType.prototype['entryTypes'] = undefined;
328
328
 
329
329
  /**
330
- * @member {Object} entryTypes
330
+ * @member {String} singleDescription
331
331
  */
332
- DocumentPartType.prototype['entryTypes'] = undefined;
332
+ DocumentPartType.prototype['singleDescription'] = undefined;
333
333
 
334
334
  /**
335
335
  * @member {String} description