@closerplatform/spinner-openapi 0.12.617 → 0.12.619

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.
package/dist/api.d.ts CHANGED
@@ -14015,10 +14015,11 @@ export declare const TagGroupsApiFetchParamCreator: (configuration?: Configurati
14015
14015
  /**
14016
14016
  *
14017
14017
  * @summary endpoint to retrieve tag groups
14018
+ * @param {boolean} [active]
14018
14019
  * @param {*} [options] Override http request option.
14019
14020
  * @throws {RequiredError}
14020
14021
  */
14021
- getTagGroups(options?: any): FetchArgs;
14022
+ getTagGroups(active?: boolean, options?: any): FetchArgs;
14022
14023
  /**
14023
14024
  *
14024
14025
  * @summary endpoint to update tag group
@@ -14069,10 +14070,11 @@ export declare const TagGroupsApiFp: (configuration?: Configuration) => {
14069
14070
  /**
14070
14071
  *
14071
14072
  * @summary endpoint to retrieve tag groups
14073
+ * @param {boolean} [active]
14072
14074
  * @param {*} [options] Override http request option.
14073
14075
  * @throws {RequiredError}
14074
14076
  */
14075
- getTagGroups(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<TagGroupDto>>;
14077
+ getTagGroups(active?: boolean, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<TagGroupDto>>;
14076
14078
  /**
14077
14079
  *
14078
14080
  * @summary endpoint to update tag group
@@ -14123,10 +14125,11 @@ export declare const TagGroupsApiFactory: (configuration?: Configuration, fetch?
14123
14125
  /**
14124
14126
  *
14125
14127
  * @summary endpoint to retrieve tag groups
14128
+ * @param {boolean} [active]
14126
14129
  * @param {*} [options] Override http request option.
14127
14130
  * @throws {RequiredError}
14128
14131
  */
14129
- getTagGroups(options?: any): Promise<TagGroupDto[]>;
14132
+ getTagGroups(active?: boolean, options?: any): Promise<TagGroupDto[]>;
14130
14133
  /**
14131
14134
  *
14132
14135
  * @summary endpoint to update tag group
@@ -14182,11 +14185,12 @@ export declare class TagGroupsApi extends BaseAPI {
14182
14185
  /**
14183
14186
  *
14184
14187
  * @summary endpoint to retrieve tag groups
14188
+ * @param {boolean} [active]
14185
14189
  * @param {*} [options] Override http request option.
14186
14190
  * @throws {RequiredError}
14187
14191
  * @memberof TagGroupsApi
14188
14192
  */
14189
- getTagGroups(options?: any): Promise<TagGroupDto[]>;
14193
+ getTagGroups(active?: boolean, options?: any): Promise<TagGroupDto[]>;
14190
14194
  /**
14191
14195
  *
14192
14196
  * @summary endpoint to update tag group
package/dist/api.js CHANGED
@@ -15257,10 +15257,11 @@ const TagGroupsApiFetchParamCreator = function (configuration) {
15257
15257
  /**
15258
15258
  *
15259
15259
  * @summary endpoint to retrieve tag groups
15260
+ * @param {boolean} [active]
15260
15261
  * @param {*} [options] Override http request option.
15261
15262
  * @throws {RequiredError}
15262
15263
  */
15263
- getTagGroups(options = {}) {
15264
+ getTagGroups(active, options = {}) {
15264
15265
  const localVarPath = `/tag-groups`;
15265
15266
  const localVarUrlObj = url.parse(localVarPath, true);
15266
15267
  const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
@@ -15273,6 +15274,9 @@ const TagGroupsApiFetchParamCreator = function (configuration) {
15273
15274
  : configuration.apiKey;
15274
15275
  localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
15275
15276
  }
15277
+ if (active !== undefined) {
15278
+ localVarQueryParameter['active'] = active;
15279
+ }
15276
15280
  localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
15277
15281
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
15278
15282
  delete localVarUrlObj.search;
@@ -15432,11 +15436,12 @@ const TagGroupsApiFp = function (configuration) {
15432
15436
  /**
15433
15437
  *
15434
15438
  * @summary endpoint to retrieve tag groups
15439
+ * @param {boolean} [active]
15435
15440
  * @param {*} [options] Override http request option.
15436
15441
  * @throws {RequiredError}
15437
15442
  */
15438
- getTagGroups(options) {
15439
- const localVarFetchArgs = (0, exports.TagGroupsApiFetchParamCreator)(configuration).getTagGroups(options);
15443
+ getTagGroups(active, options) {
15444
+ const localVarFetchArgs = (0, exports.TagGroupsApiFetchParamCreator)(configuration).getTagGroups(active, options);
15440
15445
  return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
15441
15446
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
15442
15447
  if (response.status >= 200 && response.status < 300) {
@@ -15531,11 +15536,12 @@ const TagGroupsApiFactory = function (configuration, fetch, basePath) {
15531
15536
  /**
15532
15537
  *
15533
15538
  * @summary endpoint to retrieve tag groups
15539
+ * @param {boolean} [active]
15534
15540
  * @param {*} [options] Override http request option.
15535
15541
  * @throws {RequiredError}
15536
15542
  */
15537
- getTagGroups(options) {
15538
- return (0, exports.TagGroupsApiFp)(configuration).getTagGroups(options)(fetch, basePath);
15543
+ getTagGroups(active, options) {
15544
+ return (0, exports.TagGroupsApiFp)(configuration).getTagGroups(active, options)(fetch, basePath);
15539
15545
  },
15540
15546
  /**
15541
15547
  *
@@ -15604,12 +15610,13 @@ class TagGroupsApi extends BaseAPI {
15604
15610
  /**
15605
15611
  *
15606
15612
  * @summary endpoint to retrieve tag groups
15613
+ * @param {boolean} [active]
15607
15614
  * @param {*} [options] Override http request option.
15608
15615
  * @throws {RequiredError}
15609
15616
  * @memberof TagGroupsApi
15610
15617
  */
15611
- getTagGroups(options) {
15612
- return (0, exports.TagGroupsApiFp)(this.configuration).getTagGroups(options)(this.fetch, this.basePath);
15618
+ getTagGroups(active, options) {
15619
+ return (0, exports.TagGroupsApiFp)(this.configuration).getTagGroups(active, options)(this.fetch, this.basePath);
15613
15620
  }
15614
15621
  /**
15615
15622
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.617",
3
+ "version": "0.12.619",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [