/**
* The Selling Partner API for Support
* The Selling Partner API for Support provides programmatic access to information about Selling Partner support.
*
* The version of the OpenAPI document: 2025-02-01
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
*/
/**
* The ChatEvent model module.
* @module support_v2025_02_01/model/ChatEvent
* @version 2025-02-01
*/
export declare class ChatEvent {
timestamp: Date;
type: string;
/**
* Constructs a new ChatEvent.
* A single event from a chat contact.
* @alias module:support_v2025_02_01/model/ChatEvent
* @class
* @param timestamp {Date} The time at which the event occurred.
* @param type {String} The type of chat event.
*/
constructor(timestamp: Date, type: string);
/**
* Constructs a ChatEvent from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data to obj if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {ChatEvent} obj Optional instance to populate.
* @return {ChatEvent} The populated ChatEvent instance.
*/
static constructFromObject(data: Object, obj: ChatEvent): ChatEvent;
}
export declare namespace ChatEvent {
var TypeEnum: {
/**
* value: "MESSAGE"
* @const
*/
MESSAGE: string;
/**
* value: "ATTACHMENT"
* @const
*/
ATTACHMENT: string;
/**
* value: "PARTICIPANT_JOINED"
* @const
*/
PARTICIPANT_JOINED: string;
/**
* value: "PARTICIPANT_LEFT"
* @const
*/
PARTICIPANT_LEFT: string;
/**
* value: "PARTICIPANT_IDLE"
* @const
*/
PARTICIPANT_IDLE: string;
/**
* value: "CHAT_ENDED"
* @const
*/
CHAT_ENDED: string;
};
}
//# sourceMappingURL=ChatEvent.d.ts.map