@gobodo/gobodo-api 0.1.51 → 0.1.56

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 (204) hide show
  1. package/README.md +46 -6
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/ActionTypesApi.js +2 -2
  4. package/dist/api/AdCampaignsApi.js +2 -2
  5. package/dist/api/AdManagementApi.js +2 -2
  6. package/dist/api/AdminDataManagementApi.js +2 -2
  7. package/dist/api/AdsApi.js +2 -2
  8. package/dist/api/AttachmentsApi.js +2 -2
  9. package/dist/api/AuthenticationApi.js +2 -2
  10. package/dist/api/CategoriesApi.js +2 -2
  11. package/dist/api/CommentsApi.js +2 -2
  12. package/dist/api/ContentManagementApi.js +2 -2
  13. package/dist/api/ConversationsApi.js +2 -2
  14. package/dist/api/DataSheetImportsApi.js +2 -2
  15. package/dist/api/DefaultApi.js +2 -2
  16. package/dist/api/DocumentsApi.js +2 -2
  17. package/dist/api/EmailsApi.js +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 +384 -10
  24. package/dist/api/GeocodeApi.js +2 -2
  25. package/dist/api/GoogleApi.js +2 -2
  26. package/dist/api/GraphActionsApi.js +2 -2
  27. package/dist/api/GraphObjectTypesApi.js +2 -2
  28. package/dist/api/GraphObjectsApi.js +2 -2
  29. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  30. package/dist/api/GraphRelationshipsApi.js +2 -2
  31. package/dist/api/GraphSchemasApi.js +2 -2
  32. package/dist/api/GraphTraversalApi.js +2 -2
  33. package/dist/api/GraphsApi.js +2 -2
  34. package/dist/api/GroupsApi.js +2 -2
  35. package/dist/api/IAMApi.js +2 -2
  36. package/dist/api/ImagesApi.js +2 -2
  37. package/dist/api/InvitesApi.js +2 -2
  38. package/dist/api/LikesApi.js +2 -2
  39. package/dist/api/LinkedINApi.js +2 -2
  40. package/dist/api/LiveMeetingsApi.js +2 -2
  41. package/dist/api/MeetingEventsApi.js +2 -2
  42. package/dist/api/NotificationsApi.js +735 -0
  43. package/dist/api/PagesApi.js +2 -2
  44. package/dist/api/PhoneNumbersApi.js +322 -0
  45. package/dist/api/PostsApi.js +2 -2
  46. package/dist/api/PrivateMessagesApi.js +2 -2
  47. package/dist/api/PublicationsApi.js +2 -2
  48. package/dist/api/ScreensApi.js +2 -2
  49. package/dist/api/SocialIntegrationApi.js +2 -2
  50. package/dist/api/StripeAccountsApi.js +13 -13
  51. package/dist/api/TagsApi.js +2 -2
  52. package/dist/api/TemplatesApi.js +2 -2
  53. package/dist/api/ThemeMappingsApi.js +2 -2
  54. package/dist/api/TopicsApi.js +163 -0
  55. package/dist/api/TransactionsApi.js +2 -2
  56. package/dist/api/TwitterApi.js +2 -2
  57. package/dist/api/UserTagsApi.js +2 -2
  58. package/dist/api/UsersApi.js +7 -7
  59. package/dist/api/UtilsApi.js +2 -2
  60. package/dist/api/VideosApi.js +2 -2
  61. package/dist/index.js +112 -7
  62. package/dist/model/APIClient.js +9 -9
  63. package/dist/model/AccountSessionInput.js +2 -2
  64. package/dist/model/AccountSessionResponse.js +2 -2
  65. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  66. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -32
  67. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
  68. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +2 -2
  69. package/dist/model/Article.js +23 -23
  70. package/dist/model/AuthResponse.js +2 -2
  71. package/dist/model/Balance.js +34 -34
  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 +9 -9
  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 +28 -28
  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 +23 -23
  91. package/dist/model/DocumentPart.js +21 -21
  92. package/dist/model/DocumentPartType.js +10 -10
  93. package/dist/model/DocumentType.js +21 -21
  94. package/dist/model/EmailAddress.js +142 -0
  95. package/dist/model/FieldMapping.js +2 -2
  96. package/dist/model/Fields.js +20 -20
  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 +316 -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/GetFunctionResponse.js +195 -0
  110. package/dist/model/Graph.js +38 -38
  111. package/dist/model/GraphAction.js +2 -2
  112. package/dist/model/GraphDatabaseService.js +2 -2
  113. package/dist/model/GraphGeocode.js +2 -2
  114. package/dist/model/GraphIteratorEntryPart.js +2 -2
  115. package/dist/model/GraphObject.js +27 -27
  116. package/dist/model/GraphObjectPayload.js +2 -2
  117. package/dist/model/GraphObjectSchema.js +36 -36
  118. package/dist/model/GraphObjectType.js +26 -26
  119. package/dist/model/GraphObjectTypeSchema.js +26 -26
  120. package/dist/model/GraphOwner.js +2 -2
  121. package/dist/model/GraphRelationship.js +2 -2
  122. package/dist/model/GraphRelationshipPayload.js +2 -2
  123. package/dist/model/GraphRelationshipType.js +2 -2
  124. package/dist/model/GraphSchema.js +34 -34
  125. package/dist/model/GraphTraversalInput.js +2 -2
  126. package/dist/model/Image.js +26 -26
  127. package/dist/model/ImageUploadObject.js +26 -26
  128. package/dist/model/InputPart.js +2 -2
  129. package/dist/model/InputPartHeaders.js +88 -0
  130. package/dist/model/InputPartMediaType.js +2 -2
  131. package/dist/model/Link.js +26 -26
  132. package/dist/model/LiveStreamInfo.js +2 -2
  133. package/dist/model/MeetingEvent.js +9 -9
  134. package/dist/model/MeetingEventTimezone.js +2 -2
  135. package/dist/model/MeetingInfo.js +2 -2
  136. package/dist/model/Member.js +14 -14
  137. package/dist/model/MemberGroupCategory.js +2 -2
  138. package/dist/model/MemberList.js +2 -2
  139. package/dist/model/MessageGroup.js +9 -9
  140. package/dist/model/MultipartBody.js +2 -2
  141. package/dist/model/Notification.js +210 -0
  142. package/dist/model/NotificationInput.js +187 -0
  143. package/dist/model/Objecttype.js +22 -22
  144. package/dist/model/Page.js +2 -2
  145. package/dist/model/PageSchema.js +17 -17
  146. package/dist/model/Pageable.js +2 -2
  147. package/dist/model/Path.js +2 -2
  148. package/dist/model/PaymentAccountObject.js +2 -2
  149. package/dist/model/PaymentIntentInput.js +2 -2
  150. package/dist/model/PaymentIntentResponse.js +2 -2
  151. package/dist/model/PaymentMethod.js +10 -10
  152. package/dist/model/PaymentMethodInput.js +2 -2
  153. package/dist/model/PaymentMethodResponse.js +2 -2
  154. package/dist/model/PaymentMethodsResponse.js +2 -2
  155. package/dist/model/Payout.js +13 -13
  156. package/dist/model/PayoutInput.js +2 -2
  157. package/dist/model/PayoutResponse.js +2 -2
  158. package/dist/model/PhoneNumber.js +178 -0
  159. package/dist/model/Post.js +2 -2
  160. package/dist/model/PrivateMessage.js +9 -9
  161. package/dist/model/PrivateMessageConversation.js +37 -37
  162. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  163. package/dist/model/Profile.js +2 -2
  164. package/dist/model/Profiletype.js +2 -2
  165. package/dist/model/PropertyContainer.js +9 -9
  166. package/dist/model/PurgeDataDefaultResponse.js +144 -0
  167. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  168. package/dist/model/RelationshipMapping.js +2 -2
  169. package/dist/model/ScreenSchema.js +27 -27
  170. package/dist/model/SimulcastInfo.js +2 -2
  171. package/dist/model/SkinField.js +20 -20
  172. package/dist/model/SocialGroup.js +2 -2
  173. package/dist/model/SocialGroupType.js +9 -9
  174. package/dist/model/Sort.js +2 -2
  175. package/dist/model/SourceTypes.js +2 -2
  176. package/dist/model/StatusUpdate.js +2 -2
  177. package/dist/model/StreetAddress.js +2 -2
  178. package/dist/model/StripeAccount.js +2 -2
  179. package/dist/model/StripeCustomerAccount.js +2 -2
  180. package/dist/model/Template.js +22 -22
  181. package/dist/model/TemplateSchema.js +22 -22
  182. package/dist/model/ThemeMapping.js +10 -10
  183. package/dist/model/ThemeMappingPayload.js +9 -9
  184. package/dist/model/TopicInfoResponse.js +102 -0
  185. package/dist/model/Transaction.js +2 -2
  186. package/dist/model/Transfer.js +20 -20
  187. package/dist/model/TransferInput.js +2 -2
  188. package/dist/model/TransferResponse.js +2 -2
  189. package/dist/model/TransferResponsePaymentMethodDetails.js +20 -20
  190. package/dist/model/TraversalRelationResponse.js +2 -2
  191. package/dist/model/User.js +14 -14
  192. package/dist/model/UserDataPayload.js +14 -14
  193. package/dist/model/UserDomain.js +2 -2
  194. package/dist/model/UserInvite.js +13 -13
  195. package/dist/model/UserInviteInput.js +2 -2
  196. package/dist/model/UserSchema.js +14 -14
  197. package/dist/model/UserTag.js +2 -2
  198. package/dist/model/Userid.js +2 -2
  199. package/dist/model/Video.js +34 -34
  200. package/dist/model/VideoLiveUrl.js +2 -2
  201. package/dist/model/VideoSchema.js +42 -42
  202. package/dist/model/VideoUploadObject.js +34 -34
  203. package/dist/model/ZeusPortalCategory.js +2 -2
  204. 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 _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
9
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
12
  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,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
18
  * gobodo-api
17
19
  * REST Interface for Gobodo API
18
20
  *
19
- * The version of the OpenAPI document: 0.1.51
21
+ * The version of the OpenAPI document: 0.1.56
20
22
  * Contact: info@gobodo.io
21
23
  *
22
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
29
  /**
28
30
  * Functions service.
29
31
  * @module api/FunctionsApi
30
- * @version 0.1.51
32
+ * @version 0.1.56
31
33
  */
32
34
  var FunctionsApi = exports["default"] = /*#__PURE__*/function () {
33
35
  /**
@@ -43,16 +45,18 @@ var FunctionsApi = exports["default"] = /*#__PURE__*/function () {
43
45
  }
44
46
 
45
47
  /**
46
- * Callback function to receive the result of the doPostFunction operation.
47
- * @callback module:api/FunctionsApi~doPostFunctionCallback
48
+ * Callback function to receive the result of the addMethodToActionType operation.
49
+ * @callback module:api/FunctionsApi~addMethodToActionTypeCallback
48
50
  * @param {String} error Error message, if any.
49
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
51
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
50
52
  * @param {String} response The complete HTTP response.
51
53
  */
52
54
 
53
55
  /**
54
- * @param {Number} id The id of the object we are calling the function on
55
- * @param {String} _function
56
+ * Adds a method to an action type
57
+ * Adds a method to an action type
58
+ * @param {Number} actiontypeid
59
+ * @param {module:model/CreateFunctionInput} createFunctionInput
56
60
  * @param {Object} opts Optional parameters
57
61
  * @param {String} [authorization] The authorization token of the logged in user
58
62
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -64,11 +68,258 @@ var FunctionsApi = exports["default"] = /*#__PURE__*/function () {
64
68
  * @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
69
  * @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
70
  * @param {String} [transactionid] The id of the transaction this operation is being run in
67
- * @param {String} [body]
68
- * @param {module:api/FunctionsApi~doPostFunctionCallback} callback The callback function, accepting three arguments: error, data, response
69
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
71
+ * @param {module:api/FunctionsApi~addMethodToActionTypeCallback} callback The callback function, accepting three arguments: error, data, response
72
+ * data is of type: {@link module:model/GetFunctionResponse}
70
73
  */
71
74
  _createClass(FunctionsApi, [{
75
+ key: "addMethodToActionType",
76
+ value: function addMethodToActionType(actiontypeid, createFunctionInput, opts, callback) {
77
+ opts = opts || {};
78
+ var postBody = createFunctionInput;
79
+ // verify the required parameter 'actiontypeid' is set
80
+ if (actiontypeid === undefined || actiontypeid === null) {
81
+ throw new Error("Missing the required parameter 'actiontypeid' when calling addMethodToActionType");
82
+ }
83
+ // verify the required parameter 'createFunctionInput' is set
84
+ if (createFunctionInput === undefined || createFunctionInput === null) {
85
+ throw new Error("Missing the required parameter 'createFunctionInput' when calling addMethodToActionType");
86
+ }
87
+ var pathParams = {
88
+ 'actiontypeid': actiontypeid
89
+ };
90
+ var queryParams = {};
91
+ var headerParams = {
92
+ 'Authorization': opts['authorization'],
93
+ 'cacheduration': opts['cacheduration'],
94
+ 'cachegroup': opts['cachegroup'],
95
+ 'cachekey': opts['cachekey'],
96
+ 'cachescope': opts['cachescope'],
97
+ 'cacheuser': opts['cacheuser'],
98
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
99
+ 'zeusportal-postas': opts['zeusportalPostas'],
100
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
101
+ 'transactionid': opts['transactionid']
102
+ };
103
+ var formParams = {};
104
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
105
+ var contentTypes = [];
106
+ var accepts = ['application/json'];
107
+ var returnType = _GetFunctionResponse["default"];
108
+ return this.apiClient.callApi('/graph/data/functions/{actiontypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
109
+ }
110
+
111
+ /**
112
+ * Callback function to receive the result of the addMethodToObjectType operation.
113
+ * @callback module:api/FunctionsApi~addMethodToObjectTypeCallback
114
+ * @param {String} error Error message, if any.
115
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
116
+ * @param {String} response The complete HTTP response.
117
+ */
118
+
119
+ /**
120
+ * Adds a method to an object type
121
+ * Adds a method to an object type
122
+ * @param {Number} objecttypeid
123
+ * @param {module:model/CreateFunctionInput} createFunctionInput
124
+ * @param {Object} opts Optional parameters
125
+ * @param {String} [authorization] The authorization token of the logged in user
126
+ * @param {Number} [cacheduration] The how long the cache entry should persist
127
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
128
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
129
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
130
+ * @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)
131
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
132
+ * @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
133
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
134
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
135
+ * @param {module:api/FunctionsApi~addMethodToObjectTypeCallback} callback The callback function, accepting three arguments: error, data, response
136
+ * data is of type: {@link module:model/GetFunctionResponse}
137
+ */
138
+ }, {
139
+ key: "addMethodToObjectType",
140
+ value: function addMethodToObjectType(objecttypeid, createFunctionInput, opts, callback) {
141
+ opts = opts || {};
142
+ var postBody = createFunctionInput;
143
+ // verify the required parameter 'objecttypeid' is set
144
+ if (objecttypeid === undefined || objecttypeid === null) {
145
+ throw new Error("Missing the required parameter 'objecttypeid' when calling addMethodToObjectType");
146
+ }
147
+ // verify the required parameter 'createFunctionInput' is set
148
+ if (createFunctionInput === undefined || createFunctionInput === null) {
149
+ throw new Error("Missing the required parameter 'createFunctionInput' when calling addMethodToObjectType");
150
+ }
151
+ var pathParams = {
152
+ 'objecttypeid': objecttypeid
153
+ };
154
+ var queryParams = {};
155
+ var headerParams = {
156
+ 'Authorization': opts['authorization'],
157
+ 'cacheduration': opts['cacheduration'],
158
+ 'cachegroup': opts['cachegroup'],
159
+ 'cachekey': opts['cachekey'],
160
+ 'cachescope': opts['cachescope'],
161
+ 'cacheuser': opts['cacheuser'],
162
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
163
+ 'zeusportal-postas': opts['zeusportalPostas'],
164
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
165
+ 'transactionid': opts['transactionid']
166
+ };
167
+ var formParams = {};
168
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
169
+ var contentTypes = [];
170
+ var accepts = ['application/json'];
171
+ var returnType = _GetFunctionResponse["default"];
172
+ return this.apiClient.callApi('/graph/data/functions/{objecttypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
173
+ }
174
+
175
+ /**
176
+ * Callback function to receive the result of the addMethodToRelationshipType operation.
177
+ * @callback module:api/FunctionsApi~addMethodToRelationshipTypeCallback
178
+ * @param {String} error Error message, if any.
179
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
180
+ * @param {String} response The complete HTTP response.
181
+ */
182
+
183
+ /**
184
+ * Adds a method to an relationship type
185
+ * Adds a method to a relationship type
186
+ * @param {Number} reltypeid
187
+ * @param {module:model/CreateFunctionInput} createFunctionInput
188
+ * @param {Object} opts Optional parameters
189
+ * @param {String} [authorization] The authorization token of the logged in user
190
+ * @param {Number} [cacheduration] The how long the cache entry should persist
191
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
192
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
193
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
194
+ * @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)
195
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
196
+ * @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
197
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
198
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
199
+ * @param {module:api/FunctionsApi~addMethodToRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
200
+ * data is of type: {@link module:model/GetFunctionResponse}
201
+ */
202
+ }, {
203
+ key: "addMethodToRelationshipType",
204
+ value: function addMethodToRelationshipType(reltypeid, createFunctionInput, opts, callback) {
205
+ opts = opts || {};
206
+ var postBody = createFunctionInput;
207
+ // verify the required parameter 'reltypeid' is set
208
+ if (reltypeid === undefined || reltypeid === null) {
209
+ throw new Error("Missing the required parameter 'reltypeid' when calling addMethodToRelationshipType");
210
+ }
211
+ // verify the required parameter 'createFunctionInput' is set
212
+ if (createFunctionInput === undefined || createFunctionInput === null) {
213
+ throw new Error("Missing the required parameter 'createFunctionInput' when calling addMethodToRelationshipType");
214
+ }
215
+ var pathParams = {
216
+ 'reltypeid': reltypeid
217
+ };
218
+ var queryParams = {};
219
+ var headerParams = {
220
+ 'Authorization': opts['authorization'],
221
+ 'cacheduration': opts['cacheduration'],
222
+ 'cachegroup': opts['cachegroup'],
223
+ 'cachekey': opts['cachekey'],
224
+ 'cachescope': opts['cachescope'],
225
+ 'cacheuser': opts['cacheuser'],
226
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
227
+ 'zeusportal-postas': opts['zeusportalPostas'],
228
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
229
+ 'transactionid': opts['transactionid']
230
+ };
231
+ var formParams = {};
232
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
233
+ var contentTypes = [];
234
+ var accepts = ['application/json'];
235
+ var returnType = _GetFunctionResponse["default"];
236
+ return this.apiClient.callApi('/graph/data/functions/{reltypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
237
+ }
238
+
239
+ /**
240
+ * Callback function to receive the result of the createFunction operation.
241
+ * @callback module:api/FunctionsApi~createFunctionCallback
242
+ * @param {String} error Error message, if any.
243
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
244
+ * @param {String} response The complete HTTP response.
245
+ */
246
+
247
+ /**
248
+ * Creates a new function
249
+ * Creates a new function
250
+ * @param {module:model/CreateFunctionInput} createFunctionInput
251
+ * @param {Object} opts Optional parameters
252
+ * @param {String} [authorization] The authorization token of the logged in user
253
+ * @param {Number} [cacheduration] The how long the cache entry should persist
254
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
255
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
256
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
257
+ * @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)
258
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
259
+ * @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
260
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
261
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
262
+ * @param {module:api/FunctionsApi~createFunctionCallback} callback The callback function, accepting three arguments: error, data, response
263
+ * data is of type: {@link module:model/GetFunctionResponse}
264
+ */
265
+ }, {
266
+ key: "createFunction",
267
+ value: function createFunction(createFunctionInput, opts, callback) {
268
+ opts = opts || {};
269
+ var postBody = createFunctionInput;
270
+ // verify the required parameter 'createFunctionInput' is set
271
+ if (createFunctionInput === undefined || createFunctionInput === null) {
272
+ throw new Error("Missing the required parameter 'createFunctionInput' when calling createFunction");
273
+ }
274
+ var pathParams = {};
275
+ var queryParams = {};
276
+ var headerParams = {
277
+ 'Authorization': opts['authorization'],
278
+ 'cacheduration': opts['cacheduration'],
279
+ 'cachegroup': opts['cachegroup'],
280
+ 'cachekey': opts['cachekey'],
281
+ 'cachescope': opts['cachescope'],
282
+ 'cacheuser': opts['cacheuser'],
283
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
284
+ 'zeusportal-postas': opts['zeusportalPostas'],
285
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
286
+ 'transactionid': opts['transactionid']
287
+ };
288
+ var formParams = {};
289
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
290
+ var contentTypes = [];
291
+ var accepts = ['application/json'];
292
+ var returnType = _GetFunctionResponse["default"];
293
+ return this.apiClient.callApi('/graph/data/functions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
294
+ }
295
+
296
+ /**
297
+ * Callback function to receive the result of the doPostFunction operation.
298
+ * @callback module:api/FunctionsApi~doPostFunctionCallback
299
+ * @param {String} error Error message, if any.
300
+ * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
301
+ * @param {String} response The complete HTTP response.
302
+ */
303
+
304
+ /**
305
+ * @param {Number} id The id of the object we are calling the function on
306
+ * @param {String} _function
307
+ * @param {Object} opts Optional parameters
308
+ * @param {String} [authorization] The authorization token of the logged in user
309
+ * @param {Number} [cacheduration] The how long the cache entry should persist
310
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
311
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
312
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
313
+ * @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)
314
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
315
+ * @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
316
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
317
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
318
+ * @param {String} [body]
319
+ * @param {module:api/FunctionsApi~doPostFunctionCallback} callback The callback function, accepting three arguments: error, data, response
320
+ * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
321
+ */
322
+ }, {
72
323
  key: "doPostFunction",
73
324
  value: function doPostFunction(id, _function, opts, callback) {
74
325
  opts = opts || {};
@@ -105,6 +356,129 @@ var FunctionsApi = exports["default"] = /*#__PURE__*/function () {
105
356
  var returnType = _PurgeDataDefaultResponseValue["default"];
106
357
  return this.apiClient.callApi('/graph/data/object/{id}/function/{function}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
107
358
  }
359
+
360
+ /**
361
+ * Callback function to receive the result of the editFunction operation.
362
+ * @callback module:api/FunctionsApi~editFunctionCallback
363
+ * @param {String} error Error message, if any.
364
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
365
+ * @param {String} response The complete HTTP response.
366
+ */
367
+
368
+ /**
369
+ * Modifies a function
370
+ * Modifies a function
371
+ * @param {Number} functionid
372
+ * @param {module:model/CreateFunctionInput} createFunctionInput
373
+ * @param {Object} opts Optional parameters
374
+ * @param {String} [authorization] The authorization token of the logged in user
375
+ * @param {Number} [cacheduration] The how long the cache entry should persist
376
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
377
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
378
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
379
+ * @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)
380
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
381
+ * @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
382
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
383
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
384
+ * @param {module:api/FunctionsApi~editFunctionCallback} callback The callback function, accepting three arguments: error, data, response
385
+ * data is of type: {@link module:model/GetFunctionResponse}
386
+ */
387
+ }, {
388
+ key: "editFunction",
389
+ value: function editFunction(functionid, createFunctionInput, opts, callback) {
390
+ opts = opts || {};
391
+ var postBody = createFunctionInput;
392
+ // verify the required parameter 'functionid' is set
393
+ if (functionid === undefined || functionid === null) {
394
+ throw new Error("Missing the required parameter 'functionid' when calling editFunction");
395
+ }
396
+ // verify the required parameter 'createFunctionInput' is set
397
+ if (createFunctionInput === undefined || createFunctionInput === null) {
398
+ throw new Error("Missing the required parameter 'createFunctionInput' when calling editFunction");
399
+ }
400
+ var pathParams = {
401
+ 'functionid': functionid
402
+ };
403
+ var queryParams = {};
404
+ var headerParams = {
405
+ 'Authorization': opts['authorization'],
406
+ 'cacheduration': opts['cacheduration'],
407
+ 'cachegroup': opts['cachegroup'],
408
+ 'cachekey': opts['cachekey'],
409
+ 'cachescope': opts['cachescope'],
410
+ 'cacheuser': opts['cacheuser'],
411
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
412
+ 'zeusportal-postas': opts['zeusportalPostas'],
413
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
414
+ 'transactionid': opts['transactionid']
415
+ };
416
+ var formParams = {};
417
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
418
+ var contentTypes = [];
419
+ var accepts = ['application/json'];
420
+ var returnType = _GetFunctionResponse["default"];
421
+ return this.apiClient.callApi('/graph/data/functions/{functionid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
422
+ }
423
+
424
+ /**
425
+ * Callback function to receive the result of the getFunction operation.
426
+ * @callback module:api/FunctionsApi~getFunctionCallback
427
+ * @param {String} error Error message, if any.
428
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
429
+ * @param {String} response The complete HTTP response.
430
+ */
431
+
432
+ /**
433
+ * Returns a function
434
+ * Returns a function
435
+ * @param {Number} functionid
436
+ * @param {Object} opts Optional parameters
437
+ * @param {String} [authorization] The authorization token of the logged in user
438
+ * @param {Number} [cacheduration] The how long the cache entry should persist
439
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
440
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
441
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
442
+ * @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)
443
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
444
+ * @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
445
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
446
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
447
+ * @param {module:api/FunctionsApi~getFunctionCallback} callback The callback function, accepting three arguments: error, data, response
448
+ * data is of type: {@link module:model/GetFunctionResponse}
449
+ */
450
+ }, {
451
+ key: "getFunction",
452
+ value: function getFunction(functionid, opts, callback) {
453
+ opts = opts || {};
454
+ var postBody = null;
455
+ // verify the required parameter 'functionid' is set
456
+ if (functionid === undefined || functionid === null) {
457
+ throw new Error("Missing the required parameter 'functionid' when calling getFunction");
458
+ }
459
+ var pathParams = {
460
+ 'functionid': functionid
461
+ };
462
+ var queryParams = {};
463
+ var headerParams = {
464
+ 'Authorization': opts['authorization'],
465
+ 'cacheduration': opts['cacheduration'],
466
+ 'cachegroup': opts['cachegroup'],
467
+ 'cachekey': opts['cachekey'],
468
+ 'cachescope': opts['cachescope'],
469
+ 'cacheuser': opts['cacheuser'],
470
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
471
+ 'zeusportal-postas': opts['zeusportalPostas'],
472
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
473
+ 'transactionid': opts['transactionid']
474
+ };
475
+ var formParams = {};
476
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
477
+ var contentTypes = [];
478
+ var accepts = ['application/json'];
479
+ var returnType = _GetFunctionResponse["default"];
480
+ return this.apiClient.callApi('/graph/data/functions/{functionid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
481
+ }
108
482
  }]);
109
483
  return FunctionsApi;
110
484
  }();
@@ -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.51
22
+ * The version of the OpenAPI document: 0.1.56
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
  * Geocode service.
32
32
  * @module api/GeocodeApi
33
- * @version 0.1.51
33
+ * @version 0.1.56
34
34
  */
35
35
  var GeocodeApi = 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.51
19
+ * The version of the OpenAPI document: 0.1.56
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
  * Google service.
29
29
  * @module api/GoogleApi
30
- * @version 0.1.51
30
+ * @version 0.1.56
31
31
  */
32
32
  var GoogleApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -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.51
20
+ * The version of the OpenAPI document: 0.1.56
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
  * GraphActions service.
30
30
  * @module api/GraphActionsApi
31
- * @version 0.1.51
31
+ * @version 0.1.56
32
32
  */
33
33
  var GraphActionsApi = 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.51
20
+ * The version of the OpenAPI document: 0.1.56
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
  * GraphObjectTypes service.
30
30
  * @module api/GraphObjectTypesApi
31
- * @version 0.1.51
31
+ * @version 0.1.56
32
32
  */
33
33
  var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -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.51
38
+ * The version of the OpenAPI document: 0.1.56
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.51
49
+ * @version 0.1.56
50
50
  */
51
51
  var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
52
52
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  * gobodo-api
19
19
  * REST Interface for Gobodo API
20
20
  *
21
- * The version of the OpenAPI document: 0.1.51
21
+ * The version of the OpenAPI document: 0.1.56
22
22
  * Contact: info@gobodo.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
29
29
  /**
30
30
  * GraphRelationshipTypes service.
31
31
  * @module api/GraphRelationshipTypesApi
32
- * @version 0.1.51
32
+ * @version 0.1.56
33
33
  */
34
34
  var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -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.51
22
+ * The version of the OpenAPI document: 0.1.56
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.51
33
+ * @version 0.1.56
34
34
  */
35
35
  var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**