@jumoo/usync-publisher-assets 17.7.0-prerelease.49 → 18.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.d.ts +1 -2
- package/dist/api/sdk.gen.d.ts +18 -17
- package/dist/api/types.gen.d.ts +291 -363
- package/dist/batch-push/batch-push.repository.d.ts +2 -2
- package/dist/lang/files/en-us.d.ts +1 -0
- package/dist/servers/servers.context.d.ts +2 -2
- package/dist/servers/servers.repository.d.ts +3 -3
- package/dist/servers/servers.source.d.ts +3 -3
- package/dist/servers/tree/server-tree.data-source.d.ts +25 -3
- package/dist/servers/workspace/server-root/views/server-seed.element.d.ts +1 -1
- package/dist/strategies/common/config-step.element.d.ts +1 -1
- package/dist/strategies/modal/process-modal.element.d.ts +3 -3
- package/package.json +9 -11
package/dist/api/types.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
|
-
baseUrl: 'https://localhost:
|
|
2
|
+
baseUrl: 'https://localhost:44385/' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type AppKeySetupResult = {
|
|
5
5
|
appId: string;
|
|
@@ -7,15 +7,15 @@ export type AppKeySetupResult = {
|
|
|
7
7
|
json: string;
|
|
8
8
|
};
|
|
9
9
|
export type AppKeyView = {
|
|
10
|
-
appId?:
|
|
11
|
-
appKey?:
|
|
10
|
+
appId?: null | string;
|
|
11
|
+
appKey?: null | string;
|
|
12
12
|
};
|
|
13
13
|
export type BadRequest = {
|
|
14
|
-
|
|
14
|
+
statusCode: number | string;
|
|
15
15
|
};
|
|
16
16
|
export type BatchPushAddResult = {
|
|
17
|
-
added: number;
|
|
18
|
-
total: number;
|
|
17
|
+
added: number | string;
|
|
18
|
+
total: number | string;
|
|
19
19
|
};
|
|
20
20
|
export type BatchPushIncludeChildrenRequest = {
|
|
21
21
|
udi: string;
|
|
@@ -25,7 +25,7 @@ export type BatchPushItemModel = {
|
|
|
25
25
|
udi: string;
|
|
26
26
|
entityType: string;
|
|
27
27
|
name: string;
|
|
28
|
-
icon?:
|
|
28
|
+
icon?: null | string;
|
|
29
29
|
path: string;
|
|
30
30
|
includeChildren: boolean;
|
|
31
31
|
isRoot: boolean;
|
|
@@ -68,41 +68,27 @@ export declare enum ChangeType {
|
|
|
68
68
|
REMOVED = "Removed"
|
|
69
69
|
}
|
|
70
70
|
export type CustomPublisherOptions = {
|
|
71
|
-
releaseDate?:
|
|
72
|
-
approvalNote?:
|
|
73
|
-
includeSharedValues?:
|
|
74
|
-
};
|
|
75
|
-
export
|
|
76
|
-
NONE = "None",
|
|
77
|
-
INCLUDE_CHILDREN = "IncludeChildren",
|
|
78
|
-
INCLUDE_ANCESTORS = "IncludeAncestors",
|
|
79
|
-
INCLUDE_DEPENDENCIES = "IncludeDependencies",
|
|
80
|
-
INCLUDE_VIEWS = "IncludeViews",
|
|
81
|
-
INCLUDE_MEDIA = "IncludeMedia",
|
|
82
|
-
INCLUDE_LINKED = "IncludeLinked",
|
|
83
|
-
INCLUDE_MEDIA_FILES = "IncludeMediaFiles",
|
|
84
|
-
INCLUDE_CONFIG = "IncludeConfig",
|
|
85
|
-
ADJACENT_ONLY = "AdjacentOnly",
|
|
86
|
-
ROOT_SYNC = "RootSync",
|
|
87
|
-
INCLUDE_CONTENTS = "IncludeContents",
|
|
88
|
-
PUBLISHED_DEPENDENCIES = "PublishedDependencies"
|
|
89
|
-
}
|
|
71
|
+
releaseDate?: null | string;
|
|
72
|
+
approvalNote?: null | string;
|
|
73
|
+
includeSharedValues?: null | boolean;
|
|
74
|
+
};
|
|
75
|
+
export type DependencyFlags = string;
|
|
90
76
|
export type FlagModel = {
|
|
91
77
|
alias: string;
|
|
92
78
|
};
|
|
93
79
|
export type PagedModelPublisherApprovalSummaryModel = {
|
|
94
80
|
items: Array<PublisherApprovalSummaryModel>;
|
|
95
|
-
total: number;
|
|
81
|
+
total: number | string;
|
|
96
82
|
};
|
|
97
83
|
export type PagedSyncServerItemResponseModel = {
|
|
98
|
-
total: number;
|
|
84
|
+
total: number | string;
|
|
99
85
|
items: Array<SyncServerItemResponseModel>;
|
|
100
86
|
};
|
|
101
87
|
export type PipelineRunRejected = {
|
|
102
88
|
reason: PipelineRunRejectedReason;
|
|
103
89
|
message: string;
|
|
104
|
-
runningPipelineId?:
|
|
105
|
-
concurrencyKey?:
|
|
90
|
+
runningPipelineId?: null | string;
|
|
91
|
+
concurrencyKey?: null | string;
|
|
106
92
|
};
|
|
107
93
|
export declare enum PipelineRunRejectedReason {
|
|
108
94
|
NOT_FOUND = "NotFound",
|
|
@@ -125,38 +111,33 @@ export declare enum PipelineRunState {
|
|
|
125
111
|
CANCELLED = "Cancelled"
|
|
126
112
|
}
|
|
127
113
|
export type ProblemDetails = {
|
|
128
|
-
type?:
|
|
129
|
-
title?:
|
|
130
|
-
status?: number |
|
|
131
|
-
detail?:
|
|
132
|
-
instance?:
|
|
133
|
-
[key: string]: unknown;
|
|
114
|
+
type?: null | string;
|
|
115
|
+
title?: null | string;
|
|
116
|
+
status?: null | number | string;
|
|
117
|
+
detail?: null | string;
|
|
118
|
+
instance?: null | string;
|
|
134
119
|
};
|
|
135
|
-
export declare enum PublishMode {
|
|
136
|
-
PUSH = "Push",
|
|
137
|
-
PULL = "Pull",
|
|
138
|
-
PUSH_MEDIA = "PushMedia",
|
|
139
|
-
PULL_MEDIA = "PullMedia",
|
|
140
|
-
REPORT = "Report",
|
|
141
|
-
CONFIG_PUSH = "ConfigPush",
|
|
142
|
-
CONFIG_PULL = "ConfigPull",
|
|
143
|
-
SETTINGS_PUSH = "SettingsPush",
|
|
144
|
-
SETTINGS_PULL = "SettingsPull",
|
|
145
|
-
FILE_PUSH = "FilePush",
|
|
146
|
-
FILE_PULL = "FilePull",
|
|
147
|
-
SEED = "Seed",
|
|
148
|
-
SYNC_SETUP = "SyncSetup",
|
|
149
|
-
ANY = "Any"
|
|
150
|
-
}
|
|
151
120
|
export type PublisherApprovalAccessModel = {
|
|
152
121
|
inUse: boolean;
|
|
153
122
|
isApprover: boolean;
|
|
154
123
|
};
|
|
155
124
|
export type PublisherApprovalDecisionModel = {
|
|
156
125
|
key: string;
|
|
157
|
-
comment?:
|
|
126
|
+
comment?: null | string;
|
|
158
127
|
};
|
|
159
128
|
export type PublisherApprovalDetailModel = {
|
|
129
|
+
pipelineId: string;
|
|
130
|
+
message?: null | string;
|
|
131
|
+
decisionComment?: null | string;
|
|
132
|
+
error?: null | string;
|
|
133
|
+
report: Array<USyncActionView>;
|
|
134
|
+
appliedReport?: null | Array<USyncActionView>;
|
|
135
|
+
result?: null | Array<USyncActionView>;
|
|
136
|
+
finished?: null | string;
|
|
137
|
+
progress?: null | PublisherApprovalProgress;
|
|
138
|
+
canDecide: boolean;
|
|
139
|
+
cannotDecideReason?: null | string;
|
|
140
|
+
canWithdraw: boolean;
|
|
160
141
|
key: string;
|
|
161
142
|
serverAlias: string;
|
|
162
143
|
serverName: string;
|
|
@@ -166,34 +147,22 @@ export type PublisherApprovalDetailModel = {
|
|
|
166
147
|
requestedByName: string;
|
|
167
148
|
requested: string;
|
|
168
149
|
items: Array<PublisherApprovalItem>;
|
|
169
|
-
changes: number;
|
|
170
|
-
decidedByName?:
|
|
171
|
-
decided?:
|
|
172
|
-
expires?:
|
|
150
|
+
changes: number | string;
|
|
151
|
+
decidedByName?: null | string;
|
|
152
|
+
decided?: null | string;
|
|
153
|
+
expires?: null | string;
|
|
173
154
|
reportChanged: boolean;
|
|
174
|
-
pipelineId: string;
|
|
175
|
-
message?: string | null;
|
|
176
|
-
decisionComment?: string | null;
|
|
177
|
-
error?: string | null;
|
|
178
|
-
report: Array<USyncActionView>;
|
|
179
|
-
appliedReport?: Array<USyncActionView> | null;
|
|
180
|
-
result?: Array<USyncActionView> | null;
|
|
181
|
-
finished?: string | null;
|
|
182
|
-
progress?: PublisherApprovalProgress | null;
|
|
183
|
-
canDecide: boolean;
|
|
184
|
-
cannotDecideReason?: string | null;
|
|
185
|
-
canWithdraw: boolean;
|
|
186
155
|
};
|
|
187
156
|
export type PublisherApprovalItem = {
|
|
188
157
|
name: string;
|
|
189
|
-
icon?:
|
|
158
|
+
icon?: null | string;
|
|
190
159
|
udi: string;
|
|
191
|
-
entityType?:
|
|
160
|
+
entityType?: null | string;
|
|
192
161
|
};
|
|
193
162
|
export type PublisherApprovalProgress = {
|
|
194
|
-
percentage: number;
|
|
195
|
-
action?:
|
|
196
|
-
step?:
|
|
163
|
+
percentage: number | string;
|
|
164
|
+
action?: null | string;
|
|
165
|
+
step?: null | string;
|
|
197
166
|
};
|
|
198
167
|
export type PublisherApprovalServerModel = {
|
|
199
168
|
requiresApproval: boolean;
|
|
@@ -218,30 +187,29 @@ export type PublisherApprovalSummaryModel = {
|
|
|
218
187
|
requestedByName: string;
|
|
219
188
|
requested: string;
|
|
220
189
|
items: Array<PublisherApprovalItem>;
|
|
221
|
-
changes: number;
|
|
222
|
-
decidedByName?:
|
|
223
|
-
decided?:
|
|
224
|
-
expires?:
|
|
190
|
+
changes: number | string;
|
|
191
|
+
decidedByName?: null | string;
|
|
192
|
+
decided?: null | string;
|
|
193
|
+
expires?: null | string;
|
|
225
194
|
reportChanged: boolean;
|
|
226
195
|
};
|
|
227
196
|
export type PublisherProcessingOptions = {
|
|
228
197
|
mode: PublishMode;
|
|
229
|
-
server?:
|
|
230
|
-
entityType?:
|
|
198
|
+
server?: null | string;
|
|
199
|
+
entityType?: null | string;
|
|
231
200
|
items: Array<SyncItem>;
|
|
232
|
-
publisherOptions?:
|
|
233
|
-
isBackgroundRequest?:
|
|
234
|
-
pageSize?: number |
|
|
201
|
+
publisherOptions?: null | SyncPublisherOptions;
|
|
202
|
+
isBackgroundRequest?: null | boolean;
|
|
203
|
+
pageSize?: null | number | string;
|
|
235
204
|
createRestorePoint: boolean;
|
|
236
|
-
handlerGroup?:
|
|
237
|
-
handlerSet?:
|
|
238
|
-
siteAssemblyName?:
|
|
239
|
-
custom?:
|
|
240
|
-
cultures?: Array<string
|
|
205
|
+
handlerGroup?: null | string;
|
|
206
|
+
handlerSet?: null | string;
|
|
207
|
+
siteAssemblyName?: null | string;
|
|
208
|
+
custom?: null | CustomPublisherOptions;
|
|
209
|
+
cultures?: null | Array<string>;
|
|
241
210
|
sourceAction: SyncProcessingSourceAction;
|
|
242
|
-
batchItems?: Array<string
|
|
243
|
-
sourceSendSettings?:
|
|
244
|
-
[key: string]: unknown;
|
|
211
|
+
batchItems?: null | Array<string>;
|
|
212
|
+
sourceSendSettings?: null | PublisherSyncSendOptions;
|
|
245
213
|
};
|
|
246
214
|
export type PublisherStartItem = {
|
|
247
215
|
udi: string;
|
|
@@ -265,34 +233,50 @@ export type PublisherStartRequest = {
|
|
|
265
233
|
mode: PublisherStartMode;
|
|
266
234
|
server: string;
|
|
267
235
|
items: Array<PublisherStartItem>;
|
|
268
|
-
entityType?:
|
|
236
|
+
entityType?: null | string;
|
|
269
237
|
options: PublisherStartOptions;
|
|
270
|
-
startAtUtc?:
|
|
238
|
+
startAtUtc?: null | string;
|
|
271
239
|
};
|
|
272
240
|
export type PublisherSyncSendOptions = {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
241
|
+
autoExpandAdvanced?: null | boolean;
|
|
242
|
+
includeAncestors?: null | SyncSendOption;
|
|
243
|
+
includeChildren?: null | SyncSendOption;
|
|
244
|
+
includeFiles?: null | SyncSendOption;
|
|
245
|
+
includeMedia?: null | SyncSendOption;
|
|
246
|
+
includeLinked?: null | SyncSendOption;
|
|
247
|
+
includeDependencies?: null | SyncSendOption;
|
|
248
|
+
includeMediaFiles?: null | SyncSendOption;
|
|
249
|
+
includeConfig?: null | SyncSendOption;
|
|
250
|
+
deleteMissing?: null | SyncSendOption;
|
|
251
|
+
createRestorePoint?: null | SyncSendOption;
|
|
252
|
+
showScheduledOptions?: null | boolean;
|
|
253
|
+
sendEditedValue?: null | boolean;
|
|
254
|
+
publishFallback?: null | boolean;
|
|
255
|
+
message?: null | string;
|
|
256
|
+
ignoreSortOrder?: null | boolean;
|
|
257
|
+
detectRestorePoint?: null | boolean;
|
|
258
|
+
hideAdvanced?: null | boolean;
|
|
259
|
+
requireApproval?: null | boolean;
|
|
260
|
+
approverGroups?: null | Array<string>;
|
|
261
|
+
approvalExpiryDays?: null | number | string;
|
|
262
|
+
allowBatchPush?: null | boolean;
|
|
295
263
|
};
|
|
264
|
+
export declare enum PublishMode {
|
|
265
|
+
PUSH = "Push",
|
|
266
|
+
PULL = "Pull",
|
|
267
|
+
PUSH_MEDIA = "PushMedia",
|
|
268
|
+
PULL_MEDIA = "PullMedia",
|
|
269
|
+
REPORT = "Report",
|
|
270
|
+
CONFIG_PUSH = "ConfigPush",
|
|
271
|
+
CONFIG_PULL = "ConfigPull",
|
|
272
|
+
SETTINGS_PUSH = "SettingsPush",
|
|
273
|
+
SETTINGS_PULL = "SettingsPull",
|
|
274
|
+
FILE_PUSH = "FilePush",
|
|
275
|
+
FILE_PULL = "FilePull",
|
|
276
|
+
SEED = "Seed",
|
|
277
|
+
SYNC_SETUP = "SyncSetup",
|
|
278
|
+
ANY = "Any"
|
|
279
|
+
}
|
|
296
280
|
export type ReferenceByIdModel = {
|
|
297
281
|
id: string;
|
|
298
282
|
};
|
|
@@ -311,26 +295,26 @@ export type SiteSeedStatus = {
|
|
|
311
295
|
hasContentOrMedia: boolean;
|
|
312
296
|
};
|
|
313
297
|
export type SplitEntityView = {
|
|
314
|
-
local?:
|
|
315
|
-
remote?:
|
|
298
|
+
local?: null | USyncEntityView;
|
|
299
|
+
remote?: null | USyncEntityView;
|
|
316
300
|
};
|
|
317
301
|
export type SyncBrowserItemChange = {
|
|
318
|
-
udi?:
|
|
302
|
+
udi?: null | UdiModel;
|
|
319
303
|
action: USyncActionView;
|
|
320
304
|
};
|
|
321
305
|
export type SyncEntity = {
|
|
322
306
|
name: string;
|
|
323
|
-
icon?:
|
|
307
|
+
icon?: null | string;
|
|
324
308
|
udi: UdiModel;
|
|
325
|
-
|
|
309
|
+
entityType: null | string;
|
|
326
310
|
};
|
|
327
311
|
export type SyncItem = {
|
|
328
|
-
name: string;
|
|
329
|
-
icon?: string | null;
|
|
330
|
-
udi: UdiModel;
|
|
331
|
-
readonly entityType: string;
|
|
332
312
|
flags: DependencyFlags;
|
|
333
313
|
change: ChangeType;
|
|
314
|
+
name: string;
|
|
315
|
+
icon?: null | string;
|
|
316
|
+
udi: UdiModel;
|
|
317
|
+
entityType: null | string;
|
|
334
318
|
};
|
|
335
319
|
export type SyncItemPreviewResponse = {
|
|
336
320
|
key: string;
|
|
@@ -339,15 +323,15 @@ export type SyncItemPreviewResponse = {
|
|
|
339
323
|
entityType: string;
|
|
340
324
|
isDelete: boolean;
|
|
341
325
|
success: boolean;
|
|
342
|
-
message?:
|
|
326
|
+
message?: null | string;
|
|
343
327
|
preview?: unknown;
|
|
344
328
|
details: Array<USyncChange>;
|
|
345
329
|
};
|
|
346
330
|
export type SyncLocalItem = {
|
|
347
|
-
id?:
|
|
348
|
-
name?:
|
|
349
|
-
udi?:
|
|
350
|
-
entityType?:
|
|
331
|
+
id?: null | string;
|
|
332
|
+
name?: null | string;
|
|
333
|
+
udi?: null | UdiModel;
|
|
334
|
+
entityType?: null | string;
|
|
351
335
|
allVariants: {
|
|
352
336
|
[key: string]: SyncVariantInfo;
|
|
353
337
|
};
|
|
@@ -365,40 +349,26 @@ export declare enum SyncProcessingSourceAction {
|
|
|
365
349
|
}
|
|
366
350
|
export type SyncPublishAvailableServerRequest = {
|
|
367
351
|
mode: PublishMode;
|
|
368
|
-
udi?:
|
|
369
|
-
entityType?:
|
|
352
|
+
udi?: null | string;
|
|
353
|
+
entityType?: null | string;
|
|
370
354
|
enabledOnly: boolean;
|
|
371
355
|
};
|
|
372
|
-
export type
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
url: string;
|
|
376
|
-
};
|
|
377
|
-
export type SyncPublishServerView = {
|
|
378
|
-
key: string;
|
|
379
|
-
id: string;
|
|
380
|
-
alias: string;
|
|
381
|
-
enabled: boolean;
|
|
382
|
-
pullEnabled: boolean;
|
|
383
|
-
name: string;
|
|
384
|
-
description?: string | null;
|
|
385
|
-
icon: string;
|
|
386
|
-
url: string;
|
|
387
|
-
baseUrl?: string | null;
|
|
388
|
-
sortOrder: number;
|
|
389
|
-
publisher: string;
|
|
390
|
-
allowedServers?: Array<USyncAllowedServer> | null;
|
|
391
|
-
sendSettings?: SyncSendOptions | null;
|
|
392
|
-
publisherSettings: {
|
|
393
|
-
[key: string]: unknown;
|
|
394
|
-
};
|
|
395
|
-
publisherConfig?: string | null;
|
|
396
|
-
userGroups: Array<string>;
|
|
397
|
-
allowBatchPush: boolean;
|
|
398
|
-
appearance: SyncServerAppearance;
|
|
356
|
+
export type SyncPublisherObjects = {
|
|
357
|
+
options?: null | PublisherProcessingOptions;
|
|
358
|
+
item?: null | SyncItem;
|
|
399
359
|
};
|
|
400
360
|
export type SyncPublisherOptions = {
|
|
401
|
-
|
|
361
|
+
includeChildren: boolean;
|
|
362
|
+
includeAncestors: boolean;
|
|
363
|
+
includeDependencies: boolean;
|
|
364
|
+
includeMedia: boolean;
|
|
365
|
+
includeViews: boolean;
|
|
366
|
+
includeLinked: boolean;
|
|
367
|
+
includeConfig: boolean;
|
|
368
|
+
rootSync: boolean;
|
|
369
|
+
includeContents: boolean;
|
|
370
|
+
publishedDependencies: boolean;
|
|
371
|
+
primaryType?: null | string;
|
|
402
372
|
removeOrphans: boolean;
|
|
403
373
|
includeFiles: boolean;
|
|
404
374
|
includeFileHash: boolean;
|
|
@@ -414,16 +384,6 @@ export type SyncPublisherOptions = {
|
|
|
414
384
|
enableRollback: boolean;
|
|
415
385
|
createRestorePoint: boolean;
|
|
416
386
|
skipReport: boolean;
|
|
417
|
-
includeChildren: boolean;
|
|
418
|
-
includeAncestors: boolean;
|
|
419
|
-
includeDependencies: boolean;
|
|
420
|
-
includeMedia: boolean;
|
|
421
|
-
includeViews: boolean;
|
|
422
|
-
includeLinked: boolean;
|
|
423
|
-
includeConfig: boolean;
|
|
424
|
-
rootSync: boolean;
|
|
425
|
-
includeContents: boolean;
|
|
426
|
-
publishedDependencies: boolean;
|
|
427
387
|
};
|
|
428
388
|
export type SyncPublisherVariantsResult = {
|
|
429
389
|
name: string;
|
|
@@ -431,55 +391,83 @@ export type SyncPublisherVariantsResult = {
|
|
|
431
391
|
isPublished: boolean;
|
|
432
392
|
selected: boolean;
|
|
433
393
|
};
|
|
394
|
+
export type SyncPublishServerCopyView = {
|
|
395
|
+
alias: string;
|
|
396
|
+
name: string;
|
|
397
|
+
url: string;
|
|
398
|
+
};
|
|
399
|
+
export type SyncPublishServerView = {
|
|
400
|
+
key: string;
|
|
401
|
+
id: string;
|
|
402
|
+
alias: string;
|
|
403
|
+
enabled: boolean;
|
|
404
|
+
pullEnabled: boolean;
|
|
405
|
+
name: string;
|
|
406
|
+
description?: null | string;
|
|
407
|
+
icon: string;
|
|
408
|
+
url: string;
|
|
409
|
+
baseUrl?: null | string;
|
|
410
|
+
sortOrder: number | string;
|
|
411
|
+
publisher: string;
|
|
412
|
+
allowedServers?: null | Array<USyncAllowedServer>;
|
|
413
|
+
sendSettings?: null | SyncSendOptions;
|
|
414
|
+
publisherSettings: {
|
|
415
|
+
[key: string]: unknown;
|
|
416
|
+
};
|
|
417
|
+
publisherConfig?: null | string;
|
|
418
|
+
userGroups: Array<string>;
|
|
419
|
+
allowBatchPush: boolean;
|
|
420
|
+
appearance: SyncServerAppearance;
|
|
421
|
+
};
|
|
434
422
|
export type SyncSendOption = {
|
|
435
423
|
value: boolean;
|
|
436
424
|
editable: boolean;
|
|
437
425
|
};
|
|
438
426
|
export type SyncSendOptions = {
|
|
439
|
-
includeAncestors?:
|
|
440
|
-
includeChildren?:
|
|
441
|
-
includeFiles?:
|
|
442
|
-
includeMedia?:
|
|
443
|
-
includeLinked?:
|
|
444
|
-
includeDependencies?:
|
|
445
|
-
includeMediaFiles?:
|
|
446
|
-
includeConfig?:
|
|
447
|
-
deleteMissing?:
|
|
448
|
-
createRestorePoint?:
|
|
449
|
-
showScheduledOptions?:
|
|
450
|
-
sendEditedValue?:
|
|
451
|
-
publishFallback?:
|
|
452
|
-
message?:
|
|
453
|
-
ignoreSortOrder?:
|
|
454
|
-
detectRestorePoint?:
|
|
455
|
-
hideAdvanced?:
|
|
456
|
-
requireApproval?:
|
|
457
|
-
approverGroups?: Array<string
|
|
458
|
-
approvalExpiryDays?: number |
|
|
459
|
-
allowBatchPush?:
|
|
427
|
+
includeAncestors?: null | SyncSendOption;
|
|
428
|
+
includeChildren?: null | SyncSendOption;
|
|
429
|
+
includeFiles?: null | SyncSendOption;
|
|
430
|
+
includeMedia?: null | SyncSendOption;
|
|
431
|
+
includeLinked?: null | SyncSendOption;
|
|
432
|
+
includeDependencies?: null | SyncSendOption;
|
|
433
|
+
includeMediaFiles?: null | SyncSendOption;
|
|
434
|
+
includeConfig?: null | SyncSendOption;
|
|
435
|
+
deleteMissing?: null | SyncSendOption;
|
|
436
|
+
createRestorePoint?: null | SyncSendOption;
|
|
437
|
+
showScheduledOptions?: null | boolean;
|
|
438
|
+
sendEditedValue?: null | boolean;
|
|
439
|
+
publishFallback?: null | boolean;
|
|
440
|
+
message?: null | string;
|
|
441
|
+
ignoreSortOrder?: null | boolean;
|
|
442
|
+
detectRestorePoint?: null | boolean;
|
|
443
|
+
hideAdvanced?: null | boolean;
|
|
444
|
+
requireApproval?: null | boolean;
|
|
445
|
+
approverGroups?: null | Array<string>;
|
|
446
|
+
approvalExpiryDays?: null | number | string;
|
|
447
|
+
allowBatchPush?: null | boolean;
|
|
460
448
|
};
|
|
461
449
|
export type SyncServerAppearance = {
|
|
462
450
|
icon: string;
|
|
463
|
-
color?:
|
|
464
|
-
applyColourToNavbar?:
|
|
465
|
-
hidePublishButton?:
|
|
466
|
-
hideSaveAndPreviewButton?:
|
|
467
|
-
hideSaveButton?:
|
|
468
|
-
hideSaveAndPublishButton?:
|
|
469
|
-
hideSchedulePublishingButton?:
|
|
470
|
-
hidePublishDecendantsButton?:
|
|
471
|
-
hideUnpublishButton?:
|
|
472
|
-
hideCompareTab?:
|
|
473
|
-
showServerIdentifier?:
|
|
451
|
+
color?: null | string;
|
|
452
|
+
applyColourToNavbar?: null | boolean;
|
|
453
|
+
hidePublishButton?: null | boolean;
|
|
454
|
+
hideSaveAndPreviewButton?: null | boolean;
|
|
455
|
+
hideSaveButton?: null | boolean;
|
|
456
|
+
hideSaveAndPublishButton?: null | boolean;
|
|
457
|
+
hideSchedulePublishingButton?: null | boolean;
|
|
458
|
+
hidePublishDecendantsButton?: null | boolean;
|
|
459
|
+
hideUnpublishButton?: null | boolean;
|
|
460
|
+
hideCompareTab?: null | boolean;
|
|
461
|
+
showServerIdentifier?: null | boolean;
|
|
474
462
|
};
|
|
475
463
|
export type SyncServerItemResponseModel = {
|
|
476
|
-
hasChildren: boolean;
|
|
477
|
-
id: string;
|
|
478
|
-
parent?: ReferenceByIdModel | null;
|
|
479
|
-
flags: Array<FlagModel>;
|
|
480
|
-
name: string;
|
|
481
464
|
icon: string;
|
|
482
465
|
type: string;
|
|
466
|
+
name: string;
|
|
467
|
+
id: string;
|
|
468
|
+
parent?: null | ReferenceByIdModel;
|
|
469
|
+
flags: Array<FlagModel>;
|
|
470
|
+
hasChildren: boolean;
|
|
483
471
|
};
|
|
484
472
|
export declare enum SyncServerStatus {
|
|
485
473
|
UNKNOWN = "Unknown",
|
|
@@ -495,29 +483,29 @@ export declare enum SyncServerStatus {
|
|
|
495
483
|
NO_PUBLISHER = "NoPublisher",
|
|
496
484
|
NOT_FOUND = "NotFound",
|
|
497
485
|
INVALID_RESPONSE = "InvalidResponse",
|
|
498
|
-
NOT_CHECKED = "
|
|
486
|
+
NOT_CHECKED = "NotChecked",
|
|
499
487
|
BLOCKED = "Blocked",
|
|
500
|
-
NOT_REPORTED = "
|
|
488
|
+
NOT_REPORTED = "NotReported",
|
|
501
489
|
SUCCESS = "Success"
|
|
502
490
|
}
|
|
503
491
|
export type SyncServerTemplateModel = {
|
|
504
|
-
id?:
|
|
505
|
-
icon?:
|
|
506
|
-
heading?:
|
|
507
|
-
subHeading?:
|
|
508
|
-
description?:
|
|
509
|
-
publisher?:
|
|
510
|
-
publisherConfig?:
|
|
511
|
-
flags?:
|
|
492
|
+
id?: null | string;
|
|
493
|
+
icon?: null | string;
|
|
494
|
+
heading?: null | string;
|
|
495
|
+
subHeading?: null | string;
|
|
496
|
+
description?: null | string;
|
|
497
|
+
publisher?: null | string;
|
|
498
|
+
publisherConfig?: null | string;
|
|
499
|
+
flags?: null | SyncSendOptions;
|
|
512
500
|
};
|
|
513
501
|
export type SyncVariantInfo = {
|
|
514
|
-
name?:
|
|
502
|
+
name?: null | string;
|
|
515
503
|
published: boolean;
|
|
516
504
|
};
|
|
517
505
|
export type UdiModel = {
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
506
|
+
uriValue: null | string;
|
|
507
|
+
entityType: null | string;
|
|
508
|
+
isRoot: boolean;
|
|
521
509
|
};
|
|
522
510
|
export type UserGroupListModel = {
|
|
523
511
|
key: string;
|
|
@@ -533,7 +521,7 @@ export type USyncActionView = {
|
|
|
533
521
|
change: ChangeType;
|
|
534
522
|
success: boolean;
|
|
535
523
|
details: Array<USyncChange>;
|
|
536
|
-
message?:
|
|
524
|
+
message?: null | string;
|
|
537
525
|
};
|
|
538
526
|
export type USyncAllowedServer = {
|
|
539
527
|
name: string;
|
|
@@ -554,24 +542,24 @@ export type USyncEntityVariant = {
|
|
|
554
542
|
name: string;
|
|
555
543
|
};
|
|
556
544
|
export type USyncEntityView = {
|
|
557
|
-
id: number;
|
|
545
|
+
id: number | string;
|
|
558
546
|
name: string;
|
|
559
547
|
key: string;
|
|
560
|
-
udi?:
|
|
561
|
-
icon?:
|
|
562
|
-
type?:
|
|
563
|
-
thumbnail?:
|
|
548
|
+
udi?: null | UdiModel;
|
|
549
|
+
icon?: null | string;
|
|
550
|
+
type?: null | string;
|
|
551
|
+
thumbnail?: null | string;
|
|
564
552
|
isFolder: boolean;
|
|
565
553
|
hasChildren: boolean;
|
|
566
|
-
extension?:
|
|
567
|
-
height: number;
|
|
568
|
-
width: number;
|
|
554
|
+
extension?: null | string;
|
|
555
|
+
height: number | string;
|
|
556
|
+
width: number | string;
|
|
569
557
|
update: string;
|
|
570
|
-
localUrl?:
|
|
571
|
-
mediaProperty?:
|
|
572
|
-
remoteUrl?:
|
|
573
|
-
variants?: Array<USyncEntityVariant
|
|
574
|
-
localItem?:
|
|
558
|
+
localUrl?: null | string;
|
|
559
|
+
mediaProperty?: null | string;
|
|
560
|
+
remoteUrl?: null | string;
|
|
561
|
+
variants?: null | Array<USyncEntityVariant>;
|
|
562
|
+
localItem?: null | SyncLocalItem;
|
|
575
563
|
exisitsLocally: boolean;
|
|
576
564
|
};
|
|
577
565
|
export type USyncItemFolder = {
|
|
@@ -579,115 +567,36 @@ export type USyncItemFolder = {
|
|
|
579
567
|
path: Array<USyncPathItem>;
|
|
580
568
|
folders: Array<USyncEntityView>;
|
|
581
569
|
nodes: Array<USyncEntityView>;
|
|
582
|
-
total: number;
|
|
583
|
-
pages: number;
|
|
570
|
+
total: number | string;
|
|
571
|
+
pages: number | string;
|
|
584
572
|
};
|
|
585
573
|
export type USyncPathItem = {
|
|
586
574
|
name: string;
|
|
587
575
|
key: string;
|
|
588
576
|
};
|
|
577
|
+
export type USyncPublisherView = {
|
|
578
|
+
name: string;
|
|
579
|
+
alias: string;
|
|
580
|
+
description: string;
|
|
581
|
+
configElement: null | string;
|
|
582
|
+
};
|
|
589
583
|
export type USyncPublishServerStatus = {
|
|
590
584
|
enabled: boolean;
|
|
591
585
|
status: SyncServerStatus;
|
|
592
|
-
message?:
|
|
586
|
+
message?: null | string;
|
|
593
587
|
};
|
|
594
588
|
export type USyncPublishSettingsView = {
|
|
595
589
|
outgoingEnabled: boolean;
|
|
596
590
|
incomingEnabled: boolean;
|
|
597
|
-
server?:
|
|
591
|
+
server?: null | SyncPublishServerView;
|
|
598
592
|
hasAppId: boolean;
|
|
599
593
|
serverUrl: string;
|
|
600
594
|
serverName: string;
|
|
601
595
|
serverAlias: string;
|
|
602
596
|
isInList: boolean;
|
|
603
597
|
};
|
|
604
|
-
export type USyncPublisherView = {
|
|
605
|
-
name: string;
|
|
606
|
-
alias: string;
|
|
607
|
-
description: string;
|
|
608
|
-
configElement?: string | null;
|
|
609
|
-
};
|
|
610
|
-
export type PublisherProcessingOptionsWritable = {
|
|
611
|
-
mode: PublishMode;
|
|
612
|
-
server?: string | null;
|
|
613
|
-
entityType?: string | null;
|
|
614
|
-
items: Array<SyncItemWritable>;
|
|
615
|
-
publisherOptions?: SyncPublisherOptions | null;
|
|
616
|
-
isBackgroundRequest?: boolean | null;
|
|
617
|
-
pageSize?: number | null;
|
|
618
|
-
createRestorePoint: boolean;
|
|
619
|
-
handlerGroup?: string | null;
|
|
620
|
-
handlerSet?: string | null;
|
|
621
|
-
siteAssemblyName?: string | null;
|
|
622
|
-
custom?: CustomPublisherOptions | null;
|
|
623
|
-
cultures?: Array<string> | null;
|
|
624
|
-
sourceAction: SyncProcessingSourceAction;
|
|
625
|
-
batchItems?: Array<string> | null;
|
|
626
|
-
sourceSendSettings?: PublisherSyncSendOptions | null;
|
|
627
|
-
[key: string]: unknown;
|
|
628
|
-
};
|
|
629
|
-
export type SplitEntityViewWritable = {
|
|
630
|
-
local?: USyncEntityViewWritable | null;
|
|
631
|
-
remote?: USyncEntityViewWritable | null;
|
|
632
|
-
};
|
|
633
|
-
export type SyncBrowserItemChangeWritable = {
|
|
634
|
-
udi?: unknown;
|
|
635
|
-
action: USyncActionView;
|
|
636
|
-
};
|
|
637
|
-
export type SyncEntityWritable = {
|
|
638
|
-
name: string;
|
|
639
|
-
icon?: string | null;
|
|
640
|
-
udi: unknown;
|
|
641
|
-
};
|
|
642
|
-
export type SyncItemWritable = {
|
|
643
|
-
name: string;
|
|
644
|
-
icon?: string | null;
|
|
645
|
-
udi: unknown;
|
|
646
|
-
flags: DependencyFlags;
|
|
647
|
-
change: ChangeType;
|
|
648
|
-
};
|
|
649
|
-
export type SyncLocalItemWritable = {
|
|
650
|
-
id?: string | null;
|
|
651
|
-
name?: string | null;
|
|
652
|
-
udi?: unknown;
|
|
653
|
-
entityType?: string | null;
|
|
654
|
-
allVariants: {
|
|
655
|
-
[key: string]: SyncVariantInfo;
|
|
656
|
-
};
|
|
657
|
-
requiresFiles: boolean;
|
|
658
|
-
hasChildren: boolean;
|
|
659
|
-
};
|
|
660
|
-
export type USyncEntityViewWritable = {
|
|
661
|
-
id: number;
|
|
662
|
-
name: string;
|
|
663
|
-
key: string;
|
|
664
|
-
udi?: unknown;
|
|
665
|
-
icon?: string | null;
|
|
666
|
-
type?: string | null;
|
|
667
|
-
thumbnail?: string | null;
|
|
668
|
-
isFolder: boolean;
|
|
669
|
-
hasChildren: boolean;
|
|
670
|
-
extension?: string | null;
|
|
671
|
-
height: number;
|
|
672
|
-
width: number;
|
|
673
|
-
update: string;
|
|
674
|
-
localUrl?: string | null;
|
|
675
|
-
mediaProperty?: string | null;
|
|
676
|
-
remoteUrl?: string | null;
|
|
677
|
-
variants?: Array<USyncEntityVariant> | null;
|
|
678
|
-
localItem?: SyncLocalItemWritable | null;
|
|
679
|
-
exisitsLocally: boolean;
|
|
680
|
-
};
|
|
681
|
-
export type USyncItemFolderWritable = {
|
|
682
|
-
key: string;
|
|
683
|
-
path: Array<USyncPathItem>;
|
|
684
|
-
folders: Array<USyncEntityViewWritable>;
|
|
685
|
-
nodes: Array<USyncEntityViewWritable>;
|
|
686
|
-
total: number;
|
|
687
|
-
pages: number;
|
|
688
|
-
};
|
|
689
598
|
export type ApproveData = {
|
|
690
|
-
body
|
|
599
|
+
body: PublisherApprovalDecisionModel;
|
|
691
600
|
path?: never;
|
|
692
601
|
query?: never;
|
|
693
602
|
url: '/umbraco/usync/api/v1/Publisher/Approve';
|
|
@@ -711,7 +620,7 @@ export type ApproveResponses = {
|
|
|
711
620
|
};
|
|
712
621
|
export type ApproveResponse = ApproveResponses[keyof ApproveResponses];
|
|
713
622
|
export type DeclineData = {
|
|
714
|
-
body
|
|
623
|
+
body: PublisherApprovalDecisionModel;
|
|
715
624
|
path?: never;
|
|
716
625
|
query?: never;
|
|
717
626
|
url: '/umbraco/usync/api/v1/Publisher/Decline';
|
|
@@ -809,8 +718,8 @@ export type GetApprovalHistoryData = {
|
|
|
809
718
|
body?: never;
|
|
810
719
|
path?: never;
|
|
811
720
|
query?: {
|
|
812
|
-
page?: number;
|
|
813
|
-
pageSize?: number;
|
|
721
|
+
page?: number | string;
|
|
722
|
+
pageSize?: number | string;
|
|
814
723
|
};
|
|
815
724
|
url: '/umbraco/usync/api/v1/Publisher/GetApprovalHistory';
|
|
816
725
|
};
|
|
@@ -831,8 +740,8 @@ export type GetAwaitingApprovalData = {
|
|
|
831
740
|
body?: never;
|
|
832
741
|
path?: never;
|
|
833
742
|
query?: {
|
|
834
|
-
page?: number;
|
|
835
|
-
pageSize?: number;
|
|
743
|
+
page?: number | string;
|
|
744
|
+
pageSize?: number | string;
|
|
836
745
|
};
|
|
837
746
|
url: '/umbraco/usync/api/v1/Publisher/GetAwaitingApproval';
|
|
838
747
|
};
|
|
@@ -865,15 +774,15 @@ export type GetAwaitingApprovalCountResponses = {
|
|
|
865
774
|
/**
|
|
866
775
|
* OK
|
|
867
776
|
*/
|
|
868
|
-
200: number;
|
|
777
|
+
200: number | string;
|
|
869
778
|
};
|
|
870
779
|
export type GetAwaitingApprovalCountResponse = GetAwaitingApprovalCountResponses[keyof GetAwaitingApprovalCountResponses];
|
|
871
780
|
export type GetMyRequestsData = {
|
|
872
781
|
body?: never;
|
|
873
782
|
path?: never;
|
|
874
783
|
query?: {
|
|
875
|
-
page?: number;
|
|
876
|
-
pageSize?: number;
|
|
784
|
+
page?: number | string;
|
|
785
|
+
pageSize?: number | string;
|
|
877
786
|
};
|
|
878
787
|
url: '/umbraco/usync/api/v1/Publisher/GetMyRequests';
|
|
879
788
|
};
|
|
@@ -912,7 +821,7 @@ export type GetServerApprovalResponses = {
|
|
|
912
821
|
};
|
|
913
822
|
export type GetServerApprovalResponse = GetServerApprovalResponses[keyof GetServerApprovalResponses];
|
|
914
823
|
export type WithdrawData = {
|
|
915
|
-
body
|
|
824
|
+
body: PublisherApprovalDecisionModel;
|
|
916
825
|
path?: never;
|
|
917
826
|
query?: never;
|
|
918
827
|
url: '/umbraco/usync/api/v1/Publisher/Withdraw';
|
|
@@ -936,7 +845,7 @@ export type WithdrawResponses = {
|
|
|
936
845
|
};
|
|
937
846
|
export type WithdrawResponse = WithdrawResponses[keyof WithdrawResponses];
|
|
938
847
|
export type AddToBatchData = {
|
|
939
|
-
body
|
|
848
|
+
body: Array<BatchPushItemRequest>;
|
|
940
849
|
path?: never;
|
|
941
850
|
query?: never;
|
|
942
851
|
url: '/umbraco/usync/api/v1/Publisher/AddToBatch';
|
|
@@ -975,7 +884,7 @@ export type ClearBatchResponses = {
|
|
|
975
884
|
/**
|
|
976
885
|
* OK
|
|
977
886
|
*/
|
|
978
|
-
200: number;
|
|
887
|
+
200: number | string;
|
|
979
888
|
};
|
|
980
889
|
export type ClearBatchResponse = ClearBatchResponses[keyof ClearBatchResponses];
|
|
981
890
|
export type GetBatchData = {
|
|
@@ -1013,11 +922,11 @@ export type GetBatchCountResponses = {
|
|
|
1013
922
|
/**
|
|
1014
923
|
* OK
|
|
1015
924
|
*/
|
|
1016
|
-
200: number;
|
|
925
|
+
200: number | string;
|
|
1017
926
|
};
|
|
1018
927
|
export type GetBatchCountResponse = GetBatchCountResponses[keyof GetBatchCountResponses];
|
|
1019
928
|
export type RemoveFromBatchData = {
|
|
1020
|
-
body
|
|
929
|
+
body: Array<string>;
|
|
1021
930
|
path?: never;
|
|
1022
931
|
query?: never;
|
|
1023
932
|
url: '/umbraco/usync/api/v1/Publisher/RemoveFromBatch';
|
|
@@ -1032,11 +941,11 @@ export type RemoveFromBatchResponses = {
|
|
|
1032
941
|
/**
|
|
1033
942
|
* OK
|
|
1034
943
|
*/
|
|
1035
|
-
200: number;
|
|
944
|
+
200: number | string;
|
|
1036
945
|
};
|
|
1037
946
|
export type RemoveFromBatchResponse = RemoveFromBatchResponses[keyof RemoveFromBatchResponses];
|
|
1038
947
|
export type SetBatchIncludeChildrenData = {
|
|
1039
|
-
body
|
|
948
|
+
body: BatchPushIncludeChildrenRequest;
|
|
1040
949
|
path?: never;
|
|
1041
950
|
query?: never;
|
|
1042
951
|
url: '/umbraco/usync/api/v1/Publisher/SetBatchIncludeChildren';
|
|
@@ -1059,7 +968,7 @@ export type SetBatchIncludeChildrenResponses = {
|
|
|
1059
968
|
200: unknown;
|
|
1060
969
|
};
|
|
1061
970
|
export type CalculateContentChangesData = {
|
|
1062
|
-
body
|
|
971
|
+
body: Array<UdiModel>;
|
|
1063
972
|
path?: never;
|
|
1064
973
|
query?: {
|
|
1065
974
|
server?: string;
|
|
@@ -1080,7 +989,7 @@ export type CalculateContentChangesResponses = {
|
|
|
1080
989
|
};
|
|
1081
990
|
export type CalculateContentChangesResponse = CalculateContentChangesResponses[keyof CalculateContentChangesResponses];
|
|
1082
991
|
export type CalculateMediaChangesData = {
|
|
1083
|
-
body
|
|
992
|
+
body: Array<UdiModel>;
|
|
1084
993
|
path?: never;
|
|
1085
994
|
query?: {
|
|
1086
995
|
server?: string;
|
|
@@ -1128,7 +1037,7 @@ export type GetContentFoldersData = {
|
|
|
1128
1037
|
query?: {
|
|
1129
1038
|
id?: string;
|
|
1130
1039
|
server?: string;
|
|
1131
|
-
page?: number;
|
|
1040
|
+
page?: number | string;
|
|
1132
1041
|
sortBy?: string;
|
|
1133
1042
|
sortDirection?: string;
|
|
1134
1043
|
search?: string;
|
|
@@ -1153,7 +1062,7 @@ export type GetLocalContentFoldersData = {
|
|
|
1153
1062
|
path?: never;
|
|
1154
1063
|
query?: {
|
|
1155
1064
|
id?: string;
|
|
1156
|
-
page?: number;
|
|
1065
|
+
page?: number | string;
|
|
1157
1066
|
sortBy?: string;
|
|
1158
1067
|
sortDirection?: string;
|
|
1159
1068
|
search?: string;
|
|
@@ -1178,7 +1087,7 @@ export type GetLocalMediaFoldersData = {
|
|
|
1178
1087
|
path?: never;
|
|
1179
1088
|
query?: {
|
|
1180
1089
|
id?: string;
|
|
1181
|
-
page?: number;
|
|
1090
|
+
page?: number | string;
|
|
1182
1091
|
sortBy?: string;
|
|
1183
1092
|
sortDirection?: string;
|
|
1184
1093
|
search?: string;
|
|
@@ -1226,7 +1135,7 @@ export type GetMediaFoldersData = {
|
|
|
1226
1135
|
query?: {
|
|
1227
1136
|
id?: string;
|
|
1228
1137
|
server?: string;
|
|
1229
|
-
page?: number;
|
|
1138
|
+
page?: number | string;
|
|
1230
1139
|
sortBy?: string;
|
|
1231
1140
|
sortDirection?: string;
|
|
1232
1141
|
search?: string;
|
|
@@ -1336,7 +1245,7 @@ export type GetVariantsData = {
|
|
|
1336
1245
|
body?: never;
|
|
1337
1246
|
path?: never;
|
|
1338
1247
|
query?: {
|
|
1339
|
-
udiValue?:
|
|
1248
|
+
udiValue?: string;
|
|
1340
1249
|
};
|
|
1341
1250
|
url: '/umbraco/usync/api/v1/Publisher/GetVariants';
|
|
1342
1251
|
};
|
|
@@ -1392,7 +1301,7 @@ export type HasKeysResponses = {
|
|
|
1392
1301
|
};
|
|
1393
1302
|
export type HasKeysResponse = HasKeysResponses[keyof HasKeysResponses];
|
|
1394
1303
|
export type SaveKeysData = {
|
|
1395
|
-
body
|
|
1304
|
+
body: AppKeyView;
|
|
1396
1305
|
path?: never;
|
|
1397
1306
|
query?: never;
|
|
1398
1307
|
url: '/umbraco/usync/api/v1/Publisher/SaveKeys';
|
|
@@ -1455,7 +1364,7 @@ export type GetPublishersResponses = {
|
|
|
1455
1364
|
};
|
|
1456
1365
|
export type GetPublishersResponse = GetPublishersResponses[keyof GetPublishersResponses];
|
|
1457
1366
|
export type StartData = {
|
|
1458
|
-
body
|
|
1367
|
+
body: PublisherStartRequest;
|
|
1459
1368
|
path?: never;
|
|
1460
1369
|
query?: never;
|
|
1461
1370
|
url: '/umbraco/usync/api/v1/Publisher/Start';
|
|
@@ -1590,7 +1499,7 @@ export type CheckServerUrlResponses = {
|
|
|
1590
1499
|
};
|
|
1591
1500
|
export type CheckServerUrlResponse = CheckServerUrlResponses[keyof CheckServerUrlResponses];
|
|
1592
1501
|
export type CopyServerData = {
|
|
1593
|
-
body
|
|
1502
|
+
body: SyncPublishServerCopyView;
|
|
1594
1503
|
path?: never;
|
|
1595
1504
|
query?: never;
|
|
1596
1505
|
url: '/umbraco/usync/api/v1/Publisher/CopyServer';
|
|
@@ -1651,7 +1560,7 @@ export type GetAllServersResponses = {
|
|
|
1651
1560
|
};
|
|
1652
1561
|
export type GetAllServersResponse = GetAllServersResponses[keyof GetAllServersResponses];
|
|
1653
1562
|
export type GetAvailableServersData = {
|
|
1654
|
-
body
|
|
1563
|
+
body: SyncPublishAvailableServerRequest;
|
|
1655
1564
|
path?: never;
|
|
1656
1565
|
query?: never;
|
|
1657
1566
|
url: '/umbraco/usync/api/v1/Publisher/GetAvailableServers';
|
|
@@ -1685,7 +1594,7 @@ export type GetCurrentServerResponses = {
|
|
|
1685
1594
|
/**
|
|
1686
1595
|
* OK
|
|
1687
1596
|
*/
|
|
1688
|
-
200: SyncPublishServerView;
|
|
1597
|
+
200: null | SyncPublishServerView;
|
|
1689
1598
|
};
|
|
1690
1599
|
export type GetCurrentServerResponse = GetCurrentServerResponses[keyof GetCurrentServerResponses];
|
|
1691
1600
|
export type GetServerData = {
|
|
@@ -1706,7 +1615,7 @@ export type GetServerResponses = {
|
|
|
1706
1615
|
/**
|
|
1707
1616
|
* OK
|
|
1708
1617
|
*/
|
|
1709
|
-
200: SyncPublishServerView;
|
|
1618
|
+
200: null | SyncPublishServerView;
|
|
1710
1619
|
};
|
|
1711
1620
|
export type GetServerResponse = GetServerResponses[keyof GetServerResponses];
|
|
1712
1621
|
export type GetServerByUrlData = {
|
|
@@ -1727,7 +1636,7 @@ export type GetServerByUrlResponses = {
|
|
|
1727
1636
|
/**
|
|
1728
1637
|
* OK
|
|
1729
1638
|
*/
|
|
1730
|
-
200: SyncPublishServerView;
|
|
1639
|
+
200: null | SyncPublishServerView;
|
|
1731
1640
|
};
|
|
1732
1641
|
export type GetServerByUrlResponse = GetServerByUrlResponses[keyof GetServerByUrlResponses];
|
|
1733
1642
|
export type GetServersData = {
|
|
@@ -1753,7 +1662,7 @@ export type GetServersResponses = {
|
|
|
1753
1662
|
};
|
|
1754
1663
|
export type GetServersResponse = GetServersResponses[keyof GetServersResponses];
|
|
1755
1664
|
export type SaveServerData = {
|
|
1756
|
-
body
|
|
1665
|
+
body: SyncPublishServerView;
|
|
1757
1666
|
path?: never;
|
|
1758
1667
|
query?: never;
|
|
1759
1668
|
url: '/umbraco/usync/api/v1/Publisher/SaveServer';
|
|
@@ -1777,7 +1686,7 @@ export type SaveServerResponses = {
|
|
|
1777
1686
|
};
|
|
1778
1687
|
export type SaveServerResponse = SaveServerResponses[keyof SaveServerResponses];
|
|
1779
1688
|
export type SetServerOrderData = {
|
|
1780
|
-
body
|
|
1689
|
+
body: Array<string>;
|
|
1781
1690
|
path?: never;
|
|
1782
1691
|
query?: never;
|
|
1783
1692
|
url: '/umbraco/usync/api/v1/Publisher/SetServerOrder';
|
|
@@ -1826,8 +1735,8 @@ export type GetChildrenData = {
|
|
|
1826
1735
|
path?: never;
|
|
1827
1736
|
query?: {
|
|
1828
1737
|
parent?: string;
|
|
1829
|
-
skip?: number;
|
|
1830
|
-
take?: number;
|
|
1738
|
+
skip?: number | string;
|
|
1739
|
+
take?: number | string;
|
|
1831
1740
|
};
|
|
1832
1741
|
url: '/umbraco/usync/api/v1/tree/server/ServerChildren';
|
|
1833
1742
|
};
|
|
@@ -1853,8 +1762,8 @@ export type RootData = {
|
|
|
1853
1762
|
body?: never;
|
|
1854
1763
|
path?: never;
|
|
1855
1764
|
query?: {
|
|
1856
|
-
skip?: number;
|
|
1857
|
-
take?: number;
|
|
1765
|
+
skip?: number | string;
|
|
1766
|
+
take?: number | string;
|
|
1858
1767
|
foldersOnly?: boolean;
|
|
1859
1768
|
};
|
|
1860
1769
|
url: '/umbraco/usync/api/v1/tree/server/ServerRoot';
|
|
@@ -1895,7 +1804,7 @@ export type GetDescendantCountData = {
|
|
|
1895
1804
|
body?: never;
|
|
1896
1805
|
path?: never;
|
|
1897
1806
|
query?: {
|
|
1898
|
-
id?: number;
|
|
1807
|
+
id?: number | string;
|
|
1899
1808
|
};
|
|
1900
1809
|
url: '/umbraco/usync/api/v1/Publisher/GetDescendantCount';
|
|
1901
1810
|
};
|
|
@@ -1909,7 +1818,7 @@ export type GetDescendantCountResponses = {
|
|
|
1909
1818
|
/**
|
|
1910
1819
|
* OK
|
|
1911
1820
|
*/
|
|
1912
|
-
200: number;
|
|
1821
|
+
200: number | string;
|
|
1913
1822
|
};
|
|
1914
1823
|
export type GetDescendantCountResponse = GetDescendantCountResponses[keyof GetDescendantCountResponses];
|
|
1915
1824
|
export type GetSettingsData = {
|
|
@@ -1970,7 +1879,7 @@ export type ReloadSettingsResponses = {
|
|
|
1970
1879
|
};
|
|
1971
1880
|
export type ReloadSettingsResponse = ReloadSettingsResponses[keyof ReloadSettingsResponses];
|
|
1972
1881
|
export type SaveSettingsData = {
|
|
1973
|
-
body
|
|
1882
|
+
body: USyncPublishSettingsView;
|
|
1974
1883
|
path?: never;
|
|
1975
1884
|
query?: never;
|
|
1976
1885
|
url: '/umbraco/usync/api/v1/Publisher/SaveSettings';
|
|
@@ -1989,7 +1898,7 @@ export type SaveSettingsResponses = {
|
|
|
1989
1898
|
};
|
|
1990
1899
|
export type SaveSettingsResponse = SaveSettingsResponses[keyof SaveSettingsResponses];
|
|
1991
1900
|
export type SyncSettingsData = {
|
|
1992
|
-
body
|
|
1901
|
+
body: ServerSyncRequest;
|
|
1993
1902
|
path?: never;
|
|
1994
1903
|
query?: never;
|
|
1995
1904
|
url: '/umbraco/usync/api/v1/Publisher/SyncSettings';
|
|
@@ -2134,6 +2043,25 @@ export type GetSyncItemResponses = {
|
|
|
2134
2043
|
200: SyncEntity;
|
|
2135
2044
|
};
|
|
2136
2045
|
export type GetSyncItemResponse = GetSyncItemResponses[keyof GetSyncItemResponses];
|
|
2046
|
+
export type GetProcessingOptionsData = {
|
|
2047
|
+
body?: never;
|
|
2048
|
+
path?: never;
|
|
2049
|
+
query?: never;
|
|
2050
|
+
url: '/umbraco/usync/api/v1/Publisher/SyncObjects';
|
|
2051
|
+
};
|
|
2052
|
+
export type GetProcessingOptionsErrors = {
|
|
2053
|
+
/**
|
|
2054
|
+
* The resource is protected and requires an authentication token
|
|
2055
|
+
*/
|
|
2056
|
+
401: unknown;
|
|
2057
|
+
};
|
|
2058
|
+
export type GetProcessingOptionsResponses = {
|
|
2059
|
+
/**
|
|
2060
|
+
* OK
|
|
2061
|
+
*/
|
|
2062
|
+
200: SyncPublisherObjects;
|
|
2063
|
+
};
|
|
2064
|
+
export type GetProcessingOptionsResponse = GetProcessingOptionsResponses[keyof GetProcessingOptionsResponses];
|
|
2137
2065
|
export type GetSyncSendOptionsByModeData = {
|
|
2138
2066
|
body?: never;
|
|
2139
2067
|
path?: never;
|