@jumoo/usync 17.5.3-prerelease.16 → 18.2.1
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/client.gen.js +1 -1
- package/dist/api/index.d.ts +2 -3
- package/dist/api/index.js +1 -2
- package/dist/api/sdk.gen.d.ts +18 -31
- package/dist/api/sdk.gen.js +93 -152
- package/dist/api/types.gen.d.ts +113 -152
- package/dist/components/usync-action-box.js +15 -5
- package/dist/components/usync-progress-box.js +13 -5
- package/dist/components/usync-result-row.js +4 -0
- package/dist/components/usync-results-group-view.js +11 -3
- package/dist/components/usync-results-view.js +6 -13
- package/dist/constants.js +1 -1
- package/dist/dialogs/details-modal-element.d.ts +0 -15
- package/dist/dialogs/details-modal-element.js +19 -219
- package/dist/dialogs/details-modal-token.d.ts +1 -10
- package/dist/dialogs/error-modal-element.js +1 -0
- package/dist/dialogs/single-import-modal.element.js +2 -1
- package/dist/exports.d.ts +0 -1
- package/dist/exports.js +0 -1
- package/dist/lang/files/da-dk.d.ts +0 -37
- package/dist/lang/files/da-dk.js +0 -37
- package/dist/lang/files/de-de.d.ts +0 -37
- package/dist/lang/files/de-de.js +0 -37
- package/dist/lang/files/en-us.d.ts +1 -50
- package/dist/lang/files/en-us.js +1 -50
- package/dist/lang/files/es-es.d.ts +0 -37
- package/dist/lang/files/es-es.js +0 -37
- package/dist/lang/files/fr-fr.d.ts +0 -37
- package/dist/lang/files/fr-fr.js +0 -37
- package/dist/lang/files/nl-nl.d.ts +0 -37
- package/dist/lang/files/nl-nl.js +0 -37
- package/dist/manifests.js +0 -2
- package/dist/repository/SyncAction.respositoy.d.ts +34 -22
- package/dist/repository/SyncAction.respositoy.js +0 -6
- package/dist/repository/sources/SyncAction.source.d.ts +33 -18
- package/dist/repository/sources/SyncAction.source.js +9 -14
- package/dist/repository/sources/SyncMigration.source.js +4 -4
- package/dist/repository/sources/SyncSettings.source.d.ts +16 -6
- package/dist/repository/sources/SyncSettings.source.js +5 -5
- package/dist/workspace/components/usync-action-button.d.ts +3 -2
- package/dist/workspace/components/usync-action-button.js +35 -27
- package/dist/workspace/views/default/default.element.js +2 -2
- package/dist/workspace/workspace.context.d.ts +10 -5
- package/package.json +10 -3
- package/dist/components/usync-content-preview.d.ts +0 -27
- package/dist/components/usync-content-preview.js +0 -532
- package/dist/components/usync-content-type-preview.d.ts +0 -25
- package/dist/components/usync-content-type-preview.js +0 -530
- package/dist/components/usync-data-type-preview.d.ts +0 -21
- package/dist/components/usync-data-type-preview.js +0 -295
- package/dist/preview/index.d.ts +0 -1
- package/dist/preview/index.js +0 -1
- package/dist/preview/manifest.d.ts +0 -2
- package/dist/preview/manifest.js +0 -22
- package/dist/preview/types.d.ts +0 -72
- package/dist/preview/types.js +0 -2
- package/dist/utils/preview/content-type-diff.d.ts +0 -18
- package/dist/utils/preview/content-type-diff.js +0 -72
- package/dist/utils/preview/content-type-layout.d.ts +0 -39
- package/dist/utils/preview/content-type-layout.js +0 -100
package/dist/api/client.gen.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { createClient, createConfig } from './client';
|
|
3
|
-
export const client = createClient(createConfig({ baseUrl: '
|
|
3
|
+
export const client = createClient(createConfig({ baseUrl: 'https://localhost:44304/' }));
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export { ChangeDetailType, ChangeType, type CheckLegacyData, type CheckLegacyErrors, type CheckLegacyResponse, type CheckLegacyResponses, type ClientOptions, type CopyLegacyData, type CopyLegacyErrors, type CopyLegacyResponse, type CopyLegacyResponses, type DownloadData, type DownloadErrors, type DownloadResponse, type DownloadResponses, type GetActionsBySetData, type GetActionsBySetErrors, type GetActionsBySetResponse, type GetActionsBySetResponses, type GetActionsData, type GetActionsErrors, type GetActionsResponse, type GetActionsResponses, type GetAddOnsData, type GetAddOnsErrors, type GetAddonSplashData, type GetAddonSplashErrors, type GetAddonSplashResponse, type GetAddonSplashResponses, type GetAddOnsResponse, type GetAddOnsResponses, type GetHandlerSetSettingsData, type GetHandlerSetSettingsErrors, type GetHandlerSetSettingsResponse, type GetHandlerSetSettingsResponses, type GetPreviewData, type GetPreviewErrors, type GetPreviewResponse, type GetPreviewResponses, type GetSetsData, type GetSetsErrors, type GetSetsResponse, type GetSetsResponses, type GetSettingsData, type GetSettingsErrors, type GetSettingsResponse, type GetSettingsResponses, type GetSyncFileInfoData, type GetSyncFileInfoErrors, type GetSyncFileInfoResponse, type GetSyncFileInfoResponses, type HandlerSettings, HandlerStatus, type IgnoreLegacyData, type IgnoreLegacyErrors, type IgnoreLegacyResponse, type IgnoreLegacyResponses, type ImportSingleData, type ImportSingleErrors, type ImportSingleResponse, type ImportSingleResponses, type MergeExportFolderData, type MergeExportFolderErrors, type MergeExportFolderResponse, type MergeExportFolderResponses, type PerformActionData, type PerformActionErrors, type PerformActionRequest, type PerformActionResponse, type PerformActionResponse2, type PerformActionResponses, type ProcessUploadData, type ProcessUploadErrors, type ProcessUploadResponse, type ProcessUploadResponses, type RunningData, type RunningErrors, type RunningResponse, type RunningResponses, type StatusData, type StatusErrors, type StatusResponse, type StatusResponses, type SyncActionButton, type SyncActionGroup, type SyncFileVersionCheckResult, SyncFolderMode, type SyncHandlerSummary, type SyncItemPreviewResponse, type SyncLegacyCheckResponse, type SyncOperationStatusResponse, SyncProcessingMode, type SyncRunningOperationResponse, type SyncSelectableSet, type UploadImportResult, type USyncActionView, type USyncAddonInfo, type USyncAddonSplash, type USyncChange, type USyncHandlerSetSettings, type USyncOptions, type USyncSettings } from './types.gen';
|
|
1
|
+
export { getActionsBySet, getAddOns, getAddOnSplash, getCheckLegacy, getHandlerSettings, getRunning, getSets, getSettings, getStatus, getSyncFileInfo, type Options, postCopyLegacy, postDownload, postIgnoreLegacy, postImport, postMergeExport, postPerform, postProcessUpload } from './sdk.gen';
|
|
2
|
+
export { ChangeDetailType, ChangeType, type ClientOptions, type EntityTagHeaderValue, type FileContentResult, type GetActionsBySetData, type GetActionsBySetErrors, type GetActionsBySetResponse, type GetActionsBySetResponses, type GetAddOnsData, type GetAddOnsErrors, type GetAddOnSplashData, type GetAddOnSplashErrors, type GetAddOnSplashResponse, type GetAddOnSplashResponses, type GetAddOnsResponse, type GetAddOnsResponses, type GetCheckLegacyData, type GetCheckLegacyErrors, type GetCheckLegacyResponse, type GetCheckLegacyResponses, type GetHandlerSettingsData, type GetHandlerSettingsErrors, type GetHandlerSettingsResponse, type GetHandlerSettingsResponses, type GetRunningData, type GetRunningErrors, type GetRunningResponse, type GetRunningResponses, type GetSetsData, type GetSetsErrors, type GetSetsResponse, type GetSetsResponses, type GetSettingsData, type GetSettingsErrors, type GetSettingsResponse, type GetSettingsResponses, type GetStatusData, type GetStatusErrors, type GetStatusResponse, type GetStatusResponses, type GetSyncFileInfoData, type GetSyncFileInfoErrors, type GetSyncFileInfoResponse, type GetSyncFileInfoResponses, type HandlerSettings, HandlerStatus, type PerformActionRequest, type PerformActionResponse, type PostCopyLegacyData, type PostCopyLegacyErrors, type PostCopyLegacyResponse, type PostCopyLegacyResponses, type PostDownloadData, type PostDownloadErrors, type PostDownloadResponse, type PostDownloadResponses, type PostIgnoreLegacyData, type PostIgnoreLegacyErrors, type PostIgnoreLegacyResponse, type PostIgnoreLegacyResponses, type PostImportData, type PostImportErrors, type PostImportResponse, type PostImportResponses, type PostMergeExportData, type PostMergeExportErrors, type PostMergeExportResponse, type PostMergeExportResponses, type PostPerformData, type PostPerformErrors, type PostPerformResponse, type PostPerformResponses, type PostProcessUploadData, type PostProcessUploadErrors, type PostProcessUploadResponse, type PostProcessUploadResponses, type StringSegment, type SyncActionButton, type SyncActionGroup, type SyncFileVersionCheckResult, SyncFolderMode, type SyncHandlerSummary, type SyncLegacyCheckResponse, type SyncOperationStatusResponse, SyncProcessingMode, type SyncRunningOperationResponse, type SyncSelectableSet, type UploadImportResult, type USyncActionView, type USyncAddonInfo, type USyncAddonSplash, type USyncChange, type USyncHandlerSetSettings, type USyncOptions, type USyncSettings } from './types.gen';
|
package/dist/api/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export {
|
|
3
|
-
export { ActionsService, FoldersService, MigrationsService, SettingsService } from './sdk.gen';
|
|
2
|
+
export { getActionsBySet, getAddOns, getAddOnSplash, getCheckLegacy, getHandlerSettings, getRunning, getSets, getSettings, getStatus, getSyncFileInfo, postCopyLegacy, postDownload, postIgnoreLegacy, postImport, postMergeExport, postPerform, postProcessUpload } from './sdk.gen';
|
|
4
3
|
export { ChangeDetailType, ChangeType, HandlerStatus, SyncFolderMode, SyncProcessingMode } 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 {
|
|
2
|
+
import type { GetActionsBySetData, GetActionsBySetErrors, GetActionsBySetResponses, GetAddOnsData, GetAddOnsErrors, GetAddOnSplashData, GetAddOnSplashErrors, GetAddOnSplashResponses, GetAddOnsResponses, GetCheckLegacyData, GetCheckLegacyErrors, GetCheckLegacyResponses, GetHandlerSettingsData, GetHandlerSettingsErrors, GetHandlerSettingsResponses, GetRunningData, GetRunningErrors, GetRunningResponses, GetSetsData, GetSetsErrors, GetSetsResponses, GetSettingsData, GetSettingsErrors, GetSettingsResponses, GetStatusData, GetStatusErrors, GetStatusResponses, GetSyncFileInfoData, GetSyncFileInfoErrors, GetSyncFileInfoResponses, PostCopyLegacyData, PostCopyLegacyErrors, PostCopyLegacyResponses, PostDownloadData, PostDownloadErrors, PostDownloadResponses, PostIgnoreLegacyData, PostIgnoreLegacyErrors, PostIgnoreLegacyResponses, PostImportData, PostImportErrors, PostImportResponses, PostMergeExportData, PostMergeExportErrors, PostMergeExportResponses, PostPerformData, PostPerformErrors, PostPerformResponses, PostProcessUploadData, PostProcessUploadErrors, PostProcessUploadResponses } 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
|
|
@@ -13,33 +13,20 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
13
13
|
*/
|
|
14
14
|
meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
|
|
15
15
|
};
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export declare
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
export declare class MigrationsService {
|
|
35
|
-
static checkLegacy<ThrowOnError extends boolean = true>(options?: Options<CheckLegacyData, ThrowOnError>): RequestResult<CheckLegacyResponses, CheckLegacyErrors, ThrowOnError>;
|
|
36
|
-
static copyLegacy<ThrowOnError extends boolean = true>(options?: Options<CopyLegacyData, ThrowOnError>): RequestResult<CopyLegacyResponses, CopyLegacyErrors, ThrowOnError>;
|
|
37
|
-
static ignoreLegacy<ThrowOnError extends boolean = true>(options?: Options<IgnoreLegacyData, ThrowOnError>): RequestResult<IgnoreLegacyResponses, IgnoreLegacyErrors, ThrowOnError>;
|
|
38
|
-
}
|
|
39
|
-
export declare class SettingsService {
|
|
40
|
-
static getAddOns<ThrowOnError extends boolean = true>(options?: Options<GetAddOnsData, ThrowOnError>): RequestResult<GetAddOnsResponses, GetAddOnsErrors, ThrowOnError>;
|
|
41
|
-
static getAddonSplash<ThrowOnError extends boolean = true>(options?: Options<GetAddonSplashData, ThrowOnError>): RequestResult<GetAddonSplashResponses, GetAddonSplashErrors, ThrowOnError>;
|
|
42
|
-
static getHandlerSetSettings<ThrowOnError extends boolean = true>(options?: Options<GetHandlerSetSettingsData, ThrowOnError>): RequestResult<GetHandlerSetSettingsResponses, GetHandlerSetSettingsErrors, ThrowOnError>;
|
|
43
|
-
static getSets<ThrowOnError extends boolean = true>(options?: Options<GetSetsData, ThrowOnError>): RequestResult<GetSetsResponses, GetSetsErrors, ThrowOnError>;
|
|
44
|
-
static getSettings<ThrowOnError extends boolean = true>(options?: Options<GetSettingsData, ThrowOnError>): RequestResult<GetSettingsResponses, GetSettingsErrors, ThrowOnError>;
|
|
45
|
-
}
|
|
16
|
+
export declare const getActionsBySet: <ThrowOnError extends boolean = false>(options?: Options<GetActionsBySetData, ThrowOnError>) => RequestResult<GetActionsBySetResponses, GetActionsBySetErrors, ThrowOnError>;
|
|
17
|
+
export declare const postDownload: <ThrowOnError extends boolean = false>(options?: Options<PostDownloadData, ThrowOnError>) => RequestResult<PostDownloadResponses, PostDownloadErrors, ThrowOnError>;
|
|
18
|
+
export declare const postImport: <ThrowOnError extends boolean = false>(options: Options<PostImportData, ThrowOnError>) => RequestResult<PostImportResponses, PostImportErrors, ThrowOnError>;
|
|
19
|
+
export declare const postPerform: <ThrowOnError extends boolean = false>(options: Options<PostPerformData, ThrowOnError>) => RequestResult<PostPerformResponses, PostPerformErrors, ThrowOnError>;
|
|
20
|
+
export declare const postProcessUpload: <ThrowOnError extends boolean = false>(options?: Options<PostProcessUploadData, ThrowOnError>) => RequestResult<PostProcessUploadResponses, PostProcessUploadErrors, ThrowOnError>;
|
|
21
|
+
export declare const getRunning: <ThrowOnError extends boolean = false>(options?: Options<GetRunningData, ThrowOnError>) => RequestResult<GetRunningResponses, GetRunningErrors, ThrowOnError>;
|
|
22
|
+
export declare const getStatus: <ThrowOnError extends boolean = false>(options?: Options<GetStatusData, ThrowOnError>) => RequestResult<GetStatusResponses, GetStatusErrors, ThrowOnError>;
|
|
23
|
+
export declare const getSyncFileInfo: <ThrowOnError extends boolean = false>(options?: Options<GetSyncFileInfoData, ThrowOnError>) => RequestResult<GetSyncFileInfoResponses, GetSyncFileInfoErrors, ThrowOnError>;
|
|
24
|
+
export declare const postMergeExport: <ThrowOnError extends boolean = false>(options?: Options<PostMergeExportData, ThrowOnError>) => RequestResult<PostMergeExportResponses, PostMergeExportErrors, ThrowOnError>;
|
|
25
|
+
export declare const getCheckLegacy: <ThrowOnError extends boolean = false>(options?: Options<GetCheckLegacyData, ThrowOnError>) => RequestResult<GetCheckLegacyResponses, GetCheckLegacyErrors, ThrowOnError>;
|
|
26
|
+
export declare const postCopyLegacy: <ThrowOnError extends boolean = false>(options?: Options<PostCopyLegacyData, ThrowOnError>) => RequestResult<PostCopyLegacyResponses, PostCopyLegacyErrors, ThrowOnError>;
|
|
27
|
+
export declare const postIgnoreLegacy: <ThrowOnError extends boolean = false>(options?: Options<PostIgnoreLegacyData, ThrowOnError>) => RequestResult<PostIgnoreLegacyResponses, PostIgnoreLegacyErrors, ThrowOnError>;
|
|
28
|
+
export declare const getAddOns: <ThrowOnError extends boolean = false>(options?: Options<GetAddOnsData, ThrowOnError>) => RequestResult<GetAddOnsResponses, GetAddOnsErrors, ThrowOnError>;
|
|
29
|
+
export declare const getAddOnSplash: <ThrowOnError extends boolean = false>(options?: Options<GetAddOnSplashData, ThrowOnError>) => RequestResult<GetAddOnSplashResponses, GetAddOnSplashErrors, ThrowOnError>;
|
|
30
|
+
export declare const getHandlerSettings: <ThrowOnError extends boolean = false>(options?: Options<GetHandlerSettingsData, ThrowOnError>) => RequestResult<GetHandlerSettingsResponses, GetHandlerSettingsErrors, ThrowOnError>;
|
|
31
|
+
export declare const getSets: <ThrowOnError extends boolean = false>(options?: Options<GetSetsData, ThrowOnError>) => RequestResult<GetSetsResponses, GetSetsErrors, ThrowOnError>;
|
|
32
|
+
export declare const getSettings: <ThrowOnError extends boolean = false>(options?: Options<GetSettingsData, ThrowOnError>) => RequestResult<GetSettingsResponses, GetSettingsErrors, ThrowOnError>;
|
package/dist/api/sdk.gen.js
CHANGED
|
@@ -1,154 +1,95 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { client } from './client.gen';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
export
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
static checkLegacy(options) {
|
|
97
|
-
return (options?.client ?? client).get({
|
|
98
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
99
|
-
url: '/umbraco/usync/api/v1/CheckLegacy',
|
|
100
|
-
...options
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
static copyLegacy(options) {
|
|
104
|
-
return (options?.client ?? client).post({
|
|
105
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
106
|
-
url: '/umbraco/usync/api/v1/CopyLegacy',
|
|
107
|
-
...options
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
static ignoreLegacy(options) {
|
|
111
|
-
return (options?.client ?? client).post({
|
|
112
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
113
|
-
url: '/umbraco/usync/api/v1/IgnoreLegacy',
|
|
114
|
-
...options
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
export class SettingsService {
|
|
119
|
-
static getAddOns(options) {
|
|
120
|
-
return (options?.client ?? client).get({
|
|
121
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
122
|
-
url: '/umbraco/usync/api/v1/AddOns',
|
|
123
|
-
...options
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
static getAddonSplash(options) {
|
|
127
|
-
return (options?.client ?? client).get({
|
|
128
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
129
|
-
url: '/umbraco/usync/api/v1/AddOnSplash',
|
|
130
|
-
...options
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
static getHandlerSetSettings(options) {
|
|
134
|
-
return (options?.client ?? client).get({
|
|
135
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
136
|
-
url: '/umbraco/usync/api/v1/HandlerSettings',
|
|
137
|
-
...options
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
static getSets(options) {
|
|
141
|
-
return (options?.client ?? client).get({
|
|
142
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
143
|
-
url: '/umbraco/usync/api/v1/Sets',
|
|
144
|
-
...options
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
static getSettings(options) {
|
|
148
|
-
return (options?.client ?? client).get({
|
|
149
|
-
security: [{ scheme: 'bearer', type: 'http' }],
|
|
150
|
-
url: '/umbraco/usync/api/v1/Settings',
|
|
151
|
-
...options
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
}
|
|
3
|
+
export const getActionsBySet = (options) => (options?.client ?? client).get({
|
|
4
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
5
|
+
url: '/umbraco/usync/api/v1/ActionsBySet',
|
|
6
|
+
...options
|
|
7
|
+
});
|
|
8
|
+
export const postDownload = (options) => (options?.client ?? client).post({
|
|
9
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
10
|
+
url: '/umbraco/usync/api/v1/Download',
|
|
11
|
+
...options
|
|
12
|
+
});
|
|
13
|
+
export const postImport = (options) => (options.client ?? client).post({
|
|
14
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
15
|
+
url: '/umbraco/usync/api/v1/Import',
|
|
16
|
+
...options,
|
|
17
|
+
headers: {
|
|
18
|
+
'Content-Type': 'application/json',
|
|
19
|
+
...options.headers
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export const postPerform = (options) => (options.client ?? client).post({
|
|
23
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
24
|
+
url: '/umbraco/usync/api/v1/Perform',
|
|
25
|
+
...options,
|
|
26
|
+
headers: {
|
|
27
|
+
'Content-Type': 'application/json',
|
|
28
|
+
...options.headers
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export const postProcessUpload = (options) => (options?.client ?? client).post({
|
|
32
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
33
|
+
url: '/umbraco/usync/api/v1/ProcessUpload',
|
|
34
|
+
...options
|
|
35
|
+
});
|
|
36
|
+
export const getRunning = (options) => (options?.client ?? client).get({
|
|
37
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
38
|
+
url: '/umbraco/usync/api/v1/Running',
|
|
39
|
+
...options
|
|
40
|
+
});
|
|
41
|
+
export const getStatus = (options) => (options?.client ?? client).get({
|
|
42
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
43
|
+
url: '/umbraco/usync/api/v1/Status',
|
|
44
|
+
...options
|
|
45
|
+
});
|
|
46
|
+
export const getSyncFileInfo = (options) => (options?.client ?? client).get({
|
|
47
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
48
|
+
url: '/umbraco/usync/api/v1/SyncFileInfo',
|
|
49
|
+
...options
|
|
50
|
+
});
|
|
51
|
+
export const postMergeExport = (options) => (options?.client ?? client).post({
|
|
52
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
53
|
+
url: '/umbraco/usync/api/v1/MergeExport',
|
|
54
|
+
...options
|
|
55
|
+
});
|
|
56
|
+
export const getCheckLegacy = (options) => (options?.client ?? client).get({
|
|
57
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
58
|
+
url: '/umbraco/usync/api/v1/CheckLegacy',
|
|
59
|
+
...options
|
|
60
|
+
});
|
|
61
|
+
export const postCopyLegacy = (options) => (options?.client ?? client).post({
|
|
62
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
63
|
+
url: '/umbraco/usync/api/v1/CopyLegacy',
|
|
64
|
+
...options
|
|
65
|
+
});
|
|
66
|
+
export const postIgnoreLegacy = (options) => (options?.client ?? client).post({
|
|
67
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
68
|
+
url: '/umbraco/usync/api/v1/IgnoreLegacy',
|
|
69
|
+
...options
|
|
70
|
+
});
|
|
71
|
+
export const getAddOns = (options) => (options?.client ?? client).get({
|
|
72
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
73
|
+
url: '/umbraco/usync/api/v1/AddOns',
|
|
74
|
+
...options
|
|
75
|
+
});
|
|
76
|
+
export const getAddOnSplash = (options) => (options?.client ?? client).get({
|
|
77
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
78
|
+
url: '/umbraco/usync/api/v1/AddOnSplash',
|
|
79
|
+
...options
|
|
80
|
+
});
|
|
81
|
+
export const getHandlerSettings = (options) => (options?.client ?? client).get({
|
|
82
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
83
|
+
url: '/umbraco/usync/api/v1/HandlerSettings',
|
|
84
|
+
...options
|
|
85
|
+
});
|
|
86
|
+
export const getSets = (options) => (options?.client ?? client).get({
|
|
87
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
88
|
+
url: '/umbraco/usync/api/v1/Sets',
|
|
89
|
+
...options
|
|
90
|
+
});
|
|
91
|
+
export const getSettings = (options) => (options?.client ?? client).get({
|
|
92
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
93
|
+
url: '/umbraco/usync/api/v1/Settings',
|
|
94
|
+
...options
|
|
95
|
+
});
|