@appwrite.io/console 15.8.0 → 16.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/README.md +2 -2
- package/dist/cjs/sdk.js +363 -42
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +362 -43
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +363 -42
- package/package.json +3 -3
- package/types/client.d.ts +11 -0
- package/types/enums/invalidation-type.d.ts +5 -0
- package/types/enums/project-key-scopes.d.ts +1 -0
- package/types/enums/query-suggestion-resource.d.ts +3 -0
- package/types/enums/usage-event-dimension.d.ts +21 -0
- package/types/enums/usage-gauge-dimension.d.ts +7 -0
- package/types/enums/usage-interval.d.ts +7 -0
- package/types/enums/usage-order-by.d.ts +4 -0
- package/types/enums/usage-order-direction.d.ts +4 -0
- package/types/index.d.ts +9 -1
- package/types/models.d.ts +218 -39
- package/types/services/account.d.ts +6 -6
- package/types/services/affiliates.d.ts +162 -0
- package/types/services/embeddings.d.ts +31 -0
- package/types/services/proxy.d.ts +30 -0
- package/types/services/usage.d.ts +35 -30
- package/types/services/vectors-db.d.ts +0 -25
package/dist/esm/sdk.js
CHANGED
|
@@ -624,6 +624,7 @@ class Client {
|
|
|
624
624
|
endpointRealtime: '',
|
|
625
625
|
project: '',
|
|
626
626
|
key: '',
|
|
627
|
+
organization: '',
|
|
627
628
|
jwt: '',
|
|
628
629
|
bearer: '',
|
|
629
630
|
locale: '',
|
|
@@ -645,8 +646,8 @@ class Client {
|
|
|
645
646
|
'x-sdk-name': 'Console',
|
|
646
647
|
'x-sdk-platform': 'console',
|
|
647
648
|
'x-sdk-language': 'web',
|
|
648
|
-
'x-sdk-version': '
|
|
649
|
-
'X-Appwrite-Response-Format': '1.9.
|
|
649
|
+
'x-sdk-version': '16.0.0',
|
|
650
|
+
'X-Appwrite-Response-Format': '1.9.6',
|
|
650
651
|
};
|
|
651
652
|
this.realtime = {
|
|
652
653
|
socket: undefined,
|
|
@@ -955,6 +956,20 @@ class Client {
|
|
|
955
956
|
this.config.key = value;
|
|
956
957
|
return this;
|
|
957
958
|
}
|
|
959
|
+
/**
|
|
960
|
+
* Set Organization
|
|
961
|
+
*
|
|
962
|
+
* Your organization ID
|
|
963
|
+
*
|
|
964
|
+
* @param value string
|
|
965
|
+
*
|
|
966
|
+
* @return {this}
|
|
967
|
+
*/
|
|
968
|
+
setOrganization(value) {
|
|
969
|
+
this.headers['X-Appwrite-Organization'] = value;
|
|
970
|
+
this.config.organization = value;
|
|
971
|
+
return this;
|
|
972
|
+
}
|
|
958
973
|
/**
|
|
959
974
|
* Set JWT
|
|
960
975
|
*
|
|
@@ -3906,6 +3921,200 @@ class Activities {
|
|
|
3906
3921
|
}
|
|
3907
3922
|
}
|
|
3908
3923
|
|
|
3924
|
+
class Affiliates {
|
|
3925
|
+
constructor(client) {
|
|
3926
|
+
this.client = client;
|
|
3927
|
+
}
|
|
3928
|
+
listLinks(paramsOrFirst) {
|
|
3929
|
+
let params;
|
|
3930
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
3931
|
+
params = (paramsOrFirst || {});
|
|
3932
|
+
}
|
|
3933
|
+
else {
|
|
3934
|
+
params = {
|
|
3935
|
+
queries: paramsOrFirst
|
|
3936
|
+
};
|
|
3937
|
+
}
|
|
3938
|
+
const queries = params.queries;
|
|
3939
|
+
const apiPath = '/affiliates/links';
|
|
3940
|
+
const payload = {};
|
|
3941
|
+
if (typeof queries !== 'undefined') {
|
|
3942
|
+
payload['queries'] = queries;
|
|
3943
|
+
}
|
|
3944
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
3945
|
+
const apiHeaders = {
|
|
3946
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
3947
|
+
'accept': 'application/json',
|
|
3948
|
+
};
|
|
3949
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
3950
|
+
}
|
|
3951
|
+
createLink(paramsOrFirst, ...rest) {
|
|
3952
|
+
let params;
|
|
3953
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
3954
|
+
params = (paramsOrFirst || {});
|
|
3955
|
+
}
|
|
3956
|
+
else {
|
|
3957
|
+
params = {
|
|
3958
|
+
linkId: paramsOrFirst,
|
|
3959
|
+
name: rest[0]
|
|
3960
|
+
};
|
|
3961
|
+
}
|
|
3962
|
+
const linkId = params.linkId;
|
|
3963
|
+
const name = params.name;
|
|
3964
|
+
if (typeof linkId === 'undefined') {
|
|
3965
|
+
throw new AppwriteException('Missing required parameter: "linkId"');
|
|
3966
|
+
}
|
|
3967
|
+
const apiPath = '/affiliates/links';
|
|
3968
|
+
const payload = {};
|
|
3969
|
+
if (typeof linkId !== 'undefined') {
|
|
3970
|
+
payload['linkId'] = linkId;
|
|
3971
|
+
}
|
|
3972
|
+
if (typeof name !== 'undefined') {
|
|
3973
|
+
payload['name'] = name;
|
|
3974
|
+
}
|
|
3975
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
3976
|
+
const apiHeaders = {
|
|
3977
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
3978
|
+
'content-type': 'application/json',
|
|
3979
|
+
'accept': 'application/json',
|
|
3980
|
+
};
|
|
3981
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
3982
|
+
}
|
|
3983
|
+
getLink(paramsOrFirst) {
|
|
3984
|
+
let params;
|
|
3985
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
3986
|
+
params = (paramsOrFirst || {});
|
|
3987
|
+
}
|
|
3988
|
+
else {
|
|
3989
|
+
params = {
|
|
3990
|
+
linkId: paramsOrFirst
|
|
3991
|
+
};
|
|
3992
|
+
}
|
|
3993
|
+
const linkId = params.linkId;
|
|
3994
|
+
if (typeof linkId === 'undefined') {
|
|
3995
|
+
throw new AppwriteException('Missing required parameter: "linkId"');
|
|
3996
|
+
}
|
|
3997
|
+
const apiPath = '/affiliates/links/{linkId}'.replace('{linkId}', encodeURIComponent(String(linkId)));
|
|
3998
|
+
const payload = {};
|
|
3999
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4000
|
+
const apiHeaders = {
|
|
4001
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4002
|
+
'accept': 'application/json',
|
|
4003
|
+
};
|
|
4004
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
4005
|
+
}
|
|
4006
|
+
deleteLink(paramsOrFirst) {
|
|
4007
|
+
let params;
|
|
4008
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
4009
|
+
params = (paramsOrFirst || {});
|
|
4010
|
+
}
|
|
4011
|
+
else {
|
|
4012
|
+
params = {
|
|
4013
|
+
linkId: paramsOrFirst
|
|
4014
|
+
};
|
|
4015
|
+
}
|
|
4016
|
+
const linkId = params.linkId;
|
|
4017
|
+
if (typeof linkId === 'undefined') {
|
|
4018
|
+
throw new AppwriteException('Missing required parameter: "linkId"');
|
|
4019
|
+
}
|
|
4020
|
+
const apiPath = '/affiliates/links/{linkId}'.replace('{linkId}', encodeURIComponent(String(linkId)));
|
|
4021
|
+
const payload = {};
|
|
4022
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4023
|
+
const apiHeaders = {
|
|
4024
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4025
|
+
'content-type': 'application/json',
|
|
4026
|
+
'accept': 'application/json',
|
|
4027
|
+
};
|
|
4028
|
+
return this.client.call('delete', uri, apiHeaders, payload);
|
|
4029
|
+
}
|
|
4030
|
+
listReferrals(paramsOrFirst) {
|
|
4031
|
+
let params;
|
|
4032
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
4033
|
+
params = (paramsOrFirst || {});
|
|
4034
|
+
}
|
|
4035
|
+
else {
|
|
4036
|
+
params = {
|
|
4037
|
+
queries: paramsOrFirst
|
|
4038
|
+
};
|
|
4039
|
+
}
|
|
4040
|
+
const queries = params.queries;
|
|
4041
|
+
const apiPath = '/affiliates/referrals';
|
|
4042
|
+
const payload = {};
|
|
4043
|
+
if (typeof queries !== 'undefined') {
|
|
4044
|
+
payload['queries'] = queries;
|
|
4045
|
+
}
|
|
4046
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4047
|
+
const apiHeaders = {
|
|
4048
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4049
|
+
'accept': 'application/json',
|
|
4050
|
+
};
|
|
4051
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
4052
|
+
}
|
|
4053
|
+
listRewards(paramsOrFirst) {
|
|
4054
|
+
let params;
|
|
4055
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
4056
|
+
params = (paramsOrFirst || {});
|
|
4057
|
+
}
|
|
4058
|
+
else {
|
|
4059
|
+
params = {
|
|
4060
|
+
queries: paramsOrFirst
|
|
4061
|
+
};
|
|
4062
|
+
}
|
|
4063
|
+
const queries = params.queries;
|
|
4064
|
+
const apiPath = '/affiliates/rewards';
|
|
4065
|
+
const payload = {};
|
|
4066
|
+
if (typeof queries !== 'undefined') {
|
|
4067
|
+
payload['queries'] = queries;
|
|
4068
|
+
}
|
|
4069
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4070
|
+
const apiHeaders = {
|
|
4071
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4072
|
+
'accept': 'application/json',
|
|
4073
|
+
};
|
|
4074
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
4075
|
+
}
|
|
4076
|
+
updateReward(paramsOrFirst, ...rest) {
|
|
4077
|
+
let params;
|
|
4078
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
4079
|
+
params = (paramsOrFirst || {});
|
|
4080
|
+
}
|
|
4081
|
+
else {
|
|
4082
|
+
params = {
|
|
4083
|
+
rewardId: paramsOrFirst,
|
|
4084
|
+
status: rest[0],
|
|
4085
|
+
organizationId: rest[1]
|
|
4086
|
+
};
|
|
4087
|
+
}
|
|
4088
|
+
const rewardId = params.rewardId;
|
|
4089
|
+
const status = params.status;
|
|
4090
|
+
const organizationId = params.organizationId;
|
|
4091
|
+
if (typeof rewardId === 'undefined') {
|
|
4092
|
+
throw new AppwriteException('Missing required parameter: "rewardId"');
|
|
4093
|
+
}
|
|
4094
|
+
if (typeof status === 'undefined') {
|
|
4095
|
+
throw new AppwriteException('Missing required parameter: "status"');
|
|
4096
|
+
}
|
|
4097
|
+
if (typeof organizationId === 'undefined') {
|
|
4098
|
+
throw new AppwriteException('Missing required parameter: "organizationId"');
|
|
4099
|
+
}
|
|
4100
|
+
const apiPath = '/affiliates/rewards/{rewardId}'.replace('{rewardId}', encodeURIComponent(String(rewardId)));
|
|
4101
|
+
const payload = {};
|
|
4102
|
+
if (typeof status !== 'undefined') {
|
|
4103
|
+
payload['status'] = status;
|
|
4104
|
+
}
|
|
4105
|
+
if (typeof organizationId !== 'undefined') {
|
|
4106
|
+
payload['organizationId'] = organizationId;
|
|
4107
|
+
}
|
|
4108
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4109
|
+
const apiHeaders = {
|
|
4110
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4111
|
+
'content-type': 'application/json',
|
|
4112
|
+
'accept': 'application/json',
|
|
4113
|
+
};
|
|
4114
|
+
return this.client.call('patch', uri, apiHeaders, payload);
|
|
4115
|
+
}
|
|
4116
|
+
}
|
|
4117
|
+
|
|
3909
4118
|
class Apps {
|
|
3910
4119
|
constructor(client) {
|
|
3911
4120
|
this.client = client;
|
|
@@ -13039,6 +13248,44 @@ class Domains {
|
|
|
13039
13248
|
}
|
|
13040
13249
|
}
|
|
13041
13250
|
|
|
13251
|
+
class Embeddings {
|
|
13252
|
+
constructor(client) {
|
|
13253
|
+
this.client = client;
|
|
13254
|
+
}
|
|
13255
|
+
createTextEmbeddings(paramsOrFirst, ...rest) {
|
|
13256
|
+
let params;
|
|
13257
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
13258
|
+
params = (paramsOrFirst || {});
|
|
13259
|
+
}
|
|
13260
|
+
else {
|
|
13261
|
+
params = {
|
|
13262
|
+
texts: paramsOrFirst,
|
|
13263
|
+
model: rest[0]
|
|
13264
|
+
};
|
|
13265
|
+
}
|
|
13266
|
+
const texts = params.texts;
|
|
13267
|
+
const model = params.model;
|
|
13268
|
+
if (typeof texts === 'undefined') {
|
|
13269
|
+
throw new AppwriteException('Missing required parameter: "texts"');
|
|
13270
|
+
}
|
|
13271
|
+
const apiPath = '/embeddings/text';
|
|
13272
|
+
const payload = {};
|
|
13273
|
+
if (typeof texts !== 'undefined') {
|
|
13274
|
+
payload['texts'] = texts;
|
|
13275
|
+
}
|
|
13276
|
+
if (typeof model !== 'undefined') {
|
|
13277
|
+
payload['model'] = model;
|
|
13278
|
+
}
|
|
13279
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
13280
|
+
const apiHeaders = {
|
|
13281
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
13282
|
+
'content-type': 'application/json',
|
|
13283
|
+
'accept': 'application/json',
|
|
13284
|
+
};
|
|
13285
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
13286
|
+
}
|
|
13287
|
+
}
|
|
13288
|
+
|
|
13042
13289
|
class Functions {
|
|
13043
13290
|
constructor(client) {
|
|
13044
13291
|
this.client = client;
|
|
@@ -29534,6 +29781,46 @@ class Proxy {
|
|
|
29534
29781
|
constructor(client) {
|
|
29535
29782
|
this.client = client;
|
|
29536
29783
|
}
|
|
29784
|
+
createInvalidation(paramsOrFirst, ...rest) {
|
|
29785
|
+
let params;
|
|
29786
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
29787
|
+
params = (paramsOrFirst || {});
|
|
29788
|
+
}
|
|
29789
|
+
else {
|
|
29790
|
+
params = {
|
|
29791
|
+
domain: paramsOrFirst,
|
|
29792
|
+
type: rest[0],
|
|
29793
|
+
reference: rest[1]
|
|
29794
|
+
};
|
|
29795
|
+
}
|
|
29796
|
+
const domain = params.domain;
|
|
29797
|
+
const type = params.type;
|
|
29798
|
+
const reference = params.reference;
|
|
29799
|
+
if (typeof domain === 'undefined') {
|
|
29800
|
+
throw new AppwriteException('Missing required parameter: "domain"');
|
|
29801
|
+
}
|
|
29802
|
+
if (typeof type === 'undefined') {
|
|
29803
|
+
throw new AppwriteException('Missing required parameter: "type"');
|
|
29804
|
+
}
|
|
29805
|
+
const apiPath = '/proxy/invalidations';
|
|
29806
|
+
const payload = {};
|
|
29807
|
+
if (typeof domain !== 'undefined') {
|
|
29808
|
+
payload['domain'] = domain;
|
|
29809
|
+
}
|
|
29810
|
+
if (typeof type !== 'undefined') {
|
|
29811
|
+
payload['type'] = type;
|
|
29812
|
+
}
|
|
29813
|
+
if (typeof reference !== 'undefined') {
|
|
29814
|
+
payload['reference'] = reference;
|
|
29815
|
+
}
|
|
29816
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
29817
|
+
const apiHeaders = {
|
|
29818
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
29819
|
+
'content-type': 'application/json',
|
|
29820
|
+
'accept': 'application/json',
|
|
29821
|
+
};
|
|
29822
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
29823
|
+
}
|
|
29537
29824
|
listRules(paramsOrFirst, ...rest) {
|
|
29538
29825
|
let params;
|
|
29539
29826
|
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
@@ -38502,38 +38789,6 @@ class VectorsDB {
|
|
|
38502
38789
|
};
|
|
38503
38790
|
return this.client.call('post', uri, apiHeaders, payload);
|
|
38504
38791
|
}
|
|
38505
|
-
createTextEmbeddings(paramsOrFirst, ...rest) {
|
|
38506
|
-
let params;
|
|
38507
|
-
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
38508
|
-
params = (paramsOrFirst || {});
|
|
38509
|
-
}
|
|
38510
|
-
else {
|
|
38511
|
-
params = {
|
|
38512
|
-
texts: paramsOrFirst,
|
|
38513
|
-
model: rest[0]
|
|
38514
|
-
};
|
|
38515
|
-
}
|
|
38516
|
-
const texts = params.texts;
|
|
38517
|
-
const model = params.model;
|
|
38518
|
-
if (typeof texts === 'undefined') {
|
|
38519
|
-
throw new AppwriteException('Missing required parameter: "texts"');
|
|
38520
|
-
}
|
|
38521
|
-
const apiPath = '/vectorsdb/embeddings/text';
|
|
38522
|
-
const payload = {};
|
|
38523
|
-
if (typeof texts !== 'undefined') {
|
|
38524
|
-
payload['texts'] = texts;
|
|
38525
|
-
}
|
|
38526
|
-
if (typeof model !== 'undefined') {
|
|
38527
|
-
payload['model'] = model;
|
|
38528
|
-
}
|
|
38529
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
38530
|
-
const apiHeaders = {
|
|
38531
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
38532
|
-
'content-type': 'application/json',
|
|
38533
|
-
'accept': 'application/json',
|
|
38534
|
-
};
|
|
38535
|
-
return this.client.call('post', uri, apiHeaders, payload);
|
|
38536
|
-
}
|
|
38537
38792
|
/**
|
|
38538
38793
|
* List the dedicated database specifications available on the current plan. Each specification reports its resource limits, pricing, and whether it is enabled for the organization.
|
|
38539
38794
|
*
|
|
@@ -42828,6 +43083,9 @@ var QuerySuggestionResource;
|
|
|
42828
43083
|
QuerySuggestionResource["ShInstallations"] = "sh_installations";
|
|
42829
43084
|
QuerySuggestionResource["MigrationDatabases"] = "migrationdatabases";
|
|
42830
43085
|
QuerySuggestionResource["MigrationProjects"] = "migrationprojects";
|
|
43086
|
+
QuerySuggestionResource["AffiliateLinks"] = "affiliatelinks";
|
|
43087
|
+
QuerySuggestionResource["AffiliateReferrals"] = "affiliatereferrals";
|
|
43088
|
+
QuerySuggestionResource["AffiliateRewards"] = "affiliaterewards";
|
|
42831
43089
|
QuerySuggestionResource["Apps"] = "apps";
|
|
42832
43090
|
QuerySuggestionResource["AppSecrets"] = "appsecrets";
|
|
42833
43091
|
QuerySuggestionResource["AppInstallations"] = "appinstallations";
|
|
@@ -43052,6 +43310,14 @@ var DomainSuggestionType;
|
|
|
43052
43310
|
DomainSuggestionType["Suggestion"] = "suggestion";
|
|
43053
43311
|
})(DomainSuggestionType || (DomainSuggestionType = {}));
|
|
43054
43312
|
|
|
43313
|
+
var EmbeddingModel;
|
|
43314
|
+
(function (EmbeddingModel) {
|
|
43315
|
+
EmbeddingModel["Nomicembedtext"] = "nomic-embed-text";
|
|
43316
|
+
EmbeddingModel["Embeddinggemma"] = "embedding-gemma";
|
|
43317
|
+
EmbeddingModel["Allminilm"] = "all-minilm";
|
|
43318
|
+
EmbeddingModel["Bgesmall"] = "bge-small";
|
|
43319
|
+
})(EmbeddingModel || (EmbeddingModel = {}));
|
|
43320
|
+
|
|
43055
43321
|
var Runtime;
|
|
43056
43322
|
(function (Runtime) {
|
|
43057
43323
|
Runtime["Node145"] = "node-14.5";
|
|
@@ -43248,6 +43514,7 @@ var ProjectKeyScopes;
|
|
|
43248
43514
|
ProjectKeyScopes["WafRulesRead"] = "wafRules.read";
|
|
43249
43515
|
ProjectKeyScopes["WafRulesWrite"] = "wafRules.write";
|
|
43250
43516
|
ProjectKeyScopes["EventsRead"] = "events.read";
|
|
43517
|
+
ProjectKeyScopes["ProxyInvalidationsWrite"] = "proxy.invalidations.write";
|
|
43251
43518
|
ProjectKeyScopes["AppsRead"] = "apps.read";
|
|
43252
43519
|
ProjectKeyScopes["AppsWrite"] = "apps.write";
|
|
43253
43520
|
ProjectKeyScopes["Oauth2Read"] = "oauth2.read";
|
|
@@ -43633,6 +43900,13 @@ var Status;
|
|
|
43633
43900
|
Status["Active"] = "active";
|
|
43634
43901
|
})(Status || (Status = {}));
|
|
43635
43902
|
|
|
43903
|
+
var InvalidationType;
|
|
43904
|
+
(function (InvalidationType) {
|
|
43905
|
+
InvalidationType["Tag"] = "tag";
|
|
43906
|
+
InvalidationType["Path"] = "path";
|
|
43907
|
+
InvalidationType["All"] = "all";
|
|
43908
|
+
})(InvalidationType || (InvalidationType = {}));
|
|
43909
|
+
|
|
43636
43910
|
var StatusCode;
|
|
43637
43911
|
(function (StatusCode) {
|
|
43638
43912
|
StatusCode["MovedPermanently"] = "301";
|
|
@@ -43809,6 +44083,59 @@ var TablesDBIndexType;
|
|
|
43809
44083
|
TablesDBIndexType["Spatial"] = "spatial";
|
|
43810
44084
|
})(TablesDBIndexType || (TablesDBIndexType = {}));
|
|
43811
44085
|
|
|
44086
|
+
var UsageInterval;
|
|
44087
|
+
(function (UsageInterval) {
|
|
44088
|
+
UsageInterval["OneMinute"] = "1m";
|
|
44089
|
+
UsageInterval["FifteenMinutes"] = "15m";
|
|
44090
|
+
UsageInterval["ThirtyMinutes"] = "30m";
|
|
44091
|
+
UsageInterval["OneHour"] = "1h";
|
|
44092
|
+
UsageInterval["OneDay"] = "1d";
|
|
44093
|
+
})(UsageInterval || (UsageInterval = {}));
|
|
44094
|
+
|
|
44095
|
+
var UsageEventDimension;
|
|
44096
|
+
(function (UsageEventDimension) {
|
|
44097
|
+
UsageEventDimension["Path"] = "path";
|
|
44098
|
+
UsageEventDimension["Method"] = "method";
|
|
44099
|
+
UsageEventDimension["Status"] = "status";
|
|
44100
|
+
UsageEventDimension["Service"] = "service";
|
|
44101
|
+
UsageEventDimension["ResourceType"] = "resourceType";
|
|
44102
|
+
UsageEventDimension["Country"] = "country";
|
|
44103
|
+
UsageEventDimension["ContinentCode"] = "continentCode";
|
|
44104
|
+
UsageEventDimension["City"] = "city";
|
|
44105
|
+
UsageEventDimension["Region"] = "region";
|
|
44106
|
+
UsageEventDimension["Hostname"] = "hostname";
|
|
44107
|
+
UsageEventDimension["Ip"] = "ip";
|
|
44108
|
+
UsageEventDimension["OsName"] = "osName";
|
|
44109
|
+
UsageEventDimension["ClientType"] = "clientType";
|
|
44110
|
+
UsageEventDimension["ClientName"] = "clientName";
|
|
44111
|
+
UsageEventDimension["DeviceName"] = "deviceName";
|
|
44112
|
+
UsageEventDimension["Sdk"] = "sdk";
|
|
44113
|
+
UsageEventDimension["SdkVersion"] = "sdkVersion";
|
|
44114
|
+
UsageEventDimension["TeamId"] = "teamId";
|
|
44115
|
+
UsageEventDimension["ResourceId"] = "resourceId";
|
|
44116
|
+
})(UsageEventDimension || (UsageEventDimension = {}));
|
|
44117
|
+
|
|
44118
|
+
var UsageOrderBy;
|
|
44119
|
+
(function (UsageOrderBy) {
|
|
44120
|
+
UsageOrderBy["Time"] = "time";
|
|
44121
|
+
UsageOrderBy["Value"] = "value";
|
|
44122
|
+
})(UsageOrderBy || (UsageOrderBy = {}));
|
|
44123
|
+
|
|
44124
|
+
var UsageOrderDirection;
|
|
44125
|
+
(function (UsageOrderDirection) {
|
|
44126
|
+
UsageOrderDirection["Asc"] = "asc";
|
|
44127
|
+
UsageOrderDirection["Desc"] = "desc";
|
|
44128
|
+
})(UsageOrderDirection || (UsageOrderDirection = {}));
|
|
44129
|
+
|
|
44130
|
+
var UsageGaugeDimension;
|
|
44131
|
+
(function (UsageGaugeDimension) {
|
|
44132
|
+
UsageGaugeDimension["ResourceId"] = "resourceId";
|
|
44133
|
+
UsageGaugeDimension["TeamId"] = "teamId";
|
|
44134
|
+
UsageGaugeDimension["Service"] = "service";
|
|
44135
|
+
UsageGaugeDimension["ResourceType"] = "resourceType";
|
|
44136
|
+
UsageGaugeDimension["Ordinal"] = "ordinal";
|
|
44137
|
+
})(UsageGaugeDimension || (UsageGaugeDimension = {}));
|
|
44138
|
+
|
|
43812
44139
|
var PasswordHash;
|
|
43813
44140
|
(function (PasswordHash) {
|
|
43814
44141
|
PasswordHash["Sha1"] = "sha1";
|
|
@@ -43837,14 +44164,6 @@ var VCSDetectionType;
|
|
|
43837
44164
|
VCSDetectionType["Framework"] = "framework";
|
|
43838
44165
|
})(VCSDetectionType || (VCSDetectionType = {}));
|
|
43839
44166
|
|
|
43840
|
-
var EmbeddingModel;
|
|
43841
|
-
(function (EmbeddingModel) {
|
|
43842
|
-
EmbeddingModel["Nomicembedtext"] = "nomic-embed-text";
|
|
43843
|
-
EmbeddingModel["Embeddinggemma"] = "embedding-gemma";
|
|
43844
|
-
EmbeddingModel["Allminilm"] = "all-minilm";
|
|
43845
|
-
EmbeddingModel["Bgesmall"] = "bge-small";
|
|
43846
|
-
})(EmbeddingModel || (EmbeddingModel = {}));
|
|
43847
|
-
|
|
43848
44167
|
var VectorsDBIndexType;
|
|
43849
44168
|
(function (VectorsDBIndexType) {
|
|
43850
44169
|
VectorsDBIndexType["HnswEuclidean"] = "hnsw_euclidean";
|
|
@@ -44029,5 +44348,5 @@ var WafRuleAction;
|
|
|
44029
44348
|
WafRuleAction["Redirect"] = "redirect";
|
|
44030
44349
|
})(WafRuleAction || (WafRuleAction = {}));
|
|
44031
44350
|
|
|
44032
|
-
export { Account, AccountKeyScopes, Activities, Adapter, Addon, Advisor, Apps, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, BlockMode, BlockResourceType, Browser, BrowserPermission, BrowserTheme, BuildRuntime, CacheDatabase, CacheTarget, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseStatus, DatabaseType, Databases, DatabasesIndexType, DeploymentDownloadType, DeploymentStatus, DetectionFrameworkType, DetectionRuntimeType, DocumentsDB, DocumentsDBIndexType, DomainPurchaseStatus, DomainRegistrationType, DomainSuggestionType, DomainTransferStatusEnum, Domains, EmbeddingModel, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FirebaseMigrationResource, Flag, Framework, FunctionTemplateUseCase, Functions, Graphql, ID, ImageFormat, ImageGravity, IndexStatus, Locale, Manager, MessagePriority, MessageStatus, Messaging, MessagingProviderType, Migrations, Mongo, Mysql, NHostMigrationResource, Notifications, OAuth2GooglePrompt, OAuth2OidcPrompt, OAuthProvider, Oauth2, OnDuplicate, Operator, OrderBy, Organization, OrganizationKeyScopes, Organizations, PasswordHash, Permission, Platform, PlatformType, Postgresql, Presences, Project, ProjectAuthMethodId, ProjectEmailTemplateId, ProjectEmailTemplateLocale, ProjectKeyScopes, ProjectOAuth2GooglePrompt, ProjectOAuth2OidcPrompt, ProjectOAuthProviderId, ProjectPolicyId, ProjectProtocolId, ProjectSMTPSecure, ProjectServiceId, ProjectUsageRange, Projects, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, QuerySuggestionResource, Realtime, Region, RelationMutate, RelationshipType, Role, Runtime, ScheduleResourceType, SiteTemplateUseCase, Sites, SmtpEncryption, Status, StatusCode, Storage, SupabaseMigrationResource, TablesDB, TablesDBIndexType, Teams, TemplateReferenceType, Timezone, Tokens, Usage, UsageRange, Users, VCSDetectionType, VCSReferenceType, Vcs, VectorsDB, VectorsDBIndexType, Waf, WafRuleAction, Webhooks };
|
|
44351
|
+
export { Account, AccountKeyScopes, Activities, Adapter, Addon, Advisor, Affiliates, Apps, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, BlockMode, BlockResourceType, Browser, BrowserPermission, BrowserTheme, BuildRuntime, CacheDatabase, CacheTarget, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseStatus, DatabaseType, Databases, DatabasesIndexType, DeploymentDownloadType, DeploymentStatus, DetectionFrameworkType, DetectionRuntimeType, DocumentsDB, DocumentsDBIndexType, DomainPurchaseStatus, DomainRegistrationType, DomainSuggestionType, DomainTransferStatusEnum, Domains, EmbeddingModel, Embeddings, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FirebaseMigrationResource, Flag, Framework, FunctionTemplateUseCase, Functions, Graphql, ID, ImageFormat, ImageGravity, IndexStatus, InvalidationType, Locale, Manager, MessagePriority, MessageStatus, Messaging, MessagingProviderType, Migrations, Mongo, Mysql, NHostMigrationResource, Notifications, OAuth2GooglePrompt, OAuth2OidcPrompt, OAuthProvider, Oauth2, OnDuplicate, Operator, OrderBy, Organization, OrganizationKeyScopes, Organizations, PasswordHash, Permission, Platform, PlatformType, Postgresql, Presences, Project, ProjectAuthMethodId, ProjectEmailTemplateId, ProjectEmailTemplateLocale, ProjectKeyScopes, ProjectOAuth2GooglePrompt, ProjectOAuth2OidcPrompt, ProjectOAuthProviderId, ProjectPolicyId, ProjectProtocolId, ProjectSMTPSecure, ProjectServiceId, ProjectUsageRange, Projects, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, QuerySuggestionResource, Realtime, Region, RelationMutate, RelationshipType, Role, Runtime, ScheduleResourceType, SiteTemplateUseCase, Sites, SmtpEncryption, Status, StatusCode, Storage, SupabaseMigrationResource, TablesDB, TablesDBIndexType, Teams, TemplateReferenceType, Timezone, Tokens, Usage, UsageEventDimension, UsageGaugeDimension, UsageInterval, UsageOrderBy, UsageOrderDirection, UsageRange, Users, VCSDetectionType, VCSReferenceType, Vcs, VectorsDB, VectorsDBIndexType, Waf, WafRuleAction, Webhooks };
|
|
44033
44352
|
//# sourceMappingURL=sdk.js.map
|