lokalise_api.d.ts 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import { Branches } from "../collections/branches";
  2. import { Comments } from "../collections/comments";
  3. import { Contributors } from "../collections/contributors";
  4. import { Files } from "../collections/files";
  5. import { Keys } from "../collections/keys";
  6. import { Languages } from "../collections/languages";
  7. import { Orders } from "../collections/orders";
  8. import { PaymentCards } from "../collections/payment_cards";
  9. import { Projects } from "../collections/projects";
  10. import { QueuedProcesses } from "../collections/queued_processes";
  11. import { Screenshots } from "../collections/screenshots";
  12. import { Segments } from "../collections/segments";
  13. import { Snapshots } from "../collections/snapshots";
  14. import { Tasks } from "../collections/tasks";
  15. import { Teams } from "../collections/teams";
  16. import { TeamUsers } from "../collections/team_users";
  17. import { TeamUserBillingDetails } from "../collections/team_user_billing_details";
  18. import { Translations } from "../collections/translations";
  19. import { TranslationProviders } from "../collections/translation_providers";
  20. import { TranslationStatuses } from "../collections/translation_statuses";
  21. import { UserGroups } from "../collections/user_groups";
  22. import { Webhooks } from "../collections/webhooks";
  23. import { ClientData as ClientDataInterface } from "../interfaces/client_data";
  24. export type ClientParams = {
  25. apiKey?: string;
  26. enableCompression?: boolean;
  27. tokenType?: string;
  28. host?: string;
  29. };
  30. export declare class LokaliseApi {
  31. readonly clientData: ClientDataInterface;
  32. constructor(params: ClientParams);
  33. branches(): Branches;
  34. comments(): Comments;
  35. contributors(): Contributors;
  36. files(): Files;
  37. keys(): Keys;
  38. languages(): Languages;
  39. orders(): Orders;
  40. paymentCards(): PaymentCards;
  41. projects(): Projects;
  42. queuedProcesses(): QueuedProcesses;
  43. screenshots(): Screenshots;
  44. segments(): Segments;
  45. snapshots(): Snapshots;
  46. tasks(): Tasks;
  47. teams(): Teams;
  48. teamUsers(): TeamUsers;
  49. teamUserBillingDetails(): TeamUserBillingDetails;
  50. translations(): Translations;
  51. translationProviders(): TranslationProviders;
  52. translationStatuses(): TranslationStatuses;
  53. userGroups(): UserGroups;
  54. webhooks(): Webhooks;
  55. }