|
|
|
|
@ -378,8 +378,8 @@ export type Query = {
|
|
|
|
|
currentUser: User;
|
|
|
|
|
currentWorkspace: Workspace;
|
|
|
|
|
findWorkspaceFromInviteHash: Workspace;
|
|
|
|
|
getTimelineThreadsFromCompanyId: Array<TimelineThread>;
|
|
|
|
|
getTimelineThreadsFromPersonId: Array<TimelineThread>;
|
|
|
|
|
getTimelineThreadsFromCompanyId: TimelineThreadsWithTotal;
|
|
|
|
|
getTimelineThreadsFromPersonId: TimelineThreadsWithTotal;
|
|
|
|
|
object: Object;
|
|
|
|
|
objects: ObjectConnection;
|
|
|
|
|
validatePasswordResetToken: ValidatePasswordResetToken;
|
|
|
|
|
@ -517,6 +517,12 @@ export type TimelineThreadParticipant = {
|
|
|
|
|
workspaceMemberId?: Maybe<Scalars['ID']>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type TimelineThreadsWithTotal = {
|
|
|
|
|
__typename?: 'TimelineThreadsWithTotal';
|
|
|
|
|
timelineThreads: Array<TimelineThread>;
|
|
|
|
|
totalNumberOfThreads: Scalars['Int'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type TransientToken = {
|
|
|
|
|
__typename?: 'TransientToken';
|
|
|
|
|
transientToken: AuthToken;
|
|
|
|
|
@ -715,6 +721,8 @@ export type ParticipantFragmentFragment = { __typename?: 'TimelineThreadParticip
|
|
|
|
|
|
|
|
|
|
export type TimelineThreadFragmentFragment = { __typename?: 'TimelineThread', id: string, read: boolean, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> };
|
|
|
|
|
|
|
|
|
|
export type TimelineThreadsWithTotalFragmentFragment = { __typename?: 'TimelineThreadsWithTotal', totalNumberOfThreads: number, timelineThreads: Array<{ __typename?: 'TimelineThread', id: string, read: boolean, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> };
|
|
|
|
|
|
|
|
|
|
export type GetTimelineThreadsFromCompanyIdQueryVariables = Exact<{
|
|
|
|
|
companyId: Scalars['ID'];
|
|
|
|
|
page: Scalars['Int'];
|
|
|
|
|
@ -722,7 +730,7 @@ export type GetTimelineThreadsFromCompanyIdQueryVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetTimelineThreadsFromCompanyIdQuery = { __typename?: 'Query', getTimelineThreadsFromCompanyId: Array<{ __typename?: 'TimelineThread', id: string, read: boolean, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> };
|
|
|
|
|
export type GetTimelineThreadsFromCompanyIdQuery = { __typename?: 'Query', getTimelineThreadsFromCompanyId: { __typename?: 'TimelineThreadsWithTotal', totalNumberOfThreads: number, timelineThreads: Array<{ __typename?: 'TimelineThread', id: string, read: boolean, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> } };
|
|
|
|
|
|
|
|
|
|
export type GetTimelineThreadsFromPersonIdQueryVariables = Exact<{
|
|
|
|
|
personId: Scalars['ID'];
|
|
|
|
|
@ -731,7 +739,7 @@ export type GetTimelineThreadsFromPersonIdQueryVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetTimelineThreadsFromPersonIdQuery = { __typename?: 'Query', getTimelineThreadsFromPersonId: Array<{ __typename?: 'TimelineThread', id: string, read: boolean, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> };
|
|
|
|
|
export type GetTimelineThreadsFromPersonIdQuery = { __typename?: 'Query', getTimelineThreadsFromPersonId: { __typename?: 'TimelineThreadsWithTotal', totalNumberOfThreads: number, timelineThreads: Array<{ __typename?: 'TimelineThread', id: string, read: boolean, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: string | null, workspaceMemberId?: string | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> } };
|
|
|
|
|
|
|
|
|
|
export type CreateEventMutationVariables = Exact<{
|
|
|
|
|
type: Scalars['String'];
|
|
|
|
|
@ -912,6 +920,14 @@ export const TimelineThreadFragmentFragmentDoc = gql`
|
|
|
|
|
participantCount
|
|
|
|
|
}
|
|
|
|
|
${ParticipantFragmentFragmentDoc}`;
|
|
|
|
|
export const TimelineThreadsWithTotalFragmentFragmentDoc = gql`
|
|
|
|
|
fragment TimelineThreadsWithTotalFragment on TimelineThreadsWithTotal {
|
|
|
|
|
totalNumberOfThreads
|
|
|
|
|
timelineThreads {
|
|
|
|
|
...TimelineThreadFragment
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${TimelineThreadFragmentFragmentDoc}`;
|
|
|
|
|
export const AuthTokenFragmentFragmentDoc = gql`
|
|
|
|
|
fragment AuthTokenFragment on AuthToken {
|
|
|
|
|
token
|
|
|
|
|
@ -970,10 +986,10 @@ export const GetTimelineThreadsFromCompanyIdDocument = gql`
|
|
|
|
|
page: $page
|
|
|
|
|
pageSize: $pageSize
|
|
|
|
|
) {
|
|
|
|
|
...TimelineThreadFragment
|
|
|
|
|
...TimelineThreadsWithTotalFragment
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${TimelineThreadFragmentFragmentDoc}`;
|
|
|
|
|
${TimelineThreadsWithTotalFragmentFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetTimelineThreadsFromCompanyIdQuery__
|
|
|
|
|
@ -1011,10 +1027,10 @@ export const GetTimelineThreadsFromPersonIdDocument = gql`
|
|
|
|
|
page: $page
|
|
|
|
|
pageSize: $pageSize
|
|
|
|
|
) {
|
|
|
|
|
...TimelineThreadFragment
|
|
|
|
|
...TimelineThreadsWithTotalFragment
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${TimelineThreadFragmentFragmentDoc}`;
|
|
|
|
|
${TimelineThreadsWithTotalFragmentFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetTimelineThreadsFromPersonIdQuery__
|
|
|
|
|
|