@appwrite.io/console 2.3.1 → 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 (38) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +2 -2
  3. package/dist/cjs/sdk.js +199 -11
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +200 -11
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +252 -44
  8. package/docs/examples/projects/create-schedule.md +20 -0
  9. package/docs/examples/projects/get-schedule.md +16 -0
  10. package/docs/examples/projects/list-schedules.md +17 -0
  11. package/package.json +2 -3
  12. package/src/channel.ts +4 -0
  13. package/src/client.ts +11 -3
  14. package/src/enums/build-runtime.ts +20 -0
  15. package/src/enums/email-template-type.ts +4 -4
  16. package/src/enums/o-auth-provider.ts +0 -2
  17. package/src/enums/resource-type.ts +6 -0
  18. package/src/enums/runtime.ts +20 -0
  19. package/src/enums/runtimes.ts +20 -0
  20. package/src/enums/scopes.ts +2 -0
  21. package/src/enums/sms-template-type.ts +1 -1
  22. package/src/index.ts +2 -0
  23. package/src/models.ts +68 -4
  24. package/src/services/account.ts +4 -4
  25. package/src/services/projects.ts +223 -0
  26. package/types/channel.d.ts +1 -0
  27. package/types/enums/build-runtime.d.ts +20 -0
  28. package/types/enums/email-template-type.d.ts +4 -4
  29. package/types/enums/o-auth-provider.d.ts +1 -3
  30. package/types/enums/resource-type.d.ts +6 -0
  31. package/types/enums/runtime.d.ts +20 -0
  32. package/types/enums/runtimes.d.ts +20 -0
  33. package/types/enums/scopes.d.ts +2 -0
  34. package/types/enums/sms-template-type.d.ts +1 -1
  35. package/types/index.d.ts +2 -0
  36. package/types/models.d.ts +66 -4
  37. package/types/services/account.d.ts +4 -4
  38. package/types/services/projects.d.ts +82 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.0
4
+
5
+ * 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.
6
+ * Breaking: OAuthProvider enum removed GithubImagine and GoogleImagine options, potentially breaking code that referenced those providers.
7
+ * New: Channel.upsert() method added to support upserting documents/rows with Channel.
8
+ * 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.).
9
+ * Chore: Removed bignumber.js dependency; library now relies on json-bigint and native BigInt handling; ensure compatibility for users that depended on bignumber.js.
10
+ * Documentation: Update README to reflect Appwrite server compatibility 1.8.x.
11
+ * Maintenance: Changelog updated with 2.3.1 patch: Add missing `queries` parameter to new string type attributes (backward-compatible improvement).
12
+
13
+ ## 2.3.1
14
+
15
+ * Add missing `queries` parameter to new string type attributes
16
+
3
17
  ## 2.3.0
4
18
 
5
19
  * 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.0.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.
@@ -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.1',
550
+ 'x-sdk-version': '3.0.0',
545
551
  'X-Appwrite-Response-Format': '1.8.0',
546
552
  };
547
553
  this.realtime = {
@@ -17475,6 +17481,117 @@ class Projects {
17475
17481
  };
17476
17482
  return this.client.call('delete', uri, apiHeaders, payload);
17477
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
+ }
17478
17595
  updateServiceStatus(paramsOrFirst, ...rest) {
17479
17596
  let params;
17480
17597
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -26756,6 +26873,9 @@ class Channel {
26756
26873
  create() {
26757
26874
  return this.resolve("create");
26758
26875
  }
26876
+ upsert() {
26877
+ return this.resolve("upsert");
26878
+ }
26759
26879
  update() {
26760
26880
  return this.resolve("update");
26761
26881
  }
@@ -27123,6 +27243,8 @@ exports.Scopes = void 0;
27123
27243
  Scopes["TargetsWrite"] = "targets.write";
27124
27244
  Scopes["RulesRead"] = "rules.read";
27125
27245
  Scopes["RulesWrite"] = "rules.write";
27246
+ Scopes["SchedulesRead"] = "schedules.read";
27247
+ Scopes["SchedulesWrite"] = "schedules.write";
27126
27248
  Scopes["MigrationsRead"] = "migrations.read";
27127
27249
  Scopes["MigrationsWrite"] = "migrations.write";
27128
27250
  Scopes["VcsRead"] = "vcs.read";
@@ -27195,8 +27317,6 @@ exports.OAuthProvider = void 0;
27195
27317
  OAuthProvider["Yandex"] = "yandex";
27196
27318
  OAuthProvider["Zoho"] = "zoho";
27197
27319
  OAuthProvider["Zoom"] = "zoom";
27198
- OAuthProvider["GithubImagine"] = "githubImagine";
27199
- OAuthProvider["GoogleImagine"] = "googleImagine";
27200
27320
  })(exports.OAuthProvider || (exports.OAuthProvider = {}));
27201
27321
 
27202
27322
  exports.Browser = void 0;
@@ -27978,24 +28098,35 @@ exports.Runtime = void 0;
27978
28098
  Runtime["Node200"] = "node-20.0";
27979
28099
  Runtime["Node210"] = "node-21.0";
27980
28100
  Runtime["Node22"] = "node-22";
28101
+ Runtime["Node23"] = "node-23";
28102
+ Runtime["Node24"] = "node-24";
28103
+ Runtime["Node25"] = "node-25";
27981
28104
  Runtime["Php80"] = "php-8.0";
27982
28105
  Runtime["Php81"] = "php-8.1";
27983
28106
  Runtime["Php82"] = "php-8.2";
27984
28107
  Runtime["Php83"] = "php-8.3";
28108
+ Runtime["Php84"] = "php-8.4";
27985
28109
  Runtime["Ruby30"] = "ruby-3.0";
27986
28110
  Runtime["Ruby31"] = "ruby-3.1";
27987
28111
  Runtime["Ruby32"] = "ruby-3.2";
27988
28112
  Runtime["Ruby33"] = "ruby-3.3";
28113
+ Runtime["Ruby34"] = "ruby-3.4";
28114
+ Runtime["Ruby40"] = "ruby-4.0";
27989
28115
  Runtime["Python38"] = "python-3.8";
27990
28116
  Runtime["Python39"] = "python-3.9";
27991
28117
  Runtime["Python310"] = "python-3.10";
27992
28118
  Runtime["Python311"] = "python-3.11";
27993
28119
  Runtime["Python312"] = "python-3.12";
28120
+ Runtime["Python313"] = "python-3.13";
28121
+ Runtime["Python314"] = "python-3.14";
27994
28122
  Runtime["Pythonml311"] = "python-ml-3.11";
27995
28123
  Runtime["Pythonml312"] = "python-ml-3.12";
28124
+ Runtime["Pythonml313"] = "python-ml-3.13";
27996
28125
  Runtime["Deno140"] = "deno-1.40";
27997
28126
  Runtime["Deno146"] = "deno-1.46";
27998
28127
  Runtime["Deno20"] = "deno-2.0";
28128
+ Runtime["Deno25"] = "deno-2.5";
28129
+ Runtime["Deno26"] = "deno-2.6";
27999
28130
  Runtime["Dart215"] = "dart-2.15";
28000
28131
  Runtime["Dart216"] = "dart-2.16";
28001
28132
  Runtime["Dart217"] = "dart-2.17";
@@ -28011,25 +28142,34 @@ exports.Runtime = void 0;
28011
28142
  Runtime["Dotnet60"] = "dotnet-6.0";
28012
28143
  Runtime["Dotnet70"] = "dotnet-7.0";
28013
28144
  Runtime["Dotnet80"] = "dotnet-8.0";
28145
+ Runtime["Dotnet10"] = "dotnet-10";
28014
28146
  Runtime["Java80"] = "java-8.0";
28015
28147
  Runtime["Java110"] = "java-11.0";
28016
28148
  Runtime["Java170"] = "java-17.0";
28017
28149
  Runtime["Java180"] = "java-18.0";
28018
28150
  Runtime["Java210"] = "java-21.0";
28019
28151
  Runtime["Java22"] = "java-22";
28152
+ Runtime["Java25"] = "java-25";
28020
28153
  Runtime["Swift55"] = "swift-5.5";
28021
28154
  Runtime["Swift58"] = "swift-5.8";
28022
28155
  Runtime["Swift59"] = "swift-5.9";
28023
28156
  Runtime["Swift510"] = "swift-5.10";
28157
+ Runtime["Swift62"] = "swift-6.2";
28024
28158
  Runtime["Kotlin16"] = "kotlin-1.6";
28025
28159
  Runtime["Kotlin18"] = "kotlin-1.8";
28026
28160
  Runtime["Kotlin19"] = "kotlin-1.9";
28027
28161
  Runtime["Kotlin20"] = "kotlin-2.0";
28162
+ Runtime["Kotlin23"] = "kotlin-2.3";
28028
28163
  Runtime["Cpp17"] = "cpp-17";
28029
28164
  Runtime["Cpp20"] = "cpp-20";
28030
28165
  Runtime["Bun10"] = "bun-1.0";
28031
28166
  Runtime["Bun11"] = "bun-1.1";
28167
+ Runtime["Bun12"] = "bun-1.2";
28168
+ Runtime["Bun13"] = "bun-1.3";
28032
28169
  Runtime["Go123"] = "go-1.23";
28170
+ Runtime["Go124"] = "go-1.24";
28171
+ Runtime["Go125"] = "go-1.25";
28172
+ Runtime["Go126"] = "go-1.26";
28033
28173
  Runtime["Static1"] = "static-1";
28034
28174
  Runtime["Flutter324"] = "flutter-3.24";
28035
28175
  Runtime["Flutter327"] = "flutter-3.27";
@@ -28048,24 +28188,35 @@ exports.Runtimes = void 0;
28048
28188
  Runtimes["Node200"] = "node-20.0";
28049
28189
  Runtimes["Node210"] = "node-21.0";
28050
28190
  Runtimes["Node22"] = "node-22";
28191
+ Runtimes["Node23"] = "node-23";
28192
+ Runtimes["Node24"] = "node-24";
28193
+ Runtimes["Node25"] = "node-25";
28051
28194
  Runtimes["Php80"] = "php-8.0";
28052
28195
  Runtimes["Php81"] = "php-8.1";
28053
28196
  Runtimes["Php82"] = "php-8.2";
28054
28197
  Runtimes["Php83"] = "php-8.3";
28198
+ Runtimes["Php84"] = "php-8.4";
28055
28199
  Runtimes["Ruby30"] = "ruby-3.0";
28056
28200
  Runtimes["Ruby31"] = "ruby-3.1";
28057
28201
  Runtimes["Ruby32"] = "ruby-3.2";
28058
28202
  Runtimes["Ruby33"] = "ruby-3.3";
28203
+ Runtimes["Ruby34"] = "ruby-3.4";
28204
+ Runtimes["Ruby40"] = "ruby-4.0";
28059
28205
  Runtimes["Python38"] = "python-3.8";
28060
28206
  Runtimes["Python39"] = "python-3.9";
28061
28207
  Runtimes["Python310"] = "python-3.10";
28062
28208
  Runtimes["Python311"] = "python-3.11";
28063
28209
  Runtimes["Python312"] = "python-3.12";
28210
+ Runtimes["Python313"] = "python-3.13";
28211
+ Runtimes["Python314"] = "python-3.14";
28064
28212
  Runtimes["Pythonml311"] = "python-ml-3.11";
28065
28213
  Runtimes["Pythonml312"] = "python-ml-3.12";
28214
+ Runtimes["Pythonml313"] = "python-ml-3.13";
28066
28215
  Runtimes["Deno140"] = "deno-1.40";
28067
28216
  Runtimes["Deno146"] = "deno-1.46";
28068
28217
  Runtimes["Deno20"] = "deno-2.0";
28218
+ Runtimes["Deno25"] = "deno-2.5";
28219
+ Runtimes["Deno26"] = "deno-2.6";
28069
28220
  Runtimes["Dart215"] = "dart-2.15";
28070
28221
  Runtimes["Dart216"] = "dart-2.16";
28071
28222
  Runtimes["Dart217"] = "dart-2.17";
@@ -28081,25 +28232,34 @@ exports.Runtimes = void 0;
28081
28232
  Runtimes["Dotnet60"] = "dotnet-6.0";
28082
28233
  Runtimes["Dotnet70"] = "dotnet-7.0";
28083
28234
  Runtimes["Dotnet80"] = "dotnet-8.0";
28235
+ Runtimes["Dotnet10"] = "dotnet-10";
28084
28236
  Runtimes["Java80"] = "java-8.0";
28085
28237
  Runtimes["Java110"] = "java-11.0";
28086
28238
  Runtimes["Java170"] = "java-17.0";
28087
28239
  Runtimes["Java180"] = "java-18.0";
28088
28240
  Runtimes["Java210"] = "java-21.0";
28089
28241
  Runtimes["Java22"] = "java-22";
28242
+ Runtimes["Java25"] = "java-25";
28090
28243
  Runtimes["Swift55"] = "swift-5.5";
28091
28244
  Runtimes["Swift58"] = "swift-5.8";
28092
28245
  Runtimes["Swift59"] = "swift-5.9";
28093
28246
  Runtimes["Swift510"] = "swift-5.10";
28247
+ Runtimes["Swift62"] = "swift-6.2";
28094
28248
  Runtimes["Kotlin16"] = "kotlin-1.6";
28095
28249
  Runtimes["Kotlin18"] = "kotlin-1.8";
28096
28250
  Runtimes["Kotlin19"] = "kotlin-1.9";
28097
28251
  Runtimes["Kotlin20"] = "kotlin-2.0";
28252
+ Runtimes["Kotlin23"] = "kotlin-2.3";
28098
28253
  Runtimes["Cpp17"] = "cpp-17";
28099
28254
  Runtimes["Cpp20"] = "cpp-20";
28100
28255
  Runtimes["Bun10"] = "bun-1.0";
28101
28256
  Runtimes["Bun11"] = "bun-1.1";
28257
+ Runtimes["Bun12"] = "bun-1.2";
28258
+ Runtimes["Bun13"] = "bun-1.3";
28102
28259
  Runtimes["Go123"] = "go-1.23";
28260
+ Runtimes["Go124"] = "go-1.24";
28261
+ Runtimes["Go125"] = "go-1.25";
28262
+ Runtimes["Go126"] = "go-1.26";
28103
28263
  Runtimes["Static1"] = "static-1";
28104
28264
  Runtimes["Flutter324"] = "flutter-3.24";
28105
28265
  Runtimes["Flutter327"] = "flutter-3.27";
@@ -28251,6 +28411,14 @@ exports.PlatformType = void 0;
28251
28411
  PlatformType["Reactnativeandroid"] = "react-native-android";
28252
28412
  })(exports.PlatformType || (exports.PlatformType = {}));
28253
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
+
28254
28422
  exports.ApiService = void 0;
28255
28423
  (function (ApiService) {
28256
28424
  ApiService["Account"] = "account";
@@ -28277,12 +28445,12 @@ exports.SMTPSecure = void 0;
28277
28445
  exports.EmailTemplateType = void 0;
28278
28446
  (function (EmailTemplateType) {
28279
28447
  EmailTemplateType["Verification"] = "verification";
28280
- EmailTemplateType["Magicsession"] = "magicsession";
28448
+ EmailTemplateType["MagicSession"] = "magicSession";
28281
28449
  EmailTemplateType["Recovery"] = "recovery";
28282
28450
  EmailTemplateType["Invitation"] = "invitation";
28283
- EmailTemplateType["Mfachallenge"] = "mfachallenge";
28284
- EmailTemplateType["Sessionalert"] = "sessionalert";
28285
- EmailTemplateType["Otpsession"] = "otpsession";
28451
+ EmailTemplateType["MfaChallenge"] = "mfaChallenge";
28452
+ EmailTemplateType["SessionAlert"] = "sessionAlert";
28453
+ EmailTemplateType["OtpSession"] = "otpSession";
28286
28454
  })(exports.EmailTemplateType || (exports.EmailTemplateType = {}));
28287
28455
 
28288
28456
  exports.EmailTemplateLocale = void 0;
@@ -28425,7 +28593,7 @@ exports.SmsTemplateType = void 0;
28425
28593
  SmsTemplateType["Verification"] = "verification";
28426
28594
  SmsTemplateType["Login"] = "login";
28427
28595
  SmsTemplateType["Invitation"] = "invitation";
28428
- SmsTemplateType["Mfachallenge"] = "mfachallenge";
28596
+ SmsTemplateType["MfaChallenge"] = "mfaChallenge";
28429
28597
  })(exports.SmsTemplateType || (exports.SmsTemplateType = {}));
28430
28598
 
28431
28599
  exports.SmsTemplateLocale = void 0;
@@ -28605,24 +28773,35 @@ exports.BuildRuntime = void 0;
28605
28773
  BuildRuntime["Node200"] = "node-20.0";
28606
28774
  BuildRuntime["Node210"] = "node-21.0";
28607
28775
  BuildRuntime["Node22"] = "node-22";
28776
+ BuildRuntime["Node23"] = "node-23";
28777
+ BuildRuntime["Node24"] = "node-24";
28778
+ BuildRuntime["Node25"] = "node-25";
28608
28779
  BuildRuntime["Php80"] = "php-8.0";
28609
28780
  BuildRuntime["Php81"] = "php-8.1";
28610
28781
  BuildRuntime["Php82"] = "php-8.2";
28611
28782
  BuildRuntime["Php83"] = "php-8.3";
28783
+ BuildRuntime["Php84"] = "php-8.4";
28612
28784
  BuildRuntime["Ruby30"] = "ruby-3.0";
28613
28785
  BuildRuntime["Ruby31"] = "ruby-3.1";
28614
28786
  BuildRuntime["Ruby32"] = "ruby-3.2";
28615
28787
  BuildRuntime["Ruby33"] = "ruby-3.3";
28788
+ BuildRuntime["Ruby34"] = "ruby-3.4";
28789
+ BuildRuntime["Ruby40"] = "ruby-4.0";
28616
28790
  BuildRuntime["Python38"] = "python-3.8";
28617
28791
  BuildRuntime["Python39"] = "python-3.9";
28618
28792
  BuildRuntime["Python310"] = "python-3.10";
28619
28793
  BuildRuntime["Python311"] = "python-3.11";
28620
28794
  BuildRuntime["Python312"] = "python-3.12";
28795
+ BuildRuntime["Python313"] = "python-3.13";
28796
+ BuildRuntime["Python314"] = "python-3.14";
28621
28797
  BuildRuntime["Pythonml311"] = "python-ml-3.11";
28622
28798
  BuildRuntime["Pythonml312"] = "python-ml-3.12";
28799
+ BuildRuntime["Pythonml313"] = "python-ml-3.13";
28623
28800
  BuildRuntime["Deno140"] = "deno-1.40";
28624
28801
  BuildRuntime["Deno146"] = "deno-1.46";
28625
28802
  BuildRuntime["Deno20"] = "deno-2.0";
28803
+ BuildRuntime["Deno25"] = "deno-2.5";
28804
+ BuildRuntime["Deno26"] = "deno-2.6";
28626
28805
  BuildRuntime["Dart215"] = "dart-2.15";
28627
28806
  BuildRuntime["Dart216"] = "dart-2.16";
28628
28807
  BuildRuntime["Dart217"] = "dart-2.17";
@@ -28638,25 +28817,34 @@ exports.BuildRuntime = void 0;
28638
28817
  BuildRuntime["Dotnet60"] = "dotnet-6.0";
28639
28818
  BuildRuntime["Dotnet70"] = "dotnet-7.0";
28640
28819
  BuildRuntime["Dotnet80"] = "dotnet-8.0";
28820
+ BuildRuntime["Dotnet10"] = "dotnet-10";
28641
28821
  BuildRuntime["Java80"] = "java-8.0";
28642
28822
  BuildRuntime["Java110"] = "java-11.0";
28643
28823
  BuildRuntime["Java170"] = "java-17.0";
28644
28824
  BuildRuntime["Java180"] = "java-18.0";
28645
28825
  BuildRuntime["Java210"] = "java-21.0";
28646
28826
  BuildRuntime["Java22"] = "java-22";
28827
+ BuildRuntime["Java25"] = "java-25";
28647
28828
  BuildRuntime["Swift55"] = "swift-5.5";
28648
28829
  BuildRuntime["Swift58"] = "swift-5.8";
28649
28830
  BuildRuntime["Swift59"] = "swift-5.9";
28650
28831
  BuildRuntime["Swift510"] = "swift-5.10";
28832
+ BuildRuntime["Swift62"] = "swift-6.2";
28651
28833
  BuildRuntime["Kotlin16"] = "kotlin-1.6";
28652
28834
  BuildRuntime["Kotlin18"] = "kotlin-1.8";
28653
28835
  BuildRuntime["Kotlin19"] = "kotlin-1.9";
28654
28836
  BuildRuntime["Kotlin20"] = "kotlin-2.0";
28837
+ BuildRuntime["Kotlin23"] = "kotlin-2.3";
28655
28838
  BuildRuntime["Cpp17"] = "cpp-17";
28656
28839
  BuildRuntime["Cpp20"] = "cpp-20";
28657
28840
  BuildRuntime["Bun10"] = "bun-1.0";
28658
28841
  BuildRuntime["Bun11"] = "bun-1.1";
28842
+ BuildRuntime["Bun12"] = "bun-1.2";
28843
+ BuildRuntime["Bun13"] = "bun-1.3";
28659
28844
  BuildRuntime["Go123"] = "go-1.23";
28845
+ BuildRuntime["Go124"] = "go-1.24";
28846
+ BuildRuntime["Go125"] = "go-1.25";
28847
+ BuildRuntime["Go126"] = "go-1.26";
28660
28848
  BuildRuntime["Static1"] = "static-1";
28661
28849
  BuildRuntime["Flutter324"] = "flutter-3.24";
28662
28850
  BuildRuntime["Flutter327"] = "flutter-3.27";