n8n-nodes-chatwork
Version:
Provides an n8n community node for integrating Chatwork messaging and task APIs into automated workflows.
31 lines • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.roomUploadFileProperties = void 0;
const enums_1 = require("../../shared/enums");
const properties_1 = require("../../shared/properties");
const utils_1 = require("../../shared/utils");
exports.roomUploadFileProperties = (0, utils_1.withDisplayOptions)([
properties_1.roomIdProperty,
{
displayName: 'Input Data Field Name',
name: 'binaryPropertyName',
type: 'string',
default: 'data',
required: true,
description: 'The name of the incoming field containing the binary file data to be uploaded',
},
{
displayName: 'Message Body',
name: 'message',
type: 'string',
default: '',
placeholder: 'New file message',
description: 'Message body to send with the file',
},
], {
show: {
resource: [enums_1.Resource.ROOM],
operation: [enums_1.RoomOperations.UPLOAD_FILE],
},
});
//# sourceMappingURL=uploadFile.js.map