@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.
- package/CHANGELOG.md +14 -0
- package/README.md +2 -2
- package/dist/cjs/sdk.js +199 -11
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +200 -11
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +252 -44
- 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/package.json +2 -3
- package/src/channel.ts +4 -0
- package/src/client.ts +11 -3
- package/src/enums/build-runtime.ts +20 -0
- 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 -0
- package/src/enums/runtimes.ts +20 -0
- package/src/enums/scopes.ts +2 -0
- package/src/enums/sms-template-type.ts +1 -1
- package/src/index.ts +2 -0
- package/src/models.ts +68 -4
- package/src/services/account.ts +4 -4
- package/src/services/projects.ts +223 -0
- package/types/channel.d.ts +1 -0
- package/types/enums/build-runtime.d.ts +20 -0
- 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 -0
- package/types/enums/runtimes.d.ts +20 -0
- package/types/enums/scopes.d.ts +2 -0
- package/types/enums/sms-template-type.d.ts +1 -1
- package/types/index.d.ts +2 -0
- package/types/models.d.ts +66 -4
- package/types/services/account.d.ts +4 -4
- package/types/services/projects.d.ts +82 -0
package/dist/esm/sdk.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import JSONbigModule from 'json-bigint';
|
|
2
|
-
import BigNumber from 'bignumber.js';
|
|
3
2
|
|
|
4
3
|
/******************************************************************************
|
|
5
4
|
Copyright (c) Microsoft Corporation.
|
|
@@ -467,8 +466,16 @@ const JSONbigParser = JSONbigModule({ storeAsString: false });
|
|
|
467
466
|
const JSONbigSerializer = JSONbigModule({ useNativeBigInt: true });
|
|
468
467
|
const MAX_SAFE = BigInt(Number.MAX_SAFE_INTEGER);
|
|
469
468
|
const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER);
|
|
469
|
+
function isBigNumber(value) {
|
|
470
|
+
return value !== null
|
|
471
|
+
&& typeof value === 'object'
|
|
472
|
+
&& value._isBigNumber === true
|
|
473
|
+
&& typeof value.isInteger === 'function'
|
|
474
|
+
&& typeof value.toFixed === 'function'
|
|
475
|
+
&& typeof value.toNumber === 'function';
|
|
476
|
+
}
|
|
470
477
|
function reviver(_key, value) {
|
|
471
|
-
if (
|
|
478
|
+
if (isBigNumber(value)) {
|
|
472
479
|
if (value.isInteger()) {
|
|
473
480
|
const str = value.toFixed();
|
|
474
481
|
const bi = BigInt(str);
|
|
@@ -534,7 +541,7 @@ class Client {
|
|
|
534
541
|
'x-sdk-name': 'Console',
|
|
535
542
|
'x-sdk-platform': 'console',
|
|
536
543
|
'x-sdk-language': 'web',
|
|
537
|
-
'x-sdk-version': '
|
|
544
|
+
'x-sdk-version': '3.0.0',
|
|
538
545
|
'X-Appwrite-Response-Format': '1.8.0',
|
|
539
546
|
};
|
|
540
547
|
this.realtime = {
|
|
@@ -17468,6 +17475,117 @@ class Projects {
|
|
|
17468
17475
|
};
|
|
17469
17476
|
return this.client.call('delete', uri, apiHeaders, payload);
|
|
17470
17477
|
}
|
|
17478
|
+
listSchedules(paramsOrFirst, ...rest) {
|
|
17479
|
+
let params;
|
|
17480
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
17481
|
+
params = (paramsOrFirst || {});
|
|
17482
|
+
}
|
|
17483
|
+
else {
|
|
17484
|
+
params = {
|
|
17485
|
+
projectId: paramsOrFirst,
|
|
17486
|
+
queries: rest[0],
|
|
17487
|
+
total: rest[1]
|
|
17488
|
+
};
|
|
17489
|
+
}
|
|
17490
|
+
const projectId = params.projectId;
|
|
17491
|
+
const queries = params.queries;
|
|
17492
|
+
const total = params.total;
|
|
17493
|
+
if (typeof projectId === 'undefined') {
|
|
17494
|
+
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
17495
|
+
}
|
|
17496
|
+
const apiPath = '/projects/{projectId}/schedules'.replace('{projectId}', projectId);
|
|
17497
|
+
const payload = {};
|
|
17498
|
+
if (typeof queries !== 'undefined') {
|
|
17499
|
+
payload['queries'] = queries;
|
|
17500
|
+
}
|
|
17501
|
+
if (typeof total !== 'undefined') {
|
|
17502
|
+
payload['total'] = total;
|
|
17503
|
+
}
|
|
17504
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
17505
|
+
const apiHeaders = {};
|
|
17506
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
17507
|
+
}
|
|
17508
|
+
createSchedule(paramsOrFirst, ...rest) {
|
|
17509
|
+
let params;
|
|
17510
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
17511
|
+
params = (paramsOrFirst || {});
|
|
17512
|
+
}
|
|
17513
|
+
else {
|
|
17514
|
+
params = {
|
|
17515
|
+
projectId: paramsOrFirst,
|
|
17516
|
+
resourceType: rest[0],
|
|
17517
|
+
resourceId: rest[1],
|
|
17518
|
+
schedule: rest[2],
|
|
17519
|
+
active: rest[3],
|
|
17520
|
+
data: rest[4]
|
|
17521
|
+
};
|
|
17522
|
+
}
|
|
17523
|
+
const projectId = params.projectId;
|
|
17524
|
+
const resourceType = params.resourceType;
|
|
17525
|
+
const resourceId = params.resourceId;
|
|
17526
|
+
const schedule = params.schedule;
|
|
17527
|
+
const active = params.active;
|
|
17528
|
+
const data = params.data;
|
|
17529
|
+
if (typeof projectId === 'undefined') {
|
|
17530
|
+
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
17531
|
+
}
|
|
17532
|
+
if (typeof resourceType === 'undefined') {
|
|
17533
|
+
throw new AppwriteException('Missing required parameter: "resourceType"');
|
|
17534
|
+
}
|
|
17535
|
+
if (typeof resourceId === 'undefined') {
|
|
17536
|
+
throw new AppwriteException('Missing required parameter: "resourceId"');
|
|
17537
|
+
}
|
|
17538
|
+
if (typeof schedule === 'undefined') {
|
|
17539
|
+
throw new AppwriteException('Missing required parameter: "schedule"');
|
|
17540
|
+
}
|
|
17541
|
+
const apiPath = '/projects/{projectId}/schedules'.replace('{projectId}', projectId);
|
|
17542
|
+
const payload = {};
|
|
17543
|
+
if (typeof resourceType !== 'undefined') {
|
|
17544
|
+
payload['resourceType'] = resourceType;
|
|
17545
|
+
}
|
|
17546
|
+
if (typeof resourceId !== 'undefined') {
|
|
17547
|
+
payload['resourceId'] = resourceId;
|
|
17548
|
+
}
|
|
17549
|
+
if (typeof schedule !== 'undefined') {
|
|
17550
|
+
payload['schedule'] = schedule;
|
|
17551
|
+
}
|
|
17552
|
+
if (typeof active !== 'undefined') {
|
|
17553
|
+
payload['active'] = active;
|
|
17554
|
+
}
|
|
17555
|
+
if (typeof data !== 'undefined') {
|
|
17556
|
+
payload['data'] = data;
|
|
17557
|
+
}
|
|
17558
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
17559
|
+
const apiHeaders = {
|
|
17560
|
+
'content-type': 'application/json',
|
|
17561
|
+
};
|
|
17562
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
17563
|
+
}
|
|
17564
|
+
getSchedule(paramsOrFirst, ...rest) {
|
|
17565
|
+
let params;
|
|
17566
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
17567
|
+
params = (paramsOrFirst || {});
|
|
17568
|
+
}
|
|
17569
|
+
else {
|
|
17570
|
+
params = {
|
|
17571
|
+
projectId: paramsOrFirst,
|
|
17572
|
+
scheduleId: rest[0]
|
|
17573
|
+
};
|
|
17574
|
+
}
|
|
17575
|
+
const projectId = params.projectId;
|
|
17576
|
+
const scheduleId = params.scheduleId;
|
|
17577
|
+
if (typeof projectId === 'undefined') {
|
|
17578
|
+
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
17579
|
+
}
|
|
17580
|
+
if (typeof scheduleId === 'undefined') {
|
|
17581
|
+
throw new AppwriteException('Missing required parameter: "scheduleId"');
|
|
17582
|
+
}
|
|
17583
|
+
const apiPath = '/projects/{projectId}/schedules/{scheduleId}'.replace('{projectId}', projectId).replace('{scheduleId}', scheduleId);
|
|
17584
|
+
const payload = {};
|
|
17585
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
17586
|
+
const apiHeaders = {};
|
|
17587
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
17588
|
+
}
|
|
17471
17589
|
updateServiceStatus(paramsOrFirst, ...rest) {
|
|
17472
17590
|
let params;
|
|
17473
17591
|
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
@@ -26749,6 +26867,9 @@ class Channel {
|
|
|
26749
26867
|
create() {
|
|
26750
26868
|
return this.resolve("create");
|
|
26751
26869
|
}
|
|
26870
|
+
upsert() {
|
|
26871
|
+
return this.resolve("upsert");
|
|
26872
|
+
}
|
|
26752
26873
|
update() {
|
|
26753
26874
|
return this.resolve("update");
|
|
26754
26875
|
}
|
|
@@ -27116,6 +27237,8 @@ var Scopes;
|
|
|
27116
27237
|
Scopes["TargetsWrite"] = "targets.write";
|
|
27117
27238
|
Scopes["RulesRead"] = "rules.read";
|
|
27118
27239
|
Scopes["RulesWrite"] = "rules.write";
|
|
27240
|
+
Scopes["SchedulesRead"] = "schedules.read";
|
|
27241
|
+
Scopes["SchedulesWrite"] = "schedules.write";
|
|
27119
27242
|
Scopes["MigrationsRead"] = "migrations.read";
|
|
27120
27243
|
Scopes["MigrationsWrite"] = "migrations.write";
|
|
27121
27244
|
Scopes["VcsRead"] = "vcs.read";
|
|
@@ -27188,8 +27311,6 @@ var OAuthProvider;
|
|
|
27188
27311
|
OAuthProvider["Yandex"] = "yandex";
|
|
27189
27312
|
OAuthProvider["Zoho"] = "zoho";
|
|
27190
27313
|
OAuthProvider["Zoom"] = "zoom";
|
|
27191
|
-
OAuthProvider["GithubImagine"] = "githubImagine";
|
|
27192
|
-
OAuthProvider["GoogleImagine"] = "googleImagine";
|
|
27193
27314
|
})(OAuthProvider || (OAuthProvider = {}));
|
|
27194
27315
|
|
|
27195
27316
|
var Browser;
|
|
@@ -27971,24 +28092,35 @@ var Runtime;
|
|
|
27971
28092
|
Runtime["Node200"] = "node-20.0";
|
|
27972
28093
|
Runtime["Node210"] = "node-21.0";
|
|
27973
28094
|
Runtime["Node22"] = "node-22";
|
|
28095
|
+
Runtime["Node23"] = "node-23";
|
|
28096
|
+
Runtime["Node24"] = "node-24";
|
|
28097
|
+
Runtime["Node25"] = "node-25";
|
|
27974
28098
|
Runtime["Php80"] = "php-8.0";
|
|
27975
28099
|
Runtime["Php81"] = "php-8.1";
|
|
27976
28100
|
Runtime["Php82"] = "php-8.2";
|
|
27977
28101
|
Runtime["Php83"] = "php-8.3";
|
|
28102
|
+
Runtime["Php84"] = "php-8.4";
|
|
27978
28103
|
Runtime["Ruby30"] = "ruby-3.0";
|
|
27979
28104
|
Runtime["Ruby31"] = "ruby-3.1";
|
|
27980
28105
|
Runtime["Ruby32"] = "ruby-3.2";
|
|
27981
28106
|
Runtime["Ruby33"] = "ruby-3.3";
|
|
28107
|
+
Runtime["Ruby34"] = "ruby-3.4";
|
|
28108
|
+
Runtime["Ruby40"] = "ruby-4.0";
|
|
27982
28109
|
Runtime["Python38"] = "python-3.8";
|
|
27983
28110
|
Runtime["Python39"] = "python-3.9";
|
|
27984
28111
|
Runtime["Python310"] = "python-3.10";
|
|
27985
28112
|
Runtime["Python311"] = "python-3.11";
|
|
27986
28113
|
Runtime["Python312"] = "python-3.12";
|
|
28114
|
+
Runtime["Python313"] = "python-3.13";
|
|
28115
|
+
Runtime["Python314"] = "python-3.14";
|
|
27987
28116
|
Runtime["Pythonml311"] = "python-ml-3.11";
|
|
27988
28117
|
Runtime["Pythonml312"] = "python-ml-3.12";
|
|
28118
|
+
Runtime["Pythonml313"] = "python-ml-3.13";
|
|
27989
28119
|
Runtime["Deno140"] = "deno-1.40";
|
|
27990
28120
|
Runtime["Deno146"] = "deno-1.46";
|
|
27991
28121
|
Runtime["Deno20"] = "deno-2.0";
|
|
28122
|
+
Runtime["Deno25"] = "deno-2.5";
|
|
28123
|
+
Runtime["Deno26"] = "deno-2.6";
|
|
27992
28124
|
Runtime["Dart215"] = "dart-2.15";
|
|
27993
28125
|
Runtime["Dart216"] = "dart-2.16";
|
|
27994
28126
|
Runtime["Dart217"] = "dart-2.17";
|
|
@@ -28004,25 +28136,34 @@ var Runtime;
|
|
|
28004
28136
|
Runtime["Dotnet60"] = "dotnet-6.0";
|
|
28005
28137
|
Runtime["Dotnet70"] = "dotnet-7.0";
|
|
28006
28138
|
Runtime["Dotnet80"] = "dotnet-8.0";
|
|
28139
|
+
Runtime["Dotnet10"] = "dotnet-10";
|
|
28007
28140
|
Runtime["Java80"] = "java-8.0";
|
|
28008
28141
|
Runtime["Java110"] = "java-11.0";
|
|
28009
28142
|
Runtime["Java170"] = "java-17.0";
|
|
28010
28143
|
Runtime["Java180"] = "java-18.0";
|
|
28011
28144
|
Runtime["Java210"] = "java-21.0";
|
|
28012
28145
|
Runtime["Java22"] = "java-22";
|
|
28146
|
+
Runtime["Java25"] = "java-25";
|
|
28013
28147
|
Runtime["Swift55"] = "swift-5.5";
|
|
28014
28148
|
Runtime["Swift58"] = "swift-5.8";
|
|
28015
28149
|
Runtime["Swift59"] = "swift-5.9";
|
|
28016
28150
|
Runtime["Swift510"] = "swift-5.10";
|
|
28151
|
+
Runtime["Swift62"] = "swift-6.2";
|
|
28017
28152
|
Runtime["Kotlin16"] = "kotlin-1.6";
|
|
28018
28153
|
Runtime["Kotlin18"] = "kotlin-1.8";
|
|
28019
28154
|
Runtime["Kotlin19"] = "kotlin-1.9";
|
|
28020
28155
|
Runtime["Kotlin20"] = "kotlin-2.0";
|
|
28156
|
+
Runtime["Kotlin23"] = "kotlin-2.3";
|
|
28021
28157
|
Runtime["Cpp17"] = "cpp-17";
|
|
28022
28158
|
Runtime["Cpp20"] = "cpp-20";
|
|
28023
28159
|
Runtime["Bun10"] = "bun-1.0";
|
|
28024
28160
|
Runtime["Bun11"] = "bun-1.1";
|
|
28161
|
+
Runtime["Bun12"] = "bun-1.2";
|
|
28162
|
+
Runtime["Bun13"] = "bun-1.3";
|
|
28025
28163
|
Runtime["Go123"] = "go-1.23";
|
|
28164
|
+
Runtime["Go124"] = "go-1.24";
|
|
28165
|
+
Runtime["Go125"] = "go-1.25";
|
|
28166
|
+
Runtime["Go126"] = "go-1.26";
|
|
28026
28167
|
Runtime["Static1"] = "static-1";
|
|
28027
28168
|
Runtime["Flutter324"] = "flutter-3.24";
|
|
28028
28169
|
Runtime["Flutter327"] = "flutter-3.27";
|
|
@@ -28041,24 +28182,35 @@ var Runtimes;
|
|
|
28041
28182
|
Runtimes["Node200"] = "node-20.0";
|
|
28042
28183
|
Runtimes["Node210"] = "node-21.0";
|
|
28043
28184
|
Runtimes["Node22"] = "node-22";
|
|
28185
|
+
Runtimes["Node23"] = "node-23";
|
|
28186
|
+
Runtimes["Node24"] = "node-24";
|
|
28187
|
+
Runtimes["Node25"] = "node-25";
|
|
28044
28188
|
Runtimes["Php80"] = "php-8.0";
|
|
28045
28189
|
Runtimes["Php81"] = "php-8.1";
|
|
28046
28190
|
Runtimes["Php82"] = "php-8.2";
|
|
28047
28191
|
Runtimes["Php83"] = "php-8.3";
|
|
28192
|
+
Runtimes["Php84"] = "php-8.4";
|
|
28048
28193
|
Runtimes["Ruby30"] = "ruby-3.0";
|
|
28049
28194
|
Runtimes["Ruby31"] = "ruby-3.1";
|
|
28050
28195
|
Runtimes["Ruby32"] = "ruby-3.2";
|
|
28051
28196
|
Runtimes["Ruby33"] = "ruby-3.3";
|
|
28197
|
+
Runtimes["Ruby34"] = "ruby-3.4";
|
|
28198
|
+
Runtimes["Ruby40"] = "ruby-4.0";
|
|
28052
28199
|
Runtimes["Python38"] = "python-3.8";
|
|
28053
28200
|
Runtimes["Python39"] = "python-3.9";
|
|
28054
28201
|
Runtimes["Python310"] = "python-3.10";
|
|
28055
28202
|
Runtimes["Python311"] = "python-3.11";
|
|
28056
28203
|
Runtimes["Python312"] = "python-3.12";
|
|
28204
|
+
Runtimes["Python313"] = "python-3.13";
|
|
28205
|
+
Runtimes["Python314"] = "python-3.14";
|
|
28057
28206
|
Runtimes["Pythonml311"] = "python-ml-3.11";
|
|
28058
28207
|
Runtimes["Pythonml312"] = "python-ml-3.12";
|
|
28208
|
+
Runtimes["Pythonml313"] = "python-ml-3.13";
|
|
28059
28209
|
Runtimes["Deno140"] = "deno-1.40";
|
|
28060
28210
|
Runtimes["Deno146"] = "deno-1.46";
|
|
28061
28211
|
Runtimes["Deno20"] = "deno-2.0";
|
|
28212
|
+
Runtimes["Deno25"] = "deno-2.5";
|
|
28213
|
+
Runtimes["Deno26"] = "deno-2.6";
|
|
28062
28214
|
Runtimes["Dart215"] = "dart-2.15";
|
|
28063
28215
|
Runtimes["Dart216"] = "dart-2.16";
|
|
28064
28216
|
Runtimes["Dart217"] = "dart-2.17";
|
|
@@ -28074,25 +28226,34 @@ var Runtimes;
|
|
|
28074
28226
|
Runtimes["Dotnet60"] = "dotnet-6.0";
|
|
28075
28227
|
Runtimes["Dotnet70"] = "dotnet-7.0";
|
|
28076
28228
|
Runtimes["Dotnet80"] = "dotnet-8.0";
|
|
28229
|
+
Runtimes["Dotnet10"] = "dotnet-10";
|
|
28077
28230
|
Runtimes["Java80"] = "java-8.0";
|
|
28078
28231
|
Runtimes["Java110"] = "java-11.0";
|
|
28079
28232
|
Runtimes["Java170"] = "java-17.0";
|
|
28080
28233
|
Runtimes["Java180"] = "java-18.0";
|
|
28081
28234
|
Runtimes["Java210"] = "java-21.0";
|
|
28082
28235
|
Runtimes["Java22"] = "java-22";
|
|
28236
|
+
Runtimes["Java25"] = "java-25";
|
|
28083
28237
|
Runtimes["Swift55"] = "swift-5.5";
|
|
28084
28238
|
Runtimes["Swift58"] = "swift-5.8";
|
|
28085
28239
|
Runtimes["Swift59"] = "swift-5.9";
|
|
28086
28240
|
Runtimes["Swift510"] = "swift-5.10";
|
|
28241
|
+
Runtimes["Swift62"] = "swift-6.2";
|
|
28087
28242
|
Runtimes["Kotlin16"] = "kotlin-1.6";
|
|
28088
28243
|
Runtimes["Kotlin18"] = "kotlin-1.8";
|
|
28089
28244
|
Runtimes["Kotlin19"] = "kotlin-1.9";
|
|
28090
28245
|
Runtimes["Kotlin20"] = "kotlin-2.0";
|
|
28246
|
+
Runtimes["Kotlin23"] = "kotlin-2.3";
|
|
28091
28247
|
Runtimes["Cpp17"] = "cpp-17";
|
|
28092
28248
|
Runtimes["Cpp20"] = "cpp-20";
|
|
28093
28249
|
Runtimes["Bun10"] = "bun-1.0";
|
|
28094
28250
|
Runtimes["Bun11"] = "bun-1.1";
|
|
28251
|
+
Runtimes["Bun12"] = "bun-1.2";
|
|
28252
|
+
Runtimes["Bun13"] = "bun-1.3";
|
|
28095
28253
|
Runtimes["Go123"] = "go-1.23";
|
|
28254
|
+
Runtimes["Go124"] = "go-1.24";
|
|
28255
|
+
Runtimes["Go125"] = "go-1.25";
|
|
28256
|
+
Runtimes["Go126"] = "go-1.26";
|
|
28096
28257
|
Runtimes["Static1"] = "static-1";
|
|
28097
28258
|
Runtimes["Flutter324"] = "flutter-3.24";
|
|
28098
28259
|
Runtimes["Flutter327"] = "flutter-3.27";
|
|
@@ -28244,6 +28405,14 @@ var PlatformType;
|
|
|
28244
28405
|
PlatformType["Reactnativeandroid"] = "react-native-android";
|
|
28245
28406
|
})(PlatformType || (PlatformType = {}));
|
|
28246
28407
|
|
|
28408
|
+
var ResourceType;
|
|
28409
|
+
(function (ResourceType) {
|
|
28410
|
+
ResourceType["Function"] = "function";
|
|
28411
|
+
ResourceType["Execution"] = "execution";
|
|
28412
|
+
ResourceType["Message"] = "message";
|
|
28413
|
+
ResourceType["Backup"] = "backup";
|
|
28414
|
+
})(ResourceType || (ResourceType = {}));
|
|
28415
|
+
|
|
28247
28416
|
var ApiService;
|
|
28248
28417
|
(function (ApiService) {
|
|
28249
28418
|
ApiService["Account"] = "account";
|
|
@@ -28270,12 +28439,12 @@ var SMTPSecure;
|
|
|
28270
28439
|
var EmailTemplateType;
|
|
28271
28440
|
(function (EmailTemplateType) {
|
|
28272
28441
|
EmailTemplateType["Verification"] = "verification";
|
|
28273
|
-
EmailTemplateType["
|
|
28442
|
+
EmailTemplateType["MagicSession"] = "magicSession";
|
|
28274
28443
|
EmailTemplateType["Recovery"] = "recovery";
|
|
28275
28444
|
EmailTemplateType["Invitation"] = "invitation";
|
|
28276
|
-
EmailTemplateType["
|
|
28277
|
-
EmailTemplateType["
|
|
28278
|
-
EmailTemplateType["
|
|
28445
|
+
EmailTemplateType["MfaChallenge"] = "mfaChallenge";
|
|
28446
|
+
EmailTemplateType["SessionAlert"] = "sessionAlert";
|
|
28447
|
+
EmailTemplateType["OtpSession"] = "otpSession";
|
|
28279
28448
|
})(EmailTemplateType || (EmailTemplateType = {}));
|
|
28280
28449
|
|
|
28281
28450
|
var EmailTemplateLocale;
|
|
@@ -28418,7 +28587,7 @@ var SmsTemplateType;
|
|
|
28418
28587
|
SmsTemplateType["Verification"] = "verification";
|
|
28419
28588
|
SmsTemplateType["Login"] = "login";
|
|
28420
28589
|
SmsTemplateType["Invitation"] = "invitation";
|
|
28421
|
-
SmsTemplateType["
|
|
28590
|
+
SmsTemplateType["MfaChallenge"] = "mfaChallenge";
|
|
28422
28591
|
})(SmsTemplateType || (SmsTemplateType = {}));
|
|
28423
28592
|
|
|
28424
28593
|
var SmsTemplateLocale;
|
|
@@ -28598,24 +28767,35 @@ var BuildRuntime;
|
|
|
28598
28767
|
BuildRuntime["Node200"] = "node-20.0";
|
|
28599
28768
|
BuildRuntime["Node210"] = "node-21.0";
|
|
28600
28769
|
BuildRuntime["Node22"] = "node-22";
|
|
28770
|
+
BuildRuntime["Node23"] = "node-23";
|
|
28771
|
+
BuildRuntime["Node24"] = "node-24";
|
|
28772
|
+
BuildRuntime["Node25"] = "node-25";
|
|
28601
28773
|
BuildRuntime["Php80"] = "php-8.0";
|
|
28602
28774
|
BuildRuntime["Php81"] = "php-8.1";
|
|
28603
28775
|
BuildRuntime["Php82"] = "php-8.2";
|
|
28604
28776
|
BuildRuntime["Php83"] = "php-8.3";
|
|
28777
|
+
BuildRuntime["Php84"] = "php-8.4";
|
|
28605
28778
|
BuildRuntime["Ruby30"] = "ruby-3.0";
|
|
28606
28779
|
BuildRuntime["Ruby31"] = "ruby-3.1";
|
|
28607
28780
|
BuildRuntime["Ruby32"] = "ruby-3.2";
|
|
28608
28781
|
BuildRuntime["Ruby33"] = "ruby-3.3";
|
|
28782
|
+
BuildRuntime["Ruby34"] = "ruby-3.4";
|
|
28783
|
+
BuildRuntime["Ruby40"] = "ruby-4.0";
|
|
28609
28784
|
BuildRuntime["Python38"] = "python-3.8";
|
|
28610
28785
|
BuildRuntime["Python39"] = "python-3.9";
|
|
28611
28786
|
BuildRuntime["Python310"] = "python-3.10";
|
|
28612
28787
|
BuildRuntime["Python311"] = "python-3.11";
|
|
28613
28788
|
BuildRuntime["Python312"] = "python-3.12";
|
|
28789
|
+
BuildRuntime["Python313"] = "python-3.13";
|
|
28790
|
+
BuildRuntime["Python314"] = "python-3.14";
|
|
28614
28791
|
BuildRuntime["Pythonml311"] = "python-ml-3.11";
|
|
28615
28792
|
BuildRuntime["Pythonml312"] = "python-ml-3.12";
|
|
28793
|
+
BuildRuntime["Pythonml313"] = "python-ml-3.13";
|
|
28616
28794
|
BuildRuntime["Deno140"] = "deno-1.40";
|
|
28617
28795
|
BuildRuntime["Deno146"] = "deno-1.46";
|
|
28618
28796
|
BuildRuntime["Deno20"] = "deno-2.0";
|
|
28797
|
+
BuildRuntime["Deno25"] = "deno-2.5";
|
|
28798
|
+
BuildRuntime["Deno26"] = "deno-2.6";
|
|
28619
28799
|
BuildRuntime["Dart215"] = "dart-2.15";
|
|
28620
28800
|
BuildRuntime["Dart216"] = "dart-2.16";
|
|
28621
28801
|
BuildRuntime["Dart217"] = "dart-2.17";
|
|
@@ -28631,25 +28811,34 @@ var BuildRuntime;
|
|
|
28631
28811
|
BuildRuntime["Dotnet60"] = "dotnet-6.0";
|
|
28632
28812
|
BuildRuntime["Dotnet70"] = "dotnet-7.0";
|
|
28633
28813
|
BuildRuntime["Dotnet80"] = "dotnet-8.0";
|
|
28814
|
+
BuildRuntime["Dotnet10"] = "dotnet-10";
|
|
28634
28815
|
BuildRuntime["Java80"] = "java-8.0";
|
|
28635
28816
|
BuildRuntime["Java110"] = "java-11.0";
|
|
28636
28817
|
BuildRuntime["Java170"] = "java-17.0";
|
|
28637
28818
|
BuildRuntime["Java180"] = "java-18.0";
|
|
28638
28819
|
BuildRuntime["Java210"] = "java-21.0";
|
|
28639
28820
|
BuildRuntime["Java22"] = "java-22";
|
|
28821
|
+
BuildRuntime["Java25"] = "java-25";
|
|
28640
28822
|
BuildRuntime["Swift55"] = "swift-5.5";
|
|
28641
28823
|
BuildRuntime["Swift58"] = "swift-5.8";
|
|
28642
28824
|
BuildRuntime["Swift59"] = "swift-5.9";
|
|
28643
28825
|
BuildRuntime["Swift510"] = "swift-5.10";
|
|
28826
|
+
BuildRuntime["Swift62"] = "swift-6.2";
|
|
28644
28827
|
BuildRuntime["Kotlin16"] = "kotlin-1.6";
|
|
28645
28828
|
BuildRuntime["Kotlin18"] = "kotlin-1.8";
|
|
28646
28829
|
BuildRuntime["Kotlin19"] = "kotlin-1.9";
|
|
28647
28830
|
BuildRuntime["Kotlin20"] = "kotlin-2.0";
|
|
28831
|
+
BuildRuntime["Kotlin23"] = "kotlin-2.3";
|
|
28648
28832
|
BuildRuntime["Cpp17"] = "cpp-17";
|
|
28649
28833
|
BuildRuntime["Cpp20"] = "cpp-20";
|
|
28650
28834
|
BuildRuntime["Bun10"] = "bun-1.0";
|
|
28651
28835
|
BuildRuntime["Bun11"] = "bun-1.1";
|
|
28836
|
+
BuildRuntime["Bun12"] = "bun-1.2";
|
|
28837
|
+
BuildRuntime["Bun13"] = "bun-1.3";
|
|
28652
28838
|
BuildRuntime["Go123"] = "go-1.23";
|
|
28839
|
+
BuildRuntime["Go124"] = "go-1.24";
|
|
28840
|
+
BuildRuntime["Go125"] = "go-1.25";
|
|
28841
|
+
BuildRuntime["Go126"] = "go-1.26";
|
|
28653
28842
|
BuildRuntime["Static1"] = "static-1";
|
|
28654
28843
|
BuildRuntime["Flutter324"] = "flutter-3.24";
|
|
28655
28844
|
BuildRuntime["Flutter327"] = "flutter-3.27";
|
|
@@ -28834,5 +29023,5 @@ var BillingPlanGroup;
|
|
|
28834
29023
|
BillingPlanGroup["Scale"] = "scale";
|
|
28835
29024
|
})(BillingPlanGroup || (BillingPlanGroup = {}));
|
|
28836
29025
|
|
|
28837
|
-
export { Account, Activities, Adapter, Api, ApiService, AppwriteException, Assistant, AttributeStatus, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DeploymentDownloadType, DeploymentStatus, Domains, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FilterType, Flag, Framework, Frameworks, Functions, Graphql, Health, HealthAntivirusStatus, HealthCheckStatus, ID, ImageFormat, ImageGravity, IndexStatus, IndexType, Locale, MessagePriority, MessageStatus, Messaging, MessagingProviderType, Migrations, Name, OAuthProvider, Operator, OrderBy, Organizations, PasswordHash, Permission, Platform, PlatformType, Project, ProjectUsageRange, Projects, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, Realtime, Region, RegistrationType, RelationMutate, RelationshipType, Resources, Role, Runtime, Runtimes, SMTPSecure, Scopes, Sites, SmsTemplateLocale, SmsTemplateType, SmtpEncryption, StatusCode, Storage, TablesDB, Teams, TemplateReferenceType, Theme, Timezone, Tokens, UsageRange, UseCases, Users, VCSDetectionType, VCSReferenceType, Vcs };
|
|
29026
|
+
export { Account, Activities, Adapter, Api, ApiService, AppwriteException, Assistant, AttributeStatus, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DeploymentDownloadType, DeploymentStatus, Domains, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FilterType, Flag, Framework, Frameworks, Functions, Graphql, Health, HealthAntivirusStatus, HealthCheckStatus, ID, ImageFormat, ImageGravity, IndexStatus, IndexType, Locale, MessagePriority, MessageStatus, Messaging, MessagingProviderType, Migrations, Name, OAuthProvider, Operator, OrderBy, Organizations, PasswordHash, Permission, Platform, PlatformType, Project, ProjectUsageRange, Projects, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, Realtime, Region, RegistrationType, RelationMutate, RelationshipType, ResourceType, Resources, Role, Runtime, Runtimes, SMTPSecure, Scopes, Sites, SmsTemplateLocale, SmsTemplateType, SmtpEncryption, StatusCode, Storage, TablesDB, Teams, TemplateReferenceType, Theme, Timezone, Tokens, UsageRange, UseCases, Users, VCSDetectionType, VCSReferenceType, Vcs };
|
|
28838
29027
|
//# sourceMappingURL=sdk.js.map
|