@@ -23,7 +23,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
23
23
* @throws {AppwriteException }
24
24
* @returns {Promise<ArrayBuffer> }
25
25
*/
26
- async getBrowser ( code : Browser , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
26
+ getBrowser ( code : Browser , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
27
27
if ( typeof code === 'undefined' ) {
28
28
throw new AppwriteException ( 'Missing required parameter: "code"' ) ;
29
29
}
@@ -44,7 +44,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
44
44
'content-type' : 'application/json' ,
45
45
}
46
46
47
- return await this . client . call (
47
+ return this . client . call (
48
48
'get' ,
49
49
uri ,
50
50
apiHeaders ,
@@ -65,7 +65,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
65
65
* @throws {AppwriteException }
66
66
* @returns {Promise<ArrayBuffer> }
67
67
*/
68
- async getCreditCard ( code : CreditCard , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
68
+ getCreditCard ( code : CreditCard , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
69
69
if ( typeof code === 'undefined' ) {
70
70
throw new AppwriteException ( 'Missing required parameter: "code"' ) ;
71
71
}
@@ -86,7 +86,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
86
86
'content-type' : 'application/json' ,
87
87
}
88
88
89
- return await this . client . call (
89
+ return this . client . call (
90
90
'get' ,
91
91
uri ,
92
92
apiHeaders ,
@@ -103,7 +103,7 @@ This endpoint does not follow HTTP redirects.
103
103
* @throws {AppwriteException }
104
104
* @returns {Promise<ArrayBuffer> }
105
105
*/
106
- async getFavicon ( url : string ) : Promise < ArrayBuffer > {
106
+ getFavicon ( url : string ) : Promise < ArrayBuffer > {
107
107
if ( typeof url === 'undefined' ) {
108
108
throw new AppwriteException ( 'Missing required parameter: "url"' ) ;
109
109
}
@@ -118,7 +118,7 @@ This endpoint does not follow HTTP redirects.
118
118
'content-type' : 'application/json' ,
119
119
}
120
120
121
- return await this . client . call (
121
+ return this . client . call (
122
122
'get' ,
123
123
uri ,
124
124
apiHeaders ,
@@ -139,7 +139,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
139
139
* @throws {AppwriteException }
140
140
* @returns {Promise<ArrayBuffer> }
141
141
*/
142
- async getFlag ( code : Flag , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
142
+ getFlag ( code : Flag , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
143
143
if ( typeof code === 'undefined' ) {
144
144
throw new AppwriteException ( 'Missing required parameter: "code"' ) ;
145
145
}
@@ -160,7 +160,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
160
160
'content-type' : 'application/json' ,
161
161
}
162
162
163
- return await this . client . call (
163
+ return this . client . call (
164
164
'get' ,
165
165
uri ,
166
166
apiHeaders ,
@@ -181,7 +181,7 @@ This endpoint does not follow HTTP redirects.
181
181
* @throws {AppwriteException }
182
182
* @returns {Promise<ArrayBuffer> }
183
183
*/
184
- async getImage ( url : string , width ?: number , height ?: number ) : Promise < ArrayBuffer > {
184
+ getImage ( url : string , width ?: number , height ?: number ) : Promise < ArrayBuffer > {
185
185
if ( typeof url === 'undefined' ) {
186
186
throw new AppwriteException ( 'Missing required parameter: "url"' ) ;
187
187
}
@@ -202,7 +202,7 @@ This endpoint does not follow HTTP redirects.
202
202
'content-type' : 'application/json' ,
203
203
}
204
204
205
- return await this . client . call (
205
+ return this . client . call (
206
206
'get' ,
207
207
uri ,
208
208
apiHeaders ,
@@ -225,7 +225,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
225
225
* @throws {AppwriteException }
226
226
* @returns {Promise<ArrayBuffer> }
227
227
*/
228
- async getInitials ( name ?: string , width ?: number , height ?: number , background ?: string ) : Promise < ArrayBuffer > {
228
+ getInitials ( name ?: string , width ?: number , height ?: number , background ?: string ) : Promise < ArrayBuffer > {
229
229
const apiPath = '/avatars/initials' ;
230
230
const payload : Payload = { } ;
231
231
if ( typeof name !== 'undefined' ) {
@@ -246,7 +246,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
246
246
'content-type' : 'application/json' ,
247
247
}
248
248
249
- return await this . client . call (
249
+ return this . client . call (
250
250
'get' ,
251
251
uri ,
252
252
apiHeaders ,
@@ -265,7 +265,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
265
265
* @throws {AppwriteException }
266
266
* @returns {Promise<ArrayBuffer> }
267
267
*/
268
- async getQR ( text : string , size ?: number , margin ?: number , download ?: boolean ) : Promise < ArrayBuffer > {
268
+ getQR ( text : string , size ?: number , margin ?: number , download ?: boolean ) : Promise < ArrayBuffer > {
269
269
if ( typeof text === 'undefined' ) {
270
270
throw new AppwriteException ( 'Missing required parameter: "text"' ) ;
271
271
}
@@ -289,7 +289,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
289
289
'content-type' : 'application/json' ,
290
290
}
291
291
292
- return await this . client . call (
292
+ return this . client . call (
293
293
'get' ,
294
294
uri ,
295
295
apiHeaders ,
0 commit comments