@remit/api-http-client 0.0.4 → 0.0.6
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 +32 -2
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk.gen.ts +22 -1
- package/types.gen.ts +191 -0
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { type DefaultError, queryOptions, type UseMutationOptions } from '@tanstack/react-query';
|
|
4
4
|
|
|
5
5
|
import { client } from '../client.gen.js';
|
|
6
|
-
import { accountDetailOperationsDeleteAccount, accountDetailOperationsUpdateAccount, accountOperationsCreateAccount, accountOperationsTestConnection, addressDetailOperationsUpdateAddress, addressOperationsSearchAddresses, configOperationsGetConfig, filterDetailOperationsDeleteFilter, filterDetailOperationsGetFilter, filterDetailOperationsUpdateFilter, filterOperationsCreateFilter, filterOperationsListFilters, folderRoleOperationsAppointFolderRole, mailboxDetailOperationsDeleteMailbox, mailboxDetailOperationsGetMailbox, mailboxDetailOperationsRenameMailbox, mailboxOperationsCreateMailbox, mailboxOperationsListMailboxes, meOperationsCreateExport, meOperationsDeleteMe, meOperationsGetExport, meOperationsListVipSuggestions, messageBulkOperationsCopyMessages, messageBulkOperationsDeleteMessages, messageBulkOperationsMoveMessages, messageBulkOperationsUpdateFlags, messageOperationsDescribeMessage, messageOperationsGetRawMessage, messageOperationsUpdateMessageFlags, microsoftOAuthOperationsMicrosoftOAuthCallback, microsoftOAuthOperationsMicrosoftOAuthStart, type Options, organizeJobDetailOperationsGetOrganizeJob, organizeOperationsCreateOrganizeJob, organizeOperationsPreviewOrganize, outboxDetailOperationsDeleteOutboxMessage, outboxDetailOperationsGetOutboxMessage, outboxDetailOperationsSendOutboxMessage, outboxDetailOperationsUpdateOutboxMessage, outboxOperationsCreateOutboxMessage, outboxOperationsListOutboxMessages, semanticSearchOperationsSemanticSearch, syncOperationsGetSyncStatus, syncOperationsTriggerSync, threadDetailOperationsListThreadMessages, threadOperationsListThreads, threadOperationsSearchThreads, trashOperationsEmptyTrash, unifiedThreadOperationsListAllThreads } from '../sdk.gen.js';
|
|
7
|
-
import type { AccountDetailOperationsDeleteAccountData, AccountDetailOperationsDeleteAccountResponse, AccountDetailOperationsUpdateAccountData, AccountDetailOperationsUpdateAccountResponse, AccountOperationsCreateAccountData, AccountOperationsCreateAccountResponse, AccountOperationsTestConnectionData, AccountOperationsTestConnectionResponse, AddressDetailOperationsUpdateAddressData, AddressDetailOperationsUpdateAddressResponse, AddressOperationsSearchAddressesData, AddressOperationsSearchAddressesResponse, ConfigOperationsGetConfigData, ConfigOperationsGetConfigResponse, FilterDetailOperationsDeleteFilterData, FilterDetailOperationsDeleteFilterResponse, FilterDetailOperationsGetFilterData, FilterDetailOperationsGetFilterResponse, FilterDetailOperationsUpdateFilterData, FilterDetailOperationsUpdateFilterResponse, FilterOperationsCreateFilterData, FilterOperationsCreateFilterResponse, FilterOperationsListFiltersData, FilterOperationsListFiltersResponse, FolderRoleOperationsAppointFolderRoleData, FolderRoleOperationsAppointFolderRoleResponse, MailboxDetailOperationsDeleteMailboxData, MailboxDetailOperationsDeleteMailboxResponse, MailboxDetailOperationsGetMailboxData, MailboxDetailOperationsGetMailboxResponse, MailboxDetailOperationsRenameMailboxData, MailboxDetailOperationsRenameMailboxResponse, MailboxOperationsCreateMailboxData, MailboxOperationsCreateMailboxResponse, MailboxOperationsListMailboxesData, MailboxOperationsListMailboxesResponse, MeOperationsCreateExportData, MeOperationsCreateExportResponse, MeOperationsDeleteMeData, MeOperationsDeleteMeError, MeOperationsDeleteMeResponse, MeOperationsGetExportData, MeOperationsGetExportResponse, MeOperationsListVipSuggestionsData, MeOperationsListVipSuggestionsResponse, MessageBulkOperationsCopyMessagesData, MessageBulkOperationsCopyMessagesResponse, MessageBulkOperationsDeleteMessagesData, MessageBulkOperationsDeleteMessagesResponse, MessageBulkOperationsMoveMessagesData, MessageBulkOperationsMoveMessagesResponse, MessageBulkOperationsUpdateFlagsData, MessageBulkOperationsUpdateFlagsResponse, MessageOperationsDescribeMessageData, MessageOperationsDescribeMessageResponse, MessageOperationsGetRawMessageData, MessageOperationsGetRawMessageResponse, MessageOperationsUpdateMessageFlagsData, MessageOperationsUpdateMessageFlagsResponse, MicrosoftOAuthOperationsMicrosoftOAuthCallbackData, MicrosoftOAuthOperationsMicrosoftOAuthStartData, MicrosoftOAuthOperationsMicrosoftOAuthStartResponse, OrganizeJobDetailOperationsGetOrganizeJobData, OrganizeJobDetailOperationsGetOrganizeJobResponse, OrganizeOperationsCreateOrganizeJobData, OrganizeOperationsCreateOrganizeJobResponse, OrganizeOperationsPreviewOrganizeData, OrganizeOperationsPreviewOrganizeResponse, OutboxDetailOperationsDeleteOutboxMessageData, OutboxDetailOperationsDeleteOutboxMessageResponse, OutboxDetailOperationsGetOutboxMessageData, OutboxDetailOperationsGetOutboxMessageResponse, OutboxDetailOperationsSendOutboxMessageData, OutboxDetailOperationsSendOutboxMessageResponse, OutboxDetailOperationsUpdateOutboxMessageData, OutboxDetailOperationsUpdateOutboxMessageResponse, OutboxOperationsCreateOutboxMessageData, OutboxOperationsCreateOutboxMessageResponse, OutboxOperationsListOutboxMessagesData, OutboxOperationsListOutboxMessagesResponse, SemanticSearchOperationsSemanticSearchData, SemanticSearchOperationsSemanticSearchResponse, SyncOperationsGetSyncStatusData, SyncOperationsGetSyncStatusResponse, SyncOperationsTriggerSyncData, SyncOperationsTriggerSyncResponse, ThreadDetailOperationsListThreadMessagesData, ThreadDetailOperationsListThreadMessagesResponse, ThreadOperationsListThreadsData, ThreadOperationsListThreadsResponse, ThreadOperationsSearchThreadsData, ThreadOperationsSearchThreadsResponse, TrashOperationsEmptyTrashData, TrashOperationsEmptyTrashResponse, UnifiedThreadOperationsListAllThreadsData, UnifiedThreadOperationsListAllThreadsResponse } from '../types.gen.js';
|
|
6
|
+
import { accountDetailOperationsDeleteAccount, accountDetailOperationsUpdateAccount, accountOperationsCreateAccount, accountOperationsTestConnection, addressDetailOperationsUpdateAddress, addressOperationsSearchAddresses, configOperationsGetConfig, filterDetailOperationsDeleteFilter, filterDetailOperationsGetFilter, filterDetailOperationsUpdateFilter, filterOperationsCreateFilter, filterOperationsListFilters, folderRoleOperationsAppointFolderRole, mailboxDetailOperationsDeleteMailbox, mailboxDetailOperationsGetMailbox, mailboxDetailOperationsRenameMailbox, mailboxOperationsCreateMailbox, mailboxOperationsListMailboxes, meOperationsCreateExport, meOperationsDeleteMe, meOperationsGetExport, meOperationsListQuarantine, meOperationsListVipSuggestions, messageBulkOperationsCopyMessages, messageBulkOperationsDeleteMessages, messageBulkOperationsMoveMessages, messageBulkOperationsUpdateFlags, messageOperationsDescribeMessage, messageOperationsGetRawMessage, messageOperationsUpdateMessageFlags, microsoftOAuthOperationsMicrosoftOAuthCallback, microsoftOAuthOperationsMicrosoftOAuthStart, type Options, organizeJobDetailOperationsGetOrganizeJob, organizeOperationsCreateOrganizeJob, organizeOperationsPreviewOrganize, outboxDetailOperationsDeleteOutboxMessage, outboxDetailOperationsGetOutboxMessage, outboxDetailOperationsSendOutboxMessage, outboxDetailOperationsUpdateOutboxMessage, outboxOperationsCreateOutboxMessage, outboxOperationsListOutboxMessages, semanticSearchOperationsSemanticSearch, syncOperationsGetSyncStatus, syncOperationsTriggerSync, threadDetailOperationsListThreadMessages, threadOperationsListThreads, threadOperationsSearchThreads, trashOperationsEmptyTrash, unifiedThreadOperationsListAllThreads } from '../sdk.gen.js';
|
|
7
|
+
import type { AccountDetailOperationsDeleteAccountData, AccountDetailOperationsDeleteAccountResponse, AccountDetailOperationsUpdateAccountData, AccountDetailOperationsUpdateAccountResponse, AccountOperationsCreateAccountData, AccountOperationsCreateAccountResponse, AccountOperationsTestConnectionData, AccountOperationsTestConnectionResponse, AddressDetailOperationsUpdateAddressData, AddressDetailOperationsUpdateAddressResponse, AddressOperationsSearchAddressesData, AddressOperationsSearchAddressesResponse, ConfigOperationsGetConfigData, ConfigOperationsGetConfigResponse, FilterDetailOperationsDeleteFilterData, FilterDetailOperationsDeleteFilterResponse, FilterDetailOperationsGetFilterData, FilterDetailOperationsGetFilterResponse, FilterDetailOperationsUpdateFilterData, FilterDetailOperationsUpdateFilterResponse, FilterOperationsCreateFilterData, FilterOperationsCreateFilterResponse, FilterOperationsListFiltersData, FilterOperationsListFiltersResponse, FolderRoleOperationsAppointFolderRoleData, FolderRoleOperationsAppointFolderRoleResponse, MailboxDetailOperationsDeleteMailboxData, MailboxDetailOperationsDeleteMailboxResponse, MailboxDetailOperationsGetMailboxData, MailboxDetailOperationsGetMailboxResponse, MailboxDetailOperationsRenameMailboxData, MailboxDetailOperationsRenameMailboxResponse, MailboxOperationsCreateMailboxData, MailboxOperationsCreateMailboxResponse, MailboxOperationsListMailboxesData, MailboxOperationsListMailboxesResponse, MeOperationsCreateExportData, MeOperationsCreateExportResponse, MeOperationsDeleteMeData, MeOperationsDeleteMeError, MeOperationsDeleteMeResponse, MeOperationsGetExportData, MeOperationsGetExportResponse, MeOperationsListQuarantineData, MeOperationsListQuarantineResponse, MeOperationsListVipSuggestionsData, MeOperationsListVipSuggestionsResponse, MessageBulkOperationsCopyMessagesData, MessageBulkOperationsCopyMessagesResponse, MessageBulkOperationsDeleteMessagesData, MessageBulkOperationsDeleteMessagesResponse, MessageBulkOperationsMoveMessagesData, MessageBulkOperationsMoveMessagesResponse, MessageBulkOperationsUpdateFlagsData, MessageBulkOperationsUpdateFlagsResponse, MessageOperationsDescribeMessageData, MessageOperationsDescribeMessageResponse, MessageOperationsGetRawMessageData, MessageOperationsGetRawMessageResponse, MessageOperationsUpdateMessageFlagsData, MessageOperationsUpdateMessageFlagsResponse, MicrosoftOAuthOperationsMicrosoftOAuthCallbackData, MicrosoftOAuthOperationsMicrosoftOAuthStartData, MicrosoftOAuthOperationsMicrosoftOAuthStartResponse, OrganizeJobDetailOperationsGetOrganizeJobData, OrganizeJobDetailOperationsGetOrganizeJobResponse, OrganizeOperationsCreateOrganizeJobData, OrganizeOperationsCreateOrganizeJobResponse, OrganizeOperationsPreviewOrganizeData, OrganizeOperationsPreviewOrganizeResponse, OutboxDetailOperationsDeleteOutboxMessageData, OutboxDetailOperationsDeleteOutboxMessageResponse, OutboxDetailOperationsGetOutboxMessageData, OutboxDetailOperationsGetOutboxMessageResponse, OutboxDetailOperationsSendOutboxMessageData, OutboxDetailOperationsSendOutboxMessageResponse, OutboxDetailOperationsUpdateOutboxMessageData, OutboxDetailOperationsUpdateOutboxMessageResponse, OutboxOperationsCreateOutboxMessageData, OutboxOperationsCreateOutboxMessageResponse, OutboxOperationsListOutboxMessagesData, OutboxOperationsListOutboxMessagesResponse, SemanticSearchOperationsSemanticSearchData, SemanticSearchOperationsSemanticSearchResponse, SyncOperationsGetSyncStatusData, SyncOperationsGetSyncStatusResponse, SyncOperationsTriggerSyncData, SyncOperationsTriggerSyncResponse, ThreadDetailOperationsListThreadMessagesData, ThreadDetailOperationsListThreadMessagesResponse, ThreadOperationsListThreadsData, ThreadOperationsListThreadsResponse, ThreadOperationsSearchThreadsData, ThreadOperationsSearchThreadsResponse, TrashOperationsEmptyTrashData, TrashOperationsEmptyTrashResponse, UnifiedThreadOperationsListAllThreadsData, UnifiedThreadOperationsListAllThreadsResponse } from '../types.gen.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Create a new email account
|
|
@@ -539,6 +539,24 @@ export const meOperationsGetExportOptions = (options: Options<MeOperationsGetExp
|
|
|
539
539
|
queryKey: meOperationsGetExportQueryKey(options)
|
|
540
540
|
});
|
|
541
541
|
|
|
542
|
+
export const meOperationsListQuarantineQueryKey = (options?: Options<MeOperationsListQuarantineData>) => createQueryKey('meOperationsListQuarantine', options);
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* List every message the sync path could not read, for the current user across all of their mail accounts (issue #72). Backs the quarantine section in settings. Unpaginated: the list is small by design, and an entry is a defect waiting to be reported rather than a page of mail.
|
|
546
|
+
*/
|
|
547
|
+
export const meOperationsListQuarantineOptions = (options?: Options<MeOperationsListQuarantineData>) => queryOptions<MeOperationsListQuarantineResponse, DefaultError, MeOperationsListQuarantineResponse, ReturnType<typeof meOperationsListQuarantineQueryKey>>({
|
|
548
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
549
|
+
const { data } = await meOperationsListQuarantine({
|
|
550
|
+
...options,
|
|
551
|
+
...queryKey[0],
|
|
552
|
+
signal,
|
|
553
|
+
throwOnError: true
|
|
554
|
+
});
|
|
555
|
+
return data;
|
|
556
|
+
},
|
|
557
|
+
queryKey: meOperationsListQuarantineQueryKey(options)
|
|
558
|
+
});
|
|
559
|
+
|
|
542
560
|
export const meOperationsListVipSuggestionsQueryKey = (options?: Options<MeOperationsListVipSuggestionsData>) => createQueryKey('meOperationsListVipSuggestions', options);
|
|
543
561
|
|
|
544
562
|
/**
|
|
@@ -803,6 +821,18 @@ export const unifiedThreadOperationsListAllThreadsQueryKey = (options?: Options<
|
|
|
803
821
|
* Pagination: pass the returned `continuationToken` to fetch the next page; keep paging until it is absent. In the default (INBOX) mode the INBOX/deleted filter is applied after the index read with a bounded read window per request, so a page may return FEWER than `limit` rows while still carrying a `continuationToken` — treat the presence of the token (not a full page) as the "more results" signal. No rows are skipped or duplicated across pages.
|
|
804
822
|
*
|
|
805
823
|
* Starred mode (`starred=true`): served by the `byStarred` LSI4 instead. A star is a marker on the mail rather than on its placement, so the INBOX scope does not apply and a starred thread in Archive is still returned. Excluded are muted and soft-deleted rows as usual, plus the folders a star never surfaces from: Junk, Trash, and Gmail's All Mail (a second copy of everything, whose rows would otherwise double every starred message). All filtering happens in the query, so a page is short only when the results are exhausted. Rows are per mailbox: the same mail filed in two folders is two rows sharing a `threadId`, and a client rendering one row per conversation collapses by `threadId` across the pages it has accumulated.
|
|
824
|
+
*
|
|
825
|
+
* Search mode (`query=<text>`): the listing widens past the INBOX scope to every non-muted mailbox of every non-muted account, and returns only rows whose subject or From address matches the text. This is the unscoped search of the daily brief: one query reaching every folder of every account. Whitespace splits the text into terms and every term must match (AND), each against subject OR From. Matching is case-insensitive substring, not tokenized full-text, so it neither stems nor ranks.
|
|
826
|
+
*
|
|
827
|
+
* Search scope: every non-muted mailbox EXCEPT Trash. The scope is defined by what it excludes, so anything a server offers that is not on that list is searched — Spam, Drafts and Gmail's virtual folders (All Mail, Starred, Important) included. Spam is deliberately in scope: the point of an unscoped search is that it reaches the folders the user did not think to look in. Combining `query` with `starred=true` searches the starred scope instead.
|
|
828
|
+
*
|
|
829
|
+
* Duplicates: a virtual folder holds a second copy of mail that also lives in a real folder, so a backend keying a row by its mailbox returns the same message several times — a starred, Important Gmail inbox message four times. The extras are dropped from the response by message identity, keeping the copy in a real folder, so one message is one row. This is done after the read rather than by barring those folders from the scope, because a message whose only stored row sits in one of them would otherwise become unfindable. De-duplication is per page: a duplicate split across a page boundary survives, the same caveat that applies to collapsing by `threadId`. A page may therefore return fewer rows than `limit` while still carrying a `continuationToken`.
|
|
830
|
+
*
|
|
831
|
+
* Search mode and pagination: `limit` is a page size over MATCHES, capped server-side at 500. A page may be shorter than `limit` for two reasons — the matches ran out, or duplicates were dropped from it — so treat the presence of a `continuationToken` as the "more results" signal rather than a full page. There is no total match count; page until the token is absent.
|
|
832
|
+
*
|
|
833
|
+
* What a row is in search mode: one per message, not one per mailbox. This differs from the starred mode above, where the same mail filed in two folders is two rows sharing a `threadId`. Collapsing by `threadId` is still a client's job if it renders one row per CONVERSATION, since distinct messages in one thread remain distinct rows here.
|
|
834
|
+
*
|
|
835
|
+
* Callers that omit `query` are unaffected: the INBOX (and starred) listings behave exactly as before.
|
|
806
836
|
*/
|
|
807
837
|
export const unifiedThreadOperationsListAllThreadsOptions = (options?: Options<UnifiedThreadOperationsListAllThreadsData>) => queryOptions<UnifiedThreadOperationsListAllThreadsResponse, DefaultError, UnifiedThreadOperationsListAllThreadsResponse, ReturnType<typeof unifiedThreadOperationsListAllThreadsQueryKey>>({
|
|
808
838
|
queryFn: async ({ queryKey, signal }) => {
|
package/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
-
export { accountDetailOperationsDeleteAccount, accountDetailOperationsUpdateAccount, accountOperationsCreateAccount, accountOperationsTestConnection, addressDetailOperationsUpdateAddress, addressOperationsSearchAddresses, configOperationsGetConfig, filterDetailOperationsDeleteFilter, filterDetailOperationsGetFilter, filterDetailOperationsUpdateFilter, filterOperationsCreateFilter, filterOperationsListFilters, folderRoleOperationsAppointFolderRole, mailboxDetailOperationsDeleteMailbox, mailboxDetailOperationsGetMailbox, mailboxDetailOperationsRenameMailbox, mailboxOperationsCreateMailbox, mailboxOperationsListMailboxes, meOperationsCreateExport, meOperationsDeleteMe, meOperationsGetExport, meOperationsListVipSuggestions, messageBulkOperationsCopyMessages, messageBulkOperationsDeleteMessages, messageBulkOperationsMoveMessages, messageBulkOperationsUpdateFlags, messageOperationsDescribeMessage, messageOperationsGetRawMessage, messageOperationsUpdateMessageFlags, microsoftOAuthOperationsMicrosoftOAuthCallback, microsoftOAuthOperationsMicrosoftOAuthStart, type Options, organizeJobDetailOperationsGetOrganizeJob, organizeOperationsCreateOrganizeJob, organizeOperationsPreviewOrganize, outboxDetailOperationsDeleteOutboxMessage, outboxDetailOperationsGetOutboxMessage, outboxDetailOperationsSendOutboxMessage, outboxDetailOperationsUpdateOutboxMessage, outboxOperationsCreateOutboxMessage, outboxOperationsListOutboxMessages, semanticSearchOperationsSemanticSearch, syncOperationsGetSyncStatus, syncOperationsTriggerSync, threadDetailOperationsListThreadMessages, threadOperationsListThreads, threadOperationsSearchThreads, trashOperationsEmptyTrash, unifiedThreadOperationsListAllThreads } from './sdk.gen.js';
|
|
4
|
-
export type { AccountDetailOperationsDeleteAccountData, AccountDetailOperationsDeleteAccountResponse, AccountDetailOperationsDeleteAccountResponses, AccountDetailOperationsUpdateAccountData, AccountDetailOperationsUpdateAccountResponse, AccountDetailOperationsUpdateAccountResponses, AccountOperationsCreateAccountData, AccountOperationsCreateAccountResponse, AccountOperationsCreateAccountResponses, AccountOperationsTestConnectionData, AccountOperationsTestConnectionResponse, AccountOperationsTestConnectionResponses, AddressDetailOperationsUpdateAddressData, AddressDetailOperationsUpdateAddressResponse, AddressDetailOperationsUpdateAddressResponses, AddressOperationsSearchAddressesData, AddressOperationsSearchAddressesResponse, AddressOperationsSearchAddressesResponses, ApiError, ClientOptions, ConfigOperationsGetConfigData, ConfigOperationsGetConfigResponse, ConfigOperationsGetConfigResponses, FilterDetailOperationsDeleteFilterData, FilterDetailOperationsDeleteFilterResponse, FilterDetailOperationsDeleteFilterResponses, FilterDetailOperationsGetFilterData, FilterDetailOperationsGetFilterResponse, FilterDetailOperationsGetFilterResponses, FilterDetailOperationsUpdateFilterData, FilterDetailOperationsUpdateFilterResponse, FilterDetailOperationsUpdateFilterResponses, FilterOperationsCreateFilterData, FilterOperationsCreateFilterResponse, FilterOperationsCreateFilterResponses, FilterOperationsListFiltersData, FilterOperationsListFiltersResponse, FilterOperationsListFiltersResponses, FolderRoleOperationsAppointFolderRoleData, FolderRoleOperationsAppointFolderRoleResponse, FolderRoleOperationsAppointFolderRoleResponses, MailboxDetailOperationsDeleteMailboxData, MailboxDetailOperationsDeleteMailboxResponse, MailboxDetailOperationsDeleteMailboxResponses, MailboxDetailOperationsGetMailboxData, MailboxDetailOperationsGetMailboxResponse, MailboxDetailOperationsGetMailboxResponses, MailboxDetailOperationsRenameMailboxData, MailboxDetailOperationsRenameMailboxResponse, MailboxDetailOperationsRenameMailboxResponses, MailboxOperationsCreateMailboxData, MailboxOperationsCreateMailboxResponse, MailboxOperationsCreateMailboxResponses, MailboxOperationsListMailboxesData, MailboxOperationsListMailboxesResponse, MailboxOperationsListMailboxesResponses, MeOperationsCreateExportData, MeOperationsCreateExportResponse, MeOperationsCreateExportResponses, MeOperationsDeleteMeData, MeOperationsDeleteMeError, MeOperationsDeleteMeErrors, MeOperationsDeleteMeResponse, MeOperationsDeleteMeResponses, MeOperationsGetExportData, MeOperationsGetExportResponse, MeOperationsGetExportResponses, MeOperationsListVipSuggestionsData, MeOperationsListVipSuggestionsResponse, MeOperationsListVipSuggestionsResponses, MessageBulkOperationsCopyMessagesData, MessageBulkOperationsCopyMessagesResponse, MessageBulkOperationsCopyMessagesResponses, MessageBulkOperationsDeleteMessagesData, MessageBulkOperationsDeleteMessagesResponse, MessageBulkOperationsDeleteMessagesResponses, MessageBulkOperationsMoveMessagesData, MessageBulkOperationsMoveMessagesResponse, MessageBulkOperationsMoveMessagesResponses, MessageBulkOperationsUpdateFlagsData, MessageBulkOperationsUpdateFlagsResponse, MessageBulkOperationsUpdateFlagsResponses, MessageOperationsDescribeMessageData, MessageOperationsDescribeMessageResponse, MessageOperationsDescribeMessageResponses, MessageOperationsGetRawMessageData, MessageOperationsGetRawMessageResponse, MessageOperationsGetRawMessageResponses, MessageOperationsUpdateMessageFlagsData, MessageOperationsUpdateMessageFlagsResponse, MessageOperationsUpdateMessageFlagsResponses, MicrosoftOAuthOperationsMicrosoftOAuthCallbackData, MicrosoftOAuthOperationsMicrosoftOAuthStartData, MicrosoftOAuthOperationsMicrosoftOAuthStartResponse, MicrosoftOAuthOperationsMicrosoftOAuthStartResponses, MicrosoftOAuthStartRequest, MicrosoftOAuthStartResponse, OrganizeJobDetailOperationsGetOrganizeJobData, OrganizeJobDetailOperationsGetOrganizeJobResponse, OrganizeJobDetailOperationsGetOrganizeJobResponses, OrganizeOperationsCreateOrganizeJobData, OrganizeOperationsCreateOrganizeJobResponse, OrganizeOperationsCreateOrganizeJobResponses, OrganizeOperationsPreviewOrganizeData, OrganizeOperationsPreviewOrganizeResponse, OrganizeOperationsPreviewOrganizeResponses, OutboxDetailOperationsDeleteOutboxMessageData, OutboxDetailOperationsDeleteOutboxMessageResponse, OutboxDetailOperationsDeleteOutboxMessageResponses, OutboxDetailOperationsGetOutboxMessageData, OutboxDetailOperationsGetOutboxMessageResponse, OutboxDetailOperationsGetOutboxMessageResponses, OutboxDetailOperationsSendOutboxMessageData, OutboxDetailOperationsSendOutboxMessageResponse, OutboxDetailOperationsSendOutboxMessageResponses, OutboxDetailOperationsUpdateOutboxMessageData, OutboxDetailOperationsUpdateOutboxMessageResponse, OutboxDetailOperationsUpdateOutboxMessageResponses, OutboxOperationsCreateOutboxMessageData, OutboxOperationsCreateOutboxMessageResponse, OutboxOperationsCreateOutboxMessageResponses, OutboxOperationsListOutboxMessagesData, OutboxOperationsListOutboxMessagesResponse, OutboxOperationsListOutboxMessagesResponses, RemitImapAccountAuthType, RemitImapAccountConfigResponse, RemitImapAccountConfigState, RemitImapAccountExportRequestResponse, RemitImapAccountExportState, RemitImapAccountResponse, RemitImapAccountResponseWritable, RemitImapAccountSyncStatusResponse, RemitImapAddressFlagBase, RemitImapAddressFlagBaseUpdate, RemitImapAddressFlags, RemitImapAddressResponse, RemitImapAddressResponseWritable, RemitImapAddressRole, RemitImapAppointFolderRoleInput, RemitImapAutoArchiveFlag, RemitImapAutoArchiveFlagUpdate, RemitImapAutoMovedInfo, RemitImapBlockedFlag, RemitImapBlockedFlagUpdate, RemitImapBodyPartResponse, RemitImapBodyPartResponseWritable, RemitImapBulkUpdateFlagsInput, RemitImapCanonicalMailboxRole, RemitImapCategoryFlag, RemitImapCategoryFlagUpdate, RemitImapConfigDescriptionResponse, RemitImapConfigDescriptionResponseWritable, RemitImapConnectionState, RemitImapContentDisposition, RemitImapCopyMessagesInput, RemitImapCreateAccountInput, RemitImapCreateExportResponse, RemitImapCreateFilterInput, RemitImapCreateMailboxInput, RemitImapCreateOrganizeJobResponse, RemitImapCreateOutboxMessageInput, RemitImapDeleteAccountConfigResponse, RemitImapDeleteAccountResponse, RemitImapDeleteMeInput, RemitImapDeleteMessagesInput, RemitImapDescribeMessageResponse, RemitImapDescribeMessageResponseWritable, RemitImapEmptyTrashResponse, RemitImapEnvelopeAddressResponse, RemitImapEnvelopeResponse, RemitImapFilterClause, RemitImapFilterClauseField, RemitImapFilterMatchOperator, RemitImapFilterResponse, RemitImapFilterResponseWritable, RemitImapFilterScope, RemitImapFilterState, RemitImapFolderAppointment, RemitImapMailboxResponse, RemitImapMailboxResponseWritable, RemitImapMailboxSpecialUse, RemitImapMailboxSyncProgress, RemitImapMediaType, RemitImapMessageAuthenticity, RemitImapMessageBulkOperationResult, RemitImapMessageCategory, RemitImapMessageReferenceResponse, RemitImapMessageSummaryResponse, RemitImapMessageSummaryResponseWritable, RemitImapMoveMessagesInput, RemitImapMutedFlag, RemitImapMutedFlagUpdate, RemitImapNamespaceType, RemitImapOrganizeInput, RemitImapOrganizeJobResponse, RemitImapOrganizeJobResponseWritable, RemitImapOrganizeJobState, RemitImapOrganizePreviewResponse, RemitImapOutboxMessageResponse, RemitImapOutboxMessageStatus, RemitImapPlacementAction, RemitImapRawMessageResponse, RemitImapReferenceType, RemitImapRenameMailboxInput, RemitImapSemanticSearchChunkType, RemitImapSemanticSearchResult, RemitImapSenderTrust, RemitImapSortOrder, RemitImapStarColor, RemitImapSyncPhase, RemitImapSyncTriggerResponse, RemitImapTestConnectionInput, RemitImapTestConnectionResponse, RemitImapThreadMessageResponse, RemitImapThreadMessageResponseWritable, RemitImapThreadSearchResponse, RemitImapThreadSearchResponseWritable, RemitImapTrustedFlag, RemitImapTrustedFlagUpdate, RemitImapUnsubscribedFlag, RemitImapUnsubscribedFlagUpdate, RemitImapUpdateAccountInput, RemitImapUpdateAddressFlagsInput, RemitImapUpdateAddressInput, RemitImapUpdateFilterInput, RemitImapUpdateFlagsInput, RemitImapUpdateOutboxMessageInput, RemitImapVipFlag, RemitImapVipFlagUpdate, RemitImapVipSuggestionEntry, RemitImapVipSuggestionsResponse, RemitImapWellknownFlag, RemitImapWellknownFlagUpdate, SemanticSearchOperationsSemanticSearchData, SemanticSearchOperationsSemanticSearchResponse, SemanticSearchOperationsSemanticSearchResponses, String256, String512, String800, SyncOperationsGetSyncStatusData, SyncOperationsGetSyncStatusResponse, SyncOperationsGetSyncStatusResponses, SyncOperationsTriggerSyncData, SyncOperationsTriggerSyncResponse, SyncOperationsTriggerSyncResponses, ThreadDetailOperationsListThreadMessagesData, ThreadDetailOperationsListThreadMessagesResponse, ThreadDetailOperationsListThreadMessagesResponses, ThreadOperationsListThreadsData, ThreadOperationsListThreadsResponse, ThreadOperationsListThreadsResponses, ThreadOperationsSearchThreadsData, ThreadOperationsSearchThreadsResponse, ThreadOperationsSearchThreadsResponses, TrashOperationsEmptyTrashData, TrashOperationsEmptyTrashResponse, TrashOperationsEmptyTrashResponses, UnifiedThreadOperationsListAllThreadsData, UnifiedThreadOperationsListAllThreadsResponse, UnifiedThreadOperationsListAllThreadsResponses, Uuid } from './types.gen.js';
|
|
3
|
+
export { accountDetailOperationsDeleteAccount, accountDetailOperationsUpdateAccount, accountOperationsCreateAccount, accountOperationsTestConnection, addressDetailOperationsUpdateAddress, addressOperationsSearchAddresses, configOperationsGetConfig, filterDetailOperationsDeleteFilter, filterDetailOperationsGetFilter, filterDetailOperationsUpdateFilter, filterOperationsCreateFilter, filterOperationsListFilters, folderRoleOperationsAppointFolderRole, mailboxDetailOperationsDeleteMailbox, mailboxDetailOperationsGetMailbox, mailboxDetailOperationsRenameMailbox, mailboxOperationsCreateMailbox, mailboxOperationsListMailboxes, meOperationsCreateExport, meOperationsDeleteMe, meOperationsGetExport, meOperationsListQuarantine, meOperationsListVipSuggestions, messageBulkOperationsCopyMessages, messageBulkOperationsDeleteMessages, messageBulkOperationsMoveMessages, messageBulkOperationsUpdateFlags, messageOperationsDescribeMessage, messageOperationsGetRawMessage, messageOperationsUpdateMessageFlags, microsoftOAuthOperationsMicrosoftOAuthCallback, microsoftOAuthOperationsMicrosoftOAuthStart, type Options, organizeJobDetailOperationsGetOrganizeJob, organizeOperationsCreateOrganizeJob, organizeOperationsPreviewOrganize, outboxDetailOperationsDeleteOutboxMessage, outboxDetailOperationsGetOutboxMessage, outboxDetailOperationsSendOutboxMessage, outboxDetailOperationsUpdateOutboxMessage, outboxOperationsCreateOutboxMessage, outboxOperationsListOutboxMessages, semanticSearchOperationsSemanticSearch, syncOperationsGetSyncStatus, syncOperationsTriggerSync, threadDetailOperationsListThreadMessages, threadOperationsListThreads, threadOperationsSearchThreads, trashOperationsEmptyTrash, unifiedThreadOperationsListAllThreads } from './sdk.gen.js';
|
|
4
|
+
export type { AccountDetailOperationsDeleteAccountData, AccountDetailOperationsDeleteAccountResponse, AccountDetailOperationsDeleteAccountResponses, AccountDetailOperationsUpdateAccountData, AccountDetailOperationsUpdateAccountResponse, AccountDetailOperationsUpdateAccountResponses, AccountOperationsCreateAccountData, AccountOperationsCreateAccountResponse, AccountOperationsCreateAccountResponses, AccountOperationsTestConnectionData, AccountOperationsTestConnectionResponse, AccountOperationsTestConnectionResponses, AddressDetailOperationsUpdateAddressData, AddressDetailOperationsUpdateAddressResponse, AddressDetailOperationsUpdateAddressResponses, AddressOperationsSearchAddressesData, AddressOperationsSearchAddressesResponse, AddressOperationsSearchAddressesResponses, ApiError, ClientOptions, ConfigOperationsGetConfigData, ConfigOperationsGetConfigResponse, ConfigOperationsGetConfigResponses, FilterDetailOperationsDeleteFilterData, FilterDetailOperationsDeleteFilterResponse, FilterDetailOperationsDeleteFilterResponses, FilterDetailOperationsGetFilterData, FilterDetailOperationsGetFilterResponse, FilterDetailOperationsGetFilterResponses, FilterDetailOperationsUpdateFilterData, FilterDetailOperationsUpdateFilterResponse, FilterDetailOperationsUpdateFilterResponses, FilterOperationsCreateFilterData, FilterOperationsCreateFilterResponse, FilterOperationsCreateFilterResponses, FilterOperationsListFiltersData, FilterOperationsListFiltersResponse, FilterOperationsListFiltersResponses, FolderRoleOperationsAppointFolderRoleData, FolderRoleOperationsAppointFolderRoleResponse, FolderRoleOperationsAppointFolderRoleResponses, MailboxDetailOperationsDeleteMailboxData, MailboxDetailOperationsDeleteMailboxResponse, MailboxDetailOperationsDeleteMailboxResponses, MailboxDetailOperationsGetMailboxData, MailboxDetailOperationsGetMailboxResponse, MailboxDetailOperationsGetMailboxResponses, MailboxDetailOperationsRenameMailboxData, MailboxDetailOperationsRenameMailboxResponse, MailboxDetailOperationsRenameMailboxResponses, MailboxOperationsCreateMailboxData, MailboxOperationsCreateMailboxResponse, MailboxOperationsCreateMailboxResponses, MailboxOperationsListMailboxesData, MailboxOperationsListMailboxesResponse, MailboxOperationsListMailboxesResponses, MeOperationsCreateExportData, MeOperationsCreateExportResponse, MeOperationsCreateExportResponses, MeOperationsDeleteMeData, MeOperationsDeleteMeError, MeOperationsDeleteMeErrors, MeOperationsDeleteMeResponse, MeOperationsDeleteMeResponses, MeOperationsGetExportData, MeOperationsGetExportResponse, MeOperationsGetExportResponses, MeOperationsListQuarantineData, MeOperationsListQuarantineResponse, MeOperationsListQuarantineResponses, MeOperationsListVipSuggestionsData, MeOperationsListVipSuggestionsResponse, MeOperationsListVipSuggestionsResponses, MessageBulkOperationsCopyMessagesData, MessageBulkOperationsCopyMessagesResponse, MessageBulkOperationsCopyMessagesResponses, MessageBulkOperationsDeleteMessagesData, MessageBulkOperationsDeleteMessagesResponse, MessageBulkOperationsDeleteMessagesResponses, MessageBulkOperationsMoveMessagesData, MessageBulkOperationsMoveMessagesResponse, MessageBulkOperationsMoveMessagesResponses, MessageBulkOperationsUpdateFlagsData, MessageBulkOperationsUpdateFlagsResponse, MessageBulkOperationsUpdateFlagsResponses, MessageOperationsDescribeMessageData, MessageOperationsDescribeMessageResponse, MessageOperationsDescribeMessageResponses, MessageOperationsGetRawMessageData, MessageOperationsGetRawMessageResponse, MessageOperationsGetRawMessageResponses, MessageOperationsUpdateMessageFlagsData, MessageOperationsUpdateMessageFlagsResponse, MessageOperationsUpdateMessageFlagsResponses, MicrosoftOAuthOperationsMicrosoftOAuthCallbackData, MicrosoftOAuthOperationsMicrosoftOAuthStartData, MicrosoftOAuthOperationsMicrosoftOAuthStartResponse, MicrosoftOAuthOperationsMicrosoftOAuthStartResponses, MicrosoftOAuthStartRequest, MicrosoftOAuthStartResponse, OrganizeJobDetailOperationsGetOrganizeJobData, OrganizeJobDetailOperationsGetOrganizeJobResponse, OrganizeJobDetailOperationsGetOrganizeJobResponses, OrganizeOperationsCreateOrganizeJobData, OrganizeOperationsCreateOrganizeJobResponse, OrganizeOperationsCreateOrganizeJobResponses, OrganizeOperationsPreviewOrganizeData, OrganizeOperationsPreviewOrganizeResponse, OrganizeOperationsPreviewOrganizeResponses, OutboxDetailOperationsDeleteOutboxMessageData, OutboxDetailOperationsDeleteOutboxMessageResponse, OutboxDetailOperationsDeleteOutboxMessageResponses, OutboxDetailOperationsGetOutboxMessageData, OutboxDetailOperationsGetOutboxMessageResponse, OutboxDetailOperationsGetOutboxMessageResponses, OutboxDetailOperationsSendOutboxMessageData, OutboxDetailOperationsSendOutboxMessageResponse, OutboxDetailOperationsSendOutboxMessageResponses, OutboxDetailOperationsUpdateOutboxMessageData, OutboxDetailOperationsUpdateOutboxMessageResponse, OutboxDetailOperationsUpdateOutboxMessageResponses, OutboxOperationsCreateOutboxMessageData, OutboxOperationsCreateOutboxMessageResponse, OutboxOperationsCreateOutboxMessageResponses, OutboxOperationsListOutboxMessagesData, OutboxOperationsListOutboxMessagesResponse, OutboxOperationsListOutboxMessagesResponses, RemitImapAccountAuthType, RemitImapAccountConfigResponse, RemitImapAccountConfigState, RemitImapAccountExportRequestResponse, RemitImapAccountExportState, RemitImapAccountResponse, RemitImapAccountResponseWritable, RemitImapAccountSyncStatusResponse, RemitImapAddressFlagBase, RemitImapAddressFlagBaseUpdate, RemitImapAddressFlags, RemitImapAddressResponse, RemitImapAddressResponseWritable, RemitImapAddressRole, RemitImapAppointFolderRoleInput, RemitImapAutoArchiveFlag, RemitImapAutoArchiveFlagUpdate, RemitImapAutoMovedInfo, RemitImapBlockedFlag, RemitImapBlockedFlagUpdate, RemitImapBodyPartResponse, RemitImapBodyPartResponseWritable, RemitImapBulkUpdateFlagsInput, RemitImapCanonicalMailboxRole, RemitImapCategoryFlag, RemitImapCategoryFlagUpdate, RemitImapConfigDescriptionResponse, RemitImapConfigDescriptionResponseWritable, RemitImapConnectionState, RemitImapContentDisposition, RemitImapCopyMessagesInput, RemitImapCreateAccountInput, RemitImapCreateExportResponse, RemitImapCreateFilterInput, RemitImapCreateMailboxInput, RemitImapCreateOrganizeJobResponse, RemitImapCreateOutboxMessageInput, RemitImapDeleteAccountConfigResponse, RemitImapDeleteAccountResponse, RemitImapDeleteMeInput, RemitImapDeleteMessagesInput, RemitImapDescribeMessageResponse, RemitImapDescribeMessageResponseWritable, RemitImapEmptyTrashResponse, RemitImapEnvelopeAddressResponse, RemitImapEnvelopeResponse, RemitImapFilterClause, RemitImapFilterClauseField, RemitImapFilterMatchOperator, RemitImapFilterResponse, RemitImapFilterResponseWritable, RemitImapFilterScope, RemitImapFilterState, RemitImapFolderAppointment, RemitImapMailboxResponse, RemitImapMailboxResponseWritable, RemitImapMailboxSpecialUse, RemitImapMailboxSyncProgress, RemitImapMediaType, RemitImapMessageAuthenticity, RemitImapMessageBulkOperationResult, RemitImapMessageCategory, RemitImapMessageReferenceResponse, RemitImapMessageSummaryResponse, RemitImapMessageSummaryResponseWritable, RemitImapMoveMessagesInput, RemitImapMutedFlag, RemitImapMutedFlagUpdate, RemitImapNamespaceType, RemitImapOrganizeInput, RemitImapOrganizeJobResponse, RemitImapOrganizeJobResponseWritable, RemitImapOrganizeJobState, RemitImapOrganizePreviewResponse, RemitImapOutboxMessageResponse, RemitImapOutboxMessageStatus, RemitImapPlacementAction, RemitImapQuarantineFailureCode, RemitImapQuarantineFailureStage, RemitImapQuarantineListResponse, RemitImapQuarantineListResponseWritable, RemitImapQuarantineMimeNode, RemitImapQuarantineResponse, RemitImapQuarantineResponseWritable, RemitImapRawMessageResponse, RemitImapReferenceType, RemitImapRenameMailboxInput, RemitImapSemanticSearchChunkType, RemitImapSemanticSearchResult, RemitImapSenderTrust, RemitImapSortOrder, RemitImapStarColor, RemitImapSyncPhase, RemitImapSyncTriggerResponse, RemitImapTestConnectionInput, RemitImapTestConnectionResponse, RemitImapThreadMessageResponse, RemitImapThreadMessageResponseWritable, RemitImapThreadSearchResponse, RemitImapThreadSearchResponseWritable, RemitImapTrustedFlag, RemitImapTrustedFlagUpdate, RemitImapUnsubscribedFlag, RemitImapUnsubscribedFlagUpdate, RemitImapUpdateAccountInput, RemitImapUpdateAddressFlagsInput, RemitImapUpdateAddressInput, RemitImapUpdateFilterInput, RemitImapUpdateFlagsInput, RemitImapUpdateOutboxMessageInput, RemitImapVipFlag, RemitImapVipFlagUpdate, RemitImapVipSuggestionEntry, RemitImapVipSuggestionsResponse, RemitImapWellknownFlag, RemitImapWellknownFlagUpdate, SemanticSearchOperationsSemanticSearchData, SemanticSearchOperationsSemanticSearchResponse, SemanticSearchOperationsSemanticSearchResponses, String140, String256, String512, String64, String800, SyncOperationsGetSyncStatusData, SyncOperationsGetSyncStatusResponse, SyncOperationsGetSyncStatusResponses, SyncOperationsTriggerSyncData, SyncOperationsTriggerSyncResponse, SyncOperationsTriggerSyncResponses, ThreadDetailOperationsListThreadMessagesData, ThreadDetailOperationsListThreadMessagesResponse, ThreadDetailOperationsListThreadMessagesResponses, ThreadOperationsListThreadsData, ThreadOperationsListThreadsResponse, ThreadOperationsListThreadsResponses, ThreadOperationsSearchThreadsData, ThreadOperationsSearchThreadsResponse, ThreadOperationsSearchThreadsResponses, TrashOperationsEmptyTrashData, TrashOperationsEmptyTrashResponse, TrashOperationsEmptyTrashResponses, UnifiedThreadOperationsListAllThreadsData, UnifiedThreadOperationsListAllThreadsResponse, UnifiedThreadOperationsListAllThreadsResponses, Uuid } from './types.gen.js';
|
package/package.json
CHANGED
package/sdk.gen.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { client } from './client.gen.js';
|
|
4
4
|
import type { Client, Options as Options2, TDataShape } from './client/index.js';
|
|
5
|
-
import type { AccountDetailOperationsDeleteAccountData, AccountDetailOperationsDeleteAccountResponses, AccountDetailOperationsUpdateAccountData, AccountDetailOperationsUpdateAccountResponses, AccountOperationsCreateAccountData, AccountOperationsCreateAccountResponses, AccountOperationsTestConnectionData, AccountOperationsTestConnectionResponses, AddressDetailOperationsUpdateAddressData, AddressDetailOperationsUpdateAddressResponses, AddressOperationsSearchAddressesData, AddressOperationsSearchAddressesResponses, ConfigOperationsGetConfigData, ConfigOperationsGetConfigResponses, FilterDetailOperationsDeleteFilterData, FilterDetailOperationsDeleteFilterResponses, FilterDetailOperationsGetFilterData, FilterDetailOperationsGetFilterResponses, FilterDetailOperationsUpdateFilterData, FilterDetailOperationsUpdateFilterResponses, FilterOperationsCreateFilterData, FilterOperationsCreateFilterResponses, FilterOperationsListFiltersData, FilterOperationsListFiltersResponses, FolderRoleOperationsAppointFolderRoleData, FolderRoleOperationsAppointFolderRoleResponses, MailboxDetailOperationsDeleteMailboxData, MailboxDetailOperationsDeleteMailboxResponses, MailboxDetailOperationsGetMailboxData, MailboxDetailOperationsGetMailboxResponses, MailboxDetailOperationsRenameMailboxData, MailboxDetailOperationsRenameMailboxResponses, MailboxOperationsCreateMailboxData, MailboxOperationsCreateMailboxResponses, MailboxOperationsListMailboxesData, MailboxOperationsListMailboxesResponses, MeOperationsCreateExportData, MeOperationsCreateExportResponses, MeOperationsDeleteMeData, MeOperationsDeleteMeErrors, MeOperationsDeleteMeResponses, MeOperationsGetExportData, MeOperationsGetExportResponses, MeOperationsListVipSuggestionsData, MeOperationsListVipSuggestionsResponses, MessageBulkOperationsCopyMessagesData, MessageBulkOperationsCopyMessagesResponses, MessageBulkOperationsDeleteMessagesData, MessageBulkOperationsDeleteMessagesResponses, MessageBulkOperationsMoveMessagesData, MessageBulkOperationsMoveMessagesResponses, MessageBulkOperationsUpdateFlagsData, MessageBulkOperationsUpdateFlagsResponses, MessageOperationsDescribeMessageData, MessageOperationsDescribeMessageResponses, MessageOperationsGetRawMessageData, MessageOperationsGetRawMessageResponses, MessageOperationsUpdateMessageFlagsData, MessageOperationsUpdateMessageFlagsResponses, MicrosoftOAuthOperationsMicrosoftOAuthCallbackData, MicrosoftOAuthOperationsMicrosoftOAuthStartData, MicrosoftOAuthOperationsMicrosoftOAuthStartResponses, OrganizeJobDetailOperationsGetOrganizeJobData, OrganizeJobDetailOperationsGetOrganizeJobResponses, OrganizeOperationsCreateOrganizeJobData, OrganizeOperationsCreateOrganizeJobResponses, OrganizeOperationsPreviewOrganizeData, OrganizeOperationsPreviewOrganizeResponses, OutboxDetailOperationsDeleteOutboxMessageData, OutboxDetailOperationsDeleteOutboxMessageResponses, OutboxDetailOperationsGetOutboxMessageData, OutboxDetailOperationsGetOutboxMessageResponses, OutboxDetailOperationsSendOutboxMessageData, OutboxDetailOperationsSendOutboxMessageResponses, OutboxDetailOperationsUpdateOutboxMessageData, OutboxDetailOperationsUpdateOutboxMessageResponses, OutboxOperationsCreateOutboxMessageData, OutboxOperationsCreateOutboxMessageResponses, OutboxOperationsListOutboxMessagesData, OutboxOperationsListOutboxMessagesResponses, SemanticSearchOperationsSemanticSearchData, SemanticSearchOperationsSemanticSearchResponses, SyncOperationsGetSyncStatusData, SyncOperationsGetSyncStatusResponses, SyncOperationsTriggerSyncData, SyncOperationsTriggerSyncResponses, ThreadDetailOperationsListThreadMessagesData, ThreadDetailOperationsListThreadMessagesResponses, ThreadOperationsListThreadsData, ThreadOperationsListThreadsResponses, ThreadOperationsSearchThreadsData, ThreadOperationsSearchThreadsResponses, TrashOperationsEmptyTrashData, TrashOperationsEmptyTrashResponses, UnifiedThreadOperationsListAllThreadsData, UnifiedThreadOperationsListAllThreadsResponses } from './types.gen.js';
|
|
5
|
+
import type { AccountDetailOperationsDeleteAccountData, AccountDetailOperationsDeleteAccountResponses, AccountDetailOperationsUpdateAccountData, AccountDetailOperationsUpdateAccountResponses, AccountOperationsCreateAccountData, AccountOperationsCreateAccountResponses, AccountOperationsTestConnectionData, AccountOperationsTestConnectionResponses, AddressDetailOperationsUpdateAddressData, AddressDetailOperationsUpdateAddressResponses, AddressOperationsSearchAddressesData, AddressOperationsSearchAddressesResponses, ConfigOperationsGetConfigData, ConfigOperationsGetConfigResponses, FilterDetailOperationsDeleteFilterData, FilterDetailOperationsDeleteFilterResponses, FilterDetailOperationsGetFilterData, FilterDetailOperationsGetFilterResponses, FilterDetailOperationsUpdateFilterData, FilterDetailOperationsUpdateFilterResponses, FilterOperationsCreateFilterData, FilterOperationsCreateFilterResponses, FilterOperationsListFiltersData, FilterOperationsListFiltersResponses, FolderRoleOperationsAppointFolderRoleData, FolderRoleOperationsAppointFolderRoleResponses, MailboxDetailOperationsDeleteMailboxData, MailboxDetailOperationsDeleteMailboxResponses, MailboxDetailOperationsGetMailboxData, MailboxDetailOperationsGetMailboxResponses, MailboxDetailOperationsRenameMailboxData, MailboxDetailOperationsRenameMailboxResponses, MailboxOperationsCreateMailboxData, MailboxOperationsCreateMailboxResponses, MailboxOperationsListMailboxesData, MailboxOperationsListMailboxesResponses, MeOperationsCreateExportData, MeOperationsCreateExportResponses, MeOperationsDeleteMeData, MeOperationsDeleteMeErrors, MeOperationsDeleteMeResponses, MeOperationsGetExportData, MeOperationsGetExportResponses, MeOperationsListQuarantineData, MeOperationsListQuarantineResponses, MeOperationsListVipSuggestionsData, MeOperationsListVipSuggestionsResponses, MessageBulkOperationsCopyMessagesData, MessageBulkOperationsCopyMessagesResponses, MessageBulkOperationsDeleteMessagesData, MessageBulkOperationsDeleteMessagesResponses, MessageBulkOperationsMoveMessagesData, MessageBulkOperationsMoveMessagesResponses, MessageBulkOperationsUpdateFlagsData, MessageBulkOperationsUpdateFlagsResponses, MessageOperationsDescribeMessageData, MessageOperationsDescribeMessageResponses, MessageOperationsGetRawMessageData, MessageOperationsGetRawMessageResponses, MessageOperationsUpdateMessageFlagsData, MessageOperationsUpdateMessageFlagsResponses, MicrosoftOAuthOperationsMicrosoftOAuthCallbackData, MicrosoftOAuthOperationsMicrosoftOAuthStartData, MicrosoftOAuthOperationsMicrosoftOAuthStartResponses, OrganizeJobDetailOperationsGetOrganizeJobData, OrganizeJobDetailOperationsGetOrganizeJobResponses, OrganizeOperationsCreateOrganizeJobData, OrganizeOperationsCreateOrganizeJobResponses, OrganizeOperationsPreviewOrganizeData, OrganizeOperationsPreviewOrganizeResponses, OutboxDetailOperationsDeleteOutboxMessageData, OutboxDetailOperationsDeleteOutboxMessageResponses, OutboxDetailOperationsGetOutboxMessageData, OutboxDetailOperationsGetOutboxMessageResponses, OutboxDetailOperationsSendOutboxMessageData, OutboxDetailOperationsSendOutboxMessageResponses, OutboxDetailOperationsUpdateOutboxMessageData, OutboxDetailOperationsUpdateOutboxMessageResponses, OutboxOperationsCreateOutboxMessageData, OutboxOperationsCreateOutboxMessageResponses, OutboxOperationsListOutboxMessagesData, OutboxOperationsListOutboxMessagesResponses, SemanticSearchOperationsSemanticSearchData, SemanticSearchOperationsSemanticSearchResponses, SyncOperationsGetSyncStatusData, SyncOperationsGetSyncStatusResponses, SyncOperationsTriggerSyncData, SyncOperationsTriggerSyncResponses, ThreadDetailOperationsListThreadMessagesData, ThreadDetailOperationsListThreadMessagesResponses, ThreadOperationsListThreadsData, ThreadOperationsListThreadsResponses, ThreadOperationsSearchThreadsData, ThreadOperationsSearchThreadsResponses, TrashOperationsEmptyTrashData, TrashOperationsEmptyTrashResponses, UnifiedThreadOperationsListAllThreadsData, UnifiedThreadOperationsListAllThreadsResponses } from './types.gen.js';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
8
8
|
/**
|
|
@@ -306,6 +306,15 @@ export const meOperationsGetExport = <ThrowOnError extends boolean = false>(opti
|
|
|
306
306
|
...options
|
|
307
307
|
});
|
|
308
308
|
|
|
309
|
+
/**
|
|
310
|
+
* List every message the sync path could not read, for the current user across all of their mail accounts (issue #72). Backs the quarantine section in settings. Unpaginated: the list is small by design, and an entry is a defect waiting to be reported rather than a page of mail.
|
|
311
|
+
*/
|
|
312
|
+
export const meOperationsListQuarantine = <ThrowOnError extends boolean = false>(options?: Options<MeOperationsListQuarantineData, ThrowOnError>) => (options?.client ?? client).get<MeOperationsListQuarantineResponses, unknown, ThrowOnError>({
|
|
313
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
314
|
+
url: '/me/quarantine',
|
|
315
|
+
...options
|
|
316
|
+
});
|
|
317
|
+
|
|
309
318
|
/**
|
|
310
319
|
* List wellknown senders the user has not yet promoted to VIP. Ranked by `replyCount + inboundCount` desc with `lastInboundAt` desc as the tie-breaker. Capped at 10.
|
|
311
320
|
*/
|
|
@@ -470,6 +479,18 @@ export const semanticSearchOperationsSemanticSearch = <ThrowOnError extends bool
|
|
|
470
479
|
* Pagination: pass the returned `continuationToken` to fetch the next page; keep paging until it is absent. In the default (INBOX) mode the INBOX/deleted filter is applied after the index read with a bounded read window per request, so a page may return FEWER than `limit` rows while still carrying a `continuationToken` — treat the presence of the token (not a full page) as the "more results" signal. No rows are skipped or duplicated across pages.
|
|
471
480
|
*
|
|
472
481
|
* Starred mode (`starred=true`): served by the `byStarred` LSI4 instead. A star is a marker on the mail rather than on its placement, so the INBOX scope does not apply and a starred thread in Archive is still returned. Excluded are muted and soft-deleted rows as usual, plus the folders a star never surfaces from: Junk, Trash, and Gmail's All Mail (a second copy of everything, whose rows would otherwise double every starred message). All filtering happens in the query, so a page is short only when the results are exhausted. Rows are per mailbox: the same mail filed in two folders is two rows sharing a `threadId`, and a client rendering one row per conversation collapses by `threadId` across the pages it has accumulated.
|
|
482
|
+
*
|
|
483
|
+
* Search mode (`query=<text>`): the listing widens past the INBOX scope to every non-muted mailbox of every non-muted account, and returns only rows whose subject or From address matches the text. This is the unscoped search of the daily brief: one query reaching every folder of every account. Whitespace splits the text into terms and every term must match (AND), each against subject OR From. Matching is case-insensitive substring, not tokenized full-text, so it neither stems nor ranks.
|
|
484
|
+
*
|
|
485
|
+
* Search scope: every non-muted mailbox EXCEPT Trash. The scope is defined by what it excludes, so anything a server offers that is not on that list is searched — Spam, Drafts and Gmail's virtual folders (All Mail, Starred, Important) included. Spam is deliberately in scope: the point of an unscoped search is that it reaches the folders the user did not think to look in. Combining `query` with `starred=true` searches the starred scope instead.
|
|
486
|
+
*
|
|
487
|
+
* Duplicates: a virtual folder holds a second copy of mail that also lives in a real folder, so a backend keying a row by its mailbox returns the same message several times — a starred, Important Gmail inbox message four times. The extras are dropped from the response by message identity, keeping the copy in a real folder, so one message is one row. This is done after the read rather than by barring those folders from the scope, because a message whose only stored row sits in one of them would otherwise become unfindable. De-duplication is per page: a duplicate split across a page boundary survives, the same caveat that applies to collapsing by `threadId`. A page may therefore return fewer rows than `limit` while still carrying a `continuationToken`.
|
|
488
|
+
*
|
|
489
|
+
* Search mode and pagination: `limit` is a page size over MATCHES, capped server-side at 500. A page may be shorter than `limit` for two reasons — the matches ran out, or duplicates were dropped from it — so treat the presence of a `continuationToken` as the "more results" signal rather than a full page. There is no total match count; page until the token is absent.
|
|
490
|
+
*
|
|
491
|
+
* What a row is in search mode: one per message, not one per mailbox. This differs from the starred mode above, where the same mail filed in two folders is two rows sharing a `threadId`. Collapsing by `threadId` is still a client's job if it renders one row per CONVERSATION, since distinct messages in one thread remain distinct rows here.
|
|
492
|
+
*
|
|
493
|
+
* Callers that omit `query` are unaffected: the INBOX (and starred) listings behave exactly as before.
|
|
473
494
|
*/
|
|
474
495
|
export const unifiedThreadOperationsListAllThreads = <ThrowOnError extends boolean = false>(options?: Options<UnifiedThreadOperationsListAllThreadsData, ThrowOnError>) => (options?.client ?? client).get<UnifiedThreadOperationsListAllThreadsResponses, unknown, ThrowOnError>({
|
|
475
496
|
security: [{ name: 'Authorization', type: 'apiKey' }],
|
package/types.gen.ts
CHANGED
|
@@ -1483,6 +1483,156 @@ export type RemitImapOutboxMessageStatus = 'draft' | 'queued' | 'sending' | 'sen
|
|
|
1483
1483
|
*/
|
|
1484
1484
|
export type RemitImapPlacementAction = 'MoveToInbox' | 'MoveToJunk';
|
|
1485
1485
|
|
|
1486
|
+
/**
|
|
1487
|
+
* The specific defect within a stage.
|
|
1488
|
+
*
|
|
1489
|
+
* Closed rather than free text: this is the one diagnostic that is interpolated
|
|
1490
|
+
* into the title of an issue filed under the user's own GitHub account, so its
|
|
1491
|
+
* publishability has to be a property of the type instead of a claim about the
|
|
1492
|
+
* writer. Grows with the same narrowing that grows QuarantineFailureStage.
|
|
1493
|
+
*/
|
|
1494
|
+
export type RemitImapQuarantineFailureCode = 'UnterminatedMultipartBoundary' | 'UnknownCharset' | 'TruncatedBody';
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* The pipeline step that refused a quarantined message.
|
|
1498
|
+
*
|
|
1499
|
+
* One member. No catch site on the sync path can currently tell a parse failure
|
|
1500
|
+
* from an infrastructure failure: the per-message frame in `body-sync.ts` wraps
|
|
1501
|
+
* the S3 body write, the parsed-body cache write, the body-part upserts, the
|
|
1502
|
+
* placement move and the label and counter writes alongside the `simpleParser`
|
|
1503
|
+
* call, and filters only connection drops out of it. A stage is added when a
|
|
1504
|
+
* try block is narrowed far enough to attribute it, never ahead of that — an
|
|
1505
|
+
* enum member that reached stored rows cannot be walked back.
|
|
1506
|
+
*/
|
|
1507
|
+
export type RemitImapQuarantineFailureStage = 'BodyParse';
|
|
1508
|
+
|
|
1509
|
+
/**
|
|
1510
|
+
* Everything quarantined for the current user, newest first. The list is small by design — a mailbox with a growing quarantine list is a bug being reported, not a page to paginate.
|
|
1511
|
+
*/
|
|
1512
|
+
export type RemitImapQuarantineListResponse = {
|
|
1513
|
+
/**
|
|
1514
|
+
* Quarantined messages, newest first.
|
|
1515
|
+
*/
|
|
1516
|
+
entries: Array<RemitImapQuarantineResponse>;
|
|
1517
|
+
};
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* One node of a quarantined message's MIME tree, in a pre-order walk.
|
|
1521
|
+
*
|
|
1522
|
+
* The tree is carried flat with an explicit `depth` rather than as nested
|
|
1523
|
+
* children: a self-referential model is not expressible here (the entity
|
|
1524
|
+
* emitter recurses forever on one), and the tree is only ever rendered as an
|
|
1525
|
+
* indented list, which a pre-order walk reproduces exactly. Nothing caps the
|
|
1526
|
+
* walk — it is as long as the message has parts.
|
|
1527
|
+
*
|
|
1528
|
+
* `contentType` is `type/subtype` only. BODYSTRUCTURE hands the type and its
|
|
1529
|
+
* parameters over separately, so a node is built from `type`/`subtype` and
|
|
1530
|
+
* never from a raw content-type line — parameters carry `name=` and
|
|
1531
|
+
* `filename=`, which name the user's attachments.
|
|
1532
|
+
*/
|
|
1533
|
+
export type RemitImapQuarantineMimeNode = {
|
|
1534
|
+
/**
|
|
1535
|
+
* Nesting level, 0 for the root part.
|
|
1536
|
+
*/
|
|
1537
|
+
depth: number;
|
|
1538
|
+
/**
|
|
1539
|
+
* Media type of this node, `type/subtype`, parameters stripped.
|
|
1540
|
+
*/
|
|
1541
|
+
contentType: String140;
|
|
1542
|
+
};
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* One quarantined message as the settings surface sees it.
|
|
1546
|
+
*/
|
|
1547
|
+
export type RemitImapQuarantineResponse = {
|
|
1548
|
+
/**
|
|
1549
|
+
* Deterministic v5 identity derived from accountId, mailboxId, uidValidity and uid. Idempotent by construction: the same failing message keys the same row on every retry, so nothing has to check for an existing entry before writing one.
|
|
1550
|
+
*/
|
|
1551
|
+
quarantineId: Uuid;
|
|
1552
|
+
/**
|
|
1553
|
+
* Owning account configuration — the user. Scopes the settings list and the read endpoint.
|
|
1554
|
+
*/
|
|
1555
|
+
accountConfigId: Uuid;
|
|
1556
|
+
/**
|
|
1557
|
+
* Mail account the message arrived on. Part of the quarantineId derivation.
|
|
1558
|
+
*/
|
|
1559
|
+
accountId: Uuid;
|
|
1560
|
+
/**
|
|
1561
|
+
* Mailbox the message arrived in. Part of the quarantineId derivation.
|
|
1562
|
+
*/
|
|
1563
|
+
mailboxId: Uuid;
|
|
1564
|
+
/**
|
|
1565
|
+
* UIDVALIDITY of the mailbox when the message was set aside. A uid means nothing without it — only uidValidity + uid names a message forever (RFC 9051 2.3.1.1), and a mailbox keeps its mailboxId across a bump, so leaving this out would let a stale entry claim the identity of a later, unrelated message and suppress it from a sync round.
|
|
1566
|
+
*/
|
|
1567
|
+
readonly uidValidity: number;
|
|
1568
|
+
/**
|
|
1569
|
+
* The IMAP uid that was never written. Part of the quarantineId derivation.
|
|
1570
|
+
*/
|
|
1571
|
+
readonly uid: number;
|
|
1572
|
+
/**
|
|
1573
|
+
* Canonical role of the folder the message arrived in — travels in the report. Absent when the user has appointed no role to that folder, which is the normal state for a plain folder. A sentinel would mean a new member on the shared canonical-role enum, which FolderAppointment would then have to mean something by.
|
|
1574
|
+
*/
|
|
1575
|
+
mailboxRole?: RemitImapCanonicalMailboxRole;
|
|
1576
|
+
/**
|
|
1577
|
+
* The user's own folder name. Shown on screen, withheld from the report.
|
|
1578
|
+
*/
|
|
1579
|
+
mailboxPath: String512;
|
|
1580
|
+
/**
|
|
1581
|
+
* Epoch millis the message was set aside.
|
|
1582
|
+
*/
|
|
1583
|
+
readonly quarantinedAt: number;
|
|
1584
|
+
/**
|
|
1585
|
+
* Rounds tried before the message was set aside.
|
|
1586
|
+
*/
|
|
1587
|
+
readonly attempts: number;
|
|
1588
|
+
/**
|
|
1589
|
+
* Pipeline step that refused the message.
|
|
1590
|
+
*/
|
|
1591
|
+
failureStage: RemitImapQuarantineFailureStage;
|
|
1592
|
+
/**
|
|
1593
|
+
* The specific defect. Closed vocabulary, because this is what a filed issue quotes.
|
|
1594
|
+
*/
|
|
1595
|
+
failureCode: RemitImapQuarantineFailureCode;
|
|
1596
|
+
/**
|
|
1597
|
+
* Parser error text. Shown on screen, never in the report.
|
|
1598
|
+
*/
|
|
1599
|
+
failureMessage: String512;
|
|
1600
|
+
/**
|
|
1601
|
+
* Dot-numbered part path the failure is attributable to, off ROOT_PART_PATH. Absent when the failure belongs to no single node — every whole-body parse failure today.
|
|
1602
|
+
*/
|
|
1603
|
+
failurePartPath?: String140;
|
|
1604
|
+
/**
|
|
1605
|
+
* Build of the imap-worker that failed to read the message. Named for the worker, not the app: the record is written by the sync worker, and stamping the client build on a backend parse failure points a maintainer at the wrong commit.
|
|
1606
|
+
*/
|
|
1607
|
+
workerVersion: String64;
|
|
1608
|
+
/**
|
|
1609
|
+
* Top-level Content-Type, `type/subtype` only. Sender-controlled text — escape it wherever it is rendered. Absent together with the other BODYSTRUCTURE-derived fields when the message failed before its structure was read.
|
|
1610
|
+
*/
|
|
1611
|
+
contentType?: String140;
|
|
1612
|
+
/**
|
|
1613
|
+
* Content-Transfer-Encoding as declared. Sender-controlled text. Absent when there was no BODYSTRUCTURE to read it from.
|
|
1614
|
+
*/
|
|
1615
|
+
transferEncoding?: String64;
|
|
1616
|
+
/**
|
|
1617
|
+
* Declared charset. Sender-controlled text. Absent is meaningful: an undeclared charset is a cause in its own right, distinct from a charset nobody recognises.
|
|
1618
|
+
*/
|
|
1619
|
+
charset?: String64;
|
|
1620
|
+
/**
|
|
1621
|
+
* RFC822.SIZE. Separates "too large" from "malformed". Absent when the FETCH that failed carried no size.
|
|
1622
|
+
*/
|
|
1623
|
+
readonly sizeBytes?: number;
|
|
1624
|
+
/**
|
|
1625
|
+
* The MIME tree, structure only, as a pre-order walk. The one field here that cannot be a column, because it is a tree; every other message-shape field is flat and stays typed. Empty when the message failed before its BODYSTRUCTURE was read.
|
|
1626
|
+
*/
|
|
1627
|
+
readonly structure: Array<RemitImapQuarantineMimeNode>;
|
|
1628
|
+
/**
|
|
1629
|
+
* SHA-256 of the Message-ID, `sha256:` prefixed. Pinned to one algorithm: correlating two reports of the same message is the whole point of the field, and two builds hashing differently make it useless. Absent when the message declared no Message-ID — a hash of the empty string would make every such message correlate with every other, which is worse than no value at all.
|
|
1630
|
+
*/
|
|
1631
|
+
messageIdHash?: String140;
|
|
1632
|
+
readonly createdAt: number;
|
|
1633
|
+
readonly updatedAt: number;
|
|
1634
|
+
};
|
|
1635
|
+
|
|
1486
1636
|
/**
|
|
1487
1637
|
* Raw RFC822/MIME source of a message (headers and body), decoded as a string for inspection.
|
|
1488
1638
|
*/
|
|
@@ -2071,10 +2221,14 @@ export type RemitImapWellknownFlagUpdate = RemitImapAddressFlagBaseUpdate & {
|
|
|
2071
2221
|
value?: boolean;
|
|
2072
2222
|
};
|
|
2073
2223
|
|
|
2224
|
+
export type String140 = string;
|
|
2225
|
+
|
|
2074
2226
|
export type String256 = string;
|
|
2075
2227
|
|
|
2076
2228
|
export type String512 = string;
|
|
2077
2229
|
|
|
2230
|
+
export type String64 = string;
|
|
2231
|
+
|
|
2078
2232
|
export type String800 = string;
|
|
2079
2233
|
|
|
2080
2234
|
export type Uuid = string;
|
|
@@ -2235,6 +2389,23 @@ export type RemitImapOrganizeJobResponseWritable = {
|
|
|
2235
2389
|
[key: string]: unknown;
|
|
2236
2390
|
};
|
|
2237
2391
|
|
|
2392
|
+
/**
|
|
2393
|
+
* Everything quarantined for the current user, newest first. The list is small by design — a mailbox with a growing quarantine list is a bug being reported, not a page to paginate.
|
|
2394
|
+
*/
|
|
2395
|
+
export type RemitImapQuarantineListResponseWritable = {
|
|
2396
|
+
/**
|
|
2397
|
+
* Quarantined messages, newest first.
|
|
2398
|
+
*/
|
|
2399
|
+
entries: Array<RemitImapQuarantineResponseWritable>;
|
|
2400
|
+
};
|
|
2401
|
+
|
|
2402
|
+
/**
|
|
2403
|
+
* One quarantined message as the settings surface sees it.
|
|
2404
|
+
*/
|
|
2405
|
+
export type RemitImapQuarantineResponseWritable = {
|
|
2406
|
+
[key: string]: unknown;
|
|
2407
|
+
};
|
|
2408
|
+
|
|
2238
2409
|
/**
|
|
2239
2410
|
* Thread message item returned by list/search operations. `category` and `senderTrust` are attached at read time via batch-fetch so the inbox row can render badges without a per-row round trip.
|
|
2240
2411
|
*/
|
|
@@ -2892,6 +3063,22 @@ export type MeOperationsGetExportResponses = {
|
|
|
2892
3063
|
|
|
2893
3064
|
export type MeOperationsGetExportResponse = MeOperationsGetExportResponses[keyof MeOperationsGetExportResponses];
|
|
2894
3065
|
|
|
3066
|
+
export type MeOperationsListQuarantineData = {
|
|
3067
|
+
body?: never;
|
|
3068
|
+
path?: never;
|
|
3069
|
+
query?: never;
|
|
3070
|
+
url: '/me/quarantine';
|
|
3071
|
+
};
|
|
3072
|
+
|
|
3073
|
+
export type MeOperationsListQuarantineResponses = {
|
|
3074
|
+
/**
|
|
3075
|
+
* The request has succeeded.
|
|
3076
|
+
*/
|
|
3077
|
+
200: RemitImapQuarantineListResponse;
|
|
3078
|
+
};
|
|
3079
|
+
|
|
3080
|
+
export type MeOperationsListQuarantineResponse = MeOperationsListQuarantineResponses[keyof MeOperationsListQuarantineResponses];
|
|
3081
|
+
|
|
2895
3082
|
export type MeOperationsListVipSuggestionsData = {
|
|
2896
3083
|
body?: never;
|
|
2897
3084
|
path?: never;
|
|
@@ -3205,6 +3392,10 @@ export type UnifiedThreadOperationsListAllThreadsData = {
|
|
|
3205
3392
|
* When true, return only starred threads — every starred thread in the config, across all non-muted mailboxes, not just the INBOX scope. Starredness is read from `hasStars`, the boolean of record.
|
|
3206
3393
|
*/
|
|
3207
3394
|
starred?: boolean;
|
|
3395
|
+
/**
|
|
3396
|
+
* Free text to match against subject and From address. Supplying it switches the listing into search mode, which widens the scope past INBOX to every non-muted mailbox — see the operation description. Omitting it leaves the listing unchanged.
|
|
3397
|
+
*/
|
|
3398
|
+
query?: string;
|
|
3208
3399
|
};
|
|
3209
3400
|
url: '/threads';
|
|
3210
3401
|
};
|