@crowdin/crowdin-api-client
Advanced tools
Comparing version 1.11.2 to 1.11.3
@@ -14,3 +14,3 @@ import { BooleanInt, CrowdinApi, DownloadLink, PatchRequest, ResponseList, ResponseObject } from '../core'; | ||
*/ | ||
addTask(projectId: number, request: TasksModel.CreateTaskRequest | TasksModel.CreateTaskVendorOhtRequest | TasksModel.CreateTaskVendorGengoRequest | TasksModel.CreateTaskVendorTranslatedRequest): Promise<ResponseObject<TasksModel.Task>>; | ||
addTask(projectId: number, request: TasksModel.CreateTaskEnterpriseRequest | TasksModel.CreateTaskRequest | TasksModel.CreateTaskVendorOhtRequest | TasksModel.CreateTaskVendorGengoRequest | TasksModel.CreateTaskVendorTranslatedRequest): Promise<ResponseObject<TasksModel.Task>>; | ||
exportTaskStrings(projectId: number, taskId: number): Promise<ResponseObject<DownloadLink>>; | ||
@@ -79,16 +79,30 @@ /** | ||
} | ||
interface CreateTaskEnterpriseRequest { | ||
workflowStepId: number; | ||
title: string; | ||
languageId: string; | ||
fileIds: number[]; | ||
status?: Status; | ||
description?: string; | ||
splitFiles?: boolean; | ||
skipAssignedStrings?: boolean; | ||
assignees?: CreateTaskAssignee[]; | ||
deadline?: string; | ||
labelIds?: number[]; | ||
dateFrom?: string; | ||
dateTo?: string; | ||
} | ||
interface CreateTaskRequest { | ||
workflowStepId?: number; | ||
status?: Status; | ||
title: string; | ||
description?: string; | ||
languageId: string; | ||
fileIds: number[]; | ||
type?: Type; | ||
type: Type; | ||
status?: Status; | ||
description?: string; | ||
splitFiles?: boolean; | ||
skipAssignedStrings?: boolean; | ||
skipUntranslatedStrings?: boolean; | ||
assignees?: Assignee[]; | ||
labelIds?: number[]; | ||
assignees?: CreateTaskAssignee[]; | ||
deadline?: string; | ||
labelIds?: number[]; | ||
dateFrom?: string; | ||
@@ -107,2 +121,3 @@ dateTo?: string; | ||
labelIds?: number[]; | ||
includeUntranslatedStringsOnly?: boolean; | ||
dateFrom?: string; | ||
@@ -143,2 +158,6 @@ dateTo?: string; | ||
} | ||
interface CreateTaskAssignee { | ||
id: number; | ||
wordsCount?: number; | ||
} | ||
enum Status { | ||
@@ -145,0 +164,0 @@ TODO = "todo", |
{ | ||
"name": "@crowdin/crowdin-api-client", | ||
"version": "1.11.2", | ||
"version": "1.11.3", | ||
"description": "JavaScript library for Crowdin API v2.", | ||
@@ -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
269406
6735