Skip to content

Commit bdef974

Browse files
committed
Auto-generate wrapper from updated spec
1 parent 079128b commit bdef974

3 files changed

Lines changed: 0 additions & 188 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ Class | Method | HTTP request | Description
140140
*BuiltByBitApi.ResourcesBuyerApi* | [**getV2ResourcesBuyerLatest**](docs/ResourcesBuyerApi.md#getV2ResourcesBuyerLatest) | **GET** /v2/resources/buyer/latest | Fetches the latest versions & license information
141141
*BuiltByBitApi.ResourcesCreatorApi* | [**getV2ResourcesCreatorAddons**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorAddons) | **GET** /v2/resources/creator/addons | Fetch a list of your resources' addons
142142
*BuiltByBitApi.ResourcesCreatorApi* | [**getV2ResourcesCreatorBatch**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorBatch) | **GET** /v2/resources/creator/batch | Fetch a list of your batches edits
143-
*BuiltByBitApi.ResourcesCreatorApi* | [**getV2ResourcesCreatorBundles**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorBundles) | **GET** /v2/resources/creator/bundles | Fetch a list of your bundles
144-
*BuiltByBitApi.ResourcesCreatorApi* | [**getV2ResourcesCreatorBundlesEntries**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorBundlesEntries) | **GET** /v2/resources/creator/bundles/entries | Fetch a list of your bundle entries
145143
*BuiltByBitApi.ResourcesCreatorApi* | [**getV2ResourcesCreatorCoupons**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorCoupons) | **GET** /v2/resources/creator/coupons | Fetch a list of your coupons
146144
*BuiltByBitApi.ResourcesCreatorApi* | [**getV2ResourcesCreatorCouponsEntries**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorCouponsEntries) | **GET** /v2/resources/creator/coupons/entries | Fetch a list of your coupon entries
147145
*BuiltByBitApi.ResourcesCreatorApi* | [**getV2ResourcesCreatorLicenses**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorLicenses) | **GET** /v2/resources/creator/licenses | Fetch a list of your resources' licenses

docs/ResourcesCreatorApi.md

Lines changed: 0 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**getV2ResourcesCreatorAddons**](ResourcesCreatorApi.md#getV2ResourcesCreatorAddons) | **GET** /v2/resources/creator/addons | Fetch a list of your resources' addons
88
[**getV2ResourcesCreatorBatch**](ResourcesCreatorApi.md#getV2ResourcesCreatorBatch) | **GET** /v2/resources/creator/batch | Fetch a list of your batches edits
9-
[**getV2ResourcesCreatorBundles**](ResourcesCreatorApi.md#getV2ResourcesCreatorBundles) | **GET** /v2/resources/creator/bundles | Fetch a list of your bundles
10-
[**getV2ResourcesCreatorBundlesEntries**](ResourcesCreatorApi.md#getV2ResourcesCreatorBundlesEntries) | **GET** /v2/resources/creator/bundles/entries | Fetch a list of your bundle entries
119
[**getV2ResourcesCreatorCoupons**](ResourcesCreatorApi.md#getV2ResourcesCreatorCoupons) | **GET** /v2/resources/creator/coupons | Fetch a list of your coupons
1210
[**getV2ResourcesCreatorCouponsEntries**](ResourcesCreatorApi.md#getV2ResourcesCreatorCouponsEntries) | **GET** /v2/resources/creator/coupons/entries | Fetch a list of your coupon entries
1311
[**getV2ResourcesCreatorLicenses**](ResourcesCreatorApi.md#getV2ResourcesCreatorLicenses) | **GET** /v2/resources/creator/licenses | Fetch a list of your resources' licenses
@@ -127,108 +125,6 @@ Name | Type | Description | Notes
127125
- **Accept**: application/json
128126

129127

130-
## getV2ResourcesCreatorBundles
131-
132-
> GetV2ResourcesCreatorBundles200Response getV2ResourcesCreatorBundles(opts)
133-
134-
Fetch a list of your bundles
135-
136-
### Example
137-
138-
```javascript
139-
import BuiltByBitApi from 'built_by_bit_api';
140-
let defaultClient = BuiltByBitApi.ApiClient.instance;
141-
// Configure API key authorization: token
142-
let token = defaultClient.authentications['token'];
143-
token.apiKey = 'YOUR API KEY';
144-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
145-
//token.apiKeyPrefix = 'Token';
146-
147-
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
148-
let opts = {
149-
'bundleIds': null // Array | A comma-separated list of bundle IDs to filter on. No filter is applied if empty.
150-
};
151-
apiInstance.getV2ResourcesCreatorBundles(opts, (error, data, response) => {
152-
if (error) {
153-
console.error(error);
154-
} else {
155-
console.log('API called successfully. Returned data: ' + data);
156-
}
157-
});
158-
```
159-
160-
### Parameters
161-
162-
163-
Name | Type | Description | Notes
164-
------------- | ------------- | ------------- | -------------
165-
**bundleIds** | [**Array**](.md)| A comma-separated list of bundle IDs to filter on. No filter is applied if empty. | [optional]
166-
167-
### Return type
168-
169-
[**GetV2ResourcesCreatorBundles200Response**](GetV2ResourcesCreatorBundles200Response.md)
170-
171-
### Authorization
172-
173-
[token](../README.md#token)
174-
175-
### HTTP request headers
176-
177-
- **Content-Type**: Not defined
178-
- **Accept**: application/json
179-
180-
181-
## getV2ResourcesCreatorBundlesEntries
182-
183-
> GetV2ResourcesCreatorBundlesEntries200Response getV2ResourcesCreatorBundlesEntries(opts)
184-
185-
Fetch a list of your bundle entries
186-
187-
### Example
188-
189-
```javascript
190-
import BuiltByBitApi from 'built_by_bit_api';
191-
let defaultClient = BuiltByBitApi.ApiClient.instance;
192-
// Configure API key authorization: token
193-
let token = defaultClient.authentications['token'];
194-
token.apiKey = 'YOUR API KEY';
195-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
196-
//token.apiKeyPrefix = 'Token';
197-
198-
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
199-
let opts = {
200-
'bundleIds': null // Array | A comma-separated list of bundle IDs to filter on. No filter is applied if empty.
201-
};
202-
apiInstance.getV2ResourcesCreatorBundlesEntries(opts, (error, data, response) => {
203-
if (error) {
204-
console.error(error);
205-
} else {
206-
console.log('API called successfully. Returned data: ' + data);
207-
}
208-
});
209-
```
210-
211-
### Parameters
212-
213-
214-
Name | Type | Description | Notes
215-
------------- | ------------- | ------------- | -------------
216-
**bundleIds** | [**Array**](.md)| A comma-separated list of bundle IDs to filter on. No filter is applied if empty. | [optional]
217-
218-
### Return type
219-
220-
[**GetV2ResourcesCreatorBundlesEntries200Response**](GetV2ResourcesCreatorBundlesEntries200Response.md)
221-
222-
### Authorization
223-
224-
[token](../README.md#token)
225-
226-
### HTTP request headers
227-
228-
- **Content-Type**: Not defined
229-
- **Accept**: application/json
230-
231-
232128
## getV2ResourcesCreatorCoupons
233129

234130
> GetV2ResourcesCreatorCoupons200Response getV2ResourcesCreatorCoupons(opts)

src/api/ResourcesCreatorApi.js

Lines changed: 0 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
import ApiClient from "../ApiClient";
1616
import GetV2ResourcesCreatorAddons200Response from '../model/GetV2ResourcesCreatorAddons200Response';
1717
import GetV2ResourcesCreatorBatch200Response from '../model/GetV2ResourcesCreatorBatch200Response';
18-
import GetV2ResourcesCreatorBundles200Response from '../model/GetV2ResourcesCreatorBundles200Response';
19-
import GetV2ResourcesCreatorBundlesEntries200Response from '../model/GetV2ResourcesCreatorBundlesEntries200Response';
2018
import GetV2ResourcesCreatorCoupons200Response from '../model/GetV2ResourcesCreatorCoupons200Response';
2119
import GetV2ResourcesCreatorCouponsEntries200Response from '../model/GetV2ResourcesCreatorCouponsEntries200Response';
2220
import GetV2ResourcesCreatorLicenses200Response from '../model/GetV2ResourcesCreatorLicenses200Response';
@@ -134,86 +132,6 @@ export default class ResourcesCreatorApi {
134132
);
135133
}
136134

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-
217135
/**
218136
* Callback function to receive the result of the getV2ResourcesCreatorCoupons operation.
219137
* @callback module:api/ResourcesCreatorApi~getV2ResourcesCreatorCouponsCallback

0 commit comments

Comments
 (0)