{"version":3,"sources":["../../src/social-groups-v2-join-group-request-join-group-requests.http.ts","../../src/social-groups-v2-join-group-request-join-group-requests.types.ts","../../src/social-groups-v2-join-group-request-join-group-requests.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveWixSocialGroupsApiV2JoinGroupRequestsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'api._api_base_domain_': [\n      {\n        srcPath: '/join-proxy',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/join-proxy',\n        destPath: '',\n      },\n    ],\n    'editor-flow.wixapps.net': [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n    ],\n    'groups.wixapps.net': [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n      {\n        srcPath: '/social-groups-proxy/api/join',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/join',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/social-groups-proxy/join',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_groups_join-group-requests';\n\n/**\n * Approves pending join group requests.\n * Group managers always have access to this functionality. In some cases, site owners will allow group members to use this functionality as well.\n */\nexport function approveJoinGroupRequests(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __approveJoinGroupRequests({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.join_group_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.social.groups.api.v2.JoinGroupRequestsService.ApproveJoinGroupRequests',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2JoinGroupRequestsServiceUrl({\n        protoPath: '/v2/groups/{groupId}/join-requests/approve',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'joinGroupRequests.createdDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __approveJoinGroupRequests;\n}\n\n/**\n * Rejects pending join group requests.\n * Group managers always have access to this functionality. In some cases, site owners will allow group members to use this functionality as well.\n */\nexport function rejectJoinGroupRequests(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __rejectJoinGroupRequests({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.join_group_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.social.groups.api.v2.JoinGroupRequestsService.RejectJoinGroupRequests',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2JoinGroupRequestsServiceUrl({\n        protoPath: '/v2/groups/{groupId}/join-requests/reject',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'joinGroupRequests.createdDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __rejectJoinGroupRequests;\n}\n\n/**\n * Lists requests to join a group.\n *\n * > **Note:** This function is only relevant for private groups.\n *\n * The `listjoinGroupRequests()` function returns a Promise that resolves to a list of up to 100 requests to join a group. Sorts by default to `_createdDate` in descending order.\n * Only group admins can see requests to join their group. Site members can access their own join requests in their site.\n *\n * > **Notes:**\n * <!-- > + If the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can see requests to join a group. -->\n */\nexport function listJoinGroupRequests(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __listJoinGroupRequests({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.join_group_request',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.social.groups.api.v2.JoinGroupRequestsService.ListJoinGroupRequests',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2JoinGroupRequestsServiceUrl({\n        protoPath: '/v2/groups/{groupId}/join-requests',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'joinGroupRequests.createdDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listJoinGroupRequests;\n}\n\n/**\n * Creates a query to retrieve a list of join requests.\n *\n * > **Notes:**\n * > + This function is only relevant for private groups.\n * > + For `SECRET` groups, only group admins can query requests to join their group. <!-- However, if the `suppressAuth` option is set to `true`, all permissions are overwritten, and all site members (including non-group members) can query requests to join a group. -->\n *\n * The `queryjoinGroupRequests()` function builds a query to retrieve a list of all requests to join a group, and returns a `JoinGroupRequestsQueryBuilder` object.\n *\n * The returned object contains the query definition which is typically used to run the query using the [`find()`](/join-group-requests-query-builder/find) function.\n *\n * You can refine the query by chaining `joinGroupRequestsQueryBuilder` functions onto the query. `joinGroupRequestsQueryBuilder` functions enable you to sort, filter, and control the results that `queryjoinGroupRequests()` returns.\n *\n * The results of the `queryjoinGroupRequests()` function are sorted by `_createdDate` in descending order.\n *\n * `queryjoinGroupRequests()` runs with this `joinGroupRequestsQueryBuilder` default, which you can override:\n * + [`limit(100)`](/join-group-requests-query-builder/limit)\n *\n * The following `joinGroupRequestsQueryBuilder` functions are supported for `queryjoinGroupRequests()`. For a full description of the joinGroupRequests object, see the object returned for the [`items`](/join-group-requests-query-result/items) property in `JoinGroupRequestsQueryResult`.\n *\n */\nexport function queryJoinGroupRequests(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryJoinGroupRequests({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.join_group_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.social.groups.api.v2.JoinGroupRequestsService.QueryJoinGroupRequests',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2JoinGroupRequestsServiceUrl({\n        protoPath: '/v2/groups/{groupId}/join-requests/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'joinGroupRequests.createdDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryJoinGroupRequests;\n}\n","/**\n * To join a private group, a site member must submit a Join Request, which can be approved or rejected by an admin.\n * When the request is approved, the site member becomes a group member.\n */\nexport interface JoinGroupRequest {\n  /**\n   * Member ID. See the Members API for more details.\n   * @readonly\n   * @format GUID\n   */\n  siteMemberId?: string;\n  /**\n   * Contact ID. See the Contacts API for more details.\n   * @readonly\n   * @format GUID\n   */\n  contactId?: string;\n  /** Join group request status. */\n  status?: RequestStatusWithLiterals;\n  /** Join group request details. */\n  requestDetails?: RequestDetails;\n}\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 SocialGroupsEvent extends SocialGroupsEventPayloadOneOf {\n  memberJoined?: MemberJoinedGroup;\n  membersAdded?: MembersAddedToGroup;\n  joinRequestsApproved?: JoinRequestsApproved;\n  membersInvited?: MembersInvitedToGroup;\n}\n\n/** @oneof */\nexport interface SocialGroupsEventPayloadOneOf {\n  memberJoined?: MemberJoinedGroup;\n  membersAdded?: MembersAddedToGroup;\n  joinRequestsApproved?: JoinRequestsApproved;\n  membersInvited?: MembersInvitedToGroup;\n}\n\nexport interface MemberJoinedGroup {\n  /** @format GUID */\n  groupId?: string;\n  /** @format GUID */\n  groupsInstanceId?: string;\n  /** @format GUID */\n  siteMemberId?: string;\n}\n\nexport interface MembersAddedToGroup {\n  /** @format GUID */\n  groupId?: string;\n  /** @format GUID */\n  groupsInstanceId?: string;\n  /** @format GUID */\n  whoAddedId?: string | null;\n  /** @format GUID */\n  siteMemberIds?: string[];\n  /**\n   * Used for Apes sticky experiment\n   * @format GUID\n   */\n  operationId?: string;\n}\n\nexport interface JoinRequestsApproved {\n  /** @format GUID */\n  groupId?: string;\n  /** @format GUID */\n  groupsInstanceId?: string;\n  /** @format GUID */\n  siteMemberIds?: string[];\n  /**\n   * Used for Apes sticky experiment\n   * @format GUID\n   */\n  operationId?: string;\n}\n\nexport interface MembersInvitedToGroup {\n  /** @format GUID */\n  groupId?: string;\n  /** @format GUID */\n  groupsInstanceId?: string;\n  /** @format GUID */\n  siteMemberIds?: string[];\n}\n\nexport interface GetJoinRequirementsRequest {\n  /**\n   * Group ID.\n   * @format GUID\n   */\n  groupId?: string;\n  /**\n   * Answers to membership questions. They can be empty, but submit join group request will fail if an answer to a required question is omitted.\n   * @maxSize 50\n   */\n  membershipQuestionAnswers?: MembershipQuestionAnswer[];\n  autoInviteId?: string | null;\n}\n\n/** Answer to a membership question. */\nexport interface MembershipQuestionAnswer {\n  /**\n   * Question ID.\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Answer text.\n   * @maxLength 300\n   */\n  text?: string | null;\n}\n\nexport interface GetJoinRequirementsResponse {\n  violation?: Violation;\n}\n\nexport interface PaidPlan {\n  planId?: string;\n  name?: string;\n  startsAt?: Date | null;\n}\n\nexport enum ViolationType {\n  NONE = 'NONE',\n  NOT_LOGGED_IN = 'NOT_LOGGED_IN',\n  ALREADY_JOINED = 'ALREADY_JOINED',\n  SECRET_GROUP = 'SECRET_GROUP',\n  EVENTS = 'EVENTS',\n  PRICING_PlANS = 'PRICING_PlANS',\n  MEMBERSHIP_QUESTIONS = 'MEMBERSHIP_QUESTIONS',\n  ADMIN_APPROVAL = 'ADMIN_APPROVAL',\n}\n\n/** @enumType */\nexport type ViolationTypeWithLiterals =\n  | ViolationType\n  | 'NONE'\n  | 'NOT_LOGGED_IN'\n  | 'ALREADY_JOINED'\n  | 'SECRET_GROUP'\n  | 'EVENTS'\n  | 'PRICING_PlANS'\n  | 'MEMBERSHIP_QUESTIONS'\n  | 'ADMIN_APPROVAL';\n\nexport interface EventsViolationOptions {\n  /** Events which allow user to join the group. */\n  eventIds?: string[];\n}\n\nexport interface PricingPlanViolationOptions {\n  installed?: boolean;\n  /** Plan ids which allow user to join the group. */\n  requiredPlans?: PaidPlan[];\n  /** Plan ids which user have, but they don't allow to join group right now, because they start some time in the future. */\n  futurePlans?: PaidPlan[];\n}\n\nexport interface MembershipQuestionViolationOptions {\n  requiredQuestionIds?: string[];\n}\n\nexport interface Violation extends ViolationViolationOptionsOneOf {\n  eventsOptions?: EventsViolationOptions;\n  pricingPlansOptions?: PricingPlanViolationOptions;\n  membershipQuestionsOptions?: MembershipQuestionViolationOptions;\n  violationType?: ViolationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface ViolationViolationOptionsOneOf {\n  eventsOptions?: EventsViolationOptions;\n  pricingPlansOptions?: PricingPlanViolationOptions;\n  membershipQuestionsOptions?: MembershipQuestionViolationOptions;\n}\n\nexport interface SubmitJoinGroupRequestRequest {\n  /**\n   * Relevant group.\n   * @format GUID\n   */\n  groupId?: string;\n  /**\n   * Answers to membership questions. They can be empty, but submit join group request will fail if an answer to a required question is omitted.\n   * @maxSize 50\n   */\n  membershipQuestionAnswers?: MembershipQuestionAnswer[];\n}\n\nexport interface SubmitJoinGroupRequestResponse {\n  /** Submitted join group request. */\n  joinGroupRequest?: JoinGroupRequest;\n}\n\nexport interface CancelJoinGroupRequestRequest {\n  /**\n   * Relevant group.\n   * @format GUID\n   */\n  groupId?: string;\n}\n\nexport interface CancelJoinGroupRequestResponse {\n  /** Cancelled join group request. */\n  joinGroupRequest?: JoinGroupRequest;\n}\n\nexport interface JoinGroupRequestCancelled {\n  /**\n   * Group ID for which join request was cancelled.\n   * @format GUID\n   */\n  groupId?: string;\n  /** Cancelled join group request. */\n  joinGroupRequest?: JoinGroupRequest;\n}\n\nexport interface ApproveJoinGroupRequestsRequest {\n  /**\n   * ID of the group requested to join.\n   * @format GUID\n   */\n  groupId: string;\n  /**\n   * IDs of the site members to approve.\n   * @format GUID\n   * @maxSize 100\n   */\n  memberIds?: 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 ApproveJoinGroupRequestsResponse {\n  /** Approved join group requests. */\n  joinGroupRequests?: JoinGroupRequest[];\n}\n\nexport interface JoinGroupRequestApproved {\n  /**\n   * Group ID for which join request was approved.\n   * @format GUID\n   */\n  groupId?: string;\n  /** Approved join group request. */\n  joinGroupRequest?: JoinGroupRequest;\n}\n\nexport interface RejectJoinGroupRequestsRequest {\n  /**\n   * ID of the group requested to join.\n   * @format GUID\n   */\n  groupId: string;\n  /**\n   * Rejection info.\n   * @maxSize 100\n   */\n  rejections?: Rejection[];\n}\n\nexport interface Rejection {\n  /** Member ID to reject. */\n  memberId?: string;\n  /**\n   * Rejection reason. Free text that will be displayed to the rejected site member. Limited to 1,000 characters.\n   * @maxLength 1000\n   */\n  reason?: string | null;\n}\n\nexport interface RejectJoinGroupRequestsResponse {\n  /** Rejected join group requests. */\n  joinGroupRequests?: JoinGroupRequest[];\n}\n\nexport interface JoinGroupRequestRejected {\n  /**\n   * Group ID for which join request was rejected.\n   * @format GUID\n   */\n  groupId?: string;\n  /** Rejected join group request. */\n  joinGroupRequest?: JoinGroupRequest;\n}\n\nexport interface ListJoinGroupRequestsRequest {\n  /**\n   * Group ID.\n   * @format GUID\n   */\n  groupId: string;\n  /**\n   * Maximum number of join group requests to retrieve. Defaults to 100.\n   * @max 100\n   */\n  limit?: number | null;\n  /** Number of join group requests to skip in the list. */\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 ListJoinGroupRequestsResponse {\n  /** Retrieved join group requests. */\n  joinGroupRequests?: JoinGroupRequest[];\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 QueryJoinGroupRequestsRequest {\n  /**\n   * Group ID.\n   * @format GUID\n   */\n  groupId: string;\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 QueryJoinGroupRequestsResponse {\n  /** Join group requests. */\n  joinGroupRequests?: JoinGroupRequest[];\n  metadata?: PagingMetadata;\n}\n\nexport interface RejectAllJoinGroupRequestsRequest {}\n\nexport interface RejectAllJoinGroupRequestsResponse {\n  /** Rejected join group requests. */\n  joinGroupRequests?: JoinGroupRequest[];\n}\n\nexport interface ApproveAllJoinGroupRequestsRequest {}\n\nexport interface ApproveAllJoinGroupRequestsResponse {\n  /** Rejected join group requests. */\n  joinGroupRequests?: JoinGroupRequest[];\n}\n\nexport interface ListAllJoinGroupRequestsRequest {\n  query?: Query;\n}\n\nexport interface ListAllJoinGroupRequestsResponse {\n  /** Join group requests. */\n  joinGroupRequests?: JoinGroupRequest[];\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 ambassadorWixSocialGroupsV2JoinGroupRequest from './social-groups-v2-join-group-request-join-group-requests.http.js';\nimport * as ambassadorWixSocialGroupsV2JoinGroupRequestTypes from './social-groups-v2-join-group-request-join-group-requests.types.js';\nimport * as ambassadorWixSocialGroupsV2JoinGroupRequestUniversalTypes from './social-groups-v2-join-group-request-join-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 approveJoinGroupRequests(): __PublicMethodMetaInfo<\n  'POST',\n  { groupId: string },\n  ambassadorWixSocialGroupsV2JoinGroupRequestUniversalTypes.ApproveJoinGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2JoinGroupRequestTypes.ApproveJoinGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2JoinGroupRequestUniversalTypes.ApproveJoinGroupRequestsResponse,\n  ambassadorWixSocialGroupsV2JoinGroupRequestTypes.ApproveJoinGroupRequestsResponse\n> {\n  const payload = { groupId: ':groupId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2JoinGroupRequest.approveJoinGroupRequests(\n      payload\n    );\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/groups/{groupId}/join-requests/approve',\n    pathParams: { groupId: 'groupId' },\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 rejectJoinGroupRequests(): __PublicMethodMetaInfo<\n  'POST',\n  { groupId: string },\n  ambassadorWixSocialGroupsV2JoinGroupRequestUniversalTypes.RejectJoinGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2JoinGroupRequestTypes.RejectJoinGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2JoinGroupRequestUniversalTypes.RejectJoinGroupRequestsResponse,\n  ambassadorWixSocialGroupsV2JoinGroupRequestTypes.RejectJoinGroupRequestsResponse\n> {\n  const payload = { groupId: ':groupId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2JoinGroupRequest.rejectJoinGroupRequests(\n      payload\n    );\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/groups/{groupId}/join-requests/reject',\n    pathParams: { groupId: 'groupId' },\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 listJoinGroupRequests(): __PublicMethodMetaInfo<\n  'GET',\n  { groupId: string },\n  ambassadorWixSocialGroupsV2JoinGroupRequestUniversalTypes.ListJoinGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2JoinGroupRequestTypes.ListJoinGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2JoinGroupRequestUniversalTypes.ListJoinGroupRequestsResponse,\n  ambassadorWixSocialGroupsV2JoinGroupRequestTypes.ListJoinGroupRequestsResponse\n> {\n  const payload = { groupId: ':groupId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2JoinGroupRequest.listJoinGroupRequests(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/groups/{groupId}/join-requests',\n    pathParams: { groupId: 'groupId' },\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 queryJoinGroupRequests(): __PublicMethodMetaInfo<\n  'POST',\n  { groupId: string },\n  ambassadorWixSocialGroupsV2JoinGroupRequestUniversalTypes.QueryJoinGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2JoinGroupRequestTypes.QueryJoinGroupRequestsRequest,\n  ambassadorWixSocialGroupsV2JoinGroupRequestUniversalTypes.QueryJoinGroupRequestsResponse,\n  ambassadorWixSocialGroupsV2JoinGroupRequestTypes.QueryJoinGroupRequestsResponse\n> {\n  const payload = { groupId: ':groupId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2JoinGroupRequest.queryJoinGroupRequests(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/groups/{groupId}/join-requests/query',\n    pathParams: { groupId: 'groupId' },\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  JoinGroupRequest as JoinGroupRequestOriginal,\n  RequestStatus as RequestStatusOriginal,\n  RequestStatusWithLiterals as RequestStatusWithLiteralsOriginal,\n  RequestDetails as RequestDetailsOriginal,\n  SocialGroupsEvent as SocialGroupsEventOriginal,\n  SocialGroupsEventPayloadOneOf as SocialGroupsEventPayloadOneOfOriginal,\n  MemberJoinedGroup as MemberJoinedGroupOriginal,\n  MembersAddedToGroup as MembersAddedToGroupOriginal,\n  JoinRequestsApproved as JoinRequestsApprovedOriginal,\n  MembersInvitedToGroup as MembersInvitedToGroupOriginal,\n  GetJoinRequirementsRequest as GetJoinRequirementsRequestOriginal,\n  MembershipQuestionAnswer as MembershipQuestionAnswerOriginal,\n  GetJoinRequirementsResponse as GetJoinRequirementsResponseOriginal,\n  PaidPlan as PaidPlanOriginal,\n  ViolationType as ViolationTypeOriginal,\n  ViolationTypeWithLiterals as ViolationTypeWithLiteralsOriginal,\n  EventsViolationOptions as EventsViolationOptionsOriginal,\n  PricingPlanViolationOptions as PricingPlanViolationOptionsOriginal,\n  MembershipQuestionViolationOptions as MembershipQuestionViolationOptionsOriginal,\n  Violation as ViolationOriginal,\n  ViolationViolationOptionsOneOf as ViolationViolationOptionsOneOfOriginal,\n  SubmitJoinGroupRequestRequest as SubmitJoinGroupRequestRequestOriginal,\n  SubmitJoinGroupRequestResponse as SubmitJoinGroupRequestResponseOriginal,\n  CancelJoinGroupRequestRequest as CancelJoinGroupRequestRequestOriginal,\n  CancelJoinGroupRequestResponse as CancelJoinGroupRequestResponseOriginal,\n  JoinGroupRequestCancelled as JoinGroupRequestCancelledOriginal,\n  ApproveJoinGroupRequestsRequest as ApproveJoinGroupRequestsRequestOriginal,\n  ItemsToUpdate as ItemsToUpdateOriginal,\n  ItemsToUpdateWithLiterals as ItemsToUpdateWithLiteralsOriginal,\n  ApproveJoinGroupRequestsResponse as ApproveJoinGroupRequestsResponseOriginal,\n  JoinGroupRequestApproved as JoinGroupRequestApprovedOriginal,\n  RejectJoinGroupRequestsRequest as RejectJoinGroupRequestsRequestOriginal,\n  Rejection as RejectionOriginal,\n  RejectJoinGroupRequestsResponse as RejectJoinGroupRequestsResponseOriginal,\n  JoinGroupRequestRejected as JoinGroupRequestRejectedOriginal,\n  ListJoinGroupRequestsRequest as ListJoinGroupRequestsRequestOriginal,\n  OwnershipFilter as OwnershipFilterOriginal,\n  OwnershipFilterWithLiterals as OwnershipFilterWithLiteralsOriginal,\n  ListJoinGroupRequestsResponse as ListJoinGroupRequestsResponseOriginal,\n  PagingMetadata as PagingMetadataOriginal,\n  QueryJoinGroupRequestsRequest as QueryJoinGroupRequestsRequestOriginal,\n  Query as QueryOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  QueryJoinGroupRequestsResponse as QueryJoinGroupRequestsResponseOriginal,\n  RejectAllJoinGroupRequestsRequest as RejectAllJoinGroupRequestsRequestOriginal,\n  RejectAllJoinGroupRequestsResponse as RejectAllJoinGroupRequestsResponseOriginal,\n  ApproveAllJoinGroupRequestsRequest as ApproveAllJoinGroupRequestsRequestOriginal,\n  ApproveAllJoinGroupRequestsResponse as ApproveAllJoinGroupRequestsResponseOriginal,\n  ListAllJoinGroupRequestsRequest as ListAllJoinGroupRequestsRequestOriginal,\n  ListAllJoinGroupRequestsResponse as ListAllJoinGroupRequestsResponseOriginal,\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-join-group-request-join-group-requests.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,uDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,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,MACA;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,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;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ToUpdate","OwnershipFilter","SortOrder","WebhookIdentityType","approveJoinGroupRequests","rejectJoinGroupRequests","listJoinGroupRequests","queryJoinGroupRequests"]}