appbuild-oceanbase-console 1.13.1 → 1.13.2

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/cjs/sdk.js CHANGED
@@ -17738,21 +17738,23 @@ class Projects {
17738
17738
  name: rest[0],
17739
17739
  teamId: rest[1],
17740
17740
  region: rest[2],
17741
- description: rest[3],
17742
- logo: rest[4],
17743
- url: rest[5],
17744
- legalName: rest[6],
17745
- legalCountry: rest[7],
17746
- legalState: rest[8],
17747
- legalCity: rest[9],
17748
- legalAddress: rest[10],
17749
- legalTaxId: rest[11]
17741
+ poolTag: rest[3],
17742
+ description: rest[4],
17743
+ logo: rest[5],
17744
+ url: rest[6],
17745
+ legalName: rest[7],
17746
+ legalCountry: rest[8],
17747
+ legalState: rest[9],
17748
+ legalCity: rest[10],
17749
+ legalAddress: rest[11],
17750
+ legalTaxId: rest[12]
17750
17751
  };
17751
17752
  }
17752
17753
  const projectId = params.projectId;
17753
17754
  const name = params.name;
17754
17755
  const teamId = params.teamId;
17755
17756
  const region = params.region;
17757
+ const poolTag = params.poolTag;
17756
17758
  const description = params.description;
17757
17759
  const logo = params.logo;
17758
17760
  const url = params.url;
@@ -17785,6 +17787,9 @@ class Projects {
17785
17787
  if (typeof region !== 'undefined') {
17786
17788
  payload['region'] = region;
17787
17789
  }
17790
+ if (typeof poolTag !== 'undefined') {
17791
+ payload['poolTag'] = poolTag;
17792
+ }
17788
17793
  if (typeof description !== 'undefined') {
17789
17794
  payload['description'] = description;
17790
17795
  }
@@ -19938,6 +19943,25 @@ class Projects {
19938
19943
  }
19939
19944
  }
19940
19945
 
19946
+ class Admin extends Service {
19947
+ constructor(client) {
19948
+ super(client);
19949
+ }
19950
+ /**
19951
+ * List all defined pool tags.
19952
+ *
19953
+ * @throws {AppwriteException}
19954
+ * @returns {Promise<{ tags: Array<{ $id: string, name: string, poolCount: number, pools: string[], createdAt: string }>, total: number }>}
19955
+ */
19956
+ listTags() {
19957
+ const apiPath = '/admin/tags';
19958
+ const payload = {};
19959
+ const uri = new URL(this.client.config.endpoint + apiPath);
19960
+ const apiHeaders = {};
19961
+ return this.client.call('get', uri, apiHeaders, payload);
19962
+ }
19963
+ }
19964
+
19941
19965
  class Proxy {
19942
19966
  constructor(client) {
19943
19967
  this.client = client;
@@ -30707,7 +30731,8 @@ function createConsoleSdk(client) {
30707
30731
  sites: new Sites(client),
30708
30732
  domains: new Domains(client),
30709
30733
  storage: new Storage(client),
30710
- realtime: new Realtime(client)
30734
+ realtime: new Realtime(client),
30735
+ admin: new Admin(client)
30711
30736
  };
30712
30737
  }
30713
30738
  const clientConsole = new Client();
@@ -30803,6 +30828,7 @@ function createRealtimeSubscription(realtimeInstance, channels, callback) {
30803
30828
 
30804
30829
  exports.Account = Account;
30805
30830
  exports.Activities = Activities;
30831
+ exports.Admin = Admin;
30806
30832
  exports.AppwriteException = AppwriteException;
30807
30833
  exports.Assistant = Assistant;
30808
30834
  exports.Avatars = Avatars;