@remit/api-http-client 0.0.2 → 0.0.3
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 +3 -1
- package/package.json +1 -1
- package/sdk.gen.ts +3 -1
- package/types.gen.ts +0 -4
|
@@ -820,7 +820,9 @@ export const unifiedThreadOperationsListAllThreadsOptions = (options?: Options<U
|
|
|
820
820
|
export const threadDetailOperationsListThreadMessagesQueryKey = (options: Options<ThreadDetailOperationsListThreadMessagesData>) => createQueryKey('threadDetailOperationsListThreadMessages', options);
|
|
821
821
|
|
|
822
822
|
/**
|
|
823
|
-
* Get all messages in a thread
|
|
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
|
+
*
|
|
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.
|
|
824
826
|
*/
|
|
825
827
|
export const threadDetailOperationsListThreadMessagesOptions = (options: Options<ThreadDetailOperationsListThreadMessagesData>) => queryOptions<ThreadDetailOperationsListThreadMessagesResponse, DefaultError, ThreadDetailOperationsListThreadMessagesResponse, ReturnType<typeof threadDetailOperationsListThreadMessagesQueryKey>>({
|
|
826
828
|
queryFn: async ({ queryKey, signal }) => {
|
package/package.json
CHANGED
package/sdk.gen.ts
CHANGED
|
@@ -478,7 +478,9 @@ export const unifiedThreadOperationsListAllThreads = <ThrowOnError extends boole
|
|
|
478
478
|
});
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
|
-
* Get all messages in a thread
|
|
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
|
+
*
|
|
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.
|
|
482
484
|
*/
|
|
483
485
|
export const threadDetailOperationsListThreadMessages = <ThrowOnError extends boolean = false>(options: Options<ThreadDetailOperationsListThreadMessagesData, ThrowOnError>) => (options.client ?? client).get<ThreadDetailOperationsListThreadMessagesResponses, unknown, ThrowOnError>({
|
|
484
486
|
security: [{ name: 'Authorization', type: 'apiKey' }],
|
package/types.gen.ts
CHANGED
|
@@ -3228,10 +3228,6 @@ export type ThreadDetailOperationsListThreadMessagesData = {
|
|
|
3228
3228
|
};
|
|
3229
3229
|
query?: {
|
|
3230
3230
|
order?: RemitImapSortOrder;
|
|
3231
|
-
/**
|
|
3232
|
-
* Filter messages to only those in this mailbox (useful for deduplication)
|
|
3233
|
-
*/
|
|
3234
|
-
mailboxId?: Uuid;
|
|
3235
3231
|
};
|
|
3236
3232
|
url: '/threads/{threadId}/messages';
|
|
3237
3233
|
};
|