@jumoo/usync-publisher-assets 18.4.0 → 18.5.0

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.
@@ -1,2 +1,2 @@
1
- export { ApprovalsService, BatchPushService, BrowserService, ContentService, KeysService, type Options, PublishersService, RunService, SeedService, ServersService, SettingsService, StrategyService, TemplatesService } from './sdk.gen';
2
- export { type AddToAllServersData, type AddToAllServersErrors, type AddToAllServersResponse, type AddToAllServersResponses, type AddToBatchData, type AddToBatchError, type AddToBatchErrors, type AddToBatchResponse, type AddToBatchResponses, type AppKeySetupResult, type AppKeyView, type ApproveData, type ApproveError, type ApproveErrors, type ApproveResponse, type ApproveResponses, type BadRequest, type BatchPushAddResult, type BatchPushIncludeChildrenRequest, type BatchPushItemModel, type BatchPushItemRequest, type BatchPushModel, type CalculateContentChangesData, type CalculateContentChangesErrors, type CalculateContentChangesResponse, type CalculateContentChangesResponses, type CalculateMediaChangesData, type CalculateMediaChangesErrors, type CalculateMediaChangesResponse, type CalculateMediaChangesResponses, ChangeDetailType, ChangeType, type CheckServerData, type CheckServerErrors, type CheckServerResponse, type CheckServerResponses, type CheckServerSignalRData, type CheckServerSignalRErrors, type CheckServerSignalRResponse, type CheckServerSignalRResponses, type CheckServerUrlData, type CheckServerUrlErrors, type CheckServerUrlResponse, type CheckServerUrlResponses, type ClearBatchData, type ClearBatchErrors, type ClearBatchResponse, type ClearBatchResponses, type ClientOptions, type CopyServerData, type CopyServerErrors, type CopyServerResponse, type CopyServerResponses, type CreateKeysData, type CreateKeysErrors, type CreateKeysResponse, type CreateKeysResponses, type CustomPublisherOptions, type DeclineData, type DeclineError, type DeclineErrors, type DeclineResponse, type DeclineResponses, type DeleteServerData, type DeleteServerErrors, type DeleteServerResponse, type DeleteServerResponses, type DependencyFlags, type FlagModel, type GetActionViewData, type GetActionViewErrors, type GetActionViewResponse, type GetActionViewResponses, type GetAllServersData, type GetAllServersErrors, type GetAllServersResponse, type GetAllServersResponses, type GetAncestorsData, type GetAncestorsError, type GetAncestorsErrors, type GetAncestorsResponse, type GetAncestorsResponses, type GetApprovalAccessData, type GetApprovalAccessErrors, type GetApprovalAccessResponse, type GetApprovalAccessResponses, type GetApprovalByPipelineData, type GetApprovalByPipelineError, type GetApprovalByPipelineErrors, type GetApprovalByPipelineResponse, type GetApprovalByPipelineResponses, type GetApprovalData, type GetApprovalError, type GetApprovalErrors, type GetApprovalHistoryData, type GetApprovalHistoryErrors, type GetApprovalHistoryResponse, type GetApprovalHistoryResponses, type GetApprovalResponse, type GetApprovalResponses, type GetAvailableServersData, type GetAvailableServersErrors, type GetAvailableServersResponse, type GetAvailableServersResponses, type GetAwaitingApprovalCountData, type GetAwaitingApprovalCountErrors, type GetAwaitingApprovalCountResponse, type GetAwaitingApprovalCountResponses, type GetAwaitingApprovalData, type GetAwaitingApprovalErrors, type GetAwaitingApprovalResponse, type GetAwaitingApprovalResponses, type GetBatchCountData, type GetBatchCountErrors, type GetBatchCountResponse, type GetBatchCountResponses, type GetBatchData, type GetBatchErrors, type GetBatchResponse, type GetBatchResponses, type GetButtonsData, type GetButtonsErrors, type GetButtonsResponse, type GetButtonsResponses, type GetChildrenData, type GetChildrenError, type GetChildrenErrors, type GetChildrenResponse, type GetChildrenResponses, type GetContentEntityData, type GetContentEntityErrors, type GetContentEntityResponse, type GetContentEntityResponses, type GetContentFoldersData, type GetContentFoldersErrors, type GetContentFoldersResponse, type GetContentFoldersResponses, type GetCurrentServerData, type GetCurrentServerErrors, type GetCurrentServerResponse, type GetCurrentServerResponses, type GetDescendantCountData, type GetDescendantCountErrors, type GetDescendantCountResponse, type GetDescendantCountResponses, type GetLocalContentFoldersData, type GetLocalContentFoldersErrors, type GetLocalContentFoldersResponse, type GetLocalContentFoldersResponses, type GetLocalMediaFoldersData, type GetLocalMediaFoldersErrors, type GetLocalMediaFoldersResponse, type GetLocalMediaFoldersResponses, type GetMediaEntityData, type GetMediaEntityErrors, type GetMediaEntityResponse, type GetMediaEntityResponses, type GetMediaFoldersData, type GetMediaFoldersErrors, type GetMediaFoldersResponse, type GetMediaFoldersResponses, type GetMyRequestsData, type GetMyRequestsErrors, type GetMyRequestsResponse, type GetMyRequestsResponses, type GetPreviewData, type GetPreviewErrors, type GetPreviewResponse, type GetPreviewResponses, type GetProcessingOptionsData, type GetProcessingOptionsErrors, type GetProcessingOptionsResponse, type GetProcessingOptionsResponses, type GetPublisherData, type GetPublisherErrors, type GetPublisherResponse, type GetPublisherResponses, type GetPublishersData, type GetPublishersErrors, type GetPublishersResponse, type GetPublishersResponses, type GetServerApprovalData, type GetServerApprovalErrors, type GetServerApprovalResponse, type GetServerApprovalResponses, type GetServerByAliasData, type GetServerByAliasErrors, type GetServerByAliasResponse, type GetServerByAliasResponses, type GetServerByUrlData, type GetServerByUrlErrors, type GetServerByUrlResponse, type GetServerByUrlResponses, type GetServerData, type GetServerErrors, type GetServerResponse, type GetServerResponses, type GetServersData, type GetServersErrors, type GetServersResponse, type GetServersResponses, type GetSettingsData, type GetSettingsErrors, type GetSettingsResponse, type GetSettingsResponses, type GetSiteStatusData, type GetSiteStatusErrors, type GetSiteStatusResponse, type GetSiteStatusResponses, type GetStrategyByPublisherData, type GetStrategyByPublisherErrors, type GetStrategyByPublisherResponse, type GetStrategyByPublisherResponses, type GetStrategyByServerData, type GetStrategyByServerErrors, type GetStrategyByServerResponse, type GetStrategyByServerResponses, type GetSyncItemData, type GetSyncItemErrors, type GetSyncItemResponse, type GetSyncItemResponses, type GetSyncSendOptionsByModeData, type GetSyncSendOptionsByModeError, type GetSyncSendOptionsByModeErrors, type GetSyncSendOptionsByModeResponse, type GetSyncSendOptionsByModeResponses, type GetTemplatesData, type GetTemplatesErrors, type GetTemplatesResponse, type GetTemplatesResponses, type GetUserGroupsData, type GetUserGroupsErrors, type GetUserGroupsResponse, type GetUserGroupsResponses, type GetVariantsData, type GetVariantsErrors, type GetVariantsResponse, type GetVariantsResponses, type HasContentData, type HasContentErrors, type HasContentOrMediaData, type HasContentOrMediaErrors, type HasContentOrMediaResponse, type HasContentOrMediaResponses, type HasContentResponse, type HasContentResponses, type HasKeysData, type HasKeysErrors, type HasKeysResponse, type HasKeysResponses, type HasMediaData, type HasMediaErrors, type HasMediaResponse, type HasMediaResponses, type PagedModelPublisherApprovalSummaryModel, type PagedSyncServerItemResponseModel, type PipelineRunRejected, PipelineRunRejectedReason, type PipelineRunStarted, PipelineRunState, type ProblemDetails, type PublisherApprovalAccessModel, type PublisherApprovalDecisionModel, type PublisherApprovalDetailModel, type PublisherApprovalItem, type PublisherApprovalProgress, type PublisherApprovalServerModel, PublisherApprovalStatus, type PublisherApprovalSummaryModel, type PublisherProcessingOptions, type PublisherStartItem, PublisherStartMode, type PublisherStartOptions, type PublisherStartRequest, type PublisherSyncSendOptions, PublishMode, type ReferenceByIdModel, type ReloadSettingsData, type ReloadSettingsErrors, type ReloadSettingsResponse, type ReloadSettingsResponses, type RemoveFromBatchData, type RemoveFromBatchErrors, type RemoveFromBatchResponse, type RemoveFromBatchResponses, type RootData, type RootErrors, type RootResponse, type RootResponses, type SaveKeysData, type SaveKeysErrors, type SaveKeysResponse, type SaveKeysResponses, type SaveServerData, type SaveServerError, type SaveServerErrors, type SaveServerResponse, type SaveServerResponses, type SaveSettingsData, type SaveSettingsErrors, type SaveSettingsResponse, type SaveSettingsResponses, type ServerSyncRequest, type ServerSyncResult, type SetBatchIncludeChildrenData, type SetBatchIncludeChildrenError, type SetBatchIncludeChildrenErrors, type SetBatchIncludeChildrenResponses, type SetServerOrderData, type SetServerOrderErrors, type SetServerOrderResponse, type SetServerOrderResponses, type SiteSeedStatus, type SplitEntityView, type StartData, type StartError, type StartErrors, type StartResponse, type StartResponses, type SyncBrowserItemChange, type SyncEntity, type SyncItem, type SyncItemPreviewResponse, type SyncLocalItem, SyncProcessingSourceAction, type SyncPublishAvailableServerRequest, type SyncPublisherObjects, type SyncPublisherOptions, type SyncPublisherVariantsResult, type SyncPublishServerCopyView, type SyncPublishServerView, type SyncSendOption, type SyncSendOptions, type SyncServerAppearance, type SyncServerItemResponseModel, SyncServerStatus, type SyncServerTemplateModel, type SyncSettingsData, type SyncSettingsError, type SyncSettingsErrors, type SyncSettingsResponse, type SyncSettingsResponses, type SyncVariantInfo, type UdiModel, type UserGroupListModel, type USyncActionView, type USyncAllowedServer, type USyncChange, type USyncEntityVariant, type USyncEntityView, type USyncItemFolder, type USyncPathItem, type USyncPublisherView, type USyncPublishServerStatus, type USyncPublishSettingsView, type WithdrawData, type WithdrawError, type WithdrawErrors, type WithdrawResponse, type WithdrawResponses } from './types.gen';
1
+ export { ApprovalsService, BatchPushService, BrowserService, ContentService, DependenciesService, KeysService, type Options, PublishersService, RunService, SeedService, ServersService, SettingsService, StrategyService, TemplatesService } from './sdk.gen';
2
+ export { type AddToAllServersData, type AddToAllServersErrors, type AddToAllServersResponse, type AddToAllServersResponses, type AddToBatchData, type AddToBatchError, type AddToBatchErrors, type AddToBatchResponse, type AddToBatchResponses, type AppKeySetupResult, type AppKeyView, type ApproveData, type ApproveError, type ApproveErrors, type ApproveResponse, type ApproveResponses, type BadRequest, type BatchPushAddResult, type BatchPushIncludeChildrenRequest, type BatchPushItemModel, type BatchPushItemRequest, type BatchPushModel, type CalculateContentChangesData, type CalculateContentChangesErrors, type CalculateContentChangesResponse, type CalculateContentChangesResponses, type CalculateMediaChangesData, type CalculateMediaChangesErrors, type CalculateMediaChangesResponse, type CalculateMediaChangesResponses, ChangeDetailType, ChangeType, type CheckServerData, type CheckServerErrors, type CheckServerResponse, type CheckServerResponses, type CheckServerSignalRData, type CheckServerSignalRErrors, type CheckServerSignalRResponse, type CheckServerSignalRResponses, type CheckServerUrlData, type CheckServerUrlErrors, type CheckServerUrlResponse, type CheckServerUrlResponses, type ClearBatchData, type ClearBatchErrors, type ClearBatchResponse, type ClearBatchResponses, type ClientOptions, type CopyServerData, type CopyServerErrors, type CopyServerResponse, type CopyServerResponses, type CreateKeysData, type CreateKeysErrors, type CreateKeysResponse, type CreateKeysResponses, type CreateTrustedServerData, type CreateTrustedServerError, type CreateTrustedServerErrors, type CreateTrustedServerRequest, type CreateTrustedServerResponse, type CreateTrustedServerResponses, type CreateTrustedServerResult, type CustomPublisherOptions, type DeclineData, type DeclineError, type DeclineErrors, type DeclineResponse, type DeclineResponses, type DeleteServerData, type DeleteServerErrors, type DeleteServerResponse, type DeleteServerResponses, type DependencyFlags, type FlagModel, type GetActionViewData, type GetActionViewErrors, type GetActionViewResponse, type GetActionViewResponses, type GetAllServersData, type GetAllServersErrors, type GetAllServersResponse, type GetAllServersResponses, type GetAncestorsData, type GetAncestorsError, type GetAncestorsErrors, type GetAncestorsResponse, type GetAncestorsResponses, type GetApprovalAccessData, type GetApprovalAccessErrors, type GetApprovalAccessResponse, type GetApprovalAccessResponses, type GetApprovalByPipelineData, type GetApprovalByPipelineError, type GetApprovalByPipelineErrors, type GetApprovalByPipelineResponse, type GetApprovalByPipelineResponses, type GetApprovalData, type GetApprovalError, type GetApprovalErrors, type GetApprovalHistoryData, type GetApprovalHistoryErrors, type GetApprovalHistoryResponse, type GetApprovalHistoryResponses, type GetApprovalResponse, type GetApprovalResponses, type GetAvailableServersData, type GetAvailableServersErrors, type GetAvailableServersResponse, type GetAvailableServersResponses, type GetAwaitingApprovalCountData, type GetAwaitingApprovalCountErrors, type GetAwaitingApprovalCountResponse, type GetAwaitingApprovalCountResponses, type GetAwaitingApprovalData, type GetAwaitingApprovalErrors, type GetAwaitingApprovalResponse, type GetAwaitingApprovalResponses, type GetBatchCountData, type GetBatchCountErrors, type GetBatchCountResponse, type GetBatchCountResponses, type GetBatchData, type GetBatchErrors, type GetBatchResponse, type GetBatchResponses, type GetButtonsData, type GetButtonsErrors, type GetButtonsResponse, type GetButtonsResponses, type GetChildrenData, type GetChildrenError, type GetChildrenErrors, type GetChildrenResponse, type GetChildrenResponses, type GetContentEntityData, type GetContentEntityErrors, type GetContentEntityResponse, type GetContentEntityResponses, type GetContentFoldersData, type GetContentFoldersErrors, type GetContentFoldersResponse, type GetContentFoldersResponses, type GetCurrentServerData, type GetCurrentServerErrors, type GetCurrentServerResponse, type GetCurrentServerResponses, type GetDescendantCountData, type GetDescendantCountErrors, type GetDescendantCountResponse, type GetDescendantCountResponses, type GetItemDependenciesData, type GetItemDependenciesErrors, type GetItemDependenciesResponse, type GetItemDependenciesResponses, type GetItemDetailsData, type GetItemDetailsErrors, type GetItemDetailsResponse, type GetItemDetailsResponses, type GetItemServerStatusData, type GetItemServerStatusErrors, type GetItemServerStatusResponse, type GetItemServerStatusResponses, type GetLocalContentFoldersData, type GetLocalContentFoldersErrors, type GetLocalContentFoldersResponse, type GetLocalContentFoldersResponses, type GetLocalMediaFoldersData, type GetLocalMediaFoldersErrors, type GetLocalMediaFoldersResponse, type GetLocalMediaFoldersResponses, type GetMediaEntityData, type GetMediaEntityErrors, type GetMediaEntityResponse, type GetMediaEntityResponses, type GetMediaFoldersData, type GetMediaFoldersErrors, type GetMediaFoldersResponse, type GetMediaFoldersResponses, type GetMyRequestsData, type GetMyRequestsErrors, type GetMyRequestsResponse, type GetMyRequestsResponses, type GetPreviewData, type GetPreviewErrors, type GetPreviewResponse, type GetPreviewResponses, type GetProcessingOptionsData, type GetProcessingOptionsErrors, type GetProcessingOptionsResponse, type GetProcessingOptionsResponses, type GetPublisherData, type GetPublisherErrors, type GetPublisherResponse, type GetPublisherResponses, type GetPublishersData, type GetPublishersErrors, type GetPublishersResponse, type GetPublishersResponses, type GetServerApprovalData, type GetServerApprovalErrors, type GetServerApprovalResponse, type GetServerApprovalResponses, type GetServerByAliasData, type GetServerByAliasErrors, type GetServerByAliasResponse, type GetServerByAliasResponses, type GetServerByUrlData, type GetServerByUrlErrors, type GetServerByUrlResponse, type GetServerByUrlResponses, type GetServerData, type GetServerErrors, type GetServerResponse, type GetServerResponses, type GetServersData, type GetServersErrors, type GetServersResponse, type GetServersResponses, type GetSettingsData, type GetSettingsErrors, type GetSettingsResponse, type GetSettingsResponses, type GetSiteStatusData, type GetSiteStatusErrors, type GetSiteStatusResponse, type GetSiteStatusResponses, type GetStrategyByPublisherData, type GetStrategyByPublisherErrors, type GetStrategyByPublisherResponse, type GetStrategyByPublisherResponses, type GetStrategyByServerData, type GetStrategyByServerErrors, type GetStrategyByServerResponse, type GetStrategyByServerResponses, type GetSyncItemData, type GetSyncItemErrors, type GetSyncItemResponse, type GetSyncItemResponses, type GetSyncSendOptionsByModeData, type GetSyncSendOptionsByModeError, type GetSyncSendOptionsByModeErrors, type GetSyncSendOptionsByModeResponse, type GetSyncSendOptionsByModeResponses, type GetTemplatesData, type GetTemplatesErrors, type GetTemplatesResponse, type GetTemplatesResponses, type GetTrustedServersData, type GetTrustedServersErrors, type GetTrustedServersResponse, type GetTrustedServersResponses, type GetUserGroupsData, type GetUserGroupsErrors, type GetUserGroupsResponse, type GetUserGroupsResponses, type GetVariantsData, type GetVariantsErrors, type GetVariantsResponse, type GetVariantsResponses, type HasContentData, type HasContentErrors, type HasContentOrMediaData, type HasContentOrMediaErrors, type HasContentOrMediaResponse, type HasContentOrMediaResponses, type HasContentResponse, type HasContentResponses, type HasKeysData, type HasKeysErrors, type HasKeysResponse, type HasKeysResponses, type HasMediaData, type HasMediaErrors, type HasMediaResponse, type HasMediaResponses, type PagedModelPublisherApprovalSummaryModel, type PagedSyncServerItemResponseModel, type PipelineRunRejected, PipelineRunRejectedReason, type PipelineRunStarted, PipelineRunState, type ProblemDetails, type PublisherApprovalAccessModel, type PublisherApprovalDecisionModel, type PublisherApprovalDetailModel, type PublisherApprovalItem, type PublisherApprovalProgress, type PublisherApprovalServerModel, PublisherApprovalStatus, type PublisherApprovalSummaryModel, type PublisherProcessingOptions, type PublisherStartItem, PublisherStartMode, type PublisherStartOptions, type PublisherStartRequest, type PublisherSyncSendOptions, PublishMode, type ReferenceByIdModel, type ReloadSettingsData, type ReloadSettingsErrors, type ReloadSettingsResponse, type ReloadSettingsResponses, type RemoveFromBatchData, type RemoveFromBatchErrors, type RemoveFromBatchResponse, type RemoveFromBatchResponses, type RemoveTrustedServerData, type RemoveTrustedServerErrors, type RemoveTrustedServerResponse, type RemoveTrustedServerResponses, type RemoveTrustedServerResult, type RootData, type RootErrors, type RootResponse, type RootResponses, type SaveKeysData, type SaveKeysErrors, type SaveKeysResponse, type SaveKeysResponses, type SaveServerData, type SaveServerError, type SaveServerErrors, type SaveServerResponse, type SaveServerResponses, type SaveSettingsData, type SaveSettingsErrors, type SaveSettingsResponse, type SaveSettingsResponses, type ServerSyncRequest, type ServerSyncResult, type SetBatchIncludeChildrenData, type SetBatchIncludeChildrenError, type SetBatchIncludeChildrenErrors, type SetBatchIncludeChildrenResponses, type SetServerOrderData, type SetServerOrderErrors, type SetServerOrderResponse, type SetServerOrderResponses, type SiteSeedStatus, type SplitEntityView, type StartData, type StartError, type StartErrors, type StartResponse, type StartResponses, type SyncBrowserItemChange, type SyncEntity, type SyncItem, type SyncItemDependencyGroup, type SyncItemDependencyView, type SyncItemPreviewResponse, SyncItemServerState, type SyncItemServerStatus, type SyncLocalItem, SyncProcessingSourceAction, type SyncPublishAvailableServerRequest, type SyncPublisherObjects, type SyncPublisherOptions, type SyncPublisherVariantsResult, type SyncPublishServerCopyView, type SyncPublishServerView, type SyncSendOption, type SyncSendOptions, type SyncServerAppearance, type SyncServerItemResponseModel, SyncServerStatus, type SyncServerTemplateModel, type SyncSettingsData, type SyncSettingsError, type SyncSettingsErrors, type SyncSettingsResponse, type SyncSettingsResponses, type SyncVariantInfo, type TrustedServersView, type TrustedServerView, type UdiModel, type UserGroupListModel, type USyncActionView, type USyncAllowedServer, type USyncChange, type USyncEntityVariant, type USyncEntityView, type USyncItemFolder, type USyncPathItem, type USyncPublisherView, type USyncPublishServerStatus, type USyncPublishSettingsView, type WithdrawData, type WithdrawError, type WithdrawErrors, type WithdrawResponse, type WithdrawResponses } from './types.gen';
@@ -1,5 +1,5 @@
1
1
  import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
2
- import type { AddToAllServersData, AddToAllServersErrors, AddToAllServersResponses, AddToBatchData, AddToBatchErrors, AddToBatchResponses, ApproveData, ApproveErrors, ApproveResponses, CalculateContentChangesData, CalculateContentChangesErrors, CalculateContentChangesResponses, CalculateMediaChangesData, CalculateMediaChangesErrors, CalculateMediaChangesResponses, CheckServerData, CheckServerErrors, CheckServerResponses, CheckServerSignalRData, CheckServerSignalRErrors, CheckServerSignalRResponses, CheckServerUrlData, CheckServerUrlErrors, CheckServerUrlResponses, ClearBatchData, ClearBatchErrors, ClearBatchResponses, CopyServerData, CopyServerErrors, CopyServerResponses, CreateKeysData, CreateKeysErrors, CreateKeysResponses, DeclineData, DeclineErrors, DeclineResponses, DeleteServerData, DeleteServerErrors, DeleteServerResponses, GetActionViewData, GetActionViewErrors, GetActionViewResponses, GetAllServersData, GetAllServersErrors, GetAllServersResponses, GetAncestorsData, GetAncestorsErrors, GetAncestorsResponses, GetApprovalAccessData, GetApprovalAccessErrors, GetApprovalAccessResponses, GetApprovalByPipelineData, GetApprovalByPipelineErrors, GetApprovalByPipelineResponses, GetApprovalData, GetApprovalErrors, GetApprovalHistoryData, GetApprovalHistoryErrors, GetApprovalHistoryResponses, GetApprovalResponses, GetAvailableServersData, GetAvailableServersErrors, GetAvailableServersResponses, GetAwaitingApprovalCountData, GetAwaitingApprovalCountErrors, GetAwaitingApprovalCountResponses, GetAwaitingApprovalData, GetAwaitingApprovalErrors, GetAwaitingApprovalResponses, GetBatchCountData, GetBatchCountErrors, GetBatchCountResponses, GetBatchData, GetBatchErrors, GetBatchResponses, GetButtonsData, GetButtonsErrors, GetButtonsResponses, GetChildrenData, GetChildrenErrors, GetChildrenResponses, GetContentEntityData, GetContentEntityErrors, GetContentEntityResponses, GetContentFoldersData, GetContentFoldersErrors, GetContentFoldersResponses, GetCurrentServerData, GetCurrentServerErrors, GetCurrentServerResponses, GetDescendantCountData, GetDescendantCountErrors, GetDescendantCountResponses, GetLocalContentFoldersData, GetLocalContentFoldersErrors, GetLocalContentFoldersResponses, GetLocalMediaFoldersData, GetLocalMediaFoldersErrors, GetLocalMediaFoldersResponses, GetMediaEntityData, GetMediaEntityErrors, GetMediaEntityResponses, GetMediaFoldersData, GetMediaFoldersErrors, GetMediaFoldersResponses, GetMyRequestsData, GetMyRequestsErrors, GetMyRequestsResponses, GetPreviewData, GetPreviewErrors, GetPreviewResponses, GetProcessingOptionsData, GetProcessingOptionsErrors, GetProcessingOptionsResponses, GetPublisherData, GetPublisherErrors, GetPublisherResponses, GetPublishersData, GetPublishersErrors, GetPublishersResponses, GetServerApprovalData, GetServerApprovalErrors, GetServerApprovalResponses, GetServerByAliasData, GetServerByAliasErrors, GetServerByAliasResponses, GetServerByUrlData, GetServerByUrlErrors, GetServerByUrlResponses, GetServerData, GetServerErrors, GetServerResponses, GetServersData, GetServersErrors, GetServersResponses, GetSettingsData, GetSettingsErrors, GetSettingsResponses, GetSiteStatusData, GetSiteStatusErrors, GetSiteStatusResponses, GetStrategyByPublisherData, GetStrategyByPublisherErrors, GetStrategyByPublisherResponses, GetStrategyByServerData, GetStrategyByServerErrors, GetStrategyByServerResponses, GetSyncItemData, GetSyncItemErrors, GetSyncItemResponses, GetSyncSendOptionsByModeData, GetSyncSendOptionsByModeErrors, GetSyncSendOptionsByModeResponses, GetTemplatesData, GetTemplatesErrors, GetTemplatesResponses, GetUserGroupsData, GetUserGroupsErrors, GetUserGroupsResponses, GetVariantsData, GetVariantsErrors, GetVariantsResponses, HasContentData, HasContentErrors, HasContentOrMediaData, HasContentOrMediaErrors, HasContentOrMediaResponses, HasContentResponses, HasKeysData, HasKeysErrors, HasKeysResponses, HasMediaData, HasMediaErrors, HasMediaResponses, ReloadSettingsData, ReloadSettingsErrors, ReloadSettingsResponses, RemoveFromBatchData, RemoveFromBatchErrors, RemoveFromBatchResponses, RootData, RootErrors, RootResponses, SaveKeysData, SaveKeysErrors, SaveKeysResponses, SaveServerData, SaveServerErrors, SaveServerResponses, SaveSettingsData, SaveSettingsErrors, SaveSettingsResponses, SetBatchIncludeChildrenData, SetBatchIncludeChildrenErrors, SetBatchIncludeChildrenResponses, SetServerOrderData, SetServerOrderErrors, SetServerOrderResponses, StartData, StartErrors, StartResponses, SyncSettingsData, SyncSettingsErrors, SyncSettingsResponses, WithdrawData, WithdrawErrors, WithdrawResponses } from './types.gen';
2
+ import type { AddToAllServersData, AddToAllServersErrors, AddToAllServersResponses, AddToBatchData, AddToBatchErrors, AddToBatchResponses, ApproveData, ApproveErrors, ApproveResponses, CalculateContentChangesData, CalculateContentChangesErrors, CalculateContentChangesResponses, CalculateMediaChangesData, CalculateMediaChangesErrors, CalculateMediaChangesResponses, CheckServerData, CheckServerErrors, CheckServerResponses, CheckServerSignalRData, CheckServerSignalRErrors, CheckServerSignalRResponses, CheckServerUrlData, CheckServerUrlErrors, CheckServerUrlResponses, ClearBatchData, ClearBatchErrors, ClearBatchResponses, CopyServerData, CopyServerErrors, CopyServerResponses, CreateKeysData, CreateKeysErrors, CreateKeysResponses, CreateTrustedServerData, CreateTrustedServerErrors, CreateTrustedServerResponses, DeclineData, DeclineErrors, DeclineResponses, DeleteServerData, DeleteServerErrors, DeleteServerResponses, GetActionViewData, GetActionViewErrors, GetActionViewResponses, GetAllServersData, GetAllServersErrors, GetAllServersResponses, GetAncestorsData, GetAncestorsErrors, GetAncestorsResponses, GetApprovalAccessData, GetApprovalAccessErrors, GetApprovalAccessResponses, GetApprovalByPipelineData, GetApprovalByPipelineErrors, GetApprovalByPipelineResponses, GetApprovalData, GetApprovalErrors, GetApprovalHistoryData, GetApprovalHistoryErrors, GetApprovalHistoryResponses, GetApprovalResponses, GetAvailableServersData, GetAvailableServersErrors, GetAvailableServersResponses, GetAwaitingApprovalCountData, GetAwaitingApprovalCountErrors, GetAwaitingApprovalCountResponses, GetAwaitingApprovalData, GetAwaitingApprovalErrors, GetAwaitingApprovalResponses, GetBatchCountData, GetBatchCountErrors, GetBatchCountResponses, GetBatchData, GetBatchErrors, GetBatchResponses, GetButtonsData, GetButtonsErrors, GetButtonsResponses, GetChildrenData, GetChildrenErrors, GetChildrenResponses, GetContentEntityData, GetContentEntityErrors, GetContentEntityResponses, GetContentFoldersData, GetContentFoldersErrors, GetContentFoldersResponses, GetCurrentServerData, GetCurrentServerErrors, GetCurrentServerResponses, GetDescendantCountData, GetDescendantCountErrors, GetDescendantCountResponses, GetItemDependenciesData, GetItemDependenciesErrors, GetItemDependenciesResponses, GetItemDetailsData, GetItemDetailsErrors, GetItemDetailsResponses, GetItemServerStatusData, GetItemServerStatusErrors, GetItemServerStatusResponses, GetLocalContentFoldersData, GetLocalContentFoldersErrors, GetLocalContentFoldersResponses, GetLocalMediaFoldersData, GetLocalMediaFoldersErrors, GetLocalMediaFoldersResponses, GetMediaEntityData, GetMediaEntityErrors, GetMediaEntityResponses, GetMediaFoldersData, GetMediaFoldersErrors, GetMediaFoldersResponses, GetMyRequestsData, GetMyRequestsErrors, GetMyRequestsResponses, GetPreviewData, GetPreviewErrors, GetPreviewResponses, GetProcessingOptionsData, GetProcessingOptionsErrors, GetProcessingOptionsResponses, GetPublisherData, GetPublisherErrors, GetPublisherResponses, GetPublishersData, GetPublishersErrors, GetPublishersResponses, GetServerApprovalData, GetServerApprovalErrors, GetServerApprovalResponses, GetServerByAliasData, GetServerByAliasErrors, GetServerByAliasResponses, GetServerByUrlData, GetServerByUrlErrors, GetServerByUrlResponses, GetServerData, GetServerErrors, GetServerResponses, GetServersData, GetServersErrors, GetServersResponses, GetSettingsData, GetSettingsErrors, GetSettingsResponses, GetSiteStatusData, GetSiteStatusErrors, GetSiteStatusResponses, GetStrategyByPublisherData, GetStrategyByPublisherErrors, GetStrategyByPublisherResponses, GetStrategyByServerData, GetStrategyByServerErrors, GetStrategyByServerResponses, GetSyncItemData, GetSyncItemErrors, GetSyncItemResponses, GetSyncSendOptionsByModeData, GetSyncSendOptionsByModeErrors, GetSyncSendOptionsByModeResponses, GetTemplatesData, GetTemplatesErrors, GetTemplatesResponses, GetTrustedServersData, GetTrustedServersErrors, GetTrustedServersResponses, GetUserGroupsData, GetUserGroupsErrors, GetUserGroupsResponses, GetVariantsData, GetVariantsErrors, GetVariantsResponses, HasContentData, HasContentErrors, HasContentOrMediaData, HasContentOrMediaErrors, HasContentOrMediaResponses, HasContentResponses, HasKeysData, HasKeysErrors, HasKeysResponses, HasMediaData, HasMediaErrors, HasMediaResponses, ReloadSettingsData, ReloadSettingsErrors, ReloadSettingsResponses, RemoveFromBatchData, RemoveFromBatchErrors, RemoveFromBatchResponses, RemoveTrustedServerData, RemoveTrustedServerErrors, RemoveTrustedServerResponses, RootData, RootErrors, RootResponses, SaveKeysData, SaveKeysErrors, SaveKeysResponses, SaveServerData, SaveServerErrors, SaveServerResponses, SaveSettingsData, SaveSettingsErrors, SaveSettingsResponses, SetBatchIncludeChildrenData, SetBatchIncludeChildrenErrors, SetBatchIncludeChildrenResponses, SetServerOrderData, SetServerOrderErrors, SetServerOrderResponses, StartData, StartErrors, StartResponses, SyncSettingsData, SyncSettingsErrors, SyncSettingsResponses, WithdrawData, WithdrawErrors, WithdrawResponses } from './types.gen';
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -46,15 +46,23 @@ export declare class BrowserService {
46
46
  static hasContent<ThrowOnError extends boolean = true>(options?: Options<HasContentData, ThrowOnError>): RequestResult<HasContentResponses, HasContentErrors, ThrowOnError>;
47
47
  static hasContentOrMedia<ThrowOnError extends boolean = true>(options?: Options<HasContentOrMediaData, ThrowOnError>): RequestResult<HasContentOrMediaResponses, HasContentOrMediaErrors, ThrowOnError>;
48
48
  static hasMedia<ThrowOnError extends boolean = true>(options?: Options<HasMediaData, ThrowOnError>): RequestResult<HasMediaResponses, HasMediaErrors, ThrowOnError>;
49
+ static getItemDetails<ThrowOnError extends boolean = true>(options?: Options<GetItemDetailsData, ThrowOnError>): RequestResult<GetItemDetailsResponses, GetItemDetailsErrors, ThrowOnError>;
49
50
  static getPreview<ThrowOnError extends boolean = true>(options?: Options<GetPreviewData, ThrowOnError>): RequestResult<GetPreviewResponses, GetPreviewErrors, ThrowOnError>;
50
51
  }
51
52
  export declare class ContentService {
52
53
  static getVariants<ThrowOnError extends boolean = true>(options?: Options<GetVariantsData, ThrowOnError>): RequestResult<GetVariantsResponses, GetVariantsErrors, ThrowOnError>;
53
54
  }
55
+ export declare class DependenciesService {
56
+ static getItemDependencies<ThrowOnError extends boolean = true>(options?: Options<GetItemDependenciesData, ThrowOnError>): RequestResult<GetItemDependenciesResponses, GetItemDependenciesErrors, ThrowOnError>;
57
+ static getItemServerStatus<ThrowOnError extends boolean = true>(options?: Options<GetItemServerStatusData, ThrowOnError>): RequestResult<GetItemServerStatusResponses, GetItemServerStatusErrors, ThrowOnError>;
58
+ }
54
59
  export declare class KeysService {
55
60
  static createKeys<ThrowOnError extends boolean = true>(options?: Options<CreateKeysData, ThrowOnError>): RequestResult<CreateKeysResponses, CreateKeysErrors, ThrowOnError>;
61
+ static createTrustedServer<ThrowOnError extends boolean = true>(options?: Options<CreateTrustedServerData, ThrowOnError>): RequestResult<CreateTrustedServerResponses, CreateTrustedServerErrors, ThrowOnError>;
56
62
  static hasKeys<ThrowOnError extends boolean = true>(options?: Options<HasKeysData, ThrowOnError>): RequestResult<HasKeysResponses, HasKeysErrors, ThrowOnError>;
57
63
  static saveKeys<ThrowOnError extends boolean = true>(options: Options<SaveKeysData, ThrowOnError>): RequestResult<SaveKeysResponses, SaveKeysErrors, ThrowOnError>;
64
+ static removeTrustedServer<ThrowOnError extends boolean = true>(options?: Options<RemoveTrustedServerData, ThrowOnError>): RequestResult<RemoveTrustedServerResponses, RemoveTrustedServerErrors, ThrowOnError>;
65
+ static getTrustedServers<ThrowOnError extends boolean = true>(options?: Options<GetTrustedServersData, ThrowOnError>): RequestResult<GetTrustedServersResponses, GetTrustedServersErrors, ThrowOnError>;
58
66
  }
59
67
  export declare class PublishersService {
60
68
  static getPublisher<ThrowOnError extends boolean = true>(options?: Options<GetPublisherData, ThrowOnError>): RequestResult<GetPublisherResponses, GetPublisherErrors, ThrowOnError>;
@@ -316,6 +316,16 @@ export type SyncItem = {
316
316
  udi: UdiModel;
317
317
  entityType: null | string;
318
318
  };
319
+ export type SyncItemDependencyGroup = {
320
+ alias: string;
321
+ items: Array<SyncItemDependencyView>;
322
+ };
323
+ export type SyncItemDependencyView = {
324
+ name: string;
325
+ udi: string;
326
+ entityType: string;
327
+ key?: string | null;
328
+ };
319
329
  export type SyncItemPreviewResponse = {
320
330
  key: string;
321
331
  handler: string;
@@ -327,6 +337,20 @@ export type SyncItemPreviewResponse = {
327
337
  preview?: unknown;
328
338
  details: Array<USyncChange>;
329
339
  };
340
+ export declare enum SyncItemServerState {
341
+ UP_TO_DATE = "UpToDate",
342
+ DIFFERENT = "Different",
343
+ MISSING = "Missing",
344
+ NOT_SUPPORTED = "NotSupported",
345
+ UNAVAILABLE = "Unavailable"
346
+ }
347
+ export type SyncItemServerStatus = {
348
+ server: string;
349
+ name: string;
350
+ icon?: string | null;
351
+ status: SyncItemServerState;
352
+ canPull: boolean;
353
+ };
330
354
  export type SyncLocalItem = {
331
355
  id?: null | string;
332
356
  name?: null | string;
@@ -594,6 +618,7 @@ export type USyncPublishSettingsView = {
594
618
  serverName: string;
595
619
  serverAlias: string;
596
620
  isInList: boolean;
621
+ autoCheckServerStatus: boolean;
597
622
  };
598
623
  export type ApproveData = {
599
624
  body: PublisherApprovalDecisionModel;
@@ -1214,6 +1239,33 @@ export type HasMediaResponses = {
1214
1239
  200: boolean;
1215
1240
  };
1216
1241
  export type HasMediaResponse = HasMediaResponses[keyof HasMediaResponses];
1242
+ export type GetItemDetailsData = {
1243
+ body?: never;
1244
+ path?: never;
1245
+ query?: {
1246
+ id?: string;
1247
+ handler?: string;
1248
+ key?: string;
1249
+ };
1250
+ url: '/umbraco/usync/api/v1/Publisher/ItemDetails';
1251
+ };
1252
+ export type GetItemDetailsErrors = {
1253
+ /**
1254
+ * The resource is protected and requires an authentication token
1255
+ */
1256
+ 401: unknown;
1257
+ /**
1258
+ * Not Found
1259
+ */
1260
+ 404: unknown;
1261
+ };
1262
+ export type GetItemDetailsResponses = {
1263
+ /**
1264
+ * OK
1265
+ */
1266
+ 200: USyncActionView;
1267
+ };
1268
+ export type GetItemDetailsResponse = GetItemDetailsResponses[keyof GetItemDetailsResponses];
1217
1269
  export type GetPreviewData = {
1218
1270
  body?: never;
1219
1271
  path?: never;
@@ -1262,6 +1314,74 @@ export type GetVariantsResponses = {
1262
1314
  200: Array<SyncPublisherVariantsResult>;
1263
1315
  };
1264
1316
  export type GetVariantsResponse = GetVariantsResponses[keyof GetVariantsResponses];
1317
+ export type GetItemDependenciesData = {
1318
+ body?: never;
1319
+ path?: never;
1320
+ query?: {
1321
+ entityType?: string;
1322
+ key?: string;
1323
+ };
1324
+ url: '/umbraco/usync/api/v1/Publisher/GetItemDependencies';
1325
+ };
1326
+ export type GetItemDependenciesErrors = {
1327
+ /**
1328
+ * Bad Request
1329
+ */
1330
+ 400: unknown;
1331
+ /**
1332
+ * The resource is protected and requires an authentication token
1333
+ */
1334
+ 401: unknown;
1335
+ /**
1336
+ * Forbidden
1337
+ */
1338
+ 403: unknown;
1339
+ /**
1340
+ * Not Found
1341
+ */
1342
+ 404: unknown;
1343
+ };
1344
+ export type GetItemDependenciesResponses = {
1345
+ /**
1346
+ * OK
1347
+ */
1348
+ 200: Array<SyncItemDependencyGroup>;
1349
+ };
1350
+ export type GetItemDependenciesResponse = GetItemDependenciesResponses[keyof GetItemDependenciesResponses];
1351
+ export type GetItemServerStatusData = {
1352
+ body?: never;
1353
+ path?: never;
1354
+ query?: {
1355
+ entityType?: string;
1356
+ key?: string;
1357
+ };
1358
+ url: '/umbraco/usync/api/v1/Publisher/GetItemServerStatus';
1359
+ };
1360
+ export type GetItemServerStatusErrors = {
1361
+ /**
1362
+ * Bad Request
1363
+ */
1364
+ 400: unknown;
1365
+ /**
1366
+ * The resource is protected and requires an authentication token
1367
+ */
1368
+ 401: unknown;
1369
+ /**
1370
+ * Forbidden
1371
+ */
1372
+ 403: unknown;
1373
+ /**
1374
+ * Not Found
1375
+ */
1376
+ 404: unknown;
1377
+ };
1378
+ export type GetItemServerStatusResponses = {
1379
+ /**
1380
+ * OK
1381
+ */
1382
+ 200: Array<SyncItemServerStatus>;
1383
+ };
1384
+ export type GetItemServerStatusResponse = GetItemServerStatusResponses[keyof GetItemServerStatusResponses];
1265
1385
  export type CreateKeysData = {
1266
1386
  body?: never;
1267
1387
  path?: never;
@@ -2109,3 +2229,99 @@ export type GetTemplatesResponses = {
2109
2229
  200: Array<SyncServerTemplateModel>;
2110
2230
  };
2111
2231
  export type GetTemplatesResponse = GetTemplatesResponses[keyof GetTemplatesResponses];
2232
+ export type CreateTrustedServerData = {
2233
+ body?: CreateTrustedServerRequest;
2234
+ path?: never;
2235
+ query?: never;
2236
+ url: '/umbraco/usync/api/v1/Publisher/CreateTrustedServer';
2237
+ };
2238
+ export type CreateTrustedServerError = CreateTrustedServerErrors[keyof CreateTrustedServerErrors];
2239
+ export type CreateTrustedServerErrors = {
2240
+ /**
2241
+ * Bad Request
2242
+ */
2243
+ 400: ProblemDetails;
2244
+ /**
2245
+ * The resource is protected and requires an authentication token
2246
+ */
2247
+ 401: unknown;
2248
+ };
2249
+ export type CreateTrustedServerRequest = {
2250
+ name: string;
2251
+ senderAlias: string;
2252
+ keepSharedKey: boolean;
2253
+ };
2254
+ export type CreateTrustedServerResponse = CreateTrustedServerResponses[keyof CreateTrustedServerResponses];
2255
+ export type CreateTrustedServerResponses = {
2256
+ /**
2257
+ * OK
2258
+ */
2259
+ 200: CreateTrustedServerResult;
2260
+ };
2261
+ export type CreateTrustedServerResult = {
2262
+ saved: boolean;
2263
+ name: string;
2264
+ appId: string;
2265
+ appKey: string;
2266
+ senderJson: string;
2267
+ senderEnvironment: string;
2268
+ receiverJson: string;
2269
+ };
2270
+ export type GetTrustedServersData = {
2271
+ body?: never;
2272
+ path?: never;
2273
+ query?: never;
2274
+ url: '/umbraco/usync/api/v1/Publisher/TrustedServers';
2275
+ };
2276
+ export type GetTrustedServersErrors = {
2277
+ /**
2278
+ * The resource is protected and requires an authentication token
2279
+ */
2280
+ 401: unknown;
2281
+ };
2282
+ export type GetTrustedServersResponse = GetTrustedServersResponses[keyof GetTrustedServersResponses];
2283
+ export type GetTrustedServersResponses = {
2284
+ /**
2285
+ * OK
2286
+ */
2287
+ 200: TrustedServersView;
2288
+ };
2289
+ export type RemoveTrustedServerData = {
2290
+ body?: never;
2291
+ path?: never;
2292
+ query?: {
2293
+ name?: string;
2294
+ };
2295
+ url: '/umbraco/usync/api/v1/Publisher/TrustedServer';
2296
+ };
2297
+ export type RemoveTrustedServerErrors = {
2298
+ /**
2299
+ * The resource is protected and requires an authentication token
2300
+ */
2301
+ 401: unknown;
2302
+ };
2303
+ export type RemoveTrustedServerResponse = RemoveTrustedServerResponses[keyof RemoveTrustedServerResponses];
2304
+ export type RemoveTrustedServerResponses = {
2305
+ /**
2306
+ * OK
2307
+ */
2308
+ 200: RemoveTrustedServerResult;
2309
+ };
2310
+ export type RemoveTrustedServerResult = {
2311
+ removed: boolean;
2312
+ message?: string | null;
2313
+ };
2314
+ export type TrustedServerView = {
2315
+ name: string;
2316
+ appId?: string | null;
2317
+ problem?: string | null;
2318
+ lastSeen?: string | null;
2319
+ isSharedKey: boolean;
2320
+ };
2321
+ export type TrustedServersView = {
2322
+ usesTrustedServers: boolean;
2323
+ hasSharedKey: boolean;
2324
+ sharedKeyLastSeen?: string | null;
2325
+ suggestedSenderAlias?: string | null;
2326
+ servers: Array<TrustedServerView>;
2327
+ };
@@ -12,6 +12,7 @@ export declare class SyncPublisherBrowserRepository extends UmbControllerBase {
12
12
  calculateMediaChanges(server: string, udis: UdiModel[]): Promise<import("../api").SyncBrowserItemChange[]>;
13
13
  getContentEntity(id: string, server: string): Promise<import("../api").SplitEntityView>;
14
14
  getPreview(id: string, handler: string, key: string): Promise<import("../api").SyncItemPreviewResponse>;
15
+ getItemDetails(id: string, handler: string, key: string): Promise<import("../api").USyncActionView>;
15
16
  getMediaEntity(id: string, server: string): Promise<import("../api").SplitEntityView>;
16
17
  hasContent(): Promise<boolean>;
17
18
  hasMedia(): Promise<boolean>;
@@ -47,6 +47,15 @@ export declare class SyncPublisherBrowserSource {
47
47
  request: Request;
48
48
  response: Response;
49
49
  }>>;
50
+ /**
51
+ * the full change details the report made for an item (the pipeline keeps them with
52
+ * long values trimmed). a 404 once the pack has gone, so there's no notification.
53
+ */
54
+ getItemDetails(id: string, handler: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
55
+ data: import("../api").USyncActionView;
56
+ request: Request;
57
+ response: Response;
58
+ }>>;
50
59
  getMediaEntity(id: string, server: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
51
60
  data: import("../api").SplitEntityView;
52
61
  request: Request;
@@ -0,0 +1,4 @@
1
+ import type { USyncActionView } from '../api';
2
+ export declare const isTrimmedValue: (value?: string | null) => boolean;
3
+ /** does any of the item's change details have a trimmed value. */
4
+ export declare const hasTrimmedValues: (item?: USyncActionView | null) => boolean;
@@ -1,7 +1,9 @@
1
1
  import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
2
2
  import { USyncActionView } from '../../api';
3
3
  export declare class uSyncPublisherChangeDetailsElement extends UmbLitElement {
4
+ #private;
4
5
  item: USyncActionView | null | undefined;
5
6
  render(): import("lit-html").TemplateResult<1>;
7
+ static styles: import("lit").CSSResult;
6
8
  }
7
9
  export default uSyncPublisherChangeDetailsElement;
@@ -0,0 +1,29 @@
1
+ import { nothing } from '@umbraco-cms/backoffice/external/lit';
2
+ import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
3
+ /**
4
+ * the dependencies a push of an item would include, in their own box on its info tab.
5
+ *
6
+ * only for users with the uSync tree (settings or uSync section) - for anyone else the box
7
+ * isn't shown. nothing is fetched until the user asks (load), as the check can be slow on a
8
+ * big item; once loaded, the button reloads them.
9
+ */
10
+ export declare class uSyncPublisherDependenciesInfoAppElement extends UmbLitElement {
11
+ #private;
12
+ private _entityType?;
13
+ private _unique?;
14
+ private _loading;
15
+ private _failed;
16
+ private _groups?;
17
+ private _expanded;
18
+ private _hasTreeAccess;
19
+ private _workspaceRouteBuilder?;
20
+ constructor();
21
+ render(): typeof nothing | import("lit-html").TemplateResult<1>;
22
+ static styles: import("lit").CSSResult;
23
+ }
24
+ export default uSyncPublisherDependenciesInfoAppElement;
25
+ declare global {
26
+ interface HTMLElementTagNameMap {
27
+ 'usync-publisher-dependencies-info-app': uSyncPublisherDependenciesInfoAppElement;
28
+ }
29
+ }
@@ -0,0 +1,22 @@
1
+ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
2
+ import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
3
+ export declare class SyncPublisherDependenciesRepository extends UmbControllerBase {
4
+ #private;
5
+ constructor(host: UmbControllerHost);
6
+ /**
7
+ * the whole result (not just the data), so the panel can tell a failure from no dependencies.
8
+ */
9
+ getItemDependencies(entityType: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
10
+ data: import("../api").SyncItemDependencyGroup[];
11
+ request: Request;
12
+ response: Response;
13
+ }>>;
14
+ /**
15
+ * the whole result, so the panel can tell a failure from no servers.
16
+ */
17
+ getItemServerStatus(entityType: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
18
+ data: import("../api").SyncItemServerStatus[];
19
+ request: Request;
20
+ response: Response;
21
+ }>>;
22
+ }
@@ -0,0 +1,23 @@
1
+ import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
2
+ export declare class SyncPublisherDependenciesSource {
3
+ #private;
4
+ constructor(host: UmbControllerHost);
5
+ /**
6
+ * the dependencies a push of an item would include, grouped by type.
7
+ * the info panel shows its own error, so there's no notification.
8
+ */
9
+ getItemDependencies(entityType: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
10
+ data: import("../api").SyncItemDependencyGroup[];
11
+ request: Request;
12
+ response: Response;
13
+ }>>;
14
+ /**
15
+ * the item's status on each server the user can push to.
16
+ * the info panel shows its own error, so there's no notification.
17
+ */
18
+ getItemServerStatus(entityType: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
19
+ data: import("../api").SyncItemServerStatus[];
20
+ request: Request;
21
+ response: Response;
22
+ }>>;
23
+ }
@@ -0,0 +1 @@
1
+ export declare const manifests: UmbExtensionManifest[];
@@ -0,0 +1,25 @@
1
+ import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
2
+ /**
3
+ * the publisher box on a document or media item's info tab: how the item compares with each
4
+ * server, with the compare, push and pull from there.
5
+ *
6
+ * the check runs on the check button, or when the info tab opens if AutoCheckServerStatus is
7
+ * turned on in the publisher config (the box only exists while the tab is open).
8
+ */
9
+ export declare class uSyncPublisherServerStatusInfoAppElement extends UmbLitElement {
10
+ #private;
11
+ private _entityType?;
12
+ private _unique?;
13
+ private _loading;
14
+ private _failed;
15
+ private _statuses?;
16
+ constructor();
17
+ render(): import("lit-html").TemplateResult<1>;
18
+ static styles: import("lit").CSSResult;
19
+ }
20
+ export default uSyncPublisherServerStatusInfoAppElement;
21
+ declare global {
22
+ interface HTMLElementTagNameMap {
23
+ 'usync-publisher-server-status-info-app': uSyncPublisherServerStatusInfoAppElement;
24
+ }
25
+ }
@@ -58,9 +58,20 @@ declare const _default: {
58
58
  includeSharedDescription: string;
59
59
  sharedNotComparedHint: string;
60
60
  readOnlyFilesHint: string;
61
+ compiledViewsHint: string;
61
62
  noLangWarning: string;
62
63
  advanced: string;
63
64
  sync: string;
65
+ syncCheck: string;
66
+ syncCheckDescription: string;
67
+ syncCheckInSyncTitle: (pull: boolean) => "Nothing to pull" | "Nothing to push";
68
+ syncCheckInSync: (server: string, pull: boolean) => string;
69
+ syncCheckOutOfSyncTitle: (pull: boolean) => "Changes to pull" | "Changes to push";
70
+ syncCheckOutOfSync: (changes: number, server: string, pull: boolean) => string;
71
+ syncCheckShowChanges: string;
72
+ syncCheckChangesTitle: (server: string, pull: boolean) => string;
73
+ syncCheckFailedTitle: string;
74
+ syncCheckFailed: string;
64
75
  uiSettings: string;
65
76
  uiSettingsNote: string;
66
77
  syncButtons: string;
@@ -186,6 +197,10 @@ declare const _default: {
186
197
  visualTab: string;
187
198
  visualUnavailable: string;
188
199
  visualUnavailableDescription: string;
200
+ trimmedValuesHeadline: string;
201
+ trimmedValuesDescription: string;
202
+ trimmedValueOld: string;
203
+ trimmedValueNew: string;
189
204
  previewThisSite: string;
190
205
  previewCurrent: string;
191
206
  previewIncoming: string;
@@ -221,6 +236,7 @@ declare const _default: {
221
236
  restorePrompt: string;
222
237
  restorePromptDesc: string;
223
238
  ReadOnlyFiles: string;
239
+ CompiledViews: string;
224
240
  ILanguage: string;
225
241
  IDictionaryItem: string;
226
242
  IDataType: string;
@@ -245,6 +261,7 @@ declare const _default: {
245
261
  EntityContainer: string;
246
262
  IElement: string;
247
263
  PublicAccessEntry: string;
264
+ ItemRelations: string;
248
265
  XElement: string;
249
266
  seed: string;
250
267
  seedDisabled: string;
@@ -321,6 +338,64 @@ declare const _default: {
321
338
  detailViewNew: string;
322
339
  detailViewChanges: string;
323
340
  detailViewChangeSinlge: string;
341
+ publisherHeadline: string;
342
+ dependenciesHeadline: string;
343
+ dependenciesLoad: string;
344
+ dependenciesReload: string;
345
+ dependenciesLoading: string;
346
+ dependenciesNone: string;
347
+ dependenciesError: string;
348
+ dependenciesGroupDocumentType: string;
349
+ dependenciesGroupDataType: string;
350
+ dependenciesGroupMedia: string;
351
+ dependenciesGroupContent: string;
352
+ dependenciesGroupOther: string;
353
+ serverStatusCheck: string;
354
+ serverStatusCompare: string;
355
+ serverStatusView: string;
356
+ serverStatusActions: string;
357
+ serverStatusLoading: string;
358
+ serverStatusNone: string;
359
+ serverStatusError: string;
360
+ serverStatusUpToDate: string;
361
+ serverStatusDifferent: string;
362
+ serverStatusMissing: string;
363
+ serverStatusNotSupported: string;
364
+ serverStatusUnavailable: string;
365
+ trustedServers: string;
366
+ trustedServersTab: string;
367
+ trustedServersIntro: string;
368
+ trustedServersOpen: string;
369
+ trustedServersOpenNoKey: string;
370
+ trustedServersLocked: string;
371
+ trustedServersSharedLastSeen: string;
372
+ trustedServersNone: string;
373
+ trustedServerName: string;
374
+ trustedServerAppId: string;
375
+ trustedServerLastSeen: string;
376
+ trustedServerNotSeen: string;
377
+ trustedServerSharedKey: string;
378
+ trustedServerSharedKeyHint: string;
379
+ trustedServerNotUsable: string;
380
+ trustedServerAdd: string;
381
+ trustedServerRemove: string;
382
+ trustedServerRemoveConfirm: string;
383
+ trustedServerRemoveSharedConfirm: string;
384
+ trustedServerRemoveLastConfirm: string;
385
+ trustedServerRemoved: string;
386
+ trustedServerAddDescription: string;
387
+ trustedServerNameDescription: string;
388
+ trustedServerSenderAlias: string;
389
+ trustedServerSenderAliasDescription: string;
390
+ trustedServerKeepShared: string;
391
+ trustedServerKeepSharedDescription: string;
392
+ trustedServerCreate: string;
393
+ trustedServerCreatedTitle: string;
394
+ trustedServerKeyOnce: string;
395
+ trustedServerSenderConfig: string;
396
+ trustedServerSenderEnvironment: string;
397
+ trustedServerSavedHere: string;
398
+ trustedServerNotSavedHere: string;
324
399
  };
325
400
  };
326
401
  export default _default;
@@ -1,5 +1,7 @@
1
1
  export declare const USYNC_PUBLISHER_ADD_SERVER_MODAL_ALIAS = "usync.publisher.add.server.modal";
2
2
  export declare const USYNC_PUBLISHER_CONNECTED_SERVER_MODEL_ALIAS = "usync.publisher.connected.server.modal";
3
+ export declare const USYNC_PUBLISHER_ADD_TRUSTED_SERVER_MODAL_ALIAS = "usync.publisher.add.trusted.server.modal";
3
4
  export declare const USYNC_PUBLISHER_GENERATE_KEY_MODAL_ALIAS = "usync.publisher.generate.key.modal";
4
5
  export declare const USYNC_PUBLISHER_SERVER_JSON_MODAL_ALIAS = "usync.publisher.server.json.modal";
5
6
  export declare const USYNC_PUBLISHER_SYNC_SERVERS_MODAL_ALIAS = "usync.publisher.sync.servers.modal";
7
+ export declare const USYNC_PUBLISHER_SYNC_CHECK_CHANGES_MODAL_ALIAS = "usync.publisher.sync.check.changes.modal";
@@ -0,0 +1,20 @@
1
+ import { UmbModalBaseElement } from '@umbraco-cms/backoffice/modal';
2
+ import { SyncPublisherAddTrustedServerData, SyncPublisherAddTrustedServerValue } from './add-trusted-server.modal-token';
3
+ /**
4
+ * adds a trusted server: asks for its name, has this server make a key for it, and shows the
5
+ * sending server's config once. The key is never fetched again, so the result only lives here.
6
+ */
7
+ export declare class uSyncPublisherAddTrustedServerModalElement extends UmbModalBaseElement<SyncPublisherAddTrustedServerData, SyncPublisherAddTrustedServerValue> {
8
+ #private;
9
+ private _name;
10
+ private _senderAlias;
11
+ private _keepSharedKey;
12
+ private _working;
13
+ private _result?;
14
+ private _error?;
15
+ constructor();
16
+ connectedCallback(): void;
17
+ render(): import("lit-html").TemplateResult<1>;
18
+ static styles: import("lit").CSSResult;
19
+ }
20
+ export default uSyncPublisherAddTrustedServerModalElement;
@@ -0,0 +1,12 @@
1
+ import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
2
+ export type SyncPublisherAddTrustedServerData = {
3
+ /** the alias this server most likely has on the sending server */
4
+ senderAlias?: string | null;
5
+ /** offer to keep the shared key (only when this is the first trusted server) */
6
+ offerKeepSharedKey: boolean;
7
+ };
8
+ export type SyncPublisherAddTrustedServerValue = {
9
+ /** a trusted server was created, so the list needs reloading */
10
+ created: boolean;
11
+ };
12
+ export declare const USYNC_PUBLISHER_ADD_TRUSTED_SERVER_MODAL: UmbModalToken<SyncPublisherAddTrustedServerData, SyncPublisherAddTrustedServerValue>;
@@ -0,0 +1,11 @@
1
+ import { UmbModalBaseElement } from '@umbraco-cms/backoffice/modal';
2
+ import { SyncPublisherSyncCheckChangesData, SyncPublisherSyncCheckChangesValue } from './sync-check-changes.modal-token';
3
+ /**
4
+ * @description shows the differences a sync check found, in a sidebar so
5
+ * the sync view underneath keeps its layout.
6
+ */
7
+ export declare class uSyncPublisherSyncCheckChangesModalElement extends UmbModalBaseElement<SyncPublisherSyncCheckChangesData, SyncPublisherSyncCheckChangesValue> {
8
+ #private;
9
+ render(): import("lit-html").TemplateResult<1>;
10
+ }
11
+ export default uSyncPublisherSyncCheckChangesModalElement;
@@ -0,0 +1,12 @@
1
+ import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
2
+ import { USyncActionView } from '../../api';
3
+ export type SyncPublisherSyncCheckChangesData = {
4
+ /** server alias, used by the report to fetch item details */
5
+ server: string;
6
+ /** server name, for the headline */
7
+ serverName: string;
8
+ pull: boolean;
9
+ actions: USyncActionView[];
10
+ };
11
+ export type SyncPublisherSyncCheckChangesValue = {};
12
+ export declare const USYNC_PUBLISHER_SYNC_CHECK_CHANGES_MODAL: UmbModalToken<SyncPublisherSyncCheckChangesData, SyncPublisherSyncCheckChangesValue>;
@@ -2,7 +2,7 @@ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
2
2
  import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
3
3
  import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
4
4
  import { PublishMode, SyncPublishServerView, SyncServerTemplateModel, USyncPublishServerStatus } from '../api';
5
- import { USyncPublisherView } from '../api';
5
+ import { CreateTrustedServerRequest, USyncPublisherView } from '../api';
6
6
  /**
7
7
  * Context for getting and interacting with servers via uSyncPublisher
8
8
  * @abstract the servers context, lets you get and interrigate uSync.Publisher servers
@@ -94,6 +94,20 @@ export declare class SyncPublisherServersContext extends UmbControllerBase {
94
94
  * save an appid and appkey in the config.
95
95
  */
96
96
  saveKeys(appId: string, appKey: string): Promise<boolean>;
97
+ /**
98
+ * the servers this one accepts incoming requests from (never includes keys).
99
+ */
100
+ getTrustedServers(): Promise<import("../api").TrustedServersView>;
101
+ /**
102
+ * add a trusted server. The result holds its key, which isn't available again; the error
103
+ * holds the reason when the server refuses (it shows no notification for it).
104
+ */
105
+ createTrustedServer(request: CreateTrustedServerRequest): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
106
+ data: import("../api").CreateTrustedServerResult;
107
+ request: Request;
108
+ response: Response;
109
+ }>>;
110
+ removeTrustedServer(name: string): Promise<import("../api").RemoveTrustedServerResult>;
97
111
  }
98
112
  export default SyncPublisherServersContext;
99
113
  export declare const USYNC_PUBLISHER_SERVER_CONTEXT: UmbContextToken<SyncPublisherServersContext, SyncPublisherServersContext>;
@@ -1,6 +1,6 @@
1
1
  import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
2
2
  import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
3
- import { SyncPublishServerCopyView, SyncPublishServerView, PublishMode } from '../api';
3
+ import { CreateTrustedServerRequest, SyncPublishServerCopyView, SyncPublishServerView, PublishMode } from '../api';
4
4
  export declare class SyncPublisherServersRepository extends UmbControllerBase {
5
5
  #private;
6
6
  constructor(host: UmbControllerHost);
@@ -24,4 +24,12 @@ export declare class SyncPublisherServersRepository extends UmbControllerBase {
24
24
  createKeys(): Promise<import("../api").AppKeySetupResult>;
25
25
  saveKeys(appId: string, appKey: string): Promise<boolean>;
26
26
  getCurrentServer(): Promise<SyncPublishServerView | null>;
27
+ getTrustedServers(): Promise<import("../api").TrustedServersView>;
28
+ /** returns the error too: it carries the reason the server gave for refusing. */
29
+ createTrustedServer(request: CreateTrustedServerRequest): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
30
+ data: import("../api").CreateTrustedServerResult;
31
+ request: Request;
32
+ response: Response;
33
+ }>>;
34
+ removeTrustedServer(name: string): Promise<import("../api").RemoveTrustedServerResult>;
27
35
  }
@@ -1,5 +1,5 @@
1
1
  import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
2
- import { AppKeyView, SyncPublishAvailableServerRequest, SyncPublishServerCopyView, SyncPublishServerView } from '../api';
2
+ import { AppKeyView, CreateTrustedServerRequest, SyncPublishAvailableServerRequest, SyncPublishServerCopyView, SyncPublishServerView } from '../api';
3
3
  export declare class SyncPublisherServersSource {
4
4
  #private;
5
5
  constructor(host: UmbControllerHost);
@@ -105,4 +105,19 @@ export declare class SyncPublisherServersSource {
105
105
  request: Request;
106
106
  response: Response;
107
107
  }>>;
108
+ getTrustedServers(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
109
+ data: import("../api").TrustedServersView;
110
+ request: Request;
111
+ response: Response;
112
+ }>>;
113
+ createTrustedServer(request: CreateTrustedServerRequest): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
114
+ data: import("../api").CreateTrustedServerResult;
115
+ request: Request;
116
+ response: Response;
117
+ }>>;
118
+ removeTrustedServer(name: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
119
+ data: import("../api").RemoveTrustedServerResult;
120
+ request: Request;
121
+ response: Response;
122
+ }>>;
108
123
  }
@@ -0,0 +1,24 @@
1
+ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
2
+ import { PublishMode, USyncActionView } from '../../../../api';
3
+ export type uSyncPublisherSyncCheckResult = {
4
+ status: 'inSync';
5
+ mode: PublishMode;
6
+ } | {
7
+ status: 'outOfSync';
8
+ mode: PublishMode;
9
+ changes: number;
10
+ actions: USyncActionView[];
11
+ } | {
12
+ status: 'failed';
13
+ mode: PublishMode;
14
+ message?: string;
15
+ };
16
+ /**
17
+ * runs a settings pull (or push) against a server as far as the report, reads the
18
+ * change count and then clears the run - the same as cancelling the dialog at the
19
+ * report. Nothing is ever imported: the driver stops at the report step.
20
+ */
21
+ export declare class uSyncPublisherSyncCheckController extends UmbControllerBase {
22
+ #private;
23
+ check(server: string, mode: PublishMode, udis: string[]): Promise<uSyncPublisherSyncCheckResult>;
24
+ }
@@ -1,11 +1,18 @@
1
+ import { nothing } from '@umbraco-cms/backoffice/external/lit';
1
2
  import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
2
3
  import { SyncPublishServerView } from '../../../../api';
4
+ import { UUIButtonState } from '@umbraco-cms/backoffice/external/uui';
5
+ import { uSyncPublisherSyncCheckResult } from '../components/sync-check.controller';
3
6
  export declare class uSyncPublisherServerSyncElement extends UmbLitElement {
4
7
  #private;
5
8
  data?: SyncPublishServerView;
6
9
  _selectedEntities: string[];
10
+ _checkState?: UUIButtonState;
11
+ _checkResult?: uSyncPublisherSyncCheckResult;
7
12
  constructor();
8
13
  render(): import("lit-html").TemplateResult<1>;
14
+ renderCheckButton(): typeof nothing | import("lit-html").TemplateResult<1>;
15
+ renderCheckResult(result: uSyncPublisherSyncCheckResult): import("lit-html").TemplateResult<1>;
9
16
  renderButtons(): import("lit-html").TemplateResult<1>;
10
17
  static styles: import("lit").CSSResult[];
11
18
  }
@@ -0,0 +1,13 @@
1
+ import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
2
+ /**
3
+ * the servers this one accepts incoming requests from. Adding the first one locks the server
4
+ * down to that list; removing the last one opens it back up to the shared key.
5
+ */
6
+ export declare class uSyncPublisherServerRootTrustedElement extends UmbLitElement {
7
+ #private;
8
+ private _view?;
9
+ constructor();
10
+ render(): import("lit-html").TemplateResult<1>;
11
+ static styles: import("lit").CSSResult;
12
+ }
13
+ export default uSyncPublisherServerRootTrustedElement;
@@ -24,6 +24,12 @@ export declare class SyncPublishReportStepElement extends ProcessStepElementBase
24
24
  */
25
25
  private filesAreReadOnly;
26
26
  renderReadOnlyFilesHint(): import("lit-html").TemplateResult<1>;
27
+ /**
28
+ * a site with its views compiled into its build renders those, not view files,
29
+ * so it reports that view files differ instead of listing them as changes.
30
+ */
31
+ private viewsAreCompiled;
32
+ renderCompiledViewsHint(): import("lit-html").TemplateResult<1>;
27
33
  renderApprovalNote(): import("lit-html").TemplateResult<1>;
28
34
  renderRestorePointOption(): typeof nothing | import("lit-html").TemplateResult<1>;
29
35
  static styles: import("lit").CSSResult;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jumoo/usync-publisher-assets",
3
3
  "license": "Custom",
4
- "version": "18.4.0",
4
+ "version": "18.5.0",
5
5
  "type": "module",
6
6
  "description": "uSync.Publisher.Assets",
7
7
  "author": {
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@hey-api/openapi-ts": "^0.99.0",
37
- "@jumoo/processing": "https://registry.npmjs.org/@jumoo/processing/-/processing-18.3.2.tgz",
37
+ "@jumoo/processing": "https://registry.npmjs.org/@jumoo/processing/-/processing-18.3.4.tgz",
38
38
  "@jumoo/usync": "^18.3.1",
39
39
  "@jumoo/usync-expansions": "^18.0.0",
40
40
  "@umbraco-cms/backoffice": "^18.0.0",