{"version":3,"sources":["../../src/social-groups-v2-group-request-group-requests.public.ts","../../src/social-groups-v2-group-request-group-requests.universal.ts","../../src/social-groups-v2-group-request-group-requests.http.ts","../../src/social-groups-v2-group-request-group-requests.context.ts"],"sourcesContent":["import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  ApproveGroupRequestsResponse,\n  GroupRequestApprovedEnvelope,\n  GroupRequestCreatedEnvelope,\n  GroupRequestQuery,\n  GroupRequestRejectedEnvelope,\n  GroupRequestsQueryBuilder,\n  ListGroupRequestsOptions,\n  ListGroupRequestsResponse,\n  QueryGroupRequestsOptions,\n  QueryGroupRequestsResponse,\n  RejectGroupRequestsResponse,\n  Rejection,\n  approveGroupRequests as universalApproveGroupRequests,\n  listGroupRequests as universalListGroupRequests,\n  queryGroupRequests as universalQueryGroupRequests,\n  rejectGroupRequests as universalRejectGroupRequests,\n  typedQueryGroupRequests as universalTypedQueryGroupRequests,\n} from './social-groups-v2-group-request-group-requests.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/groups' };\n\nexport function approveGroupRequests(\n  httpClient: HttpClient\n): ApproveGroupRequestsSignature {\n  return (groupRequestIds: string[]) =>\n    universalApproveGroupRequests(\n      groupRequestIds,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface ApproveGroupRequestsSignature {\n  /**\n   * Approves group requests.\n   *\n   * Only Wix users can approve group requests.\n   * @param - Group request IDs to approve. Limited to `100`.\n   */\n  (groupRequestIds: string[]): Promise<\n    NonNullablePaths<\n      ApproveGroupRequestsResponse,\n      | `groupRequest`\n      | `groupRequest.${number}.group.privacyStatus`\n      | `groupRequest.${number}.group.settings.allowedToInviteMembers`\n      | `groupRequest.${number}.group.settings.allowedToApproveJoinRequests`\n      | `groupRequest.${number}.status`,\n      6\n    >\n  >;\n}\n\nexport function rejectGroupRequests(\n  httpClient: HttpClient\n): RejectGroupRequestsSignature {\n  return (rejections: Rejection[]) =>\n    universalRejectGroupRequests(\n      rejections,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface RejectGroupRequestsSignature {\n  /**\n   * Rejects group requests.\n   *\n   * Only Wix users can reject group requests.\n   * @param - Rejection data.\n   */\n  (rejections: Rejection[]): Promise<\n    NonNullablePaths<\n      RejectGroupRequestsResponse,\n      | `groupRequest`\n      | `groupRequest.${number}.group.privacyStatus`\n      | `groupRequest.${number}.group.settings.allowedToInviteMembers`\n      | `groupRequest.${number}.group.settings.allowedToApproveJoinRequests`\n      | `groupRequest.${number}.status`,\n      6\n    >\n  >;\n}\n\nexport function listGroupRequests(\n  httpClient: HttpClient\n): ListGroupRequestsSignature {\n  return (options?: ListGroupRequestsOptions) =>\n    universalListGroupRequests(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface ListGroupRequestsSignature {\n  /**\n   * Lists requests to create a group.\n   *\n   * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.\n   *\n   * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.\n   *\n   * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.\n   *\n   * >**Note:** This function is only relevant if admin approval is required for creating a group.\n   *\n   * @param - Paging options.\n   */\n  (options?: ListGroupRequestsOptions): Promise<\n    NonNullablePaths<\n      ListGroupRequestsResponse,\n      | `groupRequests`\n      | `groupRequests.${number}.group.privacyStatus`\n      | `groupRequests.${number}.group.settings.allowedToInviteMembers`\n      | `groupRequests.${number}.group.settings.allowedToApproveJoinRequests`\n      | `groupRequests.${number}.status`,\n      6\n    >\n  >;\n}\n\nexport function queryGroupRequests(\n  httpClient: HttpClient\n): QueryGroupRequestsSignature {\n  return (options?: QueryGroupRequestsOptions) =>\n    universalQueryGroupRequests(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface QueryGroupRequestsSignature {\n  /**\n   * Creates a query to retrieve a list of create requests.\n   *\n   * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a `GroupRequestsQueryBuilder` object.\n   *\n   * The returned object contains the query definition which is typically used to run the query using the [`find()`](/group-requests-query-builder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.\n   *\n   * `queryGroupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:\n   * - [`limit(1000)`](/group-requests-query-builder/limit)\n   *\n   * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](/group-requests-query-result/items) property in `GroupRequestsQueryResult`.\n   */\n  (options?: QueryGroupRequestsOptions): GroupRequestsQueryBuilder;\n}\n\nexport function typedQueryGroupRequests(\n  httpClient: HttpClient\n): TypedQueryGroupRequestsSignature {\n  return (query: GroupRequestQuery, options?: QueryGroupRequestsOptions) =>\n    universalTypedQueryGroupRequests(\n      query,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface TypedQueryGroupRequestsSignature {\n  /** */\n  (query: GroupRequestQuery, options?: QueryGroupRequestsOptions): Promise<\n    NonNullablePaths<\n      QueryGroupRequestsResponse,\n      | `groupRequests`\n      | `groupRequests.${number}.group.privacyStatus`\n      | `groupRequests.${number}.group.settings.allowedToInviteMembers`\n      | `groupRequests.${number}.group.settings.allowedToApproveJoinRequests`\n      | `groupRequests.${number}.status`,\n      6\n    >\n  >;\n}\n\nexport const onGroupRequestApproved = EventDefinition(\n  'wix.social_groups.v2.group_request_approved',\n  true,\n  (event: GroupRequestApprovedEnvelope) =>\n    renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(event, [\n        {\n          transformFn: transformRESTTimestampToSDKTimestamp,\n          paths: [\n            { path: 'data.groupRequest.group.createdDate' },\n            { path: 'data.groupRequest.group.updatedDate' },\n            { path: 'data.groupRequest.group.recentActivityDate' },\n            { path: 'data.groupRequest.group.lastActivityDate' },\n            { path: 'metadata.eventTime' },\n          ],\n        },\n        {\n          transformFn: transformRESTFloatToSDKFloat,\n          paths: [\n            { path: 'data.groupRequest.group.details.logoPosition.x' },\n            { path: 'data.groupRequest.group.details.logoPosition.y' },\n            { path: 'data.groupRequest.group.details.mobileLogoPosition.x' },\n            { path: 'data.groupRequest.group.details.mobileLogoPosition.y' },\n            { path: 'data.groupRequest.group.coverImage.position.x' },\n            { path: 'data.groupRequest.group.coverImage.position.y' },\n            { path: 'data.groupRequest.group.coverImage.mobilePosition.x' },\n            { path: 'data.groupRequest.group.coverImage.mobilePosition.y' },\n          ],\n        },\n      ])\n    )\n)<GroupRequestApprovedEnvelope>();\nexport const onGroupRequestCreated = EventDefinition(\n  'wix.social_groups.v2.group_request_created',\n  true,\n  (event: GroupRequestCreatedEnvelope) =>\n    renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(event, [\n        {\n          transformFn: transformRESTTimestampToSDKTimestamp,\n          paths: [\n            { path: 'entity.group.createdDate' },\n            { path: 'entity.group.updatedDate' },\n            { path: 'entity.group.recentActivityDate' },\n            { path: 'entity.group.lastActivityDate' },\n            { path: 'metadata.eventTime' },\n          ],\n        },\n        {\n          transformFn: transformRESTFloatToSDKFloat,\n          paths: [\n            { path: 'entity.group.details.logoPosition.x' },\n            { path: 'entity.group.details.logoPosition.y' },\n            { path: 'entity.group.details.mobileLogoPosition.x' },\n            { path: 'entity.group.details.mobileLogoPosition.y' },\n            { path: 'entity.group.coverImage.position.x' },\n            { path: 'entity.group.coverImage.position.y' },\n            { path: 'entity.group.coverImage.mobilePosition.x' },\n            { path: 'entity.group.coverImage.mobilePosition.y' },\n          ],\n        },\n      ])\n    )\n)<GroupRequestCreatedEnvelope>();\nexport const onGroupRequestRejected = EventDefinition(\n  'wix.social_groups.v2.group_request_rejected',\n  true,\n  (event: GroupRequestRejectedEnvelope) =>\n    renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(event, [\n        {\n          transformFn: transformRESTTimestampToSDKTimestamp,\n          paths: [\n            { path: 'data.groupRequest.group.createdDate' },\n            { path: 'data.groupRequest.group.updatedDate' },\n            { path: 'data.groupRequest.group.recentActivityDate' },\n            { path: 'data.groupRequest.group.lastActivityDate' },\n            { path: 'metadata.eventTime' },\n          ],\n        },\n        {\n          transformFn: transformRESTFloatToSDKFloat,\n          paths: [\n            { path: 'data.groupRequest.group.details.logoPosition.x' },\n            { path: 'data.groupRequest.group.details.logoPosition.y' },\n            { path: 'data.groupRequest.group.details.mobileLogoPosition.x' },\n            { path: 'data.groupRequest.group.details.mobileLogoPosition.y' },\n            { path: 'data.groupRequest.group.coverImage.position.x' },\n            { path: 'data.groupRequest.group.coverImage.position.y' },\n            { path: 'data.groupRequest.group.coverImage.mobilePosition.x' },\n            { path: 'data.groupRequest.group.coverImage.mobilePosition.y' },\n          ],\n        },\n      ])\n    )\n)<GroupRequestRejectedEnvelope>();\n\nexport {\n  AccessRestriction,\n  AccessRestrictionDataOneOf,\n  AccountInfo,\n  AccountInfoMetadata,\n  ActionEvent,\n  AllowPolicy,\n  ApproveGroupRequestsRequest,\n  ApproveGroupRequestsResponse,\n  BaseEventMetadata,\n  CancelGroupRequestRequest,\n  CancelGroupRequestResponse,\n  ContentType,\n  CoverImage,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  EntityCreatedEvent,\n  EntityDeletedEvent,\n  EntityUpdatedEvent,\n  EventMetadata,\n  Events,\n  Group,\n  GroupDetails,\n  GroupDetailsPosition,\n  GroupRequest,\n  GroupRequestApproved,\n  GroupRequestApprovedEnvelope,\n  GroupRequestCreatedEnvelope,\n  GroupRequestQuerySpec,\n  GroupRequestRejected,\n  GroupRequestRejectedEnvelope,\n  GroupRequestsQueryBuilder,\n  GroupRequestsQueryResult,\n  GroupSettings,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  Identity,\n  IdentityType,\n  Image,\n  ItemsToUpdate,\n  ListGroupRequestsOptions,\n  ListGroupRequestsRequest,\n  ListGroupRequestsResponse,\n  Logo,\n  MessageEnvelope,\n  OnboardingStepSettings,\n  OwnershipFilter,\n  Paging,\n  PagingMetadata,\n  Position,\n  PrivacyStatus,\n  Query,\n  QueryGroupRequestsOptions,\n  QueryGroupRequestsRequest,\n  QueryGroupRequestsResponse,\n  RejectGroupRequestsRequest,\n  RejectGroupRequestsResponse,\n  Rejection,\n  RequestDetails,\n  RequestStatus,\n  RestoreInfo,\n  SortOrder,\n  Sorting,\n  StepKey,\n  SubmitGroupRequestRequest,\n  SubmitGroupRequestResponse,\n  Type,\n  WebhookIdentityType,\n  utils,\n} from './social-groups-v2-group-request-group-requests.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n  HttpClient,\n  HttpResponse,\n  NonNullablePaths,\n  QuerySpec,\n  Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixSocialGroupsV2GroupRequest from './social-groups-v2-group-request-group-requests.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\n/**\n * A group request is a site member's request for a site admin to create a group.\n * You can approve, reject, or view group requests.\n * Learn more about [Wix Groups](https://support.wix.com/en/article/wix-groups-about-groups).\n */\nexport interface GroupRequest {\n  /**\n   * Group request ID.\n   * @readonly\n   * @format GUID\n   */\n  _id?: string | null;\n  /** Group requested for creation. */\n  group?: Group;\n  /** Status of group request. */\n  status?: RequestStatusWithLiterals;\n  /** Group request details. */\n  requestDetails?: RequestDetails;\n}\n\n/**\n * A group object represents a community space where site members can connect and share content.\n * You can create groups and manage their visibility, settings, and metadata.\n * Learn more about [groups](https://support.wix.com/en/article/wix-groups-about-groups).\n */\nexport interface Group {\n  /**\n   * Group ID.\n   * @readonly\n   * @format GUID\n   */\n  _id?: string | null;\n  /**\n   * A unique part of a group's URL, for example `https:/example.com/groups/slug`.\n   * @minLength 1\n   * @maxLength 100\n   */\n  slug?: string | null;\n  /** Group privacy status. */\n  privacyStatus?: PrivacyStatusWithLiterals;\n  /**\n   * Group name.\n   * @maxLength 100\n   */\n  name?: string | null;\n  /**\n   * Group description in [DraftJS](https://draftjs.org) format.\n   * @maxLength 20480\n   */\n  description?: string | null;\n  /**\n   * Group teaser.\n   * @maxLength 1000\n   */\n  teaser?: string | null;\n  /**\n   * What group members are called, for example `Coworkers`, `Friends`, or `Students`.\n   * @minLength 1\n   * @maxLength 1000\n   */\n  memberTitle?: string | null;\n  /** Cover image. You cannot upload your own cover image. */\n  coverImage?: CoverImage;\n  /**\n   * Group specific settings.\n   *\n   * These settings can also be found in [a site's Dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fwix-groups/settings?).\n   */\n  settings?: GroupSettings;\n  /**\n   * Total count of current group members.\n   * @readonly\n   */\n  membersCount?: number | null;\n  /**\n   * Group owner.\n   * @readonly\n   * @format GUID\n   */\n  ownerId?: string | null;\n  /**\n   * Group creation date and time.\n   * @readonly\n   */\n  _createdDate?: Date | null;\n  /**\n   * Date and time of the latest group update.\n   * @readonly\n   */\n  _updatedDate?: Date | null;\n  /**\n   * Date and time of the most recent group activity, for example a post or comment.\n   * @readonly\n   */\n  lastActivityDate?: Date | null;\n}\n\nexport enum Type {\n  UNKNOWN = 'UNKNOWN',\n  ADMIN_APPROVAL = 'ADMIN_APPROVAL',\n  PAID_PLANS = 'PAID_PLANS',\n  EVENTS = 'EVENTS',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n  | Type\n  | 'UNKNOWN'\n  | 'ADMIN_APPROVAL'\n  | 'PAID_PLANS'\n  | 'EVENTS';\n\nexport interface Events {\n  /** @format GUID */\n  eventIds?: string[];\n}\n\nexport interface Logo {\n  /**\n   * Logo image ID (for internal use).\n   * @maxLength 1000\n   */\n  mediaId?: string | null;\n  /** Logo image width. */\n  width?: number | null;\n  /** Logo image height. */\n  height?: number | null;\n  /**\n   * Alternative text.\n   * @maxLength 200\n   */\n  altText?: string | null;\n}\n\nexport interface GroupDetailsPosition {\n  /** horizontal coordinate */\n  x?: number;\n  /** vertical coordinate */\n  y?: number;\n}\n\nexport interface Image {\n  /**\n   * Image ID (for internal use).\n   * @maxLength 1000\n   */\n  mediaId?: string | null;\n  /** Image width. */\n  width?: number | null;\n  /** Image height. */\n  height?: number | null;\n  /** Indicates pre-configured/auto-generated images (from templates, client generated). */\n  preset?: boolean | null;\n}\n\nexport interface Position {\n  /** horizontal coordinate */\n  x?: number;\n  /** vertical coordinate */\n  y?: number;\n}\n\nexport enum AllowPolicy {\n  UNKNOWN = 'UNKNOWN',\n  OWNER_AND_ADMINS = 'OWNER_AND_ADMINS',\n  OWNER = 'OWNER',\n  ALL_MEMBERS = 'ALL_MEMBERS',\n}\n\n/** @enumType */\nexport type AllowPolicyWithLiterals =\n  | AllowPolicy\n  | 'UNKNOWN'\n  | 'OWNER_AND_ADMINS'\n  | 'OWNER'\n  | 'ALL_MEMBERS';\n\nexport interface OnboardingStepSettings {\n  stepKey?: StepKeyWithLiterals;\n  visible?: boolean;\n}\n\nexport enum StepKey {\n  UNKNOWN = 'UNKNOWN',\n  CREATE_POST = 'CREATE_POST',\n  REACT_TO_POST = 'REACT_TO_POST',\n  INVITE_MEMBERS = 'INVITE_MEMBERS',\n}\n\n/** @enumType */\nexport type StepKeyWithLiterals =\n  | StepKey\n  | 'UNKNOWN'\n  | 'CREATE_POST'\n  | 'REACT_TO_POST'\n  | 'INVITE_MEMBERS';\n\nexport enum PrivacyStatus {\n  /** Undefined group privacy status. */\n  UNKNOWN = 'UNKNOWN',\n  /** Anyone can see the group and its content. Anyone can join the group. */\n  PUBLIC = 'PUBLIC',\n  /** Anyone can see the group, but only members can see its content. New members must submit a `Join Group Request`. */\n  PRIVATE = 'PRIVATE',\n  /** Only admins and members can see the group. New members can only be added by other members. */\n  SECRET = 'SECRET',\n}\n\n/** @enumType */\nexport type PrivacyStatusWithLiterals =\n  | PrivacyStatus\n  | 'UNKNOWN'\n  | 'PUBLIC'\n  | 'PRIVATE'\n  | 'SECRET';\n\nexport interface AccessRestriction extends AccessRestrictionDataOneOf {\n  events?: Events;\n  type?: TypeWithLiterals;\n}\n\n/** @oneof */\nexport interface AccessRestrictionDataOneOf {\n  events?: Events;\n}\n\nexport interface GroupDetails {\n  /** Group logo. You cannot upload your own logo. */\n  logo?: Logo;\n  /**\n   * What group members are called, for example `Coworkers`, `Friends`, or `Students`.\n   * @minLength 1\n   * @maxLength 1000\n   */\n  membersTitle?: string | null;\n}\n\n/** Cover image. You cannot upload your own cover image. */\nexport interface CoverImage {\n  /** Cover image. */\n  image?: Image;\n  /** Position of the corner of the cover image (or logo). */\n  position?: Position;\n  /** Position of the corner of the cover image (or logo) for mobile browser. */\n  mobilePosition?: Position;\n  /**\n   * Alternative text is typically a relatively short phrase that describes what the image depicts.\n   *\n   * The alternative text is used:\n   * + If the browser cannot display the image.\n   * + If the user is utilizing a screen reader.\n   * + By search engines to understand what images are on your site.\n   * @maxLength 200\n   */\n  altText?: string | null;\n}\n\nexport interface GroupSettings {\n  /**\n   * __Deprecated.__ Use `allowedToInviteMembers` instead.\n   * Whether regular members are permitted to invite new members.\n   * If `false`, only admins can invite members. Defaults to `true`.\n   * @deprecated\n   */\n  membersCanInvite?: boolean | null;\n  /**\n   * __Deprecated.__ Use `allowedToApproveJoinRequests` instead.\n   * Whether all group members are permitted to approve join group requests.\n   * If `false`, member approval is limited to the admins.\n   * @deprecated\n   */\n  membersCanApprove?: boolean | null;\n  /** Whether a daily post about new members is enabled. */\n  welcomeMemberPostEnabled?: boolean | null;\n  /** Whether an automatic post about changing the group details is enabled. */\n  groupDetailsChangedPostEnabled?: boolean | null;\n  /** Whether all members can see the full member list. */\n  showMemberList?: boolean | null;\n  /** Determines who can invite members to the group */\n  allowedToInviteMembers?: AllowPolicyWithLiterals;\n  /** Determines who can approve member join requests to the group */\n  allowedToApproveJoinRequests?: AllowPolicyWithLiterals;\n  /**\n   * Whether AI spam protection is enabled for post creation in the group.\n   * If not explicitly set, the default behavior is 'true' (enabled).\n   */\n  aiSpamProtectionEnabled?: boolean | null;\n}\n\nexport interface Identity {\n  /**\n   * Member ID of the group creator.  See the Members API for more details.\n   * @format GUID\n   */\n  _id?: string | null;\n  identityType?: IdentityTypeWithLiterals;\n}\n\nexport enum IdentityType {\n  /** Wix user. */\n  USER = 'USER',\n  /** Wix member. */\n  MEMBER = 'MEMBER',\n}\n\n/** @enumType */\nexport type IdentityTypeWithLiterals = IdentityType | 'USER' | 'MEMBER';\n\nexport enum RequestStatus {\n  /** Pending group request. */\n  PENDING = 'PENDING',\n  /** Approved group request. */\n  APPROVED = 'APPROVED',\n  /** Rejected group request. */\n  REJECTED = 'REJECTED',\n  /** Canceled group request. */\n  CANCELED = 'CANCELED',\n}\n\n/** @enumType */\nexport type RequestStatusWithLiterals =\n  | RequestStatus\n  | 'PENDING'\n  | 'APPROVED'\n  | 'REJECTED'\n  | 'CANCELED';\n\nexport interface RequestDetails {\n  /**\n   * Reason the request has been rejected.\n   * @maxLength 1000\n   */\n  rejectionReason?: string | null;\n}\n\nexport interface SubmitGroupRequestRequest {\n  /** Group submitted for creation. */\n  group?: Group;\n  /** Content type of group description. */\n  contentType?: ContentTypeWithLiterals;\n}\n\nexport enum ContentType {\n  PLAIN_TEXT = 'PLAIN_TEXT',\n  DRAFTJS = 'DRAFTJS',\n  RICH_CONTENT = 'RICH_CONTENT',\n}\n\n/** @enumType */\nexport type ContentTypeWithLiterals =\n  | ContentType\n  | 'PLAIN_TEXT'\n  | 'DRAFTJS'\n  | 'RICH_CONTENT';\n\nexport interface SubmitGroupRequestResponse {\n  /** Submitted Group Request. */\n  groupRequest?: GroupRequest;\n}\n\nexport interface ApproveGroupRequestsRequest {\n  /**\n   * Group request IDs to approve. Limited to `100`.\n   * @maxSize 100\n   */\n  groupRequestIds?: string[];\n}\n\nexport enum ItemsToUpdate {\n  /** Take into account only items which are listed in the request. */\n  BY_ID = 'BY_ID',\n  /** Update all items. */\n  ALL_ITEMS = 'ALL_ITEMS',\n}\n\n/** @enumType */\nexport type ItemsToUpdateWithLiterals = ItemsToUpdate | 'BY_ID' | 'ALL_ITEMS';\n\nexport interface ApproveGroupRequestsResponse {\n  /** Approved group requests. */\n  groupRequest?: GroupRequest[];\n}\n\nexport interface GroupRequestApproved {\n  /** Approved group request. */\n  groupRequest?: GroupRequest;\n}\n\nexport interface RejectGroupRequestsRequest {\n  /**\n   * Rejection data.\n   * @maxSize 100\n   */\n  rejections?: Rejection[];\n}\n\nexport interface Rejection {\n  /**\n   * ID of the group request to reject.\n   * @format GUID\n   */\n  groupRequestId?: string;\n  /**\n   * Rejection reason. Free text displayed to the creator of the rejected group request. Limited to 1,000 characters.\n   * @maxLength 1000\n   */\n  reason?: string | null;\n}\n\nexport interface RejectGroupRequestsResponse {\n  /** Rejected group requests. */\n  groupRequest?: GroupRequest[];\n}\n\nexport interface GroupRequestRejected {\n  /** Rejected group request. */\n  groupRequest?: GroupRequest;\n}\n\nexport interface CancelGroupRequestRequest {\n  /**\n   * ID of the group request to cancel.\n   * @format GUID\n   */\n  groupRequestId?: string;\n}\n\nexport interface CancelGroupRequestResponse {\n  /** Canceled group request. */\n  groupRequest?: GroupRequest;\n}\n\nexport interface ListGroupRequestsRequest {\n  /**\n   * Number of items to load. Maximum `100`.\n   * @max 100\n   */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\nexport enum OwnershipFilter {\n  /** All items. */\n  ALL = 'ALL',\n  /** Items for the current site member. */\n  CURRENT_MEMBER = 'CURRENT_MEMBER',\n}\n\n/** @enumType */\nexport type OwnershipFilterWithLiterals =\n  | OwnershipFilter\n  | 'ALL'\n  | 'CURRENT_MEMBER';\n\nexport interface ListGroupRequestsResponse {\n  /** Group Requests. */\n  groupRequests?: GroupRequest[];\n  /** Paging information. */\n  metadata?: PagingMetadata;\n}\n\nexport interface PagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. */\n  total?: number | null;\n  /** Flag that indicates the server failed to calculate the `total` field. */\n  tooManyToCount?: boolean | null;\n}\n\nexport interface QueryGroupRequestsRequest {\n  query?: Query;\n}\n\nexport interface Query {\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: any;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   */\n  sort?: Sorting[];\n  /** Paging options to limit and skip the number of items. */\n  paging?: Paging;\n  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fields?: string[];\n  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fieldsets?: string[];\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n  /**\n   * Number of items to load.\n   *\n   * Max: `100`\n   */\n  limit?: number | null;\n  /**\n   * Number of items to skip in the current sort order.\n   *\n   */\n  offset?: number | null;\n}\n\nexport interface QueryGroupRequestsResponse {\n  /** Retrieved group requests. */\n  groupRequests?: GroupRequest[];\n  /** Paging information. */\n  metadata?: PagingMetadata;\n}\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 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 GroupRequestApprovedEnvelope {\n  data: GroupRequestApproved;\n  metadata: EventMetadata;\n}\n\n/**\n * Triggered when a group request is approved.\n * @permissionScope Manage Social Groups\n * @permissionScopeId SCOPE.DC-MANAGE.SOCIAL-GROUPS\n * @permissionId SOCIAL-GROUPS.MANAGE\n * @webhook\n * @eventType wix.social_groups.v2.group_request_approved\n * @serviceIdentifier wix.social.groups.api.v2.GroupRequestsService\n * @slug approved\n */\nexport declare function onGroupRequestApproved(\n  handler: (event: GroupRequestApprovedEnvelope) => void | Promise<void>\n): void;\n\nexport interface GroupRequestCreatedEnvelope {\n  entity: GroupRequest;\n  metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Social Groups\n * @permissionScopeId SCOPE.DC-MANAGE.SOCIAL-GROUPS\n * @permissionId SOCIAL-GROUPS.MANAGE\n * @webhook\n * @eventType wix.social_groups.v2.group_request_created\n * @serviceIdentifier wix.social.groups.api.v2.GroupRequestsService\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onGroupRequestCreated(\n  handler: (event: GroupRequestCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface GroupRequestRejectedEnvelope {\n  data: GroupRequestRejected;\n  metadata: EventMetadata;\n}\n\n/**\n * Triggered when a group request is rejected.\n * @permissionScope Manage Social Groups\n * @permissionScopeId SCOPE.DC-MANAGE.SOCIAL-GROUPS\n * @permissionId SOCIAL-GROUPS.MANAGE\n * @webhook\n * @eventType wix.social_groups.v2.group_request_rejected\n * @serviceIdentifier wix.social.groups.api.v2.GroupRequestsService\n * @slug rejected\n */\nexport declare function onGroupRequestRejected(\n  handler: (event: GroupRequestRejectedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Approves group requests.\n *\n * Only Wix users can approve group requests.\n * @param groupRequestIds - Group request IDs to approve. Limited to `100`.\n * @public\n * @requiredField groupRequestIds\n * @fqn wix.social.groups.api.v2.GroupRequestsService.ApproveGroupRequests\n */\nexport async function approveGroupRequests(\n  groupRequestIds: string[]\n): Promise<\n  NonNullablePaths<\n    ApproveGroupRequestsResponse,\n    | `groupRequest`\n    | `groupRequest.${number}.group.privacyStatus`\n    | `groupRequest.${number}.group.settings.allowedToInviteMembers`\n    | `groupRequest.${number}.group.settings.allowedToApproveJoinRequests`\n    | `groupRequest.${number}.status`,\n    6\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    groupRequestIds: groupRequestIds,\n  });\n\n  const reqOpts =\n    ambassadorWixSocialGroupsV2GroupRequest.approveGroupRequests(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: { groupRequestIds: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['groupRequestIds']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Rejects group requests.\n *\n * Only Wix users can reject group requests.\n * @param rejections - Rejection data.\n * @public\n * @requiredField rejections\n * @fqn wix.social.groups.api.v2.GroupRequestsService.RejectGroupRequests\n */\nexport async function rejectGroupRequests(\n  rejections: Rejection[]\n): Promise<\n  NonNullablePaths<\n    RejectGroupRequestsResponse,\n    | `groupRequest`\n    | `groupRequest.${number}.group.privacyStatus`\n    | `groupRequest.${number}.group.settings.allowedToInviteMembers`\n    | `groupRequest.${number}.group.settings.allowedToApproveJoinRequests`\n    | `groupRequest.${number}.status`,\n    6\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    rejections: rejections,\n  });\n\n  const reqOpts =\n    ambassadorWixSocialGroupsV2GroupRequest.rejectGroupRequests(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: { rejections: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['rejections']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Lists requests to create a group.\n *\n * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.\n *\n * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.\n *\n * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.\n *\n * >**Note:** This function is only relevant if admin approval is required for creating a group.\n *\n * @public\n * @param options - Paging options.\n * @fqn wix.social.groups.api.v2.GroupRequestsService.ListGroupRequests\n */\nexport async function listGroupRequests(\n  options?: ListGroupRequestsOptions\n): Promise<\n  NonNullablePaths<\n    ListGroupRequestsResponse,\n    | `groupRequests`\n    | `groupRequests.${number}.group.privacyStatus`\n    | `groupRequests.${number}.group.settings.allowedToInviteMembers`\n    | `groupRequests.${number}.group.settings.allowedToApproveJoinRequests`\n    | `groupRequests.${number}.status`,\n    6\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    limit: options?.limit,\n    offset: options?.offset,\n  });\n\n  const reqOpts =\n    ambassadorWixSocialGroupsV2GroupRequest.listGroupRequests(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          limit: '$[0].limit',\n          offset: '$[0].offset',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface ListGroupRequestsOptions {\n  /**\n   * Number of items to load.\n   *\n   * Max: `100`\n   *\n   * @max 100\n   */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\n/**\n * Creates a query to retrieve a list of create requests.\n *\n * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a `GroupRequestsQueryBuilder` object.\n *\n * The returned object contains the query definition which is typically used to run the query using the [`find()`](/group-requests-query-builder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.\n *\n * `queryGroupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:\n * - [`limit(1000)`](/group-requests-query-builder/limit)\n *\n * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](/group-requests-query-result/items) property in `GroupRequestsQueryResult`.\n * @public\n * @fqn wix.social.groups.api.v2.GroupRequestsService.QueryGroupRequests\n */\nexport function queryGroupRequests(\n  options?: QueryGroupRequestsOptions\n): GroupRequestsQueryBuilder {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  return queryBuilder<\n    GroupRequest,\n    'OFFSET',\n    QueryGroupRequestsRequest,\n    QueryGroupRequestsResponse\n  >({\n    func: async (payload: QueryGroupRequestsRequest) => {\n      const reqOpts =\n        ambassadorWixSocialGroupsV2GroupRequest.queryGroupRequests({\n          ...payload,\n          ...(options ?? {}),\n        });\n\n      sideEffects?.onSiteCall?.();\n      try {\n        const result = await httpClient.request(reqOpts);\n        sideEffects?.onSuccess?.(result);\n        return result;\n      } catch (err) {\n        sideEffects?.onError?.(err);\n        throw err;\n      }\n    },\n    requestTransformer: (query: QueryGroupRequestsRequest['query']) => {\n      const args = [query, options] as [\n        QueryGroupRequestsRequest['query'],\n        QueryGroupRequestsOptions\n      ];\n      return renameKeysFromSDKRequestToRESTRequest({\n        ...args?.[1],\n        query: args?.[0],\n      });\n    },\n    responseTransformer: ({\n      data,\n    }: HttpResponse<QueryGroupRequestsResponse>) => {\n      const transformedData = renameKeysFromRESTResponseToSDKResponse(\n        transformPaths(data, [])\n      );\n\n      return {\n        items: transformedData?.groupRequests,\n        pagingMetadata: transformedData?.metadata,\n      };\n    },\n    errorTransformer: (err: unknown) => {\n      const transformedError = sdkTransformError(err, {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      });\n\n      throw transformedError;\n    },\n    pagingMethod: 'OFFSET',\n    transformationPaths: {},\n  });\n}\n\nexport interface QueryGroupRequestsOptions {}\n\ninterface QueryOffsetResult {\n  currentPage: number | undefined;\n  totalPages: number | undefined;\n  totalCount: number | undefined;\n  hasNext: () => boolean;\n  hasPrev: () => boolean;\n  length: number;\n  pageSize: number;\n}\n\nexport interface GroupRequestsQueryResult extends QueryOffsetResult {\n  items: GroupRequest[];\n  query: GroupRequestsQueryBuilder;\n  next: () => Promise<GroupRequestsQueryResult>;\n  prev: () => Promise<GroupRequestsQueryResult>;\n}\n\nexport interface GroupRequestsQueryBuilder {\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   */\n  eq: (propertyName: 'status', value: any) => GroupRequestsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   */\n  ne: (propertyName: 'status', value: any) => GroupRequestsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `values`.\n   * @param values - List of values to compare against.\n   */\n  hasSome: (propertyName: 'status', value: any[]) => GroupRequestsQueryBuilder;\n  in: (propertyName: 'status', value: any) => GroupRequestsQueryBuilder;\n  exists: (propertyName: 'status', value: boolean) => GroupRequestsQueryBuilder;\n  /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */\n  limit: (limit: number) => GroupRequestsQueryBuilder;\n  /** @param skip - Number of items to skip in the query results before returning the results. */\n  skip: (skip: number) => GroupRequestsQueryBuilder;\n  find: () => Promise<GroupRequestsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.social.groups.api.v2.GroupRequestsService.QueryGroupRequests\n * @requiredField query\n */\nexport async function typedQueryGroupRequests(\n  query: GroupRequestQuery,\n  options?: QueryGroupRequestsOptions\n): Promise<\n  NonNullablePaths<\n    QueryGroupRequestsResponse,\n    | `groupRequests`\n    | `groupRequests.${number}.group.privacyStatus`\n    | `groupRequests.${number}.group.settings.allowedToInviteMembers`\n    | `groupRequests.${number}.group.settings.allowedToApproveJoinRequests`\n    | `groupRequests.${number}.status`,\n    6\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    query: query,\n    ...options,\n  });\n\n  const reqOpts =\n    ambassadorWixSocialGroupsV2GroupRequest.queryGroupRequests(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: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['query', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface GroupRequestQuerySpec extends QuerySpec {\n  paging: 'offset';\n  wql: [];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n  GroupRequest,\n  GroupRequestQuerySpec\n>;\nexport type GroupRequestQuery = {\n  /** \n  Filter object in the following format:\n  `\"filter\" : {\n  \"fieldName1\": \"value1\",\n  \"fieldName2\":{\"$operator\":\"value2\"}\n  }`\n  Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`  \n  */\n  filter?: CommonQueryWithEntityContext['filter'];\n  /** \n  Sort object in the following format:\n  `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`  \n  */\n  sort?: {\n    /** \n  Name of the field to sort by. \n  @maxLength: 512 \n  */\n    fieldName?: NonNullable<\n      CommonQueryWithEntityContext['sort']\n    >[number]['fieldName'];\n    /** \n  Sort order.  \n  */\n    order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n  }[];\n  /** \n  Paging options to limit and skip the number of items.  \n  */\n  paging?: {\n    /** \n  Number of items to load. \n\n  Max: `100`  \n  */\n    limit?: NonNullable<CommonQueryWithEntityContext['paging']>['limit'] | null;\n    /** \n  Number of items to skip in the current sort order.  \n  */\n    offset?:\n      | NonNullable<CommonQueryWithEntityContext['paging']>['offset']\n      | null;\n  };\n};\n\nexport const utils = {\n  ...createQueryUtils<GroupRequest, GroupRequestQuerySpec, GroupRequestQuery>(),\n};\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\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 resolveWixSocialGroupsApiV2GroupRequestsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'editor-flow.wixapps.net': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'groups.wixapps.net': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/_api/social-groups-proxy/group-requests',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/group-requests-proxy',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_groups_group-requests';\n\n/**\n * Approves group requests.\n *\n * Only Wix users can approve group requests.\n */\nexport function approveGroupRequests(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __approveGroupRequests({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.social.groups.api.v2.GroupRequestsService.ApproveGroupRequests',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupRequestsServiceUrl({\n        protoPath: '/v2/group-requests/approve',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'groupRequest.group.createdDate' },\n              { path: 'groupRequest.group.updatedDate' },\n              { path: 'groupRequest.group.recentActivityDate' },\n              { path: 'groupRequest.group.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'groupRequest.group.details.logoPosition.x' },\n              { path: 'groupRequest.group.details.logoPosition.y' },\n              { path: 'groupRequest.group.details.mobileLogoPosition.x' },\n              { path: 'groupRequest.group.details.mobileLogoPosition.y' },\n              { path: 'groupRequest.group.coverImage.position.x' },\n              { path: 'groupRequest.group.coverImage.position.y' },\n              { path: 'groupRequest.group.coverImage.mobilePosition.x' },\n              { path: 'groupRequest.group.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __approveGroupRequests;\n}\n\n/**\n * Rejects group requests.\n *\n * Only Wix users can reject group requests.\n */\nexport function rejectGroupRequests(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __rejectGroupRequests({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.social.groups.api.v2.GroupRequestsService.RejectGroupRequests',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupRequestsServiceUrl({\n        protoPath: '/v2/group-requests/reject',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'groupRequest.group.createdDate' },\n              { path: 'groupRequest.group.updatedDate' },\n              { path: 'groupRequest.group.recentActivityDate' },\n              { path: 'groupRequest.group.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'groupRequest.group.details.logoPosition.x' },\n              { path: 'groupRequest.group.details.logoPosition.y' },\n              { path: 'groupRequest.group.details.mobileLogoPosition.x' },\n              { path: 'groupRequest.group.details.mobileLogoPosition.y' },\n              { path: 'groupRequest.group.coverImage.position.x' },\n              { path: 'groupRequest.group.coverImage.position.y' },\n              { path: 'groupRequest.group.coverImage.mobilePosition.x' },\n              { path: 'groupRequest.group.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __rejectGroupRequests;\n}\n\n/**\n * Lists requests to create a group.\n *\n * The `listGroupRequests()` function returns a Promise that resolves to a list of up to 1,000 create group requests on your site.\n *\n * Using the options parameter, you can filter your list of posts, set the amount of posts to be returned, and sort your list in a specified order.\n *\n * By default, the list is sorted by `_createdDate` in descending order. Only admins can see create group requests. Members can access their own create group requests in their site.\n *\n * >**Note:** This function is only relevant if admin approval is required for creating a group.\n *\n */\nexport function listGroupRequests(payload: object): RequestOptionsFactory<any> {\n  function __listGroupRequests({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group_request',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.social.groups.api.v2.GroupRequestsService.ListGroupRequests',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupRequestsServiceUrl({\n        protoPath: '/v2/group-requests',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'groupRequests.group.createdDate' },\n              { path: 'groupRequests.group.updatedDate' },\n              { path: 'groupRequests.group.recentActivityDate' },\n              { path: 'groupRequests.group.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'groupRequests.group.details.logoPosition.x' },\n              { path: 'groupRequests.group.details.logoPosition.y' },\n              { path: 'groupRequests.group.details.mobileLogoPosition.x' },\n              { path: 'groupRequests.group.details.mobileLogoPosition.y' },\n              { path: 'groupRequests.group.coverImage.position.x' },\n              { path: 'groupRequests.group.coverImage.position.y' },\n              { path: 'groupRequests.group.coverImage.mobilePosition.x' },\n              { path: 'groupRequests.group.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listGroupRequests;\n}\n\n/**\n * Creates a query to retrieve a list of create requests.\n *\n * The `queryGroupRequests()` function builds a query to retrieve a list of all requests to create a group, and returns a `GroupRequestsQueryBuilder` object.\n *\n * The returned object contains the query definition which is typically used to run the query using the [`find()`](/group-requests-query-builder/find) function. You can refine the query by chaining `GroupRequestQueryBuilder` functions onto the query. `GroupRequestQueryBuilder` functions enable you to sort, filter, and control the results that `queryGroupRequests()` returns.\n *\n * `queryGroupRequests()` runs with these `GroupRequestsQueryBuilder` defaults, which you can override:\n * - [`limit(1000)`](/group-requests-query-builder/limit)\n *\n * The following `GroupRequestsQueryBuilder` functions are supported for `queryGroupRequests()`. For a full description of the `GroupRequests` object, see the object returned for the [`items`](/group-requests-query-result/items) property in `GroupRequestsQueryResult`.\n */\nexport function queryGroupRequests(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryGroupRequests({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.social.groups.api.v2.GroupRequestsService.QueryGroupRequests',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupRequestsServiceUrl({\n        protoPath: '/v2/group-requests/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'groupRequests.group.createdDate' },\n              { path: 'groupRequests.group.updatedDate' },\n              { path: 'groupRequests.group.recentActivityDate' },\n              { path: 'groupRequests.group.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'groupRequests.group.details.logoPosition.x' },\n              { path: 'groupRequests.group.details.logoPosition.y' },\n              { path: 'groupRequests.group.details.mobileLogoPosition.x' },\n              { path: 'groupRequests.group.details.mobileLogoPosition.y' },\n              { path: 'groupRequests.group.coverImage.position.x' },\n              { path: 'groupRequests.group.coverImage.position.y' },\n              { path: 'groupRequests.group.coverImage.mobilePosition.x' },\n              { path: 'groupRequests.group.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryGroupRequests;\n}\n","import {\n  approveGroupRequests as publicApproveGroupRequests,\n  rejectGroupRequests as publicRejectGroupRequests,\n  listGroupRequests as publicListGroupRequests,\n  queryGroupRequests as publicQueryGroupRequests,\n  typedQueryGroupRequests as publicTypedQueryGroupRequests,\n} from './social-groups-v2-group-request-group-requests.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n  BuildRESTFunction,\n  MaybeContext,\n  BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { onGroupRequestApproved as publicOnGroupRequestApproved } from './social-groups-v2-group-request-group-requests.public.js';\nimport { onGroupRequestCreated as publicOnGroupRequestCreated } from './social-groups-v2-group-request-group-requests.public.js';\nimport { onGroupRequestRejected as publicOnGroupRequestRejected } from './social-groups-v2-group-request-group-requests.public.js';\n\nexport const approveGroupRequests: MaybeContext<\n  BuildRESTFunction<typeof publicApproveGroupRequests> &\n    typeof publicApproveGroupRequests\n> = /*#__PURE__*/ createRESTModule(publicApproveGroupRequests);\nexport const rejectGroupRequests: MaybeContext<\n  BuildRESTFunction<typeof publicRejectGroupRequests> &\n    typeof publicRejectGroupRequests\n> = /*#__PURE__*/ createRESTModule(publicRejectGroupRequests);\nexport const listGroupRequests: MaybeContext<\n  BuildRESTFunction<typeof publicListGroupRequests> &\n    typeof publicListGroupRequests\n> = /*#__PURE__*/ createRESTModule(publicListGroupRequests);\nexport const queryGroupRequests: MaybeContext<\n  BuildRESTFunction<typeof publicQueryGroupRequests> &\n    typeof publicQueryGroupRequests\n> = /*#__PURE__*/ createRESTModule(publicQueryGroupRequests);\nexport const typedQueryGroupRequests: MaybeContext<\n  BuildRESTFunction<typeof publicTypedQueryGroupRequests> &\n    typeof publicTypedQueryGroupRequests\n> = /*#__PURE__*/ createRESTModule(publicTypedQueryGroupRequests);\n/**\n * Triggered when a group request is approved.\n */\nexport const onGroupRequestApproved: BuildEventDefinition<\n  typeof publicOnGroupRequestApproved\n> &\n  typeof publicOnGroupRequestApproved = createEventModule(\n  publicOnGroupRequestApproved\n);\n/** */\nexport const onGroupRequestCreated: BuildEventDefinition<\n  typeof publicOnGroupRequestCreated\n> &\n  typeof publicOnGroupRequestCreated = createEventModule(\n  publicOnGroupRequestCreated\n);\n/**\n * Triggered when a group request is rejected.\n */\nexport const onGroupRequestRejected: BuildEventDefinition<\n  typeof publicOnGroupRequestRejected\n> &\n  typeof publicOnGroupRequestRejected = createEventModule(\n  publicOnGroupRequestRejected\n);\n\nexport {\n  Type,\n  AllowPolicy,\n  StepKey,\n  PrivacyStatus,\n  IdentityType,\n  RequestStatus,\n  ContentType,\n  ItemsToUpdate,\n  OwnershipFilter,\n  SortOrder,\n  WebhookIdentityType,\n} from './social-groups-v2-group-request-group-requests.universal.js';\nexport {\n  GroupRequest,\n  Group,\n  Events,\n  Logo,\n  GroupDetailsPosition,\n  Image,\n  Position,\n  OnboardingStepSettings,\n  AccessRestriction,\n  AccessRestrictionDataOneOf,\n  GroupDetails,\n  CoverImage,\n  GroupSettings,\n  Identity,\n  RequestDetails,\n  SubmitGroupRequestRequest,\n  SubmitGroupRequestResponse,\n  ApproveGroupRequestsRequest,\n  ApproveGroupRequestsResponse,\n  GroupRequestApproved,\n  RejectGroupRequestsRequest,\n  Rejection,\n  RejectGroupRequestsResponse,\n  GroupRequestRejected,\n  CancelGroupRequestRequest,\n  CancelGroupRequestResponse,\n  ListGroupRequestsRequest,\n  ListGroupRequestsResponse,\n  PagingMetadata,\n  QueryGroupRequestsRequest,\n  Query,\n  Sorting,\n  Paging,\n  QueryGroupRequestsResponse,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  EntityCreatedEvent,\n  RestoreInfo,\n  EntityUpdatedEvent,\n  EntityDeletedEvent,\n  ActionEvent,\n  MessageEnvelope,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  AccountInfo,\n  BaseEventMetadata,\n  EventMetadata,\n  AccountInfoMetadata,\n  GroupRequestApprovedEnvelope,\n  GroupRequestCreatedEnvelope,\n  GroupRequestRejectedEnvelope,\n  ListGroupRequestsOptions,\n  QueryGroupRequestsOptions,\n  GroupRequestsQueryResult,\n  GroupRequestsQueryBuilder,\n  GroupRequestQuerySpec,\n} from './social-groups-v2-group-request-group-requests.universal.js';\nexport { utils } from './social-groups-v2-group-request-group-requests.universal.js';\nexport {\n  TypeWithLiterals,\n  AllowPolicyWithLiterals,\n  StepKeyWithLiterals,\n  PrivacyStatusWithLiterals,\n  IdentityTypeWithLiterals,\n  RequestStatusWithLiterals,\n  ContentTypeWithLiterals,\n  ItemsToUpdateWithLiterals,\n  OwnershipFilterWithLiterals,\n  SortOrderWithLiterals,\n  WebhookIdentityTypeWithLiterals,\n  CommonQueryWithEntityContext,\n  GroupRequestQuery,\n} from './social-groups-v2-group-request-group-requests.universal.js';\n"],"mappings":";AAAA,SAAS,2CAAAA,gDAA+C;AACxD,SAAS,gCAAAC,qCAAoC;AAC7C,SAAS,wCAAAC,6CAA4C;AACrD,SAAS,kBAAAC,uBAAsB;AAC/B,SAAS,uBAAqD;;;ACJ9D,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,mDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,2BAA2B;AAAA,MACzB;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;AAAA,IACA,kBAAkB;AAAA,MACh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A,qBAA0B;AACtD,IAAMC,uBAGK,iCAAiBA,oBAAyB;AACrD,IAAMC,qBAGK,iCAAiBA,kBAAuB;AACnD,IAAMC,sBAGK,iCAAiBA,mBAAwB;AACpD,IAAMC,2BAGK,iCAAiBA,wBAA6B;AAIzD,IAAMC,0BAG2B;AAAA,EACtC;AACF;AAEO,IAAMC,yBAG0B;AAAA,EACrC;AACF;AAIO,IAAMC,0BAG2B;AAAA,EACtC;AACF;","names":["renameKeysFromRESTResponseToSDKResponse","transformRESTFloatToSDKFloat","transformRESTTimestampToSDKTimestamp","transformPaths","payload","transformPaths","Type","AllowPolicy","StepKey","PrivacyStatus","IdentityType","RequestStatus","ContentType","ItemsToUpdate","OwnershipFilter","SortOrder","WebhookIdentityType","approveGroupRequests","rejectGroupRequests","listGroupRequests","queryGroupRequests","approveGroupRequests","rejectGroupRequests","listGroupRequests","queryGroupRequests","typedQueryGroupRequests","renameKeysFromRESTResponseToSDKResponse","transformPaths","transformRESTTimestampToSDKTimestamp","transformRESTFloatToSDKFloat","approveGroupRequests","rejectGroupRequests","listGroupRequests","queryGroupRequests","typedQueryGroupRequests","onGroupRequestApproved","onGroupRequestCreated","onGroupRequestRejected"]}