@appwrite.io/console 18.4.0-rc.1 → 18.4.0-rc.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/esm/sdk.js CHANGED
@@ -667,7 +667,7 @@ class Client {
667
667
  'x-sdk-name': 'Console',
668
668
  'x-sdk-platform': 'console',
669
669
  'x-sdk-language': 'web',
670
- 'x-sdk-version': '18.4.0-rc.1',
670
+ 'x-sdk-version': '18.4.0-rc.2',
671
671
  'X-Appwrite-Response-Format': '2.3.0',
672
672
  };
673
673
  this.realtime = {
@@ -31779,11 +31779,13 @@ class Project {
31779
31779
  platformId: paramsOrFirst,
31780
31780
  name: rest[0],
31781
31781
  applicationId: rest[1],
31782
+ fingerprints: rest[2],
31782
31783
  };
31783
31784
  }
31784
31785
  const platformId = params.platformId;
31785
31786
  const name = params.name;
31786
31787
  const applicationId = params.applicationId;
31788
+ const fingerprints = params.fingerprints;
31787
31789
  if (typeof platformId === 'undefined') {
31788
31790
  throw new AppwriteException('Missing required parameter: "platformId"');
31789
31791
  }
@@ -31804,6 +31806,9 @@ class Project {
31804
31806
  if (typeof applicationId !== 'undefined') {
31805
31807
  apiPayload['applicationId'] = applicationId;
31806
31808
  }
31809
+ if (typeof fingerprints !== 'undefined') {
31810
+ apiPayload['fingerprints'] = fingerprints;
31811
+ }
31807
31812
  const uri = new URL(this.client.config.endpoint + apiPath);
31808
31813
  const apiHeaders = {
31809
31814
  'X-Appwrite-Project': this.client.config.project,
@@ -31824,11 +31829,13 @@ class Project {
31824
31829
  platformId: paramsOrFirst,
31825
31830
  name: rest[0],
31826
31831
  applicationId: rest[1],
31832
+ fingerprints: rest[2],
31827
31833
  };
31828
31834
  }
31829
31835
  const platformId = params.platformId;
31830
31836
  const name = params.name;
31831
31837
  const applicationId = params.applicationId;
31838
+ const fingerprints = params.fingerprints;
31832
31839
  if (typeof platformId === 'undefined' || platformId === '') {
31833
31840
  throw new AppwriteException('Missing required parameter: "platformId"');
31834
31841
  }
@@ -31846,6 +31853,9 @@ class Project {
31846
31853
  if (typeof applicationId !== 'undefined') {
31847
31854
  apiPayload['applicationId'] = applicationId;
31848
31855
  }
31856
+ if (typeof fingerprints !== 'undefined') {
31857
+ apiPayload['fingerprints'] = fingerprints;
31858
+ }
31849
31859
  const uri = new URL(this.client.config.endpoint + apiPath);
31850
31860
  const apiHeaders = {
31851
31861
  'X-Appwrite-Project': this.client.config.project,
@@ -40649,15 +40659,17 @@ class Teams {
40649
40659
  params = {
40650
40660
  teamId: paramsOrFirst,
40651
40661
  roles: rest[0],
40652
- email: rest[1],
40653
- userId: rest[2],
40654
- phone: rest[3],
40655
- url: rest[4],
40656
- name: rest[5],
40662
+ membershipId: rest[1],
40663
+ email: rest[2],
40664
+ userId: rest[3],
40665
+ phone: rest[4],
40666
+ url: rest[5],
40667
+ name: rest[6],
40657
40668
  };
40658
40669
  }
40659
40670
  const teamId = params.teamId;
40660
40671
  const roles = params.roles;
40672
+ const membershipId = params.membershipId;
40661
40673
  const email = params.email;
40662
40674
  const userId = params.userId;
40663
40675
  const phone = params.phone;
@@ -40671,6 +40683,9 @@ class Teams {
40671
40683
  }
40672
40684
  const apiPath = '/teams/{teamId}/memberships'.replace('{teamId}', encodeURIComponent(String(teamId)));
40673
40685
  const apiPayload = {};
40686
+ if (typeof membershipId !== 'undefined') {
40687
+ apiPayload['membershipId'] = membershipId;
40688
+ }
40674
40689
  if (typeof email !== 'undefined') {
40675
40690
  apiPayload['email'] = email;
40676
40691
  }