@crowdin/n8n-nodes-crowdin 0.9.1 → 0.11.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 (67) hide show
  1. package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js +7 -281
  2. package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
  3. package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js +116 -65
  4. package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js.map +1 -1
  5. package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +35 -41
  6. package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
  7. package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js +26 -58
  8. package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js.map +1 -1
  9. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +79 -1
  10. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
  11. package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js +272 -1819
  12. package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js.map +1 -1
  13. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +1719 -49
  14. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
  15. package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +7 -281
  16. package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
  17. package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js +116 -65
  18. package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js.map +1 -1
  19. package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +35 -41
  20. package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
  21. package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js +26 -58
  22. package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js.map +1 -1
  23. package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js +273 -1820
  24. package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js.map +1 -1
  25. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +1677 -32
  26. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
  27. package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +7 -281
  28. package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
  29. package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js +116 -65
  30. package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js.map +1 -1
  31. package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js +19 -25
  32. package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js.map +1 -1
  33. package/dist/nodes/Crowdin/properties/enterprise/fileBased/reports.js +80 -148
  34. package/dist/nodes/Crowdin/properties/enterprise/fileBased/reports.js.map +1 -1
  35. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +79 -1
  36. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
  37. package/dist/nodes/Crowdin/properties/enterprise/fileBased/tasks.js +64 -11
  38. package/dist/nodes/Crowdin/properties/enterprise/fileBased/tasks.js.map +1 -1
  39. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +1745 -49
  40. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
  41. package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +7 -281
  42. package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
  43. package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js +116 -65
  44. package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js.map +1 -1
  45. package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js +0 -6
  46. package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js.map +1 -1
  47. package/dist/nodes/Crowdin/properties/enterprise/stringBased/reports.js +80 -148
  48. package/dist/nodes/Crowdin/properties/enterprise/stringBased/reports.js.map +1 -1
  49. package/dist/nodes/Crowdin/properties/enterprise/stringBased/tasks.js +64 -11
  50. package/dist/nodes/Crowdin/properties/enterprise/stringBased/tasks.js.map +1 -1
  51. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +1703 -32
  52. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
  53. package/dist/package.json +1 -1
  54. package/dist/tsconfig.tsbuildinfo +1 -1
  55. package/package.json +1 -1
  56. package/dist/nodes/Crowdin/properties/crowdin/fileBased/bundles.d.ts +0 -2
  57. package/dist/nodes/Crowdin/properties/crowdin/fileBased/bundles.js +0 -1453
  58. package/dist/nodes/Crowdin/properties/crowdin/fileBased/bundles.js.map +0 -1
  59. package/dist/nodes/Crowdin/properties/crowdin/stringBased/bundles.d.ts +0 -2
  60. package/dist/nodes/Crowdin/properties/crowdin/stringBased/bundles.js +0 -1453
  61. package/dist/nodes/Crowdin/properties/crowdin/stringBased/bundles.js.map +0 -1
  62. package/dist/nodes/Crowdin/properties/enterprise/fileBased/bundles.d.ts +0 -2
  63. package/dist/nodes/Crowdin/properties/enterprise/fileBased/bundles.js +0 -1453
  64. package/dist/nodes/Crowdin/properties/enterprise/fileBased/bundles.js.map +0 -1
  65. package/dist/nodes/Crowdin/properties/enterprise/stringBased/bundles.d.ts +0 -2
  66. package/dist/nodes/Crowdin/properties/enterprise/stringBased/bundles.js +0 -1453
  67. package/dist/nodes/Crowdin/properties/enterprise/stringBased/bundles.js.map +0 -1
@@ -1554,6 +1554,32 @@ exports.tasksProperties = [
1554
1554
  },
1555
1555
  placeholder: '123'
1556
1556
  },
1557
+ {
1558
+ displayName: 'Batch Id',
1559
+ name: 'batchId',
1560
+ description: 'Filter by task batch. Get `batchId` via [List Tasks](#operation/api.projects.tasks.getMany)',
1561
+ default: 0,
1562
+ type: 'number',
1563
+ routing: {
1564
+ send: {
1565
+ type: 'query',
1566
+ property: 'batchId',
1567
+ value: '={{ $value !== 0 ? $value : undefined }}',
1568
+ propertyInDotNotation: false
1569
+ }
1570
+ },
1571
+ displayOptions: {
1572
+ show: {
1573
+ resource: [
1574
+ 'tasks'
1575
+ ],
1576
+ operation: [
1577
+ 'api.projects.tasks.getMany'
1578
+ ]
1579
+ }
1580
+ },
1581
+ placeholder: '0'
1582
+ },
1557
1583
  {
1558
1584
  displayName: 'Project Id',
1559
1585
  name: 'projectId',
@@ -1593,8 +1619,8 @@ exports.tasksProperties = [
1593
1619
  },
1594
1620
  options: [
1595
1621
  {
1596
- displayName: 'Crowdin Task Create Form',
1597
- name: '_crowdinTaskCreateForm',
1622
+ displayName: 'Task Create',
1623
+ name: '_taskCreate',
1598
1624
  values: [
1599
1625
  {
1600
1626
  displayName: 'Form Type',
@@ -1604,7 +1630,7 @@ exports.tasksProperties = [
1604
1630
  description: 'Select the form type',
1605
1631
  options: [
1606
1632
  {
1607
- displayName: 'CreateByFileIdsForm',
1633
+ displayName: 'Create By File Ids Form',
1608
1634
  name: '_createByFileIdsForm',
1609
1635
  values: [
1610
1636
  {
@@ -1885,11 +1911,19 @@ exports.tasksProperties = [
1885
1911
  typeOptions: {
1886
1912
  loadOptionsMethod: 'getReportSettingsTemplates'
1887
1913
  }
1914
+ },
1915
+ {
1916
+ displayName: 'Batch Id',
1917
+ name: 'batchId',
1918
+ type: 'number',
1919
+ default: 0,
1920
+ description: 'Task Batch Identifier. Get via [List Tasks](#operation/api.projects.tasks.getMany). Allows grouping tasks into a batch',
1921
+ placeholder: '1'
1888
1922
  }
1889
1923
  ]
1890
1924
  },
1891
1925
  {
1892
- displayName: 'CreateByStringIdsForm',
1926
+ displayName: 'Create By String Ids Form',
1893
1927
  name: '_createByStringIdsForm',
1894
1928
  values: [
1895
1929
  {
@@ -2102,16 +2136,126 @@ exports.tasksProperties = [
2102
2136
  typeOptions: {
2103
2137
  loadOptionsMethod: 'getReportSettingsTemplates'
2104
2138
  }
2139
+ },
2140
+ {
2141
+ displayName: 'Batch Id',
2142
+ name: 'batchId',
2143
+ type: 'number',
2144
+ default: 0,
2145
+ description: 'Task Batch Identifier. Get via [List Tasks](#operation/api.projects.tasks.getMany). Allows grouping tasks into a batch',
2146
+ placeholder: '1'
2147
+ }
2148
+ ]
2149
+ }
2150
+ ]
2151
+ }
2152
+ ]
2153
+ },
2154
+ {
2155
+ displayName: 'Pending Task Create',
2156
+ name: '_pendingTaskCreate',
2157
+ values: [
2158
+ {
2159
+ displayName: 'Preceding Task Id',
2160
+ name: 'precedingTaskId',
2161
+ type: 'options',
2162
+ default: '',
2163
+ description: 'Translate Task Identifier. Get via [List Tasks](#operation/api.projects.tasks.getMany)',
2164
+ required: true,
2165
+ typeOptions: {
2166
+ loadOptionsMethod: 'getProjectTasks',
2167
+ loadOptionsDependsOn: [
2168
+ 'projectId'
2169
+ ]
2170
+ }
2171
+ },
2172
+ {
2173
+ displayName: 'Type',
2174
+ name: 'type',
2175
+ type: 'options',
2176
+ default: 1,
2177
+ description: 'Task type:\n * 1 - proofread\n * 3 - proofread by vendor (requires `vendor` field)',
2178
+ required: true,
2179
+ options: [
2180
+ {
2181
+ name: '1',
2182
+ value: 1
2183
+ },
2184
+ {
2185
+ name: '3',
2186
+ value: 3
2187
+ }
2188
+ ]
2189
+ },
2190
+ {
2191
+ displayName: 'Title',
2192
+ name: 'title',
2193
+ type: 'string',
2194
+ default: '',
2195
+ description: 'Task title',
2196
+ required: true
2197
+ },
2198
+ {
2199
+ displayName: 'Description',
2200
+ name: 'description',
2201
+ type: 'string',
2202
+ default: '',
2203
+ description: 'Task description'
2204
+ },
2205
+ {
2206
+ displayName: 'Vendor',
2207
+ name: 'vendor',
2208
+ type: 'string',
2209
+ default: '',
2210
+ description: 'Vendor identifier. Required when `type` is `3`. Browse available vendors at [Crowdin Store](https://crowdin.com/store/vendors).'
2211
+ },
2212
+ {
2213
+ displayName: 'Assignees',
2214
+ name: 'assignees',
2215
+ type: 'fixedCollection',
2216
+ typeOptions: {
2217
+ multipleValues: true
2218
+ },
2219
+ default: {},
2220
+ description: undefined,
2221
+ placeholder: 'Add Item',
2222
+ options: [
2223
+ {
2224
+ displayName: 'Item',
2225
+ name: 'items',
2226
+ values: [
2227
+ {
2228
+ displayName: 'Id',
2229
+ name: 'id',
2230
+ type: 'number',
2231
+ default: undefined,
2232
+ description: 'Project Member Identifier. Get via [List Project Members](#operation/api.projects.members.getMany)',
2233
+ required: true
2234
+ },
2235
+ {
2236
+ displayName: 'Words Count',
2237
+ name: 'wordsCount',
2238
+ type: 'number',
2239
+ default: 0,
2240
+ description: 'Defines how many words (starting from 1) are assigned to each task assignee\n *\n * __Note:__ Can be used only when \'splitContent\' parameter is specified'
2105
2241
  }
2106
2242
  ]
2107
2243
  }
2108
2244
  ]
2245
+ },
2246
+ {
2247
+ displayName: 'Deadline',
2248
+ name: 'dateTime:deadline',
2249
+ type: 'dateTime',
2250
+ default: '',
2251
+ description: 'Defines task deadline date\n\n __Format:__ UTC, ISO 8601',
2252
+ placeholder: '2019-09-27T07:00:14+00:00'
2109
2253
  }
2110
2254
  ]
2111
2255
  },
2112
2256
  {
2113
- displayName: 'Crowdin Language Service Task Create Form',
2114
- name: '_crowdinLanguageServiceTaskCreateForm',
2257
+ displayName: 'Vendor Task Create',
2258
+ name: '_vendorTaskCreate',
2115
2259
  values: [
2116
2260
  {
2117
2261
  displayName: 'Form Type',
@@ -2121,7 +2265,7 @@ exports.tasksProperties = [
2121
2265
  description: 'Select the form type',
2122
2266
  options: [
2123
2267
  {
2124
- displayName: 'CreateByFileIdsForm',
2268
+ displayName: 'Create By File Ids Form',
2125
2269
  name: '_createByFileIdsForm',
2126
2270
  values: [
2127
2271
  {
@@ -2166,7 +2310,7 @@ exports.tasksProperties = [
2166
2310
  name: 'vendor',
2167
2311
  type: 'string',
2168
2312
  default: '',
2169
- description: 'Task vendor:\n * Crowdin Language Services',
2313
+ description: 'Vendor identifier. Browse available vendors at [Crowdin Store](https://crowdin.com/store/vendors).\n\n__Note:__ Additional vendor-specific settings (e.g. expertise, tone, quality) are configured per vendor in the store.',
2170
2314
  required: true
2171
2315
  },
2172
2316
  {
@@ -2228,7 +2372,7 @@ exports.tasksProperties = [
2228
2372
  ]
2229
2373
  },
2230
2374
  default: [],
2231
- description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
2375
+ description: 'Label Identifiers to exclude. Get via [List Labels](#operation/api.projects.labels.getMany)'
2232
2376
  },
2233
2377
  {
2234
2378
  displayName: 'Exclude Label Match Rule',
@@ -2287,12 +2431,28 @@ exports.tasksProperties = [
2287
2431
  description: 'Defines whether to include only pretranslated strings',
2288
2432
  placeholder: 'true'
2289
2433
  },
2434
+ {
2435
+ displayName: 'Skip Assigned Strings',
2436
+ name: 'skipAssignedStrings',
2437
+ type: 'boolean',
2438
+ default: false,
2439
+ description: 'Skip strings already included in other tasks.\n\n__Note:__ Not supported by all vendors. Verify with your vendor.',
2440
+ placeholder: 'true'
2441
+ },
2442
+ {
2443
+ displayName: 'Deadline',
2444
+ name: 'dateTime:deadline',
2445
+ type: 'dateTime',
2446
+ default: '',
2447
+ description: 'Defines task deadline date.\n\n__Format:__ UTC, ISO 8601\n\n__Note:__ Not supported by all vendors. Verify with your vendor.',
2448
+ placeholder: '2019-09-27T07:00:14+00:00'
2449
+ },
2290
2450
  {
2291
2451
  displayName: 'Date From',
2292
2452
  name: 'dateTime:dateFrom',
2293
2453
  type: 'dateTime',
2294
2454
  default: '',
2295
- description: 'Defines start date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
2455
+ description: 'Defines start date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
2296
2456
  placeholder: '2019-09-23T07:00:14+00:00'
2297
2457
  },
2298
2458
  {
@@ -2300,7 +2460,7 @@ exports.tasksProperties = [
2300
2460
  name: 'dateTime:dateTo',
2301
2461
  type: 'dateTime',
2302
2462
  default: '',
2303
- description: 'Defines end date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
2463
+ description: 'Defines end date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
2304
2464
  placeholder: '2019-09-27T07:00:14+00:00'
2305
2465
  },
2306
2466
  {
@@ -2308,7 +2468,7 @@ exports.tasksProperties = [
2308
2468
  name: 'dateTime:translationsUpdatedDateFrom',
2309
2469
  type: 'dateTime',
2310
2470
  default: '',
2311
- description: 'Defines start date for interval when translation were updated (proofread tasks only)\n\n __Format:__ UTC, ISO 8601',
2471
+ description: 'Defines start date for interval when translations were updated. For proofread tasks only.\n\n__Format:__ UTC, ISO 8601',
2312
2472
  placeholder: '2019-09-23T07:00:14+00:00'
2313
2473
  },
2314
2474
  {
@@ -2316,7 +2476,7 @@ exports.tasksProperties = [
2316
2476
  name: 'dateTime:translationsUpdatedDateTo',
2317
2477
  type: 'dateTime',
2318
2478
  default: '',
2319
- description: 'Defines end date for interval when translation were updated (proofread tasks only)\n\n __Format:__ UTC, ISO 8601',
2479
+ description: 'Defines end date for interval when translations were updated. For proofread tasks only.\n\n__Format:__ UTC, ISO 8601',
2320
2480
  placeholder: '2019-09-27T07:00:14+00:00'
2321
2481
  },
2322
2482
  {
@@ -2348,7 +2508,7 @@ exports.tasksProperties = [
2348
2508
  ]
2349
2509
  },
2350
2510
  {
2351
- displayName: 'CreateByStringIdsForm',
2511
+ displayName: 'Create By String Ids Form',
2352
2512
  name: '_createByStringIdsForm',
2353
2513
  values: [
2354
2514
  {
@@ -2393,7 +2553,7 @@ exports.tasksProperties = [
2393
2553
  name: 'vendor',
2394
2554
  type: 'string',
2395
2555
  default: '',
2396
- description: 'Task vendor:\n * "crowdin_language_service" - Crowdin Language Services',
2556
+ description: 'Vendor identifier. Browse available vendors at [Crowdin Store](https://crowdin.com/store/vendors).\n\n__Note:__ Additional vendor-specific settings (e.g. expertise, tone, quality) are configured per vendor in the store.',
2397
2557
  required: true
2398
2558
  },
2399
2559
  {
@@ -2410,6 +2570,74 @@ exports.tasksProperties = [
2410
2570
  description: 'Task String Identifiers. Get via [List Strings](#operation/api.projects.strings.getMany)',
2411
2571
  required: true
2412
2572
  },
2573
+ {
2574
+ displayName: 'Label Ids',
2575
+ name: 'labelIds',
2576
+ type: 'multiOptions',
2577
+ typeOptions: {
2578
+ loadOptionsMethod: 'getProjectLabelsMulti',
2579
+ loadOptionsDependsOn: [
2580
+ 'projectId'
2581
+ ]
2582
+ },
2583
+ default: [],
2584
+ description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
2585
+ },
2586
+ {
2587
+ displayName: 'Label Match Rule',
2588
+ name: 'labelMatchRule',
2589
+ type: 'options',
2590
+ default: '',
2591
+ description: 'Match rule for labels:\n- "all" - all labels must be present in string\n- "any" - any of the labels must be present in string\n\n__Note:__ Can only be used when `labelIds` parameter is provided',
2592
+ options: [
2593
+ {
2594
+ name: '-',
2595
+ value: ''
2596
+ },
2597
+ {
2598
+ name: 'all',
2599
+ value: 'all'
2600
+ },
2601
+ {
2602
+ name: 'any',
2603
+ value: 'any'
2604
+ }
2605
+ ]
2606
+ },
2607
+ {
2608
+ displayName: 'Exclude Label Ids',
2609
+ name: 'excludeLabelIds',
2610
+ type: 'multiOptions',
2611
+ typeOptions: {
2612
+ loadOptionsMethod: 'getProjectLabelsMulti',
2613
+ loadOptionsDependsOn: [
2614
+ 'projectId'
2615
+ ]
2616
+ },
2617
+ default: [],
2618
+ description: 'Label Identifiers to exclude. Get via [List Labels](#operation/api.projects.labels.getMany)'
2619
+ },
2620
+ {
2621
+ displayName: 'Exclude Label Match Rule',
2622
+ name: 'excludeLabelMatchRule',
2623
+ type: 'options',
2624
+ default: '',
2625
+ description: 'Match rule for excluded labels:\n- "all" - all labels must be present in string\n- "any" - any of the labels must be present in string\n\n__Note:__ Can only be used when `excludeLabelIds` parameter is provided',
2626
+ options: [
2627
+ {
2628
+ name: '-',
2629
+ value: ''
2630
+ },
2631
+ {
2632
+ name: 'all',
2633
+ value: 'all'
2634
+ },
2635
+ {
2636
+ name: 'any',
2637
+ value: 'any'
2638
+ }
2639
+ ]
2640
+ },
2413
2641
  {
2414
2642
  displayName: 'Status',
2415
2643
  name: 'status',
@@ -2446,12 +2674,28 @@ exports.tasksProperties = [
2446
2674
  description: 'Defines whether to include only pretranslated strings',
2447
2675
  placeholder: 'true'
2448
2676
  },
2677
+ {
2678
+ displayName: 'Skip Assigned Strings',
2679
+ name: 'skipAssignedStrings',
2680
+ type: 'boolean',
2681
+ default: false,
2682
+ description: 'Skip strings already included in other tasks.\n\n__Note:__ Not supported by all vendors. Verify with your vendor.',
2683
+ placeholder: 'true'
2684
+ },
2685
+ {
2686
+ displayName: 'Deadline',
2687
+ name: 'dateTime:deadline',
2688
+ type: 'dateTime',
2689
+ default: '',
2690
+ description: 'Defines task deadline date.\n\n__Format:__ UTC, ISO 8601\n\n__Note:__ Not supported by all vendors. Verify with your vendor.',
2691
+ placeholder: '2019-09-27T07:00:14+00:00'
2692
+ },
2449
2693
  {
2450
2694
  displayName: 'Date From',
2451
2695
  name: 'dateTime:dateFrom',
2452
2696
  type: 'dateTime',
2453
2697
  default: '',
2454
- description: 'Defines start date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
2698
+ description: 'Defines start date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
2455
2699
  placeholder: '2019-09-23T07:00:14+00:00'
2456
2700
  },
2457
2701
  {
@@ -2459,7 +2703,7 @@ exports.tasksProperties = [
2459
2703
  name: 'dateTime:dateTo',
2460
2704
  type: 'dateTime',
2461
2705
  default: '',
2462
- description: 'Defines end date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
2706
+ description: 'Defines end date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
2463
2707
  placeholder: '2019-09-27T07:00:14+00:00'
2464
2708
  },
2465
2709
  {
@@ -2467,7 +2711,7 @@ exports.tasksProperties = [
2467
2711
  name: 'dateTime:translationsUpdatedDateFrom',
2468
2712
  type: 'dateTime',
2469
2713
  default: '',
2470
- description: 'Defines start date for interval when translation were updated (proofread tasks only)\n\n __Format:__ UTC, ISO 8601',
2714
+ description: 'Defines start date for interval when translations were updated. For proofread tasks only.\n\n__Format:__ UTC, ISO 8601',
2471
2715
  placeholder: '2019-09-23T07:00:14+00:00'
2472
2716
  },
2473
2717
  {
@@ -2475,7 +2719,7 @@ exports.tasksProperties = [
2475
2719
  name: 'dateTime:translationsUpdatedDateTo',
2476
2720
  type: 'dateTime',
2477
2721
  default: '',
2478
- description: 'Defines end date for interval when translation were updated (proofread tasks only)\n\n __Format:__ UTC, ISO 8601',
2722
+ description: 'Defines end date for interval when translations were updated. For proofread tasks only.\n\n__Format:__ UTC, ISO 8601',
2479
2723
  placeholder: '2019-09-27T07:00:14+00:00'
2480
2724
  },
2481
2725
  {
@@ -2486,12 +2730,20 @@ exports.tasksProperties = [
2486
2730
  description: 'Generate cost estimate report for the task. Requires `reportSettingsTemplateId`',
2487
2731
  placeholder: 'false'
2488
2732
  },
2733
+ {
2734
+ displayName: 'Generate Translation Cost',
2735
+ name: 'generateTranslationCost',
2736
+ type: 'boolean',
2737
+ default: false,
2738
+ description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`',
2739
+ placeholder: 'false'
2740
+ },
2489
2741
  {
2490
2742
  displayName: 'Report Settings Template Id',
2491
2743
  name: 'reportSettingsTemplateId',
2492
2744
  type: 'options',
2493
2745
  default: '',
2494
- description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.projects.reports.settings-templates.getMany). Required when `generateCostEstimate` is `true`',
2746
+ description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.projects.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`',
2495
2747
  typeOptions: {
2496
2748
  loadOptionsMethod: 'getReportSettingsTemplates'
2497
2749
  }
@@ -2501,1805 +2753,6 @@ exports.tasksProperties = [
2501
2753
  ]
2502
2754
  }
2503
2755
  ]
2504
- },
2505
- {
2506
- displayName: 'Crowdin Vendor Oht Task Create Form',
2507
- name: '_crowdinVendorOhtTaskCreateForm',
2508
- values: [
2509
- {
2510
- displayName: 'Form Type',
2511
- name: '_subType',
2512
- type: 'fixedCollection',
2513
- default: {},
2514
- description: 'Select the form type',
2515
- options: [
2516
- {
2517
- displayName: 'CreateByFileIdsForm',
2518
- name: '_createByFileIdsForm',
2519
- values: [
2520
- {
2521
- displayName: 'Title',
2522
- name: 'title',
2523
- type: 'string',
2524
- default: '',
2525
- description: 'Task title',
2526
- required: true
2527
- },
2528
- {
2529
- displayName: 'Language Id',
2530
- name: 'languageId',
2531
- type: 'options',
2532
- default: '',
2533
- description: 'Task Language Identifier. Get via [Project Target Languages](#operation/api.projects.get)',
2534
- required: true,
2535
- typeOptions: {
2536
- loadOptionsMethod: 'getLanguages'
2537
- }
2538
- },
2539
- {
2540
- displayName: 'Type',
2541
- name: 'type',
2542
- type: 'options',
2543
- default: 2,
2544
- description: 'Task type:\n * 2 - translate by vendor\n * 3 - proofread by vendor',
2545
- required: true,
2546
- options: [
2547
- {
2548
- name: '2',
2549
- value: 2
2550
- },
2551
- {
2552
- name: '3',
2553
- value: 3
2554
- }
2555
- ]
2556
- },
2557
- {
2558
- displayName: 'Vendor',
2559
- name: 'vendor',
2560
- type: 'string',
2561
- default: '',
2562
- description: 'Task vendor:\n * "oht" - OneHourTranslation',
2563
- required: true
2564
- },
2565
- {
2566
- displayName: 'File Ids',
2567
- name: 'fileIds',
2568
- type: 'multiOptions',
2569
- typeOptions: {
2570
- loadOptionsMethod: 'getProjectFilesMulti',
2571
- loadOptionsDependsOn: [
2572
- 'projectId'
2573
- ]
2574
- },
2575
- default: [],
2576
- description: 'Task File Identifiers. Get via [List Files](#operation/api.projects.files.getMany)',
2577
- required: true
2578
- },
2579
- {
2580
- displayName: 'Label Ids',
2581
- name: 'labelIds',
2582
- type: 'multiOptions',
2583
- typeOptions: {
2584
- loadOptionsMethod: 'getProjectLabelsMulti',
2585
- loadOptionsDependsOn: [
2586
- 'projectId'
2587
- ]
2588
- },
2589
- default: [],
2590
- description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
2591
- },
2592
- {
2593
- displayName: 'Label Match Rule',
2594
- name: 'labelMatchRule',
2595
- type: 'options',
2596
- default: '',
2597
- description: 'Match rule for labels:\n- "all" - all labels must be present in string\n- "any" - any of the labels must be present in string\n\n __Note:__ Can only be used when `labelIds` parameter is provided',
2598
- options: [
2599
- {
2600
- name: '-',
2601
- value: ''
2602
- },
2603
- {
2604
- name: 'all',
2605
- value: 'all'
2606
- },
2607
- {
2608
- name: 'any',
2609
- value: 'any'
2610
- }
2611
- ]
2612
- },
2613
- {
2614
- displayName: 'Exclude Label Ids',
2615
- name: 'excludeLabelIds',
2616
- type: 'multiOptions',
2617
- typeOptions: {
2618
- loadOptionsMethod: 'getProjectLabelsMulti',
2619
- loadOptionsDependsOn: [
2620
- 'projectId'
2621
- ]
2622
- },
2623
- default: [],
2624
- description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
2625
- },
2626
- {
2627
- displayName: 'Exclude Label Match Rule',
2628
- name: 'excludeLabelMatchRule',
2629
- type: 'options',
2630
- default: '',
2631
- description: 'Match rule for excluded labels:\n- "all" - all labels must be present in string\n- "any" - any of the labels must be present in string\n\n __Note:__ Can only be used when `excludeLabelIds` parameter is provided',
2632
- options: [
2633
- {
2634
- name: '-',
2635
- value: ''
2636
- },
2637
- {
2638
- name: 'all',
2639
- value: 'all'
2640
- },
2641
- {
2642
- name: 'any',
2643
- value: 'any'
2644
- }
2645
- ]
2646
- },
2647
- {
2648
- displayName: 'Status',
2649
- name: 'status',
2650
- type: 'options',
2651
- default: '',
2652
- description: 'Task status',
2653
- options: [
2654
- {
2655
- name: '-',
2656
- value: ''
2657
- },
2658
- {
2659
- name: 'todo',
2660
- value: 'todo'
2661
- },
2662
- {
2663
- name: 'in_progress',
2664
- value: 'in_progress'
2665
- }
2666
- ]
2667
- },
2668
- {
2669
- displayName: 'Description',
2670
- name: 'description',
2671
- type: 'string',
2672
- default: '',
2673
- description: 'Task description'
2674
- },
2675
- {
2676
- displayName: 'Expertise',
2677
- name: 'expertise',
2678
- type: 'options',
2679
- default: '',
2680
- description: 'Task expertise:\n * "standard"\n * "mobile-applications"\n * "software-it"\n * "gaming-video-games"\n * "technical-engineering"\n * "marketing-consumer-media"\n * "business-finance"\n * "legal-certificate"\n * "medical"\n * "ad-words-banners"\n * "automotive-aerospace"\n * "scientific"\n * "scientific-academic"\n * "tourism"\n * "training-employee-handbooks"\n * "forex-crypto"',
2681
- options: [
2682
- {
2683
- name: '-',
2684
- value: ''
2685
- },
2686
- {
2687
- name: 'standard',
2688
- value: 'standard'
2689
- },
2690
- {
2691
- name: 'mobile-applications',
2692
- value: 'mobile-applications'
2693
- },
2694
- {
2695
- name: 'software-it',
2696
- value: 'software-it'
2697
- },
2698
- {
2699
- name: 'gaming-video-games',
2700
- value: 'gaming-video-games'
2701
- },
2702
- {
2703
- name: 'technical-engineering',
2704
- value: 'technical-engineering'
2705
- },
2706
- {
2707
- name: 'marketing-consumer-media',
2708
- value: 'marketing-consumer-media'
2709
- },
2710
- {
2711
- name: 'business-finance',
2712
- value: 'business-finance'
2713
- },
2714
- {
2715
- name: 'legal-certificate',
2716
- value: 'legal-certificate'
2717
- },
2718
- {
2719
- name: 'medical',
2720
- value: 'medical'
2721
- },
2722
- {
2723
- name: 'ad-words-banners',
2724
- value: 'ad-words-banners'
2725
- },
2726
- {
2727
- name: 'automotive-aerospace',
2728
- value: 'automotive-aerospace'
2729
- },
2730
- {
2731
- name: 'scientific',
2732
- value: 'scientific'
2733
- },
2734
- {
2735
- name: 'scientific-academic',
2736
- value: 'scientific-academic'
2737
- },
2738
- {
2739
- name: 'tourism',
2740
- value: 'tourism'
2741
- },
2742
- {
2743
- name: 'training-employee-handbooks',
2744
- value: 'training-employee-handbooks'
2745
- },
2746
- {
2747
- name: 'forex-crypto',
2748
- value: 'forex-crypto'
2749
- }
2750
- ]
2751
- },
2752
- {
2753
- displayName: 'Edit Service',
2754
- name: 'editService',
2755
- type: 'boolean',
2756
- default: false,
2757
- description: 'Enables Edit stage for all jobs',
2758
- placeholder: 'true'
2759
- },
2760
- {
2761
- displayName: 'Include Pre Translated Strings Only',
2762
- name: 'includePreTranslatedStringsOnly',
2763
- type: 'boolean',
2764
- default: false,
2765
- description: 'Defines whether to include only pretranslated strings',
2766
- placeholder: 'true'
2767
- },
2768
- {
2769
- displayName: 'Date From',
2770
- name: 'dateTime:dateFrom',
2771
- type: 'dateTime',
2772
- default: '',
2773
- description: 'Defines start date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
2774
- placeholder: '2019-09-23T07:00:14+00:00'
2775
- },
2776
- {
2777
- displayName: 'Date To',
2778
- name: 'dateTime:dateTo',
2779
- type: 'dateTime',
2780
- default: '',
2781
- description: 'Defines end date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
2782
- placeholder: '2019-09-27T07:00:14+00:00'
2783
- },
2784
- {
2785
- displayName: 'Translations Updated Date From',
2786
- name: 'dateTime:translationsUpdatedDateFrom',
2787
- type: 'dateTime',
2788
- default: '',
2789
- description: 'Defines start date for interval when translation were updated (proofread tasks only)\n\n __Format:__ UTC, ISO 8601',
2790
- placeholder: '2019-09-23T07:00:14+00:00'
2791
- },
2792
- {
2793
- displayName: 'Translations Updated Date To',
2794
- name: 'dateTime:translationsUpdatedDateTo',
2795
- type: 'dateTime',
2796
- default: '',
2797
- description: 'Defines end date for interval when translation were updated (proofread tasks only)\n\n __Format:__ UTC, ISO 8601',
2798
- placeholder: '2019-09-27T07:00:14+00:00'
2799
- },
2800
- {
2801
- displayName: 'Generate Cost Estimate',
2802
- name: 'generateCostEstimate',
2803
- type: 'boolean',
2804
- default: false,
2805
- description: 'Generate cost estimate report for the task. Requires `reportSettingsTemplateId`',
2806
- placeholder: 'false'
2807
- },
2808
- {
2809
- displayName: 'Generate Translation Cost',
2810
- name: 'generateTranslationCost',
2811
- type: 'boolean',
2812
- default: false,
2813
- description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`',
2814
- placeholder: 'false'
2815
- },
2816
- {
2817
- displayName: 'Report Settings Template Id',
2818
- name: 'reportSettingsTemplateId',
2819
- type: 'options',
2820
- default: '',
2821
- description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.projects.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`',
2822
- typeOptions: {
2823
- loadOptionsMethod: 'getReportSettingsTemplates'
2824
- }
2825
- }
2826
- ]
2827
- },
2828
- {
2829
- displayName: 'CreateByStringIdsForm',
2830
- name: '_createByStringIdsForm',
2831
- values: [
2832
- {
2833
- displayName: 'Title',
2834
- name: 'title',
2835
- type: 'string',
2836
- default: '',
2837
- description: 'Task title',
2838
- required: true
2839
- },
2840
- {
2841
- displayName: 'Language Id',
2842
- name: 'languageId',
2843
- type: 'options',
2844
- default: '',
2845
- description: 'Task Language Identifier. Get via [Project Target Languages](#operation/api.projects.get)',
2846
- required: true,
2847
- typeOptions: {
2848
- loadOptionsMethod: 'getLanguages'
2849
- }
2850
- },
2851
- {
2852
- displayName: 'Type',
2853
- name: 'type',
2854
- type: 'options',
2855
- default: 2,
2856
- description: 'Task type:\n * 2 - translate by vendor\n * 3 - proofread by vendor',
2857
- required: true,
2858
- options: [
2859
- {
2860
- name: '2',
2861
- value: 2
2862
- },
2863
- {
2864
- name: '3',
2865
- value: 3
2866
- }
2867
- ]
2868
- },
2869
- {
2870
- displayName: 'Vendor',
2871
- name: 'vendor',
2872
- type: 'string',
2873
- default: '',
2874
- description: 'Task vendor:\n * "oht" - OneHourTranslation',
2875
- required: true
2876
- },
2877
- {
2878
- displayName: 'String Ids',
2879
- name: 'stringIds',
2880
- type: 'multiOptions',
2881
- typeOptions: {
2882
- loadOptionsMethod: 'getProjectStringsMulti',
2883
- loadOptionsDependsOn: [
2884
- 'projectId'
2885
- ]
2886
- },
2887
- default: [],
2888
- description: 'Task String Identifiers. Get via [List Strings](#operation/api.projects.strings.getMany)',
2889
- required: true
2890
- },
2891
- {
2892
- displayName: 'Status',
2893
- name: 'status',
2894
- type: 'options',
2895
- default: '',
2896
- description: 'Task status',
2897
- options: [
2898
- {
2899
- name: '-',
2900
- value: ''
2901
- },
2902
- {
2903
- name: 'todo',
2904
- value: 'todo'
2905
- },
2906
- {
2907
- name: 'in_progress',
2908
- value: 'in_progress'
2909
- }
2910
- ]
2911
- },
2912
- {
2913
- displayName: 'Description',
2914
- name: 'description',
2915
- type: 'string',
2916
- default: '',
2917
- description: 'Task description'
2918
- },
2919
- {
2920
- displayName: 'Expertise',
2921
- name: 'expertise',
2922
- type: 'options',
2923
- default: '',
2924
- description: 'Task expertise:\n * "standard"\n * "mobile-applications"\n * "software-it"\n * "gaming-video-games"\n * "technical-engineering"\n * "marketing-consumer-media"\n * "business-finance"\n * "legal-certificate"\n * "medical"\n * "ad-words-banners"\n * "automotive-aerospace"\n * "scientific"\n * "scientific-academic"\n * "tourism"\n * "training-employee-handbooks"\n * "forex-crypto"',
2925
- options: [
2926
- {
2927
- name: '-',
2928
- value: ''
2929
- },
2930
- {
2931
- name: 'standard',
2932
- value: 'standard'
2933
- },
2934
- {
2935
- name: 'mobile-applications',
2936
- value: 'mobile-applications'
2937
- },
2938
- {
2939
- name: 'software-it',
2940
- value: 'software-it'
2941
- },
2942
- {
2943
- name: 'gaming-video-games',
2944
- value: 'gaming-video-games'
2945
- },
2946
- {
2947
- name: 'technical-engineering',
2948
- value: 'technical-engineering'
2949
- },
2950
- {
2951
- name: 'marketing-consumer-media',
2952
- value: 'marketing-consumer-media'
2953
- },
2954
- {
2955
- name: 'business-finance',
2956
- value: 'business-finance'
2957
- },
2958
- {
2959
- name: 'legal-certificate',
2960
- value: 'legal-certificate'
2961
- },
2962
- {
2963
- name: 'medical',
2964
- value: 'medical'
2965
- },
2966
- {
2967
- name: 'ad-words-banners',
2968
- value: 'ad-words-banners'
2969
- },
2970
- {
2971
- name: 'automotive-aerospace',
2972
- value: 'automotive-aerospace'
2973
- },
2974
- {
2975
- name: 'scientific',
2976
- value: 'scientific'
2977
- },
2978
- {
2979
- name: 'scientific-academic',
2980
- value: 'scientific-academic'
2981
- },
2982
- {
2983
- name: 'tourism',
2984
- value: 'tourism'
2985
- },
2986
- {
2987
- name: 'training-employee-handbooks',
2988
- value: 'training-employee-handbooks'
2989
- },
2990
- {
2991
- name: 'forex-crypto',
2992
- value: 'forex-crypto'
2993
- }
2994
- ]
2995
- },
2996
- {
2997
- displayName: 'Edit Service',
2998
- name: 'editService',
2999
- type: 'boolean',
3000
- default: false,
3001
- description: 'Enables Edit stage for all jobs',
3002
- placeholder: 'true'
3003
- },
3004
- {
3005
- displayName: 'Include Pre Translated Strings Only',
3006
- name: 'includePreTranslatedStringsOnly',
3007
- type: 'boolean',
3008
- default: false,
3009
- description: 'Defines whether to include only pretranslated strings',
3010
- placeholder: 'true'
3011
- },
3012
- {
3013
- displayName: 'Date From',
3014
- name: 'dateTime:dateFrom',
3015
- type: 'dateTime',
3016
- default: '',
3017
- description: 'Defines start date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
3018
- placeholder: '2019-09-23T07:00:14+00:00'
3019
- },
3020
- {
3021
- displayName: 'Date To',
3022
- name: 'dateTime:dateTo',
3023
- type: 'dateTime',
3024
- default: '',
3025
- description: 'Defines end date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
3026
- placeholder: '2019-09-27T07:00:14+00:00'
3027
- },
3028
- {
3029
- displayName: 'Generate Cost Estimate',
3030
- name: 'generateCostEstimate',
3031
- type: 'boolean',
3032
- default: false,
3033
- description: 'Generate cost estimate report for the task. Requires `reportSettingsTemplateId`',
3034
- placeholder: 'false'
3035
- },
3036
- {
3037
- displayName: 'Generate Translation Cost',
3038
- name: 'generateTranslationCost',
3039
- type: 'boolean',
3040
- default: false,
3041
- description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`',
3042
- placeholder: 'false'
3043
- },
3044
- {
3045
- displayName: 'Report Settings Template Id',
3046
- name: 'reportSettingsTemplateId',
3047
- type: 'options',
3048
- default: '',
3049
- description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.projects.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`',
3050
- typeOptions: {
3051
- loadOptionsMethod: 'getReportSettingsTemplates'
3052
- }
3053
- }
3054
- ]
3055
- }
3056
- ]
3057
- }
3058
- ]
3059
- },
3060
- {
3061
- displayName: 'Crowdin Vendor Gengo Task Create Form',
3062
- name: '_crowdinVendorGengoTaskCreateForm',
3063
- values: [
3064
- {
3065
- displayName: 'Form Type',
3066
- name: '_subType',
3067
- type: 'fixedCollection',
3068
- default: {},
3069
- description: 'Select the form type',
3070
- options: [
3071
- {
3072
- displayName: 'CreateByFileIdsForm',
3073
- name: '_createByFileIdsForm',
3074
- values: [
3075
- {
3076
- displayName: 'Title',
3077
- name: 'title',
3078
- type: 'string',
3079
- default: '',
3080
- description: 'Task title',
3081
- required: true
3082
- },
3083
- {
3084
- displayName: 'Language Id',
3085
- name: 'languageId',
3086
- type: 'options',
3087
- default: '',
3088
- description: 'Task Language Identifier. Get via [Project Target Languages](#operation/api.projects.get)',
3089
- required: true,
3090
- typeOptions: {
3091
- loadOptionsMethod: 'getLanguages'
3092
- }
3093
- },
3094
- {
3095
- displayName: 'Type',
3096
- name: 'type',
3097
- type: 'number',
3098
- default: undefined,
3099
- description: 'Task type:\n * 2 - translate by vendor',
3100
- required: true
3101
- },
3102
- {
3103
- displayName: 'Vendor',
3104
- name: 'vendor',
3105
- type: 'string',
3106
- default: '',
3107
- description: 'Task vendor:\n * "gengo" - Gengo',
3108
- required: true
3109
- },
3110
- {
3111
- displayName: 'File Ids',
3112
- name: 'fileIds',
3113
- type: 'multiOptions',
3114
- typeOptions: {
3115
- loadOptionsMethod: 'getProjectFilesMulti',
3116
- loadOptionsDependsOn: [
3117
- 'projectId'
3118
- ]
3119
- },
3120
- default: [],
3121
- description: 'Task File Identifiers. Get via [List Files](#operation/api.projects.files.getMany)',
3122
- required: true
3123
- },
3124
- {
3125
- displayName: 'Label Ids',
3126
- name: 'labelIds',
3127
- type: 'multiOptions',
3128
- typeOptions: {
3129
- loadOptionsMethod: 'getProjectLabelsMulti',
3130
- loadOptionsDependsOn: [
3131
- 'projectId'
3132
- ]
3133
- },
3134
- default: [],
3135
- description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
3136
- },
3137
- {
3138
- displayName: 'Label Match Rule',
3139
- name: 'labelMatchRule',
3140
- type: 'options',
3141
- default: '',
3142
- description: 'Match rule for labels:\n- "all" - all labels must be present in string\n- "any" - any of the labels must be present in string\n\n__Note:__ Can only be used when `labelIds` parameter is provided',
3143
- options: [
3144
- {
3145
- name: '-',
3146
- value: ''
3147
- },
3148
- {
3149
- name: 'all',
3150
- value: 'all'
3151
- },
3152
- {
3153
- name: 'any',
3154
- value: 'any'
3155
- }
3156
- ]
3157
- },
3158
- {
3159
- displayName: 'Exclude Label Ids',
3160
- name: 'excludeLabelIds',
3161
- type: 'multiOptions',
3162
- typeOptions: {
3163
- loadOptionsMethod: 'getProjectLabelsMulti',
3164
- loadOptionsDependsOn: [
3165
- 'projectId'
3166
- ]
3167
- },
3168
- default: [],
3169
- description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
3170
- },
3171
- {
3172
- displayName: 'Exclude Label Match Rule',
3173
- name: 'excludeLabelMatchRule',
3174
- type: 'options',
3175
- default: '',
3176
- description: 'Match rule for excluded labels:\n- "all" - all labels must be present in string\n- "any" - any of the labels must be present in string\n\n__Note:__ Can only be used when `excludeLabelIds` parameter is provided',
3177
- options: [
3178
- {
3179
- name: '-',
3180
- value: ''
3181
- },
3182
- {
3183
- name: 'all',
3184
- value: 'all'
3185
- },
3186
- {
3187
- name: 'any',
3188
- value: 'any'
3189
- }
3190
- ]
3191
- },
3192
- {
3193
- displayName: 'Status',
3194
- name: 'status',
3195
- type: 'options',
3196
- default: '',
3197
- description: 'Task status',
3198
- options: [
3199
- {
3200
- name: '-',
3201
- value: ''
3202
- },
3203
- {
3204
- name: 'todo',
3205
- value: 'todo'
3206
- },
3207
- {
3208
- name: 'in_progress',
3209
- value: 'in_progress'
3210
- }
3211
- ]
3212
- },
3213
- {
3214
- displayName: 'Description',
3215
- name: 'description',
3216
- type: 'string',
3217
- default: '',
3218
- description: 'Task description'
3219
- },
3220
- {
3221
- displayName: 'Expertise',
3222
- name: 'expertise',
3223
- type: 'options',
3224
- default: '',
3225
- description: 'Task expertise:\n * "standard"\n * "pro"',
3226
- options: [
3227
- {
3228
- name: '-',
3229
- value: ''
3230
- },
3231
- {
3232
- name: 'standard',
3233
- value: 'standard'
3234
- },
3235
- {
3236
- name: 'pro',
3237
- value: 'pro'
3238
- }
3239
- ]
3240
- },
3241
- {
3242
- displayName: 'Tone',
3243
- name: 'tone',
3244
- type: 'options',
3245
- default: '',
3246
- description: 'Task tone:\n * ""\n * "Informal"\n * "Friendly"\n * "Business"\n * "Formal"\n * "other"',
3247
- options: [
3248
- {
3249
- name: '-',
3250
- value: ''
3251
- },
3252
- {
3253
- name: '',
3254
- value: ''
3255
- },
3256
- {
3257
- name: 'Informal',
3258
- value: 'Informal'
3259
- },
3260
- {
3261
- name: 'Friendly',
3262
- value: 'Friendly'
3263
- },
3264
- {
3265
- name: 'Business',
3266
- value: 'Business'
3267
- },
3268
- {
3269
- name: 'Formal',
3270
- value: 'Formal'
3271
- },
3272
- {
3273
- name: 'other',
3274
- value: 'other'
3275
- }
3276
- ]
3277
- },
3278
- {
3279
- displayName: 'Purpose',
3280
- name: 'purpose',
3281
- type: 'options',
3282
- default: '',
3283
- description: 'Task purpose:\n * "Personal use"\n * "Business"\n * "Online content"\n * "App/Web localization"\n * "Media content"\n * "Semi-technical"\n * "other"',
3284
- options: [
3285
- {
3286
- name: '-',
3287
- value: ''
3288
- },
3289
- {
3290
- name: 'Personal use',
3291
- value: 'Personal use'
3292
- },
3293
- {
3294
- name: 'Business',
3295
- value: 'Business'
3296
- },
3297
- {
3298
- name: 'Online content',
3299
- value: 'Online content'
3300
- },
3301
- {
3302
- name: 'App/Web localization',
3303
- value: 'App/Web localization'
3304
- },
3305
- {
3306
- name: 'Media content',
3307
- value: 'Media content'
3308
- },
3309
- {
3310
- name: 'Semi-technical',
3311
- value: 'Semi-technical'
3312
- },
3313
- {
3314
- name: 'other',
3315
- value: 'other'
3316
- }
3317
- ]
3318
- },
3319
- {
3320
- displayName: 'Customer Message',
3321
- name: 'customerMessage',
3322
- type: 'string',
3323
- default: '',
3324
- description: 'Instructions for translators'
3325
- },
3326
- {
3327
- displayName: 'Use Preferred',
3328
- name: 'usePreferred',
3329
- type: 'boolean',
3330
- default: false,
3331
- description: 'Use preferred translators',
3332
- placeholder: 'true'
3333
- },
3334
- {
3335
- displayName: 'Edit Service',
3336
- name: 'editService',
3337
- type: 'boolean',
3338
- default: false,
3339
- description: 'Enables Edit stage for all jobs',
3340
- placeholder: 'true'
3341
- },
3342
- {
3343
- displayName: 'Date From',
3344
- name: 'dateTime:dateFrom',
3345
- type: 'dateTime',
3346
- default: '',
3347
- description: 'Defines start date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
3348
- placeholder: '2019-09-23T07:00:14+00:00'
3349
- },
3350
- {
3351
- displayName: 'Date To',
3352
- name: 'dateTime:dateTo',
3353
- type: 'dateTime',
3354
- default: '',
3355
- description: 'Defines end date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
3356
- placeholder: '2019-09-27T07:00:14+00:00'
3357
- },
3358
- {
3359
- displayName: 'Generate Cost Estimate',
3360
- name: 'generateCostEstimate',
3361
- type: 'boolean',
3362
- default: false,
3363
- description: 'Generate cost estimate report for the task. Requires `reportSettingsTemplateId`',
3364
- placeholder: 'false'
3365
- },
3366
- {
3367
- displayName: 'Generate Translation Cost',
3368
- name: 'generateTranslationCost',
3369
- type: 'boolean',
3370
- default: false,
3371
- description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`',
3372
- placeholder: 'false'
3373
- },
3374
- {
3375
- displayName: 'Report Settings Template Id',
3376
- name: 'reportSettingsTemplateId',
3377
- type: 'options',
3378
- default: '',
3379
- description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.projects.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`',
3380
- typeOptions: {
3381
- loadOptionsMethod: 'getReportSettingsTemplates'
3382
- }
3383
- }
3384
- ]
3385
- },
3386
- {
3387
- displayName: 'CreateByStringIdsForm',
3388
- name: '_createByStringIdsForm',
3389
- values: [
3390
- {
3391
- displayName: 'Title',
3392
- name: 'title',
3393
- type: 'string',
3394
- default: '',
3395
- description: 'Task title',
3396
- required: true
3397
- },
3398
- {
3399
- displayName: 'Language Id',
3400
- name: 'languageId',
3401
- type: 'options',
3402
- default: '',
3403
- description: 'Task Language Identifier. Get via [Project Target Languages](#operation/api.projects.get)',
3404
- required: true,
3405
- typeOptions: {
3406
- loadOptionsMethod: 'getLanguages'
3407
- }
3408
- },
3409
- {
3410
- displayName: 'Type',
3411
- name: 'type',
3412
- type: 'number',
3413
- default: undefined,
3414
- description: 'Task type:\n * 2 - translate by vendor',
3415
- required: true
3416
- },
3417
- {
3418
- displayName: 'Vendor',
3419
- name: 'vendor',
3420
- type: 'string',
3421
- default: '',
3422
- description: 'Task vendor:\n * "gengo" - Gengo',
3423
- required: true
3424
- },
3425
- {
3426
- displayName: 'String Ids',
3427
- name: 'stringIds',
3428
- type: 'multiOptions',
3429
- typeOptions: {
3430
- loadOptionsMethod: 'getProjectStringsMulti',
3431
- loadOptionsDependsOn: [
3432
- 'projectId'
3433
- ]
3434
- },
3435
- default: [],
3436
- description: 'Task String Identifiers. Get via [List Strings](#operation/api.projects.strings.getMany)',
3437
- required: true
3438
- },
3439
- {
3440
- displayName: 'Status',
3441
- name: 'status',
3442
- type: 'options',
3443
- default: '',
3444
- description: 'Task status',
3445
- options: [
3446
- {
3447
- name: '-',
3448
- value: ''
3449
- },
3450
- {
3451
- name: 'todo',
3452
- value: 'todo'
3453
- },
3454
- {
3455
- name: 'in_progress',
3456
- value: 'in_progress'
3457
- }
3458
- ]
3459
- },
3460
- {
3461
- displayName: 'Description',
3462
- name: 'description',
3463
- type: 'string',
3464
- default: '',
3465
- description: 'Task description'
3466
- },
3467
- {
3468
- displayName: 'Expertise',
3469
- name: 'expertise',
3470
- type: 'options',
3471
- default: '',
3472
- description: 'Task expertise:\n * "standard"\n * "pro"',
3473
- options: [
3474
- {
3475
- name: '-',
3476
- value: ''
3477
- },
3478
- {
3479
- name: 'standard',
3480
- value: 'standard'
3481
- },
3482
- {
3483
- name: 'pro',
3484
- value: 'pro'
3485
- }
3486
- ]
3487
- },
3488
- {
3489
- displayName: 'Tone',
3490
- name: 'tone',
3491
- type: 'options',
3492
- default: '',
3493
- description: 'Task tone:\n * ""\n * "Informal"\n * "Friendly"\n * "Business"\n * "Formal"\n * "other"',
3494
- options: [
3495
- {
3496
- name: '-',
3497
- value: ''
3498
- },
3499
- {
3500
- name: '',
3501
- value: ''
3502
- },
3503
- {
3504
- name: 'Informal',
3505
- value: 'Informal'
3506
- },
3507
- {
3508
- name: 'Friendly',
3509
- value: 'Friendly'
3510
- },
3511
- {
3512
- name: 'Business',
3513
- value: 'Business'
3514
- },
3515
- {
3516
- name: 'Formal',
3517
- value: 'Formal'
3518
- },
3519
- {
3520
- name: 'other',
3521
- value: 'other'
3522
- }
3523
- ]
3524
- },
3525
- {
3526
- displayName: 'Purpose',
3527
- name: 'purpose',
3528
- type: 'options',
3529
- default: '',
3530
- description: 'Task purpose:\n * "Personal use"\n * "Business"\n * "Online content"\n * "App/Web localization"\n * "Media content"\n * "Semi-technical"\n * "other"',
3531
- options: [
3532
- {
3533
- name: '-',
3534
- value: ''
3535
- },
3536
- {
3537
- name: 'Personal use',
3538
- value: 'Personal use'
3539
- },
3540
- {
3541
- name: 'Business',
3542
- value: 'Business'
3543
- },
3544
- {
3545
- name: 'Online content',
3546
- value: 'Online content'
3547
- },
3548
- {
3549
- name: 'App/Web localization',
3550
- value: 'App/Web localization'
3551
- },
3552
- {
3553
- name: 'Media content',
3554
- value: 'Media content'
3555
- },
3556
- {
3557
- name: 'Semi-technical',
3558
- value: 'Semi-technical'
3559
- },
3560
- {
3561
- name: 'other',
3562
- value: 'other'
3563
- }
3564
- ]
3565
- },
3566
- {
3567
- displayName: 'Customer Message',
3568
- name: 'customerMessage',
3569
- type: 'string',
3570
- default: '',
3571
- description: 'Instructions for translators'
3572
- },
3573
- {
3574
- displayName: 'Use Preferred',
3575
- name: 'usePreferred',
3576
- type: 'boolean',
3577
- default: false,
3578
- description: 'Use preferred translators',
3579
- placeholder: 'true'
3580
- },
3581
- {
3582
- displayName: 'Edit Service',
3583
- name: 'editService',
3584
- type: 'boolean',
3585
- default: false,
3586
- description: 'Enables Edit stage for all jobs',
3587
- placeholder: 'true'
3588
- },
3589
- {
3590
- displayName: 'Date From',
3591
- name: 'dateTime:dateFrom',
3592
- type: 'dateTime',
3593
- default: '',
3594
- description: 'Defines start date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
3595
- placeholder: '2019-09-23T07:00:14+00:00'
3596
- },
3597
- {
3598
- displayName: 'Date To',
3599
- name: 'dateTime:dateTo',
3600
- type: 'dateTime',
3601
- default: '',
3602
- description: 'Defines end date for interval when strings were modified\n\n __Format:__ UTC, ISO 8601',
3603
- placeholder: '2019-09-27T07:00:14+00:00'
3604
- },
3605
- {
3606
- displayName: 'Generate Cost Estimate',
3607
- name: 'generateCostEstimate',
3608
- type: 'boolean',
3609
- default: false,
3610
- description: 'Generate cost estimate report for the task. Requires `reportSettingsTemplateId`',
3611
- placeholder: 'false'
3612
- },
3613
- {
3614
- displayName: 'Report Settings Template Id',
3615
- name: 'reportSettingsTemplateId',
3616
- type: 'options',
3617
- default: '',
3618
- description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.projects.reports.settings-templates.getMany). Required when `generateCostEstimate` is `true`',
3619
- typeOptions: {
3620
- loadOptionsMethod: 'getReportSettingsTemplates'
3621
- }
3622
- }
3623
- ]
3624
- }
3625
- ]
3626
- }
3627
- ]
3628
- },
3629
- {
3630
- displayName: 'Crowdin Vendor Manual Task Create Form',
3631
- name: '_crowdinVendorManualTaskCreateForm',
3632
- values: [
3633
- {
3634
- displayName: 'Form Type',
3635
- name: '_subType',
3636
- type: 'fixedCollection',
3637
- default: {},
3638
- description: 'Select the form type',
3639
- options: [
3640
- {
3641
- displayName: 'CreateByFileIdsForm',
3642
- name: '_createByFileIdsForm',
3643
- values: [
3644
- {
3645
- displayName: 'Title',
3646
- name: 'title',
3647
- type: 'string',
3648
- default: '',
3649
- description: 'Task title',
3650
- required: true
3651
- },
3652
- {
3653
- displayName: 'Language Id',
3654
- name: 'languageId',
3655
- type: 'options',
3656
- default: '',
3657
- description: 'Task Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany)',
3658
- required: true,
3659
- typeOptions: {
3660
- loadOptionsMethod: 'getLanguages'
3661
- }
3662
- },
3663
- {
3664
- displayName: 'Type',
3665
- name: 'type',
3666
- type: 'options',
3667
- default: 2,
3668
- description: 'Task type: \n * 2 - translate by vendor\n * 3 - proofread by vendor',
3669
- required: true,
3670
- options: [
3671
- {
3672
- name: '2',
3673
- value: 2
3674
- },
3675
- {
3676
- name: '3',
3677
- value: 3
3678
- }
3679
- ]
3680
- },
3681
- {
3682
- displayName: 'Vendor',
3683
- name: 'vendor',
3684
- type: 'string',
3685
- default: '',
3686
- description: 'Task vendor:\n * "alconost" - Alconost,\n * "babbleon" - Babble-on,\n * "tomedes" - Tomedes,\n * "e2f" - e2f,\n * "write_path_admin" - WritePath,\n * "inlingo" - Inlingo,\n * "acclaro" - Acclaro,\n * "translate_by_humans" - Translate by Humans,\n * "lingo24" - Lingo24,\n * "gte_localize" - GTE Localize,\n * "kettu_solutions" - Kettu Solutions',
3687
- required: true
3688
- },
3689
- {
3690
- displayName: 'File Ids',
3691
- name: 'fileIds',
3692
- type: 'multiOptions',
3693
- typeOptions: {
3694
- loadOptionsMethod: 'getProjectFilesMulti',
3695
- loadOptionsDependsOn: [
3696
- 'projectId'
3697
- ]
3698
- },
3699
- default: [],
3700
- description: 'Task File Identifiers. Get via [List Files](#operation/api.projects.files.getMany)',
3701
- required: true
3702
- },
3703
- {
3704
- displayName: 'Label Ids',
3705
- name: 'labelIds',
3706
- type: 'multiOptions',
3707
- typeOptions: {
3708
- loadOptionsMethod: 'getProjectLabelsMulti',
3709
- loadOptionsDependsOn: [
3710
- 'projectId'
3711
- ]
3712
- },
3713
- default: [],
3714
- description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
3715
- },
3716
- {
3717
- displayName: 'Label Match Rule',
3718
- name: 'labelMatchRule',
3719
- type: 'options',
3720
- default: '',
3721
- description: 'Match rule for labels:\n- "all" - all labels must be present in string\n- "any" - any of the labels must be present in string\n\n__Note:__ Can only be used when `labelIds` parameter is provided',
3722
- options: [
3723
- {
3724
- name: '-',
3725
- value: ''
3726
- },
3727
- {
3728
- name: 'all',
3729
- value: 'all'
3730
- },
3731
- {
3732
- name: 'any',
3733
- value: 'any'
3734
- }
3735
- ]
3736
- },
3737
- {
3738
- displayName: 'Exclude Label Ids',
3739
- name: 'excludeLabelIds',
3740
- type: 'multiOptions',
3741
- typeOptions: {
3742
- loadOptionsMethod: 'getProjectLabelsMulti',
3743
- loadOptionsDependsOn: [
3744
- 'projectId'
3745
- ]
3746
- },
3747
- default: [],
3748
- description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
3749
- },
3750
- {
3751
- displayName: 'Exclude Label Match Rule',
3752
- name: 'excludeLabelMatchRule',
3753
- type: 'options',
3754
- default: '',
3755
- description: 'Match rule for excluded labels:\n- "all" - all labels must be present in string\n- "any" - any of the labels must be present in string\n__Note:__ Can only be used when `excludeLabelIds` parameter is provided',
3756
- options: [
3757
- {
3758
- name: '-',
3759
- value: ''
3760
- },
3761
- {
3762
- name: 'all',
3763
- value: 'all'
3764
- },
3765
- {
3766
- name: 'any',
3767
- value: 'any'
3768
- }
3769
- ]
3770
- },
3771
- {
3772
- displayName: 'Status',
3773
- name: 'status',
3774
- type: 'options',
3775
- default: '',
3776
- description: 'Task status',
3777
- options: [
3778
- {
3779
- name: '-',
3780
- value: ''
3781
- },
3782
- {
3783
- name: 'todo',
3784
- value: 'todo'
3785
- },
3786
- {
3787
- name: 'in_progress',
3788
- value: 'in_progress'
3789
- }
3790
- ]
3791
- },
3792
- {
3793
- displayName: 'Description',
3794
- name: 'description',
3795
- type: 'string',
3796
- default: '',
3797
- description: 'Task description'
3798
- },
3799
- {
3800
- displayName: 'Skip Assigned Strings',
3801
- name: 'skipAssignedStrings',
3802
- type: 'boolean',
3803
- default: false,
3804
- description: 'Skip strings already included in other tasks',
3805
- placeholder: 'true'
3806
- },
3807
- {
3808
- displayName: 'Include Pre Translated Strings Only',
3809
- name: 'includePreTranslatedStringsOnly',
3810
- type: 'boolean',
3811
- default: false,
3812
- description: 'Defines whether to export only pretranslated strings\n\n__Note:__ `true` value can\'t be used with `type=0` or `type=2` in same request',
3813
- placeholder: 'true'
3814
- },
3815
- {
3816
- displayName: 'Assignees',
3817
- name: 'assignees',
3818
- type: 'fixedCollection',
3819
- typeOptions: {
3820
- multipleValues: true
3821
- },
3822
- default: {},
3823
- description: undefined,
3824
- placeholder: 'Add Item',
3825
- options: [
3826
- {
3827
- displayName: 'Item',
3828
- name: 'items',
3829
- values: [
3830
- {
3831
- displayName: 'Id',
3832
- name: 'id',
3833
- type: 'number',
3834
- default: undefined,
3835
- description: 'Project Member Identifier. Get via [List Project Members](#operation/api.projects.members.getMany)',
3836
- required: true
3837
- },
3838
- {
3839
- displayName: 'Words Count',
3840
- name: 'wordsCount',
3841
- type: 'number',
3842
- default: 0,
3843
- description: 'Defines how many words (starting from 1) are assigned to each task assignee\n *\n * __Note:__ Can be used only when \'splitContent\' parameter is specified'
3844
- }
3845
- ]
3846
- }
3847
- ]
3848
- },
3849
- {
3850
- displayName: 'Deadline',
3851
- name: 'dateTime:deadline',
3852
- type: 'dateTime',
3853
- default: '',
3854
- description: 'Defines task deadline date\n\n__Format:__ UTC, ISO 8601',
3855
- placeholder: '2019-09-27T07:00:14+00:00'
3856
- },
3857
- {
3858
- displayName: 'Started At',
3859
- name: 'dateTime:startedAt',
3860
- type: 'dateTime',
3861
- default: '',
3862
- description: 'Defines task started date\n\n__Format:__ UTC, ISO 8601',
3863
- placeholder: '2019-09-27T07:00:14+00:00'
3864
- },
3865
- {
3866
- displayName: 'Date From',
3867
- name: 'dateTime:dateFrom',
3868
- type: 'dateTime',
3869
- default: '',
3870
- description: 'Defines start date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
3871
- placeholder: '2019-09-23T07:00:14+00:00'
3872
- },
3873
- {
3874
- displayName: 'Date To',
3875
- name: 'dateTime:dateTo',
3876
- type: 'dateTime',
3877
- default: '',
3878
- description: 'Defines end date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
3879
- placeholder: '2019-09-27T07:00:14+00:00'
3880
- },
3881
- {
3882
- displayName: 'Generate Cost Estimate',
3883
- name: 'generateCostEstimate',
3884
- type: 'boolean',
3885
- default: false,
3886
- description: 'Generate cost estimate report for the task. Requires `reportSettingsTemplateId`',
3887
- placeholder: 'false'
3888
- },
3889
- {
3890
- displayName: 'Generate Translation Cost',
3891
- name: 'generateTranslationCost',
3892
- type: 'boolean',
3893
- default: false,
3894
- description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`',
3895
- placeholder: 'false'
3896
- },
3897
- {
3898
- displayName: 'Report Settings Template Id',
3899
- name: 'reportSettingsTemplateId',
3900
- type: 'options',
3901
- default: '',
3902
- description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.projects.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`',
3903
- typeOptions: {
3904
- loadOptionsMethod: 'getReportSettingsTemplates'
3905
- }
3906
- }
3907
- ]
3908
- },
3909
- {
3910
- displayName: 'CreateByStringIdsForm',
3911
- name: '_createByStringIdsForm',
3912
- values: [
3913
- {
3914
- displayName: 'Title',
3915
- name: 'title',
3916
- type: 'string',
3917
- default: '',
3918
- description: 'Task title',
3919
- required: true
3920
- },
3921
- {
3922
- displayName: 'Language Id',
3923
- name: 'languageId',
3924
- type: 'options',
3925
- default: '',
3926
- description: 'Task Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany)',
3927
- required: true,
3928
- typeOptions: {
3929
- loadOptionsMethod: 'getLanguages'
3930
- }
3931
- },
3932
- {
3933
- displayName: 'Type',
3934
- name: 'type',
3935
- type: 'options',
3936
- default: 2,
3937
- description: 'Task type:\n * 2 - translate by vendor\n * 3 - proofread by vendor',
3938
- required: true,
3939
- options: [
3940
- {
3941
- name: '2',
3942
- value: 2
3943
- },
3944
- {
3945
- name: '3',
3946
- value: 3
3947
- }
3948
- ]
3949
- },
3950
- {
3951
- displayName: 'Vendor',
3952
- name: 'vendor',
3953
- type: 'string',
3954
- default: '',
3955
- description: 'Task vendor:\n * "alconost" - Alconost,\n * "babbleon" - Babble-on,\n * "tomedes" - Tomedes,\n * "e2f" - e2f,\n * "write_path_admin" - WritePath,\n * "inlingo" - Inlingo,\n * "acclaro" - Acclaro,\n * "translate_by_humans" - Translate by Humans,\n * "lingo24" - Lingo24,\n * "gte_localize" - GTE Localize,\n * "kettu_solutions" - Kettu Solutions',
3956
- required: true
3957
- },
3958
- {
3959
- displayName: 'String Ids',
3960
- name: 'stringIds',
3961
- type: 'multiOptions',
3962
- typeOptions: {
3963
- loadOptionsMethod: 'getProjectStringsMulti',
3964
- loadOptionsDependsOn: [
3965
- 'projectId'
3966
- ]
3967
- },
3968
- default: [],
3969
- description: 'Task String Identifiers. Get via [List Strings](#operation/api.projects.strings.getMany)',
3970
- required: true
3971
- },
3972
- {
3973
- displayName: 'Status',
3974
- name: 'status',
3975
- type: 'options',
3976
- default: '',
3977
- description: 'Task status',
3978
- options: [
3979
- {
3980
- name: '-',
3981
- value: ''
3982
- },
3983
- {
3984
- name: 'todo',
3985
- value: 'todo'
3986
- },
3987
- {
3988
- name: 'in_progress',
3989
- value: 'in_progress'
3990
- }
3991
- ]
3992
- },
3993
- {
3994
- displayName: 'Description',
3995
- name: 'description',
3996
- type: 'string',
3997
- default: '',
3998
- description: 'Task description'
3999
- },
4000
- {
4001
- displayName: 'Skip Assigned Strings',
4002
- name: 'skipAssignedStrings',
4003
- type: 'boolean',
4004
- default: false,
4005
- description: 'Skip strings already included in other tasks',
4006
- placeholder: 'true'
4007
- },
4008
- {
4009
- displayName: 'Include Pre Translated Strings Only',
4010
- name: 'includePreTranslatedStringsOnly',
4011
- type: 'boolean',
4012
- default: false,
4013
- description: 'Defines whether to export only pretranslated strings\n\n__Note:__ `true` value can\'t be used with `type=0` or `type=2` in same request',
4014
- placeholder: 'true'
4015
- },
4016
- {
4017
- displayName: 'Assignees',
4018
- name: 'assignees',
4019
- type: 'fixedCollection',
4020
- typeOptions: {
4021
- multipleValues: true
4022
- },
4023
- default: {},
4024
- description: undefined,
4025
- placeholder: 'Add Item',
4026
- options: [
4027
- {
4028
- displayName: 'Item',
4029
- name: 'items',
4030
- values: [
4031
- {
4032
- displayName: 'Id',
4033
- name: 'id',
4034
- type: 'number',
4035
- default: undefined,
4036
- description: 'Project Member Identifier. Get via [List Project Members](#operation/api.projects.members.getMany)',
4037
- required: true
4038
- },
4039
- {
4040
- displayName: 'Words Count',
4041
- name: 'wordsCount',
4042
- type: 'number',
4043
- default: 0,
4044
- description: 'Defines how many words (starting from 1) are assigned to each task assignee\n *\n * __Note:__ Can be used only when \'splitContent\' parameter is specified'
4045
- }
4046
- ]
4047
- }
4048
- ]
4049
- },
4050
- {
4051
- displayName: 'Deadline',
4052
- name: 'dateTime:deadline',
4053
- type: 'dateTime',
4054
- default: '',
4055
- description: 'Defines task deadline date\n\n__Format:__ UTC, ISO 8601',
4056
- placeholder: '2019-09-27T07:00:14+00:00'
4057
- },
4058
- {
4059
- displayName: 'Started At',
4060
- name: 'dateTime:startedAt',
4061
- type: 'dateTime',
4062
- default: '',
4063
- description: 'Defines task started date\n\n__Format:__ UTC, ISO 8601',
4064
- placeholder: '2019-09-27T07:00:14+00:00'
4065
- },
4066
- {
4067
- displayName: 'Date From',
4068
- name: 'dateTime:dateFrom',
4069
- type: 'dateTime',
4070
- default: '',
4071
- description: 'Defines start date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
4072
- placeholder: '2019-09-23T07:00:14+00:00'
4073
- },
4074
- {
4075
- displayName: 'Date To',
4076
- name: 'dateTime:dateTo',
4077
- type: 'dateTime',
4078
- default: '',
4079
- description: 'Defines end date for interval when strings were modified\n\n__Format:__ UTC, ISO 8601',
4080
- placeholder: '2019-09-27T07:00:14+00:00'
4081
- },
4082
- {
4083
- displayName: 'Generate Cost Estimate',
4084
- name: 'generateCostEstimate',
4085
- type: 'boolean',
4086
- default: false,
4087
- description: 'Generate cost estimate report for the task. Requires `reportSettingsTemplateId`',
4088
- placeholder: 'false'
4089
- },
4090
- {
4091
- displayName: 'Generate Translation Cost',
4092
- name: 'generateTranslationCost',
4093
- type: 'boolean',
4094
- default: false,
4095
- description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`',
4096
- placeholder: 'false'
4097
- },
4098
- {
4099
- displayName: 'Report Settings Template Id',
4100
- name: 'reportSettingsTemplateId',
4101
- type: 'options',
4102
- default: '',
4103
- description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.projects.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`',
4104
- typeOptions: {
4105
- loadOptionsMethod: 'getReportSettingsTemplates'
4106
- }
4107
- }
4108
- ]
4109
- }
4110
- ]
4111
- }
4112
- ]
4113
- },
4114
- {
4115
- displayName: 'Crowdin Pending Task Create Form',
4116
- name: '_crowdinPendingTaskCreateForm',
4117
- values: [
4118
- {
4119
- displayName: 'Preceding Task Id',
4120
- name: 'precedingTaskId',
4121
- type: 'options',
4122
- default: '',
4123
- description: 'Translate Task Identifier. Get via [List Tasks](#operation/api.projects.tasks.getMany)',
4124
- required: true,
4125
- typeOptions: {
4126
- loadOptionsMethod: 'getProjectTasks',
4127
- loadOptionsDependsOn: [
4128
- 'projectId'
4129
- ]
4130
- }
4131
- },
4132
- {
4133
- displayName: 'Type',
4134
- name: 'type',
4135
- type: 'options',
4136
- default: 1,
4137
- description: 'Task type:\n * 1 - proofread',
4138
- required: true,
4139
- options: [
4140
- {
4141
- name: '1',
4142
- value: 1
4143
- }
4144
- ]
4145
- },
4146
- {
4147
- displayName: 'Title',
4148
- name: 'title',
4149
- type: 'string',
4150
- default: '',
4151
- description: 'Task title',
4152
- required: true
4153
- },
4154
- {
4155
- displayName: 'Description',
4156
- name: 'description',
4157
- type: 'string',
4158
- default: '',
4159
- description: 'Task description'
4160
- },
4161
- {
4162
- displayName: 'Assignees',
4163
- name: 'assignees',
4164
- type: 'fixedCollection',
4165
- typeOptions: {
4166
- multipleValues: true
4167
- },
4168
- default: {},
4169
- description: undefined,
4170
- placeholder: 'Add Item',
4171
- options: [
4172
- {
4173
- displayName: 'Item',
4174
- name: 'items',
4175
- values: [
4176
- {
4177
- displayName: 'Id',
4178
- name: 'id',
4179
- type: 'number',
4180
- default: undefined,
4181
- description: 'Project Member Identifier. Get via [List Project Members](#operation/api.projects.members.getMany)',
4182
- required: true
4183
- },
4184
- {
4185
- displayName: 'Words Count',
4186
- name: 'wordsCount',
4187
- type: 'number',
4188
- default: 0,
4189
- description: 'Defines how many words (starting from 1) are assigned to each task assignee\n *\n * __Note:__ Can be used only when \'splitContent\' parameter is specified'
4190
- }
4191
- ]
4192
- }
4193
- ]
4194
- },
4195
- {
4196
- displayName: 'Deadline',
4197
- name: 'dateTime:deadline',
4198
- type: 'dateTime',
4199
- default: '',
4200
- description: 'Defines task deadline date\n\n __Format:__ UTC, ISO 8601',
4201
- placeholder: '2019-09-27T07:00:14+00:00'
4202
- }
4203
- ]
4204
- },
4205
- {
4206
- displayName: 'Crowdin Vendor Manual Pending Task Create Form',
4207
- name: '_crowdinVendorManualPendingTaskCreateForm',
4208
- values: [
4209
- {
4210
- displayName: 'Preceding Task Id',
4211
- name: 'precedingTaskId',
4212
- type: 'options',
4213
- default: '',
4214
- description: 'Translate Task Identifier. Get via [List Tasks](#operation/api.projects.tasks.getMany)',
4215
- required: true,
4216
- typeOptions: {
4217
- loadOptionsMethod: 'getProjectTasks',
4218
- loadOptionsDependsOn: [
4219
- 'projectId'
4220
- ]
4221
- }
4222
- },
4223
- {
4224
- displayName: 'Type',
4225
- name: 'type',
4226
- type: 'options',
4227
- default: 3,
4228
- description: 'Task type:\n * 3 - proofread by vendor',
4229
- required: true,
4230
- options: [
4231
- {
4232
- name: '3',
4233
- value: 3
4234
- }
4235
- ]
4236
- },
4237
- {
4238
- displayName: 'Vendor',
4239
- name: 'vendor',
4240
- type: 'string',
4241
- default: '',
4242
- description: 'Task vendor:\n * "alconost" - Alconost,\n * "babbleon" - Babble-on,\n * "tomedes" - Tomedes,\n * "e2f" - e2f,\n * "write_path_admin" - WritePath,\n * "inlingo" - Inlingo,\n * "acclaro" - Acclaro,\n * "translate_by_humans" - Translate by Humans,\n * "lingo24" - Lingo24,\n * "gte_localize" - GTE Localize,\n * "kettu_solutions" - Kettu Solutions',
4243
- required: true
4244
- },
4245
- {
4246
- displayName: 'Title',
4247
- name: 'title',
4248
- type: 'string',
4249
- default: '',
4250
- description: 'Task title',
4251
- required: true
4252
- },
4253
- {
4254
- displayName: 'Description',
4255
- name: 'description',
4256
- type: 'string',
4257
- default: '',
4258
- description: 'Task description'
4259
- },
4260
- {
4261
- displayName: 'Assignees',
4262
- name: 'assignees',
4263
- type: 'fixedCollection',
4264
- typeOptions: {
4265
- multipleValues: true
4266
- },
4267
- default: {},
4268
- description: undefined,
4269
- placeholder: 'Add Item',
4270
- options: [
4271
- {
4272
- displayName: 'Item',
4273
- name: 'items',
4274
- values: [
4275
- {
4276
- displayName: 'Id',
4277
- name: 'id',
4278
- type: 'number',
4279
- default: undefined,
4280
- description: 'Project Member Identifier. Get via [List Project Members](#operation/api.projects.members.getMany)',
4281
- required: true
4282
- },
4283
- {
4284
- displayName: 'Words Count',
4285
- name: 'wordsCount',
4286
- type: 'number',
4287
- default: 0,
4288
- description: 'Defines how many words (starting from 1) are assigned to each task assignee\n *\n * __Note:__ Can be used only when \'splitContent\' parameter is specified'
4289
- }
4290
- ]
4291
- }
4292
- ]
4293
- },
4294
- {
4295
- displayName: 'Deadline',
4296
- name: 'dateTime:deadline',
4297
- type: 'dateTime',
4298
- default: '',
4299
- description: 'Defines task deadline date\n\n __Format:__ UTC, ISO 8601',
4300
- placeholder: '2019-09-27T07:00:14+00:00'
4301
- }
4302
- ]
4303
2756
  }
4304
2757
  ],
4305
2758
  routing: {