@appwrite.io/console 15.3.0-rc.1 → 15.4.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.
Files changed (39) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/sdk.js +2524 -2066
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/sdk.js +2524 -2066
  5. package/dist/esm/sdk.js.map +1 -1
  6. package/dist/iife/sdk.js +2524 -2066
  7. package/package.json +4 -4
  8. package/types/enums/database-status.d.ts +12 -1
  9. package/types/enums/database-type.d.ts +4 -1
  10. package/types/enums/o-auth-provider.d.ts +1 -0
  11. package/types/enums/project-key-scopes.d.ts +5 -2
  12. package/types/enums/project-o-auth-provider-id.d.ts +1 -0
  13. package/types/enums/query-suggestion-resource.d.ts +6 -1
  14. package/types/enums/waf-rule-action.d.ts +7 -0
  15. package/types/index.d.ts +3 -5
  16. package/types/models.d.ts +3260 -3404
  17. package/types/services/account.d.ts +133 -4
  18. package/types/services/apps.d.ts +39 -10
  19. package/types/services/backups.d.ts +17 -8
  20. package/types/services/databases.d.ts +0 -70
  21. package/types/services/documents-db.d.ts +75 -2
  22. package/types/services/functions.d.ts +4 -43
  23. package/types/services/locale.d.ts +2 -2
  24. package/types/services/migrations.d.ts +30 -18
  25. package/types/services/mongo.d.ts +13 -4
  26. package/types/services/mysql.d.ts +13 -4
  27. package/types/services/oauth-2.d.ts +119 -15
  28. package/types/services/postgresql.d.ts +13 -4
  29. package/types/services/project.d.ts +29 -1
  30. package/types/services/sites.d.ts +4 -43
  31. package/types/services/storage.d.ts +0 -46
  32. package/types/services/tables-db.d.ts +75 -69
  33. package/types/services/usage.d.ts +10 -10
  34. package/types/services/vectors-db.d.ts +75 -2
  35. package/types/services/waf.d.ts +435 -0
  36. package/types/enums/health-antivirus-status.d.ts +0 -5
  37. package/types/enums/health-check-status.d.ts +0 -4
  38. package/types/enums/health-queue-name.d.ts +0 -16
  39. package/types/services/health.d.ts +0 -483
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": "15.3.0-rc.1",
5
+ "version": "15.4.0",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/cjs/sdk.js",
8
8
  "exports": {
@@ -35,15 +35,15 @@
35
35
  "json-bigint": "1.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@rollup/plugin-commonjs": "29.0.2",
38
+ "@rollup/plugin-commonjs": "29.0.3",
39
39
  "@rollup/plugin-node-resolve": "16.0.3",
40
40
  "@rollup/plugin-typescript": "12.3.0",
41
41
  "@types/json-bigint": "1.0.4",
42
42
  "playwright": "1.56.1",
43
- "rollup": "4.60.1",
43
+ "rollup": "4.62.2",
44
44
  "serve-handler": "6.1.7",
45
45
  "tslib": "2.8.1",
46
- "typescript": "5.7.3"
46
+ "typescript": "5.9.3"
47
47
  },
48
48
  "jsdelivr": "dist/iife/sdk.js",
49
49
  "unpkg": "dist/iife/sdk.js"
@@ -1,5 +1,16 @@
1
1
  export declare enum DatabaseStatus {
2
2
  Provisioning = "provisioning",
3
3
  Ready = "ready",
4
- Failed = "failed"
4
+ Inactive = "inactive",
5
+ Paused = "paused",
6
+ Failed = "failed",
7
+ Deleting = "deleting",
8
+ Deleted = "deleted",
9
+ Restoring = "restoring",
10
+ Scaling = "scaling",
11
+ Upgrading = "upgrading",
12
+ Migrating = "migrating",
13
+ Pausing = "pausing",
14
+ Resuming = "resuming",
15
+ Failingover = "failing-over"
5
16
  }
@@ -2,5 +2,8 @@ export declare enum DatabaseType {
2
2
  Legacy = "legacy",
3
3
  Tablesdb = "tablesdb",
4
4
  Documentsdb = "documentsdb",
5
- Vectorsdb = "vectorsdb"
5
+ Vectorsdb = "vectorsdb",
6
+ Mysql = "mysql",
7
+ Postgresql = "postgresql",
8
+ Mongodb = "mongodb"
6
9
  }
@@ -1,6 +1,7 @@
1
1
  export declare enum OAuthProvider {
2
2
  Amazon = "amazon",
3
3
  Apple = "apple",
4
+ Appwrite = "appwrite",
4
5
  Auth0 = "auth0",
5
6
  Authentik = "authentik",
6
7
  Autodesk = "autodesk",
@@ -17,8 +17,6 @@ export declare enum ProjectKeyScopes {
17
17
  TemplatesWrite = "templates.write",
18
18
  StagesRead = "stages.read",
19
19
  StagesWrite = "stages.write",
20
- Oauth2Read = "oauth2.read",
21
- Oauth2Write = "oauth2.write",
22
20
  UsersRead = "users.read",
23
21
  UsersWrite = "users.write",
24
22
  SessionsRead = "sessions.read",
@@ -96,8 +94,13 @@ export declare enum ProjectKeyScopes {
96
94
  DedicatedDatabasesExecute = "dedicatedDatabases.execute",
97
95
  DomainsRead = "domains.read",
98
96
  DomainsWrite = "domains.write",
97
+ WafRulesRead = "wafRules.read",
98
+ WafRulesWrite = "wafRules.write",
99
99
  EventsRead = "events.read",
100
100
  AppsRead = "apps.read",
101
101
  AppsWrite = "apps.write",
102
+ Oauth2Read = "oauth2.read",
103
+ Oauth2Write = "oauth2.write",
104
+ Oauth2Introspect = "oauth2.introspect",
102
105
  UsageRead = "usage.read"
103
106
  }
@@ -1,6 +1,7 @@
1
1
  export declare enum ProjectOAuthProviderId {
2
2
  Amazon = "amazon",
3
3
  Apple = "apple",
4
+ Appwrite = "appwrite",
4
5
  Auth0 = "auth0",
5
6
  Authentik = "authentik",
6
7
  Autodesk = "autodesk",
@@ -63,24 +63,29 @@ export declare enum QuerySuggestionResource {
63
63
  Threats = "threats",
64
64
  Feedbacks = "feedbacks",
65
65
  Disputes = "disputes",
66
+ WafRules = "wafrules",
66
67
  ShInstallations = "sh_installations",
67
68
  MigrationDatabases = "migrationdatabases",
68
69
  MigrationProjects = "migrationprojects",
69
70
  Apps = "apps",
70
71
  AppSecrets = "appsecrets",
72
+ AppInstallations = "appinstallations",
73
+ AppKeys = "appkeys",
71
74
  Oauth2Grants = "oauth2grants",
75
+ Oauth2Consents = "oauth2consents",
76
+ Oauth2Tokens = "oauth2tokens",
72
77
  Attributes = "attributes",
73
78
  Indexes = "indexes",
74
79
  Functions = "functions",
75
80
  Sites = "sites",
76
81
  Deployments = "deployments",
77
- Executions = "executions",
78
82
  Variables = "variables",
79
83
  Migrations = "migrations",
80
84
  ResourceTokens = "resourcetokens",
81
85
  Transactions = "transactions",
82
86
  TransactionLogs = "transactionlogs",
83
87
  Stats = "stats",
88
+ Executions = "executions",
84
89
  DedicatedDatabases = "dedicateddatabases",
85
90
  DedicatedDatabaseConfigs = "dedicateddatabaseconfigs",
86
91
  DedicatedDatabaseRuntimes = "dedicateddatabaseruntimes",
@@ -0,0 +1,7 @@
1
+ export declare enum WafRuleAction {
2
+ Bypass = "bypass",
3
+ Deny = "deny",
4
+ Challenge = "challenge",
5
+ RateLimit = "rateLimit",
6
+ Redirect = "redirect"
7
+ }
package/types/index.d.ts CHANGED
@@ -18,7 +18,6 @@ export { DocumentsDB } from './services/documents-db';
18
18
  export { Domains } from './services/domains';
19
19
  export { Functions } from './services/functions';
20
20
  export { Graphql } from './services/graphql';
21
- export { Health } from './services/health';
22
21
  export { Locale } from './services/locale';
23
22
  export { Manager } from './services/manager';
24
23
  export { Messaging } from './services/messaging';
@@ -44,6 +43,7 @@ export { Usage } from './services/usage';
44
43
  export { Users } from './services/users';
45
44
  export { Vcs } from './services/vcs';
46
45
  export { VectorsDB } from './services/vectors-db';
46
+ export { Waf } from './services/waf';
47
47
  export { Webhooks } from './services/webhooks';
48
48
  export { Realtime } from './services/realtime';
49
49
  export type { Models, Payload, RealtimeResponseEvent, UploadProgress } from './client';
@@ -71,7 +71,6 @@ export { ConsoleResourceType } from './enums/console-resource-type';
71
71
  export { QuerySuggestionResource } from './enums/query-suggestion-resource';
72
72
  export { ProjectEmailTemplateId } from './enums/project-email-template-id';
73
73
  export { ProjectEmailTemplateLocale } from './enums/project-email-template-locale';
74
- export { UsageRange } from './enums/usage-range';
75
74
  export { RelationshipType } from './enums/relationship-type';
76
75
  export { RelationMutate } from './enums/relation-mutate';
77
76
  export { DatabasesIndexType } from './enums/databases-index-type';
@@ -86,7 +85,6 @@ export { TemplateReferenceType } from './enums/template-reference-type';
86
85
  export { VCSReferenceType } from './enums/vcs-reference-type';
87
86
  export { DeploymentDownloadType } from './enums/deployment-download-type';
88
87
  export { ExecutionMethod } from './enums/execution-method';
89
- export { HealthQueueName } from './enums/health-queue-name';
90
88
  export { BlockResourceType } from './enums/block-resource-type';
91
89
  export { BlockMode } from './enums/block-mode';
92
90
  export { Region } from './enums/region';
@@ -101,6 +99,7 @@ export { NHostMigrationResource } from './enums/n-host-migration-resource';
101
99
  export { SupabaseMigrationResource } from './enums/supabase-migration-resource';
102
100
  export { OrganizationKeyScopes } from './enums/organization-key-scopes';
103
101
  export { Addon } from './enums/addon';
102
+ export { UsageRange } from './enums/usage-range';
104
103
  export { ProjectAuthMethodId } from './enums/project-auth-method-id';
105
104
  export { ProjectOAuth2GooglePrompt } from './enums/project-o-auth-2-google-prompt';
106
105
  export { ProjectOAuth2OidcPrompt } from './enums/project-o-auth-2-oidc-prompt';
@@ -139,11 +138,10 @@ export { ExecutionStatus } from './enums/execution-status';
139
138
  export { OAuth2GooglePrompt } from './enums/o-auth-2-google-prompt';
140
139
  export { OAuth2OidcPrompt } from './enums/o-auth-2-oidc-prompt';
141
140
  export { PlatformType } from './enums/platform-type';
142
- export { HealthAntivirusStatus } from './enums/health-antivirus-status';
143
- export { HealthCheckStatus } from './enums/health-check-status';
144
141
  export { ProxyRuleDeploymentResourceType } from './enums/proxy-rule-deployment-resource-type';
145
142
  export { ProxyRuleStatus } from './enums/proxy-rule-status';
146
143
  export { MessageStatus } from './enums/message-status';
147
144
  export { BillingPlanGroup } from './enums/billing-plan-group';
148
145
  export { DomainTransferStatusEnum } from './enums/domain-transfer-status-enum';
149
146
  export { DomainPurchaseStatus } from './enums/domain-purchase-status';
147
+ export { WafRuleAction } from './enums/waf-rule-action';