UNPKG

condoit

Version:

[![](https://img.shields.io/badge/Docs-Docs-00a02e?logo=github&style=for-the-badge&color=0000ff)](https://securisec.github.io/condoit/) ![](https://img.shields.io/npm/v/condoit?style=for-the-badge)

71 lines (70 loc) 1.98 kB
import { ErrorCodes, phid } from './iGlobal'; export interface ConperhenceCreatethread { title: string; topic?: string; message?: string; participantPHIDs: Array<phid>; } export interface RetConperhenceCreatethread { conpherenceID: string; conpherencePHID: phid; conpherenceURI: string; } export interface conpherenceEditTransactions { type: 'name' | 'topic' | 'participants.add' | 'participants.remove' | 'participants.set' | 'view' | 'edit' | 'comment' | 'mfa'; value: any; } export interface ConperhenceEdit { transactions: Array<conpherenceEditTransactions>; objectIdentifier: number | string; } export interface ConpherenceQuerythread { ids?: Array<number>; phids?: Array<phid>; offset?: number; limit?: number; } export interface RetConpherenceQuerythread extends ErrorCodes { result: { [id: string]: { conpherenceID: string; conpherencePHID: phid; conpherenceTitle: string; messageCount: string; conpherenceURI: string; }; }; } export interface ConpherenceQuerytransaction { roomID?: number; roomPHID?: phid; offset?: number; limit?: number; } export interface RetConpherenceQuerytransaction extends ErrorCodes { result: { [index: string]: { transactionID: string; transactionType: string; transactionTitle: string; transactionComment: string; transactionOldValue: string; transactionNewValue: string; transactionMetadata: { 'core.groupID': string; }; authorPHID: phid; dateCreated: string; roomID: string; roomPHID: phid; }; }; } export interface ConperhenceUpdatethread { id: string; phid: phid; title: string; message: string; addParticipantPHIDs: Array<phid>; removeParticipantPHIDs: Array<phid>; }