@appwrite.io/console 1.4.7 → 1.5.1
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.
- package/README.md +2 -2
- package/dist/cjs/sdk.js +420 -48
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +420 -48
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +420 -48
- package/package.json +1 -1
- package/src/client.ts +5 -3
- package/src/enums/image-format.ts +1 -0
- package/src/models.ts +64 -0
- package/src/services/account.ts +122 -0
- package/src/services/assistant.ts +2 -0
- package/src/services/avatars.ts +7 -42
- package/src/services/backups.ts +24 -0
- package/src/services/console.ts +14 -0
- package/src/services/databases.ts +96 -0
- package/src/services/functions.ts +55 -6
- package/src/services/graphql.ts +4 -0
- package/src/services/health.ts +52 -0
- package/src/services/locale.ts +16 -0
- package/src/services/messaging.ts +95 -3
- package/src/services/migrations.ts +24 -0
- package/src/services/organizations.ts +56 -0
- package/src/services/project.ts +12 -0
- package/src/services/projects.ts +92 -0
- package/src/services/proxy.ts +10 -0
- package/src/services/storage.ts +27 -18
- package/src/services/teams.ts +28 -0
- package/src/services/users.ts +86 -0
- package/src/services/vcs.ts +20 -0
- package/types/enums/image-format.d.ts +1 -0
- package/types/models.d.ts +64 -0
- package/types/services/messaging.d.ts +3 -3
|
@@ -37,6 +37,8 @@ export class Functions {
|
|
|
37
37
|
'content-type': 'application/json',
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
payload['project'] = this.client.config.project;
|
|
41
|
+
|
|
40
42
|
|
|
41
43
|
return await this.client.call(
|
|
42
44
|
'get',
|
|
@@ -159,6 +161,8 @@ export class Functions {
|
|
|
159
161
|
'content-type': 'application/json',
|
|
160
162
|
}
|
|
161
163
|
|
|
164
|
+
payload['project'] = this.client.config.project;
|
|
165
|
+
|
|
162
166
|
|
|
163
167
|
return await this.client.call(
|
|
164
168
|
'post',
|
|
@@ -184,6 +188,8 @@ export class Functions {
|
|
|
184
188
|
'content-type': 'application/json',
|
|
185
189
|
}
|
|
186
190
|
|
|
191
|
+
payload['project'] = this.client.config.project;
|
|
192
|
+
|
|
187
193
|
|
|
188
194
|
return await this.client.call(
|
|
189
195
|
'get',
|
|
@@ -210,6 +216,8 @@ export class Functions {
|
|
|
210
216
|
'content-type': 'application/json',
|
|
211
217
|
}
|
|
212
218
|
|
|
219
|
+
payload['project'] = this.client.config.project;
|
|
220
|
+
|
|
213
221
|
|
|
214
222
|
return await this.client.call(
|
|
215
223
|
'get',
|
|
@@ -251,6 +259,8 @@ export class Functions {
|
|
|
251
259
|
'content-type': 'application/json',
|
|
252
260
|
}
|
|
253
261
|
|
|
262
|
+
payload['project'] = this.client.config.project;
|
|
263
|
+
|
|
254
264
|
|
|
255
265
|
return await this.client.call(
|
|
256
266
|
'get',
|
|
@@ -280,6 +290,8 @@ export class Functions {
|
|
|
280
290
|
'content-type': 'application/json',
|
|
281
291
|
}
|
|
282
292
|
|
|
293
|
+
payload['project'] = this.client.config.project;
|
|
294
|
+
|
|
283
295
|
|
|
284
296
|
return await this.client.call(
|
|
285
297
|
'get',
|
|
@@ -309,6 +321,8 @@ export class Functions {
|
|
|
309
321
|
'content-type': 'application/json',
|
|
310
322
|
}
|
|
311
323
|
|
|
324
|
+
payload['project'] = this.client.config.project;
|
|
325
|
+
|
|
312
326
|
|
|
313
327
|
return await this.client.call(
|
|
314
328
|
'get',
|
|
@@ -338,6 +352,8 @@ export class Functions {
|
|
|
338
352
|
'content-type': 'application/json',
|
|
339
353
|
}
|
|
340
354
|
|
|
355
|
+
payload['project'] = this.client.config.project;
|
|
356
|
+
|
|
341
357
|
|
|
342
358
|
return await this.client.call(
|
|
343
359
|
'get',
|
|
@@ -438,6 +454,8 @@ export class Functions {
|
|
|
438
454
|
'content-type': 'application/json',
|
|
439
455
|
}
|
|
440
456
|
|
|
457
|
+
payload['project'] = this.client.config.project;
|
|
458
|
+
|
|
441
459
|
|
|
442
460
|
return await this.client.call(
|
|
443
461
|
'put',
|
|
@@ -467,6 +485,8 @@ export class Functions {
|
|
|
467
485
|
'content-type': 'application/json',
|
|
468
486
|
}
|
|
469
487
|
|
|
488
|
+
payload['project'] = this.client.config.project;
|
|
489
|
+
|
|
470
490
|
|
|
471
491
|
return await this.client.call(
|
|
472
492
|
'delete',
|
|
@@ -504,6 +524,8 @@ export class Functions {
|
|
|
504
524
|
'content-type': 'application/json',
|
|
505
525
|
}
|
|
506
526
|
|
|
527
|
+
payload['project'] = this.client.config.project;
|
|
528
|
+
|
|
507
529
|
|
|
508
530
|
return await this.client.call(
|
|
509
531
|
'get',
|
|
@@ -559,6 +581,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
559
581
|
'content-type': 'multipart/form-data',
|
|
560
582
|
}
|
|
561
583
|
|
|
584
|
+
payload['project'] = this.client.config.project;
|
|
585
|
+
|
|
562
586
|
|
|
563
587
|
return await this.client.chunkedUpload(
|
|
564
588
|
'post',
|
|
@@ -593,6 +617,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
593
617
|
'content-type': 'application/json',
|
|
594
618
|
}
|
|
595
619
|
|
|
620
|
+
payload['project'] = this.client.config.project;
|
|
621
|
+
|
|
596
622
|
|
|
597
623
|
return await this.client.call(
|
|
598
624
|
'get',
|
|
@@ -626,6 +652,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
626
652
|
'content-type': 'application/json',
|
|
627
653
|
}
|
|
628
654
|
|
|
655
|
+
payload['project'] = this.client.config.project;
|
|
656
|
+
|
|
629
657
|
|
|
630
658
|
return await this.client.call(
|
|
631
659
|
'patch',
|
|
@@ -659,6 +687,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
659
687
|
'content-type': 'application/json',
|
|
660
688
|
}
|
|
661
689
|
|
|
690
|
+
payload['project'] = this.client.config.project;
|
|
691
|
+
|
|
662
692
|
|
|
663
693
|
return await this.client.call(
|
|
664
694
|
'delete',
|
|
@@ -696,6 +726,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
696
726
|
'content-type': 'application/json',
|
|
697
727
|
}
|
|
698
728
|
|
|
729
|
+
payload['project'] = this.client.config.project;
|
|
730
|
+
|
|
699
731
|
|
|
700
732
|
return await this.client.call(
|
|
701
733
|
'post',
|
|
@@ -729,6 +761,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
729
761
|
'content-type': 'application/json',
|
|
730
762
|
}
|
|
731
763
|
|
|
764
|
+
payload['project'] = this.client.config.project;
|
|
765
|
+
|
|
732
766
|
|
|
733
767
|
return await this.client.call(
|
|
734
768
|
'patch',
|
|
@@ -763,13 +797,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
763
797
|
}
|
|
764
798
|
|
|
765
799
|
payload['project'] = this.client.config.project;
|
|
766
|
-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
767
|
-
uri.searchParams.append(key, value);
|
|
768
|
-
}
|
|
769
800
|
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
for (const [key, value] of Object.entries(Client.flatten(payload))) {
|
|
801
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
773
802
|
uri.searchParams.append(key, value);
|
|
774
803
|
}
|
|
775
804
|
|
|
@@ -804,6 +833,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
804
833
|
'content-type': 'application/json',
|
|
805
834
|
}
|
|
806
835
|
|
|
836
|
+
payload['project'] = this.client.config.project;
|
|
837
|
+
|
|
807
838
|
|
|
808
839
|
return await this.client.call(
|
|
809
840
|
'get',
|
|
@@ -857,6 +888,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
857
888
|
'content-type': 'application/json',
|
|
858
889
|
}
|
|
859
890
|
|
|
891
|
+
payload['project'] = this.client.config.project;
|
|
892
|
+
|
|
860
893
|
|
|
861
894
|
return await this.client.call(
|
|
862
895
|
'post',
|
|
@@ -890,6 +923,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
890
923
|
'content-type': 'application/json',
|
|
891
924
|
}
|
|
892
925
|
|
|
926
|
+
payload['project'] = this.client.config.project;
|
|
927
|
+
|
|
893
928
|
|
|
894
929
|
return await this.client.call(
|
|
895
930
|
'get',
|
|
@@ -924,6 +959,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
924
959
|
'content-type': 'application/json',
|
|
925
960
|
}
|
|
926
961
|
|
|
962
|
+
payload['project'] = this.client.config.project;
|
|
963
|
+
|
|
927
964
|
|
|
928
965
|
return await this.client.call(
|
|
929
966
|
'delete',
|
|
@@ -957,6 +994,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
957
994
|
'content-type': 'application/json',
|
|
958
995
|
}
|
|
959
996
|
|
|
997
|
+
payload['project'] = this.client.config.project;
|
|
998
|
+
|
|
960
999
|
|
|
961
1000
|
return await this.client.call(
|
|
962
1001
|
'get',
|
|
@@ -986,6 +1025,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
986
1025
|
'content-type': 'application/json',
|
|
987
1026
|
}
|
|
988
1027
|
|
|
1028
|
+
payload['project'] = this.client.config.project;
|
|
1029
|
+
|
|
989
1030
|
|
|
990
1031
|
return await this.client.call(
|
|
991
1032
|
'get',
|
|
@@ -1029,6 +1070,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
1029
1070
|
'content-type': 'application/json',
|
|
1030
1071
|
}
|
|
1031
1072
|
|
|
1073
|
+
payload['project'] = this.client.config.project;
|
|
1074
|
+
|
|
1032
1075
|
|
|
1033
1076
|
return await this.client.call(
|
|
1034
1077
|
'post',
|
|
@@ -1062,6 +1105,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
1062
1105
|
'content-type': 'application/json',
|
|
1063
1106
|
}
|
|
1064
1107
|
|
|
1108
|
+
payload['project'] = this.client.config.project;
|
|
1109
|
+
|
|
1065
1110
|
|
|
1066
1111
|
return await this.client.call(
|
|
1067
1112
|
'get',
|
|
@@ -1106,6 +1151,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
1106
1151
|
'content-type': 'application/json',
|
|
1107
1152
|
}
|
|
1108
1153
|
|
|
1154
|
+
payload['project'] = this.client.config.project;
|
|
1155
|
+
|
|
1109
1156
|
|
|
1110
1157
|
return await this.client.call(
|
|
1111
1158
|
'put',
|
|
@@ -1139,6 +1186,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
1139
1186
|
'content-type': 'application/json',
|
|
1140
1187
|
}
|
|
1141
1188
|
|
|
1189
|
+
payload['project'] = this.client.config.project;
|
|
1190
|
+
|
|
1142
1191
|
|
|
1143
1192
|
return await this.client.call(
|
|
1144
1193
|
'delete',
|
package/src/services/graphql.ts
CHANGED
|
@@ -34,6 +34,8 @@ export class Graphql {
|
|
|
34
34
|
'content-type': 'application/json',
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
payload['project'] = this.client.config.project;
|
|
38
|
+
|
|
37
39
|
|
|
38
40
|
return await this.client.call(
|
|
39
41
|
'post',
|
|
@@ -67,6 +69,8 @@ export class Graphql {
|
|
|
67
69
|
'content-type': 'application/json',
|
|
68
70
|
}
|
|
69
71
|
|
|
72
|
+
payload['project'] = this.client.config.project;
|
|
73
|
+
|
|
70
74
|
|
|
71
75
|
return await this.client.call(
|
|
72
76
|
'post',
|
package/src/services/health.ts
CHANGED
|
@@ -27,6 +27,8 @@ export class Health {
|
|
|
27
27
|
'content-type': 'application/json',
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
payload['project'] = this.client.config.project;
|
|
31
|
+
|
|
30
32
|
|
|
31
33
|
return await this.client.call(
|
|
32
34
|
'get',
|
|
@@ -52,6 +54,8 @@ export class Health {
|
|
|
52
54
|
'content-type': 'application/json',
|
|
53
55
|
}
|
|
54
56
|
|
|
57
|
+
payload['project'] = this.client.config.project;
|
|
58
|
+
|
|
55
59
|
|
|
56
60
|
return await this.client.call(
|
|
57
61
|
'get',
|
|
@@ -77,6 +81,8 @@ export class Health {
|
|
|
77
81
|
'content-type': 'application/json',
|
|
78
82
|
}
|
|
79
83
|
|
|
84
|
+
payload['project'] = this.client.config.project;
|
|
85
|
+
|
|
80
86
|
|
|
81
87
|
return await this.client.call(
|
|
82
88
|
'get',
|
|
@@ -106,6 +112,8 @@ export class Health {
|
|
|
106
112
|
'content-type': 'application/json',
|
|
107
113
|
}
|
|
108
114
|
|
|
115
|
+
payload['project'] = this.client.config.project;
|
|
116
|
+
|
|
109
117
|
|
|
110
118
|
return await this.client.call(
|
|
111
119
|
'get',
|
|
@@ -131,6 +139,8 @@ export class Health {
|
|
|
131
139
|
'content-type': 'application/json',
|
|
132
140
|
}
|
|
133
141
|
|
|
142
|
+
payload['project'] = this.client.config.project;
|
|
143
|
+
|
|
134
144
|
|
|
135
145
|
return await this.client.call(
|
|
136
146
|
'get',
|
|
@@ -156,6 +166,8 @@ export class Health {
|
|
|
156
166
|
'content-type': 'application/json',
|
|
157
167
|
}
|
|
158
168
|
|
|
169
|
+
payload['project'] = this.client.config.project;
|
|
170
|
+
|
|
159
171
|
|
|
160
172
|
return await this.client.call(
|
|
161
173
|
'get',
|
|
@@ -181,6 +193,8 @@ export class Health {
|
|
|
181
193
|
'content-type': 'application/json',
|
|
182
194
|
}
|
|
183
195
|
|
|
196
|
+
payload['project'] = this.client.config.project;
|
|
197
|
+
|
|
184
198
|
|
|
185
199
|
return await this.client.call(
|
|
186
200
|
'get',
|
|
@@ -210,6 +224,8 @@ export class Health {
|
|
|
210
224
|
'content-type': 'application/json',
|
|
211
225
|
}
|
|
212
226
|
|
|
227
|
+
payload['project'] = this.client.config.project;
|
|
228
|
+
|
|
213
229
|
|
|
214
230
|
return await this.client.call(
|
|
215
231
|
'get',
|
|
@@ -239,6 +255,8 @@ export class Health {
|
|
|
239
255
|
'content-type': 'application/json',
|
|
240
256
|
}
|
|
241
257
|
|
|
258
|
+
payload['project'] = this.client.config.project;
|
|
259
|
+
|
|
242
260
|
|
|
243
261
|
return await this.client.call(
|
|
244
262
|
'get',
|
|
@@ -268,6 +286,8 @@ export class Health {
|
|
|
268
286
|
'content-type': 'application/json',
|
|
269
287
|
}
|
|
270
288
|
|
|
289
|
+
payload['project'] = this.client.config.project;
|
|
290
|
+
|
|
271
291
|
|
|
272
292
|
return await this.client.call(
|
|
273
293
|
'get',
|
|
@@ -297,6 +317,8 @@ export class Health {
|
|
|
297
317
|
'content-type': 'application/json',
|
|
298
318
|
}
|
|
299
319
|
|
|
320
|
+
payload['project'] = this.client.config.project;
|
|
321
|
+
|
|
300
322
|
|
|
301
323
|
return await this.client.call(
|
|
302
324
|
'get',
|
|
@@ -330,6 +352,8 @@ export class Health {
|
|
|
330
352
|
'content-type': 'application/json',
|
|
331
353
|
}
|
|
332
354
|
|
|
355
|
+
payload['project'] = this.client.config.project;
|
|
356
|
+
|
|
333
357
|
|
|
334
358
|
return await this.client.call(
|
|
335
359
|
'get',
|
|
@@ -359,6 +383,8 @@ export class Health {
|
|
|
359
383
|
'content-type': 'application/json',
|
|
360
384
|
}
|
|
361
385
|
|
|
386
|
+
payload['project'] = this.client.config.project;
|
|
387
|
+
|
|
362
388
|
|
|
363
389
|
return await this.client.call(
|
|
364
390
|
'get',
|
|
@@ -393,6 +419,8 @@ export class Health {
|
|
|
393
419
|
'content-type': 'application/json',
|
|
394
420
|
}
|
|
395
421
|
|
|
422
|
+
payload['project'] = this.client.config.project;
|
|
423
|
+
|
|
396
424
|
|
|
397
425
|
return await this.client.call(
|
|
398
426
|
'get',
|
|
@@ -422,6 +450,8 @@ export class Health {
|
|
|
422
450
|
'content-type': 'application/json',
|
|
423
451
|
}
|
|
424
452
|
|
|
453
|
+
payload['project'] = this.client.config.project;
|
|
454
|
+
|
|
425
455
|
|
|
426
456
|
return await this.client.call(
|
|
427
457
|
'get',
|
|
@@ -451,6 +481,8 @@ export class Health {
|
|
|
451
481
|
'content-type': 'application/json',
|
|
452
482
|
}
|
|
453
483
|
|
|
484
|
+
payload['project'] = this.client.config.project;
|
|
485
|
+
|
|
454
486
|
|
|
455
487
|
return await this.client.call(
|
|
456
488
|
'get',
|
|
@@ -480,6 +512,8 @@ export class Health {
|
|
|
480
512
|
'content-type': 'application/json',
|
|
481
513
|
}
|
|
482
514
|
|
|
515
|
+
payload['project'] = this.client.config.project;
|
|
516
|
+
|
|
483
517
|
|
|
484
518
|
return await this.client.call(
|
|
485
519
|
'get',
|
|
@@ -509,6 +543,8 @@ export class Health {
|
|
|
509
543
|
'content-type': 'application/json',
|
|
510
544
|
}
|
|
511
545
|
|
|
546
|
+
payload['project'] = this.client.config.project;
|
|
547
|
+
|
|
512
548
|
|
|
513
549
|
return await this.client.call(
|
|
514
550
|
'get',
|
|
@@ -538,6 +574,8 @@ export class Health {
|
|
|
538
574
|
'content-type': 'application/json',
|
|
539
575
|
}
|
|
540
576
|
|
|
577
|
+
payload['project'] = this.client.config.project;
|
|
578
|
+
|
|
541
579
|
|
|
542
580
|
return await this.client.call(
|
|
543
581
|
'get',
|
|
@@ -567,6 +605,8 @@ export class Health {
|
|
|
567
605
|
'content-type': 'application/json',
|
|
568
606
|
}
|
|
569
607
|
|
|
608
|
+
payload['project'] = this.client.config.project;
|
|
609
|
+
|
|
570
610
|
|
|
571
611
|
return await this.client.call(
|
|
572
612
|
'get',
|
|
@@ -596,6 +636,8 @@ export class Health {
|
|
|
596
636
|
'content-type': 'application/json',
|
|
597
637
|
}
|
|
598
638
|
|
|
639
|
+
payload['project'] = this.client.config.project;
|
|
640
|
+
|
|
599
641
|
|
|
600
642
|
return await this.client.call(
|
|
601
643
|
'get',
|
|
@@ -625,6 +667,8 @@ export class Health {
|
|
|
625
667
|
'content-type': 'application/json',
|
|
626
668
|
}
|
|
627
669
|
|
|
670
|
+
payload['project'] = this.client.config.project;
|
|
671
|
+
|
|
628
672
|
|
|
629
673
|
return await this.client.call(
|
|
630
674
|
'get',
|
|
@@ -654,6 +698,8 @@ export class Health {
|
|
|
654
698
|
'content-type': 'application/json',
|
|
655
699
|
}
|
|
656
700
|
|
|
701
|
+
payload['project'] = this.client.config.project;
|
|
702
|
+
|
|
657
703
|
|
|
658
704
|
return await this.client.call(
|
|
659
705
|
'get',
|
|
@@ -679,6 +725,8 @@ export class Health {
|
|
|
679
725
|
'content-type': 'application/json',
|
|
680
726
|
}
|
|
681
727
|
|
|
728
|
+
payload['project'] = this.client.config.project;
|
|
729
|
+
|
|
682
730
|
|
|
683
731
|
return await this.client.call(
|
|
684
732
|
'get',
|
|
@@ -704,6 +752,8 @@ export class Health {
|
|
|
704
752
|
'content-type': 'application/json',
|
|
705
753
|
}
|
|
706
754
|
|
|
755
|
+
payload['project'] = this.client.config.project;
|
|
756
|
+
|
|
707
757
|
|
|
708
758
|
return await this.client.call(
|
|
709
759
|
'get',
|
|
@@ -729,6 +779,8 @@ export class Health {
|
|
|
729
779
|
'content-type': 'application/json',
|
|
730
780
|
}
|
|
731
781
|
|
|
782
|
+
payload['project'] = this.client.config.project;
|
|
783
|
+
|
|
732
784
|
|
|
733
785
|
return await this.client.call(
|
|
734
786
|
'get',
|
package/src/services/locale.ts
CHANGED
|
@@ -28,6 +28,8 @@ export class Locale {
|
|
|
28
28
|
'content-type': 'application/json',
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
payload['project'] = this.client.config.project;
|
|
32
|
+
|
|
31
33
|
|
|
32
34
|
return await this.client.call(
|
|
33
35
|
'get',
|
|
@@ -53,6 +55,8 @@ export class Locale {
|
|
|
53
55
|
'content-type': 'application/json',
|
|
54
56
|
}
|
|
55
57
|
|
|
58
|
+
payload['project'] = this.client.config.project;
|
|
59
|
+
|
|
56
60
|
|
|
57
61
|
return await this.client.call(
|
|
58
62
|
'get',
|
|
@@ -78,6 +82,8 @@ export class Locale {
|
|
|
78
82
|
'content-type': 'application/json',
|
|
79
83
|
}
|
|
80
84
|
|
|
85
|
+
payload['project'] = this.client.config.project;
|
|
86
|
+
|
|
81
87
|
|
|
82
88
|
return await this.client.call(
|
|
83
89
|
'get',
|
|
@@ -103,6 +109,8 @@ export class Locale {
|
|
|
103
109
|
'content-type': 'application/json',
|
|
104
110
|
}
|
|
105
111
|
|
|
112
|
+
payload['project'] = this.client.config.project;
|
|
113
|
+
|
|
106
114
|
|
|
107
115
|
return await this.client.call(
|
|
108
116
|
'get',
|
|
@@ -128,6 +136,8 @@ export class Locale {
|
|
|
128
136
|
'content-type': 'application/json',
|
|
129
137
|
}
|
|
130
138
|
|
|
139
|
+
payload['project'] = this.client.config.project;
|
|
140
|
+
|
|
131
141
|
|
|
132
142
|
return await this.client.call(
|
|
133
143
|
'get',
|
|
@@ -153,6 +163,8 @@ export class Locale {
|
|
|
153
163
|
'content-type': 'application/json',
|
|
154
164
|
}
|
|
155
165
|
|
|
166
|
+
payload['project'] = this.client.config.project;
|
|
167
|
+
|
|
156
168
|
|
|
157
169
|
return await this.client.call(
|
|
158
170
|
'get',
|
|
@@ -178,6 +190,8 @@ export class Locale {
|
|
|
178
190
|
'content-type': 'application/json',
|
|
179
191
|
}
|
|
180
192
|
|
|
193
|
+
payload['project'] = this.client.config.project;
|
|
194
|
+
|
|
181
195
|
|
|
182
196
|
return await this.client.call(
|
|
183
197
|
'get',
|
|
@@ -203,6 +217,8 @@ export class Locale {
|
|
|
203
217
|
'content-type': 'application/json',
|
|
204
218
|
}
|
|
205
219
|
|
|
220
|
+
payload['project'] = this.client.config.project;
|
|
221
|
+
|
|
206
222
|
|
|
207
223
|
return await this.client.call(
|
|
208
224
|
'get',
|