@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/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": "16.1.0",
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,5 +1,6 @@
1
1
  export declare enum BillingPlanGroup {
2
- Starter = "starter",
2
+ Free = "free",
3
+ Start = "start",
3
4
  Pro = "pro",
4
5
  Scale = "scale"
5
6
  }
@@ -1,5 +1,4 @@
1
1
  export declare enum CacheDatabase {
2
2
  Console = "console",
3
- Project = "project",
4
- Logs = "logs"
3
+ Project = "project"
5
4
  }
@@ -11,6 +11,7 @@ export declare enum Framework {
11
11
  Remix = "remix",
12
12
  Lynx = "lynx",
13
13
  Flutter = "flutter",
14
+ Jaspr = "jaspr",
14
15
  Reactnative = "react-native",
15
16
  Vite = "vite",
16
17
  Other = "other"
@@ -0,0 +1,4 @@
1
+ export declare enum IdTokenProvider {
2
+ Apple = "apple",
3
+ Google = "google"
4
+ }
@@ -1,10 +1,8 @@
1
1
  export declare enum OrganizationKeyScopes {
2
2
  ProjectsRead = "projects.read",
3
3
  ProjectsWrite = "projects.write",
4
- DevKeysRead = "devKeys.read",
5
- DevKeysWrite = "devKeys.write",
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",
@@ -5,5 +5,6 @@ export declare enum ProjectEmailTemplateId {
5
5
  Invitation = "invitation",
6
6
  MfaChallenge = "mfaChallenge",
7
7
  SessionAlert = "sessionAlert",
8
- OtpSession = "otpSession"
8
+ OtpSession = "otpSession",
9
+ OtpVerification = "otpVerification"
9
10
  }
@@ -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.0.x as shipped on Appwrite Cloud.
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';