UNPKG

n8n-nodes-coze

Version:

n8n node for Coze(扣子), supporting AI chat, workflow automation, file processing, and text-to-speech.

58 lines 1.48 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fileProperties = void 0; exports.fileProperties = [ { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['file'], }, }, options: [ { name: 'Upload', value: 'upload', action: 'Upload a file', }, { name: 'Retrieve', value: 'retrieve', action: 'Retrieve a file', }, ], default: 'upload', }, { displayName: 'Binary Property', name: 'binaryPropertyName', type: 'string', default: 'data', required: true, description: 'Name of the binary property which contains the file data to upload', displayOptions: { show: { resource: ['file'], operation: ['upload'], }, }, }, { displayName: 'File ID', name: 'fileId', type: 'string', default: '', required: true, description: 'ID of the file to retrieve', displayOptions: { show: { resource: ['file'], operation: ['retrieve'], }, }, }, ]; //# sourceMappingURL=file.js.map