Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@crowdin/crowdin-api-client

Package Overview
Dependencies
Maintainers
5
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crowdin/crowdin-api-client - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

20

out/projectsGroups/index.d.ts

@@ -40,3 +40,3 @@ import { CrowdinApi, ResponseList, ResponseObject, PatchRequest, BooleanInt } from '../core';

*/
getProject(projectId: number): Promise<ResponseObject<ProjectsGroupsModel.Project>>;
getProject(projectId: number): Promise<ResponseObject<ProjectsGroupsModel.Project | ProjectsGroupsModel.ProjectSettings>>;
/**

@@ -50,12 +50,3 @@ * @param projectId project identifier

*/
editProject(projectId: number, request: PatchRequest[]): Promise<ResponseObject<ProjectsGroupsModel.Project>>;
/**
* @param projectId project identifier
*/
getProjectSettings(projectId: number): Promise<ResponseObject<ProjectsGroupsModel.ProjectSettings>>;
/**
* @param projectId project identifier
* @param request request body
*/
editProjectSettings(projectId: number, request: PatchRequest[]): Promise<ResponseObject<ProjectsGroupsModel.ProjectSettings>>;
editProject(projectId: number, request: PatchRequest[]): Promise<ResponseObject<ProjectsGroupsModel.Project | ProjectsGroupsModel.ProjectSettings>>;
}

@@ -114,4 +105,3 @@ export declare namespace ProjectsGroupsModel {

}
interface ProjectSettings {
projectId: number;
interface ProjectSettings extends Project {
translateDuplicates: number;

@@ -126,6 +116,6 @@ isMtAllowed: boolean;

inContext: boolean;
jiptPseudoLanguageId: number;
inContextPseudoLanguageId: string;
qaCheckIsActive: boolean;
lowestQualityProjectGoalId: number;
qaCheckCategories: CheckCategories;
customQaCheckIds: string[];
languageMapping: LanguageMapping;

@@ -132,0 +122,0 @@ }

@@ -89,17 +89,2 @@ "use strict";

}
/**
* @param projectId project identifier
*/
getProjectSettings(projectId) {
const url = `${this.url}/projects/${projectId}/settings`;
return this.get(url, this.defaultConfig());
}
/**
* @param projectId project identifier
* @param request request body
*/
editProjectSettings(projectId, request) {
const url = `${this.url}/projects/${projectId}/settings`;
return this.patch(url, request, this.defaultConfig());
}
}

@@ -106,0 +91,0 @@ exports.ProjectsGroups = ProjectsGroups;

{
"name": "@crowdin/crowdin-api-client",
"version": "1.5.0",
"version": "1.5.1",
"description": "JavaScript library for Crowdin API v2.",

@@ -5,0 +5,0 @@ "main": "out/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc