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/cjs/sdk.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactNative = require('react-native');
|
|
4
|
+
var JSONbigModule = require('json-bigint');
|
|
5
|
+
var BigNumber = require('bignumber.js');
|
|
4
6
|
var FileSystem = require('expo-file-system');
|
|
5
7
|
|
|
8
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
+
|
|
6
10
|
function _interopNamespace(e) {
|
|
7
11
|
if (e && e.__esModule) return e;
|
|
8
12
|
var n = Object.create(null);
|
|
@@ -21,6 +25,8 @@ function _interopNamespace(e) {
|
|
|
21
25
|
return Object.freeze(n);
|
|
22
26
|
}
|
|
23
27
|
|
|
28
|
+
var JSONbigModule__default = /*#__PURE__*/_interopDefaultLegacy(JSONbigModule);
|
|
29
|
+
var BigNumber__default = /*#__PURE__*/_interopDefaultLegacy(BigNumber);
|
|
24
30
|
var FileSystem__namespace = /*#__PURE__*/_interopNamespace(FileSystem);
|
|
25
31
|
|
|
26
32
|
/******************************************************************************
|
|
@@ -74,6 +80,28 @@ class Service {
|
|
|
74
80
|
}
|
|
75
81
|
Service.CHUNK_SIZE = 5 * 1024 * 1024; // 5MB
|
|
76
82
|
|
|
83
|
+
const JSONbigParser = JSONbigModule__default["default"]({ storeAsString: false });
|
|
84
|
+
const JSONbigSerializer = JSONbigModule__default["default"]({ useNativeBigInt: true });
|
|
85
|
+
const MAX_SAFE = BigInt(Number.MAX_SAFE_INTEGER);
|
|
86
|
+
const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER);
|
|
87
|
+
function reviver(_key, value) {
|
|
88
|
+
if (BigNumber__default["default"].isBigNumber(value)) {
|
|
89
|
+
if (value.isInteger()) {
|
|
90
|
+
const str = value.toFixed();
|
|
91
|
+
const bi = BigInt(str);
|
|
92
|
+
if (bi >= MIN_SAFE && bi <= MAX_SAFE) {
|
|
93
|
+
return Number(str);
|
|
94
|
+
}
|
|
95
|
+
return bi;
|
|
96
|
+
}
|
|
97
|
+
return value.toNumber();
|
|
98
|
+
}
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
const JSONbig$1 = {
|
|
102
|
+
parse: (text) => JSONbigParser.parse(text, reviver),
|
|
103
|
+
stringify: JSONbigSerializer.stringify
|
|
104
|
+
};
|
|
77
105
|
class AppwriteException extends Error {
|
|
78
106
|
constructor(message, code = 0, type = '', response = '') {
|
|
79
107
|
super(message);
|
|
@@ -100,7 +128,7 @@ class Client {
|
|
|
100
128
|
'x-sdk-name': 'React Native',
|
|
101
129
|
'x-sdk-platform': 'client',
|
|
102
130
|
'x-sdk-language': 'reactnative',
|
|
103
|
-
'x-sdk-version': '0.
|
|
131
|
+
'x-sdk-version': '0.20.0',
|
|
104
132
|
'X-Appwrite-Response-Format': '1.8.0',
|
|
105
133
|
};
|
|
106
134
|
this.realtime = {
|
|
@@ -138,7 +166,7 @@ class Client {
|
|
|
138
166
|
}
|
|
139
167
|
this.realtime.heartbeat = window === null || window === void 0 ? void 0 : window.setInterval(() => {
|
|
140
168
|
var _a;
|
|
141
|
-
(_a = this.realtime.socket) === null || _a === void 0 ? void 0 : _a.send(
|
|
169
|
+
(_a = this.realtime.socket) === null || _a === void 0 ? void 0 : _a.send(JSONbig$1.stringify({
|
|
142
170
|
type: 'ping'
|
|
143
171
|
}));
|
|
144
172
|
}, 20000);
|
|
@@ -198,7 +226,7 @@ class Client {
|
|
|
198
226
|
},
|
|
199
227
|
onMessage: (event) => {
|
|
200
228
|
try {
|
|
201
|
-
const message =
|
|
229
|
+
const message = JSONbig$1.parse(event.data);
|
|
202
230
|
this.realtime.lastMessage = message;
|
|
203
231
|
switch (message.type) {
|
|
204
232
|
case 'event':
|
|
@@ -250,6 +278,9 @@ class Client {
|
|
|
250
278
|
* @returns {this}
|
|
251
279
|
*/
|
|
252
280
|
setEndpoint(endpoint) {
|
|
281
|
+
if (!endpoint || typeof endpoint !== 'string') {
|
|
282
|
+
throw new AppwriteException('Endpoint must be a valid string');
|
|
283
|
+
}
|
|
253
284
|
if (!endpoint.startsWith('http://') && !endpoint.startsWith('https://')) {
|
|
254
285
|
throw new AppwriteException('Invalid endpoint URL: ' + endpoint);
|
|
255
286
|
}
|
|
@@ -265,6 +296,9 @@ class Client {
|
|
|
265
296
|
* @returns {this}
|
|
266
297
|
*/
|
|
267
298
|
setEndpointRealtime(endpointRealtime) {
|
|
299
|
+
if (!endpointRealtime || typeof endpointRealtime !== 'string') {
|
|
300
|
+
throw new AppwriteException('Endpoint must be a valid string');
|
|
301
|
+
}
|
|
268
302
|
if (!endpointRealtime.startsWith('ws://') && !endpointRealtime.startsWith('wss://')) {
|
|
269
303
|
throw new AppwriteException('Invalid realtime endpoint URL: ' + endpointRealtime);
|
|
270
304
|
}
|
|
@@ -412,7 +446,7 @@ class Client {
|
|
|
412
446
|
else {
|
|
413
447
|
switch (headers['content-type']) {
|
|
414
448
|
case 'application/json':
|
|
415
|
-
options.body =
|
|
449
|
+
options.body = JSONbig$1.stringify(params);
|
|
416
450
|
break;
|
|
417
451
|
case 'multipart/form-data':
|
|
418
452
|
let formData = new FormData();
|
|
@@ -439,7 +473,7 @@ class Client {
|
|
|
439
473
|
warnings.split(';').forEach((warning) => console.warn('Warning: ' + warning));
|
|
440
474
|
}
|
|
441
475
|
if ((_a = response.headers.get('content-type')) === null || _a === void 0 ? void 0 : _a.includes('application/json')) {
|
|
442
|
-
data = yield response.
|
|
476
|
+
data = JSONbig$1.parse(yield response.text());
|
|
443
477
|
}
|
|
444
478
|
else if (responseType === 'arrayBuffer') {
|
|
445
479
|
data = yield response.arrayBuffer();
|
|
@@ -452,7 +486,7 @@ class Client {
|
|
|
452
486
|
if (400 <= response.status) {
|
|
453
487
|
let responseText = '';
|
|
454
488
|
if ((_b = response.headers.get('content-type')) === null || _b === void 0 ? void 0 : _b.includes('application/json')) {
|
|
455
|
-
responseText =
|
|
489
|
+
responseText = JSONbig$1.stringify(data);
|
|
456
490
|
}
|
|
457
491
|
else {
|
|
458
492
|
responseText = data === null || data === void 0 ? void 0 : data.message;
|
|
@@ -614,15 +648,22 @@ class Account extends Service {
|
|
|
614
648
|
'content-type': 'application/json',
|
|
615
649
|
}, payload);
|
|
616
650
|
}
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
651
|
+
createJWT(paramsOrFirst) {
|
|
652
|
+
let params;
|
|
653
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
654
|
+
params = (paramsOrFirst || {});
|
|
655
|
+
}
|
|
656
|
+
else {
|
|
657
|
+
params = {
|
|
658
|
+
duration: paramsOrFirst
|
|
659
|
+
};
|
|
660
|
+
}
|
|
661
|
+
const duration = params.duration;
|
|
624
662
|
const apiPath = '/account/jwts';
|
|
625
663
|
const payload = {};
|
|
664
|
+
if (typeof duration !== 'undefined') {
|
|
665
|
+
payload['duration'] = duration;
|
|
666
|
+
}
|
|
626
667
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
627
668
|
return this.client.call('post', uri, {
|
|
628
669
|
'content-type': 'application/json',
|
|
@@ -832,7 +873,7 @@ class Account extends Service {
|
|
|
832
873
|
if (typeof factor === 'undefined') {
|
|
833
874
|
throw new AppwriteException('Missing required parameter: "factor"');
|
|
834
875
|
}
|
|
835
|
-
const apiPath = '/account/mfa/
|
|
876
|
+
const apiPath = '/account/mfa/challenges';
|
|
836
877
|
const payload = {};
|
|
837
878
|
if (typeof factor !== 'undefined') {
|
|
838
879
|
payload['factor'] = factor;
|
|
@@ -856,7 +897,7 @@ class Account extends Service {
|
|
|
856
897
|
if (typeof factor === 'undefined') {
|
|
857
898
|
throw new AppwriteException('Missing required parameter: "factor"');
|
|
858
899
|
}
|
|
859
|
-
const apiPath = '/account/mfa/
|
|
900
|
+
const apiPath = '/account/mfa/challenges';
|
|
860
901
|
const payload = {};
|
|
861
902
|
if (typeof factor !== 'undefined') {
|
|
862
903
|
payload['factor'] = factor;
|
|
@@ -885,7 +926,7 @@ class Account extends Service {
|
|
|
885
926
|
if (typeof otp === 'undefined') {
|
|
886
927
|
throw new AppwriteException('Missing required parameter: "otp"');
|
|
887
928
|
}
|
|
888
|
-
const apiPath = '/account/mfa/
|
|
929
|
+
const apiPath = '/account/mfa/challenges';
|
|
889
930
|
const payload = {};
|
|
890
931
|
if (typeof challengeId !== 'undefined') {
|
|
891
932
|
payload['challengeId'] = challengeId;
|
|
@@ -917,7 +958,7 @@ class Account extends Service {
|
|
|
917
958
|
if (typeof otp === 'undefined') {
|
|
918
959
|
throw new AppwriteException('Missing required parameter: "otp"');
|
|
919
960
|
}
|
|
920
|
-
const apiPath = '/account/mfa/
|
|
961
|
+
const apiPath = '/account/mfa/challenges';
|
|
921
962
|
const payload = {};
|
|
922
963
|
if (typeof challengeId !== 'undefined') {
|
|
923
964
|
payload['challengeId'] = challengeId;
|
|
@@ -2167,6 +2208,127 @@ class Avatars extends Service {
|
|
|
2167
2208
|
}
|
|
2168
2209
|
return this.client.call('get', uri, {}, payload, 'arrayBuffer');
|
|
2169
2210
|
}
|
|
2211
|
+
getScreenshot(paramsOrFirst, ...rest) {
|
|
2212
|
+
let params;
|
|
2213
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
2214
|
+
params = (paramsOrFirst || {});
|
|
2215
|
+
}
|
|
2216
|
+
else {
|
|
2217
|
+
params = {
|
|
2218
|
+
url: paramsOrFirst,
|
|
2219
|
+
headers: rest[0],
|
|
2220
|
+
viewportWidth: rest[1],
|
|
2221
|
+
viewportHeight: rest[2],
|
|
2222
|
+
scale: rest[3],
|
|
2223
|
+
theme: rest[4],
|
|
2224
|
+
userAgent: rest[5],
|
|
2225
|
+
fullpage: rest[6],
|
|
2226
|
+
locale: rest[7],
|
|
2227
|
+
timezone: rest[8],
|
|
2228
|
+
latitude: rest[9],
|
|
2229
|
+
longitude: rest[10],
|
|
2230
|
+
accuracy: rest[11],
|
|
2231
|
+
touch: rest[12],
|
|
2232
|
+
permissions: rest[13],
|
|
2233
|
+
sleep: rest[14],
|
|
2234
|
+
width: rest[15],
|
|
2235
|
+
height: rest[16],
|
|
2236
|
+
quality: rest[17],
|
|
2237
|
+
output: rest[18]
|
|
2238
|
+
};
|
|
2239
|
+
}
|
|
2240
|
+
const url = params.url;
|
|
2241
|
+
const headers = params.headers;
|
|
2242
|
+
const viewportWidth = params.viewportWidth;
|
|
2243
|
+
const viewportHeight = params.viewportHeight;
|
|
2244
|
+
const scale = params.scale;
|
|
2245
|
+
const theme = params.theme;
|
|
2246
|
+
const userAgent = params.userAgent;
|
|
2247
|
+
const fullpage = params.fullpage;
|
|
2248
|
+
const locale = params.locale;
|
|
2249
|
+
const timezone = params.timezone;
|
|
2250
|
+
const latitude = params.latitude;
|
|
2251
|
+
const longitude = params.longitude;
|
|
2252
|
+
const accuracy = params.accuracy;
|
|
2253
|
+
const touch = params.touch;
|
|
2254
|
+
const permissions = params.permissions;
|
|
2255
|
+
const sleep = params.sleep;
|
|
2256
|
+
const width = params.width;
|
|
2257
|
+
const height = params.height;
|
|
2258
|
+
const quality = params.quality;
|
|
2259
|
+
const output = params.output;
|
|
2260
|
+
if (typeof url === 'undefined') {
|
|
2261
|
+
throw new AppwriteException('Missing required parameter: "url"');
|
|
2262
|
+
}
|
|
2263
|
+
const apiPath = '/avatars/screenshots';
|
|
2264
|
+
const payload = {};
|
|
2265
|
+
if (typeof url !== 'undefined') {
|
|
2266
|
+
payload['url'] = url;
|
|
2267
|
+
}
|
|
2268
|
+
if (typeof headers !== 'undefined') {
|
|
2269
|
+
payload['headers'] = headers;
|
|
2270
|
+
}
|
|
2271
|
+
if (typeof viewportWidth !== 'undefined') {
|
|
2272
|
+
payload['viewportWidth'] = viewportWidth;
|
|
2273
|
+
}
|
|
2274
|
+
if (typeof viewportHeight !== 'undefined') {
|
|
2275
|
+
payload['viewportHeight'] = viewportHeight;
|
|
2276
|
+
}
|
|
2277
|
+
if (typeof scale !== 'undefined') {
|
|
2278
|
+
payload['scale'] = scale;
|
|
2279
|
+
}
|
|
2280
|
+
if (typeof theme !== 'undefined') {
|
|
2281
|
+
payload['theme'] = theme;
|
|
2282
|
+
}
|
|
2283
|
+
if (typeof userAgent !== 'undefined') {
|
|
2284
|
+
payload['userAgent'] = userAgent;
|
|
2285
|
+
}
|
|
2286
|
+
if (typeof fullpage !== 'undefined') {
|
|
2287
|
+
payload['fullpage'] = fullpage;
|
|
2288
|
+
}
|
|
2289
|
+
if (typeof locale !== 'undefined') {
|
|
2290
|
+
payload['locale'] = locale;
|
|
2291
|
+
}
|
|
2292
|
+
if (typeof timezone !== 'undefined') {
|
|
2293
|
+
payload['timezone'] = timezone;
|
|
2294
|
+
}
|
|
2295
|
+
if (typeof latitude !== 'undefined') {
|
|
2296
|
+
payload['latitude'] = latitude;
|
|
2297
|
+
}
|
|
2298
|
+
if (typeof longitude !== 'undefined') {
|
|
2299
|
+
payload['longitude'] = longitude;
|
|
2300
|
+
}
|
|
2301
|
+
if (typeof accuracy !== 'undefined') {
|
|
2302
|
+
payload['accuracy'] = accuracy;
|
|
2303
|
+
}
|
|
2304
|
+
if (typeof touch !== 'undefined') {
|
|
2305
|
+
payload['touch'] = touch;
|
|
2306
|
+
}
|
|
2307
|
+
if (typeof permissions !== 'undefined') {
|
|
2308
|
+
payload['permissions'] = permissions;
|
|
2309
|
+
}
|
|
2310
|
+
if (typeof sleep !== 'undefined') {
|
|
2311
|
+
payload['sleep'] = sleep;
|
|
2312
|
+
}
|
|
2313
|
+
if (typeof width !== 'undefined') {
|
|
2314
|
+
payload['width'] = width;
|
|
2315
|
+
}
|
|
2316
|
+
if (typeof height !== 'undefined') {
|
|
2317
|
+
payload['height'] = height;
|
|
2318
|
+
}
|
|
2319
|
+
if (typeof quality !== 'undefined') {
|
|
2320
|
+
payload['quality'] = quality;
|
|
2321
|
+
}
|
|
2322
|
+
if (typeof output !== 'undefined') {
|
|
2323
|
+
payload['output'] = output;
|
|
2324
|
+
}
|
|
2325
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2326
|
+
payload['project'] = this.client.config.project;
|
|
2327
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
2328
|
+
uri.searchParams.append(key, value);
|
|
2329
|
+
}
|
|
2330
|
+
return this.client.call('get', uri, {}, payload, 'arrayBuffer');
|
|
2331
|
+
}
|
|
2170
2332
|
/**
|
|
2171
2333
|
* You can use this endpoint to show different browser icons to your users.
|
|
2172
2334
|
* The code argument receives the browser code as it appears in your user [GET
|
|
@@ -2422,6 +2584,111 @@ class Avatars extends Service {
|
|
|
2422
2584
|
}
|
|
2423
2585
|
return uri;
|
|
2424
2586
|
}
|
|
2587
|
+
/**
|
|
2588
|
+
* Use this endpoint to capture a screenshot of any website URL. This endpoint
|
|
2589
|
+
* uses a headless browser to render the webpage and capture it as an image.
|
|
2590
|
+
*
|
|
2591
|
+
* You can configure the browser viewport size, theme, user agent,
|
|
2592
|
+
* geolocation, permissions, and more. Capture either just the viewport or the
|
|
2593
|
+
* full page scroll.
|
|
2594
|
+
*
|
|
2595
|
+
* When width and height are specified, the image is resized accordingly. If
|
|
2596
|
+
* both dimensions are 0, the API provides an image at original size. If
|
|
2597
|
+
* dimensions are not specified, the default viewport size is 1280x720px.
|
|
2598
|
+
*
|
|
2599
|
+
* @param {string} url
|
|
2600
|
+
* @param {object} headers
|
|
2601
|
+
* @param {number} viewportWidth
|
|
2602
|
+
* @param {number} viewportHeight
|
|
2603
|
+
* @param {number} scale
|
|
2604
|
+
* @param {Theme} theme
|
|
2605
|
+
* @param {string} userAgent
|
|
2606
|
+
* @param {boolean} fullpage
|
|
2607
|
+
* @param {string} locale
|
|
2608
|
+
* @param {Timezone} timezone
|
|
2609
|
+
* @param {number} latitude
|
|
2610
|
+
* @param {number} longitude
|
|
2611
|
+
* @param {number} accuracy
|
|
2612
|
+
* @param {boolean} touch
|
|
2613
|
+
* @param {BrowserPermission[]} permissions
|
|
2614
|
+
* @param {number} sleep
|
|
2615
|
+
* @param {number} width
|
|
2616
|
+
* @param {number} height
|
|
2617
|
+
* @param {number} quality
|
|
2618
|
+
* @param {ImageFormat} output
|
|
2619
|
+
* @throws {AppwriteException}
|
|
2620
|
+
* @returns {URL}
|
|
2621
|
+
*/
|
|
2622
|
+
getScreenshotURL(url, headers, viewportWidth, viewportHeight, scale, theme, userAgent, fullpage, locale, timezone, latitude, longitude, accuracy, touch, permissions, sleep, width, height, quality, output) {
|
|
2623
|
+
const apiPath = '/avatars/screenshots';
|
|
2624
|
+
const payload = {};
|
|
2625
|
+
if (typeof url !== 'undefined') {
|
|
2626
|
+
payload['url'] = url;
|
|
2627
|
+
}
|
|
2628
|
+
if (typeof headers !== 'undefined') {
|
|
2629
|
+
payload['headers'] = headers;
|
|
2630
|
+
}
|
|
2631
|
+
if (typeof viewportWidth !== 'undefined') {
|
|
2632
|
+
payload['viewportWidth'] = viewportWidth;
|
|
2633
|
+
}
|
|
2634
|
+
if (typeof viewportHeight !== 'undefined') {
|
|
2635
|
+
payload['viewportHeight'] = viewportHeight;
|
|
2636
|
+
}
|
|
2637
|
+
if (typeof scale !== 'undefined') {
|
|
2638
|
+
payload['scale'] = scale;
|
|
2639
|
+
}
|
|
2640
|
+
if (typeof theme !== 'undefined') {
|
|
2641
|
+
payload['theme'] = theme;
|
|
2642
|
+
}
|
|
2643
|
+
if (typeof userAgent !== 'undefined') {
|
|
2644
|
+
payload['userAgent'] = userAgent;
|
|
2645
|
+
}
|
|
2646
|
+
if (typeof fullpage !== 'undefined') {
|
|
2647
|
+
payload['fullpage'] = fullpage;
|
|
2648
|
+
}
|
|
2649
|
+
if (typeof locale !== 'undefined') {
|
|
2650
|
+
payload['locale'] = locale;
|
|
2651
|
+
}
|
|
2652
|
+
if (typeof timezone !== 'undefined') {
|
|
2653
|
+
payload['timezone'] = timezone;
|
|
2654
|
+
}
|
|
2655
|
+
if (typeof latitude !== 'undefined') {
|
|
2656
|
+
payload['latitude'] = latitude;
|
|
2657
|
+
}
|
|
2658
|
+
if (typeof longitude !== 'undefined') {
|
|
2659
|
+
payload['longitude'] = longitude;
|
|
2660
|
+
}
|
|
2661
|
+
if (typeof accuracy !== 'undefined') {
|
|
2662
|
+
payload['accuracy'] = accuracy;
|
|
2663
|
+
}
|
|
2664
|
+
if (typeof touch !== 'undefined') {
|
|
2665
|
+
payload['touch'] = touch;
|
|
2666
|
+
}
|
|
2667
|
+
if (typeof permissions !== 'undefined') {
|
|
2668
|
+
payload['permissions'] = permissions;
|
|
2669
|
+
}
|
|
2670
|
+
if (typeof sleep !== 'undefined') {
|
|
2671
|
+
payload['sleep'] = sleep;
|
|
2672
|
+
}
|
|
2673
|
+
if (typeof width !== 'undefined') {
|
|
2674
|
+
payload['width'] = width;
|
|
2675
|
+
}
|
|
2676
|
+
if (typeof height !== 'undefined') {
|
|
2677
|
+
payload['height'] = height;
|
|
2678
|
+
}
|
|
2679
|
+
if (typeof quality !== 'undefined') {
|
|
2680
|
+
payload['quality'] = quality;
|
|
2681
|
+
}
|
|
2682
|
+
if (typeof output !== 'undefined') {
|
|
2683
|
+
payload['output'] = output;
|
|
2684
|
+
}
|
|
2685
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2686
|
+
payload['project'] = this.client.config.project;
|
|
2687
|
+
for (const [key, value] of Object.entries(Service.flatten(payload))) {
|
|
2688
|
+
uri.searchParams.append(key, value);
|
|
2689
|
+
}
|
|
2690
|
+
return uri;
|
|
2691
|
+
}
|
|
2425
2692
|
}
|
|
2426
2693
|
|
|
2427
2694
|
class Databases extends Service {
|
|
@@ -2725,9 +2992,6 @@ class Databases extends Service {
|
|
|
2725
2992
|
if (typeof documentId === 'undefined') {
|
|
2726
2993
|
throw new AppwriteException('Missing required parameter: "documentId"');
|
|
2727
2994
|
}
|
|
2728
|
-
if (typeof data === 'undefined') {
|
|
2729
|
-
throw new AppwriteException('Missing required parameter: "data"');
|
|
2730
|
-
}
|
|
2731
2995
|
const apiPath = '/databases/{databaseId}/collections/{collectionId}/documents/{documentId}'.replace('{databaseId}', databaseId).replace('{collectionId}', collectionId).replace('{documentId}', documentId);
|
|
2732
2996
|
const payload = {};
|
|
2733
2997
|
if (typeof data !== 'undefined') {
|
|
@@ -4665,6 +4929,7 @@ class Teams extends Service {
|
|
|
4665
4929
|
}
|
|
4666
4930
|
}
|
|
4667
4931
|
|
|
4932
|
+
const JSONbig = JSONbigModule__default["default"]({ useNativeBigInt: true });
|
|
4668
4933
|
class Query {
|
|
4669
4934
|
constructor(method, attribute, values) {
|
|
4670
4935
|
this.method = method;
|
|
@@ -4679,7 +4944,7 @@ class Query {
|
|
|
4679
4944
|
}
|
|
4680
4945
|
}
|
|
4681
4946
|
toString() {
|
|
4682
|
-
return
|
|
4947
|
+
return JSONbig.stringify({
|
|
4683
4948
|
method: this.method,
|
|
4684
4949
|
attribute: this.attribute,
|
|
4685
4950
|
values: this.values,
|
|
@@ -4688,12 +4953,34 @@ class Query {
|
|
|
4688
4953
|
}
|
|
4689
4954
|
Query.equal = (attribute, value) => new Query("equal", attribute, value).toString();
|
|
4690
4955
|
Query.notEqual = (attribute, value) => new Query("notEqual", attribute, value).toString();
|
|
4956
|
+
/**
|
|
4957
|
+
* Filter resources where attribute matches a regular expression pattern.
|
|
4958
|
+
*
|
|
4959
|
+
* @param {string} attribute The attribute to filter on.
|
|
4960
|
+
* @param {string} pattern The regular expression pattern to match.
|
|
4961
|
+
* @returns {string}
|
|
4962
|
+
*/
|
|
4963
|
+
Query.regex = (attribute, pattern) => new Query("regex", attribute, pattern).toString();
|
|
4691
4964
|
Query.lessThan = (attribute, value) => new Query("lessThan", attribute, value).toString();
|
|
4692
4965
|
Query.lessThanEqual = (attribute, value) => new Query("lessThanEqual", attribute, value).toString();
|
|
4693
4966
|
Query.greaterThan = (attribute, value) => new Query("greaterThan", attribute, value).toString();
|
|
4694
4967
|
Query.greaterThanEqual = (attribute, value) => new Query("greaterThanEqual", attribute, value).toString();
|
|
4695
4968
|
Query.isNull = (attribute) => new Query("isNull", attribute).toString();
|
|
4696
4969
|
Query.isNotNull = (attribute) => new Query("isNotNull", attribute).toString();
|
|
4970
|
+
/**
|
|
4971
|
+
* Filter resources where the specified attributes exist.
|
|
4972
|
+
*
|
|
4973
|
+
* @param {string[]} attributes The list of attributes that must exist.
|
|
4974
|
+
* @returns {string}
|
|
4975
|
+
*/
|
|
4976
|
+
Query.exists = (attributes) => new Query("exists", undefined, attributes).toString();
|
|
4977
|
+
/**
|
|
4978
|
+
* Filter resources where the specified attributes do not exist.
|
|
4979
|
+
*
|
|
4980
|
+
* @param {string[]} attributes The list of attributes that must not exist.
|
|
4981
|
+
* @returns {string}
|
|
4982
|
+
*/
|
|
4983
|
+
Query.notExists = (attributes) => new Query("notExists", undefined, attributes).toString();
|
|
4697
4984
|
Query.between = (attribute, start, end) => new Query("between", attribute, [start, end]).toString();
|
|
4698
4985
|
Query.startsWith = (attribute, value) => new Query("startsWith", attribute, value).toString();
|
|
4699
4986
|
Query.endsWith = (attribute, value) => new Query("endsWith", attribute, value).toString();
|
|
@@ -4735,8 +5022,8 @@ Query.notSearch = (attribute, value) => new Query("notSearch", attribute, value)
|
|
|
4735
5022
|
* Filter resources where attribute is not between start and end (exclusive).
|
|
4736
5023
|
*
|
|
4737
5024
|
* @param {string} attribute
|
|
4738
|
-
* @param {string | number} start
|
|
4739
|
-
* @param {string | number} end
|
|
5025
|
+
* @param {string | number | bigint} start
|
|
5026
|
+
* @param {string | number | bigint} end
|
|
4740
5027
|
* @returns {string}
|
|
4741
5028
|
*/
|
|
4742
5029
|
Query.notBetween = (attribute, start, end) => new Query("notBetween", attribute, [start, end]).toString();
|
|
@@ -4800,8 +5087,16 @@ Query.updatedAfter = (value) => Query.greaterThan("$updatedAt", value);
|
|
|
4800
5087
|
* @returns {string}
|
|
4801
5088
|
*/
|
|
4802
5089
|
Query.updatedBetween = (start, end) => Query.between("$updatedAt", start, end);
|
|
4803
|
-
Query.or = (queries) => new Query("or", undefined, queries.map((query) =>
|
|
4804
|
-
Query.and = (queries) => new Query("and", undefined, queries.map((query) =>
|
|
5090
|
+
Query.or = (queries) => new Query("or", undefined, queries.map((query) => JSONbig.parse(query))).toString();
|
|
5091
|
+
Query.and = (queries) => new Query("and", undefined, queries.map((query) => JSONbig.parse(query))).toString();
|
|
5092
|
+
/**
|
|
5093
|
+
* Filter array elements where at least one element matches all the specified queries.
|
|
5094
|
+
*
|
|
5095
|
+
* @param {string} attribute The attribute containing the array to filter on.
|
|
5096
|
+
* @param {string[]} queries The list of query strings to match against array elements.
|
|
5097
|
+
* @returns {string}
|
|
5098
|
+
*/
|
|
5099
|
+
Query.elemMatch = (attribute, queries) => new Query("elemMatch", attribute, queries.map((query) => JSONbig.parse(query))).toString();
|
|
4805
5100
|
/**
|
|
4806
5101
|
* Filter resources where attribute is at a specific distance from the given coordinates.
|
|
4807
5102
|
*
|
|
@@ -5044,6 +5339,96 @@ _a = ID, _ID_hexTimestamp = function _ID_hexTimestamp() {
|
|
|
5044
5339
|
return hexTimestamp;
|
|
5045
5340
|
};
|
|
5046
5341
|
|
|
5342
|
+
function normalize(id) {
|
|
5343
|
+
const trimmed = id.trim();
|
|
5344
|
+
return trimmed === "" ? "*" : trimmed;
|
|
5345
|
+
}
|
|
5346
|
+
class Channel {
|
|
5347
|
+
constructor(segments) {
|
|
5348
|
+
this.segments = segments;
|
|
5349
|
+
}
|
|
5350
|
+
next(segment, id = "*") {
|
|
5351
|
+
return new Channel([...this.segments, segment, normalize(id)]);
|
|
5352
|
+
}
|
|
5353
|
+
resolve(action) {
|
|
5354
|
+
return new Channel([...this.segments, action]);
|
|
5355
|
+
}
|
|
5356
|
+
toString() {
|
|
5357
|
+
return this.segments.join(".");
|
|
5358
|
+
}
|
|
5359
|
+
// --- DATABASE ROUTE ---
|
|
5360
|
+
// Only available on Channel<Database>
|
|
5361
|
+
collection(id = "*") {
|
|
5362
|
+
return this.next("collections", id);
|
|
5363
|
+
}
|
|
5364
|
+
// Only available on Channel<Collection>
|
|
5365
|
+
document(id = "*") {
|
|
5366
|
+
return this.next("documents", id);
|
|
5367
|
+
}
|
|
5368
|
+
// --- TABLESDB ROUTE ---
|
|
5369
|
+
table(id = "*") {
|
|
5370
|
+
return this.next("tables", id);
|
|
5371
|
+
}
|
|
5372
|
+
row(id = "*") {
|
|
5373
|
+
return this.next("rows", id);
|
|
5374
|
+
}
|
|
5375
|
+
// --- BUCKET ROUTE ---
|
|
5376
|
+
file(id = "*") {
|
|
5377
|
+
return this.next("files", id);
|
|
5378
|
+
}
|
|
5379
|
+
// --- FUNCTION ROUTE ---
|
|
5380
|
+
execution(id = "*") {
|
|
5381
|
+
return this.next("executions", id);
|
|
5382
|
+
}
|
|
5383
|
+
// --- TERMINAL ACTIONS ---
|
|
5384
|
+
// Restricted to the Actionable union
|
|
5385
|
+
create() {
|
|
5386
|
+
return this.resolve("create");
|
|
5387
|
+
}
|
|
5388
|
+
update() {
|
|
5389
|
+
return this.resolve("update");
|
|
5390
|
+
}
|
|
5391
|
+
delete() {
|
|
5392
|
+
return this.resolve("delete");
|
|
5393
|
+
}
|
|
5394
|
+
// --- ROOT FACTORIES ---
|
|
5395
|
+
static database(id = "*") {
|
|
5396
|
+
return new Channel(["databases", normalize(id)]);
|
|
5397
|
+
}
|
|
5398
|
+
static tablesdb(id = "*") {
|
|
5399
|
+
return new Channel(["tablesdb", normalize(id)]);
|
|
5400
|
+
}
|
|
5401
|
+
static bucket(id = "*") {
|
|
5402
|
+
return new Channel(["buckets", normalize(id)]);
|
|
5403
|
+
}
|
|
5404
|
+
static function(id = "*") {
|
|
5405
|
+
return new Channel(["functions", normalize(id)]);
|
|
5406
|
+
}
|
|
5407
|
+
static team(id = "*") {
|
|
5408
|
+
return new Channel(["teams", normalize(id)]);
|
|
5409
|
+
}
|
|
5410
|
+
static membership(id = "*") {
|
|
5411
|
+
return new Channel(["memberships", normalize(id)]);
|
|
5412
|
+
}
|
|
5413
|
+
static account(userId = "") {
|
|
5414
|
+
const id = normalize(userId);
|
|
5415
|
+
return id === "*" ? "account" : `account.${id}`;
|
|
5416
|
+
}
|
|
5417
|
+
// Global events
|
|
5418
|
+
static get documents() {
|
|
5419
|
+
return "documents";
|
|
5420
|
+
}
|
|
5421
|
+
static get rows() {
|
|
5422
|
+
return "rows";
|
|
5423
|
+
}
|
|
5424
|
+
static get files() {
|
|
5425
|
+
return "files";
|
|
5426
|
+
}
|
|
5427
|
+
static get executions() {
|
|
5428
|
+
return "executions";
|
|
5429
|
+
}
|
|
5430
|
+
}
|
|
5431
|
+
|
|
5047
5432
|
exports.Condition = void 0;
|
|
5048
5433
|
(function (Condition) {
|
|
5049
5434
|
Condition["Equal"] = "equal";
|
|
@@ -5363,7 +5748,6 @@ exports.OAuthProvider = void 0;
|
|
|
5363
5748
|
OAuthProvider["Yandex"] = "yandex";
|
|
5364
5749
|
OAuthProvider["Zoho"] = "zoho";
|
|
5365
5750
|
OAuthProvider["Zoom"] = "zoom";
|
|
5366
|
-
OAuthProvider["Mock"] = "mock";
|
|
5367
5751
|
})(exports.OAuthProvider || (exports.OAuthProvider = {}));
|
|
5368
5752
|
|
|
5369
5753
|
exports.Browser = void 0;
|
|
@@ -5604,6 +5988,470 @@ exports.Flag = void 0;
|
|
|
5604
5988
|
Flag["Zimbabwe"] = "zw";
|
|
5605
5989
|
})(exports.Flag || (exports.Flag = {}));
|
|
5606
5990
|
|
|
5991
|
+
exports.Theme = void 0;
|
|
5992
|
+
(function (Theme) {
|
|
5993
|
+
Theme["Light"] = "light";
|
|
5994
|
+
Theme["Dark"] = "dark";
|
|
5995
|
+
})(exports.Theme || (exports.Theme = {}));
|
|
5996
|
+
|
|
5997
|
+
exports.Timezone = void 0;
|
|
5998
|
+
(function (Timezone) {
|
|
5999
|
+
Timezone["AfricaAbidjan"] = "africa/abidjan";
|
|
6000
|
+
Timezone["AfricaAccra"] = "africa/accra";
|
|
6001
|
+
Timezone["AfricaAddisAbaba"] = "africa/addis_ababa";
|
|
6002
|
+
Timezone["AfricaAlgiers"] = "africa/algiers";
|
|
6003
|
+
Timezone["AfricaAsmara"] = "africa/asmara";
|
|
6004
|
+
Timezone["AfricaBamako"] = "africa/bamako";
|
|
6005
|
+
Timezone["AfricaBangui"] = "africa/bangui";
|
|
6006
|
+
Timezone["AfricaBanjul"] = "africa/banjul";
|
|
6007
|
+
Timezone["AfricaBissau"] = "africa/bissau";
|
|
6008
|
+
Timezone["AfricaBlantyre"] = "africa/blantyre";
|
|
6009
|
+
Timezone["AfricaBrazzaville"] = "africa/brazzaville";
|
|
6010
|
+
Timezone["AfricaBujumbura"] = "africa/bujumbura";
|
|
6011
|
+
Timezone["AfricaCairo"] = "africa/cairo";
|
|
6012
|
+
Timezone["AfricaCasablanca"] = "africa/casablanca";
|
|
6013
|
+
Timezone["AfricaCeuta"] = "africa/ceuta";
|
|
6014
|
+
Timezone["AfricaConakry"] = "africa/conakry";
|
|
6015
|
+
Timezone["AfricaDakar"] = "africa/dakar";
|
|
6016
|
+
Timezone["AfricaDarEsSalaam"] = "africa/dar_es_salaam";
|
|
6017
|
+
Timezone["AfricaDjibouti"] = "africa/djibouti";
|
|
6018
|
+
Timezone["AfricaDouala"] = "africa/douala";
|
|
6019
|
+
Timezone["AfricaElAaiun"] = "africa/el_aaiun";
|
|
6020
|
+
Timezone["AfricaFreetown"] = "africa/freetown";
|
|
6021
|
+
Timezone["AfricaGaborone"] = "africa/gaborone";
|
|
6022
|
+
Timezone["AfricaHarare"] = "africa/harare";
|
|
6023
|
+
Timezone["AfricaJohannesburg"] = "africa/johannesburg";
|
|
6024
|
+
Timezone["AfricaJuba"] = "africa/juba";
|
|
6025
|
+
Timezone["AfricaKampala"] = "africa/kampala";
|
|
6026
|
+
Timezone["AfricaKhartoum"] = "africa/khartoum";
|
|
6027
|
+
Timezone["AfricaKigali"] = "africa/kigali";
|
|
6028
|
+
Timezone["AfricaKinshasa"] = "africa/kinshasa";
|
|
6029
|
+
Timezone["AfricaLagos"] = "africa/lagos";
|
|
6030
|
+
Timezone["AfricaLibreville"] = "africa/libreville";
|
|
6031
|
+
Timezone["AfricaLome"] = "africa/lome";
|
|
6032
|
+
Timezone["AfricaLuanda"] = "africa/luanda";
|
|
6033
|
+
Timezone["AfricaLubumbashi"] = "africa/lubumbashi";
|
|
6034
|
+
Timezone["AfricaLusaka"] = "africa/lusaka";
|
|
6035
|
+
Timezone["AfricaMalabo"] = "africa/malabo";
|
|
6036
|
+
Timezone["AfricaMaputo"] = "africa/maputo";
|
|
6037
|
+
Timezone["AfricaMaseru"] = "africa/maseru";
|
|
6038
|
+
Timezone["AfricaMbabane"] = "africa/mbabane";
|
|
6039
|
+
Timezone["AfricaMogadishu"] = "africa/mogadishu";
|
|
6040
|
+
Timezone["AfricaMonrovia"] = "africa/monrovia";
|
|
6041
|
+
Timezone["AfricaNairobi"] = "africa/nairobi";
|
|
6042
|
+
Timezone["AfricaNdjamena"] = "africa/ndjamena";
|
|
6043
|
+
Timezone["AfricaNiamey"] = "africa/niamey";
|
|
6044
|
+
Timezone["AfricaNouakchott"] = "africa/nouakchott";
|
|
6045
|
+
Timezone["AfricaOuagadougou"] = "africa/ouagadougou";
|
|
6046
|
+
Timezone["AfricaPortoNovo"] = "africa/porto-novo";
|
|
6047
|
+
Timezone["AfricaSaoTome"] = "africa/sao_tome";
|
|
6048
|
+
Timezone["AfricaTripoli"] = "africa/tripoli";
|
|
6049
|
+
Timezone["AfricaTunis"] = "africa/tunis";
|
|
6050
|
+
Timezone["AfricaWindhoek"] = "africa/windhoek";
|
|
6051
|
+
Timezone["AmericaAdak"] = "america/adak";
|
|
6052
|
+
Timezone["AmericaAnchorage"] = "america/anchorage";
|
|
6053
|
+
Timezone["AmericaAnguilla"] = "america/anguilla";
|
|
6054
|
+
Timezone["AmericaAntigua"] = "america/antigua";
|
|
6055
|
+
Timezone["AmericaAraguaina"] = "america/araguaina";
|
|
6056
|
+
Timezone["AmericaArgentinaBuenosAires"] = "america/argentina/buenos_aires";
|
|
6057
|
+
Timezone["AmericaArgentinaCatamarca"] = "america/argentina/catamarca";
|
|
6058
|
+
Timezone["AmericaArgentinaCordoba"] = "america/argentina/cordoba";
|
|
6059
|
+
Timezone["AmericaArgentinaJujuy"] = "america/argentina/jujuy";
|
|
6060
|
+
Timezone["AmericaArgentinaLaRioja"] = "america/argentina/la_rioja";
|
|
6061
|
+
Timezone["AmericaArgentinaMendoza"] = "america/argentina/mendoza";
|
|
6062
|
+
Timezone["AmericaArgentinaRioGallegos"] = "america/argentina/rio_gallegos";
|
|
6063
|
+
Timezone["AmericaArgentinaSalta"] = "america/argentina/salta";
|
|
6064
|
+
Timezone["AmericaArgentinaSanJuan"] = "america/argentina/san_juan";
|
|
6065
|
+
Timezone["AmericaArgentinaSanLuis"] = "america/argentina/san_luis";
|
|
6066
|
+
Timezone["AmericaArgentinaTucuman"] = "america/argentina/tucuman";
|
|
6067
|
+
Timezone["AmericaArgentinaUshuaia"] = "america/argentina/ushuaia";
|
|
6068
|
+
Timezone["AmericaAruba"] = "america/aruba";
|
|
6069
|
+
Timezone["AmericaAsuncion"] = "america/asuncion";
|
|
6070
|
+
Timezone["AmericaAtikokan"] = "america/atikokan";
|
|
6071
|
+
Timezone["AmericaBahia"] = "america/bahia";
|
|
6072
|
+
Timezone["AmericaBahiaBanderas"] = "america/bahia_banderas";
|
|
6073
|
+
Timezone["AmericaBarbados"] = "america/barbados";
|
|
6074
|
+
Timezone["AmericaBelem"] = "america/belem";
|
|
6075
|
+
Timezone["AmericaBelize"] = "america/belize";
|
|
6076
|
+
Timezone["AmericaBlancSablon"] = "america/blanc-sablon";
|
|
6077
|
+
Timezone["AmericaBoaVista"] = "america/boa_vista";
|
|
6078
|
+
Timezone["AmericaBogota"] = "america/bogota";
|
|
6079
|
+
Timezone["AmericaBoise"] = "america/boise";
|
|
6080
|
+
Timezone["AmericaCambridgeBay"] = "america/cambridge_bay";
|
|
6081
|
+
Timezone["AmericaCampoGrande"] = "america/campo_grande";
|
|
6082
|
+
Timezone["AmericaCancun"] = "america/cancun";
|
|
6083
|
+
Timezone["AmericaCaracas"] = "america/caracas";
|
|
6084
|
+
Timezone["AmericaCayenne"] = "america/cayenne";
|
|
6085
|
+
Timezone["AmericaCayman"] = "america/cayman";
|
|
6086
|
+
Timezone["AmericaChicago"] = "america/chicago";
|
|
6087
|
+
Timezone["AmericaChihuahua"] = "america/chihuahua";
|
|
6088
|
+
Timezone["AmericaCiudadJuarez"] = "america/ciudad_juarez";
|
|
6089
|
+
Timezone["AmericaCostaRica"] = "america/costa_rica";
|
|
6090
|
+
Timezone["AmericaCoyhaique"] = "america/coyhaique";
|
|
6091
|
+
Timezone["AmericaCreston"] = "america/creston";
|
|
6092
|
+
Timezone["AmericaCuiaba"] = "america/cuiaba";
|
|
6093
|
+
Timezone["AmericaCuracao"] = "america/curacao";
|
|
6094
|
+
Timezone["AmericaDanmarkshavn"] = "america/danmarkshavn";
|
|
6095
|
+
Timezone["AmericaDawson"] = "america/dawson";
|
|
6096
|
+
Timezone["AmericaDawsonCreek"] = "america/dawson_creek";
|
|
6097
|
+
Timezone["AmericaDenver"] = "america/denver";
|
|
6098
|
+
Timezone["AmericaDetroit"] = "america/detroit";
|
|
6099
|
+
Timezone["AmericaDominica"] = "america/dominica";
|
|
6100
|
+
Timezone["AmericaEdmonton"] = "america/edmonton";
|
|
6101
|
+
Timezone["AmericaEirunepe"] = "america/eirunepe";
|
|
6102
|
+
Timezone["AmericaElSalvador"] = "america/el_salvador";
|
|
6103
|
+
Timezone["AmericaFortNelson"] = "america/fort_nelson";
|
|
6104
|
+
Timezone["AmericaFortaleza"] = "america/fortaleza";
|
|
6105
|
+
Timezone["AmericaGlaceBay"] = "america/glace_bay";
|
|
6106
|
+
Timezone["AmericaGooseBay"] = "america/goose_bay";
|
|
6107
|
+
Timezone["AmericaGrandTurk"] = "america/grand_turk";
|
|
6108
|
+
Timezone["AmericaGrenada"] = "america/grenada";
|
|
6109
|
+
Timezone["AmericaGuadeloupe"] = "america/guadeloupe";
|
|
6110
|
+
Timezone["AmericaGuatemala"] = "america/guatemala";
|
|
6111
|
+
Timezone["AmericaGuayaquil"] = "america/guayaquil";
|
|
6112
|
+
Timezone["AmericaGuyana"] = "america/guyana";
|
|
6113
|
+
Timezone["AmericaHalifax"] = "america/halifax";
|
|
6114
|
+
Timezone["AmericaHavana"] = "america/havana";
|
|
6115
|
+
Timezone["AmericaHermosillo"] = "america/hermosillo";
|
|
6116
|
+
Timezone["AmericaIndianaIndianapolis"] = "america/indiana/indianapolis";
|
|
6117
|
+
Timezone["AmericaIndianaKnox"] = "america/indiana/knox";
|
|
6118
|
+
Timezone["AmericaIndianaMarengo"] = "america/indiana/marengo";
|
|
6119
|
+
Timezone["AmericaIndianaPetersburg"] = "america/indiana/petersburg";
|
|
6120
|
+
Timezone["AmericaIndianaTellCity"] = "america/indiana/tell_city";
|
|
6121
|
+
Timezone["AmericaIndianaVevay"] = "america/indiana/vevay";
|
|
6122
|
+
Timezone["AmericaIndianaVincennes"] = "america/indiana/vincennes";
|
|
6123
|
+
Timezone["AmericaIndianaWinamac"] = "america/indiana/winamac";
|
|
6124
|
+
Timezone["AmericaInuvik"] = "america/inuvik";
|
|
6125
|
+
Timezone["AmericaIqaluit"] = "america/iqaluit";
|
|
6126
|
+
Timezone["AmericaJamaica"] = "america/jamaica";
|
|
6127
|
+
Timezone["AmericaJuneau"] = "america/juneau";
|
|
6128
|
+
Timezone["AmericaKentuckyLouisville"] = "america/kentucky/louisville";
|
|
6129
|
+
Timezone["AmericaKentuckyMonticello"] = "america/kentucky/monticello";
|
|
6130
|
+
Timezone["AmericaKralendijk"] = "america/kralendijk";
|
|
6131
|
+
Timezone["AmericaLaPaz"] = "america/la_paz";
|
|
6132
|
+
Timezone["AmericaLima"] = "america/lima";
|
|
6133
|
+
Timezone["AmericaLosAngeles"] = "america/los_angeles";
|
|
6134
|
+
Timezone["AmericaLowerPrinces"] = "america/lower_princes";
|
|
6135
|
+
Timezone["AmericaMaceio"] = "america/maceio";
|
|
6136
|
+
Timezone["AmericaManagua"] = "america/managua";
|
|
6137
|
+
Timezone["AmericaManaus"] = "america/manaus";
|
|
6138
|
+
Timezone["AmericaMarigot"] = "america/marigot";
|
|
6139
|
+
Timezone["AmericaMartinique"] = "america/martinique";
|
|
6140
|
+
Timezone["AmericaMatamoros"] = "america/matamoros";
|
|
6141
|
+
Timezone["AmericaMazatlan"] = "america/mazatlan";
|
|
6142
|
+
Timezone["AmericaMenominee"] = "america/menominee";
|
|
6143
|
+
Timezone["AmericaMerida"] = "america/merida";
|
|
6144
|
+
Timezone["AmericaMetlakatla"] = "america/metlakatla";
|
|
6145
|
+
Timezone["AmericaMexicoCity"] = "america/mexico_city";
|
|
6146
|
+
Timezone["AmericaMiquelon"] = "america/miquelon";
|
|
6147
|
+
Timezone["AmericaMoncton"] = "america/moncton";
|
|
6148
|
+
Timezone["AmericaMonterrey"] = "america/monterrey";
|
|
6149
|
+
Timezone["AmericaMontevideo"] = "america/montevideo";
|
|
6150
|
+
Timezone["AmericaMontserrat"] = "america/montserrat";
|
|
6151
|
+
Timezone["AmericaNassau"] = "america/nassau";
|
|
6152
|
+
Timezone["AmericaNewYork"] = "america/new_york";
|
|
6153
|
+
Timezone["AmericaNome"] = "america/nome";
|
|
6154
|
+
Timezone["AmericaNoronha"] = "america/noronha";
|
|
6155
|
+
Timezone["AmericaNorthDakotaBeulah"] = "america/north_dakota/beulah";
|
|
6156
|
+
Timezone["AmericaNorthDakotaCenter"] = "america/north_dakota/center";
|
|
6157
|
+
Timezone["AmericaNorthDakotaNewSalem"] = "america/north_dakota/new_salem";
|
|
6158
|
+
Timezone["AmericaNuuk"] = "america/nuuk";
|
|
6159
|
+
Timezone["AmericaOjinaga"] = "america/ojinaga";
|
|
6160
|
+
Timezone["AmericaPanama"] = "america/panama";
|
|
6161
|
+
Timezone["AmericaParamaribo"] = "america/paramaribo";
|
|
6162
|
+
Timezone["AmericaPhoenix"] = "america/phoenix";
|
|
6163
|
+
Timezone["AmericaPortAuPrince"] = "america/port-au-prince";
|
|
6164
|
+
Timezone["AmericaPortOfSpain"] = "america/port_of_spain";
|
|
6165
|
+
Timezone["AmericaPortoVelho"] = "america/porto_velho";
|
|
6166
|
+
Timezone["AmericaPuertoRico"] = "america/puerto_rico";
|
|
6167
|
+
Timezone["AmericaPuntaArenas"] = "america/punta_arenas";
|
|
6168
|
+
Timezone["AmericaRankinInlet"] = "america/rankin_inlet";
|
|
6169
|
+
Timezone["AmericaRecife"] = "america/recife";
|
|
6170
|
+
Timezone["AmericaRegina"] = "america/regina";
|
|
6171
|
+
Timezone["AmericaResolute"] = "america/resolute";
|
|
6172
|
+
Timezone["AmericaRioBranco"] = "america/rio_branco";
|
|
6173
|
+
Timezone["AmericaSantarem"] = "america/santarem";
|
|
6174
|
+
Timezone["AmericaSantiago"] = "america/santiago";
|
|
6175
|
+
Timezone["AmericaSantoDomingo"] = "america/santo_domingo";
|
|
6176
|
+
Timezone["AmericaSaoPaulo"] = "america/sao_paulo";
|
|
6177
|
+
Timezone["AmericaScoresbysund"] = "america/scoresbysund";
|
|
6178
|
+
Timezone["AmericaSitka"] = "america/sitka";
|
|
6179
|
+
Timezone["AmericaStBarthelemy"] = "america/st_barthelemy";
|
|
6180
|
+
Timezone["AmericaStJohns"] = "america/st_johns";
|
|
6181
|
+
Timezone["AmericaStKitts"] = "america/st_kitts";
|
|
6182
|
+
Timezone["AmericaStLucia"] = "america/st_lucia";
|
|
6183
|
+
Timezone["AmericaStThomas"] = "america/st_thomas";
|
|
6184
|
+
Timezone["AmericaStVincent"] = "america/st_vincent";
|
|
6185
|
+
Timezone["AmericaSwiftCurrent"] = "america/swift_current";
|
|
6186
|
+
Timezone["AmericaTegucigalpa"] = "america/tegucigalpa";
|
|
6187
|
+
Timezone["AmericaThule"] = "america/thule";
|
|
6188
|
+
Timezone["AmericaTijuana"] = "america/tijuana";
|
|
6189
|
+
Timezone["AmericaToronto"] = "america/toronto";
|
|
6190
|
+
Timezone["AmericaTortola"] = "america/tortola";
|
|
6191
|
+
Timezone["AmericaVancouver"] = "america/vancouver";
|
|
6192
|
+
Timezone["AmericaWhitehorse"] = "america/whitehorse";
|
|
6193
|
+
Timezone["AmericaWinnipeg"] = "america/winnipeg";
|
|
6194
|
+
Timezone["AmericaYakutat"] = "america/yakutat";
|
|
6195
|
+
Timezone["AntarcticaCasey"] = "antarctica/casey";
|
|
6196
|
+
Timezone["AntarcticaDavis"] = "antarctica/davis";
|
|
6197
|
+
Timezone["AntarcticaDumontdurville"] = "antarctica/dumontdurville";
|
|
6198
|
+
Timezone["AntarcticaMacquarie"] = "antarctica/macquarie";
|
|
6199
|
+
Timezone["AntarcticaMawson"] = "antarctica/mawson";
|
|
6200
|
+
Timezone["AntarcticaMcmurdo"] = "antarctica/mcmurdo";
|
|
6201
|
+
Timezone["AntarcticaPalmer"] = "antarctica/palmer";
|
|
6202
|
+
Timezone["AntarcticaRothera"] = "antarctica/rothera";
|
|
6203
|
+
Timezone["AntarcticaSyowa"] = "antarctica/syowa";
|
|
6204
|
+
Timezone["AntarcticaTroll"] = "antarctica/troll";
|
|
6205
|
+
Timezone["AntarcticaVostok"] = "antarctica/vostok";
|
|
6206
|
+
Timezone["ArcticLongyearbyen"] = "arctic/longyearbyen";
|
|
6207
|
+
Timezone["AsiaAden"] = "asia/aden";
|
|
6208
|
+
Timezone["AsiaAlmaty"] = "asia/almaty";
|
|
6209
|
+
Timezone["AsiaAmman"] = "asia/amman";
|
|
6210
|
+
Timezone["AsiaAnadyr"] = "asia/anadyr";
|
|
6211
|
+
Timezone["AsiaAqtau"] = "asia/aqtau";
|
|
6212
|
+
Timezone["AsiaAqtobe"] = "asia/aqtobe";
|
|
6213
|
+
Timezone["AsiaAshgabat"] = "asia/ashgabat";
|
|
6214
|
+
Timezone["AsiaAtyrau"] = "asia/atyrau";
|
|
6215
|
+
Timezone["AsiaBaghdad"] = "asia/baghdad";
|
|
6216
|
+
Timezone["AsiaBahrain"] = "asia/bahrain";
|
|
6217
|
+
Timezone["AsiaBaku"] = "asia/baku";
|
|
6218
|
+
Timezone["AsiaBangkok"] = "asia/bangkok";
|
|
6219
|
+
Timezone["AsiaBarnaul"] = "asia/barnaul";
|
|
6220
|
+
Timezone["AsiaBeirut"] = "asia/beirut";
|
|
6221
|
+
Timezone["AsiaBishkek"] = "asia/bishkek";
|
|
6222
|
+
Timezone["AsiaBrunei"] = "asia/brunei";
|
|
6223
|
+
Timezone["AsiaChita"] = "asia/chita";
|
|
6224
|
+
Timezone["AsiaColombo"] = "asia/colombo";
|
|
6225
|
+
Timezone["AsiaDamascus"] = "asia/damascus";
|
|
6226
|
+
Timezone["AsiaDhaka"] = "asia/dhaka";
|
|
6227
|
+
Timezone["AsiaDili"] = "asia/dili";
|
|
6228
|
+
Timezone["AsiaDubai"] = "asia/dubai";
|
|
6229
|
+
Timezone["AsiaDushanbe"] = "asia/dushanbe";
|
|
6230
|
+
Timezone["AsiaFamagusta"] = "asia/famagusta";
|
|
6231
|
+
Timezone["AsiaGaza"] = "asia/gaza";
|
|
6232
|
+
Timezone["AsiaHebron"] = "asia/hebron";
|
|
6233
|
+
Timezone["AsiaHoChiMinh"] = "asia/ho_chi_minh";
|
|
6234
|
+
Timezone["AsiaHongKong"] = "asia/hong_kong";
|
|
6235
|
+
Timezone["AsiaHovd"] = "asia/hovd";
|
|
6236
|
+
Timezone["AsiaIrkutsk"] = "asia/irkutsk";
|
|
6237
|
+
Timezone["AsiaJakarta"] = "asia/jakarta";
|
|
6238
|
+
Timezone["AsiaJayapura"] = "asia/jayapura";
|
|
6239
|
+
Timezone["AsiaJerusalem"] = "asia/jerusalem";
|
|
6240
|
+
Timezone["AsiaKabul"] = "asia/kabul";
|
|
6241
|
+
Timezone["AsiaKamchatka"] = "asia/kamchatka";
|
|
6242
|
+
Timezone["AsiaKarachi"] = "asia/karachi";
|
|
6243
|
+
Timezone["AsiaKathmandu"] = "asia/kathmandu";
|
|
6244
|
+
Timezone["AsiaKhandyga"] = "asia/khandyga";
|
|
6245
|
+
Timezone["AsiaKolkata"] = "asia/kolkata";
|
|
6246
|
+
Timezone["AsiaKrasnoyarsk"] = "asia/krasnoyarsk";
|
|
6247
|
+
Timezone["AsiaKualaLumpur"] = "asia/kuala_lumpur";
|
|
6248
|
+
Timezone["AsiaKuching"] = "asia/kuching";
|
|
6249
|
+
Timezone["AsiaKuwait"] = "asia/kuwait";
|
|
6250
|
+
Timezone["AsiaMacau"] = "asia/macau";
|
|
6251
|
+
Timezone["AsiaMagadan"] = "asia/magadan";
|
|
6252
|
+
Timezone["AsiaMakassar"] = "asia/makassar";
|
|
6253
|
+
Timezone["AsiaManila"] = "asia/manila";
|
|
6254
|
+
Timezone["AsiaMuscat"] = "asia/muscat";
|
|
6255
|
+
Timezone["AsiaNicosia"] = "asia/nicosia";
|
|
6256
|
+
Timezone["AsiaNovokuznetsk"] = "asia/novokuznetsk";
|
|
6257
|
+
Timezone["AsiaNovosibirsk"] = "asia/novosibirsk";
|
|
6258
|
+
Timezone["AsiaOmsk"] = "asia/omsk";
|
|
6259
|
+
Timezone["AsiaOral"] = "asia/oral";
|
|
6260
|
+
Timezone["AsiaPhnomPenh"] = "asia/phnom_penh";
|
|
6261
|
+
Timezone["AsiaPontianak"] = "asia/pontianak";
|
|
6262
|
+
Timezone["AsiaPyongyang"] = "asia/pyongyang";
|
|
6263
|
+
Timezone["AsiaQatar"] = "asia/qatar";
|
|
6264
|
+
Timezone["AsiaQostanay"] = "asia/qostanay";
|
|
6265
|
+
Timezone["AsiaQyzylorda"] = "asia/qyzylorda";
|
|
6266
|
+
Timezone["AsiaRiyadh"] = "asia/riyadh";
|
|
6267
|
+
Timezone["AsiaSakhalin"] = "asia/sakhalin";
|
|
6268
|
+
Timezone["AsiaSamarkand"] = "asia/samarkand";
|
|
6269
|
+
Timezone["AsiaSeoul"] = "asia/seoul";
|
|
6270
|
+
Timezone["AsiaShanghai"] = "asia/shanghai";
|
|
6271
|
+
Timezone["AsiaSingapore"] = "asia/singapore";
|
|
6272
|
+
Timezone["AsiaSrednekolymsk"] = "asia/srednekolymsk";
|
|
6273
|
+
Timezone["AsiaTaipei"] = "asia/taipei";
|
|
6274
|
+
Timezone["AsiaTashkent"] = "asia/tashkent";
|
|
6275
|
+
Timezone["AsiaTbilisi"] = "asia/tbilisi";
|
|
6276
|
+
Timezone["AsiaTehran"] = "asia/tehran";
|
|
6277
|
+
Timezone["AsiaThimphu"] = "asia/thimphu";
|
|
6278
|
+
Timezone["AsiaTokyo"] = "asia/tokyo";
|
|
6279
|
+
Timezone["AsiaTomsk"] = "asia/tomsk";
|
|
6280
|
+
Timezone["AsiaUlaanbaatar"] = "asia/ulaanbaatar";
|
|
6281
|
+
Timezone["AsiaUrumqi"] = "asia/urumqi";
|
|
6282
|
+
Timezone["AsiaUstNera"] = "asia/ust-nera";
|
|
6283
|
+
Timezone["AsiaVientiane"] = "asia/vientiane";
|
|
6284
|
+
Timezone["AsiaVladivostok"] = "asia/vladivostok";
|
|
6285
|
+
Timezone["AsiaYakutsk"] = "asia/yakutsk";
|
|
6286
|
+
Timezone["AsiaYangon"] = "asia/yangon";
|
|
6287
|
+
Timezone["AsiaYekaterinburg"] = "asia/yekaterinburg";
|
|
6288
|
+
Timezone["AsiaYerevan"] = "asia/yerevan";
|
|
6289
|
+
Timezone["AtlanticAzores"] = "atlantic/azores";
|
|
6290
|
+
Timezone["AtlanticBermuda"] = "atlantic/bermuda";
|
|
6291
|
+
Timezone["AtlanticCanary"] = "atlantic/canary";
|
|
6292
|
+
Timezone["AtlanticCapeVerde"] = "atlantic/cape_verde";
|
|
6293
|
+
Timezone["AtlanticFaroe"] = "atlantic/faroe";
|
|
6294
|
+
Timezone["AtlanticMadeira"] = "atlantic/madeira";
|
|
6295
|
+
Timezone["AtlanticReykjavik"] = "atlantic/reykjavik";
|
|
6296
|
+
Timezone["AtlanticSouthGeorgia"] = "atlantic/south_georgia";
|
|
6297
|
+
Timezone["AtlanticStHelena"] = "atlantic/st_helena";
|
|
6298
|
+
Timezone["AtlanticStanley"] = "atlantic/stanley";
|
|
6299
|
+
Timezone["AustraliaAdelaide"] = "australia/adelaide";
|
|
6300
|
+
Timezone["AustraliaBrisbane"] = "australia/brisbane";
|
|
6301
|
+
Timezone["AustraliaBrokenHill"] = "australia/broken_hill";
|
|
6302
|
+
Timezone["AustraliaDarwin"] = "australia/darwin";
|
|
6303
|
+
Timezone["AustraliaEucla"] = "australia/eucla";
|
|
6304
|
+
Timezone["AustraliaHobart"] = "australia/hobart";
|
|
6305
|
+
Timezone["AustraliaLindeman"] = "australia/lindeman";
|
|
6306
|
+
Timezone["AustraliaLordHowe"] = "australia/lord_howe";
|
|
6307
|
+
Timezone["AustraliaMelbourne"] = "australia/melbourne";
|
|
6308
|
+
Timezone["AustraliaPerth"] = "australia/perth";
|
|
6309
|
+
Timezone["AustraliaSydney"] = "australia/sydney";
|
|
6310
|
+
Timezone["EuropeAmsterdam"] = "europe/amsterdam";
|
|
6311
|
+
Timezone["EuropeAndorra"] = "europe/andorra";
|
|
6312
|
+
Timezone["EuropeAstrakhan"] = "europe/astrakhan";
|
|
6313
|
+
Timezone["EuropeAthens"] = "europe/athens";
|
|
6314
|
+
Timezone["EuropeBelgrade"] = "europe/belgrade";
|
|
6315
|
+
Timezone["EuropeBerlin"] = "europe/berlin";
|
|
6316
|
+
Timezone["EuropeBratislava"] = "europe/bratislava";
|
|
6317
|
+
Timezone["EuropeBrussels"] = "europe/brussels";
|
|
6318
|
+
Timezone["EuropeBucharest"] = "europe/bucharest";
|
|
6319
|
+
Timezone["EuropeBudapest"] = "europe/budapest";
|
|
6320
|
+
Timezone["EuropeBusingen"] = "europe/busingen";
|
|
6321
|
+
Timezone["EuropeChisinau"] = "europe/chisinau";
|
|
6322
|
+
Timezone["EuropeCopenhagen"] = "europe/copenhagen";
|
|
6323
|
+
Timezone["EuropeDublin"] = "europe/dublin";
|
|
6324
|
+
Timezone["EuropeGibraltar"] = "europe/gibraltar";
|
|
6325
|
+
Timezone["EuropeGuernsey"] = "europe/guernsey";
|
|
6326
|
+
Timezone["EuropeHelsinki"] = "europe/helsinki";
|
|
6327
|
+
Timezone["EuropeIsleOfMan"] = "europe/isle_of_man";
|
|
6328
|
+
Timezone["EuropeIstanbul"] = "europe/istanbul";
|
|
6329
|
+
Timezone["EuropeJersey"] = "europe/jersey";
|
|
6330
|
+
Timezone["EuropeKaliningrad"] = "europe/kaliningrad";
|
|
6331
|
+
Timezone["EuropeKirov"] = "europe/kirov";
|
|
6332
|
+
Timezone["EuropeKyiv"] = "europe/kyiv";
|
|
6333
|
+
Timezone["EuropeLisbon"] = "europe/lisbon";
|
|
6334
|
+
Timezone["EuropeLjubljana"] = "europe/ljubljana";
|
|
6335
|
+
Timezone["EuropeLondon"] = "europe/london";
|
|
6336
|
+
Timezone["EuropeLuxembourg"] = "europe/luxembourg";
|
|
6337
|
+
Timezone["EuropeMadrid"] = "europe/madrid";
|
|
6338
|
+
Timezone["EuropeMalta"] = "europe/malta";
|
|
6339
|
+
Timezone["EuropeMariehamn"] = "europe/mariehamn";
|
|
6340
|
+
Timezone["EuropeMinsk"] = "europe/minsk";
|
|
6341
|
+
Timezone["EuropeMonaco"] = "europe/monaco";
|
|
6342
|
+
Timezone["EuropeMoscow"] = "europe/moscow";
|
|
6343
|
+
Timezone["EuropeOslo"] = "europe/oslo";
|
|
6344
|
+
Timezone["EuropeParis"] = "europe/paris";
|
|
6345
|
+
Timezone["EuropePodgorica"] = "europe/podgorica";
|
|
6346
|
+
Timezone["EuropePrague"] = "europe/prague";
|
|
6347
|
+
Timezone["EuropeRiga"] = "europe/riga";
|
|
6348
|
+
Timezone["EuropeRome"] = "europe/rome";
|
|
6349
|
+
Timezone["EuropeSamara"] = "europe/samara";
|
|
6350
|
+
Timezone["EuropeSanMarino"] = "europe/san_marino";
|
|
6351
|
+
Timezone["EuropeSarajevo"] = "europe/sarajevo";
|
|
6352
|
+
Timezone["EuropeSaratov"] = "europe/saratov";
|
|
6353
|
+
Timezone["EuropeSimferopol"] = "europe/simferopol";
|
|
6354
|
+
Timezone["EuropeSkopje"] = "europe/skopje";
|
|
6355
|
+
Timezone["EuropeSofia"] = "europe/sofia";
|
|
6356
|
+
Timezone["EuropeStockholm"] = "europe/stockholm";
|
|
6357
|
+
Timezone["EuropeTallinn"] = "europe/tallinn";
|
|
6358
|
+
Timezone["EuropeTirane"] = "europe/tirane";
|
|
6359
|
+
Timezone["EuropeUlyanovsk"] = "europe/ulyanovsk";
|
|
6360
|
+
Timezone["EuropeVaduz"] = "europe/vaduz";
|
|
6361
|
+
Timezone["EuropeVatican"] = "europe/vatican";
|
|
6362
|
+
Timezone["EuropeVienna"] = "europe/vienna";
|
|
6363
|
+
Timezone["EuropeVilnius"] = "europe/vilnius";
|
|
6364
|
+
Timezone["EuropeVolgograd"] = "europe/volgograd";
|
|
6365
|
+
Timezone["EuropeWarsaw"] = "europe/warsaw";
|
|
6366
|
+
Timezone["EuropeZagreb"] = "europe/zagreb";
|
|
6367
|
+
Timezone["EuropeZurich"] = "europe/zurich";
|
|
6368
|
+
Timezone["IndianAntananarivo"] = "indian/antananarivo";
|
|
6369
|
+
Timezone["IndianChagos"] = "indian/chagos";
|
|
6370
|
+
Timezone["IndianChristmas"] = "indian/christmas";
|
|
6371
|
+
Timezone["IndianCocos"] = "indian/cocos";
|
|
6372
|
+
Timezone["IndianComoro"] = "indian/comoro";
|
|
6373
|
+
Timezone["IndianKerguelen"] = "indian/kerguelen";
|
|
6374
|
+
Timezone["IndianMahe"] = "indian/mahe";
|
|
6375
|
+
Timezone["IndianMaldives"] = "indian/maldives";
|
|
6376
|
+
Timezone["IndianMauritius"] = "indian/mauritius";
|
|
6377
|
+
Timezone["IndianMayotte"] = "indian/mayotte";
|
|
6378
|
+
Timezone["IndianReunion"] = "indian/reunion";
|
|
6379
|
+
Timezone["PacificApia"] = "pacific/apia";
|
|
6380
|
+
Timezone["PacificAuckland"] = "pacific/auckland";
|
|
6381
|
+
Timezone["PacificBougainville"] = "pacific/bougainville";
|
|
6382
|
+
Timezone["PacificChatham"] = "pacific/chatham";
|
|
6383
|
+
Timezone["PacificChuuk"] = "pacific/chuuk";
|
|
6384
|
+
Timezone["PacificEaster"] = "pacific/easter";
|
|
6385
|
+
Timezone["PacificEfate"] = "pacific/efate";
|
|
6386
|
+
Timezone["PacificFakaofo"] = "pacific/fakaofo";
|
|
6387
|
+
Timezone["PacificFiji"] = "pacific/fiji";
|
|
6388
|
+
Timezone["PacificFunafuti"] = "pacific/funafuti";
|
|
6389
|
+
Timezone["PacificGalapagos"] = "pacific/galapagos";
|
|
6390
|
+
Timezone["PacificGambier"] = "pacific/gambier";
|
|
6391
|
+
Timezone["PacificGuadalcanal"] = "pacific/guadalcanal";
|
|
6392
|
+
Timezone["PacificGuam"] = "pacific/guam";
|
|
6393
|
+
Timezone["PacificHonolulu"] = "pacific/honolulu";
|
|
6394
|
+
Timezone["PacificKanton"] = "pacific/kanton";
|
|
6395
|
+
Timezone["PacificKiritimati"] = "pacific/kiritimati";
|
|
6396
|
+
Timezone["PacificKosrae"] = "pacific/kosrae";
|
|
6397
|
+
Timezone["PacificKwajalein"] = "pacific/kwajalein";
|
|
6398
|
+
Timezone["PacificMajuro"] = "pacific/majuro";
|
|
6399
|
+
Timezone["PacificMarquesas"] = "pacific/marquesas";
|
|
6400
|
+
Timezone["PacificMidway"] = "pacific/midway";
|
|
6401
|
+
Timezone["PacificNauru"] = "pacific/nauru";
|
|
6402
|
+
Timezone["PacificNiue"] = "pacific/niue";
|
|
6403
|
+
Timezone["PacificNorfolk"] = "pacific/norfolk";
|
|
6404
|
+
Timezone["PacificNoumea"] = "pacific/noumea";
|
|
6405
|
+
Timezone["PacificPagoPago"] = "pacific/pago_pago";
|
|
6406
|
+
Timezone["PacificPalau"] = "pacific/palau";
|
|
6407
|
+
Timezone["PacificPitcairn"] = "pacific/pitcairn";
|
|
6408
|
+
Timezone["PacificPohnpei"] = "pacific/pohnpei";
|
|
6409
|
+
Timezone["PacificPortMoresby"] = "pacific/port_moresby";
|
|
6410
|
+
Timezone["PacificRarotonga"] = "pacific/rarotonga";
|
|
6411
|
+
Timezone["PacificSaipan"] = "pacific/saipan";
|
|
6412
|
+
Timezone["PacificTahiti"] = "pacific/tahiti";
|
|
6413
|
+
Timezone["PacificTarawa"] = "pacific/tarawa";
|
|
6414
|
+
Timezone["PacificTongatapu"] = "pacific/tongatapu";
|
|
6415
|
+
Timezone["PacificWake"] = "pacific/wake";
|
|
6416
|
+
Timezone["PacificWallis"] = "pacific/wallis";
|
|
6417
|
+
Timezone["Utc"] = "utc";
|
|
6418
|
+
})(exports.Timezone || (exports.Timezone = {}));
|
|
6419
|
+
|
|
6420
|
+
exports.BrowserPermission = void 0;
|
|
6421
|
+
(function (BrowserPermission) {
|
|
6422
|
+
BrowserPermission["Geolocation"] = "geolocation";
|
|
6423
|
+
BrowserPermission["Camera"] = "camera";
|
|
6424
|
+
BrowserPermission["Microphone"] = "microphone";
|
|
6425
|
+
BrowserPermission["Notifications"] = "notifications";
|
|
6426
|
+
BrowserPermission["Midi"] = "midi";
|
|
6427
|
+
BrowserPermission["Push"] = "push";
|
|
6428
|
+
BrowserPermission["ClipboardRead"] = "clipboard-read";
|
|
6429
|
+
BrowserPermission["ClipboardWrite"] = "clipboard-write";
|
|
6430
|
+
BrowserPermission["PaymentHandler"] = "payment-handler";
|
|
6431
|
+
BrowserPermission["Usb"] = "usb";
|
|
6432
|
+
BrowserPermission["Bluetooth"] = "bluetooth";
|
|
6433
|
+
BrowserPermission["Accelerometer"] = "accelerometer";
|
|
6434
|
+
BrowserPermission["Gyroscope"] = "gyroscope";
|
|
6435
|
+
BrowserPermission["Magnetometer"] = "magnetometer";
|
|
6436
|
+
BrowserPermission["AmbientLightSensor"] = "ambient-light-sensor";
|
|
6437
|
+
BrowserPermission["BackgroundSync"] = "background-sync";
|
|
6438
|
+
BrowserPermission["PersistentStorage"] = "persistent-storage";
|
|
6439
|
+
BrowserPermission["ScreenWakeLock"] = "screen-wake-lock";
|
|
6440
|
+
BrowserPermission["WebShare"] = "web-share";
|
|
6441
|
+
BrowserPermission["XrSpatialTracking"] = "xr-spatial-tracking";
|
|
6442
|
+
})(exports.BrowserPermission || (exports.BrowserPermission = {}));
|
|
6443
|
+
|
|
6444
|
+
exports.ImageFormat = void 0;
|
|
6445
|
+
(function (ImageFormat) {
|
|
6446
|
+
ImageFormat["Jpg"] = "jpg";
|
|
6447
|
+
ImageFormat["Jpeg"] = "jpeg";
|
|
6448
|
+
ImageFormat["Png"] = "png";
|
|
6449
|
+
ImageFormat["Webp"] = "webp";
|
|
6450
|
+
ImageFormat["Heic"] = "heic";
|
|
6451
|
+
ImageFormat["Avif"] = "avif";
|
|
6452
|
+
ImageFormat["Gif"] = "gif";
|
|
6453
|
+
})(exports.ImageFormat || (exports.ImageFormat = {}));
|
|
6454
|
+
|
|
5607
6455
|
exports.ExecutionMethod = void 0;
|
|
5608
6456
|
(function (ExecutionMethod) {
|
|
5609
6457
|
ExecutionMethod["GET"] = "GET";
|
|
@@ -5628,16 +6476,12 @@ exports.ImageGravity = void 0;
|
|
|
5628
6476
|
ImageGravity["BottomRight"] = "bottom-right";
|
|
5629
6477
|
})(exports.ImageGravity || (exports.ImageGravity = {}));
|
|
5630
6478
|
|
|
5631
|
-
exports.
|
|
5632
|
-
(function (
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
ImageFormat["Heic"] = "heic";
|
|
5638
|
-
ImageFormat["Avif"] = "avif";
|
|
5639
|
-
ImageFormat["Gif"] = "gif";
|
|
5640
|
-
})(exports.ImageFormat || (exports.ImageFormat = {}));
|
|
6479
|
+
exports.Roles = void 0;
|
|
6480
|
+
(function (Roles) {
|
|
6481
|
+
Roles["Admin"] = "admin";
|
|
6482
|
+
Roles["Developer"] = "developer";
|
|
6483
|
+
Roles["Owner"] = "owner";
|
|
6484
|
+
})(exports.Roles || (exports.Roles = {}));
|
|
5641
6485
|
|
|
5642
6486
|
exports.ExecutionTrigger = void 0;
|
|
5643
6487
|
(function (ExecutionTrigger) {
|
|
@@ -5658,6 +6502,7 @@ exports.ExecutionStatus = void 0;
|
|
|
5658
6502
|
exports.Account = Account;
|
|
5659
6503
|
exports.AppwriteException = AppwriteException;
|
|
5660
6504
|
exports.Avatars = Avatars;
|
|
6505
|
+
exports.Channel = Channel;
|
|
5661
6506
|
exports.Client = Client;
|
|
5662
6507
|
exports.Databases = Databases;
|
|
5663
6508
|
exports.Functions = Functions;
|