@appwrite.io/console 15.2.0 → 15.3.0-rc.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 +2 -2
- package/dist/cjs/sdk.js +12030 -9315
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +12027 -9315
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +12030 -9315
- package/package.json +1 -1
- package/types/client.d.ts +11 -0
- package/types/enums/addon.d.ts +2 -0
- package/types/enums/block-mode.d.ts +4 -0
- package/types/enums/database-status.d.ts +5 -0
- package/types/enums/health-queue-name.d.ts +2 -1
- package/types/enums/o-auth-2-oidc-prompt.d.ts +6 -0
- package/types/enums/organization-key-scopes.d.ts +4 -0
- package/types/enums/project-key-scopes.d.ts +4 -0
- package/types/enums/project-o-auth-2-oidc-prompt.d.ts +6 -0
- package/types/enums/query-suggestion-resource.d.ts +3 -0
- package/types/index.d.ts +8 -1
- package/types/models.d.ts +526 -392
- package/types/query.d.ts +24 -0
- package/types/services/account.d.ts +4 -4
- package/types/services/backups.d.ts +10 -1
- package/types/services/console.d.ts +35 -0
- package/types/services/databases.d.ts +0 -78
- package/types/services/documents-db.d.ts +4 -71
- package/types/services/domains.d.ts +26 -2
- package/types/services/functions.d.ts +4 -4
- package/types/services/health.d.ts +33 -16
- package/types/services/locale.d.ts +2 -2
- package/types/services/manager.d.ts +5 -1
- package/types/services/messaging.d.ts +0 -100
- package/types/services/mongo.d.ts +792 -0
- package/types/services/mysql.d.ts +882 -0
- package/types/services/notifications.d.ts +51 -0
- package/types/services/oauth-2.d.ts +117 -9
- package/types/services/organization.d.ts +158 -6
- package/types/services/organizations.d.ts +21 -0
- package/types/services/{compute.d.ts → postgresql.d.ts} +193 -322
- package/types/services/project.d.ts +14 -7
- package/types/services/projects.d.ts +186 -0
- package/types/services/tables-db.d.ts +89 -57
- package/types/services/usage.d.ts +16 -22
- package/types/services/users.d.ts +2 -2
- package/types/services/vectors-db.d.ts +8 -73
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.
|
|
5
|
+
"version": "15.3.0-rc.1",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/cjs/sdk.js",
|
|
8
8
|
"exports": {
|
package/types/client.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ declare class Client {
|
|
|
111
111
|
project: string;
|
|
112
112
|
key: string;
|
|
113
113
|
jwt: string;
|
|
114
|
+
bearer: string;
|
|
114
115
|
locale: string;
|
|
115
116
|
mode: string;
|
|
116
117
|
cookie: string;
|
|
@@ -203,6 +204,16 @@ declare class Client {
|
|
|
203
204
|
* @return {this}
|
|
204
205
|
*/
|
|
205
206
|
setJWT(value: string): this;
|
|
207
|
+
/**
|
|
208
|
+
* Set Bearer
|
|
209
|
+
*
|
|
210
|
+
* The OAuth access token to authenticate with
|
|
211
|
+
*
|
|
212
|
+
* @param value string
|
|
213
|
+
*
|
|
214
|
+
* @return {this}
|
|
215
|
+
*/
|
|
216
|
+
setBearer(value: string): this;
|
|
206
217
|
/**
|
|
207
218
|
* Set Locale
|
|
208
219
|
*
|
package/types/enums/addon.d.ts
CHANGED
|
@@ -5,6 +5,10 @@ export declare enum OrganizationKeyScopes {
|
|
|
5
5
|
DevKeysWrite = "devKeys.write",
|
|
6
6
|
OrganizationKeysRead = "organization.keys.read",
|
|
7
7
|
OrganizationKeysWrite = "organization.keys.write",
|
|
8
|
+
OrganizationMembershipsRead = "organization.memberships.read",
|
|
9
|
+
OrganizationMembershipsWrite = "organization.memberships.write",
|
|
10
|
+
OrganizationRead = "organization.read",
|
|
11
|
+
OrganizationWrite = "organization.write",
|
|
8
12
|
DomainsRead = "domains.read",
|
|
9
13
|
DomainsWrite = "domains.write",
|
|
10
14
|
KeysRead = "keys.read",
|
|
@@ -11,8 +11,12 @@ export declare enum ProjectKeyScopes {
|
|
|
11
11
|
PoliciesWrite = "policies.write",
|
|
12
12
|
ProjectPoliciesRead = "project.policies.read",
|
|
13
13
|
ProjectPoliciesWrite = "project.policies.write",
|
|
14
|
+
ProjectOauth2Read = "project.oauth2.read",
|
|
15
|
+
ProjectOauth2Write = "project.oauth2.write",
|
|
14
16
|
TemplatesRead = "templates.read",
|
|
15
17
|
TemplatesWrite = "templates.write",
|
|
18
|
+
StagesRead = "stages.read",
|
|
19
|
+
StagesWrite = "stages.write",
|
|
16
20
|
Oauth2Read = "oauth2.read",
|
|
17
21
|
Oauth2Write = "oauth2.write",
|
|
18
22
|
UsersRead = "users.read",
|
|
@@ -20,6 +20,7 @@ export declare enum QuerySuggestionResource {
|
|
|
20
20
|
Keys = "keys",
|
|
21
21
|
DevKeys = "devkeys",
|
|
22
22
|
Webhooks = "webhooks",
|
|
23
|
+
Notifications = "notifications",
|
|
23
24
|
Certificates = "certificates",
|
|
24
25
|
Realtime = "realtime",
|
|
25
26
|
Rules = "rules",
|
|
@@ -63,6 +64,8 @@ export declare enum QuerySuggestionResource {
|
|
|
63
64
|
Feedbacks = "feedbacks",
|
|
64
65
|
Disputes = "disputes",
|
|
65
66
|
ShInstallations = "sh_installations",
|
|
67
|
+
MigrationDatabases = "migrationdatabases",
|
|
68
|
+
MigrationProjects = "migrationprojects",
|
|
66
69
|
Apps = "apps",
|
|
67
70
|
AppSecrets = "appsecrets",
|
|
68
71
|
Oauth2Grants = "oauth2grants",
|
package/types/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export { Activities } from './services/activities';
|
|
|
11
11
|
export { Apps } from './services/apps';
|
|
12
12
|
export { Avatars } from './services/avatars';
|
|
13
13
|
export { Backups } from './services/backups';
|
|
14
|
-
export { Compute } from './services/compute';
|
|
15
14
|
export { Assistant } from './services/assistant';
|
|
16
15
|
export { Console } from './services/console';
|
|
17
16
|
export { Databases } from './services/databases';
|
|
@@ -24,9 +23,13 @@ export { Locale } from './services/locale';
|
|
|
24
23
|
export { Manager } from './services/manager';
|
|
25
24
|
export { Messaging } from './services/messaging';
|
|
26
25
|
export { Migrations } from './services/migrations';
|
|
26
|
+
export { Mongo } from './services/mongo';
|
|
27
|
+
export { Mysql } from './services/mysql';
|
|
28
|
+
export { Notifications } from './services/notifications';
|
|
27
29
|
export { Oauth2 } from './services/oauth-2';
|
|
28
30
|
export { Organization } from './services/organization';
|
|
29
31
|
export { Organizations } from './services/organizations';
|
|
32
|
+
export { Postgresql } from './services/postgresql';
|
|
30
33
|
export { Presences } from './services/presences';
|
|
31
34
|
export { Project } from './services/project';
|
|
32
35
|
export { Projects } from './services/projects';
|
|
@@ -85,6 +88,7 @@ export { DeploymentDownloadType } from './enums/deployment-download-type';
|
|
|
85
88
|
export { ExecutionMethod } from './enums/execution-method';
|
|
86
89
|
export { HealthQueueName } from './enums/health-queue-name';
|
|
87
90
|
export { BlockResourceType } from './enums/block-resource-type';
|
|
91
|
+
export { BlockMode } from './enums/block-mode';
|
|
88
92
|
export { Region } from './enums/region';
|
|
89
93
|
export { CacheTarget } from './enums/cache-target';
|
|
90
94
|
export { CacheDatabase } from './enums/cache-database';
|
|
@@ -99,6 +103,7 @@ export { OrganizationKeyScopes } from './enums/organization-key-scopes';
|
|
|
99
103
|
export { Addon } from './enums/addon';
|
|
100
104
|
export { ProjectAuthMethodId } from './enums/project-auth-method-id';
|
|
101
105
|
export { ProjectOAuth2GooglePrompt } from './enums/project-o-auth-2-google-prompt';
|
|
106
|
+
export { ProjectOAuth2OidcPrompt } from './enums/project-o-auth-2-oidc-prompt';
|
|
102
107
|
export { ProjectOAuthProviderId } from './enums/project-o-auth-provider-id';
|
|
103
108
|
export { ProjectPolicyId } from './enums/project-policy-id';
|
|
104
109
|
export { ProjectProtocolId } from './enums/project-protocol-id';
|
|
@@ -122,6 +127,7 @@ export { VCSDetectionType } from './enums/vcs-detection-type';
|
|
|
122
127
|
export { EmbeddingModel } from './enums/embedding-model';
|
|
123
128
|
export { VectorsDBIndexType } from './enums/vectors-db-index-type';
|
|
124
129
|
export { DatabaseType } from './enums/database-type';
|
|
130
|
+
export { DatabaseStatus } from './enums/database-status';
|
|
125
131
|
export { AttributeStatus } from './enums/attribute-status';
|
|
126
132
|
export { ColumnStatus } from './enums/column-status';
|
|
127
133
|
export { IndexStatus } from './enums/index-status';
|
|
@@ -131,6 +137,7 @@ export { DeploymentStatus } from './enums/deployment-status';
|
|
|
131
137
|
export { ExecutionTrigger } from './enums/execution-trigger';
|
|
132
138
|
export { ExecutionStatus } from './enums/execution-status';
|
|
133
139
|
export { OAuth2GooglePrompt } from './enums/o-auth-2-google-prompt';
|
|
140
|
+
export { OAuth2OidcPrompt } from './enums/o-auth-2-oidc-prompt';
|
|
134
141
|
export { PlatformType } from './enums/platform-type';
|
|
135
142
|
export { HealthAntivirusStatus } from './enums/health-antivirus-status';
|
|
136
143
|
export { HealthCheckStatus } from './enums/health-check-status';
|