@n8n-dev/n8n-nodes-motaword 1.0.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.
Files changed (100) hide show
  1. package/README.md +123 -0
  2. package/dist/banner.svg +115 -0
  3. package/dist/credentials/MotawordApi.credentials.d.ts +9 -0
  4. package/dist/credentials/MotawordApi.credentials.js +49 -0
  5. package/dist/credentials/MotawordApi.credentials.js.map +1 -0
  6. package/dist/icons/motaword.dark.png +0 -0
  7. package/dist/icons/motaword.png +0 -0
  8. package/dist/nodes/Motaword/Motaword.node.d.ts +4 -0
  9. package/dist/nodes/Motaword/Motaword.node.js +236 -0
  10. package/dist/nodes/Motaword/Motaword.node.js.map +1 -0
  11. package/dist/nodes/Motaword/Motaword.node.json +20 -0
  12. package/dist/nodes/Motaword/motaword.dark.png +0 -0
  13. package/dist/nodes/Motaword/motaword.png +0 -0
  14. package/dist/nodes/Motaword/resources/activity/index.d.ts +2 -0
  15. package/dist/nodes/Motaword/resources/activity/index.js +756 -0
  16. package/dist/nodes/Motaword/resources/activity/index.js.map +1 -0
  17. package/dist/nodes/Motaword/resources/async/index.d.ts +2 -0
  18. package/dist/nodes/Motaword/resources/async/index.js +79 -0
  19. package/dist/nodes/Motaword/resources/async/index.js.map +1 -0
  20. package/dist/nodes/Motaword/resources/auth/index.d.ts +2 -0
  21. package/dist/nodes/Motaword/resources/auth/index.js +230 -0
  22. package/dist/nodes/Motaword/resources/auth/index.js.map +1 -0
  23. package/dist/nodes/Motaword/resources/blog/index.d.ts +2 -0
  24. package/dist/nodes/Motaword/resources/blog/index.js +151 -0
  25. package/dist/nodes/Motaword/resources/blog/index.js.map +1 -0
  26. package/dist/nodes/Motaword/resources/commission/index.d.ts +2 -0
  27. package/dist/nodes/Motaword/resources/commission/index.js +234 -0
  28. package/dist/nodes/Motaword/resources/commission/index.js.map +1 -0
  29. package/dist/nodes/Motaword/resources/continuous-project/index.d.ts +2 -0
  30. package/dist/nodes/Motaword/resources/continuous-project/index.js +5212 -0
  31. package/dist/nodes/Motaword/resources/continuous-project/index.js.map +1 -0
  32. package/dist/nodes/Motaword/resources/corporate/index.d.ts +2 -0
  33. package/dist/nodes/Motaword/resources/corporate/index.js +692 -0
  34. package/dist/nodes/Motaword/resources/corporate/index.js.map +1 -0
  35. package/dist/nodes/Motaword/resources/default/index.d.ts +2 -0
  36. package/dist/nodes/Motaword/resources/default/index.js +71 -0
  37. package/dist/nodes/Motaword/resources/default/index.js.map +1 -0
  38. package/dist/nodes/Motaword/resources/document/index.d.ts +2 -0
  39. package/dist/nodes/Motaword/resources/document/index.js +1262 -0
  40. package/dist/nodes/Motaword/resources/document/index.js.map +1 -0
  41. package/dist/nodes/Motaword/resources/glossary/index.d.ts +2 -0
  42. package/dist/nodes/Motaword/resources/glossary/index.js +528 -0
  43. package/dist/nodes/Motaword/resources/glossary/index.js.map +1 -0
  44. package/dist/nodes/Motaword/resources/index.d.ts +27 -0
  45. package/dist/nodes/Motaword/resources/index.js +58 -0
  46. package/dist/nodes/Motaword/resources/index.js.map +1 -0
  47. package/dist/nodes/Motaword/resources/integrations/index.d.ts +2 -0
  48. package/dist/nodes/Motaword/resources/integrations/index.js +53 -0
  49. package/dist/nodes/Motaword/resources/integrations/index.js.map +1 -0
  50. package/dist/nodes/Motaword/resources/invitation/index.d.ts +2 -0
  51. package/dist/nodes/Motaword/resources/invitation/index.js +74 -0
  52. package/dist/nodes/Motaword/resources/invitation/index.js.map +1 -0
  53. package/dist/nodes/Motaword/resources/machine-learning/index.d.ts +2 -0
  54. package/dist/nodes/Motaword/resources/machine-learning/index.js +77 -0
  55. package/dist/nodes/Motaword/resources/machine-learning/index.js.map +1 -0
  56. package/dist/nodes/Motaword/resources/pam/index.d.ts +2 -0
  57. package/dist/nodes/Motaword/resources/pam/index.js +276 -0
  58. package/dist/nodes/Motaword/resources/pam/index.js.map +1 -0
  59. package/dist/nodes/Motaword/resources/payment/index.d.ts +2 -0
  60. package/dist/nodes/Motaword/resources/payment/index.js +231 -0
  61. package/dist/nodes/Motaword/resources/payment/index.js.map +1 -0
  62. package/dist/nodes/Motaword/resources/project/index.d.ts +2 -0
  63. package/dist/nodes/Motaword/resources/project/index.js +2472 -0
  64. package/dist/nodes/Motaword/resources/project/index.js.map +1 -0
  65. package/dist/nodes/Motaword/resources/project-document/index.d.ts +2 -0
  66. package/dist/nodes/Motaword/resources/project-document/index.js +697 -0
  67. package/dist/nodes/Motaword/resources/project-document/index.js.map +1 -0
  68. package/dist/nodes/Motaword/resources/project-webhooks/index.d.ts +2 -0
  69. package/dist/nodes/Motaword/resources/project-webhooks/index.js +268 -0
  70. package/dist/nodes/Motaword/resources/project-webhooks/index.js.map +1 -0
  71. package/dist/nodes/Motaword/resources/report/index.d.ts +2 -0
  72. package/dist/nodes/Motaword/resources/report/index.js +967 -0
  73. package/dist/nodes/Motaword/resources/report/index.js.map +1 -0
  74. package/dist/nodes/Motaword/resources/search/index.d.ts +2 -0
  75. package/dist/nodes/Motaword/resources/search/index.js +240 -0
  76. package/dist/nodes/Motaword/resources/search/index.js.map +1 -0
  77. package/dist/nodes/Motaword/resources/static/index.d.ts +2 -0
  78. package/dist/nodes/Motaword/resources/static/index.js +146 -0
  79. package/dist/nodes/Motaword/resources/static/index.js.map +1 -0
  80. package/dist/nodes/Motaword/resources/stats/index.d.ts +2 -0
  81. package/dist/nodes/Motaword/resources/stats/index.js +327 -0
  82. package/dist/nodes/Motaword/resources/stats/index.js.map +1 -0
  83. package/dist/nodes/Motaword/resources/strings/index.d.ts +2 -0
  84. package/dist/nodes/Motaword/resources/strings/index.js +1517 -0
  85. package/dist/nodes/Motaword/resources/strings/index.js.map +1 -0
  86. package/dist/nodes/Motaword/resources/style-guide/index.d.ts +2 -0
  87. package/dist/nodes/Motaword/resources/style-guide/index.js +578 -0
  88. package/dist/nodes/Motaword/resources/style-guide/index.js.map +1 -0
  89. package/dist/nodes/Motaword/resources/surveys/index.d.ts +2 -0
  90. package/dist/nodes/Motaword/resources/surveys/index.js +205 -0
  91. package/dist/nodes/Motaword/resources/surveys/index.js.map +1 -0
  92. package/dist/nodes/Motaword/resources/user/index.d.ts +2 -0
  93. package/dist/nodes/Motaword/resources/user/index.js +6153 -0
  94. package/dist/nodes/Motaword/resources/user/index.js.map +1 -0
  95. package/dist/nodes/Motaword/resources/vendor/index.d.ts +2 -0
  96. package/dist/nodes/Motaword/resources/vendor/index.js +203 -0
  97. package/dist/nodes/Motaword/resources/vendor/index.js.map +1 -0
  98. package/dist/package.json +62 -0
  99. package/dist/tsconfig.tsbuildinfo +1 -0
  100. package/package.json +62 -0
@@ -0,0 +1,697 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.projectDocumentDescription = void 0;
4
+ exports.projectDocumentDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Project Document"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Project Documents",
20
+ "value": "Get Project Documents",
21
+ "action": "View project source documents",
22
+ "description": "Get a list of source files you uploaded to be translated in your project.",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/projects/{{$parameter[\"projectId\"]}}/documents"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Create Project Document",
32
+ "value": "Create Project Document",
33
+ "action": "Upload a new document",
34
+ "description": "Upload a new document",
35
+ "routing": {
36
+ "request": {
37
+ "method": "POST",
38
+ "url": "=/projects/{{$parameter[\"projectId\"]}}/documents"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Delete Project Document",
44
+ "value": "Delete Project Document",
45
+ "action": "Delete the document",
46
+ "description": "Delete the document",
47
+ "routing": {
48
+ "request": {
49
+ "method": "DELETE",
50
+ "url": "=/projects/{{$parameter[\"projectId\"]}}/documents/{{$parameter[\"documentId\"]}}"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "Get Project Document",
56
+ "value": "Get Project Document",
57
+ "action": "View a project source document",
58
+ "description": "View the details of a source file you uploaded to be translated in your project.",
59
+ "routing": {
60
+ "request": {
61
+ "method": "GET",
62
+ "url": "=/projects/{{$parameter[\"projectId\"]}}/documents/{{$parameter[\"documentId\"]}}"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "Update Project Document",
68
+ "value": "Update Project Document",
69
+ "action": "Update the document.",
70
+ "description": "Update the document. File name and contents will replaced with the new one.",
71
+ "routing": {
72
+ "request": {
73
+ "method": "POST",
74
+ "url": "=/projects/{{$parameter[\"projectId\"]}}/documents/{{$parameter[\"documentId\"]}}"
75
+ }
76
+ }
77
+ },
78
+ {
79
+ "name": "Download Project Document",
80
+ "value": "Download Project Document",
81
+ "action": "Download a project source document",
82
+ "description": "Download an actual source file you uploaded to be translated in your project.",
83
+ "routing": {
84
+ "request": {
85
+ "method": "GET",
86
+ "url": "=/projects/{{$parameter[\"projectId\"]}}/documents/{{$parameter[\"documentId\"]}}/download"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "name": "Download Translated Document For Language",
92
+ "value": "Download Translated Document For Language",
93
+ "action": "Download translated document",
94
+ "description": "Download translated document in the given target language.",
95
+ "routing": {
96
+ "request": {
97
+ "method": "GET",
98
+ "url": "=/projects/{{$parameter[\"projectId\"]}}/documents/{{$parameter[\"documentId\"]}}/translations/download/{{$parameter[\"language\"]}}"
99
+ }
100
+ }
101
+ }
102
+ ],
103
+ "default": ""
104
+ },
105
+ {
106
+ "displayName": "GET /projects/{projectId}/documents",
107
+ "name": "operation",
108
+ "type": "notice",
109
+ "typeOptions": {
110
+ "theme": "info"
111
+ },
112
+ "default": "",
113
+ "displayOptions": {
114
+ "show": {
115
+ "resource": [
116
+ "Project Document"
117
+ ],
118
+ "operation": [
119
+ "Get Project Documents"
120
+ ]
121
+ }
122
+ }
123
+ },
124
+ {
125
+ "displayName": "Project Id",
126
+ "name": "projectId",
127
+ "required": true,
128
+ "description": "Project ID",
129
+ "default": 0,
130
+ "type": "number",
131
+ "displayOptions": {
132
+ "show": {
133
+ "resource": [
134
+ "Project Document"
135
+ ],
136
+ "operation": [
137
+ "Get Project Documents"
138
+ ]
139
+ }
140
+ }
141
+ },
142
+ {
143
+ "displayName": "With",
144
+ "name": "with%5B%5D",
145
+ "description": "Attach further information. Possible values 'preview' to fetch temporary preview URLs. This is NOT recommended to be used with list calls. Only use with[]=preview for single document/style guide calls.",
146
+ "default": "[\n null\n]",
147
+ "type": "json",
148
+ "routing": {
149
+ "send": {
150
+ "type": "query",
151
+ "property": "with[]",
152
+ "value": "={{ $value }}",
153
+ "propertyInDotNotation": false
154
+ }
155
+ },
156
+ "displayOptions": {
157
+ "show": {
158
+ "resource": [
159
+ "Project Document"
160
+ ],
161
+ "operation": [
162
+ "Get Project Documents"
163
+ ]
164
+ }
165
+ }
166
+ },
167
+ {
168
+ "displayName": "POST /projects/{projectId}/documents",
169
+ "name": "operation",
170
+ "type": "notice",
171
+ "typeOptions": {
172
+ "theme": "info"
173
+ },
174
+ "default": "",
175
+ "displayOptions": {
176
+ "show": {
177
+ "resource": [
178
+ "Project Document"
179
+ ],
180
+ "operation": [
181
+ "Create Project Document"
182
+ ]
183
+ }
184
+ }
185
+ },
186
+ {
187
+ "displayName": "Project Id",
188
+ "name": "projectId",
189
+ "required": true,
190
+ "description": "Project ID",
191
+ "default": 0,
192
+ "type": "number",
193
+ "displayOptions": {
194
+ "show": {
195
+ "resource": [
196
+ "Project Document"
197
+ ],
198
+ "operation": [
199
+ "Create Project Document"
200
+ ]
201
+ }
202
+ }
203
+ },
204
+ {
205
+ "displayName": "Documents",
206
+ "name": "documents[]",
207
+ "type": "json",
208
+ "default": "[\n null\n]",
209
+ "description": "You can add as many files as you want in documents[] parameter.",
210
+ "routing": {
211
+ "send": {
212
+ "property": "documents[]",
213
+ "propertyInDotNotation": false,
214
+ "type": "body",
215
+ "value": "={{ JSON.parse($value) }}"
216
+ }
217
+ },
218
+ "displayOptions": {
219
+ "show": {
220
+ "resource": [
221
+ "Project Document"
222
+ ],
223
+ "operation": [
224
+ "Create Project Document"
225
+ ]
226
+ }
227
+ }
228
+ },
229
+ {
230
+ "displayName": "Schemes",
231
+ "name": "schemes[]",
232
+ "type": "string",
233
+ "default": "",
234
+ "description": "JSON string. If your documents have a scheme, as in cases of CSV files, use the same array index keys for `schemes` parameter to specify their schemes. See `Document Schemes` title in the API documentation.",
235
+ "routing": {
236
+ "send": {
237
+ "property": "schemes[]",
238
+ "propertyInDotNotation": false,
239
+ "type": "body",
240
+ "value": "={{ $value }}"
241
+ }
242
+ },
243
+ "displayOptions": {
244
+ "show": {
245
+ "resource": [
246
+ "Project Document"
247
+ ],
248
+ "operation": [
249
+ "Create Project Document"
250
+ ]
251
+ }
252
+ }
253
+ },
254
+ {
255
+ "displayName": "Source Links",
256
+ "name": "source-links[]",
257
+ "type": "json",
258
+ "default": "[\n {}\n]",
259
+ "description": "When provided, we will download the files from these URLs, in addition to files provded in `documents` parameter and then save as source documents",
260
+ "routing": {
261
+ "send": {
262
+ "property": "source-links[]",
263
+ "propertyInDotNotation": false,
264
+ "type": "body",
265
+ "value": "={{ JSON.parse($value) }}"
266
+ }
267
+ },
268
+ "displayOptions": {
269
+ "show": {
270
+ "resource": [
271
+ "Project Document"
272
+ ],
273
+ "operation": [
274
+ "Create Project Document"
275
+ ]
276
+ }
277
+ }
278
+ },
279
+ {
280
+ "displayName": "DELETE /projects/{projectId}/documents/{documentId}",
281
+ "name": "operation",
282
+ "type": "notice",
283
+ "typeOptions": {
284
+ "theme": "info"
285
+ },
286
+ "default": "",
287
+ "displayOptions": {
288
+ "show": {
289
+ "resource": [
290
+ "Project Document"
291
+ ],
292
+ "operation": [
293
+ "Delete Project Document"
294
+ ]
295
+ }
296
+ }
297
+ },
298
+ {
299
+ "displayName": "Project Id",
300
+ "name": "projectId",
301
+ "required": true,
302
+ "description": "Project ID",
303
+ "default": 0,
304
+ "type": "number",
305
+ "displayOptions": {
306
+ "show": {
307
+ "resource": [
308
+ "Project Document"
309
+ ],
310
+ "operation": [
311
+ "Delete Project Document"
312
+ ]
313
+ }
314
+ }
315
+ },
316
+ {
317
+ "displayName": "Document Id",
318
+ "name": "documentId",
319
+ "required": true,
320
+ "description": "Document ID",
321
+ "default": 0,
322
+ "type": "number",
323
+ "displayOptions": {
324
+ "show": {
325
+ "resource": [
326
+ "Project Document"
327
+ ],
328
+ "operation": [
329
+ "Delete Project Document"
330
+ ]
331
+ }
332
+ }
333
+ },
334
+ {
335
+ "displayName": "GET /projects/{projectId}/documents/{documentId}",
336
+ "name": "operation",
337
+ "type": "notice",
338
+ "typeOptions": {
339
+ "theme": "info"
340
+ },
341
+ "default": "",
342
+ "displayOptions": {
343
+ "show": {
344
+ "resource": [
345
+ "Project Document"
346
+ ],
347
+ "operation": [
348
+ "Get Project Document"
349
+ ]
350
+ }
351
+ }
352
+ },
353
+ {
354
+ "displayName": "Project Id",
355
+ "name": "projectId",
356
+ "required": true,
357
+ "description": "Project ID",
358
+ "default": 0,
359
+ "type": "number",
360
+ "displayOptions": {
361
+ "show": {
362
+ "resource": [
363
+ "Project Document"
364
+ ],
365
+ "operation": [
366
+ "Get Project Document"
367
+ ]
368
+ }
369
+ }
370
+ },
371
+ {
372
+ "displayName": "Document Id",
373
+ "name": "documentId",
374
+ "required": true,
375
+ "description": "Document ID",
376
+ "default": 0,
377
+ "type": "number",
378
+ "displayOptions": {
379
+ "show": {
380
+ "resource": [
381
+ "Project Document"
382
+ ],
383
+ "operation": [
384
+ "Get Project Document"
385
+ ]
386
+ }
387
+ }
388
+ },
389
+ {
390
+ "displayName": "With",
391
+ "name": "with%5B%5D",
392
+ "description": "Attach further information. Possible values 'preview' to fetch temporary preview URLs. This is NOT recommended to be used with list calls. Only use with[]=preview for single document/style guide calls.",
393
+ "default": "[\n null\n]",
394
+ "type": "json",
395
+ "routing": {
396
+ "send": {
397
+ "type": "query",
398
+ "property": "with[]",
399
+ "value": "={{ $value }}",
400
+ "propertyInDotNotation": false
401
+ }
402
+ },
403
+ "displayOptions": {
404
+ "show": {
405
+ "resource": [
406
+ "Project Document"
407
+ ],
408
+ "operation": [
409
+ "Get Project Document"
410
+ ]
411
+ }
412
+ }
413
+ },
414
+ {
415
+ "displayName": "POST /projects/{projectId}/documents/{documentId}",
416
+ "name": "operation",
417
+ "type": "notice",
418
+ "typeOptions": {
419
+ "theme": "info"
420
+ },
421
+ "default": "",
422
+ "displayOptions": {
423
+ "show": {
424
+ "resource": [
425
+ "Project Document"
426
+ ],
427
+ "operation": [
428
+ "Update Project Document"
429
+ ]
430
+ }
431
+ }
432
+ },
433
+ {
434
+ "displayName": "Project Id",
435
+ "name": "projectId",
436
+ "required": true,
437
+ "description": "Project ID",
438
+ "default": 0,
439
+ "type": "number",
440
+ "displayOptions": {
441
+ "show": {
442
+ "resource": [
443
+ "Project Document"
444
+ ],
445
+ "operation": [
446
+ "Update Project Document"
447
+ ]
448
+ }
449
+ }
450
+ },
451
+ {
452
+ "displayName": "Document Id",
453
+ "name": "documentId",
454
+ "required": true,
455
+ "description": "Document ID",
456
+ "default": 0,
457
+ "type": "number",
458
+ "displayOptions": {
459
+ "show": {
460
+ "resource": [
461
+ "Project Document"
462
+ ],
463
+ "operation": [
464
+ "Update Project Document"
465
+ ]
466
+ }
467
+ }
468
+ },
469
+ {
470
+ "displayName": "Documents",
471
+ "name": "documents",
472
+ "type": "string",
473
+ "default": "",
474
+ "description": "Single file data. The name is plural to provide a consistent naming convention.",
475
+ "routing": {
476
+ "send": {
477
+ "property": "documents",
478
+ "propertyInDotNotation": false,
479
+ "type": "body",
480
+ "value": "={{ $value }}"
481
+ }
482
+ },
483
+ "displayOptions": {
484
+ "show": {
485
+ "resource": [
486
+ "Project Document"
487
+ ],
488
+ "operation": [
489
+ "Update Project Document"
490
+ ]
491
+ }
492
+ }
493
+ },
494
+ {
495
+ "displayName": "Schemes",
496
+ "name": "schemes",
497
+ "type": "string",
498
+ "default": "",
499
+ "description": "JSON string. If your documents have a scheme, as in cases of CSV files, use the same array index keys for `schemes` parameter to specify their schemes. See `Document Schemes` title in the API documentation.",
500
+ "routing": {
501
+ "send": {
502
+ "property": "schemes",
503
+ "propertyInDotNotation": false,
504
+ "type": "body",
505
+ "value": "={{ $value }}"
506
+ }
507
+ },
508
+ "displayOptions": {
509
+ "show": {
510
+ "resource": [
511
+ "Project Document"
512
+ ],
513
+ "operation": [
514
+ "Update Project Document"
515
+ ]
516
+ }
517
+ }
518
+ },
519
+ {
520
+ "displayName": "Source Link",
521
+ "name": "source-link",
522
+ "type": "json",
523
+ "default": "{}",
524
+ "routing": {
525
+ "send": {
526
+ "property": "source-link",
527
+ "propertyInDotNotation": false,
528
+ "type": "body",
529
+ "value": "={{ JSON.parse($value) }}"
530
+ }
531
+ },
532
+ "displayOptions": {
533
+ "show": {
534
+ "resource": [
535
+ "Project Document"
536
+ ],
537
+ "operation": [
538
+ "Update Project Document"
539
+ ]
540
+ }
541
+ }
542
+ },
543
+ {
544
+ "displayName": "GET /projects/{projectId}/documents/{documentId}/download",
545
+ "name": "operation",
546
+ "type": "notice",
547
+ "typeOptions": {
548
+ "theme": "info"
549
+ },
550
+ "default": "",
551
+ "displayOptions": {
552
+ "show": {
553
+ "resource": [
554
+ "Project Document"
555
+ ],
556
+ "operation": [
557
+ "Download Project Document"
558
+ ]
559
+ }
560
+ }
561
+ },
562
+ {
563
+ "displayName": "Project Id",
564
+ "name": "projectId",
565
+ "required": true,
566
+ "description": "Project ID",
567
+ "default": 0,
568
+ "type": "number",
569
+ "displayOptions": {
570
+ "show": {
571
+ "resource": [
572
+ "Project Document"
573
+ ],
574
+ "operation": [
575
+ "Download Project Document"
576
+ ]
577
+ }
578
+ }
579
+ },
580
+ {
581
+ "displayName": "Document Id",
582
+ "name": "documentId",
583
+ "required": true,
584
+ "description": "Document ID",
585
+ "default": 0,
586
+ "type": "number",
587
+ "displayOptions": {
588
+ "show": {
589
+ "resource": [
590
+ "Project Document"
591
+ ],
592
+ "operation": [
593
+ "Download Project Document"
594
+ ]
595
+ }
596
+ }
597
+ },
598
+ {
599
+ "displayName": "GET /projects/{projectId}/documents/{documentId}/translations/download/{language}",
600
+ "name": "operation",
601
+ "type": "notice",
602
+ "typeOptions": {
603
+ "theme": "info"
604
+ },
605
+ "default": "",
606
+ "displayOptions": {
607
+ "show": {
608
+ "resource": [
609
+ "Project Document"
610
+ ],
611
+ "operation": [
612
+ "Download Translated Document For Language"
613
+ ]
614
+ }
615
+ }
616
+ },
617
+ {
618
+ "displayName": "Project Id",
619
+ "name": "projectId",
620
+ "required": true,
621
+ "description": "Project ID",
622
+ "default": 0,
623
+ "type": "number",
624
+ "displayOptions": {
625
+ "show": {
626
+ "resource": [
627
+ "Project Document"
628
+ ],
629
+ "operation": [
630
+ "Download Translated Document For Language"
631
+ ]
632
+ }
633
+ }
634
+ },
635
+ {
636
+ "displayName": "Document Id",
637
+ "name": "documentId",
638
+ "required": true,
639
+ "description": "Document ID",
640
+ "default": 0,
641
+ "type": "number",
642
+ "displayOptions": {
643
+ "show": {
644
+ "resource": [
645
+ "Project Document"
646
+ ],
647
+ "operation": [
648
+ "Download Translated Document For Language"
649
+ ]
650
+ }
651
+ }
652
+ },
653
+ {
654
+ "displayName": "Language",
655
+ "name": "language",
656
+ "required": true,
657
+ "description": "Target language code.",
658
+ "default": "",
659
+ "type": "string",
660
+ "displayOptions": {
661
+ "show": {
662
+ "resource": [
663
+ "Project Document"
664
+ ],
665
+ "operation": [
666
+ "Download Translated Document For Language"
667
+ ]
668
+ }
669
+ }
670
+ },
671
+ {
672
+ "displayName": "Certified",
673
+ "name": "certified",
674
+ "description": "Download certified translation",
675
+ "default": 0,
676
+ "type": "boolean",
677
+ "routing": {
678
+ "send": {
679
+ "type": "query",
680
+ "property": "certified",
681
+ "value": "={{ $value }}",
682
+ "propertyInDotNotation": false
683
+ }
684
+ },
685
+ "displayOptions": {
686
+ "show": {
687
+ "resource": [
688
+ "Project Document"
689
+ ],
690
+ "operation": [
691
+ "Download Translated Document For Language"
692
+ ]
693
+ }
694
+ }
695
+ },
696
+ ];
697
+ //# sourceMappingURL=index.js.map