n8n-nodes-vntana 0.1.0
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/LICENSE +21 -0
- package/README.md +136 -0
- package/dist/credentials/VntanaApi.credentials.d.ts +8 -0
- package/dist/credentials/VntanaApi.credentials.js +65 -0
- package/dist/credentials/VntanaApi.credentials.js.map +1 -0
- package/dist/nodes/Vntana/GenericFunctions.d.ts +34 -0
- package/dist/nodes/Vntana/GenericFunctions.js +270 -0
- package/dist/nodes/Vntana/GenericFunctions.js.map +1 -0
- package/dist/nodes/Vntana/Vntana.node.d.ts +10 -0
- package/dist/nodes/Vntana/Vntana.node.js +436 -0
- package/dist/nodes/Vntana/Vntana.node.js.map +1 -0
- package/dist/nodes/Vntana/VntanaDescription.d.ts +10 -0
- package/dist/nodes/Vntana/VntanaDescription.js +519 -0
- package/dist/nodes/Vntana/VntanaDescription.js.map +1 -0
- package/dist/nodes/Vntana/types.d.ts +129 -0
- package/dist/nodes/Vntana/types.js +3 -0
- package/dist/nodes/Vntana/types.js.map +1 -0
- package/dist/nodes/Vntana/vntana.svg +20 -0
- package/package.json +54 -0
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.attachmentUploadFields = exports.renderUploadFields = exports.renderDownloadFields = exports.productDownloadModelFields = exports.productSearchFields = exports.attachmentOperations = exports.renderOperations = exports.productOperations = exports.resourceProperty = void 0;
|
|
4
|
+
// =============================================================================
|
|
5
|
+
// RESOURCE SELECTOR
|
|
6
|
+
// =============================================================================
|
|
7
|
+
exports.resourceProperty = {
|
|
8
|
+
displayName: 'Resource',
|
|
9
|
+
name: 'resource',
|
|
10
|
+
type: 'options',
|
|
11
|
+
noDataExpression: true,
|
|
12
|
+
options: [
|
|
13
|
+
{
|
|
14
|
+
name: 'Product',
|
|
15
|
+
value: 'product',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: 'Render',
|
|
19
|
+
value: 'render',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: 'Attachment',
|
|
23
|
+
value: 'attachment',
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
default: 'product',
|
|
27
|
+
};
|
|
28
|
+
// =============================================================================
|
|
29
|
+
// PRODUCT OPERATIONS
|
|
30
|
+
// =============================================================================
|
|
31
|
+
exports.productOperations = {
|
|
32
|
+
displayName: 'Operation',
|
|
33
|
+
name: 'operation',
|
|
34
|
+
type: 'options',
|
|
35
|
+
noDataExpression: true,
|
|
36
|
+
displayOptions: {
|
|
37
|
+
show: {
|
|
38
|
+
resource: ['product'],
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
options: [
|
|
42
|
+
{
|
|
43
|
+
name: 'Search',
|
|
44
|
+
value: 'search',
|
|
45
|
+
description: 'Search for products in a workspace',
|
|
46
|
+
action: 'Search products',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'Download Model',
|
|
50
|
+
value: 'downloadModel',
|
|
51
|
+
description: 'Download a 3D model file',
|
|
52
|
+
action: 'Download a model',
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
default: 'search',
|
|
56
|
+
};
|
|
57
|
+
// =============================================================================
|
|
58
|
+
// RENDER OPERATIONS
|
|
59
|
+
// =============================================================================
|
|
60
|
+
exports.renderOperations = {
|
|
61
|
+
displayName: 'Operation',
|
|
62
|
+
name: 'operation',
|
|
63
|
+
type: 'options',
|
|
64
|
+
noDataExpression: true,
|
|
65
|
+
displayOptions: {
|
|
66
|
+
show: {
|
|
67
|
+
resource: ['render'],
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
options: [
|
|
71
|
+
{
|
|
72
|
+
name: 'Download',
|
|
73
|
+
value: 'download',
|
|
74
|
+
description: 'Download renders for a product',
|
|
75
|
+
action: 'Download renders',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'Upload',
|
|
79
|
+
value: 'upload',
|
|
80
|
+
description: 'Upload a render to a product',
|
|
81
|
+
action: 'Upload a render',
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
default: 'download',
|
|
85
|
+
};
|
|
86
|
+
// =============================================================================
|
|
87
|
+
// ATTACHMENT OPERATIONS
|
|
88
|
+
// =============================================================================
|
|
89
|
+
exports.attachmentOperations = {
|
|
90
|
+
displayName: 'Operation',
|
|
91
|
+
name: 'operation',
|
|
92
|
+
type: 'options',
|
|
93
|
+
noDataExpression: true,
|
|
94
|
+
displayOptions: {
|
|
95
|
+
show: {
|
|
96
|
+
resource: ['attachment'],
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
options: [
|
|
100
|
+
{
|
|
101
|
+
name: 'Upload',
|
|
102
|
+
value: 'upload',
|
|
103
|
+
description: 'Upload an attachment to a product',
|
|
104
|
+
action: 'Upload an attachment',
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
default: 'upload',
|
|
108
|
+
};
|
|
109
|
+
// =============================================================================
|
|
110
|
+
// PRODUCT: SEARCH FIELDS
|
|
111
|
+
// =============================================================================
|
|
112
|
+
exports.productSearchFields = [
|
|
113
|
+
{
|
|
114
|
+
displayName: 'Workspace UUID',
|
|
115
|
+
name: 'clientUuid',
|
|
116
|
+
type: 'string',
|
|
117
|
+
required: true,
|
|
118
|
+
default: '',
|
|
119
|
+
displayOptions: {
|
|
120
|
+
show: {
|
|
121
|
+
resource: ['product'],
|
|
122
|
+
operation: ['search'],
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
description: 'UUID of the workspace to search in. Leave empty to use the default from credentials.',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
displayName: 'Return All',
|
|
129
|
+
name: 'returnAll',
|
|
130
|
+
type: 'boolean',
|
|
131
|
+
default: false,
|
|
132
|
+
displayOptions: {
|
|
133
|
+
show: {
|
|
134
|
+
resource: ['product'],
|
|
135
|
+
operation: ['search'],
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
displayName: 'Limit',
|
|
142
|
+
name: 'limit',
|
|
143
|
+
type: 'number',
|
|
144
|
+
default: 10,
|
|
145
|
+
typeOptions: {
|
|
146
|
+
minValue: 1,
|
|
147
|
+
maxValue: 100,
|
|
148
|
+
},
|
|
149
|
+
displayOptions: {
|
|
150
|
+
show: {
|
|
151
|
+
resource: ['product'],
|
|
152
|
+
operation: ['search'],
|
|
153
|
+
returnAll: [false],
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
description: 'Max number of results to return',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
displayName: 'Filters',
|
|
160
|
+
name: 'filters',
|
|
161
|
+
type: 'collection',
|
|
162
|
+
placeholder: 'Add Filter',
|
|
163
|
+
default: {},
|
|
164
|
+
displayOptions: {
|
|
165
|
+
show: {
|
|
166
|
+
resource: ['product'],
|
|
167
|
+
operation: ['search'],
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
options: [
|
|
171
|
+
{
|
|
172
|
+
displayName: 'Search Term',
|
|
173
|
+
name: 'searchTerm',
|
|
174
|
+
type: 'string',
|
|
175
|
+
default: '',
|
|
176
|
+
description: 'Text to search for in product names and descriptions',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
displayName: 'Status',
|
|
180
|
+
name: 'status',
|
|
181
|
+
type: 'multiOptions',
|
|
182
|
+
options: [
|
|
183
|
+
{ name: 'Draft', value: 'DRAFT' },
|
|
184
|
+
{ name: 'Live Public', value: 'LIVE_PUBLIC' },
|
|
185
|
+
{ name: 'Live Internal', value: 'LIVE_INTERNAL' },
|
|
186
|
+
{ name: 'Approved', value: 'APPROVED' },
|
|
187
|
+
{ name: 'Rejected', value: 'REJECTED' },
|
|
188
|
+
{ name: 'Waiting Review', value: 'WAITING_REVIEW' },
|
|
189
|
+
],
|
|
190
|
+
default: [],
|
|
191
|
+
description: 'Filter by product status',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
displayName: 'Conversion Status',
|
|
195
|
+
name: 'conversionStatuses',
|
|
196
|
+
type: 'multiOptions',
|
|
197
|
+
options: [
|
|
198
|
+
{ name: 'Pending', value: 'PENDING' },
|
|
199
|
+
{ name: 'Converting', value: 'CONVERTING' },
|
|
200
|
+
{ name: 'Completed', value: 'COMPLETED' },
|
|
201
|
+
{ name: 'Failed', value: 'FAILED' },
|
|
202
|
+
{ name: 'No Asset', value: 'NO_ASSET' },
|
|
203
|
+
],
|
|
204
|
+
default: [],
|
|
205
|
+
description: 'Filter by conversion status',
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
displayName: 'Name',
|
|
209
|
+
name: 'name',
|
|
210
|
+
type: 'string',
|
|
211
|
+
default: '',
|
|
212
|
+
description: 'Filter by exact product name',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
displayName: 'Tag UUIDs',
|
|
216
|
+
name: 'tagsUuids',
|
|
217
|
+
type: 'string',
|
|
218
|
+
default: '',
|
|
219
|
+
description: 'Comma-separated list of tag UUIDs to filter by',
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
},
|
|
223
|
+
];
|
|
224
|
+
// =============================================================================
|
|
225
|
+
// PRODUCT: DOWNLOAD MODEL FIELDS
|
|
226
|
+
// =============================================================================
|
|
227
|
+
exports.productDownloadModelFields = [
|
|
228
|
+
{
|
|
229
|
+
displayName: 'Product UUID',
|
|
230
|
+
name: 'productUuid',
|
|
231
|
+
type: 'string',
|
|
232
|
+
required: true,
|
|
233
|
+
default: '',
|
|
234
|
+
displayOptions: {
|
|
235
|
+
show: {
|
|
236
|
+
resource: ['product'],
|
|
237
|
+
operation: ['downloadModel'],
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
description: 'UUID of the product to download',
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
displayName: 'Workspace UUID',
|
|
244
|
+
name: 'clientUuid',
|
|
245
|
+
type: 'string',
|
|
246
|
+
required: true,
|
|
247
|
+
default: '',
|
|
248
|
+
displayOptions: {
|
|
249
|
+
show: {
|
|
250
|
+
resource: ['product'],
|
|
251
|
+
operation: ['downloadModel'],
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
description: 'UUID of the workspace. Leave empty to use the default from credentials.',
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
displayName: 'Format',
|
|
258
|
+
name: 'conversionFormat',
|
|
259
|
+
type: 'options',
|
|
260
|
+
required: true,
|
|
261
|
+
options: [
|
|
262
|
+
{ name: 'GLB', value: 'GLB' },
|
|
263
|
+
{ name: 'USDZ', value: 'USDZ' },
|
|
264
|
+
{ name: 'FBX', value: 'FBX' },
|
|
265
|
+
{ name: 'OBJ', value: 'OBJ' },
|
|
266
|
+
{ name: 'STEP', value: 'STEP' },
|
|
267
|
+
],
|
|
268
|
+
default: 'GLB',
|
|
269
|
+
displayOptions: {
|
|
270
|
+
show: {
|
|
271
|
+
resource: ['product'],
|
|
272
|
+
operation: ['downloadModel'],
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
description: 'Format to download the model in',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
displayName: 'Binary Property',
|
|
279
|
+
name: 'binaryPropertyName',
|
|
280
|
+
type: 'string',
|
|
281
|
+
default: 'data',
|
|
282
|
+
displayOptions: {
|
|
283
|
+
show: {
|
|
284
|
+
resource: ['product'],
|
|
285
|
+
operation: ['downloadModel'],
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
description: 'Name of the binary property to store the downloaded file in',
|
|
289
|
+
},
|
|
290
|
+
];
|
|
291
|
+
// =============================================================================
|
|
292
|
+
// RENDER: DOWNLOAD FIELDS
|
|
293
|
+
// =============================================================================
|
|
294
|
+
exports.renderDownloadFields = [
|
|
295
|
+
{
|
|
296
|
+
displayName: 'Product UUID',
|
|
297
|
+
name: 'productUuid',
|
|
298
|
+
type: 'string',
|
|
299
|
+
required: true,
|
|
300
|
+
default: '',
|
|
301
|
+
displayOptions: {
|
|
302
|
+
show: {
|
|
303
|
+
resource: ['render'],
|
|
304
|
+
operation: ['download'],
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
description: 'UUID of the product to download renders from',
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
displayName: 'Workspace UUID',
|
|
311
|
+
name: 'clientUuid',
|
|
312
|
+
type: 'string',
|
|
313
|
+
required: true,
|
|
314
|
+
default: '',
|
|
315
|
+
displayOptions: {
|
|
316
|
+
show: {
|
|
317
|
+
resource: ['render'],
|
|
318
|
+
operation: ['download'],
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
description: 'UUID of the workspace. Leave empty to use the default from credentials.',
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
displayName: 'Entity Type',
|
|
325
|
+
name: 'entityType',
|
|
326
|
+
type: 'options',
|
|
327
|
+
options: [
|
|
328
|
+
{ name: 'Render (Still Image)', value: 'RENDER' },
|
|
329
|
+
{ name: 'Turntable (Video)', value: 'TURNTABLE' },
|
|
330
|
+
],
|
|
331
|
+
default: 'RENDER',
|
|
332
|
+
displayOptions: {
|
|
333
|
+
show: {
|
|
334
|
+
resource: ['render'],
|
|
335
|
+
operation: ['download'],
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
description: 'Type of render to download',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
displayName: 'Download All',
|
|
342
|
+
name: 'downloadAll',
|
|
343
|
+
type: 'boolean',
|
|
344
|
+
default: false,
|
|
345
|
+
displayOptions: {
|
|
346
|
+
show: {
|
|
347
|
+
resource: ['render'],
|
|
348
|
+
operation: ['download'],
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
description: 'Whether to download all renders or just the first one',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
displayName: 'Binary Property',
|
|
355
|
+
name: 'binaryPropertyName',
|
|
356
|
+
type: 'string',
|
|
357
|
+
default: 'data',
|
|
358
|
+
displayOptions: {
|
|
359
|
+
show: {
|
|
360
|
+
resource: ['render'],
|
|
361
|
+
operation: ['download'],
|
|
362
|
+
},
|
|
363
|
+
},
|
|
364
|
+
description: 'Name of the binary property to store the downloaded file(s) in',
|
|
365
|
+
},
|
|
366
|
+
];
|
|
367
|
+
// =============================================================================
|
|
368
|
+
// RENDER: UPLOAD FIELDS
|
|
369
|
+
// =============================================================================
|
|
370
|
+
exports.renderUploadFields = [
|
|
371
|
+
{
|
|
372
|
+
displayName: 'Product UUID',
|
|
373
|
+
name: 'productUuid',
|
|
374
|
+
type: 'string',
|
|
375
|
+
required: true,
|
|
376
|
+
default: '',
|
|
377
|
+
displayOptions: {
|
|
378
|
+
show: {
|
|
379
|
+
resource: ['render'],
|
|
380
|
+
operation: ['upload'],
|
|
381
|
+
},
|
|
382
|
+
},
|
|
383
|
+
description: 'UUID of the product to upload the render to',
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
displayName: 'Workspace UUID',
|
|
387
|
+
name: 'clientUuid',
|
|
388
|
+
type: 'string',
|
|
389
|
+
required: true,
|
|
390
|
+
default: '',
|
|
391
|
+
displayOptions: {
|
|
392
|
+
show: {
|
|
393
|
+
resource: ['render'],
|
|
394
|
+
operation: ['upload'],
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
description: 'UUID of the workspace. Leave empty to use the default from credentials.',
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
displayName: 'Binary Property',
|
|
401
|
+
name: 'binaryPropertyName',
|
|
402
|
+
type: 'string',
|
|
403
|
+
required: true,
|
|
404
|
+
default: 'data',
|
|
405
|
+
displayOptions: {
|
|
406
|
+
show: {
|
|
407
|
+
resource: ['render'],
|
|
408
|
+
operation: ['upload'],
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
description: 'Name of the binary property containing the file to upload',
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
displayName: 'Options',
|
|
415
|
+
name: 'options',
|
|
416
|
+
type: 'collection',
|
|
417
|
+
placeholder: 'Add Option',
|
|
418
|
+
default: {},
|
|
419
|
+
displayOptions: {
|
|
420
|
+
show: {
|
|
421
|
+
resource: ['render'],
|
|
422
|
+
operation: ['upload'],
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
options: [
|
|
426
|
+
{
|
|
427
|
+
displayName: 'File Name',
|
|
428
|
+
name: 'fileName',
|
|
429
|
+
type: 'string',
|
|
430
|
+
default: '',
|
|
431
|
+
description: 'Override the file name (uses original binary name if not specified)',
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
displayName: 'Content Type',
|
|
435
|
+
name: 'contentType',
|
|
436
|
+
type: 'string',
|
|
437
|
+
default: '',
|
|
438
|
+
description: 'Override the content type (uses original binary MIME type if not specified)',
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
},
|
|
442
|
+
];
|
|
443
|
+
// =============================================================================
|
|
444
|
+
// ATTACHMENT: UPLOAD FIELDS
|
|
445
|
+
// =============================================================================
|
|
446
|
+
exports.attachmentUploadFields = [
|
|
447
|
+
{
|
|
448
|
+
displayName: 'Product UUID',
|
|
449
|
+
name: 'productUuid',
|
|
450
|
+
type: 'string',
|
|
451
|
+
required: true,
|
|
452
|
+
default: '',
|
|
453
|
+
displayOptions: {
|
|
454
|
+
show: {
|
|
455
|
+
resource: ['attachment'],
|
|
456
|
+
operation: ['upload'],
|
|
457
|
+
},
|
|
458
|
+
},
|
|
459
|
+
description: 'UUID of the product to upload the attachment to',
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
displayName: 'Workspace UUID',
|
|
463
|
+
name: 'clientUuid',
|
|
464
|
+
type: 'string',
|
|
465
|
+
required: true,
|
|
466
|
+
default: '',
|
|
467
|
+
displayOptions: {
|
|
468
|
+
show: {
|
|
469
|
+
resource: ['attachment'],
|
|
470
|
+
operation: ['upload'],
|
|
471
|
+
},
|
|
472
|
+
},
|
|
473
|
+
description: 'UUID of the workspace. Leave empty to use the default from credentials.',
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
displayName: 'Binary Property',
|
|
477
|
+
name: 'binaryPropertyName',
|
|
478
|
+
type: 'string',
|
|
479
|
+
required: true,
|
|
480
|
+
default: 'data',
|
|
481
|
+
displayOptions: {
|
|
482
|
+
show: {
|
|
483
|
+
resource: ['attachment'],
|
|
484
|
+
operation: ['upload'],
|
|
485
|
+
},
|
|
486
|
+
},
|
|
487
|
+
description: 'Name of the binary property containing the file to upload',
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
displayName: 'Options',
|
|
491
|
+
name: 'options',
|
|
492
|
+
type: 'collection',
|
|
493
|
+
placeholder: 'Add Option',
|
|
494
|
+
default: {},
|
|
495
|
+
displayOptions: {
|
|
496
|
+
show: {
|
|
497
|
+
resource: ['attachment'],
|
|
498
|
+
operation: ['upload'],
|
|
499
|
+
},
|
|
500
|
+
},
|
|
501
|
+
options: [
|
|
502
|
+
{
|
|
503
|
+
displayName: 'File Name',
|
|
504
|
+
name: 'fileName',
|
|
505
|
+
type: 'string',
|
|
506
|
+
default: '',
|
|
507
|
+
description: 'Override the file name (uses original binary name if not specified)',
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
displayName: 'Content Type',
|
|
511
|
+
name: 'contentType',
|
|
512
|
+
type: 'string',
|
|
513
|
+
default: '',
|
|
514
|
+
description: 'Override the content type (uses original binary MIME type if not specified)',
|
|
515
|
+
},
|
|
516
|
+
],
|
|
517
|
+
},
|
|
518
|
+
];
|
|
519
|
+
//# sourceMappingURL=VntanaDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VntanaDescription.js","sourceRoot":"","sources":["../../../nodes/Vntana/VntanaDescription.ts"],"names":[],"mappings":";;;AAEA,gFAAgF;AAChF,oBAAoB;AACpB,gFAAgF;AAEnE,QAAA,gBAAgB,GAA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YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,WAAW,EAAE,2DAA2D;KACxE;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qEAAqE;aAClF;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,6EAA6E;aAC1F;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import type { IDataObject } from 'n8n-workflow';
|
|
2
|
+
/**
|
|
3
|
+
* VNTANA Product Status
|
|
4
|
+
*/
|
|
5
|
+
export type ProductStatus = 'DRAFT' | 'LIVE_PUBLIC' | 'LIVE_INTERNAL' | 'APPROVED' | 'REJECTED' | 'WAITING_REVIEW';
|
|
6
|
+
/**
|
|
7
|
+
* VNTANA Conversion Status
|
|
8
|
+
*/
|
|
9
|
+
export type ConversionStatus = 'PENDING' | 'CONVERTING' | 'COMPLETED' | 'FAILED' | 'NO_ASSET' | 'TERMINATED' | 'NOT_APPLICABLE';
|
|
10
|
+
/**
|
|
11
|
+
* VNTANA 3D Model Formats
|
|
12
|
+
*/
|
|
13
|
+
export type ConversionFormat = 'GLB' | 'USDZ' | 'FBX' | 'OBJ' | 'STEP';
|
|
14
|
+
/**
|
|
15
|
+
* VNTANA Store Types for uploads
|
|
16
|
+
*/
|
|
17
|
+
export type StoreType = 'ASSET' | 'ATTACHMENT' | 'RENDER';
|
|
18
|
+
/**
|
|
19
|
+
* VNTANA Parent Entity Types
|
|
20
|
+
*/
|
|
21
|
+
export type ParentEntityType = 'PRODUCT' | 'VARIANT_GROUP' | 'ANNOTATION' | 'COMMENT' | 'RENDER';
|
|
22
|
+
/**
|
|
23
|
+
* VNTANA Attachment Entity Types (for filtering)
|
|
24
|
+
*/
|
|
25
|
+
export type AttachmentEntityType = 'RENDER' | 'TURNTABLE' | 'PRODUCT';
|
|
26
|
+
/**
|
|
27
|
+
* VNTANA API Response wrapper
|
|
28
|
+
*/
|
|
29
|
+
export interface VntanaApiResponse<T = IDataObject> {
|
|
30
|
+
success: boolean;
|
|
31
|
+
errors: IDataObject[];
|
|
32
|
+
response: T;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Search Products Response
|
|
36
|
+
*/
|
|
37
|
+
export interface SearchProductsResponse {
|
|
38
|
+
totalCount: number;
|
|
39
|
+
grid: VntanaProduct[];
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* VNTANA Product
|
|
43
|
+
*/
|
|
44
|
+
export interface VntanaProduct extends IDataObject {
|
|
45
|
+
uuid: string;
|
|
46
|
+
name: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
status: ProductStatus;
|
|
49
|
+
conversionStatus: ConversionStatus;
|
|
50
|
+
createdAt: string;
|
|
51
|
+
updatedAt: string;
|
|
52
|
+
thumbnailUrl?: string;
|
|
53
|
+
tags?: VntanaTag[];
|
|
54
|
+
attributes?: IDataObject;
|
|
55
|
+
asset?: VntanaAsset;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* VNTANA Asset (file/model info)
|
|
59
|
+
*/
|
|
60
|
+
export interface VntanaAsset extends IDataObject {
|
|
61
|
+
assetOriginalName?: string;
|
|
62
|
+
assetOriginalSize?: number;
|
|
63
|
+
conversionFormats?: ConversionFormat[];
|
|
64
|
+
models?: VntanaModel[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* VNTANA Model (converted format)
|
|
68
|
+
*/
|
|
69
|
+
export interface VntanaModel extends IDataObject {
|
|
70
|
+
uuid: string;
|
|
71
|
+
conversionFormat: ConversionFormat;
|
|
72
|
+
modelBlobId: string;
|
|
73
|
+
conversionStatus: ConversionStatus;
|
|
74
|
+
modelSize: number;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* VNTANA Tag
|
|
78
|
+
*/
|
|
79
|
+
export interface VntanaTag extends IDataObject {
|
|
80
|
+
uuid: string;
|
|
81
|
+
name: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Search Attachments Response
|
|
85
|
+
*/
|
|
86
|
+
export interface SearchAttachmentsResponse {
|
|
87
|
+
totalCount: number;
|
|
88
|
+
grid: VntanaAttachment[];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* VNTANA Attachment
|
|
92
|
+
*/
|
|
93
|
+
export interface VntanaAttachment extends IDataObject {
|
|
94
|
+
uuid: string;
|
|
95
|
+
type: string;
|
|
96
|
+
name: string;
|
|
97
|
+
entityType: AttachmentEntityType;
|
|
98
|
+
entityUuid: string;
|
|
99
|
+
blobId: string;
|
|
100
|
+
productUuid: string;
|
|
101
|
+
created: string;
|
|
102
|
+
updated: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Signed URL Response
|
|
106
|
+
*/
|
|
107
|
+
export interface SignedUrlResponse {
|
|
108
|
+
requestUuid: string;
|
|
109
|
+
location: string;
|
|
110
|
+
blobId: string;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Resource Settings for upload
|
|
114
|
+
*/
|
|
115
|
+
export interface ResourceSettings {
|
|
116
|
+
contentType: string;
|
|
117
|
+
originalName: string;
|
|
118
|
+
originalSize: number;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Upload Request Body
|
|
122
|
+
*/
|
|
123
|
+
export interface UploadRequestBody {
|
|
124
|
+
clientUuid: string;
|
|
125
|
+
parentEntityUuid: string;
|
|
126
|
+
parentEntityType: ParentEntityType;
|
|
127
|
+
storeType: StoreType;
|
|
128
|
+
resourceSettings: ResourceSettings;
|
|
129
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../nodes/Vntana/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 500 500">
|
|
3
|
+
<!-- Generator: Adobe Illustrator 29.4.0, SVG Export Plug-In . SVG Version: 2.1.0 Build 152) -->
|
|
4
|
+
<defs>
|
|
5
|
+
<style>
|
|
6
|
+
.st0 {
|
|
7
|
+
fill: #4b61f9;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.st1 {
|
|
11
|
+
fill: #fff;
|
|
12
|
+
}
|
|
13
|
+
</style>
|
|
14
|
+
</defs>
|
|
15
|
+
<rect class="st0" width="500" height="500"/>
|
|
16
|
+
<g>
|
|
17
|
+
<polygon class="st1" points="54.7 98.6 191.5 352.3 219.4 299.9 110.8 98.6 54.7 98.6"/>
|
|
18
|
+
<polyline class="st1" points="224.2 402.5 249.6 355.9 388.6 97.8 444.8 97.8 280.7 402.5 224.2 402.5"/>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|