@appwrite.io/console 16.1.0 → 17.0.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 +3 -3
- package/dist/cjs/sdk.js +597 -346
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +598 -347
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +597 -346
- package/package.json +1 -1
- package/types/client.d.ts +0 -11
- package/types/enums/billing-plan-group.d.ts +2 -1
- package/types/enums/cache-database.d.ts +1 -2
- package/types/enums/framework.d.ts +1 -0
- package/types/enums/id-token-provider.d.ts +4 -0
- package/types/enums/organization-key-scopes.d.ts +2 -4
- package/types/enums/project-email-template-id.d.ts +2 -1
- package/types/enums/project-key-scopes.d.ts +1 -0
- package/types/enums/project-policy-id.d.ts +1 -0
- package/types/enums/query-suggestion-resource.d.ts +1 -3
- package/types/index.d.ts +2 -2
- package/types/models.d.ts +214 -566
- package/types/services/account.d.ts +110 -22
- package/types/services/console.d.ts +2 -2
- package/types/services/manager.d.ts +14 -14
- package/types/services/messaging.d.ts +80 -6
- package/types/services/organization.d.ts +165 -0
- package/types/services/organizations.d.ts +19 -19
- package/types/services/project.d.ts +53 -42
- package/types/services/projects.d.ts +0 -94
- package/types/services/storage.d.ts +4 -4
- package/types/services/teams.d.ts +0 -25
- package/types/services/users.d.ts +2 -27
- package/types/enums/project-usage-range.d.ts +0 -4
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@appwrite.io/console",
|
|
3
3
|
"homepage": "https://appwrite.io/support",
|
|
4
4
|
"description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "17.0.0",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/cjs/sdk.js",
|
|
8
8
|
"exports": {
|
package/types/client.d.ts
CHANGED
|
@@ -117,7 +117,6 @@ declare class Client {
|
|
|
117
117
|
mode: string;
|
|
118
118
|
cookie: string;
|
|
119
119
|
session: string;
|
|
120
|
-
devkey: string;
|
|
121
120
|
impersonateuserid: string;
|
|
122
121
|
impersonateuseremail: string;
|
|
123
122
|
impersonateuserphone: string;
|
|
@@ -261,16 +260,6 @@ declare class Client {
|
|
|
261
260
|
* @return {this}
|
|
262
261
|
*/
|
|
263
262
|
setSession(value: string): this;
|
|
264
|
-
/**
|
|
265
|
-
* Set DevKey
|
|
266
|
-
*
|
|
267
|
-
* Your secret dev API key
|
|
268
|
-
*
|
|
269
|
-
* @param value string
|
|
270
|
-
*
|
|
271
|
-
* @return {this}
|
|
272
|
-
*/
|
|
273
|
-
setDevKey(value: string): this;
|
|
274
263
|
/**
|
|
275
264
|
* Set ImpersonateUserId
|
|
276
265
|
*
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export declare enum OrganizationKeyScopes {
|
|
2
2
|
ProjectsRead = "projects.read",
|
|
3
3
|
ProjectsWrite = "projects.write",
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
OrganizationKeysRead = "organization.keys.read",
|
|
7
|
-
OrganizationKeysWrite = "organization.keys.write",
|
|
4
|
+
OrganizationProjectsKeysRead = "organization.projects.keys.read",
|
|
5
|
+
OrganizationProjectsKeysWrite = "organization.projects.keys.write",
|
|
8
6
|
OrganizationInstallationsRead = "organization.installations.read",
|
|
9
7
|
OrganizationInstallationsWrite = "organization.installations.write",
|
|
10
8
|
OrganizationMembershipsRead = "organization.memberships.read",
|
|
@@ -103,6 +103,7 @@ export declare enum ProjectKeyScopes {
|
|
|
103
103
|
ReportsWrite = "reports.write",
|
|
104
104
|
PresencesRead = "presences.read",
|
|
105
105
|
PresencesWrite = "presences.write",
|
|
106
|
+
DedicatedDatabasesExecute = "dedicatedDatabases.execute",
|
|
106
107
|
BackupsPoliciesRead = "backups.policies.read",
|
|
107
108
|
BackupsPoliciesWrite = "backups.policies.write",
|
|
108
109
|
ArchivesRead = "archives.read",
|
|
@@ -3,6 +3,7 @@ export declare enum ProjectPolicyId {
|
|
|
3
3
|
Passwordhistory = "password-history",
|
|
4
4
|
Passwordstrength = "password-strength",
|
|
5
5
|
Passwordpersonaldata = "password-personal-data",
|
|
6
|
+
Passwordpwned = "password-pwned",
|
|
6
7
|
Sessionalert = "session-alert",
|
|
7
8
|
Sessionduration = "session-duration",
|
|
8
9
|
Sessioninvalidation = "session-invalidation",
|
|
@@ -18,7 +18,6 @@ export declare enum QuerySuggestionResource {
|
|
|
18
18
|
Schedules = "schedules",
|
|
19
19
|
Platforms = "platforms",
|
|
20
20
|
Keys = "keys",
|
|
21
|
-
DevKeys = "devkeys",
|
|
22
21
|
Webhooks = "webhooks",
|
|
23
22
|
Notifications = "notifications",
|
|
24
23
|
Certificates = "certificates",
|
|
@@ -41,6 +40,7 @@ export declare enum QuerySuggestionResource {
|
|
|
41
40
|
Buckets = "buckets",
|
|
42
41
|
Providers = "providers",
|
|
43
42
|
Messages = "messages",
|
|
43
|
+
AppwritePushLedger = "appwritepushledger",
|
|
44
44
|
Topics = "topics",
|
|
45
45
|
Subscribers = "subscribers",
|
|
46
46
|
Targets = "targets",
|
|
@@ -83,13 +83,11 @@ export declare enum QuerySuggestionResource {
|
|
|
83
83
|
Functions = "functions",
|
|
84
84
|
Sites = "sites",
|
|
85
85
|
Deployments = "deployments",
|
|
86
|
-
Executions = "executions",
|
|
87
86
|
Variables = "variables",
|
|
88
87
|
Migrations = "migrations",
|
|
89
88
|
ResourceTokens = "resourcetokens",
|
|
90
89
|
Transactions = "transactions",
|
|
91
90
|
TransactionLogs = "transactionlogs",
|
|
92
|
-
Stats = "stats",
|
|
93
91
|
DedicatedDatabases = "dedicateddatabases",
|
|
94
92
|
DedicatedDatabaseConfigs = "dedicateddatabaseconfigs",
|
|
95
93
|
DedicatedDatabaseRuntimes = "dedicateddatabaseruntimes",
|
package/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Appwrite Console SDK
|
|
3
3
|
*
|
|
4
|
-
* This SDK targets Appwrite server version 2.
|
|
4
|
+
* This SDK targets Appwrite server version 2.2.x as shipped on Appwrite Cloud.
|
|
5
5
|
* Self-hosted releases can lag behind Cloud — if you run an older self-hosted
|
|
6
6
|
* build, use a matching older SDK from
|
|
7
7
|
* [previous releases](https://github.com/appwrite/sdk-for-console/releases)
|
|
@@ -61,6 +61,7 @@ export { Operator, Condition } from './operator';
|
|
|
61
61
|
export { AccountKeyScopes } from './enums/account-key-scopes';
|
|
62
62
|
export { AuthenticatorType } from './enums/authenticator-type';
|
|
63
63
|
export { AuthenticationFactor } from './enums/authentication-factor';
|
|
64
|
+
export { IdTokenProvider } from './enums/id-token-provider';
|
|
64
65
|
export { OAuthProvider } from './enums/o-auth-provider';
|
|
65
66
|
export { Browser } from './enums/browser';
|
|
66
67
|
export { CreditCard } from './enums/credit-card';
|
|
@@ -113,7 +114,6 @@ export { ProjectPolicyId } from './enums/project-policy-id';
|
|
|
113
114
|
export { ProjectProtocolId } from './enums/project-protocol-id';
|
|
114
115
|
export { ProjectServiceId } from './enums/project-service-id';
|
|
115
116
|
export { ProjectSMTPSecure } from './enums/project-smtp-secure';
|
|
116
|
-
export { ProjectUsageRange } from './enums/project-usage-range';
|
|
117
117
|
export { ScheduleResourceType } from './enums/schedule-resource-type';
|
|
118
118
|
export { Status } from './enums/status';
|
|
119
119
|
export { InvalidationType } from './enums/invalidation-type';
|