@appwrite.io/console 12.1.0 → 13.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/dist/esm/sdk.js CHANGED
@@ -619,8 +619,8 @@ class Client {
619
619
  'x-sdk-name': 'Console',
620
620
  'x-sdk-platform': 'console',
621
621
  'x-sdk-language': 'web',
622
- 'x-sdk-version': '12.1.0',
623
- 'X-Appwrite-Response-Format': '1.9.3',
622
+ 'x-sdk-version': '13.0.0',
623
+ 'X-Appwrite-Response-Format': '1.9.4',
624
624
  };
625
625
  this.realtime = {
626
626
  socket: undefined,
@@ -5094,6 +5094,132 @@ class Databases {
5094
5094
  const apiHeaders = {};
5095
5095
  return this.client.call('get', uri, apiHeaders, payload);
5096
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
+ }
5097
5223
  createBooleanAttribute(paramsOrFirst, ...rest) {
5098
5224
  let params;
5099
5225
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -12111,22 +12237,32 @@ class Functions {
12111
12237
  const apiHeaders = {};
12112
12238
  return this.client.call('get', uri, apiHeaders, payload);
12113
12239
  }
12114
- listVariables(paramsOrFirst) {
12240
+ listVariables(paramsOrFirst, ...rest) {
12115
12241
  let params;
12116
12242
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
12117
12243
  params = (paramsOrFirst || {});
12118
12244
  }
12119
12245
  else {
12120
12246
  params = {
12121
- functionId: paramsOrFirst
12247
+ functionId: paramsOrFirst,
12248
+ queries: rest[0],
12249
+ total: rest[1]
12122
12250
  };
12123
12251
  }
12124
12252
  const functionId = params.functionId;
12253
+ const queries = params.queries;
12254
+ const total = params.total;
12125
12255
  if (typeof functionId === 'undefined') {
12126
12256
  throw new AppwriteException('Missing required parameter: "functionId"');
12127
12257
  }
12128
12258
  const apiPath = '/functions/{functionId}/variables'.replace('{functionId}', functionId);
12129
12259
  const payload = {};
12260
+ if (typeof queries !== 'undefined') {
12261
+ payload['queries'] = queries;
12262
+ }
12263
+ if (typeof total !== 'undefined') {
12264
+ payload['total'] = total;
12265
+ }
12130
12266
  const uri = new URL(this.client.config.endpoint + apiPath);
12131
12267
  const apiHeaders = {};
12132
12268
  return this.client.call('get', uri, apiHeaders, payload);
@@ -12139,18 +12275,23 @@ class Functions {
12139
12275
  else {
12140
12276
  params = {
12141
12277
  functionId: paramsOrFirst,
12142
- key: rest[0],
12143
- value: rest[1],
12144
- secret: rest[2]
12278
+ variableId: rest[0],
12279
+ key: rest[1],
12280
+ value: rest[2],
12281
+ secret: rest[3]
12145
12282
  };
12146
12283
  }
12147
12284
  const functionId = params.functionId;
12285
+ const variableId = params.variableId;
12148
12286
  const key = params.key;
12149
12287
  const value = params.value;
12150
12288
  const secret = params.secret;
12151
12289
  if (typeof functionId === 'undefined') {
12152
12290
  throw new AppwriteException('Missing required parameter: "functionId"');
12153
12291
  }
12292
+ if (typeof variableId === 'undefined') {
12293
+ throw new AppwriteException('Missing required parameter: "variableId"');
12294
+ }
12154
12295
  if (typeof key === 'undefined') {
12155
12296
  throw new AppwriteException('Missing required parameter: "key"');
12156
12297
  }
@@ -12159,6 +12300,9 @@ class Functions {
12159
12300
  }
12160
12301
  const apiPath = '/functions/{functionId}/variables'.replace('{functionId}', functionId);
12161
12302
  const payload = {};
12303
+ if (typeof variableId !== 'undefined') {
12304
+ payload['variableId'] = variableId;
12305
+ }
12162
12306
  if (typeof key !== 'undefined') {
12163
12307
  payload['key'] = key;
12164
12308
  }
@@ -12224,9 +12368,6 @@ class Functions {
12224
12368
  if (typeof variableId === 'undefined') {
12225
12369
  throw new AppwriteException('Missing required parameter: "variableId"');
12226
12370
  }
12227
- if (typeof key === 'undefined') {
12228
- throw new AppwriteException('Missing required parameter: "key"');
12229
- }
12230
12371
  const apiPath = '/functions/{functionId}/variables/{variableId}'.replace('{functionId}', functionId).replace('{variableId}', variableId);
12231
12372
  const payload = {};
12232
12373
  if (typeof key !== 'undefined') {
@@ -15999,7 +16140,7 @@ class Migrations {
15999
16140
  }
16000
16141
  createAppwriteMigration(paramsOrFirst, ...rest) {
16001
16142
  let params;
16002
- 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))) {
16003
16144
  params = (paramsOrFirst || {});
16004
16145
  }
16005
16146
  else {
@@ -16007,13 +16148,15 @@ class Migrations {
16007
16148
  resources: paramsOrFirst,
16008
16149
  endpoint: rest[0],
16009
16150
  projectId: rest[1],
16010
- apiKey: rest[2]
16151
+ apiKey: rest[2],
16152
+ onDuplicate: rest[3]
16011
16153
  };
16012
16154
  }
16013
16155
  const resources = params.resources;
16014
16156
  const endpoint = params.endpoint;
16015
16157
  const projectId = params.projectId;
16016
16158
  const apiKey = params.apiKey;
16159
+ const onDuplicate = params.onDuplicate;
16017
16160
  if (typeof resources === 'undefined') {
16018
16161
  throw new AppwriteException('Missing required parameter: "resources"');
16019
16162
  }
@@ -16040,6 +16183,9 @@ class Migrations {
16040
16183
  if (typeof apiKey !== 'undefined') {
16041
16184
  payload['apiKey'] = apiKey;
16042
16185
  }
16186
+ if (typeof onDuplicate !== 'undefined') {
16187
+ payload['onDuplicate'] = onDuplicate;
16188
+ }
16043
16189
  const uri = new URL(this.client.config.endpoint + apiPath);
16044
16190
  const apiHeaders = {
16045
16191
  'content-type': 'application/json',
@@ -16171,13 +16317,15 @@ class Migrations {
16171
16317
  bucketId: paramsOrFirst,
16172
16318
  fileId: rest[0],
16173
16319
  resourceId: rest[1],
16174
- internalFile: rest[2]
16320
+ internalFile: rest[2],
16321
+ onDuplicate: rest[3]
16175
16322
  };
16176
16323
  }
16177
16324
  const bucketId = params.bucketId;
16178
16325
  const fileId = params.fileId;
16179
16326
  const resourceId = params.resourceId;
16180
16327
  const internalFile = params.internalFile;
16328
+ const onDuplicate = params.onDuplicate;
16181
16329
  if (typeof bucketId === 'undefined') {
16182
16330
  throw new AppwriteException('Missing required parameter: "bucketId"');
16183
16331
  }
@@ -16201,6 +16349,9 @@ class Migrations {
16201
16349
  if (typeof internalFile !== 'undefined') {
16202
16350
  payload['internalFile'] = internalFile;
16203
16351
  }
16352
+ if (typeof onDuplicate !== 'undefined') {
16353
+ payload['onDuplicate'] = onDuplicate;
16354
+ }
16204
16355
  const uri = new URL(this.client.config.endpoint + apiPath);
16205
16356
  const apiHeaders = {
16206
16357
  'content-type': 'application/json',
@@ -16329,13 +16480,15 @@ class Migrations {
16329
16480
  bucketId: paramsOrFirst,
16330
16481
  fileId: rest[0],
16331
16482
  resourceId: rest[1],
16332
- internalFile: rest[2]
16483
+ internalFile: rest[2],
16484
+ onDuplicate: rest[3]
16333
16485
  };
16334
16486
  }
16335
16487
  const bucketId = params.bucketId;
16336
16488
  const fileId = params.fileId;
16337
16489
  const resourceId = params.resourceId;
16338
16490
  const internalFile = params.internalFile;
16491
+ const onDuplicate = params.onDuplicate;
16339
16492
  if (typeof bucketId === 'undefined') {
16340
16493
  throw new AppwriteException('Missing required parameter: "bucketId"');
16341
16494
  }
@@ -16359,6 +16512,9 @@ class Migrations {
16359
16512
  if (typeof internalFile !== 'undefined') {
16360
16513
  payload['internalFile'] = internalFile;
16361
16514
  }
16515
+ if (typeof onDuplicate !== 'undefined') {
16516
+ payload['onDuplicate'] = onDuplicate;
16517
+ }
16362
16518
  const uri = new URL(this.client.config.endpoint + apiPath);
16363
16519
  const apiHeaders = {
16364
16520
  'content-type': 'application/json',
@@ -18243,81 +18399,6 @@ class Project {
18243
18399
  };
18244
18400
  return this.client.call('patch', uri, apiHeaders, payload);
18245
18401
  }
18246
- updateCanonicalEmails(paramsOrFirst) {
18247
- let params;
18248
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18249
- params = (paramsOrFirst || {});
18250
- }
18251
- else {
18252
- params = {
18253
- enabled: paramsOrFirst
18254
- };
18255
- }
18256
- const enabled = params.enabled;
18257
- if (typeof enabled === 'undefined') {
18258
- throw new AppwriteException('Missing required parameter: "enabled"');
18259
- }
18260
- const apiPath = '/project/auth/canonical-emails';
18261
- const payload = {};
18262
- if (typeof enabled !== 'undefined') {
18263
- payload['enabled'] = enabled;
18264
- }
18265
- const uri = new URL(this.client.config.endpoint + apiPath);
18266
- const apiHeaders = {
18267
- 'content-type': 'application/json',
18268
- };
18269
- return this.client.call('patch', uri, apiHeaders, payload);
18270
- }
18271
- updateDisposableEmails(paramsOrFirst) {
18272
- let params;
18273
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18274
- params = (paramsOrFirst || {});
18275
- }
18276
- else {
18277
- params = {
18278
- enabled: paramsOrFirst
18279
- };
18280
- }
18281
- const enabled = params.enabled;
18282
- if (typeof enabled === 'undefined') {
18283
- throw new AppwriteException('Missing required parameter: "enabled"');
18284
- }
18285
- const apiPath = '/project/auth/disposable-emails';
18286
- const payload = {};
18287
- if (typeof enabled !== 'undefined') {
18288
- payload['enabled'] = enabled;
18289
- }
18290
- const uri = new URL(this.client.config.endpoint + apiPath);
18291
- const apiHeaders = {
18292
- 'content-type': 'application/json',
18293
- };
18294
- return this.client.call('patch', uri, apiHeaders, payload);
18295
- }
18296
- updateFreeEmails(paramsOrFirst) {
18297
- let params;
18298
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18299
- params = (paramsOrFirst || {});
18300
- }
18301
- else {
18302
- params = {
18303
- enabled: paramsOrFirst
18304
- };
18305
- }
18306
- const enabled = params.enabled;
18307
- if (typeof enabled === 'undefined') {
18308
- throw new AppwriteException('Missing required parameter: "enabled"');
18309
- }
18310
- const apiPath = '/project/auth/free-emails';
18311
- const payload = {};
18312
- if (typeof enabled !== 'undefined') {
18313
- payload['enabled'] = enabled;
18314
- }
18315
- const uri = new URL(this.client.config.endpoint + apiPath);
18316
- const apiHeaders = {
18317
- 'content-type': 'application/json',
18318
- };
18319
- return this.client.call('patch', uri, apiHeaders, payload);
18320
- }
18321
18402
  listKeys(paramsOrFirst, ...rest) {
18322
18403
  let params;
18323
18404
  if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -18662,15 +18743,27 @@ class Project {
18662
18743
  };
18663
18744
  return this.client.call('delete', uri, apiHeaders, payload);
18664
18745
  }
18665
- /**
18666
- * 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.
18667
- *
18668
- * @throws {AppwriteException}
18669
- * @returns {Promise<Models.OAuth2ProviderList>}
18670
- */
18671
- listOAuth2Providers() {
18746
+ listOAuth2Providers(paramsOrFirst, ...rest) {
18747
+ let params;
18748
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18749
+ params = (paramsOrFirst || {});
18750
+ }
18751
+ else {
18752
+ params = {
18753
+ queries: paramsOrFirst,
18754
+ total: rest[0]
18755
+ };
18756
+ }
18757
+ const queries = params.queries;
18758
+ const total = params.total;
18672
18759
  const apiPath = '/project/oauth2';
18673
18760
  const payload = {};
18761
+ if (typeof queries !== 'undefined') {
18762
+ payload['queries'] = queries;
18763
+ }
18764
+ if (typeof total !== 'undefined') {
18765
+ payload['total'] = total;
18766
+ }
18674
18767
  const uri = new URL(this.client.config.endpoint + apiPath);
18675
18768
  const apiHeaders = {};
18676
18769
  return this.client.call('get', uri, apiHeaders, payload);
@@ -19290,11 +19383,13 @@ class Project {
19290
19383
  params = {
19291
19384
  clientId: paramsOrFirst,
19292
19385
  clientSecret: rest[0],
19293
- enabled: rest[1]
19386
+ prompt: rest[1],
19387
+ enabled: rest[2]
19294
19388
  };
19295
19389
  }
19296
19390
  const clientId = params.clientId;
19297
19391
  const clientSecret = params.clientSecret;
19392
+ const prompt = params.prompt;
19298
19393
  const enabled = params.enabled;
19299
19394
  const apiPath = '/project/oauth2/google';
19300
19395
  const payload = {};
@@ -19304,6 +19399,9 @@ class Project {
19304
19399
  if (typeof clientSecret !== 'undefined') {
19305
19400
  payload['clientSecret'] = clientSecret;
19306
19401
  }
19402
+ if (typeof prompt !== 'undefined') {
19403
+ payload['prompt'] = prompt;
19404
+ }
19307
19405
  if (typeof enabled !== 'undefined') {
19308
19406
  payload['enabled'] = enabled;
19309
19407
  }
@@ -19499,8 +19597,8 @@ class Project {
19499
19597
  clientSecret: rest[0],
19500
19598
  wellKnownURL: rest[1],
19501
19599
  authorizationURL: rest[2],
19502
- tokenUrl: rest[3],
19503
- userInfoUrl: rest[4],
19600
+ tokenURL: rest[3],
19601
+ userInfoURL: rest[4],
19504
19602
  enabled: rest[5]
19505
19603
  };
19506
19604
  }
@@ -19508,8 +19606,8 @@ class Project {
19508
19606
  const clientSecret = params.clientSecret;
19509
19607
  const wellKnownURL = params.wellKnownURL;
19510
19608
  const authorizationURL = params.authorizationURL;
19511
- const tokenUrl = params.tokenUrl;
19512
- const userInfoUrl = params.userInfoUrl;
19609
+ const tokenURL = params.tokenURL;
19610
+ const userInfoURL = params.userInfoURL;
19513
19611
  const enabled = params.enabled;
19514
19612
  const apiPath = '/project/oauth2/oidc';
19515
19613
  const payload = {};
@@ -19525,11 +19623,11 @@ class Project {
19525
19623
  if (typeof authorizationURL !== 'undefined') {
19526
19624
  payload['authorizationURL'] = authorizationURL;
19527
19625
  }
19528
- if (typeof tokenUrl !== 'undefined') {
19529
- payload['tokenUrl'] = tokenUrl;
19626
+ if (typeof tokenURL !== 'undefined') {
19627
+ payload['tokenURL'] = tokenURL;
19530
19628
  }
19531
- if (typeof userInfoUrl !== 'undefined') {
19532
- payload['userInfoUrl'] = userInfoUrl;
19629
+ if (typeof userInfoURL !== 'undefined') {
19630
+ payload['userInfoURL'] = userInfoURL;
19533
19631
  }
19534
19632
  if (typeof enabled !== 'undefined') {
19535
19633
  payload['enabled'] = enabled;
@@ -20096,19 +20194,19 @@ class Project {
20096
20194
  }
20097
20195
  getOAuth2Provider(paramsOrFirst) {
20098
20196
  let params;
20099
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
20197
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('providerId' in paramsOrFirst))) {
20100
20198
  params = (paramsOrFirst || {});
20101
20199
  }
20102
20200
  else {
20103
20201
  params = {
20104
- provider: paramsOrFirst
20202
+ providerId: paramsOrFirst
20105
20203
  };
20106
20204
  }
20107
- const provider = params.provider;
20108
- if (typeof provider === 'undefined') {
20109
- throw new AppwriteException('Missing required parameter: "provider"');
20205
+ const providerId = params.providerId;
20206
+ if (typeof providerId === 'undefined') {
20207
+ throw new AppwriteException('Missing required parameter: "providerId"');
20110
20208
  }
20111
- const apiPath = '/project/oauth2/{provider}'.replace('{provider}', provider);
20209
+ const apiPath = '/project/oauth2/{providerId}'.replace('{providerId}', providerId);
20112
20210
  const payload = {};
20113
20211
  const uri = new URL(this.client.config.endpoint + apiPath);
20114
20212
  const apiHeaders = {};
@@ -20601,6 +20699,81 @@ class Project {
20601
20699
  const apiHeaders = {};
20602
20700
  return this.client.call('get', uri, apiHeaders, payload);
20603
20701
  }
20702
+ updateDenyCanonicalEmailPolicy(paramsOrFirst) {
20703
+ let params;
20704
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
20705
+ params = (paramsOrFirst || {});
20706
+ }
20707
+ else {
20708
+ params = {
20709
+ enabled: paramsOrFirst
20710
+ };
20711
+ }
20712
+ const enabled = params.enabled;
20713
+ if (typeof enabled === 'undefined') {
20714
+ throw new AppwriteException('Missing required parameter: "enabled"');
20715
+ }
20716
+ const apiPath = '/project/policies/deny-canonical-email';
20717
+ const payload = {};
20718
+ if (typeof enabled !== 'undefined') {
20719
+ payload['enabled'] = enabled;
20720
+ }
20721
+ const uri = new URL(this.client.config.endpoint + apiPath);
20722
+ const apiHeaders = {
20723
+ 'content-type': 'application/json',
20724
+ };
20725
+ return this.client.call('patch', uri, apiHeaders, payload);
20726
+ }
20727
+ updateDenyDisposableEmailPolicy(paramsOrFirst) {
20728
+ let params;
20729
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
20730
+ params = (paramsOrFirst || {});
20731
+ }
20732
+ else {
20733
+ params = {
20734
+ enabled: paramsOrFirst
20735
+ };
20736
+ }
20737
+ const enabled = params.enabled;
20738
+ if (typeof enabled === 'undefined') {
20739
+ throw new AppwriteException('Missing required parameter: "enabled"');
20740
+ }
20741
+ const apiPath = '/project/policies/deny-disposable-email';
20742
+ const payload = {};
20743
+ if (typeof enabled !== 'undefined') {
20744
+ payload['enabled'] = enabled;
20745
+ }
20746
+ const uri = new URL(this.client.config.endpoint + apiPath);
20747
+ const apiHeaders = {
20748
+ 'content-type': 'application/json',
20749
+ };
20750
+ return this.client.call('patch', uri, apiHeaders, payload);
20751
+ }
20752
+ updateDenyFreeEmailPolicy(paramsOrFirst) {
20753
+ let params;
20754
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
20755
+ params = (paramsOrFirst || {});
20756
+ }
20757
+ else {
20758
+ params = {
20759
+ enabled: paramsOrFirst
20760
+ };
20761
+ }
20762
+ const enabled = params.enabled;
20763
+ if (typeof enabled === 'undefined') {
20764
+ throw new AppwriteException('Missing required parameter: "enabled"');
20765
+ }
20766
+ const apiPath = '/project/policies/deny-free-email';
20767
+ const payload = {};
20768
+ if (typeof enabled !== 'undefined') {
20769
+ payload['enabled'] = enabled;
20770
+ }
20771
+ const uri = new URL(this.client.config.endpoint + apiPath);
20772
+ const apiHeaders = {
20773
+ 'content-type': 'application/json',
20774
+ };
20775
+ return this.client.call('patch', uri, apiHeaders, payload);
20776
+ }
20604
20777
  updateMembershipPrivacyPolicy(paramsOrFirst, ...rest) {
20605
20778
  let params;
20606
20779
  if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -21898,21 +22071,16 @@ class Proxy {
21898
22071
  else {
21899
22072
  params = {
21900
22073
  queries: paramsOrFirst,
21901
- search: rest[0],
21902
- total: rest[1]
22074
+ total: rest[0]
21903
22075
  };
21904
22076
  }
21905
22077
  const queries = params.queries;
21906
- const search = params.search;
21907
22078
  const total = params.total;
21908
22079
  const apiPath = '/proxy/rules';
21909
22080
  const payload = {};
21910
22081
  if (typeof queries !== 'undefined') {
21911
22082
  payload['queries'] = queries;
21912
22083
  }
21913
- if (typeof search !== 'undefined') {
21914
- payload['search'] = search;
21915
- }
21916
22084
  if (typeof total !== 'undefined') {
21917
22085
  payload['total'] = total;
21918
22086
  }
@@ -22120,7 +22288,7 @@ class Proxy {
22120
22288
  };
22121
22289
  return this.client.call('delete', uri, apiHeaders, payload);
22122
22290
  }
22123
- updateRuleVerification(paramsOrFirst) {
22291
+ updateRuleStatus(paramsOrFirst) {
22124
22292
  let params;
22125
22293
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
22126
22294
  params = (paramsOrFirst || {});
@@ -22134,7 +22302,7 @@ class Proxy {
22134
22302
  if (typeof ruleId === 'undefined') {
22135
22303
  throw new AppwriteException('Missing required parameter: "ruleId"');
22136
22304
  }
22137
- const apiPath = '/proxy/rules/{ruleId}/verification'.replace('{ruleId}', ruleId);
22305
+ const apiPath = '/proxy/rules/{ruleId}/status'.replace('{ruleId}', ruleId);
22138
22306
  const payload = {};
22139
22307
  const uri = new URL(this.client.config.endpoint + apiPath);
22140
22308
  const apiHeaders = {
@@ -23060,22 +23228,32 @@ class Sites {
23060
23228
  const apiHeaders = {};
23061
23229
  return this.client.call('get', uri, apiHeaders, payload);
23062
23230
  }
23063
- listVariables(paramsOrFirst) {
23231
+ listVariables(paramsOrFirst, ...rest) {
23064
23232
  let params;
23065
23233
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
23066
23234
  params = (paramsOrFirst || {});
23067
23235
  }
23068
23236
  else {
23069
23237
  params = {
23070
- siteId: paramsOrFirst
23238
+ siteId: paramsOrFirst,
23239
+ queries: rest[0],
23240
+ total: rest[1]
23071
23241
  };
23072
23242
  }
23073
23243
  const siteId = params.siteId;
23244
+ const queries = params.queries;
23245
+ const total = params.total;
23074
23246
  if (typeof siteId === 'undefined') {
23075
23247
  throw new AppwriteException('Missing required parameter: "siteId"');
23076
23248
  }
23077
23249
  const apiPath = '/sites/{siteId}/variables'.replace('{siteId}', siteId);
23078
23250
  const payload = {};
23251
+ if (typeof queries !== 'undefined') {
23252
+ payload['queries'] = queries;
23253
+ }
23254
+ if (typeof total !== 'undefined') {
23255
+ payload['total'] = total;
23256
+ }
23079
23257
  const uri = new URL(this.client.config.endpoint + apiPath);
23080
23258
  const apiHeaders = {};
23081
23259
  return this.client.call('get', uri, apiHeaders, payload);
@@ -23088,18 +23266,23 @@ class Sites {
23088
23266
  else {
23089
23267
  params = {
23090
23268
  siteId: paramsOrFirst,
23091
- key: rest[0],
23092
- value: rest[1],
23093
- secret: rest[2]
23269
+ variableId: rest[0],
23270
+ key: rest[1],
23271
+ value: rest[2],
23272
+ secret: rest[3]
23094
23273
  };
23095
23274
  }
23096
23275
  const siteId = params.siteId;
23276
+ const variableId = params.variableId;
23097
23277
  const key = params.key;
23098
23278
  const value = params.value;
23099
23279
  const secret = params.secret;
23100
23280
  if (typeof siteId === 'undefined') {
23101
23281
  throw new AppwriteException('Missing required parameter: "siteId"');
23102
23282
  }
23283
+ if (typeof variableId === 'undefined') {
23284
+ throw new AppwriteException('Missing required parameter: "variableId"');
23285
+ }
23103
23286
  if (typeof key === 'undefined') {
23104
23287
  throw new AppwriteException('Missing required parameter: "key"');
23105
23288
  }
@@ -23108,6 +23291,9 @@ class Sites {
23108
23291
  }
23109
23292
  const apiPath = '/sites/{siteId}/variables'.replace('{siteId}', siteId);
23110
23293
  const payload = {};
23294
+ if (typeof variableId !== 'undefined') {
23295
+ payload['variableId'] = variableId;
23296
+ }
23111
23297
  if (typeof key !== 'undefined') {
23112
23298
  payload['key'] = key;
23113
23299
  }
@@ -23173,9 +23359,6 @@ class Sites {
23173
23359
  if (typeof variableId === 'undefined') {
23174
23360
  throw new AppwriteException('Missing required parameter: "variableId"');
23175
23361
  }
23176
- if (typeof key === 'undefined') {
23177
- throw new AppwriteException('Missing required parameter: "key"');
23178
- }
23179
23362
  const apiPath = '/sites/{siteId}/variables/{variableId}'.replace('{siteId}', siteId).replace('{variableId}', variableId);
23180
23363
  const payload = {};
23181
23364
  if (typeof key !== 'undefined') {
@@ -24368,6 +24551,132 @@ class TablesDB {
24368
24551
  const apiHeaders = {};
24369
24552
  return this.client.call('get', uri, apiHeaders, payload);
24370
24553
  }
24554
+ createBigIntColumn(paramsOrFirst, ...rest) {
24555
+ let params;
24556
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
24557
+ params = (paramsOrFirst || {});
24558
+ }
24559
+ else {
24560
+ params = {
24561
+ databaseId: paramsOrFirst,
24562
+ tableId: rest[0],
24563
+ key: rest[1],
24564
+ required: rest[2],
24565
+ min: rest[3],
24566
+ max: rest[4],
24567
+ xdefault: rest[5],
24568
+ array: rest[6]
24569
+ };
24570
+ }
24571
+ const databaseId = params.databaseId;
24572
+ const tableId = params.tableId;
24573
+ const key = params.key;
24574
+ const required = params.required;
24575
+ const min = params.min;
24576
+ const max = params.max;
24577
+ const xdefault = params.xdefault;
24578
+ const array = params.array;
24579
+ if (typeof databaseId === 'undefined') {
24580
+ throw new AppwriteException('Missing required parameter: "databaseId"');
24581
+ }
24582
+ if (typeof tableId === 'undefined') {
24583
+ throw new AppwriteException('Missing required parameter: "tableId"');
24584
+ }
24585
+ if (typeof key === 'undefined') {
24586
+ throw new AppwriteException('Missing required parameter: "key"');
24587
+ }
24588
+ if (typeof required === 'undefined') {
24589
+ throw new AppwriteException('Missing required parameter: "required"');
24590
+ }
24591
+ const apiPath = '/tablesdb/{databaseId}/tables/{tableId}/columns/bigint'.replace('{databaseId}', databaseId).replace('{tableId}', tableId);
24592
+ const payload = {};
24593
+ if (typeof key !== 'undefined') {
24594
+ payload['key'] = key;
24595
+ }
24596
+ if (typeof required !== 'undefined') {
24597
+ payload['required'] = required;
24598
+ }
24599
+ if (typeof min !== 'undefined') {
24600
+ payload['min'] = min;
24601
+ }
24602
+ if (typeof max !== 'undefined') {
24603
+ payload['max'] = max;
24604
+ }
24605
+ if (typeof xdefault !== 'undefined') {
24606
+ payload['default'] = xdefault;
24607
+ }
24608
+ if (typeof array !== 'undefined') {
24609
+ payload['array'] = array;
24610
+ }
24611
+ const uri = new URL(this.client.config.endpoint + apiPath);
24612
+ const apiHeaders = {
24613
+ 'content-type': 'application/json',
24614
+ };
24615
+ return this.client.call('post', uri, apiHeaders, payload);
24616
+ }
24617
+ updateBigIntColumn(paramsOrFirst, ...rest) {
24618
+ let params;
24619
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
24620
+ params = (paramsOrFirst || {});
24621
+ }
24622
+ else {
24623
+ params = {
24624
+ databaseId: paramsOrFirst,
24625
+ tableId: rest[0],
24626
+ key: rest[1],
24627
+ required: rest[2],
24628
+ xdefault: rest[3],
24629
+ min: rest[4],
24630
+ max: rest[5],
24631
+ newKey: rest[6]
24632
+ };
24633
+ }
24634
+ const databaseId = params.databaseId;
24635
+ const tableId = params.tableId;
24636
+ const key = params.key;
24637
+ const required = params.required;
24638
+ const xdefault = params.xdefault;
24639
+ const min = params.min;
24640
+ const max = params.max;
24641
+ const newKey = params.newKey;
24642
+ if (typeof databaseId === 'undefined') {
24643
+ throw new AppwriteException('Missing required parameter: "databaseId"');
24644
+ }
24645
+ if (typeof tableId === 'undefined') {
24646
+ throw new AppwriteException('Missing required parameter: "tableId"');
24647
+ }
24648
+ if (typeof key === 'undefined') {
24649
+ throw new AppwriteException('Missing required parameter: "key"');
24650
+ }
24651
+ if (typeof required === 'undefined') {
24652
+ throw new AppwriteException('Missing required parameter: "required"');
24653
+ }
24654
+ if (typeof xdefault === 'undefined') {
24655
+ throw new AppwriteException('Missing required parameter: "xdefault"');
24656
+ }
24657
+ const apiPath = '/tablesdb/{databaseId}/tables/{tableId}/columns/bigint/{key}'.replace('{databaseId}', databaseId).replace('{tableId}', tableId).replace('{key}', key);
24658
+ const payload = {};
24659
+ if (typeof required !== 'undefined') {
24660
+ payload['required'] = required;
24661
+ }
24662
+ if (typeof min !== 'undefined') {
24663
+ payload['min'] = min;
24664
+ }
24665
+ if (typeof max !== 'undefined') {
24666
+ payload['max'] = max;
24667
+ }
24668
+ if (typeof xdefault !== 'undefined') {
24669
+ payload['default'] = xdefault;
24670
+ }
24671
+ if (typeof newKey !== 'undefined') {
24672
+ payload['newKey'] = newKey;
24673
+ }
24674
+ const uri = new URL(this.client.config.endpoint + apiPath);
24675
+ const apiHeaders = {
24676
+ 'content-type': 'application/json',
24677
+ };
24678
+ return this.client.call('patch', uri, apiHeaders, payload);
24679
+ }
24371
24680
  createBooleanColumn(paramsOrFirst, ...rest) {
24372
24681
  let params;
24373
24682
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -29463,11 +29772,15 @@ class Vcs {
29463
29772
  else {
29464
29773
  params = {
29465
29774
  installationId: paramsOrFirst,
29466
- providerRepositoryId: rest[0]
29775
+ providerRepositoryId: rest[0],
29776
+ search: rest[1],
29777
+ queries: rest[2]
29467
29778
  };
29468
29779
  }
29469
29780
  const installationId = params.installationId;
29470
29781
  const providerRepositoryId = params.providerRepositoryId;
29782
+ const search = params.search;
29783
+ const queries = params.queries;
29471
29784
  if (typeof installationId === 'undefined') {
29472
29785
  throw new AppwriteException('Missing required parameter: "installationId"');
29473
29786
  }
@@ -29476,6 +29789,12 @@ class Vcs {
29476
29789
  }
29477
29790
  const apiPath = '/vcs/github/installations/{installationId}/providerRepositories/{providerRepositoryId}/branches'.replace('{installationId}', installationId).replace('{providerRepositoryId}', providerRepositoryId);
29478
29791
  const payload = {};
29792
+ if (typeof search !== 'undefined') {
29793
+ payload['search'] = search;
29794
+ }
29795
+ if (typeof queries !== 'undefined') {
29796
+ payload['queries'] = queries;
29797
+ }
29479
29798
  const uri = new URL(this.client.config.endpoint + apiPath);
29480
29799
  const apiHeaders = {};
29481
29800
  return this.client.call('get', uri, apiHeaders, payload);
@@ -32100,6 +32419,8 @@ var Scopes;
32100
32419
  Scopes["TargetsWrite"] = "targets.write";
32101
32420
  Scopes["MessagesRead"] = "messages.read";
32102
32421
  Scopes["MessagesWrite"] = "messages.write";
32422
+ Scopes["RulesRead"] = "rules.read";
32423
+ Scopes["RulesWrite"] = "rules.write";
32103
32424
  Scopes["WebhooksRead"] = "webhooks.read";
32104
32425
  Scopes["WebhooksWrite"] = "webhooks.write";
32105
32426
  Scopes["LocaleRead"] = "locale.read";
@@ -32112,8 +32433,6 @@ var Scopes;
32112
32433
  Scopes["SchedulesWrite"] = "schedules.write";
32113
32434
  Scopes["VcsRead"] = "vcs.read";
32114
32435
  Scopes["VcsWrite"] = "vcs.write";
32115
- Scopes["RulesRead"] = "rules.read";
32116
- Scopes["RulesWrite"] = "rules.write";
32117
32436
  Scopes["BackupsPoliciesRead"] = "backups.policies.read";
32118
32437
  Scopes["BackupsPoliciesWrite"] = "backups.policies.write";
32119
32438
  Scopes["ArchivesRead"] = "archives.read";
@@ -32187,6 +32506,8 @@ var OAuthProvider;
32187
32506
  OAuthProvider["Yandex"] = "yandex";
32188
32507
  OAuthProvider["Zoho"] = "zoho";
32189
32508
  OAuthProvider["Zoom"] = "zoom";
32509
+ OAuthProvider["GithubImagine"] = "githubImagine";
32510
+ OAuthProvider["GoogleImagine"] = "googleImagine";
32190
32511
  })(OAuthProvider || (OAuthProvider = {}));
32191
32512
 
32192
32513
  var Browser;
@@ -33357,6 +33678,13 @@ var AppwriteMigrationResource;
33357
33678
  AppwriteMigrationResource["Backuppolicy"] = "backup-policy";
33358
33679
  })(AppwriteMigrationResource || (AppwriteMigrationResource = {}));
33359
33680
 
33681
+ var OnDuplicate;
33682
+ (function (OnDuplicate) {
33683
+ OnDuplicate["Fail"] = "fail";
33684
+ OnDuplicate["Skip"] = "skip";
33685
+ OnDuplicate["Overwrite"] = "overwrite";
33686
+ })(OnDuplicate || (OnDuplicate = {}));
33687
+
33360
33688
  var FirebaseMigrationResource;
33361
33689
  (function (FirebaseMigrationResource) {
33362
33690
  FirebaseMigrationResource["User"] = "user";
@@ -33406,29 +33734,36 @@ var Addon;
33406
33734
  Addon["Baa"] = "baa";
33407
33735
  })(Addon || (Addon = {}));
33408
33736
 
33409
- var MethodId;
33410
- (function (MethodId) {
33411
- MethodId["Emailpassword"] = "email-password";
33412
- MethodId["Magicurl"] = "magic-url";
33413
- MethodId["Emailotp"] = "email-otp";
33414
- MethodId["Anonymous"] = "anonymous";
33415
- MethodId["Invites"] = "invites";
33416
- MethodId["Jwt"] = "jwt";
33417
- MethodId["Phone"] = "phone";
33418
- })(MethodId || (MethodId = {}));
33737
+ var AuthMethod;
33738
+ (function (AuthMethod) {
33739
+ AuthMethod["Emailpassword"] = "email-password";
33740
+ AuthMethod["Magicurl"] = "magic-url";
33741
+ AuthMethod["Emailotp"] = "email-otp";
33742
+ AuthMethod["Anonymous"] = "anonymous";
33743
+ AuthMethod["Invites"] = "invites";
33744
+ AuthMethod["Jwt"] = "jwt";
33745
+ AuthMethod["Phone"] = "phone";
33746
+ })(AuthMethod || (AuthMethod = {}));
33747
+
33748
+ var Prompt;
33749
+ (function (Prompt) {
33750
+ Prompt["None"] = "none";
33751
+ Prompt["Consent"] = "consent";
33752
+ Prompt["SelectAccount"] = "select_account";
33753
+ })(Prompt || (Prompt = {}));
33419
33754
 
33420
- var PolicyId;
33421
- (function (PolicyId) {
33422
- PolicyId["Passworddictionary"] = "password-dictionary";
33423
- PolicyId["Passwordhistory"] = "password-history";
33424
- PolicyId["Passwordpersonaldata"] = "password-personal-data";
33425
- PolicyId["Sessionalert"] = "session-alert";
33426
- PolicyId["Sessionduration"] = "session-duration";
33427
- PolicyId["Sessioninvalidation"] = "session-invalidation";
33428
- PolicyId["Sessionlimit"] = "session-limit";
33429
- PolicyId["Userlimit"] = "user-limit";
33430
- PolicyId["Membershipprivacy"] = "membership-privacy";
33431
- })(PolicyId || (PolicyId = {}));
33755
+ var ProjectPolicy;
33756
+ (function (ProjectPolicy) {
33757
+ ProjectPolicy["Passworddictionary"] = "password-dictionary";
33758
+ ProjectPolicy["Passwordhistory"] = "password-history";
33759
+ ProjectPolicy["Passwordpersonaldata"] = "password-personal-data";
33760
+ ProjectPolicy["Sessionalert"] = "session-alert";
33761
+ ProjectPolicy["Sessionduration"] = "session-duration";
33762
+ ProjectPolicy["Sessioninvalidation"] = "session-invalidation";
33763
+ ProjectPolicy["Sessionlimit"] = "session-limit";
33764
+ ProjectPolicy["Userlimit"] = "user-limit";
33765
+ ProjectPolicy["Membershipprivacy"] = "membership-privacy";
33766
+ })(ProjectPolicy || (ProjectPolicy = {}));
33432
33767
 
33433
33768
  var ProtocolId;
33434
33769
  (function (ProtocolId) {
@@ -33924,6 +34259,13 @@ var ExecutionStatus;
33924
34259
  ExecutionStatus["Scheduled"] = "scheduled";
33925
34260
  })(ExecutionStatus || (ExecutionStatus = {}));
33926
34261
 
34262
+ var OAuth2GooglePrompt;
34263
+ (function (OAuth2GooglePrompt) {
34264
+ OAuth2GooglePrompt["None"] = "none";
34265
+ OAuth2GooglePrompt["Consent"] = "consent";
34266
+ OAuth2GooglePrompt["SelectAccount"] = "select_account";
34267
+ })(OAuth2GooglePrompt || (OAuth2GooglePrompt = {}));
34268
+
33927
34269
  var PlatformType;
33928
34270
  (function (PlatformType) {
33929
34271
  PlatformType["Windows"] = "windows";
@@ -33954,10 +34296,9 @@ var ProxyRuleDeploymentResourceType;
33954
34296
 
33955
34297
  var ProxyRuleStatus;
33956
34298
  (function (ProxyRuleStatus) {
33957
- ProxyRuleStatus["Created"] = "created";
34299
+ ProxyRuleStatus["Unverified"] = "unverified";
33958
34300
  ProxyRuleStatus["Verifying"] = "verifying";
33959
34301
  ProxyRuleStatus["Verified"] = "verified";
33960
- ProxyRuleStatus["Unverified"] = "unverified";
33961
34302
  })(ProxyRuleStatus || (ProxyRuleStatus = {}));
33962
34303
 
33963
34304
  var MessageStatus;
@@ -33996,5 +34337,5 @@ var DomainPurchaseStatus;
33996
34337
  DomainPurchaseStatus["Cancelled"] = "cancelled";
33997
34338
  })(DomainPurchaseStatus || (DomainPurchaseStatus = {}));
33998
34339
 
33999
- 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, 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 };
34340
+ 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, OAuth2GooglePrompt, OAuthProvider, OnDuplicate, Operator, OrderBy, Organizations, PasswordHash, Permission, Platform, PlatformType, Project, ProjectPolicy, ProjectUsageRange, Projects, Prompt, 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 };
34000
34341
  //# sourceMappingURL=sdk.js.map