@gobodo/gobodo-api-promise 0.1.41 → 0.1.44

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 (189) hide show
  1. package/README.md +3 -3
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/ActionTypesApi.js +2 -2
  4. package/dist/api/AdCampaignsApi.js +2 -2
  5. package/dist/api/AdManagementApi.js +2 -2
  6. package/dist/api/AdminDataManagementApi.js +2 -2
  7. package/dist/api/AdsApi.js +2 -2
  8. package/dist/api/AttachmentsApi.js +2 -2
  9. package/dist/api/AuthenticationApi.js +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/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 +5 -6
  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 +2 -2
  48. package/dist/api/TagsApi.js +2 -2
  49. package/dist/api/TemplatesApi.js +2 -2
  50. package/dist/api/ThemeMappingsApi.js +2 -2
  51. package/dist/api/TransactionsApi.js +2 -2
  52. package/dist/api/TwitterApi.js +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/index.js +7 -7
  58. package/dist/model/APIClient.js +27 -27
  59. package/dist/model/AccountSessionInput.js +2 -2
  60. package/dist/model/AccountSessionResponse.js +2 -2
  61. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  62. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
  64. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +2 -2
  65. package/dist/model/Article.js +25 -25
  66. package/dist/model/AuthResponse.js +2 -2
  67. package/dist/model/Balance.js +49 -49
  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 +30 -30
  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 +90 -90
  80. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  81. package/dist/model/DataSheetImportSummary.js +25 -25
  82. package/dist/model/Document.js +25 -25
  83. package/dist/model/DocumentPart.js +109 -109
  84. package/dist/model/DocumentPartType.js +26 -26
  85. package/dist/model/DocumentType.js +36 -36
  86. package/dist/model/FieldMapping.js +2 -2
  87. package/dist/model/Fields.js +74 -74
  88. package/dist/model/File.js +31 -31
  89. package/dist/model/FileAttachmentUploadObject.js +31 -31
  90. package/dist/model/Filter.js +2 -2
  91. package/dist/model/FilterManager.js +2 -2
  92. package/dist/model/Form.js +29 -29
  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 +25 -25
  99. package/dist/model/GraphAction.js +2 -2
  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 +2 -2
  104. package/dist/model/GraphObjectPayload.js +2 -2
  105. package/dist/model/GraphObjectSchema.js +2 -2
  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/GraphRelationObjectObject.js +2 -2
  110. package/dist/model/GraphRelationship.js +2 -2
  111. package/dist/model/GraphRelationshipPayload.js +2 -2
  112. package/dist/model/GraphRelationshipType.js +2 -2
  113. package/dist/model/GraphSchema.js +90 -90
  114. package/dist/model/GraphTraversalInput.js +2 -2
  115. package/dist/model/Image.js +54 -54
  116. package/dist/model/ImageUploadObject.js +54 -54
  117. package/dist/model/InputPart.js +29 -29
  118. package/dist/model/InputPartMediaType.js +2 -2
  119. package/dist/model/Link.js +28 -28
  120. package/dist/model/LiveStreamInfo.js +2 -2
  121. package/dist/model/MeetingEvent.js +25 -25
  122. package/dist/model/MeetingEventTimezone.js +2 -2
  123. package/dist/model/MeetingInfo.js +2 -2
  124. package/dist/model/Member.js +48 -48
  125. package/dist/model/MemberGroupCategory.js +2 -2
  126. package/dist/model/MemberList.js +2 -2
  127. package/dist/model/MessageGroup.js +2 -2
  128. package/dist/model/MultipartBody.js +2 -2
  129. package/dist/model/Objecttype.js +2 -2
  130. package/dist/model/Page.js +2 -2
  131. package/dist/model/PageSchema.js +54 -54
  132. package/dist/model/Pageable.js +2 -2
  133. package/dist/model/Path.js +98 -18
  134. package/dist/model/PathPathInner.js +272 -0
  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 +27 -27
  139. package/dist/model/PaymentMethodInput.js +2 -2
  140. package/dist/model/PaymentMethodResponse.js +2 -2
  141. package/dist/model/PaymentMethodsResponse.js +2 -2
  142. package/dist/model/Payout.js +30 -30
  143. package/dist/model/PayoutInput.js +2 -2
  144. package/dist/model/PayoutResponse.js +2 -2
  145. package/dist/model/Post.js +2 -2
  146. package/dist/model/PrivateMessage.js +29 -29
  147. package/dist/model/PrivateMessageConversation.js +59 -59
  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 +2 -2
  155. package/dist/model/SimulcastInfo.js +2 -2
  156. package/dist/model/SkinField.js +74 -74
  157. package/dist/model/SocialGroup.js +2 -2
  158. package/dist/model/SocialGroupType.js +25 -25
  159. package/dist/model/Sort.js +2 -2
  160. package/dist/model/SourceTypes.js +2 -2
  161. package/dist/model/StatusUpdate.js +2 -2
  162. package/dist/model/StreetAddress.js +2 -2
  163. package/dist/model/StripeAccount.js +2 -2
  164. package/dist/model/StripeCustomerAccount.js +2 -2
  165. package/dist/model/Template.js +2 -2
  166. package/dist/model/TemplateSchema.js +2 -2
  167. package/dist/model/ThemeMapping.js +2 -2
  168. package/dist/model/ThemeMappingPayload.js +2 -2
  169. package/dist/model/Transaction.js +2 -2
  170. package/dist/model/Transfer.js +30 -30
  171. package/dist/model/TransferInput.js +2 -2
  172. package/dist/model/TransferResponse.js +2 -2
  173. package/dist/model/TransferResponsePaymentMethodDetails.js +30 -30
  174. package/dist/model/TraversalRelationResponse.js +2 -2
  175. package/dist/model/Traverse200ResponseInnerInner.js +10 -0
  176. package/dist/model/User.js +48 -48
  177. package/dist/model/UserDataPayload.js +48 -48
  178. package/dist/model/UserDomain.js +2 -2
  179. package/dist/model/UserInvite.js +2 -2
  180. package/dist/model/UserInviteInput.js +2 -2
  181. package/dist/model/UserSchema.js +48 -48
  182. package/dist/model/UserTag.js +2 -2
  183. package/dist/model/Userid.js +2 -2
  184. package/dist/model/Video.js +81 -81
  185. package/dist/model/VideoLiveUrl.js +2 -2
  186. package/dist/model/VideoSchema.js +81 -81
  187. package/dist/model/VideoUploadObject.js +81 -81
  188. package/dist/model/ZeusPortalCategory.js +2 -2
  189. package/package.json +1 -1
@@ -5,9 +5,13 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _GraphRelationObjectObject = _interopRequireDefault(require("./GraphRelationObjectObject"));
8
+ var _GraphObjectSchema = _interopRequireDefault(require("./GraphObjectSchema"));
9
+ var _PathPathInner = _interopRequireDefault(require("./PathPathInner"));
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
11
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
13
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
14
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
15
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
16
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
13
17
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -16,7 +20,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
20
  * gobodo-api
17
21
  * REST Interface for Gobodo API
18
22
  *
19
- * The version of the OpenAPI document: 0.1.41
23
+ * The version of the OpenAPI document: 0.1.44
20
24
  * Contact: info@gobodo.io
21
25
  *
22
26
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
31
  /**
28
32
  * The Path model module.
29
33
  * @module model/Path
30
- * @version 0.1.41
34
+ * @version 0.1.44
31
35
  */
32
36
  var Path = /*#__PURE__*/function () {
33
37
  /**
@@ -45,22 +49,56 @@ var Path = /*#__PURE__*/function () {
45
49
  * Only for internal use.
46
50
  */
47
51
  _createClass(Path, [{
48
- key: "getLastRelation",
52
+ key: "getStartObject",
49
53
  value:
50
54
  /**
51
- * @return {module:model/GraphRelationObjectObject}
55
+ * @return {module:model/GraphObjectSchema}
52
56
  */
53
- function getLastRelation() {
54
- return this.lastRelation;
57
+ function getStartObject() {
58
+ return this.startObject;
55
59
  }
56
60
 
57
61
  /**
58
- * @param {module:model/GraphRelationObjectObject} lastRelation
62
+ * @param {module:model/GraphObjectSchema} startObject
59
63
  */
60
64
  }, {
61
- key: "setLastRelation",
62
- value: function setLastRelation(lastRelation) {
63
- this['lastRelation'] = lastRelation;
65
+ key: "setStartObject",
66
+ value: function setStartObject(startObject) {
67
+ this['startObject'] = startObject;
68
+ }
69
+ /**
70
+ * @return {module:model/GraphObjectSchema}
71
+ */
72
+ }, {
73
+ key: "getEndObject",
74
+ value: function getEndObject() {
75
+ return this.endObject;
76
+ }
77
+
78
+ /**
79
+ * @param {module:model/GraphObjectSchema} endObject
80
+ */
81
+ }, {
82
+ key: "setEndObject",
83
+ value: function setEndObject(endObject) {
84
+ this['endObject'] = endObject;
85
+ }
86
+ /**
87
+ * @return {Array.<module:model/PathPathInner>}
88
+ */
89
+ }, {
90
+ key: "getPath",
91
+ value: function getPath() {
92
+ return this.path;
93
+ }
94
+
95
+ /**
96
+ * @param {Array.<module:model/PathPathInner>} path
97
+ */
98
+ }, {
99
+ key: "setPath",
100
+ value: function setPath(path) {
101
+ this['path'] = path;
64
102
  }
65
103
  }], [{
66
104
  key: "initialize",
@@ -78,8 +116,14 @@ var Path = /*#__PURE__*/function () {
78
116
  value: function constructFromObject(data, obj) {
79
117
  if (data) {
80
118
  obj = obj || new Path();
81
- if (data.hasOwnProperty('lastRelation')) {
82
- obj['lastRelation'] = _GraphRelationObjectObject["default"].constructFromObject(data['lastRelation']);
119
+ if (data.hasOwnProperty('startObject')) {
120
+ obj['startObject'] = _GraphObjectSchema["default"].constructFromObject(data['startObject']);
121
+ }
122
+ if (data.hasOwnProperty('endObject')) {
123
+ obj['endObject'] = _GraphObjectSchema["default"].constructFromObject(data['endObject']);
124
+ }
125
+ if (data.hasOwnProperty('path')) {
126
+ obj['path'] = _ApiClient["default"].convertToType(data['path'], [_PathPathInner["default"]]);
83
127
  }
84
128
  }
85
129
  return obj;
@@ -93,10 +137,36 @@ var Path = /*#__PURE__*/function () {
93
137
  }, {
94
138
  key: "validateJSON",
95
139
  value: function validateJSON(data) {
96
- // validate the optional field `lastRelation`
97
- if (data['lastRelation']) {
140
+ // validate the optional field `startObject`
141
+ if (data['startObject']) {
142
+ // data not null
143
+ _GraphObjectSchema["default"].validateJSON(data['startObject']);
144
+ }
145
+ // validate the optional field `endObject`
146
+ if (data['endObject']) {
147
+ // data not null
148
+ _GraphObjectSchema["default"].validateJSON(data['endObject']);
149
+ }
150
+ if (data['path']) {
98
151
  // data not null
99
- _GraphRelationObjectObject["default"].validateJSON(data['lastRelation']);
152
+ // ensure the json data is an array
153
+ if (!Array.isArray(data['path'])) {
154
+ throw new Error("Expected the field `path` to be an array in the JSON data but got " + data['path']);
155
+ }
156
+ // validate the optional field `path` (array)
157
+ var _iterator = _createForOfIteratorHelper(data['path']),
158
+ _step;
159
+ try {
160
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
161
+ var item = _step.value;
162
+ _PathPathInner["default"].validateJSON(item);
163
+ }
164
+ } catch (err) {
165
+ _iterator.e(err);
166
+ } finally {
167
+ _iterator.f();
168
+ }
169
+ ;
100
170
  }
101
171
  return true;
102
172
  }
@@ -104,7 +174,17 @@ var Path = /*#__PURE__*/function () {
104
174
  return Path;
105
175
  }();
106
176
  /**
107
- * @member {module:model/GraphRelationObjectObject} lastRelation
177
+ * @member {module:model/GraphObjectSchema} startObject
178
+ */
179
+ Path.prototype['startObject'] = undefined;
180
+
181
+ /**
182
+ * @member {module:model/GraphObjectSchema} endObject
183
+ */
184
+ Path.prototype['endObject'] = undefined;
185
+
186
+ /**
187
+ * @member {Array.<module:model/PathPathInner>} path
108
188
  */
109
- Path.prototype['lastRelation'] = undefined;
189
+ Path.prototype['path'] = undefined;
110
190
  var _default = exports["default"] = Path;
@@ -0,0 +1,272 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _GraphAction = _interopRequireDefault(require("./GraphAction"));
9
+ var _GraphObjectSchema = _interopRequireDefault(require("./GraphObjectSchema"));
10
+ var _GraphRelationship = _interopRequireDefault(require("./GraphRelationship"));
11
+ var _Image = _interopRequireDefault(require("./Image"));
12
+ var _Objecttype = _interopRequireDefault(require("./Objecttype"));
13
+ var _class;
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
16
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
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
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
20
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
21
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
22
+ * gobodo-api
23
+ * REST Interface for Gobodo API
24
+ *
25
+ * The version of the OpenAPI document: 0.1.44
26
+ * Contact: info@gobodo.io
27
+ *
28
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
29
+ * https://openapi-generator.tech
30
+ * Do not edit the class manually.
31
+ *
32
+ */
33
+ /**
34
+ * The PathPathInner model module.
35
+ * @module model/PathPathInner
36
+ * @version 0.1.44
37
+ */
38
+ var PathPathInner = /*#__PURE__*/function () {
39
+ /**
40
+ * Constructs a new <code>PathPathInner</code>.
41
+ * @alias module:model/PathPathInner
42
+ * @param {(module:model/GraphAction|module:model/GraphObjectSchema|module:model/GraphRelationship)} instance The actual instance to initialize PathPathInner.
43
+ */
44
+ function PathPathInner() {
45
+ var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
46
+ _classCallCheck(this, PathPathInner);
47
+ /**
48
+ * Returns the JSON representation of the actual instance.
49
+ * @return {string}
50
+ */
51
+ _defineProperty(this, "toJSON", function () {
52
+ return this.getActualInstance();
53
+ });
54
+ if (instance === null) {
55
+ this.actualInstance = null;
56
+ return;
57
+ }
58
+ var match = 0;
59
+ var errorMessages = [];
60
+ try {
61
+ if (typeof instance === "GraphRelationship") {
62
+ this.actualInstance = instance;
63
+ } else {
64
+ // plain JS object
65
+ // validate the object
66
+ _GraphRelationship["default"].validateJSON(instance); // throw an exception if no match
67
+ // create GraphRelationship from JS object
68
+ this.actualInstance = _GraphRelationship["default"].constructFromObject(instance);
69
+ }
70
+ match++;
71
+ } catch (err) {
72
+ // json data failed to deserialize into GraphRelationship
73
+ errorMessages.push("Failed to construct GraphRelationship: " + err);
74
+ }
75
+ try {
76
+ if (typeof instance === "GraphAction") {
77
+ this.actualInstance = instance;
78
+ } else {
79
+ // plain JS object
80
+ // validate the object
81
+ _GraphAction["default"].validateJSON(instance); // throw an exception if no match
82
+ // create GraphAction from JS object
83
+ this.actualInstance = _GraphAction["default"].constructFromObject(instance);
84
+ }
85
+ match++;
86
+ } catch (err) {
87
+ // json data failed to deserialize into GraphAction
88
+ errorMessages.push("Failed to construct GraphAction: " + err);
89
+ }
90
+ try {
91
+ if (typeof instance === "GraphObjectSchema") {
92
+ this.actualInstance = instance;
93
+ } else {
94
+ // plain JS object
95
+ // validate the object
96
+ _GraphObjectSchema["default"].validateJSON(instance); // throw an exception if no match
97
+ // create GraphObjectSchema from JS object
98
+ this.actualInstance = _GraphObjectSchema["default"].constructFromObject(instance);
99
+ }
100
+ match++;
101
+ } catch (err) {
102
+ // json data failed to deserialize into GraphObjectSchema
103
+ errorMessages.push("Failed to construct GraphObjectSchema: " + err);
104
+ }
105
+ if (match > 1) {
106
+ throw new Error("Multiple matches found constructing `PathPathInner` with oneOf schemas GraphAction, GraphObjectSchema, GraphRelationship. Input: " + JSON.stringify(instance));
107
+ } else if (match === 0) {
108
+ this.actualInstance = null; // clear the actual instance in case there are multiple matches
109
+ throw new Error("No match found constructing `PathPathInner` with oneOf schemas GraphAction, GraphObjectSchema, GraphRelationship. Details: " + errorMessages.join(", "));
110
+ } else {// only 1 match
111
+ // the input is valid
112
+ }
113
+ }
114
+
115
+ /**
116
+ * Constructs a <code>PathPathInner</code> from a plain JavaScript object, optionally creating a new instance.
117
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
118
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
119
+ * @param {module:model/PathPathInner} obj Optional instance to populate.
120
+ * @return {module:model/PathPathInner} The populated <code>PathPathInner</code> instance.
121
+ */
122
+ _createClass(PathPathInner, [{
123
+ key: "getActualInstance",
124
+ value:
125
+ /**
126
+ * Gets the actual instance, which can be <code>GraphAction</code>, <code>GraphObjectSchema</code>, <code>GraphRelationship</code>.
127
+ * @return {(module:model/GraphAction|module:model/GraphObjectSchema|module:model/GraphRelationship)} The actual instance.
128
+ */
129
+ function getActualInstance() {
130
+ return this.actualInstance;
131
+ }
132
+
133
+ /**
134
+ * Sets the actual instance, which can be <code>GraphAction</code>, <code>GraphObjectSchema</code>, <code>GraphRelationship</code>.
135
+ * @param {(module:model/GraphAction|module:model/GraphObjectSchema|module:model/GraphRelationship)} obj The actual instance.
136
+ */
137
+ }, {
138
+ key: "setActualInstance",
139
+ value: function setActualInstance(obj) {
140
+ this.actualInstance = PathPathInner.constructFromObject(obj).getActualInstance();
141
+ }
142
+ }], [{
143
+ key: "constructFromObject",
144
+ value: function constructFromObject(data, obj) {
145
+ return new PathPathInner(data);
146
+ }
147
+ }]);
148
+ return PathPathInner;
149
+ }();
150
+ /**
151
+ * The id of the relationship type
152
+ * @member {Number} reltypeid
153
+ */
154
+ _class = PathPathInner;
155
+ /**
156
+ * Create an instance of PathPathInner from a JSON string.
157
+ * @param {string} json_string JSON string.
158
+ * @return {module:model/PathPathInner} An instance of PathPathInner.
159
+ */
160
+ _defineProperty(PathPathInner, "fromJSON", function (json_string) {
161
+ return _class.constructFromObject(JSON.parse(json_string));
162
+ });
163
+ PathPathInner.prototype['reltypeid'] = undefined;
164
+
165
+ /**
166
+ * The Start Object of this Relationship
167
+ * @member {Object} startobject
168
+ */
169
+ PathPathInner.prototype['startobject'] = undefined;
170
+
171
+ /**
172
+ * Creation Date
173
+ * @member {Date} creationdate
174
+ */
175
+ PathPathInner.prototype['creationdate'] = undefined;
176
+
177
+ /**
178
+ * Modification Date
179
+ * @member {Date} modificationdate
180
+ */
181
+ PathPathInner.prototype['modificationdate'] = undefined;
182
+
183
+ /**
184
+ * The End Object of this Relationship
185
+ * @member {Object} endobject
186
+ */
187
+ PathPathInner.prototype['endobject'] = undefined;
188
+
189
+ /**
190
+ * The unique key of this entity
191
+ * @member {String} key
192
+ */
193
+ PathPathInner.prototype['key'] = undefined;
194
+
195
+ /**
196
+ * @member {Object} data
197
+ */
198
+ PathPathInner.prototype['data'] = undefined;
199
+
200
+ /**
201
+ * @member {Number} id
202
+ */
203
+ PathPathInner.prototype['id'] = undefined;
204
+
205
+ /**
206
+ * @member {Number} actiontypeid
207
+ */
208
+ PathPathInner.prototype['actiontypeid'] = undefined;
209
+
210
+ /**
211
+ * @member {module:model/Objecttype} objecttype
212
+ */
213
+ PathPathInner.prototype['objecttype'] = undefined;
214
+
215
+ /**
216
+ * @member {module:model/Image} mainphoto
217
+ */
218
+ PathPathInner.prototype['mainphoto'] = undefined;
219
+
220
+ /**
221
+ * The creator of this Object
222
+ * @member {Number} creatorpageid
223
+ */
224
+ PathPathInner.prototype['creatorpageid'] = undefined;
225
+
226
+ /**
227
+ * The Object Type of this Object
228
+ * @member {String} objecttypekey
229
+ */
230
+ PathPathInner.prototype['objecttypekey'] = undefined;
231
+
232
+ /**
233
+ * Actions performed on this object
234
+ * @member {String} actions_performed
235
+ */
236
+ PathPathInner.prototype['actions_performed'] = undefined;
237
+
238
+ /**
239
+ * Label of this object
240
+ * @member {String} label
241
+ */
242
+ PathPathInner.prototype['label'] = undefined;
243
+
244
+ /**
245
+ * @member {Object} tags
246
+ */
247
+ PathPathInner.prototype['tags'] = undefined;
248
+
249
+ /**
250
+ * Graphs this object is apart of
251
+ * @member {String} graphs
252
+ */
253
+ PathPathInner.prototype['graphs'] = undefined;
254
+
255
+ /**
256
+ * Relationships on this object
257
+ * @member {String} relationships
258
+ */
259
+ PathPathInner.prototype['relationships'] = undefined;
260
+
261
+ /**
262
+ * @member {Boolean} searchable
263
+ */
264
+ PathPathInner.prototype['searchable'] = undefined;
265
+
266
+ /**
267
+ * The creator of this Object
268
+ * @member {Number} creatorid
269
+ */
270
+ PathPathInner.prototype['creatorid'] = undefined;
271
+ PathPathInner.OneOf = ["GraphAction", "GraphObjectSchema", "GraphRelationship"];
272
+ var _default = exports["default"] = PathPathInner;
@@ -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.41
18
+ * The version of the OpenAPI document: 0.1.44
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 PaymentAccountObject model module.
28
28
  * @module model/PaymentAccountObject
29
- * @version 0.1.41
29
+ * @version 0.1.44
30
30
  */
31
31
  var PaymentAccountObject = /*#__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.41
18
+ * The version of the OpenAPI document: 0.1.44
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 PaymentIntentInput model module.
28
28
  * @module model/PaymentIntentInput
29
- * @version 0.1.41
29
+ * @version 0.1.44
30
30
  */
31
31
  var PaymentIntentInput = /*#__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.41
18
+ * The version of the OpenAPI document: 0.1.44
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 PaymentIntentResponse model module.
28
28
  * @module model/PaymentIntentResponse
29
- * @version 0.1.41
29
+ * @version 0.1.44
30
30
  */
31
31
  var PaymentIntentResponse = /*#__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.41
18
+ * The version of the OpenAPI document: 0.1.44
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 PaymentMethod model module.
28
28
  * @module model/PaymentMethod
29
- * @version 0.1.41
29
+ * @version 0.1.44
30
30
  */
31
31
  var PaymentMethod = /*#__PURE__*/function () {
32
32
  /**
@@ -112,6 +112,23 @@ var PaymentMethod = /*#__PURE__*/function () {
112
112
  value: function setObject(object) {
113
113
  this['object'] = object;
114
114
  }
115
+ /**
116
+ * @return {Object}
117
+ */
118
+ }, {
119
+ key: "getCard",
120
+ value: function getCard() {
121
+ return this.card;
122
+ }
123
+
124
+ /**
125
+ * @param {Object} card
126
+ */
127
+ }, {
128
+ key: "setCard",
129
+ value: function setCard(card) {
130
+ this['card'] = card;
131
+ }
115
132
  /**
116
133
  * @return {Boolean}
117
134
  */
@@ -146,23 +163,6 @@ var PaymentMethod = /*#__PURE__*/function () {
146
163
  value: function setBankAccount(bankAccount) {
147
164
  this['bankAccount'] = bankAccount;
148
165
  }
149
- /**
150
- * @return {Object}
151
- */
152
- }, {
153
- key: "getCard",
154
- value: function getCard() {
155
- return this.card;
156
- }
157
-
158
- /**
159
- * @param {Object} card
160
- */
161
- }, {
162
- key: "setCard",
163
- value: function setCard(card) {
164
- this['card'] = card;
165
- }
166
166
  /**
167
167
  * @return {Number}
168
168
  */
@@ -208,15 +208,15 @@ var PaymentMethod = /*#__PURE__*/function () {
208
208
  if (data.hasOwnProperty('object')) {
209
209
  obj['object'] = _ApiClient["default"].convertToType(data['object'], 'String');
210
210
  }
211
+ if (data.hasOwnProperty('card')) {
212
+ obj['card'] = _ApiClient["default"].convertToType(data['card'], Object);
213
+ }
211
214
  if (data.hasOwnProperty('livemode')) {
212
215
  obj['livemode'] = _ApiClient["default"].convertToType(data['livemode'], 'Boolean');
213
216
  }
214
217
  if (data.hasOwnProperty('bankAccount')) {
215
218
  obj['bankAccount'] = _ApiClient["default"].convertToType(data['bankAccount'], Object);
216
219
  }
217
- if (data.hasOwnProperty('card')) {
218
- obj['card'] = _ApiClient["default"].convertToType(data['card'], Object);
219
- }
220
220
  if (data.hasOwnProperty('created')) {
221
221
  obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
222
222
  }
@@ -269,6 +269,11 @@ PaymentMethod.prototype['type'] = undefined;
269
269
  */
270
270
  PaymentMethod.prototype['object'] = undefined;
271
271
 
272
+ /**
273
+ * @member {Object} card
274
+ */
275
+ PaymentMethod.prototype['card'] = undefined;
276
+
272
277
  /**
273
278
  * @member {Boolean} livemode
274
279
  */
@@ -279,11 +284,6 @@ PaymentMethod.prototype['livemode'] = undefined;
279
284
  */
280
285
  PaymentMethod.prototype['bankAccount'] = undefined;
281
286
 
282
- /**
283
- * @member {Object} card
284
- */
285
- PaymentMethod.prototype['card'] = undefined;
286
-
287
287
  /**
288
288
  * @member {Number} created
289
289
  */
@@ -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.41
20
+ * The version of the OpenAPI document: 0.1.44
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 PaymentMethodInput model module.
30
30
  * @module model/PaymentMethodInput
31
- * @version 0.1.41
31
+ * @version 0.1.44
32
32
  */
33
33
  var PaymentMethodInput = /*#__PURE__*/function () {
34
34
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.41
19
+ * The version of the OpenAPI document: 0.1.44
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The PaymentMethodResponse model module.
29
29
  * @module model/PaymentMethodResponse
30
- * @version 0.1.41
30
+ * @version 0.1.44
31
31
  */
32
32
  var PaymentMethodResponse = /*#__PURE__*/function () {
33
33
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.41
22
+ * The version of the OpenAPI document: 0.1.44
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The PaymentMethodsResponse model module.
32
32
  * @module model/PaymentMethodsResponse
33
- * @version 0.1.41
33
+ * @version 0.1.44
34
34
  */
35
35
  var PaymentMethodsResponse = /*#__PURE__*/function () {
36
36
  /**