@appwrite.io/console 16.1.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 +3 -3
- package/dist/cjs/sdk.js +597 -346
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +598 -347
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +597 -346
- package/package.json +1 -1
- package/types/client.d.ts +0 -11
- package/types/enums/billing-plan-group.d.ts +2 -1
- package/types/enums/cache-database.d.ts +1 -2
- package/types/enums/framework.d.ts +1 -0
- package/types/enums/id-token-provider.d.ts +4 -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 +1 -0
- package/types/enums/project-policy-id.d.ts +1 -0
- package/types/enums/query-suggestion-resource.d.ts +1 -3
- package/types/index.d.ts +2 -2
- package/types/models.d.ts +214 -566
- package/types/services/account.d.ts +110 -22
- package/types/services/console.d.ts +2 -2
- package/types/services/manager.d.ts +14 -14
- package/types/services/messaging.d.ts +80 -6
- package/types/services/organization.d.ts +165 -0
- package/types/services/organizations.d.ts +19 -19
- package/types/services/project.d.ts +53 -42
- package/types/services/projects.d.ts +0 -94
- package/types/services/storage.d.ts +4 -4
- package/types/services/teams.d.ts +0 -25
- package/types/services/users.d.ts +2 -27
- package/types/enums/project-usage-range.d.ts +0 -4
package/types/models.d.ts
CHANGED
|
@@ -182,19 +182,6 @@ export declare namespace Models {
|
|
|
182
182
|
*/
|
|
183
183
|
notifications: Notification[];
|
|
184
184
|
};
|
|
185
|
-
/**
|
|
186
|
-
* Logs List
|
|
187
|
-
*/
|
|
188
|
-
export type LogList = {
|
|
189
|
-
/**
|
|
190
|
-
* Total number of logs that matched your query.
|
|
191
|
-
*/
|
|
192
|
-
total: number;
|
|
193
|
-
/**
|
|
194
|
-
* List of logs.
|
|
195
|
-
*/
|
|
196
|
-
logs: Log[];
|
|
197
|
-
};
|
|
198
185
|
/**
|
|
199
186
|
* Files List
|
|
200
187
|
*/
|
|
@@ -501,19 +488,6 @@ export declare namespace Models {
|
|
|
501
488
|
*/
|
|
502
489
|
keys: Key[];
|
|
503
490
|
};
|
|
504
|
-
/**
|
|
505
|
-
* Dev Keys List
|
|
506
|
-
*/
|
|
507
|
-
export type DevKeyList = {
|
|
508
|
-
/**
|
|
509
|
-
* Total number of devKeys that matched your query.
|
|
510
|
-
*/
|
|
511
|
-
total: number;
|
|
512
|
-
/**
|
|
513
|
-
* List of devKeys.
|
|
514
|
-
*/
|
|
515
|
-
devKeys: DevKey[];
|
|
516
|
-
};
|
|
517
491
|
/**
|
|
518
492
|
* Countries List
|
|
519
493
|
*/
|
|
@@ -616,7 +590,7 @@ export declare namespace Models {
|
|
|
616
590
|
/**
|
|
617
591
|
* List of policies.
|
|
618
592
|
*/
|
|
619
|
-
policies: (Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail)[];
|
|
593
|
+
policies: (Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail)[];
|
|
620
594
|
};
|
|
621
595
|
/**
|
|
622
596
|
* Email Templates List
|
|
@@ -3074,99 +3048,6 @@ export declare namespace Models {
|
|
|
3074
3048
|
*/
|
|
3075
3049
|
metadata?: object;
|
|
3076
3050
|
};
|
|
3077
|
-
/**
|
|
3078
|
-
* Log
|
|
3079
|
-
*/
|
|
3080
|
-
export type Log = {
|
|
3081
|
-
/**
|
|
3082
|
-
* Event name.
|
|
3083
|
-
*/
|
|
3084
|
-
event: string;
|
|
3085
|
-
/**
|
|
3086
|
-
* User ID of the actor recorded for this log. During impersonation, this is the original impersonator, not the impersonated target user.
|
|
3087
|
-
*/
|
|
3088
|
-
userId: string;
|
|
3089
|
-
/**
|
|
3090
|
-
* User email of the actor recorded for this log. During impersonation, this is the original impersonator.
|
|
3091
|
-
*/
|
|
3092
|
-
userEmail: string;
|
|
3093
|
-
/**
|
|
3094
|
-
* User name of the actor recorded for this log. During impersonation, this is the original impersonator.
|
|
3095
|
-
*/
|
|
3096
|
-
userName: string;
|
|
3097
|
-
/**
|
|
3098
|
-
* API mode when event triggered.
|
|
3099
|
-
*/
|
|
3100
|
-
mode: string;
|
|
3101
|
-
/**
|
|
3102
|
-
* User type who triggered the audit log. Possible values: user, admin, guest, hidden, keyProject, keyAccount, keyOrganization.
|
|
3103
|
-
*/
|
|
3104
|
-
userType: string;
|
|
3105
|
-
/**
|
|
3106
|
-
* IP session in use when the session was created.
|
|
3107
|
-
*/
|
|
3108
|
-
ip: string;
|
|
3109
|
-
/**
|
|
3110
|
-
* Log creation date in ISO 8601 format.
|
|
3111
|
-
*/
|
|
3112
|
-
time: string;
|
|
3113
|
-
/**
|
|
3114
|
-
* Operating system code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/os.json).
|
|
3115
|
-
*/
|
|
3116
|
-
osCode: string;
|
|
3117
|
-
/**
|
|
3118
|
-
* Operating system name.
|
|
3119
|
-
*/
|
|
3120
|
-
osName: string;
|
|
3121
|
-
/**
|
|
3122
|
-
* Operating system version.
|
|
3123
|
-
*/
|
|
3124
|
-
osVersion: string;
|
|
3125
|
-
/**
|
|
3126
|
-
* Client type.
|
|
3127
|
-
*/
|
|
3128
|
-
clientType: string;
|
|
3129
|
-
/**
|
|
3130
|
-
* Client code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/clients.json).
|
|
3131
|
-
*/
|
|
3132
|
-
clientCode: string;
|
|
3133
|
-
/**
|
|
3134
|
-
* Client name.
|
|
3135
|
-
*/
|
|
3136
|
-
clientName: string;
|
|
3137
|
-
/**
|
|
3138
|
-
* Client version.
|
|
3139
|
-
*/
|
|
3140
|
-
clientVersion: string;
|
|
3141
|
-
/**
|
|
3142
|
-
* Client engine name.
|
|
3143
|
-
*/
|
|
3144
|
-
clientEngine: string;
|
|
3145
|
-
/**
|
|
3146
|
-
* Client engine name.
|
|
3147
|
-
*/
|
|
3148
|
-
clientEngineVersion: string;
|
|
3149
|
-
/**
|
|
3150
|
-
* Device name.
|
|
3151
|
-
*/
|
|
3152
|
-
deviceName: string;
|
|
3153
|
-
/**
|
|
3154
|
-
* Device brand name.
|
|
3155
|
-
*/
|
|
3156
|
-
deviceBrand: string;
|
|
3157
|
-
/**
|
|
3158
|
-
* Device model name.
|
|
3159
|
-
*/
|
|
3160
|
-
deviceModel: string;
|
|
3161
|
-
/**
|
|
3162
|
-
* Country two-character ISO 3166-1 alpha code.
|
|
3163
|
-
*/
|
|
3164
|
-
countryCode: string;
|
|
3165
|
-
/**
|
|
3166
|
-
* Country name.
|
|
3167
|
-
*/
|
|
3168
|
-
countryName: string;
|
|
3169
|
-
};
|
|
3170
3051
|
/**
|
|
3171
3052
|
* User
|
|
3172
3053
|
*/
|
|
@@ -3247,6 +3128,10 @@ export declare namespace Models {
|
|
|
3247
3128
|
* Whether the user email is in its canonical form.
|
|
3248
3129
|
*/
|
|
3249
3130
|
emailIsCanonical?: boolean;
|
|
3131
|
+
/**
|
|
3132
|
+
* Whether the password was found in a known data breach the last time it was checked. Null when the password has never been checked.
|
|
3133
|
+
*/
|
|
3134
|
+
passwordPwned?: boolean;
|
|
3250
3135
|
/**
|
|
3251
3136
|
* Phone verification status.
|
|
3252
3137
|
*/
|
|
@@ -3552,6 +3437,10 @@ export declare namespace Models {
|
|
|
3552
3437
|
* Identity Provider Refresh Token.
|
|
3553
3438
|
*/
|
|
3554
3439
|
providerRefreshToken: string;
|
|
3440
|
+
/**
|
|
3441
|
+
* Identity Provider ID token (JWT) from the most recent native sign-in. Empty for identities created through the browser OAuth2 flow.
|
|
3442
|
+
*/
|
|
3443
|
+
providerIdToken: string;
|
|
3555
3444
|
};
|
|
3556
3445
|
/**
|
|
3557
3446
|
* Notification
|
|
@@ -5048,7 +4937,7 @@ export declare namespace Models {
|
|
|
5048
4937
|
*/
|
|
5049
4938
|
errors: string;
|
|
5050
4939
|
/**
|
|
5051
|
-
*
|
|
4940
|
+
* Total time the resource(function/site) took to respond, in seconds.
|
|
5052
4941
|
*/
|
|
5053
4942
|
duration: number;
|
|
5054
4943
|
/**
|
|
@@ -5084,10 +4973,6 @@ export declare namespace Models {
|
|
|
5084
4973
|
* Project region
|
|
5085
4974
|
*/
|
|
5086
4975
|
region: string;
|
|
5087
|
-
/**
|
|
5088
|
-
* Deprecated since 1.9.5: List of dev keys.
|
|
5089
|
-
*/
|
|
5090
|
-
devKeys: DevKey[];
|
|
5091
4976
|
/**
|
|
5092
4977
|
* Status for custom SMTP
|
|
5093
4978
|
*/
|
|
@@ -5176,6 +5061,14 @@ export declare namespace Models {
|
|
|
5176
5061
|
* Billing limits reached
|
|
5177
5062
|
*/
|
|
5178
5063
|
billingLimits?: BillingLimits;
|
|
5064
|
+
/**
|
|
5065
|
+
* First time the project received a non-console API request. Empty until the project is used.
|
|
5066
|
+
*/
|
|
5067
|
+
firstAccessedAt?: string;
|
|
5068
|
+
/**
|
|
5069
|
+
* Last time the project was accessed through the MCP server. Empty if it was never accessed via MCP.
|
|
5070
|
+
*/
|
|
5071
|
+
mcpAccessedAt?: string;
|
|
5179
5072
|
/**
|
|
5180
5073
|
* OAuth2 server status
|
|
5181
5074
|
*/
|
|
@@ -5423,43 +5316,6 @@ export declare namespace Models {
|
|
|
5423
5316
|
*/
|
|
5424
5317
|
sdks: string[];
|
|
5425
5318
|
};
|
|
5426
|
-
/**
|
|
5427
|
-
* DevKey
|
|
5428
|
-
*/
|
|
5429
|
-
export type DevKey = {
|
|
5430
|
-
/**
|
|
5431
|
-
* Key ID.
|
|
5432
|
-
*/
|
|
5433
|
-
$id: string;
|
|
5434
|
-
/**
|
|
5435
|
-
* Key creation date in ISO 8601 format.
|
|
5436
|
-
*/
|
|
5437
|
-
$createdAt: string;
|
|
5438
|
-
/**
|
|
5439
|
-
* Key update date in ISO 8601 format.
|
|
5440
|
-
*/
|
|
5441
|
-
$updatedAt: string;
|
|
5442
|
-
/**
|
|
5443
|
-
* Key name.
|
|
5444
|
-
*/
|
|
5445
|
-
name: string;
|
|
5446
|
-
/**
|
|
5447
|
-
* Key expiration date in ISO 8601 format.
|
|
5448
|
-
*/
|
|
5449
|
-
expire: string;
|
|
5450
|
-
/**
|
|
5451
|
-
* Secret key.
|
|
5452
|
-
*/
|
|
5453
|
-
secret: string;
|
|
5454
|
-
/**
|
|
5455
|
-
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
5456
|
-
*/
|
|
5457
|
-
accessedAt: string;
|
|
5458
|
-
/**
|
|
5459
|
-
* List of SDK user agents that used this key.
|
|
5460
|
-
*/
|
|
5461
|
-
sdks: string[];
|
|
5462
|
-
};
|
|
5463
5319
|
/**
|
|
5464
5320
|
* Mock Number
|
|
5465
5321
|
*/
|
|
@@ -5694,6 +5550,14 @@ export declare namespace Models {
|
|
|
5694
5550
|
* Google OAuth2 prompt values.
|
|
5695
5551
|
*/
|
|
5696
5552
|
prompt: OAuth2GooglePrompt[];
|
|
5553
|
+
/**
|
|
5554
|
+
* Native Google sign-in is active and can be used to create sessions from an ID token. Independent of enabled, which only controls the browser-based flow.
|
|
5555
|
+
*/
|
|
5556
|
+
nativeEnabled: boolean;
|
|
5557
|
+
/**
|
|
5558
|
+
* Additional OAuth2 client IDs accepted as ID token audiences for native sign-in, next to the client ID.
|
|
5559
|
+
*/
|
|
5560
|
+
nativeClientIds: string[];
|
|
5697
5561
|
};
|
|
5698
5562
|
/**
|
|
5699
5563
|
* OAuth2Zoom
|
|
@@ -6430,6 +6294,14 @@ export declare namespace Models {
|
|
|
6430
6294
|
* Apple OAuth2 .p8 private key file contents. The secret key wrapped by the PEM markers is 200 characters long.
|
|
6431
6295
|
*/
|
|
6432
6296
|
p8File: string;
|
|
6297
|
+
/**
|
|
6298
|
+
* Native Sign in with Apple is active and can be used to create sessions from an ID token. Independent of enabled, which only controls the browser-based flow.
|
|
6299
|
+
*/
|
|
6300
|
+
nativeEnabled: boolean;
|
|
6301
|
+
/**
|
|
6302
|
+
* App bundle IDs accepted as ID token audiences for native Sign in with Apple, next to the Services ID.
|
|
6303
|
+
*/
|
|
6304
|
+
nativeClientIds: string[];
|
|
6433
6305
|
};
|
|
6434
6306
|
/**
|
|
6435
6307
|
* OAuth2Microsoft
|
|
@@ -6600,6 +6472,27 @@ export declare namespace Models {
|
|
|
6600
6472
|
*/
|
|
6601
6473
|
enabled: boolean;
|
|
6602
6474
|
};
|
|
6475
|
+
/**
|
|
6476
|
+
* Policy Password Pwned
|
|
6477
|
+
*/
|
|
6478
|
+
export type PolicyPasswordPwned = {
|
|
6479
|
+
/**
|
|
6480
|
+
* Policy ID.
|
|
6481
|
+
*/
|
|
6482
|
+
$id: string;
|
|
6483
|
+
/**
|
|
6484
|
+
* Whether password pwned policy is enabled.
|
|
6485
|
+
*/
|
|
6486
|
+
enabled: boolean;
|
|
6487
|
+
/**
|
|
6488
|
+
* Whether passwords are checked when a session is created.
|
|
6489
|
+
*/
|
|
6490
|
+
sessions: boolean;
|
|
6491
|
+
/**
|
|
6492
|
+
* Whether users signing in with a breached password are blocked until they reset it. Only applies when sessions are checked.
|
|
6493
|
+
*/
|
|
6494
|
+
users: boolean;
|
|
6495
|
+
};
|
|
6603
6496
|
/**
|
|
6604
6497
|
* Policy Session Alert
|
|
6605
6498
|
*/
|
|
@@ -6723,6 +6616,58 @@ export declare namespace Models {
|
|
|
6723
6616
|
*/
|
|
6724
6617
|
custom: boolean;
|
|
6725
6618
|
};
|
|
6619
|
+
/**
|
|
6620
|
+
* Policy Deny Aliased Email
|
|
6621
|
+
*/
|
|
6622
|
+
export type PolicyDenyAliasedEmail = {
|
|
6623
|
+
/**
|
|
6624
|
+
* Policy ID.
|
|
6625
|
+
*/
|
|
6626
|
+
$id: string;
|
|
6627
|
+
/**
|
|
6628
|
+
* Whether the deny aliased email policy is enabled.
|
|
6629
|
+
*/
|
|
6630
|
+
enabled: boolean;
|
|
6631
|
+
};
|
|
6632
|
+
/**
|
|
6633
|
+
* Policy Deny Disposable Email
|
|
6634
|
+
*/
|
|
6635
|
+
export type PolicyDenyDisposableEmail = {
|
|
6636
|
+
/**
|
|
6637
|
+
* Policy ID.
|
|
6638
|
+
*/
|
|
6639
|
+
$id: string;
|
|
6640
|
+
/**
|
|
6641
|
+
* Whether the deny disposable email policy is enabled.
|
|
6642
|
+
*/
|
|
6643
|
+
enabled: boolean;
|
|
6644
|
+
};
|
|
6645
|
+
/**
|
|
6646
|
+
* Policy Deny Free Email
|
|
6647
|
+
*/
|
|
6648
|
+
export type PolicyDenyFreeEmail = {
|
|
6649
|
+
/**
|
|
6650
|
+
* Policy ID.
|
|
6651
|
+
*/
|
|
6652
|
+
$id: string;
|
|
6653
|
+
/**
|
|
6654
|
+
* Whether the deny free email policy is enabled.
|
|
6655
|
+
*/
|
|
6656
|
+
enabled: boolean;
|
|
6657
|
+
};
|
|
6658
|
+
/**
|
|
6659
|
+
* Policy Deny Corporate Email
|
|
6660
|
+
*/
|
|
6661
|
+
export type PolicyDenyCorporateEmail = {
|
|
6662
|
+
/**
|
|
6663
|
+
* Policy ID.
|
|
6664
|
+
*/
|
|
6665
|
+
$id: string;
|
|
6666
|
+
/**
|
|
6667
|
+
* Whether the deny non-corporate email policy is enabled.
|
|
6668
|
+
*/
|
|
6669
|
+
enabled: boolean;
|
|
6670
|
+
};
|
|
6726
6671
|
/**
|
|
6727
6672
|
* Platform Web
|
|
6728
6673
|
*/
|
|
@@ -7024,27 +6969,6 @@ export declare namespace Models {
|
|
|
7024
6969
|
*/
|
|
7025
6970
|
date: string;
|
|
7026
6971
|
};
|
|
7027
|
-
/**
|
|
7028
|
-
* Metric Breakdown
|
|
7029
|
-
*/
|
|
7030
|
-
export type MetricBreakdown = {
|
|
7031
|
-
/**
|
|
7032
|
-
* Resource ID.
|
|
7033
|
-
*/
|
|
7034
|
-
resourceId?: string;
|
|
7035
|
-
/**
|
|
7036
|
-
* Resource name.
|
|
7037
|
-
*/
|
|
7038
|
-
name: string;
|
|
7039
|
-
/**
|
|
7040
|
-
* The value of this metric at the timestamp.
|
|
7041
|
-
*/
|
|
7042
|
-
value: number;
|
|
7043
|
-
/**
|
|
7044
|
-
* The estimated value of this metric at the end of the period.
|
|
7045
|
-
*/
|
|
7046
|
-
estimate?: number;
|
|
7047
|
-
};
|
|
7048
6972
|
/**
|
|
7049
6973
|
* UsageUsers
|
|
7050
6974
|
*/
|
|
@@ -7088,326 +7012,65 @@ export declare namespace Models {
|
|
|
7088
7012
|
presences: Metric[];
|
|
7089
7013
|
};
|
|
7090
7014
|
/**
|
|
7091
|
-
*
|
|
7015
|
+
* usageDataPoint
|
|
7092
7016
|
*/
|
|
7093
|
-
export type
|
|
7017
|
+
export type UsageDataPoint = {
|
|
7094
7018
|
/**
|
|
7095
|
-
*
|
|
7019
|
+
* Bucket start timestamp in ISO 8601. Omitted for flat dimension aggregates.
|
|
7096
7020
|
*/
|
|
7097
|
-
|
|
7021
|
+
time?: string;
|
|
7098
7022
|
/**
|
|
7099
|
-
*
|
|
7023
|
+
* Aggregated value for the point.
|
|
7100
7024
|
*/
|
|
7101
|
-
|
|
7025
|
+
value: number;
|
|
7102
7026
|
/**
|
|
7103
|
-
*
|
|
7027
|
+
* Value when broken down by `path`.
|
|
7104
7028
|
*/
|
|
7105
|
-
|
|
7029
|
+
path?: string;
|
|
7106
7030
|
/**
|
|
7107
|
-
*
|
|
7031
|
+
* Value when broken down by `method`.
|
|
7108
7032
|
*/
|
|
7109
|
-
|
|
7033
|
+
method?: string;
|
|
7110
7034
|
/**
|
|
7111
|
-
*
|
|
7035
|
+
* Value when broken down by `status`.
|
|
7112
7036
|
*/
|
|
7113
|
-
|
|
7037
|
+
status?: string;
|
|
7114
7038
|
/**
|
|
7115
|
-
*
|
|
7039
|
+
* Value when broken down by `service`.
|
|
7116
7040
|
*/
|
|
7117
|
-
|
|
7041
|
+
service?: string;
|
|
7118
7042
|
/**
|
|
7119
|
-
*
|
|
7043
|
+
* Value when broken down by `country`.
|
|
7120
7044
|
*/
|
|
7121
|
-
|
|
7045
|
+
country?: string;
|
|
7122
7046
|
/**
|
|
7123
|
-
*
|
|
7047
|
+
* Value when broken down by `region`.
|
|
7124
7048
|
*/
|
|
7125
|
-
|
|
7126
|
-
/**
|
|
7127
|
-
* Total aggregated number of users.
|
|
7128
|
-
*/
|
|
7129
|
-
usersTotal: number;
|
|
7130
|
-
/**
|
|
7131
|
-
* Total aggregated sum of files storage size (in bytes).
|
|
7132
|
-
*/
|
|
7133
|
-
filesStorageTotal: number;
|
|
7134
|
-
/**
|
|
7135
|
-
* Total aggregated sum of functions storage size (in bytes).
|
|
7136
|
-
*/
|
|
7137
|
-
functionsStorageTotal: number;
|
|
7138
|
-
/**
|
|
7139
|
-
* Total aggregated sum of builds storage size (in bytes).
|
|
7140
|
-
*/
|
|
7141
|
-
buildsStorageTotal: number;
|
|
7142
|
-
/**
|
|
7143
|
-
* Total aggregated sum of deployments storage size (in bytes).
|
|
7144
|
-
*/
|
|
7145
|
-
deploymentsStorageTotal: number;
|
|
7146
|
-
/**
|
|
7147
|
-
* Total aggregated number of buckets.
|
|
7148
|
-
*/
|
|
7149
|
-
bucketsTotal: number;
|
|
7150
|
-
/**
|
|
7151
|
-
* Total aggregated number of function executions mbSeconds.
|
|
7152
|
-
*/
|
|
7153
|
-
executionsMbSecondsTotal: number;
|
|
7154
|
-
/**
|
|
7155
|
-
* Total aggregated number of function builds mbSeconds.
|
|
7156
|
-
*/
|
|
7157
|
-
buildsMbSecondsTotal: number;
|
|
7158
|
-
/**
|
|
7159
|
-
* Aggregated stats for total databases reads.
|
|
7160
|
-
*/
|
|
7161
|
-
databasesReadsTotal: number;
|
|
7162
|
-
/**
|
|
7163
|
-
* Aggregated stats for total databases writes.
|
|
7164
|
-
*/
|
|
7165
|
-
databasesWritesTotal: number;
|
|
7166
|
-
/**
|
|
7167
|
-
* Total number of documentsdb databases reads.
|
|
7168
|
-
*/
|
|
7169
|
-
documentsdbDatabasesReadsTotal: number;
|
|
7170
|
-
/**
|
|
7171
|
-
* Total number of documentsdb databases writes.
|
|
7172
|
-
*/
|
|
7173
|
-
documentsdbDatabasesWritesTotal: number;
|
|
7174
|
-
/**
|
|
7175
|
-
* Aggregated number of requests per period.
|
|
7176
|
-
*/
|
|
7177
|
-
requests: Metric[];
|
|
7178
|
-
/**
|
|
7179
|
-
* Aggregated number of consumed bandwidth per period.
|
|
7180
|
-
*/
|
|
7181
|
-
network: Metric[];
|
|
7182
|
-
/**
|
|
7183
|
-
* Aggregated number of users per period.
|
|
7184
|
-
*/
|
|
7185
|
-
users: Metric[];
|
|
7186
|
-
/**
|
|
7187
|
-
* Aggregated number of executions per period.
|
|
7188
|
-
*/
|
|
7189
|
-
executions: Metric[];
|
|
7190
|
-
/**
|
|
7191
|
-
* Aggregated stats for total auth phone.
|
|
7192
|
-
*/
|
|
7193
|
-
authPhoneTotal: number;
|
|
7194
|
-
/**
|
|
7195
|
-
* Aggregated stats for total auth phone estimation.
|
|
7196
|
-
*/
|
|
7197
|
-
authPhoneEstimate: number;
|
|
7198
|
-
/**
|
|
7199
|
-
* Aggregated breakdown in totals of phone auth by country.
|
|
7200
|
-
*/
|
|
7201
|
-
authPhoneCountryBreakdown: MetricBreakdown[];
|
|
7202
|
-
/**
|
|
7203
|
-
* Aggregated stats for database reads.
|
|
7204
|
-
*/
|
|
7205
|
-
databasesReads: Metric[];
|
|
7206
|
-
/**
|
|
7207
|
-
* Aggregated stats for database writes.
|
|
7208
|
-
*/
|
|
7209
|
-
databasesWrites: Metric[];
|
|
7210
|
-
/**
|
|
7211
|
-
* An array of aggregated number of documentsdb database reads.
|
|
7212
|
-
*/
|
|
7213
|
-
documentsdbDatabasesReads: Metric[];
|
|
7214
|
-
/**
|
|
7215
|
-
* An array of aggregated number of documentsdb database writes.
|
|
7216
|
-
*/
|
|
7217
|
-
documentsdbDatabasesWrites: Metric[];
|
|
7218
|
-
/**
|
|
7219
|
-
* An array of aggregated sum of documentsdb databases storage size (in bytes) per period.
|
|
7220
|
-
*/
|
|
7221
|
-
documentsdbDatabasesStorage: Metric[];
|
|
7222
|
-
/**
|
|
7223
|
-
* An array of aggregated number of image transformations.
|
|
7224
|
-
*/
|
|
7225
|
-
imageTransformations: Metric[];
|
|
7226
|
-
/**
|
|
7227
|
-
* Total aggregated number of image transformations.
|
|
7228
|
-
*/
|
|
7229
|
-
imageTransformationsTotal: number;
|
|
7230
|
-
/**
|
|
7231
|
-
* Total aggregated number of VectorsDB databases.
|
|
7232
|
-
*/
|
|
7233
|
-
vectorsdbDatabasesTotal: number;
|
|
7234
|
-
/**
|
|
7235
|
-
* Total aggregated number of VectorsDB collections.
|
|
7236
|
-
*/
|
|
7237
|
-
vectorsdbCollectionsTotal: number;
|
|
7238
|
-
/**
|
|
7239
|
-
* Total aggregated number of VectorsDB documents.
|
|
7240
|
-
*/
|
|
7241
|
-
vectorsdbDocumentsTotal: number;
|
|
7242
|
-
/**
|
|
7243
|
-
* Total aggregated VectorsDB storage (bytes).
|
|
7244
|
-
*/
|
|
7245
|
-
vectorsdbDatabasesStorageTotal: number;
|
|
7246
|
-
/**
|
|
7247
|
-
* Total aggregated number of VectorsDB reads.
|
|
7248
|
-
*/
|
|
7249
|
-
vectorsdbDatabasesReadsTotal: number;
|
|
7250
|
-
/**
|
|
7251
|
-
* Total aggregated number of VectorsDB writes.
|
|
7252
|
-
*/
|
|
7253
|
-
vectorsdbDatabasesWritesTotal: number;
|
|
7254
|
-
/**
|
|
7255
|
-
* Aggregated VectorsDB databases per period.
|
|
7256
|
-
*/
|
|
7257
|
-
vectorsdbDatabases: Metric[];
|
|
7258
|
-
/**
|
|
7259
|
-
* Aggregated VectorsDB collections per period.
|
|
7260
|
-
*/
|
|
7261
|
-
vectorsdbCollections: Metric[];
|
|
7262
|
-
/**
|
|
7263
|
-
* Aggregated VectorsDB documents per period.
|
|
7264
|
-
*/
|
|
7265
|
-
vectorsdbDocuments: Metric[];
|
|
7266
|
-
/**
|
|
7267
|
-
* Aggregated VectorsDB storage per period.
|
|
7268
|
-
*/
|
|
7269
|
-
vectorsdbDatabasesStorage: Metric[];
|
|
7270
|
-
/**
|
|
7271
|
-
* Aggregated VectorsDB reads per period.
|
|
7272
|
-
*/
|
|
7273
|
-
vectorsdbDatabasesReads: Metric[];
|
|
7274
|
-
/**
|
|
7275
|
-
* Aggregated VectorsDB writes per period.
|
|
7276
|
-
*/
|
|
7277
|
-
vectorsdbDatabasesWrites: Metric[];
|
|
7278
|
-
/**
|
|
7279
|
-
* Aggregated number of text embedding calls per period.
|
|
7280
|
-
*/
|
|
7281
|
-
embeddingsText: Metric[];
|
|
7282
|
-
/**
|
|
7283
|
-
* Aggregated number of tokens processed by text embeddings per period.
|
|
7284
|
-
*/
|
|
7285
|
-
embeddingsTextTokens: Metric[];
|
|
7286
|
-
/**
|
|
7287
|
-
* Aggregated duration spent generating text embeddings per period.
|
|
7288
|
-
*/
|
|
7289
|
-
embeddingsTextDuration: Metric[];
|
|
7290
|
-
/**
|
|
7291
|
-
* Aggregated number of errors while generating text embeddings per period.
|
|
7292
|
-
*/
|
|
7293
|
-
embeddingsTextErrors: Metric[];
|
|
7294
|
-
/**
|
|
7295
|
-
* Total aggregated number of text embedding calls.
|
|
7296
|
-
*/
|
|
7297
|
-
embeddingsTextTotal: number;
|
|
7298
|
-
/**
|
|
7299
|
-
* Total aggregated number of tokens processed by text.
|
|
7300
|
-
*/
|
|
7301
|
-
embeddingsTextTokensTotal: number;
|
|
7302
|
-
/**
|
|
7303
|
-
* Total aggregated duration spent generating text embeddings.
|
|
7304
|
-
*/
|
|
7305
|
-
embeddingsTextDurationTotal: number;
|
|
7306
|
-
/**
|
|
7307
|
-
* Total aggregated number of errors while generating text embeddings.
|
|
7308
|
-
*/
|
|
7309
|
-
embeddingsTextErrorsTotal: number;
|
|
7310
|
-
/**
|
|
7311
|
-
* Aggregated number of function executions per period.
|
|
7312
|
-
*/
|
|
7313
|
-
functionsExecutions: Metric[];
|
|
7314
|
-
/**
|
|
7315
|
-
* Total aggregated number of function executions.
|
|
7316
|
-
*/
|
|
7317
|
-
functionsExecutionsTotal: number;
|
|
7318
|
-
/**
|
|
7319
|
-
* Aggregated number of site executions per period.
|
|
7320
|
-
*/
|
|
7321
|
-
sitesExecutions: Metric[];
|
|
7322
|
-
/**
|
|
7323
|
-
* Total aggregated number of site executions.
|
|
7324
|
-
*/
|
|
7325
|
-
sitesExecutionsTotal: number;
|
|
7326
|
-
/**
|
|
7327
|
-
* Aggregated stats for total network bandwidth.
|
|
7328
|
-
*/
|
|
7329
|
-
networkTotal: number;
|
|
7330
|
-
/**
|
|
7331
|
-
* Aggregated stats for total backups storage.
|
|
7332
|
-
*/
|
|
7333
|
-
backupsStorageTotal: number;
|
|
7334
|
-
/**
|
|
7335
|
-
* An array of aggregated number of screenshots generated.
|
|
7336
|
-
*/
|
|
7337
|
-
screenshotsGenerated: Metric[];
|
|
7338
|
-
/**
|
|
7339
|
-
* Total aggregated number of screenshots generated.
|
|
7340
|
-
*/
|
|
7341
|
-
screenshotsGeneratedTotal: number;
|
|
7342
|
-
/**
|
|
7343
|
-
* Current aggregated number of open Realtime connections.
|
|
7344
|
-
*/
|
|
7345
|
-
realtimeConnectionsTotal: number;
|
|
7346
|
-
/**
|
|
7347
|
-
* Total number of Realtime messages sent to clients.
|
|
7348
|
-
*/
|
|
7349
|
-
realtimeMessagesTotal: number;
|
|
7350
|
-
/**
|
|
7351
|
-
* Total consumed Realtime bandwidth (in bytes).
|
|
7352
|
-
*/
|
|
7353
|
-
realtimeBandwidthTotal: number;
|
|
7354
|
-
/**
|
|
7355
|
-
* Aggregated number of open Realtime connections per period.
|
|
7356
|
-
*/
|
|
7357
|
-
realtimeConnections: Metric[];
|
|
7358
|
-
/**
|
|
7359
|
-
* Aggregated number of Realtime messages sent to clients per period.
|
|
7360
|
-
*/
|
|
7361
|
-
realtimeMessages: Metric[];
|
|
7362
|
-
/**
|
|
7363
|
-
* Aggregated consumed Realtime bandwidth (in bytes) per period.
|
|
7364
|
-
*/
|
|
7365
|
-
realtimeBandwidth: Metric[];
|
|
7366
|
-
};
|
|
7367
|
-
/**
|
|
7368
|
-
* usageDataPoint
|
|
7369
|
-
*/
|
|
7370
|
-
export type UsageDataPoint = {
|
|
7371
|
-
/**
|
|
7372
|
-
* Bucket start timestamp in ISO 8601. Omitted for flat dimension aggregates.
|
|
7373
|
-
*/
|
|
7374
|
-
time?: string;
|
|
7375
|
-
/**
|
|
7376
|
-
* Aggregated value for the point.
|
|
7377
|
-
*/
|
|
7378
|
-
value: number;
|
|
7379
|
-
/**
|
|
7380
|
-
* Value when broken down by `path`.
|
|
7381
|
-
*/
|
|
7382
|
-
path?: string;
|
|
7383
|
-
/**
|
|
7384
|
-
* Value when broken down by `method`.
|
|
7385
|
-
*/
|
|
7386
|
-
method?: string;
|
|
7049
|
+
region?: string;
|
|
7387
7050
|
/**
|
|
7388
|
-
* Value when broken down by `
|
|
7051
|
+
* Value when broken down by `hostname`.
|
|
7389
7052
|
*/
|
|
7390
|
-
|
|
7053
|
+
hostname?: string;
|
|
7391
7054
|
/**
|
|
7392
|
-
* Value when broken down by `
|
|
7055
|
+
* Value when broken down by `ip`.
|
|
7393
7056
|
*/
|
|
7394
|
-
|
|
7057
|
+
ip?: string;
|
|
7395
7058
|
/**
|
|
7396
|
-
* Value when broken down by `
|
|
7059
|
+
* Value when broken down by `protocol`.
|
|
7397
7060
|
*/
|
|
7398
|
-
|
|
7061
|
+
protocol?: string;
|
|
7399
7062
|
/**
|
|
7400
|
-
* Value when broken down by `
|
|
7063
|
+
* Value when broken down by `accept`.
|
|
7401
7064
|
*/
|
|
7402
|
-
|
|
7065
|
+
accept?: string;
|
|
7403
7066
|
/**
|
|
7404
|
-
* Value when broken down by `
|
|
7067
|
+
* Value when broken down by `acceptLanguage`.
|
|
7405
7068
|
*/
|
|
7406
|
-
|
|
7069
|
+
acceptLanguage?: string;
|
|
7407
7070
|
/**
|
|
7408
|
-
* Value when broken down by `
|
|
7071
|
+
* Value when broken down by `queryKeys`.
|
|
7409
7072
|
*/
|
|
7410
|
-
|
|
7073
|
+
queryKeys?: string;
|
|
7411
7074
|
/**
|
|
7412
7075
|
* Value when broken down by `osName`.
|
|
7413
7076
|
*/
|
|
@@ -8167,6 +7830,14 @@ export declare namespace Models {
|
|
|
8167
7830
|
* Subscribe permissions.
|
|
8168
7831
|
*/
|
|
8169
7832
|
subscribe: string[];
|
|
7833
|
+
/**
|
|
7834
|
+
* MQTT QoS for delivery on this topic. Null lets the subscriber choose their level.
|
|
7835
|
+
*/
|
|
7836
|
+
qos?: number;
|
|
7837
|
+
/**
|
|
7838
|
+
* Message retention in seconds for offline delivery.
|
|
7839
|
+
*/
|
|
7840
|
+
expiry?: number;
|
|
8170
7841
|
};
|
|
8171
7842
|
/**
|
|
8172
7843
|
* Transaction
|
|
@@ -9606,6 +9277,10 @@ export declare namespace Models {
|
|
|
9606
9277
|
* Does plan require billing address
|
|
9607
9278
|
*/
|
|
9608
9279
|
requiresBillingAddress: boolean;
|
|
9280
|
+
/**
|
|
9281
|
+
* ISO country codes eligible for this regional plan. Empty means no restriction.
|
|
9282
|
+
*/
|
|
9283
|
+
eligibleCountries?: string[];
|
|
9609
9284
|
/**
|
|
9610
9285
|
* Is the billing plan available
|
|
9611
9286
|
*/
|
|
@@ -9888,47 +9563,10 @@ export declare namespace Models {
|
|
|
9888
9563
|
* Block mode. full blocks reads and writes; readOnly blocks writes only.
|
|
9889
9564
|
*/
|
|
9890
9565
|
mode: string;
|
|
9891
|
-
/**
|
|
9892
|
-
* Reason for the block. Can be null if no reason was provided.
|
|
9893
|
-
*/
|
|
9894
|
-
reason?: string;
|
|
9895
9566
|
/**
|
|
9896
9567
|
* Block expiration date in ISO 8601 format. Can be null if the block does not expire.
|
|
9897
9568
|
*/
|
|
9898
9569
|
expiredAt?: string;
|
|
9899
|
-
/**
|
|
9900
|
-
* Name of the project this block applies to.
|
|
9901
|
-
*/
|
|
9902
|
-
projectName: string;
|
|
9903
|
-
/**
|
|
9904
|
-
* Region of the project this block applies to.
|
|
9905
|
-
*/
|
|
9906
|
-
region: string;
|
|
9907
|
-
/**
|
|
9908
|
-
* Name of the organization that owns the project.
|
|
9909
|
-
*/
|
|
9910
|
-
organizationName: string;
|
|
9911
|
-
/**
|
|
9912
|
-
* ID of the organization that owns the project.
|
|
9913
|
-
*/
|
|
9914
|
-
organizationId: string;
|
|
9915
|
-
/**
|
|
9916
|
-
* Billing plan of the organization that owns the project.
|
|
9917
|
-
*/
|
|
9918
|
-
billingPlan: string;
|
|
9919
|
-
};
|
|
9920
|
-
/**
|
|
9921
|
-
* BlockDelete
|
|
9922
|
-
*/
|
|
9923
|
-
export type BlockDelete = {
|
|
9924
|
-
/**
|
|
9925
|
-
* Number of blocks deleted
|
|
9926
|
-
*/
|
|
9927
|
-
deleted: number;
|
|
9928
|
-
/**
|
|
9929
|
-
* List of deleted blocks
|
|
9930
|
-
*/
|
|
9931
|
-
blocks: Block[];
|
|
9932
9570
|
};
|
|
9933
9571
|
/**
|
|
9934
9572
|
* Branch
|
|
@@ -11271,6 +10909,68 @@ export declare namespace Models {
|
|
|
11271
10909
|
*/
|
|
11272
10910
|
to: string;
|
|
11273
10911
|
};
|
|
10912
|
+
/**
|
|
10913
|
+
* ManagerBlock
|
|
10914
|
+
*/
|
|
10915
|
+
export type ManagerBlock = {
|
|
10916
|
+
/**
|
|
10917
|
+
* Block creation date in ISO 8601 format.
|
|
10918
|
+
*/
|
|
10919
|
+
$createdAt: string;
|
|
10920
|
+
/**
|
|
10921
|
+
* Resource type that is blocked
|
|
10922
|
+
*/
|
|
10923
|
+
resourceType: string;
|
|
10924
|
+
/**
|
|
10925
|
+
* Resource identifier that is blocked
|
|
10926
|
+
*/
|
|
10927
|
+
resourceId: string;
|
|
10928
|
+
/**
|
|
10929
|
+
* Block mode. full blocks reads and writes; readOnly blocks writes only.
|
|
10930
|
+
*/
|
|
10931
|
+
mode: string;
|
|
10932
|
+
/**
|
|
10933
|
+
* Block expiration date in ISO 8601 format. Can be null if the block does not expire.
|
|
10934
|
+
*/
|
|
10935
|
+
expiredAt?: string;
|
|
10936
|
+
/**
|
|
10937
|
+
* Reason for the block. Can be null if no reason was provided.
|
|
10938
|
+
*/
|
|
10939
|
+
reason?: string;
|
|
10940
|
+
/**
|
|
10941
|
+
* Name of the project this block applies to.
|
|
10942
|
+
*/
|
|
10943
|
+
projectName: string;
|
|
10944
|
+
/**
|
|
10945
|
+
* Region of the project this block applies to.
|
|
10946
|
+
*/
|
|
10947
|
+
region: string;
|
|
10948
|
+
/**
|
|
10949
|
+
* Name of the organization that owns the project.
|
|
10950
|
+
*/
|
|
10951
|
+
organizationName: string;
|
|
10952
|
+
/**
|
|
10953
|
+
* ID of the organization that owns the project.
|
|
10954
|
+
*/
|
|
10955
|
+
organizationId: string;
|
|
10956
|
+
/**
|
|
10957
|
+
* Billing plan of the organization that owns the project.
|
|
10958
|
+
*/
|
|
10959
|
+
billingPlan: string;
|
|
10960
|
+
};
|
|
10961
|
+
/**
|
|
10962
|
+
* ManagerBlockDelete
|
|
10963
|
+
*/
|
|
10964
|
+
export type ManagerBlockDelete = {
|
|
10965
|
+
/**
|
|
10966
|
+
* Number of blocks deleted
|
|
10967
|
+
*/
|
|
10968
|
+
deleted: number;
|
|
10969
|
+
/**
|
|
10970
|
+
* List of deleted blocks
|
|
10971
|
+
*/
|
|
10972
|
+
blocks: ManagerBlock[];
|
|
10973
|
+
};
|
|
11274
10974
|
/**
|
|
11275
10975
|
* Organization
|
|
11276
10976
|
*/
|
|
@@ -11724,58 +11424,6 @@ export declare namespace Models {
|
|
|
11724
11424
|
*/
|
|
11725
11425
|
enabled: boolean;
|
|
11726
11426
|
};
|
|
11727
|
-
/**
|
|
11728
|
-
* Policy Deny Aliased Email
|
|
11729
|
-
*/
|
|
11730
|
-
export type PolicyDenyAliasedEmail = {
|
|
11731
|
-
/**
|
|
11732
|
-
* Policy ID.
|
|
11733
|
-
*/
|
|
11734
|
-
$id: string;
|
|
11735
|
-
/**
|
|
11736
|
-
* Whether the deny aliased email policy is enabled.
|
|
11737
|
-
*/
|
|
11738
|
-
enabled: boolean;
|
|
11739
|
-
};
|
|
11740
|
-
/**
|
|
11741
|
-
* Policy Deny Disposable Email
|
|
11742
|
-
*/
|
|
11743
|
-
export type PolicyDenyDisposableEmail = {
|
|
11744
|
-
/**
|
|
11745
|
-
* Policy ID.
|
|
11746
|
-
*/
|
|
11747
|
-
$id: string;
|
|
11748
|
-
/**
|
|
11749
|
-
* Whether the deny disposable email policy is enabled.
|
|
11750
|
-
*/
|
|
11751
|
-
enabled: boolean;
|
|
11752
|
-
};
|
|
11753
|
-
/**
|
|
11754
|
-
* Policy Deny Free Email
|
|
11755
|
-
*/
|
|
11756
|
-
export type PolicyDenyFreeEmail = {
|
|
11757
|
-
/**
|
|
11758
|
-
* Policy ID.
|
|
11759
|
-
*/
|
|
11760
|
-
$id: string;
|
|
11761
|
-
/**
|
|
11762
|
-
* Whether the deny free email policy is enabled.
|
|
11763
|
-
*/
|
|
11764
|
-
enabled: boolean;
|
|
11765
|
-
};
|
|
11766
|
-
/**
|
|
11767
|
-
* Policy Deny Corporate Email
|
|
11768
|
-
*/
|
|
11769
|
-
export type PolicyDenyCorporateEmail = {
|
|
11770
|
-
/**
|
|
11771
|
-
* Policy ID.
|
|
11772
|
-
*/
|
|
11773
|
-
$id: string;
|
|
11774
|
-
/**
|
|
11775
|
-
* Whether the deny non-corporate email policy is enabled.
|
|
11776
|
-
*/
|
|
11777
|
-
enabled: boolean;
|
|
11778
|
-
};
|
|
11779
11427
|
/**
|
|
11780
11428
|
* PoolerConfig
|
|
11781
11429
|
*/
|
|
@@ -13603,9 +13251,9 @@ export declare namespace Models {
|
|
|
13603
13251
|
plans: BillingPlan[];
|
|
13604
13252
|
};
|
|
13605
13253
|
/**
|
|
13606
|
-
*
|
|
13254
|
+
* Manager blocks list
|
|
13607
13255
|
*/
|
|
13608
|
-
export type
|
|
13256
|
+
export type ManagerBlockList = {
|
|
13609
13257
|
/**
|
|
13610
13258
|
* Total number of blocks that matched your query.
|
|
13611
13259
|
*/
|
|
@@ -13613,7 +13261,7 @@ export declare namespace Models {
|
|
|
13613
13261
|
/**
|
|
13614
13262
|
* List of blocks.
|
|
13615
13263
|
*/
|
|
13616
|
-
blocks:
|
|
13264
|
+
blocks: ManagerBlock[];
|
|
13617
13265
|
};
|
|
13618
13266
|
/**
|
|
13619
13267
|
* Database Migrations List
|