@appwrite.io/console 16.0.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 +5 -6
- package/dist/cjs/package.json +1 -1
- package/dist/cjs/sdk.js +8558 -4805
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/esm/sdk.js +8559 -4806
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +8558 -4805
- package/package.json +59 -50
- package/types/client.d.ts +2 -13
- package/types/enums/{addon.d.ts → addon-key.d.ts} +1 -1
- package/types/enums/authentication-factor.d.ts +2 -1
- package/types/enums/billing-plan-group.d.ts +2 -1
- package/types/enums/build-runtime.d.ts +4 -1
- package/types/enums/cache-database.d.ts +1 -2
- package/types/enums/embedding-model.d.ts +1 -3
- package/types/enums/execution-resource-type.d.ts +4 -0
- package/types/enums/framework.d.ts +1 -0
- package/types/enums/id-token-provider.d.ts +4 -0
- package/types/enums/image-gravity.d.ts +1 -0
- package/types/enums/o-auth-provider.d.ts +5 -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 +20 -3
- package/types/enums/project-o-auth-provider-id.d.ts +5 -0
- package/types/enums/project-policy-id.d.ts +2 -0
- package/types/enums/query-suggestion-resource.d.ts +2 -3
- package/types/enums/runtime.d.ts +4 -1
- package/types/enums/usage-event-dimension.d.ts +7 -1
- package/types/enums/usage-event-metric.d.ts +55 -0
- package/types/enums/usage-gauge-metric.d.ts +50 -0
- package/types/index.d.ts +11 -6
- package/types/models.d.ts +696 -776
- package/types/services/account.d.ts +124 -36
- package/types/services/apps.d.ts +6 -6
- package/types/services/avatars.d.ts +44 -0
- package/types/services/console.d.ts +2 -2
- package/types/services/databases.d.ts +8 -8
- package/types/services/documents-db.d.ts +13 -7
- package/types/services/domains.d.ts +82 -54
- package/types/services/functions.d.ts +6 -6
- package/types/services/manager.d.ts +14 -14
- package/types/services/messaging.d.ts +80 -6
- package/types/services/mongo.d.ts +17 -23
- package/types/services/mysql.d.ts +17 -23
- package/types/services/organization.d.ts +165 -0
- package/types/services/organizations.d.ts +24 -24
- package/types/services/postgresql.d.ts +17 -23
- package/types/services/project.d.ts +218 -51
- package/types/services/projects.d.ts +0 -94
- package/types/services/sites.d.ts +15 -8
- package/types/services/storage.d.ts +2 -2
- package/types/services/tables-db.d.ts +37 -12
- package/types/services/teams.d.ts +0 -25
- package/types/services/usage.d.ts +23 -14
- package/types/services/users.d.ts +26 -29
- package/types/services/vectors-db.d.ts +15 -9
- package/types/services/waf.d.ts +11 -2
- package/types/enums/project-usage-range.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,53 +1,62 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
"name": "@appwrite.io/console",
|
|
3
|
+
"homepage": "https://appwrite.io/support",
|
|
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": "17.0.0",
|
|
6
|
+
"license": "BSD-3-Clause",
|
|
7
|
+
"main": "dist/cjs/sdk.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/esm/sdk.js",
|
|
11
|
+
"require": "./dist/cjs/sdk.js",
|
|
12
|
+
"types": "./types/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./package.json": "./package.json"
|
|
13
15
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
16
|
+
"module": "dist/esm/sdk.js",
|
|
17
|
+
"types": "types/index.d.ts",
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"types"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/appwrite/sdk-for-console"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "npm run build:types && npm run build:libs",
|
|
28
|
+
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types",
|
|
29
|
+
"build:libs": "rollup -c",
|
|
30
|
+
"format": "prettier --write .",
|
|
31
|
+
"format:check": "prettier --check .",
|
|
32
|
+
"lint": "eslint .",
|
|
33
|
+
"lint:fix": "eslint --fix .",
|
|
34
|
+
"analyse": "tsc --noEmit"
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=18.0.0"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"json-bigint": "1.0.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@eslint/js": "10.0.1",
|
|
44
|
+
"@rollup/plugin-commonjs": "29.0.3",
|
|
45
|
+
"@rollup/plugin-node-resolve": "16.0.3",
|
|
46
|
+
"@rollup/plugin-typescript": "12.3.0",
|
|
47
|
+
"@types/json-bigint": "1.0.4",
|
|
48
|
+
"eslint": "10.10.0",
|
|
49
|
+
"playwright": "1.56.1",
|
|
50
|
+
"prettier": "3.9.6",
|
|
51
|
+
"rollup": "4.63.2",
|
|
52
|
+
"serve-handler": "6.1.7",
|
|
53
|
+
"tslib": "2.8.1",
|
|
54
|
+
"typescript": "5.9.3",
|
|
55
|
+
"typescript-eslint": "8.70.0"
|
|
56
|
+
},
|
|
57
|
+
"overrides": {
|
|
58
|
+
"brace-expansion": "5.0.9"
|
|
59
|
+
},
|
|
60
|
+
"jsdelivr": "dist/iife/sdk.js",
|
|
61
|
+
"unpkg": "dist/iife/sdk.js"
|
|
53
62
|
}
|
package/types/client.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ type Headers = {
|
|
|
23
23
|
/**
|
|
24
24
|
* Realtime event response structure with generic payload type.
|
|
25
25
|
*/
|
|
26
|
-
type RealtimeResponseEvent<T
|
|
26
|
+
type RealtimeResponseEvent<T> = {
|
|
27
27
|
/**
|
|
28
28
|
* List of event names associated with the response.
|
|
29
29
|
*/
|
|
@@ -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
|
*
|
|
@@ -347,7 +336,7 @@ declare class Client {
|
|
|
347
336
|
* @param {(payload: RealtimeMessage) => void} callback Is called on every realtime update.
|
|
348
337
|
* @returns {() => void} Unsubscribes from events.
|
|
349
338
|
*/
|
|
350
|
-
subscribe<T
|
|
339
|
+
subscribe<T>(channels: string | string[] | Channel<any> | ActionableChannel | ResolvedChannel | (Channel<any> | ActionableChannel | ResolvedChannel)[], callback: (payload: RealtimeResponseEvent<T>) => void, queries?: (string | Query)[]): () => void;
|
|
351
340
|
prepareRequest(method: string, url: URL, headers?: Headers, params?: Payload): {
|
|
352
341
|
uri: string;
|
|
353
342
|
options: RequestInit;
|
|
@@ -50,6 +50,7 @@ export declare enum BuildRuntime {
|
|
|
50
50
|
Dart310 = "dart-3.10",
|
|
51
51
|
Dart311 = "dart-3.11",
|
|
52
52
|
Dart312 = "dart-3.12",
|
|
53
|
+
Dart313 = "dart-3.13",
|
|
53
54
|
Dotnet60 = "dotnet-6.0",
|
|
54
55
|
Dotnet70 = "dotnet-7.0",
|
|
55
56
|
Dotnet80 = "dotnet-8.0",
|
|
@@ -77,6 +78,7 @@ export declare enum BuildRuntime {
|
|
|
77
78
|
Bun11 = "bun-1.1",
|
|
78
79
|
Bun12 = "bun-1.2",
|
|
79
80
|
Bun13 = "bun-1.3",
|
|
81
|
+
Bun14 = "bun-1.4",
|
|
80
82
|
Go123 = "go-1.23",
|
|
81
83
|
Go124 = "go-1.24",
|
|
82
84
|
Go125 = "go-1.25",
|
|
@@ -90,5 +92,6 @@ export declare enum BuildRuntime {
|
|
|
90
92
|
Flutter335 = "flutter-3.35",
|
|
91
93
|
Flutter338 = "flutter-3.38",
|
|
92
94
|
Flutter341 = "flutter-3.41",
|
|
93
|
-
Flutter344 = "flutter-3.44"
|
|
95
|
+
Flutter344 = "flutter-3.44",
|
|
96
|
+
Flutter347 = "flutter-3.47"
|
|
94
97
|
}
|
|
@@ -8,6 +8,7 @@ export declare enum OAuthProvider {
|
|
|
8
8
|
Bitbucket = "bitbucket",
|
|
9
9
|
Bitly = "bitly",
|
|
10
10
|
Box = "box",
|
|
11
|
+
Cloudflare = "cloudflare",
|
|
11
12
|
Dailymotion = "dailymotion",
|
|
12
13
|
Discord = "discord",
|
|
13
14
|
Disqus = "disqus",
|
|
@@ -19,6 +20,8 @@ export declare enum OAuthProvider {
|
|
|
19
20
|
Github = "github",
|
|
20
21
|
Gitlab = "gitlab",
|
|
21
22
|
Google = "google",
|
|
23
|
+
Huggingface = "huggingface",
|
|
24
|
+
Kakao = "kakao",
|
|
22
25
|
Keycloak = "keycloak",
|
|
23
26
|
Kick = "kick",
|
|
24
27
|
Linkedin = "linkedin",
|
|
@@ -29,10 +32,12 @@ export declare enum OAuthProvider {
|
|
|
29
32
|
Paypal = "paypal",
|
|
30
33
|
PaypalSandbox = "paypalSandbox",
|
|
31
34
|
Podio = "podio",
|
|
35
|
+
Resend = "resend",
|
|
32
36
|
Salesforce = "salesforce",
|
|
33
37
|
Slack = "slack",
|
|
34
38
|
Spotify = "spotify",
|
|
35
39
|
Stripe = "stripe",
|
|
40
|
+
Tiktok = "tiktok",
|
|
36
41
|
Tradeshift = "tradeshift",
|
|
37
42
|
TradeshiftBox = "tradeshiftBox",
|
|
38
43
|
Twitch = "twitch",
|
|
@@ -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",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare enum ProjectKeyScopes {
|
|
2
2
|
ProjectRead = "project.read",
|
|
3
3
|
ProjectWrite = "project.write",
|
|
4
|
+
UsageRead = "usage.read",
|
|
4
5
|
KeysRead = "keys.read",
|
|
5
6
|
KeysWrite = "keys.write",
|
|
6
7
|
PlatformsRead = "platforms.read",
|
|
@@ -33,12 +34,29 @@ export declare enum ProjectKeyScopes {
|
|
|
33
34
|
IndexesWrite = "indexes.write",
|
|
34
35
|
RowsRead = "rows.read",
|
|
35
36
|
RowsWrite = "rows.write",
|
|
37
|
+
EmbeddingsWrite = "embeddings.write",
|
|
36
38
|
CollectionsRead = "collections.read",
|
|
37
39
|
CollectionsWrite = "collections.write",
|
|
38
40
|
AttributesRead = "attributes.read",
|
|
39
41
|
AttributesWrite = "attributes.write",
|
|
40
42
|
DocumentsRead = "documents.read",
|
|
41
43
|
DocumentsWrite = "documents.write",
|
|
44
|
+
DocumentsdbRead = "documentsdb.read",
|
|
45
|
+
DocumentsdbWrite = "documentsdb.write",
|
|
46
|
+
DocumentsdbCollectionsRead = "documentsdb.collections.read",
|
|
47
|
+
DocumentsdbCollectionsWrite = "documentsdb.collections.write",
|
|
48
|
+
DocumentsdbDocumentsRead = "documentsdb.documents.read",
|
|
49
|
+
DocumentsdbDocumentsWrite = "documentsdb.documents.write",
|
|
50
|
+
DocumentsdbIndexesRead = "documentsdb.indexes.read",
|
|
51
|
+
DocumentsdbIndexesWrite = "documentsdb.indexes.write",
|
|
52
|
+
VectorsdbRead = "vectorsdb.read",
|
|
53
|
+
VectorsdbWrite = "vectorsdb.write",
|
|
54
|
+
VectorsdbCollectionsRead = "vectorsdb.collections.read",
|
|
55
|
+
VectorsdbCollectionsWrite = "vectorsdb.collections.write",
|
|
56
|
+
VectorsdbDocumentsRead = "vectorsdb.documents.read",
|
|
57
|
+
VectorsdbDocumentsWrite = "vectorsdb.documents.write",
|
|
58
|
+
VectorsdbIndexesRead = "vectorsdb.indexes.read",
|
|
59
|
+
VectorsdbIndexesWrite = "vectorsdb.indexes.write",
|
|
42
60
|
BucketsRead = "buckets.read",
|
|
43
61
|
BucketsWrite = "buckets.write",
|
|
44
62
|
FilesRead = "files.read",
|
|
@@ -85,13 +103,13 @@ export declare enum ProjectKeyScopes {
|
|
|
85
103
|
ReportsWrite = "reports.write",
|
|
86
104
|
PresencesRead = "presences.read",
|
|
87
105
|
PresencesWrite = "presences.write",
|
|
106
|
+
DedicatedDatabasesExecute = "dedicatedDatabases.execute",
|
|
88
107
|
BackupsPoliciesRead = "backups.policies.read",
|
|
89
108
|
BackupsPoliciesWrite = "backups.policies.write",
|
|
90
109
|
ArchivesRead = "archives.read",
|
|
91
110
|
ArchivesWrite = "archives.write",
|
|
92
111
|
RestorationsRead = "restorations.read",
|
|
93
112
|
RestorationsWrite = "restorations.write",
|
|
94
|
-
DedicatedDatabasesExecute = "dedicatedDatabases.execute",
|
|
95
113
|
DomainsRead = "domains.read",
|
|
96
114
|
DomainsWrite = "domains.write",
|
|
97
115
|
WafRulesRead = "wafRules.read",
|
|
@@ -102,6 +120,5 @@ export declare enum ProjectKeyScopes {
|
|
|
102
120
|
AppsWrite = "apps.write",
|
|
103
121
|
Oauth2Read = "oauth2.read",
|
|
104
122
|
Oauth2Write = "oauth2.write",
|
|
105
|
-
Oauth2Introspect = "oauth2.introspect"
|
|
106
|
-
UsageRead = "usage.read"
|
|
123
|
+
Oauth2Introspect = "oauth2.introspect"
|
|
107
124
|
}
|
|
@@ -8,6 +8,7 @@ export declare enum ProjectOAuthProviderId {
|
|
|
8
8
|
Bitbucket = "bitbucket",
|
|
9
9
|
Bitly = "bitly",
|
|
10
10
|
Box = "box",
|
|
11
|
+
Cloudflare = "cloudflare",
|
|
11
12
|
Dailymotion = "dailymotion",
|
|
12
13
|
Discord = "discord",
|
|
13
14
|
Disqus = "disqus",
|
|
@@ -19,6 +20,8 @@ export declare enum ProjectOAuthProviderId {
|
|
|
19
20
|
Github = "github",
|
|
20
21
|
Gitlab = "gitlab",
|
|
21
22
|
Google = "google",
|
|
23
|
+
Huggingface = "huggingface",
|
|
24
|
+
Kakao = "kakao",
|
|
22
25
|
Keycloak = "keycloak",
|
|
23
26
|
Kick = "kick",
|
|
24
27
|
Linkedin = "linkedin",
|
|
@@ -29,10 +32,12 @@ export declare enum ProjectOAuthProviderId {
|
|
|
29
32
|
Paypal = "paypal",
|
|
30
33
|
PaypalSandbox = "paypalSandbox",
|
|
31
34
|
Podio = "podio",
|
|
35
|
+
Resend = "resend",
|
|
32
36
|
Salesforce = "salesforce",
|
|
33
37
|
Slack = "slack",
|
|
34
38
|
Spotify = "spotify",
|
|
35
39
|
Stripe = "stripe",
|
|
40
|
+
Tiktok = "tiktok",
|
|
36
41
|
Tradeshift = "tradeshift",
|
|
37
42
|
TradeshiftBox = "tradeshiftBox",
|
|
38
43
|
Twitch = "twitch",
|
|
@@ -3,12 +3,14 @@ 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",
|
|
9
10
|
Sessionlimit = "session-limit",
|
|
10
11
|
Userlimit = "user-limit",
|
|
11
12
|
Membershipprivacy = "membership-privacy",
|
|
13
|
+
Mfafactors = "mfa-factors",
|
|
12
14
|
Denyaliasedemail = "deny-aliased-email",
|
|
13
15
|
Denydisposableemail = "deny-disposable-email",
|
|
14
16
|
Denyfreeemail = "deny-free-email",
|
|
@@ -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",
|
|
@@ -57,6 +57,7 @@ export declare enum QuerySuggestionResource {
|
|
|
57
57
|
Alerts = "alerts",
|
|
58
58
|
Payments = "payments",
|
|
59
59
|
BillingDiscounts = "billingdiscounts",
|
|
60
|
+
ResourcesDeleted = "resourcesdeleted",
|
|
60
61
|
Sources = "sources",
|
|
61
62
|
Deals = "deals",
|
|
62
63
|
Blocks = "blocks",
|
|
@@ -87,8 +88,6 @@ export declare enum QuerySuggestionResource {
|
|
|
87
88
|
ResourceTokens = "resourcetokens",
|
|
88
89
|
Transactions = "transactions",
|
|
89
90
|
TransactionLogs = "transactionlogs",
|
|
90
|
-
Stats = "stats",
|
|
91
|
-
Executions = "executions",
|
|
92
91
|
DedicatedDatabases = "dedicateddatabases",
|
|
93
92
|
DedicatedDatabaseConfigs = "dedicateddatabaseconfigs",
|
|
94
93
|
DedicatedDatabaseRuntimes = "dedicateddatabaseruntimes",
|
package/types/enums/runtime.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export declare enum Runtime {
|
|
|
50
50
|
Dart310 = "dart-3.10",
|
|
51
51
|
Dart311 = "dart-3.11",
|
|
52
52
|
Dart312 = "dart-3.12",
|
|
53
|
+
Dart313 = "dart-3.13",
|
|
53
54
|
Dotnet60 = "dotnet-6.0",
|
|
54
55
|
Dotnet70 = "dotnet-7.0",
|
|
55
56
|
Dotnet80 = "dotnet-8.0",
|
|
@@ -77,6 +78,7 @@ export declare enum Runtime {
|
|
|
77
78
|
Bun11 = "bun-1.1",
|
|
78
79
|
Bun12 = "bun-1.2",
|
|
79
80
|
Bun13 = "bun-1.3",
|
|
81
|
+
Bun14 = "bun-1.4",
|
|
80
82
|
Go123 = "go-1.23",
|
|
81
83
|
Go124 = "go-1.24",
|
|
82
84
|
Go125 = "go-1.25",
|
|
@@ -90,5 +92,6 @@ export declare enum Runtime {
|
|
|
90
92
|
Flutter335 = "flutter-3.35",
|
|
91
93
|
Flutter338 = "flutter-3.38",
|
|
92
94
|
Flutter341 = "flutter-3.41",
|
|
93
|
-
Flutter344 = "flutter-3.44"
|
|
95
|
+
Flutter344 = "flutter-3.44",
|
|
96
|
+
Flutter347 = "flutter-3.47"
|
|
94
97
|
}
|
|
@@ -17,5 +17,11 @@ export declare enum UsageEventDimension {
|
|
|
17
17
|
Sdk = "sdk",
|
|
18
18
|
SdkVersion = "sdkVersion",
|
|
19
19
|
TeamId = "teamId",
|
|
20
|
-
ResourceId = "resourceId"
|
|
20
|
+
ResourceId = "resourceId",
|
|
21
|
+
Isp = "isp",
|
|
22
|
+
AutonomousSystemNumber = "autonomousSystemNumber",
|
|
23
|
+
AutonomousSystemOrganization = "autonomousSystemOrganization",
|
|
24
|
+
ConnectionType = "connectionType",
|
|
25
|
+
ConnectionUsageType = "connectionUsageType",
|
|
26
|
+
ConnectionOrganization = "connectionOrganization"
|
|
21
27
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export declare enum UsageEventMetric {
|
|
2
|
+
NetworkRequests = "network.requests",
|
|
3
|
+
NetworkInbound = "network.inbound",
|
|
4
|
+
NetworkOutbound = "network.outbound",
|
|
5
|
+
WebhooksEventsSent = "webhooks.events.sent",
|
|
6
|
+
WebhooksEventsFailed = "webhooks.events.failed",
|
|
7
|
+
AuthMethodPhone = "auth.method.phone",
|
|
8
|
+
MessagesSent = "messages.sent",
|
|
9
|
+
MessagesSmsSent = "messages.sms.sent",
|
|
10
|
+
Executions = "executions",
|
|
11
|
+
ExecutionsCompute = "executions.compute",
|
|
12
|
+
ExecutionsMbSeconds = "executions.mbSeconds",
|
|
13
|
+
FunctionsExecutions = "functions.executions",
|
|
14
|
+
SitesExecutions = "sites.executions",
|
|
15
|
+
FunctionsExecutionsCompute = "functions.executions.compute",
|
|
16
|
+
SitesExecutionsCompute = "sites.executions.compute",
|
|
17
|
+
FunctionsExecutionsMbSeconds = "functions.executions.mbSeconds",
|
|
18
|
+
SitesExecutionsMbSeconds = "sites.executions.mbSeconds",
|
|
19
|
+
Builds = "builds",
|
|
20
|
+
BuildsSuccess = "builds.success",
|
|
21
|
+
BuildsFailed = "builds.failed",
|
|
22
|
+
BuildsCompute = "builds.compute",
|
|
23
|
+
BuildsComputeSuccess = "builds.compute.success",
|
|
24
|
+
BuildsComputeFailed = "builds.compute.failed",
|
|
25
|
+
BuildsMbSeconds = "builds.mbSeconds",
|
|
26
|
+
FunctionsBuildsMbSeconds = "functions.builds.mbSeconds",
|
|
27
|
+
SitesBuildsMbSeconds = "sites.builds.mbSeconds",
|
|
28
|
+
DatabasesOperationsReads = "databases.operations.reads",
|
|
29
|
+
DatabasesOperationsWrites = "databases.operations.writes",
|
|
30
|
+
DocumentsdbDatabasesOperationsReads = "documentsdb.databases.operations.reads",
|
|
31
|
+
DocumentsdbDatabasesOperationsWrites = "documentsdb.databases.operations.writes",
|
|
32
|
+
VectorsdbDatabasesOperationsReads = "vectorsdb.databases.operations.reads",
|
|
33
|
+
VectorsdbDatabasesOperationsWrites = "vectorsdb.databases.operations.writes",
|
|
34
|
+
FilesImagesTransformed = "files.imagesTransformed",
|
|
35
|
+
AvatarsScreenshotsGenerated = "avatars.screenshotsGenerated",
|
|
36
|
+
RealtimeMessagesSent = "realtime.messages.sent",
|
|
37
|
+
RealtimeInbound = "realtime.inbound",
|
|
38
|
+
RealtimeOutbound = "realtime.outbound",
|
|
39
|
+
EmbeddingsText = "embeddings.text",
|
|
40
|
+
EmbeddingsTextTotalTokens = "embeddings.text.totalTokens",
|
|
41
|
+
EmbeddingsTextTotalDuration = "embeddings.text.totalDuration",
|
|
42
|
+
EmbeddingsTextTotalErrors = "embeddings.text.totalErrors",
|
|
43
|
+
WafRequestsDenied = "waf.requests.denied",
|
|
44
|
+
WafRequestsChallenged = "waf.requests.challenged",
|
|
45
|
+
WafRequestsRateLimited = "waf.requests.rateLimited",
|
|
46
|
+
WafRequestsRedirected = "waf.requests.redirected",
|
|
47
|
+
WafRequestsChallengeSolved = "waf.requests.challengeSolved",
|
|
48
|
+
WafChallengeSolveTimeMs = "waf.challenge.solveTimeMs",
|
|
49
|
+
AffiliatesClicks = "affiliates.clicks",
|
|
50
|
+
AffiliatesSignups = "affiliates.signups",
|
|
51
|
+
AffiliatesConversions = "affiliates.conversions",
|
|
52
|
+
DedicatedDatabasesInbound = "dedicatedDatabases.inbound",
|
|
53
|
+
DedicatedDatabasesOutbound = "dedicatedDatabases.outbound",
|
|
54
|
+
DedicatedDatabasesCompute = "dedicatedDatabases.compute"
|
|
55
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare enum UsageGaugeMetric {
|
|
2
|
+
Teams = "teams",
|
|
3
|
+
Users = "users",
|
|
4
|
+
Messages = "messages",
|
|
5
|
+
Sessions = "sessions",
|
|
6
|
+
Databases = "databases",
|
|
7
|
+
Collections = "collections",
|
|
8
|
+
Documents = "documents",
|
|
9
|
+
DatabasesStorage = "databases.storage",
|
|
10
|
+
DocumentsdbDatabases = "documentsdb.databases",
|
|
11
|
+
DocumentsdbCollections = "documentsdb.collections",
|
|
12
|
+
DocumentsdbDocuments = "documentsdb.documents",
|
|
13
|
+
DocumentsdbDatabasesStorage = "documentsdb.databases.storage",
|
|
14
|
+
VectorsdbDatabases = "vectorsdb.databases",
|
|
15
|
+
VectorsdbCollections = "vectorsdb.collections",
|
|
16
|
+
VectorsdbDocuments = "vectorsdb.documents",
|
|
17
|
+
VectorsdbDatabasesStorage = "vectorsdb.databases.storage",
|
|
18
|
+
Buckets = "buckets",
|
|
19
|
+
Files = "files",
|
|
20
|
+
FilesStorage = "files.storage",
|
|
21
|
+
Sites = "sites",
|
|
22
|
+
Functions = "functions",
|
|
23
|
+
Deployments = "deployments",
|
|
24
|
+
DeploymentsStorage = "deployments.storage",
|
|
25
|
+
Builds = "builds",
|
|
26
|
+
BuildsStorage = "builds.storage",
|
|
27
|
+
UsersMau = "users.mau",
|
|
28
|
+
UsersDau = "users.dau",
|
|
29
|
+
UsersWau = "users.wau",
|
|
30
|
+
Webhooks = "webhooks",
|
|
31
|
+
Platforms = "platforms",
|
|
32
|
+
Providers = "providers",
|
|
33
|
+
Topics = "topics",
|
|
34
|
+
Targets = "targets",
|
|
35
|
+
Keys = "keys",
|
|
36
|
+
Domains = "domains",
|
|
37
|
+
RealtimeConnections = "realtime.connections",
|
|
38
|
+
BackupsPolicies = "backups.policies",
|
|
39
|
+
BackupsStorage = "backups.storage",
|
|
40
|
+
DedicatedDatabasesStorage = "dedicatedDatabases.storage",
|
|
41
|
+
DedicatedDatabasesConnections = "dedicatedDatabases.connections",
|
|
42
|
+
DedicatedDatabasesCpu = "dedicatedDatabases.cpu",
|
|
43
|
+
DedicatedDatabasesMemory = "dedicatedDatabases.memory",
|
|
44
|
+
DedicatedDatabasesQps = "dedicatedDatabases.qps",
|
|
45
|
+
DedicatedDatabasesIopsRead = "dedicatedDatabases.iopsRead",
|
|
46
|
+
DedicatedDatabasesIopsWrite = "dedicatedDatabases.iopsWrite",
|
|
47
|
+
Apps = "apps",
|
|
48
|
+
AppsUsers = "apps.users",
|
|
49
|
+
AppsInstallations = "apps.installations"
|
|
50
|
+
}
|