diff --git a/.changeset/kind-jokes-drop.md b/.changeset/kind-jokes-drop.md new file mode 100644 index 0000000..ccdb852 --- /dev/null +++ b/.changeset/kind-jokes-drop.md @@ -0,0 +1,5 @@ +--- +'@team-plain/typescript-sdk': patch +--- + +Updated graphql types to reflect new createdAt, updatedAt, statusChangedAt filters diff --git a/src/graphql/types.ts b/src/graphql/types.ts index 8aaafc0..56b6670 100644 --- a/src/graphql/types.ts +++ b/src/graphql/types.ts @@ -1886,6 +1886,13 @@ export type DateTime = { unixTimestamp: Scalars['String']; }; +export type DatetimeFilter = { + /** Timestamps -greater or equal- than this value. ISO 8601 format (e.g. 2024-10-28T18:30:00Z). */ + after?: InputMaybe; + /** Timestamps -less- than this value. ISO 8601 format (e.g. 2024-10-28T18:30:00Z). */ + before?: InputMaybe; +}; + export type DeleteApiKeyInput = { apiKeyId: Scalars['ID']; }; @@ -5517,6 +5524,7 @@ export type ThreadStatusDetailLinearUpdated = { export type ThreadStatusDetailNewReply = { __typename?: 'ThreadStatusDetailNewReply'; + /** @deprecated newReplyAt is no longer supported, query Thread.lastInboundMessageInfo.timestamp instead. */ newReplyAt: Maybe; statusChangedAt: DateTime; }; @@ -5583,6 +5591,7 @@ export type ThreadStatusTransitionedEntry = { export type ThreadsFilter = { assignedToUser?: InputMaybe>; companyIdentifiers?: InputMaybe>; + createdAt?: InputMaybe; customerGroupIdentifiers?: InputMaybe>; customerIds?: InputMaybe>; isAssigned?: InputMaybe; @@ -5591,12 +5600,14 @@ export type ThreadsFilter = { messageSource?: InputMaybe>; priorities?: InputMaybe>; serviceLevelAgreements?: InputMaybe; + statusChangedAt?: InputMaybe; statuses?: InputMaybe>; supportEmailAddresses?: InputMaybe>; tenantIdentifiers?: InputMaybe>; threadFields?: InputMaybe>; threadIds?: InputMaybe>; tierIdentifiers?: InputMaybe>; + updatedAt?: InputMaybe; }; /**