@appwrite.io/console 18.3.0 → 18.4.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/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": "18.3.0",
5
+ "version": "18.4.0-rc.1",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/cjs/sdk.js",
8
8
  "exports": {
@@ -0,0 +1,24 @@
1
+ export declare enum AnalyticsDimension {
2
+ Country = "country",
3
+ Region = "region",
4
+ City = "city",
5
+ Browser = "browser",
6
+ OperatingSystem = "operatingSystem",
7
+ Device = "device",
8
+ ScreenSize = "screenSize",
9
+ ReferrerSource = "referrerSource",
10
+ Channel = "channel",
11
+ UtmSource = "utmSource",
12
+ UtmMedium = "utmMedium",
13
+ UtmCampaign = "utmCampaign",
14
+ UtmContent = "utmContent",
15
+ UtmTerm = "utmTerm",
16
+ Page = "page",
17
+ Hostname = "hostname",
18
+ EntryPage = "entryPage",
19
+ ExitPage = "exitPage",
20
+ TrafficType = "trafficType",
21
+ BotName = "botName",
22
+ BotCategory = "botCategory",
23
+ EventName = "eventName"
24
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum AnalyticsInterval {
2
+ OneHour = "1h",
3
+ OneDay = "1d",
4
+ OneWeek = "1w",
5
+ OneMonth = "1m"
6
+ }
@@ -0,0 +1,11 @@
1
+ export declare enum PlatformResourceType {
2
+ Projects = "projects",
3
+ Organizations = "organizations",
4
+ Users = "users",
5
+ Memberships = "memberships",
6
+ Rules = "rules",
7
+ Keys = "keys",
8
+ Platforms = "platforms",
9
+ Webhooks = "webhooks",
10
+ Certificates = "certificates"
11
+ }
@@ -5,5 +5,6 @@ export declare enum ProjectAuthMethodId {
5
5
  Anonymous = "anonymous",
6
6
  Invites = "invites",
7
7
  Jwt = "jwt",
8
- Phone = "phone"
8
+ Phone = "phone",
9
+ Passkey = "passkey"
9
10
  }
@@ -104,6 +104,8 @@ export declare enum ProjectKeyScopes {
104
104
  ReportsWrite = "reports.write",
105
105
  PresencesRead = "presences.read",
106
106
  PresencesWrite = "presences.write",
107
+ VideosRead = "videos.read",
108
+ VideosWrite = "videos.write",
107
109
  DedicatedDatabasesExecute = "dedicatedDatabases.execute",
108
110
  BackupsPoliciesRead = "backups.policies.read",
109
111
  BackupsPoliciesWrite = "backups.policies.write",
@@ -121,5 +123,7 @@ export declare enum ProjectKeyScopes {
121
123
  AppsWrite = "apps.write",
122
124
  Oauth2Read = "oauth2.read",
123
125
  Oauth2Write = "oauth2.write",
124
- Oauth2Introspect = "oauth2.introspect"
126
+ Oauth2Introspect = "oauth2.introspect",
127
+ AnalyticsRead = "analytics.read",
128
+ AnalyticsWrite = "analytics.write"
125
129
  }
@@ -14,5 +14,6 @@ export declare enum ProjectPolicyId {
14
14
  Denyaliasedemail = "deny-aliased-email",
15
15
  Denydisposableemail = "deny-disposable-email",
16
16
  Denyfreeemail = "deny-free-email",
17
- Denycorporateemail = "deny-corporate-email"
17
+ Denycorporateemail = "deny-corporate-email",
18
+ Passkey = "passkey"
18
19
  }
@@ -0,0 +1,13 @@
1
+ export declare enum ProjectResourceType {
2
+ Users = "users",
3
+ Teams = "teams",
4
+ Memberships = "memberships",
5
+ Databases = "databases",
6
+ Buckets = "buckets",
7
+ Functions = "functions",
8
+ Sites = "sites",
9
+ Deployments = "deployments",
10
+ Topics = "topics",
11
+ Providers = "providers",
12
+ Messages = "messages"
13
+ }
@@ -1,4 +1,5 @@
1
1
  export declare enum ProxyRuleDeploymentResourceType {
2
2
  Function = "function",
3
- Site = "site"
3
+ Site = "site",
4
+ DedicatedDatabase = "dedicatedDatabase"
4
5
  }
@@ -88,6 +88,14 @@ export declare enum QuerySuggestionResource {
88
88
  ResourceTokens = "resourcetokens",
89
89
  Transactions = "transactions",
90
90
  TransactionLogs = "transactionlogs",
91
+ Videos = "videos",
92
+ VideosPreviews = "videos_previews",
93
+ VideosRenditions = "videos_renditions",
94
+ VideosRenditionsSegments = "videos_renditions_segments",
95
+ VideosProfiles = "videos_profiles",
96
+ VideosSubtitles = "videos_subtitles",
97
+ VideosSubtitlesSegments = "videos_subtitles_segments",
98
+ AnalyticsProperties = "analyticsproperties",
91
99
  DedicatedDatabases = "dedicateddatabases",
92
100
  DedicatedDatabaseConfigs = "dedicateddatabaseconfigs",
93
101
  DedicatedDatabaseRuntimes = "dedicateddatabaseruntimes",
@@ -1,4 +1,7 @@
1
1
  export declare enum UsageEventMetric {
2
+ AnalyticsEvents = "analytics.events",
3
+ AnalyticsPageviews = "analytics.pageviews",
4
+ AnalyticsBotsEvents = "analytics.bots.events",
2
5
  NetworkRequests = "network.requests",
3
6
  NetworkInbound = "network.inbound",
4
7
  NetworkOutbound = "network.outbound",
@@ -1,4 +1,5 @@
1
1
  export declare enum UsageGaugeMetric {
2
+ AnalyticsProperties = "analytics.properties",
2
3
  Teams = "teams",
3
4
  Users = "users",
4
5
  Messages = "messages",
@@ -0,0 +1,5 @@
1
+ export declare enum VideoOutput {
2
+ Hls = "hls",
3
+ Dash = "dash",
4
+ Cmaf = "cmaf"
5
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum VideoRenditionStatus {
2
+ Pending = "pending",
3
+ Started = "started",
4
+ Ended = "ended",
5
+ Uploading = "uploading",
6
+ Ready = "ready",
7
+ Error = "error",
8
+ Aborted = "aborted"
9
+ }
package/types/index.d.ts CHANGED
@@ -10,7 +10,9 @@
10
10
  export { Client, Query, AppwriteException } from './client';
11
11
  export { Account } from './services/account';
12
12
  export { Activities } from './services/activities';
13
+ export { Admin } from './services/admin';
13
14
  export { Affiliates } from './services/affiliates';
15
+ export { Analytics } from './services/analytics';
14
16
  export { Apps } from './services/apps';
15
17
  export { Avatars } from './services/avatars';
16
18
  export { Backups } from './services/backups';
@@ -48,13 +50,16 @@ export { Usage } from './services/usage';
48
50
  export { Users } from './services/users';
49
51
  export { Vcs } from './services/vcs';
50
52
  export { VectorsDB } from './services/vectors-db';
53
+ export { Videos } from './services/videos';
51
54
  export { Waf } from './services/waf';
52
55
  export { Webhooks } from './services/webhooks';
53
56
  export { Realtime } from './services/realtime';
54
57
  export { Push } from './services/push';
58
+ export { AnalyticsTracking } from './services/analytics-tracking';
55
59
  export type { Models, Payload, RealtimeResponseEvent, UploadProgress, } from './client';
56
60
  export type { RealtimeSubscription } from './services/realtime';
57
61
  export type { PushMessage, PushSubscription, SubscribeOptions, MessageCallback, } from './services/push';
62
+ export type { AnalyticsEventEmitter, AnalyticsEventOptions, AnalyticsTrackingOptions, DownloadTrackingOptions, OutboundTrackingOptions, } from './services/analytics-tracking';
58
63
  export type { QueryTypes, QueryTypesList } from './query';
59
64
  export { Permission } from './permission';
60
65
  export { Role } from './role';
@@ -67,6 +72,10 @@ export { AuthenticatorType } from './enums/authenticator-type';
67
72
  export { AuthenticationFactor } from './enums/authentication-factor';
68
73
  export { IdTokenProvider } from './enums/id-token-provider';
69
74
  export { OAuthProvider } from './enums/o-auth-provider';
75
+ export { PlatformResourceType } from './enums/platform-resource-type';
76
+ export { ProjectResourceType } from './enums/project-resource-type';
77
+ export { AnalyticsInterval } from './enums/analytics-interval';
78
+ export { AnalyticsDimension } from './enums/analytics-dimension';
70
79
  export { Browser } from './enums/browser';
71
80
  export { CreditCard } from './enums/credit-card';
72
81
  export { Flag } from './enums/flag';
@@ -150,6 +159,8 @@ export { PasswordHash } from './enums/password-hash';
150
159
  export { MessagingProviderType } from './enums/messaging-provider-type';
151
160
  export { VCSDetectionType } from './enums/vcs-detection-type';
152
161
  export { VectorsDBIndexType } from './enums/vectors-db-index-type';
162
+ export { VideoOutput } from './enums/video-output';
163
+ export { VideoRenditionStatus } from './enums/video-rendition-status';
153
164
  export { DatabaseType } from './enums/database-type';
154
165
  export { DatabaseStatus } from './enums/database-status';
155
166
  export { AttributeStatus } from './enums/attribute-status';