@alfresco/aca-playwright-shared 7.4.1 → 7.5.0-24770823677

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.
@@ -58,6 +58,6 @@ export declare class ApiClientFactory {
58
58
  tearDown(): Promise<ApiClientFactory>;
59
59
  login(userName: string, password?: string): Promise<void>;
60
60
  loginUser(user: PersonModel): Promise<void>;
61
- createUser(user: PersonModel): Promise<PersonEntry>;
62
- changePassword(username: string, newPassword: string): Promise<PersonEntry>;
61
+ createUser(user: PersonModel): Promise<PersonEntry | null>;
62
+ changePassword(username: string, newPassword: string): Promise<PersonEntry | null>;
63
63
  }
@@ -27,6 +27,6 @@ export declare class CategoriesApi {
27
27
  constructor();
28
28
  static initialize(userName: string, password?: string): Promise<CategoriesApi>;
29
29
  createCategory(categoryId: string, categoryBodyCreate: CategoryBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry>;
30
- deleteCategory(categoryId: string): Promise<void>;
30
+ deleteCategory(categoryId?: string): Promise<void>;
31
31
  linkNodeToCategory(nodeId: string, categoryLinkBodyCreate: CategoryLinkBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry>;
32
32
  }
@@ -29,8 +29,8 @@ export declare class SharedLinksApi {
29
29
  shareFileById(id: string, expireDate?: Date): Promise<SharedLinkEntry | null>;
30
30
  shareFilesByIds(ids: string[], expireDate?: Date): Promise<SharedLinkEntry[]>;
31
31
  private getSharedLinks;
32
- waitForFilesToBeShared(filesIds: string[]): Promise<void>;
32
+ waitForFilesToBeShared(fileIds: string[]): Promise<void>;
33
33
  private getSharedIdOfNode;
34
34
  unshareFileById(fileId: string): Promise<void>;
35
- waitForFilesToNotBeShared(filesIds: string[]): Promise<any>;
35
+ waitForFilesToNotBeShared(fileIds: string[]): Promise<void>;
36
36
  }