@appwrite.io/console 0.6.0-rc.15 → 0.6.0-rc.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/sdk.js CHANGED
@@ -115,7 +115,7 @@ class Client {
115
115
  'x-sdk-name': 'Console',
116
116
  'x-sdk-platform': 'console',
117
117
  'x-sdk-language': 'web',
118
- 'x-sdk-version': '0.6.0-rc.15',
118
+ 'x-sdk-version': '0.6.0-rc.16',
119
119
  'X-Appwrite-Response-Format': '1.5.0',
120
120
  };
121
121
  this.realtime = {
@@ -698,7 +698,7 @@ class Account extends Service {
698
698
  * authenticator](/docs/references/cloud/client-web/account#verifyAuthenticator)
699
699
  * method.
700
700
  *
701
- * @param {Type} type
701
+ * @param {AuthenticatorType} type
702
702
  * @throws {AppwriteException}
703
703
  * @returns {Promise}
704
704
  */
@@ -722,7 +722,7 @@ class Account extends Service {
722
722
  * authenticator](/docs/references/cloud/client-web/account#addAuthenticator)
723
723
  * method.
724
724
  *
725
- * @param {Type} type
725
+ * @param {AuthenticatorType} type
726
726
  * @param {string} otp
727
727
  * @throws {AppwriteException}
728
728
  * @returns {Promise}
@@ -751,7 +751,7 @@ class Account extends Service {
751
751
  *
752
752
  * Delete an authenticator for a user by ID.
753
753
  *
754
- * @param {Type} type
754
+ * @param {AuthenticatorType} type
755
755
  * @param {string} otp
756
756
  * @throws {AppwriteException}
757
757
  * @returns {Promise}
@@ -782,7 +782,7 @@ class Account extends Service {
782
782
  * [updateMfaChallenge](/docs/references/cloud/client-web/account#updateMfaChallenge)
783
783
  * method.
784
784
  *
785
- * @param {Factor} factor
785
+ * @param {AuthenticationFactor} factor
786
786
  * @throws {AppwriteException}
787
787
  * @returns {Promise}
788
788
  */
@@ -1423,10 +1423,11 @@ class Account extends Service {
1423
1423
  });
1424
1424
  }
1425
1425
  /**
1426
- * Update (or renew) session
1426
+ * Update session
1427
1427
  *
1428
- * Extend session's expiry to increase it's lifespan. Extending a session is
1429
- * useful when session length is short such as 5 minutes.
1428
+ * Use this endpoint to extend a session's length. Extending a session is
1429
+ * useful when session expiry is short. If the session was created using an
1430
+ * OAuth provider, this endpoint refreshes the access token from the provider.
1430
1431
  *
1431
1432
  * @param {string} sessionId
1432
1433
  * @throws {AppwriteException}
@@ -12762,18 +12763,18 @@ class ID {
12762
12763
  }
12763
12764
  }
12764
12765
 
12765
- var Type;
12766
- (function (Type) {
12767
- Type["Totp"] = "totp";
12768
- })(Type || (Type = {}));
12766
+ var AuthenticatorType;
12767
+ (function (AuthenticatorType) {
12768
+ AuthenticatorType["Totp"] = "totp";
12769
+ })(AuthenticatorType || (AuthenticatorType = {}));
12769
12770
 
12770
- var Factor;
12771
- (function (Factor) {
12772
- Factor["Email"] = "email";
12773
- Factor["Phone"] = "phone";
12774
- Factor["Totp"] = "totp";
12775
- Factor["Recoverycode"] = "recoverycode";
12776
- })(Factor || (Factor = {}));
12771
+ var AuthenticationFactor;
12772
+ (function (AuthenticationFactor) {
12773
+ AuthenticationFactor["Email"] = "email";
12774
+ AuthenticationFactor["Phone"] = "phone";
12775
+ AuthenticationFactor["Totp"] = "totp";
12776
+ AuthenticationFactor["Recoverycode"] = "recoverycode";
12777
+ })(AuthenticationFactor || (AuthenticationFactor = {}));
12777
12778
 
12778
12779
  var OAuthProvider;
12779
12780
  (function (OAuthProvider) {
@@ -13574,6 +13575,11 @@ var UserUsageRange;
13574
13575
  UserUsageRange["NinetyDays"] = "90d";
13575
13576
  })(UserUsageRange || (UserUsageRange = {}));
13576
13577
 
13578
+ var Type;
13579
+ (function (Type) {
13580
+ Type["Totp"] = "totp";
13581
+ })(Type || (Type = {}));
13582
+
13577
13583
  var MessagingProviderType;
13578
13584
  (function (MessagingProviderType) {
13579
13585
  MessagingProviderType["Email"] = "email";
@@ -13581,5 +13587,5 @@ var MessagingProviderType;
13581
13587
  MessagingProviderType["Push"] = "push";
13582
13588
  })(MessagingProviderType || (MessagingProviderType = {}));
13583
13589
 
13584
- export { Account, ApiService, AppwriteException, Assistant, AuthMethod, Avatars, Browser, Client, Compression, Console, CreditCard, DatabaseUsageRange, Databases, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, Factor, Flag, FunctionUsageRange, Functions, Graphql, Health, ID, ImageFormat, ImageGravity, IndexType, Locale, Messaging, MessagingProviderType, Migrations, Name, OAuthProvider, PasswordHash, Permission, PlatformType, Project, ProjectUsageRange, Projects, Proxy, Query, Region, RelationMutate, RelationshipType, ResourceType, Role, Runtime, SMTPSecure, SmsTemplateLocale, SmsTemplateType, SmtpEncryption, Storage, StorageUsageRange, Teams, Type, UserUsageRange, Users, Vcs };
13590
+ export { Account, ApiService, AppwriteException, Assistant, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, Browser, Client, Compression, Console, CreditCard, DatabaseUsageRange, Databases, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, Flag, FunctionUsageRange, Functions, Graphql, Health, ID, ImageFormat, ImageGravity, IndexType, Locale, Messaging, MessagingProviderType, Migrations, Name, OAuthProvider, PasswordHash, Permission, PlatformType, Project, ProjectUsageRange, Projects, Proxy, Query, Region, RelationMutate, RelationshipType, ResourceType, Role, Runtime, SMTPSecure, SmsTemplateLocale, SmsTemplateType, SmtpEncryption, Storage, StorageUsageRange, Teams, Type, UserUsageRange, Users, Vcs };
13585
13591
  //# sourceMappingURL=sdk.js.map