@gobodo/gobodo-api 0.1.64 → 0.1.66

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 (227) hide show
  1. package/README.md +17 -2
  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 +2 -2
  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 +2 -2
  24. package/dist/api/GeocodeApi.js +2 -2
  25. package/dist/api/GoogleApi.js +2 -2
  26. package/dist/api/GraphActionTypesApi.js +2 -2
  27. package/dist/api/GraphActionsApi.js +2 -2
  28. package/dist/api/GraphObjectTypesApi.js +2 -2
  29. package/dist/api/GraphObjectsApi.js +2 -2
  30. package/dist/api/GraphRelationshipTypesApi.js +2 -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 +2 -2
  44. package/dist/api/PagesApi.js +2 -2
  45. package/dist/api/PhoneNumbersApi.js +2 -2
  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/RestApplicationsApi.js +328 -0
  50. package/dist/api/ScreensApi.js +2 -2
  51. package/dist/api/SitesApi.js +327 -0
  52. package/dist/api/SocialIntegrationApi.js +2 -2
  53. package/dist/api/StripeAccountsApi.js +2 -2
  54. package/dist/api/TagsApi.js +2 -2
  55. package/dist/api/TemplatesApi.js +2 -2
  56. package/dist/api/ThemeMappingsApi.js +2 -2
  57. package/dist/api/TopicsApi.js +2 -2
  58. package/dist/api/TransactionsApi.js +2 -2
  59. package/dist/api/TwitterApi.js +2 -2
  60. package/dist/api/UserTagsApi.js +2 -2
  61. package/dist/api/UsersApi.js +2 -2
  62. package/dist/api/UtilsApi.js +2 -2
  63. package/dist/api/VideosApi.js +2 -2
  64. package/dist/index.js +49 -0
  65. package/dist/model/APIClient.js +19 -19
  66. package/dist/model/AccountSessionInput.js +2 -2
  67. package/dist/model/AccountSessionResponse.js +2 -2
  68. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  69. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  70. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
  71. package/dist/model/Article.js +21 -21
  72. package/dist/model/AuthResponse.js +2 -2
  73. package/dist/model/AwsSettings.js +2 -2
  74. package/dist/model/Balance.js +19 -19
  75. package/dist/model/BalanceDetails.js +2 -2
  76. package/dist/model/BalanceResponse.js +2 -2
  77. package/dist/model/BankAccountInfo.js +2 -2
  78. package/dist/model/CardInfo.js +2 -2
  79. package/dist/model/Comment.js +9 -9
  80. package/dist/model/Coordinates.js +2 -2
  81. package/dist/model/CreateAccountResponse.js +2 -2
  82. package/dist/model/CreateFunctionInput.js +2 -2
  83. package/dist/model/CreateStripeAccountInput.js +2 -2
  84. package/dist/model/CreateStripeCustomerInput.js +2 -2
  85. package/dist/model/CreateTopicInput.js +2 -2
  86. package/dist/model/CreateTopicListenerInput.js +2 -2
  87. package/dist/model/CurrencySettings.js +29 -6
  88. package/dist/model/CustomerResponse.js +2 -2
  89. package/dist/model/DataObject.js +2 -2
  90. package/dist/model/DataSheetImport.js +2 -2
  91. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  92. package/dist/model/DataSheetImportSummary.js +2 -2
  93. package/dist/model/DeviceRegistrationRequest.js +2 -2
  94. package/dist/model/Document.js +21 -21
  95. package/dist/model/DocumentPart.js +9 -9
  96. package/dist/model/DocumentPartType.js +9 -9
  97. package/dist/model/DocumentType.js +14 -14
  98. package/dist/model/EmailAddress.js +13 -13
  99. package/dist/model/FieldMapping.js +2 -2
  100. package/dist/model/Fields.js +14 -14
  101. package/dist/model/File.js +14 -14
  102. package/dist/model/FileAttachmentUploadObject.js +14 -14
  103. package/dist/model/Filter.js +2 -2
  104. package/dist/model/FilterManager.js +2 -2
  105. package/dist/model/Form.js +13 -13
  106. package/dist/model/FormSection.js +2 -2
  107. package/dist/model/FormSubmission.js +14 -14
  108. package/dist/model/FunctionConfigInput.js +2 -2
  109. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  110. package/dist/model/FunctionInput.js +2 -2
  111. package/dist/model/FunctionOutput.js +2 -2
  112. package/dist/model/Geocode.js +2 -2
  113. package/dist/model/GeocodePayload.js +2 -2
  114. package/dist/model/GeolocationInput.js +2 -2
  115. package/dist/model/GetFunctionConfig.js +2 -2
  116. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  117. package/dist/model/GetFunctionResponse.js +2 -2
  118. package/dist/model/GoogleCloudSettings.js +2 -2
  119. package/dist/model/Graph.js +37 -37
  120. package/dist/model/GraphAction.js +2 -2
  121. package/dist/model/GraphDatabaseService.js +2 -2
  122. package/dist/model/GraphGeocode.js +2 -2
  123. package/dist/model/GraphIteratorEntryPart.js +2 -2
  124. package/dist/model/GraphObject.js +2 -2
  125. package/dist/model/GraphObjectPayload.js +2 -2
  126. package/dist/model/GraphObjectSchema.js +11 -11
  127. package/dist/model/GraphObjectType.js +10 -10
  128. package/dist/model/GraphObjectTypeResponse.js +64 -18
  129. package/dist/model/GraphObjectTypeSchema.js +10 -10
  130. package/dist/model/GraphOwner.js +2 -2
  131. package/dist/model/GraphRelationship.js +2 -2
  132. package/dist/model/GraphRelationshipPayload.js +2 -2
  133. package/dist/model/GraphRelationshipType.js +2 -2
  134. package/dist/model/GraphRelationshipTypeResponse.js +84 -30
  135. package/dist/model/GraphSchema.js +10 -10
  136. package/dist/model/GraphTraversalInput.js +2 -2
  137. package/dist/model/Image.js +14 -14
  138. package/dist/model/ImageUploadObject.js +14 -14
  139. package/dist/model/InputPart.js +12 -12
  140. package/dist/model/InputPartMediaType.js +2 -2
  141. package/dist/model/KafkaSettings.js +2 -2
  142. package/dist/model/Link.js +2 -2
  143. package/dist/model/LiveStreamInfo.js +2 -2
  144. package/dist/model/MeetingEvent.js +9 -9
  145. package/dist/model/MeetingEventTimezone.js +2 -2
  146. package/dist/model/MeetingInfo.js +14 -14
  147. package/dist/model/Member.js +9 -9
  148. package/dist/model/MemberGroupCategory.js +2 -2
  149. package/dist/model/MemberList.js +2 -2
  150. package/dist/model/MessageGroup.js +2 -2
  151. package/dist/model/MultipartBody.js +2 -2
  152. package/dist/model/NotificationInput.js +2 -2
  153. package/dist/model/NotificationResponse.js +2 -2
  154. package/dist/model/NumberSettings.js +28 -5
  155. package/dist/model/ObjectSettings.js +28 -5
  156. package/dist/model/Objecttype.js +10 -10
  157. package/dist/model/OutParameter.js +2 -2
  158. package/dist/model/Page.js +9 -9
  159. package/dist/model/PageSchema.js +13 -13
  160. package/dist/model/Pageable.js +2 -2
  161. package/dist/model/Parameter.js +2 -2
  162. package/dist/model/Path.js +2 -2
  163. package/dist/model/PaymentAccountObject.js +2 -2
  164. package/dist/model/PaymentIntentInput.js +2 -2
  165. package/dist/model/PaymentIntentResponse.js +2 -2
  166. package/dist/model/PaymentMethod.js +2 -2
  167. package/dist/model/PaymentMethodInput.js +2 -2
  168. package/dist/model/PaymentMethodResponse.js +2 -2
  169. package/dist/model/PaymentMethodsResponse.js +2 -2
  170. package/dist/model/Payout.js +2 -2
  171. package/dist/model/PayoutInput.js +2 -2
  172. package/dist/model/PayoutResponse.js +2 -2
  173. package/dist/model/PhoneNumber.js +2 -2
  174. package/dist/model/Post.js +2 -2
  175. package/dist/model/PrivateMessage.js +2 -2
  176. package/dist/model/PrivateMessageConversation.js +36 -36
  177. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  178. package/dist/model/Profile.js +2 -2
  179. package/dist/model/Profiletype.js +2 -2
  180. package/dist/model/PropertyContainer.js +2 -2
  181. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  182. package/dist/model/RelationshipMapping.js +2 -2
  183. package/dist/model/RestApplicationInput.js +160 -0
  184. package/dist/model/RestApplicationResponse.js +174 -0
  185. package/dist/model/ScreenSchema.js +2 -2
  186. package/dist/model/SimulcastInfo.js +2 -2
  187. package/dist/model/SiteInput.js +156 -0
  188. package/dist/model/SiteResponse.js +190 -0
  189. package/dist/model/SiteTypeResponse.js +146 -0
  190. package/dist/model/SkinField.js +14 -14
  191. package/dist/model/SkinFieldResponse.js +65 -6
  192. package/dist/model/SocialGroup.js +10 -10
  193. package/dist/model/SocialGroupType.js +2 -2
  194. package/dist/model/Sort.js +2 -2
  195. package/dist/model/SourceTypes.js +2 -2
  196. package/dist/model/StatusUpdate.js +2 -2
  197. package/dist/model/StreetAddress.js +2 -2
  198. package/dist/model/StripeAccount.js +2 -2
  199. package/dist/model/StripeCustomerAccount.js +2 -2
  200. package/dist/model/Template.js +2 -2
  201. package/dist/model/TemplateResponse.js +2 -2
  202. package/dist/model/TemplateSchema.js +2 -2
  203. package/dist/model/ThemeMapping.js +2 -2
  204. package/dist/model/ThemeMappingPayload.js +2 -2
  205. package/dist/model/TopicInfoResponse.js +2 -2
  206. package/dist/model/TopicMessageInput.js +2 -2
  207. package/dist/model/TopicSubscriptionResponse.js +2 -2
  208. package/dist/model/Transaction.js +2 -2
  209. package/dist/model/Transfer.js +2 -2
  210. package/dist/model/TransferInput.js +2 -2
  211. package/dist/model/TransferResponse.js +2 -2
  212. package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
  213. package/dist/model/TraversalRelationResponse.js +2 -2
  214. package/dist/model/User.js +9 -9
  215. package/dist/model/UserDataPayload.js +9 -9
  216. package/dist/model/UserDomain.js +2 -2
  217. package/dist/model/UserInvite.js +2 -2
  218. package/dist/model/UserInviteInput.js +2 -2
  219. package/dist/model/UserSchema.js +9 -9
  220. package/dist/model/UserTag.js +2 -2
  221. package/dist/model/Userid.js +2 -2
  222. package/dist/model/Video.js +26 -26
  223. package/dist/model/VideoLiveUrl.js +13 -13
  224. package/dist/model/VideoSchema.js +34 -34
  225. package/dist/model/VideoUploadObject.js +26 -26
  226. package/dist/model/ZeusPortalCategory.js +2 -2
  227. package/package.json +1 -1
@@ -0,0 +1,327 @@
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 _SiteResponse = _interopRequireDefault(require("../model/SiteResponse"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ 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); }
11
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
12
+ 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); } }
13
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ 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); } /**
16
+ * gobodo-api
17
+ * REST Interface for Gobodo API
18
+ *
19
+ * The version of the OpenAPI document: 0.1.66
20
+ * Contact: info@gobodo.io
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
+ /**
28
+ * Sites service.
29
+ * @module api/SitesApi
30
+ * @version 0.1.66
31
+ */
32
+ var SitesApi = exports["default"] = /*#__PURE__*/function () {
33
+ /**
34
+ * Constructs a new SitesApi.
35
+ * @alias module:api/SitesApi
36
+ * @class
37
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
38
+ * default to {@link module:ApiClient#instance} if unspecified.
39
+ */
40
+ function SitesApi(apiClient) {
41
+ _classCallCheck(this, SitesApi);
42
+ this.apiClient = apiClient || _ApiClient["default"].instance;
43
+ }
44
+
45
+ /**
46
+ * Callback function to receive the result of the createSite operation.
47
+ * @callback module:api/SitesApi~createSiteCallback
48
+ * @param {String} error Error message, if any.
49
+ * @param {module:model/SiteResponse} data The data returned by the service call.
50
+ * @param {String} response The complete HTTP response.
51
+ */
52
+
53
+ /**
54
+ * Create a site
55
+ * @param {Object} opts Optional parameters
56
+ * @param {String} [authorization] The authorization token of the logged in user
57
+ * @param {Number} [cacheduration] The how long the cache entry should persist
58
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
59
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
60
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
61
+ * @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)
62
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
63
+ * @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
64
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
65
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
66
+ * @param {module:api/SitesApi~createSiteCallback} callback The callback function, accepting three arguments: error, data, response
67
+ * data is of type: {@link module:model/SiteResponse}
68
+ */
69
+ return _createClass(SitesApi, [{
70
+ key: "createSite",
71
+ value: function createSite(opts, callback) {
72
+ opts = opts || {};
73
+ var postBody = null;
74
+ var pathParams = {};
75
+ var queryParams = {};
76
+ var headerParams = {
77
+ 'Authorization': opts['authorization'],
78
+ 'cacheduration': opts['cacheduration'],
79
+ 'cachegroup': opts['cachegroup'],
80
+ 'cachekey': opts['cachekey'],
81
+ 'cachescope': opts['cachescope'],
82
+ 'cacheuser': opts['cacheuser'],
83
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
84
+ 'zeusportal-postas': opts['zeusportalPostas'],
85
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
86
+ 'transactionid': opts['transactionid']
87
+ };
88
+ var formParams = {};
89
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
90
+ var contentTypes = [];
91
+ var accepts = ['application/json'];
92
+ var returnType = _SiteResponse["default"];
93
+ return this.apiClient.callApi('/graph/data/sites', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
94
+ }
95
+
96
+ /**
97
+ * Callback function to receive the result of the deleteSite operation.
98
+ * @callback module:api/SitesApi~deleteSiteCallback
99
+ * @param {String} error Error message, if any.
100
+ * @param data This operation does not return a value.
101
+ * @param {String} response The complete HTTP response.
102
+ */
103
+
104
+ /**
105
+ * Delete a site
106
+ * @param {Number} id
107
+ * @param {Object} opts Optional parameters
108
+ * @param {String} [authorization] The authorization token of the logged in user
109
+ * @param {Number} [cacheduration] The how long the cache entry should persist
110
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
111
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
112
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
113
+ * @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)
114
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
115
+ * @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
116
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
117
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
118
+ * @param {module:api/SitesApi~deleteSiteCallback} callback The callback function, accepting three arguments: error, data, response
119
+ */
120
+ }, {
121
+ key: "deleteSite",
122
+ value: function deleteSite(id, opts, callback) {
123
+ opts = opts || {};
124
+ var postBody = null;
125
+ // verify the required parameter 'id' is set
126
+ if (id === undefined || id === null) {
127
+ throw new Error("Missing the required parameter 'id' when calling deleteSite");
128
+ }
129
+ var pathParams = {
130
+ 'id': id
131
+ };
132
+ var queryParams = {};
133
+ var headerParams = {
134
+ 'Authorization': opts['authorization'],
135
+ 'cacheduration': opts['cacheduration'],
136
+ 'cachegroup': opts['cachegroup'],
137
+ 'cachekey': opts['cachekey'],
138
+ 'cachescope': opts['cachescope'],
139
+ 'cacheuser': opts['cacheuser'],
140
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
141
+ 'zeusportal-postas': opts['zeusportalPostas'],
142
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
143
+ 'transactionid': opts['transactionid']
144
+ };
145
+ var formParams = {};
146
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
147
+ var contentTypes = [];
148
+ var accepts = [];
149
+ var returnType = null;
150
+ return this.apiClient.callApi('/graph/data/sites/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
151
+ }
152
+
153
+ /**
154
+ * Callback function to receive the result of the getSiteById operation.
155
+ * @callback module:api/SitesApi~getSiteByIdCallback
156
+ * @param {String} error Error message, if any.
157
+ * @param {module:model/SiteResponse} data The data returned by the service call.
158
+ * @param {String} response The complete HTTP response.
159
+ */
160
+
161
+ /**
162
+ * Get a site by id
163
+ * @param {Number} id
164
+ * @param {Object} opts Optional parameters
165
+ * @param {String} [authorization] The authorization token of the logged in user
166
+ * @param {Number} [cacheduration] The how long the cache entry should persist
167
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
168
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
169
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
170
+ * @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)
171
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
172
+ * @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
173
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
174
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
175
+ * @param {module:api/SitesApi~getSiteByIdCallback} callback The callback function, accepting three arguments: error, data, response
176
+ * data is of type: {@link module:model/SiteResponse}
177
+ */
178
+ }, {
179
+ key: "getSiteById",
180
+ value: function getSiteById(id, opts, callback) {
181
+ opts = opts || {};
182
+ var postBody = null;
183
+ // verify the required parameter 'id' is set
184
+ if (id === undefined || id === null) {
185
+ throw new Error("Missing the required parameter 'id' when calling getSiteById");
186
+ }
187
+ var pathParams = {
188
+ 'id': id
189
+ };
190
+ var queryParams = {};
191
+ var headerParams = {
192
+ 'Authorization': opts['authorization'],
193
+ 'cacheduration': opts['cacheduration'],
194
+ 'cachegroup': opts['cachegroup'],
195
+ 'cachekey': opts['cachekey'],
196
+ 'cachescope': opts['cachescope'],
197
+ 'cacheuser': opts['cacheuser'],
198
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
199
+ 'zeusportal-postas': opts['zeusportalPostas'],
200
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
201
+ 'transactionid': opts['transactionid']
202
+ };
203
+ var formParams = {};
204
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
205
+ var contentTypes = [];
206
+ var accepts = ['application/json'];
207
+ var returnType = _SiteResponse["default"];
208
+ return this.apiClient.callApi('/graph/data/sites/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
209
+ }
210
+
211
+ /**
212
+ * Callback function to receive the result of the getSites operation.
213
+ * @callback module:api/SitesApi~getSitesCallback
214
+ * @param {String} error Error message, if any.
215
+ * @param {Array.<module:model/SiteResponse>} data The data returned by the service call.
216
+ * @param {String} response The complete HTTP response.
217
+ */
218
+
219
+ /**
220
+ * Get all sites
221
+ * @param {Object} opts Optional parameters
222
+ * @param {String} [authorization] The authorization token of the logged in user
223
+ * @param {Number} [cacheduration] The how long the cache entry should persist
224
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
225
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
226
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
227
+ * @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)
228
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
229
+ * @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
230
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
231
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
232
+ * @param {Number} [sitetypeid]
233
+ * @param {Number} [startindex]
234
+ * @param {Number} [count]
235
+ * @param {module:api/SitesApi~getSitesCallback} callback The callback function, accepting three arguments: error, data, response
236
+ * data is of type: {@link Array.<module:model/SiteResponse>}
237
+ */
238
+ }, {
239
+ key: "getSites",
240
+ value: function getSites(opts, callback) {
241
+ opts = opts || {};
242
+ var postBody = null;
243
+ var pathParams = {};
244
+ var queryParams = {
245
+ 'sitetypeid': opts['sitetypeid'],
246
+ 'startindex': opts['startindex'],
247
+ 'count': opts['count']
248
+ };
249
+ var headerParams = {
250
+ 'Authorization': opts['authorization'],
251
+ 'cacheduration': opts['cacheduration'],
252
+ 'cachegroup': opts['cachegroup'],
253
+ 'cachekey': opts['cachekey'],
254
+ 'cachescope': opts['cachescope'],
255
+ 'cacheuser': opts['cacheuser'],
256
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
257
+ 'zeusportal-postas': opts['zeusportalPostas'],
258
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
259
+ 'transactionid': opts['transactionid']
260
+ };
261
+ var formParams = {};
262
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
263
+ var contentTypes = [];
264
+ var accepts = ['application/json'];
265
+ var returnType = [_SiteResponse["default"]];
266
+ return this.apiClient.callApi('/graph/data/sites', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
267
+ }
268
+
269
+ /**
270
+ * Callback function to receive the result of the updateSite operation.
271
+ * @callback module:api/SitesApi~updateSiteCallback
272
+ * @param {String} error Error message, if any.
273
+ * @param {module:model/SiteResponse} data The data returned by the service call.
274
+ * @param {String} response The complete HTTP response.
275
+ */
276
+
277
+ /**
278
+ * Update a site
279
+ * @param {Number} id
280
+ * @param {Object} opts Optional parameters
281
+ * @param {String} [authorization] The authorization token of the logged in user
282
+ * @param {Number} [cacheduration] The how long the cache entry should persist
283
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
284
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
285
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
286
+ * @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)
287
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
288
+ * @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
289
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
290
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
291
+ * @param {module:api/SitesApi~updateSiteCallback} callback The callback function, accepting three arguments: error, data, response
292
+ * data is of type: {@link module:model/SiteResponse}
293
+ */
294
+ }, {
295
+ key: "updateSite",
296
+ value: function updateSite(id, opts, callback) {
297
+ opts = opts || {};
298
+ var postBody = null;
299
+ // verify the required parameter 'id' is set
300
+ if (id === undefined || id === null) {
301
+ throw new Error("Missing the required parameter 'id' when calling updateSite");
302
+ }
303
+ var pathParams = {
304
+ 'id': id
305
+ };
306
+ var queryParams = {};
307
+ var headerParams = {
308
+ 'Authorization': opts['authorization'],
309
+ 'cacheduration': opts['cacheduration'],
310
+ 'cachegroup': opts['cachegroup'],
311
+ 'cachekey': opts['cachekey'],
312
+ 'cachescope': opts['cachescope'],
313
+ 'cacheuser': opts['cacheuser'],
314
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
315
+ 'zeusportal-postas': opts['zeusportalPostas'],
316
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
317
+ 'transactionid': opts['transactionid']
318
+ };
319
+ var formParams = {};
320
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
321
+ var contentTypes = [];
322
+ var accepts = ['application/json'];
323
+ var returnType = _SiteResponse["default"];
324
+ return this.apiClient.callApi('/graph/data/sites/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
325
+ }
326
+ }]);
327
+ }();
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.64
19
+ * The version of the OpenAPI document: 0.1.66
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * SocialIntegration service.
29
29
  * @module api/SocialIntegrationApi
30
- * @version 0.1.64
30
+ * @version 0.1.66
31
31
  */
32
32
  var SocialIntegrationApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33
33
  * gobodo-api
34
34
  * REST Interface for Gobodo API
35
35
  *
36
- * The version of the OpenAPI document: 0.1.64
36
+ * The version of the OpenAPI document: 0.1.66
37
37
  * Contact: info@gobodo.io
38
38
  *
39
39
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -44,7 +44,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
44
44
  /**
45
45
  * StripeAccounts service.
46
46
  * @module api/StripeAccountsApi
47
- * @version 0.1.64
47
+ * @version 0.1.66
48
48
  */
49
49
  var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
50
50
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.64
19
+ * The version of the OpenAPI document: 0.1.66
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * Tags service.
29
29
  * @module api/TagsApi
30
- * @version 0.1.64
30
+ * @version 0.1.66
31
31
  */
32
32
  var TagsApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.64
19
+ * The version of the OpenAPI document: 0.1.66
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * Templates service.
29
29
  * @module api/TemplatesApi
30
- * @version 0.1.64
30
+ * @version 0.1.66
31
31
  */
32
32
  var TemplatesApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
17
17
  * gobodo-api
18
18
  * REST Interface for Gobodo API
19
19
  *
20
- * The version of the OpenAPI document: 0.1.64
20
+ * The version of the OpenAPI document: 0.1.66
21
21
  * Contact: info@gobodo.io
22
22
  *
23
23
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * ThemeMappings service.
30
30
  * @module api/ThemeMappingsApi
31
- * @version 0.1.64
31
+ * @version 0.1.66
32
32
  */
33
33
  var ThemeMappingsApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -20,7 +20,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
20
20
  * gobodo-api
21
21
  * REST Interface for Gobodo API
22
22
  *
23
- * The version of the OpenAPI document: 0.1.64
23
+ * The version of the OpenAPI document: 0.1.66
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * Topics service.
33
33
  * @module api/TopicsApi
34
- * @version 0.1.64
34
+ * @version 0.1.66
35
35
  */
36
36
  var TopicsApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.64
19
+ * The version of the OpenAPI document: 0.1.66
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * Transactions service.
29
29
  * @module api/TransactionsApi
30
- * @version 0.1.64
30
+ * @version 0.1.66
31
31
  */
32
32
  var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.64
19
+ * The version of the OpenAPI document: 0.1.66
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * Twitter service.
29
29
  * @module api/TwitterApi
30
- * @version 0.1.64
30
+ * @version 0.1.66
31
31
  */
32
32
  var TwitterApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
18
18
  * gobodo-api
19
19
  * REST Interface for Gobodo API
20
20
  *
21
- * The version of the OpenAPI document: 0.1.64
21
+ * The version of the OpenAPI document: 0.1.66
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * UserTags service.
31
31
  * @module api/UserTagsApi
32
- * @version 0.1.64
32
+ * @version 0.1.66
33
33
  */
34
34
  var UserTagsApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -21,7 +21,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
21
21
  * gobodo-api
22
22
  * REST Interface for Gobodo API
23
23
  *
24
- * The version of the OpenAPI document: 0.1.64
24
+ * The version of the OpenAPI document: 0.1.66
25
25
  * Contact: info@gobodo.io
26
26
  *
27
27
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  /**
33
33
  * Users service.
34
34
  * @module api/UsersApi
35
- * @version 0.1.64
35
+ * @version 0.1.66
36
36
  */
37
37
  var UsersApi = exports["default"] = /*#__PURE__*/function () {
38
38
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.64
18
+ * The version of the OpenAPI document: 0.1.66
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * Utils service.
28
28
  * @module api/UtilsApi
29
- * @version 0.1.64
29
+ * @version 0.1.66
30
30
  */
31
31
  var UtilsApi = exports["default"] = /*#__PURE__*/function () {
32
32
  /**
@@ -23,7 +23,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
23
23
  * gobodo-api
24
24
  * REST Interface for Gobodo API
25
25
  *
26
- * The version of the OpenAPI document: 0.1.64
26
+ * The version of the OpenAPI document: 0.1.66
27
27
  * Contact: info@gobodo.io
28
28
  *
29
29
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
34
34
  /**
35
35
  * Videos service.
36
36
  * @module api/VideosApi
37
- * @version 0.1.64
37
+ * @version 0.1.66
38
38
  */
39
39
  var VideosApi = exports["default"] = /*#__PURE__*/function () {
40
40
  /**
package/dist/index.js CHANGED
@@ -993,6 +993,24 @@ Object.defineProperty(exports, "RelationshipMapping", {
993
993
  return _RelationshipMapping["default"];
994
994
  }
995
995
  });
996
+ Object.defineProperty(exports, "RestApplicationInput", {
997
+ enumerable: true,
998
+ get: function get() {
999
+ return _RestApplicationInput["default"];
1000
+ }
1001
+ });
1002
+ Object.defineProperty(exports, "RestApplicationResponse", {
1003
+ enumerable: true,
1004
+ get: function get() {
1005
+ return _RestApplicationResponse["default"];
1006
+ }
1007
+ });
1008
+ Object.defineProperty(exports, "RestApplicationsApi", {
1009
+ enumerable: true,
1010
+ get: function get() {
1011
+ return _RestApplicationsApi["default"];
1012
+ }
1013
+ });
996
1014
  Object.defineProperty(exports, "ScreenSchema", {
997
1015
  enumerable: true,
998
1016
  get: function get() {
@@ -1011,6 +1029,30 @@ Object.defineProperty(exports, "SimulcastInfo", {
1011
1029
  return _SimulcastInfo["default"];
1012
1030
  }
1013
1031
  });
1032
+ Object.defineProperty(exports, "SiteInput", {
1033
+ enumerable: true,
1034
+ get: function get() {
1035
+ return _SiteInput["default"];
1036
+ }
1037
+ });
1038
+ Object.defineProperty(exports, "SiteResponse", {
1039
+ enumerable: true,
1040
+ get: function get() {
1041
+ return _SiteResponse["default"];
1042
+ }
1043
+ });
1044
+ Object.defineProperty(exports, "SiteTypeResponse", {
1045
+ enumerable: true,
1046
+ get: function get() {
1047
+ return _SiteTypeResponse["default"];
1048
+ }
1049
+ });
1050
+ Object.defineProperty(exports, "SitesApi", {
1051
+ enumerable: true,
1052
+ get: function get() {
1053
+ return _SitesApi["default"];
1054
+ }
1055
+ });
1014
1056
  Object.defineProperty(exports, "SkinField", {
1015
1057
  enumerable: true,
1016
1058
  get: function get() {
@@ -1424,8 +1466,13 @@ var _Profiletype = _interopRequireDefault(require("./model/Profiletype"));
1424
1466
  var _PropertyContainer = _interopRequireDefault(require("./model/PropertyContainer"));
1425
1467
  var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("./model/PurgeDataDefaultResponseValue"));
1426
1468
  var _RelationshipMapping = _interopRequireDefault(require("./model/RelationshipMapping"));
1469
+ var _RestApplicationInput = _interopRequireDefault(require("./model/RestApplicationInput"));
1470
+ var _RestApplicationResponse = _interopRequireDefault(require("./model/RestApplicationResponse"));
1427
1471
  var _ScreenSchema = _interopRequireDefault(require("./model/ScreenSchema"));
1428
1472
  var _SimulcastInfo = _interopRequireDefault(require("./model/SimulcastInfo"));
1473
+ var _SiteInput = _interopRequireDefault(require("./model/SiteInput"));
1474
+ var _SiteResponse = _interopRequireDefault(require("./model/SiteResponse"));
1475
+ var _SiteTypeResponse = _interopRequireDefault(require("./model/SiteTypeResponse"));
1429
1476
  var _SkinField = _interopRequireDefault(require("./model/SkinField"));
1430
1477
  var _SkinFieldResponse = _interopRequireDefault(require("./model/SkinFieldResponse"));
1431
1478
  var _SocialGroup = _interopRequireDefault(require("./model/SocialGroup"));
@@ -1509,7 +1556,9 @@ var _PhoneNumbersApi = _interopRequireDefault(require("./api/PhoneNumbersApi"));
1509
1556
  var _PostsApi = _interopRequireDefault(require("./api/PostsApi"));
1510
1557
  var _PrivateMessagesApi = _interopRequireDefault(require("./api/PrivateMessagesApi"));
1511
1558
  var _PublicationsApi = _interopRequireDefault(require("./api/PublicationsApi"));
1559
+ var _RestApplicationsApi = _interopRequireDefault(require("./api/RestApplicationsApi"));
1512
1560
  var _ScreensApi = _interopRequireDefault(require("./api/ScreensApi"));
1561
+ var _SitesApi = _interopRequireDefault(require("./api/SitesApi"));
1513
1562
  var _SocialIntegrationApi = _interopRequireDefault(require("./api/SocialIntegrationApi"));
1514
1563
  var _StripeAccountsApi = _interopRequireDefault(require("./api/StripeAccountsApi"));
1515
1564
  var _TagsApi = _interopRequireDefault(require("./api/TagsApi"));