@appwrite.io/console 12.0.0 → 12.2.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/dist/esm/sdk.js CHANGED
@@ -604,12 +604,13 @@ class Client {
604
604
  locale: '',
605
605
  mode: '',
606
606
  cookie: '',
607
+ session: '',
608
+ devkey: '',
607
609
  impersonateuserid: '',
608
610
  impersonateuseremail: '',
609
611
  impersonateuserphone: '',
610
612
  platform: '',
611
613
  selfSigned: false,
612
- session: undefined,
613
614
  };
614
615
  /**
615
616
  * Custom headers for API requests.
@@ -618,8 +619,8 @@ class Client {
618
619
  'x-sdk-name': 'Console',
619
620
  'x-sdk-platform': 'console',
620
621
  'x-sdk-language': 'web',
621
- 'x-sdk-version': '12.0.0',
622
- 'X-Appwrite-Response-Format': '1.9.3',
622
+ 'x-sdk-version': '12.2.0',
623
+ 'X-Appwrite-Response-Format': '1.9.4',
623
624
  };
624
625
  this.realtime = {
625
626
  socket: undefined,
@@ -928,7 +929,7 @@ class Client {
928
929
  /**
929
930
  * Set Cookie
930
931
  *
931
- * The user cookie to authenticate with
932
+ * The user cookie to authenticate with. Used by SDKs that forward an incoming Cookie header in server-side runtimes.
932
933
  *
933
934
  * @param value string
934
935
  *
@@ -939,6 +940,34 @@ class Client {
939
940
  this.config.cookie = value;
940
941
  return this;
941
942
  }
943
+ /**
944
+ * Set Session
945
+ *
946
+ * The user session to authenticate with
947
+ *
948
+ * @param value string
949
+ *
950
+ * @return {this}
951
+ */
952
+ setSession(value) {
953
+ this.headers['X-Appwrite-Session'] = value;
954
+ this.config.session = value;
955
+ return this;
956
+ }
957
+ /**
958
+ * Set DevKey
959
+ *
960
+ * Your secret dev API key
961
+ *
962
+ * @param value string
963
+ *
964
+ * @return {this}
965
+ */
966
+ setDevKey(value) {
967
+ this.headers['X-Appwrite-Dev-Key'] = value;
968
+ this.config.devkey = value;
969
+ return this;
970
+ }
942
971
  /**
943
972
  * Set ImpersonateUserId
944
973
  *
@@ -4463,6 +4492,47 @@ class Console {
4463
4492
  const apiHeaders = {};
4464
4493
  return this.client.call('get', uri, apiHeaders, payload);
4465
4494
  }
4495
+ suggestQueries(paramsOrFirst, ...rest) {
4496
+ let params;
4497
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('resource' in paramsOrFirst || 'input' in paramsOrFirst || 'databaseId' in paramsOrFirst || 'tableId' in paramsOrFirst))) {
4498
+ params = (paramsOrFirst || {});
4499
+ }
4500
+ else {
4501
+ params = {
4502
+ resource: paramsOrFirst,
4503
+ input: rest[0],
4504
+ databaseId: rest[1],
4505
+ tableId: rest[2]
4506
+ };
4507
+ }
4508
+ const resource = params.resource;
4509
+ const input = params.input;
4510
+ const databaseId = params.databaseId;
4511
+ const tableId = params.tableId;
4512
+ if (typeof resource === 'undefined') {
4513
+ throw new AppwriteException('Missing required parameter: "resource"');
4514
+ }
4515
+ if (typeof input === 'undefined') {
4516
+ throw new AppwriteException('Missing required parameter: "input"');
4517
+ }
4518
+ const apiPath = '/console/suggestions/queries';
4519
+ const payload = {};
4520
+ if (typeof resource !== 'undefined') {
4521
+ payload['resource'] = resource;
4522
+ }
4523
+ if (typeof input !== 'undefined') {
4524
+ payload['input'] = input;
4525
+ }
4526
+ if (typeof databaseId !== 'undefined') {
4527
+ payload['databaseId'] = databaseId;
4528
+ }
4529
+ if (typeof tableId !== 'undefined') {
4530
+ payload['tableId'] = tableId;
4531
+ }
4532
+ const uri = new URL(this.client.config.endpoint + apiPath);
4533
+ const apiHeaders = {};
4534
+ return this.client.call('get', uri, apiHeaders, payload);
4535
+ }
4466
4536
  /**
4467
4537
  * Get all Environment Variables that are relevant for the console.
4468
4538
  *
@@ -5024,6 +5094,132 @@ class Databases {
5024
5094
  const apiHeaders = {};
5025
5095
  return this.client.call('get', uri, apiHeaders, payload);
5026
5096
  }
5097
+ createBigIntAttribute(paramsOrFirst, ...rest) {
5098
+ let params;
5099
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
5100
+ params = (paramsOrFirst || {});
5101
+ }
5102
+ else {
5103
+ params = {
5104
+ databaseId: paramsOrFirst,
5105
+ collectionId: rest[0],
5106
+ key: rest[1],
5107
+ required: rest[2],
5108
+ min: rest[3],
5109
+ max: rest[4],
5110
+ xdefault: rest[5],
5111
+ array: rest[6]
5112
+ };
5113
+ }
5114
+ const databaseId = params.databaseId;
5115
+ const collectionId = params.collectionId;
5116
+ const key = params.key;
5117
+ const required = params.required;
5118
+ const min = params.min;
5119
+ const max = params.max;
5120
+ const xdefault = params.xdefault;
5121
+ const array = params.array;
5122
+ if (typeof databaseId === 'undefined') {
5123
+ throw new AppwriteException('Missing required parameter: "databaseId"');
5124
+ }
5125
+ if (typeof collectionId === 'undefined') {
5126
+ throw new AppwriteException('Missing required parameter: "collectionId"');
5127
+ }
5128
+ if (typeof key === 'undefined') {
5129
+ throw new AppwriteException('Missing required parameter: "key"');
5130
+ }
5131
+ if (typeof required === 'undefined') {
5132
+ throw new AppwriteException('Missing required parameter: "required"');
5133
+ }
5134
+ const apiPath = '/databases/{databaseId}/collections/{collectionId}/attributes/bigint'.replace('{databaseId}', databaseId).replace('{collectionId}', collectionId);
5135
+ const payload = {};
5136
+ if (typeof key !== 'undefined') {
5137
+ payload['key'] = key;
5138
+ }
5139
+ if (typeof required !== 'undefined') {
5140
+ payload['required'] = required;
5141
+ }
5142
+ if (typeof min !== 'undefined') {
5143
+ payload['min'] = min;
5144
+ }
5145
+ if (typeof max !== 'undefined') {
5146
+ payload['max'] = max;
5147
+ }
5148
+ if (typeof xdefault !== 'undefined') {
5149
+ payload['default'] = xdefault;
5150
+ }
5151
+ if (typeof array !== 'undefined') {
5152
+ payload['array'] = array;
5153
+ }
5154
+ const uri = new URL(this.client.config.endpoint + apiPath);
5155
+ const apiHeaders = {
5156
+ 'content-type': 'application/json',
5157
+ };
5158
+ return this.client.call('post', uri, apiHeaders, payload);
5159
+ }
5160
+ updateBigIntAttribute(paramsOrFirst, ...rest) {
5161
+ let params;
5162
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
5163
+ params = (paramsOrFirst || {});
5164
+ }
5165
+ else {
5166
+ params = {
5167
+ databaseId: paramsOrFirst,
5168
+ collectionId: rest[0],
5169
+ key: rest[1],
5170
+ required: rest[2],
5171
+ xdefault: rest[3],
5172
+ min: rest[4],
5173
+ max: rest[5],
5174
+ newKey: rest[6]
5175
+ };
5176
+ }
5177
+ const databaseId = params.databaseId;
5178
+ const collectionId = params.collectionId;
5179
+ const key = params.key;
5180
+ const required = params.required;
5181
+ const xdefault = params.xdefault;
5182
+ const min = params.min;
5183
+ const max = params.max;
5184
+ const newKey = params.newKey;
5185
+ if (typeof databaseId === 'undefined') {
5186
+ throw new AppwriteException('Missing required parameter: "databaseId"');
5187
+ }
5188
+ if (typeof collectionId === 'undefined') {
5189
+ throw new AppwriteException('Missing required parameter: "collectionId"');
5190
+ }
5191
+ if (typeof key === 'undefined') {
5192
+ throw new AppwriteException('Missing required parameter: "key"');
5193
+ }
5194
+ if (typeof required === 'undefined') {
5195
+ throw new AppwriteException('Missing required parameter: "required"');
5196
+ }
5197
+ if (typeof xdefault === 'undefined') {
5198
+ throw new AppwriteException('Missing required parameter: "xdefault"');
5199
+ }
5200
+ const apiPath = '/databases/{databaseId}/collections/{collectionId}/attributes/bigint/{key}'.replace('{databaseId}', databaseId).replace('{collectionId}', collectionId).replace('{key}', key);
5201
+ const payload = {};
5202
+ if (typeof required !== 'undefined') {
5203
+ payload['required'] = required;
5204
+ }
5205
+ if (typeof min !== 'undefined') {
5206
+ payload['min'] = min;
5207
+ }
5208
+ if (typeof max !== 'undefined') {
5209
+ payload['max'] = max;
5210
+ }
5211
+ if (typeof xdefault !== 'undefined') {
5212
+ payload['default'] = xdefault;
5213
+ }
5214
+ if (typeof newKey !== 'undefined') {
5215
+ payload['newKey'] = newKey;
5216
+ }
5217
+ const uri = new URL(this.client.config.endpoint + apiPath);
5218
+ const apiHeaders = {
5219
+ 'content-type': 'application/json',
5220
+ };
5221
+ return this.client.call('patch', uri, apiHeaders, payload);
5222
+ }
5027
5223
  createBooleanAttribute(paramsOrFirst, ...rest) {
5028
5224
  let params;
5029
5225
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -12041,22 +12237,32 @@ class Functions {
12041
12237
  const apiHeaders = {};
12042
12238
  return this.client.call('get', uri, apiHeaders, payload);
12043
12239
  }
12044
- listVariables(paramsOrFirst) {
12240
+ listVariables(paramsOrFirst, ...rest) {
12045
12241
  let params;
12046
12242
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
12047
12243
  params = (paramsOrFirst || {});
12048
12244
  }
12049
12245
  else {
12050
12246
  params = {
12051
- functionId: paramsOrFirst
12247
+ functionId: paramsOrFirst,
12248
+ queries: rest[0],
12249
+ total: rest[1]
12052
12250
  };
12053
12251
  }
12054
12252
  const functionId = params.functionId;
12253
+ const queries = params.queries;
12254
+ const total = params.total;
12055
12255
  if (typeof functionId === 'undefined') {
12056
12256
  throw new AppwriteException('Missing required parameter: "functionId"');
12057
12257
  }
12058
12258
  const apiPath = '/functions/{functionId}/variables'.replace('{functionId}', functionId);
12059
12259
  const payload = {};
12260
+ if (typeof queries !== 'undefined') {
12261
+ payload['queries'] = queries;
12262
+ }
12263
+ if (typeof total !== 'undefined') {
12264
+ payload['total'] = total;
12265
+ }
12060
12266
  const uri = new URL(this.client.config.endpoint + apiPath);
12061
12267
  const apiHeaders = {};
12062
12268
  return this.client.call('get', uri, apiHeaders, payload);
@@ -12069,18 +12275,23 @@ class Functions {
12069
12275
  else {
12070
12276
  params = {
12071
12277
  functionId: paramsOrFirst,
12072
- key: rest[0],
12073
- value: rest[1],
12074
- secret: rest[2]
12278
+ variableId: rest[0],
12279
+ key: rest[1],
12280
+ value: rest[2],
12281
+ secret: rest[3]
12075
12282
  };
12076
12283
  }
12077
12284
  const functionId = params.functionId;
12285
+ const variableId = params.variableId;
12078
12286
  const key = params.key;
12079
12287
  const value = params.value;
12080
12288
  const secret = params.secret;
12081
12289
  if (typeof functionId === 'undefined') {
12082
12290
  throw new AppwriteException('Missing required parameter: "functionId"');
12083
12291
  }
12292
+ if (typeof variableId === 'undefined') {
12293
+ throw new AppwriteException('Missing required parameter: "variableId"');
12294
+ }
12084
12295
  if (typeof key === 'undefined') {
12085
12296
  throw new AppwriteException('Missing required parameter: "key"');
12086
12297
  }
@@ -12089,6 +12300,9 @@ class Functions {
12089
12300
  }
12090
12301
  const apiPath = '/functions/{functionId}/variables'.replace('{functionId}', functionId);
12091
12302
  const payload = {};
12303
+ if (typeof variableId !== 'undefined') {
12304
+ payload['variableId'] = variableId;
12305
+ }
12092
12306
  if (typeof key !== 'undefined') {
12093
12307
  payload['key'] = key;
12094
12308
  }
@@ -12154,9 +12368,6 @@ class Functions {
12154
12368
  if (typeof variableId === 'undefined') {
12155
12369
  throw new AppwriteException('Missing required parameter: "variableId"');
12156
12370
  }
12157
- if (typeof key === 'undefined') {
12158
- throw new AppwriteException('Missing required parameter: "key"');
12159
- }
12160
12371
  const apiPath = '/functions/{functionId}/variables/{variableId}'.replace('{functionId}', functionId).replace('{variableId}', variableId);
12161
12372
  const payload = {};
12162
12373
  if (typeof key !== 'undefined') {
@@ -15929,7 +16140,7 @@ class Migrations {
15929
16140
  }
15930
16141
  createAppwriteMigration(paramsOrFirst, ...rest) {
15931
16142
  let params;
15932
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('resources' in paramsOrFirst || 'endpoint' in paramsOrFirst || 'projectId' in paramsOrFirst || 'apiKey' in paramsOrFirst))) {
16143
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('resources' in paramsOrFirst || 'endpoint' in paramsOrFirst || 'projectId' in paramsOrFirst || 'apiKey' in paramsOrFirst || 'onDuplicate' in paramsOrFirst))) {
15933
16144
  params = (paramsOrFirst || {});
15934
16145
  }
15935
16146
  else {
@@ -15937,13 +16148,15 @@ class Migrations {
15937
16148
  resources: paramsOrFirst,
15938
16149
  endpoint: rest[0],
15939
16150
  projectId: rest[1],
15940
- apiKey: rest[2]
16151
+ apiKey: rest[2],
16152
+ onDuplicate: rest[3]
15941
16153
  };
15942
16154
  }
15943
16155
  const resources = params.resources;
15944
16156
  const endpoint = params.endpoint;
15945
16157
  const projectId = params.projectId;
15946
16158
  const apiKey = params.apiKey;
16159
+ const onDuplicate = params.onDuplicate;
15947
16160
  if (typeof resources === 'undefined') {
15948
16161
  throw new AppwriteException('Missing required parameter: "resources"');
15949
16162
  }
@@ -15970,6 +16183,9 @@ class Migrations {
15970
16183
  if (typeof apiKey !== 'undefined') {
15971
16184
  payload['apiKey'] = apiKey;
15972
16185
  }
16186
+ if (typeof onDuplicate !== 'undefined') {
16187
+ payload['onDuplicate'] = onDuplicate;
16188
+ }
15973
16189
  const uri = new URL(this.client.config.endpoint + apiPath);
15974
16190
  const apiHeaders = {
15975
16191
  'content-type': 'application/json',
@@ -16101,13 +16317,15 @@ class Migrations {
16101
16317
  bucketId: paramsOrFirst,
16102
16318
  fileId: rest[0],
16103
16319
  resourceId: rest[1],
16104
- internalFile: rest[2]
16320
+ internalFile: rest[2],
16321
+ onDuplicate: rest[3]
16105
16322
  };
16106
16323
  }
16107
16324
  const bucketId = params.bucketId;
16108
16325
  const fileId = params.fileId;
16109
16326
  const resourceId = params.resourceId;
16110
16327
  const internalFile = params.internalFile;
16328
+ const onDuplicate = params.onDuplicate;
16111
16329
  if (typeof bucketId === 'undefined') {
16112
16330
  throw new AppwriteException('Missing required parameter: "bucketId"');
16113
16331
  }
@@ -16131,6 +16349,9 @@ class Migrations {
16131
16349
  if (typeof internalFile !== 'undefined') {
16132
16350
  payload['internalFile'] = internalFile;
16133
16351
  }
16352
+ if (typeof onDuplicate !== 'undefined') {
16353
+ payload['onDuplicate'] = onDuplicate;
16354
+ }
16134
16355
  const uri = new URL(this.client.config.endpoint + apiPath);
16135
16356
  const apiHeaders = {
16136
16357
  'content-type': 'application/json',
@@ -16259,13 +16480,15 @@ class Migrations {
16259
16480
  bucketId: paramsOrFirst,
16260
16481
  fileId: rest[0],
16261
16482
  resourceId: rest[1],
16262
- internalFile: rest[2]
16483
+ internalFile: rest[2],
16484
+ onDuplicate: rest[3]
16263
16485
  };
16264
16486
  }
16265
16487
  const bucketId = params.bucketId;
16266
16488
  const fileId = params.fileId;
16267
16489
  const resourceId = params.resourceId;
16268
16490
  const internalFile = params.internalFile;
16491
+ const onDuplicate = params.onDuplicate;
16269
16492
  if (typeof bucketId === 'undefined') {
16270
16493
  throw new AppwriteException('Missing required parameter: "bucketId"');
16271
16494
  }
@@ -16289,6 +16512,9 @@ class Migrations {
16289
16512
  if (typeof internalFile !== 'undefined') {
16290
16513
  payload['internalFile'] = internalFile;
16291
16514
  }
16515
+ if (typeof onDuplicate !== 'undefined') {
16516
+ payload['onDuplicate'] = onDuplicate;
16517
+ }
16292
16518
  const uri = new URL(this.client.config.endpoint + apiPath);
16293
16519
  const apiHeaders = {
16294
16520
  'content-type': 'application/json',
@@ -18592,15 +18818,27 @@ class Project {
18592
18818
  };
18593
18819
  return this.client.call('delete', uri, apiHeaders, payload);
18594
18820
  }
18595
- /**
18596
- * Get a list of all OAuth2 providers supported by the server, along with the project's configuration for each. Credential fields are write-only and always returned empty.
18597
- *
18598
- * @throws {AppwriteException}
18599
- * @returns {Promise<Models.OAuth2ProviderList>}
18600
- */
18601
- listOAuth2Providers() {
18821
+ listOAuth2Providers(paramsOrFirst, ...rest) {
18822
+ let params;
18823
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18824
+ params = (paramsOrFirst || {});
18825
+ }
18826
+ else {
18827
+ params = {
18828
+ queries: paramsOrFirst,
18829
+ total: rest[0]
18830
+ };
18831
+ }
18832
+ const queries = params.queries;
18833
+ const total = params.total;
18602
18834
  const apiPath = '/project/oauth2';
18603
18835
  const payload = {};
18836
+ if (typeof queries !== 'undefined') {
18837
+ payload['queries'] = queries;
18838
+ }
18839
+ if (typeof total !== 'undefined') {
18840
+ payload['total'] = total;
18841
+ }
18604
18842
  const uri = new URL(this.client.config.endpoint + apiPath);
18605
18843
  const apiHeaders = {};
18606
18844
  return this.client.call('get', uri, apiHeaders, payload);
@@ -19429,8 +19667,8 @@ class Project {
19429
19667
  clientSecret: rest[0],
19430
19668
  wellKnownURL: rest[1],
19431
19669
  authorizationURL: rest[2],
19432
- tokenUrl: rest[3],
19433
- userInfoUrl: rest[4],
19670
+ tokenURL: rest[3],
19671
+ userInfoURL: rest[4],
19434
19672
  enabled: rest[5]
19435
19673
  };
19436
19674
  }
@@ -19438,8 +19676,8 @@ class Project {
19438
19676
  const clientSecret = params.clientSecret;
19439
19677
  const wellKnownURL = params.wellKnownURL;
19440
19678
  const authorizationURL = params.authorizationURL;
19441
- const tokenUrl = params.tokenUrl;
19442
- const userInfoUrl = params.userInfoUrl;
19679
+ const tokenURL = params.tokenURL;
19680
+ const userInfoURL = params.userInfoURL;
19443
19681
  const enabled = params.enabled;
19444
19682
  const apiPath = '/project/oauth2/oidc';
19445
19683
  const payload = {};
@@ -19455,11 +19693,11 @@ class Project {
19455
19693
  if (typeof authorizationURL !== 'undefined') {
19456
19694
  payload['authorizationURL'] = authorizationURL;
19457
19695
  }
19458
- if (typeof tokenUrl !== 'undefined') {
19459
- payload['tokenUrl'] = tokenUrl;
19696
+ if (typeof tokenURL !== 'undefined') {
19697
+ payload['tokenURL'] = tokenURL;
19460
19698
  }
19461
- if (typeof userInfoUrl !== 'undefined') {
19462
- payload['userInfoUrl'] = userInfoUrl;
19699
+ if (typeof userInfoURL !== 'undefined') {
19700
+ payload['userInfoURL'] = userInfoURL;
19463
19701
  }
19464
19702
  if (typeof enabled !== 'undefined') {
19465
19703
  payload['enabled'] = enabled;
@@ -20026,19 +20264,19 @@ class Project {
20026
20264
  }
20027
20265
  getOAuth2Provider(paramsOrFirst) {
20028
20266
  let params;
20029
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
20267
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('providerId' in paramsOrFirst))) {
20030
20268
  params = (paramsOrFirst || {});
20031
20269
  }
20032
20270
  else {
20033
20271
  params = {
20034
- provider: paramsOrFirst
20272
+ providerId: paramsOrFirst
20035
20273
  };
20036
20274
  }
20037
- const provider = params.provider;
20038
- if (typeof provider === 'undefined') {
20039
- throw new AppwriteException('Missing required parameter: "provider"');
20275
+ const providerId = params.providerId;
20276
+ if (typeof providerId === 'undefined') {
20277
+ throw new AppwriteException('Missing required parameter: "providerId"');
20040
20278
  }
20041
- const apiPath = '/project/oauth2/{provider}'.replace('{provider}', provider);
20279
+ const apiPath = '/project/oauth2/{providerId}'.replace('{providerId}', providerId);
20042
20280
  const payload = {};
20043
20281
  const uri = new URL(this.client.config.endpoint + apiPath);
20044
20282
  const apiHeaders = {};
@@ -21828,21 +22066,16 @@ class Proxy {
21828
22066
  else {
21829
22067
  params = {
21830
22068
  queries: paramsOrFirst,
21831
- search: rest[0],
21832
- total: rest[1]
22069
+ total: rest[0]
21833
22070
  };
21834
22071
  }
21835
22072
  const queries = params.queries;
21836
- const search = params.search;
21837
22073
  const total = params.total;
21838
22074
  const apiPath = '/proxy/rules';
21839
22075
  const payload = {};
21840
22076
  if (typeof queries !== 'undefined') {
21841
22077
  payload['queries'] = queries;
21842
22078
  }
21843
- if (typeof search !== 'undefined') {
21844
- payload['search'] = search;
21845
- }
21846
22079
  if (typeof total !== 'undefined') {
21847
22080
  payload['total'] = total;
21848
22081
  }
@@ -22050,7 +22283,7 @@ class Proxy {
22050
22283
  };
22051
22284
  return this.client.call('delete', uri, apiHeaders, payload);
22052
22285
  }
22053
- updateRuleVerification(paramsOrFirst) {
22286
+ updateRuleStatus(paramsOrFirst) {
22054
22287
  let params;
22055
22288
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
22056
22289
  params = (paramsOrFirst || {});
@@ -22064,7 +22297,7 @@ class Proxy {
22064
22297
  if (typeof ruleId === 'undefined') {
22065
22298
  throw new AppwriteException('Missing required parameter: "ruleId"');
22066
22299
  }
22067
- const apiPath = '/proxy/rules/{ruleId}/verification'.replace('{ruleId}', ruleId);
22300
+ const apiPath = '/proxy/rules/{ruleId}/status'.replace('{ruleId}', ruleId);
22068
22301
  const payload = {};
22069
22302
  const uri = new URL(this.client.config.endpoint + apiPath);
22070
22303
  const apiHeaders = {
@@ -22990,22 +23223,32 @@ class Sites {
22990
23223
  const apiHeaders = {};
22991
23224
  return this.client.call('get', uri, apiHeaders, payload);
22992
23225
  }
22993
- listVariables(paramsOrFirst) {
23226
+ listVariables(paramsOrFirst, ...rest) {
22994
23227
  let params;
22995
23228
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
22996
23229
  params = (paramsOrFirst || {});
22997
23230
  }
22998
23231
  else {
22999
23232
  params = {
23000
- siteId: paramsOrFirst
23233
+ siteId: paramsOrFirst,
23234
+ queries: rest[0],
23235
+ total: rest[1]
23001
23236
  };
23002
23237
  }
23003
23238
  const siteId = params.siteId;
23239
+ const queries = params.queries;
23240
+ const total = params.total;
23004
23241
  if (typeof siteId === 'undefined') {
23005
23242
  throw new AppwriteException('Missing required parameter: "siteId"');
23006
23243
  }
23007
23244
  const apiPath = '/sites/{siteId}/variables'.replace('{siteId}', siteId);
23008
23245
  const payload = {};
23246
+ if (typeof queries !== 'undefined') {
23247
+ payload['queries'] = queries;
23248
+ }
23249
+ if (typeof total !== 'undefined') {
23250
+ payload['total'] = total;
23251
+ }
23009
23252
  const uri = new URL(this.client.config.endpoint + apiPath);
23010
23253
  const apiHeaders = {};
23011
23254
  return this.client.call('get', uri, apiHeaders, payload);
@@ -23018,18 +23261,23 @@ class Sites {
23018
23261
  else {
23019
23262
  params = {
23020
23263
  siteId: paramsOrFirst,
23021
- key: rest[0],
23022
- value: rest[1],
23023
- secret: rest[2]
23264
+ variableId: rest[0],
23265
+ key: rest[1],
23266
+ value: rest[2],
23267
+ secret: rest[3]
23024
23268
  };
23025
23269
  }
23026
23270
  const siteId = params.siteId;
23271
+ const variableId = params.variableId;
23027
23272
  const key = params.key;
23028
23273
  const value = params.value;
23029
23274
  const secret = params.secret;
23030
23275
  if (typeof siteId === 'undefined') {
23031
23276
  throw new AppwriteException('Missing required parameter: "siteId"');
23032
23277
  }
23278
+ if (typeof variableId === 'undefined') {
23279
+ throw new AppwriteException('Missing required parameter: "variableId"');
23280
+ }
23033
23281
  if (typeof key === 'undefined') {
23034
23282
  throw new AppwriteException('Missing required parameter: "key"');
23035
23283
  }
@@ -23038,6 +23286,9 @@ class Sites {
23038
23286
  }
23039
23287
  const apiPath = '/sites/{siteId}/variables'.replace('{siteId}', siteId);
23040
23288
  const payload = {};
23289
+ if (typeof variableId !== 'undefined') {
23290
+ payload['variableId'] = variableId;
23291
+ }
23041
23292
  if (typeof key !== 'undefined') {
23042
23293
  payload['key'] = key;
23043
23294
  }
@@ -23103,9 +23354,6 @@ class Sites {
23103
23354
  if (typeof variableId === 'undefined') {
23104
23355
  throw new AppwriteException('Missing required parameter: "variableId"');
23105
23356
  }
23106
- if (typeof key === 'undefined') {
23107
- throw new AppwriteException('Missing required parameter: "key"');
23108
- }
23109
23357
  const apiPath = '/sites/{siteId}/variables/{variableId}'.replace('{siteId}', siteId).replace('{variableId}', variableId);
23110
23358
  const payload = {};
23111
23359
  if (typeof key !== 'undefined') {
@@ -24298,6 +24546,132 @@ class TablesDB {
24298
24546
  const apiHeaders = {};
24299
24547
  return this.client.call('get', uri, apiHeaders, payload);
24300
24548
  }
24549
+ createBigIntColumn(paramsOrFirst, ...rest) {
24550
+ let params;
24551
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
24552
+ params = (paramsOrFirst || {});
24553
+ }
24554
+ else {
24555
+ params = {
24556
+ databaseId: paramsOrFirst,
24557
+ tableId: rest[0],
24558
+ key: rest[1],
24559
+ required: rest[2],
24560
+ min: rest[3],
24561
+ max: rest[4],
24562
+ xdefault: rest[5],
24563
+ array: rest[6]
24564
+ };
24565
+ }
24566
+ const databaseId = params.databaseId;
24567
+ const tableId = params.tableId;
24568
+ const key = params.key;
24569
+ const required = params.required;
24570
+ const min = params.min;
24571
+ const max = params.max;
24572
+ const xdefault = params.xdefault;
24573
+ const array = params.array;
24574
+ if (typeof databaseId === 'undefined') {
24575
+ throw new AppwriteException('Missing required parameter: "databaseId"');
24576
+ }
24577
+ if (typeof tableId === 'undefined') {
24578
+ throw new AppwriteException('Missing required parameter: "tableId"');
24579
+ }
24580
+ if (typeof key === 'undefined') {
24581
+ throw new AppwriteException('Missing required parameter: "key"');
24582
+ }
24583
+ if (typeof required === 'undefined') {
24584
+ throw new AppwriteException('Missing required parameter: "required"');
24585
+ }
24586
+ const apiPath = '/tablesdb/{databaseId}/tables/{tableId}/columns/bigint'.replace('{databaseId}', databaseId).replace('{tableId}', tableId);
24587
+ const payload = {};
24588
+ if (typeof key !== 'undefined') {
24589
+ payload['key'] = key;
24590
+ }
24591
+ if (typeof required !== 'undefined') {
24592
+ payload['required'] = required;
24593
+ }
24594
+ if (typeof min !== 'undefined') {
24595
+ payload['min'] = min;
24596
+ }
24597
+ if (typeof max !== 'undefined') {
24598
+ payload['max'] = max;
24599
+ }
24600
+ if (typeof xdefault !== 'undefined') {
24601
+ payload['default'] = xdefault;
24602
+ }
24603
+ if (typeof array !== 'undefined') {
24604
+ payload['array'] = array;
24605
+ }
24606
+ const uri = new URL(this.client.config.endpoint + apiPath);
24607
+ const apiHeaders = {
24608
+ 'content-type': 'application/json',
24609
+ };
24610
+ return this.client.call('post', uri, apiHeaders, payload);
24611
+ }
24612
+ updateBigIntColumn(paramsOrFirst, ...rest) {
24613
+ let params;
24614
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
24615
+ params = (paramsOrFirst || {});
24616
+ }
24617
+ else {
24618
+ params = {
24619
+ databaseId: paramsOrFirst,
24620
+ tableId: rest[0],
24621
+ key: rest[1],
24622
+ required: rest[2],
24623
+ xdefault: rest[3],
24624
+ min: rest[4],
24625
+ max: rest[5],
24626
+ newKey: rest[6]
24627
+ };
24628
+ }
24629
+ const databaseId = params.databaseId;
24630
+ const tableId = params.tableId;
24631
+ const key = params.key;
24632
+ const required = params.required;
24633
+ const xdefault = params.xdefault;
24634
+ const min = params.min;
24635
+ const max = params.max;
24636
+ const newKey = params.newKey;
24637
+ if (typeof databaseId === 'undefined') {
24638
+ throw new AppwriteException('Missing required parameter: "databaseId"');
24639
+ }
24640
+ if (typeof tableId === 'undefined') {
24641
+ throw new AppwriteException('Missing required parameter: "tableId"');
24642
+ }
24643
+ if (typeof key === 'undefined') {
24644
+ throw new AppwriteException('Missing required parameter: "key"');
24645
+ }
24646
+ if (typeof required === 'undefined') {
24647
+ throw new AppwriteException('Missing required parameter: "required"');
24648
+ }
24649
+ if (typeof xdefault === 'undefined') {
24650
+ throw new AppwriteException('Missing required parameter: "xdefault"');
24651
+ }
24652
+ const apiPath = '/tablesdb/{databaseId}/tables/{tableId}/columns/bigint/{key}'.replace('{databaseId}', databaseId).replace('{tableId}', tableId).replace('{key}', key);
24653
+ const payload = {};
24654
+ if (typeof required !== 'undefined') {
24655
+ payload['required'] = required;
24656
+ }
24657
+ if (typeof min !== 'undefined') {
24658
+ payload['min'] = min;
24659
+ }
24660
+ if (typeof max !== 'undefined') {
24661
+ payload['max'] = max;
24662
+ }
24663
+ if (typeof xdefault !== 'undefined') {
24664
+ payload['default'] = xdefault;
24665
+ }
24666
+ if (typeof newKey !== 'undefined') {
24667
+ payload['newKey'] = newKey;
24668
+ }
24669
+ const uri = new URL(this.client.config.endpoint + apiPath);
24670
+ const apiHeaders = {
24671
+ 'content-type': 'application/json',
24672
+ };
24673
+ return this.client.call('patch', uri, apiHeaders, payload);
24674
+ }
24301
24675
  createBooleanColumn(paramsOrFirst, ...rest) {
24302
24676
  let params;
24303
24677
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -29393,11 +29767,15 @@ class Vcs {
29393
29767
  else {
29394
29768
  params = {
29395
29769
  installationId: paramsOrFirst,
29396
- providerRepositoryId: rest[0]
29770
+ providerRepositoryId: rest[0],
29771
+ search: rest[1],
29772
+ queries: rest[2]
29397
29773
  };
29398
29774
  }
29399
29775
  const installationId = params.installationId;
29400
29776
  const providerRepositoryId = params.providerRepositoryId;
29777
+ const search = params.search;
29778
+ const queries = params.queries;
29401
29779
  if (typeof installationId === 'undefined') {
29402
29780
  throw new AppwriteException('Missing required parameter: "installationId"');
29403
29781
  }
@@ -29406,6 +29784,12 @@ class Vcs {
29406
29784
  }
29407
29785
  const apiPath = '/vcs/github/installations/{installationId}/providerRepositories/{providerRepositoryId}/branches'.replace('{installationId}', installationId).replace('{providerRepositoryId}', providerRepositoryId);
29408
29786
  const payload = {};
29787
+ if (typeof search !== 'undefined') {
29788
+ payload['search'] = search;
29789
+ }
29790
+ if (typeof queries !== 'undefined') {
29791
+ payload['queries'] = queries;
29792
+ }
29409
29793
  const uri = new URL(this.client.config.endpoint + apiPath);
29410
29794
  const apiHeaders = {};
29411
29795
  return this.client.call('get', uri, apiHeaders, payload);
@@ -31978,6 +32362,8 @@ var Scopes;
31978
32362
  Scopes["MocksWrite"] = "mocks.write";
31979
32363
  Scopes["PoliciesRead"] = "policies.read";
31980
32364
  Scopes["PoliciesWrite"] = "policies.write";
32365
+ Scopes["ProjectPoliciesRead"] = "project.policies.read";
32366
+ Scopes["ProjectPoliciesWrite"] = "project.policies.write";
31981
32367
  Scopes["TemplatesRead"] = "templates.read";
31982
32368
  Scopes["TemplatesWrite"] = "templates.write";
31983
32369
  Scopes["Oauth2Read"] = "oauth2.read";
@@ -32028,6 +32414,8 @@ var Scopes;
32028
32414
  Scopes["TargetsWrite"] = "targets.write";
32029
32415
  Scopes["MessagesRead"] = "messages.read";
32030
32416
  Scopes["MessagesWrite"] = "messages.write";
32417
+ Scopes["RulesRead"] = "rules.read";
32418
+ Scopes["RulesWrite"] = "rules.write";
32031
32419
  Scopes["WebhooksRead"] = "webhooks.read";
32032
32420
  Scopes["WebhooksWrite"] = "webhooks.write";
32033
32421
  Scopes["LocaleRead"] = "locale.read";
@@ -32040,8 +32428,8 @@ var Scopes;
32040
32428
  Scopes["SchedulesWrite"] = "schedules.write";
32041
32429
  Scopes["VcsRead"] = "vcs.read";
32042
32430
  Scopes["VcsWrite"] = "vcs.write";
32043
- Scopes["RulesRead"] = "rules.read";
32044
- Scopes["RulesWrite"] = "rules.write";
32431
+ Scopes["BackupsPoliciesRead"] = "backups.policies.read";
32432
+ Scopes["BackupsPoliciesWrite"] = "backups.policies.write";
32045
32433
  Scopes["ArchivesRead"] = "archives.read";
32046
32434
  Scopes["ArchivesWrite"] = "archives.write";
32047
32435
  Scopes["RestorationsRead"] = "restorations.read";
@@ -32113,6 +32501,8 @@ var OAuthProvider;
32113
32501
  OAuthProvider["Yandex"] = "yandex";
32114
32502
  OAuthProvider["Zoho"] = "zoho";
32115
32503
  OAuthProvider["Zoom"] = "zoom";
32504
+ OAuthProvider["GithubImagine"] = "githubImagine";
32505
+ OAuthProvider["GoogleImagine"] = "googleImagine";
32116
32506
  })(OAuthProvider || (OAuthProvider = {}));
32117
32507
 
32118
32508
  var Browser;
@@ -32838,6 +33228,82 @@ var ConsoleResourceType;
32838
33228
  ConsoleResourceType["Rules"] = "rules";
32839
33229
  })(ConsoleResourceType || (ConsoleResourceType = {}));
32840
33230
 
33231
+ var QuerySuggestionResource;
33232
+ (function (QuerySuggestionResource) {
33233
+ QuerySuggestionResource["Activities"] = "activities";
33234
+ QuerySuggestionResource["ActivityEvents"] = "activityevents";
33235
+ QuerySuggestionResource["Archives"] = "archives";
33236
+ QuerySuggestionResource["Credits"] = "credits";
33237
+ QuerySuggestionResource["DnsRecords"] = "dnsrecords";
33238
+ QuerySuggestionResource["Domains"] = "domains";
33239
+ QuerySuggestionResource["Invoices"] = "invoices";
33240
+ QuerySuggestionResource["PaymentMethods"] = "paymentmethods";
33241
+ QuerySuggestionResource["Policies"] = "policies";
33242
+ QuerySuggestionResource["Projects"] = "projects";
33243
+ QuerySuggestionResource["Restorations"] = "restorations";
33244
+ QuerySuggestionResource["TeamAggregations"] = "teamaggregations";
33245
+ QuerySuggestionResource["Teams"] = "teams";
33246
+ QuerySuggestionResource["Databases"] = "databases";
33247
+ QuerySuggestionResource["Tables"] = "tables";
33248
+ QuerySuggestionResource["Rows"] = "rows";
33249
+ QuerySuggestionResource["Schedules"] = "schedules";
33250
+ QuerySuggestionResource["Platforms"] = "platforms";
33251
+ QuerySuggestionResource["Keys"] = "keys";
33252
+ QuerySuggestionResource["DevKeys"] = "devkeys";
33253
+ QuerySuggestionResource["Webhooks"] = "webhooks";
33254
+ QuerySuggestionResource["Certificates"] = "certificates";
33255
+ QuerySuggestionResource["Realtime"] = "realtime";
33256
+ QuerySuggestionResource["Rules"] = "rules";
33257
+ QuerySuggestionResource["Installations"] = "installations";
33258
+ QuerySuggestionResource["Repositories"] = "repositories";
33259
+ QuerySuggestionResource["VcsComments"] = "vcscomments";
33260
+ QuerySuggestionResource["VcsCommentLocks"] = "vcscommentlocks";
33261
+ QuerySuggestionResource["Users"] = "users";
33262
+ QuerySuggestionResource["Cache"] = "cache";
33263
+ QuerySuggestionResource["Tokens"] = "tokens";
33264
+ QuerySuggestionResource["Authenticators"] = "authenticators";
33265
+ QuerySuggestionResource["Challenges"] = "challenges";
33266
+ QuerySuggestionResource["Sessions"] = "sessions";
33267
+ QuerySuggestionResource["Identities"] = "identities";
33268
+ QuerySuggestionResource["Memberships"] = "memberships";
33269
+ QuerySuggestionResource["Buckets"] = "buckets";
33270
+ QuerySuggestionResource["Providers"] = "providers";
33271
+ QuerySuggestionResource["Messages"] = "messages";
33272
+ QuerySuggestionResource["Topics"] = "topics";
33273
+ QuerySuggestionResource["Subscribers"] = "subscribers";
33274
+ QuerySuggestionResource["Targets"] = "targets";
33275
+ QuerySuggestionResource["Companies"] = "companies";
33276
+ QuerySuggestionResource["BillingAddresses"] = "billingaddresses";
33277
+ QuerySuggestionResource["BillingAggregations"] = "billingaggregations";
33278
+ QuerySuggestionResource["BillingAggregationResources"] = "billingaggregationresources";
33279
+ QuerySuggestionResource["BillingTeamProjectAggregations"] = "billingteamprojectaggregations";
33280
+ QuerySuggestionResource["BillingTeamAggregationsV2"] = "billingteamaggregations_v2";
33281
+ QuerySuggestionResource["BillingTeamAggregationResources"] = "billingteamaggregationresources";
33282
+ QuerySuggestionResource["BillingInvoicesV2"] = "billinginvoices_v2";
33283
+ QuerySuggestionResource["BillingAddons"] = "billingaddons";
33284
+ QuerySuggestionResource["Alerts"] = "alerts";
33285
+ QuerySuggestionResource["Payments"] = "payments";
33286
+ QuerySuggestionResource["BillingDiscounts"] = "billingdiscounts";
33287
+ QuerySuggestionResource["Sources"] = "sources";
33288
+ QuerySuggestionResource["Deals"] = "deals";
33289
+ QuerySuggestionResource["Blocks"] = "blocks";
33290
+ QuerySuggestionResource["Threats"] = "threats";
33291
+ QuerySuggestionResource["Feedbacks"] = "feedbacks";
33292
+ QuerySuggestionResource["ShInstallations"] = "sh_installations";
33293
+ QuerySuggestionResource["Attributes"] = "attributes";
33294
+ QuerySuggestionResource["Indexes"] = "indexes";
33295
+ QuerySuggestionResource["Functions"] = "functions";
33296
+ QuerySuggestionResource["Sites"] = "sites";
33297
+ QuerySuggestionResource["Deployments"] = "deployments";
33298
+ QuerySuggestionResource["Executions"] = "executions";
33299
+ QuerySuggestionResource["Variables"] = "variables";
33300
+ QuerySuggestionResource["Migrations"] = "migrations";
33301
+ QuerySuggestionResource["ResourceTokens"] = "resourcetokens";
33302
+ QuerySuggestionResource["Transactions"] = "transactions";
33303
+ QuerySuggestionResource["TransactionLogs"] = "transactionlogs";
33304
+ QuerySuggestionResource["Stats"] = "stats";
33305
+ })(QuerySuggestionResource || (QuerySuggestionResource = {}));
33306
+
32841
33307
  var UsageRange;
32842
33308
  (function (UsageRange) {
32843
33309
  UsageRange["TwentyFourHours"] = "24h";
@@ -33207,6 +33673,13 @@ var AppwriteMigrationResource;
33207
33673
  AppwriteMigrationResource["Backuppolicy"] = "backup-policy";
33208
33674
  })(AppwriteMigrationResource || (AppwriteMigrationResource = {}));
33209
33675
 
33676
+ var OnDuplicate;
33677
+ (function (OnDuplicate) {
33678
+ OnDuplicate["Fail"] = "fail";
33679
+ OnDuplicate["Skip"] = "skip";
33680
+ OnDuplicate["Overwrite"] = "overwrite";
33681
+ })(OnDuplicate || (OnDuplicate = {}));
33682
+
33210
33683
  var FirebaseMigrationResource;
33211
33684
  (function (FirebaseMigrationResource) {
33212
33685
  FirebaseMigrationResource["User"] = "user";
@@ -33256,29 +33729,29 @@ var Addon;
33256
33729
  Addon["Baa"] = "baa";
33257
33730
  })(Addon || (Addon = {}));
33258
33731
 
33259
- var MethodId;
33260
- (function (MethodId) {
33261
- MethodId["Emailpassword"] = "email-password";
33262
- MethodId["Magicurl"] = "magic-url";
33263
- MethodId["Emailotp"] = "email-otp";
33264
- MethodId["Anonymous"] = "anonymous";
33265
- MethodId["Invites"] = "invites";
33266
- MethodId["Jwt"] = "jwt";
33267
- MethodId["Phone"] = "phone";
33268
- })(MethodId || (MethodId = {}));
33732
+ var AuthMethod;
33733
+ (function (AuthMethod) {
33734
+ AuthMethod["Emailpassword"] = "email-password";
33735
+ AuthMethod["Magicurl"] = "magic-url";
33736
+ AuthMethod["Emailotp"] = "email-otp";
33737
+ AuthMethod["Anonymous"] = "anonymous";
33738
+ AuthMethod["Invites"] = "invites";
33739
+ AuthMethod["Jwt"] = "jwt";
33740
+ AuthMethod["Phone"] = "phone";
33741
+ })(AuthMethod || (AuthMethod = {}));
33269
33742
 
33270
- var PolicyId;
33271
- (function (PolicyId) {
33272
- PolicyId["Passworddictionary"] = "password-dictionary";
33273
- PolicyId["Passwordhistory"] = "password-history";
33274
- PolicyId["Passwordpersonaldata"] = "password-personal-data";
33275
- PolicyId["Sessionalert"] = "session-alert";
33276
- PolicyId["Sessionduration"] = "session-duration";
33277
- PolicyId["Sessioninvalidation"] = "session-invalidation";
33278
- PolicyId["Sessionlimit"] = "session-limit";
33279
- PolicyId["Userlimit"] = "user-limit";
33280
- PolicyId["Membershipprivacy"] = "membership-privacy";
33281
- })(PolicyId || (PolicyId = {}));
33743
+ var ProjectPolicy;
33744
+ (function (ProjectPolicy) {
33745
+ ProjectPolicy["Passworddictionary"] = "password-dictionary";
33746
+ ProjectPolicy["Passwordhistory"] = "password-history";
33747
+ ProjectPolicy["Passwordpersonaldata"] = "password-personal-data";
33748
+ ProjectPolicy["Sessionalert"] = "session-alert";
33749
+ ProjectPolicy["Sessionduration"] = "session-duration";
33750
+ ProjectPolicy["Sessioninvalidation"] = "session-invalidation";
33751
+ ProjectPolicy["Sessionlimit"] = "session-limit";
33752
+ ProjectPolicy["Userlimit"] = "user-limit";
33753
+ ProjectPolicy["Membershipprivacy"] = "membership-privacy";
33754
+ })(ProjectPolicy || (ProjectPolicy = {}));
33282
33755
 
33283
33756
  var ProtocolId;
33284
33757
  (function (ProtocolId) {
@@ -33804,10 +34277,9 @@ var ProxyRuleDeploymentResourceType;
33804
34277
 
33805
34278
  var ProxyRuleStatus;
33806
34279
  (function (ProxyRuleStatus) {
33807
- ProxyRuleStatus["Created"] = "created";
34280
+ ProxyRuleStatus["Unverified"] = "unverified";
33808
34281
  ProxyRuleStatus["Verifying"] = "verifying";
33809
34282
  ProxyRuleStatus["Verified"] = "verified";
33810
- ProxyRuleStatus["Unverified"] = "unverified";
33811
34283
  })(ProxyRuleStatus || (ProxyRuleStatus = {}));
33812
34284
 
33813
34285
  var MessageStatus;
@@ -33846,5 +34318,5 @@ var DomainPurchaseStatus;
33846
34318
  DomainPurchaseStatus["Cancelled"] = "cancelled";
33847
34319
  })(DomainPurchaseStatus || (DomainPurchaseStatus = {}));
33848
34320
 
33849
- export { Account, Activities, Adapter, Addon, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DatabasesIndexType, DeploymentDownloadType, DeploymentStatus, DetectionFrameworkType, DetectionRuntimeType, DocumentsDB, DocumentsDBIndexType, DomainPurchaseStatus, DomainTransferStatusEnum, Domains, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FilterType, FirebaseMigrationResource, Flag, Framework, Frameworks, Functions, Graphql, Health, HealthAntivirusStatus, HealthCheckStatus, ID, ImageFormat, ImageGravity, IndexStatus, Locale, Manager, MessagePriority, MessageStatus, Messaging, MessagingProviderType, MethodId, Migrations, Model, NHostMigrationResource, Name, OAuthProvider, Operator, OrderBy, Organizations, PasswordHash, Permission, Platform, PlatformType, PolicyId, Project, ProjectUsageRange, Projects, ProtocolId, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, Realtime, Region, RegistrationType, RelationMutate, RelationshipType, ResourceType, Role, Runtime, Runtimes, Scopes, Secure, ServiceId, Sites, SmtpEncryption, Status, StatusCode, Storage, SupabaseMigrationResource, TablesDB, TablesDBIndexType, Teams, TemplateReferenceType, Theme, Timezone, Tokens, UsageRange, UseCases, Users, VCSDetectionType, VCSReferenceType, Vcs, VectorsDB, VectorsDBIndexType, Webhooks };
34321
+ export { Account, Activities, Adapter, Addon, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DatabasesIndexType, DeploymentDownloadType, DeploymentStatus, DetectionFrameworkType, DetectionRuntimeType, DocumentsDB, DocumentsDBIndexType, DomainPurchaseStatus, DomainTransferStatusEnum, Domains, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FilterType, FirebaseMigrationResource, Flag, Framework, Frameworks, Functions, Graphql, Health, HealthAntivirusStatus, HealthCheckStatus, ID, ImageFormat, ImageGravity, IndexStatus, Locale, Manager, MessagePriority, MessageStatus, Messaging, MessagingProviderType, Migrations, Model, NHostMigrationResource, Name, OAuthProvider, OnDuplicate, Operator, OrderBy, Organizations, PasswordHash, Permission, Platform, PlatformType, Project, ProjectPolicy, ProjectUsageRange, Projects, ProtocolId, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, QuerySuggestionResource, Realtime, Region, RegistrationType, RelationMutate, RelationshipType, ResourceType, Role, Runtime, Runtimes, Scopes, Secure, ServiceId, Sites, SmtpEncryption, Status, StatusCode, Storage, SupabaseMigrationResource, TablesDB, TablesDBIndexType, Teams, TemplateReferenceType, Theme, Timezone, Tokens, UsageRange, UseCases, Users, VCSDetectionType, VCSReferenceType, Vcs, VectorsDB, VectorsDBIndexType, Webhooks };
33850
34322
  //# sourceMappingURL=sdk.js.map