@remit/api-http-client 0.0.11 → 0.0.12
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 +37 -2
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk.gen.ts +23 -1
- package/types.gen.ts +163 -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, 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';
|
|
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, systemOperationsApplySystemUpdate, systemOperationsGetSystemUpdate, 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, SystemOperationsApplySystemUpdateData, SystemOperationsApplySystemUpdateResponse, SystemOperationsGetSystemUpdateData, SystemOperationsGetSystemUpdateResponse, 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
|
|
@@ -809,6 +809,41 @@ export const semanticSearchOperationsSemanticSearchOptions = (options: Options<S
|
|
|
809
809
|
queryKey: semanticSearchOperationsSemanticSearchQueryKey(options)
|
|
810
810
|
});
|
|
811
811
|
|
|
812
|
+
export const systemOperationsGetSystemUpdateQueryKey = (options?: Options<SystemOperationsGetSystemUpdateData>) => createQueryKey('systemOperationsGetSystemUpdate', options);
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
|
|
816
|
+
*/
|
|
817
|
+
export const systemOperationsGetSystemUpdateOptions = (options?: Options<SystemOperationsGetSystemUpdateData>) => queryOptions<SystemOperationsGetSystemUpdateResponse, DefaultError, SystemOperationsGetSystemUpdateResponse, ReturnType<typeof systemOperationsGetSystemUpdateQueryKey>>({
|
|
818
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
819
|
+
const { data } = await systemOperationsGetSystemUpdate({
|
|
820
|
+
...options,
|
|
821
|
+
...queryKey[0],
|
|
822
|
+
signal,
|
|
823
|
+
throwOnError: true
|
|
824
|
+
});
|
|
825
|
+
return data;
|
|
826
|
+
},
|
|
827
|
+
queryKey: systemOperationsGetSystemUpdateQueryKey(options)
|
|
828
|
+
});
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Request installation of a specific release. Writes the request to the control seam and returns 202 with the same resource, including a runId. 409 when a run is in flight, 422 when the target is not the manifest's version. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
|
|
832
|
+
*/
|
|
833
|
+
export const systemOperationsApplySystemUpdateMutation = (options?: Partial<Options<SystemOperationsApplySystemUpdateData>>): UseMutationOptions<SystemOperationsApplySystemUpdateResponse, DefaultError, Options<SystemOperationsApplySystemUpdateData>> => {
|
|
834
|
+
const mutationOptions: UseMutationOptions<SystemOperationsApplySystemUpdateResponse, DefaultError, Options<SystemOperationsApplySystemUpdateData>> = {
|
|
835
|
+
mutationFn: async (fnOptions) => {
|
|
836
|
+
const { data } = await systemOperationsApplySystemUpdate({
|
|
837
|
+
...options,
|
|
838
|
+
...fnOptions,
|
|
839
|
+
throwOnError: true
|
|
840
|
+
});
|
|
841
|
+
return data;
|
|
842
|
+
}
|
|
843
|
+
};
|
|
844
|
+
return mutationOptions;
|
|
845
|
+
};
|
|
846
|
+
|
|
812
847
|
export const unifiedThreadOperationsListAllThreadsQueryKey = (options?: Options<UnifiedThreadOperationsListAllThreadsData>) => createQueryKey('unifiedThreadOperationsListAllThreads', options);
|
|
813
848
|
|
|
814
849
|
/**
|
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, 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';
|
|
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, 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, 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, RemitImapApplyUpdateInput, 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, RemitImapSystemUpdateCheck, RemitImapSystemUpdateCheckStatus, RemitImapSystemUpdateOutcome, RemitImapSystemUpdatePhase, RemitImapSystemUpdateResponse, RemitImapSystemUpdateRun, 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, SystemOperationsApplySystemUpdateData, SystemOperationsApplySystemUpdateResponse, SystemOperationsApplySystemUpdateResponses, SystemOperationsGetSystemUpdateData, SystemOperationsGetSystemUpdateResponse, SystemOperationsGetSystemUpdateResponses, 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, 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';
|
|
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, SystemOperationsApplySystemUpdateData, SystemOperationsApplySystemUpdateResponses, SystemOperationsGetSystemUpdateData, SystemOperationsGetSystemUpdateResponses, 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
|
/**
|
|
@@ -469,6 +469,28 @@ export const semanticSearchOperationsSemanticSearch = <ThrowOnError extends bool
|
|
|
469
469
|
...options
|
|
470
470
|
});
|
|
471
471
|
|
|
472
|
+
/**
|
|
473
|
+
* Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
|
|
474
|
+
*/
|
|
475
|
+
export const systemOperationsGetSystemUpdate = <ThrowOnError extends boolean = false>(options?: Options<SystemOperationsGetSystemUpdateData, ThrowOnError>) => (options?.client ?? client).get<SystemOperationsGetSystemUpdateResponses, unknown, ThrowOnError>({
|
|
476
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
477
|
+
url: '/system/update',
|
|
478
|
+
...options
|
|
479
|
+
});
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Request installation of a specific release. Writes the request to the control seam and returns 202 with the same resource, including a runId. 409 when a run is in flight, 422 when the target is not the manifest's version. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
|
|
483
|
+
*/
|
|
484
|
+
export const systemOperationsApplySystemUpdate = <ThrowOnError extends boolean = false>(options: Options<SystemOperationsApplySystemUpdateData, ThrowOnError>) => (options.client ?? client).post<SystemOperationsApplySystemUpdateResponses, unknown, ThrowOnError>({
|
|
485
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
486
|
+
url: '/system/update',
|
|
487
|
+
...options,
|
|
488
|
+
headers: {
|
|
489
|
+
'Content-Type': 'application/json',
|
|
490
|
+
...options.headers
|
|
491
|
+
}
|
|
492
|
+
});
|
|
493
|
+
|
|
472
494
|
/**
|
|
473
495
|
* List threads across all non-muted accounts of the caller, ordered by sentDate desc. Each row carries an attached `accountId` (derived from a mailboxId→accountId map at read time) plus the usual `senderTrust`/`category` enrichment. Served by the `byDate` LSI1 (pk = the caller's account config), so the caller can never see another account config's threads.
|
|
474
496
|
*
|
package/types.gen.ts
CHANGED
|
@@ -396,6 +396,16 @@ export type RemitImapAddressResponse = {
|
|
|
396
396
|
*/
|
|
397
397
|
export type RemitImapAddressRole = 'from' | 'sender' | 'reply_to' | 'to' | 'cc' | 'bcc';
|
|
398
398
|
|
|
399
|
+
/**
|
|
400
|
+
* Request to install a specific release. `targetVersion` must equal the version the latest check reported; the backend passes exactly this one field across the control seam and resolves nothing else (RFC 037 R6).
|
|
401
|
+
*/
|
|
402
|
+
export type RemitImapApplyUpdateInput = {
|
|
403
|
+
/**
|
|
404
|
+
* The release version to install, `vX.Y.Z`
|
|
405
|
+
*/
|
|
406
|
+
targetVersion: string;
|
|
407
|
+
};
|
|
408
|
+
|
|
399
409
|
/**
|
|
400
410
|
* Input for PUT /accounts/{accountId}/folder-roles/{role}. Appoints the mailbox to the role, replacing whichever mailbox previously held it (exclusive by construction — the map has one slot per role). Pass `mailboxId: null` to clear the role back to unfilled.
|
|
401
411
|
*/
|
|
@@ -1774,6 +1784,127 @@ export type RemitImapSyncTriggerResponse = {
|
|
|
1774
1784
|
message: string;
|
|
1775
1785
|
};
|
|
1776
1786
|
|
|
1787
|
+
/**
|
|
1788
|
+
* The most recent manifest check. The check block is independent of the run block: a failed check never renders as a failed update. On `failed` the version fields are absent and an `error` sentence explains why; on `disabled` only the status is present.
|
|
1789
|
+
*/
|
|
1790
|
+
export type RemitImapSystemUpdateCheck = {
|
|
1791
|
+
/**
|
|
1792
|
+
* Outcome of the most recent manifest check
|
|
1793
|
+
*/
|
|
1794
|
+
status: RemitImapSystemUpdateCheckStatus;
|
|
1795
|
+
/**
|
|
1796
|
+
* When the manifest was last fetched, ISO 8601. Absent when the check is disabled.
|
|
1797
|
+
*/
|
|
1798
|
+
lastCheckedAt?: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* Latest release version named by the manifest, `vX.Y.Z`. Present when status is `ok`.
|
|
1801
|
+
*/
|
|
1802
|
+
latestVersion?: string;
|
|
1803
|
+
/**
|
|
1804
|
+
* Publication date of the latest release, ISO 8601. Present when status is `ok`.
|
|
1805
|
+
*/
|
|
1806
|
+
publishedAt?: string;
|
|
1807
|
+
/**
|
|
1808
|
+
* One authored sentence describing the latest release. Present when status is `ok`.
|
|
1809
|
+
*/
|
|
1810
|
+
summary?: string;
|
|
1811
|
+
/**
|
|
1812
|
+
* URL of the release notes for the latest release. Present when status is `ok`.
|
|
1813
|
+
*/
|
|
1814
|
+
releaseNotesUrl?: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* Whether the latest release is newer than the running version. Present when status is `ok`.
|
|
1817
|
+
*/
|
|
1818
|
+
updateAvailable?: boolean;
|
|
1819
|
+
/**
|
|
1820
|
+
* Schema version of the latest release, from the manifest. Compared against `currentSchemaVersion` to derive whether applying the release runs a migration. Absent when the manifest does not carry it, so a state file written before this field existed still validates.
|
|
1821
|
+
*/
|
|
1822
|
+
schemaVersion?: number;
|
|
1823
|
+
/**
|
|
1824
|
+
* Plain sentence naming why the check failed. Present when status is `failed`.
|
|
1825
|
+
*/
|
|
1826
|
+
error?: string;
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* Outcome of the most recent manifest check. `ok` when a manifest was fetched and validated, `failed` when it could not be, `disabled` when no manifest URL is configured or no check has ever run (RFC 037 D8).
|
|
1831
|
+
*/
|
|
1832
|
+
export type RemitImapSystemUpdateCheckStatus = 'ok' | 'failed' | 'disabled';
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* Terminal outcome of an update run. `null` while a run is in flight; `succeeded` when the new version committed, `rolledBack` when it did not and the previous version was restored, `rollbackFailed` when the restore itself failed and an operator shell is needed, `abandoned` when the run ended having changed nothing (RFC 037 R11).
|
|
1836
|
+
*/
|
|
1837
|
+
export type RemitImapSystemUpdateOutcome = 'succeeded' | 'rolledBack' | 'rollbackFailed' | 'abandoned';
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* Phase of an update run. Advances through the atomic update sequence; `checking` before anything is pulled, `committing` once the new version has answered the gate (RFC 037 R9, R11).
|
|
1841
|
+
*/
|
|
1842
|
+
export type RemitImapSystemUpdatePhase = 'checking' | 'pulling' | 'snapshotting' | 'stopping' | 'starting' | 'verifying' | 'committing' | 'rollingBack' | 'recovering';
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* The self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. One read serves every interface state. The check block and the run block are independent by construction (RFC 037 D7).
|
|
1846
|
+
*/
|
|
1847
|
+
export type RemitImapSystemUpdateResponse = {
|
|
1848
|
+
/**
|
|
1849
|
+
* The version the instance is currently running, `vX.Y.Z` (or a non-release tag such as `latest`)
|
|
1850
|
+
*/
|
|
1851
|
+
currentVersion: string;
|
|
1852
|
+
/**
|
|
1853
|
+
* Schema version the running instance is on, written by the wrapper at check time. The consent UI derives that applying a release runs a migration from `check.schemaVersion` being greater than this. Absent when unknown, so a state file written before this field existed still validates.
|
|
1854
|
+
*/
|
|
1855
|
+
currentSchemaVersion?: number;
|
|
1856
|
+
/**
|
|
1857
|
+
* The most recent manifest check
|
|
1858
|
+
*/
|
|
1859
|
+
check: RemitImapSystemUpdateCheck;
|
|
1860
|
+
/**
|
|
1861
|
+
* The current or last update run, or `null` when no run has ever started
|
|
1862
|
+
*/
|
|
1863
|
+
run: RemitImapSystemUpdateRun | null;
|
|
1864
|
+
};
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
* The current or last update run. `null` when no run has ever started. `outcome` is `null` while a run is in flight. `message` and `logCommand` are rendered to the operator verbatim: a plain sentence naming the cause and a command that can be pasted into a shell to see more (RFC 037 Interface).
|
|
1868
|
+
*/
|
|
1869
|
+
export type RemitImapSystemUpdateRun = {
|
|
1870
|
+
/**
|
|
1871
|
+
* Opaque id of this run; the client persists it and treats subsequent request failures as an in-progress apply until the surface answers
|
|
1872
|
+
*/
|
|
1873
|
+
runId: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* Version the run started from, `vX.Y.Z`
|
|
1876
|
+
*/
|
|
1877
|
+
fromVersion: string;
|
|
1878
|
+
/**
|
|
1879
|
+
* Version the run is installing, `vX.Y.Z`
|
|
1880
|
+
*/
|
|
1881
|
+
targetVersion: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* Phase the run is in
|
|
1884
|
+
*/
|
|
1885
|
+
phase: RemitImapSystemUpdatePhase;
|
|
1886
|
+
/**
|
|
1887
|
+
* Terminal outcome, or `null` while the run is in flight
|
|
1888
|
+
*/
|
|
1889
|
+
outcome: RemitImapSystemUpdateOutcome | null;
|
|
1890
|
+
/**
|
|
1891
|
+
* When the run started, ISO 8601
|
|
1892
|
+
*/
|
|
1893
|
+
startedAt: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* When the run state was last written, ISO 8601
|
|
1896
|
+
*/
|
|
1897
|
+
updatedAt: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* Plain sentence naming the current cause, rendered to the operator verbatim
|
|
1900
|
+
*/
|
|
1901
|
+
message: string;
|
|
1902
|
+
/**
|
|
1903
|
+
* A command that can be pasted into a shell to see more, rendered to the operator verbatim
|
|
1904
|
+
*/
|
|
1905
|
+
logCommand: string;
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1777
1908
|
/**
|
|
1778
1909
|
* Input for testing connection without saving
|
|
1779
1910
|
*/
|
|
@@ -3423,6 +3554,38 @@ export type SemanticSearchOperationsSemanticSearchResponses = {
|
|
|
3423
3554
|
|
|
3424
3555
|
export type SemanticSearchOperationsSemanticSearchResponse = SemanticSearchOperationsSemanticSearchResponses[keyof SemanticSearchOperationsSemanticSearchResponses];
|
|
3425
3556
|
|
|
3557
|
+
export type SystemOperationsGetSystemUpdateData = {
|
|
3558
|
+
body?: never;
|
|
3559
|
+
path?: never;
|
|
3560
|
+
query?: never;
|
|
3561
|
+
url: '/system/update';
|
|
3562
|
+
};
|
|
3563
|
+
|
|
3564
|
+
export type SystemOperationsGetSystemUpdateResponses = {
|
|
3565
|
+
/**
|
|
3566
|
+
* The request has succeeded.
|
|
3567
|
+
*/
|
|
3568
|
+
200: RemitImapSystemUpdateResponse;
|
|
3569
|
+
};
|
|
3570
|
+
|
|
3571
|
+
export type SystemOperationsGetSystemUpdateResponse = SystemOperationsGetSystemUpdateResponses[keyof SystemOperationsGetSystemUpdateResponses];
|
|
3572
|
+
|
|
3573
|
+
export type SystemOperationsApplySystemUpdateData = {
|
|
3574
|
+
body: RemitImapApplyUpdateInput;
|
|
3575
|
+
path?: never;
|
|
3576
|
+
query?: never;
|
|
3577
|
+
url: '/system/update';
|
|
3578
|
+
};
|
|
3579
|
+
|
|
3580
|
+
export type SystemOperationsApplySystemUpdateResponses = {
|
|
3581
|
+
/**
|
|
3582
|
+
* The request has succeeded.
|
|
3583
|
+
*/
|
|
3584
|
+
200: RemitImapSystemUpdateResponse;
|
|
3585
|
+
};
|
|
3586
|
+
|
|
3587
|
+
export type SystemOperationsApplySystemUpdateResponse = SystemOperationsApplySystemUpdateResponses[keyof SystemOperationsApplySystemUpdateResponses];
|
|
3588
|
+
|
|
3426
3589
|
export type UnifiedThreadOperationsListAllThreadsData = {
|
|
3427
3590
|
body?: never;
|
|
3428
3591
|
path?: never;
|