@cherryin/api-client 0.0.6 → 0.0.7

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.js CHANGED
@@ -2714,13 +2714,11 @@ const DiscountAdminServiceApiAxiosParamCreator = function (configuration) {
2714
2714
  }),
2715
2715
  /**
2716
2716
  * DiscountDelete 删除折扣接口
2717
- * @param {DiscountDeleteRequest} discountDeleteRequest
2717
+ * @param {string} [id] @gotags: form:\"id\"
2718
2718
  * @param {*} [options] Override http request option.
2719
2719
  * @throws {RequiredError}
2720
2720
  */
2721
- discountAdminServiceDiscountDelete: (discountDeleteRequest_1, ...args_1) => __awaiter(this, [discountDeleteRequest_1, ...args_1], void 0, function* (discountDeleteRequest, options = {}) {
2722
- // verify required parameter 'discountDeleteRequest' is not null or undefined
2723
- (0, common_1.assertParamExists)('discountAdminServiceDiscountDelete', 'discountDeleteRequest', discountDeleteRequest);
2721
+ discountAdminServiceDiscountDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
2724
2722
  const localVarPath = `/admin/discount/delete`;
2725
2723
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2726
2724
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2731,11 +2729,12 @@ const DiscountAdminServiceApiAxiosParamCreator = function (configuration) {
2731
2729
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2732
2730
  const localVarHeaderParameter = {};
2733
2731
  const localVarQueryParameter = {};
2734
- localVarHeaderParameter['Content-Type'] = 'application/json';
2732
+ if (id !== undefined) {
2733
+ localVarQueryParameter['id'] = id;
2734
+ }
2735
2735
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2736
2736
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2737
2737
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2738
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(discountDeleteRequest, localVarRequestOptions, configuration);
2739
2738
  return {
2740
2739
  url: (0, common_1.toPathString)(localVarUrlObj),
2741
2740
  options: localVarRequestOptions,
@@ -2860,14 +2859,14 @@ const DiscountAdminServiceApiFp = function (configuration) {
2860
2859
  },
2861
2860
  /**
2862
2861
  * DiscountDelete 删除折扣接口
2863
- * @param {DiscountDeleteRequest} discountDeleteRequest
2862
+ * @param {string} [id] @gotags: form:\"id\"
2864
2863
  * @param {*} [options] Override http request option.
2865
2864
  * @throws {RequiredError}
2866
2865
  */
2867
- discountAdminServiceDiscountDelete(discountDeleteRequest, options) {
2866
+ discountAdminServiceDiscountDelete(id, options) {
2868
2867
  return __awaiter(this, void 0, void 0, function* () {
2869
2868
  var _a, _b, _c;
2870
- const localVarAxiosArgs = yield localVarAxiosParamCreator.discountAdminServiceDiscountDelete(discountDeleteRequest, options);
2869
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.discountAdminServiceDiscountDelete(id, options);
2871
2870
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2872
2871
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DiscountAdminServiceApi.discountAdminServiceDiscountDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2873
2872
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2940,12 +2939,12 @@ const DiscountAdminServiceApiFactory = function (configuration, basePath, axios)
2940
2939
  },
2941
2940
  /**
2942
2941
  * DiscountDelete 删除折扣接口
2943
- * @param {DiscountDeleteRequest} discountDeleteRequest
2942
+ * @param {string} [id] @gotags: form:\"id\"
2944
2943
  * @param {*} [options] Override http request option.
2945
2944
  * @throws {RequiredError}
2946
2945
  */
2947
- discountAdminServiceDiscountDelete(discountDeleteRequest, options) {
2948
- return localVarFp.discountAdminServiceDiscountDelete(discountDeleteRequest, options).then((request) => request(axios, basePath));
2946
+ discountAdminServiceDiscountDelete(id, options) {
2947
+ return localVarFp.discountAdminServiceDiscountDelete(id, options).then((request) => request(axios, basePath));
2949
2948
  },
2950
2949
  /**
2951
2950
  * DiscountGet 获取折扣接口
@@ -2994,12 +2993,12 @@ class DiscountAdminServiceApi extends base_1.BaseAPI {
2994
2993
  }
2995
2994
  /**
2996
2995
  * DiscountDelete 删除折扣接口
2997
- * @param {DiscountDeleteRequest} discountDeleteRequest
2996
+ * @param {string} [id] @gotags: form:\"id\"
2998
2997
  * @param {*} [options] Override http request option.
2999
2998
  * @throws {RequiredError}
3000
2999
  */
3001
- discountAdminServiceDiscountDelete(discountDeleteRequest, options) {
3002
- return (0, exports.DiscountAdminServiceApiFp)(this.configuration).discountAdminServiceDiscountDelete(discountDeleteRequest, options).then((request) => request(this.axios, this.basePath));
3000
+ discountAdminServiceDiscountDelete(id, options) {
3001
+ return (0, exports.DiscountAdminServiceApiFp)(this.configuration).discountAdminServiceDiscountDelete(id, options).then((request) => request(this.axios, this.basePath));
3003
3002
  }
3004
3003
  /**
3005
3004
  * DiscountGet 获取折扣接口
@@ -3428,13 +3427,11 @@ const ProviderModelAdminServiceApiAxiosParamCreator = function (configuration) {
3428
3427
  }),
3429
3428
  /**
3430
3429
  * ProviderModelDelete 删除 ProviderModel(软删除) Delete a provider model (soft delete) 请求路径: POST /admin/provider-model/delete Request path: POST /admin/provider-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
3431
- * @param {ProviderModelDeleteRequest} providerModelDeleteRequest
3430
+ * @param {string} [id] id 要删除的 ProviderModel 的唯一标识符 Unique identifier of the provider model to delete @gotags: form:\"id\" binding:\"required\"
3432
3431
  * @param {*} [options] Override http request option.
3433
3432
  * @throws {RequiredError}
3434
3433
  */
3435
- providerModelAdminServiceProviderModelDelete: (providerModelDeleteRequest_1, ...args_1) => __awaiter(this, [providerModelDeleteRequest_1, ...args_1], void 0, function* (providerModelDeleteRequest, options = {}) {
3436
- // verify required parameter 'providerModelDeleteRequest' is not null or undefined
3437
- (0, common_1.assertParamExists)('providerModelAdminServiceProviderModelDelete', 'providerModelDeleteRequest', providerModelDeleteRequest);
3434
+ providerModelAdminServiceProviderModelDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
3438
3435
  const localVarPath = `/admin/provider-model/delete`;
3439
3436
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3440
3437
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3445,11 +3442,12 @@ const ProviderModelAdminServiceApiAxiosParamCreator = function (configuration) {
3445
3442
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3446
3443
  const localVarHeaderParameter = {};
3447
3444
  const localVarQueryParameter = {};
3448
- localVarHeaderParameter['Content-Type'] = 'application/json';
3445
+ if (id !== undefined) {
3446
+ localVarQueryParameter['id'] = id;
3447
+ }
3449
3448
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3450
3449
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3451
3450
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3452
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(providerModelDeleteRequest, localVarRequestOptions, configuration);
3453
3451
  return {
3454
3452
  url: (0, common_1.toPathString)(localVarUrlObj),
3455
3453
  options: localVarRequestOptions,
@@ -3582,14 +3580,14 @@ const ProviderModelAdminServiceApiFp = function (configuration) {
3582
3580
  },
3583
3581
  /**
3584
3582
  * ProviderModelDelete 删除 ProviderModel(软删除) Delete a provider model (soft delete) 请求路径: POST /admin/provider-model/delete Request path: POST /admin/provider-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
3585
- * @param {ProviderModelDeleteRequest} providerModelDeleteRequest
3583
+ * @param {string} [id] id 要删除的 ProviderModel 的唯一标识符 Unique identifier of the provider model to delete @gotags: form:\"id\" binding:\"required\"
3586
3584
  * @param {*} [options] Override http request option.
3587
3585
  * @throws {RequiredError}
3588
3586
  */
3589
- providerModelAdminServiceProviderModelDelete(providerModelDeleteRequest, options) {
3587
+ providerModelAdminServiceProviderModelDelete(id, options) {
3590
3588
  return __awaiter(this, void 0, void 0, function* () {
3591
3589
  var _a, _b, _c;
3592
- const localVarAxiosArgs = yield localVarAxiosParamCreator.providerModelAdminServiceProviderModelDelete(providerModelDeleteRequest, options);
3590
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.providerModelAdminServiceProviderModelDelete(id, options);
3593
3591
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3594
3592
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProviderModelAdminServiceApi.providerModelAdminServiceProviderModelDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3595
3593
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3664,12 +3662,12 @@ const ProviderModelAdminServiceApiFactory = function (configuration, basePath, a
3664
3662
  },
3665
3663
  /**
3666
3664
  * ProviderModelDelete 删除 ProviderModel(软删除) Delete a provider model (soft delete) 请求路径: POST /admin/provider-model/delete Request path: POST /admin/provider-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
3667
- * @param {ProviderModelDeleteRequest} providerModelDeleteRequest
3665
+ * @param {string} [id] id 要删除的 ProviderModel 的唯一标识符 Unique identifier of the provider model to delete @gotags: form:\"id\" binding:\"required\"
3668
3666
  * @param {*} [options] Override http request option.
3669
3667
  * @throws {RequiredError}
3670
3668
  */
3671
- providerModelAdminServiceProviderModelDelete(providerModelDeleteRequest, options) {
3672
- return localVarFp.providerModelAdminServiceProviderModelDelete(providerModelDeleteRequest, options).then((request) => request(axios, basePath));
3669
+ providerModelAdminServiceProviderModelDelete(id, options) {
3670
+ return localVarFp.providerModelAdminServiceProviderModelDelete(id, options).then((request) => request(axios, basePath));
3673
3671
  },
3674
3672
  /**
3675
3673
  * ProviderModelGet 根据 ID 获取单个 ProviderModel Retrieve a single provider model by ID 请求路径: GET /admin/provider-model/get?id={id} Request path: GET /admin/provider-model/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
@@ -3720,12 +3718,12 @@ class ProviderModelAdminServiceApi extends base_1.BaseAPI {
3720
3718
  }
3721
3719
  /**
3722
3720
  * ProviderModelDelete 删除 ProviderModel(软删除) Delete a provider model (soft delete) 请求路径: POST /admin/provider-model/delete Request path: POST /admin/provider-model/delete 权限要求: 需要管理员权限 Permission: Requires admin authentication
3723
- * @param {ProviderModelDeleteRequest} providerModelDeleteRequest
3721
+ * @param {string} [id] id 要删除的 ProviderModel 的唯一标识符 Unique identifier of the provider model to delete @gotags: form:\"id\" binding:\"required\"
3724
3722
  * @param {*} [options] Override http request option.
3725
3723
  * @throws {RequiredError}
3726
3724
  */
3727
- providerModelAdminServiceProviderModelDelete(providerModelDeleteRequest, options) {
3728
- return (0, exports.ProviderModelAdminServiceApiFp)(this.configuration).providerModelAdminServiceProviderModelDelete(providerModelDeleteRequest, options).then((request) => request(this.axios, this.basePath));
3725
+ providerModelAdminServiceProviderModelDelete(id, options) {
3726
+ return (0, exports.ProviderModelAdminServiceApiFp)(this.configuration).providerModelAdminServiceProviderModelDelete(id, options).then((request) => request(this.axios, this.basePath));
3729
3727
  }
3730
3728
  /**
3731
3729
  * ProviderModelGet 根据 ID 获取单个 ProviderModel Retrieve a single provider model by ID 请求路径: GET /admin/provider-model/get?id={id} Request path: GET /admin/provider-model/get?id={id} 权限要求: 需要管理员权限 Permission: Requires admin authentication
@@ -3796,13 +3794,11 @@ const RemoteConfigAdminServiceApiAxiosParamCreator = function (configuration) {
3796
3794
  }),
3797
3795
  /**
3798
3796
  * RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
3799
- * @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
3797
+ * @param {string} [key]
3800
3798
  * @param {*} [options] Override http request option.
3801
3799
  * @throws {RequiredError}
3802
3800
  */
3803
- remoteConfigAdminServiceRemoteConfigItemDelete: (remoteConfigItemDeleteRequest_1, ...args_1) => __awaiter(this, [remoteConfigItemDeleteRequest_1, ...args_1], void 0, function* (remoteConfigItemDeleteRequest, options = {}) {
3804
- // verify required parameter 'remoteConfigItemDeleteRequest' is not null or undefined
3805
- (0, common_1.assertParamExists)('remoteConfigAdminServiceRemoteConfigItemDelete', 'remoteConfigItemDeleteRequest', remoteConfigItemDeleteRequest);
3801
+ remoteConfigAdminServiceRemoteConfigItemDelete: (key_1, ...args_1) => __awaiter(this, [key_1, ...args_1], void 0, function* (key, options = {}) {
3806
3802
  const localVarPath = `/admin/remote-config/delete`;
3807
3803
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3808
3804
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3813,11 +3809,12 @@ const RemoteConfigAdminServiceApiAxiosParamCreator = function (configuration) {
3813
3809
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3814
3810
  const localVarHeaderParameter = {};
3815
3811
  const localVarQueryParameter = {};
3816
- localVarHeaderParameter['Content-Type'] = 'application/json';
3812
+ if (key !== undefined) {
3813
+ localVarQueryParameter['key'] = key;
3814
+ }
3817
3815
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3818
3816
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3819
3817
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3820
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(remoteConfigItemDeleteRequest, localVarRequestOptions, configuration);
3821
3818
  return {
3822
3819
  url: (0, common_1.toPathString)(localVarUrlObj),
3823
3820
  options: localVarRequestOptions,
@@ -3950,14 +3947,14 @@ const RemoteConfigAdminServiceApiFp = function (configuration) {
3950
3947
  },
3951
3948
  /**
3952
3949
  * RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
3953
- * @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
3950
+ * @param {string} [key]
3954
3951
  * @param {*} [options] Override http request option.
3955
3952
  * @throws {RequiredError}
3956
3953
  */
3957
- remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest, options) {
3954
+ remoteConfigAdminServiceRemoteConfigItemDelete(key, options) {
3958
3955
  return __awaiter(this, void 0, void 0, function* () {
3959
3956
  var _a, _b, _c;
3960
- const localVarAxiosArgs = yield localVarAxiosParamCreator.remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest, options);
3957
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.remoteConfigAdminServiceRemoteConfigItemDelete(key, options);
3961
3958
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3962
3959
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RemoteConfigAdminServiceApi.remoteConfigAdminServiceRemoteConfigItemDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3963
3960
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4032,12 +4029,12 @@ const RemoteConfigAdminServiceApiFactory = function (configuration, basePath, ax
4032
4029
  },
4033
4030
  /**
4034
4031
  * RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
4035
- * @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
4032
+ * @param {string} [key]
4036
4033
  * @param {*} [options] Override http request option.
4037
4034
  * @throws {RequiredError}
4038
4035
  */
4039
- remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest, options) {
4040
- return localVarFp.remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest, options).then((request) => request(axios, basePath));
4036
+ remoteConfigAdminServiceRemoteConfigItemDelete(key, options) {
4037
+ return localVarFp.remoteConfigAdminServiceRemoteConfigItemDelete(key, options).then((request) => request(axios, basePath));
4041
4038
  },
4042
4039
  /**
4043
4040
  * RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
@@ -4088,12 +4085,12 @@ class RemoteConfigAdminServiceApi extends base_1.BaseAPI {
4088
4085
  }
4089
4086
  /**
4090
4087
  * RemoteConfigItemDelete 删除已有的 远程配置项 请求路径: POST /admin/remote-config/delete 权限要求: 需要管理员权限
4091
- * @param {RemoteConfigItemDeleteRequest} remoteConfigItemDeleteRequest
4088
+ * @param {string} [key]
4092
4089
  * @param {*} [options] Override http request option.
4093
4090
  * @throws {RequiredError}
4094
4091
  */
4095
- remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest, options) {
4096
- return (0, exports.RemoteConfigAdminServiceApiFp)(this.configuration).remoteConfigAdminServiceRemoteConfigItemDelete(remoteConfigItemDeleteRequest, options).then((request) => request(this.axios, this.basePath));
4092
+ remoteConfigAdminServiceRemoteConfigItemDelete(key, options) {
4093
+ return (0, exports.RemoteConfigAdminServiceApiFp)(this.configuration).remoteConfigAdminServiceRemoteConfigItemDelete(key, options).then((request) => request(this.axios, this.basePath));
4097
4094
  }
4098
4095
  /**
4099
4096
  * RemoteConfigItemGet 获取指定的 远程配置项 及其历史版本 请求路径: GET /admin/remote-config/get 权限要求: 需要管理员权限
@@ -4894,13 +4891,11 @@ const UserLabelServiceApiAxiosParamCreator = function (configuration) {
4894
4891
  }),
4895
4892
  /**
4896
4893
  *
4897
- * @param {LabelDeleteRequest} labelDeleteRequest
4894
+ * @param {string} [id] @gotags: form:\"id\"
4898
4895
  * @param {*} [options] Override http request option.
4899
4896
  * @throws {RequiredError}
4900
4897
  */
4901
- userLabelServiceLabelDelete: (labelDeleteRequest_1, ...args_1) => __awaiter(this, [labelDeleteRequest_1, ...args_1], void 0, function* (labelDeleteRequest, options = {}) {
4902
- // verify required parameter 'labelDeleteRequest' is not null or undefined
4903
- (0, common_1.assertParamExists)('userLabelServiceLabelDelete', 'labelDeleteRequest', labelDeleteRequest);
4898
+ userLabelServiceLabelDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
4904
4899
  const localVarPath = `/admin/label/delete`;
4905
4900
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4906
4901
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4911,11 +4906,12 @@ const UserLabelServiceApiAxiosParamCreator = function (configuration) {
4911
4906
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
4912
4907
  const localVarHeaderParameter = {};
4913
4908
  const localVarQueryParameter = {};
4914
- localVarHeaderParameter['Content-Type'] = 'application/json';
4909
+ if (id !== undefined) {
4910
+ localVarQueryParameter['id'] = id;
4911
+ }
4915
4912
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4916
4913
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4917
4914
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4918
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(labelDeleteRequest, localVarRequestOptions, configuration);
4919
4915
  return {
4920
4916
  url: (0, common_1.toPathString)(localVarUrlObj),
4921
4917
  options: localVarRequestOptions,
@@ -5103,14 +5099,14 @@ const UserLabelServiceApiFp = function (configuration) {
5103
5099
  },
5104
5100
  /**
5105
5101
  *
5106
- * @param {LabelDeleteRequest} labelDeleteRequest
5102
+ * @param {string} [id] @gotags: form:\"id\"
5107
5103
  * @param {*} [options] Override http request option.
5108
5104
  * @throws {RequiredError}
5109
5105
  */
5110
- userLabelServiceLabelDelete(labelDeleteRequest, options) {
5106
+ userLabelServiceLabelDelete(id, options) {
5111
5107
  return __awaiter(this, void 0, void 0, function* () {
5112
5108
  var _a, _b, _c;
5113
- const localVarAxiosArgs = yield localVarAxiosParamCreator.userLabelServiceLabelDelete(labelDeleteRequest, options);
5109
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.userLabelServiceLabelDelete(id, options);
5114
5110
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5115
5111
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserLabelServiceApi.userLabelServiceLabelDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5116
5112
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5214,12 +5210,12 @@ const UserLabelServiceApiFactory = function (configuration, basePath, axios) {
5214
5210
  },
5215
5211
  /**
5216
5212
  *
5217
- * @param {LabelDeleteRequest} labelDeleteRequest
5213
+ * @param {string} [id] @gotags: form:\"id\"
5218
5214
  * @param {*} [options] Override http request option.
5219
5215
  * @throws {RequiredError}
5220
5216
  */
5221
- userLabelServiceLabelDelete(labelDeleteRequest, options) {
5222
- return localVarFp.userLabelServiceLabelDelete(labelDeleteRequest, options).then((request) => request(axios, basePath));
5217
+ userLabelServiceLabelDelete(id, options) {
5218
+ return localVarFp.userLabelServiceLabelDelete(id, options).then((request) => request(axios, basePath));
5223
5219
  },
5224
5220
  /**
5225
5221
  *
@@ -5287,12 +5283,12 @@ class UserLabelServiceApi extends base_1.BaseAPI {
5287
5283
  }
5288
5284
  /**
5289
5285
  *
5290
- * @param {LabelDeleteRequest} labelDeleteRequest
5286
+ * @param {string} [id] @gotags: form:\"id\"
5291
5287
  * @param {*} [options] Override http request option.
5292
5288
  * @throws {RequiredError}
5293
5289
  */
5294
- userLabelServiceLabelDelete(labelDeleteRequest, options) {
5295
- return (0, exports.UserLabelServiceApiFp)(this.configuration).userLabelServiceLabelDelete(labelDeleteRequest, options).then((request) => request(this.axios, this.basePath));
5290
+ userLabelServiceLabelDelete(id, options) {
5291
+ return (0, exports.UserLabelServiceApiFp)(this.configuration).userLabelServiceLabelDelete(id, options).then((request) => request(this.axios, this.basePath));
5296
5292
  }
5297
5293
  /**
5298
5294
  *