@@ -18,7 +18,7 @@ export class Functions {
18
18
* @throws {AppwriteException }
19
19
* @returns {Promise<Models.FunctionList> }
20
20
*/
21
- list ( queries ?: string [ ] , search ?: string ) : Promise < Models . FunctionList > {
21
+ list ( queries ?: string [ ] , search ?: string ) : Promise < Models . FunctionList > {
22
22
const apiPath = '/functions' ;
23
23
const payload : Payload = { } ;
24
24
if ( typeof queries !== 'undefined' ) {
@@ -68,7 +68,7 @@ export class Functions {
68
68
* @throws {AppwriteException }
69
69
* @returns {Promise<Models.Function> }
70
70
*/
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 > {
72
72
if ( typeof functionId === 'undefined' ) {
73
73
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
74
74
}
@@ -165,7 +165,7 @@ export class Functions {
165
165
* @throws {AppwriteException }
166
166
* @returns {Promise<Models.RuntimeList> }
167
167
*/
168
- listRuntimes ( ) : Promise < Models . RuntimeList > {
168
+ listRuntimes ( ) : Promise < Models . RuntimeList > {
169
169
const apiPath = '/functions/runtimes' ;
170
170
const payload : Payload = { } ;
171
171
const uri = new URL ( this . client . config . endpoint + apiPath ) ;
@@ -188,7 +188,7 @@ export class Functions {
188
188
* @throws {AppwriteException }
189
189
* @returns {Promise<Models.SpecificationList> }
190
190
*/
191
- listSpecifications ( ) : Promise < Models . SpecificationList > {
191
+ listSpecifications ( ) : Promise < Models . SpecificationList > {
192
192
const apiPath = '/functions/specifications' ;
193
193
const payload : Payload = { } ;
194
194
const uri = new URL ( this . client . config . endpoint + apiPath ) ;
@@ -211,7 +211,7 @@ export class Functions {
211
211
* @throws {AppwriteException }
212
212
* @returns {Promise<Models.Function> }
213
213
*/
214
- get ( functionId : string ) : Promise < Models . Function > {
214
+ get ( functionId : string ) : Promise < Models . Function > {
215
215
if ( typeof functionId === 'undefined' ) {
216
216
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
217
217
}
@@ -254,7 +254,7 @@ export class Functions {
254
254
* @throws {AppwriteException }
255
255
* @returns {Promise<Models.Function> }
256
256
*/
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 > {
258
258
if ( typeof functionId === 'undefined' ) {
259
259
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
260
260
}
@@ -334,7 +334,7 @@ export class Functions {
334
334
* @throws {AppwriteException }
335
335
* @returns {Promise<{}> }
336
336
*/
337
- delete ( functionId : string ) : Promise < { } > {
337
+ delete ( functionId : string ) : Promise < { } > {
338
338
if ( typeof functionId === 'undefined' ) {
339
339
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
340
340
}
@@ -362,7 +362,7 @@ export class Functions {
362
362
* @throws {AppwriteException }
363
363
* @returns {Promise<Models.DeploymentList> }
364
364
*/
365
- listDeployments ( functionId : string , queries ?: string [ ] , search ?: string ) : Promise < Models . DeploymentList > {
365
+ listDeployments ( functionId : string , queries ?: string [ ] , search ?: string ) : Promise < Models . DeploymentList > {
366
366
if ( typeof functionId === 'undefined' ) {
367
367
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
368
368
}
@@ -402,7 +402,7 @@ Use the "command" param to set the entrypoint used to execute your cod
402
402
* @throws {AppwriteException }
403
403
* @returns {Promise<Models.Deployment> }
404
404
*/
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 > {
406
406
if ( typeof functionId === 'undefined' ) {
407
407
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
408
408
}
@@ -448,7 +448,7 @@ Use the "command" param to set the entrypoint used to execute your cod
448
448
* @throws {AppwriteException }
449
449
* @returns {Promise<Models.Deployment> }
450
450
*/
451
- getDeployment ( functionId : string , deploymentId : string ) : Promise < Models . Deployment > {
451
+ getDeployment ( functionId : string , deploymentId : string ) : Promise < Models . Deployment > {
452
452
if ( typeof functionId === 'undefined' ) {
453
453
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
454
454
}
@@ -478,7 +478,7 @@ Use the "command" param to set the entrypoint used to execute your cod
478
478
* @throws {AppwriteException }
479
479
* @returns {Promise<Models.Function> }
480
480
*/
481
- updateDeployment ( functionId : string , deploymentId : string ) : Promise < Models . Function > {
481
+ updateDeployment ( functionId : string , deploymentId : string ) : Promise < Models . Function > {
482
482
if ( typeof functionId === 'undefined' ) {
483
483
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
484
484
}
@@ -508,7 +508,7 @@ Use the "command" param to set the entrypoint used to execute your cod
508
508
* @throws {AppwriteException }
509
509
* @returns {Promise<{}> }
510
510
*/
511
- deleteDeployment ( functionId : string , deploymentId : string ) : Promise < { } > {
511
+ deleteDeployment ( functionId : string , deploymentId : string ) : Promise < { } > {
512
512
if ( typeof functionId === 'undefined' ) {
513
513
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
514
514
}
@@ -539,7 +539,7 @@ Use the "command" param to set the entrypoint used to execute your cod
539
539
* @throws {AppwriteException }
540
540
* @returns {Promise<{}> }
541
541
*/
542
- createBuild ( functionId : string , deploymentId : string , buildId ?: string ) : Promise < { } > {
542
+ createBuild ( functionId : string , deploymentId : string , buildId ?: string ) : Promise < { } > {
543
543
if ( typeof functionId === 'undefined' ) {
544
544
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
545
545
}
@@ -572,7 +572,7 @@ Use the "command" param to set the entrypoint used to execute your cod
572
572
* @throws {AppwriteException }
573
573
* @returns {Promise<Models.Build> }
574
574
*/
575
- updateDeploymentBuild ( functionId : string , deploymentId : string ) : Promise < Models . Build > {
575
+ updateDeploymentBuild ( functionId : string , deploymentId : string ) : Promise < Models . Build > {
576
576
if ( typeof functionId === 'undefined' ) {
577
577
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
578
578
}
@@ -602,7 +602,7 @@ Use the "command" param to set the entrypoint used to execute your cod
602
602
* @throws {AppwriteException }
603
603
* @returns {Promise<ArrayBuffer> }
604
604
*/
605
- getDeploymentDownload ( functionId : string , deploymentId : string ) : Promise < ArrayBuffer > {
605
+ getDeploymentDownload ( functionId : string , deploymentId : string ) : Promise < ArrayBuffer > {
606
606
if ( typeof functionId === 'undefined' ) {
607
607
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
608
608
}
@@ -634,7 +634,7 @@ Use the "command" param to set the entrypoint used to execute your cod
634
634
* @throws {AppwriteException }
635
635
* @returns {Promise<Models.ExecutionList> }
636
636
*/
637
- listExecutions ( functionId : string , queries ?: string [ ] , search ?: string ) : Promise < Models . ExecutionList > {
637
+ listExecutions ( functionId : string , queries ?: string [ ] , search ?: string ) : Promise < Models . ExecutionList > {
638
638
if ( typeof functionId === 'undefined' ) {
639
639
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
640
640
}
@@ -672,7 +672,7 @@ Use the "command" param to set the entrypoint used to execute your cod
672
672
* @throws {AppwriteException }
673
673
* @returns {Promise<Models.Execution> }
674
674
*/
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 > {
676
676
if ( typeof functionId === 'undefined' ) {
677
677
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
678
678
}
@@ -717,7 +717,7 @@ Use the "command" param to set the entrypoint used to execute your cod
717
717
* @throws {AppwriteException }
718
718
* @returns {Promise<Models.Execution> }
719
719
*/
720
- getExecution ( functionId : string , executionId : string ) : Promise < Models . Execution > {
720
+ getExecution ( functionId : string , executionId : string ) : Promise < Models . Execution > {
721
721
if ( typeof functionId === 'undefined' ) {
722
722
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
723
723
}
@@ -748,7 +748,7 @@ Use the "command" param to set the entrypoint used to execute your cod
748
748
* @throws {AppwriteException }
749
749
* @returns {Promise<{}> }
750
750
*/
751
- deleteExecution ( functionId : string , executionId : string ) : Promise < { } > {
751
+ deleteExecution ( functionId : string , executionId : string ) : Promise < { } > {
752
752
if ( typeof functionId === 'undefined' ) {
753
753
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
754
754
}
@@ -777,7 +777,7 @@ Use the "command" param to set the entrypoint used to execute your cod
777
777
* @throws {AppwriteException }
778
778
* @returns {Promise<Models.VariableList> }
779
779
*/
780
- listVariables ( functionId : string ) : Promise < Models . VariableList > {
780
+ listVariables ( functionId : string ) : Promise < Models . VariableList > {
781
781
if ( typeof functionId === 'undefined' ) {
782
782
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
783
783
}
@@ -805,7 +805,7 @@ Use the "command" param to set the entrypoint used to execute your cod
805
805
* @throws {AppwriteException }
806
806
* @returns {Promise<Models.Variable> }
807
807
*/
808
- createVariable ( functionId : string , key : string , value : string ) : Promise < Models . Variable > {
808
+ createVariable ( functionId : string , key : string , value : string ) : Promise < Models . Variable > {
809
809
if ( typeof functionId === 'undefined' ) {
810
810
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
811
811
}
@@ -844,7 +844,7 @@ Use the "command" param to set the entrypoint used to execute your cod
844
844
* @throws {AppwriteException }
845
845
* @returns {Promise<Models.Variable> }
846
846
*/
847
- getVariable ( functionId : string , variableId : string ) : Promise < Models . Variable > {
847
+ getVariable ( functionId : string , variableId : string ) : Promise < Models . Variable > {
848
848
if ( typeof functionId === 'undefined' ) {
849
849
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
850
850
}
@@ -876,7 +876,7 @@ Use the "command" param to set the entrypoint used to execute your cod
876
876
* @throws {AppwriteException }
877
877
* @returns {Promise<Models.Variable> }
878
878
*/
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 > {
880
880
if ( typeof functionId === 'undefined' ) {
881
881
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
882
882
}
@@ -915,7 +915,7 @@ Use the "command" param to set the entrypoint used to execute your cod
915
915
* @throws {AppwriteException }
916
916
* @returns {Promise<{}> }
917
917
*/
918
- deleteVariable ( functionId : string , variableId : string ) : Promise < { } > {
918
+ deleteVariable ( functionId : string , variableId : string ) : Promise < { } > {
919
919
if ( typeof functionId === 'undefined' ) {
920
920
throw new AppwriteException ( 'Missing required parameter: "functionId"' ) ;
921
921
}
0 commit comments