react-native-appwrite 0.4.0 → 0.6.0
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 +2 -2
- package/dist/cjs/sdk.js +47 -28
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +47 -28
- package/dist/esm/sdk.js.map +1 -1
- package/docs/examples/account/create-anonymous-session.md +2 -2
- package/docs/examples/account/create-email-password-session.md +2 -2
- package/docs/examples/account/create-email-token.md +2 -2
- package/docs/examples/account/create-j-w-t.md +2 -2
- package/docs/examples/account/create-magic-u-r-l-token.md +2 -2
- package/docs/examples/account/create-mfa-authenticator.md +2 -2
- package/docs/examples/account/create-mfa-challenge.md +2 -2
- package/docs/examples/account/create-mfa-recovery-codes.md +2 -2
- package/docs/examples/account/create-o-auth2session.md +1 -1
- package/docs/examples/account/create-o-auth2token.md +1 -1
- package/docs/examples/account/create-phone-token.md +2 -2
- package/docs/examples/account/create-phone-verification.md +2 -2
- package/docs/examples/account/create-push-target.md +2 -2
- package/docs/examples/account/create-recovery.md +2 -2
- package/docs/examples/account/create-session.md +2 -2
- package/docs/examples/account/create-verification.md +2 -2
- package/docs/examples/account/create.md +2 -2
- package/docs/examples/account/delete-identity.md +2 -2
- package/docs/examples/account/delete-mfa-authenticator.md +3 -4
- package/docs/examples/account/delete-push-target.md +2 -2
- package/docs/examples/account/delete-session.md +2 -2
- package/docs/examples/account/delete-sessions.md +2 -2
- package/docs/examples/account/get-mfa-recovery-codes.md +2 -2
- package/docs/examples/account/get-prefs.md +2 -2
- package/docs/examples/account/get-session.md +2 -2
- package/docs/examples/account/get.md +2 -2
- package/docs/examples/account/list-identities.md +2 -2
- package/docs/examples/account/list-logs.md +2 -2
- package/docs/examples/account/list-mfa-factors.md +2 -2
- package/docs/examples/account/list-sessions.md +2 -2
- package/docs/examples/account/update-email.md +2 -2
- package/docs/examples/account/update-m-f-a.md +2 -2
- package/docs/examples/account/update-magic-u-r-l-session.md +2 -2
- package/docs/examples/account/update-mfa-authenticator.md +2 -2
- package/docs/examples/account/update-mfa-challenge.md +2 -2
- package/docs/examples/account/update-mfa-recovery-codes.md +2 -2
- package/docs/examples/account/update-name.md +2 -2
- package/docs/examples/account/update-password.md +2 -2
- package/docs/examples/account/update-phone-session.md +2 -2
- package/docs/examples/account/update-phone-verification.md +2 -2
- package/docs/examples/account/update-phone.md +2 -2
- package/docs/examples/account/update-prefs.md +2 -2
- package/docs/examples/account/update-push-target.md +2 -2
- package/docs/examples/account/update-recovery.md +2 -2
- package/docs/examples/account/update-session.md +2 -2
- package/docs/examples/account/update-status.md +2 -2
- package/docs/examples/account/update-verification.md +2 -2
- package/docs/examples/avatars/get-browser.md +1 -1
- package/docs/examples/avatars/get-credit-card.md +1 -1
- package/docs/examples/avatars/get-favicon.md +1 -1
- package/docs/examples/avatars/get-flag.md +1 -1
- package/docs/examples/avatars/get-image.md +1 -1
- package/docs/examples/avatars/get-initials.md +1 -1
- package/docs/examples/avatars/get-q-r.md +1 -1
- package/docs/examples/databases/create-document.md +2 -2
- package/docs/examples/databases/delete-document.md +2 -2
- package/docs/examples/databases/get-document.md +2 -2
- package/docs/examples/databases/list-documents.md +2 -2
- package/docs/examples/databases/update-document.md +2 -2
- package/docs/examples/functions/create-execution.md +4 -3
- package/docs/examples/functions/get-execution.md +2 -2
- package/docs/examples/functions/list-executions.md +2 -2
- package/docs/examples/graphql/mutation.md +2 -2
- package/docs/examples/graphql/query.md +2 -2
- package/docs/examples/locale/get.md +2 -2
- package/docs/examples/locale/list-codes.md +2 -2
- package/docs/examples/locale/list-continents.md +2 -2
- package/docs/examples/locale/list-countries-e-u.md +2 -2
- package/docs/examples/locale/list-countries-phones.md +2 -2
- package/docs/examples/locale/list-countries.md +2 -2
- package/docs/examples/locale/list-currencies.md +2 -2
- package/docs/examples/locale/list-languages.md +2 -2
- package/docs/examples/messaging/create-subscriber.md +2 -2
- package/docs/examples/messaging/delete-subscriber.md +2 -2
- package/docs/examples/storage/create-file.md +2 -2
- package/docs/examples/storage/delete-file.md +2 -2
- package/docs/examples/storage/get-file-download.md +1 -1
- package/docs/examples/storage/get-file-preview.md +1 -1
- package/docs/examples/storage/get-file-view.md +1 -1
- package/docs/examples/storage/get-file.md +2 -2
- package/docs/examples/storage/list-files.md +2 -2
- package/docs/examples/storage/update-file.md +2 -2
- package/docs/examples/teams/create-membership.md +2 -2
- package/docs/examples/teams/create.md +2 -2
- package/docs/examples/teams/delete-membership.md +2 -2
- package/docs/examples/teams/delete.md +2 -2
- package/docs/examples/teams/get-membership.md +2 -2
- package/docs/examples/teams/get-prefs.md +2 -2
- package/docs/examples/teams/get.md +2 -2
- package/docs/examples/teams/list-memberships.md +2 -2
- package/docs/examples/teams/list.md +2 -2
- package/docs/examples/teams/update-membership-status.md +2 -2
- package/docs/examples/teams/update-membership.md +2 -2
- package/docs/examples/teams/update-name.md +2 -2
- package/docs/examples/teams/update-prefs.md +2 -2
- package/package.json +1 -1
- package/src/client.ts +31 -2
- package/src/enums/image-format.ts +1 -0
- package/src/models.ts +11 -3
- package/src/services/account.ts +14 -23
- package/src/services/avatars.ts +2 -0
- package/src/services/functions.ts +6 -1
- package/src/services/locale.ts +1 -1
- package/src/services/storage.ts +1 -1
- package/src/services/teams.ts +4 -2
- package/types/enums/image-format.d.ts +2 -1
- package/types/models.d.ts +11 -3
- package/types/services/account.d.ts +13 -14
- package/types/services/avatars.d.ts +2 -0
- package/types/services/functions.d.ts +2 -1
- package/types/services/locale.d.ts +1 -1
- package/types/services/storage.d.ts +1 -1
- package/types/services/teams.d.ts +4 -2
|
@@ -81,7 +81,7 @@ export declare class Storage extends Service {
|
|
|
81
81
|
*/
|
|
82
82
|
updateFile(bucketId: string, fileId: string, name?: string, permissions?: string[]): Promise<Models.File>;
|
|
83
83
|
/**
|
|
84
|
-
* Delete
|
|
84
|
+
* Delete file
|
|
85
85
|
*
|
|
86
86
|
* Delete a file by its unique ID. Only users with write permissions have
|
|
87
87
|
* access to delete this resource.
|
|
@@ -65,7 +65,8 @@ export declare class Teams extends Service {
|
|
|
65
65
|
* List team memberships
|
|
66
66
|
*
|
|
67
67
|
* Use this endpoint to list a team's members using the team's ID. All team
|
|
68
|
-
* members have read access to this endpoint.
|
|
68
|
+
* members have read access to this endpoint. Hide sensitive attributes from
|
|
69
|
+
* the response by toggling membership privacy in the Console.
|
|
69
70
|
*
|
|
70
71
|
* @param {string} teamId
|
|
71
72
|
* @param {string[]} queries
|
|
@@ -114,7 +115,8 @@ export declare class Teams extends Service {
|
|
|
114
115
|
* Get team membership
|
|
115
116
|
*
|
|
116
117
|
* Get a team member by the membership unique id. All team members have read
|
|
117
|
-
* access for this resource.
|
|
118
|
+
* access for this resource. Hide sensitive attributes from the response by
|
|
119
|
+
* toggling membership privacy in the Console.
|
|
118
120
|
*
|
|
119
121
|
* @param {string} teamId
|
|
120
122
|
* @param {string} membershipId
|