# CkApi

All URIs are relative to _http://localhost_

| Method                                                                        | HTTP request                                 | Description    |
| ----------------------------------------------------------------------------- | -------------------------------------------- | -------------- |
| [**apiCookieInfoJdAccountAddPost**](#apicookieinfojdaccountaddpost)           | **POST** /api/cookieInfo/jd/account/add      | 添加京东ck     |
| [**apiCookieInfoJdAccountDeleteDelete**](#apicookieinfojdaccountdeletedelete) | **DELETE** /api/cookieInfo/jd/account/delete | 删除京东ck     |
| [**apiCookieInfoJdAccountGetGet**](#apicookieinfojdaccountgetget)             | **GET** /api/cookieInfo/jd/account/get       | 获取京东ck     |
| [**apiCookieInfoJdAccountListGet**](#apicookieinfojdaccountlistget)           | **GET** /api/cookieInfo/jd/account/list      | 获取京东ck列表 |
| [**apiCookieInfoJdAccountStatusPut**](#apicookieinfojdaccountstatusput)       | **PUT** /api/cookieInfo/jd/account/status    | 修改京东ck状态 |
| [**apiCookieInfoJdAccountUpdatePut**](#apicookieinfojdaccountupdateput)       | **PUT** /api/cookieInfo/jd/account/update    | 更新京东ck     |
| [**apiCookieInfoJdOrderListGet**](#apicookieinfojdorderlistget)               | **GET** /api/cookieInfo/jd/order/list        | 获取订单列表   |
| [**apiCookieInfoJdOrderPlaceOrderPost**](#apicookieinfojdorderplaceorderpost) | **POST** /api/cookieInfo/jd/order/placeOrder | 下单           |

# **apiCookieInfoJdAccountAddPost**

> object apiCookieInfoJdAccountAddPost()

### Example

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

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

let kamiApiCardRedeemJdV1AccountAddReq: KamiApiCardRedeemJdV1AccountAddReq; // (optional)

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

### Parameters

| Name                                   | Type                                   | Description | Notes |
| -------------------------------------- | -------------------------------------- | ----------- | ----- |
| **kamiApiCardRedeemJdV1AccountAddReq** | **KamiApiCardRedeemJdV1AccountAddReq** |             |       |

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

# **apiCookieInfoJdAccountDeleteDelete**

> object apiCookieInfoJdAccountDeleteDelete()

### Example

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

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

let id: number; // (default to undefined)

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

### Parameters

| Name   | Type         | Description | Notes                 |
| ------ | ------------ | ----------- | --------------------- |
| **id** | [**number**] |             | 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)

# **apiCookieInfoJdAccountGetGet**

> KamiApiCardRedeemJdV1AccountGetRes apiCookieInfoJdAccountGetGet()

### Example

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

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

let id: number; // (default to undefined)

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

### Parameters

| Name   | Type         | Description | Notes                 |
| ------ | ------------ | ----------- | --------------------- |
| **id** | [**number**] |             | defaults to undefined |

### Return type

**KamiApiCardRedeemJdV1AccountGetRes**

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

# **apiCookieInfoJdAccountListGet**

> KamiApiCardRedeemJdV1AccountListRes apiCookieInfoJdAccountListGet()

### Example

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

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

let current: number; //页数 (default to undefined)
let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined)
let status: 'dailyDisable' | 'disable' | 'expired' | 'normal' | 'tmpDisable'; //状态 (optional) (default to undefined)
let name: string; //昵称 (optional) (default to undefined)
let cookie: string; //ck (optional) (default to undefined)

const { status, data } = await apiInstance.apiCookieInfoJdAccountListGet(
  current,
  pageSize,
  status,
  name,
  cookie
);
```

### Parameters

| Name         | Type                        | Description       | Notes                            |
| ------------ | --------------------------- | ----------------- | -------------------------------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | -------------------------------- | --------------------- |
| **current**  | [**number**]                | 页数              | defaults to undefined            |
| **pageSize** | [\*\*5                      | 10                | 15                               | 20               | 50                                                                                                                                                               | 100**]**Array<5 &#124; 10 &#124; 15 &#124; 20 &#124; 50 &#124; 100>\*\* | 页码                             | defaults to undefined |
| **status**   | [\*\*&#39;dailyDisable&#39; | &#39;disable&#39; | &#39;expired&#39;                | &#39;normal&#39; | &#39;tmpDisable&#39;**]**Array<&#39;dailyDisable&#39; &#124; &#39;disable&#39; &#124; &#39;expired&#39; &#124; &#39;normal&#39; &#124; &#39;tmpDisable&#39;>\*\* | 状态                                                                    | (optional) defaults to undefined |
| **name**     | [**string**]                | 昵称              | (optional) defaults to undefined |
| **cookie**   | [**string**]                | ck                | (optional) defaults to undefined |

### Return type

**KamiApiCardRedeemJdV1AccountListRes**

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

# **apiCookieInfoJdAccountStatusPut**

> object apiCookieInfoJdAccountStatusPut()

### Example

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

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

let kamiApiCardRedeemJdV1AccountStatusReq: KamiApiCardRedeemJdV1AccountStatusReq; // (optional)

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

### Parameters

| Name                                      | Type                                      | Description | Notes |
| ----------------------------------------- | ----------------------------------------- | ----------- | ----- |
| **kamiApiCardRedeemJdV1AccountStatusReq** | **KamiApiCardRedeemJdV1AccountStatusReq** |             |       |

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

# **apiCookieInfoJdAccountUpdatePut**

> object apiCookieInfoJdAccountUpdatePut()

### Example

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

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

let kamiApiCardRedeemJdV1AccountUpdateReq: KamiApiCardRedeemJdV1AccountUpdateReq; // (optional)

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

### Parameters

| Name                                      | Type                                      | Description | Notes |
| ----------------------------------------- | ----------------------------------------- | ----------- | ----- |
| **kamiApiCardRedeemJdV1AccountUpdateReq** | **KamiApiCardRedeemJdV1AccountUpdateReq** |             |       |

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

# **apiCookieInfoJdOrderListGet**

> KamiApiCardRedeemJdV1OrderListRes apiCookieInfoJdOrderListGet()

### Example

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

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

let current: number; //页数 (default to undefined)
let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined)
let cookieId: number; //cookieId (optional) (default to undefined)
let cookie: string; //cookie (optional) (default to undefined)
let status: 'init' | 'placeFail' | 'placeSuccess'; //状态 (optional) (default to undefined)

const { status, data } = await apiInstance.apiCookieInfoJdOrderListGet(
  current,
  pageSize,
  cookieId,
  cookie,
  status
);
```

### Parameters

| Name         | Type                | Description         | Notes                                                                                                         |
| ------------ | ------------------- | ------------------- | ------------------------------------------------------------------------------------------------------------- | ---- | -------------------------------- | ----------------------------------------------------------------------- | ---- | --------------------- |
| **current**  | [**number**]        | 页数                | defaults to undefined                                                                                         |
| **pageSize** | [\*\*5              | 10                  | 15                                                                                                            | 20   | 50                               | 100**]**Array<5 &#124; 10 &#124; 15 &#124; 20 &#124; 50 &#124; 100>\*\* | 页码 | defaults to undefined |
| **cookieId** | [**number**]        | cookieId            | (optional) defaults to undefined                                                                              |
| **cookie**   | [**string**]        | cookie              | (optional) defaults to undefined                                                                              |
| **status**   | [\*\*&#39;init&#39; | &#39;placeFail&#39; | &#39;placeSuccess&#39;**]**Array<&#39;init&#39; &#124; &#39;placeFail&#39; &#124; &#39;placeSuccess&#39;>\*\* | 状态 | (optional) defaults to undefined |

### Return type

**KamiApiCardRedeemJdV1OrderListRes**

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

# **apiCookieInfoJdOrderPlaceOrderPost**

> KamiApiCardRedeemJdV1PlaceOrderRes apiCookieInfoJdOrderPlaceOrderPost()

### Example

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

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

let kamiApiCardRedeemJdV1PlaceOrderReq: KamiApiCardRedeemJdV1PlaceOrderReq; // (optional)

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

### Parameters

| Name                                   | Type                                   | Description | Notes |
| -------------------------------------- | -------------------------------------- | ----------- | ----- |
| **kamiApiCardRedeemJdV1PlaceOrderReq** | **KamiApiCardRedeemJdV1PlaceOrderReq** |             |       |

### Return type

**KamiApiCardRedeemJdV1PlaceOrderRes**

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