appbuild-oceanbase-console 1.12.1 → 1.12.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
@@ -16605,6 +16605,36 @@ class Projects {
16605
16605
  };
16606
16606
  return this.client.call('patch', uri, apiHeaders, payload);
16607
16607
  }
16608
+ updateAuthDatabaseStorageLimit(paramsOrFirst, ...rest) {
16609
+ let params;
16610
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
16611
+ params = (paramsOrFirst || {});
16612
+ }
16613
+ else {
16614
+ params = {
16615
+ projectId: paramsOrFirst,
16616
+ limit: rest[0]
16617
+ };
16618
+ }
16619
+ const projectId = params.projectId;
16620
+ const limit = params.limit;
16621
+ if (typeof projectId === 'undefined') {
16622
+ throw new AppwriteException('Missing required parameter: "projectId"');
16623
+ }
16624
+ if (typeof limit === 'undefined') {
16625
+ throw new AppwriteException('Missing required parameter: "limit"');
16626
+ }
16627
+ const apiPath = '/projects/{projectId}/auth/database-storage-limit'.replace('{projectId}', projectId);
16628
+ const payload = {};
16629
+ if (typeof limit !== 'undefined') {
16630
+ payload['limit'] = limit;
16631
+ }
16632
+ const uri = new URL(this.client.config.endpoint + apiPath);
16633
+ const apiHeaders = {
16634
+ 'content-type': 'application/json',
16635
+ };
16636
+ return this.client.call('patch', uri, apiHeaders, payload);
16637
+ }
16608
16638
  updateAuthSessionsLimit(paramsOrFirst, ...rest) {
16609
16639
  let params;
16610
16640
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {