@closerplatform/spinner-openapi 0.12.1233 → 0.12.1234

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
@@ -12172,11 +12172,10 @@ export declare const ProfanitiesApiFetchParamCreator: (configuration?: Configura
12172
12172
  /**
12173
12173
  *
12174
12174
  * @summary get org's profanities list
12175
- * @param {string} orgId orgId
12176
12175
  * @param {*} [options] Override http request option.
12177
12176
  * @throws {RequiredError}
12178
12177
  */
12179
- getProfanities(orgId: string, options?: any): FetchArgs;
12178
+ getProfanities(options?: any): FetchArgs;
12180
12179
  /**
12181
12180
  *
12182
12181
  * @summary update profanities blacklist
@@ -12202,11 +12201,10 @@ export declare const ProfanitiesApiFp: (configuration?: Configuration) => {
12202
12201
  /**
12203
12202
  *
12204
12203
  * @summary get org's profanities list
12205
- * @param {string} orgId orgId
12206
12204
  * @param {*} [options] Override http request option.
12207
12205
  * @throws {RequiredError}
12208
12206
  */
12209
- getProfanities(orgId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ProfanitiesDto>;
12207
+ getProfanities(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ProfanitiesDto>;
12210
12208
  /**
12211
12209
  *
12212
12210
  * @summary update profanities blacklist
@@ -12232,11 +12230,10 @@ export declare const ProfanitiesApiFactory: (configuration?: Configuration, fetc
12232
12230
  /**
12233
12231
  *
12234
12232
  * @summary get org's profanities list
12235
- * @param {string} orgId orgId
12236
12233
  * @param {*} [options] Override http request option.
12237
12234
  * @throws {RequiredError}
12238
12235
  */
12239
- getProfanities(orgId: string, options?: any): Promise<ProfanitiesDto>;
12236
+ getProfanities(options?: any): Promise<ProfanitiesDto>;
12240
12237
  /**
12241
12238
  *
12242
12239
  * @summary update profanities blacklist
@@ -12265,12 +12262,11 @@ export declare class ProfanitiesApi extends BaseAPI {
12265
12262
  /**
12266
12263
  *
12267
12264
  * @summary get org's profanities list
12268
- * @param {string} orgId orgId
12269
12265
  * @param {*} [options] Override http request option.
12270
12266
  * @throws {RequiredError}
12271
12267
  * @memberof ProfanitiesApi
12272
12268
  */
12273
- getProfanities(orgId: string, options?: any): Promise<ProfanitiesDto>;
12269
+ getProfanities(options?: any): Promise<ProfanitiesDto>;
12274
12270
  /**
12275
12271
  *
12276
12272
  * @summary update profanities blacklist
package/dist/api.js CHANGED
@@ -10831,24 +10831,16 @@ const ProfanitiesApiFetchParamCreator = function (configuration) {
10831
10831
  /**
10832
10832
  *
10833
10833
  * @summary get org's profanities list
10834
- * @param {string} orgId orgId
10835
10834
  * @param {*} [options] Override http request option.
10836
10835
  * @throws {RequiredError}
10837
10836
  */
10838
- getProfanities(orgId, options = {}) {
10839
- // verify required parameter 'orgId' is not null or undefined
10840
- if (orgId === null || orgId === undefined) {
10841
- throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getProfanities.');
10842
- }
10837
+ getProfanities(options = {}) {
10843
10838
  const localVarPath = `/profanities`;
10844
10839
  const localVarUrlObj = url.parse(localVarPath, true);
10845
10840
  const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
10846
10841
  const localVarHeaderParameter = {};
10847
10842
  const localVarQueryParameter = {};
10848
10843
  // authentication bearerAuth required
10849
- if (orgId !== undefined) {
10850
- localVarQueryParameter['orgId'] = orgId;
10851
- }
10852
10844
  localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
10853
10845
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
10854
10846
  delete localVarUrlObj.search;
@@ -10920,12 +10912,11 @@ const ProfanitiesApiFp = function (configuration) {
10920
10912
  /**
10921
10913
  *
10922
10914
  * @summary get org's profanities list
10923
- * @param {string} orgId orgId
10924
10915
  * @param {*} [options] Override http request option.
10925
10916
  * @throws {RequiredError}
10926
10917
  */
10927
- getProfanities(orgId, options) {
10928
- const localVarFetchArgs = (0, exports.ProfanitiesApiFetchParamCreator)(configuration).getProfanities(orgId, options);
10918
+ getProfanities(options) {
10919
+ const localVarFetchArgs = (0, exports.ProfanitiesApiFetchParamCreator)(configuration).getProfanities(options);
10929
10920
  return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
10930
10921
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
10931
10922
  if (response.status >= 200 && response.status < 300) {
@@ -10979,12 +10970,11 @@ const ProfanitiesApiFactory = function (configuration, fetch, basePath) {
10979
10970
  /**
10980
10971
  *
10981
10972
  * @summary get org's profanities list
10982
- * @param {string} orgId orgId
10983
10973
  * @param {*} [options] Override http request option.
10984
10974
  * @throws {RequiredError}
10985
10975
  */
10986
- getProfanities(orgId, options) {
10987
- return (0, exports.ProfanitiesApiFp)(configuration).getProfanities(orgId, options)(fetch, basePath);
10976
+ getProfanities(options) {
10977
+ return (0, exports.ProfanitiesApiFp)(configuration).getProfanities(options)(fetch, basePath);
10988
10978
  },
10989
10979
  /**
10990
10980
  *
@@ -11020,13 +11010,12 @@ class ProfanitiesApi extends BaseAPI {
11020
11010
  /**
11021
11011
  *
11022
11012
  * @summary get org's profanities list
11023
- * @param {string} orgId orgId
11024
11013
  * @param {*} [options] Override http request option.
11025
11014
  * @throws {RequiredError}
11026
11015
  * @memberof ProfanitiesApi
11027
11016
  */
11028
- getProfanities(orgId, options) {
11029
- return (0, exports.ProfanitiesApiFp)(this.configuration).getProfanities(orgId, options)(this.fetch, this.basePath);
11017
+ getProfanities(options) {
11018
+ return (0, exports.ProfanitiesApiFp)(this.configuration).getProfanities(options)(this.fetch, this.basePath);
11030
11019
  }
11031
11020
  /**
11032
11021
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.1233",
3
+ "version": "0.12.1234",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [