@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
111 lines • 2.59 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.properties = void 0;
exports.properties = [
{
displayName: 'POST /v2/actor-tasks',
name: 'operation',
type: 'notice',
typeOptions: {
theme: 'info',
},
default: '',
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Create task'],
},
},
},
{
displayName: 'Act Id',
required: true,
name: 'actId',
type: 'string',
default: 'asADASadYvn4mBZmm',
routing: {
request: {
body: {
actId: '={{ $value }}',
},
},
},
displayOptions: {
hide: {
useCustomBody: [true],
},
show: {
resource: ['Actor tasks'],
operation: ['Create task'],
},
},
},
{
displayName: 'Name',
required: true,
name: 'name',
type: 'string',
default: 'my-task',
routing: {
request: {
body: {
name: '={{ $value }}',
},
},
},
displayOptions: {
hide: {
useCustomBody: [true],
},
show: {
resource: ['Actor tasks'],
operation: ['Create task'],
},
},
},
{
displayName: 'Options',
name: 'options',
type: 'string',
default: '',
routing: {
request: {
body: {
options: '={{ $value }}',
},
},
},
displayOptions: {
hide: {
useCustomBody: [true],
},
show: {
resource: ['Actor tasks'],
operation: ['Create task'],
},
},
},
{
displayName: 'Input',
name: 'input',
type: 'string',
default: '',
routing: {
request: {
body: {
input: '={{ $value }}',
},
},
},
displayOptions: {
hide: {
useCustomBody: [true],
},
show: {
resource: ['Actor tasks'],
operation: ['Create task'],
},
},
},
];
//# sourceMappingURL=properties.js.map