@appwrite.io/console 13.2.0 → 15.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 +1 -1
- package/dist/cjs/sdk.js +2286 -876
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +2286 -877
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +2286 -876
- package/package.json +1 -1
- package/types/client.d.ts +15 -3
- package/types/enums/project-key-scopes.d.ts +1 -0
- package/types/enums/project-policy-id.d.ts +2 -1
- package/types/enums/project-service-id.d.ts +2 -1
- package/types/enums/query-suggestion-resource.d.ts +1 -0
- package/types/index.d.ts +1 -0
- package/types/models.d.ts +387 -283
- package/types/services/apps.d.ts +80 -8
- package/types/services/compute.d.ts +29 -126
- package/types/services/databases.d.ts +24 -24
- package/types/services/documents-db.d.ts +4 -1
- package/types/services/oauth-2.d.ts +261 -0
- package/types/services/organizations.d.ts +8 -8
- package/types/services/project.d.ts +47 -10
- package/types/services/tables-db.d.ts +28 -25
- package/types/services/usage.d.ts +98 -20
- package/types/services/vectors-db.d.ts +4 -1
package/types/models.d.ts
CHANGED
|
@@ -564,7 +564,7 @@ export declare namespace Models {
|
|
|
564
564
|
/**
|
|
565
565
|
* List of policies.
|
|
566
566
|
*/
|
|
567
|
-
policies: (Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail)[];
|
|
567
|
+
policies: (Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail)[];
|
|
568
568
|
};
|
|
569
569
|
/**
|
|
570
570
|
* Email Templates List
|
|
@@ -1490,7 +1490,7 @@ export declare namespace Models {
|
|
|
1490
1490
|
/**
|
|
1491
1491
|
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1492
1492
|
*/
|
|
1493
|
-
default?:
|
|
1493
|
+
default?: number[];
|
|
1494
1494
|
};
|
|
1495
1495
|
/**
|
|
1496
1496
|
* AttributeLine
|
|
@@ -1531,7 +1531,7 @@ export declare namespace Models {
|
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1533
1533
|
*/
|
|
1534
|
-
default?:
|
|
1534
|
+
default?: number[][];
|
|
1535
1535
|
};
|
|
1536
1536
|
/**
|
|
1537
1537
|
* AttributePolygon
|
|
@@ -1572,7 +1572,7 @@ export declare namespace Models {
|
|
|
1572
1572
|
/**
|
|
1573
1573
|
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1574
1574
|
*/
|
|
1575
|
-
default?:
|
|
1575
|
+
default?: number[][][];
|
|
1576
1576
|
};
|
|
1577
1577
|
/**
|
|
1578
1578
|
* AttributeVarchar
|
|
@@ -2680,7 +2680,7 @@ export declare namespace Models {
|
|
|
2680
2680
|
/**
|
|
2681
2681
|
* Default value for column when not provided. Cannot be set when column is required.
|
|
2682
2682
|
*/
|
|
2683
|
-
default?:
|
|
2683
|
+
default?: number[];
|
|
2684
2684
|
};
|
|
2685
2685
|
/**
|
|
2686
2686
|
* ColumnLine
|
|
@@ -2721,7 +2721,7 @@ export declare namespace Models {
|
|
|
2721
2721
|
/**
|
|
2722
2722
|
* Default value for column when not provided. Cannot be set when column is required.
|
|
2723
2723
|
*/
|
|
2724
|
-
default?:
|
|
2724
|
+
default?: number[][];
|
|
2725
2725
|
};
|
|
2726
2726
|
/**
|
|
2727
2727
|
* ColumnPolygon
|
|
@@ -2762,7 +2762,7 @@ export declare namespace Models {
|
|
|
2762
2762
|
/**
|
|
2763
2763
|
* Default value for column when not provided. Cannot be set when column is required.
|
|
2764
2764
|
*/
|
|
2765
|
-
default?:
|
|
2765
|
+
default?: number[][][];
|
|
2766
2766
|
};
|
|
2767
2767
|
/**
|
|
2768
2768
|
* ColumnVarchar
|
|
@@ -3306,6 +3306,26 @@ export declare namespace Models {
|
|
|
3306
3306
|
* Email verification status.
|
|
3307
3307
|
*/
|
|
3308
3308
|
emailVerification: boolean;
|
|
3309
|
+
/**
|
|
3310
|
+
* Canonical form of the user email address.
|
|
3311
|
+
*/
|
|
3312
|
+
emailCanonical?: string;
|
|
3313
|
+
/**
|
|
3314
|
+
* Whether the user email is from a free email provider.
|
|
3315
|
+
*/
|
|
3316
|
+
emailIsFree?: boolean;
|
|
3317
|
+
/**
|
|
3318
|
+
* Whether the user email is from a disposable email provider.
|
|
3319
|
+
*/
|
|
3320
|
+
emailIsDisposable?: boolean;
|
|
3321
|
+
/**
|
|
3322
|
+
* Whether the user email is from a corporate domain.
|
|
3323
|
+
*/
|
|
3324
|
+
emailIsCorporate?: boolean;
|
|
3325
|
+
/**
|
|
3326
|
+
* Whether the user email is in its canonical form.
|
|
3327
|
+
*/
|
|
3328
|
+
emailIsCanonical?: boolean;
|
|
3309
3329
|
/**
|
|
3310
3330
|
* Phone verification status.
|
|
3311
3331
|
*/
|
|
@@ -3936,6 +3956,10 @@ export declare namespace Models {
|
|
|
3936
3956
|
* Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.
|
|
3937
3957
|
*/
|
|
3938
3958
|
mfa: boolean;
|
|
3959
|
+
/**
|
|
3960
|
+
* Most recent access date in ISO 8601 format. Show this attribute by toggling membership privacy in the Console.
|
|
3961
|
+
*/
|
|
3962
|
+
userAccessedAt: string;
|
|
3939
3963
|
/**
|
|
3940
3964
|
* User list of roles
|
|
3941
3965
|
*/
|
|
@@ -5106,6 +5130,10 @@ export declare namespace Models {
|
|
|
5106
5130
|
* OAuth2 server allowed scopes
|
|
5107
5131
|
*/
|
|
5108
5132
|
oAuth2ServerScopes: string[];
|
|
5133
|
+
/**
|
|
5134
|
+
* OAuth2 server accepted RFC 9396 authorization_details types
|
|
5135
|
+
*/
|
|
5136
|
+
oAuth2ServerAuthorizationDetailsTypes: string[];
|
|
5109
5137
|
/**
|
|
5110
5138
|
* OAuth2 server access token duration in seconds for confidential clients
|
|
5111
5139
|
*/
|
|
@@ -5126,6 +5154,22 @@ export declare namespace Models {
|
|
|
5126
5154
|
* When enabled, PKCE is required for confidential clients (server-side flows using client_secret). PKCE is always required for public clients regardless of this setting.
|
|
5127
5155
|
*/
|
|
5128
5156
|
oAuth2ServerConfidentialPkce: boolean;
|
|
5157
|
+
/**
|
|
5158
|
+
* URL to your application page where users enter the device flow user code. Empty when the Device Authorization Grant is not configured.
|
|
5159
|
+
*/
|
|
5160
|
+
oAuth2ServerVerificationUrl: string;
|
|
5161
|
+
/**
|
|
5162
|
+
* Number of characters in the device flow user code, excluding the formatting separator.
|
|
5163
|
+
*/
|
|
5164
|
+
oAuth2ServerUserCodeLength: number;
|
|
5165
|
+
/**
|
|
5166
|
+
* Character set for device flow user codes: `numeric`, `alphabetic`, or `alphanumeric`.
|
|
5167
|
+
*/
|
|
5168
|
+
oAuth2ServerUserCodeFormat: string;
|
|
5169
|
+
/**
|
|
5170
|
+
* Lifetime in seconds of device flow device codes and user codes.
|
|
5171
|
+
*/
|
|
5172
|
+
oAuth2ServerDeviceCodeDuration: number;
|
|
5129
5173
|
/**
|
|
5130
5174
|
* OAuth2 server discovery URL
|
|
5131
5175
|
*/
|
|
@@ -6445,6 +6489,10 @@ export declare namespace Models {
|
|
|
6445
6489
|
* Whether user MFA status is visible in memberships.
|
|
6446
6490
|
*/
|
|
6447
6491
|
userMFA: boolean;
|
|
6492
|
+
/**
|
|
6493
|
+
* Whether user last access time is visible in memberships.
|
|
6494
|
+
*/
|
|
6495
|
+
userAccessedAt: boolean;
|
|
6448
6496
|
};
|
|
6449
6497
|
/**
|
|
6450
6498
|
* Platform Web
|
|
@@ -8988,54 +9036,6 @@ export declare namespace Models {
|
|
|
8988
9036
|
* Hostname.
|
|
8989
9037
|
*/
|
|
8990
9038
|
hostname: string;
|
|
8991
|
-
/**
|
|
8992
|
-
* Operating system code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/os.json).
|
|
8993
|
-
*/
|
|
8994
|
-
osCode: string;
|
|
8995
|
-
/**
|
|
8996
|
-
* Operating system name.
|
|
8997
|
-
*/
|
|
8998
|
-
osName: string;
|
|
8999
|
-
/**
|
|
9000
|
-
* Operating system version.
|
|
9001
|
-
*/
|
|
9002
|
-
osVersion: string;
|
|
9003
|
-
/**
|
|
9004
|
-
* Client type.
|
|
9005
|
-
*/
|
|
9006
|
-
clientType: string;
|
|
9007
|
-
/**
|
|
9008
|
-
* Client code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/clients.json).
|
|
9009
|
-
*/
|
|
9010
|
-
clientCode: string;
|
|
9011
|
-
/**
|
|
9012
|
-
* Client name.
|
|
9013
|
-
*/
|
|
9014
|
-
clientName: string;
|
|
9015
|
-
/**
|
|
9016
|
-
* Client version.
|
|
9017
|
-
*/
|
|
9018
|
-
clientVersion: string;
|
|
9019
|
-
/**
|
|
9020
|
-
* Client engine name.
|
|
9021
|
-
*/
|
|
9022
|
-
clientEngine: string;
|
|
9023
|
-
/**
|
|
9024
|
-
* Client engine name.
|
|
9025
|
-
*/
|
|
9026
|
-
clientEngineVersion: string;
|
|
9027
|
-
/**
|
|
9028
|
-
* Device name.
|
|
9029
|
-
*/
|
|
9030
|
-
deviceName: string;
|
|
9031
|
-
/**
|
|
9032
|
-
* Device brand name.
|
|
9033
|
-
*/
|
|
9034
|
-
deviceBrand: string;
|
|
9035
|
-
/**
|
|
9036
|
-
* Device model name.
|
|
9037
|
-
*/
|
|
9038
|
-
deviceModel: string;
|
|
9039
9039
|
/**
|
|
9040
9040
|
* Country two-character ISO 3166-1 alpha code.
|
|
9041
9041
|
*/
|
|
@@ -9744,6 +9744,10 @@ export declare namespace Models {
|
|
|
9744
9744
|
* Does plan support blocking free email addresses.
|
|
9745
9745
|
*/
|
|
9746
9746
|
supportsFreeEmailValidation: boolean;
|
|
9747
|
+
/**
|
|
9748
|
+
* Does plan support restricting sign-ups to corporate email addresses only.
|
|
9749
|
+
*/
|
|
9750
|
+
supportsCorporateEmailValidation: boolean;
|
|
9747
9751
|
/**
|
|
9748
9752
|
* Does plan support project-specific member roles.
|
|
9749
9753
|
*/
|
|
@@ -9939,6 +9943,38 @@ export declare namespace Models {
|
|
|
9939
9943
|
* Unix timestamp when the branch expires.
|
|
9940
9944
|
*/
|
|
9941
9945
|
expiresAt: number;
|
|
9946
|
+
/**
|
|
9947
|
+
* Branch hostname for direct connections.
|
|
9948
|
+
*/
|
|
9949
|
+
host: string;
|
|
9950
|
+
/**
|
|
9951
|
+
* Branch port.
|
|
9952
|
+
*/
|
|
9953
|
+
port: number;
|
|
9954
|
+
/**
|
|
9955
|
+
* Database name the client sends for routing to the branch.
|
|
9956
|
+
*/
|
|
9957
|
+
database: string;
|
|
9958
|
+
/**
|
|
9959
|
+
* Database username. Shared with the parent database.
|
|
9960
|
+
*/
|
|
9961
|
+
username: string;
|
|
9962
|
+
/**
|
|
9963
|
+
* Database password. Shared with the parent database.
|
|
9964
|
+
*/
|
|
9965
|
+
password: string;
|
|
9966
|
+
/**
|
|
9967
|
+
* Whether SSL is required.
|
|
9968
|
+
*/
|
|
9969
|
+
ssl: boolean;
|
|
9970
|
+
/**
|
|
9971
|
+
* Database engine. Possible values: postgres, mysql, mariadb, mongodb.
|
|
9972
|
+
*/
|
|
9973
|
+
engine: string;
|
|
9974
|
+
/**
|
|
9975
|
+
* Full connection string for the branch.
|
|
9976
|
+
*/
|
|
9977
|
+
connectionString: string;
|
|
9942
9978
|
};
|
|
9943
9979
|
/**
|
|
9944
9980
|
* BranchList
|
|
@@ -10092,6 +10128,18 @@ export declare namespace Models {
|
|
|
10092
10128
|
* Database name.
|
|
10093
10129
|
*/
|
|
10094
10130
|
database: string;
|
|
10131
|
+
/**
|
|
10132
|
+
* Database TCP hostname or address.
|
|
10133
|
+
*/
|
|
10134
|
+
tcpHost: string;
|
|
10135
|
+
/**
|
|
10136
|
+
* Database TCP port.
|
|
10137
|
+
*/
|
|
10138
|
+
tcpPort: number;
|
|
10139
|
+
/**
|
|
10140
|
+
* Database name for direct TCP connections.
|
|
10141
|
+
*/
|
|
10142
|
+
tcpDatabase: string;
|
|
10095
10143
|
/**
|
|
10096
10144
|
* Database engine. Possible values: postgres, mysql, mariadb, mongodb.
|
|
10097
10145
|
*/
|
|
@@ -10180,55 +10228,6 @@ export declare namespace Models {
|
|
|
10180
10228
|
*/
|
|
10181
10229
|
available: number;
|
|
10182
10230
|
};
|
|
10183
|
-
/**
|
|
10184
|
-
* DatabaseMetrics
|
|
10185
|
-
*/
|
|
10186
|
-
export type DedicatedDatabaseMetrics = {
|
|
10187
|
-
/**
|
|
10188
|
-
* Metrics aggregation period. Possible values: 1h (last hour), 24h (last 24 hours), 7d (last 7 days), 30d (last 30 days).
|
|
10189
|
-
*/
|
|
10190
|
-
period: string;
|
|
10191
|
-
/**
|
|
10192
|
-
* Average CPU usage percentage.
|
|
10193
|
-
*/
|
|
10194
|
-
cpuPercent: number;
|
|
10195
|
-
/**
|
|
10196
|
-
* Average memory usage percentage.
|
|
10197
|
-
*/
|
|
10198
|
-
memoryPercent: number;
|
|
10199
|
-
/**
|
|
10200
|
-
* Memory used in bytes.
|
|
10201
|
-
*/
|
|
10202
|
-
memoryUsedBytes: number;
|
|
10203
|
-
/**
|
|
10204
|
-
* Maximum memory available in bytes.
|
|
10205
|
-
*/
|
|
10206
|
-
memoryMaxBytes: number;
|
|
10207
|
-
/**
|
|
10208
|
-
* Storage used in bytes.
|
|
10209
|
-
*/
|
|
10210
|
-
storageUsedBytes: number;
|
|
10211
|
-
/**
|
|
10212
|
-
* Current active connections.
|
|
10213
|
-
*/
|
|
10214
|
-
connectionsActive: number;
|
|
10215
|
-
/**
|
|
10216
|
-
* Maximum connections configured.
|
|
10217
|
-
*/
|
|
10218
|
-
connectionsMax: number;
|
|
10219
|
-
/**
|
|
10220
|
-
* Average read IOPS.
|
|
10221
|
-
*/
|
|
10222
|
-
iopsRead: number;
|
|
10223
|
-
/**
|
|
10224
|
-
* Average write IOPS.
|
|
10225
|
-
*/
|
|
10226
|
-
iopsWrite: number;
|
|
10227
|
-
/**
|
|
10228
|
-
* Queries per second.
|
|
10229
|
-
*/
|
|
10230
|
-
qps: number;
|
|
10231
|
-
};
|
|
10232
10231
|
/**
|
|
10233
10232
|
* DedicatedDatabase
|
|
10234
10233
|
*/
|
|
@@ -10253,18 +10252,10 @@ export declare namespace Models {
|
|
|
10253
10252
|
* Database display name.
|
|
10254
10253
|
*/
|
|
10255
10254
|
name: string;
|
|
10256
|
-
/**
|
|
10257
|
-
* Database type: shared (serverless) or dedicated (always-on).
|
|
10258
|
-
*/
|
|
10259
|
-
type: string;
|
|
10260
10255
|
/**
|
|
10261
10256
|
* Product API that owns this database: compute, documentsdb, or vectorsdb.
|
|
10262
10257
|
*/
|
|
10263
10258
|
api: string;
|
|
10264
|
-
/**
|
|
10265
|
-
* Region identifier (e.g., fra, nyc, syd).
|
|
10266
|
-
*/
|
|
10267
|
-
region: string;
|
|
10268
10259
|
/**
|
|
10269
10260
|
* Database engine: postgres, mysql, mariadb, or mongodb.
|
|
10270
10261
|
*/
|
|
@@ -10306,7 +10297,7 @@ export declare namespace Models {
|
|
|
10306
10297
|
*/
|
|
10307
10298
|
status: string;
|
|
10308
10299
|
/**
|
|
10309
|
-
* Container status for
|
|
10300
|
+
* Container status for lifecycle-managed database runtimes: active or inactive.
|
|
10310
10301
|
*/
|
|
10311
10302
|
containerStatus: string;
|
|
10312
10303
|
/**
|
|
@@ -10334,7 +10325,7 @@ export declare namespace Models {
|
|
|
10334
10325
|
*/
|
|
10335
10326
|
storage: number;
|
|
10336
10327
|
/**
|
|
10337
|
-
* Storage class
|
|
10328
|
+
* Storage class. Currently always 'ssd'; DigitalOcean exposes a single block-storage class.
|
|
10338
10329
|
*/
|
|
10339
10330
|
storageClass: string;
|
|
10340
10331
|
/**
|
|
@@ -10346,13 +10337,9 @@ export declare namespace Models {
|
|
|
10346
10337
|
*/
|
|
10347
10338
|
nodePool: string;
|
|
10348
10339
|
/**
|
|
10349
|
-
*
|
|
10350
|
-
*/
|
|
10351
|
-
highAvailability: boolean;
|
|
10352
|
-
/**
|
|
10353
|
-
* Number of high availability replicas.
|
|
10340
|
+
* Number of high availability replicas. High availability is enabled when greater than 0.
|
|
10354
10341
|
*/
|
|
10355
|
-
|
|
10342
|
+
replicas: number;
|
|
10356
10343
|
/**
|
|
10357
10344
|
* Replication sync mode: async, sync, or quorum.
|
|
10358
10345
|
*/
|
|
@@ -10418,7 +10405,7 @@ export declare namespace Models {
|
|
|
10418
10405
|
*/
|
|
10419
10406
|
sqlApiEnabled: boolean;
|
|
10420
10407
|
/**
|
|
10421
|
-
* Statement types accepted by the SQL API. Allowed values: SELECT, INSERT, UPDATE, DELETE.
|
|
10408
|
+
* Statement types accepted by the SQL API. Defaults to read/write DML only; DDL/DCL types (CREATE, ALTER, DROP, TRUNCATE, GRANT, REVOKE) are opt-in per database. Allowed values: SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, DROP, TRUNCATE, GRANT, REVOKE.
|
|
10422
10409
|
*/
|
|
10423
10410
|
sqlApiAllowedStatements: string[];
|
|
10424
10411
|
/**
|
|
@@ -11374,77 +11361,6 @@ export declare namespace Models {
|
|
|
11374
11361
|
*/
|
|
11375
11362
|
failed: boolean;
|
|
11376
11363
|
};
|
|
11377
|
-
/**
|
|
11378
|
-
* PerformanceInsights
|
|
11379
|
-
*/
|
|
11380
|
-
export type DedicatedDatabasePerformanceInsights = {
|
|
11381
|
-
/**
|
|
11382
|
-
* Top queries by total execution time.
|
|
11383
|
-
*/
|
|
11384
|
-
topQueries: DedicatedDatabasePerformanceInsightsQuery[];
|
|
11385
|
-
/**
|
|
11386
|
-
* Active wait events.
|
|
11387
|
-
*/
|
|
11388
|
-
waitEvents: DedicatedDatabasePerformanceInsightsWaitEvent[];
|
|
11389
|
-
/**
|
|
11390
|
-
* Total number of query calls.
|
|
11391
|
-
*/
|
|
11392
|
-
totalCalls: number;
|
|
11393
|
-
/**
|
|
11394
|
-
* Total query execution time in milliseconds.
|
|
11395
|
-
*/
|
|
11396
|
-
totalTimeMs: number;
|
|
11397
|
-
/**
|
|
11398
|
-
* Average query execution time in milliseconds.
|
|
11399
|
-
*/
|
|
11400
|
-
avgTimeMs: number;
|
|
11401
|
-
};
|
|
11402
|
-
/**
|
|
11403
|
-
* PerformanceInsightsQuery
|
|
11404
|
-
*/
|
|
11405
|
-
export type DedicatedDatabasePerformanceInsightsQuery = {
|
|
11406
|
-
/**
|
|
11407
|
-
* The SQL query text.
|
|
11408
|
-
*/
|
|
11409
|
-
query: string;
|
|
11410
|
-
/**
|
|
11411
|
-
* Number of times this query has been executed.
|
|
11412
|
-
*/
|
|
11413
|
-
calls: number;
|
|
11414
|
-
/**
|
|
11415
|
-
* Total execution time in milliseconds.
|
|
11416
|
-
*/
|
|
11417
|
-
totalTimeMs: number;
|
|
11418
|
-
/**
|
|
11419
|
-
* Mean execution time in milliseconds.
|
|
11420
|
-
*/
|
|
11421
|
-
meanTimeMs: number;
|
|
11422
|
-
/**
|
|
11423
|
-
* Total rows returned or affected.
|
|
11424
|
-
*/
|
|
11425
|
-
rows: number;
|
|
11426
|
-
};
|
|
11427
|
-
/**
|
|
11428
|
-
* PerformanceInsightsWaitEvent
|
|
11429
|
-
*/
|
|
11430
|
-
export type DedicatedDatabasePerformanceInsightsWaitEvent = {
|
|
11431
|
-
/**
|
|
11432
|
-
* Wait event name.
|
|
11433
|
-
*/
|
|
11434
|
-
event: string;
|
|
11435
|
-
/**
|
|
11436
|
-
* Wait event type or category.
|
|
11437
|
-
*/
|
|
11438
|
-
type: string;
|
|
11439
|
-
/**
|
|
11440
|
-
* Number of occurrences.
|
|
11441
|
-
*/
|
|
11442
|
-
count: number;
|
|
11443
|
-
/**
|
|
11444
|
-
* Total wait time in milliseconds.
|
|
11445
|
-
*/
|
|
11446
|
-
totalWaitMs: number;
|
|
11447
|
-
};
|
|
11448
11364
|
/**
|
|
11449
11365
|
* PITRWindows
|
|
11450
11366
|
*/
|
|
@@ -11622,6 +11538,10 @@ export declare namespace Models {
|
|
|
11622
11538
|
* Policy backup schedule in CRON format.
|
|
11623
11539
|
*/
|
|
11624
11540
|
schedule: string;
|
|
11541
|
+
/**
|
|
11542
|
+
* Backup type. Possible values: full (complete database snapshot), incremental (changes since last backup).
|
|
11543
|
+
*/
|
|
11544
|
+
type: string;
|
|
11625
11545
|
/**
|
|
11626
11546
|
* Is this policy enabled.
|
|
11627
11547
|
*/
|
|
@@ -11666,6 +11586,19 @@ export declare namespace Models {
|
|
|
11666
11586
|
*/
|
|
11667
11587
|
enabled: boolean;
|
|
11668
11588
|
};
|
|
11589
|
+
/**
|
|
11590
|
+
* Policy Deny Corporate Email
|
|
11591
|
+
*/
|
|
11592
|
+
export type PolicyDenyCorporateEmail = {
|
|
11593
|
+
/**
|
|
11594
|
+
* Policy ID.
|
|
11595
|
+
*/
|
|
11596
|
+
$id: string;
|
|
11597
|
+
/**
|
|
11598
|
+
* Whether the deny non-corporate email policy is enabled.
|
|
11599
|
+
*/
|
|
11600
|
+
enabled: boolean;
|
|
11601
|
+
};
|
|
11669
11602
|
/**
|
|
11670
11603
|
* PoolerConfig
|
|
11671
11604
|
*/
|
|
@@ -11890,36 +11823,6 @@ export declare namespace Models {
|
|
|
11890
11823
|
*/
|
|
11891
11824
|
roles: string[];
|
|
11892
11825
|
};
|
|
11893
|
-
/**
|
|
11894
|
-
* Schema
|
|
11895
|
-
*/
|
|
11896
|
-
export type DedicatedDatabaseSchema = {
|
|
11897
|
-
/**
|
|
11898
|
-
* List of tables with columns, types, and constraints.
|
|
11899
|
-
*/
|
|
11900
|
-
tables: Record<string, any>[];
|
|
11901
|
-
/**
|
|
11902
|
-
* List of indexes across all tables.
|
|
11903
|
-
*/
|
|
11904
|
-
indexes: Record<string, any>[];
|
|
11905
|
-
};
|
|
11906
|
-
/**
|
|
11907
|
-
* SchemaPreview
|
|
11908
|
-
*/
|
|
11909
|
-
export type DedicatedDatabaseSchemaPreview = {
|
|
11910
|
-
/**
|
|
11911
|
-
* Whether the engine supports transactional DDL for safe preview.
|
|
11912
|
-
*/
|
|
11913
|
-
supportsTransactionalDDL: boolean;
|
|
11914
|
-
/**
|
|
11915
|
-
* Schema change preview output.
|
|
11916
|
-
*/
|
|
11917
|
-
preview: string;
|
|
11918
|
-
/**
|
|
11919
|
-
* List of tables in the database after the change.
|
|
11920
|
-
*/
|
|
11921
|
-
tables: string[];
|
|
11922
|
-
};
|
|
11923
11826
|
/**
|
|
11924
11827
|
* SlowQuery
|
|
11925
11828
|
*/
|
|
@@ -12137,74 +12040,103 @@ export declare namespace Models {
|
|
|
12137
12040
|
credits: AdditionalResource;
|
|
12138
12041
|
};
|
|
12139
12042
|
/**
|
|
12140
|
-
*
|
|
12043
|
+
* usageGroup
|
|
12141
12044
|
*/
|
|
12142
|
-
export type
|
|
12045
|
+
export type UsageGroup = {
|
|
12143
12046
|
/**
|
|
12144
|
-
*
|
|
12047
|
+
* Group start timestamp (ISO 8601).
|
|
12145
12048
|
*/
|
|
12146
|
-
|
|
12049
|
+
time: string;
|
|
12147
12050
|
/**
|
|
12148
|
-
*
|
|
12051
|
+
* Aggregated value for the group.
|
|
12149
12052
|
*/
|
|
12150
12053
|
value: number;
|
|
12151
12054
|
/**
|
|
12152
|
-
*
|
|
12055
|
+
* API endpoint path when broken down by `path`.
|
|
12153
12056
|
*/
|
|
12154
|
-
|
|
12057
|
+
path?: string;
|
|
12155
12058
|
/**
|
|
12156
|
-
*
|
|
12059
|
+
* HTTP method when broken down by `method`.
|
|
12157
12060
|
*/
|
|
12158
|
-
|
|
12061
|
+
method?: string;
|
|
12159
12062
|
/**
|
|
12160
|
-
*
|
|
12063
|
+
* HTTP status code when broken down by `status`.
|
|
12161
12064
|
*/
|
|
12162
|
-
|
|
12065
|
+
status?: string;
|
|
12163
12066
|
/**
|
|
12164
|
-
*
|
|
12067
|
+
* API service segment when broken down by `service`.
|
|
12165
12068
|
*/
|
|
12166
|
-
|
|
12069
|
+
service?: string;
|
|
12167
12070
|
/**
|
|
12168
|
-
*
|
|
12071
|
+
* Country code when broken down by `country`.
|
|
12169
12072
|
*/
|
|
12170
|
-
|
|
12073
|
+
country?: string;
|
|
12171
12074
|
/**
|
|
12172
|
-
*
|
|
12075
|
+
* Appwrite region when broken down by `region`.
|
|
12173
12076
|
*/
|
|
12174
|
-
|
|
12077
|
+
region?: string;
|
|
12175
12078
|
/**
|
|
12176
|
-
*
|
|
12079
|
+
* Caller origin hostname when broken down by `hostname`.
|
|
12177
12080
|
*/
|
|
12178
|
-
|
|
12081
|
+
hostname?: string;
|
|
12179
12082
|
/**
|
|
12180
|
-
*
|
|
12083
|
+
* Operating system name when broken down by `osName`.
|
|
12181
12084
|
*/
|
|
12182
|
-
|
|
12085
|
+
osName?: string;
|
|
12086
|
+
/**
|
|
12087
|
+
* Client type when broken down by `clientType`.
|
|
12088
|
+
*/
|
|
12089
|
+
clientType?: string;
|
|
12090
|
+
/**
|
|
12091
|
+
* Client name when broken down by `clientName`.
|
|
12092
|
+
*/
|
|
12093
|
+
clientName?: string;
|
|
12094
|
+
/**
|
|
12095
|
+
* Device classification when broken down by `deviceName`.
|
|
12096
|
+
*/
|
|
12097
|
+
deviceName?: string;
|
|
12098
|
+
/**
|
|
12099
|
+
* Owning team ID when broken down by `teamId`.
|
|
12100
|
+
*/
|
|
12101
|
+
teamId?: string;
|
|
12102
|
+
/**
|
|
12103
|
+
* External resource ID when broken down by `resourceId`.
|
|
12104
|
+
*/
|
|
12105
|
+
resourceId?: string;
|
|
12183
12106
|
};
|
|
12184
12107
|
/**
|
|
12185
|
-
*
|
|
12108
|
+
* usageEventList
|
|
12186
12109
|
*/
|
|
12187
|
-
export type
|
|
12110
|
+
export type UsageEventList = {
|
|
12188
12111
|
/**
|
|
12189
|
-
*
|
|
12112
|
+
* Metric key the groups describe.
|
|
12190
12113
|
*/
|
|
12191
12114
|
metric: string;
|
|
12192
12115
|
/**
|
|
12193
|
-
*
|
|
12116
|
+
* Time interval size (1h or 1d).
|
|
12194
12117
|
*/
|
|
12195
|
-
|
|
12118
|
+
interval: string;
|
|
12196
12119
|
/**
|
|
12197
|
-
*
|
|
12120
|
+
* Aggregated groups ordered by time ascending.
|
|
12198
12121
|
*/
|
|
12199
|
-
|
|
12122
|
+
groups: UsageGroup[];
|
|
12123
|
+
};
|
|
12124
|
+
/**
|
|
12125
|
+
* usageGaugeList
|
|
12126
|
+
*/
|
|
12127
|
+
export type UsageGaugeList = {
|
|
12200
12128
|
/**
|
|
12201
|
-
*
|
|
12129
|
+
* Metric key the groups describe.
|
|
12202
12130
|
*/
|
|
12203
|
-
|
|
12131
|
+
metric: string;
|
|
12204
12132
|
/**
|
|
12205
|
-
*
|
|
12133
|
+
* Time interval size (1h or 1d).
|
|
12206
12134
|
*/
|
|
12207
|
-
|
|
12135
|
+
interval: string;
|
|
12136
|
+
/**
|
|
12137
|
+
* Aggregated groups ordered by time ascending. Each group carries the latest snapshot in its interval (argMax over time).
|
|
12138
|
+
*/
|
|
12139
|
+
groups: UsageGroup[];
|
|
12208
12140
|
};
|
|
12209
12141
|
/**
|
|
12210
12142
|
* Organization
|
|
@@ -12477,14 +12409,58 @@ export declare namespace Models {
|
|
|
12477
12409
|
* Application name.
|
|
12478
12410
|
*/
|
|
12479
12411
|
name: string;
|
|
12412
|
+
/**
|
|
12413
|
+
* Application description shown to users during OAuth2 consent.
|
|
12414
|
+
*/
|
|
12415
|
+
description: string;
|
|
12416
|
+
/**
|
|
12417
|
+
* Application homepage URL shown to users during OAuth2 consent.
|
|
12418
|
+
*/
|
|
12419
|
+
clientUri: string;
|
|
12420
|
+
/**
|
|
12421
|
+
* Application logo URL shown to users during OAuth2 consent.
|
|
12422
|
+
*/
|
|
12423
|
+
logoUri: string;
|
|
12424
|
+
/**
|
|
12425
|
+
* Application privacy policy URL shown to users during OAuth2 consent.
|
|
12426
|
+
*/
|
|
12427
|
+
privacyPolicyUrl: string;
|
|
12428
|
+
/**
|
|
12429
|
+
* Application terms of service URL shown to users during OAuth2 consent.
|
|
12430
|
+
*/
|
|
12431
|
+
termsUrl: string;
|
|
12432
|
+
/**
|
|
12433
|
+
* Application support or security contact emails.
|
|
12434
|
+
*/
|
|
12435
|
+
contacts: string[];
|
|
12436
|
+
/**
|
|
12437
|
+
* Application tagline shown to users during OAuth2 consent.
|
|
12438
|
+
*/
|
|
12439
|
+
tagline: string;
|
|
12440
|
+
/**
|
|
12441
|
+
* Application tags shown to users during OAuth2 consent.
|
|
12442
|
+
*/
|
|
12443
|
+
tags: string[];
|
|
12444
|
+
/**
|
|
12445
|
+
* Application image URLs shown to users during OAuth2 consent.
|
|
12446
|
+
*/
|
|
12447
|
+
images: string[];
|
|
12448
|
+
/**
|
|
12449
|
+
* Application support URL shown to users during OAuth2 consent.
|
|
12450
|
+
*/
|
|
12451
|
+
supportUrl: string;
|
|
12452
|
+
/**
|
|
12453
|
+
* Application data deletion URL shown to users during OAuth2 consent.
|
|
12454
|
+
*/
|
|
12455
|
+
dataDeletionUrl: string;
|
|
12480
12456
|
/**
|
|
12481
12457
|
* List of authorized redirect URIs. These URIs can be used to redirect users after they authenticate.
|
|
12482
12458
|
*/
|
|
12483
12459
|
redirectUris: string[];
|
|
12484
12460
|
/**
|
|
12485
|
-
*
|
|
12461
|
+
* List of authorized post-logout redirect URIs for OpenID Connect RP-Initiated Logout. The logout endpoint only redirects users to URIs in this list after ending their session.
|
|
12486
12462
|
*/
|
|
12487
|
-
|
|
12463
|
+
postLogoutRedirectUris: string[];
|
|
12488
12464
|
/**
|
|
12489
12465
|
* Whether the app is enabled or not.
|
|
12490
12466
|
*/
|
|
@@ -12493,6 +12469,10 @@ export declare namespace Models {
|
|
|
12493
12469
|
* OAuth2 client type. `public` for SPAs, mobile, and native apps that cannot keep a client secret (PKCE required); `confidential` for server-side clients that authenticate with a client secret.
|
|
12494
12470
|
*/
|
|
12495
12471
|
type: string;
|
|
12472
|
+
/**
|
|
12473
|
+
* Whether this client may use the OAuth2 Device Authorization Grant (RFC 8628).
|
|
12474
|
+
*/
|
|
12475
|
+
deviceFlow: boolean;
|
|
12496
12476
|
/**
|
|
12497
12477
|
* ID of team that owns the application, if owned by team. Otherwise, user ID will be used.
|
|
12498
12478
|
*/
|
|
@@ -12527,9 +12507,13 @@ export declare namespace Models {
|
|
|
12527
12507
|
*/
|
|
12528
12508
|
appId: string;
|
|
12529
12509
|
/**
|
|
12530
|
-
*
|
|
12510
|
+
* Hashed application client secret.
|
|
12531
12511
|
*/
|
|
12532
12512
|
secret: string;
|
|
12513
|
+
/**
|
|
12514
|
+
* Last few characters of the client secret, used to help identify it.
|
|
12515
|
+
*/
|
|
12516
|
+
hint: string;
|
|
12533
12517
|
/**
|
|
12534
12518
|
* ID of the user who created the secret.
|
|
12535
12519
|
*/
|
|
@@ -12567,6 +12551,10 @@ export declare namespace Models {
|
|
|
12567
12551
|
* Application client secret. Returned in full only when the secret is created; subsequent reads return a masked value.
|
|
12568
12552
|
*/
|
|
12569
12553
|
secret: string;
|
|
12554
|
+
/**
|
|
12555
|
+
* Last few characters of the client secret, used to help identify it.
|
|
12556
|
+
*/
|
|
12557
|
+
hint: string;
|
|
12570
12558
|
/**
|
|
12571
12559
|
* ID of the user who created the secret.
|
|
12572
12560
|
*/
|
|
@@ -12580,6 +12568,148 @@ export declare namespace Models {
|
|
|
12580
12568
|
*/
|
|
12581
12569
|
lastAccessedAt?: string;
|
|
12582
12570
|
};
|
|
12571
|
+
/**
|
|
12572
|
+
* OAuth2 Authorize
|
|
12573
|
+
*/
|
|
12574
|
+
export type Oauth2Authorize = {
|
|
12575
|
+
/**
|
|
12576
|
+
* OAuth2 grant ID. Set when the user must give explicit consent; pass it to the approve or reject endpoint. Empty when a redirect URL is returned instead.
|
|
12577
|
+
*/
|
|
12578
|
+
grantId: string;
|
|
12579
|
+
/**
|
|
12580
|
+
* URL the end user should be redirected to when the flow can complete without consent. Empty when consent is still required.
|
|
12581
|
+
*/
|
|
12582
|
+
redirectUrl: string;
|
|
12583
|
+
};
|
|
12584
|
+
/**
|
|
12585
|
+
* OAuth2 Approve
|
|
12586
|
+
*/
|
|
12587
|
+
export type Oauth2Approve = {
|
|
12588
|
+
/**
|
|
12589
|
+
* URL the end user should be redirected to after the grant is approved, carrying the authorization `code` and/or `id_token` along with the original `state`.
|
|
12590
|
+
*/
|
|
12591
|
+
redirectUrl: string;
|
|
12592
|
+
};
|
|
12593
|
+
/**
|
|
12594
|
+
* OAuth2 Reject
|
|
12595
|
+
*/
|
|
12596
|
+
export type Oauth2Reject = {
|
|
12597
|
+
/**
|
|
12598
|
+
* URL the end user should be redirected to after the grant is rejected, carrying an `access_denied` error.
|
|
12599
|
+
*/
|
|
12600
|
+
redirectUrl: string;
|
|
12601
|
+
};
|
|
12602
|
+
/**
|
|
12603
|
+
* OAuth2 Grant
|
|
12604
|
+
*/
|
|
12605
|
+
export type Oauth2Grant = {
|
|
12606
|
+
/**
|
|
12607
|
+
* Grant ID.
|
|
12608
|
+
*/
|
|
12609
|
+
$id: string;
|
|
12610
|
+
/**
|
|
12611
|
+
* Grant creation time in ISO 8601 format.
|
|
12612
|
+
*/
|
|
12613
|
+
$createdAt: string;
|
|
12614
|
+
/**
|
|
12615
|
+
* Grant update date in ISO 8601 format.
|
|
12616
|
+
*/
|
|
12617
|
+
$updatedAt: string;
|
|
12618
|
+
/**
|
|
12619
|
+
* ID of the user the grant belongs to.
|
|
12620
|
+
*/
|
|
12621
|
+
userId: string;
|
|
12622
|
+
/**
|
|
12623
|
+
* ID of the OAuth2 client (app) the grant was requested for.
|
|
12624
|
+
*/
|
|
12625
|
+
appId: string;
|
|
12626
|
+
/**
|
|
12627
|
+
* Requested OAuth2 scopes the user is being asked to consent to.
|
|
12628
|
+
*/
|
|
12629
|
+
scopes: string[];
|
|
12630
|
+
/**
|
|
12631
|
+
* Requested authorization_details the user is being asked to consent to, as a JSON string. Each entry has a `type` plus project-defined fields.
|
|
12632
|
+
*/
|
|
12633
|
+
authorizationDetails: string;
|
|
12634
|
+
/**
|
|
12635
|
+
* OIDC prompt directive the consent screen should honor. Space-separated list of: login, consent, select_account.
|
|
12636
|
+
*/
|
|
12637
|
+
prompt: string;
|
|
12638
|
+
/**
|
|
12639
|
+
* Redirect URI the user will be sent to after the flow completes.
|
|
12640
|
+
*/
|
|
12641
|
+
redirectUri: string;
|
|
12642
|
+
/**
|
|
12643
|
+
* Unix timestamp of when the user last authenticated.
|
|
12644
|
+
*/
|
|
12645
|
+
authTime: number;
|
|
12646
|
+
/**
|
|
12647
|
+
* Grant expiration time in ISO 8601 format.
|
|
12648
|
+
*/
|
|
12649
|
+
expire: string;
|
|
12650
|
+
};
|
|
12651
|
+
/**
|
|
12652
|
+
* OAuth2 Device Authorization
|
|
12653
|
+
*/
|
|
12654
|
+
export type Oauth2DeviceAuthorization = {
|
|
12655
|
+
/**
|
|
12656
|
+
* Device verification code used by the client to poll the token endpoint.
|
|
12657
|
+
*/
|
|
12658
|
+
device_code: string;
|
|
12659
|
+
/**
|
|
12660
|
+
* Short code the end user enters on the verification page.
|
|
12661
|
+
*/
|
|
12662
|
+
user_code: string;
|
|
12663
|
+
/**
|
|
12664
|
+
* URL where the end user enters the user code.
|
|
12665
|
+
*/
|
|
12666
|
+
verification_uri: string;
|
|
12667
|
+
/**
|
|
12668
|
+
* Verification URL with the user code prefilled as a query parameter.
|
|
12669
|
+
*/
|
|
12670
|
+
verification_uri_complete: string;
|
|
12671
|
+
/**
|
|
12672
|
+
* Lifetime of the device code and user code in seconds.
|
|
12673
|
+
*/
|
|
12674
|
+
expires_in: number;
|
|
12675
|
+
/**
|
|
12676
|
+
* Minimum polling interval for the token endpoint in seconds.
|
|
12677
|
+
*/
|
|
12678
|
+
interval: number;
|
|
12679
|
+
};
|
|
12680
|
+
/**
|
|
12681
|
+
* OAuth2 Token
|
|
12682
|
+
*/
|
|
12683
|
+
export type Oauth2Token = {
|
|
12684
|
+
/**
|
|
12685
|
+
* OAuth2 access token.
|
|
12686
|
+
*/
|
|
12687
|
+
access_token: string;
|
|
12688
|
+
/**
|
|
12689
|
+
* OAuth2 token type.
|
|
12690
|
+
*/
|
|
12691
|
+
token_type: string;
|
|
12692
|
+
/**
|
|
12693
|
+
* Access token lifetime in seconds.
|
|
12694
|
+
*/
|
|
12695
|
+
expires_in: number;
|
|
12696
|
+
/**
|
|
12697
|
+
* OAuth2 refresh token.
|
|
12698
|
+
*/
|
|
12699
|
+
refresh_token: string;
|
|
12700
|
+
/**
|
|
12701
|
+
* Space-separated scopes granted to the access token.
|
|
12702
|
+
*/
|
|
12703
|
+
scope: string;
|
|
12704
|
+
/**
|
|
12705
|
+
* Granted RFC 9396 authorization details as a JSON string.
|
|
12706
|
+
*/
|
|
12707
|
+
authorization_details?: string;
|
|
12708
|
+
/**
|
|
12709
|
+
* OpenID Connect ID token. Returned when the `openid` scope is granted.
|
|
12710
|
+
*/
|
|
12711
|
+
id_token?: string;
|
|
12712
|
+
};
|
|
12583
12713
|
/**
|
|
12584
12714
|
* Activity event list
|
|
12585
12715
|
*/
|
|
@@ -12827,32 +12957,6 @@ export declare namespace Models {
|
|
|
12827
12957
|
*/
|
|
12828
12958
|
regions: ConsoleRegion[];
|
|
12829
12959
|
};
|
|
12830
|
-
/**
|
|
12831
|
-
* Usage events list
|
|
12832
|
-
*/
|
|
12833
|
-
export type UsageEventList = {
|
|
12834
|
-
/**
|
|
12835
|
-
* Total number of events that matched your query.
|
|
12836
|
-
*/
|
|
12837
|
-
total: number;
|
|
12838
|
-
/**
|
|
12839
|
-
* List of events.
|
|
12840
|
-
*/
|
|
12841
|
-
events: UsageEvent[];
|
|
12842
|
-
};
|
|
12843
|
-
/**
|
|
12844
|
-
* Usage gauges list
|
|
12845
|
-
*/
|
|
12846
|
-
export type UsageGaugeList = {
|
|
12847
|
-
/**
|
|
12848
|
-
* Total number of gauges that matched your query.
|
|
12849
|
-
*/
|
|
12850
|
-
total: number;
|
|
12851
|
-
/**
|
|
12852
|
-
* List of gauges.
|
|
12853
|
-
*/
|
|
12854
|
-
gauges: UsageGauge[];
|
|
12855
|
-
};
|
|
12856
12960
|
/**
|
|
12857
12961
|
* Apps list
|
|
12858
12962
|
*/
|