@jumoo/usync-publisher-assets 0.0.0-stage → 18.3.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 (206) hide show
  1. package/dist/actions/dialogs/index.d.ts +2 -0
  2. package/dist/actions/dialogs/manifest.d.ts +1 -0
  3. package/dist/actions/dialogs/sync-pending-changes.modal.d.ts +15 -0
  4. package/dist/actions/dialogs/sync-pending-changes.token.d.ts +7 -0
  5. package/dist/actions/kinds.d.ts +8 -0
  6. package/dist/actions/manifest.d.ts +2 -0
  7. package/dist/actions/pull.action.d.ts +11 -0
  8. package/dist/actions/push.action.d.ts +9 -0
  9. package/dist/actions/push.workspace-action.d.ts +9 -0
  10. package/dist/actions/sync-compare-action.d.ts +9 -0
  11. package/dist/actions/sync-dialog-action-base.d.ts +14 -0
  12. package/dist/actions/sync-document-dialog-action.d.ts +13 -0
  13. package/dist/actions/type.d.ts +5 -0
  14. package/dist/api/client/client.gen.d.ts +2 -0
  15. package/dist/api/client/index.d.ts +10 -0
  16. package/dist/api/client/types.gen.d.ts +120 -0
  17. package/dist/api/client/utils.gen.d.ts +37 -0
  18. package/dist/api/client.gen.d.ts +12 -0
  19. package/dist/api/core/auth.gen.d.ts +25 -0
  20. package/dist/api/core/bodySerializer.gen.d.ts +25 -0
  21. package/dist/api/core/params.gen.d.ts +43 -0
  22. package/dist/api/core/pathSerializer.gen.d.ts +33 -0
  23. package/dist/api/core/queryKeySerializer.gen.d.ts +18 -0
  24. package/dist/api/core/serverSentEvents.gen.d.ts +71 -0
  25. package/dist/api/core/types.gen.d.ts +83 -0
  26. package/dist/api/core/utils.gen.d.ts +19 -0
  27. package/dist/api/index.d.ts +2 -0
  28. package/dist/api/sdk.gen.d.ts +107 -0
  29. package/dist/api/types.gen.d.ts +2070 -0
  30. package/dist/approvals/approval-access.d.ts +8 -0
  31. package/dist/approvals/approvals-in-use.condition.d.ts +13 -0
  32. package/dist/approvals/components/approval-status.element.d.ts +15 -0
  33. package/dist/approvals/components/approvals-table.element.d.ts +24 -0
  34. package/dist/approvals/constants.d.ts +15 -0
  35. package/dist/approvals/dashboard/approvals-dashboard.element.d.ts +18 -0
  36. package/dist/approvals/manifest.d.ts +1 -0
  37. package/dist/approvals/modal/approval-review.modal-element.d.ts +22 -0
  38. package/dist/approvals/modal/approval-review.modal-token.d.ts +8 -0
  39. package/dist/batch-push/actions/batch-bulk-action.d.ts +11 -0
  40. package/dist/batch-push/actions/batch.action.d.ts +11 -0
  41. package/dist/batch-push/actions/batch.workspace-action.d.ts +9 -0
  42. package/dist/batch-push/batch-items.d.ts +10 -0
  43. package/dist/batch-push/batch-push.repository.d.ts +57 -0
  44. package/dist/batch-push/conditions/batch.condition.d.ts +27 -0
  45. package/dist/batch-push/constants.d.ts +22 -0
  46. package/dist/batch-push/dashboard/batch-push-dashboard.element.d.ts +22 -0
  47. package/dist/batch-push/manifest.d.ts +1 -0
  48. package/dist/browsers/actions/browser-action-button.element.d.ts +22 -0
  49. package/dist/browsers/actions/default.kind.d.ts +2 -0
  50. package/dist/browsers/actions/index.d.ts +3 -0
  51. package/dist/browsers/actions/manifest.d.ts +1 -0
  52. package/dist/browsers/actions/pull-bulk-action.d.ts +7 -0
  53. package/dist/browsers/actions/push-bulk-action.d.ts +8 -0
  54. package/dist/browsers/actions/sync-bulk-action-base.element.d.ts +9 -0
  55. package/dist/browsers/actions/types.d.ts +80 -0
  56. package/dist/browsers/browser.context.d.ts +28 -0
  57. package/dist/browsers/browser.repository.d.ts +18 -0
  58. package/dist/browsers/browser.source.d.ts +116 -0
  59. package/dist/browsers/components/browser-folder-bar.element.d.ts +18 -0
  60. package/dist/browsers/components/browser-folder-path.element.d.ts +10 -0
  61. package/dist/browsers/components/browser-folder-view.element.d.ts +40 -0
  62. package/dist/browsers/components/index.d.ts +3 -0
  63. package/dist/browsers/conditions/browser.push.condition.d.ts +19 -0
  64. package/dist/browsers/conditions/manifest.d.ts +1 -0
  65. package/dist/browsers/dashboard/browser-dashboard.base.d.ts +30 -0
  66. package/dist/browsers/dashboard/content-browser-dashboard.element.d.ts +6 -0
  67. package/dist/browsers/dashboard/media-browser-dashboard.element.d.ts +6 -0
  68. package/dist/browsers/index.d.ts +3 -0
  69. package/dist/browsers/manifests.d.ts +1 -0
  70. package/dist/change/details.modal.element.d.ts +23 -0
  71. package/dist/change/details.modal.token.d.ts +3 -0
  72. package/dist/change/entities.d.ts +3 -0
  73. package/dist/change/index.d.ts +5 -0
  74. package/dist/change/manifest.d.ts +1 -0
  75. package/dist/change/types.d.ts +10 -0
  76. package/dist/change/views/compare.element.d.ts +20 -0
  77. package/dist/change/views/details.element.d.ts +7 -0
  78. package/dist/change/views/index.d.ts +2 -0
  79. package/dist/components/index.d.ts +7 -0
  80. package/dist/components/publisher-server.button.d.ts +29 -0
  81. package/dist/components/publisher-server.list.d.ts +27 -0
  82. package/dist/components/publisher-server.picker.d.ts +28 -0
  83. package/dist/components/publisher-server.status.d.ts +18 -0
  84. package/dist/components/publisher-template.list.d.ts +17 -0
  85. package/dist/components/publisher-yes-no-server.option.d.ts +21 -0
  86. package/dist/components/usync-object-debug.element.d.ts +9 -0
  87. package/dist/conditions/manifests.d.ts +1 -0
  88. package/dist/conditions/push.button.condition.d.ts +15 -0
  89. package/dist/conditions/push.condition.d.ts +18 -0
  90. package/dist/conditions/query.condition.d.ts +15 -0
  91. package/dist/conditions/usync-dashboard-permission.condition.d.ts +12 -0
  92. package/dist/constants.d.ts +16 -0
  93. package/dist/index.d.ts +7 -0
  94. package/dist/lang/files/en-us.d.ts +311 -0
  95. package/dist/lang/manifests.d.ts +1 -0
  96. package/dist/models/index.d.ts +1 -0
  97. package/dist/models/publisher.action.state.d.ts +7 -0
  98. package/dist/permissions/constants.d.ts +3 -0
  99. package/dist/permissions/manifest.d.ts +1 -0
  100. package/dist/server-identifier/manifests.d.ts +1 -0
  101. package/dist/server-identifier/server-connection.element.d.ts +23 -0
  102. package/dist/server-identifier/server-connections.d.ts +24 -0
  103. package/dist/server-identifier/server-details.modal-element.d.ts +21 -0
  104. package/dist/server-identifier/server-details.modal-token.d.ts +5 -0
  105. package/dist/server-identifier/server-identifier.condition.d.ts +15 -0
  106. package/dist/server-identifier/server-identifier.header-app.element.d.ts +19 -0
  107. package/dist/servers/_constants.d.ts +5 -0
  108. package/dist/servers/_manifest.d.ts +3 -0
  109. package/dist/servers/components/index.d.ts +2 -0
  110. package/dist/servers/components/server-sync-settings.element.d.ts +22 -0
  111. package/dist/servers/components/usergroup-picker.element.d.ts +12 -0
  112. package/dist/servers/index.d.ts +4 -0
  113. package/dist/servers/modals/add-server.modal-element.d.ts +27 -0
  114. package/dist/servers/modals/add-server.modal-token.d.ts +9 -0
  115. package/dist/servers/modals/generate-key.modal-element.d.ts +11 -0
  116. package/dist/servers/modals/generate-key.modal-token.d.ts +4 -0
  117. package/dist/servers/modals/manifest.d.ts +1 -0
  118. package/dist/servers/modals/server-json.modal-element.d.ts +13 -0
  119. package/dist/servers/modals/server-json.modal-token.d.ts +4 -0
  120. package/dist/servers/pickers/connected-server-modal.element.d.ts +15 -0
  121. package/dist/servers/pickers/connected-server-modal.token.d.ts +8 -0
  122. package/dist/servers/pickers/connected-servers-property.element.d.ts +12 -0
  123. package/dist/servers/pickers/index.d.ts +1 -0
  124. package/dist/servers/pickers/manifest.d.ts +1 -0
  125. package/dist/servers/pickers/sync-servers-modal.element.d.ts +13 -0
  126. package/dist/servers/pickers/sync-servers-modal.token.d.ts +7 -0
  127. package/dist/servers/publishers/index.d.ts +2 -0
  128. package/dist/servers/publishers/interfaces.d.ts +10 -0
  129. package/dist/servers/publishers/manifest.d.ts +1 -0
  130. package/dist/servers/publishers/models.d.ts +12 -0
  131. package/dist/servers/publishers/realtime/realtime-config.element.d.ts +6 -0
  132. package/dist/servers/server/entity.d.ts +4 -0
  133. package/dist/servers/server/types.d.ts +7 -0
  134. package/dist/servers/server-colours.d.ts +9 -0
  135. package/dist/servers/servers.context.d.ts +99 -0
  136. package/dist/servers/servers.repository.d.ts +27 -0
  137. package/dist/servers/servers.source.d.ts +211 -0
  138. package/dist/servers/tree/entity.d.ts +4 -0
  139. package/dist/servers/tree/index.d.ts +1 -0
  140. package/dist/servers/tree/manifest.d.ts +1 -0
  141. package/dist/servers/tree/server-tree.data-source.d.ts +29 -0
  142. package/dist/servers/tree/server-tree.repository.d.ts +10 -0
  143. package/dist/servers/tree/sort-children-of.repository.d.ts +21 -0
  144. package/dist/servers/tree/sync-server-tree.repository.d.ts +11 -0
  145. package/dist/servers/tree/types.d.ts +12 -0
  146. package/dist/servers/workspace/_constants.d.ts +2 -0
  147. package/dist/servers/workspace/_manifest.d.ts +1 -0
  148. package/dist/servers/workspace/index.d.ts +1 -0
  149. package/dist/servers/workspace/server-item/_manifest.d.ts +1 -0
  150. package/dist/servers/workspace/server-item/actions/_manifests.d.ts +1 -0
  151. package/dist/servers/workspace/server-item/actions/delete-action.d.ts +7 -0
  152. package/dist/servers/workspace/server-item/actions/delete-workspace-action.d.ts +6 -0
  153. package/dist/servers/workspace/server-item/actions/save-action.d.ts +5 -0
  154. package/dist/servers/workspace/server-item/components/index.d.ts +4 -0
  155. package/dist/servers/workspace/server-item/components/sync-button-settings.element.d.ts +13 -0
  156. package/dist/servers/workspace/server-item/components/sync-content-buttons-setup.element.d.ts +15 -0
  157. package/dist/servers/workspace/server-item/components/sync-server-color-setting.element.d.ts +14 -0
  158. package/dist/servers/workspace/server-item/components/sync-settings-list.element.d.ts +23 -0
  159. package/dist/servers/workspace/server-item/server-item-workspace-editor.element.d.ts +15 -0
  160. package/dist/servers/workspace/server-item/server-item-workspace.element.d.ts +9 -0
  161. package/dist/servers/workspace/server-item/server-workspace.context.d.ts +17 -0
  162. package/dist/servers/workspace/server-item/views/_manifests.d.ts +1 -0
  163. package/dist/servers/workspace/server-item/views/server-item-advanced.element.d.ts +21 -0
  164. package/dist/servers/workspace/server-item/views/server-item-default.element.d.ts +15 -0
  165. package/dist/servers/workspace/server-item/views/server-item-permissions.element.d.ts +15 -0
  166. package/dist/servers/workspace/server-item/views/server-item-sync.element.d.ts +12 -0
  167. package/dist/servers/workspace/server-item/views/server-item-ui.element.d.ts +10 -0
  168. package/dist/servers/workspace/server-root/_manifest.d.ts +1 -0
  169. package/dist/servers/workspace/server-root/actions/_manifest.d.ts +1 -0
  170. package/dist/servers/workspace/server-root/actions/save-action.d.ts +5 -0
  171. package/dist/servers/workspace/server-root/actions/sync-action.d.ts +5 -0
  172. package/dist/servers/workspace/server-root/server-root-workspace.context.d.ts +17 -0
  173. package/dist/servers/workspace/server-root/server-root-workspace.element.d.ts +8 -0
  174. package/dist/servers/workspace/server-root/views/_manifests.d.ts +1 -0
  175. package/dist/servers/workspace/server-root/views/server-root-default.element.d.ts +15 -0
  176. package/dist/servers/workspace/server-root/views/server-root-settings.element.d.ts +11 -0
  177. package/dist/servers/workspace/server-root/views/server-seed.element.d.ts +18 -0
  178. package/dist/servers/workspace/server-workspace-shared.context.d.ts +34 -0
  179. package/dist/settings/manifest.d.ts +1 -0
  180. package/dist/settings/settings.context.d.ts +12 -0
  181. package/dist/settings/settings.repository.d.ts +12 -0
  182. package/dist/settings/settings.source.d.ts +56 -0
  183. package/dist/strategies/common/approval-step.element.d.ts +17 -0
  184. package/dist/strategies/common/background-completed-step.element.d.ts +15 -0
  185. package/dist/strategies/common/background-scheduled-step.element.d.ts +8 -0
  186. package/dist/strategies/common/background-step.element.d.ts +14 -0
  187. package/dist/strategies/common/config-step.element.d.ts +26 -0
  188. package/dist/strategies/common/lang-step.element.d.ts +26 -0
  189. package/dist/strategies/common/manifest.d.ts +1 -0
  190. package/dist/strategies/common/report-step.element.d.ts +18 -0
  191. package/dist/strategies/common/result-step.element.d.ts +6 -0
  192. package/dist/strategies/components/grouped-report-table.d.ts +22 -0
  193. package/dist/strategies/components/index.d.ts +4 -0
  194. package/dist/strategies/components/report-view.d.ts +25 -0
  195. package/dist/strategies/components/sync-options.element.d.ts +40 -0
  196. package/dist/strategies/components/yes-no.element.d.ts +16 -0
  197. package/dist/strategies/constants.d.ts +22 -0
  198. package/dist/strategies/index.d.ts +1 -0
  199. package/dist/strategies/manifests.d.ts +1 -0
  200. package/dist/strategies/modal/manifest.d.ts +1 -0
  201. package/dist/strategies/modal/process-modal.element.d.ts +35 -0
  202. package/dist/strategies/modal/process-modal.token.d.ts +29 -0
  203. package/dist/strategies/strategy.context.d.ts +15 -0
  204. package/dist/strategies/strategy.repository.d.ts +57 -0
  205. package/package.json +47 -6
  206. package/README.md +0 -3
@@ -0,0 +1,2070 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://localhost:44385/' | (string & {});
3
+ };
4
+ export type AppKeySetupResult = {
5
+ appId: string;
6
+ appKey: string;
7
+ json: string;
8
+ };
9
+ export type AppKeyView = {
10
+ appId?: null | string;
11
+ appKey?: null | string;
12
+ };
13
+ export type BadRequest = {
14
+ statusCode: number | string;
15
+ };
16
+ export type BatchPushAddResult = {
17
+ added: number | string;
18
+ total: number | string;
19
+ };
20
+ export type BatchPushIncludeChildrenRequest = {
21
+ udi: string;
22
+ includeChildren: boolean;
23
+ };
24
+ export type BatchPushItemModel = {
25
+ udi: string;
26
+ entityType: string;
27
+ name: string;
28
+ icon?: null | string;
29
+ path: string;
30
+ includeChildren: boolean;
31
+ isRoot: boolean;
32
+ exists: boolean;
33
+ added: string;
34
+ };
35
+ export type BatchPushItemRequest = {
36
+ udi: string;
37
+ entityType: string;
38
+ includeChildren: boolean;
39
+ };
40
+ export type BatchPushModel = {
41
+ items: Array<BatchPushItemModel>;
42
+ servers: Array<SyncPublishServerView>;
43
+ };
44
+ export declare enum ChangeDetailType {
45
+ NO_CHANGE = "NoChange",
46
+ CREATE = "Create",
47
+ UPDATE = "Update",
48
+ DELETE = "Delete",
49
+ ERROR = "Error",
50
+ WARNING = "Warning"
51
+ }
52
+ export declare enum ChangeType {
53
+ NO_CHANGE = "NoChange",
54
+ CREATE = "Create",
55
+ IMPORT = "Import",
56
+ EXPORT = "Export",
57
+ UPDATE = "Update",
58
+ DELETE = "Delete",
59
+ WILL_CHANGE = "WillChange",
60
+ INFORMATION = "Information",
61
+ ROLLEDBACK = "Rolledback",
62
+ FAIL = "Fail",
63
+ IMPORT_FAIL = "ImportFail",
64
+ MISMATCH = "Mismatch",
65
+ PARENT_MISSING = "ParentMissing",
66
+ HIDDEN = "Hidden",
67
+ CLEAN = "Clean",
68
+ REMOVED = "Removed"
69
+ }
70
+ export type CustomPublisherOptions = {
71
+ releaseDate?: null | string;
72
+ approvalNote?: null | string;
73
+ };
74
+ export type DependencyFlags = string;
75
+ export type FlagModel = {
76
+ alias: string;
77
+ };
78
+ export type PagedModelPublisherApprovalSummaryModel = {
79
+ items: Array<PublisherApprovalSummaryModel>;
80
+ total: number | string;
81
+ };
82
+ export type PagedSyncServerItemResponseModel = {
83
+ total: number | string;
84
+ items: Array<SyncServerItemResponseModel>;
85
+ };
86
+ export type PipelineRunRejected = {
87
+ reason: PipelineRunRejectedReason;
88
+ message: string;
89
+ runningPipelineId?: null | string;
90
+ concurrencyKey?: null | string;
91
+ };
92
+ export declare enum PipelineRunRejectedReason {
93
+ NOT_FOUND = "NotFound",
94
+ ALREADY_RUNNING = "AlreadyRunning",
95
+ INVALID = "Invalid",
96
+ NOT_WAITING = "NotWaiting"
97
+ }
98
+ export type PipelineRunStarted = {
99
+ pipelineId: string;
100
+ status: PipelineRunState;
101
+ statusUrl: string;
102
+ };
103
+ export declare enum PipelineRunState {
104
+ QUEUED = "Queued",
105
+ RUNNING = "Running",
106
+ SCHEDULED = "Scheduled",
107
+ WAITING = "Waiting",
108
+ COMPLETED = "Completed",
109
+ FAILED = "Failed",
110
+ CANCELLED = "Cancelled"
111
+ }
112
+ export type ProblemDetails = {
113
+ type?: null | string;
114
+ title?: null | string;
115
+ status?: null | number | string;
116
+ detail?: null | string;
117
+ instance?: null | string;
118
+ };
119
+ export type PublisherApprovalAccessModel = {
120
+ inUse: boolean;
121
+ isApprover: boolean;
122
+ };
123
+ export type PublisherApprovalDecisionModel = {
124
+ key: string;
125
+ comment?: null | string;
126
+ };
127
+ export type PublisherApprovalDetailModel = {
128
+ pipelineId: string;
129
+ message?: null | string;
130
+ decisionComment?: null | string;
131
+ error?: null | string;
132
+ report: Array<USyncActionView>;
133
+ appliedReport?: null | Array<USyncActionView>;
134
+ result?: null | Array<USyncActionView>;
135
+ finished?: null | string;
136
+ progress?: null | PublisherApprovalProgress;
137
+ canDecide: boolean;
138
+ cannotDecideReason?: null | string;
139
+ canWithdraw: boolean;
140
+ key: string;
141
+ serverAlias: string;
142
+ serverName: string;
143
+ serverIcon: string;
144
+ mode: PublishMode;
145
+ status: PublisherApprovalStatus;
146
+ requestedByName: string;
147
+ requested: string;
148
+ items: Array<PublisherApprovalItem>;
149
+ changes: number | string;
150
+ decidedByName?: null | string;
151
+ decided?: null | string;
152
+ expires?: null | string;
153
+ reportChanged: boolean;
154
+ };
155
+ export type PublisherApprovalItem = {
156
+ name: string;
157
+ icon?: null | string;
158
+ udi: string;
159
+ entityType?: null | string;
160
+ };
161
+ export type PublisherApprovalProgress = {
162
+ percentage: number | string;
163
+ action?: null | string;
164
+ step?: null | string;
165
+ };
166
+ export type PublisherApprovalServerModel = {
167
+ requiresApproval: boolean;
168
+ isApprover: boolean;
169
+ };
170
+ export declare enum PublisherApprovalStatus {
171
+ PENDING = "Pending",
172
+ APPROVED = "Approved",
173
+ DECLINED = "Declined",
174
+ EXPIRED = "Expired",
175
+ APPLIED = "Applied",
176
+ FAILED = "Failed",
177
+ CANCELLED = "Cancelled"
178
+ }
179
+ export type PublisherApprovalSummaryModel = {
180
+ key: string;
181
+ serverAlias: string;
182
+ serverName: string;
183
+ serverIcon: string;
184
+ mode: PublishMode;
185
+ status: PublisherApprovalStatus;
186
+ requestedByName: string;
187
+ requested: string;
188
+ items: Array<PublisherApprovalItem>;
189
+ changes: number | string;
190
+ decidedByName?: null | string;
191
+ decided?: null | string;
192
+ expires?: null | string;
193
+ reportChanged: boolean;
194
+ };
195
+ export type PublisherProcessingOptions = {
196
+ mode: PublishMode;
197
+ server?: null | string;
198
+ entityType?: null | string;
199
+ items: Array<SyncItem>;
200
+ publisherOptions?: null | SyncPublisherOptions;
201
+ isBackgroundRequest?: null | boolean;
202
+ pageSize?: null | number | string;
203
+ createRestorePoint: boolean;
204
+ handlerGroup?: null | string;
205
+ handlerSet?: null | string;
206
+ siteAssemblyName?: null | string;
207
+ custom?: null | CustomPublisherOptions;
208
+ cultures?: null | Array<string>;
209
+ sourceAction: SyncProcessingSourceAction;
210
+ sourceSendSettings?: null | PublisherSyncSendOptions;
211
+ };
212
+ export type PublisherStartItem = {
213
+ udi: string;
214
+ includeChildren: boolean;
215
+ };
216
+ export declare enum PublisherStartMode {
217
+ PUSH = "Push",
218
+ PULL = "Pull",
219
+ SETTINGS_PUSH = "SettingsPush",
220
+ SETTINGS_PULL = "SettingsPull"
221
+ }
222
+ export type PublisherStartOptions = {
223
+ includeDependencies: boolean;
224
+ includeMedia: boolean;
225
+ includeMediaFiles: boolean;
226
+ includeAncestors: boolean;
227
+ createRestorePoint: boolean;
228
+ cultures: Array<string>;
229
+ };
230
+ export type PublisherStartRequest = {
231
+ mode: PublisherStartMode;
232
+ server: string;
233
+ items: Array<PublisherStartItem>;
234
+ entityType?: null | string;
235
+ options: PublisherStartOptions;
236
+ startAtUtc?: null | string;
237
+ };
238
+ export type PublisherSyncSendOptions = {
239
+ autoExpandAdvanced?: null | boolean;
240
+ includeAncestors?: null | SyncSendOption;
241
+ includeChildren?: null | SyncSendOption;
242
+ includeFiles?: null | SyncSendOption;
243
+ includeMedia?: null | SyncSendOption;
244
+ includeLinked?: null | SyncSendOption;
245
+ includeDependencies?: null | SyncSendOption;
246
+ includeMediaFiles?: null | SyncSendOption;
247
+ includeConfig?: null | SyncSendOption;
248
+ deleteMissing?: null | SyncSendOption;
249
+ createRestorePoint?: null | SyncSendOption;
250
+ showScheduledOptions?: null | boolean;
251
+ sendEditedValue?: null | boolean;
252
+ publishFallback?: null | boolean;
253
+ message?: null | string;
254
+ ignoreSortOrder?: null | boolean;
255
+ detectRestorePoint?: null | boolean;
256
+ hideAdvanced?: null | boolean;
257
+ requireApproval?: null | boolean;
258
+ approverGroups?: null | Array<string>;
259
+ approvalExpiryDays?: null | number | string;
260
+ allowBatchPush?: null | boolean;
261
+ };
262
+ export declare enum PublishMode {
263
+ PUSH = "Push",
264
+ PULL = "Pull",
265
+ PUSH_MEDIA = "PushMedia",
266
+ PULL_MEDIA = "PullMedia",
267
+ REPORT = "Report",
268
+ CONFIG_PUSH = "ConfigPush",
269
+ CONFIG_PULL = "ConfigPull",
270
+ SETTINGS_PUSH = "SettingsPush",
271
+ SETTINGS_PULL = "SettingsPull",
272
+ FILE_PUSH = "FilePush",
273
+ FILE_PULL = "FilePull",
274
+ SEED = "Seed",
275
+ SYNC_SETUP = "SyncSetup",
276
+ ANY = "Any"
277
+ }
278
+ export type ReferenceByIdModel = {
279
+ id: string;
280
+ };
281
+ export type ServerSyncRequest = {
282
+ servers: Array<string>;
283
+ };
284
+ export type ServerSyncResult = {
285
+ success: boolean;
286
+ servers: {
287
+ [key: string]: boolean;
288
+ };
289
+ };
290
+ export type SiteSeedStatus = {
291
+ isEnabled: boolean;
292
+ seedServerUrl: string;
293
+ hasContentOrMedia: boolean;
294
+ };
295
+ export type SplitEntityView = {
296
+ local?: null | USyncEntityView;
297
+ remote?: null | USyncEntityView;
298
+ };
299
+ export type SyncBrowserItemChange = {
300
+ udi?: null | UdiModel;
301
+ action: USyncActionView;
302
+ };
303
+ export type SyncEntity = {
304
+ name: string;
305
+ icon?: null | string;
306
+ udi: UdiModel;
307
+ entityType: null | string;
308
+ };
309
+ export type SyncItem = {
310
+ flags: DependencyFlags;
311
+ change: ChangeType;
312
+ name: string;
313
+ icon?: null | string;
314
+ udi: UdiModel;
315
+ entityType: null | string;
316
+ };
317
+ export type SyncLocalItem = {
318
+ id?: null | string;
319
+ name?: null | string;
320
+ udi?: null | UdiModel;
321
+ entityType?: null | string;
322
+ allVariants: {
323
+ [key: string]: SyncVariantInfo;
324
+ };
325
+ requiresFiles: boolean;
326
+ hasChildren: boolean;
327
+ };
328
+ export declare enum SyncProcessingSourceAction {
329
+ DEFAULT = "Default",
330
+ PUBLISH = "Publish",
331
+ PUBLISH_DECENDANTS = "PublishDecendants",
332
+ SCHEDULE = "Schedule",
333
+ ADD_TO_QUEUE = "AddToQueue",
334
+ API = "Api",
335
+ BATCH_PUSH = "BatchPush"
336
+ }
337
+ export type SyncPublishAvailableServerRequest = {
338
+ mode: PublishMode;
339
+ udi?: null | string;
340
+ entityType?: null | string;
341
+ enabledOnly: boolean;
342
+ };
343
+ export type SyncPublisherObjects = {
344
+ options?: null | PublisherProcessingOptions;
345
+ item?: null | SyncItem;
346
+ };
347
+ export type SyncPublisherOptions = {
348
+ includeChildren: boolean;
349
+ includeAncestors: boolean;
350
+ includeDependencies: boolean;
351
+ includeMedia: boolean;
352
+ includeViews: boolean;
353
+ includeLinked: boolean;
354
+ includeConfig: boolean;
355
+ rootSync: boolean;
356
+ includeContents: boolean;
357
+ publishedDependencies: boolean;
358
+ primaryType?: null | string;
359
+ removeOrphans: boolean;
360
+ includeFiles: boolean;
361
+ includeFileHash: boolean;
362
+ includeContent: boolean;
363
+ includeSystemFileHash: boolean;
364
+ includeSystemFiles: boolean;
365
+ includeMediaFiles: boolean;
366
+ cultures: Array<string>;
367
+ custom: {
368
+ [key: string]: string;
369
+ };
370
+ enableRollback: boolean;
371
+ createRestorePoint: boolean;
372
+ skipReport: boolean;
373
+ };
374
+ export type SyncPublisherVariantsResult = {
375
+ name: string;
376
+ displayName: string;
377
+ isPublished: boolean;
378
+ selected: boolean;
379
+ };
380
+ export type SyncPublishServerCopyView = {
381
+ alias: string;
382
+ name: string;
383
+ url: string;
384
+ };
385
+ export type SyncPublishServerView = {
386
+ key: string;
387
+ id: string;
388
+ alias: string;
389
+ enabled: boolean;
390
+ pullEnabled: boolean;
391
+ name: string;
392
+ description?: null | string;
393
+ icon: string;
394
+ url: string;
395
+ baseUrl?: null | string;
396
+ sortOrder: number | string;
397
+ publisher: string;
398
+ allowedServers?: null | Array<USyncAllowedServer>;
399
+ sendSettings?: null | SyncSendOptions;
400
+ publisherSettings: {
401
+ [key: string]: unknown;
402
+ };
403
+ publisherConfig?: null | string;
404
+ userGroups: Array<string>;
405
+ allowBatchPush: boolean;
406
+ appearance: SyncServerAppearance;
407
+ };
408
+ export type SyncSendOption = {
409
+ value: boolean;
410
+ editable: boolean;
411
+ };
412
+ export type SyncSendOptions = {
413
+ includeAncestors?: null | SyncSendOption;
414
+ includeChildren?: null | SyncSendOption;
415
+ includeFiles?: null | SyncSendOption;
416
+ includeMedia?: null | SyncSendOption;
417
+ includeLinked?: null | SyncSendOption;
418
+ includeDependencies?: null | SyncSendOption;
419
+ includeMediaFiles?: null | SyncSendOption;
420
+ includeConfig?: null | SyncSendOption;
421
+ deleteMissing?: null | SyncSendOption;
422
+ createRestorePoint?: null | SyncSendOption;
423
+ showScheduledOptions?: null | boolean;
424
+ sendEditedValue?: null | boolean;
425
+ publishFallback?: null | boolean;
426
+ message?: null | string;
427
+ ignoreSortOrder?: null | boolean;
428
+ detectRestorePoint?: null | boolean;
429
+ hideAdvanced?: null | boolean;
430
+ requireApproval?: null | boolean;
431
+ approverGroups?: null | Array<string>;
432
+ approvalExpiryDays?: null | number | string;
433
+ allowBatchPush?: null | boolean;
434
+ };
435
+ export type SyncServerAppearance = {
436
+ icon: string;
437
+ color?: null | string;
438
+ applyColourToNavbar?: null | boolean;
439
+ hidePublishButton?: null | boolean;
440
+ hideSaveAndPreviewButton?: null | boolean;
441
+ hideSaveButton?: null | boolean;
442
+ hideSaveAndPublishButton?: null | boolean;
443
+ hideSchedulePublishingButton?: null | boolean;
444
+ hidePublishDecendantsButton?: null | boolean;
445
+ hideUnpublishButton?: null | boolean;
446
+ hideCompareTab?: null | boolean;
447
+ showServerIdentifier?: null | boolean;
448
+ };
449
+ export type SyncServerItemResponseModel = {
450
+ icon: string;
451
+ type: string;
452
+ name: string;
453
+ id: string;
454
+ parent?: null | ReferenceByIdModel;
455
+ flags: Array<FlagModel>;
456
+ hasChildren: boolean;
457
+ };
458
+ export declare enum SyncServerStatus {
459
+ UNKNOWN = "Unknown",
460
+ UNAVAILABLE = "Unavailable",
461
+ UNREACHABLE = "Unreachable",
462
+ UNAUTHORIZED = "Unauthorized",
463
+ SERVER_ERROR = "ServerError",
464
+ DISABLED = "Disabled",
465
+ API_MISMATCH = "ApiMismatch",
466
+ UNLICENCED = "Unlicenced",
467
+ NOT_ENABLED = "NotEnabled",
468
+ UNKNOWN_SERVER = "UnknownServer",
469
+ NO_PUBLISHER = "NoPublisher",
470
+ NOT_FOUND = "NotFound",
471
+ INVALID_RESPONSE = "InvalidResponse",
472
+ NOT_CHECKED = "NotChecked",
473
+ BLOCKED = "Blocked",
474
+ NOT_REPORTED = "NotReported",
475
+ SUCCESS = "Success"
476
+ }
477
+ export type SyncServerTemplateModel = {
478
+ id?: null | string;
479
+ icon?: null | string;
480
+ heading?: null | string;
481
+ subHeading?: null | string;
482
+ description?: null | string;
483
+ publisher?: null | string;
484
+ publisherConfig?: null | string;
485
+ flags?: null | SyncSendOptions;
486
+ };
487
+ export type SyncVariantInfo = {
488
+ name?: null | string;
489
+ published: boolean;
490
+ };
491
+ export type UdiModel = {
492
+ uriValue: null | string;
493
+ entityType: null | string;
494
+ isRoot: boolean;
495
+ };
496
+ export type UserGroupListModel = {
497
+ key: string;
498
+ alias: string;
499
+ name: string;
500
+ icon: string;
501
+ };
502
+ export type USyncActionView = {
503
+ key: string;
504
+ name: string;
505
+ handler: string;
506
+ itemType: string;
507
+ change: ChangeType;
508
+ success: boolean;
509
+ details: Array<USyncChange>;
510
+ message?: null | string;
511
+ };
512
+ export type USyncAllowedServer = {
513
+ name: string;
514
+ icon: string;
515
+ alias: string;
516
+ push: boolean;
517
+ pull: boolean;
518
+ };
519
+ export type USyncChange = {
520
+ success: boolean;
521
+ name: string;
522
+ path: string;
523
+ oldValue: string;
524
+ newValue: string;
525
+ change: ChangeDetailType;
526
+ };
527
+ export type USyncEntityVariant = {
528
+ name: string;
529
+ };
530
+ export type USyncEntityView = {
531
+ id: number | string;
532
+ name: string;
533
+ key: string;
534
+ udi?: null | UdiModel;
535
+ icon?: null | string;
536
+ type?: null | string;
537
+ thumbnail?: null | string;
538
+ isFolder: boolean;
539
+ hasChildren: boolean;
540
+ extension?: null | string;
541
+ height: number | string;
542
+ width: number | string;
543
+ update: string;
544
+ localUrl?: null | string;
545
+ mediaProperty?: null | string;
546
+ remoteUrl?: null | string;
547
+ variants?: null | Array<USyncEntityVariant>;
548
+ localItem?: null | SyncLocalItem;
549
+ exisitsLocally: boolean;
550
+ };
551
+ export type USyncItemFolder = {
552
+ key: string;
553
+ path: Array<USyncPathItem>;
554
+ folders: Array<USyncEntityView>;
555
+ nodes: Array<USyncEntityView>;
556
+ total: number | string;
557
+ pages: number | string;
558
+ };
559
+ export type USyncPathItem = {
560
+ name: string;
561
+ key: string;
562
+ };
563
+ export type USyncPublisherView = {
564
+ name: string;
565
+ alias: string;
566
+ description: string;
567
+ configElement: null | string;
568
+ };
569
+ export type USyncPublishServerStatus = {
570
+ enabled: boolean;
571
+ status: SyncServerStatus;
572
+ message?: null | string;
573
+ };
574
+ export type USyncPublishSettingsView = {
575
+ outgoingEnabled: boolean;
576
+ incomingEnabled: boolean;
577
+ server?: null | SyncPublishServerView;
578
+ hasAppId: boolean;
579
+ serverUrl: string;
580
+ serverName: string;
581
+ serverAlias: string;
582
+ isInList: boolean;
583
+ };
584
+ export type ApproveData = {
585
+ body: PublisherApprovalDecisionModel;
586
+ path?: never;
587
+ query?: never;
588
+ url: '/umbraco/usync/api/v1/Publisher/Approve';
589
+ };
590
+ export type ApproveErrors = {
591
+ /**
592
+ * Bad Request
593
+ */
594
+ 400: ProblemDetails;
595
+ /**
596
+ * The resource is protected and requires an authentication token
597
+ */
598
+ 401: unknown;
599
+ };
600
+ export type ApproveError = ApproveErrors[keyof ApproveErrors];
601
+ export type ApproveResponses = {
602
+ /**
603
+ * OK
604
+ */
605
+ 200: PublisherApprovalDetailModel;
606
+ };
607
+ export type ApproveResponse = ApproveResponses[keyof ApproveResponses];
608
+ export type DeclineData = {
609
+ body: PublisherApprovalDecisionModel;
610
+ path?: never;
611
+ query?: never;
612
+ url: '/umbraco/usync/api/v1/Publisher/Decline';
613
+ };
614
+ export type DeclineErrors = {
615
+ /**
616
+ * Bad Request
617
+ */
618
+ 400: ProblemDetails;
619
+ /**
620
+ * The resource is protected and requires an authentication token
621
+ */
622
+ 401: unknown;
623
+ };
624
+ export type DeclineError = DeclineErrors[keyof DeclineErrors];
625
+ export type DeclineResponses = {
626
+ /**
627
+ * OK
628
+ */
629
+ 200: PublisherApprovalDetailModel;
630
+ };
631
+ export type DeclineResponse = DeclineResponses[keyof DeclineResponses];
632
+ export type GetApprovalData = {
633
+ body?: never;
634
+ path?: never;
635
+ query?: {
636
+ key?: string;
637
+ };
638
+ url: '/umbraco/usync/api/v1/Publisher/GetApproval';
639
+ };
640
+ export type GetApprovalErrors = {
641
+ /**
642
+ * The resource is protected and requires an authentication token
643
+ */
644
+ 401: unknown;
645
+ /**
646
+ * Not Found
647
+ */
648
+ 404: ProblemDetails;
649
+ };
650
+ export type GetApprovalError = GetApprovalErrors[keyof GetApprovalErrors];
651
+ export type GetApprovalResponses = {
652
+ /**
653
+ * OK
654
+ */
655
+ 200: PublisherApprovalDetailModel;
656
+ };
657
+ export type GetApprovalResponse = GetApprovalResponses[keyof GetApprovalResponses];
658
+ export type GetApprovalAccessData = {
659
+ body?: never;
660
+ path?: never;
661
+ query?: never;
662
+ url: '/umbraco/usync/api/v1/Publisher/GetApprovalAccess';
663
+ };
664
+ export type GetApprovalAccessErrors = {
665
+ /**
666
+ * The resource is protected and requires an authentication token
667
+ */
668
+ 401: unknown;
669
+ };
670
+ export type GetApprovalAccessResponses = {
671
+ /**
672
+ * OK
673
+ */
674
+ 200: PublisherApprovalAccessModel;
675
+ };
676
+ export type GetApprovalAccessResponse = GetApprovalAccessResponses[keyof GetApprovalAccessResponses];
677
+ export type GetApprovalByPipelineData = {
678
+ body?: never;
679
+ path?: never;
680
+ query?: {
681
+ pipelineId?: string;
682
+ };
683
+ url: '/umbraco/usync/api/v1/Publisher/GetApprovalByPipeline';
684
+ };
685
+ export type GetApprovalByPipelineErrors = {
686
+ /**
687
+ * The resource is protected and requires an authentication token
688
+ */
689
+ 401: unknown;
690
+ /**
691
+ * Not Found
692
+ */
693
+ 404: ProblemDetails;
694
+ };
695
+ export type GetApprovalByPipelineError = GetApprovalByPipelineErrors[keyof GetApprovalByPipelineErrors];
696
+ export type GetApprovalByPipelineResponses = {
697
+ /**
698
+ * OK
699
+ */
700
+ 200: PublisherApprovalDetailModel;
701
+ };
702
+ export type GetApprovalByPipelineResponse = GetApprovalByPipelineResponses[keyof GetApprovalByPipelineResponses];
703
+ export type GetApprovalHistoryData = {
704
+ body?: never;
705
+ path?: never;
706
+ query?: {
707
+ page?: number | string;
708
+ pageSize?: number | string;
709
+ };
710
+ url: '/umbraco/usync/api/v1/Publisher/GetApprovalHistory';
711
+ };
712
+ export type GetApprovalHistoryErrors = {
713
+ /**
714
+ * The resource is protected and requires an authentication token
715
+ */
716
+ 401: unknown;
717
+ };
718
+ export type GetApprovalHistoryResponses = {
719
+ /**
720
+ * OK
721
+ */
722
+ 200: PagedModelPublisherApprovalSummaryModel;
723
+ };
724
+ export type GetApprovalHistoryResponse = GetApprovalHistoryResponses[keyof GetApprovalHistoryResponses];
725
+ export type GetAwaitingApprovalData = {
726
+ body?: never;
727
+ path?: never;
728
+ query?: {
729
+ page?: number | string;
730
+ pageSize?: number | string;
731
+ };
732
+ url: '/umbraco/usync/api/v1/Publisher/GetAwaitingApproval';
733
+ };
734
+ export type GetAwaitingApprovalErrors = {
735
+ /**
736
+ * The resource is protected and requires an authentication token
737
+ */
738
+ 401: unknown;
739
+ };
740
+ export type GetAwaitingApprovalResponses = {
741
+ /**
742
+ * OK
743
+ */
744
+ 200: PagedModelPublisherApprovalSummaryModel;
745
+ };
746
+ export type GetAwaitingApprovalResponse = GetAwaitingApprovalResponses[keyof GetAwaitingApprovalResponses];
747
+ export type GetAwaitingApprovalCountData = {
748
+ body?: never;
749
+ path?: never;
750
+ query?: never;
751
+ url: '/umbraco/usync/api/v1/Publisher/GetAwaitingApprovalCount';
752
+ };
753
+ export type GetAwaitingApprovalCountErrors = {
754
+ /**
755
+ * The resource is protected and requires an authentication token
756
+ */
757
+ 401: unknown;
758
+ };
759
+ export type GetAwaitingApprovalCountResponses = {
760
+ /**
761
+ * OK
762
+ */
763
+ 200: number | string;
764
+ };
765
+ export type GetAwaitingApprovalCountResponse = GetAwaitingApprovalCountResponses[keyof GetAwaitingApprovalCountResponses];
766
+ export type GetMyRequestsData = {
767
+ body?: never;
768
+ path?: never;
769
+ query?: {
770
+ page?: number | string;
771
+ pageSize?: number | string;
772
+ };
773
+ url: '/umbraco/usync/api/v1/Publisher/GetMyRequests';
774
+ };
775
+ export type GetMyRequestsErrors = {
776
+ /**
777
+ * The resource is protected and requires an authentication token
778
+ */
779
+ 401: unknown;
780
+ };
781
+ export type GetMyRequestsResponses = {
782
+ /**
783
+ * OK
784
+ */
785
+ 200: PagedModelPublisherApprovalSummaryModel;
786
+ };
787
+ export type GetMyRequestsResponse = GetMyRequestsResponses[keyof GetMyRequestsResponses];
788
+ export type GetServerApprovalData = {
789
+ body?: never;
790
+ path?: never;
791
+ query?: {
792
+ server?: string;
793
+ };
794
+ url: '/umbraco/usync/api/v1/Publisher/GetServerApproval';
795
+ };
796
+ export type GetServerApprovalErrors = {
797
+ /**
798
+ * The resource is protected and requires an authentication token
799
+ */
800
+ 401: unknown;
801
+ };
802
+ export type GetServerApprovalResponses = {
803
+ /**
804
+ * OK
805
+ */
806
+ 200: PublisherApprovalServerModel;
807
+ };
808
+ export type GetServerApprovalResponse = GetServerApprovalResponses[keyof GetServerApprovalResponses];
809
+ export type WithdrawData = {
810
+ body: PublisherApprovalDecisionModel;
811
+ path?: never;
812
+ query?: never;
813
+ url: '/umbraco/usync/api/v1/Publisher/Withdraw';
814
+ };
815
+ export type WithdrawErrors = {
816
+ /**
817
+ * Bad Request
818
+ */
819
+ 400: ProblemDetails;
820
+ /**
821
+ * The resource is protected and requires an authentication token
822
+ */
823
+ 401: unknown;
824
+ };
825
+ export type WithdrawError = WithdrawErrors[keyof WithdrawErrors];
826
+ export type WithdrawResponses = {
827
+ /**
828
+ * OK
829
+ */
830
+ 200: PublisherApprovalDetailModel;
831
+ };
832
+ export type WithdrawResponse = WithdrawResponses[keyof WithdrawResponses];
833
+ export type AddToBatchData = {
834
+ body: Array<BatchPushItemRequest>;
835
+ path?: never;
836
+ query?: never;
837
+ url: '/umbraco/usync/api/v1/Publisher/AddToBatch';
838
+ };
839
+ export type AddToBatchErrors = {
840
+ /**
841
+ * Bad Request
842
+ */
843
+ 400: ProblemDetails;
844
+ /**
845
+ * The resource is protected and requires an authentication token
846
+ */
847
+ 401: unknown;
848
+ };
849
+ export type AddToBatchError = AddToBatchErrors[keyof AddToBatchErrors];
850
+ export type AddToBatchResponses = {
851
+ /**
852
+ * OK
853
+ */
854
+ 200: BatchPushAddResult;
855
+ };
856
+ export type AddToBatchResponse = AddToBatchResponses[keyof AddToBatchResponses];
857
+ export type ClearBatchData = {
858
+ body?: never;
859
+ path?: never;
860
+ query?: never;
861
+ url: '/umbraco/usync/api/v1/Publisher/ClearBatch';
862
+ };
863
+ export type ClearBatchErrors = {
864
+ /**
865
+ * The resource is protected and requires an authentication token
866
+ */
867
+ 401: unknown;
868
+ };
869
+ export type ClearBatchResponses = {
870
+ /**
871
+ * OK
872
+ */
873
+ 200: number | string;
874
+ };
875
+ export type ClearBatchResponse = ClearBatchResponses[keyof ClearBatchResponses];
876
+ export type GetBatchData = {
877
+ body?: never;
878
+ path?: never;
879
+ query?: never;
880
+ url: '/umbraco/usync/api/v1/Publisher/GetBatch';
881
+ };
882
+ export type GetBatchErrors = {
883
+ /**
884
+ * The resource is protected and requires an authentication token
885
+ */
886
+ 401: unknown;
887
+ };
888
+ export type GetBatchResponses = {
889
+ /**
890
+ * OK
891
+ */
892
+ 200: BatchPushModel;
893
+ };
894
+ export type GetBatchResponse = GetBatchResponses[keyof GetBatchResponses];
895
+ export type GetBatchCountData = {
896
+ body?: never;
897
+ path?: never;
898
+ query?: never;
899
+ url: '/umbraco/usync/api/v1/Publisher/GetBatchCount';
900
+ };
901
+ export type GetBatchCountErrors = {
902
+ /**
903
+ * The resource is protected and requires an authentication token
904
+ */
905
+ 401: unknown;
906
+ };
907
+ export type GetBatchCountResponses = {
908
+ /**
909
+ * OK
910
+ */
911
+ 200: number | string;
912
+ };
913
+ export type GetBatchCountResponse = GetBatchCountResponses[keyof GetBatchCountResponses];
914
+ export type RemoveFromBatchData = {
915
+ body: Array<string>;
916
+ path?: never;
917
+ query?: never;
918
+ url: '/umbraco/usync/api/v1/Publisher/RemoveFromBatch';
919
+ };
920
+ export type RemoveFromBatchErrors = {
921
+ /**
922
+ * The resource is protected and requires an authentication token
923
+ */
924
+ 401: unknown;
925
+ };
926
+ export type RemoveFromBatchResponses = {
927
+ /**
928
+ * OK
929
+ */
930
+ 200: number | string;
931
+ };
932
+ export type RemoveFromBatchResponse = RemoveFromBatchResponses[keyof RemoveFromBatchResponses];
933
+ export type SetBatchIncludeChildrenData = {
934
+ body: BatchPushIncludeChildrenRequest;
935
+ path?: never;
936
+ query?: never;
937
+ url: '/umbraco/usync/api/v1/Publisher/SetBatchIncludeChildren';
938
+ };
939
+ export type SetBatchIncludeChildrenErrors = {
940
+ /**
941
+ * The resource is protected and requires an authentication token
942
+ */
943
+ 401: unknown;
944
+ /**
945
+ * Not Found
946
+ */
947
+ 404: ProblemDetails;
948
+ };
949
+ export type SetBatchIncludeChildrenError = SetBatchIncludeChildrenErrors[keyof SetBatchIncludeChildrenErrors];
950
+ export type SetBatchIncludeChildrenResponses = {
951
+ /**
952
+ * OK
953
+ */
954
+ 200: unknown;
955
+ };
956
+ export type CalculateContentChangesData = {
957
+ body: Array<UdiModel>;
958
+ path?: never;
959
+ query?: {
960
+ server?: string;
961
+ };
962
+ url: '/umbraco/usync/api/v1/Publisher/CalculateContentChanges';
963
+ };
964
+ export type CalculateContentChangesErrors = {
965
+ /**
966
+ * The resource is protected and requires an authentication token
967
+ */
968
+ 401: unknown;
969
+ };
970
+ export type CalculateContentChangesResponses = {
971
+ /**
972
+ * OK
973
+ */
974
+ 200: Array<SyncBrowserItemChange>;
975
+ };
976
+ export type CalculateContentChangesResponse = CalculateContentChangesResponses[keyof CalculateContentChangesResponses];
977
+ export type CalculateMediaChangesData = {
978
+ body: Array<UdiModel>;
979
+ path?: never;
980
+ query?: {
981
+ server?: string;
982
+ };
983
+ url: '/umbraco/usync/api/v1/Publisher/CalculateMediaChanges';
984
+ };
985
+ export type CalculateMediaChangesErrors = {
986
+ /**
987
+ * The resource is protected and requires an authentication token
988
+ */
989
+ 401: unknown;
990
+ };
991
+ export type CalculateMediaChangesResponses = {
992
+ /**
993
+ * OK
994
+ */
995
+ 200: Array<SyncBrowserItemChange>;
996
+ };
997
+ export type CalculateMediaChangesResponse = CalculateMediaChangesResponses[keyof CalculateMediaChangesResponses];
998
+ export type GetContentEntityData = {
999
+ body?: never;
1000
+ path?: never;
1001
+ query?: {
1002
+ id?: string;
1003
+ server?: string;
1004
+ };
1005
+ url: '/umbraco/usync/api/v1/Publisher/GetContentEntity';
1006
+ };
1007
+ export type GetContentEntityErrors = {
1008
+ /**
1009
+ * The resource is protected and requires an authentication token
1010
+ */
1011
+ 401: unknown;
1012
+ };
1013
+ export type GetContentEntityResponses = {
1014
+ /**
1015
+ * OK
1016
+ */
1017
+ 200: SplitEntityView;
1018
+ };
1019
+ export type GetContentEntityResponse = GetContentEntityResponses[keyof GetContentEntityResponses];
1020
+ export type GetContentFoldersData = {
1021
+ body?: never;
1022
+ path?: never;
1023
+ query?: {
1024
+ id?: string;
1025
+ server?: string;
1026
+ page?: number | string;
1027
+ sortBy?: string;
1028
+ sortDirection?: string;
1029
+ search?: string;
1030
+ };
1031
+ url: '/umbraco/usync/api/v1/Publisher/GetContentFolders';
1032
+ };
1033
+ export type GetContentFoldersErrors = {
1034
+ /**
1035
+ * The resource is protected and requires an authentication token
1036
+ */
1037
+ 401: unknown;
1038
+ };
1039
+ export type GetContentFoldersResponses = {
1040
+ /**
1041
+ * OK
1042
+ */
1043
+ 200: USyncItemFolder;
1044
+ };
1045
+ export type GetContentFoldersResponse = GetContentFoldersResponses[keyof GetContentFoldersResponses];
1046
+ export type GetLocalContentFoldersData = {
1047
+ body?: never;
1048
+ path?: never;
1049
+ query?: {
1050
+ id?: string;
1051
+ page?: number | string;
1052
+ sortBy?: string;
1053
+ sortDirection?: string;
1054
+ search?: string;
1055
+ };
1056
+ url: '/umbraco/usync/api/v1/Publisher/GetLocalContentFolders';
1057
+ };
1058
+ export type GetLocalContentFoldersErrors = {
1059
+ /**
1060
+ * The resource is protected and requires an authentication token
1061
+ */
1062
+ 401: unknown;
1063
+ };
1064
+ export type GetLocalContentFoldersResponses = {
1065
+ /**
1066
+ * OK
1067
+ */
1068
+ 200: USyncItemFolder;
1069
+ };
1070
+ export type GetLocalContentFoldersResponse = GetLocalContentFoldersResponses[keyof GetLocalContentFoldersResponses];
1071
+ export type GetLocalMediaFoldersData = {
1072
+ body?: never;
1073
+ path?: never;
1074
+ query?: {
1075
+ id?: string;
1076
+ page?: number | string;
1077
+ sortBy?: string;
1078
+ sortDirection?: string;
1079
+ search?: string;
1080
+ };
1081
+ url: '/umbraco/usync/api/v1/Publisher/GetLocalMediaFolders';
1082
+ };
1083
+ export type GetLocalMediaFoldersErrors = {
1084
+ /**
1085
+ * The resource is protected and requires an authentication token
1086
+ */
1087
+ 401: unknown;
1088
+ };
1089
+ export type GetLocalMediaFoldersResponses = {
1090
+ /**
1091
+ * OK
1092
+ */
1093
+ 200: USyncItemFolder;
1094
+ };
1095
+ export type GetLocalMediaFoldersResponse = GetLocalMediaFoldersResponses[keyof GetLocalMediaFoldersResponses];
1096
+ export type GetMediaEntityData = {
1097
+ body?: never;
1098
+ path?: never;
1099
+ query?: {
1100
+ id?: string;
1101
+ server?: string;
1102
+ };
1103
+ url: '/umbraco/usync/api/v1/Publisher/GetMediaEntity';
1104
+ };
1105
+ export type GetMediaEntityErrors = {
1106
+ /**
1107
+ * The resource is protected and requires an authentication token
1108
+ */
1109
+ 401: unknown;
1110
+ };
1111
+ export type GetMediaEntityResponses = {
1112
+ /**
1113
+ * OK
1114
+ */
1115
+ 200: SplitEntityView;
1116
+ };
1117
+ export type GetMediaEntityResponse = GetMediaEntityResponses[keyof GetMediaEntityResponses];
1118
+ export type GetMediaFoldersData = {
1119
+ body?: never;
1120
+ path?: never;
1121
+ query?: {
1122
+ id?: string;
1123
+ server?: string;
1124
+ page?: number | string;
1125
+ sortBy?: string;
1126
+ sortDirection?: string;
1127
+ search?: string;
1128
+ };
1129
+ url: '/umbraco/usync/api/v1/Publisher/GetMediaFolders';
1130
+ };
1131
+ export type GetMediaFoldersErrors = {
1132
+ /**
1133
+ * The resource is protected and requires an authentication token
1134
+ */
1135
+ 401: unknown;
1136
+ };
1137
+ export type GetMediaFoldersResponses = {
1138
+ /**
1139
+ * OK
1140
+ */
1141
+ 200: USyncItemFolder;
1142
+ };
1143
+ export type GetMediaFoldersResponse = GetMediaFoldersResponses[keyof GetMediaFoldersResponses];
1144
+ export type HasContentData = {
1145
+ body?: never;
1146
+ path?: never;
1147
+ query?: never;
1148
+ url: '/umbraco/usync/api/v1/Publisher/HasContent';
1149
+ };
1150
+ export type HasContentErrors = {
1151
+ /**
1152
+ * The resource is protected and requires an authentication token
1153
+ */
1154
+ 401: unknown;
1155
+ };
1156
+ export type HasContentResponses = {
1157
+ /**
1158
+ * OK
1159
+ */
1160
+ 200: boolean;
1161
+ };
1162
+ export type HasContentResponse = HasContentResponses[keyof HasContentResponses];
1163
+ export type HasContentOrMediaData = {
1164
+ body?: never;
1165
+ path?: never;
1166
+ query?: {
1167
+ checkEnabled?: boolean;
1168
+ };
1169
+ url: '/umbraco/usync/api/v1/Publisher/HasContentOrMedia';
1170
+ };
1171
+ export type HasContentOrMediaErrors = {
1172
+ /**
1173
+ * The resource is protected and requires an authentication token
1174
+ */
1175
+ 401: unknown;
1176
+ };
1177
+ export type HasContentOrMediaResponses = {
1178
+ /**
1179
+ * OK
1180
+ */
1181
+ 200: boolean;
1182
+ };
1183
+ export type HasContentOrMediaResponse = HasContentOrMediaResponses[keyof HasContentOrMediaResponses];
1184
+ export type HasMediaData = {
1185
+ body?: never;
1186
+ path?: never;
1187
+ query?: never;
1188
+ url: '/umbraco/usync/api/v1/Publisher/HasMedia';
1189
+ };
1190
+ export type HasMediaErrors = {
1191
+ /**
1192
+ * The resource is protected and requires an authentication token
1193
+ */
1194
+ 401: unknown;
1195
+ };
1196
+ export type HasMediaResponses = {
1197
+ /**
1198
+ * OK
1199
+ */
1200
+ 200: boolean;
1201
+ };
1202
+ export type HasMediaResponse = HasMediaResponses[keyof HasMediaResponses];
1203
+ export type GetVariantsData = {
1204
+ body?: never;
1205
+ path?: never;
1206
+ query?: {
1207
+ udiValue?: string;
1208
+ };
1209
+ url: '/umbraco/usync/api/v1/Publisher/GetVariants';
1210
+ };
1211
+ export type GetVariantsErrors = {
1212
+ /**
1213
+ * The resource is protected and requires an authentication token
1214
+ */
1215
+ 401: unknown;
1216
+ };
1217
+ export type GetVariantsResponses = {
1218
+ /**
1219
+ * OK
1220
+ */
1221
+ 200: Array<SyncPublisherVariantsResult>;
1222
+ };
1223
+ export type GetVariantsResponse = GetVariantsResponses[keyof GetVariantsResponses];
1224
+ export type CreateKeysData = {
1225
+ body?: never;
1226
+ path?: never;
1227
+ query?: never;
1228
+ url: '/umbraco/usync/api/v1/Publisher/CreateKeys';
1229
+ };
1230
+ export type CreateKeysErrors = {
1231
+ /**
1232
+ * The resource is protected and requires an authentication token
1233
+ */
1234
+ 401: unknown;
1235
+ };
1236
+ export type CreateKeysResponses = {
1237
+ /**
1238
+ * OK
1239
+ */
1240
+ 200: AppKeySetupResult;
1241
+ };
1242
+ export type CreateKeysResponse = CreateKeysResponses[keyof CreateKeysResponses];
1243
+ export type HasKeysData = {
1244
+ body?: never;
1245
+ path?: never;
1246
+ query?: never;
1247
+ url: '/umbraco/usync/api/v1/Publisher/HasKeys';
1248
+ };
1249
+ export type HasKeysErrors = {
1250
+ /**
1251
+ * The resource is protected and requires an authentication token
1252
+ */
1253
+ 401: unknown;
1254
+ };
1255
+ export type HasKeysResponses = {
1256
+ /**
1257
+ * OK
1258
+ */
1259
+ 200: boolean;
1260
+ };
1261
+ export type HasKeysResponse = HasKeysResponses[keyof HasKeysResponses];
1262
+ export type SaveKeysData = {
1263
+ body: AppKeyView;
1264
+ path?: never;
1265
+ query?: never;
1266
+ url: '/umbraco/usync/api/v1/Publisher/SaveKeys';
1267
+ };
1268
+ export type SaveKeysErrors = {
1269
+ /**
1270
+ * The resource is protected and requires an authentication token
1271
+ */
1272
+ 401: unknown;
1273
+ };
1274
+ export type SaveKeysResponses = {
1275
+ /**
1276
+ * OK
1277
+ */
1278
+ 200: boolean;
1279
+ };
1280
+ export type SaveKeysResponse = SaveKeysResponses[keyof SaveKeysResponses];
1281
+ export type GetPublisherData = {
1282
+ body?: never;
1283
+ path?: never;
1284
+ query?: {
1285
+ server?: string;
1286
+ };
1287
+ url: '/umbraco/usync/api/v1/Publisher/GetPublisher';
1288
+ };
1289
+ export type GetPublisherErrors = {
1290
+ /**
1291
+ * The resource is protected and requires an authentication token
1292
+ */
1293
+ 401: unknown;
1294
+ /**
1295
+ * Not Found
1296
+ */
1297
+ 404: unknown;
1298
+ };
1299
+ export type GetPublisherResponses = {
1300
+ /**
1301
+ * OK
1302
+ */
1303
+ 200: USyncPublisherView;
1304
+ };
1305
+ export type GetPublisherResponse = GetPublisherResponses[keyof GetPublisherResponses];
1306
+ export type GetPublishersData = {
1307
+ body?: never;
1308
+ path?: never;
1309
+ query?: never;
1310
+ url: '/umbraco/usync/api/v1/Publisher/GetPublishers';
1311
+ };
1312
+ export type GetPublishersErrors = {
1313
+ /**
1314
+ * The resource is protected and requires an authentication token
1315
+ */
1316
+ 401: unknown;
1317
+ };
1318
+ export type GetPublishersResponses = {
1319
+ /**
1320
+ * OK
1321
+ */
1322
+ 200: Array<USyncPublisherView>;
1323
+ };
1324
+ export type GetPublishersResponse = GetPublishersResponses[keyof GetPublishersResponses];
1325
+ export type StartData = {
1326
+ body: PublisherStartRequest;
1327
+ path?: never;
1328
+ query?: never;
1329
+ url: '/umbraco/usync/api/v1/Publisher/Start';
1330
+ };
1331
+ export type StartErrors = {
1332
+ /**
1333
+ * Bad Request
1334
+ */
1335
+ 400: ProblemDetails;
1336
+ /**
1337
+ * The resource is protected and requires an authentication token
1338
+ */
1339
+ 401: unknown;
1340
+ /**
1341
+ * Forbidden
1342
+ */
1343
+ 403: ProblemDetails;
1344
+ /**
1345
+ * Conflict
1346
+ */
1347
+ 409: PipelineRunRejected;
1348
+ };
1349
+ export type StartError = StartErrors[keyof StartErrors];
1350
+ export type StartResponses = {
1351
+ /**
1352
+ * Accepted
1353
+ */
1354
+ 202: PipelineRunStarted;
1355
+ };
1356
+ export type StartResponse = StartResponses[keyof StartResponses];
1357
+ export type GetSiteStatusData = {
1358
+ body?: never;
1359
+ path?: never;
1360
+ query?: never;
1361
+ url: '/umbraco/usync/api/v1/Publisher/GetSiteStatus';
1362
+ };
1363
+ export type GetSiteStatusErrors = {
1364
+ /**
1365
+ * The resource is protected and requires an authentication token
1366
+ */
1367
+ 401: unknown;
1368
+ };
1369
+ export type GetSiteStatusResponses = {
1370
+ /**
1371
+ * OK
1372
+ */
1373
+ 200: SiteSeedStatus;
1374
+ };
1375
+ export type GetSiteStatusResponse = GetSiteStatusResponses[keyof GetSiteStatusResponses];
1376
+ export type AddToAllServersData = {
1377
+ body?: never;
1378
+ path?: never;
1379
+ query?: {
1380
+ server?: string;
1381
+ };
1382
+ url: '/umbraco/usync/api/v1/Publisher/AddToAllServers';
1383
+ };
1384
+ export type AddToAllServersErrors = {
1385
+ /**
1386
+ * The resource is protected and requires an authentication token
1387
+ */
1388
+ 401: unknown;
1389
+ };
1390
+ export type AddToAllServersResponses = {
1391
+ /**
1392
+ * OK
1393
+ */
1394
+ 200: boolean;
1395
+ };
1396
+ export type AddToAllServersResponse = AddToAllServersResponses[keyof AddToAllServersResponses];
1397
+ export type CheckServerData = {
1398
+ body?: never;
1399
+ path?: never;
1400
+ query?: {
1401
+ server?: string;
1402
+ };
1403
+ url: '/umbraco/usync/api/v1/Publisher/CheckServer';
1404
+ };
1405
+ export type CheckServerErrors = {
1406
+ /**
1407
+ * The resource is protected and requires an authentication token
1408
+ */
1409
+ 401: unknown;
1410
+ };
1411
+ export type CheckServerResponses = {
1412
+ /**
1413
+ * OK
1414
+ */
1415
+ 200: USyncPublishServerStatus;
1416
+ };
1417
+ export type CheckServerResponse = CheckServerResponses[keyof CheckServerResponses];
1418
+ export type CheckServerSignalRData = {
1419
+ body?: never;
1420
+ path?: never;
1421
+ query?: {
1422
+ server?: string;
1423
+ };
1424
+ url: '/umbraco/usync/api/v1/Publisher/CheckServerSignalR';
1425
+ };
1426
+ export type CheckServerSignalRErrors = {
1427
+ /**
1428
+ * The resource is protected and requires an authentication token
1429
+ */
1430
+ 401: unknown;
1431
+ };
1432
+ export type CheckServerSignalRResponses = {
1433
+ /**
1434
+ * OK
1435
+ */
1436
+ 200: USyncPublishServerStatus;
1437
+ };
1438
+ export type CheckServerSignalRResponse = CheckServerSignalRResponses[keyof CheckServerSignalRResponses];
1439
+ export type CheckServerUrlData = {
1440
+ body?: never;
1441
+ path?: never;
1442
+ query?: {
1443
+ url?: string;
1444
+ };
1445
+ url: '/umbraco/usync/api/v1/Publisher/CheckServerUrl';
1446
+ };
1447
+ export type CheckServerUrlErrors = {
1448
+ /**
1449
+ * The resource is protected and requires an authentication token
1450
+ */
1451
+ 401: unknown;
1452
+ };
1453
+ export type CheckServerUrlResponses = {
1454
+ /**
1455
+ * OK
1456
+ */
1457
+ 200: USyncPublishServerStatus;
1458
+ };
1459
+ export type CheckServerUrlResponse = CheckServerUrlResponses[keyof CheckServerUrlResponses];
1460
+ export type CopyServerData = {
1461
+ body: SyncPublishServerCopyView;
1462
+ path?: never;
1463
+ query?: never;
1464
+ url: '/umbraco/usync/api/v1/Publisher/CopyServer';
1465
+ };
1466
+ export type CopyServerErrors = {
1467
+ /**
1468
+ * The resource is protected and requires an authentication token
1469
+ */
1470
+ 401: unknown;
1471
+ };
1472
+ export type CopyServerResponses = {
1473
+ /**
1474
+ * OK
1475
+ */
1476
+ 200: boolean;
1477
+ };
1478
+ export type CopyServerResponse = CopyServerResponses[keyof CopyServerResponses];
1479
+ export type DeleteServerData = {
1480
+ body?: never;
1481
+ path?: never;
1482
+ query?: {
1483
+ key?: string;
1484
+ };
1485
+ url: '/umbraco/usync/api/v1/Publisher/DeleteServer';
1486
+ };
1487
+ export type DeleteServerErrors = {
1488
+ /**
1489
+ * The resource is protected and requires an authentication token
1490
+ */
1491
+ 401: unknown;
1492
+ };
1493
+ export type DeleteServerResponses = {
1494
+ /**
1495
+ * OK
1496
+ */
1497
+ 200: boolean;
1498
+ };
1499
+ export type DeleteServerResponse = DeleteServerResponses[keyof DeleteServerResponses];
1500
+ export type GetAllServersData = {
1501
+ body?: never;
1502
+ path?: never;
1503
+ query?: {
1504
+ enabledOnly?: boolean;
1505
+ };
1506
+ url: '/umbraco/usync/api/v1/Publisher/GetAllServers';
1507
+ };
1508
+ export type GetAllServersErrors = {
1509
+ /**
1510
+ * The resource is protected and requires an authentication token
1511
+ */
1512
+ 401: unknown;
1513
+ };
1514
+ export type GetAllServersResponses = {
1515
+ /**
1516
+ * OK
1517
+ */
1518
+ 200: Array<SyncPublishServerView>;
1519
+ };
1520
+ export type GetAllServersResponse = GetAllServersResponses[keyof GetAllServersResponses];
1521
+ export type GetAvailableServersData = {
1522
+ body: SyncPublishAvailableServerRequest;
1523
+ path?: never;
1524
+ query?: never;
1525
+ url: '/umbraco/usync/api/v1/Publisher/GetAvailableServers';
1526
+ };
1527
+ export type GetAvailableServersErrors = {
1528
+ /**
1529
+ * The resource is protected and requires an authentication token
1530
+ */
1531
+ 401: unknown;
1532
+ };
1533
+ export type GetAvailableServersResponses = {
1534
+ /**
1535
+ * OK
1536
+ */
1537
+ 200: Array<SyncPublishServerView>;
1538
+ };
1539
+ export type GetAvailableServersResponse = GetAvailableServersResponses[keyof GetAvailableServersResponses];
1540
+ export type GetCurrentServerData = {
1541
+ body?: never;
1542
+ path?: never;
1543
+ query?: never;
1544
+ url: '/umbraco/usync/api/v1/Publisher/GetCurrent';
1545
+ };
1546
+ export type GetCurrentServerErrors = {
1547
+ /**
1548
+ * The resource is protected and requires an authentication token
1549
+ */
1550
+ 401: unknown;
1551
+ };
1552
+ export type GetCurrentServerResponses = {
1553
+ /**
1554
+ * OK
1555
+ */
1556
+ 200: null | SyncPublishServerView;
1557
+ };
1558
+ export type GetCurrentServerResponse = GetCurrentServerResponses[keyof GetCurrentServerResponses];
1559
+ export type GetServerData = {
1560
+ body?: never;
1561
+ path?: never;
1562
+ query?: {
1563
+ key?: string;
1564
+ };
1565
+ url: '/umbraco/usync/api/v1/Publisher/GetServer';
1566
+ };
1567
+ export type GetServerErrors = {
1568
+ /**
1569
+ * The resource is protected and requires an authentication token
1570
+ */
1571
+ 401: unknown;
1572
+ };
1573
+ export type GetServerResponses = {
1574
+ /**
1575
+ * OK
1576
+ */
1577
+ 200: null | SyncPublishServerView;
1578
+ };
1579
+ export type GetServerResponse = GetServerResponses[keyof GetServerResponses];
1580
+ export type GetServerByUrlData = {
1581
+ body?: never;
1582
+ path?: never;
1583
+ query?: {
1584
+ url?: string;
1585
+ };
1586
+ url: '/umbraco/usync/api/v1/Publisher/GetServerByUrl';
1587
+ };
1588
+ export type GetServerByUrlErrors = {
1589
+ /**
1590
+ * The resource is protected and requires an authentication token
1591
+ */
1592
+ 401: unknown;
1593
+ };
1594
+ export type GetServerByUrlResponses = {
1595
+ /**
1596
+ * OK
1597
+ */
1598
+ 200: null | SyncPublishServerView;
1599
+ };
1600
+ export type GetServerByUrlResponse = GetServerByUrlResponses[keyof GetServerByUrlResponses];
1601
+ export type GetServersData = {
1602
+ body?: never;
1603
+ path?: never;
1604
+ query?: {
1605
+ action?: string;
1606
+ enabledOnly?: boolean;
1607
+ };
1608
+ url: '/umbraco/usync/api/v1/Publisher/GetServers';
1609
+ };
1610
+ export type GetServersErrors = {
1611
+ /**
1612
+ * The resource is protected and requires an authentication token
1613
+ */
1614
+ 401: unknown;
1615
+ };
1616
+ export type GetServersResponses = {
1617
+ /**
1618
+ * OK
1619
+ */
1620
+ 200: Array<SyncPublishServerView>;
1621
+ };
1622
+ export type GetServersResponse = GetServersResponses[keyof GetServersResponses];
1623
+ export type SaveServerData = {
1624
+ body: SyncPublishServerView;
1625
+ path?: never;
1626
+ query?: never;
1627
+ url: '/umbraco/usync/api/v1/Publisher/SaveServer';
1628
+ };
1629
+ export type SaveServerErrors = {
1630
+ /**
1631
+ * Bad Request
1632
+ */
1633
+ 400: ProblemDetails;
1634
+ /**
1635
+ * The resource is protected and requires an authentication token
1636
+ */
1637
+ 401: unknown;
1638
+ };
1639
+ export type SaveServerError = SaveServerErrors[keyof SaveServerErrors];
1640
+ export type SaveServerResponses = {
1641
+ /**
1642
+ * OK
1643
+ */
1644
+ 200: boolean;
1645
+ };
1646
+ export type SaveServerResponse = SaveServerResponses[keyof SaveServerResponses];
1647
+ export type SetServerOrderData = {
1648
+ body: Array<string>;
1649
+ path?: never;
1650
+ query?: never;
1651
+ url: '/umbraco/usync/api/v1/Publisher/SetServerOrder';
1652
+ };
1653
+ export type SetServerOrderErrors = {
1654
+ /**
1655
+ * The resource is protected and requires an authentication token
1656
+ */
1657
+ 401: unknown;
1658
+ };
1659
+ export type SetServerOrderResponses = {
1660
+ /**
1661
+ * OK
1662
+ */
1663
+ 200: boolean;
1664
+ };
1665
+ export type SetServerOrderResponse = SetServerOrderResponses[keyof SetServerOrderResponses];
1666
+ export type GetAncestorsData = {
1667
+ body?: never;
1668
+ path?: never;
1669
+ query?: {
1670
+ id?: string;
1671
+ };
1672
+ url: '/umbraco/usync/api/v1/tree/server/ServerAncestors';
1673
+ };
1674
+ export type GetAncestorsErrors = {
1675
+ /**
1676
+ * Bad Request
1677
+ */
1678
+ 400: ProblemDetails;
1679
+ /**
1680
+ * The resource is protected and requires an authentication token
1681
+ */
1682
+ 401: unknown;
1683
+ };
1684
+ export type GetAncestorsError = GetAncestorsErrors[keyof GetAncestorsErrors];
1685
+ export type GetAncestorsResponses = {
1686
+ /**
1687
+ * OK
1688
+ */
1689
+ 200: Array<SyncServerItemResponseModel>;
1690
+ };
1691
+ export type GetAncestorsResponse = GetAncestorsResponses[keyof GetAncestorsResponses];
1692
+ export type GetChildrenData = {
1693
+ body?: never;
1694
+ path?: never;
1695
+ query?: {
1696
+ parent?: string;
1697
+ skip?: number | string;
1698
+ take?: number | string;
1699
+ };
1700
+ url: '/umbraco/usync/api/v1/tree/server/ServerChildren';
1701
+ };
1702
+ export type GetChildrenErrors = {
1703
+ /**
1704
+ * Bad Request
1705
+ */
1706
+ 400: ProblemDetails;
1707
+ /**
1708
+ * The resource is protected and requires an authentication token
1709
+ */
1710
+ 401: unknown;
1711
+ };
1712
+ export type GetChildrenError = GetChildrenErrors[keyof GetChildrenErrors];
1713
+ export type GetChildrenResponses = {
1714
+ /**
1715
+ * OK
1716
+ */
1717
+ 200: PagedSyncServerItemResponseModel;
1718
+ };
1719
+ export type GetChildrenResponse = GetChildrenResponses[keyof GetChildrenResponses];
1720
+ export type RootData = {
1721
+ body?: never;
1722
+ path?: never;
1723
+ query?: {
1724
+ skip?: number | string;
1725
+ take?: number | string;
1726
+ foldersOnly?: boolean;
1727
+ };
1728
+ url: '/umbraco/usync/api/v1/tree/server/ServerRoot';
1729
+ };
1730
+ export type RootErrors = {
1731
+ /**
1732
+ * The resource is protected and requires an authentication token
1733
+ */
1734
+ 401: unknown;
1735
+ };
1736
+ export type RootResponses = {
1737
+ /**
1738
+ * OK
1739
+ */
1740
+ 200: PagedSyncServerItemResponseModel;
1741
+ };
1742
+ export type RootResponse = RootResponses[keyof RootResponses];
1743
+ export type GetButtonsData = {
1744
+ body?: never;
1745
+ path?: never;
1746
+ query?: never;
1747
+ url: '/umbraco/usync/api/v1/Publisher/GetButtons';
1748
+ };
1749
+ export type GetButtonsErrors = {
1750
+ /**
1751
+ * The resource is protected and requires an authentication token
1752
+ */
1753
+ 401: unknown;
1754
+ };
1755
+ export type GetButtonsResponses = {
1756
+ /**
1757
+ * OK
1758
+ */
1759
+ 200: Array<string>;
1760
+ };
1761
+ export type GetButtonsResponse = GetButtonsResponses[keyof GetButtonsResponses];
1762
+ export type GetDescendantCountData = {
1763
+ body?: never;
1764
+ path?: never;
1765
+ query?: {
1766
+ id?: number | string;
1767
+ };
1768
+ url: '/umbraco/usync/api/v1/Publisher/GetDescendantCount';
1769
+ };
1770
+ export type GetDescendantCountErrors = {
1771
+ /**
1772
+ * The resource is protected and requires an authentication token
1773
+ */
1774
+ 401: unknown;
1775
+ };
1776
+ export type GetDescendantCountResponses = {
1777
+ /**
1778
+ * OK
1779
+ */
1780
+ 200: number | string;
1781
+ };
1782
+ export type GetDescendantCountResponse = GetDescendantCountResponses[keyof GetDescendantCountResponses];
1783
+ export type GetSettingsData = {
1784
+ body?: never;
1785
+ path?: never;
1786
+ query?: never;
1787
+ url: '/umbraco/usync/api/v1/Publisher/GetSettings';
1788
+ };
1789
+ export type GetSettingsErrors = {
1790
+ /**
1791
+ * The resource is protected and requires an authentication token
1792
+ */
1793
+ 401: unknown;
1794
+ };
1795
+ export type GetSettingsResponses = {
1796
+ /**
1797
+ * OK
1798
+ */
1799
+ 200: USyncPublishSettingsView;
1800
+ };
1801
+ export type GetSettingsResponse = GetSettingsResponses[keyof GetSettingsResponses];
1802
+ export type GetUserGroupsData = {
1803
+ body?: never;
1804
+ path?: never;
1805
+ query?: never;
1806
+ url: '/umbraco/usync/api/v1/Publisher/GetUserGroups';
1807
+ };
1808
+ export type GetUserGroupsErrors = {
1809
+ /**
1810
+ * The resource is protected and requires an authentication token
1811
+ */
1812
+ 401: unknown;
1813
+ };
1814
+ export type GetUserGroupsResponses = {
1815
+ /**
1816
+ * OK
1817
+ */
1818
+ 200: Array<UserGroupListModel>;
1819
+ };
1820
+ export type GetUserGroupsResponse = GetUserGroupsResponses[keyof GetUserGroupsResponses];
1821
+ export type ReloadSettingsData = {
1822
+ body?: never;
1823
+ path?: never;
1824
+ query?: never;
1825
+ url: '/umbraco/usync/api/v1/Publisher/ReloadSettings';
1826
+ };
1827
+ export type ReloadSettingsErrors = {
1828
+ /**
1829
+ * The resource is protected and requires an authentication token
1830
+ */
1831
+ 401: unknown;
1832
+ };
1833
+ export type ReloadSettingsResponses = {
1834
+ /**
1835
+ * OK
1836
+ */
1837
+ 200: boolean;
1838
+ };
1839
+ export type ReloadSettingsResponse = ReloadSettingsResponses[keyof ReloadSettingsResponses];
1840
+ export type SaveSettingsData = {
1841
+ body: USyncPublishSettingsView;
1842
+ path?: never;
1843
+ query?: never;
1844
+ url: '/umbraco/usync/api/v1/Publisher/SaveSettings';
1845
+ };
1846
+ export type SaveSettingsErrors = {
1847
+ /**
1848
+ * The resource is protected and requires an authentication token
1849
+ */
1850
+ 401: unknown;
1851
+ };
1852
+ export type SaveSettingsResponses = {
1853
+ /**
1854
+ * OK
1855
+ */
1856
+ 200: boolean;
1857
+ };
1858
+ export type SaveSettingsResponse = SaveSettingsResponses[keyof SaveSettingsResponses];
1859
+ export type SyncSettingsData = {
1860
+ body: ServerSyncRequest;
1861
+ path?: never;
1862
+ query?: never;
1863
+ url: '/umbraco/usync/api/v1/Publisher/SyncSettings';
1864
+ };
1865
+ export type SyncSettingsErrors = {
1866
+ /**
1867
+ * Bad Request
1868
+ */
1869
+ 400: ProblemDetails;
1870
+ /**
1871
+ * The resource is protected and requires an authentication token
1872
+ */
1873
+ 401: unknown;
1874
+ };
1875
+ export type SyncSettingsError = SyncSettingsErrors[keyof SyncSettingsErrors];
1876
+ export type SyncSettingsResponses = {
1877
+ /**
1878
+ * OK
1879
+ */
1880
+ 200: ServerSyncResult;
1881
+ };
1882
+ export type SyncSettingsResponse = SyncSettingsResponses[keyof SyncSettingsResponses];
1883
+ export type GetActionViewData = {
1884
+ body?: never;
1885
+ path?: never;
1886
+ query?: never;
1887
+ url: '/umbraco/usync/api/v1/Publisher/GetActionViewModel';
1888
+ };
1889
+ export type GetActionViewErrors = {
1890
+ /**
1891
+ * The resource is protected and requires an authentication token
1892
+ */
1893
+ 401: unknown;
1894
+ /**
1895
+ * Not Found
1896
+ */
1897
+ 404: unknown;
1898
+ };
1899
+ export type GetActionViewResponses = {
1900
+ /**
1901
+ * OK
1902
+ */
1903
+ 200: USyncActionView;
1904
+ };
1905
+ export type GetActionViewResponse = GetActionViewResponses[keyof GetActionViewResponses];
1906
+ export type GetServerByAliasData = {
1907
+ body?: never;
1908
+ path?: never;
1909
+ query?: {
1910
+ serverAlias?: string;
1911
+ };
1912
+ url: '/umbraco/usync/api/v1/Publisher/GetServerByAlias';
1913
+ };
1914
+ export type GetServerByAliasErrors = {
1915
+ /**
1916
+ * The resource is protected and requires an authentication token
1917
+ */
1918
+ 401: unknown;
1919
+ /**
1920
+ * Not Found
1921
+ */
1922
+ 404: unknown;
1923
+ };
1924
+ export type GetServerByAliasResponses = {
1925
+ /**
1926
+ * OK
1927
+ */
1928
+ 200: SyncPublishServerView;
1929
+ };
1930
+ export type GetServerByAliasResponse = GetServerByAliasResponses[keyof GetServerByAliasResponses];
1931
+ export type GetStrategyByPublisherData = {
1932
+ body?: never;
1933
+ path?: never;
1934
+ query?: {
1935
+ publisherAlias?: string;
1936
+ mode?: PublishMode;
1937
+ };
1938
+ url: '/umbraco/usync/api/v1/Publisher/GetStrategyByPublisher';
1939
+ };
1940
+ export type GetStrategyByPublisherErrors = {
1941
+ /**
1942
+ * The resource is protected and requires an authentication token
1943
+ */
1944
+ 401: unknown;
1945
+ /**
1946
+ * Not Found
1947
+ */
1948
+ 404: unknown;
1949
+ };
1950
+ export type GetStrategyByPublisherResponses = {
1951
+ /**
1952
+ * OK
1953
+ */
1954
+ 200: string;
1955
+ };
1956
+ export type GetStrategyByPublisherResponse = GetStrategyByPublisherResponses[keyof GetStrategyByPublisherResponses];
1957
+ export type GetStrategyByServerData = {
1958
+ body?: never;
1959
+ path?: never;
1960
+ query?: {
1961
+ server?: string;
1962
+ mode?: PublishMode;
1963
+ };
1964
+ url: '/umbraco/usync/api/v1/Publisher/GetStrategyByServer';
1965
+ };
1966
+ export type GetStrategyByServerErrors = {
1967
+ /**
1968
+ * The resource is protected and requires an authentication token
1969
+ */
1970
+ 401: unknown;
1971
+ /**
1972
+ * Not Found
1973
+ */
1974
+ 404: unknown;
1975
+ };
1976
+ export type GetStrategyByServerResponses = {
1977
+ /**
1978
+ * OK
1979
+ */
1980
+ 200: string;
1981
+ };
1982
+ export type GetStrategyByServerResponse = GetStrategyByServerResponses[keyof GetStrategyByServerResponses];
1983
+ export type GetSyncItemData = {
1984
+ body?: never;
1985
+ path?: never;
1986
+ query?: {
1987
+ entityType?: string;
1988
+ id?: string;
1989
+ };
1990
+ url: '/umbraco/usync/api/v1/Publisher/GetSyncItem';
1991
+ };
1992
+ export type GetSyncItemErrors = {
1993
+ /**
1994
+ * The resource is protected and requires an authentication token
1995
+ */
1996
+ 401: unknown;
1997
+ };
1998
+ export type GetSyncItemResponses = {
1999
+ /**
2000
+ * OK
2001
+ */
2002
+ 200: SyncEntity;
2003
+ };
2004
+ export type GetSyncItemResponse = GetSyncItemResponses[keyof GetSyncItemResponses];
2005
+ export type GetProcessingOptionsData = {
2006
+ body?: never;
2007
+ path?: never;
2008
+ query?: never;
2009
+ url: '/umbraco/usync/api/v1/Publisher/SyncObjects';
2010
+ };
2011
+ export type GetProcessingOptionsErrors = {
2012
+ /**
2013
+ * The resource is protected and requires an authentication token
2014
+ */
2015
+ 401: unknown;
2016
+ };
2017
+ export type GetProcessingOptionsResponses = {
2018
+ /**
2019
+ * OK
2020
+ */
2021
+ 200: SyncPublisherObjects;
2022
+ };
2023
+ export type GetProcessingOptionsResponse = GetProcessingOptionsResponses[keyof GetProcessingOptionsResponses];
2024
+ export type GetSyncSendOptionsByModeData = {
2025
+ body?: never;
2026
+ path?: never;
2027
+ query?: {
2028
+ serverAlias?: string;
2029
+ mode?: PublishMode;
2030
+ entityType?: string;
2031
+ };
2032
+ url: '/umbraco/usync/api/v2/Publisher/GetSyncSendOptions';
2033
+ };
2034
+ export type GetSyncSendOptionsByModeErrors = {
2035
+ /**
2036
+ * Bad Request
2037
+ */
2038
+ 400: BadRequest;
2039
+ /**
2040
+ * The resource is protected and requires an authentication token
2041
+ */
2042
+ 401: unknown;
2043
+ };
2044
+ export type GetSyncSendOptionsByModeError = GetSyncSendOptionsByModeErrors[keyof GetSyncSendOptionsByModeErrors];
2045
+ export type GetSyncSendOptionsByModeResponses = {
2046
+ /**
2047
+ * OK
2048
+ */
2049
+ 200: SyncSendOptions;
2050
+ };
2051
+ export type GetSyncSendOptionsByModeResponse = GetSyncSendOptionsByModeResponses[keyof GetSyncSendOptionsByModeResponses];
2052
+ export type GetTemplatesData = {
2053
+ body?: never;
2054
+ path?: never;
2055
+ query?: never;
2056
+ url: '/umbraco/usync/api/v1/Publisher/GetTemplates';
2057
+ };
2058
+ export type GetTemplatesErrors = {
2059
+ /**
2060
+ * The resource is protected and requires an authentication token
2061
+ */
2062
+ 401: unknown;
2063
+ };
2064
+ export type GetTemplatesResponses = {
2065
+ /**
2066
+ * OK
2067
+ */
2068
+ 200: Array<SyncServerTemplateModel>;
2069
+ };
2070
+ export type GetTemplatesResponse = GetTemplatesResponses[keyof GetTemplatesResponses];