@appwrite.io/console 12.2.0 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/sdk.js +1719 -1204
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/sdk.js +1717 -1205
  5. package/dist/esm/sdk.js.map +1 -1
  6. package/dist/iife/sdk.js +1736 -1221
  7. package/package.json +1 -1
  8. package/types/channel.d.ts +8 -3
  9. package/types/client.d.ts +1 -1
  10. package/types/enums/account-key-scopes.d.ts +5 -0
  11. package/types/enums/appwrite-migration-resource.d.ts +1 -0
  12. package/types/enums/backup-services.d.ts +1 -0
  13. package/types/enums/{resource-type.d.ts → block-resource-type.d.ts} +2 -6
  14. package/types/enums/{theme.d.ts → browser-theme.d.ts} +1 -1
  15. package/types/enums/cache-database.d.ts +5 -0
  16. package/types/enums/cache-target.d.ts +8 -0
  17. package/types/enums/{registration-type.d.ts → domain-registration-type.d.ts} +1 -1
  18. package/types/enums/{filter-type.d.ts → domain-suggestion-type.d.ts} +1 -1
  19. package/types/enums/{model.d.ts → embedding-model.d.ts} +1 -1
  20. package/types/enums/{runtime.d.ts → function-runtime.d.ts} +4 -2
  21. package/types/enums/function-template-use-case.d.ts +9 -0
  22. package/types/enums/{name.d.ts → health-queue-name.d.ts} +1 -1
  23. package/types/enums/{on-duplicate.d.ts → migration-on-duplicate.d.ts} +1 -1
  24. package/types/enums/o-auth-2-google-prompt.d.ts +5 -0
  25. package/types/enums/o-auth-provider.d.ts +1 -3
  26. package/types/enums/organization-addon.d.ts +4 -0
  27. package/types/enums/organization-key-scopes.d.ts +12 -0
  28. package/types/enums/{auth-method.d.ts → project-auth-method-id.d.ts} +1 -1
  29. package/types/enums/{email-template-type.d.ts → project-email-template-id.d.ts} +1 -1
  30. package/types/enums/{email-template-locale.d.ts → project-email-template-locale.d.ts} +1 -1
  31. package/types/enums/{scopes.d.ts → project-key-scopes.d.ts} +10 -8
  32. package/types/enums/project-o-auth-2-google-prompt.d.ts +5 -0
  33. package/types/enums/project-o-auth-provider-id.d.ts +45 -0
  34. package/types/enums/{project-policy.d.ts → project-policy-id.d.ts} +1 -1
  35. package/types/enums/{protocol-id.d.ts → project-protocol-id.d.ts} +1 -1
  36. package/types/enums/{service-id.d.ts → project-service-id.d.ts} +3 -2
  37. package/types/enums/project-smtp-secure.d.ts +4 -0
  38. package/types/enums/project-status.d.ts +3 -0
  39. package/types/enums/query-suggestion-resource.d.ts +10 -1
  40. package/types/enums/redirect-status-code.d.ts +6 -0
  41. package/types/enums/schedule-resource-type.d.ts +6 -0
  42. package/types/enums/{adapter.d.ts → site-adapter.d.ts} +1 -1
  43. package/types/enums/{runtimes.d.ts → site-build-runtime.d.ts} +4 -2
  44. package/types/enums/{framework.d.ts → site-framework.d.ts} +1 -1
  45. package/types/enums/{use-cases.d.ts → site-template-use-case.d.ts} +3 -8
  46. package/types/index.d.ts +36 -26
  47. package/types/models.d.ts +1186 -1185
  48. package/types/services/account.d.ts +9 -9
  49. package/types/services/avatars.d.ts +5 -5
  50. package/types/services/console.d.ts +31 -0
  51. package/types/services/documents-db.d.ts +1 -4
  52. package/types/services/domains.d.ts +216 -216
  53. package/types/services/functions.d.ts +36 -25
  54. package/types/services/health.d.ts +5 -5
  55. package/types/services/manager.d.ts +49 -9
  56. package/types/services/migrations.d.ts +13 -13
  57. package/types/services/organization.d.ts +234 -0
  58. package/types/services/organizations.d.ts +5 -131
  59. package/types/services/presences.d.ts +166 -0
  60. package/types/services/project.d.ts +226 -215
  61. package/types/services/projects.d.ts +10 -159
  62. package/types/services/proxy.d.ts +5 -5
  63. package/types/services/realtime.d.ts +45 -3
  64. package/types/services/sites.d.ts +43 -32
  65. package/types/services/usage.d.ts +50 -0
  66. package/types/services/vectors-db.d.ts +6 -9
  67. package/types/enums/addon.d.ts +0 -3
  68. package/types/enums/build-runtime.d.ts +0 -91
  69. package/types/enums/frameworks.d.ts +0 -17
  70. package/types/enums/secure.d.ts +0 -4
  71. package/types/enums/status-code.d.ts +0 -6
  72. package/types/enums/status.d.ts +0 -3
package/dist/iife/sdk.js CHANGED
@@ -4419,8 +4419,8 @@
4419
4419
  'x-sdk-name': 'Console',
4420
4420
  'x-sdk-platform': 'console',
4421
4421
  'x-sdk-language': 'web',
4422
- 'x-sdk-version': '12.2.0',
4423
- 'X-Appwrite-Response-Format': '1.9.4',
4422
+ 'x-sdk-version': '13.1.0',
4423
+ 'X-Appwrite-Response-Format': '1.9.5',
4424
4424
  };
4425
4425
  this.realtime = {
4426
4426
  socket: undefined,
@@ -4971,33 +4971,107 @@
4971
4971
  if (file.size <= Client.CHUNK_SIZE) {
4972
4972
  return yield this.call(method, url, headers, originalPayload);
4973
4973
  }
4974
- let start = 0;
4975
- let response = null;
4976
- while (start < file.size) {
4977
- let end = start + Client.CHUNK_SIZE; // Prepare end for the next chunk
4978
- if (end >= file.size) {
4979
- end = file.size; // Adjust for the last chunk to include the last byte
4974
+ const totalChunks = Math.ceil(file.size / Client.CHUNK_SIZE);
4975
+ // Upload first chunk alone to get the upload ID
4976
+ const firstChunkEnd = Math.min(Client.CHUNK_SIZE, file.size);
4977
+ const firstChunkHeaders = Object.assign(Object.assign({}, headers), { 'content-range': `bytes 0-${firstChunkEnd - 1}/${file.size}` });
4978
+ const firstChunk = file.slice(0, firstChunkEnd);
4979
+ const firstPayload = Object.assign({}, originalPayload);
4980
+ firstPayload[fileParam] = new File([firstChunk], file.name);
4981
+ let response = yield this.call(method, url, firstChunkHeaders, firstPayload);
4982
+ const uploadId = response === null || response === void 0 ? void 0 : response.$id;
4983
+ if (onProgress && typeof onProgress === 'function') {
4984
+ onProgress({
4985
+ $id: uploadId,
4986
+ progress: Math.round((firstChunkEnd / file.size) * 100),
4987
+ sizeUploaded: firstChunkEnd,
4988
+ chunksTotal: totalChunks,
4989
+ chunksUploaded: 1
4990
+ });
4991
+ }
4992
+ if (totalChunks === 1) {
4993
+ return response;
4994
+ }
4995
+ // Prepare remaining chunks
4996
+ const chunks = [];
4997
+ for (let i = 1; i < totalChunks; i++) {
4998
+ const start = i * Client.CHUNK_SIZE;
4999
+ const end = Math.min(start + Client.CHUNK_SIZE, file.size);
5000
+ chunks.push({ start, end });
5001
+ }
5002
+ // Upload remaining chunks with max concurrency of 8
5003
+ const CONCURRENCY = 8;
5004
+ let completedCount = 1;
5005
+ let uploadedBytes = firstChunkEnd;
5006
+ let lastResponse = response;
5007
+ let finalResponse = null;
5008
+ let rejected = false;
5009
+ const isUploadComplete = (chunkResponse) => {
5010
+ var _a;
5011
+ const chunksUploaded = chunkResponse === null || chunkResponse === void 0 ? void 0 : chunkResponse.chunksUploaded;
5012
+ const chunksTotal = (_a = chunkResponse === null || chunkResponse === void 0 ? void 0 : chunkResponse.chunksTotal) !== null && _a !== void 0 ? _a : totalChunks;
5013
+ return typeof chunksUploaded === 'number' && typeof chunksTotal === 'number' && chunksUploaded >= chunksTotal;
5014
+ };
5015
+ const uploadChunk = (chunk) => __awaiter(this, void 0, void 0, function* () {
5016
+ const chunkHeaders = Object.assign({}, headers);
5017
+ if (uploadId) {
5018
+ chunkHeaders['x-appwrite-id'] = uploadId;
5019
+ }
5020
+ chunkHeaders['content-range'] = `bytes ${chunk.start}-${chunk.end - 1}/${file.size}`;
5021
+ const chunkBlob = file.slice(chunk.start, chunk.end);
5022
+ const chunkPayload = Object.assign({}, originalPayload);
5023
+ chunkPayload[fileParam] = new File([chunkBlob], file.name);
5024
+ const chunkResponse = yield this.call(method, url, chunkHeaders, chunkPayload);
5025
+ if (rejected) {
5026
+ return chunkResponse;
5027
+ }
5028
+ completedCount++;
5029
+ uploadedBytes += (chunk.end - chunk.start);
5030
+ lastResponse = chunkResponse;
5031
+ if (isUploadComplete(chunkResponse)) {
5032
+ finalResponse = chunkResponse;
4980
5033
  }
4981
- headers['content-range'] = `bytes ${start}-${end - 1}/${file.size}`;
4982
- const chunk = file.slice(start, end);
4983
- let payload = Object.assign({}, originalPayload);
4984
- payload[fileParam] = new File([chunk], file.name);
4985
- response = yield this.call(method, url, headers, payload);
4986
5034
  if (onProgress && typeof onProgress === 'function') {
4987
5035
  onProgress({
4988
- $id: response.$id,
4989
- progress: Math.round((end / file.size) * 100),
4990
- sizeUploaded: end,
4991
- chunksTotal: Math.ceil(file.size / Client.CHUNK_SIZE),
4992
- chunksUploaded: Math.ceil(end / Client.CHUNK_SIZE)
5036
+ $id: uploadId,
5037
+ progress: Math.round((uploadedBytes / file.size) * 100),
5038
+ sizeUploaded: uploadedBytes,
5039
+ chunksTotal: totalChunks,
5040
+ chunksUploaded: completedCount
4993
5041
  });
4994
5042
  }
4995
- if (response && response.$id) {
4996
- headers['x-appwrite-id'] = response.$id;
4997
- }
4998
- start = end;
4999
- }
5000
- return response;
5043
+ return chunkResponse;
5044
+ });
5045
+ yield new Promise((resolve, reject) => {
5046
+ let nextChunk = 0;
5047
+ let inFlight = 0;
5048
+ let completed = 0;
5049
+ const uploadNext = () => {
5050
+ if (rejected) {
5051
+ return;
5052
+ }
5053
+ if (completed === chunks.length) {
5054
+ resolve();
5055
+ return;
5056
+ }
5057
+ while (inFlight < CONCURRENCY && nextChunk < chunks.length) {
5058
+ const chunk = chunks[nextChunk++];
5059
+ inFlight++;
5060
+ uploadChunk(chunk)
5061
+ .then(() => {
5062
+ inFlight--;
5063
+ completed++;
5064
+ uploadNext();
5065
+ })
5066
+ .catch((error) => {
5067
+ rejected = true;
5068
+ reject(error);
5069
+ });
5070
+ }
5071
+ };
5072
+ uploadNext();
5073
+ });
5074
+ return finalResponse !== null && finalResponse !== void 0 ? finalResponse : lastResponse;
5001
5075
  });
5002
5076
  }
5003
5077
  ping() {
@@ -5046,7 +5120,12 @@
5046
5120
  window.localStorage.setItem('cookieFallback', cookieFallback);
5047
5121
  }
5048
5122
  if (data && typeof data === 'object') {
5049
- data.toString = () => JSONbig.stringify(data);
5123
+ Object.defineProperty(data, 'toString', {
5124
+ value: () => JSONbig.stringify(data),
5125
+ writable: true,
5126
+ enumerable: false,
5127
+ configurable: true,
5128
+ });
5050
5129
  }
5051
5130
  return data;
5052
5131
  });
@@ -8150,6 +8229,19 @@
8150
8229
  const apiHeaders = {};
8151
8230
  return this.client.call('get', uri, apiHeaders, payload);
8152
8231
  }
8232
+ /**
8233
+ * List all scopes available for organization API keys, along with a description for each scope.
8234
+ *
8235
+ * @throws {AppwriteException}
8236
+ * @returns {Promise<Models.ConsoleKeyScopeList>}
8237
+ */
8238
+ listOrganizationScopes() {
8239
+ const apiPath = '/console/scopes/organization';
8240
+ const payload = {};
8241
+ const uri = new URL(this.client.config.endpoint + apiPath);
8242
+ const apiHeaders = {};
8243
+ return this.client.call('get', uri, apiHeaders, payload);
8244
+ }
8153
8245
  /**
8154
8246
  * List all scopes available for project API keys, along with a description for each scope.
8155
8247
  *
@@ -8333,6 +8425,31 @@
8333
8425
  const apiHeaders = {};
8334
8426
  return this.client.call('get', uri, apiHeaders, payload);
8335
8427
  }
8428
+ getEmailTemplate(paramsOrFirst, ...rest) {
8429
+ let params;
8430
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('templateId' in paramsOrFirst || 'locale' in paramsOrFirst))) {
8431
+ params = (paramsOrFirst || {});
8432
+ }
8433
+ else {
8434
+ params = {
8435
+ templateId: paramsOrFirst,
8436
+ locale: rest[0]
8437
+ };
8438
+ }
8439
+ const templateId = params.templateId;
8440
+ const locale = params.locale;
8441
+ if (typeof templateId === 'undefined') {
8442
+ throw new AppwriteException('Missing required parameter: "templateId"');
8443
+ }
8444
+ const apiPath = '/console/templates/email/{templateId}'.replace('{templateId}', templateId);
8445
+ const payload = {};
8446
+ if (typeof locale !== 'undefined') {
8447
+ payload['locale'] = locale;
8448
+ }
8449
+ const uri = new URL(this.client.config.endpoint + apiPath);
8450
+ const apiHeaders = {};
8451
+ return this.client.call('get', uri, apiHeaders, payload);
8452
+ }
8336
8453
  /**
8337
8454
  * Get all Environment Variables that are relevant for the console.
8338
8455
  *
@@ -11815,21 +11932,16 @@
11815
11932
  else {
11816
11933
  params = {
11817
11934
  queries: paramsOrFirst,
11818
- search: rest[0],
11819
- total: rest[1]
11935
+ total: rest[0]
11820
11936
  };
11821
11937
  }
11822
11938
  const queries = params.queries;
11823
- const search = params.search;
11824
11939
  const total = params.total;
11825
11940
  const apiPath = '/documentsdb';
11826
11941
  const payload = {};
11827
11942
  if (typeof queries !== 'undefined') {
11828
11943
  payload['queries'] = queries;
11829
11944
  }
11830
- if (typeof search !== 'undefined') {
11831
- payload['search'] = search;
11832
- }
11833
11945
  if (typeof total !== 'undefined') {
11834
11946
  payload['total'] = total;
11835
11947
  }
@@ -15135,9 +15247,11 @@
15135
15247
  providerBranch: rest[13],
15136
15248
  providerSilentMode: rest[14],
15137
15249
  providerRootDirectory: rest[15],
15138
- buildSpecification: rest[16],
15139
- runtimeSpecification: rest[17],
15140
- deploymentRetention: rest[18]
15250
+ providerBranches: rest[16],
15251
+ providerPaths: rest[17],
15252
+ buildSpecification: rest[18],
15253
+ runtimeSpecification: rest[19],
15254
+ deploymentRetention: rest[20]
15141
15255
  };
15142
15256
  }
15143
15257
  const functionId = params.functionId;
@@ -15157,6 +15271,8 @@
15157
15271
  const providerBranch = params.providerBranch;
15158
15272
  const providerSilentMode = params.providerSilentMode;
15159
15273
  const providerRootDirectory = params.providerRootDirectory;
15274
+ const providerBranches = params.providerBranches;
15275
+ const providerPaths = params.providerPaths;
15160
15276
  const buildSpecification = params.buildSpecification;
15161
15277
  const runtimeSpecification = params.runtimeSpecification;
15162
15278
  const deploymentRetention = params.deploymentRetention;
@@ -15222,6 +15338,12 @@
15222
15338
  if (typeof providerRootDirectory !== 'undefined') {
15223
15339
  payload['providerRootDirectory'] = providerRootDirectory;
15224
15340
  }
15341
+ if (typeof providerBranches !== 'undefined') {
15342
+ payload['providerBranches'] = providerBranches;
15343
+ }
15344
+ if (typeof providerPaths !== 'undefined') {
15345
+ payload['providerPaths'] = providerPaths;
15346
+ }
15225
15347
  if (typeof buildSpecification !== 'undefined') {
15226
15348
  payload['buildSpecification'] = buildSpecification;
15227
15349
  }
@@ -15387,9 +15509,11 @@
15387
15509
  providerBranch: rest[13],
15388
15510
  providerSilentMode: rest[14],
15389
15511
  providerRootDirectory: rest[15],
15390
- buildSpecification: rest[16],
15391
- runtimeSpecification: rest[17],
15392
- deploymentRetention: rest[18]
15512
+ providerBranches: rest[16],
15513
+ providerPaths: rest[17],
15514
+ buildSpecification: rest[18],
15515
+ runtimeSpecification: rest[19],
15516
+ deploymentRetention: rest[20]
15393
15517
  };
15394
15518
  }
15395
15519
  const functionId = params.functionId;
@@ -15409,6 +15533,8 @@
15409
15533
  const providerBranch = params.providerBranch;
15410
15534
  const providerSilentMode = params.providerSilentMode;
15411
15535
  const providerRootDirectory = params.providerRootDirectory;
15536
+ const providerBranches = params.providerBranches;
15537
+ const providerPaths = params.providerPaths;
15412
15538
  const buildSpecification = params.buildSpecification;
15413
15539
  const runtimeSpecification = params.runtimeSpecification;
15414
15540
  const deploymentRetention = params.deploymentRetention;
@@ -15468,6 +15594,12 @@
15468
15594
  if (typeof providerRootDirectory !== 'undefined') {
15469
15595
  payload['providerRootDirectory'] = providerRootDirectory;
15470
15596
  }
15597
+ if (typeof providerBranches !== 'undefined') {
15598
+ payload['providerBranches'] = providerBranches;
15599
+ }
15600
+ if (typeof providerPaths !== 'undefined') {
15601
+ payload['providerPaths'] = providerPaths;
15602
+ }
15471
15603
  if (typeof buildSpecification !== 'undefined') {
15472
15604
  payload['buildSpecification'] = buildSpecification;
15473
15605
  }
@@ -17039,6 +17171,58 @@
17039
17171
  const apiHeaders = {};
17040
17172
  return this.client.call('get', uri, apiHeaders, payload);
17041
17173
  }
17174
+ deleteCache(paramsOrFirst, ...rest) {
17175
+ let params;
17176
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('region' in paramsOrFirst || 'cache' in paramsOrFirst || 'all' in paramsOrFirst || 'database' in paramsOrFirst || 'projectId' in paramsOrFirst || 'collectionId' in paramsOrFirst || 'documentId' in paramsOrFirst))) {
17177
+ params = (paramsOrFirst || {});
17178
+ }
17179
+ else {
17180
+ params = {
17181
+ region: paramsOrFirst,
17182
+ cache: rest[0],
17183
+ all: rest[1],
17184
+ database: rest[2],
17185
+ projectId: rest[3],
17186
+ collectionId: rest[4],
17187
+ documentId: rest[5]
17188
+ };
17189
+ }
17190
+ const region = params.region;
17191
+ const cache = params.cache;
17192
+ const all = params.all;
17193
+ const database = params.database;
17194
+ const projectId = params.projectId;
17195
+ const collectionId = params.collectionId;
17196
+ const documentId = params.documentId;
17197
+ const apiPath = '/manager/cache';
17198
+ const payload = {};
17199
+ if (typeof region !== 'undefined') {
17200
+ payload['region'] = region;
17201
+ }
17202
+ if (typeof cache !== 'undefined') {
17203
+ payload['cache'] = cache;
17204
+ }
17205
+ if (typeof all !== 'undefined') {
17206
+ payload['all'] = all;
17207
+ }
17208
+ if (typeof database !== 'undefined') {
17209
+ payload['database'] = database;
17210
+ }
17211
+ if (typeof projectId !== 'undefined') {
17212
+ payload['projectId'] = projectId;
17213
+ }
17214
+ if (typeof collectionId !== 'undefined') {
17215
+ payload['collectionId'] = collectionId;
17216
+ }
17217
+ if (typeof documentId !== 'undefined') {
17218
+ payload['documentId'] = documentId;
17219
+ }
17220
+ const uri = new URL(this.client.config.endpoint + apiPath);
17221
+ const apiHeaders = {
17222
+ 'content-type': 'application/json',
17223
+ };
17224
+ return this.client.call('delete', uri, apiHeaders, payload);
17225
+ }
17042
17226
  updateUserStatus(paramsOrFirst, ...rest) {
17043
17227
  let params;
17044
17228
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -20679,6 +20863,308 @@
20679
20863
  }
20680
20864
  }
20681
20865
 
20866
+ class Organization {
20867
+ constructor(client) {
20868
+ this.client = client;
20869
+ }
20870
+ listKeys(paramsOrFirst, ...rest) {
20871
+ let params;
20872
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
20873
+ params = (paramsOrFirst || {});
20874
+ }
20875
+ else {
20876
+ params = {
20877
+ queries: paramsOrFirst,
20878
+ total: rest[0]
20879
+ };
20880
+ }
20881
+ const queries = params.queries;
20882
+ const total = params.total;
20883
+ const apiPath = '/organization/keys';
20884
+ const payload = {};
20885
+ if (typeof queries !== 'undefined') {
20886
+ payload['queries'] = queries;
20887
+ }
20888
+ if (typeof total !== 'undefined') {
20889
+ payload['total'] = total;
20890
+ }
20891
+ const uri = new URL(this.client.config.endpoint + apiPath);
20892
+ const apiHeaders = {};
20893
+ return this.client.call('get', uri, apiHeaders, payload);
20894
+ }
20895
+ createKey(paramsOrFirst, ...rest) {
20896
+ let params;
20897
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
20898
+ params = (paramsOrFirst || {});
20899
+ }
20900
+ else {
20901
+ params = {
20902
+ keyId: paramsOrFirst,
20903
+ name: rest[0],
20904
+ scopes: rest[1],
20905
+ expire: rest[2]
20906
+ };
20907
+ }
20908
+ const keyId = params.keyId;
20909
+ const name = params.name;
20910
+ const scopes = params.scopes;
20911
+ const expire = params.expire;
20912
+ if (typeof keyId === 'undefined') {
20913
+ throw new AppwriteException('Missing required parameter: "keyId"');
20914
+ }
20915
+ if (typeof name === 'undefined') {
20916
+ throw new AppwriteException('Missing required parameter: "name"');
20917
+ }
20918
+ if (typeof scopes === 'undefined') {
20919
+ throw new AppwriteException('Missing required parameter: "scopes"');
20920
+ }
20921
+ const apiPath = '/organization/keys';
20922
+ const payload = {};
20923
+ if (typeof keyId !== 'undefined') {
20924
+ payload['keyId'] = keyId;
20925
+ }
20926
+ if (typeof name !== 'undefined') {
20927
+ payload['name'] = name;
20928
+ }
20929
+ if (typeof scopes !== 'undefined') {
20930
+ payload['scopes'] = scopes;
20931
+ }
20932
+ if (typeof expire !== 'undefined') {
20933
+ payload['expire'] = expire;
20934
+ }
20935
+ const uri = new URL(this.client.config.endpoint + apiPath);
20936
+ const apiHeaders = {
20937
+ 'content-type': 'application/json',
20938
+ };
20939
+ return this.client.call('post', uri, apiHeaders, payload);
20940
+ }
20941
+ getKey(paramsOrFirst) {
20942
+ let params;
20943
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
20944
+ params = (paramsOrFirst || {});
20945
+ }
20946
+ else {
20947
+ params = {
20948
+ keyId: paramsOrFirst
20949
+ };
20950
+ }
20951
+ const keyId = params.keyId;
20952
+ if (typeof keyId === 'undefined') {
20953
+ throw new AppwriteException('Missing required parameter: "keyId"');
20954
+ }
20955
+ const apiPath = '/organization/keys/{keyId}'.replace('{keyId}', keyId);
20956
+ const payload = {};
20957
+ const uri = new URL(this.client.config.endpoint + apiPath);
20958
+ const apiHeaders = {};
20959
+ return this.client.call('get', uri, apiHeaders, payload);
20960
+ }
20961
+ updateKey(paramsOrFirst, ...rest) {
20962
+ let params;
20963
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
20964
+ params = (paramsOrFirst || {});
20965
+ }
20966
+ else {
20967
+ params = {
20968
+ keyId: paramsOrFirst,
20969
+ name: rest[0],
20970
+ scopes: rest[1],
20971
+ expire: rest[2]
20972
+ };
20973
+ }
20974
+ const keyId = params.keyId;
20975
+ const name = params.name;
20976
+ const scopes = params.scopes;
20977
+ const expire = params.expire;
20978
+ if (typeof keyId === 'undefined') {
20979
+ throw new AppwriteException('Missing required parameter: "keyId"');
20980
+ }
20981
+ if (typeof name === 'undefined') {
20982
+ throw new AppwriteException('Missing required parameter: "name"');
20983
+ }
20984
+ if (typeof scopes === 'undefined') {
20985
+ throw new AppwriteException('Missing required parameter: "scopes"');
20986
+ }
20987
+ const apiPath = '/organization/keys/{keyId}'.replace('{keyId}', keyId);
20988
+ const payload = {};
20989
+ if (typeof name !== 'undefined') {
20990
+ payload['name'] = name;
20991
+ }
20992
+ if (typeof scopes !== 'undefined') {
20993
+ payload['scopes'] = scopes;
20994
+ }
20995
+ if (typeof expire !== 'undefined') {
20996
+ payload['expire'] = expire;
20997
+ }
20998
+ const uri = new URL(this.client.config.endpoint + apiPath);
20999
+ const apiHeaders = {
21000
+ 'content-type': 'application/json',
21001
+ };
21002
+ return this.client.call('put', uri, apiHeaders, payload);
21003
+ }
21004
+ deleteKey(paramsOrFirst) {
21005
+ let params;
21006
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21007
+ params = (paramsOrFirst || {});
21008
+ }
21009
+ else {
21010
+ params = {
21011
+ keyId: paramsOrFirst
21012
+ };
21013
+ }
21014
+ const keyId = params.keyId;
21015
+ if (typeof keyId === 'undefined') {
21016
+ throw new AppwriteException('Missing required parameter: "keyId"');
21017
+ }
21018
+ const apiPath = '/organization/keys/{keyId}'.replace('{keyId}', keyId);
21019
+ const payload = {};
21020
+ const uri = new URL(this.client.config.endpoint + apiPath);
21021
+ const apiHeaders = {
21022
+ 'content-type': 'application/json',
21023
+ };
21024
+ return this.client.call('delete', uri, apiHeaders, payload);
21025
+ }
21026
+ listProjects(paramsOrFirst, ...rest) {
21027
+ let params;
21028
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21029
+ params = (paramsOrFirst || {});
21030
+ }
21031
+ else {
21032
+ params = {
21033
+ queries: paramsOrFirst,
21034
+ search: rest[0],
21035
+ total: rest[1]
21036
+ };
21037
+ }
21038
+ const queries = params.queries;
21039
+ const search = params.search;
21040
+ const total = params.total;
21041
+ const apiPath = '/organization/projects';
21042
+ const payload = {};
21043
+ if (typeof queries !== 'undefined') {
21044
+ payload['queries'] = queries;
21045
+ }
21046
+ if (typeof search !== 'undefined') {
21047
+ payload['search'] = search;
21048
+ }
21049
+ if (typeof total !== 'undefined') {
21050
+ payload['total'] = total;
21051
+ }
21052
+ const uri = new URL(this.client.config.endpoint + apiPath);
21053
+ const apiHeaders = {};
21054
+ return this.client.call('get', uri, apiHeaders, payload);
21055
+ }
21056
+ createProject(paramsOrFirst, ...rest) {
21057
+ let params;
21058
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21059
+ params = (paramsOrFirst || {});
21060
+ }
21061
+ else {
21062
+ params = {
21063
+ projectId: paramsOrFirst,
21064
+ name: rest[0],
21065
+ region: rest[1]
21066
+ };
21067
+ }
21068
+ const projectId = params.projectId;
21069
+ const name = params.name;
21070
+ const region = params.region;
21071
+ if (typeof projectId === 'undefined') {
21072
+ throw new AppwriteException('Missing required parameter: "projectId"');
21073
+ }
21074
+ if (typeof name === 'undefined') {
21075
+ throw new AppwriteException('Missing required parameter: "name"');
21076
+ }
21077
+ const apiPath = '/organization/projects';
21078
+ const payload = {};
21079
+ if (typeof projectId !== 'undefined') {
21080
+ payload['projectId'] = projectId;
21081
+ }
21082
+ if (typeof name !== 'undefined') {
21083
+ payload['name'] = name;
21084
+ }
21085
+ if (typeof region !== 'undefined') {
21086
+ payload['region'] = region;
21087
+ }
21088
+ const uri = new URL(this.client.config.endpoint + apiPath);
21089
+ const apiHeaders = {
21090
+ 'content-type': 'application/json',
21091
+ };
21092
+ return this.client.call('post', uri, apiHeaders, payload);
21093
+ }
21094
+ getProject(paramsOrFirst) {
21095
+ let params;
21096
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21097
+ params = (paramsOrFirst || {});
21098
+ }
21099
+ else {
21100
+ params = {
21101
+ projectId: paramsOrFirst
21102
+ };
21103
+ }
21104
+ const projectId = params.projectId;
21105
+ if (typeof projectId === 'undefined') {
21106
+ throw new AppwriteException('Missing required parameter: "projectId"');
21107
+ }
21108
+ const apiPath = '/organization/projects/{projectId}'.replace('{projectId}', projectId);
21109
+ const payload = {};
21110
+ const uri = new URL(this.client.config.endpoint + apiPath);
21111
+ const apiHeaders = {};
21112
+ return this.client.call('get', uri, apiHeaders, payload);
21113
+ }
21114
+ updateProject(paramsOrFirst, ...rest) {
21115
+ let params;
21116
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21117
+ params = (paramsOrFirst || {});
21118
+ }
21119
+ else {
21120
+ params = {
21121
+ projectId: paramsOrFirst,
21122
+ name: rest[0]
21123
+ };
21124
+ }
21125
+ const projectId = params.projectId;
21126
+ const name = params.name;
21127
+ if (typeof projectId === 'undefined') {
21128
+ throw new AppwriteException('Missing required parameter: "projectId"');
21129
+ }
21130
+ if (typeof name === 'undefined') {
21131
+ throw new AppwriteException('Missing required parameter: "name"');
21132
+ }
21133
+ const apiPath = '/organization/projects/{projectId}'.replace('{projectId}', projectId);
21134
+ const payload = {};
21135
+ if (typeof name !== 'undefined') {
21136
+ payload['name'] = name;
21137
+ }
21138
+ const uri = new URL(this.client.config.endpoint + apiPath);
21139
+ const apiHeaders = {
21140
+ 'content-type': 'application/json',
21141
+ };
21142
+ return this.client.call('patch', uri, apiHeaders, payload);
21143
+ }
21144
+ deleteProject(paramsOrFirst) {
21145
+ let params;
21146
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21147
+ params = (paramsOrFirst || {});
21148
+ }
21149
+ else {
21150
+ params = {
21151
+ projectId: paramsOrFirst
21152
+ };
21153
+ }
21154
+ const projectId = params.projectId;
21155
+ if (typeof projectId === 'undefined') {
21156
+ throw new AppwriteException('Missing required parameter: "projectId"');
21157
+ }
21158
+ const apiPath = '/organization/projects/{projectId}'.replace('{projectId}', projectId);
21159
+ const payload = {};
21160
+ const uri = new URL(this.client.config.endpoint + apiPath);
21161
+ const apiHeaders = {
21162
+ 'content-type': 'application/json',
21163
+ };
21164
+ return this.client.call('delete', uri, apiHeaders, payload);
21165
+ }
21166
+ }
21167
+
20682
21168
  class Organizations {
20683
21169
  constructor(client) {
20684
21170
  this.client = client;
@@ -21577,174 +22063,6 @@
21577
22063
  const apiHeaders = {};
21578
22064
  return this.client.call('get', uri, apiHeaders, payload);
21579
22065
  }
21580
- listKeys(paramsOrFirst, ...rest) {
21581
- let params;
21582
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21583
- params = (paramsOrFirst || {});
21584
- }
21585
- else {
21586
- params = {
21587
- organizationId: paramsOrFirst,
21588
- total: rest[0]
21589
- };
21590
- }
21591
- const organizationId = params.organizationId;
21592
- const total = params.total;
21593
- if (typeof organizationId === 'undefined') {
21594
- throw new AppwriteException('Missing required parameter: "organizationId"');
21595
- }
21596
- const apiPath = '/organizations/{organizationId}/keys'.replace('{organizationId}', organizationId);
21597
- const payload = {};
21598
- if (typeof total !== 'undefined') {
21599
- payload['total'] = total;
21600
- }
21601
- const uri = new URL(this.client.config.endpoint + apiPath);
21602
- const apiHeaders = {};
21603
- return this.client.call('get', uri, apiHeaders, payload);
21604
- }
21605
- createKey(paramsOrFirst, ...rest) {
21606
- let params;
21607
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21608
- params = (paramsOrFirst || {});
21609
- }
21610
- else {
21611
- params = {
21612
- organizationId: paramsOrFirst,
21613
- name: rest[0],
21614
- scopes: rest[1],
21615
- expire: rest[2]
21616
- };
21617
- }
21618
- const organizationId = params.organizationId;
21619
- const name = params.name;
21620
- const scopes = params.scopes;
21621
- const expire = params.expire;
21622
- if (typeof organizationId === 'undefined') {
21623
- throw new AppwriteException('Missing required parameter: "organizationId"');
21624
- }
21625
- if (typeof name === 'undefined') {
21626
- throw new AppwriteException('Missing required parameter: "name"');
21627
- }
21628
- if (typeof scopes === 'undefined') {
21629
- throw new AppwriteException('Missing required parameter: "scopes"');
21630
- }
21631
- const apiPath = '/organizations/{organizationId}/keys'.replace('{organizationId}', organizationId);
21632
- const payload = {};
21633
- if (typeof name !== 'undefined') {
21634
- payload['name'] = name;
21635
- }
21636
- if (typeof scopes !== 'undefined') {
21637
- payload['scopes'] = scopes;
21638
- }
21639
- if (typeof expire !== 'undefined') {
21640
- payload['expire'] = expire;
21641
- }
21642
- const uri = new URL(this.client.config.endpoint + apiPath);
21643
- const apiHeaders = {
21644
- 'content-type': 'application/json',
21645
- };
21646
- return this.client.call('post', uri, apiHeaders, payload);
21647
- }
21648
- getKey(paramsOrFirst, ...rest) {
21649
- let params;
21650
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21651
- params = (paramsOrFirst || {});
21652
- }
21653
- else {
21654
- params = {
21655
- organizationId: paramsOrFirst,
21656
- keyId: rest[0]
21657
- };
21658
- }
21659
- const organizationId = params.organizationId;
21660
- const keyId = params.keyId;
21661
- if (typeof organizationId === 'undefined') {
21662
- throw new AppwriteException('Missing required parameter: "organizationId"');
21663
- }
21664
- if (typeof keyId === 'undefined') {
21665
- throw new AppwriteException('Missing required parameter: "keyId"');
21666
- }
21667
- const apiPath = '/organizations/{organizationId}/keys/{keyId}'.replace('{organizationId}', organizationId).replace('{keyId}', keyId);
21668
- const payload = {};
21669
- const uri = new URL(this.client.config.endpoint + apiPath);
21670
- const apiHeaders = {};
21671
- return this.client.call('get', uri, apiHeaders, payload);
21672
- }
21673
- updateKey(paramsOrFirst, ...rest) {
21674
- let params;
21675
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21676
- params = (paramsOrFirst || {});
21677
- }
21678
- else {
21679
- params = {
21680
- organizationId: paramsOrFirst,
21681
- keyId: rest[0],
21682
- name: rest[1],
21683
- scopes: rest[2],
21684
- expire: rest[3]
21685
- };
21686
- }
21687
- const organizationId = params.organizationId;
21688
- const keyId = params.keyId;
21689
- const name = params.name;
21690
- const scopes = params.scopes;
21691
- const expire = params.expire;
21692
- if (typeof organizationId === 'undefined') {
21693
- throw new AppwriteException('Missing required parameter: "organizationId"');
21694
- }
21695
- if (typeof keyId === 'undefined') {
21696
- throw new AppwriteException('Missing required parameter: "keyId"');
21697
- }
21698
- if (typeof name === 'undefined') {
21699
- throw new AppwriteException('Missing required parameter: "name"');
21700
- }
21701
- if (typeof scopes === 'undefined') {
21702
- throw new AppwriteException('Missing required parameter: "scopes"');
21703
- }
21704
- const apiPath = '/organizations/{organizationId}/keys/{keyId}'.replace('{organizationId}', organizationId).replace('{keyId}', keyId);
21705
- const payload = {};
21706
- if (typeof name !== 'undefined') {
21707
- payload['name'] = name;
21708
- }
21709
- if (typeof scopes !== 'undefined') {
21710
- payload['scopes'] = scopes;
21711
- }
21712
- if (typeof expire !== 'undefined') {
21713
- payload['expire'] = expire;
21714
- }
21715
- const uri = new URL(this.client.config.endpoint + apiPath);
21716
- const apiHeaders = {
21717
- 'content-type': 'application/json',
21718
- };
21719
- return this.client.call('put', uri, apiHeaders, payload);
21720
- }
21721
- deleteKey(paramsOrFirst, ...rest) {
21722
- let params;
21723
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
21724
- params = (paramsOrFirst || {});
21725
- }
21726
- else {
21727
- params = {
21728
- organizationId: paramsOrFirst,
21729
- keyId: rest[0]
21730
- };
21731
- }
21732
- const organizationId = params.organizationId;
21733
- const keyId = params.keyId;
21734
- if (typeof organizationId === 'undefined') {
21735
- throw new AppwriteException('Missing required parameter: "organizationId"');
21736
- }
21737
- if (typeof keyId === 'undefined') {
21738
- throw new AppwriteException('Missing required parameter: "keyId"');
21739
- }
21740
- const apiPath = '/organizations/{organizationId}/keys/{keyId}'.replace('{organizationId}', organizationId).replace('{keyId}', keyId);
21741
- const payload = {};
21742
- const uri = new URL(this.client.config.endpoint + apiPath);
21743
- const apiHeaders = {
21744
- 'content-type': 'application/json',
21745
- };
21746
- return this.client.call('delete', uri, apiHeaders, payload);
21747
- }
21748
22066
  setDefaultPaymentMethod(paramsOrFirst, ...rest) {
21749
22067
  let params;
21750
22068
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -22150,73 +22468,165 @@
22150
22468
  }
22151
22469
  }
22152
22470
 
22153
- class Project {
22471
+ class Presences {
22154
22472
  constructor(client) {
22155
22473
  this.client = client;
22156
22474
  }
22157
- /**
22158
- * Delete a project.
22159
- *
22160
- * @throws {AppwriteException}
22161
- * @returns {Promise<{}>}
22162
- */
22163
- delete() {
22164
- const apiPath = '/project';
22475
+ list(paramsOrFirst, ...rest) {
22476
+ let params;
22477
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
22478
+ params = (paramsOrFirst || {});
22479
+ }
22480
+ else {
22481
+ params = {
22482
+ queries: paramsOrFirst,
22483
+ total: rest[0],
22484
+ ttl: rest[1]
22485
+ };
22486
+ }
22487
+ const queries = params.queries;
22488
+ const total = params.total;
22489
+ const ttl = params.ttl;
22490
+ const apiPath = '/presences';
22165
22491
  const payload = {};
22492
+ if (typeof queries !== 'undefined') {
22493
+ payload['queries'] = queries;
22494
+ }
22495
+ if (typeof total !== 'undefined') {
22496
+ payload['total'] = total;
22497
+ }
22498
+ if (typeof ttl !== 'undefined') {
22499
+ payload['ttl'] = ttl;
22500
+ }
22166
22501
  const uri = new URL(this.client.config.endpoint + apiPath);
22167
- const apiHeaders = {
22168
- 'content-type': 'application/json',
22169
- };
22170
- return this.client.call('delete', uri, apiHeaders, payload);
22502
+ const apiHeaders = {};
22503
+ return this.client.call('get', uri, apiHeaders, payload);
22171
22504
  }
22172
- updateAuthMethod(paramsOrFirst, ...rest) {
22505
+ getUsage(paramsOrFirst) {
22173
22506
  let params;
22174
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('methodId' in paramsOrFirst || 'enabled' in paramsOrFirst))) {
22507
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('range' in paramsOrFirst))) {
22175
22508
  params = (paramsOrFirst || {});
22176
22509
  }
22177
22510
  else {
22178
22511
  params = {
22179
- methodId: paramsOrFirst,
22180
- enabled: rest[0]
22512
+ range: paramsOrFirst
22181
22513
  };
22182
22514
  }
22183
- const methodId = params.methodId;
22184
- const enabled = params.enabled;
22185
- if (typeof methodId === 'undefined') {
22186
- throw new AppwriteException('Missing required parameter: "methodId"');
22515
+ const range = params.range;
22516
+ const apiPath = '/presences/usage';
22517
+ const payload = {};
22518
+ if (typeof range !== 'undefined') {
22519
+ payload['range'] = range;
22187
22520
  }
22188
- if (typeof enabled === 'undefined') {
22189
- throw new AppwriteException('Missing required parameter: "enabled"');
22521
+ const uri = new URL(this.client.config.endpoint + apiPath);
22522
+ const apiHeaders = {};
22523
+ return this.client.call('get', uri, apiHeaders, payload);
22524
+ }
22525
+ get(paramsOrFirst) {
22526
+ let params;
22527
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
22528
+ params = (paramsOrFirst || {});
22190
22529
  }
22191
- const apiPath = '/project/auth-methods/{methodId}'.replace('{methodId}', methodId);
22530
+ else {
22531
+ params = {
22532
+ presenceId: paramsOrFirst
22533
+ };
22534
+ }
22535
+ const presenceId = params.presenceId;
22536
+ if (typeof presenceId === 'undefined') {
22537
+ throw new AppwriteException('Missing required parameter: "presenceId"');
22538
+ }
22539
+ const apiPath = '/presences/{presenceId}'.replace('{presenceId}', presenceId);
22192
22540
  const payload = {};
22193
- if (typeof enabled !== 'undefined') {
22194
- payload['enabled'] = enabled;
22541
+ const uri = new URL(this.client.config.endpoint + apiPath);
22542
+ const apiHeaders = {};
22543
+ return this.client.call('get', uri, apiHeaders, payload);
22544
+ }
22545
+ upsert(paramsOrFirst, ...rest) {
22546
+ let params;
22547
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
22548
+ params = (paramsOrFirst || {});
22549
+ }
22550
+ else {
22551
+ params = {
22552
+ presenceId: paramsOrFirst,
22553
+ status: rest[0],
22554
+ permissions: rest[1],
22555
+ expiresAt: rest[2],
22556
+ metadata: rest[3]
22557
+ };
22558
+ }
22559
+ const presenceId = params.presenceId;
22560
+ const status = params.status;
22561
+ const permissions = params.permissions;
22562
+ const expiresAt = params.expiresAt;
22563
+ const metadata = params.metadata;
22564
+ if (typeof presenceId === 'undefined') {
22565
+ throw new AppwriteException('Missing required parameter: "presenceId"');
22566
+ }
22567
+ if (typeof status === 'undefined') {
22568
+ throw new AppwriteException('Missing required parameter: "status"');
22569
+ }
22570
+ const apiPath = '/presences/{presenceId}'.replace('{presenceId}', presenceId);
22571
+ const payload = {};
22572
+ if (typeof status !== 'undefined') {
22573
+ payload['status'] = status;
22574
+ }
22575
+ if (typeof permissions !== 'undefined') {
22576
+ payload['permissions'] = permissions;
22577
+ }
22578
+ if (typeof expiresAt !== 'undefined') {
22579
+ payload['expiresAt'] = expiresAt;
22580
+ }
22581
+ if (typeof metadata !== 'undefined') {
22582
+ payload['metadata'] = metadata;
22195
22583
  }
22196
22584
  const uri = new URL(this.client.config.endpoint + apiPath);
22197
22585
  const apiHeaders = {
22198
22586
  'content-type': 'application/json',
22199
22587
  };
22200
- return this.client.call('patch', uri, apiHeaders, payload);
22588
+ return this.client.call('put', uri, apiHeaders, payload);
22201
22589
  }
22202
- updateCanonicalEmails(paramsOrFirst) {
22590
+ update(paramsOrFirst, ...rest) {
22203
22591
  let params;
22204
22592
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
22205
22593
  params = (paramsOrFirst || {});
22206
22594
  }
22207
22595
  else {
22208
22596
  params = {
22209
- enabled: paramsOrFirst
22597
+ presenceId: paramsOrFirst,
22598
+ status: rest[0],
22599
+ expiresAt: rest[1],
22600
+ metadata: rest[2],
22601
+ permissions: rest[3],
22602
+ purge: rest[4]
22210
22603
  };
22211
22604
  }
22212
- const enabled = params.enabled;
22213
- if (typeof enabled === 'undefined') {
22214
- throw new AppwriteException('Missing required parameter: "enabled"');
22605
+ const presenceId = params.presenceId;
22606
+ const status = params.status;
22607
+ const expiresAt = params.expiresAt;
22608
+ const metadata = params.metadata;
22609
+ const permissions = params.permissions;
22610
+ const purge = params.purge;
22611
+ if (typeof presenceId === 'undefined') {
22612
+ throw new AppwriteException('Missing required parameter: "presenceId"');
22215
22613
  }
22216
- const apiPath = '/project/auth/canonical-emails';
22614
+ const apiPath = '/presences/{presenceId}'.replace('{presenceId}', presenceId);
22217
22615
  const payload = {};
22218
- if (typeof enabled !== 'undefined') {
22219
- payload['enabled'] = enabled;
22616
+ if (typeof status !== 'undefined') {
22617
+ payload['status'] = status;
22618
+ }
22619
+ if (typeof expiresAt !== 'undefined') {
22620
+ payload['expiresAt'] = expiresAt;
22621
+ }
22622
+ if (typeof metadata !== 'undefined') {
22623
+ payload['metadata'] = metadata;
22624
+ }
22625
+ if (typeof permissions !== 'undefined') {
22626
+ payload['permissions'] = permissions;
22627
+ }
22628
+ if (typeof purge !== 'undefined') {
22629
+ payload['purge'] = purge;
22220
22630
  }
22221
22631
  const uri = new URL(this.client.config.endpoint + apiPath);
22222
22632
  const apiHeaders = {
@@ -22224,46 +22634,82 @@
22224
22634
  };
22225
22635
  return this.client.call('patch', uri, apiHeaders, payload);
22226
22636
  }
22227
- updateDisposableEmails(paramsOrFirst) {
22637
+ delete(paramsOrFirst) {
22228
22638
  let params;
22229
22639
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
22230
22640
  params = (paramsOrFirst || {});
22231
22641
  }
22232
22642
  else {
22233
22643
  params = {
22234
- enabled: paramsOrFirst
22644
+ presenceId: paramsOrFirst
22235
22645
  };
22236
22646
  }
22237
- const enabled = params.enabled;
22238
- if (typeof enabled === 'undefined') {
22239
- throw new AppwriteException('Missing required parameter: "enabled"');
22647
+ const presenceId = params.presenceId;
22648
+ if (typeof presenceId === 'undefined') {
22649
+ throw new AppwriteException('Missing required parameter: "presenceId"');
22240
22650
  }
22241
- const apiPath = '/project/auth/disposable-emails';
22651
+ const apiPath = '/presences/{presenceId}'.replace('{presenceId}', presenceId);
22242
22652
  const payload = {};
22243
- if (typeof enabled !== 'undefined') {
22244
- payload['enabled'] = enabled;
22245
- }
22246
22653
  const uri = new URL(this.client.config.endpoint + apiPath);
22247
22654
  const apiHeaders = {
22248
22655
  'content-type': 'application/json',
22249
22656
  };
22250
- return this.client.call('patch', uri, apiHeaders, payload);
22657
+ return this.client.call('delete', uri, apiHeaders, payload);
22658
+ }
22659
+ }
22660
+
22661
+ class Project {
22662
+ constructor(client) {
22663
+ this.client = client;
22664
+ }
22665
+ /**
22666
+ * Get a project.
22667
+ *
22668
+ * @throws {AppwriteException}
22669
+ * @returns {Promise<Models.Project>}
22670
+ */
22671
+ get() {
22672
+ const apiPath = '/project';
22673
+ const payload = {};
22674
+ const uri = new URL(this.client.config.endpoint + apiPath);
22675
+ const apiHeaders = {};
22676
+ return this.client.call('get', uri, apiHeaders, payload);
22251
22677
  }
22252
- updateFreeEmails(paramsOrFirst) {
22678
+ /**
22679
+ * Delete a project.
22680
+ *
22681
+ * @throws {AppwriteException}
22682
+ * @returns {Promise<{}>}
22683
+ */
22684
+ delete() {
22685
+ const apiPath = '/project';
22686
+ const payload = {};
22687
+ const uri = new URL(this.client.config.endpoint + apiPath);
22688
+ const apiHeaders = {
22689
+ 'content-type': 'application/json',
22690
+ };
22691
+ return this.client.call('delete', uri, apiHeaders, payload);
22692
+ }
22693
+ updateAuthMethod(paramsOrFirst, ...rest) {
22253
22694
  let params;
22254
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
22695
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('methodId' in paramsOrFirst || 'enabled' in paramsOrFirst))) {
22255
22696
  params = (paramsOrFirst || {});
22256
22697
  }
22257
22698
  else {
22258
22699
  params = {
22259
- enabled: paramsOrFirst
22700
+ methodId: paramsOrFirst,
22701
+ enabled: rest[0]
22260
22702
  };
22261
22703
  }
22704
+ const methodId = params.methodId;
22262
22705
  const enabled = params.enabled;
22706
+ if (typeof methodId === 'undefined') {
22707
+ throw new AppwriteException('Missing required parameter: "methodId"');
22708
+ }
22263
22709
  if (typeof enabled === 'undefined') {
22264
22710
  throw new AppwriteException('Missing required parameter: "enabled"');
22265
22711
  }
22266
- const apiPath = '/project/auth/free-emails';
22712
+ const apiPath = '/project/auth-methods/{methodId}'.replace('{methodId}', methodId);
22267
22713
  const payload = {};
22268
22714
  if (typeof enabled !== 'undefined') {
22269
22715
  payload['enabled'] = enabled;
@@ -23258,11 +23704,13 @@
23258
23704
  params = {
23259
23705
  clientId: paramsOrFirst,
23260
23706
  clientSecret: rest[0],
23261
- enabled: rest[1]
23707
+ prompt: rest[1],
23708
+ enabled: rest[2]
23262
23709
  };
23263
23710
  }
23264
23711
  const clientId = params.clientId;
23265
23712
  const clientSecret = params.clientSecret;
23713
+ const prompt = params.prompt;
23266
23714
  const enabled = params.enabled;
23267
23715
  const apiPath = '/project/oauth2/google';
23268
23716
  const payload = {};
@@ -23272,6 +23720,9 @@
23272
23720
  if (typeof clientSecret !== 'undefined') {
23273
23721
  payload['clientSecret'] = clientSecret;
23274
23722
  }
23723
+ if (typeof prompt !== 'undefined') {
23724
+ payload['prompt'] = prompt;
23725
+ }
23275
23726
  if (typeof enabled !== 'undefined') {
23276
23727
  payload['enabled'] = enabled;
23277
23728
  }
@@ -24569,6 +25020,81 @@
24569
25020
  const apiHeaders = {};
24570
25021
  return this.client.call('get', uri, apiHeaders, payload);
24571
25022
  }
25023
+ updateDenyAliasedEmailPolicy(paramsOrFirst) {
25024
+ let params;
25025
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
25026
+ params = (paramsOrFirst || {});
25027
+ }
25028
+ else {
25029
+ params = {
25030
+ enabled: paramsOrFirst
25031
+ };
25032
+ }
25033
+ const enabled = params.enabled;
25034
+ if (typeof enabled === 'undefined') {
25035
+ throw new AppwriteException('Missing required parameter: "enabled"');
25036
+ }
25037
+ const apiPath = '/project/policies/deny-aliased-email';
25038
+ const payload = {};
25039
+ if (typeof enabled !== 'undefined') {
25040
+ payload['enabled'] = enabled;
25041
+ }
25042
+ const uri = new URL(this.client.config.endpoint + apiPath);
25043
+ const apiHeaders = {
25044
+ 'content-type': 'application/json',
25045
+ };
25046
+ return this.client.call('patch', uri, apiHeaders, payload);
25047
+ }
25048
+ updateDenyDisposableEmailPolicy(paramsOrFirst) {
25049
+ let params;
25050
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
25051
+ params = (paramsOrFirst || {});
25052
+ }
25053
+ else {
25054
+ params = {
25055
+ enabled: paramsOrFirst
25056
+ };
25057
+ }
25058
+ const enabled = params.enabled;
25059
+ if (typeof enabled === 'undefined') {
25060
+ throw new AppwriteException('Missing required parameter: "enabled"');
25061
+ }
25062
+ const apiPath = '/project/policies/deny-disposable-email';
25063
+ const payload = {};
25064
+ if (typeof enabled !== 'undefined') {
25065
+ payload['enabled'] = enabled;
25066
+ }
25067
+ const uri = new URL(this.client.config.endpoint + apiPath);
25068
+ const apiHeaders = {
25069
+ 'content-type': 'application/json',
25070
+ };
25071
+ return this.client.call('patch', uri, apiHeaders, payload);
25072
+ }
25073
+ updateDenyFreeEmailPolicy(paramsOrFirst) {
25074
+ let params;
25075
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
25076
+ params = (paramsOrFirst || {});
25077
+ }
25078
+ else {
25079
+ params = {
25080
+ enabled: paramsOrFirst
25081
+ };
25082
+ }
25083
+ const enabled = params.enabled;
25084
+ if (typeof enabled === 'undefined') {
25085
+ throw new AppwriteException('Missing required parameter: "enabled"');
25086
+ }
25087
+ const apiPath = '/project/policies/deny-free-email';
25088
+ const payload = {};
25089
+ if (typeof enabled !== 'undefined') {
25090
+ payload['enabled'] = enabled;
25091
+ }
25092
+ const uri = new URL(this.client.config.endpoint + apiPath);
25093
+ const apiHeaders = {
25094
+ 'content-type': 'application/json',
25095
+ };
25096
+ return this.client.call('patch', uri, apiHeaders, payload);
25097
+ }
24572
25098
  updateMembershipPrivacyPolicy(paramsOrFirst, ...rest) {
24573
25099
  let params;
24574
25100
  if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -25285,222 +25811,6 @@
25285
25811
  constructor(client) {
25286
25812
  this.client = client;
25287
25813
  }
25288
- list(paramsOrFirst, ...rest) {
25289
- let params;
25290
- if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
25291
- params = (paramsOrFirst || {});
25292
- }
25293
- else {
25294
- params = {
25295
- queries: paramsOrFirst,
25296
- search: rest[0],
25297
- total: rest[1]
25298
- };
25299
- }
25300
- const queries = params.queries;
25301
- const search = params.search;
25302
- const total = params.total;
25303
- const apiPath = '/projects';
25304
- const payload = {};
25305
- if (typeof queries !== 'undefined') {
25306
- payload['queries'] = queries;
25307
- }
25308
- if (typeof search !== 'undefined') {
25309
- payload['search'] = search;
25310
- }
25311
- if (typeof total !== 'undefined') {
25312
- payload['total'] = total;
25313
- }
25314
- const uri = new URL(this.client.config.endpoint + apiPath);
25315
- const apiHeaders = {};
25316
- return this.client.call('get', uri, apiHeaders, payload);
25317
- }
25318
- create(paramsOrFirst, ...rest) {
25319
- let params;
25320
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
25321
- params = (paramsOrFirst || {});
25322
- }
25323
- else {
25324
- params = {
25325
- projectId: paramsOrFirst,
25326
- name: rest[0],
25327
- teamId: rest[1],
25328
- region: rest[2],
25329
- description: rest[3],
25330
- logo: rest[4],
25331
- url: rest[5],
25332
- legalName: rest[6],
25333
- legalCountry: rest[7],
25334
- legalState: rest[8],
25335
- legalCity: rest[9],
25336
- legalAddress: rest[10],
25337
- legalTaxId: rest[11]
25338
- };
25339
- }
25340
- const projectId = params.projectId;
25341
- const name = params.name;
25342
- const teamId = params.teamId;
25343
- const region = params.region;
25344
- const description = params.description;
25345
- const logo = params.logo;
25346
- const url = params.url;
25347
- const legalName = params.legalName;
25348
- const legalCountry = params.legalCountry;
25349
- const legalState = params.legalState;
25350
- const legalCity = params.legalCity;
25351
- const legalAddress = params.legalAddress;
25352
- const legalTaxId = params.legalTaxId;
25353
- if (typeof projectId === 'undefined') {
25354
- throw new AppwriteException('Missing required parameter: "projectId"');
25355
- }
25356
- if (typeof name === 'undefined') {
25357
- throw new AppwriteException('Missing required parameter: "name"');
25358
- }
25359
- if (typeof teamId === 'undefined') {
25360
- throw new AppwriteException('Missing required parameter: "teamId"');
25361
- }
25362
- const apiPath = '/projects';
25363
- const payload = {};
25364
- if (typeof projectId !== 'undefined') {
25365
- payload['projectId'] = projectId;
25366
- }
25367
- if (typeof name !== 'undefined') {
25368
- payload['name'] = name;
25369
- }
25370
- if (typeof teamId !== 'undefined') {
25371
- payload['teamId'] = teamId;
25372
- }
25373
- if (typeof region !== 'undefined') {
25374
- payload['region'] = region;
25375
- }
25376
- if (typeof description !== 'undefined') {
25377
- payload['description'] = description;
25378
- }
25379
- if (typeof logo !== 'undefined') {
25380
- payload['logo'] = logo;
25381
- }
25382
- if (typeof url !== 'undefined') {
25383
- payload['url'] = url;
25384
- }
25385
- if (typeof legalName !== 'undefined') {
25386
- payload['legalName'] = legalName;
25387
- }
25388
- if (typeof legalCountry !== 'undefined') {
25389
- payload['legalCountry'] = legalCountry;
25390
- }
25391
- if (typeof legalState !== 'undefined') {
25392
- payload['legalState'] = legalState;
25393
- }
25394
- if (typeof legalCity !== 'undefined') {
25395
- payload['legalCity'] = legalCity;
25396
- }
25397
- if (typeof legalAddress !== 'undefined') {
25398
- payload['legalAddress'] = legalAddress;
25399
- }
25400
- if (typeof legalTaxId !== 'undefined') {
25401
- payload['legalTaxId'] = legalTaxId;
25402
- }
25403
- const uri = new URL(this.client.config.endpoint + apiPath);
25404
- const apiHeaders = {
25405
- 'content-type': 'application/json',
25406
- };
25407
- return this.client.call('post', uri, apiHeaders, payload);
25408
- }
25409
- get(paramsOrFirst) {
25410
- let params;
25411
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
25412
- params = (paramsOrFirst || {});
25413
- }
25414
- else {
25415
- params = {
25416
- projectId: paramsOrFirst
25417
- };
25418
- }
25419
- const projectId = params.projectId;
25420
- if (typeof projectId === 'undefined') {
25421
- throw new AppwriteException('Missing required parameter: "projectId"');
25422
- }
25423
- const apiPath = '/projects/{projectId}'.replace('{projectId}', projectId);
25424
- const payload = {};
25425
- const uri = new URL(this.client.config.endpoint + apiPath);
25426
- const apiHeaders = {};
25427
- return this.client.call('get', uri, apiHeaders, payload);
25428
- }
25429
- update(paramsOrFirst, ...rest) {
25430
- let params;
25431
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
25432
- params = (paramsOrFirst || {});
25433
- }
25434
- else {
25435
- params = {
25436
- projectId: paramsOrFirst,
25437
- name: rest[0],
25438
- description: rest[1],
25439
- logo: rest[2],
25440
- url: rest[3],
25441
- legalName: rest[4],
25442
- legalCountry: rest[5],
25443
- legalState: rest[6],
25444
- legalCity: rest[7],
25445
- legalAddress: rest[8],
25446
- legalTaxId: rest[9]
25447
- };
25448
- }
25449
- const projectId = params.projectId;
25450
- const name = params.name;
25451
- const description = params.description;
25452
- const logo = params.logo;
25453
- const url = params.url;
25454
- const legalName = params.legalName;
25455
- const legalCountry = params.legalCountry;
25456
- const legalState = params.legalState;
25457
- const legalCity = params.legalCity;
25458
- const legalAddress = params.legalAddress;
25459
- const legalTaxId = params.legalTaxId;
25460
- if (typeof projectId === 'undefined') {
25461
- throw new AppwriteException('Missing required parameter: "projectId"');
25462
- }
25463
- if (typeof name === 'undefined') {
25464
- throw new AppwriteException('Missing required parameter: "name"');
25465
- }
25466
- const apiPath = '/projects/{projectId}'.replace('{projectId}', projectId);
25467
- const payload = {};
25468
- if (typeof name !== 'undefined') {
25469
- payload['name'] = name;
25470
- }
25471
- if (typeof description !== 'undefined') {
25472
- payload['description'] = description;
25473
- }
25474
- if (typeof logo !== 'undefined') {
25475
- payload['logo'] = logo;
25476
- }
25477
- if (typeof url !== 'undefined') {
25478
- payload['url'] = url;
25479
- }
25480
- if (typeof legalName !== 'undefined') {
25481
- payload['legalName'] = legalName;
25482
- }
25483
- if (typeof legalCountry !== 'undefined') {
25484
- payload['legalCountry'] = legalCountry;
25485
- }
25486
- if (typeof legalState !== 'undefined') {
25487
- payload['legalState'] = legalState;
25488
- }
25489
- if (typeof legalCity !== 'undefined') {
25490
- payload['legalCity'] = legalCity;
25491
- }
25492
- if (typeof legalAddress !== 'undefined') {
25493
- payload['legalAddress'] = legalAddress;
25494
- }
25495
- if (typeof legalTaxId !== 'undefined') {
25496
- payload['legalTaxId'] = legalTaxId;
25497
- }
25498
- const uri = new URL(this.client.config.endpoint + apiPath);
25499
- const apiHeaders = {
25500
- 'content-type': 'application/json',
25501
- };
25502
- return this.client.call('patch', uri, apiHeaders, payload);
25503
- }
25504
25814
  updateConsoleAccess(paramsOrFirst) {
25505
25815
  let params;
25506
25816
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -26166,9 +26476,11 @@
26166
26476
  providerBranch: rest[14],
26167
26477
  providerSilentMode: rest[15],
26168
26478
  providerRootDirectory: rest[16],
26169
- buildSpecification: rest[17],
26170
- runtimeSpecification: rest[18],
26171
- deploymentRetention: rest[19]
26479
+ providerBranches: rest[17],
26480
+ providerPaths: rest[18],
26481
+ buildSpecification: rest[19],
26482
+ runtimeSpecification: rest[20],
26483
+ deploymentRetention: rest[21]
26172
26484
  };
26173
26485
  }
26174
26486
  const siteId = params.siteId;
@@ -26189,6 +26501,8 @@
26189
26501
  const providerBranch = params.providerBranch;
26190
26502
  const providerSilentMode = params.providerSilentMode;
26191
26503
  const providerRootDirectory = params.providerRootDirectory;
26504
+ const providerBranches = params.providerBranches;
26505
+ const providerPaths = params.providerPaths;
26192
26506
  const buildSpecification = params.buildSpecification;
26193
26507
  const runtimeSpecification = params.runtimeSpecification;
26194
26508
  const deploymentRetention = params.deploymentRetention;
@@ -26260,6 +26574,12 @@
26260
26574
  if (typeof providerRootDirectory !== 'undefined') {
26261
26575
  payload['providerRootDirectory'] = providerRootDirectory;
26262
26576
  }
26577
+ if (typeof providerBranches !== 'undefined') {
26578
+ payload['providerBranches'] = providerBranches;
26579
+ }
26580
+ if (typeof providerPaths !== 'undefined') {
26581
+ payload['providerPaths'] = providerPaths;
26582
+ }
26263
26583
  if (typeof buildSpecification !== 'undefined') {
26264
26584
  payload['buildSpecification'] = buildSpecification;
26265
26585
  }
@@ -26421,9 +26741,11 @@
26421
26741
  providerBranch: rest[14],
26422
26742
  providerSilentMode: rest[15],
26423
26743
  providerRootDirectory: rest[16],
26424
- buildSpecification: rest[17],
26425
- runtimeSpecification: rest[18],
26426
- deploymentRetention: rest[19]
26744
+ providerBranches: rest[17],
26745
+ providerPaths: rest[18],
26746
+ buildSpecification: rest[19],
26747
+ runtimeSpecification: rest[20],
26748
+ deploymentRetention: rest[21]
26427
26749
  };
26428
26750
  }
26429
26751
  const siteId = params.siteId;
@@ -26444,6 +26766,8 @@
26444
26766
  const providerBranch = params.providerBranch;
26445
26767
  const providerSilentMode = params.providerSilentMode;
26446
26768
  const providerRootDirectory = params.providerRootDirectory;
26769
+ const providerBranches = params.providerBranches;
26770
+ const providerPaths = params.providerPaths;
26447
26771
  const buildSpecification = params.buildSpecification;
26448
26772
  const runtimeSpecification = params.runtimeSpecification;
26449
26773
  const deploymentRetention = params.deploymentRetention;
@@ -26509,6 +26833,12 @@
26509
26833
  if (typeof providerRootDirectory !== 'undefined') {
26510
26834
  payload['providerRootDirectory'] = providerRootDirectory;
26511
26835
  }
26836
+ if (typeof providerBranches !== 'undefined') {
26837
+ payload['providerBranches'] = providerBranches;
26838
+ }
26839
+ if (typeof providerPaths !== 'undefined') {
26840
+ payload['providerPaths'] = providerPaths;
26841
+ }
26512
26842
  if (typeof buildSpecification !== 'undefined') {
26513
26843
  payload['buildSpecification'] = buildSpecification;
26514
26844
  }
@@ -31818,6 +32148,62 @@
31818
32148
  }
31819
32149
  }
31820
32150
 
32151
+ class Usage {
32152
+ constructor(client) {
32153
+ this.client = client;
32154
+ }
32155
+ listEvents(paramsOrFirst, ...rest) {
32156
+ let params;
32157
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
32158
+ params = (paramsOrFirst || {});
32159
+ }
32160
+ else {
32161
+ params = {
32162
+ queries: paramsOrFirst,
32163
+ total: rest[0]
32164
+ };
32165
+ }
32166
+ const queries = params.queries;
32167
+ const total = params.total;
32168
+ const apiPath = '/usage/events';
32169
+ const payload = {};
32170
+ if (typeof queries !== 'undefined') {
32171
+ payload['queries'] = queries;
32172
+ }
32173
+ if (typeof total !== 'undefined') {
32174
+ payload['total'] = total;
32175
+ }
32176
+ const uri = new URL(this.client.config.endpoint + apiPath);
32177
+ const apiHeaders = {};
32178
+ return this.client.call('get', uri, apiHeaders, payload);
32179
+ }
32180
+ listGauges(paramsOrFirst, ...rest) {
32181
+ let params;
32182
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
32183
+ params = (paramsOrFirst || {});
32184
+ }
32185
+ else {
32186
+ params = {
32187
+ queries: paramsOrFirst,
32188
+ total: rest[0]
32189
+ };
32190
+ }
32191
+ const queries = params.queries;
32192
+ const total = params.total;
32193
+ const apiPath = '/usage/gauges';
32194
+ const payload = {};
32195
+ if (typeof queries !== 'undefined') {
32196
+ payload['queries'] = queries;
32197
+ }
32198
+ if (typeof total !== 'undefined') {
32199
+ payload['total'] = total;
32200
+ }
32201
+ const uri = new URL(this.client.config.endpoint + apiPath);
32202
+ const apiHeaders = {};
32203
+ return this.client.call('get', uri, apiHeaders, payload);
32204
+ }
32205
+ }
32206
+
31821
32207
  class Users {
31822
32208
  constructor(client) {
31823
32209
  this.client = client;
@@ -33750,21 +34136,16 @@
33750
34136
  else {
33751
34137
  params = {
33752
34138
  queries: paramsOrFirst,
33753
- search: rest[0],
33754
- total: rest[1]
34139
+ total: rest[0]
33755
34140
  };
33756
34141
  }
33757
34142
  const queries = params.queries;
33758
- const search = params.search;
33759
34143
  const total = params.total;
33760
34144
  const apiPath = '/vectorsdb';
33761
34145
  const payload = {};
33762
34146
  if (typeof queries !== 'undefined') {
33763
34147
  payload['queries'] = queries;
33764
34148
  }
33765
- if (typeof search !== 'undefined') {
33766
- payload['search'] = search;
33767
- }
33768
34149
  if (typeof total !== 'undefined') {
33769
34150
  payload['total'] = total;
33770
34151
  }
@@ -35168,11 +35549,11 @@
35168
35549
  this.TYPE_EVENT = 'event';
35169
35550
  this.TYPE_PONG = 'pong';
35170
35551
  this.TYPE_CONNECTED = 'connected';
35171
- this.TYPE_RESPONSE = 'response';
35172
35552
  this.DEBOUNCE_MS = 1;
35173
35553
  this.HEARTBEAT_INTERVAL = 20000; // 20 seconds in milliseconds
35174
35554
  this.activeSubscriptions = new Map();
35175
35555
  this.pendingSubscribes = new Map();
35556
+ this.appConnected = false;
35176
35557
  this.subCallDepth = 0;
35177
35558
  this.reconnectAttempts = 0;
35178
35559
  this.connectionId = 0;
@@ -35223,9 +35604,35 @@
35223
35604
  this.heartbeatTimer = undefined;
35224
35605
  }
35225
35606
  }
35607
+ /**
35608
+ * Idempotent socket opener. Both `subscribe()` and `upsertPresence()` can
35609
+ * call this; the single-flight lock (`socketCreationPromise`) guarantees
35610
+ * only one `new WebSocket(...)` is ever in flight, so concurrent callers
35611
+ * join the same connection attempt instead of opening duplicates.
35612
+ *
35613
+ * Returns early when a healthy socket is already present.
35614
+ */
35226
35615
  createSocket() {
35227
35616
  return __awaiter(this, void 0, void 0, function* () {
35228
- if (this.activeSubscriptions.size === 0) {
35617
+ // Fast path: a usable socket is already there. No need to open another.
35618
+ if (this.socket && this.socket.readyState < WebSocket.CLOSING) {
35619
+ return;
35620
+ }
35621
+ // Another caller is already opening one — join it.
35622
+ if (this.socketCreationPromise) {
35623
+ return this.socketCreationPromise;
35624
+ }
35625
+ this.socketCreationPromise = this.createSocketLocked().finally(() => {
35626
+ this.socketCreationPromise = undefined;
35627
+ });
35628
+ return this.socketCreationPromise;
35629
+ });
35630
+ }
35631
+ createSocketLocked() {
35632
+ return __awaiter(this, void 0, void 0, function* () {
35633
+ // Nothing to do if there's neither a subscription nor a queued presence
35634
+ // that needs the wire. (Reconnect cleanup path also flows through here.)
35635
+ if (this.activeSubscriptions.size === 0 && !this.pendingPresence) {
35229
35636
  this.reconnect = false;
35230
35637
  yield this.closeSocket();
35231
35638
  return;
@@ -35252,6 +35659,15 @@
35252
35659
  this.reconnect = true;
35253
35660
  }
35254
35661
  return new Promise((resolve, reject) => {
35662
+ // Re-check the entry guard synchronously. `disconnect()` may have
35663
+ // run during the `await this.closeSocket()` above (or any other
35664
+ // await between the original guard and here), clearing every
35665
+ // subscription and the pending presence. In that case opening a
35666
+ // fresh socket would leak a connection with nothing attached.
35667
+ if (this.activeSubscriptions.size === 0 && !this.pendingPresence) {
35668
+ resolve();
35669
+ return;
35670
+ }
35255
35671
  try {
35256
35672
  const connectionId = ++this.connectionId;
35257
35673
  const socket = (this.socket = new WebSocket(url));
@@ -35280,6 +35696,7 @@
35280
35696
  if (connectionId !== this.connectionId || socket !== this.socket) {
35281
35697
  return;
35282
35698
  }
35699
+ this.appConnected = false;
35283
35700
  this.stopHeartbeat();
35284
35701
  this.onCloseCallbacks.forEach(callback => callback());
35285
35702
  if (!this.reconnect || event.code === RealtimeCode.POLICY_VIOLATION) {
@@ -35397,7 +35814,19 @@
35397
35814
  return __awaiter(this, void 0, void 0, function* () {
35398
35815
  this.activeSubscriptions.clear();
35399
35816
  this.pendingSubscribes.clear();
35817
+ this.pendingPresence = undefined;
35818
+ this.appConnected = false;
35400
35819
  this.reconnect = false;
35820
+ // Drop the in-flight single-flight slot. Promises can't be cancelled,
35821
+ // so the underlying createSocketLocked() promise may stay pending
35822
+ // forever — e.g. when closeSocket() below tears down a CONNECTING
35823
+ // socket, the `close` event fires but `open`/`error` never do, and
35824
+ // the inner `new Promise(...)` only resolves on those. Without this
35825
+ // line, the next subscribe()/upsertPresence() would join the orphan
35826
+ // promise via the single-flight gate and hang, leaving its pending
35827
+ // subscription queued with no socket ever opened. Mirrors the Swift
35828
+ // template's socketCreationTask cancel in disconnect().
35829
+ this.socketCreationPromise = undefined;
35401
35830
  yield this.closeSocket();
35402
35831
  });
35403
35832
  }
@@ -35405,6 +35834,18 @@
35405
35834
  if (!this.socket || this.socket.readyState !== WebSocket.OPEN) {
35406
35835
  return;
35407
35836
  }
35837
+ // The WebSocket 'open' event fires when the TCP/upgrade handshake
35838
+ // completes — but the server only accepts `subscribe` frames after
35839
+ // it has emitted its own application-level `connected` event (which
35840
+ // flips `appConnected` to true in handleResponseConnected). Sending
35841
+ // before then triggers a policy-violation close on real Appwrite,
35842
+ // which reconnects, which sends early again — i.e. a duplicate-
35843
+ // socket loop. handleResponseConnected re-enqueues every active
35844
+ // subscription and calls this method again once it's safe, so the
35845
+ // queued rows are guaranteed to be sent.
35846
+ if (!this.appConnected) {
35847
+ return;
35848
+ }
35408
35849
  if (this.pendingSubscribes.size < 1) {
35409
35850
  return;
35410
35851
  }
@@ -35534,6 +35975,63 @@
35534
35975
  return { unsubscribe, update, close };
35535
35976
  });
35536
35977
  }
35978
+ /**
35979
+ * Fire-and-forget presence upsert. Records the latest payload in state so
35980
+ * that — if the WebSocket isn't open yet, or later reconnects — only the
35981
+ * most recent presence is automatically (re)sent on the next `connected`
35982
+ * event. Repeated calls while the socket is closed collapse to the latest
35983
+ * payload (older ones are discarded).
35984
+ *
35985
+ * Returns a `Promise<void>` for API consistency; the promise resolves as
35986
+ * soon as the payload has been stored and the opportunistic send attempted.
35987
+ *
35988
+ * @param {RealtimePresenceCreate} params - Presence payload (status and presenceId required, permissions/metadata optional)
35989
+ */
35990
+ upsertPresence(params) {
35991
+ return __awaiter(this, void 0, void 0, function* () {
35992
+ const data = {
35993
+ status: params.status,
35994
+ presenceId: params.presenceId,
35995
+ };
35996
+ if (params.permissions !== undefined) {
35997
+ data.permissions = params.permissions;
35998
+ }
35999
+ if (params.metadata !== undefined) {
36000
+ data.metadata = params.metadata;
36001
+ }
36002
+ this.pendingPresence = data;
36003
+ // Both subscribe() and upsertPresence() may need to open the socket.
36004
+ // createSocket() is single-flight (see `socketCreationPromise`), so
36005
+ // calling it here is a no-op when a connection is already in flight or
36006
+ // healthy. Fire-and-forget keeps the documented fire-and-forget shape
36007
+ // of upsertPresence: the returned Promise resolves as soon as the
36008
+ // payload is stored.
36009
+ if (!this.socket || this.socket.readyState >= WebSocket.CLOSING) {
36010
+ this.createSocket().catch((error) => {
36011
+ console.error('Failed to open realtime socket for presence:', error);
36012
+ });
36013
+ }
36014
+ // Opportunistic send for the case where the socket is already past the
36015
+ // `connected` handshake. The gate inside flushPendingPresence keeps
36016
+ // this a no-op until appConnected flips to true.
36017
+ this.flushPendingPresence();
36018
+ });
36019
+ }
36020
+ flushPendingPresence() {
36021
+ if (!this.pendingPresence) {
36022
+ return;
36023
+ }
36024
+ if (!this.socket || this.socket.readyState !== WebSocket.OPEN) {
36025
+ return;
36026
+ }
36027
+ if (!this.appConnected) {
36028
+ return;
36029
+ }
36030
+ this.socket.send(JSONbig.stringify({
36031
+ type: 'presence',
36032
+ data: this.pendingPresence
36033
+ }));
36034
+ }
35537
36035
  handleMessage(message) {
35538
36036
  if (!message.type) {
35539
36037
  return;
@@ -35551,9 +36049,6 @@
35551
36049
  case this.TYPE_PONG:
35552
36050
  // Handle pong response if needed
35553
36051
  break;
35554
- case this.TYPE_RESPONSE:
35555
- this.handleResponseAction(message);
35556
- break;
35557
36052
  }
35558
36053
  }
35559
36054
  handleResponseConnected(message) {
@@ -35583,7 +36078,9 @@
35583
36078
  for (const subscriptionId of this.activeSubscriptions.keys()) {
35584
36079
  this.enqueuePendingSubscribe(subscriptionId);
35585
36080
  }
36081
+ this.appConnected = true;
35586
36082
  this.sendPendingSubscribes();
36083
+ this.flushPendingPresence();
35587
36084
  }
35588
36085
  handleResponseError(message) {
35589
36086
  var _a, _b;
@@ -35618,11 +36115,6 @@
35618
36115
  });
35619
36116
  }
35620
36117
  }
35621
- handleResponseAction(_message) {
35622
- // The SDK generates subscriptionIds client-side and sends them on every
35623
- // subscribe/unsubscribe, so subscribe/unsubscribe acks carry no state
35624
- // the SDK needs to reconcile.
35625
- }
35626
36118
  }
35627
36119
 
35628
36120
  /**
@@ -35858,6 +36350,9 @@
35858
36350
  static membership(id) {
35859
36351
  return new Channel(["memberships", normalize(id)]);
35860
36352
  }
36353
+ static presence(id) {
36354
+ return new Channel(["presences", normalize(id)]);
36355
+ }
35861
36356
  static account() {
35862
36357
  return "account";
35863
36358
  }
@@ -35880,6 +36375,9 @@
35880
36375
  static memberships() {
35881
36376
  return "memberships";
35882
36377
  }
36378
+ static presences() {
36379
+ return "presences";
36380
+ }
35883
36381
  }
35884
36382
 
35885
36383
  exports.Condition = void 0;
@@ -36147,101 +36645,12 @@
36147
36645
  */
36148
36646
  Operator.dateSetNow = () => new Operator("dateSetNow", []).toString();
36149
36647
 
36150
- exports.Scopes = void 0;
36151
- (function (Scopes) {
36152
- Scopes["Account"] = "account";
36153
- Scopes["TeamsRead"] = "teams.read";
36154
- Scopes["TeamsWrite"] = "teams.write";
36155
- Scopes["ProjectRead"] = "project.read";
36156
- Scopes["ProjectWrite"] = "project.write";
36157
- Scopes["KeysRead"] = "keys.read";
36158
- Scopes["KeysWrite"] = "keys.write";
36159
- Scopes["PlatformsRead"] = "platforms.read";
36160
- Scopes["PlatformsWrite"] = "platforms.write";
36161
- Scopes["MocksRead"] = "mocks.read";
36162
- Scopes["MocksWrite"] = "mocks.write";
36163
- Scopes["PoliciesRead"] = "policies.read";
36164
- Scopes["PoliciesWrite"] = "policies.write";
36165
- Scopes["ProjectPoliciesRead"] = "project.policies.read";
36166
- Scopes["ProjectPoliciesWrite"] = "project.policies.write";
36167
- Scopes["TemplatesRead"] = "templates.read";
36168
- Scopes["TemplatesWrite"] = "templates.write";
36169
- Scopes["Oauth2Read"] = "oauth2.read";
36170
- Scopes["Oauth2Write"] = "oauth2.write";
36171
- Scopes["UsersRead"] = "users.read";
36172
- Scopes["UsersWrite"] = "users.write";
36173
- Scopes["SessionsRead"] = "sessions.read";
36174
- Scopes["SessionsWrite"] = "sessions.write";
36175
- Scopes["DatabasesRead"] = "databases.read";
36176
- Scopes["DatabasesWrite"] = "databases.write";
36177
- Scopes["TablesRead"] = "tables.read";
36178
- Scopes["TablesWrite"] = "tables.write";
36179
- Scopes["ColumnsRead"] = "columns.read";
36180
- Scopes["ColumnsWrite"] = "columns.write";
36181
- Scopes["IndexesRead"] = "indexes.read";
36182
- Scopes["IndexesWrite"] = "indexes.write";
36183
- Scopes["RowsRead"] = "rows.read";
36184
- Scopes["RowsWrite"] = "rows.write";
36185
- Scopes["CollectionsRead"] = "collections.read";
36186
- Scopes["CollectionsWrite"] = "collections.write";
36187
- Scopes["AttributesRead"] = "attributes.read";
36188
- Scopes["AttributesWrite"] = "attributes.write";
36189
- Scopes["DocumentsRead"] = "documents.read";
36190
- Scopes["DocumentsWrite"] = "documents.write";
36191
- Scopes["BucketsRead"] = "buckets.read";
36192
- Scopes["BucketsWrite"] = "buckets.write";
36193
- Scopes["FilesRead"] = "files.read";
36194
- Scopes["FilesWrite"] = "files.write";
36195
- Scopes["TokensRead"] = "tokens.read";
36196
- Scopes["TokensWrite"] = "tokens.write";
36197
- Scopes["FunctionsRead"] = "functions.read";
36198
- Scopes["FunctionsWrite"] = "functions.write";
36199
- Scopes["ExecutionsRead"] = "executions.read";
36200
- Scopes["ExecutionsWrite"] = "executions.write";
36201
- Scopes["ExecutionRead"] = "execution.read";
36202
- Scopes["ExecutionWrite"] = "execution.write";
36203
- Scopes["SitesRead"] = "sites.read";
36204
- Scopes["SitesWrite"] = "sites.write";
36205
- Scopes["LogRead"] = "log.read";
36206
- Scopes["LogWrite"] = "log.write";
36207
- Scopes["ProvidersRead"] = "providers.read";
36208
- Scopes["ProvidersWrite"] = "providers.write";
36209
- Scopes["TopicsRead"] = "topics.read";
36210
- Scopes["TopicsWrite"] = "topics.write";
36211
- Scopes["SubscribersRead"] = "subscribers.read";
36212
- Scopes["SubscribersWrite"] = "subscribers.write";
36213
- Scopes["TargetsRead"] = "targets.read";
36214
- Scopes["TargetsWrite"] = "targets.write";
36215
- Scopes["MessagesRead"] = "messages.read";
36216
- Scopes["MessagesWrite"] = "messages.write";
36217
- Scopes["RulesRead"] = "rules.read";
36218
- Scopes["RulesWrite"] = "rules.write";
36219
- Scopes["WebhooksRead"] = "webhooks.read";
36220
- Scopes["WebhooksWrite"] = "webhooks.write";
36221
- Scopes["LocaleRead"] = "locale.read";
36222
- Scopes["AvatarsRead"] = "avatars.read";
36223
- Scopes["HealthRead"] = "health.read";
36224
- Scopes["AssistantRead"] = "assistant.read";
36225
- Scopes["MigrationsRead"] = "migrations.read";
36226
- Scopes["MigrationsWrite"] = "migrations.write";
36227
- Scopes["SchedulesRead"] = "schedules.read";
36228
- Scopes["SchedulesWrite"] = "schedules.write";
36229
- Scopes["VcsRead"] = "vcs.read";
36230
- Scopes["VcsWrite"] = "vcs.write";
36231
- Scopes["BackupsPoliciesRead"] = "backups.policies.read";
36232
- Scopes["BackupsPoliciesWrite"] = "backups.policies.write";
36233
- Scopes["ArchivesRead"] = "archives.read";
36234
- Scopes["ArchivesWrite"] = "archives.write";
36235
- Scopes["RestorationsRead"] = "restorations.read";
36236
- Scopes["RestorationsWrite"] = "restorations.write";
36237
- Scopes["DomainsRead"] = "domains.read";
36238
- Scopes["DomainsWrite"] = "domains.write";
36239
- Scopes["EventsRead"] = "events.read";
36240
- Scopes["ProjectsRead"] = "projects.read";
36241
- Scopes["ProjectsWrite"] = "projects.write";
36242
- Scopes["DevKeysRead"] = "devKeys.read";
36243
- Scopes["DevKeysWrite"] = "devKeys.write";
36244
- })(exports.Scopes || (exports.Scopes = {}));
36648
+ exports.AccountKeyScopes = void 0;
36649
+ (function (AccountKeyScopes) {
36650
+ AccountKeyScopes["Account"] = "account";
36651
+ AccountKeyScopes["TeamsRead"] = "teams.read";
36652
+ AccountKeyScopes["TeamsWrite"] = "teams.write";
36653
+ })(exports.AccountKeyScopes || (exports.AccountKeyScopes = {}));
36245
36654
 
36246
36655
  exports.AuthenticatorType = void 0;
36247
36656
  (function (AuthenticatorType) {
@@ -36301,8 +36710,6 @@
36301
36710
  OAuthProvider["Yandex"] = "yandex";
36302
36711
  OAuthProvider["Zoho"] = "zoho";
36303
36712
  OAuthProvider["Zoom"] = "zoom";
36304
- OAuthProvider["GithubImagine"] = "githubImagine";
36305
- OAuthProvider["GoogleImagine"] = "googleImagine";
36306
36713
  })(exports.OAuthProvider || (exports.OAuthProvider = {}));
36307
36714
 
36308
36715
  exports.Browser = void 0;
@@ -36543,11 +36950,11 @@
36543
36950
  Flag["Zimbabwe"] = "zw";
36544
36951
  })(exports.Flag || (exports.Flag = {}));
36545
36952
 
36546
- exports.Theme = void 0;
36547
- (function (Theme) {
36548
- Theme["Light"] = "light";
36549
- Theme["Dark"] = "dark";
36550
- })(exports.Theme || (exports.Theme = {}));
36953
+ exports.BrowserTheme = void 0;
36954
+ (function (BrowserTheme) {
36955
+ BrowserTheme["Light"] = "light";
36956
+ BrowserTheme["Dark"] = "dark";
36957
+ })(exports.BrowserTheme || (exports.BrowserTheme = {}));
36551
36958
 
36552
36959
  exports.Timezone = void 0;
36553
36960
  (function (Timezone) {
@@ -37013,6 +37420,7 @@
37013
37420
  BackupServices["Tablesdb"] = "tablesdb";
37014
37421
  BackupServices["Documentsdb"] = "documentsdb";
37015
37422
  BackupServices["Vectorsdb"] = "vectorsdb";
37423
+ BackupServices["DedicatedDatabases"] = "dedicatedDatabases";
37016
37424
  BackupServices["Functions"] = "functions";
37017
37425
  BackupServices["Storage"] = "storage";
37018
37426
  })(exports.BackupServices || (exports.BackupServices = {}));
@@ -37058,6 +37466,8 @@
37058
37466
  QuerySuggestionResource["Repositories"] = "repositories";
37059
37467
  QuerySuggestionResource["VcsComments"] = "vcscomments";
37060
37468
  QuerySuggestionResource["VcsCommentLocks"] = "vcscommentlocks";
37469
+ QuerySuggestionResource["Reports"] = "reports";
37470
+ QuerySuggestionResource["Insights"] = "insights";
37061
37471
  QuerySuggestionResource["Users"] = "users";
37062
37472
  QuerySuggestionResource["Cache"] = "cache";
37063
37473
  QuerySuggestionResource["Tokens"] = "tokens";
@@ -37072,6 +37482,7 @@
37072
37482
  QuerySuggestionResource["Topics"] = "topics";
37073
37483
  QuerySuggestionResource["Subscribers"] = "subscribers";
37074
37484
  QuerySuggestionResource["Targets"] = "targets";
37485
+ QuerySuggestionResource["PresenceLogs"] = "presencelogs";
37075
37486
  QuerySuggestionResource["Companies"] = "companies";
37076
37487
  QuerySuggestionResource["BillingAddresses"] = "billingaddresses";
37077
37488
  QuerySuggestionResource["BillingAggregations"] = "billingaggregations";
@@ -37102,8 +37513,160 @@
37102
37513
  QuerySuggestionResource["Transactions"] = "transactions";
37103
37514
  QuerySuggestionResource["TransactionLogs"] = "transactionlogs";
37104
37515
  QuerySuggestionResource["Stats"] = "stats";
37516
+ QuerySuggestionResource["DedicatedDatabases"] = "dedicateddatabases";
37517
+ QuerySuggestionResource["DedicatedDatabaseConfigs"] = "dedicateddatabaseconfigs";
37518
+ QuerySuggestionResource["DedicatedDatabaseRuntimes"] = "dedicateddatabaseruntimes";
37519
+ QuerySuggestionResource["DedicatedDatabaseOperations"] = "dedicateddatabaseoperations";
37520
+ QuerySuggestionResource["DedicatedDatabaseBackups"] = "dedicateddatabasebackups";
37521
+ QuerySuggestionResource["DedicatedDatabaseRestorations"] = "dedicateddatabaserestorations";
37105
37522
  })(exports.QuerySuggestionResource || (exports.QuerySuggestionResource = {}));
37106
37523
 
37524
+ exports.ProjectEmailTemplateId = void 0;
37525
+ (function (ProjectEmailTemplateId) {
37526
+ ProjectEmailTemplateId["Verification"] = "verification";
37527
+ ProjectEmailTemplateId["MagicSession"] = "magicSession";
37528
+ ProjectEmailTemplateId["Recovery"] = "recovery";
37529
+ ProjectEmailTemplateId["Invitation"] = "invitation";
37530
+ ProjectEmailTemplateId["MfaChallenge"] = "mfaChallenge";
37531
+ ProjectEmailTemplateId["SessionAlert"] = "sessionAlert";
37532
+ ProjectEmailTemplateId["OtpSession"] = "otpSession";
37533
+ })(exports.ProjectEmailTemplateId || (exports.ProjectEmailTemplateId = {}));
37534
+
37535
+ exports.ProjectEmailTemplateLocale = void 0;
37536
+ (function (ProjectEmailTemplateLocale) {
37537
+ ProjectEmailTemplateLocale["Af"] = "af";
37538
+ ProjectEmailTemplateLocale["Arae"] = "ar-ae";
37539
+ ProjectEmailTemplateLocale["Arbh"] = "ar-bh";
37540
+ ProjectEmailTemplateLocale["Ardz"] = "ar-dz";
37541
+ ProjectEmailTemplateLocale["Areg"] = "ar-eg";
37542
+ ProjectEmailTemplateLocale["Ariq"] = "ar-iq";
37543
+ ProjectEmailTemplateLocale["Arjo"] = "ar-jo";
37544
+ ProjectEmailTemplateLocale["Arkw"] = "ar-kw";
37545
+ ProjectEmailTemplateLocale["Arlb"] = "ar-lb";
37546
+ ProjectEmailTemplateLocale["Arly"] = "ar-ly";
37547
+ ProjectEmailTemplateLocale["Arma"] = "ar-ma";
37548
+ ProjectEmailTemplateLocale["Arom"] = "ar-om";
37549
+ ProjectEmailTemplateLocale["Arqa"] = "ar-qa";
37550
+ ProjectEmailTemplateLocale["Arsa"] = "ar-sa";
37551
+ ProjectEmailTemplateLocale["Arsy"] = "ar-sy";
37552
+ ProjectEmailTemplateLocale["Artn"] = "ar-tn";
37553
+ ProjectEmailTemplateLocale["Arye"] = "ar-ye";
37554
+ ProjectEmailTemplateLocale["As"] = "as";
37555
+ ProjectEmailTemplateLocale["Az"] = "az";
37556
+ ProjectEmailTemplateLocale["Be"] = "be";
37557
+ ProjectEmailTemplateLocale["Bg"] = "bg";
37558
+ ProjectEmailTemplateLocale["Bh"] = "bh";
37559
+ ProjectEmailTemplateLocale["Bn"] = "bn";
37560
+ ProjectEmailTemplateLocale["Bs"] = "bs";
37561
+ ProjectEmailTemplateLocale["Ca"] = "ca";
37562
+ ProjectEmailTemplateLocale["Cs"] = "cs";
37563
+ ProjectEmailTemplateLocale["Cy"] = "cy";
37564
+ ProjectEmailTemplateLocale["Da"] = "da";
37565
+ ProjectEmailTemplateLocale["De"] = "de";
37566
+ ProjectEmailTemplateLocale["Deat"] = "de-at";
37567
+ ProjectEmailTemplateLocale["Dech"] = "de-ch";
37568
+ ProjectEmailTemplateLocale["Deli"] = "de-li";
37569
+ ProjectEmailTemplateLocale["Delu"] = "de-lu";
37570
+ ProjectEmailTemplateLocale["El"] = "el";
37571
+ ProjectEmailTemplateLocale["En"] = "en";
37572
+ ProjectEmailTemplateLocale["Enau"] = "en-au";
37573
+ ProjectEmailTemplateLocale["Enbz"] = "en-bz";
37574
+ ProjectEmailTemplateLocale["Enca"] = "en-ca";
37575
+ ProjectEmailTemplateLocale["Engb"] = "en-gb";
37576
+ ProjectEmailTemplateLocale["Enie"] = "en-ie";
37577
+ ProjectEmailTemplateLocale["Enjm"] = "en-jm";
37578
+ ProjectEmailTemplateLocale["Ennz"] = "en-nz";
37579
+ ProjectEmailTemplateLocale["Entt"] = "en-tt";
37580
+ ProjectEmailTemplateLocale["Enus"] = "en-us";
37581
+ ProjectEmailTemplateLocale["Enza"] = "en-za";
37582
+ ProjectEmailTemplateLocale["Eo"] = "eo";
37583
+ ProjectEmailTemplateLocale["Es"] = "es";
37584
+ ProjectEmailTemplateLocale["Esar"] = "es-ar";
37585
+ ProjectEmailTemplateLocale["Esbo"] = "es-bo";
37586
+ ProjectEmailTemplateLocale["Escl"] = "es-cl";
37587
+ ProjectEmailTemplateLocale["Esco"] = "es-co";
37588
+ ProjectEmailTemplateLocale["Escr"] = "es-cr";
37589
+ ProjectEmailTemplateLocale["Esdo"] = "es-do";
37590
+ ProjectEmailTemplateLocale["Esec"] = "es-ec";
37591
+ ProjectEmailTemplateLocale["Esgt"] = "es-gt";
37592
+ ProjectEmailTemplateLocale["Eshn"] = "es-hn";
37593
+ ProjectEmailTemplateLocale["Esmx"] = "es-mx";
37594
+ ProjectEmailTemplateLocale["Esni"] = "es-ni";
37595
+ ProjectEmailTemplateLocale["Espa"] = "es-pa";
37596
+ ProjectEmailTemplateLocale["Espe"] = "es-pe";
37597
+ ProjectEmailTemplateLocale["Espr"] = "es-pr";
37598
+ ProjectEmailTemplateLocale["Espy"] = "es-py";
37599
+ ProjectEmailTemplateLocale["Essv"] = "es-sv";
37600
+ ProjectEmailTemplateLocale["Esuy"] = "es-uy";
37601
+ ProjectEmailTemplateLocale["Esve"] = "es-ve";
37602
+ ProjectEmailTemplateLocale["Et"] = "et";
37603
+ ProjectEmailTemplateLocale["Eu"] = "eu";
37604
+ ProjectEmailTemplateLocale["Fa"] = "fa";
37605
+ ProjectEmailTemplateLocale["Fi"] = "fi";
37606
+ ProjectEmailTemplateLocale["Fo"] = "fo";
37607
+ ProjectEmailTemplateLocale["Fr"] = "fr";
37608
+ ProjectEmailTemplateLocale["Frbe"] = "fr-be";
37609
+ ProjectEmailTemplateLocale["Frca"] = "fr-ca";
37610
+ ProjectEmailTemplateLocale["Frch"] = "fr-ch";
37611
+ ProjectEmailTemplateLocale["Frlu"] = "fr-lu";
37612
+ ProjectEmailTemplateLocale["Ga"] = "ga";
37613
+ ProjectEmailTemplateLocale["Gd"] = "gd";
37614
+ ProjectEmailTemplateLocale["He"] = "he";
37615
+ ProjectEmailTemplateLocale["Hi"] = "hi";
37616
+ ProjectEmailTemplateLocale["Hr"] = "hr";
37617
+ ProjectEmailTemplateLocale["Hu"] = "hu";
37618
+ ProjectEmailTemplateLocale["Id"] = "id";
37619
+ ProjectEmailTemplateLocale["Is"] = "is";
37620
+ ProjectEmailTemplateLocale["It"] = "it";
37621
+ ProjectEmailTemplateLocale["Itch"] = "it-ch";
37622
+ ProjectEmailTemplateLocale["Ja"] = "ja";
37623
+ ProjectEmailTemplateLocale["Ji"] = "ji";
37624
+ ProjectEmailTemplateLocale["Ko"] = "ko";
37625
+ ProjectEmailTemplateLocale["Ku"] = "ku";
37626
+ ProjectEmailTemplateLocale["Lt"] = "lt";
37627
+ ProjectEmailTemplateLocale["Lv"] = "lv";
37628
+ ProjectEmailTemplateLocale["Mk"] = "mk";
37629
+ ProjectEmailTemplateLocale["Ml"] = "ml";
37630
+ ProjectEmailTemplateLocale["Ms"] = "ms";
37631
+ ProjectEmailTemplateLocale["Mt"] = "mt";
37632
+ ProjectEmailTemplateLocale["Nb"] = "nb";
37633
+ ProjectEmailTemplateLocale["Ne"] = "ne";
37634
+ ProjectEmailTemplateLocale["Nl"] = "nl";
37635
+ ProjectEmailTemplateLocale["Nlbe"] = "nl-be";
37636
+ ProjectEmailTemplateLocale["Nn"] = "nn";
37637
+ ProjectEmailTemplateLocale["No"] = "no";
37638
+ ProjectEmailTemplateLocale["Pa"] = "pa";
37639
+ ProjectEmailTemplateLocale["Pl"] = "pl";
37640
+ ProjectEmailTemplateLocale["Pt"] = "pt";
37641
+ ProjectEmailTemplateLocale["Ptbr"] = "pt-br";
37642
+ ProjectEmailTemplateLocale["Rm"] = "rm";
37643
+ ProjectEmailTemplateLocale["Ro"] = "ro";
37644
+ ProjectEmailTemplateLocale["Romd"] = "ro-md";
37645
+ ProjectEmailTemplateLocale["Ru"] = "ru";
37646
+ ProjectEmailTemplateLocale["Rumd"] = "ru-md";
37647
+ ProjectEmailTemplateLocale["Sb"] = "sb";
37648
+ ProjectEmailTemplateLocale["Sk"] = "sk";
37649
+ ProjectEmailTemplateLocale["Sl"] = "sl";
37650
+ ProjectEmailTemplateLocale["Sq"] = "sq";
37651
+ ProjectEmailTemplateLocale["Sr"] = "sr";
37652
+ ProjectEmailTemplateLocale["Sv"] = "sv";
37653
+ ProjectEmailTemplateLocale["Svfi"] = "sv-fi";
37654
+ ProjectEmailTemplateLocale["Th"] = "th";
37655
+ ProjectEmailTemplateLocale["Tn"] = "tn";
37656
+ ProjectEmailTemplateLocale["Tr"] = "tr";
37657
+ ProjectEmailTemplateLocale["Ts"] = "ts";
37658
+ ProjectEmailTemplateLocale["Ua"] = "ua";
37659
+ ProjectEmailTemplateLocale["Ur"] = "ur";
37660
+ ProjectEmailTemplateLocale["Ve"] = "ve";
37661
+ ProjectEmailTemplateLocale["Vi"] = "vi";
37662
+ ProjectEmailTemplateLocale["Xh"] = "xh";
37663
+ ProjectEmailTemplateLocale["Zhcn"] = "zh-cn";
37664
+ ProjectEmailTemplateLocale["Zhhk"] = "zh-hk";
37665
+ ProjectEmailTemplateLocale["Zhsg"] = "zh-sg";
37666
+ ProjectEmailTemplateLocale["Zhtw"] = "zh-tw";
37667
+ ProjectEmailTemplateLocale["Zu"] = "zu";
37668
+ })(exports.ProjectEmailTemplateLocale || (exports.ProjectEmailTemplateLocale = {}));
37669
+
37107
37670
  exports.UsageRange = void 0;
37108
37671
  (function (UsageRange) {
37109
37672
  UsageRange["TwentyFourHours"] = "24h";
@@ -37147,223 +37710,223 @@
37147
37710
  DocumentsDBIndexType["Unique"] = "unique";
37148
37711
  })(exports.DocumentsDBIndexType || (exports.DocumentsDBIndexType = {}));
37149
37712
 
37150
- exports.RegistrationType = void 0;
37151
- (function (RegistrationType) {
37152
- RegistrationType["New"] = "new";
37153
- RegistrationType["Transfer"] = "transfer";
37154
- RegistrationType["Renewal"] = "renewal";
37155
- RegistrationType["Trade"] = "trade";
37156
- })(exports.RegistrationType || (exports.RegistrationType = {}));
37157
-
37158
- exports.FilterType = void 0;
37159
- (function (FilterType) {
37160
- FilterType["Premium"] = "premium";
37161
- FilterType["Suggestion"] = "suggestion";
37162
- })(exports.FilterType || (exports.FilterType = {}));
37163
-
37164
- exports.Runtime = void 0;
37165
- (function (Runtime) {
37166
- Runtime["Node145"] = "node-14.5";
37167
- Runtime["Node160"] = "node-16.0";
37168
- Runtime["Node180"] = "node-18.0";
37169
- Runtime["Node190"] = "node-19.0";
37170
- Runtime["Node200"] = "node-20.0";
37171
- Runtime["Node210"] = "node-21.0";
37172
- Runtime["Node22"] = "node-22";
37173
- Runtime["Node23"] = "node-23";
37174
- Runtime["Node24"] = "node-24";
37175
- Runtime["Node25"] = "node-25";
37176
- Runtime["Php80"] = "php-8.0";
37177
- Runtime["Php81"] = "php-8.1";
37178
- Runtime["Php82"] = "php-8.2";
37179
- Runtime["Php83"] = "php-8.3";
37180
- Runtime["Php84"] = "php-8.4";
37181
- Runtime["Ruby30"] = "ruby-3.0";
37182
- Runtime["Ruby31"] = "ruby-3.1";
37183
- Runtime["Ruby32"] = "ruby-3.2";
37184
- Runtime["Ruby33"] = "ruby-3.3";
37185
- Runtime["Ruby34"] = "ruby-3.4";
37186
- Runtime["Ruby40"] = "ruby-4.0";
37187
- Runtime["Python38"] = "python-3.8";
37188
- Runtime["Python39"] = "python-3.9";
37189
- Runtime["Python310"] = "python-3.10";
37190
- Runtime["Python311"] = "python-3.11";
37191
- Runtime["Python312"] = "python-3.12";
37192
- Runtime["Python313"] = "python-3.13";
37193
- Runtime["Python314"] = "python-3.14";
37194
- Runtime["Pythonml311"] = "python-ml-3.11";
37195
- Runtime["Pythonml312"] = "python-ml-3.12";
37196
- Runtime["Pythonml313"] = "python-ml-3.13";
37197
- Runtime["Deno140"] = "deno-1.40";
37198
- Runtime["Deno146"] = "deno-1.46";
37199
- Runtime["Deno20"] = "deno-2.0";
37200
- Runtime["Deno25"] = "deno-2.5";
37201
- Runtime["Deno26"] = "deno-2.6";
37202
- Runtime["Dart215"] = "dart-2.15";
37203
- Runtime["Dart216"] = "dart-2.16";
37204
- Runtime["Dart217"] = "dart-2.17";
37205
- Runtime["Dart218"] = "dart-2.18";
37206
- Runtime["Dart219"] = "dart-2.19";
37207
- Runtime["Dart30"] = "dart-3.0";
37208
- Runtime["Dart31"] = "dart-3.1";
37209
- Runtime["Dart33"] = "dart-3.3";
37210
- Runtime["Dart35"] = "dart-3.5";
37211
- Runtime["Dart38"] = "dart-3.8";
37212
- Runtime["Dart39"] = "dart-3.9";
37213
- Runtime["Dart310"] = "dart-3.10";
37214
- Runtime["Dart311"] = "dart-3.11";
37215
- Runtime["Dotnet60"] = "dotnet-6.0";
37216
- Runtime["Dotnet70"] = "dotnet-7.0";
37217
- Runtime["Dotnet80"] = "dotnet-8.0";
37218
- Runtime["Dotnet10"] = "dotnet-10";
37219
- Runtime["Java80"] = "java-8.0";
37220
- Runtime["Java110"] = "java-11.0";
37221
- Runtime["Java170"] = "java-17.0";
37222
- Runtime["Java180"] = "java-18.0";
37223
- Runtime["Java210"] = "java-21.0";
37224
- Runtime["Java22"] = "java-22";
37225
- Runtime["Java25"] = "java-25";
37226
- Runtime["Swift55"] = "swift-5.5";
37227
- Runtime["Swift58"] = "swift-5.8";
37228
- Runtime["Swift59"] = "swift-5.9";
37229
- Runtime["Swift510"] = "swift-5.10";
37230
- Runtime["Swift62"] = "swift-6.2";
37231
- Runtime["Kotlin16"] = "kotlin-1.6";
37232
- Runtime["Kotlin18"] = "kotlin-1.8";
37233
- Runtime["Kotlin19"] = "kotlin-1.9";
37234
- Runtime["Kotlin20"] = "kotlin-2.0";
37235
- Runtime["Kotlin23"] = "kotlin-2.3";
37236
- Runtime["Cpp17"] = "cpp-17";
37237
- Runtime["Cpp20"] = "cpp-20";
37238
- Runtime["Bun10"] = "bun-1.0";
37239
- Runtime["Bun11"] = "bun-1.1";
37240
- Runtime["Bun12"] = "bun-1.2";
37241
- Runtime["Bun13"] = "bun-1.3";
37242
- Runtime["Go123"] = "go-1.23";
37243
- Runtime["Go124"] = "go-1.24";
37244
- Runtime["Go125"] = "go-1.25";
37245
- Runtime["Go126"] = "go-1.26";
37246
- Runtime["Rust183"] = "rust-1.83";
37247
- Runtime["Static1"] = "static-1";
37248
- Runtime["Flutter324"] = "flutter-3.24";
37249
- Runtime["Flutter327"] = "flutter-3.27";
37250
- Runtime["Flutter329"] = "flutter-3.29";
37251
- Runtime["Flutter332"] = "flutter-3.32";
37252
- Runtime["Flutter335"] = "flutter-3.35";
37253
- Runtime["Flutter338"] = "flutter-3.38";
37254
- Runtime["Flutter341"] = "flutter-3.41";
37255
- })(exports.Runtime || (exports.Runtime = {}));
37256
-
37257
- exports.Runtimes = void 0;
37258
- (function (Runtimes) {
37259
- Runtimes["Node145"] = "node-14.5";
37260
- Runtimes["Node160"] = "node-16.0";
37261
- Runtimes["Node180"] = "node-18.0";
37262
- Runtimes["Node190"] = "node-19.0";
37263
- Runtimes["Node200"] = "node-20.0";
37264
- Runtimes["Node210"] = "node-21.0";
37265
- Runtimes["Node22"] = "node-22";
37266
- Runtimes["Node23"] = "node-23";
37267
- Runtimes["Node24"] = "node-24";
37268
- Runtimes["Node25"] = "node-25";
37269
- Runtimes["Php80"] = "php-8.0";
37270
- Runtimes["Php81"] = "php-8.1";
37271
- Runtimes["Php82"] = "php-8.2";
37272
- Runtimes["Php83"] = "php-8.3";
37273
- Runtimes["Php84"] = "php-8.4";
37274
- Runtimes["Ruby30"] = "ruby-3.0";
37275
- Runtimes["Ruby31"] = "ruby-3.1";
37276
- Runtimes["Ruby32"] = "ruby-3.2";
37277
- Runtimes["Ruby33"] = "ruby-3.3";
37278
- Runtimes["Ruby34"] = "ruby-3.4";
37279
- Runtimes["Ruby40"] = "ruby-4.0";
37280
- Runtimes["Python38"] = "python-3.8";
37281
- Runtimes["Python39"] = "python-3.9";
37282
- Runtimes["Python310"] = "python-3.10";
37283
- Runtimes["Python311"] = "python-3.11";
37284
- Runtimes["Python312"] = "python-3.12";
37285
- Runtimes["Python313"] = "python-3.13";
37286
- Runtimes["Python314"] = "python-3.14";
37287
- Runtimes["Pythonml311"] = "python-ml-3.11";
37288
- Runtimes["Pythonml312"] = "python-ml-3.12";
37289
- Runtimes["Pythonml313"] = "python-ml-3.13";
37290
- Runtimes["Deno140"] = "deno-1.40";
37291
- Runtimes["Deno146"] = "deno-1.46";
37292
- Runtimes["Deno20"] = "deno-2.0";
37293
- Runtimes["Deno25"] = "deno-2.5";
37294
- Runtimes["Deno26"] = "deno-2.6";
37295
- Runtimes["Dart215"] = "dart-2.15";
37296
- Runtimes["Dart216"] = "dart-2.16";
37297
- Runtimes["Dart217"] = "dart-2.17";
37298
- Runtimes["Dart218"] = "dart-2.18";
37299
- Runtimes["Dart219"] = "dart-2.19";
37300
- Runtimes["Dart30"] = "dart-3.0";
37301
- Runtimes["Dart31"] = "dart-3.1";
37302
- Runtimes["Dart33"] = "dart-3.3";
37303
- Runtimes["Dart35"] = "dart-3.5";
37304
- Runtimes["Dart38"] = "dart-3.8";
37305
- Runtimes["Dart39"] = "dart-3.9";
37306
- Runtimes["Dart310"] = "dart-3.10";
37307
- Runtimes["Dart311"] = "dart-3.11";
37308
- Runtimes["Dotnet60"] = "dotnet-6.0";
37309
- Runtimes["Dotnet70"] = "dotnet-7.0";
37310
- Runtimes["Dotnet80"] = "dotnet-8.0";
37311
- Runtimes["Dotnet10"] = "dotnet-10";
37312
- Runtimes["Java80"] = "java-8.0";
37313
- Runtimes["Java110"] = "java-11.0";
37314
- Runtimes["Java170"] = "java-17.0";
37315
- Runtimes["Java180"] = "java-18.0";
37316
- Runtimes["Java210"] = "java-21.0";
37317
- Runtimes["Java22"] = "java-22";
37318
- Runtimes["Java25"] = "java-25";
37319
- Runtimes["Swift55"] = "swift-5.5";
37320
- Runtimes["Swift58"] = "swift-5.8";
37321
- Runtimes["Swift59"] = "swift-5.9";
37322
- Runtimes["Swift510"] = "swift-5.10";
37323
- Runtimes["Swift62"] = "swift-6.2";
37324
- Runtimes["Kotlin16"] = "kotlin-1.6";
37325
- Runtimes["Kotlin18"] = "kotlin-1.8";
37326
- Runtimes["Kotlin19"] = "kotlin-1.9";
37327
- Runtimes["Kotlin20"] = "kotlin-2.0";
37328
- Runtimes["Kotlin23"] = "kotlin-2.3";
37329
- Runtimes["Cpp17"] = "cpp-17";
37330
- Runtimes["Cpp20"] = "cpp-20";
37331
- Runtimes["Bun10"] = "bun-1.0";
37332
- Runtimes["Bun11"] = "bun-1.1";
37333
- Runtimes["Bun12"] = "bun-1.2";
37334
- Runtimes["Bun13"] = "bun-1.3";
37335
- Runtimes["Go123"] = "go-1.23";
37336
- Runtimes["Go124"] = "go-1.24";
37337
- Runtimes["Go125"] = "go-1.25";
37338
- Runtimes["Go126"] = "go-1.26";
37339
- Runtimes["Rust183"] = "rust-1.83";
37340
- Runtimes["Static1"] = "static-1";
37341
- Runtimes["Flutter324"] = "flutter-3.24";
37342
- Runtimes["Flutter327"] = "flutter-3.27";
37343
- Runtimes["Flutter329"] = "flutter-3.29";
37344
- Runtimes["Flutter332"] = "flutter-3.32";
37345
- Runtimes["Flutter335"] = "flutter-3.35";
37346
- Runtimes["Flutter338"] = "flutter-3.38";
37347
- Runtimes["Flutter341"] = "flutter-3.41";
37348
- })(exports.Runtimes || (exports.Runtimes = {}));
37349
-
37350
- exports.UseCases = void 0;
37351
- (function (UseCases) {
37352
- UseCases["Starter"] = "starter";
37353
- UseCases["Databases"] = "databases";
37354
- UseCases["Ai"] = "ai";
37355
- UseCases["Messaging"] = "messaging";
37356
- UseCases["Utilities"] = "utilities";
37357
- UseCases["Devtools"] = "dev-tools";
37358
- UseCases["Auth"] = "auth";
37359
- UseCases["Portfolio"] = "portfolio";
37360
- UseCases["Events"] = "events";
37361
- UseCases["Ecommerce"] = "ecommerce";
37362
- UseCases["Documentation"] = "documentation";
37363
- UseCases["Blog"] = "blog";
37364
- UseCases["Forms"] = "forms";
37365
- UseCases["Dashboard"] = "dashboard";
37366
- })(exports.UseCases || (exports.UseCases = {}));
37713
+ exports.DomainRegistrationType = void 0;
37714
+ (function (DomainRegistrationType) {
37715
+ DomainRegistrationType["New"] = "new";
37716
+ DomainRegistrationType["Transfer"] = "transfer";
37717
+ DomainRegistrationType["Renewal"] = "renewal";
37718
+ DomainRegistrationType["Trade"] = "trade";
37719
+ })(exports.DomainRegistrationType || (exports.DomainRegistrationType = {}));
37720
+
37721
+ exports.DomainSuggestionType = void 0;
37722
+ (function (DomainSuggestionType) {
37723
+ DomainSuggestionType["Premium"] = "premium";
37724
+ DomainSuggestionType["Suggestion"] = "suggestion";
37725
+ })(exports.DomainSuggestionType || (exports.DomainSuggestionType = {}));
37726
+
37727
+ exports.FunctionRuntime = void 0;
37728
+ (function (FunctionRuntime) {
37729
+ FunctionRuntime["Node145"] = "node-14.5";
37730
+ FunctionRuntime["Node160"] = "node-16.0";
37731
+ FunctionRuntime["Node180"] = "node-18.0";
37732
+ FunctionRuntime["Node190"] = "node-19.0";
37733
+ FunctionRuntime["Node200"] = "node-20.0";
37734
+ FunctionRuntime["Node210"] = "node-21.0";
37735
+ FunctionRuntime["Node22"] = "node-22";
37736
+ FunctionRuntime["Node23"] = "node-23";
37737
+ FunctionRuntime["Node24"] = "node-24";
37738
+ FunctionRuntime["Node25"] = "node-25";
37739
+ FunctionRuntime["Php80"] = "php-8.0";
37740
+ FunctionRuntime["Php81"] = "php-8.1";
37741
+ FunctionRuntime["Php82"] = "php-8.2";
37742
+ FunctionRuntime["Php83"] = "php-8.3";
37743
+ FunctionRuntime["Php84"] = "php-8.4";
37744
+ FunctionRuntime["Ruby30"] = "ruby-3.0";
37745
+ FunctionRuntime["Ruby31"] = "ruby-3.1";
37746
+ FunctionRuntime["Ruby32"] = "ruby-3.2";
37747
+ FunctionRuntime["Ruby33"] = "ruby-3.3";
37748
+ FunctionRuntime["Ruby34"] = "ruby-3.4";
37749
+ FunctionRuntime["Ruby40"] = "ruby-4.0";
37750
+ FunctionRuntime["Python38"] = "python-3.8";
37751
+ FunctionRuntime["Python39"] = "python-3.9";
37752
+ FunctionRuntime["Python310"] = "python-3.10";
37753
+ FunctionRuntime["Python311"] = "python-3.11";
37754
+ FunctionRuntime["Python312"] = "python-3.12";
37755
+ FunctionRuntime["Python313"] = "python-3.13";
37756
+ FunctionRuntime["Python314"] = "python-3.14";
37757
+ FunctionRuntime["Pythonml311"] = "python-ml-3.11";
37758
+ FunctionRuntime["Pythonml312"] = "python-ml-3.12";
37759
+ FunctionRuntime["Pythonml313"] = "python-ml-3.13";
37760
+ FunctionRuntime["Deno140"] = "deno-1.40";
37761
+ FunctionRuntime["Deno146"] = "deno-1.46";
37762
+ FunctionRuntime["Deno20"] = "deno-2.0";
37763
+ FunctionRuntime["Deno25"] = "deno-2.5";
37764
+ FunctionRuntime["Deno26"] = "deno-2.6";
37765
+ FunctionRuntime["Dart215"] = "dart-2.15";
37766
+ FunctionRuntime["Dart216"] = "dart-2.16";
37767
+ FunctionRuntime["Dart217"] = "dart-2.17";
37768
+ FunctionRuntime["Dart218"] = "dart-2.18";
37769
+ FunctionRuntime["Dart219"] = "dart-2.19";
37770
+ FunctionRuntime["Dart30"] = "dart-3.0";
37771
+ FunctionRuntime["Dart31"] = "dart-3.1";
37772
+ FunctionRuntime["Dart33"] = "dart-3.3";
37773
+ FunctionRuntime["Dart35"] = "dart-3.5";
37774
+ FunctionRuntime["Dart38"] = "dart-3.8";
37775
+ FunctionRuntime["Dart39"] = "dart-3.9";
37776
+ FunctionRuntime["Dart310"] = "dart-3.10";
37777
+ FunctionRuntime["Dart311"] = "dart-3.11";
37778
+ FunctionRuntime["Dart312"] = "dart-3.12";
37779
+ FunctionRuntime["Dotnet60"] = "dotnet-6.0";
37780
+ FunctionRuntime["Dotnet70"] = "dotnet-7.0";
37781
+ FunctionRuntime["Dotnet80"] = "dotnet-8.0";
37782
+ FunctionRuntime["Dotnet10"] = "dotnet-10";
37783
+ FunctionRuntime["Java80"] = "java-8.0";
37784
+ FunctionRuntime["Java110"] = "java-11.0";
37785
+ FunctionRuntime["Java170"] = "java-17.0";
37786
+ FunctionRuntime["Java180"] = "java-18.0";
37787
+ FunctionRuntime["Java210"] = "java-21.0";
37788
+ FunctionRuntime["Java22"] = "java-22";
37789
+ FunctionRuntime["Java25"] = "java-25";
37790
+ FunctionRuntime["Swift55"] = "swift-5.5";
37791
+ FunctionRuntime["Swift58"] = "swift-5.8";
37792
+ FunctionRuntime["Swift59"] = "swift-5.9";
37793
+ FunctionRuntime["Swift510"] = "swift-5.10";
37794
+ FunctionRuntime["Swift62"] = "swift-6.2";
37795
+ FunctionRuntime["Kotlin16"] = "kotlin-1.6";
37796
+ FunctionRuntime["Kotlin18"] = "kotlin-1.8";
37797
+ FunctionRuntime["Kotlin19"] = "kotlin-1.9";
37798
+ FunctionRuntime["Kotlin20"] = "kotlin-2.0";
37799
+ FunctionRuntime["Kotlin23"] = "kotlin-2.3";
37800
+ FunctionRuntime["Cpp17"] = "cpp-17";
37801
+ FunctionRuntime["Cpp20"] = "cpp-20";
37802
+ FunctionRuntime["Bun10"] = "bun-1.0";
37803
+ FunctionRuntime["Bun11"] = "bun-1.1";
37804
+ FunctionRuntime["Bun12"] = "bun-1.2";
37805
+ FunctionRuntime["Bun13"] = "bun-1.3";
37806
+ FunctionRuntime["Go123"] = "go-1.23";
37807
+ FunctionRuntime["Go124"] = "go-1.24";
37808
+ FunctionRuntime["Go125"] = "go-1.25";
37809
+ FunctionRuntime["Go126"] = "go-1.26";
37810
+ FunctionRuntime["Rust183"] = "rust-1.83";
37811
+ FunctionRuntime["Static1"] = "static-1";
37812
+ FunctionRuntime["Flutter324"] = "flutter-3.24";
37813
+ FunctionRuntime["Flutter327"] = "flutter-3.27";
37814
+ FunctionRuntime["Flutter329"] = "flutter-3.29";
37815
+ FunctionRuntime["Flutter332"] = "flutter-3.32";
37816
+ FunctionRuntime["Flutter335"] = "flutter-3.35";
37817
+ FunctionRuntime["Flutter338"] = "flutter-3.38";
37818
+ FunctionRuntime["Flutter341"] = "flutter-3.41";
37819
+ FunctionRuntime["Flutter344"] = "flutter-3.44";
37820
+ })(exports.FunctionRuntime || (exports.FunctionRuntime = {}));
37821
+
37822
+ exports.ProjectKeyScopes = void 0;
37823
+ (function (ProjectKeyScopes) {
37824
+ ProjectKeyScopes["ProjectRead"] = "project.read";
37825
+ ProjectKeyScopes["ProjectWrite"] = "project.write";
37826
+ ProjectKeyScopes["KeysRead"] = "keys.read";
37827
+ ProjectKeyScopes["KeysWrite"] = "keys.write";
37828
+ ProjectKeyScopes["PlatformsRead"] = "platforms.read";
37829
+ ProjectKeyScopes["PlatformsWrite"] = "platforms.write";
37830
+ ProjectKeyScopes["MocksRead"] = "mocks.read";
37831
+ ProjectKeyScopes["MocksWrite"] = "mocks.write";
37832
+ ProjectKeyScopes["PoliciesRead"] = "policies.read";
37833
+ ProjectKeyScopes["PoliciesWrite"] = "policies.write";
37834
+ ProjectKeyScopes["ProjectPoliciesRead"] = "project.policies.read";
37835
+ ProjectKeyScopes["ProjectPoliciesWrite"] = "project.policies.write";
37836
+ ProjectKeyScopes["TemplatesRead"] = "templates.read";
37837
+ ProjectKeyScopes["TemplatesWrite"] = "templates.write";
37838
+ ProjectKeyScopes["Oauth2Read"] = "oauth2.read";
37839
+ ProjectKeyScopes["Oauth2Write"] = "oauth2.write";
37840
+ ProjectKeyScopes["UsersRead"] = "users.read";
37841
+ ProjectKeyScopes["UsersWrite"] = "users.write";
37842
+ ProjectKeyScopes["SessionsRead"] = "sessions.read";
37843
+ ProjectKeyScopes["SessionsWrite"] = "sessions.write";
37844
+ ProjectKeyScopes["TeamsRead"] = "teams.read";
37845
+ ProjectKeyScopes["TeamsWrite"] = "teams.write";
37846
+ ProjectKeyScopes["DatabasesRead"] = "databases.read";
37847
+ ProjectKeyScopes["DatabasesWrite"] = "databases.write";
37848
+ ProjectKeyScopes["TablesRead"] = "tables.read";
37849
+ ProjectKeyScopes["TablesWrite"] = "tables.write";
37850
+ ProjectKeyScopes["ColumnsRead"] = "columns.read";
37851
+ ProjectKeyScopes["ColumnsWrite"] = "columns.write";
37852
+ ProjectKeyScopes["IndexesRead"] = "indexes.read";
37853
+ ProjectKeyScopes["IndexesWrite"] = "indexes.write";
37854
+ ProjectKeyScopes["RowsRead"] = "rows.read";
37855
+ ProjectKeyScopes["RowsWrite"] = "rows.write";
37856
+ ProjectKeyScopes["CollectionsRead"] = "collections.read";
37857
+ ProjectKeyScopes["CollectionsWrite"] = "collections.write";
37858
+ ProjectKeyScopes["AttributesRead"] = "attributes.read";
37859
+ ProjectKeyScopes["AttributesWrite"] = "attributes.write";
37860
+ ProjectKeyScopes["DocumentsRead"] = "documents.read";
37861
+ ProjectKeyScopes["DocumentsWrite"] = "documents.write";
37862
+ ProjectKeyScopes["BucketsRead"] = "buckets.read";
37863
+ ProjectKeyScopes["BucketsWrite"] = "buckets.write";
37864
+ ProjectKeyScopes["FilesRead"] = "files.read";
37865
+ ProjectKeyScopes["FilesWrite"] = "files.write";
37866
+ ProjectKeyScopes["TokensRead"] = "tokens.read";
37867
+ ProjectKeyScopes["TokensWrite"] = "tokens.write";
37868
+ ProjectKeyScopes["FunctionsRead"] = "functions.read";
37869
+ ProjectKeyScopes["FunctionsWrite"] = "functions.write";
37870
+ ProjectKeyScopes["ExecutionsRead"] = "executions.read";
37871
+ ProjectKeyScopes["ExecutionsWrite"] = "executions.write";
37872
+ ProjectKeyScopes["ExecutionRead"] = "execution.read";
37873
+ ProjectKeyScopes["ExecutionWrite"] = "execution.write";
37874
+ ProjectKeyScopes["SitesRead"] = "sites.read";
37875
+ ProjectKeyScopes["SitesWrite"] = "sites.write";
37876
+ ProjectKeyScopes["LogRead"] = "log.read";
37877
+ ProjectKeyScopes["LogWrite"] = "log.write";
37878
+ ProjectKeyScopes["ProvidersRead"] = "providers.read";
37879
+ ProjectKeyScopes["ProvidersWrite"] = "providers.write";
37880
+ ProjectKeyScopes["TopicsRead"] = "topics.read";
37881
+ ProjectKeyScopes["TopicsWrite"] = "topics.write";
37882
+ ProjectKeyScopes["SubscribersRead"] = "subscribers.read";
37883
+ ProjectKeyScopes["SubscribersWrite"] = "subscribers.write";
37884
+ ProjectKeyScopes["TargetsRead"] = "targets.read";
37885
+ ProjectKeyScopes["TargetsWrite"] = "targets.write";
37886
+ ProjectKeyScopes["MessagesRead"] = "messages.read";
37887
+ ProjectKeyScopes["MessagesWrite"] = "messages.write";
37888
+ ProjectKeyScopes["RulesRead"] = "rules.read";
37889
+ ProjectKeyScopes["RulesWrite"] = "rules.write";
37890
+ ProjectKeyScopes["WebhooksRead"] = "webhooks.read";
37891
+ ProjectKeyScopes["WebhooksWrite"] = "webhooks.write";
37892
+ ProjectKeyScopes["LocaleRead"] = "locale.read";
37893
+ ProjectKeyScopes["AvatarsRead"] = "avatars.read";
37894
+ ProjectKeyScopes["HealthRead"] = "health.read";
37895
+ ProjectKeyScopes["AssistantRead"] = "assistant.read";
37896
+ ProjectKeyScopes["MigrationsRead"] = "migrations.read";
37897
+ ProjectKeyScopes["MigrationsWrite"] = "migrations.write";
37898
+ ProjectKeyScopes["SchedulesRead"] = "schedules.read";
37899
+ ProjectKeyScopes["SchedulesWrite"] = "schedules.write";
37900
+ ProjectKeyScopes["VcsRead"] = "vcs.read";
37901
+ ProjectKeyScopes["VcsWrite"] = "vcs.write";
37902
+ ProjectKeyScopes["InsightsRead"] = "insights.read";
37903
+ ProjectKeyScopes["InsightsWrite"] = "insights.write";
37904
+ ProjectKeyScopes["ReportsRead"] = "reports.read";
37905
+ ProjectKeyScopes["ReportsWrite"] = "reports.write";
37906
+ ProjectKeyScopes["PresencesRead"] = "presences.read";
37907
+ ProjectKeyScopes["PresencesWrite"] = "presences.write";
37908
+ ProjectKeyScopes["BackupsPoliciesRead"] = "backups.policies.read";
37909
+ ProjectKeyScopes["BackupsPoliciesWrite"] = "backups.policies.write";
37910
+ ProjectKeyScopes["ArchivesRead"] = "archives.read";
37911
+ ProjectKeyScopes["ArchivesWrite"] = "archives.write";
37912
+ ProjectKeyScopes["RestorationsRead"] = "restorations.read";
37913
+ ProjectKeyScopes["RestorationsWrite"] = "restorations.write";
37914
+ ProjectKeyScopes["DomainsRead"] = "domains.read";
37915
+ ProjectKeyScopes["DomainsWrite"] = "domains.write";
37916
+ ProjectKeyScopes["EventsRead"] = "events.read";
37917
+ ProjectKeyScopes["UsageRead"] = "usage.read";
37918
+ })(exports.ProjectKeyScopes || (exports.ProjectKeyScopes = {}));
37919
+
37920
+ exports.FunctionTemplateUseCase = void 0;
37921
+ (function (FunctionTemplateUseCase) {
37922
+ FunctionTemplateUseCase["Starter"] = "starter";
37923
+ FunctionTemplateUseCase["Databases"] = "databases";
37924
+ FunctionTemplateUseCase["Ai"] = "ai";
37925
+ FunctionTemplateUseCase["Messaging"] = "messaging";
37926
+ FunctionTemplateUseCase["Utilities"] = "utilities";
37927
+ FunctionTemplateUseCase["Devtools"] = "dev-tools";
37928
+ FunctionTemplateUseCase["Auth"] = "auth";
37929
+ })(exports.FunctionTemplateUseCase || (exports.FunctionTemplateUseCase = {}));
37367
37930
 
37368
37931
  exports.TemplateReferenceType = void 0;
37369
37932
  (function (TemplateReferenceType) {
@@ -37396,39 +37959,62 @@
37396
37959
  ExecutionMethod["HEAD"] = "HEAD";
37397
37960
  })(exports.ExecutionMethod || (exports.ExecutionMethod = {}));
37398
37961
 
37399
- exports.Name = void 0;
37400
- (function (Name) {
37401
- Name["V1database"] = "v1-database";
37402
- Name["V1deletes"] = "v1-deletes";
37403
- Name["V1audits"] = "v1-audits";
37404
- Name["V1mails"] = "v1-mails";
37405
- Name["V1functions"] = "v1-functions";
37406
- Name["V1statsresources"] = "v1-stats-resources";
37407
- Name["V1statsusage"] = "v1-stats-usage";
37408
- Name["V1webhooks"] = "v1-webhooks";
37409
- Name["V1certificates"] = "v1-certificates";
37410
- Name["V1builds"] = "v1-builds";
37411
- Name["V1screenshots"] = "v1-screenshots";
37412
- Name["V1messaging"] = "v1-messaging";
37413
- Name["V1migrations"] = "v1-migrations";
37414
- })(exports.Name || (exports.Name = {}));
37415
-
37416
- exports.ResourceType = void 0;
37417
- (function (ResourceType) {
37418
- ResourceType["Projects"] = "projects";
37419
- ResourceType["Functions"] = "functions";
37420
- ResourceType["Sites"] = "sites";
37421
- ResourceType["Databases"] = "databases";
37422
- ResourceType["Buckets"] = "buckets";
37423
- ResourceType["Providers"] = "providers";
37424
- ResourceType["Topics"] = "topics";
37425
- ResourceType["Subscribers"] = "subscribers";
37426
- ResourceType["Messages"] = "messages";
37427
- ResourceType["Function"] = "function";
37428
- ResourceType["Execution"] = "execution";
37429
- ResourceType["Message"] = "message";
37430
- ResourceType["Backup"] = "backup";
37431
- })(exports.ResourceType || (exports.ResourceType = {}));
37962
+ exports.HealthQueueName = void 0;
37963
+ (function (HealthQueueName) {
37964
+ HealthQueueName["V1database"] = "v1-database";
37965
+ HealthQueueName["V1deletes"] = "v1-deletes";
37966
+ HealthQueueName["V1audits"] = "v1-audits";
37967
+ HealthQueueName["V1mails"] = "v1-mails";
37968
+ HealthQueueName["V1functions"] = "v1-functions";
37969
+ HealthQueueName["V1statsresources"] = "v1-stats-resources";
37970
+ HealthQueueName["V1statsusage"] = "v1-stats-usage";
37971
+ HealthQueueName["V1webhooks"] = "v1-webhooks";
37972
+ HealthQueueName["V1certificates"] = "v1-certificates";
37973
+ HealthQueueName["V1builds"] = "v1-builds";
37974
+ HealthQueueName["V1screenshots"] = "v1-screenshots";
37975
+ HealthQueueName["V1messaging"] = "v1-messaging";
37976
+ HealthQueueName["V1migrations"] = "v1-migrations";
37977
+ })(exports.HealthQueueName || (exports.HealthQueueName = {}));
37978
+
37979
+ exports.BlockResourceType = void 0;
37980
+ (function (BlockResourceType) {
37981
+ BlockResourceType["Projects"] = "projects";
37982
+ BlockResourceType["Functions"] = "functions";
37983
+ BlockResourceType["Sites"] = "sites";
37984
+ BlockResourceType["Databases"] = "databases";
37985
+ BlockResourceType["Buckets"] = "buckets";
37986
+ BlockResourceType["Providers"] = "providers";
37987
+ BlockResourceType["Topics"] = "topics";
37988
+ BlockResourceType["Subscribers"] = "subscribers";
37989
+ BlockResourceType["Messages"] = "messages";
37990
+ })(exports.BlockResourceType || (exports.BlockResourceType = {}));
37991
+
37992
+ exports.Region = void 0;
37993
+ (function (Region) {
37994
+ Region["Fra"] = "fra";
37995
+ Region["Nyc"] = "nyc";
37996
+ Region["Syd"] = "syd";
37997
+ Region["Sfo"] = "sfo";
37998
+ Region["Sgp"] = "sgp";
37999
+ Region["Tor"] = "tor";
38000
+ })(exports.Region || (exports.Region = {}));
38001
+
38002
+ exports.CacheTarget = void 0;
38003
+ (function (CacheTarget) {
38004
+ CacheTarget["Cache"] = "cache";
38005
+ CacheTarget["Timelimit"] = "timelimit";
38006
+ CacheTarget["Locks"] = "locks";
38007
+ CacheTarget["Pubsub"] = "pubsub";
38008
+ CacheTarget["Queue"] = "queue";
38009
+ CacheTarget["All"] = "all";
38010
+ })(exports.CacheTarget || (exports.CacheTarget = {}));
38011
+
38012
+ exports.CacheDatabase = void 0;
38013
+ (function (CacheDatabase) {
38014
+ CacheDatabase["Console"] = "console";
38015
+ CacheDatabase["Project"] = "project";
38016
+ CacheDatabase["Logs"] = "logs";
38017
+ })(exports.CacheDatabase || (exports.CacheDatabase = {}));
37432
38018
 
37433
38019
  exports.MessagePriority = void 0;
37434
38020
  (function (MessagePriority) {
@@ -37470,15 +38056,16 @@
37470
38056
  AppwriteMigrationResource["Site"] = "site";
37471
38057
  AppwriteMigrationResource["Sitedeployment"] = "site-deployment";
37472
38058
  AppwriteMigrationResource["Sitevariable"] = "site-variable";
38059
+ AppwriteMigrationResource["Platform"] = "platform";
37473
38060
  AppwriteMigrationResource["Backuppolicy"] = "backup-policy";
37474
38061
  })(exports.AppwriteMigrationResource || (exports.AppwriteMigrationResource = {}));
37475
38062
 
37476
- exports.OnDuplicate = void 0;
37477
- (function (OnDuplicate) {
37478
- OnDuplicate["Fail"] = "fail";
37479
- OnDuplicate["Skip"] = "skip";
37480
- OnDuplicate["Overwrite"] = "overwrite";
37481
- })(exports.OnDuplicate || (exports.OnDuplicate = {}));
38063
+ exports.MigrationOnDuplicate = void 0;
38064
+ (function (MigrationOnDuplicate) {
38065
+ MigrationOnDuplicate["Fail"] = "fail";
38066
+ MigrationOnDuplicate["Skip"] = "skip";
38067
+ MigrationOnDuplicate["Overwrite"] = "overwrite";
38068
+ })(exports.MigrationOnDuplicate || (exports.MigrationOnDuplicate = {}));
37482
38069
 
37483
38070
  exports.FirebaseMigrationResource = void 0;
37484
38071
  (function (FirebaseMigrationResource) {
@@ -37524,214 +38111,138 @@
37524
38111
  SupabaseMigrationResource["File"] = "file";
37525
38112
  })(exports.SupabaseMigrationResource || (exports.SupabaseMigrationResource = {}));
37526
38113
 
37527
- exports.Addon = void 0;
37528
- (function (Addon) {
37529
- Addon["Baa"] = "baa";
37530
- })(exports.Addon || (exports.Addon = {}));
37531
-
37532
- exports.AuthMethod = void 0;
37533
- (function (AuthMethod) {
37534
- AuthMethod["Emailpassword"] = "email-password";
37535
- AuthMethod["Magicurl"] = "magic-url";
37536
- AuthMethod["Emailotp"] = "email-otp";
37537
- AuthMethod["Anonymous"] = "anonymous";
37538
- AuthMethod["Invites"] = "invites";
37539
- AuthMethod["Jwt"] = "jwt";
37540
- AuthMethod["Phone"] = "phone";
37541
- })(exports.AuthMethod || (exports.AuthMethod = {}));
37542
-
37543
- exports.ProjectPolicy = void 0;
37544
- (function (ProjectPolicy) {
37545
- ProjectPolicy["Passworddictionary"] = "password-dictionary";
37546
- ProjectPolicy["Passwordhistory"] = "password-history";
37547
- ProjectPolicy["Passwordpersonaldata"] = "password-personal-data";
37548
- ProjectPolicy["Sessionalert"] = "session-alert";
37549
- ProjectPolicy["Sessionduration"] = "session-duration";
37550
- ProjectPolicy["Sessioninvalidation"] = "session-invalidation";
37551
- ProjectPolicy["Sessionlimit"] = "session-limit";
37552
- ProjectPolicy["Userlimit"] = "user-limit";
37553
- ProjectPolicy["Membershipprivacy"] = "membership-privacy";
37554
- })(exports.ProjectPolicy || (exports.ProjectPolicy = {}));
37555
-
37556
- exports.ProtocolId = void 0;
37557
- (function (ProtocolId) {
37558
- ProtocolId["Rest"] = "rest";
37559
- ProtocolId["Graphql"] = "graphql";
37560
- ProtocolId["Websocket"] = "websocket";
37561
- })(exports.ProtocolId || (exports.ProtocolId = {}));
37562
-
37563
- exports.ServiceId = void 0;
37564
- (function (ServiceId) {
37565
- ServiceId["Account"] = "account";
37566
- ServiceId["Avatars"] = "avatars";
37567
- ServiceId["Databases"] = "databases";
37568
- ServiceId["Tablesdb"] = "tablesdb";
37569
- ServiceId["Locale"] = "locale";
37570
- ServiceId["Health"] = "health";
37571
- ServiceId["Project"] = "project";
37572
- ServiceId["Storage"] = "storage";
37573
- ServiceId["Teams"] = "teams";
37574
- ServiceId["Users"] = "users";
37575
- ServiceId["Vcs"] = "vcs";
37576
- ServiceId["Sites"] = "sites";
37577
- ServiceId["Functions"] = "functions";
37578
- ServiceId["Proxy"] = "proxy";
37579
- ServiceId["Graphql"] = "graphql";
37580
- ServiceId["Migrations"] = "migrations";
37581
- ServiceId["Messaging"] = "messaging";
37582
- })(exports.ServiceId || (exports.ServiceId = {}));
37583
-
37584
- exports.Secure = void 0;
37585
- (function (Secure) {
37586
- Secure["Tls"] = "tls";
37587
- Secure["Ssl"] = "ssl";
37588
- })(exports.Secure || (exports.Secure = {}));
37589
-
37590
- exports.EmailTemplateType = void 0;
37591
- (function (EmailTemplateType) {
37592
- EmailTemplateType["Verification"] = "verification";
37593
- EmailTemplateType["MagicSession"] = "magicSession";
37594
- EmailTemplateType["Recovery"] = "recovery";
37595
- EmailTemplateType["Invitation"] = "invitation";
37596
- EmailTemplateType["MfaChallenge"] = "mfaChallenge";
37597
- EmailTemplateType["SessionAlert"] = "sessionAlert";
37598
- EmailTemplateType["OtpSession"] = "otpSession";
37599
- })(exports.EmailTemplateType || (exports.EmailTemplateType = {}));
37600
-
37601
- exports.EmailTemplateLocale = void 0;
37602
- (function (EmailTemplateLocale) {
37603
- EmailTemplateLocale["Af"] = "af";
37604
- EmailTemplateLocale["Arae"] = "ar-ae";
37605
- EmailTemplateLocale["Arbh"] = "ar-bh";
37606
- EmailTemplateLocale["Ardz"] = "ar-dz";
37607
- EmailTemplateLocale["Areg"] = "ar-eg";
37608
- EmailTemplateLocale["Ariq"] = "ar-iq";
37609
- EmailTemplateLocale["Arjo"] = "ar-jo";
37610
- EmailTemplateLocale["Arkw"] = "ar-kw";
37611
- EmailTemplateLocale["Arlb"] = "ar-lb";
37612
- EmailTemplateLocale["Arly"] = "ar-ly";
37613
- EmailTemplateLocale["Arma"] = "ar-ma";
37614
- EmailTemplateLocale["Arom"] = "ar-om";
37615
- EmailTemplateLocale["Arqa"] = "ar-qa";
37616
- EmailTemplateLocale["Arsa"] = "ar-sa";
37617
- EmailTemplateLocale["Arsy"] = "ar-sy";
37618
- EmailTemplateLocale["Artn"] = "ar-tn";
37619
- EmailTemplateLocale["Arye"] = "ar-ye";
37620
- EmailTemplateLocale["As"] = "as";
37621
- EmailTemplateLocale["Az"] = "az";
37622
- EmailTemplateLocale["Be"] = "be";
37623
- EmailTemplateLocale["Bg"] = "bg";
37624
- EmailTemplateLocale["Bh"] = "bh";
37625
- EmailTemplateLocale["Bn"] = "bn";
37626
- EmailTemplateLocale["Bs"] = "bs";
37627
- EmailTemplateLocale["Ca"] = "ca";
37628
- EmailTemplateLocale["Cs"] = "cs";
37629
- EmailTemplateLocale["Cy"] = "cy";
37630
- EmailTemplateLocale["Da"] = "da";
37631
- EmailTemplateLocale["De"] = "de";
37632
- EmailTemplateLocale["Deat"] = "de-at";
37633
- EmailTemplateLocale["Dech"] = "de-ch";
37634
- EmailTemplateLocale["Deli"] = "de-li";
37635
- EmailTemplateLocale["Delu"] = "de-lu";
37636
- EmailTemplateLocale["El"] = "el";
37637
- EmailTemplateLocale["En"] = "en";
37638
- EmailTemplateLocale["Enau"] = "en-au";
37639
- EmailTemplateLocale["Enbz"] = "en-bz";
37640
- EmailTemplateLocale["Enca"] = "en-ca";
37641
- EmailTemplateLocale["Engb"] = "en-gb";
37642
- EmailTemplateLocale["Enie"] = "en-ie";
37643
- EmailTemplateLocale["Enjm"] = "en-jm";
37644
- EmailTemplateLocale["Ennz"] = "en-nz";
37645
- EmailTemplateLocale["Entt"] = "en-tt";
37646
- EmailTemplateLocale["Enus"] = "en-us";
37647
- EmailTemplateLocale["Enza"] = "en-za";
37648
- EmailTemplateLocale["Eo"] = "eo";
37649
- EmailTemplateLocale["Es"] = "es";
37650
- EmailTemplateLocale["Esar"] = "es-ar";
37651
- EmailTemplateLocale["Esbo"] = "es-bo";
37652
- EmailTemplateLocale["Escl"] = "es-cl";
37653
- EmailTemplateLocale["Esco"] = "es-co";
37654
- EmailTemplateLocale["Escr"] = "es-cr";
37655
- EmailTemplateLocale["Esdo"] = "es-do";
37656
- EmailTemplateLocale["Esec"] = "es-ec";
37657
- EmailTemplateLocale["Esgt"] = "es-gt";
37658
- EmailTemplateLocale["Eshn"] = "es-hn";
37659
- EmailTemplateLocale["Esmx"] = "es-mx";
37660
- EmailTemplateLocale["Esni"] = "es-ni";
37661
- EmailTemplateLocale["Espa"] = "es-pa";
37662
- EmailTemplateLocale["Espe"] = "es-pe";
37663
- EmailTemplateLocale["Espr"] = "es-pr";
37664
- EmailTemplateLocale["Espy"] = "es-py";
37665
- EmailTemplateLocale["Essv"] = "es-sv";
37666
- EmailTemplateLocale["Esuy"] = "es-uy";
37667
- EmailTemplateLocale["Esve"] = "es-ve";
37668
- EmailTemplateLocale["Et"] = "et";
37669
- EmailTemplateLocale["Eu"] = "eu";
37670
- EmailTemplateLocale["Fa"] = "fa";
37671
- EmailTemplateLocale["Fi"] = "fi";
37672
- EmailTemplateLocale["Fo"] = "fo";
37673
- EmailTemplateLocale["Fr"] = "fr";
37674
- EmailTemplateLocale["Frbe"] = "fr-be";
37675
- EmailTemplateLocale["Frca"] = "fr-ca";
37676
- EmailTemplateLocale["Frch"] = "fr-ch";
37677
- EmailTemplateLocale["Frlu"] = "fr-lu";
37678
- EmailTemplateLocale["Ga"] = "ga";
37679
- EmailTemplateLocale["Gd"] = "gd";
37680
- EmailTemplateLocale["He"] = "he";
37681
- EmailTemplateLocale["Hi"] = "hi";
37682
- EmailTemplateLocale["Hr"] = "hr";
37683
- EmailTemplateLocale["Hu"] = "hu";
37684
- EmailTemplateLocale["Id"] = "id";
37685
- EmailTemplateLocale["Is"] = "is";
37686
- EmailTemplateLocale["It"] = "it";
37687
- EmailTemplateLocale["Itch"] = "it-ch";
37688
- EmailTemplateLocale["Ja"] = "ja";
37689
- EmailTemplateLocale["Ji"] = "ji";
37690
- EmailTemplateLocale["Ko"] = "ko";
37691
- EmailTemplateLocale["Ku"] = "ku";
37692
- EmailTemplateLocale["Lt"] = "lt";
37693
- EmailTemplateLocale["Lv"] = "lv";
37694
- EmailTemplateLocale["Mk"] = "mk";
37695
- EmailTemplateLocale["Ml"] = "ml";
37696
- EmailTemplateLocale["Ms"] = "ms";
37697
- EmailTemplateLocale["Mt"] = "mt";
37698
- EmailTemplateLocale["Nb"] = "nb";
37699
- EmailTemplateLocale["Ne"] = "ne";
37700
- EmailTemplateLocale["Nl"] = "nl";
37701
- EmailTemplateLocale["Nlbe"] = "nl-be";
37702
- EmailTemplateLocale["Nn"] = "nn";
37703
- EmailTemplateLocale["No"] = "no";
37704
- EmailTemplateLocale["Pa"] = "pa";
37705
- EmailTemplateLocale["Pl"] = "pl";
37706
- EmailTemplateLocale["Pt"] = "pt";
37707
- EmailTemplateLocale["Ptbr"] = "pt-br";
37708
- EmailTemplateLocale["Rm"] = "rm";
37709
- EmailTemplateLocale["Ro"] = "ro";
37710
- EmailTemplateLocale["Romd"] = "ro-md";
37711
- EmailTemplateLocale["Ru"] = "ru";
37712
- EmailTemplateLocale["Rumd"] = "ru-md";
37713
- EmailTemplateLocale["Sb"] = "sb";
37714
- EmailTemplateLocale["Sk"] = "sk";
37715
- EmailTemplateLocale["Sl"] = "sl";
37716
- EmailTemplateLocale["Sq"] = "sq";
37717
- EmailTemplateLocale["Sr"] = "sr";
37718
- EmailTemplateLocale["Sv"] = "sv";
37719
- EmailTemplateLocale["Svfi"] = "sv-fi";
37720
- EmailTemplateLocale["Th"] = "th";
37721
- EmailTemplateLocale["Tn"] = "tn";
37722
- EmailTemplateLocale["Tr"] = "tr";
37723
- EmailTemplateLocale["Ts"] = "ts";
37724
- EmailTemplateLocale["Ua"] = "ua";
37725
- EmailTemplateLocale["Ur"] = "ur";
37726
- EmailTemplateLocale["Ve"] = "ve";
37727
- EmailTemplateLocale["Vi"] = "vi";
37728
- EmailTemplateLocale["Xh"] = "xh";
37729
- EmailTemplateLocale["Zhcn"] = "zh-cn";
37730
- EmailTemplateLocale["Zhhk"] = "zh-hk";
37731
- EmailTemplateLocale["Zhsg"] = "zh-sg";
37732
- EmailTemplateLocale["Zhtw"] = "zh-tw";
37733
- EmailTemplateLocale["Zu"] = "zu";
37734
- })(exports.EmailTemplateLocale || (exports.EmailTemplateLocale = {}));
38114
+ exports.OrganizationKeyScopes = void 0;
38115
+ (function (OrganizationKeyScopes) {
38116
+ OrganizationKeyScopes["ProjectsRead"] = "projects.read";
38117
+ OrganizationKeyScopes["ProjectsWrite"] = "projects.write";
38118
+ OrganizationKeyScopes["DevKeysRead"] = "devKeys.read";
38119
+ OrganizationKeyScopes["DevKeysWrite"] = "devKeys.write";
38120
+ OrganizationKeyScopes["OrganizationKeysRead"] = "organization.keys.read";
38121
+ OrganizationKeyScopes["OrganizationKeysWrite"] = "organization.keys.write";
38122
+ OrganizationKeyScopes["DomainsRead"] = "domains.read";
38123
+ OrganizationKeyScopes["DomainsWrite"] = "domains.write";
38124
+ OrganizationKeyScopes["KeysRead"] = "keys.read";
38125
+ OrganizationKeyScopes["KeysWrite"] = "keys.write";
38126
+ })(exports.OrganizationKeyScopes || (exports.OrganizationKeyScopes = {}));
38127
+
38128
+ exports.OrganizationAddon = void 0;
38129
+ (function (OrganizationAddon) {
38130
+ OrganizationAddon["Baa"] = "baa";
38131
+ OrganizationAddon["BackupRecovery"] = "backup_recovery";
38132
+ })(exports.OrganizationAddon || (exports.OrganizationAddon = {}));
38133
+
38134
+ exports.ProjectAuthMethodId = void 0;
38135
+ (function (ProjectAuthMethodId) {
38136
+ ProjectAuthMethodId["Emailpassword"] = "email-password";
38137
+ ProjectAuthMethodId["Magicurl"] = "magic-url";
38138
+ ProjectAuthMethodId["Emailotp"] = "email-otp";
38139
+ ProjectAuthMethodId["Anonymous"] = "anonymous";
38140
+ ProjectAuthMethodId["Invites"] = "invites";
38141
+ ProjectAuthMethodId["Jwt"] = "jwt";
38142
+ ProjectAuthMethodId["Phone"] = "phone";
38143
+ })(exports.ProjectAuthMethodId || (exports.ProjectAuthMethodId = {}));
38144
+
38145
+ exports.ProjectOAuth2GooglePrompt = void 0;
38146
+ (function (ProjectOAuth2GooglePrompt) {
38147
+ ProjectOAuth2GooglePrompt["None"] = "none";
38148
+ ProjectOAuth2GooglePrompt["Consent"] = "consent";
38149
+ ProjectOAuth2GooglePrompt["SelectAccount"] = "select_account";
38150
+ })(exports.ProjectOAuth2GooglePrompt || (exports.ProjectOAuth2GooglePrompt = {}));
38151
+
38152
+ exports.ProjectOAuthProviderId = void 0;
38153
+ (function (ProjectOAuthProviderId) {
38154
+ ProjectOAuthProviderId["Amazon"] = "amazon";
38155
+ ProjectOAuthProviderId["Apple"] = "apple";
38156
+ ProjectOAuthProviderId["Auth0"] = "auth0";
38157
+ ProjectOAuthProviderId["Authentik"] = "authentik";
38158
+ ProjectOAuthProviderId["Autodesk"] = "autodesk";
38159
+ ProjectOAuthProviderId["Bitbucket"] = "bitbucket";
38160
+ ProjectOAuthProviderId["Bitly"] = "bitly";
38161
+ ProjectOAuthProviderId["Box"] = "box";
38162
+ ProjectOAuthProviderId["Dailymotion"] = "dailymotion";
38163
+ ProjectOAuthProviderId["Discord"] = "discord";
38164
+ ProjectOAuthProviderId["Disqus"] = "disqus";
38165
+ ProjectOAuthProviderId["Dropbox"] = "dropbox";
38166
+ ProjectOAuthProviderId["Etsy"] = "etsy";
38167
+ ProjectOAuthProviderId["Facebook"] = "facebook";
38168
+ ProjectOAuthProviderId["Figma"] = "figma";
38169
+ ProjectOAuthProviderId["Fusionauth"] = "fusionauth";
38170
+ ProjectOAuthProviderId["Github"] = "github";
38171
+ ProjectOAuthProviderId["Gitlab"] = "gitlab";
38172
+ ProjectOAuthProviderId["Google"] = "google";
38173
+ ProjectOAuthProviderId["Keycloak"] = "keycloak";
38174
+ ProjectOAuthProviderId["Kick"] = "kick";
38175
+ ProjectOAuthProviderId["Linkedin"] = "linkedin";
38176
+ ProjectOAuthProviderId["Microsoft"] = "microsoft";
38177
+ ProjectOAuthProviderId["Notion"] = "notion";
38178
+ ProjectOAuthProviderId["Oidc"] = "oidc";
38179
+ ProjectOAuthProviderId["Okta"] = "okta";
38180
+ ProjectOAuthProviderId["Paypal"] = "paypal";
38181
+ ProjectOAuthProviderId["PaypalSandbox"] = "paypalSandbox";
38182
+ ProjectOAuthProviderId["Podio"] = "podio";
38183
+ ProjectOAuthProviderId["Salesforce"] = "salesforce";
38184
+ ProjectOAuthProviderId["Slack"] = "slack";
38185
+ ProjectOAuthProviderId["Spotify"] = "spotify";
38186
+ ProjectOAuthProviderId["Stripe"] = "stripe";
38187
+ ProjectOAuthProviderId["Tradeshift"] = "tradeshift";
38188
+ ProjectOAuthProviderId["TradeshiftBox"] = "tradeshiftBox";
38189
+ ProjectOAuthProviderId["Twitch"] = "twitch";
38190
+ ProjectOAuthProviderId["Wordpress"] = "wordpress";
38191
+ ProjectOAuthProviderId["X"] = "x";
38192
+ ProjectOAuthProviderId["Yahoo"] = "yahoo";
38193
+ ProjectOAuthProviderId["Yammer"] = "yammer";
38194
+ ProjectOAuthProviderId["Yandex"] = "yandex";
38195
+ ProjectOAuthProviderId["Zoho"] = "zoho";
38196
+ ProjectOAuthProviderId["Zoom"] = "zoom";
38197
+ })(exports.ProjectOAuthProviderId || (exports.ProjectOAuthProviderId = {}));
38198
+
38199
+ exports.ProjectPolicyId = void 0;
38200
+ (function (ProjectPolicyId) {
38201
+ ProjectPolicyId["Passworddictionary"] = "password-dictionary";
38202
+ ProjectPolicyId["Passwordhistory"] = "password-history";
38203
+ ProjectPolicyId["Passwordpersonaldata"] = "password-personal-data";
38204
+ ProjectPolicyId["Sessionalert"] = "session-alert";
38205
+ ProjectPolicyId["Sessionduration"] = "session-duration";
38206
+ ProjectPolicyId["Sessioninvalidation"] = "session-invalidation";
38207
+ ProjectPolicyId["Sessionlimit"] = "session-limit";
38208
+ ProjectPolicyId["Userlimit"] = "user-limit";
38209
+ ProjectPolicyId["Membershipprivacy"] = "membership-privacy";
38210
+ })(exports.ProjectPolicyId || (exports.ProjectPolicyId = {}));
38211
+
38212
+ exports.ProjectProtocolId = void 0;
38213
+ (function (ProjectProtocolId) {
38214
+ ProjectProtocolId["Rest"] = "rest";
38215
+ ProjectProtocolId["Graphql"] = "graphql";
38216
+ ProjectProtocolId["Websocket"] = "websocket";
38217
+ })(exports.ProjectProtocolId || (exports.ProjectProtocolId = {}));
38218
+
38219
+ exports.ProjectServiceId = void 0;
38220
+ (function (ProjectServiceId) {
38221
+ ProjectServiceId["Account"] = "account";
38222
+ ProjectServiceId["Avatars"] = "avatars";
38223
+ ProjectServiceId["Databases"] = "databases";
38224
+ ProjectServiceId["Tablesdb"] = "tablesdb";
38225
+ ProjectServiceId["Locale"] = "locale";
38226
+ ProjectServiceId["Health"] = "health";
38227
+ ProjectServiceId["Project"] = "project";
38228
+ ProjectServiceId["Storage"] = "storage";
38229
+ ProjectServiceId["Teams"] = "teams";
38230
+ ProjectServiceId["Users"] = "users";
38231
+ ProjectServiceId["Vcs"] = "vcs";
38232
+ ProjectServiceId["Sites"] = "sites";
38233
+ ProjectServiceId["Functions"] = "functions";
38234
+ ProjectServiceId["Proxy"] = "proxy";
38235
+ ProjectServiceId["Graphql"] = "graphql";
38236
+ ProjectServiceId["Migrations"] = "migrations";
38237
+ ProjectServiceId["Messaging"] = "messaging";
38238
+ ProjectServiceId["Advisor"] = "advisor";
38239
+ })(exports.ProjectServiceId || (exports.ProjectServiceId = {}));
38240
+
38241
+ exports.ProjectSMTPSecure = void 0;
38242
+ (function (ProjectSMTPSecure) {
38243
+ ProjectSMTPSecure["Tls"] = "tls";
38244
+ ProjectSMTPSecure["Ssl"] = "ssl";
38245
+ })(exports.ProjectSMTPSecure || (exports.ProjectSMTPSecure = {}));
37735
38246
 
37736
38247
  exports.ProjectUsageRange = void 0;
37737
38248
  (function (ProjectUsageRange) {
@@ -37739,28 +38250,26 @@
37739
38250
  ProjectUsageRange["OneDay"] = "1d";
37740
38251
  })(exports.ProjectUsageRange || (exports.ProjectUsageRange = {}));
37741
38252
 
37742
- exports.Region = void 0;
37743
- (function (Region) {
37744
- Region["Fra"] = "fra";
37745
- Region["Nyc"] = "nyc";
37746
- Region["Syd"] = "syd";
37747
- Region["Sfo"] = "sfo";
37748
- Region["Sgp"] = "sgp";
37749
- Region["Tor"] = "tor";
37750
- })(exports.Region || (exports.Region = {}));
37751
-
37752
- exports.Status = void 0;
37753
- (function (Status) {
37754
- Status["Active"] = "active";
37755
- })(exports.Status || (exports.Status = {}));
37756
-
37757
- exports.StatusCode = void 0;
37758
- (function (StatusCode) {
37759
- StatusCode["MovedPermanently301"] = "301";
37760
- StatusCode["Found302"] = "302";
37761
- StatusCode["TemporaryRedirect307"] = "307";
37762
- StatusCode["PermanentRedirect308"] = "308";
37763
- })(exports.StatusCode || (exports.StatusCode = {}));
38253
+ exports.ScheduleResourceType = void 0;
38254
+ (function (ScheduleResourceType) {
38255
+ ScheduleResourceType["Function"] = "function";
38256
+ ScheduleResourceType["Execution"] = "execution";
38257
+ ScheduleResourceType["Message"] = "message";
38258
+ ScheduleResourceType["Backup"] = "backup";
38259
+ })(exports.ScheduleResourceType || (exports.ScheduleResourceType = {}));
38260
+
38261
+ exports.ProjectStatus = void 0;
38262
+ (function (ProjectStatus) {
38263
+ ProjectStatus["Active"] = "active";
38264
+ })(exports.ProjectStatus || (exports.ProjectStatus = {}));
38265
+
38266
+ exports.RedirectStatusCode = void 0;
38267
+ (function (RedirectStatusCode) {
38268
+ RedirectStatusCode["MovedPermanently"] = "301";
38269
+ RedirectStatusCode["Found"] = "302";
38270
+ RedirectStatusCode["TemporaryRedirect"] = "307";
38271
+ RedirectStatusCode["PermanentRedirect"] = "308";
38272
+ })(exports.RedirectStatusCode || (exports.RedirectStatusCode = {}));
37764
38273
 
37765
38274
  exports.ProxyResourceType = void 0;
37766
38275
  (function (ProxyResourceType) {
@@ -37768,142 +38277,138 @@
37768
38277
  ProxyResourceType["Function"] = "function";
37769
38278
  })(exports.ProxyResourceType || (exports.ProxyResourceType = {}));
37770
38279
 
37771
- exports.Framework = void 0;
37772
- (function (Framework) {
37773
- Framework["Analog"] = "analog";
37774
- Framework["Angular"] = "angular";
37775
- Framework["Nextjs"] = "nextjs";
37776
- Framework["React"] = "react";
37777
- Framework["Nuxt"] = "nuxt";
37778
- Framework["Vue"] = "vue";
37779
- Framework["Sveltekit"] = "sveltekit";
37780
- Framework["Astro"] = "astro";
37781
- Framework["Tanstackstart"] = "tanstack-start";
37782
- Framework["Remix"] = "remix";
37783
- Framework["Lynx"] = "lynx";
37784
- Framework["Flutter"] = "flutter";
37785
- Framework["Reactnative"] = "react-native";
37786
- Framework["Vite"] = "vite";
37787
- Framework["Other"] = "other";
37788
- })(exports.Framework || (exports.Framework = {}));
37789
-
37790
- exports.BuildRuntime = void 0;
37791
- (function (BuildRuntime) {
37792
- BuildRuntime["Node145"] = "node-14.5";
37793
- BuildRuntime["Node160"] = "node-16.0";
37794
- BuildRuntime["Node180"] = "node-18.0";
37795
- BuildRuntime["Node190"] = "node-19.0";
37796
- BuildRuntime["Node200"] = "node-20.0";
37797
- BuildRuntime["Node210"] = "node-21.0";
37798
- BuildRuntime["Node22"] = "node-22";
37799
- BuildRuntime["Node23"] = "node-23";
37800
- BuildRuntime["Node24"] = "node-24";
37801
- BuildRuntime["Node25"] = "node-25";
37802
- BuildRuntime["Php80"] = "php-8.0";
37803
- BuildRuntime["Php81"] = "php-8.1";
37804
- BuildRuntime["Php82"] = "php-8.2";
37805
- BuildRuntime["Php83"] = "php-8.3";
37806
- BuildRuntime["Php84"] = "php-8.4";
37807
- BuildRuntime["Ruby30"] = "ruby-3.0";
37808
- BuildRuntime["Ruby31"] = "ruby-3.1";
37809
- BuildRuntime["Ruby32"] = "ruby-3.2";
37810
- BuildRuntime["Ruby33"] = "ruby-3.3";
37811
- BuildRuntime["Ruby34"] = "ruby-3.4";
37812
- BuildRuntime["Ruby40"] = "ruby-4.0";
37813
- BuildRuntime["Python38"] = "python-3.8";
37814
- BuildRuntime["Python39"] = "python-3.9";
37815
- BuildRuntime["Python310"] = "python-3.10";
37816
- BuildRuntime["Python311"] = "python-3.11";
37817
- BuildRuntime["Python312"] = "python-3.12";
37818
- BuildRuntime["Python313"] = "python-3.13";
37819
- BuildRuntime["Python314"] = "python-3.14";
37820
- BuildRuntime["Pythonml311"] = "python-ml-3.11";
37821
- BuildRuntime["Pythonml312"] = "python-ml-3.12";
37822
- BuildRuntime["Pythonml313"] = "python-ml-3.13";
37823
- BuildRuntime["Deno140"] = "deno-1.40";
37824
- BuildRuntime["Deno146"] = "deno-1.46";
37825
- BuildRuntime["Deno20"] = "deno-2.0";
37826
- BuildRuntime["Deno25"] = "deno-2.5";
37827
- BuildRuntime["Deno26"] = "deno-2.6";
37828
- BuildRuntime["Dart215"] = "dart-2.15";
37829
- BuildRuntime["Dart216"] = "dart-2.16";
37830
- BuildRuntime["Dart217"] = "dart-2.17";
37831
- BuildRuntime["Dart218"] = "dart-2.18";
37832
- BuildRuntime["Dart219"] = "dart-2.19";
37833
- BuildRuntime["Dart30"] = "dart-3.0";
37834
- BuildRuntime["Dart31"] = "dart-3.1";
37835
- BuildRuntime["Dart33"] = "dart-3.3";
37836
- BuildRuntime["Dart35"] = "dart-3.5";
37837
- BuildRuntime["Dart38"] = "dart-3.8";
37838
- BuildRuntime["Dart39"] = "dart-3.9";
37839
- BuildRuntime["Dart310"] = "dart-3.10";
37840
- BuildRuntime["Dart311"] = "dart-3.11";
37841
- BuildRuntime["Dotnet60"] = "dotnet-6.0";
37842
- BuildRuntime["Dotnet70"] = "dotnet-7.0";
37843
- BuildRuntime["Dotnet80"] = "dotnet-8.0";
37844
- BuildRuntime["Dotnet10"] = "dotnet-10";
37845
- BuildRuntime["Java80"] = "java-8.0";
37846
- BuildRuntime["Java110"] = "java-11.0";
37847
- BuildRuntime["Java170"] = "java-17.0";
37848
- BuildRuntime["Java180"] = "java-18.0";
37849
- BuildRuntime["Java210"] = "java-21.0";
37850
- BuildRuntime["Java22"] = "java-22";
37851
- BuildRuntime["Java25"] = "java-25";
37852
- BuildRuntime["Swift55"] = "swift-5.5";
37853
- BuildRuntime["Swift58"] = "swift-5.8";
37854
- BuildRuntime["Swift59"] = "swift-5.9";
37855
- BuildRuntime["Swift510"] = "swift-5.10";
37856
- BuildRuntime["Swift62"] = "swift-6.2";
37857
- BuildRuntime["Kotlin16"] = "kotlin-1.6";
37858
- BuildRuntime["Kotlin18"] = "kotlin-1.8";
37859
- BuildRuntime["Kotlin19"] = "kotlin-1.9";
37860
- BuildRuntime["Kotlin20"] = "kotlin-2.0";
37861
- BuildRuntime["Kotlin23"] = "kotlin-2.3";
37862
- BuildRuntime["Cpp17"] = "cpp-17";
37863
- BuildRuntime["Cpp20"] = "cpp-20";
37864
- BuildRuntime["Bun10"] = "bun-1.0";
37865
- BuildRuntime["Bun11"] = "bun-1.1";
37866
- BuildRuntime["Bun12"] = "bun-1.2";
37867
- BuildRuntime["Bun13"] = "bun-1.3";
37868
- BuildRuntime["Go123"] = "go-1.23";
37869
- BuildRuntime["Go124"] = "go-1.24";
37870
- BuildRuntime["Go125"] = "go-1.25";
37871
- BuildRuntime["Go126"] = "go-1.26";
37872
- BuildRuntime["Rust183"] = "rust-1.83";
37873
- BuildRuntime["Static1"] = "static-1";
37874
- BuildRuntime["Flutter324"] = "flutter-3.24";
37875
- BuildRuntime["Flutter327"] = "flutter-3.27";
37876
- BuildRuntime["Flutter329"] = "flutter-3.29";
37877
- BuildRuntime["Flutter332"] = "flutter-3.32";
37878
- BuildRuntime["Flutter335"] = "flutter-3.35";
37879
- BuildRuntime["Flutter338"] = "flutter-3.38";
37880
- BuildRuntime["Flutter341"] = "flutter-3.41";
37881
- })(exports.BuildRuntime || (exports.BuildRuntime = {}));
37882
-
37883
- exports.Adapter = void 0;
37884
- (function (Adapter) {
37885
- Adapter["Static"] = "static";
37886
- Adapter["Ssr"] = "ssr";
37887
- })(exports.Adapter || (exports.Adapter = {}));
37888
-
37889
- exports.Frameworks = void 0;
37890
- (function (Frameworks) {
37891
- Frameworks["Analog"] = "analog";
37892
- Frameworks["Angular"] = "angular";
37893
- Frameworks["Nextjs"] = "nextjs";
37894
- Frameworks["React"] = "react";
37895
- Frameworks["Nuxt"] = "nuxt";
37896
- Frameworks["Vue"] = "vue";
37897
- Frameworks["Sveltekit"] = "sveltekit";
37898
- Frameworks["Astro"] = "astro";
37899
- Frameworks["Tanstackstart"] = "tanstack-start";
37900
- Frameworks["Remix"] = "remix";
37901
- Frameworks["Lynx"] = "lynx";
37902
- Frameworks["Flutter"] = "flutter";
37903
- Frameworks["Reactnative"] = "react-native";
37904
- Frameworks["Vite"] = "vite";
37905
- Frameworks["Other"] = "other";
37906
- })(exports.Frameworks || (exports.Frameworks = {}));
38280
+ exports.SiteFramework = void 0;
38281
+ (function (SiteFramework) {
38282
+ SiteFramework["Analog"] = "analog";
38283
+ SiteFramework["Angular"] = "angular";
38284
+ SiteFramework["Nextjs"] = "nextjs";
38285
+ SiteFramework["React"] = "react";
38286
+ SiteFramework["Nuxt"] = "nuxt";
38287
+ SiteFramework["Vue"] = "vue";
38288
+ SiteFramework["Sveltekit"] = "sveltekit";
38289
+ SiteFramework["Astro"] = "astro";
38290
+ SiteFramework["Tanstackstart"] = "tanstack-start";
38291
+ SiteFramework["Remix"] = "remix";
38292
+ SiteFramework["Lynx"] = "lynx";
38293
+ SiteFramework["Flutter"] = "flutter";
38294
+ SiteFramework["Reactnative"] = "react-native";
38295
+ SiteFramework["Vite"] = "vite";
38296
+ SiteFramework["Other"] = "other";
38297
+ })(exports.SiteFramework || (exports.SiteFramework = {}));
38298
+
38299
+ exports.SiteBuildRuntime = void 0;
38300
+ (function (SiteBuildRuntime) {
38301
+ SiteBuildRuntime["Node145"] = "node-14.5";
38302
+ SiteBuildRuntime["Node160"] = "node-16.0";
38303
+ SiteBuildRuntime["Node180"] = "node-18.0";
38304
+ SiteBuildRuntime["Node190"] = "node-19.0";
38305
+ SiteBuildRuntime["Node200"] = "node-20.0";
38306
+ SiteBuildRuntime["Node210"] = "node-21.0";
38307
+ SiteBuildRuntime["Node22"] = "node-22";
38308
+ SiteBuildRuntime["Node23"] = "node-23";
38309
+ SiteBuildRuntime["Node24"] = "node-24";
38310
+ SiteBuildRuntime["Node25"] = "node-25";
38311
+ SiteBuildRuntime["Php80"] = "php-8.0";
38312
+ SiteBuildRuntime["Php81"] = "php-8.1";
38313
+ SiteBuildRuntime["Php82"] = "php-8.2";
38314
+ SiteBuildRuntime["Php83"] = "php-8.3";
38315
+ SiteBuildRuntime["Php84"] = "php-8.4";
38316
+ SiteBuildRuntime["Ruby30"] = "ruby-3.0";
38317
+ SiteBuildRuntime["Ruby31"] = "ruby-3.1";
38318
+ SiteBuildRuntime["Ruby32"] = "ruby-3.2";
38319
+ SiteBuildRuntime["Ruby33"] = "ruby-3.3";
38320
+ SiteBuildRuntime["Ruby34"] = "ruby-3.4";
38321
+ SiteBuildRuntime["Ruby40"] = "ruby-4.0";
38322
+ SiteBuildRuntime["Python38"] = "python-3.8";
38323
+ SiteBuildRuntime["Python39"] = "python-3.9";
38324
+ SiteBuildRuntime["Python310"] = "python-3.10";
38325
+ SiteBuildRuntime["Python311"] = "python-3.11";
38326
+ SiteBuildRuntime["Python312"] = "python-3.12";
38327
+ SiteBuildRuntime["Python313"] = "python-3.13";
38328
+ SiteBuildRuntime["Python314"] = "python-3.14";
38329
+ SiteBuildRuntime["Pythonml311"] = "python-ml-3.11";
38330
+ SiteBuildRuntime["Pythonml312"] = "python-ml-3.12";
38331
+ SiteBuildRuntime["Pythonml313"] = "python-ml-3.13";
38332
+ SiteBuildRuntime["Deno140"] = "deno-1.40";
38333
+ SiteBuildRuntime["Deno146"] = "deno-1.46";
38334
+ SiteBuildRuntime["Deno20"] = "deno-2.0";
38335
+ SiteBuildRuntime["Deno25"] = "deno-2.5";
38336
+ SiteBuildRuntime["Deno26"] = "deno-2.6";
38337
+ SiteBuildRuntime["Dart215"] = "dart-2.15";
38338
+ SiteBuildRuntime["Dart216"] = "dart-2.16";
38339
+ SiteBuildRuntime["Dart217"] = "dart-2.17";
38340
+ SiteBuildRuntime["Dart218"] = "dart-2.18";
38341
+ SiteBuildRuntime["Dart219"] = "dart-2.19";
38342
+ SiteBuildRuntime["Dart30"] = "dart-3.0";
38343
+ SiteBuildRuntime["Dart31"] = "dart-3.1";
38344
+ SiteBuildRuntime["Dart33"] = "dart-3.3";
38345
+ SiteBuildRuntime["Dart35"] = "dart-3.5";
38346
+ SiteBuildRuntime["Dart38"] = "dart-3.8";
38347
+ SiteBuildRuntime["Dart39"] = "dart-3.9";
38348
+ SiteBuildRuntime["Dart310"] = "dart-3.10";
38349
+ SiteBuildRuntime["Dart311"] = "dart-3.11";
38350
+ SiteBuildRuntime["Dart312"] = "dart-3.12";
38351
+ SiteBuildRuntime["Dotnet60"] = "dotnet-6.0";
38352
+ SiteBuildRuntime["Dotnet70"] = "dotnet-7.0";
38353
+ SiteBuildRuntime["Dotnet80"] = "dotnet-8.0";
38354
+ SiteBuildRuntime["Dotnet10"] = "dotnet-10";
38355
+ SiteBuildRuntime["Java80"] = "java-8.0";
38356
+ SiteBuildRuntime["Java110"] = "java-11.0";
38357
+ SiteBuildRuntime["Java170"] = "java-17.0";
38358
+ SiteBuildRuntime["Java180"] = "java-18.0";
38359
+ SiteBuildRuntime["Java210"] = "java-21.0";
38360
+ SiteBuildRuntime["Java22"] = "java-22";
38361
+ SiteBuildRuntime["Java25"] = "java-25";
38362
+ SiteBuildRuntime["Swift55"] = "swift-5.5";
38363
+ SiteBuildRuntime["Swift58"] = "swift-5.8";
38364
+ SiteBuildRuntime["Swift59"] = "swift-5.9";
38365
+ SiteBuildRuntime["Swift510"] = "swift-5.10";
38366
+ SiteBuildRuntime["Swift62"] = "swift-6.2";
38367
+ SiteBuildRuntime["Kotlin16"] = "kotlin-1.6";
38368
+ SiteBuildRuntime["Kotlin18"] = "kotlin-1.8";
38369
+ SiteBuildRuntime["Kotlin19"] = "kotlin-1.9";
38370
+ SiteBuildRuntime["Kotlin20"] = "kotlin-2.0";
38371
+ SiteBuildRuntime["Kotlin23"] = "kotlin-2.3";
38372
+ SiteBuildRuntime["Cpp17"] = "cpp-17";
38373
+ SiteBuildRuntime["Cpp20"] = "cpp-20";
38374
+ SiteBuildRuntime["Bun10"] = "bun-1.0";
38375
+ SiteBuildRuntime["Bun11"] = "bun-1.1";
38376
+ SiteBuildRuntime["Bun12"] = "bun-1.2";
38377
+ SiteBuildRuntime["Bun13"] = "bun-1.3";
38378
+ SiteBuildRuntime["Go123"] = "go-1.23";
38379
+ SiteBuildRuntime["Go124"] = "go-1.24";
38380
+ SiteBuildRuntime["Go125"] = "go-1.25";
38381
+ SiteBuildRuntime["Go126"] = "go-1.26";
38382
+ SiteBuildRuntime["Rust183"] = "rust-1.83";
38383
+ SiteBuildRuntime["Static1"] = "static-1";
38384
+ SiteBuildRuntime["Flutter324"] = "flutter-3.24";
38385
+ SiteBuildRuntime["Flutter327"] = "flutter-3.27";
38386
+ SiteBuildRuntime["Flutter329"] = "flutter-3.29";
38387
+ SiteBuildRuntime["Flutter332"] = "flutter-3.32";
38388
+ SiteBuildRuntime["Flutter335"] = "flutter-3.35";
38389
+ SiteBuildRuntime["Flutter338"] = "flutter-3.38";
38390
+ SiteBuildRuntime["Flutter341"] = "flutter-3.41";
38391
+ SiteBuildRuntime["Flutter344"] = "flutter-3.44";
38392
+ })(exports.SiteBuildRuntime || (exports.SiteBuildRuntime = {}));
38393
+
38394
+ exports.SiteAdapter = void 0;
38395
+ (function (SiteAdapter) {
38396
+ SiteAdapter["Static"] = "static";
38397
+ SiteAdapter["Ssr"] = "ssr";
38398
+ })(exports.SiteAdapter || (exports.SiteAdapter = {}));
38399
+
38400
+ exports.SiteTemplateUseCase = void 0;
38401
+ (function (SiteTemplateUseCase) {
38402
+ SiteTemplateUseCase["Portfolio"] = "portfolio";
38403
+ SiteTemplateUseCase["Starter"] = "starter";
38404
+ SiteTemplateUseCase["Events"] = "events";
38405
+ SiteTemplateUseCase["Ecommerce"] = "ecommerce";
38406
+ SiteTemplateUseCase["Documentation"] = "documentation";
38407
+ SiteTemplateUseCase["Blog"] = "blog";
38408
+ SiteTemplateUseCase["Ai"] = "ai";
38409
+ SiteTemplateUseCase["Forms"] = "forms";
38410
+ SiteTemplateUseCase["Dashboard"] = "dashboard";
38411
+ })(exports.SiteTemplateUseCase || (exports.SiteTemplateUseCase = {}));
37907
38412
 
37908
38413
  exports.Compression = void 0;
37909
38414
  (function (Compression) {
@@ -37961,10 +38466,10 @@
37961
38466
  VCSDetectionType["Framework"] = "framework";
37962
38467
  })(exports.VCSDetectionType || (exports.VCSDetectionType = {}));
37963
38468
 
37964
- exports.Model = void 0;
37965
- (function (Model) {
37966
- Model["Embeddinggemma"] = "embeddinggemma";
37967
- })(exports.Model || (exports.Model = {}));
38469
+ exports.EmbeddingModel = void 0;
38470
+ (function (EmbeddingModel) {
38471
+ EmbeddingModel["Embeddinggemma"] = "embeddinggemma";
38472
+ })(exports.EmbeddingModel || (exports.EmbeddingModel = {}));
37968
38473
 
37969
38474
  exports.VectorsDBIndexType = void 0;
37970
38475
  (function (VectorsDBIndexType) {
@@ -38047,6 +38552,13 @@
38047
38552
  ExecutionStatus["Scheduled"] = "scheduled";
38048
38553
  })(exports.ExecutionStatus || (exports.ExecutionStatus = {}));
38049
38554
 
38555
+ exports.OAuth2GooglePrompt = void 0;
38556
+ (function (OAuth2GooglePrompt) {
38557
+ OAuth2GooglePrompt["None"] = "none";
38558
+ OAuth2GooglePrompt["Consent"] = "consent";
38559
+ OAuth2GooglePrompt["SelectAccount"] = "select_account";
38560
+ })(exports.OAuth2GooglePrompt || (exports.OAuth2GooglePrompt = {}));
38561
+
38050
38562
  exports.PlatformType = void 0;
38051
38563
  (function (PlatformType) {
38052
38564
  PlatformType["Windows"] = "windows";
@@ -38139,8 +38651,10 @@
38139
38651
  exports.Messaging = Messaging;
38140
38652
  exports.Migrations = Migrations;
38141
38653
  exports.Operator = Operator;
38654
+ exports.Organization = Organization;
38142
38655
  exports.Organizations = Organizations;
38143
38656
  exports.Permission = Permission;
38657
+ exports.Presences = Presences;
38144
38658
  exports.Project = Project;
38145
38659
  exports.Projects = Projects;
38146
38660
  exports.Proxy = Proxy;
@@ -38152,6 +38666,7 @@
38152
38666
  exports.TablesDB = TablesDB;
38153
38667
  exports.Teams = Teams;
38154
38668
  exports.Tokens = Tokens;
38669
+ exports.Usage = Usage;
38155
38670
  exports.Users = Users;
38156
38671
  exports.Vcs = Vcs;
38157
38672
  exports.VectorsDB = VectorsDB;