@jumoo/usync-publisher-assets 18.3.0 → 18.4.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.
- package/dist/api/index.d.ts +1 -1
- package/dist/api/sdk.gen.d.ts +70 -69
- package/dist/api/types.gen.d.ts +41 -0
- package/dist/approvals/constants.d.ts +6 -0
- package/dist/batch-push/batch-push.repository.d.ts +15 -40
- package/dist/browsers/browser.repository.d.ts +12 -11
- package/dist/browsers/browser.source.d.ts +42 -88
- package/dist/change/details.modal.element.d.ts +16 -0
- package/dist/change/types.d.ts +7 -0
- package/dist/change/views/compare.element.d.ts +9 -1
- package/dist/constants.d.ts +6 -0
- package/dist/lang/files/en-us.d.ts +15 -0
- package/dist/servers/servers.context.d.ts +5 -5
- package/dist/servers/servers.repository.d.ts +19 -19
- package/dist/servers/servers.source.d.ts +79 -182
- package/dist/servers/tree/server-tree.data-source.d.ts +4 -4
- package/dist/servers/tree/sort-children-of.repository.d.ts +1 -1
- package/dist/settings/settings.repository.d.ts +5 -5
- package/dist/settings/settings.source.d.ts +15 -40
- package/dist/strategies/common/lang-step.element.d.ts +3 -0
- package/dist/strategies/common/report-step.element.d.ts +13 -0
- package/dist/strategies/components/report-view.d.ts +3 -0
- package/dist/strategies/strategy.context.d.ts +4 -4
- package/dist/strategies/strategy.repository.d.ts +15 -40
- package/package.json +49 -47
package/dist/api/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
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 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 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';
|
|
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';
|
package/dist/api/sdk.gen.d.ts
CHANGED
|
@@ -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, 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, 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';
|
|
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
|
|
@@ -14,94 +14,95 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
14
14
|
meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
|
|
15
15
|
};
|
|
16
16
|
export declare class ApprovalsService {
|
|
17
|
-
static approve<ThrowOnError extends boolean =
|
|
18
|
-
static decline<ThrowOnError extends boolean =
|
|
19
|
-
static getApproval<ThrowOnError extends boolean =
|
|
20
|
-
static getApprovalAccess<ThrowOnError extends boolean =
|
|
21
|
-
static getApprovalByPipeline<ThrowOnError extends boolean =
|
|
22
|
-
static getApprovalHistory<ThrowOnError extends boolean =
|
|
23
|
-
static getAwaitingApproval<ThrowOnError extends boolean =
|
|
24
|
-
static getAwaitingApprovalCount<ThrowOnError extends boolean =
|
|
25
|
-
static getMyRequests<ThrowOnError extends boolean =
|
|
26
|
-
static getServerApproval<ThrowOnError extends boolean =
|
|
27
|
-
static withdraw<ThrowOnError extends boolean =
|
|
17
|
+
static approve<ThrowOnError extends boolean = true>(options: Options<ApproveData, ThrowOnError>): RequestResult<ApproveResponses, ApproveErrors, ThrowOnError>;
|
|
18
|
+
static decline<ThrowOnError extends boolean = true>(options: Options<DeclineData, ThrowOnError>): RequestResult<DeclineResponses, DeclineErrors, ThrowOnError>;
|
|
19
|
+
static getApproval<ThrowOnError extends boolean = true>(options?: Options<GetApprovalData, ThrowOnError>): RequestResult<GetApprovalResponses, GetApprovalErrors, ThrowOnError>;
|
|
20
|
+
static getApprovalAccess<ThrowOnError extends boolean = true>(options?: Options<GetApprovalAccessData, ThrowOnError>): RequestResult<GetApprovalAccessResponses, GetApprovalAccessErrors, ThrowOnError>;
|
|
21
|
+
static getApprovalByPipeline<ThrowOnError extends boolean = true>(options?: Options<GetApprovalByPipelineData, ThrowOnError>): RequestResult<GetApprovalByPipelineResponses, GetApprovalByPipelineErrors, ThrowOnError>;
|
|
22
|
+
static getApprovalHistory<ThrowOnError extends boolean = true>(options?: Options<GetApprovalHistoryData, ThrowOnError>): RequestResult<GetApprovalHistoryResponses, GetApprovalHistoryErrors, ThrowOnError>;
|
|
23
|
+
static getAwaitingApproval<ThrowOnError extends boolean = true>(options?: Options<GetAwaitingApprovalData, ThrowOnError>): RequestResult<GetAwaitingApprovalResponses, GetAwaitingApprovalErrors, ThrowOnError>;
|
|
24
|
+
static getAwaitingApprovalCount<ThrowOnError extends boolean = true>(options?: Options<GetAwaitingApprovalCountData, ThrowOnError>): RequestResult<GetAwaitingApprovalCountResponses, GetAwaitingApprovalCountErrors, ThrowOnError>;
|
|
25
|
+
static getMyRequests<ThrowOnError extends boolean = true>(options?: Options<GetMyRequestsData, ThrowOnError>): RequestResult<GetMyRequestsResponses, GetMyRequestsErrors, ThrowOnError>;
|
|
26
|
+
static getServerApproval<ThrowOnError extends boolean = true>(options?: Options<GetServerApprovalData, ThrowOnError>): RequestResult<GetServerApprovalResponses, GetServerApprovalErrors, ThrowOnError>;
|
|
27
|
+
static withdraw<ThrowOnError extends boolean = true>(options: Options<WithdrawData, ThrowOnError>): RequestResult<WithdrawResponses, WithdrawErrors, ThrowOnError>;
|
|
28
28
|
}
|
|
29
29
|
export declare class BatchPushService {
|
|
30
|
-
static addToBatch<ThrowOnError extends boolean =
|
|
31
|
-
static clearBatch<ThrowOnError extends boolean =
|
|
32
|
-
static getBatch<ThrowOnError extends boolean =
|
|
33
|
-
static getBatchCount<ThrowOnError extends boolean =
|
|
34
|
-
static removeFromBatch<ThrowOnError extends boolean =
|
|
35
|
-
static setBatchIncludeChildren<ThrowOnError extends boolean =
|
|
30
|
+
static addToBatch<ThrowOnError extends boolean = true>(options: Options<AddToBatchData, ThrowOnError>): RequestResult<AddToBatchResponses, AddToBatchErrors, ThrowOnError>;
|
|
31
|
+
static clearBatch<ThrowOnError extends boolean = true>(options?: Options<ClearBatchData, ThrowOnError>): RequestResult<ClearBatchResponses, ClearBatchErrors, ThrowOnError>;
|
|
32
|
+
static getBatch<ThrowOnError extends boolean = true>(options?: Options<GetBatchData, ThrowOnError>): RequestResult<GetBatchResponses, GetBatchErrors, ThrowOnError>;
|
|
33
|
+
static getBatchCount<ThrowOnError extends boolean = true>(options?: Options<GetBatchCountData, ThrowOnError>): RequestResult<GetBatchCountResponses, GetBatchCountErrors, ThrowOnError>;
|
|
34
|
+
static removeFromBatch<ThrowOnError extends boolean = true>(options: Options<RemoveFromBatchData, ThrowOnError>): RequestResult<RemoveFromBatchResponses, RemoveFromBatchErrors, ThrowOnError>;
|
|
35
|
+
static setBatchIncludeChildren<ThrowOnError extends boolean = true>(options: Options<SetBatchIncludeChildrenData, ThrowOnError>): RequestResult<SetBatchIncludeChildrenResponses, SetBatchIncludeChildrenErrors, ThrowOnError>;
|
|
36
36
|
}
|
|
37
37
|
export declare class BrowserService {
|
|
38
|
-
static calculateContentChanges<ThrowOnError extends boolean =
|
|
39
|
-
static calculateMediaChanges<ThrowOnError extends boolean =
|
|
40
|
-
static getContentEntity<ThrowOnError extends boolean =
|
|
41
|
-
static getContentFolders<ThrowOnError extends boolean =
|
|
42
|
-
static getLocalContentFolders<ThrowOnError extends boolean =
|
|
43
|
-
static getLocalMediaFolders<ThrowOnError extends boolean =
|
|
44
|
-
static getMediaEntity<ThrowOnError extends boolean =
|
|
45
|
-
static getMediaFolders<ThrowOnError extends boolean =
|
|
46
|
-
static hasContent<ThrowOnError extends boolean =
|
|
47
|
-
static hasContentOrMedia<ThrowOnError extends boolean =
|
|
48
|
-
static hasMedia<ThrowOnError extends boolean =
|
|
38
|
+
static calculateContentChanges<ThrowOnError extends boolean = true>(options: Options<CalculateContentChangesData, ThrowOnError>): RequestResult<CalculateContentChangesResponses, CalculateContentChangesErrors, ThrowOnError>;
|
|
39
|
+
static calculateMediaChanges<ThrowOnError extends boolean = true>(options: Options<CalculateMediaChangesData, ThrowOnError>): RequestResult<CalculateMediaChangesResponses, CalculateMediaChangesErrors, ThrowOnError>;
|
|
40
|
+
static getContentEntity<ThrowOnError extends boolean = true>(options?: Options<GetContentEntityData, ThrowOnError>): RequestResult<GetContentEntityResponses, GetContentEntityErrors, ThrowOnError>;
|
|
41
|
+
static getContentFolders<ThrowOnError extends boolean = true>(options?: Options<GetContentFoldersData, ThrowOnError>): RequestResult<GetContentFoldersResponses, GetContentFoldersErrors, ThrowOnError>;
|
|
42
|
+
static getLocalContentFolders<ThrowOnError extends boolean = true>(options?: Options<GetLocalContentFoldersData, ThrowOnError>): RequestResult<GetLocalContentFoldersResponses, GetLocalContentFoldersErrors, ThrowOnError>;
|
|
43
|
+
static getLocalMediaFolders<ThrowOnError extends boolean = true>(options?: Options<GetLocalMediaFoldersData, ThrowOnError>): RequestResult<GetLocalMediaFoldersResponses, GetLocalMediaFoldersErrors, ThrowOnError>;
|
|
44
|
+
static getMediaEntity<ThrowOnError extends boolean = true>(options?: Options<GetMediaEntityData, ThrowOnError>): RequestResult<GetMediaEntityResponses, GetMediaEntityErrors, ThrowOnError>;
|
|
45
|
+
static getMediaFolders<ThrowOnError extends boolean = true>(options?: Options<GetMediaFoldersData, ThrowOnError>): RequestResult<GetMediaFoldersResponses, GetMediaFoldersErrors, ThrowOnError>;
|
|
46
|
+
static hasContent<ThrowOnError extends boolean = true>(options?: Options<HasContentData, ThrowOnError>): RequestResult<HasContentResponses, HasContentErrors, ThrowOnError>;
|
|
47
|
+
static hasContentOrMedia<ThrowOnError extends boolean = true>(options?: Options<HasContentOrMediaData, ThrowOnError>): RequestResult<HasContentOrMediaResponses, HasContentOrMediaErrors, ThrowOnError>;
|
|
48
|
+
static hasMedia<ThrowOnError extends boolean = true>(options?: Options<HasMediaData, ThrowOnError>): RequestResult<HasMediaResponses, HasMediaErrors, ThrowOnError>;
|
|
49
|
+
static getPreview<ThrowOnError extends boolean = true>(options?: Options<GetPreviewData, ThrowOnError>): RequestResult<GetPreviewResponses, GetPreviewErrors, ThrowOnError>;
|
|
49
50
|
}
|
|
50
51
|
export declare class ContentService {
|
|
51
|
-
static getVariants<ThrowOnError extends boolean =
|
|
52
|
+
static getVariants<ThrowOnError extends boolean = true>(options?: Options<GetVariantsData, ThrowOnError>): RequestResult<GetVariantsResponses, GetVariantsErrors, ThrowOnError>;
|
|
52
53
|
}
|
|
53
54
|
export declare class KeysService {
|
|
54
|
-
static createKeys<ThrowOnError extends boolean =
|
|
55
|
-
static hasKeys<ThrowOnError extends boolean =
|
|
56
|
-
static saveKeys<ThrowOnError extends boolean =
|
|
55
|
+
static createKeys<ThrowOnError extends boolean = true>(options?: Options<CreateKeysData, ThrowOnError>): RequestResult<CreateKeysResponses, CreateKeysErrors, ThrowOnError>;
|
|
56
|
+
static hasKeys<ThrowOnError extends boolean = true>(options?: Options<HasKeysData, ThrowOnError>): RequestResult<HasKeysResponses, HasKeysErrors, ThrowOnError>;
|
|
57
|
+
static saveKeys<ThrowOnError extends boolean = true>(options: Options<SaveKeysData, ThrowOnError>): RequestResult<SaveKeysResponses, SaveKeysErrors, ThrowOnError>;
|
|
57
58
|
}
|
|
58
59
|
export declare class PublishersService {
|
|
59
|
-
static getPublisher<ThrowOnError extends boolean =
|
|
60
|
-
static getPublishers<ThrowOnError extends boolean =
|
|
60
|
+
static getPublisher<ThrowOnError extends boolean = true>(options?: Options<GetPublisherData, ThrowOnError>): RequestResult<GetPublisherResponses, GetPublisherErrors, ThrowOnError>;
|
|
61
|
+
static getPublishers<ThrowOnError extends boolean = true>(options?: Options<GetPublishersData, ThrowOnError>): RequestResult<GetPublishersResponses, GetPublishersErrors, ThrowOnError>;
|
|
61
62
|
}
|
|
62
63
|
export declare class RunService {
|
|
63
|
-
static start<ThrowOnError extends boolean =
|
|
64
|
+
static start<ThrowOnError extends boolean = true>(options: Options<StartData, ThrowOnError>): RequestResult<StartResponses, StartErrors, ThrowOnError>;
|
|
64
65
|
}
|
|
65
66
|
export declare class SeedService {
|
|
66
|
-
static getSiteStatus<ThrowOnError extends boolean =
|
|
67
|
+
static getSiteStatus<ThrowOnError extends boolean = true>(options?: Options<GetSiteStatusData, ThrowOnError>): RequestResult<GetSiteStatusResponses, GetSiteStatusErrors, ThrowOnError>;
|
|
67
68
|
}
|
|
68
69
|
export declare class ServersService {
|
|
69
|
-
static addToAllServers<ThrowOnError extends boolean =
|
|
70
|
-
static checkServer<ThrowOnError extends boolean =
|
|
71
|
-
static checkServerSignalR<ThrowOnError extends boolean =
|
|
72
|
-
static checkServerUrl<ThrowOnError extends boolean =
|
|
73
|
-
static copyServer<ThrowOnError extends boolean =
|
|
74
|
-
static deleteServer<ThrowOnError extends boolean =
|
|
75
|
-
static getAllServers<ThrowOnError extends boolean =
|
|
76
|
-
static getAvailableServers<ThrowOnError extends boolean =
|
|
77
|
-
static getCurrentServer<ThrowOnError extends boolean =
|
|
78
|
-
static getServer<ThrowOnError extends boolean =
|
|
79
|
-
static getServerByUrl<ThrowOnError extends boolean =
|
|
80
|
-
static getServers<ThrowOnError extends boolean =
|
|
81
|
-
static saveServer<ThrowOnError extends boolean =
|
|
82
|
-
static setServerOrder<ThrowOnError extends boolean =
|
|
83
|
-
static getAncestors<ThrowOnError extends boolean =
|
|
84
|
-
static getChildren<ThrowOnError extends boolean =
|
|
85
|
-
static root<ThrowOnError extends boolean =
|
|
70
|
+
static addToAllServers<ThrowOnError extends boolean = true>(options?: Options<AddToAllServersData, ThrowOnError>): RequestResult<AddToAllServersResponses, AddToAllServersErrors, ThrowOnError>;
|
|
71
|
+
static checkServer<ThrowOnError extends boolean = true>(options?: Options<CheckServerData, ThrowOnError>): RequestResult<CheckServerResponses, CheckServerErrors, ThrowOnError>;
|
|
72
|
+
static checkServerSignalR<ThrowOnError extends boolean = true>(options?: Options<CheckServerSignalRData, ThrowOnError>): RequestResult<CheckServerSignalRResponses, CheckServerSignalRErrors, ThrowOnError>;
|
|
73
|
+
static checkServerUrl<ThrowOnError extends boolean = true>(options?: Options<CheckServerUrlData, ThrowOnError>): RequestResult<CheckServerUrlResponses, CheckServerUrlErrors, ThrowOnError>;
|
|
74
|
+
static copyServer<ThrowOnError extends boolean = true>(options: Options<CopyServerData, ThrowOnError>): RequestResult<CopyServerResponses, CopyServerErrors, ThrowOnError>;
|
|
75
|
+
static deleteServer<ThrowOnError extends boolean = true>(options?: Options<DeleteServerData, ThrowOnError>): RequestResult<DeleteServerResponses, DeleteServerErrors, ThrowOnError>;
|
|
76
|
+
static getAllServers<ThrowOnError extends boolean = true>(options?: Options<GetAllServersData, ThrowOnError>): RequestResult<GetAllServersResponses, GetAllServersErrors, ThrowOnError>;
|
|
77
|
+
static getAvailableServers<ThrowOnError extends boolean = true>(options: Options<GetAvailableServersData, ThrowOnError>): RequestResult<GetAvailableServersResponses, GetAvailableServersErrors, ThrowOnError>;
|
|
78
|
+
static getCurrentServer<ThrowOnError extends boolean = true>(options?: Options<GetCurrentServerData, ThrowOnError>): RequestResult<GetCurrentServerResponses, GetCurrentServerErrors, ThrowOnError>;
|
|
79
|
+
static getServer<ThrowOnError extends boolean = true>(options?: Options<GetServerData, ThrowOnError>): RequestResult<GetServerResponses, GetServerErrors, ThrowOnError>;
|
|
80
|
+
static getServerByUrl<ThrowOnError extends boolean = true>(options?: Options<GetServerByUrlData, ThrowOnError>): RequestResult<GetServerByUrlResponses, GetServerByUrlErrors, ThrowOnError>;
|
|
81
|
+
static getServers<ThrowOnError extends boolean = true>(options?: Options<GetServersData, ThrowOnError>): RequestResult<GetServersResponses, GetServersErrors, ThrowOnError>;
|
|
82
|
+
static saveServer<ThrowOnError extends boolean = true>(options: Options<SaveServerData, ThrowOnError>): RequestResult<SaveServerResponses, SaveServerErrors, ThrowOnError>;
|
|
83
|
+
static setServerOrder<ThrowOnError extends boolean = true>(options: Options<SetServerOrderData, ThrowOnError>): RequestResult<SetServerOrderResponses, SetServerOrderErrors, ThrowOnError>;
|
|
84
|
+
static getAncestors<ThrowOnError extends boolean = true>(options?: Options<GetAncestorsData, ThrowOnError>): RequestResult<GetAncestorsResponses, GetAncestorsErrors, ThrowOnError>;
|
|
85
|
+
static getChildren<ThrowOnError extends boolean = true>(options?: Options<GetChildrenData, ThrowOnError>): RequestResult<GetChildrenResponses, GetChildrenErrors, ThrowOnError>;
|
|
86
|
+
static root<ThrowOnError extends boolean = true>(options?: Options<RootData, ThrowOnError>): RequestResult<RootResponses, RootErrors, ThrowOnError>;
|
|
86
87
|
}
|
|
87
88
|
export declare class SettingsService {
|
|
88
|
-
static getButtons<ThrowOnError extends boolean =
|
|
89
|
-
static getDescendantCount<ThrowOnError extends boolean =
|
|
90
|
-
static getSettings<ThrowOnError extends boolean =
|
|
91
|
-
static getUserGroups<ThrowOnError extends boolean =
|
|
92
|
-
static reloadSettings<ThrowOnError extends boolean =
|
|
93
|
-
static saveSettings<ThrowOnError extends boolean =
|
|
94
|
-
static syncSettings<ThrowOnError extends boolean =
|
|
89
|
+
static getButtons<ThrowOnError extends boolean = true>(options?: Options<GetButtonsData, ThrowOnError>): RequestResult<GetButtonsResponses, GetButtonsErrors, ThrowOnError>;
|
|
90
|
+
static getDescendantCount<ThrowOnError extends boolean = true>(options?: Options<GetDescendantCountData, ThrowOnError>): RequestResult<GetDescendantCountResponses, GetDescendantCountErrors, ThrowOnError>;
|
|
91
|
+
static getSettings<ThrowOnError extends boolean = true>(options?: Options<GetSettingsData, ThrowOnError>): RequestResult<GetSettingsResponses, GetSettingsErrors, ThrowOnError>;
|
|
92
|
+
static getUserGroups<ThrowOnError extends boolean = true>(options?: Options<GetUserGroupsData, ThrowOnError>): RequestResult<GetUserGroupsResponses, GetUserGroupsErrors, ThrowOnError>;
|
|
93
|
+
static reloadSettings<ThrowOnError extends boolean = true>(options?: Options<ReloadSettingsData, ThrowOnError>): RequestResult<ReloadSettingsResponses, ReloadSettingsErrors, ThrowOnError>;
|
|
94
|
+
static saveSettings<ThrowOnError extends boolean = true>(options: Options<SaveSettingsData, ThrowOnError>): RequestResult<SaveSettingsResponses, SaveSettingsErrors, ThrowOnError>;
|
|
95
|
+
static syncSettings<ThrowOnError extends boolean = true>(options: Options<SyncSettingsData, ThrowOnError>): RequestResult<SyncSettingsResponses, SyncSettingsErrors, ThrowOnError>;
|
|
95
96
|
}
|
|
96
97
|
export declare class StrategyService {
|
|
97
|
-
static getActionView<ThrowOnError extends boolean =
|
|
98
|
-
static getServerByAlias<ThrowOnError extends boolean =
|
|
99
|
-
static getStrategyByPublisher<ThrowOnError extends boolean =
|
|
100
|
-
static getStrategyByServer<ThrowOnError extends boolean =
|
|
101
|
-
static getSyncItem<ThrowOnError extends boolean =
|
|
102
|
-
static getProcessingOptions<ThrowOnError extends boolean =
|
|
103
|
-
static getSyncSendOptionsByMode<ThrowOnError extends boolean =
|
|
98
|
+
static getActionView<ThrowOnError extends boolean = true>(options?: Options<GetActionViewData, ThrowOnError>): RequestResult<GetActionViewResponses, GetActionViewErrors, ThrowOnError>;
|
|
99
|
+
static getServerByAlias<ThrowOnError extends boolean = true>(options?: Options<GetServerByAliasData, ThrowOnError>): RequestResult<GetServerByAliasResponses, GetServerByAliasErrors, ThrowOnError>;
|
|
100
|
+
static getStrategyByPublisher<ThrowOnError extends boolean = true>(options?: Options<GetStrategyByPublisherData, ThrowOnError>): RequestResult<GetStrategyByPublisherResponses, GetStrategyByPublisherErrors, ThrowOnError>;
|
|
101
|
+
static getStrategyByServer<ThrowOnError extends boolean = true>(options?: Options<GetStrategyByServerData, ThrowOnError>): RequestResult<GetStrategyByServerResponses, GetStrategyByServerErrors, ThrowOnError>;
|
|
102
|
+
static getSyncItem<ThrowOnError extends boolean = true>(options?: Options<GetSyncItemData, ThrowOnError>): RequestResult<GetSyncItemResponses, GetSyncItemErrors, ThrowOnError>;
|
|
103
|
+
static getProcessingOptions<ThrowOnError extends boolean = true>(options?: Options<GetProcessingOptionsData, ThrowOnError>): RequestResult<GetProcessingOptionsResponses, GetProcessingOptionsErrors, ThrowOnError>;
|
|
104
|
+
static getSyncSendOptionsByMode<ThrowOnError extends boolean = true>(options?: Options<GetSyncSendOptionsByModeData, ThrowOnError>): RequestResult<GetSyncSendOptionsByModeResponses, GetSyncSendOptionsByModeErrors, ThrowOnError>;
|
|
104
105
|
}
|
|
105
106
|
export declare class TemplatesService {
|
|
106
|
-
static getTemplates<ThrowOnError extends boolean =
|
|
107
|
+
static getTemplates<ThrowOnError extends boolean = true>(options?: Options<GetTemplatesData, ThrowOnError>): RequestResult<GetTemplatesResponses, GetTemplatesErrors, ThrowOnError>;
|
|
107
108
|
}
|
package/dist/api/types.gen.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export declare enum ChangeType {
|
|
|
70
70
|
export type CustomPublisherOptions = {
|
|
71
71
|
releaseDate?: null | string;
|
|
72
72
|
approvalNote?: null | string;
|
|
73
|
+
includeSharedValues?: null | boolean;
|
|
73
74
|
};
|
|
74
75
|
export type DependencyFlags = string;
|
|
75
76
|
export type FlagModel = {
|
|
@@ -207,6 +208,7 @@ export type PublisherProcessingOptions = {
|
|
|
207
208
|
custom?: null | CustomPublisherOptions;
|
|
208
209
|
cultures?: null | Array<string>;
|
|
209
210
|
sourceAction: SyncProcessingSourceAction;
|
|
211
|
+
batchItems?: null | Array<string>;
|
|
210
212
|
sourceSendSettings?: null | PublisherSyncSendOptions;
|
|
211
213
|
};
|
|
212
214
|
export type PublisherStartItem = {
|
|
@@ -314,6 +316,17 @@ export type SyncItem = {
|
|
|
314
316
|
udi: UdiModel;
|
|
315
317
|
entityType: null | string;
|
|
316
318
|
};
|
|
319
|
+
export type SyncItemPreviewResponse = {
|
|
320
|
+
key: string;
|
|
321
|
+
handler: string;
|
|
322
|
+
itemType: string;
|
|
323
|
+
entityType: string;
|
|
324
|
+
isDelete: boolean;
|
|
325
|
+
success: boolean;
|
|
326
|
+
message?: null | string;
|
|
327
|
+
preview?: unknown;
|
|
328
|
+
details: Array<USyncChange>;
|
|
329
|
+
};
|
|
317
330
|
export type SyncLocalItem = {
|
|
318
331
|
id?: null | string;
|
|
319
332
|
name?: null | string;
|
|
@@ -359,6 +372,7 @@ export type SyncPublisherOptions = {
|
|
|
359
372
|
removeOrphans: boolean;
|
|
360
373
|
includeFiles: boolean;
|
|
361
374
|
includeFileHash: boolean;
|
|
375
|
+
fileHashEntityTypes: Array<string>;
|
|
362
376
|
includeContent: boolean;
|
|
363
377
|
includeSystemFileHash: boolean;
|
|
364
378
|
includeSystemFiles: boolean;
|
|
@@ -1200,6 +1214,33 @@ export type HasMediaResponses = {
|
|
|
1200
1214
|
200: boolean;
|
|
1201
1215
|
};
|
|
1202
1216
|
export type HasMediaResponse = HasMediaResponses[keyof HasMediaResponses];
|
|
1217
|
+
export type GetPreviewData = {
|
|
1218
|
+
body?: never;
|
|
1219
|
+
path?: never;
|
|
1220
|
+
query?: {
|
|
1221
|
+
id?: string;
|
|
1222
|
+
handler?: string;
|
|
1223
|
+
key?: string;
|
|
1224
|
+
};
|
|
1225
|
+
url: '/umbraco/usync/api/v1/Publisher/Preview';
|
|
1226
|
+
};
|
|
1227
|
+
export type GetPreviewErrors = {
|
|
1228
|
+
/**
|
|
1229
|
+
* The resource is protected and requires an authentication token
|
|
1230
|
+
*/
|
|
1231
|
+
401: unknown;
|
|
1232
|
+
/**
|
|
1233
|
+
* Not Found
|
|
1234
|
+
*/
|
|
1235
|
+
404: unknown;
|
|
1236
|
+
};
|
|
1237
|
+
export type GetPreviewResponses = {
|
|
1238
|
+
/**
|
|
1239
|
+
* OK
|
|
1240
|
+
*/
|
|
1241
|
+
200: SyncItemPreviewResponse;
|
|
1242
|
+
};
|
|
1243
|
+
export type GetPreviewResponse = GetPreviewResponses[keyof GetPreviewResponses];
|
|
1203
1244
|
export type GetVariantsData = {
|
|
1204
1245
|
body?: never;
|
|
1205
1246
|
path?: never;
|
|
@@ -7,6 +7,12 @@ export declare const USYNC_APPROVALS_IN_USE_CONDITION_ALIAS = "usync.publisher.a
|
|
|
7
7
|
* only content pushes and pulls are gated (matches PublisherApprovalRules.IsGatedMode).
|
|
8
8
|
*/
|
|
9
9
|
export declare function isApprovalMode(mode?: PublishMode | null): mode is PublishMode.PUSH | PublishMode.PULL;
|
|
10
|
+
/**
|
|
11
|
+
* settings pushed from the settings tree are push or pull runs too, so the items decide:
|
|
12
|
+
* a run is gated when any of them is content, media or a member, or none has a type
|
|
13
|
+
* (matches PublisherApprovalRules.IsGated).
|
|
14
|
+
*/
|
|
15
|
+
export declare function isApprovalRun(mode?: PublishMode | null, entityTypes?: Array<string | null | undefined>): boolean;
|
|
10
16
|
export declare function approvalStatusColor(status: PublisherApprovalStatus): "default" | "positive" | "warning" | "danger";
|
|
11
17
|
export declare const ApprovalDateOptions: Intl.DateTimeFormatOptions;
|
|
12
18
|
/**
|
|
@@ -4,54 +4,29 @@ import { BatchPushItemRequest } from '../api';
|
|
|
4
4
|
* the current user's batch.
|
|
5
5
|
*/
|
|
6
6
|
export declare class uSyncBatchPushRepository extends UmbControllerBase {
|
|
7
|
-
getBatch(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
7
|
+
getBatch(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
8
8
|
data: import("../api").BatchPushModel;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
data: undefined;
|
|
12
|
-
error: unknown;
|
|
13
|
-
}) & {
|
|
14
|
-
request?: Request;
|
|
15
|
-
response?: Response;
|
|
9
|
+
request: Request;
|
|
10
|
+
response: Response;
|
|
16
11
|
}>>;
|
|
17
|
-
add(items: BatchPushItemRequest[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
12
|
+
add(items: BatchPushItemRequest[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
18
13
|
data: import("../api").BatchPushAddResult;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
data: undefined;
|
|
22
|
-
error: unknown;
|
|
23
|
-
}) & {
|
|
24
|
-
request?: Request;
|
|
25
|
-
response?: Response;
|
|
14
|
+
request: Request;
|
|
15
|
+
response: Response;
|
|
26
16
|
}>>;
|
|
27
|
-
setIncludeChildren(udi: string, includeChildren: boolean): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
17
|
+
setIncludeChildren(udi: string, includeChildren: boolean): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
28
18
|
data: unknown;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
data: undefined;
|
|
32
|
-
error: unknown;
|
|
33
|
-
}) & {
|
|
34
|
-
request?: Request;
|
|
35
|
-
response?: Response;
|
|
19
|
+
request: Request;
|
|
20
|
+
response: Response;
|
|
36
21
|
}>>;
|
|
37
|
-
remove(udis: string[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
22
|
+
remove(udis: string[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
38
23
|
data: string | number;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
data: undefined;
|
|
42
|
-
error: unknown;
|
|
43
|
-
}) & {
|
|
44
|
-
request?: Request;
|
|
45
|
-
response?: Response;
|
|
24
|
+
request: Request;
|
|
25
|
+
response: Response;
|
|
46
26
|
}>>;
|
|
47
|
-
clear(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
27
|
+
clear(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
48
28
|
data: string | number;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
data: undefined;
|
|
52
|
-
error: unknown;
|
|
53
|
-
}) & {
|
|
54
|
-
request?: Request;
|
|
55
|
-
response?: Response;
|
|
29
|
+
request: Request;
|
|
30
|
+
response: Response;
|
|
56
31
|
}>>;
|
|
57
32
|
}
|
|
@@ -4,15 +4,16 @@ import { UdiModel } from '../api';
|
|
|
4
4
|
export declare class SyncPublisherBrowserRepository extends UmbControllerBase {
|
|
5
5
|
#private;
|
|
6
6
|
constructor(host: UmbControllerHost);
|
|
7
|
-
getContentFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("../api").USyncItemFolder
|
|
8
|
-
getMediaFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("../api").USyncItemFolder
|
|
9
|
-
getLocalContentFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("../api").USyncItemFolder
|
|
10
|
-
getLocalMediaFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("../api").USyncItemFolder
|
|
11
|
-
calculateContentChanges(server: string, udis: UdiModel[]): Promise<import("../api").SyncBrowserItemChange[]
|
|
12
|
-
calculateMediaChanges(server: string, udis: UdiModel[]): Promise<import("../api").SyncBrowserItemChange[]
|
|
13
|
-
getContentEntity(id: string, server: string): Promise<import("../api").SplitEntityView
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
getContentFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("../api").USyncItemFolder>;
|
|
8
|
+
getMediaFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("../api").USyncItemFolder>;
|
|
9
|
+
getLocalContentFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("../api").USyncItemFolder>;
|
|
10
|
+
getLocalMediaFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("../api").USyncItemFolder>;
|
|
11
|
+
calculateContentChanges(server: string, udis: UdiModel[]): Promise<import("../api").SyncBrowserItemChange[]>;
|
|
12
|
+
calculateMediaChanges(server: string, udis: UdiModel[]): Promise<import("../api").SyncBrowserItemChange[]>;
|
|
13
|
+
getContentEntity(id: string, server: string): Promise<import("../api").SplitEntityView>;
|
|
14
|
+
getPreview(id: string, handler: string, key: string): Promise<import("../api").SyncItemPreviewResponse>;
|
|
15
|
+
getMediaEntity(id: string, server: string): Promise<import("../api").SplitEntityView>;
|
|
16
|
+
hasContent(): Promise<boolean>;
|
|
17
|
+
hasMedia(): Promise<boolean>;
|
|
18
|
+
hasContentOrMedia(checkEnabled?: boolean): Promise<boolean>;
|
|
18
19
|
}
|
|
@@ -3,114 +3,68 @@ import { UdiModel } from '../api';
|
|
|
3
3
|
export declare class SyncPublisherBrowserSource {
|
|
4
4
|
#private;
|
|
5
5
|
constructor(host: UmbControllerHost);
|
|
6
|
-
getContentFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
6
|
+
getContentFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
7
7
|
data: import("../api").USyncItemFolder;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
data: undefined;
|
|
11
|
-
error: unknown;
|
|
12
|
-
}) & {
|
|
13
|
-
request?: Request;
|
|
14
|
-
response?: Response;
|
|
8
|
+
request: Request;
|
|
9
|
+
response: Response;
|
|
15
10
|
}>>;
|
|
16
|
-
getMediaFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
11
|
+
getMediaFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
17
12
|
data: import("../api").USyncItemFolder;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
data: undefined;
|
|
21
|
-
error: unknown;
|
|
22
|
-
}) & {
|
|
23
|
-
request?: Request;
|
|
24
|
-
response?: Response;
|
|
13
|
+
request: Request;
|
|
14
|
+
response: Response;
|
|
25
15
|
}>>;
|
|
26
|
-
getLocalContentFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
16
|
+
getLocalContentFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
27
17
|
data: import("../api").USyncItemFolder;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
data: undefined;
|
|
31
|
-
error: unknown;
|
|
32
|
-
}) & {
|
|
33
|
-
request?: Request;
|
|
34
|
-
response?: Response;
|
|
18
|
+
request: Request;
|
|
19
|
+
response: Response;
|
|
35
20
|
}>>;
|
|
36
|
-
getLocalMediaFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
21
|
+
getLocalMediaFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
37
22
|
data: import("../api").USyncItemFolder;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
data: undefined;
|
|
41
|
-
error: unknown;
|
|
42
|
-
}) & {
|
|
43
|
-
request?: Request;
|
|
44
|
-
response?: Response;
|
|
23
|
+
request: Request;
|
|
24
|
+
response: Response;
|
|
45
25
|
}>>;
|
|
46
|
-
calculateContentChanges(server: string, udis: UdiModel[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
26
|
+
calculateContentChanges(server: string, udis: UdiModel[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
47
27
|
data: import("../api").SyncBrowserItemChange[];
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
data: undefined;
|
|
51
|
-
error: unknown;
|
|
52
|
-
}) & {
|
|
53
|
-
request?: Request;
|
|
54
|
-
response?: Response;
|
|
28
|
+
request: Request;
|
|
29
|
+
response: Response;
|
|
55
30
|
}>>;
|
|
56
|
-
calculateMediaChanges(server: string, udis: UdiModel[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
31
|
+
calculateMediaChanges(server: string, udis: UdiModel[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
57
32
|
data: import("../api").SyncBrowserItemChange[];
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
data: undefined;
|
|
61
|
-
error: unknown;
|
|
62
|
-
}) & {
|
|
63
|
-
request?: Request;
|
|
64
|
-
response?: Response;
|
|
33
|
+
request: Request;
|
|
34
|
+
response: Response;
|
|
65
35
|
}>>;
|
|
66
|
-
getContentEntity(id: string, server: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
36
|
+
getContentEntity(id: string, server: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
67
37
|
data: import("../api").SplitEntityView;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
data: undefined;
|
|
71
|
-
error: unknown;
|
|
72
|
-
}) & {
|
|
73
|
-
request?: Request;
|
|
74
|
-
response?: Response;
|
|
38
|
+
request: Request;
|
|
39
|
+
response: Response;
|
|
75
40
|
}>>;
|
|
76
|
-
|
|
41
|
+
/**
|
|
42
|
+
* what the push or pull a pipeline reported on would do to an item.
|
|
43
|
+
* handlers (and servers) without previews return a 404, so there's no notification.
|
|
44
|
+
*/
|
|
45
|
+
getPreview(id: string, handler: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
46
|
+
data: import("../api").SyncItemPreviewResponse;
|
|
47
|
+
request: Request;
|
|
48
|
+
response: Response;
|
|
49
|
+
}>>;
|
|
50
|
+
getMediaEntity(id: string, server: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
77
51
|
data: import("../api").SplitEntityView;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
data: undefined;
|
|
81
|
-
error: unknown;
|
|
82
|
-
}) & {
|
|
83
|
-
request?: Request;
|
|
84
|
-
response?: Response;
|
|
52
|
+
request: Request;
|
|
53
|
+
response: Response;
|
|
85
54
|
}>>;
|
|
86
|
-
hasContent(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
55
|
+
hasContent(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
87
56
|
data: boolean;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
data: undefined;
|
|
91
|
-
error: unknown;
|
|
92
|
-
}) & {
|
|
93
|
-
request?: Request;
|
|
94
|
-
response?: Response;
|
|
57
|
+
request: Request;
|
|
58
|
+
response: Response;
|
|
95
59
|
}>>;
|
|
96
|
-
hasMedia(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
60
|
+
hasMedia(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
97
61
|
data: boolean;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
data: undefined;
|
|
101
|
-
error: unknown;
|
|
102
|
-
}) & {
|
|
103
|
-
request?: Request;
|
|
104
|
-
response?: Response;
|
|
62
|
+
request: Request;
|
|
63
|
+
response: Response;
|
|
105
64
|
}>>;
|
|
106
|
-
hasContentOrMedia(checkEnabled: boolean): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
65
|
+
hasContentOrMedia(checkEnabled: boolean): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
107
66
|
data: boolean;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
data: undefined;
|
|
111
|
-
error: unknown;
|
|
112
|
-
}) & {
|
|
113
|
-
request?: Request;
|
|
114
|
-
response?: Response;
|
|
67
|
+
request: Request;
|
|
68
|
+
response: Response;
|
|
115
69
|
}>>;
|
|
116
70
|
}
|