@crowdin/crowdin-api-client
Advanced tools
Comparing version 1.23.3 to 1.23.4
@@ -30,3 +30,3 @@ import { BooleanInt, CrowdinApi, DownloadLink, PaginationOptions, PatchRequest, ResponseList, ResponseObject } from '../core'; | ||
*/ | ||
addTask(projectId: number, request: TasksModel.CreateTaskEnterpriseRequest | TasksModel.CreateTaskRequest | TasksModel.CreateTaskVendorOhtRequest | TasksModel.CreateTaskVendorGengoRequest | TasksModel.CreateTaskVendorTranslatedRequest): Promise<ResponseObject<TasksModel.Task>>; | ||
addTask(projectId: number, request: TasksModel.CreateTaskEnterpriseRequest | TasksModel.CreateTaskRequest | TasksModel.CreateLanguageServiceTaskRequest | TasksModel.CreateTaskVendorOhtRequest | TasksModel.CreateTaskVendorGengoRequest | TasksModel.CreateTaskVendorTranslatedRequest | TasksModel.CreateTaskVendorManualRequest): Promise<ResponseObject<TasksModel.Task>>; | ||
/** | ||
@@ -127,3 +127,2 @@ * @param projectId project identifier | ||
description: string; | ||
hash: string; | ||
translationUrl: string; | ||
@@ -134,2 +133,4 @@ wordsCount: number; | ||
deadline: string; | ||
startedAt: string; | ||
resolvedAt: string; | ||
timeRange: string; | ||
@@ -149,3 +150,4 @@ workflowStepId: number; | ||
interface CreateTaskEnterpriseRequest { | ||
workflowStepId: number; | ||
type?: Type; | ||
workflowStepId?: number; | ||
title: string; | ||
@@ -159,2 +161,3 @@ languageId: string; | ||
assignees?: CreateTaskAssignee[]; | ||
includePreTranslatedStringsOnly?: boolean; | ||
deadline?: string; | ||
@@ -175,8 +178,25 @@ labelIds?: number[]; | ||
skipUntranslatedStrings?: boolean; | ||
includePreTranslatedStringsOnly?: boolean; | ||
labelIds?: number[]; | ||
assignees?: CreateTaskAssignee[]; | ||
deadline?: string; | ||
startedAt?: string; | ||
dateFrom?: string; | ||
dateTo?: string; | ||
} | ||
interface CreateLanguageServiceTaskRequest { | ||
title: string; | ||
languageId: string; | ||
fileIds: number[]; | ||
type: Type; | ||
vendor: string; | ||
status?: Status; | ||
description?: string; | ||
labelIds?: number[]; | ||
skipUntranslatedStrings?: boolean; | ||
includePreTranslatedStringsOnly?: boolean; | ||
includeUntranslatedStringsOnly?: boolean; | ||
dateFrom?: string; | ||
dateTo?: string; | ||
} | ||
interface CreateTaskVendorOhtRequest { | ||
@@ -192,2 +212,4 @@ title: string; | ||
labelIds?: number[]; | ||
skipUntranslatedStrings?: boolean; | ||
includePreTranslatedStringsOnly?: boolean; | ||
includeUntranslatedStringsOnly?: boolean; | ||
@@ -229,2 +251,20 @@ dateFrom?: string; | ||
} | ||
interface CreateTaskVendorManualRequest { | ||
title: string; | ||
languageId: string; | ||
fileIds: number[]; | ||
type: Type; | ||
vendor: string; | ||
status?: Status; | ||
description?: string; | ||
skipAssignedStrings?: boolean; | ||
skipUntranslatedStrings?: boolean; | ||
includePreTranslatedStringsOnly?: boolean; | ||
labelIds?: number[]; | ||
assignees?: CreateTaskAssignee[]; | ||
deadline?: string; | ||
startedAt?: string; | ||
dateFrom?: string; | ||
dateTo?: string; | ||
} | ||
interface CreateTaskAssignee { | ||
@@ -231,0 +271,0 @@ id: number; |
@@ -126,2 +126,3 @@ import { CrowdinApi, PaginationOptions, ResponseList } from '../core'; | ||
approved: number; | ||
preTranslateAppliedTo: number; | ||
} | ||
@@ -128,0 +129,0 @@ type Category = 'empty' | 'variables' | 'tags' | 'punctuation' | 'symbol_register' | 'spaces' | 'size' | 'special_symbols' | 'wrong_translation' | 'spellcheck' | 'icu'; |
{ | ||
"name": "@crowdin/crowdin-api-client", | ||
"version": "1.23.3", | ||
"version": "1.23.4", | ||
"description": "JavaScript library for Crowdin API", | ||
@@ -5,0 +5,0 @@ "main": "out/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
378666
8625