@gobodo/gobodo-api-promise 0.1.64 → 0.1.65

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 (219) hide show
  1. package/README.md +2 -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 +2 -2
  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/EmailsApi.js +2 -2
  18. package/dist/api/EntryPartsApi.js +2 -2
  19. package/dist/api/FacebookApi.js +2 -2
  20. package/dist/api/FieldsApi.js +2 -2
  21. package/dist/api/FilesApi.js +2 -2
  22. package/dist/api/FormsApi.js +2 -2
  23. package/dist/api/FunctionsApi.js +2 -2
  24. package/dist/api/GeocodeApi.js +2 -2
  25. package/dist/api/GoogleApi.js +2 -2
  26. package/dist/api/GraphActionTypesApi.js +2 -2
  27. package/dist/api/GraphActionsApi.js +2 -2
  28. package/dist/api/GraphObjectTypesApi.js +2 -2
  29. package/dist/api/GraphObjectsApi.js +2 -2
  30. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  31. package/dist/api/GraphRelationshipsApi.js +2 -2
  32. package/dist/api/GraphSchemasApi.js +2 -2
  33. package/dist/api/GraphTraversalApi.js +2 -2
  34. package/dist/api/GraphsApi.js +2 -2
  35. package/dist/api/GroupsApi.js +2 -2
  36. package/dist/api/IAMApi.js +2 -2
  37. package/dist/api/ImagesApi.js +2 -2
  38. package/dist/api/InvitesApi.js +2 -2
  39. package/dist/api/LikesApi.js +2 -2
  40. package/dist/api/LinkedINApi.js +2 -2
  41. package/dist/api/LiveMeetingsApi.js +2 -2
  42. package/dist/api/MeetingEventsApi.js +2 -2
  43. package/dist/api/NotificationsApi.js +2 -2
  44. package/dist/api/PagesApi.js +2 -2
  45. package/dist/api/PhoneNumbersApi.js +2 -2
  46. package/dist/api/PostsApi.js +2 -2
  47. package/dist/api/PrivateMessagesApi.js +2 -2
  48. package/dist/api/PublicationsApi.js +2 -2
  49. package/dist/api/ScreensApi.js +2 -2
  50. package/dist/api/SocialIntegrationApi.js +2 -2
  51. package/dist/api/StripeAccountsApi.js +2 -2
  52. package/dist/api/TagsApi.js +2 -2
  53. package/dist/api/TemplatesApi.js +2 -2
  54. package/dist/api/ThemeMappingsApi.js +2 -2
  55. package/dist/api/TopicsApi.js +2 -2
  56. package/dist/api/TransactionsApi.js +2 -2
  57. package/dist/api/TwitterApi.js +2 -2
  58. package/dist/api/UserTagsApi.js +2 -2
  59. package/dist/api/UsersApi.js +2 -2
  60. package/dist/api/UtilsApi.js +2 -2
  61. package/dist/api/VideosApi.js +2 -2
  62. package/dist/model/APIClient.js +32 -32
  63. package/dist/model/AccountSessionInput.js +2 -2
  64. package/dist/model/AccountSessionResponse.js +2 -2
  65. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  66. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  67. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
  68. package/dist/model/Article.js +52 -52
  69. package/dist/model/AuthResponse.js +2 -2
  70. package/dist/model/AwsSettings.js +2 -2
  71. package/dist/model/Balance.js +60 -60
  72. package/dist/model/BalanceDetails.js +2 -2
  73. package/dist/model/BalanceResponse.js +2 -2
  74. package/dist/model/BankAccountInfo.js +2 -2
  75. package/dist/model/CardInfo.js +2 -2
  76. package/dist/model/Comment.js +25 -25
  77. package/dist/model/Coordinates.js +2 -2
  78. package/dist/model/CreateAccountResponse.js +2 -2
  79. package/dist/model/CreateFunctionInput.js +2 -2
  80. package/dist/model/CreateStripeAccountInput.js +2 -2
  81. package/dist/model/CreateStripeCustomerInput.js +2 -2
  82. package/dist/model/CreateTopicInput.js +2 -2
  83. package/dist/model/CreateTopicListenerInput.js +2 -2
  84. package/dist/model/CurrencySettings.js +29 -6
  85. package/dist/model/CustomerResponse.js +2 -2
  86. package/dist/model/DataObject.js +2 -2
  87. package/dist/model/DataSheetImport.js +2 -2
  88. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  89. package/dist/model/DataSheetImportSummary.js +2 -2
  90. package/dist/model/DeviceRegistrationRequest.js +2 -2
  91. package/dist/model/Document.js +52 -52
  92. package/dist/model/DocumentPart.js +2 -2
  93. package/dist/model/DocumentPartType.js +2 -2
  94. package/dist/model/DocumentType.js +23 -23
  95. package/dist/model/EmailAddress.js +27 -27
  96. package/dist/model/FieldMapping.js +2 -2
  97. package/dist/model/Fields.js +25 -25
  98. package/dist/model/File.js +2 -2
  99. package/dist/model/FileAttachmentUploadObject.js +2 -2
  100. package/dist/model/Filter.js +2 -2
  101. package/dist/model/FilterManager.js +2 -2
  102. package/dist/model/Form.js +2 -2
  103. package/dist/model/FormSection.js +2 -2
  104. package/dist/model/FormSubmission.js +2 -2
  105. package/dist/model/FunctionConfigInput.js +2 -2
  106. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  107. package/dist/model/FunctionInput.js +2 -2
  108. package/dist/model/FunctionOutput.js +2 -2
  109. package/dist/model/Geocode.js +2 -2
  110. package/dist/model/GeocodePayload.js +2 -2
  111. package/dist/model/GeolocationInput.js +2 -2
  112. package/dist/model/GetFunctionConfig.js +2 -2
  113. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  114. package/dist/model/GetFunctionResponse.js +2 -2
  115. package/dist/model/GoogleCloudSettings.js +2 -2
  116. package/dist/model/Graph.js +91 -91
  117. package/dist/model/GraphAction.js +2 -2
  118. package/dist/model/GraphDatabaseService.js +2 -2
  119. package/dist/model/GraphGeocode.js +2 -2
  120. package/dist/model/GraphIteratorEntryPart.js +2 -2
  121. package/dist/model/GraphObject.js +2 -2
  122. package/dist/model/GraphObjectPayload.js +2 -2
  123. package/dist/model/GraphObjectSchema.js +30 -30
  124. package/dist/model/GraphObjectType.js +27 -27
  125. package/dist/model/GraphObjectTypeResponse.js +79 -18
  126. package/dist/model/GraphObjectTypeSchema.js +27 -27
  127. package/dist/model/GraphOwner.js +2 -2
  128. package/dist/model/GraphRelationship.js +2 -2
  129. package/dist/model/GraphRelationshipPayload.js +2 -2
  130. package/dist/model/GraphRelationshipType.js +2 -2
  131. package/dist/model/GraphRelationshipTypeResponse.js +101 -30
  132. package/dist/model/GraphSchema.js +27 -27
  133. package/dist/model/GraphTraversalInput.js +2 -2
  134. package/dist/model/Image.js +2 -2
  135. package/dist/model/ImageUploadObject.js +2 -2
  136. package/dist/model/InputPart.js +2 -2
  137. package/dist/model/InputPartMediaType.js +2 -2
  138. package/dist/model/KafkaSettings.js +2 -2
  139. package/dist/model/Link.js +2 -2
  140. package/dist/model/LiveStreamInfo.js +2 -2
  141. package/dist/model/MeetingEvent.js +25 -25
  142. package/dist/model/MeetingEventTimezone.js +2 -2
  143. package/dist/model/MeetingInfo.js +31 -31
  144. package/dist/model/Member.js +2 -2
  145. package/dist/model/MemberGroupCategory.js +2 -2
  146. package/dist/model/MemberList.js +2 -2
  147. package/dist/model/MessageGroup.js +2 -2
  148. package/dist/model/MultipartBody.js +2 -2
  149. package/dist/model/NotificationInput.js +2 -2
  150. package/dist/model/NotificationResponse.js +2 -2
  151. package/dist/model/NumberSettings.js +28 -5
  152. package/dist/model/ObjectSettings.js +28 -5
  153. package/dist/model/Objecttype.js +27 -27
  154. package/dist/model/OutParameter.js +2 -2
  155. package/dist/model/Page.js +2 -2
  156. package/dist/model/PageSchema.js +2 -2
  157. package/dist/model/Pageable.js +2 -2
  158. package/dist/model/Parameter.js +2 -2
  159. package/dist/model/Path.js +2 -2
  160. package/dist/model/PaymentAccountObject.js +2 -2
  161. package/dist/model/PaymentIntentInput.js +2 -2
  162. package/dist/model/PaymentIntentResponse.js +2 -2
  163. package/dist/model/PaymentMethod.js +2 -2
  164. package/dist/model/PaymentMethodInput.js +2 -2
  165. package/dist/model/PaymentMethodResponse.js +2 -2
  166. package/dist/model/PaymentMethodsResponse.js +2 -2
  167. package/dist/model/Payout.js +32 -32
  168. package/dist/model/PayoutInput.js +2 -2
  169. package/dist/model/PayoutResponse.js +2 -2
  170. package/dist/model/PhoneNumber.js +27 -27
  171. package/dist/model/Post.js +2 -2
  172. package/dist/model/PrivateMessage.js +2 -2
  173. package/dist/model/PrivateMessageConversation.js +91 -91
  174. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  175. package/dist/model/Profile.js +2 -2
  176. package/dist/model/Profiletype.js +2 -2
  177. package/dist/model/PropertyContainer.js +2 -2
  178. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  179. package/dist/model/RelationshipMapping.js +2 -2
  180. package/dist/model/ScreenSchema.js +2 -2
  181. package/dist/model/SimulcastInfo.js +2 -2
  182. package/dist/model/SkinField.js +25 -25
  183. package/dist/model/SkinFieldResponse.js +65 -6
  184. package/dist/model/SocialGroup.js +27 -27
  185. package/dist/model/SocialGroupType.js +2 -2
  186. package/dist/model/Sort.js +2 -2
  187. package/dist/model/SourceTypes.js +2 -2
  188. package/dist/model/StatusUpdate.js +2 -2
  189. package/dist/model/StreetAddress.js +2 -2
  190. package/dist/model/StripeAccount.js +2 -2
  191. package/dist/model/StripeCustomerAccount.js +2 -2
  192. package/dist/model/Template.js +2 -2
  193. package/dist/model/TemplateResponse.js +2 -2
  194. package/dist/model/TemplateSchema.js +2 -2
  195. package/dist/model/ThemeMapping.js +2 -2
  196. package/dist/model/ThemeMappingPayload.js +2 -2
  197. package/dist/model/TopicInfoResponse.js +2 -2
  198. package/dist/model/TopicMessageInput.js +2 -2
  199. package/dist/model/TopicSubscriptionResponse.js +2 -2
  200. package/dist/model/Transaction.js +2 -2
  201. package/dist/model/Transfer.js +29 -29
  202. package/dist/model/TransferInput.js +2 -2
  203. package/dist/model/TransferResponse.js +2 -2
  204. package/dist/model/TransferResponsePaymentMethodDetails.js +29 -29
  205. package/dist/model/TraversalRelationResponse.js +2 -2
  206. package/dist/model/User.js +2 -2
  207. package/dist/model/UserDataPayload.js +2 -2
  208. package/dist/model/UserDomain.js +2 -2
  209. package/dist/model/UserInvite.js +2 -2
  210. package/dist/model/UserInviteInput.js +2 -2
  211. package/dist/model/UserSchema.js +2 -2
  212. package/dist/model/UserTag.js +2 -2
  213. package/dist/model/Userid.js +2 -2
  214. package/dist/model/Video.js +70 -70
  215. package/dist/model/VideoLiveUrl.js +2 -2
  216. package/dist/model/VideoSchema.js +97 -97
  217. package/dist/model/VideoUploadObject.js +70 -70
  218. package/dist/model/ZeusPortalCategory.js +2 -2
  219. package/package.json +1 -1
@@ -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.64
24
+ * The version of the OpenAPI document: 0.1.65
25
25
  * Contact: info@gobodo.io
26
26
  *
27
27
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,16 +32,25 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  /**
33
33
  * The GraphObjectTypeResponse model module.
34
34
  * @module model/GraphObjectTypeResponse
35
- * @version 0.1.64
35
+ * @version 0.1.65
36
36
  */
37
37
  var GraphObjectTypeResponse = /*#__PURE__*/function () {
38
38
  /**
39
39
  * Constructs a new <code>GraphObjectTypeResponse</code>.
40
40
  * @alias module:model/GraphObjectTypeResponse
41
+ * @param id {Number}
42
+ * @param key {String}
43
+ * @param name {String}
44
+ * @param description {String}
45
+ * @param singularName {String}
46
+ * @param pluralName {String}
47
+ * @param template {module:model/TemplateResponse}
48
+ * @param fields {Array.<module:model/SkinFieldResponse>}
49
+ * @param methods {Array.<module:model/GetFunctionResponse>}
41
50
  */
42
- function GraphObjectTypeResponse() {
51
+ function GraphObjectTypeResponse(id, key, name, description, singularName, pluralName, template, fields, methods) {
43
52
  _classCallCheck(this, GraphObjectTypeResponse);
44
- GraphObjectTypeResponse.initialize(this);
53
+ GraphObjectTypeResponse.initialize(this, id, key, name, description, singularName, pluralName, template, fields, methods);
45
54
  }
46
55
 
47
56
  /**
@@ -203,9 +212,36 @@ var GraphObjectTypeResponse = /*#__PURE__*/function () {
203
212
  value: function setMethods(methods) {
204
213
  this['methods'] = methods;
205
214
  }
215
+ /**
216
+ * @return {Object}
217
+ */
218
+ }, {
219
+ key: "getProperties",
220
+ value: function getProperties() {
221
+ return this.properties;
222
+ }
223
+
224
+ /**
225
+ * @param {Object} properties
226
+ */
227
+ }, {
228
+ key: "setProperties",
229
+ value: function setProperties(properties) {
230
+ this['properties'] = properties;
231
+ }
206
232
  }], [{
207
233
  key: "initialize",
208
- value: function initialize(obj) {}
234
+ value: function initialize(obj, id, key, name, description, singularName, pluralName, template, fields, methods) {
235
+ obj['id'] = id;
236
+ obj['key'] = key;
237
+ obj['name'] = name;
238
+ obj['description'] = description;
239
+ obj['singularName'] = singularName;
240
+ obj['pluralName'] = pluralName;
241
+ obj['template'] = template;
242
+ obj['fields'] = fields;
243
+ obj['methods'] = methods;
244
+ }
209
245
 
210
246
  /**
211
247
  * Constructs a <code>GraphObjectTypeResponse</code> from a plain JavaScript object, optionally creating a new instance.
@@ -246,6 +282,9 @@ var GraphObjectTypeResponse = /*#__PURE__*/function () {
246
282
  if (data.hasOwnProperty('methods')) {
247
283
  obj['methods'] = _ApiClient["default"].convertToType(data['methods'], [_GetFunctionResponse["default"]]);
248
284
  }
285
+ if (data.hasOwnProperty('properties')) {
286
+ obj['properties'] = _ApiClient["default"].convertToType(data['properties'], Object);
287
+ }
249
288
  }
250
289
  return obj;
251
290
  }
@@ -258,7 +297,22 @@ var GraphObjectTypeResponse = /*#__PURE__*/function () {
258
297
  }, {
259
298
  key: "validateJSON",
260
299
  value: function validateJSON(data) {
261
- // ensure the json data is a string
300
+ // check to make sure all required properties are present in the JSON string
301
+ var _iterator = _createForOfIteratorHelper(GraphObjectTypeResponse.RequiredProperties),
302
+ _step;
303
+ try {
304
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
305
+ var property = _step.value;
306
+ if (!data[property]) {
307
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
308
+ }
309
+ }
310
+ // ensure the json data is a string
311
+ } catch (err) {
312
+ _iterator.e(err);
313
+ } finally {
314
+ _iterator.f();
315
+ }
262
316
  if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
263
317
  throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
264
318
  }
@@ -290,17 +344,17 @@ var GraphObjectTypeResponse = /*#__PURE__*/function () {
290
344
  throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
291
345
  }
292
346
  // validate the optional field `fields` (array)
293
- var _iterator = _createForOfIteratorHelper(data['fields']),
294
- _step;
347
+ var _iterator2 = _createForOfIteratorHelper(data['fields']),
348
+ _step2;
295
349
  try {
296
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
297
- var item = _step.value;
350
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
351
+ var item = _step2.value;
298
352
  _SkinFieldResponse["default"].validateJSON(item);
299
353
  }
300
354
  } catch (err) {
301
- _iterator.e(err);
355
+ _iterator2.e(err);
302
356
  } finally {
303
- _iterator.f();
357
+ _iterator2.f();
304
358
  }
305
359
  ;
306
360
  }
@@ -311,17 +365,17 @@ var GraphObjectTypeResponse = /*#__PURE__*/function () {
311
365
  throw new Error("Expected the field `methods` to be an array in the JSON data but got " + data['methods']);
312
366
  }
313
367
  // validate the optional field `methods` (array)
314
- var _iterator2 = _createForOfIteratorHelper(data['methods']),
315
- _step2;
368
+ var _iterator3 = _createForOfIteratorHelper(data['methods']),
369
+ _step3;
316
370
  try {
317
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
318
- var _item = _step2.value;
371
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
372
+ var _item = _step3.value;
319
373
  _GetFunctionResponse["default"].validateJSON(_item);
320
374
  }
321
375
  } catch (err) {
322
- _iterator2.e(err);
376
+ _iterator3.e(err);
323
377
  } finally {
324
- _iterator2.f();
378
+ _iterator3.f();
325
379
  }
326
380
  ;
327
381
  }
@@ -330,6 +384,8 @@ var GraphObjectTypeResponse = /*#__PURE__*/function () {
330
384
  }]);
331
385
  return GraphObjectTypeResponse;
332
386
  }();
387
+ GraphObjectTypeResponse.RequiredProperties = ["id", "key", "name", "description", "singularName", "pluralName", "template", "fields", "methods"];
388
+
333
389
  /**
334
390
  * @member {Number} id
335
391
  */
@@ -374,4 +430,9 @@ GraphObjectTypeResponse.prototype['fields'] = undefined;
374
430
  * @member {Array.<module:model/GetFunctionResponse>} methods
375
431
  */
376
432
  GraphObjectTypeResponse.prototype['methods'] = undefined;
433
+
434
+ /**
435
+ * @member {Object} properties
436
+ */
437
+ GraphObjectTypeResponse.prototype['properties'] = undefined;
377
438
  var _default = exports["default"] = GraphObjectTypeResponse;
@@ -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.64
24
+ * The version of the OpenAPI document: 0.1.65
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 GraphObjectTypeSchema model module.
34
34
  * @module model/GraphObjectTypeSchema
35
- * @version 0.1.64
35
+ * @version 0.1.65
36
36
  */
37
37
  var GraphObjectTypeSchema = /*#__PURE__*/function () {
38
38
  /**
@@ -205,6 +205,23 @@ var GraphObjectTypeSchema = /*#__PURE__*/function () {
205
205
  value: function setDescription(description) {
206
206
  this['description'] = description;
207
207
  }
208
+ /**
209
+ * @return {Object}
210
+ */
211
+ }, {
212
+ key: "getActionTypes",
213
+ value: function getActionTypes() {
214
+ return this.actionTypes;
215
+ }
216
+
217
+ /**
218
+ * @param {Object} actionTypes
219
+ */
220
+ }, {
221
+ key: "setActionTypes",
222
+ value: function setActionTypes(actionTypes) {
223
+ this['actionTypes'] = actionTypes;
224
+ }
208
225
  /**
209
226
  * @return {module:model/Member}
210
227
  */
@@ -241,23 +258,6 @@ var GraphObjectTypeSchema = /*#__PURE__*/function () {
241
258
  value: function setModificationdate(modificationdate) {
242
259
  this['modificationdate'] = modificationdate;
243
260
  }
244
- /**
245
- * @return {Object}
246
- */
247
- }, {
248
- key: "getActionTypes",
249
- value: function getActionTypes() {
250
- return this.actionTypes;
251
- }
252
-
253
- /**
254
- * @param {Object} actionTypes
255
- */
256
- }, {
257
- key: "setActionTypes",
258
- value: function setActionTypes(actionTypes) {
259
- this['actionTypes'] = actionTypes;
260
- }
261
261
  /**
262
262
  * @return {String}
263
263
  */
@@ -439,15 +439,15 @@ var GraphObjectTypeSchema = /*#__PURE__*/function () {
439
439
  if (data.hasOwnProperty('description')) {
440
440
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
441
441
  }
442
+ if (data.hasOwnProperty('actionTypes')) {
443
+ obj['actionTypes'] = _ApiClient["default"].convertToType(data['actionTypes'], Object);
444
+ }
442
445
  if (data.hasOwnProperty('creator')) {
443
446
  obj['creator'] = _Member["default"].constructFromObject(data['creator']);
444
447
  }
445
448
  if (data.hasOwnProperty('modificationdate')) {
446
449
  obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
447
450
  }
448
- if (data.hasOwnProperty('actionTypes')) {
449
- obj['actionTypes'] = _ApiClient["default"].convertToType(data['actionTypes'], Object);
450
- }
451
451
  if (data.hasOwnProperty('singularname')) {
452
452
  obj['singularname'] = _ApiClient["default"].convertToType(data['singularname'], 'String');
453
453
  }
@@ -586,6 +586,11 @@ GraphObjectTypeSchema.prototype['workflows'] = undefined;
586
586
  */
587
587
  GraphObjectTypeSchema.prototype['description'] = undefined;
588
588
 
589
+ /**
590
+ * @member {Object} actionTypes
591
+ */
592
+ GraphObjectTypeSchema.prototype['actionTypes'] = undefined;
593
+
589
594
  /**
590
595
  * @member {module:model/Member} creator
591
596
  */
@@ -597,11 +602,6 @@ GraphObjectTypeSchema.prototype['creator'] = undefined;
597
602
  */
598
603
  GraphObjectTypeSchema.prototype['modificationdate'] = undefined;
599
604
 
600
- /**
601
- * @member {Object} actionTypes
602
- */
603
- GraphObjectTypeSchema.prototype['actionTypes'] = undefined;
604
-
605
605
  /**
606
606
  * @member {String} singularname
607
607
  */
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.64
18
+ * The version of the OpenAPI document: 0.1.65
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The GraphOwner model module.
28
28
  * @module model/GraphOwner
29
- * @version 0.1.64
29
+ * @version 0.1.65
30
30
  */
31
31
  var GraphOwner = /*#__PURE__*/function () {
32
32
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.64
18
+ * The version of the OpenAPI document: 0.1.65
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The GraphRelationship model module.
28
28
  * @module model/GraphRelationship
29
- * @version 0.1.64
29
+ * @version 0.1.65
30
30
  */
31
31
  var GraphRelationship = /*#__PURE__*/function () {
32
32
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.64
18
+ * The version of the OpenAPI document: 0.1.65
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The GraphRelationshipPayload model module.
28
28
  * @module model/GraphRelationshipPayload
29
- * @version 0.1.64
29
+ * @version 0.1.65
30
30
  */
31
31
  var GraphRelationshipPayload = /*#__PURE__*/function () {
32
32
  /**
@@ -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.64
20
+ * The version of the OpenAPI document: 0.1.65
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 GraphRelationshipType model module.
30
30
  * @module model/GraphRelationshipType
31
- * @version 0.1.64
31
+ * @version 0.1.65
32
32
  */
33
33
  var GraphRelationshipType = /*#__PURE__*/function () {
34
34
  /**
@@ -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.64
24
+ * The version of the OpenAPI document: 0.1.65
25
25
  * Contact: info@gobodo.io
26
26
  *
27
27
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,16 +32,30 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  /**
33
33
  * The GraphRelationshipTypeResponse model module.
34
34
  * @module model/GraphRelationshipTypeResponse
35
- * @version 0.1.64
35
+ * @version 0.1.65
36
36
  */
37
37
  var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
38
38
  /**
39
39
  * Constructs a new <code>GraphRelationshipTypeResponse</code>.
40
40
  * @alias module:model/GraphRelationshipTypeResponse
41
+ * @param id {Number}
42
+ * @param key {String}
43
+ * @param cardinality {module:model/GraphRelationshipTypeResponse.CardinalityEnum}
44
+ * @param name {String}
45
+ * @param description {String}
46
+ * @param descriptiveName {String}
47
+ * @param createName {String}
48
+ * @param reverseName {String}
49
+ * @param pluralName {String}
50
+ * @param startObjectTypes {Array.<module:model/GraphObjectTypeResponse>}
51
+ * @param endObjectTypes {Array.<module:model/GraphObjectTypeResponse>}
52
+ * @param fields {Array.<module:model/SkinFieldResponse>}
53
+ * @param methods {Array.<module:model/GetFunctionResponse>}
54
+ * @param properties {Object}
41
55
  */
42
- function GraphRelationshipTypeResponse() {
56
+ function GraphRelationshipTypeResponse(id, key, cardinality, name, description, descriptiveName, createName, reverseName, pluralName, startObjectTypes, endObjectTypes, fields, methods, properties) {
43
57
  _classCallCheck(this, GraphRelationshipTypeResponse);
44
- GraphRelationshipTypeResponse.initialize(this);
58
+ GraphRelationshipTypeResponse.initialize(this, id, key, cardinality, name, description, descriptiveName, createName, reverseName, pluralName, startObjectTypes, endObjectTypes, fields, methods, properties);
45
59
  }
46
60
 
47
61
  /**
@@ -305,9 +319,41 @@ var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
305
319
  value: function setMethods(methods) {
306
320
  this['methods'] = methods;
307
321
  }
322
+ /**
323
+ * @return {Object}
324
+ */
325
+ }, {
326
+ key: "getProperties",
327
+ value: function getProperties() {
328
+ return this.properties;
329
+ }
330
+
331
+ /**
332
+ * @param {Object} properties
333
+ */
334
+ }, {
335
+ key: "setProperties",
336
+ value: function setProperties(properties) {
337
+ this['properties'] = properties;
338
+ }
308
339
  }], [{
309
340
  key: "initialize",
310
- value: function initialize(obj) {}
341
+ value: function initialize(obj, id, key, cardinality, name, description, descriptiveName, createName, reverseName, pluralName, startObjectTypes, endObjectTypes, fields, methods, properties) {
342
+ obj['id'] = id;
343
+ obj['key'] = key;
344
+ obj['cardinality'] = cardinality;
345
+ obj['name'] = name;
346
+ obj['description'] = description;
347
+ obj['descriptiveName'] = descriptiveName;
348
+ obj['createName'] = createName;
349
+ obj['reverseName'] = reverseName;
350
+ obj['pluralName'] = pluralName;
351
+ obj['startObjectTypes'] = startObjectTypes;
352
+ obj['endObjectTypes'] = endObjectTypes;
353
+ obj['fields'] = fields;
354
+ obj['methods'] = methods;
355
+ obj['properties'] = properties;
356
+ }
311
357
 
312
358
  /**
313
359
  * Constructs a <code>GraphRelationshipTypeResponse</code> from a plain JavaScript object, optionally creating a new instance.
@@ -366,6 +412,9 @@ var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
366
412
  if (data.hasOwnProperty('methods')) {
367
413
  obj['methods'] = _ApiClient["default"].convertToType(data['methods'], [_GetFunctionResponse["default"]]);
368
414
  }
415
+ if (data.hasOwnProperty('properties')) {
416
+ obj['properties'] = _ApiClient["default"].convertToType(data['properties'], Object);
417
+ }
369
418
  }
370
419
  return obj;
371
420
  }
@@ -378,7 +427,22 @@ var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
378
427
  }, {
379
428
  key: "validateJSON",
380
429
  value: function validateJSON(data) {
381
- // ensure the json data is a string
430
+ // check to make sure all required properties are present in the JSON string
431
+ var _iterator = _createForOfIteratorHelper(GraphRelationshipTypeResponse.RequiredProperties),
432
+ _step;
433
+ try {
434
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
435
+ var property = _step.value;
436
+ if (!data[property]) {
437
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
438
+ }
439
+ }
440
+ // ensure the json data is a string
441
+ } catch (err) {
442
+ _iterator.e(err);
443
+ } finally {
444
+ _iterator.f();
445
+ }
382
446
  if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
383
447
  throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
384
448
  }
@@ -425,17 +489,17 @@ var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
425
489
  throw new Error("Expected the field `startObjectTypes` to be an array in the JSON data but got " + data['startObjectTypes']);
426
490
  }
427
491
  // validate the optional field `startObjectTypes` (array)
428
- var _iterator = _createForOfIteratorHelper(data['startObjectTypes']),
429
- _step;
492
+ var _iterator2 = _createForOfIteratorHelper(data['startObjectTypes']),
493
+ _step2;
430
494
  try {
431
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
432
- var item = _step.value;
495
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
496
+ var item = _step2.value;
433
497
  _GraphObjectTypeResponse["default"].validateJSON(item);
434
498
  }
435
499
  } catch (err) {
436
- _iterator.e(err);
500
+ _iterator2.e(err);
437
501
  } finally {
438
- _iterator.f();
502
+ _iterator2.f();
439
503
  }
440
504
  ;
441
505
  }
@@ -446,17 +510,17 @@ var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
446
510
  throw new Error("Expected the field `endObjectTypes` to be an array in the JSON data but got " + data['endObjectTypes']);
447
511
  }
448
512
  // validate the optional field `endObjectTypes` (array)
449
- var _iterator2 = _createForOfIteratorHelper(data['endObjectTypes']),
450
- _step2;
513
+ var _iterator3 = _createForOfIteratorHelper(data['endObjectTypes']),
514
+ _step3;
451
515
  try {
452
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
453
- var _item = _step2.value;
516
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
517
+ var _item = _step3.value;
454
518
  _GraphObjectTypeResponse["default"].validateJSON(_item);
455
519
  }
456
520
  } catch (err) {
457
- _iterator2.e(err);
521
+ _iterator3.e(err);
458
522
  } finally {
459
- _iterator2.f();
523
+ _iterator3.f();
460
524
  }
461
525
  ;
462
526
  }
@@ -467,17 +531,17 @@ var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
467
531
  throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
468
532
  }
469
533
  // validate the optional field `fields` (array)
470
- var _iterator3 = _createForOfIteratorHelper(data['fields']),
471
- _step3;
534
+ var _iterator4 = _createForOfIteratorHelper(data['fields']),
535
+ _step4;
472
536
  try {
473
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
474
- var _item2 = _step3.value;
537
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
538
+ var _item2 = _step4.value;
475
539
  _SkinFieldResponse["default"].validateJSON(_item2);
476
540
  }
477
541
  } catch (err) {
478
- _iterator3.e(err);
542
+ _iterator4.e(err);
479
543
  } finally {
480
- _iterator3.f();
544
+ _iterator4.f();
481
545
  }
482
546
  ;
483
547
  }
@@ -488,17 +552,17 @@ var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
488
552
  throw new Error("Expected the field `methods` to be an array in the JSON data but got " + data['methods']);
489
553
  }
490
554
  // validate the optional field `methods` (array)
491
- var _iterator4 = _createForOfIteratorHelper(data['methods']),
492
- _step4;
555
+ var _iterator5 = _createForOfIteratorHelper(data['methods']),
556
+ _step5;
493
557
  try {
494
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
495
- var _item3 = _step4.value;
558
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
559
+ var _item3 = _step5.value;
496
560
  _GetFunctionResponse["default"].validateJSON(_item3);
497
561
  }
498
562
  } catch (err) {
499
- _iterator4.e(err);
563
+ _iterator5.e(err);
500
564
  } finally {
501
- _iterator4.f();
565
+ _iterator5.f();
502
566
  }
503
567
  ;
504
568
  }
@@ -507,6 +571,8 @@ var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
507
571
  }]);
508
572
  return GraphRelationshipTypeResponse;
509
573
  }();
574
+ GraphRelationshipTypeResponse.RequiredProperties = ["id", "key", "cardinality", "name", "description", "descriptiveName", "createName", "reverseName", "pluralName", "startObjectTypes", "endObjectTypes", "fields", "methods", "properties"];
575
+
510
576
  /**
511
577
  * @member {Number} id
512
578
  */
@@ -582,6 +648,11 @@ GraphRelationshipTypeResponse.prototype['fields'] = undefined;
582
648
  */
583
649
  GraphRelationshipTypeResponse.prototype['methods'] = undefined;
584
650
 
651
+ /**
652
+ * @member {Object} properties
653
+ */
654
+ GraphRelationshipTypeResponse.prototype['properties'] = undefined;
655
+
585
656
  /**
586
657
  * Allowed values for the <code>cardinality</code> property.
587
658
  * @enum {String}