@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/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.7.0",
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.2",
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.8"
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
  *
@@ -9,6 +9,7 @@ export declare enum BuildRuntime {
9
9
  Node23 = "node-23",
10
10
  Node24 = "node-24",
11
11
  Node25 = "node-25",
12
+ Node26 = "node-26",
12
13
  Php80 = "php-8.0",
13
14
  Php81 = "php-8.1",
14
15
  Php82 = "php-8.2",
@@ -0,0 +1,5 @@
1
+ export declare enum InvalidationType {
2
+ Tag = "tag",
3
+ Path = "path",
4
+ All = "all"
5
+ }
@@ -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",
@@ -9,6 +9,7 @@ export declare enum Runtime {
9
9
  Node23 = "node-23",
10
10
  Node24 = "node-24",
11
11
  Node25 = "node-25",
12
+ Node26 = "node-26",
12
13
  Php80 = "php-8.0",
13
14
  Php81 = "php-8.1",
14
15
  Php82 = "php-8.2",
@@ -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
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum UsageGaugeDimension {
2
+ ResourceId = "resourceId",
3
+ TeamId = "teamId",
4
+ Service = "service",
5
+ ResourceType = "resourceType",
6
+ Ordinal = "ordinal"
7
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum UsageInterval {
2
+ OneMinute = "1m",
3
+ FifteenMinutes = "15m",
4
+ ThirtyMinutes = "30m",
5
+ OneHour = "1h",
6
+ OneDay = "1d"
7
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum UsageOrderBy {
2
+ Time = "time",
3
+ Value = "value"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum UsageOrderDirection {
2
+ Asc = "asc",
3
+ Desc = "desc"
4
+ }
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';