@appwrite.io/console 7.0.0-rc.1 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/autoclose.yml +11 -0
- package/CHANGELOG.md +23 -0
- package/README.md +2 -2
- package/dist/cjs/sdk.js +10580 -13225
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +10709 -13348
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +10304 -12936
- package/docs/examples/domains/create-purchase.md +2 -1
- package/docs/examples/domains/create-transfer-in.md +2 -1
- package/docs/examples/domains/{confirm-purchase.md → update-auto-renewal.md} +2 -2
- package/docs/examples/project/create-variable.md +1 -0
- package/docs/examples/project/list-variables.md +4 -1
- package/docs/examples/project/update-variable.md +1 -1
- package/docs/examples/{documentsdb/delete.md → users/update-impersonator.md} +5 -4
- package/package.json +7 -7
- package/rollup.config.js +2 -1
- package/src/client.ts +50 -2
- package/src/enums/build-runtime.ts +0 -92
- package/src/enums/runtime.ts +0 -92
- package/src/enums/runtimes.ts +0 -92
- package/src/enums/scopes.ts +13 -2
- package/src/enums/template-reference-type.ts +1 -1
- package/src/enums/use-cases.ts +7 -2
- package/src/index.ts +0 -5
- package/src/models.ts +23 -435
- package/src/services/domains.ts +103 -26
- package/src/services/project.ts +76 -33
- package/src/services/users.ts +67 -2
- package/types/channel.d.ts +3 -3
- package/types/client.d.ts +37 -4
- package/types/enums/build-runtime.d.ts +1 -93
- package/types/enums/runtime.d.ts +1 -93
- package/types/enums/runtimes.d.ts +1 -93
- package/types/enums/scopes.d.ts +14 -3
- package/types/enums/template-reference-type.d.ts +1 -1
- package/types/enums/use-cases.d.ts +7 -2
- package/types/index.d.ts +0 -5
- package/types/models.d.ts +23 -423
- package/types/operator.d.ts +3 -3
- package/types/query.d.ts +4 -4
- package/types/services/domains.d.ts +42 -14
- package/types/services/project.d.ts +37 -19
- package/types/services/realtime.d.ts +6 -6
- package/types/services/users.d.ts +26 -2
- package/docs/examples/documentsdb/create-collection.md +0 -22
- package/docs/examples/documentsdb/create-document.md +0 -25
- package/docs/examples/documentsdb/create-documents.md +0 -17
- package/docs/examples/documentsdb/create-index.md +0 -21
- package/docs/examples/documentsdb/create-transaction.md +0 -15
- package/docs/examples/documentsdb/create.md +0 -17
- package/docs/examples/documentsdb/decrement-document-attribute.md +0 -21
- package/docs/examples/documentsdb/delete-collection.md +0 -16
- package/docs/examples/documentsdb/delete-document.md +0 -18
- package/docs/examples/documentsdb/delete-documents.md +0 -18
- package/docs/examples/documentsdb/delete-index.md +0 -17
- package/docs/examples/documentsdb/delete-transaction.md +0 -15
- package/docs/examples/documentsdb/get-collection-usage.md +0 -17
- package/docs/examples/documentsdb/get-collection.md +0 -16
- package/docs/examples/documentsdb/get-document.md +0 -19
- package/docs/examples/documentsdb/get-index.md +0 -17
- package/docs/examples/documentsdb/get-transaction.md +0 -15
- package/docs/examples/documentsdb/get-usage.md +0 -16
- package/docs/examples/documentsdb/get.md +0 -15
- package/docs/examples/documentsdb/increment-document-attribute.md +0 -21
- package/docs/examples/documentsdb/list-collection-logs.md +0 -17
- package/docs/examples/documentsdb/list-collections.md +0 -18
- package/docs/examples/documentsdb/list-document-logs.md +0 -18
- package/docs/examples/documentsdb/list-documents.md +0 -20
- package/docs/examples/documentsdb/list-indexes.md +0 -18
- package/docs/examples/documentsdb/list-transactions.md +0 -15
- package/docs/examples/documentsdb/list-usage.md +0 -15
- package/docs/examples/documentsdb/list.md +0 -17
- package/docs/examples/documentsdb/update-collection.md +0 -20
- package/docs/examples/documentsdb/update-document.md +0 -20
- package/docs/examples/documentsdb/update-documents.md +0 -19
- package/docs/examples/documentsdb/update-transaction.md +0 -17
- package/docs/examples/documentsdb/update.md +0 -17
- package/docs/examples/documentsdb/upsert-document.md +0 -20
- package/docs/examples/documentsdb/upsert-documents.md +0 -18
- package/docs/examples/domains/confirm-transfer-in.md +0 -16
- package/docs/examples/projects/create-webhook.md +0 -22
- package/docs/examples/projects/delete-webhook.md +0 -16
- package/docs/examples/projects/get-webhook.md +0 -16
- package/docs/examples/projects/list-webhooks.md +0 -16
- package/docs/examples/projects/update-webhook-signature.md +0 -16
- package/docs/examples/projects/update-webhook.md +0 -23
- package/docs/examples/vectorsdb/create-collection.md +0 -21
- package/docs/examples/vectorsdb/create-document.md +0 -29
- package/docs/examples/vectorsdb/create-documents.md +0 -17
- package/docs/examples/vectorsdb/create-index.md +0 -21
- package/docs/examples/vectorsdb/create-operations.md +0 -26
- package/docs/examples/vectorsdb/create-text-embeddings.md +0 -16
- package/docs/examples/vectorsdb/create-transaction.md +0 -15
- package/docs/examples/vectorsdb/create.md +0 -17
- package/docs/examples/vectorsdb/delete-collection.md +0 -16
- package/docs/examples/vectorsdb/delete-document.md +0 -18
- package/docs/examples/vectorsdb/delete-documents.md +0 -18
- package/docs/examples/vectorsdb/delete-index.md +0 -17
- package/docs/examples/vectorsdb/delete-transaction.md +0 -15
- package/docs/examples/vectorsdb/delete.md +0 -15
- package/docs/examples/vectorsdb/get-collection-usage.md +0 -17
- package/docs/examples/vectorsdb/get-collection.md +0 -16
- package/docs/examples/vectorsdb/get-document.md +0 -19
- package/docs/examples/vectorsdb/get-index.md +0 -17
- package/docs/examples/vectorsdb/get-transaction.md +0 -15
- package/docs/examples/vectorsdb/get-usage.md +0 -16
- package/docs/examples/vectorsdb/get.md +0 -15
- package/docs/examples/vectorsdb/list-collection-logs.md +0 -17
- package/docs/examples/vectorsdb/list-collections.md +0 -18
- package/docs/examples/vectorsdb/list-documents.md +0 -20
- package/docs/examples/vectorsdb/list-indexes.md +0 -18
- package/docs/examples/vectorsdb/list-transactions.md +0 -15
- package/docs/examples/vectorsdb/list-usage.md +0 -15
- package/docs/examples/vectorsdb/list.md +0 -17
- package/docs/examples/vectorsdb/update-collection.md +0 -21
- package/docs/examples/vectorsdb/update-document.md +0 -20
- package/docs/examples/vectorsdb/update-documents.md +0 -19
- package/docs/examples/vectorsdb/update-transaction.md +0 -17
- package/docs/examples/vectorsdb/update.md +0 -17
- package/docs/examples/vectorsdb/upsert-document.md +0 -20
- package/docs/examples/vectorsdb/upsert-documents.md +0 -18
- package/src/enums/documents-db-index-type.ts +0 -6
- package/src/enums/domain-purchase-payment-status.ts +0 -10
- package/src/enums/domain-transfer-status-status.ts +0 -10
- package/src/enums/model.ts +0 -3
- package/src/enums/vectors-db-index-type.ts +0 -8
- package/src/services/documents-db.ts +0 -2608
- package/src/services/vectors-db.ts +0 -2406
- package/types/enums/documents-db-index-type.d.ts +0 -6
- package/types/enums/domain-purchase-payment-status.d.ts +0 -10
- package/types/enums/domain-transfer-status-status.d.ts +0 -10
- package/types/enums/model.d.ts +0 -3
- package/types/enums/vectors-db-index-type.d.ts +0 -8
- package/types/services/documents-db.d.ts +0 -977
- package/types/services/vectors-db.d.ts +0 -854
package/types/client.d.ts
CHANGED
|
@@ -4,19 +4,19 @@ import { Query } from './query';
|
|
|
4
4
|
/**
|
|
5
5
|
* Payload type representing a key-value pair with string keys and any values.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
type Payload = {
|
|
8
8
|
[key: string]: any;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Headers type representing a key-value pair with string keys and string values.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
type Headers = {
|
|
14
14
|
[key: string]: string;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* Realtime event response structure with generic payload type.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
type RealtimeResponseEvent<T extends unknown> = {
|
|
20
20
|
/**
|
|
21
21
|
* List of event names associated with the response.
|
|
22
22
|
*/
|
|
@@ -41,7 +41,7 @@ declare type RealtimeResponseEvent<T extends unknown> = {
|
|
|
41
41
|
/**
|
|
42
42
|
* Type representing upload progress information.
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
type UploadProgress = {
|
|
45
45
|
/**
|
|
46
46
|
* Identifier for the upload progress.
|
|
47
47
|
*/
|
|
@@ -107,6 +107,9 @@ declare class Client {
|
|
|
107
107
|
locale: string;
|
|
108
108
|
mode: string;
|
|
109
109
|
cookie: string;
|
|
110
|
+
impersonateuserid: string;
|
|
111
|
+
impersonateuseremail: string;
|
|
112
|
+
impersonateuserphone: string;
|
|
110
113
|
platform: string;
|
|
111
114
|
selfSigned: boolean;
|
|
112
115
|
session?: string;
|
|
@@ -197,6 +200,36 @@ declare class Client {
|
|
|
197
200
|
* @return {this}
|
|
198
201
|
*/
|
|
199
202
|
setCookie(value: string): this;
|
|
203
|
+
/**
|
|
204
|
+
* Set ImpersonateUserId
|
|
205
|
+
*
|
|
206
|
+
* 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.
|
|
207
|
+
*
|
|
208
|
+
* @param value string
|
|
209
|
+
*
|
|
210
|
+
* @return {this}
|
|
211
|
+
*/
|
|
212
|
+
setImpersonateUserId(value: string): this;
|
|
213
|
+
/**
|
|
214
|
+
* Set ImpersonateUserEmail
|
|
215
|
+
*
|
|
216
|
+
* 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.
|
|
217
|
+
*
|
|
218
|
+
* @param value string
|
|
219
|
+
*
|
|
220
|
+
* @return {this}
|
|
221
|
+
*/
|
|
222
|
+
setImpersonateUserEmail(value: string): this;
|
|
223
|
+
/**
|
|
224
|
+
* Set ImpersonateUserPhone
|
|
225
|
+
*
|
|
226
|
+
* 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.
|
|
227
|
+
*
|
|
228
|
+
* @param value string
|
|
229
|
+
*
|
|
230
|
+
* @return {this}
|
|
231
|
+
*/
|
|
232
|
+
setImpersonateUserPhone(value: string): this;
|
|
200
233
|
/**
|
|
201
234
|
* Set Platform
|
|
202
235
|
*
|
|
@@ -30,9 +30,6 @@ export declare enum BuildRuntime {
|
|
|
30
30
|
Pythonml311 = "python-ml-3.11",
|
|
31
31
|
Pythonml312 = "python-ml-3.12",
|
|
32
32
|
Pythonml313 = "python-ml-3.13",
|
|
33
|
-
Deno121 = "deno-1.21",
|
|
34
|
-
Deno124 = "deno-1.24",
|
|
35
|
-
Deno135 = "deno-1.35",
|
|
36
33
|
Deno140 = "deno-1.40",
|
|
37
34
|
Deno146 = "deno-1.46",
|
|
38
35
|
Deno20 = "deno-2.0",
|
|
@@ -87,94 +84,5 @@ export declare enum BuildRuntime {
|
|
|
87
84
|
Flutter329 = "flutter-3.29",
|
|
88
85
|
Flutter332 = "flutter-3.32",
|
|
89
86
|
Flutter335 = "flutter-3.35",
|
|
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"
|
|
87
|
+
Flutter338 = "flutter-3.38"
|
|
180
88
|
}
|
package/types/enums/runtime.d.ts
CHANGED
|
@@ -30,9 +30,6 @@ export declare enum Runtime {
|
|
|
30
30
|
Pythonml311 = "python-ml-3.11",
|
|
31
31
|
Pythonml312 = "python-ml-3.12",
|
|
32
32
|
Pythonml313 = "python-ml-3.13",
|
|
33
|
-
Deno121 = "deno-1.21",
|
|
34
|
-
Deno124 = "deno-1.24",
|
|
35
|
-
Deno135 = "deno-1.35",
|
|
36
33
|
Deno140 = "deno-1.40",
|
|
37
34
|
Deno146 = "deno-1.46",
|
|
38
35
|
Deno20 = "deno-2.0",
|
|
@@ -87,94 +84,5 @@ export declare enum Runtime {
|
|
|
87
84
|
Flutter329 = "flutter-3.29",
|
|
88
85
|
Flutter332 = "flutter-3.32",
|
|
89
86
|
Flutter335 = "flutter-3.35",
|
|
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"
|
|
87
|
+
Flutter338 = "flutter-3.38"
|
|
180
88
|
}
|
|
@@ -30,9 +30,6 @@ export declare enum Runtimes {
|
|
|
30
30
|
Pythonml311 = "python-ml-3.11",
|
|
31
31
|
Pythonml312 = "python-ml-3.12",
|
|
32
32
|
Pythonml313 = "python-ml-3.13",
|
|
33
|
-
Deno121 = "deno-1.21",
|
|
34
|
-
Deno124 = "deno-1.24",
|
|
35
|
-
Deno135 = "deno-1.35",
|
|
36
33
|
Deno140 = "deno-1.40",
|
|
37
34
|
Deno146 = "deno-1.46",
|
|
38
35
|
Deno20 = "deno-2.0",
|
|
@@ -87,94 +84,5 @@ export declare enum Runtimes {
|
|
|
87
84
|
Flutter329 = "flutter-3.29",
|
|
88
85
|
Flutter332 = "flutter-3.32",
|
|
89
86
|
Flutter335 = "flutter-3.35",
|
|
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"
|
|
87
|
+
Flutter338 = "flutter-3.38"
|
|
180
88
|
}
|
package/types/enums/scopes.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export declare enum Scopes {
|
|
2
|
+
Account = "account",
|
|
3
|
+
TeamsRead = "teams.read",
|
|
4
|
+
TeamsWrite = "teams.write",
|
|
2
5
|
SessionsWrite = "sessions.write",
|
|
3
6
|
UsersRead = "users.read",
|
|
4
7
|
UsersWrite = "users.write",
|
|
5
|
-
TeamsRead = "teams.read",
|
|
6
|
-
TeamsWrite = "teams.write",
|
|
7
8
|
DatabasesRead = "databases.read",
|
|
8
9
|
DatabasesWrite = "databases.write",
|
|
9
10
|
CollectionsRead = "collections.read",
|
|
@@ -58,6 +59,8 @@ export declare enum Scopes {
|
|
|
58
59
|
TokensWrite = "tokens.write",
|
|
59
60
|
WebhooksRead = "webhooks.read",
|
|
60
61
|
WebhooksWrite = "webhooks.write",
|
|
62
|
+
ProjectRead = "project.read",
|
|
63
|
+
ProjectWrite = "project.write",
|
|
61
64
|
PoliciesWrite = "policies.write",
|
|
62
65
|
PoliciesRead = "policies.read",
|
|
63
66
|
ArchivesRead = "archives.read",
|
|
@@ -66,5 +69,13 @@ export declare enum Scopes {
|
|
|
66
69
|
RestorationsWrite = "restorations.write",
|
|
67
70
|
DomainsRead = "domains.read",
|
|
68
71
|
DomainsWrite = "domains.write",
|
|
69
|
-
EventsRead = "events.read"
|
|
72
|
+
EventsRead = "events.read",
|
|
73
|
+
PlatformsRead = "platforms.read",
|
|
74
|
+
PlatformsWrite = "platforms.write",
|
|
75
|
+
ProjectsRead = "projects.read",
|
|
76
|
+
ProjectsWrite = "projects.write",
|
|
77
|
+
KeysRead = "keys.read",
|
|
78
|
+
KeysWrite = "keys.write",
|
|
79
|
+
DevKeysRead = "devKeys.read",
|
|
80
|
+
DevKeysWrite = "devKeys.write"
|
|
70
81
|
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
export declare enum UseCases {
|
|
2
|
-
Portfolio = "portfolio",
|
|
3
2
|
Starter = "starter",
|
|
3
|
+
Databases = "databases",
|
|
4
|
+
Ai = "ai",
|
|
5
|
+
Messaging = "messaging",
|
|
6
|
+
Utilities = "utilities",
|
|
7
|
+
Devtools = "dev-tools",
|
|
8
|
+
Auth = "auth",
|
|
9
|
+
Portfolio = "portfolio",
|
|
4
10
|
Events = "events",
|
|
5
11
|
Ecommerce = "ecommerce",
|
|
6
12
|
Documentation = "documentation",
|
|
7
13
|
Blog = "blog",
|
|
8
|
-
Ai = "ai",
|
|
9
14
|
Forms = "forms",
|
|
10
15
|
Dashboard = "dashboard"
|
|
11
16
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export { Backups } from './services/backups';
|
|
|
13
13
|
export { Assistant } from './services/assistant';
|
|
14
14
|
export { Console } from './services/console';
|
|
15
15
|
export { Databases } from './services/databases';
|
|
16
|
-
export { DocumentsDB } from './services/documents-db';
|
|
17
16
|
export { Domains } from './services/domains';
|
|
18
17
|
export { Functions } from './services/functions';
|
|
19
18
|
export { Graphql } from './services/graphql';
|
|
@@ -32,7 +31,6 @@ export { Teams } from './services/teams';
|
|
|
32
31
|
export { Tokens } from './services/tokens';
|
|
33
32
|
export { Users } from './services/users';
|
|
34
33
|
export { Vcs } from './services/vcs';
|
|
35
|
-
export { VectorsDB } from './services/vectors-db';
|
|
36
34
|
export { Webhooks } from './services/webhooks';
|
|
37
35
|
export { Realtime } from './services/realtime';
|
|
38
36
|
export type { Models, Payload, RealtimeResponseEvent, UploadProgress } from './client';
|
|
@@ -62,7 +60,6 @@ export { RelationshipType } from './enums/relationship-type';
|
|
|
62
60
|
export { RelationMutate } from './enums/relation-mutate';
|
|
63
61
|
export { DatabasesIndexType } from './enums/databases-index-type';
|
|
64
62
|
export { OrderBy } from './enums/order-by';
|
|
65
|
-
export { DocumentsDBIndexType } from './enums/documents-db-index-type';
|
|
66
63
|
export { RegistrationType } from './enums/registration-type';
|
|
67
64
|
export { FilterType } from './enums/filter-type';
|
|
68
65
|
export { Runtime } from './enums/runtime';
|
|
@@ -104,8 +101,6 @@ export { TablesDBIndexType } from './enums/tables-db-index-type';
|
|
|
104
101
|
export { PasswordHash } from './enums/password-hash';
|
|
105
102
|
export { MessagingProviderType } from './enums/messaging-provider-type';
|
|
106
103
|
export { VCSDetectionType } from './enums/vcs-detection-type';
|
|
107
|
-
export { Model } from './enums/model';
|
|
108
|
-
export { VectorsDBIndexType } from './enums/vectors-db-index-type';
|
|
109
104
|
export { DatabaseType } from './enums/database-type';
|
|
110
105
|
export { AttributeStatus } from './enums/attribute-status';
|
|
111
106
|
export { ColumnStatus } from './enums/column-status';
|