|
15 | 15 | import ApiClient from "../ApiClient"; |
16 | 16 | import GetV2ResourcesCreatorAddons200Response from '../model/GetV2ResourcesCreatorAddons200Response'; |
17 | 17 | import GetV2ResourcesCreatorBatch200Response from '../model/GetV2ResourcesCreatorBatch200Response'; |
18 | | -import GetV2ResourcesCreatorBundles200Response from '../model/GetV2ResourcesCreatorBundles200Response'; |
19 | | -import GetV2ResourcesCreatorBundlesEntries200Response from '../model/GetV2ResourcesCreatorBundlesEntries200Response'; |
20 | 18 | import GetV2ResourcesCreatorCoupons200Response from '../model/GetV2ResourcesCreatorCoupons200Response'; |
21 | 19 | import GetV2ResourcesCreatorCouponsEntries200Response from '../model/GetV2ResourcesCreatorCouponsEntries200Response'; |
22 | 20 | import GetV2ResourcesCreatorLicenses200Response from '../model/GetV2ResourcesCreatorLicenses200Response'; |
@@ -134,86 +132,6 @@ export default class ResourcesCreatorApi { |
134 | 132 | ); |
135 | 133 | } |
136 | 134 |
|
137 | | - /** |
138 | | - * Callback function to receive the result of the getV2ResourcesCreatorBundles operation. |
139 | | - * @callback module:api/ResourcesCreatorApi~getV2ResourcesCreatorBundlesCallback |
140 | | - * @param {String} error Error message, if any. |
141 | | - * @param {module:model/GetV2ResourcesCreatorBundles200Response} data The data returned by the service call. |
142 | | - * @param {String} response The complete HTTP response. |
143 | | - */ |
144 | | - |
145 | | - /** |
146 | | - * Fetch a list of your bundles |
147 | | - * @param {Object} opts Optional parameters |
148 | | - * @param {Array} [bundleIds] A comma-separated list of bundle IDs to filter on. No filter is applied if empty. |
149 | | - * @param {module:api/ResourcesCreatorApi~getV2ResourcesCreatorBundlesCallback} callback The callback function, accepting three arguments: error, data, response |
150 | | - * data is of type: {@link module:model/GetV2ResourcesCreatorBundles200Response} |
151 | | - */ |
152 | | - getV2ResourcesCreatorBundles(opts, callback) { |
153 | | - opts = opts || {}; |
154 | | - let postBody = null; |
155 | | - |
156 | | - let pathParams = { |
157 | | - }; |
158 | | - let queryParams = { |
159 | | - 'bundle_ids': opts['bundleIds'] |
160 | | - }; |
161 | | - let headerParams = { |
162 | | - }; |
163 | | - let formParams = { |
164 | | - }; |
165 | | - |
166 | | - let authNames = ['token']; |
167 | | - let contentTypes = []; |
168 | | - let accepts = ['application/json']; |
169 | | - let returnType = GetV2ResourcesCreatorBundles200Response; |
170 | | - return this.apiClient.callApi( |
171 | | - '/v2/resources/creator/bundles', 'GET', |
172 | | - pathParams, queryParams, headerParams, formParams, postBody, |
173 | | - authNames, contentTypes, accepts, returnType, null, callback |
174 | | - ); |
175 | | - } |
176 | | - |
177 | | - /** |
178 | | - * Callback function to receive the result of the getV2ResourcesCreatorBundlesEntries operation. |
179 | | - * @callback module:api/ResourcesCreatorApi~getV2ResourcesCreatorBundlesEntriesCallback |
180 | | - * @param {String} error Error message, if any. |
181 | | - * @param {module:model/GetV2ResourcesCreatorBundlesEntries200Response} data The data returned by the service call. |
182 | | - * @param {String} response The complete HTTP response. |
183 | | - */ |
184 | | - |
185 | | - /** |
186 | | - * Fetch a list of your bundle entries |
187 | | - * @param {Object} opts Optional parameters |
188 | | - * @param {Array} [bundleIds] A comma-separated list of bundle IDs to filter on. No filter is applied if empty. |
189 | | - * @param {module:api/ResourcesCreatorApi~getV2ResourcesCreatorBundlesEntriesCallback} callback The callback function, accepting three arguments: error, data, response |
190 | | - * data is of type: {@link module:model/GetV2ResourcesCreatorBundlesEntries200Response} |
191 | | - */ |
192 | | - getV2ResourcesCreatorBundlesEntries(opts, callback) { |
193 | | - opts = opts || {}; |
194 | | - let postBody = null; |
195 | | - |
196 | | - let pathParams = { |
197 | | - }; |
198 | | - let queryParams = { |
199 | | - 'bundle_ids': opts['bundleIds'] |
200 | | - }; |
201 | | - let headerParams = { |
202 | | - }; |
203 | | - let formParams = { |
204 | | - }; |
205 | | - |
206 | | - let authNames = ['token']; |
207 | | - let contentTypes = []; |
208 | | - let accepts = ['application/json']; |
209 | | - let returnType = GetV2ResourcesCreatorBundlesEntries200Response; |
210 | | - return this.apiClient.callApi( |
211 | | - '/v2/resources/creator/bundles/entries', 'GET', |
212 | | - pathParams, queryParams, headerParams, formParams, postBody, |
213 | | - authNames, contentTypes, accepts, returnType, null, callback |
214 | | - ); |
215 | | - } |
216 | | - |
217 | 135 | /** |
218 | 136 | * Callback function to receive the result of the getV2ResourcesCreatorCoupons operation. |
219 | 137 | * @callback module:api/ResourcesCreatorApi~getV2ResourcesCreatorCouponsCallback |
|
0 commit comments