Interface GoogleChatNodeParameters

Source
interface GoogleChatNodeParameters {
    additionalFields?: { requestId?: string };
    approvalOptions?: {
        values: {
            approvalType?: "single" | "double";
            approveLabel?: string;
            disapproveLabel?: string;
        };
    };
    authentication?: "oAuth2"
    | "serviceAccount";
    defineForm?: "json" | "fields";
    formFields?: {
        values: {
            acceptFileTypes?: string;
            elementName?: string;
            fieldLabel: string;
            fieldName?: string;
            fieldOptions: { values: { option?: string }[] };
            fieldType:
                | "number"
                | "file"
                | "text"
                | "email"
                | "date"
                | "html"
                | "checkbox"
                | "dropdown"
                | "hiddenField"
                | "password"
                | "radio"
                | "textarea";
            fieldValue?: string;
            formatDate?: string;
            html?: string;
            limitSelection?: "exact"
            | "range"
            | "unlimited";
            maxSelections?: number;
            minSelections?: number;
            multipleFiles?: boolean;
            multiselect?: boolean;
            multiselectLegacyNotice?: string;
            numberOfSelections?: number;
            placeholder?: string;
            requiredField?: boolean;
        }[];
    };
    jsonOutput?: string;
    jsonParameters?: boolean;
    limit?: number;
    memberId?: string;
    message?: string;
    messageId?: string;
    messageJson?: string;
    messageUi?: { text?: string };
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "delete"
        | "sendAndWait";
    options?: | {
        appendAttribution?: boolean;
        limitWaitTime?: {
            values: {
                limitType?: | "afterTimeInterval"
                | "atSpecifiedTime";
                maxDateAndTime?: string;
                resumeAmount?: number;
                resumeUnit?: "minutes"
                | "hours"
                | "days";
            };
        };
    }
    | {
        appendAttribution?: boolean;
        limitWaitTime?: {
            values: {
                limitType?: | "afterTimeInterval"
                | "atSpecifiedTime";
                maxDateAndTime?: string;
                resumeAmount?: number;
                resumeUnit?: "minutes"
                | "hours"
                | "days";
            };
        };
        messageButtonLabel?: string;
        responseFormButtonLabel?: string;
        responseFormCustomCss?: string;
        responseFormDescription?: string;
        responseFormTitle?: string;
    };
    resource?: "message"
    | "member"
    | "space";
    responseType?: "approval" | "freeText" | "customForm";
    returnAll?: boolean;
    spaceId?: string;
    updateFieldsJson?: string;
    updateFieldsUi?: { text?: string };
}

Properties§

Source§

readonly additionalFields?: { requestId?: string }

Default: {}

Source§

readonly approvalOptions?: {
    values: {
        approvalType?: "single" | "double";
        approveLabel?: string;
        disapproveLabel?: string;
    };
}

Default: {}

Source§

readonly authentication?: "oAuth2" | "serviceAccount"

Default: "serviceAccount"

Source§

readonly defineForm?: "json" | "fields"

Default: "fields"

Source§

readonly formFields?: {
    values: {
        acceptFileTypes?: string;
        elementName?: string;
        fieldLabel: string;
        fieldName?: string;
        fieldOptions: { values: { option?: string }[] };
        fieldType:
            | "number"
            | "file"
            | "text"
            | "email"
            | "date"
            | "html"
            | "checkbox"
            | "dropdown"
            | "hiddenField"
            | "password"
            | "radio"
            | "textarea";
        fieldValue?: string;
        formatDate?: string;
        html?: string;
        limitSelection?: "exact"
        | "range"
        | "unlimited";
        maxSelections?: number;
        minSelections?: number;
        multipleFiles?: boolean;
        multiselect?: boolean;
        multiselectLegacyNotice?: string;
        numberOfSelections?: number;
        placeholder?: string;
        requiredField?: boolean;
    }[];
}

Default: {} Type options: {"multipleValues":true,"sortable":true}

Source§

readonly jsonOutput?: string

Default: "[\n {\n "fieldLabel":"Name",\n "placeholder":"enter you name",\n "requiredField":true\n },\n {\n "fieldLabel":"Age",\n "fieldType":"number",\n "placeholder":"enter your age"\n },\n {\n "fieldLabel":"Email",\n "fieldType":"email",\n "requiredField":true\n }\n]" Type options: {"rows":5}

Source§

readonly jsonParameters?: boolean

Whether to pass the message object as JSON

Source§

readonly limit?: number

Max number of results to return Default: 100 Type options: {"maxValue":1000}

Source§

readonly memberId?: string

Member to be retrieved in the form "spaces//members/"

Source§

readonly message?: string

Type options: {"rows":4}

Source§

readonly messageId?: string

Resource name of the message to be deleted, in the form "spaces//messages/"

Source§

readonly messageJson?: string

Message input as JSON Object or JSON String Type options: {"alwaysOpenEditWindow":true}

Source§

readonly messageUi?: { text?: string }

Default: {}

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "sendAndWait"

Default: "get"

Source§

readonly options?:
    | {
        appendAttribution?: boolean;
        limitWaitTime?: {
            values: {
                limitType?: | "afterTimeInterval"
                | "atSpecifiedTime";
                maxDateAndTime?: string;
                resumeAmount?: number;
                resumeUnit?: "minutes"
                | "hours"
                | "days";
            };
        };
    }
    | {
        appendAttribution?: boolean;
        limitWaitTime?: {
            values: {
                limitType?: | "afterTimeInterval"
                | "atSpecifiedTime";
                maxDateAndTime?: string;
                resumeAmount?: number;
                resumeUnit?: "minutes"
                | "hours"
                | "days";
            };
        };
        messageButtonLabel?: string;
        responseFormButtonLabel?: string;
        responseFormCustomCss?: string;
        responseFormDescription?: string;
        responseFormTitle?: string;
    }

Default: {}

Source§

readonly resource?: "message" | "member" | "space"

Default: "message"

Source§

readonly responseType?: "approval" | "freeText" | "customForm"

Default: "approval"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly spaceId?: string

The name of the space for which to retrieve members, in the form "spaces/*". Choose from the list, or specify an ID using an expression. Default: [] Type options: {"loadOptionsMethod":"getSpaces"}

Source§

readonly updateFieldsJson?: string

Message input as JSON Object or JSON String Type options: {"alwaysOpenEditWindow":true}

Source§

readonly updateFieldsUi?: { text?: string }

Default: {}