@@ -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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 "command" 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 }
0 commit comments