@appwrite.io/console 2.3.0 → 3.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 (56) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +2 -2
  3. package/dist/cjs/sdk.js +294 -28
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +294 -28
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +347 -61
  8. package/docs/examples/activities/get-event.md +15 -0
  9. package/docs/examples/activities/list-events.md +15 -0
  10. package/docs/examples/databases/create-longtext-attribute.md +2 -1
  11. package/docs/examples/databases/create-mediumtext-attribute.md +2 -1
  12. package/docs/examples/databases/create-text-attribute.md +2 -1
  13. package/docs/examples/databases/create-varchar-attribute.md +2 -1
  14. package/docs/examples/projects/create-schedule.md +20 -0
  15. package/docs/examples/projects/get-schedule.md +16 -0
  16. package/docs/examples/projects/list-schedules.md +17 -0
  17. package/docs/examples/tablesdb/create-longtext-column.md +2 -1
  18. package/docs/examples/tablesdb/create-mediumtext-column.md +2 -1
  19. package/docs/examples/tablesdb/create-text-column.md +2 -1
  20. package/docs/examples/tablesdb/create-varchar-column.md +2 -1
  21. package/package.json +2 -3
  22. package/src/channel.ts +4 -0
  23. package/src/client.ts +11 -3
  24. package/src/enums/build-runtime.ts +20 -3
  25. package/src/enums/email-template-type.ts +4 -4
  26. package/src/enums/o-auth-provider.ts +0 -2
  27. package/src/enums/resource-type.ts +6 -0
  28. package/src/enums/runtime.ts +20 -3
  29. package/src/enums/runtimes.ts +20 -3
  30. package/src/enums/scopes.ts +2 -0
  31. package/src/enums/sms-template-type.ts +1 -1
  32. package/src/index.ts +3 -0
  33. package/src/models.ts +250 -6
  34. package/src/services/account.ts +4 -4
  35. package/src/services/activities.ts +116 -0
  36. package/src/services/databases.ts +56 -28
  37. package/src/services/migrations.ts +2 -2
  38. package/src/services/projects.ts +223 -0
  39. package/src/services/tables-db.ts +56 -28
  40. package/types/channel.d.ts +1 -0
  41. package/types/enums/build-runtime.d.ts +20 -3
  42. package/types/enums/email-template-type.d.ts +4 -4
  43. package/types/enums/o-auth-provider.d.ts +1 -3
  44. package/types/enums/resource-type.d.ts +6 -0
  45. package/types/enums/runtime.d.ts +20 -3
  46. package/types/enums/runtimes.d.ts +20 -3
  47. package/types/enums/scopes.d.ts +2 -0
  48. package/types/enums/sms-template-type.d.ts +1 -1
  49. package/types/index.d.ts +3 -0
  50. package/types/models.d.ts +246 -6
  51. package/types/services/account.d.ts +4 -4
  52. package/types/services/activities.d.ts +46 -0
  53. package/types/services/databases.d.ts +16 -4
  54. package/types/services/migrations.d.ts +2 -2
  55. package/types/services/projects.d.ts +82 -0
  56. package/types/services/tables-db.d.ts +16 -4
package/dist/cjs/sdk.js CHANGED
@@ -1,12 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var JSONbigModule = require('json-bigint');
4
- var BigNumber = require('bignumber.js');
5
4
 
6
5
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
6
 
8
7
  var JSONbigModule__default = /*#__PURE__*/_interopDefaultLegacy(JSONbigModule);
9
- var BigNumber__default = /*#__PURE__*/_interopDefaultLegacy(BigNumber);
10
8
 
11
9
  /******************************************************************************
12
10
  Copyright (c) Microsoft Corporation.
@@ -474,8 +472,16 @@ const JSONbigParser = JSONbigModule__default["default"]({ storeAsString: false }
474
472
  const JSONbigSerializer = JSONbigModule__default["default"]({ useNativeBigInt: true });
475
473
  const MAX_SAFE = BigInt(Number.MAX_SAFE_INTEGER);
476
474
  const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER);
475
+ function isBigNumber(value) {
476
+ return value !== null
477
+ && typeof value === 'object'
478
+ && value._isBigNumber === true
479
+ && typeof value.isInteger === 'function'
480
+ && typeof value.toFixed === 'function'
481
+ && typeof value.toNumber === 'function';
482
+ }
477
483
  function reviver(_key, value) {
478
- if (BigNumber__default["default"].isBigNumber(value)) {
484
+ if (isBigNumber(value)) {
479
485
  if (value.isInteger()) {
480
486
  const str = value.toFixed();
481
487
  const bi = BigInt(str);
@@ -541,7 +547,7 @@ class Client {
541
547
  'x-sdk-name': 'Console',
542
548
  'x-sdk-platform': 'console',
543
549
  'x-sdk-language': 'web',
544
- 'x-sdk-version': '2.3.0',
550
+ 'x-sdk-version': '3.0.0',
545
551
  'X-Appwrite-Response-Format': '1.8.0',
546
552
  };
547
553
  this.realtime = {
@@ -3194,6 +3200,52 @@ class Account {
3194
3200
  }
3195
3201
  }
3196
3202
 
3203
+ class Activities {
3204
+ constructor(client) {
3205
+ this.client = client;
3206
+ }
3207
+ listEvents(paramsOrFirst) {
3208
+ let params;
3209
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
3210
+ params = (paramsOrFirst || {});
3211
+ }
3212
+ else {
3213
+ params = {
3214
+ queries: paramsOrFirst
3215
+ };
3216
+ }
3217
+ const queries = params.queries;
3218
+ const apiPath = '/activities/events';
3219
+ const payload = {};
3220
+ if (typeof queries !== 'undefined') {
3221
+ payload['queries'] = queries;
3222
+ }
3223
+ const uri = new URL(this.client.config.endpoint + apiPath);
3224
+ const apiHeaders = {};
3225
+ return this.client.call('get', uri, apiHeaders, payload);
3226
+ }
3227
+ getEvent(paramsOrFirst) {
3228
+ let params;
3229
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
3230
+ params = (paramsOrFirst || {});
3231
+ }
3232
+ else {
3233
+ params = {
3234
+ eventId: paramsOrFirst
3235
+ };
3236
+ }
3237
+ const eventId = params.eventId;
3238
+ if (typeof eventId === 'undefined') {
3239
+ throw new AppwriteException('Missing required parameter: "eventId"');
3240
+ }
3241
+ const apiPath = '/activities/events/{eventId}'.replace('{eventId}', eventId);
3242
+ const payload = {};
3243
+ const uri = new URL(this.client.config.endpoint + apiPath);
3244
+ const apiHeaders = {};
3245
+ return this.client.call('get', uri, apiHeaders, payload);
3246
+ }
3247
+ }
3248
+
3197
3249
  class Avatars {
3198
3250
  constructor(client) {
3199
3251
  this.client = client;
@@ -5719,7 +5771,8 @@ class Databases {
5719
5771
  key: rest[1],
5720
5772
  required: rest[2],
5721
5773
  xdefault: rest[3],
5722
- array: rest[4]
5774
+ array: rest[4],
5775
+ encrypt: rest[5]
5723
5776
  };
5724
5777
  }
5725
5778
  const databaseId = params.databaseId;
@@ -5728,6 +5781,7 @@ class Databases {
5728
5781
  const required = params.required;
5729
5782
  const xdefault = params.xdefault;
5730
5783
  const array = params.array;
5784
+ const encrypt = params.encrypt;
5731
5785
  if (typeof databaseId === 'undefined') {
5732
5786
  throw new AppwriteException('Missing required parameter: "databaseId"');
5733
5787
  }
@@ -5754,6 +5808,9 @@ class Databases {
5754
5808
  if (typeof array !== 'undefined') {
5755
5809
  payload['array'] = array;
5756
5810
  }
5811
+ if (typeof encrypt !== 'undefined') {
5812
+ payload['encrypt'] = encrypt;
5813
+ }
5757
5814
  const uri = new URL(this.client.config.endpoint + apiPath);
5758
5815
  const apiHeaders = {
5759
5816
  'content-type': 'application/json',
@@ -5825,7 +5882,8 @@ class Databases {
5825
5882
  key: rest[1],
5826
5883
  required: rest[2],
5827
5884
  xdefault: rest[3],
5828
- array: rest[4]
5885
+ array: rest[4],
5886
+ encrypt: rest[5]
5829
5887
  };
5830
5888
  }
5831
5889
  const databaseId = params.databaseId;
@@ -5834,6 +5892,7 @@ class Databases {
5834
5892
  const required = params.required;
5835
5893
  const xdefault = params.xdefault;
5836
5894
  const array = params.array;
5895
+ const encrypt = params.encrypt;
5837
5896
  if (typeof databaseId === 'undefined') {
5838
5897
  throw new AppwriteException('Missing required parameter: "databaseId"');
5839
5898
  }
@@ -5860,6 +5919,9 @@ class Databases {
5860
5919
  if (typeof array !== 'undefined') {
5861
5920
  payload['array'] = array;
5862
5921
  }
5922
+ if (typeof encrypt !== 'undefined') {
5923
+ payload['encrypt'] = encrypt;
5924
+ }
5863
5925
  const uri = new URL(this.client.config.endpoint + apiPath);
5864
5926
  const apiHeaders = {
5865
5927
  'content-type': 'application/json',
@@ -6314,7 +6376,8 @@ class Databases {
6314
6376
  key: rest[1],
6315
6377
  required: rest[2],
6316
6378
  xdefault: rest[3],
6317
- array: rest[4]
6379
+ array: rest[4],
6380
+ encrypt: rest[5]
6318
6381
  };
6319
6382
  }
6320
6383
  const databaseId = params.databaseId;
@@ -6323,6 +6386,7 @@ class Databases {
6323
6386
  const required = params.required;
6324
6387
  const xdefault = params.xdefault;
6325
6388
  const array = params.array;
6389
+ const encrypt = params.encrypt;
6326
6390
  if (typeof databaseId === 'undefined') {
6327
6391
  throw new AppwriteException('Missing required parameter: "databaseId"');
6328
6392
  }
@@ -6349,6 +6413,9 @@ class Databases {
6349
6413
  if (typeof array !== 'undefined') {
6350
6414
  payload['array'] = array;
6351
6415
  }
6416
+ if (typeof encrypt !== 'undefined') {
6417
+ payload['encrypt'] = encrypt;
6418
+ }
6352
6419
  const uri = new URL(this.client.config.endpoint + apiPath);
6353
6420
  const apiHeaders = {
6354
6421
  'content-type': 'application/json',
@@ -6527,7 +6594,8 @@ class Databases {
6527
6594
  size: rest[2],
6528
6595
  required: rest[3],
6529
6596
  xdefault: rest[4],
6530
- array: rest[5]
6597
+ array: rest[5],
6598
+ encrypt: rest[6]
6531
6599
  };
6532
6600
  }
6533
6601
  const databaseId = params.databaseId;
@@ -6537,6 +6605,7 @@ class Databases {
6537
6605
  const required = params.required;
6538
6606
  const xdefault = params.xdefault;
6539
6607
  const array = params.array;
6608
+ const encrypt = params.encrypt;
6540
6609
  if (typeof databaseId === 'undefined') {
6541
6610
  throw new AppwriteException('Missing required parameter: "databaseId"');
6542
6611
  }
@@ -6569,6 +6638,9 @@ class Databases {
6569
6638
  if (typeof array !== 'undefined') {
6570
6639
  payload['array'] = array;
6571
6640
  }
6641
+ if (typeof encrypt !== 'undefined') {
6642
+ payload['encrypt'] = encrypt;
6643
+ }
6572
6644
  const uri = new URL(this.client.config.endpoint + apiPath);
6573
6645
  const apiHeaders = {
6574
6646
  'content-type': 'application/json',
@@ -17409,6 +17481,117 @@ class Projects {
17409
17481
  };
17410
17482
  return this.client.call('delete', uri, apiHeaders, payload);
17411
17483
  }
17484
+ listSchedules(paramsOrFirst, ...rest) {
17485
+ let params;
17486
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
17487
+ params = (paramsOrFirst || {});
17488
+ }
17489
+ else {
17490
+ params = {
17491
+ projectId: paramsOrFirst,
17492
+ queries: rest[0],
17493
+ total: rest[1]
17494
+ };
17495
+ }
17496
+ const projectId = params.projectId;
17497
+ const queries = params.queries;
17498
+ const total = params.total;
17499
+ if (typeof projectId === 'undefined') {
17500
+ throw new AppwriteException('Missing required parameter: "projectId"');
17501
+ }
17502
+ const apiPath = '/projects/{projectId}/schedules'.replace('{projectId}', projectId);
17503
+ const payload = {};
17504
+ if (typeof queries !== 'undefined') {
17505
+ payload['queries'] = queries;
17506
+ }
17507
+ if (typeof total !== 'undefined') {
17508
+ payload['total'] = total;
17509
+ }
17510
+ const uri = new URL(this.client.config.endpoint + apiPath);
17511
+ const apiHeaders = {};
17512
+ return this.client.call('get', uri, apiHeaders, payload);
17513
+ }
17514
+ createSchedule(paramsOrFirst, ...rest) {
17515
+ let params;
17516
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
17517
+ params = (paramsOrFirst || {});
17518
+ }
17519
+ else {
17520
+ params = {
17521
+ projectId: paramsOrFirst,
17522
+ resourceType: rest[0],
17523
+ resourceId: rest[1],
17524
+ schedule: rest[2],
17525
+ active: rest[3],
17526
+ data: rest[4]
17527
+ };
17528
+ }
17529
+ const projectId = params.projectId;
17530
+ const resourceType = params.resourceType;
17531
+ const resourceId = params.resourceId;
17532
+ const schedule = params.schedule;
17533
+ const active = params.active;
17534
+ const data = params.data;
17535
+ if (typeof projectId === 'undefined') {
17536
+ throw new AppwriteException('Missing required parameter: "projectId"');
17537
+ }
17538
+ if (typeof resourceType === 'undefined') {
17539
+ throw new AppwriteException('Missing required parameter: "resourceType"');
17540
+ }
17541
+ if (typeof resourceId === 'undefined') {
17542
+ throw new AppwriteException('Missing required parameter: "resourceId"');
17543
+ }
17544
+ if (typeof schedule === 'undefined') {
17545
+ throw new AppwriteException('Missing required parameter: "schedule"');
17546
+ }
17547
+ const apiPath = '/projects/{projectId}/schedules'.replace('{projectId}', projectId);
17548
+ const payload = {};
17549
+ if (typeof resourceType !== 'undefined') {
17550
+ payload['resourceType'] = resourceType;
17551
+ }
17552
+ if (typeof resourceId !== 'undefined') {
17553
+ payload['resourceId'] = resourceId;
17554
+ }
17555
+ if (typeof schedule !== 'undefined') {
17556
+ payload['schedule'] = schedule;
17557
+ }
17558
+ if (typeof active !== 'undefined') {
17559
+ payload['active'] = active;
17560
+ }
17561
+ if (typeof data !== 'undefined') {
17562
+ payload['data'] = data;
17563
+ }
17564
+ const uri = new URL(this.client.config.endpoint + apiPath);
17565
+ const apiHeaders = {
17566
+ 'content-type': 'application/json',
17567
+ };
17568
+ return this.client.call('post', uri, apiHeaders, payload);
17569
+ }
17570
+ getSchedule(paramsOrFirst, ...rest) {
17571
+ let params;
17572
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
17573
+ params = (paramsOrFirst || {});
17574
+ }
17575
+ else {
17576
+ params = {
17577
+ projectId: paramsOrFirst,
17578
+ scheduleId: rest[0]
17579
+ };
17580
+ }
17581
+ const projectId = params.projectId;
17582
+ const scheduleId = params.scheduleId;
17583
+ if (typeof projectId === 'undefined') {
17584
+ throw new AppwriteException('Missing required parameter: "projectId"');
17585
+ }
17586
+ if (typeof scheduleId === 'undefined') {
17587
+ throw new AppwriteException('Missing required parameter: "scheduleId"');
17588
+ }
17589
+ const apiPath = '/projects/{projectId}/schedules/{scheduleId}'.replace('{projectId}', projectId).replace('{scheduleId}', scheduleId);
17590
+ const payload = {};
17591
+ const uri = new URL(this.client.config.endpoint + apiPath);
17592
+ const apiHeaders = {};
17593
+ return this.client.call('get', uri, apiHeaders, payload);
17594
+ }
17412
17595
  updateServiceStatus(paramsOrFirst, ...rest) {
17413
17596
  let params;
17414
17597
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -21741,7 +21924,8 @@ class TablesDB {
21741
21924
  key: rest[1],
21742
21925
  required: rest[2],
21743
21926
  xdefault: rest[3],
21744
- array: rest[4]
21927
+ array: rest[4],
21928
+ encrypt: rest[5]
21745
21929
  };
21746
21930
  }
21747
21931
  const databaseId = params.databaseId;
@@ -21750,6 +21934,7 @@ class TablesDB {
21750
21934
  const required = params.required;
21751
21935
  const xdefault = params.xdefault;
21752
21936
  const array = params.array;
21937
+ const encrypt = params.encrypt;
21753
21938
  if (typeof databaseId === 'undefined') {
21754
21939
  throw new AppwriteException('Missing required parameter: "databaseId"');
21755
21940
  }
@@ -21776,6 +21961,9 @@ class TablesDB {
21776
21961
  if (typeof array !== 'undefined') {
21777
21962
  payload['array'] = array;
21778
21963
  }
21964
+ if (typeof encrypt !== 'undefined') {
21965
+ payload['encrypt'] = encrypt;
21966
+ }
21779
21967
  const uri = new URL(this.client.config.endpoint + apiPath);
21780
21968
  const apiHeaders = {
21781
21969
  'content-type': 'application/json',
@@ -21847,7 +22035,8 @@ class TablesDB {
21847
22035
  key: rest[1],
21848
22036
  required: rest[2],
21849
22037
  xdefault: rest[3],
21850
- array: rest[4]
22038
+ array: rest[4],
22039
+ encrypt: rest[5]
21851
22040
  };
21852
22041
  }
21853
22042
  const databaseId = params.databaseId;
@@ -21856,6 +22045,7 @@ class TablesDB {
21856
22045
  const required = params.required;
21857
22046
  const xdefault = params.xdefault;
21858
22047
  const array = params.array;
22048
+ const encrypt = params.encrypt;
21859
22049
  if (typeof databaseId === 'undefined') {
21860
22050
  throw new AppwriteException('Missing required parameter: "databaseId"');
21861
22051
  }
@@ -21882,6 +22072,9 @@ class TablesDB {
21882
22072
  if (typeof array !== 'undefined') {
21883
22073
  payload['array'] = array;
21884
22074
  }
22075
+ if (typeof encrypt !== 'undefined') {
22076
+ payload['encrypt'] = encrypt;
22077
+ }
21885
22078
  const uri = new URL(this.client.config.endpoint + apiPath);
21886
22079
  const apiHeaders = {
21887
22080
  'content-type': 'application/json',
@@ -22336,7 +22529,8 @@ class TablesDB {
22336
22529
  key: rest[1],
22337
22530
  required: rest[2],
22338
22531
  xdefault: rest[3],
22339
- array: rest[4]
22532
+ array: rest[4],
22533
+ encrypt: rest[5]
22340
22534
  };
22341
22535
  }
22342
22536
  const databaseId = params.databaseId;
@@ -22345,6 +22539,7 @@ class TablesDB {
22345
22539
  const required = params.required;
22346
22540
  const xdefault = params.xdefault;
22347
22541
  const array = params.array;
22542
+ const encrypt = params.encrypt;
22348
22543
  if (typeof databaseId === 'undefined') {
22349
22544
  throw new AppwriteException('Missing required parameter: "databaseId"');
22350
22545
  }
@@ -22371,6 +22566,9 @@ class TablesDB {
22371
22566
  if (typeof array !== 'undefined') {
22372
22567
  payload['array'] = array;
22373
22568
  }
22569
+ if (typeof encrypt !== 'undefined') {
22570
+ payload['encrypt'] = encrypt;
22571
+ }
22374
22572
  const uri = new URL(this.client.config.endpoint + apiPath);
22375
22573
  const apiHeaders = {
22376
22574
  'content-type': 'application/json',
@@ -22549,7 +22747,8 @@ class TablesDB {
22549
22747
  size: rest[2],
22550
22748
  required: rest[3],
22551
22749
  xdefault: rest[4],
22552
- array: rest[5]
22750
+ array: rest[5],
22751
+ encrypt: rest[6]
22553
22752
  };
22554
22753
  }
22555
22754
  const databaseId = params.databaseId;
@@ -22559,6 +22758,7 @@ class TablesDB {
22559
22758
  const required = params.required;
22560
22759
  const xdefault = params.xdefault;
22561
22760
  const array = params.array;
22761
+ const encrypt = params.encrypt;
22562
22762
  if (typeof databaseId === 'undefined') {
22563
22763
  throw new AppwriteException('Missing required parameter: "databaseId"');
22564
22764
  }
@@ -22591,6 +22791,9 @@ class TablesDB {
22591
22791
  if (typeof array !== 'undefined') {
22592
22792
  payload['array'] = array;
22593
22793
  }
22794
+ if (typeof encrypt !== 'undefined') {
22795
+ payload['encrypt'] = encrypt;
22796
+ }
22594
22797
  const uri = new URL(this.client.config.endpoint + apiPath);
22595
22798
  const apiHeaders = {
22596
22799
  'content-type': 'application/json',
@@ -26670,6 +26873,9 @@ class Channel {
26670
26873
  create() {
26671
26874
  return this.resolve("create");
26672
26875
  }
26876
+ upsert() {
26877
+ return this.resolve("upsert");
26878
+ }
26673
26879
  update() {
26674
26880
  return this.resolve("update");
26675
26881
  }
@@ -27037,6 +27243,8 @@ exports.Scopes = void 0;
27037
27243
  Scopes["TargetsWrite"] = "targets.write";
27038
27244
  Scopes["RulesRead"] = "rules.read";
27039
27245
  Scopes["RulesWrite"] = "rules.write";
27246
+ Scopes["SchedulesRead"] = "schedules.read";
27247
+ Scopes["SchedulesWrite"] = "schedules.write";
27040
27248
  Scopes["MigrationsRead"] = "migrations.read";
27041
27249
  Scopes["MigrationsWrite"] = "migrations.write";
27042
27250
  Scopes["VcsRead"] = "vcs.read";
@@ -27109,8 +27317,6 @@ exports.OAuthProvider = void 0;
27109
27317
  OAuthProvider["Yandex"] = "yandex";
27110
27318
  OAuthProvider["Zoho"] = "zoho";
27111
27319
  OAuthProvider["Zoom"] = "zoom";
27112
- OAuthProvider["GithubImagine"] = "githubImagine";
27113
- OAuthProvider["GoogleImagine"] = "googleImagine";
27114
27320
  })(exports.OAuthProvider || (exports.OAuthProvider = {}));
27115
27321
 
27116
27322
  exports.Browser = void 0;
@@ -27892,27 +28098,35 @@ exports.Runtime = void 0;
27892
28098
  Runtime["Node200"] = "node-20.0";
27893
28099
  Runtime["Node210"] = "node-21.0";
27894
28100
  Runtime["Node22"] = "node-22";
28101
+ Runtime["Node23"] = "node-23";
28102
+ Runtime["Node24"] = "node-24";
28103
+ Runtime["Node25"] = "node-25";
27895
28104
  Runtime["Php80"] = "php-8.0";
27896
28105
  Runtime["Php81"] = "php-8.1";
27897
28106
  Runtime["Php82"] = "php-8.2";
27898
28107
  Runtime["Php83"] = "php-8.3";
28108
+ Runtime["Php84"] = "php-8.4";
27899
28109
  Runtime["Ruby30"] = "ruby-3.0";
27900
28110
  Runtime["Ruby31"] = "ruby-3.1";
27901
28111
  Runtime["Ruby32"] = "ruby-3.2";
27902
28112
  Runtime["Ruby33"] = "ruby-3.3";
28113
+ Runtime["Ruby34"] = "ruby-3.4";
28114
+ Runtime["Ruby40"] = "ruby-4.0";
27903
28115
  Runtime["Python38"] = "python-3.8";
27904
28116
  Runtime["Python39"] = "python-3.9";
27905
28117
  Runtime["Python310"] = "python-3.10";
27906
28118
  Runtime["Python311"] = "python-3.11";
27907
28119
  Runtime["Python312"] = "python-3.12";
28120
+ Runtime["Python313"] = "python-3.13";
28121
+ Runtime["Python314"] = "python-3.14";
27908
28122
  Runtime["Pythonml311"] = "python-ml-3.11";
27909
28123
  Runtime["Pythonml312"] = "python-ml-3.12";
27910
- Runtime["Deno121"] = "deno-1.21";
27911
- Runtime["Deno124"] = "deno-1.24";
27912
- Runtime["Deno135"] = "deno-1.35";
28124
+ Runtime["Pythonml313"] = "python-ml-3.13";
27913
28125
  Runtime["Deno140"] = "deno-1.40";
27914
28126
  Runtime["Deno146"] = "deno-1.46";
27915
28127
  Runtime["Deno20"] = "deno-2.0";
28128
+ Runtime["Deno25"] = "deno-2.5";
28129
+ Runtime["Deno26"] = "deno-2.6";
27916
28130
  Runtime["Dart215"] = "dart-2.15";
27917
28131
  Runtime["Dart216"] = "dart-2.16";
27918
28132
  Runtime["Dart217"] = "dart-2.17";
@@ -27928,25 +28142,34 @@ exports.Runtime = void 0;
27928
28142
  Runtime["Dotnet60"] = "dotnet-6.0";
27929
28143
  Runtime["Dotnet70"] = "dotnet-7.0";
27930
28144
  Runtime["Dotnet80"] = "dotnet-8.0";
28145
+ Runtime["Dotnet10"] = "dotnet-10";
27931
28146
  Runtime["Java80"] = "java-8.0";
27932
28147
  Runtime["Java110"] = "java-11.0";
27933
28148
  Runtime["Java170"] = "java-17.0";
27934
28149
  Runtime["Java180"] = "java-18.0";
27935
28150
  Runtime["Java210"] = "java-21.0";
27936
28151
  Runtime["Java22"] = "java-22";
28152
+ Runtime["Java25"] = "java-25";
27937
28153
  Runtime["Swift55"] = "swift-5.5";
27938
28154
  Runtime["Swift58"] = "swift-5.8";
27939
28155
  Runtime["Swift59"] = "swift-5.9";
27940
28156
  Runtime["Swift510"] = "swift-5.10";
28157
+ Runtime["Swift62"] = "swift-6.2";
27941
28158
  Runtime["Kotlin16"] = "kotlin-1.6";
27942
28159
  Runtime["Kotlin18"] = "kotlin-1.8";
27943
28160
  Runtime["Kotlin19"] = "kotlin-1.9";
27944
28161
  Runtime["Kotlin20"] = "kotlin-2.0";
28162
+ Runtime["Kotlin23"] = "kotlin-2.3";
27945
28163
  Runtime["Cpp17"] = "cpp-17";
27946
28164
  Runtime["Cpp20"] = "cpp-20";
27947
28165
  Runtime["Bun10"] = "bun-1.0";
27948
28166
  Runtime["Bun11"] = "bun-1.1";
28167
+ Runtime["Bun12"] = "bun-1.2";
28168
+ Runtime["Bun13"] = "bun-1.3";
27949
28169
  Runtime["Go123"] = "go-1.23";
28170
+ Runtime["Go124"] = "go-1.24";
28171
+ Runtime["Go125"] = "go-1.25";
28172
+ Runtime["Go126"] = "go-1.26";
27950
28173
  Runtime["Static1"] = "static-1";
27951
28174
  Runtime["Flutter324"] = "flutter-3.24";
27952
28175
  Runtime["Flutter327"] = "flutter-3.27";
@@ -27965,27 +28188,35 @@ exports.Runtimes = void 0;
27965
28188
  Runtimes["Node200"] = "node-20.0";
27966
28189
  Runtimes["Node210"] = "node-21.0";
27967
28190
  Runtimes["Node22"] = "node-22";
28191
+ Runtimes["Node23"] = "node-23";
28192
+ Runtimes["Node24"] = "node-24";
28193
+ Runtimes["Node25"] = "node-25";
27968
28194
  Runtimes["Php80"] = "php-8.0";
27969
28195
  Runtimes["Php81"] = "php-8.1";
27970
28196
  Runtimes["Php82"] = "php-8.2";
27971
28197
  Runtimes["Php83"] = "php-8.3";
28198
+ Runtimes["Php84"] = "php-8.4";
27972
28199
  Runtimes["Ruby30"] = "ruby-3.0";
27973
28200
  Runtimes["Ruby31"] = "ruby-3.1";
27974
28201
  Runtimes["Ruby32"] = "ruby-3.2";
27975
28202
  Runtimes["Ruby33"] = "ruby-3.3";
28203
+ Runtimes["Ruby34"] = "ruby-3.4";
28204
+ Runtimes["Ruby40"] = "ruby-4.0";
27976
28205
  Runtimes["Python38"] = "python-3.8";
27977
28206
  Runtimes["Python39"] = "python-3.9";
27978
28207
  Runtimes["Python310"] = "python-3.10";
27979
28208
  Runtimes["Python311"] = "python-3.11";
27980
28209
  Runtimes["Python312"] = "python-3.12";
28210
+ Runtimes["Python313"] = "python-3.13";
28211
+ Runtimes["Python314"] = "python-3.14";
27981
28212
  Runtimes["Pythonml311"] = "python-ml-3.11";
27982
28213
  Runtimes["Pythonml312"] = "python-ml-3.12";
27983
- Runtimes["Deno121"] = "deno-1.21";
27984
- Runtimes["Deno124"] = "deno-1.24";
27985
- Runtimes["Deno135"] = "deno-1.35";
28214
+ Runtimes["Pythonml313"] = "python-ml-3.13";
27986
28215
  Runtimes["Deno140"] = "deno-1.40";
27987
28216
  Runtimes["Deno146"] = "deno-1.46";
27988
28217
  Runtimes["Deno20"] = "deno-2.0";
28218
+ Runtimes["Deno25"] = "deno-2.5";
28219
+ Runtimes["Deno26"] = "deno-2.6";
27989
28220
  Runtimes["Dart215"] = "dart-2.15";
27990
28221
  Runtimes["Dart216"] = "dart-2.16";
27991
28222
  Runtimes["Dart217"] = "dart-2.17";
@@ -28001,25 +28232,34 @@ exports.Runtimes = void 0;
28001
28232
  Runtimes["Dotnet60"] = "dotnet-6.0";
28002
28233
  Runtimes["Dotnet70"] = "dotnet-7.0";
28003
28234
  Runtimes["Dotnet80"] = "dotnet-8.0";
28235
+ Runtimes["Dotnet10"] = "dotnet-10";
28004
28236
  Runtimes["Java80"] = "java-8.0";
28005
28237
  Runtimes["Java110"] = "java-11.0";
28006
28238
  Runtimes["Java170"] = "java-17.0";
28007
28239
  Runtimes["Java180"] = "java-18.0";
28008
28240
  Runtimes["Java210"] = "java-21.0";
28009
28241
  Runtimes["Java22"] = "java-22";
28242
+ Runtimes["Java25"] = "java-25";
28010
28243
  Runtimes["Swift55"] = "swift-5.5";
28011
28244
  Runtimes["Swift58"] = "swift-5.8";
28012
28245
  Runtimes["Swift59"] = "swift-5.9";
28013
28246
  Runtimes["Swift510"] = "swift-5.10";
28247
+ Runtimes["Swift62"] = "swift-6.2";
28014
28248
  Runtimes["Kotlin16"] = "kotlin-1.6";
28015
28249
  Runtimes["Kotlin18"] = "kotlin-1.8";
28016
28250
  Runtimes["Kotlin19"] = "kotlin-1.9";
28017
28251
  Runtimes["Kotlin20"] = "kotlin-2.0";
28252
+ Runtimes["Kotlin23"] = "kotlin-2.3";
28018
28253
  Runtimes["Cpp17"] = "cpp-17";
28019
28254
  Runtimes["Cpp20"] = "cpp-20";
28020
28255
  Runtimes["Bun10"] = "bun-1.0";
28021
28256
  Runtimes["Bun11"] = "bun-1.1";
28257
+ Runtimes["Bun12"] = "bun-1.2";
28258
+ Runtimes["Bun13"] = "bun-1.3";
28022
28259
  Runtimes["Go123"] = "go-1.23";
28260
+ Runtimes["Go124"] = "go-1.24";
28261
+ Runtimes["Go125"] = "go-1.25";
28262
+ Runtimes["Go126"] = "go-1.26";
28023
28263
  Runtimes["Static1"] = "static-1";
28024
28264
  Runtimes["Flutter324"] = "flutter-3.24";
28025
28265
  Runtimes["Flutter327"] = "flutter-3.27";
@@ -28171,6 +28411,14 @@ exports.PlatformType = void 0;
28171
28411
  PlatformType["Reactnativeandroid"] = "react-native-android";
28172
28412
  })(exports.PlatformType || (exports.PlatformType = {}));
28173
28413
 
28414
+ exports.ResourceType = void 0;
28415
+ (function (ResourceType) {
28416
+ ResourceType["Function"] = "function";
28417
+ ResourceType["Execution"] = "execution";
28418
+ ResourceType["Message"] = "message";
28419
+ ResourceType["Backup"] = "backup";
28420
+ })(exports.ResourceType || (exports.ResourceType = {}));
28421
+
28174
28422
  exports.ApiService = void 0;
28175
28423
  (function (ApiService) {
28176
28424
  ApiService["Account"] = "account";
@@ -28197,12 +28445,12 @@ exports.SMTPSecure = void 0;
28197
28445
  exports.EmailTemplateType = void 0;
28198
28446
  (function (EmailTemplateType) {
28199
28447
  EmailTemplateType["Verification"] = "verification";
28200
- EmailTemplateType["Magicsession"] = "magicsession";
28448
+ EmailTemplateType["MagicSession"] = "magicSession";
28201
28449
  EmailTemplateType["Recovery"] = "recovery";
28202
28450
  EmailTemplateType["Invitation"] = "invitation";
28203
- EmailTemplateType["Mfachallenge"] = "mfachallenge";
28204
- EmailTemplateType["Sessionalert"] = "sessionalert";
28205
- EmailTemplateType["Otpsession"] = "otpsession";
28451
+ EmailTemplateType["MfaChallenge"] = "mfaChallenge";
28452
+ EmailTemplateType["SessionAlert"] = "sessionAlert";
28453
+ EmailTemplateType["OtpSession"] = "otpSession";
28206
28454
  })(exports.EmailTemplateType || (exports.EmailTemplateType = {}));
28207
28455
 
28208
28456
  exports.EmailTemplateLocale = void 0;
@@ -28345,7 +28593,7 @@ exports.SmsTemplateType = void 0;
28345
28593
  SmsTemplateType["Verification"] = "verification";
28346
28594
  SmsTemplateType["Login"] = "login";
28347
28595
  SmsTemplateType["Invitation"] = "invitation";
28348
- SmsTemplateType["Mfachallenge"] = "mfachallenge";
28596
+ SmsTemplateType["MfaChallenge"] = "mfaChallenge";
28349
28597
  })(exports.SmsTemplateType || (exports.SmsTemplateType = {}));
28350
28598
 
28351
28599
  exports.SmsTemplateLocale = void 0;
@@ -28525,27 +28773,35 @@ exports.BuildRuntime = void 0;
28525
28773
  BuildRuntime["Node200"] = "node-20.0";
28526
28774
  BuildRuntime["Node210"] = "node-21.0";
28527
28775
  BuildRuntime["Node22"] = "node-22";
28776
+ BuildRuntime["Node23"] = "node-23";
28777
+ BuildRuntime["Node24"] = "node-24";
28778
+ BuildRuntime["Node25"] = "node-25";
28528
28779
  BuildRuntime["Php80"] = "php-8.0";
28529
28780
  BuildRuntime["Php81"] = "php-8.1";
28530
28781
  BuildRuntime["Php82"] = "php-8.2";
28531
28782
  BuildRuntime["Php83"] = "php-8.3";
28783
+ BuildRuntime["Php84"] = "php-8.4";
28532
28784
  BuildRuntime["Ruby30"] = "ruby-3.0";
28533
28785
  BuildRuntime["Ruby31"] = "ruby-3.1";
28534
28786
  BuildRuntime["Ruby32"] = "ruby-3.2";
28535
28787
  BuildRuntime["Ruby33"] = "ruby-3.3";
28788
+ BuildRuntime["Ruby34"] = "ruby-3.4";
28789
+ BuildRuntime["Ruby40"] = "ruby-4.0";
28536
28790
  BuildRuntime["Python38"] = "python-3.8";
28537
28791
  BuildRuntime["Python39"] = "python-3.9";
28538
28792
  BuildRuntime["Python310"] = "python-3.10";
28539
28793
  BuildRuntime["Python311"] = "python-3.11";
28540
28794
  BuildRuntime["Python312"] = "python-3.12";
28795
+ BuildRuntime["Python313"] = "python-3.13";
28796
+ BuildRuntime["Python314"] = "python-3.14";
28541
28797
  BuildRuntime["Pythonml311"] = "python-ml-3.11";
28542
28798
  BuildRuntime["Pythonml312"] = "python-ml-3.12";
28543
- BuildRuntime["Deno121"] = "deno-1.21";
28544
- BuildRuntime["Deno124"] = "deno-1.24";
28545
- BuildRuntime["Deno135"] = "deno-1.35";
28799
+ BuildRuntime["Pythonml313"] = "python-ml-3.13";
28546
28800
  BuildRuntime["Deno140"] = "deno-1.40";
28547
28801
  BuildRuntime["Deno146"] = "deno-1.46";
28548
28802
  BuildRuntime["Deno20"] = "deno-2.0";
28803
+ BuildRuntime["Deno25"] = "deno-2.5";
28804
+ BuildRuntime["Deno26"] = "deno-2.6";
28549
28805
  BuildRuntime["Dart215"] = "dart-2.15";
28550
28806
  BuildRuntime["Dart216"] = "dart-2.16";
28551
28807
  BuildRuntime["Dart217"] = "dart-2.17";
@@ -28561,25 +28817,34 @@ exports.BuildRuntime = void 0;
28561
28817
  BuildRuntime["Dotnet60"] = "dotnet-6.0";
28562
28818
  BuildRuntime["Dotnet70"] = "dotnet-7.0";
28563
28819
  BuildRuntime["Dotnet80"] = "dotnet-8.0";
28820
+ BuildRuntime["Dotnet10"] = "dotnet-10";
28564
28821
  BuildRuntime["Java80"] = "java-8.0";
28565
28822
  BuildRuntime["Java110"] = "java-11.0";
28566
28823
  BuildRuntime["Java170"] = "java-17.0";
28567
28824
  BuildRuntime["Java180"] = "java-18.0";
28568
28825
  BuildRuntime["Java210"] = "java-21.0";
28569
28826
  BuildRuntime["Java22"] = "java-22";
28827
+ BuildRuntime["Java25"] = "java-25";
28570
28828
  BuildRuntime["Swift55"] = "swift-5.5";
28571
28829
  BuildRuntime["Swift58"] = "swift-5.8";
28572
28830
  BuildRuntime["Swift59"] = "swift-5.9";
28573
28831
  BuildRuntime["Swift510"] = "swift-5.10";
28832
+ BuildRuntime["Swift62"] = "swift-6.2";
28574
28833
  BuildRuntime["Kotlin16"] = "kotlin-1.6";
28575
28834
  BuildRuntime["Kotlin18"] = "kotlin-1.8";
28576
28835
  BuildRuntime["Kotlin19"] = "kotlin-1.9";
28577
28836
  BuildRuntime["Kotlin20"] = "kotlin-2.0";
28837
+ BuildRuntime["Kotlin23"] = "kotlin-2.3";
28578
28838
  BuildRuntime["Cpp17"] = "cpp-17";
28579
28839
  BuildRuntime["Cpp20"] = "cpp-20";
28580
28840
  BuildRuntime["Bun10"] = "bun-1.0";
28581
28841
  BuildRuntime["Bun11"] = "bun-1.1";
28842
+ BuildRuntime["Bun12"] = "bun-1.2";
28843
+ BuildRuntime["Bun13"] = "bun-1.3";
28582
28844
  BuildRuntime["Go123"] = "go-1.23";
28845
+ BuildRuntime["Go124"] = "go-1.24";
28846
+ BuildRuntime["Go125"] = "go-1.25";
28847
+ BuildRuntime["Go126"] = "go-1.26";
28583
28848
  BuildRuntime["Static1"] = "static-1";
28584
28849
  BuildRuntime["Flutter324"] = "flutter-3.24";
28585
28850
  BuildRuntime["Flutter327"] = "flutter-3.27";
@@ -28765,6 +29030,7 @@ exports.BillingPlanGroup = void 0;
28765
29030
  })(exports.BillingPlanGroup || (exports.BillingPlanGroup = {}));
28766
29031
 
28767
29032
  exports.Account = Account;
29033
+ exports.Activities = Activities;
28768
29034
  exports.AppwriteException = AppwriteException;
28769
29035
  exports.Assistant = Assistant;
28770
29036
  exports.Avatars = Avatars;