{"version":3,"sources":["../../src/identity-v1-contributor-contributors.universal.ts","../../src/identity-v1-contributor-contributors.http.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixIdentityV1Contributor from './identity-v1-contributor-contributors.http.js';\n\n/** A contributor represents a Wix user with edit or manage access to a site owned by a separate Wix account. Contributors can be assigned roles that determine their level of access to the site and its assets. */\nexport interface Contributor {\n  /** Contributor's metadata, including account ID, name, email, and role assignments. */\n  metaData?: PersonMetaData;\n  /** Whether the contributor account is a team account. */\n  isTeam?: boolean | null;\n  /** Date that the contributor joined the site. */\n  joinedAt?: Date | null;\n  /** Email address that received the invite. */\n  invitedEmail?: string | null;\n  /** Whether the contributor account is a client account. */\n  isClient?: boolean | null;\n  /**\n   * Contributor's user ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string;\n  /**\n   * A set of capability keys representing the actions that the caller is allowed\n   * to perform on this specific contributor. This field is calculated based on the\n   * identity of the request sender and may differ between callers.\n   * @maxSize 20\n   * @maxLength 20\n   */\n  callerCapabilities?: string[];\n}\n\nexport interface PersonMetaData {\n  /** Contributor's account ID. */\n  _id?: string;\n  /** Contributor's full name. */\n  fullName?: string | null;\n  /** URL for contributor's profile image. */\n  imageUrl?: string | null;\n  /** Contributor's email address. */\n  email?: string | null;\n  /** Contributor's role assignments, mapping their access to site assets and their assigned roles. */\n  assignments?: Assignment[];\n}\n\nexport interface Assignment {\n  /** Role assigned to the user. */\n  policy?: AssignedPolicy;\n  /** Unique ID for this specific assignment. */\n  assignmentId?: string;\n  /** Identity assigned to the asset in an assignment, referred to as subject. Supported subjects include user IDs, account IDs, and app IDs. */\n  subject?: Subject;\n}\n\nexport interface AssignedPolicy {\n  /** Role ID. */\n  policyId?: string;\n  /** Role title. */\n  title?: string | null;\n  /** Role description. */\n  description?: string | null;\n}\n\nexport interface Restriction extends RestrictionRestrictionsOneOf {\n  /**\n   * Deprecated.\n   * @deprecated\n   */\n  resource?: Resource;\n  /** List of conditions restricting the user's access. Currently only folder conditions are supported. */\n  conditions?: Conditions;\n  /** Site where the assignment restrictions apply. */\n  site?: SiteRestriction;\n  /** Business locations where the assignment restrictions apply. Get location IDs from the [Locations API](https://dev.wix.com/docs/api-reference/business-management/locations/introduction). */\n  locations?: LocationsRestriction;\n}\n\n/** @oneof */\nexport interface RestrictionRestrictionsOneOf {\n  /**\n   * Deprecated.\n   * @deprecated\n   */\n  resource?: Resource;\n  /** List of conditions restricting the user's access. Currently only folder conditions are supported. */\n  conditions?: Conditions;\n  /** Site where the assignment restrictions apply. */\n  site?: SiteRestriction;\n  /** Business locations where the assignment restrictions apply. Get location IDs from the [Locations API](https://dev.wix.com/docs/api-reference/business-management/locations/introduction). */\n  locations?: LocationsRestriction;\n}\n\nexport interface Resource {\n  /** Resource type. */\n  resourceType?: ResourceTypeWithLiterals;\n  /** Resource ID. */\n  _id?: string;\n  value?: string | null;\n}\n\nexport enum ResourceType {\n  UNKNOWN_RESOURCE_TYPE = 'UNKNOWN_RESOURCE_TYPE',\n  SITE = 'SITE',\n}\n\n/** @enumType */\nexport type ResourceTypeWithLiterals =\n  | ResourceType\n  | 'UNKNOWN_RESOURCE_TYPE'\n  | 'SITE';\n\nexport interface Conditions {\n  /** List of conditions. */\n  conditions?: Condition[];\n}\n\nexport interface Condition {\n  /** Condition type. */\n  conditionType?: ConditionAttributeTypeWithLiterals;\n  /** Condition ID. */\n  _id?: string;\n  /** Expected value of the condition. When `conditionType` = \"FOLDER\", this is the folder path. */\n  value?: string | null;\n}\n\nexport enum ConditionAttributeType {\n  UNKNOWN_CONDITION_TYPE = 'UNKNOWN_CONDITION_TYPE',\n  FOLDER = 'FOLDER',\n}\n\n/** @enumType */\nexport type ConditionAttributeTypeWithLiterals =\n  | ConditionAttributeType\n  | 'UNKNOWN_CONDITION_TYPE'\n  | 'FOLDER';\n\nexport interface SiteRestriction {\n  /** Site ID. */\n  _id?: string;\n  /** Site name. */\n  value?: string | null;\n}\n\nexport interface CompanionResource {\n  /** Asset ID (referred to here as resource ID). */\n  _id?: string;\n  /** Asset type (referred to here as resource type). as predefined in the authorization system */\n  resourceType?: string;\n}\n\nexport interface LocationsRestriction {\n  /**\n   * Location IDs where the assignment restrictions apply.\n   * @format GUID\n   * @maxSize 20\n   */\n  ids?: string[];\n}\n\nexport interface Subject {\n  /** ID of identity assigned to the asset. */\n  _id?: string;\n  /** Type of identity assigned to the asset. Supported subject types include user IDs, account IDs, and app IDs. */\n  subjectType?: SubjectTypeWithLiterals;\n  /** Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. */\n  context?: SubjectContext;\n}\n\nexport enum SubjectType {\n  UNKNOWN = 'UNKNOWN',\n  ACCOUNT = 'ACCOUNT',\n  USER = 'USER',\n  USER_GROUP = 'USER_GROUP',\n  MEMBER_GROUP = 'MEMBER_GROUP',\n  VISITOR_GROUP = 'VISITOR_GROUP',\n  EXTERNAL_APP = 'EXTERNAL_APP',\n  ACCOUNT_GROUP = 'ACCOUNT_GROUP',\n  WIX_APP = 'WIX_APP',\n}\n\n/** @enumType */\nexport type SubjectTypeWithLiterals =\n  | SubjectType\n  | 'UNKNOWN'\n  | 'ACCOUNT'\n  | 'USER'\n  | 'USER_GROUP'\n  | 'MEMBER_GROUP'\n  | 'VISITOR_GROUP'\n  | 'EXTERNAL_APP'\n  | 'ACCOUNT_GROUP'\n  | 'WIX_APP';\n\nexport interface SubjectContext {\n  _id?: string;\n  contextType?: SubjectContextTypeWithLiterals;\n}\n\nexport enum SubjectContextType {\n  UNKNOWN_CTX = 'UNKNOWN_CTX',\n  ORG_CTX = 'ORG_CTX',\n  ACCOUNT_CTX = 'ACCOUNT_CTX',\n}\n\n/** @enumType */\nexport type SubjectContextTypeWithLiterals =\n  | SubjectContextType\n  | 'UNKNOWN_CTX'\n  | 'ORG_CTX'\n  | 'ACCOUNT_CTX';\n\nexport interface GetSiteContributorsRequest {\n  /** The locale of the request. Defaults to en-us */\n  locale?: string | null;\n}\n\nexport interface GetSiteContributorsResponse {\n  users?: User[];\n  teams?: Team[];\n  invites?: SiteInvite[];\n  policies?: Policy[];\n  permissions?: string[];\n  userId?: string;\n  loggedInAccountId?: string;\n  pendingOwner?: PendingOwner;\n  contributorLimit?: ContributorLimit;\n  predefinedRoles?: PredefinedRoles;\n}\n\nexport interface User {\n  /** User ID. */\n  _id?: string;\n  /**\n   * Deprecated.\n   * @deprecated\n   */\n  roles?: string[];\n  /** User's email address. */\n  email?: string;\n  /** User's name. */\n  name?: Name;\n  /** URL to user's profile image, when provided. */\n  profileImage?: string | null;\n  /** Date the user joined the team. */\n  joinedTeamAt?: Date | null;\n  /**\n   * Deprecated.\n   * @deprecated\n   */\n  policyIds?: string[];\n  /** Resources the user can access. */\n  assignments?: Assignment[];\n}\n\nexport interface Name {\n  /** User's first name. */\n  firstName?: string;\n  /** User's last name. */\n  lastName?: string;\n}\n\nexport interface Team {\n  accountId?: string;\n  accountInfo?: ApiAccountInfo;\n  policyIds?: string[];\n  joinedAt?: Date | null;\n}\n\nexport interface ApiAccountInfo {\n  accountName?: string;\n  accountImage?: string;\n  isTeam?: boolean;\n}\n\nexport interface SiteInvite {\n  /**\n   * Invite ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string;\n  /**\n   * Site ID the user is invited to as a collaborator.\n   * @format GUID\n   * @readonly\n   */\n  siteId?: string;\n  /**\n   * Email address where the invite was sent.\n   * @format EMAIL\n   */\n  email?: string;\n  /** Role IDs included in the invite. */\n  policyIds?: string[];\n  /**\n   * Deprecated. Use `inviterAccountId`.\n   * @readonly\n   * @deprecated\n   */\n  inviterId?: string;\n  /**\n   * Invite Status.\n   *\n   * Supported values:\n   * - **Pending:** The invite has been sent and is valid, waiting for the user's response.\n   * - **Used:** The invite has been accepted.\n   * - **Deleted:** The invite has been deleted or revoked.\n   * - **Declined:** The user declined the invite.\n   * - **Expired:** The invite has expired without being accepted.\n   */\n  status?: InviteStatusWithLiterals;\n  /** Link to accept the invite. */\n  acceptLink?: string;\n  /**\n   * Inviting account ID.\n   * @format GUID\n   * @readonly\n   */\n  inviterAccountId?: string;\n  /**\n   * Account ID that accepted the invite. Populated only once the invite is accepted.\n   * @format GUID\n   * @readonly\n   */\n  acceptedByAccountId?: string | null;\n  /** Date the invite was created. */\n  dateCreated?: Date | null;\n  /**\n   * User's Wix Bookings staff ID, if relevant.\n   * @format GUID\n   */\n  staffId?: string | null;\n  /** Invite expiration date */\n  expirationDate?: Date | null;\n  /**\n   * Location ids included in the invite\n   * @format GUID\n   * @readonly\n   * @maxSize 20\n   */\n  locationIds?: string[];\n  /**\n   * A set of capability keys representing the actions that the caller is allowed\n   * to perform on this specific contributor. This field is calculated based on the\n   * identity of the request sender and may differ between callers.\n   * @maxSize 20\n   * @maxLength 20\n   */\n  callerCapabilities?: string[];\n}\n\n/** Invite status stating whether the invite was accepted, waiting to be accepted, deleted etc.. */\nexport enum InviteStatus {\n  Pending = 'Pending',\n  Used = 'Used',\n  Deleted = 'Deleted',\n  Declined = 'Declined',\n  Expired = 'Expired',\n}\n\n/** @enumType */\nexport type InviteStatusWithLiterals =\n  | InviteStatus\n  | 'Pending'\n  | 'Used'\n  | 'Deleted'\n  | 'Declined'\n  | 'Expired';\n\nexport interface Policy {\n  _id?: string;\n  description?: string | null;\n  name?: string | null;\n  isCustom?: boolean;\n  scopes?: string[];\n}\n\nexport interface PendingOwner {\n  email?: string;\n  expirationDate?: Date | null;\n  acceptLink?: string;\n}\n\nexport interface ContributorLimit {\n  contributorLimit?: number;\n}\n\nexport interface PredefinedRoles {\n  roles?: PredefinedRole[];\n}\n\nexport interface PredefinedRole {\n  titleKey?: string;\n  roles?: Role[];\n  title?: string | null;\n  areaId?: string;\n}\n\nexport interface Role {\n  _id?: string;\n  deprecatedKey?: string;\n  /** @deprecated */\n  titleKey?: string;\n  /** @deprecated */\n  descriptionKey?: string;\n  deprecated?: boolean;\n  restrictFromLevel?: string;\n  experiments?: string[];\n  appDefIds?: string[];\n  title?: string | null;\n  description?: string | null;\n  isCustom?: boolean;\n  scopes?: string[];\n  availableResourceTypes?: ResourceTypeWithLiterals[];\n  availableConditions?: ConditionAttributeTypeWithLiterals[];\n  limitToEditorTypes?: string[];\n}\n\nexport interface GetSiteContributorsV2Request {\n  /** The locale of the request. Defaults to en-us. */\n  locale?: string | null;\n  /** The set of desired fields. */\n  fields?: string[];\n}\n\nexport interface GetSiteContributorsV2Response {\n  /** List of contributors of the given site. */\n  contributors?: Contributor[];\n  /** List of invites to contribute to the given site. */\n  invites?: SiteInvite[];\n  /** Quota information for contributors on the given site. */\n  contributorsQuota?: ContributorsQuota;\n  /** Pending owner information for the site. */\n  pendingOwner?: PendingOwner;\n  /**\n   * Enriched invites with localized policy information (flattened structure)\n   * @maxSize 20\n   */\n  enrichedInvites?: EnrichedSiteInvite[];\n}\n\nexport interface ContributorsQuota extends ContributorsQuotaOptionsOneOf {\n  /** Limited contributors quota details. */\n  limitedOptions?: LimitedOptions;\n  /** Type of contributors quota */\n  type?: TypeWithLiterals;\n}\n\n/** @oneof */\nexport interface ContributorsQuotaOptionsOneOf {\n  /** Limited contributors quota details. */\n  limitedOptions?: LimitedOptions;\n}\n\n/** Enum to represent different types of contributors quota. */\nexport enum Type {\n  UNKNOWN = 'UNKNOWN',\n  LIMITED = 'LIMITED',\n  UNLIMITED = 'UNLIMITED',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'UNKNOWN' | 'LIMITED' | 'UNLIMITED';\n\n/** Details for a limited contributors quota. */\nexport interface LimitedOptions {\n  /** Maximum number of contributors allowed. */\n  limit?: number;\n  /** Number of accepted or pending invitations. */\n  used?: number;\n}\n\n/** Enriched site invite with flattened structure including all invite fields plus localized policy info */\nexport interface EnrichedSiteInvite {\n  /**\n   * Core invite fields (flattened from SiteInvite)\n   * @format GUID\n   */\n  _id?: string;\n  /** @format EMAIL */\n  email?: string;\n  /** @maxLength 50 */\n  acceptLink?: string;\n  dateCreated?: Date | null;\n  /**\n   * @maxSize 20\n   * @maxLength 20\n   */\n  policyIds?: string[];\n  /**\n   * Additional invite fields that may exist\n   * @maxLength 50\n   */\n  inviterId?: string;\n  /** @maxLength 50 */\n  siteId?: string;\n  /**\n   * Additional SiteInvite fields\n   * @maxLength 50\n   */\n  status?: string;\n  expirationDate?: Date | null;\n  /**\n   * @format GUID\n   * @maxSize 20\n   */\n  locationIds?: string[];\n  /**\n   * Enriched policy information with localized titles and descriptions\n   * @maxSize 20\n   */\n  policies?: LocalizedPolicyInfo[];\n}\n\n/** Localized policy information for a specific policy */\nexport interface LocalizedPolicyInfo {\n  /**\n   * Policy ID (role ID)\n   * @maxLength 50\n   */\n  policyId?: string;\n  /**\n   * Localized policy title\n   * @maxLength 500\n   */\n  title?: string;\n  /**\n   * Localized policy description\n   * @maxLength 1000\n   */\n  description?: string;\n}\n\nexport interface HandleSiteTransferRequest {\n  originalOwnerAccountId?: string;\n  newOwnerAccountId?: string;\n  metaSiteId?: string;\n  keepOriginalOwnerAsContributor?: boolean;\n}\n\nexport interface HandleSiteTransferResponse {}\n\nexport interface GetCurrentUserRolesRequest {\n  /** The locale of the request. Defaults to en-us */\n  locale?: string | null;\n}\n\nexport interface GetCurrentUserRolesResponse {\n  roles?: LocalizedRole[];\n}\n\nexport interface LocalizedRole {\n  name?: string;\n  description?: string | null;\n}\n\nexport interface BulkGetUserRolesOnSiteRequest {\n  /** @maxSize 5 */\n  users?: UserSubject[];\n  /** The locale of the request. Defaults to en-us */\n  locale?: string | null;\n}\n\nexport interface UserSubject {\n  userId?: string;\n  accountId?: string;\n}\n\nexport interface BulkGetUserRolesOnSiteResponse {\n  userRoles?: UserLocalizedRoles[];\n}\n\nexport interface UserLocalizedRoles {\n  user?: UserSubject;\n  roles?: LocalizedRole[];\n}\n\nexport interface BulkValidateEmailInviteEligibilityRequest {\n  /**\n   * List of emails to be checked for invite eligibility.\n   * @minSize 1\n   * @maxSize 10\n   * @format EMAIL\n   */\n  emails?: string[];\n}\n\nexport interface BulkValidateEmailInviteEligibilityResponse {\n  /** List of email invite eligibility results. */\n  emailsEligibility?: EmailInviteEligibility[];\n}\n\nexport interface EmailInviteEligibility {\n  /**\n   * The email address being checked.\n   * @format EMAIL\n   */\n  email?: string;\n  /** Whether the email is eligible for an invite. */\n  eligible?: boolean;\n}\n\nexport interface ChangeContributorRoleRequest {\n  /**\n   * Contributor's account ID.\n   * @format GUID\n   */\n  accountId: string;\n  /** New roles to assign to the contributor on the site. Replaces all existing role assignments. */\n  newRoles: SiteRoleAssignment[];\n}\n\nexport interface SiteRoleAssignment {\n  /** 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. */\n  roleId?: string;\n  /**\n   * Assignment ID mapping the role to the contributor on the site.\n   * @readonly\n   */\n  assignmentId?: string;\n}\n\nexport interface ChangeContributorRoleResponse {\n  /** Roles assigned to the contributor on the site. */\n  newAssignedRoles?: SiteRoleAssignment[];\n}\n\nexport interface ChangeContributorLocationRequest {\n  /**\n   * Contributor's account ID.\n   * @format GUID\n   */\n  accountId: string;\n  /**\n   * Location IDs to assign to the contributor's role assignments on the site. Replaces all existing location assignments. Get location IDs from the [Locations API](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\n   * @format GUID\n   * @maxSize 20\n   */\n  newLocations: string[];\n}\n\nexport interface ChangeContributorLocationResponse {\n  /**\n   * Locations assigned to the contributor's role assignments on the site.\n   * @maxSize 20\n   */\n  newAssignedLocations?: SiteLocationAssignment[];\n}\n\nexport interface SiteLocationAssignment {\n  /**\n   * Location IDs assigned to the contributor's role assignments.\n   * @format GUID\n   * @maxSize 100\n   */\n  locationIds?: string[];\n  /**\n   * Assignment IDs mapping the locations to the contributor's role assignments on the site.\n   * @readonly\n   * @maxLength 20\n   * @maxSize 999\n   */\n  assignmentIds?: string[];\n}\n\nexport interface QuerySiteContributorsRequest {\n  /** Filter object for narrowing search results. */\n  filter?: QuerySiteContributorsFilter;\n}\n\nexport interface QuerySiteContributorsFilter {\n  /**\n   * Role IDs (referred to here as policy IDs) to filter by. Returns only contributors with at least one of the specified roles. See [Roles and Permissions](https://support.wix.com/en/article/roles-permissions-overview) for available roles.\n   * @maxSize 20\n   */\n  policyIds?: string[];\n  /**\n   * Location IDs to filter by. Returns only contributors with assignments to at least one of the specified locations.\n   * @format GUID\n   * @maxSize 20\n   */\n  locationIds?: string[];\n}\n\nexport enum FieldSet {\n  UNKNOWN = 'UNKNOWN',\n  /** Include only `account_id` and `account_owner_id` fields. */\n  META_DATA = 'META_DATA',\n}\n\n/** @enumType */\nexport type FieldSetWithLiterals = FieldSet | 'UNKNOWN' | 'META_DATA';\n\nexport interface QuerySiteContributorsResponse {\n  /** List of site contributors matching the filter criteria. */\n  contributors?: ContributorV2[];\n}\n\nexport interface ContributorV2 {\n  /** Contributor's account ID. */\n  accountId?: string | null;\n  /** User ID of the owner of the account that the contributor belongs to. */\n  accountOwnerId?: string | null;\n}\n\nexport interface GetContributorsQuotaRequest {}\n\nexport interface GetContributorsQuotaResponse {\n  /** Quota information for contributors on the given site. */\n  contributorsQuota?: ContributorsQuota;\n}\n\nexport interface RemoveContributorRequest {\n  /**\n   * Contributor's account ID to remove from the site.\n   * @format GUID\n   */\n  accountId: string;\n}\n\nexport interface RemoveContributorResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  _id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entity?: string;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n  body?: string;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\nexport interface GetAppContributorsRequest {\n  /** @format GUID */\n  appId?: string;\n  /** The locale of the request. Defaults to en-us. */\n  locale?: string | null;\n}\n\nexport interface GetAppContributorsResponse {\n  contributors?: Contributor[];\n  invites?: AppInvite[];\n}\n\nexport interface AppInvite {\n  /**\n   * @format GUID\n   * @readonly\n   */\n  _id?: string;\n  /**\n   * TODO: amitis - remove this comment after the next merge\n   * @format EMAIL\n   */\n  destEmail?: string;\n  /**\n   * @readonly\n   * @maxLength 20\n   */\n  status?: string;\n  /**\n   * @format WEB_URL\n   * @readonly\n   */\n  acceptLink?: string;\n  /** @maxLength 50 */\n  invitePurpose?: string | null;\n  /** @maxSize 10 */\n  policies?: AssignedPolicy[];\n  /** @readonly */\n  expirationDate?: Date | null;\n  /** @readonly */\n  dateCreated?: Date | null;\n  /** @readonly */\n  dateUpdated?: Date | null;\n  /**\n   * A set of capability keys representing the actions that the caller is allowed\n   * to perform on this specific invite. This field is calculated based on the\n   * identity of the request sender and may differ between callers.\n   * @maxSize 20\n   * @maxLength 20\n   */\n  callerCapabilities?: string[];\n}\n\nexport interface BaseEventMetadata {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  _id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n  accountInfo?: AccountInfoMetadata;\n}\n\nexport interface AccountInfoMetadata {\n  /** ID of the Wix account associated with the event */\n  accountId: string;\n  /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */\n  siteId?: string;\n  /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */\n  parentAccountId?: string;\n}\n\nexport interface ContributorCreatedEnvelope {\n  entity: Contributor;\n  metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Stores\n * @permissionScopeId SCOPE.STORES.MANAGE-STORES\n * @permissionScope Manage Bookings Services and Settings\n * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Challenges\n * @permissionScopeId SCOPE.CHALLENGES.MANAGE\n * @permissionScope Manage Portfolio\n * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO\n * @permissionScope View SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.VIEW-SEO\n * @permissionScope Manage SEO Settings\n * @permissionScopeId SCOPE.PROMOTE.MANAGE-SEO\n * @permissionScope Access Verticals by Automations\n * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS\n * @permissionScope Manage Contributors\n * @permissionScopeId SCOPE.DC-IDENTITY.MANAGE-CONTRIBUTORS\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionScope Set Up Automations\n * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS\n * @permissionId site-users.view-users\n * @webhook\n * @eventType wix.identity.v1.contributor_created\n * @serviceIdentifier com.wixpress.roles.management.api.SiteRolesManagementService\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onContributorCreated(\n  handler: (event: ContributorCreatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * returns a list of all the contributors + invites to be contributors of a given meta site ID taken from the\n * context.\n * @internal\n * @documentationMaturity preview\n * @permissionId site-users.view-users\n * @applicableIdentity APP\n * @fqn com.wixpress.roles.management.api.SiteRolesManagementService.GetSiteContributorsV2\n */\nexport async function getSiteContributorsV2(\n  options?: GetSiteContributorsV2Options\n): Promise<\n  NonNullablePaths<\n    GetSiteContributorsV2Response,\n    | `contributors`\n    | `contributors.${number}.metaData._id`\n    | `contributors.${number}._id`\n    | `invites`\n    | `invites.${number}._id`\n    | `invites.${number}.siteId`\n    | `invites.${number}.email`\n    | `invites.${number}.inviterId`\n    | `invites.${number}.status`\n    | `invites.${number}.acceptLink`\n    | `invites.${number}.inviterAccountId`\n    | `contributorsQuota.limitedOptions.limit`\n    | `contributorsQuota.limitedOptions.used`\n    | `contributorsQuota.type`\n    | `pendingOwner.email`\n    | `pendingOwner.acceptLink`\n    | `enrichedInvites`\n    | `enrichedInvites.${number}._id`\n    | `enrichedInvites.${number}.email`\n    | `enrichedInvites.${number}.acceptLink`\n    | `enrichedInvites.${number}.inviterId`\n    | `enrichedInvites.${number}.siteId`\n    | `enrichedInvites.${number}.status`,\n    5\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    locale: options?.locale,\n    fields: options?.fields,\n  });\n\n  const reqOpts =\n    ambassadorWixIdentityV1Contributor.getSiteContributorsV2(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          locale: '$[0].locale',\n          fields: '$[0].fields',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface GetSiteContributorsV2Options {\n  /** The locale of the request. Defaults to en-us. */\n  locale?: string | null;\n  /** The set of desired fields. */\n  fields?: string[];\n}\n\n/**\n * Updates all of a contributor's roles for the specified site, overriding any existing roles.\n *\n * Replaces all existing role assignments for the contributor with the roles specified in `newRoles`. To retrieve available roles, call [Get Roles Info](https://dev.wix.com/docs/api-reference/account-level/user-management/accounts/users/get-roles-info).\n * @param accountId - Contributor's account ID.\n * @public\n * @requiredField accountId\n * @requiredField options\n * @requiredField options.newRoles\n * @param options - Filter options. The `newRoles` field **must** be passed.\n * @permissionId SITE_ROLES.CHANGE_ROLE\n * @applicableIdentity APP\n * @fqn com.wixpress.roles.management.api.SiteRolesManagementService.ChangeRole\n */\nexport async function changeRole(\n  accountId: string,\n  options: NonNullablePaths<ChangeRoleOptions, `newRoles`, 2>\n): Promise<\n  NonNullablePaths<\n    ChangeContributorRoleResponse,\n    | `newAssignedRoles`\n    | `newAssignedRoles.${number}.roleId`\n    | `newAssignedRoles.${number}.assignmentId`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    accountId: accountId,\n    newRoles: options?.newRoles,\n  });\n\n  const reqOpts = ambassadorWixIdentityV1Contributor.changeRole(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          accountId: '$[0]',\n          newRoles: '$[1].newRoles',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['accountId', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface ChangeRoleOptions {\n  /** New roles to assign to the contributor on the site. Replaces all existing role assignments. */\n  newRoles: SiteRoleAssignment[];\n}\n\n/**\n * Updates the business locations within all a contributor's role assignments for the specified site, overriding any existing locations.\n *\n * Replaces all existing location assignments for the contributor's roles with the locations specified in `newLocations`. Get location IDs from the [Locations API](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\n * @param accountId - Contributor's account ID.\n * @public\n * @requiredField accountId\n * @requiredField options\n * @requiredField options.newLocations\n * @permissionId SITE_ROLES.CHANGE_LOCATION\n * @applicableIdentity APP\n * @fqn com.wixpress.roles.management.api.SiteRolesManagementService.ChangeContributorLocation\n */\nexport async function changeContributorLocation(\n  accountId: string,\n  options: NonNullablePaths<ChangeContributorLocationOptions, `newLocations`, 2>\n): Promise<\n  NonNullablePaths<ChangeContributorLocationResponse, `newAssignedLocations`, 2>\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    accountId: accountId,\n    newLocations: options?.newLocations,\n  });\n\n  const reqOpts =\n    ambassadorWixIdentityV1Contributor.changeContributorLocation(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          accountId: '$[0]',\n          newLocations: '$[1].newLocations',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['accountId', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface ChangeContributorLocationOptions {\n  /**\n   * Location IDs to assign to the contributor's role assignments on the site. Replaces all existing location assignments. Get location IDs from the [Locations API](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\n   * @format GUID\n   * @maxSize 20\n   */\n  newLocations: string[];\n}\n\n/**\n * Retrieves a list of contributors for the specified site, given the provided filters.\n *\n * Returns contributor account IDs and account owner IDs that match the specified filters.\n * @public\n * @param options - Filter options.\n * @permissionId site-users.view-users\n * @applicableIdentity APP\n * @fqn com.wixpress.roles.management.api.SiteRolesManagementService.QuerySiteContributors\n */\nexport async function querySiteContributors(\n  options?: QuerySiteContributorsOptions\n): Promise<NonNullablePaths<QuerySiteContributorsResponse, `contributors`, 2>> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    filter: options?.filter,\n  });\n\n  const reqOpts =\n    ambassadorWixIdentityV1Contributor.querySiteContributors(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { filter: '$[0].filter' },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface QuerySiteContributorsOptions {\n  /** Filter object for narrowing search results. */\n  filter?: QuerySiteContributorsFilter;\n}\n\n/**\n * returns the quota information for contributors on the given site.\n * @internal\n * @documentationMaturity preview\n * @permissionId site-users.view-users\n * @applicableIdentity APP\n * @fqn com.wixpress.roles.management.api.SiteRolesManagementService.GetContributorsQuota\n */\nexport async function getContributorsQuota(): Promise<\n  NonNullablePaths<\n    GetContributorsQuotaResponse,\n    | `contributorsQuota.limitedOptions.limit`\n    | `contributorsQuota.limitedOptions.used`\n    | `contributorsQuota.type`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[0] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({});\n\n  const reqOpts =\n    ambassadorWixIdentityV1Contributor.getContributorsQuota(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {},\n        singleArgumentUnchanged: false,\n      },\n      []\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Removes a contributor from the site by clearing all their role assignments.\n * @param accountId - Contributor's account ID to remove from the site.\n * @public\n * @requiredField accountId\n * @permissionId SITE_ROLES.REMOVE_CONTRIBUTOR\n * @applicableIdentity APP\n * @fqn com.wixpress.roles.management.api.SiteRolesManagementService.RemoveContributor\n */\nexport async function removeContributor(accountId: string): Promise<void> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    accountId: accountId,\n  });\n\n  const reqOpts = ambassadorWixIdentityV1Contributor.removeContributor(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { accountId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['accountId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressRolesManagementApiSiteRolesManagementServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/contributors/accept',\n        destPath: '/contributors/accept',\n      },\n      {\n        srcPath: '/roles-management-web',\n        destPath: '',\n      },\n      {\n        srcPath: '/team/accept',\n        destPath: '/team/accept',\n      },\n      {\n        srcPath: '/_api/roles-management-web',\n        destPath: '',\n      },\n      {\n        srcPath: '/app/accept',\n        destPath: '/app/accept',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/roles-management-web',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/roles-management-web',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/roles-management-web',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/roles-management-web',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/roles-management-web',\n        destPath: '',\n      },\n      {\n        srcPath: '/roles-management-web',\n        destPath: '',\n      },\n      {\n        srcPath: '/contributors/accept',\n        destPath: '/contributors/accept',\n      },\n      {\n        srcPath: '/team/accept',\n        destPath: '/team/accept',\n      },\n    ],\n    'dev._base_domain_': [\n      {\n        srcPath: '/_api/roles-management-web',\n        destPath: '',\n      },\n    ],\n    'platform.rise.ai': [\n      {\n        srcPath: '/v2/contributors',\n        destPath: '/v2/contributors',\n      },\n      {\n        srcPath: '/contributor/change/role',\n        destPath: '/contributor/change/role',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/roles-management',\n        destPath: '',\n      },\n      {\n        srcPath: '/roles-management-web',\n        destPath: '',\n      },\n      {\n        srcPath: '/roles-management/roles',\n        destPath: '/roles',\n      },\n      {\n        srcPath: '/roles-management/team',\n        destPath: '/team',\n      },\n      {\n        srcPath: '/roles-management/v3/team',\n        destPath: '/v3/team',\n      },\n      {\n        srcPath: '/roles-management/v2/team',\n        destPath: '/v2/team',\n      },\n      {\n        srcPath: '/roles-management/contributor/change',\n        destPath: '/contributor/change',\n      },\n      {\n        srcPath: '/roles-management/v2/contributors',\n        destPath: '/v2/contributors',\n      },\n      {\n        srcPath: '/roles-management/contributor/remove',\n        destPath: '/contributor/remove',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/identity/contributor',\n        destPath: '/contributor',\n      },\n    ],\n    'vibe._base_domain_': [\n      {\n        srcPath: '/roles-management-web/v2/contributors',\n        destPath: '/v2/contributors',\n      },\n      {\n        srcPath: '/roles-management-web/myRoles',\n        destPath: '/roles-management-web/myRoles',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/identity/contributor',\n        destPath: '/contributor',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_user-management_contributors';\n\n/**\n * returns a list of all the contributors + invites to be contributors of a given meta site ID taken from the\n * context.\n */\nexport function getSiteContributorsV2(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getSiteContributorsV2({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fields' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.identity.v1.contributor',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.roles.management.api.SiteRolesManagementService.GetSiteContributorsV2',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRolesManagementApiSiteRolesManagementServiceUrl({\n        protoPath: '/v2/contributors',\n        data: serializedData,\n        host,\n      }),\n      params: toURLSearchParams(serializedData),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'contributors.joinedAt' },\n              { path: 'invites.dateCreated' },\n              { path: 'invites.expirationDate' },\n              { path: 'pendingOwner.expirationDate' },\n              { path: 'enrichedInvites.dateCreated' },\n              { path: 'enrichedInvites.expirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getSiteContributorsV2;\n}\n\n/**\n * Updates all of a contributor's roles for the specified site, overriding any existing roles.\n *\n * Replaces all existing role assignments for the contributor with the roles specified in `newRoles`. To retrieve available roles, call [Get Roles Info](https://dev.wix.com/docs/api-reference/account-level/user-management/accounts/users/get-roles-info).\n */\nexport function changeRole(payload: object): RequestOptionsFactory<any> {\n  function __changeRole({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.identity.v1.contributor',\n      method: 'PUT' as any,\n      methodFqn:\n        'com.wixpress.roles.management.api.SiteRolesManagementService.ChangeRole',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRolesManagementApiSiteRolesManagementServiceUrl({\n        protoPath: '/contributor/change/role',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __changeRole;\n}\n\n/**\n * Updates the business locations within all a contributor's role assignments for the specified site, overriding any existing locations.\n *\n * Replaces all existing location assignments for the contributor's roles with the locations specified in `newLocations`. Get location IDs from the [Locations API](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\n */\nexport function changeContributorLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __changeContributorLocation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.identity.v1.contributor',\n      method: 'PUT' as any,\n      methodFqn:\n        'com.wixpress.roles.management.api.SiteRolesManagementService.ChangeContributorLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRolesManagementApiSiteRolesManagementServiceUrl({\n        protoPath: '/contributor/change/locations',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __changeContributorLocation;\n}\n\n/**\n * Retrieves a list of contributors for the specified site, given the provided filters.\n *\n * Returns contributor account IDs and account owner IDs that match the specified filters.\n */\nexport function querySiteContributors(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __querySiteContributors({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.identity.v1.contributor',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.roles.management.api.SiteRolesManagementService.QuerySiteContributors',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRolesManagementApiSiteRolesManagementServiceUrl({\n        protoPath: '/v2/contributors/query',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __querySiteContributors;\n}\n\n/** returns the quota information for contributors on the given site. */\nexport function getContributorsQuota(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getContributorsQuota({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.identity.v1.contributor',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.roles.management.api.SiteRolesManagementService.GetContributorsQuota',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRolesManagementApiSiteRolesManagementServiceUrl({\n        protoPath: '/v2/contributors/quota',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getContributorsQuota;\n}\n\n/** Removes a contributor from the site by clearing all their role assignments. */\nexport function removeContributor(payload: object): RequestOptionsFactory<any> {\n  function __removeContributor({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.identity.v1.contributor',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.roles.management.api.SiteRolesManagementService.RemoveContributor',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRolesManagementApiSiteRolesManagementServiceUrl({\n        protoPath: '/contributor/remove',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __removeContributor;\n}\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACJP,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,kEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAA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AAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAAA,EACjC,SAAS,KAAU;AACjB,UAAM,mBAAmB;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B,EAAE,WAAW,OAAO;AAAA,QAC9C,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,WAAW;AAAA,IACd;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["payload","ResourceType","ConditionAttributeType","SubjectType","SubjectContextType","InviteStatus","Type","FieldSet","WebhookIdentityType","getSiteContributorsV2","changeRole","changeContributorLocation","querySiteContributors","getContributorsQuota","removeContributor"]}