@appwrite.io/console 7.0.0 → 8.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 (150) hide show
  1. package/.github/workflows/publish.yml +1 -1
  2. package/CHANGELOG.md +30 -6
  3. package/README.md +2 -2
  4. package/dist/cjs/sdk.js +222 -303
  5. package/docs/examples/databases/create-index.md +2 -2
  6. package/docs/examples/domains/create-purchase.md +2 -1
  7. package/docs/examples/domains/create-transfer-in.md +2 -1
  8. package/docs/examples/domains/update-auto-renewal.md +16 -0
  9. package/docs/examples/project/create-variable.md +1 -0
  10. package/docs/examples/project/list-variables.md +4 -1
  11. package/docs/examples/project/update-variable.md +1 -1
  12. package/docs/examples/tablesdb/create-index.md +2 -2
  13. package/docs/examples/users/update-impersonator.md +16 -0
  14. package/package.json +7 -7
  15. package/rollup.config.js +2 -1
  16. package/src/client.ts +61 -1
  17. package/src/enums/appwrite-migration-resource.ts +2 -0
  18. package/src/enums/backup-services.ts +3 -0
  19. package/src/enums/build-runtime.ts +0 -86
  20. package/src/enums/database-type.ts +2 -0
  21. package/src/enums/databases-index-type.ts +6 -0
  22. package/src/enums/runtime.ts +0 -86
  23. package/src/enums/runtimes.ts +0 -86
  24. package/src/enums/scopes.ts +13 -2
  25. package/src/enums/{index-type.ts → tables-db-index-type.ts} +1 -1
  26. package/src/enums/template-reference-type.ts +1 -1
  27. package/src/enums/use-cases.ts +7 -2
  28. package/src/index.ts +2 -1
  29. package/src/models.ts +172 -4
  30. package/src/services/databases.ts +10 -10
  31. package/src/services/domains.ts +103 -26
  32. package/src/services/project.ts +76 -33
  33. package/src/services/tables-db.ts +10 -10
  34. package/src/services/users.ts +67 -2
  35. package/src/services/vcs.ts +10 -10
  36. package/dist/cjs/sdk.js.map +0 -1
  37. package/dist/esm/sdk.js +0 -29782
  38. package/dist/esm/sdk.js.map +0 -1
  39. package/dist/iife/sdk.js +0 -33583
  40. package/types/channel.d.ts +0 -74
  41. package/types/client.d.ts +0 -260
  42. package/types/enums/adapter.d.ts +0 -4
  43. package/types/enums/api-service.d.ts +0 -15
  44. package/types/enums/api.d.ts +0 -5
  45. package/types/enums/appwrite-migration-resource.d.ts +0 -25
  46. package/types/enums/attribute-status.d.ts +0 -7
  47. package/types/enums/auth-method.d.ts +0 -9
  48. package/types/enums/authentication-factor.d.ts +0 -6
  49. package/types/enums/authenticator-type.d.ts +0 -3
  50. package/types/enums/backup-services.d.ts +0 -5
  51. package/types/enums/billing-plan-group.d.ts +0 -5
  52. package/types/enums/browser-permission.d.ts +0 -22
  53. package/types/enums/browser.d.ts +0 -16
  54. package/types/enums/build-runtime.d.ts +0 -174
  55. package/types/enums/column-status.d.ts +0 -7
  56. package/types/enums/compression.d.ts +0 -5
  57. package/types/enums/console-resource-type.d.ts +0 -3
  58. package/types/enums/credit-card.d.ts +0 -19
  59. package/types/enums/database-type.d.ts +0 -4
  60. package/types/enums/deployment-download-type.d.ts +0 -4
  61. package/types/enums/deployment-status.d.ts +0 -8
  62. package/types/enums/domain-purchase-status.d.ts +0 -6
  63. package/types/enums/domain-transfer-status-enum.d.ts +0 -10
  64. package/types/enums/email-template-locale.d.ts +0 -133
  65. package/types/enums/email-template-type.d.ts +0 -9
  66. package/types/enums/execution-method.d.ts +0 -9
  67. package/types/enums/execution-status.d.ts +0 -7
  68. package/types/enums/execution-trigger.d.ts +0 -5
  69. package/types/enums/filter-type.d.ts +0 -4
  70. package/types/enums/firebase-migration-resource.d.ts +0 -12
  71. package/types/enums/flag.d.ts +0 -197
  72. package/types/enums/framework.d.ts +0 -17
  73. package/types/enums/frameworks.d.ts +0 -17
  74. package/types/enums/health-antivirus-status.d.ts +0 -5
  75. package/types/enums/health-check-status.d.ts +0 -4
  76. package/types/enums/image-format.d.ts +0 -9
  77. package/types/enums/image-gravity.d.ts +0 -11
  78. package/types/enums/index-status.d.ts +0 -7
  79. package/types/enums/index-type.d.ts +0 -6
  80. package/types/enums/message-priority.d.ts +0 -4
  81. package/types/enums/message-status.d.ts +0 -7
  82. package/types/enums/messaging-provider-type.d.ts +0 -5
  83. package/types/enums/n-host-migration-resource.d.ts +0 -13
  84. package/types/enums/name.d.ts +0 -15
  85. package/types/enums/o-auth-provider.d.ts +0 -41
  86. package/types/enums/order-by.d.ts +0 -4
  87. package/types/enums/password-hash.d.ts +0 -13
  88. package/types/enums/platform-type.d.ts +0 -17
  89. package/types/enums/platform.d.ts +0 -4
  90. package/types/enums/project-usage-range.d.ts +0 -4
  91. package/types/enums/proxy-resource-type.d.ts +0 -4
  92. package/types/enums/proxy-rule-deployment-resource-type.d.ts +0 -4
  93. package/types/enums/proxy-rule-status.d.ts +0 -6
  94. package/types/enums/region.d.ts +0 -8
  95. package/types/enums/registration-type.d.ts +0 -6
  96. package/types/enums/relation-mutate.d.ts +0 -5
  97. package/types/enums/relationship-type.d.ts +0 -6
  98. package/types/enums/resource-type.d.ts +0 -6
  99. package/types/enums/runtime.d.ts +0 -174
  100. package/types/enums/runtimes.d.ts +0 -174
  101. package/types/enums/scopes.d.ts +0 -70
  102. package/types/enums/sms-template-locale.d.ts +0 -133
  103. package/types/enums/sms-template-type.d.ts +0 -6
  104. package/types/enums/smtp-encryption.d.ts +0 -5
  105. package/types/enums/smtp-secure.d.ts +0 -4
  106. package/types/enums/status-code.d.ts +0 -6
  107. package/types/enums/status.d.ts +0 -3
  108. package/types/enums/supabase-migration-resource.d.ts +0 -13
  109. package/types/enums/template-reference-type.d.ts +0 -5
  110. package/types/enums/theme.d.ts +0 -4
  111. package/types/enums/timezone.d.ts +0 -421
  112. package/types/enums/usage-range.d.ts +0 -5
  113. package/types/enums/use-cases.d.ts +0 -11
  114. package/types/enums/vcs-detection-type.d.ts +0 -4
  115. package/types/enums/vcs-reference-type.d.ts +0 -5
  116. package/types/id.d.ts +0 -20
  117. package/types/index.d.ts +0 -117
  118. package/types/models.d.ts +0 -9071
  119. package/types/operator.d.ts +0 -180
  120. package/types/permission.d.ts +0 -43
  121. package/types/query.d.ts +0 -442
  122. package/types/role.d.ts +0 -70
  123. package/types/service.d.ts +0 -11
  124. package/types/services/account.d.ts +0 -1536
  125. package/types/services/activities.d.ts +0 -46
  126. package/types/services/assistant.d.ts +0 -24
  127. package/types/services/avatars.d.ts +0 -320
  128. package/types/services/backups.d.ts +0 -277
  129. package/types/services/console.d.ts +0 -248
  130. package/types/services/databases.d.ts +0 -2435
  131. package/types/services/domains.d.ts +0 -1499
  132. package/types/services/functions.d.ts +0 -842
  133. package/types/services/graphql.d.ts +0 -43
  134. package/types/services/health.d.ts +0 -475
  135. package/types/services/locale.d.ts +0 -64
  136. package/types/services/messaging.d.ts +0 -1989
  137. package/types/services/migrations.d.ts +0 -417
  138. package/types/services/organizations.d.ts +0 -1009
  139. package/types/services/project.d.ts +0 -130
  140. package/types/services/projects.d.ts +0 -1626
  141. package/types/services/proxy.d.ts +0 -190
  142. package/types/services/realtime.d.ts +0 -134
  143. package/types/services/sites.d.ts +0 -800
  144. package/types/services/storage.d.ts +0 -467
  145. package/types/services/tables-db.d.ts +0 -2352
  146. package/types/services/teams.d.ts +0 -366
  147. package/types/services/tokens.d.ts +0 -119
  148. package/types/services/users.d.ts +0 -1184
  149. package/types/services/vcs.d.ts +0 -252
  150. package/types/services/webhooks.d.ts +0 -165
package/dist/cjs/sdk.js CHANGED
@@ -2,10 +2,6 @@
2
2
 
3
3
  var JSONbigModule = require('json-bigint');
4
4
 
5
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
-
7
- var JSONbigModule__default = /*#__PURE__*/_interopDefaultLegacy(JSONbigModule);
8
-
9
5
  /******************************************************************************
10
6
  Copyright (c) Microsoft Corporation.
11
7
 
@@ -20,6 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
16
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
17
  PERFORMANCE OF THIS SOFTWARE.
22
18
  ***************************************************************************** */
19
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
20
+
23
21
 
24
22
  function __awaiter(thisArg, _arguments, P, generator) {
25
23
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -35,9 +33,14 @@ function __classPrivateFieldGet(receiver, state, kind, f) {
35
33
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
36
34
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
37
35
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
38
- }
36
+ }
37
+
38
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
39
+ var e = new Error(message);
40
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
41
+ };
39
42
 
40
- const JSONbig$1 = JSONbigModule__default["default"]({ useNativeBigInt: true });
43
+ const JSONbig$1 = JSONbigModule({ useNativeBigInt: true });
41
44
  /**
42
45
  * Helper class to generate query strings.
43
46
  */
@@ -490,8 +493,8 @@ Query.touches = (attribute, values) => new Query("touches", attribute, [values])
490
493
  */
491
494
  Query.notTouches = (attribute, values) => new Query("notTouches", attribute, [values]).toString();
492
495
 
493
- const JSONbigParser = JSONbigModule__default["default"]({ storeAsString: false });
494
- const JSONbigSerializer = JSONbigModule__default["default"]({ useNativeBigInt: true });
496
+ const JSONbigParser = JSONbigModule({ storeAsString: false });
497
+ const JSONbigSerializer = JSONbigModule({ useNativeBigInt: true });
495
498
  const MAX_SAFE = BigInt(Number.MAX_SAFE_INTEGER);
496
499
  const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER);
497
500
  const MAX_INT64 = BigInt('9223372036854775807');
@@ -563,6 +566,9 @@ class Client {
563
566
  locale: '',
564
567
  mode: '',
565
568
  cookie: '',
569
+ impersonateuserid: '',
570
+ impersonateuseremail: '',
571
+ impersonateuserphone: '',
566
572
  platform: '',
567
573
  selfSigned: false,
568
574
  session: undefined,
@@ -574,7 +580,7 @@ class Client {
574
580
  'x-sdk-name': 'Console',
575
581
  'x-sdk-platform': 'console',
576
582
  'x-sdk-language': 'web',
577
- 'x-sdk-version': '7.0.0',
583
+ 'x-sdk-version': '8.1.0',
578
584
  'X-Appwrite-Response-Format': '1.9.0',
579
585
  };
580
586
  this.realtime = {
@@ -777,6 +783,17 @@ class Client {
777
783
  }
778
784
  };
779
785
  }
786
+ /**
787
+ * Get Headers
788
+ *
789
+ * Returns a copy of the current request headers, including any
790
+ * authentication headers. Handle with care.
791
+ *
792
+ * @returns {Headers}
793
+ */
794
+ getHeaders() {
795
+ return Object.assign({}, this.headers);
796
+ }
780
797
  /**
781
798
  * Set Endpoint
782
799
  *
@@ -905,6 +922,48 @@ class Client {
905
922
  this.config.cookie = value;
906
923
  return this;
907
924
  }
925
+ /**
926
+ * Set ImpersonateUserId
927
+ *
928
+ * Impersonate a user by ID on an already user-authenticated request. Requires the current request to be authenticated as a user with impersonator capability; X-Appwrite-Key alone is not sufficient. Impersonator users are intentionally granted users.read so they can discover a target before impersonation begins. Internal audit logs still attribute actions to the original impersonator and record the impersonated target only in internal audit payload data.
929
+ *
930
+ * @param value string
931
+ *
932
+ * @return {this}
933
+ */
934
+ setImpersonateUserId(value) {
935
+ this.headers['X-Appwrite-Impersonate-User-Id'] = value;
936
+ this.config.impersonateuserid = value;
937
+ return this;
938
+ }
939
+ /**
940
+ * Set ImpersonateUserEmail
941
+ *
942
+ * Impersonate a user by email on an already user-authenticated request. Requires the current request to be authenticated as a user with impersonator capability; X-Appwrite-Key alone is not sufficient. Impersonator users are intentionally granted users.read so they can discover a target before impersonation begins. Internal audit logs still attribute actions to the original impersonator and record the impersonated target only in internal audit payload data.
943
+ *
944
+ * @param value string
945
+ *
946
+ * @return {this}
947
+ */
948
+ setImpersonateUserEmail(value) {
949
+ this.headers['X-Appwrite-Impersonate-User-Email'] = value;
950
+ this.config.impersonateuseremail = value;
951
+ return this;
952
+ }
953
+ /**
954
+ * Set ImpersonateUserPhone
955
+ *
956
+ * Impersonate a user by phone on an already user-authenticated request. Requires the current request to be authenticated as a user with impersonator capability; X-Appwrite-Key alone is not sufficient. Impersonator users are intentionally granted users.read so they can discover a target before impersonation begins. Internal audit logs still attribute actions to the original impersonator and record the impersonated target only in internal audit payload data.
957
+ *
958
+ * @param value string
959
+ *
960
+ * @return {this}
961
+ */
962
+ setImpersonateUserPhone(value) {
963
+ this.headers['X-Appwrite-Impersonate-User-Phone'] = value;
964
+ this.config.impersonateuserphone = value;
965
+ return this;
966
+ }
908
967
  /**
909
968
  * Set Platform
910
969
  *
@@ -1032,9 +1091,9 @@ class Client {
1032
1091
  }
1033
1092
  return { uri: url.toString(), options };
1034
1093
  }
1035
- chunkedUpload(method, url, headers = {}, originalPayload = {}, onProgress) {
1036
- var _a;
1037
- return __awaiter(this, void 0, void 0, function* () {
1094
+ chunkedUpload(method_1, url_1) {
1095
+ return __awaiter(this, arguments, void 0, function* (method, url, headers = {}, originalPayload = {}, onProgress) {
1096
+ var _a;
1038
1097
  const [fileParam, file] = (_a = Object.entries(originalPayload).find(([_, value]) => value instanceof File)) !== null && _a !== void 0 ? _a : [];
1039
1098
  if (!file || !fileParam) {
1040
1099
  throw new Error('File not found in payload');
@@ -1076,9 +1135,9 @@ class Client {
1076
1135
  return this.call('GET', new URL(this.config.endpoint + '/ping'));
1077
1136
  });
1078
1137
  }
1079
- call(method, url, headers = {}, params = {}, responseType = 'json') {
1080
- var _a, _b;
1081
- return __awaiter(this, void 0, void 0, function* () {
1138
+ call(method_1, url_1) {
1139
+ return __awaiter(this, arguments, void 0, function* (method, url, headers = {}, params = {}, responseType = 'json') {
1140
+ var _a, _b;
1082
1141
  const { uri, options } = this.prepareRequest(method, url, headers, params);
1083
1142
  let data = null;
1084
1143
  const response = yield fetch(uri, options);
@@ -7788,7 +7847,8 @@ class Domains {
7788
7847
  paymentMethodId: rest[6],
7789
7848
  addressLine3: rest[7],
7790
7849
  companyName: rest[8],
7791
- periodYears: rest[9]
7850
+ periodYears: rest[9],
7851
+ autoRenewal: rest[10]
7792
7852
  };
7793
7853
  }
7794
7854
  const domain = params.domain;
@@ -7802,6 +7862,7 @@ class Domains {
7802
7862
  const addressLine3 = params.addressLine3;
7803
7863
  const companyName = params.companyName;
7804
7864
  const periodYears = params.periodYears;
7865
+ const autoRenewal = params.autoRenewal;
7805
7866
  if (typeof domain === 'undefined') {
7806
7867
  throw new AppwriteException('Missing required parameter: "domain"');
7807
7868
  }
@@ -7858,6 +7919,9 @@ class Domains {
7858
7919
  if (typeof periodYears !== 'undefined') {
7859
7920
  payload['periodYears'] = periodYears;
7860
7921
  }
7922
+ if (typeof autoRenewal !== 'undefined') {
7923
+ payload['autoRenewal'] = autoRenewal;
7924
+ }
7861
7925
  if (typeof paymentMethodId !== 'undefined') {
7862
7926
  payload['paymentMethodId'] = paymentMethodId;
7863
7927
  }
@@ -7955,13 +8019,15 @@ class Domains {
7955
8019
  domain: paramsOrFirst,
7956
8020
  organizationId: rest[0],
7957
8021
  authCode: rest[1],
7958
- paymentMethodId: rest[2]
8022
+ paymentMethodId: rest[2],
8023
+ autoRenewal: rest[3]
7959
8024
  };
7960
8025
  }
7961
8026
  const domain = params.domain;
7962
8027
  const organizationId = params.organizationId;
7963
8028
  const authCode = params.authCode;
7964
8029
  const paymentMethodId = params.paymentMethodId;
8030
+ const autoRenewal = params.autoRenewal;
7965
8031
  if (typeof domain === 'undefined') {
7966
8032
  throw new AppwriteException('Missing required parameter: "domain"');
7967
8033
  }
@@ -7985,6 +8051,9 @@ class Domains {
7985
8051
  if (typeof authCode !== 'undefined') {
7986
8052
  payload['authCode'] = authCode;
7987
8053
  }
8054
+ if (typeof autoRenewal !== 'undefined') {
8055
+ payload['autoRenewal'] = autoRenewal;
8056
+ }
7988
8057
  if (typeof paymentMethodId !== 'undefined') {
7989
8058
  payload['paymentMethodId'] = paymentMethodId;
7990
8059
  }
@@ -8099,6 +8168,36 @@ class Domains {
8099
8168
  };
8100
8169
  return this.client.call('delete', uri, apiHeaders, payload);
8101
8170
  }
8171
+ updateAutoRenewal(paramsOrFirst, ...rest) {
8172
+ let params;
8173
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
8174
+ params = (paramsOrFirst || {});
8175
+ }
8176
+ else {
8177
+ params = {
8178
+ domainId: paramsOrFirst,
8179
+ autoRenewal: rest[0]
8180
+ };
8181
+ }
8182
+ const domainId = params.domainId;
8183
+ const autoRenewal = params.autoRenewal;
8184
+ if (typeof domainId === 'undefined') {
8185
+ throw new AppwriteException('Missing required parameter: "domainId"');
8186
+ }
8187
+ if (typeof autoRenewal === 'undefined') {
8188
+ throw new AppwriteException('Missing required parameter: "autoRenewal"');
8189
+ }
8190
+ const apiPath = '/domains/{domainId}/auto-renewal'.replace('{domainId}', domainId);
8191
+ const payload = {};
8192
+ if (typeof autoRenewal !== 'undefined') {
8193
+ payload['autoRenewal'] = autoRenewal;
8194
+ }
8195
+ const uri = new URL(this.client.config.endpoint + apiPath);
8196
+ const apiHeaders = {
8197
+ 'content-type': 'application/json',
8198
+ };
8199
+ return this.client.call('patch', uri, apiHeaders, payload);
8200
+ }
8102
8201
  updateNameservers(paramsOrFirst) {
8103
8202
  let params;
8104
8203
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -16334,15 +16433,27 @@ class Project {
16334
16433
  const apiHeaders = {};
16335
16434
  return this.client.call('get', uri, apiHeaders, payload);
16336
16435
  }
16337
- /**
16338
- * Get a list of all project variables. These variables will be accessible in all Appwrite Functions at runtime.
16339
- *
16340
- * @throws {AppwriteException}
16341
- * @returns {Promise<Models.VariableList>}
16342
- */
16343
- listVariables() {
16436
+ listVariables(paramsOrFirst, ...rest) {
16437
+ let params;
16438
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
16439
+ params = (paramsOrFirst || {});
16440
+ }
16441
+ else {
16442
+ params = {
16443
+ queries: paramsOrFirst,
16444
+ total: rest[0]
16445
+ };
16446
+ }
16447
+ const queries = params.queries;
16448
+ const total = params.total;
16344
16449
  const apiPath = '/project/variables';
16345
16450
  const payload = {};
16451
+ if (typeof queries !== 'undefined') {
16452
+ payload['queries'] = queries;
16453
+ }
16454
+ if (typeof total !== 'undefined') {
16455
+ payload['total'] = total;
16456
+ }
16346
16457
  const uri = new URL(this.client.config.endpoint + apiPath);
16347
16458
  const apiHeaders = {};
16348
16459
  return this.client.call('get', uri, apiHeaders, payload);
@@ -16354,14 +16465,19 @@ class Project {
16354
16465
  }
16355
16466
  else {
16356
16467
  params = {
16357
- key: paramsOrFirst,
16358
- value: rest[0],
16359
- secret: rest[1]
16468
+ variableId: paramsOrFirst,
16469
+ key: rest[0],
16470
+ value: rest[1],
16471
+ secret: rest[2]
16360
16472
  };
16361
16473
  }
16474
+ const variableId = params.variableId;
16362
16475
  const key = params.key;
16363
16476
  const value = params.value;
16364
16477
  const secret = params.secret;
16478
+ if (typeof variableId === 'undefined') {
16479
+ throw new AppwriteException('Missing required parameter: "variableId"');
16480
+ }
16365
16481
  if (typeof key === 'undefined') {
16366
16482
  throw new AppwriteException('Missing required parameter: "key"');
16367
16483
  }
@@ -16370,6 +16486,9 @@ class Project {
16370
16486
  }
16371
16487
  const apiPath = '/project/variables';
16372
16488
  const payload = {};
16489
+ if (typeof variableId !== 'undefined') {
16490
+ payload['variableId'] = variableId;
16491
+ }
16373
16492
  if (typeof key !== 'undefined') {
16374
16493
  payload['key'] = key;
16375
16494
  }
@@ -16425,9 +16544,6 @@ class Project {
16425
16544
  if (typeof variableId === 'undefined') {
16426
16545
  throw new AppwriteException('Missing required parameter: "variableId"');
16427
16546
  }
16428
- if (typeof key === 'undefined') {
16429
- throw new AppwriteException('Missing required parameter: "key"');
16430
- }
16431
16547
  const apiPath = '/project/variables/{variableId}'.replace('{variableId}', variableId);
16432
16548
  const payload = {};
16433
16549
  if (typeof key !== 'undefined') {
@@ -25151,6 +25267,36 @@ class Users {
25151
25267
  };
25152
25268
  return this.client.call('patch', uri, apiHeaders, payload);
25153
25269
  }
25270
+ updateImpersonator(paramsOrFirst, ...rest) {
25271
+ let params;
25272
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
25273
+ params = (paramsOrFirst || {});
25274
+ }
25275
+ else {
25276
+ params = {
25277
+ userId: paramsOrFirst,
25278
+ impersonator: rest[0]
25279
+ };
25280
+ }
25281
+ const userId = params.userId;
25282
+ const impersonator = params.impersonator;
25283
+ if (typeof userId === 'undefined') {
25284
+ throw new AppwriteException('Missing required parameter: "userId"');
25285
+ }
25286
+ if (typeof impersonator === 'undefined') {
25287
+ throw new AppwriteException('Missing required parameter: "impersonator"');
25288
+ }
25289
+ const apiPath = '/users/{userId}/impersonator'.replace('{userId}', userId);
25290
+ const payload = {};
25291
+ if (typeof impersonator !== 'undefined') {
25292
+ payload['impersonator'] = impersonator;
25293
+ }
25294
+ const uri = new URL(this.client.config.endpoint + apiPath);
25295
+ const apiHeaders = {
25296
+ 'content-type': 'application/json',
25297
+ };
25298
+ return this.client.call('patch', uri, apiHeaders, payload);
25299
+ }
25154
25300
  createJWT(paramsOrFirst, ...rest) {
25155
25301
  let params;
25156
25302
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -26894,8 +27040,8 @@ class Realtime {
26894
27040
  }
26895
27041
  return String(channel);
26896
27042
  }
26897
- subscribe(channelsOrChannel, callback, queries = []) {
26898
- return __awaiter(this, void 0, void 0, function* () {
27043
+ subscribe(channelsOrChannel_1, callback_1) {
27044
+ return __awaiter(this, arguments, void 0, function* (channelsOrChannel, callback, queries = []) {
26899
27045
  const channelArray = Array.isArray(channelsOrChannel)
26900
27046
  ? channelsOrChannel
26901
27047
  : [channelsOrChannel];
@@ -27215,7 +27361,7 @@ class ID {
27215
27361
  */
27216
27362
  static unique(padding = 7) {
27217
27363
  // Generate a unique ID with padding to have a longer ID
27218
- const baseId = __classPrivateFieldGet(ID, _a, "m", _ID_hexTimestamp).call(ID);
27364
+ const baseId = __classPrivateFieldGet(_a, _a, "m", _ID_hexTimestamp).call(_a);
27219
27365
  let randomPadding = '';
27220
27366
  for (let i = 0; i < padding; i++) {
27221
27367
  const randomHexDigit = Math.floor(Math.random() * 16).toString(16);
@@ -27609,11 +27755,12 @@ Operator.dateSetNow = () => new Operator("dateSetNow", []).toString();
27609
27755
 
27610
27756
  exports.Scopes = void 0;
27611
27757
  (function (Scopes) {
27758
+ Scopes["Account"] = "account";
27759
+ Scopes["TeamsRead"] = "teams.read";
27760
+ Scopes["TeamsWrite"] = "teams.write";
27612
27761
  Scopes["SessionsWrite"] = "sessions.write";
27613
27762
  Scopes["UsersRead"] = "users.read";
27614
27763
  Scopes["UsersWrite"] = "users.write";
27615
- Scopes["TeamsRead"] = "teams.read";
27616
- Scopes["TeamsWrite"] = "teams.write";
27617
27764
  Scopes["DatabasesRead"] = "databases.read";
27618
27765
  Scopes["DatabasesWrite"] = "databases.write";
27619
27766
  Scopes["CollectionsRead"] = "collections.read";
@@ -27668,6 +27815,8 @@ exports.Scopes = void 0;
27668
27815
  Scopes["TokensWrite"] = "tokens.write";
27669
27816
  Scopes["WebhooksRead"] = "webhooks.read";
27670
27817
  Scopes["WebhooksWrite"] = "webhooks.write";
27818
+ Scopes["ProjectRead"] = "project.read";
27819
+ Scopes["ProjectWrite"] = "project.write";
27671
27820
  Scopes["PoliciesWrite"] = "policies.write";
27672
27821
  Scopes["PoliciesRead"] = "policies.read";
27673
27822
  Scopes["ArchivesRead"] = "archives.read";
@@ -27677,6 +27826,14 @@ exports.Scopes = void 0;
27677
27826
  Scopes["DomainsRead"] = "domains.read";
27678
27827
  Scopes["DomainsWrite"] = "domains.write";
27679
27828
  Scopes["EventsRead"] = "events.read";
27829
+ Scopes["PlatformsRead"] = "platforms.read";
27830
+ Scopes["PlatformsWrite"] = "platforms.write";
27831
+ Scopes["ProjectsRead"] = "projects.read";
27832
+ Scopes["ProjectsWrite"] = "projects.write";
27833
+ Scopes["KeysRead"] = "keys.read";
27834
+ Scopes["KeysWrite"] = "keys.write";
27835
+ Scopes["DevKeysRead"] = "devKeys.read";
27836
+ Scopes["DevKeysWrite"] = "devKeys.write";
27680
27837
  })(exports.Scopes || (exports.Scopes = {}));
27681
27838
 
27682
27839
  exports.AuthenticatorType = void 0;
@@ -28440,6 +28597,9 @@ exports.ImageFormat = void 0;
28440
28597
  exports.BackupServices = void 0;
28441
28598
  (function (BackupServices) {
28442
28599
  BackupServices["Databases"] = "databases";
28600
+ BackupServices["Tablesdb"] = "tablesdb";
28601
+ BackupServices["Documentsdb"] = "documentsdb";
28602
+ BackupServices["Vectorsdb"] = "vectorsdb";
28443
28603
  BackupServices["Functions"] = "functions";
28444
28604
  BackupServices["Storage"] = "storage";
28445
28605
  })(exports.BackupServices || (exports.BackupServices = {}));
@@ -28477,13 +28637,13 @@ exports.RelationMutate = void 0;
28477
28637
  RelationMutate["SetNull"] = "setNull";
28478
28638
  })(exports.RelationMutate || (exports.RelationMutate = {}));
28479
28639
 
28480
- exports.IndexType = void 0;
28481
- (function (IndexType) {
28482
- IndexType["Key"] = "key";
28483
- IndexType["Fulltext"] = "fulltext";
28484
- IndexType["Unique"] = "unique";
28485
- IndexType["Spatial"] = "spatial";
28486
- })(exports.IndexType || (exports.IndexType = {}));
28640
+ exports.DatabasesIndexType = void 0;
28641
+ (function (DatabasesIndexType) {
28642
+ DatabasesIndexType["Key"] = "key";
28643
+ DatabasesIndexType["Fulltext"] = "fulltext";
28644
+ DatabasesIndexType["Unique"] = "unique";
28645
+ DatabasesIndexType["Spatial"] = "spatial";
28646
+ })(exports.DatabasesIndexType || (exports.DatabasesIndexType = {}));
28487
28647
 
28488
28648
  exports.OrderBy = void 0;
28489
28649
  (function (OrderBy) {
@@ -28593,92 +28753,6 @@ exports.Runtime = void 0;
28593
28753
  Runtime["Flutter332"] = "flutter-3.32";
28594
28754
  Runtime["Flutter335"] = "flutter-3.35";
28595
28755
  Runtime["Flutter338"] = "flutter-3.38";
28596
- Runtime["Node145rc"] = "node-14.5-rc";
28597
- Runtime["Node160rc"] = "node-16.0-rc";
28598
- Runtime["Node180rc"] = "node-18.0-rc";
28599
- Runtime["Node190rc"] = "node-19.0-rc";
28600
- Runtime["Node200rc"] = "node-20.0-rc";
28601
- Runtime["Node210rc"] = "node-21.0-rc";
28602
- Runtime["Node22rc"] = "node-22-rc";
28603
- Runtime["Node23rc"] = "node-23-rc";
28604
- Runtime["Node24rc"] = "node-24-rc";
28605
- Runtime["Node25rc"] = "node-25-rc";
28606
- Runtime["Php80rc"] = "php-8.0-rc";
28607
- Runtime["Php81rc"] = "php-8.1-rc";
28608
- Runtime["Php82rc"] = "php-8.2-rc";
28609
- Runtime["Php83rc"] = "php-8.3-rc";
28610
- Runtime["Php84rc"] = "php-8.4-rc";
28611
- Runtime["Ruby30rc"] = "ruby-3.0-rc";
28612
- Runtime["Ruby31rc"] = "ruby-3.1-rc";
28613
- Runtime["Ruby32rc"] = "ruby-3.2-rc";
28614
- Runtime["Ruby33rc"] = "ruby-3.3-rc";
28615
- Runtime["Ruby34rc"] = "ruby-3.4-rc";
28616
- Runtime["Ruby40rc"] = "ruby-4.0-rc";
28617
- Runtime["Python38rc"] = "python-3.8-rc";
28618
- Runtime["Python39rc"] = "python-3.9-rc";
28619
- Runtime["Python310rc"] = "python-3.10-rc";
28620
- Runtime["Python311rc"] = "python-3.11-rc";
28621
- Runtime["Python312rc"] = "python-3.12-rc";
28622
- Runtime["Python313rc"] = "python-3.13-rc";
28623
- Runtime["Python314rc"] = "python-3.14-rc";
28624
- Runtime["Pythonml311rc"] = "python-ml-3.11-rc";
28625
- Runtime["Pythonml312rc"] = "python-ml-3.12-rc";
28626
- Runtime["Pythonml313rc"] = "python-ml-3.13-rc";
28627
- Runtime["Deno140rc"] = "deno-1.40-rc";
28628
- Runtime["Deno146rc"] = "deno-1.46-rc";
28629
- Runtime["Deno20rc"] = "deno-2.0-rc";
28630
- Runtime["Deno25rc"] = "deno-2.5-rc";
28631
- Runtime["Deno26rc"] = "deno-2.6-rc";
28632
- Runtime["Dart215rc"] = "dart-2.15-rc";
28633
- Runtime["Dart216rc"] = "dart-2.16-rc";
28634
- Runtime["Dart217rc"] = "dart-2.17-rc";
28635
- Runtime["Dart218rc"] = "dart-2.18-rc";
28636
- Runtime["Dart219rc"] = "dart-2.19-rc";
28637
- Runtime["Dart30rc"] = "dart-3.0-rc";
28638
- Runtime["Dart31rc"] = "dart-3.1-rc";
28639
- Runtime["Dart33rc"] = "dart-3.3-rc";
28640
- Runtime["Dart35rc"] = "dart-3.5-rc";
28641
- Runtime["Dart38rc"] = "dart-3.8-rc";
28642
- Runtime["Dart39rc"] = "dart-3.9-rc";
28643
- Runtime["Dart310rc"] = "dart-3.10-rc";
28644
- Runtime["Dotnet60rc"] = "dotnet-6.0-rc";
28645
- Runtime["Dotnet70rc"] = "dotnet-7.0-rc";
28646
- Runtime["Dotnet80rc"] = "dotnet-8.0-rc";
28647
- Runtime["Dotnet10rc"] = "dotnet-10-rc";
28648
- Runtime["Java80rc"] = "java-8.0-rc";
28649
- Runtime["Java110rc"] = "java-11.0-rc";
28650
- Runtime["Java170rc"] = "java-17.0-rc";
28651
- Runtime["Java180rc"] = "java-18.0-rc";
28652
- Runtime["Java210rc"] = "java-21.0-rc";
28653
- Runtime["Java22rc"] = "java-22-rc";
28654
- Runtime["Java25rc"] = "java-25-rc";
28655
- Runtime["Swift55rc"] = "swift-5.5-rc";
28656
- Runtime["Swift58rc"] = "swift-5.8-rc";
28657
- Runtime["Swift59rc"] = "swift-5.9-rc";
28658
- Runtime["Swift510rc"] = "swift-5.10-rc";
28659
- Runtime["Swift62rc"] = "swift-6.2-rc";
28660
- Runtime["Kotlin16rc"] = "kotlin-1.6-rc";
28661
- Runtime["Kotlin18rc"] = "kotlin-1.8-rc";
28662
- Runtime["Kotlin19rc"] = "kotlin-1.9-rc";
28663
- Runtime["Kotlin20rc"] = "kotlin-2.0-rc";
28664
- Runtime["Kotlin23rc"] = "kotlin-2.3-rc";
28665
- Runtime["Cpp17rc"] = "cpp-17-rc";
28666
- Runtime["Cpp20rc"] = "cpp-20-rc";
28667
- Runtime["Bun10rc"] = "bun-1.0-rc";
28668
- Runtime["Bun11rc"] = "bun-1.1-rc";
28669
- Runtime["Bun12rc"] = "bun-1.2-rc";
28670
- Runtime["Bun13rc"] = "bun-1.3-rc";
28671
- Runtime["Go123rc"] = "go-1.23-rc";
28672
- Runtime["Go124rc"] = "go-1.24-rc";
28673
- Runtime["Go125rc"] = "go-1.25-rc";
28674
- Runtime["Go126rc"] = "go-1.26-rc";
28675
- Runtime["Static1rc"] = "static-1-rc";
28676
- Runtime["Flutter324rc"] = "flutter-3.24-rc";
28677
- Runtime["Flutter327rc"] = "flutter-3.27-rc";
28678
- Runtime["Flutter329rc"] = "flutter-3.29-rc";
28679
- Runtime["Flutter332rc"] = "flutter-3.32-rc";
28680
- Runtime["Flutter335rc"] = "flutter-3.35-rc";
28681
- Runtime["Flutter338rc"] = "flutter-3.38-rc";
28682
28756
  })(exports.Runtime || (exports.Runtime = {}));
28683
28757
 
28684
28758
  exports.Runtimes = void 0;
@@ -28769,111 +28843,30 @@ exports.Runtimes = void 0;
28769
28843
  Runtimes["Flutter332"] = "flutter-3.32";
28770
28844
  Runtimes["Flutter335"] = "flutter-3.35";
28771
28845
  Runtimes["Flutter338"] = "flutter-3.38";
28772
- Runtimes["Node145rc"] = "node-14.5-rc";
28773
- Runtimes["Node160rc"] = "node-16.0-rc";
28774
- Runtimes["Node180rc"] = "node-18.0-rc";
28775
- Runtimes["Node190rc"] = "node-19.0-rc";
28776
- Runtimes["Node200rc"] = "node-20.0-rc";
28777
- Runtimes["Node210rc"] = "node-21.0-rc";
28778
- Runtimes["Node22rc"] = "node-22-rc";
28779
- Runtimes["Node23rc"] = "node-23-rc";
28780
- Runtimes["Node24rc"] = "node-24-rc";
28781
- Runtimes["Node25rc"] = "node-25-rc";
28782
- Runtimes["Php80rc"] = "php-8.0-rc";
28783
- Runtimes["Php81rc"] = "php-8.1-rc";
28784
- Runtimes["Php82rc"] = "php-8.2-rc";
28785
- Runtimes["Php83rc"] = "php-8.3-rc";
28786
- Runtimes["Php84rc"] = "php-8.4-rc";
28787
- Runtimes["Ruby30rc"] = "ruby-3.0-rc";
28788
- Runtimes["Ruby31rc"] = "ruby-3.1-rc";
28789
- Runtimes["Ruby32rc"] = "ruby-3.2-rc";
28790
- Runtimes["Ruby33rc"] = "ruby-3.3-rc";
28791
- Runtimes["Ruby34rc"] = "ruby-3.4-rc";
28792
- Runtimes["Ruby40rc"] = "ruby-4.0-rc";
28793
- Runtimes["Python38rc"] = "python-3.8-rc";
28794
- Runtimes["Python39rc"] = "python-3.9-rc";
28795
- Runtimes["Python310rc"] = "python-3.10-rc";
28796
- Runtimes["Python311rc"] = "python-3.11-rc";
28797
- Runtimes["Python312rc"] = "python-3.12-rc";
28798
- Runtimes["Python313rc"] = "python-3.13-rc";
28799
- Runtimes["Python314rc"] = "python-3.14-rc";
28800
- Runtimes["Pythonml311rc"] = "python-ml-3.11-rc";
28801
- Runtimes["Pythonml312rc"] = "python-ml-3.12-rc";
28802
- Runtimes["Pythonml313rc"] = "python-ml-3.13-rc";
28803
- Runtimes["Deno140rc"] = "deno-1.40-rc";
28804
- Runtimes["Deno146rc"] = "deno-1.46-rc";
28805
- Runtimes["Deno20rc"] = "deno-2.0-rc";
28806
- Runtimes["Deno25rc"] = "deno-2.5-rc";
28807
- Runtimes["Deno26rc"] = "deno-2.6-rc";
28808
- Runtimes["Dart215rc"] = "dart-2.15-rc";
28809
- Runtimes["Dart216rc"] = "dart-2.16-rc";
28810
- Runtimes["Dart217rc"] = "dart-2.17-rc";
28811
- Runtimes["Dart218rc"] = "dart-2.18-rc";
28812
- Runtimes["Dart219rc"] = "dart-2.19-rc";
28813
- Runtimes["Dart30rc"] = "dart-3.0-rc";
28814
- Runtimes["Dart31rc"] = "dart-3.1-rc";
28815
- Runtimes["Dart33rc"] = "dart-3.3-rc";
28816
- Runtimes["Dart35rc"] = "dart-3.5-rc";
28817
- Runtimes["Dart38rc"] = "dart-3.8-rc";
28818
- Runtimes["Dart39rc"] = "dart-3.9-rc";
28819
- Runtimes["Dart310rc"] = "dart-3.10-rc";
28820
- Runtimes["Dotnet60rc"] = "dotnet-6.0-rc";
28821
- Runtimes["Dotnet70rc"] = "dotnet-7.0-rc";
28822
- Runtimes["Dotnet80rc"] = "dotnet-8.0-rc";
28823
- Runtimes["Dotnet10rc"] = "dotnet-10-rc";
28824
- Runtimes["Java80rc"] = "java-8.0-rc";
28825
- Runtimes["Java110rc"] = "java-11.0-rc";
28826
- Runtimes["Java170rc"] = "java-17.0-rc";
28827
- Runtimes["Java180rc"] = "java-18.0-rc";
28828
- Runtimes["Java210rc"] = "java-21.0-rc";
28829
- Runtimes["Java22rc"] = "java-22-rc";
28830
- Runtimes["Java25rc"] = "java-25-rc";
28831
- Runtimes["Swift55rc"] = "swift-5.5-rc";
28832
- Runtimes["Swift58rc"] = "swift-5.8-rc";
28833
- Runtimes["Swift59rc"] = "swift-5.9-rc";
28834
- Runtimes["Swift510rc"] = "swift-5.10-rc";
28835
- Runtimes["Swift62rc"] = "swift-6.2-rc";
28836
- Runtimes["Kotlin16rc"] = "kotlin-1.6-rc";
28837
- Runtimes["Kotlin18rc"] = "kotlin-1.8-rc";
28838
- Runtimes["Kotlin19rc"] = "kotlin-1.9-rc";
28839
- Runtimes["Kotlin20rc"] = "kotlin-2.0-rc";
28840
- Runtimes["Kotlin23rc"] = "kotlin-2.3-rc";
28841
- Runtimes["Cpp17rc"] = "cpp-17-rc";
28842
- Runtimes["Cpp20rc"] = "cpp-20-rc";
28843
- Runtimes["Bun10rc"] = "bun-1.0-rc";
28844
- Runtimes["Bun11rc"] = "bun-1.1-rc";
28845
- Runtimes["Bun12rc"] = "bun-1.2-rc";
28846
- Runtimes["Bun13rc"] = "bun-1.3-rc";
28847
- Runtimes["Go123rc"] = "go-1.23-rc";
28848
- Runtimes["Go124rc"] = "go-1.24-rc";
28849
- Runtimes["Go125rc"] = "go-1.25-rc";
28850
- Runtimes["Go126rc"] = "go-1.26-rc";
28851
- Runtimes["Static1rc"] = "static-1-rc";
28852
- Runtimes["Flutter324rc"] = "flutter-3.24-rc";
28853
- Runtimes["Flutter327rc"] = "flutter-3.27-rc";
28854
- Runtimes["Flutter329rc"] = "flutter-3.29-rc";
28855
- Runtimes["Flutter332rc"] = "flutter-3.32-rc";
28856
- Runtimes["Flutter335rc"] = "flutter-3.35-rc";
28857
- Runtimes["Flutter338rc"] = "flutter-3.38-rc";
28858
28846
  })(exports.Runtimes || (exports.Runtimes = {}));
28859
28847
 
28860
28848
  exports.UseCases = void 0;
28861
28849
  (function (UseCases) {
28862
- UseCases["Portfolio"] = "portfolio";
28863
28850
  UseCases["Starter"] = "starter";
28851
+ UseCases["Databases"] = "databases";
28852
+ UseCases["Ai"] = "ai";
28853
+ UseCases["Messaging"] = "messaging";
28854
+ UseCases["Utilities"] = "utilities";
28855
+ UseCases["Devtools"] = "dev-tools";
28856
+ UseCases["Auth"] = "auth";
28857
+ UseCases["Portfolio"] = "portfolio";
28864
28858
  UseCases["Events"] = "events";
28865
28859
  UseCases["Ecommerce"] = "ecommerce";
28866
28860
  UseCases["Documentation"] = "documentation";
28867
28861
  UseCases["Blog"] = "blog";
28868
- UseCases["Ai"] = "ai";
28869
28862
  UseCases["Forms"] = "forms";
28870
28863
  UseCases["Dashboard"] = "dashboard";
28871
28864
  })(exports.UseCases || (exports.UseCases = {}));
28872
28865
 
28873
28866
  exports.TemplateReferenceType = void 0;
28874
28867
  (function (TemplateReferenceType) {
28875
- TemplateReferenceType["Branch"] = "branch";
28876
28868
  TemplateReferenceType["Commit"] = "commit";
28869
+ TemplateReferenceType["Branch"] = "branch";
28877
28870
  TemplateReferenceType["Tag"] = "tag";
28878
28871
  })(exports.TemplateReferenceType || (exports.TemplateReferenceType = {}));
28879
28872
 
@@ -28944,6 +28937,8 @@ exports.AppwriteMigrationResource = void 0;
28944
28937
  AppwriteMigrationResource["Document"] = "document";
28945
28938
  AppwriteMigrationResource["Attribute"] = "attribute";
28946
28939
  AppwriteMigrationResource["Collection"] = "collection";
28940
+ AppwriteMigrationResource["Documentsdb"] = "documentsdb";
28941
+ AppwriteMigrationResource["Vectorsdb"] = "vectorsdb";
28947
28942
  AppwriteMigrationResource["Bucket"] = "bucket";
28948
28943
  AppwriteMigrationResource["File"] = "file";
28949
28944
  AppwriteMigrationResource["Function"] = "function";
@@ -29501,92 +29496,6 @@ exports.BuildRuntime = void 0;
29501
29496
  BuildRuntime["Flutter332"] = "flutter-3.32";
29502
29497
  BuildRuntime["Flutter335"] = "flutter-3.35";
29503
29498
  BuildRuntime["Flutter338"] = "flutter-3.38";
29504
- BuildRuntime["Node145rc"] = "node-14.5-rc";
29505
- BuildRuntime["Node160rc"] = "node-16.0-rc";
29506
- BuildRuntime["Node180rc"] = "node-18.0-rc";
29507
- BuildRuntime["Node190rc"] = "node-19.0-rc";
29508
- BuildRuntime["Node200rc"] = "node-20.0-rc";
29509
- BuildRuntime["Node210rc"] = "node-21.0-rc";
29510
- BuildRuntime["Node22rc"] = "node-22-rc";
29511
- BuildRuntime["Node23rc"] = "node-23-rc";
29512
- BuildRuntime["Node24rc"] = "node-24-rc";
29513
- BuildRuntime["Node25rc"] = "node-25-rc";
29514
- BuildRuntime["Php80rc"] = "php-8.0-rc";
29515
- BuildRuntime["Php81rc"] = "php-8.1-rc";
29516
- BuildRuntime["Php82rc"] = "php-8.2-rc";
29517
- BuildRuntime["Php83rc"] = "php-8.3-rc";
29518
- BuildRuntime["Php84rc"] = "php-8.4-rc";
29519
- BuildRuntime["Ruby30rc"] = "ruby-3.0-rc";
29520
- BuildRuntime["Ruby31rc"] = "ruby-3.1-rc";
29521
- BuildRuntime["Ruby32rc"] = "ruby-3.2-rc";
29522
- BuildRuntime["Ruby33rc"] = "ruby-3.3-rc";
29523
- BuildRuntime["Ruby34rc"] = "ruby-3.4-rc";
29524
- BuildRuntime["Ruby40rc"] = "ruby-4.0-rc";
29525
- BuildRuntime["Python38rc"] = "python-3.8-rc";
29526
- BuildRuntime["Python39rc"] = "python-3.9-rc";
29527
- BuildRuntime["Python310rc"] = "python-3.10-rc";
29528
- BuildRuntime["Python311rc"] = "python-3.11-rc";
29529
- BuildRuntime["Python312rc"] = "python-3.12-rc";
29530
- BuildRuntime["Python313rc"] = "python-3.13-rc";
29531
- BuildRuntime["Python314rc"] = "python-3.14-rc";
29532
- BuildRuntime["Pythonml311rc"] = "python-ml-3.11-rc";
29533
- BuildRuntime["Pythonml312rc"] = "python-ml-3.12-rc";
29534
- BuildRuntime["Pythonml313rc"] = "python-ml-3.13-rc";
29535
- BuildRuntime["Deno140rc"] = "deno-1.40-rc";
29536
- BuildRuntime["Deno146rc"] = "deno-1.46-rc";
29537
- BuildRuntime["Deno20rc"] = "deno-2.0-rc";
29538
- BuildRuntime["Deno25rc"] = "deno-2.5-rc";
29539
- BuildRuntime["Deno26rc"] = "deno-2.6-rc";
29540
- BuildRuntime["Dart215rc"] = "dart-2.15-rc";
29541
- BuildRuntime["Dart216rc"] = "dart-2.16-rc";
29542
- BuildRuntime["Dart217rc"] = "dart-2.17-rc";
29543
- BuildRuntime["Dart218rc"] = "dart-2.18-rc";
29544
- BuildRuntime["Dart219rc"] = "dart-2.19-rc";
29545
- BuildRuntime["Dart30rc"] = "dart-3.0-rc";
29546
- BuildRuntime["Dart31rc"] = "dart-3.1-rc";
29547
- BuildRuntime["Dart33rc"] = "dart-3.3-rc";
29548
- BuildRuntime["Dart35rc"] = "dart-3.5-rc";
29549
- BuildRuntime["Dart38rc"] = "dart-3.8-rc";
29550
- BuildRuntime["Dart39rc"] = "dart-3.9-rc";
29551
- BuildRuntime["Dart310rc"] = "dart-3.10-rc";
29552
- BuildRuntime["Dotnet60rc"] = "dotnet-6.0-rc";
29553
- BuildRuntime["Dotnet70rc"] = "dotnet-7.0-rc";
29554
- BuildRuntime["Dotnet80rc"] = "dotnet-8.0-rc";
29555
- BuildRuntime["Dotnet10rc"] = "dotnet-10-rc";
29556
- BuildRuntime["Java80rc"] = "java-8.0-rc";
29557
- BuildRuntime["Java110rc"] = "java-11.0-rc";
29558
- BuildRuntime["Java170rc"] = "java-17.0-rc";
29559
- BuildRuntime["Java180rc"] = "java-18.0-rc";
29560
- BuildRuntime["Java210rc"] = "java-21.0-rc";
29561
- BuildRuntime["Java22rc"] = "java-22-rc";
29562
- BuildRuntime["Java25rc"] = "java-25-rc";
29563
- BuildRuntime["Swift55rc"] = "swift-5.5-rc";
29564
- BuildRuntime["Swift58rc"] = "swift-5.8-rc";
29565
- BuildRuntime["Swift59rc"] = "swift-5.9-rc";
29566
- BuildRuntime["Swift510rc"] = "swift-5.10-rc";
29567
- BuildRuntime["Swift62rc"] = "swift-6.2-rc";
29568
- BuildRuntime["Kotlin16rc"] = "kotlin-1.6-rc";
29569
- BuildRuntime["Kotlin18rc"] = "kotlin-1.8-rc";
29570
- BuildRuntime["Kotlin19rc"] = "kotlin-1.9-rc";
29571
- BuildRuntime["Kotlin20rc"] = "kotlin-2.0-rc";
29572
- BuildRuntime["Kotlin23rc"] = "kotlin-2.3-rc";
29573
- BuildRuntime["Cpp17rc"] = "cpp-17-rc";
29574
- BuildRuntime["Cpp20rc"] = "cpp-20-rc";
29575
- BuildRuntime["Bun10rc"] = "bun-1.0-rc";
29576
- BuildRuntime["Bun11rc"] = "bun-1.1-rc";
29577
- BuildRuntime["Bun12rc"] = "bun-1.2-rc";
29578
- BuildRuntime["Bun13rc"] = "bun-1.3-rc";
29579
- BuildRuntime["Go123rc"] = "go-1.23-rc";
29580
- BuildRuntime["Go124rc"] = "go-1.24-rc";
29581
- BuildRuntime["Go125rc"] = "go-1.25-rc";
29582
- BuildRuntime["Go126rc"] = "go-1.26-rc";
29583
- BuildRuntime["Static1rc"] = "static-1-rc";
29584
- BuildRuntime["Flutter324rc"] = "flutter-3.24-rc";
29585
- BuildRuntime["Flutter327rc"] = "flutter-3.27-rc";
29586
- BuildRuntime["Flutter329rc"] = "flutter-3.29-rc";
29587
- BuildRuntime["Flutter332rc"] = "flutter-3.32-rc";
29588
- BuildRuntime["Flutter335rc"] = "flutter-3.35-rc";
29589
- BuildRuntime["Flutter338rc"] = "flutter-3.38-rc";
29590
29499
  })(exports.BuildRuntime || (exports.BuildRuntime = {}));
29591
29500
 
29592
29501
  exports.Adapter = void 0;
@@ -29634,6 +29543,14 @@ exports.ImageGravity = void 0;
29634
29543
  ImageGravity["Bottomright"] = "bottom-right";
29635
29544
  })(exports.ImageGravity || (exports.ImageGravity = {}));
29636
29545
 
29546
+ exports.TablesDBIndexType = void 0;
29547
+ (function (TablesDBIndexType) {
29548
+ TablesDBIndexType["Key"] = "key";
29549
+ TablesDBIndexType["Fulltext"] = "fulltext";
29550
+ TablesDBIndexType["Unique"] = "unique";
29551
+ TablesDBIndexType["Spatial"] = "spatial";
29552
+ })(exports.TablesDBIndexType || (exports.TablesDBIndexType = {}));
29553
+
29637
29554
  exports.PasswordHash = void 0;
29638
29555
  (function (PasswordHash) {
29639
29556
  PasswordHash["Sha1"] = "sha1";
@@ -29666,6 +29583,8 @@ exports.DatabaseType = void 0;
29666
29583
  (function (DatabaseType) {
29667
29584
  DatabaseType["Legacy"] = "legacy";
29668
29585
  DatabaseType["Tablesdb"] = "tablesdb";
29586
+ DatabaseType["Documentsdb"] = "documentsdb";
29587
+ DatabaseType["Vectorsdb"] = "vectorsdb";
29669
29588
  })(exports.DatabaseType || (exports.DatabaseType = {}));
29670
29589
 
29671
29590
  exports.AttributeStatus = void 0;