@closerplatform/spinner-openapi 0.12.48 → 0.12.52

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +0 -148
  2. package/dist/api.js +1 -359
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -14400,14 +14400,6 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
14400
14400
  * @throws {RequiredError}
14401
14401
  */
14402
14402
  searchGuest(query: string, options?: any): FetchArgs;
14403
- /**
14404
- *
14405
- * @summary Search for a lead with inbox.
14406
- * @param {string} query
14407
- * @param {*} [options] Override http request option.
14408
- * @throws {RequiredError}
14409
- */
14410
- searchLeadWithInbox(query: string, options?: any): FetchArgs;
14411
14403
  /**
14412
14404
  *
14413
14405
  * @summary Grant or revoke admin privileges
@@ -14475,25 +14467,6 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
14475
14467
  * @throws {RequiredError}
14476
14468
  */
14477
14469
  setCloserCustomerApiKey(body: AdviserApiKeyForm, options?: any): FetchArgs;
14478
- /**
14479
- *
14480
- * @summary Replace the guest profile.
14481
- * @param {GuestProfileForm} body
14482
- * @param {string} orgId
14483
- * @param {string} customerId
14484
- * @param {*} [options] Override http request option.
14485
- * @throws {RequiredError}
14486
- */
14487
- setGuestProfile(body: GuestProfileForm, orgId: string, customerId: string, options?: any): FetchArgs;
14488
- /**
14489
- *
14490
- * @summary Replace the guest profile.
14491
- * @param {GuestProfileForm} body
14492
- * @param {string} orgId
14493
- * @param {*} [options] Override http request option.
14494
- * @throws {RequiredError}
14495
- */
14496
- setOwnGuestProfile(body: GuestProfileForm, orgId: string, options?: any): FetchArgs;
14497
14470
  /**
14498
14471
  *
14499
14472
  * @summary Authorize guest with oauth login hint token
@@ -14553,15 +14526,6 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
14553
14526
  * @throws {RequiredError}
14554
14527
  */
14555
14528
  updateOwnGuestProfile(body: GuestProfileFormPatch, orgId: string, options?: any): FetchArgs;
14556
- /**
14557
- *
14558
- * @summary Update the guest profile.
14559
- * @param {GuestProfileFormPatch} body
14560
- * @param {string} orgId
14561
- * @param {*} [options] Override http request option.
14562
- * @throws {RequiredError}
14563
- */
14564
- updateOwnGuestProfileDeprecated(body: GuestProfileFormPatch, orgId: string, options?: any): FetchArgs;
14565
14529
  /**
14566
14530
  *
14567
14531
  * @summary Validate phone number
@@ -14828,14 +14792,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
14828
14792
  * @throws {RequiredError}
14829
14793
  */
14830
14794
  searchGuest(query: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<GuestProfile>>;
14831
- /**
14832
- *
14833
- * @summary Search for a lead with inbox.
14834
- * @param {string} query
14835
- * @param {*} [options] Override http request option.
14836
- * @throws {RequiredError}
14837
- */
14838
- searchLeadWithInbox(query: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<GuestProfile>>;
14839
14795
  /**
14840
14796
  *
14841
14797
  * @summary Grant or revoke admin privileges
@@ -14903,25 +14859,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
14903
14859
  * @throws {RequiredError}
14904
14860
  */
14905
14861
  setCloserCustomerApiKey(body: AdviserApiKeyForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
14906
- /**
14907
- *
14908
- * @summary Replace the guest profile.
14909
- * @param {GuestProfileForm} body
14910
- * @param {string} orgId
14911
- * @param {string} customerId
14912
- * @param {*} [options] Override http request option.
14913
- * @throws {RequiredError}
14914
- */
14915
- setGuestProfile(body: GuestProfileForm, orgId: string, customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
14916
- /**
14917
- *
14918
- * @summary Replace the guest profile.
14919
- * @param {GuestProfileForm} body
14920
- * @param {string} orgId
14921
- * @param {*} [options] Override http request option.
14922
- * @throws {RequiredError}
14923
- */
14924
- setOwnGuestProfile(body: GuestProfileForm, orgId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
14925
14862
  /**
14926
14863
  *
14927
14864
  * @summary Authorize guest with oauth login hint token
@@ -14981,15 +14918,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
14981
14918
  * @throws {RequiredError}
14982
14919
  */
14983
14920
  updateOwnGuestProfile(body: GuestProfileFormPatch, orgId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadProfile>;
14984
- /**
14985
- *
14986
- * @summary Update the guest profile.
14987
- * @param {GuestProfileFormPatch} body
14988
- * @param {string} orgId
14989
- * @param {*} [options] Override http request option.
14990
- * @throws {RequiredError}
14991
- */
14992
- updateOwnGuestProfileDeprecated(body: GuestProfileFormPatch, orgId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
14993
14921
  /**
14994
14922
  *
14995
14923
  * @summary Validate phone number
@@ -15256,14 +15184,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15256
15184
  * @throws {RequiredError}
15257
15185
  */
15258
15186
  searchGuest(query: string, options?: any): Promise<GuestProfile[]>;
15259
- /**
15260
- *
15261
- * @summary Search for a lead with inbox.
15262
- * @param {string} query
15263
- * @param {*} [options] Override http request option.
15264
- * @throws {RequiredError}
15265
- */
15266
- searchLeadWithInbox(query: string, options?: any): Promise<GuestProfile[]>;
15267
15187
  /**
15268
15188
  *
15269
15189
  * @summary Grant or revoke admin privileges
@@ -15331,25 +15251,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15331
15251
  * @throws {RequiredError}
15332
15252
  */
15333
15253
  setCloserCustomerApiKey(body: AdviserApiKeyForm, options?: any): Promise<Response>;
15334
- /**
15335
- *
15336
- * @summary Replace the guest profile.
15337
- * @param {GuestProfileForm} body
15338
- * @param {string} orgId
15339
- * @param {string} customerId
15340
- * @param {*} [options] Override http request option.
15341
- * @throws {RequiredError}
15342
- */
15343
- setGuestProfile(body: GuestProfileForm, orgId: string, customerId: string, options?: any): Promise<Response>;
15344
- /**
15345
- *
15346
- * @summary Replace the guest profile.
15347
- * @param {GuestProfileForm} body
15348
- * @param {string} orgId
15349
- * @param {*} [options] Override http request option.
15350
- * @throws {RequiredError}
15351
- */
15352
- setOwnGuestProfile(body: GuestProfileForm, orgId: string, options?: any): Promise<Response>;
15353
15254
  /**
15354
15255
  *
15355
15256
  * @summary Authorize guest with oauth login hint token
@@ -15409,15 +15310,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15409
15310
  * @throws {RequiredError}
15410
15311
  */
15411
15312
  updateOwnGuestProfile(body: GuestProfileFormPatch, orgId: string, options?: any): Promise<LeadProfile>;
15412
- /**
15413
- *
15414
- * @summary Update the guest profile.
15415
- * @param {GuestProfileFormPatch} body
15416
- * @param {string} orgId
15417
- * @param {*} [options] Override http request option.
15418
- * @throws {RequiredError}
15419
- */
15420
- updateOwnGuestProfileDeprecated(body: GuestProfileFormPatch, orgId: string, options?: any): Promise<Response>;
15421
15313
  /**
15422
15314
  *
15423
15315
  * @summary Validate phone number
@@ -15718,15 +15610,6 @@ export declare class UsersApi extends BaseAPI {
15718
15610
  * @memberof UsersApi
15719
15611
  */
15720
15612
  searchGuest(query: string, options?: any): Promise<GuestProfile[]>;
15721
- /**
15722
- *
15723
- * @summary Search for a lead with inbox.
15724
- * @param {string} query
15725
- * @param {*} [options] Override http request option.
15726
- * @throws {RequiredError}
15727
- * @memberof UsersApi
15728
- */
15729
- searchLeadWithInbox(query: string, options?: any): Promise<GuestProfile[]>;
15730
15613
  /**
15731
15614
  *
15732
15615
  * @summary Grant or revoke admin privileges
@@ -15802,27 +15685,6 @@ export declare class UsersApi extends BaseAPI {
15802
15685
  * @memberof UsersApi
15803
15686
  */
15804
15687
  setCloserCustomerApiKey(body: AdviserApiKeyForm, options?: any): Promise<Response>;
15805
- /**
15806
- *
15807
- * @summary Replace the guest profile.
15808
- * @param {GuestProfileForm} body
15809
- * @param {string} orgId
15810
- * @param {string} customerId
15811
- * @param {*} [options] Override http request option.
15812
- * @throws {RequiredError}
15813
- * @memberof UsersApi
15814
- */
15815
- setGuestProfile(body: GuestProfileForm, orgId: string, customerId: string, options?: any): Promise<Response>;
15816
- /**
15817
- *
15818
- * @summary Replace the guest profile.
15819
- * @param {GuestProfileForm} body
15820
- * @param {string} orgId
15821
- * @param {*} [options] Override http request option.
15822
- * @throws {RequiredError}
15823
- * @memberof UsersApi
15824
- */
15825
- setOwnGuestProfile(body: GuestProfileForm, orgId: string, options?: any): Promise<Response>;
15826
15688
  /**
15827
15689
  *
15828
15690
  * @summary Authorize guest with oauth login hint token
@@ -15889,16 +15751,6 @@ export declare class UsersApi extends BaseAPI {
15889
15751
  * @memberof UsersApi
15890
15752
  */
15891
15753
  updateOwnGuestProfile(body: GuestProfileFormPatch, orgId: string, options?: any): Promise<LeadProfile>;
15892
- /**
15893
- *
15894
- * @summary Update the guest profile.
15895
- * @param {GuestProfileFormPatch} body
15896
- * @param {string} orgId
15897
- * @param {*} [options] Override http request option.
15898
- * @throws {RequiredError}
15899
- * @memberof UsersApi
15900
- */
15901
- updateOwnGuestProfileDeprecated(body: GuestProfileFormPatch, orgId: string, options?: any): Promise<Response>;
15902
15754
  /**
15903
15755
  *
15904
15756
  * @summary Validate phone number
package/dist/api.js CHANGED
@@ -17381,7 +17381,7 @@ exports.UsersApiFetchParamCreator = function (configuration) {
17381
17381
  if (customerId === null || customerId === undefined) {
17382
17382
  throw new RequiredError('customerId', 'Required parameter customerId was null or undefined when calling patchGuestProfile.');
17383
17383
  }
17384
- const localVarPath = `/agents/customer/{customerId}/{orgId}`
17384
+ const localVarPath = `/bots/personalData`
17385
17385
  .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
17386
17386
  .replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
17387
17387
  const localVarUrlObj = url.parse(localVarPath, true);
@@ -17585,42 +17585,6 @@ exports.UsersApiFetchParamCreator = function (configuration) {
17585
17585
  options: localVarRequestOptions,
17586
17586
  };
17587
17587
  },
17588
- /**
17589
- *
17590
- * @summary Search for a lead with inbox.
17591
- * @param {string} query
17592
- * @param {*} [options] Override http request option.
17593
- * @throws {RequiredError}
17594
- */
17595
- searchLeadWithInbox(query, options = {}) {
17596
- // verify required parameter 'query' is not null or undefined
17597
- if (query === null || query === undefined) {
17598
- throw new RequiredError('query', 'Required parameter query was null or undefined when calling searchLeadWithInbox.');
17599
- }
17600
- const localVarPath = `/users/leads/search`;
17601
- const localVarUrlObj = url.parse(localVarPath, true);
17602
- const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
17603
- const localVarHeaderParameter = {};
17604
- const localVarQueryParameter = {};
17605
- // authentication apiKey required
17606
- if (configuration && configuration.apiKey) {
17607
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
17608
- ? configuration.apiKey("X-Api-Key")
17609
- : configuration.apiKey;
17610
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
17611
- }
17612
- if (query !== undefined) {
17613
- localVarQueryParameter['query'] = query;
17614
- }
17615
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
17616
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
17617
- delete localVarUrlObj.search;
17618
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
17619
- return {
17620
- url: url.format(localVarUrlObj),
17621
- options: localVarRequestOptions,
17622
- };
17623
- },
17624
17588
  /**
17625
17589
  *
17626
17590
  * @summary Grant or revoke admin privileges
@@ -17927,103 +17891,6 @@ exports.UsersApiFetchParamCreator = function (configuration) {
17927
17891
  options: localVarRequestOptions,
17928
17892
  };
17929
17893
  },
17930
- /**
17931
- *
17932
- * @summary Replace the guest profile.
17933
- * @param {GuestProfileForm} body
17934
- * @param {string} orgId
17935
- * @param {string} customerId
17936
- * @param {*} [options] Override http request option.
17937
- * @throws {RequiredError}
17938
- */
17939
- setGuestProfile(body, orgId, customerId, options = {}) {
17940
- // verify required parameter 'body' is not null or undefined
17941
- if (body === null || body === undefined) {
17942
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling setGuestProfile.');
17943
- }
17944
- // verify required parameter 'orgId' is not null or undefined
17945
- if (orgId === null || orgId === undefined) {
17946
- throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling setGuestProfile.');
17947
- }
17948
- // verify required parameter 'customerId' is not null or undefined
17949
- if (customerId === null || customerId === undefined) {
17950
- throw new RequiredError('customerId', 'Required parameter customerId was null or undefined when calling setGuestProfile.');
17951
- }
17952
- const localVarPath = `/agents/customer/{customerId}/{orgId}`
17953
- .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
17954
- .replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
17955
- const localVarUrlObj = url.parse(localVarPath, true);
17956
- const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
17957
- const localVarHeaderParameter = {};
17958
- const localVarQueryParameter = {};
17959
- // authentication apiKey required
17960
- if (configuration && configuration.apiKey) {
17961
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
17962
- ? configuration.apiKey("X-Api-Key")
17963
- : configuration.apiKey;
17964
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
17965
- }
17966
- localVarHeaderParameter['Content-Type'] = 'application/json';
17967
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
17968
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
17969
- delete localVarUrlObj.search;
17970
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
17971
- const needsSerialization = ("GuestProfileForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
17972
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
17973
- return {
17974
- url: url.format(localVarUrlObj),
17975
- options: localVarRequestOptions,
17976
- };
17977
- },
17978
- /**
17979
- *
17980
- * @summary Replace the guest profile.
17981
- * @param {GuestProfileForm} body
17982
- * @param {string} orgId
17983
- * @param {*} [options] Override http request option.
17984
- * @throws {RequiredError}
17985
- */
17986
- setOwnGuestProfile(body, orgId, options = {}) {
17987
- // verify required parameter 'body' is not null or undefined
17988
- if (body === null || body === undefined) {
17989
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling setOwnGuestProfile.');
17990
- }
17991
- // verify required parameter 'orgId' is not null or undefined
17992
- if (orgId === null || orgId === undefined) {
17993
- throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling setOwnGuestProfile.');
17994
- }
17995
- const localVarPath = `/users/guest/{orgId}`
17996
- .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
17997
- const localVarUrlObj = url.parse(localVarPath, true);
17998
- const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
17999
- const localVarHeaderParameter = {};
18000
- const localVarQueryParameter = {};
18001
- // authentication apiKey required
18002
- if (configuration && configuration.apiKey) {
18003
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
18004
- ? configuration.apiKey("X-Api-Key")
18005
- : configuration.apiKey;
18006
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
18007
- }
18008
- // authentication fingerprintAuth required
18009
- if (configuration && configuration.apiKey) {
18010
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
18011
- ? configuration.apiKey("X-Fingerprint")
18012
- : configuration.apiKey;
18013
- localVarHeaderParameter["X-Fingerprint"] = localVarApiKeyValue;
18014
- }
18015
- localVarHeaderParameter['Content-Type'] = 'application/json';
18016
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
18017
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
18018
- delete localVarUrlObj.search;
18019
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
18020
- const needsSerialization = ("GuestProfileForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
18021
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
18022
- return {
18023
- url: url.format(localVarUrlObj),
18024
- options: localVarRequestOptions,
18025
- };
18026
- },
18027
17894
  /**
18028
17895
  *
18029
17896
  * @summary Authorize guest with oauth login hint token
@@ -18303,55 +18170,6 @@ exports.UsersApiFetchParamCreator = function (configuration) {
18303
18170
  options: localVarRequestOptions,
18304
18171
  };
18305
18172
  },
18306
- /**
18307
- *
18308
- * @summary Update the guest profile.
18309
- * @param {GuestProfileFormPatch} body
18310
- * @param {string} orgId
18311
- * @param {*} [options] Override http request option.
18312
- * @throws {RequiredError}
18313
- */
18314
- updateOwnGuestProfileDeprecated(body, orgId, options = {}) {
18315
- // verify required parameter 'body' is not null or undefined
18316
- if (body === null || body === undefined) {
18317
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateOwnGuestProfileDeprecated.');
18318
- }
18319
- // verify required parameter 'orgId' is not null or undefined
18320
- if (orgId === null || orgId === undefined) {
18321
- throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling updateOwnGuestProfileDeprecated.');
18322
- }
18323
- const localVarPath = `/users/guest/{orgId}`
18324
- .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
18325
- const localVarUrlObj = url.parse(localVarPath, true);
18326
- const localVarRequestOptions = Object.assign({ method: 'PATCH' }, options);
18327
- const localVarHeaderParameter = {};
18328
- const localVarQueryParameter = {};
18329
- // authentication apiKey required
18330
- if (configuration && configuration.apiKey) {
18331
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
18332
- ? configuration.apiKey("X-Api-Key")
18333
- : configuration.apiKey;
18334
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
18335
- }
18336
- // authentication fingerprintAuth required
18337
- if (configuration && configuration.apiKey) {
18338
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
18339
- ? configuration.apiKey("X-Fingerprint")
18340
- : configuration.apiKey;
18341
- localVarHeaderParameter["X-Fingerprint"] = localVarApiKeyValue;
18342
- }
18343
- localVarHeaderParameter['Content-Type'] = 'application/json';
18344
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
18345
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
18346
- delete localVarUrlObj.search;
18347
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
18348
- const needsSerialization = ("GuestProfileFormPatch" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
18349
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
18350
- return {
18351
- url: url.format(localVarUrlObj),
18352
- options: localVarRequestOptions,
18353
- };
18354
- },
18355
18173
  /**
18356
18174
  *
18357
18175
  * @summary Validate phone number
@@ -19039,26 +18857,6 @@ exports.UsersApiFp = function (configuration) {
19039
18857
  });
19040
18858
  };
19041
18859
  },
19042
- /**
19043
- *
19044
- * @summary Search for a lead with inbox.
19045
- * @param {string} query
19046
- * @param {*} [options] Override http request option.
19047
- * @throws {RequiredError}
19048
- */
19049
- searchLeadWithInbox(query, options) {
19050
- const localVarFetchArgs = exports.UsersApiFetchParamCreator(configuration).searchLeadWithInbox(query, options);
19051
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
19052
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
19053
- if (response.status >= 200 && response.status < 300) {
19054
- return response.json();
19055
- }
19056
- else {
19057
- throw response;
19058
- }
19059
- });
19060
- };
19061
- },
19062
18860
  /**
19063
18861
  *
19064
18862
  * @summary Grant or revoke admin privileges
@@ -19222,49 +19020,6 @@ exports.UsersApiFp = function (configuration) {
19222
19020
  });
19223
19021
  };
19224
19022
  },
19225
- /**
19226
- *
19227
- * @summary Replace the guest profile.
19228
- * @param {GuestProfileForm} body
19229
- * @param {string} orgId
19230
- * @param {string} customerId
19231
- * @param {*} [options] Override http request option.
19232
- * @throws {RequiredError}
19233
- */
19234
- setGuestProfile(body, orgId, customerId, options) {
19235
- const localVarFetchArgs = exports.UsersApiFetchParamCreator(configuration).setGuestProfile(body, orgId, customerId, options);
19236
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
19237
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
19238
- if (response.status >= 200 && response.status < 300) {
19239
- return response;
19240
- }
19241
- else {
19242
- throw response;
19243
- }
19244
- });
19245
- };
19246
- },
19247
- /**
19248
- *
19249
- * @summary Replace the guest profile.
19250
- * @param {GuestProfileForm} body
19251
- * @param {string} orgId
19252
- * @param {*} [options] Override http request option.
19253
- * @throws {RequiredError}
19254
- */
19255
- setOwnGuestProfile(body, orgId, options) {
19256
- const localVarFetchArgs = exports.UsersApiFetchParamCreator(configuration).setOwnGuestProfile(body, orgId, options);
19257
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
19258
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
19259
- if (response.status >= 200 && response.status < 300) {
19260
- return response;
19261
- }
19262
- else {
19263
- throw response;
19264
- }
19265
- });
19266
- };
19267
- },
19268
19023
  /**
19269
19024
  *
19270
19025
  * @summary Authorize guest with oauth login hint token
@@ -19408,27 +19163,6 @@ exports.UsersApiFp = function (configuration) {
19408
19163
  });
19409
19164
  };
19410
19165
  },
19411
- /**
19412
- *
19413
- * @summary Update the guest profile.
19414
- * @param {GuestProfileFormPatch} body
19415
- * @param {string} orgId
19416
- * @param {*} [options] Override http request option.
19417
- * @throws {RequiredError}
19418
- */
19419
- updateOwnGuestProfileDeprecated(body, orgId, options) {
19420
- const localVarFetchArgs = exports.UsersApiFetchParamCreator(configuration).updateOwnGuestProfileDeprecated(body, orgId, options);
19421
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
19422
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
19423
- if (response.status >= 200 && response.status < 300) {
19424
- return response;
19425
- }
19426
- else {
19427
- throw response;
19428
- }
19429
- });
19430
- };
19431
- },
19432
19166
  /**
19433
19167
  *
19434
19168
  * @summary Validate phone number
@@ -19773,16 +19507,6 @@ exports.UsersApiFactory = function (configuration, fetch, basePath) {
19773
19507
  searchGuest(query, options) {
19774
19508
  return exports.UsersApiFp(configuration).searchGuest(query, options)(fetch, basePath);
19775
19509
  },
19776
- /**
19777
- *
19778
- * @summary Search for a lead with inbox.
19779
- * @param {string} query
19780
- * @param {*} [options] Override http request option.
19781
- * @throws {RequiredError}
19782
- */
19783
- searchLeadWithInbox(query, options) {
19784
- return exports.UsersApiFp(configuration).searchLeadWithInbox(query, options)(fetch, basePath);
19785
- },
19786
19510
  /**
19787
19511
  *
19788
19512
  * @summary Grant or revoke admin privileges
@@ -19866,29 +19590,6 @@ exports.UsersApiFactory = function (configuration, fetch, basePath) {
19866
19590
  setCloserCustomerApiKey(body, options) {
19867
19591
  return exports.UsersApiFp(configuration).setCloserCustomerApiKey(body, options)(fetch, basePath);
19868
19592
  },
19869
- /**
19870
- *
19871
- * @summary Replace the guest profile.
19872
- * @param {GuestProfileForm} body
19873
- * @param {string} orgId
19874
- * @param {string} customerId
19875
- * @param {*} [options] Override http request option.
19876
- * @throws {RequiredError}
19877
- */
19878
- setGuestProfile(body, orgId, customerId, options) {
19879
- return exports.UsersApiFp(configuration).setGuestProfile(body, orgId, customerId, options)(fetch, basePath);
19880
- },
19881
- /**
19882
- *
19883
- * @summary Replace the guest profile.
19884
- * @param {GuestProfileForm} body
19885
- * @param {string} orgId
19886
- * @param {*} [options] Override http request option.
19887
- * @throws {RequiredError}
19888
- */
19889
- setOwnGuestProfile(body, orgId, options) {
19890
- return exports.UsersApiFp(configuration).setOwnGuestProfile(body, orgId, options)(fetch, basePath);
19891
- },
19892
19593
  /**
19893
19594
  *
19894
19595
  * @summary Authorize guest with oauth login hint token
@@ -19962,17 +19663,6 @@ exports.UsersApiFactory = function (configuration, fetch, basePath) {
19962
19663
  updateOwnGuestProfile(body, orgId, options) {
19963
19664
  return exports.UsersApiFp(configuration).updateOwnGuestProfile(body, orgId, options)(fetch, basePath);
19964
19665
  },
19965
- /**
19966
- *
19967
- * @summary Update the guest profile.
19968
- * @param {GuestProfileFormPatch} body
19969
- * @param {string} orgId
19970
- * @param {*} [options] Override http request option.
19971
- * @throws {RequiredError}
19972
- */
19973
- updateOwnGuestProfileDeprecated(body, orgId, options) {
19974
- return exports.UsersApiFp(configuration).updateOwnGuestProfileDeprecated(body, orgId, options)(fetch, basePath);
19975
- },
19976
19666
  /**
19977
19667
  *
19978
19668
  * @summary Validate phone number
@@ -20340,17 +20030,6 @@ class UsersApi extends BaseAPI {
20340
20030
  searchGuest(query, options) {
20341
20031
  return exports.UsersApiFp(this.configuration).searchGuest(query, options)(this.fetch, this.basePath);
20342
20032
  }
20343
- /**
20344
- *
20345
- * @summary Search for a lead with inbox.
20346
- * @param {string} query
20347
- * @param {*} [options] Override http request option.
20348
- * @throws {RequiredError}
20349
- * @memberof UsersApi
20350
- */
20351
- searchLeadWithInbox(query, options) {
20352
- return exports.UsersApiFp(this.configuration).searchLeadWithInbox(query, options)(this.fetch, this.basePath);
20353
- }
20354
20033
  /**
20355
20034
  *
20356
20035
  * @summary Grant or revoke admin privileges
@@ -20442,31 +20121,6 @@ class UsersApi extends BaseAPI {
20442
20121
  setCloserCustomerApiKey(body, options) {
20443
20122
  return exports.UsersApiFp(this.configuration).setCloserCustomerApiKey(body, options)(this.fetch, this.basePath);
20444
20123
  }
20445
- /**
20446
- *
20447
- * @summary Replace the guest profile.
20448
- * @param {GuestProfileForm} body
20449
- * @param {string} orgId
20450
- * @param {string} customerId
20451
- * @param {*} [options] Override http request option.
20452
- * @throws {RequiredError}
20453
- * @memberof UsersApi
20454
- */
20455
- setGuestProfile(body, orgId, customerId, options) {
20456
- return exports.UsersApiFp(this.configuration).setGuestProfile(body, orgId, customerId, options)(this.fetch, this.basePath);
20457
- }
20458
- /**
20459
- *
20460
- * @summary Replace the guest profile.
20461
- * @param {GuestProfileForm} body
20462
- * @param {string} orgId
20463
- * @param {*} [options] Override http request option.
20464
- * @throws {RequiredError}
20465
- * @memberof UsersApi
20466
- */
20467
- setOwnGuestProfile(body, orgId, options) {
20468
- return exports.UsersApiFp(this.configuration).setOwnGuestProfile(body, orgId, options)(this.fetch, this.basePath);
20469
- }
20470
20124
  /**
20471
20125
  *
20472
20126
  * @summary Authorize guest with oauth login hint token
@@ -20547,18 +20201,6 @@ class UsersApi extends BaseAPI {
20547
20201
  updateOwnGuestProfile(body, orgId, options) {
20548
20202
  return exports.UsersApiFp(this.configuration).updateOwnGuestProfile(body, orgId, options)(this.fetch, this.basePath);
20549
20203
  }
20550
- /**
20551
- *
20552
- * @summary Update the guest profile.
20553
- * @param {GuestProfileFormPatch} body
20554
- * @param {string} orgId
20555
- * @param {*} [options] Override http request option.
20556
- * @throws {RequiredError}
20557
- * @memberof UsersApi
20558
- */
20559
- updateOwnGuestProfileDeprecated(body, orgId, options) {
20560
- return exports.UsersApiFp(this.configuration).updateOwnGuestProfileDeprecated(body, orgId, options)(this.fetch, this.basePath);
20561
- }
20562
20204
  /**
20563
20205
  *
20564
20206
  * @summary Validate phone number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.48",
3
+ "version": "0.12.52",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [