@gobodo/gobodo-api 0.1.56 → 0.1.59

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 (217) hide show
  1. package/README.md +46 -12
  2. package/dist/ApiClient.js +20 -21
  3. package/dist/api/ActionTypesApi.js +19 -20
  4. package/dist/api/AdCampaignsApi.js +19 -20
  5. package/dist/api/AdManagementApi.js +19 -20
  6. package/dist/api/AdminDataManagementApi.js +19 -20
  7. package/dist/api/AdsApi.js +19 -20
  8. package/dist/api/AttachmentsApi.js +19 -20
  9. package/dist/api/AuthenticationApi.js +55 -20
  10. package/dist/api/CategoriesApi.js +19 -20
  11. package/dist/api/CommentsApi.js +19 -20
  12. package/dist/api/ContentManagementApi.js +20 -21
  13. package/dist/api/ConversationsApi.js +19 -20
  14. package/dist/api/DataSheetImportsApi.js +19 -20
  15. package/dist/api/DefaultApi.js +25 -366
  16. package/dist/api/DocumentsApi.js +20 -21
  17. package/dist/api/EmailsApi.js +19 -20
  18. package/dist/api/EntryPartsApi.js +19 -20
  19. package/dist/api/FacebookApi.js +19 -20
  20. package/dist/api/FieldsApi.js +19 -20
  21. package/dist/api/FilesApi.js +19 -20
  22. package/dist/api/FormsApi.js +19 -20
  23. package/dist/api/FunctionsApi.js +721 -32
  24. package/dist/api/GeocodeApi.js +19 -20
  25. package/dist/api/GoogleApi.js +19 -20
  26. package/dist/api/GraphActionTypesApi.js +510 -0
  27. package/dist/api/GraphActionsApi.js +19 -20
  28. package/dist/api/GraphObjectTypesApi.js +151 -27
  29. package/dist/api/GraphObjectsApi.js +19 -20
  30. package/dist/api/GraphRelationshipTypesApi.js +144 -20
  31. package/dist/api/GraphRelationshipsApi.js +19 -20
  32. package/dist/api/GraphSchemasApi.js +19 -20
  33. package/dist/api/GraphTraversalApi.js +19 -20
  34. package/dist/api/GraphsApi.js +19 -20
  35. package/dist/api/GroupsApi.js +19 -20
  36. package/dist/api/IAMApi.js +19 -20
  37. package/dist/api/ImagesApi.js +19 -20
  38. package/dist/api/InvitesApi.js +19 -20
  39. package/dist/api/LikesApi.js +19 -20
  40. package/dist/api/LinkedINApi.js +19 -20
  41. package/dist/api/LiveMeetingsApi.js +19 -20
  42. package/dist/api/MeetingEventsApi.js +19 -20
  43. package/dist/api/NotificationsApi.js +39 -40
  44. package/dist/api/PagesApi.js +19 -20
  45. package/dist/api/PhoneNumbersApi.js +19 -20
  46. package/dist/api/PostsApi.js +19 -20
  47. package/dist/api/PrivateMessagesApi.js +19 -20
  48. package/dist/api/PublicationsApi.js +19 -20
  49. package/dist/api/ScreensApi.js +19 -20
  50. package/dist/api/SocialIntegrationApi.js +19 -20
  51. package/dist/api/StripeAccountsApi.js +19 -20
  52. package/dist/api/TagsApi.js +19 -20
  53. package/dist/api/TemplatesApi.js +19 -20
  54. package/dist/api/ThemeMappingsApi.js +19 -20
  55. package/dist/api/TopicsApi.js +320 -27
  56. package/dist/api/TransactionsApi.js +19 -20
  57. package/dist/api/TwitterApi.js +19 -20
  58. package/dist/api/UserTagsApi.js +19 -20
  59. package/dist/api/UsersApi.js +19 -20
  60. package/dist/api/UtilsApi.js +19 -20
  61. package/dist/api/VideosApi.js +19 -20
  62. package/dist/index.js +90 -6
  63. package/dist/model/APIClient.js +19 -20
  64. package/dist/model/AccountSessionInput.js +19 -20
  65. package/dist/model/AccountSessionResponse.js +19 -20
  66. package/dist/model/ApplicationPaymentAccountResponse.js +19 -20
  67. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +22 -23
  68. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +19 -20
  69. package/dist/model/Article.js +19 -20
  70. package/dist/model/AuthResponse.js +19 -20
  71. package/dist/model/AwsSettings.js +140 -0
  72. package/dist/model/Balance.js +50 -51
  73. package/dist/model/BalanceDetails.js +19 -20
  74. package/dist/model/BalanceResponse.js +19 -20
  75. package/dist/model/BankAccountInfo.js +19 -20
  76. package/dist/model/CardInfo.js +19 -20
  77. package/dist/model/Comment.js +31 -32
  78. package/dist/model/Coordinates.js +19 -20
  79. package/dist/model/CreateAccountResponse.js +19 -20
  80. package/dist/model/CreateFunctionInput.js +22 -23
  81. package/dist/model/CreateStripeAccountInput.js +19 -20
  82. package/dist/model/CreateStripeCustomerInput.js +19 -20
  83. package/dist/model/CreateTopicInput.js +22 -23
  84. package/dist/model/CreateTopicListenerInput.js +22 -23
  85. package/dist/model/CustomerResponse.js +19 -20
  86. package/dist/model/DataObject.js +19 -20
  87. package/dist/model/DataSheetImport.js +19 -20
  88. package/dist/model/DataSheetImportPrivacySettings.js +19 -20
  89. package/dist/model/DataSheetImportSummary.js +22 -23
  90. package/dist/model/DeviceRegistrationRequest.js +22 -23
  91. package/dist/model/Document.js +22 -23
  92. package/dist/model/DocumentPart.js +22 -23
  93. package/dist/model/DocumentPartType.js +19 -20
  94. package/dist/model/DocumentType.js +27 -28
  95. package/dist/model/EmailAddress.js +19 -20
  96. package/dist/model/FieldMapping.js +19 -20
  97. package/dist/model/Fields.js +33 -34
  98. package/dist/model/File.js +19 -20
  99. package/dist/model/FileAttachmentUploadObject.js +19 -20
  100. package/dist/model/Filter.js +19 -20
  101. package/dist/model/FilterManager.js +22 -23
  102. package/dist/model/Form.js +22 -23
  103. package/dist/model/FormSection.js +22 -23
  104. package/dist/model/FormSubmission.js +31 -32
  105. package/dist/model/FunctionConfigInput.js +81 -23
  106. package/dist/model/FunctionEnvironmentConfig.js +22 -23
  107. package/dist/model/FunctionInput.js +190 -0
  108. package/dist/model/FunctionOutput.js +182 -0
  109. package/dist/model/Geocode.js +19 -20
  110. package/dist/model/GeocodePayload.js +19 -20
  111. package/dist/model/GeolocationInput.js +22 -23
  112. package/dist/model/GetFunctionConfig.js +364 -0
  113. package/dist/model/GetFunctionEnvironmentConfig.js +170 -0
  114. package/dist/model/GetFunctionResponse.js +39 -36
  115. package/dist/model/GoogleCloudSettings.js +126 -0
  116. package/dist/model/Graph.js +19 -20
  117. package/dist/model/GraphAction.js +28 -29
  118. package/dist/model/GraphDatabaseService.js +19 -20
  119. package/dist/model/GraphGeocode.js +19 -20
  120. package/dist/model/GraphIteratorEntryPart.js +22 -23
  121. package/dist/model/GraphObject.js +19 -20
  122. package/dist/model/GraphObjectPayload.js +22 -23
  123. package/dist/model/GraphObjectSchema.js +19 -20
  124. package/dist/model/GraphObjectType.js +19 -20
  125. package/dist/model/GraphObjectTypeSchema.js +22 -23
  126. package/dist/model/GraphOwner.js +19 -20
  127. package/dist/model/GraphRelationship.js +28 -29
  128. package/dist/model/GraphRelationshipPayload.js +19 -20
  129. package/dist/model/GraphRelationshipType.js +31 -32
  130. package/dist/model/GraphSchema.js +27 -28
  131. package/dist/model/GraphTraversalInput.js +19 -20
  132. package/dist/model/Image.js +27 -28
  133. package/dist/model/ImageUploadObject.js +27 -28
  134. package/dist/model/InputPart.js +19 -20
  135. package/dist/model/InputPartMediaType.js +19 -20
  136. package/dist/model/KafkaSettings.js +150 -0
  137. package/dist/model/Link.js +30 -31
  138. package/dist/model/LiveStreamInfo.js +19 -20
  139. package/dist/model/MeetingEvent.js +27 -28
  140. package/dist/model/MeetingEventTimezone.js +19 -20
  141. package/dist/model/MeetingInfo.js +19 -20
  142. package/dist/model/Member.js +19 -20
  143. package/dist/model/MemberGroupCategory.js +19 -20
  144. package/dist/model/MemberList.js +32 -34
  145. package/dist/model/MessageGroup.js +19 -20
  146. package/dist/model/MultipartBody.js +19 -20
  147. package/dist/model/NotificationInput.js +22 -23
  148. package/dist/model/NotificationResponse.js +194 -0
  149. package/dist/model/Objecttype.js +22 -23
  150. package/dist/model/OutParameter.js +126 -0
  151. package/dist/model/Page.js +26 -27
  152. package/dist/model/PageSchema.js +19 -20
  153. package/dist/model/Pageable.js +19 -20
  154. package/dist/model/Parameter.js +126 -0
  155. package/dist/model/Path.js +22 -23
  156. package/dist/model/PaymentAccountObject.js +19 -20
  157. package/dist/model/PaymentIntentInput.js +19 -20
  158. package/dist/model/PaymentIntentResponse.js +19 -20
  159. package/dist/model/PaymentMethod.js +26 -27
  160. package/dist/model/PaymentMethodInput.js +19 -20
  161. package/dist/model/PaymentMethodResponse.js +19 -20
  162. package/dist/model/PaymentMethodsResponse.js +22 -23
  163. package/dist/model/Payout.js +19 -20
  164. package/dist/model/PayoutInput.js +22 -23
  165. package/dist/model/PayoutResponse.js +19 -20
  166. package/dist/model/PhoneNumber.js +19 -20
  167. package/dist/model/Post.js +19 -20
  168. package/dist/model/PrivateMessage.js +19 -20
  169. package/dist/model/PrivateMessageConversation.js +32 -33
  170. package/dist/model/PrivateMessageConversationSchema.js +22 -23
  171. package/dist/model/Profile.js +19 -20
  172. package/dist/model/Profiletype.js +22 -23
  173. package/dist/model/PropertyContainer.js +19 -20
  174. package/dist/model/PurgeDataDefaultResponseValue.js +19 -20
  175. package/dist/model/RelationshipMapping.js +22 -23
  176. package/dist/model/ScreenSchema.js +19 -20
  177. package/dist/model/SimulcastInfo.js +19 -20
  178. package/dist/model/SkinField.js +33 -34
  179. package/dist/model/SocialGroup.js +27 -28
  180. package/dist/model/SocialGroupType.js +19 -20
  181. package/dist/model/Sort.js +19 -20
  182. package/dist/model/SourceTypes.js +19 -20
  183. package/dist/model/StatusUpdate.js +19 -20
  184. package/dist/model/StreetAddress.js +19 -20
  185. package/dist/model/StripeAccount.js +19 -20
  186. package/dist/model/StripeCustomerAccount.js +19 -20
  187. package/dist/model/Template.js +27 -28
  188. package/dist/model/TemplateSchema.js +27 -28
  189. package/dist/model/ThemeMapping.js +19 -20
  190. package/dist/model/ThemeMappingPayload.js +19 -20
  191. package/dist/model/TopicInfoResponse.js +103 -23
  192. package/dist/model/TopicMessageInput.js +122 -0
  193. package/dist/model/TopicSubscriptionResponse.js +150 -0
  194. package/dist/model/Transaction.js +19 -20
  195. package/dist/model/Transfer.js +19 -20
  196. package/dist/model/TransferInput.js +22 -23
  197. package/dist/model/TransferResponse.js +19 -20
  198. package/dist/model/TransferResponsePaymentMethodDetails.js +19 -20
  199. package/dist/model/TraversalRelationResponse.js +22 -23
  200. package/dist/model/User.js +19 -20
  201. package/dist/model/UserDataPayload.js +19 -20
  202. package/dist/model/UserDomain.js +19 -20
  203. package/dist/model/UserInvite.js +19 -20
  204. package/dist/model/UserInviteInput.js +19 -20
  205. package/dist/model/UserSchema.js +19 -20
  206. package/dist/model/UserTag.js +19 -20
  207. package/dist/model/Userid.js +19 -20
  208. package/dist/model/Video.js +27 -28
  209. package/dist/model/VideoLiveUrl.js +30 -31
  210. package/dist/model/VideoSchema.js +27 -28
  211. package/dist/model/VideoUploadObject.js +27 -28
  212. package/dist/model/ZeusPortalCategory.js +19 -20
  213. package/package.json +3 -1
  214. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +0 -135
  215. package/dist/model/InputPartHeaders.js +0 -88
  216. package/dist/model/Notification.js +0 -210
  217. package/dist/model/PurgeDataDefaultResponse.js +0 -144
@@ -0,0 +1,510 @@
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 _CreateFunctionInput = _interopRequireDefault(require("../model/CreateFunctionInput"));
9
+ var _GetFunctionResponse = _interopRequireDefault(require("../model/GetFunctionResponse"));
10
+ var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
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); }
13
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
18
+ * gobodo-api
19
+ * REST Interface for Gobodo API
20
+ *
21
+ * The version of the OpenAPI document: 0.1.59
22
+ * Contact: info@gobodo.io
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
+ /**
30
+ * GraphActionTypes service.
31
+ * @module api/GraphActionTypesApi
32
+ * @version 0.1.59
33
+ */
34
+ var GraphActionTypesApi = exports["default"] = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new GraphActionTypesApi.
37
+ * @alias module:api/GraphActionTypesApi
38
+ * @class
39
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
40
+ * default to {@link module:ApiClient#instance} if unspecified.
41
+ */
42
+ function GraphActionTypesApi(apiClient) {
43
+ _classCallCheck(this, GraphActionTypesApi);
44
+ this.apiClient = apiClient || _ApiClient["default"].instance;
45
+ }
46
+
47
+ /**
48
+ * Callback function to receive the result of the addEndObjectTypes operation.
49
+ * @callback module:api/GraphActionTypesApi~addEndObjectTypesCallback
50
+ * @param {String} error Error message, if any.
51
+ * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
52
+ * @param {String} response The complete HTTP response.
53
+ */
54
+
55
+ /**
56
+ * @param {Number} id
57
+ * @param {Object} opts Optional parameters
58
+ * @param {String} [authorization] The authorization token of the logged in user
59
+ * @param {Number} [cacheduration] The how long the cache entry should persist
60
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
61
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
62
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
63
+ * @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)
64
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
65
+ * @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
66
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
67
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
68
+ * @param {Array.<module:model/PurgeDataDefaultResponseValue>} [purgeDataDefaultResponseValue]
69
+ * @param {module:api/GraphActionTypesApi~addEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
70
+ * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
71
+ */
72
+ return _createClass(GraphActionTypesApi, [{
73
+ key: "addEndObjectTypes",
74
+ value: function addEndObjectTypes(id, opts, callback) {
75
+ opts = opts || {};
76
+ var postBody = opts['purgeDataDefaultResponseValue'];
77
+ // verify the required parameter 'id' is set
78
+ if (id === undefined || id === null) {
79
+ throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes");
80
+ }
81
+ var pathParams = {
82
+ 'id': id
83
+ };
84
+ var queryParams = {};
85
+ var headerParams = {
86
+ 'Authorization': opts['authorization'],
87
+ 'cacheduration': opts['cacheduration'],
88
+ 'cachegroup': opts['cachegroup'],
89
+ 'cachekey': opts['cachekey'],
90
+ 'cachescope': opts['cachescope'],
91
+ 'cacheuser': opts['cacheuser'],
92
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
93
+ 'zeusportal-postas': opts['zeusportalPostas'],
94
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
95
+ 'transactionid': opts['transactionid']
96
+ };
97
+ var formParams = {};
98
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
99
+ var contentTypes = ['application/json'];
100
+ var accepts = ['application/json'];
101
+ var returnType = _PurgeDataDefaultResponseValue["default"];
102
+ return this.apiClient.callApi('/graph/data/actiontype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
103
+ }
104
+
105
+ /**
106
+ * Callback function to receive the result of the addMethodToActionType operation.
107
+ * @callback module:api/GraphActionTypesApi~addMethodToActionTypeCallback
108
+ * @param {String} error Error message, if any.
109
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
110
+ * @param {String} response The complete HTTP response.
111
+ */
112
+
113
+ /**
114
+ * Adds a method to an action type
115
+ * Adds a method to an action type
116
+ * @param {Number} actiontypeid
117
+ * @param {module:model/CreateFunctionInput} createFunctionInput
118
+ * @param {Object} opts Optional parameters
119
+ * @param {String} [authorization] The authorization token of the logged in user
120
+ * @param {Number} [cacheduration] The how long the cache entry should persist
121
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
122
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
123
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
124
+ * @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)
125
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
126
+ * @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
127
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
128
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
129
+ * @param {module:api/GraphActionTypesApi~addMethodToActionTypeCallback} callback The callback function, accepting three arguments: error, data, response
130
+ * data is of type: {@link module:model/GetFunctionResponse}
131
+ */
132
+ }, {
133
+ key: "addMethodToActionType",
134
+ value: function addMethodToActionType(actiontypeid, createFunctionInput, opts, callback) {
135
+ opts = opts || {};
136
+ var postBody = createFunctionInput;
137
+ // verify the required parameter 'actiontypeid' is set
138
+ if (actiontypeid === undefined || actiontypeid === null) {
139
+ throw new Error("Missing the required parameter 'actiontypeid' when calling addMethodToActionType");
140
+ }
141
+ // verify the required parameter 'createFunctionInput' is set
142
+ if (createFunctionInput === undefined || createFunctionInput === null) {
143
+ throw new Error("Missing the required parameter 'createFunctionInput' when calling addMethodToActionType");
144
+ }
145
+ var pathParams = {
146
+ 'actiontypeid': actiontypeid
147
+ };
148
+ var queryParams = {};
149
+ var headerParams = {
150
+ 'Authorization': opts['authorization'],
151
+ 'cacheduration': opts['cacheduration'],
152
+ 'cachegroup': opts['cachegroup'],
153
+ 'cachekey': opts['cachekey'],
154
+ 'cachescope': opts['cachescope'],
155
+ 'cacheuser': opts['cacheuser'],
156
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
157
+ 'zeusportal-postas': opts['zeusportalPostas'],
158
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
159
+ 'transactionid': opts['transactionid']
160
+ };
161
+ var formParams = {};
162
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
163
+ var contentTypes = [];
164
+ var accepts = ['application/json'];
165
+ var returnType = _GetFunctionResponse["default"];
166
+ return this.apiClient.callApi('/graph/data/functions/actiontype/{actiontypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
167
+ }
168
+
169
+ /**
170
+ * Callback function to receive the result of the get5 operation.
171
+ * @callback module:api/GraphActionTypesApi~get5Callback
172
+ * @param {String} error Error message, if any.
173
+ * @param data This operation does not return a value.
174
+ * @param {String} response The complete HTTP response.
175
+ */
176
+
177
+ /**
178
+ * Root for the API
179
+ * @param {Object} opts Optional parameters
180
+ * @param {String} [authorization] The authorization token of the logged in user
181
+ * @param {Number} [cacheduration] The how long the cache entry should persist
182
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
183
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
184
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
185
+ * @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)
186
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
187
+ * @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
188
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
189
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
190
+ * @param {module:api/GraphActionTypesApi~get5Callback} callback The callback function, accepting three arguments: error, data, response
191
+ */
192
+ }, {
193
+ key: "get5",
194
+ value: function get5(opts, callback) {
195
+ opts = opts || {};
196
+ var postBody = null;
197
+ var pathParams = {};
198
+ var queryParams = {};
199
+ var headerParams = {
200
+ 'Authorization': opts['authorization'],
201
+ 'cacheduration': opts['cacheduration'],
202
+ 'cachegroup': opts['cachegroup'],
203
+ 'cachekey': opts['cachekey'],
204
+ 'cachescope': opts['cachescope'],
205
+ 'cacheuser': opts['cacheuser'],
206
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
207
+ 'zeusportal-postas': opts['zeusportalPostas'],
208
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
209
+ 'transactionid': opts['transactionid']
210
+ };
211
+ var formParams = {};
212
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
213
+ var contentTypes = [];
214
+ var accepts = ['*/*'];
215
+ var returnType = null;
216
+ return this.apiClient.callApi('/graph/data/actiontype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
217
+ }
218
+
219
+ /**
220
+ * Callback function to receive the result of the get6 operation.
221
+ * @callback module:api/GraphActionTypesApi~get6Callback
222
+ * @param {String} error Error message, if any.
223
+ * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
224
+ * @param {String} response The complete HTTP response.
225
+ */
226
+
227
+ /**
228
+ * Gets and object by id
229
+ * @param {Number} id
230
+ * @param {Object} opts Optional parameters
231
+ * @param {String} [authorization] The authorization token of the logged in user
232
+ * @param {Number} [cacheduration] The how long the cache entry should persist
233
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
234
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
235
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
236
+ * @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)
237
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
238
+ * @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
239
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
240
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
241
+ * @param {module:api/GraphActionTypesApi~get6Callback} callback The callback function, accepting three arguments: error, data, response
242
+ * data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
243
+ */
244
+ }, {
245
+ key: "get6",
246
+ value: function get6(id, opts, callback) {
247
+ opts = opts || {};
248
+ var postBody = null;
249
+ // verify the required parameter 'id' is set
250
+ if (id === undefined || id === null) {
251
+ throw new Error("Missing the required parameter 'id' when calling get6");
252
+ }
253
+ var pathParams = {
254
+ 'id': id
255
+ };
256
+ var queryParams = {};
257
+ var headerParams = {
258
+ 'Authorization': opts['authorization'],
259
+ 'cacheduration': opts['cacheduration'],
260
+ 'cachegroup': opts['cachegroup'],
261
+ 'cachekey': opts['cachekey'],
262
+ 'cachescope': opts['cachescope'],
263
+ 'cacheuser': opts['cacheuser'],
264
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
265
+ 'zeusportal-postas': opts['zeusportalPostas'],
266
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
267
+ 'transactionid': opts['transactionid']
268
+ };
269
+ var formParams = {};
270
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
271
+ var contentTypes = [];
272
+ var accepts = ['application/json'];
273
+ var returnType = {
274
+ 'String': _PurgeDataDefaultResponseValue["default"]
275
+ };
276
+ return this.apiClient.callApi('/graph/data/actiontype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
277
+ }
278
+
279
+ /**
280
+ * Callback function to receive the result of the getActionTypeMethods operation.
281
+ * @callback module:api/GraphActionTypesApi~getActionTypeMethodsCallback
282
+ * @param {String} error Error message, if any.
283
+ * @param {module:model/GetFunctionResponse} data The data returned by the service call.
284
+ * @param {String} response The complete HTTP response.
285
+ */
286
+
287
+ /**
288
+ * Retrieves the methods associated with the ActionType
289
+ * Retrieves the methods associated with the Action Type
290
+ * @param {Number} actiontypeid
291
+ * @param {Object} opts Optional parameters
292
+ * @param {String} [authorization] The authorization token of the logged in user
293
+ * @param {Number} [cacheduration] The how long the cache entry should persist
294
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
295
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
296
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
297
+ * @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)
298
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
299
+ * @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
300
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
301
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
302
+ * @param {module:api/GraphActionTypesApi~getActionTypeMethodsCallback} callback The callback function, accepting three arguments: error, data, response
303
+ * data is of type: {@link module:model/GetFunctionResponse}
304
+ */
305
+ }, {
306
+ key: "getActionTypeMethods",
307
+ value: function getActionTypeMethods(actiontypeid, opts, callback) {
308
+ opts = opts || {};
309
+ var postBody = null;
310
+ // verify the required parameter 'actiontypeid' is set
311
+ if (actiontypeid === undefined || actiontypeid === null) {
312
+ throw new Error("Missing the required parameter 'actiontypeid' when calling getActionTypeMethods");
313
+ }
314
+ var pathParams = {
315
+ 'actiontypeid': actiontypeid
316
+ };
317
+ var queryParams = {};
318
+ var headerParams = {
319
+ 'Authorization': opts['authorization'],
320
+ 'cacheduration': opts['cacheduration'],
321
+ 'cachegroup': opts['cachegroup'],
322
+ 'cachekey': opts['cachekey'],
323
+ 'cachescope': opts['cachescope'],
324
+ 'cacheuser': opts['cacheuser'],
325
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
326
+ 'zeusportal-postas': opts['zeusportalPostas'],
327
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
328
+ 'transactionid': opts['transactionid']
329
+ };
330
+ var formParams = {};
331
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
332
+ var contentTypes = [];
333
+ var accepts = ['application/json'];
334
+ var returnType = _GetFunctionResponse["default"];
335
+ return this.apiClient.callApi('/graph/data/functions/actiontype/{actiontypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
336
+ }
337
+
338
+ /**
339
+ * Callback function to receive the result of the getEndObjectTypes operation.
340
+ * @callback module:api/GraphActionTypesApi~getEndObjectTypesCallback
341
+ * @param {String} error Error message, if any.
342
+ * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
343
+ * @param {String} response The complete HTTP response.
344
+ */
345
+
346
+ /**
347
+ * @param {Number} id
348
+ * @param {Object} opts Optional parameters
349
+ * @param {String} [authorization] The authorization token of the logged in user
350
+ * @param {Number} [cacheduration] The how long the cache entry should persist
351
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
352
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
353
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
354
+ * @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)
355
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
356
+ * @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
357
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
358
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
359
+ * @param {module:api/GraphActionTypesApi~getEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
360
+ * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
361
+ */
362
+ }, {
363
+ key: "getEndObjectTypes",
364
+ value: function getEndObjectTypes(id, opts, callback) {
365
+ opts = opts || {};
366
+ var postBody = null;
367
+ // verify the required parameter 'id' is set
368
+ if (id === undefined || id === null) {
369
+ throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes");
370
+ }
371
+ var pathParams = {
372
+ 'id': id
373
+ };
374
+ var queryParams = {};
375
+ var headerParams = {
376
+ 'Authorization': opts['authorization'],
377
+ 'cacheduration': opts['cacheduration'],
378
+ 'cachegroup': opts['cachegroup'],
379
+ 'cachekey': opts['cachekey'],
380
+ 'cachescope': opts['cachescope'],
381
+ 'cacheuser': opts['cacheuser'],
382
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
383
+ 'zeusportal-postas': opts['zeusportalPostas'],
384
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
385
+ 'transactionid': opts['transactionid']
386
+ };
387
+ var formParams = {};
388
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
389
+ var contentTypes = [];
390
+ var accepts = ['application/json'];
391
+ var returnType = _PurgeDataDefaultResponseValue["default"];
392
+ return this.apiClient.callApi('/graph/data/actiontype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
393
+ }
394
+
395
+ /**
396
+ * Callback function to receive the result of the getFields operation.
397
+ * @callback module:api/GraphActionTypesApi~getFieldsCallback
398
+ * @param {String} error Error message, if any.
399
+ * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
400
+ * @param {String} response The complete HTTP response.
401
+ */
402
+
403
+ /**
404
+ * @param {Number} id
405
+ * @param {Object} opts Optional parameters
406
+ * @param {String} [authorization] The authorization token of the logged in user
407
+ * @param {Number} [cacheduration] The how long the cache entry should persist
408
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
409
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
410
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
411
+ * @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)
412
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
413
+ * @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
414
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
415
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
416
+ * @param {module:api/GraphActionTypesApi~getFieldsCallback} callback The callback function, accepting three arguments: error, data, response
417
+ * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
418
+ */
419
+ }, {
420
+ key: "getFields",
421
+ value: function getFields(id, opts, callback) {
422
+ opts = opts || {};
423
+ var postBody = null;
424
+ // verify the required parameter 'id' is set
425
+ if (id === undefined || id === null) {
426
+ throw new Error("Missing the required parameter 'id' when calling getFields");
427
+ }
428
+ var pathParams = {
429
+ 'id': id
430
+ };
431
+ var queryParams = {};
432
+ var headerParams = {
433
+ 'Authorization': opts['authorization'],
434
+ 'cacheduration': opts['cacheduration'],
435
+ 'cachegroup': opts['cachegroup'],
436
+ 'cachekey': opts['cachekey'],
437
+ 'cachescope': opts['cachescope'],
438
+ 'cacheuser': opts['cacheuser'],
439
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
440
+ 'zeusportal-postas': opts['zeusportalPostas'],
441
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
442
+ 'transactionid': opts['transactionid']
443
+ };
444
+ var formParams = {};
445
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
446
+ var contentTypes = [];
447
+ var accepts = ['application/json'];
448
+ var returnType = _PurgeDataDefaultResponseValue["default"];
449
+ return this.apiClient.callApi('/graph/data/actiontype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
450
+ }
451
+
452
+ /**
453
+ * Callback function to receive the result of the updateTemplate operation.
454
+ * @callback module:api/GraphActionTypesApi~updateTemplateCallback
455
+ * @param {String} error Error message, if any.
456
+ * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
457
+ * @param {String} response The complete HTTP response.
458
+ */
459
+
460
+ /**
461
+ * @param {Number} id
462
+ * @param {Object} opts Optional parameters
463
+ * @param {String} [authorization] The authorization token of the logged in user
464
+ * @param {Number} [cacheduration] The how long the cache entry should persist
465
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
466
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
467
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
468
+ * @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)
469
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
470
+ * @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
471
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
472
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
473
+ * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
474
+ * @param {module:api/GraphActionTypesApi~updateTemplateCallback} callback The callback function, accepting three arguments: error, data, response
475
+ * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
476
+ */
477
+ }, {
478
+ key: "updateTemplate",
479
+ value: function updateTemplate(id, opts, callback) {
480
+ opts = opts || {};
481
+ var postBody = opts['requestBody'];
482
+ // verify the required parameter 'id' is set
483
+ if (id === undefined || id === null) {
484
+ throw new Error("Missing the required parameter 'id' when calling updateTemplate");
485
+ }
486
+ var pathParams = {
487
+ 'id': id
488
+ };
489
+ var queryParams = {};
490
+ var headerParams = {
491
+ 'Authorization': opts['authorization'],
492
+ 'cacheduration': opts['cacheduration'],
493
+ 'cachegroup': opts['cachegroup'],
494
+ 'cachekey': opts['cachekey'],
495
+ 'cachescope': opts['cachescope'],
496
+ 'cacheuser': opts['cacheuser'],
497
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
498
+ 'zeusportal-postas': opts['zeusportalPostas'],
499
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
500
+ 'transactionid': opts['transactionid']
501
+ };
502
+ var formParams = {};
503
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
504
+ var contentTypes = ['application/json'];
505
+ var accepts = ['application/json'];
506
+ var returnType = _PurgeDataDefaultResponseValue["default"];
507
+ return this.apiClient.callApi('/graph/data/actiontype/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
508
+ }
509
+ }]);
510
+ }();
@@ -7,28 +7,28 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _GraphAction = _interopRequireDefault(require("../model/GraphAction"));
9
9
  var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
- 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); } }
14
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
- 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); } /**
17
- * gobodo-api
18
- * REST Interface for Gobodo API
19
- *
20
- * The version of the OpenAPI document: 0.1.56
21
- * Contact: info@gobodo.io
22
- *
23
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
- * https://openapi-generator.tech
25
- * Do not edit the class manually.
26
- *
27
- */
12
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
13
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
14
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
17
+ * gobodo-api
18
+ * REST Interface for Gobodo API
19
+ *
20
+ * The version of the OpenAPI document: 0.1.59
21
+ * Contact: info@gobodo.io
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
28
28
  /**
29
29
  * GraphActions service.
30
30
  * @module api/GraphActionsApi
31
- * @version 0.1.56
31
+ * @version 0.1.59
32
32
  */
33
33
  var GraphActionsApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -68,7 +68,7 @@ var GraphActionsApi = exports["default"] = /*#__PURE__*/function () {
68
68
  * @param {module:api/GraphActionsApi~createActionsCallback} callback The callback function, accepting three arguments: error, data, response
69
69
  * data is of type: {@link Array.<module:model/GraphAction>}
70
70
  */
71
- _createClass(GraphActionsApi, [{
71
+ return _createClass(GraphActionsApi, [{
72
72
  key: "createActions",
73
73
  value: function createActions(id, graphAction, opts, callback) {
74
74
  opts = opts || {};
@@ -712,5 +712,4 @@ var GraphActionsApi = exports["default"] = /*#__PURE__*/function () {
712
712
  return this.apiClient.callApi('/graph/data/action/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
713
713
  }
714
714
  }]);
715
- return GraphActionsApi;
716
715
  }();