# JDCookieManagementApi

All URIs are relative to _http://localhost_

| Method                                                                              | HTTP request                                     | Description                  |
| ----------------------------------------------------------------------------------- | ------------------------------------------------ | ---------------------------- |
| [**apiJdCookieAccountBatchCreatePost**](#apijdcookieaccountbatchcreatepost)         | **POST** /api/jd-cookie/account/batch-create     | Batch Create Cookie Accounts |
| [**apiJdCookieAccountBatchValidatePost**](#apijdcookieaccountbatchvalidatepost)     | **POST** /api/jd-cookie/account/batch-validate   | Batch Validate Cookies       |
| [**apiJdCookieAccountCreatePost**](#apijdcookieaccountcreatepost)                   | **POST** /api/jd-cookie/account/create           | Create Cookie Account        |
| [**apiJdCookieAccountDeleteDelete**](#apijdcookieaccountdeletedelete)               | **DELETE** /api/jd-cookie/account/delete         | Delete Cookie Account        |
| [**apiJdCookieAccountDeleteInvalidDelete**](#apijdcookieaccountdeleteinvaliddelete) | **DELETE** /api/jd-cookie/account/delete-invalid | Delete All Invalid Cookies   |
| [**apiJdCookieAccountGetGet**](#apijdcookieaccountgetget)                           | **GET** /api/jd-cookie/account/get               | Get Single Cookie Account    |
| [**apiJdCookieAccountListGet**](#apijdcookieaccountlistget)                         | **GET** /api/jd-cookie/account/list              | Query Cookie Account List    |
| [**apiJdCookieAccountUpdatePut**](#apijdcookieaccountupdateput)                     | **PUT** /api/jd-cookie/account/update            | Update Cookie Account        |
| [**apiJdCookieAccountValidatePost**](#apijdcookieaccountvalidatepost)               | **POST** /api/jd-cookie/account/validate         | Validate Cookie              |

# **apiJdCookieAccountBatchCreatePost**

> KamiApiJdCookieV1BatchCreateRes apiJdCookieAccountBatchCreatePost()

### Example

```typescript
import {
  JDCookieManagementApi,
  Configuration,
  KamiApiJdCookieV1BatchCreateReq
} from './api';

const configuration = new Configuration();
const apiInstance = new JDCookieManagementApi(configuration);

let kamiApiJdCookieV1BatchCreateReq: KamiApiJdCookieV1BatchCreateReq; // (optional)

const { status, data } = await apiInstance.apiJdCookieAccountBatchCreatePost(
  kamiApiJdCookieV1BatchCreateReq
);
```

### Parameters

| Name                                | Type                                | Description | Notes |
| ----------------------------------- | ----------------------------------- | ----------- | ----- |
| **kamiApiJdCookieV1BatchCreateReq** | **KamiApiJdCookieV1BatchCreateReq** |             |       |

### Return type

**KamiApiJdCookieV1BatchCreateRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[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)

# **apiJdCookieAccountBatchValidatePost**

> KamiApiJdCookieV1BatchValidateCookieRes apiJdCookieAccountBatchValidatePost()

### Example

```typescript
import {
  JDCookieManagementApi,
  Configuration,
  KamiApiJdCookieV1BatchValidateCookieReq
} from './api';

const configuration = new Configuration();
const apiInstance = new JDCookieManagementApi(configuration);

let kamiApiJdCookieV1BatchValidateCookieReq: KamiApiJdCookieV1BatchValidateCookieReq; // (optional)

const { status, data } = await apiInstance.apiJdCookieAccountBatchValidatePost(
  kamiApiJdCookieV1BatchValidateCookieReq
);
```

### Parameters

| Name                                        | Type                                        | Description | Notes |
| ------------------------------------------- | ------------------------------------------- | ----------- | ----- |
| **kamiApiJdCookieV1BatchValidateCookieReq** | **KamiApiJdCookieV1BatchValidateCookieReq** |             |       |

### Return type

**KamiApiJdCookieV1BatchValidateCookieRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[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)

# **apiJdCookieAccountCreatePost**

> KamiApiJdCookieV1CreateAccountRes apiJdCookieAccountCreatePost()

### Example

```typescript
import {
  JDCookieManagementApi,
  Configuration,
  KamiApiJdCookieV1CreateAccountReq
} from './api';

const configuration = new Configuration();
const apiInstance = new JDCookieManagementApi(configuration);

let kamiApiJdCookieV1CreateAccountReq: KamiApiJdCookieV1CreateAccountReq; // (optional)

const { status, data } = await apiInstance.apiJdCookieAccountCreatePost(
  kamiApiJdCookieV1CreateAccountReq
);
```

### Parameters

| Name                                  | Type                                  | Description | Notes |
| ------------------------------------- | ------------------------------------- | ----------- | ----- |
| **kamiApiJdCookieV1CreateAccountReq** | **KamiApiJdCookieV1CreateAccountReq** |             |       |

### Return type

**KamiApiJdCookieV1CreateAccountRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[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)

# **apiJdCookieAccountDeleteDelete**

> object apiJdCookieAccountDeleteDelete()

### Example

```typescript
import { JDCookieManagementApi, Configuration } from './api';

const configuration = new Configuration();
const apiInstance = new JDCookieManagementApi(configuration);

let cookieId: string; //Cookie ID (default to undefined)

const { status, data } =
  await apiInstance.apiJdCookieAccountDeleteDelete(cookieId);
```

### Parameters

| Name         | Type         | Description | Notes                 |
| ------------ | ------------ | ----------- | --------------------- |
| **cookieId** | [**string**] | Cookie ID   | defaults to undefined |

### Return type

**object**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[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)

# **apiJdCookieAccountDeleteInvalidDelete**

> KamiApiJdCookieV1DeleteInvalidRes apiJdCookieAccountDeleteInvalidDelete()

### Example

```typescript
import { JDCookieManagementApi, Configuration } from './api';

const configuration = new Configuration();
const apiInstance = new JDCookieManagementApi(configuration);

const { status, data } =
  await apiInstance.apiJdCookieAccountDeleteInvalidDelete();
```

### Parameters

This endpoint does not have any parameters.

### Return type

**KamiApiJdCookieV1DeleteInvalidRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[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)

# **apiJdCookieAccountGetGet**

> KamiApiJdCookieV1GetAccountRes apiJdCookieAccountGetGet()

### Example

```typescript
import { JDCookieManagementApi, Configuration } from './api';

const configuration = new Configuration();
const apiInstance = new JDCookieManagementApi(configuration);

let cookieId: string; //Cookie ID (default to undefined)

const { status, data } = await apiInstance.apiJdCookieAccountGetGet(cookieId);
```

### Parameters

| Name         | Type         | Description | Notes                 |
| ------------ | ------------ | ----------- | --------------------- |
| **cookieId** | [**string**] | Cookie ID   | defaults to undefined |

### Return type

**KamiApiJdCookieV1GetAccountRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[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)

# **apiJdCookieAccountListGet**

> KamiApiJdCookieV1ListAccountRes apiJdCookieAccountListGet()

### Example

```typescript
import { JDCookieManagementApi, Configuration } from './api';

const configuration = new Configuration();
const apiInstance = new JDCookieManagementApi(configuration);

let page: number; //页码 (optional) (default to 1)
let size: number; //每页大小 (optional) (default to 20)
let status: 3 | 1 | 2 | 0; //状态筛选 (optional) (default to undefined)
let keyword: string; //关键字搜索 (optional) (default to undefined)

const { status, data } = await apiInstance.apiJdCookieAccountListGet(
  page,
  size,
  status,
  keyword
);
```

### Parameters

| Name        | Type         | Description | Notes                            |
| ----------- | ------------ | ----------- | -------------------------------- | --------------------------------------------- | -------- | -------------------------------- |
| **page**    | [**number**] | 页码        | (optional) defaults to 1         |
| **size**    | [**number**] | 每页大小    | (optional) defaults to 20        |
| **status**  | [\*\*3       | 1           | 2                                | 0**]**Array<3 &#124; 1 &#124; 2 &#124; 0>\*\* | 状态筛选 | (optional) defaults to undefined |
| **keyword** | [**string**] | 关键字搜索  | (optional) defaults to undefined |

### Return type

**KamiApiJdCookieV1ListAccountRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[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)

# **apiJdCookieAccountUpdatePut**

> object apiJdCookieAccountUpdatePut()

### Example

```typescript
import {
  JDCookieManagementApi,
  Configuration,
  KamiApiJdCookieV1UpdateAccountReq
} from './api';

const configuration = new Configuration();
const apiInstance = new JDCookieManagementApi(configuration);

let kamiApiJdCookieV1UpdateAccountReq: KamiApiJdCookieV1UpdateAccountReq; // (optional)

const { status, data } = await apiInstance.apiJdCookieAccountUpdatePut(
  kamiApiJdCookieV1UpdateAccountReq
);
```

### Parameters

| Name                                  | Type                                  | Description | Notes |
| ------------------------------------- | ------------------------------------- | ----------- | ----- |
| **kamiApiJdCookieV1UpdateAccountReq** | **KamiApiJdCookieV1UpdateAccountReq** |             |       |

### Return type

**object**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[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)

# **apiJdCookieAccountValidatePost**

> KamiApiJdCookieV1ValidateCookieRes apiJdCookieAccountValidatePost()

### Example

```typescript
import {
  JDCookieManagementApi,
  Configuration,
  KamiApiJdCookieV1ValidateCookieReq
} from './api';

const configuration = new Configuration();
const apiInstance = new JDCookieManagementApi(configuration);

let kamiApiJdCookieV1ValidateCookieReq: KamiApiJdCookieV1ValidateCookieReq; // (optional)

const { status, data } = await apiInstance.apiJdCookieAccountValidatePost(
  kamiApiJdCookieV1ValidateCookieReq
);
```

### Parameters

| Name                                   | Type                                   | Description | Notes |
| -------------------------------------- | -------------------------------------- | ----------- | ----- |
| **kamiApiJdCookieV1ValidateCookieReq** | **KamiApiJdCookieV1ValidateCookieReq** |             |       |

### Return type

**KamiApiJdCookieV1ValidateCookieRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[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)
