interface ZulipNodeParameters {
additionalFields?:
| {
announce?: boolean;
authorizationErrorsFatal?: boolean;
historyPublicToSubscribers?: boolean;
inviteOnly?: boolean;
principals?: { properties: { email: string }[] };
streamPostPolicy?: 1 | 3 | 2;
}
| {
includeAllActive?: boolean;
includeDefault?: boolean;
includeOwnersubscribed?: boolean;
includePublic?: boolean;
includeSubscribed?: boolean;
}
| { includeSubscribers?: boolean }
| {
description?: string;
historyPublicToSubscribers?: boolean;
isAnnouncementOnly?: boolean;
isPrivate?: boolean;
newName?: string;
streamPostPolicy?: 1 | 3 | 2;
}
| {
clientGravatar?: boolean;
includeCustomProfileFields?: boolean;
}
| {
fullName?: string;
isAdmin?: boolean;
isGuest?: boolean;
profileData?: {
property: { id: string; value?: string }[];
};
role?: 200
| 400
| 600
| 300
| 100;
};
additionalFieldsJson?: string;
content?: string;
dataBinaryProperty?: string;
email?: string;
fullName?: string;
jsonParameters?: boolean;
messageId?: string;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "delete"
| "deactivate"
| "sendPrivate"
| "sendStream"
| "updateFile"
| "getSubscribed";
password?: string;
resource?: "message"
| "user"
| "stream";
shortName?: string;
stream?: string;
streamId?: string;
subscriptions?: {
properties: { description: string; name: string }[];
};
to?: unknown[];
topic?: string;
updateFields?: {
content?: string;
propagateMode?: | "changeOne"
| "changeLater"
| "changeAll";
topic?: string;
};
userId?: string;
}
Properties§
Source§readonly additional Fields?:
| {
announce?: boolean;
authorizationErrorsFatal?: boolean;
historyPublicToSubscribers?: boolean;
inviteOnly?: boolean;
principals?: { properties: { email: string }[] };
streamPostPolicy?: 1 | 3 | 2;
}
| {
includeAllActive?: boolean;
includeDefault?: boolean;
includeOwnersubscribed?: boolean;
includePublic?: boolean;
includeSubscribed?: boolean;
}
| { includeSubscribers?: boolean }
| {
description?: string;
historyPublicToSubscribers?: boolean;
isAnnouncementOnly?: boolean;
isPrivate?: boolean;
newName?: string;
streamPostPolicy?: 1 | 3 | 2;
}
| {
clientGravatar?: boolean;
includeCustomProfileFields?: boolean;
}
| {
fullName?: string;
isAdmin?: boolean;
isGuest?: boolean;
profileData?: {
property: { id: string; value?: string }[];
};
role?: 200
| 400
| 600
| 300
| 100;
}
readonly additional Fields?:
| {
announce?: boolean;
authorizationErrorsFatal?: boolean;
historyPublicToSubscribers?: boolean;
inviteOnly?: boolean;
principals?: { properties: { email: string }[] };
streamPostPolicy?: 1 | 3 | 2;
}
| {
includeAllActive?: boolean;
includeDefault?: boolean;
includeOwnersubscribed?: boolean;
includePublic?: boolean;
includeSubscribed?: boolean;
}
| { includeSubscribers?: boolean }
| {
description?: string;
historyPublicToSubscribers?: boolean;
isAnnouncementOnly?: boolean;
isPrivate?: boolean;
newName?: string;
streamPostPolicy?: 1 | 3 | 2;
}
| {
clientGravatar?: boolean;
includeCustomProfileFields?: boolean;
}
| {
fullName?: string;
isAdmin?: boolean;
isGuest?: boolean;
profileData?: {
property: { id: string; value?: string }[];
};
role?: 200
| 400
| 600
| 300
| 100;
}
Source§readonly additional Fields Json?: string
readonly additional Fields Json?: string
JSON format parameters for stream creation Type options: {"alwaysOpenEditWindow":true}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "deactivate"
| "sendPrivate"
| "sendStream"
| "updateFile"
| "getSubscribed"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "deactivate"
| "sendPrivate"
| "sendStream"
| "updateFile"
| "getSubscribed"
Default: "sendPrivate"
Source§readonly stream?: string
readonly stream?: string
The destination stream, or a comma-separated list containing the usernames (emails) of the recipients. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getStreams"}
Source§readonly subscriptions?: { properties: { description: string; name: string }[] }
readonly subscriptions?: { properties: { description: string; name: string }[] }
A list of dictionaries containing the the key name and value specifying the name of the stream to subscribe. If the stream does not exist a new stream is created. Default: {} Type options: {"multipleValues":true}
Source§readonly to?: unknown[]
readonly to?: unknown[]
The destination stream, or a comma-separated list containing the usernames (emails) of the recipients. Choose from the list, or specify IDs using an expression. Default: [] Type options: {"loadOptionsMethod":"getUsers"}
Source§readonly topic?: string
readonly topic?: string
The topic of the message. Only required if type is stream, ignored otherwise. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsDependsOn":["stream"],"loadOptionsMethod":"getTopics"}
Default: {}