react-native-appwrite 0.18.0 → 0.20.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/.github/workflows/publish.yml +9 -8
- package/CHANGELOG.md +11 -0
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/cjs/sdk.js +881 -36
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +877 -37
- package/dist/esm/sdk.js.map +1 -1
- package/docs/examples/account/create-anonymous-session.md +2 -0
- package/docs/examples/account/create-email-password-session.md +2 -0
- package/docs/examples/account/create-email-token.md +2 -0
- package/docs/examples/account/create-email-verification.md +2 -0
- package/docs/examples/account/create-jwt.md +5 -1
- package/docs/examples/account/create-magic-url-token.md +2 -0
- package/docs/examples/account/create-mfa-authenticator.md +2 -0
- package/docs/examples/account/create-mfa-challenge.md +2 -0
- package/docs/examples/account/create-mfa-recovery-codes.md +2 -0
- package/docs/examples/account/create-o-auth-2-session.md +2 -0
- package/docs/examples/account/create-o-auth-2-token.md +2 -0
- package/docs/examples/account/create-phone-token.md +2 -0
- package/docs/examples/account/create-phone-verification.md +2 -0
- package/docs/examples/account/create-push-target.md +2 -0
- package/docs/examples/account/create-recovery.md +2 -0
- package/docs/examples/account/create-session.md +2 -0
- package/docs/examples/account/create-verification.md +2 -0
- package/docs/examples/account/create.md +2 -0
- package/docs/examples/account/delete-identity.md +2 -0
- package/docs/examples/account/delete-mfa-authenticator.md +2 -0
- package/docs/examples/account/delete-push-target.md +2 -0
- package/docs/examples/account/delete-session.md +2 -0
- package/docs/examples/account/delete-sessions.md +2 -0
- package/docs/examples/account/get-mfa-recovery-codes.md +2 -0
- package/docs/examples/account/get-prefs.md +2 -0
- package/docs/examples/account/get-session.md +2 -0
- package/docs/examples/account/get.md +2 -0
- package/docs/examples/account/list-identities.md +2 -0
- package/docs/examples/account/list-logs.md +2 -0
- package/docs/examples/account/list-mfa-factors.md +2 -0
- package/docs/examples/account/list-sessions.md +2 -0
- package/docs/examples/account/update-email-verification.md +2 -0
- package/docs/examples/account/update-email.md +2 -0
- package/docs/examples/account/update-magic-url-session.md +2 -0
- package/docs/examples/account/update-mfa-authenticator.md +2 -0
- package/docs/examples/account/update-mfa-challenge.md +2 -0
- package/docs/examples/account/update-mfa-recovery-codes.md +2 -0
- package/docs/examples/account/update-mfa.md +2 -0
- package/docs/examples/account/update-name.md +2 -0
- package/docs/examples/account/update-password.md +2 -0
- package/docs/examples/account/update-phone-session.md +2 -0
- package/docs/examples/account/update-phone-verification.md +2 -0
- package/docs/examples/account/update-phone.md +2 -0
- package/docs/examples/account/update-prefs.md +2 -0
- package/docs/examples/account/update-push-target.md +2 -0
- package/docs/examples/account/update-recovery.md +2 -0
- package/docs/examples/account/update-session.md +2 -0
- package/docs/examples/account/update-status.md +2 -0
- package/docs/examples/account/update-verification.md +2 -0
- package/docs/examples/avatars/get-browser.md +2 -0
- package/docs/examples/avatars/get-credit-card.md +2 -0
- package/docs/examples/avatars/get-favicon.md +2 -0
- package/docs/examples/avatars/get-flag.md +2 -0
- package/docs/examples/avatars/get-image.md +2 -0
- package/docs/examples/avatars/get-initials.md +2 -0
- package/docs/examples/avatars/get-qr.md +2 -0
- package/docs/examples/avatars/get-screenshot.md +37 -0
- package/docs/examples/databases/create-document.md +2 -0
- package/docs/examples/databases/create-operations.md +2 -0
- package/docs/examples/databases/create-transaction.md +2 -0
- package/docs/examples/databases/decrement-document-attribute.md +2 -0
- package/docs/examples/databases/delete-document.md +2 -0
- package/docs/examples/databases/delete-transaction.md +2 -0
- package/docs/examples/databases/get-document.md +2 -0
- package/docs/examples/databases/get-transaction.md +2 -0
- package/docs/examples/databases/increment-document-attribute.md +2 -0
- package/docs/examples/databases/list-documents.md +2 -0
- package/docs/examples/databases/list-transactions.md +2 -0
- package/docs/examples/databases/update-document.md +9 -1
- package/docs/examples/databases/update-transaction.md +2 -0
- package/docs/examples/databases/upsert-document.md +9 -1
- package/docs/examples/functions/create-execution.md +2 -0
- package/docs/examples/functions/get-execution.md +2 -0
- package/docs/examples/functions/list-executions.md +2 -0
- package/docs/examples/graphql/mutation.md +2 -0
- package/docs/examples/graphql/query.md +2 -0
- package/docs/examples/locale/get.md +2 -0
- package/docs/examples/locale/list-codes.md +2 -0
- package/docs/examples/locale/list-continents.md +2 -0
- package/docs/examples/locale/list-countries-eu.md +2 -0
- package/docs/examples/locale/list-countries-phones.md +2 -0
- package/docs/examples/locale/list-countries.md +2 -0
- package/docs/examples/locale/list-currencies.md +2 -0
- package/docs/examples/locale/list-languages.md +2 -0
- package/docs/examples/messaging/create-subscriber.md +2 -0
- package/docs/examples/messaging/delete-subscriber.md +2 -0
- package/docs/examples/storage/create-file.md +2 -0
- package/docs/examples/storage/delete-file.md +2 -0
- package/docs/examples/storage/get-file-download.md +2 -0
- package/docs/examples/storage/get-file-preview.md +2 -0
- package/docs/examples/storage/get-file-view.md +2 -0
- package/docs/examples/storage/get-file.md +2 -0
- package/docs/examples/storage/list-files.md +2 -0
- package/docs/examples/storage/update-file.md +2 -0
- package/docs/examples/tablesdb/create-operations.md +2 -0
- package/docs/examples/tablesdb/create-row.md +2 -0
- package/docs/examples/tablesdb/create-transaction.md +2 -0
- package/docs/examples/tablesdb/decrement-row-column.md +2 -0
- package/docs/examples/tablesdb/delete-row.md +2 -0
- package/docs/examples/tablesdb/delete-transaction.md +2 -0
- package/docs/examples/tablesdb/get-row.md +2 -0
- package/docs/examples/tablesdb/get-transaction.md +2 -0
- package/docs/examples/tablesdb/increment-row-column.md +2 -0
- package/docs/examples/tablesdb/list-rows.md +2 -0
- package/docs/examples/tablesdb/list-transactions.md +2 -0
- package/docs/examples/tablesdb/update-row.md +9 -1
- package/docs/examples/tablesdb/update-transaction.md +2 -0
- package/docs/examples/tablesdb/upsert-row.md +9 -1
- package/docs/examples/teams/create-membership.md +4 -2
- package/docs/examples/teams/create.md +2 -0
- package/docs/examples/teams/delete-membership.md +2 -0
- package/docs/examples/teams/delete.md +2 -0
- package/docs/examples/teams/get-membership.md +2 -0
- package/docs/examples/teams/get-prefs.md +2 -0
- package/docs/examples/teams/get.md +2 -0
- package/docs/examples/teams/list-memberships.md +2 -0
- package/docs/examples/teams/list.md +2 -0
- package/docs/examples/teams/update-membership-status.md +2 -0
- package/docs/examples/teams/update-membership.md +4 -2
- package/docs/examples/teams/update-name.md +2 -0
- package/docs/examples/teams/update-prefs.md +2 -0
- package/package.json +7 -4
- package/rollup.config.js +3 -1
- package/src/channel.ts +134 -0
- package/src/client.ts +41 -6
- package/src/enums/browser-permission.ts +22 -0
- package/src/enums/o-auth-provider.ts +0 -1
- package/src/enums/roles.ts +5 -0
- package/src/enums/theme.ts +4 -0
- package/src/enums/timezone.ts +421 -0
- package/src/index.ts +6 -1
- package/src/models.ts +8 -0
- package/src/query.ts +54 -9
- package/src/services/account.ts +34 -5
- package/src/services/avatars.ts +348 -0
- package/src/services/databases.ts +5 -9
- package/src/services/storage.ts +8 -8
- package/src/services/teams.ts +19 -18
- package/types/channel.d.ts +71 -0
- package/types/enums/browser-permission.d.ts +22 -0
- package/types/enums/o-auth-provider.d.ts +1 -2
- package/types/enums/roles.d.ts +5 -0
- package/types/enums/theme.d.ts +4 -0
- package/types/enums/timezone.d.ts +421 -0
- package/types/index.d.ts +6 -1
- package/types/models.d.ts +8 -0
- package/types/query.d.ts +36 -6
- package/types/services/account.d.ts +13 -1
- package/types/services/avatars.d.ts +124 -0
- package/types/services/databases.d.ts +2 -2
- package/types/services/storage.d.ts +8 -8
- package/types/services/teams.d.ts +9 -8
- package/.gitpod.yml +0 -10
package/dist/esm/sdk.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Platform } from 'react-native';
|
|
2
|
+
import JSONbigModule from 'json-bigint';
|
|
3
|
+
import BigNumber from 'bignumber.js';
|
|
2
4
|
import * as FileSystem from 'expo-file-system';
|
|
3
5
|
|
|
4
6
|
/******************************************************************************
|
|
@@ -52,6 +54,28 @@ class Service {
|
|
|
52
54
|
}
|
|
53
55
|
Service.CHUNK_SIZE = 5 * 1024 * 1024; // 5MB
|
|
54
56
|
|
|
57
|
+
const JSONbigParser = JSONbigModule({ storeAsString: false });
|
|
58
|
+
const JSONbigSerializer = JSONbigModule({ useNativeBigInt: true });
|
|
59
|
+
const MAX_SAFE = BigInt(Number.MAX_SAFE_INTEGER);
|
|
60
|
+
const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER);
|
|
61
|
+
function reviver(_key, value) {
|
|
62
|
+
if (BigNumber.isBigNumber(value)) {
|
|
63
|
+
if (value.isInteger()) {
|
|
64
|
+
const str = value.toFixed();
|
|
65
|
+
const bi = BigInt(str);
|
|
66
|
+
if (bi >= MIN_SAFE && bi <= MAX_SAFE) {
|
|
67
|
+
return Number(str);
|
|
68
|
+
}
|
|
69
|
+
return bi;
|
|
70
|
+
}
|
|
71
|
+
return value.toNumber();
|
|
72
|
+
}
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
const JSONbig$1 = {
|
|
76
|
+
parse: (text) => JSONbigParser.parse(text, reviver),
|
|
77
|
+
stringify: JSONbigSerializer.stringify
|
|
78
|
+
};
|
|
55
79
|
class AppwriteException extends Error {
|
|
56
80
|
constructor(message, code = 0, type = '', response = '') {
|
|
57
81
|
super(message);
|
|
@@ -78,7 +102,7 @@ class Client {
|
|
|
78
102
|
'x-sdk-name': 'React Native',
|
|
79
103
|
'x-sdk-platform': 'client',
|
|
80
104
|
'x-sdk-language': 'reactnative',
|
|
81
|
-
'x-sdk-version': '0.
|
|
105
|
+
'x-sdk-version': '0.20.0',
|
|
82
106
|
'X-Appwrite-Response-Format': '1.8.0',
|
|
83
107
|
};
|
|
84
108
|
this.realtime = {
|
|
@@ -116,7 +140,7 @@ class Client {
|
|
|
116
140
|
}
|
|
117
141
|
this.realtime.heartbeat = window === null || window === void 0 ? void 0 : window.setInterval(() => {
|
|
118
142
|
var _a;
|
|
119
|
-
(_a = this.realtime.socket) === null || _a === void 0 ? void 0 : _a.send(
|
|
143
|
+
(_a = this.realtime.socket) === null || _a === void 0 ? void 0 : _a.send(JSONbig$1.stringify({
|
|
120
144
|
type: 'ping'
|
|
121
145
|
}));
|
|
122
146
|
}, 20000);
|
|
@@ -176,7 +200,7 @@ class Client {
|
|
|
176
200
|
},
|
|
177
201
|
onMessage: (event) => {
|
|
178
202
|
try {
|
|
179
|
-
const message =
|
|
203
|
+
const message = JSONbig$1.parse(event.data);
|
|
180
204
|
this.realtime.lastMessage = message;
|
|
181
205
|
switch (message.type) {
|
|
182
206
|
case 'event':
|
|
@@ -228,6 +252,9 @@ class Client {
|
|
|
228
252
|
* @returns {this}
|
|
229
253
|
*/
|
|
230
254
|
setEndpoint(endpoint) {
|
|
255
|
+
if (!endpoint || typeof endpoint !== 'string') {
|
|
256
|
+
throw new AppwriteException('Endpoint must be a valid string');
|
|
257
|
+
}
|
|
231
258
|
if (!endpoint.startsWith('http://') && !endpoint.startsWith('https://')) {
|
|
232
259
|
throw new AppwriteException('Invalid endpoint URL: ' + endpoint);
|
|
233
260
|
}
|
|
@@ -243,6 +270,9 @@ class Client {
|
|
|
243
270
|
* @returns {this}
|
|
244
271
|
*/
|
|
245
272
|
setEndpointRealtime(endpointRealtime) {
|
|
273
|
+
if (!endpointRealtime || typeof endpointRealtime !== 'string') {
|
|
274
|
+
throw new AppwriteException('Endpoint must be a valid string');
|
|
275
|
+
}
|
|
246
276
|
if (!endpointRealtime.startsWith('ws://') && !endpointRealtime.startsWith('wss://')) {
|
|
247
277
|
throw new AppwriteException('Invalid realtime endpoint URL: ' + endpointRealtime);
|
|
248
278
|
}
|
|
@@ -390,7 +420,7 @@ class Client {
|
|
|
390
420
|
else {
|
|
391
421
|
switch (headers['content-type']) {
|
|
392
422
|
case 'application/json':
|
|
393
|
-
options.body =
|
|
423
|
+
options.body = JSONbig$1.stringify(params);
|
|
394
424
|
break;
|
|
395
425
|
case 'multipart/form-data':
|
|
396
426
|
let formData = new FormData();
|
|
@@ -417,7 +447,7 @@ class Client {
|
|
|
417
447
|
warnings.split(';').forEach((warning) => console.warn('Warning: ' + warning));
|
|
418
448
|
}
|
|
419
449
|
if ((_a = response.headers.get('content-type')) === null || _a === void 0 ? void 0 : _a.includes('application/json')) {
|
|
420
|
-
data = yield response.
|
|
450
|
+
data = JSONbig$1.parse(yield response.text());
|
|
421
451
|
}
|
|
422
452
|
else if (responseType === 'arrayBuffer') {
|
|
423
453
|
data = yield response.arrayBuffer();
|
|
@@ -430,7 +460,7 @@ class Client {
|
|
|
430
460
|
if (400 <= response.status) {
|
|
431
461
|
let responseText = '';
|
|
432
462
|
if ((_b = response.headers.get('content-type')) === null || _b === void 0 ? void 0 : _b.includes('application/json')) {
|
|
433
|
-
responseText =
|
|
463
|
+
responseText = JSONbig$1.stringify(data);
|
|
434
464
|
}
|
|
435
465
|
else {
|
|
436
466
|
responseText = data === null || data === void 0 ? void 0 : data.message;
|
|
@@ -592,15 +622,22 @@ class Account extends Service {
|
|
|
592
622
|
'content-type': 'application/json',
|
|
593
623
|
}, payload);
|
|
594
624
|
}
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
625
|
+
createJWT(paramsOrFirst) {
|
|
626
|
+
let params;
|
|
627
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
628
|
+
params = (paramsOrFirst || {});
|
|
629
|
+
}
|
|
630
|
+
else {
|
|
631
|
+
params = {
|
|
632
|
+
duration: paramsOrFirst
|
|
633
|
+
};
|
|
634
|
+
}
|
|
635
|
+
const duration = params.duration;
|
|
602
636
|
const apiPath = '/account/jwts';
|
|
603
637
|
const payload = {};
|
|
638
|
+
if (typeof duration !== 'undefined') {
|
|
639
|
+
payload['duration'] = duration;
|
|
640
|
+
}
|
|
604
641
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
605
642
|
return this.client.call('post', uri, {
|
|
606
643
|
'content-type': 'application/json',
|
|
@@ -810,7 +847,7 @@ class Account extends Service {
|
|
|
810
847
|
if (typeof factor === 'undefined') {
|
|
811
848
|
throw new AppwriteException('Missing required parameter: "factor"');
|
|
812
849
|
}
|
|
813
|
-
const apiPath = '/account/mfa/
|
|
850
|
+
const apiPath = '/account/mfa/challenges';
|
|
814
851
|
const payload = {};
|
|
815
852
|
if (typeof factor !== 'undefined') {
|
|
816
853
|
payload['factor'] = factor;
|
|
@@ -834,7 +871,7 @@ class Account extends Service {
|
|
|
834
871
|
if (typeof factor === 'undefined') {
|
|
835
872
|
throw new AppwriteException('Missing required parameter: "factor"');
|
|
836
873
|
}
|
|
837
|
-
const apiPath = '/account/mfa/
|
|
874
|
+
const apiPath = '/account/mfa/challenges';
|
|
838
875
|
const payload = {};
|
|
839
876
|
if (typeof factor !== 'undefined') {
|
|
840
877
|
payload['factor'] = factor;
|
|
@@ -863,7 +900,7 @@ class Account extends Service {
|
|
|
863
900
|
if (typeof otp === 'undefined') {
|
|
864
901
|
throw new AppwriteException('Missing required parameter: "otp"');
|
|
865
902
|
}
|
|
866
|
-
const apiPath = '/account/mfa/
|
|
903
|
+
const apiPath = '/account/mfa/challenges';
|
|
867
904
|
const payload = {};
|
|
868
905
|
if (typeof challengeId !== 'undefined') {
|
|
869
906
|
payload['challengeId'] = challengeId;
|
|
@@ -895,7 +932,7 @@ class Account extends Service {
|
|
|
895
932
|
if (typeof otp === 'undefined') {
|
|
896
933
|
throw new AppwriteException('Missing required parameter: "otp"');
|
|
897
934
|
}
|
|
898
|
-
const apiPath = '/account/mfa/
|
|
935
|
+
const apiPath = '/account/mfa/challenges';
|
|
899
936
|
const payload = {};
|
|
900
937
|
if (typeof challengeId !== 'undefined') {
|
|
901
938
|
payload['challengeId'] = challengeId;
|
|
@@ -2145,6 +2182,127 @@ class Avatars extends Service {
|
|
|
2145
2182
|
}
|
|
2146
2183
|
return this.client.call('get', uri, {}, payload, 'arrayBuffer');
|
|
2147
2184
|
}
|
|
2185
|
+
getScreenshot(paramsOrFirst, ...rest) {
|
|
2186
|
+
let params;
|
|
2187
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
2188
|
+
params = (paramsOrFirst || {});
|
|
2189
|
+
}
|
|
2190
|
+
else {
|
|
2191
|
+
params = {
|
|
2192
|
+
url: paramsOrFirst,
|
|
2193
|
+
headers: rest[0],
|
|
2194
|
+
viewportWidth: rest[1],
|
|
2195
|
+
viewportHeight: rest[2],
|
|
2196
|
+
scale: rest[3],
|
|
2197
|
+
theme: rest[4],
|
|
2198
|
+
userAgent: rest[5],
|
|
2199
|
+
fullpage: rest[6],
|
|
2200
|
+
locale: rest[7],
|
|
2201
|
+
timezone: rest[8],
|
|
2202
|
+
latitude: rest[9],
|
|
2203
|
+
longitude: rest[10],
|
|
2204
|
+
accuracy: rest[11],
|
|
2205
|
+
touch: rest[12],
|
|
2206
|
+
permissions: rest[13],
|
|
2207
|
+
sleep: rest[14],
|
|
2208
|
+
width: rest[15],
|
|
2209
|
+
height: rest[16],
|
|
2210
|
+
quality: rest[17],
|
|
2211
|
+
output: rest[18]
|
|
2212
|
+
};
|
|
2213
|
+
}
|
|
2214
|
+
const url = params.url;
|
|
2215
|
+
const headers = params.headers;
|
|
2216
|
+
const viewportWidth = params.viewportWidth;
|
|
2217
|
+
const viewportHeight = params.viewportHeight;
|
|
2218
|
+
const scale = params.scale;
|
|
2219
|
+
const theme = params.theme;
|
|
2220
|
+
const userAgent = params.userAgent;
|
|
2221
|
+
const fullpage = params.fullpage;
|
|
2222
|
+
const locale = params.locale;
|
|
2223
|
+
const timezone = params.timezone;
|
|
2224
|
+
const latitude = params.latitude;
|
|
2225
|
+
const longitude = params.longitude;
|
|
2226
|
+
const accuracy = params.accuracy;
|
|
2227
|
+
const touch = params.touch;
|
|
2228
|
+
const permissions = params.permissions;
|
|
2229
|
+
const sleep = params.sleep;
|
|
2230
|
+
const width = params.width;
|
|
2231
|
+
const height = params.height;
|
|
2232
|
+
const quality = params.quality;
|
|
2233
|
+
const output = params.output;
|
|
2234
|
+
if (typeof url === 'undefined') {
|
|
2235
|
+
throw new AppwriteException('Missing required parameter: "url"');
|
|
2236
|
+
}
|
|
2237
|
+
const apiPath = '/avatars/screenshots';
|
|
2238
|
+
const payload = {};
|
|
2239
|
+
if (typeof url !== 'undefined') {
|
|
2240
|
+
payload['url'] = url;
|
|
2241
|
+
}
|
|
2242
|
+
if (typeof headers !== 'undefined') {
|
|
2243
|
+
payload['headers'] = headers;
|
|
2244
|
+
}
|
|
2245
|
+
if (typeof viewportWidth !== 'undefined') {
|
|
2246
|
+
payload['viewportWidth'] = viewportWidth;
|
|
2247
|
+
}
|
|
2248
|
+
if (typeof viewportHeight !== 'undefined') {
|
|
2249
|
+
payload['viewportHeight'] = viewportHeight;
|
|
2250
|
+
}
|
|
2251
|
+
if (typeof scale !== 'undefined') {
|
|
2252
|
+
payload['scale'] = scale;
|
|
2253
|
+
}
|
|
2254
|
+
if (typeof theme !== 'undefined') {
|
|
2255
|
+
payload['theme'] = theme;
|
|
2256
|
+
}
|
|
2257
|
+
if (typeof userAgent !== 'undefined') {
|
|
2258
|
+
payload['userAgent'] = userAgent;
|
|
2259
|
+
}
|
|
2260
|
+
if (typeof fullpage !== 'undefined') {
|
|
2261
|
+
payload['fullpage'] = fullpage;
|
|
2262
|
+
}
|
|
2263
|
+
if (typeof locale !== 'undefined') {
|
|
2264
|
+
payload['locale'] = locale;
|
|
2265
|
+
}
|
|
2266
|
+
if (typeof timezone !== 'undefined') {
|
|
2267
|
+
payload['timezone'] = timezone;
|
|
2268
|
+
}
|
|
2269
|
+
if (typeof latitude !== 'undefined') {
|
|
2270
|
+
payload['latitude'] = latitude;
|
|
2271
|
+
}
|
|
2272
|
+
if (typeof longitude !== 'undefined') {
|
|
2273
|
+
payload['longitude'] = longitude;
|
|
2274
|
+
}
|
|
2275
|
+
if (typeof accuracy !== 'undefined') {
|
|
2276
|
+
payload['accuracy'] = accuracy;
|
|
2277
|
+
}
|
|
2278
|
+
if (typeof touch !== 'undefined') {
|
|
2279
|
+
payload['touch'] = touch;
|
|
2280
|
+
}
|
|
2281
|
+
if (typeof permissions !== 'undefined') {
|
|
2282
|
+
payload['permissions'] = permissions;
|
|
2283
|
+
}
|
|
2284
|
+
if (typeof sleep !== 'undefined') {
|
|
2285
|
+
payload['sleep'] = sleep;
|
|
2286
|
+
}
|
|
2287
|
+
if (typeof width !== 'undefined') {
|
|
2288
|
+
payload['width'] = width;
|
|
2289
|
+
}
|
|
2290
|
+
if (typeof height !== 'undefined') {
|
|
2291
|
+
payload['height'] = height;
|
|
2292
|
+
}
|
|
2293
|
+
if (typeof quality !== 'undefined') {
|
|
2294
|
+
payload['quality'] = quality;
|
|
2295
|
+
}
|
|
2296
|
+
if (typeof output !== 'undefined') {
|
|
2297
|
+
payload['output'] = output;
|
|
2298
|
+
}
|
|
2299
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2300
|
+
payload['project'] = this.client.config.project;
|
|
2301
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
2302
|
+
uri.searchParams.append(key, value);
|
|
2303
|
+
}
|
|
2304
|
+
return this.client.call('get', uri, {}, payload, 'arrayBuffer');
|
|
2305
|
+
}
|
|
2148
2306
|
/**
|
|
2149
2307
|
* You can use this endpoint to show different browser icons to your users.
|
|
2150
2308
|
* The code argument receives the browser code as it appears in your user [GET
|
|
@@ -2400,6 +2558,111 @@ class Avatars extends Service {
|
|
|
2400
2558
|
}
|
|
2401
2559
|
return uri;
|
|
2402
2560
|
}
|
|
2561
|
+
/**
|
|
2562
|
+
* Use this endpoint to capture a screenshot of any website URL. This endpoint
|
|
2563
|
+
* uses a headless browser to render the webpage and capture it as an image.
|
|
2564
|
+
*
|
|
2565
|
+
* You can configure the browser viewport size, theme, user agent,
|
|
2566
|
+
* geolocation, permissions, and more. Capture either just the viewport or the
|
|
2567
|
+
* full page scroll.
|
|
2568
|
+
*
|
|
2569
|
+
* When width and height are specified, the image is resized accordingly. If
|
|
2570
|
+
* both dimensions are 0, the API provides an image at original size. If
|
|
2571
|
+
* dimensions are not specified, the default viewport size is 1280x720px.
|
|
2572
|
+
*
|
|
2573
|
+
* @param {string} url
|
|
2574
|
+
* @param {object} headers
|
|
2575
|
+
* @param {number} viewportWidth
|
|
2576
|
+
* @param {number} viewportHeight
|
|
2577
|
+
* @param {number} scale
|
|
2578
|
+
* @param {Theme} theme
|
|
2579
|
+
* @param {string} userAgent
|
|
2580
|
+
* @param {boolean} fullpage
|
|
2581
|
+
* @param {string} locale
|
|
2582
|
+
* @param {Timezone} timezone
|
|
2583
|
+
* @param {number} latitude
|
|
2584
|
+
* @param {number} longitude
|
|
2585
|
+
* @param {number} accuracy
|
|
2586
|
+
* @param {boolean} touch
|
|
2587
|
+
* @param {BrowserPermission[]} permissions
|
|
2588
|
+
* @param {number} sleep
|
|
2589
|
+
* @param {number} width
|
|
2590
|
+
* @param {number} height
|
|
2591
|
+
* @param {number} quality
|
|
2592
|
+
* @param {ImageFormat} output
|
|
2593
|
+
* @throws {AppwriteException}
|
|
2594
|
+
* @returns {URL}
|
|
2595
|
+
*/
|
|
2596
|
+
getScreenshotURL(url, headers, viewportWidth, viewportHeight, scale, theme, userAgent, fullpage, locale, timezone, latitude, longitude, accuracy, touch, permissions, sleep, width, height, quality, output) {
|
|
2597
|
+
const apiPath = '/avatars/screenshots';
|
|
2598
|
+
const payload = {};
|
|
2599
|
+
if (typeof url !== 'undefined') {
|
|
2600
|
+
payload['url'] = url;
|
|
2601
|
+
}
|
|
2602
|
+
if (typeof headers !== 'undefined') {
|
|
2603
|
+
payload['headers'] = headers;
|
|
2604
|
+
}
|
|
2605
|
+
if (typeof viewportWidth !== 'undefined') {
|
|
2606
|
+
payload['viewportWidth'] = viewportWidth;
|
|
2607
|
+
}
|
|
2608
|
+
if (typeof viewportHeight !== 'undefined') {
|
|
2609
|
+
payload['viewportHeight'] = viewportHeight;
|
|
2610
|
+
}
|
|
2611
|
+
if (typeof scale !== 'undefined') {
|
|
2612
|
+
payload['scale'] = scale;
|
|
2613
|
+
}
|
|
2614
|
+
if (typeof theme !== 'undefined') {
|
|
2615
|
+
payload['theme'] = theme;
|
|
2616
|
+
}
|
|
2617
|
+
if (typeof userAgent !== 'undefined') {
|
|
2618
|
+
payload['userAgent'] = userAgent;
|
|
2619
|
+
}
|
|
2620
|
+
if (typeof fullpage !== 'undefined') {
|
|
2621
|
+
payload['fullpage'] = fullpage;
|
|
2622
|
+
}
|
|
2623
|
+
if (typeof locale !== 'undefined') {
|
|
2624
|
+
payload['locale'] = locale;
|
|
2625
|
+
}
|
|
2626
|
+
if (typeof timezone !== 'undefined') {
|
|
2627
|
+
payload['timezone'] = timezone;
|
|
2628
|
+
}
|
|
2629
|
+
if (typeof latitude !== 'undefined') {
|
|
2630
|
+
payload['latitude'] = latitude;
|
|
2631
|
+
}
|
|
2632
|
+
if (typeof longitude !== 'undefined') {
|
|
2633
|
+
payload['longitude'] = longitude;
|
|
2634
|
+
}
|
|
2635
|
+
if (typeof accuracy !== 'undefined') {
|
|
2636
|
+
payload['accuracy'] = accuracy;
|
|
2637
|
+
}
|
|
2638
|
+
if (typeof touch !== 'undefined') {
|
|
2639
|
+
payload['touch'] = touch;
|
|
2640
|
+
}
|
|
2641
|
+
if (typeof permissions !== 'undefined') {
|
|
2642
|
+
payload['permissions'] = permissions;
|
|
2643
|
+
}
|
|
2644
|
+
if (typeof sleep !== 'undefined') {
|
|
2645
|
+
payload['sleep'] = sleep;
|
|
2646
|
+
}
|
|
2647
|
+
if (typeof width !== 'undefined') {
|
|
2648
|
+
payload['width'] = width;
|
|
2649
|
+
}
|
|
2650
|
+
if (typeof height !== 'undefined') {
|
|
2651
|
+
payload['height'] = height;
|
|
2652
|
+
}
|
|
2653
|
+
if (typeof quality !== 'undefined') {
|
|
2654
|
+
payload['quality'] = quality;
|
|
2655
|
+
}
|
|
2656
|
+
if (typeof output !== 'undefined') {
|
|
2657
|
+
payload['output'] = output;
|
|
2658
|
+
}
|
|
2659
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2660
|
+
payload['project'] = this.client.config.project;
|
|
2661
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
2662
|
+
uri.searchParams.append(key, value);
|
|
2663
|
+
}
|
|
2664
|
+
return uri;
|
|
2665
|
+
}
|
|
2403
2666
|
}
|
|
2404
2667
|
|
|
2405
2668
|
class Databases extends Service {
|
|
@@ -2703,9 +2966,6 @@ class Databases extends Service {
|
|
|
2703
2966
|
if (typeof documentId === 'undefined') {
|
|
2704
2967
|
throw new AppwriteException('Missing required parameter: "documentId"');
|
|
2705
2968
|
}
|
|
2706
|
-
if (typeof data === 'undefined') {
|
|
2707
|
-
throw new AppwriteException('Missing required parameter: "data"');
|
|
2708
|
-
}
|
|
2709
2969
|
const apiPath = '/databases/{databaseId}/collections/{collectionId}/documents/{documentId}'.replace('{databaseId}', databaseId).replace('{collectionId}', collectionId).replace('{documentId}', documentId);
|
|
2710
2970
|
const payload = {};
|
|
2711
2971
|
if (typeof data !== 'undefined') {
|
|
@@ -4643,6 +4903,7 @@ class Teams extends Service {
|
|
|
4643
4903
|
}
|
|
4644
4904
|
}
|
|
4645
4905
|
|
|
4906
|
+
const JSONbig = JSONbigModule({ useNativeBigInt: true });
|
|
4646
4907
|
class Query {
|
|
4647
4908
|
constructor(method, attribute, values) {
|
|
4648
4909
|
this.method = method;
|
|
@@ -4657,7 +4918,7 @@ class Query {
|
|
|
4657
4918
|
}
|
|
4658
4919
|
}
|
|
4659
4920
|
toString() {
|
|
4660
|
-
return
|
|
4921
|
+
return JSONbig.stringify({
|
|
4661
4922
|
method: this.method,
|
|
4662
4923
|
attribute: this.attribute,
|
|
4663
4924
|
values: this.values,
|
|
@@ -4666,12 +4927,34 @@ class Query {
|
|
|
4666
4927
|
}
|
|
4667
4928
|
Query.equal = (attribute, value) => new Query("equal", attribute, value).toString();
|
|
4668
4929
|
Query.notEqual = (attribute, value) => new Query("notEqual", attribute, value).toString();
|
|
4930
|
+
/**
|
|
4931
|
+
* Filter resources where attribute matches a regular expression pattern.
|
|
4932
|
+
*
|
|
4933
|
+
* @param {string} attribute The attribute to filter on.
|
|
4934
|
+
* @param {string} pattern The regular expression pattern to match.
|
|
4935
|
+
* @returns {string}
|
|
4936
|
+
*/
|
|
4937
|
+
Query.regex = (attribute, pattern) => new Query("regex", attribute, pattern).toString();
|
|
4669
4938
|
Query.lessThan = (attribute, value) => new Query("lessThan", attribute, value).toString();
|
|
4670
4939
|
Query.lessThanEqual = (attribute, value) => new Query("lessThanEqual", attribute, value).toString();
|
|
4671
4940
|
Query.greaterThan = (attribute, value) => new Query("greaterThan", attribute, value).toString();
|
|
4672
4941
|
Query.greaterThanEqual = (attribute, value) => new Query("greaterThanEqual", attribute, value).toString();
|
|
4673
4942
|
Query.isNull = (attribute) => new Query("isNull", attribute).toString();
|
|
4674
4943
|
Query.isNotNull = (attribute) => new Query("isNotNull", attribute).toString();
|
|
4944
|
+
/**
|
|
4945
|
+
* Filter resources where the specified attributes exist.
|
|
4946
|
+
*
|
|
4947
|
+
* @param {string[]} attributes The list of attributes that must exist.
|
|
4948
|
+
* @returns {string}
|
|
4949
|
+
*/
|
|
4950
|
+
Query.exists = (attributes) => new Query("exists", undefined, attributes).toString();
|
|
4951
|
+
/**
|
|
4952
|
+
* Filter resources where the specified attributes do not exist.
|
|
4953
|
+
*
|
|
4954
|
+
* @param {string[]} attributes The list of attributes that must not exist.
|
|
4955
|
+
* @returns {string}
|
|
4956
|
+
*/
|
|
4957
|
+
Query.notExists = (attributes) => new Query("notExists", undefined, attributes).toString();
|
|
4675
4958
|
Query.between = (attribute, start, end) => new Query("between", attribute, [start, end]).toString();
|
|
4676
4959
|
Query.startsWith = (attribute, value) => new Query("startsWith", attribute, value).toString();
|
|
4677
4960
|
Query.endsWith = (attribute, value) => new Query("endsWith", attribute, value).toString();
|
|
@@ -4713,8 +4996,8 @@ Query.notSearch = (attribute, value) => new Query("notSearch", attribute, value)
|
|
|
4713
4996
|
* Filter resources where attribute is not between start and end (exclusive).
|
|
4714
4997
|
*
|
|
4715
4998
|
* @param {string} attribute
|
|
4716
|
-
* @param {string | number} start
|
|
4717
|
-
* @param {string | number} end
|
|
4999
|
+
* @param {string | number | bigint} start
|
|
5000
|
+
* @param {string | number | bigint} end
|
|
4718
5001
|
* @returns {string}
|
|
4719
5002
|
*/
|
|
4720
5003
|
Query.notBetween = (attribute, start, end) => new Query("notBetween", attribute, [start, end]).toString();
|
|
@@ -4778,8 +5061,16 @@ Query.updatedAfter = (value) => Query.greaterThan("$updatedAt", value);
|
|
|
4778
5061
|
* @returns {string}
|
|
4779
5062
|
*/
|
|
4780
5063
|
Query.updatedBetween = (start, end) => Query.between("$updatedAt", start, end);
|
|
4781
|
-
Query.or = (queries) => new Query("or", undefined, queries.map((query) =>
|
|
4782
|
-
Query.and = (queries) => new Query("and", undefined, queries.map((query) =>
|
|
5064
|
+
Query.or = (queries) => new Query("or", undefined, queries.map((query) => JSONbig.parse(query))).toString();
|
|
5065
|
+
Query.and = (queries) => new Query("and", undefined, queries.map((query) => JSONbig.parse(query))).toString();
|
|
5066
|
+
/**
|
|
5067
|
+
* Filter array elements where at least one element matches all the specified queries.
|
|
5068
|
+
*
|
|
5069
|
+
* @param {string} attribute The attribute containing the array to filter on.
|
|
5070
|
+
* @param {string[]} queries The list of query strings to match against array elements.
|
|
5071
|
+
* @returns {string}
|
|
5072
|
+
*/
|
|
5073
|
+
Query.elemMatch = (attribute, queries) => new Query("elemMatch", attribute, queries.map((query) => JSONbig.parse(query))).toString();
|
|
4783
5074
|
/**
|
|
4784
5075
|
* Filter resources where attribute is at a specific distance from the given coordinates.
|
|
4785
5076
|
*
|
|
@@ -5022,6 +5313,96 @@ _a = ID, _ID_hexTimestamp = function _ID_hexTimestamp() {
|
|
|
5022
5313
|
return hexTimestamp;
|
|
5023
5314
|
};
|
|
5024
5315
|
|
|
5316
|
+
function normalize(id) {
|
|
5317
|
+
const trimmed = id.trim();
|
|
5318
|
+
return trimmed === "" ? "*" : trimmed;
|
|
5319
|
+
}
|
|
5320
|
+
class Channel {
|
|
5321
|
+
constructor(segments) {
|
|
5322
|
+
this.segments = segments;
|
|
5323
|
+
}
|
|
5324
|
+
next(segment, id = "*") {
|
|
5325
|
+
return new Channel([...this.segments, segment, normalize(id)]);
|
|
5326
|
+
}
|
|
5327
|
+
resolve(action) {
|
|
5328
|
+
return new Channel([...this.segments, action]);
|
|
5329
|
+
}
|
|
5330
|
+
toString() {
|
|
5331
|
+
return this.segments.join(".");
|
|
5332
|
+
}
|
|
5333
|
+
// --- DATABASE ROUTE ---
|
|
5334
|
+
// Only available on Channel<Database>
|
|
5335
|
+
collection(id = "*") {
|
|
5336
|
+
return this.next("collections", id);
|
|
5337
|
+
}
|
|
5338
|
+
// Only available on Channel<Collection>
|
|
5339
|
+
document(id = "*") {
|
|
5340
|
+
return this.next("documents", id);
|
|
5341
|
+
}
|
|
5342
|
+
// --- TABLESDB ROUTE ---
|
|
5343
|
+
table(id = "*") {
|
|
5344
|
+
return this.next("tables", id);
|
|
5345
|
+
}
|
|
5346
|
+
row(id = "*") {
|
|
5347
|
+
return this.next("rows", id);
|
|
5348
|
+
}
|
|
5349
|
+
// --- BUCKET ROUTE ---
|
|
5350
|
+
file(id = "*") {
|
|
5351
|
+
return this.next("files", id);
|
|
5352
|
+
}
|
|
5353
|
+
// --- FUNCTION ROUTE ---
|
|
5354
|
+
execution(id = "*") {
|
|
5355
|
+
return this.next("executions", id);
|
|
5356
|
+
}
|
|
5357
|
+
// --- TERMINAL ACTIONS ---
|
|
5358
|
+
// Restricted to the Actionable union
|
|
5359
|
+
create() {
|
|
5360
|
+
return this.resolve("create");
|
|
5361
|
+
}
|
|
5362
|
+
update() {
|
|
5363
|
+
return this.resolve("update");
|
|
5364
|
+
}
|
|
5365
|
+
delete() {
|
|
5366
|
+
return this.resolve("delete");
|
|
5367
|
+
}
|
|
5368
|
+
// --- ROOT FACTORIES ---
|
|
5369
|
+
static database(id = "*") {
|
|
5370
|
+
return new Channel(["databases", normalize(id)]);
|
|
5371
|
+
}
|
|
5372
|
+
static tablesdb(id = "*") {
|
|
5373
|
+
return new Channel(["tablesdb", normalize(id)]);
|
|
5374
|
+
}
|
|
5375
|
+
static bucket(id = "*") {
|
|
5376
|
+
return new Channel(["buckets", normalize(id)]);
|
|
5377
|
+
}
|
|
5378
|
+
static function(id = "*") {
|
|
5379
|
+
return new Channel(["functions", normalize(id)]);
|
|
5380
|
+
}
|
|
5381
|
+
static team(id = "*") {
|
|
5382
|
+
return new Channel(["teams", normalize(id)]);
|
|
5383
|
+
}
|
|
5384
|
+
static membership(id = "*") {
|
|
5385
|
+
return new Channel(["memberships", normalize(id)]);
|
|
5386
|
+
}
|
|
5387
|
+
static account(userId = "") {
|
|
5388
|
+
const id = normalize(userId);
|
|
5389
|
+
return id === "*" ? "account" : `account.${id}`;
|
|
5390
|
+
}
|
|
5391
|
+
// Global events
|
|
5392
|
+
static get documents() {
|
|
5393
|
+
return "documents";
|
|
5394
|
+
}
|
|
5395
|
+
static get rows() {
|
|
5396
|
+
return "rows";
|
|
5397
|
+
}
|
|
5398
|
+
static get files() {
|
|
5399
|
+
return "files";
|
|
5400
|
+
}
|
|
5401
|
+
static get executions() {
|
|
5402
|
+
return "executions";
|
|
5403
|
+
}
|
|
5404
|
+
}
|
|
5405
|
+
|
|
5025
5406
|
var Condition;
|
|
5026
5407
|
(function (Condition) {
|
|
5027
5408
|
Condition["Equal"] = "equal";
|
|
@@ -5341,7 +5722,6 @@ var OAuthProvider;
|
|
|
5341
5722
|
OAuthProvider["Yandex"] = "yandex";
|
|
5342
5723
|
OAuthProvider["Zoho"] = "zoho";
|
|
5343
5724
|
OAuthProvider["Zoom"] = "zoom";
|
|
5344
|
-
OAuthProvider["Mock"] = "mock";
|
|
5345
5725
|
})(OAuthProvider || (OAuthProvider = {}));
|
|
5346
5726
|
|
|
5347
5727
|
var Browser;
|
|
@@ -5582,6 +5962,470 @@ var Flag;
|
|
|
5582
5962
|
Flag["Zimbabwe"] = "zw";
|
|
5583
5963
|
})(Flag || (Flag = {}));
|
|
5584
5964
|
|
|
5965
|
+
var Theme;
|
|
5966
|
+
(function (Theme) {
|
|
5967
|
+
Theme["Light"] = "light";
|
|
5968
|
+
Theme["Dark"] = "dark";
|
|
5969
|
+
})(Theme || (Theme = {}));
|
|
5970
|
+
|
|
5971
|
+
var Timezone;
|
|
5972
|
+
(function (Timezone) {
|
|
5973
|
+
Timezone["AfricaAbidjan"] = "africa/abidjan";
|
|
5974
|
+
Timezone["AfricaAccra"] = "africa/accra";
|
|
5975
|
+
Timezone["AfricaAddisAbaba"] = "africa/addis_ababa";
|
|
5976
|
+
Timezone["AfricaAlgiers"] = "africa/algiers";
|
|
5977
|
+
Timezone["AfricaAsmara"] = "africa/asmara";
|
|
5978
|
+
Timezone["AfricaBamako"] = "africa/bamako";
|
|
5979
|
+
Timezone["AfricaBangui"] = "africa/bangui";
|
|
5980
|
+
Timezone["AfricaBanjul"] = "africa/banjul";
|
|
5981
|
+
Timezone["AfricaBissau"] = "africa/bissau";
|
|
5982
|
+
Timezone["AfricaBlantyre"] = "africa/blantyre";
|
|
5983
|
+
Timezone["AfricaBrazzaville"] = "africa/brazzaville";
|
|
5984
|
+
Timezone["AfricaBujumbura"] = "africa/bujumbura";
|
|
5985
|
+
Timezone["AfricaCairo"] = "africa/cairo";
|
|
5986
|
+
Timezone["AfricaCasablanca"] = "africa/casablanca";
|
|
5987
|
+
Timezone["AfricaCeuta"] = "africa/ceuta";
|
|
5988
|
+
Timezone["AfricaConakry"] = "africa/conakry";
|
|
5989
|
+
Timezone["AfricaDakar"] = "africa/dakar";
|
|
5990
|
+
Timezone["AfricaDarEsSalaam"] = "africa/dar_es_salaam";
|
|
5991
|
+
Timezone["AfricaDjibouti"] = "africa/djibouti";
|
|
5992
|
+
Timezone["AfricaDouala"] = "africa/douala";
|
|
5993
|
+
Timezone["AfricaElAaiun"] = "africa/el_aaiun";
|
|
5994
|
+
Timezone["AfricaFreetown"] = "africa/freetown";
|
|
5995
|
+
Timezone["AfricaGaborone"] = "africa/gaborone";
|
|
5996
|
+
Timezone["AfricaHarare"] = "africa/harare";
|
|
5997
|
+
Timezone["AfricaJohannesburg"] = "africa/johannesburg";
|
|
5998
|
+
Timezone["AfricaJuba"] = "africa/juba";
|
|
5999
|
+
Timezone["AfricaKampala"] = "africa/kampala";
|
|
6000
|
+
Timezone["AfricaKhartoum"] = "africa/khartoum";
|
|
6001
|
+
Timezone["AfricaKigali"] = "africa/kigali";
|
|
6002
|
+
Timezone["AfricaKinshasa"] = "africa/kinshasa";
|
|
6003
|
+
Timezone["AfricaLagos"] = "africa/lagos";
|
|
6004
|
+
Timezone["AfricaLibreville"] = "africa/libreville";
|
|
6005
|
+
Timezone["AfricaLome"] = "africa/lome";
|
|
6006
|
+
Timezone["AfricaLuanda"] = "africa/luanda";
|
|
6007
|
+
Timezone["AfricaLubumbashi"] = "africa/lubumbashi";
|
|
6008
|
+
Timezone["AfricaLusaka"] = "africa/lusaka";
|
|
6009
|
+
Timezone["AfricaMalabo"] = "africa/malabo";
|
|
6010
|
+
Timezone["AfricaMaputo"] = "africa/maputo";
|
|
6011
|
+
Timezone["AfricaMaseru"] = "africa/maseru";
|
|
6012
|
+
Timezone["AfricaMbabane"] = "africa/mbabane";
|
|
6013
|
+
Timezone["AfricaMogadishu"] = "africa/mogadishu";
|
|
6014
|
+
Timezone["AfricaMonrovia"] = "africa/monrovia";
|
|
6015
|
+
Timezone["AfricaNairobi"] = "africa/nairobi";
|
|
6016
|
+
Timezone["AfricaNdjamena"] = "africa/ndjamena";
|
|
6017
|
+
Timezone["AfricaNiamey"] = "africa/niamey";
|
|
6018
|
+
Timezone["AfricaNouakchott"] = "africa/nouakchott";
|
|
6019
|
+
Timezone["AfricaOuagadougou"] = "africa/ouagadougou";
|
|
6020
|
+
Timezone["AfricaPortoNovo"] = "africa/porto-novo";
|
|
6021
|
+
Timezone["AfricaSaoTome"] = "africa/sao_tome";
|
|
6022
|
+
Timezone["AfricaTripoli"] = "africa/tripoli";
|
|
6023
|
+
Timezone["AfricaTunis"] = "africa/tunis";
|
|
6024
|
+
Timezone["AfricaWindhoek"] = "africa/windhoek";
|
|
6025
|
+
Timezone["AmericaAdak"] = "america/adak";
|
|
6026
|
+
Timezone["AmericaAnchorage"] = "america/anchorage";
|
|
6027
|
+
Timezone["AmericaAnguilla"] = "america/anguilla";
|
|
6028
|
+
Timezone["AmericaAntigua"] = "america/antigua";
|
|
6029
|
+
Timezone["AmericaAraguaina"] = "america/araguaina";
|
|
6030
|
+
Timezone["AmericaArgentinaBuenosAires"] = "america/argentina/buenos_aires";
|
|
6031
|
+
Timezone["AmericaArgentinaCatamarca"] = "america/argentina/catamarca";
|
|
6032
|
+
Timezone["AmericaArgentinaCordoba"] = "america/argentina/cordoba";
|
|
6033
|
+
Timezone["AmericaArgentinaJujuy"] = "america/argentina/jujuy";
|
|
6034
|
+
Timezone["AmericaArgentinaLaRioja"] = "america/argentina/la_rioja";
|
|
6035
|
+
Timezone["AmericaArgentinaMendoza"] = "america/argentina/mendoza";
|
|
6036
|
+
Timezone["AmericaArgentinaRioGallegos"] = "america/argentina/rio_gallegos";
|
|
6037
|
+
Timezone["AmericaArgentinaSalta"] = "america/argentina/salta";
|
|
6038
|
+
Timezone["AmericaArgentinaSanJuan"] = "america/argentina/san_juan";
|
|
6039
|
+
Timezone["AmericaArgentinaSanLuis"] = "america/argentina/san_luis";
|
|
6040
|
+
Timezone["AmericaArgentinaTucuman"] = "america/argentina/tucuman";
|
|
6041
|
+
Timezone["AmericaArgentinaUshuaia"] = "america/argentina/ushuaia";
|
|
6042
|
+
Timezone["AmericaAruba"] = "america/aruba";
|
|
6043
|
+
Timezone["AmericaAsuncion"] = "america/asuncion";
|
|
6044
|
+
Timezone["AmericaAtikokan"] = "america/atikokan";
|
|
6045
|
+
Timezone["AmericaBahia"] = "america/bahia";
|
|
6046
|
+
Timezone["AmericaBahiaBanderas"] = "america/bahia_banderas";
|
|
6047
|
+
Timezone["AmericaBarbados"] = "america/barbados";
|
|
6048
|
+
Timezone["AmericaBelem"] = "america/belem";
|
|
6049
|
+
Timezone["AmericaBelize"] = "america/belize";
|
|
6050
|
+
Timezone["AmericaBlancSablon"] = "america/blanc-sablon";
|
|
6051
|
+
Timezone["AmericaBoaVista"] = "america/boa_vista";
|
|
6052
|
+
Timezone["AmericaBogota"] = "america/bogota";
|
|
6053
|
+
Timezone["AmericaBoise"] = "america/boise";
|
|
6054
|
+
Timezone["AmericaCambridgeBay"] = "america/cambridge_bay";
|
|
6055
|
+
Timezone["AmericaCampoGrande"] = "america/campo_grande";
|
|
6056
|
+
Timezone["AmericaCancun"] = "america/cancun";
|
|
6057
|
+
Timezone["AmericaCaracas"] = "america/caracas";
|
|
6058
|
+
Timezone["AmericaCayenne"] = "america/cayenne";
|
|
6059
|
+
Timezone["AmericaCayman"] = "america/cayman";
|
|
6060
|
+
Timezone["AmericaChicago"] = "america/chicago";
|
|
6061
|
+
Timezone["AmericaChihuahua"] = "america/chihuahua";
|
|
6062
|
+
Timezone["AmericaCiudadJuarez"] = "america/ciudad_juarez";
|
|
6063
|
+
Timezone["AmericaCostaRica"] = "america/costa_rica";
|
|
6064
|
+
Timezone["AmericaCoyhaique"] = "america/coyhaique";
|
|
6065
|
+
Timezone["AmericaCreston"] = "america/creston";
|
|
6066
|
+
Timezone["AmericaCuiaba"] = "america/cuiaba";
|
|
6067
|
+
Timezone["AmericaCuracao"] = "america/curacao";
|
|
6068
|
+
Timezone["AmericaDanmarkshavn"] = "america/danmarkshavn";
|
|
6069
|
+
Timezone["AmericaDawson"] = "america/dawson";
|
|
6070
|
+
Timezone["AmericaDawsonCreek"] = "america/dawson_creek";
|
|
6071
|
+
Timezone["AmericaDenver"] = "america/denver";
|
|
6072
|
+
Timezone["AmericaDetroit"] = "america/detroit";
|
|
6073
|
+
Timezone["AmericaDominica"] = "america/dominica";
|
|
6074
|
+
Timezone["AmericaEdmonton"] = "america/edmonton";
|
|
6075
|
+
Timezone["AmericaEirunepe"] = "america/eirunepe";
|
|
6076
|
+
Timezone["AmericaElSalvador"] = "america/el_salvador";
|
|
6077
|
+
Timezone["AmericaFortNelson"] = "america/fort_nelson";
|
|
6078
|
+
Timezone["AmericaFortaleza"] = "america/fortaleza";
|
|
6079
|
+
Timezone["AmericaGlaceBay"] = "america/glace_bay";
|
|
6080
|
+
Timezone["AmericaGooseBay"] = "america/goose_bay";
|
|
6081
|
+
Timezone["AmericaGrandTurk"] = "america/grand_turk";
|
|
6082
|
+
Timezone["AmericaGrenada"] = "america/grenada";
|
|
6083
|
+
Timezone["AmericaGuadeloupe"] = "america/guadeloupe";
|
|
6084
|
+
Timezone["AmericaGuatemala"] = "america/guatemala";
|
|
6085
|
+
Timezone["AmericaGuayaquil"] = "america/guayaquil";
|
|
6086
|
+
Timezone["AmericaGuyana"] = "america/guyana";
|
|
6087
|
+
Timezone["AmericaHalifax"] = "america/halifax";
|
|
6088
|
+
Timezone["AmericaHavana"] = "america/havana";
|
|
6089
|
+
Timezone["AmericaHermosillo"] = "america/hermosillo";
|
|
6090
|
+
Timezone["AmericaIndianaIndianapolis"] = "america/indiana/indianapolis";
|
|
6091
|
+
Timezone["AmericaIndianaKnox"] = "america/indiana/knox";
|
|
6092
|
+
Timezone["AmericaIndianaMarengo"] = "america/indiana/marengo";
|
|
6093
|
+
Timezone["AmericaIndianaPetersburg"] = "america/indiana/petersburg";
|
|
6094
|
+
Timezone["AmericaIndianaTellCity"] = "america/indiana/tell_city";
|
|
6095
|
+
Timezone["AmericaIndianaVevay"] = "america/indiana/vevay";
|
|
6096
|
+
Timezone["AmericaIndianaVincennes"] = "america/indiana/vincennes";
|
|
6097
|
+
Timezone["AmericaIndianaWinamac"] = "america/indiana/winamac";
|
|
6098
|
+
Timezone["AmericaInuvik"] = "america/inuvik";
|
|
6099
|
+
Timezone["AmericaIqaluit"] = "america/iqaluit";
|
|
6100
|
+
Timezone["AmericaJamaica"] = "america/jamaica";
|
|
6101
|
+
Timezone["AmericaJuneau"] = "america/juneau";
|
|
6102
|
+
Timezone["AmericaKentuckyLouisville"] = "america/kentucky/louisville";
|
|
6103
|
+
Timezone["AmericaKentuckyMonticello"] = "america/kentucky/monticello";
|
|
6104
|
+
Timezone["AmericaKralendijk"] = "america/kralendijk";
|
|
6105
|
+
Timezone["AmericaLaPaz"] = "america/la_paz";
|
|
6106
|
+
Timezone["AmericaLima"] = "america/lima";
|
|
6107
|
+
Timezone["AmericaLosAngeles"] = "america/los_angeles";
|
|
6108
|
+
Timezone["AmericaLowerPrinces"] = "america/lower_princes";
|
|
6109
|
+
Timezone["AmericaMaceio"] = "america/maceio";
|
|
6110
|
+
Timezone["AmericaManagua"] = "america/managua";
|
|
6111
|
+
Timezone["AmericaManaus"] = "america/manaus";
|
|
6112
|
+
Timezone["AmericaMarigot"] = "america/marigot";
|
|
6113
|
+
Timezone["AmericaMartinique"] = "america/martinique";
|
|
6114
|
+
Timezone["AmericaMatamoros"] = "america/matamoros";
|
|
6115
|
+
Timezone["AmericaMazatlan"] = "america/mazatlan";
|
|
6116
|
+
Timezone["AmericaMenominee"] = "america/menominee";
|
|
6117
|
+
Timezone["AmericaMerida"] = "america/merida";
|
|
6118
|
+
Timezone["AmericaMetlakatla"] = "america/metlakatla";
|
|
6119
|
+
Timezone["AmericaMexicoCity"] = "america/mexico_city";
|
|
6120
|
+
Timezone["AmericaMiquelon"] = "america/miquelon";
|
|
6121
|
+
Timezone["AmericaMoncton"] = "america/moncton";
|
|
6122
|
+
Timezone["AmericaMonterrey"] = "america/monterrey";
|
|
6123
|
+
Timezone["AmericaMontevideo"] = "america/montevideo";
|
|
6124
|
+
Timezone["AmericaMontserrat"] = "america/montserrat";
|
|
6125
|
+
Timezone["AmericaNassau"] = "america/nassau";
|
|
6126
|
+
Timezone["AmericaNewYork"] = "america/new_york";
|
|
6127
|
+
Timezone["AmericaNome"] = "america/nome";
|
|
6128
|
+
Timezone["AmericaNoronha"] = "america/noronha";
|
|
6129
|
+
Timezone["AmericaNorthDakotaBeulah"] = "america/north_dakota/beulah";
|
|
6130
|
+
Timezone["AmericaNorthDakotaCenter"] = "america/north_dakota/center";
|
|
6131
|
+
Timezone["AmericaNorthDakotaNewSalem"] = "america/north_dakota/new_salem";
|
|
6132
|
+
Timezone["AmericaNuuk"] = "america/nuuk";
|
|
6133
|
+
Timezone["AmericaOjinaga"] = "america/ojinaga";
|
|
6134
|
+
Timezone["AmericaPanama"] = "america/panama";
|
|
6135
|
+
Timezone["AmericaParamaribo"] = "america/paramaribo";
|
|
6136
|
+
Timezone["AmericaPhoenix"] = "america/phoenix";
|
|
6137
|
+
Timezone["AmericaPortAuPrince"] = "america/port-au-prince";
|
|
6138
|
+
Timezone["AmericaPortOfSpain"] = "america/port_of_spain";
|
|
6139
|
+
Timezone["AmericaPortoVelho"] = "america/porto_velho";
|
|
6140
|
+
Timezone["AmericaPuertoRico"] = "america/puerto_rico";
|
|
6141
|
+
Timezone["AmericaPuntaArenas"] = "america/punta_arenas";
|
|
6142
|
+
Timezone["AmericaRankinInlet"] = "america/rankin_inlet";
|
|
6143
|
+
Timezone["AmericaRecife"] = "america/recife";
|
|
6144
|
+
Timezone["AmericaRegina"] = "america/regina";
|
|
6145
|
+
Timezone["AmericaResolute"] = "america/resolute";
|
|
6146
|
+
Timezone["AmericaRioBranco"] = "america/rio_branco";
|
|
6147
|
+
Timezone["AmericaSantarem"] = "america/santarem";
|
|
6148
|
+
Timezone["AmericaSantiago"] = "america/santiago";
|
|
6149
|
+
Timezone["AmericaSantoDomingo"] = "america/santo_domingo";
|
|
6150
|
+
Timezone["AmericaSaoPaulo"] = "america/sao_paulo";
|
|
6151
|
+
Timezone["AmericaScoresbysund"] = "america/scoresbysund";
|
|
6152
|
+
Timezone["AmericaSitka"] = "america/sitka";
|
|
6153
|
+
Timezone["AmericaStBarthelemy"] = "america/st_barthelemy";
|
|
6154
|
+
Timezone["AmericaStJohns"] = "america/st_johns";
|
|
6155
|
+
Timezone["AmericaStKitts"] = "america/st_kitts";
|
|
6156
|
+
Timezone["AmericaStLucia"] = "america/st_lucia";
|
|
6157
|
+
Timezone["AmericaStThomas"] = "america/st_thomas";
|
|
6158
|
+
Timezone["AmericaStVincent"] = "america/st_vincent";
|
|
6159
|
+
Timezone["AmericaSwiftCurrent"] = "america/swift_current";
|
|
6160
|
+
Timezone["AmericaTegucigalpa"] = "america/tegucigalpa";
|
|
6161
|
+
Timezone["AmericaThule"] = "america/thule";
|
|
6162
|
+
Timezone["AmericaTijuana"] = "america/tijuana";
|
|
6163
|
+
Timezone["AmericaToronto"] = "america/toronto";
|
|
6164
|
+
Timezone["AmericaTortola"] = "america/tortola";
|
|
6165
|
+
Timezone["AmericaVancouver"] = "america/vancouver";
|
|
6166
|
+
Timezone["AmericaWhitehorse"] = "america/whitehorse";
|
|
6167
|
+
Timezone["AmericaWinnipeg"] = "america/winnipeg";
|
|
6168
|
+
Timezone["AmericaYakutat"] = "america/yakutat";
|
|
6169
|
+
Timezone["AntarcticaCasey"] = "antarctica/casey";
|
|
6170
|
+
Timezone["AntarcticaDavis"] = "antarctica/davis";
|
|
6171
|
+
Timezone["AntarcticaDumontdurville"] = "antarctica/dumontdurville";
|
|
6172
|
+
Timezone["AntarcticaMacquarie"] = "antarctica/macquarie";
|
|
6173
|
+
Timezone["AntarcticaMawson"] = "antarctica/mawson";
|
|
6174
|
+
Timezone["AntarcticaMcmurdo"] = "antarctica/mcmurdo";
|
|
6175
|
+
Timezone["AntarcticaPalmer"] = "antarctica/palmer";
|
|
6176
|
+
Timezone["AntarcticaRothera"] = "antarctica/rothera";
|
|
6177
|
+
Timezone["AntarcticaSyowa"] = "antarctica/syowa";
|
|
6178
|
+
Timezone["AntarcticaTroll"] = "antarctica/troll";
|
|
6179
|
+
Timezone["AntarcticaVostok"] = "antarctica/vostok";
|
|
6180
|
+
Timezone["ArcticLongyearbyen"] = "arctic/longyearbyen";
|
|
6181
|
+
Timezone["AsiaAden"] = "asia/aden";
|
|
6182
|
+
Timezone["AsiaAlmaty"] = "asia/almaty";
|
|
6183
|
+
Timezone["AsiaAmman"] = "asia/amman";
|
|
6184
|
+
Timezone["AsiaAnadyr"] = "asia/anadyr";
|
|
6185
|
+
Timezone["AsiaAqtau"] = "asia/aqtau";
|
|
6186
|
+
Timezone["AsiaAqtobe"] = "asia/aqtobe";
|
|
6187
|
+
Timezone["AsiaAshgabat"] = "asia/ashgabat";
|
|
6188
|
+
Timezone["AsiaAtyrau"] = "asia/atyrau";
|
|
6189
|
+
Timezone["AsiaBaghdad"] = "asia/baghdad";
|
|
6190
|
+
Timezone["AsiaBahrain"] = "asia/bahrain";
|
|
6191
|
+
Timezone["AsiaBaku"] = "asia/baku";
|
|
6192
|
+
Timezone["AsiaBangkok"] = "asia/bangkok";
|
|
6193
|
+
Timezone["AsiaBarnaul"] = "asia/barnaul";
|
|
6194
|
+
Timezone["AsiaBeirut"] = "asia/beirut";
|
|
6195
|
+
Timezone["AsiaBishkek"] = "asia/bishkek";
|
|
6196
|
+
Timezone["AsiaBrunei"] = "asia/brunei";
|
|
6197
|
+
Timezone["AsiaChita"] = "asia/chita";
|
|
6198
|
+
Timezone["AsiaColombo"] = "asia/colombo";
|
|
6199
|
+
Timezone["AsiaDamascus"] = "asia/damascus";
|
|
6200
|
+
Timezone["AsiaDhaka"] = "asia/dhaka";
|
|
6201
|
+
Timezone["AsiaDili"] = "asia/dili";
|
|
6202
|
+
Timezone["AsiaDubai"] = "asia/dubai";
|
|
6203
|
+
Timezone["AsiaDushanbe"] = "asia/dushanbe";
|
|
6204
|
+
Timezone["AsiaFamagusta"] = "asia/famagusta";
|
|
6205
|
+
Timezone["AsiaGaza"] = "asia/gaza";
|
|
6206
|
+
Timezone["AsiaHebron"] = "asia/hebron";
|
|
6207
|
+
Timezone["AsiaHoChiMinh"] = "asia/ho_chi_minh";
|
|
6208
|
+
Timezone["AsiaHongKong"] = "asia/hong_kong";
|
|
6209
|
+
Timezone["AsiaHovd"] = "asia/hovd";
|
|
6210
|
+
Timezone["AsiaIrkutsk"] = "asia/irkutsk";
|
|
6211
|
+
Timezone["AsiaJakarta"] = "asia/jakarta";
|
|
6212
|
+
Timezone["AsiaJayapura"] = "asia/jayapura";
|
|
6213
|
+
Timezone["AsiaJerusalem"] = "asia/jerusalem";
|
|
6214
|
+
Timezone["AsiaKabul"] = "asia/kabul";
|
|
6215
|
+
Timezone["AsiaKamchatka"] = "asia/kamchatka";
|
|
6216
|
+
Timezone["AsiaKarachi"] = "asia/karachi";
|
|
6217
|
+
Timezone["AsiaKathmandu"] = "asia/kathmandu";
|
|
6218
|
+
Timezone["AsiaKhandyga"] = "asia/khandyga";
|
|
6219
|
+
Timezone["AsiaKolkata"] = "asia/kolkata";
|
|
6220
|
+
Timezone["AsiaKrasnoyarsk"] = "asia/krasnoyarsk";
|
|
6221
|
+
Timezone["AsiaKualaLumpur"] = "asia/kuala_lumpur";
|
|
6222
|
+
Timezone["AsiaKuching"] = "asia/kuching";
|
|
6223
|
+
Timezone["AsiaKuwait"] = "asia/kuwait";
|
|
6224
|
+
Timezone["AsiaMacau"] = "asia/macau";
|
|
6225
|
+
Timezone["AsiaMagadan"] = "asia/magadan";
|
|
6226
|
+
Timezone["AsiaMakassar"] = "asia/makassar";
|
|
6227
|
+
Timezone["AsiaManila"] = "asia/manila";
|
|
6228
|
+
Timezone["AsiaMuscat"] = "asia/muscat";
|
|
6229
|
+
Timezone["AsiaNicosia"] = "asia/nicosia";
|
|
6230
|
+
Timezone["AsiaNovokuznetsk"] = "asia/novokuznetsk";
|
|
6231
|
+
Timezone["AsiaNovosibirsk"] = "asia/novosibirsk";
|
|
6232
|
+
Timezone["AsiaOmsk"] = "asia/omsk";
|
|
6233
|
+
Timezone["AsiaOral"] = "asia/oral";
|
|
6234
|
+
Timezone["AsiaPhnomPenh"] = "asia/phnom_penh";
|
|
6235
|
+
Timezone["AsiaPontianak"] = "asia/pontianak";
|
|
6236
|
+
Timezone["AsiaPyongyang"] = "asia/pyongyang";
|
|
6237
|
+
Timezone["AsiaQatar"] = "asia/qatar";
|
|
6238
|
+
Timezone["AsiaQostanay"] = "asia/qostanay";
|
|
6239
|
+
Timezone["AsiaQyzylorda"] = "asia/qyzylorda";
|
|
6240
|
+
Timezone["AsiaRiyadh"] = "asia/riyadh";
|
|
6241
|
+
Timezone["AsiaSakhalin"] = "asia/sakhalin";
|
|
6242
|
+
Timezone["AsiaSamarkand"] = "asia/samarkand";
|
|
6243
|
+
Timezone["AsiaSeoul"] = "asia/seoul";
|
|
6244
|
+
Timezone["AsiaShanghai"] = "asia/shanghai";
|
|
6245
|
+
Timezone["AsiaSingapore"] = "asia/singapore";
|
|
6246
|
+
Timezone["AsiaSrednekolymsk"] = "asia/srednekolymsk";
|
|
6247
|
+
Timezone["AsiaTaipei"] = "asia/taipei";
|
|
6248
|
+
Timezone["AsiaTashkent"] = "asia/tashkent";
|
|
6249
|
+
Timezone["AsiaTbilisi"] = "asia/tbilisi";
|
|
6250
|
+
Timezone["AsiaTehran"] = "asia/tehran";
|
|
6251
|
+
Timezone["AsiaThimphu"] = "asia/thimphu";
|
|
6252
|
+
Timezone["AsiaTokyo"] = "asia/tokyo";
|
|
6253
|
+
Timezone["AsiaTomsk"] = "asia/tomsk";
|
|
6254
|
+
Timezone["AsiaUlaanbaatar"] = "asia/ulaanbaatar";
|
|
6255
|
+
Timezone["AsiaUrumqi"] = "asia/urumqi";
|
|
6256
|
+
Timezone["AsiaUstNera"] = "asia/ust-nera";
|
|
6257
|
+
Timezone["AsiaVientiane"] = "asia/vientiane";
|
|
6258
|
+
Timezone["AsiaVladivostok"] = "asia/vladivostok";
|
|
6259
|
+
Timezone["AsiaYakutsk"] = "asia/yakutsk";
|
|
6260
|
+
Timezone["AsiaYangon"] = "asia/yangon";
|
|
6261
|
+
Timezone["AsiaYekaterinburg"] = "asia/yekaterinburg";
|
|
6262
|
+
Timezone["AsiaYerevan"] = "asia/yerevan";
|
|
6263
|
+
Timezone["AtlanticAzores"] = "atlantic/azores";
|
|
6264
|
+
Timezone["AtlanticBermuda"] = "atlantic/bermuda";
|
|
6265
|
+
Timezone["AtlanticCanary"] = "atlantic/canary";
|
|
6266
|
+
Timezone["AtlanticCapeVerde"] = "atlantic/cape_verde";
|
|
6267
|
+
Timezone["AtlanticFaroe"] = "atlantic/faroe";
|
|
6268
|
+
Timezone["AtlanticMadeira"] = "atlantic/madeira";
|
|
6269
|
+
Timezone["AtlanticReykjavik"] = "atlantic/reykjavik";
|
|
6270
|
+
Timezone["AtlanticSouthGeorgia"] = "atlantic/south_georgia";
|
|
6271
|
+
Timezone["AtlanticStHelena"] = "atlantic/st_helena";
|
|
6272
|
+
Timezone["AtlanticStanley"] = "atlantic/stanley";
|
|
6273
|
+
Timezone["AustraliaAdelaide"] = "australia/adelaide";
|
|
6274
|
+
Timezone["AustraliaBrisbane"] = "australia/brisbane";
|
|
6275
|
+
Timezone["AustraliaBrokenHill"] = "australia/broken_hill";
|
|
6276
|
+
Timezone["AustraliaDarwin"] = "australia/darwin";
|
|
6277
|
+
Timezone["AustraliaEucla"] = "australia/eucla";
|
|
6278
|
+
Timezone["AustraliaHobart"] = "australia/hobart";
|
|
6279
|
+
Timezone["AustraliaLindeman"] = "australia/lindeman";
|
|
6280
|
+
Timezone["AustraliaLordHowe"] = "australia/lord_howe";
|
|
6281
|
+
Timezone["AustraliaMelbourne"] = "australia/melbourne";
|
|
6282
|
+
Timezone["AustraliaPerth"] = "australia/perth";
|
|
6283
|
+
Timezone["AustraliaSydney"] = "australia/sydney";
|
|
6284
|
+
Timezone["EuropeAmsterdam"] = "europe/amsterdam";
|
|
6285
|
+
Timezone["EuropeAndorra"] = "europe/andorra";
|
|
6286
|
+
Timezone["EuropeAstrakhan"] = "europe/astrakhan";
|
|
6287
|
+
Timezone["EuropeAthens"] = "europe/athens";
|
|
6288
|
+
Timezone["EuropeBelgrade"] = "europe/belgrade";
|
|
6289
|
+
Timezone["EuropeBerlin"] = "europe/berlin";
|
|
6290
|
+
Timezone["EuropeBratislava"] = "europe/bratislava";
|
|
6291
|
+
Timezone["EuropeBrussels"] = "europe/brussels";
|
|
6292
|
+
Timezone["EuropeBucharest"] = "europe/bucharest";
|
|
6293
|
+
Timezone["EuropeBudapest"] = "europe/budapest";
|
|
6294
|
+
Timezone["EuropeBusingen"] = "europe/busingen";
|
|
6295
|
+
Timezone["EuropeChisinau"] = "europe/chisinau";
|
|
6296
|
+
Timezone["EuropeCopenhagen"] = "europe/copenhagen";
|
|
6297
|
+
Timezone["EuropeDublin"] = "europe/dublin";
|
|
6298
|
+
Timezone["EuropeGibraltar"] = "europe/gibraltar";
|
|
6299
|
+
Timezone["EuropeGuernsey"] = "europe/guernsey";
|
|
6300
|
+
Timezone["EuropeHelsinki"] = "europe/helsinki";
|
|
6301
|
+
Timezone["EuropeIsleOfMan"] = "europe/isle_of_man";
|
|
6302
|
+
Timezone["EuropeIstanbul"] = "europe/istanbul";
|
|
6303
|
+
Timezone["EuropeJersey"] = "europe/jersey";
|
|
6304
|
+
Timezone["EuropeKaliningrad"] = "europe/kaliningrad";
|
|
6305
|
+
Timezone["EuropeKirov"] = "europe/kirov";
|
|
6306
|
+
Timezone["EuropeKyiv"] = "europe/kyiv";
|
|
6307
|
+
Timezone["EuropeLisbon"] = "europe/lisbon";
|
|
6308
|
+
Timezone["EuropeLjubljana"] = "europe/ljubljana";
|
|
6309
|
+
Timezone["EuropeLondon"] = "europe/london";
|
|
6310
|
+
Timezone["EuropeLuxembourg"] = "europe/luxembourg";
|
|
6311
|
+
Timezone["EuropeMadrid"] = "europe/madrid";
|
|
6312
|
+
Timezone["EuropeMalta"] = "europe/malta";
|
|
6313
|
+
Timezone["EuropeMariehamn"] = "europe/mariehamn";
|
|
6314
|
+
Timezone["EuropeMinsk"] = "europe/minsk";
|
|
6315
|
+
Timezone["EuropeMonaco"] = "europe/monaco";
|
|
6316
|
+
Timezone["EuropeMoscow"] = "europe/moscow";
|
|
6317
|
+
Timezone["EuropeOslo"] = "europe/oslo";
|
|
6318
|
+
Timezone["EuropeParis"] = "europe/paris";
|
|
6319
|
+
Timezone["EuropePodgorica"] = "europe/podgorica";
|
|
6320
|
+
Timezone["EuropePrague"] = "europe/prague";
|
|
6321
|
+
Timezone["EuropeRiga"] = "europe/riga";
|
|
6322
|
+
Timezone["EuropeRome"] = "europe/rome";
|
|
6323
|
+
Timezone["EuropeSamara"] = "europe/samara";
|
|
6324
|
+
Timezone["EuropeSanMarino"] = "europe/san_marino";
|
|
6325
|
+
Timezone["EuropeSarajevo"] = "europe/sarajevo";
|
|
6326
|
+
Timezone["EuropeSaratov"] = "europe/saratov";
|
|
6327
|
+
Timezone["EuropeSimferopol"] = "europe/simferopol";
|
|
6328
|
+
Timezone["EuropeSkopje"] = "europe/skopje";
|
|
6329
|
+
Timezone["EuropeSofia"] = "europe/sofia";
|
|
6330
|
+
Timezone["EuropeStockholm"] = "europe/stockholm";
|
|
6331
|
+
Timezone["EuropeTallinn"] = "europe/tallinn";
|
|
6332
|
+
Timezone["EuropeTirane"] = "europe/tirane";
|
|
6333
|
+
Timezone["EuropeUlyanovsk"] = "europe/ulyanovsk";
|
|
6334
|
+
Timezone["EuropeVaduz"] = "europe/vaduz";
|
|
6335
|
+
Timezone["EuropeVatican"] = "europe/vatican";
|
|
6336
|
+
Timezone["EuropeVienna"] = "europe/vienna";
|
|
6337
|
+
Timezone["EuropeVilnius"] = "europe/vilnius";
|
|
6338
|
+
Timezone["EuropeVolgograd"] = "europe/volgograd";
|
|
6339
|
+
Timezone["EuropeWarsaw"] = "europe/warsaw";
|
|
6340
|
+
Timezone["EuropeZagreb"] = "europe/zagreb";
|
|
6341
|
+
Timezone["EuropeZurich"] = "europe/zurich";
|
|
6342
|
+
Timezone["IndianAntananarivo"] = "indian/antananarivo";
|
|
6343
|
+
Timezone["IndianChagos"] = "indian/chagos";
|
|
6344
|
+
Timezone["IndianChristmas"] = "indian/christmas";
|
|
6345
|
+
Timezone["IndianCocos"] = "indian/cocos";
|
|
6346
|
+
Timezone["IndianComoro"] = "indian/comoro";
|
|
6347
|
+
Timezone["IndianKerguelen"] = "indian/kerguelen";
|
|
6348
|
+
Timezone["IndianMahe"] = "indian/mahe";
|
|
6349
|
+
Timezone["IndianMaldives"] = "indian/maldives";
|
|
6350
|
+
Timezone["IndianMauritius"] = "indian/mauritius";
|
|
6351
|
+
Timezone["IndianMayotte"] = "indian/mayotte";
|
|
6352
|
+
Timezone["IndianReunion"] = "indian/reunion";
|
|
6353
|
+
Timezone["PacificApia"] = "pacific/apia";
|
|
6354
|
+
Timezone["PacificAuckland"] = "pacific/auckland";
|
|
6355
|
+
Timezone["PacificBougainville"] = "pacific/bougainville";
|
|
6356
|
+
Timezone["PacificChatham"] = "pacific/chatham";
|
|
6357
|
+
Timezone["PacificChuuk"] = "pacific/chuuk";
|
|
6358
|
+
Timezone["PacificEaster"] = "pacific/easter";
|
|
6359
|
+
Timezone["PacificEfate"] = "pacific/efate";
|
|
6360
|
+
Timezone["PacificFakaofo"] = "pacific/fakaofo";
|
|
6361
|
+
Timezone["PacificFiji"] = "pacific/fiji";
|
|
6362
|
+
Timezone["PacificFunafuti"] = "pacific/funafuti";
|
|
6363
|
+
Timezone["PacificGalapagos"] = "pacific/galapagos";
|
|
6364
|
+
Timezone["PacificGambier"] = "pacific/gambier";
|
|
6365
|
+
Timezone["PacificGuadalcanal"] = "pacific/guadalcanal";
|
|
6366
|
+
Timezone["PacificGuam"] = "pacific/guam";
|
|
6367
|
+
Timezone["PacificHonolulu"] = "pacific/honolulu";
|
|
6368
|
+
Timezone["PacificKanton"] = "pacific/kanton";
|
|
6369
|
+
Timezone["PacificKiritimati"] = "pacific/kiritimati";
|
|
6370
|
+
Timezone["PacificKosrae"] = "pacific/kosrae";
|
|
6371
|
+
Timezone["PacificKwajalein"] = "pacific/kwajalein";
|
|
6372
|
+
Timezone["PacificMajuro"] = "pacific/majuro";
|
|
6373
|
+
Timezone["PacificMarquesas"] = "pacific/marquesas";
|
|
6374
|
+
Timezone["PacificMidway"] = "pacific/midway";
|
|
6375
|
+
Timezone["PacificNauru"] = "pacific/nauru";
|
|
6376
|
+
Timezone["PacificNiue"] = "pacific/niue";
|
|
6377
|
+
Timezone["PacificNorfolk"] = "pacific/norfolk";
|
|
6378
|
+
Timezone["PacificNoumea"] = "pacific/noumea";
|
|
6379
|
+
Timezone["PacificPagoPago"] = "pacific/pago_pago";
|
|
6380
|
+
Timezone["PacificPalau"] = "pacific/palau";
|
|
6381
|
+
Timezone["PacificPitcairn"] = "pacific/pitcairn";
|
|
6382
|
+
Timezone["PacificPohnpei"] = "pacific/pohnpei";
|
|
6383
|
+
Timezone["PacificPortMoresby"] = "pacific/port_moresby";
|
|
6384
|
+
Timezone["PacificRarotonga"] = "pacific/rarotonga";
|
|
6385
|
+
Timezone["PacificSaipan"] = "pacific/saipan";
|
|
6386
|
+
Timezone["PacificTahiti"] = "pacific/tahiti";
|
|
6387
|
+
Timezone["PacificTarawa"] = "pacific/tarawa";
|
|
6388
|
+
Timezone["PacificTongatapu"] = "pacific/tongatapu";
|
|
6389
|
+
Timezone["PacificWake"] = "pacific/wake";
|
|
6390
|
+
Timezone["PacificWallis"] = "pacific/wallis";
|
|
6391
|
+
Timezone["Utc"] = "utc";
|
|
6392
|
+
})(Timezone || (Timezone = {}));
|
|
6393
|
+
|
|
6394
|
+
var BrowserPermission;
|
|
6395
|
+
(function (BrowserPermission) {
|
|
6396
|
+
BrowserPermission["Geolocation"] = "geolocation";
|
|
6397
|
+
BrowserPermission["Camera"] = "camera";
|
|
6398
|
+
BrowserPermission["Microphone"] = "microphone";
|
|
6399
|
+
BrowserPermission["Notifications"] = "notifications";
|
|
6400
|
+
BrowserPermission["Midi"] = "midi";
|
|
6401
|
+
BrowserPermission["Push"] = "push";
|
|
6402
|
+
BrowserPermission["ClipboardRead"] = "clipboard-read";
|
|
6403
|
+
BrowserPermission["ClipboardWrite"] = "clipboard-write";
|
|
6404
|
+
BrowserPermission["PaymentHandler"] = "payment-handler";
|
|
6405
|
+
BrowserPermission["Usb"] = "usb";
|
|
6406
|
+
BrowserPermission["Bluetooth"] = "bluetooth";
|
|
6407
|
+
BrowserPermission["Accelerometer"] = "accelerometer";
|
|
6408
|
+
BrowserPermission["Gyroscope"] = "gyroscope";
|
|
6409
|
+
BrowserPermission["Magnetometer"] = "magnetometer";
|
|
6410
|
+
BrowserPermission["AmbientLightSensor"] = "ambient-light-sensor";
|
|
6411
|
+
BrowserPermission["BackgroundSync"] = "background-sync";
|
|
6412
|
+
BrowserPermission["PersistentStorage"] = "persistent-storage";
|
|
6413
|
+
BrowserPermission["ScreenWakeLock"] = "screen-wake-lock";
|
|
6414
|
+
BrowserPermission["WebShare"] = "web-share";
|
|
6415
|
+
BrowserPermission["XrSpatialTracking"] = "xr-spatial-tracking";
|
|
6416
|
+
})(BrowserPermission || (BrowserPermission = {}));
|
|
6417
|
+
|
|
6418
|
+
var ImageFormat;
|
|
6419
|
+
(function (ImageFormat) {
|
|
6420
|
+
ImageFormat["Jpg"] = "jpg";
|
|
6421
|
+
ImageFormat["Jpeg"] = "jpeg";
|
|
6422
|
+
ImageFormat["Png"] = "png";
|
|
6423
|
+
ImageFormat["Webp"] = "webp";
|
|
6424
|
+
ImageFormat["Heic"] = "heic";
|
|
6425
|
+
ImageFormat["Avif"] = "avif";
|
|
6426
|
+
ImageFormat["Gif"] = "gif";
|
|
6427
|
+
})(ImageFormat || (ImageFormat = {}));
|
|
6428
|
+
|
|
5585
6429
|
var ExecutionMethod;
|
|
5586
6430
|
(function (ExecutionMethod) {
|
|
5587
6431
|
ExecutionMethod["GET"] = "GET";
|
|
@@ -5606,16 +6450,12 @@ var ImageGravity;
|
|
|
5606
6450
|
ImageGravity["BottomRight"] = "bottom-right";
|
|
5607
6451
|
})(ImageGravity || (ImageGravity = {}));
|
|
5608
6452
|
|
|
5609
|
-
var
|
|
5610
|
-
(function (
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
ImageFormat["Heic"] = "heic";
|
|
5616
|
-
ImageFormat["Avif"] = "avif";
|
|
5617
|
-
ImageFormat["Gif"] = "gif";
|
|
5618
|
-
})(ImageFormat || (ImageFormat = {}));
|
|
6453
|
+
var Roles;
|
|
6454
|
+
(function (Roles) {
|
|
6455
|
+
Roles["Admin"] = "admin";
|
|
6456
|
+
Roles["Developer"] = "developer";
|
|
6457
|
+
Roles["Owner"] = "owner";
|
|
6458
|
+
})(Roles || (Roles = {}));
|
|
5619
6459
|
|
|
5620
6460
|
var ExecutionTrigger;
|
|
5621
6461
|
(function (ExecutionTrigger) {
|
|
@@ -5633,5 +6473,5 @@ var ExecutionStatus;
|
|
|
5633
6473
|
ExecutionStatus["Scheduled"] = "scheduled";
|
|
5634
6474
|
})(ExecutionStatus || (ExecutionStatus = {}));
|
|
5635
6475
|
|
|
5636
|
-
export { Account, AppwriteException, AuthenticationFactor, AuthenticatorType, Avatars, Browser, Client, Condition, CreditCard, Databases, ExecutionMethod, ExecutionStatus, ExecutionTrigger, Flag, Functions, Graphql, ID, ImageFormat, ImageGravity, Locale, Messaging, OAuthProvider, Operator, Permission, Query, Role, Storage, TablesDB, Teams };
|
|
6476
|
+
export { Account, AppwriteException, AuthenticationFactor, AuthenticatorType, Avatars, Browser, BrowserPermission, Channel, Client, Condition, CreditCard, Databases, ExecutionMethod, ExecutionStatus, ExecutionTrigger, Flag, Functions, Graphql, ID, ImageFormat, ImageGravity, Locale, Messaging, OAuthProvider, Operator, Permission, Query, Role, Roles, Storage, TablesDB, Teams, Theme, Timezone };
|
|
5637
6477
|
//# sourceMappingURL=sdk.js.map
|