@appwrite.io/console 16.1.0 → 18.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.
Files changed (55) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/sdk.js +1808 -412
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/sdk.js +1805 -413
  5. package/dist/esm/sdk.js.map +1 -1
  6. package/dist/iife/sdk.js +4339 -944
  7. package/package.json +5 -2
  8. package/types/client.d.ts +24 -11
  9. package/types/enums/billing-plan-group.d.ts +2 -1
  10. package/types/enums/build-runtime.d.ts +3 -0
  11. package/types/enums/cache-database.d.ts +1 -2
  12. package/types/enums/conversation-type.d.ts +9 -0
  13. package/types/enums/framework.d.ts +1 -0
  14. package/types/enums/id-token-provider.d.ts +4 -0
  15. package/types/enums/o-auth-2-auth-0-prompt.d.ts +5 -0
  16. package/types/enums/o-auth-2-discord-prompt.d.ts +4 -0
  17. package/types/enums/o-auth-2-github-prompt.d.ts +3 -0
  18. package/types/enums/o-auth-2-kakao-prompt.d.ts +6 -0
  19. package/types/enums/o-auth-2-microsoft-prompt.d.ts +6 -0
  20. package/types/enums/o-auth-2-okta-prompt.d.ts +5 -0
  21. package/types/enums/o-auth-2-salesforce-prompt.d.ts +4 -0
  22. package/types/enums/o-auth-2-zoho-prompt.d.ts +3 -0
  23. package/types/enums/organization-key-scopes.d.ts +2 -4
  24. package/types/enums/project-email-template-id.d.ts +3 -1
  25. package/types/enums/project-key-scopes.d.ts +1 -0
  26. package/types/enums/project-o-auth-2-auth-0-prompt.d.ts +5 -0
  27. package/types/enums/project-o-auth-2-discord-prompt.d.ts +4 -0
  28. package/types/enums/project-o-auth-2-git-hub-prompt.d.ts +3 -0
  29. package/types/enums/project-o-auth-2-kakao-prompt.d.ts +6 -0
  30. package/types/enums/project-o-auth-2-microsoft-prompt.d.ts +6 -0
  31. package/types/enums/project-o-auth-2-okta-prompt.d.ts +5 -0
  32. package/types/enums/project-o-auth-2-salesforce-prompt.d.ts +4 -0
  33. package/types/enums/project-o-auth-2-zoho-prompt.d.ts +3 -0
  34. package/types/enums/project-policy-id.d.ts +1 -0
  35. package/types/enums/query-suggestion-resource.d.ts +1 -3
  36. package/types/enums/runtime.d.ts +3 -0
  37. package/types/index.d.ts +23 -2
  38. package/types/models.d.ts +271 -562
  39. package/types/services/account.d.ts +167 -24
  40. package/types/services/console.d.ts +2 -2
  41. package/types/services/databases.d.ts +4 -4
  42. package/types/services/growth.d.ts +100 -0
  43. package/types/services/manager.d.ts +39 -14
  44. package/types/services/messaging.d.ts +94 -8
  45. package/types/services/organization.d.ts +165 -0
  46. package/types/services/organizations.d.ts +0 -19
  47. package/types/services/project.d.ts +93 -50
  48. package/types/services/projects.d.ts +0 -94
  49. package/types/services/push.d.ts +153 -0
  50. package/types/services/storage.d.ts +4 -4
  51. package/types/services/tables-db.d.ts +37 -37
  52. package/types/services/teams.d.ts +0 -25
  53. package/types/services/users.d.ts +4 -29
  54. package/types/topic.d.ts +34 -0
  55. package/types/enums/project-usage-range.d.ts +0 -4
package/types/models.d.ts CHANGED
@@ -11,8 +11,16 @@ import { ExecutionStatus } from './enums/execution-status';
11
11
  import { ProjectAuthMethodId } from './enums/project-auth-method-id';
12
12
  import { ProjectServiceId } from './enums/project-service-id';
13
13
  import { ProjectProtocolId } from './enums/project-protocol-id';
14
+ import { OAuth2GithubPrompt } from './enums/o-auth-2-github-prompt';
15
+ import { OAuth2DiscordPrompt } from './enums/o-auth-2-discord-prompt';
14
16
  import { OAuth2GooglePrompt } from './enums/o-auth-2-google-prompt';
17
+ import { OAuth2ZohoPrompt } from './enums/o-auth-2-zoho-prompt';
18
+ import { OAuth2SalesforcePrompt } from './enums/o-auth-2-salesforce-prompt';
19
+ import { OAuth2Auth0Prompt } from './enums/o-auth-2-auth-0-prompt';
15
20
  import { OAuth2OidcPrompt } from './enums/o-auth-2-oidc-prompt';
21
+ import { OAuth2OktaPrompt } from './enums/o-auth-2-okta-prompt';
22
+ import { OAuth2MicrosoftPrompt } from './enums/o-auth-2-microsoft-prompt';
23
+ import { OAuth2KakaoPrompt } from './enums/o-auth-2-kakao-prompt';
16
24
  import { PlatformType } from './enums/platform-type';
17
25
  import { ProxyRuleDeploymentResourceType } from './enums/proxy-rule-deployment-resource-type';
18
26
  import { ProxyRuleStatus } from './enums/proxy-rule-status';
@@ -182,19 +190,6 @@ export declare namespace Models {
182
190
  */
183
191
  notifications: Notification[];
184
192
  };
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
193
  /**
199
194
  * Files List
200
195
  */
@@ -501,19 +496,6 @@ export declare namespace Models {
501
496
  */
502
497
  keys: Key[];
503
498
  };
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
499
  /**
518
500
  * Countries List
519
501
  */
@@ -616,7 +598,7 @@ export declare namespace Models {
616
598
  /**
617
599
  * List of policies.
618
600
  */
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)[];
601
+ 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
602
  };
621
603
  /**
622
604
  * Email Templates List
@@ -3074,99 +3056,6 @@ export declare namespace Models {
3074
3056
  */
3075
3057
  metadata?: object;
3076
3058
  };
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
3059
  /**
3171
3060
  * User
3172
3061
  */
@@ -3247,6 +3136,10 @@ export declare namespace Models {
3247
3136
  * Whether the user email is in its canonical form.
3248
3137
  */
3249
3138
  emailIsCanonical?: boolean;
3139
+ /**
3140
+ * Whether the password was found in a known data breach the last time it was checked. Null when the password has never been checked.
3141
+ */
3142
+ passwordPwned?: boolean;
3250
3143
  /**
3251
3144
  * Phone verification status.
3252
3145
  */
@@ -3552,6 +3445,10 @@ export declare namespace Models {
3552
3445
  * Identity Provider Refresh Token.
3553
3446
  */
3554
3447
  providerRefreshToken: string;
3448
+ /**
3449
+ * Identity Provider ID token (JWT) from the most recent native sign-in. Empty for identities created through the browser OAuth2 flow.
3450
+ */
3451
+ providerIdToken: string;
3555
3452
  };
3556
3453
  /**
3557
3454
  * Notification
@@ -4538,6 +4435,10 @@ export declare namespace Models {
4538
4435
  * VCS (Version Control System) installation ID.
4539
4436
  */
4540
4437
  providerInstallationId: string;
4438
+ /**
4439
+ * VCS (Version Control System) organization URL. Points at the configured instance, which is not the provider's own host for a self-hosted install.
4440
+ */
4441
+ organizationUrl: string;
4541
4442
  };
4542
4443
  /**
4543
4444
  * ProviderRepository
@@ -5048,7 +4949,7 @@ export declare namespace Models {
5048
4949
  */
5049
4950
  errors: string;
5050
4951
  /**
5051
- * Resource(function/site) execution duration in seconds.
4952
+ * Total time the resource(function/site) took to respond, in seconds.
5052
4953
  */
5053
4954
  duration: number;
5054
4955
  /**
@@ -5084,10 +4985,6 @@ export declare namespace Models {
5084
4985
  * Project region
5085
4986
  */
5086
4987
  region: string;
5087
- /**
5088
- * Deprecated since 1.9.5: List of dev keys.
5089
- */
5090
- devKeys: DevKey[];
5091
4988
  /**
5092
4989
  * Status for custom SMTP
5093
4990
  */
@@ -5176,6 +5073,14 @@ export declare namespace Models {
5176
5073
  * Billing limits reached
5177
5074
  */
5178
5075
  billingLimits?: BillingLimits;
5076
+ /**
5077
+ * First time the project received a non-console API request. Empty until the project is used.
5078
+ */
5079
+ firstAccessedAt?: string;
5080
+ /**
5081
+ * Last time the project was accessed through the MCP server. Empty if it was never accessed via MCP.
5082
+ */
5083
+ mcpAccessedAt?: string;
5179
5084
  /**
5180
5085
  * OAuth2 server status
5181
5086
  */
@@ -5423,43 +5328,6 @@ export declare namespace Models {
5423
5328
  */
5424
5329
  sdks: string[];
5425
5330
  };
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
5331
  /**
5464
5332
  * Mock Number
5465
5333
  */
@@ -5501,6 +5369,10 @@ export declare namespace Models {
5501
5369
  * GitHub OAuth2 client secret.
5502
5370
  */
5503
5371
  clientSecret: string;
5372
+ /**
5373
+ * GitHub OAuth2 prompt values.
5374
+ */
5375
+ prompt: OAuth2GithubPrompt[];
5504
5376
  };
5505
5377
  /**
5506
5378
  * OAuth2Discord
@@ -5522,6 +5394,10 @@ export declare namespace Models {
5522
5394
  * Discord OAuth2 client secret.
5523
5395
  */
5524
5396
  clientSecret: string;
5397
+ /**
5398
+ * Discord OAuth2 prompt values.
5399
+ */
5400
+ prompt: OAuth2DiscordPrompt[];
5525
5401
  };
5526
5402
  /**
5527
5403
  * OAuth2Figma
@@ -5694,6 +5570,14 @@ export declare namespace Models {
5694
5570
  * Google OAuth2 prompt values.
5695
5571
  */
5696
5572
  prompt: OAuth2GooglePrompt[];
5573
+ /**
5574
+ * 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.
5575
+ */
5576
+ nativeEnabled: boolean;
5577
+ /**
5578
+ * Additional OAuth2 client IDs accepted as ID token audiences for native sign-in, next to the client ID.
5579
+ */
5580
+ nativeClientIds: string[];
5697
5581
  };
5698
5582
  /**
5699
5583
  * OAuth2Zoom
@@ -5736,6 +5620,10 @@ export declare namespace Models {
5736
5620
  * Zoho OAuth2 client secret.
5737
5621
  */
5738
5622
  clientSecret: string;
5623
+ /**
5624
+ * Zoho OAuth2 prompt values.
5625
+ */
5626
+ prompt: OAuth2ZohoPrompt[];
5739
5627
  };
5740
5628
  /**
5741
5629
  * OAuth2Yandex
@@ -5946,6 +5834,10 @@ export declare namespace Models {
5946
5834
  * Salesforce OAuth2 consumer secret.
5947
5835
  */
5948
5836
  customerSecret: string;
5837
+ /**
5838
+ * Salesforce OAuth2 prompt values.
5839
+ */
5840
+ prompt: OAuth2SalesforcePrompt[];
5949
5841
  };
5950
5842
  /**
5951
5843
  * OAuth2Yahoo
@@ -6248,6 +6140,10 @@ export declare namespace Models {
6248
6140
  * Auth0 OAuth2 client secret.
6249
6141
  */
6250
6142
  clientSecret: string;
6143
+ /**
6144
+ * Auth0 OAuth2 prompt values.
6145
+ */
6146
+ prompt: OAuth2Auth0Prompt[];
6251
6147
  /**
6252
6148
  * Auth0 OAuth2 endpoint domain.
6253
6149
  */
@@ -6327,6 +6223,10 @@ export declare namespace Models {
6327
6223
  * OpenID Connect OAuth2 client secret.
6328
6224
  */
6329
6225
  clientSecret: string;
6226
+ /**
6227
+ * OpenID Connect prompt values controlling the authentication and consent screens.
6228
+ */
6229
+ prompt: OAuth2OidcPrompt[];
6330
6230
  /**
6331
6231
  * OpenID Connect well-known configuration URL. When set, authorization, token, and user info endpoints can be discovered automatically.
6332
6232
  */
@@ -6343,10 +6243,6 @@ export declare namespace Models {
6343
6243
  * OpenID Connect user info endpoint URL.
6344
6244
  */
6345
6245
  userInfoURL: string;
6346
- /**
6347
- * OpenID Connect prompt values controlling the authentication and consent screens.
6348
- */
6349
- prompt: OAuth2OidcPrompt[];
6350
6246
  /**
6351
6247
  * Maximum authentication age in seconds. When set, the user must have authenticated within this many seconds.
6352
6248
  */
@@ -6372,6 +6268,10 @@ export declare namespace Models {
6372
6268
  * Okta OAuth2 client secret.
6373
6269
  */
6374
6270
  clientSecret: string;
6271
+ /**
6272
+ * Okta OAuth2 prompt values.
6273
+ */
6274
+ prompt: OAuth2OktaPrompt[];
6375
6275
  /**
6376
6276
  * Okta OAuth2 domain.
6377
6277
  */
@@ -6430,6 +6330,14 @@ export declare namespace Models {
6430
6330
  * Apple OAuth2 .p8 private key file contents. The secret key wrapped by the PEM markers is 200 characters long.
6431
6331
  */
6432
6332
  p8File: string;
6333
+ /**
6334
+ * 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.
6335
+ */
6336
+ nativeEnabled: boolean;
6337
+ /**
6338
+ * App bundle IDs accepted as ID token audiences for native Sign in with Apple, next to the Services ID.
6339
+ */
6340
+ nativeClientIds: string[];
6433
6341
  };
6434
6342
  /**
6435
6343
  * OAuth2Microsoft
@@ -6451,6 +6359,10 @@ export declare namespace Models {
6451
6359
  * Microsoft OAuth2 application secret.
6452
6360
  */
6453
6361
  applicationSecret: string;
6362
+ /**
6363
+ * Microsoft OAuth2 prompt values.
6364
+ */
6365
+ prompt: OAuth2MicrosoftPrompt[];
6454
6366
  /**
6455
6367
  * Microsoft Entra ID tenant identifier. Use 'common', 'organizations', 'consumers' or a specific tenant ID.
6456
6368
  */
@@ -6518,6 +6430,10 @@ export declare namespace Models {
6518
6430
  * Kakao OAuth2 client secret.
6519
6431
  */
6520
6432
  clientSecret: string;
6433
+ /**
6434
+ * Kakao OAuth2 prompt values.
6435
+ */
6436
+ prompt: OAuth2KakaoPrompt[];
6521
6437
  };
6522
6438
  /**
6523
6439
  * OAuth2 Providers List
@@ -6600,6 +6516,27 @@ export declare namespace Models {
6600
6516
  */
6601
6517
  enabled: boolean;
6602
6518
  };
6519
+ /**
6520
+ * Policy Password Pwned
6521
+ */
6522
+ export type PolicyPasswordPwned = {
6523
+ /**
6524
+ * Policy ID.
6525
+ */
6526
+ $id: string;
6527
+ /**
6528
+ * Whether passwords are checked against known data breaches and the result recorded on the user.
6529
+ */
6530
+ enabled: boolean;
6531
+ /**
6532
+ * Whether a sign-in with a breached password is refused until the password is reset.
6533
+ */
6534
+ sessions: boolean;
6535
+ /**
6536
+ * Whether a breached password is rejected when a user signs up or sets a new password.
6537
+ */
6538
+ users: boolean;
6539
+ };
6603
6540
  /**
6604
6541
  * Policy Session Alert
6605
6542
  */
@@ -6723,6 +6660,58 @@ export declare namespace Models {
6723
6660
  */
6724
6661
  custom: boolean;
6725
6662
  };
6663
+ /**
6664
+ * Policy Deny Aliased Email
6665
+ */
6666
+ export type PolicyDenyAliasedEmail = {
6667
+ /**
6668
+ * Policy ID.
6669
+ */
6670
+ $id: string;
6671
+ /**
6672
+ * Whether the deny aliased email policy is enabled.
6673
+ */
6674
+ enabled: boolean;
6675
+ };
6676
+ /**
6677
+ * Policy Deny Disposable Email
6678
+ */
6679
+ export type PolicyDenyDisposableEmail = {
6680
+ /**
6681
+ * Policy ID.
6682
+ */
6683
+ $id: string;
6684
+ /**
6685
+ * Whether the deny disposable email policy is enabled.
6686
+ */
6687
+ enabled: boolean;
6688
+ };
6689
+ /**
6690
+ * Policy Deny Free Email
6691
+ */
6692
+ export type PolicyDenyFreeEmail = {
6693
+ /**
6694
+ * Policy ID.
6695
+ */
6696
+ $id: string;
6697
+ /**
6698
+ * Whether the deny free email policy is enabled.
6699
+ */
6700
+ enabled: boolean;
6701
+ };
6702
+ /**
6703
+ * Policy Deny Corporate Email
6704
+ */
6705
+ export type PolicyDenyCorporateEmail = {
6706
+ /**
6707
+ * Policy ID.
6708
+ */
6709
+ $id: string;
6710
+ /**
6711
+ * Whether the deny non-corporate email policy is enabled.
6712
+ */
6713
+ enabled: boolean;
6714
+ };
6726
6715
  /**
6727
6716
  * Platform Web
6728
6717
  */
@@ -7025,38 +7014,17 @@ export declare namespace Models {
7025
7014
  date: string;
7026
7015
  };
7027
7016
  /**
7028
- * Metric Breakdown
7017
+ * UsageUsers
7029
7018
  */
7030
- export type MetricBreakdown = {
7019
+ export type UsageUsers = {
7031
7020
  /**
7032
- * Resource ID.
7021
+ * Time range of the usage stats.
7033
7022
  */
7034
- resourceId?: string;
7023
+ range: string;
7035
7024
  /**
7036
- * Resource name.
7025
+ * Total aggregated number of statistics of users.
7037
7026
  */
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
- /**
7049
- * UsageUsers
7050
- */
7051
- export type UsageUsers = {
7052
- /**
7053
- * Time range of the usage stats.
7054
- */
7055
- range: string;
7056
- /**
7057
- * Total aggregated number of statistics of users.
7058
- */
7059
- usersTotal: number;
7027
+ usersTotal: number;
7060
7028
  /**
7061
7029
  * Total aggregated number of active sessions.
7062
7030
  */
@@ -7087,283 +7055,6 @@ export declare namespace Models {
7087
7055
  */
7088
7056
  presences: Metric[];
7089
7057
  };
7090
- /**
7091
- * Project
7092
- */
7093
- export type UsageProject = {
7094
- /**
7095
- * Total aggregated number of function executions.
7096
- */
7097
- executionsTotal: number;
7098
- /**
7099
- * Total aggregated number of documents in legacy/tablesdb.
7100
- */
7101
- documentsTotal: number;
7102
- /**
7103
- * Total aggregated number of documents in documentsdb.
7104
- */
7105
- documentsdbDocumentsTotal: number;
7106
- /**
7107
- * Total aggregated number of rows.
7108
- */
7109
- rowsTotal: number;
7110
- /**
7111
- * Total aggregated number of databases.
7112
- */
7113
- databasesTotal: number;
7114
- /**
7115
- * Total aggregated number of documentsdb.
7116
- */
7117
- documentsdbTotal: number;
7118
- /**
7119
- * Total aggregated sum of databases storage size (in bytes).
7120
- */
7121
- databasesStorageTotal: number;
7122
- /**
7123
- * Total aggregated sum of documentsdb databases storage size (in bytes).
7124
- */
7125
- documentsdbDatabasesStorageTotal: number;
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
7058
  /**
7368
7059
  * usageDataPoint
7369
7060
  */
@@ -7408,6 +7099,22 @@ export declare namespace Models {
7408
7099
  * Value when broken down by `ip`.
7409
7100
  */
7410
7101
  ip?: string;
7102
+ /**
7103
+ * Value when broken down by `protocol`.
7104
+ */
7105
+ protocol?: string;
7106
+ /**
7107
+ * Value when broken down by `accept`.
7108
+ */
7109
+ accept?: string;
7110
+ /**
7111
+ * Value when broken down by `acceptLanguage`.
7112
+ */
7113
+ acceptLanguage?: string;
7114
+ /**
7115
+ * Value when broken down by `queryKeys`.
7116
+ */
7117
+ queryKeys?: string;
7411
7118
  /**
7412
7119
  * Value when broken down by `osName`.
7413
7120
  */
@@ -8167,6 +7874,14 @@ export declare namespace Models {
8167
7874
  * Subscribe permissions.
8168
7875
  */
8169
7876
  subscribe: string[];
7877
+ /**
7878
+ * MQTT QoS for delivery on this topic. Null lets the subscriber choose their level.
7879
+ */
7880
+ qos?: number;
7881
+ /**
7882
+ * Message retention in seconds for offline delivery.
7883
+ */
7884
+ expiry?: number;
8170
7885
  };
8171
7886
  /**
8172
7887
  * Transaction
@@ -9606,6 +9321,10 @@ export declare namespace Models {
9606
9321
  * Does plan require billing address
9607
9322
  */
9608
9323
  requiresBillingAddress: boolean;
9324
+ /**
9325
+ * ISO country codes eligible for this regional plan. Empty means no restriction.
9326
+ */
9327
+ eligibleCountries?: string[];
9609
9328
  /**
9610
9329
  * Is the billing plan available
9611
9330
  */
@@ -9888,47 +9607,10 @@ export declare namespace Models {
9888
9607
  * Block mode. full blocks reads and writes; readOnly blocks writes only.
9889
9608
  */
9890
9609
  mode: string;
9891
- /**
9892
- * Reason for the block. Can be null if no reason was provided.
9893
- */
9894
- reason?: string;
9895
9610
  /**
9896
9611
  * Block expiration date in ISO 8601 format. Can be null if the block does not expire.
9897
9612
  */
9898
9613
  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
9614
  };
9933
9615
  /**
9934
9616
  * Branch
@@ -11012,6 +10694,23 @@ export declare namespace Models {
11012
10694
  */
11013
10695
  organizationCredits: number;
11014
10696
  };
10697
+ /**
10698
+ * Growth Conversation
10699
+ */
10700
+ export type GrowthConversation = {
10701
+ /**
10702
+ * Conversation type.
10703
+ */
10704
+ type: string;
10705
+ /**
10706
+ * Email address the conversation was filed under. For a signed in console user this is the account email.
10707
+ */
10708
+ email: string;
10709
+ /**
10710
+ * Organization ID the conversation was filed against. Empty when none was given or the user is not a member.
10711
+ */
10712
+ organizationId: string;
10713
+ };
11015
10714
  /**
11016
10715
  * Extensions
11017
10716
  */
@@ -11271,6 +10970,68 @@ export declare namespace Models {
11271
10970
  */
11272
10971
  to: string;
11273
10972
  };
10973
+ /**
10974
+ * ManagerBlock
10975
+ */
10976
+ export type ManagerBlock = {
10977
+ /**
10978
+ * Block creation date in ISO 8601 format.
10979
+ */
10980
+ $createdAt: string;
10981
+ /**
10982
+ * Resource type that is blocked
10983
+ */
10984
+ resourceType: string;
10985
+ /**
10986
+ * Resource identifier that is blocked
10987
+ */
10988
+ resourceId: string;
10989
+ /**
10990
+ * Block mode. full blocks reads and writes; readOnly blocks writes only.
10991
+ */
10992
+ mode: string;
10993
+ /**
10994
+ * Block expiration date in ISO 8601 format. Can be null if the block does not expire.
10995
+ */
10996
+ expiredAt?: string;
10997
+ /**
10998
+ * Reason for the block. Can be null if no reason was provided.
10999
+ */
11000
+ reason?: string;
11001
+ /**
11002
+ * Name of the project this block applies to.
11003
+ */
11004
+ projectName: string;
11005
+ /**
11006
+ * Region of the project this block applies to.
11007
+ */
11008
+ region: string;
11009
+ /**
11010
+ * Name of the organization that owns the project.
11011
+ */
11012
+ organizationName: string;
11013
+ /**
11014
+ * ID of the organization that owns the project.
11015
+ */
11016
+ organizationId: string;
11017
+ /**
11018
+ * Billing plan of the organization that owns the project.
11019
+ */
11020
+ billingPlan: string;
11021
+ };
11022
+ /**
11023
+ * ManagerBlockDelete
11024
+ */
11025
+ export type ManagerBlockDelete = {
11026
+ /**
11027
+ * Number of blocks deleted
11028
+ */
11029
+ deleted: number;
11030
+ /**
11031
+ * List of deleted blocks
11032
+ */
11033
+ blocks: ManagerBlock[];
11034
+ };
11274
11035
  /**
11275
11036
  * Organization
11276
11037
  */
@@ -11724,58 +11485,6 @@ export declare namespace Models {
11724
11485
  */
11725
11486
  enabled: boolean;
11726
11487
  };
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
11488
  /**
11780
11489
  * PoolerConfig
11781
11490
  */
@@ -13603,9 +13312,9 @@ export declare namespace Models {
13603
13312
  plans: BillingPlan[];
13604
13313
  };
13605
13314
  /**
13606
- * Blocks list
13315
+ * Manager blocks list
13607
13316
  */
13608
- export type BlockList = {
13317
+ export type ManagerBlockList = {
13609
13318
  /**
13610
13319
  * Total number of blocks that matched your query.
13611
13320
  */
@@ -13613,7 +13322,7 @@ export declare namespace Models {
13613
13322
  /**
13614
13323
  * List of blocks.
13615
13324
  */
13616
- blocks: Block[];
13325
+ blocks: ManagerBlock[];
13617
13326
  };
13618
13327
  /**
13619
13328
  * Database Migrations List