UNPKG

@crowdin/crowdin-api-client

Version:
22 lines (21 loc) 889 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Clients = void 0; const core_1 = require("../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. */ class Clients extends core_1.CrowdinApi { /** * @param options optional pagination parameters for the request * @see https://developer.crowdin.com/enterprise/api/v2/#operation/api.clients.getMany */ listClients(options) { const url = `${this.url}/clients`; return this.getList(url, options === null || options === void 0 ? void 0 : options.limit, options === null || options === void 0 ? void 0 : options.offset); } } exports.Clients = Clients;