@appwrite.io/console 1.2.0 → 1.2.1
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/README.md +1 -1
- package/dist/cjs/sdk.js +66 -52
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +66 -52
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +66 -52
- package/package.json +1 -1
- package/src/client.ts +2 -1
- package/src/enums/image-format.ts +1 -0
- package/src/enums/runtime.ts +12 -1
- package/src/enums/s-m-t-p-secure.ts +1 -0
- package/src/models.ts +120 -2
- package/src/services/account.ts +10 -10
- package/src/services/assistant.ts +1 -1
- package/src/services/locale.ts +1 -1
- package/src/services/migrations.ts +14 -14
- package/src/services/project.ts +5 -5
- package/src/services/proxy.ts +5 -5
- package/src/services/storage.ts +1 -1
- package/src/services/users.ts +10 -10
- package/src/services/vcs.ts +3 -3
- package/types/enums/image-format.d.ts +2 -1
- package/types/enums/runtime.d.ts +12 -1
- package/types/enums/s-m-t-p-secure.d.ts +2 -1
- package/types/models.d.ts +118 -0
- package/types/services/account.d.ts +10 -10
- package/types/services/assistant.d.ts +1 -1
- package/types/services/locale.d.ts +1 -1
- package/types/services/migrations.d.ts +14 -14
- package/types/services/project.d.ts +5 -5
- package/types/services/proxy.d.ts +5 -5
- package/types/services/storage.d.ts +1 -1
- package/types/services/users.d.ts +10 -10
- package/types/services/vcs.d.ts +3 -3
|
@@ -59,7 +59,7 @@ export declare class Users {
|
|
|
59
59
|
*/
|
|
60
60
|
createBcryptUser<Preferences extends Models.Preferences>(userId: string, email: string, password: string, name?: string): Promise<Models.User<Preferences>>;
|
|
61
61
|
/**
|
|
62
|
-
* List
|
|
62
|
+
* List identities
|
|
63
63
|
*
|
|
64
64
|
* Get identities for all users.
|
|
65
65
|
*
|
|
@@ -251,7 +251,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
|
|
|
251
251
|
*/
|
|
252
252
|
updateMfa<Preferences extends Models.Preferences>(userId: string, mfa: boolean): Promise<Models.User<Preferences>>;
|
|
253
253
|
/**
|
|
254
|
-
* Delete
|
|
254
|
+
* Delete authenticator
|
|
255
255
|
*
|
|
256
256
|
* Delete an authenticator app.
|
|
257
257
|
*
|
|
@@ -262,7 +262,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
|
|
|
262
262
|
*/
|
|
263
263
|
deleteMfaAuthenticator<Preferences extends Models.Preferences>(userId: string, type: AuthenticatorType): Promise<Models.User<Preferences>>;
|
|
264
264
|
/**
|
|
265
|
-
* List
|
|
265
|
+
* List factors
|
|
266
266
|
*
|
|
267
267
|
* List the factors available on the account to be used as a MFA challange.
|
|
268
268
|
*
|
|
@@ -272,7 +272,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
|
|
|
272
272
|
*/
|
|
273
273
|
listMfaFactors(userId: string): Promise<Models.MfaFactors>;
|
|
274
274
|
/**
|
|
275
|
-
* Get MFA
|
|
275
|
+
* Get MFA recovery codes
|
|
276
276
|
*
|
|
277
277
|
* Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](/docs/references/cloud/client-web/account#createMfaRecoveryCodes) method.
|
|
278
278
|
*
|
|
@@ -282,7 +282,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
|
|
|
282
282
|
*/
|
|
283
283
|
getMfaRecoveryCodes(userId: string): Promise<Models.MfaRecoveryCodes>;
|
|
284
284
|
/**
|
|
285
|
-
* Regenerate MFA
|
|
285
|
+
* Regenerate MFA recovery codes
|
|
286
286
|
*
|
|
287
287
|
* Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](/docs/references/cloud/client-web/account#createMfaRecoveryCodes) method.
|
|
288
288
|
*
|
|
@@ -292,7 +292,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
|
|
|
292
292
|
*/
|
|
293
293
|
updateMfaRecoveryCodes(userId: string): Promise<Models.MfaRecoveryCodes>;
|
|
294
294
|
/**
|
|
295
|
-
* Create MFA
|
|
295
|
+
* Create MFA recovery codes
|
|
296
296
|
*
|
|
297
297
|
* Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](/docs/references/cloud/client-web/account#createMfaChallenge) method by client SDK.
|
|
298
298
|
*
|
|
@@ -410,7 +410,7 @@ If you want to generate a token for a custom authentication flow, use the [POST
|
|
|
410
410
|
*/
|
|
411
411
|
updateStatus<Preferences extends Models.Preferences>(userId: string, status: boolean): Promise<Models.User<Preferences>>;
|
|
412
412
|
/**
|
|
413
|
-
* List
|
|
413
|
+
* List user targets
|
|
414
414
|
*
|
|
415
415
|
* List the messaging targets that are associated with a user.
|
|
416
416
|
*
|
|
@@ -421,7 +421,7 @@ If you want to generate a token for a custom authentication flow, use the [POST
|
|
|
421
421
|
*/
|
|
422
422
|
listTargets(userId: string, queries?: string[]): Promise<Models.TargetList>;
|
|
423
423
|
/**
|
|
424
|
-
* Create
|
|
424
|
+
* Create user target
|
|
425
425
|
*
|
|
426
426
|
* Create a messaging target.
|
|
427
427
|
*
|
|
@@ -436,7 +436,7 @@ If you want to generate a token for a custom authentication flow, use the [POST
|
|
|
436
436
|
*/
|
|
437
437
|
createTarget(userId: string, targetId: string, providerType: MessagingProviderType, identifier: string, providerId?: string, name?: string): Promise<Models.Target>;
|
|
438
438
|
/**
|
|
439
|
-
* Get
|
|
439
|
+
* Get user target
|
|
440
440
|
*
|
|
441
441
|
* Get a user's push notification target by ID.
|
|
442
442
|
*
|
|
@@ -447,7 +447,7 @@ If you want to generate a token for a custom authentication flow, use the [POST
|
|
|
447
447
|
*/
|
|
448
448
|
getTarget(userId: string, targetId: string): Promise<Models.Target>;
|
|
449
449
|
/**
|
|
450
|
-
* Update
|
|
450
|
+
* Update user target
|
|
451
451
|
*
|
|
452
452
|
* Update a messaging target.
|
|
453
453
|
*
|
package/types/services/vcs.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare class Vcs {
|
|
|
4
4
|
client: Client;
|
|
5
5
|
constructor(client: Client);
|
|
6
6
|
/**
|
|
7
|
-
* List
|
|
7
|
+
* List repositories
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* @param {string} installationId
|
|
@@ -35,7 +35,7 @@ export declare class Vcs {
|
|
|
35
35
|
*/
|
|
36
36
|
getRepository(installationId: string, providerRepositoryId: string): Promise<Models.ProviderRepository>;
|
|
37
37
|
/**
|
|
38
|
-
* List
|
|
38
|
+
* List repository branches
|
|
39
39
|
*
|
|
40
40
|
*
|
|
41
41
|
* @param {string} installationId
|
|
@@ -97,7 +97,7 @@ export declare class Vcs {
|
|
|
97
97
|
*/
|
|
98
98
|
getInstallation(installationId: string): Promise<Models.Installation>;
|
|
99
99
|
/**
|
|
100
|
-
* Delete
|
|
100
|
+
* Delete installation
|
|
101
101
|
*
|
|
102
102
|
*
|
|
103
103
|
* @param {string} installationId
|