@salad-labs/loopz-typescript
Version:
The Official Loopz TypeScript SDK
39 lines • 1.33 kB
TypeScript
/**
* Defines the schema for a conversation member.
* @interface ConversationMemberSchema
*/
export interface ConversationMemberSchema {
/**
* @property {string} id - The unique identifier of the conversation member.
*/
id: string;
/**
* @property {string} conversationId - The ID of the conversation the member belongs to, if available.
*/
conversationId: string;
/**
* @property {string} userId - The ID of the user who is a member of the conversation.
*/
userId: string;
/**
* @property {"USER" | "ADMINISTRATOR"} type - The type of the conversation member, either "USER" or "ADMINISTRATOR".
*/
type: "USER" | "ADMINISTRATOR";
/**
* @property {string} encryptedConversationAESKey - The AES key used for encrypting messages in the conversation.
*/
encryptedConversationAESKey: string;
/**
* @property {string} encryptedConversationIVKey - The IV key used for decrypting messages in the conversation.
*/
encryptedConversationIVKey: string;
/**
* @property { Date} createdAt - The creation date of the current object.
*/
createdAt: Date;
/**
* @property { Date} updatedAt - The updated date of the current object.
*/
updatedAt: Date;
}
//# sourceMappingURL=conversationmember.d.ts.map