@closerplatform/spinner-openapi 0.12.65 → 0.12.66
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 +33 -0
- package/dist/api.js +89 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -14098,6 +14098,14 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
|
|
|
14098
14098
|
* @throws {RequiredError}
|
|
14099
14099
|
*/
|
|
14100
14100
|
putAgentPreferences(body: PreferencesForm, options?: any): FetchArgs;
|
|
14101
|
+
/**
|
|
14102
|
+
*
|
|
14103
|
+
* @summary Reinit customer
|
|
14104
|
+
* @param {string} customerId
|
|
14105
|
+
* @param {*} [options] Override http request option.
|
|
14106
|
+
* @throws {RequiredError}
|
|
14107
|
+
*/
|
|
14108
|
+
reinitCustomer(customerId: string, options?: any): FetchArgs;
|
|
14101
14109
|
/**
|
|
14102
14110
|
*
|
|
14103
14111
|
* @summary Restore deactivated adviser account
|
|
@@ -14515,6 +14523,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
14515
14523
|
* @throws {RequiredError}
|
|
14516
14524
|
*/
|
|
14517
14525
|
putAgentPreferences(body: PreferencesForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
14526
|
+
/**
|
|
14527
|
+
*
|
|
14528
|
+
* @summary Reinit customer
|
|
14529
|
+
* @param {string} customerId
|
|
14530
|
+
* @param {*} [options] Override http request option.
|
|
14531
|
+
* @throws {RequiredError}
|
|
14532
|
+
*/
|
|
14533
|
+
reinitCustomer(customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
14518
14534
|
/**
|
|
14519
14535
|
*
|
|
14520
14536
|
* @summary Restore deactivated adviser account
|
|
@@ -14932,6 +14948,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
14932
14948
|
* @throws {RequiredError}
|
|
14933
14949
|
*/
|
|
14934
14950
|
putAgentPreferences(body: PreferencesForm, options?: any): Promise<Response>;
|
|
14951
|
+
/**
|
|
14952
|
+
*
|
|
14953
|
+
* @summary Reinit customer
|
|
14954
|
+
* @param {string} customerId
|
|
14955
|
+
* @param {*} [options] Override http request option.
|
|
14956
|
+
* @throws {RequiredError}
|
|
14957
|
+
*/
|
|
14958
|
+
reinitCustomer(customerId: string, options?: any): Promise<Response>;
|
|
14935
14959
|
/**
|
|
14936
14960
|
*
|
|
14937
14961
|
* @summary Restore deactivated adviser account
|
|
@@ -15382,6 +15406,15 @@ export declare class UsersApi extends BaseAPI {
|
|
|
15382
15406
|
* @memberof UsersApi
|
|
15383
15407
|
*/
|
|
15384
15408
|
putAgentPreferences(body: PreferencesForm, options?: any): Promise<Response>;
|
|
15409
|
+
/**
|
|
15410
|
+
*
|
|
15411
|
+
* @summary Reinit customer
|
|
15412
|
+
* @param {string} customerId
|
|
15413
|
+
* @param {*} [options] Override http request option.
|
|
15414
|
+
* @throws {RequiredError}
|
|
15415
|
+
* @memberof UsersApi
|
|
15416
|
+
*/
|
|
15417
|
+
reinitCustomer(customerId: string, options?: any): Promise<Response>;
|
|
15385
15418
|
/**
|
|
15386
15419
|
*
|
|
15387
15420
|
* @summary Restore deactivated adviser account
|
package/dist/api.js
CHANGED
|
@@ -16489,6 +16489,54 @@ exports.UsersApiFetchParamCreator = function (configuration) {
|
|
|
16489
16489
|
options: localVarRequestOptions,
|
|
16490
16490
|
};
|
|
16491
16491
|
},
|
|
16492
|
+
/**
|
|
16493
|
+
*
|
|
16494
|
+
* @summary Reinit customer
|
|
16495
|
+
* @param {string} customerId
|
|
16496
|
+
* @param {*} [options] Override http request option.
|
|
16497
|
+
* @throws {RequiredError}
|
|
16498
|
+
*/
|
|
16499
|
+
reinitCustomer(customerId, options = {}) {
|
|
16500
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
16501
|
+
if (customerId === null || customerId === undefined) {
|
|
16502
|
+
throw new RequiredError('customerId', 'Required parameter customerId was null or undefined when calling reinitCustomer.');
|
|
16503
|
+
}
|
|
16504
|
+
const localVarPath = `/users/guest/{customerId}/reinit`
|
|
16505
|
+
.replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
|
|
16506
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
16507
|
+
const localVarRequestOptions = Object.assign({ method: 'DELETE' }, options);
|
|
16508
|
+
const localVarHeaderParameter = {};
|
|
16509
|
+
const localVarQueryParameter = {};
|
|
16510
|
+
// authentication apiKey required
|
|
16511
|
+
if (configuration && configuration.apiKey) {
|
|
16512
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
16513
|
+
? configuration.apiKey("X-Api-Key")
|
|
16514
|
+
: configuration.apiKey;
|
|
16515
|
+
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
16516
|
+
}
|
|
16517
|
+
// authentication fingerprintAuth required
|
|
16518
|
+
if (configuration && configuration.apiKey) {
|
|
16519
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
16520
|
+
? configuration.apiKey("X-Fingerprint")
|
|
16521
|
+
: configuration.apiKey;
|
|
16522
|
+
localVarHeaderParameter["X-Fingerprint"] = localVarApiKeyValue;
|
|
16523
|
+
}
|
|
16524
|
+
// authentication secondaryApiKey required
|
|
16525
|
+
if (configuration && configuration.apiKey) {
|
|
16526
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
16527
|
+
? configuration.apiKey("X-Secondary-Api-Key")
|
|
16528
|
+
: configuration.apiKey;
|
|
16529
|
+
localVarHeaderParameter["X-Secondary-Api-Key"] = localVarApiKeyValue;
|
|
16530
|
+
}
|
|
16531
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
16532
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
16533
|
+
delete localVarUrlObj.search;
|
|
16534
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
16535
|
+
return {
|
|
16536
|
+
url: url.format(localVarUrlObj),
|
|
16537
|
+
options: localVarRequestOptions,
|
|
16538
|
+
};
|
|
16539
|
+
},
|
|
16492
16540
|
/**
|
|
16493
16541
|
*
|
|
16494
16542
|
* @summary Restore deactivated adviser account
|
|
@@ -17884,6 +17932,26 @@ exports.UsersApiFp = function (configuration) {
|
|
|
17884
17932
|
});
|
|
17885
17933
|
};
|
|
17886
17934
|
},
|
|
17935
|
+
/**
|
|
17936
|
+
*
|
|
17937
|
+
* @summary Reinit customer
|
|
17938
|
+
* @param {string} customerId
|
|
17939
|
+
* @param {*} [options] Override http request option.
|
|
17940
|
+
* @throws {RequiredError}
|
|
17941
|
+
*/
|
|
17942
|
+
reinitCustomer(customerId, options) {
|
|
17943
|
+
const localVarFetchArgs = exports.UsersApiFetchParamCreator(configuration).reinitCustomer(customerId, options);
|
|
17944
|
+
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
17945
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
17946
|
+
if (response.status >= 200 && response.status < 300) {
|
|
17947
|
+
return response;
|
|
17948
|
+
}
|
|
17949
|
+
else {
|
|
17950
|
+
throw response;
|
|
17951
|
+
}
|
|
17952
|
+
});
|
|
17953
|
+
};
|
|
17954
|
+
},
|
|
17887
17955
|
/**
|
|
17888
17956
|
*
|
|
17889
17957
|
* @summary Restore deactivated adviser account
|
|
@@ -18605,6 +18673,16 @@ exports.UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
18605
18673
|
putAgentPreferences(body, options) {
|
|
18606
18674
|
return exports.UsersApiFp(configuration).putAgentPreferences(body, options)(fetch, basePath);
|
|
18607
18675
|
},
|
|
18676
|
+
/**
|
|
18677
|
+
*
|
|
18678
|
+
* @summary Reinit customer
|
|
18679
|
+
* @param {string} customerId
|
|
18680
|
+
* @param {*} [options] Override http request option.
|
|
18681
|
+
* @throws {RequiredError}
|
|
18682
|
+
*/
|
|
18683
|
+
reinitCustomer(customerId, options) {
|
|
18684
|
+
return exports.UsersApiFp(configuration).reinitCustomer(customerId, options)(fetch, basePath);
|
|
18685
|
+
},
|
|
18608
18686
|
/**
|
|
18609
18687
|
*
|
|
18610
18688
|
* @summary Restore deactivated adviser account
|
|
@@ -19158,6 +19236,17 @@ class UsersApi extends BaseAPI {
|
|
|
19158
19236
|
putAgentPreferences(body, options) {
|
|
19159
19237
|
return exports.UsersApiFp(this.configuration).putAgentPreferences(body, options)(this.fetch, this.basePath);
|
|
19160
19238
|
}
|
|
19239
|
+
/**
|
|
19240
|
+
*
|
|
19241
|
+
* @summary Reinit customer
|
|
19242
|
+
* @param {string} customerId
|
|
19243
|
+
* @param {*} [options] Override http request option.
|
|
19244
|
+
* @throws {RequiredError}
|
|
19245
|
+
* @memberof UsersApi
|
|
19246
|
+
*/
|
|
19247
|
+
reinitCustomer(customerId, options) {
|
|
19248
|
+
return exports.UsersApiFp(this.configuration).reinitCustomer(customerId, options)(this.fetch, this.basePath);
|
|
19249
|
+
}
|
|
19161
19250
|
/**
|
|
19162
19251
|
*
|
|
19163
19252
|
* @summary Restore deactivated adviser account
|