Skip to content

Commit 60e9162

Browse files
committed
chore: regenerate sdk
1 parent fdcda31 commit 60e9162

File tree

11 files changed

+263
-263
lines changed

11 files changed

+263
-263
lines changed

src/services/account.ts

Lines changed: 43 additions & 43 deletions
Large diffs are not rendered by default.

src/services/avatars.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
2323
* @throws {AppwriteException}
2424
* @returns {Promise<ArrayBuffer>}
2525
*/
26-
getBrowser(code: Browser, width?: number, height?: number, quality?: number): Promise<ArrayBuffer> {
26+
getBrowser(code: Browser, width?: number, height?: number, quality?: number): Promise<ArrayBuffer> {
2727
if (typeof code === 'undefined') {
2828
throw new AppwriteException('Missing required parameter: "code"');
2929
}
@@ -65,7 +65,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
6565
* @throws {AppwriteException}
6666
* @returns {Promise<ArrayBuffer>}
6767
*/
68-
getCreditCard(code: CreditCard, width?: number, height?: number, quality?: number): Promise<ArrayBuffer> {
68+
getCreditCard(code: CreditCard, width?: number, height?: number, quality?: number): Promise<ArrayBuffer> {
6969
if (typeof code === 'undefined') {
7070
throw new AppwriteException('Missing required parameter: "code"');
7171
}
@@ -103,7 +103,7 @@ This endpoint does not follow HTTP redirects.
103103
* @throws {AppwriteException}
104104
* @returns {Promise<ArrayBuffer>}
105105
*/
106-
getFavicon(url: string): Promise<ArrayBuffer> {
106+
getFavicon(url: string): Promise<ArrayBuffer> {
107107
if (typeof url === 'undefined') {
108108
throw new AppwriteException('Missing required parameter: "url"');
109109
}
@@ -139,7 +139,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
139139
* @throws {AppwriteException}
140140
* @returns {Promise<ArrayBuffer>}
141141
*/
142-
getFlag(code: Flag, width?: number, height?: number, quality?: number): Promise<ArrayBuffer> {
142+
getFlag(code: Flag, width?: number, height?: number, quality?: number): Promise<ArrayBuffer> {
143143
if (typeof code === 'undefined') {
144144
throw new AppwriteException('Missing required parameter: "code"');
145145
}
@@ -181,7 +181,7 @@ This endpoint does not follow HTTP redirects.
181181
* @throws {AppwriteException}
182182
* @returns {Promise<ArrayBuffer>}
183183
*/
184-
getImage(url: string, width?: number, height?: number): Promise<ArrayBuffer> {
184+
getImage(url: string, width?: number, height?: number): Promise<ArrayBuffer> {
185185
if (typeof url === 'undefined') {
186186
throw new AppwriteException('Missing required parameter: "url"');
187187
}
@@ -225,7 +225,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
225225
* @throws {AppwriteException}
226226
* @returns {Promise<ArrayBuffer>}
227227
*/
228-
getInitials(name?: string, width?: number, height?: number, background?: string): Promise<ArrayBuffer> {
228+
getInitials(name?: string, width?: number, height?: number, background?: string): Promise<ArrayBuffer> {
229229
const apiPath = '/avatars/initials';
230230
const payload: Payload = {};
231231
if (typeof name !== 'undefined') {
@@ -265,7 +265,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
265265
* @throws {AppwriteException}
266266
* @returns {Promise<ArrayBuffer>}
267267
*/
268-
getQR(text: string, size?: number, margin?: number, download?: boolean): Promise<ArrayBuffer> {
268+
getQR(text: string, size?: number, margin?: number, download?: boolean): Promise<ArrayBuffer> {
269269
if (typeof text === 'undefined') {
270270
throw new AppwriteException('Missing required parameter: "text"');
271271
}

src/services/databases.ts

Lines changed: 42 additions & 42 deletions
Large diffs are not rendered by default.

src/services/functions.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class Functions {
1818
* @throws {AppwriteException}
1919
* @returns {Promise<Models.FunctionList>}
2020
*/
21-
list(queries?: string[], search?: string): Promise<Models.FunctionList> {
21+
list(queries?: string[], search?: string): Promise<Models.FunctionList> {
2222
const apiPath = '/functions';
2323
const payload: Payload = {};
2424
if (typeof queries !== 'undefined') {
@@ -68,7 +68,7 @@ export class Functions {
6868
* @throws {AppwriteException}
6969
* @returns {Promise<Models.Function>}
7070
*/
71-
create(functionId: string, name: string, runtime: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: string[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, templateRepository?: string, templateOwner?: string, templateRootDirectory?: string, templateVersion?: string, specification?: string): Promise<Models.Function> {
71+
create(functionId: string, name: string, runtime: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: string[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, templateRepository?: string, templateOwner?: string, templateRootDirectory?: string, templateVersion?: string, specification?: string): Promise<Models.Function> {
7272
if (typeof functionId === 'undefined') {
7373
throw new AppwriteException('Missing required parameter: "functionId"');
7474
}
@@ -165,7 +165,7 @@ export class Functions {
165165
* @throws {AppwriteException}
166166
* @returns {Promise<Models.RuntimeList>}
167167
*/
168-
listRuntimes(): Promise<Models.RuntimeList> {
168+
listRuntimes(): Promise<Models.RuntimeList> {
169169
const apiPath = '/functions/runtimes';
170170
const payload: Payload = {};
171171
const uri = new URL(this.client.config.endpoint + apiPath);
@@ -188,7 +188,7 @@ export class Functions {
188188
* @throws {AppwriteException}
189189
* @returns {Promise<Models.SpecificationList>}
190190
*/
191-
listSpecifications(): Promise<Models.SpecificationList> {
191+
listSpecifications(): Promise<Models.SpecificationList> {
192192
const apiPath = '/functions/specifications';
193193
const payload: Payload = {};
194194
const uri = new URL(this.client.config.endpoint + apiPath);
@@ -211,7 +211,7 @@ export class Functions {
211211
* @throws {AppwriteException}
212212
* @returns {Promise<Models.Function>}
213213
*/
214-
get(functionId: string): Promise<Models.Function> {
214+
get(functionId: string): Promise<Models.Function> {
215215
if (typeof functionId === 'undefined') {
216216
throw new AppwriteException('Missing required parameter: "functionId"');
217217
}
@@ -254,7 +254,7 @@ export class Functions {
254254
* @throws {AppwriteException}
255255
* @returns {Promise<Models.Function>}
256256
*/
257-
update(functionId: string, name: string, runtime?: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: string[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string): Promise<Models.Function> {
257+
update(functionId: string, name: string, runtime?: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: string[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string): Promise<Models.Function> {
258258
if (typeof functionId === 'undefined') {
259259
throw new AppwriteException('Missing required parameter: "functionId"');
260260
}
@@ -334,7 +334,7 @@ export class Functions {
334334
* @throws {AppwriteException}
335335
* @returns {Promise<{}>}
336336
*/
337-
delete(functionId: string): Promise<{}> {
337+
delete(functionId: string): Promise<{}> {
338338
if (typeof functionId === 'undefined') {
339339
throw new AppwriteException('Missing required parameter: "functionId"');
340340
}
@@ -362,7 +362,7 @@ export class Functions {
362362
* @throws {AppwriteException}
363363
* @returns {Promise<Models.DeploymentList>}
364364
*/
365-
listDeployments(functionId: string, queries?: string[], search?: string): Promise<Models.DeploymentList> {
365+
listDeployments(functionId: string, queries?: string[], search?: string): Promise<Models.DeploymentList> {
366366
if (typeof functionId === 'undefined') {
367367
throw new AppwriteException('Missing required parameter: "functionId"');
368368
}
@@ -402,7 +402,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
402402
* @throws {AppwriteException}
403403
* @returns {Promise<Models.Deployment>}
404404
*/
405-
createDeployment(functionId: string, code: File, activate: boolean, entrypoint?: string, commands?: string, onProgress = (progress: UploadProgress) => {}): Promise<Models.Deployment> {
405+
createDeployment(functionId: string, code: File, activate: boolean, entrypoint?: string, commands?: string, onProgress = (progress: UploadProgress) => {}): Promise<Models.Deployment> {
406406
if (typeof functionId === 'undefined') {
407407
throw new AppwriteException('Missing required parameter: "functionId"');
408408
}
@@ -448,7 +448,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
448448
* @throws {AppwriteException}
449449
* @returns {Promise<Models.Deployment>}
450450
*/
451-
getDeployment(functionId: string, deploymentId: string): Promise<Models.Deployment> {
451+
getDeployment(functionId: string, deploymentId: string): Promise<Models.Deployment> {
452452
if (typeof functionId === 'undefined') {
453453
throw new AppwriteException('Missing required parameter: "functionId"');
454454
}
@@ -478,7 +478,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
478478
* @throws {AppwriteException}
479479
* @returns {Promise<Models.Function>}
480480
*/
481-
updateDeployment(functionId: string, deploymentId: string): Promise<Models.Function> {
481+
updateDeployment(functionId: string, deploymentId: string): Promise<Models.Function> {
482482
if (typeof functionId === 'undefined') {
483483
throw new AppwriteException('Missing required parameter: "functionId"');
484484
}
@@ -508,7 +508,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
508508
* @throws {AppwriteException}
509509
* @returns {Promise<{}>}
510510
*/
511-
deleteDeployment(functionId: string, deploymentId: string): Promise<{}> {
511+
deleteDeployment(functionId: string, deploymentId: string): Promise<{}> {
512512
if (typeof functionId === 'undefined') {
513513
throw new AppwriteException('Missing required parameter: "functionId"');
514514
}
@@ -539,7 +539,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
539539
* @throws {AppwriteException}
540540
* @returns {Promise<{}>}
541541
*/
542-
createBuild(functionId: string, deploymentId: string, buildId?: string): Promise<{}> {
542+
createBuild(functionId: string, deploymentId: string, buildId?: string): Promise<{}> {
543543
if (typeof functionId === 'undefined') {
544544
throw new AppwriteException('Missing required parameter: "functionId"');
545545
}
@@ -572,7 +572,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
572572
* @throws {AppwriteException}
573573
* @returns {Promise<Models.Build>}
574574
*/
575-
updateDeploymentBuild(functionId: string, deploymentId: string): Promise<Models.Build> {
575+
updateDeploymentBuild(functionId: string, deploymentId: string): Promise<Models.Build> {
576576
if (typeof functionId === 'undefined') {
577577
throw new AppwriteException('Missing required parameter: "functionId"');
578578
}
@@ -602,7 +602,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
602602
* @throws {AppwriteException}
603603
* @returns {Promise<ArrayBuffer>}
604604
*/
605-
getDeploymentDownload(functionId: string, deploymentId: string): Promise<ArrayBuffer> {
605+
getDeploymentDownload(functionId: string, deploymentId: string): Promise<ArrayBuffer> {
606606
if (typeof functionId === 'undefined') {
607607
throw new AppwriteException('Missing required parameter: "functionId"');
608608
}
@@ -634,7 +634,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
634634
* @throws {AppwriteException}
635635
* @returns {Promise<Models.ExecutionList>}
636636
*/
637-
listExecutions(functionId: string, queries?: string[], search?: string): Promise<Models.ExecutionList> {
637+
listExecutions(functionId: string, queries?: string[], search?: string): Promise<Models.ExecutionList> {
638638
if (typeof functionId === 'undefined') {
639639
throw new AppwriteException('Missing required parameter: "functionId"');
640640
}
@@ -672,7 +672,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
672672
* @throws {AppwriteException}
673673
* @returns {Promise<Models.Execution>}
674674
*/
675-
createExecution(functionId: string, body?: string, async?: boolean, xpath?: string, method?: ExecutionMethod, headers?: object, scheduledAt?: string): Promise<Models.Execution> {
675+
createExecution(functionId: string, body?: string, async?: boolean, xpath?: string, method?: ExecutionMethod, headers?: object, scheduledAt?: string): Promise<Models.Execution> {
676676
if (typeof functionId === 'undefined') {
677677
throw new AppwriteException('Missing required parameter: "functionId"');
678678
}
@@ -717,7 +717,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
717717
* @throws {AppwriteException}
718718
* @returns {Promise<Models.Execution>}
719719
*/
720-
getExecution(functionId: string, executionId: string): Promise<Models.Execution> {
720+
getExecution(functionId: string, executionId: string): Promise<Models.Execution> {
721721
if (typeof functionId === 'undefined') {
722722
throw new AppwriteException('Missing required parameter: "functionId"');
723723
}
@@ -748,7 +748,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
748748
* @throws {AppwriteException}
749749
* @returns {Promise<{}>}
750750
*/
751-
deleteExecution(functionId: string, executionId: string): Promise<{}> {
751+
deleteExecution(functionId: string, executionId: string): Promise<{}> {
752752
if (typeof functionId === 'undefined') {
753753
throw new AppwriteException('Missing required parameter: "functionId"');
754754
}
@@ -777,7 +777,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
777777
* @throws {AppwriteException}
778778
* @returns {Promise<Models.VariableList>}
779779
*/
780-
listVariables(functionId: string): Promise<Models.VariableList> {
780+
listVariables(functionId: string): Promise<Models.VariableList> {
781781
if (typeof functionId === 'undefined') {
782782
throw new AppwriteException('Missing required parameter: "functionId"');
783783
}
@@ -805,7 +805,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
805805
* @throws {AppwriteException}
806806
* @returns {Promise<Models.Variable>}
807807
*/
808-
createVariable(functionId: string, key: string, value: string): Promise<Models.Variable> {
808+
createVariable(functionId: string, key: string, value: string): Promise<Models.Variable> {
809809
if (typeof functionId === 'undefined') {
810810
throw new AppwriteException('Missing required parameter: "functionId"');
811811
}
@@ -844,7 +844,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
844844
* @throws {AppwriteException}
845845
* @returns {Promise<Models.Variable>}
846846
*/
847-
getVariable(functionId: string, variableId: string): Promise<Models.Variable> {
847+
getVariable(functionId: string, variableId: string): Promise<Models.Variable> {
848848
if (typeof functionId === 'undefined') {
849849
throw new AppwriteException('Missing required parameter: "functionId"');
850850
}
@@ -876,7 +876,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
876876
* @throws {AppwriteException}
877877
* @returns {Promise<Models.Variable>}
878878
*/
879-
updateVariable(functionId: string, variableId: string, key: string, value?: string): Promise<Models.Variable> {
879+
updateVariable(functionId: string, variableId: string, key: string, value?: string): Promise<Models.Variable> {
880880
if (typeof functionId === 'undefined') {
881881
throw new AppwriteException('Missing required parameter: "functionId"');
882882
}
@@ -915,7 +915,7 @@ Use the &quot;command&quot; param to set the entrypoint used to execute your cod
915915
* @throws {AppwriteException}
916916
* @returns {Promise<{}>}
917917
*/
918-
deleteVariable(functionId: string, variableId: string): Promise<{}> {
918+
deleteVariable(functionId: string, variableId: string): Promise<{}> {
919919
if (typeof functionId === 'undefined') {
920920
throw new AppwriteException('Missing required parameter: "functionId"');
921921
}

src/services/graphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class Graphql {
1515
* @throws {AppwriteException}
1616
* @returns {Promise<{}>}
1717
*/
18-
query(query: object): Promise<{}> {
18+
query(query: object): Promise<{}> {
1919
if (typeof query === 'undefined') {
2020
throw new AppwriteException('Missing required parameter: "query"');
2121
}
@@ -45,7 +45,7 @@ export class Graphql {
4545
* @throws {AppwriteException}
4646
* @returns {Promise<{}>}
4747
*/
48-
mutation(query: object): Promise<{}> {
48+
mutation(query: object): Promise<{}> {
4949
if (typeof query === 'undefined') {
5050
throw new AppwriteException('Missing required parameter: "query"');
5151
}

0 commit comments

Comments
 (0)