@appwrite.io/console 16.1.0 → 17.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 +3 -3
- package/dist/cjs/sdk.js +597 -346
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +598 -347
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +597 -346
- package/package.json +1 -1
- package/types/client.d.ts +0 -11
- package/types/enums/billing-plan-group.d.ts +2 -1
- package/types/enums/cache-database.d.ts +1 -2
- package/types/enums/framework.d.ts +1 -0
- package/types/enums/id-token-provider.d.ts +4 -0
- package/types/enums/organization-key-scopes.d.ts +2 -4
- package/types/enums/project-email-template-id.d.ts +2 -1
- package/types/enums/project-key-scopes.d.ts +1 -0
- package/types/enums/project-policy-id.d.ts +1 -0
- package/types/enums/query-suggestion-resource.d.ts +1 -3
- package/types/index.d.ts +2 -2
- package/types/models.d.ts +214 -566
- package/types/services/account.d.ts +110 -22
- package/types/services/console.d.ts +2 -2
- package/types/services/manager.d.ts +14 -14
- package/types/services/messaging.d.ts +80 -6
- package/types/services/organization.d.ts +165 -0
- package/types/services/organizations.d.ts +19 -19
- package/types/services/project.d.ts +53 -42
- package/types/services/projects.d.ts +0 -94
- package/types/services/storage.d.ts +4 -4
- package/types/services/teams.d.ts +0 -25
- package/types/services/users.d.ts +2 -27
- package/types/enums/project-usage-range.d.ts +0 -4
package/dist/iife/sdk.js
CHANGED
|
@@ -4451,7 +4451,6 @@
|
|
|
4451
4451
|
mode: '',
|
|
4452
4452
|
cookie: '',
|
|
4453
4453
|
session: '',
|
|
4454
|
-
devkey: '',
|
|
4455
4454
|
impersonateuserid: '',
|
|
4456
4455
|
impersonateuseremail: '',
|
|
4457
4456
|
impersonateuserphone: '',
|
|
@@ -4466,8 +4465,8 @@
|
|
|
4466
4465
|
'x-sdk-name': 'Console',
|
|
4467
4466
|
'x-sdk-platform': 'console',
|
|
4468
4467
|
'x-sdk-language': 'web',
|
|
4469
|
-
'x-sdk-version': '
|
|
4470
|
-
'X-Appwrite-Response-Format': '2.
|
|
4468
|
+
'x-sdk-version': '17.0.0',
|
|
4469
|
+
'X-Appwrite-Response-Format': '2.2.0',
|
|
4471
4470
|
};
|
|
4472
4471
|
this.realtime = {
|
|
4473
4472
|
socket: undefined,
|
|
@@ -4879,20 +4878,6 @@
|
|
|
4879
4878
|
this.config.session = value;
|
|
4880
4879
|
return this;
|
|
4881
4880
|
}
|
|
4882
|
-
/**
|
|
4883
|
-
* Set DevKey
|
|
4884
|
-
*
|
|
4885
|
-
* Your secret dev API key
|
|
4886
|
-
*
|
|
4887
|
-
* @param value string
|
|
4888
|
-
*
|
|
4889
|
-
* @return {this}
|
|
4890
|
-
*/
|
|
4891
|
-
setDevKey(value) {
|
|
4892
|
-
this.headers['X-Appwrite-Dev-Key'] = value;
|
|
4893
|
-
this.config.devkey = value;
|
|
4894
|
-
return this;
|
|
4895
|
-
}
|
|
4896
4881
|
/**
|
|
4897
4882
|
* Set ImpersonateUserId
|
|
4898
4883
|
*
|
|
@@ -6122,37 +6107,6 @@
|
|
|
6122
6107
|
};
|
|
6123
6108
|
return this.client.call('delete', uri, apiHeaders, payload);
|
|
6124
6109
|
}
|
|
6125
|
-
listLogs(paramsOrFirst, ...rest) {
|
|
6126
|
-
let params;
|
|
6127
|
-
if ((typeof paramsOrFirst === 'undefined' && rest.length === 0) ||
|
|
6128
|
-
(paramsOrFirst &&
|
|
6129
|
-
typeof paramsOrFirst === 'object' &&
|
|
6130
|
-
!Array.isArray(paramsOrFirst))) {
|
|
6131
|
-
params = (paramsOrFirst || {});
|
|
6132
|
-
}
|
|
6133
|
-
else {
|
|
6134
|
-
params = {
|
|
6135
|
-
queries: paramsOrFirst,
|
|
6136
|
-
total: rest[0],
|
|
6137
|
-
};
|
|
6138
|
-
}
|
|
6139
|
-
const queries = params.queries;
|
|
6140
|
-
const total = params.total;
|
|
6141
|
-
const apiPath = '/account/logs';
|
|
6142
|
-
const payload = {};
|
|
6143
|
-
if (typeof queries !== 'undefined') {
|
|
6144
|
-
payload['queries'] = queries;
|
|
6145
|
-
}
|
|
6146
|
-
if (typeof total !== 'undefined') {
|
|
6147
|
-
payload['total'] = total;
|
|
6148
|
-
}
|
|
6149
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
6150
|
-
const apiHeaders = {
|
|
6151
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
6152
|
-
accept: 'application/json',
|
|
6153
|
-
};
|
|
6154
|
-
return this.client.call('get', uri, apiHeaders, payload);
|
|
6155
|
-
}
|
|
6156
6110
|
updateMFA(paramsOrFirst) {
|
|
6157
6111
|
let params;
|
|
6158
6112
|
if (paramsOrFirst &&
|
|
@@ -7159,6 +7113,69 @@
|
|
|
7159
7113
|
};
|
|
7160
7114
|
return this.client.call('post', uri, apiHeaders, payload);
|
|
7161
7115
|
}
|
|
7116
|
+
createIdTokenSession(paramsOrFirst, ...rest) {
|
|
7117
|
+
let params;
|
|
7118
|
+
if (paramsOrFirst &&
|
|
7119
|
+
typeof paramsOrFirst === 'object' &&
|
|
7120
|
+
!Array.isArray(paramsOrFirst) &&
|
|
7121
|
+
('provider' in paramsOrFirst ||
|
|
7122
|
+
'idToken' in paramsOrFirst ||
|
|
7123
|
+
'nonce' in paramsOrFirst ||
|
|
7124
|
+
'accessToken' in paramsOrFirst ||
|
|
7125
|
+
'accessTokenExpiry' in paramsOrFirst ||
|
|
7126
|
+
'name' in paramsOrFirst)) {
|
|
7127
|
+
params = (paramsOrFirst || {});
|
|
7128
|
+
}
|
|
7129
|
+
else {
|
|
7130
|
+
params = {
|
|
7131
|
+
provider: paramsOrFirst,
|
|
7132
|
+
idToken: rest[0],
|
|
7133
|
+
nonce: rest[1],
|
|
7134
|
+
accessToken: rest[2],
|
|
7135
|
+
accessTokenExpiry: rest[3],
|
|
7136
|
+
name: rest[4],
|
|
7137
|
+
};
|
|
7138
|
+
}
|
|
7139
|
+
const provider = params.provider;
|
|
7140
|
+
const idToken = params.idToken;
|
|
7141
|
+
const nonce = params.nonce;
|
|
7142
|
+
const accessToken = params.accessToken;
|
|
7143
|
+
const accessTokenExpiry = params.accessTokenExpiry;
|
|
7144
|
+
const name = params.name;
|
|
7145
|
+
if (typeof provider === 'undefined') {
|
|
7146
|
+
throw new AppwriteException('Missing required parameter: "provider"');
|
|
7147
|
+
}
|
|
7148
|
+
if (typeof idToken === 'undefined') {
|
|
7149
|
+
throw new AppwriteException('Missing required parameter: "idToken"');
|
|
7150
|
+
}
|
|
7151
|
+
const apiPath = '/account/sessions/id-token';
|
|
7152
|
+
const payload = {};
|
|
7153
|
+
if (typeof provider !== 'undefined') {
|
|
7154
|
+
payload['provider'] = provider;
|
|
7155
|
+
}
|
|
7156
|
+
if (typeof idToken !== 'undefined') {
|
|
7157
|
+
payload['idToken'] = idToken;
|
|
7158
|
+
}
|
|
7159
|
+
if (typeof nonce !== 'undefined') {
|
|
7160
|
+
payload['nonce'] = nonce;
|
|
7161
|
+
}
|
|
7162
|
+
if (typeof accessToken !== 'undefined') {
|
|
7163
|
+
payload['accessToken'] = accessToken;
|
|
7164
|
+
}
|
|
7165
|
+
if (typeof accessTokenExpiry !== 'undefined') {
|
|
7166
|
+
payload['accessTokenExpiry'] = accessTokenExpiry;
|
|
7167
|
+
}
|
|
7168
|
+
if (typeof name !== 'undefined') {
|
|
7169
|
+
payload['name'] = name;
|
|
7170
|
+
}
|
|
7171
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
7172
|
+
const apiHeaders = {
|
|
7173
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
7174
|
+
'content-type': 'application/json',
|
|
7175
|
+
accept: 'application/json',
|
|
7176
|
+
};
|
|
7177
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
7178
|
+
}
|
|
7162
7179
|
updateMagicURLSession(paramsOrFirst, ...rest) {
|
|
7163
7180
|
let params;
|
|
7164
7181
|
if (paramsOrFirst &&
|
|
@@ -7824,6 +7841,70 @@
|
|
|
7824
7841
|
};
|
|
7825
7842
|
return this.client.call('put', uri, apiHeaders, payload);
|
|
7826
7843
|
}
|
|
7844
|
+
createEmailVerificationOTP(paramsOrFirst) {
|
|
7845
|
+
let params;
|
|
7846
|
+
if (typeof paramsOrFirst === 'undefined' ||
|
|
7847
|
+
(paramsOrFirst &&
|
|
7848
|
+
typeof paramsOrFirst === 'object' &&
|
|
7849
|
+
!Array.isArray(paramsOrFirst))) {
|
|
7850
|
+
params = (paramsOrFirst || {});
|
|
7851
|
+
}
|
|
7852
|
+
else {
|
|
7853
|
+
params = {
|
|
7854
|
+
phrase: paramsOrFirst,
|
|
7855
|
+
};
|
|
7856
|
+
}
|
|
7857
|
+
const phrase = params.phrase;
|
|
7858
|
+
const apiPath = '/account/verifications/email/otp';
|
|
7859
|
+
const payload = {};
|
|
7860
|
+
if (typeof phrase !== 'undefined') {
|
|
7861
|
+
payload['phrase'] = phrase;
|
|
7862
|
+
}
|
|
7863
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
7864
|
+
const apiHeaders = {
|
|
7865
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
7866
|
+
'content-type': 'application/json',
|
|
7867
|
+
accept: 'application/json',
|
|
7868
|
+
};
|
|
7869
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
7870
|
+
}
|
|
7871
|
+
updateEmailVerificationOTP(paramsOrFirst, ...rest) {
|
|
7872
|
+
let params;
|
|
7873
|
+
if (paramsOrFirst &&
|
|
7874
|
+
typeof paramsOrFirst === 'object' &&
|
|
7875
|
+
!Array.isArray(paramsOrFirst)) {
|
|
7876
|
+
params = (paramsOrFirst || {});
|
|
7877
|
+
}
|
|
7878
|
+
else {
|
|
7879
|
+
params = {
|
|
7880
|
+
userId: paramsOrFirst,
|
|
7881
|
+
secret: rest[0],
|
|
7882
|
+
};
|
|
7883
|
+
}
|
|
7884
|
+
const userId = params.userId;
|
|
7885
|
+
const secret = params.secret;
|
|
7886
|
+
if (typeof userId === 'undefined') {
|
|
7887
|
+
throw new AppwriteException('Missing required parameter: "userId"');
|
|
7888
|
+
}
|
|
7889
|
+
if (typeof secret === 'undefined') {
|
|
7890
|
+
throw new AppwriteException('Missing required parameter: "secret"');
|
|
7891
|
+
}
|
|
7892
|
+
const apiPath = '/account/verifications/email/otp';
|
|
7893
|
+
const payload = {};
|
|
7894
|
+
if (typeof userId !== 'undefined') {
|
|
7895
|
+
payload['userId'] = userId;
|
|
7896
|
+
}
|
|
7897
|
+
if (typeof secret !== 'undefined') {
|
|
7898
|
+
payload['secret'] = secret;
|
|
7899
|
+
}
|
|
7900
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
7901
|
+
const apiHeaders = {
|
|
7902
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
7903
|
+
'content-type': 'application/json',
|
|
7904
|
+
accept: 'application/json',
|
|
7905
|
+
};
|
|
7906
|
+
return this.client.call('put', uri, apiHeaders, payload);
|
|
7907
|
+
}
|
|
7827
7908
|
/**
|
|
7828
7909
|
* Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https://appwrite.io/docs/references/cloud/client-web/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https://appwrite.io/docs/references/cloud/client-web/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.
|
|
7829
7910
|
*
|
|
@@ -20887,6 +20968,104 @@
|
|
|
20887
20968
|
};
|
|
20888
20969
|
return this.client.call('patch', uri, apiHeaders, payload);
|
|
20889
20970
|
}
|
|
20971
|
+
createAppwriteProvider(paramsOrFirst, ...rest) {
|
|
20972
|
+
let params;
|
|
20973
|
+
if (paramsOrFirst &&
|
|
20974
|
+
typeof paramsOrFirst === 'object' &&
|
|
20975
|
+
!Array.isArray(paramsOrFirst)) {
|
|
20976
|
+
params = (paramsOrFirst || {});
|
|
20977
|
+
}
|
|
20978
|
+
else {
|
|
20979
|
+
params = {
|
|
20980
|
+
providerId: paramsOrFirst,
|
|
20981
|
+
name: rest[0],
|
|
20982
|
+
enabled: rest[1],
|
|
20983
|
+
qos: rest[2],
|
|
20984
|
+
expiry: rest[3],
|
|
20985
|
+
};
|
|
20986
|
+
}
|
|
20987
|
+
const providerId = params.providerId;
|
|
20988
|
+
const name = params.name;
|
|
20989
|
+
const enabled = params.enabled;
|
|
20990
|
+
const qos = params.qos;
|
|
20991
|
+
const expiry = params.expiry;
|
|
20992
|
+
if (typeof providerId === 'undefined') {
|
|
20993
|
+
throw new AppwriteException('Missing required parameter: "providerId"');
|
|
20994
|
+
}
|
|
20995
|
+
if (typeof name === 'undefined') {
|
|
20996
|
+
throw new AppwriteException('Missing required parameter: "name"');
|
|
20997
|
+
}
|
|
20998
|
+
const apiPath = '/messaging/providers/appwrite';
|
|
20999
|
+
const payload = {};
|
|
21000
|
+
if (typeof providerId !== 'undefined') {
|
|
21001
|
+
payload['providerId'] = providerId;
|
|
21002
|
+
}
|
|
21003
|
+
if (typeof name !== 'undefined') {
|
|
21004
|
+
payload['name'] = name;
|
|
21005
|
+
}
|
|
21006
|
+
if (typeof enabled !== 'undefined') {
|
|
21007
|
+
payload['enabled'] = enabled;
|
|
21008
|
+
}
|
|
21009
|
+
if (typeof qos !== 'undefined') {
|
|
21010
|
+
payload['qos'] = qos;
|
|
21011
|
+
}
|
|
21012
|
+
if (typeof expiry !== 'undefined') {
|
|
21013
|
+
payload['expiry'] = expiry;
|
|
21014
|
+
}
|
|
21015
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
21016
|
+
const apiHeaders = {
|
|
21017
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
21018
|
+
'content-type': 'application/json',
|
|
21019
|
+
accept: 'application/json',
|
|
21020
|
+
};
|
|
21021
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
21022
|
+
}
|
|
21023
|
+
updateAppwriteProvider(paramsOrFirst, ...rest) {
|
|
21024
|
+
let params;
|
|
21025
|
+
if (paramsOrFirst &&
|
|
21026
|
+
typeof paramsOrFirst === 'object' &&
|
|
21027
|
+
!Array.isArray(paramsOrFirst)) {
|
|
21028
|
+
params = (paramsOrFirst || {});
|
|
21029
|
+
}
|
|
21030
|
+
else {
|
|
21031
|
+
params = {
|
|
21032
|
+
providerId: paramsOrFirst,
|
|
21033
|
+
name: rest[0],
|
|
21034
|
+
enabled: rest[1],
|
|
21035
|
+
qos: rest[2],
|
|
21036
|
+
expiry: rest[3],
|
|
21037
|
+
};
|
|
21038
|
+
}
|
|
21039
|
+
const providerId = params.providerId;
|
|
21040
|
+
const name = params.name;
|
|
21041
|
+
const enabled = params.enabled;
|
|
21042
|
+
const qos = params.qos;
|
|
21043
|
+
const expiry = params.expiry;
|
|
21044
|
+
if (typeof providerId === 'undefined' || providerId === '') {
|
|
21045
|
+
throw new AppwriteException('Missing required parameter: "providerId"');
|
|
21046
|
+
}
|
|
21047
|
+
const apiPath = '/messaging/providers/appwrite/{providerId}'.replace('{providerId}', encodeURIComponent(String(providerId)));
|
|
21048
|
+
const payload = {};
|
|
21049
|
+
if (typeof name !== 'undefined') {
|
|
21050
|
+
payload['name'] = name;
|
|
21051
|
+
}
|
|
21052
|
+
if (typeof enabled !== 'undefined') {
|
|
21053
|
+
payload['enabled'] = enabled;
|
|
21054
|
+
}
|
|
21055
|
+
if (typeof qos !== 'undefined') {
|
|
21056
|
+
payload['qos'] = qos;
|
|
21057
|
+
}
|
|
21058
|
+
if (typeof expiry !== 'undefined') {
|
|
21059
|
+
payload['expiry'] = expiry;
|
|
21060
|
+
}
|
|
21061
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
21062
|
+
const apiHeaders = {
|
|
21063
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
21064
|
+
'content-type': 'application/json',
|
|
21065
|
+
accept: 'application/json',
|
|
21066
|
+
};
|
|
21067
|
+
return this.client.call('patch', uri, apiHeaders, payload);
|
|
21068
|
+
}
|
|
20890
21069
|
createFcmProvider(paramsOrFirst, ...rest) {
|
|
20891
21070
|
let params;
|
|
20892
21071
|
if (paramsOrFirst &&
|
|
@@ -22636,11 +22815,15 @@
|
|
|
22636
22815
|
topicId: paramsOrFirst,
|
|
22637
22816
|
name: rest[0],
|
|
22638
22817
|
subscribe: rest[1],
|
|
22818
|
+
qos: rest[2],
|
|
22819
|
+
expiry: rest[3],
|
|
22639
22820
|
};
|
|
22640
22821
|
}
|
|
22641
22822
|
const topicId = params.topicId;
|
|
22642
22823
|
const name = params.name;
|
|
22643
22824
|
const subscribe = params.subscribe;
|
|
22825
|
+
const qos = params.qos;
|
|
22826
|
+
const expiry = params.expiry;
|
|
22644
22827
|
if (typeof topicId === 'undefined') {
|
|
22645
22828
|
throw new AppwriteException('Missing required parameter: "topicId"');
|
|
22646
22829
|
}
|
|
@@ -22658,6 +22841,12 @@
|
|
|
22658
22841
|
if (typeof subscribe !== 'undefined') {
|
|
22659
22842
|
payload['subscribe'] = subscribe;
|
|
22660
22843
|
}
|
|
22844
|
+
if (typeof qos !== 'undefined') {
|
|
22845
|
+
payload['qos'] = qos;
|
|
22846
|
+
}
|
|
22847
|
+
if (typeof expiry !== 'undefined') {
|
|
22848
|
+
payload['expiry'] = expiry;
|
|
22849
|
+
}
|
|
22661
22850
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
22662
22851
|
const apiHeaders = {
|
|
22663
22852
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -22703,11 +22892,15 @@
|
|
|
22703
22892
|
topicId: paramsOrFirst,
|
|
22704
22893
|
name: rest[0],
|
|
22705
22894
|
subscribe: rest[1],
|
|
22895
|
+
qos: rest[2],
|
|
22896
|
+
expiry: rest[3],
|
|
22706
22897
|
};
|
|
22707
22898
|
}
|
|
22708
22899
|
const topicId = params.topicId;
|
|
22709
22900
|
const name = params.name;
|
|
22710
22901
|
const subscribe = params.subscribe;
|
|
22902
|
+
const qos = params.qos;
|
|
22903
|
+
const expiry = params.expiry;
|
|
22711
22904
|
if (typeof topicId === 'undefined' || topicId === '') {
|
|
22712
22905
|
throw new AppwriteException('Missing required parameter: "topicId"');
|
|
22713
22906
|
}
|
|
@@ -22719,6 +22912,12 @@
|
|
|
22719
22912
|
if (typeof subscribe !== 'undefined') {
|
|
22720
22913
|
payload['subscribe'] = subscribe;
|
|
22721
22914
|
}
|
|
22915
|
+
if (typeof qos !== 'undefined') {
|
|
22916
|
+
payload['qos'] = qos;
|
|
22917
|
+
}
|
|
22918
|
+
if (typeof expiry !== 'undefined') {
|
|
22919
|
+
payload['expiry'] = expiry;
|
|
22920
|
+
}
|
|
22722
22921
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
22723
22922
|
const apiHeaders = {
|
|
22724
22923
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -27974,6 +28173,257 @@
|
|
|
27974
28173
|
};
|
|
27975
28174
|
return this.client.call('delete', uri, apiHeaders, payload);
|
|
27976
28175
|
}
|
|
28176
|
+
listProjectKeys(paramsOrFirst, ...rest) {
|
|
28177
|
+
let params;
|
|
28178
|
+
if (paramsOrFirst &&
|
|
28179
|
+
typeof paramsOrFirst === 'object' &&
|
|
28180
|
+
!Array.isArray(paramsOrFirst)) {
|
|
28181
|
+
params = (paramsOrFirst || {});
|
|
28182
|
+
}
|
|
28183
|
+
else {
|
|
28184
|
+
params = {
|
|
28185
|
+
projectId: paramsOrFirst,
|
|
28186
|
+
queries: rest[0],
|
|
28187
|
+
total: rest[1],
|
|
28188
|
+
};
|
|
28189
|
+
}
|
|
28190
|
+
const projectId = params.projectId;
|
|
28191
|
+
const queries = params.queries;
|
|
28192
|
+
const total = params.total;
|
|
28193
|
+
if (typeof projectId === 'undefined' || projectId === '') {
|
|
28194
|
+
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
28195
|
+
}
|
|
28196
|
+
const apiPath = '/organization/projects/{projectId}/keys'.replace('{projectId}', encodeURIComponent(String(projectId)));
|
|
28197
|
+
const payload = {};
|
|
28198
|
+
if (typeof queries !== 'undefined') {
|
|
28199
|
+
payload['queries'] = queries;
|
|
28200
|
+
}
|
|
28201
|
+
if (typeof total !== 'undefined') {
|
|
28202
|
+
payload['total'] = total;
|
|
28203
|
+
}
|
|
28204
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
28205
|
+
const apiHeaders = {
|
|
28206
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
28207
|
+
accept: 'application/json',
|
|
28208
|
+
};
|
|
28209
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
28210
|
+
}
|
|
28211
|
+
createProjectKey(paramsOrFirst, ...rest) {
|
|
28212
|
+
let params;
|
|
28213
|
+
if (paramsOrFirst &&
|
|
28214
|
+
typeof paramsOrFirst === 'object' &&
|
|
28215
|
+
!Array.isArray(paramsOrFirst)) {
|
|
28216
|
+
params = (paramsOrFirst || {});
|
|
28217
|
+
}
|
|
28218
|
+
else {
|
|
28219
|
+
params = {
|
|
28220
|
+
projectId: paramsOrFirst,
|
|
28221
|
+
keyId: rest[0],
|
|
28222
|
+
name: rest[1],
|
|
28223
|
+
scopes: rest[2],
|
|
28224
|
+
expire: rest[3],
|
|
28225
|
+
};
|
|
28226
|
+
}
|
|
28227
|
+
const projectId = params.projectId;
|
|
28228
|
+
const keyId = params.keyId;
|
|
28229
|
+
const name = params.name;
|
|
28230
|
+
const scopes = params.scopes;
|
|
28231
|
+
const expire = params.expire;
|
|
28232
|
+
if (typeof projectId === 'undefined' || projectId === '') {
|
|
28233
|
+
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
28234
|
+
}
|
|
28235
|
+
if (typeof keyId === 'undefined') {
|
|
28236
|
+
throw new AppwriteException('Missing required parameter: "keyId"');
|
|
28237
|
+
}
|
|
28238
|
+
if (typeof name === 'undefined') {
|
|
28239
|
+
throw new AppwriteException('Missing required parameter: "name"');
|
|
28240
|
+
}
|
|
28241
|
+
if (typeof scopes === 'undefined') {
|
|
28242
|
+
throw new AppwriteException('Missing required parameter: "scopes"');
|
|
28243
|
+
}
|
|
28244
|
+
const apiPath = '/organization/projects/{projectId}/keys'.replace('{projectId}', encodeURIComponent(String(projectId)));
|
|
28245
|
+
const payload = {};
|
|
28246
|
+
if (typeof keyId !== 'undefined') {
|
|
28247
|
+
payload['keyId'] = keyId;
|
|
28248
|
+
}
|
|
28249
|
+
if (typeof name !== 'undefined') {
|
|
28250
|
+
payload['name'] = name;
|
|
28251
|
+
}
|
|
28252
|
+
if (typeof scopes !== 'undefined') {
|
|
28253
|
+
payload['scopes'] = scopes;
|
|
28254
|
+
}
|
|
28255
|
+
if (typeof expire !== 'undefined') {
|
|
28256
|
+
payload['expire'] = expire;
|
|
28257
|
+
}
|
|
28258
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
28259
|
+
const apiHeaders = {
|
|
28260
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
28261
|
+
'content-type': 'application/json',
|
|
28262
|
+
accept: 'application/json',
|
|
28263
|
+
};
|
|
28264
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
28265
|
+
}
|
|
28266
|
+
createEphemeralProjectKey(paramsOrFirst, ...rest) {
|
|
28267
|
+
let params;
|
|
28268
|
+
if (paramsOrFirst &&
|
|
28269
|
+
typeof paramsOrFirst === 'object' &&
|
|
28270
|
+
!Array.isArray(paramsOrFirst)) {
|
|
28271
|
+
params = (paramsOrFirst || {});
|
|
28272
|
+
}
|
|
28273
|
+
else {
|
|
28274
|
+
params = {
|
|
28275
|
+
projectId: paramsOrFirst,
|
|
28276
|
+
scopes: rest[0],
|
|
28277
|
+
duration: rest[1],
|
|
28278
|
+
};
|
|
28279
|
+
}
|
|
28280
|
+
const projectId = params.projectId;
|
|
28281
|
+
const scopes = params.scopes;
|
|
28282
|
+
const duration = params.duration;
|
|
28283
|
+
if (typeof projectId === 'undefined' || projectId === '') {
|
|
28284
|
+
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
28285
|
+
}
|
|
28286
|
+
if (typeof scopes === 'undefined') {
|
|
28287
|
+
throw new AppwriteException('Missing required parameter: "scopes"');
|
|
28288
|
+
}
|
|
28289
|
+
if (typeof duration === 'undefined') {
|
|
28290
|
+
throw new AppwriteException('Missing required parameter: "duration"');
|
|
28291
|
+
}
|
|
28292
|
+
const apiPath = '/organization/projects/{projectId}/keys/ephemeral'.replace('{projectId}', encodeURIComponent(String(projectId)));
|
|
28293
|
+
const payload = {};
|
|
28294
|
+
if (typeof scopes !== 'undefined') {
|
|
28295
|
+
payload['scopes'] = scopes;
|
|
28296
|
+
}
|
|
28297
|
+
if (typeof duration !== 'undefined') {
|
|
28298
|
+
payload['duration'] = duration;
|
|
28299
|
+
}
|
|
28300
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
28301
|
+
const apiHeaders = {
|
|
28302
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
28303
|
+
'content-type': 'application/json',
|
|
28304
|
+
accept: 'application/json',
|
|
28305
|
+
};
|
|
28306
|
+
return this.client.call('post', uri, apiHeaders, payload);
|
|
28307
|
+
}
|
|
28308
|
+
getProjectKey(paramsOrFirst, ...rest) {
|
|
28309
|
+
let params;
|
|
28310
|
+
if (paramsOrFirst &&
|
|
28311
|
+
typeof paramsOrFirst === 'object' &&
|
|
28312
|
+
!Array.isArray(paramsOrFirst)) {
|
|
28313
|
+
params = (paramsOrFirst || {});
|
|
28314
|
+
}
|
|
28315
|
+
else {
|
|
28316
|
+
params = {
|
|
28317
|
+
projectId: paramsOrFirst,
|
|
28318
|
+
keyId: rest[0],
|
|
28319
|
+
};
|
|
28320
|
+
}
|
|
28321
|
+
const projectId = params.projectId;
|
|
28322
|
+
const keyId = params.keyId;
|
|
28323
|
+
if (typeof projectId === 'undefined' || projectId === '') {
|
|
28324
|
+
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
28325
|
+
}
|
|
28326
|
+
if (typeof keyId === 'undefined' || keyId === '') {
|
|
28327
|
+
throw new AppwriteException('Missing required parameter: "keyId"');
|
|
28328
|
+
}
|
|
28329
|
+
const apiPath = '/organization/projects/{projectId}/keys/{keyId}'
|
|
28330
|
+
.replace('{projectId}', encodeURIComponent(String(projectId)))
|
|
28331
|
+
.replace('{keyId}', encodeURIComponent(String(keyId)));
|
|
28332
|
+
const payload = {};
|
|
28333
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
28334
|
+
const apiHeaders = {
|
|
28335
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
28336
|
+
accept: 'application/json',
|
|
28337
|
+
};
|
|
28338
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
28339
|
+
}
|
|
28340
|
+
updateProjectKey(paramsOrFirst, ...rest) {
|
|
28341
|
+
let params;
|
|
28342
|
+
if (paramsOrFirst &&
|
|
28343
|
+
typeof paramsOrFirst === 'object' &&
|
|
28344
|
+
!Array.isArray(paramsOrFirst)) {
|
|
28345
|
+
params = (paramsOrFirst || {});
|
|
28346
|
+
}
|
|
28347
|
+
else {
|
|
28348
|
+
params = {
|
|
28349
|
+
projectId: paramsOrFirst,
|
|
28350
|
+
keyId: rest[0],
|
|
28351
|
+
name: rest[1],
|
|
28352
|
+
scopes: rest[2],
|
|
28353
|
+
expire: rest[3],
|
|
28354
|
+
};
|
|
28355
|
+
}
|
|
28356
|
+
const projectId = params.projectId;
|
|
28357
|
+
const keyId = params.keyId;
|
|
28358
|
+
const name = params.name;
|
|
28359
|
+
const scopes = params.scopes;
|
|
28360
|
+
const expire = params.expire;
|
|
28361
|
+
if (typeof projectId === 'undefined' || projectId === '') {
|
|
28362
|
+
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
28363
|
+
}
|
|
28364
|
+
if (typeof keyId === 'undefined' || keyId === '') {
|
|
28365
|
+
throw new AppwriteException('Missing required parameter: "keyId"');
|
|
28366
|
+
}
|
|
28367
|
+
if (typeof name === 'undefined') {
|
|
28368
|
+
throw new AppwriteException('Missing required parameter: "name"');
|
|
28369
|
+
}
|
|
28370
|
+
if (typeof scopes === 'undefined') {
|
|
28371
|
+
throw new AppwriteException('Missing required parameter: "scopes"');
|
|
28372
|
+
}
|
|
28373
|
+
const apiPath = '/organization/projects/{projectId}/keys/{keyId}'
|
|
28374
|
+
.replace('{projectId}', encodeURIComponent(String(projectId)))
|
|
28375
|
+
.replace('{keyId}', encodeURIComponent(String(keyId)));
|
|
28376
|
+
const payload = {};
|
|
28377
|
+
if (typeof name !== 'undefined') {
|
|
28378
|
+
payload['name'] = name;
|
|
28379
|
+
}
|
|
28380
|
+
if (typeof scopes !== 'undefined') {
|
|
28381
|
+
payload['scopes'] = scopes;
|
|
28382
|
+
}
|
|
28383
|
+
if (typeof expire !== 'undefined') {
|
|
28384
|
+
payload['expire'] = expire;
|
|
28385
|
+
}
|
|
28386
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
28387
|
+
const apiHeaders = {
|
|
28388
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
28389
|
+
'content-type': 'application/json',
|
|
28390
|
+
accept: 'application/json',
|
|
28391
|
+
};
|
|
28392
|
+
return this.client.call('put', uri, apiHeaders, payload);
|
|
28393
|
+
}
|
|
28394
|
+
deleteProjectKey(paramsOrFirst, ...rest) {
|
|
28395
|
+
let params;
|
|
28396
|
+
if (paramsOrFirst &&
|
|
28397
|
+
typeof paramsOrFirst === 'object' &&
|
|
28398
|
+
!Array.isArray(paramsOrFirst)) {
|
|
28399
|
+
params = (paramsOrFirst || {});
|
|
28400
|
+
}
|
|
28401
|
+
else {
|
|
28402
|
+
params = {
|
|
28403
|
+
projectId: paramsOrFirst,
|
|
28404
|
+
keyId: rest[0],
|
|
28405
|
+
};
|
|
28406
|
+
}
|
|
28407
|
+
const projectId = params.projectId;
|
|
28408
|
+
const keyId = params.keyId;
|
|
28409
|
+
if (typeof projectId === 'undefined' || projectId === '') {
|
|
28410
|
+
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
28411
|
+
}
|
|
28412
|
+
if (typeof keyId === 'undefined' || keyId === '') {
|
|
28413
|
+
throw new AppwriteException('Missing required parameter: "keyId"');
|
|
28414
|
+
}
|
|
28415
|
+
const apiPath = '/organization/projects/{projectId}/keys/{keyId}'
|
|
28416
|
+
.replace('{projectId}', encodeURIComponent(String(projectId)))
|
|
28417
|
+
.replace('{keyId}', encodeURIComponent(String(keyId)));
|
|
28418
|
+
const payload = {};
|
|
28419
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
28420
|
+
const apiHeaders = {
|
|
28421
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
28422
|
+
'content-type': 'application/json',
|
|
28423
|
+
accept: 'application/json',
|
|
28424
|
+
};
|
|
28425
|
+
return this.client.call('delete', uri, apiHeaders, payload);
|
|
28426
|
+
}
|
|
27977
28427
|
}
|
|
27978
28428
|
|
|
27979
28429
|
class Organizations {
|
|
@@ -28732,6 +29182,31 @@
|
|
|
28732
29182
|
};
|
|
28733
29183
|
return this.client.call('get', uri, apiHeaders, payload);
|
|
28734
29184
|
}
|
|
29185
|
+
getEstimation(paramsOrFirst) {
|
|
29186
|
+
let params;
|
|
29187
|
+
if (paramsOrFirst &&
|
|
29188
|
+
typeof paramsOrFirst === 'object' &&
|
|
29189
|
+
!Array.isArray(paramsOrFirst)) {
|
|
29190
|
+
params = (paramsOrFirst || {});
|
|
29191
|
+
}
|
|
29192
|
+
else {
|
|
29193
|
+
params = {
|
|
29194
|
+
organizationId: paramsOrFirst,
|
|
29195
|
+
};
|
|
29196
|
+
}
|
|
29197
|
+
const organizationId = params.organizationId;
|
|
29198
|
+
if (typeof organizationId === 'undefined' || organizationId === '') {
|
|
29199
|
+
throw new AppwriteException('Missing required parameter: "organizationId"');
|
|
29200
|
+
}
|
|
29201
|
+
const apiPath = '/organizations/{organizationId}/estimations'.replace('{organizationId}', encodeURIComponent(String(organizationId)));
|
|
29202
|
+
const payload = {};
|
|
29203
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
29204
|
+
const apiHeaders = {
|
|
29205
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
29206
|
+
accept: 'application/json',
|
|
29207
|
+
};
|
|
29208
|
+
return this.client.call('get', uri, apiHeaders, payload);
|
|
29209
|
+
}
|
|
28735
29210
|
estimationDeleteOrganization(paramsOrFirst) {
|
|
28736
29211
|
let params;
|
|
28737
29212
|
if (paramsOrFirst &&
|
|
@@ -29303,32 +29778,6 @@
|
|
|
29303
29778
|
};
|
|
29304
29779
|
return this.client.call('patch', uri, apiHeaders, payload);
|
|
29305
29780
|
}
|
|
29306
|
-
cancelDowngrade(paramsOrFirst) {
|
|
29307
|
-
let params;
|
|
29308
|
-
if (paramsOrFirst &&
|
|
29309
|
-
typeof paramsOrFirst === 'object' &&
|
|
29310
|
-
!Array.isArray(paramsOrFirst)) {
|
|
29311
|
-
params = (paramsOrFirst || {});
|
|
29312
|
-
}
|
|
29313
|
-
else {
|
|
29314
|
-
params = {
|
|
29315
|
-
organizationId: paramsOrFirst,
|
|
29316
|
-
};
|
|
29317
|
-
}
|
|
29318
|
-
const organizationId = params.organizationId;
|
|
29319
|
-
if (typeof organizationId === 'undefined' || organizationId === '') {
|
|
29320
|
-
throw new AppwriteException('Missing required parameter: "organizationId"');
|
|
29321
|
-
}
|
|
29322
|
-
const apiPath = '/organizations/{organizationId}/plan/cancel'.replace('{organizationId}', encodeURIComponent(String(organizationId)));
|
|
29323
|
-
const payload = {};
|
|
29324
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
29325
|
-
const apiHeaders = {
|
|
29326
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
29327
|
-
'content-type': 'application/json',
|
|
29328
|
-
accept: 'application/json',
|
|
29329
|
-
};
|
|
29330
|
-
return this.client.call('patch', uri, apiHeaders, payload);
|
|
29331
|
-
}
|
|
29332
29781
|
createPlanEstimation(paramsOrFirst, ...rest) {
|
|
29333
29782
|
let params;
|
|
29334
29783
|
if (paramsOrFirst &&
|
|
@@ -31882,14 +32331,18 @@
|
|
|
31882
32331
|
keyId: rest[0],
|
|
31883
32332
|
teamId: rest[1],
|
|
31884
32333
|
p8File: rest[2],
|
|
31885
|
-
|
|
32334
|
+
nativeClientIds: rest[3],
|
|
32335
|
+
enabled: rest[4],
|
|
32336
|
+
nativeEnabled: rest[5],
|
|
31886
32337
|
};
|
|
31887
32338
|
}
|
|
31888
32339
|
const serviceId = params.serviceId;
|
|
31889
32340
|
const keyId = params.keyId;
|
|
31890
32341
|
const teamId = params.teamId;
|
|
31891
32342
|
const p8File = params.p8File;
|
|
32343
|
+
const nativeClientIds = params.nativeClientIds;
|
|
31892
32344
|
const enabled = params.enabled;
|
|
32345
|
+
const nativeEnabled = params.nativeEnabled;
|
|
31893
32346
|
const apiPath = '/project/oauth2/apple';
|
|
31894
32347
|
const payload = {};
|
|
31895
32348
|
if (typeof serviceId !== 'undefined') {
|
|
@@ -31904,9 +32357,15 @@
|
|
|
31904
32357
|
if (typeof p8File !== 'undefined') {
|
|
31905
32358
|
payload['p8File'] = p8File;
|
|
31906
32359
|
}
|
|
32360
|
+
if (typeof nativeClientIds !== 'undefined') {
|
|
32361
|
+
payload['nativeClientIds'] = nativeClientIds;
|
|
32362
|
+
}
|
|
31907
32363
|
if (typeof enabled !== 'undefined') {
|
|
31908
32364
|
payload['enabled'] = enabled;
|
|
31909
32365
|
}
|
|
32366
|
+
if (typeof nativeEnabled !== 'undefined') {
|
|
32367
|
+
payload['nativeEnabled'] = nativeEnabled;
|
|
32368
|
+
}
|
|
31910
32369
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
31911
32370
|
const apiHeaders = {
|
|
31912
32371
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -32614,13 +33073,17 @@
|
|
|
32614
33073
|
clientId: paramsOrFirst,
|
|
32615
33074
|
clientSecret: rest[0],
|
|
32616
33075
|
prompt: rest[1],
|
|
32617
|
-
|
|
33076
|
+
nativeClientIds: rest[2],
|
|
33077
|
+
enabled: rest[3],
|
|
33078
|
+
nativeEnabled: rest[4],
|
|
32618
33079
|
};
|
|
32619
33080
|
}
|
|
32620
33081
|
const clientId = params.clientId;
|
|
32621
33082
|
const clientSecret = params.clientSecret;
|
|
32622
33083
|
const prompt = params.prompt;
|
|
33084
|
+
const nativeClientIds = params.nativeClientIds;
|
|
32623
33085
|
const enabled = params.enabled;
|
|
33086
|
+
const nativeEnabled = params.nativeEnabled;
|
|
32624
33087
|
const apiPath = '/project/oauth2/google';
|
|
32625
33088
|
const payload = {};
|
|
32626
33089
|
if (typeof clientId !== 'undefined') {
|
|
@@ -32632,9 +33095,15 @@
|
|
|
32632
33095
|
if (typeof prompt !== 'undefined') {
|
|
32633
33096
|
payload['prompt'] = prompt;
|
|
32634
33097
|
}
|
|
33098
|
+
if (typeof nativeClientIds !== 'undefined') {
|
|
33099
|
+
payload['nativeClientIds'] = nativeClientIds;
|
|
33100
|
+
}
|
|
32635
33101
|
if (typeof enabled !== 'undefined') {
|
|
32636
33102
|
payload['enabled'] = enabled;
|
|
32637
33103
|
}
|
|
33104
|
+
if (typeof nativeEnabled !== 'undefined') {
|
|
33105
|
+
payload['nativeEnabled'] = nativeEnabled;
|
|
33106
|
+
}
|
|
32638
33107
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
32639
33108
|
const apiHeaders = {
|
|
32640
33109
|
'X-Appwrite-Project': this.client.config.project,
|
|
@@ -34568,6 +35037,43 @@
|
|
|
34568
35037
|
};
|
|
34569
35038
|
return this.client.call('patch', uri, apiHeaders, payload);
|
|
34570
35039
|
}
|
|
35040
|
+
updatePasswordPwnedPolicy(paramsOrFirst, ...rest) {
|
|
35041
|
+
let params;
|
|
35042
|
+
if ((typeof paramsOrFirst === 'undefined' && rest.length === 0) ||
|
|
35043
|
+
(paramsOrFirst &&
|
|
35044
|
+
typeof paramsOrFirst === 'object' &&
|
|
35045
|
+
!Array.isArray(paramsOrFirst))) {
|
|
35046
|
+
params = (paramsOrFirst || {});
|
|
35047
|
+
}
|
|
35048
|
+
else {
|
|
35049
|
+
params = {
|
|
35050
|
+
enabled: paramsOrFirst,
|
|
35051
|
+
sessions: rest[0],
|
|
35052
|
+
users: rest[1],
|
|
35053
|
+
};
|
|
35054
|
+
}
|
|
35055
|
+
const enabled = params.enabled;
|
|
35056
|
+
const sessions = params.sessions;
|
|
35057
|
+
const users = params.users;
|
|
35058
|
+
const apiPath = '/project/policies/password-pwned';
|
|
35059
|
+
const payload = {};
|
|
35060
|
+
if (typeof enabled !== 'undefined') {
|
|
35061
|
+
payload['enabled'] = enabled;
|
|
35062
|
+
}
|
|
35063
|
+
if (typeof sessions !== 'undefined') {
|
|
35064
|
+
payload['sessions'] = sessions;
|
|
35065
|
+
}
|
|
35066
|
+
if (typeof users !== 'undefined') {
|
|
35067
|
+
payload['users'] = users;
|
|
35068
|
+
}
|
|
35069
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
35070
|
+
const apiHeaders = {
|
|
35071
|
+
'X-Appwrite-Project': this.client.config.project,
|
|
35072
|
+
'content-type': 'application/json',
|
|
35073
|
+
accept: 'application/json',
|
|
35074
|
+
};
|
|
35075
|
+
return this.client.call('patch', uri, apiHeaders, payload);
|
|
35076
|
+
}
|
|
34571
35077
|
updatePasswordStrengthPolicy(paramsOrFirst, ...rest) {
|
|
34572
35078
|
let params;
|
|
34573
35079
|
if ((typeof paramsOrFirst === 'undefined' && rest.length === 0) ||
|
|
@@ -35091,47 +35597,6 @@
|
|
|
35091
35597
|
};
|
|
35092
35598
|
return this.client.call('get', uri, apiHeaders, payload);
|
|
35093
35599
|
}
|
|
35094
|
-
getUsage(paramsOrFirst, ...rest) {
|
|
35095
|
-
let params;
|
|
35096
|
-
if (paramsOrFirst &&
|
|
35097
|
-
typeof paramsOrFirst === 'object' &&
|
|
35098
|
-
!Array.isArray(paramsOrFirst)) {
|
|
35099
|
-
params = (paramsOrFirst || {});
|
|
35100
|
-
}
|
|
35101
|
-
else {
|
|
35102
|
-
params = {
|
|
35103
|
-
startDate: paramsOrFirst,
|
|
35104
|
-
endDate: rest[0],
|
|
35105
|
-
period: rest[1],
|
|
35106
|
-
};
|
|
35107
|
-
}
|
|
35108
|
-
const startDate = params.startDate;
|
|
35109
|
-
const endDate = params.endDate;
|
|
35110
|
-
const period = params.period;
|
|
35111
|
-
if (typeof startDate === 'undefined') {
|
|
35112
|
-
throw new AppwriteException('Missing required parameter: "startDate"');
|
|
35113
|
-
}
|
|
35114
|
-
if (typeof endDate === 'undefined') {
|
|
35115
|
-
throw new AppwriteException('Missing required parameter: "endDate"');
|
|
35116
|
-
}
|
|
35117
|
-
const apiPath = '/project/usage';
|
|
35118
|
-
const payload = {};
|
|
35119
|
-
if (typeof startDate !== 'undefined') {
|
|
35120
|
-
payload['startDate'] = startDate;
|
|
35121
|
-
}
|
|
35122
|
-
if (typeof endDate !== 'undefined') {
|
|
35123
|
-
payload['endDate'] = endDate;
|
|
35124
|
-
}
|
|
35125
|
-
if (typeof period !== 'undefined') {
|
|
35126
|
-
payload['period'] = period;
|
|
35127
|
-
}
|
|
35128
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
35129
|
-
const apiHeaders = {
|
|
35130
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
35131
|
-
accept: 'application/json',
|
|
35132
|
-
};
|
|
35133
|
-
return this.client.call('get', uri, apiHeaders, payload);
|
|
35134
|
-
}
|
|
35135
35600
|
listVariables(paramsOrFirst, ...rest) {
|
|
35136
35601
|
let params;
|
|
35137
35602
|
if ((typeof paramsOrFirst === 'undefined' && rest.length === 0) ||
|
|
@@ -35518,150 +35983,6 @@
|
|
|
35518
35983
|
};
|
|
35519
35984
|
return this.client.call('patch', uri, apiHeaders, payload);
|
|
35520
35985
|
}
|
|
35521
|
-
listDevKeys(paramsOrFirst, ...rest) {
|
|
35522
|
-
let params;
|
|
35523
|
-
if (paramsOrFirst &&
|
|
35524
|
-
typeof paramsOrFirst === 'object' &&
|
|
35525
|
-
!Array.isArray(paramsOrFirst)) {
|
|
35526
|
-
params = (paramsOrFirst || {});
|
|
35527
|
-
}
|
|
35528
|
-
else {
|
|
35529
|
-
params = {
|
|
35530
|
-
projectId: paramsOrFirst,
|
|
35531
|
-
queries: rest[0],
|
|
35532
|
-
};
|
|
35533
|
-
}
|
|
35534
|
-
const projectId = params.projectId;
|
|
35535
|
-
const queries = params.queries;
|
|
35536
|
-
if (typeof projectId === 'undefined' || projectId === '') {
|
|
35537
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
35538
|
-
}
|
|
35539
|
-
const apiPath = '/projects/{projectId}/dev-keys'.replace('{projectId}', encodeURIComponent(String(projectId)));
|
|
35540
|
-
const payload = {};
|
|
35541
|
-
if (typeof queries !== 'undefined') {
|
|
35542
|
-
payload['queries'] = queries;
|
|
35543
|
-
}
|
|
35544
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
35545
|
-
const apiHeaders = {
|
|
35546
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
35547
|
-
accept: 'application/json',
|
|
35548
|
-
};
|
|
35549
|
-
return this.client.call('get', uri, apiHeaders, payload);
|
|
35550
|
-
}
|
|
35551
|
-
getDevKey(paramsOrFirst, ...rest) {
|
|
35552
|
-
let params;
|
|
35553
|
-
if (paramsOrFirst &&
|
|
35554
|
-
typeof paramsOrFirst === 'object' &&
|
|
35555
|
-
!Array.isArray(paramsOrFirst)) {
|
|
35556
|
-
params = (paramsOrFirst || {});
|
|
35557
|
-
}
|
|
35558
|
-
else {
|
|
35559
|
-
params = {
|
|
35560
|
-
projectId: paramsOrFirst,
|
|
35561
|
-
keyId: rest[0],
|
|
35562
|
-
};
|
|
35563
|
-
}
|
|
35564
|
-
const projectId = params.projectId;
|
|
35565
|
-
const keyId = params.keyId;
|
|
35566
|
-
if (typeof projectId === 'undefined' || projectId === '') {
|
|
35567
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
35568
|
-
}
|
|
35569
|
-
if (typeof keyId === 'undefined' || keyId === '') {
|
|
35570
|
-
throw new AppwriteException('Missing required parameter: "keyId"');
|
|
35571
|
-
}
|
|
35572
|
-
const apiPath = '/projects/{projectId}/dev-keys/{keyId}'
|
|
35573
|
-
.replace('{projectId}', encodeURIComponent(String(projectId)))
|
|
35574
|
-
.replace('{keyId}', encodeURIComponent(String(keyId)));
|
|
35575
|
-
const payload = {};
|
|
35576
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
35577
|
-
const apiHeaders = {
|
|
35578
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
35579
|
-
accept: 'application/json',
|
|
35580
|
-
};
|
|
35581
|
-
return this.client.call('get', uri, apiHeaders, payload);
|
|
35582
|
-
}
|
|
35583
|
-
updateDevKey(paramsOrFirst, ...rest) {
|
|
35584
|
-
let params;
|
|
35585
|
-
if (paramsOrFirst &&
|
|
35586
|
-
typeof paramsOrFirst === 'object' &&
|
|
35587
|
-
!Array.isArray(paramsOrFirst)) {
|
|
35588
|
-
params = (paramsOrFirst || {});
|
|
35589
|
-
}
|
|
35590
|
-
else {
|
|
35591
|
-
params = {
|
|
35592
|
-
projectId: paramsOrFirst,
|
|
35593
|
-
keyId: rest[0],
|
|
35594
|
-
name: rest[1],
|
|
35595
|
-
expire: rest[2],
|
|
35596
|
-
};
|
|
35597
|
-
}
|
|
35598
|
-
const projectId = params.projectId;
|
|
35599
|
-
const keyId = params.keyId;
|
|
35600
|
-
const name = params.name;
|
|
35601
|
-
const expire = params.expire;
|
|
35602
|
-
if (typeof projectId === 'undefined' || projectId === '') {
|
|
35603
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
35604
|
-
}
|
|
35605
|
-
if (typeof keyId === 'undefined' || keyId === '') {
|
|
35606
|
-
throw new AppwriteException('Missing required parameter: "keyId"');
|
|
35607
|
-
}
|
|
35608
|
-
if (typeof name === 'undefined') {
|
|
35609
|
-
throw new AppwriteException('Missing required parameter: "name"');
|
|
35610
|
-
}
|
|
35611
|
-
if (typeof expire === 'undefined') {
|
|
35612
|
-
throw new AppwriteException('Missing required parameter: "expire"');
|
|
35613
|
-
}
|
|
35614
|
-
const apiPath = '/projects/{projectId}/dev-keys/{keyId}'
|
|
35615
|
-
.replace('{projectId}', encodeURIComponent(String(projectId)))
|
|
35616
|
-
.replace('{keyId}', encodeURIComponent(String(keyId)));
|
|
35617
|
-
const payload = {};
|
|
35618
|
-
if (typeof name !== 'undefined') {
|
|
35619
|
-
payload['name'] = name;
|
|
35620
|
-
}
|
|
35621
|
-
if (typeof expire !== 'undefined') {
|
|
35622
|
-
payload['expire'] = expire;
|
|
35623
|
-
}
|
|
35624
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
35625
|
-
const apiHeaders = {
|
|
35626
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
35627
|
-
'content-type': 'application/json',
|
|
35628
|
-
accept: 'application/json',
|
|
35629
|
-
};
|
|
35630
|
-
return this.client.call('put', uri, apiHeaders, payload);
|
|
35631
|
-
}
|
|
35632
|
-
deleteDevKey(paramsOrFirst, ...rest) {
|
|
35633
|
-
let params;
|
|
35634
|
-
if (paramsOrFirst &&
|
|
35635
|
-
typeof paramsOrFirst === 'object' &&
|
|
35636
|
-
!Array.isArray(paramsOrFirst)) {
|
|
35637
|
-
params = (paramsOrFirst || {});
|
|
35638
|
-
}
|
|
35639
|
-
else {
|
|
35640
|
-
params = {
|
|
35641
|
-
projectId: paramsOrFirst,
|
|
35642
|
-
keyId: rest[0],
|
|
35643
|
-
};
|
|
35644
|
-
}
|
|
35645
|
-
const projectId = params.projectId;
|
|
35646
|
-
const keyId = params.keyId;
|
|
35647
|
-
if (typeof projectId === 'undefined' || projectId === '') {
|
|
35648
|
-
throw new AppwriteException('Missing required parameter: "projectId"');
|
|
35649
|
-
}
|
|
35650
|
-
if (typeof keyId === 'undefined' || keyId === '') {
|
|
35651
|
-
throw new AppwriteException('Missing required parameter: "keyId"');
|
|
35652
|
-
}
|
|
35653
|
-
const apiPath = '/projects/{projectId}/dev-keys/{keyId}'
|
|
35654
|
-
.replace('{projectId}', encodeURIComponent(String(projectId)))
|
|
35655
|
-
.replace('{keyId}', encodeURIComponent(String(keyId)));
|
|
35656
|
-
const payload = {};
|
|
35657
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
35658
|
-
const apiHeaders = {
|
|
35659
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
35660
|
-
'content-type': 'application/json',
|
|
35661
|
-
accept: 'application/json',
|
|
35662
|
-
};
|
|
35663
|
-
return this.client.call('delete', uri, apiHeaders, payload);
|
|
35664
|
-
}
|
|
35665
35986
|
listSchedules(paramsOrFirst, ...rest) {
|
|
35666
35987
|
let params;
|
|
35667
35988
|
if (paramsOrFirst &&
|
|
@@ -42673,41 +42994,6 @@
|
|
|
42673
42994
|
};
|
|
42674
42995
|
return this.client.call('delete', uri, apiHeaders, payload);
|
|
42675
42996
|
}
|
|
42676
|
-
listLogs(paramsOrFirst, ...rest) {
|
|
42677
|
-
let params;
|
|
42678
|
-
if (paramsOrFirst &&
|
|
42679
|
-
typeof paramsOrFirst === 'object' &&
|
|
42680
|
-
!Array.isArray(paramsOrFirst)) {
|
|
42681
|
-
params = (paramsOrFirst || {});
|
|
42682
|
-
}
|
|
42683
|
-
else {
|
|
42684
|
-
params = {
|
|
42685
|
-
teamId: paramsOrFirst,
|
|
42686
|
-
queries: rest[0],
|
|
42687
|
-
total: rest[1],
|
|
42688
|
-
};
|
|
42689
|
-
}
|
|
42690
|
-
const teamId = params.teamId;
|
|
42691
|
-
const queries = params.queries;
|
|
42692
|
-
const total = params.total;
|
|
42693
|
-
if (typeof teamId === 'undefined' || teamId === '') {
|
|
42694
|
-
throw new AppwriteException('Missing required parameter: "teamId"');
|
|
42695
|
-
}
|
|
42696
|
-
const apiPath = '/teams/{teamId}/logs'.replace('{teamId}', encodeURIComponent(String(teamId)));
|
|
42697
|
-
const payload = {};
|
|
42698
|
-
if (typeof queries !== 'undefined') {
|
|
42699
|
-
payload['queries'] = queries;
|
|
42700
|
-
}
|
|
42701
|
-
if (typeof total !== 'undefined') {
|
|
42702
|
-
payload['total'] = total;
|
|
42703
|
-
}
|
|
42704
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
42705
|
-
const apiHeaders = {
|
|
42706
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
42707
|
-
accept: 'application/json',
|
|
42708
|
-
};
|
|
42709
|
-
return this.client.call('get', uri, apiHeaders, payload);
|
|
42710
|
-
}
|
|
42711
42997
|
listMemberships(paramsOrFirst, ...rest) {
|
|
42712
42998
|
let params;
|
|
42713
42999
|
if (paramsOrFirst &&
|
|
@@ -44155,41 +44441,6 @@
|
|
|
44155
44441
|
};
|
|
44156
44442
|
return this.client.call('put', uri, apiHeaders, payload);
|
|
44157
44443
|
}
|
|
44158
|
-
listLogs(paramsOrFirst, ...rest) {
|
|
44159
|
-
let params;
|
|
44160
|
-
if (paramsOrFirst &&
|
|
44161
|
-
typeof paramsOrFirst === 'object' &&
|
|
44162
|
-
!Array.isArray(paramsOrFirst)) {
|
|
44163
|
-
params = (paramsOrFirst || {});
|
|
44164
|
-
}
|
|
44165
|
-
else {
|
|
44166
|
-
params = {
|
|
44167
|
-
userId: paramsOrFirst,
|
|
44168
|
-
queries: rest[0],
|
|
44169
|
-
total: rest[1],
|
|
44170
|
-
};
|
|
44171
|
-
}
|
|
44172
|
-
const userId = params.userId;
|
|
44173
|
-
const queries = params.queries;
|
|
44174
|
-
const total = params.total;
|
|
44175
|
-
if (typeof userId === 'undefined' || userId === '') {
|
|
44176
|
-
throw new AppwriteException('Missing required parameter: "userId"');
|
|
44177
|
-
}
|
|
44178
|
-
const apiPath = '/users/{userId}/logs'.replace('{userId}', encodeURIComponent(String(userId)));
|
|
44179
|
-
const payload = {};
|
|
44180
|
-
if (typeof queries !== 'undefined') {
|
|
44181
|
-
payload['queries'] = queries;
|
|
44182
|
-
}
|
|
44183
|
-
if (typeof total !== 'undefined') {
|
|
44184
|
-
payload['total'] = total;
|
|
44185
|
-
}
|
|
44186
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
44187
|
-
const apiHeaders = {
|
|
44188
|
-
'X-Appwrite-Project': this.client.config.project,
|
|
44189
|
-
accept: 'application/json',
|
|
44190
|
-
};
|
|
44191
|
-
return this.client.call('get', uri, apiHeaders, payload);
|
|
44192
|
-
}
|
|
44193
44444
|
listMemberships(paramsOrFirst, ...rest) {
|
|
44194
44445
|
let params;
|
|
44195
44446
|
if (paramsOrFirst &&
|
|
@@ -49389,6 +49640,12 @@
|
|
|
49389
49640
|
AuthenticationFactor["Custom"] = "custom";
|
|
49390
49641
|
})(exports.AuthenticationFactor || (exports.AuthenticationFactor = {}));
|
|
49391
49642
|
|
|
49643
|
+
exports.IdTokenProvider = void 0;
|
|
49644
|
+
(function (IdTokenProvider) {
|
|
49645
|
+
IdTokenProvider["Apple"] = "apple";
|
|
49646
|
+
IdTokenProvider["Google"] = "google";
|
|
49647
|
+
})(exports.IdTokenProvider || (exports.IdTokenProvider = {}));
|
|
49648
|
+
|
|
49392
49649
|
exports.OAuthProvider = void 0;
|
|
49393
49650
|
(function (OAuthProvider) {
|
|
49394
49651
|
OAuthProvider["Amazon"] = "amazon";
|
|
@@ -50187,7 +50444,6 @@
|
|
|
50187
50444
|
QuerySuggestionResource["Schedules"] = "schedules";
|
|
50188
50445
|
QuerySuggestionResource["Platforms"] = "platforms";
|
|
50189
50446
|
QuerySuggestionResource["Keys"] = "keys";
|
|
50190
|
-
QuerySuggestionResource["DevKeys"] = "devkeys";
|
|
50191
50447
|
QuerySuggestionResource["Webhooks"] = "webhooks";
|
|
50192
50448
|
QuerySuggestionResource["Notifications"] = "notifications";
|
|
50193
50449
|
QuerySuggestionResource["Certificates"] = "certificates";
|
|
@@ -50210,6 +50466,7 @@
|
|
|
50210
50466
|
QuerySuggestionResource["Buckets"] = "buckets";
|
|
50211
50467
|
QuerySuggestionResource["Providers"] = "providers";
|
|
50212
50468
|
QuerySuggestionResource["Messages"] = "messages";
|
|
50469
|
+
QuerySuggestionResource["AppwritePushLedger"] = "appwritepushledger";
|
|
50213
50470
|
QuerySuggestionResource["Topics"] = "topics";
|
|
50214
50471
|
QuerySuggestionResource["Subscribers"] = "subscribers";
|
|
50215
50472
|
QuerySuggestionResource["Targets"] = "targets";
|
|
@@ -50252,13 +50509,11 @@
|
|
|
50252
50509
|
QuerySuggestionResource["Functions"] = "functions";
|
|
50253
50510
|
QuerySuggestionResource["Sites"] = "sites";
|
|
50254
50511
|
QuerySuggestionResource["Deployments"] = "deployments";
|
|
50255
|
-
QuerySuggestionResource["Executions"] = "executions";
|
|
50256
50512
|
QuerySuggestionResource["Variables"] = "variables";
|
|
50257
50513
|
QuerySuggestionResource["Migrations"] = "migrations";
|
|
50258
50514
|
QuerySuggestionResource["ResourceTokens"] = "resourcetokens";
|
|
50259
50515
|
QuerySuggestionResource["Transactions"] = "transactions";
|
|
50260
50516
|
QuerySuggestionResource["TransactionLogs"] = "transactionlogs";
|
|
50261
|
-
QuerySuggestionResource["Stats"] = "stats";
|
|
50262
50517
|
QuerySuggestionResource["DedicatedDatabases"] = "dedicateddatabases";
|
|
50263
50518
|
QuerySuggestionResource["DedicatedDatabaseConfigs"] = "dedicateddatabaseconfigs";
|
|
50264
50519
|
QuerySuggestionResource["DedicatedDatabaseRuntimes"] = "dedicateddatabaseruntimes";
|
|
@@ -50277,6 +50532,7 @@
|
|
|
50277
50532
|
ProjectEmailTemplateId["MfaChallenge"] = "mfaChallenge";
|
|
50278
50533
|
ProjectEmailTemplateId["SessionAlert"] = "sessionAlert";
|
|
50279
50534
|
ProjectEmailTemplateId["OtpSession"] = "otpSession";
|
|
50535
|
+
ProjectEmailTemplateId["OtpVerification"] = "otpVerification";
|
|
50280
50536
|
})(exports.ProjectEmailTemplateId || (exports.ProjectEmailTemplateId = {}));
|
|
50281
50537
|
|
|
50282
50538
|
exports.ProjectEmailTemplateLocale = void 0;
|
|
@@ -50675,6 +50931,7 @@
|
|
|
50675
50931
|
ProjectKeyScopes["ReportsWrite"] = "reports.write";
|
|
50676
50932
|
ProjectKeyScopes["PresencesRead"] = "presences.read";
|
|
50677
50933
|
ProjectKeyScopes["PresencesWrite"] = "presences.write";
|
|
50934
|
+
ProjectKeyScopes["DedicatedDatabasesExecute"] = "dedicatedDatabases.execute";
|
|
50678
50935
|
ProjectKeyScopes["BackupsPoliciesRead"] = "backups.policies.read";
|
|
50679
50936
|
ProjectKeyScopes["BackupsPoliciesWrite"] = "backups.policies.write";
|
|
50680
50937
|
ProjectKeyScopes["ArchivesRead"] = "archives.read";
|
|
@@ -50779,7 +51036,6 @@
|
|
|
50779
51036
|
(function (CacheDatabase) {
|
|
50780
51037
|
CacheDatabase["Console"] = "console";
|
|
50781
51038
|
CacheDatabase["Project"] = "project";
|
|
50782
|
-
CacheDatabase["Logs"] = "logs";
|
|
50783
51039
|
})(exports.CacheDatabase || (exports.CacheDatabase = {}));
|
|
50784
51040
|
|
|
50785
51041
|
exports.MessagePriority = void 0;
|
|
@@ -50893,10 +51149,8 @@
|
|
|
50893
51149
|
(function (OrganizationKeyScopes) {
|
|
50894
51150
|
OrganizationKeyScopes["ProjectsRead"] = "projects.read";
|
|
50895
51151
|
OrganizationKeyScopes["ProjectsWrite"] = "projects.write";
|
|
50896
|
-
OrganizationKeyScopes["
|
|
50897
|
-
OrganizationKeyScopes["
|
|
50898
|
-
OrganizationKeyScopes["OrganizationKeysRead"] = "organization.keys.read";
|
|
50899
|
-
OrganizationKeyScopes["OrganizationKeysWrite"] = "organization.keys.write";
|
|
51152
|
+
OrganizationKeyScopes["OrganizationProjectsKeysRead"] = "organization.projects.keys.read";
|
|
51153
|
+
OrganizationKeyScopes["OrganizationProjectsKeysWrite"] = "organization.projects.keys.write";
|
|
50900
51154
|
OrganizationKeyScopes["OrganizationInstallationsRead"] = "organization.installations.read";
|
|
50901
51155
|
OrganizationKeyScopes["OrganizationInstallationsWrite"] = "organization.installations.write";
|
|
50902
51156
|
OrganizationKeyScopes["OrganizationMembershipsRead"] = "organization.memberships.read";
|
|
@@ -51009,6 +51263,7 @@
|
|
|
51009
51263
|
ProjectPolicyId["Passwordhistory"] = "password-history";
|
|
51010
51264
|
ProjectPolicyId["Passwordstrength"] = "password-strength";
|
|
51011
51265
|
ProjectPolicyId["Passwordpersonaldata"] = "password-personal-data";
|
|
51266
|
+
ProjectPolicyId["Passwordpwned"] = "password-pwned";
|
|
51012
51267
|
ProjectPolicyId["Sessionalert"] = "session-alert";
|
|
51013
51268
|
ProjectPolicyId["Sessionduration"] = "session-duration";
|
|
51014
51269
|
ProjectPolicyId["Sessioninvalidation"] = "session-invalidation";
|
|
@@ -51058,12 +51313,6 @@
|
|
|
51058
51313
|
ProjectSMTPSecure["Ssl"] = "ssl";
|
|
51059
51314
|
})(exports.ProjectSMTPSecure || (exports.ProjectSMTPSecure = {}));
|
|
51060
51315
|
|
|
51061
|
-
exports.ProjectUsageRange = void 0;
|
|
51062
|
-
(function (ProjectUsageRange) {
|
|
51063
|
-
ProjectUsageRange["OneHour"] = "1h";
|
|
51064
|
-
ProjectUsageRange["OneDay"] = "1d";
|
|
51065
|
-
})(exports.ProjectUsageRange || (exports.ProjectUsageRange = {}));
|
|
51066
|
-
|
|
51067
51316
|
exports.ScheduleResourceType = void 0;
|
|
51068
51317
|
(function (ScheduleResourceType) {
|
|
51069
51318
|
ScheduleResourceType["Function"] = "function";
|
|
@@ -51112,6 +51361,7 @@
|
|
|
51112
51361
|
Framework["Remix"] = "remix";
|
|
51113
51362
|
Framework["Lynx"] = "lynx";
|
|
51114
51363
|
Framework["Flutter"] = "flutter";
|
|
51364
|
+
Framework["Jaspr"] = "jaspr";
|
|
51115
51365
|
Framework["Reactnative"] = "react-native";
|
|
51116
51366
|
Framework["Vite"] = "vite";
|
|
51117
51367
|
Framework["Other"] = "other";
|
|
@@ -51616,7 +51866,8 @@
|
|
|
51616
51866
|
|
|
51617
51867
|
exports.BillingPlanGroup = void 0;
|
|
51618
51868
|
(function (BillingPlanGroup) {
|
|
51619
|
-
BillingPlanGroup["
|
|
51869
|
+
BillingPlanGroup["Free"] = "free";
|
|
51870
|
+
BillingPlanGroup["Start"] = "start";
|
|
51620
51871
|
BillingPlanGroup["Pro"] = "pro";
|
|
51621
51872
|
BillingPlanGroup["Scale"] = "scale";
|
|
51622
51873
|
})(exports.BillingPlanGroup || (exports.BillingPlanGroup = {}));
|