@jumoo/usync 0.0.0-stage → 18.2.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.
Files changed (197) hide show
  1. package/LICENCE +373 -0
  2. package/README.md +10 -3
  3. package/dist/api/client/client.gen.d.ts +2 -0
  4. package/dist/api/client/client.gen.js +216 -0
  5. package/dist/api/client/index.d.ts +10 -0
  6. package/dist/api/client/index.js +6 -0
  7. package/dist/api/client/types.gen.d.ts +120 -0
  8. package/dist/api/client/types.gen.js +2 -0
  9. package/dist/api/client/utils.gen.d.ts +37 -0
  10. package/dist/api/client/utils.gen.js +230 -0
  11. package/dist/api/client.gen.d.ts +12 -0
  12. package/dist/api/client.gen.js +3 -0
  13. package/dist/api/core/auth.gen.d.ts +25 -0
  14. package/dist/api/core/auth.gen.js +14 -0
  15. package/dist/api/core/bodySerializer.gen.d.ts +25 -0
  16. package/dist/api/core/bodySerializer.gen.js +57 -0
  17. package/dist/api/core/params.gen.d.ts +43 -0
  18. package/dist/api/core/params.gen.js +109 -0
  19. package/dist/api/core/pathSerializer.gen.d.ts +33 -0
  20. package/dist/api/core/pathSerializer.gen.js +106 -0
  21. package/dist/api/core/queryKeySerializer.gen.d.ts +18 -0
  22. package/dist/api/core/queryKeySerializer.gen.js +92 -0
  23. package/dist/api/core/serverSentEvents.gen.d.ts +71 -0
  24. package/dist/api/core/serverSentEvents.gen.js +132 -0
  25. package/dist/api/core/types.gen.d.ts +83 -0
  26. package/dist/api/core/types.gen.js +2 -0
  27. package/dist/api/core/utils.gen.d.ts +19 -0
  28. package/dist/api/core/utils.gen.js +87 -0
  29. package/dist/api/index.d.ts +2 -0
  30. package/dist/api/index.js +3 -0
  31. package/dist/api/sdk.gen.d.ts +32 -0
  32. package/dist/api/sdk.gen.js +95 -0
  33. package/dist/api/types.gen.d.ts +565 -0
  34. package/dist/api/types.gen.js +47 -0
  35. package/dist/components/events.d.ts +11 -0
  36. package/dist/components/events.js +11 -0
  37. package/dist/components/index.d.ts +8 -0
  38. package/dist/components/index.js +9 -0
  39. package/dist/components/usync-action-box.d.ts +22 -0
  40. package/dist/components/usync-action-box.js +129 -0
  41. package/dist/components/usync-change-detail.d.ts +31 -0
  42. package/dist/components/usync-change-detail.js +709 -0
  43. package/dist/components/usync-change-view.d.ts +22 -0
  44. package/dist/components/usync-change-view.js +125 -0
  45. package/dist/components/usync-progress-box.d.ts +20 -0
  46. package/dist/components/usync-progress-box.js +231 -0
  47. package/dist/components/usync-result-row.d.ts +15 -0
  48. package/dist/components/usync-result-row.js +137 -0
  49. package/dist/components/usync-results-group-view.d.ts +19 -0
  50. package/dist/components/usync-results-group-view.js +118 -0
  51. package/dist/components/usync-results-view.d.ts +17 -0
  52. package/dist/components/usync-results-view.js +177 -0
  53. package/dist/components/usync-sync-file-info-view.d.ts +15 -0
  54. package/dist/components/usync-sync-file-info-view.js +62 -0
  55. package/dist/conditions/constants.d.ts +1 -0
  56. package/dist/conditions/constants.js +1 -0
  57. package/dist/conditions/index.d.ts +2 -0
  58. package/dist/conditions/index.js +2 -0
  59. package/dist/conditions/legacy-files.condition.d.ts +10 -0
  60. package/dist/conditions/legacy-files.condition.js +16 -0
  61. package/dist/conditions/manifest.d.ts +1 -0
  62. package/dist/conditions/manifest.js +18 -0
  63. package/dist/conditions/new-section.condition.d.ts +8 -0
  64. package/dist/conditions/new-section.condition.js +48 -0
  65. package/dist/constants.d.ts +30 -0
  66. package/dist/constants.js +38 -0
  67. package/dist/dialogs/details-modal-element.d.ts +18 -0
  68. package/dist/dialogs/details-modal-element.js +106 -0
  69. package/dist/dialogs/details-modal-token.d.ts +10 -0
  70. package/dist/dialogs/details-modal-token.js +7 -0
  71. package/dist/dialogs/error-modal-element.d.ts +7 -0
  72. package/dist/dialogs/error-modal-element.js +55 -0
  73. package/dist/dialogs/error-modal-token.d.ts +9 -0
  74. package/dist/dialogs/error-modal-token.js +6 -0
  75. package/dist/dialogs/index.d.ts +6 -0
  76. package/dist/dialogs/index.js +6 -0
  77. package/dist/dialogs/legacy-modal-element.d.ts +13 -0
  78. package/dist/dialogs/legacy-modal-element.js +78 -0
  79. package/dist/dialogs/manifest.d.ts +1 -0
  80. package/dist/dialogs/manifest.js +25 -0
  81. package/dist/dialogs/single-import-modal.element.d.ts +13 -0
  82. package/dist/dialogs/single-import-modal.element.js +106 -0
  83. package/dist/dialogs/single-import-modal.token.d.ts +9 -0
  84. package/dist/dialogs/single-import-modal.token.js +6 -0
  85. package/dist/exports.d.ts +10 -0
  86. package/dist/exports.js +10 -0
  87. package/dist/external/signalr/index.d.ts +1 -0
  88. package/dist/external/signalr/index.js +1 -0
  89. package/dist/icons/icons.d.ts +5 -0
  90. package/dist/icons/icons.js +6 -0
  91. package/dist/icons/manifest.d.ts +1 -0
  92. package/dist/icons/manifest.js +7 -0
  93. package/dist/icons/svg/logo.d.ts +2 -0
  94. package/dist/icons/svg/logo.js +21 -0
  95. package/dist/index.d.ts +8 -0
  96. package/dist/index.js +19 -0
  97. package/dist/lang/files/da-dk.d.ts +130 -0
  98. package/dist/lang/files/da-dk.js +141 -0
  99. package/dist/lang/files/de-de.d.ts +130 -0
  100. package/dist/lang/files/de-de.js +141 -0
  101. package/dist/lang/files/en-us.d.ts +162 -0
  102. package/dist/lang/files/en-us.js +173 -0
  103. package/dist/lang/files/es-es.d.ts +130 -0
  104. package/dist/lang/files/es-es.js +141 -0
  105. package/dist/lang/files/fr-fr.d.ts +130 -0
  106. package/dist/lang/files/fr-fr.js +141 -0
  107. package/dist/lang/files/nl-nl.d.ts +130 -0
  108. package/dist/lang/files/nl-nl.js +141 -0
  109. package/dist/lang/manifest.d.ts +1 -0
  110. package/dist/lang/manifest.js +63 -0
  111. package/dist/manifests.d.ts +1 -0
  112. package/dist/manifests.js +14 -0
  113. package/dist/repository/SyncAction.respositoy.d.ts +121 -0
  114. package/dist/repository/SyncAction.respositoy.js +125 -0
  115. package/dist/repository/index.d.ts +4 -0
  116. package/dist/repository/index.js +4 -0
  117. package/dist/repository/sources/SyncAction.source.d.ts +57 -0
  118. package/dist/repository/sources/SyncAction.source.js +57 -0
  119. package/dist/repository/sources/SyncMigration.source.d.ts +13 -0
  120. package/dist/repository/sources/SyncMigration.source.js +30 -0
  121. package/dist/repository/sources/SyncSettings.source.d.ts +33 -0
  122. package/dist/repository/sources/SyncSettings.source.js +33 -0
  123. package/dist/signalr/index.d.ts +3 -0
  124. package/dist/signalr/index.js +3 -0
  125. package/dist/signalr/signalr-reconnect-policy.d.ts +11 -0
  126. package/dist/signalr/signalr-reconnect-policy.js +14 -0
  127. package/dist/signalr/signalr.context.d.ts +34 -0
  128. package/dist/signalr/signalr.context.js +110 -0
  129. package/dist/signalr/signalr.context.token.d.ts +3 -0
  130. package/dist/signalr/signalr.context.token.js +2 -0
  131. package/dist/signalr/types.d.ts +21 -0
  132. package/dist/signalr/types.js +1 -0
  133. package/dist/tree/constants.d.ts +1 -0
  134. package/dist/tree/constants.js +1 -0
  135. package/dist/tree/index.d.ts +2 -0
  136. package/dist/tree/index.js +2 -0
  137. package/dist/tree/manifest.d.ts +1 -0
  138. package/dist/tree/manifest.js +92 -0
  139. package/dist/tree/types.d.ts +14 -0
  140. package/dist/tree/types.js +1 -0
  141. package/dist/tree/usync.menu-element.d.ts +13 -0
  142. package/dist/tree/usync.menu-element.js +74 -0
  143. package/dist/utils/diff/change-name.d.ts +13 -0
  144. package/dist/utils/diff/change-name.js +30 -0
  145. package/dist/utils/diff/classify-change.d.ts +21 -0
  146. package/dist/utils/diff/classify-change.js +111 -0
  147. package/dist/utils/diff/deep-equal.d.ts +13 -0
  148. package/dist/utils/diff/deep-equal.js +57 -0
  149. package/dist/utils/diff/format-value.d.ts +36 -0
  150. package/dist/utils/diff/format-value.js +88 -0
  151. package/dist/utils/diff/index.d.ts +7 -0
  152. package/dist/utils/diff/index.js +7 -0
  153. package/dist/utils/diff/json-diff.d.ts +34 -0
  154. package/dist/utils/diff/json-diff.js +300 -0
  155. package/dist/utils/diff/line-diff.d.ts +16 -0
  156. package/dist/utils/diff/line-diff.js +199 -0
  157. package/dist/utils/diff/types.d.ts +62 -0
  158. package/dist/utils/diff/types.js +12 -0
  159. package/dist/workspace/components/events.d.ts +31 -0
  160. package/dist/workspace/components/events.js +54 -0
  161. package/dist/workspace/components/index.d.ts +3 -0
  162. package/dist/workspace/components/index.js +3 -0
  163. package/dist/workspace/components/usync-action-button.d.ts +20 -0
  164. package/dist/workspace/components/usync-action-button.js +121 -0
  165. package/dist/workspace/components/usync-file-picker.element.d.ts +23 -0
  166. package/dist/workspace/components/usync-file-picker.element.js +106 -0
  167. package/dist/workspace/components/usync-file-upload.element.d.ts +21 -0
  168. package/dist/workspace/components/usync-file-upload.element.js +121 -0
  169. package/dist/workspace/dialogs/import-modal.element.d.ts +11 -0
  170. package/dist/workspace/dialogs/import-modal.element.js +75 -0
  171. package/dist/workspace/dialogs/import-modal.token.d.ts +6 -0
  172. package/dist/workspace/dialogs/import-modal.token.js +6 -0
  173. package/dist/workspace/dialogs/index.d.ts +2 -0
  174. package/dist/workspace/dialogs/index.js +2 -0
  175. package/dist/workspace/dialogs/manifest.d.ts +1 -0
  176. package/dist/workspace/dialogs/manifest.js +7 -0
  177. package/dist/workspace/index.d.ts +3 -0
  178. package/dist/workspace/index.js +3 -0
  179. package/dist/workspace/manifest.d.ts +3 -0
  180. package/dist/workspace/manifest.js +112 -0
  181. package/dist/workspace/types.d.ts +12 -0
  182. package/dist/workspace/types.js +1 -0
  183. package/dist/workspace/views/addons/addons.element.d.ts +7 -0
  184. package/dist/workspace/views/addons/addons.element.js +117 -0
  185. package/dist/workspace/views/default/default.element.d.ts +31 -0
  186. package/dist/workspace/views/default/default.element.js +466 -0
  187. package/dist/workspace/views/legacy/legacy.element.d.ts +14 -0
  188. package/dist/workspace/views/legacy/legacy.element.js +187 -0
  189. package/dist/workspace/views/settings/components/usyncSettingItem.element.d.ts +15 -0
  190. package/dist/workspace/views/settings/components/usyncSettingItem.element.js +96 -0
  191. package/dist/workspace/views/settings/settings.element.d.ts +17 -0
  192. package/dist/workspace/views/settings/settings.element.js +174 -0
  193. package/dist/workspace/workspace.context.d.ts +79 -0
  194. package/dist/workspace/workspace.context.js +448 -0
  195. package/dist/workspace/workspace.element.d.ts +17 -0
  196. package/dist/workspace/workspace.element.js +69 -0
  197. package/package.json +77 -6
@@ -0,0 +1,87 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { serializeArrayParam, serializeObjectParam, serializePrimitiveParam, } from './pathSerializer.gen';
3
+ export const PATH_PARAM_RE = /\{[^{}]+\}/g;
4
+ export const defaultPathSerializer = ({ path, url: _url }) => {
5
+ let url = _url;
6
+ const matches = _url.match(PATH_PARAM_RE);
7
+ if (matches) {
8
+ for (const match of matches) {
9
+ let explode = false;
10
+ let name = match.substring(1, match.length - 1);
11
+ let style = 'simple';
12
+ if (name.endsWith('*')) {
13
+ explode = true;
14
+ name = name.substring(0, name.length - 1);
15
+ }
16
+ if (name.startsWith('.')) {
17
+ name = name.substring(1);
18
+ style = 'label';
19
+ }
20
+ else if (name.startsWith(';')) {
21
+ name = name.substring(1);
22
+ style = 'matrix';
23
+ }
24
+ const value = path[name];
25
+ if (value === undefined || value === null) {
26
+ continue;
27
+ }
28
+ if (Array.isArray(value)) {
29
+ url = url.replace(match, serializeArrayParam({ explode, name, style, value }));
30
+ continue;
31
+ }
32
+ if (typeof value === 'object') {
33
+ url = url.replace(match, serializeObjectParam({
34
+ explode,
35
+ name,
36
+ style,
37
+ value: value,
38
+ valueOnly: true,
39
+ }));
40
+ continue;
41
+ }
42
+ if (style === 'matrix') {
43
+ url = url.replace(match, `;${serializePrimitiveParam({
44
+ name,
45
+ value: value,
46
+ })}`);
47
+ continue;
48
+ }
49
+ const replaceValue = encodeURIComponent(style === 'label' ? `.${value}` : value);
50
+ url = url.replace(match, replaceValue);
51
+ }
52
+ }
53
+ return url;
54
+ };
55
+ export const getUrl = ({ baseUrl, path, query, querySerializer, url: _url, }) => {
56
+ const pathUrl = _url.startsWith('/') ? _url : `/${_url}`;
57
+ let url = (baseUrl ?? '') + pathUrl;
58
+ if (path) {
59
+ url = defaultPathSerializer({ path, url });
60
+ }
61
+ let search = query ? querySerializer(query) : '';
62
+ if (search.startsWith('?')) {
63
+ search = search.substring(1);
64
+ }
65
+ if (search) {
66
+ url += `?${search}`;
67
+ }
68
+ return url;
69
+ };
70
+ export function getValidRequestBody(options) {
71
+ const hasBody = options.body !== undefined;
72
+ const isSerializedBody = hasBody && options.bodySerializer;
73
+ if (isSerializedBody) {
74
+ if ('serializedBody' in options) {
75
+ const hasSerializedBody = options.serializedBody !== undefined && options.serializedBody !== '';
76
+ return hasSerializedBody ? options.serializedBody : null;
77
+ }
78
+ // not all clients implement a serializedBody property (i.e., client-axios)
79
+ return options.body !== '' ? options.body : null;
80
+ }
81
+ // plain/text body
82
+ if (hasBody) {
83
+ return options.body;
84
+ }
85
+ // no body was provided
86
+ return undefined;
87
+ }
@@ -0,0 +1,2 @@
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';
@@ -0,0 +1,3 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ export { getActionsBySet, getAddOns, getAddOnSplash, getCheckLegacy, getHandlerSettings, getRunning, getSets, getSettings, getStatus, getSyncFileInfo, postCopyLegacy, postDownload, postIgnoreLegacy, postImport, postMergeExport, postPerform, postProcessUpload } from './sdk.gen';
3
+ export { ChangeDetailType, ChangeType, HandlerStatus, SyncFolderMode, SyncProcessingMode } from './types.gen';
@@ -0,0 +1,32 @@
1
+ import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
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
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
+ /**
5
+ * You can provide a client instance returned by `createClient()` instead of
6
+ * individual options. This might be also useful if you want to implement a
7
+ * custom client.
8
+ */
9
+ client?: Client;
10
+ /**
11
+ * You can pass arbitrary values through the `meta` object. This can be
12
+ * used to access values that aren't defined as part of the SDK function.
13
+ */
14
+ meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
15
+ };
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>;
@@ -0,0 +1,95 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { client } from './client.gen';
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
+ });