@appwrite.io/console 5.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 +13 -0
- package/README.md +2 -2
- package/dist/cjs/sdk.js +516 -285
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +516 -286
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +517 -286
- package/docs/examples/domains/{confirm-purchase.md → update-purchase.md} +1 -1
- package/docs/examples/domains/{confirm-transfer-in.md → update-transfer-in.md} +1 -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 +1 -1
- package/src/enums/build-runtime.ts +86 -3
- 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 -3
- package/src/enums/runtimes.ts +86 -3
- package/src/enums/scopes.ts +2 -0
- package/src/index.ts +3 -2
- package/src/models.ts +58 -16
- package/src/services/domains.ts +30 -30
- package/src/services/projects.ts +0 -473
- package/src/services/webhooks.ts +451 -0
- package/types/enums/build-runtime.d.ts +87 -4
- 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 -4
- package/types/enums/runtimes.d.ts +87 -4
- package/types/enums/scopes.d.ts +2 -0
- package/types/index.d.ts +3 -2
- package/types/models.d.ts +57 -16
- package/types/services/domains.d.ts +22 -22
- package/types/services/projects.d.ts +0 -171
- package/types/services/webhooks.d.ts +165 -0
- package/src/enums/domain-purchase-payment-status.ts +0 -10
- package/types/enums/domain-purchase-payment-status.d.ts +0 -10
package/dist/esm/sdk.js
CHANGED
|
@@ -568,7 +568,7 @@ class Client {
|
|
|
568
568
|
'x-sdk-name': 'Console',
|
|
569
569
|
'x-sdk-platform': 'console',
|
|
570
570
|
'x-sdk-language': 'web',
|
|
571
|
-
'x-sdk-version': '
|
|
571
|
+
'x-sdk-version': '6.0.0',
|
|
572
572
|
'X-Appwrite-Response-Format': '1.8.0',
|
|
573
573
|
};
|
|
574
574
|
this.realtime = {
|
|
@@ -7861,7 +7861,7 @@ class Domains {
|
|
|
7861
7861
|
};
|
|
7862
7862
|
return this.client.call('post', uri, apiHeaders, payload);
|
|
7863
7863
|
}
|
|
7864
|
-
|
|
7864
|
+
updatePurchase(paramsOrFirst, ...rest) {
|
|
7865
7865
|
let params;
|
|
7866
7866
|
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
7867
7867
|
params = (paramsOrFirst || {});
|
|
@@ -7880,7 +7880,7 @@ class Domains {
|
|
|
7880
7880
|
if (typeof organizationId === 'undefined') {
|
|
7881
7881
|
throw new AppwriteException('Missing required parameter: "organizationId"');
|
|
7882
7882
|
}
|
|
7883
|
-
const apiPath = '/domains/purchases/{domainId}
|
|
7883
|
+
const apiPath = '/domains/purchases/{domainId}'.replace('{domainId}', domainId);
|
|
7884
7884
|
const payload = {};
|
|
7885
7885
|
if (typeof organizationId !== 'undefined') {
|
|
7886
7886
|
payload['organizationId'] = organizationId;
|
|
@@ -7889,7 +7889,7 @@ class Domains {
|
|
|
7889
7889
|
const apiHeaders = {
|
|
7890
7890
|
'content-type': 'application/json',
|
|
7891
7891
|
};
|
|
7892
|
-
return this.client.call('
|
|
7892
|
+
return this.client.call('patch', uri, apiHeaders, payload);
|
|
7893
7893
|
}
|
|
7894
7894
|
listSuggestions(paramsOrFirst, ...rest) {
|
|
7895
7895
|
let params;
|
|
@@ -7988,7 +7988,7 @@ class Domains {
|
|
|
7988
7988
|
};
|
|
7989
7989
|
return this.client.call('post', uri, apiHeaders, payload);
|
|
7990
7990
|
}
|
|
7991
|
-
|
|
7991
|
+
updateTransferIn(paramsOrFirst, ...rest) {
|
|
7992
7992
|
let params;
|
|
7993
7993
|
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
7994
7994
|
params = (paramsOrFirst || {});
|
|
@@ -8007,7 +8007,7 @@ class Domains {
|
|
|
8007
8007
|
if (typeof organizationId === 'undefined') {
|
|
8008
8008
|
throw new AppwriteException('Missing required parameter: "organizationId"');
|
|
8009
8009
|
}
|
|
8010
|
-
const apiPath = '/domains/transfers/in/{domainId}
|
|
8010
|
+
const apiPath = '/domains/transfers/in/{domainId}'.replace('{domainId}', domainId);
|
|
8011
8011
|
const payload = {};
|
|
8012
8012
|
if (typeof organizationId !== 'undefined') {
|
|
8013
8013
|
payload['organizationId'] = organizationId;
|
|
@@ -8016,7 +8016,7 @@ class Domains {
|
|
|
8016
8016
|
const apiHeaders = {
|
|
8017
8017
|
'content-type': 'application/json',
|
|
8018
8018
|
};
|
|
8019
|
-
return this.client.call('
|
|
8019
|
+
return this.client.call('patch', uri, apiHeaders, payload);
|
|
8020
8020
|
}
|
|
8021
8021
|
createTransferOut(paramsOrFirst, ...rest) {
|
|
8022
8022
|
let params;
|
|
@@ -18706,253 +18706,6 @@ class Projects {
|
|
|
18706
18706
|
};
|
|
18707
18707
|
return this.client.call('delete', uri, apiHeaders, payload);
|
|
18708
18708
|
}
|
|
18709
|
-
listWebhooks(paramsOrFirst, ...rest) {
|
|
18710
|
-
let params;
|
|
18711
|
-
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
18712
|
-
params = (paramsOrFirst || {});
|
|
18713
|
-
}
|
|
18714
|
-
else {
|
|
18715
|
-
params = {
|
|
18716
|
-
projectId: paramsOrFirst,
|
|
18717
|
-
total: rest[0]
|
|
18718
|
-
};
|
|
18719
|
-
}
|
|
18720
|
-
const projectId = params.projectId;
|
|
18721
|
-
const total = params.total;
|
|
18722
|
-
if (typeof projectId === 'undefined') {
|
|
18723
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
18724
|
-
}
|
|
18725
|
-
const apiPath = '/projects/{projectId}/webhooks'.replace('{projectId}', projectId);
|
|
18726
|
-
const payload = {};
|
|
18727
|
-
if (typeof total !== 'undefined') {
|
|
18728
|
-
payload['total'] = total;
|
|
18729
|
-
}
|
|
18730
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
18731
|
-
const apiHeaders = {};
|
|
18732
|
-
return this.client.call('get', uri, apiHeaders, payload);
|
|
18733
|
-
}
|
|
18734
|
-
createWebhook(paramsOrFirst, ...rest) {
|
|
18735
|
-
let params;
|
|
18736
|
-
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
18737
|
-
params = (paramsOrFirst || {});
|
|
18738
|
-
}
|
|
18739
|
-
else {
|
|
18740
|
-
params = {
|
|
18741
|
-
projectId: paramsOrFirst,
|
|
18742
|
-
name: rest[0],
|
|
18743
|
-
events: rest[1],
|
|
18744
|
-
url: rest[2],
|
|
18745
|
-
security: rest[3],
|
|
18746
|
-
enabled: rest[4],
|
|
18747
|
-
httpUser: rest[5],
|
|
18748
|
-
httpPass: rest[6]
|
|
18749
|
-
};
|
|
18750
|
-
}
|
|
18751
|
-
const projectId = params.projectId;
|
|
18752
|
-
const name = params.name;
|
|
18753
|
-
const events = params.events;
|
|
18754
|
-
const url = params.url;
|
|
18755
|
-
const security = params.security;
|
|
18756
|
-
const enabled = params.enabled;
|
|
18757
|
-
const httpUser = params.httpUser;
|
|
18758
|
-
const httpPass = params.httpPass;
|
|
18759
|
-
if (typeof projectId === 'undefined') {
|
|
18760
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
18761
|
-
}
|
|
18762
|
-
if (typeof name === 'undefined') {
|
|
18763
|
-
throw new AppwriteException('Missing required parameter: "name"');
|
|
18764
|
-
}
|
|
18765
|
-
if (typeof events === 'undefined') {
|
|
18766
|
-
throw new AppwriteException('Missing required parameter: "events"');
|
|
18767
|
-
}
|
|
18768
|
-
if (typeof url === 'undefined') {
|
|
18769
|
-
throw new AppwriteException('Missing required parameter: "url"');
|
|
18770
|
-
}
|
|
18771
|
-
if (typeof security === 'undefined') {
|
|
18772
|
-
throw new AppwriteException('Missing required parameter: "security"');
|
|
18773
|
-
}
|
|
18774
|
-
const apiPath = '/projects/{projectId}/webhooks'.replace('{projectId}', projectId);
|
|
18775
|
-
const payload = {};
|
|
18776
|
-
if (typeof name !== 'undefined') {
|
|
18777
|
-
payload['name'] = name;
|
|
18778
|
-
}
|
|
18779
|
-
if (typeof enabled !== 'undefined') {
|
|
18780
|
-
payload['enabled'] = enabled;
|
|
18781
|
-
}
|
|
18782
|
-
if (typeof events !== 'undefined') {
|
|
18783
|
-
payload['events'] = events;
|
|
18784
|
-
}
|
|
18785
|
-
if (typeof url !== 'undefined') {
|
|
18786
|
-
payload['url'] = url;
|
|
18787
|
-
}
|
|
18788
|
-
if (typeof security !== 'undefined') {
|
|
18789
|
-
payload['security'] = security;
|
|
18790
|
-
}
|
|
18791
|
-
if (typeof httpUser !== 'undefined') {
|
|
18792
|
-
payload['httpUser'] = httpUser;
|
|
18793
|
-
}
|
|
18794
|
-
if (typeof httpPass !== 'undefined') {
|
|
18795
|
-
payload['httpPass'] = httpPass;
|
|
18796
|
-
}
|
|
18797
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
18798
|
-
const apiHeaders = {
|
|
18799
|
-
'content-type': 'application/json',
|
|
18800
|
-
};
|
|
18801
|
-
return this.client.call('post', uri, apiHeaders, payload);
|
|
18802
|
-
}
|
|
18803
|
-
getWebhook(paramsOrFirst, ...rest) {
|
|
18804
|
-
let params;
|
|
18805
|
-
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
18806
|
-
params = (paramsOrFirst || {});
|
|
18807
|
-
}
|
|
18808
|
-
else {
|
|
18809
|
-
params = {
|
|
18810
|
-
projectId: paramsOrFirst,
|
|
18811
|
-
webhookId: rest[0]
|
|
18812
|
-
};
|
|
18813
|
-
}
|
|
18814
|
-
const projectId = params.projectId;
|
|
18815
|
-
const webhookId = params.webhookId;
|
|
18816
|
-
if (typeof projectId === 'undefined') {
|
|
18817
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
18818
|
-
}
|
|
18819
|
-
if (typeof webhookId === 'undefined') {
|
|
18820
|
-
throw new AppwriteException('Missing required parameter: "webhookId"');
|
|
18821
|
-
}
|
|
18822
|
-
const apiPath = '/projects/{projectId}/webhooks/{webhookId}'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
|
|
18823
|
-
const payload = {};
|
|
18824
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
18825
|
-
const apiHeaders = {};
|
|
18826
|
-
return this.client.call('get', uri, apiHeaders, payload);
|
|
18827
|
-
}
|
|
18828
|
-
updateWebhook(paramsOrFirst, ...rest) {
|
|
18829
|
-
let params;
|
|
18830
|
-
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
18831
|
-
params = (paramsOrFirst || {});
|
|
18832
|
-
}
|
|
18833
|
-
else {
|
|
18834
|
-
params = {
|
|
18835
|
-
projectId: paramsOrFirst,
|
|
18836
|
-
webhookId: rest[0],
|
|
18837
|
-
name: rest[1],
|
|
18838
|
-
events: rest[2],
|
|
18839
|
-
url: rest[3],
|
|
18840
|
-
security: rest[4],
|
|
18841
|
-
enabled: rest[5],
|
|
18842
|
-
httpUser: rest[6],
|
|
18843
|
-
httpPass: rest[7]
|
|
18844
|
-
};
|
|
18845
|
-
}
|
|
18846
|
-
const projectId = params.projectId;
|
|
18847
|
-
const webhookId = params.webhookId;
|
|
18848
|
-
const name = params.name;
|
|
18849
|
-
const events = params.events;
|
|
18850
|
-
const url = params.url;
|
|
18851
|
-
const security = params.security;
|
|
18852
|
-
const enabled = params.enabled;
|
|
18853
|
-
const httpUser = params.httpUser;
|
|
18854
|
-
const httpPass = params.httpPass;
|
|
18855
|
-
if (typeof projectId === 'undefined') {
|
|
18856
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
18857
|
-
}
|
|
18858
|
-
if (typeof webhookId === 'undefined') {
|
|
18859
|
-
throw new AppwriteException('Missing required parameter: "webhookId"');
|
|
18860
|
-
}
|
|
18861
|
-
if (typeof name === 'undefined') {
|
|
18862
|
-
throw new AppwriteException('Missing required parameter: "name"');
|
|
18863
|
-
}
|
|
18864
|
-
if (typeof events === 'undefined') {
|
|
18865
|
-
throw new AppwriteException('Missing required parameter: "events"');
|
|
18866
|
-
}
|
|
18867
|
-
if (typeof url === 'undefined') {
|
|
18868
|
-
throw new AppwriteException('Missing required parameter: "url"');
|
|
18869
|
-
}
|
|
18870
|
-
if (typeof security === 'undefined') {
|
|
18871
|
-
throw new AppwriteException('Missing required parameter: "security"');
|
|
18872
|
-
}
|
|
18873
|
-
const apiPath = '/projects/{projectId}/webhooks/{webhookId}'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
|
|
18874
|
-
const payload = {};
|
|
18875
|
-
if (typeof name !== 'undefined') {
|
|
18876
|
-
payload['name'] = name;
|
|
18877
|
-
}
|
|
18878
|
-
if (typeof enabled !== 'undefined') {
|
|
18879
|
-
payload['enabled'] = enabled;
|
|
18880
|
-
}
|
|
18881
|
-
if (typeof events !== 'undefined') {
|
|
18882
|
-
payload['events'] = events;
|
|
18883
|
-
}
|
|
18884
|
-
if (typeof url !== 'undefined') {
|
|
18885
|
-
payload['url'] = url;
|
|
18886
|
-
}
|
|
18887
|
-
if (typeof security !== 'undefined') {
|
|
18888
|
-
payload['security'] = security;
|
|
18889
|
-
}
|
|
18890
|
-
if (typeof httpUser !== 'undefined') {
|
|
18891
|
-
payload['httpUser'] = httpUser;
|
|
18892
|
-
}
|
|
18893
|
-
if (typeof httpPass !== 'undefined') {
|
|
18894
|
-
payload['httpPass'] = httpPass;
|
|
18895
|
-
}
|
|
18896
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
18897
|
-
const apiHeaders = {
|
|
18898
|
-
'content-type': 'application/json',
|
|
18899
|
-
};
|
|
18900
|
-
return this.client.call('put', uri, apiHeaders, payload);
|
|
18901
|
-
}
|
|
18902
|
-
deleteWebhook(paramsOrFirst, ...rest) {
|
|
18903
|
-
let params;
|
|
18904
|
-
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
18905
|
-
params = (paramsOrFirst || {});
|
|
18906
|
-
}
|
|
18907
|
-
else {
|
|
18908
|
-
params = {
|
|
18909
|
-
projectId: paramsOrFirst,
|
|
18910
|
-
webhookId: rest[0]
|
|
18911
|
-
};
|
|
18912
|
-
}
|
|
18913
|
-
const projectId = params.projectId;
|
|
18914
|
-
const webhookId = params.webhookId;
|
|
18915
|
-
if (typeof projectId === 'undefined') {
|
|
18916
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
18917
|
-
}
|
|
18918
|
-
if (typeof webhookId === 'undefined') {
|
|
18919
|
-
throw new AppwriteException('Missing required parameter: "webhookId"');
|
|
18920
|
-
}
|
|
18921
|
-
const apiPath = '/projects/{projectId}/webhooks/{webhookId}'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
|
|
18922
|
-
const payload = {};
|
|
18923
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
18924
|
-
const apiHeaders = {
|
|
18925
|
-
'content-type': 'application/json',
|
|
18926
|
-
};
|
|
18927
|
-
return this.client.call('delete', uri, apiHeaders, payload);
|
|
18928
|
-
}
|
|
18929
|
-
updateWebhookSignature(paramsOrFirst, ...rest) {
|
|
18930
|
-
let params;
|
|
18931
|
-
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
18932
|
-
params = (paramsOrFirst || {});
|
|
18933
|
-
}
|
|
18934
|
-
else {
|
|
18935
|
-
params = {
|
|
18936
|
-
projectId: paramsOrFirst,
|
|
18937
|
-
webhookId: rest[0]
|
|
18938
|
-
};
|
|
18939
|
-
}
|
|
18940
|
-
const projectId = params.projectId;
|
|
18941
|
-
const webhookId = params.webhookId;
|
|
18942
|
-
if (typeof projectId === 'undefined') {
|
|
18943
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
18944
|
-
}
|
|
18945
|
-
if (typeof webhookId === 'undefined') {
|
|
18946
|
-
throw new AppwriteException('Missing required parameter: "webhookId"');
|
|
18947
|
-
}
|
|
18948
|
-
const apiPath = '/projects/{projectId}/webhooks/{webhookId}/signature'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
|
|
18949
|
-
const payload = {};
|
|
18950
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
18951
|
-
const apiHeaders = {
|
|
18952
|
-
'content-type': 'application/json',
|
|
18953
|
-
};
|
|
18954
|
-
return this.client.call('patch', uri, apiHeaders, payload);
|
|
18955
|
-
}
|
|
18956
18709
|
}
|
|
18957
18710
|
|
|
18958
18711
|
class Proxy {
|
|
@@ -26658,6 +26411,236 @@ class Vcs {
|
|
|
26658
26411
|
}
|
|
26659
26412
|
}
|
|
26660
26413
|
|
|
26414
|
+
class Webhooks {
|
|
26415
|
+
constructor(client) {
|
|
26416
|
+
this.client = client;
|
|
26417
|
+
}
|
|
26418
|
+
list(paramsOrFirst, ...rest) {
|
|
26419
|
+
let params;
|
|
26420
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
26421
|
+
params = (paramsOrFirst || {});
|
|
26422
|
+
}
|
|
26423
|
+
else {
|
|
26424
|
+
params = {
|
|
26425
|
+
queries: paramsOrFirst,
|
|
26426
|
+
total: rest[0]
|
|
26427
|
+
};
|
|
26428
|
+
}
|
|
26429
|
+
const queries = params.queries;
|
|
26430
|
+
const total = params.total;
|
|
26431
|
+
const apiPath = '/webhooks';
|
|
26432
|
+
const payload = {};
|
|
26433
|
+
if (typeof queries !== 'undefined') {
|
|
26434
|
+
payload['queries'] = queries;
|
|
26435
|
+
}
|
|
26436
|
+
if (typeof total !== 'undefined') {
|
|
26437
|
+
payload['total'] = total;
|
|
26438
|
+
}
|
|
26439
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
26440
|
+
const apiHeaders = {};
|
|
26441
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
26442
|
+
}
|
|
26443
|
+
create(paramsOrFirst, ...rest) {
|
|
26444
|
+
let params;
|
|
26445
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
26446
|
+
params = (paramsOrFirst || {});
|
|
26447
|
+
}
|
|
26448
|
+
else {
|
|
26449
|
+
params = {
|
|
26450
|
+
webhookId: paramsOrFirst,
|
|
26451
|
+
url: rest[0],
|
|
26452
|
+
name: rest[1],
|
|
26453
|
+
events: rest[2],
|
|
26454
|
+
enabled: rest[3],
|
|
26455
|
+
security: rest[4],
|
|
26456
|
+
httpUser: rest[5],
|
|
26457
|
+
httpPass: rest[6]
|
|
26458
|
+
};
|
|
26459
|
+
}
|
|
26460
|
+
const webhookId = params.webhookId;
|
|
26461
|
+
const url = params.url;
|
|
26462
|
+
const name = params.name;
|
|
26463
|
+
const events = params.events;
|
|
26464
|
+
const enabled = params.enabled;
|
|
26465
|
+
const security = params.security;
|
|
26466
|
+
const httpUser = params.httpUser;
|
|
26467
|
+
const httpPass = params.httpPass;
|
|
26468
|
+
if (typeof webhookId === 'undefined') {
|
|
26469
|
+
throw new AppwriteException('Missing required parameter: "webhookId"');
|
|
26470
|
+
}
|
|
26471
|
+
if (typeof url === 'undefined') {
|
|
26472
|
+
throw new AppwriteException('Missing required parameter: "url"');
|
|
26473
|
+
}
|
|
26474
|
+
if (typeof name === 'undefined') {
|
|
26475
|
+
throw new AppwriteException('Missing required parameter: "name"');
|
|
26476
|
+
}
|
|
26477
|
+
if (typeof events === 'undefined') {
|
|
26478
|
+
throw new AppwriteException('Missing required parameter: "events"');
|
|
26479
|
+
}
|
|
26480
|
+
const apiPath = '/webhooks';
|
|
26481
|
+
const payload = {};
|
|
26482
|
+
if (typeof webhookId !== 'undefined') {
|
|
26483
|
+
payload['webhookId'] = webhookId;
|
|
26484
|
+
}
|
|
26485
|
+
if (typeof url !== 'undefined') {
|
|
26486
|
+
payload['url'] = url;
|
|
26487
|
+
}
|
|
26488
|
+
if (typeof name !== 'undefined') {
|
|
26489
|
+
payload['name'] = name;
|
|
26490
|
+
}
|
|
26491
|
+
if (typeof events !== 'undefined') {
|
|
26492
|
+
payload['events'] = events;
|
|
26493
|
+
}
|
|
26494
|
+
if (typeof enabled !== 'undefined') {
|
|
26495
|
+
payload['enabled'] = enabled;
|
|
26496
|
+
}
|
|
26497
|
+
if (typeof security !== 'undefined') {
|
|
26498
|
+
payload['security'] = security;
|
|
26499
|
+
}
|
|
26500
|
+
if (typeof httpUser !== 'undefined') {
|
|
26501
|
+
payload['httpUser'] = httpUser;
|
|
26502
|
+
}
|
|
26503
|
+
if (typeof httpPass !== 'undefined') {
|
|
26504
|
+
payload['httpPass'] = httpPass;
|
|
26505
|
+
}
|
|
26506
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
26507
|
+
const apiHeaders = {
|
|
26508
|
+
'content-type': 'application/json',
|
|
26509
|
+
};
|
|
26510
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
26511
|
+
}
|
|
26512
|
+
get(paramsOrFirst) {
|
|
26513
|
+
let params;
|
|
26514
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
26515
|
+
params = (paramsOrFirst || {});
|
|
26516
|
+
}
|
|
26517
|
+
else {
|
|
26518
|
+
params = {
|
|
26519
|
+
webhookId: paramsOrFirst
|
|
26520
|
+
};
|
|
26521
|
+
}
|
|
26522
|
+
const webhookId = params.webhookId;
|
|
26523
|
+
if (typeof webhookId === 'undefined') {
|
|
26524
|
+
throw new AppwriteException('Missing required parameter: "webhookId"');
|
|
26525
|
+
}
|
|
26526
|
+
const apiPath = '/webhooks/{webhookId}'.replace('{webhookId}', webhookId);
|
|
26527
|
+
const payload = {};
|
|
26528
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
26529
|
+
const apiHeaders = {};
|
|
26530
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
26531
|
+
}
|
|
26532
|
+
update(paramsOrFirst, ...rest) {
|
|
26533
|
+
let params;
|
|
26534
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
26535
|
+
params = (paramsOrFirst || {});
|
|
26536
|
+
}
|
|
26537
|
+
else {
|
|
26538
|
+
params = {
|
|
26539
|
+
webhookId: paramsOrFirst,
|
|
26540
|
+
name: rest[0],
|
|
26541
|
+
url: rest[1],
|
|
26542
|
+
events: rest[2],
|
|
26543
|
+
enabled: rest[3],
|
|
26544
|
+
security: rest[4],
|
|
26545
|
+
httpUser: rest[5],
|
|
26546
|
+
httpPass: rest[6]
|
|
26547
|
+
};
|
|
26548
|
+
}
|
|
26549
|
+
const webhookId = params.webhookId;
|
|
26550
|
+
const name = params.name;
|
|
26551
|
+
const url = params.url;
|
|
26552
|
+
const events = params.events;
|
|
26553
|
+
const enabled = params.enabled;
|
|
26554
|
+
const security = params.security;
|
|
26555
|
+
const httpUser = params.httpUser;
|
|
26556
|
+
const httpPass = params.httpPass;
|
|
26557
|
+
if (typeof webhookId === 'undefined') {
|
|
26558
|
+
throw new AppwriteException('Missing required parameter: "webhookId"');
|
|
26559
|
+
}
|
|
26560
|
+
if (typeof name === 'undefined') {
|
|
26561
|
+
throw new AppwriteException('Missing required parameter: "name"');
|
|
26562
|
+
}
|
|
26563
|
+
if (typeof url === 'undefined') {
|
|
26564
|
+
throw new AppwriteException('Missing required parameter: "url"');
|
|
26565
|
+
}
|
|
26566
|
+
if (typeof events === 'undefined') {
|
|
26567
|
+
throw new AppwriteException('Missing required parameter: "events"');
|
|
26568
|
+
}
|
|
26569
|
+
const apiPath = '/webhooks/{webhookId}'.replace('{webhookId}', webhookId);
|
|
26570
|
+
const payload = {};
|
|
26571
|
+
if (typeof name !== 'undefined') {
|
|
26572
|
+
payload['name'] = name;
|
|
26573
|
+
}
|
|
26574
|
+
if (typeof url !== 'undefined') {
|
|
26575
|
+
payload['url'] = url;
|
|
26576
|
+
}
|
|
26577
|
+
if (typeof events !== 'undefined') {
|
|
26578
|
+
payload['events'] = events;
|
|
26579
|
+
}
|
|
26580
|
+
if (typeof enabled !== 'undefined') {
|
|
26581
|
+
payload['enabled'] = enabled;
|
|
26582
|
+
}
|
|
26583
|
+
if (typeof security !== 'undefined') {
|
|
26584
|
+
payload['security'] = security;
|
|
26585
|
+
}
|
|
26586
|
+
if (typeof httpUser !== 'undefined') {
|
|
26587
|
+
payload['httpUser'] = httpUser;
|
|
26588
|
+
}
|
|
26589
|
+
if (typeof httpPass !== 'undefined') {
|
|
26590
|
+
payload['httpPass'] = httpPass;
|
|
26591
|
+
}
|
|
26592
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
26593
|
+
const apiHeaders = {
|
|
26594
|
+
'content-type': 'application/json',
|
|
26595
|
+
};
|
|
26596
|
+
return this.client.call('put', uri, apiHeaders, payload);
|
|
26597
|
+
}
|
|
26598
|
+
delete(paramsOrFirst) {
|
|
26599
|
+
let params;
|
|
26600
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
26601
|
+
params = (paramsOrFirst || {});
|
|
26602
|
+
}
|
|
26603
|
+
else {
|
|
26604
|
+
params = {
|
|
26605
|
+
webhookId: paramsOrFirst
|
|
26606
|
+
};
|
|
26607
|
+
}
|
|
26608
|
+
const webhookId = params.webhookId;
|
|
26609
|
+
if (typeof webhookId === 'undefined') {
|
|
26610
|
+
throw new AppwriteException('Missing required parameter: "webhookId"');
|
|
26611
|
+
}
|
|
26612
|
+
const apiPath = '/webhooks/{webhookId}'.replace('{webhookId}', webhookId);
|
|
26613
|
+
const payload = {};
|
|
26614
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
26615
|
+
const apiHeaders = {
|
|
26616
|
+
'content-type': 'application/json',
|
|
26617
|
+
};
|
|
26618
|
+
return this.client.call('delete', uri, apiHeaders, payload);
|
|
26619
|
+
}
|
|
26620
|
+
updateSignature(paramsOrFirst) {
|
|
26621
|
+
let params;
|
|
26622
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
26623
|
+
params = (paramsOrFirst || {});
|
|
26624
|
+
}
|
|
26625
|
+
else {
|
|
26626
|
+
params = {
|
|
26627
|
+
webhookId: paramsOrFirst
|
|
26628
|
+
};
|
|
26629
|
+
}
|
|
26630
|
+
const webhookId = params.webhookId;
|
|
26631
|
+
if (typeof webhookId === 'undefined') {
|
|
26632
|
+
throw new AppwriteException('Missing required parameter: "webhookId"');
|
|
26633
|
+
}
|
|
26634
|
+
const apiPath = '/webhooks/{webhookId}/signature'.replace('{webhookId}', webhookId);
|
|
26635
|
+
const payload = {};
|
|
26636
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
26637
|
+
const apiHeaders = {
|
|
26638
|
+
'content-type': 'application/json',
|
|
26639
|
+
};
|
|
26640
|
+
return this.client.call('patch', uri, apiHeaders, payload);
|
|
26641
|
+
}
|
|
26642
|
+
}
|
|
26643
|
+
|
|
26661
26644
|
var RealtimeCode;
|
|
26662
26645
|
(function (RealtimeCode) {
|
|
26663
26646
|
RealtimeCode[RealtimeCode["NORMAL_CLOSURE"] = 1000] = "NORMAL_CLOSURE";
|
|
@@ -27677,6 +27660,8 @@ var Scopes;
|
|
|
27677
27660
|
Scopes["AssistantRead"] = "assistant.read";
|
|
27678
27661
|
Scopes["TokensRead"] = "tokens.read";
|
|
27679
27662
|
Scopes["TokensWrite"] = "tokens.write";
|
|
27663
|
+
Scopes["WebhooksRead"] = "webhooks.read";
|
|
27664
|
+
Scopes["WebhooksWrite"] = "webhooks.write";
|
|
27680
27665
|
Scopes["PoliciesWrite"] = "policies.write";
|
|
27681
27666
|
Scopes["PoliciesRead"] = "policies.read";
|
|
27682
27667
|
Scopes["ArchivesRead"] = "archives.read";
|
|
@@ -28547,9 +28532,6 @@ var Runtime;
|
|
|
28547
28532
|
Runtime["Pythonml311"] = "python-ml-3.11";
|
|
28548
28533
|
Runtime["Pythonml312"] = "python-ml-3.12";
|
|
28549
28534
|
Runtime["Pythonml313"] = "python-ml-3.13";
|
|
28550
|
-
Runtime["Deno121"] = "deno-1.21";
|
|
28551
|
-
Runtime["Deno124"] = "deno-1.24";
|
|
28552
|
-
Runtime["Deno135"] = "deno-1.35";
|
|
28553
28535
|
Runtime["Deno140"] = "deno-1.40";
|
|
28554
28536
|
Runtime["Deno146"] = "deno-1.46";
|
|
28555
28537
|
Runtime["Deno20"] = "deno-2.0";
|
|
@@ -28605,6 +28587,92 @@ var Runtime;
|
|
|
28605
28587
|
Runtime["Flutter332"] = "flutter-3.32";
|
|
28606
28588
|
Runtime["Flutter335"] = "flutter-3.35";
|
|
28607
28589
|
Runtime["Flutter338"] = "flutter-3.38";
|
|
28590
|
+
Runtime["Node145rc"] = "node-14.5-rc";
|
|
28591
|
+
Runtime["Node160rc"] = "node-16.0-rc";
|
|
28592
|
+
Runtime["Node180rc"] = "node-18.0-rc";
|
|
28593
|
+
Runtime["Node190rc"] = "node-19.0-rc";
|
|
28594
|
+
Runtime["Node200rc"] = "node-20.0-rc";
|
|
28595
|
+
Runtime["Node210rc"] = "node-21.0-rc";
|
|
28596
|
+
Runtime["Node22rc"] = "node-22-rc";
|
|
28597
|
+
Runtime["Node23rc"] = "node-23-rc";
|
|
28598
|
+
Runtime["Node24rc"] = "node-24-rc";
|
|
28599
|
+
Runtime["Node25rc"] = "node-25-rc";
|
|
28600
|
+
Runtime["Php80rc"] = "php-8.0-rc";
|
|
28601
|
+
Runtime["Php81rc"] = "php-8.1-rc";
|
|
28602
|
+
Runtime["Php82rc"] = "php-8.2-rc";
|
|
28603
|
+
Runtime["Php83rc"] = "php-8.3-rc";
|
|
28604
|
+
Runtime["Php84rc"] = "php-8.4-rc";
|
|
28605
|
+
Runtime["Ruby30rc"] = "ruby-3.0-rc";
|
|
28606
|
+
Runtime["Ruby31rc"] = "ruby-3.1-rc";
|
|
28607
|
+
Runtime["Ruby32rc"] = "ruby-3.2-rc";
|
|
28608
|
+
Runtime["Ruby33rc"] = "ruby-3.3-rc";
|
|
28609
|
+
Runtime["Ruby34rc"] = "ruby-3.4-rc";
|
|
28610
|
+
Runtime["Ruby40rc"] = "ruby-4.0-rc";
|
|
28611
|
+
Runtime["Python38rc"] = "python-3.8-rc";
|
|
28612
|
+
Runtime["Python39rc"] = "python-3.9-rc";
|
|
28613
|
+
Runtime["Python310rc"] = "python-3.10-rc";
|
|
28614
|
+
Runtime["Python311rc"] = "python-3.11-rc";
|
|
28615
|
+
Runtime["Python312rc"] = "python-3.12-rc";
|
|
28616
|
+
Runtime["Python313rc"] = "python-3.13-rc";
|
|
28617
|
+
Runtime["Python314rc"] = "python-3.14-rc";
|
|
28618
|
+
Runtime["Pythonml311rc"] = "python-ml-3.11-rc";
|
|
28619
|
+
Runtime["Pythonml312rc"] = "python-ml-3.12-rc";
|
|
28620
|
+
Runtime["Pythonml313rc"] = "python-ml-3.13-rc";
|
|
28621
|
+
Runtime["Deno140rc"] = "deno-1.40-rc";
|
|
28622
|
+
Runtime["Deno146rc"] = "deno-1.46-rc";
|
|
28623
|
+
Runtime["Deno20rc"] = "deno-2.0-rc";
|
|
28624
|
+
Runtime["Deno25rc"] = "deno-2.5-rc";
|
|
28625
|
+
Runtime["Deno26rc"] = "deno-2.6-rc";
|
|
28626
|
+
Runtime["Dart215rc"] = "dart-2.15-rc";
|
|
28627
|
+
Runtime["Dart216rc"] = "dart-2.16-rc";
|
|
28628
|
+
Runtime["Dart217rc"] = "dart-2.17-rc";
|
|
28629
|
+
Runtime["Dart218rc"] = "dart-2.18-rc";
|
|
28630
|
+
Runtime["Dart219rc"] = "dart-2.19-rc";
|
|
28631
|
+
Runtime["Dart30rc"] = "dart-3.0-rc";
|
|
28632
|
+
Runtime["Dart31rc"] = "dart-3.1-rc";
|
|
28633
|
+
Runtime["Dart33rc"] = "dart-3.3-rc";
|
|
28634
|
+
Runtime["Dart35rc"] = "dart-3.5-rc";
|
|
28635
|
+
Runtime["Dart38rc"] = "dart-3.8-rc";
|
|
28636
|
+
Runtime["Dart39rc"] = "dart-3.9-rc";
|
|
28637
|
+
Runtime["Dart310rc"] = "dart-3.10-rc";
|
|
28638
|
+
Runtime["Dotnet60rc"] = "dotnet-6.0-rc";
|
|
28639
|
+
Runtime["Dotnet70rc"] = "dotnet-7.0-rc";
|
|
28640
|
+
Runtime["Dotnet80rc"] = "dotnet-8.0-rc";
|
|
28641
|
+
Runtime["Dotnet10rc"] = "dotnet-10-rc";
|
|
28642
|
+
Runtime["Java80rc"] = "java-8.0-rc";
|
|
28643
|
+
Runtime["Java110rc"] = "java-11.0-rc";
|
|
28644
|
+
Runtime["Java170rc"] = "java-17.0-rc";
|
|
28645
|
+
Runtime["Java180rc"] = "java-18.0-rc";
|
|
28646
|
+
Runtime["Java210rc"] = "java-21.0-rc";
|
|
28647
|
+
Runtime["Java22rc"] = "java-22-rc";
|
|
28648
|
+
Runtime["Java25rc"] = "java-25-rc";
|
|
28649
|
+
Runtime["Swift55rc"] = "swift-5.5-rc";
|
|
28650
|
+
Runtime["Swift58rc"] = "swift-5.8-rc";
|
|
28651
|
+
Runtime["Swift59rc"] = "swift-5.9-rc";
|
|
28652
|
+
Runtime["Swift510rc"] = "swift-5.10-rc";
|
|
28653
|
+
Runtime["Swift62rc"] = "swift-6.2-rc";
|
|
28654
|
+
Runtime["Kotlin16rc"] = "kotlin-1.6-rc";
|
|
28655
|
+
Runtime["Kotlin18rc"] = "kotlin-1.8-rc";
|
|
28656
|
+
Runtime["Kotlin19rc"] = "kotlin-1.9-rc";
|
|
28657
|
+
Runtime["Kotlin20rc"] = "kotlin-2.0-rc";
|
|
28658
|
+
Runtime["Kotlin23rc"] = "kotlin-2.3-rc";
|
|
28659
|
+
Runtime["Cpp17rc"] = "cpp-17-rc";
|
|
28660
|
+
Runtime["Cpp20rc"] = "cpp-20-rc";
|
|
28661
|
+
Runtime["Bun10rc"] = "bun-1.0-rc";
|
|
28662
|
+
Runtime["Bun11rc"] = "bun-1.1-rc";
|
|
28663
|
+
Runtime["Bun12rc"] = "bun-1.2-rc";
|
|
28664
|
+
Runtime["Bun13rc"] = "bun-1.3-rc";
|
|
28665
|
+
Runtime["Go123rc"] = "go-1.23-rc";
|
|
28666
|
+
Runtime["Go124rc"] = "go-1.24-rc";
|
|
28667
|
+
Runtime["Go125rc"] = "go-1.25-rc";
|
|
28668
|
+
Runtime["Go126rc"] = "go-1.26-rc";
|
|
28669
|
+
Runtime["Static1rc"] = "static-1-rc";
|
|
28670
|
+
Runtime["Flutter324rc"] = "flutter-3.24-rc";
|
|
28671
|
+
Runtime["Flutter327rc"] = "flutter-3.27-rc";
|
|
28672
|
+
Runtime["Flutter329rc"] = "flutter-3.29-rc";
|
|
28673
|
+
Runtime["Flutter332rc"] = "flutter-3.32-rc";
|
|
28674
|
+
Runtime["Flutter335rc"] = "flutter-3.35-rc";
|
|
28675
|
+
Runtime["Flutter338rc"] = "flutter-3.38-rc";
|
|
28608
28676
|
})(Runtime || (Runtime = {}));
|
|
28609
28677
|
|
|
28610
28678
|
var Runtimes;
|
|
@@ -28640,9 +28708,6 @@ var Runtimes;
|
|
|
28640
28708
|
Runtimes["Pythonml311"] = "python-ml-3.11";
|
|
28641
28709
|
Runtimes["Pythonml312"] = "python-ml-3.12";
|
|
28642
28710
|
Runtimes["Pythonml313"] = "python-ml-3.13";
|
|
28643
|
-
Runtimes["Deno121"] = "deno-1.21";
|
|
28644
|
-
Runtimes["Deno124"] = "deno-1.24";
|
|
28645
|
-
Runtimes["Deno135"] = "deno-1.35";
|
|
28646
28711
|
Runtimes["Deno140"] = "deno-1.40";
|
|
28647
28712
|
Runtimes["Deno146"] = "deno-1.46";
|
|
28648
28713
|
Runtimes["Deno20"] = "deno-2.0";
|
|
@@ -28698,6 +28763,92 @@ var Runtimes;
|
|
|
28698
28763
|
Runtimes["Flutter332"] = "flutter-3.32";
|
|
28699
28764
|
Runtimes["Flutter335"] = "flutter-3.35";
|
|
28700
28765
|
Runtimes["Flutter338"] = "flutter-3.38";
|
|
28766
|
+
Runtimes["Node145rc"] = "node-14.5-rc";
|
|
28767
|
+
Runtimes["Node160rc"] = "node-16.0-rc";
|
|
28768
|
+
Runtimes["Node180rc"] = "node-18.0-rc";
|
|
28769
|
+
Runtimes["Node190rc"] = "node-19.0-rc";
|
|
28770
|
+
Runtimes["Node200rc"] = "node-20.0-rc";
|
|
28771
|
+
Runtimes["Node210rc"] = "node-21.0-rc";
|
|
28772
|
+
Runtimes["Node22rc"] = "node-22-rc";
|
|
28773
|
+
Runtimes["Node23rc"] = "node-23-rc";
|
|
28774
|
+
Runtimes["Node24rc"] = "node-24-rc";
|
|
28775
|
+
Runtimes["Node25rc"] = "node-25-rc";
|
|
28776
|
+
Runtimes["Php80rc"] = "php-8.0-rc";
|
|
28777
|
+
Runtimes["Php81rc"] = "php-8.1-rc";
|
|
28778
|
+
Runtimes["Php82rc"] = "php-8.2-rc";
|
|
28779
|
+
Runtimes["Php83rc"] = "php-8.3-rc";
|
|
28780
|
+
Runtimes["Php84rc"] = "php-8.4-rc";
|
|
28781
|
+
Runtimes["Ruby30rc"] = "ruby-3.0-rc";
|
|
28782
|
+
Runtimes["Ruby31rc"] = "ruby-3.1-rc";
|
|
28783
|
+
Runtimes["Ruby32rc"] = "ruby-3.2-rc";
|
|
28784
|
+
Runtimes["Ruby33rc"] = "ruby-3.3-rc";
|
|
28785
|
+
Runtimes["Ruby34rc"] = "ruby-3.4-rc";
|
|
28786
|
+
Runtimes["Ruby40rc"] = "ruby-4.0-rc";
|
|
28787
|
+
Runtimes["Python38rc"] = "python-3.8-rc";
|
|
28788
|
+
Runtimes["Python39rc"] = "python-3.9-rc";
|
|
28789
|
+
Runtimes["Python310rc"] = "python-3.10-rc";
|
|
28790
|
+
Runtimes["Python311rc"] = "python-3.11-rc";
|
|
28791
|
+
Runtimes["Python312rc"] = "python-3.12-rc";
|
|
28792
|
+
Runtimes["Python313rc"] = "python-3.13-rc";
|
|
28793
|
+
Runtimes["Python314rc"] = "python-3.14-rc";
|
|
28794
|
+
Runtimes["Pythonml311rc"] = "python-ml-3.11-rc";
|
|
28795
|
+
Runtimes["Pythonml312rc"] = "python-ml-3.12-rc";
|
|
28796
|
+
Runtimes["Pythonml313rc"] = "python-ml-3.13-rc";
|
|
28797
|
+
Runtimes["Deno140rc"] = "deno-1.40-rc";
|
|
28798
|
+
Runtimes["Deno146rc"] = "deno-1.46-rc";
|
|
28799
|
+
Runtimes["Deno20rc"] = "deno-2.0-rc";
|
|
28800
|
+
Runtimes["Deno25rc"] = "deno-2.5-rc";
|
|
28801
|
+
Runtimes["Deno26rc"] = "deno-2.6-rc";
|
|
28802
|
+
Runtimes["Dart215rc"] = "dart-2.15-rc";
|
|
28803
|
+
Runtimes["Dart216rc"] = "dart-2.16-rc";
|
|
28804
|
+
Runtimes["Dart217rc"] = "dart-2.17-rc";
|
|
28805
|
+
Runtimes["Dart218rc"] = "dart-2.18-rc";
|
|
28806
|
+
Runtimes["Dart219rc"] = "dart-2.19-rc";
|
|
28807
|
+
Runtimes["Dart30rc"] = "dart-3.0-rc";
|
|
28808
|
+
Runtimes["Dart31rc"] = "dart-3.1-rc";
|
|
28809
|
+
Runtimes["Dart33rc"] = "dart-3.3-rc";
|
|
28810
|
+
Runtimes["Dart35rc"] = "dart-3.5-rc";
|
|
28811
|
+
Runtimes["Dart38rc"] = "dart-3.8-rc";
|
|
28812
|
+
Runtimes["Dart39rc"] = "dart-3.9-rc";
|
|
28813
|
+
Runtimes["Dart310rc"] = "dart-3.10-rc";
|
|
28814
|
+
Runtimes["Dotnet60rc"] = "dotnet-6.0-rc";
|
|
28815
|
+
Runtimes["Dotnet70rc"] = "dotnet-7.0-rc";
|
|
28816
|
+
Runtimes["Dotnet80rc"] = "dotnet-8.0-rc";
|
|
28817
|
+
Runtimes["Dotnet10rc"] = "dotnet-10-rc";
|
|
28818
|
+
Runtimes["Java80rc"] = "java-8.0-rc";
|
|
28819
|
+
Runtimes["Java110rc"] = "java-11.0-rc";
|
|
28820
|
+
Runtimes["Java170rc"] = "java-17.0-rc";
|
|
28821
|
+
Runtimes["Java180rc"] = "java-18.0-rc";
|
|
28822
|
+
Runtimes["Java210rc"] = "java-21.0-rc";
|
|
28823
|
+
Runtimes["Java22rc"] = "java-22-rc";
|
|
28824
|
+
Runtimes["Java25rc"] = "java-25-rc";
|
|
28825
|
+
Runtimes["Swift55rc"] = "swift-5.5-rc";
|
|
28826
|
+
Runtimes["Swift58rc"] = "swift-5.8-rc";
|
|
28827
|
+
Runtimes["Swift59rc"] = "swift-5.9-rc";
|
|
28828
|
+
Runtimes["Swift510rc"] = "swift-5.10-rc";
|
|
28829
|
+
Runtimes["Swift62rc"] = "swift-6.2-rc";
|
|
28830
|
+
Runtimes["Kotlin16rc"] = "kotlin-1.6-rc";
|
|
28831
|
+
Runtimes["Kotlin18rc"] = "kotlin-1.8-rc";
|
|
28832
|
+
Runtimes["Kotlin19rc"] = "kotlin-1.9-rc";
|
|
28833
|
+
Runtimes["Kotlin20rc"] = "kotlin-2.0-rc";
|
|
28834
|
+
Runtimes["Kotlin23rc"] = "kotlin-2.3-rc";
|
|
28835
|
+
Runtimes["Cpp17rc"] = "cpp-17-rc";
|
|
28836
|
+
Runtimes["Cpp20rc"] = "cpp-20-rc";
|
|
28837
|
+
Runtimes["Bun10rc"] = "bun-1.0-rc";
|
|
28838
|
+
Runtimes["Bun11rc"] = "bun-1.1-rc";
|
|
28839
|
+
Runtimes["Bun12rc"] = "bun-1.2-rc";
|
|
28840
|
+
Runtimes["Bun13rc"] = "bun-1.3-rc";
|
|
28841
|
+
Runtimes["Go123rc"] = "go-1.23-rc";
|
|
28842
|
+
Runtimes["Go124rc"] = "go-1.24-rc";
|
|
28843
|
+
Runtimes["Go125rc"] = "go-1.25-rc";
|
|
28844
|
+
Runtimes["Go126rc"] = "go-1.26-rc";
|
|
28845
|
+
Runtimes["Static1rc"] = "static-1-rc";
|
|
28846
|
+
Runtimes["Flutter324rc"] = "flutter-3.24-rc";
|
|
28847
|
+
Runtimes["Flutter327rc"] = "flutter-3.27-rc";
|
|
28848
|
+
Runtimes["Flutter329rc"] = "flutter-3.29-rc";
|
|
28849
|
+
Runtimes["Flutter332rc"] = "flutter-3.32-rc";
|
|
28850
|
+
Runtimes["Flutter335rc"] = "flutter-3.35-rc";
|
|
28851
|
+
Runtimes["Flutter338rc"] = "flutter-3.38-rc";
|
|
28701
28852
|
})(Runtimes || (Runtimes = {}));
|
|
28702
28853
|
|
|
28703
28854
|
var UseCases;
|
|
@@ -29289,9 +29440,6 @@ var BuildRuntime;
|
|
|
29289
29440
|
BuildRuntime["Pythonml311"] = "python-ml-3.11";
|
|
29290
29441
|
BuildRuntime["Pythonml312"] = "python-ml-3.12";
|
|
29291
29442
|
BuildRuntime["Pythonml313"] = "python-ml-3.13";
|
|
29292
|
-
BuildRuntime["Deno121"] = "deno-1.21";
|
|
29293
|
-
BuildRuntime["Deno124"] = "deno-1.24";
|
|
29294
|
-
BuildRuntime["Deno135"] = "deno-1.35";
|
|
29295
29443
|
BuildRuntime["Deno140"] = "deno-1.40";
|
|
29296
29444
|
BuildRuntime["Deno146"] = "deno-1.46";
|
|
29297
29445
|
BuildRuntime["Deno20"] = "deno-2.0";
|
|
@@ -29347,6 +29495,92 @@ var BuildRuntime;
|
|
|
29347
29495
|
BuildRuntime["Flutter332"] = "flutter-3.32";
|
|
29348
29496
|
BuildRuntime["Flutter335"] = "flutter-3.35";
|
|
29349
29497
|
BuildRuntime["Flutter338"] = "flutter-3.38";
|
|
29498
|
+
BuildRuntime["Node145rc"] = "node-14.5-rc";
|
|
29499
|
+
BuildRuntime["Node160rc"] = "node-16.0-rc";
|
|
29500
|
+
BuildRuntime["Node180rc"] = "node-18.0-rc";
|
|
29501
|
+
BuildRuntime["Node190rc"] = "node-19.0-rc";
|
|
29502
|
+
BuildRuntime["Node200rc"] = "node-20.0-rc";
|
|
29503
|
+
BuildRuntime["Node210rc"] = "node-21.0-rc";
|
|
29504
|
+
BuildRuntime["Node22rc"] = "node-22-rc";
|
|
29505
|
+
BuildRuntime["Node23rc"] = "node-23-rc";
|
|
29506
|
+
BuildRuntime["Node24rc"] = "node-24-rc";
|
|
29507
|
+
BuildRuntime["Node25rc"] = "node-25-rc";
|
|
29508
|
+
BuildRuntime["Php80rc"] = "php-8.0-rc";
|
|
29509
|
+
BuildRuntime["Php81rc"] = "php-8.1-rc";
|
|
29510
|
+
BuildRuntime["Php82rc"] = "php-8.2-rc";
|
|
29511
|
+
BuildRuntime["Php83rc"] = "php-8.3-rc";
|
|
29512
|
+
BuildRuntime["Php84rc"] = "php-8.4-rc";
|
|
29513
|
+
BuildRuntime["Ruby30rc"] = "ruby-3.0-rc";
|
|
29514
|
+
BuildRuntime["Ruby31rc"] = "ruby-3.1-rc";
|
|
29515
|
+
BuildRuntime["Ruby32rc"] = "ruby-3.2-rc";
|
|
29516
|
+
BuildRuntime["Ruby33rc"] = "ruby-3.3-rc";
|
|
29517
|
+
BuildRuntime["Ruby34rc"] = "ruby-3.4-rc";
|
|
29518
|
+
BuildRuntime["Ruby40rc"] = "ruby-4.0-rc";
|
|
29519
|
+
BuildRuntime["Python38rc"] = "python-3.8-rc";
|
|
29520
|
+
BuildRuntime["Python39rc"] = "python-3.9-rc";
|
|
29521
|
+
BuildRuntime["Python310rc"] = "python-3.10-rc";
|
|
29522
|
+
BuildRuntime["Python311rc"] = "python-3.11-rc";
|
|
29523
|
+
BuildRuntime["Python312rc"] = "python-3.12-rc";
|
|
29524
|
+
BuildRuntime["Python313rc"] = "python-3.13-rc";
|
|
29525
|
+
BuildRuntime["Python314rc"] = "python-3.14-rc";
|
|
29526
|
+
BuildRuntime["Pythonml311rc"] = "python-ml-3.11-rc";
|
|
29527
|
+
BuildRuntime["Pythonml312rc"] = "python-ml-3.12-rc";
|
|
29528
|
+
BuildRuntime["Pythonml313rc"] = "python-ml-3.13-rc";
|
|
29529
|
+
BuildRuntime["Deno140rc"] = "deno-1.40-rc";
|
|
29530
|
+
BuildRuntime["Deno146rc"] = "deno-1.46-rc";
|
|
29531
|
+
BuildRuntime["Deno20rc"] = "deno-2.0-rc";
|
|
29532
|
+
BuildRuntime["Deno25rc"] = "deno-2.5-rc";
|
|
29533
|
+
BuildRuntime["Deno26rc"] = "deno-2.6-rc";
|
|
29534
|
+
BuildRuntime["Dart215rc"] = "dart-2.15-rc";
|
|
29535
|
+
BuildRuntime["Dart216rc"] = "dart-2.16-rc";
|
|
29536
|
+
BuildRuntime["Dart217rc"] = "dart-2.17-rc";
|
|
29537
|
+
BuildRuntime["Dart218rc"] = "dart-2.18-rc";
|
|
29538
|
+
BuildRuntime["Dart219rc"] = "dart-2.19-rc";
|
|
29539
|
+
BuildRuntime["Dart30rc"] = "dart-3.0-rc";
|
|
29540
|
+
BuildRuntime["Dart31rc"] = "dart-3.1-rc";
|
|
29541
|
+
BuildRuntime["Dart33rc"] = "dart-3.3-rc";
|
|
29542
|
+
BuildRuntime["Dart35rc"] = "dart-3.5-rc";
|
|
29543
|
+
BuildRuntime["Dart38rc"] = "dart-3.8-rc";
|
|
29544
|
+
BuildRuntime["Dart39rc"] = "dart-3.9-rc";
|
|
29545
|
+
BuildRuntime["Dart310rc"] = "dart-3.10-rc";
|
|
29546
|
+
BuildRuntime["Dotnet60rc"] = "dotnet-6.0-rc";
|
|
29547
|
+
BuildRuntime["Dotnet70rc"] = "dotnet-7.0-rc";
|
|
29548
|
+
BuildRuntime["Dotnet80rc"] = "dotnet-8.0-rc";
|
|
29549
|
+
BuildRuntime["Dotnet10rc"] = "dotnet-10-rc";
|
|
29550
|
+
BuildRuntime["Java80rc"] = "java-8.0-rc";
|
|
29551
|
+
BuildRuntime["Java110rc"] = "java-11.0-rc";
|
|
29552
|
+
BuildRuntime["Java170rc"] = "java-17.0-rc";
|
|
29553
|
+
BuildRuntime["Java180rc"] = "java-18.0-rc";
|
|
29554
|
+
BuildRuntime["Java210rc"] = "java-21.0-rc";
|
|
29555
|
+
BuildRuntime["Java22rc"] = "java-22-rc";
|
|
29556
|
+
BuildRuntime["Java25rc"] = "java-25-rc";
|
|
29557
|
+
BuildRuntime["Swift55rc"] = "swift-5.5-rc";
|
|
29558
|
+
BuildRuntime["Swift58rc"] = "swift-5.8-rc";
|
|
29559
|
+
BuildRuntime["Swift59rc"] = "swift-5.9-rc";
|
|
29560
|
+
BuildRuntime["Swift510rc"] = "swift-5.10-rc";
|
|
29561
|
+
BuildRuntime["Swift62rc"] = "swift-6.2-rc";
|
|
29562
|
+
BuildRuntime["Kotlin16rc"] = "kotlin-1.6-rc";
|
|
29563
|
+
BuildRuntime["Kotlin18rc"] = "kotlin-1.8-rc";
|
|
29564
|
+
BuildRuntime["Kotlin19rc"] = "kotlin-1.9-rc";
|
|
29565
|
+
BuildRuntime["Kotlin20rc"] = "kotlin-2.0-rc";
|
|
29566
|
+
BuildRuntime["Kotlin23rc"] = "kotlin-2.3-rc";
|
|
29567
|
+
BuildRuntime["Cpp17rc"] = "cpp-17-rc";
|
|
29568
|
+
BuildRuntime["Cpp20rc"] = "cpp-20-rc";
|
|
29569
|
+
BuildRuntime["Bun10rc"] = "bun-1.0-rc";
|
|
29570
|
+
BuildRuntime["Bun11rc"] = "bun-1.1-rc";
|
|
29571
|
+
BuildRuntime["Bun12rc"] = "bun-1.2-rc";
|
|
29572
|
+
BuildRuntime["Bun13rc"] = "bun-1.3-rc";
|
|
29573
|
+
BuildRuntime["Go123rc"] = "go-1.23-rc";
|
|
29574
|
+
BuildRuntime["Go124rc"] = "go-1.24-rc";
|
|
29575
|
+
BuildRuntime["Go125rc"] = "go-1.25-rc";
|
|
29576
|
+
BuildRuntime["Go126rc"] = "go-1.26-rc";
|
|
29577
|
+
BuildRuntime["Static1rc"] = "static-1-rc";
|
|
29578
|
+
BuildRuntime["Flutter324rc"] = "flutter-3.24-rc";
|
|
29579
|
+
BuildRuntime["Flutter327rc"] = "flutter-3.27-rc";
|
|
29580
|
+
BuildRuntime["Flutter329rc"] = "flutter-3.29-rc";
|
|
29581
|
+
BuildRuntime["Flutter332rc"] = "flutter-3.32-rc";
|
|
29582
|
+
BuildRuntime["Flutter335rc"] = "flutter-3.35-rc";
|
|
29583
|
+
BuildRuntime["Flutter338rc"] = "flutter-3.38-rc";
|
|
29350
29584
|
})(BuildRuntime || (BuildRuntime = {}));
|
|
29351
29585
|
|
|
29352
29586
|
var Adapter;
|
|
@@ -29524,29 +29758,25 @@ var BillingPlanGroup;
|
|
|
29524
29758
|
BillingPlanGroup["Scale"] = "scale";
|
|
29525
29759
|
})(BillingPlanGroup || (BillingPlanGroup = {}));
|
|
29526
29760
|
|
|
29527
|
-
var
|
|
29528
|
-
(function (
|
|
29529
|
-
|
|
29530
|
-
|
|
29531
|
-
|
|
29532
|
-
|
|
29533
|
-
|
|
29534
|
-
|
|
29535
|
-
|
|
29536
|
-
|
|
29537
|
-
})(
|
|
29761
|
+
var DomainTransferStatusEnum;
|
|
29762
|
+
(function (DomainTransferStatusEnum) {
|
|
29763
|
+
DomainTransferStatusEnum["Transferrable"] = "transferrable";
|
|
29764
|
+
DomainTransferStatusEnum["NotTransferrable"] = "not_transferrable";
|
|
29765
|
+
DomainTransferStatusEnum["PendingOwner"] = "pending_owner";
|
|
29766
|
+
DomainTransferStatusEnum["PendingAdmin"] = "pending_admin";
|
|
29767
|
+
DomainTransferStatusEnum["PendingRegistry"] = "pending_registry";
|
|
29768
|
+
DomainTransferStatusEnum["Completed"] = "completed";
|
|
29769
|
+
DomainTransferStatusEnum["Cancelled"] = "cancelled";
|
|
29770
|
+
DomainTransferStatusEnum["ServiceUnavailable"] = "service_unavailable";
|
|
29771
|
+
})(DomainTransferStatusEnum || (DomainTransferStatusEnum = {}));
|
|
29538
29772
|
|
|
29539
|
-
var
|
|
29540
|
-
(function (
|
|
29541
|
-
|
|
29542
|
-
|
|
29543
|
-
|
|
29544
|
-
|
|
29545
|
-
|
|
29546
|
-
DomainTransferStatusStatus["Completed"] = "completed";
|
|
29547
|
-
DomainTransferStatusStatus["Cancelled"] = "cancelled";
|
|
29548
|
-
DomainTransferStatusStatus["ServiceUnavailable"] = "service_unavailable";
|
|
29549
|
-
})(DomainTransferStatusStatus || (DomainTransferStatusStatus = {}));
|
|
29773
|
+
var DomainPurchaseStatus;
|
|
29774
|
+
(function (DomainPurchaseStatus) {
|
|
29775
|
+
DomainPurchaseStatus["Pending"] = "pending";
|
|
29776
|
+
DomainPurchaseStatus["Succeeded"] = "succeeded";
|
|
29777
|
+
DomainPurchaseStatus["Failed"] = "failed";
|
|
29778
|
+
DomainPurchaseStatus["Cancelled"] = "cancelled";
|
|
29779
|
+
})(DomainPurchaseStatus || (DomainPurchaseStatus = {}));
|
|
29550
29780
|
|
|
29551
|
-
export { Account, Activities, Adapter, Api, ApiService, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DeploymentDownloadType, DeploymentStatus,
|
|
29781
|
+
export { Account, Activities, Adapter, Api, ApiService, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DeploymentDownloadType, DeploymentStatus, DomainPurchaseStatus, DomainTransferStatusEnum, Domains, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FilterType, FirebaseMigrationResource, Flag, Framework, Frameworks, Functions, Graphql, Health, HealthAntivirusStatus, HealthCheckStatus, ID, ImageFormat, ImageGravity, IndexStatus, IndexType, Locale, MessagePriority, MessageStatus, Messaging, MessagingProviderType, Migrations, NHostMigrationResource, Name, OAuthProvider, Operator, OrderBy, Organizations, PasswordHash, Permission, Platform, PlatformType, Project, ProjectUsageRange, Projects, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, Realtime, Region, RegistrationType, RelationMutate, RelationshipType, ResourceType, Role, Runtime, Runtimes, SMTPSecure, Scopes, Sites, SmsTemplateLocale, SmsTemplateType, SmtpEncryption, Status, StatusCode, Storage, SupabaseMigrationResource, TablesDB, Teams, TemplateReferenceType, Theme, Timezone, Tokens, UsageRange, UseCases, Users, VCSDetectionType, VCSReferenceType, Vcs, Webhooks };
|
|
29552
29782
|
//# sourceMappingURL=sdk.js.map
|