import { S as SdkModule } from '../../module-Bq-w9Ws5.js'; import 'graphql-request'; type ComChannelType = 'ANNOUNCEMENT' | 'FORUM' | 'TEXT' | 'VOICE'; type ComChannelVisibility = 'CIRCLE' | 'PRIVATE'; type ComCircleStatus = 'ACTIVE' | 'ARCHIVED' | 'SUSPENDED'; type ComCircleVisibility = 'PRIVATE' | 'PUBLIC' | 'SECRET'; type ComEventMode = 'HYBRID' | 'IN_PERSON' | 'ONLINE'; type ComEventStatus = 'CANCELLED' | 'COMPLETED' | 'LIVE' | 'SCHEDULED'; type ComFollowTargetType = 'CHANNEL' | 'CIRCLE' | 'MEMBER'; type ComMemberRole = 'ADMIN' | 'MEMBER' | 'MODERATOR' | 'OWNER'; type ComMembershipStatus = 'ACTIVE' | 'BANNED' | 'LEFT' | 'PENDING'; type ComPollStatus = 'CLOSED' | 'OPEN'; type ComPostStatus = 'DRAFT' | 'HIDDEN' | 'PUBLISHED' | 'REMOVED'; type ComPresence = 'AWAY' | 'BUSY' | 'OFFLINE' | 'ONLINE'; type ComReactionType = 'CELEBRATE' | 'INSIGHTFUL' | 'LAUGH' | 'LIKE' | 'LOVE' | 'SUPPORT'; type ComRsvpStatus = 'GOING' | 'INTERESTED' | 'NOT_GOING' | 'WAITLISTED'; interface ComFileRef { id: string; } interface ComUserRef { id: string; } interface ComPageInfo { cursor?: string | null; hasMore: boolean; } interface ComChannel { id: string; circleId: string; name: string; slug: string; description?: string | null; type: ComChannelType; visibility: ComChannelVisibility; position: number; isArchived: boolean; workspaceId: string; createdAt: string; updatedAt: string; circle?: ComCircle | null; } interface ComCircle { id: string; name: string; slug: string; description?: string | null; topic?: string | null; status: ComCircleStatus; visibility: ComCircleVisibility; avatar?: ComFileRef | null; tags: string[]; memberCount: number; workspaceId: string; createdAt: string; updatedAt: string; channels?: ComChannel[]; memberships?: ComMembership[]; } interface ComComment { id: string; postId: string; parentId?: string | null; authorId: string; body: string; isHidden: boolean; author?: ComUserRef | null; workspaceId: string; createdAt: string; updatedAt: string; } interface ComReaction { id: string; postId: string; memberId: string; type: ComReactionType; member?: ComUserRef | null; workspaceId: string; createdAt: string; } interface ComPost { id: string; channelId: string; authorId: string; body: string; status: ComPostStatus; tags: string[]; isPinned: boolean; attachmentFileIds: string[]; commentCount: number; reactionCount: number; author?: ComUserRef | null; comments?: ComComment[]; reactions?: ComReaction[]; workspaceId: string; createdAt: string; updatedAt: string; } interface ComMembership { id: string; circleId: string; memberId: string; role: ComMemberRole; status: ComMembershipStatus; joinedAt?: string | null; member?: ComUserRef | null; circle?: ComCircle | null; workspaceId: string; createdAt: string; updatedAt: string; } interface ComEventRsvp { id: string; eventId: string; memberId: string; status: ComRsvpStatus; note?: string | null; member?: ComUserRef | null; workspaceId: string; createdAt: string; updatedAt: string; } interface ComEvent { id: string; circleId: string; hostId: string; title: string; description?: string | null; mode: ComEventMode; status: ComEventStatus; startsAt: string; endsAt?: string | null; location?: string | null; joinUrl?: string | null; capacity?: number | null; rsvpCount: number; tags: string[]; host?: ComUserRef | null; rsvps?: ComEventRsvp[]; workspaceId: string; createdAt: string; updatedAt: string; } interface ComPollOption { id: string; pollId: string; label: string; position: number; voteCount: number; workspaceId: string; createdAt: string; } interface ComPoll { id: string; circleId: string; question: string; status: ComPollStatus; allowMultiple: boolean; isAnonymous: boolean; closesAt?: string | null; options: ComPollOption[]; workspaceId: string; createdAt: string; updatedAt: string; } interface ComProfile { id: string; memberId: string; displayName: string; headline?: string | null; bio?: string | null; presence: ComPresence; discoverable: boolean; avatar?: ComFileRef | null; interests: string[]; skills: string[]; member?: ComUserRef | null; workspaceId: string; createdAt: string; updatedAt: string; } interface ComFeedFollow { id: string; followerId: string; targetId: string; targetType: ComFollowTargetType; muted: boolean; workspaceId: string; createdAt: string; updatedAt: string; } interface ComCircleConnection { items: ComCircle[]; pageInfo: ComPageInfo; } interface ComPostConnection { items: ComPost[]; pageInfo: ComPageInfo; } interface ComEventConnection { items: ComEvent[]; pageInfo: ComPageInfo; } interface ComMembershipConnection { items: ComMembership[]; pageInfo: ComPageInfo; } interface ComProfileConnection { items: ComProfile[]; pageInfo: ComPageInfo; } interface ComPaginationInput { cursor?: string; limit?: number; offset?: number; } interface ComCreateCircleInput { name: string; slug: string; description?: string; topic?: string; avatarFileId?: string; tags?: string[]; visibility?: ComCircleVisibility; } interface ComUpdateCircleInput { name?: string; description?: string; topic?: string; avatarFileId?: string; tags?: string[]; visibility?: ComCircleVisibility; } interface ComCreateChannelInput { circleId: string; name: string; slug: string; description?: string; position?: number; type?: ComChannelType; visibility?: ComChannelVisibility; } interface ComUpdateChannelInput { name?: string; description?: string; position?: number; type?: ComChannelType; visibility?: ComChannelVisibility; isArchived?: boolean; } interface ComCreatePostInput { channelId: string; body: string; attachmentFileIds?: string[]; status?: ComPostStatus; tags?: string[]; } interface ComUpdatePostInput { body?: string; isPinned?: boolean; status?: ComPostStatus; tags?: string[]; } interface ComCreateCommentInput { postId: string; body: string; parentId?: string; } interface ComCreateEventInput { circleId: string; title: string; startsAt: string; description?: string; endsAt?: string; location?: string; joinUrl?: string; capacity?: number; mode?: ComEventMode; tags?: string[]; } interface ComUpdateEventInput { title?: string; description?: string; startsAt?: string; endsAt?: string; location?: string; joinUrl?: string; capacity?: number; mode?: ComEventMode; tags?: string[]; } interface ComCreatePollInput { circleId: string; question: string; options: string[]; allowMultiple?: boolean; isAnonymous?: boolean; closesAt?: string; } interface ComUpsertProfileInput { displayName: string; headline?: string; bio?: string; avatarFileId?: string; discoverable?: boolean; interests?: string[]; presence?: ComPresence; skills?: string[]; } interface ComFollowInput { targetId: string; targetType: ComFollowTargetType; } interface ComradecircleCirclesApi { get(id: string): Promise; list(status?: ComCircleStatus, visibility?: ComCircleVisibility, pagination?: ComPaginationInput): Promise; create(input: ComCreateCircleInput): Promise; update(id: string, input: ComUpdateCircleInput): Promise; archive(id: string): Promise; } interface ComradecircleChannelsApi { list(circleId: string): Promise; create(input: ComCreateChannelInput): Promise; update(id: string, input: ComUpdateChannelInput): Promise; } interface ComradecirclePostsApi { get(id: string): Promise; list(channelId?: string, status?: ComPostStatus, pagination?: ComPaginationInput): Promise; create(input: ComCreatePostInput): Promise; update(id: string, input: ComUpdatePostInput): Promise; remove(id: string): Promise; react(postId: string, type: ComReactionType): Promise; } interface ComradecircleCommentsApi { list(postId: string): Promise; add(input: ComCreateCommentInput): Promise; } interface ComradecircleMembershipsApi { list(circleId?: string, status?: ComMembershipStatus, pagination?: ComPaginationInput): Promise; join(circleId: string): Promise; leave(circleId: string): Promise; setRole(membershipId: string, role: ComMemberRole): Promise; } interface ComradecircleEventsApi { get(id: string): Promise; list(circleId?: string, status?: ComEventStatus, pagination?: ComPaginationInput): Promise; create(input: ComCreateEventInput): Promise; update(id: string, input: ComUpdateEventInput): Promise; transition(id: string, status: ComEventStatus): Promise; rsvp(eventId: string, status: ComRsvpStatus, note?: string): Promise; } interface ComradecirclePollsApi { get(id: string): Promise; list(circleId: string, status?: ComPollStatus): Promise; create(input: ComCreatePollInput): Promise; close(id: string): Promise; vote(pollId: string, optionId: string): Promise; } interface ComradecircleProfilesApi { get(memberId: string): Promise; list(discoverable?: boolean, pagination?: ComPaginationInput): Promise; upsert(input: ComUpsertProfileInput): Promise; } interface ComradecircleFeedApi { myFeed(pagination?: ComPaginationInput): Promise; myFollows(targetType?: ComFollowTargetType): Promise; follow(input: ComFollowInput): Promise; unfollow(input: ComFollowInput): Promise; muteFollow(id: string, muted: boolean): Promise; } interface ComradecircleSystemApi { health(): Promise; } interface ComradecircleApi { circles: ComradecircleCirclesApi; channels: ComradecircleChannelsApi; posts: ComradecirclePostsApi; comments: ComradecircleCommentsApi; memberships: ComradecircleMembershipsApi; events: ComradecircleEventsApi; polls: ComradecirclePollsApi; profiles: ComradecircleProfilesApi; feed: ComradecircleFeedApi; system: ComradecircleSystemApi; } declare const comradecircleModule: SdkModule; export { type ComChannel, type ComChannelType, type ComChannelVisibility, type ComCircle, type ComCircleConnection, type ComCircleStatus, type ComCircleVisibility, type ComComment, type ComCreateChannelInput, type ComCreateCircleInput, type ComCreateCommentInput, type ComCreateEventInput, type ComCreatePollInput, type ComCreatePostInput, type ComEvent, type ComEventConnection, type ComEventMode, type ComEventRsvp, type ComEventStatus, type ComFeedFollow, type ComFileRef, type ComFollowInput, type ComFollowTargetType, type ComMemberRole, type ComMembership, type ComMembershipConnection, type ComMembershipStatus, type ComPageInfo, type ComPaginationInput, type ComPoll, type ComPollOption, type ComPollStatus, type ComPost, type ComPostConnection, type ComPostStatus, type ComPresence, type ComProfile, type ComProfileConnection, type ComReaction, type ComReactionType, type ComRsvpStatus, type ComUpdateChannelInput, type ComUpdateCircleInput, type ComUpdateEventInput, type ComUpdatePostInput, type ComUpsertProfileInput, type ComUserRef, type ComradecircleApi, type ComradecircleChannelsApi, type ComradecircleCirclesApi, type ComradecircleCommentsApi, type ComradecircleEventsApi, type ComradecircleFeedApi, type ComradecircleMembershipsApi, type ComradecirclePollsApi, type ComradecirclePostsApi, type ComradecircleProfilesApi, type ComradecircleSystemApi, comradecircleModule as default };