@gobodo/gobodo-api 0.1.52 → 0.1.58

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 (209) hide show
  1. package/README.md +73 -9
  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 +8 -348
  16. package/dist/api/DocumentsApi.js +2 -2
  17. package/dist/api/EmailsApi.js +282 -0
  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 +946 -10
  24. package/dist/api/GeocodeApi.js +2 -2
  25. package/dist/api/GoogleApi.js +2 -2
  26. package/dist/api/GraphActionTypesApi.js +511 -0
  27. package/dist/api/GraphActionsApi.js +2 -2
  28. package/dist/api/GraphObjectTypesApi.js +134 -9
  29. package/dist/api/GraphObjectsApi.js +2 -2
  30. package/dist/api/GraphRelationshipTypesApi.js +127 -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 +735 -0
  44. package/dist/api/PagesApi.js +2 -2
  45. package/dist/api/PhoneNumbersApi.js +322 -0
  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 +457 -0
  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/index.js +147 -7
  63. package/dist/model/APIClient.js +9 -9
  64. package/dist/model/AccountSessionInput.js +2 -2
  65. package/dist/model/AccountSessionResponse.js +2 -2
  66. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  67. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -32
  68. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
  69. package/dist/model/Article.js +2 -2
  70. package/dist/model/AuthResponse.js +2 -2
  71. package/dist/model/Balance.js +37 -37
  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 +14 -14
  77. package/dist/model/Coordinates.js +2 -2
  78. package/dist/model/CreateAccountResponse.js +2 -2
  79. package/dist/model/CreateFunctionInput.js +169 -0
  80. package/dist/model/CreateStripeAccountInput.js +2 -2
  81. package/dist/model/CreateStripeCustomerInput.js +2 -2
  82. package/dist/model/CreateTopicInput.js +139 -0
  83. package/dist/model/CreateTopicListenerInput.js +125 -0
  84. package/dist/model/CustomerResponse.js +2 -2
  85. package/dist/model/DataObject.js +2 -2
  86. package/dist/model/DataSheetImport.js +10 -10
  87. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  88. package/dist/model/DataSheetImportSummary.js +2 -2
  89. package/dist/model/DeviceRegistrationRequest.js +200 -0
  90. package/dist/model/Document.js +2 -2
  91. package/dist/model/DocumentPart.js +21 -21
  92. package/dist/model/DocumentPartType.js +10 -10
  93. package/dist/model/DocumentType.js +18 -18
  94. package/dist/model/EmailAddress.js +142 -0
  95. package/dist/model/FieldMapping.js +2 -2
  96. package/dist/model/Fields.js +25 -25
  97. package/dist/model/File.js +9 -9
  98. package/dist/model/FileAttachmentUploadObject.js +9 -9
  99. package/dist/model/Filter.js +2 -2
  100. package/dist/model/FilterManager.js +2 -2
  101. package/dist/model/Form.js +2 -2
  102. package/dist/model/FormSection.js +2 -2
  103. package/dist/model/FormSubmission.js +2 -2
  104. package/dist/model/FunctionConfigInput.js +333 -0
  105. package/dist/model/FunctionEnvironmentConfig.js +169 -0
  106. package/dist/model/Geocode.js +2 -2
  107. package/dist/model/GeocodePayload.js +2 -2
  108. package/dist/model/GeolocationInput.js +2 -2
  109. package/dist/model/GetFunctionConfig.js +365 -0
  110. package/dist/model/GetFunctionEnvironmentConfig.js +171 -0
  111. package/dist/model/GetFunctionResponse.js +199 -0
  112. package/dist/model/Graph.js +37 -37
  113. package/dist/model/GraphAction.js +11 -11
  114. package/dist/model/GraphDatabaseService.js +2 -2
  115. package/dist/model/GraphGeocode.js +2 -2
  116. package/dist/model/GraphIteratorEntryPart.js +2 -2
  117. package/dist/model/GraphObject.js +27 -27
  118. package/dist/model/GraphObjectPayload.js +2 -2
  119. package/dist/model/GraphObjectSchema.js +36 -36
  120. package/dist/model/GraphObjectType.js +18 -18
  121. package/dist/model/GraphObjectTypeSchema.js +18 -18
  122. package/dist/model/GraphOwner.js +2 -2
  123. package/dist/model/GraphRelationship.js +11 -11
  124. package/dist/model/GraphRelationshipPayload.js +2 -2
  125. package/dist/model/GraphRelationshipType.js +2 -2
  126. package/dist/model/GraphSchema.js +38 -38
  127. package/dist/model/GraphTraversalInput.js +2 -2
  128. package/dist/model/Image.js +23 -23
  129. package/dist/model/ImageUploadObject.js +23 -23
  130. package/dist/model/InputPart.js +2 -2
  131. package/dist/model/InputPartHeaders.js +88 -0
  132. package/dist/model/InputPartMediaType.js +2 -2
  133. package/dist/model/Link.js +26 -26
  134. package/dist/model/LiveStreamInfo.js +2 -2
  135. package/dist/model/MeetingEvent.js +41 -41
  136. package/dist/model/MeetingEventTimezone.js +2 -2
  137. package/dist/model/MeetingInfo.js +2 -2
  138. package/dist/model/Member.js +14 -14
  139. package/dist/model/MemberGroupCategory.js +2 -2
  140. package/dist/model/MemberList.js +2 -2
  141. package/dist/model/MessageGroup.js +9 -9
  142. package/dist/model/MultipartBody.js +2 -2
  143. package/dist/model/Notification.js +210 -0
  144. package/dist/model/NotificationInput.js +187 -0
  145. package/dist/model/NotificationResponse.js +185 -0
  146. package/dist/model/Objecttype.js +17 -17
  147. package/dist/model/Page.js +2 -2
  148. package/dist/model/PageSchema.js +10 -10
  149. package/dist/model/Pageable.js +2 -2
  150. package/dist/model/Path.js +2 -2
  151. package/dist/model/PaymentAccountObject.js +2 -2
  152. package/dist/model/PaymentIntentInput.js +2 -2
  153. package/dist/model/PaymentIntentResponse.js +2 -2
  154. package/dist/model/PaymentMethod.js +9 -9
  155. package/dist/model/PaymentMethodInput.js +2 -2
  156. package/dist/model/PaymentMethodResponse.js +2 -2
  157. package/dist/model/PaymentMethodsResponse.js +2 -2
  158. package/dist/model/Payout.js +11 -11
  159. package/dist/model/PayoutInput.js +2 -2
  160. package/dist/model/PayoutResponse.js +2 -2
  161. package/dist/model/PhoneNumber.js +178 -0
  162. package/dist/model/Post.js +2 -2
  163. package/dist/model/PrivateMessage.js +2 -2
  164. package/dist/model/PrivateMessageConversation.js +36 -36
  165. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  166. package/dist/model/Profile.js +2 -2
  167. package/dist/model/Profiletype.js +2 -2
  168. package/dist/model/PropertyContainer.js +9 -9
  169. package/dist/model/PurgeDataDefaultResponse.js +144 -0
  170. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  171. package/dist/model/RelationshipMapping.js +2 -2
  172. package/dist/model/ScreenSchema.js +27 -27
  173. package/dist/model/SimulcastInfo.js +2 -2
  174. package/dist/model/SkinField.js +25 -25
  175. package/dist/model/SocialGroup.js +2 -2
  176. package/dist/model/SocialGroupType.js +16 -16
  177. package/dist/model/Sort.js +2 -2
  178. package/dist/model/SourceTypes.js +2 -2
  179. package/dist/model/StatusUpdate.js +2 -2
  180. package/dist/model/StreetAddress.js +2 -2
  181. package/dist/model/StripeAccount.js +2 -2
  182. package/dist/model/StripeCustomerAccount.js +2 -2
  183. package/dist/model/Template.js +22 -22
  184. package/dist/model/TemplateSchema.js +22 -22
  185. package/dist/model/ThemeMapping.js +10 -10
  186. package/dist/model/ThemeMappingPayload.js +9 -9
  187. package/dist/model/TopicInfoResponse.js +183 -0
  188. package/dist/model/TopicMessageInput.js +123 -0
  189. package/dist/model/TopicSubscriptionResponse.js +151 -0
  190. package/dist/model/Transaction.js +2 -2
  191. package/dist/model/Transfer.js +13 -13
  192. package/dist/model/TransferInput.js +2 -2
  193. package/dist/model/TransferResponse.js +2 -2
  194. package/dist/model/TransferResponsePaymentMethodDetails.js +13 -13
  195. package/dist/model/TraversalRelationResponse.js +2 -2
  196. package/dist/model/User.js +14 -14
  197. package/dist/model/UserDataPayload.js +14 -14
  198. package/dist/model/UserDomain.js +2 -2
  199. package/dist/model/UserInvite.js +13 -13
  200. package/dist/model/UserInviteInput.js +2 -2
  201. package/dist/model/UserSchema.js +14 -14
  202. package/dist/model/UserTag.js +2 -2
  203. package/dist/model/Userid.js +2 -2
  204. package/dist/model/Video.js +30 -30
  205. package/dist/model/VideoLiveUrl.js +2 -2
  206. package/dist/model/VideoSchema.js +38 -38
  207. package/dist/model/VideoUploadObject.js +30 -30
  208. package/dist/model/ZeusPortalCategory.js +2 -2
  209. package/package.json +1 -1
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _CreateFunctionInput = _interopRequireDefault(require("../model/CreateFunctionInput"));
9
+ var _GetFunctionResponse = _interopRequireDefault(require("../model/GetFunctionResponse"));
8
10
  var _GraphObjectTypeSchema = _interopRequireDefault(require("../model/GraphObjectTypeSchema"));
9
11
  var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
10
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -17,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
19
  * gobodo-api
18
20
  * REST Interface for Gobodo API
19
21
  *
20
- * The version of the OpenAPI document: 0.1.52
22
+ * The version of the OpenAPI document: 0.1.58
21
23
  * Contact: info@gobodo.io
22
24
  *
23
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
28
30
  /**
29
31
  * GraphObjectTypes service.
30
32
  * @module api/GraphObjectTypesApi
31
- * @version 0.1.52
33
+ * @version 0.1.58
32
34
  */
33
35
  var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
34
36
  /**
@@ -44,15 +46,18 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
44
46
  }
45
47
 
46
48
  /**
47
- * Callback function to receive the result of the addPolicies operation.
48
- * @callback module:api/GraphObjectTypesApi~addPoliciesCallback
49
+ * Callback function to receive the result of the addMethodToObjectType operation.
50
+ * @callback module:api/GraphObjectTypesApi~addMethodToObjectTypeCallback
49
51
  * @param {String} error Error message, if any.
50
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
52
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
51
53
  * @param {String} response The complete HTTP response.
52
54
  */
53
55
 
54
56
  /**
55
- * @param {Number} id
57
+ * Adds a method to an object type
58
+ * Adds a method to an object type
59
+ * @param {Number} objecttypeid
60
+ * @param {module:model/CreateFunctionInput} createFunctionInput
56
61
  * @param {Object} opts Optional parameters
57
62
  * @param {String} [authorization] The authorization token of the logged in user
58
63
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -64,11 +69,72 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
64
69
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
65
70
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
66
71
  * @param {String} [transactionid] The id of the transaction this operation is being run in
67
- * @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
68
- * @param {module:api/GraphObjectTypesApi~addPoliciesCallback} callback The callback function, accepting three arguments: error, data, response
69
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
72
+ * @param {module:api/GraphObjectTypesApi~addMethodToObjectTypeCallback} callback The callback function, accepting three arguments: error, data, response
73
+ * data is of type: {@link module:model/GetFunctionResponse}
70
74
  */
71
75
  _createClass(GraphObjectTypesApi, [{
76
+ key: "addMethodToObjectType",
77
+ value: function addMethodToObjectType(objecttypeid, createFunctionInput, opts, callback) {
78
+ opts = opts || {};
79
+ var postBody = createFunctionInput;
80
+ // verify the required parameter 'objecttypeid' is set
81
+ if (objecttypeid === undefined || objecttypeid === null) {
82
+ throw new Error("Missing the required parameter 'objecttypeid' when calling addMethodToObjectType");
83
+ }
84
+ // verify the required parameter 'createFunctionInput' is set
85
+ if (createFunctionInput === undefined || createFunctionInput === null) {
86
+ throw new Error("Missing the required parameter 'createFunctionInput' when calling addMethodToObjectType");
87
+ }
88
+ var pathParams = {
89
+ 'objecttypeid': objecttypeid
90
+ };
91
+ var queryParams = {};
92
+ var headerParams = {
93
+ 'Authorization': opts['authorization'],
94
+ 'cacheduration': opts['cacheduration'],
95
+ 'cachegroup': opts['cachegroup'],
96
+ 'cachekey': opts['cachekey'],
97
+ 'cachescope': opts['cachescope'],
98
+ 'cacheuser': opts['cacheuser'],
99
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
100
+ 'zeusportal-postas': opts['zeusportalPostas'],
101
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
102
+ 'transactionid': opts['transactionid']
103
+ };
104
+ var formParams = {};
105
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
106
+ var contentTypes = [];
107
+ var accepts = ['application/json'];
108
+ var returnType = _GetFunctionResponse["default"];
109
+ return this.apiClient.callApi('/graph/data/functions/objecttype/{objecttypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
110
+ }
111
+
112
+ /**
113
+ * Callback function to receive the result of the addPolicies operation.
114
+ * @callback module:api/GraphObjectTypesApi~addPoliciesCallback
115
+ * @param {String} error Error message, if any.
116
+ * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
117
+ * @param {String} response The complete HTTP response.
118
+ */
119
+
120
+ /**
121
+ * @param {Number} id
122
+ * @param {Object} opts Optional parameters
123
+ * @param {String} [authorization] The authorization token of the logged in user
124
+ * @param {Number} [cacheduration] The how long the cache entry should persist
125
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
126
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
127
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
128
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
129
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
130
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
131
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
132
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
133
+ * @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
134
+ * @param {module:api/GraphObjectTypesApi~addPoliciesCallback} callback The callback function, accepting three arguments: error, data, response
135
+ * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
136
+ */
137
+ }, {
72
138
  key: "addPolicies",
73
139
  value: function addPolicies(id, opts, callback) {
74
140
  opts = opts || {};
@@ -473,6 +539,65 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
473
539
  return this.apiClient.callApi('/graph/data/objecttype/mine', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
474
540
  }
475
541
 
542
+ /**
543
+ * Callback function to receive the result of the getObjectTypeMethods operation.
544
+ * @callback module:api/GraphObjectTypesApi~getObjectTypeMethodsCallback
545
+ * @param {String} error Error message, if any.
546
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
547
+ * @param {String} response The complete HTTP response.
548
+ */
549
+
550
+ /**
551
+ * Retrieves the methods associated with the Object Type
552
+ * Retrieves the methods associated with the Object Type
553
+ * @param {Number} objecttypeid
554
+ * @param {Object} opts Optional parameters
555
+ * @param {String} [authorization] The authorization token of the logged in user
556
+ * @param {Number} [cacheduration] The how long the cache entry should persist
557
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
558
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
559
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
560
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
561
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
562
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
563
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
564
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
565
+ * @param {module:api/GraphObjectTypesApi~getObjectTypeMethodsCallback} callback The callback function, accepting three arguments: error, data, response
566
+ * data is of type: {@link module:model/GetFunctionResponse}
567
+ */
568
+ }, {
569
+ key: "getObjectTypeMethods",
570
+ value: function getObjectTypeMethods(objecttypeid, opts, callback) {
571
+ opts = opts || {};
572
+ var postBody = null;
573
+ // verify the required parameter 'objecttypeid' is set
574
+ if (objecttypeid === undefined || objecttypeid === null) {
575
+ throw new Error("Missing the required parameter 'objecttypeid' when calling getObjectTypeMethods");
576
+ }
577
+ var pathParams = {
578
+ 'objecttypeid': objecttypeid
579
+ };
580
+ var queryParams = {};
581
+ var headerParams = {
582
+ 'Authorization': opts['authorization'],
583
+ 'cacheduration': opts['cacheduration'],
584
+ 'cachegroup': opts['cachegroup'],
585
+ 'cachekey': opts['cachekey'],
586
+ 'cachescope': opts['cachescope'],
587
+ 'cacheuser': opts['cacheuser'],
588
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
589
+ 'zeusportal-postas': opts['zeusportalPostas'],
590
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
591
+ 'transactionid': opts['transactionid']
592
+ };
593
+ var formParams = {};
594
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
595
+ var contentTypes = [];
596
+ var accepts = ['application/json'];
597
+ var returnType = _GetFunctionResponse["default"];
598
+ return this.apiClient.callApi('/graph/data/functions/objecttype/{objecttypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
599
+ }
600
+
476
601
  /**
477
602
  * Callback function to receive the result of the updateTemplate1 operation.
478
603
  * @callback module:api/GraphObjectTypesApi~updateTemplate1Callback
@@ -35,7 +35,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
35
35
  * gobodo-api
36
36
  * REST Interface for Gobodo API
37
37
  *
38
- * The version of the OpenAPI document: 0.1.52
38
+ * The version of the OpenAPI document: 0.1.58
39
39
  * Contact: info@gobodo.io
40
40
  *
41
41
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,7 +46,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
46
46
  /**
47
47
  * GraphObjects service.
48
48
  * @module api/GraphObjectsApi
49
- * @version 0.1.52
49
+ * @version 0.1.58
50
50
  */
51
51
  var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
52
52
  /**
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _CreateFunctionInput = _interopRequireDefault(require("../model/CreateFunctionInput"));
9
+ var _GetFunctionResponse = _interopRequireDefault(require("../model/GetFunctionResponse"));
8
10
  var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
9
11
  var _GraphRelationshipType = _interopRequireDefault(require("../model/GraphRelationshipType"));
10
12
  var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
@@ -18,7 +20,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
20
  * gobodo-api
19
21
  * REST Interface for Gobodo API
20
22
  *
21
- * The version of the OpenAPI document: 0.1.52
23
+ * The version of the OpenAPI document: 0.1.58
22
24
  * Contact: info@gobodo.io
23
25
  *
24
26
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +31,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
29
31
  /**
30
32
  * GraphRelationshipTypes service.
31
33
  * @module api/GraphRelationshipTypesApi
32
- * @version 0.1.52
34
+ * @version 0.1.58
33
35
  */
34
36
  var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
35
37
  /**
@@ -102,6 +104,70 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
102
104
  return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
103
105
  }
104
106
 
107
+ /**
108
+ * Callback function to receive the result of the addMethodToRelationshipType operation.
109
+ * @callback module:api/GraphRelationshipTypesApi~addMethodToRelationshipTypeCallback
110
+ * @param {String} error Error message, if any.
111
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
112
+ * @param {String} response The complete HTTP response.
113
+ */
114
+
115
+ /**
116
+ * Adds a method to an relationship type
117
+ * Adds a method to a relationship type
118
+ * @param {Number} reltypeid
119
+ * @param {module:model/CreateFunctionInput} createFunctionInput
120
+ * @param {Object} opts Optional parameters
121
+ * @param {String} [authorization] The authorization token of the logged in user
122
+ * @param {Number} [cacheduration] The how long the cache entry should persist
123
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
124
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
125
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
126
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
127
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
128
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
129
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
130
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
131
+ * @param {module:api/GraphRelationshipTypesApi~addMethodToRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
132
+ * data is of type: {@link module:model/GetFunctionResponse}
133
+ */
134
+ }, {
135
+ key: "addMethodToRelationshipType",
136
+ value: function addMethodToRelationshipType(reltypeid, createFunctionInput, opts, callback) {
137
+ opts = opts || {};
138
+ var postBody = createFunctionInput;
139
+ // verify the required parameter 'reltypeid' is set
140
+ if (reltypeid === undefined || reltypeid === null) {
141
+ throw new Error("Missing the required parameter 'reltypeid' when calling addMethodToRelationshipType");
142
+ }
143
+ // verify the required parameter 'createFunctionInput' is set
144
+ if (createFunctionInput === undefined || createFunctionInput === null) {
145
+ throw new Error("Missing the required parameter 'createFunctionInput' when calling addMethodToRelationshipType");
146
+ }
147
+ var pathParams = {
148
+ 'reltypeid': reltypeid
149
+ };
150
+ var queryParams = {};
151
+ var headerParams = {
152
+ 'Authorization': opts['authorization'],
153
+ 'cacheduration': opts['cacheduration'],
154
+ 'cachegroup': opts['cachegroup'],
155
+ 'cachekey': opts['cachekey'],
156
+ 'cachescope': opts['cachescope'],
157
+ 'cacheuser': opts['cacheuser'],
158
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
159
+ 'zeusportal-postas': opts['zeusportalPostas'],
160
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
161
+ 'transactionid': opts['transactionid']
162
+ };
163
+ var formParams = {};
164
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
165
+ var contentTypes = [];
166
+ var accepts = ['application/json'];
167
+ var returnType = _GetFunctionResponse["default"];
168
+ return this.apiClient.callApi('/graph/data/functions/relationshiptype/{reltypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
169
+ }
170
+
105
171
  /**
106
172
  * Callback function to receive the result of the addStartObjectTypes operation.
107
173
  * @callback module:api/GraphRelationshipTypesApi~addStartObjectTypesCallback
@@ -620,6 +686,65 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
620
686
  return this.apiClient.callApi('/graph/data/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
621
687
  }
622
688
 
689
+ /**
690
+ * Callback function to receive the result of the getRelationshipTypeMethods operation.
691
+ * @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeMethodsCallback
692
+ * @param {String} error Error message, if any.
693
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
694
+ * @param {String} response The complete HTTP response.
695
+ */
696
+
697
+ /**
698
+ * Retrieves the methods associated with the Object Type
699
+ * Retrieves the methods associated with the Object Type
700
+ * @param {Number} reltypeid
701
+ * @param {Object} opts Optional parameters
702
+ * @param {String} [authorization] The authorization token of the logged in user
703
+ * @param {Number} [cacheduration] The how long the cache entry should persist
704
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
705
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
706
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
707
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
708
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
709
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
710
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
711
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
712
+ * @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeMethodsCallback} callback The callback function, accepting three arguments: error, data, response
713
+ * data is of type: {@link module:model/GetFunctionResponse}
714
+ */
715
+ }, {
716
+ key: "getRelationshipTypeMethods",
717
+ value: function getRelationshipTypeMethods(reltypeid, opts, callback) {
718
+ opts = opts || {};
719
+ var postBody = null;
720
+ // verify the required parameter 'reltypeid' is set
721
+ if (reltypeid === undefined || reltypeid === null) {
722
+ throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipTypeMethods");
723
+ }
724
+ var pathParams = {
725
+ 'reltypeid': reltypeid
726
+ };
727
+ var queryParams = {};
728
+ var headerParams = {
729
+ 'Authorization': opts['authorization'],
730
+ 'cacheduration': opts['cacheduration'],
731
+ 'cachegroup': opts['cachegroup'],
732
+ 'cachekey': opts['cachekey'],
733
+ 'cachescope': opts['cachescope'],
734
+ 'cacheuser': opts['cacheuser'],
735
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
736
+ 'zeusportal-postas': opts['zeusportalPostas'],
737
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
738
+ 'transactionid': opts['transactionid']
739
+ };
740
+ var formParams = {};
741
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
742
+ var contentTypes = [];
743
+ var accepts = ['application/json'];
744
+ var returnType = _GetFunctionResponse["default"];
745
+ return this.apiClient.callApi('/graph/data/functions/relationshiptype/{reltypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
746
+ }
747
+
623
748
  /**
624
749
  * Callback function to receive the result of the getRelationshipsByTypeIn operation.
625
750
  * @callback module:api/GraphRelationshipTypesApi~getRelationshipsByTypeInCallback
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.52
22
+ * The version of the OpenAPI document: 0.1.58
23
23
  * Contact: info@gobodo.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
30
30
  /**
31
31
  * GraphRelationships service.
32
32
  * @module api/GraphRelationshipsApi
33
- * @version 0.1.52
33
+ * @version 0.1.58
34
34
  */
35
35
  var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -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.52
20
+ * The version of the OpenAPI document: 0.1.58
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
  * GraphSchemas service.
30
30
  * @module api/GraphSchemasApi
31
- * @version 0.1.52
31
+ * @version 0.1.58
32
32
  */
33
33
  var GraphSchemasApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.52
22
+ * The version of the OpenAPI document: 0.1.58
23
23
  * Contact: info@gobodo.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
30
30
  /**
31
31
  * GraphTraversal service.
32
32
  * @module api/GraphTraversalApi
33
- * @version 0.1.52
33
+ * @version 0.1.58
34
34
  */
35
35
  var GraphTraversalApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.52
22
+ * The version of the OpenAPI document: 0.1.58
23
23
  * Contact: info@gobodo.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
30
30
  /**
31
31
  * Graphs service.
32
32
  * @module api/GraphsApi
33
- * @version 0.1.52
33
+ * @version 0.1.58
34
34
  */
35
35
  var GraphsApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.52
22
+ * The version of the OpenAPI document: 0.1.58
23
23
  * Contact: info@gobodo.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
30
30
  /**
31
31
  * Groups service.
32
32
  * @module api/GroupsApi
33
- * @version 0.1.52
33
+ * @version 0.1.58
34
34
  */
35
35
  var GroupsApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -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.52
19
+ * The version of the OpenAPI document: 0.1.58
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
  * IAM service.
29
29
  * @module api/IAMApi
30
- * @version 0.1.52
30
+ * @version 0.1.58
31
31
  */
32
32
  var IAMApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -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.52
23
+ * The version of the OpenAPI document: 0.1.58
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
  * Images service.
33
33
  * @module api/ImagesApi
34
- * @version 0.1.52
34
+ * @version 0.1.58
35
35
  */
36
36
  var ImagesApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
@@ -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.52
20
+ * The version of the OpenAPI document: 0.1.58
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
  * Invites service.
30
30
  * @module api/InvitesApi
31
- * @version 0.1.52
31
+ * @version 0.1.58
32
32
  */
33
33
  var InvitesApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  * gobodo-api
18
18
  * REST Interface for Gobodo API
19
19
  *
20
- * The version of the OpenAPI document: 0.1.52
20
+ * The version of the OpenAPI document: 0.1.58
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
  * Likes service.
30
30
  * @module api/LikesApi
31
- * @version 0.1.52
31
+ * @version 0.1.58
32
32
  */
33
33
  var LikesApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**