@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/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Appwrite Console SDK
|
|
2
2
|
|
|
3
3
|

|
|
4
|
-

|
|
5
5
|
[](https://travis-ci.com/appwrite/sdk-generator)
|
|
6
6
|
[](https://twitter.com/appwrite)
|
|
7
7
|
[](https://appwrite.io/discord)
|
|
@@ -33,7 +33,7 @@ import { Client, Account } from "@appwrite.io/console";
|
|
|
33
33
|
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
|
|
34
34
|
|
|
35
35
|
```html
|
|
36
|
-
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@
|
|
36
|
+
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@16.0.0"></script>
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
|
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;
|
|
@@ -13041,6 +13250,44 @@ class Domains {
|
|
|
13041
13250
|
}
|
|
13042
13251
|
}
|
|
13043
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
|
+
|
|
13044
13291
|
class Functions {
|
|
13045
13292
|
constructor(client) {
|
|
13046
13293
|
this.client = client;
|
|
@@ -29536,6 +29783,46 @@ class Proxy {
|
|
|
29536
29783
|
constructor(client) {
|
|
29537
29784
|
this.client = client;
|
|
29538
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
|
+
}
|
|
29539
29826
|
listRules(paramsOrFirst, ...rest) {
|
|
29540
29827
|
let params;
|
|
29541
29828
|
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
@@ -38504,38 +38791,6 @@ class VectorsDB {
|
|
|
38504
38791
|
};
|
|
38505
38792
|
return this.client.call('post', uri, apiHeaders, payload);
|
|
38506
38793
|
}
|
|
38507
|
-
createTextEmbeddings(paramsOrFirst, ...rest) {
|
|
38508
|
-
let params;
|
|
38509
|
-
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
38510
|
-
params = (paramsOrFirst || {});
|
|
38511
|
-
}
|
|
38512
|
-
else {
|
|
38513
|
-
params = {
|
|
38514
|
-
texts: paramsOrFirst,
|
|
38515
|
-
model: rest[0]
|
|
38516
|
-
};
|
|
38517
|
-
}
|
|
38518
|
-
const texts = params.texts;
|
|
38519
|
-
const model = params.model;
|
|
38520
|
-
if (typeof texts === 'undefined') {
|
|
38521
|
-
throw new AppwriteException('Missing required parameter: "texts"');
|
|
38522
|
-
}
|
|
38523
|
-
const apiPath = '/vectorsdb/embeddings/text';
|
|
38524
|
-
const payload = {};
|
|
38525
|
-
if (typeof texts !== 'undefined') {
|
|
38526
|
-
payload['texts'] = texts;
|
|
38527
|
-
}
|
|
38528
|
-
if (typeof model !== 'undefined') {
|
|
38529
|
-
payload['model'] = model;
|
|
38530
|
-
}
|
|
38531
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
38532
|
-
const apiHeaders = {
|
|
38533
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
38534
|
-
'content-type': 'application/json',
|
|
38535
|
-
'accept': 'application/json',
|
|
38536
|
-
};
|
|
38537
|
-
return this.client.call('post', uri, apiHeaders, payload);
|
|
38538
|
-
}
|
|
38539
38794
|
/**
|
|
38540
38795
|
* 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.
|
|
38541
38796
|
*
|
|
@@ -42830,6 +43085,9 @@ exports.QuerySuggestionResource = void 0;
|
|
|
42830
43085
|
QuerySuggestionResource["ShInstallations"] = "sh_installations";
|
|
42831
43086
|
QuerySuggestionResource["MigrationDatabases"] = "migrationdatabases";
|
|
42832
43087
|
QuerySuggestionResource["MigrationProjects"] = "migrationprojects";
|
|
43088
|
+
QuerySuggestionResource["AffiliateLinks"] = "affiliatelinks";
|
|
43089
|
+
QuerySuggestionResource["AffiliateReferrals"] = "affiliatereferrals";
|
|
43090
|
+
QuerySuggestionResource["AffiliateRewards"] = "affiliaterewards";
|
|
42833
43091
|
QuerySuggestionResource["Apps"] = "apps";
|
|
42834
43092
|
QuerySuggestionResource["AppSecrets"] = "appsecrets";
|
|
42835
43093
|
QuerySuggestionResource["AppInstallations"] = "appinstallations";
|
|
@@ -43054,6 +43312,14 @@ exports.DomainSuggestionType = void 0;
|
|
|
43054
43312
|
DomainSuggestionType["Suggestion"] = "suggestion";
|
|
43055
43313
|
})(exports.DomainSuggestionType || (exports.DomainSuggestionType = {}));
|
|
43056
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
|
+
|
|
43057
43323
|
exports.Runtime = void 0;
|
|
43058
43324
|
(function (Runtime) {
|
|
43059
43325
|
Runtime["Node145"] = "node-14.5";
|
|
@@ -43250,6 +43516,7 @@ exports.ProjectKeyScopes = void 0;
|
|
|
43250
43516
|
ProjectKeyScopes["WafRulesRead"] = "wafRules.read";
|
|
43251
43517
|
ProjectKeyScopes["WafRulesWrite"] = "wafRules.write";
|
|
43252
43518
|
ProjectKeyScopes["EventsRead"] = "events.read";
|
|
43519
|
+
ProjectKeyScopes["ProxyInvalidationsWrite"] = "proxy.invalidations.write";
|
|
43253
43520
|
ProjectKeyScopes["AppsRead"] = "apps.read";
|
|
43254
43521
|
ProjectKeyScopes["AppsWrite"] = "apps.write";
|
|
43255
43522
|
ProjectKeyScopes["Oauth2Read"] = "oauth2.read";
|
|
@@ -43635,6 +43902,13 @@ exports.Status = void 0;
|
|
|
43635
43902
|
Status["Active"] = "active";
|
|
43636
43903
|
})(exports.Status || (exports.Status = {}));
|
|
43637
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
|
+
|
|
43638
43912
|
exports.StatusCode = void 0;
|
|
43639
43913
|
(function (StatusCode) {
|
|
43640
43914
|
StatusCode["MovedPermanently"] = "301";
|
|
@@ -43811,6 +44085,59 @@ exports.TablesDBIndexType = void 0;
|
|
|
43811
44085
|
TablesDBIndexType["Spatial"] = "spatial";
|
|
43812
44086
|
})(exports.TablesDBIndexType || (exports.TablesDBIndexType = {}));
|
|
43813
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
|
+
|
|
43814
44141
|
exports.PasswordHash = void 0;
|
|
43815
44142
|
(function (PasswordHash) {
|
|
43816
44143
|
PasswordHash["Sha1"] = "sha1";
|
|
@@ -43839,14 +44166,6 @@ exports.VCSDetectionType = void 0;
|
|
|
43839
44166
|
VCSDetectionType["Framework"] = "framework";
|
|
43840
44167
|
})(exports.VCSDetectionType || (exports.VCSDetectionType = {}));
|
|
43841
44168
|
|
|
43842
|
-
exports.EmbeddingModel = void 0;
|
|
43843
|
-
(function (EmbeddingModel) {
|
|
43844
|
-
EmbeddingModel["Nomicembedtext"] = "nomic-embed-text";
|
|
43845
|
-
EmbeddingModel["Embeddinggemma"] = "embedding-gemma";
|
|
43846
|
-
EmbeddingModel["Allminilm"] = "all-minilm";
|
|
43847
|
-
EmbeddingModel["Bgesmall"] = "bge-small";
|
|
43848
|
-
})(exports.EmbeddingModel || (exports.EmbeddingModel = {}));
|
|
43849
|
-
|
|
43850
44169
|
exports.VectorsDBIndexType = void 0;
|
|
43851
44170
|
(function (VectorsDBIndexType) {
|
|
43852
44171
|
VectorsDBIndexType["HnswEuclidean"] = "hnsw_euclidean";
|
|
@@ -44034,6 +44353,7 @@ exports.WafRuleAction = void 0;
|
|
|
44034
44353
|
exports.Account = Account;
|
|
44035
44354
|
exports.Activities = Activities;
|
|
44036
44355
|
exports.Advisor = Advisor;
|
|
44356
|
+
exports.Affiliates = Affiliates;
|
|
44037
44357
|
exports.Apps = Apps;
|
|
44038
44358
|
exports.AppwriteException = AppwriteException;
|
|
44039
44359
|
exports.Assistant = Assistant;
|
|
@@ -44045,6 +44365,7 @@ exports.Console = Console;
|
|
|
44045
44365
|
exports.Databases = Databases;
|
|
44046
44366
|
exports.DocumentsDB = DocumentsDB;
|
|
44047
44367
|
exports.Domains = Domains;
|
|
44368
|
+
exports.Embeddings = Embeddings;
|
|
44048
44369
|
exports.Functions = Functions;
|
|
44049
44370
|
exports.Graphql = Graphql;
|
|
44050
44371
|
exports.ID = ID;
|