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.17.0 to 1.17.1

4

out/sourceFiles/index.d.ts

@@ -185,3 +185,3 @@ import { CrowdinApi, DownloadLink, PaginationOptions, PatchRequest, ResponseList, ResponseObject } from '../core';

*/
buildReviewedSourceFiles(projectId: number, request: SourceFilesModel.BuildReviewedSourceFilesRequest): Promise<ResponseObject<SourceFilesModel.ReviewedSourceFilesBuild>>;
buildReviewedSourceFiles(projectId: number, request?: SourceFilesModel.BuildReviewedSourceFilesRequest): Promise<ResponseObject<SourceFilesModel.ReviewedSourceFilesBuild>>;
/**

@@ -356,3 +356,3 @@ * @param projectId project identifier

interface BuildReviewedSourceFilesRequest {
branchId: number;
branchId?: number;
}

@@ -359,0 +359,0 @@ interface ListProjectBranchesOptions extends PaginationOptions {

@@ -210,3 +210,3 @@ "use strict";

*/
buildReviewedSourceFiles(projectId, request) {
buildReviewedSourceFiles(projectId, request = {}) {
const url = `${this.url}/projects/${projectId}/strings/reviewed-builds`;

@@ -213,0 +213,0 @@ return this.post(url, request, this.defaultConfig());

@@ -47,3 +47,3 @@ import { CrowdinApi, DownloadLink, PaginationOptions, PatchRequest, ResponseList, ResponseObject, Status } from '../core';

*/
exportTm(tmId: number, request: TranslationMemoryModel.ExportTranslationMemoryRequest): Promise<ResponseObject<Status<TranslationMemoryModel.ExportTranslationMemoryAttribute>>>;
exportTm(tmId: number, request?: TranslationMemoryModel.ExportTranslationMemoryRequest): Promise<ResponseObject<Status<TranslationMemoryModel.ExportTranslationMemoryAttribute>>>;
/**

@@ -50,0 +50,0 @@ * @param tmId tm identifier

@@ -60,3 +60,3 @@ "use strict";

*/
exportTm(tmId, request) {
exportTm(tmId, request = {}) {
const url = `${this.url}/tms/${tmId}/exports`;

@@ -63,0 +63,0 @@ return this.post(url, request, this.defaultConfig());

@@ -21,3 +21,3 @@ import { CrowdinApi, DownloadLink, PaginationOptions, ResponseList, ResponseObject, Status } from '../core';

*/
buildProjectDirectoryTranslation(projectId: number, directoryId: number, request: TranslationsModel.BuildProjectDirectoryTranslationRequest): Promise<ResponseObject<TranslationsModel.BuildProjectDirectoryTranslationResponse>>;
buildProjectDirectoryTranslation(projectId: number, directoryId: number, request?: TranslationsModel.BuildProjectDirectoryTranslationRequest): Promise<ResponseObject<TranslationsModel.BuildProjectDirectoryTranslationResponse>>;
/**

@@ -24,0 +24,0 @@ * @param projectId project identifier

@@ -30,3 +30,3 @@ "use strict";

*/
buildProjectDirectoryTranslation(projectId, directoryId, request) {
buildProjectDirectoryTranslation(projectId, directoryId, request = {}) {
const url = `${this.url}/projects/${projectId}/translations/builds/directories/${directoryId}`;

@@ -33,0 +33,0 @@ const config = this.defaultConfig();

@@ -37,3 +37,3 @@ import { CrowdinApi, Pagination, PaginationOptions, PatchRequest, ResponseList, ResponseObject } from '../core';

*/
replaceProjectMemberPermissions(projectId: number, memberId: number, request: UsersModel.ReplaceProjectMemberRequest): Promise<ResponseObject<UsersModel.ProjectMember>>;
replaceProjectMemberPermissions(projectId: number, memberId: number, request?: UsersModel.ReplaceProjectMemberRequest): Promise<ResponseObject<UsersModel.ProjectMember>>;
/**

@@ -40,0 +40,0 @@ * @param projectId project identifier

@@ -45,3 +45,3 @@ "use strict";

*/
replaceProjectMemberPermissions(projectId, memberId, request) {
replaceProjectMemberPermissions(projectId, memberId, request = {}) {
const url = `${this.url}/projects/${projectId}/members/${memberId}`;

@@ -48,0 +48,0 @@ return this.put(url, request, this.defaultConfig());

{
"name": "@crowdin/crowdin-api-client",
"version": "1.17.0",
"version": "1.17.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