@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,1262 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.documentDescription = void 0;
4
+ exports.documentDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Document"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Documents",
20
+ "value": "Get Documents",
21
+ "action": "View your documents",
22
+ "description": "View a list of files and documents that you have translations for. This endpoint lets you view your MotaWord account as a multilingual translated file repository, without needing to go through your projects to interact with files in them.",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/documents"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Get All Document Subjects",
32
+ "value": "Get All Document Subjects",
33
+ "action": "Get a list of subjects of projects",
34
+ "description": "Get a list of subjects of projects",
35
+ "routing": {
36
+ "request": {
37
+ "method": "GET",
38
+ "url": "=/documents/subjects"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Get Document",
44
+ "value": "Get Document",
45
+ "action": "View a single document",
46
+ "description": "View a single document from your MotaWord account with its translation info.",
47
+ "routing": {
48
+ "request": {
49
+ "method": "GET",
50
+ "url": "=/documents/{{$parameter[\"documentId\"]}}"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "Get Document Progress",
56
+ "value": "Get Document Progress",
57
+ "action": "View a document translation progress",
58
+ "description": "View the translation or proofreading progress of a document in your account. You can also track the progress of a document under the project that it was ordered with.",
59
+ "routing": {
60
+ "request": {
61
+ "method": "GET",
62
+ "url": "=/documents/{{$parameter[\"documentId\"]}}/progress"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "Regenerate Preview",
68
+ "value": "Regenerate Preview",
69
+ "action": "Regenerate preview and return preview URL for given file",
70
+ "description": "Regenerate preview and return preview URL for given file",
71
+ "routing": {
72
+ "request": {
73
+ "method": "POST",
74
+ "url": "=/documents/{{$parameter[\"documentId\"]}}/regenerate_preview"
75
+ }
76
+ }
77
+ },
78
+ {
79
+ "name": "Get Similar Documents",
80
+ "value": "Get Similar Documents",
81
+ "action": "Find documents similar to this document.",
82
+ "description": "Find documents similar to this document. Optionally, include translation information.",
83
+ "routing": {
84
+ "request": {
85
+ "method": "GET",
86
+ "url": "=/documents/{{$parameter[\"documentId\"]}}/similars"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "name": "Use As Draft",
92
+ "value": "Use As Draft",
93
+ "action": "Use the translation of given source manual document as manual draft source for the given target document.",
94
+ "description": "Use the translation of given source manual document as manual draft source for the given target document.",
95
+ "routing": {
96
+ "request": {
97
+ "method": "POST",
98
+ "url": "=/documents/{{$parameter[\"documentId\"]}}/use_as_draft"
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "name": "Use As Regular",
104
+ "value": "Use As Regular",
105
+ "action": "Use the translation of the given manual document as a regular file.",
106
+ "description": "Use the translation of the given manual document as a regular file.",
107
+ "routing": {
108
+ "request": {
109
+ "method": "POST",
110
+ "url": "=/documents/{{$parameter[\"documentId\"]}}/use_as_regular"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "name": "Get User Documents",
116
+ "value": "Get User Documents",
117
+ "action": "Get a list of your documents",
118
+ "description": "Get a list of your documents",
119
+ "routing": {
120
+ "request": {
121
+ "method": "GET",
122
+ "url": "=/{{$parameter[\"userId\"]}}/documents"
123
+ }
124
+ }
125
+ }
126
+ ],
127
+ "default": ""
128
+ },
129
+ {
130
+ "displayName": "GET /documents",
131
+ "name": "operation",
132
+ "type": "notice",
133
+ "typeOptions": {
134
+ "theme": "info"
135
+ },
136
+ "default": "",
137
+ "displayOptions": {
138
+ "show": {
139
+ "resource": [
140
+ "Document"
141
+ ],
142
+ "operation": [
143
+ "Get Documents"
144
+ ]
145
+ }
146
+ }
147
+ },
148
+ {
149
+ "displayName": "Recent",
150
+ "name": "recent",
151
+ "description": "When true, this will return the most 4 recent active documents.",
152
+ "default": 0,
153
+ "type": "boolean",
154
+ "routing": {
155
+ "send": {
156
+ "type": "query",
157
+ "property": "recent",
158
+ "value": "={{ $value }}",
159
+ "propertyInDotNotation": false
160
+ }
161
+ },
162
+ "displayOptions": {
163
+ "show": {
164
+ "resource": [
165
+ "Document"
166
+ ],
167
+ "operation": [
168
+ "Get Documents"
169
+ ]
170
+ }
171
+ }
172
+ },
173
+ {
174
+ "displayName": "Search",
175
+ "name": "search",
176
+ "default": "",
177
+ "type": "string",
178
+ "routing": {
179
+ "send": {
180
+ "type": "query",
181
+ "property": "search",
182
+ "value": "={{ $value }}",
183
+ "propertyInDotNotation": false
184
+ }
185
+ },
186
+ "displayOptions": {
187
+ "show": {
188
+ "resource": [
189
+ "Document"
190
+ ],
191
+ "operation": [
192
+ "Get Documents"
193
+ ]
194
+ }
195
+ }
196
+ },
197
+ {
198
+ "displayName": "Type Filter",
199
+ "name": "type_filter",
200
+ "default": "ALL",
201
+ "type": "options",
202
+ "options": [
203
+ {
204
+ "name": "ALL",
205
+ "value": "ALL"
206
+ },
207
+ {
208
+ "name": "TEXT DOCUMENTS",
209
+ "value": "TEXT_DOCUMENTS"
210
+ },
211
+ {
212
+ "name": "PRESENTATIONS",
213
+ "value": "PRESENTATIONS"
214
+ },
215
+ {
216
+ "name": "SPREADSHEETS",
217
+ "value": "SPREADSHEETS"
218
+ },
219
+ {
220
+ "name": "PDFS",
221
+ "value": "PDFS"
222
+ },
223
+ {
224
+ "name": "IMAGES",
225
+ "value": "IMAGES"
226
+ },
227
+ {
228
+ "name": "SUBTITLES",
229
+ "value": "SUBTITLES"
230
+ },
231
+ {
232
+ "name": "DESIGNS",
233
+ "value": "DESIGNS"
234
+ },
235
+ {
236
+ "name": "LOCALIZATION",
237
+ "value": "LOCALIZATION"
238
+ },
239
+ {
240
+ "name": "WEB",
241
+ "value": "WEB"
242
+ },
243
+ {
244
+ "name": "STYLE GUIDES",
245
+ "value": "STYLE_GUIDES"
246
+ },
247
+ {
248
+ "name": "GLOSSARIES",
249
+ "value": "GLOSSARIES"
250
+ }
251
+ ],
252
+ "routing": {
253
+ "send": {
254
+ "type": "query",
255
+ "property": "type_filter",
256
+ "value": "={{ $value }}",
257
+ "propertyInDotNotation": false
258
+ }
259
+ },
260
+ "displayOptions": {
261
+ "show": {
262
+ "resource": [
263
+ "Document"
264
+ ],
265
+ "operation": [
266
+ "Get Documents"
267
+ ]
268
+ }
269
+ }
270
+ },
271
+ {
272
+ "displayName": "Language Code",
273
+ "name": "language_code",
274
+ "description": "searches in source language of documents, in source and target languages of document's quote",
275
+ "default": "",
276
+ "type": "string",
277
+ "routing": {
278
+ "send": {
279
+ "type": "query",
280
+ "property": "language_code",
281
+ "value": "={{ $value }}",
282
+ "propertyInDotNotation": false
283
+ }
284
+ },
285
+ "displayOptions": {
286
+ "show": {
287
+ "resource": [
288
+ "Document"
289
+ ],
290
+ "operation": [
291
+ "Get Documents"
292
+ ]
293
+ }
294
+ }
295
+ },
296
+ {
297
+ "displayName": "Page",
298
+ "name": "page",
299
+ "default": 1,
300
+ "type": "number",
301
+ "routing": {
302
+ "send": {
303
+ "type": "query",
304
+ "property": "page",
305
+ "value": "={{ $value }}",
306
+ "propertyInDotNotation": false
307
+ }
308
+ },
309
+ "displayOptions": {
310
+ "show": {
311
+ "resource": [
312
+ "Document"
313
+ ],
314
+ "operation": [
315
+ "Get Documents"
316
+ ]
317
+ }
318
+ }
319
+ },
320
+ {
321
+ "displayName": "Per Page",
322
+ "name": "per_page",
323
+ "default": 10,
324
+ "type": "number",
325
+ "routing": {
326
+ "send": {
327
+ "type": "query",
328
+ "property": "per_page",
329
+ "value": "={{ $value }}",
330
+ "propertyInDotNotation": false
331
+ }
332
+ },
333
+ "displayOptions": {
334
+ "show": {
335
+ "resource": [
336
+ "Document"
337
+ ],
338
+ "operation": [
339
+ "Get Documents"
340
+ ]
341
+ }
342
+ }
343
+ },
344
+ {
345
+ "displayName": "Order By",
346
+ "name": "order_by",
347
+ "default": "updated_at",
348
+ "type": "options",
349
+ "options": [
350
+ {
351
+ "name": "Id",
352
+ "value": "id"
353
+ },
354
+ {
355
+ "name": "Updated At",
356
+ "value": "updated_at"
357
+ },
358
+ {
359
+ "name": "Created At",
360
+ "value": "created_at"
361
+ },
362
+ {
363
+ "name": "Name",
364
+ "value": "name"
365
+ }
366
+ ],
367
+ "routing": {
368
+ "send": {
369
+ "type": "query",
370
+ "property": "order_by",
371
+ "value": "={{ $value }}",
372
+ "propertyInDotNotation": false
373
+ }
374
+ },
375
+ "displayOptions": {
376
+ "show": {
377
+ "resource": [
378
+ "Document"
379
+ ],
380
+ "operation": [
381
+ "Get Documents"
382
+ ]
383
+ }
384
+ }
385
+ },
386
+ {
387
+ "displayName": "Order Type",
388
+ "name": "order_type",
389
+ "default": "desc",
390
+ "type": "options",
391
+ "options": [
392
+ {
393
+ "name": "Asc",
394
+ "value": "asc"
395
+ },
396
+ {
397
+ "name": "Desc",
398
+ "value": "desc"
399
+ }
400
+ ],
401
+ "routing": {
402
+ "send": {
403
+ "type": "query",
404
+ "property": "order_type",
405
+ "value": "={{ $value }}",
406
+ "propertyInDotNotation": false
407
+ }
408
+ },
409
+ "displayOptions": {
410
+ "show": {
411
+ "resource": [
412
+ "Document"
413
+ ],
414
+ "operation": [
415
+ "Get Documents"
416
+ ]
417
+ }
418
+ }
419
+ },
420
+ {
421
+ "displayName": "With",
422
+ "name": "with%5B%5D",
423
+ "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.",
424
+ "default": "[\n null\n]",
425
+ "type": "json",
426
+ "routing": {
427
+ "send": {
428
+ "type": "query",
429
+ "property": "with[]",
430
+ "value": "={{ $value }}",
431
+ "propertyInDotNotation": false
432
+ }
433
+ },
434
+ "displayOptions": {
435
+ "show": {
436
+ "resource": [
437
+ "Document"
438
+ ],
439
+ "operation": [
440
+ "Get Documents"
441
+ ]
442
+ }
443
+ }
444
+ },
445
+ {
446
+ "displayName": "GET /documents/subjects",
447
+ "name": "operation",
448
+ "type": "notice",
449
+ "typeOptions": {
450
+ "theme": "info"
451
+ },
452
+ "default": "",
453
+ "displayOptions": {
454
+ "show": {
455
+ "resource": [
456
+ "Document"
457
+ ],
458
+ "operation": [
459
+ "Get All Document Subjects"
460
+ ]
461
+ }
462
+ }
463
+ },
464
+ {
465
+ "displayName": "GET /documents/{documentId}",
466
+ "name": "operation",
467
+ "type": "notice",
468
+ "typeOptions": {
469
+ "theme": "info"
470
+ },
471
+ "default": "",
472
+ "displayOptions": {
473
+ "show": {
474
+ "resource": [
475
+ "Document"
476
+ ],
477
+ "operation": [
478
+ "Get Document"
479
+ ]
480
+ }
481
+ }
482
+ },
483
+ {
484
+ "displayName": "Document Id",
485
+ "name": "documentId",
486
+ "required": true,
487
+ "description": "Document ID or filename",
488
+ "default": "",
489
+ "type": "string",
490
+ "displayOptions": {
491
+ "show": {
492
+ "resource": [
493
+ "Document"
494
+ ],
495
+ "operation": [
496
+ "Get Document"
497
+ ]
498
+ }
499
+ }
500
+ },
501
+ {
502
+ "displayName": "GET /documents/{documentId}/progress",
503
+ "name": "operation",
504
+ "type": "notice",
505
+ "typeOptions": {
506
+ "theme": "info"
507
+ },
508
+ "default": "",
509
+ "displayOptions": {
510
+ "show": {
511
+ "resource": [
512
+ "Document"
513
+ ],
514
+ "operation": [
515
+ "Get Document Progress"
516
+ ]
517
+ }
518
+ }
519
+ },
520
+ {
521
+ "displayName": "Document Id",
522
+ "name": "documentId",
523
+ "required": true,
524
+ "description": "Document ID",
525
+ "default": 0,
526
+ "type": "number",
527
+ "displayOptions": {
528
+ "show": {
529
+ "resource": [
530
+ "Document"
531
+ ],
532
+ "operation": [
533
+ "Get Document Progress"
534
+ ]
535
+ }
536
+ }
537
+ },
538
+ {
539
+ "displayName": "POST /documents/{documentId}/regenerate_preview",
540
+ "name": "operation",
541
+ "type": "notice",
542
+ "typeOptions": {
543
+ "theme": "info"
544
+ },
545
+ "default": "",
546
+ "displayOptions": {
547
+ "show": {
548
+ "resource": [
549
+ "Document"
550
+ ],
551
+ "operation": [
552
+ "Regenerate Preview"
553
+ ]
554
+ }
555
+ }
556
+ },
557
+ {
558
+ "displayName": "Document Id",
559
+ "name": "documentId",
560
+ "required": true,
561
+ "description": "Document ID",
562
+ "default": 0,
563
+ "type": "number",
564
+ "displayOptions": {
565
+ "show": {
566
+ "resource": [
567
+ "Document"
568
+ ],
569
+ "operation": [
570
+ "Regenerate Preview"
571
+ ]
572
+ }
573
+ }
574
+ },
575
+ {
576
+ "displayName": "GET /documents/{documentId}/similars",
577
+ "name": "operation",
578
+ "type": "notice",
579
+ "typeOptions": {
580
+ "theme": "info"
581
+ },
582
+ "default": "",
583
+ "displayOptions": {
584
+ "show": {
585
+ "resource": [
586
+ "Document"
587
+ ],
588
+ "operation": [
589
+ "Get Similar Documents"
590
+ ]
591
+ }
592
+ }
593
+ },
594
+ {
595
+ "displayName": "Document Id",
596
+ "name": "documentId",
597
+ "required": true,
598
+ "description": "Document ID",
599
+ "default": 0,
600
+ "type": "number",
601
+ "displayOptions": {
602
+ "show": {
603
+ "resource": [
604
+ "Document"
605
+ ],
606
+ "operation": [
607
+ "Get Similar Documents"
608
+ ]
609
+ }
610
+ }
611
+ },
612
+ {
613
+ "displayName": "Per Page",
614
+ "name": "per_page",
615
+ "description": "Determines the number of similar documents to return.",
616
+ "default": 1,
617
+ "type": "number",
618
+ "routing": {
619
+ "send": {
620
+ "type": "query",
621
+ "property": "per_page",
622
+ "value": "={{ $value }}",
623
+ "propertyInDotNotation": false
624
+ }
625
+ },
626
+ "displayOptions": {
627
+ "show": {
628
+ "resource": [
629
+ "Document"
630
+ ],
631
+ "operation": [
632
+ "Get Similar Documents"
633
+ ]
634
+ }
635
+ }
636
+ },
637
+ {
638
+ "displayName": "With",
639
+ "name": "with%5B%5D",
640
+ "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.",
641
+ "default": "[\n null\n]",
642
+ "type": "json",
643
+ "routing": {
644
+ "send": {
645
+ "type": "query",
646
+ "property": "with[]",
647
+ "value": "={{ $value }}",
648
+ "propertyInDotNotation": false
649
+ }
650
+ },
651
+ "displayOptions": {
652
+ "show": {
653
+ "resource": [
654
+ "Document"
655
+ ],
656
+ "operation": [
657
+ "Get Similar Documents"
658
+ ]
659
+ }
660
+ }
661
+ },
662
+ {
663
+ "displayName": "POST /documents/{documentId}/use_as_draft",
664
+ "name": "operation",
665
+ "type": "notice",
666
+ "typeOptions": {
667
+ "theme": "info"
668
+ },
669
+ "default": "",
670
+ "displayOptions": {
671
+ "show": {
672
+ "resource": [
673
+ "Document"
674
+ ],
675
+ "operation": [
676
+ "Use As Draft"
677
+ ]
678
+ }
679
+ }
680
+ },
681
+ {
682
+ "displayName": "Document Id",
683
+ "name": "documentId",
684
+ "required": true,
685
+ "description": "Document ID",
686
+ "default": 0,
687
+ "type": "number",
688
+ "displayOptions": {
689
+ "show": {
690
+ "resource": [
691
+ "Document"
692
+ ],
693
+ "operation": [
694
+ "Use As Draft"
695
+ ]
696
+ }
697
+ }
698
+ },
699
+ {
700
+ "displayName": "From File Id",
701
+ "name": "fromFileId",
702
+ "type": "number",
703
+ "default": 0,
704
+ "routing": {
705
+ "send": {
706
+ "property": "fromFileId",
707
+ "propertyInDotNotation": false,
708
+ "type": "body",
709
+ "value": "={{ $value }}"
710
+ }
711
+ },
712
+ "displayOptions": {
713
+ "show": {
714
+ "resource": [
715
+ "Document"
716
+ ],
717
+ "operation": [
718
+ "Use As Draft"
719
+ ]
720
+ }
721
+ }
722
+ },
723
+ {
724
+ "displayName": "From Manual Translation File Id",
725
+ "name": "fromManualTranslationFileId",
726
+ "type": "number",
727
+ "default": 0,
728
+ "routing": {
729
+ "send": {
730
+ "property": "fromManualTranslationFileId",
731
+ "propertyInDotNotation": false,
732
+ "type": "body",
733
+ "value": "={{ $value }}"
734
+ }
735
+ },
736
+ "displayOptions": {
737
+ "show": {
738
+ "resource": [
739
+ "Document"
740
+ ],
741
+ "operation": [
742
+ "Use As Draft"
743
+ ]
744
+ }
745
+ }
746
+ },
747
+ {
748
+ "displayName": "To Manual Translation File Id",
749
+ "name": "toManualTranslationFileId",
750
+ "type": "number",
751
+ "default": 0,
752
+ "routing": {
753
+ "send": {
754
+ "property": "toManualTranslationFileId",
755
+ "propertyInDotNotation": false,
756
+ "type": "body",
757
+ "value": "={{ $value }}"
758
+ }
759
+ },
760
+ "displayOptions": {
761
+ "show": {
762
+ "resource": [
763
+ "Document"
764
+ ],
765
+ "operation": [
766
+ "Use As Draft"
767
+ ]
768
+ }
769
+ }
770
+ },
771
+ {
772
+ "displayName": "POST /documents/{documentId}/use_as_regular",
773
+ "name": "operation",
774
+ "type": "notice",
775
+ "typeOptions": {
776
+ "theme": "info"
777
+ },
778
+ "default": "",
779
+ "displayOptions": {
780
+ "show": {
781
+ "resource": [
782
+ "Document"
783
+ ],
784
+ "operation": [
785
+ "Use As Regular"
786
+ ]
787
+ }
788
+ }
789
+ },
790
+ {
791
+ "displayName": "Document Id",
792
+ "name": "documentId",
793
+ "required": true,
794
+ "description": "Document ID",
795
+ "default": 0,
796
+ "type": "number",
797
+ "displayOptions": {
798
+ "show": {
799
+ "resource": [
800
+ "Document"
801
+ ],
802
+ "operation": [
803
+ "Use As Regular"
804
+ ]
805
+ }
806
+ }
807
+ },
808
+ {
809
+ "displayName": "Allow Original File Preview",
810
+ "name": "allowOriginalFilePreview",
811
+ "type": "boolean",
812
+ "default": true,
813
+ "routing": {
814
+ "send": {
815
+ "property": "allowOriginalFilePreview",
816
+ "propertyInDotNotation": false,
817
+ "type": "body",
818
+ "value": "={{ $value }}"
819
+ }
820
+ },
821
+ "displayOptions": {
822
+ "show": {
823
+ "resource": [
824
+ "Document"
825
+ ],
826
+ "operation": [
827
+ "Use As Regular"
828
+ ]
829
+ }
830
+ }
831
+ },
832
+ {
833
+ "displayName": "Allow Review In Manual Editor",
834
+ "name": "allowReviewInManualEditor",
835
+ "type": "boolean",
836
+ "default": true,
837
+ "routing": {
838
+ "send": {
839
+ "property": "allowReviewInManualEditor",
840
+ "propertyInDotNotation": false,
841
+ "type": "body",
842
+ "value": "={{ $value }}"
843
+ }
844
+ },
845
+ "displayOptions": {
846
+ "show": {
847
+ "resource": [
848
+ "Document"
849
+ ],
850
+ "operation": [
851
+ "Use As Regular"
852
+ ]
853
+ }
854
+ }
855
+ },
856
+ {
857
+ "displayName": "Disable Invitations",
858
+ "name": "disableInvitations",
859
+ "type": "boolean",
860
+ "default": true,
861
+ "routing": {
862
+ "send": {
863
+ "property": "disableInvitations",
864
+ "propertyInDotNotation": false,
865
+ "type": "body",
866
+ "value": "={{ $value }}"
867
+ }
868
+ },
869
+ "displayOptions": {
870
+ "show": {
871
+ "resource": [
872
+ "Document"
873
+ ],
874
+ "operation": [
875
+ "Use As Regular"
876
+ ]
877
+ }
878
+ }
879
+ },
880
+ {
881
+ "displayName": "From Manual Translation File Id",
882
+ "name": "fromManualTranslationFileId",
883
+ "type": "number",
884
+ "default": 0,
885
+ "routing": {
886
+ "send": {
887
+ "property": "fromManualTranslationFileId",
888
+ "propertyInDotNotation": false,
889
+ "type": "body",
890
+ "value": "={{ $value }}"
891
+ }
892
+ },
893
+ "displayOptions": {
894
+ "show": {
895
+ "resource": [
896
+ "Document"
897
+ ],
898
+ "operation": [
899
+ "Use As Regular"
900
+ ]
901
+ }
902
+ }
903
+ },
904
+ {
905
+ "displayName": "Hide Numbers",
906
+ "name": "hideNumbers",
907
+ "type": "boolean",
908
+ "default": true,
909
+ "routing": {
910
+ "send": {
911
+ "property": "hideNumbers",
912
+ "propertyInDotNotation": false,
913
+ "type": "body",
914
+ "value": "={{ $value }}"
915
+ }
916
+ },
917
+ "displayOptions": {
918
+ "show": {
919
+ "resource": [
920
+ "Document"
921
+ ],
922
+ "operation": [
923
+ "Use As Regular"
924
+ ]
925
+ }
926
+ }
927
+ },
928
+ {
929
+ "displayName": "Recreate",
930
+ "name": "recreate",
931
+ "type": "boolean",
932
+ "default": true,
933
+ "routing": {
934
+ "send": {
935
+ "property": "recreate",
936
+ "propertyInDotNotation": false,
937
+ "type": "body",
938
+ "value": "={{ $value }}"
939
+ }
940
+ },
941
+ "displayOptions": {
942
+ "show": {
943
+ "resource": [
944
+ "Document"
945
+ ],
946
+ "operation": [
947
+ "Use As Regular"
948
+ ]
949
+ }
950
+ }
951
+ },
952
+ {
953
+ "displayName": "GET /{userId}/documents",
954
+ "name": "operation",
955
+ "type": "notice",
956
+ "typeOptions": {
957
+ "theme": "info"
958
+ },
959
+ "default": "",
960
+ "displayOptions": {
961
+ "show": {
962
+ "resource": [
963
+ "Document"
964
+ ],
965
+ "operation": [
966
+ "Get User Documents"
967
+ ]
968
+ }
969
+ }
970
+ },
971
+ {
972
+ "displayName": "User Id",
973
+ "name": "userId",
974
+ "required": true,
975
+ "description": "User ID",
976
+ "default": 0,
977
+ "type": "number",
978
+ "displayOptions": {
979
+ "show": {
980
+ "resource": [
981
+ "Document"
982
+ ],
983
+ "operation": [
984
+ "Get User Documents"
985
+ ]
986
+ }
987
+ }
988
+ },
989
+ {
990
+ "displayName": "Recent",
991
+ "name": "recent",
992
+ "description": "When true, this will return the most 4 recent active documents.",
993
+ "default": 0,
994
+ "type": "boolean",
995
+ "routing": {
996
+ "send": {
997
+ "type": "query",
998
+ "property": "recent",
999
+ "value": "={{ $value }}",
1000
+ "propertyInDotNotation": false
1001
+ }
1002
+ },
1003
+ "displayOptions": {
1004
+ "show": {
1005
+ "resource": [
1006
+ "Document"
1007
+ ],
1008
+ "operation": [
1009
+ "Get User Documents"
1010
+ ]
1011
+ }
1012
+ }
1013
+ },
1014
+ {
1015
+ "displayName": "Search",
1016
+ "name": "search",
1017
+ "default": "",
1018
+ "type": "string",
1019
+ "routing": {
1020
+ "send": {
1021
+ "type": "query",
1022
+ "property": "search",
1023
+ "value": "={{ $value }}",
1024
+ "propertyInDotNotation": false
1025
+ }
1026
+ },
1027
+ "displayOptions": {
1028
+ "show": {
1029
+ "resource": [
1030
+ "Document"
1031
+ ],
1032
+ "operation": [
1033
+ "Get User Documents"
1034
+ ]
1035
+ }
1036
+ }
1037
+ },
1038
+ {
1039
+ "displayName": "Type Filter",
1040
+ "name": "type_filter",
1041
+ "default": "ALL",
1042
+ "type": "options",
1043
+ "options": [
1044
+ {
1045
+ "name": "ALL",
1046
+ "value": "ALL"
1047
+ },
1048
+ {
1049
+ "name": "TEXT DOCUMENTS",
1050
+ "value": "TEXT_DOCUMENTS"
1051
+ },
1052
+ {
1053
+ "name": "PRESENTATIONS",
1054
+ "value": "PRESENTATIONS"
1055
+ },
1056
+ {
1057
+ "name": "SPREADSHEETS",
1058
+ "value": "SPREADSHEETS"
1059
+ },
1060
+ {
1061
+ "name": "PDFS",
1062
+ "value": "PDFS"
1063
+ },
1064
+ {
1065
+ "name": "IMAGES",
1066
+ "value": "IMAGES"
1067
+ },
1068
+ {
1069
+ "name": "SUBTITLES",
1070
+ "value": "SUBTITLES"
1071
+ },
1072
+ {
1073
+ "name": "DESIGNS",
1074
+ "value": "DESIGNS"
1075
+ },
1076
+ {
1077
+ "name": "LOCALIZATION",
1078
+ "value": "LOCALIZATION"
1079
+ },
1080
+ {
1081
+ "name": "WEB",
1082
+ "value": "WEB"
1083
+ },
1084
+ {
1085
+ "name": "STYLE GUIDES",
1086
+ "value": "STYLE_GUIDES"
1087
+ },
1088
+ {
1089
+ "name": "GLOSSARIES",
1090
+ "value": "GLOSSARIES"
1091
+ }
1092
+ ],
1093
+ "routing": {
1094
+ "send": {
1095
+ "type": "query",
1096
+ "property": "type_filter",
1097
+ "value": "={{ $value }}",
1098
+ "propertyInDotNotation": false
1099
+ }
1100
+ },
1101
+ "displayOptions": {
1102
+ "show": {
1103
+ "resource": [
1104
+ "Document"
1105
+ ],
1106
+ "operation": [
1107
+ "Get User Documents"
1108
+ ]
1109
+ }
1110
+ }
1111
+ },
1112
+ {
1113
+ "displayName": "Language Code",
1114
+ "name": "language_code",
1115
+ "description": "searches in source language of documents, in source and target languages of document's quote",
1116
+ "default": "",
1117
+ "type": "string",
1118
+ "routing": {
1119
+ "send": {
1120
+ "type": "query",
1121
+ "property": "language_code",
1122
+ "value": "={{ $value }}",
1123
+ "propertyInDotNotation": false
1124
+ }
1125
+ },
1126
+ "displayOptions": {
1127
+ "show": {
1128
+ "resource": [
1129
+ "Document"
1130
+ ],
1131
+ "operation": [
1132
+ "Get User Documents"
1133
+ ]
1134
+ }
1135
+ }
1136
+ },
1137
+ {
1138
+ "displayName": "Page",
1139
+ "name": "page",
1140
+ "default": 1,
1141
+ "type": "number",
1142
+ "routing": {
1143
+ "send": {
1144
+ "type": "query",
1145
+ "property": "page",
1146
+ "value": "={{ $value }}",
1147
+ "propertyInDotNotation": false
1148
+ }
1149
+ },
1150
+ "displayOptions": {
1151
+ "show": {
1152
+ "resource": [
1153
+ "Document"
1154
+ ],
1155
+ "operation": [
1156
+ "Get User Documents"
1157
+ ]
1158
+ }
1159
+ }
1160
+ },
1161
+ {
1162
+ "displayName": "Per Page",
1163
+ "name": "per_page",
1164
+ "default": 10,
1165
+ "type": "number",
1166
+ "routing": {
1167
+ "send": {
1168
+ "type": "query",
1169
+ "property": "per_page",
1170
+ "value": "={{ $value }}",
1171
+ "propertyInDotNotation": false
1172
+ }
1173
+ },
1174
+ "displayOptions": {
1175
+ "show": {
1176
+ "resource": [
1177
+ "Document"
1178
+ ],
1179
+ "operation": [
1180
+ "Get User Documents"
1181
+ ]
1182
+ }
1183
+ }
1184
+ },
1185
+ {
1186
+ "displayName": "Order By",
1187
+ "name": "order_by",
1188
+ "default": "updated_at",
1189
+ "type": "options",
1190
+ "options": [
1191
+ {
1192
+ "name": "Id",
1193
+ "value": "id"
1194
+ },
1195
+ {
1196
+ "name": "Updated At",
1197
+ "value": "updated_at"
1198
+ },
1199
+ {
1200
+ "name": "Created At",
1201
+ "value": "created_at"
1202
+ },
1203
+ {
1204
+ "name": "Name",
1205
+ "value": "name"
1206
+ }
1207
+ ],
1208
+ "routing": {
1209
+ "send": {
1210
+ "type": "query",
1211
+ "property": "order_by",
1212
+ "value": "={{ $value }}",
1213
+ "propertyInDotNotation": false
1214
+ }
1215
+ },
1216
+ "displayOptions": {
1217
+ "show": {
1218
+ "resource": [
1219
+ "Document"
1220
+ ],
1221
+ "operation": [
1222
+ "Get User Documents"
1223
+ ]
1224
+ }
1225
+ }
1226
+ },
1227
+ {
1228
+ "displayName": "Order Type",
1229
+ "name": "order_type",
1230
+ "default": "desc",
1231
+ "type": "options",
1232
+ "options": [
1233
+ {
1234
+ "name": "Asc",
1235
+ "value": "asc"
1236
+ },
1237
+ {
1238
+ "name": "Desc",
1239
+ "value": "desc"
1240
+ }
1241
+ ],
1242
+ "routing": {
1243
+ "send": {
1244
+ "type": "query",
1245
+ "property": "order_type",
1246
+ "value": "={{ $value }}",
1247
+ "propertyInDotNotation": false
1248
+ }
1249
+ },
1250
+ "displayOptions": {
1251
+ "show": {
1252
+ "resource": [
1253
+ "Document"
1254
+ ],
1255
+ "operation": [
1256
+ "Get User Documents"
1257
+ ]
1258
+ }
1259
+ }
1260
+ },
1261
+ ];
1262
+ //# sourceMappingURL=index.js.map