{"version":3,"sources":["../../src/social-groups-v2-group-groups.http.ts","../../src/social-groups-v2-group-groups.types.ts","../../src/social-groups-v2-group-groups.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\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 resolveWixSocialGroupsApiV2GroupsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'api._api_base_domain_': [\n      {\n        srcPath: '/groups-proxy',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/groups-proxy',\n        destPath: '',\n      },\n    ],\n    'editor-flow.wixapps.net': [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n    ],\n    'groups.wixapps.net': [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n      {\n        srcPath: '/social-groups-proxy/api/groups',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/social-groups-proxy/groups',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/social-groups-proxy/groups',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_groups_groups';\n\n/**\n * Creates a group.\n *\n * When a group is created, the newly created group is added to the [Groups List](https://support.wix.com/en/article/wix-groups-about-your-groups-pages#groups-group-list) page\n * of a site.\n *\n * Specify a `creatorId` to set the group's creator. The group's creator will automatically become a group admin. See [Terminology](https://dev.wix.com/docs/rest/crm/community/groups/terminology) for more information on roles.\n *\n *\n * Wix users determine who can create a group.\n * This setting can 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?) under **Groups > General Settings > Group Creation**.\n * If set to **members with approval**, site members can create a group with the Create Group method, and the group becomes a `createRequest` with a status of `PENDING`.\n * A Wix user either approves or rejects the request to create a group.\n * If set to **all site members**, site members can create a group with the Create Group method and no approval is required.\n * If set to **only admins**, only Wix users can create a group with the Create Group method.\n * Default is set to **members with approval**.\n */\nexport function createGroup(payload: object): RequestOptionsFactory<any> {\n  function __createGroup({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'group.createdDate' },\n          { path: 'group.updatedDate' },\n          { path: 'group.recentActivityDate' },\n          { path: 'group.lastActivityDate' },\n        ],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'group.details.logoPosition.x' },\n          { path: 'group.details.logoPosition.y' },\n          { path: 'group.details.mobileLogoPosition.x' },\n          { path: 'group.details.mobileLogoPosition.y' },\n          { path: 'group.coverImage.position.x' },\n          { path: 'group.coverImage.position.y' },\n          { path: 'group.coverImage.mobilePosition.x' },\n          { path: 'group.coverImage.mobilePosition.y' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group',\n      method: 'POST' as any,\n      methodFqn: 'wix.social.groups.api.v2.GroupsService.CreateGroup',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupsServiceUrl({\n        protoPath: '/v2/groups',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'group.createdDate' },\n              { path: 'group.updatedDate' },\n              { path: 'group.recentActivityDate' },\n              { path: 'group.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'group.details.logoPosition.x' },\n              { path: 'group.details.logoPosition.y' },\n              { path: 'group.details.mobileLogoPosition.x' },\n              { path: 'group.details.mobileLogoPosition.y' },\n              { path: 'group.coverImage.position.x' },\n              { path: 'group.coverImage.position.y' },\n              { path: 'group.coverImage.mobilePosition.x' },\n              { path: 'group.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createGroup;\n}\n\n/**\n * Updates a group.\n *\n * When a public or private group's name is updated, the slug is updated to reflect the new group name.\n * Only group admins can update their group.\n *\n * > **Notes:**\n * > + When `group.privacyStatus` is updated from `PRIVATE` to `PUBLIC`, all pending group join requests are automatically approved.\n * > + When `group.privacyStatus` is updated from `PRIVATE` to `SECRET`, all pending group join requests are automatically rejected.\n */\nexport function updateGroup(payload: object): RequestOptionsFactory<any> {\n  function __updateGroup({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'group.createdDate' },\n          { path: 'group.updatedDate' },\n          { path: 'group.recentActivityDate' },\n          { path: 'group.lastActivityDate' },\n        ],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'group.details.logoPosition.x' },\n          { path: 'group.details.logoPosition.y' },\n          { path: 'group.details.mobileLogoPosition.x' },\n          { path: 'group.details.mobileLogoPosition.y' },\n          { path: 'group.coverImage.position.x' },\n          { path: 'group.coverImage.position.y' },\n          { path: 'group.coverImage.mobilePosition.x' },\n          { path: 'group.coverImage.mobilePosition.y' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.social.groups.api.v2.GroupsService.UpdateGroup',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupsServiceUrl({\n        protoPath: '/v2/groups/{group.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'group.createdDate' },\n              { path: 'group.updatedDate' },\n              { path: 'group.recentActivityDate' },\n              { path: 'group.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'group.details.logoPosition.x' },\n              { path: 'group.details.logoPosition.y' },\n              { path: 'group.details.mobileLogoPosition.x' },\n              { path: 'group.details.mobileLogoPosition.y' },\n              { path: 'group.coverImage.position.x' },\n              { path: 'group.coverImage.position.y' },\n              { path: 'group.coverImage.mobilePosition.x' },\n              { path: 'group.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateGroup;\n}\n\nexport function deleteGroup(payload: object): RequestOptionsFactory<any> {\n  function __deleteGroup({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.social.groups.api.v2.GroupsService.DeleteGroup',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupsServiceUrl({\n        protoPath: '/v2/groups/{groupId}',\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: 'group.createdDate' },\n              { path: 'group.updatedDate' },\n              { path: 'group.recentActivityDate' },\n              { path: 'group.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'group.details.logoPosition.x' },\n              { path: 'group.details.logoPosition.y' },\n              { path: 'group.details.mobileLogoPosition.x' },\n              { path: 'group.details.mobileLogoPosition.y' },\n              { path: 'group.coverImage.position.x' },\n              { path: 'group.coverImage.position.y' },\n              { path: 'group.coverImage.mobilePosition.x' },\n              { path: 'group.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __deleteGroup;\n}\n\n/**\n * Retrieves a group.\n *\n * For groups with `group.privacyStatus` set to `SECRET`, only group admins and group members can see the group and its content.\n */\nexport function getGroup(payload: object): RequestOptionsFactory<any> {\n  function __getGroup({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group',\n      method: 'GET' as any,\n      methodFqn: 'wix.social.groups.api.v2.GroupsService.GetGroup',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupsServiceUrl({\n        protoPath: '/v2/groups/{groupId}',\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: 'group.createdDate' },\n              { path: 'group.updatedDate' },\n              { path: 'group.recentActivityDate' },\n              { path: 'group.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'group.details.logoPosition.x' },\n              { path: 'group.details.logoPosition.y' },\n              { path: 'group.details.mobileLogoPosition.x' },\n              { path: 'group.details.mobileLogoPosition.y' },\n              { path: 'group.coverImage.position.x' },\n              { path: 'group.coverImage.position.y' },\n              { path: 'group.coverImage.mobilePosition.x' },\n              { path: 'group.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getGroup;\n}\n\n/**\n * Retrieves a group by slug.\n *\n * The slug is the end of a group's URL that refers to a specific group.\n * For example, if a group's URL is `https:/example.com/groups/{my-fitness-group}`, the slug is `my-fitness-group`.\n * Slugs are case-sensitive. It is generally based on the group name, but for secret groups it is an autogenerated string of characters,\n * for example, `https:/example.com/groups/{5D3yTX}`.\n *\n * For groups with `group.privacyStatus` set to `SECRET`, only group admins and group members can see the group and its content.\n */\nexport function getGroupBySlug(payload: object): RequestOptionsFactory<any> {\n  function __getGroupBySlug({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group',\n      method: 'GET' as any,\n      methodFqn: 'wix.social.groups.api.v2.GroupsService.GetGroupBySlug',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupsServiceUrl({\n        protoPath: '/v2/groups/slugs/{slug}',\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: 'group.createdDate' },\n              { path: 'group.updatedDate' },\n              { path: 'group.recentActivityDate' },\n              { path: 'group.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'group.details.logoPosition.x' },\n              { path: 'group.details.logoPosition.y' },\n              { path: 'group.details.mobileLogoPosition.x' },\n              { path: 'group.details.mobileLogoPosition.y' },\n              { path: 'group.coverImage.position.x' },\n              { path: 'group.coverImage.position.y' },\n              { path: 'group.coverImage.mobilePosition.x' },\n              { path: 'group.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getGroupBySlug;\n}\n\n/**\n * Retrieves up to 100 groups.\n *\n *\n * Default sorts by `_createdDate` in descending order. For `SECRET` groups, only group admins and group members can see a list of groups and their content.\n *\n * > **Note:** This function's parameters are positional, and must be specified in the sequence shown in the syntax below. When specifying a parameter, use `null` as a placeholder for any unspecified parameters. For example, to specify limit only, call `listGroups(paging, null)`.\n */\nexport function listGroups(payload: object): RequestOptionsFactory<any> {\n  function __listGroups({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group',\n      method: 'GET' as any,\n      methodFqn: 'wix.social.groups.api.v2.GroupsService.ListGroups',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupsServiceUrl({\n        protoPath: '/v2/groups',\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: 'groups.createdDate' },\n              { path: 'groups.updatedDate' },\n              { path: 'groups.recentActivityDate' },\n              { path: 'groups.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'groups.details.logoPosition.x' },\n              { path: 'groups.details.logoPosition.y' },\n              { path: 'groups.details.mobileLogoPosition.x' },\n              { path: 'groups.details.mobileLogoPosition.y' },\n              { path: 'groups.coverImage.position.x' },\n              { path: 'groups.coverImage.position.y' },\n              { path: 'groups.coverImage.mobilePosition.x' },\n              { path: 'groups.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listGroups;\n}\n\n/**\n * Retrieves up to 100 groups, given the provided paging, filtering, and sorting.\n *\n * Supported fields for filtering:\n * - `title`\n *\n * Supported fields for sorting:\n * - `title`\n * - `createdDate`\n * - `membersCount`\n * - `recentActivityDate`\n *\n * For groups with `group.privacyStatus` set to `SECRET`, only group admins and group members can see the group and its content.\n */\nexport function queryGroups(payload: object): RequestOptionsFactory<any> {\n  function __queryGroups({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.social_groups.v2.group',\n      method: 'POST' as any,\n      methodFqn: 'wix.social.groups.api.v2.GroupsService.QueryGroups',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSocialGroupsApiV2GroupsServiceUrl({\n        protoPath: '/v2/groups/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: 'groups.createdDate' },\n              { path: 'groups.updatedDate' },\n              { path: 'groups.recentActivityDate' },\n              { path: 'groups.lastActivityDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'groups.details.logoPosition.x' },\n              { path: 'groups.details.logoPosition.y' },\n              { path: 'groups.details.mobileLogoPosition.x' },\n              { path: 'groups.details.mobileLogoPosition.y' },\n              { path: 'groups.coverImage.position.x' },\n              { path: 'groups.coverImage.position.y' },\n              { path: 'groups.coverImage.mobilePosition.x' },\n              { path: 'groups.coverImage.mobilePosition.y' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryGroups;\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 interface CreateGroupRequest {\n  /** Group to create. */\n  group: Group;\n  /**\n   * ID of the member who created the group, from the Members API. This member will automatically become an admin.\n   * @format GUID\n   */\n  creatorId?: string | null;\n  /** Content type. */\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 CreateGroupResponse {\n  /** Created group. */\n  group?: Group;\n}\n\nexport interface UpdateGroupRequest {\n  /** Group to update. */\n  group: Group;\n  /** Content type. */\n  contentType?: ContentTypeWithLiterals;\n}\n\nexport interface UpdateGroupResponse {\n  /** Updated group. */\n  group?: Group;\n}\n\nexport interface GroupCoverChanged {\n  /** Old URL of group cover. */\n  oldUrl?: string | null;\n  /** New URL of group cover. */\n  newUrl?: string | null;\n}\n\nexport interface GroupDescriptionChanged {\n  /** Group's old description. */\n  oldDescription?: string | null;\n  /** Group's new description. */\n  newDescription?: string | null;\n}\n\nexport interface DeleteGroupRequest {\n  /**\n   * ID of the group to delete.\n   * @format GUID\n   */\n  groupId: string;\n}\n\nexport interface DeleteGroupResponse {\n  /** Deleted group. */\n  group?: Group;\n}\n\nexport interface GetGroupRequest {\n  /**\n   * ID of the group to retrieve.\n   * @format GUID\n   */\n  groupId: string;\n  /** Content type. */\n  contentType?: ContentTypeWithLiterals;\n}\n\nexport interface GetGroupResponse {\n  /** Retrieved group. */\n  group?: Group;\n}\n\nexport interface GetGroupBySlugRequest {\n  /**\n   * Unique part of the group's URL. For example, if a group's URL is `https:/example.com/groups/{my-fitness-group}`, the slug is `my-fitness-group`. Case-sensitive.\n   * @minLength 1\n   * @maxLength 100\n   */\n  slug: string;\n  /** @format GUID */\n  autoInviteId?: string | null;\n  /** Content type. */\n  contentType?: ContentTypeWithLiterals;\n}\n\nexport interface GetGroupBySlugResponse {\n  /** Retrieved group. */\n  group?: Group;\n}\n\nexport interface GetGroupIdBySlugRequest {\n  /**\n   * Unique part of the group's URL, for example `group-1` in `https:/example.com/groups/group-1`. Pass only the slug. Case-sensitive.\n   * @minLength 1\n   * @maxLength 100\n   */\n  slug?: string;\n  /** @format GUID */\n  autoInviteId?: string | null;\n}\n\nexport interface GetGroupIdBySlugResponse {\n  /**\n   * ID of the group that correspond to slug\n   * @format GUID\n   */\n  groupId?: string;\n  /** Global feed permissions */\n  accessPermissions?: GlobalFeedPermissions;\n}\n\nexport interface GlobalFeedPermissions {\n  feedPermissions?: FeedPermissions;\n  ownFeedItemPermissions?: FeedItemPermissions;\n  allFeedItemPermissions?: FeedItemPermissions;\n  activityFeedItemPermissions?: FeedItemPermissions;\n}\n\nexport interface FeedPermissions {\n  canViewPosts?: boolean;\n  canCreatePosts?: boolean;\n  canPinPosts?: boolean;\n  canCreateTopic?: boolean;\n  canFollowPosts?: boolean;\n  canCreatePaidPosts?: boolean;\n  canReadSettings?: boolean;\n  canManageSettings?: boolean;\n}\n\nexport interface FeedItemPermissions {\n  canViewFullPost?: boolean;\n  canAssignTopic?: boolean;\n  canUnassignTopic?: boolean;\n  /** bool canFollow = 3; // it's not related to context token */\n  canUpdate?: boolean;\n  canDelete?: boolean;\n  /** always true */\n  canShare?: boolean;\n  canAddComment?: boolean;\n  canReact?: boolean;\n  canPin?: boolean;\n}\n\nexport interface ListGroupsRequest {\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  /** Content type. */\n  contentType?: ContentTypeWithLiterals;\n}\n\nexport interface ListGroupsResponse {\n  /** Retrieved Groups. */\n  groups?: Group[];\n  /** Paging metadata. */\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 ListGroupsByUserIdRequest {\n  /** Content type. */\n  contentType?: ContentTypeWithLiterals;\n}\n\nexport interface ListGroupsByUserIdResponse {\n  groups?: GroupWithMsId[];\n}\n\n/** Retrieved Groups by metasite id */\nexport interface GroupWithMsId {\n  metaSiteId?: string;\n  groups?: Group[];\n}\n\nexport interface QueryGroupsRequest {\n  /** Query options. */\n  query?: Query;\n  /** Content type. */\n  contentType?: ContentTypeWithLiterals;\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 QueryGroupsResponse {\n  /** Retrieved groups. */\n  groups?: Group[];\n  /** Paging metadata. */\n  metadata?: PagingMetadata;\n}\n\nexport interface QueryJoinedGroupsRequest {\n  /** Query options. */\n  query?: Query;\n  /** Content type. */\n  contentType?: ContentTypeWithLiterals;\n}\n\nexport interface QueryJoinedGroupsResponse {\n  /** Retrieved groups. */\n  groups?: Group[];\n  /** Paging metadata. */\n  metadata?: PagingMetadata;\n}\n\nexport interface QueryGroupsByMembershipRequest {\n  /** Query options. */\n  query?: Query;\n  membershipStatus?: MembershipStatusWithLiterals;\n  /** Filter groups by permissions. */\n  permissionsFilter?: GroupPermissions;\n  /** Content type. */\n  contentType?: ContentTypeWithLiterals;\n}\n\nexport enum MembershipStatus {\n  NONE = 'NONE',\n  JOINED = 'JOINED',\n  PENDING = 'PENDING',\n}\n\n/** @enumType */\nexport type MembershipStatusWithLiterals =\n  | MembershipStatus\n  | 'NONE'\n  | 'JOINED'\n  | 'PENDING';\n\nexport interface GroupPermissions {\n  canCreatePosts?: boolean | null;\n}\n\nexport interface QueryGroupsByMembershipResponse {\n  /** Retrieved groups. */\n  groups?: Group[];\n  /** Paging metadata. */\n  metadata?: PagingMetadata;\n}\n\nexport interface ListGroupIntegrationsDataRequest {\n  /**\n   * @format GUID\n   * @minSize 1\n   * @maxSize 100\n   */\n  groupIds?: string[];\n}\n\nexport interface ListGroupIntegrationsDataResponse {\n  /**\n   * @minSize 1\n   * @maxSize 100\n   */\n  groupsIntegrationsData?: GroupIntegrationsData[];\n}\n\nexport interface GroupIntegrationsData {\n  /** @format GUID */\n  groupId?: string;\n  feedItemsCount?: number;\n  /** @format GUID */\n  topicIds?: string[];\n  /** @format GUID */\n  eventIds?: string[];\n  /** @format GUID */\n  connectedPricingPlanIds?: string[];\n  /** @format GUID */\n  onlineProgramIds?: string[];\n}\n\nexport interface GetGroupMembersGroupIdsRequest {\n  /**\n   * ID of the group to retrieve members group ids.\n   * @format GUID\n   */\n  groupId?: string;\n}\n\nexport interface GetGroupMembersGroupIdsResponse {\n  /**\n   * All members group id\n   * @format GUID\n   */\n  allMembersGroupId?: string;\n  /**\n   * Admins members group id\n   * @format GUID\n   */\n  adminMembersGroupId?: string;\n}\n\nexport interface GetGroupBMFeaturesRequest {\n  /**\n   * ID of the group to retrieve BM features.\n   * @format GUID\n   */\n  groupId?: string;\n}\n\nexport interface GetGroupBMFeaturesResponse {\n  level?: number;\n  features?: BMFeatures;\n}\n\nexport interface BMFeatures {\n  /** @maxSize 10 */\n  bmFeatures?: BMFeatureWithLiterals[];\n}\n\nexport enum BMFeature {\n  BM_FEATURES_UNKNOWN = 'BM_FEATURES_UNKNOWN',\n  BM_FEATURES_GENERATE_TOPICS = 'BM_FEATURES_GENERATE_TOPICS',\n  BM_FEATURES_GENERATE_QUESTIONS = 'BM_FEATURES_GENERATE_QUESTIONS',\n}\n\n/** @enumType */\nexport type BMFeatureWithLiterals =\n  | BMFeature\n  | 'BM_FEATURES_UNKNOWN'\n  | 'BM_FEATURES_GENERATE_TOPICS'\n  | 'BM_FEATURES_GENERATE_QUESTIONS';\n\nexport interface QueryJoinedGroupsWithMemberRequest {\n  /** Query options. */\n  query?: Query;\n  /**\n   * ID of the member to find common groups with\n   * @format GUID\n   */\n  memberId?: string;\n  /** Content type. */\n  contentType?: ContentTypeWithLiterals;\n}\n\nexport interface QueryJoinedGroupsWithMemberResponse {\n  /** Retrieved groups. */\n  groups?: Group[];\n  /** Paging metadata. */\n  metadata?: PagingMetadata;\n}\n\nexport interface GetPrivacyRequest {\n  /**\n   * Group ids to list privacy for\n   * @format GUID\n   * @maxSize 100\n   */\n  groupIds?: string[];\n}\n\nexport interface GetPrivacyResponse {\n  /** Privacy statuses listed per group id */\n  privacyStatuses?: Record<string, PrivacyStatus>;\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 ambassadorWixSocialGroupsV2Group from './social-groups-v2-group-groups.http.js';\nimport * as ambassadorWixSocialGroupsV2GroupTypes from './social-groups-v2-group-groups.types.js';\nimport * as ambassadorWixSocialGroupsV2GroupUniversalTypes from './social-groups-v2-group-groups.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 createGroup(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.CreateGroupRequest,\n  ambassadorWixSocialGroupsV2GroupTypes.CreateGroupRequest,\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.CreateGroupResponse,\n  ambassadorWixSocialGroupsV2GroupTypes.CreateGroupResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2Group.createGroup(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',\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 updateGroup(): __PublicMethodMetaInfo<\n  'PATCH',\n  { groupId: string },\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.UpdateGroupRequest,\n  ambassadorWixSocialGroupsV2GroupTypes.UpdateGroupRequest,\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.UpdateGroupResponse,\n  ambassadorWixSocialGroupsV2GroupTypes.UpdateGroupResponse\n> {\n  const payload = { group: { id: ':groupId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2Group.updateGroup(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v2/groups/{group.id}',\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 deleteGroup(): __PublicMethodMetaInfo<\n  'DELETE',\n  { groupId: string },\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.DeleteGroupRequest,\n  ambassadorWixSocialGroupsV2GroupTypes.DeleteGroupRequest,\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.DeleteGroupResponse,\n  ambassadorWixSocialGroupsV2GroupTypes.DeleteGroupResponse\n> {\n  const payload = { groupId: ':groupId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2Group.deleteGroup(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v2/groups/{groupId}',\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 getGroup(): __PublicMethodMetaInfo<\n  'GET',\n  { groupId: string },\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.GetGroupRequest,\n  ambassadorWixSocialGroupsV2GroupTypes.GetGroupRequest,\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.GetGroupResponse,\n  ambassadorWixSocialGroupsV2GroupTypes.GetGroupResponse\n> {\n  const payload = { groupId: ':groupId' } as any;\n\n  const getRequestOptions = ambassadorWixSocialGroupsV2Group.getGroup(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}',\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 getGroupBySlug(): __PublicMethodMetaInfo<\n  'GET',\n  { slug: string },\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.GetGroupBySlugRequest,\n  ambassadorWixSocialGroupsV2GroupTypes.GetGroupBySlugRequest,\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.GetGroupBySlugResponse,\n  ambassadorWixSocialGroupsV2GroupTypes.GetGroupBySlugResponse\n> {\n  const payload = { slug: ':slug' } as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2Group.getGroupBySlug(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/slugs/{slug}',\n    pathParams: { slug: 'slug' },\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 listGroups(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.ListGroupsRequest,\n  ambassadorWixSocialGroupsV2GroupTypes.ListGroupsRequest,\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.ListGroupsResponse,\n  ambassadorWixSocialGroupsV2GroupTypes.ListGroupsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2Group.listGroups(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',\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 queryGroups(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.QueryGroupsRequest,\n  ambassadorWixSocialGroupsV2GroupTypes.QueryGroupsRequest,\n  ambassadorWixSocialGroupsV2GroupUniversalTypes.QueryGroupsResponse,\n  ambassadorWixSocialGroupsV2GroupTypes.QueryGroupsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixSocialGroupsV2Group.queryGroups(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/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  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  CreateGroupRequest as CreateGroupRequestOriginal,\n  ContentType as ContentTypeOriginal,\n  ContentTypeWithLiterals as ContentTypeWithLiteralsOriginal,\n  CreateGroupResponse as CreateGroupResponseOriginal,\n  UpdateGroupRequest as UpdateGroupRequestOriginal,\n  UpdateGroupResponse as UpdateGroupResponseOriginal,\n  GroupCoverChanged as GroupCoverChangedOriginal,\n  GroupDescriptionChanged as GroupDescriptionChangedOriginal,\n  DeleteGroupRequest as DeleteGroupRequestOriginal,\n  DeleteGroupResponse as DeleteGroupResponseOriginal,\n  GetGroupRequest as GetGroupRequestOriginal,\n  GetGroupResponse as GetGroupResponseOriginal,\n  GetGroupBySlugRequest as GetGroupBySlugRequestOriginal,\n  GetGroupBySlugResponse as GetGroupBySlugResponseOriginal,\n  GetGroupIdBySlugRequest as GetGroupIdBySlugRequestOriginal,\n  GetGroupIdBySlugResponse as GetGroupIdBySlugResponseOriginal,\n  GlobalFeedPermissions as GlobalFeedPermissionsOriginal,\n  FeedPermissions as FeedPermissionsOriginal,\n  FeedItemPermissions as FeedItemPermissionsOriginal,\n  ListGroupsRequest as ListGroupsRequestOriginal,\n  ListGroupsResponse as ListGroupsResponseOriginal,\n  PagingMetadata as PagingMetadataOriginal,\n  ListGroupsByUserIdRequest as ListGroupsByUserIdRequestOriginal,\n  ListGroupsByUserIdResponse as ListGroupsByUserIdResponseOriginal,\n  GroupWithMsId as GroupWithMsIdOriginal,\n  QueryGroupsRequest as QueryGroupsRequestOriginal,\n  Query as QueryOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  QueryGroupsResponse as QueryGroupsResponseOriginal,\n  QueryJoinedGroupsRequest as QueryJoinedGroupsRequestOriginal,\n  QueryJoinedGroupsResponse as QueryJoinedGroupsResponseOriginal,\n  QueryGroupsByMembershipRequest as QueryGroupsByMembershipRequestOriginal,\n  MembershipStatus as MembershipStatusOriginal,\n  MembershipStatusWithLiterals as MembershipStatusWithLiteralsOriginal,\n  GroupPermissions as GroupPermissionsOriginal,\n  QueryGroupsByMembershipResponse as QueryGroupsByMembershipResponseOriginal,\n  ListGroupIntegrationsDataRequest as ListGroupIntegrationsDataRequestOriginal,\n  ListGroupIntegrationsDataResponse as ListGroupIntegrationsDataResponseOriginal,\n  GroupIntegrationsData as GroupIntegrationsDataOriginal,\n  GetGroupMembersGroupIdsRequest as GetGroupMembersGroupIdsRequestOriginal,\n  GetGroupMembersGroupIdsResponse as GetGroupMembersGroupIdsResponseOriginal,\n  GetGroupBMFeaturesRequest as GetGroupBMFeaturesRequestOriginal,\n  GetGroupBMFeaturesResponse as GetGroupBMFeaturesResponseOriginal,\n  BMFeatures as BMFeaturesOriginal,\n  BMFeature as BMFeatureOriginal,\n  BMFeatureWithLiterals as BMFeatureWithLiteralsOriginal,\n  QueryJoinedGroupsWithMemberRequest as QueryJoinedGroupsWithMemberRequestOriginal,\n  QueryJoinedGroupsWithMemberResponse as QueryJoinedGroupsWithMemberResponseOriginal,\n  GetPrivacyRequest as GetPrivacyRequestOriginal,\n  GetPrivacyResponse as GetPrivacyResponseOriginal,\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-groups.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,4CACP,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,M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ACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,eAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6B,YAAY,OAAO;AAEtD,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","Type","AllowPolicy","StepKey","PrivacyStatus","IdentityType","ContentType","SortOrder","MembershipStatus","BMFeature","WebhookIdentityType","createGroup","updateGroup","deleteGroup","getGroup","getGroupBySlug","listGroups","queryGroups"]}