/** * My API * API documentation for my Laravel app * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { SiteLiteResource } from './SiteLiteResource'; /** * * @export * @interface CouponListResource */ export interface CouponListResource { /** * * @type {number} * @memberof CouponListResource */ id?: number | null; /** * * @type {string} * @memberof CouponListResource */ name: string; /** * * @type {string} * @memberof CouponListResource */ code: string; /** * * @type {string} * @memberof CouponListResource */ type: string; /** * * @type {string} * @memberof CouponListResource */ discountType: string; /** * * @type {number} * @memberof CouponListResource */ discountAmount: number; /** * * @type {Date} * @memberof CouponListResource */ startDate?: Date | null; /** * * @type {Date} * @memberof CouponListResource */ endDate?: Date | null; /** * * @type {boolean} * @memberof CouponListResource */ isAbandonedCart: boolean; /** * * @type {SiteLiteResource} * @memberof CouponListResource */ site: SiteLiteResource | null; /** * * @type {number} * @memberof CouponListResource */ ordersCount: number; /** * * @type {number} * @memberof CouponListResource */ cartsCount: number; } /** * Check if a given object implements the CouponListResource interface. */ export declare function instanceOfCouponListResource(value: object): value is CouponListResource; export declare function CouponListResourceFromJSON(json: any): CouponListResource; export declare function CouponListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CouponListResource; export declare function CouponListResourceToJSON(json: any): CouponListResource; export declare function CouponListResourceToJSONTyped(value?: CouponListResource | null, ignoreDiscriminator?: boolean): any;