@crowdin/crowdin-api-client
Version:
JavaScript library for Crowdin API
24 lines (23 loc) • 872 B
TypeScript
import { CrowdinApi, PaginationOptions, ResponseList } from '../core';
/**
* Clients are the organizations that order professional translation services from Vendors.
* Clients can invite an existing organization to become a Vendor for them.
*
* Use the API to get a list of the Clients you already cooperate with as a Vendor.
*/
export declare class Clients extends CrowdinApi {
/**
* @param options optional pagination parameters for the request
* @see https://developer.crowdin.com/enterprise/api/v2/#operation/api.clients.getMany
*/
listClients(options?: PaginationOptions): Promise<ResponseList<ClientsModel.Client>>;
}
export declare namespace ClientsModel {
interface Client {
id: number;
name: string;
description: string;
status: 'pending' | 'confirmed' | 'rejected';
webUrl: string;
}
}