This commit refactors the JD cookie management API and associated components to improve maintainability and consistency. Key changes include: - Updated API client to include `CkApi` for JD cookie operations. - Added new models and updated existing ones for JD cookie management. - Refactored components to use the updated API and models. - Removed unused code and streamlined the logic for adding, updating, and deleting JD cookies.
42 lines
1.0 KiB
TypeScript
42 lines
1.0 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
*
|
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
*
|
|
* The version of the OpenAPI document:
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface KamiApiCardRedeemJdV1AccountStatusReq
|
|
*/
|
|
export interface KamiApiCardRedeemJdV1AccountStatusReq {
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof KamiApiCardRedeemJdV1AccountStatusReq
|
|
*/
|
|
id: number;
|
|
/**
|
|
* 状态
|
|
* @type {string}
|
|
* @memberof KamiApiCardRedeemJdV1AccountStatusReq
|
|
*/
|
|
status: KamiApiCardRedeemJdV1AccountStatusReqStatusEnum;
|
|
}
|
|
|
|
export const KamiApiCardRedeemJdV1AccountStatusReqStatusEnum = {
|
|
Disable: 'disable',
|
|
Normal: 'normal'
|
|
} as const;
|
|
|
|
export type KamiApiCardRedeemJdV1AccountStatusReqStatusEnum =
|
|
(typeof KamiApiCardRedeemJdV1AccountStatusReqStatusEnum)[keyof typeof KamiApiCardRedeemJdV1AccountStatusReqStatusEnum];
|