@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/dist/iife/sdk.js CHANGED
@@ -44,10 +44,10 @@
44
44
  (function (globalObject) {
45
45
 
46
46
  /*
47
- * bignumber.js v9.0.0
47
+ * bignumber.js v9.3.1
48
48
  * A JavaScript library for arbitrary-precision arithmetic.
49
49
  * https://github.com/MikeMcl/bignumber.js
50
- * Copyright (c) 2019 Michael Mclaughlin <M8ch88l@gmail.com>
50
+ * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
51
51
  * MIT Licensed.
52
52
  *
53
53
  * BigNumber.prototype methods | BigNumber methods
@@ -187,7 +187,7 @@
187
187
 
188
188
  // The maximum number of significant digits of the result of the exponentiatedBy operation.
189
189
  // If POW_PRECISION is 0, there will be unlimited significant digits.
190
- POW_PRECISION = 0, // 0 to MAX
190
+ POW_PRECISION = 0, // 0 to MAX
191
191
 
192
192
  // The format specification used by the BigNumber.prototype.toFormat method.
193
193
  FORMAT = {
@@ -197,14 +197,15 @@
197
197
  groupSeparator: ',',
198
198
  decimalSeparator: '.',
199
199
  fractionGroupSize: 0,
200
- fractionGroupSeparator: '\xA0', // non-breaking space
200
+ fractionGroupSeparator: '\xA0', // non-breaking space
201
201
  suffix: ''
202
202
  },
203
203
 
204
204
  // The alphabet used for base conversion. It must be at least 2 characters long, with no '+',
205
205
  // '-', '.', whitespace, or repeated character.
206
206
  // '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'
207
- ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyz';
207
+ ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyz',
208
+ alphabetHasNormalDecimalDigits = true;
208
209
 
209
210
 
210
211
  //------------------------------------------------------------------------------------------
@@ -294,7 +295,7 @@
294
295
 
295
296
  // Allow exponential notation to be used with base 10 argument, while
296
297
  // also rounding to DECIMAL_PLACES as with other bases.
297
- if (b == 10) {
298
+ if (b == 10 && alphabetHasNormalDecimalDigits) {
298
299
  x = new BigNumber(v);
299
300
  return round(x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE);
300
301
  }
@@ -583,9 +584,10 @@
583
584
  if (obj.hasOwnProperty(p = 'ALPHABET')) {
584
585
  v = obj[p];
585
586
 
586
- // Disallow if only one character,
587
+ // Disallow if less than two characters,
587
588
  // or if it contains '+', '-', '.', whitespace, or a repeated character.
588
- if (typeof v == 'string' && !/^.$|[+-.\s]|(.).*\1/.test(v)) {
589
+ if (typeof v == 'string' && !/^.?$|[+\-.\s]|(.).*\1/.test(v)) {
590
+ alphabetHasNormalDecimalDigits = v.slice(0, 10) == '0123456789';
589
591
  ALPHABET = v;
590
592
  } else {
591
593
  throw Error
@@ -677,7 +679,7 @@
677
679
  * arguments {number|string|BigNumber}
678
680
  */
679
681
  BigNumber.maximum = BigNumber.max = function () {
680
- return maxOrMin(arguments, P.lt);
682
+ return maxOrMin(arguments, -1);
681
683
  };
682
684
 
683
685
 
@@ -687,7 +689,7 @@
687
689
  * arguments {number|string|BigNumber}
688
690
  */
689
691
  BigNumber.minimum = BigNumber.min = function () {
690
- return maxOrMin(arguments, P.gt);
692
+ return maxOrMin(arguments, 1);
691
693
  };
692
694
 
693
695
 
@@ -946,7 +948,7 @@
946
948
 
947
949
  // xc now represents str converted to baseOut.
948
950
 
949
- // THe index of the rounding digit.
951
+ // The index of the rounding digit.
950
952
  d = e + dp + 1;
951
953
 
952
954
  // The rounding digit: the digit to the right of the digit that may be rounded up.
@@ -1310,7 +1312,7 @@
1310
1312
 
1311
1313
  // Fixed-point notation.
1312
1314
  } else {
1313
- i -= ne;
1315
+ i -= ne + (id === 2 && e > ne);
1314
1316
  str = toFixedPoint(str, e, '0');
1315
1317
 
1316
1318
  // Append zeros?
@@ -1331,24 +1333,20 @@
1331
1333
 
1332
1334
 
1333
1335
  // Handle BigNumber.max and BigNumber.min.
1334
- function maxOrMin(args, method) {
1335
- var n,
1336
+ // If any number is NaN, return NaN.
1337
+ function maxOrMin(args, n) {
1338
+ var k, y,
1336
1339
  i = 1,
1337
- m = new BigNumber(args[0]);
1340
+ x = new BigNumber(args[0]);
1338
1341
 
1339
1342
  for (; i < args.length; i++) {
1340
- n = new BigNumber(args[i]);
1341
-
1342
- // If any number is NaN, return NaN.
1343
- if (!n.s) {
1344
- m = n;
1345
- break;
1346
- } else if (method.call(m, n)) {
1347
- m = n;
1343
+ y = new BigNumber(args[i]);
1344
+ if (!y.s || (k = compare(x, y)) === n || k === 0 && x.s === n) {
1345
+ x = y;
1348
1346
  }
1349
1347
  }
1350
1348
 
1351
- return m;
1349
+ return x;
1352
1350
  }
1353
1351
 
1354
1352
 
@@ -1467,7 +1465,7 @@
1467
1465
  n = xc[ni = 0];
1468
1466
 
1469
1467
  // Get the rounding digit at index j of n.
1470
- rd = n / pows10[d - j - 1] % 10 | 0;
1468
+ rd = mathfloor(n / pows10[d - j - 1] % 10);
1471
1469
  } else {
1472
1470
  ni = mathceil((i + 1) / LOG_BASE);
1473
1471
 
@@ -1498,7 +1496,7 @@
1498
1496
  j = i - LOG_BASE + d;
1499
1497
 
1500
1498
  // Get the rounding digit at index j of n.
1501
- rd = j < 0 ? 0 : n / pows10[d - j - 1] % 10 | 0;
1499
+ rd = j < 0 ? 0 : mathfloor(n / pows10[d - j - 1] % 10);
1502
1500
  }
1503
1501
  }
1504
1502
 
@@ -1746,7 +1744,7 @@
1746
1744
 
1747
1745
  // The sign of the result of pow when x is negative depends on the evenness of n.
1748
1746
  // If +n overflows to ±Infinity, the evenness of n would be not be known.
1749
- y = new BigNumber(Math.pow(+valueOf(x), nIsBig ? 2 - isOdd(n) : +valueOf(n)));
1747
+ y = new BigNumber(Math.pow(+valueOf(x), nIsBig ? n.s * (2 - isOdd(n)) : +valueOf(n)));
1750
1748
  return m ? y.mod(m) : y;
1751
1749
  }
1752
1750
 
@@ -2047,7 +2045,12 @@
2047
2045
  }
2048
2046
 
2049
2047
  // x < y? Point xc to the array of the bigger number.
2050
- if (xLTy) t = xc, xc = yc, yc = t, y.s = -y.s;
2048
+ if (xLTy) {
2049
+ t = xc;
2050
+ xc = yc;
2051
+ yc = t;
2052
+ y.s = -y.s;
2053
+ }
2051
2054
 
2052
2055
  b = (j = yc.length) - (i = xc.length);
2053
2056
 
@@ -2201,7 +2204,14 @@
2201
2204
  ycL = yc.length;
2202
2205
 
2203
2206
  // Ensure xc points to longer array and xcL to its length.
2204
- if (xcL < ycL) zc = xc, xc = yc, yc = zc, i = xcL, xcL = ycL, ycL = i;
2207
+ if (xcL < ycL) {
2208
+ zc = xc;
2209
+ xc = yc;
2210
+ yc = zc;
2211
+ i = xcL;
2212
+ xcL = ycL;
2213
+ ycL = i;
2214
+ }
2205
2215
 
2206
2216
  // Initialise the result array with zeros.
2207
2217
  for (i = xcL + ycL, zc = []; i--; zc.push(0));
@@ -2322,7 +2332,12 @@
2322
2332
  b = yc.length;
2323
2333
 
2324
2334
  // Point xc to the longer array, and b to the shorter length.
2325
- if (a - b < 0) t = yc, yc = xc, xc = t, b = a;
2335
+ if (a - b < 0) {
2336
+ t = yc;
2337
+ yc = xc;
2338
+ xc = t;
2339
+ b = a;
2340
+ }
2326
2341
 
2327
2342
  // Only start adding at yc.length - 1 as the further digits of xc can be ignored.
2328
2343
  for (a = 0; b;) {
@@ -2438,7 +2453,7 @@
2438
2453
  e = bitFloor((e + 1) / 2) - (e < 0 || e % 2);
2439
2454
 
2440
2455
  if (s == 1 / 0) {
2441
- n = '1e' + e;
2456
+ n = '5e' + e;
2442
2457
  } else {
2443
2458
  n = s.toExponential();
2444
2459
  n = n.slice(0, n.indexOf('e') + 1) + e;
@@ -2608,7 +2623,12 @@
2608
2623
  intDigits = isNeg ? intPart.slice(1) : intPart,
2609
2624
  len = intDigits.length;
2610
2625
 
2611
- if (g2) i = g1, g1 = g2, g2 = i, len -= i;
2626
+ if (g2) {
2627
+ i = g1;
2628
+ g1 = g2;
2629
+ g2 = i;
2630
+ len -= i;
2631
+ }
2612
2632
 
2613
2633
  if (g1 > 0 && len > 0) {
2614
2634
  i = len % g1 || g1;
@@ -2760,7 +2780,7 @@
2760
2780
  str = e <= TO_EXP_NEG || e >= TO_EXP_POS
2761
2781
  ? toExponential(coeffToString(n.c), e)
2762
2782
  : toFixedPoint(coeffToString(n.c), e, '0');
2763
- } else if (b === 10) {
2783
+ } else if (b === 10 && alphabetHasNormalDecimalDigits) {
2764
2784
  n = round(new BigNumber(n), DECIMAL_PLACES + e + 1, ROUNDING_MODE);
2765
2785
  str = toFixedPoint(coeffToString(n.c), n.e, '0');
2766
2786
  } else {
@@ -2940,8 +2960,6 @@
2940
2960
  })(commonjsGlobal);
2941
2961
  } (bignumber));
2942
2962
 
2943
- var BigNumber$1 = bignumber.exports;
2944
-
2945
2963
  (function (module) {
2946
2964
  var BigNumber = bignumber.exports;
2947
2965
 
@@ -4212,8 +4230,16 @@
4212
4230
  const JSONbigSerializer = jsonBigint.exports({ useNativeBigInt: true });
4213
4231
  const MAX_SAFE = BigInt(Number.MAX_SAFE_INTEGER);
4214
4232
  const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER);
4233
+ function isBigNumber(value) {
4234
+ return value !== null
4235
+ && typeof value === 'object'
4236
+ && value._isBigNumber === true
4237
+ && typeof value.isInteger === 'function'
4238
+ && typeof value.toFixed === 'function'
4239
+ && typeof value.toNumber === 'function';
4240
+ }
4215
4241
  function reviver(_key, value) {
4216
- if (BigNumber$1.isBigNumber(value)) {
4242
+ if (isBigNumber(value)) {
4217
4243
  if (value.isInteger()) {
4218
4244
  const str = value.toFixed();
4219
4245
  const bi = BigInt(str);
@@ -4279,7 +4305,7 @@
4279
4305
  'x-sdk-name': 'Console',
4280
4306
  'x-sdk-platform': 'console',
4281
4307
  'x-sdk-language': 'web',
4282
- 'x-sdk-version': '2.3.1',
4308
+ 'x-sdk-version': '3.0.0',
4283
4309
  'X-Appwrite-Response-Format': '1.8.0',
4284
4310
  };
4285
4311
  this.realtime = {
@@ -21213,6 +21239,117 @@
21213
21239
  };
21214
21240
  return this.client.call('delete', uri, apiHeaders, payload);
21215
21241
  }
21242
+ listSchedules(paramsOrFirst, ...rest) {
21243
+ let params;
21244
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21245
+ params = (paramsOrFirst || {});
21246
+ }
21247
+ else {
21248
+ params = {
21249
+ projectId: paramsOrFirst,
21250
+ queries: rest[0],
21251
+ total: rest[1]
21252
+ };
21253
+ }
21254
+ const projectId = params.projectId;
21255
+ const queries = params.queries;
21256
+ const total = params.total;
21257
+ if (typeof projectId === 'undefined') {
21258
+ throw new AppwriteException('Missing required parameter: "projectId"');
21259
+ }
21260
+ const apiPath = '/projects/{projectId}/schedules'.replace('{projectId}', projectId);
21261
+ const payload = {};
21262
+ if (typeof queries !== 'undefined') {
21263
+ payload['queries'] = queries;
21264
+ }
21265
+ if (typeof total !== 'undefined') {
21266
+ payload['total'] = total;
21267
+ }
21268
+ const uri = new URL(this.client.config.endpoint + apiPath);
21269
+ const apiHeaders = {};
21270
+ return this.client.call('get', uri, apiHeaders, payload);
21271
+ }
21272
+ createSchedule(paramsOrFirst, ...rest) {
21273
+ let params;
21274
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21275
+ params = (paramsOrFirst || {});
21276
+ }
21277
+ else {
21278
+ params = {
21279
+ projectId: paramsOrFirst,
21280
+ resourceType: rest[0],
21281
+ resourceId: rest[1],
21282
+ schedule: rest[2],
21283
+ active: rest[3],
21284
+ data: rest[4]
21285
+ };
21286
+ }
21287
+ const projectId = params.projectId;
21288
+ const resourceType = params.resourceType;
21289
+ const resourceId = params.resourceId;
21290
+ const schedule = params.schedule;
21291
+ const active = params.active;
21292
+ const data = params.data;
21293
+ if (typeof projectId === 'undefined') {
21294
+ throw new AppwriteException('Missing required parameter: "projectId"');
21295
+ }
21296
+ if (typeof resourceType === 'undefined') {
21297
+ throw new AppwriteException('Missing required parameter: "resourceType"');
21298
+ }
21299
+ if (typeof resourceId === 'undefined') {
21300
+ throw new AppwriteException('Missing required parameter: "resourceId"');
21301
+ }
21302
+ if (typeof schedule === 'undefined') {
21303
+ throw new AppwriteException('Missing required parameter: "schedule"');
21304
+ }
21305
+ const apiPath = '/projects/{projectId}/schedules'.replace('{projectId}', projectId);
21306
+ const payload = {};
21307
+ if (typeof resourceType !== 'undefined') {
21308
+ payload['resourceType'] = resourceType;
21309
+ }
21310
+ if (typeof resourceId !== 'undefined') {
21311
+ payload['resourceId'] = resourceId;
21312
+ }
21313
+ if (typeof schedule !== 'undefined') {
21314
+ payload['schedule'] = schedule;
21315
+ }
21316
+ if (typeof active !== 'undefined') {
21317
+ payload['active'] = active;
21318
+ }
21319
+ if (typeof data !== 'undefined') {
21320
+ payload['data'] = data;
21321
+ }
21322
+ const uri = new URL(this.client.config.endpoint + apiPath);
21323
+ const apiHeaders = {
21324
+ 'content-type': 'application/json',
21325
+ };
21326
+ return this.client.call('post', uri, apiHeaders, payload);
21327
+ }
21328
+ getSchedule(paramsOrFirst, ...rest) {
21329
+ let params;
21330
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21331
+ params = (paramsOrFirst || {});
21332
+ }
21333
+ else {
21334
+ params = {
21335
+ projectId: paramsOrFirst,
21336
+ scheduleId: rest[0]
21337
+ };
21338
+ }
21339
+ const projectId = params.projectId;
21340
+ const scheduleId = params.scheduleId;
21341
+ if (typeof projectId === 'undefined') {
21342
+ throw new AppwriteException('Missing required parameter: "projectId"');
21343
+ }
21344
+ if (typeof scheduleId === 'undefined') {
21345
+ throw new AppwriteException('Missing required parameter: "scheduleId"');
21346
+ }
21347
+ const apiPath = '/projects/{projectId}/schedules/{scheduleId}'.replace('{projectId}', projectId).replace('{scheduleId}', scheduleId);
21348
+ const payload = {};
21349
+ const uri = new URL(this.client.config.endpoint + apiPath);
21350
+ const apiHeaders = {};
21351
+ return this.client.call('get', uri, apiHeaders, payload);
21352
+ }
21216
21353
  updateServiceStatus(paramsOrFirst, ...rest) {
21217
21354
  let params;
21218
21355
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -30494,6 +30631,9 @@
30494
30631
  create() {
30495
30632
  return this.resolve("create");
30496
30633
  }
30634
+ upsert() {
30635
+ return this.resolve("upsert");
30636
+ }
30497
30637
  update() {
30498
30638
  return this.resolve("update");
30499
30639
  }
@@ -30861,6 +31001,8 @@
30861
31001
  Scopes["TargetsWrite"] = "targets.write";
30862
31002
  Scopes["RulesRead"] = "rules.read";
30863
31003
  Scopes["RulesWrite"] = "rules.write";
31004
+ Scopes["SchedulesRead"] = "schedules.read";
31005
+ Scopes["SchedulesWrite"] = "schedules.write";
30864
31006
  Scopes["MigrationsRead"] = "migrations.read";
30865
31007
  Scopes["MigrationsWrite"] = "migrations.write";
30866
31008
  Scopes["VcsRead"] = "vcs.read";
@@ -30933,8 +31075,6 @@
30933
31075
  OAuthProvider["Yandex"] = "yandex";
30934
31076
  OAuthProvider["Zoho"] = "zoho";
30935
31077
  OAuthProvider["Zoom"] = "zoom";
30936
- OAuthProvider["GithubImagine"] = "githubImagine";
30937
- OAuthProvider["GoogleImagine"] = "googleImagine";
30938
31078
  })(exports.OAuthProvider || (exports.OAuthProvider = {}));
30939
31079
 
30940
31080
  exports.Browser = void 0;
@@ -31716,24 +31856,35 @@
31716
31856
  Runtime["Node200"] = "node-20.0";
31717
31857
  Runtime["Node210"] = "node-21.0";
31718
31858
  Runtime["Node22"] = "node-22";
31859
+ Runtime["Node23"] = "node-23";
31860
+ Runtime["Node24"] = "node-24";
31861
+ Runtime["Node25"] = "node-25";
31719
31862
  Runtime["Php80"] = "php-8.0";
31720
31863
  Runtime["Php81"] = "php-8.1";
31721
31864
  Runtime["Php82"] = "php-8.2";
31722
31865
  Runtime["Php83"] = "php-8.3";
31866
+ Runtime["Php84"] = "php-8.4";
31723
31867
  Runtime["Ruby30"] = "ruby-3.0";
31724
31868
  Runtime["Ruby31"] = "ruby-3.1";
31725
31869
  Runtime["Ruby32"] = "ruby-3.2";
31726
31870
  Runtime["Ruby33"] = "ruby-3.3";
31871
+ Runtime["Ruby34"] = "ruby-3.4";
31872
+ Runtime["Ruby40"] = "ruby-4.0";
31727
31873
  Runtime["Python38"] = "python-3.8";
31728
31874
  Runtime["Python39"] = "python-3.9";
31729
31875
  Runtime["Python310"] = "python-3.10";
31730
31876
  Runtime["Python311"] = "python-3.11";
31731
31877
  Runtime["Python312"] = "python-3.12";
31878
+ Runtime["Python313"] = "python-3.13";
31879
+ Runtime["Python314"] = "python-3.14";
31732
31880
  Runtime["Pythonml311"] = "python-ml-3.11";
31733
31881
  Runtime["Pythonml312"] = "python-ml-3.12";
31882
+ Runtime["Pythonml313"] = "python-ml-3.13";
31734
31883
  Runtime["Deno140"] = "deno-1.40";
31735
31884
  Runtime["Deno146"] = "deno-1.46";
31736
31885
  Runtime["Deno20"] = "deno-2.0";
31886
+ Runtime["Deno25"] = "deno-2.5";
31887
+ Runtime["Deno26"] = "deno-2.6";
31737
31888
  Runtime["Dart215"] = "dart-2.15";
31738
31889
  Runtime["Dart216"] = "dart-2.16";
31739
31890
  Runtime["Dart217"] = "dart-2.17";
@@ -31749,25 +31900,34 @@
31749
31900
  Runtime["Dotnet60"] = "dotnet-6.0";
31750
31901
  Runtime["Dotnet70"] = "dotnet-7.0";
31751
31902
  Runtime["Dotnet80"] = "dotnet-8.0";
31903
+ Runtime["Dotnet10"] = "dotnet-10";
31752
31904
  Runtime["Java80"] = "java-8.0";
31753
31905
  Runtime["Java110"] = "java-11.0";
31754
31906
  Runtime["Java170"] = "java-17.0";
31755
31907
  Runtime["Java180"] = "java-18.0";
31756
31908
  Runtime["Java210"] = "java-21.0";
31757
31909
  Runtime["Java22"] = "java-22";
31910
+ Runtime["Java25"] = "java-25";
31758
31911
  Runtime["Swift55"] = "swift-5.5";
31759
31912
  Runtime["Swift58"] = "swift-5.8";
31760
31913
  Runtime["Swift59"] = "swift-5.9";
31761
31914
  Runtime["Swift510"] = "swift-5.10";
31915
+ Runtime["Swift62"] = "swift-6.2";
31762
31916
  Runtime["Kotlin16"] = "kotlin-1.6";
31763
31917
  Runtime["Kotlin18"] = "kotlin-1.8";
31764
31918
  Runtime["Kotlin19"] = "kotlin-1.9";
31765
31919
  Runtime["Kotlin20"] = "kotlin-2.0";
31920
+ Runtime["Kotlin23"] = "kotlin-2.3";
31766
31921
  Runtime["Cpp17"] = "cpp-17";
31767
31922
  Runtime["Cpp20"] = "cpp-20";
31768
31923
  Runtime["Bun10"] = "bun-1.0";
31769
31924
  Runtime["Bun11"] = "bun-1.1";
31925
+ Runtime["Bun12"] = "bun-1.2";
31926
+ Runtime["Bun13"] = "bun-1.3";
31770
31927
  Runtime["Go123"] = "go-1.23";
31928
+ Runtime["Go124"] = "go-1.24";
31929
+ Runtime["Go125"] = "go-1.25";
31930
+ Runtime["Go126"] = "go-1.26";
31771
31931
  Runtime["Static1"] = "static-1";
31772
31932
  Runtime["Flutter324"] = "flutter-3.24";
31773
31933
  Runtime["Flutter327"] = "flutter-3.27";
@@ -31786,24 +31946,35 @@
31786
31946
  Runtimes["Node200"] = "node-20.0";
31787
31947
  Runtimes["Node210"] = "node-21.0";
31788
31948
  Runtimes["Node22"] = "node-22";
31949
+ Runtimes["Node23"] = "node-23";
31950
+ Runtimes["Node24"] = "node-24";
31951
+ Runtimes["Node25"] = "node-25";
31789
31952
  Runtimes["Php80"] = "php-8.0";
31790
31953
  Runtimes["Php81"] = "php-8.1";
31791
31954
  Runtimes["Php82"] = "php-8.2";
31792
31955
  Runtimes["Php83"] = "php-8.3";
31956
+ Runtimes["Php84"] = "php-8.4";
31793
31957
  Runtimes["Ruby30"] = "ruby-3.0";
31794
31958
  Runtimes["Ruby31"] = "ruby-3.1";
31795
31959
  Runtimes["Ruby32"] = "ruby-3.2";
31796
31960
  Runtimes["Ruby33"] = "ruby-3.3";
31961
+ Runtimes["Ruby34"] = "ruby-3.4";
31962
+ Runtimes["Ruby40"] = "ruby-4.0";
31797
31963
  Runtimes["Python38"] = "python-3.8";
31798
31964
  Runtimes["Python39"] = "python-3.9";
31799
31965
  Runtimes["Python310"] = "python-3.10";
31800
31966
  Runtimes["Python311"] = "python-3.11";
31801
31967
  Runtimes["Python312"] = "python-3.12";
31968
+ Runtimes["Python313"] = "python-3.13";
31969
+ Runtimes["Python314"] = "python-3.14";
31802
31970
  Runtimes["Pythonml311"] = "python-ml-3.11";
31803
31971
  Runtimes["Pythonml312"] = "python-ml-3.12";
31972
+ Runtimes["Pythonml313"] = "python-ml-3.13";
31804
31973
  Runtimes["Deno140"] = "deno-1.40";
31805
31974
  Runtimes["Deno146"] = "deno-1.46";
31806
31975
  Runtimes["Deno20"] = "deno-2.0";
31976
+ Runtimes["Deno25"] = "deno-2.5";
31977
+ Runtimes["Deno26"] = "deno-2.6";
31807
31978
  Runtimes["Dart215"] = "dart-2.15";
31808
31979
  Runtimes["Dart216"] = "dart-2.16";
31809
31980
  Runtimes["Dart217"] = "dart-2.17";
@@ -31819,25 +31990,34 @@
31819
31990
  Runtimes["Dotnet60"] = "dotnet-6.0";
31820
31991
  Runtimes["Dotnet70"] = "dotnet-7.0";
31821
31992
  Runtimes["Dotnet80"] = "dotnet-8.0";
31993
+ Runtimes["Dotnet10"] = "dotnet-10";
31822
31994
  Runtimes["Java80"] = "java-8.0";
31823
31995
  Runtimes["Java110"] = "java-11.0";
31824
31996
  Runtimes["Java170"] = "java-17.0";
31825
31997
  Runtimes["Java180"] = "java-18.0";
31826
31998
  Runtimes["Java210"] = "java-21.0";
31827
31999
  Runtimes["Java22"] = "java-22";
32000
+ Runtimes["Java25"] = "java-25";
31828
32001
  Runtimes["Swift55"] = "swift-5.5";
31829
32002
  Runtimes["Swift58"] = "swift-5.8";
31830
32003
  Runtimes["Swift59"] = "swift-5.9";
31831
32004
  Runtimes["Swift510"] = "swift-5.10";
32005
+ Runtimes["Swift62"] = "swift-6.2";
31832
32006
  Runtimes["Kotlin16"] = "kotlin-1.6";
31833
32007
  Runtimes["Kotlin18"] = "kotlin-1.8";
31834
32008
  Runtimes["Kotlin19"] = "kotlin-1.9";
31835
32009
  Runtimes["Kotlin20"] = "kotlin-2.0";
32010
+ Runtimes["Kotlin23"] = "kotlin-2.3";
31836
32011
  Runtimes["Cpp17"] = "cpp-17";
31837
32012
  Runtimes["Cpp20"] = "cpp-20";
31838
32013
  Runtimes["Bun10"] = "bun-1.0";
31839
32014
  Runtimes["Bun11"] = "bun-1.1";
32015
+ Runtimes["Bun12"] = "bun-1.2";
32016
+ Runtimes["Bun13"] = "bun-1.3";
31840
32017
  Runtimes["Go123"] = "go-1.23";
32018
+ Runtimes["Go124"] = "go-1.24";
32019
+ Runtimes["Go125"] = "go-1.25";
32020
+ Runtimes["Go126"] = "go-1.26";
31841
32021
  Runtimes["Static1"] = "static-1";
31842
32022
  Runtimes["Flutter324"] = "flutter-3.24";
31843
32023
  Runtimes["Flutter327"] = "flutter-3.27";
@@ -31989,6 +32169,14 @@
31989
32169
  PlatformType["Reactnativeandroid"] = "react-native-android";
31990
32170
  })(exports.PlatformType || (exports.PlatformType = {}));
31991
32171
 
32172
+ exports.ResourceType = void 0;
32173
+ (function (ResourceType) {
32174
+ ResourceType["Function"] = "function";
32175
+ ResourceType["Execution"] = "execution";
32176
+ ResourceType["Message"] = "message";
32177
+ ResourceType["Backup"] = "backup";
32178
+ })(exports.ResourceType || (exports.ResourceType = {}));
32179
+
31992
32180
  exports.ApiService = void 0;
31993
32181
  (function (ApiService) {
31994
32182
  ApiService["Account"] = "account";
@@ -32015,12 +32203,12 @@
32015
32203
  exports.EmailTemplateType = void 0;
32016
32204
  (function (EmailTemplateType) {
32017
32205
  EmailTemplateType["Verification"] = "verification";
32018
- EmailTemplateType["Magicsession"] = "magicsession";
32206
+ EmailTemplateType["MagicSession"] = "magicSession";
32019
32207
  EmailTemplateType["Recovery"] = "recovery";
32020
32208
  EmailTemplateType["Invitation"] = "invitation";
32021
- EmailTemplateType["Mfachallenge"] = "mfachallenge";
32022
- EmailTemplateType["Sessionalert"] = "sessionalert";
32023
- EmailTemplateType["Otpsession"] = "otpsession";
32209
+ EmailTemplateType["MfaChallenge"] = "mfaChallenge";
32210
+ EmailTemplateType["SessionAlert"] = "sessionAlert";
32211
+ EmailTemplateType["OtpSession"] = "otpSession";
32024
32212
  })(exports.EmailTemplateType || (exports.EmailTemplateType = {}));
32025
32213
 
32026
32214
  exports.EmailTemplateLocale = void 0;
@@ -32163,7 +32351,7 @@
32163
32351
  SmsTemplateType["Verification"] = "verification";
32164
32352
  SmsTemplateType["Login"] = "login";
32165
32353
  SmsTemplateType["Invitation"] = "invitation";
32166
- SmsTemplateType["Mfachallenge"] = "mfachallenge";
32354
+ SmsTemplateType["MfaChallenge"] = "mfaChallenge";
32167
32355
  })(exports.SmsTemplateType || (exports.SmsTemplateType = {}));
32168
32356
 
32169
32357
  exports.SmsTemplateLocale = void 0;
@@ -32343,24 +32531,35 @@
32343
32531
  BuildRuntime["Node200"] = "node-20.0";
32344
32532
  BuildRuntime["Node210"] = "node-21.0";
32345
32533
  BuildRuntime["Node22"] = "node-22";
32534
+ BuildRuntime["Node23"] = "node-23";
32535
+ BuildRuntime["Node24"] = "node-24";
32536
+ BuildRuntime["Node25"] = "node-25";
32346
32537
  BuildRuntime["Php80"] = "php-8.0";
32347
32538
  BuildRuntime["Php81"] = "php-8.1";
32348
32539
  BuildRuntime["Php82"] = "php-8.2";
32349
32540
  BuildRuntime["Php83"] = "php-8.3";
32541
+ BuildRuntime["Php84"] = "php-8.4";
32350
32542
  BuildRuntime["Ruby30"] = "ruby-3.0";
32351
32543
  BuildRuntime["Ruby31"] = "ruby-3.1";
32352
32544
  BuildRuntime["Ruby32"] = "ruby-3.2";
32353
32545
  BuildRuntime["Ruby33"] = "ruby-3.3";
32546
+ BuildRuntime["Ruby34"] = "ruby-3.4";
32547
+ BuildRuntime["Ruby40"] = "ruby-4.0";
32354
32548
  BuildRuntime["Python38"] = "python-3.8";
32355
32549
  BuildRuntime["Python39"] = "python-3.9";
32356
32550
  BuildRuntime["Python310"] = "python-3.10";
32357
32551
  BuildRuntime["Python311"] = "python-3.11";
32358
32552
  BuildRuntime["Python312"] = "python-3.12";
32553
+ BuildRuntime["Python313"] = "python-3.13";
32554
+ BuildRuntime["Python314"] = "python-3.14";
32359
32555
  BuildRuntime["Pythonml311"] = "python-ml-3.11";
32360
32556
  BuildRuntime["Pythonml312"] = "python-ml-3.12";
32557
+ BuildRuntime["Pythonml313"] = "python-ml-3.13";
32361
32558
  BuildRuntime["Deno140"] = "deno-1.40";
32362
32559
  BuildRuntime["Deno146"] = "deno-1.46";
32363
32560
  BuildRuntime["Deno20"] = "deno-2.0";
32561
+ BuildRuntime["Deno25"] = "deno-2.5";
32562
+ BuildRuntime["Deno26"] = "deno-2.6";
32364
32563
  BuildRuntime["Dart215"] = "dart-2.15";
32365
32564
  BuildRuntime["Dart216"] = "dart-2.16";
32366
32565
  BuildRuntime["Dart217"] = "dart-2.17";
@@ -32376,25 +32575,34 @@
32376
32575
  BuildRuntime["Dotnet60"] = "dotnet-6.0";
32377
32576
  BuildRuntime["Dotnet70"] = "dotnet-7.0";
32378
32577
  BuildRuntime["Dotnet80"] = "dotnet-8.0";
32578
+ BuildRuntime["Dotnet10"] = "dotnet-10";
32379
32579
  BuildRuntime["Java80"] = "java-8.0";
32380
32580
  BuildRuntime["Java110"] = "java-11.0";
32381
32581
  BuildRuntime["Java170"] = "java-17.0";
32382
32582
  BuildRuntime["Java180"] = "java-18.0";
32383
32583
  BuildRuntime["Java210"] = "java-21.0";
32384
32584
  BuildRuntime["Java22"] = "java-22";
32585
+ BuildRuntime["Java25"] = "java-25";
32385
32586
  BuildRuntime["Swift55"] = "swift-5.5";
32386
32587
  BuildRuntime["Swift58"] = "swift-5.8";
32387
32588
  BuildRuntime["Swift59"] = "swift-5.9";
32388
32589
  BuildRuntime["Swift510"] = "swift-5.10";
32590
+ BuildRuntime["Swift62"] = "swift-6.2";
32389
32591
  BuildRuntime["Kotlin16"] = "kotlin-1.6";
32390
32592
  BuildRuntime["Kotlin18"] = "kotlin-1.8";
32391
32593
  BuildRuntime["Kotlin19"] = "kotlin-1.9";
32392
32594
  BuildRuntime["Kotlin20"] = "kotlin-2.0";
32595
+ BuildRuntime["Kotlin23"] = "kotlin-2.3";
32393
32596
  BuildRuntime["Cpp17"] = "cpp-17";
32394
32597
  BuildRuntime["Cpp20"] = "cpp-20";
32395
32598
  BuildRuntime["Bun10"] = "bun-1.0";
32396
32599
  BuildRuntime["Bun11"] = "bun-1.1";
32600
+ BuildRuntime["Bun12"] = "bun-1.2";
32601
+ BuildRuntime["Bun13"] = "bun-1.3";
32397
32602
  BuildRuntime["Go123"] = "go-1.23";
32603
+ BuildRuntime["Go124"] = "go-1.24";
32604
+ BuildRuntime["Go125"] = "go-1.25";
32605
+ BuildRuntime["Go126"] = "go-1.26";
32398
32606
  BuildRuntime["Static1"] = "static-1";
32399
32607
  BuildRuntime["Flutter324"] = "flutter-3.24";
32400
32608
  BuildRuntime["Flutter327"] = "flutter-3.27";