@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.
- package/CHANGELOG.md +14 -0
- package/README.md +2 -2
- package/dist/cjs/sdk.js +294 -28
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +294 -28
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +347 -61
- package/docs/examples/activities/get-event.md +15 -0
- package/docs/examples/activities/list-events.md +15 -0
- package/docs/examples/databases/create-longtext-attribute.md +2 -1
- package/docs/examples/databases/create-mediumtext-attribute.md +2 -1
- package/docs/examples/databases/create-text-attribute.md +2 -1
- package/docs/examples/databases/create-varchar-attribute.md +2 -1
- package/docs/examples/projects/create-schedule.md +20 -0
- package/docs/examples/projects/get-schedule.md +16 -0
- package/docs/examples/projects/list-schedules.md +17 -0
- package/docs/examples/tablesdb/create-longtext-column.md +2 -1
- package/docs/examples/tablesdb/create-mediumtext-column.md +2 -1
- package/docs/examples/tablesdb/create-text-column.md +2 -1
- package/docs/examples/tablesdb/create-varchar-column.md +2 -1
- package/package.json +2 -3
- package/src/channel.ts +4 -0
- package/src/client.ts +11 -3
- package/src/enums/build-runtime.ts +20 -3
- package/src/enums/email-template-type.ts +4 -4
- package/src/enums/o-auth-provider.ts +0 -2
- package/src/enums/resource-type.ts +6 -0
- package/src/enums/runtime.ts +20 -3
- package/src/enums/runtimes.ts +20 -3
- package/src/enums/scopes.ts +2 -0
- package/src/enums/sms-template-type.ts +1 -1
- package/src/index.ts +3 -0
- package/src/models.ts +250 -6
- package/src/services/account.ts +4 -4
- package/src/services/activities.ts +116 -0
- package/src/services/databases.ts +56 -28
- package/src/services/migrations.ts +2 -2
- package/src/services/projects.ts +223 -0
- package/src/services/tables-db.ts +56 -28
- package/types/channel.d.ts +1 -0
- package/types/enums/build-runtime.d.ts +20 -3
- package/types/enums/email-template-type.d.ts +4 -4
- package/types/enums/o-auth-provider.d.ts +1 -3
- package/types/enums/resource-type.d.ts +6 -0
- package/types/enums/runtime.d.ts +20 -3
- package/types/enums/runtimes.d.ts +20 -3
- package/types/enums/scopes.d.ts +2 -0
- package/types/enums/sms-template-type.d.ts +1 -1
- package/types/index.d.ts +3 -0
- package/types/models.d.ts +246 -6
- package/types/services/account.d.ts +4 -4
- package/types/services/activities.d.ts +46 -0
- package/types/services/databases.d.ts +16 -4
- package/types/services/migrations.d.ts +2 -2
- package/types/services/projects.d.ts +82 -0
- package/types/services/tables-db.d.ts +16 -4
package/dist/iife/sdk.js
CHANGED
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
(function (globalObject) {
|
|
45
45
|
|
|
46
46
|
/*
|
|
47
|
-
* bignumber.js v9.
|
|
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)
|
|
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,
|
|
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',
|
|
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
|
|
587
|
+
// Disallow if less than two characters,
|
|
587
588
|
// or if it contains '+', '-', '.', whitespace, or a repeated character.
|
|
588
|
-
if (typeof v == 'string' &&
|
|
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,
|
|
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,
|
|
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
|
-
//
|
|
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
|
-
|
|
1335
|
-
|
|
1336
|
+
// If any number is NaN, return NaN.
|
|
1337
|
+
function maxOrMin(args, n) {
|
|
1338
|
+
var k, y,
|
|
1336
1339
|
i = 1,
|
|
1337
|
-
|
|
1340
|
+
x = new BigNumber(args[0]);
|
|
1338
1341
|
|
|
1339
1342
|
for (; i < args.length; i++) {
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
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
|
|
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
|
|
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
|
|
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)
|
|
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)
|
|
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)
|
|
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 = '
|
|
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)
|
|
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 (
|
|
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': '
|
|
4308
|
+
'x-sdk-version': '3.0.0',
|
|
4283
4309
|
'X-Appwrite-Response-Format': '1.8.0',
|
|
4284
4310
|
};
|
|
4285
4311
|
this.realtime = {
|
|
@@ -6932,6 +6958,52 @@
|
|
|
6932
6958
|
}
|
|
6933
6959
|
}
|
|
6934
6960
|
|
|
6961
|
+
class Activities {
|
|
6962
|
+
constructor(client) {
|
|
6963
|
+
this.client = client;
|
|
6964
|
+
}
|
|
6965
|
+
listEvents(paramsOrFirst) {
|
|
6966
|
+
let params;
|
|
6967
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
6968
|
+
params = (paramsOrFirst || {});
|
|
6969
|
+
}
|
|
6970
|
+
else {
|
|
6971
|
+
params = {
|
|
6972
|
+
queries: paramsOrFirst
|
|
6973
|
+
};
|
|
6974
|
+
}
|
|
6975
|
+
const queries = params.queries;
|
|
6976
|
+
const apiPath = '/activities/events';
|
|
6977
|
+
const payload = {};
|
|
6978
|
+
if (typeof queries !== 'undefined') {
|
|
6979
|
+
payload['queries'] = queries;
|
|
6980
|
+
}
|
|
6981
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
6982
|
+
const apiHeaders = {};
|
|
6983
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
6984
|
+
}
|
|
6985
|
+
getEvent(paramsOrFirst) {
|
|
6986
|
+
let params;
|
|
6987
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
6988
|
+
params = (paramsOrFirst || {});
|
|
6989
|
+
}
|
|
6990
|
+
else {
|
|
6991
|
+
params = {
|
|
6992
|
+
eventId: paramsOrFirst
|
|
6993
|
+
};
|
|
6994
|
+
}
|
|
6995
|
+
const eventId = params.eventId;
|
|
6996
|
+
if (typeof eventId === 'undefined') {
|
|
6997
|
+
throw new AppwriteException('Missing required parameter: "eventId"');
|
|
6998
|
+
}
|
|
6999
|
+
const apiPath = '/activities/events/{eventId}'.replace('{eventId}', eventId);
|
|
7000
|
+
const payload = {};
|
|
7001
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
7002
|
+
const apiHeaders = {};
|
|
7003
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
7004
|
+
}
|
|
7005
|
+
}
|
|
7006
|
+
|
|
6935
7007
|
class Avatars {
|
|
6936
7008
|
constructor(client) {
|
|
6937
7009
|
this.client = client;
|
|
@@ -9457,7 +9529,8 @@
|
|
|
9457
9529
|
key: rest[1],
|
|
9458
9530
|
required: rest[2],
|
|
9459
9531
|
xdefault: rest[3],
|
|
9460
|
-
array: rest[4]
|
|
9532
|
+
array: rest[4],
|
|
9533
|
+
encrypt: rest[5]
|
|
9461
9534
|
};
|
|
9462
9535
|
}
|
|
9463
9536
|
const databaseId = params.databaseId;
|
|
@@ -9466,6 +9539,7 @@
|
|
|
9466
9539
|
const required = params.required;
|
|
9467
9540
|
const xdefault = params.xdefault;
|
|
9468
9541
|
const array = params.array;
|
|
9542
|
+
const encrypt = params.encrypt;
|
|
9469
9543
|
if (typeof databaseId === 'undefined') {
|
|
9470
9544
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
9471
9545
|
}
|
|
@@ -9492,6 +9566,9 @@
|
|
|
9492
9566
|
if (typeof array !== 'undefined') {
|
|
9493
9567
|
payload['array'] = array;
|
|
9494
9568
|
}
|
|
9569
|
+
if (typeof encrypt !== 'undefined') {
|
|
9570
|
+
payload['encrypt'] = encrypt;
|
|
9571
|
+
}
|
|
9495
9572
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
9496
9573
|
const apiHeaders = {
|
|
9497
9574
|
'content-type': 'application/json',
|
|
@@ -9563,7 +9640,8 @@
|
|
|
9563
9640
|
key: rest[1],
|
|
9564
9641
|
required: rest[2],
|
|
9565
9642
|
xdefault: rest[3],
|
|
9566
|
-
array: rest[4]
|
|
9643
|
+
array: rest[4],
|
|
9644
|
+
encrypt: rest[5]
|
|
9567
9645
|
};
|
|
9568
9646
|
}
|
|
9569
9647
|
const databaseId = params.databaseId;
|
|
@@ -9572,6 +9650,7 @@
|
|
|
9572
9650
|
const required = params.required;
|
|
9573
9651
|
const xdefault = params.xdefault;
|
|
9574
9652
|
const array = params.array;
|
|
9653
|
+
const encrypt = params.encrypt;
|
|
9575
9654
|
if (typeof databaseId === 'undefined') {
|
|
9576
9655
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
9577
9656
|
}
|
|
@@ -9598,6 +9677,9 @@
|
|
|
9598
9677
|
if (typeof array !== 'undefined') {
|
|
9599
9678
|
payload['array'] = array;
|
|
9600
9679
|
}
|
|
9680
|
+
if (typeof encrypt !== 'undefined') {
|
|
9681
|
+
payload['encrypt'] = encrypt;
|
|
9682
|
+
}
|
|
9601
9683
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
9602
9684
|
const apiHeaders = {
|
|
9603
9685
|
'content-type': 'application/json',
|
|
@@ -10052,7 +10134,8 @@
|
|
|
10052
10134
|
key: rest[1],
|
|
10053
10135
|
required: rest[2],
|
|
10054
10136
|
xdefault: rest[3],
|
|
10055
|
-
array: rest[4]
|
|
10137
|
+
array: rest[4],
|
|
10138
|
+
encrypt: rest[5]
|
|
10056
10139
|
};
|
|
10057
10140
|
}
|
|
10058
10141
|
const databaseId = params.databaseId;
|
|
@@ -10061,6 +10144,7 @@
|
|
|
10061
10144
|
const required = params.required;
|
|
10062
10145
|
const xdefault = params.xdefault;
|
|
10063
10146
|
const array = params.array;
|
|
10147
|
+
const encrypt = params.encrypt;
|
|
10064
10148
|
if (typeof databaseId === 'undefined') {
|
|
10065
10149
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
10066
10150
|
}
|
|
@@ -10087,6 +10171,9 @@
|
|
|
10087
10171
|
if (typeof array !== 'undefined') {
|
|
10088
10172
|
payload['array'] = array;
|
|
10089
10173
|
}
|
|
10174
|
+
if (typeof encrypt !== 'undefined') {
|
|
10175
|
+
payload['encrypt'] = encrypt;
|
|
10176
|
+
}
|
|
10090
10177
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
10091
10178
|
const apiHeaders = {
|
|
10092
10179
|
'content-type': 'application/json',
|
|
@@ -10265,7 +10352,8 @@
|
|
|
10265
10352
|
size: rest[2],
|
|
10266
10353
|
required: rest[3],
|
|
10267
10354
|
xdefault: rest[4],
|
|
10268
|
-
array: rest[5]
|
|
10355
|
+
array: rest[5],
|
|
10356
|
+
encrypt: rest[6]
|
|
10269
10357
|
};
|
|
10270
10358
|
}
|
|
10271
10359
|
const databaseId = params.databaseId;
|
|
@@ -10275,6 +10363,7 @@
|
|
|
10275
10363
|
const required = params.required;
|
|
10276
10364
|
const xdefault = params.xdefault;
|
|
10277
10365
|
const array = params.array;
|
|
10366
|
+
const encrypt = params.encrypt;
|
|
10278
10367
|
if (typeof databaseId === 'undefined') {
|
|
10279
10368
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
10280
10369
|
}
|
|
@@ -10307,6 +10396,9 @@
|
|
|
10307
10396
|
if (typeof array !== 'undefined') {
|
|
10308
10397
|
payload['array'] = array;
|
|
10309
10398
|
}
|
|
10399
|
+
if (typeof encrypt !== 'undefined') {
|
|
10400
|
+
payload['encrypt'] = encrypt;
|
|
10401
|
+
}
|
|
10310
10402
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
10311
10403
|
const apiHeaders = {
|
|
10312
10404
|
'content-type': 'application/json',
|
|
@@ -21147,6 +21239,117 @@
|
|
|
21147
21239
|
};
|
|
21148
21240
|
return this.client.call('delete', uri, apiHeaders, payload);
|
|
21149
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
|
+
}
|
|
21150
21353
|
updateServiceStatus(paramsOrFirst, ...rest) {
|
|
21151
21354
|
let params;
|
|
21152
21355
|
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
@@ -25479,7 +25682,8 @@
|
|
|
25479
25682
|
key: rest[1],
|
|
25480
25683
|
required: rest[2],
|
|
25481
25684
|
xdefault: rest[3],
|
|
25482
|
-
array: rest[4]
|
|
25685
|
+
array: rest[4],
|
|
25686
|
+
encrypt: rest[5]
|
|
25483
25687
|
};
|
|
25484
25688
|
}
|
|
25485
25689
|
const databaseId = params.databaseId;
|
|
@@ -25488,6 +25692,7 @@
|
|
|
25488
25692
|
const required = params.required;
|
|
25489
25693
|
const xdefault = params.xdefault;
|
|
25490
25694
|
const array = params.array;
|
|
25695
|
+
const encrypt = params.encrypt;
|
|
25491
25696
|
if (typeof databaseId === 'undefined') {
|
|
25492
25697
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
25493
25698
|
}
|
|
@@ -25514,6 +25719,9 @@
|
|
|
25514
25719
|
if (typeof array !== 'undefined') {
|
|
25515
25720
|
payload['array'] = array;
|
|
25516
25721
|
}
|
|
25722
|
+
if (typeof encrypt !== 'undefined') {
|
|
25723
|
+
payload['encrypt'] = encrypt;
|
|
25724
|
+
}
|
|
25517
25725
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
25518
25726
|
const apiHeaders = {
|
|
25519
25727
|
'content-type': 'application/json',
|
|
@@ -25585,7 +25793,8 @@
|
|
|
25585
25793
|
key: rest[1],
|
|
25586
25794
|
required: rest[2],
|
|
25587
25795
|
xdefault: rest[3],
|
|
25588
|
-
array: rest[4]
|
|
25796
|
+
array: rest[4],
|
|
25797
|
+
encrypt: rest[5]
|
|
25589
25798
|
};
|
|
25590
25799
|
}
|
|
25591
25800
|
const databaseId = params.databaseId;
|
|
@@ -25594,6 +25803,7 @@
|
|
|
25594
25803
|
const required = params.required;
|
|
25595
25804
|
const xdefault = params.xdefault;
|
|
25596
25805
|
const array = params.array;
|
|
25806
|
+
const encrypt = params.encrypt;
|
|
25597
25807
|
if (typeof databaseId === 'undefined') {
|
|
25598
25808
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
25599
25809
|
}
|
|
@@ -25620,6 +25830,9 @@
|
|
|
25620
25830
|
if (typeof array !== 'undefined') {
|
|
25621
25831
|
payload['array'] = array;
|
|
25622
25832
|
}
|
|
25833
|
+
if (typeof encrypt !== 'undefined') {
|
|
25834
|
+
payload['encrypt'] = encrypt;
|
|
25835
|
+
}
|
|
25623
25836
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
25624
25837
|
const apiHeaders = {
|
|
25625
25838
|
'content-type': 'application/json',
|
|
@@ -26074,7 +26287,8 @@
|
|
|
26074
26287
|
key: rest[1],
|
|
26075
26288
|
required: rest[2],
|
|
26076
26289
|
xdefault: rest[3],
|
|
26077
|
-
array: rest[4]
|
|
26290
|
+
array: rest[4],
|
|
26291
|
+
encrypt: rest[5]
|
|
26078
26292
|
};
|
|
26079
26293
|
}
|
|
26080
26294
|
const databaseId = params.databaseId;
|
|
@@ -26083,6 +26297,7 @@
|
|
|
26083
26297
|
const required = params.required;
|
|
26084
26298
|
const xdefault = params.xdefault;
|
|
26085
26299
|
const array = params.array;
|
|
26300
|
+
const encrypt = params.encrypt;
|
|
26086
26301
|
if (typeof databaseId === 'undefined') {
|
|
26087
26302
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
26088
26303
|
}
|
|
@@ -26109,6 +26324,9 @@
|
|
|
26109
26324
|
if (typeof array !== 'undefined') {
|
|
26110
26325
|
payload['array'] = array;
|
|
26111
26326
|
}
|
|
26327
|
+
if (typeof encrypt !== 'undefined') {
|
|
26328
|
+
payload['encrypt'] = encrypt;
|
|
26329
|
+
}
|
|
26112
26330
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
26113
26331
|
const apiHeaders = {
|
|
26114
26332
|
'content-type': 'application/json',
|
|
@@ -26287,7 +26505,8 @@
|
|
|
26287
26505
|
size: rest[2],
|
|
26288
26506
|
required: rest[3],
|
|
26289
26507
|
xdefault: rest[4],
|
|
26290
|
-
array: rest[5]
|
|
26508
|
+
array: rest[5],
|
|
26509
|
+
encrypt: rest[6]
|
|
26291
26510
|
};
|
|
26292
26511
|
}
|
|
26293
26512
|
const databaseId = params.databaseId;
|
|
@@ -26297,6 +26516,7 @@
|
|
|
26297
26516
|
const required = params.required;
|
|
26298
26517
|
const xdefault = params.xdefault;
|
|
26299
26518
|
const array = params.array;
|
|
26519
|
+
const encrypt = params.encrypt;
|
|
26300
26520
|
if (typeof databaseId === 'undefined') {
|
|
26301
26521
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
26302
26522
|
}
|
|
@@ -26329,6 +26549,9 @@
|
|
|
26329
26549
|
if (typeof array !== 'undefined') {
|
|
26330
26550
|
payload['array'] = array;
|
|
26331
26551
|
}
|
|
26552
|
+
if (typeof encrypt !== 'undefined') {
|
|
26553
|
+
payload['encrypt'] = encrypt;
|
|
26554
|
+
}
|
|
26332
26555
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
26333
26556
|
const apiHeaders = {
|
|
26334
26557
|
'content-type': 'application/json',
|
|
@@ -30408,6 +30631,9 @@
|
|
|
30408
30631
|
create() {
|
|
30409
30632
|
return this.resolve("create");
|
|
30410
30633
|
}
|
|
30634
|
+
upsert() {
|
|
30635
|
+
return this.resolve("upsert");
|
|
30636
|
+
}
|
|
30411
30637
|
update() {
|
|
30412
30638
|
return this.resolve("update");
|
|
30413
30639
|
}
|
|
@@ -30775,6 +31001,8 @@
|
|
|
30775
31001
|
Scopes["TargetsWrite"] = "targets.write";
|
|
30776
31002
|
Scopes["RulesRead"] = "rules.read";
|
|
30777
31003
|
Scopes["RulesWrite"] = "rules.write";
|
|
31004
|
+
Scopes["SchedulesRead"] = "schedules.read";
|
|
31005
|
+
Scopes["SchedulesWrite"] = "schedules.write";
|
|
30778
31006
|
Scopes["MigrationsRead"] = "migrations.read";
|
|
30779
31007
|
Scopes["MigrationsWrite"] = "migrations.write";
|
|
30780
31008
|
Scopes["VcsRead"] = "vcs.read";
|
|
@@ -30847,8 +31075,6 @@
|
|
|
30847
31075
|
OAuthProvider["Yandex"] = "yandex";
|
|
30848
31076
|
OAuthProvider["Zoho"] = "zoho";
|
|
30849
31077
|
OAuthProvider["Zoom"] = "zoom";
|
|
30850
|
-
OAuthProvider["GithubImagine"] = "githubImagine";
|
|
30851
|
-
OAuthProvider["GoogleImagine"] = "googleImagine";
|
|
30852
31078
|
})(exports.OAuthProvider || (exports.OAuthProvider = {}));
|
|
30853
31079
|
|
|
30854
31080
|
exports.Browser = void 0;
|
|
@@ -31630,27 +31856,35 @@
|
|
|
31630
31856
|
Runtime["Node200"] = "node-20.0";
|
|
31631
31857
|
Runtime["Node210"] = "node-21.0";
|
|
31632
31858
|
Runtime["Node22"] = "node-22";
|
|
31859
|
+
Runtime["Node23"] = "node-23";
|
|
31860
|
+
Runtime["Node24"] = "node-24";
|
|
31861
|
+
Runtime["Node25"] = "node-25";
|
|
31633
31862
|
Runtime["Php80"] = "php-8.0";
|
|
31634
31863
|
Runtime["Php81"] = "php-8.1";
|
|
31635
31864
|
Runtime["Php82"] = "php-8.2";
|
|
31636
31865
|
Runtime["Php83"] = "php-8.3";
|
|
31866
|
+
Runtime["Php84"] = "php-8.4";
|
|
31637
31867
|
Runtime["Ruby30"] = "ruby-3.0";
|
|
31638
31868
|
Runtime["Ruby31"] = "ruby-3.1";
|
|
31639
31869
|
Runtime["Ruby32"] = "ruby-3.2";
|
|
31640
31870
|
Runtime["Ruby33"] = "ruby-3.3";
|
|
31871
|
+
Runtime["Ruby34"] = "ruby-3.4";
|
|
31872
|
+
Runtime["Ruby40"] = "ruby-4.0";
|
|
31641
31873
|
Runtime["Python38"] = "python-3.8";
|
|
31642
31874
|
Runtime["Python39"] = "python-3.9";
|
|
31643
31875
|
Runtime["Python310"] = "python-3.10";
|
|
31644
31876
|
Runtime["Python311"] = "python-3.11";
|
|
31645
31877
|
Runtime["Python312"] = "python-3.12";
|
|
31878
|
+
Runtime["Python313"] = "python-3.13";
|
|
31879
|
+
Runtime["Python314"] = "python-3.14";
|
|
31646
31880
|
Runtime["Pythonml311"] = "python-ml-3.11";
|
|
31647
31881
|
Runtime["Pythonml312"] = "python-ml-3.12";
|
|
31648
|
-
Runtime["
|
|
31649
|
-
Runtime["Deno124"] = "deno-1.24";
|
|
31650
|
-
Runtime["Deno135"] = "deno-1.35";
|
|
31882
|
+
Runtime["Pythonml313"] = "python-ml-3.13";
|
|
31651
31883
|
Runtime["Deno140"] = "deno-1.40";
|
|
31652
31884
|
Runtime["Deno146"] = "deno-1.46";
|
|
31653
31885
|
Runtime["Deno20"] = "deno-2.0";
|
|
31886
|
+
Runtime["Deno25"] = "deno-2.5";
|
|
31887
|
+
Runtime["Deno26"] = "deno-2.6";
|
|
31654
31888
|
Runtime["Dart215"] = "dart-2.15";
|
|
31655
31889
|
Runtime["Dart216"] = "dart-2.16";
|
|
31656
31890
|
Runtime["Dart217"] = "dart-2.17";
|
|
@@ -31666,25 +31900,34 @@
|
|
|
31666
31900
|
Runtime["Dotnet60"] = "dotnet-6.0";
|
|
31667
31901
|
Runtime["Dotnet70"] = "dotnet-7.0";
|
|
31668
31902
|
Runtime["Dotnet80"] = "dotnet-8.0";
|
|
31903
|
+
Runtime["Dotnet10"] = "dotnet-10";
|
|
31669
31904
|
Runtime["Java80"] = "java-8.0";
|
|
31670
31905
|
Runtime["Java110"] = "java-11.0";
|
|
31671
31906
|
Runtime["Java170"] = "java-17.0";
|
|
31672
31907
|
Runtime["Java180"] = "java-18.0";
|
|
31673
31908
|
Runtime["Java210"] = "java-21.0";
|
|
31674
31909
|
Runtime["Java22"] = "java-22";
|
|
31910
|
+
Runtime["Java25"] = "java-25";
|
|
31675
31911
|
Runtime["Swift55"] = "swift-5.5";
|
|
31676
31912
|
Runtime["Swift58"] = "swift-5.8";
|
|
31677
31913
|
Runtime["Swift59"] = "swift-5.9";
|
|
31678
31914
|
Runtime["Swift510"] = "swift-5.10";
|
|
31915
|
+
Runtime["Swift62"] = "swift-6.2";
|
|
31679
31916
|
Runtime["Kotlin16"] = "kotlin-1.6";
|
|
31680
31917
|
Runtime["Kotlin18"] = "kotlin-1.8";
|
|
31681
31918
|
Runtime["Kotlin19"] = "kotlin-1.9";
|
|
31682
31919
|
Runtime["Kotlin20"] = "kotlin-2.0";
|
|
31920
|
+
Runtime["Kotlin23"] = "kotlin-2.3";
|
|
31683
31921
|
Runtime["Cpp17"] = "cpp-17";
|
|
31684
31922
|
Runtime["Cpp20"] = "cpp-20";
|
|
31685
31923
|
Runtime["Bun10"] = "bun-1.0";
|
|
31686
31924
|
Runtime["Bun11"] = "bun-1.1";
|
|
31925
|
+
Runtime["Bun12"] = "bun-1.2";
|
|
31926
|
+
Runtime["Bun13"] = "bun-1.3";
|
|
31687
31927
|
Runtime["Go123"] = "go-1.23";
|
|
31928
|
+
Runtime["Go124"] = "go-1.24";
|
|
31929
|
+
Runtime["Go125"] = "go-1.25";
|
|
31930
|
+
Runtime["Go126"] = "go-1.26";
|
|
31688
31931
|
Runtime["Static1"] = "static-1";
|
|
31689
31932
|
Runtime["Flutter324"] = "flutter-3.24";
|
|
31690
31933
|
Runtime["Flutter327"] = "flutter-3.27";
|
|
@@ -31703,27 +31946,35 @@
|
|
|
31703
31946
|
Runtimes["Node200"] = "node-20.0";
|
|
31704
31947
|
Runtimes["Node210"] = "node-21.0";
|
|
31705
31948
|
Runtimes["Node22"] = "node-22";
|
|
31949
|
+
Runtimes["Node23"] = "node-23";
|
|
31950
|
+
Runtimes["Node24"] = "node-24";
|
|
31951
|
+
Runtimes["Node25"] = "node-25";
|
|
31706
31952
|
Runtimes["Php80"] = "php-8.0";
|
|
31707
31953
|
Runtimes["Php81"] = "php-8.1";
|
|
31708
31954
|
Runtimes["Php82"] = "php-8.2";
|
|
31709
31955
|
Runtimes["Php83"] = "php-8.3";
|
|
31956
|
+
Runtimes["Php84"] = "php-8.4";
|
|
31710
31957
|
Runtimes["Ruby30"] = "ruby-3.0";
|
|
31711
31958
|
Runtimes["Ruby31"] = "ruby-3.1";
|
|
31712
31959
|
Runtimes["Ruby32"] = "ruby-3.2";
|
|
31713
31960
|
Runtimes["Ruby33"] = "ruby-3.3";
|
|
31961
|
+
Runtimes["Ruby34"] = "ruby-3.4";
|
|
31962
|
+
Runtimes["Ruby40"] = "ruby-4.0";
|
|
31714
31963
|
Runtimes["Python38"] = "python-3.8";
|
|
31715
31964
|
Runtimes["Python39"] = "python-3.9";
|
|
31716
31965
|
Runtimes["Python310"] = "python-3.10";
|
|
31717
31966
|
Runtimes["Python311"] = "python-3.11";
|
|
31718
31967
|
Runtimes["Python312"] = "python-3.12";
|
|
31968
|
+
Runtimes["Python313"] = "python-3.13";
|
|
31969
|
+
Runtimes["Python314"] = "python-3.14";
|
|
31719
31970
|
Runtimes["Pythonml311"] = "python-ml-3.11";
|
|
31720
31971
|
Runtimes["Pythonml312"] = "python-ml-3.12";
|
|
31721
|
-
Runtimes["
|
|
31722
|
-
Runtimes["Deno124"] = "deno-1.24";
|
|
31723
|
-
Runtimes["Deno135"] = "deno-1.35";
|
|
31972
|
+
Runtimes["Pythonml313"] = "python-ml-3.13";
|
|
31724
31973
|
Runtimes["Deno140"] = "deno-1.40";
|
|
31725
31974
|
Runtimes["Deno146"] = "deno-1.46";
|
|
31726
31975
|
Runtimes["Deno20"] = "deno-2.0";
|
|
31976
|
+
Runtimes["Deno25"] = "deno-2.5";
|
|
31977
|
+
Runtimes["Deno26"] = "deno-2.6";
|
|
31727
31978
|
Runtimes["Dart215"] = "dart-2.15";
|
|
31728
31979
|
Runtimes["Dart216"] = "dart-2.16";
|
|
31729
31980
|
Runtimes["Dart217"] = "dart-2.17";
|
|
@@ -31739,25 +31990,34 @@
|
|
|
31739
31990
|
Runtimes["Dotnet60"] = "dotnet-6.0";
|
|
31740
31991
|
Runtimes["Dotnet70"] = "dotnet-7.0";
|
|
31741
31992
|
Runtimes["Dotnet80"] = "dotnet-8.0";
|
|
31993
|
+
Runtimes["Dotnet10"] = "dotnet-10";
|
|
31742
31994
|
Runtimes["Java80"] = "java-8.0";
|
|
31743
31995
|
Runtimes["Java110"] = "java-11.0";
|
|
31744
31996
|
Runtimes["Java170"] = "java-17.0";
|
|
31745
31997
|
Runtimes["Java180"] = "java-18.0";
|
|
31746
31998
|
Runtimes["Java210"] = "java-21.0";
|
|
31747
31999
|
Runtimes["Java22"] = "java-22";
|
|
32000
|
+
Runtimes["Java25"] = "java-25";
|
|
31748
32001
|
Runtimes["Swift55"] = "swift-5.5";
|
|
31749
32002
|
Runtimes["Swift58"] = "swift-5.8";
|
|
31750
32003
|
Runtimes["Swift59"] = "swift-5.9";
|
|
31751
32004
|
Runtimes["Swift510"] = "swift-5.10";
|
|
32005
|
+
Runtimes["Swift62"] = "swift-6.2";
|
|
31752
32006
|
Runtimes["Kotlin16"] = "kotlin-1.6";
|
|
31753
32007
|
Runtimes["Kotlin18"] = "kotlin-1.8";
|
|
31754
32008
|
Runtimes["Kotlin19"] = "kotlin-1.9";
|
|
31755
32009
|
Runtimes["Kotlin20"] = "kotlin-2.0";
|
|
32010
|
+
Runtimes["Kotlin23"] = "kotlin-2.3";
|
|
31756
32011
|
Runtimes["Cpp17"] = "cpp-17";
|
|
31757
32012
|
Runtimes["Cpp20"] = "cpp-20";
|
|
31758
32013
|
Runtimes["Bun10"] = "bun-1.0";
|
|
31759
32014
|
Runtimes["Bun11"] = "bun-1.1";
|
|
32015
|
+
Runtimes["Bun12"] = "bun-1.2";
|
|
32016
|
+
Runtimes["Bun13"] = "bun-1.3";
|
|
31760
32017
|
Runtimes["Go123"] = "go-1.23";
|
|
32018
|
+
Runtimes["Go124"] = "go-1.24";
|
|
32019
|
+
Runtimes["Go125"] = "go-1.25";
|
|
32020
|
+
Runtimes["Go126"] = "go-1.26";
|
|
31761
32021
|
Runtimes["Static1"] = "static-1";
|
|
31762
32022
|
Runtimes["Flutter324"] = "flutter-3.24";
|
|
31763
32023
|
Runtimes["Flutter327"] = "flutter-3.27";
|
|
@@ -31909,6 +32169,14 @@
|
|
|
31909
32169
|
PlatformType["Reactnativeandroid"] = "react-native-android";
|
|
31910
32170
|
})(exports.PlatformType || (exports.PlatformType = {}));
|
|
31911
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
|
+
|
|
31912
32180
|
exports.ApiService = void 0;
|
|
31913
32181
|
(function (ApiService) {
|
|
31914
32182
|
ApiService["Account"] = "account";
|
|
@@ -31935,12 +32203,12 @@
|
|
|
31935
32203
|
exports.EmailTemplateType = void 0;
|
|
31936
32204
|
(function (EmailTemplateType) {
|
|
31937
32205
|
EmailTemplateType["Verification"] = "verification";
|
|
31938
|
-
EmailTemplateType["
|
|
32206
|
+
EmailTemplateType["MagicSession"] = "magicSession";
|
|
31939
32207
|
EmailTemplateType["Recovery"] = "recovery";
|
|
31940
32208
|
EmailTemplateType["Invitation"] = "invitation";
|
|
31941
|
-
EmailTemplateType["
|
|
31942
|
-
EmailTemplateType["
|
|
31943
|
-
EmailTemplateType["
|
|
32209
|
+
EmailTemplateType["MfaChallenge"] = "mfaChallenge";
|
|
32210
|
+
EmailTemplateType["SessionAlert"] = "sessionAlert";
|
|
32211
|
+
EmailTemplateType["OtpSession"] = "otpSession";
|
|
31944
32212
|
})(exports.EmailTemplateType || (exports.EmailTemplateType = {}));
|
|
31945
32213
|
|
|
31946
32214
|
exports.EmailTemplateLocale = void 0;
|
|
@@ -32083,7 +32351,7 @@
|
|
|
32083
32351
|
SmsTemplateType["Verification"] = "verification";
|
|
32084
32352
|
SmsTemplateType["Login"] = "login";
|
|
32085
32353
|
SmsTemplateType["Invitation"] = "invitation";
|
|
32086
|
-
SmsTemplateType["
|
|
32354
|
+
SmsTemplateType["MfaChallenge"] = "mfaChallenge";
|
|
32087
32355
|
})(exports.SmsTemplateType || (exports.SmsTemplateType = {}));
|
|
32088
32356
|
|
|
32089
32357
|
exports.SmsTemplateLocale = void 0;
|
|
@@ -32263,27 +32531,35 @@
|
|
|
32263
32531
|
BuildRuntime["Node200"] = "node-20.0";
|
|
32264
32532
|
BuildRuntime["Node210"] = "node-21.0";
|
|
32265
32533
|
BuildRuntime["Node22"] = "node-22";
|
|
32534
|
+
BuildRuntime["Node23"] = "node-23";
|
|
32535
|
+
BuildRuntime["Node24"] = "node-24";
|
|
32536
|
+
BuildRuntime["Node25"] = "node-25";
|
|
32266
32537
|
BuildRuntime["Php80"] = "php-8.0";
|
|
32267
32538
|
BuildRuntime["Php81"] = "php-8.1";
|
|
32268
32539
|
BuildRuntime["Php82"] = "php-8.2";
|
|
32269
32540
|
BuildRuntime["Php83"] = "php-8.3";
|
|
32541
|
+
BuildRuntime["Php84"] = "php-8.4";
|
|
32270
32542
|
BuildRuntime["Ruby30"] = "ruby-3.0";
|
|
32271
32543
|
BuildRuntime["Ruby31"] = "ruby-3.1";
|
|
32272
32544
|
BuildRuntime["Ruby32"] = "ruby-3.2";
|
|
32273
32545
|
BuildRuntime["Ruby33"] = "ruby-3.3";
|
|
32546
|
+
BuildRuntime["Ruby34"] = "ruby-3.4";
|
|
32547
|
+
BuildRuntime["Ruby40"] = "ruby-4.0";
|
|
32274
32548
|
BuildRuntime["Python38"] = "python-3.8";
|
|
32275
32549
|
BuildRuntime["Python39"] = "python-3.9";
|
|
32276
32550
|
BuildRuntime["Python310"] = "python-3.10";
|
|
32277
32551
|
BuildRuntime["Python311"] = "python-3.11";
|
|
32278
32552
|
BuildRuntime["Python312"] = "python-3.12";
|
|
32553
|
+
BuildRuntime["Python313"] = "python-3.13";
|
|
32554
|
+
BuildRuntime["Python314"] = "python-3.14";
|
|
32279
32555
|
BuildRuntime["Pythonml311"] = "python-ml-3.11";
|
|
32280
32556
|
BuildRuntime["Pythonml312"] = "python-ml-3.12";
|
|
32281
|
-
BuildRuntime["
|
|
32282
|
-
BuildRuntime["Deno124"] = "deno-1.24";
|
|
32283
|
-
BuildRuntime["Deno135"] = "deno-1.35";
|
|
32557
|
+
BuildRuntime["Pythonml313"] = "python-ml-3.13";
|
|
32284
32558
|
BuildRuntime["Deno140"] = "deno-1.40";
|
|
32285
32559
|
BuildRuntime["Deno146"] = "deno-1.46";
|
|
32286
32560
|
BuildRuntime["Deno20"] = "deno-2.0";
|
|
32561
|
+
BuildRuntime["Deno25"] = "deno-2.5";
|
|
32562
|
+
BuildRuntime["Deno26"] = "deno-2.6";
|
|
32287
32563
|
BuildRuntime["Dart215"] = "dart-2.15";
|
|
32288
32564
|
BuildRuntime["Dart216"] = "dart-2.16";
|
|
32289
32565
|
BuildRuntime["Dart217"] = "dart-2.17";
|
|
@@ -32299,25 +32575,34 @@
|
|
|
32299
32575
|
BuildRuntime["Dotnet60"] = "dotnet-6.0";
|
|
32300
32576
|
BuildRuntime["Dotnet70"] = "dotnet-7.0";
|
|
32301
32577
|
BuildRuntime["Dotnet80"] = "dotnet-8.0";
|
|
32578
|
+
BuildRuntime["Dotnet10"] = "dotnet-10";
|
|
32302
32579
|
BuildRuntime["Java80"] = "java-8.0";
|
|
32303
32580
|
BuildRuntime["Java110"] = "java-11.0";
|
|
32304
32581
|
BuildRuntime["Java170"] = "java-17.0";
|
|
32305
32582
|
BuildRuntime["Java180"] = "java-18.0";
|
|
32306
32583
|
BuildRuntime["Java210"] = "java-21.0";
|
|
32307
32584
|
BuildRuntime["Java22"] = "java-22";
|
|
32585
|
+
BuildRuntime["Java25"] = "java-25";
|
|
32308
32586
|
BuildRuntime["Swift55"] = "swift-5.5";
|
|
32309
32587
|
BuildRuntime["Swift58"] = "swift-5.8";
|
|
32310
32588
|
BuildRuntime["Swift59"] = "swift-5.9";
|
|
32311
32589
|
BuildRuntime["Swift510"] = "swift-5.10";
|
|
32590
|
+
BuildRuntime["Swift62"] = "swift-6.2";
|
|
32312
32591
|
BuildRuntime["Kotlin16"] = "kotlin-1.6";
|
|
32313
32592
|
BuildRuntime["Kotlin18"] = "kotlin-1.8";
|
|
32314
32593
|
BuildRuntime["Kotlin19"] = "kotlin-1.9";
|
|
32315
32594
|
BuildRuntime["Kotlin20"] = "kotlin-2.0";
|
|
32595
|
+
BuildRuntime["Kotlin23"] = "kotlin-2.3";
|
|
32316
32596
|
BuildRuntime["Cpp17"] = "cpp-17";
|
|
32317
32597
|
BuildRuntime["Cpp20"] = "cpp-20";
|
|
32318
32598
|
BuildRuntime["Bun10"] = "bun-1.0";
|
|
32319
32599
|
BuildRuntime["Bun11"] = "bun-1.1";
|
|
32600
|
+
BuildRuntime["Bun12"] = "bun-1.2";
|
|
32601
|
+
BuildRuntime["Bun13"] = "bun-1.3";
|
|
32320
32602
|
BuildRuntime["Go123"] = "go-1.23";
|
|
32603
|
+
BuildRuntime["Go124"] = "go-1.24";
|
|
32604
|
+
BuildRuntime["Go125"] = "go-1.25";
|
|
32605
|
+
BuildRuntime["Go126"] = "go-1.26";
|
|
32321
32606
|
BuildRuntime["Static1"] = "static-1";
|
|
32322
32607
|
BuildRuntime["Flutter324"] = "flutter-3.24";
|
|
32323
32608
|
BuildRuntime["Flutter327"] = "flutter-3.27";
|
|
@@ -32503,6 +32788,7 @@
|
|
|
32503
32788
|
})(exports.BillingPlanGroup || (exports.BillingPlanGroup = {}));
|
|
32504
32789
|
|
|
32505
32790
|
exports.Account = Account;
|
|
32791
|
+
exports.Activities = Activities;
|
|
32506
32792
|
exports.AppwriteException = AppwriteException;
|
|
32507
32793
|
exports.Assistant = Assistant;
|
|
32508
32794
|
exports.Avatars = Avatars;
|