@appwrite.io/console 2.3.1 → 3.1.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 (46) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -2
  3. package/dist/cjs/sdk.js +330 -14
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +331 -14
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +383 -47
  8. package/docs/examples/domains/create-purchase.md +25 -0
  9. package/docs/examples/organizations/get-scopes.md +2 -1
  10. package/docs/examples/projects/create-schedule.md +20 -0
  11. package/docs/examples/projects/get-schedule.md +16 -0
  12. package/docs/examples/projects/list-schedules.md +17 -0
  13. package/package.json +2 -3
  14. package/src/channel.ts +4 -0
  15. package/src/client.ts +17 -4
  16. package/src/enums/build-runtime.ts +20 -0
  17. package/src/enums/email-template-type.ts +4 -4
  18. package/src/enums/o-auth-provider.ts +0 -2
  19. package/src/enums/resource-type.ts +6 -0
  20. package/src/enums/runtime.ts +20 -0
  21. package/src/enums/runtimes.ts +20 -0
  22. package/src/enums/scopes.ts +2 -0
  23. package/src/enums/sms-template-type.ts +1 -1
  24. package/src/index.ts +2 -0
  25. package/src/models.ts +73 -5
  26. package/src/query.ts +26 -0
  27. package/src/services/account.ts +4 -4
  28. package/src/services/domains.ts +147 -0
  29. package/src/services/organizations.ts +14 -6
  30. package/src/services/projects.ts +223 -0
  31. package/types/channel.d.ts +1 -0
  32. package/types/enums/build-runtime.d.ts +20 -0
  33. package/types/enums/email-template-type.d.ts +4 -4
  34. package/types/enums/o-auth-provider.d.ts +1 -3
  35. package/types/enums/resource-type.d.ts +6 -0
  36. package/types/enums/runtime.d.ts +20 -0
  37. package/types/enums/runtimes.d.ts +20 -0
  38. package/types/enums/scopes.d.ts +2 -0
  39. package/types/enums/sms-template-type.d.ts +1 -1
  40. package/types/index.d.ts +2 -0
  41. package/types/models.d.ts +71 -5
  42. package/types/query.d.ts +22 -0
  43. package/types/services/account.d.ts +4 -4
  44. package/types/services/domains.d.ts +49 -0
  45. package/types/services/organizations.d.ts +4 -1
  46. package/types/services/projects.d.ts +82 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.1.0
4
+
5
+ * Add support for `createPurchase` method in `Domains` service
6
+ * Fix very large double values (for example 1.7976931348623157e+308) from being expanded into giant integer literals
7
+
8
+ ## 3.0.0
9
+
10
+ * Breaking: EmailTemplateType enum values renamed and updated (Magicsession -> MagicSession, Mfachallenge -> MfaChallenge, Sessionalert -> SessionAlert, Otpsession -> OtpSession) and their underlying string values changed accordingly, which may affect existing integrations.
11
+ * Breaking: OAuthProvider enum removed GithubImagine and GoogleImagine options, potentially breaking code that referenced those providers.
12
+ * New: Channel.upsert() method added to support upserting documents/rows with Channel.
13
+ * New: Expanded runtime support with additional runtimes across BuildRuntime, Runtime, and Runtimes enums (Node.js 23-25, PHP 8.4, Ruby 3.4/4.0, Python 3.13/3.14, Deno 2.5/2.6, Bun 1.2/1.3, Go 1.24-1.26, Java 25, Kotlin 2.3, Swift 6.2, etc.).
14
+ * Chore: Removed bignumber.js dependency; library now relies on json-bigint and native BigInt handling; ensure compatibility for users that depended on bignumber.js.
15
+ * Documentation: Update README to reflect Appwrite server compatibility 1.8.x.
16
+ * Maintenance: Changelog updated with 2.3.1 patch: Add missing `queries` parameter to new string type attributes (backward-compatible improvement).
17
+
18
+ ## 2.3.1
19
+
20
+ * Add missing `queries` parameter to new string type attributes
21
+
3
22
  ## 2.3.0
4
23
 
5
24
  * Add `queries` parameter to `Realtime.subscribe()` and `client.subscribe()` for server-side query filtering
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
7
7
  [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
8
8
 
9
- **This SDK is compatible with Appwrite server version latest. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-console/releases).**
9
+ **This SDK is compatible with Appwrite server version 1.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-console/releases).**
10
10
 
11
11
  Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Console SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
12
12
 
@@ -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@2.3.1"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@3.1.0"></script>
37
37
  ```
38
38
 
39
39
 
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.
@@ -251,12 +249,34 @@ Query.limit = (limit) => new Query("limit", undefined, limit).toString();
251
249
  Query.offset = (offset) => new Query("offset", undefined, offset).toString();
252
250
  /**
253
251
  * Filter resources where attribute contains the specified value.
252
+ * For string attributes, checks if the string contains the substring.
254
253
  *
254
+ * Note: For array attributes, use {@link containsAny} or {@link containsAll} instead.
255
255
  * @param {string} attribute
256
256
  * @param {string | string[]} value
257
257
  * @returns {string}
258
258
  */
259
259
  Query.contains = (attribute, value) => new Query("contains", attribute, value).toString();
260
+ /**
261
+ * Filter resources where attribute contains ANY of the specified values.
262
+ * For array and relationship attributes, matches documents where the attribute
263
+ * contains at least one of the given values.
264
+ *
265
+ * @param {string} attribute
266
+ * @param {any[]} value
267
+ * @returns {string}
268
+ */
269
+ Query.containsAny = (attribute, value) => new Query("containsAny", attribute, value).toString();
270
+ /**
271
+ * Filter resources where attribute contains ALL of the specified values.
272
+ * For array and relationship attributes, matches documents where the attribute
273
+ * contains every one of the given values.
274
+ *
275
+ * @param {string} attribute
276
+ * @param {any[]} value
277
+ * @returns {string}
278
+ */
279
+ Query.containsAll = (attribute, value) => new Query("containsAll", attribute, value).toString();
260
280
  /**
261
281
  * Filter resources where attribute does not contain the specified value.
262
282
  *
@@ -474,15 +494,28 @@ const JSONbigParser = JSONbigModule__default["default"]({ storeAsString: false }
474
494
  const JSONbigSerializer = JSONbigModule__default["default"]({ useNativeBigInt: true });
475
495
  const MAX_SAFE = BigInt(Number.MAX_SAFE_INTEGER);
476
496
  const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER);
497
+ const MAX_INT64 = BigInt('9223372036854775807');
498
+ const MIN_INT64 = BigInt('-9223372036854775808');
499
+ function isBigNumber(value) {
500
+ return value !== null
501
+ && typeof value === 'object'
502
+ && value._isBigNumber === true
503
+ && typeof value.isInteger === 'function'
504
+ && typeof value.toFixed === 'function'
505
+ && typeof value.toNumber === 'function';
506
+ }
477
507
  function reviver(_key, value) {
478
- if (BigNumber__default["default"].isBigNumber(value)) {
508
+ if (isBigNumber(value)) {
479
509
  if (value.isInteger()) {
480
510
  const str = value.toFixed();
481
511
  const bi = BigInt(str);
482
512
  if (bi >= MIN_SAFE && bi <= MAX_SAFE) {
483
513
  return Number(str);
484
514
  }
485
- return bi;
515
+ if (bi >= MIN_INT64 && bi <= MAX_INT64) {
516
+ return bi;
517
+ }
518
+ return value.toNumber();
486
519
  }
487
520
  return value.toNumber();
488
521
  }
@@ -541,7 +574,7 @@ class Client {
541
574
  'x-sdk-name': 'Console',
542
575
  'x-sdk-platform': 'console',
543
576
  'x-sdk-language': 'web',
544
- 'x-sdk-version': '2.3.1',
577
+ 'x-sdk-version': '3.1.0',
545
578
  'X-Appwrite-Response-Format': '1.8.0',
546
579
  };
547
580
  this.realtime = {
@@ -7730,6 +7763,102 @@ class Domains {
7730
7763
  const apiHeaders = {};
7731
7764
  return this.client.call('get', uri, apiHeaders, payload);
7732
7765
  }
7766
+ createPurchase(paramsOrFirst, ...rest) {
7767
+ let params;
7768
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
7769
+ params = (paramsOrFirst || {});
7770
+ }
7771
+ else {
7772
+ params = {
7773
+ domain: paramsOrFirst,
7774
+ teamId: rest[0],
7775
+ firstName: rest[1],
7776
+ lastName: rest[2],
7777
+ email: rest[3],
7778
+ phone: rest[4],
7779
+ billingAddressId: rest[5],
7780
+ paymentMethodId: rest[6],
7781
+ addressLine3: rest[7],
7782
+ companyName: rest[8],
7783
+ periodYears: rest[9]
7784
+ };
7785
+ }
7786
+ const domain = params.domain;
7787
+ const teamId = params.teamId;
7788
+ const firstName = params.firstName;
7789
+ const lastName = params.lastName;
7790
+ const email = params.email;
7791
+ const phone = params.phone;
7792
+ const billingAddressId = params.billingAddressId;
7793
+ const paymentMethodId = params.paymentMethodId;
7794
+ const addressLine3 = params.addressLine3;
7795
+ const companyName = params.companyName;
7796
+ const periodYears = params.periodYears;
7797
+ if (typeof domain === 'undefined') {
7798
+ throw new AppwriteException('Missing required parameter: "domain"');
7799
+ }
7800
+ if (typeof teamId === 'undefined') {
7801
+ throw new AppwriteException('Missing required parameter: "teamId"');
7802
+ }
7803
+ if (typeof firstName === 'undefined') {
7804
+ throw new AppwriteException('Missing required parameter: "firstName"');
7805
+ }
7806
+ if (typeof lastName === 'undefined') {
7807
+ throw new AppwriteException('Missing required parameter: "lastName"');
7808
+ }
7809
+ if (typeof email === 'undefined') {
7810
+ throw new AppwriteException('Missing required parameter: "email"');
7811
+ }
7812
+ if (typeof phone === 'undefined') {
7813
+ throw new AppwriteException('Missing required parameter: "phone"');
7814
+ }
7815
+ if (typeof billingAddressId === 'undefined') {
7816
+ throw new AppwriteException('Missing required parameter: "billingAddressId"');
7817
+ }
7818
+ if (typeof paymentMethodId === 'undefined') {
7819
+ throw new AppwriteException('Missing required parameter: "paymentMethodId"');
7820
+ }
7821
+ const apiPath = '/domains/purchases';
7822
+ const payload = {};
7823
+ if (typeof domain !== 'undefined') {
7824
+ payload['domain'] = domain;
7825
+ }
7826
+ if (typeof teamId !== 'undefined') {
7827
+ payload['teamId'] = teamId;
7828
+ }
7829
+ if (typeof firstName !== 'undefined') {
7830
+ payload['firstName'] = firstName;
7831
+ }
7832
+ if (typeof lastName !== 'undefined') {
7833
+ payload['lastName'] = lastName;
7834
+ }
7835
+ if (typeof email !== 'undefined') {
7836
+ payload['email'] = email;
7837
+ }
7838
+ if (typeof phone !== 'undefined') {
7839
+ payload['phone'] = phone;
7840
+ }
7841
+ if (typeof billingAddressId !== 'undefined') {
7842
+ payload['billingAddressId'] = billingAddressId;
7843
+ }
7844
+ if (typeof addressLine3 !== 'undefined') {
7845
+ payload['addressLine3'] = addressLine3;
7846
+ }
7847
+ if (typeof companyName !== 'undefined') {
7848
+ payload['companyName'] = companyName;
7849
+ }
7850
+ if (typeof periodYears !== 'undefined') {
7851
+ payload['periodYears'] = periodYears;
7852
+ }
7853
+ if (typeof paymentMethodId !== 'undefined') {
7854
+ payload['paymentMethodId'] = paymentMethodId;
7855
+ }
7856
+ const uri = new URL(this.client.config.endpoint + apiPath);
7857
+ const apiHeaders = {
7858
+ 'content-type': 'application/json',
7859
+ };
7860
+ return this.client.call('post', uri, apiHeaders, payload);
7861
+ }
7733
7862
  listSuggestions(paramsOrFirst, ...rest) {
7734
7863
  let params;
7735
7864
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -15836,22 +15965,27 @@ class Organizations {
15836
15965
  const apiHeaders = {};
15837
15966
  return this.client.call('get', uri, apiHeaders, payload);
15838
15967
  }
15839
- getScopes(paramsOrFirst) {
15968
+ getScopes(paramsOrFirst, ...rest) {
15840
15969
  let params;
15841
15970
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
15842
15971
  params = (paramsOrFirst || {});
15843
15972
  }
15844
15973
  else {
15845
15974
  params = {
15846
- organizationId: paramsOrFirst
15975
+ organizationId: paramsOrFirst,
15976
+ projectId: rest[0]
15847
15977
  };
15848
15978
  }
15849
15979
  const organizationId = params.organizationId;
15980
+ const projectId = params.projectId;
15850
15981
  if (typeof organizationId === 'undefined') {
15851
15982
  throw new AppwriteException('Missing required parameter: "organizationId"');
15852
15983
  }
15853
15984
  const apiPath = '/organizations/{organizationId}/roles'.replace('{organizationId}', organizationId);
15854
15985
  const payload = {};
15986
+ if (typeof projectId !== 'undefined') {
15987
+ payload['projectId'] = projectId;
15988
+ }
15855
15989
  const uri = new URL(this.client.config.endpoint + apiPath);
15856
15990
  const apiHeaders = {};
15857
15991
  return this.client.call('get', uri, apiHeaders, payload);
@@ -17475,6 +17609,117 @@ class Projects {
17475
17609
  };
17476
17610
  return this.client.call('delete', uri, apiHeaders, payload);
17477
17611
  }
17612
+ listSchedules(paramsOrFirst, ...rest) {
17613
+ let params;
17614
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
17615
+ params = (paramsOrFirst || {});
17616
+ }
17617
+ else {
17618
+ params = {
17619
+ projectId: paramsOrFirst,
17620
+ queries: rest[0],
17621
+ total: rest[1]
17622
+ };
17623
+ }
17624
+ const projectId = params.projectId;
17625
+ const queries = params.queries;
17626
+ const total = params.total;
17627
+ if (typeof projectId === 'undefined') {
17628
+ throw new AppwriteException('Missing required parameter: "projectId"');
17629
+ }
17630
+ const apiPath = '/projects/{projectId}/schedules'.replace('{projectId}', projectId);
17631
+ const payload = {};
17632
+ if (typeof queries !== 'undefined') {
17633
+ payload['queries'] = queries;
17634
+ }
17635
+ if (typeof total !== 'undefined') {
17636
+ payload['total'] = total;
17637
+ }
17638
+ const uri = new URL(this.client.config.endpoint + apiPath);
17639
+ const apiHeaders = {};
17640
+ return this.client.call('get', uri, apiHeaders, payload);
17641
+ }
17642
+ createSchedule(paramsOrFirst, ...rest) {
17643
+ let params;
17644
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
17645
+ params = (paramsOrFirst || {});
17646
+ }
17647
+ else {
17648
+ params = {
17649
+ projectId: paramsOrFirst,
17650
+ resourceType: rest[0],
17651
+ resourceId: rest[1],
17652
+ schedule: rest[2],
17653
+ active: rest[3],
17654
+ data: rest[4]
17655
+ };
17656
+ }
17657
+ const projectId = params.projectId;
17658
+ const resourceType = params.resourceType;
17659
+ const resourceId = params.resourceId;
17660
+ const schedule = params.schedule;
17661
+ const active = params.active;
17662
+ const data = params.data;
17663
+ if (typeof projectId === 'undefined') {
17664
+ throw new AppwriteException('Missing required parameter: "projectId"');
17665
+ }
17666
+ if (typeof resourceType === 'undefined') {
17667
+ throw new AppwriteException('Missing required parameter: "resourceType"');
17668
+ }
17669
+ if (typeof resourceId === 'undefined') {
17670
+ throw new AppwriteException('Missing required parameter: "resourceId"');
17671
+ }
17672
+ if (typeof schedule === 'undefined') {
17673
+ throw new AppwriteException('Missing required parameter: "schedule"');
17674
+ }
17675
+ const apiPath = '/projects/{projectId}/schedules'.replace('{projectId}', projectId);
17676
+ const payload = {};
17677
+ if (typeof resourceType !== 'undefined') {
17678
+ payload['resourceType'] = resourceType;
17679
+ }
17680
+ if (typeof resourceId !== 'undefined') {
17681
+ payload['resourceId'] = resourceId;
17682
+ }
17683
+ if (typeof schedule !== 'undefined') {
17684
+ payload['schedule'] = schedule;
17685
+ }
17686
+ if (typeof active !== 'undefined') {
17687
+ payload['active'] = active;
17688
+ }
17689
+ if (typeof data !== 'undefined') {
17690
+ payload['data'] = data;
17691
+ }
17692
+ const uri = new URL(this.client.config.endpoint + apiPath);
17693
+ const apiHeaders = {
17694
+ 'content-type': 'application/json',
17695
+ };
17696
+ return this.client.call('post', uri, apiHeaders, payload);
17697
+ }
17698
+ getSchedule(paramsOrFirst, ...rest) {
17699
+ let params;
17700
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
17701
+ params = (paramsOrFirst || {});
17702
+ }
17703
+ else {
17704
+ params = {
17705
+ projectId: paramsOrFirst,
17706
+ scheduleId: rest[0]
17707
+ };
17708
+ }
17709
+ const projectId = params.projectId;
17710
+ const scheduleId = params.scheduleId;
17711
+ if (typeof projectId === 'undefined') {
17712
+ throw new AppwriteException('Missing required parameter: "projectId"');
17713
+ }
17714
+ if (typeof scheduleId === 'undefined') {
17715
+ throw new AppwriteException('Missing required parameter: "scheduleId"');
17716
+ }
17717
+ const apiPath = '/projects/{projectId}/schedules/{scheduleId}'.replace('{projectId}', projectId).replace('{scheduleId}', scheduleId);
17718
+ const payload = {};
17719
+ const uri = new URL(this.client.config.endpoint + apiPath);
17720
+ const apiHeaders = {};
17721
+ return this.client.call('get', uri, apiHeaders, payload);
17722
+ }
17478
17723
  updateServiceStatus(paramsOrFirst, ...rest) {
17479
17724
  let params;
17480
17725
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -26756,6 +27001,9 @@ class Channel {
26756
27001
  create() {
26757
27002
  return this.resolve("create");
26758
27003
  }
27004
+ upsert() {
27005
+ return this.resolve("upsert");
27006
+ }
26759
27007
  update() {
26760
27008
  return this.resolve("update");
26761
27009
  }
@@ -27123,6 +27371,8 @@ exports.Scopes = void 0;
27123
27371
  Scopes["TargetsWrite"] = "targets.write";
27124
27372
  Scopes["RulesRead"] = "rules.read";
27125
27373
  Scopes["RulesWrite"] = "rules.write";
27374
+ Scopes["SchedulesRead"] = "schedules.read";
27375
+ Scopes["SchedulesWrite"] = "schedules.write";
27126
27376
  Scopes["MigrationsRead"] = "migrations.read";
27127
27377
  Scopes["MigrationsWrite"] = "migrations.write";
27128
27378
  Scopes["VcsRead"] = "vcs.read";
@@ -27195,8 +27445,6 @@ exports.OAuthProvider = void 0;
27195
27445
  OAuthProvider["Yandex"] = "yandex";
27196
27446
  OAuthProvider["Zoho"] = "zoho";
27197
27447
  OAuthProvider["Zoom"] = "zoom";
27198
- OAuthProvider["GithubImagine"] = "githubImagine";
27199
- OAuthProvider["GoogleImagine"] = "googleImagine";
27200
27448
  })(exports.OAuthProvider || (exports.OAuthProvider = {}));
27201
27449
 
27202
27450
  exports.Browser = void 0;
@@ -27978,24 +28226,35 @@ exports.Runtime = void 0;
27978
28226
  Runtime["Node200"] = "node-20.0";
27979
28227
  Runtime["Node210"] = "node-21.0";
27980
28228
  Runtime["Node22"] = "node-22";
28229
+ Runtime["Node23"] = "node-23";
28230
+ Runtime["Node24"] = "node-24";
28231
+ Runtime["Node25"] = "node-25";
27981
28232
  Runtime["Php80"] = "php-8.0";
27982
28233
  Runtime["Php81"] = "php-8.1";
27983
28234
  Runtime["Php82"] = "php-8.2";
27984
28235
  Runtime["Php83"] = "php-8.3";
28236
+ Runtime["Php84"] = "php-8.4";
27985
28237
  Runtime["Ruby30"] = "ruby-3.0";
27986
28238
  Runtime["Ruby31"] = "ruby-3.1";
27987
28239
  Runtime["Ruby32"] = "ruby-3.2";
27988
28240
  Runtime["Ruby33"] = "ruby-3.3";
28241
+ Runtime["Ruby34"] = "ruby-3.4";
28242
+ Runtime["Ruby40"] = "ruby-4.0";
27989
28243
  Runtime["Python38"] = "python-3.8";
27990
28244
  Runtime["Python39"] = "python-3.9";
27991
28245
  Runtime["Python310"] = "python-3.10";
27992
28246
  Runtime["Python311"] = "python-3.11";
27993
28247
  Runtime["Python312"] = "python-3.12";
28248
+ Runtime["Python313"] = "python-3.13";
28249
+ Runtime["Python314"] = "python-3.14";
27994
28250
  Runtime["Pythonml311"] = "python-ml-3.11";
27995
28251
  Runtime["Pythonml312"] = "python-ml-3.12";
28252
+ Runtime["Pythonml313"] = "python-ml-3.13";
27996
28253
  Runtime["Deno140"] = "deno-1.40";
27997
28254
  Runtime["Deno146"] = "deno-1.46";
27998
28255
  Runtime["Deno20"] = "deno-2.0";
28256
+ Runtime["Deno25"] = "deno-2.5";
28257
+ Runtime["Deno26"] = "deno-2.6";
27999
28258
  Runtime["Dart215"] = "dart-2.15";
28000
28259
  Runtime["Dart216"] = "dart-2.16";
28001
28260
  Runtime["Dart217"] = "dart-2.17";
@@ -28011,25 +28270,34 @@ exports.Runtime = void 0;
28011
28270
  Runtime["Dotnet60"] = "dotnet-6.0";
28012
28271
  Runtime["Dotnet70"] = "dotnet-7.0";
28013
28272
  Runtime["Dotnet80"] = "dotnet-8.0";
28273
+ Runtime["Dotnet10"] = "dotnet-10";
28014
28274
  Runtime["Java80"] = "java-8.0";
28015
28275
  Runtime["Java110"] = "java-11.0";
28016
28276
  Runtime["Java170"] = "java-17.0";
28017
28277
  Runtime["Java180"] = "java-18.0";
28018
28278
  Runtime["Java210"] = "java-21.0";
28019
28279
  Runtime["Java22"] = "java-22";
28280
+ Runtime["Java25"] = "java-25";
28020
28281
  Runtime["Swift55"] = "swift-5.5";
28021
28282
  Runtime["Swift58"] = "swift-5.8";
28022
28283
  Runtime["Swift59"] = "swift-5.9";
28023
28284
  Runtime["Swift510"] = "swift-5.10";
28285
+ Runtime["Swift62"] = "swift-6.2";
28024
28286
  Runtime["Kotlin16"] = "kotlin-1.6";
28025
28287
  Runtime["Kotlin18"] = "kotlin-1.8";
28026
28288
  Runtime["Kotlin19"] = "kotlin-1.9";
28027
28289
  Runtime["Kotlin20"] = "kotlin-2.0";
28290
+ Runtime["Kotlin23"] = "kotlin-2.3";
28028
28291
  Runtime["Cpp17"] = "cpp-17";
28029
28292
  Runtime["Cpp20"] = "cpp-20";
28030
28293
  Runtime["Bun10"] = "bun-1.0";
28031
28294
  Runtime["Bun11"] = "bun-1.1";
28295
+ Runtime["Bun12"] = "bun-1.2";
28296
+ Runtime["Bun13"] = "bun-1.3";
28032
28297
  Runtime["Go123"] = "go-1.23";
28298
+ Runtime["Go124"] = "go-1.24";
28299
+ Runtime["Go125"] = "go-1.25";
28300
+ Runtime["Go126"] = "go-1.26";
28033
28301
  Runtime["Static1"] = "static-1";
28034
28302
  Runtime["Flutter324"] = "flutter-3.24";
28035
28303
  Runtime["Flutter327"] = "flutter-3.27";
@@ -28048,24 +28316,35 @@ exports.Runtimes = void 0;
28048
28316
  Runtimes["Node200"] = "node-20.0";
28049
28317
  Runtimes["Node210"] = "node-21.0";
28050
28318
  Runtimes["Node22"] = "node-22";
28319
+ Runtimes["Node23"] = "node-23";
28320
+ Runtimes["Node24"] = "node-24";
28321
+ Runtimes["Node25"] = "node-25";
28051
28322
  Runtimes["Php80"] = "php-8.0";
28052
28323
  Runtimes["Php81"] = "php-8.1";
28053
28324
  Runtimes["Php82"] = "php-8.2";
28054
28325
  Runtimes["Php83"] = "php-8.3";
28326
+ Runtimes["Php84"] = "php-8.4";
28055
28327
  Runtimes["Ruby30"] = "ruby-3.0";
28056
28328
  Runtimes["Ruby31"] = "ruby-3.1";
28057
28329
  Runtimes["Ruby32"] = "ruby-3.2";
28058
28330
  Runtimes["Ruby33"] = "ruby-3.3";
28331
+ Runtimes["Ruby34"] = "ruby-3.4";
28332
+ Runtimes["Ruby40"] = "ruby-4.0";
28059
28333
  Runtimes["Python38"] = "python-3.8";
28060
28334
  Runtimes["Python39"] = "python-3.9";
28061
28335
  Runtimes["Python310"] = "python-3.10";
28062
28336
  Runtimes["Python311"] = "python-3.11";
28063
28337
  Runtimes["Python312"] = "python-3.12";
28338
+ Runtimes["Python313"] = "python-3.13";
28339
+ Runtimes["Python314"] = "python-3.14";
28064
28340
  Runtimes["Pythonml311"] = "python-ml-3.11";
28065
28341
  Runtimes["Pythonml312"] = "python-ml-3.12";
28342
+ Runtimes["Pythonml313"] = "python-ml-3.13";
28066
28343
  Runtimes["Deno140"] = "deno-1.40";
28067
28344
  Runtimes["Deno146"] = "deno-1.46";
28068
28345
  Runtimes["Deno20"] = "deno-2.0";
28346
+ Runtimes["Deno25"] = "deno-2.5";
28347
+ Runtimes["Deno26"] = "deno-2.6";
28069
28348
  Runtimes["Dart215"] = "dart-2.15";
28070
28349
  Runtimes["Dart216"] = "dart-2.16";
28071
28350
  Runtimes["Dart217"] = "dart-2.17";
@@ -28081,25 +28360,34 @@ exports.Runtimes = void 0;
28081
28360
  Runtimes["Dotnet60"] = "dotnet-6.0";
28082
28361
  Runtimes["Dotnet70"] = "dotnet-7.0";
28083
28362
  Runtimes["Dotnet80"] = "dotnet-8.0";
28363
+ Runtimes["Dotnet10"] = "dotnet-10";
28084
28364
  Runtimes["Java80"] = "java-8.0";
28085
28365
  Runtimes["Java110"] = "java-11.0";
28086
28366
  Runtimes["Java170"] = "java-17.0";
28087
28367
  Runtimes["Java180"] = "java-18.0";
28088
28368
  Runtimes["Java210"] = "java-21.0";
28089
28369
  Runtimes["Java22"] = "java-22";
28370
+ Runtimes["Java25"] = "java-25";
28090
28371
  Runtimes["Swift55"] = "swift-5.5";
28091
28372
  Runtimes["Swift58"] = "swift-5.8";
28092
28373
  Runtimes["Swift59"] = "swift-5.9";
28093
28374
  Runtimes["Swift510"] = "swift-5.10";
28375
+ Runtimes["Swift62"] = "swift-6.2";
28094
28376
  Runtimes["Kotlin16"] = "kotlin-1.6";
28095
28377
  Runtimes["Kotlin18"] = "kotlin-1.8";
28096
28378
  Runtimes["Kotlin19"] = "kotlin-1.9";
28097
28379
  Runtimes["Kotlin20"] = "kotlin-2.0";
28380
+ Runtimes["Kotlin23"] = "kotlin-2.3";
28098
28381
  Runtimes["Cpp17"] = "cpp-17";
28099
28382
  Runtimes["Cpp20"] = "cpp-20";
28100
28383
  Runtimes["Bun10"] = "bun-1.0";
28101
28384
  Runtimes["Bun11"] = "bun-1.1";
28385
+ Runtimes["Bun12"] = "bun-1.2";
28386
+ Runtimes["Bun13"] = "bun-1.3";
28102
28387
  Runtimes["Go123"] = "go-1.23";
28388
+ Runtimes["Go124"] = "go-1.24";
28389
+ Runtimes["Go125"] = "go-1.25";
28390
+ Runtimes["Go126"] = "go-1.26";
28103
28391
  Runtimes["Static1"] = "static-1";
28104
28392
  Runtimes["Flutter324"] = "flutter-3.24";
28105
28393
  Runtimes["Flutter327"] = "flutter-3.27";
@@ -28251,6 +28539,14 @@ exports.PlatformType = void 0;
28251
28539
  PlatformType["Reactnativeandroid"] = "react-native-android";
28252
28540
  })(exports.PlatformType || (exports.PlatformType = {}));
28253
28541
 
28542
+ exports.ResourceType = void 0;
28543
+ (function (ResourceType) {
28544
+ ResourceType["Function"] = "function";
28545
+ ResourceType["Execution"] = "execution";
28546
+ ResourceType["Message"] = "message";
28547
+ ResourceType["Backup"] = "backup";
28548
+ })(exports.ResourceType || (exports.ResourceType = {}));
28549
+
28254
28550
  exports.ApiService = void 0;
28255
28551
  (function (ApiService) {
28256
28552
  ApiService["Account"] = "account";
@@ -28277,12 +28573,12 @@ exports.SMTPSecure = void 0;
28277
28573
  exports.EmailTemplateType = void 0;
28278
28574
  (function (EmailTemplateType) {
28279
28575
  EmailTemplateType["Verification"] = "verification";
28280
- EmailTemplateType["Magicsession"] = "magicsession";
28576
+ EmailTemplateType["MagicSession"] = "magicSession";
28281
28577
  EmailTemplateType["Recovery"] = "recovery";
28282
28578
  EmailTemplateType["Invitation"] = "invitation";
28283
- EmailTemplateType["Mfachallenge"] = "mfachallenge";
28284
- EmailTemplateType["Sessionalert"] = "sessionalert";
28285
- EmailTemplateType["Otpsession"] = "otpsession";
28579
+ EmailTemplateType["MfaChallenge"] = "mfaChallenge";
28580
+ EmailTemplateType["SessionAlert"] = "sessionAlert";
28581
+ EmailTemplateType["OtpSession"] = "otpSession";
28286
28582
  })(exports.EmailTemplateType || (exports.EmailTemplateType = {}));
28287
28583
 
28288
28584
  exports.EmailTemplateLocale = void 0;
@@ -28425,7 +28721,7 @@ exports.SmsTemplateType = void 0;
28425
28721
  SmsTemplateType["Verification"] = "verification";
28426
28722
  SmsTemplateType["Login"] = "login";
28427
28723
  SmsTemplateType["Invitation"] = "invitation";
28428
- SmsTemplateType["Mfachallenge"] = "mfachallenge";
28724
+ SmsTemplateType["MfaChallenge"] = "mfaChallenge";
28429
28725
  })(exports.SmsTemplateType || (exports.SmsTemplateType = {}));
28430
28726
 
28431
28727
  exports.SmsTemplateLocale = void 0;
@@ -28605,24 +28901,35 @@ exports.BuildRuntime = void 0;
28605
28901
  BuildRuntime["Node200"] = "node-20.0";
28606
28902
  BuildRuntime["Node210"] = "node-21.0";
28607
28903
  BuildRuntime["Node22"] = "node-22";
28904
+ BuildRuntime["Node23"] = "node-23";
28905
+ BuildRuntime["Node24"] = "node-24";
28906
+ BuildRuntime["Node25"] = "node-25";
28608
28907
  BuildRuntime["Php80"] = "php-8.0";
28609
28908
  BuildRuntime["Php81"] = "php-8.1";
28610
28909
  BuildRuntime["Php82"] = "php-8.2";
28611
28910
  BuildRuntime["Php83"] = "php-8.3";
28911
+ BuildRuntime["Php84"] = "php-8.4";
28612
28912
  BuildRuntime["Ruby30"] = "ruby-3.0";
28613
28913
  BuildRuntime["Ruby31"] = "ruby-3.1";
28614
28914
  BuildRuntime["Ruby32"] = "ruby-3.2";
28615
28915
  BuildRuntime["Ruby33"] = "ruby-3.3";
28916
+ BuildRuntime["Ruby34"] = "ruby-3.4";
28917
+ BuildRuntime["Ruby40"] = "ruby-4.0";
28616
28918
  BuildRuntime["Python38"] = "python-3.8";
28617
28919
  BuildRuntime["Python39"] = "python-3.9";
28618
28920
  BuildRuntime["Python310"] = "python-3.10";
28619
28921
  BuildRuntime["Python311"] = "python-3.11";
28620
28922
  BuildRuntime["Python312"] = "python-3.12";
28923
+ BuildRuntime["Python313"] = "python-3.13";
28924
+ BuildRuntime["Python314"] = "python-3.14";
28621
28925
  BuildRuntime["Pythonml311"] = "python-ml-3.11";
28622
28926
  BuildRuntime["Pythonml312"] = "python-ml-3.12";
28927
+ BuildRuntime["Pythonml313"] = "python-ml-3.13";
28623
28928
  BuildRuntime["Deno140"] = "deno-1.40";
28624
28929
  BuildRuntime["Deno146"] = "deno-1.46";
28625
28930
  BuildRuntime["Deno20"] = "deno-2.0";
28931
+ BuildRuntime["Deno25"] = "deno-2.5";
28932
+ BuildRuntime["Deno26"] = "deno-2.6";
28626
28933
  BuildRuntime["Dart215"] = "dart-2.15";
28627
28934
  BuildRuntime["Dart216"] = "dart-2.16";
28628
28935
  BuildRuntime["Dart217"] = "dart-2.17";
@@ -28638,25 +28945,34 @@ exports.BuildRuntime = void 0;
28638
28945
  BuildRuntime["Dotnet60"] = "dotnet-6.0";
28639
28946
  BuildRuntime["Dotnet70"] = "dotnet-7.0";
28640
28947
  BuildRuntime["Dotnet80"] = "dotnet-8.0";
28948
+ BuildRuntime["Dotnet10"] = "dotnet-10";
28641
28949
  BuildRuntime["Java80"] = "java-8.0";
28642
28950
  BuildRuntime["Java110"] = "java-11.0";
28643
28951
  BuildRuntime["Java170"] = "java-17.0";
28644
28952
  BuildRuntime["Java180"] = "java-18.0";
28645
28953
  BuildRuntime["Java210"] = "java-21.0";
28646
28954
  BuildRuntime["Java22"] = "java-22";
28955
+ BuildRuntime["Java25"] = "java-25";
28647
28956
  BuildRuntime["Swift55"] = "swift-5.5";
28648
28957
  BuildRuntime["Swift58"] = "swift-5.8";
28649
28958
  BuildRuntime["Swift59"] = "swift-5.9";
28650
28959
  BuildRuntime["Swift510"] = "swift-5.10";
28960
+ BuildRuntime["Swift62"] = "swift-6.2";
28651
28961
  BuildRuntime["Kotlin16"] = "kotlin-1.6";
28652
28962
  BuildRuntime["Kotlin18"] = "kotlin-1.8";
28653
28963
  BuildRuntime["Kotlin19"] = "kotlin-1.9";
28654
28964
  BuildRuntime["Kotlin20"] = "kotlin-2.0";
28965
+ BuildRuntime["Kotlin23"] = "kotlin-2.3";
28655
28966
  BuildRuntime["Cpp17"] = "cpp-17";
28656
28967
  BuildRuntime["Cpp20"] = "cpp-20";
28657
28968
  BuildRuntime["Bun10"] = "bun-1.0";
28658
28969
  BuildRuntime["Bun11"] = "bun-1.1";
28970
+ BuildRuntime["Bun12"] = "bun-1.2";
28971
+ BuildRuntime["Bun13"] = "bun-1.3";
28659
28972
  BuildRuntime["Go123"] = "go-1.23";
28973
+ BuildRuntime["Go124"] = "go-1.24";
28974
+ BuildRuntime["Go125"] = "go-1.25";
28975
+ BuildRuntime["Go126"] = "go-1.26";
28660
28976
  BuildRuntime["Static1"] = "static-1";
28661
28977
  BuildRuntime["Flutter324"] = "flutter-3.24";
28662
28978
  BuildRuntime["Flutter327"] = "flutter-3.27";