@closerplatform/spinner-openapi 0.12.569 → 0.12.570

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 -298
  2. package/dist/api.js +0 -489
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -148,19 +148,6 @@ export interface AdminSetNames {
148
148
  */
149
149
  lastName?: string;
150
150
  }
151
- /**
152
- *
153
- * @export
154
- * @interface AdviserApiKeyForm
155
- */
156
- export interface AdviserApiKeyForm {
157
- /**
158
- *
159
- * @type {string}
160
- * @memberof AdviserApiKeyForm
161
- */
162
- apiKey: string;
163
- }
164
151
  /**
165
152
  *
166
153
  * @export
@@ -279,68 +266,6 @@ export interface AdviserToast {
279
266
  */
280
267
  status?: string;
281
268
  }
282
- /**
283
- *
284
- * @export
285
- * @interface AdviserUpdateAssignmentsForm
286
- */
287
- export interface AdviserUpdateAssignmentsForm {
288
- /**
289
- *
290
- * @type {string}
291
- * @memberof AdviserUpdateAssignmentsForm
292
- */
293
- id: string;
294
- /**
295
- *
296
- * @type {Array<string>}
297
- * @memberof AdviserUpdateAssignmentsForm
298
- */
299
- tagIds: Array<string>;
300
- /**
301
- *
302
- * @type {Array<string>}
303
- * @memberof AdviserUpdateAssignmentsForm
304
- */
305
- tagGroupIds: Array<string>;
306
- /**
307
- *
308
- * @type {number}
309
- * @memberof AdviserUpdateAssignmentsForm
310
- */
311
- autoAssignedLimit?: number;
312
- }
313
- /**
314
- *
315
- * @export
316
- * @interface AdviserUpdateConfigurationForm
317
- */
318
- export interface AdviserUpdateConfigurationForm {
319
- /**
320
- *
321
- * @type {string}
322
- * @memberof AdviserUpdateConfigurationForm
323
- */
324
- id: string;
325
- /**
326
- *
327
- * @type {string}
328
- * @memberof AdviserUpdateConfigurationForm
329
- */
330
- roleId: string;
331
- /**
332
- *
333
- * @type {number}
334
- * @memberof AdviserUpdateConfigurationForm
335
- */
336
- validFrom?: number;
337
- /**
338
- *
339
- * @type {number}
340
- * @memberof AdviserUpdateConfigurationForm
341
- */
342
- validTo?: number;
343
- }
344
269
  /**
345
270
  *
346
271
  * @export
@@ -5141,19 +5066,6 @@ export interface OrgResponderLimit {
5141
5066
  export interface OrgResponderThresholds {
5142
5067
  [key: string]: number;
5143
5068
  }
5144
- /**
5145
- *
5146
- * @export
5147
- * @interface OrgRoleChange
5148
- */
5149
- export interface OrgRoleChange {
5150
- /**
5151
- *
5152
- * @type {string}
5153
- * @memberof OrgRoleChange
5154
- */
5155
- roleId: string;
5156
- }
5157
5069
  /**
5158
5070
  *
5159
5071
  * @export
@@ -14442,15 +14354,6 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
14442
14354
  * @throws {RequiredError}
14443
14355
  */
14444
14356
  cancelMeetingToken(body: GuestMeetingToken, options?: any): FetchArgs;
14445
- /**
14446
- *
14447
- * @summary Change org role for adviser
14448
- * @param {OrgRoleChange} body
14449
- * @param {string} id
14450
- * @param {*} [options] Override http request option.
14451
- * @throws {RequiredError}
14452
- */
14453
- changeOrgRole(body: OrgRoleChange, id: string, options?: any): FetchArgs;
14454
14357
  /**
14455
14358
  *
14456
14359
  * @summary Change password
@@ -14752,14 +14655,6 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
14752
14655
  * @throws {RequiredError}
14753
14656
  */
14754
14657
  setAgreement(body: AgreementForm, id: string, options?: any): FetchArgs;
14755
- /**
14756
- *
14757
- * @summary Set adviser's Closer customer api key.
14758
- * @param {AdviserApiKeyForm} body
14759
- * @param {*} [options] Override http request option.
14760
- * @throws {RequiredError}
14761
- */
14762
- setCloserCustomerApiKey(body: AdviserApiKeyForm, options?: any): FetchArgs;
14763
14658
  /**
14764
14659
  *
14765
14660
  * @summary Authorize guest with oauth login hint token
@@ -14776,40 +14671,6 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
14776
14671
  * @throws {RequiredError}
14777
14672
  */
14778
14673
  signUpGuest(body: SignUpGuest, options?: any): FetchArgs;
14779
- /**
14780
- *
14781
- * @summary Update adviser assignments
14782
- * @param {AdviserUpdateAssignmentsForm} body
14783
- * @param {string} id
14784
- * @param {*} [options] Override http request option.
14785
- * @throws {RequiredError}
14786
- */
14787
- updateAdviserAssignments(body: AdviserUpdateAssignmentsForm, id: string, options?: any): FetchArgs;
14788
- /**
14789
- *
14790
- * @summary Update adviser configuration
14791
- * @param {AdviserUpdateConfigurationForm} body
14792
- * @param {string} id
14793
- * @param {*} [options] Override http request option.
14794
- * @throws {RequiredError}
14795
- */
14796
- updateAdviserConfiguration(body: AdviserUpdateConfigurationForm, id: string, options?: any): FetchArgs;
14797
- /**
14798
- *
14799
- * @summary Batch update advisers' configuration
14800
- * @param {Array<AdviserUpdateAssignmentsForm>} body
14801
- * @param {*} [options] Override http request option.
14802
- * @throws {RequiredError}
14803
- */
14804
- updateAdvisersAssignments(body: Array<AdviserUpdateAssignmentsForm>, options?: any): FetchArgs;
14805
- /**
14806
- *
14807
- * @summary Batch update advisers' configuration
14808
- * @param {Array<AdviserUpdateConfigurationForm>} body
14809
- * @param {*} [options] Override http request option.
14810
- * @throws {RequiredError}
14811
- */
14812
- updateAdvisersConfiguration(body: Array<AdviserUpdateConfigurationForm>, options?: any): FetchArgs;
14813
14674
  /**
14814
14675
  *
14815
14676
  * @summary Update the guest profile.
@@ -14841,15 +14702,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
14841
14702
  * @throws {RequiredError}
14842
14703
  */
14843
14704
  cancelMeetingToken(body: GuestMeetingToken, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadCtx>;
14844
- /**
14845
- *
14846
- * @summary Change org role for adviser
14847
- * @param {OrgRoleChange} body
14848
- * @param {string} id
14849
- * @param {*} [options] Override http request option.
14850
- * @throws {RequiredError}
14851
- */
14852
- changeOrgRole(body: OrgRoleChange, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
14853
14705
  /**
14854
14706
  *
14855
14707
  * @summary Change password
@@ -15151,14 +15003,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
15151
15003
  * @throws {RequiredError}
15152
15004
  */
15153
15005
  setAgreement(body: AgreementForm, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15154
- /**
15155
- *
15156
- * @summary Set adviser's Closer customer api key.
15157
- * @param {AdviserApiKeyForm} body
15158
- * @param {*} [options] Override http request option.
15159
- * @throws {RequiredError}
15160
- */
15161
- setCloserCustomerApiKey(body: AdviserApiKeyForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15162
15006
  /**
15163
15007
  *
15164
15008
  * @summary Authorize guest with oauth login hint token
@@ -15175,40 +15019,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
15175
15019
  * @throws {RequiredError}
15176
15020
  */
15177
15021
  signUpGuest(body: SignUpGuest, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadCtx>;
15178
- /**
15179
- *
15180
- * @summary Update adviser assignments
15181
- * @param {AdviserUpdateAssignmentsForm} body
15182
- * @param {string} id
15183
- * @param {*} [options] Override http request option.
15184
- * @throws {RequiredError}
15185
- */
15186
- updateAdviserAssignments(body: AdviserUpdateAssignmentsForm, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15187
- /**
15188
- *
15189
- * @summary Update adviser configuration
15190
- * @param {AdviserUpdateConfigurationForm} body
15191
- * @param {string} id
15192
- * @param {*} [options] Override http request option.
15193
- * @throws {RequiredError}
15194
- */
15195
- updateAdviserConfiguration(body: AdviserUpdateConfigurationForm, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15196
- /**
15197
- *
15198
- * @summary Batch update advisers' configuration
15199
- * @param {Array<AdviserUpdateAssignmentsForm>} body
15200
- * @param {*} [options] Override http request option.
15201
- * @throws {RequiredError}
15202
- */
15203
- updateAdvisersAssignments(body: Array<AdviserUpdateAssignmentsForm>, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15204
- /**
15205
- *
15206
- * @summary Batch update advisers' configuration
15207
- * @param {Array<AdviserUpdateConfigurationForm>} body
15208
- * @param {*} [options] Override http request option.
15209
- * @throws {RequiredError}
15210
- */
15211
- updateAdvisersConfiguration(body: Array<AdviserUpdateConfigurationForm>, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
15212
15022
  /**
15213
15023
  *
15214
15024
  * @summary Update the guest profile.
@@ -15240,15 +15050,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15240
15050
  * @throws {RequiredError}
15241
15051
  */
15242
15052
  cancelMeetingToken(body: GuestMeetingToken, options?: any): Promise<LeadCtx>;
15243
- /**
15244
- *
15245
- * @summary Change org role for adviser
15246
- * @param {OrgRoleChange} body
15247
- * @param {string} id
15248
- * @param {*} [options] Override http request option.
15249
- * @throws {RequiredError}
15250
- */
15251
- changeOrgRole(body: OrgRoleChange, id: string, options?: any): Promise<Response>;
15252
15053
  /**
15253
15054
  *
15254
15055
  * @summary Change password
@@ -15550,14 +15351,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15550
15351
  * @throws {RequiredError}
15551
15352
  */
15552
15353
  setAgreement(body: AgreementForm, id: string, options?: any): Promise<Response>;
15553
- /**
15554
- *
15555
- * @summary Set adviser's Closer customer api key.
15556
- * @param {AdviserApiKeyForm} body
15557
- * @param {*} [options] Override http request option.
15558
- * @throws {RequiredError}
15559
- */
15560
- setCloserCustomerApiKey(body: AdviserApiKeyForm, options?: any): Promise<Response>;
15561
15354
  /**
15562
15355
  *
15563
15356
  * @summary Authorize guest with oauth login hint token
@@ -15574,40 +15367,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15574
15367
  * @throws {RequiredError}
15575
15368
  */
15576
15369
  signUpGuest(body: SignUpGuest, options?: any): Promise<LeadCtx>;
15577
- /**
15578
- *
15579
- * @summary Update adviser assignments
15580
- * @param {AdviserUpdateAssignmentsForm} body
15581
- * @param {string} id
15582
- * @param {*} [options] Override http request option.
15583
- * @throws {RequiredError}
15584
- */
15585
- updateAdviserAssignments(body: AdviserUpdateAssignmentsForm, id: string, options?: any): Promise<Response>;
15586
- /**
15587
- *
15588
- * @summary Update adviser configuration
15589
- * @param {AdviserUpdateConfigurationForm} body
15590
- * @param {string} id
15591
- * @param {*} [options] Override http request option.
15592
- * @throws {RequiredError}
15593
- */
15594
- updateAdviserConfiguration(body: AdviserUpdateConfigurationForm, id: string, options?: any): Promise<Response>;
15595
- /**
15596
- *
15597
- * @summary Batch update advisers' configuration
15598
- * @param {Array<AdviserUpdateAssignmentsForm>} body
15599
- * @param {*} [options] Override http request option.
15600
- * @throws {RequiredError}
15601
- */
15602
- updateAdvisersAssignments(body: Array<AdviserUpdateAssignmentsForm>, options?: any): Promise<Response>;
15603
- /**
15604
- *
15605
- * @summary Batch update advisers' configuration
15606
- * @param {Array<AdviserUpdateConfigurationForm>} body
15607
- * @param {*} [options] Override http request option.
15608
- * @throws {RequiredError}
15609
- */
15610
- updateAdvisersConfiguration(body: Array<AdviserUpdateConfigurationForm>, options?: any): Promise<Response>;
15611
15370
  /**
15612
15371
  *
15613
15372
  * @summary Update the guest profile.
@@ -15642,16 +15401,6 @@ export declare class UsersApi extends BaseAPI {
15642
15401
  * @memberof UsersApi
15643
15402
  */
15644
15403
  cancelMeetingToken(body: GuestMeetingToken, options?: any): Promise<LeadCtx>;
15645
- /**
15646
- *
15647
- * @summary Change org role for adviser
15648
- * @param {OrgRoleChange} body
15649
- * @param {string} id
15650
- * @param {*} [options] Override http request option.
15651
- * @throws {RequiredError}
15652
- * @memberof UsersApi
15653
- */
15654
- changeOrgRole(body: OrgRoleChange, id: string, options?: any): Promise<Response>;
15655
15404
  /**
15656
15405
  *
15657
15406
  * @summary Change password
@@ -15991,15 +15740,6 @@ export declare class UsersApi extends BaseAPI {
15991
15740
  * @memberof UsersApi
15992
15741
  */
15993
15742
  setAgreement(body: AgreementForm, id: string, options?: any): Promise<Response>;
15994
- /**
15995
- *
15996
- * @summary Set adviser's Closer customer api key.
15997
- * @param {AdviserApiKeyForm} body
15998
- * @param {*} [options] Override http request option.
15999
- * @throws {RequiredError}
16000
- * @memberof UsersApi
16001
- */
16002
- setCloserCustomerApiKey(body: AdviserApiKeyForm, options?: any): Promise<Response>;
16003
15743
  /**
16004
15744
  *
16005
15745
  * @summary Authorize guest with oauth login hint token
@@ -16018,44 +15758,6 @@ export declare class UsersApi extends BaseAPI {
16018
15758
  * @memberof UsersApi
16019
15759
  */
16020
15760
  signUpGuest(body: SignUpGuest, options?: any): Promise<LeadCtx>;
16021
- /**
16022
- *
16023
- * @summary Update adviser assignments
16024
- * @param {AdviserUpdateAssignmentsForm} body
16025
- * @param {string} id
16026
- * @param {*} [options] Override http request option.
16027
- * @throws {RequiredError}
16028
- * @memberof UsersApi
16029
- */
16030
- updateAdviserAssignments(body: AdviserUpdateAssignmentsForm, id: string, options?: any): Promise<Response>;
16031
- /**
16032
- *
16033
- * @summary Update adviser configuration
16034
- * @param {AdviserUpdateConfigurationForm} body
16035
- * @param {string} id
16036
- * @param {*} [options] Override http request option.
16037
- * @throws {RequiredError}
16038
- * @memberof UsersApi
16039
- */
16040
- updateAdviserConfiguration(body: AdviserUpdateConfigurationForm, id: string, options?: any): Promise<Response>;
16041
- /**
16042
- *
16043
- * @summary Batch update advisers' configuration
16044
- * @param {Array<AdviserUpdateAssignmentsForm>} body
16045
- * @param {*} [options] Override http request option.
16046
- * @throws {RequiredError}
16047
- * @memberof UsersApi
16048
- */
16049
- updateAdvisersAssignments(body: Array<AdviserUpdateAssignmentsForm>, options?: any): Promise<Response>;
16050
- /**
16051
- *
16052
- * @summary Batch update advisers' configuration
16053
- * @param {Array<AdviserUpdateConfigurationForm>} body
16054
- * @param {*} [options] Override http request option.
16055
- * @throws {RequiredError}
16056
- * @memberof UsersApi
16057
- */
16058
- updateAdvisersConfiguration(body: Array<AdviserUpdateConfigurationForm>, options?: any): Promise<Response>;
16059
15761
  /**
16060
15762
  *
16061
15763
  * @summary Update the guest profile.
package/dist/api.js CHANGED
@@ -16245,48 +16245,6 @@ const UsersApiFetchParamCreator = function (configuration) {
16245
16245
  options: localVarRequestOptions,
16246
16246
  };
16247
16247
  },
16248
- /**
16249
- *
16250
- * @summary Change org role for adviser
16251
- * @param {OrgRoleChange} body
16252
- * @param {string} id
16253
- * @param {*} [options] Override http request option.
16254
- * @throws {RequiredError}
16255
- */
16256
- changeOrgRole(body, id, options = {}) {
16257
- // verify required parameter 'body' is not null or undefined
16258
- if (body === null || body === undefined) {
16259
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling changeOrgRole.');
16260
- }
16261
- // verify required parameter 'id' is not null or undefined
16262
- if (id === null || id === undefined) {
16263
- throw new RequiredError('id', 'Required parameter id was null or undefined when calling changeOrgRole.');
16264
- }
16265
- const localVarPath = `/users/agents/{id}/org-role`
16266
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16267
- const localVarUrlObj = url.parse(localVarPath, true);
16268
- const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
16269
- const localVarHeaderParameter = {};
16270
- const localVarQueryParameter = {};
16271
- // authentication apiKey required
16272
- if (configuration && configuration.apiKey) {
16273
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
16274
- ? configuration.apiKey("X-Api-Key")
16275
- : configuration.apiKey;
16276
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
16277
- }
16278
- localVarHeaderParameter['Content-Type'] = 'application/json';
16279
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
16280
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
16281
- delete localVarUrlObj.search;
16282
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
16283
- const needsSerialization = ("OrgRoleChange" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
16284
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
16285
- return {
16286
- url: url.format(localVarUrlObj),
16287
- options: localVarRequestOptions,
16288
- };
16289
- },
16290
16248
  /**
16291
16249
  *
16292
16250
  * @summary Change password
@@ -17649,42 +17607,6 @@ const UsersApiFetchParamCreator = function (configuration) {
17649
17607
  options: localVarRequestOptions,
17650
17608
  };
17651
17609
  },
17652
- /**
17653
- *
17654
- * @summary Set adviser's Closer customer api key.
17655
- * @param {AdviserApiKeyForm} body
17656
- * @param {*} [options] Override http request option.
17657
- * @throws {RequiredError}
17658
- */
17659
- setCloserCustomerApiKey(body, options = {}) {
17660
- // verify required parameter 'body' is not null or undefined
17661
- if (body === null || body === undefined) {
17662
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling setCloserCustomerApiKey.');
17663
- }
17664
- const localVarPath = `/users/agent/apikey`;
17665
- const localVarUrlObj = url.parse(localVarPath, true);
17666
- const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
17667
- const localVarHeaderParameter = {};
17668
- const localVarQueryParameter = {};
17669
- // authentication apiKey required
17670
- if (configuration && configuration.apiKey) {
17671
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
17672
- ? configuration.apiKey("X-Api-Key")
17673
- : configuration.apiKey;
17674
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
17675
- }
17676
- localVarHeaderParameter['Content-Type'] = 'application/json';
17677
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
17678
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
17679
- delete localVarUrlObj.search;
17680
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
17681
- const needsSerialization = ("AdviserApiKeyForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
17682
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
17683
- return {
17684
- url: url.format(localVarUrlObj),
17685
- options: localVarRequestOptions,
17686
- };
17687
- },
17688
17610
  /**
17689
17611
  *
17690
17612
  * @summary Authorize guest with oauth login hint token
@@ -17757,162 +17679,6 @@ const UsersApiFetchParamCreator = function (configuration) {
17757
17679
  options: localVarRequestOptions,
17758
17680
  };
17759
17681
  },
17760
- /**
17761
- *
17762
- * @summary Update adviser assignments
17763
- * @param {AdviserUpdateAssignmentsForm} body
17764
- * @param {string} id
17765
- * @param {*} [options] Override http request option.
17766
- * @throws {RequiredError}
17767
- */
17768
- updateAdviserAssignments(body, id, options = {}) {
17769
- // verify required parameter 'body' is not null or undefined
17770
- if (body === null || body === undefined) {
17771
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateAdviserAssignments.');
17772
- }
17773
- // verify required parameter 'id' is not null or undefined
17774
- if (id === null || id === undefined) {
17775
- throw new RequiredError('id', 'Required parameter id was null or undefined when calling updateAdviserAssignments.');
17776
- }
17777
- const localVarPath = `/advisers/{id}/assignments`
17778
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
17779
- const localVarUrlObj = url.parse(localVarPath, true);
17780
- const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
17781
- const localVarHeaderParameter = {};
17782
- const localVarQueryParameter = {};
17783
- // authentication apiKey required
17784
- if (configuration && configuration.apiKey) {
17785
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
17786
- ? configuration.apiKey("X-Api-Key")
17787
- : configuration.apiKey;
17788
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
17789
- }
17790
- localVarHeaderParameter['Content-Type'] = 'application/json';
17791
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
17792
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
17793
- delete localVarUrlObj.search;
17794
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
17795
- const needsSerialization = ("AdviserUpdateAssignmentsForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
17796
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
17797
- return {
17798
- url: url.format(localVarUrlObj),
17799
- options: localVarRequestOptions,
17800
- };
17801
- },
17802
- /**
17803
- *
17804
- * @summary Update adviser configuration
17805
- * @param {AdviserUpdateConfigurationForm} body
17806
- * @param {string} id
17807
- * @param {*} [options] Override http request option.
17808
- * @throws {RequiredError}
17809
- */
17810
- updateAdviserConfiguration(body, id, options = {}) {
17811
- // verify required parameter 'body' is not null or undefined
17812
- if (body === null || body === undefined) {
17813
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateAdviserConfiguration.');
17814
- }
17815
- // verify required parameter 'id' is not null or undefined
17816
- if (id === null || id === undefined) {
17817
- throw new RequiredError('id', 'Required parameter id was null or undefined when calling updateAdviserConfiguration.');
17818
- }
17819
- const localVarPath = `/advisers/{id}/configuration`
17820
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
17821
- const localVarUrlObj = url.parse(localVarPath, true);
17822
- const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
17823
- const localVarHeaderParameter = {};
17824
- const localVarQueryParameter = {};
17825
- // authentication apiKey required
17826
- if (configuration && configuration.apiKey) {
17827
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
17828
- ? configuration.apiKey("X-Api-Key")
17829
- : configuration.apiKey;
17830
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
17831
- }
17832
- localVarHeaderParameter['Content-Type'] = 'application/json';
17833
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
17834
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
17835
- delete localVarUrlObj.search;
17836
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
17837
- const needsSerialization = ("AdviserUpdateConfigurationForm" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
17838
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
17839
- return {
17840
- url: url.format(localVarUrlObj),
17841
- options: localVarRequestOptions,
17842
- };
17843
- },
17844
- /**
17845
- *
17846
- * @summary Batch update advisers' configuration
17847
- * @param {Array<AdviserUpdateAssignmentsForm>} body
17848
- * @param {*} [options] Override http request option.
17849
- * @throws {RequiredError}
17850
- */
17851
- updateAdvisersAssignments(body, options = {}) {
17852
- // verify required parameter 'body' is not null or undefined
17853
- if (body === null || body === undefined) {
17854
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateAdvisersAssignments.');
17855
- }
17856
- const localVarPath = `/advisers/assignments`;
17857
- const localVarUrlObj = url.parse(localVarPath, true);
17858
- const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
17859
- const localVarHeaderParameter = {};
17860
- const localVarQueryParameter = {};
17861
- // authentication apiKey required
17862
- if (configuration && configuration.apiKey) {
17863
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
17864
- ? configuration.apiKey("X-Api-Key")
17865
- : configuration.apiKey;
17866
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
17867
- }
17868
- localVarHeaderParameter['Content-Type'] = 'application/json';
17869
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
17870
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
17871
- delete localVarUrlObj.search;
17872
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
17873
- const needsSerialization = ("Array&lt;AdviserUpdateAssignmentsForm&gt;" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
17874
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
17875
- return {
17876
- url: url.format(localVarUrlObj),
17877
- options: localVarRequestOptions,
17878
- };
17879
- },
17880
- /**
17881
- *
17882
- * @summary Batch update advisers' configuration
17883
- * @param {Array<AdviserUpdateConfigurationForm>} body
17884
- * @param {*} [options] Override http request option.
17885
- * @throws {RequiredError}
17886
- */
17887
- updateAdvisersConfiguration(body, options = {}) {
17888
- // verify required parameter 'body' is not null or undefined
17889
- if (body === null || body === undefined) {
17890
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling updateAdvisersConfiguration.');
17891
- }
17892
- const localVarPath = `/advisers/configuration`;
17893
- const localVarUrlObj = url.parse(localVarPath, true);
17894
- const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
17895
- const localVarHeaderParameter = {};
17896
- const localVarQueryParameter = {};
17897
- // authentication apiKey required
17898
- if (configuration && configuration.apiKey) {
17899
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
17900
- ? configuration.apiKey("X-Api-Key")
17901
- : configuration.apiKey;
17902
- localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
17903
- }
17904
- localVarHeaderParameter['Content-Type'] = 'application/json';
17905
- localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
17906
- // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
17907
- delete localVarUrlObj.search;
17908
- localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
17909
- const needsSerialization = ("Array&lt;AdviserUpdateConfigurationForm&gt;" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
17910
- localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
17911
- return {
17912
- url: url.format(localVarUrlObj),
17913
- options: localVarRequestOptions,
17914
- };
17915
- },
17916
17682
  /**
17917
17683
  *
17918
17684
  * @summary Update the guest profile.
@@ -18036,27 +17802,6 @@ const UsersApiFp = function (configuration) {
18036
17802
  });
18037
17803
  };
18038
17804
  },
18039
- /**
18040
- *
18041
- * @summary Change org role for adviser
18042
- * @param {OrgRoleChange} body
18043
- * @param {string} id
18044
- * @param {*} [options] Override http request option.
18045
- * @throws {RequiredError}
18046
- */
18047
- changeOrgRole(body, id, options) {
18048
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).changeOrgRole(body, id, options);
18049
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18050
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18051
- if (response.status >= 200 && response.status < 300) {
18052
- return response;
18053
- }
18054
- else {
18055
- throw response;
18056
- }
18057
- });
18058
- };
18059
- },
18060
17805
  /**
18061
17806
  *
18062
17807
  * @summary Change password
@@ -18814,26 +18559,6 @@ const UsersApiFp = function (configuration) {
18814
18559
  });
18815
18560
  };
18816
18561
  },
18817
- /**
18818
- *
18819
- * @summary Set adviser's Closer customer api key.
18820
- * @param {AdviserApiKeyForm} body
18821
- * @param {*} [options] Override http request option.
18822
- * @throws {RequiredError}
18823
- */
18824
- setCloserCustomerApiKey(body, options) {
18825
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).setCloserCustomerApiKey(body, options);
18826
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18827
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18828
- if (response.status >= 200 && response.status < 300) {
18829
- return response;
18830
- }
18831
- else {
18832
- throw response;
18833
- }
18834
- });
18835
- };
18836
- },
18837
18562
  /**
18838
18563
  *
18839
18564
  * @summary Authorize guest with oauth login hint token
@@ -18874,88 +18599,6 @@ const UsersApiFp = function (configuration) {
18874
18599
  });
18875
18600
  };
18876
18601
  },
18877
- /**
18878
- *
18879
- * @summary Update adviser assignments
18880
- * @param {AdviserUpdateAssignmentsForm} body
18881
- * @param {string} id
18882
- * @param {*} [options] Override http request option.
18883
- * @throws {RequiredError}
18884
- */
18885
- updateAdviserAssignments(body, id, options) {
18886
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).updateAdviserAssignments(body, id, options);
18887
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18888
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18889
- if (response.status >= 200 && response.status < 300) {
18890
- return response;
18891
- }
18892
- else {
18893
- throw response;
18894
- }
18895
- });
18896
- };
18897
- },
18898
- /**
18899
- *
18900
- * @summary Update adviser configuration
18901
- * @param {AdviserUpdateConfigurationForm} body
18902
- * @param {string} id
18903
- * @param {*} [options] Override http request option.
18904
- * @throws {RequiredError}
18905
- */
18906
- updateAdviserConfiguration(body, id, options) {
18907
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).updateAdviserConfiguration(body, id, options);
18908
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18909
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18910
- if (response.status >= 200 && response.status < 300) {
18911
- return response;
18912
- }
18913
- else {
18914
- throw response;
18915
- }
18916
- });
18917
- };
18918
- },
18919
- /**
18920
- *
18921
- * @summary Batch update advisers' configuration
18922
- * @param {Array<AdviserUpdateAssignmentsForm>} body
18923
- * @param {*} [options] Override http request option.
18924
- * @throws {RequiredError}
18925
- */
18926
- updateAdvisersAssignments(body, options) {
18927
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).updateAdvisersAssignments(body, options);
18928
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18929
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18930
- if (response.status >= 200 && response.status < 300) {
18931
- return response;
18932
- }
18933
- else {
18934
- throw response;
18935
- }
18936
- });
18937
- };
18938
- },
18939
- /**
18940
- *
18941
- * @summary Batch update advisers' configuration
18942
- * @param {Array<AdviserUpdateConfigurationForm>} body
18943
- * @param {*} [options] Override http request option.
18944
- * @throws {RequiredError}
18945
- */
18946
- updateAdvisersConfiguration(body, options) {
18947
- const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).updateAdvisersConfiguration(body, options);
18948
- return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
18949
- return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
18950
- if (response.status >= 200 && response.status < 300) {
18951
- return response;
18952
- }
18953
- else {
18954
- throw response;
18955
- }
18956
- });
18957
- };
18958
- },
18959
18602
  /**
18960
18603
  *
18961
18604
  * @summary Update the guest profile.
@@ -19016,17 +18659,6 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
19016
18659
  cancelMeetingToken(body, options) {
19017
18660
  return (0, exports.UsersApiFp)(configuration).cancelMeetingToken(body, options)(fetch, basePath);
19018
18661
  },
19019
- /**
19020
- *
19021
- * @summary Change org role for adviser
19022
- * @param {OrgRoleChange} body
19023
- * @param {string} id
19024
- * @param {*} [options] Override http request option.
19025
- * @throws {RequiredError}
19026
- */
19027
- changeOrgRole(body, id, options) {
19028
- return (0, exports.UsersApiFp)(configuration).changeOrgRole(body, id, options)(fetch, basePath);
19029
- },
19030
18662
  /**
19031
18663
  *
19032
18664
  * @summary Change password
@@ -19404,16 +19036,6 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
19404
19036
  setAgreement(body, id, options) {
19405
19037
  return (0, exports.UsersApiFp)(configuration).setAgreement(body, id, options)(fetch, basePath);
19406
19038
  },
19407
- /**
19408
- *
19409
- * @summary Set adviser's Closer customer api key.
19410
- * @param {AdviserApiKeyForm} body
19411
- * @param {*} [options] Override http request option.
19412
- * @throws {RequiredError}
19413
- */
19414
- setCloserCustomerApiKey(body, options) {
19415
- return (0, exports.UsersApiFp)(configuration).setCloserCustomerApiKey(body, options)(fetch, basePath);
19416
- },
19417
19039
  /**
19418
19040
  *
19419
19041
  * @summary Authorize guest with oauth login hint token
@@ -19434,48 +19056,6 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
19434
19056
  signUpGuest(body, options) {
19435
19057
  return (0, exports.UsersApiFp)(configuration).signUpGuest(body, options)(fetch, basePath);
19436
19058
  },
19437
- /**
19438
- *
19439
- * @summary Update adviser assignments
19440
- * @param {AdviserUpdateAssignmentsForm} body
19441
- * @param {string} id
19442
- * @param {*} [options] Override http request option.
19443
- * @throws {RequiredError}
19444
- */
19445
- updateAdviserAssignments(body, id, options) {
19446
- return (0, exports.UsersApiFp)(configuration).updateAdviserAssignments(body, id, options)(fetch, basePath);
19447
- },
19448
- /**
19449
- *
19450
- * @summary Update adviser configuration
19451
- * @param {AdviserUpdateConfigurationForm} body
19452
- * @param {string} id
19453
- * @param {*} [options] Override http request option.
19454
- * @throws {RequiredError}
19455
- */
19456
- updateAdviserConfiguration(body, id, options) {
19457
- return (0, exports.UsersApiFp)(configuration).updateAdviserConfiguration(body, id, options)(fetch, basePath);
19458
- },
19459
- /**
19460
- *
19461
- * @summary Batch update advisers' configuration
19462
- * @param {Array<AdviserUpdateAssignmentsForm>} body
19463
- * @param {*} [options] Override http request option.
19464
- * @throws {RequiredError}
19465
- */
19466
- updateAdvisersAssignments(body, options) {
19467
- return (0, exports.UsersApiFp)(configuration).updateAdvisersAssignments(body, options)(fetch, basePath);
19468
- },
19469
- /**
19470
- *
19471
- * @summary Batch update advisers' configuration
19472
- * @param {Array<AdviserUpdateConfigurationForm>} body
19473
- * @param {*} [options] Override http request option.
19474
- * @throws {RequiredError}
19475
- */
19476
- updateAdvisersConfiguration(body, options) {
19477
- return (0, exports.UsersApiFp)(configuration).updateAdvisersConfiguration(body, options)(fetch, basePath);
19478
- },
19479
19059
  /**
19480
19060
  *
19481
19061
  * @summary Update the guest profile.
@@ -19518,18 +19098,6 @@ class UsersApi extends BaseAPI {
19518
19098
  cancelMeetingToken(body, options) {
19519
19099
  return (0, exports.UsersApiFp)(this.configuration).cancelMeetingToken(body, options)(this.fetch, this.basePath);
19520
19100
  }
19521
- /**
19522
- *
19523
- * @summary Change org role for adviser
19524
- * @param {OrgRoleChange} body
19525
- * @param {string} id
19526
- * @param {*} [options] Override http request option.
19527
- * @throws {RequiredError}
19528
- * @memberof UsersApi
19529
- */
19530
- changeOrgRole(body, id, options) {
19531
- return (0, exports.UsersApiFp)(this.configuration).changeOrgRole(body, id, options)(this.fetch, this.basePath);
19532
- }
19533
19101
  /**
19534
19102
  *
19535
19103
  * @summary Change password
@@ -19945,17 +19513,6 @@ class UsersApi extends BaseAPI {
19945
19513
  setAgreement(body, id, options) {
19946
19514
  return (0, exports.UsersApiFp)(this.configuration).setAgreement(body, id, options)(this.fetch, this.basePath);
19947
19515
  }
19948
- /**
19949
- *
19950
- * @summary Set adviser's Closer customer api key.
19951
- * @param {AdviserApiKeyForm} body
19952
- * @param {*} [options] Override http request option.
19953
- * @throws {RequiredError}
19954
- * @memberof UsersApi
19955
- */
19956
- setCloserCustomerApiKey(body, options) {
19957
- return (0, exports.UsersApiFp)(this.configuration).setCloserCustomerApiKey(body, options)(this.fetch, this.basePath);
19958
- }
19959
19516
  /**
19960
19517
  *
19961
19518
  * @summary Authorize guest with oauth login hint token
@@ -19978,52 +19535,6 @@ class UsersApi extends BaseAPI {
19978
19535
  signUpGuest(body, options) {
19979
19536
  return (0, exports.UsersApiFp)(this.configuration).signUpGuest(body, options)(this.fetch, this.basePath);
19980
19537
  }
19981
- /**
19982
- *
19983
- * @summary Update adviser assignments
19984
- * @param {AdviserUpdateAssignmentsForm} body
19985
- * @param {string} id
19986
- * @param {*} [options] Override http request option.
19987
- * @throws {RequiredError}
19988
- * @memberof UsersApi
19989
- */
19990
- updateAdviserAssignments(body, id, options) {
19991
- return (0, exports.UsersApiFp)(this.configuration).updateAdviserAssignments(body, id, options)(this.fetch, this.basePath);
19992
- }
19993
- /**
19994
- *
19995
- * @summary Update adviser configuration
19996
- * @param {AdviserUpdateConfigurationForm} body
19997
- * @param {string} id
19998
- * @param {*} [options] Override http request option.
19999
- * @throws {RequiredError}
20000
- * @memberof UsersApi
20001
- */
20002
- updateAdviserConfiguration(body, id, options) {
20003
- return (0, exports.UsersApiFp)(this.configuration).updateAdviserConfiguration(body, id, options)(this.fetch, this.basePath);
20004
- }
20005
- /**
20006
- *
20007
- * @summary Batch update advisers' configuration
20008
- * @param {Array<AdviserUpdateAssignmentsForm>} body
20009
- * @param {*} [options] Override http request option.
20010
- * @throws {RequiredError}
20011
- * @memberof UsersApi
20012
- */
20013
- updateAdvisersAssignments(body, options) {
20014
- return (0, exports.UsersApiFp)(this.configuration).updateAdvisersAssignments(body, options)(this.fetch, this.basePath);
20015
- }
20016
- /**
20017
- *
20018
- * @summary Batch update advisers' configuration
20019
- * @param {Array<AdviserUpdateConfigurationForm>} body
20020
- * @param {*} [options] Override http request option.
20021
- * @throws {RequiredError}
20022
- * @memberof UsersApi
20023
- */
20024
- updateAdvisersConfiguration(body, options) {
20025
- return (0, exports.UsersApiFp)(this.configuration).updateAdvisersConfiguration(body, options)(this.fetch, this.basePath);
20026
- }
20027
19538
  /**
20028
19539
  *
20029
19540
  * @summary Update the guest profile.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.569",
3
+ "version": "0.12.570",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [