@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
package/src/services/avatars.ts
CHANGED
|
@@ -48,13 +48,8 @@ When one dimension is specified and the other is 0, the image is scaled with pre
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
payload['project'] = this.client.config.project;
|
|
51
|
-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
52
|
-
uri.searchParams.append(key, value);
|
|
53
|
-
}
|
|
54
51
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
for (const [key, value] of Object.entries(Client.flatten(payload))) {
|
|
52
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
58
53
|
uri.searchParams.append(key, value);
|
|
59
54
|
}
|
|
60
55
|
|
|
@@ -96,14 +91,9 @@ When one dimension is specified and the other is 0, the image is scaled with pre
|
|
|
96
91
|
'content-type': 'application/json',
|
|
97
92
|
}
|
|
98
93
|
|
|
99
|
-
payload['project'] = this.client.config.project;
|
|
100
|
-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
101
|
-
uri.searchParams.append(key, value);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
94
|
payload['project'] = this.client.config.project;
|
|
105
95
|
|
|
106
|
-
for (const [key, value] of Object.entries(
|
|
96
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
107
97
|
uri.searchParams.append(key, value);
|
|
108
98
|
}
|
|
109
99
|
|
|
@@ -135,14 +125,9 @@ This endpoint does not follow HTTP redirects.
|
|
|
135
125
|
'content-type': 'application/json',
|
|
136
126
|
}
|
|
137
127
|
|
|
138
|
-
payload['project'] = this.client.config.project;
|
|
139
|
-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
140
|
-
uri.searchParams.append(key, value);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
128
|
payload['project'] = this.client.config.project;
|
|
144
129
|
|
|
145
|
-
for (const [key, value] of Object.entries(
|
|
130
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
146
131
|
uri.searchParams.append(key, value);
|
|
147
132
|
}
|
|
148
133
|
|
|
@@ -184,14 +169,9 @@ When one dimension is specified and the other is 0, the image is scaled with pre
|
|
|
184
169
|
'content-type': 'application/json',
|
|
185
170
|
}
|
|
186
171
|
|
|
187
|
-
payload['project'] = this.client.config.project;
|
|
188
|
-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
189
|
-
uri.searchParams.append(key, value);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
172
|
payload['project'] = this.client.config.project;
|
|
193
173
|
|
|
194
|
-
for (const [key, value] of Object.entries(
|
|
174
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
195
175
|
uri.searchParams.append(key, value);
|
|
196
176
|
}
|
|
197
177
|
|
|
@@ -234,13 +214,8 @@ This endpoint does not follow HTTP redirects.
|
|
|
234
214
|
}
|
|
235
215
|
|
|
236
216
|
payload['project'] = this.client.config.project;
|
|
237
|
-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
238
|
-
uri.searchParams.append(key, value);
|
|
239
|
-
}
|
|
240
217
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
for (const [key, value] of Object.entries(Client.flatten(payload))) {
|
|
218
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
244
219
|
uri.searchParams.append(key, value);
|
|
245
220
|
}
|
|
246
221
|
|
|
@@ -284,14 +259,9 @@ When one dimension is specified and the other is 0, the image is scaled with pre
|
|
|
284
259
|
'content-type': 'application/json',
|
|
285
260
|
}
|
|
286
261
|
|
|
287
|
-
payload['project'] = this.client.config.project;
|
|
288
|
-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
289
|
-
uri.searchParams.append(key, value);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
262
|
payload['project'] = this.client.config.project;
|
|
293
263
|
|
|
294
|
-
for (const [key, value] of Object.entries(
|
|
264
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
295
265
|
uri.searchParams.append(key, value);
|
|
296
266
|
}
|
|
297
267
|
|
|
@@ -334,14 +304,9 @@ When one dimension is specified and the other is 0, the image is scaled with pre
|
|
|
334
304
|
'content-type': 'application/json',
|
|
335
305
|
}
|
|
336
306
|
|
|
337
|
-
payload['project'] = this.client.config.project;
|
|
338
|
-
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
339
|
-
uri.searchParams.append(key, value);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
307
|
payload['project'] = this.client.config.project;
|
|
343
308
|
|
|
344
|
-
for (const [key, value] of Object.entries(
|
|
309
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
345
310
|
uri.searchParams.append(key, value);
|
|
346
311
|
}
|
|
347
312
|
|
package/src/services/backups.ts
CHANGED
|
@@ -30,6 +30,8 @@ export class Backups {
|
|
|
30
30
|
'content-type': 'application/json',
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
payload['project'] = this.client.config.project;
|
|
34
|
+
|
|
33
35
|
|
|
34
36
|
return await this.client.call(
|
|
35
37
|
'get',
|
|
@@ -66,6 +68,8 @@ export class Backups {
|
|
|
66
68
|
'content-type': 'application/json',
|
|
67
69
|
}
|
|
68
70
|
|
|
71
|
+
payload['project'] = this.client.config.project;
|
|
72
|
+
|
|
69
73
|
|
|
70
74
|
return await this.client.call(
|
|
71
75
|
'post',
|
|
@@ -95,6 +99,8 @@ export class Backups {
|
|
|
95
99
|
'content-type': 'application/json',
|
|
96
100
|
}
|
|
97
101
|
|
|
102
|
+
payload['project'] = this.client.config.project;
|
|
103
|
+
|
|
98
104
|
|
|
99
105
|
return await this.client.call(
|
|
100
106
|
'get',
|
|
@@ -124,6 +130,8 @@ export class Backups {
|
|
|
124
130
|
'content-type': 'application/json',
|
|
125
131
|
}
|
|
126
132
|
|
|
133
|
+
payload['project'] = this.client.config.project;
|
|
134
|
+
|
|
127
135
|
|
|
128
136
|
return await this.client.call(
|
|
129
137
|
'delete',
|
|
@@ -153,6 +161,8 @@ export class Backups {
|
|
|
153
161
|
'content-type': 'application/json',
|
|
154
162
|
}
|
|
155
163
|
|
|
164
|
+
payload['project'] = this.client.config.project;
|
|
165
|
+
|
|
156
166
|
|
|
157
167
|
return await this.client.call(
|
|
158
168
|
'get',
|
|
@@ -218,6 +228,8 @@ export class Backups {
|
|
|
218
228
|
'content-type': 'application/json',
|
|
219
229
|
}
|
|
220
230
|
|
|
231
|
+
payload['project'] = this.client.config.project;
|
|
232
|
+
|
|
221
233
|
|
|
222
234
|
return await this.client.call(
|
|
223
235
|
'post',
|
|
@@ -247,6 +259,8 @@ export class Backups {
|
|
|
247
259
|
'content-type': 'application/json',
|
|
248
260
|
}
|
|
249
261
|
|
|
262
|
+
payload['project'] = this.client.config.project;
|
|
263
|
+
|
|
250
264
|
|
|
251
265
|
return await this.client.call(
|
|
252
266
|
'get',
|
|
@@ -292,6 +306,8 @@ export class Backups {
|
|
|
292
306
|
'content-type': 'application/json',
|
|
293
307
|
}
|
|
294
308
|
|
|
309
|
+
payload['project'] = this.client.config.project;
|
|
310
|
+
|
|
295
311
|
|
|
296
312
|
return await this.client.call(
|
|
297
313
|
'patch',
|
|
@@ -321,6 +337,8 @@ export class Backups {
|
|
|
321
337
|
'content-type': 'application/json',
|
|
322
338
|
}
|
|
323
339
|
|
|
340
|
+
payload['project'] = this.client.config.project;
|
|
341
|
+
|
|
324
342
|
|
|
325
343
|
return await this.client.call(
|
|
326
344
|
'delete',
|
|
@@ -368,6 +386,8 @@ export class Backups {
|
|
|
368
386
|
'content-type': 'application/json',
|
|
369
387
|
}
|
|
370
388
|
|
|
389
|
+
payload['project'] = this.client.config.project;
|
|
390
|
+
|
|
371
391
|
|
|
372
392
|
return await this.client.call(
|
|
373
393
|
'post',
|
|
@@ -397,6 +417,8 @@ export class Backups {
|
|
|
397
417
|
'content-type': 'application/json',
|
|
398
418
|
}
|
|
399
419
|
|
|
420
|
+
payload['project'] = this.client.config.project;
|
|
421
|
+
|
|
400
422
|
|
|
401
423
|
return await this.client.call(
|
|
402
424
|
'get',
|
|
@@ -426,6 +448,8 @@ export class Backups {
|
|
|
426
448
|
'content-type': 'application/json',
|
|
427
449
|
}
|
|
428
450
|
|
|
451
|
+
payload['project'] = this.client.config.project;
|
|
452
|
+
|
|
429
453
|
|
|
430
454
|
return await this.client.call(
|
|
431
455
|
'get',
|
package/src/services/console.ts
CHANGED
|
@@ -30,6 +30,8 @@ export class Console {
|
|
|
30
30
|
'content-type': 'application/json',
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
payload['project'] = this.client.config.project;
|
|
34
|
+
|
|
33
35
|
|
|
34
36
|
return await this.client.call(
|
|
35
37
|
'get',
|
|
@@ -59,6 +61,8 @@ export class Console {
|
|
|
59
61
|
'content-type': 'application/json',
|
|
60
62
|
}
|
|
61
63
|
|
|
64
|
+
payload['project'] = this.client.config.project;
|
|
65
|
+
|
|
62
66
|
|
|
63
67
|
return await this.client.call(
|
|
64
68
|
'get',
|
|
@@ -84,6 +88,8 @@ export class Console {
|
|
|
84
88
|
'content-type': 'application/json',
|
|
85
89
|
}
|
|
86
90
|
|
|
91
|
+
payload['project'] = this.client.config.project;
|
|
92
|
+
|
|
87
93
|
|
|
88
94
|
return await this.client.call(
|
|
89
95
|
'get',
|
|
@@ -113,6 +119,8 @@ export class Console {
|
|
|
113
119
|
'content-type': 'application/json',
|
|
114
120
|
}
|
|
115
121
|
|
|
122
|
+
payload['project'] = this.client.config.project;
|
|
123
|
+
|
|
116
124
|
|
|
117
125
|
return await this.client.call(
|
|
118
126
|
'post',
|
|
@@ -138,6 +146,8 @@ export class Console {
|
|
|
138
146
|
'content-type': 'application/json',
|
|
139
147
|
}
|
|
140
148
|
|
|
149
|
+
payload['project'] = this.client.config.project;
|
|
150
|
+
|
|
141
151
|
|
|
142
152
|
return await this.client.call(
|
|
143
153
|
'get',
|
|
@@ -183,6 +193,8 @@ export class Console {
|
|
|
183
193
|
'content-type': 'application/json',
|
|
184
194
|
}
|
|
185
195
|
|
|
196
|
+
payload['project'] = this.client.config.project;
|
|
197
|
+
|
|
186
198
|
|
|
187
199
|
return await this.client.call(
|
|
188
200
|
'post',
|
|
@@ -208,6 +220,8 @@ export class Console {
|
|
|
208
220
|
'content-type': 'application/json',
|
|
209
221
|
}
|
|
210
222
|
|
|
223
|
+
payload['project'] = this.client.config.project;
|
|
224
|
+
|
|
211
225
|
|
|
212
226
|
return await this.client.call(
|
|
213
227
|
'get',
|
|
@@ -38,6 +38,8 @@ export class Databases {
|
|
|
38
38
|
'content-type': 'application/json',
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
payload['project'] = this.client.config.project;
|
|
42
|
+
|
|
41
43
|
|
|
42
44
|
return await this.client.call(
|
|
43
45
|
'get',
|
|
@@ -82,6 +84,8 @@ export class Databases {
|
|
|
82
84
|
'content-type': 'application/json',
|
|
83
85
|
}
|
|
84
86
|
|
|
87
|
+
payload['project'] = this.client.config.project;
|
|
88
|
+
|
|
85
89
|
|
|
86
90
|
return await this.client.call(
|
|
87
91
|
'post',
|
|
@@ -111,6 +115,8 @@ export class Databases {
|
|
|
111
115
|
'content-type': 'application/json',
|
|
112
116
|
}
|
|
113
117
|
|
|
118
|
+
payload['project'] = this.client.config.project;
|
|
119
|
+
|
|
114
120
|
|
|
115
121
|
return await this.client.call(
|
|
116
122
|
'get',
|
|
@@ -140,6 +146,8 @@ export class Databases {
|
|
|
140
146
|
'content-type': 'application/json',
|
|
141
147
|
}
|
|
142
148
|
|
|
149
|
+
payload['project'] = this.client.config.project;
|
|
150
|
+
|
|
143
151
|
|
|
144
152
|
return await this.client.call(
|
|
145
153
|
'get',
|
|
@@ -180,6 +188,8 @@ export class Databases {
|
|
|
180
188
|
'content-type': 'application/json',
|
|
181
189
|
}
|
|
182
190
|
|
|
191
|
+
payload['project'] = this.client.config.project;
|
|
192
|
+
|
|
183
193
|
|
|
184
194
|
return await this.client.call(
|
|
185
195
|
'put',
|
|
@@ -209,6 +219,8 @@ export class Databases {
|
|
|
209
219
|
'content-type': 'application/json',
|
|
210
220
|
}
|
|
211
221
|
|
|
222
|
+
payload['project'] = this.client.config.project;
|
|
223
|
+
|
|
212
224
|
|
|
213
225
|
return await this.client.call(
|
|
214
226
|
'delete',
|
|
@@ -246,6 +258,8 @@ export class Databases {
|
|
|
246
258
|
'content-type': 'application/json',
|
|
247
259
|
}
|
|
248
260
|
|
|
261
|
+
payload['project'] = this.client.config.project;
|
|
262
|
+
|
|
249
263
|
|
|
250
264
|
return await this.client.call(
|
|
251
265
|
'get',
|
|
@@ -301,6 +315,8 @@ export class Databases {
|
|
|
301
315
|
'content-type': 'application/json',
|
|
302
316
|
}
|
|
303
317
|
|
|
318
|
+
payload['project'] = this.client.config.project;
|
|
319
|
+
|
|
304
320
|
|
|
305
321
|
return await this.client.call(
|
|
306
322
|
'post',
|
|
@@ -334,6 +350,8 @@ export class Databases {
|
|
|
334
350
|
'content-type': 'application/json',
|
|
335
351
|
}
|
|
336
352
|
|
|
353
|
+
payload['project'] = this.client.config.project;
|
|
354
|
+
|
|
337
355
|
|
|
338
356
|
return await this.client.call(
|
|
339
357
|
'get',
|
|
@@ -386,6 +404,8 @@ export class Databases {
|
|
|
386
404
|
'content-type': 'application/json',
|
|
387
405
|
}
|
|
388
406
|
|
|
407
|
+
payload['project'] = this.client.config.project;
|
|
408
|
+
|
|
389
409
|
|
|
390
410
|
return await this.client.call(
|
|
391
411
|
'put',
|
|
@@ -419,6 +439,8 @@ export class Databases {
|
|
|
419
439
|
'content-type': 'application/json',
|
|
420
440
|
}
|
|
421
441
|
|
|
442
|
+
payload['project'] = this.client.config.project;
|
|
443
|
+
|
|
422
444
|
|
|
423
445
|
return await this.client.call(
|
|
424
446
|
'delete',
|
|
@@ -456,6 +478,8 @@ export class Databases {
|
|
|
456
478
|
'content-type': 'application/json',
|
|
457
479
|
}
|
|
458
480
|
|
|
481
|
+
payload['project'] = this.client.config.project;
|
|
482
|
+
|
|
459
483
|
|
|
460
484
|
return await this.client.call(
|
|
461
485
|
'get',
|
|
@@ -512,6 +536,8 @@ export class Databases {
|
|
|
512
536
|
'content-type': 'application/json',
|
|
513
537
|
}
|
|
514
538
|
|
|
539
|
+
payload['project'] = this.client.config.project;
|
|
540
|
+
|
|
515
541
|
|
|
516
542
|
return await this.client.call(
|
|
517
543
|
'post',
|
|
@@ -567,6 +593,8 @@ export class Databases {
|
|
|
567
593
|
'content-type': 'application/json',
|
|
568
594
|
}
|
|
569
595
|
|
|
596
|
+
payload['project'] = this.client.config.project;
|
|
597
|
+
|
|
570
598
|
|
|
571
599
|
return await this.client.call(
|
|
572
600
|
'patch',
|
|
@@ -622,6 +650,8 @@ export class Databases {
|
|
|
622
650
|
'content-type': 'application/json',
|
|
623
651
|
}
|
|
624
652
|
|
|
653
|
+
payload['project'] = this.client.config.project;
|
|
654
|
+
|
|
625
655
|
|
|
626
656
|
return await this.client.call(
|
|
627
657
|
'post',
|
|
@@ -677,6 +707,8 @@ export class Databases {
|
|
|
677
707
|
'content-type': 'application/json',
|
|
678
708
|
}
|
|
679
709
|
|
|
710
|
+
payload['project'] = this.client.config.project;
|
|
711
|
+
|
|
680
712
|
|
|
681
713
|
return await this.client.call(
|
|
682
714
|
'patch',
|
|
@@ -733,6 +765,8 @@ export class Databases {
|
|
|
733
765
|
'content-type': 'application/json',
|
|
734
766
|
}
|
|
735
767
|
|
|
768
|
+
payload['project'] = this.client.config.project;
|
|
769
|
+
|
|
736
770
|
|
|
737
771
|
return await this.client.call(
|
|
738
772
|
'post',
|
|
@@ -789,6 +823,8 @@ export class Databases {
|
|
|
789
823
|
'content-type': 'application/json',
|
|
790
824
|
}
|
|
791
825
|
|
|
826
|
+
payload['project'] = this.client.config.project;
|
|
827
|
+
|
|
792
828
|
|
|
793
829
|
return await this.client.call(
|
|
794
830
|
'patch',
|
|
@@ -852,6 +888,8 @@ export class Databases {
|
|
|
852
888
|
'content-type': 'application/json',
|
|
853
889
|
}
|
|
854
890
|
|
|
891
|
+
payload['project'] = this.client.config.project;
|
|
892
|
+
|
|
855
893
|
|
|
856
894
|
return await this.client.call(
|
|
857
895
|
'post',
|
|
@@ -915,6 +953,8 @@ export class Databases {
|
|
|
915
953
|
'content-type': 'application/json',
|
|
916
954
|
}
|
|
917
955
|
|
|
956
|
+
payload['project'] = this.client.config.project;
|
|
957
|
+
|
|
918
958
|
|
|
919
959
|
return await this.client.call(
|
|
920
960
|
'patch',
|
|
@@ -979,6 +1019,8 @@ export class Databases {
|
|
|
979
1019
|
'content-type': 'application/json',
|
|
980
1020
|
}
|
|
981
1021
|
|
|
1022
|
+
payload['project'] = this.client.config.project;
|
|
1023
|
+
|
|
982
1024
|
|
|
983
1025
|
return await this.client.call(
|
|
984
1026
|
'post',
|
|
@@ -1049,6 +1091,8 @@ export class Databases {
|
|
|
1049
1091
|
'content-type': 'application/json',
|
|
1050
1092
|
}
|
|
1051
1093
|
|
|
1094
|
+
payload['project'] = this.client.config.project;
|
|
1095
|
+
|
|
1052
1096
|
|
|
1053
1097
|
return await this.client.call(
|
|
1054
1098
|
'patch',
|
|
@@ -1113,6 +1157,8 @@ export class Databases {
|
|
|
1113
1157
|
'content-type': 'application/json',
|
|
1114
1158
|
}
|
|
1115
1159
|
|
|
1160
|
+
payload['project'] = this.client.config.project;
|
|
1161
|
+
|
|
1116
1162
|
|
|
1117
1163
|
return await this.client.call(
|
|
1118
1164
|
'post',
|
|
@@ -1183,6 +1229,8 @@ export class Databases {
|
|
|
1183
1229
|
'content-type': 'application/json',
|
|
1184
1230
|
}
|
|
1185
1231
|
|
|
1232
|
+
payload['project'] = this.client.config.project;
|
|
1233
|
+
|
|
1186
1234
|
|
|
1187
1235
|
return await this.client.call(
|
|
1188
1236
|
'patch',
|
|
@@ -1239,6 +1287,8 @@ export class Databases {
|
|
|
1239
1287
|
'content-type': 'application/json',
|
|
1240
1288
|
}
|
|
1241
1289
|
|
|
1290
|
+
payload['project'] = this.client.config.project;
|
|
1291
|
+
|
|
1242
1292
|
|
|
1243
1293
|
return await this.client.call(
|
|
1244
1294
|
'post',
|
|
@@ -1295,6 +1345,8 @@ export class Databases {
|
|
|
1295
1345
|
'content-type': 'application/json',
|
|
1296
1346
|
}
|
|
1297
1347
|
|
|
1348
|
+
payload['project'] = this.client.config.project;
|
|
1349
|
+
|
|
1298
1350
|
|
|
1299
1351
|
return await this.client.call(
|
|
1300
1352
|
'patch',
|
|
@@ -1359,6 +1411,8 @@ export class Databases {
|
|
|
1359
1411
|
'content-type': 'application/json',
|
|
1360
1412
|
}
|
|
1361
1413
|
|
|
1414
|
+
payload['project'] = this.client.config.project;
|
|
1415
|
+
|
|
1362
1416
|
|
|
1363
1417
|
return await this.client.call(
|
|
1364
1418
|
'post',
|
|
@@ -1426,6 +1480,8 @@ export class Databases {
|
|
|
1426
1480
|
'content-type': 'application/json',
|
|
1427
1481
|
}
|
|
1428
1482
|
|
|
1483
|
+
payload['project'] = this.client.config.project;
|
|
1484
|
+
|
|
1429
1485
|
|
|
1430
1486
|
return await this.client.call(
|
|
1431
1487
|
'post',
|
|
@@ -1486,6 +1542,8 @@ export class Databases {
|
|
|
1486
1542
|
'content-type': 'application/json',
|
|
1487
1543
|
}
|
|
1488
1544
|
|
|
1545
|
+
payload['project'] = this.client.config.project;
|
|
1546
|
+
|
|
1489
1547
|
|
|
1490
1548
|
return await this.client.call(
|
|
1491
1549
|
'patch',
|
|
@@ -1542,6 +1600,8 @@ export class Databases {
|
|
|
1542
1600
|
'content-type': 'application/json',
|
|
1543
1601
|
}
|
|
1544
1602
|
|
|
1603
|
+
payload['project'] = this.client.config.project;
|
|
1604
|
+
|
|
1545
1605
|
|
|
1546
1606
|
return await this.client.call(
|
|
1547
1607
|
'post',
|
|
@@ -1598,6 +1658,8 @@ export class Databases {
|
|
|
1598
1658
|
'content-type': 'application/json',
|
|
1599
1659
|
}
|
|
1600
1660
|
|
|
1661
|
+
payload['project'] = this.client.config.project;
|
|
1662
|
+
|
|
1601
1663
|
|
|
1602
1664
|
return await this.client.call(
|
|
1603
1665
|
'patch',
|
|
@@ -1635,6 +1697,8 @@ export class Databases {
|
|
|
1635
1697
|
'content-type': 'application/json',
|
|
1636
1698
|
}
|
|
1637
1699
|
|
|
1700
|
+
payload['project'] = this.client.config.project;
|
|
1701
|
+
|
|
1638
1702
|
|
|
1639
1703
|
return await this.client.call(
|
|
1640
1704
|
'get',
|
|
@@ -1672,6 +1736,8 @@ export class Databases {
|
|
|
1672
1736
|
'content-type': 'application/json',
|
|
1673
1737
|
}
|
|
1674
1738
|
|
|
1739
|
+
payload['project'] = this.client.config.project;
|
|
1740
|
+
|
|
1675
1741
|
|
|
1676
1742
|
return await this.client.call(
|
|
1677
1743
|
'delete',
|
|
@@ -1718,6 +1784,8 @@ export class Databases {
|
|
|
1718
1784
|
'content-type': 'application/json',
|
|
1719
1785
|
}
|
|
1720
1786
|
|
|
1787
|
+
payload['project'] = this.client.config.project;
|
|
1788
|
+
|
|
1721
1789
|
|
|
1722
1790
|
return await this.client.call(
|
|
1723
1791
|
'patch',
|
|
@@ -1755,6 +1823,8 @@ export class Databases {
|
|
|
1755
1823
|
'content-type': 'application/json',
|
|
1756
1824
|
}
|
|
1757
1825
|
|
|
1826
|
+
payload['project'] = this.client.config.project;
|
|
1827
|
+
|
|
1758
1828
|
|
|
1759
1829
|
return await this.client.call(
|
|
1760
1830
|
'get',
|
|
@@ -1806,6 +1876,8 @@ export class Databases {
|
|
|
1806
1876
|
'content-type': 'application/json',
|
|
1807
1877
|
}
|
|
1808
1878
|
|
|
1879
|
+
payload['project'] = this.client.config.project;
|
|
1880
|
+
|
|
1809
1881
|
|
|
1810
1882
|
return await this.client.call(
|
|
1811
1883
|
'post',
|
|
@@ -1847,6 +1919,8 @@ export class Databases {
|
|
|
1847
1919
|
'content-type': 'application/json',
|
|
1848
1920
|
}
|
|
1849
1921
|
|
|
1922
|
+
payload['project'] = this.client.config.project;
|
|
1923
|
+
|
|
1850
1924
|
|
|
1851
1925
|
return await this.client.call(
|
|
1852
1926
|
'get',
|
|
@@ -1892,6 +1966,8 @@ export class Databases {
|
|
|
1892
1966
|
'content-type': 'application/json',
|
|
1893
1967
|
}
|
|
1894
1968
|
|
|
1969
|
+
payload['project'] = this.client.config.project;
|
|
1970
|
+
|
|
1895
1971
|
|
|
1896
1972
|
return await this.client.call(
|
|
1897
1973
|
'patch',
|
|
@@ -1929,6 +2005,8 @@ export class Databases {
|
|
|
1929
2005
|
'content-type': 'application/json',
|
|
1930
2006
|
}
|
|
1931
2007
|
|
|
2008
|
+
payload['project'] = this.client.config.project;
|
|
2009
|
+
|
|
1932
2010
|
|
|
1933
2011
|
return await this.client.call(
|
|
1934
2012
|
'delete',
|
|
@@ -1970,6 +2048,8 @@ export class Databases {
|
|
|
1970
2048
|
'content-type': 'application/json',
|
|
1971
2049
|
}
|
|
1972
2050
|
|
|
2051
|
+
payload['project'] = this.client.config.project;
|
|
2052
|
+
|
|
1973
2053
|
|
|
1974
2054
|
return await this.client.call(
|
|
1975
2055
|
'get',
|
|
@@ -2007,6 +2087,8 @@ export class Databases {
|
|
|
2007
2087
|
'content-type': 'application/json',
|
|
2008
2088
|
}
|
|
2009
2089
|
|
|
2090
|
+
payload['project'] = this.client.config.project;
|
|
2091
|
+
|
|
2010
2092
|
|
|
2011
2093
|
return await this.client.call(
|
|
2012
2094
|
'get',
|
|
@@ -2066,6 +2148,8 @@ Attributes can be `key`, `fulltext`, and `unique`.
|
|
|
2066
2148
|
'content-type': 'application/json',
|
|
2067
2149
|
}
|
|
2068
2150
|
|
|
2151
|
+
payload['project'] = this.client.config.project;
|
|
2152
|
+
|
|
2069
2153
|
|
|
2070
2154
|
return await this.client.call(
|
|
2071
2155
|
'post',
|
|
@@ -2103,6 +2187,8 @@ Attributes can be `key`, `fulltext`, and `unique`.
|
|
|
2103
2187
|
'content-type': 'application/json',
|
|
2104
2188
|
}
|
|
2105
2189
|
|
|
2190
|
+
payload['project'] = this.client.config.project;
|
|
2191
|
+
|
|
2106
2192
|
|
|
2107
2193
|
return await this.client.call(
|
|
2108
2194
|
'get',
|
|
@@ -2140,6 +2226,8 @@ Attributes can be `key`, `fulltext`, and `unique`.
|
|
|
2140
2226
|
'content-type': 'application/json',
|
|
2141
2227
|
}
|
|
2142
2228
|
|
|
2229
|
+
payload['project'] = this.client.config.project;
|
|
2230
|
+
|
|
2143
2231
|
|
|
2144
2232
|
return await this.client.call(
|
|
2145
2233
|
'delete',
|
|
@@ -2177,6 +2265,8 @@ Attributes can be `key`, `fulltext`, and `unique`.
|
|
|
2177
2265
|
'content-type': 'application/json',
|
|
2178
2266
|
}
|
|
2179
2267
|
|
|
2268
|
+
payload['project'] = this.client.config.project;
|
|
2269
|
+
|
|
2180
2270
|
|
|
2181
2271
|
return await this.client.call(
|
|
2182
2272
|
'get',
|
|
@@ -2214,6 +2304,8 @@ Attributes can be `key`, `fulltext`, and `unique`.
|
|
|
2214
2304
|
'content-type': 'application/json',
|
|
2215
2305
|
}
|
|
2216
2306
|
|
|
2307
|
+
payload['project'] = this.client.config.project;
|
|
2308
|
+
|
|
2217
2309
|
|
|
2218
2310
|
return await this.client.call(
|
|
2219
2311
|
'get',
|
|
@@ -2247,6 +2339,8 @@ Attributes can be `key`, `fulltext`, and `unique`.
|
|
|
2247
2339
|
'content-type': 'application/json',
|
|
2248
2340
|
}
|
|
2249
2341
|
|
|
2342
|
+
payload['project'] = this.client.config.project;
|
|
2343
|
+
|
|
2250
2344
|
|
|
2251
2345
|
return await this.client.call(
|
|
2252
2346
|
'get',
|
|
@@ -2280,6 +2374,8 @@ Attributes can be `key`, `fulltext`, and `unique`.
|
|
|
2280
2374
|
'content-type': 'application/json',
|
|
2281
2375
|
}
|
|
2282
2376
|
|
|
2377
|
+
payload['project'] = this.client.config.project;
|
|
2378
|
+
|
|
2283
2379
|
|
|
2284
2380
|
return await this.client.call(
|
|
2285
2381
|
'get',
|