ch-admin-api-client-typescript 4.8.3 → 4.8.5
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/lib/api.d.ts +8 -21
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +12 -12
- package/package.json +1 -1
package/lib/api.js
CHANGED
|
@@ -35730,11 +35730,11 @@ var SearchApiAxiosParamCreator = function (configuration) {
|
|
|
35730
35730
|
*
|
|
35731
35731
|
* @summary RecreateIndex
|
|
35732
35732
|
* @param {SearchIndexType} [searchIndexType]
|
|
35733
|
-
* @param {
|
|
35733
|
+
* @param {object} [body]
|
|
35734
35734
|
* @param {*} [options] Override http request option.
|
|
35735
35735
|
* @throws {RequiredError}
|
|
35736
35736
|
*/
|
|
35737
|
-
apiV1SearchRecreatePost: function (searchIndexType,
|
|
35737
|
+
apiV1SearchRecreatePost: function (searchIndexType, body, options) {
|
|
35738
35738
|
if (options === void 0) { options = {}; }
|
|
35739
35739
|
return __awaiter(_this, void 0, void 0, function () {
|
|
35740
35740
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -35763,7 +35763,7 @@ var SearchApiAxiosParamCreator = function (configuration) {
|
|
|
35763
35763
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35764
35764
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35765
35765
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35766
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
35766
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
35767
35767
|
return [2 /*return*/, {
|
|
35768
35768
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35769
35769
|
options: localVarRequestOptions,
|
|
@@ -35786,16 +35786,16 @@ var SearchApiFp = function (configuration) {
|
|
|
35786
35786
|
*
|
|
35787
35787
|
* @summary RecreateIndex
|
|
35788
35788
|
* @param {SearchIndexType} [searchIndexType]
|
|
35789
|
-
* @param {
|
|
35789
|
+
* @param {object} [body]
|
|
35790
35790
|
* @param {*} [options] Override http request option.
|
|
35791
35791
|
* @throws {RequiredError}
|
|
35792
35792
|
*/
|
|
35793
|
-
apiV1SearchRecreatePost: function (searchIndexType,
|
|
35793
|
+
apiV1SearchRecreatePost: function (searchIndexType, body, options) {
|
|
35794
35794
|
return __awaiter(this, void 0, void 0, function () {
|
|
35795
35795
|
var localVarAxiosArgs;
|
|
35796
35796
|
return __generator(this, function (_a) {
|
|
35797
35797
|
switch (_a.label) {
|
|
35798
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchRecreatePost(searchIndexType,
|
|
35798
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchRecreatePost(searchIndexType, body, options)];
|
|
35799
35799
|
case 1:
|
|
35800
35800
|
localVarAxiosArgs = _a.sent();
|
|
35801
35801
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -35817,12 +35817,12 @@ var SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
35817
35817
|
*
|
|
35818
35818
|
* @summary RecreateIndex
|
|
35819
35819
|
* @param {SearchIndexType} [searchIndexType]
|
|
35820
|
-
* @param {
|
|
35820
|
+
* @param {object} [body]
|
|
35821
35821
|
* @param {*} [options] Override http request option.
|
|
35822
35822
|
* @throws {RequiredError}
|
|
35823
35823
|
*/
|
|
35824
|
-
apiV1SearchRecreatePost: function (searchIndexType,
|
|
35825
|
-
return localVarFp.apiV1SearchRecreatePost(searchIndexType,
|
|
35824
|
+
apiV1SearchRecreatePost: function (searchIndexType, body, options) {
|
|
35825
|
+
return localVarFp.apiV1SearchRecreatePost(searchIndexType, body, options).then(function (request) { return request(axios, basePath); });
|
|
35826
35826
|
},
|
|
35827
35827
|
};
|
|
35828
35828
|
};
|
|
@@ -35842,14 +35842,14 @@ var SearchApi = /** @class */ (function (_super) {
|
|
|
35842
35842
|
*
|
|
35843
35843
|
* @summary RecreateIndex
|
|
35844
35844
|
* @param {SearchIndexType} [searchIndexType]
|
|
35845
|
-
* @param {
|
|
35845
|
+
* @param {object} [body]
|
|
35846
35846
|
* @param {*} [options] Override http request option.
|
|
35847
35847
|
* @throws {RequiredError}
|
|
35848
35848
|
* @memberof SearchApi
|
|
35849
35849
|
*/
|
|
35850
|
-
SearchApi.prototype.apiV1SearchRecreatePost = function (searchIndexType,
|
|
35850
|
+
SearchApi.prototype.apiV1SearchRecreatePost = function (searchIndexType, body, options) {
|
|
35851
35851
|
var _this = this;
|
|
35852
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV1SearchRecreatePost(searchIndexType,
|
|
35852
|
+
return (0, exports.SearchApiFp)(this.configuration).apiV1SearchRecreatePost(searchIndexType, body, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35853
35853
|
};
|
|
35854
35854
|
return SearchApi;
|
|
35855
35855
|
}(base_1.BaseAPI));
|