@bigbinary/neeto-playwright-commons 1.20.2 → 1.20.4
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/index.cjs.js +2947 -2681
- package/index.cjs.js.map +1 -1
- package/index.d.ts +11 -4
- package/index.js +2947 -2681
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -572,11 +572,13 @@ declare class CustomCommands {
|
|
|
572
572
|
}
|
|
573
573
|
declare class MemberApis {
|
|
574
574
|
private neetoPlaywrightUtilities;
|
|
575
|
+
private readonly teamMembersBaseUrl;
|
|
575
576
|
private readonly teamsBaseUrl;
|
|
576
577
|
constructor(neetoPlaywrightUtilities: CustomCommands);
|
|
577
578
|
create: (body: Record<string, unknown>) => Promise<playwright_core.APIResponse | undefined>;
|
|
578
579
|
jobStatus: (jobId: string) => Promise<playwright_core.APIResponse | undefined>;
|
|
579
|
-
fetch: (params
|
|
580
|
+
fetch: (params?: ParamProps) => Promise<playwright_core.APIResponse | undefined>;
|
|
581
|
+
fetchPermissions: () => Promise<playwright_core.APIResponse | undefined>;
|
|
580
582
|
update: (memberId: string, body: Record<string, unknown>) => Promise<playwright_core.APIResponse | undefined>;
|
|
581
583
|
bulkUpdate: (body: Record<string, unknown>) => Promise<playwright_core.APIResponse | undefined>;
|
|
582
584
|
}
|
|
@@ -3453,8 +3455,11 @@ declare class RolesPage {
|
|
|
3453
3455
|
roleApis: RoleApis;
|
|
3454
3456
|
t: TFunction;
|
|
3455
3457
|
constructor(page: Page, neetoPlaywrightUtilities: CustomCommands);
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
+
getPermissionIds: (targetPermissions: string[]) => Promise<string[]>;
|
|
3459
|
+
getRoleIdAndOrganizationId: (roleName: string) => Promise<{
|
|
3460
|
+
roleId: string;
|
|
3461
|
+
organizationId: string;
|
|
3462
|
+
}>;
|
|
3458
3463
|
/**
|
|
3459
3464
|
*
|
|
3460
3465
|
* Used to add a custom role via API request.
|
|
@@ -3494,7 +3499,7 @@ declare class RolesPage {
|
|
|
3494
3499
|
* await rolesPage.deleteRoleViaRequest("Custom Role");
|
|
3495
3500
|
* @endexample
|
|
3496
3501
|
*/
|
|
3497
|
-
deleteRoleViaRequest: (roleName: string) => Promise<playwright_core.APIResponse | undefined>;
|
|
3502
|
+
deleteRoleViaRequest: (roleName: string, secondaryRoleName?: string) => Promise<playwright_core.APIResponse | undefined>;
|
|
3498
3503
|
/**
|
|
3499
3504
|
*
|
|
3500
3505
|
* Used to add a role through the UI.
|
|
@@ -4896,6 +4901,7 @@ declare const THANK_YOU_SELECTORS: {
|
|
|
4896
4901
|
linkInputField: string;
|
|
4897
4902
|
previewImage: string;
|
|
4898
4903
|
thankYouMessageEditor: string;
|
|
4904
|
+
thankYouMessageWrapper: string;
|
|
4899
4905
|
};
|
|
4900
4906
|
/**
|
|
4901
4907
|
*
|
|
@@ -5023,6 +5029,7 @@ declare const NEETO_EDITOR_SELECTORS: {
|
|
|
5023
5029
|
editorMenuWrapper: string;
|
|
5024
5030
|
editorMediaUploaderTab: string;
|
|
5025
5031
|
dynamicVariableSelector: (variable: string) => string;
|
|
5032
|
+
neetoEditorFixedMenuFontSize: string;
|
|
5026
5033
|
};
|
|
5027
5034
|
declare const NEETO_TEXT_MODIFIER_SELECTORS: {
|
|
5028
5035
|
strike: string;
|