@appwrite.io/console 15.7.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 +441 -73
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +440 -74
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +441 -73
- package/package.json +3 -3
- package/types/client.d.ts +11 -0
- package/types/enums/build-runtime.d.ts +1 -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/runtime.d.ts +1 -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 +304 -53
- package/types/services/account.d.ts +6 -6
- package/types/services/affiliates.d.ts +162 -0
- package/types/services/documents-db.d.ts +8 -2
- package/types/services/embeddings.d.ts +31 -0
- package/types/services/mongo.d.ts +1 -4
- package/types/services/mysql.d.ts +3 -6
- package/types/services/postgresql.d.ts +3 -6
- package/types/services/project.d.ts +10 -10
- package/types/services/proxy.d.ts +30 -0
- package/types/services/tables-db.d.ts +8 -2
- package/types/services/usage.d.ts +35 -30
- package/types/services/vectors-db.d.ts +8 -27
- package/types/services/waf.d.ts +30 -12
package/dist/cjs/sdk.js
CHANGED
|
@@ -626,6 +626,7 @@ class Client {
|
|
|
626
626
|
endpointRealtime: '',
|
|
627
627
|
project: '',
|
|
628
628
|
key: '',
|
|
629
|
+
organization: '',
|
|
629
630
|
jwt: '',
|
|
630
631
|
bearer: '',
|
|
631
632
|
locale: '',
|
|
@@ -647,8 +648,8 @@ class Client {
|
|
|
647
648
|
'x-sdk-name': 'Console',
|
|
648
649
|
'x-sdk-platform': 'console',
|
|
649
650
|
'x-sdk-language': 'web',
|
|
650
|
-
'x-sdk-version': '
|
|
651
|
-
'X-Appwrite-Response-Format': '1.9.
|
|
651
|
+
'x-sdk-version': '16.0.0',
|
|
652
|
+
'X-Appwrite-Response-Format': '1.9.6',
|
|
652
653
|
};
|
|
653
654
|
this.realtime = {
|
|
654
655
|
socket: undefined,
|
|
@@ -957,6 +958,20 @@ class Client {
|
|
|
957
958
|
this.config.key = value;
|
|
958
959
|
return this;
|
|
959
960
|
}
|
|
961
|
+
/**
|
|
962
|
+
* Set Organization
|
|
963
|
+
*
|
|
964
|
+
* Your organization ID
|
|
965
|
+
*
|
|
966
|
+
* @param value string
|
|
967
|
+
*
|
|
968
|
+
* @return {this}
|
|
969
|
+
*/
|
|
970
|
+
setOrganization(value) {
|
|
971
|
+
this.headers['X-Appwrite-Organization'] = value;
|
|
972
|
+
this.config.organization = value;
|
|
973
|
+
return this;
|
|
974
|
+
}
|
|
960
975
|
/**
|
|
961
976
|
* Set JWT
|
|
962
977
|
*
|
|
@@ -3908,6 +3923,200 @@ class Activities {
|
|
|
3908
3923
|
}
|
|
3909
3924
|
}
|
|
3910
3925
|
|
|
3926
|
+
class Affiliates {
|
|
3927
|
+
constructor(client) {
|
|
3928
|
+
this.client = client;
|
|
3929
|
+
}
|
|
3930
|
+
listLinks(paramsOrFirst) {
|
|
3931
|
+
let params;
|
|
3932
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
3933
|
+
params = (paramsOrFirst || {});
|
|
3934
|
+
}
|
|
3935
|
+
else {
|
|
3936
|
+
params = {
|
|
3937
|
+
queries: paramsOrFirst
|
|
3938
|
+
};
|
|
3939
|
+
}
|
|
3940
|
+
const queries = params.queries;
|
|
3941
|
+
const apiPath = '/affiliates/links';
|
|
3942
|
+
const payload = {};
|
|
3943
|
+
if (typeof queries !== 'undefined') {
|
|
3944
|
+
payload['queries'] = queries;
|
|
3945
|
+
}
|
|
3946
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
3947
|
+
const apiHeaders = {
|
|
3948
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
3949
|
+
'accept': 'application/json',
|
|
3950
|
+
};
|
|
3951
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
3952
|
+
}
|
|
3953
|
+
createLink(paramsOrFirst, ...rest) {
|
|
3954
|
+
let params;
|
|
3955
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
3956
|
+
params = (paramsOrFirst || {});
|
|
3957
|
+
}
|
|
3958
|
+
else {
|
|
3959
|
+
params = {
|
|
3960
|
+
linkId: paramsOrFirst,
|
|
3961
|
+
name: rest[0]
|
|
3962
|
+
};
|
|
3963
|
+
}
|
|
3964
|
+
const linkId = params.linkId;
|
|
3965
|
+
const name = params.name;
|
|
3966
|
+
if (typeof linkId === 'undefined') {
|
|
3967
|
+
throw new AppwriteException('Missing required parameter: "linkId"');
|
|
3968
|
+
}
|
|
3969
|
+
const apiPath = '/affiliates/links';
|
|
3970
|
+
const payload = {};
|
|
3971
|
+
if (typeof linkId !== 'undefined') {
|
|
3972
|
+
payload['linkId'] = linkId;
|
|
3973
|
+
}
|
|
3974
|
+
if (typeof name !== 'undefined') {
|
|
3975
|
+
payload['name'] = name;
|
|
3976
|
+
}
|
|
3977
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
3978
|
+
const apiHeaders = {
|
|
3979
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
3980
|
+
'content-type': 'application/json',
|
|
3981
|
+
'accept': 'application/json',
|
|
3982
|
+
};
|
|
3983
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
3984
|
+
}
|
|
3985
|
+
getLink(paramsOrFirst) {
|
|
3986
|
+
let params;
|
|
3987
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
3988
|
+
params = (paramsOrFirst || {});
|
|
3989
|
+
}
|
|
3990
|
+
else {
|
|
3991
|
+
params = {
|
|
3992
|
+
linkId: paramsOrFirst
|
|
3993
|
+
};
|
|
3994
|
+
}
|
|
3995
|
+
const linkId = params.linkId;
|
|
3996
|
+
if (typeof linkId === 'undefined') {
|
|
3997
|
+
throw new AppwriteException('Missing required parameter: "linkId"');
|
|
3998
|
+
}
|
|
3999
|
+
const apiPath = '/affiliates/links/{linkId}'.replace('{linkId}', encodeURIComponent(String(linkId)));
|
|
4000
|
+
const payload = {};
|
|
4001
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4002
|
+
const apiHeaders = {
|
|
4003
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4004
|
+
'accept': 'application/json',
|
|
4005
|
+
};
|
|
4006
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
4007
|
+
}
|
|
4008
|
+
deleteLink(paramsOrFirst) {
|
|
4009
|
+
let params;
|
|
4010
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
4011
|
+
params = (paramsOrFirst || {});
|
|
4012
|
+
}
|
|
4013
|
+
else {
|
|
4014
|
+
params = {
|
|
4015
|
+
linkId: paramsOrFirst
|
|
4016
|
+
};
|
|
4017
|
+
}
|
|
4018
|
+
const linkId = params.linkId;
|
|
4019
|
+
if (typeof linkId === 'undefined') {
|
|
4020
|
+
throw new AppwriteException('Missing required parameter: "linkId"');
|
|
4021
|
+
}
|
|
4022
|
+
const apiPath = '/affiliates/links/{linkId}'.replace('{linkId}', encodeURIComponent(String(linkId)));
|
|
4023
|
+
const payload = {};
|
|
4024
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4025
|
+
const apiHeaders = {
|
|
4026
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4027
|
+
'content-type': 'application/json',
|
|
4028
|
+
'accept': 'application/json',
|
|
4029
|
+
};
|
|
4030
|
+
return this.client.call('delete', uri, apiHeaders, payload);
|
|
4031
|
+
}
|
|
4032
|
+
listReferrals(paramsOrFirst) {
|
|
4033
|
+
let params;
|
|
4034
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
4035
|
+
params = (paramsOrFirst || {});
|
|
4036
|
+
}
|
|
4037
|
+
else {
|
|
4038
|
+
params = {
|
|
4039
|
+
queries: paramsOrFirst
|
|
4040
|
+
};
|
|
4041
|
+
}
|
|
4042
|
+
const queries = params.queries;
|
|
4043
|
+
const apiPath = '/affiliates/referrals';
|
|
4044
|
+
const payload = {};
|
|
4045
|
+
if (typeof queries !== 'undefined') {
|
|
4046
|
+
payload['queries'] = queries;
|
|
4047
|
+
}
|
|
4048
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4049
|
+
const apiHeaders = {
|
|
4050
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4051
|
+
'accept': 'application/json',
|
|
4052
|
+
};
|
|
4053
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
4054
|
+
}
|
|
4055
|
+
listRewards(paramsOrFirst) {
|
|
4056
|
+
let params;
|
|
4057
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
4058
|
+
params = (paramsOrFirst || {});
|
|
4059
|
+
}
|
|
4060
|
+
else {
|
|
4061
|
+
params = {
|
|
4062
|
+
queries: paramsOrFirst
|
|
4063
|
+
};
|
|
4064
|
+
}
|
|
4065
|
+
const queries = params.queries;
|
|
4066
|
+
const apiPath = '/affiliates/rewards';
|
|
4067
|
+
const payload = {};
|
|
4068
|
+
if (typeof queries !== 'undefined') {
|
|
4069
|
+
payload['queries'] = queries;
|
|
4070
|
+
}
|
|
4071
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4072
|
+
const apiHeaders = {
|
|
4073
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4074
|
+
'accept': 'application/json',
|
|
4075
|
+
};
|
|
4076
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
4077
|
+
}
|
|
4078
|
+
updateReward(paramsOrFirst, ...rest) {
|
|
4079
|
+
let params;
|
|
4080
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
4081
|
+
params = (paramsOrFirst || {});
|
|
4082
|
+
}
|
|
4083
|
+
else {
|
|
4084
|
+
params = {
|
|
4085
|
+
rewardId: paramsOrFirst,
|
|
4086
|
+
status: rest[0],
|
|
4087
|
+
organizationId: rest[1]
|
|
4088
|
+
};
|
|
4089
|
+
}
|
|
4090
|
+
const rewardId = params.rewardId;
|
|
4091
|
+
const status = params.status;
|
|
4092
|
+
const organizationId = params.organizationId;
|
|
4093
|
+
if (typeof rewardId === 'undefined') {
|
|
4094
|
+
throw new AppwriteException('Missing required parameter: "rewardId"');
|
|
4095
|
+
}
|
|
4096
|
+
if (typeof status === 'undefined') {
|
|
4097
|
+
throw new AppwriteException('Missing required parameter: "status"');
|
|
4098
|
+
}
|
|
4099
|
+
if (typeof organizationId === 'undefined') {
|
|
4100
|
+
throw new AppwriteException('Missing required parameter: "organizationId"');
|
|
4101
|
+
}
|
|
4102
|
+
const apiPath = '/affiliates/rewards/{rewardId}'.replace('{rewardId}', encodeURIComponent(String(rewardId)));
|
|
4103
|
+
const payload = {};
|
|
4104
|
+
if (typeof status !== 'undefined') {
|
|
4105
|
+
payload['status'] = status;
|
|
4106
|
+
}
|
|
4107
|
+
if (typeof organizationId !== 'undefined') {
|
|
4108
|
+
payload['organizationId'] = organizationId;
|
|
4109
|
+
}
|
|
4110
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
4111
|
+
const apiHeaders = {
|
|
4112
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
4113
|
+
'content-type': 'application/json',
|
|
4114
|
+
'accept': 'application/json',
|
|
4115
|
+
};
|
|
4116
|
+
return this.client.call('patch', uri, apiHeaders, payload);
|
|
4117
|
+
}
|
|
4118
|
+
}
|
|
4119
|
+
|
|
3911
4120
|
class Apps {
|
|
3912
4121
|
constructor(client) {
|
|
3913
4122
|
this.client = client;
|
|
@@ -9517,7 +9726,8 @@ class DocumentsDB {
|
|
|
9517
9726
|
name: rest[0],
|
|
9518
9727
|
enabled: rest[1],
|
|
9519
9728
|
specification: rest[2],
|
|
9520
|
-
replicas: rest[3]
|
|
9729
|
+
replicas: rest[3],
|
|
9730
|
+
syncMode: rest[4]
|
|
9521
9731
|
};
|
|
9522
9732
|
}
|
|
9523
9733
|
const databaseId = params.databaseId;
|
|
@@ -9525,6 +9735,7 @@ class DocumentsDB {
|
|
|
9525
9735
|
const enabled = params.enabled;
|
|
9526
9736
|
const specification = params.specification;
|
|
9527
9737
|
const replicas = params.replicas;
|
|
9738
|
+
const syncMode = params.syncMode;
|
|
9528
9739
|
if (typeof databaseId === 'undefined') {
|
|
9529
9740
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
9530
9741
|
}
|
|
@@ -9548,6 +9759,9 @@ class DocumentsDB {
|
|
|
9548
9759
|
if (typeof replicas !== 'undefined') {
|
|
9549
9760
|
payload['replicas'] = replicas;
|
|
9550
9761
|
}
|
|
9762
|
+
if (typeof syncMode !== 'undefined') {
|
|
9763
|
+
payload['syncMode'] = syncMode;
|
|
9764
|
+
}
|
|
9551
9765
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
9552
9766
|
const apiHeaders = {
|
|
9553
9767
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -9733,7 +9947,8 @@ class DocumentsDB {
|
|
|
9733
9947
|
name: rest[0],
|
|
9734
9948
|
enabled: rest[1],
|
|
9735
9949
|
specification: rest[2],
|
|
9736
|
-
replicas: rest[3]
|
|
9950
|
+
replicas: rest[3],
|
|
9951
|
+
syncMode: rest[4]
|
|
9737
9952
|
};
|
|
9738
9953
|
}
|
|
9739
9954
|
const databaseId = params.databaseId;
|
|
@@ -9741,6 +9956,7 @@ class DocumentsDB {
|
|
|
9741
9956
|
const enabled = params.enabled;
|
|
9742
9957
|
const specification = params.specification;
|
|
9743
9958
|
const replicas = params.replicas;
|
|
9959
|
+
const syncMode = params.syncMode;
|
|
9744
9960
|
if (typeof databaseId === 'undefined') {
|
|
9745
9961
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
9746
9962
|
}
|
|
@@ -9761,6 +9977,9 @@ class DocumentsDB {
|
|
|
9761
9977
|
if (typeof replicas !== 'undefined') {
|
|
9762
9978
|
payload['replicas'] = replicas;
|
|
9763
9979
|
}
|
|
9980
|
+
if (typeof syncMode !== 'undefined') {
|
|
9981
|
+
payload['syncMode'] = syncMode;
|
|
9982
|
+
}
|
|
9764
9983
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
9765
9984
|
const apiHeaders = {
|
|
9766
9985
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -13031,6 +13250,44 @@ class Domains {
|
|
|
13031
13250
|
}
|
|
13032
13251
|
}
|
|
13033
13252
|
|
|
13253
|
+
class Embeddings {
|
|
13254
|
+
constructor(client) {
|
|
13255
|
+
this.client = client;
|
|
13256
|
+
}
|
|
13257
|
+
createTextEmbeddings(paramsOrFirst, ...rest) {
|
|
13258
|
+
let params;
|
|
13259
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
13260
|
+
params = (paramsOrFirst || {});
|
|
13261
|
+
}
|
|
13262
|
+
else {
|
|
13263
|
+
params = {
|
|
13264
|
+
texts: paramsOrFirst,
|
|
13265
|
+
model: rest[0]
|
|
13266
|
+
};
|
|
13267
|
+
}
|
|
13268
|
+
const texts = params.texts;
|
|
13269
|
+
const model = params.model;
|
|
13270
|
+
if (typeof texts === 'undefined') {
|
|
13271
|
+
throw new AppwriteException('Missing required parameter: "texts"');
|
|
13272
|
+
}
|
|
13273
|
+
const apiPath = '/embeddings/text';
|
|
13274
|
+
const payload = {};
|
|
13275
|
+
if (typeof texts !== 'undefined') {
|
|
13276
|
+
payload['texts'] = texts;
|
|
13277
|
+
}
|
|
13278
|
+
if (typeof model !== 'undefined') {
|
|
13279
|
+
payload['model'] = model;
|
|
13280
|
+
}
|
|
13281
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
13282
|
+
const apiHeaders = {
|
|
13283
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
13284
|
+
'content-type': 'application/json',
|
|
13285
|
+
'accept': 'application/json',
|
|
13286
|
+
};
|
|
13287
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
13288
|
+
}
|
|
13289
|
+
}
|
|
13290
|
+
|
|
13034
13291
|
class Functions {
|
|
13035
13292
|
constructor(client) {
|
|
13036
13293
|
this.client = client;
|
|
@@ -18481,8 +18738,7 @@ class Mongo {
|
|
|
18481
18738
|
pitrRetentionDays: rest[10],
|
|
18482
18739
|
storageAutoscaling: rest[11],
|
|
18483
18740
|
storageAutoscalingThresholdPercent: rest[12],
|
|
18484
|
-
storageAutoscalingMaxGb: rest[13]
|
|
18485
|
-
api: rest[14]
|
|
18741
|
+
storageAutoscalingMaxGb: rest[13]
|
|
18486
18742
|
};
|
|
18487
18743
|
}
|
|
18488
18744
|
const databaseId = params.databaseId;
|
|
@@ -18500,7 +18756,6 @@ class Mongo {
|
|
|
18500
18756
|
const storageAutoscaling = params.storageAutoscaling;
|
|
18501
18757
|
const storageAutoscalingThresholdPercent = params.storageAutoscalingThresholdPercent;
|
|
18502
18758
|
const storageAutoscalingMaxGb = params.storageAutoscalingMaxGb;
|
|
18503
|
-
const api = params.api;
|
|
18504
18759
|
if (typeof databaseId === 'undefined') {
|
|
18505
18760
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
18506
18761
|
}
|
|
@@ -18554,9 +18809,6 @@ class Mongo {
|
|
|
18554
18809
|
if (typeof storageAutoscalingMaxGb !== 'undefined') {
|
|
18555
18810
|
payload['storageAutoscalingMaxGb'] = storageAutoscalingMaxGb;
|
|
18556
18811
|
}
|
|
18557
|
-
if (typeof api !== 'undefined') {
|
|
18558
|
-
payload['api'] = api;
|
|
18559
|
-
}
|
|
18560
18812
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
18561
18813
|
const apiHeaders = {
|
|
18562
18814
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -19662,8 +19914,7 @@ class Mysql {
|
|
|
19662
19914
|
pitrRetentionDays: rest[10],
|
|
19663
19915
|
storageAutoscaling: rest[11],
|
|
19664
19916
|
storageAutoscalingThresholdPercent: rest[12],
|
|
19665
|
-
storageAutoscalingMaxGb: rest[13]
|
|
19666
|
-
api: rest[14]
|
|
19917
|
+
storageAutoscalingMaxGb: rest[13]
|
|
19667
19918
|
};
|
|
19668
19919
|
}
|
|
19669
19920
|
const databaseId = params.databaseId;
|
|
@@ -19681,7 +19932,6 @@ class Mysql {
|
|
|
19681
19932
|
const storageAutoscaling = params.storageAutoscaling;
|
|
19682
19933
|
const storageAutoscalingThresholdPercent = params.storageAutoscalingThresholdPercent;
|
|
19683
19934
|
const storageAutoscalingMaxGb = params.storageAutoscalingMaxGb;
|
|
19684
|
-
const api = params.api;
|
|
19685
19935
|
if (typeof databaseId === 'undefined') {
|
|
19686
19936
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
19687
19937
|
}
|
|
@@ -19735,9 +19985,6 @@ class Mysql {
|
|
|
19735
19985
|
if (typeof storageAutoscalingMaxGb !== 'undefined') {
|
|
19736
19986
|
payload['storageAutoscalingMaxGb'] = storageAutoscalingMaxGb;
|
|
19737
19987
|
}
|
|
19738
|
-
if (typeof api !== 'undefined') {
|
|
19739
|
-
payload['api'] = api;
|
|
19740
|
-
}
|
|
19741
19988
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
19742
19989
|
const apiHeaders = {
|
|
19743
19990
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -23851,8 +24098,7 @@ class Postgresql {
|
|
|
23851
24098
|
pitrRetentionDays: rest[10],
|
|
23852
24099
|
storageAutoscaling: rest[11],
|
|
23853
24100
|
storageAutoscalingThresholdPercent: rest[12],
|
|
23854
|
-
storageAutoscalingMaxGb: rest[13]
|
|
23855
|
-
api: rest[14]
|
|
24101
|
+
storageAutoscalingMaxGb: rest[13]
|
|
23856
24102
|
};
|
|
23857
24103
|
}
|
|
23858
24104
|
const databaseId = params.databaseId;
|
|
@@ -23870,7 +24116,6 @@ class Postgresql {
|
|
|
23870
24116
|
const storageAutoscaling = params.storageAutoscaling;
|
|
23871
24117
|
const storageAutoscalingThresholdPercent = params.storageAutoscalingThresholdPercent;
|
|
23872
24118
|
const storageAutoscalingMaxGb = params.storageAutoscalingMaxGb;
|
|
23873
|
-
const api = params.api;
|
|
23874
24119
|
if (typeof databaseId === 'undefined') {
|
|
23875
24120
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
23876
24121
|
}
|
|
@@ -23924,9 +24169,6 @@ class Postgresql {
|
|
|
23924
24169
|
if (typeof storageAutoscalingMaxGb !== 'undefined') {
|
|
23925
24170
|
payload['storageAutoscalingMaxGb'] = storageAutoscalingMaxGb;
|
|
23926
24171
|
}
|
|
23927
|
-
if (typeof api !== 'undefined') {
|
|
23928
|
-
payload['api'] = api;
|
|
23929
|
-
}
|
|
23930
24172
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
23931
24173
|
const apiHeaders = {
|
|
23932
24174
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -29541,6 +29783,46 @@ class Proxy {
|
|
|
29541
29783
|
constructor(client) {
|
|
29542
29784
|
this.client = client;
|
|
29543
29785
|
}
|
|
29786
|
+
createInvalidation(paramsOrFirst, ...rest) {
|
|
29787
|
+
let params;
|
|
29788
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
29789
|
+
params = (paramsOrFirst || {});
|
|
29790
|
+
}
|
|
29791
|
+
else {
|
|
29792
|
+
params = {
|
|
29793
|
+
domain: paramsOrFirst,
|
|
29794
|
+
type: rest[0],
|
|
29795
|
+
reference: rest[1]
|
|
29796
|
+
};
|
|
29797
|
+
}
|
|
29798
|
+
const domain = params.domain;
|
|
29799
|
+
const type = params.type;
|
|
29800
|
+
const reference = params.reference;
|
|
29801
|
+
if (typeof domain === 'undefined') {
|
|
29802
|
+
throw new AppwriteException('Missing required parameter: "domain"');
|
|
29803
|
+
}
|
|
29804
|
+
if (typeof type === 'undefined') {
|
|
29805
|
+
throw new AppwriteException('Missing required parameter: "type"');
|
|
29806
|
+
}
|
|
29807
|
+
const apiPath = '/proxy/invalidations';
|
|
29808
|
+
const payload = {};
|
|
29809
|
+
if (typeof domain !== 'undefined') {
|
|
29810
|
+
payload['domain'] = domain;
|
|
29811
|
+
}
|
|
29812
|
+
if (typeof type !== 'undefined') {
|
|
29813
|
+
payload['type'] = type;
|
|
29814
|
+
}
|
|
29815
|
+
if (typeof reference !== 'undefined') {
|
|
29816
|
+
payload['reference'] = reference;
|
|
29817
|
+
}
|
|
29818
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
29819
|
+
const apiHeaders = {
|
|
29820
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
29821
|
+
'content-type': 'application/json',
|
|
29822
|
+
'accept': 'application/json',
|
|
29823
|
+
};
|
|
29824
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
29825
|
+
}
|
|
29544
29826
|
listRules(paramsOrFirst, ...rest) {
|
|
29545
29827
|
let params;
|
|
29546
29828
|
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
@@ -31731,7 +32013,8 @@ class TablesDB {
|
|
|
31731
32013
|
name: rest[0],
|
|
31732
32014
|
enabled: rest[1],
|
|
31733
32015
|
specification: rest[2],
|
|
31734
|
-
replicas: rest[3]
|
|
32016
|
+
replicas: rest[3],
|
|
32017
|
+
syncMode: rest[4]
|
|
31735
32018
|
};
|
|
31736
32019
|
}
|
|
31737
32020
|
const databaseId = params.databaseId;
|
|
@@ -31739,6 +32022,7 @@ class TablesDB {
|
|
|
31739
32022
|
const enabled = params.enabled;
|
|
31740
32023
|
const specification = params.specification;
|
|
31741
32024
|
const replicas = params.replicas;
|
|
32025
|
+
const syncMode = params.syncMode;
|
|
31742
32026
|
if (typeof databaseId === 'undefined') {
|
|
31743
32027
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
31744
32028
|
}
|
|
@@ -31762,6 +32046,9 @@ class TablesDB {
|
|
|
31762
32046
|
if (typeof replicas !== 'undefined') {
|
|
31763
32047
|
payload['replicas'] = replicas;
|
|
31764
32048
|
}
|
|
32049
|
+
if (typeof syncMode !== 'undefined') {
|
|
32050
|
+
payload['syncMode'] = syncMode;
|
|
32051
|
+
}
|
|
31765
32052
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
31766
32053
|
const apiHeaders = {
|
|
31767
32054
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -31976,7 +32263,8 @@ class TablesDB {
|
|
|
31976
32263
|
name: rest[0],
|
|
31977
32264
|
enabled: rest[1],
|
|
31978
32265
|
specification: rest[2],
|
|
31979
|
-
replicas: rest[3]
|
|
32266
|
+
replicas: rest[3],
|
|
32267
|
+
syncMode: rest[4]
|
|
31980
32268
|
};
|
|
31981
32269
|
}
|
|
31982
32270
|
const databaseId = params.databaseId;
|
|
@@ -31984,6 +32272,7 @@ class TablesDB {
|
|
|
31984
32272
|
const enabled = params.enabled;
|
|
31985
32273
|
const specification = params.specification;
|
|
31986
32274
|
const replicas = params.replicas;
|
|
32275
|
+
const syncMode = params.syncMode;
|
|
31987
32276
|
if (typeof databaseId === 'undefined') {
|
|
31988
32277
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
31989
32278
|
}
|
|
@@ -32001,6 +32290,9 @@ class TablesDB {
|
|
|
32001
32290
|
if (typeof replicas !== 'undefined') {
|
|
32002
32291
|
payload['replicas'] = replicas;
|
|
32003
32292
|
}
|
|
32293
|
+
if (typeof syncMode !== 'undefined') {
|
|
32294
|
+
payload['syncMode'] = syncMode;
|
|
32295
|
+
}
|
|
32004
32296
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
32005
32297
|
const apiHeaders = {
|
|
32006
32298
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -38455,7 +38747,8 @@ class VectorsDB {
|
|
|
38455
38747
|
name: rest[0],
|
|
38456
38748
|
enabled: rest[1],
|
|
38457
38749
|
specification: rest[2],
|
|
38458
|
-
replicas: rest[3]
|
|
38750
|
+
replicas: rest[3],
|
|
38751
|
+
syncMode: rest[4]
|
|
38459
38752
|
};
|
|
38460
38753
|
}
|
|
38461
38754
|
const databaseId = params.databaseId;
|
|
@@ -38463,6 +38756,7 @@ class VectorsDB {
|
|
|
38463
38756
|
const enabled = params.enabled;
|
|
38464
38757
|
const specification = params.specification;
|
|
38465
38758
|
const replicas = params.replicas;
|
|
38759
|
+
const syncMode = params.syncMode;
|
|
38466
38760
|
if (typeof databaseId === 'undefined') {
|
|
38467
38761
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
38468
38762
|
}
|
|
@@ -38486,37 +38780,8 @@ class VectorsDB {
|
|
|
38486
38780
|
if (typeof replicas !== 'undefined') {
|
|
38487
38781
|
payload['replicas'] = replicas;
|
|
38488
38782
|
}
|
|
38489
|
-
|
|
38490
|
-
|
|
38491
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
38492
|
-
'content-type': 'application/json',
|
|
38493
|
-
'accept': 'application/json',
|
|
38494
|
-
};
|
|
38495
|
-
return this.client.call('post', uri, apiHeaders, payload);
|
|
38496
|
-
}
|
|
38497
|
-
createTextEmbeddings(paramsOrFirst, ...rest) {
|
|
38498
|
-
let params;
|
|
38499
|
-
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
38500
|
-
params = (paramsOrFirst || {});
|
|
38501
|
-
}
|
|
38502
|
-
else {
|
|
38503
|
-
params = {
|
|
38504
|
-
texts: paramsOrFirst,
|
|
38505
|
-
model: rest[0]
|
|
38506
|
-
};
|
|
38507
|
-
}
|
|
38508
|
-
const texts = params.texts;
|
|
38509
|
-
const model = params.model;
|
|
38510
|
-
if (typeof texts === 'undefined') {
|
|
38511
|
-
throw new AppwriteException('Missing required parameter: "texts"');
|
|
38512
|
-
}
|
|
38513
|
-
const apiPath = '/vectorsdb/embeddings/text';
|
|
38514
|
-
const payload = {};
|
|
38515
|
-
if (typeof texts !== 'undefined') {
|
|
38516
|
-
payload['texts'] = texts;
|
|
38517
|
-
}
|
|
38518
|
-
if (typeof model !== 'undefined') {
|
|
38519
|
-
payload['model'] = model;
|
|
38783
|
+
if (typeof syncMode !== 'undefined') {
|
|
38784
|
+
payload['syncMode'] = syncMode;
|
|
38520
38785
|
}
|
|
38521
38786
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
38522
38787
|
const apiHeaders = {
|
|
@@ -38732,7 +38997,8 @@ class VectorsDB {
|
|
|
38732
38997
|
name: rest[0],
|
|
38733
38998
|
enabled: rest[1],
|
|
38734
38999
|
specification: rest[2],
|
|
38735
|
-
replicas: rest[3]
|
|
39000
|
+
replicas: rest[3],
|
|
39001
|
+
syncMode: rest[4]
|
|
38736
39002
|
};
|
|
38737
39003
|
}
|
|
38738
39004
|
const databaseId = params.databaseId;
|
|
@@ -38740,6 +39006,7 @@ class VectorsDB {
|
|
|
38740
39006
|
const enabled = params.enabled;
|
|
38741
39007
|
const specification = params.specification;
|
|
38742
39008
|
const replicas = params.replicas;
|
|
39009
|
+
const syncMode = params.syncMode;
|
|
38743
39010
|
if (typeof databaseId === 'undefined') {
|
|
38744
39011
|
throw new AppwriteException('Missing required parameter: "databaseId"');
|
|
38745
39012
|
}
|
|
@@ -38760,6 +39027,9 @@ class VectorsDB {
|
|
|
38760
39027
|
if (typeof replicas !== 'undefined') {
|
|
38761
39028
|
payload['replicas'] = replicas;
|
|
38762
39029
|
}
|
|
39030
|
+
if (typeof syncMode !== 'undefined') {
|
|
39031
|
+
payload['syncMode'] = syncMode;
|
|
39032
|
+
}
|
|
38763
39033
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
38764
39034
|
const apiHeaders = {
|
|
38765
39035
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -39954,7 +40224,9 @@ class Waf {
|
|
|
39954
40224
|
challengeType: rest[4],
|
|
39955
40225
|
priority: rest[5],
|
|
39956
40226
|
enabled: rest[6],
|
|
39957
|
-
conditions: rest[7]
|
|
40227
|
+
conditions: rest[7],
|
|
40228
|
+
difficulty: rest[8],
|
|
40229
|
+
ttl: rest[9]
|
|
39958
40230
|
};
|
|
39959
40231
|
}
|
|
39960
40232
|
const ruleId = params.ruleId;
|
|
@@ -39966,6 +40238,8 @@ class Waf {
|
|
|
39966
40238
|
const priority = params.priority;
|
|
39967
40239
|
const enabled = params.enabled;
|
|
39968
40240
|
const conditions = params.conditions;
|
|
40241
|
+
const difficulty = params.difficulty;
|
|
40242
|
+
const ttl = params.ttl;
|
|
39969
40243
|
if (typeof ruleId === 'undefined') {
|
|
39970
40244
|
throw new AppwriteException('Missing required parameter: "ruleId"');
|
|
39971
40245
|
}
|
|
@@ -40004,6 +40278,12 @@ class Waf {
|
|
|
40004
40278
|
if (typeof conditions !== 'undefined') {
|
|
40005
40279
|
payload['conditions'] = conditions;
|
|
40006
40280
|
}
|
|
40281
|
+
if (typeof difficulty !== 'undefined') {
|
|
40282
|
+
payload['difficulty'] = difficulty;
|
|
40283
|
+
}
|
|
40284
|
+
if (typeof ttl !== 'undefined') {
|
|
40285
|
+
payload['ttl'] = ttl;
|
|
40286
|
+
}
|
|
40007
40287
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
40008
40288
|
const apiHeaders = {
|
|
40009
40289
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -40027,7 +40307,9 @@ class Waf {
|
|
|
40027
40307
|
challengeType: rest[4],
|
|
40028
40308
|
priority: rest[5],
|
|
40029
40309
|
enabled: rest[6],
|
|
40030
|
-
conditions: rest[7]
|
|
40310
|
+
conditions: rest[7],
|
|
40311
|
+
difficulty: rest[8],
|
|
40312
|
+
ttl: rest[9]
|
|
40031
40313
|
};
|
|
40032
40314
|
}
|
|
40033
40315
|
const ruleId = params.ruleId;
|
|
@@ -40039,6 +40321,8 @@ class Waf {
|
|
|
40039
40321
|
const priority = params.priority;
|
|
40040
40322
|
const enabled = params.enabled;
|
|
40041
40323
|
const conditions = params.conditions;
|
|
40324
|
+
const difficulty = params.difficulty;
|
|
40325
|
+
const ttl = params.ttl;
|
|
40042
40326
|
if (typeof ruleId === 'undefined') {
|
|
40043
40327
|
throw new AppwriteException('Missing required parameter: "ruleId"');
|
|
40044
40328
|
}
|
|
@@ -40068,6 +40352,12 @@ class Waf {
|
|
|
40068
40352
|
if (typeof conditions !== 'undefined') {
|
|
40069
40353
|
payload['conditions'] = conditions;
|
|
40070
40354
|
}
|
|
40355
|
+
if (typeof difficulty !== 'undefined') {
|
|
40356
|
+
payload['difficulty'] = difficulty;
|
|
40357
|
+
}
|
|
40358
|
+
if (typeof ttl !== 'undefined') {
|
|
40359
|
+
payload['ttl'] = ttl;
|
|
40360
|
+
}
|
|
40071
40361
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
40072
40362
|
const apiHeaders = {
|
|
40073
40363
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -40217,9 +40507,10 @@ class Waf {
|
|
|
40217
40507
|
interval: rest[3],
|
|
40218
40508
|
resourceId: rest[4],
|
|
40219
40509
|
description: rest[5],
|
|
40220
|
-
|
|
40221
|
-
|
|
40222
|
-
|
|
40510
|
+
key: rest[6],
|
|
40511
|
+
priority: rest[7],
|
|
40512
|
+
enabled: rest[8],
|
|
40513
|
+
conditions: rest[9]
|
|
40223
40514
|
};
|
|
40224
40515
|
}
|
|
40225
40516
|
const ruleId = params.ruleId;
|
|
@@ -40229,6 +40520,7 @@ class Waf {
|
|
|
40229
40520
|
const interval = params.interval;
|
|
40230
40521
|
const resourceId = params.resourceId;
|
|
40231
40522
|
const description = params.description;
|
|
40523
|
+
const key = params.key;
|
|
40232
40524
|
const priority = params.priority;
|
|
40233
40525
|
const enabled = params.enabled;
|
|
40234
40526
|
const conditions = params.conditions;
|
|
@@ -40270,6 +40562,9 @@ class Waf {
|
|
|
40270
40562
|
if (typeof interval !== 'undefined') {
|
|
40271
40563
|
payload['interval'] = interval;
|
|
40272
40564
|
}
|
|
40565
|
+
if (typeof key !== 'undefined') {
|
|
40566
|
+
payload['key'] = key;
|
|
40567
|
+
}
|
|
40273
40568
|
if (typeof priority !== 'undefined') {
|
|
40274
40569
|
payload['priority'] = priority;
|
|
40275
40570
|
}
|
|
@@ -40301,9 +40596,10 @@ class Waf {
|
|
|
40301
40596
|
description: rest[3],
|
|
40302
40597
|
limit: rest[4],
|
|
40303
40598
|
interval: rest[5],
|
|
40304
|
-
|
|
40305
|
-
|
|
40306
|
-
|
|
40599
|
+
key: rest[6],
|
|
40600
|
+
priority: rest[7],
|
|
40601
|
+
enabled: rest[8],
|
|
40602
|
+
conditions: rest[9]
|
|
40307
40603
|
};
|
|
40308
40604
|
}
|
|
40309
40605
|
const ruleId = params.ruleId;
|
|
@@ -40313,6 +40609,7 @@ class Waf {
|
|
|
40313
40609
|
const description = params.description;
|
|
40314
40610
|
const limit = params.limit;
|
|
40315
40611
|
const interval = params.interval;
|
|
40612
|
+
const key = params.key;
|
|
40316
40613
|
const priority = params.priority;
|
|
40317
40614
|
const enabled = params.enabled;
|
|
40318
40615
|
const conditions = params.conditions;
|
|
@@ -40339,6 +40636,9 @@ class Waf {
|
|
|
40339
40636
|
if (typeof interval !== 'undefined') {
|
|
40340
40637
|
payload['interval'] = interval;
|
|
40341
40638
|
}
|
|
40639
|
+
if (typeof key !== 'undefined') {
|
|
40640
|
+
payload['key'] = key;
|
|
40641
|
+
}
|
|
40342
40642
|
if (typeof priority !== 'undefined') {
|
|
40343
40643
|
payload['priority'] = priority;
|
|
40344
40644
|
}
|
|
@@ -42785,6 +43085,9 @@ exports.QuerySuggestionResource = void 0;
|
|
|
42785
43085
|
QuerySuggestionResource["ShInstallations"] = "sh_installations";
|
|
42786
43086
|
QuerySuggestionResource["MigrationDatabases"] = "migrationdatabases";
|
|
42787
43087
|
QuerySuggestionResource["MigrationProjects"] = "migrationprojects";
|
|
43088
|
+
QuerySuggestionResource["AffiliateLinks"] = "affiliatelinks";
|
|
43089
|
+
QuerySuggestionResource["AffiliateReferrals"] = "affiliatereferrals";
|
|
43090
|
+
QuerySuggestionResource["AffiliateRewards"] = "affiliaterewards";
|
|
42788
43091
|
QuerySuggestionResource["Apps"] = "apps";
|
|
42789
43092
|
QuerySuggestionResource["AppSecrets"] = "appsecrets";
|
|
42790
43093
|
QuerySuggestionResource["AppInstallations"] = "appinstallations";
|
|
@@ -43009,6 +43312,14 @@ exports.DomainSuggestionType = void 0;
|
|
|
43009
43312
|
DomainSuggestionType["Suggestion"] = "suggestion";
|
|
43010
43313
|
})(exports.DomainSuggestionType || (exports.DomainSuggestionType = {}));
|
|
43011
43314
|
|
|
43315
|
+
exports.EmbeddingModel = void 0;
|
|
43316
|
+
(function (EmbeddingModel) {
|
|
43317
|
+
EmbeddingModel["Nomicembedtext"] = "nomic-embed-text";
|
|
43318
|
+
EmbeddingModel["Embeddinggemma"] = "embedding-gemma";
|
|
43319
|
+
EmbeddingModel["Allminilm"] = "all-minilm";
|
|
43320
|
+
EmbeddingModel["Bgesmall"] = "bge-small";
|
|
43321
|
+
})(exports.EmbeddingModel || (exports.EmbeddingModel = {}));
|
|
43322
|
+
|
|
43012
43323
|
exports.Runtime = void 0;
|
|
43013
43324
|
(function (Runtime) {
|
|
43014
43325
|
Runtime["Node145"] = "node-14.5";
|
|
@@ -43021,6 +43332,7 @@ exports.Runtime = void 0;
|
|
|
43021
43332
|
Runtime["Node23"] = "node-23";
|
|
43022
43333
|
Runtime["Node24"] = "node-24";
|
|
43023
43334
|
Runtime["Node25"] = "node-25";
|
|
43335
|
+
Runtime["Node26"] = "node-26";
|
|
43024
43336
|
Runtime["Php80"] = "php-8.0";
|
|
43025
43337
|
Runtime["Php81"] = "php-8.1";
|
|
43026
43338
|
Runtime["Php82"] = "php-8.2";
|
|
@@ -43204,6 +43516,7 @@ exports.ProjectKeyScopes = void 0;
|
|
|
43204
43516
|
ProjectKeyScopes["WafRulesRead"] = "wafRules.read";
|
|
43205
43517
|
ProjectKeyScopes["WafRulesWrite"] = "wafRules.write";
|
|
43206
43518
|
ProjectKeyScopes["EventsRead"] = "events.read";
|
|
43519
|
+
ProjectKeyScopes["ProxyInvalidationsWrite"] = "proxy.invalidations.write";
|
|
43207
43520
|
ProjectKeyScopes["AppsRead"] = "apps.read";
|
|
43208
43521
|
ProjectKeyScopes["AppsWrite"] = "apps.write";
|
|
43209
43522
|
ProjectKeyScopes["Oauth2Read"] = "oauth2.read";
|
|
@@ -43589,6 +43902,13 @@ exports.Status = void 0;
|
|
|
43589
43902
|
Status["Active"] = "active";
|
|
43590
43903
|
})(exports.Status || (exports.Status = {}));
|
|
43591
43904
|
|
|
43905
|
+
exports.InvalidationType = void 0;
|
|
43906
|
+
(function (InvalidationType) {
|
|
43907
|
+
InvalidationType["Tag"] = "tag";
|
|
43908
|
+
InvalidationType["Path"] = "path";
|
|
43909
|
+
InvalidationType["All"] = "all";
|
|
43910
|
+
})(exports.InvalidationType || (exports.InvalidationType = {}));
|
|
43911
|
+
|
|
43592
43912
|
exports.StatusCode = void 0;
|
|
43593
43913
|
(function (StatusCode) {
|
|
43594
43914
|
StatusCode["MovedPermanently"] = "301";
|
|
@@ -43634,6 +43954,7 @@ exports.BuildRuntime = void 0;
|
|
|
43634
43954
|
BuildRuntime["Node23"] = "node-23";
|
|
43635
43955
|
BuildRuntime["Node24"] = "node-24";
|
|
43636
43956
|
BuildRuntime["Node25"] = "node-25";
|
|
43957
|
+
BuildRuntime["Node26"] = "node-26";
|
|
43637
43958
|
BuildRuntime["Php80"] = "php-8.0";
|
|
43638
43959
|
BuildRuntime["Php81"] = "php-8.1";
|
|
43639
43960
|
BuildRuntime["Php82"] = "php-8.2";
|
|
@@ -43764,6 +44085,59 @@ exports.TablesDBIndexType = void 0;
|
|
|
43764
44085
|
TablesDBIndexType["Spatial"] = "spatial";
|
|
43765
44086
|
})(exports.TablesDBIndexType || (exports.TablesDBIndexType = {}));
|
|
43766
44087
|
|
|
44088
|
+
exports.UsageInterval = void 0;
|
|
44089
|
+
(function (UsageInterval) {
|
|
44090
|
+
UsageInterval["OneMinute"] = "1m";
|
|
44091
|
+
UsageInterval["FifteenMinutes"] = "15m";
|
|
44092
|
+
UsageInterval["ThirtyMinutes"] = "30m";
|
|
44093
|
+
UsageInterval["OneHour"] = "1h";
|
|
44094
|
+
UsageInterval["OneDay"] = "1d";
|
|
44095
|
+
})(exports.UsageInterval || (exports.UsageInterval = {}));
|
|
44096
|
+
|
|
44097
|
+
exports.UsageEventDimension = void 0;
|
|
44098
|
+
(function (UsageEventDimension) {
|
|
44099
|
+
UsageEventDimension["Path"] = "path";
|
|
44100
|
+
UsageEventDimension["Method"] = "method";
|
|
44101
|
+
UsageEventDimension["Status"] = "status";
|
|
44102
|
+
UsageEventDimension["Service"] = "service";
|
|
44103
|
+
UsageEventDimension["ResourceType"] = "resourceType";
|
|
44104
|
+
UsageEventDimension["Country"] = "country";
|
|
44105
|
+
UsageEventDimension["ContinentCode"] = "continentCode";
|
|
44106
|
+
UsageEventDimension["City"] = "city";
|
|
44107
|
+
UsageEventDimension["Region"] = "region";
|
|
44108
|
+
UsageEventDimension["Hostname"] = "hostname";
|
|
44109
|
+
UsageEventDimension["Ip"] = "ip";
|
|
44110
|
+
UsageEventDimension["OsName"] = "osName";
|
|
44111
|
+
UsageEventDimension["ClientType"] = "clientType";
|
|
44112
|
+
UsageEventDimension["ClientName"] = "clientName";
|
|
44113
|
+
UsageEventDimension["DeviceName"] = "deviceName";
|
|
44114
|
+
UsageEventDimension["Sdk"] = "sdk";
|
|
44115
|
+
UsageEventDimension["SdkVersion"] = "sdkVersion";
|
|
44116
|
+
UsageEventDimension["TeamId"] = "teamId";
|
|
44117
|
+
UsageEventDimension["ResourceId"] = "resourceId";
|
|
44118
|
+
})(exports.UsageEventDimension || (exports.UsageEventDimension = {}));
|
|
44119
|
+
|
|
44120
|
+
exports.UsageOrderBy = void 0;
|
|
44121
|
+
(function (UsageOrderBy) {
|
|
44122
|
+
UsageOrderBy["Time"] = "time";
|
|
44123
|
+
UsageOrderBy["Value"] = "value";
|
|
44124
|
+
})(exports.UsageOrderBy || (exports.UsageOrderBy = {}));
|
|
44125
|
+
|
|
44126
|
+
exports.UsageOrderDirection = void 0;
|
|
44127
|
+
(function (UsageOrderDirection) {
|
|
44128
|
+
UsageOrderDirection["Asc"] = "asc";
|
|
44129
|
+
UsageOrderDirection["Desc"] = "desc";
|
|
44130
|
+
})(exports.UsageOrderDirection || (exports.UsageOrderDirection = {}));
|
|
44131
|
+
|
|
44132
|
+
exports.UsageGaugeDimension = void 0;
|
|
44133
|
+
(function (UsageGaugeDimension) {
|
|
44134
|
+
UsageGaugeDimension["ResourceId"] = "resourceId";
|
|
44135
|
+
UsageGaugeDimension["TeamId"] = "teamId";
|
|
44136
|
+
UsageGaugeDimension["Service"] = "service";
|
|
44137
|
+
UsageGaugeDimension["ResourceType"] = "resourceType";
|
|
44138
|
+
UsageGaugeDimension["Ordinal"] = "ordinal";
|
|
44139
|
+
})(exports.UsageGaugeDimension || (exports.UsageGaugeDimension = {}));
|
|
44140
|
+
|
|
43767
44141
|
exports.PasswordHash = void 0;
|
|
43768
44142
|
(function (PasswordHash) {
|
|
43769
44143
|
PasswordHash["Sha1"] = "sha1";
|
|
@@ -43792,14 +44166,6 @@ exports.VCSDetectionType = void 0;
|
|
|
43792
44166
|
VCSDetectionType["Framework"] = "framework";
|
|
43793
44167
|
})(exports.VCSDetectionType || (exports.VCSDetectionType = {}));
|
|
43794
44168
|
|
|
43795
|
-
exports.EmbeddingModel = void 0;
|
|
43796
|
-
(function (EmbeddingModel) {
|
|
43797
|
-
EmbeddingModel["Nomicembedtext"] = "nomic-embed-text";
|
|
43798
|
-
EmbeddingModel["Embeddinggemma"] = "embedding-gemma";
|
|
43799
|
-
EmbeddingModel["Allminilm"] = "all-minilm";
|
|
43800
|
-
EmbeddingModel["Bgesmall"] = "bge-small";
|
|
43801
|
-
})(exports.EmbeddingModel || (exports.EmbeddingModel = {}));
|
|
43802
|
-
|
|
43803
44169
|
exports.VectorsDBIndexType = void 0;
|
|
43804
44170
|
(function (VectorsDBIndexType) {
|
|
43805
44171
|
VectorsDBIndexType["HnswEuclidean"] = "hnsw_euclidean";
|
|
@@ -43987,6 +44353,7 @@ exports.WafRuleAction = void 0;
|
|
|
43987
44353
|
exports.Account = Account;
|
|
43988
44354
|
exports.Activities = Activities;
|
|
43989
44355
|
exports.Advisor = Advisor;
|
|
44356
|
+
exports.Affiliates = Affiliates;
|
|
43990
44357
|
exports.Apps = Apps;
|
|
43991
44358
|
exports.AppwriteException = AppwriteException;
|
|
43992
44359
|
exports.Assistant = Assistant;
|
|
@@ -43998,6 +44365,7 @@ exports.Console = Console;
|
|
|
43998
44365
|
exports.Databases = Databases;
|
|
43999
44366
|
exports.DocumentsDB = DocumentsDB;
|
|
44000
44367
|
exports.Domains = Domains;
|
|
44368
|
+
exports.Embeddings = Embeddings;
|
|
44001
44369
|
exports.Functions = Functions;
|
|
44002
44370
|
exports.Graphql = Graphql;
|
|
44003
44371
|
exports.ID = ID;
|