@appwrite.io/console 10.0.0 → 12.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 +2 -2
- package/dist/cjs/sdk.js +3008 -1750
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +3008 -1751
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +3105 -1847
- package/package.json +1 -1
- package/types/client.d.ts +7 -0
- package/types/enums/appwrite-migration-resource.d.ts +2 -1
- package/types/enums/build-runtime.d.ts +1 -3
- package/types/enums/detection-framework-type.d.ts +3 -0
- package/types/enums/detection-runtime-type.d.ts +3 -0
- package/types/enums/{auth-method.d.ts → method-id.d.ts} +1 -1
- package/types/enums/o-auth-provider.d.ts +3 -0
- package/types/enums/policy-id.d.ts +11 -0
- package/types/enums/resource-type.d.ts +9 -0
- package/types/enums/runtime.d.ts +1 -3
- package/types/enums/runtimes.d.ts +1 -3
- package/types/enums/scopes.d.ts +42 -33
- package/types/enums/{smtp-secure.d.ts → secure.d.ts} +1 -1
- package/types/index.d.ts +9 -7
- package/types/models.d.ts +1590 -159
- package/types/services/account.d.ts +4 -4
- package/types/services/console.d.ts +14 -0
- package/types/services/domains.d.ts +8 -8
- package/types/services/manager.d.ts +110 -0
- package/types/services/organizations.d.ts +30 -0
- package/types/services/project.d.ts +1737 -71
- package/types/services/projects.d.ts +0 -769
- package/types/services/realtime.d.ts +31 -10
- package/types/enums/sms-template-locale.d.ts +0 -133
- package/types/enums/sms-template-type.d.ts +0 -6
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": "12.0.0",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/cjs/sdk.js",
|
|
8
8
|
"exports": {
|
package/types/client.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { Models } from './models';
|
|
2
2
|
import { Channel, ActionableChannel, ResolvedChannel } from './channel';
|
|
3
3
|
import { Query } from './query';
|
|
4
|
+
export declare const JSONbig: {
|
|
5
|
+
parse: (text: string) => any;
|
|
6
|
+
stringify: {
|
|
7
|
+
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
8
|
+
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
4
11
|
/**
|
|
5
12
|
* Payload type representing a key-value pair with string keys and any values.
|
|
6
13
|
*/
|
|
@@ -30,9 +30,6 @@ export declare enum BuildRuntime {
|
|
|
30
30
|
Pythonml311 = "python-ml-3.11",
|
|
31
31
|
Pythonml312 = "python-ml-3.12",
|
|
32
32
|
Pythonml313 = "python-ml-3.13",
|
|
33
|
-
Deno121 = "deno-1.21",
|
|
34
|
-
Deno124 = "deno-1.24",
|
|
35
|
-
Deno135 = "deno-1.35",
|
|
36
33
|
Deno140 = "deno-1.40",
|
|
37
34
|
Deno146 = "deno-1.46",
|
|
38
35
|
Deno20 = "deno-2.0",
|
|
@@ -82,6 +79,7 @@ export declare enum BuildRuntime {
|
|
|
82
79
|
Go124 = "go-1.24",
|
|
83
80
|
Go125 = "go-1.25",
|
|
84
81
|
Go126 = "go-1.26",
|
|
82
|
+
Rust183 = "rust-1.83",
|
|
85
83
|
Static1 = "static-1",
|
|
86
84
|
Flutter324 = "flutter-3.24",
|
|
87
85
|
Flutter327 = "flutter-3.27",
|
|
@@ -14,9 +14,12 @@ export declare enum OAuthProvider {
|
|
|
14
14
|
Etsy = "etsy",
|
|
15
15
|
Facebook = "facebook",
|
|
16
16
|
Figma = "figma",
|
|
17
|
+
Fusionauth = "fusionauth",
|
|
17
18
|
Github = "github",
|
|
18
19
|
Gitlab = "gitlab",
|
|
19
20
|
Google = "google",
|
|
21
|
+
Keycloak = "keycloak",
|
|
22
|
+
Kick = "kick",
|
|
20
23
|
Linkedin = "linkedin",
|
|
21
24
|
Microsoft = "microsoft",
|
|
22
25
|
Notion = "notion",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum PolicyId {
|
|
2
|
+
Passworddictionary = "password-dictionary",
|
|
3
|
+
Passwordhistory = "password-history",
|
|
4
|
+
Passwordpersonaldata = "password-personal-data",
|
|
5
|
+
Sessionalert = "session-alert",
|
|
6
|
+
Sessionduration = "session-duration",
|
|
7
|
+
Sessioninvalidation = "session-invalidation",
|
|
8
|
+
Sessionlimit = "session-limit",
|
|
9
|
+
Userlimit = "user-limit",
|
|
10
|
+
Membershipprivacy = "membership-privacy"
|
|
11
|
+
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
export declare enum ResourceType {
|
|
2
|
+
Projects = "projects",
|
|
3
|
+
Functions = "functions",
|
|
4
|
+
Sites = "sites",
|
|
5
|
+
Databases = "databases",
|
|
6
|
+
Buckets = "buckets",
|
|
7
|
+
Providers = "providers",
|
|
8
|
+
Topics = "topics",
|
|
9
|
+
Subscribers = "subscribers",
|
|
10
|
+
Messages = "messages",
|
|
2
11
|
Function = "function",
|
|
3
12
|
Execution = "execution",
|
|
4
13
|
Message = "message",
|
package/types/enums/runtime.d.ts
CHANGED
|
@@ -30,9 +30,6 @@ export declare enum Runtime {
|
|
|
30
30
|
Pythonml311 = "python-ml-3.11",
|
|
31
31
|
Pythonml312 = "python-ml-3.12",
|
|
32
32
|
Pythonml313 = "python-ml-3.13",
|
|
33
|
-
Deno121 = "deno-1.21",
|
|
34
|
-
Deno124 = "deno-1.24",
|
|
35
|
-
Deno135 = "deno-1.35",
|
|
36
33
|
Deno140 = "deno-1.40",
|
|
37
34
|
Deno146 = "deno-1.46",
|
|
38
35
|
Deno20 = "deno-2.0",
|
|
@@ -82,6 +79,7 @@ export declare enum Runtime {
|
|
|
82
79
|
Go124 = "go-1.24",
|
|
83
80
|
Go125 = "go-1.25",
|
|
84
81
|
Go126 = "go-1.26",
|
|
82
|
+
Rust183 = "rust-1.83",
|
|
85
83
|
Static1 = "static-1",
|
|
86
84
|
Flutter324 = "flutter-3.24",
|
|
87
85
|
Flutter327 = "flutter-3.27",
|
|
@@ -30,9 +30,6 @@ export declare enum Runtimes {
|
|
|
30
30
|
Pythonml311 = "python-ml-3.11",
|
|
31
31
|
Pythonml312 = "python-ml-3.12",
|
|
32
32
|
Pythonml313 = "python-ml-3.13",
|
|
33
|
-
Deno121 = "deno-1.21",
|
|
34
|
-
Deno124 = "deno-1.24",
|
|
35
|
-
Deno135 = "deno-1.35",
|
|
36
33
|
Deno140 = "deno-1.40",
|
|
37
34
|
Deno146 = "deno-1.46",
|
|
38
35
|
Deno20 = "deno-2.0",
|
|
@@ -82,6 +79,7 @@ export declare enum Runtimes {
|
|
|
82
79
|
Go124 = "go-1.24",
|
|
83
80
|
Go125 = "go-1.25",
|
|
84
81
|
Go126 = "go-1.26",
|
|
82
|
+
Rust183 = "rust-1.83",
|
|
85
83
|
Static1 = "static-1",
|
|
86
84
|
Flutter324 = "flutter-3.24",
|
|
87
85
|
Flutter327 = "flutter-3.27",
|
package/types/enums/scopes.d.ts
CHANGED
|
@@ -2,71 +2,80 @@ export declare enum Scopes {
|
|
|
2
2
|
Account = "account",
|
|
3
3
|
TeamsRead = "teams.read",
|
|
4
4
|
TeamsWrite = "teams.write",
|
|
5
|
-
|
|
5
|
+
ProjectRead = "project.read",
|
|
6
|
+
ProjectWrite = "project.write",
|
|
7
|
+
KeysRead = "keys.read",
|
|
8
|
+
KeysWrite = "keys.write",
|
|
9
|
+
PlatformsRead = "platforms.read",
|
|
10
|
+
PlatformsWrite = "platforms.write",
|
|
11
|
+
MocksRead = "mocks.read",
|
|
12
|
+
MocksWrite = "mocks.write",
|
|
13
|
+
PoliciesRead = "policies.read",
|
|
14
|
+
PoliciesWrite = "policies.write",
|
|
15
|
+
TemplatesRead = "templates.read",
|
|
16
|
+
TemplatesWrite = "templates.write",
|
|
17
|
+
Oauth2Read = "oauth2.read",
|
|
18
|
+
Oauth2Write = "oauth2.write",
|
|
6
19
|
UsersRead = "users.read",
|
|
7
20
|
UsersWrite = "users.write",
|
|
21
|
+
SessionsRead = "sessions.read",
|
|
22
|
+
SessionsWrite = "sessions.write",
|
|
8
23
|
DatabasesRead = "databases.read",
|
|
9
24
|
DatabasesWrite = "databases.write",
|
|
10
|
-
CollectionsRead = "collections.read",
|
|
11
|
-
CollectionsWrite = "collections.write",
|
|
12
25
|
TablesRead = "tables.read",
|
|
13
26
|
TablesWrite = "tables.write",
|
|
14
|
-
AttributesRead = "attributes.read",
|
|
15
|
-
AttributesWrite = "attributes.write",
|
|
16
27
|
ColumnsRead = "columns.read",
|
|
17
28
|
ColumnsWrite = "columns.write",
|
|
18
29
|
IndexesRead = "indexes.read",
|
|
19
30
|
IndexesWrite = "indexes.write",
|
|
20
|
-
DocumentsRead = "documents.read",
|
|
21
|
-
DocumentsWrite = "documents.write",
|
|
22
31
|
RowsRead = "rows.read",
|
|
23
32
|
RowsWrite = "rows.write",
|
|
24
|
-
|
|
25
|
-
|
|
33
|
+
CollectionsRead = "collections.read",
|
|
34
|
+
CollectionsWrite = "collections.write",
|
|
35
|
+
AttributesRead = "attributes.read",
|
|
36
|
+
AttributesWrite = "attributes.write",
|
|
37
|
+
DocumentsRead = "documents.read",
|
|
38
|
+
DocumentsWrite = "documents.write",
|
|
26
39
|
BucketsRead = "buckets.read",
|
|
27
40
|
BucketsWrite = "buckets.write",
|
|
41
|
+
FilesRead = "files.read",
|
|
42
|
+
FilesWrite = "files.write",
|
|
43
|
+
TokensRead = "tokens.read",
|
|
44
|
+
TokensWrite = "tokens.write",
|
|
28
45
|
FunctionsRead = "functions.read",
|
|
29
46
|
FunctionsWrite = "functions.write",
|
|
47
|
+
ExecutionsRead = "executions.read",
|
|
48
|
+
ExecutionsWrite = "executions.write",
|
|
49
|
+
ExecutionRead = "execution.read",
|
|
50
|
+
ExecutionWrite = "execution.write",
|
|
30
51
|
SitesRead = "sites.read",
|
|
31
52
|
SitesWrite = "sites.write",
|
|
32
53
|
LogRead = "log.read",
|
|
33
54
|
LogWrite = "log.write",
|
|
34
|
-
ExecutionRead = "execution.read",
|
|
35
|
-
ExecutionWrite = "execution.write",
|
|
36
|
-
LocaleRead = "locale.read",
|
|
37
|
-
AvatarsRead = "avatars.read",
|
|
38
|
-
HealthRead = "health.read",
|
|
39
55
|
ProvidersRead = "providers.read",
|
|
40
56
|
ProvidersWrite = "providers.write",
|
|
41
|
-
MessagesRead = "messages.read",
|
|
42
|
-
MessagesWrite = "messages.write",
|
|
43
57
|
TopicsRead = "topics.read",
|
|
44
58
|
TopicsWrite = "topics.write",
|
|
45
59
|
SubscribersRead = "subscribers.read",
|
|
46
60
|
SubscribersWrite = "subscribers.write",
|
|
47
61
|
TargetsRead = "targets.read",
|
|
48
62
|
TargetsWrite = "targets.write",
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
63
|
+
MessagesRead = "messages.read",
|
|
64
|
+
MessagesWrite = "messages.write",
|
|
65
|
+
WebhooksRead = "webhooks.read",
|
|
66
|
+
WebhooksWrite = "webhooks.write",
|
|
67
|
+
LocaleRead = "locale.read",
|
|
68
|
+
AvatarsRead = "avatars.read",
|
|
69
|
+
HealthRead = "health.read",
|
|
70
|
+
AssistantRead = "assistant.read",
|
|
53
71
|
MigrationsRead = "migrations.read",
|
|
54
72
|
MigrationsWrite = "migrations.write",
|
|
73
|
+
SchedulesRead = "schedules.read",
|
|
74
|
+
SchedulesWrite = "schedules.write",
|
|
55
75
|
VcsRead = "vcs.read",
|
|
56
76
|
VcsWrite = "vcs.write",
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
TokensWrite = "tokens.write",
|
|
60
|
-
WebhooksRead = "webhooks.read",
|
|
61
|
-
WebhooksWrite = "webhooks.write",
|
|
62
|
-
ProjectRead = "project.read",
|
|
63
|
-
ProjectWrite = "project.write",
|
|
64
|
-
KeysRead = "keys.read",
|
|
65
|
-
KeysWrite = "keys.write",
|
|
66
|
-
PlatformsRead = "platforms.read",
|
|
67
|
-
PlatformsWrite = "platforms.write",
|
|
68
|
-
PoliciesWrite = "policies.write",
|
|
69
|
-
PoliciesRead = "policies.read",
|
|
77
|
+
RulesRead = "rules.read",
|
|
78
|
+
RulesWrite = "rules.write",
|
|
70
79
|
ArchivesRead = "archives.read",
|
|
71
80
|
ArchivesWrite = "archives.write",
|
|
72
81
|
RestorationsRead = "restorations.read",
|
package/types/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export { Functions } from './services/functions';
|
|
|
19
19
|
export { Graphql } from './services/graphql';
|
|
20
20
|
export { Health } from './services/health';
|
|
21
21
|
export { Locale } from './services/locale';
|
|
22
|
+
export { Manager } from './services/manager';
|
|
22
23
|
export { Messaging } from './services/messaging';
|
|
23
24
|
export { Migrations } from './services/migrations';
|
|
24
25
|
export { Organizations } from './services/organizations';
|
|
@@ -73,6 +74,7 @@ export { VCSReferenceType } from './enums/vcs-reference-type';
|
|
|
73
74
|
export { DeploymentDownloadType } from './enums/deployment-download-type';
|
|
74
75
|
export { ExecutionMethod } from './enums/execution-method';
|
|
75
76
|
export { Name } from './enums/name';
|
|
77
|
+
export { ResourceType } from './enums/resource-type';
|
|
76
78
|
export { MessagePriority } from './enums/message-priority';
|
|
77
79
|
export { SmtpEncryption } from './enums/smtp-encryption';
|
|
78
80
|
export { AppwriteMigrationResource } from './enums/appwrite-migration-resource';
|
|
@@ -80,18 +82,16 @@ export { FirebaseMigrationResource } from './enums/firebase-migration-resource';
|
|
|
80
82
|
export { NHostMigrationResource } from './enums/n-host-migration-resource';
|
|
81
83
|
export { SupabaseMigrationResource } from './enums/supabase-migration-resource';
|
|
82
84
|
export { Addon } from './enums/addon';
|
|
85
|
+
export { MethodId } from './enums/method-id';
|
|
86
|
+
export { PolicyId } from './enums/policy-id';
|
|
83
87
|
export { ProtocolId } from './enums/protocol-id';
|
|
84
88
|
export { ServiceId } from './enums/service-id';
|
|
89
|
+
export { Secure } from './enums/secure';
|
|
90
|
+
export { EmailTemplateType } from './enums/email-template-type';
|
|
91
|
+
export { EmailTemplateLocale } from './enums/email-template-locale';
|
|
85
92
|
export { ProjectUsageRange } from './enums/project-usage-range';
|
|
86
93
|
export { Region } from './enums/region';
|
|
87
|
-
export { AuthMethod } from './enums/auth-method';
|
|
88
|
-
export { ResourceType } from './enums/resource-type';
|
|
89
|
-
export { SMTPSecure } from './enums/smtp-secure';
|
|
90
94
|
export { Status } from './enums/status';
|
|
91
|
-
export { EmailTemplateType } from './enums/email-template-type';
|
|
92
|
-
export { EmailTemplateLocale } from './enums/email-template-locale';
|
|
93
|
-
export { SmsTemplateType } from './enums/sms-template-type';
|
|
94
|
-
export { SmsTemplateLocale } from './enums/sms-template-locale';
|
|
95
95
|
export { StatusCode } from './enums/status-code';
|
|
96
96
|
export { ProxyResourceType } from './enums/proxy-resource-type';
|
|
97
97
|
export { Framework } from './enums/framework';
|
|
@@ -110,6 +110,8 @@ export { DatabaseType } from './enums/database-type';
|
|
|
110
110
|
export { AttributeStatus } from './enums/attribute-status';
|
|
111
111
|
export { ColumnStatus } from './enums/column-status';
|
|
112
112
|
export { IndexStatus } from './enums/index-status';
|
|
113
|
+
export { DetectionFrameworkType } from './enums/detection-framework-type';
|
|
114
|
+
export { DetectionRuntimeType } from './enums/detection-runtime-type';
|
|
113
115
|
export { DeploymentStatus } from './enums/deployment-status';
|
|
114
116
|
export { ExecutionTrigger } from './enums/execution-trigger';
|
|
115
117
|
export { ExecutionStatus } from './enums/execution-status';
|