{"version":3,"sources":["../../src/social-groups-v2-group-request-group-requests.http.ts","../../src/social-groups-v2-group-request-group-requests.types.ts","../../src/social-groups-v2-group-request-group-requests.meta.ts"],"sourcesContent":["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","/**\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  /** Number of items to load. */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\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  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\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  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: 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","import * as ambassadorWixSocialGroupsV2GroupRequest from './social-groups-v2-group-request-group-requests.http.js';\nimport * as ambassadorWixSocialGroupsV2GroupRequestTypes from './social-groups-v2-group-request-group-requests.types.js';\nimport * as ambassadorWixSocialGroupsV2GroupRequestUniversalTypes from './social-groups-v2-group-request-group-requests.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function approveGroupRequests(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixSocialGroupsV2GroupRequestUniversalTypes.ApproveGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2GroupRequestTypes.ApproveGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2GroupRequestUniversalTypes.ApproveGroupRequestsResponse,\n  ambassadorWixSocialGroupsV2GroupRequestTypes.ApproveGroupRequestsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2GroupRequest.approveGroupRequests(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/group-requests/approve',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function rejectGroupRequests(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixSocialGroupsV2GroupRequestUniversalTypes.RejectGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2GroupRequestTypes.RejectGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2GroupRequestUniversalTypes.RejectGroupRequestsResponse,\n  ambassadorWixSocialGroupsV2GroupRequestTypes.RejectGroupRequestsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2GroupRequest.rejectGroupRequests(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/group-requests/reject',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function listGroupRequests(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixSocialGroupsV2GroupRequestUniversalTypes.ListGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2GroupRequestTypes.ListGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2GroupRequestUniversalTypes.ListGroupRequestsResponse,\n  ambassadorWixSocialGroupsV2GroupRequestTypes.ListGroupRequestsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2GroupRequest.listGroupRequests(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v2/group-requests',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function queryGroupRequests(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixSocialGroupsV2GroupRequestUniversalTypes.QueryGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2GroupRequestTypes.QueryGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2GroupRequestUniversalTypes.QueryGroupRequestsResponse,\n  ambassadorWixSocialGroupsV2GroupRequestTypes.QueryGroupRequestsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2GroupRequest.queryGroupRequests(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/group-requests/query',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  GroupRequest as GroupRequestOriginal,\n  Group as GroupOriginal,\n  Type as TypeOriginal,\n  TypeWithLiterals as TypeWithLiteralsOriginal,\n  Events as EventsOriginal,\n  Logo as LogoOriginal,\n  GroupDetailsPosition as GroupDetailsPositionOriginal,\n  Image as ImageOriginal,\n  Position as PositionOriginal,\n  AllowPolicy as AllowPolicyOriginal,\n  AllowPolicyWithLiterals as AllowPolicyWithLiteralsOriginal,\n  OnboardingStepSettings as OnboardingStepSettingsOriginal,\n  StepKey as StepKeyOriginal,\n  StepKeyWithLiterals as StepKeyWithLiteralsOriginal,\n  PrivacyStatus as PrivacyStatusOriginal,\n  PrivacyStatusWithLiterals as PrivacyStatusWithLiteralsOriginal,\n  AccessRestriction as AccessRestrictionOriginal,\n  AccessRestrictionDataOneOf as AccessRestrictionDataOneOfOriginal,\n  GroupDetails as GroupDetailsOriginal,\n  CoverImage as CoverImageOriginal,\n  GroupSettings as GroupSettingsOriginal,\n  Identity as IdentityOriginal,\n  IdentityType as IdentityTypeOriginal,\n  IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal,\n  RequestStatus as RequestStatusOriginal,\n  RequestStatusWithLiterals as RequestStatusWithLiteralsOriginal,\n  RequestDetails as RequestDetailsOriginal,\n  SubmitGroupRequestRequest as SubmitGroupRequestRequestOriginal,\n  ContentType as ContentTypeOriginal,\n  ContentTypeWithLiterals as ContentTypeWithLiteralsOriginal,\n  SubmitGroupRequestResponse as SubmitGroupRequestResponseOriginal,\n  ApproveGroupRequestsRequest as ApproveGroupRequestsRequestOriginal,\n  ItemsToUpdate as ItemsToUpdateOriginal,\n  ItemsToUpdateWithLiterals as ItemsToUpdateWithLiteralsOriginal,\n  ApproveGroupRequestsResponse as ApproveGroupRequestsResponseOriginal,\n  GroupRequestApproved as GroupRequestApprovedOriginal,\n  RejectGroupRequestsRequest as RejectGroupRequestsRequestOriginal,\n  Rejection as RejectionOriginal,\n  RejectGroupRequestsResponse as RejectGroupRequestsResponseOriginal,\n  GroupRequestRejected as GroupRequestRejectedOriginal,\n  CancelGroupRequestRequest as CancelGroupRequestRequestOriginal,\n  CancelGroupRequestResponse as CancelGroupRequestResponseOriginal,\n  ListGroupRequestsRequest as ListGroupRequestsRequestOriginal,\n  OwnershipFilter as OwnershipFilterOriginal,\n  OwnershipFilterWithLiterals as OwnershipFilterWithLiteralsOriginal,\n  ListGroupRequestsResponse as ListGroupRequestsResponseOriginal,\n  PagingMetadata as PagingMetadataOriginal,\n  QueryGroupRequestsRequest as QueryGroupRequestsRequestOriginal,\n  Query as QueryOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  QueryGroupRequestsResponse as QueryGroupRequestsResponseOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n} from './social-groups-v2-group-request-group-requests.types.js';\n"],"mappings":";AAAA,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,MAChB;AAAA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AAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","Type","AllowPolicy","StepKey","PrivacyStatus","IdentityType","RequestStatus","ContentType","ItemsToUpdate","OwnershipFilter","SortOrder","WebhookIdentityType","approveGroupRequests","rejectGroupRequests","listGroupRequests","queryGroupRequests"]}