@appwrite.io/console 5.0.0 → 7.0.0-rc.1

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 (137) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +2 -2
  3. package/dist/cjs/sdk.js +13663 -10879
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +13661 -10880
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +13268 -10484
  8. package/docs/examples/databases/create-index.md +2 -2
  9. package/docs/examples/documentsdb/create-collection.md +22 -0
  10. package/docs/examples/documentsdb/create-document.md +25 -0
  11. package/docs/examples/documentsdb/create-documents.md +17 -0
  12. package/docs/examples/documentsdb/create-index.md +21 -0
  13. package/docs/examples/documentsdb/create-transaction.md +15 -0
  14. package/docs/examples/documentsdb/create.md +17 -0
  15. package/docs/examples/documentsdb/decrement-document-attribute.md +21 -0
  16. package/docs/examples/documentsdb/delete-collection.md +16 -0
  17. package/docs/examples/documentsdb/delete-document.md +18 -0
  18. package/docs/examples/documentsdb/delete-documents.md +18 -0
  19. package/docs/examples/documentsdb/delete-index.md +17 -0
  20. package/docs/examples/documentsdb/delete-transaction.md +15 -0
  21. package/docs/examples/documentsdb/delete.md +15 -0
  22. package/docs/examples/documentsdb/get-collection-usage.md +17 -0
  23. package/docs/examples/documentsdb/get-collection.md +16 -0
  24. package/docs/examples/documentsdb/get-document.md +19 -0
  25. package/docs/examples/documentsdb/get-index.md +17 -0
  26. package/docs/examples/documentsdb/get-transaction.md +15 -0
  27. package/docs/examples/documentsdb/get-usage.md +16 -0
  28. package/docs/examples/documentsdb/get.md +15 -0
  29. package/docs/examples/documentsdb/increment-document-attribute.md +21 -0
  30. package/docs/examples/documentsdb/list-collection-logs.md +17 -0
  31. package/docs/examples/documentsdb/list-collections.md +18 -0
  32. package/docs/examples/documentsdb/list-document-logs.md +18 -0
  33. package/docs/examples/documentsdb/list-documents.md +20 -0
  34. package/docs/examples/documentsdb/list-indexes.md +18 -0
  35. package/docs/examples/documentsdb/list-transactions.md +15 -0
  36. package/docs/examples/documentsdb/list-usage.md +15 -0
  37. package/docs/examples/documentsdb/list.md +17 -0
  38. package/docs/examples/documentsdb/update-collection.md +20 -0
  39. package/docs/examples/documentsdb/update-document.md +20 -0
  40. package/docs/examples/documentsdb/update-documents.md +19 -0
  41. package/docs/examples/documentsdb/update-transaction.md +17 -0
  42. package/docs/examples/documentsdb/update.md +17 -0
  43. package/docs/examples/documentsdb/upsert-document.md +20 -0
  44. package/docs/examples/documentsdb/upsert-documents.md +18 -0
  45. package/docs/examples/domains/update-purchase.md +16 -0
  46. package/docs/examples/domains/update-transfer-in.md +16 -0
  47. package/docs/examples/tablesdb/create-index.md +2 -2
  48. package/docs/examples/vectorsdb/create-collection.md +21 -0
  49. package/docs/examples/vectorsdb/create-document.md +29 -0
  50. package/docs/examples/vectorsdb/create-documents.md +17 -0
  51. package/docs/examples/vectorsdb/create-index.md +21 -0
  52. package/docs/examples/vectorsdb/create-operations.md +26 -0
  53. package/docs/examples/vectorsdb/create-text-embeddings.md +16 -0
  54. package/docs/examples/vectorsdb/create-transaction.md +15 -0
  55. package/docs/examples/vectorsdb/create.md +17 -0
  56. package/docs/examples/vectorsdb/delete-collection.md +16 -0
  57. package/docs/examples/vectorsdb/delete-document.md +18 -0
  58. package/docs/examples/vectorsdb/delete-documents.md +18 -0
  59. package/docs/examples/vectorsdb/delete-index.md +17 -0
  60. package/docs/examples/vectorsdb/delete-transaction.md +15 -0
  61. package/docs/examples/vectorsdb/delete.md +15 -0
  62. package/docs/examples/vectorsdb/get-collection-usage.md +17 -0
  63. package/docs/examples/vectorsdb/get-collection.md +16 -0
  64. package/docs/examples/vectorsdb/get-document.md +19 -0
  65. package/docs/examples/vectorsdb/get-index.md +17 -0
  66. package/docs/examples/vectorsdb/get-transaction.md +15 -0
  67. package/docs/examples/vectorsdb/get-usage.md +16 -0
  68. package/docs/examples/vectorsdb/get.md +15 -0
  69. package/docs/examples/vectorsdb/list-collection-logs.md +17 -0
  70. package/docs/examples/vectorsdb/list-collections.md +18 -0
  71. package/docs/examples/vectorsdb/list-documents.md +20 -0
  72. package/docs/examples/vectorsdb/list-indexes.md +18 -0
  73. package/docs/examples/vectorsdb/list-transactions.md +15 -0
  74. package/docs/examples/vectorsdb/list-usage.md +15 -0
  75. package/docs/examples/vectorsdb/list.md +17 -0
  76. package/docs/examples/vectorsdb/update-collection.md +21 -0
  77. package/docs/examples/vectorsdb/update-document.md +20 -0
  78. package/docs/examples/vectorsdb/update-documents.md +19 -0
  79. package/docs/examples/vectorsdb/update-transaction.md +17 -0
  80. package/docs/examples/vectorsdb/update.md +17 -0
  81. package/docs/examples/vectorsdb/upsert-document.md +20 -0
  82. package/docs/examples/vectorsdb/upsert-documents.md +18 -0
  83. package/docs/examples/webhooks/create.md +22 -0
  84. package/docs/examples/webhooks/delete.md +15 -0
  85. package/docs/examples/webhooks/get.md +15 -0
  86. package/docs/examples/webhooks/list.md +16 -0
  87. package/docs/examples/webhooks/update-signature.md +15 -0
  88. package/docs/examples/webhooks/update.md +22 -0
  89. package/package.json +1 -1
  90. package/src/client.ts +1 -1
  91. package/src/enums/appwrite-migration-resource.ts +2 -0
  92. package/src/enums/backup-services.ts +3 -0
  93. package/src/enums/build-runtime.ts +89 -0
  94. package/src/enums/database-type.ts +2 -0
  95. package/src/enums/databases-index-type.ts +6 -0
  96. package/src/enums/documents-db-index-type.ts +6 -0
  97. package/src/enums/domain-purchase-status.ts +6 -0
  98. package/src/enums/domain-transfer-status-enum.ts +10 -0
  99. package/src/enums/model.ts +3 -0
  100. package/src/enums/runtime.ts +89 -0
  101. package/src/enums/runtimes.ts +89 -0
  102. package/src/enums/scopes.ts +2 -0
  103. package/src/enums/{index-type.ts → tables-db-index-type.ts} +1 -1
  104. package/src/enums/vectors-db-index-type.ts +8 -0
  105. package/src/index.ts +11 -4
  106. package/src/models.ts +519 -19
  107. package/src/services/databases.ts +10 -10
  108. package/src/services/documents-db.ts +2608 -0
  109. package/src/services/domains.ts +30 -30
  110. package/src/services/projects.ts +0 -473
  111. package/src/services/tables-db.ts +10 -10
  112. package/src/services/vectors-db.ts +2406 -0
  113. package/src/services/webhooks.ts +451 -0
  114. package/types/enums/appwrite-migration-resource.d.ts +2 -0
  115. package/types/enums/backup-services.d.ts +3 -0
  116. package/types/enums/build-runtime.d.ts +90 -1
  117. package/types/enums/database-type.d.ts +3 -1
  118. package/types/enums/databases-index-type.d.ts +6 -0
  119. package/types/enums/documents-db-index-type.d.ts +6 -0
  120. package/types/enums/domain-purchase-status.d.ts +6 -0
  121. package/types/enums/domain-transfer-status-enum.d.ts +10 -0
  122. package/types/enums/model.d.ts +3 -0
  123. package/types/enums/runtime.d.ts +90 -1
  124. package/types/enums/runtimes.d.ts +90 -1
  125. package/types/enums/scopes.d.ts +2 -0
  126. package/types/enums/{index-type.d.ts → tables-db-index-type.d.ts} +1 -1
  127. package/types/enums/vectors-db-index-type.d.ts +8 -0
  128. package/types/index.d.ts +11 -4
  129. package/types/models.d.ts +509 -19
  130. package/types/services/databases.d.ts +5 -5
  131. package/types/services/documents-db.d.ts +977 -0
  132. package/types/services/domains.d.ts +22 -22
  133. package/types/services/projects.d.ts +0 -171
  134. package/types/services/tables-db.d.ts +5 -5
  135. package/types/services/vectors-db.d.ts +854 -0
  136. package/types/services/webhooks.d.ts +165 -0
  137. package/.github/workflows/autoclose.yml +0 -11
@@ -0,0 +1,21 @@
1
+ ```javascript
2
+ import { Client, VectorsDB, Permission, Role } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const vectorsDB = new VectorsDB(client);
9
+
10
+ const result = await vectorsDB.updateCollection({
11
+ databaseId: '<DATABASE_ID>',
12
+ collectionId: '<COLLECTION_ID>',
13
+ name: '<NAME>',
14
+ dimension: 1, // optional
15
+ permissions: [Permission.read(Role.any())], // optional
16
+ documentSecurity: false, // optional
17
+ enabled: false // optional
18
+ });
19
+
20
+ console.log(result);
21
+ ```
@@ -0,0 +1,20 @@
1
+ ```javascript
2
+ import { Client, VectorsDB, Permission, Role } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const vectorsDB = new VectorsDB(client);
9
+
10
+ const result = await vectorsDB.updateDocument({
11
+ databaseId: '<DATABASE_ID>',
12
+ collectionId: '<COLLECTION_ID>',
13
+ documentId: '<DOCUMENT_ID>',
14
+ data: {}, // optional
15
+ permissions: [Permission.read(Role.any())], // optional
16
+ transactionId: '<TRANSACTION_ID>' // optional
17
+ });
18
+
19
+ console.log(result);
20
+ ```
@@ -0,0 +1,19 @@
1
+ ```javascript
2
+ import { Client, VectorsDB } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const vectorsDB = new VectorsDB(client);
9
+
10
+ const result = await vectorsDB.updateDocuments({
11
+ databaseId: '<DATABASE_ID>',
12
+ collectionId: '<COLLECTION_ID>',
13
+ data: {}, // optional
14
+ queries: [], // optional
15
+ transactionId: '<TRANSACTION_ID>' // optional
16
+ });
17
+
18
+ console.log(result);
19
+ ```
@@ -0,0 +1,17 @@
1
+ ```javascript
2
+ import { Client, VectorsDB } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const vectorsDB = new VectorsDB(client);
9
+
10
+ const result = await vectorsDB.updateTransaction({
11
+ transactionId: '<TRANSACTION_ID>',
12
+ commit: false, // optional
13
+ rollback: false // optional
14
+ });
15
+
16
+ console.log(result);
17
+ ```
@@ -0,0 +1,17 @@
1
+ ```javascript
2
+ import { Client, VectorsDB } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const vectorsDB = new VectorsDB(client);
9
+
10
+ const result = await vectorsDB.update({
11
+ databaseId: '<DATABASE_ID>',
12
+ name: '<NAME>',
13
+ enabled: false // optional
14
+ });
15
+
16
+ console.log(result);
17
+ ```
@@ -0,0 +1,20 @@
1
+ ```javascript
2
+ import { Client, VectorsDB, Permission, Role } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const vectorsDB = new VectorsDB(client);
9
+
10
+ const result = await vectorsDB.upsertDocument({
11
+ databaseId: '<DATABASE_ID>',
12
+ collectionId: '<COLLECTION_ID>',
13
+ documentId: '<DOCUMENT_ID>',
14
+ data: {}, // optional
15
+ permissions: [Permission.read(Role.any())], // optional
16
+ transactionId: '<TRANSACTION_ID>' // optional
17
+ });
18
+
19
+ console.log(result);
20
+ ```
@@ -0,0 +1,18 @@
1
+ ```javascript
2
+ import { Client, VectorsDB } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const vectorsDB = new VectorsDB(client);
9
+
10
+ const result = await vectorsDB.upsertDocuments({
11
+ databaseId: '<DATABASE_ID>',
12
+ collectionId: '<COLLECTION_ID>',
13
+ documents: [],
14
+ transactionId: '<TRANSACTION_ID>' // optional
15
+ });
16
+
17
+ console.log(result);
18
+ ```
@@ -0,0 +1,22 @@
1
+ ```javascript
2
+ import { Client, Webhooks } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const webhooks = new Webhooks(client);
9
+
10
+ const result = await webhooks.create({
11
+ webhookId: '<WEBHOOK_ID>',
12
+ url: '',
13
+ name: '<NAME>',
14
+ events: [],
15
+ enabled: false, // optional
16
+ security: false, // optional
17
+ httpUser: '<HTTP_USER>', // optional
18
+ httpPass: '<HTTP_PASS>' // optional
19
+ });
20
+
21
+ console.log(result);
22
+ ```
@@ -0,0 +1,15 @@
1
+ ```javascript
2
+ import { Client, Webhooks } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const webhooks = new Webhooks(client);
9
+
10
+ const result = await webhooks.delete({
11
+ webhookId: '<WEBHOOK_ID>'
12
+ });
13
+
14
+ console.log(result);
15
+ ```
@@ -0,0 +1,15 @@
1
+ ```javascript
2
+ import { Client, Webhooks } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const webhooks = new Webhooks(client);
9
+
10
+ const result = await webhooks.get({
11
+ webhookId: '<WEBHOOK_ID>'
12
+ });
13
+
14
+ console.log(result);
15
+ ```
@@ -0,0 +1,16 @@
1
+ ```javascript
2
+ import { Client, Webhooks } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const webhooks = new Webhooks(client);
9
+
10
+ const result = await webhooks.list({
11
+ queries: [], // optional
12
+ total: false // optional
13
+ });
14
+
15
+ console.log(result);
16
+ ```
@@ -0,0 +1,15 @@
1
+ ```javascript
2
+ import { Client, Webhooks } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const webhooks = new Webhooks(client);
9
+
10
+ const result = await webhooks.updateSignature({
11
+ webhookId: '<WEBHOOK_ID>'
12
+ });
13
+
14
+ console.log(result);
15
+ ```
@@ -0,0 +1,22 @@
1
+ ```javascript
2
+ import { Client, Webhooks } from "@appwrite.io/console";
3
+
4
+ const client = new Client()
5
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
6
+ .setProject('<YOUR_PROJECT_ID>'); // Your project ID
7
+
8
+ const webhooks = new Webhooks(client);
9
+
10
+ const result = await webhooks.update({
11
+ webhookId: '<WEBHOOK_ID>',
12
+ name: '<NAME>',
13
+ url: '',
14
+ events: [],
15
+ enabled: false, // optional
16
+ security: false, // optional
17
+ httpUser: '<HTTP_USER>', // optional
18
+ httpPass: '<HTTP_PASS>' // optional
19
+ });
20
+
21
+ console.log(result);
22
+ ```
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@appwrite.io/console",
3
3
  "homepage": "https://appwrite.io/support",
4
4
  "description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
5
- "version": "5.0.0",
5
+ "version": "7.0.0-rc.1",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/cjs/sdk.js",
8
8
  "exports": {
package/src/client.ts CHANGED
@@ -400,7 +400,7 @@ class Client {
400
400
  'x-sdk-name': 'Console',
401
401
  'x-sdk-platform': 'console',
402
402
  'x-sdk-language': 'web',
403
- 'x-sdk-version': '5.0.0',
403
+ 'x-sdk-version': '6.0.0',
404
404
  'X-Appwrite-Response-Format': '1.8.0',
405
405
  };
406
406
 
@@ -10,6 +10,8 @@ export enum AppwriteMigrationResource {
10
10
  Document = 'document',
11
11
  Attribute = 'attribute',
12
12
  Collection = 'collection',
13
+ Documentsdb = 'documentsdb',
14
+ Vectorsdb = 'vectorsdb',
13
15
  Bucket = 'bucket',
14
16
  File = 'file',
15
17
  Function = 'function',
@@ -1,5 +1,8 @@
1
1
  export enum BackupServices {
2
2
  Databases = 'databases',
3
+ Tablesdb = 'tablesdb',
4
+ Documentsdb = 'documentsdb',
5
+ Vectorsdb = 'vectorsdb',
3
6
  Functions = 'functions',
4
7
  Storage = 'storage',
5
8
  }
@@ -88,4 +88,93 @@ export enum BuildRuntime {
88
88
  Flutter332 = 'flutter-3.32',
89
89
  Flutter335 = 'flutter-3.35',
90
90
  Flutter338 = 'flutter-3.38',
91
+ Node145rc = 'node-14.5-rc',
92
+ Node160rc = 'node-16.0-rc',
93
+ Node180rc = 'node-18.0-rc',
94
+ Node190rc = 'node-19.0-rc',
95
+ Node200rc = 'node-20.0-rc',
96
+ Node210rc = 'node-21.0-rc',
97
+ Node22rc = 'node-22-rc',
98
+ Node23rc = 'node-23-rc',
99
+ Node24rc = 'node-24-rc',
100
+ Node25rc = 'node-25-rc',
101
+ Php80rc = 'php-8.0-rc',
102
+ Php81rc = 'php-8.1-rc',
103
+ Php82rc = 'php-8.2-rc',
104
+ Php83rc = 'php-8.3-rc',
105
+ Php84rc = 'php-8.4-rc',
106
+ Ruby30rc = 'ruby-3.0-rc',
107
+ Ruby31rc = 'ruby-3.1-rc',
108
+ Ruby32rc = 'ruby-3.2-rc',
109
+ Ruby33rc = 'ruby-3.3-rc',
110
+ Ruby34rc = 'ruby-3.4-rc',
111
+ Ruby40rc = 'ruby-4.0-rc',
112
+ Python38rc = 'python-3.8-rc',
113
+ Python39rc = 'python-3.9-rc',
114
+ Python310rc = 'python-3.10-rc',
115
+ Python311rc = 'python-3.11-rc',
116
+ Python312rc = 'python-3.12-rc',
117
+ Python313rc = 'python-3.13-rc',
118
+ Python314rc = 'python-3.14-rc',
119
+ Pythonml311rc = 'python-ml-3.11-rc',
120
+ Pythonml312rc = 'python-ml-3.12-rc',
121
+ Pythonml313rc = 'python-ml-3.13-rc',
122
+ Deno121rc = 'deno-1.21-rc',
123
+ Deno124rc = 'deno-1.24-rc',
124
+ Deno135rc = 'deno-1.35-rc',
125
+ Deno140rc = 'deno-1.40-rc',
126
+ Deno146rc = 'deno-1.46-rc',
127
+ Deno20rc = 'deno-2.0-rc',
128
+ Deno25rc = 'deno-2.5-rc',
129
+ Deno26rc = 'deno-2.6-rc',
130
+ Dart215rc = 'dart-2.15-rc',
131
+ Dart216rc = 'dart-2.16-rc',
132
+ Dart217rc = 'dart-2.17-rc',
133
+ Dart218rc = 'dart-2.18-rc',
134
+ Dart219rc = 'dart-2.19-rc',
135
+ Dart30rc = 'dart-3.0-rc',
136
+ Dart31rc = 'dart-3.1-rc',
137
+ Dart33rc = 'dart-3.3-rc',
138
+ Dart35rc = 'dart-3.5-rc',
139
+ Dart38rc = 'dart-3.8-rc',
140
+ Dart39rc = 'dart-3.9-rc',
141
+ Dart310rc = 'dart-3.10-rc',
142
+ Dotnet60rc = 'dotnet-6.0-rc',
143
+ Dotnet70rc = 'dotnet-7.0-rc',
144
+ Dotnet80rc = 'dotnet-8.0-rc',
145
+ Dotnet10rc = 'dotnet-10-rc',
146
+ Java80rc = 'java-8.0-rc',
147
+ Java110rc = 'java-11.0-rc',
148
+ Java170rc = 'java-17.0-rc',
149
+ Java180rc = 'java-18.0-rc',
150
+ Java210rc = 'java-21.0-rc',
151
+ Java22rc = 'java-22-rc',
152
+ Java25rc = 'java-25-rc',
153
+ Swift55rc = 'swift-5.5-rc',
154
+ Swift58rc = 'swift-5.8-rc',
155
+ Swift59rc = 'swift-5.9-rc',
156
+ Swift510rc = 'swift-5.10-rc',
157
+ Swift62rc = 'swift-6.2-rc',
158
+ Kotlin16rc = 'kotlin-1.6-rc',
159
+ Kotlin18rc = 'kotlin-1.8-rc',
160
+ Kotlin19rc = 'kotlin-1.9-rc',
161
+ Kotlin20rc = 'kotlin-2.0-rc',
162
+ Kotlin23rc = 'kotlin-2.3-rc',
163
+ Cpp17rc = 'cpp-17-rc',
164
+ Cpp20rc = 'cpp-20-rc',
165
+ Bun10rc = 'bun-1.0-rc',
166
+ Bun11rc = 'bun-1.1-rc',
167
+ Bun12rc = 'bun-1.2-rc',
168
+ Bun13rc = 'bun-1.3-rc',
169
+ Go123rc = 'go-1.23-rc',
170
+ Go124rc = 'go-1.24-rc',
171
+ Go125rc = 'go-1.25-rc',
172
+ Go126rc = 'go-1.26-rc',
173
+ Static1rc = 'static-1-rc',
174
+ Flutter324rc = 'flutter-3.24-rc',
175
+ Flutter327rc = 'flutter-3.27-rc',
176
+ Flutter329rc = 'flutter-3.29-rc',
177
+ Flutter332rc = 'flutter-3.32-rc',
178
+ Flutter335rc = 'flutter-3.35-rc',
179
+ Flutter338rc = 'flutter-3.38-rc',
91
180
  }
@@ -1,4 +1,6 @@
1
1
  export enum DatabaseType {
2
2
  Legacy = 'legacy',
3
3
  Tablesdb = 'tablesdb',
4
+ Documentsdb = 'documentsdb',
5
+ Vectorsdb = 'vectorsdb',
4
6
  }
@@ -0,0 +1,6 @@
1
+ export enum DatabasesIndexType {
2
+ Key = 'key',
3
+ Fulltext = 'fulltext',
4
+ Unique = 'unique',
5
+ Spatial = 'spatial',
6
+ }
@@ -0,0 +1,6 @@
1
+ export enum DocumentsDBIndexType {
2
+ Key = 'key',
3
+ Fulltext = 'fulltext',
4
+ Unique = 'unique',
5
+ Spatial = 'spatial',
6
+ }
@@ -0,0 +1,6 @@
1
+ export enum DomainPurchaseStatus {
2
+ Pending = 'pending',
3
+ Succeeded = 'succeeded',
4
+ Failed = 'failed',
5
+ Cancelled = 'cancelled',
6
+ }
@@ -0,0 +1,10 @@
1
+ export enum DomainTransferStatusEnum {
2
+ Transferrable = 'transferrable',
3
+ NotTransferrable = 'not_transferrable',
4
+ PendingOwner = 'pending_owner',
5
+ PendingAdmin = 'pending_admin',
6
+ PendingRegistry = 'pending_registry',
7
+ Completed = 'completed',
8
+ Cancelled = 'cancelled',
9
+ ServiceUnavailable = 'service_unavailable',
10
+ }
@@ -0,0 +1,3 @@
1
+ export enum Model {
2
+ Embeddinggemma = 'embeddinggemma',
3
+ }
@@ -88,4 +88,93 @@ export enum Runtime {
88
88
  Flutter332 = 'flutter-3.32',
89
89
  Flutter335 = 'flutter-3.35',
90
90
  Flutter338 = 'flutter-3.38',
91
+ Node145rc = 'node-14.5-rc',
92
+ Node160rc = 'node-16.0-rc',
93
+ Node180rc = 'node-18.0-rc',
94
+ Node190rc = 'node-19.0-rc',
95
+ Node200rc = 'node-20.0-rc',
96
+ Node210rc = 'node-21.0-rc',
97
+ Node22rc = 'node-22-rc',
98
+ Node23rc = 'node-23-rc',
99
+ Node24rc = 'node-24-rc',
100
+ Node25rc = 'node-25-rc',
101
+ Php80rc = 'php-8.0-rc',
102
+ Php81rc = 'php-8.1-rc',
103
+ Php82rc = 'php-8.2-rc',
104
+ Php83rc = 'php-8.3-rc',
105
+ Php84rc = 'php-8.4-rc',
106
+ Ruby30rc = 'ruby-3.0-rc',
107
+ Ruby31rc = 'ruby-3.1-rc',
108
+ Ruby32rc = 'ruby-3.2-rc',
109
+ Ruby33rc = 'ruby-3.3-rc',
110
+ Ruby34rc = 'ruby-3.4-rc',
111
+ Ruby40rc = 'ruby-4.0-rc',
112
+ Python38rc = 'python-3.8-rc',
113
+ Python39rc = 'python-3.9-rc',
114
+ Python310rc = 'python-3.10-rc',
115
+ Python311rc = 'python-3.11-rc',
116
+ Python312rc = 'python-3.12-rc',
117
+ Python313rc = 'python-3.13-rc',
118
+ Python314rc = 'python-3.14-rc',
119
+ Pythonml311rc = 'python-ml-3.11-rc',
120
+ Pythonml312rc = 'python-ml-3.12-rc',
121
+ Pythonml313rc = 'python-ml-3.13-rc',
122
+ Deno121rc = 'deno-1.21-rc',
123
+ Deno124rc = 'deno-1.24-rc',
124
+ Deno135rc = 'deno-1.35-rc',
125
+ Deno140rc = 'deno-1.40-rc',
126
+ Deno146rc = 'deno-1.46-rc',
127
+ Deno20rc = 'deno-2.0-rc',
128
+ Deno25rc = 'deno-2.5-rc',
129
+ Deno26rc = 'deno-2.6-rc',
130
+ Dart215rc = 'dart-2.15-rc',
131
+ Dart216rc = 'dart-2.16-rc',
132
+ Dart217rc = 'dart-2.17-rc',
133
+ Dart218rc = 'dart-2.18-rc',
134
+ Dart219rc = 'dart-2.19-rc',
135
+ Dart30rc = 'dart-3.0-rc',
136
+ Dart31rc = 'dart-3.1-rc',
137
+ Dart33rc = 'dart-3.3-rc',
138
+ Dart35rc = 'dart-3.5-rc',
139
+ Dart38rc = 'dart-3.8-rc',
140
+ Dart39rc = 'dart-3.9-rc',
141
+ Dart310rc = 'dart-3.10-rc',
142
+ Dotnet60rc = 'dotnet-6.0-rc',
143
+ Dotnet70rc = 'dotnet-7.0-rc',
144
+ Dotnet80rc = 'dotnet-8.0-rc',
145
+ Dotnet10rc = 'dotnet-10-rc',
146
+ Java80rc = 'java-8.0-rc',
147
+ Java110rc = 'java-11.0-rc',
148
+ Java170rc = 'java-17.0-rc',
149
+ Java180rc = 'java-18.0-rc',
150
+ Java210rc = 'java-21.0-rc',
151
+ Java22rc = 'java-22-rc',
152
+ Java25rc = 'java-25-rc',
153
+ Swift55rc = 'swift-5.5-rc',
154
+ Swift58rc = 'swift-5.8-rc',
155
+ Swift59rc = 'swift-5.9-rc',
156
+ Swift510rc = 'swift-5.10-rc',
157
+ Swift62rc = 'swift-6.2-rc',
158
+ Kotlin16rc = 'kotlin-1.6-rc',
159
+ Kotlin18rc = 'kotlin-1.8-rc',
160
+ Kotlin19rc = 'kotlin-1.9-rc',
161
+ Kotlin20rc = 'kotlin-2.0-rc',
162
+ Kotlin23rc = 'kotlin-2.3-rc',
163
+ Cpp17rc = 'cpp-17-rc',
164
+ Cpp20rc = 'cpp-20-rc',
165
+ Bun10rc = 'bun-1.0-rc',
166
+ Bun11rc = 'bun-1.1-rc',
167
+ Bun12rc = 'bun-1.2-rc',
168
+ Bun13rc = 'bun-1.3-rc',
169
+ Go123rc = 'go-1.23-rc',
170
+ Go124rc = 'go-1.24-rc',
171
+ Go125rc = 'go-1.25-rc',
172
+ Go126rc = 'go-1.26-rc',
173
+ Static1rc = 'static-1-rc',
174
+ Flutter324rc = 'flutter-3.24-rc',
175
+ Flutter327rc = 'flutter-3.27-rc',
176
+ Flutter329rc = 'flutter-3.29-rc',
177
+ Flutter332rc = 'flutter-3.32-rc',
178
+ Flutter335rc = 'flutter-3.35-rc',
179
+ Flutter338rc = 'flutter-3.38-rc',
91
180
  }
@@ -88,4 +88,93 @@ export enum Runtimes {
88
88
  Flutter332 = 'flutter-3.32',
89
89
  Flutter335 = 'flutter-3.35',
90
90
  Flutter338 = 'flutter-3.38',
91
+ Node145rc = 'node-14.5-rc',
92
+ Node160rc = 'node-16.0-rc',
93
+ Node180rc = 'node-18.0-rc',
94
+ Node190rc = 'node-19.0-rc',
95
+ Node200rc = 'node-20.0-rc',
96
+ Node210rc = 'node-21.0-rc',
97
+ Node22rc = 'node-22-rc',
98
+ Node23rc = 'node-23-rc',
99
+ Node24rc = 'node-24-rc',
100
+ Node25rc = 'node-25-rc',
101
+ Php80rc = 'php-8.0-rc',
102
+ Php81rc = 'php-8.1-rc',
103
+ Php82rc = 'php-8.2-rc',
104
+ Php83rc = 'php-8.3-rc',
105
+ Php84rc = 'php-8.4-rc',
106
+ Ruby30rc = 'ruby-3.0-rc',
107
+ Ruby31rc = 'ruby-3.1-rc',
108
+ Ruby32rc = 'ruby-3.2-rc',
109
+ Ruby33rc = 'ruby-3.3-rc',
110
+ Ruby34rc = 'ruby-3.4-rc',
111
+ Ruby40rc = 'ruby-4.0-rc',
112
+ Python38rc = 'python-3.8-rc',
113
+ Python39rc = 'python-3.9-rc',
114
+ Python310rc = 'python-3.10-rc',
115
+ Python311rc = 'python-3.11-rc',
116
+ Python312rc = 'python-3.12-rc',
117
+ Python313rc = 'python-3.13-rc',
118
+ Python314rc = 'python-3.14-rc',
119
+ Pythonml311rc = 'python-ml-3.11-rc',
120
+ Pythonml312rc = 'python-ml-3.12-rc',
121
+ Pythonml313rc = 'python-ml-3.13-rc',
122
+ Deno121rc = 'deno-1.21-rc',
123
+ Deno124rc = 'deno-1.24-rc',
124
+ Deno135rc = 'deno-1.35-rc',
125
+ Deno140rc = 'deno-1.40-rc',
126
+ Deno146rc = 'deno-1.46-rc',
127
+ Deno20rc = 'deno-2.0-rc',
128
+ Deno25rc = 'deno-2.5-rc',
129
+ Deno26rc = 'deno-2.6-rc',
130
+ Dart215rc = 'dart-2.15-rc',
131
+ Dart216rc = 'dart-2.16-rc',
132
+ Dart217rc = 'dart-2.17-rc',
133
+ Dart218rc = 'dart-2.18-rc',
134
+ Dart219rc = 'dart-2.19-rc',
135
+ Dart30rc = 'dart-3.0-rc',
136
+ Dart31rc = 'dart-3.1-rc',
137
+ Dart33rc = 'dart-3.3-rc',
138
+ Dart35rc = 'dart-3.5-rc',
139
+ Dart38rc = 'dart-3.8-rc',
140
+ Dart39rc = 'dart-3.9-rc',
141
+ Dart310rc = 'dart-3.10-rc',
142
+ Dotnet60rc = 'dotnet-6.0-rc',
143
+ Dotnet70rc = 'dotnet-7.0-rc',
144
+ Dotnet80rc = 'dotnet-8.0-rc',
145
+ Dotnet10rc = 'dotnet-10-rc',
146
+ Java80rc = 'java-8.0-rc',
147
+ Java110rc = 'java-11.0-rc',
148
+ Java170rc = 'java-17.0-rc',
149
+ Java180rc = 'java-18.0-rc',
150
+ Java210rc = 'java-21.0-rc',
151
+ Java22rc = 'java-22-rc',
152
+ Java25rc = 'java-25-rc',
153
+ Swift55rc = 'swift-5.5-rc',
154
+ Swift58rc = 'swift-5.8-rc',
155
+ Swift59rc = 'swift-5.9-rc',
156
+ Swift510rc = 'swift-5.10-rc',
157
+ Swift62rc = 'swift-6.2-rc',
158
+ Kotlin16rc = 'kotlin-1.6-rc',
159
+ Kotlin18rc = 'kotlin-1.8-rc',
160
+ Kotlin19rc = 'kotlin-1.9-rc',
161
+ Kotlin20rc = 'kotlin-2.0-rc',
162
+ Kotlin23rc = 'kotlin-2.3-rc',
163
+ Cpp17rc = 'cpp-17-rc',
164
+ Cpp20rc = 'cpp-20-rc',
165
+ Bun10rc = 'bun-1.0-rc',
166
+ Bun11rc = 'bun-1.1-rc',
167
+ Bun12rc = 'bun-1.2-rc',
168
+ Bun13rc = 'bun-1.3-rc',
169
+ Go123rc = 'go-1.23-rc',
170
+ Go124rc = 'go-1.24-rc',
171
+ Go125rc = 'go-1.25-rc',
172
+ Go126rc = 'go-1.26-rc',
173
+ Static1rc = 'static-1-rc',
174
+ Flutter324rc = 'flutter-3.24-rc',
175
+ Flutter327rc = 'flutter-3.27-rc',
176
+ Flutter329rc = 'flutter-3.29-rc',
177
+ Flutter332rc = 'flutter-3.32-rc',
178
+ Flutter335rc = 'flutter-3.35-rc',
179
+ Flutter338rc = 'flutter-3.38-rc',
91
180
  }
@@ -56,6 +56,8 @@ export enum Scopes {
56
56
  AssistantRead = 'assistant.read',
57
57
  TokensRead = 'tokens.read',
58
58
  TokensWrite = 'tokens.write',
59
+ WebhooksRead = 'webhooks.read',
60
+ WebhooksWrite = 'webhooks.write',
59
61
  PoliciesWrite = 'policies.write',
60
62
  PoliciesRead = 'policies.read',
61
63
  ArchivesRead = 'archives.read',
@@ -1,4 +1,4 @@
1
- export enum IndexType {
1
+ export enum TablesDBIndexType {
2
2
  Key = 'key',
3
3
  Fulltext = 'fulltext',
4
4
  Unique = 'unique',
@@ -0,0 +1,8 @@
1
+ export enum VectorsDBIndexType {
2
+ HnswEuclidean = 'hnsw_euclidean',
3
+ HnswDot = 'hnsw_dot',
4
+ HnswCosine = 'hnsw_cosine',
5
+ Object = 'object',
6
+ Key = 'key',
7
+ Unique = 'unique',
8
+ }