@gobodo/gobodo-api 0.1.7 → 0.1.9

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 (163) hide show
  1. package/README.md +2 -2
  2. package/dist/ApiClient.js +4 -4
  3. package/dist/api/ActionTypesApi.js +3 -3
  4. package/dist/api/AdCampaignsApi.js +3 -3
  5. package/dist/api/AdManagementApi.js +3 -3
  6. package/dist/api/AdminDataManagementApi.js +3 -3
  7. package/dist/api/AdsApi.js +3 -3
  8. package/dist/api/AttachmentsApi.js +3 -3
  9. package/dist/api/AuthenticationApi.js +3 -3
  10. package/dist/api/CategoriesApi.js +3 -3
  11. package/dist/api/CommentsApi.js +3 -3
  12. package/dist/api/ContentManagementApi.js +3 -3
  13. package/dist/api/ConversationsApi.js +3 -3
  14. package/dist/api/DataSheetImportsApi.js +3 -3
  15. package/dist/api/DefaultApi.js +3 -3
  16. package/dist/api/DocumentsApi.js +3 -3
  17. package/dist/api/EntryPartsApi.js +3 -3
  18. package/dist/api/FacebookApi.js +3 -3
  19. package/dist/api/FieldsApi.js +3 -3
  20. package/dist/api/FilesApi.js +3 -3
  21. package/dist/api/FormsApi.js +3 -3
  22. package/dist/api/FunctionsApi.js +3 -3
  23. package/dist/api/GeocodeApi.js +3 -3
  24. package/dist/api/GoogleApi.js +3 -3
  25. package/dist/api/GraphActionsApi.js +3 -3
  26. package/dist/api/GraphObjectTypesApi.js +3 -3
  27. package/dist/api/GraphObjectsApi.js +3 -3
  28. package/dist/api/GraphRelationshipTypesApi.js +3 -3
  29. package/dist/api/GraphRelationshipsApi.js +3 -3
  30. package/dist/api/GraphSchemasApi.js +3 -3
  31. package/dist/api/GraphTraversalApi.js +3 -3
  32. package/dist/api/GraphsApi.js +3 -3
  33. package/dist/api/GroupsApi.js +3 -3
  34. package/dist/api/IAMApi.js +3 -3
  35. package/dist/api/ImagesApi.js +3 -3
  36. package/dist/api/InvitesApi.js +3 -3
  37. package/dist/api/LikesApi.js +3 -3
  38. package/dist/api/LinkedINApi.js +3 -3
  39. package/dist/api/LiveMeetingsApi.js +3 -3
  40. package/dist/api/MeetingEventsApi.js +3 -3
  41. package/dist/api/PagesApi.js +3 -3
  42. package/dist/api/PostsApi.js +3 -3
  43. package/dist/api/PrivateMessagesApi.js +3 -3
  44. package/dist/api/PublicationsApi.js +3 -3
  45. package/dist/api/ScreensApi.js +3 -3
  46. package/dist/api/SocialIntegrationApi.js +3 -3
  47. package/dist/api/StripeAccountsApi.js +3 -3
  48. package/dist/api/TagsApi.js +3 -3
  49. package/dist/api/TemplatesApi.js +3 -3
  50. package/dist/api/ThemeMappingsApi.js +3 -3
  51. package/dist/api/TransactionsApi.js +3 -3
  52. package/dist/api/TwitterApi.js +3 -3
  53. package/dist/api/UserTagsApi.js +3 -3
  54. package/dist/api/UsersApi.js +3 -3
  55. package/dist/api/UtilsApi.js +3 -3
  56. package/dist/api/VideosApi.js +3 -3
  57. package/dist/model/APIClient.js +3 -3
  58. package/dist/model/Article.js +47 -47
  59. package/dist/model/Authorization.js +3 -3
  60. package/dist/model/Comment.js +22 -22
  61. package/dist/model/Coordinates.js +3 -3
  62. package/dist/model/CreateAccountResponse.js +3 -3
  63. package/dist/model/CreateCustomerResponse.js +3 -3
  64. package/dist/model/CreateStripeAccountInput.js +3 -3
  65. package/dist/model/CreateStripeCustomerInput.js +3 -3
  66. package/dist/model/DataObject.js +3 -3
  67. package/dist/model/DataSheetImport.js +60 -60
  68. package/dist/model/DataSheetImportPrivacySettings.js +3 -3
  69. package/dist/model/DataSheetImportSummary.js +3 -3
  70. package/dist/model/Document.js +47 -47
  71. package/dist/model/DocumentPart.js +28 -28
  72. package/dist/model/DocumentPartType.js +10 -10
  73. package/dist/model/DocumentType.js +10 -10
  74. package/dist/model/FieldMapping.js +3 -3
  75. package/dist/model/Fields.js +15 -15
  76. package/dist/model/File.js +15 -15
  77. package/dist/model/FileAttachmentUploadObject.js +15 -15
  78. package/dist/model/Filter.js +3 -3
  79. package/dist/model/FilterManager.js +3 -3
  80. package/dist/model/Form.js +14 -14
  81. package/dist/model/FormSection.js +3 -3
  82. package/dist/model/FormSubmission.js +3 -3
  83. package/dist/model/Geocode.js +3 -3
  84. package/dist/model/GeocodePayload.js +3 -3
  85. package/dist/model/GeolocationInput.js +3 -3
  86. package/dist/model/Graph.js +18 -18
  87. package/dist/model/GraphAction.js +10 -10
  88. package/dist/model/GraphDatabaseService.js +3 -3
  89. package/dist/model/GraphGeocode.js +3 -3
  90. package/dist/model/GraphIteratorEntryPart.js +3 -3
  91. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +3 -3
  92. package/dist/model/GraphObject.js +11 -11
  93. package/dist/model/GraphObjectPayload.js +3 -3
  94. package/dist/model/GraphObjectSchema.js +11 -11
  95. package/dist/model/GraphObjectType.js +3 -3
  96. package/dist/model/GraphObjectTypeSchema.js +3 -3
  97. package/dist/model/GraphOwner.js +3 -3
  98. package/dist/model/GraphRelation.js +12 -12
  99. package/dist/model/GraphRelationObjectObject.js +12 -12
  100. package/dist/model/GraphRelationship.js +12 -12
  101. package/dist/model/GraphRelationshipPayload.js +3 -3
  102. package/dist/model/GraphRelationshipType.js +14 -14
  103. package/dist/model/GraphSchema.js +3 -3
  104. package/dist/model/GraphTraversalInput.js +263 -3
  105. package/dist/model/Image.js +23 -23
  106. package/dist/model/ImageUploadObject.js +23 -23
  107. package/dist/model/InputPart.js +13 -13
  108. package/dist/model/InputPartMediaType.js +3 -3
  109. package/dist/model/Link.js +28 -28
  110. package/dist/model/LiveStreamInfo.js +3 -3
  111. package/dist/model/MeetingEvent.js +11 -11
  112. package/dist/model/MeetingEventTimezone.js +3 -3
  113. package/dist/model/MeetingInfo.js +15 -15
  114. package/dist/model/Member.js +23 -23
  115. package/dist/model/MemberGroupCategory.js +3 -3
  116. package/dist/model/MemberList.js +3 -3
  117. package/dist/model/MessageGroup.js +3 -3
  118. package/dist/model/MultipartBody.js +3 -3
  119. package/dist/model/Objecttype.js +3 -3
  120. package/dist/model/Page.js +10 -10
  121. package/dist/model/PageSchema.js +22 -22
  122. package/dist/model/Pageable.js +3 -3
  123. package/dist/model/Path.js +3 -3
  124. package/dist/model/PaymentIntentInput.js +3 -3
  125. package/dist/model/PaymentIntentResponse.js +3 -3
  126. package/dist/model/PaymentMethod.js +3 -3
  127. package/dist/model/Post.js +11 -11
  128. package/dist/model/PrivateMessage.js +18 -18
  129. package/dist/model/PrivateMessageConversation.js +16 -16
  130. package/dist/model/PrivateMessageConversationSchema.js +3 -3
  131. package/dist/model/Profile.js +3 -3
  132. package/dist/model/Profiletype.js +3 -3
  133. package/dist/model/PropertyContainer.js +3 -3
  134. package/dist/model/PurgeDataDefaultResponseValue.js +3 -3
  135. package/dist/model/RelationshipMapping.js +3 -3
  136. package/dist/model/ScreenSchema.js +11 -11
  137. package/dist/model/SimulcastInfo.js +3 -3
  138. package/dist/model/SkinField.js +15 -15
  139. package/dist/model/SocialGroup.js +11 -11
  140. package/dist/model/SocialGroupType.js +10 -10
  141. package/dist/model/Sort.js +3 -3
  142. package/dist/model/StatusUpdate.js +11 -11
  143. package/dist/model/StreetAddress.js +3 -3
  144. package/dist/model/StripeAccount.js +3 -3
  145. package/dist/model/StripeCustomerAccount.js +3 -3
  146. package/dist/model/Template.js +3 -3
  147. package/dist/model/TemplateSchema.js +3 -3
  148. package/dist/model/ThemeMapping.js +3 -3
  149. package/dist/model/ThemeMappingPayload.js +3 -3
  150. package/dist/model/Transaction.js +3 -3
  151. package/dist/model/User.js +23 -23
  152. package/dist/model/UserDataPayload.js +23 -23
  153. package/dist/model/UserDomain.js +3 -3
  154. package/dist/model/UserInvite.js +3 -3
  155. package/dist/model/UserInviteInput.js +3 -3
  156. package/dist/model/UserSchema.js +23 -23
  157. package/dist/model/UserTag.js +3 -3
  158. package/dist/model/Video.js +30 -30
  159. package/dist/model/VideoLiveUrl.js +14 -14
  160. package/dist/model/VideoSchema.js +30 -30
  161. package/dist/model/VideoUploadObject.js +30 -30
  162. package/dist/model/ZeusPortalCategory.js +3 -3
  163. package/package.json +1 -1
@@ -18,10 +18,10 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
18
18
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
20
20
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
21
- * Gobodo API
21
+ * gobodo-api
22
22
  * REST Interface for Gobodo API
23
23
  *
24
- * The version of the OpenAPI document: 0.1.7
24
+ * The version of the OpenAPI document: 0.1.9
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.7
35
+ * @version 0.1.9
36
36
  */
37
37
  var DataSheetImport = /*#__PURE__*/function () {
38
38
  /**
@@ -68,15 +68,27 @@ 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('graph')) {
72
- obj['graph'] = _Graph["default"].constructFromObject(data['graph']);
71
+ if (data.hasOwnProperty('communityeditable')) {
72
+ obj['communityeditable'] = _ApiClient["default"].convertToType(data['communityeditable'], 'Boolean');
73
73
  }
74
- if (data.hasOwnProperty('creator')) {
75
- obj['creator'] = _User["default"].constructFromObject(data['creator']);
74
+ if (data.hasOwnProperty('importrelationshiptype')) {
75
+ obj['importrelationshiptype'] = _GraphRelationshipType["default"].constructFromObject(data['importrelationshiptype']);
76
+ }
77
+ if (data.hasOwnProperty('published')) {
78
+ obj['published'] = _ApiClient["default"].convertToType(data['published'], 'Boolean');
79
+ }
80
+ if (data.hasOwnProperty('orphan')) {
81
+ obj['orphan'] = _ApiClient["default"].convertToType(data['orphan'], 'Boolean');
82
+ }
83
+ if (data.hasOwnProperty('importobjecttype')) {
84
+ obj['importobjecttype'] = _GraphObjectType["default"].constructFromObject(data['importobjecttype']);
76
85
  }
77
86
  if (data.hasOwnProperty('preview')) {
78
87
  obj['preview'] = _ApiClient["default"].convertToType(data['preview'], Object);
79
88
  }
89
+ if (data.hasOwnProperty('graph')) {
90
+ obj['graph'] = _Graph["default"].constructFromObject(data['graph']);
91
+ }
80
92
  if (data.hasOwnProperty('containerrelationshiptype')) {
81
93
  obj['containerrelationshiptype'] = _GraphRelationshipType["default"].constructFromObject(data['containerrelationshiptype']);
82
94
  }
@@ -92,23 +104,11 @@ var DataSheetImport = /*#__PURE__*/function () {
92
104
  if (data.hasOwnProperty('sheetprops')) {
93
105
  obj['sheetprops'] = _ApiClient["default"].convertToType(data['sheetprops'], ['String']);
94
106
  }
95
- if (data.hasOwnProperty('importobjecttype')) {
96
- obj['importobjecttype'] = _GraphObjectType["default"].constructFromObject(data['importobjecttype']);
97
- }
98
107
  if (data.hasOwnProperty('isorphan')) {
99
108
  obj['isorphan'] = _ApiClient["default"].convertToType(data['isorphan'], 'Boolean');
100
109
  }
101
- if (data.hasOwnProperty('published')) {
102
- obj['published'] = _ApiClient["default"].convertToType(data['published'], 'Boolean');
103
- }
104
- if (data.hasOwnProperty('communityeditable')) {
105
- obj['communityeditable'] = _ApiClient["default"].convertToType(data['communityeditable'], 'Boolean');
106
- }
107
- if (data.hasOwnProperty('importrelationshiptype')) {
108
- obj['importrelationshiptype'] = _GraphRelationshipType["default"].constructFromObject(data['importrelationshiptype']);
109
- }
110
- if (data.hasOwnProperty('orphan')) {
111
- obj['orphan'] = _ApiClient["default"].convertToType(data['orphan'], 'Boolean');
110
+ if (data.hasOwnProperty('creator')) {
111
+ obj['creator'] = _User["default"].constructFromObject(data['creator']);
112
112
  }
113
113
  if (data.hasOwnProperty('dataSheet')) {
114
114
  obj['dataSheet'] = _ApiClient["default"].convertToType(data['dataSheet'], Object);
@@ -148,16 +148,21 @@ var DataSheetImport = /*#__PURE__*/function () {
148
148
  // data not null
149
149
  _GraphObject["default"].validateJSON(data['container']);
150
150
  }
151
+ // validate the optional field `importrelationshiptype`
152
+ if (data['importrelationshiptype']) {
153
+ // data not null
154
+ _GraphRelationshipType["default"].validateJSON(data['importrelationshiptype']);
155
+ }
156
+ // validate the optional field `importobjecttype`
157
+ if (data['importobjecttype']) {
158
+ // data not null
159
+ _GraphObjectType["default"].validateJSON(data['importobjecttype']);
160
+ }
151
161
  // validate the optional field `graph`
152
162
  if (data['graph']) {
153
163
  // data not null
154
164
  _Graph["default"].validateJSON(data['graph']);
155
165
  }
156
- // validate the optional field `creator`
157
- if (data['creator']) {
158
- // data not null
159
- _User["default"].validateJSON(data['creator']);
160
- }
161
166
  // validate the optional field `containerrelationshiptype`
162
167
  if (data['containerrelationshiptype']) {
163
168
  // data not null
@@ -175,15 +180,10 @@ var DataSheetImport = /*#__PURE__*/function () {
175
180
  if (!Array.isArray(data['sheetprops'])) {
176
181
  throw new Error("Expected the field `sheetprops` to be an array in the JSON data but got " + data['sheetprops']);
177
182
  }
178
- // validate the optional field `importobjecttype`
179
- if (data['importobjecttype']) {
180
- // data not null
181
- _GraphObjectType["default"].validateJSON(data['importobjecttype']);
182
- }
183
- // validate the optional field `importrelationshiptype`
184
- if (data['importrelationshiptype']) {
183
+ // validate the optional field `creator`
184
+ if (data['creator']) {
185
185
  // data not null
186
- _GraphRelationshipType["default"].validateJSON(data['importrelationshiptype']);
186
+ _User["default"].validateJSON(data['creator']);
187
187
  }
188
188
  // validate the optional field `startObjectMapping`
189
189
  if (data['startObjectMapping']) {
@@ -210,20 +210,40 @@ var DataSheetImport = /*#__PURE__*/function () {
210
210
  DataSheetImport.prototype['container'] = undefined;
211
211
 
212
212
  /**
213
- * @member {module:model/Graph} graph
213
+ * @member {Boolean} communityeditable
214
214
  */
215
- DataSheetImport.prototype['graph'] = undefined;
215
+ DataSheetImport.prototype['communityeditable'] = undefined;
216
216
 
217
217
  /**
218
- * @member {module:model/User} creator
218
+ * @member {module:model/GraphRelationshipType} importrelationshiptype
219
219
  */
220
- DataSheetImport.prototype['creator'] = undefined;
220
+ DataSheetImport.prototype['importrelationshiptype'] = undefined;
221
+
222
+ /**
223
+ * @member {Boolean} published
224
+ */
225
+ DataSheetImport.prototype['published'] = undefined;
226
+
227
+ /**
228
+ * @member {Boolean} orphan
229
+ */
230
+ DataSheetImport.prototype['orphan'] = undefined;
231
+
232
+ /**
233
+ * @member {module:model/GraphObjectType} importobjecttype
234
+ */
235
+ DataSheetImport.prototype['importobjecttype'] = undefined;
221
236
 
222
237
  /**
223
238
  * @member {Object} preview
224
239
  */
225
240
  DataSheetImport.prototype['preview'] = undefined;
226
241
 
242
+ /**
243
+ * @member {module:model/Graph} graph
244
+ */
245
+ DataSheetImport.prototype['graph'] = undefined;
246
+
227
247
  /**
228
248
  * @member {module:model/GraphRelationshipType} containerrelationshiptype
229
249
  */
@@ -249,35 +269,15 @@ DataSheetImport.prototype['rundate'] = undefined;
249
269
  */
250
270
  DataSheetImport.prototype['sheetprops'] = undefined;
251
271
 
252
- /**
253
- * @member {module:model/GraphObjectType} importobjecttype
254
- */
255
- DataSheetImport.prototype['importobjecttype'] = undefined;
256
-
257
272
  /**
258
273
  * @member {Boolean} isorphan
259
274
  */
260
275
  DataSheetImport.prototype['isorphan'] = undefined;
261
276
 
262
277
  /**
263
- * @member {Boolean} published
264
- */
265
- DataSheetImport.prototype['published'] = undefined;
266
-
267
- /**
268
- * @member {Boolean} communityeditable
269
- */
270
- DataSheetImport.prototype['communityeditable'] = undefined;
271
-
272
- /**
273
- * @member {module:model/GraphRelationshipType} importrelationshiptype
274
- */
275
- DataSheetImport.prototype['importrelationshiptype'] = undefined;
276
-
277
- /**
278
- * @member {Boolean} orphan
278
+ * @member {module:model/User} creator
279
279
  */
280
- DataSheetImport.prototype['orphan'] = undefined;
280
+ DataSheetImport.prototype['creator'] = undefined;
281
281
 
282
282
  /**
283
283
  * @member {Object} dataSheet
@@ -12,10 +12,10 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
12
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
13
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
14
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
15
- * Gobodo API
15
+ * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.7
18
+ * The version of the OpenAPI document: 0.1.9
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.7
29
+ * @version 0.1.9
30
30
  */
31
31
  var DataSheetImportPrivacySettings = /*#__PURE__*/function () {
32
32
  /**
@@ -16,10 +16,10 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
16
16
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
17
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
18
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
19
- * Gobodo API
19
+ * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.7
22
+ * The version of the OpenAPI document: 0.1.9
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.7
33
+ * @version 0.1.9
34
34
  */
35
35
  var DataSheetImportSummary = /*#__PURE__*/function () {
36
36
  /**
@@ -20,10 +20,10 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
20
20
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
21
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
22
22
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
23
- * Gobodo API
23
+ * gobodo-api
24
24
  * REST Interface for Gobodo API
25
25
  *
26
- * The version of the OpenAPI document: 0.1.7
26
+ * The version of the OpenAPI document: 0.1.9
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.7
37
+ * @version 0.1.9
38
38
  */
39
39
  var Document = /*#__PURE__*/function () {
40
40
  /**
@@ -73,17 +73,11 @@ 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('status')) {
77
- obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
78
- }
79
- if (data.hasOwnProperty('documenttype')) {
80
- obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
81
- }
82
76
  if (data.hasOwnProperty('description')) {
83
77
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
84
78
  }
85
- if (data.hasOwnProperty('mainPhoto')) {
86
- obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
79
+ if (data.hasOwnProperty('status')) {
80
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
87
81
  }
88
82
  if (data.hasOwnProperty('entrypartarray')) {
89
83
  obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
@@ -91,21 +85,27 @@ var Document = /*#__PURE__*/function () {
91
85
  if (data.hasOwnProperty('expirationdate')) {
92
86
  obj['expirationdate'] = _ApiClient["default"].convertToType(data['expirationdate'], 'Date');
93
87
  }
88
+ if (data.hasOwnProperty('documenttype')) {
89
+ obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
90
+ }
91
+ if (data.hasOwnProperty('mainPhoto')) {
92
+ obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
93
+ }
94
94
  if (data.hasOwnProperty('filterManager')) {
95
95
  obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
96
96
  }
97
97
  if (data.hasOwnProperty('pagecount')) {
98
98
  obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
99
99
  }
100
- if (data.hasOwnProperty('unfilteredSubject')) {
101
- obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
102
- }
103
100
  if (data.hasOwnProperty('topentrypartarray')) {
104
101
  obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
105
102
  }
106
103
  if (data.hasOwnProperty('relatedarticles')) {
107
104
  obj['relatedarticles'] = _ApiClient["default"].convertToType(data['relatedarticles'], Object);
108
105
  }
106
+ if (data.hasOwnProperty('unfilteredSubject')) {
107
+ obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
108
+ }
109
109
  if (data.hasOwnProperty('keywords')) {
110
110
  obj['keywords'] = _ApiClient["default"].convertToType(data['keywords'], Object);
111
111
  }
@@ -118,15 +118,15 @@ var Document = /*#__PURE__*/function () {
118
118
  if (data.hasOwnProperty('creationdate')) {
119
119
  obj['creationdate'] = _ApiClient["default"].convertToType(data['creationdate'], 'Date');
120
120
  }
121
- if (data.hasOwnProperty('creatorid')) {
122
- obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
123
- }
124
121
  if (data.hasOwnProperty('subject')) {
125
122
  obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
126
123
  }
127
124
  if (data.hasOwnProperty('modificationdate')) {
128
125
  obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
129
126
  }
127
+ if (data.hasOwnProperty('creatorid')) {
128
+ obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
129
+ }
130
130
  if (data.hasOwnProperty('modifier')) {
131
131
  obj['modifier'] = _ApiClient["default"].convertToType(data['modifier'], 'Number');
132
132
  }
@@ -172,16 +172,16 @@ var Document = /*#__PURE__*/function () {
172
172
  }
173
173
  ;
174
174
  }
175
+ // ensure the json data is a string
176
+ if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
177
+ throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
178
+ }
175
179
  // validate the optional field `documenttype`
176
180
  if (data['documenttype']) {
177
181
  // data not null
178
182
  _DocumentType["default"].validateJSON(data['documenttype']);
179
183
  }
180
184
  // ensure the json data is a string
181
- if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
182
- throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
183
- }
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
  }
@@ -190,16 +190,16 @@ var Document = /*#__PURE__*/function () {
190
190
  // data not null
191
191
  _FilterManager["default"].validateJSON(data['filterManager']);
192
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']);
196
- }
197
193
  // validate the optional field `topentrypartarray`
198
194
  if (data['topentrypartarray']) {
199
195
  // data not null
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,25 +222,15 @@ Document.prototype['documentparts'] = undefined;
222
222
  */
223
223
  Document.prototype['creatorpageid'] = undefined;
224
224
 
225
- /**
226
- * @member {Number} status
227
- */
228
- Document.prototype['status'] = undefined;
229
-
230
- /**
231
- * @member {module:model/DocumentType} documenttype
232
- */
233
- Document.prototype['documenttype'] = undefined;
234
-
235
225
  /**
236
226
  * @member {String} description
237
227
  */
238
228
  Document.prototype['description'] = undefined;
239
229
 
240
230
  /**
241
- * @member {String} mainPhoto
231
+ * @member {Number} status
242
232
  */
243
- Document.prototype['mainPhoto'] = undefined;
233
+ Document.prototype['status'] = undefined;
244
234
 
245
235
  /**
246
236
  * @member {Object} entrypartarray
@@ -252,6 +242,16 @@ Document.prototype['entrypartarray'] = undefined;
252
242
  */
253
243
  Document.prototype['expirationdate'] = undefined;
254
244
 
245
+ /**
246
+ * @member {module:model/DocumentType} documenttype
247
+ */
248
+ Document.prototype['documenttype'] = undefined;
249
+
250
+ /**
251
+ * @member {String} mainPhoto
252
+ */
253
+ Document.prototype['mainPhoto'] = undefined;
254
+
255
255
  /**
256
256
  * @member {module:model/FilterManager} filterManager
257
257
  */
@@ -262,11 +262,6 @@ Document.prototype['filterManager'] = undefined;
262
262
  */
263
263
  Document.prototype['pagecount'] = undefined;
264
264
 
265
- /**
266
- * @member {String} unfilteredSubject
267
- */
268
- Document.prototype['unfilteredSubject'] = undefined;
269
-
270
265
  /**
271
266
  * @member {module:model/GraphIteratorEntryPart} topentrypartarray
272
267
  */
@@ -277,6 +272,11 @@ Document.prototype['topentrypartarray'] = undefined;
277
272
  */
278
273
  Document.prototype['relatedarticles'] = undefined;
279
274
 
275
+ /**
276
+ * @member {String} unfilteredSubject
277
+ */
278
+ Document.prototype['unfilteredSubject'] = undefined;
279
+
280
280
  /**
281
281
  * @member {Object} keywords
282
282
  */
@@ -297,11 +297,6 @@ Document.prototype['body'] = undefined;
297
297
  */
298
298
  Document.prototype['creationdate'] = undefined;
299
299
 
300
- /**
301
- * @member {Number} creatorid
302
- */
303
- Document.prototype['creatorid'] = undefined;
304
-
305
300
  /**
306
301
  * @member {String} subject
307
302
  */
@@ -312,6 +307,11 @@ Document.prototype['subject'] = undefined;
312
307
  */
313
308
  Document.prototype['modificationdate'] = undefined;
314
309
 
310
+ /**
311
+ * @member {Number} creatorid
312
+ */
313
+ Document.prototype['creatorid'] = undefined;
314
+
315
315
  /**
316
316
  * @member {Number} modifier
317
317
  */
@@ -18,10 +18,10 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
18
18
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
20
20
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
21
- * Gobodo API
21
+ * gobodo-api
22
22
  * REST Interface for Gobodo API
23
23
  *
24
- * The version of the OpenAPI document: 0.1.7
24
+ * The version of the OpenAPI document: 0.1.9
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.7
35
+ * @version 0.1.9
36
36
  */
37
37
  var DocumentPart = /*#__PURE__*/function () {
38
38
  /**
@@ -86,12 +86,6 @@ 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('title')) {
90
- obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
91
- }
92
- if (data.hasOwnProperty('mainPhoto')) {
93
- obj['mainPhoto'] = _Image["default"].constructFromObject(data['mainPhoto']);
94
- }
95
89
  if (data.hasOwnProperty('childentryparts')) {
96
90
  obj['childentryparts'] = _ApiClient["default"].convertToType(data['childentryparts'], Object);
97
91
  }
@@ -104,12 +98,18 @@ var DocumentPart = /*#__PURE__*/function () {
104
98
  if (data.hasOwnProperty('articleid')) {
105
99
  obj['articleid'] = _ApiClient["default"].convertToType(data['articleid'], 'Number');
106
100
  }
101
+ if (data.hasOwnProperty('title')) {
102
+ obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
103
+ }
107
104
  if (data.hasOwnProperty('childentrypartcount')) {
108
105
  obj['childentrypartcount'] = _ApiClient["default"].convertToType(data['childentrypartcount'], 'Number');
109
106
  }
110
107
  if (data.hasOwnProperty('modificationdate')) {
111
108
  obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
112
109
  }
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,15 +159,6 @@ 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
- // ensure the json data is a string
163
- if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
164
- throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
165
- }
166
- // validate the optional field `mainPhoto`
167
- if (data['mainPhoto']) {
168
- // data not null
169
- _Image["default"].validateJSON(data['mainPhoto']);
170
- }
171
162
  // validate the optional field `documentparttype`
172
163
  if (data['documentparttype']) {
173
164
  // data not null
@@ -177,6 +168,15 @@ var DocumentPart = /*#__PURE__*/function () {
177
168
  if (data['creator'] && !(typeof data['creator'] === 'string' || data['creator'] instanceof String)) {
178
169
  throw new Error("Expected the field `creator` to be a primitive type in the JSON string but got " + data['creator']);
179
170
  }
171
+ // ensure the json data is a string
172
+ if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
173
+ throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
174
+ }
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
@@ -226,16 +226,6 @@ DocumentPart.prototype['creationdate'] = undefined;
226
226
  */
227
227
  DocumentPart.prototype['status'] = undefined;
228
228
 
229
- /**
230
- * @member {String} title
231
- */
232
- DocumentPart.prototype['title'] = undefined;
233
-
234
- /**
235
- * @member {module:model/Image} mainPhoto
236
- */
237
- DocumentPart.prototype['mainPhoto'] = undefined;
238
-
239
229
  /**
240
230
  * @member {Object} childentryparts
241
231
  */
@@ -256,6 +246,11 @@ DocumentPart.prototype['creator'] = undefined;
256
246
  */
257
247
  DocumentPart.prototype['articleid'] = undefined;
258
248
 
249
+ /**
250
+ * @member {String} title
251
+ */
252
+ DocumentPart.prototype['title'] = undefined;
253
+
259
254
  /**
260
255
  * @member {Number} childentrypartcount
261
256
  */
@@ -266,6 +261,11 @@ DocumentPart.prototype['childentrypartcount'] = undefined;
266
261
  */
267
262
  DocumentPart.prototype['modificationdate'] = undefined;
268
263
 
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
  */