@appwrite.io/console 4.0.0 → 6.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/CHANGELOG.md +31 -0
- package/README.md +2 -2
- package/dist/cjs/sdk.js +752 -383
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +752 -384
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +752 -383
- package/docs/examples/domains/update-purchase.md +16 -0
- package/docs/examples/domains/update-transfer-in.md +16 -0
- package/docs/examples/functions/create.md +3 -1
- package/docs/examples/functions/update.md +3 -1
- package/docs/examples/sites/create.md +4 -1
- package/docs/examples/sites/update.md +4 -1
- package/docs/examples/{projects/update-webhook.md → webhooks/create.md} +5 -6
- package/docs/examples/{projects/get-webhook.md → webhooks/delete.md} +3 -4
- package/docs/examples/{projects/delete-webhook.md → webhooks/get.md} +3 -4
- package/docs/examples/{projects/list-webhooks.md → webhooks/list.md} +4 -4
- package/docs/examples/{projects/update-webhook-signature.md → webhooks/update-signature.md} +3 -4
- package/docs/examples/{projects/create-webhook.md → webhooks/update.md} +6 -6
- package/package.json +1 -1
- package/src/client.ts +5 -1
- package/src/enums/appwrite-migration-resource.ts +4 -0
- package/src/enums/build-runtime.ts +86 -0
- package/src/enums/domain-purchase-status.ts +6 -0
- package/src/enums/{domain-transfer-status-status.ts → domain-transfer-status-enum.ts} +1 -1
- package/src/enums/runtime.ts +86 -0
- package/src/enums/runtimes.ts +86 -0
- package/src/enums/scopes.ts +2 -0
- package/src/index.ts +3 -1
- package/src/models.ts +140 -13
- package/src/services/account.ts +2 -2
- package/src/services/domains.ts +136 -10
- package/src/services/functions.ts +52 -24
- package/src/services/organizations.ts +2 -2
- package/src/services/projects.ts +0 -473
- package/src/services/sites.ts +83 -41
- package/src/services/webhooks.ts +451 -0
- package/types/enums/appwrite-migration-resource.d.ts +4 -0
- package/types/enums/build-runtime.d.ts +87 -1
- package/types/enums/domain-purchase-status.d.ts +6 -0
- package/types/enums/{domain-transfer-status-status.d.ts → domain-transfer-status-enum.d.ts} +1 -1
- package/types/enums/runtime.d.ts +87 -1
- package/types/enums/runtimes.d.ts +87 -1
- package/types/enums/scopes.d.ts +2 -0
- package/types/index.d.ts +3 -1
- package/types/models.d.ts +139 -13
- package/types/services/account.d.ts +2 -2
- package/types/services/domains.d.ts +52 -8
- package/types/services/functions.d.ts +20 -8
- package/types/services/organizations.d.ts +2 -2
- package/types/services/projects.d.ts +0 -171
- package/types/services/sites.d.ts +26 -8
- package/types/services/webhooks.d.ts +165 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
```javascript
|
|
2
|
+
import { Client, Domains } 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 domains = new Domains(client);
|
|
9
|
+
|
|
10
|
+
const result = await domains.updatePurchase({
|
|
11
|
+
domainId: '<DOMAIN_ID>',
|
|
12
|
+
organizationId: '<ORGANIZATION_ID>'
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
console.log(result);
|
|
16
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
```javascript
|
|
2
|
+
import { Client, Domains } 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 domains = new Domains(client);
|
|
9
|
+
|
|
10
|
+
const result = await domains.updateTransferIn({
|
|
11
|
+
domainId: '<DOMAIN_ID>',
|
|
12
|
+
organizationId: '<ORGANIZATION_ID>'
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
console.log(result);
|
|
16
|
+
```
|
|
@@ -25,7 +25,9 @@ const result = await functions.create({
|
|
|
25
25
|
providerBranch: '<PROVIDER_BRANCH>', // optional
|
|
26
26
|
providerSilentMode: false, // optional
|
|
27
27
|
providerRootDirectory: '<PROVIDER_ROOT_DIRECTORY>', // optional
|
|
28
|
-
|
|
28
|
+
buildSpecification: '', // optional
|
|
29
|
+
runtimeSpecification: '', // optional
|
|
30
|
+
deploymentRetention: 0 // optional
|
|
29
31
|
});
|
|
30
32
|
|
|
31
33
|
console.log(result);
|
|
@@ -25,7 +25,9 @@ const result = await functions.update({
|
|
|
25
25
|
providerBranch: '<PROVIDER_BRANCH>', // optional
|
|
26
26
|
providerSilentMode: false, // optional
|
|
27
27
|
providerRootDirectory: '<PROVIDER_ROOT_DIRECTORY>', // optional
|
|
28
|
-
|
|
28
|
+
buildSpecification: '', // optional
|
|
29
|
+
runtimeSpecification: '', // optional
|
|
30
|
+
deploymentRetention: 0 // optional
|
|
29
31
|
});
|
|
30
32
|
|
|
31
33
|
console.log(result);
|
|
@@ -17,6 +17,7 @@ const result = await sites.create({
|
|
|
17
17
|
timeout: 1, // optional
|
|
18
18
|
installCommand: '<INSTALL_COMMAND>', // optional
|
|
19
19
|
buildCommand: '<BUILD_COMMAND>', // optional
|
|
20
|
+
startCommand: '<START_COMMAND>', // optional
|
|
20
21
|
outputDirectory: '<OUTPUT_DIRECTORY>', // optional
|
|
21
22
|
adapter: Adapter.Static, // optional
|
|
22
23
|
installationId: '<INSTALLATION_ID>', // optional
|
|
@@ -25,7 +26,9 @@ const result = await sites.create({
|
|
|
25
26
|
providerBranch: '<PROVIDER_BRANCH>', // optional
|
|
26
27
|
providerSilentMode: false, // optional
|
|
27
28
|
providerRootDirectory: '<PROVIDER_ROOT_DIRECTORY>', // optional
|
|
28
|
-
|
|
29
|
+
buildSpecification: '', // optional
|
|
30
|
+
runtimeSpecification: '', // optional
|
|
31
|
+
deploymentRetention: 0 // optional
|
|
29
32
|
});
|
|
30
33
|
|
|
31
34
|
console.log(result);
|
|
@@ -16,6 +16,7 @@ const result = await sites.update({
|
|
|
16
16
|
timeout: 1, // optional
|
|
17
17
|
installCommand: '<INSTALL_COMMAND>', // optional
|
|
18
18
|
buildCommand: '<BUILD_COMMAND>', // optional
|
|
19
|
+
startCommand: '<START_COMMAND>', // optional
|
|
19
20
|
outputDirectory: '<OUTPUT_DIRECTORY>', // optional
|
|
20
21
|
buildRuntime: BuildRuntime.Node145, // optional
|
|
21
22
|
adapter: Adapter.Static, // optional
|
|
@@ -25,7 +26,9 @@ const result = await sites.update({
|
|
|
25
26
|
providerBranch: '<PROVIDER_BRANCH>', // optional
|
|
26
27
|
providerSilentMode: false, // optional
|
|
27
28
|
providerRootDirectory: '<PROVIDER_ROOT_DIRECTORY>', // optional
|
|
28
|
-
|
|
29
|
+
buildSpecification: '', // optional
|
|
30
|
+
runtimeSpecification: '', // optional
|
|
31
|
+
deploymentRetention: 0 // optional
|
|
29
32
|
});
|
|
30
33
|
|
|
31
34
|
console.log(result);
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
```javascript
|
|
2
|
-
import { Client,
|
|
2
|
+
import { Client, Webhooks } from "@appwrite.io/console";
|
|
3
3
|
|
|
4
4
|
const client = new Client()
|
|
5
5
|
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
|
6
6
|
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const webhooks = new Webhooks(client);
|
|
9
9
|
|
|
10
|
-
const result = await
|
|
11
|
-
projectId: '<PROJECT_ID>',
|
|
10
|
+
const result = await webhooks.create({
|
|
12
11
|
webhookId: '<WEBHOOK_ID>',
|
|
12
|
+
url: '',
|
|
13
13
|
name: '<NAME>',
|
|
14
14
|
events: [],
|
|
15
|
-
url: '',
|
|
16
|
-
security: false,
|
|
17
15
|
enabled: false, // optional
|
|
16
|
+
security: false, // optional
|
|
18
17
|
httpUser: '<HTTP_USER>', // optional
|
|
19
18
|
httpPass: '<HTTP_PASS>' // optional
|
|
20
19
|
});
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
```javascript
|
|
2
|
-
import { Client,
|
|
2
|
+
import { Client, Webhooks } from "@appwrite.io/console";
|
|
3
3
|
|
|
4
4
|
const client = new Client()
|
|
5
5
|
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
|
6
6
|
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const webhooks = new Webhooks(client);
|
|
9
9
|
|
|
10
|
-
const result = await
|
|
11
|
-
projectId: '<PROJECT_ID>',
|
|
10
|
+
const result = await webhooks.delete({
|
|
12
11
|
webhookId: '<WEBHOOK_ID>'
|
|
13
12
|
});
|
|
14
13
|
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
```javascript
|
|
2
|
-
import { Client,
|
|
2
|
+
import { Client, Webhooks } from "@appwrite.io/console";
|
|
3
3
|
|
|
4
4
|
const client = new Client()
|
|
5
5
|
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
|
6
6
|
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const webhooks = new Webhooks(client);
|
|
9
9
|
|
|
10
|
-
const result = await
|
|
11
|
-
projectId: '<PROJECT_ID>',
|
|
10
|
+
const result = await webhooks.get({
|
|
12
11
|
webhookId: '<WEBHOOK_ID>'
|
|
13
12
|
});
|
|
14
13
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
```javascript
|
|
2
|
-
import { Client,
|
|
2
|
+
import { Client, Webhooks } from "@appwrite.io/console";
|
|
3
3
|
|
|
4
4
|
const client = new Client()
|
|
5
5
|
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
|
6
6
|
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const webhooks = new Webhooks(client);
|
|
9
9
|
|
|
10
|
-
const result = await
|
|
11
|
-
|
|
10
|
+
const result = await webhooks.list({
|
|
11
|
+
queries: [], // optional
|
|
12
12
|
total: false // optional
|
|
13
13
|
});
|
|
14
14
|
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
```javascript
|
|
2
|
-
import { Client,
|
|
2
|
+
import { Client, Webhooks } from "@appwrite.io/console";
|
|
3
3
|
|
|
4
4
|
const client = new Client()
|
|
5
5
|
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
|
6
6
|
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const webhooks = new Webhooks(client);
|
|
9
9
|
|
|
10
|
-
const result = await
|
|
11
|
-
projectId: '<PROJECT_ID>',
|
|
10
|
+
const result = await webhooks.updateSignature({
|
|
12
11
|
webhookId: '<WEBHOOK_ID>'
|
|
13
12
|
});
|
|
14
13
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
```javascript
|
|
2
|
-
import { Client,
|
|
2
|
+
import { Client, Webhooks } from "@appwrite.io/console";
|
|
3
3
|
|
|
4
4
|
const client = new Client()
|
|
5
5
|
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
|
6
6
|
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const webhooks = new Webhooks(client);
|
|
9
9
|
|
|
10
|
-
const result = await
|
|
11
|
-
|
|
10
|
+
const result = await webhooks.update({
|
|
11
|
+
webhookId: '<WEBHOOK_ID>',
|
|
12
12
|
name: '<NAME>',
|
|
13
|
-
events: [],
|
|
14
13
|
url: '',
|
|
15
|
-
|
|
14
|
+
events: [],
|
|
16
15
|
enabled: false, // optional
|
|
16
|
+
security: false, // optional
|
|
17
17
|
httpUser: '<HTTP_USER>', // optional
|
|
18
18
|
httpPass: '<HTTP_PASS>' // optional
|
|
19
19
|
});
|
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
|
+
"version": "6.0.0",
|
|
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': '
|
|
403
|
+
'x-sdk-version': '6.0.0',
|
|
404
404
|
'X-Appwrite-Response-Format': '1.8.0',
|
|
405
405
|
};
|
|
406
406
|
|
|
@@ -995,6 +995,10 @@ class Client {
|
|
|
995
995
|
window.localStorage.setItem('cookieFallback', cookieFallback);
|
|
996
996
|
}
|
|
997
997
|
|
|
998
|
+
if (data && typeof data === 'object') {
|
|
999
|
+
data.toString = () => JSONbig.stringify(data);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
998
1002
|
return data;
|
|
999
1003
|
}
|
|
1000
1004
|
|
|
@@ -15,6 +15,10 @@ export enum AppwriteMigrationResource {
|
|
|
15
15
|
Function = 'function',
|
|
16
16
|
Deployment = 'deployment',
|
|
17
17
|
Environmentvariable = 'environment-variable',
|
|
18
|
+
Provider = 'provider',
|
|
19
|
+
Topic = 'topic',
|
|
20
|
+
Subscriber = 'subscriber',
|
|
21
|
+
Message = 'message',
|
|
18
22
|
Site = 'site',
|
|
19
23
|
Sitedeployment = 'site-deployment',
|
|
20
24
|
Sitevariable = 'site-variable',
|
|
@@ -85,4 +85,90 @@ export enum BuildRuntime {
|
|
|
85
85
|
Flutter332 = 'flutter-3.32',
|
|
86
86
|
Flutter335 = 'flutter-3.35',
|
|
87
87
|
Flutter338 = 'flutter-3.38',
|
|
88
|
+
Node145rc = 'node-14.5-rc',
|
|
89
|
+
Node160rc = 'node-16.0-rc',
|
|
90
|
+
Node180rc = 'node-18.0-rc',
|
|
91
|
+
Node190rc = 'node-19.0-rc',
|
|
92
|
+
Node200rc = 'node-20.0-rc',
|
|
93
|
+
Node210rc = 'node-21.0-rc',
|
|
94
|
+
Node22rc = 'node-22-rc',
|
|
95
|
+
Node23rc = 'node-23-rc',
|
|
96
|
+
Node24rc = 'node-24-rc',
|
|
97
|
+
Node25rc = 'node-25-rc',
|
|
98
|
+
Php80rc = 'php-8.0-rc',
|
|
99
|
+
Php81rc = 'php-8.1-rc',
|
|
100
|
+
Php82rc = 'php-8.2-rc',
|
|
101
|
+
Php83rc = 'php-8.3-rc',
|
|
102
|
+
Php84rc = 'php-8.4-rc',
|
|
103
|
+
Ruby30rc = 'ruby-3.0-rc',
|
|
104
|
+
Ruby31rc = 'ruby-3.1-rc',
|
|
105
|
+
Ruby32rc = 'ruby-3.2-rc',
|
|
106
|
+
Ruby33rc = 'ruby-3.3-rc',
|
|
107
|
+
Ruby34rc = 'ruby-3.4-rc',
|
|
108
|
+
Ruby40rc = 'ruby-4.0-rc',
|
|
109
|
+
Python38rc = 'python-3.8-rc',
|
|
110
|
+
Python39rc = 'python-3.9-rc',
|
|
111
|
+
Python310rc = 'python-3.10-rc',
|
|
112
|
+
Python311rc = 'python-3.11-rc',
|
|
113
|
+
Python312rc = 'python-3.12-rc',
|
|
114
|
+
Python313rc = 'python-3.13-rc',
|
|
115
|
+
Python314rc = 'python-3.14-rc',
|
|
116
|
+
Pythonml311rc = 'python-ml-3.11-rc',
|
|
117
|
+
Pythonml312rc = 'python-ml-3.12-rc',
|
|
118
|
+
Pythonml313rc = 'python-ml-3.13-rc',
|
|
119
|
+
Deno140rc = 'deno-1.40-rc',
|
|
120
|
+
Deno146rc = 'deno-1.46-rc',
|
|
121
|
+
Deno20rc = 'deno-2.0-rc',
|
|
122
|
+
Deno25rc = 'deno-2.5-rc',
|
|
123
|
+
Deno26rc = 'deno-2.6-rc',
|
|
124
|
+
Dart215rc = 'dart-2.15-rc',
|
|
125
|
+
Dart216rc = 'dart-2.16-rc',
|
|
126
|
+
Dart217rc = 'dart-2.17-rc',
|
|
127
|
+
Dart218rc = 'dart-2.18-rc',
|
|
128
|
+
Dart219rc = 'dart-2.19-rc',
|
|
129
|
+
Dart30rc = 'dart-3.0-rc',
|
|
130
|
+
Dart31rc = 'dart-3.1-rc',
|
|
131
|
+
Dart33rc = 'dart-3.3-rc',
|
|
132
|
+
Dart35rc = 'dart-3.5-rc',
|
|
133
|
+
Dart38rc = 'dart-3.8-rc',
|
|
134
|
+
Dart39rc = 'dart-3.9-rc',
|
|
135
|
+
Dart310rc = 'dart-3.10-rc',
|
|
136
|
+
Dotnet60rc = 'dotnet-6.0-rc',
|
|
137
|
+
Dotnet70rc = 'dotnet-7.0-rc',
|
|
138
|
+
Dotnet80rc = 'dotnet-8.0-rc',
|
|
139
|
+
Dotnet10rc = 'dotnet-10-rc',
|
|
140
|
+
Java80rc = 'java-8.0-rc',
|
|
141
|
+
Java110rc = 'java-11.0-rc',
|
|
142
|
+
Java170rc = 'java-17.0-rc',
|
|
143
|
+
Java180rc = 'java-18.0-rc',
|
|
144
|
+
Java210rc = 'java-21.0-rc',
|
|
145
|
+
Java22rc = 'java-22-rc',
|
|
146
|
+
Java25rc = 'java-25-rc',
|
|
147
|
+
Swift55rc = 'swift-5.5-rc',
|
|
148
|
+
Swift58rc = 'swift-5.8-rc',
|
|
149
|
+
Swift59rc = 'swift-5.9-rc',
|
|
150
|
+
Swift510rc = 'swift-5.10-rc',
|
|
151
|
+
Swift62rc = 'swift-6.2-rc',
|
|
152
|
+
Kotlin16rc = 'kotlin-1.6-rc',
|
|
153
|
+
Kotlin18rc = 'kotlin-1.8-rc',
|
|
154
|
+
Kotlin19rc = 'kotlin-1.9-rc',
|
|
155
|
+
Kotlin20rc = 'kotlin-2.0-rc',
|
|
156
|
+
Kotlin23rc = 'kotlin-2.3-rc',
|
|
157
|
+
Cpp17rc = 'cpp-17-rc',
|
|
158
|
+
Cpp20rc = 'cpp-20-rc',
|
|
159
|
+
Bun10rc = 'bun-1.0-rc',
|
|
160
|
+
Bun11rc = 'bun-1.1-rc',
|
|
161
|
+
Bun12rc = 'bun-1.2-rc',
|
|
162
|
+
Bun13rc = 'bun-1.3-rc',
|
|
163
|
+
Go123rc = 'go-1.23-rc',
|
|
164
|
+
Go124rc = 'go-1.24-rc',
|
|
165
|
+
Go125rc = 'go-1.25-rc',
|
|
166
|
+
Go126rc = 'go-1.26-rc',
|
|
167
|
+
Static1rc = 'static-1-rc',
|
|
168
|
+
Flutter324rc = 'flutter-3.24-rc',
|
|
169
|
+
Flutter327rc = 'flutter-3.27-rc',
|
|
170
|
+
Flutter329rc = 'flutter-3.29-rc',
|
|
171
|
+
Flutter332rc = 'flutter-3.32-rc',
|
|
172
|
+
Flutter335rc = 'flutter-3.35-rc',
|
|
173
|
+
Flutter338rc = 'flutter-3.38-rc',
|
|
88
174
|
}
|
package/src/enums/runtime.ts
CHANGED
|
@@ -85,4 +85,90 @@ export enum Runtime {
|
|
|
85
85
|
Flutter332 = 'flutter-3.32',
|
|
86
86
|
Flutter335 = 'flutter-3.35',
|
|
87
87
|
Flutter338 = 'flutter-3.38',
|
|
88
|
+
Node145rc = 'node-14.5-rc',
|
|
89
|
+
Node160rc = 'node-16.0-rc',
|
|
90
|
+
Node180rc = 'node-18.0-rc',
|
|
91
|
+
Node190rc = 'node-19.0-rc',
|
|
92
|
+
Node200rc = 'node-20.0-rc',
|
|
93
|
+
Node210rc = 'node-21.0-rc',
|
|
94
|
+
Node22rc = 'node-22-rc',
|
|
95
|
+
Node23rc = 'node-23-rc',
|
|
96
|
+
Node24rc = 'node-24-rc',
|
|
97
|
+
Node25rc = 'node-25-rc',
|
|
98
|
+
Php80rc = 'php-8.0-rc',
|
|
99
|
+
Php81rc = 'php-8.1-rc',
|
|
100
|
+
Php82rc = 'php-8.2-rc',
|
|
101
|
+
Php83rc = 'php-8.3-rc',
|
|
102
|
+
Php84rc = 'php-8.4-rc',
|
|
103
|
+
Ruby30rc = 'ruby-3.0-rc',
|
|
104
|
+
Ruby31rc = 'ruby-3.1-rc',
|
|
105
|
+
Ruby32rc = 'ruby-3.2-rc',
|
|
106
|
+
Ruby33rc = 'ruby-3.3-rc',
|
|
107
|
+
Ruby34rc = 'ruby-3.4-rc',
|
|
108
|
+
Ruby40rc = 'ruby-4.0-rc',
|
|
109
|
+
Python38rc = 'python-3.8-rc',
|
|
110
|
+
Python39rc = 'python-3.9-rc',
|
|
111
|
+
Python310rc = 'python-3.10-rc',
|
|
112
|
+
Python311rc = 'python-3.11-rc',
|
|
113
|
+
Python312rc = 'python-3.12-rc',
|
|
114
|
+
Python313rc = 'python-3.13-rc',
|
|
115
|
+
Python314rc = 'python-3.14-rc',
|
|
116
|
+
Pythonml311rc = 'python-ml-3.11-rc',
|
|
117
|
+
Pythonml312rc = 'python-ml-3.12-rc',
|
|
118
|
+
Pythonml313rc = 'python-ml-3.13-rc',
|
|
119
|
+
Deno140rc = 'deno-1.40-rc',
|
|
120
|
+
Deno146rc = 'deno-1.46-rc',
|
|
121
|
+
Deno20rc = 'deno-2.0-rc',
|
|
122
|
+
Deno25rc = 'deno-2.5-rc',
|
|
123
|
+
Deno26rc = 'deno-2.6-rc',
|
|
124
|
+
Dart215rc = 'dart-2.15-rc',
|
|
125
|
+
Dart216rc = 'dart-2.16-rc',
|
|
126
|
+
Dart217rc = 'dart-2.17-rc',
|
|
127
|
+
Dart218rc = 'dart-2.18-rc',
|
|
128
|
+
Dart219rc = 'dart-2.19-rc',
|
|
129
|
+
Dart30rc = 'dart-3.0-rc',
|
|
130
|
+
Dart31rc = 'dart-3.1-rc',
|
|
131
|
+
Dart33rc = 'dart-3.3-rc',
|
|
132
|
+
Dart35rc = 'dart-3.5-rc',
|
|
133
|
+
Dart38rc = 'dart-3.8-rc',
|
|
134
|
+
Dart39rc = 'dart-3.9-rc',
|
|
135
|
+
Dart310rc = 'dart-3.10-rc',
|
|
136
|
+
Dotnet60rc = 'dotnet-6.0-rc',
|
|
137
|
+
Dotnet70rc = 'dotnet-7.0-rc',
|
|
138
|
+
Dotnet80rc = 'dotnet-8.0-rc',
|
|
139
|
+
Dotnet10rc = 'dotnet-10-rc',
|
|
140
|
+
Java80rc = 'java-8.0-rc',
|
|
141
|
+
Java110rc = 'java-11.0-rc',
|
|
142
|
+
Java170rc = 'java-17.0-rc',
|
|
143
|
+
Java180rc = 'java-18.0-rc',
|
|
144
|
+
Java210rc = 'java-21.0-rc',
|
|
145
|
+
Java22rc = 'java-22-rc',
|
|
146
|
+
Java25rc = 'java-25-rc',
|
|
147
|
+
Swift55rc = 'swift-5.5-rc',
|
|
148
|
+
Swift58rc = 'swift-5.8-rc',
|
|
149
|
+
Swift59rc = 'swift-5.9-rc',
|
|
150
|
+
Swift510rc = 'swift-5.10-rc',
|
|
151
|
+
Swift62rc = 'swift-6.2-rc',
|
|
152
|
+
Kotlin16rc = 'kotlin-1.6-rc',
|
|
153
|
+
Kotlin18rc = 'kotlin-1.8-rc',
|
|
154
|
+
Kotlin19rc = 'kotlin-1.9-rc',
|
|
155
|
+
Kotlin20rc = 'kotlin-2.0-rc',
|
|
156
|
+
Kotlin23rc = 'kotlin-2.3-rc',
|
|
157
|
+
Cpp17rc = 'cpp-17-rc',
|
|
158
|
+
Cpp20rc = 'cpp-20-rc',
|
|
159
|
+
Bun10rc = 'bun-1.0-rc',
|
|
160
|
+
Bun11rc = 'bun-1.1-rc',
|
|
161
|
+
Bun12rc = 'bun-1.2-rc',
|
|
162
|
+
Bun13rc = 'bun-1.3-rc',
|
|
163
|
+
Go123rc = 'go-1.23-rc',
|
|
164
|
+
Go124rc = 'go-1.24-rc',
|
|
165
|
+
Go125rc = 'go-1.25-rc',
|
|
166
|
+
Go126rc = 'go-1.26-rc',
|
|
167
|
+
Static1rc = 'static-1-rc',
|
|
168
|
+
Flutter324rc = 'flutter-3.24-rc',
|
|
169
|
+
Flutter327rc = 'flutter-3.27-rc',
|
|
170
|
+
Flutter329rc = 'flutter-3.29-rc',
|
|
171
|
+
Flutter332rc = 'flutter-3.32-rc',
|
|
172
|
+
Flutter335rc = 'flutter-3.35-rc',
|
|
173
|
+
Flutter338rc = 'flutter-3.38-rc',
|
|
88
174
|
}
|
package/src/enums/runtimes.ts
CHANGED
|
@@ -85,4 +85,90 @@ export enum Runtimes {
|
|
|
85
85
|
Flutter332 = 'flutter-3.32',
|
|
86
86
|
Flutter335 = 'flutter-3.35',
|
|
87
87
|
Flutter338 = 'flutter-3.38',
|
|
88
|
+
Node145rc = 'node-14.5-rc',
|
|
89
|
+
Node160rc = 'node-16.0-rc',
|
|
90
|
+
Node180rc = 'node-18.0-rc',
|
|
91
|
+
Node190rc = 'node-19.0-rc',
|
|
92
|
+
Node200rc = 'node-20.0-rc',
|
|
93
|
+
Node210rc = 'node-21.0-rc',
|
|
94
|
+
Node22rc = 'node-22-rc',
|
|
95
|
+
Node23rc = 'node-23-rc',
|
|
96
|
+
Node24rc = 'node-24-rc',
|
|
97
|
+
Node25rc = 'node-25-rc',
|
|
98
|
+
Php80rc = 'php-8.0-rc',
|
|
99
|
+
Php81rc = 'php-8.1-rc',
|
|
100
|
+
Php82rc = 'php-8.2-rc',
|
|
101
|
+
Php83rc = 'php-8.3-rc',
|
|
102
|
+
Php84rc = 'php-8.4-rc',
|
|
103
|
+
Ruby30rc = 'ruby-3.0-rc',
|
|
104
|
+
Ruby31rc = 'ruby-3.1-rc',
|
|
105
|
+
Ruby32rc = 'ruby-3.2-rc',
|
|
106
|
+
Ruby33rc = 'ruby-3.3-rc',
|
|
107
|
+
Ruby34rc = 'ruby-3.4-rc',
|
|
108
|
+
Ruby40rc = 'ruby-4.0-rc',
|
|
109
|
+
Python38rc = 'python-3.8-rc',
|
|
110
|
+
Python39rc = 'python-3.9-rc',
|
|
111
|
+
Python310rc = 'python-3.10-rc',
|
|
112
|
+
Python311rc = 'python-3.11-rc',
|
|
113
|
+
Python312rc = 'python-3.12-rc',
|
|
114
|
+
Python313rc = 'python-3.13-rc',
|
|
115
|
+
Python314rc = 'python-3.14-rc',
|
|
116
|
+
Pythonml311rc = 'python-ml-3.11-rc',
|
|
117
|
+
Pythonml312rc = 'python-ml-3.12-rc',
|
|
118
|
+
Pythonml313rc = 'python-ml-3.13-rc',
|
|
119
|
+
Deno140rc = 'deno-1.40-rc',
|
|
120
|
+
Deno146rc = 'deno-1.46-rc',
|
|
121
|
+
Deno20rc = 'deno-2.0-rc',
|
|
122
|
+
Deno25rc = 'deno-2.5-rc',
|
|
123
|
+
Deno26rc = 'deno-2.6-rc',
|
|
124
|
+
Dart215rc = 'dart-2.15-rc',
|
|
125
|
+
Dart216rc = 'dart-2.16-rc',
|
|
126
|
+
Dart217rc = 'dart-2.17-rc',
|
|
127
|
+
Dart218rc = 'dart-2.18-rc',
|
|
128
|
+
Dart219rc = 'dart-2.19-rc',
|
|
129
|
+
Dart30rc = 'dart-3.0-rc',
|
|
130
|
+
Dart31rc = 'dart-3.1-rc',
|
|
131
|
+
Dart33rc = 'dart-3.3-rc',
|
|
132
|
+
Dart35rc = 'dart-3.5-rc',
|
|
133
|
+
Dart38rc = 'dart-3.8-rc',
|
|
134
|
+
Dart39rc = 'dart-3.9-rc',
|
|
135
|
+
Dart310rc = 'dart-3.10-rc',
|
|
136
|
+
Dotnet60rc = 'dotnet-6.0-rc',
|
|
137
|
+
Dotnet70rc = 'dotnet-7.0-rc',
|
|
138
|
+
Dotnet80rc = 'dotnet-8.0-rc',
|
|
139
|
+
Dotnet10rc = 'dotnet-10-rc',
|
|
140
|
+
Java80rc = 'java-8.0-rc',
|
|
141
|
+
Java110rc = 'java-11.0-rc',
|
|
142
|
+
Java170rc = 'java-17.0-rc',
|
|
143
|
+
Java180rc = 'java-18.0-rc',
|
|
144
|
+
Java210rc = 'java-21.0-rc',
|
|
145
|
+
Java22rc = 'java-22-rc',
|
|
146
|
+
Java25rc = 'java-25-rc',
|
|
147
|
+
Swift55rc = 'swift-5.5-rc',
|
|
148
|
+
Swift58rc = 'swift-5.8-rc',
|
|
149
|
+
Swift59rc = 'swift-5.9-rc',
|
|
150
|
+
Swift510rc = 'swift-5.10-rc',
|
|
151
|
+
Swift62rc = 'swift-6.2-rc',
|
|
152
|
+
Kotlin16rc = 'kotlin-1.6-rc',
|
|
153
|
+
Kotlin18rc = 'kotlin-1.8-rc',
|
|
154
|
+
Kotlin19rc = 'kotlin-1.9-rc',
|
|
155
|
+
Kotlin20rc = 'kotlin-2.0-rc',
|
|
156
|
+
Kotlin23rc = 'kotlin-2.3-rc',
|
|
157
|
+
Cpp17rc = 'cpp-17-rc',
|
|
158
|
+
Cpp20rc = 'cpp-20-rc',
|
|
159
|
+
Bun10rc = 'bun-1.0-rc',
|
|
160
|
+
Bun11rc = 'bun-1.1-rc',
|
|
161
|
+
Bun12rc = 'bun-1.2-rc',
|
|
162
|
+
Bun13rc = 'bun-1.3-rc',
|
|
163
|
+
Go123rc = 'go-1.23-rc',
|
|
164
|
+
Go124rc = 'go-1.24-rc',
|
|
165
|
+
Go125rc = 'go-1.25-rc',
|
|
166
|
+
Go126rc = 'go-1.26-rc',
|
|
167
|
+
Static1rc = 'static-1-rc',
|
|
168
|
+
Flutter324rc = 'flutter-3.24-rc',
|
|
169
|
+
Flutter327rc = 'flutter-3.27-rc',
|
|
170
|
+
Flutter329rc = 'flutter-3.29-rc',
|
|
171
|
+
Flutter332rc = 'flutter-3.32-rc',
|
|
172
|
+
Flutter335rc = 'flutter-3.35-rc',
|
|
173
|
+
Flutter338rc = 'flutter-3.38-rc',
|
|
88
174
|
}
|
package/src/enums/scopes.ts
CHANGED
|
@@ -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',
|
package/src/index.ts
CHANGED
|
@@ -31,6 +31,7 @@ export { Teams } from './services/teams';
|
|
|
31
31
|
export { Tokens } from './services/tokens';
|
|
32
32
|
export { Users } from './services/users';
|
|
33
33
|
export { Vcs } from './services/vcs';
|
|
34
|
+
export { Webhooks } from './services/webhooks';
|
|
34
35
|
export { Realtime } from './services/realtime';
|
|
35
36
|
export type { Models, Payload, RealtimeResponseEvent, UploadProgress } from './client';
|
|
36
37
|
export type { RealtimeSubscription } from './services/realtime';
|
|
@@ -112,4 +113,5 @@ export { ProxyRuleDeploymentResourceType } from './enums/proxy-rule-deployment-r
|
|
|
112
113
|
export { ProxyRuleStatus } from './enums/proxy-rule-status';
|
|
113
114
|
export { MessageStatus } from './enums/message-status';
|
|
114
115
|
export { BillingPlanGroup } from './enums/billing-plan-group';
|
|
115
|
-
export {
|
|
116
|
+
export { DomainTransferStatusEnum } from './enums/domain-transfer-status-enum';
|
|
117
|
+
export { DomainPurchaseStatus } from './enums/domain-purchase-status';
|