@leancodepl/intl 9.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +154 -0
  3. package/package.json +25 -0
  4. package/src/TranslationsServiceClient.d.ts +13 -0
  5. package/src/TranslationsServiceClient.js +3 -0
  6. package/src/TranslationsServiceClient.js.map +1 -0
  7. package/src/bin.d.ts +2 -0
  8. package/src/bin.js +129 -0
  9. package/src/bin.js.map +1 -0
  10. package/src/commands/diff.d.ts +9 -0
  11. package/src/commands/diff.js +35 -0
  12. package/src/commands/diff.js.map +1 -0
  13. package/src/commands/download.d.ts +10 -0
  14. package/src/commands/download.js +39 -0
  15. package/src/commands/download.js.map +1 -0
  16. package/src/commands/local.d.ts +11 -0
  17. package/src/commands/local.js +117 -0
  18. package/src/commands/local.js.map +1 -0
  19. package/src/commands/sync.d.ts +12 -0
  20. package/src/commands/sync.js +34 -0
  21. package/src/commands/sync.js.map +1 -0
  22. package/src/commands/upload.d.ts +10 -0
  23. package/src/commands/upload.js +32 -0
  24. package/src/commands/upload.js.map +1 -0
  25. package/src/formatjs.d.ts +21 -0
  26. package/src/formatjs.js +60 -0
  27. package/src/formatjs.js.map +1 -0
  28. package/src/index.d.ts +6 -0
  29. package/src/index.js +16 -0
  30. package/src/index.js.map +1 -0
  31. package/src/mergeWithEnv.d.ts +7 -0
  32. package/src/mergeWithEnv.js +14 -0
  33. package/src/mergeWithEnv.js.map +1 -0
  34. package/src/mkTranslationsServiceClient.d.ts +5 -0
  35. package/src/mkTranslationsServiceClient.js +14 -0
  36. package/src/mkTranslationsServiceClient.js.map +1 -0
  37. package/src/poeditor/POEditorClient.d.ts +19 -0
  38. package/src/poeditor/POEditorClient.js +88 -0
  39. package/src/poeditor/POEditorClient.js.map +1 -0
  40. package/src/poeditor/api.generated/api.d.ts +2570 -0
  41. package/src/poeditor/api.generated/api.js +2586 -0
  42. package/src/poeditor/api.generated/api.js.map +1 -0
  43. package/src/poeditor/api.generated/base.d.ts +66 -0
  44. package/src/poeditor/api.generated/base.js +70 -0
  45. package/src/poeditor/api.generated/base.js.map +1 -0
  46. package/src/poeditor/api.generated/common.d.ts +65 -0
  47. package/src/poeditor/api.generated/common.js +146 -0
  48. package/src/poeditor/api.generated/common.js.map +1 -0
  49. package/src/poeditor/api.generated/configuration.d.ts +91 -0
  50. package/src/poeditor/api.generated/configuration.js +100 -0
  51. package/src/poeditor/api.generated/configuration.js.map +1 -0
  52. package/src/poeditor/api.generated/index.d.ts +13 -0
  53. package/src/poeditor/api.generated/index.js +18 -0
  54. package/src/poeditor/api.generated/index.js.map +1 -0
  55. package/src/poeditor/generatePoeditorClient.d.ts +1 -0
  56. package/src/poeditor/generatePoeditorClient.js +54 -0
  57. package/src/poeditor/generatePoeditorClient.js.map +1 -0
@@ -0,0 +1,2570 @@
1
+ /**
2
+ * API V2
3
+ * Connect your software to POEditor with this simple API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.6
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ContributorsListResponse
20
+ */
21
+ export interface ContributorsListResponse {
22
+ /**
23
+ *
24
+ * @type {ResponseResponse}
25
+ * @memberof ContributorsListResponse
26
+ */
27
+ 'response'?: ResponseResponse;
28
+ /**
29
+ *
30
+ * @type {ContributorsListResponseAllOfResult}
31
+ * @memberof ContributorsListResponse
32
+ */
33
+ 'result'?: ContributorsListResponseAllOfResult;
34
+ }
35
+ /**
36
+ *
37
+ * @export
38
+ * @interface ContributorsListResponseAllOfResult
39
+ */
40
+ export interface ContributorsListResponseAllOfResult {
41
+ /**
42
+ *
43
+ * @type {Array<ContributorsListResponseAllOfResultContributors>}
44
+ * @memberof ContributorsListResponseAllOfResult
45
+ */
46
+ 'contributors'?: Array<ContributorsListResponseAllOfResultContributors>;
47
+ }
48
+ /**
49
+ *
50
+ * @export
51
+ * @interface ContributorsListResponseAllOfResultContributors
52
+ */
53
+ export interface ContributorsListResponseAllOfResultContributors {
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof ContributorsListResponseAllOfResultContributors
58
+ */
59
+ 'name'?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof ContributorsListResponseAllOfResultContributors
64
+ */
65
+ 'email'?: string;
66
+ /**
67
+ *
68
+ * @type {Array<ContributorsListResponseAllOfResultPermissions>}
69
+ * @memberof ContributorsListResponseAllOfResultContributors
70
+ */
71
+ 'permissions'?: Array<ContributorsListResponseAllOfResultPermissions>;
72
+ }
73
+ /**
74
+ *
75
+ * @export
76
+ * @interface ContributorsListResponseAllOfResultPermissions
77
+ */
78
+ export interface ContributorsListResponseAllOfResultPermissions {
79
+ /**
80
+ *
81
+ * @type {ContributorsListResponseAllOfResultProject}
82
+ * @memberof ContributorsListResponseAllOfResultPermissions
83
+ */
84
+ 'project'?: ContributorsListResponseAllOfResultProject;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof ContributorsListResponseAllOfResultPermissions
89
+ */
90
+ 'type'?: string;
91
+ /**
92
+ *
93
+ * @type {boolean}
94
+ * @memberof ContributorsListResponseAllOfResultPermissions
95
+ */
96
+ 'proofreader'?: boolean;
97
+ }
98
+ /**
99
+ *
100
+ * @export
101
+ * @interface ContributorsListResponseAllOfResultProject
102
+ */
103
+ export interface ContributorsListResponseAllOfResultProject {
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof ContributorsListResponseAllOfResultProject
108
+ */
109
+ 'id'?: string;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof ContributorsListResponseAllOfResultProject
114
+ */
115
+ 'name'?: string;
116
+ }
117
+ /**
118
+ *
119
+ * @export
120
+ * @interface LanguagesListLong
121
+ */
122
+ export interface LanguagesListLong {
123
+ /**
124
+ *
125
+ * @type {Array<LanguagesListLongLanguagesInner>}
126
+ * @memberof LanguagesListLong
127
+ */
128
+ 'languages'?: Array<LanguagesListLongLanguagesInner>;
129
+ }
130
+ /**
131
+ *
132
+ * @export
133
+ * @interface LanguagesListLongLanguagesInner
134
+ */
135
+ export interface LanguagesListLongLanguagesInner {
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof LanguagesListLongLanguagesInner
140
+ */
141
+ 'name'?: string;
142
+ /**
143
+ *
144
+ * @type {string}
145
+ * @memberof LanguagesListLongLanguagesInner
146
+ */
147
+ 'code'?: string;
148
+ /**
149
+ *
150
+ * @type {number}
151
+ * @memberof LanguagesListLongLanguagesInner
152
+ */
153
+ 'translations'?: number;
154
+ /**
155
+ *
156
+ * @type {number}
157
+ * @memberof LanguagesListLongLanguagesInner
158
+ */
159
+ 'percentage'?: number;
160
+ /**
161
+ *
162
+ * @type {string}
163
+ * @memberof LanguagesListLongLanguagesInner
164
+ */
165
+ 'updated'?: string;
166
+ }
167
+ /**
168
+ *
169
+ * @export
170
+ * @interface LanguagesListLongResponse
171
+ */
172
+ export interface LanguagesListLongResponse {
173
+ /**
174
+ *
175
+ * @type {ResponseResponse}
176
+ * @memberof LanguagesListLongResponse
177
+ */
178
+ 'response'?: ResponseResponse;
179
+ /**
180
+ *
181
+ * @type {LanguagesListLong}
182
+ * @memberof LanguagesListLongResponse
183
+ */
184
+ 'result'?: LanguagesListLong;
185
+ }
186
+ /**
187
+ *
188
+ * @export
189
+ * @interface LanguagesListShort
190
+ */
191
+ export interface LanguagesListShort {
192
+ /**
193
+ *
194
+ * @type {Array<LanguagesListShortLanguagesInner>}
195
+ * @memberof LanguagesListShort
196
+ */
197
+ 'languages'?: Array<LanguagesListShortLanguagesInner>;
198
+ }
199
+ /**
200
+ *
201
+ * @export
202
+ * @interface LanguagesListShortLanguagesInner
203
+ */
204
+ export interface LanguagesListShortLanguagesInner {
205
+ /**
206
+ *
207
+ * @type {string}
208
+ * @memberof LanguagesListShortLanguagesInner
209
+ */
210
+ 'name'?: string;
211
+ /**
212
+ *
213
+ * @type {string}
214
+ * @memberof LanguagesListShortLanguagesInner
215
+ */
216
+ 'code'?: string;
217
+ }
218
+ /**
219
+ *
220
+ * @export
221
+ * @interface LanguagesListShortResponse
222
+ */
223
+ export interface LanguagesListShortResponse {
224
+ /**
225
+ *
226
+ * @type {ResponseResponse}
227
+ * @memberof LanguagesListShortResponse
228
+ */
229
+ 'response'?: ResponseResponse;
230
+ /**
231
+ *
232
+ * @type {LanguagesListShort}
233
+ * @memberof LanguagesListShortResponse
234
+ */
235
+ 'result'?: LanguagesListShort;
236
+ }
237
+ /**
238
+ *
239
+ * @export
240
+ * @interface ProjectExportResponse
241
+ */
242
+ export interface ProjectExportResponse {
243
+ /**
244
+ *
245
+ * @type {ResponseResponse}
246
+ * @memberof ProjectExportResponse
247
+ */
248
+ 'response'?: ResponseResponse;
249
+ /**
250
+ *
251
+ * @type {ProjectExportResponseAllOfResult}
252
+ * @memberof ProjectExportResponse
253
+ */
254
+ 'result'?: ProjectExportResponseAllOfResult;
255
+ }
256
+ /**
257
+ *
258
+ * @export
259
+ * @interface ProjectExportResponseAllOfResult
260
+ */
261
+ export interface ProjectExportResponseAllOfResult {
262
+ /**
263
+ *
264
+ * @type {string}
265
+ * @memberof ProjectExportResponseAllOfResult
266
+ */
267
+ 'url'?: string;
268
+ }
269
+ /**
270
+ *
271
+ * @export
272
+ * @interface ProjectList
273
+ */
274
+ export interface ProjectList {
275
+ /**
276
+ *
277
+ * @type {Array<ProjectListProjectsInner>}
278
+ * @memberof ProjectList
279
+ */
280
+ 'projects'?: Array<ProjectListProjectsInner>;
281
+ }
282
+ /**
283
+ *
284
+ * @export
285
+ * @interface ProjectListProjectsInner
286
+ */
287
+ export interface ProjectListProjectsInner {
288
+ /**
289
+ *
290
+ * @type {number}
291
+ * @memberof ProjectListProjectsInner
292
+ */
293
+ 'id'?: number;
294
+ /**
295
+ *
296
+ * @type {string}
297
+ * @memberof ProjectListProjectsInner
298
+ */
299
+ 'name'?: string;
300
+ /**
301
+ *
302
+ * @type {number}
303
+ * @memberof ProjectListProjectsInner
304
+ */
305
+ 'public'?: ProjectListProjectsInnerPublicEnum;
306
+ /**
307
+ *
308
+ * @type {number}
309
+ * @memberof ProjectListProjectsInner
310
+ */
311
+ 'open'?: ProjectListProjectsInnerOpenEnum;
312
+ /**
313
+ *
314
+ * @type {string}
315
+ * @memberof ProjectListProjectsInner
316
+ */
317
+ 'created'?: string;
318
+ }
319
+ export declare const ProjectListProjectsInnerPublicEnum: {
320
+ readonly NUMBER_0: 0;
321
+ readonly NUMBER_1: 1;
322
+ };
323
+ export type ProjectListProjectsInnerPublicEnum = typeof ProjectListProjectsInnerPublicEnum[keyof typeof ProjectListProjectsInnerPublicEnum];
324
+ export declare const ProjectListProjectsInnerOpenEnum: {
325
+ readonly NUMBER_0: 0;
326
+ readonly NUMBER_1: 1;
327
+ };
328
+ export type ProjectListProjectsInnerOpenEnum = typeof ProjectListProjectsInnerOpenEnum[keyof typeof ProjectListProjectsInnerOpenEnum];
329
+ /**
330
+ *
331
+ * @export
332
+ * @interface ProjectListResponse
333
+ */
334
+ export interface ProjectListResponse {
335
+ /**
336
+ *
337
+ * @type {ResponseResponse}
338
+ * @memberof ProjectListResponse
339
+ */
340
+ 'response'?: ResponseResponse;
341
+ /**
342
+ *
343
+ * @type {ProjectList}
344
+ * @memberof ProjectListResponse
345
+ */
346
+ 'result'?: ProjectList;
347
+ }
348
+ /**
349
+ *
350
+ * @export
351
+ * @interface ProjectLong
352
+ */
353
+ export interface ProjectLong {
354
+ /**
355
+ *
356
+ * @type {ProjectLongProject}
357
+ * @memberof ProjectLong
358
+ */
359
+ 'project'?: ProjectLongProject;
360
+ }
361
+ /**
362
+ *
363
+ * @export
364
+ * @interface ProjectLongProject
365
+ */
366
+ export interface ProjectLongProject {
367
+ /**
368
+ *
369
+ * @type {number}
370
+ * @memberof ProjectLongProject
371
+ */
372
+ 'id'?: number;
373
+ /**
374
+ *
375
+ * @type {string}
376
+ * @memberof ProjectLongProject
377
+ */
378
+ 'name'?: string;
379
+ /**
380
+ *
381
+ * @type {string}
382
+ * @memberof ProjectLongProject
383
+ */
384
+ 'description'?: string;
385
+ /**
386
+ *
387
+ * @type {number}
388
+ * @memberof ProjectLongProject
389
+ */
390
+ 'public'?: ProjectLongProjectPublicEnum;
391
+ /**
392
+ *
393
+ * @type {number}
394
+ * @memberof ProjectLongProject
395
+ */
396
+ 'open'?: ProjectLongProjectOpenEnum;
397
+ /**
398
+ *
399
+ * @type {string}
400
+ * @memberof ProjectLongProject
401
+ */
402
+ 'reference'?: string;
403
+ /**
404
+ *
405
+ * @type {string}
406
+ * @memberof ProjectLongProject
407
+ */
408
+ 'fallback_language'?: string;
409
+ /**
410
+ *
411
+ * @type {number}
412
+ * @memberof ProjectLongProject
413
+ */
414
+ 'terms'?: number;
415
+ /**
416
+ *
417
+ * @type {string}
418
+ * @memberof ProjectLongProject
419
+ */
420
+ 'created'?: string;
421
+ }
422
+ export declare const ProjectLongProjectPublicEnum: {
423
+ readonly NUMBER_0: 0;
424
+ readonly NUMBER_1: 1;
425
+ };
426
+ export type ProjectLongProjectPublicEnum = typeof ProjectLongProjectPublicEnum[keyof typeof ProjectLongProjectPublicEnum];
427
+ export declare const ProjectLongProjectOpenEnum: {
428
+ readonly NUMBER_0: 0;
429
+ readonly NUMBER_1: 1;
430
+ };
431
+ export type ProjectLongProjectOpenEnum = typeof ProjectLongProjectOpenEnum[keyof typeof ProjectLongProjectOpenEnum];
432
+ /**
433
+ *
434
+ * @export
435
+ * @interface ProjectSyncResponse
436
+ */
437
+ export interface ProjectSyncResponse {
438
+ /**
439
+ *
440
+ * @type {ResponseResponse}
441
+ * @memberof ProjectSyncResponse
442
+ */
443
+ 'response'?: ResponseResponse;
444
+ /**
445
+ *
446
+ * @type {TermsFull}
447
+ * @memberof ProjectSyncResponse
448
+ */
449
+ 'result'?: TermsFull;
450
+ }
451
+ /**
452
+ *
453
+ * @export
454
+ * @interface ProjectUploadResponse
455
+ */
456
+ export interface ProjectUploadResponse {
457
+ /**
458
+ *
459
+ * @type {ResponseResponse}
460
+ * @memberof ProjectUploadResponse
461
+ */
462
+ 'response'?: ResponseResponse;
463
+ /**
464
+ *
465
+ * @type {TermsTranslationsResponse}
466
+ * @memberof ProjectUploadResponse
467
+ */
468
+ 'result'?: TermsTranslationsResponse;
469
+ }
470
+ /**
471
+ *
472
+ * @export
473
+ * @interface ProjectViewResponse
474
+ */
475
+ export interface ProjectViewResponse {
476
+ /**
477
+ *
478
+ * @type {ResponseResponse}
479
+ * @memberof ProjectViewResponse
480
+ */
481
+ 'response'?: ResponseResponse;
482
+ /**
483
+ *
484
+ * @type {ProjectLong}
485
+ * @memberof ProjectViewResponse
486
+ */
487
+ 'result'?: ProjectLong;
488
+ }
489
+ /**
490
+ *
491
+ * @export
492
+ * @interface Response
493
+ */
494
+ export interface Response {
495
+ /**
496
+ *
497
+ * @type {ResponseResponse}
498
+ * @memberof Response
499
+ */
500
+ 'response'?: ResponseResponse;
501
+ }
502
+ /**
503
+ *
504
+ * @export
505
+ * @interface ResponseResponse
506
+ */
507
+ export interface ResponseResponse {
508
+ /**
509
+ *
510
+ * @type {string}
511
+ * @memberof ResponseResponse
512
+ */
513
+ 'status'?: string;
514
+ /**
515
+ *
516
+ * @type {string}
517
+ * @memberof ResponseResponse
518
+ */
519
+ 'code'?: string;
520
+ /**
521
+ *
522
+ * @type {string}
523
+ * @memberof ResponseResponse
524
+ */
525
+ 'message'?: string;
526
+ }
527
+ /**
528
+ *
529
+ * @export
530
+ * @interface TermAddCommentResponse
531
+ */
532
+ export interface TermAddCommentResponse {
533
+ /**
534
+ *
535
+ * @type {ResponseResponse}
536
+ * @memberof TermAddCommentResponse
537
+ */
538
+ 'response'?: ResponseResponse;
539
+ /**
540
+ *
541
+ * @type {TermsShortComment}
542
+ * @memberof TermAddCommentResponse
543
+ */
544
+ 'result'?: TermsShortComment;
545
+ }
546
+ /**
547
+ *
548
+ * @export
549
+ * @interface TermAddedResponse
550
+ */
551
+ export interface TermAddedResponse {
552
+ /**
553
+ *
554
+ * @type {ResponseResponse}
555
+ * @memberof TermAddedResponse
556
+ */
557
+ 'response'?: ResponseResponse;
558
+ /**
559
+ *
560
+ * @type {TermsShortAdded}
561
+ * @memberof TermAddedResponse
562
+ */
563
+ 'result'?: TermsShortAdded;
564
+ }
565
+ /**
566
+ *
567
+ * @export
568
+ * @interface TermDeletedResponse
569
+ */
570
+ export interface TermDeletedResponse {
571
+ /**
572
+ *
573
+ * @type {ResponseResponse}
574
+ * @memberof TermDeletedResponse
575
+ */
576
+ 'response'?: ResponseResponse;
577
+ /**
578
+ *
579
+ * @type {TermsShortDeleted}
580
+ * @memberof TermDeletedResponse
581
+ */
582
+ 'result'?: TermsShortDeleted;
583
+ }
584
+ /**
585
+ *
586
+ * @export
587
+ * @interface TermUpdatedResponse
588
+ */
589
+ export interface TermUpdatedResponse {
590
+ /**
591
+ *
592
+ * @type {ResponseResponse}
593
+ * @memberof TermUpdatedResponse
594
+ */
595
+ 'response'?: ResponseResponse;
596
+ /**
597
+ *
598
+ * @type {TermsShortUpdated}
599
+ * @memberof TermUpdatedResponse
600
+ */
601
+ 'result'?: TermsShortUpdated;
602
+ }
603
+ /**
604
+ *
605
+ * @export
606
+ * @interface TermsFull
607
+ */
608
+ export interface TermsFull {
609
+ /**
610
+ *
611
+ * @type {TermsFullTerms}
612
+ * @memberof TermsFull
613
+ */
614
+ 'terms'?: TermsFullTerms;
615
+ }
616
+ /**
617
+ *
618
+ * @export
619
+ * @interface TermsFullTerms
620
+ */
621
+ export interface TermsFullTerms {
622
+ /**
623
+ *
624
+ * @type {number}
625
+ * @memberof TermsFullTerms
626
+ */
627
+ 'parsed'?: number;
628
+ /**
629
+ *
630
+ * @type {number}
631
+ * @memberof TermsFullTerms
632
+ */
633
+ 'added'?: number;
634
+ /**
635
+ *
636
+ * @type {number}
637
+ * @memberof TermsFullTerms
638
+ */
639
+ 'updated'?: number;
640
+ /**
641
+ *
642
+ * @type {number}
643
+ * @memberof TermsFullTerms
644
+ */
645
+ 'deleted'?: number;
646
+ }
647
+ /**
648
+ *
649
+ * @export
650
+ * @interface TermsListFull
651
+ */
652
+ export interface TermsListFull {
653
+ /**
654
+ *
655
+ * @type {Array<TermsListFullTermsInner>}
656
+ * @memberof TermsListFull
657
+ */
658
+ 'terms'?: Array<TermsListFullTermsInner>;
659
+ }
660
+ /**
661
+ *
662
+ * @export
663
+ * @interface TermsListFullResponse
664
+ */
665
+ export interface TermsListFullResponse {
666
+ /**
667
+ *
668
+ * @type {ResponseResponse}
669
+ * @memberof TermsListFullResponse
670
+ */
671
+ 'response'?: ResponseResponse;
672
+ /**
673
+ *
674
+ * @type {TermsListFull}
675
+ * @memberof TermsListFullResponse
676
+ */
677
+ 'result'?: TermsListFull;
678
+ }
679
+ /**
680
+ *
681
+ * @export
682
+ * @interface TermsListFullTermsInner
683
+ */
684
+ export interface TermsListFullTermsInner {
685
+ /**
686
+ *
687
+ * @type {string}
688
+ * @memberof TermsListFullTermsInner
689
+ */
690
+ 'term'?: string;
691
+ /**
692
+ *
693
+ * @type {string}
694
+ * @memberof TermsListFullTermsInner
695
+ */
696
+ 'context'?: string;
697
+ /**
698
+ *
699
+ * @type {string}
700
+ * @memberof TermsListFullTermsInner
701
+ */
702
+ 'plural'?: string;
703
+ /**
704
+ *
705
+ * @type {string}
706
+ * @memberof TermsListFullTermsInner
707
+ */
708
+ 'created'?: string;
709
+ /**
710
+ *
711
+ * @type {string}
712
+ * @memberof TermsListFullTermsInner
713
+ */
714
+ 'updated'?: string;
715
+ /**
716
+ *
717
+ * @type {TermsListFullTermsInnerTranslation}
718
+ * @memberof TermsListFullTermsInner
719
+ */
720
+ 'translation'?: TermsListFullTermsInnerTranslation;
721
+ /**
722
+ *
723
+ * @type {string}
724
+ * @memberof TermsListFullTermsInner
725
+ */
726
+ 'reference'?: string;
727
+ /**
728
+ *
729
+ * @type {Array<string>}
730
+ * @memberof TermsListFullTermsInner
731
+ */
732
+ 'tags'?: Array<string>;
733
+ /**
734
+ *
735
+ * @type {string}
736
+ * @memberof TermsListFullTermsInner
737
+ */
738
+ 'comment'?: string;
739
+ }
740
+ /**
741
+ *
742
+ * @export
743
+ * @interface TermsListFullTermsInnerTranslation
744
+ */
745
+ export interface TermsListFullTermsInnerTranslation {
746
+ /**
747
+ *
748
+ * @type {string}
749
+ * @memberof TermsListFullTermsInnerTranslation
750
+ */
751
+ 'content'?: string;
752
+ /**
753
+ *
754
+ * @type {number}
755
+ * @memberof TermsListFullTermsInnerTranslation
756
+ */
757
+ 'fuzzy'?: number;
758
+ /**
759
+ *
760
+ * @type {number}
761
+ * @memberof TermsListFullTermsInnerTranslation
762
+ */
763
+ 'proofread'?: number;
764
+ /**
765
+ *
766
+ * @type {string}
767
+ * @memberof TermsListFullTermsInnerTranslation
768
+ */
769
+ 'updated'?: string;
770
+ }
771
+ /**
772
+ *
773
+ * @export
774
+ * @interface TermsLong
775
+ */
776
+ export interface TermsLong {
777
+ /**
778
+ *
779
+ * @type {TermsLongTerms}
780
+ * @memberof TermsLong
781
+ */
782
+ 'terms'?: TermsLongTerms;
783
+ }
784
+ /**
785
+ *
786
+ * @export
787
+ * @interface TermsLongTerms
788
+ */
789
+ export interface TermsLongTerms {
790
+ /**
791
+ *
792
+ * @type {number}
793
+ * @memberof TermsLongTerms
794
+ */
795
+ 'parsed'?: number;
796
+ /**
797
+ *
798
+ * @type {number}
799
+ * @memberof TermsLongTerms
800
+ */
801
+ 'added'?: number;
802
+ /**
803
+ *
804
+ * @type {number}
805
+ * @memberof TermsLongTerms
806
+ */
807
+ 'deleted'?: number;
808
+ }
809
+ /**
810
+ *
811
+ * @export
812
+ * @interface TermsShortAdded
813
+ */
814
+ export interface TermsShortAdded {
815
+ /**
816
+ *
817
+ * @type {TermsShortAddedTerms}
818
+ * @memberof TermsShortAdded
819
+ */
820
+ 'terms'?: TermsShortAddedTerms;
821
+ }
822
+ /**
823
+ *
824
+ * @export
825
+ * @interface TermsShortAddedTerms
826
+ */
827
+ export interface TermsShortAddedTerms {
828
+ /**
829
+ *
830
+ * @type {number}
831
+ * @memberof TermsShortAddedTerms
832
+ */
833
+ 'parsed'?: number;
834
+ /**
835
+ *
836
+ * @type {number}
837
+ * @memberof TermsShortAddedTerms
838
+ */
839
+ 'added'?: number;
840
+ }
841
+ /**
842
+ *
843
+ * @export
844
+ * @interface TermsShortComment
845
+ */
846
+ export interface TermsShortComment {
847
+ /**
848
+ *
849
+ * @type {TermsShortCommentTerms}
850
+ * @memberof TermsShortComment
851
+ */
852
+ 'terms'?: TermsShortCommentTerms;
853
+ }
854
+ /**
855
+ *
856
+ * @export
857
+ * @interface TermsShortCommentTerms
858
+ */
859
+ export interface TermsShortCommentTerms {
860
+ /**
861
+ *
862
+ * @type {number}
863
+ * @memberof TermsShortCommentTerms
864
+ */
865
+ 'parsed'?: number;
866
+ /**
867
+ *
868
+ * @type {number}
869
+ * @memberof TermsShortCommentTerms
870
+ */
871
+ 'with_added_comment'?: number;
872
+ }
873
+ /**
874
+ *
875
+ * @export
876
+ * @interface TermsShortDeleted
877
+ */
878
+ export interface TermsShortDeleted {
879
+ /**
880
+ *
881
+ * @type {TermsShortDeletedTerms}
882
+ * @memberof TermsShortDeleted
883
+ */
884
+ 'terms'?: TermsShortDeletedTerms;
885
+ }
886
+ /**
887
+ *
888
+ * @export
889
+ * @interface TermsShortDeletedTerms
890
+ */
891
+ export interface TermsShortDeletedTerms {
892
+ /**
893
+ *
894
+ * @type {number}
895
+ * @memberof TermsShortDeletedTerms
896
+ */
897
+ 'parsed'?: number;
898
+ /**
899
+ *
900
+ * @type {number}
901
+ * @memberof TermsShortDeletedTerms
902
+ */
903
+ 'deleted'?: number;
904
+ }
905
+ /**
906
+ *
907
+ * @export
908
+ * @interface TermsShortUpdated
909
+ */
910
+ export interface TermsShortUpdated {
911
+ /**
912
+ *
913
+ * @type {TermsShortUpdatedTerms}
914
+ * @memberof TermsShortUpdated
915
+ */
916
+ 'terms'?: TermsShortUpdatedTerms;
917
+ }
918
+ /**
919
+ *
920
+ * @export
921
+ * @interface TermsShortUpdatedTerms
922
+ */
923
+ export interface TermsShortUpdatedTerms {
924
+ /**
925
+ *
926
+ * @type {number}
927
+ * @memberof TermsShortUpdatedTerms
928
+ */
929
+ 'parsed'?: number;
930
+ /**
931
+ *
932
+ * @type {number}
933
+ * @memberof TermsShortUpdatedTerms
934
+ */
935
+ 'updated'?: number;
936
+ }
937
+ /**
938
+ *
939
+ * @export
940
+ * @interface TermsTranslationsResponse
941
+ */
942
+ export interface TermsTranslationsResponse {
943
+ /**
944
+ *
945
+ * @type {TermsLongTerms}
946
+ * @memberof TermsTranslationsResponse
947
+ */
948
+ 'terms'?: TermsLongTerms;
949
+ /**
950
+ *
951
+ * @type {TermsLongTerms}
952
+ * @memberof TermsTranslationsResponse
953
+ */
954
+ 'translations'?: TermsLongTerms;
955
+ }
956
+ /**
957
+ *
958
+ * @export
959
+ * @interface TranslationAddedResponse
960
+ */
961
+ export interface TranslationAddedResponse {
962
+ /**
963
+ *
964
+ * @type {ResponseResponse}
965
+ * @memberof TranslationAddedResponse
966
+ */
967
+ 'response'?: ResponseResponse;
968
+ /**
969
+ *
970
+ * @type {TranslationsShortAdded}
971
+ * @memberof TranslationAddedResponse
972
+ */
973
+ 'result'?: TranslationsShortAdded;
974
+ }
975
+ /**
976
+ *
977
+ * @export
978
+ * @interface TranslationAutomatedResponse
979
+ */
980
+ export interface TranslationAutomatedResponse {
981
+ /**
982
+ *
983
+ * @type {ResponseResponse}
984
+ * @memberof TranslationAutomatedResponse
985
+ */
986
+ 'response'?: ResponseResponse;
987
+ /**
988
+ *
989
+ * @type {TranslationsShortAutomated}
990
+ * @memberof TranslationAutomatedResponse
991
+ */
992
+ 'result'?: TranslationsShortAutomated;
993
+ }
994
+ /**
995
+ *
996
+ * @export
997
+ * @interface TranslationDeletedResponse
998
+ */
999
+ export interface TranslationDeletedResponse {
1000
+ /**
1001
+ *
1002
+ * @type {ResponseResponse}
1003
+ * @memberof TranslationDeletedResponse
1004
+ */
1005
+ 'response'?: ResponseResponse;
1006
+ /**
1007
+ *
1008
+ * @type {TranslationsShortDeleted}
1009
+ * @memberof TranslationDeletedResponse
1010
+ */
1011
+ 'result'?: TranslationsShortDeleted;
1012
+ }
1013
+ /**
1014
+ *
1015
+ * @export
1016
+ * @interface TranslationUpdatedResponse
1017
+ */
1018
+ export interface TranslationUpdatedResponse {
1019
+ /**
1020
+ *
1021
+ * @type {ResponseResponse}
1022
+ * @memberof TranslationUpdatedResponse
1023
+ */
1024
+ 'response'?: ResponseResponse;
1025
+ /**
1026
+ *
1027
+ * @type {TranslationsShortUpdated}
1028
+ * @memberof TranslationUpdatedResponse
1029
+ */
1030
+ 'result'?: TranslationsShortUpdated;
1031
+ }
1032
+ /**
1033
+ *
1034
+ * @export
1035
+ * @interface TranslationsLong
1036
+ */
1037
+ export interface TranslationsLong {
1038
+ /**
1039
+ *
1040
+ * @type {TermsLongTerms}
1041
+ * @memberof TranslationsLong
1042
+ */
1043
+ 'translations'?: TermsLongTerms;
1044
+ }
1045
+ /**
1046
+ *
1047
+ * @export
1048
+ * @interface TranslationsShort
1049
+ */
1050
+ export interface TranslationsShort {
1051
+ /**
1052
+ *
1053
+ * @type {TranslationsShortTranslations}
1054
+ * @memberof TranslationsShort
1055
+ */
1056
+ 'translations'?: TranslationsShortTranslations;
1057
+ }
1058
+ /**
1059
+ *
1060
+ * @export
1061
+ * @interface TranslationsShortAdded
1062
+ */
1063
+ export interface TranslationsShortAdded {
1064
+ /**
1065
+ *
1066
+ * @type {TermsShortAddedTerms}
1067
+ * @memberof TranslationsShortAdded
1068
+ */
1069
+ 'translations'?: TermsShortAddedTerms;
1070
+ }
1071
+ /**
1072
+ *
1073
+ * @export
1074
+ * @interface TranslationsShortAutomated
1075
+ */
1076
+ export interface TranslationsShortAutomated {
1077
+ /**
1078
+ *
1079
+ * @type {Array<TranslationsShortAutomatedSuccessfulInner>}
1080
+ * @memberof TranslationsShortAutomated
1081
+ */
1082
+ 'successful'?: Array<TranslationsShortAutomatedSuccessfulInner>;
1083
+ /**
1084
+ *
1085
+ * @type {Array<TranslationsShortAutomatedFailedInner>}
1086
+ * @memberof TranslationsShortAutomated
1087
+ */
1088
+ 'failed'?: Array<TranslationsShortAutomatedFailedInner>;
1089
+ }
1090
+ /**
1091
+ *
1092
+ * @export
1093
+ * @interface TranslationsShortAutomatedFailedInner
1094
+ */
1095
+ export interface TranslationsShortAutomatedFailedInner {
1096
+ /**
1097
+ *
1098
+ * @type {string}
1099
+ * @memberof TranslationsShortAutomatedFailedInner
1100
+ */
1101
+ 'source'?: string;
1102
+ /**
1103
+ *
1104
+ * @type {string}
1105
+ * @memberof TranslationsShortAutomatedFailedInner
1106
+ */
1107
+ 'target'?: string;
1108
+ /**
1109
+ *
1110
+ * @type {string}
1111
+ * @memberof TranslationsShortAutomatedFailedInner
1112
+ */
1113
+ 'message'?: string;
1114
+ }
1115
+ /**
1116
+ *
1117
+ * @export
1118
+ * @interface TranslationsShortAutomatedSuccessfulInner
1119
+ */
1120
+ export interface TranslationsShortAutomatedSuccessfulInner {
1121
+ /**
1122
+ *
1123
+ * @type {string}
1124
+ * @memberof TranslationsShortAutomatedSuccessfulInner
1125
+ */
1126
+ 'source'?: string;
1127
+ /**
1128
+ *
1129
+ * @type {string}
1130
+ * @memberof TranslationsShortAutomatedSuccessfulInner
1131
+ */
1132
+ 'target'?: string;
1133
+ /**
1134
+ *
1135
+ * @type {number}
1136
+ * @memberof TranslationsShortAutomatedSuccessfulInner
1137
+ */
1138
+ 'chars'?: number;
1139
+ }
1140
+ /**
1141
+ *
1142
+ * @export
1143
+ * @interface TranslationsShortDeleted
1144
+ */
1145
+ export interface TranslationsShortDeleted {
1146
+ /**
1147
+ *
1148
+ * @type {TermsShortDeletedTerms}
1149
+ * @memberof TranslationsShortDeleted
1150
+ */
1151
+ 'translations'?: TermsShortDeletedTerms;
1152
+ }
1153
+ /**
1154
+ *
1155
+ * @export
1156
+ * @interface TranslationsShortResponse
1157
+ */
1158
+ export interface TranslationsShortResponse {
1159
+ /**
1160
+ *
1161
+ * @type {ResponseResponse}
1162
+ * @memberof TranslationsShortResponse
1163
+ */
1164
+ 'response'?: ResponseResponse;
1165
+ /**
1166
+ *
1167
+ * @type {TranslationsShort}
1168
+ * @memberof TranslationsShortResponse
1169
+ */
1170
+ 'result'?: TranslationsShort;
1171
+ }
1172
+ /**
1173
+ *
1174
+ * @export
1175
+ * @interface TranslationsShortTranslations
1176
+ */
1177
+ export interface TranslationsShortTranslations {
1178
+ /**
1179
+ *
1180
+ * @type {number}
1181
+ * @memberof TranslationsShortTranslations
1182
+ */
1183
+ 'parsed'?: number;
1184
+ /**
1185
+ *
1186
+ * @type {number}
1187
+ * @memberof TranslationsShortTranslations
1188
+ */
1189
+ 'added'?: number;
1190
+ /**
1191
+ *
1192
+ * @type {number}
1193
+ * @memberof TranslationsShortTranslations
1194
+ */
1195
+ 'updated'?: number;
1196
+ }
1197
+ /**
1198
+ *
1199
+ * @export
1200
+ * @interface TranslationsShortUpdated
1201
+ */
1202
+ export interface TranslationsShortUpdated {
1203
+ /**
1204
+ *
1205
+ * @type {TermsShortUpdatedTerms}
1206
+ * @memberof TranslationsShortUpdated
1207
+ */
1208
+ 'translations'?: TermsShortUpdatedTerms;
1209
+ }
1210
+ /**
1211
+ * ContributorsApi - axios parameter creator
1212
+ * @export
1213
+ */
1214
+ export declare const ContributorsApiAxiosParamCreator: (configuration?: Configuration) => {
1215
+ /**
1216
+ * Add Contributor. More details in the [documentation](https://poeditor.com/docs/api#contributors_add).
1217
+ * @summary Adds a contributor to a project language or an administrator to a project.
1218
+ * @param {string} id The id of project
1219
+ * @param {string} name The name of contributor
1220
+ * @param {string} email The email of contributor
1221
+ * @param {string} [apiToken]
1222
+ * @param {string} [language] The language code (Required if adding a contributor)
1223
+ * @param {ContributorsAddAdminEnum} [admin] Set it to 1 for adding as administrator
1224
+ * @param {*} [options] Override http request option.
1225
+ * @throws {RequiredError}
1226
+ */
1227
+ contributorsAdd: (id: string, name: string, email: string, apiToken?: string, language?: string, admin?: ContributorsAddAdminEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1228
+ /**
1229
+ * Remove Contributor. More details in the [documentation](https://poeditor.com/docs/api#contributors_remove).
1230
+ * @summary Removes a contributor from a project language or an admin from a project, if the language is not specified.
1231
+ * @param {string} id The id of project
1232
+ * @param {string} email The email of contributor
1233
+ * @param {string} [apiToken]
1234
+ * @param {string} [language] The language code (Required if removing a contributor from a certain language)
1235
+ * @param {*} [options] Override http request option.
1236
+ * @throws {RequiredError}
1237
+ */
1238
+ contributorsRemove: (id: string, email: string, apiToken?: string, language?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1239
+ /**
1240
+ * List Contributors. More details in the [documentation](https://poeditor.com/docs/api#contributors_list).
1241
+ * @summary Returns the list of contributors from your projects.
1242
+ * @param {string} [apiToken]
1243
+ * @param {string} [id] The id of project (Optional, unless language is set. Then, it becomes required)
1244
+ * @param {string} [language] The language code
1245
+ * @param {*} [options] Override http request option.
1246
+ * @throws {RequiredError}
1247
+ */
1248
+ translationsList: (apiToken?: string, id?: string, language?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1249
+ };
1250
+ /**
1251
+ * ContributorsApi - functional programming interface
1252
+ * @export
1253
+ */
1254
+ export declare const ContributorsApiFp: (configuration?: Configuration) => {
1255
+ /**
1256
+ * Add Contributor. More details in the [documentation](https://poeditor.com/docs/api#contributors_add).
1257
+ * @summary Adds a contributor to a project language or an administrator to a project.
1258
+ * @param {string} id The id of project
1259
+ * @param {string} name The name of contributor
1260
+ * @param {string} email The email of contributor
1261
+ * @param {string} [apiToken]
1262
+ * @param {string} [language] The language code (Required if adding a contributor)
1263
+ * @param {ContributorsAddAdminEnum} [admin] Set it to 1 for adding as administrator
1264
+ * @param {*} [options] Override http request option.
1265
+ * @throws {RequiredError}
1266
+ */
1267
+ contributorsAdd(id: string, name: string, email: string, apiToken?: string, language?: string, admin?: ContributorsAddAdminEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>>;
1268
+ /**
1269
+ * Remove Contributor. More details in the [documentation](https://poeditor.com/docs/api#contributors_remove).
1270
+ * @summary Removes a contributor from a project language or an admin from a project, if the language is not specified.
1271
+ * @param {string} id The id of project
1272
+ * @param {string} email The email of contributor
1273
+ * @param {string} [apiToken]
1274
+ * @param {string} [language] The language code (Required if removing a contributor from a certain language)
1275
+ * @param {*} [options] Override http request option.
1276
+ * @throws {RequiredError}
1277
+ */
1278
+ contributorsRemove(id: string, email: string, apiToken?: string, language?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>>;
1279
+ /**
1280
+ * List Contributors. More details in the [documentation](https://poeditor.com/docs/api#contributors_list).
1281
+ * @summary Returns the list of contributors from your projects.
1282
+ * @param {string} [apiToken]
1283
+ * @param {string} [id] The id of project (Optional, unless language is set. Then, it becomes required)
1284
+ * @param {string} [language] The language code
1285
+ * @param {*} [options] Override http request option.
1286
+ * @throws {RequiredError}
1287
+ */
1288
+ translationsList(apiToken?: string, id?: string, language?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsListResponse>>;
1289
+ };
1290
+ /**
1291
+ * ContributorsApi - factory interface
1292
+ * @export
1293
+ */
1294
+ export declare const ContributorsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1295
+ /**
1296
+ * Add Contributor. More details in the [documentation](https://poeditor.com/docs/api#contributors_add).
1297
+ * @summary Adds a contributor to a project language or an administrator to a project.
1298
+ * @param {string} id The id of project
1299
+ * @param {string} name The name of contributor
1300
+ * @param {string} email The email of contributor
1301
+ * @param {string} [apiToken]
1302
+ * @param {string} [language] The language code (Required if adding a contributor)
1303
+ * @param {ContributorsAddAdminEnum} [admin] Set it to 1 for adding as administrator
1304
+ * @param {*} [options] Override http request option.
1305
+ * @throws {RequiredError}
1306
+ */
1307
+ contributorsAdd(id: string, name: string, email: string, apiToken?: string, language?: string, admin?: ContributorsAddAdminEnum, options?: RawAxiosRequestConfig): AxiosPromise<Response>;
1308
+ /**
1309
+ * Remove Contributor. More details in the [documentation](https://poeditor.com/docs/api#contributors_remove).
1310
+ * @summary Removes a contributor from a project language or an admin from a project, if the language is not specified.
1311
+ * @param {string} id The id of project
1312
+ * @param {string} email The email of contributor
1313
+ * @param {string} [apiToken]
1314
+ * @param {string} [language] The language code (Required if removing a contributor from a certain language)
1315
+ * @param {*} [options] Override http request option.
1316
+ * @throws {RequiredError}
1317
+ */
1318
+ contributorsRemove(id: string, email: string, apiToken?: string, language?: string, options?: RawAxiosRequestConfig): AxiosPromise<Response>;
1319
+ /**
1320
+ * List Contributors. More details in the [documentation](https://poeditor.com/docs/api#contributors_list).
1321
+ * @summary Returns the list of contributors from your projects.
1322
+ * @param {string} [apiToken]
1323
+ * @param {string} [id] The id of project (Optional, unless language is set. Then, it becomes required)
1324
+ * @param {string} [language] The language code
1325
+ * @param {*} [options] Override http request option.
1326
+ * @throws {RequiredError}
1327
+ */
1328
+ translationsList(apiToken?: string, id?: string, language?: string, options?: RawAxiosRequestConfig): AxiosPromise<ContributorsListResponse>;
1329
+ };
1330
+ /**
1331
+ * ContributorsApi - object-oriented interface
1332
+ * @export
1333
+ * @class ContributorsApi
1334
+ * @extends {BaseAPI}
1335
+ */
1336
+ export declare class ContributorsApi extends BaseAPI {
1337
+ /**
1338
+ * Add Contributor. More details in the [documentation](https://poeditor.com/docs/api#contributors_add).
1339
+ * @summary Adds a contributor to a project language or an administrator to a project.
1340
+ * @param {string} id The id of project
1341
+ * @param {string} name The name of contributor
1342
+ * @param {string} email The email of contributor
1343
+ * @param {string} [apiToken]
1344
+ * @param {string} [language] The language code (Required if adding a contributor)
1345
+ * @param {ContributorsAddAdminEnum} [admin] Set it to 1 for adding as administrator
1346
+ * @param {*} [options] Override http request option.
1347
+ * @throws {RequiredError}
1348
+ * @memberof ContributorsApi
1349
+ */
1350
+ contributorsAdd(id: string, name: string, email: string, apiToken?: string, language?: string, admin?: ContributorsAddAdminEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Response, any>>;
1351
+ /**
1352
+ * Remove Contributor. More details in the [documentation](https://poeditor.com/docs/api#contributors_remove).
1353
+ * @summary Removes a contributor from a project language or an admin from a project, if the language is not specified.
1354
+ * @param {string} id The id of project
1355
+ * @param {string} email The email of contributor
1356
+ * @param {string} [apiToken]
1357
+ * @param {string} [language] The language code (Required if removing a contributor from a certain language)
1358
+ * @param {*} [options] Override http request option.
1359
+ * @throws {RequiredError}
1360
+ * @memberof ContributorsApi
1361
+ */
1362
+ contributorsRemove(id: string, email: string, apiToken?: string, language?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Response, any>>;
1363
+ /**
1364
+ * List Contributors. More details in the [documentation](https://poeditor.com/docs/api#contributors_list).
1365
+ * @summary Returns the list of contributors from your projects.
1366
+ * @param {string} [apiToken]
1367
+ * @param {string} [id] The id of project (Optional, unless language is set. Then, it becomes required)
1368
+ * @param {string} [language] The language code
1369
+ * @param {*} [options] Override http request option.
1370
+ * @throws {RequiredError}
1371
+ * @memberof ContributorsApi
1372
+ */
1373
+ translationsList(apiToken?: string, id?: string, language?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ContributorsListResponse, any>>;
1374
+ }
1375
+ /**
1376
+ * @export
1377
+ */
1378
+ export declare const ContributorsAddAdminEnum: {
1379
+ readonly NUMBER_0: 0;
1380
+ readonly NUMBER_1: 1;
1381
+ };
1382
+ export type ContributorsAddAdminEnum = typeof ContributorsAddAdminEnum[keyof typeof ContributorsAddAdminEnum];
1383
+ /**
1384
+ * LanguagesApi - axios parameter creator
1385
+ * @export
1386
+ */
1387
+ export declare const LanguagesApiAxiosParamCreator: (configuration?: Configuration) => {
1388
+ /**
1389
+ * Add Language to Project. More details in the [documentation](https://poeditor.com/docs/api#languages_add).
1390
+ * @summary Adds a new language to project.
1391
+ * @param {number} id
1392
+ * @param {string} language
1393
+ * @param {string} [apiToken]
1394
+ * @param {*} [options] Override http request option.
1395
+ * @throws {RequiredError}
1396
+ */
1397
+ languagesAdd: (id: number, language: string, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1398
+ /**
1399
+ * Delete Language from Project. More details in the [documentation](https://poeditor.com/docs/api#languages_delete).
1400
+ * @summary Deletes existing language from project.
1401
+ * @param {number} id
1402
+ * @param {string} language
1403
+ * @param {string} [apiToken]
1404
+ * @param {*} [options] Override http request option.
1405
+ * @throws {RequiredError}
1406
+ */
1407
+ languagesDelete: (id: number, language: string, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1408
+ /**
1409
+ * List Languages. More details in the [documentation](https://poeditor.com/docs/api#languages_list).
1410
+ * @summary Returns project languages, percentage of translation done for each and the datetime (UTC - ISO 8601) when the last change was made.
1411
+ * @param {number} id
1412
+ * @param {string} [apiToken]
1413
+ * @param {*} [options] Override http request option.
1414
+ * @throws {RequiredError}
1415
+ */
1416
+ languagesList: (id: number, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1417
+ /**
1418
+ * Update Project Language. More details in the [documentation](https://poeditor.com/docs/api#languages_update).
1419
+ * @summary Inserts / overwrites translations.
1420
+ * @param {number} id
1421
+ * @param {string} language The language code
1422
+ * @param {string} data JSON format
1423
+ * @param {string} [apiToken]
1424
+ * @param {LanguagesUpdateFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
1425
+ * @param {*} [options] Override http request option.
1426
+ * @throws {RequiredError}
1427
+ */
1428
+ languagesUpdate: (id: number, language: string, data: string, apiToken?: string, fuzzyTrigger?: LanguagesUpdateFuzzyTriggerEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1429
+ /**
1430
+ * List Languages. More details in the [documentation](https://poeditor.com/docs/api#languages_available).
1431
+ * @summary Returns project languages, percentage of translation done for each and the datetime (UTC - ISO 8601) when the last change was made.
1432
+ * @param {number} id
1433
+ * @param {string} [apiToken]
1434
+ * @param {*} [options] Override http request option.
1435
+ * @throws {RequiredError}
1436
+ */
1437
+ projectsAvailable: (id: number, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1438
+ };
1439
+ /**
1440
+ * LanguagesApi - functional programming interface
1441
+ * @export
1442
+ */
1443
+ export declare const LanguagesApiFp: (configuration?: Configuration) => {
1444
+ /**
1445
+ * Add Language to Project. More details in the [documentation](https://poeditor.com/docs/api#languages_add).
1446
+ * @summary Adds a new language to project.
1447
+ * @param {number} id
1448
+ * @param {string} language
1449
+ * @param {string} [apiToken]
1450
+ * @param {*} [options] Override http request option.
1451
+ * @throws {RequiredError}
1452
+ */
1453
+ languagesAdd(id: number, language: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>>;
1454
+ /**
1455
+ * Delete Language from Project. More details in the [documentation](https://poeditor.com/docs/api#languages_delete).
1456
+ * @summary Deletes existing language from project.
1457
+ * @param {number} id
1458
+ * @param {string} language
1459
+ * @param {string} [apiToken]
1460
+ * @param {*} [options] Override http request option.
1461
+ * @throws {RequiredError}
1462
+ */
1463
+ languagesDelete(id: number, language: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>>;
1464
+ /**
1465
+ * List Languages. More details in the [documentation](https://poeditor.com/docs/api#languages_list).
1466
+ * @summary Returns project languages, percentage of translation done for each and the datetime (UTC - ISO 8601) when the last change was made.
1467
+ * @param {number} id
1468
+ * @param {string} [apiToken]
1469
+ * @param {*} [options] Override http request option.
1470
+ * @throws {RequiredError}
1471
+ */
1472
+ languagesList(id: number, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesListLongResponse>>;
1473
+ /**
1474
+ * Update Project Language. More details in the [documentation](https://poeditor.com/docs/api#languages_update).
1475
+ * @summary Inserts / overwrites translations.
1476
+ * @param {number} id
1477
+ * @param {string} language The language code
1478
+ * @param {string} data JSON format
1479
+ * @param {string} [apiToken]
1480
+ * @param {LanguagesUpdateFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
1481
+ * @param {*} [options] Override http request option.
1482
+ * @throws {RequiredError}
1483
+ */
1484
+ languagesUpdate(id: number, language: string, data: string, apiToken?: string, fuzzyTrigger?: LanguagesUpdateFuzzyTriggerEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslationsShortResponse>>;
1485
+ /**
1486
+ * List Languages. More details in the [documentation](https://poeditor.com/docs/api#languages_available).
1487
+ * @summary Returns project languages, percentage of translation done for each and the datetime (UTC - ISO 8601) when the last change was made.
1488
+ * @param {number} id
1489
+ * @param {string} [apiToken]
1490
+ * @param {*} [options] Override http request option.
1491
+ * @throws {RequiredError}
1492
+ */
1493
+ projectsAvailable(id: number, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesListShortResponse>>;
1494
+ };
1495
+ /**
1496
+ * LanguagesApi - factory interface
1497
+ * @export
1498
+ */
1499
+ export declare const LanguagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1500
+ /**
1501
+ * Add Language to Project. More details in the [documentation](https://poeditor.com/docs/api#languages_add).
1502
+ * @summary Adds a new language to project.
1503
+ * @param {number} id
1504
+ * @param {string} language
1505
+ * @param {string} [apiToken]
1506
+ * @param {*} [options] Override http request option.
1507
+ * @throws {RequiredError}
1508
+ */
1509
+ languagesAdd(id: number, language: string, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<Response>;
1510
+ /**
1511
+ * Delete Language from Project. More details in the [documentation](https://poeditor.com/docs/api#languages_delete).
1512
+ * @summary Deletes existing language from project.
1513
+ * @param {number} id
1514
+ * @param {string} language
1515
+ * @param {string} [apiToken]
1516
+ * @param {*} [options] Override http request option.
1517
+ * @throws {RequiredError}
1518
+ */
1519
+ languagesDelete(id: number, language: string, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<Response>;
1520
+ /**
1521
+ * List Languages. More details in the [documentation](https://poeditor.com/docs/api#languages_list).
1522
+ * @summary Returns project languages, percentage of translation done for each and the datetime (UTC - ISO 8601) when the last change was made.
1523
+ * @param {number} id
1524
+ * @param {string} [apiToken]
1525
+ * @param {*} [options] Override http request option.
1526
+ * @throws {RequiredError}
1527
+ */
1528
+ languagesList(id: number, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<LanguagesListLongResponse>;
1529
+ /**
1530
+ * Update Project Language. More details in the [documentation](https://poeditor.com/docs/api#languages_update).
1531
+ * @summary Inserts / overwrites translations.
1532
+ * @param {number} id
1533
+ * @param {string} language The language code
1534
+ * @param {string} data JSON format
1535
+ * @param {string} [apiToken]
1536
+ * @param {LanguagesUpdateFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
1537
+ * @param {*} [options] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ */
1540
+ languagesUpdate(id: number, language: string, data: string, apiToken?: string, fuzzyTrigger?: LanguagesUpdateFuzzyTriggerEnum, options?: RawAxiosRequestConfig): AxiosPromise<TranslationsShortResponse>;
1541
+ /**
1542
+ * List Languages. More details in the [documentation](https://poeditor.com/docs/api#languages_available).
1543
+ * @summary Returns project languages, percentage of translation done for each and the datetime (UTC - ISO 8601) when the last change was made.
1544
+ * @param {number} id
1545
+ * @param {string} [apiToken]
1546
+ * @param {*} [options] Override http request option.
1547
+ * @throws {RequiredError}
1548
+ */
1549
+ projectsAvailable(id: number, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<LanguagesListShortResponse>;
1550
+ };
1551
+ /**
1552
+ * LanguagesApi - object-oriented interface
1553
+ * @export
1554
+ * @class LanguagesApi
1555
+ * @extends {BaseAPI}
1556
+ */
1557
+ export declare class LanguagesApi extends BaseAPI {
1558
+ /**
1559
+ * Add Language to Project. More details in the [documentation](https://poeditor.com/docs/api#languages_add).
1560
+ * @summary Adds a new language to project.
1561
+ * @param {number} id
1562
+ * @param {string} language
1563
+ * @param {string} [apiToken]
1564
+ * @param {*} [options] Override http request option.
1565
+ * @throws {RequiredError}
1566
+ * @memberof LanguagesApi
1567
+ */
1568
+ languagesAdd(id: number, language: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Response, any>>;
1569
+ /**
1570
+ * Delete Language from Project. More details in the [documentation](https://poeditor.com/docs/api#languages_delete).
1571
+ * @summary Deletes existing language from project.
1572
+ * @param {number} id
1573
+ * @param {string} language
1574
+ * @param {string} [apiToken]
1575
+ * @param {*} [options] Override http request option.
1576
+ * @throws {RequiredError}
1577
+ * @memberof LanguagesApi
1578
+ */
1579
+ languagesDelete(id: number, language: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Response, any>>;
1580
+ /**
1581
+ * List Languages. More details in the [documentation](https://poeditor.com/docs/api#languages_list).
1582
+ * @summary Returns project languages, percentage of translation done for each and the datetime (UTC - ISO 8601) when the last change was made.
1583
+ * @param {number} id
1584
+ * @param {string} [apiToken]
1585
+ * @param {*} [options] Override http request option.
1586
+ * @throws {RequiredError}
1587
+ * @memberof LanguagesApi
1588
+ */
1589
+ languagesList(id: number, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LanguagesListLongResponse, any>>;
1590
+ /**
1591
+ * Update Project Language. More details in the [documentation](https://poeditor.com/docs/api#languages_update).
1592
+ * @summary Inserts / overwrites translations.
1593
+ * @param {number} id
1594
+ * @param {string} language The language code
1595
+ * @param {string} data JSON format
1596
+ * @param {string} [apiToken]
1597
+ * @param {LanguagesUpdateFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
1598
+ * @param {*} [options] Override http request option.
1599
+ * @throws {RequiredError}
1600
+ * @memberof LanguagesApi
1601
+ */
1602
+ languagesUpdate(id: number, language: string, data: string, apiToken?: string, fuzzyTrigger?: LanguagesUpdateFuzzyTriggerEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranslationsShortResponse, any>>;
1603
+ /**
1604
+ * List Languages. More details in the [documentation](https://poeditor.com/docs/api#languages_available).
1605
+ * @summary Returns project languages, percentage of translation done for each and the datetime (UTC - ISO 8601) when the last change was made.
1606
+ * @param {number} id
1607
+ * @param {string} [apiToken]
1608
+ * @param {*} [options] Override http request option.
1609
+ * @throws {RequiredError}
1610
+ * @memberof LanguagesApi
1611
+ */
1612
+ projectsAvailable(id: number, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LanguagesListShortResponse, any>>;
1613
+ }
1614
+ /**
1615
+ * @export
1616
+ */
1617
+ export declare const LanguagesUpdateFuzzyTriggerEnum: {
1618
+ readonly NUMBER_0: 0;
1619
+ readonly NUMBER_1: 1;
1620
+ };
1621
+ export type LanguagesUpdateFuzzyTriggerEnum = typeof LanguagesUpdateFuzzyTriggerEnum[keyof typeof LanguagesUpdateFuzzyTriggerEnum];
1622
+ /**
1623
+ * ProjectsApi - axios parameter creator
1624
+ * @export
1625
+ */
1626
+ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
1627
+ /**
1628
+ * Add Project. More details in the [documentation](https://poeditor.com/docs/api#projects_add).
1629
+ * @summary Creates a new project. Returns project details (if successful).
1630
+ * @param {string} name
1631
+ * @param {string} [apiToken]
1632
+ * @param {string} [description]
1633
+ * @param {*} [options] Override http request option.
1634
+ * @throws {RequiredError}
1635
+ */
1636
+ projectsAdd: (name: string, apiToken?: string, description?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1637
+ /**
1638
+ * Delete Project. More details in the [documentation](https://poeditor.com/docs/api#projects_delete).
1639
+ * @summary Deletes the project from the account. You must be the owner of the project.
1640
+ * @param {number} id
1641
+ * @param {string} [apiToken]
1642
+ * @param {*} [options] Override http request option.
1643
+ * @throws {RequiredError}
1644
+ */
1645
+ projectsDelete: (id: number, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1646
+ /**
1647
+ * Export. More details in the [documentation](https://poeditor.com/docs/api#projects_export).
1648
+ * @summary Returns the link of the file (expires after 10 minutes). The settings inherited from the project will be the ones at the time of the download.
1649
+ * @param {number} id
1650
+ * @param {string} language
1651
+ * @param {ProjectsExportTypeEnum} type
1652
+ * @param {string} [apiToken]
1653
+ * @param {string} [filters]
1654
+ * @param {string} [order]
1655
+ * @param {string} [tags]
1656
+ * @param {ProjectsExportOptionsEnum} [_options]
1657
+ * @param {*} [options] Override http request option.
1658
+ * @throws {RequiredError}
1659
+ */
1660
+ projectsExport: (id: number, language: string, type: ProjectsExportTypeEnum, apiToken?: string, filters?: string, order?: string, tags?: string, _options?: ProjectsExportOptionsEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1661
+ /**
1662
+ * List Projects. More details in the [documentation](https://poeditor.com/docs/api#projects_list).
1663
+ * @summary Returns the list of projects owned by user.
1664
+ * @param {string} apiToken
1665
+ * @param {*} [options] Override http request option.
1666
+ * @throws {RequiredError}
1667
+ */
1668
+ projectsList: (apiToken: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1669
+ /**
1670
+ * Sync Terms. More details in the [documentation](https://poeditor.com/docs/api#projects_sync).
1671
+ * @summary Syncs your project with the array you send (terms that are not found in the JSON object will be deleted from project and the new ones added). Please use with caution. If wrong data is sent, existing terms and their translations might be irreversibly lost.
1672
+ * @param {number} id
1673
+ * @param {string} data JSON format
1674
+ * @param {string} [apiToken]
1675
+ * @param {*} [options] Override http request option.
1676
+ * @throws {RequiredError}
1677
+ */
1678
+ projectsSync: (id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1679
+ /**
1680
+ * Update Project Settings. More details in the [documentation](https://poeditor.com/docs/api#projects_update).
1681
+ * @summary Updates project settings (name, description, reference language, fallback language). If optional parameters are not sent, their respective fields are not updated.
1682
+ * @param {number} id
1683
+ * @param {string} [apiToken]
1684
+ * @param {string} [name]
1685
+ * @param {string} [description]
1686
+ * @param {string} [referenceLanguage]
1687
+ * @param {string} [fallbackLanguage]
1688
+ * @param {*} [options] Override http request option.
1689
+ * @throws {RequiredError}
1690
+ */
1691
+ projectsUpdate: (id: number, apiToken?: string, name?: string, description?: string, referenceLanguage?: string, fallbackLanguage?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1692
+ /**
1693
+ * Upload. More details in the [documentation](https://poeditor.com/docs/api#projects_upload).
1694
+ * @summary Updates terms / translations - No more than one request every 20 seconds.
1695
+ * @param {ProjectsUploadUpdatingEnum} updating
1696
+ * @param {File} file Uploaded file (.po, .xls or any of the supported file formats)
1697
+ * @param {string} [apiToken]
1698
+ * @param {number} [id]
1699
+ * @param {string} [language] The language code (Required only if &#x60;updating&#x60; is terms_translations or translations). When using &#x60;terms_translations&#x60; with &#x60;.xcstrings&#x60; file format, leave it empty to import all the languages in the file.
1700
+ * @param {ProjectsUploadOverwriteEnum} [overwrite] Set it to 1 if you want to overwrite translations
1701
+ * @param {ProjectsUploadSyncTermsEnum} [syncTerms] Set it to 1 if you want to sync your terms (terms that are not found in the uploaded file will be deleted from project and the new ones added). Ignored if &#x60;updating&#x60; &#x3D; translations.
1702
+ * @param {string} [tags] Add tags to the project terms; available when updating terms or terms_translations; you can use the following keys: \\\&quot;all\\\&quot; - for the all the imported terms, \\\&quot;new\\\&quot; - for the terms which arent already in the project, \\\&quot;obsolete\\\&quot; - for the terms which are in the project but not in the imported file and \\\&quot;overwritten_translations\\\&quot; - for the terms for which translations change
1703
+ * @param {ProjectsUploadReadFromSourceEnum} [readFromSource] For .xliff format only - set it to 1 if you want to import translations from the source tag
1704
+ * @param {ProjectsUploadFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
1705
+ * @param {*} [options] Override http request option.
1706
+ * @throws {RequiredError}
1707
+ */
1708
+ projectsUpload: (updating: ProjectsUploadUpdatingEnum, file: File, apiToken?: string, id?: number, language?: string, overwrite?: ProjectsUploadOverwriteEnum, syncTerms?: ProjectsUploadSyncTermsEnum, tags?: string, readFromSource?: ProjectsUploadReadFromSourceEnum, fuzzyTrigger?: ProjectsUploadFuzzyTriggerEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1709
+ /**
1710
+ * View Project Details. More details in the [documentation](https://poeditor.com/docs/api#projects_view).
1711
+ * @summary Returns projects details
1712
+ * @param {number} id
1713
+ * @param {string} [apiToken]
1714
+ * @param {*} [options] Override http request option.
1715
+ * @throws {RequiredError}
1716
+ */
1717
+ projectsView: (id: number, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1718
+ };
1719
+ /**
1720
+ * ProjectsApi - functional programming interface
1721
+ * @export
1722
+ */
1723
+ export declare const ProjectsApiFp: (configuration?: Configuration) => {
1724
+ /**
1725
+ * Add Project. More details in the [documentation](https://poeditor.com/docs/api#projects_add).
1726
+ * @summary Creates a new project. Returns project details (if successful).
1727
+ * @param {string} name
1728
+ * @param {string} [apiToken]
1729
+ * @param {string} [description]
1730
+ * @param {*} [options] Override http request option.
1731
+ * @throws {RequiredError}
1732
+ */
1733
+ projectsAdd(name: string, apiToken?: string, description?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectViewResponse>>;
1734
+ /**
1735
+ * Delete Project. More details in the [documentation](https://poeditor.com/docs/api#projects_delete).
1736
+ * @summary Deletes the project from the account. You must be the owner of the project.
1737
+ * @param {number} id
1738
+ * @param {string} [apiToken]
1739
+ * @param {*} [options] Override http request option.
1740
+ * @throws {RequiredError}
1741
+ */
1742
+ projectsDelete(id: number, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>>;
1743
+ /**
1744
+ * Export. More details in the [documentation](https://poeditor.com/docs/api#projects_export).
1745
+ * @summary Returns the link of the file (expires after 10 minutes). The settings inherited from the project will be the ones at the time of the download.
1746
+ * @param {number} id
1747
+ * @param {string} language
1748
+ * @param {ProjectsExportTypeEnum} type
1749
+ * @param {string} [apiToken]
1750
+ * @param {string} [filters]
1751
+ * @param {string} [order]
1752
+ * @param {string} [tags]
1753
+ * @param {ProjectsExportOptionsEnum} [_options]
1754
+ * @param {*} [options] Override http request option.
1755
+ * @throws {RequiredError}
1756
+ */
1757
+ projectsExport(id: number, language: string, type: ProjectsExportTypeEnum, apiToken?: string, filters?: string, order?: string, tags?: string, _options?: ProjectsExportOptionsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectExportResponse>>;
1758
+ /**
1759
+ * List Projects. More details in the [documentation](https://poeditor.com/docs/api#projects_list).
1760
+ * @summary Returns the list of projects owned by user.
1761
+ * @param {string} apiToken
1762
+ * @param {*} [options] Override http request option.
1763
+ * @throws {RequiredError}
1764
+ */
1765
+ projectsList(apiToken: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectListResponse>>;
1766
+ /**
1767
+ * Sync Terms. More details in the [documentation](https://poeditor.com/docs/api#projects_sync).
1768
+ * @summary Syncs your project with the array you send (terms that are not found in the JSON object will be deleted from project and the new ones added). Please use with caution. If wrong data is sent, existing terms and their translations might be irreversibly lost.
1769
+ * @param {number} id
1770
+ * @param {string} data JSON format
1771
+ * @param {string} [apiToken]
1772
+ * @param {*} [options] Override http request option.
1773
+ * @throws {RequiredError}
1774
+ */
1775
+ projectsSync(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectSyncResponse>>;
1776
+ /**
1777
+ * Update Project Settings. More details in the [documentation](https://poeditor.com/docs/api#projects_update).
1778
+ * @summary Updates project settings (name, description, reference language, fallback language). If optional parameters are not sent, their respective fields are not updated.
1779
+ * @param {number} id
1780
+ * @param {string} [apiToken]
1781
+ * @param {string} [name]
1782
+ * @param {string} [description]
1783
+ * @param {string} [referenceLanguage]
1784
+ * @param {string} [fallbackLanguage]
1785
+ * @param {*} [options] Override http request option.
1786
+ * @throws {RequiredError}
1787
+ */
1788
+ projectsUpdate(id: number, apiToken?: string, name?: string, description?: string, referenceLanguage?: string, fallbackLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectViewResponse>>;
1789
+ /**
1790
+ * Upload. More details in the [documentation](https://poeditor.com/docs/api#projects_upload).
1791
+ * @summary Updates terms / translations - No more than one request every 20 seconds.
1792
+ * @param {ProjectsUploadUpdatingEnum} updating
1793
+ * @param {File} file Uploaded file (.po, .xls or any of the supported file formats)
1794
+ * @param {string} [apiToken]
1795
+ * @param {number} [id]
1796
+ * @param {string} [language] The language code (Required only if &#x60;updating&#x60; is terms_translations or translations). When using &#x60;terms_translations&#x60; with &#x60;.xcstrings&#x60; file format, leave it empty to import all the languages in the file.
1797
+ * @param {ProjectsUploadOverwriteEnum} [overwrite] Set it to 1 if you want to overwrite translations
1798
+ * @param {ProjectsUploadSyncTermsEnum} [syncTerms] Set it to 1 if you want to sync your terms (terms that are not found in the uploaded file will be deleted from project and the new ones added). Ignored if &#x60;updating&#x60; &#x3D; translations.
1799
+ * @param {string} [tags] Add tags to the project terms; available when updating terms or terms_translations; you can use the following keys: \\\&quot;all\\\&quot; - for the all the imported terms, \\\&quot;new\\\&quot; - for the terms which arent already in the project, \\\&quot;obsolete\\\&quot; - for the terms which are in the project but not in the imported file and \\\&quot;overwritten_translations\\\&quot; - for the terms for which translations change
1800
+ * @param {ProjectsUploadReadFromSourceEnum} [readFromSource] For .xliff format only - set it to 1 if you want to import translations from the source tag
1801
+ * @param {ProjectsUploadFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
1802
+ * @param {*} [options] Override http request option.
1803
+ * @throws {RequiredError}
1804
+ */
1805
+ projectsUpload(updating: ProjectsUploadUpdatingEnum, file: File, apiToken?: string, id?: number, language?: string, overwrite?: ProjectsUploadOverwriteEnum, syncTerms?: ProjectsUploadSyncTermsEnum, tags?: string, readFromSource?: ProjectsUploadReadFromSourceEnum, fuzzyTrigger?: ProjectsUploadFuzzyTriggerEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectUploadResponse>>;
1806
+ /**
1807
+ * View Project Details. More details in the [documentation](https://poeditor.com/docs/api#projects_view).
1808
+ * @summary Returns projects details
1809
+ * @param {number} id
1810
+ * @param {string} [apiToken]
1811
+ * @param {*} [options] Override http request option.
1812
+ * @throws {RequiredError}
1813
+ */
1814
+ projectsView(id: number, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectViewResponse>>;
1815
+ };
1816
+ /**
1817
+ * ProjectsApi - factory interface
1818
+ * @export
1819
+ */
1820
+ export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1821
+ /**
1822
+ * Add Project. More details in the [documentation](https://poeditor.com/docs/api#projects_add).
1823
+ * @summary Creates a new project. Returns project details (if successful).
1824
+ * @param {string} name
1825
+ * @param {string} [apiToken]
1826
+ * @param {string} [description]
1827
+ * @param {*} [options] Override http request option.
1828
+ * @throws {RequiredError}
1829
+ */
1830
+ projectsAdd(name: string, apiToken?: string, description?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectViewResponse>;
1831
+ /**
1832
+ * Delete Project. More details in the [documentation](https://poeditor.com/docs/api#projects_delete).
1833
+ * @summary Deletes the project from the account. You must be the owner of the project.
1834
+ * @param {number} id
1835
+ * @param {string} [apiToken]
1836
+ * @param {*} [options] Override http request option.
1837
+ * @throws {RequiredError}
1838
+ */
1839
+ projectsDelete(id: number, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<Response>;
1840
+ /**
1841
+ * Export. More details in the [documentation](https://poeditor.com/docs/api#projects_export).
1842
+ * @summary Returns the link of the file (expires after 10 minutes). The settings inherited from the project will be the ones at the time of the download.
1843
+ * @param {number} id
1844
+ * @param {string} language
1845
+ * @param {ProjectsExportTypeEnum} type
1846
+ * @param {string} [apiToken]
1847
+ * @param {string} [filters]
1848
+ * @param {string} [order]
1849
+ * @param {string} [tags]
1850
+ * @param {ProjectsExportOptionsEnum} [_options]
1851
+ * @param {*} [options] Override http request option.
1852
+ * @throws {RequiredError}
1853
+ */
1854
+ projectsExport(id: number, language: string, type: ProjectsExportTypeEnum, apiToken?: string, filters?: string, order?: string, tags?: string, _options?: ProjectsExportOptionsEnum, options?: RawAxiosRequestConfig): AxiosPromise<ProjectExportResponse>;
1855
+ /**
1856
+ * List Projects. More details in the [documentation](https://poeditor.com/docs/api#projects_list).
1857
+ * @summary Returns the list of projects owned by user.
1858
+ * @param {string} apiToken
1859
+ * @param {*} [options] Override http request option.
1860
+ * @throws {RequiredError}
1861
+ */
1862
+ projectsList(apiToken: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectListResponse>;
1863
+ /**
1864
+ * Sync Terms. More details in the [documentation](https://poeditor.com/docs/api#projects_sync).
1865
+ * @summary Syncs your project with the array you send (terms that are not found in the JSON object will be deleted from project and the new ones added). Please use with caution. If wrong data is sent, existing terms and their translations might be irreversibly lost.
1866
+ * @param {number} id
1867
+ * @param {string} data JSON format
1868
+ * @param {string} [apiToken]
1869
+ * @param {*} [options] Override http request option.
1870
+ * @throws {RequiredError}
1871
+ */
1872
+ projectsSync(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectSyncResponse>;
1873
+ /**
1874
+ * Update Project Settings. More details in the [documentation](https://poeditor.com/docs/api#projects_update).
1875
+ * @summary Updates project settings (name, description, reference language, fallback language). If optional parameters are not sent, their respective fields are not updated.
1876
+ * @param {number} id
1877
+ * @param {string} [apiToken]
1878
+ * @param {string} [name]
1879
+ * @param {string} [description]
1880
+ * @param {string} [referenceLanguage]
1881
+ * @param {string} [fallbackLanguage]
1882
+ * @param {*} [options] Override http request option.
1883
+ * @throws {RequiredError}
1884
+ */
1885
+ projectsUpdate(id: number, apiToken?: string, name?: string, description?: string, referenceLanguage?: string, fallbackLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectViewResponse>;
1886
+ /**
1887
+ * Upload. More details in the [documentation](https://poeditor.com/docs/api#projects_upload).
1888
+ * @summary Updates terms / translations - No more than one request every 20 seconds.
1889
+ * @param {ProjectsUploadUpdatingEnum} updating
1890
+ * @param {File} file Uploaded file (.po, .xls or any of the supported file formats)
1891
+ * @param {string} [apiToken]
1892
+ * @param {number} [id]
1893
+ * @param {string} [language] The language code (Required only if &#x60;updating&#x60; is terms_translations or translations). When using &#x60;terms_translations&#x60; with &#x60;.xcstrings&#x60; file format, leave it empty to import all the languages in the file.
1894
+ * @param {ProjectsUploadOverwriteEnum} [overwrite] Set it to 1 if you want to overwrite translations
1895
+ * @param {ProjectsUploadSyncTermsEnum} [syncTerms] Set it to 1 if you want to sync your terms (terms that are not found in the uploaded file will be deleted from project and the new ones added). Ignored if &#x60;updating&#x60; &#x3D; translations.
1896
+ * @param {string} [tags] Add tags to the project terms; available when updating terms or terms_translations; you can use the following keys: \\\&quot;all\\\&quot; - for the all the imported terms, \\\&quot;new\\\&quot; - for the terms which arent already in the project, \\\&quot;obsolete\\\&quot; - for the terms which are in the project but not in the imported file and \\\&quot;overwritten_translations\\\&quot; - for the terms for which translations change
1897
+ * @param {ProjectsUploadReadFromSourceEnum} [readFromSource] For .xliff format only - set it to 1 if you want to import translations from the source tag
1898
+ * @param {ProjectsUploadFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
1899
+ * @param {*} [options] Override http request option.
1900
+ * @throws {RequiredError}
1901
+ */
1902
+ projectsUpload(updating: ProjectsUploadUpdatingEnum, file: File, apiToken?: string, id?: number, language?: string, overwrite?: ProjectsUploadOverwriteEnum, syncTerms?: ProjectsUploadSyncTermsEnum, tags?: string, readFromSource?: ProjectsUploadReadFromSourceEnum, fuzzyTrigger?: ProjectsUploadFuzzyTriggerEnum, options?: RawAxiosRequestConfig): AxiosPromise<ProjectUploadResponse>;
1903
+ /**
1904
+ * View Project Details. More details in the [documentation](https://poeditor.com/docs/api#projects_view).
1905
+ * @summary Returns projects details
1906
+ * @param {number} id
1907
+ * @param {string} [apiToken]
1908
+ * @param {*} [options] Override http request option.
1909
+ * @throws {RequiredError}
1910
+ */
1911
+ projectsView(id: number, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectViewResponse>;
1912
+ };
1913
+ /**
1914
+ * ProjectsApi - object-oriented interface
1915
+ * @export
1916
+ * @class ProjectsApi
1917
+ * @extends {BaseAPI}
1918
+ */
1919
+ export declare class ProjectsApi extends BaseAPI {
1920
+ /**
1921
+ * Add Project. More details in the [documentation](https://poeditor.com/docs/api#projects_add).
1922
+ * @summary Creates a new project. Returns project details (if successful).
1923
+ * @param {string} name
1924
+ * @param {string} [apiToken]
1925
+ * @param {string} [description]
1926
+ * @param {*} [options] Override http request option.
1927
+ * @throws {RequiredError}
1928
+ * @memberof ProjectsApi
1929
+ */
1930
+ projectsAdd(name: string, apiToken?: string, description?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectViewResponse, any>>;
1931
+ /**
1932
+ * Delete Project. More details in the [documentation](https://poeditor.com/docs/api#projects_delete).
1933
+ * @summary Deletes the project from the account. You must be the owner of the project.
1934
+ * @param {number} id
1935
+ * @param {string} [apiToken]
1936
+ * @param {*} [options] Override http request option.
1937
+ * @throws {RequiredError}
1938
+ * @memberof ProjectsApi
1939
+ */
1940
+ projectsDelete(id: number, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Response, any>>;
1941
+ /**
1942
+ * Export. More details in the [documentation](https://poeditor.com/docs/api#projects_export).
1943
+ * @summary Returns the link of the file (expires after 10 minutes). The settings inherited from the project will be the ones at the time of the download.
1944
+ * @param {number} id
1945
+ * @param {string} language
1946
+ * @param {ProjectsExportTypeEnum} type
1947
+ * @param {string} [apiToken]
1948
+ * @param {string} [filters]
1949
+ * @param {string} [order]
1950
+ * @param {string} [tags]
1951
+ * @param {ProjectsExportOptionsEnum} [_options]
1952
+ * @param {*} [options] Override http request option.
1953
+ * @throws {RequiredError}
1954
+ * @memberof ProjectsApi
1955
+ */
1956
+ projectsExport(id: number, language: string, type: ProjectsExportTypeEnum, apiToken?: string, filters?: string, order?: string, tags?: string, _options?: ProjectsExportOptionsEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectExportResponse, any>>;
1957
+ /**
1958
+ * List Projects. More details in the [documentation](https://poeditor.com/docs/api#projects_list).
1959
+ * @summary Returns the list of projects owned by user.
1960
+ * @param {string} apiToken
1961
+ * @param {*} [options] Override http request option.
1962
+ * @throws {RequiredError}
1963
+ * @memberof ProjectsApi
1964
+ */
1965
+ projectsList(apiToken: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectListResponse, any>>;
1966
+ /**
1967
+ * Sync Terms. More details in the [documentation](https://poeditor.com/docs/api#projects_sync).
1968
+ * @summary Syncs your project with the array you send (terms that are not found in the JSON object will be deleted from project and the new ones added). Please use with caution. If wrong data is sent, existing terms and their translations might be irreversibly lost.
1969
+ * @param {number} id
1970
+ * @param {string} data JSON format
1971
+ * @param {string} [apiToken]
1972
+ * @param {*} [options] Override http request option.
1973
+ * @throws {RequiredError}
1974
+ * @memberof ProjectsApi
1975
+ */
1976
+ projectsSync(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectSyncResponse, any>>;
1977
+ /**
1978
+ * Update Project Settings. More details in the [documentation](https://poeditor.com/docs/api#projects_update).
1979
+ * @summary Updates project settings (name, description, reference language, fallback language). If optional parameters are not sent, their respective fields are not updated.
1980
+ * @param {number} id
1981
+ * @param {string} [apiToken]
1982
+ * @param {string} [name]
1983
+ * @param {string} [description]
1984
+ * @param {string} [referenceLanguage]
1985
+ * @param {string} [fallbackLanguage]
1986
+ * @param {*} [options] Override http request option.
1987
+ * @throws {RequiredError}
1988
+ * @memberof ProjectsApi
1989
+ */
1990
+ projectsUpdate(id: number, apiToken?: string, name?: string, description?: string, referenceLanguage?: string, fallbackLanguage?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectViewResponse, any>>;
1991
+ /**
1992
+ * Upload. More details in the [documentation](https://poeditor.com/docs/api#projects_upload).
1993
+ * @summary Updates terms / translations - No more than one request every 20 seconds.
1994
+ * @param {ProjectsUploadUpdatingEnum} updating
1995
+ * @param {File} file Uploaded file (.po, .xls or any of the supported file formats)
1996
+ * @param {string} [apiToken]
1997
+ * @param {number} [id]
1998
+ * @param {string} [language] The language code (Required only if &#x60;updating&#x60; is terms_translations or translations). When using &#x60;terms_translations&#x60; with &#x60;.xcstrings&#x60; file format, leave it empty to import all the languages in the file.
1999
+ * @param {ProjectsUploadOverwriteEnum} [overwrite] Set it to 1 if you want to overwrite translations
2000
+ * @param {ProjectsUploadSyncTermsEnum} [syncTerms] Set it to 1 if you want to sync your terms (terms that are not found in the uploaded file will be deleted from project and the new ones added). Ignored if &#x60;updating&#x60; &#x3D; translations.
2001
+ * @param {string} [tags] Add tags to the project terms; available when updating terms or terms_translations; you can use the following keys: \\\&quot;all\\\&quot; - for the all the imported terms, \\\&quot;new\\\&quot; - for the terms which arent already in the project, \\\&quot;obsolete\\\&quot; - for the terms which are in the project but not in the imported file and \\\&quot;overwritten_translations\\\&quot; - for the terms for which translations change
2002
+ * @param {ProjectsUploadReadFromSourceEnum} [readFromSource] For .xliff format only - set it to 1 if you want to import translations from the source tag
2003
+ * @param {ProjectsUploadFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
2004
+ * @param {*} [options] Override http request option.
2005
+ * @throws {RequiredError}
2006
+ * @memberof ProjectsApi
2007
+ */
2008
+ projectsUpload(updating: ProjectsUploadUpdatingEnum, file: File, apiToken?: string, id?: number, language?: string, overwrite?: ProjectsUploadOverwriteEnum, syncTerms?: ProjectsUploadSyncTermsEnum, tags?: string, readFromSource?: ProjectsUploadReadFromSourceEnum, fuzzyTrigger?: ProjectsUploadFuzzyTriggerEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectUploadResponse, any>>;
2009
+ /**
2010
+ * View Project Details. More details in the [documentation](https://poeditor.com/docs/api#projects_view).
2011
+ * @summary Returns projects details
2012
+ * @param {number} id
2013
+ * @param {string} [apiToken]
2014
+ * @param {*} [options] Override http request option.
2015
+ * @throws {RequiredError}
2016
+ * @memberof ProjectsApi
2017
+ */
2018
+ projectsView(id: number, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectViewResponse, any>>;
2019
+ }
2020
+ /**
2021
+ * @export
2022
+ */
2023
+ export declare const ProjectsExportTypeEnum: {
2024
+ readonly Arb: "arb";
2025
+ readonly Csv: "csv";
2026
+ readonly Ini: "ini";
2027
+ readonly KeyValueJson: "key_value_json";
2028
+ readonly I18next: "i18next";
2029
+ readonly Json: "json";
2030
+ readonly Po: "po";
2031
+ readonly Pot: "pot";
2032
+ readonly Mo: "mo";
2033
+ readonly Properties: "properties";
2034
+ readonly Resw: "resw";
2035
+ readonly Resx: "resx";
2036
+ readonly Ts: "ts";
2037
+ readonly AppleStrings: "apple_strings";
2038
+ readonly Xliff: "xliff";
2039
+ readonly Xliff12: "xliff_1_2";
2040
+ readonly Xlf: "xlf";
2041
+ readonly Xmb: "xmb";
2042
+ readonly Xtb: "xtb";
2043
+ readonly Rise360Xliff: "rise_360_xliff";
2044
+ readonly Xls: "xls";
2045
+ readonly Xlsx: "xlsx";
2046
+ readonly AndroidStrings: "android_strings";
2047
+ readonly Yml: "yml";
2048
+ readonly Php: "php";
2049
+ };
2050
+ export type ProjectsExportTypeEnum = typeof ProjectsExportTypeEnum[keyof typeof ProjectsExportTypeEnum];
2051
+ /**
2052
+ * @export
2053
+ */
2054
+ export declare const ProjectsExportOptionsEnum: {
2055
+ readonly Unquoted1: "[{\"unquoted\": 1}]";
2056
+ readonly Unencoded1: "[{\"unencoded\": 1}]";
2057
+ readonly ExportAll1: "[{\"export_all\": 1}]";
2058
+ };
2059
+ export type ProjectsExportOptionsEnum = typeof ProjectsExportOptionsEnum[keyof typeof ProjectsExportOptionsEnum];
2060
+ /**
2061
+ * @export
2062
+ */
2063
+ export declare const ProjectsUploadUpdatingEnum: {
2064
+ readonly Terms: "terms";
2065
+ readonly Translations: "translations";
2066
+ readonly TermsTranslations: "terms_translations";
2067
+ };
2068
+ export type ProjectsUploadUpdatingEnum = typeof ProjectsUploadUpdatingEnum[keyof typeof ProjectsUploadUpdatingEnum];
2069
+ /**
2070
+ * @export
2071
+ */
2072
+ export declare const ProjectsUploadOverwriteEnum: {
2073
+ readonly NUMBER_0: 0;
2074
+ readonly NUMBER_1: 1;
2075
+ };
2076
+ export type ProjectsUploadOverwriteEnum = typeof ProjectsUploadOverwriteEnum[keyof typeof ProjectsUploadOverwriteEnum];
2077
+ /**
2078
+ * @export
2079
+ */
2080
+ export declare const ProjectsUploadSyncTermsEnum: {
2081
+ readonly NUMBER_0: 0;
2082
+ readonly NUMBER_1: 1;
2083
+ };
2084
+ export type ProjectsUploadSyncTermsEnum = typeof ProjectsUploadSyncTermsEnum[keyof typeof ProjectsUploadSyncTermsEnum];
2085
+ /**
2086
+ * @export
2087
+ */
2088
+ export declare const ProjectsUploadReadFromSourceEnum: {
2089
+ readonly NUMBER_0: 0;
2090
+ readonly NUMBER_1: 1;
2091
+ };
2092
+ export type ProjectsUploadReadFromSourceEnum = typeof ProjectsUploadReadFromSourceEnum[keyof typeof ProjectsUploadReadFromSourceEnum];
2093
+ /**
2094
+ * @export
2095
+ */
2096
+ export declare const ProjectsUploadFuzzyTriggerEnum: {
2097
+ readonly NUMBER_0: 0;
2098
+ readonly NUMBER_1: 1;
2099
+ };
2100
+ export type ProjectsUploadFuzzyTriggerEnum = typeof ProjectsUploadFuzzyTriggerEnum[keyof typeof ProjectsUploadFuzzyTriggerEnum];
2101
+ /**
2102
+ * TermsApi - axios parameter creator
2103
+ * @export
2104
+ */
2105
+ export declare const TermsApiAxiosParamCreator: (configuration?: Configuration) => {
2106
+ /**
2107
+ * Add Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_add).
2108
+ * @summary Adds terms to project.
2109
+ * @param {number} id
2110
+ * @param {string} data JSON format
2111
+ * @param {string} [apiToken]
2112
+ * @param {*} [options] Override http request option.
2113
+ * @throws {RequiredError}
2114
+ */
2115
+ termsAdd: (id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2116
+ /**
2117
+ * Add Comment. More details in the [documentation](https://poeditor.com/docs/api#terms_add_comment).
2118
+ * @summary Adds comments to existing terms.
2119
+ * @param {number} id
2120
+ * @param {string} data JSON format
2121
+ * @param {string} [apiToken]
2122
+ * @param {*} [options] Override http request option.
2123
+ * @throws {RequiredError}
2124
+ */
2125
+ termsAddComment: (id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2126
+ /**
2127
+ * Delete Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_delete).
2128
+ * @summary Deletes terms from project.
2129
+ * @param {number} id
2130
+ * @param {string} data JSON format
2131
+ * @param {string} [apiToken]
2132
+ * @param {*} [options] Override http request option.
2133
+ * @throws {RequiredError}
2134
+ */
2135
+ termsDelete: (id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2136
+ /**
2137
+ * List Project Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_list).
2138
+ * @summary Returns project\'s terms and translations if the argument language is provided.
2139
+ * @param {number} id
2140
+ * @param {string} [apiToken]
2141
+ * @param {string} [language] The language code
2142
+ * @param {*} [options] Override http request option.
2143
+ * @throws {RequiredError}
2144
+ */
2145
+ termsList: (id: number, apiToken?: string, language?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2146
+ /**
2147
+ * Update Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_update).
2148
+ * @summary Updates project terms. Lets you change the text, context, reference, plural and tags.
2149
+ * @param {number} id
2150
+ * @param {string} data JSON format
2151
+ * @param {string} [apiToken]
2152
+ * @param {TermsUpdateFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
2153
+ * @param {*} [options] Override http request option.
2154
+ * @throws {RequiredError}
2155
+ */
2156
+ termsUpdate: (id: number, data: string, apiToken?: string, fuzzyTrigger?: TermsUpdateFuzzyTriggerEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2157
+ };
2158
+ /**
2159
+ * TermsApi - functional programming interface
2160
+ * @export
2161
+ */
2162
+ export declare const TermsApiFp: (configuration?: Configuration) => {
2163
+ /**
2164
+ * Add Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_add).
2165
+ * @summary Adds terms to project.
2166
+ * @param {number} id
2167
+ * @param {string} data JSON format
2168
+ * @param {string} [apiToken]
2169
+ * @param {*} [options] Override http request option.
2170
+ * @throws {RequiredError}
2171
+ */
2172
+ termsAdd(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TermAddedResponse>>;
2173
+ /**
2174
+ * Add Comment. More details in the [documentation](https://poeditor.com/docs/api#terms_add_comment).
2175
+ * @summary Adds comments to existing terms.
2176
+ * @param {number} id
2177
+ * @param {string} data JSON format
2178
+ * @param {string} [apiToken]
2179
+ * @param {*} [options] Override http request option.
2180
+ * @throws {RequiredError}
2181
+ */
2182
+ termsAddComment(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TermAddCommentResponse>>;
2183
+ /**
2184
+ * Delete Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_delete).
2185
+ * @summary Deletes terms from project.
2186
+ * @param {number} id
2187
+ * @param {string} data JSON format
2188
+ * @param {string} [apiToken]
2189
+ * @param {*} [options] Override http request option.
2190
+ * @throws {RequiredError}
2191
+ */
2192
+ termsDelete(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TermDeletedResponse>>;
2193
+ /**
2194
+ * List Project Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_list).
2195
+ * @summary Returns project\'s terms and translations if the argument language is provided.
2196
+ * @param {number} id
2197
+ * @param {string} [apiToken]
2198
+ * @param {string} [language] The language code
2199
+ * @param {*} [options] Override http request option.
2200
+ * @throws {RequiredError}
2201
+ */
2202
+ termsList(id: number, apiToken?: string, language?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TermsListFullResponse>>;
2203
+ /**
2204
+ * Update Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_update).
2205
+ * @summary Updates project terms. Lets you change the text, context, reference, plural and tags.
2206
+ * @param {number} id
2207
+ * @param {string} data JSON format
2208
+ * @param {string} [apiToken]
2209
+ * @param {TermsUpdateFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
2210
+ * @param {*} [options] Override http request option.
2211
+ * @throws {RequiredError}
2212
+ */
2213
+ termsUpdate(id: number, data: string, apiToken?: string, fuzzyTrigger?: TermsUpdateFuzzyTriggerEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TermUpdatedResponse>>;
2214
+ };
2215
+ /**
2216
+ * TermsApi - factory interface
2217
+ * @export
2218
+ */
2219
+ export declare const TermsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2220
+ /**
2221
+ * Add Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_add).
2222
+ * @summary Adds terms to project.
2223
+ * @param {number} id
2224
+ * @param {string} data JSON format
2225
+ * @param {string} [apiToken]
2226
+ * @param {*} [options] Override http request option.
2227
+ * @throws {RequiredError}
2228
+ */
2229
+ termsAdd(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<TermAddedResponse>;
2230
+ /**
2231
+ * Add Comment. More details in the [documentation](https://poeditor.com/docs/api#terms_add_comment).
2232
+ * @summary Adds comments to existing terms.
2233
+ * @param {number} id
2234
+ * @param {string} data JSON format
2235
+ * @param {string} [apiToken]
2236
+ * @param {*} [options] Override http request option.
2237
+ * @throws {RequiredError}
2238
+ */
2239
+ termsAddComment(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<TermAddCommentResponse>;
2240
+ /**
2241
+ * Delete Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_delete).
2242
+ * @summary Deletes terms from project.
2243
+ * @param {number} id
2244
+ * @param {string} data JSON format
2245
+ * @param {string} [apiToken]
2246
+ * @param {*} [options] Override http request option.
2247
+ * @throws {RequiredError}
2248
+ */
2249
+ termsDelete(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<TermDeletedResponse>;
2250
+ /**
2251
+ * List Project Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_list).
2252
+ * @summary Returns project\'s terms and translations if the argument language is provided.
2253
+ * @param {number} id
2254
+ * @param {string} [apiToken]
2255
+ * @param {string} [language] The language code
2256
+ * @param {*} [options] Override http request option.
2257
+ * @throws {RequiredError}
2258
+ */
2259
+ termsList(id: number, apiToken?: string, language?: string, options?: RawAxiosRequestConfig): AxiosPromise<TermsListFullResponse>;
2260
+ /**
2261
+ * Update Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_update).
2262
+ * @summary Updates project terms. Lets you change the text, context, reference, plural and tags.
2263
+ * @param {number} id
2264
+ * @param {string} data JSON format
2265
+ * @param {string} [apiToken]
2266
+ * @param {TermsUpdateFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
2267
+ * @param {*} [options] Override http request option.
2268
+ * @throws {RequiredError}
2269
+ */
2270
+ termsUpdate(id: number, data: string, apiToken?: string, fuzzyTrigger?: TermsUpdateFuzzyTriggerEnum, options?: RawAxiosRequestConfig): AxiosPromise<TermUpdatedResponse>;
2271
+ };
2272
+ /**
2273
+ * TermsApi - object-oriented interface
2274
+ * @export
2275
+ * @class TermsApi
2276
+ * @extends {BaseAPI}
2277
+ */
2278
+ export declare class TermsApi extends BaseAPI {
2279
+ /**
2280
+ * Add Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_add).
2281
+ * @summary Adds terms to project.
2282
+ * @param {number} id
2283
+ * @param {string} data JSON format
2284
+ * @param {string} [apiToken]
2285
+ * @param {*} [options] Override http request option.
2286
+ * @throws {RequiredError}
2287
+ * @memberof TermsApi
2288
+ */
2289
+ termsAdd(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TermAddedResponse, any>>;
2290
+ /**
2291
+ * Add Comment. More details in the [documentation](https://poeditor.com/docs/api#terms_add_comment).
2292
+ * @summary Adds comments to existing terms.
2293
+ * @param {number} id
2294
+ * @param {string} data JSON format
2295
+ * @param {string} [apiToken]
2296
+ * @param {*} [options] Override http request option.
2297
+ * @throws {RequiredError}
2298
+ * @memberof TermsApi
2299
+ */
2300
+ termsAddComment(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TermAddCommentResponse, any>>;
2301
+ /**
2302
+ * Delete Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_delete).
2303
+ * @summary Deletes terms from project.
2304
+ * @param {number} id
2305
+ * @param {string} data JSON format
2306
+ * @param {string} [apiToken]
2307
+ * @param {*} [options] Override http request option.
2308
+ * @throws {RequiredError}
2309
+ * @memberof TermsApi
2310
+ */
2311
+ termsDelete(id: number, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TermDeletedResponse, any>>;
2312
+ /**
2313
+ * List Project Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_list).
2314
+ * @summary Returns project\'s terms and translations if the argument language is provided.
2315
+ * @param {number} id
2316
+ * @param {string} [apiToken]
2317
+ * @param {string} [language] The language code
2318
+ * @param {*} [options] Override http request option.
2319
+ * @throws {RequiredError}
2320
+ * @memberof TermsApi
2321
+ */
2322
+ termsList(id: number, apiToken?: string, language?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TermsListFullResponse, any>>;
2323
+ /**
2324
+ * Update Terms. More details in the [documentation](https://poeditor.com/docs/api#terms_update).
2325
+ * @summary Updates project terms. Lets you change the text, context, reference, plural and tags.
2326
+ * @param {number} id
2327
+ * @param {string} data JSON format
2328
+ * @param {string} [apiToken]
2329
+ * @param {TermsUpdateFuzzyTriggerEnum} [fuzzyTrigger] Set it to 1 to mark corresponding translations from the other languages as fuzzy for the updated values
2330
+ * @param {*} [options] Override http request option.
2331
+ * @throws {RequiredError}
2332
+ * @memberof TermsApi
2333
+ */
2334
+ termsUpdate(id: number, data: string, apiToken?: string, fuzzyTrigger?: TermsUpdateFuzzyTriggerEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TermUpdatedResponse, any>>;
2335
+ }
2336
+ /**
2337
+ * @export
2338
+ */
2339
+ export declare const TermsUpdateFuzzyTriggerEnum: {
2340
+ readonly NUMBER_0: 0;
2341
+ readonly NUMBER_1: 1;
2342
+ };
2343
+ export type TermsUpdateFuzzyTriggerEnum = typeof TermsUpdateFuzzyTriggerEnum[keyof typeof TermsUpdateFuzzyTriggerEnum];
2344
+ /**
2345
+ * TranslationsApi - axios parameter creator
2346
+ * @export
2347
+ */
2348
+ export declare const TranslationsApiAxiosParamCreator: (configuration?: Configuration) => {
2349
+ /**
2350
+ * Add Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_add).
2351
+ * @summary Adds translations to project. If translation exists, it will not overwrite it.
2352
+ * @param {number} id
2353
+ * @param {string} language The language code
2354
+ * @param {string} data JSON format
2355
+ * @param {string} [apiToken]
2356
+ * @param {*} [options] Override http request option.
2357
+ * @throws {RequiredError}
2358
+ */
2359
+ translationsAdd: (id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2360
+ /**
2361
+ * Update Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_automatic).
2362
+ * @summary Updates existing translations.
2363
+ * @param {number} id
2364
+ * @param {TranslationsAutomaticProviderEnum} provider
2365
+ * @param {string} [apiToken]
2366
+ * @param {string} [sourceLanguage] The language code
2367
+ * @param {string} [providerSourceLanguage] The language code
2368
+ * @param {string} [targetLanguages] A JSON of the languages to translate to
2369
+ * @param {string} [_options] A JSON of the advanced options you want to use with the selected provider. Possible options include the POEditor tag of the strings you want to send for translation and some provider-specific options
2370
+ * @param {*} [options] Override http request option.
2371
+ * @throws {RequiredError}
2372
+ */
2373
+ translationsAutomatic: (id: number, provider: TranslationsAutomaticProviderEnum, apiToken?: string, sourceLanguage?: string, providerSourceLanguage?: string, targetLanguages?: string, _options?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2374
+ /**
2375
+ * Delete Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_delete).
2376
+ * @summary Deletes translations from specified language.
2377
+ * @param {number} id
2378
+ * @param {string} language The language code
2379
+ * @param {string} data JSON format
2380
+ * @param {string} [apiToken]
2381
+ * @param {*} [options] Override http request option.
2382
+ * @throws {RequiredError}
2383
+ */
2384
+ translationsDelete: (id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2385
+ /**
2386
+ * Update Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_update).
2387
+ * @summary Updates existing translations.
2388
+ * @param {number} id
2389
+ * @param {string} language The language code
2390
+ * @param {string} data JSON format
2391
+ * @param {string} [apiToken]
2392
+ * @param {*} [options] Override http request option.
2393
+ * @throws {RequiredError}
2394
+ */
2395
+ translationsUpdate: (id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2396
+ };
2397
+ /**
2398
+ * TranslationsApi - functional programming interface
2399
+ * @export
2400
+ */
2401
+ export declare const TranslationsApiFp: (configuration?: Configuration) => {
2402
+ /**
2403
+ * Add Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_add).
2404
+ * @summary Adds translations to project. If translation exists, it will not overwrite it.
2405
+ * @param {number} id
2406
+ * @param {string} language The language code
2407
+ * @param {string} data JSON format
2408
+ * @param {string} [apiToken]
2409
+ * @param {*} [options] Override http request option.
2410
+ * @throws {RequiredError}
2411
+ */
2412
+ translationsAdd(id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslationAddedResponse>>;
2413
+ /**
2414
+ * Update Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_automatic).
2415
+ * @summary Updates existing translations.
2416
+ * @param {number} id
2417
+ * @param {TranslationsAutomaticProviderEnum} provider
2418
+ * @param {string} [apiToken]
2419
+ * @param {string} [sourceLanguage] The language code
2420
+ * @param {string} [providerSourceLanguage] The language code
2421
+ * @param {string} [targetLanguages] A JSON of the languages to translate to
2422
+ * @param {string} [_options] A JSON of the advanced options you want to use with the selected provider. Possible options include the POEditor tag of the strings you want to send for translation and some provider-specific options
2423
+ * @param {*} [options] Override http request option.
2424
+ * @throws {RequiredError}
2425
+ */
2426
+ translationsAutomatic(id: number, provider: TranslationsAutomaticProviderEnum, apiToken?: string, sourceLanguage?: string, providerSourceLanguage?: string, targetLanguages?: string, _options?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslationAutomatedResponse>>;
2427
+ /**
2428
+ * Delete Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_delete).
2429
+ * @summary Deletes translations from specified language.
2430
+ * @param {number} id
2431
+ * @param {string} language The language code
2432
+ * @param {string} data JSON format
2433
+ * @param {string} [apiToken]
2434
+ * @param {*} [options] Override http request option.
2435
+ * @throws {RequiredError}
2436
+ */
2437
+ translationsDelete(id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslationDeletedResponse>>;
2438
+ /**
2439
+ * Update Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_update).
2440
+ * @summary Updates existing translations.
2441
+ * @param {number} id
2442
+ * @param {string} language The language code
2443
+ * @param {string} data JSON format
2444
+ * @param {string} [apiToken]
2445
+ * @param {*} [options] Override http request option.
2446
+ * @throws {RequiredError}
2447
+ */
2448
+ translationsUpdate(id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslationUpdatedResponse>>;
2449
+ };
2450
+ /**
2451
+ * TranslationsApi - factory interface
2452
+ * @export
2453
+ */
2454
+ export declare const TranslationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2455
+ /**
2456
+ * Add Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_add).
2457
+ * @summary Adds translations to project. If translation exists, it will not overwrite it.
2458
+ * @param {number} id
2459
+ * @param {string} language The language code
2460
+ * @param {string} data JSON format
2461
+ * @param {string} [apiToken]
2462
+ * @param {*} [options] Override http request option.
2463
+ * @throws {RequiredError}
2464
+ */
2465
+ translationsAdd(id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<TranslationAddedResponse>;
2466
+ /**
2467
+ * Update Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_automatic).
2468
+ * @summary Updates existing translations.
2469
+ * @param {number} id
2470
+ * @param {TranslationsAutomaticProviderEnum} provider
2471
+ * @param {string} [apiToken]
2472
+ * @param {string} [sourceLanguage] The language code
2473
+ * @param {string} [providerSourceLanguage] The language code
2474
+ * @param {string} [targetLanguages] A JSON of the languages to translate to
2475
+ * @param {string} [_options] A JSON of the advanced options you want to use with the selected provider. Possible options include the POEditor tag of the strings you want to send for translation and some provider-specific options
2476
+ * @param {*} [options] Override http request option.
2477
+ * @throws {RequiredError}
2478
+ */
2479
+ translationsAutomatic(id: number, provider: TranslationsAutomaticProviderEnum, apiToken?: string, sourceLanguage?: string, providerSourceLanguage?: string, targetLanguages?: string, _options?: string, options?: RawAxiosRequestConfig): AxiosPromise<TranslationAutomatedResponse>;
2480
+ /**
2481
+ * Delete Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_delete).
2482
+ * @summary Deletes translations from specified language.
2483
+ * @param {number} id
2484
+ * @param {string} language The language code
2485
+ * @param {string} data JSON format
2486
+ * @param {string} [apiToken]
2487
+ * @param {*} [options] Override http request option.
2488
+ * @throws {RequiredError}
2489
+ */
2490
+ translationsDelete(id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<TranslationDeletedResponse>;
2491
+ /**
2492
+ * Update Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_update).
2493
+ * @summary Updates existing translations.
2494
+ * @param {number} id
2495
+ * @param {string} language The language code
2496
+ * @param {string} data JSON format
2497
+ * @param {string} [apiToken]
2498
+ * @param {*} [options] Override http request option.
2499
+ * @throws {RequiredError}
2500
+ */
2501
+ translationsUpdate(id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<TranslationUpdatedResponse>;
2502
+ };
2503
+ /**
2504
+ * TranslationsApi - object-oriented interface
2505
+ * @export
2506
+ * @class TranslationsApi
2507
+ * @extends {BaseAPI}
2508
+ */
2509
+ export declare class TranslationsApi extends BaseAPI {
2510
+ /**
2511
+ * Add Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_add).
2512
+ * @summary Adds translations to project. If translation exists, it will not overwrite it.
2513
+ * @param {number} id
2514
+ * @param {string} language The language code
2515
+ * @param {string} data JSON format
2516
+ * @param {string} [apiToken]
2517
+ * @param {*} [options] Override http request option.
2518
+ * @throws {RequiredError}
2519
+ * @memberof TranslationsApi
2520
+ */
2521
+ translationsAdd(id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranslationAddedResponse, any>>;
2522
+ /**
2523
+ * Update Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_automatic).
2524
+ * @summary Updates existing translations.
2525
+ * @param {number} id
2526
+ * @param {TranslationsAutomaticProviderEnum} provider
2527
+ * @param {string} [apiToken]
2528
+ * @param {string} [sourceLanguage] The language code
2529
+ * @param {string} [providerSourceLanguage] The language code
2530
+ * @param {string} [targetLanguages] A JSON of the languages to translate to
2531
+ * @param {string} [_options] A JSON of the advanced options you want to use with the selected provider. Possible options include the POEditor tag of the strings you want to send for translation and some provider-specific options
2532
+ * @param {*} [options] Override http request option.
2533
+ * @throws {RequiredError}
2534
+ * @memberof TranslationsApi
2535
+ */
2536
+ translationsAutomatic(id: number, provider: TranslationsAutomaticProviderEnum, apiToken?: string, sourceLanguage?: string, providerSourceLanguage?: string, targetLanguages?: string, _options?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranslationAutomatedResponse, any>>;
2537
+ /**
2538
+ * Delete Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_delete).
2539
+ * @summary Deletes translations from specified language.
2540
+ * @param {number} id
2541
+ * @param {string} language The language code
2542
+ * @param {string} data JSON format
2543
+ * @param {string} [apiToken]
2544
+ * @param {*} [options] Override http request option.
2545
+ * @throws {RequiredError}
2546
+ * @memberof TranslationsApi
2547
+ */
2548
+ translationsDelete(id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranslationDeletedResponse, any>>;
2549
+ /**
2550
+ * Update Translations. More details in the [documentation](https://poeditor.com/docs/api#translations_update).
2551
+ * @summary Updates existing translations.
2552
+ * @param {number} id
2553
+ * @param {string} language The language code
2554
+ * @param {string} data JSON format
2555
+ * @param {string} [apiToken]
2556
+ * @param {*} [options] Override http request option.
2557
+ * @throws {RequiredError}
2558
+ * @memberof TranslationsApi
2559
+ */
2560
+ translationsUpdate(id: number, language: string, data: string, apiToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranslationUpdatedResponse, any>>;
2561
+ }
2562
+ /**
2563
+ * @export
2564
+ */
2565
+ export declare const TranslationsAutomaticProviderEnum: {
2566
+ readonly Google: "google";
2567
+ readonly Microsoft: "microsoft";
2568
+ readonly Deepl: "deepl";
2569
+ };
2570
+ export type TranslationsAutomaticProviderEnum = typeof TranslationsAutomaticProviderEnum[keyof typeof TranslationsAutomaticProviderEnum];