@appwrite.io/console 3.0.0 → 3.1.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.
@@ -919,21 +919,24 @@ export declare class Organizations {
919
919
  * Get Scopes
920
920
  *
921
921
  * @param {string} params.organizationId - Organization id
922
+ * @param {string} params.projectId - Project id
922
923
  * @throws {AppwriteException}
923
924
  * @returns {Promise<Models.Roles>}
924
925
  */
925
926
  getScopes(params: {
926
927
  organizationId: string;
928
+ projectId?: string;
927
929
  }): Promise<Models.Roles>;
928
930
  /**
929
931
  * Get Scopes
930
932
  *
931
933
  * @param {string} organizationId - Organization id
934
+ * @param {string} projectId - Project id
932
935
  * @throws {AppwriteException}
933
936
  * @returns {Promise<Models.Roles>}
934
937
  * @deprecated Use the object parameter style method for a better developer experience.
935
938
  */
936
- getScopes(organizationId: string): Promise<Models.Roles>;
939
+ getScopes(organizationId: string, projectId?: string): Promise<Models.Roles>;
937
940
  /**
938
941
  * Set an organization's billing tax ID.
939
942
  *