@appwrite.io/console 15.7.0 → 15.8.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/dist/iife/sdk.js CHANGED
@@ -4445,7 +4445,7 @@
4445
4445
  'x-sdk-name': 'Console',
4446
4446
  'x-sdk-platform': 'console',
4447
4447
  'x-sdk-language': 'web',
4448
- 'x-sdk-version': '15.7.0',
4448
+ 'x-sdk-version': '15.8.0',
4449
4449
  'X-Appwrite-Response-Format': '1.9.5',
4450
4450
  };
4451
4451
  this.realtime = {
@@ -13315,7 +13315,8 @@
13315
13315
  name: rest[0],
13316
13316
  enabled: rest[1],
13317
13317
  specification: rest[2],
13318
- replicas: rest[3]
13318
+ replicas: rest[3],
13319
+ syncMode: rest[4]
13319
13320
  };
13320
13321
  }
13321
13322
  const databaseId = params.databaseId;
@@ -13323,6 +13324,7 @@
13323
13324
  const enabled = params.enabled;
13324
13325
  const specification = params.specification;
13325
13326
  const replicas = params.replicas;
13327
+ const syncMode = params.syncMode;
13326
13328
  if (typeof databaseId === 'undefined') {
13327
13329
  throw new AppwriteException('Missing required parameter: "databaseId"');
13328
13330
  }
@@ -13346,6 +13348,9 @@
13346
13348
  if (typeof replicas !== 'undefined') {
13347
13349
  payload['replicas'] = replicas;
13348
13350
  }
13351
+ if (typeof syncMode !== 'undefined') {
13352
+ payload['syncMode'] = syncMode;
13353
+ }
13349
13354
  const uri = new URL(this.client.config.endpoint + apiPath);
13350
13355
  const apiHeaders = {
13351
13356
  'X-Appwrite-Project': this.client.config.project,
@@ -13531,7 +13536,8 @@
13531
13536
  name: rest[0],
13532
13537
  enabled: rest[1],
13533
13538
  specification: rest[2],
13534
- replicas: rest[3]
13539
+ replicas: rest[3],
13540
+ syncMode: rest[4]
13535
13541
  };
13536
13542
  }
13537
13543
  const databaseId = params.databaseId;
@@ -13539,6 +13545,7 @@
13539
13545
  const enabled = params.enabled;
13540
13546
  const specification = params.specification;
13541
13547
  const replicas = params.replicas;
13548
+ const syncMode = params.syncMode;
13542
13549
  if (typeof databaseId === 'undefined') {
13543
13550
  throw new AppwriteException('Missing required parameter: "databaseId"');
13544
13551
  }
@@ -13559,6 +13566,9 @@
13559
13566
  if (typeof replicas !== 'undefined') {
13560
13567
  payload['replicas'] = replicas;
13561
13568
  }
13569
+ if (typeof syncMode !== 'undefined') {
13570
+ payload['syncMode'] = syncMode;
13571
+ }
13562
13572
  const uri = new URL(this.client.config.endpoint + apiPath);
13563
13573
  const apiHeaders = {
13564
13574
  'X-Appwrite-Project': this.client.config.project,
@@ -22279,8 +22289,7 @@
22279
22289
  pitrRetentionDays: rest[10],
22280
22290
  storageAutoscaling: rest[11],
22281
22291
  storageAutoscalingThresholdPercent: rest[12],
22282
- storageAutoscalingMaxGb: rest[13],
22283
- api: rest[14]
22292
+ storageAutoscalingMaxGb: rest[13]
22284
22293
  };
22285
22294
  }
22286
22295
  const databaseId = params.databaseId;
@@ -22298,7 +22307,6 @@
22298
22307
  const storageAutoscaling = params.storageAutoscaling;
22299
22308
  const storageAutoscalingThresholdPercent = params.storageAutoscalingThresholdPercent;
22300
22309
  const storageAutoscalingMaxGb = params.storageAutoscalingMaxGb;
22301
- const api = params.api;
22302
22310
  if (typeof databaseId === 'undefined') {
22303
22311
  throw new AppwriteException('Missing required parameter: "databaseId"');
22304
22312
  }
@@ -22352,9 +22360,6 @@
22352
22360
  if (typeof storageAutoscalingMaxGb !== 'undefined') {
22353
22361
  payload['storageAutoscalingMaxGb'] = storageAutoscalingMaxGb;
22354
22362
  }
22355
- if (typeof api !== 'undefined') {
22356
- payload['api'] = api;
22357
- }
22358
22363
  const uri = new URL(this.client.config.endpoint + apiPath);
22359
22364
  const apiHeaders = {
22360
22365
  'X-Appwrite-Project': this.client.config.project,
@@ -23460,8 +23465,7 @@
23460
23465
  pitrRetentionDays: rest[10],
23461
23466
  storageAutoscaling: rest[11],
23462
23467
  storageAutoscalingThresholdPercent: rest[12],
23463
- storageAutoscalingMaxGb: rest[13],
23464
- api: rest[14]
23468
+ storageAutoscalingMaxGb: rest[13]
23465
23469
  };
23466
23470
  }
23467
23471
  const databaseId = params.databaseId;
@@ -23479,7 +23483,6 @@
23479
23483
  const storageAutoscaling = params.storageAutoscaling;
23480
23484
  const storageAutoscalingThresholdPercent = params.storageAutoscalingThresholdPercent;
23481
23485
  const storageAutoscalingMaxGb = params.storageAutoscalingMaxGb;
23482
- const api = params.api;
23483
23486
  if (typeof databaseId === 'undefined') {
23484
23487
  throw new AppwriteException('Missing required parameter: "databaseId"');
23485
23488
  }
@@ -23533,9 +23536,6 @@
23533
23536
  if (typeof storageAutoscalingMaxGb !== 'undefined') {
23534
23537
  payload['storageAutoscalingMaxGb'] = storageAutoscalingMaxGb;
23535
23538
  }
23536
- if (typeof api !== 'undefined') {
23537
- payload['api'] = api;
23538
- }
23539
23539
  const uri = new URL(this.client.config.endpoint + apiPath);
23540
23540
  const apiHeaders = {
23541
23541
  'X-Appwrite-Project': this.client.config.project,
@@ -27649,8 +27649,7 @@
27649
27649
  pitrRetentionDays: rest[10],
27650
27650
  storageAutoscaling: rest[11],
27651
27651
  storageAutoscalingThresholdPercent: rest[12],
27652
- storageAutoscalingMaxGb: rest[13],
27653
- api: rest[14]
27652
+ storageAutoscalingMaxGb: rest[13]
27654
27653
  };
27655
27654
  }
27656
27655
  const databaseId = params.databaseId;
@@ -27668,7 +27667,6 @@
27668
27667
  const storageAutoscaling = params.storageAutoscaling;
27669
27668
  const storageAutoscalingThresholdPercent = params.storageAutoscalingThresholdPercent;
27670
27669
  const storageAutoscalingMaxGb = params.storageAutoscalingMaxGb;
27671
- const api = params.api;
27672
27670
  if (typeof databaseId === 'undefined') {
27673
27671
  throw new AppwriteException('Missing required parameter: "databaseId"');
27674
27672
  }
@@ -27722,9 +27720,6 @@
27722
27720
  if (typeof storageAutoscalingMaxGb !== 'undefined') {
27723
27721
  payload['storageAutoscalingMaxGb'] = storageAutoscalingMaxGb;
27724
27722
  }
27725
- if (typeof api !== 'undefined') {
27726
- payload['api'] = api;
27727
- }
27728
27723
  const uri = new URL(this.client.config.endpoint + apiPath);
27729
27724
  const apiHeaders = {
27730
27725
  'X-Appwrite-Project': this.client.config.project,
@@ -35529,7 +35524,8 @@
35529
35524
  name: rest[0],
35530
35525
  enabled: rest[1],
35531
35526
  specification: rest[2],
35532
- replicas: rest[3]
35527
+ replicas: rest[3],
35528
+ syncMode: rest[4]
35533
35529
  };
35534
35530
  }
35535
35531
  const databaseId = params.databaseId;
@@ -35537,6 +35533,7 @@
35537
35533
  const enabled = params.enabled;
35538
35534
  const specification = params.specification;
35539
35535
  const replicas = params.replicas;
35536
+ const syncMode = params.syncMode;
35540
35537
  if (typeof databaseId === 'undefined') {
35541
35538
  throw new AppwriteException('Missing required parameter: "databaseId"');
35542
35539
  }
@@ -35560,6 +35557,9 @@
35560
35557
  if (typeof replicas !== 'undefined') {
35561
35558
  payload['replicas'] = replicas;
35562
35559
  }
35560
+ if (typeof syncMode !== 'undefined') {
35561
+ payload['syncMode'] = syncMode;
35562
+ }
35563
35563
  const uri = new URL(this.client.config.endpoint + apiPath);
35564
35564
  const apiHeaders = {
35565
35565
  'X-Appwrite-Project': this.client.config.project,
@@ -35774,7 +35774,8 @@
35774
35774
  name: rest[0],
35775
35775
  enabled: rest[1],
35776
35776
  specification: rest[2],
35777
- replicas: rest[3]
35777
+ replicas: rest[3],
35778
+ syncMode: rest[4]
35778
35779
  };
35779
35780
  }
35780
35781
  const databaseId = params.databaseId;
@@ -35782,6 +35783,7 @@
35782
35783
  const enabled = params.enabled;
35783
35784
  const specification = params.specification;
35784
35785
  const replicas = params.replicas;
35786
+ const syncMode = params.syncMode;
35785
35787
  if (typeof databaseId === 'undefined') {
35786
35788
  throw new AppwriteException('Missing required parameter: "databaseId"');
35787
35789
  }
@@ -35799,6 +35801,9 @@
35799
35801
  if (typeof replicas !== 'undefined') {
35800
35802
  payload['replicas'] = replicas;
35801
35803
  }
35804
+ if (typeof syncMode !== 'undefined') {
35805
+ payload['syncMode'] = syncMode;
35806
+ }
35802
35807
  const uri = new URL(this.client.config.endpoint + apiPath);
35803
35808
  const apiHeaders = {
35804
35809
  'X-Appwrite-Project': this.client.config.project,
@@ -42253,7 +42258,8 @@
42253
42258
  name: rest[0],
42254
42259
  enabled: rest[1],
42255
42260
  specification: rest[2],
42256
- replicas: rest[3]
42261
+ replicas: rest[3],
42262
+ syncMode: rest[4]
42257
42263
  };
42258
42264
  }
42259
42265
  const databaseId = params.databaseId;
@@ -42261,6 +42267,7 @@
42261
42267
  const enabled = params.enabled;
42262
42268
  const specification = params.specification;
42263
42269
  const replicas = params.replicas;
42270
+ const syncMode = params.syncMode;
42264
42271
  if (typeof databaseId === 'undefined') {
42265
42272
  throw new AppwriteException('Missing required parameter: "databaseId"');
42266
42273
  }
@@ -42284,6 +42291,9 @@
42284
42291
  if (typeof replicas !== 'undefined') {
42285
42292
  payload['replicas'] = replicas;
42286
42293
  }
42294
+ if (typeof syncMode !== 'undefined') {
42295
+ payload['syncMode'] = syncMode;
42296
+ }
42287
42297
  const uri = new URL(this.client.config.endpoint + apiPath);
42288
42298
  const apiHeaders = {
42289
42299
  'X-Appwrite-Project': this.client.config.project,
@@ -42530,7 +42540,8 @@
42530
42540
  name: rest[0],
42531
42541
  enabled: rest[1],
42532
42542
  specification: rest[2],
42533
- replicas: rest[3]
42543
+ replicas: rest[3],
42544
+ syncMode: rest[4]
42534
42545
  };
42535
42546
  }
42536
42547
  const databaseId = params.databaseId;
@@ -42538,6 +42549,7 @@
42538
42549
  const enabled = params.enabled;
42539
42550
  const specification = params.specification;
42540
42551
  const replicas = params.replicas;
42552
+ const syncMode = params.syncMode;
42541
42553
  if (typeof databaseId === 'undefined') {
42542
42554
  throw new AppwriteException('Missing required parameter: "databaseId"');
42543
42555
  }
@@ -42558,6 +42570,9 @@
42558
42570
  if (typeof replicas !== 'undefined') {
42559
42571
  payload['replicas'] = replicas;
42560
42572
  }
42573
+ if (typeof syncMode !== 'undefined') {
42574
+ payload['syncMode'] = syncMode;
42575
+ }
42561
42576
  const uri = new URL(this.client.config.endpoint + apiPath);
42562
42577
  const apiHeaders = {
42563
42578
  'X-Appwrite-Project': this.client.config.project,
@@ -43752,7 +43767,9 @@
43752
43767
  challengeType: rest[4],
43753
43768
  priority: rest[5],
43754
43769
  enabled: rest[6],
43755
- conditions: rest[7]
43770
+ conditions: rest[7],
43771
+ difficulty: rest[8],
43772
+ ttl: rest[9]
43756
43773
  };
43757
43774
  }
43758
43775
  const ruleId = params.ruleId;
@@ -43764,6 +43781,8 @@
43764
43781
  const priority = params.priority;
43765
43782
  const enabled = params.enabled;
43766
43783
  const conditions = params.conditions;
43784
+ const difficulty = params.difficulty;
43785
+ const ttl = params.ttl;
43767
43786
  if (typeof ruleId === 'undefined') {
43768
43787
  throw new AppwriteException('Missing required parameter: "ruleId"');
43769
43788
  }
@@ -43802,6 +43821,12 @@
43802
43821
  if (typeof conditions !== 'undefined') {
43803
43822
  payload['conditions'] = conditions;
43804
43823
  }
43824
+ if (typeof difficulty !== 'undefined') {
43825
+ payload['difficulty'] = difficulty;
43826
+ }
43827
+ if (typeof ttl !== 'undefined') {
43828
+ payload['ttl'] = ttl;
43829
+ }
43805
43830
  const uri = new URL(this.client.config.endpoint + apiPath);
43806
43831
  const apiHeaders = {
43807
43832
  'X-Appwrite-Project': this.client.config.project,
@@ -43825,7 +43850,9 @@
43825
43850
  challengeType: rest[4],
43826
43851
  priority: rest[5],
43827
43852
  enabled: rest[6],
43828
- conditions: rest[7]
43853
+ conditions: rest[7],
43854
+ difficulty: rest[8],
43855
+ ttl: rest[9]
43829
43856
  };
43830
43857
  }
43831
43858
  const ruleId = params.ruleId;
@@ -43837,6 +43864,8 @@
43837
43864
  const priority = params.priority;
43838
43865
  const enabled = params.enabled;
43839
43866
  const conditions = params.conditions;
43867
+ const difficulty = params.difficulty;
43868
+ const ttl = params.ttl;
43840
43869
  if (typeof ruleId === 'undefined') {
43841
43870
  throw new AppwriteException('Missing required parameter: "ruleId"');
43842
43871
  }
@@ -43866,6 +43895,12 @@
43866
43895
  if (typeof conditions !== 'undefined') {
43867
43896
  payload['conditions'] = conditions;
43868
43897
  }
43898
+ if (typeof difficulty !== 'undefined') {
43899
+ payload['difficulty'] = difficulty;
43900
+ }
43901
+ if (typeof ttl !== 'undefined') {
43902
+ payload['ttl'] = ttl;
43903
+ }
43869
43904
  const uri = new URL(this.client.config.endpoint + apiPath);
43870
43905
  const apiHeaders = {
43871
43906
  'X-Appwrite-Project': this.client.config.project,
@@ -44015,9 +44050,10 @@
44015
44050
  interval: rest[3],
44016
44051
  resourceId: rest[4],
44017
44052
  description: rest[5],
44018
- priority: rest[6],
44019
- enabled: rest[7],
44020
- conditions: rest[8]
44053
+ key: rest[6],
44054
+ priority: rest[7],
44055
+ enabled: rest[8],
44056
+ conditions: rest[9]
44021
44057
  };
44022
44058
  }
44023
44059
  const ruleId = params.ruleId;
@@ -44027,6 +44063,7 @@
44027
44063
  const interval = params.interval;
44028
44064
  const resourceId = params.resourceId;
44029
44065
  const description = params.description;
44066
+ const key = params.key;
44030
44067
  const priority = params.priority;
44031
44068
  const enabled = params.enabled;
44032
44069
  const conditions = params.conditions;
@@ -44068,6 +44105,9 @@
44068
44105
  if (typeof interval !== 'undefined') {
44069
44106
  payload['interval'] = interval;
44070
44107
  }
44108
+ if (typeof key !== 'undefined') {
44109
+ payload['key'] = key;
44110
+ }
44071
44111
  if (typeof priority !== 'undefined') {
44072
44112
  payload['priority'] = priority;
44073
44113
  }
@@ -44099,9 +44139,10 @@
44099
44139
  description: rest[3],
44100
44140
  limit: rest[4],
44101
44141
  interval: rest[5],
44102
- priority: rest[6],
44103
- enabled: rest[7],
44104
- conditions: rest[8]
44142
+ key: rest[6],
44143
+ priority: rest[7],
44144
+ enabled: rest[8],
44145
+ conditions: rest[9]
44105
44146
  };
44106
44147
  }
44107
44148
  const ruleId = params.ruleId;
@@ -44111,6 +44152,7 @@
44111
44152
  const description = params.description;
44112
44153
  const limit = params.limit;
44113
44154
  const interval = params.interval;
44155
+ const key = params.key;
44114
44156
  const priority = params.priority;
44115
44157
  const enabled = params.enabled;
44116
44158
  const conditions = params.conditions;
@@ -44137,6 +44179,9 @@
44137
44179
  if (typeof interval !== 'undefined') {
44138
44180
  payload['interval'] = interval;
44139
44181
  }
44182
+ if (typeof key !== 'undefined') {
44183
+ payload['key'] = key;
44184
+ }
44140
44185
  if (typeof priority !== 'undefined') {
44141
44186
  payload['priority'] = priority;
44142
44187
  }
@@ -46819,6 +46864,7 @@
46819
46864
  Runtime["Node23"] = "node-23";
46820
46865
  Runtime["Node24"] = "node-24";
46821
46866
  Runtime["Node25"] = "node-25";
46867
+ Runtime["Node26"] = "node-26";
46822
46868
  Runtime["Php80"] = "php-8.0";
46823
46869
  Runtime["Php81"] = "php-8.1";
46824
46870
  Runtime["Php82"] = "php-8.2";
@@ -47432,6 +47478,7 @@
47432
47478
  BuildRuntime["Node23"] = "node-23";
47433
47479
  BuildRuntime["Node24"] = "node-24";
47434
47480
  BuildRuntime["Node25"] = "node-25";
47481
+ BuildRuntime["Node26"] = "node-26";
47435
47482
  BuildRuntime["Php80"] = "php-8.0";
47436
47483
  BuildRuntime["Php81"] = "php-8.1";
47437
47484
  BuildRuntime["Php82"] = "php-8.2";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@appwrite.io/console",
3
3
  "homepage": "https://appwrite.io/support",
4
4
  "description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
5
- "version": "15.7.0",
5
+ "version": "15.8.0",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/cjs/sdk.js",
8
8
  "exports": {
@@ -40,7 +40,7 @@
40
40
  "@rollup/plugin-typescript": "12.3.0",
41
41
  "@types/json-bigint": "1.0.4",
42
42
  "playwright": "1.56.1",
43
- "rollup": "4.62.2",
43
+ "rollup": "4.62.3",
44
44
  "serve-handler": "6.1.7",
45
45
  "tslib": "2.8.1",
46
46
  "typescript": "5.9.3"
@@ -9,6 +9,7 @@ export declare enum BuildRuntime {
9
9
  Node23 = "node-23",
10
10
  Node24 = "node-24",
11
11
  Node25 = "node-25",
12
+ Node26 = "node-26",
12
13
  Php80 = "php-8.0",
13
14
  Php81 = "php-8.1",
14
15
  Php82 = "php-8.2",
@@ -9,6 +9,7 @@ export declare enum Runtime {
9
9
  Node23 = "node-23",
10
10
  Node24 = "node-24",
11
11
  Node25 = "node-25",
12
+ Node26 = "node-26",
12
13
  Php80 = "php-8.0",
13
14
  Php81 = "php-8.1",
14
15
  Php82 = "php-8.2",
package/types/models.d.ts CHANGED
@@ -880,7 +880,7 @@ export declare namespace Models {
880
880
  */
881
881
  status?: DatabaseStatus;
882
882
  /**
883
- * Underlying engine of the dedicated backing: postgresql, mysql, mariadb, or mongodb. A managed product (tablesdb, documentsdb, vectorsdb) reports the engine it runs on, so its type and engine can differ. Null when the database has no dedicated backing.
883
+ * Underlying engine of the dedicated backing: postgresql, mysql, or mongodb. A managed product (tablesdb, documentsdb, vectorsdb) reports the engine it runs on, so its type and engine can differ. Null when the database has no dedicated backing.
884
884
  */
885
885
  engine?: string;
886
886
  /**
@@ -8743,6 +8743,14 @@ export declare namespace Models {
8743
8743
  * Backup type. Possible values: full (complete database snapshot), incremental (changes since last backup), wal (write-ahead log continuous archival).
8744
8744
  */
8745
8745
  type: string;
8746
+ /**
8747
+ * Backup type that was requested. Differs from `type` when the backend could not run the requested type and took a different one instead, in which case `fallbackReason` explains why. Empty for backups taken before the requested type was recorded.
8748
+ */
8749
+ requestedType: string;
8750
+ /**
8751
+ * Why the backend ran a different backup type than the one requested. Empty when the backup ran as requested.
8752
+ */
8753
+ fallbackReason: string;
8746
8754
  /**
8747
8755
  * Backup status. Possible values: pending (queued for processing), running (currently in progress), completed (successfully finished), failed (encountered an error), verified (integrity check passed).
8748
8756
  */
@@ -9417,7 +9425,7 @@ export declare namespace Models {
9417
9425
  */
9418
9426
  host: string;
9419
9427
  /**
9420
- * Branch port.
9428
+ * Branch port. Null until the backing reports one.
9421
9429
  */
9422
9430
  port: number;
9423
9431
  /**
@@ -9437,7 +9445,7 @@ export declare namespace Models {
9437
9445
  */
9438
9446
  ssl: boolean;
9439
9447
  /**
9440
- * Database engine. Possible values: postgresql, mysql, mariadb, mongodb.
9448
+ * Database engine. Possible values: postgresql, mysql, mongodb.
9441
9449
  */
9442
9450
  engine: string;
9443
9451
  /**
@@ -9651,6 +9659,14 @@ export declare namespace Models {
9651
9659
  * Migration phase. Possible values: pending, provisioned, capturing, backfilling, catching_up, verifying, ready_to_cutover, cutover, soaking, done, failed, rolled_back.
9652
9660
  */
9653
9661
  phase: string;
9662
+ /**
9663
+ * Number of times a migration step has failed and been recorded.
9664
+ */
9665
+ attempt: number;
9666
+ /**
9667
+ * Reason the most recent migration step failed, empty while none has.
9668
+ */
9669
+ lastError: string;
9654
9670
  /**
9655
9671
  * Number of documents still pending replication to the target.
9656
9672
  */
@@ -9705,7 +9721,7 @@ export declare namespace Models {
9705
9721
  */
9706
9722
  api: string;
9707
9723
  /**
9708
- * Database engine: postgresql, mysql, mariadb, or mongodb.
9724
+ * Database engine: postgresql, mysql, or mongodb.
9709
9725
  */
9710
9726
  engine: string;
9711
9727
  /**
@@ -9725,7 +9741,7 @@ export declare namespace Models {
9725
9741
  */
9726
9742
  hostname: string;
9727
9743
  /**
9728
- * Database port for connections.
9744
+ * Database port for connections. Derived from the engine when the backing has not reported one yet.
9729
9745
  */
9730
9746
  connectionPort: number;
9731
9747
  /**
@@ -9805,7 +9821,7 @@ export declare namespace Models {
9805
9821
  */
9806
9822
  crossRegionReplicas: number;
9807
9823
  /**
9808
- * Maximum concurrent connections.
9824
+ * Maximum concurrent client connections. This is the limit a client pool may reach; the engine's own max_connections reported by the status endpoint is a smaller backend limit the pooler multiplexes onto and does not constrain a client pool.
9809
9825
  */
9810
9826
  networkMaxConnections: number;
9811
9827
  /**
@@ -9981,7 +9997,7 @@ export declare namespace Models {
9981
9997
  */
9982
9998
  ready: boolean;
9983
9999
  /**
9984
- * Database engine: postgresql, mysql, mariadb, or mongodb.
10000
+ * Database engine: postgresql, mysql, or mongodb.
9985
10001
  */
9986
10002
  engine: string;
9987
10003
  /**
@@ -9997,7 +10013,31 @@ export declare namespace Models {
9997
10013
  */
9998
10014
  connections: DatabaseStatusConnections;
9999
10015
  /**
10000
- * List of database replicas and their status.
10016
+ * Requested replication sync mode. Possible values: async, sync, quorum. Compare with effectiveSyncMode for what the primary is enforcing.
10017
+ */
10018
+ syncMode: string;
10019
+ /**
10020
+ * Replication sync mode the primary is actually enforcing. Null when high availability is disabled or the state could not be read.
10021
+ */
10022
+ effectiveSyncMode?: string;
10023
+ /**
10024
+ * Whether the enforced replication is weaker than the requested syncMode.
10025
+ */
10026
+ syncDegraded: boolean;
10027
+ /**
10028
+ * Number of standby acknowledgements the primary waits for before a write is committed.
10029
+ */
10030
+ syncAcknowledgements: number;
10031
+ /**
10032
+ * Number of standbys registered with the primary for synchronous replication.
10033
+ */
10034
+ syncStandbyCount: number;
10035
+ /**
10036
+ * Whether the reported sync state was read from the engine. When false the state could not be confirmed and the other sync fields carry no reading.
10037
+ */
10038
+ syncStateConfirmed: boolean;
10039
+ /**
10040
+ * List of database replicas and their status. Every configured member appears, including one the backend has not brought up, which is reported as not healthy.
10001
10041
  */
10002
10042
  replicas: DatabaseStatusReplica[];
10003
10043
  /**
@@ -10432,11 +10472,11 @@ export declare namespace Models {
10432
10472
  */
10433
10473
  $id: string;
10434
10474
  /**
10435
- * Member role. Possible values: primary (accepts reads and writes), replica (read-only follower).
10475
+ * Member role. Possible values: primary (accepts reads and writes), replica (read-only follower), unknown (placement not established; reported while a transition is moving or restarting the topology and this member has not been probed, so no member can be named the write target).
10436
10476
  */
10437
10477
  role: string;
10438
10478
  /**
10439
- * Member pod status. Possible values: provisioning (pod missing or Pending), starting (Running but not Ready), active (Running and Ready), failed (Failed phase or CrashLoopBackOff container), or the lowercased pod phase reported by the cluster.
10479
+ * Member pod status. Possible values: pending (configured but absent from the backend topology, so nothing is bringing it up), provisioning (pod missing or Pending), starting (Running but not Ready), active (Running and Ready), failed (Failed phase or CrashLoopBackOff container), or the lowercased pod phase reported by the cluster.
10440
10480
  */
10441
10481
  status: string;
10442
10482
  /**
@@ -10515,9 +10555,29 @@ export declare namespace Models {
10515
10555
  */
10516
10556
  replicas: number;
10517
10557
  /**
10518
- * Replication sync mode. Possible values: async (asynchronous, fastest), sync (synchronous, strong consistency), quorum (quorum-based, majority of replicas must confirm).
10558
+ * Requested replication sync mode. Possible values: async (asynchronous, fastest), sync (synchronous, strong consistency), quorum (quorum-based, majority of replicas must confirm). This is what was asked for; compare it with effectiveSyncMode for what the primary is enforcing.
10519
10559
  */
10520
10560
  syncMode: string;
10561
+ /**
10562
+ * Replication sync mode the primary is actually enforcing. Null when high availability is disabled or the state could not be read. A value below the requested syncMode means writes are being acknowledged with weaker durability than configured.
10563
+ */
10564
+ effectiveSyncMode?: string;
10565
+ /**
10566
+ * Whether the enforced replication is weaker than the requested syncMode.
10567
+ */
10568
+ syncDegraded: boolean;
10569
+ /**
10570
+ * Number of standby acknowledgements the primary waits for before a write is committed. Zero means writes are acknowledged locally.
10571
+ */
10572
+ syncAcknowledgements: number;
10573
+ /**
10574
+ * Number of standbys registered with the primary for synchronous replication.
10575
+ */
10576
+ syncStandbyCount: number;
10577
+ /**
10578
+ * Whether the reported sync state was read from the engine. When false the state could not be confirmed and the other sync fields carry no reading.
10579
+ */
10580
+ syncStateConfirmed: boolean;
10521
10581
  /**
10522
10582
  * Per-pod statuses for the primary and every replica.
10523
10583
  */
@@ -11130,7 +11190,7 @@ export declare namespace Models {
11130
11190
  */
11131
11191
  mode: string;
11132
11192
  /**
11133
- * Maximum number of pooled connections.
11193
+ * Client-connection ceiling the pooler accepts. Enforced on MySQL and MariaDB; on PostgreSQL the pooler has no client cap, so this reports the database's advertised networkMaxConnections and cannot be set here.
11134
11194
  */
11135
11195
  maxConnections: number;
11136
11196
  /**
@@ -11441,7 +11501,7 @@ export declare namespace Models {
11441
11501
  */
11442
11502
  current: number;
11443
11503
  /**
11444
- * Maximum allowed connections.
11504
+ * The engine's own max_connections. On a pooled database this is the backend limit the pooler multiplexes onto, not the ceiling a client pool may reach — that is networkMaxConnections on the database resource.
11445
11505
  */
11446
11506
  max: number;
11447
11507
  };
@@ -11450,11 +11510,11 @@ export declare namespace Models {
11450
11510
  */
11451
11511
  export type DatabaseStatusReplica = {
11452
11512
  /**
11453
- * StatefulSet pod index (0 = primary, 1+ = replicas).
11513
+ * Member index within the database. Read `role` for which member accepts writes: a failover moves the primary without renumbering the indexes.
11454
11514
  */
11455
11515
  index: number;
11456
11516
  /**
11457
- * Replica role: primary or replica.
11517
+ * Member role. Possible values: primary (accepts reads and writes), replica (read-only follower), unknown (placement not established; reported while a transition is moving or restarting the topology, so no member can be named the write target).
11458
11518
  */
11459
11519
  role: string;
11460
11520
  /**
@@ -12745,6 +12805,14 @@ export declare namespace Models {
12745
12805
  * Challenge type enforced when the rule matches.
12746
12806
  */
12747
12807
  challengeType: string;
12808
+ /**
12809
+ * Challenge difficulty from 1 (easiest) to 5 (hardest) enforced when the rule matches.
12810
+ */
12811
+ difficulty: number;
12812
+ /**
12813
+ * Seconds a visitor stays cleared after passing the challenge before being challenged again.
12814
+ */
12815
+ ttl: number;
12748
12816
  };
12749
12817
  /**
12750
12818
  * WafRuleRateLimit
@@ -12814,6 +12882,10 @@ export declare namespace Models {
12814
12882
  * Interval in seconds for the rate limit window.
12815
12883
  */
12816
12884
  interval: number;
12885
+ /**
12886
+ * Rate limit key: `ip` limits per client IP, `userId` limits per authenticated user.
12887
+ */
12888
+ key: string;
12817
12889
  };
12818
12890
  /**
12819
12891
  * WafRuleRedirect