@closerplatform/spinner-openapi 0.12.1233 → 0.12.1235

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
@@ -2354,12 +2354,6 @@ export interface GuestProfile {
2354
2354
  * @memberof GuestProfile
2355
2355
  */
2356
2356
  topics?: Array<string>;
2357
- /**
2358
- *
2359
- * @type {string}
2360
- * @memberof GuestProfile
2361
- */
2362
- accessToken?: string;
2363
2357
  }
2364
2358
  /**
2365
2359
  *
@@ -12172,11 +12166,10 @@ export declare const ProfanitiesApiFetchParamCreator: (configuration?: Configura
12172
12166
  /**
12173
12167
  *
12174
12168
  * @summary get org's profanities list
12175
- * @param {string} orgId orgId
12176
12169
  * @param {*} [options] Override http request option.
12177
12170
  * @throws {RequiredError}
12178
12171
  */
12179
- getProfanities(orgId: string, options?: any): FetchArgs;
12172
+ getProfanities(options?: any): FetchArgs;
12180
12173
  /**
12181
12174
  *
12182
12175
  * @summary update profanities blacklist
@@ -12202,11 +12195,10 @@ export declare const ProfanitiesApiFp: (configuration?: Configuration) => {
12202
12195
  /**
12203
12196
  *
12204
12197
  * @summary get org's profanities list
12205
- * @param {string} orgId orgId
12206
12198
  * @param {*} [options] Override http request option.
12207
12199
  * @throws {RequiredError}
12208
12200
  */
12209
- getProfanities(orgId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ProfanitiesDto>;
12201
+ getProfanities(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ProfanitiesDto>;
12210
12202
  /**
12211
12203
  *
12212
12204
  * @summary update profanities blacklist
@@ -12232,11 +12224,10 @@ export declare const ProfanitiesApiFactory: (configuration?: Configuration, fetc
12232
12224
  /**
12233
12225
  *
12234
12226
  * @summary get org's profanities list
12235
- * @param {string} orgId orgId
12236
12227
  * @param {*} [options] Override http request option.
12237
12228
  * @throws {RequiredError}
12238
12229
  */
12239
- getProfanities(orgId: string, options?: any): Promise<ProfanitiesDto>;
12230
+ getProfanities(options?: any): Promise<ProfanitiesDto>;
12240
12231
  /**
12241
12232
  *
12242
12233
  * @summary update profanities blacklist
@@ -12265,12 +12256,11 @@ export declare class ProfanitiesApi extends BaseAPI {
12265
12256
  /**
12266
12257
  *
12267
12258
  * @summary get org's profanities list
12268
- * @param {string} orgId orgId
12269
12259
  * @param {*} [options] Override http request option.
12270
12260
  * @throws {RequiredError}
12271
12261
  * @memberof ProfanitiesApi
12272
12262
  */
12273
- getProfanities(orgId: string, options?: any): Promise<ProfanitiesDto>;
12263
+ getProfanities(options?: any): Promise<ProfanitiesDto>;
12274
12264
  /**
12275
12265
  *
12276
12266
  * @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.1235",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [