@remit/api-http-client 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@tanstack/react-query.gen.ts +2 -0
- package/package.json +1 -1
- package/sdk.gen.ts +2 -0
|
@@ -823,6 +823,8 @@ export const threadDetailOperationsListThreadMessagesQueryKey = (options: Option
|
|
|
823
823
|
* Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
|
|
824
824
|
*
|
|
825
825
|
* One entry per piece of mail. A message synced from several folders is stored once, and where a second row exists for the same Message-ID — a copy taken with `copyMessages`, which gives its copy a fresh message id — the oldest is returned and the rest are dropped.
|
|
826
|
+
*
|
|
827
|
+
* Ordering: oldest first, by the date the message was sent, with `threadMessageId` breaking ties. A conversation is read in the order it happened, so a reply always follows the message it answers. Pass `order=desc` for the reverse.
|
|
826
828
|
*/
|
|
827
829
|
export const threadDetailOperationsListThreadMessagesOptions = (options: Options<ThreadDetailOperationsListThreadMessagesData>) => queryOptions<ThreadDetailOperationsListThreadMessagesResponse, DefaultError, ThreadDetailOperationsListThreadMessagesResponse, ReturnType<typeof threadDetailOperationsListThreadMessagesQueryKey>>({
|
|
828
830
|
queryFn: async ({ queryKey, signal }) => {
|
package/package.json
CHANGED
package/sdk.gen.ts
CHANGED
|
@@ -481,6 +481,8 @@ export const unifiedThreadOperationsListAllThreads = <ThrowOnError extends boole
|
|
|
481
481
|
* Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
|
|
482
482
|
*
|
|
483
483
|
* One entry per piece of mail. A message synced from several folders is stored once, and where a second row exists for the same Message-ID — a copy taken with `copyMessages`, which gives its copy a fresh message id — the oldest is returned and the rest are dropped.
|
|
484
|
+
*
|
|
485
|
+
* Ordering: oldest first, by the date the message was sent, with `threadMessageId` breaking ties. A conversation is read in the order it happened, so a reply always follows the message it answers. Pass `order=desc` for the reverse.
|
|
484
486
|
*/
|
|
485
487
|
export const threadDetailOperationsListThreadMessages = <ThrowOnError extends boolean = false>(options: Options<ThreadDetailOperationsListThreadMessagesData, ThrowOnError>) => (options.client ?? client).get<ThreadDetailOperationsListThreadMessagesResponses, unknown, ThrowOnError>({
|
|
486
488
|
security: [{ name: 'Authorization', type: 'apiKey' }],
|