@closerplatform/spinner-openapi 0.12.1071 → 0.12.1072

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
@@ -15290,11 +15290,10 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
15290
15290
  *
15291
15291
  * @summary Update the guest profile.
15292
15292
  * @param {GuestProfileFormPatch} body
15293
- * @param {string} orgId orgId
15294
15293
  * @param {*} [options] Override http request option.
15295
15294
  * @throws {RequiredError}
15296
15295
  */
15297
- updateOwnGuestProfile(body: GuestProfileFormPatch, orgId: string, options?: any): FetchArgs;
15296
+ updateOwnGuestProfile(body: GuestProfileFormPatch, options?: any): FetchArgs;
15298
15297
  /**
15299
15298
  *
15300
15299
  * @summary Validate phone number
@@ -15631,11 +15630,10 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
15631
15630
  *
15632
15631
  * @summary Update the guest profile.
15633
15632
  * @param {GuestProfileFormPatch} body
15634
- * @param {string} orgId orgId
15635
15633
  * @param {*} [options] Override http request option.
15636
15634
  * @throws {RequiredError}
15637
15635
  */
15638
- updateOwnGuestProfile(body: GuestProfileFormPatch, orgId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadCtx>;
15636
+ updateOwnGuestProfile(body: GuestProfileFormPatch, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadCtx>;
15639
15637
  /**
15640
15638
  *
15641
15639
  * @summary Validate phone number
@@ -15972,11 +15970,10 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15972
15970
  *
15973
15971
  * @summary Update the guest profile.
15974
15972
  * @param {GuestProfileFormPatch} body
15975
- * @param {string} orgId orgId
15976
15973
  * @param {*} [options] Override http request option.
15977
15974
  * @throws {RequiredError}
15978
15975
  */
15979
- updateOwnGuestProfile(body: GuestProfileFormPatch, orgId: string, options?: any): Promise<LeadCtx>;
15976
+ updateOwnGuestProfile(body: GuestProfileFormPatch, options?: any): Promise<LeadCtx>;
15980
15977
  /**
15981
15978
  *
15982
15979
  * @summary Validate phone number
@@ -16355,12 +16352,11 @@ export declare class UsersApi extends BaseAPI {
16355
16352
  *
16356
16353
  * @summary Update the guest profile.
16357
16354
  * @param {GuestProfileFormPatch} body
16358
- * @param {string} orgId orgId
16359
16355
  * @param {*} [options] Override http request option.
16360
16356
  * @throws {RequiredError}
16361
16357
  * @memberof UsersApi
16362
16358
  */
16363
- updateOwnGuestProfile(body: GuestProfileFormPatch, orgId: string, options?: any): Promise<LeadCtx>;
16359
+ updateOwnGuestProfile(body: GuestProfileFormPatch, options?: any): Promise<LeadCtx>;
16364
16360
  /**
16365
16361
  *
16366
16362
  * @summary Validate phone number
package/dist/api.js CHANGED
@@ -18265,19 +18265,14 @@ const UsersApiFetchParamCreator = function (configuration) {
18265
18265
  *
18266
18266
  * @summary Update the guest profile.
18267
18267
  * @param {GuestProfileFormPatch} body
18268
- * @param {string} orgId orgId
18269
18268
  * @param {*} [options] Override http request option.
18270
18269
  * @throws {RequiredError}
18271
18270
  */
18272
- updateOwnGuestProfile(body, orgId, options = {}) {
18271
+ updateOwnGuestProfile(body, options = {}) {
18273
18272
  // verify required parameter 'body' is not null or undefined
18274
18273
  if (body === null || body === undefined) {
18275
18274
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateOwnGuestProfile.');
18276
18275
  }
18277
- // verify required parameter 'orgId' is not null or undefined
18278
- if (orgId === null || orgId === undefined) {
18279
- throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling updateOwnGuestProfile.');
18280
- }
18281
18276
  const localVarPath = `/users/guest`;
18282
18277
  const localVarUrlObj = url.parse(localVarPath, true);
18283
18278
  const localVarRequestOptions = Object.assign({ method: 'PATCH' }, options);
@@ -18297,9 +18292,6 @@ const UsersApiFetchParamCreator = function (configuration) {
18297
18292
  : configuration.apiKey;
18298
18293
  localVarHeaderParameter["X-Fingerprint"] = localVarApiKeyValue;
18299
18294
  }
18300
- if (orgId !== undefined) {
18301
- localVarQueryParameter['orgId'] = orgId;
18302
- }
18303
18295
  localVarHeaderParameter['Content-Type'] = 'application/json';
18304
18296
  localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
18305
18297
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
@@ -19166,12 +19158,11 @@ const UsersApiFp = function (configuration) {
19166
19158
  *
19167
19159
  * @summary Update the guest profile.
19168
19160
  * @param {GuestProfileFormPatch} body
19169
- * @param {string} orgId orgId
19170
19161
  * @param {*} [options] Override http request option.
19171
19162
  * @throws {RequiredError}
19172
19163
  */
19173
- updateOwnGuestProfile(body, orgId, options) {
19174
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).updateOwnGuestProfile(body, orgId, options);
19164
+ updateOwnGuestProfile(body, options) {
19165
+ const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).updateOwnGuestProfile(body, options);
19175
19166
  return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
19176
19167
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
19177
19168
  if (response.status >= 200 && response.status < 300) {
@@ -19614,12 +19605,11 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
19614
19605
  *
19615
19606
  * @summary Update the guest profile.
19616
19607
  * @param {GuestProfileFormPatch} body
19617
- * @param {string} orgId orgId
19618
19608
  * @param {*} [options] Override http request option.
19619
19609
  * @throws {RequiredError}
19620
19610
  */
19621
- updateOwnGuestProfile(body, orgId, options) {
19622
- return (0, exports.UsersApiFp)(configuration).updateOwnGuestProfile(body, orgId, options)(fetch, basePath);
19611
+ updateOwnGuestProfile(body, options) {
19612
+ return (0, exports.UsersApiFp)(configuration).updateOwnGuestProfile(body, options)(fetch, basePath);
19623
19613
  },
19624
19614
  /**
19625
19615
  *
@@ -20083,13 +20073,12 @@ class UsersApi extends BaseAPI {
20083
20073
  *
20084
20074
  * @summary Update the guest profile.
20085
20075
  * @param {GuestProfileFormPatch} body
20086
- * @param {string} orgId orgId
20087
20076
  * @param {*} [options] Override http request option.
20088
20077
  * @throws {RequiredError}
20089
20078
  * @memberof UsersApi
20090
20079
  */
20091
- updateOwnGuestProfile(body, orgId, options) {
20092
- return (0, exports.UsersApiFp)(this.configuration).updateOwnGuestProfile(body, orgId, options)(this.fetch, this.basePath);
20080
+ updateOwnGuestProfile(body, options) {
20081
+ return (0, exports.UsersApiFp)(this.configuration).updateOwnGuestProfile(body, options)(this.fetch, this.basePath);
20093
20082
  }
20094
20083
  /**
20095
20084
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.1071",
3
+ "version": "0.12.1072",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [