@appwrite.io/console 15.6.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/README.md CHANGED
@@ -33,7 +33,7 @@ import { Client, Account } from "@appwrite.io/console";
33
33
  To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
34
34
 
35
35
  ```html
36
- <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@15.6.0"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@15.8.0"></script>
37
37
  ```
38
38
 
39
39
 
package/dist/cjs/sdk.js CHANGED
@@ -647,7 +647,7 @@ class Client {
647
647
  'x-sdk-name': 'Console',
648
648
  'x-sdk-platform': 'console',
649
649
  'x-sdk-language': 'web',
650
- 'x-sdk-version': '15.6.0',
650
+ 'x-sdk-version': '15.8.0',
651
651
  'X-Appwrite-Response-Format': '1.9.5',
652
652
  };
653
653
  this.realtime = {
@@ -9517,7 +9517,8 @@ class DocumentsDB {
9517
9517
  name: rest[0],
9518
9518
  enabled: rest[1],
9519
9519
  specification: rest[2],
9520
- replicas: rest[3]
9520
+ replicas: rest[3],
9521
+ syncMode: rest[4]
9521
9522
  };
9522
9523
  }
9523
9524
  const databaseId = params.databaseId;
@@ -9525,6 +9526,7 @@ class DocumentsDB {
9525
9526
  const enabled = params.enabled;
9526
9527
  const specification = params.specification;
9527
9528
  const replicas = params.replicas;
9529
+ const syncMode = params.syncMode;
9528
9530
  if (typeof databaseId === 'undefined') {
9529
9531
  throw new AppwriteException('Missing required parameter: "databaseId"');
9530
9532
  }
@@ -9548,6 +9550,9 @@ class DocumentsDB {
9548
9550
  if (typeof replicas !== 'undefined') {
9549
9551
  payload['replicas'] = replicas;
9550
9552
  }
9553
+ if (typeof syncMode !== 'undefined') {
9554
+ payload['syncMode'] = syncMode;
9555
+ }
9551
9556
  const uri = new URL(this.client.config.endpoint + apiPath);
9552
9557
  const apiHeaders = {
9553
9558
  'X-Appwrite-Project': this.client.config.project,
@@ -9732,13 +9737,17 @@ class DocumentsDB {
9732
9737
  databaseId: paramsOrFirst,
9733
9738
  name: rest[0],
9734
9739
  enabled: rest[1],
9735
- replicas: rest[2]
9740
+ specification: rest[2],
9741
+ replicas: rest[3],
9742
+ syncMode: rest[4]
9736
9743
  };
9737
9744
  }
9738
9745
  const databaseId = params.databaseId;
9739
9746
  const name = params.name;
9740
9747
  const enabled = params.enabled;
9748
+ const specification = params.specification;
9741
9749
  const replicas = params.replicas;
9750
+ const syncMode = params.syncMode;
9742
9751
  if (typeof databaseId === 'undefined') {
9743
9752
  throw new AppwriteException('Missing required parameter: "databaseId"');
9744
9753
  }
@@ -9753,9 +9762,15 @@ class DocumentsDB {
9753
9762
  if (typeof enabled !== 'undefined') {
9754
9763
  payload['enabled'] = enabled;
9755
9764
  }
9765
+ if (typeof specification !== 'undefined') {
9766
+ payload['specification'] = specification;
9767
+ }
9756
9768
  if (typeof replicas !== 'undefined') {
9757
9769
  payload['replicas'] = replicas;
9758
9770
  }
9771
+ if (typeof syncMode !== 'undefined') {
9772
+ payload['syncMode'] = syncMode;
9773
+ }
9759
9774
  const uri = new URL(this.client.config.endpoint + apiPath);
9760
9775
  const apiHeaders = {
9761
9776
  'X-Appwrite-Project': this.client.config.project,
@@ -18476,8 +18491,7 @@ class Mongo {
18476
18491
  pitrRetentionDays: rest[10],
18477
18492
  storageAutoscaling: rest[11],
18478
18493
  storageAutoscalingThresholdPercent: rest[12],
18479
- storageAutoscalingMaxGb: rest[13],
18480
- api: rest[14]
18494
+ storageAutoscalingMaxGb: rest[13]
18481
18495
  };
18482
18496
  }
18483
18497
  const databaseId = params.databaseId;
@@ -18495,7 +18509,6 @@ class Mongo {
18495
18509
  const storageAutoscaling = params.storageAutoscaling;
18496
18510
  const storageAutoscalingThresholdPercent = params.storageAutoscalingThresholdPercent;
18497
18511
  const storageAutoscalingMaxGb = params.storageAutoscalingMaxGb;
18498
- const api = params.api;
18499
18512
  if (typeof databaseId === 'undefined') {
18500
18513
  throw new AppwriteException('Missing required parameter: "databaseId"');
18501
18514
  }
@@ -18549,9 +18562,6 @@ class Mongo {
18549
18562
  if (typeof storageAutoscalingMaxGb !== 'undefined') {
18550
18563
  payload['storageAutoscalingMaxGb'] = storageAutoscalingMaxGb;
18551
18564
  }
18552
- if (typeof api !== 'undefined') {
18553
- payload['api'] = api;
18554
- }
18555
18565
  const uri = new URL(this.client.config.endpoint + apiPath);
18556
18566
  const apiHeaders = {
18557
18567
  'X-Appwrite-Project': this.client.config.project,
@@ -19657,8 +19667,7 @@ class Mysql {
19657
19667
  pitrRetentionDays: rest[10],
19658
19668
  storageAutoscaling: rest[11],
19659
19669
  storageAutoscalingThresholdPercent: rest[12],
19660
- storageAutoscalingMaxGb: rest[13],
19661
- api: rest[14]
19670
+ storageAutoscalingMaxGb: rest[13]
19662
19671
  };
19663
19672
  }
19664
19673
  const databaseId = params.databaseId;
@@ -19676,7 +19685,6 @@ class Mysql {
19676
19685
  const storageAutoscaling = params.storageAutoscaling;
19677
19686
  const storageAutoscalingThresholdPercent = params.storageAutoscalingThresholdPercent;
19678
19687
  const storageAutoscalingMaxGb = params.storageAutoscalingMaxGb;
19679
- const api = params.api;
19680
19688
  if (typeof databaseId === 'undefined') {
19681
19689
  throw new AppwriteException('Missing required parameter: "databaseId"');
19682
19690
  }
@@ -19730,9 +19738,6 @@ class Mysql {
19730
19738
  if (typeof storageAutoscalingMaxGb !== 'undefined') {
19731
19739
  payload['storageAutoscalingMaxGb'] = storageAutoscalingMaxGb;
19732
19740
  }
19733
- if (typeof api !== 'undefined') {
19734
- payload['api'] = api;
19735
- }
19736
19741
  const uri = new URL(this.client.config.endpoint + apiPath);
19737
19742
  const apiHeaders = {
19738
19743
  'X-Appwrite-Project': this.client.config.project,
@@ -23846,8 +23851,7 @@ class Postgresql {
23846
23851
  pitrRetentionDays: rest[10],
23847
23852
  storageAutoscaling: rest[11],
23848
23853
  storageAutoscalingThresholdPercent: rest[12],
23849
- storageAutoscalingMaxGb: rest[13],
23850
- api: rest[14]
23854
+ storageAutoscalingMaxGb: rest[13]
23851
23855
  };
23852
23856
  }
23853
23857
  const databaseId = params.databaseId;
@@ -23865,7 +23869,6 @@ class Postgresql {
23865
23869
  const storageAutoscaling = params.storageAutoscaling;
23866
23870
  const storageAutoscalingThresholdPercent = params.storageAutoscalingThresholdPercent;
23867
23871
  const storageAutoscalingMaxGb = params.storageAutoscalingMaxGb;
23868
- const api = params.api;
23869
23872
  if (typeof databaseId === 'undefined') {
23870
23873
  throw new AppwriteException('Missing required parameter: "databaseId"');
23871
23874
  }
@@ -23919,9 +23922,6 @@ class Postgresql {
23919
23922
  if (typeof storageAutoscalingMaxGb !== 'undefined') {
23920
23923
  payload['storageAutoscalingMaxGb'] = storageAutoscalingMaxGb;
23921
23924
  }
23922
- if (typeof api !== 'undefined') {
23923
- payload['api'] = api;
23924
- }
23925
23925
  const uri = new URL(this.client.config.endpoint + apiPath);
23926
23926
  const apiHeaders = {
23927
23927
  'X-Appwrite-Project': this.client.config.project,
@@ -31377,14 +31377,16 @@ class Storage {
31377
31377
  bucketId: paramsOrFirst,
31378
31378
  fileId: rest[0],
31379
31379
  file: rest[1],
31380
- permissions: rest[2]
31380
+ permissions: rest[2],
31381
+ folder: rest[3]
31381
31382
  };
31382
- onProgress = rest[3];
31383
+ onProgress = rest[4];
31383
31384
  }
31384
31385
  const bucketId = params.bucketId;
31385
31386
  const fileId = params.fileId;
31386
31387
  const file = params.file;
31387
31388
  const permissions = params.permissions;
31389
+ const folder = params.folder;
31388
31390
  if (typeof bucketId === 'undefined') {
31389
31391
  throw new AppwriteException('Missing required parameter: "bucketId"');
31390
31392
  }
@@ -31405,6 +31407,9 @@ class Storage {
31405
31407
  if (typeof permissions !== 'undefined') {
31406
31408
  payload['permissions'] = permissions;
31407
31409
  }
31410
+ if (typeof folder !== 'undefined') {
31411
+ payload['folder'] = folder;
31412
+ }
31408
31413
  const uri = new URL(this.client.config.endpoint + apiPath);
31409
31414
  const apiHeaders = {
31410
31415
  'X-Appwrite-Project': this.client.config.project,
@@ -31721,7 +31726,8 @@ class TablesDB {
31721
31726
  name: rest[0],
31722
31727
  enabled: rest[1],
31723
31728
  specification: rest[2],
31724
- replicas: rest[3]
31729
+ replicas: rest[3],
31730
+ syncMode: rest[4]
31725
31731
  };
31726
31732
  }
31727
31733
  const databaseId = params.databaseId;
@@ -31729,6 +31735,7 @@ class TablesDB {
31729
31735
  const enabled = params.enabled;
31730
31736
  const specification = params.specification;
31731
31737
  const replicas = params.replicas;
31738
+ const syncMode = params.syncMode;
31732
31739
  if (typeof databaseId === 'undefined') {
31733
31740
  throw new AppwriteException('Missing required parameter: "databaseId"');
31734
31741
  }
@@ -31752,6 +31759,9 @@ class TablesDB {
31752
31759
  if (typeof replicas !== 'undefined') {
31753
31760
  payload['replicas'] = replicas;
31754
31761
  }
31762
+ if (typeof syncMode !== 'undefined') {
31763
+ payload['syncMode'] = syncMode;
31764
+ }
31755
31765
  const uri = new URL(this.client.config.endpoint + apiPath);
31756
31766
  const apiHeaders = {
31757
31767
  'X-Appwrite-Project': this.client.config.project,
@@ -31965,13 +31975,17 @@ class TablesDB {
31965
31975
  databaseId: paramsOrFirst,
31966
31976
  name: rest[0],
31967
31977
  enabled: rest[1],
31968
- replicas: rest[2]
31978
+ specification: rest[2],
31979
+ replicas: rest[3],
31980
+ syncMode: rest[4]
31969
31981
  };
31970
31982
  }
31971
31983
  const databaseId = params.databaseId;
31972
31984
  const name = params.name;
31973
31985
  const enabled = params.enabled;
31986
+ const specification = params.specification;
31974
31987
  const replicas = params.replicas;
31988
+ const syncMode = params.syncMode;
31975
31989
  if (typeof databaseId === 'undefined') {
31976
31990
  throw new AppwriteException('Missing required parameter: "databaseId"');
31977
31991
  }
@@ -31983,9 +31997,15 @@ class TablesDB {
31983
31997
  if (typeof enabled !== 'undefined') {
31984
31998
  payload['enabled'] = enabled;
31985
31999
  }
32000
+ if (typeof specification !== 'undefined') {
32001
+ payload['specification'] = specification;
32002
+ }
31986
32003
  if (typeof replicas !== 'undefined') {
31987
32004
  payload['replicas'] = replicas;
31988
32005
  }
32006
+ if (typeof syncMode !== 'undefined') {
32007
+ payload['syncMode'] = syncMode;
32008
+ }
31989
32009
  const uri = new URL(this.client.config.endpoint + apiPath);
31990
32010
  const apiHeaders = {
31991
32011
  'X-Appwrite-Project': this.client.config.project,
@@ -38440,7 +38460,8 @@ class VectorsDB {
38440
38460
  name: rest[0],
38441
38461
  enabled: rest[1],
38442
38462
  specification: rest[2],
38443
- replicas: rest[3]
38463
+ replicas: rest[3],
38464
+ syncMode: rest[4]
38444
38465
  };
38445
38466
  }
38446
38467
  const databaseId = params.databaseId;
@@ -38448,6 +38469,7 @@ class VectorsDB {
38448
38469
  const enabled = params.enabled;
38449
38470
  const specification = params.specification;
38450
38471
  const replicas = params.replicas;
38472
+ const syncMode = params.syncMode;
38451
38473
  if (typeof databaseId === 'undefined') {
38452
38474
  throw new AppwriteException('Missing required parameter: "databaseId"');
38453
38475
  }
@@ -38471,6 +38493,9 @@ class VectorsDB {
38471
38493
  if (typeof replicas !== 'undefined') {
38472
38494
  payload['replicas'] = replicas;
38473
38495
  }
38496
+ if (typeof syncMode !== 'undefined') {
38497
+ payload['syncMode'] = syncMode;
38498
+ }
38474
38499
  const uri = new URL(this.client.config.endpoint + apiPath);
38475
38500
  const apiHeaders = {
38476
38501
  'X-Appwrite-Project': this.client.config.project,
@@ -38716,13 +38741,17 @@ class VectorsDB {
38716
38741
  databaseId: paramsOrFirst,
38717
38742
  name: rest[0],
38718
38743
  enabled: rest[1],
38719
- replicas: rest[2]
38744
+ specification: rest[2],
38745
+ replicas: rest[3],
38746
+ syncMode: rest[4]
38720
38747
  };
38721
38748
  }
38722
38749
  const databaseId = params.databaseId;
38723
38750
  const name = params.name;
38724
38751
  const enabled = params.enabled;
38752
+ const specification = params.specification;
38725
38753
  const replicas = params.replicas;
38754
+ const syncMode = params.syncMode;
38726
38755
  if (typeof databaseId === 'undefined') {
38727
38756
  throw new AppwriteException('Missing required parameter: "databaseId"');
38728
38757
  }
@@ -38737,9 +38766,15 @@ class VectorsDB {
38737
38766
  if (typeof enabled !== 'undefined') {
38738
38767
  payload['enabled'] = enabled;
38739
38768
  }
38769
+ if (typeof specification !== 'undefined') {
38770
+ payload['specification'] = specification;
38771
+ }
38740
38772
  if (typeof replicas !== 'undefined') {
38741
38773
  payload['replicas'] = replicas;
38742
38774
  }
38775
+ if (typeof syncMode !== 'undefined') {
38776
+ payload['syncMode'] = syncMode;
38777
+ }
38743
38778
  const uri = new URL(this.client.config.endpoint + apiPath);
38744
38779
  const apiHeaders = {
38745
38780
  'X-Appwrite-Project': this.client.config.project,
@@ -39919,6 +39954,163 @@ class Waf {
39919
39954
  };
39920
39955
  return this.client.call('patch', uri, apiHeaders, payload);
39921
39956
  }
39957
+ createChallengeRule(paramsOrFirst, ...rest) {
39958
+ let params;
39959
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
39960
+ params = (paramsOrFirst || {});
39961
+ }
39962
+ else {
39963
+ params = {
39964
+ ruleId: paramsOrFirst,
39965
+ resourceType: rest[0],
39966
+ name: rest[1],
39967
+ resourceId: rest[2],
39968
+ description: rest[3],
39969
+ challengeType: rest[4],
39970
+ priority: rest[5],
39971
+ enabled: rest[6],
39972
+ conditions: rest[7],
39973
+ difficulty: rest[8],
39974
+ ttl: rest[9]
39975
+ };
39976
+ }
39977
+ const ruleId = params.ruleId;
39978
+ const resourceType = params.resourceType;
39979
+ const name = params.name;
39980
+ const resourceId = params.resourceId;
39981
+ const description = params.description;
39982
+ const challengeType = params.challengeType;
39983
+ const priority = params.priority;
39984
+ const enabled = params.enabled;
39985
+ const conditions = params.conditions;
39986
+ const difficulty = params.difficulty;
39987
+ const ttl = params.ttl;
39988
+ if (typeof ruleId === 'undefined') {
39989
+ throw new AppwriteException('Missing required parameter: "ruleId"');
39990
+ }
39991
+ if (typeof resourceType === 'undefined') {
39992
+ throw new AppwriteException('Missing required parameter: "resourceType"');
39993
+ }
39994
+ if (typeof name === 'undefined') {
39995
+ throw new AppwriteException('Missing required parameter: "name"');
39996
+ }
39997
+ const apiPath = '/waf/rules/challenge';
39998
+ const payload = {};
39999
+ if (typeof ruleId !== 'undefined') {
40000
+ payload['ruleId'] = ruleId;
40001
+ }
40002
+ if (typeof resourceType !== 'undefined') {
40003
+ payload['resourceType'] = resourceType;
40004
+ }
40005
+ if (typeof resourceId !== 'undefined') {
40006
+ payload['resourceId'] = resourceId;
40007
+ }
40008
+ if (typeof name !== 'undefined') {
40009
+ payload['name'] = name;
40010
+ }
40011
+ if (typeof description !== 'undefined') {
40012
+ payload['description'] = description;
40013
+ }
40014
+ if (typeof challengeType !== 'undefined') {
40015
+ payload['challengeType'] = challengeType;
40016
+ }
40017
+ if (typeof priority !== 'undefined') {
40018
+ payload['priority'] = priority;
40019
+ }
40020
+ if (typeof enabled !== 'undefined') {
40021
+ payload['enabled'] = enabled;
40022
+ }
40023
+ if (typeof conditions !== 'undefined') {
40024
+ payload['conditions'] = conditions;
40025
+ }
40026
+ if (typeof difficulty !== 'undefined') {
40027
+ payload['difficulty'] = difficulty;
40028
+ }
40029
+ if (typeof ttl !== 'undefined') {
40030
+ payload['ttl'] = ttl;
40031
+ }
40032
+ const uri = new URL(this.client.config.endpoint + apiPath);
40033
+ const apiHeaders = {
40034
+ 'X-Appwrite-Project': this.client.config.project,
40035
+ 'content-type': 'application/json',
40036
+ 'accept': 'application/json',
40037
+ };
40038
+ return this.client.call('post', uri, apiHeaders, payload);
40039
+ }
40040
+ updateChallengeRule(paramsOrFirst, ...rest) {
40041
+ let params;
40042
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
40043
+ params = (paramsOrFirst || {});
40044
+ }
40045
+ else {
40046
+ params = {
40047
+ ruleId: paramsOrFirst,
40048
+ resourceType: rest[0],
40049
+ resourceId: rest[1],
40050
+ name: rest[2],
40051
+ description: rest[3],
40052
+ challengeType: rest[4],
40053
+ priority: rest[5],
40054
+ enabled: rest[6],
40055
+ conditions: rest[7],
40056
+ difficulty: rest[8],
40057
+ ttl: rest[9]
40058
+ };
40059
+ }
40060
+ const ruleId = params.ruleId;
40061
+ const resourceType = params.resourceType;
40062
+ const resourceId = params.resourceId;
40063
+ const name = params.name;
40064
+ const description = params.description;
40065
+ const challengeType = params.challengeType;
40066
+ const priority = params.priority;
40067
+ const enabled = params.enabled;
40068
+ const conditions = params.conditions;
40069
+ const difficulty = params.difficulty;
40070
+ const ttl = params.ttl;
40071
+ if (typeof ruleId === 'undefined') {
40072
+ throw new AppwriteException('Missing required parameter: "ruleId"');
40073
+ }
40074
+ const apiPath = '/waf/rules/challenge/{ruleId}'.replace('{ruleId}', encodeURIComponent(String(ruleId)));
40075
+ const payload = {};
40076
+ if (typeof resourceType !== 'undefined') {
40077
+ payload['resourceType'] = resourceType;
40078
+ }
40079
+ if (typeof resourceId !== 'undefined') {
40080
+ payload['resourceId'] = resourceId;
40081
+ }
40082
+ if (typeof name !== 'undefined') {
40083
+ payload['name'] = name;
40084
+ }
40085
+ if (typeof description !== 'undefined') {
40086
+ payload['description'] = description;
40087
+ }
40088
+ if (typeof challengeType !== 'undefined') {
40089
+ payload['challengeType'] = challengeType;
40090
+ }
40091
+ if (typeof priority !== 'undefined') {
40092
+ payload['priority'] = priority;
40093
+ }
40094
+ if (typeof enabled !== 'undefined') {
40095
+ payload['enabled'] = enabled;
40096
+ }
40097
+ if (typeof conditions !== 'undefined') {
40098
+ payload['conditions'] = conditions;
40099
+ }
40100
+ if (typeof difficulty !== 'undefined') {
40101
+ payload['difficulty'] = difficulty;
40102
+ }
40103
+ if (typeof ttl !== 'undefined') {
40104
+ payload['ttl'] = ttl;
40105
+ }
40106
+ const uri = new URL(this.client.config.endpoint + apiPath);
40107
+ const apiHeaders = {
40108
+ 'X-Appwrite-Project': this.client.config.project,
40109
+ 'content-type': 'application/json',
40110
+ 'accept': 'application/json',
40111
+ };
40112
+ return this.client.call('patch', uri, apiHeaders, payload);
40113
+ }
39922
40114
  createDenyRule(paramsOrFirst, ...rest) {
39923
40115
  let params;
39924
40116
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -40060,9 +40252,10 @@ class Waf {
40060
40252
  interval: rest[3],
40061
40253
  resourceId: rest[4],
40062
40254
  description: rest[5],
40063
- priority: rest[6],
40064
- enabled: rest[7],
40065
- conditions: rest[8]
40255
+ key: rest[6],
40256
+ priority: rest[7],
40257
+ enabled: rest[8],
40258
+ conditions: rest[9]
40066
40259
  };
40067
40260
  }
40068
40261
  const ruleId = params.ruleId;
@@ -40072,6 +40265,7 @@ class Waf {
40072
40265
  const interval = params.interval;
40073
40266
  const resourceId = params.resourceId;
40074
40267
  const description = params.description;
40268
+ const key = params.key;
40075
40269
  const priority = params.priority;
40076
40270
  const enabled = params.enabled;
40077
40271
  const conditions = params.conditions;
@@ -40113,6 +40307,9 @@ class Waf {
40113
40307
  if (typeof interval !== 'undefined') {
40114
40308
  payload['interval'] = interval;
40115
40309
  }
40310
+ if (typeof key !== 'undefined') {
40311
+ payload['key'] = key;
40312
+ }
40116
40313
  if (typeof priority !== 'undefined') {
40117
40314
  payload['priority'] = priority;
40118
40315
  }
@@ -40144,9 +40341,10 @@ class Waf {
40144
40341
  description: rest[3],
40145
40342
  limit: rest[4],
40146
40343
  interval: rest[5],
40147
- priority: rest[6],
40148
- enabled: rest[7],
40149
- conditions: rest[8]
40344
+ key: rest[6],
40345
+ priority: rest[7],
40346
+ enabled: rest[8],
40347
+ conditions: rest[9]
40150
40348
  };
40151
40349
  }
40152
40350
  const ruleId = params.ruleId;
@@ -40156,6 +40354,7 @@ class Waf {
40156
40354
  const description = params.description;
40157
40355
  const limit = params.limit;
40158
40356
  const interval = params.interval;
40357
+ const key = params.key;
40159
40358
  const priority = params.priority;
40160
40359
  const enabled = params.enabled;
40161
40360
  const conditions = params.conditions;
@@ -40182,6 +40381,9 @@ class Waf {
40182
40381
  if (typeof interval !== 'undefined') {
40183
40382
  payload['interval'] = interval;
40184
40383
  }
40384
+ if (typeof key !== 'undefined') {
40385
+ payload['key'] = key;
40386
+ }
40185
40387
  if (typeof priority !== 'undefined') {
40186
40388
  payload['priority'] = priority;
40187
40389
  }
@@ -42864,6 +43066,7 @@ exports.Runtime = void 0;
42864
43066
  Runtime["Node23"] = "node-23";
42865
43067
  Runtime["Node24"] = "node-24";
42866
43068
  Runtime["Node25"] = "node-25";
43069
+ Runtime["Node26"] = "node-26";
42867
43070
  Runtime["Php80"] = "php-8.0";
42868
43071
  Runtime["Php81"] = "php-8.1";
42869
43072
  Runtime["Php82"] = "php-8.2";
@@ -43477,6 +43680,7 @@ exports.BuildRuntime = void 0;
43477
43680
  BuildRuntime["Node23"] = "node-23";
43478
43681
  BuildRuntime["Node24"] = "node-24";
43479
43682
  BuildRuntime["Node25"] = "node-25";
43683
+ BuildRuntime["Node26"] = "node-26";
43480
43684
  BuildRuntime["Php80"] = "php-8.0";
43481
43685
  BuildRuntime["Php81"] = "php-8.1";
43482
43686
  BuildRuntime["Php82"] = "php-8.2";