@appwrite.io/console 15.7.0 → 16.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 +441 -73
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +440 -74
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +441 -73
- package/package.json +3 -3
- package/types/client.d.ts +11 -0
- package/types/enums/build-runtime.d.ts +1 -0
- package/types/enums/invalidation-type.d.ts +5 -0
- package/types/enums/project-key-scopes.d.ts +1 -0
- package/types/enums/query-suggestion-resource.d.ts +3 -0
- package/types/enums/runtime.d.ts +1 -0
- package/types/enums/usage-event-dimension.d.ts +21 -0
- package/types/enums/usage-gauge-dimension.d.ts +7 -0
- package/types/enums/usage-interval.d.ts +7 -0
- package/types/enums/usage-order-by.d.ts +4 -0
- package/types/enums/usage-order-direction.d.ts +4 -0
- package/types/index.d.ts +9 -1
- package/types/models.d.ts +304 -53
- package/types/services/account.d.ts +6 -6
- package/types/services/affiliates.d.ts +162 -0
- package/types/services/documents-db.d.ts +8 -2
- package/types/services/embeddings.d.ts +31 -0
- package/types/services/mongo.d.ts +1 -4
- package/types/services/mysql.d.ts +3 -6
- package/types/services/postgresql.d.ts +3 -6
- package/types/services/project.d.ts +10 -10
- package/types/services/proxy.d.ts +30 -0
- package/types/services/tables-db.d.ts +8 -2
- package/types/services/usage.d.ts +35 -30
- package/types/services/vectors-db.d.ts +8 -27
- package/types/services/waf.d.ts +30 -12
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": "16.0.0",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/cjs/sdk.js",
|
|
8
8
|
"exports": {
|
|
@@ -40,13 +40,13 @@
|
|
|
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.62.
|
|
43
|
+
"rollup": "4.62.4",
|
|
44
44
|
"serve-handler": "6.1.7",
|
|
45
45
|
"tslib": "2.8.1",
|
|
46
46
|
"typescript": "5.9.3"
|
|
47
47
|
},
|
|
48
48
|
"overrides": {
|
|
49
|
-
"brace-expansion": "5.0.
|
|
49
|
+
"brace-expansion": "5.0.9"
|
|
50
50
|
},
|
|
51
51
|
"jsdelivr": "dist/iife/sdk.js",
|
|
52
52
|
"unpkg": "dist/iife/sdk.js"
|
package/types/client.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ declare class Client {
|
|
|
110
110
|
endpointRealtime: string;
|
|
111
111
|
project: string;
|
|
112
112
|
key: string;
|
|
113
|
+
organization: string;
|
|
113
114
|
jwt: string;
|
|
114
115
|
bearer: string;
|
|
115
116
|
locale: string;
|
|
@@ -194,6 +195,16 @@ declare class Client {
|
|
|
194
195
|
* @return {this}
|
|
195
196
|
*/
|
|
196
197
|
setKey(value: string): this;
|
|
198
|
+
/**
|
|
199
|
+
* Set Organization
|
|
200
|
+
*
|
|
201
|
+
* Your organization ID
|
|
202
|
+
*
|
|
203
|
+
* @param value string
|
|
204
|
+
*
|
|
205
|
+
* @return {this}
|
|
206
|
+
*/
|
|
207
|
+
setOrganization(value: string): this;
|
|
197
208
|
/**
|
|
198
209
|
* Set JWT
|
|
199
210
|
*
|
|
@@ -97,6 +97,7 @@ export declare enum ProjectKeyScopes {
|
|
|
97
97
|
WafRulesRead = "wafRules.read",
|
|
98
98
|
WafRulesWrite = "wafRules.write",
|
|
99
99
|
EventsRead = "events.read",
|
|
100
|
+
ProxyInvalidationsWrite = "proxy.invalidations.write",
|
|
100
101
|
AppsRead = "apps.read",
|
|
101
102
|
AppsWrite = "apps.write",
|
|
102
103
|
Oauth2Read = "oauth2.read",
|
|
@@ -67,6 +67,9 @@ export declare enum QuerySuggestionResource {
|
|
|
67
67
|
ShInstallations = "sh_installations",
|
|
68
68
|
MigrationDatabases = "migrationdatabases",
|
|
69
69
|
MigrationProjects = "migrationprojects",
|
|
70
|
+
AffiliateLinks = "affiliatelinks",
|
|
71
|
+
AffiliateReferrals = "affiliatereferrals",
|
|
72
|
+
AffiliateRewards = "affiliaterewards",
|
|
70
73
|
Apps = "apps",
|
|
71
74
|
AppSecrets = "appsecrets",
|
|
72
75
|
AppInstallations = "appinstallations",
|
package/types/enums/runtime.d.ts
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare enum UsageEventDimension {
|
|
2
|
+
Path = "path",
|
|
3
|
+
Method = "method",
|
|
4
|
+
Status = "status",
|
|
5
|
+
Service = "service",
|
|
6
|
+
ResourceType = "resourceType",
|
|
7
|
+
Country = "country",
|
|
8
|
+
ContinentCode = "continentCode",
|
|
9
|
+
City = "city",
|
|
10
|
+
Region = "region",
|
|
11
|
+
Hostname = "hostname",
|
|
12
|
+
Ip = "ip",
|
|
13
|
+
OsName = "osName",
|
|
14
|
+
ClientType = "clientType",
|
|
15
|
+
ClientName = "clientName",
|
|
16
|
+
DeviceName = "deviceName",
|
|
17
|
+
Sdk = "sdk",
|
|
18
|
+
SdkVersion = "sdkVersion",
|
|
19
|
+
TeamId = "teamId",
|
|
20
|
+
ResourceId = "resourceId"
|
|
21
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
export { Client, Query, AppwriteException } from './client';
|
|
9
9
|
export { Account } from './services/account';
|
|
10
10
|
export { Activities } from './services/activities';
|
|
11
|
+
export { Affiliates } from './services/affiliates';
|
|
11
12
|
export { Apps } from './services/apps';
|
|
12
13
|
export { Avatars } from './services/avatars';
|
|
13
14
|
export { Backups } from './services/backups';
|
|
@@ -16,6 +17,7 @@ export { Console } from './services/console';
|
|
|
16
17
|
export { Databases } from './services/databases';
|
|
17
18
|
export { DocumentsDB } from './services/documents-db';
|
|
18
19
|
export { Domains } from './services/domains';
|
|
20
|
+
export { Embeddings } from './services/embeddings';
|
|
19
21
|
export { Functions } from './services/functions';
|
|
20
22
|
export { Graphql } from './services/graphql';
|
|
21
23
|
export { Locale } from './services/locale';
|
|
@@ -78,6 +80,7 @@ export { OrderBy } from './enums/order-by';
|
|
|
78
80
|
export { DocumentsDBIndexType } from './enums/documents-db-index-type';
|
|
79
81
|
export { DomainRegistrationType } from './enums/domain-registration-type';
|
|
80
82
|
export { DomainSuggestionType } from './enums/domain-suggestion-type';
|
|
83
|
+
export { EmbeddingModel } from './enums/embedding-model';
|
|
81
84
|
export { Runtime } from './enums/runtime';
|
|
82
85
|
export { ProjectKeyScopes } from './enums/project-key-scopes';
|
|
83
86
|
export { FunctionTemplateUseCase } from './enums/function-template-use-case';
|
|
@@ -111,6 +114,7 @@ export { ProjectSMTPSecure } from './enums/project-smtp-secure';
|
|
|
111
114
|
export { ProjectUsageRange } from './enums/project-usage-range';
|
|
112
115
|
export { ScheduleResourceType } from './enums/schedule-resource-type';
|
|
113
116
|
export { Status } from './enums/status';
|
|
117
|
+
export { InvalidationType } from './enums/invalidation-type';
|
|
114
118
|
export { StatusCode } from './enums/status-code';
|
|
115
119
|
export { ProxyResourceType } from './enums/proxy-resource-type';
|
|
116
120
|
export { Framework } from './enums/framework';
|
|
@@ -120,10 +124,14 @@ export { SiteTemplateUseCase } from './enums/site-template-use-case';
|
|
|
120
124
|
export { Compression } from './enums/compression';
|
|
121
125
|
export { ImageGravity } from './enums/image-gravity';
|
|
122
126
|
export { TablesDBIndexType } from './enums/tables-db-index-type';
|
|
127
|
+
export { UsageInterval } from './enums/usage-interval';
|
|
128
|
+
export { UsageEventDimension } from './enums/usage-event-dimension';
|
|
129
|
+
export { UsageOrderBy } from './enums/usage-order-by';
|
|
130
|
+
export { UsageOrderDirection } from './enums/usage-order-direction';
|
|
131
|
+
export { UsageGaugeDimension } from './enums/usage-gauge-dimension';
|
|
123
132
|
export { PasswordHash } from './enums/password-hash';
|
|
124
133
|
export { MessagingProviderType } from './enums/messaging-provider-type';
|
|
125
134
|
export { VCSDetectionType } from './enums/vcs-detection-type';
|
|
126
|
-
export { EmbeddingModel } from './enums/embedding-model';
|
|
127
135
|
export { VectorsDBIndexType } from './enums/vectors-db-index-type';
|
|
128
136
|
export { DatabaseType } from './enums/database-type';
|
|
129
137
|
export { DatabaseStatus } from './enums/database-status';
|