@gobodo/gobodo-api 0.1.43 → 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 (187) hide show
  1. package/README.md +3 -4
  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 +9 -9
  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 -14
  58. package/dist/model/APIClient.js +10 -10
  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 +2 -2
  66. package/dist/model/AuthResponse.js +2 -2
  67. package/dist/model/Balance.js +28 -28
  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 +9 -9
  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 +56 -56
  80. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  81. package/dist/model/DataSheetImportSummary.js +9 -9
  82. package/dist/model/Document.js +2 -2
  83. package/dist/model/DocumentPart.js +42 -42
  84. package/dist/model/DocumentPartType.js +9 -9
  85. package/dist/model/DocumentType.js +18 -18
  86. package/dist/model/FieldMapping.js +2 -2
  87. package/dist/model/Fields.js +9 -9
  88. package/dist/model/File.js +2 -2
  89. package/dist/model/FileAttachmentUploadObject.js +2 -2
  90. package/dist/model/Filter.js +2 -2
  91. package/dist/model/FilterManager.js +2 -2
  92. package/dist/model/Form.js +2 -2
  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 +14 -14
  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 +10 -10
  107. package/dist/model/GraphObjectTypeSchema.js +10 -10
  108. package/dist/model/GraphOwner.js +2 -2
  109. package/dist/model/GraphRelationship.js +2 -2
  110. package/dist/model/GraphRelationshipPayload.js +2 -2
  111. package/dist/model/GraphRelationshipType.js +2 -2
  112. package/dist/model/GraphSchema.js +26 -26
  113. package/dist/model/GraphTraversalInput.js +2 -2
  114. package/dist/model/Image.js +10 -10
  115. package/dist/model/ImageUploadObject.js +10 -10
  116. package/dist/model/InputPart.js +2 -2
  117. package/dist/model/InputPartMediaType.js +2 -2
  118. package/dist/model/Link.js +2 -2
  119. package/dist/model/LiveStreamInfo.js +2 -2
  120. package/dist/model/MeetingEvent.js +14 -14
  121. package/dist/model/MeetingEventTimezone.js +2 -2
  122. package/dist/model/MeetingInfo.js +2 -2
  123. package/dist/model/Member.js +9 -9
  124. package/dist/model/MemberGroupCategory.js +2 -2
  125. package/dist/model/MemberList.js +2 -2
  126. package/dist/model/MessageGroup.js +2 -2
  127. package/dist/model/MultipartBody.js +2 -2
  128. package/dist/model/Objecttype.js +10 -10
  129. package/dist/model/Page.js +2 -2
  130. package/dist/model/PageSchema.js +14 -14
  131. package/dist/model/Pageable.js +2 -2
  132. package/dist/model/Path.js +134 -6
  133. package/dist/model/PathPathInner.js +272 -0
  134. package/dist/model/PaymentAccountObject.js +2 -2
  135. package/dist/model/PaymentIntentInput.js +2 -2
  136. package/dist/model/PaymentIntentResponse.js +2 -2
  137. package/dist/model/PaymentMethod.js +9 -9
  138. package/dist/model/PaymentMethodInput.js +2 -2
  139. package/dist/model/PaymentMethodResponse.js +2 -2
  140. package/dist/model/PaymentMethodsResponse.js +2 -2
  141. package/dist/model/Payout.js +2 -2
  142. package/dist/model/PayoutInput.js +2 -2
  143. package/dist/model/PayoutResponse.js +2 -2
  144. package/dist/model/Post.js +2 -2
  145. package/dist/model/PrivateMessage.js +10 -10
  146. package/dist/model/PrivateMessageConversation.js +24 -24
  147. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  148. package/dist/model/Profile.js +2 -2
  149. package/dist/model/Profiletype.js +2 -2
  150. package/dist/model/PropertyContainer.js +2 -2
  151. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  152. package/dist/model/RelationshipMapping.js +2 -2
  153. package/dist/model/ScreenSchema.js +2 -2
  154. package/dist/model/SimulcastInfo.js +2 -2
  155. package/dist/model/SkinField.js +9 -9
  156. package/dist/model/SocialGroup.js +18 -18
  157. package/dist/model/SocialGroupType.js +9 -9
  158. package/dist/model/Sort.js +2 -2
  159. package/dist/model/SourceTypes.js +2 -2
  160. package/dist/model/StatusUpdate.js +2 -2
  161. package/dist/model/StreetAddress.js +2 -2
  162. package/dist/model/StripeAccount.js +2 -2
  163. package/dist/model/StripeCustomerAccount.js +2 -2
  164. package/dist/model/Template.js +2 -2
  165. package/dist/model/TemplateSchema.js +2 -2
  166. package/dist/model/ThemeMapping.js +2 -2
  167. package/dist/model/ThemeMappingPayload.js +2 -2
  168. package/dist/model/Transaction.js +2 -2
  169. package/dist/model/Transfer.js +9 -9
  170. package/dist/model/TransferInput.js +2 -2
  171. package/dist/model/TransferResponse.js +2 -2
  172. package/dist/model/TransferResponsePaymentMethodDetails.js +9 -9
  173. package/dist/model/TraversalRelationResponse.js +2 -2
  174. package/dist/model/User.js +9 -9
  175. package/dist/model/UserDataPayload.js +9 -9
  176. package/dist/model/UserDomain.js +13 -13
  177. package/dist/model/UserInvite.js +2 -2
  178. package/dist/model/UserInviteInput.js +2 -2
  179. package/dist/model/UserSchema.js +9 -9
  180. package/dist/model/UserTag.js +2 -2
  181. package/dist/model/Userid.js +2 -2
  182. package/dist/model/Video.js +2 -2
  183. package/dist/model/VideoLiveUrl.js +2 -2
  184. package/dist/model/VideoSchema.js +2 -2
  185. package/dist/model/VideoUploadObject.js +2 -2
  186. package/dist/model/ZeusPortalCategory.js +2 -2
  187. package/package.json +1 -1
@@ -20,7 +20,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
20
20
  * gobodo-api
21
21
  * REST Interface for Gobodo API
22
22
  *
23
- * The version of the OpenAPI document: 0.1.43
23
+ * The version of the OpenAPI document: 0.1.44
24
24
  * Contact: info@gobodo.io
25
25
  *
26
26
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
31
31
  /**
32
32
  * The Objecttype model module.
33
33
  * @module model/Objecttype
34
- * @version 0.1.43
34
+ * @version 0.1.44
35
35
  */
36
36
  var Objecttype = /*#__PURE__*/function () {
37
37
  /**
@@ -77,15 +77,15 @@ var Objecttype = /*#__PURE__*/function () {
77
77
  if (data.hasOwnProperty('searchable')) {
78
78
  obj['searchable'] = _ApiClient["default"].convertToType(data['searchable'], 'Boolean');
79
79
  }
80
- if (data.hasOwnProperty('workflows')) {
81
- obj['workflows'] = _ApiClient["default"].convertToType(data['workflows'], Object);
82
- }
83
80
  if (data.hasOwnProperty('creatorrequiredtobepage')) {
84
81
  obj['creatorrequiredtobepage'] = _ApiClient["default"].convertToType(data['creatorrequiredtobepage'], 'Boolean');
85
82
  }
86
83
  if (data.hasOwnProperty('definitions')) {
87
84
  obj['definitions'] = _ApiClient["default"].convertToType(data['definitions'], Object);
88
85
  }
86
+ if (data.hasOwnProperty('workflows')) {
87
+ obj['workflows'] = _ApiClient["default"].convertToType(data['workflows'], Object);
88
+ }
89
89
  if (data.hasOwnProperty('description')) {
90
90
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
91
91
  }
@@ -205,11 +205,6 @@ Objecttype.prototype['hiddenFromCreationScreen'] = undefined;
205
205
  */
206
206
  Objecttype.prototype['searchable'] = undefined;
207
207
 
208
- /**
209
- * @member {Object} workflows
210
- */
211
- Objecttype.prototype['workflows'] = undefined;
212
-
213
208
  /**
214
209
  * Determines whether the user that's creating an instance of this type is required to be an Organization Page
215
210
  * @member {Boolean} creatorrequiredtobepage
@@ -221,6 +216,11 @@ Objecttype.prototype['creatorrequiredtobepage'] = undefined;
221
216
  */
222
217
  Objecttype.prototype['definitions'] = undefined;
223
218
 
219
+ /**
220
+ * @member {Object} workflows
221
+ */
222
+ Objecttype.prototype['workflows'] = undefined;
223
+
224
224
  /**
225
225
  * @member {String} description
226
226
  */
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  * gobodo-api
18
18
  * REST Interface for Gobodo API
19
19
  *
20
- * The version of the OpenAPI document: 0.1.43
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(input, hint) { if (_typeof(input) !== "object" || input ==
28
28
  /**
29
29
  * The Page model module.
30
30
  * @module model/Page
31
- * @version 0.1.43
31
+ * @version 0.1.44
32
32
  */
33
33
  var Page = /*#__PURE__*/function () {
34
34
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.43
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(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The PageSchema model module.
28
28
  * @module model/PageSchema
29
- * @version 0.1.43
29
+ * @version 0.1.44
30
30
  */
31
31
  var PageSchema = /*#__PURE__*/function () {
32
32
  /**
@@ -74,8 +74,8 @@ var PageSchema = /*#__PURE__*/function () {
74
74
  if (data.hasOwnProperty('isorphan')) {
75
75
  obj['isorphan'] = _ApiClient["default"].convertToType(data['isorphan'], 'Boolean');
76
76
  }
77
- if (data.hasOwnProperty('pageuser')) {
78
- obj['pageuser'] = _ApiClient["default"].convertToType(data['pageuser'], 'String');
77
+ if (data.hasOwnProperty('email')) {
78
+ obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
79
79
  }
80
80
  if (data.hasOwnProperty('creatorid')) {
81
81
  obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
@@ -83,8 +83,8 @@ var PageSchema = /*#__PURE__*/function () {
83
83
  if (data.hasOwnProperty('mainphoto')) {
84
84
  obj['mainphoto'] = _ApiClient["default"].convertToType(data['mainphoto'], 'Number');
85
85
  }
86
- if (data.hasOwnProperty('email')) {
87
- obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
86
+ if (data.hasOwnProperty('pageuser')) {
87
+ obj['pageuser'] = _ApiClient["default"].convertToType(data['pageuser'], 'String');
88
88
  }
89
89
  if (data.hasOwnProperty('isOrphan')) {
90
90
  obj['isOrphan'] = _ApiClient["default"].convertToType(data['isOrphan'], 'Boolean');
@@ -126,13 +126,13 @@ var PageSchema = /*#__PURE__*/function () {
126
126
  throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
127
127
  }
128
128
  // ensure the json data is a string
129
- if (data['pageuser'] && !(typeof data['pageuser'] === 'string' || data['pageuser'] instanceof String)) {
130
- throw new Error("Expected the field `pageuser` to be a primitive type in the JSON string but got " + data['pageuser']);
131
- }
132
- // ensure the json data is a string
133
129
  if (data['email'] && !(typeof data['email'] === 'string' || data['email'] instanceof String)) {
134
130
  throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data['email']);
135
131
  }
132
+ // ensure the json data is a string
133
+ if (data['pageuser'] && !(typeof data['pageuser'] === 'string' || data['pageuser'] instanceof String)) {
134
+ throw new Error("Expected the field `pageuser` to be a primitive type in the JSON string but got " + data['pageuser']);
135
+ }
136
136
  return true;
137
137
  }
138
138
  }]);
@@ -164,9 +164,9 @@ PageSchema.prototype['status'] = undefined;
164
164
  PageSchema.prototype['isorphan'] = undefined;
165
165
 
166
166
  /**
167
- * @member {String} pageuser
167
+ * @member {String} email
168
168
  */
169
- PageSchema.prototype['pageuser'] = undefined;
169
+ PageSchema.prototype['email'] = undefined;
170
170
 
171
171
  /**
172
172
  * @member {Number} creatorid
@@ -179,9 +179,9 @@ PageSchema.prototype['creatorid'] = undefined;
179
179
  PageSchema.prototype['mainphoto'] = undefined;
180
180
 
181
181
  /**
182
- * @member {String} email
182
+ * @member {String} pageuser
183
183
  */
184
- PageSchema.prototype['email'] = undefined;
184
+ PageSchema.prototype['pageuser'] = undefined;
185
185
 
186
186
  /**
187
187
  * @member {Boolean} isOrphan
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.43
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(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The Pageable model module.
29
29
  * @module model/Pageable
30
- * @version 0.1.43
30
+ * @version 0.1.44
31
31
  */
32
32
  var Pageable = /*#__PURE__*/function () {
33
33
  /**
@@ -1,10 +1,138 @@
1
1
  "use strict";
2
2
 
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
3
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
4
- var _GraphAction = _interopRequireDefault(require("./GraphAction"));
5
8
  var _GraphObjectSchema = _interopRequireDefault(require("./GraphObjectSchema"));
6
- var _GraphRelationObjectObject = _interopRequireDefault(require("./GraphRelationObjectObject"));
7
- var _GraphRelationship = _interopRequireDefault(require("./GraphRelationship"));
8
- var _Image = _interopRequireDefault(require("./Image"));
9
- var _Objecttype = _interopRequireDefault(require("./Objecttype"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ var _PathPathInner = _interopRequireDefault(require("./PathPathInner"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
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; }
15
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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); } }
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; }
18
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
19
+ 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); } /**
20
+ * gobodo-api
21
+ * REST Interface for Gobodo API
22
+ *
23
+ * The version of the OpenAPI document: 0.1.44
24
+ * Contact: info@gobodo.io
25
+ *
26
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
27
+ * https://openapi-generator.tech
28
+ * Do not edit the class manually.
29
+ *
30
+ */
31
+ /**
32
+ * The Path model module.
33
+ * @module model/Path
34
+ * @version 0.1.44
35
+ */
36
+ var Path = /*#__PURE__*/function () {
37
+ /**
38
+ * Constructs a new <code>Path</code>.
39
+ * @alias module:model/Path
40
+ */
41
+ function Path() {
42
+ _classCallCheck(this, Path);
43
+ Path.initialize(this);
44
+ }
45
+
46
+ /**
47
+ * Initializes the fields of this object.
48
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
49
+ * Only for internal use.
50
+ */
51
+ _createClass(Path, null, [{
52
+ key: "initialize",
53
+ value: function initialize(obj) {}
54
+
55
+ /**
56
+ * Constructs a <code>Path</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
59
+ * @param {module:model/Path} obj Optional instance to populate.
60
+ * @return {module:model/Path} The populated <code>Path</code> instance.
61
+ */
62
+ }, {
63
+ key: "constructFromObject",
64
+ value: function constructFromObject(data, obj) {
65
+ if (data) {
66
+ obj = obj || new Path();
67
+ if (data.hasOwnProperty('startObject')) {
68
+ obj['startObject'] = _GraphObjectSchema["default"].constructFromObject(data['startObject']);
69
+ }
70
+ if (data.hasOwnProperty('endObject')) {
71
+ obj['endObject'] = _GraphObjectSchema["default"].constructFromObject(data['endObject']);
72
+ }
73
+ if (data.hasOwnProperty('path')) {
74
+ obj['path'] = _ApiClient["default"].convertToType(data['path'], [_PathPathInner["default"]]);
75
+ }
76
+ }
77
+ return obj;
78
+ }
79
+
80
+ /**
81
+ * Validates the JSON data with respect to <code>Path</code>.
82
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
83
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>Path</code>.
84
+ */
85
+ }, {
86
+ key: "validateJSON",
87
+ value: function validateJSON(data) {
88
+ // validate the optional field `startObject`
89
+ if (data['startObject']) {
90
+ // data not null
91
+ _GraphObjectSchema["default"].validateJSON(data['startObject']);
92
+ }
93
+ // validate the optional field `endObject`
94
+ if (data['endObject']) {
95
+ // data not null
96
+ _GraphObjectSchema["default"].validateJSON(data['endObject']);
97
+ }
98
+ if (data['path']) {
99
+ // data not null
100
+ // ensure the json data is an array
101
+ if (!Array.isArray(data['path'])) {
102
+ throw new Error("Expected the field `path` to be an array in the JSON data but got " + data['path']);
103
+ }
104
+ // validate the optional field `path` (array)
105
+ var _iterator = _createForOfIteratorHelper(data['path']),
106
+ _step;
107
+ try {
108
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
109
+ var item = _step.value;
110
+ _PathPathInner["default"].validateJSON(item);
111
+ }
112
+ } catch (err) {
113
+ _iterator.e(err);
114
+ } finally {
115
+ _iterator.f();
116
+ }
117
+ ;
118
+ }
119
+ return true;
120
+ }
121
+ }]);
122
+ return Path;
123
+ }();
124
+ /**
125
+ * @member {module:model/GraphObjectSchema} startObject
126
+ */
127
+ Path.prototype['startObject'] = undefined;
128
+
129
+ /**
130
+ * @member {module:model/GraphObjectSchema} endObject
131
+ */
132
+ Path.prototype['endObject'] = undefined;
133
+
134
+ /**
135
+ * @member {Array.<module:model/PathPathInner>} path
136
+ */
137
+ Path.prototype['path'] = undefined;
138
+ 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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
21
+ 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); } /**
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(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.43
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(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The PaymentAccountObject model module.
28
28
  * @module model/PaymentAccountObject
29
- * @version 0.1.43
29
+ * @version 0.1.44
30
30
  */
31
31
  var PaymentAccountObject = /*#__PURE__*/function () {
32
32
  /**