@@ -22,7 +22,7 @@ export class Teams extends Service {
2222 * @throws {AppwriteException }
2323 * @returns {Promise }
2424 */
25- async list < Preferences extends Models . Preferences > ( queries ?: string [ ] , search ?: string ) : Promise < Models . TeamList < Preferences > > {
25+ list < Preferences extends Models . Preferences > ( queries ?: string [ ] , search ?: string ) : Promise < Models . TeamList < Preferences > > {
2626 const apiPath = '/teams' ;
2727 const payload : Payload = { } ;
2828
@@ -51,7 +51,7 @@ export class Teams extends Service {
5151 * @throws {AppwriteException }
5252 * @returns {Promise }
5353 */
54- async create < Preferences extends Models . Preferences > ( teamId : string , name : string , roles ?: string [ ] ) : Promise < Models . Team < Preferences > > {
54+ create < Preferences extends Models . Preferences > ( teamId : string , name : string , roles ?: string [ ] ) : Promise < Models . Team < Preferences > > {
5555 if ( typeof teamId === 'undefined' ) {
5656 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
5757 }
@@ -88,7 +88,7 @@ export class Teams extends Service {
8888 * @throws {AppwriteException }
8989 * @returns {Promise }
9090 */
91- async get < Preferences extends Models . Preferences > ( teamId : string ) : Promise < Models . Team < Preferences > > {
91+ get < Preferences extends Models . Preferences > ( teamId : string ) : Promise < Models . Team < Preferences > > {
9292 if ( typeof teamId === 'undefined' ) {
9393 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
9494 }
@@ -110,7 +110,7 @@ export class Teams extends Service {
110110 * @throws {AppwriteException }
111111 * @returns {Promise }
112112 */
113- async updateName < Preferences extends Models . Preferences > ( teamId : string , name : string ) : Promise < Models . Team < Preferences > > {
113+ updateName < Preferences extends Models . Preferences > ( teamId : string , name : string ) : Promise < Models . Team < Preferences > > {
114114 if ( typeof teamId === 'undefined' ) {
115115 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
116116 }
@@ -140,7 +140,7 @@ export class Teams extends Service {
140140 * @throws {AppwriteException }
141141 * @returns {Promise }
142142 */
143- async delete ( teamId : string ) : Promise < { } > {
143+ delete ( teamId : string ) : Promise < { } > {
144144 if ( typeof teamId === 'undefined' ) {
145145 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
146146 }
@@ -165,7 +165,7 @@ export class Teams extends Service {
165165 * @throws {AppwriteException }
166166 * @returns {Promise }
167167 */
168- async listMemberships ( teamId : string , queries ?: string [ ] , search ?: string ) : Promise < Models . MembershipList > {
168+ listMemberships ( teamId : string , queries ?: string [ ] , search ?: string ) : Promise < Models . MembershipList > {
169169 if ( typeof teamId === 'undefined' ) {
170170 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
171171 }
@@ -220,7 +220,7 @@ export class Teams extends Service {
220220 * @throws {AppwriteException }
221221 * @returns {Promise }
222222 */
223- async createMembership ( teamId : string , roles : string [ ] , email ?: string , userId ?: string , phone ?: string , url ?: string , name ?: string ) : Promise < Models . Membership > {
223+ createMembership ( teamId : string , roles : string [ ] , email ?: string , userId ?: string , phone ?: string , url ?: string , name ?: string ) : Promise < Models . Membership > {
224224 if ( typeof teamId === 'undefined' ) {
225225 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
226226 }
@@ -272,7 +272,7 @@ export class Teams extends Service {
272272 * @throws {AppwriteException }
273273 * @returns {Promise }
274274 */
275- async getMembership ( teamId : string , membershipId : string ) : Promise < Models . Membership > {
275+ getMembership ( teamId : string , membershipId : string ) : Promise < Models . Membership > {
276276 if ( typeof teamId === 'undefined' ) {
277277 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
278278 }
@@ -302,7 +302,7 @@ export class Teams extends Service {
302302 * @throws {AppwriteException }
303303 * @returns {Promise }
304304 */
305- async updateMembership ( teamId : string , membershipId : string , roles : string [ ] ) : Promise < Models . Membership > {
305+ updateMembership ( teamId : string , membershipId : string , roles : string [ ] ) : Promise < Models . Membership > {
306306 if ( typeof teamId === 'undefined' ) {
307307 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
308308 }
@@ -338,7 +338,7 @@ export class Teams extends Service {
338338 * @throws {AppwriteException }
339339 * @returns {Promise }
340340 */
341- async deleteMembership ( teamId : string , membershipId : string ) : Promise < { } > {
341+ deleteMembership ( teamId : string , membershipId : string ) : Promise < { } > {
342342 if ( typeof teamId === 'undefined' ) {
343343 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
344344 }
@@ -372,7 +372,7 @@ export class Teams extends Service {
372372 * @throws {AppwriteException }
373373 * @returns {Promise }
374374 */
375- async updateMembershipStatus ( teamId : string , membershipId : string , userId : string , secret : string ) : Promise < Models . Membership > {
375+ updateMembershipStatus ( teamId : string , membershipId : string , userId : string , secret : string ) : Promise < Models . Membership > {
376376 if ( typeof teamId === 'undefined' ) {
377377 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
378378 }
@@ -415,7 +415,7 @@ export class Teams extends Service {
415415 * @throws {AppwriteException }
416416 * @returns {Promise }
417417 */
418- async getPrefs < Preferences extends Models . Preferences > ( teamId : string ) : Promise < Preferences > {
418+ getPrefs < Preferences extends Models . Preferences > ( teamId : string ) : Promise < Preferences > {
419419 if ( typeof teamId === 'undefined' ) {
420420 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
421421 }
@@ -439,7 +439,7 @@ export class Teams extends Service {
439439 * @throws {AppwriteException }
440440 * @returns {Promise }
441441 */
442- async updatePrefs < Preferences extends Models . Preferences > ( teamId : string , prefs : object ) : Promise < Preferences > {
442+ updatePrefs < Preferences extends Models . Preferences > ( teamId : string , prefs : object ) : Promise < Preferences > {
443443 if ( typeof teamId === 'undefined' ) {
444444 throw new AppwriteException ( 'Missing required parameter: "teamId"' ) ;
445445 }
0 commit comments