@crowdin/n8n-nodes-crowdin 0.3.0 → 0.4.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.
@@ -1891,53 +1891,11 @@ exports.reportsProperties = [
1891
1891
  description: 'If true, the report will not be saved to the archive for historical reference.'
1892
1892
  }
1893
1893
  ]
1894
- }
1895
- ],
1896
- required: true
1897
- }
1898
- ]
1899
- },
1900
- {
1901
- displayName: 'Group Top Members',
1902
- name: '_groupTopMembers',
1903
- values: [
1904
- {
1905
- displayName: 'Name',
1906
- name: 'name',
1907
- type: 'options',
1908
- default: 'group-top-members',
1909
- description: 'group-top-members',
1910
- required: true,
1911
- options: [
1912
- {
1913
- name: 'group-top-members',
1914
- value: 'group-top-members'
1915
- }
1916
- ],
1917
- placeholder: 'group-top-members'
1918
- },
1919
- {
1920
- displayName: 'Schema',
1921
- name: 'schema',
1922
- type: 'fixedCollection',
1923
- default: {},
1924
- description: 'Group Top Members Report schema',
1925
- placeholder: 'Add Field',
1926
- options: [
1894
+ },
1927
1895
  {
1928
- displayName: 'Fields',
1929
- name: 'fields',
1896
+ displayName: 'By Task',
1897
+ name: '_groupTranslationCostsPeReportByTask',
1930
1898
  values: [
1931
- {
1932
- displayName: 'Project Ids',
1933
- name: 'projectIds',
1934
- type: 'multiOptions',
1935
- typeOptions: {
1936
- loadOptionsMethod: 'getProjectsMulti'
1937
- },
1938
- default: [],
1939
- description: 'Project Identifier for which the report should be generated. Get via [List Projects](#operation/api.projects.getMany)'
1940
- },
1941
1899
  {
1942
1900
  displayName: 'Unit',
1943
1901
  name: 'unit',
@@ -1969,103 +1927,115 @@ exports.reportsProperties = [
1969
1927
  placeholder: 'words'
1970
1928
  },
1971
1929
  {
1972
- displayName: 'Language Id',
1973
- name: 'languageId',
1974
- type: 'options',
1975
- default: '',
1976
- description: 'Language Identifier for which the report should be generated. Get via [List Supported Languages](#operation/api.languages.getMany)',
1977
- typeOptions: {
1978
- loadOptionsMethod: 'getLanguages'
1979
- }
1980
- },
1981
- {
1982
- displayName: 'Format',
1983
- name: 'format',
1930
+ displayName: 'Currency',
1931
+ name: 'currency',
1984
1932
  type: 'options',
1985
1933
  default: '',
1986
- description: 'Defines export file format',
1934
+ description: 'Defines report currency',
1987
1935
  options: [
1988
1936
  {
1989
1937
  name: '-',
1990
1938
  value: ''
1991
1939
  },
1992
1940
  {
1993
- name: 'xlsx',
1994
- value: 'xlsx'
1941
+ name: 'USD',
1942
+ value: 'USD'
1995
1943
  },
1996
1944
  {
1997
- name: 'csv',
1998
- value: 'csv'
1945
+ name: 'EUR',
1946
+ value: 'EUR'
1999
1947
  },
2000
1948
  {
2001
- name: 'json',
2002
- value: 'json'
1949
+ name: 'JPY',
1950
+ value: 'JPY'
1951
+ },
1952
+ {
1953
+ name: 'GBP',
1954
+ value: 'GBP'
1955
+ },
1956
+ {
1957
+ name: 'AUD',
1958
+ value: 'AUD'
1959
+ },
1960
+ {
1961
+ name: 'CAD',
1962
+ value: 'CAD'
1963
+ },
1964
+ {
1965
+ name: 'CHF',
1966
+ value: 'CHF'
1967
+ },
1968
+ {
1969
+ name: 'CNY',
1970
+ value: 'CNY'
1971
+ },
1972
+ {
1973
+ name: 'SEK',
1974
+ value: 'SEK'
1975
+ },
1976
+ {
1977
+ name: 'NZD',
1978
+ value: 'NZD'
1979
+ },
1980
+ {
1981
+ name: 'MXN',
1982
+ value: 'MXN'
1983
+ },
1984
+ {
1985
+ name: 'SGD',
1986
+ value: 'SGD'
1987
+ },
1988
+ {
1989
+ name: 'HKD',
1990
+ value: 'HKD'
1991
+ },
1992
+ {
1993
+ name: 'NOK',
1994
+ value: 'NOK'
1995
+ },
1996
+ {
1997
+ name: 'KRW',
1998
+ value: 'KRW'
1999
+ },
2000
+ {
2001
+ name: 'TRY',
2002
+ value: 'TRY'
2003
+ },
2004
+ {
2005
+ name: 'RUB',
2006
+ value: 'RUB'
2007
+ },
2008
+ {
2009
+ name: 'INR',
2010
+ value: 'INR'
2011
+ },
2012
+ {
2013
+ name: 'BRL',
2014
+ value: 'BRL'
2015
+ },
2016
+ {
2017
+ name: 'ZAR',
2018
+ value: 'ZAR'
2019
+ },
2020
+ {
2021
+ name: 'GEL',
2022
+ value: 'GEL'
2023
+ },
2024
+ {
2025
+ name: 'UAH',
2026
+ value: 'UAH'
2027
+ },
2028
+ {
2029
+ name: 'DDK',
2030
+ value: 'DDK'
2031
+ },
2032
+ {
2033
+ name: 'PLN',
2034
+ value: 'PLN'
2003
2035
  }
2004
- ]
2005
- },
2006
- {
2007
- displayName: 'Date From',
2008
- name: 'dateTime:dateFrom',
2009
- type: 'dateTime',
2010
- default: '',
2011
- description: 'Task date from in UTC, ISO 8601',
2012
- placeholder: '2019-09-23T07:00:14+00:00'
2013
- },
2014
- {
2015
- displayName: 'Date To',
2016
- name: 'dateTime:dateTo',
2017
- type: 'dateTime',
2018
- default: '',
2019
- description: 'Task date to in UTC, ISO 8601',
2020
- placeholder: '2019-09-27T07:00:14+00:00'
2036
+ ],
2037
+ placeholder: 'USD'
2021
2038
  },
2022
- {
2023
- displayName: 'User Ids',
2024
- name: 'userIds',
2025
- type: 'multiOptions',
2026
- typeOptions: {
2027
- loadOptionsMethod: 'getUsersMulti'
2028
- },
2029
- default: [],
2030
- description: 'Array of user ids'
2031
- }
2032
- ]
2033
- }
2034
- ],
2035
- required: true
2036
- }
2037
- ]
2038
- },
2039
- {
2040
- displayName: 'Group Task Usage',
2041
- name: '_groupTaskUsage',
2042
- values: [
2043
- {
2044
- displayName: 'Name',
2045
- name: 'name',
2046
- type: 'options',
2047
- default: 'group-task-usage',
2048
- description: 'group-task-usage',
2049
- required: true,
2050
- options: [
2051
- {
2052
- name: 'group-task-usage',
2053
- value: 'group-task-usage'
2054
- }
2055
- ],
2056
- placeholder: 'group-task-usage'
2057
- },
2058
- {
2059
- displayName: 'Task Usage Report',
2060
- name: 'schema',
2061
- type: 'fixedCollection',
2062
- default: {},
2063
- description: undefined,
2064
- options: [
2065
- {
2066
- displayName: 'Workload',
2067
- name: '_groupTaskUsageWorkloadReport',
2068
- values: [
2069
2039
  {
2070
2040
  displayName: 'Format',
2071
2041
  name: 'format',
@@ -2089,306 +2059,491 @@ exports.reportsProperties = [
2089
2059
  name: 'json',
2090
2060
  value: 'json'
2091
2061
  }
2092
- ],
2093
- required: true
2062
+ ]
2094
2063
  },
2095
2064
  {
2096
- displayName: 'Type',
2097
- name: 'type',
2098
- type: 'options',
2099
- default: '',
2100
- description: 'workload',
2065
+ displayName: 'Base Rates',
2066
+ name: 'baseRates',
2067
+ type: 'fixedCollection',
2068
+ default: {},
2069
+ placeholder: 'Add Field',
2101
2070
  options: [
2102
2071
  {
2103
- name: '-',
2104
- value: ''
2105
- },
2106
- {
2107
- name: 'workload',
2108
- value: 'workload'
2109
- }
2110
- ],
2111
- placeholder: 'workload',
2112
- required: true
2113
- },
2114
- {
2115
- displayName: 'Project Ids',
2116
- name: 'projectIds',
2117
- type: 'multiOptions',
2118
- typeOptions: {
2119
- loadOptionsMethod: 'getProjectsMulti'
2120
- },
2121
- default: [],
2122
- description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
2123
- },
2124
- {
2125
- displayName: 'Date From',
2126
- name: 'dateTime:dateFrom',
2127
- type: 'dateTime',
2128
- default: '',
2129
- description: 'Report date from in UTC, ISO 8601',
2130
- placeholder: '2025-09-25T07:00:14+00:00'
2131
- },
2132
- {
2133
- displayName: 'Date To',
2134
- name: 'dateTime:dateTo',
2135
- type: 'dateTime',
2136
- default: '',
2137
- description: 'Report date to in UTC, ISO 8601',
2138
- placeholder: '2025-09-27T07:00:14+00:00'
2139
- },
2140
- {
2141
- displayName: 'Group By',
2142
- name: 'groupBy',
2143
- type: 'options',
2144
- default: '',
2145
- description: 'Defines grouping parameter',
2146
- options: [
2147
- {
2148
- name: '-',
2149
- value: ''
2150
- },
2151
- {
2152
- name: 'user',
2153
- value: 'user'
2154
- },
2155
- {
2156
- name: 'language',
2157
- value: 'language'
2158
- },
2159
- {
2160
- name: 'type',
2161
- value: 'type'
2162
- },
2163
- {
2164
- name: 'project',
2165
- value: 'project'
2166
- }
2167
- ],
2168
- placeholder: 'user'
2169
- },
2170
- {
2171
- displayName: 'Type Tasks',
2172
- name: 'typeTasks',
2173
- type: 'options',
2174
- default: '',
2175
- description: 'Task type:\n * 0 - translate\n * 1 - proofread\n * 2 - translate by vendor\n * 3 - proofread by vendor',
2176
- options: [
2177
- {
2178
- name: '-',
2179
- value: ''
2180
- },
2181
- {
2182
- name: '0',
2183
- value: 0
2184
- },
2185
- {
2186
- name: '1',
2187
- value: 1
2188
- },
2189
- {
2190
- name: '2',
2191
- value: 2
2192
- },
2193
- {
2194
- name: '3',
2195
- value: 3
2196
- }
2197
- ]
2198
- },
2199
- {
2200
- displayName: 'Language Id',
2201
- name: 'languageId',
2202
- type: 'options',
2203
- default: '',
2204
- description: 'Language Identifier for which the report should be generated. Get via [List Supported Languages](#operation/api.languages.getMany)',
2205
- typeOptions: {
2206
- loadOptionsMethod: 'getLanguages'
2207
- }
2208
- },
2209
- {
2210
- displayName: 'Creator Id',
2211
- name: 'creatorId',
2212
- type: 'number',
2213
- default: 0,
2214
- description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
2215
- placeholder: '1'
2216
- },
2217
- {
2218
- displayName: 'Assignee Id',
2219
- name: 'assigneeId',
2220
- type: 'number',
2221
- default: 0,
2222
- description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
2223
- placeholder: '1'
2224
- }
2225
- ]
2226
- },
2227
- {
2228
- displayName: 'Create vs Resolve',
2229
- name: '_groupTaskUsageCreateVsResolveReport',
2230
- values: [
2231
- {
2232
- displayName: 'Format',
2233
- name: 'format',
2234
- type: 'options',
2235
- default: '',
2236
- description: 'Defines export file format',
2237
- options: [
2238
- {
2239
- name: '-',
2240
- value: ''
2241
- },
2242
- {
2243
- name: 'xlsx',
2244
- value: 'xlsx'
2245
- },
2246
- {
2247
- name: 'csv',
2248
- value: 'csv'
2249
- },
2250
- {
2251
- name: 'json',
2252
- value: 'json'
2072
+ displayName: 'Fields',
2073
+ name: 'fields',
2074
+ values: [
2075
+ {
2076
+ displayName: 'Full Translation',
2077
+ name: 'fullTranslation',
2078
+ type: 'number',
2079
+ default: undefined,
2080
+ description: 'Applies to all languages by default',
2081
+ placeholder: '0.1',
2082
+ required: true
2083
+ },
2084
+ {
2085
+ displayName: 'Proofread',
2086
+ name: 'proofread',
2087
+ type: 'number',
2088
+ default: undefined,
2089
+ description: undefined,
2090
+ placeholder: '0.12',
2091
+ required: true
2092
+ }
2093
+ ]
2253
2094
  }
2254
2095
  ],
2255
2096
  required: true
2256
2097
  },
2257
2098
  {
2258
- displayName: 'Type',
2259
- name: 'type',
2260
- type: 'options',
2261
- default: '',
2262
- description: 'created-vs-resolved',
2099
+ displayName: 'Individual Rates',
2100
+ name: 'individualRates',
2101
+ type: 'fixedCollection',
2102
+ typeOptions: {
2103
+ multipleValues: true
2104
+ },
2105
+ default: {},
2106
+ description: 'Individual rates (Custom rates for certain languages or users)',
2107
+ placeholder: 'Add Item',
2263
2108
  options: [
2264
2109
  {
2265
- name: '-',
2266
- value: ''
2267
- },
2268
- {
2269
- name: 'created-vs-resolved',
2270
- value: 'created-vs-resolved'
2110
+ displayName: 'Item',
2111
+ name: 'items',
2112
+ values: [
2113
+ {
2114
+ displayName: 'Language Ids',
2115
+ name: 'languageIds',
2116
+ type: 'multiOptions',
2117
+ typeOptions: {
2118
+ loadOptionsMethod: 'getLanguagesMulti'
2119
+ },
2120
+ default: [],
2121
+ description: 'Array of language ids',
2122
+ required: true
2123
+ },
2124
+ {
2125
+ displayName: 'User Ids',
2126
+ name: 'userIds',
2127
+ type: 'multiOptions',
2128
+ typeOptions: {
2129
+ loadOptionsMethod: 'getUsersMulti'
2130
+ },
2131
+ default: [],
2132
+ description: 'Array of user ids',
2133
+ required: true
2134
+ },
2135
+ {
2136
+ displayName: 'Full Translation',
2137
+ name: 'fullTranslation',
2138
+ type: 'number',
2139
+ default: undefined,
2140
+ description: undefined,
2141
+ placeholder: '0.1',
2142
+ required: true
2143
+ },
2144
+ {
2145
+ displayName: 'Proofread',
2146
+ name: 'proofread',
2147
+ type: 'number',
2148
+ default: undefined,
2149
+ description: undefined,
2150
+ placeholder: '0.12',
2151
+ required: true
2152
+ }
2153
+ ]
2271
2154
  }
2272
2155
  ],
2273
- placeholder: 'created-vs-resolved',
2274
2156
  required: true
2275
2157
  },
2276
2158
  {
2277
- displayName: 'Project Ids',
2278
- name: 'projectIds',
2279
- type: 'multiOptions',
2280
- typeOptions: {
2281
- loadOptionsMethod: 'getProjectsMulti'
2282
- },
2283
- default: [],
2284
- description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
2285
- },
2286
- {
2287
- displayName: 'Date From',
2288
- name: 'dateTime:dateFrom',
2289
- type: 'dateTime',
2290
- default: '',
2291
- description: 'Report date from in UTC, ISO 8601',
2292
- placeholder: '2025-09-25T07:00:14+00:00'
2293
- },
2294
- {
2295
- displayName: 'Date To',
2296
- name: 'dateTime:dateTo',
2297
- type: 'dateTime',
2298
- default: '',
2299
- description: 'Report date to in UTC, ISO 8601',
2300
- placeholder: '2025-09-27T07:00:14+00:00'
2301
- },
2302
- {
2303
- displayName: 'Group By',
2304
- name: 'groupBy',
2305
- type: 'options',
2306
- default: '',
2307
- description: 'Defines grouping parameter',
2159
+ displayName: 'Net Rate Schemes',
2160
+ name: 'netRateSchemes',
2161
+ type: 'fixedCollection',
2162
+ default: {},
2163
+ description: 'Net Rate Schemes (Percentage paid of full translation rate)\n\n__Note:__ A new translation will be included in the report at the lowest rate if multiple scheme categories can be applied to the translation',
2164
+ placeholder: 'Add Field',
2308
2165
  options: [
2309
2166
  {
2310
- name: '-',
2311
- value: ''
2312
- },
2313
- {
2314
- name: 'language',
2315
- value: 'language'
2316
- },
2317
- {
2318
- name: 'type',
2319
- value: 'type'
2320
- },
2321
- {
2322
- name: 'project',
2323
- value: 'project'
2167
+ displayName: 'Fields',
2168
+ name: 'fields',
2169
+ values: [
2170
+ {
2171
+ displayName: 'Tm Match',
2172
+ name: 'tmMatch',
2173
+ type: 'fixedCollection',
2174
+ typeOptions: {
2175
+ multipleValues: true
2176
+ },
2177
+ default: {},
2178
+ description: undefined,
2179
+ placeholder: 'Add Item',
2180
+ options: [
2181
+ {
2182
+ displayName: 'Item',
2183
+ name: 'items',
2184
+ values: [
2185
+ {
2186
+ displayName: 'Match Type',
2187
+ name: 'matchType',
2188
+ type: 'string',
2189
+ default: '',
2190
+ description: 'Match type, %. Possible values: `perfect`, `100`, or a percentage range (e.g., `99-82`, `81-60`)',
2191
+ placeholder: 'perfect',
2192
+ required: true
2193
+ },
2194
+ {
2195
+ displayName: 'Price',
2196
+ name: 'price',
2197
+ type: 'number',
2198
+ default: undefined,
2199
+ description: 'Price, %',
2200
+ placeholder: '0.1',
2201
+ required: true
2202
+ }
2203
+ ]
2204
+ }
2205
+ ],
2206
+ required: true
2207
+ },
2208
+ {
2209
+ displayName: 'Mt Match',
2210
+ name: 'mtMatch',
2211
+ type: 'fixedCollection',
2212
+ typeOptions: {
2213
+ multipleValues: true
2214
+ },
2215
+ default: {},
2216
+ description: undefined,
2217
+ placeholder: 'Add Item',
2218
+ options: [
2219
+ {
2220
+ displayName: 'Item',
2221
+ name: 'items',
2222
+ values: [
2223
+ {
2224
+ displayName: 'Match Type',
2225
+ name: 'matchType',
2226
+ type: 'string',
2227
+ default: '',
2228
+ description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
2229
+ placeholder: '100',
2230
+ required: true
2231
+ },
2232
+ {
2233
+ displayName: 'Price',
2234
+ name: 'price',
2235
+ type: 'number',
2236
+ default: undefined,
2237
+ description: 'Price, %',
2238
+ placeholder: '0.1',
2239
+ required: true
2240
+ }
2241
+ ]
2242
+ }
2243
+ ],
2244
+ required: true
2245
+ },
2246
+ {
2247
+ displayName: 'Ai Match',
2248
+ name: 'aiMatch',
2249
+ type: 'fixedCollection',
2250
+ typeOptions: {
2251
+ multipleValues: true
2252
+ },
2253
+ default: {},
2254
+ description: '\n\n __Note:__ The `aiMatch` field is optional. If this field is not filled in, the schema will be taken from the `mtMatch` field.',
2255
+ placeholder: 'Add Item',
2256
+ options: [
2257
+ {
2258
+ displayName: 'Item',
2259
+ name: 'items',
2260
+ values: [
2261
+ {
2262
+ displayName: 'Match Type',
2263
+ name: 'matchType',
2264
+ type: 'string',
2265
+ default: '',
2266
+ description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
2267
+ placeholder: '100',
2268
+ required: true
2269
+ },
2270
+ {
2271
+ displayName: 'Price',
2272
+ name: 'price',
2273
+ type: 'number',
2274
+ default: undefined,
2275
+ description: 'Price, %',
2276
+ placeholder: '0.1',
2277
+ required: true
2278
+ }
2279
+ ]
2280
+ }
2281
+ ]
2282
+ },
2283
+ {
2284
+ displayName: 'Suggestion Match',
2285
+ name: 'suggestionMatch',
2286
+ type: 'fixedCollection',
2287
+ typeOptions: {
2288
+ multipleValues: true
2289
+ },
2290
+ default: {},
2291
+ description: undefined,
2292
+ placeholder: 'Add Item',
2293
+ options: [
2294
+ {
2295
+ displayName: 'Item',
2296
+ name: 'items',
2297
+ values: [
2298
+ {
2299
+ displayName: 'Match Type',
2300
+ name: 'matchType',
2301
+ type: 'string',
2302
+ default: '',
2303
+ description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
2304
+ placeholder: '100',
2305
+ required: true
2306
+ },
2307
+ {
2308
+ displayName: 'Price',
2309
+ name: 'price',
2310
+ type: 'number',
2311
+ default: undefined,
2312
+ description: 'Price, %',
2313
+ placeholder: '0.1',
2314
+ required: true
2315
+ }
2316
+ ]
2317
+ }
2318
+ ],
2319
+ required: true
2320
+ }
2321
+ ]
2324
2322
  }
2325
2323
  ],
2326
- placeholder: 'user'
2324
+ required: true
2327
2325
  },
2328
2326
  {
2329
- displayName: 'Type Tasks',
2330
- name: 'typeTasks',
2331
- type: 'options',
2332
- default: '',
2333
- description: 'Task type:\n * 0 - translate\n * 1 - proofread\n * 2 - translate by vendor\n * 3 - proofread by vendor',
2334
- options: [
2335
- {
2336
- name: '-',
2337
- value: ''
2338
- },
2339
- {
2340
- name: '0',
2341
- value: 0
2342
- },
2343
- {
2344
- name: '1',
2345
- value: 1
2346
- },
2347
- {
2348
- name: '2',
2349
- value: 2
2350
- },
2351
- {
2352
- name: '3',
2353
- value: 3
2354
- }
2355
- ]
2327
+ displayName: 'Task Ids',
2328
+ name: 'taskIds',
2329
+ type: 'multiOptions',
2330
+ typeOptions: {
2331
+ loadOptionsMethod: 'getProjectTasksMulti',
2332
+ loadOptionsDependsOn: [
2333
+ 'projectId'
2334
+ ]
2335
+ },
2336
+ default: [],
2337
+ description: 'Array of task ids. Get via [List Tasks](#operation/api.projects.tasks.getMany)'
2356
2338
  },
2357
2339
  {
2358
- displayName: 'Language Id',
2359
- name: 'languageId',
2360
- type: 'options',
2361
- default: '',
2362
- description: 'Language Identifier for which the report should be generated. Get via [List Supported Languages](#operation/api.languages.getMany)',
2363
- typeOptions: {
2364
- loadOptionsMethod: 'getLanguages'
2365
- }
2340
+ displayName: 'Exclude Approvals For Edited Translations',
2341
+ name: 'excludeApprovalsForEditedTranslations',
2342
+ type: 'boolean',
2343
+ default: false,
2344
+ description: 'Exclude approvals when the same user has made translations for the string.'
2366
2345
  },
2367
2346
  {
2368
- displayName: 'Creator Id',
2369
- name: 'creatorId',
2370
- type: 'number',
2371
- default: 0,
2372
- description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
2373
- placeholder: '1'
2347
+ displayName: 'Pre Translated Strings Categorization Adjustment',
2348
+ name: 'preTranslatedStringsCategorizationAdjustment',
2349
+ type: 'boolean',
2350
+ default: false,
2351
+ description: 'Repetitive translations of pre-translated strings are reported under TM or MT match rates instead of Other suggestion match rates, depending on the initial pre-translation type.'
2352
+ },
2353
+ {
2354
+ displayName: 'Skip Archiving',
2355
+ name: 'skipArchiving',
2356
+ type: 'boolean',
2357
+ default: false,
2358
+ description: 'If true, the report will not be saved to the archive for historical reference.'
2374
2359
  }
2375
2360
  ]
2376
- },
2377
- {
2378
- displayName: 'Performance',
2379
- name: '_groupTaskUsagePerformanceReport',
2380
- values: [
2381
- {
2382
- displayName: 'Format',
2383
- name: 'format',
2384
- type: 'options',
2385
- default: '',
2386
- description: 'Defines export file format',
2387
- options: [
2388
- {
2389
- name: '-',
2390
- value: ''
2391
- },
2361
+ }
2362
+ ],
2363
+ required: true
2364
+ }
2365
+ ]
2366
+ },
2367
+ {
2368
+ displayName: 'Group Top Members',
2369
+ name: '_groupTopMembers',
2370
+ values: [
2371
+ {
2372
+ displayName: 'Name',
2373
+ name: 'name',
2374
+ type: 'options',
2375
+ default: 'group-top-members',
2376
+ description: 'group-top-members',
2377
+ required: true,
2378
+ options: [
2379
+ {
2380
+ name: 'group-top-members',
2381
+ value: 'group-top-members'
2382
+ }
2383
+ ],
2384
+ placeholder: 'group-top-members'
2385
+ },
2386
+ {
2387
+ displayName: 'Schema',
2388
+ name: 'schema',
2389
+ type: 'fixedCollection',
2390
+ default: {},
2391
+ description: 'Group Top Members Report schema',
2392
+ placeholder: 'Add Field',
2393
+ options: [
2394
+ {
2395
+ displayName: 'Fields',
2396
+ name: 'fields',
2397
+ values: [
2398
+ {
2399
+ displayName: 'Project Ids',
2400
+ name: 'projectIds',
2401
+ type: 'multiOptions',
2402
+ typeOptions: {
2403
+ loadOptionsMethod: 'getProjectsMulti'
2404
+ },
2405
+ default: [],
2406
+ description: 'Project Identifier for which the report should be generated. Get via [List Projects](#operation/api.projects.getMany)'
2407
+ },
2408
+ {
2409
+ displayName: 'Unit',
2410
+ name: 'unit',
2411
+ type: 'options',
2412
+ default: '',
2413
+ description: 'Defines report unit',
2414
+ options: [
2415
+ {
2416
+ name: '-',
2417
+ value: ''
2418
+ },
2419
+ {
2420
+ name: 'strings',
2421
+ value: 'strings'
2422
+ },
2423
+ {
2424
+ name: 'words',
2425
+ value: 'words'
2426
+ },
2427
+ {
2428
+ name: 'chars',
2429
+ value: 'chars'
2430
+ },
2431
+ {
2432
+ name: 'chars_with_spaces',
2433
+ value: 'chars_with_spaces'
2434
+ }
2435
+ ],
2436
+ placeholder: 'words'
2437
+ },
2438
+ {
2439
+ displayName: 'Language Id',
2440
+ name: 'languageId',
2441
+ type: 'options',
2442
+ default: '',
2443
+ description: 'Language Identifier for which the report should be generated. Get via [List Supported Languages](#operation/api.languages.getMany)',
2444
+ typeOptions: {
2445
+ loadOptionsMethod: 'getLanguages'
2446
+ }
2447
+ },
2448
+ {
2449
+ displayName: 'Format',
2450
+ name: 'format',
2451
+ type: 'options',
2452
+ default: '',
2453
+ description: 'Defines export file format',
2454
+ options: [
2455
+ {
2456
+ name: '-',
2457
+ value: ''
2458
+ },
2459
+ {
2460
+ name: 'xlsx',
2461
+ value: 'xlsx'
2462
+ },
2463
+ {
2464
+ name: 'csv',
2465
+ value: 'csv'
2466
+ },
2467
+ {
2468
+ name: 'json',
2469
+ value: 'json'
2470
+ }
2471
+ ]
2472
+ },
2473
+ {
2474
+ displayName: 'Date From',
2475
+ name: 'dateTime:dateFrom',
2476
+ type: 'dateTime',
2477
+ default: '',
2478
+ description: 'Task date from in UTC, ISO 8601',
2479
+ placeholder: '2019-09-23T07:00:14+00:00'
2480
+ },
2481
+ {
2482
+ displayName: 'Date To',
2483
+ name: 'dateTime:dateTo',
2484
+ type: 'dateTime',
2485
+ default: '',
2486
+ description: 'Task date to in UTC, ISO 8601',
2487
+ placeholder: '2019-09-27T07:00:14+00:00'
2488
+ },
2489
+ {
2490
+ displayName: 'User Ids',
2491
+ name: 'userIds',
2492
+ type: 'multiOptions',
2493
+ typeOptions: {
2494
+ loadOptionsMethod: 'getUsersMulti'
2495
+ },
2496
+ default: [],
2497
+ description: 'Array of user ids'
2498
+ }
2499
+ ]
2500
+ }
2501
+ ],
2502
+ required: true
2503
+ }
2504
+ ]
2505
+ },
2506
+ {
2507
+ displayName: 'Group Task Usage',
2508
+ name: '_groupTaskUsage',
2509
+ values: [
2510
+ {
2511
+ displayName: 'Name',
2512
+ name: 'name',
2513
+ type: 'options',
2514
+ default: 'group-task-usage',
2515
+ description: 'group-task-usage',
2516
+ required: true,
2517
+ options: [
2518
+ {
2519
+ name: 'group-task-usage',
2520
+ value: 'group-task-usage'
2521
+ }
2522
+ ],
2523
+ placeholder: 'group-task-usage'
2524
+ },
2525
+ {
2526
+ displayName: 'Task Usage Report',
2527
+ name: 'schema',
2528
+ type: 'fixedCollection',
2529
+ default: {},
2530
+ description: undefined,
2531
+ options: [
2532
+ {
2533
+ displayName: 'Workload',
2534
+ name: '_groupTaskUsageWorkloadReport',
2535
+ values: [
2536
+ {
2537
+ displayName: 'Format',
2538
+ name: 'format',
2539
+ type: 'options',
2540
+ default: '',
2541
+ description: 'Defines export file format',
2542
+ options: [
2543
+ {
2544
+ name: '-',
2545
+ value: ''
2546
+ },
2392
2547
  {
2393
2548
  name: 'xlsx',
2394
2549
  value: 'xlsx'
@@ -2409,18 +2564,18 @@ exports.reportsProperties = [
2409
2564
  name: 'type',
2410
2565
  type: 'options',
2411
2566
  default: '',
2412
- description: 'performance',
2567
+ description: 'workload',
2413
2568
  options: [
2414
2569
  {
2415
2570
  name: '-',
2416
2571
  value: ''
2417
2572
  },
2418
2573
  {
2419
- name: 'performance',
2420
- value: 'performance'
2574
+ name: 'workload',
2575
+ value: 'workload'
2421
2576
  }
2422
2577
  ],
2423
- placeholder: 'performance',
2578
+ placeholder: 'workload',
2424
2579
  required: true
2425
2580
  },
2426
2581
  {
@@ -2460,6 +2615,10 @@ exports.reportsProperties = [
2460
2615
  name: '-',
2461
2616
  value: ''
2462
2617
  },
2618
+ {
2619
+ name: 'user',
2620
+ value: 'user'
2621
+ },
2463
2622
  {
2464
2623
  name: 'language',
2465
2624
  value: 'language'
@@ -2533,8 +2692,8 @@ exports.reportsProperties = [
2533
2692
  ]
2534
2693
  },
2535
2694
  {
2536
- displayName: 'Time',
2537
- name: '_groupTaskUsageTimeReport',
2695
+ displayName: 'Create vs Resolve',
2696
+ name: '_groupTaskUsageCreateVsResolveReport',
2538
2697
  values: [
2539
2698
  {
2540
2699
  displayName: 'Format',
@@ -2567,18 +2726,18 @@ exports.reportsProperties = [
2567
2726
  name: 'type',
2568
2727
  type: 'options',
2569
2728
  default: '',
2570
- description: 'time',
2729
+ description: 'created-vs-resolved',
2571
2730
  options: [
2572
2731
  {
2573
2732
  name: '-',
2574
2733
  value: ''
2575
2734
  },
2576
2735
  {
2577
- name: 'time',
2578
- value: 'time'
2736
+ name: 'created-vs-resolved',
2737
+ value: 'created-vs-resolved'
2579
2738
  }
2580
2739
  ],
2581
- placeholder: 'time',
2740
+ placeholder: 'created-vs-resolved',
2582
2741
  required: true
2583
2742
  },
2584
2743
  {
@@ -2638,7 +2797,7 @@ exports.reportsProperties = [
2638
2797
  name: 'typeTasks',
2639
2798
  type: 'options',
2640
2799
  default: '',
2641
- description: 'Task type:\n * 0 - translate\n * 1 - proofread\n * 2 - translate by vendor\n * 3 - proofread by vendor',
2800
+ description: 'Task type:\n * 0 - translate\n * 1 - proofread\n * 2 - translate by vendor\n * 3 - proofread by vendor',
2642
2801
  options: [
2643
2802
  {
2644
2803
  name: '-',
@@ -2679,36 +2838,12 @@ exports.reportsProperties = [
2679
2838
  default: 0,
2680
2839
  description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
2681
2840
  placeholder: '1'
2682
- },
2683
- {
2684
- displayName: 'Assignee Id',
2685
- name: 'assigneeId',
2686
- type: 'number',
2687
- default: 0,
2688
- description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
2689
- placeholder: '1'
2690
- },
2691
- {
2692
- displayName: 'Words Count From',
2693
- name: 'wordsCountFrom',
2694
- type: 'number',
2695
- default: 0,
2696
- description: undefined,
2697
- placeholder: '1'
2698
- },
2699
- {
2700
- displayName: 'Words Count To',
2701
- name: 'wordsCountTo',
2702
- type: 'number',
2703
- default: 0,
2704
- description: undefined,
2705
- placeholder: '1'
2706
2841
  }
2707
2842
  ]
2708
2843
  },
2709
2844
  {
2710
- displayName: 'Cost',
2711
- name: '_groupTaskUsageCostReport',
2845
+ displayName: 'Performance',
2846
+ name: '_groupTaskUsagePerformanceReport',
2712
2847
  values: [
2713
2848
  {
2714
2849
  displayName: 'Format',
@@ -2741,18 +2876,18 @@ exports.reportsProperties = [
2741
2876
  name: 'type',
2742
2877
  type: 'options',
2743
2878
  default: '',
2744
- description: 'cost',
2879
+ description: 'performance',
2745
2880
  options: [
2746
2881
  {
2747
2882
  name: '-',
2748
2883
  value: ''
2749
2884
  },
2750
2885
  {
2751
- name: 'cost',
2752
- value: 'cost'
2886
+ name: 'performance',
2887
+ value: 'performance'
2753
2888
  }
2754
2889
  ],
2755
- placeholder: 'cost',
2890
+ placeholder: 'performance',
2756
2891
  required: true
2757
2892
  },
2758
2893
  {
@@ -2861,84 +2996,13 @@ exports.reportsProperties = [
2861
2996
  default: 0,
2862
2997
  description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
2863
2998
  placeholder: '1'
2864
- },
2865
- {
2866
- displayName: 'Statuses',
2867
- name: 'statuses',
2868
- type: 'multiOptions',
2869
- default: [],
2870
- description: 'Task statuses to filter by',
2871
- options: [
2872
- {
2873
- name: 'todo',
2874
- value: 'todo'
2875
- },
2876
- {
2877
- name: 'in_progress',
2878
- value: 'in_progress'
2879
- },
2880
- {
2881
- name: 'done',
2882
- value: 'done'
2883
- },
2884
- {
2885
- name: 'closed',
2886
- value: 'closed'
2887
- },
2888
- {
2889
- name: 'review',
2890
- value: 'review'
2891
- }
2892
- ]
2893
- }
2894
- ]
2895
- }
2896
- ],
2897
- required: true
2898
- }
2899
- ]
2900
- },
2901
- {
2902
- displayName: 'Group Qa Check Isses Report',
2903
- name: '_groupQaCheckIssesReport',
2904
- values: [
2905
- {
2906
- displayName: 'Name',
2907
- name: 'name',
2908
- type: 'options',
2909
- default: 'group-qa-check-issues',
2910
- description: 'group-qa-check-issues',
2911
- required: true,
2912
- options: [
2913
- {
2914
- name: 'group-qa-check-issues',
2915
- value: 'group-qa-check-issues'
2916
- }
2917
- ],
2918
- placeholder: 'group-qa-check-issues'
2919
- },
2920
- {
2921
- displayName: 'Group Qa Check Issues Report',
2922
- name: 'schema',
2923
- type: 'fixedCollection',
2924
- default: {},
2925
- description: undefined,
2926
- placeholder: 'Add Field',
2927
- options: [
2928
- {
2929
- displayName: 'Fields',
2930
- name: 'fields',
2931
- values: [
2932
- {
2933
- displayName: 'Project Ids',
2934
- name: 'projectIds',
2935
- type: 'multiOptions',
2936
- typeOptions: {
2937
- loadOptionsMethod: 'getProjectsMulti'
2938
- },
2939
- default: [],
2940
- description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
2941
- },
2999
+ }
3000
+ ]
3001
+ },
3002
+ {
3003
+ displayName: 'Time',
3004
+ name: '_groupTaskUsageTimeReport',
3005
+ values: [
2942
3006
  {
2943
3007
  displayName: 'Format',
2944
3008
  name: 'format',
@@ -2962,7 +3026,37 @@ exports.reportsProperties = [
2962
3026
  name: 'json',
2963
3027
  value: 'json'
2964
3028
  }
2965
- ]
3029
+ ],
3030
+ required: true
3031
+ },
3032
+ {
3033
+ displayName: 'Type',
3034
+ name: 'type',
3035
+ type: 'options',
3036
+ default: '',
3037
+ description: 'time',
3038
+ options: [
3039
+ {
3040
+ name: '-',
3041
+ value: ''
3042
+ },
3043
+ {
3044
+ name: 'time',
3045
+ value: 'time'
3046
+ }
3047
+ ],
3048
+ placeholder: 'time',
3049
+ required: true
3050
+ },
3051
+ {
3052
+ displayName: 'Project Ids',
3053
+ name: 'projectIds',
3054
+ type: 'multiOptions',
3055
+ typeOptions: {
3056
+ loadOptionsMethod: 'getProjectsMulti'
3057
+ },
3058
+ default: [],
3059
+ description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
2966
3060
  },
2967
3061
  {
2968
3062
  displayName: 'Date From',
@@ -2970,7 +3064,7 @@ exports.reportsProperties = [
2970
3064
  type: 'dateTime',
2971
3065
  default: '',
2972
3066
  description: 'Report date from in UTC, ISO 8601',
2973
- placeholder: '2025-05-23T07:00:14+00:00'
3067
+ placeholder: '2025-09-25T07:00:14+00:00'
2974
3068
  },
2975
3069
  {
2976
3070
  displayName: 'Date To',
@@ -2978,86 +3072,111 @@ exports.reportsProperties = [
2978
3072
  type: 'dateTime',
2979
3073
  default: '',
2980
3074
  description: 'Report date to in UTC, ISO 8601',
2981
- placeholder: '2025-05-27T07:00:14+00:00'
2982
- }
2983
- ]
2984
- }
2985
- ],
2986
- required: true
2987
- }
2988
- ]
2989
- },
2990
- {
2991
- displayName: 'Group Translation Activity',
2992
- name: '_groupTranslationActivity',
2993
- values: [
2994
- {
2995
- displayName: 'Name',
2996
- name: 'name',
2997
- type: 'options',
2998
- default: 'group-translation-activity',
2999
- description: 'group-translation-activity',
3000
- required: true,
3001
- options: [
3002
- {
3003
- name: 'group-translation-activity',
3004
- value: 'group-translation-activity'
3005
- }
3006
- ],
3007
- placeholder: 'group-translation-activity'
3008
- },
3009
- {
3010
- displayName: 'Group Translation Activity',
3011
- name: 'schema',
3012
- type: 'fixedCollection',
3013
- default: {},
3014
- description: undefined,
3015
- placeholder: 'Add Field',
3016
- options: [
3017
- {
3018
- displayName: 'Fields',
3019
- name: 'fields',
3020
- values: [
3075
+ placeholder: '2025-09-27T07:00:14+00:00'
3076
+ },
3021
3077
  {
3022
- displayName: 'Unit',
3023
- name: 'unit',
3078
+ displayName: 'Group By',
3079
+ name: 'groupBy',
3024
3080
  type: 'options',
3025
3081
  default: '',
3026
- description: 'Defines report unit',
3082
+ description: 'Defines grouping parameter',
3027
3083
  options: [
3028
3084
  {
3029
3085
  name: '-',
3030
3086
  value: ''
3031
3087
  },
3032
3088
  {
3033
- name: 'strings',
3034
- value: 'strings'
3089
+ name: 'language',
3090
+ value: 'language'
3035
3091
  },
3036
3092
  {
3037
- name: 'words',
3038
- value: 'words'
3093
+ name: 'type',
3094
+ value: 'type'
3039
3095
  },
3040
3096
  {
3041
- name: 'chars',
3042
- value: 'chars'
3097
+ name: 'project',
3098
+ value: 'project'
3099
+ }
3100
+ ],
3101
+ placeholder: 'user'
3102
+ },
3103
+ {
3104
+ displayName: 'Type Tasks',
3105
+ name: 'typeTasks',
3106
+ type: 'options',
3107
+ default: '',
3108
+ description: 'Task type:\n * 0 - translate\n * 1 - proofread\n * 2 - translate by vendor\n * 3 - proofread by vendor',
3109
+ options: [
3110
+ {
3111
+ name: '-',
3112
+ value: ''
3043
3113
  },
3044
3114
  {
3045
- name: 'chars_with_spaces',
3046
- value: 'chars_with_spaces'
3115
+ name: '0',
3116
+ value: 0
3117
+ },
3118
+ {
3119
+ name: '1',
3120
+ value: 1
3121
+ },
3122
+ {
3123
+ name: '2',
3124
+ value: 2
3125
+ },
3126
+ {
3127
+ name: '3',
3128
+ value: 3
3047
3129
  }
3048
- ],
3049
- placeholder: 'words'
3130
+ ]
3050
3131
  },
3051
3132
  {
3052
- displayName: 'Project Ids',
3053
- name: 'projectIds',
3054
- type: 'multiOptions',
3133
+ displayName: 'Language Id',
3134
+ name: 'languageId',
3135
+ type: 'options',
3136
+ default: '',
3137
+ description: 'Language Identifier for which the report should be generated. Get via [List Supported Languages](#operation/api.languages.getMany)',
3055
3138
  typeOptions: {
3056
- loadOptionsMethod: 'getProjectsMulti'
3057
- },
3058
- default: [],
3059
- description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
3139
+ loadOptionsMethod: 'getLanguages'
3140
+ }
3141
+ },
3142
+ {
3143
+ displayName: 'Creator Id',
3144
+ name: 'creatorId',
3145
+ type: 'number',
3146
+ default: 0,
3147
+ description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
3148
+ placeholder: '1'
3149
+ },
3150
+ {
3151
+ displayName: 'Assignee Id',
3152
+ name: 'assigneeId',
3153
+ type: 'number',
3154
+ default: 0,
3155
+ description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
3156
+ placeholder: '1'
3157
+ },
3158
+ {
3159
+ displayName: 'Words Count From',
3160
+ name: 'wordsCountFrom',
3161
+ type: 'number',
3162
+ default: 0,
3163
+ description: undefined,
3164
+ placeholder: '1'
3060
3165
  },
3166
+ {
3167
+ displayName: 'Words Count To',
3168
+ name: 'wordsCountTo',
3169
+ type: 'number',
3170
+ default: 0,
3171
+ description: undefined,
3172
+ placeholder: '1'
3173
+ }
3174
+ ]
3175
+ },
3176
+ {
3177
+ displayName: 'Cost',
3178
+ name: '_groupTaskUsageCostReport',
3179
+ values: [
3061
3180
  {
3062
3181
  displayName: 'Format',
3063
3182
  name: 'format',
@@ -3081,7 +3200,37 @@ exports.reportsProperties = [
3081
3200
  name: 'json',
3082
3201
  value: 'json'
3083
3202
  }
3084
- ]
3203
+ ],
3204
+ required: true
3205
+ },
3206
+ {
3207
+ displayName: 'Type',
3208
+ name: 'type',
3209
+ type: 'options',
3210
+ default: '',
3211
+ description: 'cost',
3212
+ options: [
3213
+ {
3214
+ name: '-',
3215
+ value: ''
3216
+ },
3217
+ {
3218
+ name: 'cost',
3219
+ value: 'cost'
3220
+ }
3221
+ ],
3222
+ placeholder: 'cost',
3223
+ required: true
3224
+ },
3225
+ {
3226
+ displayName: 'Project Ids',
3227
+ name: 'projectIds',
3228
+ type: 'multiOptions',
3229
+ typeOptions: {
3230
+ loadOptionsMethod: 'getProjectsMulti'
3231
+ },
3232
+ default: [],
3233
+ description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
3085
3234
  },
3086
3235
  {
3087
3236
  displayName: 'Date From',
@@ -3089,7 +3238,7 @@ exports.reportsProperties = [
3089
3238
  type: 'dateTime',
3090
3239
  default: '',
3091
3240
  description: 'Report date from in UTC, ISO 8601',
3092
- placeholder: '2019-09-23T07:00:14+00:00'
3241
+ placeholder: '2025-09-25T07:00:14+00:00'
3093
3242
  },
3094
3243
  {
3095
3244
  displayName: 'Date To',
@@ -3097,7 +3246,117 @@ exports.reportsProperties = [
3097
3246
  type: 'dateTime',
3098
3247
  default: '',
3099
3248
  description: 'Report date to in UTC, ISO 8601',
3100
- placeholder: '2019-09-27T07:00:14+00:00'
3249
+ placeholder: '2025-09-27T07:00:14+00:00'
3250
+ },
3251
+ {
3252
+ displayName: 'Group By',
3253
+ name: 'groupBy',
3254
+ type: 'options',
3255
+ default: '',
3256
+ description: 'Defines grouping parameter',
3257
+ options: [
3258
+ {
3259
+ name: '-',
3260
+ value: ''
3261
+ },
3262
+ {
3263
+ name: 'language',
3264
+ value: 'language'
3265
+ },
3266
+ {
3267
+ name: 'type',
3268
+ value: 'type'
3269
+ },
3270
+ {
3271
+ name: 'project',
3272
+ value: 'project'
3273
+ }
3274
+ ],
3275
+ placeholder: 'user'
3276
+ },
3277
+ {
3278
+ displayName: 'Type Tasks',
3279
+ name: 'typeTasks',
3280
+ type: 'options',
3281
+ default: '',
3282
+ description: 'Task type:\n * 0 - translate\n * 1 - proofread\n * 2 - translate by vendor\n * 3 - proofread by vendor',
3283
+ options: [
3284
+ {
3285
+ name: '-',
3286
+ value: ''
3287
+ },
3288
+ {
3289
+ name: '0',
3290
+ value: 0
3291
+ },
3292
+ {
3293
+ name: '1',
3294
+ value: 1
3295
+ },
3296
+ {
3297
+ name: '2',
3298
+ value: 2
3299
+ },
3300
+ {
3301
+ name: '3',
3302
+ value: 3
3303
+ }
3304
+ ]
3305
+ },
3306
+ {
3307
+ displayName: 'Language Id',
3308
+ name: 'languageId',
3309
+ type: 'options',
3310
+ default: '',
3311
+ description: 'Language Identifier for which the report should be generated. Get via [List Supported Languages](#operation/api.languages.getMany)',
3312
+ typeOptions: {
3313
+ loadOptionsMethod: 'getLanguages'
3314
+ }
3315
+ },
3316
+ {
3317
+ displayName: 'Creator Id',
3318
+ name: 'creatorId',
3319
+ type: 'number',
3320
+ default: 0,
3321
+ description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
3322
+ placeholder: '1'
3323
+ },
3324
+ {
3325
+ displayName: 'Assignee Id',
3326
+ name: 'assigneeId',
3327
+ type: 'number',
3328
+ default: 0,
3329
+ description: 'User Identifier for which the report should be generated. Get via [List Project Members](#operation/api.projects.members.getMany)',
3330
+ placeholder: '1'
3331
+ },
3332
+ {
3333
+ displayName: 'Statuses',
3334
+ name: 'statuses',
3335
+ type: 'multiOptions',
3336
+ default: [],
3337
+ description: 'Task statuses to filter by',
3338
+ options: [
3339
+ {
3340
+ name: 'todo',
3341
+ value: 'todo'
3342
+ },
3343
+ {
3344
+ name: 'in_progress',
3345
+ value: 'in_progress'
3346
+ },
3347
+ {
3348
+ name: 'done',
3349
+ value: 'done'
3350
+ },
3351
+ {
3352
+ name: 'closed',
3353
+ value: 'closed'
3354
+ },
3355
+ {
3356
+ name: 'review',
3357
+ value: 'review'
3358
+ }
3359
+ ]
3101
3360
  }
3102
3361
  ]
3103
3362
  }
@@ -3107,26 +3366,26 @@ exports.reportsProperties = [
3107
3366
  ]
3108
3367
  },
3109
3368
  {
3110
- displayName: 'Group Source Content Updates',
3111
- name: '_groupSourceContentUpdates',
3369
+ displayName: 'Group Qa Check Isses Report',
3370
+ name: '_groupQaCheckIssesReport',
3112
3371
  values: [
3113
3372
  {
3114
3373
  displayName: 'Name',
3115
3374
  name: 'name',
3116
3375
  type: 'options',
3117
- default: 'group-source-content-updates',
3118
- description: 'group-source-content-updates',
3376
+ default: 'group-qa-check-issues',
3377
+ description: 'group-qa-check-issues',
3119
3378
  required: true,
3120
3379
  options: [
3121
3380
  {
3122
- name: 'group-source-content-updates',
3123
- value: 'group-source-content-updates'
3381
+ name: 'group-qa-check-issues',
3382
+ value: 'group-qa-check-issues'
3124
3383
  }
3125
3384
  ],
3126
- placeholder: 'group-source-content-updates'
3385
+ placeholder: 'group-qa-check-issues'
3127
3386
  },
3128
3387
  {
3129
- displayName: 'Group Source Content Updates',
3388
+ displayName: 'Group Qa Check Issues Report',
3130
3389
  name: 'schema',
3131
3390
  type: 'fixedCollection',
3132
3391
  default: {},
@@ -3138,34 +3397,14 @@ exports.reportsProperties = [
3138
3397
  name: 'fields',
3139
3398
  values: [
3140
3399
  {
3141
- displayName: 'Unit',
3142
- name: 'unit',
3143
- type: 'options',
3144
- default: '',
3145
- description: 'Defines report unit',
3146
- options: [
3147
- {
3148
- name: '-',
3149
- value: ''
3150
- },
3151
- {
3152
- name: 'strings',
3153
- value: 'strings'
3154
- },
3155
- {
3156
- name: 'words',
3157
- value: 'words'
3158
- },
3159
- {
3160
- name: 'chars',
3161
- value: 'chars'
3162
- },
3163
- {
3164
- name: 'chars_with_spaces',
3165
- value: 'chars_with_spaces'
3166
- }
3167
- ],
3168
- placeholder: 'words'
3400
+ displayName: 'Project Ids',
3401
+ name: 'projectIds',
3402
+ type: 'multiOptions',
3403
+ typeOptions: {
3404
+ loadOptionsMethod: 'getProjectsMulti'
3405
+ },
3406
+ default: [],
3407
+ description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
3169
3408
  },
3170
3409
  {
3171
3410
  displayName: 'Format',
@@ -3192,23 +3431,13 @@ exports.reportsProperties = [
3192
3431
  }
3193
3432
  ]
3194
3433
  },
3195
- {
3196
- displayName: 'Project Ids',
3197
- name: 'projectIds',
3198
- type: 'multiOptions',
3199
- typeOptions: {
3200
- loadOptionsMethod: 'getProjectsMulti'
3201
- },
3202
- default: [],
3203
- description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
3204
- },
3205
3434
  {
3206
3435
  displayName: 'Date From',
3207
3436
  name: 'dateTime:dateFrom',
3208
3437
  type: 'dateTime',
3209
3438
  default: '',
3210
3439
  description: 'Report date from in UTC, ISO 8601',
3211
- placeholder: '2025-09-23T07:00:14+00:00'
3440
+ placeholder: '2025-05-23T07:00:14+00:00'
3212
3441
  },
3213
3442
  {
3214
3443
  displayName: 'Date To',
@@ -3216,7 +3445,7 @@ exports.reportsProperties = [
3216
3445
  type: 'dateTime',
3217
3446
  default: '',
3218
3447
  description: 'Report date to in UTC, ISO 8601',
3219
- placeholder: '2025-09-27T07:00:14+00:00'
3448
+ placeholder: '2025-05-27T07:00:14+00:00'
3220
3449
  }
3221
3450
  ]
3222
3451
  }
@@ -3226,26 +3455,26 @@ exports.reportsProperties = [
3226
3455
  ]
3227
3456
  },
3228
3457
  {
3229
- displayName: 'Group Time Spent',
3230
- name: '_groupTimeSpent',
3458
+ displayName: 'Group Translation Activity',
3459
+ name: '_groupTranslationActivity',
3231
3460
  values: [
3232
3461
  {
3233
3462
  displayName: 'Name',
3234
3463
  name: 'name',
3235
3464
  type: 'options',
3236
- default: 'group-time-spent',
3237
- description: 'group-time-spent',
3465
+ default: 'group-translation-activity',
3466
+ description: 'group-translation-activity',
3238
3467
  required: true,
3239
3468
  options: [
3240
3469
  {
3241
- name: 'group-time-spent',
3242
- value: 'group-time-spent'
3470
+ name: 'group-translation-activity',
3471
+ value: 'group-translation-activity'
3243
3472
  }
3244
3473
  ],
3245
- placeholder: 'group-time-spent'
3474
+ placeholder: 'group-translation-activity'
3246
3475
  },
3247
3476
  {
3248
- displayName: 'Group Time Spent',
3477
+ displayName: 'Group Translation Activity',
3249
3478
  name: 'schema',
3250
3479
  type: 'fixedCollection',
3251
3480
  default: {},
@@ -3257,34 +3486,272 @@ exports.reportsProperties = [
3257
3486
  name: 'fields',
3258
3487
  values: [
3259
3488
  {
3260
- displayName: 'Format',
3261
- name: 'format',
3489
+ displayName: 'Unit',
3490
+ name: 'unit',
3262
3491
  type: 'options',
3263
3492
  default: '',
3264
- description: 'Defines export file format',
3493
+ description: 'Defines report unit',
3265
3494
  options: [
3266
3495
  {
3267
3496
  name: '-',
3268
3497
  value: ''
3269
3498
  },
3270
3499
  {
3271
- name: 'xlsx',
3272
- value: 'xlsx'
3500
+ name: 'strings',
3501
+ value: 'strings'
3273
3502
  },
3274
3503
  {
3275
- name: 'csv',
3276
- value: 'csv'
3504
+ name: 'words',
3505
+ value: 'words'
3277
3506
  },
3278
3507
  {
3279
- name: 'json',
3280
- value: 'json'
3508
+ name: 'chars',
3509
+ value: 'chars'
3510
+ },
3511
+ {
3512
+ name: 'chars_with_spaces',
3513
+ value: 'chars_with_spaces'
3281
3514
  }
3282
- ]
3515
+ ],
3516
+ placeholder: 'words'
3283
3517
  },
3284
3518
  {
3285
- displayName: 'Group By',
3286
- name: 'groupBy',
3287
- type: 'options',
3519
+ displayName: 'Project Ids',
3520
+ name: 'projectIds',
3521
+ type: 'multiOptions',
3522
+ typeOptions: {
3523
+ loadOptionsMethod: 'getProjectsMulti'
3524
+ },
3525
+ default: [],
3526
+ description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
3527
+ },
3528
+ {
3529
+ displayName: 'Format',
3530
+ name: 'format',
3531
+ type: 'options',
3532
+ default: '',
3533
+ description: 'Defines export file format',
3534
+ options: [
3535
+ {
3536
+ name: '-',
3537
+ value: ''
3538
+ },
3539
+ {
3540
+ name: 'xlsx',
3541
+ value: 'xlsx'
3542
+ },
3543
+ {
3544
+ name: 'csv',
3545
+ value: 'csv'
3546
+ },
3547
+ {
3548
+ name: 'json',
3549
+ value: 'json'
3550
+ }
3551
+ ]
3552
+ },
3553
+ {
3554
+ displayName: 'Date From',
3555
+ name: 'dateTime:dateFrom',
3556
+ type: 'dateTime',
3557
+ default: '',
3558
+ description: 'Report date from in UTC, ISO 8601',
3559
+ placeholder: '2019-09-23T07:00:14+00:00'
3560
+ },
3561
+ {
3562
+ displayName: 'Date To',
3563
+ name: 'dateTime:dateTo',
3564
+ type: 'dateTime',
3565
+ default: '',
3566
+ description: 'Report date to in UTC, ISO 8601',
3567
+ placeholder: '2019-09-27T07:00:14+00:00'
3568
+ }
3569
+ ]
3570
+ }
3571
+ ],
3572
+ required: true
3573
+ }
3574
+ ]
3575
+ },
3576
+ {
3577
+ displayName: 'Group Source Content Updates',
3578
+ name: '_groupSourceContentUpdates',
3579
+ values: [
3580
+ {
3581
+ displayName: 'Name',
3582
+ name: 'name',
3583
+ type: 'options',
3584
+ default: 'group-source-content-updates',
3585
+ description: 'group-source-content-updates',
3586
+ required: true,
3587
+ options: [
3588
+ {
3589
+ name: 'group-source-content-updates',
3590
+ value: 'group-source-content-updates'
3591
+ }
3592
+ ],
3593
+ placeholder: 'group-source-content-updates'
3594
+ },
3595
+ {
3596
+ displayName: 'Group Source Content Updates',
3597
+ name: 'schema',
3598
+ type: 'fixedCollection',
3599
+ default: {},
3600
+ description: undefined,
3601
+ placeholder: 'Add Field',
3602
+ options: [
3603
+ {
3604
+ displayName: 'Fields',
3605
+ name: 'fields',
3606
+ values: [
3607
+ {
3608
+ displayName: 'Unit',
3609
+ name: 'unit',
3610
+ type: 'options',
3611
+ default: '',
3612
+ description: 'Defines report unit',
3613
+ options: [
3614
+ {
3615
+ name: '-',
3616
+ value: ''
3617
+ },
3618
+ {
3619
+ name: 'strings',
3620
+ value: 'strings'
3621
+ },
3622
+ {
3623
+ name: 'words',
3624
+ value: 'words'
3625
+ },
3626
+ {
3627
+ name: 'chars',
3628
+ value: 'chars'
3629
+ },
3630
+ {
3631
+ name: 'chars_with_spaces',
3632
+ value: 'chars_with_spaces'
3633
+ }
3634
+ ],
3635
+ placeholder: 'words'
3636
+ },
3637
+ {
3638
+ displayName: 'Format',
3639
+ name: 'format',
3640
+ type: 'options',
3641
+ default: '',
3642
+ description: 'Defines export file format',
3643
+ options: [
3644
+ {
3645
+ name: '-',
3646
+ value: ''
3647
+ },
3648
+ {
3649
+ name: 'xlsx',
3650
+ value: 'xlsx'
3651
+ },
3652
+ {
3653
+ name: 'csv',
3654
+ value: 'csv'
3655
+ },
3656
+ {
3657
+ name: 'json',
3658
+ value: 'json'
3659
+ }
3660
+ ]
3661
+ },
3662
+ {
3663
+ displayName: 'Project Ids',
3664
+ name: 'projectIds',
3665
+ type: 'multiOptions',
3666
+ typeOptions: {
3667
+ loadOptionsMethod: 'getProjectsMulti'
3668
+ },
3669
+ default: [],
3670
+ description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
3671
+ },
3672
+ {
3673
+ displayName: 'Date From',
3674
+ name: 'dateTime:dateFrom',
3675
+ type: 'dateTime',
3676
+ default: '',
3677
+ description: 'Report date from in UTC, ISO 8601',
3678
+ placeholder: '2025-09-23T07:00:14+00:00'
3679
+ },
3680
+ {
3681
+ displayName: 'Date To',
3682
+ name: 'dateTime:dateTo',
3683
+ type: 'dateTime',
3684
+ default: '',
3685
+ description: 'Report date to in UTC, ISO 8601',
3686
+ placeholder: '2025-09-27T07:00:14+00:00'
3687
+ }
3688
+ ]
3689
+ }
3690
+ ],
3691
+ required: true
3692
+ }
3693
+ ]
3694
+ },
3695
+ {
3696
+ displayName: 'Group Time Spent',
3697
+ name: '_groupTimeSpent',
3698
+ values: [
3699
+ {
3700
+ displayName: 'Name',
3701
+ name: 'name',
3702
+ type: 'options',
3703
+ default: 'group-time-spent',
3704
+ description: 'group-time-spent',
3705
+ required: true,
3706
+ options: [
3707
+ {
3708
+ name: 'group-time-spent',
3709
+ value: 'group-time-spent'
3710
+ }
3711
+ ],
3712
+ placeholder: 'group-time-spent'
3713
+ },
3714
+ {
3715
+ displayName: 'Group Time Spent',
3716
+ name: 'schema',
3717
+ type: 'fixedCollection',
3718
+ default: {},
3719
+ description: undefined,
3720
+ placeholder: 'Add Field',
3721
+ options: [
3722
+ {
3723
+ displayName: 'Fields',
3724
+ name: 'fields',
3725
+ values: [
3726
+ {
3727
+ displayName: 'Format',
3728
+ name: 'format',
3729
+ type: 'options',
3730
+ default: '',
3731
+ description: 'Defines export file format',
3732
+ options: [
3733
+ {
3734
+ name: '-',
3735
+ value: ''
3736
+ },
3737
+ {
3738
+ name: 'xlsx',
3739
+ value: 'xlsx'
3740
+ },
3741
+ {
3742
+ name: 'csv',
3743
+ value: 'csv'
3744
+ },
3745
+ {
3746
+ name: 'json',
3747
+ value: 'json'
3748
+ }
3749
+ ]
3750
+ },
3751
+ {
3752
+ displayName: 'Group By',
3753
+ name: 'groupBy',
3754
+ type: 'options',
3288
3755
  default: '',
3289
3756
  description: 'Defines grouping parameter',
3290
3757
  options: [
@@ -3460,6 +3927,19 @@ exports.reportsProperties = [
3460
3927
  default: [],
3461
3928
  description: 'Project Identifier for which the report should be generated. Get via [List Projects](#operation/api.projects.getMany)'
3462
3929
  },
3930
+ {
3931
+ displayName: 'Task Ids',
3932
+ name: 'taskIds',
3933
+ type: 'multiOptions',
3934
+ typeOptions: {
3935
+ loadOptionsMethod: 'getProjectTasksMulti',
3936
+ loadOptionsDependsOn: [
3937
+ 'projectId'
3938
+ ]
3939
+ },
3940
+ default: [],
3941
+ description: 'Array of task ids. Get via [List Tasks](#operation/api.projects.tasks.getMany)'
3942
+ },
3463
3943
  {
3464
3944
  displayName: 'Skip Archiving',
3465
3945
  name: 'skipArchiving',
@@ -3494,16 +3974,15 @@ exports.reportsProperties = [
3494
3974
  placeholder: 'group-pre-translate-accuracy'
3495
3975
  },
3496
3976
  {
3497
- displayName: 'General',
3977
+ displayName: 'Schema',
3498
3978
  name: 'schema',
3499
3979
  type: 'fixedCollection',
3500
3980
  default: {},
3501
- description: undefined,
3502
- placeholder: 'Add Field',
3981
+ description: 'Group Pre-translation Accuracy Report schema',
3503
3982
  options: [
3504
3983
  {
3505
- displayName: 'Fields',
3506
- name: 'fields',
3984
+ displayName: 'General',
3985
+ name: '_groupPreTranslateAccuracyReportGeneral',
3507
3986
  values: [
3508
3987
  {
3509
3988
  displayName: 'Unit',
@@ -3630,6 +4109,113 @@ exports.reportsProperties = [
3630
4109
  description: 'If true, the report will not be saved to the archive for historical reference.'
3631
4110
  }
3632
4111
  ]
4112
+ },
4113
+ {
4114
+ displayName: 'By Task',
4115
+ name: '_groupPreTranslateAccuracyReportByTask',
4116
+ values: [
4117
+ {
4118
+ displayName: 'Unit',
4119
+ name: 'unit',
4120
+ type: 'options',
4121
+ default: '',
4122
+ description: 'Defines report unit',
4123
+ options: [
4124
+ {
4125
+ name: '-',
4126
+ value: ''
4127
+ },
4128
+ {
4129
+ name: 'strings',
4130
+ value: 'strings'
4131
+ },
4132
+ {
4133
+ name: 'words',
4134
+ value: 'words'
4135
+ },
4136
+ {
4137
+ name: 'chars',
4138
+ value: 'chars'
4139
+ },
4140
+ {
4141
+ name: 'chars_with_spaces',
4142
+ value: 'chars_with_spaces'
4143
+ }
4144
+ ],
4145
+ placeholder: 'words'
4146
+ },
4147
+ {
4148
+ displayName: 'Format',
4149
+ name: 'format',
4150
+ type: 'options',
4151
+ default: '',
4152
+ description: 'Defines export file format',
4153
+ options: [
4154
+ {
4155
+ name: '-',
4156
+ value: ''
4157
+ },
4158
+ {
4159
+ name: 'xlsx',
4160
+ value: 'xlsx'
4161
+ },
4162
+ {
4163
+ name: 'csv',
4164
+ value: 'csv'
4165
+ },
4166
+ {
4167
+ name: 'json',
4168
+ value: 'json'
4169
+ }
4170
+ ]
4171
+ },
4172
+ {
4173
+ displayName: 'Match Score Categories',
4174
+ name: 'matchScoreCategories',
4175
+ type: 'fixedCollection',
4176
+ typeOptions: {
4177
+ multipleValues: true
4178
+ },
4179
+ default: {},
4180
+ description: 'Split into categories by match score. Ranges should be in descending order (e.g., 100-90, 89-80)',
4181
+ placeholder: 'Add Item',
4182
+ options: [
4183
+ {
4184
+ displayName: 'Items',
4185
+ name: 'items',
4186
+ values: [
4187
+ {
4188
+ displayName: 'Value',
4189
+ name: '_value',
4190
+ type: 'string',
4191
+ default: '',
4192
+ description: undefined
4193
+ }
4194
+ ]
4195
+ }
4196
+ ]
4197
+ },
4198
+ {
4199
+ displayName: 'Task Ids',
4200
+ name: 'taskIds',
4201
+ type: 'multiOptions',
4202
+ typeOptions: {
4203
+ loadOptionsMethod: 'getProjectTasksMulti',
4204
+ loadOptionsDependsOn: [
4205
+ 'projectId'
4206
+ ]
4207
+ },
4208
+ default: [],
4209
+ description: 'Array of task ids. Get via [List Tasks](#operation/api.projects.tasks.getMany)'
4210
+ },
4211
+ {
4212
+ displayName: 'Skip Archiving',
4213
+ name: 'skipArchiving',
4214
+ type: 'boolean',
4215
+ default: false,
4216
+ description: 'If true, the report will not be saved to the archive for historical reference.'
4217
+ }
4218
+ ]
3633
4219
  }
3634
4220
  ],
3635
4221
  required: true
@@ -4151,12 +4737,496 @@ exports.reportsProperties = [
4151
4737
  operation: [
4152
4738
  'api.reports.settings-templates.post'
4153
4739
  ]
4154
- }
4155
- },
4156
- options: [
4740
+ }
4741
+ },
4742
+ options: [
4743
+ {
4744
+ displayName: 'Report settings template for post-editing',
4745
+ name: '_reportSettingsTemplateForPostEditing',
4746
+ values: [
4747
+ {
4748
+ displayName: 'Project Id',
4749
+ name: 'projectId',
4750
+ type: 'options',
4751
+ default: '',
4752
+ description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
4753
+ typeOptions: {
4754
+ loadOptionsMethod: 'getProjects'
4755
+ }
4756
+ },
4757
+ {
4758
+ displayName: 'Group Id',
4759
+ name: 'groupId',
4760
+ type: 'options',
4761
+ default: '',
4762
+ description: 'Group Identifier. Get via [List Groups](#operation/api.groups.getMany)',
4763
+ typeOptions: {
4764
+ loadOptionsMethod: 'getGroups'
4765
+ }
4766
+ },
4767
+ {
4768
+ displayName: 'Name',
4769
+ name: 'name',
4770
+ type: 'string',
4771
+ default: '',
4772
+ description: 'Template name',
4773
+ required: true,
4774
+ placeholder: 'Default template'
4775
+ },
4776
+ {
4777
+ displayName: 'Currency',
4778
+ name: 'currency',
4779
+ type: 'options',
4780
+ default: 'USD',
4781
+ description: 'Defines report currency',
4782
+ required: true,
4783
+ options: [
4784
+ {
4785
+ name: 'USD',
4786
+ value: 'USD'
4787
+ },
4788
+ {
4789
+ name: 'EUR',
4790
+ value: 'EUR'
4791
+ },
4792
+ {
4793
+ name: 'JPY',
4794
+ value: 'JPY'
4795
+ },
4796
+ {
4797
+ name: 'GBP',
4798
+ value: 'GBP'
4799
+ },
4800
+ {
4801
+ name: 'AUD',
4802
+ value: 'AUD'
4803
+ },
4804
+ {
4805
+ name: 'CAD',
4806
+ value: 'CAD'
4807
+ },
4808
+ {
4809
+ name: 'CHF',
4810
+ value: 'CHF'
4811
+ },
4812
+ {
4813
+ name: 'CNY',
4814
+ value: 'CNY'
4815
+ },
4816
+ {
4817
+ name: 'SEK',
4818
+ value: 'SEK'
4819
+ },
4820
+ {
4821
+ name: 'NZD',
4822
+ value: 'NZD'
4823
+ },
4824
+ {
4825
+ name: 'MXN',
4826
+ value: 'MXN'
4827
+ },
4828
+ {
4829
+ name: 'SGD',
4830
+ value: 'SGD'
4831
+ },
4832
+ {
4833
+ name: 'HKD',
4834
+ value: 'HKD'
4835
+ },
4836
+ {
4837
+ name: 'NOK',
4838
+ value: 'NOK'
4839
+ },
4840
+ {
4841
+ name: 'KRW',
4842
+ value: 'KRW'
4843
+ },
4844
+ {
4845
+ name: 'TRY',
4846
+ value: 'TRY'
4847
+ },
4848
+ {
4849
+ name: 'RUB',
4850
+ value: 'RUB'
4851
+ },
4852
+ {
4853
+ name: 'INR',
4854
+ value: 'INR'
4855
+ },
4856
+ {
4857
+ name: 'BRL',
4858
+ value: 'BRL'
4859
+ },
4860
+ {
4861
+ name: 'ZAR',
4862
+ value: 'ZAR'
4863
+ },
4864
+ {
4865
+ name: 'GEL',
4866
+ value: 'GEL'
4867
+ },
4868
+ {
4869
+ name: 'UAH',
4870
+ value: 'UAH'
4871
+ },
4872
+ {
4873
+ name: 'DDK',
4874
+ value: 'DDK'
4875
+ },
4876
+ {
4877
+ name: 'PLN',
4878
+ value: 'PLN'
4879
+ }
4880
+ ],
4881
+ placeholder: 'USD'
4882
+ },
4883
+ {
4884
+ displayName: 'Unit',
4885
+ name: 'unit',
4886
+ type: 'options',
4887
+ default: 'strings',
4888
+ description: 'Defines report unit',
4889
+ required: true,
4890
+ options: [
4891
+ {
4892
+ name: 'strings',
4893
+ value: 'strings'
4894
+ },
4895
+ {
4896
+ name: 'words',
4897
+ value: 'words'
4898
+ },
4899
+ {
4900
+ name: 'chars',
4901
+ value: 'chars'
4902
+ },
4903
+ {
4904
+ name: 'chars_with_spaces',
4905
+ value: 'chars_with_spaces'
4906
+ }
4907
+ ],
4908
+ placeholder: 'words'
4909
+ },
4910
+ {
4911
+ displayName: 'Config',
4912
+ name: 'config',
4913
+ type: 'fixedCollection',
4914
+ default: {},
4915
+ description: 'Defines report config',
4916
+ placeholder: 'Add Field',
4917
+ options: [
4918
+ {
4919
+ displayName: 'Fields',
4920
+ name: 'fields',
4921
+ values: [
4922
+ {
4923
+ displayName: 'Base Rates',
4924
+ name: 'baseRates',
4925
+ type: 'fixedCollection',
4926
+ default: {},
4927
+ placeholder: 'Add Field',
4928
+ options: [
4929
+ {
4930
+ displayName: 'Fields',
4931
+ name: 'fields',
4932
+ values: [
4933
+ {
4934
+ displayName: 'Full Translation',
4935
+ name: 'fullTranslation',
4936
+ type: 'number',
4937
+ default: undefined,
4938
+ description: 'Applies to all languages by default',
4939
+ placeholder: '0.1',
4940
+ required: true
4941
+ },
4942
+ {
4943
+ displayName: 'Proofread',
4944
+ name: 'proofread',
4945
+ type: 'number',
4946
+ default: undefined,
4947
+ description: undefined,
4948
+ placeholder: '0.12',
4949
+ required: true
4950
+ }
4951
+ ]
4952
+ }
4953
+ ],
4954
+ required: true
4955
+ },
4956
+ {
4957
+ displayName: 'Individual Rates',
4958
+ name: 'individualRates',
4959
+ type: 'fixedCollection',
4960
+ typeOptions: {
4961
+ multipleValues: true
4962
+ },
4963
+ default: {},
4964
+ description: 'Individual rates (Custom rates for certain languages or users)',
4965
+ placeholder: 'Add Item',
4966
+ options: [
4967
+ {
4968
+ displayName: 'Item',
4969
+ name: 'items',
4970
+ values: [
4971
+ {
4972
+ displayName: 'Language Ids',
4973
+ name: 'languageIds',
4974
+ type: 'multiOptions',
4975
+ typeOptions: {
4976
+ loadOptionsMethod: 'getLanguagesMulti'
4977
+ },
4978
+ default: [],
4979
+ description: 'Array of language ids',
4980
+ required: true
4981
+ },
4982
+ {
4983
+ displayName: 'User Ids',
4984
+ name: 'userIds',
4985
+ type: 'multiOptions',
4986
+ typeOptions: {
4987
+ loadOptionsMethod: 'getUsersMulti'
4988
+ },
4989
+ default: [],
4990
+ description: 'Array of user ids',
4991
+ required: true
4992
+ },
4993
+ {
4994
+ displayName: 'Full Translation',
4995
+ name: 'fullTranslation',
4996
+ type: 'number',
4997
+ default: undefined,
4998
+ description: undefined,
4999
+ placeholder: '0.1',
5000
+ required: true
5001
+ },
5002
+ {
5003
+ displayName: 'Proofread',
5004
+ name: 'proofread',
5005
+ type: 'number',
5006
+ default: undefined,
5007
+ description: undefined,
5008
+ placeholder: '0.12',
5009
+ required: true
5010
+ }
5011
+ ]
5012
+ }
5013
+ ],
5014
+ required: true
5015
+ },
5016
+ {
5017
+ displayName: 'Net Rate Schemes',
5018
+ name: 'netRateSchemes',
5019
+ type: 'fixedCollection',
5020
+ default: {},
5021
+ description: 'Net Rate Schemes (Percentage paid of full translation rate)\n\n__Note:__ A new translation will be included in the report at the lowest rate if multiple scheme categories can be applied to the translation',
5022
+ placeholder: 'Add Field',
5023
+ options: [
5024
+ {
5025
+ displayName: 'Fields',
5026
+ name: 'fields',
5027
+ values: [
5028
+ {
5029
+ displayName: 'Tm Match',
5030
+ name: 'tmMatch',
5031
+ type: 'fixedCollection',
5032
+ typeOptions: {
5033
+ multipleValues: true
5034
+ },
5035
+ default: {},
5036
+ description: undefined,
5037
+ placeholder: 'Add Item',
5038
+ options: [
5039
+ {
5040
+ displayName: 'Item',
5041
+ name: 'items',
5042
+ values: [
5043
+ {
5044
+ displayName: 'Match Type',
5045
+ name: 'matchType',
5046
+ type: 'string',
5047
+ default: '',
5048
+ description: 'Match type, %. Possible values: `perfect`, `100`, or a percentage range (e.g., `99-82`, `81-60`)',
5049
+ placeholder: '100-82',
5050
+ required: true
5051
+ },
5052
+ {
5053
+ displayName: 'Price',
5054
+ name: 'price',
5055
+ type: 'number',
5056
+ default: undefined,
5057
+ description: 'Price, %',
5058
+ placeholder: '0.1',
5059
+ required: true
5060
+ }
5061
+ ]
5062
+ }
5063
+ ],
5064
+ required: true
5065
+ },
5066
+ {
5067
+ displayName: 'Mt Match',
5068
+ name: 'mtMatch',
5069
+ type: 'fixedCollection',
5070
+ typeOptions: {
5071
+ multipleValues: true
5072
+ },
5073
+ default: {},
5074
+ description: undefined,
5075
+ placeholder: 'Add Item',
5076
+ options: [
5077
+ {
5078
+ displayName: 'Item',
5079
+ name: 'items',
5080
+ values: [
5081
+ {
5082
+ displayName: 'Match Type',
5083
+ name: 'matchType',
5084
+ type: 'string',
5085
+ default: '',
5086
+ description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
5087
+ placeholder: '100',
5088
+ required: true
5089
+ },
5090
+ {
5091
+ displayName: 'Price',
5092
+ name: 'price',
5093
+ type: 'number',
5094
+ default: undefined,
5095
+ description: 'Price, %',
5096
+ placeholder: '0.1',
5097
+ required: true
5098
+ }
5099
+ ]
5100
+ }
5101
+ ],
5102
+ required: true
5103
+ },
5104
+ {
5105
+ displayName: 'Ai Match',
5106
+ name: 'aiMatch',
5107
+ type: 'fixedCollection',
5108
+ typeOptions: {
5109
+ multipleValues: true
5110
+ },
5111
+ default: {},
5112
+ description: '\n\n __Note:__ The `aiMatch` field is optional. If this field is not filled in, the schema will be taken from the `mtMatch` field.',
5113
+ placeholder: 'Add Item',
5114
+ options: [
5115
+ {
5116
+ displayName: 'Item',
5117
+ name: 'items',
5118
+ values: [
5119
+ {
5120
+ displayName: 'Match Type',
5121
+ name: 'matchType',
5122
+ type: 'string',
5123
+ default: '',
5124
+ description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
5125
+ placeholder: '100-74',
5126
+ required: true
5127
+ },
5128
+ {
5129
+ displayName: 'Price',
5130
+ name: 'price',
5131
+ type: 'number',
5132
+ default: undefined,
5133
+ description: 'Price, %',
5134
+ placeholder: '0.1',
5135
+ required: true
5136
+ }
5137
+ ]
5138
+ }
5139
+ ]
5140
+ },
5141
+ {
5142
+ displayName: 'Suggestion Match',
5143
+ name: 'suggestionMatch',
5144
+ type: 'fixedCollection',
5145
+ typeOptions: {
5146
+ multipleValues: true
5147
+ },
5148
+ default: {},
5149
+ description: undefined,
5150
+ placeholder: 'Add Item',
5151
+ options: [
5152
+ {
5153
+ displayName: 'Item',
5154
+ name: 'items',
5155
+ values: [
5156
+ {
5157
+ displayName: 'Match Type',
5158
+ name: 'matchType',
5159
+ type: 'string',
5160
+ default: '',
5161
+ description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
5162
+ placeholder: '100',
5163
+ required: true
5164
+ },
5165
+ {
5166
+ displayName: 'Price',
5167
+ name: 'price',
5168
+ type: 'number',
5169
+ default: undefined,
5170
+ description: 'Price, %',
5171
+ placeholder: '0.1',
5172
+ required: true
5173
+ }
5174
+ ]
5175
+ }
5176
+ ],
5177
+ required: true
5178
+ }
5179
+ ]
5180
+ }
5181
+ ],
5182
+ required: true
5183
+ },
5184
+ {
5185
+ displayName: 'Calculate Internal Matches',
5186
+ name: 'calculateInternalMatches',
5187
+ type: 'boolean',
5188
+ default: false,
5189
+ description: undefined
5190
+ },
5191
+ {
5192
+ displayName: 'Include Pre Translated Strings',
5193
+ name: 'includePreTranslatedStrings',
5194
+ type: 'boolean',
5195
+ default: false,
5196
+ description: undefined
5197
+ },
5198
+ {
5199
+ displayName: 'Exclude Approvals For Edited Translations',
5200
+ name: 'excludeApprovalsForEditedTranslations',
5201
+ type: 'boolean',
5202
+ default: false,
5203
+ description: 'Exclude approvals when the same user has made translations for the string.'
5204
+ },
5205
+ {
5206
+ displayName: 'Pre Translated Strings Categorization Adjustment',
5207
+ name: 'preTranslatedStringsCategorizationAdjustment',
5208
+ type: 'boolean',
5209
+ default: false,
5210
+ description: 'Repetitive translations of pre-translated strings are reported under TM or MT match rates instead of Other suggestion match rates, depending on the initial pre-translation type.'
5211
+ }
5212
+ ]
5213
+ }
5214
+ ],
5215
+ required: true
5216
+ },
5217
+ {
5218
+ displayName: 'Is Public',
5219
+ name: 'isPublic',
5220
+ type: 'boolean',
5221
+ default: false,
5222
+ description: 'Defines report public',
5223
+ placeholder: 'true'
5224
+ }
5225
+ ]
5226
+ },
4157
5227
  {
4158
- displayName: 'Report settings template for post-editing',
4159
- name: '_reportSettingsTemplateForPostEditing',
5228
+ displayName: 'Report settings template for hourly',
5229
+ name: '_reportSettingsTemplateForHourly',
4160
5230
  values: [
4161
5231
  {
4162
5232
  displayName: 'Project Id',
@@ -4298,28 +5368,16 @@ exports.reportsProperties = [
4298
5368
  displayName: 'Unit',
4299
5369
  name: 'unit',
4300
5370
  type: 'options',
4301
- default: 'strings',
5371
+ default: 'hours',
4302
5372
  description: 'Defines report unit',
4303
5373
  required: true,
4304
5374
  options: [
4305
5375
  {
4306
- name: 'strings',
4307
- value: 'strings'
4308
- },
4309
- {
4310
- name: 'words',
4311
- value: 'words'
4312
- },
4313
- {
4314
- name: 'chars',
4315
- value: 'chars'
4316
- },
4317
- {
4318
- name: 'chars_with_spaces',
4319
- value: 'chars_with_spaces'
5376
+ name: 'hours',
5377
+ value: 'hours'
4320
5378
  }
4321
5379
  ],
4322
- placeholder: 'words'
5380
+ placeholder: 'hours'
4323
5381
  },
4324
5382
  {
4325
5383
  displayName: 'Config',
@@ -4339,289 +5397,75 @@ exports.reportsProperties = [
4339
5397
  type: 'fixedCollection',
4340
5398
  default: {},
4341
5399
  placeholder: 'Add Field',
4342
- options: [
4343
- {
4344
- displayName: 'Fields',
4345
- name: 'fields',
4346
- values: [
4347
- {
4348
- displayName: 'Full Translation',
4349
- name: 'fullTranslation',
4350
- type: 'number',
4351
- default: undefined,
4352
- description: 'Applies to all languages by default',
4353
- placeholder: '0.1',
4354
- required: true
4355
- },
4356
- {
4357
- displayName: 'Proofread',
4358
- name: 'proofread',
4359
- type: 'number',
4360
- default: undefined,
4361
- description: undefined,
4362
- placeholder: '0.12',
4363
- required: true
4364
- }
4365
- ]
4366
- }
4367
- ],
4368
- required: true
4369
- },
4370
- {
4371
- displayName: 'Individual Rates',
4372
- name: 'individualRates',
4373
- type: 'fixedCollection',
4374
- typeOptions: {
4375
- multipleValues: true
4376
- },
4377
- default: {},
4378
- description: 'Individual rates (Custom rates for certain languages or users)',
4379
- placeholder: 'Add Item',
4380
- options: [
4381
- {
4382
- displayName: 'Item',
4383
- name: 'items',
4384
- values: [
4385
- {
4386
- displayName: 'Language Ids',
4387
- name: 'languageIds',
4388
- type: 'multiOptions',
4389
- typeOptions: {
4390
- loadOptionsMethod: 'getLanguagesMulti'
4391
- },
4392
- default: [],
4393
- description: 'Array of language ids',
4394
- required: true
4395
- },
4396
- {
4397
- displayName: 'User Ids',
4398
- name: 'userIds',
4399
- type: 'multiOptions',
4400
- typeOptions: {
4401
- loadOptionsMethod: 'getUsersMulti'
4402
- },
4403
- default: [],
4404
- description: 'Array of user ids',
4405
- required: true
4406
- },
4407
- {
4408
- displayName: 'Full Translation',
4409
- name: 'fullTranslation',
4410
- type: 'number',
4411
- default: undefined,
4412
- description: undefined,
4413
- placeholder: '0.1',
4414
- required: true
4415
- },
4416
- {
4417
- displayName: 'Proofread',
4418
- name: 'proofread',
4419
- type: 'number',
4420
- default: undefined,
4421
- description: undefined,
4422
- placeholder: '0.12',
4423
- required: true
4424
- }
4425
- ]
4426
- }
4427
- ],
4428
- required: true
4429
- },
4430
- {
4431
- displayName: 'Net Rate Schemes',
4432
- name: 'netRateSchemes',
4433
- type: 'fixedCollection',
4434
- default: {},
4435
- description: 'Net Rate Schemes (Percentage paid of full translation rate)\n\n__Note:__ A new translation will be included in the report at the lowest rate if multiple scheme categories can be applied to the translation',
4436
- placeholder: 'Add Field',
4437
- options: [
4438
- {
4439
- displayName: 'Fields',
4440
- name: 'fields',
4441
- values: [
4442
- {
4443
- displayName: 'Tm Match',
4444
- name: 'tmMatch',
4445
- type: 'fixedCollection',
4446
- typeOptions: {
4447
- multipleValues: true
4448
- },
4449
- default: {},
4450
- description: undefined,
4451
- placeholder: 'Add Item',
4452
- options: [
4453
- {
4454
- displayName: 'Item',
4455
- name: 'items',
4456
- values: [
4457
- {
4458
- displayName: 'Match Type',
4459
- name: 'matchType',
4460
- type: 'string',
4461
- default: '',
4462
- description: 'Match type, %. Possible values: `perfect`, `100`, or a percentage range (e.g., `99-82`, `81-60`)',
4463
- placeholder: '100-82',
4464
- required: true
4465
- },
4466
- {
4467
- displayName: 'Price',
4468
- name: 'price',
4469
- type: 'number',
4470
- default: undefined,
4471
- description: 'Price, %',
4472
- placeholder: '0.1',
4473
- required: true
4474
- }
4475
- ]
4476
- }
4477
- ],
5400
+ options: [
5401
+ {
5402
+ displayName: 'Fields',
5403
+ name: 'fields',
5404
+ values: [
5405
+ {
5406
+ displayName: 'Hourly',
5407
+ name: 'hourly',
5408
+ type: 'number',
5409
+ default: undefined,
5410
+ description: undefined,
5411
+ placeholder: '0.1',
4478
5412
  required: true
4479
- },
5413
+ }
5414
+ ]
5415
+ }
5416
+ ],
5417
+ required: true
5418
+ },
5419
+ {
5420
+ displayName: 'Individual Rates',
5421
+ name: 'individualRates',
5422
+ type: 'fixedCollection',
5423
+ typeOptions: {
5424
+ multipleValues: true
5425
+ },
5426
+ default: {},
5427
+ description: 'Individual rates (Custom rates for certain languages or users)',
5428
+ placeholder: 'Add Item',
5429
+ options: [
5430
+ {
5431
+ displayName: 'Item',
5432
+ name: 'items',
5433
+ values: [
4480
5434
  {
4481
- displayName: 'Mt Match',
4482
- name: 'mtMatch',
4483
- type: 'fixedCollection',
5435
+ displayName: 'Language Ids',
5436
+ name: 'languageIds',
5437
+ type: 'multiOptions',
4484
5438
  typeOptions: {
4485
- multipleValues: true
5439
+ loadOptionsMethod: 'getLanguagesMulti'
4486
5440
  },
4487
- default: {},
4488
- description: undefined,
4489
- placeholder: 'Add Item',
4490
- options: [
4491
- {
4492
- displayName: 'Item',
4493
- name: 'items',
4494
- values: [
4495
- {
4496
- displayName: 'Match Type',
4497
- name: 'matchType',
4498
- type: 'string',
4499
- default: '',
4500
- description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
4501
- placeholder: '100',
4502
- required: true
4503
- },
4504
- {
4505
- displayName: 'Price',
4506
- name: 'price',
4507
- type: 'number',
4508
- default: undefined,
4509
- description: 'Price, %',
4510
- placeholder: '0.1',
4511
- required: true
4512
- }
4513
- ]
4514
- }
4515
- ],
5441
+ default: [],
5442
+ description: 'Array of language ids',
4516
5443
  required: true
4517
5444
  },
4518
5445
  {
4519
- displayName: 'Ai Match',
4520
- name: 'aiMatch',
4521
- type: 'fixedCollection',
5446
+ displayName: 'User Ids',
5447
+ name: 'userIds',
5448
+ type: 'multiOptions',
4522
5449
  typeOptions: {
4523
- multipleValues: true
5450
+ loadOptionsMethod: 'getUsersMulti'
4524
5451
  },
4525
- default: {},
4526
- description: '\n\n __Note:__ The `aiMatch` field is optional. If this field is not filled in, the schema will be taken from the `mtMatch` field.',
4527
- placeholder: 'Add Item',
4528
- options: [
4529
- {
4530
- displayName: 'Item',
4531
- name: 'items',
4532
- values: [
4533
- {
4534
- displayName: 'Match Type',
4535
- name: 'matchType',
4536
- type: 'string',
4537
- default: '',
4538
- description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
4539
- placeholder: '100-74',
4540
- required: true
4541
- },
4542
- {
4543
- displayName: 'Price',
4544
- name: 'price',
4545
- type: 'number',
4546
- default: undefined,
4547
- description: 'Price, %',
4548
- placeholder: '0.1',
4549
- required: true
4550
- }
4551
- ]
4552
- }
4553
- ]
5452
+ default: [],
5453
+ description: 'Array of user ids',
5454
+ required: true
4554
5455
  },
4555
5456
  {
4556
- displayName: 'Suggestion Match',
4557
- name: 'suggestionMatch',
4558
- type: 'fixedCollection',
4559
- typeOptions: {
4560
- multipleValues: true
4561
- },
4562
- default: {},
5457
+ displayName: 'Hourly',
5458
+ name: 'hourly',
5459
+ type: 'number',
5460
+ default: undefined,
4563
5461
  description: undefined,
4564
- placeholder: 'Add Item',
4565
- options: [
4566
- {
4567
- displayName: 'Item',
4568
- name: 'items',
4569
- values: [
4570
- {
4571
- displayName: 'Match Type',
4572
- name: 'matchType',
4573
- type: 'string',
4574
- default: '',
4575
- description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
4576
- placeholder: '100',
4577
- required: true
4578
- },
4579
- {
4580
- displayName: 'Price',
4581
- name: 'price',
4582
- type: 'number',
4583
- default: undefined,
4584
- description: 'Price, %',
4585
- placeholder: '0.1',
4586
- required: true
4587
- }
4588
- ]
4589
- }
4590
- ],
5462
+ placeholder: '0.1',
4591
5463
  required: true
4592
5464
  }
4593
5465
  ]
4594
5466
  }
4595
5467
  ],
4596
5468
  required: true
4597
- },
4598
- {
4599
- displayName: 'Calculate Internal Matches',
4600
- name: 'calculateInternalMatches',
4601
- type: 'boolean',
4602
- default: false,
4603
- description: undefined
4604
- },
4605
- {
4606
- displayName: 'Include Pre Translated Strings',
4607
- name: 'includePreTranslatedStrings',
4608
- type: 'boolean',
4609
- default: false,
4610
- description: undefined
4611
- },
4612
- {
4613
- displayName: 'Exclude Approvals For Edited Translations',
4614
- name: 'excludeApprovalsForEditedTranslations',
4615
- type: 'boolean',
4616
- default: false,
4617
- description: 'Exclude approvals when the same user has made translations for the string.'
4618
- },
4619
- {
4620
- displayName: 'Pre Translated Strings Categorization Adjustment',
4621
- name: 'preTranslatedStringsCategorizationAdjustment',
4622
- type: 'boolean',
4623
- default: false,
4624
- description: 'Repetitive translations of pre-translated strings are reported under TM or MT match rates instead of Other suggestion match rates, depending on the initial pre-translation type.'
4625
5469
  }
4626
5470
  ]
4627
5471
  }
@@ -4637,174 +5481,327 @@ exports.reportsProperties = [
4637
5481
  placeholder: 'true'
4638
5482
  }
4639
5483
  ]
4640
- },
5484
+ }
5485
+ ],
5486
+ routing: {
5487
+ send: {
5488
+ preSend: [
5489
+ preSend_1.normalizeRootBody
5490
+ ],
5491
+ property: '_body',
5492
+ propertyInDotNotation: false,
5493
+ type: 'body',
5494
+ value: '={{ $value }}'
5495
+ }
5496
+ }
5497
+ },
5498
+ {
5499
+ displayName: 'Report Settings Template Id',
5500
+ name: 'reportSettingsTemplateId',
5501
+ required: true,
5502
+ description: 'Report Settings Template Identifier. Get via [List Report Settings Template](#operation/api.reports.settings-templates.getMany)',
5503
+ default: '',
5504
+ type: 'options',
5505
+ displayOptions: {
5506
+ show: {
5507
+ resource: [
5508
+ 'reports'
5509
+ ],
5510
+ operation: [
5511
+ 'api.reports.settings-templates.get'
5512
+ ]
5513
+ }
5514
+ },
5515
+ typeOptions: {
5516
+ loadOptionsMethod: 'getReportSettingsTemplates'
5517
+ }
5518
+ },
5519
+ {
5520
+ displayName: 'Report Settings Template Id',
5521
+ name: 'reportSettingsTemplateId',
5522
+ required: true,
5523
+ description: 'Report Settings Template Identifier. Get via [List Report Settings Template](#operation/api.reports.settings-templates.getMany)',
5524
+ default: '',
5525
+ type: 'options',
5526
+ displayOptions: {
5527
+ show: {
5528
+ resource: [
5529
+ 'reports'
5530
+ ],
5531
+ operation: [
5532
+ 'api.reports.settings-templates.delete'
5533
+ ]
5534
+ }
5535
+ },
5536
+ typeOptions: {
5537
+ loadOptionsMethod: 'getReportSettingsTemplates'
5538
+ }
5539
+ },
5540
+ {
5541
+ displayName: 'Report Settings Template Id',
5542
+ name: 'reportSettingsTemplateId',
5543
+ required: true,
5544
+ description: 'Report Settings Template Identifier. Get via [List Report Settings Template](#operation/api.reports.settings-templates.getMany)',
5545
+ default: '',
5546
+ type: 'options',
5547
+ displayOptions: {
5548
+ show: {
5549
+ resource: [
5550
+ 'reports'
5551
+ ],
5552
+ operation: [
5553
+ 'api.reports.settings-templates.patch'
5554
+ ]
5555
+ }
5556
+ },
5557
+ typeOptions: {
5558
+ loadOptionsMethod: 'getReportSettingsTemplates'
5559
+ }
5560
+ },
5561
+ {
5562
+ displayName: 'Body',
5563
+ name: 'body',
5564
+ type: 'json',
5565
+ default: '{}',
5566
+ description: 'A JSON Patch operation as defined by [RFC 6902](https://tools.ietf.org/html/rfc6902#section-4)',
5567
+ routing: {
5568
+ request: {
5569
+ body: '={{ JSON.parse($value) }}'
5570
+ }
5571
+ },
5572
+ displayOptions: {
5573
+ show: {
5574
+ resource: [
5575
+ 'reports'
5576
+ ],
5577
+ operation: [
5578
+ 'api.reports.settings-templates.patch'
5579
+ ]
5580
+ }
5581
+ }
5582
+ },
5583
+ {
5584
+ displayName: 'Body',
5585
+ name: '_body',
5586
+ description: 'Select configuration type',
5587
+ default: {},
5588
+ type: 'fixedCollection',
5589
+ displayOptions: {
5590
+ show: {
5591
+ resource: [
5592
+ 'reports'
5593
+ ],
5594
+ operation: [
5595
+ 'api.reports.post'
5596
+ ]
5597
+ }
5598
+ },
5599
+ options: [
4641
5600
  {
4642
- displayName: 'Report settings template for hourly',
4643
- name: '_reportSettingsTemplateForHourly',
5601
+ displayName: 'Group Translation Costs Post-Editing',
5602
+ name: '_groupTranslationCostsPostEditing',
4644
5603
  values: [
4645
- {
4646
- displayName: 'Project Id',
4647
- name: 'projectId',
4648
- type: 'options',
4649
- default: '',
4650
- description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
4651
- typeOptions: {
4652
- loadOptionsMethod: 'getProjects'
4653
- }
4654
- },
4655
- {
4656
- displayName: 'Group Id',
4657
- name: 'groupId',
4658
- type: 'options',
4659
- default: '',
4660
- description: 'Group Identifier. Get via [List Groups](#operation/api.groups.getMany)',
4661
- typeOptions: {
4662
- loadOptionsMethod: 'getGroups'
4663
- }
4664
- },
4665
5604
  {
4666
5605
  displayName: 'Name',
4667
5606
  name: 'name',
4668
- type: 'string',
4669
- default: '',
4670
- description: 'Template name',
4671
- required: true,
4672
- placeholder: 'Default template'
4673
- },
4674
- {
4675
- displayName: 'Currency',
4676
- name: 'currency',
4677
- type: 'options',
4678
- default: 'USD',
4679
- description: 'Defines report currency',
4680
- required: true,
4681
- options: [
4682
- {
4683
- name: 'USD',
4684
- value: 'USD'
4685
- },
4686
- {
4687
- name: 'EUR',
4688
- value: 'EUR'
4689
- },
4690
- {
4691
- name: 'JPY',
4692
- value: 'JPY'
4693
- },
4694
- {
4695
- name: 'GBP',
4696
- value: 'GBP'
4697
- },
4698
- {
4699
- name: 'AUD',
4700
- value: 'AUD'
4701
- },
4702
- {
4703
- name: 'CAD',
4704
- value: 'CAD'
4705
- },
4706
- {
4707
- name: 'CHF',
4708
- value: 'CHF'
4709
- },
4710
- {
4711
- name: 'CNY',
4712
- value: 'CNY'
4713
- },
4714
- {
4715
- name: 'SEK',
4716
- value: 'SEK'
4717
- },
4718
- {
4719
- name: 'NZD',
4720
- value: 'NZD'
4721
- },
4722
- {
4723
- name: 'MXN',
4724
- value: 'MXN'
4725
- },
4726
- {
4727
- name: 'SGD',
4728
- value: 'SGD'
4729
- },
4730
- {
4731
- name: 'HKD',
4732
- value: 'HKD'
4733
- },
4734
- {
4735
- name: 'NOK',
4736
- value: 'NOK'
4737
- },
4738
- {
4739
- name: 'KRW',
4740
- value: 'KRW'
4741
- },
4742
- {
4743
- name: 'TRY',
4744
- value: 'TRY'
4745
- },
4746
- {
4747
- name: 'RUB',
4748
- value: 'RUB'
4749
- },
4750
- {
4751
- name: 'INR',
4752
- value: 'INR'
4753
- },
4754
- {
4755
- name: 'BRL',
4756
- value: 'BRL'
4757
- },
4758
- {
4759
- name: 'ZAR',
4760
- value: 'ZAR'
4761
- },
4762
- {
4763
- name: 'GEL',
4764
- value: 'GEL'
4765
- },
4766
- {
4767
- name: 'UAH',
4768
- value: 'UAH'
4769
- },
4770
- {
4771
- name: 'DDK',
4772
- value: 'DDK'
4773
- },
4774
- {
4775
- name: 'PLN',
4776
- value: 'PLN'
4777
- }
4778
- ],
4779
- placeholder: 'USD'
4780
- },
4781
- {
4782
- displayName: 'Unit',
4783
- name: 'unit',
4784
5607
  type: 'options',
4785
- default: 'hours',
4786
- description: 'Defines report unit',
5608
+ default: 'group-translation-costs-pe',
5609
+ description: 'group-translation-costs-pe',
4787
5610
  required: true,
4788
5611
  options: [
4789
5612
  {
4790
- name: 'hours',
4791
- value: 'hours'
5613
+ name: 'group-translation-costs-pe',
5614
+ value: 'group-translation-costs-pe'
4792
5615
  }
4793
5616
  ],
4794
- placeholder: 'hours'
5617
+ placeholder: 'group-translation-costs-pe'
4795
5618
  },
4796
5619
  {
4797
- displayName: 'Config',
4798
- name: 'config',
5620
+ displayName: 'Schema',
5621
+ name: 'schema',
4799
5622
  type: 'fixedCollection',
4800
5623
  default: {},
4801
- description: 'Defines report config',
4802
- placeholder: 'Add Field',
5624
+ description: 'Group Translation Costs Post-Editing Report schema',
4803
5625
  options: [
4804
5626
  {
4805
- displayName: 'Fields',
4806
- name: 'fields',
5627
+ displayName: 'General',
5628
+ name: '_groupTranslationCostsPeReportGeneral',
4807
5629
  values: [
5630
+ {
5631
+ displayName: 'Project Ids',
5632
+ name: 'projectIds',
5633
+ type: 'multiOptions',
5634
+ typeOptions: {
5635
+ loadOptionsMethod: 'getProjectsMulti'
5636
+ },
5637
+ default: [],
5638
+ description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
5639
+ },
5640
+ {
5641
+ displayName: 'Unit',
5642
+ name: 'unit',
5643
+ type: 'options',
5644
+ default: '',
5645
+ description: 'Defines report unit',
5646
+ options: [
5647
+ {
5648
+ name: '-',
5649
+ value: ''
5650
+ },
5651
+ {
5652
+ name: 'strings',
5653
+ value: 'strings'
5654
+ },
5655
+ {
5656
+ name: 'words',
5657
+ value: 'words'
5658
+ },
5659
+ {
5660
+ name: 'chars',
5661
+ value: 'chars'
5662
+ },
5663
+ {
5664
+ name: 'chars_with_spaces',
5665
+ value: 'chars_with_spaces'
5666
+ }
5667
+ ],
5668
+ placeholder: 'words'
5669
+ },
5670
+ {
5671
+ displayName: 'Currency',
5672
+ name: 'currency',
5673
+ type: 'options',
5674
+ default: '',
5675
+ description: 'Defines report currency',
5676
+ options: [
5677
+ {
5678
+ name: '-',
5679
+ value: ''
5680
+ },
5681
+ {
5682
+ name: 'USD',
5683
+ value: 'USD'
5684
+ },
5685
+ {
5686
+ name: 'EUR',
5687
+ value: 'EUR'
5688
+ },
5689
+ {
5690
+ name: 'JPY',
5691
+ value: 'JPY'
5692
+ },
5693
+ {
5694
+ name: 'GBP',
5695
+ value: 'GBP'
5696
+ },
5697
+ {
5698
+ name: 'AUD',
5699
+ value: 'AUD'
5700
+ },
5701
+ {
5702
+ name: 'CAD',
5703
+ value: 'CAD'
5704
+ },
5705
+ {
5706
+ name: 'CHF',
5707
+ value: 'CHF'
5708
+ },
5709
+ {
5710
+ name: 'CNY',
5711
+ value: 'CNY'
5712
+ },
5713
+ {
5714
+ name: 'SEK',
5715
+ value: 'SEK'
5716
+ },
5717
+ {
5718
+ name: 'NZD',
5719
+ value: 'NZD'
5720
+ },
5721
+ {
5722
+ name: 'MXN',
5723
+ value: 'MXN'
5724
+ },
5725
+ {
5726
+ name: 'SGD',
5727
+ value: 'SGD'
5728
+ },
5729
+ {
5730
+ name: 'HKD',
5731
+ value: 'HKD'
5732
+ },
5733
+ {
5734
+ name: 'NOK',
5735
+ value: 'NOK'
5736
+ },
5737
+ {
5738
+ name: 'KRW',
5739
+ value: 'KRW'
5740
+ },
5741
+ {
5742
+ name: 'TRY',
5743
+ value: 'TRY'
5744
+ },
5745
+ {
5746
+ name: 'RUB',
5747
+ value: 'RUB'
5748
+ },
5749
+ {
5750
+ name: 'INR',
5751
+ value: 'INR'
5752
+ },
5753
+ {
5754
+ name: 'BRL',
5755
+ value: 'BRL'
5756
+ },
5757
+ {
5758
+ name: 'ZAR',
5759
+ value: 'ZAR'
5760
+ },
5761
+ {
5762
+ name: 'GEL',
5763
+ value: 'GEL'
5764
+ },
5765
+ {
5766
+ name: 'UAH',
5767
+ value: 'UAH'
5768
+ },
5769
+ {
5770
+ name: 'DDK',
5771
+ value: 'DDK'
5772
+ },
5773
+ {
5774
+ name: 'PLN',
5775
+ value: 'PLN'
5776
+ }
5777
+ ],
5778
+ placeholder: 'USD'
5779
+ },
5780
+ {
5781
+ displayName: 'Format',
5782
+ name: 'format',
5783
+ type: 'options',
5784
+ default: '',
5785
+ description: 'Defines export file format',
5786
+ options: [
5787
+ {
5788
+ name: '-',
5789
+ value: ''
5790
+ },
5791
+ {
5792
+ name: 'xlsx',
5793
+ value: 'xlsx'
5794
+ },
5795
+ {
5796
+ name: 'csv',
5797
+ value: 'csv'
5798
+ },
5799
+ {
5800
+ name: 'json',
5801
+ value: 'json'
5802
+ }
5803
+ ]
5804
+ },
4808
5805
  {
4809
5806
  displayName: 'Base Rates',
4810
5807
  name: 'baseRates',
@@ -4817,13 +5814,22 @@ exports.reportsProperties = [
4817
5814
  name: 'fields',
4818
5815
  values: [
4819
5816
  {
4820
- displayName: 'Hourly',
4821
- name: 'hourly',
5817
+ displayName: 'Full Translation',
5818
+ name: 'fullTranslation',
4822
5819
  type: 'number',
4823
5820
  default: undefined,
4824
- description: undefined,
5821
+ description: 'Applies to all languages by default',
4825
5822
  placeholder: '0.1',
4826
5823
  required: true
5824
+ },
5825
+ {
5826
+ displayName: 'Proofread',
5827
+ name: 'proofread',
5828
+ type: 'number',
5829
+ default: undefined,
5830
+ description: undefined,
5831
+ placeholder: '0.12',
5832
+ required: true
4827
5833
  }
4828
5834
  ]
4829
5835
  }
@@ -4857,200 +5863,286 @@ exports.reportsProperties = [
4857
5863
  required: true
4858
5864
  },
4859
5865
  {
4860
- displayName: 'User Ids',
4861
- name: 'userIds',
4862
- type: 'multiOptions',
5866
+ displayName: 'User Ids',
5867
+ name: 'userIds',
5868
+ type: 'multiOptions',
5869
+ typeOptions: {
5870
+ loadOptionsMethod: 'getUsersMulti'
5871
+ },
5872
+ default: [],
5873
+ description: 'Array of user ids',
5874
+ required: true
5875
+ },
5876
+ {
5877
+ displayName: 'Full Translation',
5878
+ name: 'fullTranslation',
5879
+ type: 'number',
5880
+ default: undefined,
5881
+ description: undefined,
5882
+ placeholder: '0.1',
5883
+ required: true
5884
+ },
5885
+ {
5886
+ displayName: 'Proofread',
5887
+ name: 'proofread',
5888
+ type: 'number',
5889
+ default: undefined,
5890
+ description: undefined,
5891
+ placeholder: '0.12',
5892
+ required: true
5893
+ }
5894
+ ]
5895
+ }
5896
+ ],
5897
+ required: true
5898
+ },
5899
+ {
5900
+ displayName: 'Net Rate Schemes',
5901
+ name: 'netRateSchemes',
5902
+ type: 'fixedCollection',
5903
+ default: {},
5904
+ description: 'Net Rate Schemes (Percentage paid of full translation rate)\n\n__Note:__ A new translation will be included in the report at the lowest rate if multiple scheme categories can be applied to the translation',
5905
+ placeholder: 'Add Field',
5906
+ options: [
5907
+ {
5908
+ displayName: 'Fields',
5909
+ name: 'fields',
5910
+ values: [
5911
+ {
5912
+ displayName: 'Tm Match',
5913
+ name: 'tmMatch',
5914
+ type: 'fixedCollection',
5915
+ typeOptions: {
5916
+ multipleValues: true
5917
+ },
5918
+ default: {},
5919
+ description: undefined,
5920
+ placeholder: 'Add Item',
5921
+ options: [
5922
+ {
5923
+ displayName: 'Item',
5924
+ name: 'items',
5925
+ values: [
5926
+ {
5927
+ displayName: 'Match Type',
5928
+ name: 'matchType',
5929
+ type: 'string',
5930
+ default: '',
5931
+ description: 'Match type, %. Possible values: `perfect`, `100`, or a percentage range (e.g., `99-82`, `81-60`)',
5932
+ placeholder: 'perfect',
5933
+ required: true
5934
+ },
5935
+ {
5936
+ displayName: 'Price',
5937
+ name: 'price',
5938
+ type: 'number',
5939
+ default: undefined,
5940
+ description: 'Price, %',
5941
+ placeholder: '0.1',
5942
+ required: true
5943
+ }
5944
+ ]
5945
+ }
5946
+ ],
5947
+ required: true
5948
+ },
5949
+ {
5950
+ displayName: 'Mt Match',
5951
+ name: 'mtMatch',
5952
+ type: 'fixedCollection',
5953
+ typeOptions: {
5954
+ multipleValues: true
5955
+ },
5956
+ default: {},
5957
+ description: undefined,
5958
+ placeholder: 'Add Item',
5959
+ options: [
5960
+ {
5961
+ displayName: 'Item',
5962
+ name: 'items',
5963
+ values: [
5964
+ {
5965
+ displayName: 'Match Type',
5966
+ name: 'matchType',
5967
+ type: 'string',
5968
+ default: '',
5969
+ description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
5970
+ placeholder: '100',
5971
+ required: true
5972
+ },
5973
+ {
5974
+ displayName: 'Price',
5975
+ name: 'price',
5976
+ type: 'number',
5977
+ default: undefined,
5978
+ description: 'Price, %',
5979
+ placeholder: '0.1',
5980
+ required: true
5981
+ }
5982
+ ]
5983
+ }
5984
+ ],
5985
+ required: true
5986
+ },
5987
+ {
5988
+ displayName: 'Ai Match',
5989
+ name: 'aiMatch',
5990
+ type: 'fixedCollection',
4863
5991
  typeOptions: {
4864
- loadOptionsMethod: 'getUsersMulti'
5992
+ multipleValues: true
4865
5993
  },
4866
- default: [],
4867
- description: 'Array of user ids',
4868
- required: true
5994
+ default: {},
5995
+ description: '\n\n__Note:__ The `aiMatch` field is optional. If this field is not filled in, the schema will be taken from the `mtMatch` field.',
5996
+ placeholder: 'Add Item',
5997
+ options: [
5998
+ {
5999
+ displayName: 'Item',
6000
+ name: 'items',
6001
+ values: [
6002
+ {
6003
+ displayName: 'Match Type',
6004
+ name: 'matchType',
6005
+ type: 'string',
6006
+ default: '',
6007
+ description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
6008
+ placeholder: '100',
6009
+ required: true
6010
+ },
6011
+ {
6012
+ displayName: 'Price',
6013
+ name: 'price',
6014
+ type: 'number',
6015
+ default: undefined,
6016
+ description: 'Price, %',
6017
+ placeholder: '0.1',
6018
+ required: true
6019
+ }
6020
+ ]
6021
+ }
6022
+ ]
4869
6023
  },
4870
6024
  {
4871
- displayName: 'Hourly',
4872
- name: 'hourly',
4873
- type: 'number',
4874
- default: undefined,
6025
+ displayName: 'Suggestion Match',
6026
+ name: 'suggestionMatch',
6027
+ type: 'fixedCollection',
6028
+ typeOptions: {
6029
+ multipleValues: true
6030
+ },
6031
+ default: {},
4875
6032
  description: undefined,
4876
- placeholder: '0.1',
6033
+ placeholder: 'Add Item',
6034
+ options: [
6035
+ {
6036
+ displayName: 'Item',
6037
+ name: 'items',
6038
+ values: [
6039
+ {
6040
+ displayName: 'Match Type',
6041
+ name: 'matchType',
6042
+ type: 'string',
6043
+ default: '',
6044
+ description: 'Match type, %. Possible values: `100` or a percentage range (e.g., `99-82`, `81-60`)',
6045
+ placeholder: '100',
6046
+ required: true
6047
+ },
6048
+ {
6049
+ displayName: 'Price',
6050
+ name: 'price',
6051
+ type: 'number',
6052
+ default: undefined,
6053
+ description: 'Price, %',
6054
+ placeholder: '0.1',
6055
+ required: true
6056
+ }
6057
+ ]
6058
+ }
6059
+ ],
4877
6060
  required: true
4878
6061
  }
4879
6062
  ]
4880
6063
  }
4881
6064
  ],
4882
6065
  required: true
4883
- }
4884
- ]
4885
- }
4886
- ],
4887
- required: true
4888
- },
4889
- {
4890
- displayName: 'Is Public',
4891
- name: 'isPublic',
4892
- type: 'boolean',
4893
- default: false,
4894
- description: 'Defines report public',
4895
- placeholder: 'true'
4896
- }
4897
- ]
4898
- }
4899
- ],
4900
- routing: {
4901
- send: {
4902
- preSend: [
4903
- preSend_1.normalizeRootBody
4904
- ],
4905
- property: '_body',
4906
- propertyInDotNotation: false,
4907
- type: 'body',
4908
- value: '={{ $value }}'
4909
- }
4910
- }
4911
- },
4912
- {
4913
- displayName: 'Report Settings Template Id',
4914
- name: 'reportSettingsTemplateId',
4915
- required: true,
4916
- description: 'Report Settings Template Identifier. Get via [List Report Settings Template](#operation/api.reports.settings-templates.getMany)',
4917
- default: '',
4918
- type: 'options',
4919
- displayOptions: {
4920
- show: {
4921
- resource: [
4922
- 'reports'
4923
- ],
4924
- operation: [
4925
- 'api.reports.settings-templates.get'
4926
- ]
4927
- }
4928
- },
4929
- typeOptions: {
4930
- loadOptionsMethod: 'getReportSettingsTemplates'
4931
- }
4932
- },
4933
- {
4934
- displayName: 'Report Settings Template Id',
4935
- name: 'reportSettingsTemplateId',
4936
- required: true,
4937
- description: 'Report Settings Template Identifier. Get via [List Report Settings Template](#operation/api.reports.settings-templates.getMany)',
4938
- default: '',
4939
- type: 'options',
4940
- displayOptions: {
4941
- show: {
4942
- resource: [
4943
- 'reports'
4944
- ],
4945
- operation: [
4946
- 'api.reports.settings-templates.delete'
4947
- ]
4948
- }
4949
- },
4950
- typeOptions: {
4951
- loadOptionsMethod: 'getReportSettingsTemplates'
4952
- }
4953
- },
4954
- {
4955
- displayName: 'Report Settings Template Id',
4956
- name: 'reportSettingsTemplateId',
4957
- required: true,
4958
- description: 'Report Settings Template Identifier. Get via [List Report Settings Template](#operation/api.reports.settings-templates.getMany)',
4959
- default: '',
4960
- type: 'options',
4961
- displayOptions: {
4962
- show: {
4963
- resource: [
4964
- 'reports'
4965
- ],
4966
- operation: [
4967
- 'api.reports.settings-templates.patch'
4968
- ]
4969
- }
4970
- },
4971
- typeOptions: {
4972
- loadOptionsMethod: 'getReportSettingsTemplates'
4973
- }
4974
- },
4975
- {
4976
- displayName: 'Body',
4977
- name: 'body',
4978
- type: 'json',
4979
- default: '{}',
4980
- description: 'A JSON Patch operation as defined by [RFC 6902](https://tools.ietf.org/html/rfc6902#section-4)',
4981
- routing: {
4982
- request: {
4983
- body: '={{ JSON.parse($value) }}'
4984
- }
4985
- },
4986
- displayOptions: {
4987
- show: {
4988
- resource: [
4989
- 'reports'
4990
- ],
4991
- operation: [
4992
- 'api.reports.settings-templates.patch'
4993
- ]
4994
- }
4995
- }
4996
- },
4997
- {
4998
- displayName: 'Body',
4999
- name: '_body',
5000
- description: 'Select configuration type',
5001
- default: {},
5002
- type: 'fixedCollection',
5003
- displayOptions: {
5004
- show: {
5005
- resource: [
5006
- 'reports'
5007
- ],
5008
- operation: [
5009
- 'api.reports.post'
5010
- ]
5011
- }
5012
- },
5013
- options: [
5014
- {
5015
- displayName: 'Group Translation Costs Post-Editing',
5016
- name: '_groupTranslationCostsPostEditing',
5017
- values: [
5018
- {
5019
- displayName: 'Name',
5020
- name: 'name',
5021
- type: 'options',
5022
- default: 'group-translation-costs-pe',
5023
- description: 'group-translation-costs-pe',
5024
- required: true,
5025
- options: [
5026
- {
5027
- name: 'group-translation-costs-pe',
5028
- value: 'group-translation-costs-pe'
5029
- }
5030
- ],
5031
- placeholder: 'group-translation-costs-pe'
5032
- },
5033
- {
5034
- displayName: 'Schema',
5035
- name: 'schema',
5036
- type: 'fixedCollection',
5037
- default: {},
5038
- description: 'Group Translation Costs Post-Editing Report schema',
5039
- options: [
5040
- {
5041
- displayName: 'General',
5042
- name: '_groupTranslationCostsPeReportGeneral',
5043
- values: [
6066
+ },
6067
+ {
6068
+ displayName: 'Exclude Approvals For Edited Translations',
6069
+ name: 'excludeApprovalsForEditedTranslations',
6070
+ type: 'boolean',
6071
+ default: false,
6072
+ description: 'Exclude approvals when the same user has made translations for the string.'
6073
+ },
6074
+ {
6075
+ displayName: 'Pre Translated Strings Categorization Adjustment',
6076
+ name: 'preTranslatedStringsCategorizationAdjustment',
6077
+ type: 'boolean',
6078
+ default: false,
6079
+ description: 'Repetitive translations of pre-translated strings are reported under TM or MT match rates instead of Other suggestion match rates, depending on the initial pre-translation type.'
6080
+ },
5044
6081
  {
5045
- displayName: 'Project Ids',
5046
- name: 'projectIds',
6082
+ displayName: 'Group By',
6083
+ name: 'groupBy',
6084
+ type: 'options',
6085
+ default: '',
6086
+ description: 'Defines grouping parameter',
6087
+ options: [
6088
+ {
6089
+ name: '-',
6090
+ value: ''
6091
+ },
6092
+ {
6093
+ name: 'user',
6094
+ value: 'user'
6095
+ },
6096
+ {
6097
+ name: 'language',
6098
+ value: 'language'
6099
+ },
6100
+ {
6101
+ name: 'project',
6102
+ value: 'project'
6103
+ }
6104
+ ],
6105
+ placeholder: 'user'
6106
+ },
6107
+ {
6108
+ displayName: 'Date From',
6109
+ name: 'dateTime:dateFrom',
6110
+ type: 'dateTime',
6111
+ default: '',
6112
+ description: 'Report date from in UTC, ISO 8601',
6113
+ placeholder: '2019-09-23T07:00:14+00:00'
6114
+ },
6115
+ {
6116
+ displayName: 'Date To',
6117
+ name: 'dateTime:dateTo',
6118
+ type: 'dateTime',
6119
+ default: '',
6120
+ description: 'Report date to in UTC, ISO 8601',
6121
+ placeholder: '2019-09-27T07:00:14+00:00'
6122
+ },
6123
+ {
6124
+ displayName: 'User Ids',
6125
+ name: 'userIds',
5047
6126
  type: 'multiOptions',
5048
6127
  typeOptions: {
5049
- loadOptionsMethod: 'getProjectsMulti'
6128
+ loadOptionsMethod: 'getUsersMulti'
5050
6129
  },
5051
6130
  default: [],
5052
- description: 'Array of project ids. Get via [List Projects](#operation/api.projects.getMany)'
6131
+ description: 'Array of user ids. Get via [List Project Members](#operation/api.projects.members.getMany)'
5053
6132
  },
6133
+ {
6134
+ displayName: 'Skip Archiving',
6135
+ name: 'skipArchiving',
6136
+ type: 'boolean',
6137
+ default: false,
6138
+ description: 'If true, the report will not be saved to the archive for historical reference.'
6139
+ }
6140
+ ]
6141
+ },
6142
+ {
6143
+ displayName: 'By Task',
6144
+ name: '_groupTranslationCostsPeReportByTask',
6145
+ values: [
5054
6146
  {
5055
6147
  displayName: 'Unit',
5056
6148
  name: 'unit',
@@ -5406,7 +6498,7 @@ exports.reportsProperties = [
5406
6498
  multipleValues: true
5407
6499
  },
5408
6500
  default: {},
5409
- description: '\n\n__Note:__ The `aiMatch` field is optional. If this field is not filled in, the schema will be taken from the `mtMatch` field.',
6501
+ description: '\n\n __Note:__ The `aiMatch` field is optional. If this field is not filled in, the schema will be taken from the `mtMatch` field.',
5410
6502
  placeholder: 'Add Item',
5411
6503
  options: [
5412
6504
  {
@@ -5478,6 +6570,19 @@ exports.reportsProperties = [
5478
6570
  ],
5479
6571
  required: true
5480
6572
  },
6573
+ {
6574
+ displayName: 'Task Ids',
6575
+ name: 'taskIds',
6576
+ type: 'multiOptions',
6577
+ typeOptions: {
6578
+ loadOptionsMethod: 'getProjectTasksMulti',
6579
+ loadOptionsDependsOn: [
6580
+ 'projectId'
6581
+ ]
6582
+ },
6583
+ default: [],
6584
+ description: 'Array of task ids. Get via [List Tasks](#operation/api.projects.tasks.getMany)'
6585
+ },
5481
6586
  {
5482
6587
  displayName: 'Exclude Approvals For Edited Translations',
5483
6588
  name: 'excludeApprovalsForEditedTranslations',
@@ -5492,58 +6597,6 @@ exports.reportsProperties = [
5492
6597
  default: false,
5493
6598
  description: 'Repetitive translations of pre-translated strings are reported under TM or MT match rates instead of Other suggestion match rates, depending on the initial pre-translation type.'
5494
6599
  },
5495
- {
5496
- displayName: 'Group By',
5497
- name: 'groupBy',
5498
- type: 'options',
5499
- default: '',
5500
- description: 'Defines grouping parameter',
5501
- options: [
5502
- {
5503
- name: '-',
5504
- value: ''
5505
- },
5506
- {
5507
- name: 'user',
5508
- value: 'user'
5509
- },
5510
- {
5511
- name: 'language',
5512
- value: 'language'
5513
- },
5514
- {
5515
- name: 'project',
5516
- value: 'project'
5517
- }
5518
- ],
5519
- placeholder: 'user'
5520
- },
5521
- {
5522
- displayName: 'Date From',
5523
- name: 'dateTime:dateFrom',
5524
- type: 'dateTime',
5525
- default: '',
5526
- description: 'Report date from in UTC, ISO 8601',
5527
- placeholder: '2019-09-23T07:00:14+00:00'
5528
- },
5529
- {
5530
- displayName: 'Date To',
5531
- name: 'dateTime:dateTo',
5532
- type: 'dateTime',
5533
- default: '',
5534
- description: 'Report date to in UTC, ISO 8601',
5535
- placeholder: '2019-09-27T07:00:14+00:00'
5536
- },
5537
- {
5538
- displayName: 'User Ids',
5539
- name: 'userIds',
5540
- type: 'multiOptions',
5541
- typeOptions: {
5542
- loadOptionsMethod: 'getUsersMulti'
5543
- },
5544
- default: [],
5545
- description: 'Array of user ids. Get via [List Project Members](#operation/api.projects.members.getMany)'
5546
- },
5547
6600
  {
5548
6601
  displayName: 'Skip Archiving',
5549
6602
  name: 'skipArchiving',
@@ -7121,6 +8174,19 @@ exports.reportsProperties = [
7121
8174
  default: [],
7122
8175
  description: 'Project Identifier for which the report should be generated. Get via [List Projects](#operation/api.projects.getMany)'
7123
8176
  },
8177
+ {
8178
+ displayName: 'Task Ids',
8179
+ name: 'taskIds',
8180
+ type: 'multiOptions',
8181
+ typeOptions: {
8182
+ loadOptionsMethod: 'getProjectTasksMulti',
8183
+ loadOptionsDependsOn: [
8184
+ 'projectId'
8185
+ ]
8186
+ },
8187
+ default: [],
8188
+ description: 'Array of task ids. Get via [List Tasks](#operation/api.projects.tasks.getMany)'
8189
+ },
7124
8190
  {
7125
8191
  displayName: 'Skip Archiving',
7126
8192
  name: 'skipArchiving',
@@ -7155,16 +8221,15 @@ exports.reportsProperties = [
7155
8221
  placeholder: 'group-pre-translate-accuracy'
7156
8222
  },
7157
8223
  {
7158
- displayName: 'General',
8224
+ displayName: 'Schema',
7159
8225
  name: 'schema',
7160
8226
  type: 'fixedCollection',
7161
8227
  default: {},
7162
- description: undefined,
7163
- placeholder: 'Add Field',
8228
+ description: 'Group Pre-translation Accuracy Report schema',
7164
8229
  options: [
7165
8230
  {
7166
- displayName: 'Fields',
7167
- name: 'fields',
8231
+ displayName: 'General',
8232
+ name: '_groupPreTranslateAccuracyReportGeneral',
7168
8233
  values: [
7169
8234
  {
7170
8235
  displayName: 'Unit',
@@ -7291,6 +8356,113 @@ exports.reportsProperties = [
7291
8356
  description: 'If true, the report will not be saved to the archive for historical reference.'
7292
8357
  }
7293
8358
  ]
8359
+ },
8360
+ {
8361
+ displayName: 'By Task',
8362
+ name: '_groupPreTranslateAccuracyReportByTask',
8363
+ values: [
8364
+ {
8365
+ displayName: 'Unit',
8366
+ name: 'unit',
8367
+ type: 'options',
8368
+ default: '',
8369
+ description: 'Defines report unit',
8370
+ options: [
8371
+ {
8372
+ name: '-',
8373
+ value: ''
8374
+ },
8375
+ {
8376
+ name: 'strings',
8377
+ value: 'strings'
8378
+ },
8379
+ {
8380
+ name: 'words',
8381
+ value: 'words'
8382
+ },
8383
+ {
8384
+ name: 'chars',
8385
+ value: 'chars'
8386
+ },
8387
+ {
8388
+ name: 'chars_with_spaces',
8389
+ value: 'chars_with_spaces'
8390
+ }
8391
+ ],
8392
+ placeholder: 'words'
8393
+ },
8394
+ {
8395
+ displayName: 'Format',
8396
+ name: 'format',
8397
+ type: 'options',
8398
+ default: '',
8399
+ description: 'Defines export file format',
8400
+ options: [
8401
+ {
8402
+ name: '-',
8403
+ value: ''
8404
+ },
8405
+ {
8406
+ name: 'xlsx',
8407
+ value: 'xlsx'
8408
+ },
8409
+ {
8410
+ name: 'csv',
8411
+ value: 'csv'
8412
+ },
8413
+ {
8414
+ name: 'json',
8415
+ value: 'json'
8416
+ }
8417
+ ]
8418
+ },
8419
+ {
8420
+ displayName: 'Match Score Categories',
8421
+ name: 'matchScoreCategories',
8422
+ type: 'fixedCollection',
8423
+ typeOptions: {
8424
+ multipleValues: true
8425
+ },
8426
+ default: {},
8427
+ description: 'Split into categories by match score. Ranges should be in descending order (e.g., 100-90, 89-80)',
8428
+ placeholder: 'Add Item',
8429
+ options: [
8430
+ {
8431
+ displayName: 'Items',
8432
+ name: 'items',
8433
+ values: [
8434
+ {
8435
+ displayName: 'Value',
8436
+ name: '_value',
8437
+ type: 'string',
8438
+ default: '',
8439
+ description: undefined
8440
+ }
8441
+ ]
8442
+ }
8443
+ ]
8444
+ },
8445
+ {
8446
+ displayName: 'Task Ids',
8447
+ name: 'taskIds',
8448
+ type: 'multiOptions',
8449
+ typeOptions: {
8450
+ loadOptionsMethod: 'getProjectTasksMulti',
8451
+ loadOptionsDependsOn: [
8452
+ 'projectId'
8453
+ ]
8454
+ },
8455
+ default: [],
8456
+ description: 'Array of task ids. Get via [List Tasks](#operation/api.projects.tasks.getMany)'
8457
+ },
8458
+ {
8459
+ displayName: 'Skip Archiving',
8460
+ name: 'skipArchiving',
8461
+ type: 'boolean',
8462
+ default: false,
8463
+ description: 'If true, the report will not be saved to the archive for historical reference.'
8464
+ }
8465
+ ]
7294
8466
  }
7295
8467
  ],
7296
8468
  required: true