interface ChangeContributorRoleRequest$1 { /** Contributor's account ID. */ accountId: string; /** New roles to assign to the contributor on the site. */ newRoles: SiteRoleAssignment$1[]; } interface SiteRoleAssignment$1 { /** Role ID. Sometimes referred to as policy ID. See [Roles and Permissions](https://support.wix.com/en/article/roles-permissions-overview) for a list of available roles. */ roleId?: string; /** * Assignment ID mapping the role to the contributor on the site. * @readonly */ assignmentId?: string; } interface ChangeContributorRoleResponse$1 { /** New roles assigned to the contributor on the site. */ newAssignedRoles?: SiteRoleAssignment$1[]; } interface QuerySiteContributorsRequest$1 { filter?: QuerySiteContributorsFilter$1; } interface QuerySiteContributorsFilter$1 { /** Role IDs (referred to here as policy IDs) to return. See [Roles and Permissions](https://support.wix.com/en/article/roles-permissions-overview) for available roles. */ policyIds?: string[]; } interface QuerySiteContributorsResponse$1 { /** List of site contributors. */ contributors?: ContributorV2$1[]; } interface ContributorV2$1 { /** Contributor's account ID. */ accountId?: string | null; /** User ID of the owner of the account that the contributor has joined. */ accountOwnerId?: string | null; } interface SiteRoleAssignmentNonNullableFields$1 { roleId: string; assignmentId: string; } interface ChangeContributorRoleResponseNonNullableFields$1 { newAssignedRoles: SiteRoleAssignmentNonNullableFields$1[]; } interface ChangeContributorRoleRequest { /** Contributor's account ID. */ accountId: string; /** New roles to assign to the contributor on the site. */ newRoles: SiteRoleAssignment[]; } interface SiteRoleAssignment { /** Role ID. Sometimes referred to as policy ID. See [Roles and Permissions](https://support.wix.com/en/article/roles-permissions-overview) for a list of available roles. */ roleId?: string; /** * Assignment ID mapping the role to the contributor on the site. * @readonly */ assignmentId?: string; } interface ChangeContributorRoleResponse { /** New roles assigned to the contributor on the site. */ newAssignedRoles?: SiteRoleAssignment[]; } interface QuerySiteContributorsRequest { filter?: QuerySiteContributorsFilter; } interface QuerySiteContributorsFilter { /** Role IDs (referred to here as policy IDs) to return. See [Roles and Permissions](https://support.wix.com/en/article/roles-permissions-overview) for available roles. */ policyIds?: string[]; } interface QuerySiteContributorsResponse { /** List of site contributors. */ contributors?: ContributorV2[]; } interface ContributorV2 { /** Contributor's account ID. */ accountId?: string | null; /** User ID of the owner of the account that the contributor has joined. */ accountOwnerId?: string | null; } interface SiteRoleAssignmentNonNullableFields { roleId: string; assignmentId: string; } interface ChangeContributorRoleResponseNonNullableFields { newAssignedRoles: SiteRoleAssignmentNonNullableFields[]; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function changeRole(): __PublicMethodMetaInfo<'PUT', {}, ChangeContributorRoleRequest, ChangeContributorRoleRequest$1, ChangeContributorRoleResponse & ChangeContributorRoleResponseNonNullableFields, ChangeContributorRoleResponse$1 & ChangeContributorRoleResponseNonNullableFields$1>; declare function querySiteContributors(): __PublicMethodMetaInfo<'GET', {}, QuerySiteContributorsRequest, QuerySiteContributorsRequest$1, QuerySiteContributorsResponse, QuerySiteContributorsResponse$1>; export { type __PublicMethodMetaInfo, changeRole, querySiteContributors };