@gobodo/gobodo-api 0.1.25 → 0.1.26

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 (187) hide show
  1. package/README.md +4 -2
  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 +4 -5
  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 +2 -2
  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 +2 -2
  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 +2 -2
  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 +2 -2
  47. package/dist/api/StripeAccountsApi.js +95 -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 +2 -2
  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/model/APIClient.js +2 -2
  58. package/dist/model/AccountSessionInput.js +2 -2
  59. package/dist/model/AccountSessionResponse.js +2 -2
  60. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  61. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  62. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +2 -2
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +2 -2
  64. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +2 -2
  65. package/dist/model/Article.js +49 -49
  66. package/dist/model/Authorization.js +2 -2
  67. package/dist/model/Balance.js +2 -2
  68. package/dist/model/BalanceDetails.js +2 -2
  69. package/dist/model/BalanceResponse.js +2 -2
  70. package/dist/model/BankAccountInfo.js +2 -2
  71. package/dist/model/CardInfo.js +2 -2
  72. package/dist/model/Comment.js +14 -14
  73. package/dist/model/Coordinates.js +2 -2
  74. package/dist/model/CreateAccountResponse.js +2 -2
  75. package/dist/model/CreateStripeAccountInput.js +2 -2
  76. package/dist/model/CreateStripeCustomerInput.js +2 -2
  77. package/dist/model/CustomerResponse.js +2 -2
  78. package/dist/model/DataObject.js +2 -2
  79. package/dist/model/DataSheetImport.js +23 -23
  80. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  81. package/dist/model/DataSheetImportSummary.js +2 -2
  82. package/dist/model/Document.js +49 -49
  83. package/dist/model/DocumentPart.js +22 -22
  84. package/dist/model/DocumentPartType.js +2 -2
  85. package/dist/model/DocumentType.js +2 -2
  86. package/dist/model/FieldMapping.js +2 -2
  87. package/dist/model/Fields.js +17 -17
  88. package/dist/model/File.js +14 -14
  89. package/dist/model/FileAttachmentUploadObject.js +14 -14
  90. package/dist/model/Filter.js +2 -2
  91. package/dist/model/FilterManager.js +2 -2
  92. package/dist/model/Form.js +13 -13
  93. package/dist/model/FormSection.js +2 -2
  94. package/dist/model/FormSubmission.js +2 -2
  95. package/dist/model/Geocode.js +2 -2
  96. package/dist/model/GeocodePayload.js +2 -2
  97. package/dist/model/GeolocationInput.js +2 -2
  98. package/dist/model/Graph.js +9 -9
  99. package/dist/model/GraphAction.js +11 -11
  100. package/dist/model/GraphDatabaseService.js +2 -2
  101. package/dist/model/GraphGeocode.js +2 -2
  102. package/dist/model/GraphIteratorEntryPart.js +2 -2
  103. package/dist/model/GraphObject.js +11 -11
  104. package/dist/model/GraphObjectPayload.js +2 -2
  105. package/dist/model/GraphObjectSchema.js +24 -24
  106. package/dist/model/GraphObjectType.js +2 -2
  107. package/dist/model/GraphObjectTypeSchema.js +2 -2
  108. package/dist/model/GraphOwner.js +2 -2
  109. package/dist/model/GraphRelation.js +11 -11
  110. package/dist/model/GraphRelationObjectObject.js +11 -11
  111. package/dist/model/GraphRelationship.js +11 -11
  112. package/dist/model/GraphRelationshipPayload.js +2 -2
  113. package/dist/model/GraphRelationshipType.js +2 -2
  114. package/dist/model/GraphSchema.js +30 -30
  115. package/dist/model/GraphTraversalInput.js +2 -2
  116. package/dist/model/Image.js +14 -14
  117. package/dist/model/ImageUploadObject.js +14 -14
  118. package/dist/model/InputPart.js +12 -12
  119. package/dist/model/InputPartMediaType.js +2 -2
  120. package/dist/model/Link.js +13 -13
  121. package/dist/model/LiveStreamInfo.js +2 -2
  122. package/dist/model/MeetingEvent.js +10 -10
  123. package/dist/model/MeetingEventTimezone.js +2 -2
  124. package/dist/model/MeetingInfo.js +2 -2
  125. package/dist/model/Member.js +9 -9
  126. package/dist/model/MemberGroupCategory.js +2 -2
  127. package/dist/model/MemberList.js +2 -2
  128. package/dist/model/MessageGroup.js +2 -2
  129. package/dist/model/MultipartBody.js +2 -2
  130. package/dist/model/Objecttype.js +2 -2
  131. package/dist/model/Page.js +9 -9
  132. package/dist/model/PageSchema.js +26 -26
  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 +2 -2
  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 +2 -2
  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 +9 -9
  147. package/dist/model/PrivateMessageConversation.js +41 -41
  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 +2 -2
  152. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  153. package/dist/model/RelationshipMapping.js +2 -2
  154. package/dist/model/ScreenSchema.js +11 -11
  155. package/dist/model/SimulcastInfo.js +2 -2
  156. package/dist/model/SkinField.js +17 -17
  157. package/dist/model/SocialGroup.js +10 -10
  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 +22 -22
  166. package/dist/model/TemplateSchema.js +22 -22
  167. package/dist/model/ThemeMapping.js +10 -10
  168. package/dist/model/ThemeMappingPayload.js +10 -10
  169. package/dist/model/Transaction.js +2 -2
  170. package/dist/model/Transfer.js +2 -2
  171. package/dist/model/TransferInput.js +2 -2
  172. package/dist/model/TransferResponse.js +2 -2
  173. package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
  174. package/dist/model/User.js +9 -9
  175. package/dist/model/UserDataPayload.js +9 -9
  176. package/dist/model/UserDomain.js +2 -2
  177. package/dist/model/UserInvite.js +2 -2
  178. package/dist/model/UserInviteInput.js +2 -2
  179. package/dist/model/UserSchema.js +9 -9
  180. package/dist/model/UserTag.js +2 -2
  181. package/dist/model/Userid.js +2 -2
  182. package/dist/model/Video.js +33 -33
  183. package/dist/model/VideoLiveUrl.js +13 -13
  184. package/dist/model/VideoSchema.js +41 -41
  185. package/dist/model/VideoUploadObject.js +33 -33
  186. package/dist/model/ZeusPortalCategory.js +2 -2
  187. package/package.json +1 -1
@@ -21,7 +21,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
21
21
  * gobodo-api
22
22
  * REST Interface for Gobodo API
23
23
  *
24
- * The version of the OpenAPI document: 0.1.25
24
+ * The version of the OpenAPI document: 0.1.26
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(input, hint) { if (_typeof(input) !== "object" || input ==
32
32
  /**
33
33
  * The DataSheetImport model module.
34
34
  * @module model/DataSheetImport
35
- * @version 0.1.25
35
+ * @version 0.1.26
36
36
  */
37
37
  var DataSheetImport = /*#__PURE__*/function () {
38
38
  /**
@@ -68,12 +68,15 @@ var DataSheetImport = /*#__PURE__*/function () {
68
68
  if (data.hasOwnProperty('container')) {
69
69
  obj['container'] = _GraphObject["default"].constructFromObject(data['container']);
70
70
  }
71
- if (data.hasOwnProperty('preview')) {
72
- obj['preview'] = _ApiClient["default"].convertToType(data['preview'], Object);
71
+ if (data.hasOwnProperty('creator')) {
72
+ obj['creator'] = _User["default"].constructFromObject(data['creator']);
73
73
  }
74
74
  if (data.hasOwnProperty('graph')) {
75
75
  obj['graph'] = _Graph["default"].constructFromObject(data['graph']);
76
76
  }
77
+ if (data.hasOwnProperty('preview')) {
78
+ obj['preview'] = _ApiClient["default"].convertToType(data['preview'], Object);
79
+ }
77
80
  if (data.hasOwnProperty('containerrelationshiptype')) {
78
81
  obj['containerrelationshiptype'] = _GraphRelationshipType["default"].constructFromObject(data['containerrelationshiptype']);
79
82
  }
@@ -107,8 +110,8 @@ var DataSheetImport = /*#__PURE__*/function () {
107
110
  if (data.hasOwnProperty('orphan')) {
108
111
  obj['orphan'] = _ApiClient["default"].convertToType(data['orphan'], 'Boolean');
109
112
  }
110
- if (data.hasOwnProperty('creator')) {
111
- obj['creator'] = _User["default"].constructFromObject(data['creator']);
113
+ if (data.hasOwnProperty('dataSheet')) {
114
+ obj['dataSheet'] = _ApiClient["default"].convertToType(data['dataSheet'], Object);
112
115
  }
113
116
  if (data.hasOwnProperty('startObjectMapping')) {
114
117
  obj['startObjectMapping'] = _RelationshipMapping["default"].constructFromObject(data['startObjectMapping']);
@@ -116,9 +119,6 @@ var DataSheetImport = /*#__PURE__*/function () {
116
119
  if (data.hasOwnProperty('endObjectMapping')) {
117
120
  obj['endObjectMapping'] = _RelationshipMapping["default"].constructFromObject(data['endObjectMapping']);
118
121
  }
119
- if (data.hasOwnProperty('dataSheet')) {
120
- obj['dataSheet'] = _ApiClient["default"].convertToType(data['dataSheet'], Object);
121
- }
122
122
  if (data.hasOwnProperty('geolocatingOn')) {
123
123
  obj['geolocatingOn'] = _ApiClient["default"].convertToType(data['geolocatingOn'], 'String');
124
124
  }
@@ -148,6 +148,11 @@ var DataSheetImport = /*#__PURE__*/function () {
148
148
  // data not null
149
149
  _GraphObject["default"].validateJSON(data['container']);
150
150
  }
151
+ // validate the optional field `creator`
152
+ if (data['creator']) {
153
+ // data not null
154
+ _User["default"].validateJSON(data['creator']);
155
+ }
151
156
  // validate the optional field `graph`
152
157
  if (data['graph']) {
153
158
  // data not null
@@ -180,11 +185,6 @@ var DataSheetImport = /*#__PURE__*/function () {
180
185
  // data not null
181
186
  _GraphRelationshipType["default"].validateJSON(data['importrelationshiptype']);
182
187
  }
183
- // validate the optional field `creator`
184
- if (data['creator']) {
185
- // data not null
186
- _User["default"].validateJSON(data['creator']);
187
- }
188
188
  // validate the optional field `startObjectMapping`
189
189
  if (data['startObjectMapping']) {
190
190
  // data not null
@@ -210,15 +210,20 @@ var DataSheetImport = /*#__PURE__*/function () {
210
210
  DataSheetImport.prototype['container'] = undefined;
211
211
 
212
212
  /**
213
- * @member {Object} preview
213
+ * @member {module:model/User} creator
214
214
  */
215
- DataSheetImport.prototype['preview'] = undefined;
215
+ DataSheetImport.prototype['creator'] = undefined;
216
216
 
217
217
  /**
218
218
  * @member {module:model/Graph} graph
219
219
  */
220
220
  DataSheetImport.prototype['graph'] = undefined;
221
221
 
222
+ /**
223
+ * @member {Object} preview
224
+ */
225
+ DataSheetImport.prototype['preview'] = undefined;
226
+
222
227
  /**
223
228
  * @member {module:model/GraphRelationshipType} containerrelationshiptype
224
229
  */
@@ -275,9 +280,9 @@ DataSheetImport.prototype['importrelationshiptype'] = undefined;
275
280
  DataSheetImport.prototype['orphan'] = undefined;
276
281
 
277
282
  /**
278
- * @member {module:model/User} creator
283
+ * @member {Object} dataSheet
279
284
  */
280
- DataSheetImport.prototype['creator'] = undefined;
285
+ DataSheetImport.prototype['dataSheet'] = undefined;
281
286
 
282
287
  /**
283
288
  * @member {module:model/RelationshipMapping} startObjectMapping
@@ -289,11 +294,6 @@ DataSheetImport.prototype['startObjectMapping'] = undefined;
289
294
  */
290
295
  DataSheetImport.prototype['endObjectMapping'] = undefined;
291
296
 
292
- /**
293
- * @member {Object} dataSheet
294
- */
295
- DataSheetImport.prototype['dataSheet'] = undefined;
296
-
297
297
  /**
298
298
  * @member {String} geolocatingOn
299
299
  */
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.25
18
+ * The version of the OpenAPI document: 0.1.26
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(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The DataSheetImportPrivacySettings model module.
28
28
  * @module model/DataSheetImportPrivacySettings
29
- * @version 0.1.25
29
+ * @version 0.1.26
30
30
  */
31
31
  var DataSheetImportPrivacySettings = /*#__PURE__*/function () {
32
32
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.25
22
+ * The version of the OpenAPI document: 0.1.26
23
23
  * Contact: info@gobodo.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
30
30
  /**
31
31
  * The DataSheetImportSummary model module.
32
32
  * @module model/DataSheetImportSummary
33
- * @version 0.1.25
33
+ * @version 0.1.26
34
34
  */
35
35
  var DataSheetImportSummary = /*#__PURE__*/function () {
36
36
  /**
@@ -23,7 +23,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
23
23
  * gobodo-api
24
24
  * REST Interface for Gobodo API
25
25
  *
26
- * The version of the OpenAPI document: 0.1.25
26
+ * The version of the OpenAPI document: 0.1.26
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(input, hint) { if (_typeof(input) !== "object" || input ==
34
34
  /**
35
35
  * The Document model module.
36
36
  * @module model/Document
37
- * @version 0.1.25
37
+ * @version 0.1.26
38
38
  */
39
39
  var Document = /*#__PURE__*/function () {
40
40
  /**
@@ -73,33 +73,27 @@ var Document = /*#__PURE__*/function () {
73
73
  if (data.hasOwnProperty('creatorpageid')) {
74
74
  obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
75
75
  }
76
- if (data.hasOwnProperty('description')) {
77
- obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
78
- }
79
76
  if (data.hasOwnProperty('status')) {
80
77
  obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
81
78
  }
82
- if (data.hasOwnProperty('entrypartarray')) {
83
- obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
84
- }
85
- if (data.hasOwnProperty('expirationdate')) {
86
- obj['expirationdate'] = _ApiClient["default"].convertToType(data['expirationdate'], 'Date');
79
+ if (data.hasOwnProperty('filterManager')) {
80
+ obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
87
81
  }
88
- if (data.hasOwnProperty('documenttype')) {
89
- obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
82
+ if (data.hasOwnProperty('description')) {
83
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
90
84
  }
91
85
  if (data.hasOwnProperty('mainPhoto')) {
92
86
  obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
93
87
  }
94
- if (data.hasOwnProperty('filterManager')) {
95
- obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
96
- }
97
- if (data.hasOwnProperty('unfilteredSubject')) {
98
- obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
88
+ if (data.hasOwnProperty('expirationdate')) {
89
+ obj['expirationdate'] = _ApiClient["default"].convertToType(data['expirationdate'], 'Date');
99
90
  }
100
91
  if (data.hasOwnProperty('pagecount')) {
101
92
  obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
102
93
  }
94
+ if (data.hasOwnProperty('documenttype')) {
95
+ obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
96
+ }
103
97
  if (data.hasOwnProperty('topentrypartarray')) {
104
98
  obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
105
99
  }
@@ -112,6 +106,12 @@ var Document = /*#__PURE__*/function () {
112
106
  if (data.hasOwnProperty('contributors')) {
113
107
  obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
114
108
  }
109
+ if (data.hasOwnProperty('entrypartarray')) {
110
+ obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
111
+ }
112
+ if (data.hasOwnProperty('unfilteredSubject')) {
113
+ obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
114
+ }
115
115
  if (data.hasOwnProperty('body')) {
116
116
  obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
117
117
  }
@@ -172,27 +172,23 @@ var Document = /*#__PURE__*/function () {
172
172
  }
173
173
  ;
174
174
  }
175
+ // validate the optional field `filterManager`
176
+ if (data['filterManager']) {
177
+ // data not null
178
+ _FilterManager["default"].validateJSON(data['filterManager']);
179
+ }
175
180
  // ensure the json data is a string
176
181
  if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
177
182
  throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
178
183
  }
179
- // validate the optional field `documenttype`
180
- if (data['documenttype']) {
181
- // data not null
182
- _DocumentType["default"].validateJSON(data['documenttype']);
183
- }
184
184
  // ensure the json data is a string
185
185
  if (data['mainPhoto'] && !(typeof data['mainPhoto'] === 'string' || data['mainPhoto'] instanceof String)) {
186
186
  throw new Error("Expected the field `mainPhoto` to be a primitive type in the JSON string but got " + data['mainPhoto']);
187
187
  }
188
- // validate the optional field `filterManager`
189
- if (data['filterManager']) {
188
+ // validate the optional field `documenttype`
189
+ if (data['documenttype']) {
190
190
  // data not null
191
- _FilterManager["default"].validateJSON(data['filterManager']);
192
- }
193
- // ensure the json data is a string
194
- if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
195
- throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
191
+ _DocumentType["default"].validateJSON(data['documenttype']);
196
192
  }
197
193
  // validate the optional field `topentrypartarray`
198
194
  if (data['topentrypartarray']) {
@@ -200,6 +196,10 @@ var Document = /*#__PURE__*/function () {
200
196
  _GraphIteratorEntryPart["default"].validateJSON(data['topentrypartarray']);
201
197
  }
202
198
  // ensure the json data is a string
199
+ if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
200
+ throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
201
+ }
202
+ // ensure the json data is a string
203
203
  if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
204
204
  throw new Error("Expected the field `body` to be a primitive type in the JSON string but got " + data['body']);
205
205
  }
@@ -222,30 +222,20 @@ Document.prototype['documentparts'] = undefined;
222
222
  */
223
223
  Document.prototype['creatorpageid'] = undefined;
224
224
 
225
- /**
226
- * @member {String} description
227
- */
228
- Document.prototype['description'] = undefined;
229
-
230
225
  /**
231
226
  * @member {Number} status
232
227
  */
233
228
  Document.prototype['status'] = undefined;
234
229
 
235
230
  /**
236
- * @member {Object} entrypartarray
237
- */
238
- Document.prototype['entrypartarray'] = undefined;
239
-
240
- /**
241
- * @member {Date} expirationdate
231
+ * @member {module:model/FilterManager} filterManager
242
232
  */
243
- Document.prototype['expirationdate'] = undefined;
233
+ Document.prototype['filterManager'] = undefined;
244
234
 
245
235
  /**
246
- * @member {module:model/DocumentType} documenttype
236
+ * @member {String} description
247
237
  */
248
- Document.prototype['documenttype'] = undefined;
238
+ Document.prototype['description'] = undefined;
249
239
 
250
240
  /**
251
241
  * @member {String} mainPhoto
@@ -253,19 +243,19 @@ Document.prototype['documenttype'] = undefined;
253
243
  Document.prototype['mainPhoto'] = undefined;
254
244
 
255
245
  /**
256
- * @member {module:model/FilterManager} filterManager
246
+ * @member {Date} expirationdate
257
247
  */
258
- Document.prototype['filterManager'] = undefined;
248
+ Document.prototype['expirationdate'] = undefined;
259
249
 
260
250
  /**
261
- * @member {String} unfilteredSubject
251
+ * @member {Number} pagecount
262
252
  */
263
- Document.prototype['unfilteredSubject'] = undefined;
253
+ Document.prototype['pagecount'] = undefined;
264
254
 
265
255
  /**
266
- * @member {Number} pagecount
256
+ * @member {module:model/DocumentType} documenttype
267
257
  */
268
- Document.prototype['pagecount'] = undefined;
258
+ Document.prototype['documenttype'] = undefined;
269
259
 
270
260
  /**
271
261
  * @member {module:model/GraphIteratorEntryPart} topentrypartarray
@@ -287,6 +277,16 @@ Document.prototype['keywords'] = undefined;
287
277
  */
288
278
  Document.prototype['contributors'] = undefined;
289
279
 
280
+ /**
281
+ * @member {Object} entrypartarray
282
+ */
283
+ Document.prototype['entrypartarray'] = undefined;
284
+
285
+ /**
286
+ * @member {String} unfilteredSubject
287
+ */
288
+ Document.prototype['unfilteredSubject'] = undefined;
289
+
290
290
  /**
291
291
  * @member {String} body
292
292
  */
@@ -21,7 +21,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
21
21
  * gobodo-api
22
22
  * REST Interface for Gobodo API
23
23
  *
24
- * The version of the OpenAPI document: 0.1.25
24
+ * The version of the OpenAPI document: 0.1.26
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(input, hint) { if (_typeof(input) !== "object" || input ==
32
32
  /**
33
33
  * The DocumentPart model module.
34
34
  * @module model/DocumentPart
35
- * @version 0.1.25
35
+ * @version 0.1.26
36
36
  */
37
37
  var DocumentPart = /*#__PURE__*/function () {
38
38
  /**
@@ -68,12 +68,12 @@ var DocumentPart = /*#__PURE__*/function () {
68
68
  if (data.hasOwnProperty('documentparts')) {
69
69
  obj['documentparts'] = _ApiClient["default"].convertToType(data['documentparts'], [DocumentPart]);
70
70
  }
71
- if (data.hasOwnProperty('documentparttypeid')) {
72
- obj['documentparttypeid'] = _ApiClient["default"].convertToType(data['documentparttypeid'], 'Number');
73
- }
74
71
  if (data.hasOwnProperty('creatorpageid')) {
75
72
  obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
76
73
  }
74
+ if (data.hasOwnProperty('documentparttypeid')) {
75
+ obj['documentparttypeid'] = _ApiClient["default"].convertToType(data['documentparttypeid'], 'Number');
76
+ }
77
77
  if (data.hasOwnProperty('parentid')) {
78
78
  obj['parentid'] = _ApiClient["default"].convertToType(data['parentid'], 'Number');
79
79
  }
@@ -86,6 +86,9 @@ var DocumentPart = /*#__PURE__*/function () {
86
86
  if (data.hasOwnProperty('status')) {
87
87
  obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
88
88
  }
89
+ if (data.hasOwnProperty('mainPhoto')) {
90
+ obj['mainPhoto'] = _Image["default"].constructFromObject(data['mainPhoto']);
91
+ }
89
92
  if (data.hasOwnProperty('childentryparts')) {
90
93
  obj['childentryparts'] = _ApiClient["default"].convertToType(data['childentryparts'], Object);
91
94
  }
@@ -107,9 +110,6 @@ var DocumentPart = /*#__PURE__*/function () {
107
110
  if (data.hasOwnProperty('modificationdate')) {
108
111
  obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
109
112
  }
110
- if (data.hasOwnProperty('mainPhoto')) {
111
- obj['mainPhoto'] = _Image["default"].constructFromObject(data['mainPhoto']);
112
- }
113
113
  if (data.hasOwnProperty('modifier')) {
114
114
  obj['modifier'] = _Member["default"].constructFromObject(data['modifier']);
115
115
  }
@@ -159,6 +159,11 @@ var DocumentPart = /*#__PURE__*/function () {
159
159
  if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
160
160
  throw new Error("Expected the field `body` to be a primitive type in the JSON string but got " + data['body']);
161
161
  }
162
+ // validate the optional field `mainPhoto`
163
+ if (data['mainPhoto']) {
164
+ // data not null
165
+ _Image["default"].validateJSON(data['mainPhoto']);
166
+ }
162
167
  // validate the optional field `documentparttype`
163
168
  if (data['documentparttype']) {
164
169
  // data not null
@@ -172,11 +177,6 @@ var DocumentPart = /*#__PURE__*/function () {
172
177
  if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
173
178
  throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
174
179
  }
175
- // validate the optional field `mainPhoto`
176
- if (data['mainPhoto']) {
177
- // data not null
178
- _Image["default"].validateJSON(data['mainPhoto']);
179
- }
180
180
  // validate the optional field `modifier`
181
181
  if (data['modifier']) {
182
182
  // data not null
@@ -197,14 +197,14 @@ var DocumentPart = /*#__PURE__*/function () {
197
197
  DocumentPart.prototype['documentparts'] = undefined;
198
198
 
199
199
  /**
200
- * @member {Number} documentparttypeid
200
+ * @member {Number} creatorpageid
201
201
  */
202
- DocumentPart.prototype['documentparttypeid'] = undefined;
202
+ DocumentPart.prototype['creatorpageid'] = undefined;
203
203
 
204
204
  /**
205
- * @member {Number} creatorpageid
205
+ * @member {Number} documentparttypeid
206
206
  */
207
- DocumentPart.prototype['creatorpageid'] = undefined;
207
+ DocumentPart.prototype['documentparttypeid'] = undefined;
208
208
 
209
209
  /**
210
210
  * @member {Number} parentid
@@ -226,6 +226,11 @@ DocumentPart.prototype['creationdate'] = undefined;
226
226
  */
227
227
  DocumentPart.prototype['status'] = undefined;
228
228
 
229
+ /**
230
+ * @member {module:model/Image} mainPhoto
231
+ */
232
+ DocumentPart.prototype['mainPhoto'] = undefined;
233
+
229
234
  /**
230
235
  * @member {Object} childentryparts
231
236
  */
@@ -261,11 +266,6 @@ DocumentPart.prototype['childentrypartcount'] = undefined;
261
266
  */
262
267
  DocumentPart.prototype['modificationdate'] = undefined;
263
268
 
264
- /**
265
- * @member {module:model/Image} mainPhoto
266
- */
267
- DocumentPart.prototype['mainPhoto'] = undefined;
268
-
269
269
  /**
270
270
  * @member {module:model/Member} modifier
271
271
  */
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  * gobodo-api
18
18
  * REST Interface for Gobodo API
19
19
  *
20
- * The version of the OpenAPI document: 0.1.25
20
+ * The version of the OpenAPI document: 0.1.26
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(input, hint) { if (_typeof(input) !== "object" || input ==
28
28
  /**
29
29
  * The DocumentPartType model module.
30
30
  * @module model/DocumentPartType
31
- * @version 0.1.25
31
+ * @version 0.1.26
32
32
  */
33
33
  var DocumentPartType = /*#__PURE__*/function () {
34
34
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  * gobodo-api
18
18
  * REST Interface for Gobodo API
19
19
  *
20
- * The version of the OpenAPI document: 0.1.25
20
+ * The version of the OpenAPI document: 0.1.26
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(input, hint) { if (_typeof(input) !== "object" || input ==
28
28
  /**
29
29
  * The DocumentType model module.
30
30
  * @module model/DocumentType
31
- * @version 0.1.25
31
+ * @version 0.1.26
32
32
  */
33
33
  var DocumentType = /*#__PURE__*/function () {
34
34
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.25
18
+ * The version of the OpenAPI document: 0.1.26
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(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The FieldMapping model module.
28
28
  * @module model/FieldMapping
29
- * @version 0.1.25
29
+ * @version 0.1.26
30
30
  */
31
31
  var FieldMapping = /*#__PURE__*/function () {
32
32
  /**