@drivelock/n8n-nodes-drivelock 0.1.3 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist/credentials/DrivelockApi.credentials.js +2 -2
- package/dist/credentials/DrivelockApi.credentials.js.map +1 -1
- package/dist/nodes/Drivelock/Drivelock.node.d.ts +6 -0
- package/dist/nodes/Drivelock/Drivelock.node.js +639 -105
- package/dist/nodes/Drivelock/Drivelock.node.js.map +1 -1
- package/dist/nodes/Drivelock/helper/CustomPropertyHelper.js.map +1 -0
- package/dist/nodes/Drivelock/helper/FilterBuilder.d.ts +25 -0
- package/dist/nodes/Drivelock/helper/FilterBuilder.js +153 -0
- package/dist/nodes/Drivelock/helper/FilterBuilder.js.map +1 -0
- package/dist/nodes/Drivelock/{GenericFunctions.d.ts → helper/GenericFunctions.d.ts} +1 -1
- package/dist/nodes/Drivelock/helper/GenericFunctions.js +77 -0
- package/dist/nodes/Drivelock/helper/GenericFunctions.js.map +1 -0
- package/dist/nodes/Drivelock/helper/ValidationHelpers.d.ts +6 -0
- package/dist/nodes/Drivelock/helper/ValidationHelpers.js +64 -0
- package/dist/nodes/Drivelock/helper/ValidationHelpers.js.map +1 -0
- package/dist/nodes/Drivelock/{utils.d.ts → helper/utils.d.ts} +1 -1
- package/dist/nodes/Drivelock/helper/utils.js.map +1 -0
- package/dist/nodes/Drivelock/operations/ApplicationRuleOperations.d.ts +2 -0
- package/dist/nodes/Drivelock/operations/ApplicationRuleOperations.js +121 -0
- package/dist/nodes/Drivelock/operations/ApplicationRuleOperations.js.map +1 -0
- package/dist/nodes/Drivelock/{BinariesOperations.js → operations/BinariesOperations.js} +56 -10
- package/dist/nodes/Drivelock/operations/BinariesOperations.js.map +1 -0
- package/dist/nodes/Drivelock/operations/ComputerOperations.d.ts +2 -0
- package/dist/nodes/Drivelock/operations/ComputerOperations.js +284 -0
- package/dist/nodes/Drivelock/operations/ComputerOperations.js.map +1 -0
- package/dist/nodes/Drivelock/{CustomPropertyOperations.js → operations/CustomPropertyOperations.js} +13 -7
- package/dist/nodes/Drivelock/operations/CustomPropertyOperations.js.map +1 -0
- package/dist/nodes/Drivelock/operations/DeviceRuleOperations.d.ts +2 -0
- package/dist/nodes/Drivelock/operations/DeviceRuleOperations.js +130 -0
- package/dist/nodes/Drivelock/operations/DeviceRuleOperations.js.map +1 -0
- package/dist/nodes/Drivelock/operations/DriveRuleOperations.d.ts +2 -0
- package/dist/nodes/Drivelock/operations/DriveRuleOperations.js +130 -0
- package/dist/nodes/Drivelock/operations/DriveRuleOperations.js.map +1 -0
- package/dist/nodes/Drivelock/operations/EntityBinariesOperations.d.ts +2 -0
- package/dist/nodes/Drivelock/operations/EntityBinariesOperations.js +347 -0
- package/dist/nodes/Drivelock/operations/EntityBinariesOperations.js.map +1 -0
- package/dist/nodes/Drivelock/operations/EntityOperations.d.ts +2 -0
- package/dist/nodes/Drivelock/operations/EntityOperations.js +340 -0
- package/dist/nodes/Drivelock/operations/EntityOperations.js.map +1 -0
- package/dist/nodes/Drivelock/operations/FilterOperations.d.ts +2 -0
- package/dist/nodes/Drivelock/operations/FilterOperations.js +184 -0
- package/dist/nodes/Drivelock/operations/FilterOperations.js.map +1 -0
- package/dist/nodes/Drivelock/operations/GroupOperations.d.ts +2 -0
- package/dist/nodes/Drivelock/operations/GroupOperations.js +74 -0
- package/dist/nodes/Drivelock/operations/GroupOperations.js.map +1 -0
- package/dist/nodes/Drivelock/operations/PolicyOperations.d.ts +2 -0
- package/dist/nodes/Drivelock/operations/PolicyOperations.js +96 -0
- package/dist/nodes/Drivelock/operations/PolicyOperations.js.map +1 -0
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/nodes/Drivelock/ApplicationRulePropertyOperations.d.ts +0 -2
- package/dist/nodes/Drivelock/ApplicationRulePropertyOperations.js +0 -50
- package/dist/nodes/Drivelock/ApplicationRulePropertyOperations.js.map +0 -1
- package/dist/nodes/Drivelock/BinariesOperations.js.map +0 -1
- package/dist/nodes/Drivelock/CustomPropertyHelper.js.map +0 -1
- package/dist/nodes/Drivelock/CustomPropertyOperations.js.map +0 -1
- package/dist/nodes/Drivelock/GenericFunctions.js +0 -48
- package/dist/nodes/Drivelock/GenericFunctions.js.map +0 -1
- package/dist/nodes/Drivelock/utils.js.map +0 -1
- /package/dist/nodes/Drivelock/{CustomPropertyHelper.d.ts → helper/CustomPropertyHelper.d.ts} +0 -0
- /package/dist/nodes/Drivelock/{CustomPropertyHelper.js → helper/CustomPropertyHelper.js} +0 -0
- /package/dist/nodes/Drivelock/{utils.js → helper/utils.js} +0 -0
- /package/dist/nodes/Drivelock/{BinariesOperations.d.ts → operations/BinariesOperations.d.ts} +0 -0
- /package/dist/nodes/Drivelock/{CustomPropertyOperations.d.ts → operations/CustomPropertyOperations.d.ts} +0 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.driveRuleOperations = void 0;
|
|
4
|
+
exports.driveRuleOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['driveRules'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Create Rules',
|
|
18
|
+
value: 'createRules',
|
|
19
|
+
description: 'Create drive control rules',
|
|
20
|
+
action: 'Create drive rules',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'Delete Rules',
|
|
24
|
+
value: 'deleteRules',
|
|
25
|
+
description: 'Delete drive control rules',
|
|
26
|
+
action: 'Delete drive rules',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Collections',
|
|
30
|
+
value: 'getCollections',
|
|
31
|
+
description: 'Get drive collections',
|
|
32
|
+
action: 'Get drive collections',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get Rule by ID',
|
|
36
|
+
value: 'getRule',
|
|
37
|
+
description: 'Get a single drive control rule by its rule ID',
|
|
38
|
+
action: 'Get drive rule by ID',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Get Rules',
|
|
42
|
+
value: 'getRules',
|
|
43
|
+
description: 'Get drive control rules',
|
|
44
|
+
action: 'Get drive rules',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Update Collections',
|
|
48
|
+
value: 'updateCollections',
|
|
49
|
+
description: 'Update drive collections',
|
|
50
|
+
action: 'Update drive collections',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Update Rules',
|
|
54
|
+
value: 'updateRules',
|
|
55
|
+
description: 'Update drive control rules',
|
|
56
|
+
action: 'Update drive rules',
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
default: 'getRules',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
displayName: 'Config ID',
|
|
63
|
+
name: 'configId',
|
|
64
|
+
type: 'string',
|
|
65
|
+
displayOptions: {
|
|
66
|
+
show: {
|
|
67
|
+
resource: ['driveRules'],
|
|
68
|
+
operation: ['createRules', 'deleteRules', 'getCollections', 'getRules', 'updateCollections', 'updateRules'],
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
default: '',
|
|
72
|
+
required: true,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Config Version',
|
|
76
|
+
name: 'configVersion',
|
|
77
|
+
type: 'number',
|
|
78
|
+
displayOptions: {
|
|
79
|
+
show: {
|
|
80
|
+
resource: ['driveRules'],
|
|
81
|
+
operation: ['createRules', 'deleteRules', 'getCollections', 'getRules', 'updateCollections', 'updateRules'],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
default: 0,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
displayName: 'Rule Name or ID',
|
|
88
|
+
name: 'ruleId',
|
|
89
|
+
type: 'options',
|
|
90
|
+
typeOptions: {
|
|
91
|
+
loadOptionsMethod: 'getDriveRuleIds',
|
|
92
|
+
},
|
|
93
|
+
displayOptions: {
|
|
94
|
+
show: {
|
|
95
|
+
resource: ['driveRules'],
|
|
96
|
+
operation: ['getRule'],
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
default: '',
|
|
100
|
+
required: true,
|
|
101
|
+
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
displayName: 'Rules/Collections',
|
|
105
|
+
name: 'rulesData',
|
|
106
|
+
type: 'json',
|
|
107
|
+
displayOptions: {
|
|
108
|
+
show: {
|
|
109
|
+
resource: ['driveRules'],
|
|
110
|
+
operation: ['createRules', 'updateRules', 'updateCollections'],
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
default: '[]',
|
|
114
|
+
required: true,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
displayName: 'Rule IDs',
|
|
118
|
+
name: 'ruleIds',
|
|
119
|
+
type: 'string',
|
|
120
|
+
displayOptions: {
|
|
121
|
+
show: {
|
|
122
|
+
resource: ['driveRules'],
|
|
123
|
+
operation: ['deleteRules'],
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
default: '',
|
|
127
|
+
required: true,
|
|
128
|
+
},
|
|
129
|
+
];
|
|
130
|
+
//# sourceMappingURL=DriveRuleOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DriveRuleOperations.js","sourceRoot":"","sources":["../../../../nodes/Drivelock/operations/DriveRuleOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IAIlD;QACI,WAAW,EAAE,WAAW;QACxB,I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O,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;KACjB;CACJ,CAAC"}
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.entityBinariesOperations = void 0;
|
|
4
|
+
exports.entityBinariesOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Return All',
|
|
7
|
+
name: 'returnAll',
|
|
8
|
+
type: 'boolean',
|
|
9
|
+
displayOptions: {
|
|
10
|
+
show: {
|
|
11
|
+
resource: ['entity'],
|
|
12
|
+
operation: ['getList'],
|
|
13
|
+
entityName: ['AcBinaries'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
default: true,
|
|
17
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Limit',
|
|
21
|
+
name: 'limit',
|
|
22
|
+
type: 'number',
|
|
23
|
+
displayOptions: {
|
|
24
|
+
show: {
|
|
25
|
+
resource: ['entity'],
|
|
26
|
+
operation: ['getList'],
|
|
27
|
+
entityName: ['AcBinaries'],
|
|
28
|
+
returnAll: [false],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
typeOptions: {
|
|
32
|
+
minValue: 1,
|
|
33
|
+
maxValue: 250,
|
|
34
|
+
},
|
|
35
|
+
default: 50,
|
|
36
|
+
description: 'Max number of results to return',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
displayName: 'Get Full Object Return',
|
|
40
|
+
name: 'getFullObject',
|
|
41
|
+
type: 'boolean',
|
|
42
|
+
displayOptions: {
|
|
43
|
+
show: {
|
|
44
|
+
resource: ['entity'],
|
|
45
|
+
operation: ['getList'],
|
|
46
|
+
entityName: ['AcBinaries'],
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
default: true,
|
|
50
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Properties to Include',
|
|
54
|
+
name: 'properties',
|
|
55
|
+
type: 'multiOptions',
|
|
56
|
+
default: [],
|
|
57
|
+
displayOptions: {
|
|
58
|
+
show: {
|
|
59
|
+
resource: ['entity'],
|
|
60
|
+
operation: ['getList'],
|
|
61
|
+
entityName: ['AcBinaries'],
|
|
62
|
+
getFullObject: [false],
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
description: 'Whether to include specific Company properties in the returned results. Choose from a list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
66
|
+
options: [
|
|
67
|
+
{
|
|
68
|
+
name: 'File Hash',
|
|
69
|
+
value: 'fileHash',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Version',
|
|
73
|
+
value: 'versionInfo'
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'Version Description',
|
|
77
|
+
value: 'verDescription'
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'Product',
|
|
81
|
+
value: 'product'
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'Date Created',
|
|
85
|
+
value: 'createdDate'
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'Certificate ID',
|
|
89
|
+
value: 'acCertificateID'
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'File Size',
|
|
93
|
+
value: 'fileSize'
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'Binary',
|
|
97
|
+
value: 'displayName'
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'Nested Filter',
|
|
101
|
+
value: 'associatedRule'
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: 'AcCertificates (Relation)',
|
|
105
|
+
value: 'acCertificates.*'
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'AcFile (Relation)',
|
|
109
|
+
value: 'acFile.*'
|
|
110
|
+
},
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
displayName: 'Extention-Properties to Include',
|
|
115
|
+
name: 'extentionproperties',
|
|
116
|
+
type: 'multiOptions',
|
|
117
|
+
default: [],
|
|
118
|
+
displayOptions: {
|
|
119
|
+
show: {
|
|
120
|
+
resource: ['entity'],
|
|
121
|
+
operation: ['getList'],
|
|
122
|
+
entityName: ['AcBinaries'],
|
|
123
|
+
getFullObject: [false],
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
description: 'Whether to include specific Company properties in the returned results. Choose from a list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
127
|
+
typeOptions: {
|
|
128
|
+
loadOptionsMethod: 'getEntityExtentions',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
displayName: 'Filter Groups',
|
|
133
|
+
name: 'filterGroupsUi',
|
|
134
|
+
type: 'fixedCollection',
|
|
135
|
+
default: {},
|
|
136
|
+
placeholder: 'Add Filter Group',
|
|
137
|
+
typeOptions: {
|
|
138
|
+
multipleValues: true,
|
|
139
|
+
},
|
|
140
|
+
displayOptions: {
|
|
141
|
+
show: {
|
|
142
|
+
resource: ['entity'],
|
|
143
|
+
operation: ['getList'],
|
|
144
|
+
entityName: ['AcBinaries'],
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
options: [
|
|
148
|
+
{
|
|
149
|
+
name: 'filterGroupsValues',
|
|
150
|
+
displayName: 'Filter Group',
|
|
151
|
+
values: [
|
|
152
|
+
{
|
|
153
|
+
displayName: 'Filters',
|
|
154
|
+
name: 'filtersUi',
|
|
155
|
+
type: 'fixedCollection',
|
|
156
|
+
default: {},
|
|
157
|
+
placeholder: 'Add Filter',
|
|
158
|
+
typeOptions: {
|
|
159
|
+
multipleValues: true,
|
|
160
|
+
},
|
|
161
|
+
options: [
|
|
162
|
+
{
|
|
163
|
+
name: 'filterValues',
|
|
164
|
+
displayName: 'Filter',
|
|
165
|
+
values: [
|
|
166
|
+
{
|
|
167
|
+
displayName: 'Property Name or ID',
|
|
168
|
+
name: 'propertyName',
|
|
169
|
+
type: 'options',
|
|
170
|
+
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
171
|
+
typeOptions: {
|
|
172
|
+
loadOptionsMethod: 'getContactPropertiesWithType',
|
|
173
|
+
},
|
|
174
|
+
default: '',
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
displayName: 'Type',
|
|
178
|
+
name: 'type',
|
|
179
|
+
type: 'hidden',
|
|
180
|
+
default: '={{$parameter["&propertyName"].split("|")[1]}}',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
displayName: 'Operator',
|
|
184
|
+
name: 'operator',
|
|
185
|
+
type: 'options',
|
|
186
|
+
displayOptions: {
|
|
187
|
+
hide: {
|
|
188
|
+
type: ['number'],
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
options: [
|
|
192
|
+
{
|
|
193
|
+
name: 'Equal',
|
|
194
|
+
value: 'EQ',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'Not Equal',
|
|
198
|
+
value: 'NEQ',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: 'Starts With',
|
|
202
|
+
value: 'sw',
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
name: 'NOT NULL',
|
|
206
|
+
value: 'IS_NOT_NULL',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: 'Is NULL',
|
|
210
|
+
value: 'IS_NULL',
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
default: 'EQ',
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
displayName: 'Operator',
|
|
217
|
+
name: 'operator',
|
|
218
|
+
type: 'options',
|
|
219
|
+
displayOptions: {
|
|
220
|
+
show: {
|
|
221
|
+
type: ['number'],
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
options: [
|
|
225
|
+
{
|
|
226
|
+
name: 'Contains Exactly',
|
|
227
|
+
value: 'CONTAINS_TOKEN',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'Equal',
|
|
231
|
+
value: 'EQ',
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
name: 'Greater Than',
|
|
235
|
+
value: 'GT',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: 'Greater Than Or Equal',
|
|
239
|
+
value: 'GTE',
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
name: 'Is Known',
|
|
243
|
+
value: 'HAS_PROPERTY',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: 'Is Unknown',
|
|
247
|
+
value: 'NOT_HAS_PROPERTY',
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
name: 'Less Than',
|
|
251
|
+
value: 'LT',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: 'Less Than Or Equal',
|
|
255
|
+
value: 'LTE',
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
name: 'Not Equal',
|
|
259
|
+
value: 'NEQ',
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
default: 'EQ',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
displayName: 'Value',
|
|
266
|
+
name: 'value',
|
|
267
|
+
displayOptions: {
|
|
268
|
+
hide: {
|
|
269
|
+
operator: ['HAS_PROPERTY', 'NOT_HAS_PROPERTY'],
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
required: true,
|
|
273
|
+
type: 'string',
|
|
274
|
+
default: '',
|
|
275
|
+
},
|
|
276
|
+
],
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
description: 'Use filters to limit the results to only CRM objects with matching property values. More info <a href="https://developers.hubspot.com/docs/api/crm/search">here</a>.',
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
description: 'When multiple filters are provided within a Filter Group, they will be combined using a logical AND operator. When multiple Filter Groups are provided, they will be combined using a logical OR operator. The system supports a maximum of three Filter Groups with up to three filters each. More info <a href="https://developers.hubspot.com/docs/api/crm/search">here</a>',
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
displayName: 'Options',
|
|
288
|
+
name: 'additionalFields',
|
|
289
|
+
type: 'collection',
|
|
290
|
+
placeholder: 'Add option',
|
|
291
|
+
default: {},
|
|
292
|
+
displayOptions: {
|
|
293
|
+
show: {
|
|
294
|
+
resource: ['entity'],
|
|
295
|
+
operation: ['getList'],
|
|
296
|
+
entityName: ['AcBinaries'],
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
options: [
|
|
300
|
+
{
|
|
301
|
+
displayName: 'Sort Order',
|
|
302
|
+
name: 'direction',
|
|
303
|
+
type: 'options',
|
|
304
|
+
options: [
|
|
305
|
+
{
|
|
306
|
+
name: 'Ascending',
|
|
307
|
+
value: '+',
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: 'Descending',
|
|
311
|
+
value: '-',
|
|
312
|
+
},
|
|
313
|
+
],
|
|
314
|
+
default: '+',
|
|
315
|
+
description: 'Defines the direction in which search results are ordered. Default value is Ascending.',
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
displayName: 'Field Names or IDs',
|
|
319
|
+
name: 'properties',
|
|
320
|
+
type: 'multiOptions',
|
|
321
|
+
typeOptions: {
|
|
322
|
+
loadOptionsMethod: 'getContactProperties',
|
|
323
|
+
},
|
|
324
|
+
default: [],
|
|
325
|
+
description: 'Whether to include specific properties in the returned results. Choose from a list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
displayName: 'Query',
|
|
329
|
+
name: 'query',
|
|
330
|
+
type: 'string',
|
|
331
|
+
default: '',
|
|
332
|
+
description: 'Perform a text search against all property values for an object type',
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
displayName: 'Sort By',
|
|
336
|
+
name: 'sortBy',
|
|
337
|
+
type: 'options',
|
|
338
|
+
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
339
|
+
typeOptions: {
|
|
340
|
+
loadOptionsMethod: 'getContactProperties',
|
|
341
|
+
},
|
|
342
|
+
default: 'createdate',
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
},
|
|
346
|
+
];
|
|
347
|
+
//# sourceMappingURL=EntityBinariesOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityBinariesOperations.js","sourceRoot":"","sources":["../../../../nodes/Drivelock/operations/EntityBinariesOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,wBAAwB,GAAsB;IAI1D;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,SAAS,CAAC;gBACtB,UAAU,EAAE,CAAC,YAAY,CAAC;aAC1B;SACD;QACD,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,2DAA2D;KACxE;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,SAAS,CAAC;gBACtB,UAAU,EAAE,CAAC,YAAY,CAAC;gBAC1B,SAAS,EAAE,CAAC,KAAK,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