Type alias ThreadPartsFragment

ThreadPartsFragment: {
    __typename: "Thread";
    assignedAt: {
        __typename: "DateTime";
        iso8601: string;
        unixTimestamp: string;
    } | null;
    assignedTo: {
        __typename: "MachineUser";
        description: string | null;
        fullName: string;
        id: string;
        publicName: string;
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "System";
        id: string;
    } | {
        __typename: "User";
        email: string;
        fullName: string;
        id: string;
        publicName: string;
        slackIdentities: {
            __typename?: "SlackUserIdentity";
            slackTeamId: string;
            slackUserId: string;
        }[];
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | null;
    createdAt: {
        __typename: "DateTime";
        iso8601: string;
        unixTimestamp: string;
    };
    createdBy: {
        __typename: "CustomerActor";
        customerId: string;
    } | {
        __typename: "DeletedCustomerActor";
        customerId: string;
    } | {
        __typename: "MachineUserActor";
        machineUserId: string;
    } | {
        __typename: "SystemActor";
        systemId: string;
    } | {
        __typename: "UserActor";
        userId: string;
    };
    customer: {
        __typename?: "Customer";
        id: string;
    };
    description: string | null;
    externalId: string | null;
    id: string;
    labels: {
        __typename: "Label";
        createdAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        createdBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
        id: string;
        labelType: {
            __typename: "LabelType";
            archivedAt: {
                __typename: "DateTime";
                iso8601: string;
                unixTimestamp: string;
            } | null;
            archivedBy: {
                __typename: "MachineUserActor";
                machineUserId: string;
            } | {
                __typename: "SystemActor";
                systemId: string;
            } | {
                __typename: "UserActor";
                userId: string;
            } | null;
            createdAt: {
                __typename: "DateTime";
                iso8601: string;
                unixTimestamp: string;
            };
            createdBy: {
                __typename: "MachineUserActor";
                machineUserId: string;
            } | {
                __typename: "SystemActor";
                systemId: string;
            } | {
                __typename: "UserActor";
                userId: string;
            };
            icon: string | null;
            id: string;
            isArchived: boolean;
            name: string;
            updatedAt: {
                __typename: "DateTime";
                iso8601: string;
                unixTimestamp: string;
            };
            updatedBy: {
                __typename: "MachineUserActor";
                machineUserId: string;
            } | {
                __typename: "SystemActor";
                systemId: string;
            } | {
                __typename: "UserActor";
                userId: string;
            };
        };
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        updatedBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
    }[];
    previewText: string | null;
    priority: number;
    status: ThreadStatus;
    statusChangedAt: {
        __typename: "DateTime";
        iso8601: string;
        unixTimestamp: string;
    };
    statusDetail: {
        __typename: "ThreadStatusDetailCreated";
        createdAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailDoneAutomaticallySet";
        afterSeconds: number | null;
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailDoneManuallySet";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailIgnored";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailInProgress";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename?: "ThreadStatusDetailLinearUpdated";
    } | {
        __typename: "ThreadStatusDetailNewReply";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename?: "ThreadStatusDetailReplied";
    } | {
        __typename?: "ThreadStatusDetailSnoozed";
    } | {
        __typename: "ThreadStatusDetailThreadDiscussionResolved";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        threadDiscussionId: string | null;
    } | {
        __typename: "ThreadStatusDetailThreadLinkUpdated";
        linearIssueId: string | null;
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename?: "ThreadStatusDetailUnsnoozed";
    } | {
        __typename: "ThreadStatusDetailWaitingForCustomer";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailWaitingForDuration";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        waitingUntil: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | null;
    tenant: {
        __typename: "Tenant";
        createdAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        createdBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
        externalId: string;
        id: string;
        name: string;
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        updatedBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
        url: string | null;
    } | null;
    threadFields: {
        __typename: "ThreadField";
        booleanValue: boolean | null;
        createdAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        createdBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
        id: string;
        isAiGenerated: boolean;
        key: string;
        stringValue: string | null;
        threadId: string;
        type: ThreadFieldSchemaType;
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        updatedBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
    }[];
    title: string;
    updatedAt: {
        __typename: "DateTime";
        iso8601: string;
        unixTimestamp: string;
    };
    updatedBy: {
        __typename: "CustomerActor";
        customerId: string;
    } | {
        __typename: "DeletedCustomerActor";
        customerId: string;
    } | {
        __typename: "MachineUserActor";
        machineUserId: string;
    } | {
        __typename: "SystemActor";
        systemId: string;
    } | {
        __typename: "UserActor";
        userId: string;
    };
}

Type declaration

  • __typename: "Thread"
  • assignedAt: {
        __typename: "DateTime";
        iso8601: string;
        unixTimestamp: string;
    } | null
  • assignedTo: {
        __typename: "MachineUser";
        description: string | null;
        fullName: string;
        id: string;
        publicName: string;
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "System";
        id: string;
    } | {
        __typename: "User";
        email: string;
        fullName: string;
        id: string;
        publicName: string;
        slackIdentities: {
            __typename?: "SlackUserIdentity";
            slackTeamId: string;
            slackUserId: string;
        }[];
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | null
  • createdAt: {
        __typename: "DateTime";
        iso8601: string;
        unixTimestamp: string;
    }
    • __typename: "DateTime"
    • iso8601: string
    • unixTimestamp: string
  • createdBy: {
        __typename: "CustomerActor";
        customerId: string;
    } | {
        __typename: "DeletedCustomerActor";
        customerId: string;
    } | {
        __typename: "MachineUserActor";
        machineUserId: string;
    } | {
        __typename: "SystemActor";
        systemId: string;
    } | {
        __typename: "UserActor";
        userId: string;
    }
  • customer: {
        __typename?: "Customer";
        id: string;
    }
    • Optional __typename?: "Customer"
    • id: string
  • description: string | null
  • externalId: string | null
  • id: string
  • labels: {
        __typename: "Label";
        createdAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        createdBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
        id: string;
        labelType: {
            __typename: "LabelType";
            archivedAt: {
                __typename: "DateTime";
                iso8601: string;
                unixTimestamp: string;
            } | null;
            archivedBy: {
                __typename: "MachineUserActor";
                machineUserId: string;
            } | {
                __typename: "SystemActor";
                systemId: string;
            } | {
                __typename: "UserActor";
                userId: string;
            } | null;
            createdAt: {
                __typename: "DateTime";
                iso8601: string;
                unixTimestamp: string;
            };
            createdBy: {
                __typename: "MachineUserActor";
                machineUserId: string;
            } | {
                __typename: "SystemActor";
                systemId: string;
            } | {
                __typename: "UserActor";
                userId: string;
            };
            icon: string | null;
            id: string;
            isArchived: boolean;
            name: string;
            updatedAt: {
                __typename: "DateTime";
                iso8601: string;
                unixTimestamp: string;
            };
            updatedBy: {
                __typename: "MachineUserActor";
                machineUserId: string;
            } | {
                __typename: "SystemActor";
                systemId: string;
            } | {
                __typename: "UserActor";
                userId: string;
            };
        };
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        updatedBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
    }[]
  • previewText: string | null
  • priority: number
  • status: ThreadStatus
  • statusChangedAt: {
        __typename: "DateTime";
        iso8601: string;
        unixTimestamp: string;
    }
    • __typename: "DateTime"
    • iso8601: string
    • unixTimestamp: string
  • statusDetail: {
        __typename: "ThreadStatusDetailCreated";
        createdAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailDoneAutomaticallySet";
        afterSeconds: number | null;
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailDoneManuallySet";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailIgnored";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailInProgress";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename?: "ThreadStatusDetailLinearUpdated";
    } | {
        __typename: "ThreadStatusDetailNewReply";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename?: "ThreadStatusDetailReplied";
    } | {
        __typename?: "ThreadStatusDetailSnoozed";
    } | {
        __typename: "ThreadStatusDetailThreadDiscussionResolved";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        threadDiscussionId: string | null;
    } | {
        __typename: "ThreadStatusDetailThreadLinkUpdated";
        linearIssueId: string | null;
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename?: "ThreadStatusDetailUnsnoozed";
    } | {
        __typename: "ThreadStatusDetailWaitingForCustomer";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | {
        __typename: "ThreadStatusDetailWaitingForDuration";
        statusChangedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        waitingUntil: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
    } | null
  • tenant: {
        __typename: "Tenant";
        createdAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        createdBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
        externalId: string;
        id: string;
        name: string;
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        updatedBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
        url: string | null;
    } | null
  • threadFields: {
        __typename: "ThreadField";
        booleanValue: boolean | null;
        createdAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        createdBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
        id: string;
        isAiGenerated: boolean;
        key: string;
        stringValue: string | null;
        threadId: string;
        type: ThreadFieldSchemaType;
        updatedAt: {
            __typename: "DateTime";
            iso8601: string;
            unixTimestamp: string;
        };
        updatedBy: {
            __typename: "MachineUserActor";
            machineUserId: string;
        } | {
            __typename: "SystemActor";
            systemId: string;
        } | {
            __typename: "UserActor";
            userId: string;
        };
    }[]
  • title: string
  • updatedAt: {
        __typename: "DateTime";
        iso8601: string;
        unixTimestamp: string;
    }
    • __typename: "DateTime"
    • iso8601: string
    • unixTimestamp: string
  • updatedBy: {
        __typename: "CustomerActor";
        customerId: string;
    } | {
        __typename: "DeletedCustomerActor";
        customerId: string;
    } | {
        __typename: "MachineUserActor";
        machineUserId: string;
    } | {
        __typename: "SystemActor";
        systemId: string;
    } | {
        __typename: "UserActor";
        userId: string;
    }

Generated using TypeDoc