@remit/api-http-client 0.0.49 → 0.0.51

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.
@@ -498,7 +498,7 @@ export const addressOperationsSearchAddressesOptions = (options: Options<Address
498
498
  });
499
499
 
500
500
  /**
501
- * Update an address (currently: per-sender flags). Pass `flags: { <name>: null }` to remove a flag. Other flags are untouched.
501
+ * Update an address (currently: per-sender flags). Pass `flags` to set flags and `clearFlags: ["<name>"]` to remove them. Other flags are untouched.
502
502
  */
503
503
  export const addressDetailOperationsUpdateAddressMutation = (options?: Partial<Options<AddressDetailOperationsUpdateAddressData>>): UseMutationOptions<AddressDetailOperationsUpdateAddressResponse, DefaultError, Options<AddressDetailOperationsUpdateAddressData>> => {
504
504
  const mutationOptions: UseMutationOptions<AddressDetailOperationsUpdateAddressResponse, DefaultError, Options<AddressDetailOperationsUpdateAddressData>> = {
@@ -1455,7 +1455,9 @@ export const unifiedThreadOperationsListAllThreadsQueryKey = (options?: Options<
1455
1455
  *
1456
1456
  * 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.
1457
1457
  *
1458
- * 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.
1458
+ * 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, From address or body text 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 OR body. Matching is case-insensitive substring, not tokenized full-text, so it neither stems nor ranks.
1459
+ *
1460
+ * Body text is the stored preview the row carries — the first prose of the message with quoted replies removed, which is the same text the row renders under its subject. A term further into a long message is not reached; a term the reader can see on the row is.
1459
1461
  *
1460
1462
  * 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.
1461
1463
  *
@@ -1469,6 +1471,12 @@ export const unifiedThreadOperationsListAllThreadsQueryKey = (options?: Options<
1469
1471
  *
1470
1472
  * Row filters: `category`, `unread` and `attachments` are columns on the ThreadMessage row, so each is a predicate inside the query rather than a pass over what a page returned. They compose with every mode above — INBOX, starred and search alike — and a page therefore comes back full of matches however rare the criterion is. This is what the cross-account collections need: filtering the pages a client happens to have loaded shows an empty list whenever the matching mail sits below the newest page (#308).
1471
1473
  *
1474
+ * Field filters: `from` and `subject` each match one field, which the single `query` cannot express — it matches both at once. They compose with `query` and with each other as further AND terms.
1475
+ *
1476
+ * Account scope: `accountId` narrows every mode to the mailboxes of one account. The scope is built from the account's own mailboxes, so the listing, the count and the search all answer over the same set. Without it the listing is the cross-account aggregate.
1477
+ *
1478
+ * Muted senders: `muted=false` excludes rows whose From address is muted, `muted=true` returns only those, and omitting it filters nothing. Muting is a property of the address rather than a column on the row, so this is the one predicate that reaches outside the ThreadMessage table; it applies to the listing and the `count` alike, which is what lets a caller that hides muted mail state a number that is the size of what it renders.
1479
+ *
1472
1480
  * Counting: `count=true` answers how many CONVERSATIONS match, over the whole scope and independent of `limit`. `results=false` omits the rows, which is how a header total is read without also paying for a page of mail. Conversations rather than rows because that is what this listing renders: a row is per mailbox, so the same mail filed in two folders is two rows sharing a `threadId`, and clients collapse by it. Counting rows would put a third number beside a list that shows a second one.
1473
1481
  */
1474
1482
  export const unifiedThreadOperationsListAllThreadsOptions = (options?: Options<UnifiedThreadOperationsListAllThreadsData>) => queryOptions<UnifiedThreadOperationsListAllThreadsResponse, DefaultError, UnifiedThreadOperationsListAllThreadsResponse, ReturnType<typeof unifiedThreadOperationsListAllThreadsQueryKey>>({
package/index.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
3
  export { accountDetailOperationsDeleteAccount, accountDetailOperationsUpdateAccount, accountOperationsCreateAccount, accountOperationsTestConnection, addressDetailOperationsUpdateAddress, addressOperationsSearchAddresses, calendarDetailOperationsDeleteCalendar, calendarDetailOperationsGetCalendar, calendarDetailOperationsGetCalendarFeed, calendarDetailOperationsPutCalendarFeed, calendarDetailOperationsRevokeCalendarFeed, calendarDetailOperationsUpdateCalendar, calendarEventDetailOperationsDeleteCalendarEvent, calendarEventDetailOperationsGetCalendarEvent, calendarEventDetailOperationsUpdateCalendarEvent, calendarEventOperationsCreateCalendarEvent, calendarEventOperationsListCalendarEvents, calendarFeedOperationsGetCalendarFeedIcal, calendarFreeBusyOperationsListCalendarFreeBusy, calendarOperationsCreateCalendar, calendarOperationsListCalendars, calendarSuggestionActionOperationsAcceptCalendarSuggestion, calendarSuggestionActionOperationsDeclineCalendarSuggestion, calendarSuggestionActionOperationsDismissCalendarSuggestion, calendarSuggestionOperationsListCalendarSuggestions, configOperationsExportConfig, configOperationsGetConfig, configOperationsImportConfig, filterDetailOperationsDeleteFilter, filterDetailOperationsGetFilter, filterDetailOperationsUpdateFilter, filterOperationsCreateFilter, filterOperationsListFilters, folderRoleOperationsAppointFolderRole, labelDetailOperationsDeleteLabel, labelDetailOperationsGetLabel, labelDetailOperationsUpdateLabel, labelOperationsCreateLabel, labelOperationsListLabels, mailboxDetailOperationsDeleteMailbox, mailboxDetailOperationsGetMailbox, mailboxDetailOperationsRenameMailbox, mailboxOperationsCreateMailbox, mailboxOperationsListMailboxes, meOperationsCreateExport, meOperationsDeleteMe, meOperationsGetExport, meOperationsListQuarantine, meOperationsListVipSuggestions, messageBulkOperationsCopyMessages, messageBulkOperationsDeleteMessages, messageBulkOperationsMoveMessages, messageBulkOperationsNotSpam, messageBulkOperationsReportSpam, messageBulkOperationsUpdateFlags, messageBulkOperationsUpdateMessageLabels, messageCalendarSuggestionOperationsListMessageCalendarSuggestions, messageOperationsDescribeMessage, messageOperationsGetRawMessage, messageOperationsUpdateMessageFlags, microsoftOAuthOperationsMicrosoftOAuthCallback, microsoftOAuthOperationsMicrosoftOAuthStart, type Options, organizeJobDetailOperationsGetOrganizeJob, organizeOperationsCreateOrganizeJob, organizeOperationsPreviewOrganize, outboxAttachmentOperationsCompleteOutboxAttachment, outboxDetailOperationsDeleteOutboxMessage, outboxDetailOperationsGetOutboxMessage, outboxDetailOperationsMintOutboxAttachment, outboxDetailOperationsSendOutboxMessage, outboxDetailOperationsUpdateOutboxMessage, outboxOperationsCreateOutboxMessage, outboxOperationsListOutboxMessages, semanticSearchOperationsSemanticSearch, syncOperationsGetSyncStatus, syncOperationsTriggerSync, systemOperationsApplySystemUpdate, systemOperationsGetSystemUpdate, 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, CalendarDetailOperationsDeleteCalendarData, CalendarDetailOperationsDeleteCalendarError, CalendarDetailOperationsDeleteCalendarErrors, CalendarDetailOperationsDeleteCalendarResponse, CalendarDetailOperationsDeleteCalendarResponses, CalendarDetailOperationsGetCalendarData, CalendarDetailOperationsGetCalendarError, CalendarDetailOperationsGetCalendarErrors, CalendarDetailOperationsGetCalendarFeedData, CalendarDetailOperationsGetCalendarFeedError, CalendarDetailOperationsGetCalendarFeedErrors, CalendarDetailOperationsGetCalendarFeedResponse, CalendarDetailOperationsGetCalendarFeedResponses, CalendarDetailOperationsGetCalendarResponse, CalendarDetailOperationsGetCalendarResponses, CalendarDetailOperationsPutCalendarFeedData, CalendarDetailOperationsPutCalendarFeedError, CalendarDetailOperationsPutCalendarFeedErrors, CalendarDetailOperationsPutCalendarFeedResponse, CalendarDetailOperationsPutCalendarFeedResponses, CalendarDetailOperationsRevokeCalendarFeedData, CalendarDetailOperationsRevokeCalendarFeedError, CalendarDetailOperationsRevokeCalendarFeedErrors, CalendarDetailOperationsRevokeCalendarFeedResponse, CalendarDetailOperationsRevokeCalendarFeedResponses, CalendarDetailOperationsUpdateCalendarData, CalendarDetailOperationsUpdateCalendarError, CalendarDetailOperationsUpdateCalendarErrors, CalendarDetailOperationsUpdateCalendarResponse, CalendarDetailOperationsUpdateCalendarResponses, CalendarEventDetailOperationsDeleteCalendarEventData, CalendarEventDetailOperationsDeleteCalendarEventError, CalendarEventDetailOperationsDeleteCalendarEventErrors, CalendarEventDetailOperationsDeleteCalendarEventResponse, CalendarEventDetailOperationsDeleteCalendarEventResponses, CalendarEventDetailOperationsGetCalendarEventData, CalendarEventDetailOperationsGetCalendarEventError, CalendarEventDetailOperationsGetCalendarEventErrors, CalendarEventDetailOperationsGetCalendarEventResponse, CalendarEventDetailOperationsGetCalendarEventResponses, CalendarEventDetailOperationsUpdateCalendarEventData, CalendarEventDetailOperationsUpdateCalendarEventError, CalendarEventDetailOperationsUpdateCalendarEventErrors, CalendarEventDetailOperationsUpdateCalendarEventResponse, CalendarEventDetailOperationsUpdateCalendarEventResponses, CalendarEventOperationsCreateCalendarEventData, CalendarEventOperationsCreateCalendarEventError, CalendarEventOperationsCreateCalendarEventErrors, CalendarEventOperationsCreateCalendarEventResponse, CalendarEventOperationsCreateCalendarEventResponses, CalendarEventOperationsListCalendarEventsData, CalendarEventOperationsListCalendarEventsError, CalendarEventOperationsListCalendarEventsErrors, CalendarEventOperationsListCalendarEventsResponse, CalendarEventOperationsListCalendarEventsResponses, CalendarFeedOperationsGetCalendarFeedIcalData, CalendarFeedOperationsGetCalendarFeedIcalError, CalendarFeedOperationsGetCalendarFeedIcalErrors, CalendarFeedOperationsGetCalendarFeedIcalResponse, CalendarFeedOperationsGetCalendarFeedIcalResponses, CalendarFreeBusyOperationsListCalendarFreeBusyData, CalendarFreeBusyOperationsListCalendarFreeBusyError, CalendarFreeBusyOperationsListCalendarFreeBusyErrors, CalendarFreeBusyOperationsListCalendarFreeBusyResponse, CalendarFreeBusyOperationsListCalendarFreeBusyResponses, CalendarOperationsCreateCalendarData, CalendarOperationsCreateCalendarError, CalendarOperationsCreateCalendarErrors, CalendarOperationsCreateCalendarResponse, CalendarOperationsCreateCalendarResponses, CalendarOperationsListCalendarsData, CalendarOperationsListCalendarsResponse, CalendarOperationsListCalendarsResponses, CalendarSuggestionActionOperationsAcceptCalendarSuggestionData, CalendarSuggestionActionOperationsAcceptCalendarSuggestionError, CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors, CalendarSuggestionActionOperationsAcceptCalendarSuggestionResponse, CalendarSuggestionActionOperationsAcceptCalendarSuggestionResponses, CalendarSuggestionActionOperationsDeclineCalendarSuggestionData, CalendarSuggestionActionOperationsDeclineCalendarSuggestionError, CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors, CalendarSuggestionActionOperationsDeclineCalendarSuggestionResponse, CalendarSuggestionActionOperationsDeclineCalendarSuggestionResponses, CalendarSuggestionActionOperationsDismissCalendarSuggestionData, CalendarSuggestionActionOperationsDismissCalendarSuggestionError, CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors, CalendarSuggestionActionOperationsDismissCalendarSuggestionResponse, CalendarSuggestionActionOperationsDismissCalendarSuggestionResponses, CalendarSuggestionOperationsListCalendarSuggestionsData, CalendarSuggestionOperationsListCalendarSuggestionsError, CalendarSuggestionOperationsListCalendarSuggestionsErrors, CalendarSuggestionOperationsListCalendarSuggestionsResponse, CalendarSuggestionOperationsListCalendarSuggestionsResponses, ClientOptions, ConfigOperationsExportConfigData, ConfigOperationsExportConfigResponse, ConfigOperationsExportConfigResponses, ConfigOperationsGetConfigData, ConfigOperationsGetConfigResponse, ConfigOperationsGetConfigResponses, ConfigOperationsImportConfigData, ConfigOperationsImportConfigError, ConfigOperationsImportConfigErrors, ConfigOperationsImportConfigResponse, ConfigOperationsImportConfigResponses, FilterDetailOperationsDeleteFilterData, FilterDetailOperationsDeleteFilterResponse, FilterDetailOperationsDeleteFilterResponses, FilterDetailOperationsGetFilterData, FilterDetailOperationsGetFilterResponse, FilterDetailOperationsGetFilterResponses, FilterDetailOperationsUpdateFilterData, FilterDetailOperationsUpdateFilterResponse, FilterDetailOperationsUpdateFilterResponses, FilterOperationsCreateFilterData, FilterOperationsCreateFilterError, FilterOperationsCreateFilterErrors, FilterOperationsCreateFilterResponse, FilterOperationsCreateFilterResponses, FilterOperationsListFiltersData, FilterOperationsListFiltersResponse, FilterOperationsListFiltersResponses, FolderRoleOperationsAppointFolderRoleData, FolderRoleOperationsAppointFolderRoleError, FolderRoleOperationsAppointFolderRoleErrors, FolderRoleOperationsAppointFolderRoleResponse, FolderRoleOperationsAppointFolderRoleResponses, LabelDetailOperationsDeleteLabelData, LabelDetailOperationsDeleteLabelResponse, LabelDetailOperationsDeleteLabelResponses, LabelDetailOperationsGetLabelData, LabelDetailOperationsGetLabelResponse, LabelDetailOperationsGetLabelResponses, LabelDetailOperationsUpdateLabelData, LabelDetailOperationsUpdateLabelResponse, LabelDetailOperationsUpdateLabelResponses, LabelOperationsCreateLabelData, LabelOperationsCreateLabelResponse, LabelOperationsCreateLabelResponses, LabelOperationsListLabelsData, LabelOperationsListLabelsResponse, LabelOperationsListLabelsResponses, 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, MessageBulkOperationsCopyMessagesError, MessageBulkOperationsCopyMessagesErrors, MessageBulkOperationsCopyMessagesResponse, MessageBulkOperationsCopyMessagesResponses, MessageBulkOperationsDeleteMessagesData, MessageBulkOperationsDeleteMessagesError, MessageBulkOperationsDeleteMessagesErrors, MessageBulkOperationsDeleteMessagesResponse, MessageBulkOperationsDeleteMessagesResponses, MessageBulkOperationsMoveMessagesData, MessageBulkOperationsMoveMessagesError, MessageBulkOperationsMoveMessagesErrors, MessageBulkOperationsMoveMessagesResponse, MessageBulkOperationsMoveMessagesResponses, MessageBulkOperationsNotSpamData, MessageBulkOperationsNotSpamResponse, MessageBulkOperationsNotSpamResponses, MessageBulkOperationsReportSpamData, MessageBulkOperationsReportSpamResponse, MessageBulkOperationsReportSpamResponses, MessageBulkOperationsUpdateFlagsData, MessageBulkOperationsUpdateFlagsResponse, MessageBulkOperationsUpdateFlagsResponses, MessageBulkOperationsUpdateMessageLabelsData, MessageBulkOperationsUpdateMessageLabelsResponse, MessageBulkOperationsUpdateMessageLabelsResponses, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsData, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsError, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsResponse, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsResponses, MessageOperationsDescribeMessageData, MessageOperationsDescribeMessageResponse, MessageOperationsDescribeMessageResponses, MessageOperationsGetRawMessageData, MessageOperationsGetRawMessageResponse, MessageOperationsGetRawMessageResponses, MessageOperationsUpdateMessageFlagsData, MessageOperationsUpdateMessageFlagsResponse, MessageOperationsUpdateMessageFlagsResponses, MicrosoftOAuthOperationsMicrosoftOAuthCallbackData, MicrosoftOAuthOperationsMicrosoftOAuthStartData, MicrosoftOAuthOperationsMicrosoftOAuthStartResponse, MicrosoftOAuthOperationsMicrosoftOAuthStartResponses, MicrosoftOAuthStartRequest, MicrosoftOAuthStartResponse, OrganizeJobDetailOperationsGetOrganizeJobData, OrganizeJobDetailOperationsGetOrganizeJobResponse, OrganizeJobDetailOperationsGetOrganizeJobResponses, OrganizeOperationsCreateOrganizeJobData, OrganizeOperationsCreateOrganizeJobError, OrganizeOperationsCreateOrganizeJobErrors, OrganizeOperationsCreateOrganizeJobResponse, OrganizeOperationsCreateOrganizeJobResponses, OrganizeOperationsPreviewOrganizeData, OrganizeOperationsPreviewOrganizeError, OrganizeOperationsPreviewOrganizeErrors, OrganizeOperationsPreviewOrganizeResponse, OrganizeOperationsPreviewOrganizeResponses, OutboxAttachmentOperationsCompleteOutboxAttachmentData, OutboxAttachmentOperationsCompleteOutboxAttachmentError, OutboxAttachmentOperationsCompleteOutboxAttachmentErrors, OutboxAttachmentOperationsCompleteOutboxAttachmentResponse, OutboxAttachmentOperationsCompleteOutboxAttachmentResponses, OutboxDetailOperationsDeleteOutboxMessageData, OutboxDetailOperationsDeleteOutboxMessageResponse, OutboxDetailOperationsDeleteOutboxMessageResponses, OutboxDetailOperationsGetOutboxMessageData, OutboxDetailOperationsGetOutboxMessageResponse, OutboxDetailOperationsGetOutboxMessageResponses, OutboxDetailOperationsMintOutboxAttachmentData, OutboxDetailOperationsMintOutboxAttachmentError, OutboxDetailOperationsMintOutboxAttachmentErrors, OutboxDetailOperationsMintOutboxAttachmentResponse, OutboxDetailOperationsMintOutboxAttachmentResponses, OutboxDetailOperationsSendOutboxMessageData, OutboxDetailOperationsSendOutboxMessageResponse, OutboxDetailOperationsSendOutboxMessageResponses, OutboxDetailOperationsUpdateOutboxMessageData, OutboxDetailOperationsUpdateOutboxMessageResponse, OutboxDetailOperationsUpdateOutboxMessageResponses, OutboxOperationsCreateOutboxMessageData, OutboxOperationsCreateOutboxMessageResponse, OutboxOperationsCreateOutboxMessageResponses, OutboxOperationsListOutboxMessagesData, OutboxOperationsListOutboxMessagesResponse, OutboxOperationsListOutboxMessagesResponses, RemitImapAcceptCalendarSuggestionInput, RemitImapAccountAuthType, RemitImapAccountConfigResponse, RemitImapAccountConfigState, RemitImapAccountExportRequestResponse, RemitImapAccountExportState, RemitImapAccountResponse, RemitImapAccountResponseWritable, RemitImapAccountSyncStatusResponse, RemitImapAddressFlagBase, RemitImapAddressFlagBaseUpdate, RemitImapAddressFlags, RemitImapAddressResponse, RemitImapAddressResponseWritable, RemitImapAddressRole, RemitImapApplyUpdateInput, RemitImapAppointFolderRoleInput, RemitImapAutoArchiveFlag, RemitImapAutoArchiveFlagUpdate, RemitImapAutoMovedInfo, RemitImapBlockedFlag, RemitImapBlockedFlagUpdate, RemitImapBodyPartResponse, RemitImapBodyPartResponseWritable, RemitImapBulkMessageInput, RemitImapBulkUpdateFlagsInput, RemitImapCalendarColor, RemitImapCalendarComponentSet, RemitImapCalendarEventInstance, RemitImapCalendarEventListResponse, RemitImapCalendarEventResponse, RemitImapCalendarEventStatus, RemitImapCalendarFeedResponse, RemitImapCalendarFeedStateResponse, RemitImapCalendarFreeBusyResponse, RemitImapCalendarFreeBusySpan, RemitImapCalendarInviteMethod, RemitImapCalendarListResponse, RemitImapCalendarListResponseWritable, RemitImapCalendarResponse, RemitImapCalendarResponseWritable, RemitImapCalendarSource, RemitImapCalendarSuggestionResponse, RemitImapCalendarSuggestionSource, RemitImapCalendarSuggestionState, RemitImapCalendarTransparency, RemitImapCanonicalMailboxRole, RemitImapCategoryFlag, RemitImapCategoryFlagUpdate, RemitImapConfigDescriptionResponse, RemitImapConfigDescriptionResponseWritable, RemitImapConfigExportResponse, RemitImapConfigImportItemReport, RemitImapConfigImportMode, RemitImapConfigImportOnExisting, RemitImapConfigImportReport, RemitImapConnectionState, RemitImapContentDisposition, RemitImapCopyMessagesInput, RemitImapCreateAccountInput, RemitImapCreateCalendarEventInput, RemitImapCreateCalendarInput, RemitImapCreateExportResponse, RemitImapCreateFilterInput, RemitImapCreateLabelInput, RemitImapCreateMailboxInput, RemitImapCreateOrganizeJobResponse, RemitImapCreateOutboxMessageInput, RemitImapDeleteAccountConfigResponse, RemitImapDeleteAccountResponse, RemitImapDeleteMeInput, RemitImapDeleteMessagesInput, RemitImapDescribeMessageResponse, RemitImapDescribeMessageResponseWritable, RemitImapDismissCalendarSuggestionInput, RemitImapDisplayNameCorrespondence, RemitImapEmptyTrashResponse, RemitImapEnvelopeAddressResponse, RemitImapEnvelopeResponse, RemitImapFilterClause, RemitImapFilterClauseField, RemitImapFilterMatchOperator, RemitImapFilterResponse, RemitImapFilterResponseWritable, RemitImapFilterScope, RemitImapFilterState, RemitImapFolderAppointment, RemitImapFolderAppointmentSource, RemitImapImportConfigInput, RemitImapJunkOnlyFlag, RemitImapJunkOnlyFlagUpdate, RemitImapLabelAction, RemitImapLabelColor, RemitImapLabelResponse, RemitImapLabelResponseWritable, RemitImapLabelSummaryResponse, RemitImapMailboxResponse, RemitImapMailboxResponseWritable, RemitImapMailboxSpecialUse, RemitImapMailboxSyncProgress, RemitImapMailboxSyncStatus, RemitImapMediaType, RemitImapMessageAuthenticity, RemitImapMessageBulkOperationResult, RemitImapMessageCategory, RemitImapMessageMutation, RemitImapMessageReferenceResponse, RemitImapMessageSpamReport, RemitImapMessageStatus, RemitImapMessageSummaryResponse, RemitImapMessageSummaryResponseWritable, RemitImapMessageSyncStatus, RemitImapMintOutboxAttachmentInput, RemitImapMintOutboxAttachmentResponse, RemitImapMoveMessagesInput, RemitImapMutedFlag, RemitImapMutedFlagUpdate, RemitImapNamespaceType, RemitImapOrganizeInput, RemitImapOrganizeJobResponse, RemitImapOrganizeJobResponseWritable, RemitImapOrganizeJobState, RemitImapOrganizePreviewResponse, RemitImapOutboxAttachmentRejection, RemitImapOutboxAttachmentRejectionReason, RemitImapOutboxAttachmentResponse, RemitImapOutboxAttachmentState, RemitImapOutboxMessageResponse, RemitImapOutboxMessageResponseWritable, RemitImapOutboxMessageStatus, RemitImapPendingConfigImport, RemitImapPlacementAction, RemitImapQuarantineFailureCode, RemitImapQuarantineFailureStage, RemitImapQuarantineListResponse, RemitImapQuarantineListResponseWritable, RemitImapQuarantineMimeNode, RemitImapQuarantineResponse, RemitImapQuarantineResponseWritable, RemitImapRawMessageResponse, RemitImapRecurrenceScope, RemitImapReferenceType, RemitImapRenameMailboxInput, RemitImapSemanticSearchChunkType, RemitImapSemanticSearchResult, RemitImapSenderTrust, RemitImapSortOrder, RemitImapSpamReportBulkResult, RemitImapSpamReportFailure, RemitImapStarColor, RemitImapSyncPhase, RemitImapSyncTriggerResponse, RemitImapSystemUpdateCheck, RemitImapSystemUpdateCheckStatus, RemitImapSystemUpdateOutcome, RemitImapSystemUpdatePhase, RemitImapSystemUpdateResponse, RemitImapSystemUpdateRun, RemitImapTestConnectionInput, RemitImapTestConnectionResponse, RemitImapThreadMessageResponse, RemitImapThreadMessageResponseWritable, RemitImapThreadSearchResponse, RemitImapThreadSearchResponseWritable, RemitImapTrustedFlag, RemitImapTrustedFlagUpdate, RemitImapUnsubscribedFlag, RemitImapUnsubscribedFlagUpdate, RemitImapUpdateAccountInput, RemitImapUpdateAddressFlagsInput, RemitImapUpdateAddressInput, RemitImapUpdateCalendarEventInput, RemitImapUpdateCalendarInput, RemitImapUpdateFilterInput, RemitImapUpdateFlagsInput, RemitImapUpdateLabelInput, RemitImapUpdateMessageLabelsInput, RemitImapUpdateOutboxMessageInput, RemitImapVipFlag, RemitImapVipFlagUpdate, RemitImapVipSuggestionEntry, RemitImapVipSuggestionsResponse, RemitImapWellknownFlag, RemitImapWellknownFlagUpdate, RemitImapZoneCertainty, SemanticSearchOperationsSemanticSearchData, SemanticSearchOperationsSemanticSearchResponse, SemanticSearchOperationsSemanticSearchResponses, String140, String2048, String256, String512, String64, String800, SyncOperationsGetSyncStatusData, SyncOperationsGetSyncStatusResponse, SyncOperationsGetSyncStatusResponses, SyncOperationsTriggerSyncData, SyncOperationsTriggerSyncResponse, SyncOperationsTriggerSyncResponses, SystemOperationsApplySystemUpdateData, SystemOperationsApplySystemUpdateResponse, SystemOperationsApplySystemUpdateResponses, SystemOperationsGetSystemUpdateData, SystemOperationsGetSystemUpdateResponse, SystemOperationsGetSystemUpdateResponses, ThreadDetailOperationsListThreadMessagesData, ThreadDetailOperationsListThreadMessagesResponse, ThreadDetailOperationsListThreadMessagesResponses, ThreadOperationsListThreadsData, ThreadOperationsListThreadsResponse, ThreadOperationsListThreadsResponses, ThreadOperationsSearchThreadsData, ThreadOperationsSearchThreadsResponse, ThreadOperationsSearchThreadsResponses, TrashOperationsEmptyTrashData, TrashOperationsEmptyTrashError, TrashOperationsEmptyTrashErrors, TrashOperationsEmptyTrashResponse, TrashOperationsEmptyTrashResponses, UnifiedThreadOperationsListAllThreadsData, UnifiedThreadOperationsListAllThreadsResponse, UnifiedThreadOperationsListAllThreadsResponses, Uuid } from './types.gen.js';
4
+ export type { AccountDetailOperationsDeleteAccountData, AccountDetailOperationsDeleteAccountResponse, AccountDetailOperationsDeleteAccountResponses, AccountDetailOperationsUpdateAccountData, AccountDetailOperationsUpdateAccountResponse, AccountDetailOperationsUpdateAccountResponses, AccountOperationsCreateAccountData, AccountOperationsCreateAccountResponse, AccountOperationsCreateAccountResponses, AccountOperationsTestConnectionData, AccountOperationsTestConnectionResponse, AccountOperationsTestConnectionResponses, AddressDetailOperationsUpdateAddressData, AddressDetailOperationsUpdateAddressResponse, AddressDetailOperationsUpdateAddressResponses, AddressOperationsSearchAddressesData, AddressOperationsSearchAddressesResponse, AddressOperationsSearchAddressesResponses, ApiError, CalendarDetailOperationsDeleteCalendarData, CalendarDetailOperationsDeleteCalendarError, CalendarDetailOperationsDeleteCalendarErrors, CalendarDetailOperationsDeleteCalendarResponse, CalendarDetailOperationsDeleteCalendarResponses, CalendarDetailOperationsGetCalendarData, CalendarDetailOperationsGetCalendarError, CalendarDetailOperationsGetCalendarErrors, CalendarDetailOperationsGetCalendarFeedData, CalendarDetailOperationsGetCalendarFeedError, CalendarDetailOperationsGetCalendarFeedErrors, CalendarDetailOperationsGetCalendarFeedResponse, CalendarDetailOperationsGetCalendarFeedResponses, CalendarDetailOperationsGetCalendarResponse, CalendarDetailOperationsGetCalendarResponses, CalendarDetailOperationsPutCalendarFeedData, CalendarDetailOperationsPutCalendarFeedError, CalendarDetailOperationsPutCalendarFeedErrors, CalendarDetailOperationsPutCalendarFeedResponse, CalendarDetailOperationsPutCalendarFeedResponses, CalendarDetailOperationsRevokeCalendarFeedData, CalendarDetailOperationsRevokeCalendarFeedError, CalendarDetailOperationsRevokeCalendarFeedErrors, CalendarDetailOperationsRevokeCalendarFeedResponse, CalendarDetailOperationsRevokeCalendarFeedResponses, CalendarDetailOperationsUpdateCalendarData, CalendarDetailOperationsUpdateCalendarError, CalendarDetailOperationsUpdateCalendarErrors, CalendarDetailOperationsUpdateCalendarResponse, CalendarDetailOperationsUpdateCalendarResponses, CalendarEventDetailOperationsDeleteCalendarEventData, CalendarEventDetailOperationsDeleteCalendarEventError, CalendarEventDetailOperationsDeleteCalendarEventErrors, CalendarEventDetailOperationsDeleteCalendarEventResponse, CalendarEventDetailOperationsDeleteCalendarEventResponses, CalendarEventDetailOperationsGetCalendarEventData, CalendarEventDetailOperationsGetCalendarEventError, CalendarEventDetailOperationsGetCalendarEventErrors, CalendarEventDetailOperationsGetCalendarEventResponse, CalendarEventDetailOperationsGetCalendarEventResponses, CalendarEventDetailOperationsUpdateCalendarEventData, CalendarEventDetailOperationsUpdateCalendarEventError, CalendarEventDetailOperationsUpdateCalendarEventErrors, CalendarEventDetailOperationsUpdateCalendarEventResponse, CalendarEventDetailOperationsUpdateCalendarEventResponses, CalendarEventOperationsCreateCalendarEventData, CalendarEventOperationsCreateCalendarEventError, CalendarEventOperationsCreateCalendarEventErrors, CalendarEventOperationsCreateCalendarEventResponse, CalendarEventOperationsCreateCalendarEventResponses, CalendarEventOperationsListCalendarEventsData, CalendarEventOperationsListCalendarEventsError, CalendarEventOperationsListCalendarEventsErrors, CalendarEventOperationsListCalendarEventsResponse, CalendarEventOperationsListCalendarEventsResponses, CalendarFeedOperationsGetCalendarFeedIcalData, CalendarFeedOperationsGetCalendarFeedIcalError, CalendarFeedOperationsGetCalendarFeedIcalErrors, CalendarFeedOperationsGetCalendarFeedIcalResponse, CalendarFeedOperationsGetCalendarFeedIcalResponses, CalendarFreeBusyOperationsListCalendarFreeBusyData, CalendarFreeBusyOperationsListCalendarFreeBusyError, CalendarFreeBusyOperationsListCalendarFreeBusyErrors, CalendarFreeBusyOperationsListCalendarFreeBusyResponse, CalendarFreeBusyOperationsListCalendarFreeBusyResponses, CalendarOperationsCreateCalendarData, CalendarOperationsCreateCalendarError, CalendarOperationsCreateCalendarErrors, CalendarOperationsCreateCalendarResponse, CalendarOperationsCreateCalendarResponses, CalendarOperationsListCalendarsData, CalendarOperationsListCalendarsResponse, CalendarOperationsListCalendarsResponses, CalendarSuggestionActionOperationsAcceptCalendarSuggestionData, CalendarSuggestionActionOperationsAcceptCalendarSuggestionError, CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors, CalendarSuggestionActionOperationsAcceptCalendarSuggestionResponse, CalendarSuggestionActionOperationsAcceptCalendarSuggestionResponses, CalendarSuggestionActionOperationsDeclineCalendarSuggestionData, CalendarSuggestionActionOperationsDeclineCalendarSuggestionError, CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors, CalendarSuggestionActionOperationsDeclineCalendarSuggestionResponse, CalendarSuggestionActionOperationsDeclineCalendarSuggestionResponses, CalendarSuggestionActionOperationsDismissCalendarSuggestionData, CalendarSuggestionActionOperationsDismissCalendarSuggestionError, CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors, CalendarSuggestionActionOperationsDismissCalendarSuggestionResponse, CalendarSuggestionActionOperationsDismissCalendarSuggestionResponses, CalendarSuggestionOperationsListCalendarSuggestionsData, CalendarSuggestionOperationsListCalendarSuggestionsError, CalendarSuggestionOperationsListCalendarSuggestionsErrors, CalendarSuggestionOperationsListCalendarSuggestionsResponse, CalendarSuggestionOperationsListCalendarSuggestionsResponses, ClientOptions, ConfigOperationsExportConfigData, ConfigOperationsExportConfigResponse, ConfigOperationsExportConfigResponses, ConfigOperationsGetConfigData, ConfigOperationsGetConfigResponse, ConfigOperationsGetConfigResponses, ConfigOperationsImportConfigData, ConfigOperationsImportConfigError, ConfigOperationsImportConfigErrors, ConfigOperationsImportConfigResponse, ConfigOperationsImportConfigResponses, FilterDetailOperationsDeleteFilterData, FilterDetailOperationsDeleteFilterResponse, FilterDetailOperationsDeleteFilterResponses, FilterDetailOperationsGetFilterData, FilterDetailOperationsGetFilterResponse, FilterDetailOperationsGetFilterResponses, FilterDetailOperationsUpdateFilterData, FilterDetailOperationsUpdateFilterResponse, FilterDetailOperationsUpdateFilterResponses, FilterOperationsCreateFilterData, FilterOperationsCreateFilterError, FilterOperationsCreateFilterErrors, FilterOperationsCreateFilterResponse, FilterOperationsCreateFilterResponses, FilterOperationsListFiltersData, FilterOperationsListFiltersResponse, FilterOperationsListFiltersResponses, FolderRoleOperationsAppointFolderRoleData, FolderRoleOperationsAppointFolderRoleError, FolderRoleOperationsAppointFolderRoleErrors, FolderRoleOperationsAppointFolderRoleResponse, FolderRoleOperationsAppointFolderRoleResponses, LabelDetailOperationsDeleteLabelData, LabelDetailOperationsDeleteLabelResponse, LabelDetailOperationsDeleteLabelResponses, LabelDetailOperationsGetLabelData, LabelDetailOperationsGetLabelResponse, LabelDetailOperationsGetLabelResponses, LabelDetailOperationsUpdateLabelData, LabelDetailOperationsUpdateLabelResponse, LabelDetailOperationsUpdateLabelResponses, LabelOperationsCreateLabelData, LabelOperationsCreateLabelResponse, LabelOperationsCreateLabelResponses, LabelOperationsListLabelsData, LabelOperationsListLabelsResponse, LabelOperationsListLabelsResponses, 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, MessageBulkOperationsCopyMessagesError, MessageBulkOperationsCopyMessagesErrors, MessageBulkOperationsCopyMessagesResponse, MessageBulkOperationsCopyMessagesResponses, MessageBulkOperationsDeleteMessagesData, MessageBulkOperationsDeleteMessagesError, MessageBulkOperationsDeleteMessagesErrors, MessageBulkOperationsDeleteMessagesResponse, MessageBulkOperationsDeleteMessagesResponses, MessageBulkOperationsMoveMessagesData, MessageBulkOperationsMoveMessagesError, MessageBulkOperationsMoveMessagesErrors, MessageBulkOperationsMoveMessagesResponse, MessageBulkOperationsMoveMessagesResponses, MessageBulkOperationsNotSpamData, MessageBulkOperationsNotSpamResponse, MessageBulkOperationsNotSpamResponses, MessageBulkOperationsReportSpamData, MessageBulkOperationsReportSpamResponse, MessageBulkOperationsReportSpamResponses, MessageBulkOperationsUpdateFlagsData, MessageBulkOperationsUpdateFlagsResponse, MessageBulkOperationsUpdateFlagsResponses, MessageBulkOperationsUpdateMessageLabelsData, MessageBulkOperationsUpdateMessageLabelsResponse, MessageBulkOperationsUpdateMessageLabelsResponses, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsData, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsError, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsResponse, MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsResponses, MessageOperationsDescribeMessageData, MessageOperationsDescribeMessageResponse, MessageOperationsDescribeMessageResponses, MessageOperationsGetRawMessageData, MessageOperationsGetRawMessageResponse, MessageOperationsGetRawMessageResponses, MessageOperationsUpdateMessageFlagsData, MessageOperationsUpdateMessageFlagsResponse, MessageOperationsUpdateMessageFlagsResponses, MicrosoftOAuthOperationsMicrosoftOAuthCallbackData, MicrosoftOAuthOperationsMicrosoftOAuthStartData, MicrosoftOAuthOperationsMicrosoftOAuthStartResponse, MicrosoftOAuthOperationsMicrosoftOAuthStartResponses, MicrosoftOAuthStartRequest, MicrosoftOAuthStartResponse, OrganizeJobDetailOperationsGetOrganizeJobData, OrganizeJobDetailOperationsGetOrganizeJobResponse, OrganizeJobDetailOperationsGetOrganizeJobResponses, OrganizeOperationsCreateOrganizeJobData, OrganizeOperationsCreateOrganizeJobError, OrganizeOperationsCreateOrganizeJobErrors, OrganizeOperationsCreateOrganizeJobResponse, OrganizeOperationsCreateOrganizeJobResponses, OrganizeOperationsPreviewOrganizeData, OrganizeOperationsPreviewOrganizeError, OrganizeOperationsPreviewOrganizeErrors, OrganizeOperationsPreviewOrganizeResponse, OrganizeOperationsPreviewOrganizeResponses, OutboxAttachmentOperationsCompleteOutboxAttachmentData, OutboxAttachmentOperationsCompleteOutboxAttachmentError, OutboxAttachmentOperationsCompleteOutboxAttachmentErrors, OutboxAttachmentOperationsCompleteOutboxAttachmentResponse, OutboxAttachmentOperationsCompleteOutboxAttachmentResponses, OutboxDetailOperationsDeleteOutboxMessageData, OutboxDetailOperationsDeleteOutboxMessageResponse, OutboxDetailOperationsDeleteOutboxMessageResponses, OutboxDetailOperationsGetOutboxMessageData, OutboxDetailOperationsGetOutboxMessageResponse, OutboxDetailOperationsGetOutboxMessageResponses, OutboxDetailOperationsMintOutboxAttachmentData, OutboxDetailOperationsMintOutboxAttachmentError, OutboxDetailOperationsMintOutboxAttachmentErrors, OutboxDetailOperationsMintOutboxAttachmentResponse, OutboxDetailOperationsMintOutboxAttachmentResponses, OutboxDetailOperationsSendOutboxMessageData, OutboxDetailOperationsSendOutboxMessageResponse, OutboxDetailOperationsSendOutboxMessageResponses, OutboxDetailOperationsUpdateOutboxMessageData, OutboxDetailOperationsUpdateOutboxMessageResponse, OutboxDetailOperationsUpdateOutboxMessageResponses, OutboxOperationsCreateOutboxMessageData, OutboxOperationsCreateOutboxMessageResponse, OutboxOperationsCreateOutboxMessageResponses, OutboxOperationsListOutboxMessagesData, OutboxOperationsListOutboxMessagesResponse, OutboxOperationsListOutboxMessagesResponses, RemitImapAcceptCalendarSuggestionInput, RemitImapAccountAuthType, RemitImapAccountConfigResponse, RemitImapAccountConfigState, RemitImapAccountExportRequestResponse, RemitImapAccountExportState, RemitImapAccountResponse, RemitImapAccountResponseWritable, RemitImapAccountSyncStatusResponse, RemitImapAddressFlagBase, RemitImapAddressFlagBaseUpdate, RemitImapAddressFlagKey, RemitImapAddressFlags, RemitImapAddressResponse, RemitImapAddressResponseWritable, RemitImapAddressRole, RemitImapApplyUpdateInput, RemitImapAppointFolderRoleInput, RemitImapAutoArchiveFlag, RemitImapAutoArchiveFlagUpdate, RemitImapAutoMovedInfo, RemitImapBlockedFlag, RemitImapBlockedFlagUpdate, RemitImapBodyPartResponse, RemitImapBodyPartResponseWritable, RemitImapBulkMessageInput, RemitImapBulkUpdateFlagsInput, RemitImapCalendarColor, RemitImapCalendarComponentSet, RemitImapCalendarEventInstance, RemitImapCalendarEventListResponse, RemitImapCalendarEventResponse, RemitImapCalendarEventStatus, RemitImapCalendarFeedResponse, RemitImapCalendarFeedStateResponse, RemitImapCalendarFreeBusyResponse, RemitImapCalendarFreeBusySpan, RemitImapCalendarInviteMethod, RemitImapCalendarListResponse, RemitImapCalendarListResponseWritable, RemitImapCalendarResponse, RemitImapCalendarResponseWritable, RemitImapCalendarSource, RemitImapCalendarSuggestionResponse, RemitImapCalendarSuggestionSource, RemitImapCalendarSuggestionState, RemitImapCalendarTransparency, RemitImapCanonicalMailboxRole, RemitImapCategoryFlag, RemitImapCategoryFlagUpdate, RemitImapConfigDescriptionResponse, RemitImapConfigDescriptionResponseWritable, RemitImapConfigExportResponse, RemitImapConfigImportItemReport, RemitImapConfigImportMode, RemitImapConfigImportOnExisting, RemitImapConfigImportReport, RemitImapConnectionState, RemitImapContentDisposition, RemitImapCopyMessagesInput, RemitImapCreateAccountInput, RemitImapCreateCalendarEventInput, RemitImapCreateCalendarInput, RemitImapCreateExportResponse, RemitImapCreateFilterInput, RemitImapCreateLabelInput, RemitImapCreateMailboxInput, RemitImapCreateOrganizeJobResponse, RemitImapCreateOutboxMessageInput, RemitImapDeleteAccountConfigResponse, RemitImapDeleteAccountResponse, RemitImapDeleteMeInput, RemitImapDeleteMessagesInput, RemitImapDescribeMessageResponse, RemitImapDescribeMessageResponseWritable, RemitImapDismissCalendarSuggestionInput, RemitImapDisplayNameCorrespondence, RemitImapEmptyTrashResponse, RemitImapEnvelopeAddressResponse, RemitImapEnvelopeResponse, RemitImapFilterClause, RemitImapFilterClauseField, RemitImapFilterMatchOperator, RemitImapFilterResponse, RemitImapFilterResponseWritable, RemitImapFilterScope, RemitImapFilterState, RemitImapFolderAppointment, RemitImapFolderAppointmentSource, RemitImapImportConfigInput, RemitImapJunkOnlyFlag, RemitImapJunkOnlyFlagUpdate, RemitImapLabelAction, RemitImapLabelColor, RemitImapLabelResponse, RemitImapLabelResponseWritable, RemitImapLabelSummaryResponse, RemitImapMailboxResponse, RemitImapMailboxResponseWritable, RemitImapMailboxSpecialUse, RemitImapMailboxSyncProgress, RemitImapMailboxSyncStatus, RemitImapMediaType, RemitImapMessageAuthenticity, RemitImapMessageBulkOperationResult, RemitImapMessageCategory, RemitImapMessageMutation, RemitImapMessageReferenceResponse, RemitImapMessageSpamReport, RemitImapMessageStatus, RemitImapMessageSummaryResponse, RemitImapMessageSummaryResponseWritable, RemitImapMessageSyncStatus, RemitImapMintOutboxAttachmentInput, RemitImapMintOutboxAttachmentResponse, RemitImapMoveMessagesInput, RemitImapMutedFlag, RemitImapMutedFlagUpdate, RemitImapNamespaceType, RemitImapOrganizeInput, RemitImapOrganizeJobResponse, RemitImapOrganizeJobResponseWritable, RemitImapOrganizeJobState, RemitImapOrganizePreviewResponse, RemitImapOutboxAttachmentRejection, RemitImapOutboxAttachmentRejectionReason, RemitImapOutboxAttachmentResponse, RemitImapOutboxAttachmentState, RemitImapOutboxMessageResponse, RemitImapOutboxMessageResponseWritable, RemitImapOutboxMessageStatus, RemitImapPendingConfigImport, RemitImapPlacementAction, RemitImapQuarantineFailureCode, RemitImapQuarantineFailureStage, RemitImapQuarantineListResponse, RemitImapQuarantineListResponseWritable, RemitImapQuarantineMimeNode, RemitImapQuarantineResponse, RemitImapQuarantineResponseWritable, RemitImapRawMessageResponse, RemitImapRecurrenceScope, RemitImapReferenceType, RemitImapRenameMailboxInput, RemitImapSemanticSearchChunkType, RemitImapSemanticSearchResult, RemitImapSenderTrust, RemitImapSortOrder, RemitImapSpamReportBulkResult, RemitImapSpamReportFailure, RemitImapStarColor, RemitImapSyncPhase, RemitImapSyncTriggerResponse, RemitImapSystemUpdateCheck, RemitImapSystemUpdateCheckStatus, RemitImapSystemUpdateOutcome, RemitImapSystemUpdatePhase, RemitImapSystemUpdateResponse, RemitImapSystemUpdateRun, RemitImapTestConnectionInput, RemitImapTestConnectionResponse, RemitImapThreadMessageResponse, RemitImapThreadMessageResponseWritable, RemitImapThreadSearchResponse, RemitImapThreadSearchResponseWritable, RemitImapTrustedFlag, RemitImapTrustedFlagUpdate, RemitImapUnsubscribedFlag, RemitImapUnsubscribedFlagUpdate, RemitImapUpdateAccountInput, RemitImapUpdateAddressFlagsInput, RemitImapUpdateAddressInput, RemitImapUpdateCalendarEventInput, RemitImapUpdateCalendarInput, RemitImapUpdateFilterInput, RemitImapUpdateFlagsInput, RemitImapUpdateLabelInput, RemitImapUpdateMessageLabelsInput, RemitImapUpdateOutboxMessageInput, RemitImapVipFlag, RemitImapVipFlagUpdate, RemitImapVipSuggestionEntry, RemitImapVipSuggestionsResponse, RemitImapWellknownFlag, RemitImapWellknownFlagUpdate, RemitImapZoneCertainty, SemanticSearchOperationsSemanticSearchData, SemanticSearchOperationsSemanticSearchResponse, SemanticSearchOperationsSemanticSearchResponses, String140, String2048, String256, String512, String64, String800, SyncOperationsGetSyncStatusData, SyncOperationsGetSyncStatusResponse, SyncOperationsGetSyncStatusResponses, SyncOperationsTriggerSyncData, SyncOperationsTriggerSyncResponse, SyncOperationsTriggerSyncResponses, SystemOperationsApplySystemUpdateData, SystemOperationsApplySystemUpdateResponse, SystemOperationsApplySystemUpdateResponses, SystemOperationsGetSystemUpdateData, SystemOperationsGetSystemUpdateResponse, SystemOperationsGetSystemUpdateResponses, ThreadDetailOperationsListThreadMessagesData, ThreadDetailOperationsListThreadMessagesResponse, ThreadDetailOperationsListThreadMessagesResponses, ThreadOperationsListThreadsData, ThreadOperationsListThreadsResponse, ThreadOperationsListThreadsResponses, ThreadOperationsSearchThreadsData, ThreadOperationsSearchThreadsResponse, ThreadOperationsSearchThreadsResponses, TrashOperationsEmptyTrashData, TrashOperationsEmptyTrashError, TrashOperationsEmptyTrashErrors, TrashOperationsEmptyTrashResponse, TrashOperationsEmptyTrashResponses, UnifiedThreadOperationsListAllThreadsData, UnifiedThreadOperationsListAllThreadsResponse, UnifiedThreadOperationsListAllThreadsResponses, Uuid } from './types.gen.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-http-client",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts",
package/sdk.gen.ts CHANGED
@@ -283,7 +283,7 @@ export const addressOperationsSearchAddresses = <ThrowOnError extends boolean =
283
283
  });
284
284
 
285
285
  /**
286
- * Update an address (currently: per-sender flags). Pass `flags: { <name>: null }` to remove a flag. Other flags are untouched.
286
+ * Update an address (currently: per-sender flags). Pass `flags` to set flags and `clearFlags: ["<name>"]` to remove them. Other flags are untouched.
287
287
  */
288
288
  export const addressDetailOperationsUpdateAddress = <ThrowOnError extends boolean = false>(options: Options<AddressDetailOperationsUpdateAddressData, ThrowOnError>): RequestResult<AddressDetailOperationsUpdateAddressResponses, unknown, ThrowOnError> => (options.client ?? client).patch<AddressDetailOperationsUpdateAddressResponses, unknown, ThrowOnError>({
289
289
  security: [{ name: 'Authorization', type: 'apiKey' }],
@@ -880,7 +880,9 @@ export const systemOperationsApplySystemUpdate = <ThrowOnError extends boolean =
880
880
  *
881
881
  * 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.
882
882
  *
883
- * 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.
883
+ * 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, From address or body text 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 OR body. Matching is case-insensitive substring, not tokenized full-text, so it neither stems nor ranks.
884
+ *
885
+ * Body text is the stored preview the row carries — the first prose of the message with quoted replies removed, which is the same text the row renders under its subject. A term further into a long message is not reached; a term the reader can see on the row is.
884
886
  *
885
887
  * 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.
886
888
  *
@@ -894,6 +896,12 @@ export const systemOperationsApplySystemUpdate = <ThrowOnError extends boolean =
894
896
  *
895
897
  * Row filters: `category`, `unread` and `attachments` are columns on the ThreadMessage row, so each is a predicate inside the query rather than a pass over what a page returned. They compose with every mode above — INBOX, starred and search alike — and a page therefore comes back full of matches however rare the criterion is. This is what the cross-account collections need: filtering the pages a client happens to have loaded shows an empty list whenever the matching mail sits below the newest page (#308).
896
898
  *
899
+ * Field filters: `from` and `subject` each match one field, which the single `query` cannot express — it matches both at once. They compose with `query` and with each other as further AND terms.
900
+ *
901
+ * Account scope: `accountId` narrows every mode to the mailboxes of one account. The scope is built from the account's own mailboxes, so the listing, the count and the search all answer over the same set. Without it the listing is the cross-account aggregate.
902
+ *
903
+ * Muted senders: `muted=false` excludes rows whose From address is muted, `muted=true` returns only those, and omitting it filters nothing. Muting is a property of the address rather than a column on the row, so this is the one predicate that reaches outside the ThreadMessage table; it applies to the listing and the `count` alike, which is what lets a caller that hides muted mail state a number that is the size of what it renders.
904
+ *
897
905
  * Counting: `count=true` answers how many CONVERSATIONS match, over the whole scope and independent of `limit`. `results=false` omits the rows, which is how a header total is read without also paying for a page of mail. Conversations rather than rows because that is what this listing renders: a row is per mailbox, so the same mail filed in two folders is two rows sharing a `threadId`, and clients collapse by it. Counting rows would put a third number beside a list that shows a second one.
898
906
  */
899
907
  export const unifiedThreadOperationsListAllThreads = <ThrowOnError extends boolean = false>(options?: Options<UnifiedThreadOperationsListAllThreadsData, ThrowOnError>): RequestResult<UnifiedThreadOperationsListAllThreadsResponses, unknown, ThrowOnError> => (options?.client ?? client).get<UnifiedThreadOperationsListAllThreadsResponses, unknown, ThrowOnError>({
package/types.gen.ts CHANGED
@@ -339,6 +339,11 @@ export type RemitImapAddressFlagBaseUpdate = {
339
339
  reason?: string;
340
340
  };
341
341
 
342
+ /**
343
+ * Names a key of `AddressFlags` that a client may address in `PATCH /addresses/{addressId}`. `wellknown` is deliberately absent: it is server-owned, derived from engagement counters, and is never written or removed by a client.
344
+ */
345
+ export type RemitImapAddressFlagKey = 'trusted' | 'blocked' | 'muted' | 'vip' | 'junkOnly' | 'category' | 'autoArchive' | 'unsubscribed';
346
+
342
347
  /**
343
348
  * Sender-level flags map. Absent keys mean absent flags (sparse).
344
349
  */
@@ -1728,14 +1733,14 @@ export type RemitImapImportConfigInput = {
1728
1733
  };
1729
1734
 
1730
1735
  /**
1731
- * Address was only ever seen on mail in a Junk folder: withheld from autocomplete suggestions until the account corresponds with it, flags it, or meets it on live mail. Written by sync and by the boot-time repair; clear it by patching this key to null.
1736
+ * Address was only ever seen on mail in a Junk folder: withheld from autocomplete suggestions until the account corresponds with it, flags it, or meets it on live mail. Written by sync and by the boot-time repair; clear it by naming this key in `UpdateAddressInput.clearFlags`.
1732
1737
  */
1733
1738
  export type RemitImapJunkOnlyFlag = RemitImapAddressFlagBase & {
1734
1739
  value: boolean;
1735
1740
  };
1736
1741
 
1737
1742
  /**
1738
- * Address was only ever seen on mail in a Junk folder: withheld from autocomplete suggestions until the account corresponds with it, flags it, or meets it on live mail. Written by sync and by the boot-time repair; clear it by patching this key to null.
1743
+ * Address was only ever seen on mail in a Junk folder: withheld from autocomplete suggestions until the account corresponds with it, flags it, or meets it on live mail. Written by sync and by the boot-time repair; clear it by naming this key in `UpdateAddressInput.clearFlags`.
1739
1744
  */
1740
1745
  export type RemitImapJunkOnlyFlagUpdate = RemitImapAddressFlagBaseUpdate & {
1741
1746
  value?: boolean;
@@ -3254,7 +3259,7 @@ export type RemitImapUpdateAccountInput = {
3254
3259
  };
3255
3260
 
3256
3261
  /**
3257
- * Patch payload for a single AddressFlags entry. Pass `null` for a flag key to remove that flag while leaving the others untouched.
3262
+ * Patch payload for AddressFlags entries. Sets the flags named here and leaves the others untouched. Removal travels in `UpdateAddressInput.clearFlags`, not here: the `null` alternative below is unreachable over OAS 3.0, where a nullable `$ref` emits as `allOf` and the request validator drops the `nullable` — and no `null` form exists at all for `category`, whose value is an enum with no false-equivalent member.
3258
3263
  */
3259
3264
  export type RemitImapUpdateAddressFlagsInput = {
3260
3265
  trusted?: RemitImapTrustedFlagUpdate | null;
@@ -3263,7 +3268,7 @@ export type RemitImapUpdateAddressFlagsInput = {
3263
3268
  vip?: RemitImapVipFlagUpdate | null;
3264
3269
  wellknown?: RemitImapWellknownFlagUpdate | null;
3265
3270
  /**
3266
- * Set to `null` to offer this address in autocomplete again
3271
+ * Name this key in `clearFlags` to offer the address in autocomplete again
3267
3272
  */
3268
3273
  junkOnly?: RemitImapJunkOnlyFlagUpdate | null;
3269
3274
  category?: RemitImapCategoryFlagUpdate | null;
@@ -3276,9 +3281,13 @@ export type RemitImapUpdateAddressFlagsInput = {
3276
3281
  */
3277
3282
  export type RemitImapUpdateAddressInput = {
3278
3283
  /**
3279
- * Per-flag merge update; omitted flags are untouched, `null` removes the flag
3284
+ * Per-flag merge update; omitted flags are untouched
3280
3285
  */
3281
3286
  flags?: RemitImapUpdateAddressFlagsInput;
3287
+ /**
3288
+ * Flag keys to remove from the sparse map, leaving the rest untouched. This is the removal form for every flag, whatever its value type — clearing `category` reverts the sender to automatic classification. Applied after `flags`, so a key named in both ends up removed. Removing an absent flag succeeds and changes nothing.
3289
+ */
3290
+ clearFlags?: Array<RemitImapAddressFlagKey>;
3282
3291
  };
3283
3292
 
3284
3293
  /**
@@ -5247,8 +5256,17 @@ export type ThreadOperationsSearchThreadsData = {
5247
5256
  query?: {
5248
5257
  continuationToken?: string;
5249
5258
  order?: RemitImapSortOrder;
5259
+ /**
5260
+ * Free text to match against subject, From address and body text. Whitespace splits it into terms and every term must match, each against any one of the three. Body text is the stored preview the row carries — the first prose of the message with quoted replies removed — so a term further into a long message is not reached; a term the reader can see on the row is. Matching is accent- and case-insensitive substring, not tokenized full-text, so it neither stems nor ranks.
5261
+ */
5250
5262
  query?: string;
5263
+ /**
5264
+ * Match the subject alone, where `query` matches all three fields at once.
5265
+ */
5251
5266
  subject?: string;
5267
+ /**
5268
+ * Match the From address or display name alone, where `query` matches all three fields at once.
5269
+ */
5252
5270
  from?: string;
5253
5271
  unread?: boolean;
5254
5272
  starred?: boolean;
@@ -5895,9 +5913,25 @@ export type UnifiedThreadOperationsListAllThreadsData = {
5895
5913
  */
5896
5914
  starred?: boolean;
5897
5915
  /**
5898
- * 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.
5916
+ * Free text to match against subject, From address and body text. 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.
5899
5917
  */
5900
5918
  query?: string;
5919
+ /**
5920
+ * Match the From address or display name against this text. One field, where `query` matches subject and From at once, so `from:` can be asked for on its own. Applied as a SQL predicate over the whole scope; it does not widen the scope the way `query` does.
5921
+ */
5922
+ from?: string;
5923
+ /**
5924
+ * Match the subject against this text. One field, where `query` matches subject and From at once, so `subject:` can be asked for on its own. Applied as a SQL predicate over the whole scope; it does not widen the scope the way `query` does.
5925
+ */
5926
+ subject?: string;
5927
+ /**
5928
+ * Narrow every mode to one account's mailboxes. The listing, the search and the `count` all read the same narrowed scope, so a count is the size of what the caller renders rather than of the cross-account aggregate. An account the caller does not own, or one that is muted, holds no mailboxes here and matches nothing.
5929
+ */
5930
+ accountId?: Uuid;
5931
+ /**
5932
+ * Filter by whether the From address is muted. `false` excludes muted senders, `true` returns only them, and omitting it filters nothing. Muting lives on the Address rather than on the row, so this is evaluated against the sender's flags; it narrows the `count` exactly as it narrows the listing.
5933
+ */
5934
+ muted?: boolean;
5901
5935
  /**
5902
5936
  * Filter to messages with one of these header-derived categories, as a union over the values given. Applied as a SQL predicate over the whole scope, so a page comes back full of matches however rare the category is. `uncategorized` is one of them — the pending state's name, never the absence of one.
5903
5937
  */