/** * kameleo-local-api * You can use the following API endpoints to communicate with the local running Kameleo programmatically. * * The version of the OpenAPI document: 4.4.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 * as runtime from "../runtime"; import type { BrowserCookie, CookieRequest } from "../models/index"; export interface AddCookiesRequest { guid: string; cookieRequest?: Array; } export interface DeleteCookiesRequest { guid: string; } export interface ListCookiesRequest { guid: string; } /** * */ export declare class CookieApi extends runtime.BaseAPI { /** * Adds a list of cookies to the profile, allowing you to inject cookies before starting the profile. If cookies already exist for a domain, they will be replaced with the new ones. */ addCookiesRaw(requestParameters: AddCookiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Adds a list of cookies to the profile, allowing you to inject cookies before starting the profile. If cookies already exist for a domain, they will be replaced with the new ones. */ addCookies(guid: string, cookieRequest?: Array, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deletes all the cookies stored in the profile, which will likely log the profile out of all websites. */ deleteCookiesRaw(requestParameters: DeleteCookiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deletes all the cookies stored in the profile, which will likely log the profile out of all websites. */ deleteCookies(guid: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Retrieves the list of cookies stored in the profile\'s browser. Note that this list does not include session cookies, which are not persisted between browser launches. */ listCookiesRaw(requestParameters: ListCookiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Retrieves the list of cookies stored in the profile\'s browser. Note that this list does not include session cookies, which are not persisted between browser launches. */ listCookies(guid: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; }