@cherryin/api-client 0.0.5 → 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/.openapi-generator/FILES +0 -5
- package/README.md +2 -7
- package/api.ts +85 -123
- package/dist/api.d.ts +50 -83
- package/dist/api.js +70 -75
- package/dist/esm/api.d.ts +50 -83
- package/dist/esm/api.js +70 -75
- package/docs/DiscountAdminServiceApi.md +6 -7
- package/docs/ProviderAdminServiceApi.md +6 -7
- package/docs/ProviderModelAdminServiceApi.md +6 -7
- package/docs/RemoteConfigAdminServiceApi.md +6 -7
- package/docs/UserLabelServiceApi.md +6 -7
- package/package.json +1 -1
- package/docs/DiscountDeleteRequest.md +0 -20
- package/docs/LabelDeleteRequest.md +0 -20
- package/docs/ProviderDeleteRequest.md +0 -21
- package/docs/ProviderModelDeleteRequest.md +0 -21
- package/docs/RemoteConfigItemDeleteRequest.md +0 -20
|
@@ -65,7 +65,7 @@ No authorization required
|
|
|
65
65
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
66
66
|
|
|
67
67
|
# **userLabelServiceLabelDelete**
|
|
68
|
-
> LabelDeleteResponse userLabelServiceLabelDelete(
|
|
68
|
+
> LabelDeleteResponse userLabelServiceLabelDelete()
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
### Example
|
|
@@ -73,17 +73,16 @@ No authorization required
|
|
|
73
73
|
```typescript
|
|
74
74
|
import {
|
|
75
75
|
UserLabelServiceApi,
|
|
76
|
-
Configuration
|
|
77
|
-
LabelDeleteRequest
|
|
76
|
+
Configuration
|
|
78
77
|
} from '@cherryin/api-client';
|
|
79
78
|
|
|
80
79
|
const configuration = new Configuration();
|
|
81
80
|
const apiInstance = new UserLabelServiceApi(configuration);
|
|
82
81
|
|
|
83
|
-
let
|
|
82
|
+
let id: string; //@gotags: form:\"id\" (optional) (default to undefined)
|
|
84
83
|
|
|
85
84
|
const { status, data } = await apiInstance.userLabelServiceLabelDelete(
|
|
86
|
-
|
|
85
|
+
id
|
|
87
86
|
);
|
|
88
87
|
```
|
|
89
88
|
|
|
@@ -91,7 +90,7 @@ const { status, data } = await apiInstance.userLabelServiceLabelDelete(
|
|
|
91
90
|
|
|
92
91
|
|Name | Type | Description | Notes|
|
|
93
92
|
|------------- | ------------- | ------------- | -------------|
|
|
94
|
-
| **
|
|
93
|
+
| **id** | [**string**] | @gotags: form:\"id\" | (optional) defaults to undefined|
|
|
95
94
|
|
|
96
95
|
|
|
97
96
|
### Return type
|
|
@@ -104,7 +103,7 @@ No authorization required
|
|
|
104
103
|
|
|
105
104
|
### HTTP request headers
|
|
106
105
|
|
|
107
|
-
- **Content-Type**:
|
|
106
|
+
- **Content-Type**: Not defined
|
|
108
107
|
- **Accept**: application/json
|
|
109
108
|
|
|
110
109
|
|
package/package.json
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# DiscountDeleteRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | @gotags: form:\"id\" | [optional] [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { DiscountDeleteRequest } from '@cherryin/api-client';
|
|
14
|
-
|
|
15
|
-
const instance: DiscountDeleteRequest = {
|
|
16
|
-
id,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# LabelDeleteRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | @gotags: form:\"id\" | [optional] [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { LabelDeleteRequest } from '@cherryin/api-client';
|
|
14
|
-
|
|
15
|
-
const instance: LabelDeleteRequest = {
|
|
16
|
-
id,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# ProviderDeleteRequest
|
|
2
|
-
|
|
3
|
-
ProviderDeleteRequest 删除 Provider 的请求 Request message for deleting a provider
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **string** | id 要删除的 Provider 的唯一标识符 Unique identifier of the provider to delete @gotags: form:\"id\" binding:\"required\" | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ProviderDeleteRequest } from '@cherryin/api-client';
|
|
15
|
-
|
|
16
|
-
const instance: ProviderDeleteRequest = {
|
|
17
|
-
id,
|
|
18
|
-
};
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# ProviderModelDeleteRequest
|
|
2
|
-
|
|
3
|
-
ProviderModelDeleteRequest 删除 ProviderModel 的请求 Request message for deleting a provider model
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **string** | id 要删除的 ProviderModel 的唯一标识符 Unique identifier of the provider model to delete @gotags: form:\"id\" binding:\"required\" | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ProviderModelDeleteRequest } from '@cherryin/api-client';
|
|
15
|
-
|
|
16
|
-
const instance: ProviderModelDeleteRequest = {
|
|
17
|
-
id,
|
|
18
|
-
};
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# RemoteConfigItemDeleteRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**key** | **string** | | [optional] [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { RemoteConfigItemDeleteRequest } from '@cherryin/api-client';
|
|
14
|
-
|
|
15
|
-
const instance: RemoteConfigItemDeleteRequest = {
|
|
16
|
-
key,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|