@jumoo/usync-expansions 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.
Files changed (48) hide show
  1. package/dist/api/client.gen.js +1 -1
  2. package/dist/api/index.d.ts +1 -2
  3. package/dist/api/index.js +1 -2
  4. package/dist/api/sdk.gen.d.ts +1 -1
  5. package/dist/api/sdk.gen.js +2 -2
  6. package/dist/api/types.gen.d.ts +106 -837
  7. package/dist/api/types.gen.js +16 -197
  8. package/dist/background/background-pipeline.repository.js +2 -2
  9. package/dist/background/workspace/background-workspace-element.d.ts +1 -0
  10. package/dist/background/workspace/background-workspace-element.js +3 -0
  11. package/dist/components/report-summary-view.d.ts +1 -1
  12. package/dist/index.d.ts +3 -3
  13. package/dist/index.js +7 -7
  14. package/dist/items/sync-item.context.d.ts +1 -1
  15. package/dist/items/sync-item.context.js +1 -1
  16. package/dist/items/sync-item.repository.d.ts +1 -1
  17. package/dist/items/sync-item.repository.js +1 -1
  18. package/dist/licence/components/index.d.ts +2 -2
  19. package/dist/licence/components/index.js +2 -2
  20. package/dist/licence/components/licence-notice.d.ts +1 -1
  21. package/dist/licence/components/licence-notice.js +1 -1
  22. package/dist/licence/licence.context.js +1 -1
  23. package/dist/licence/licence.element.js +1 -1
  24. package/dist/licence/licence.repository.d.ts +4 -4
  25. package/dist/licence/licence.repository.js +1 -1
  26. package/dist/licence/manifest.d.ts +0 -1
  27. package/dist/licence/manifest.js +0 -1
  28. package/dist/restore/components/restore-point-table.element.js +1 -1
  29. package/dist/restore/index.d.ts +1 -7
  30. package/dist/restore/index.js +8 -7
  31. package/dist/restore/manifest.js +1 -1
  32. package/dist/restore/restore.context.d.ts +1 -1
  33. package/dist/restore/restore.context.js +1 -1
  34. package/dist/restore/restore.repository.d.ts +1 -1
  35. package/dist/restore/steps/manifest.js +1 -1
  36. package/dist/restore/steps/restore-create-complete.js +1 -1
  37. package/dist/restore/steps/restore-create-element.js +2 -2
  38. package/dist/restore/steps/restore-report-config-element.d.ts +1 -1
  39. package/dist/restore/steps/restore-report-config-element.js +2 -2
  40. package/dist/restore/steps/restore-report-element.js +1 -1
  41. package/dist/restore/workspace/restore.workspace-view.element.js +4 -1
  42. package/dist/restore/workspace/restore.workspace.context.js +2 -2
  43. package/dist/restore/workspace/restore.workspace.element.js +1 -1
  44. package/package.json +8 -10
  45. package/dist/exports.d.ts +0 -6
  46. package/dist/exports.js +0 -6
  47. package/dist/licence/index.d.ts +0 -5
  48. package/dist/licence/index.js +0 -5
@@ -1,42 +1,6 @@
1
1
  export type ClientOptions = {
2
- baseUrl: 'https://localhost:44317' | (string & {});
2
+ baseUrl: 'https://localhost:44385/' | (string & {});
3
3
  };
4
- export type Assembly = {
5
- readonly definedTypes: Array<TypeInfo>;
6
- readonly exportedTypes: Array<Type>;
7
- /**
8
- * @deprecated
9
- */
10
- readonly codeBase?: string | null;
11
- entryPoint?: MethodInfo | null;
12
- readonly fullName?: string | null;
13
- readonly imageRuntimeVersion: string;
14
- readonly isDynamic: boolean;
15
- readonly location: string;
16
- readonly reflectionOnly: boolean;
17
- readonly isCollectible: boolean;
18
- readonly isFullyTrusted: boolean;
19
- readonly customAttributes: Array<CustomAttributeData>;
20
- /**
21
- * @deprecated
22
- */
23
- readonly escapedCodeBase: string;
24
- manifestModule: Module;
25
- readonly modules: Array<Module>;
26
- /**
27
- * @deprecated
28
- */
29
- readonly globalAssemblyCache: boolean;
30
- readonly hostContext: number;
31
- securityRuleSet: SecurityRuleSet;
32
- };
33
- export declare enum CallingConventions {
34
- STANDARD = "Standard",
35
- VAR_ARGS = "VarArgs",
36
- ANY = "Any",
37
- HAS_THIS = "HasThis",
38
- EXPLICIT_THIS = "ExplicitThis"
39
- }
40
4
  export declare enum ChangeDetailType {
41
5
  NO_CHANGE = "NoChange",
42
6
  CREATE = "Create",
@@ -63,191 +27,34 @@ export declare enum ChangeType {
63
27
  CLEAN = "Clean",
64
28
  REMOVED = "Removed"
65
29
  }
66
- export type ConstructorInfo = {
67
- readonly name: string;
68
- declaringType?: Type | null;
69
- reflectedType?: Type | null;
70
- module: Module;
71
- readonly customAttributes: Array<CustomAttributeData>;
72
- readonly isCollectible: boolean;
73
- readonly metadataToken: number;
74
- attributes: MethodAttributes;
75
- methodImplementationFlags: MethodImplAttributes;
76
- callingConvention: CallingConventions;
77
- readonly isAbstract: boolean;
78
- readonly isConstructor: boolean;
79
- readonly isFinal: boolean;
80
- readonly isHideBySig: boolean;
81
- readonly isSpecialName: boolean;
82
- readonly isStatic: boolean;
83
- readonly isVirtual: boolean;
84
- readonly isAssembly: boolean;
85
- readonly isFamily: boolean;
86
- readonly isFamilyAndAssembly: boolean;
87
- readonly isFamilyOrAssembly: boolean;
88
- readonly isPrivate: boolean;
89
- readonly isPublic: boolean;
90
- readonly isConstructedGenericMethod: boolean;
91
- readonly isGenericMethod: boolean;
92
- readonly isGenericMethodDefinition: boolean;
93
- readonly containsGenericParameters: boolean;
94
- methodHandle: RuntimeMethodHandle;
95
- readonly isSecurityCritical: boolean;
96
- readonly isSecuritySafeCritical: boolean;
97
- readonly isSecurityTransparent: boolean;
98
- memberType: MemberTypes;
99
- };
100
- export type CustomAttributeData = {
101
- attributeType: Type;
102
- constructor: ConstructorInfo;
103
- readonly constructorArguments: Array<CustomAttributeTypedArgument>;
104
- readonly namedArguments: Array<CustomAttributeNamedArgument>;
105
- };
106
- export type CustomAttributeNamedArgument = {
107
- memberInfo: MemberInfo;
108
- typedValue: CustomAttributeTypedArgument;
109
- readonly memberName: string;
110
- readonly isField: boolean;
111
- };
112
- export type CustomAttributeTypedArgument = {
113
- argumentType: Type;
114
- value?: unknown;
115
- };
116
- export declare enum DependencyFlags {
117
- NONE = "None",
118
- INCLUDE_CHILDREN = "IncludeChildren",
119
- INCLUDE_ANCESTORS = "IncludeAncestors",
120
- INCLUDE_DEPENDENCIES = "IncludeDependencies",
121
- INCLUDE_VIEWS = "IncludeViews",
122
- INCLUDE_MEDIA = "IncludeMedia",
123
- INCLUDE_LINKED = "IncludeLinked",
124
- INCLUDE_MEDIA_FILES = "IncludeMediaFiles",
125
- INCLUDE_CONFIG = "IncludeConfig",
126
- ADJACENT_ONLY = "AdjacentOnly",
127
- ROOT_SYNC = "RootSync",
128
- INCLUDE_CONTENTS = "IncludeContents",
129
- PUBLISHED_DEPENDENCIES = "PublishedDependencies"
130
- }
131
- export declare enum EventAttributes {
132
- NONE = "None",
133
- SPECIAL_NAME = "SpecialName",
134
- RT_SPECIAL_NAME = "RTSpecialName",
135
- RESERVED_MASK = "ReservedMask"
136
- }
137
- export type EventInfo = {
138
- readonly name: string;
139
- declaringType?: Type | null;
140
- reflectedType?: Type | null;
141
- module: Module;
142
- readonly customAttributes: Array<CustomAttributeData>;
143
- readonly isCollectible: boolean;
144
- readonly metadataToken: number;
145
- memberType: MemberTypes;
146
- attributes: EventAttributes;
147
- readonly isSpecialName: boolean;
148
- addMethod?: MethodInfo | null;
149
- removeMethod?: MethodInfo | null;
150
- raiseMethod?: MethodInfo | null;
151
- readonly isMulticast: boolean;
152
- eventHandlerType?: Type | null;
153
- };
154
30
  export type Exception = {
155
- targetSite?: MethodBase | null;
156
- readonly message: string;
157
- readonly data: {
31
+ targetSite?: MethodBase;
32
+ message: null | string;
33
+ data: null | {
158
34
  [key: string]: unknown;
159
35
  };
160
- innerException?: Exception | null;
161
- helpLink?: string | null;
162
- source?: string | null;
163
- hResult: number;
164
- readonly stackTrace?: string | null;
165
- };
166
- export declare enum FieldAttributes {
167
- PRIVATE_SCOPE = "PrivateScope",
168
- PRIVATE = "Private",
169
- FAM_AND_ASSEM = "FamANDAssem",
170
- ASSEMBLY = "Assembly",
171
- FAMILY = "Family",
172
- FAM_OR_ASSEM = "FamORAssem",
173
- PUBLIC = "Public",
174
- FIELD_ACCESS_MASK = "FieldAccessMask",
175
- STATIC = "Static",
176
- INIT_ONLY = "InitOnly",
177
- LITERAL = "Literal",
178
- NOT_SERIALIZED = "NotSerialized",
179
- HAS_FIELD_RVA = "HasFieldRVA",
180
- SPECIAL_NAME = "SpecialName",
181
- RT_SPECIAL_NAME = "RTSpecialName",
182
- HAS_FIELD_MARSHAL = "HasFieldMarshal",
183
- PINVOKE_IMPL = "PinvokeImpl",
184
- HAS_DEFAULT = "HasDefault",
185
- RESERVED_MASK = "ReservedMask"
186
- }
187
- export type FieldInfo = {
188
- readonly name: string;
189
- declaringType?: Type | null;
190
- reflectedType?: Type | null;
191
- module: Module;
192
- readonly customAttributes: Array<CustomAttributeData>;
193
- readonly isCollectible: boolean;
194
- readonly metadataToken: number;
195
- memberType: MemberTypes;
196
- attributes: FieldAttributes;
197
- fieldType: Type;
198
- readonly isInitOnly: boolean;
199
- readonly isLiteral: boolean;
200
- /**
201
- * @deprecated
202
- */
203
- readonly isNotSerialized: boolean;
204
- readonly isPinvokeImpl: boolean;
205
- readonly isSpecialName: boolean;
206
- readonly isStatic: boolean;
207
- readonly isAssembly: boolean;
208
- readonly isFamily: boolean;
209
- readonly isFamilyAndAssembly: boolean;
210
- readonly isFamilyOrAssembly: boolean;
211
- readonly isPrivate: boolean;
212
- readonly isPublic: boolean;
213
- readonly isSecurityCritical: boolean;
214
- readonly isSecuritySafeCritical: boolean;
215
- readonly isSecurityTransparent: boolean;
216
- fieldHandle: RuntimeFieldHandle;
217
- };
218
- export declare enum GenericParameterAttributes {
219
- NONE = "None",
220
- COVARIANT = "Covariant",
221
- CONTRAVARIANT = "Contravariant",
222
- VARIANCE_MASK = "VarianceMask",
223
- REFERENCE_TYPE_CONSTRAINT = "ReferenceTypeConstraint",
224
- NOT_NULLABLE_VALUE_TYPE_CONSTRAINT = "NotNullableValueTypeConstraint",
225
- DEFAULT_CONSTRUCTOR_CONSTRAINT = "DefaultConstructorConstraint",
226
- SPECIAL_CONSTRAINT_MASK = "SpecialConstraintMask",
227
- ALLOW_BY_REF_LIKE = "AllowByRefLike"
228
- }
229
- export type ICustomAttributeProvider = {
230
- [key: string]: never;
231
- };
232
- export type IntPtr = {
233
- [key: string]: never;
36
+ innerException?: Exception;
37
+ helpLink?: null | string;
38
+ source?: null | string;
39
+ hResult: number | string;
40
+ stackTrace?: null | string;
234
41
  };
235
- export declare enum LayoutKind {
236
- SEQUENTIAL = "Sequential",
237
- EXPLICIT = "Explicit",
238
- AUTO = "Auto"
239
- }
240
42
  export type Licence = {
241
43
  key: string;
242
44
  domains: string;
243
- readonly expiry: string;
45
+ expiry: string;
244
46
  licenceType: LicenceType;
245
- readonly lastCheck: string;
246
- readonly autoRenews: boolean;
247
- readonly products: Array<LicencedProduct>;
248
- readonly message?: string | null;
249
- readonly isOlderVersion: boolean;
250
- readonly checkedDomain?: string | null;
47
+ lastCheck: string;
48
+ autoRenews: boolean;
49
+ products: null | Array<LicencedProduct>;
50
+ message?: null | string;
51
+ isOlderVersion: boolean;
52
+ checkedDomain?: null | string;
53
+ };
54
+ export type LicencedProduct = {
55
+ name?: null | string;
56
+ version?: null | string;
57
+ valid: boolean;
251
58
  };
252
59
  export type LicenceInfo = {
253
60
  domains: string;
@@ -267,14 +74,14 @@ export declare enum LicenceStatus {
267
74
  }
268
75
  export type LicenceStatusView = {
269
76
  show: boolean;
270
- type?: string | null;
271
- message?: string | null;
272
- link?: string | null;
273
- linkTitle?: string | null;
77
+ type?: null | string;
78
+ message?: null | string;
79
+ link?: null | string;
80
+ linkTitle?: null | string;
274
81
  expires: string;
275
82
  status: LicenceStatus;
276
83
  licenceType: LicenceType;
277
- checkedDomain?: string | null;
84
+ checkedDomain?: null | string;
278
85
  hasExpiry: boolean;
279
86
  autoRenews: boolean;
280
87
  canRequestTemporaryLicence: boolean;
@@ -288,222 +95,9 @@ export declare enum LicenceType {
288
95
  AGENCY = "Agency",
289
96
  PARTNER = "Partner"
290
97
  }
291
- export type LicencedProduct = {
292
- name?: string | null;
293
- version?: string | null;
294
- valid: boolean;
295
- };
296
- export type MemberInfo = {
297
- memberType: MemberTypes;
298
- readonly name: string;
299
- declaringType?: Type | null;
300
- reflectedType?: Type | null;
301
- module: Module;
302
- readonly customAttributes: Array<CustomAttributeData>;
303
- readonly isCollectible: boolean;
304
- readonly metadataToken: number;
305
- };
306
- export declare enum MemberTypes {
307
- CONSTRUCTOR = "Constructor",
308
- EVENT = "Event",
309
- FIELD = "Field",
310
- METHOD = "Method",
311
- PROPERTY = "Property",
312
- TYPE_INFO = "TypeInfo",
313
- CUSTOM = "Custom",
314
- NESTED_TYPE = "NestedType",
315
- ALL = "All"
316
- }
317
- export declare enum MethodAttributes {
318
- PRIVATE_SCOPE = "PrivateScope",
319
- REUSE_SLOT = "ReuseSlot",
320
- PRIVATE = "Private",
321
- FAM_AND_ASSEM = "FamANDAssem",
322
- ASSEMBLY = "Assembly",
323
- FAMILY = "Family",
324
- FAM_OR_ASSEM = "FamORAssem",
325
- PUBLIC = "Public",
326
- MEMBER_ACCESS_MASK = "MemberAccessMask",
327
- UNMANAGED_EXPORT = "UnmanagedExport",
328
- STATIC = "Static",
329
- FINAL = "Final",
330
- VIRTUAL = "Virtual",
331
- HIDE_BY_SIG = "HideBySig",
332
- NEW_SLOT = "NewSlot",
333
- VTABLE_LAYOUT_MASK = "VtableLayoutMask",
334
- CHECK_ACCESS_ON_OVERRIDE = "CheckAccessOnOverride",
335
- ABSTRACT = "Abstract",
336
- SPECIAL_NAME = "SpecialName",
337
- RT_SPECIAL_NAME = "RTSpecialName",
338
- PINVOKE_IMPL = "PinvokeImpl",
339
- HAS_SECURITY = "HasSecurity",
340
- REQUIRE_SEC_OBJECT = "RequireSecObject",
341
- RESERVED_MASK = "ReservedMask"
342
- }
343
- export type MethodBase = {
344
- memberType: MemberTypes;
345
- readonly name: string;
346
- declaringType?: Type | null;
347
- reflectedType?: Type | null;
348
- module: Module;
349
- readonly customAttributes: Array<CustomAttributeData>;
350
- readonly isCollectible: boolean;
351
- readonly metadataToken: number;
352
- attributes: MethodAttributes;
353
- methodImplementationFlags: MethodImplAttributes;
354
- callingConvention: CallingConventions;
355
- readonly isAbstract: boolean;
356
- readonly isConstructor: boolean;
357
- readonly isFinal: boolean;
358
- readonly isHideBySig: boolean;
359
- readonly isSpecialName: boolean;
360
- readonly isStatic: boolean;
361
- readonly isVirtual: boolean;
362
- readonly isAssembly: boolean;
363
- readonly isFamily: boolean;
364
- readonly isFamilyAndAssembly: boolean;
365
- readonly isFamilyOrAssembly: boolean;
366
- readonly isPrivate: boolean;
367
- readonly isPublic: boolean;
368
- readonly isConstructedGenericMethod: boolean;
369
- readonly isGenericMethod: boolean;
370
- readonly isGenericMethodDefinition: boolean;
371
- readonly containsGenericParameters: boolean;
372
- methodHandle: RuntimeMethodHandle;
373
- readonly isSecurityCritical: boolean;
374
- readonly isSecuritySafeCritical: boolean;
375
- readonly isSecurityTransparent: boolean;
376
- };
377
- export declare enum MethodImplAttributes {
378
- IL = "IL",
379
- MANAGED = "Managed",
380
- NATIVE = "Native",
381
- OPTIL = "OPTIL",
382
- CODE_TYPE_MASK = "CodeTypeMask",
383
- RUNTIME = "Runtime",
384
- MANAGED_MASK = "ManagedMask",
385
- UNMANAGED = "Unmanaged",
386
- NO_INLINING = "NoInlining",
387
- FORWARD_REF = "ForwardRef",
388
- SYNCHRONIZED = "Synchronized",
389
- NO_OPTIMIZATION = "NoOptimization",
390
- PRESERVE_SIG = "PreserveSig",
391
- AGGRESSIVE_INLINING = "AggressiveInlining",
392
- AGGRESSIVE_OPTIMIZATION = "AggressiveOptimization",
393
- INTERNAL_CALL = "InternalCall",
394
- ASYNC = "Async",
395
- MAX_METHOD_IMPL_VAL = "MaxMethodImplVal"
396
- }
397
- export type MethodInfo = {
398
- readonly name: string;
399
- declaringType?: Type | null;
400
- reflectedType?: Type | null;
401
- module: Module;
402
- readonly customAttributes: Array<CustomAttributeData>;
403
- readonly isCollectible: boolean;
404
- readonly metadataToken: number;
405
- attributes: MethodAttributes;
406
- methodImplementationFlags: MethodImplAttributes;
407
- callingConvention: CallingConventions;
408
- readonly isAbstract: boolean;
409
- readonly isConstructor: boolean;
410
- readonly isFinal: boolean;
411
- readonly isHideBySig: boolean;
412
- readonly isSpecialName: boolean;
413
- readonly isStatic: boolean;
414
- readonly isVirtual: boolean;
415
- readonly isAssembly: boolean;
416
- readonly isFamily: boolean;
417
- readonly isFamilyAndAssembly: boolean;
418
- readonly isFamilyOrAssembly: boolean;
419
- readonly isPrivate: boolean;
420
- readonly isPublic: boolean;
421
- readonly isConstructedGenericMethod: boolean;
422
- readonly isGenericMethod: boolean;
423
- readonly isGenericMethodDefinition: boolean;
424
- readonly containsGenericParameters: boolean;
425
- methodHandle: RuntimeMethodHandle;
426
- readonly isSecurityCritical: boolean;
427
- readonly isSecuritySafeCritical: boolean;
428
- readonly isSecurityTransparent: boolean;
429
- memberType: MemberTypes;
430
- returnParameter: ParameterInfo;
431
- returnType: Type;
432
- returnTypeCustomAttributes: ICustomAttributeProvider;
433
- };
434
- export type Module = {
435
- assembly: Assembly;
436
- readonly fullyQualifiedName: string;
437
- readonly name: string;
438
- readonly mdStreamVersion: number;
439
- readonly moduleVersionId: string;
440
- readonly scopeName: string;
441
- moduleHandle: ModuleHandle;
442
- readonly customAttributes: Array<CustomAttributeData>;
443
- readonly metadataToken: number;
444
- };
445
- export type ModuleHandle = {
446
- readonly mdStreamVersion: number;
447
- };
448
- export declare enum ParameterAttributes {
449
- NONE = "None",
450
- IN = "In",
451
- OUT = "Out",
452
- LCID = "Lcid",
453
- RETVAL = "Retval",
454
- OPTIONAL = "Optional",
455
- HAS_DEFAULT = "HasDefault",
456
- HAS_FIELD_MARSHAL = "HasFieldMarshal",
457
- RESERVED3 = "Reserved3",
458
- RESERVED4 = "Reserved4",
459
- RESERVED_MASK = "ReservedMask"
460
- }
461
- export type ParameterInfo = {
462
- attributes: ParameterAttributes;
463
- member: MemberInfo;
464
- readonly name?: string | null;
465
- parameterType: Type;
466
- readonly position: number;
467
- readonly isIn: boolean;
468
- readonly isLcid: boolean;
469
- readonly isOptional: boolean;
470
- readonly isOut: boolean;
471
- readonly isRetval: boolean;
472
- readonly defaultValue?: unknown;
473
- readonly rawDefaultValue?: unknown;
474
- readonly hasDefaultValue: boolean;
475
- readonly customAttributes: Array<CustomAttributeData>;
476
- readonly metadataToken: number;
477
- };
478
- export declare enum PropertyAttributes {
479
- NONE = "None",
480
- SPECIAL_NAME = "SpecialName",
481
- RT_SPECIAL_NAME = "RTSpecialName",
482
- HAS_DEFAULT = "HasDefault",
483
- RESERVED2 = "Reserved2",
484
- RESERVED3 = "Reserved3",
485
- RESERVED4 = "Reserved4",
486
- RESERVED_MASK = "ReservedMask"
487
- }
488
- export type PropertyInfo = {
489
- readonly name: string;
490
- declaringType?: Type | null;
491
- reflectedType?: Type | null;
492
- module: Module;
493
- readonly customAttributes: Array<CustomAttributeData>;
494
- readonly isCollectible: boolean;
495
- readonly metadataToken: number;
496
- memberType: MemberTypes;
497
- propertyType: Type;
498
- attributes: PropertyAttributes;
499
- readonly isSpecialName: boolean;
500
- readonly canRead: boolean;
501
- readonly canWrite: boolean;
502
- getMethod?: MethodInfo | null;
503
- setMethod?: MethodInfo | null;
504
- };
98
+ export type MethodBase = unknown;
505
99
  export type RestorePoint = {
506
- id: number;
100
+ id: number | string;
507
101
  key: string;
508
102
  machineId: string;
509
103
  machineName: string;
@@ -514,61 +108,84 @@ export type RestorePoint = {
514
108
  status: RestorePointStatus;
515
109
  };
516
110
  export type RestorePointProcessingOptions = {
517
- items: Array<SyncItem>;
518
- options?: SyncPackOptions | null;
519
- attributes?: SyncPackAttributes | null;
520
- includeDisabledHandlers?: boolean | null;
521
- handlerSet?: string | null;
522
- handlerGroup?: string | null;
523
- isBackgroundRequest?: boolean | null;
524
- persistResults: boolean;
525
- additionalData?: {
526
- [key: string]: unknown;
527
- } | null;
528
- source?: string | null;
529
- title?: string | null;
530
- user?: string | null;
111
+ source?: null | string;
112
+ title?: null | string;
113
+ user?: null | string;
531
114
  key: string;
532
115
  includeMedia: boolean;
533
116
  isInline: boolean;
534
- [key: string]: unknown;
117
+ items: Array<{
118
+ flags: string;
119
+ change: 'NoChange' | 'Create' | 'Import' | 'Export' | 'Update' | 'Delete' | 'WillChange' | 'Information' | 'Rolledback' | 'Fail' | 'ImportFail' | 'Mismatch' | 'ParentMissing' | 'Hidden' | 'Clean' | 'Removed';
120
+ name: string;
121
+ icon?: null | string;
122
+ udi: {
123
+ uriValue: null | string;
124
+ entityType: null | string;
125
+ isRoot: boolean;
126
+ };
127
+ entityType: null | string;
128
+ }>;
129
+ options?: {
130
+ primaryType?: null | string;
131
+ removeOrphans: boolean;
132
+ includeFiles: boolean;
133
+ includeFileHash: boolean;
134
+ fileHashEntityTypes: Array<string>;
135
+ includeContent: boolean;
136
+ includeSystemFileHash: boolean;
137
+ includeSystemFiles: boolean;
138
+ includeMediaFiles: boolean;
139
+ cultures: Array<string>;
140
+ custom: {
141
+ [key: string]: string;
142
+ };
143
+ enableRollback: boolean;
144
+ createRestorePoint: boolean;
145
+ skipReport: boolean;
146
+ };
147
+ attributes?: {
148
+ orphanTypes: Array<string>;
149
+ allowRootClean: boolean;
150
+ folders: Array<string>;
151
+ systemFolders: Array<string>;
152
+ systemExclusions: Array<string>;
153
+ fileReplacements: Array<string>;
154
+ };
155
+ includeDisabledHandlers?: null | boolean;
156
+ handlerSet?: null | string;
157
+ handlerGroup?: null | string;
158
+ isBackgroundRequest?: null | boolean;
159
+ persistResults: boolean;
160
+ additionalData?: null | {
161
+ [key: string]: unknown;
162
+ };
535
163
  };
536
164
  export declare enum RestorePointStatus {
537
165
  COMPLETE = "Complete",
538
166
  PENDING = "Pending",
539
167
  FAILED = "Failed"
540
168
  }
541
- export type RuntimeFieldHandle = {
542
- value: IntPtr;
543
- };
544
- export type RuntimeMethodHandle = {
545
- value: IntPtr;
546
- };
547
- export type RuntimeTypeHandle = {
548
- value: IntPtr;
549
- };
550
- export declare enum SecurityRuleSet {
169
+ export declare enum SyncDependencyFlags {
551
170
  NONE = "None",
552
- LEVEL1 = "Level1",
553
- LEVEL2 = "Level2"
171
+ INCLUDE_CHILDREN = "IncludeChildren",
172
+ INCLUDE_ANCESTORS = "IncludeAncestors",
173
+ INCLUDE_DEPENDENCIES = "IncludeDependencies",
174
+ INCLUDE_VIEWS = "IncludeViews",
175
+ INCLUDE_MEDIA = "IncludeMedia",
176
+ INCLUDE_LINKED = "IncludeLinked",
177
+ INCLUDE_MEDIA_FILES = "IncludeMediaFiles",
178
+ INCLUDE_CONFIG = "IncludeConfig",
179
+ ADJACENT_ONLY = "AdjacentOnly",
180
+ ROOT_SYNC = "RootSync",
181
+ INCLUDE_CONTENTS = "IncludeContents",
182
+ PUBLISHED_DEPENDENCIES = "PublishedDependencies"
554
183
  }
555
- export type StructLayoutAttribute = {
556
- readonly typeId: unknown;
557
- value: LayoutKind;
558
- };
559
184
  export type SyncEntity = {
560
185
  name: string;
561
- icon?: string | null;
562
- udi: UdiModel;
563
- readonly entityType: string;
564
- };
565
- export type SyncItem = {
566
- name: string;
567
- icon?: string | null;
186
+ icon?: null | string;
568
187
  udi: UdiModel;
569
- readonly entityType: string;
570
- flags: DependencyFlags;
571
- change: ChangeType;
188
+ entityType: null | string;
572
189
  };
573
190
  export type SyncItemPreviewResponse = {
574
191
  key: string;
@@ -577,36 +194,10 @@ export type SyncItemPreviewResponse = {
577
194
  entityType: string;
578
195
  isDelete: boolean;
579
196
  success: boolean;
580
- message?: string | null;
197
+ message?: null | string;
581
198
  preview?: unknown;
582
199
  details: Array<USyncChange>;
583
200
  };
584
- export type SyncPackAttributes = {
585
- orphanTypes: Array<string>;
586
- allowRootClean: boolean;
587
- folders: Array<string>;
588
- systemFolders: Array<string>;
589
- systemExclusions: Array<string>;
590
- fileReplacements: Array<string>;
591
- };
592
- export type SyncPackOptions = {
593
- primaryType?: string | null;
594
- removeOrphans: boolean;
595
- includeFiles: boolean;
596
- includeFileHash: boolean;
597
- fileHashEntityTypes: Array<string>;
598
- includeContent: boolean;
599
- includeSystemFileHash: boolean;
600
- includeSystemFiles: boolean;
601
- includeMediaFiles: boolean;
602
- cultures: Array<string>;
603
- custom: {
604
- [key: string]: string;
605
- };
606
- enableRollback: boolean;
607
- createRestorePoint: boolean;
608
- skipReport: boolean;
609
- };
610
201
  export type TemporaryLicenceResult = {
611
202
  success: boolean;
612
203
  status: string;
@@ -618,223 +209,24 @@ export type TemporaryLicenceResult = {
618
209
  saved: boolean;
619
210
  licenceInConfig: boolean;
620
211
  };
621
- export type Type = {
622
- readonly name: string;
623
- readonly customAttributes: Array<CustomAttributeData>;
624
- readonly isCollectible: boolean;
625
- readonly metadataToken: number;
626
- memberType: MemberTypes;
627
- readonly namespace?: string | null;
628
- readonly assemblyQualifiedName?: string | null;
629
- readonly fullName?: string | null;
630
- assembly: Assembly;
631
- module: Module;
632
- readonly isInterface: boolean;
633
- readonly isNested: boolean;
634
- declaringType?: Type | null;
635
- declaringMethod?: MethodBase | null;
636
- reflectedType?: Type | null;
637
- underlyingSystemType: Type;
638
- readonly isTypeDefinition: boolean;
639
- readonly isArray: boolean;
640
- readonly isByRef: boolean;
641
- readonly isPointer: boolean;
642
- readonly isConstructedGenericType: boolean;
643
- readonly isGenericParameter: boolean;
644
- readonly isGenericTypeParameter: boolean;
645
- readonly isGenericMethodParameter: boolean;
646
- readonly isGenericType: boolean;
647
- readonly isGenericTypeDefinition: boolean;
648
- readonly isSZArray: boolean;
649
- readonly isVariableBoundArray: boolean;
650
- readonly isByRefLike: boolean;
651
- readonly isFunctionPointer: boolean;
652
- readonly isUnmanagedFunctionPointer: boolean;
653
- readonly hasElementType: boolean;
654
- readonly genericTypeArguments: Array<Type>;
655
- readonly genericParameterPosition: number;
656
- genericParameterAttributes: GenericParameterAttributes;
657
- attributes: TypeAttributes;
658
- readonly isAbstract: boolean;
659
- readonly isImport: boolean;
660
- readonly isSealed: boolean;
661
- readonly isSpecialName: boolean;
662
- readonly isClass: boolean;
663
- readonly isNestedAssembly: boolean;
664
- readonly isNestedFamANDAssem: boolean;
665
- readonly isNestedFamily: boolean;
666
- readonly isNestedFamORAssem: boolean;
667
- readonly isNestedPrivate: boolean;
668
- readonly isNestedPublic: boolean;
669
- readonly isNotPublic: boolean;
670
- readonly isPublic: boolean;
671
- readonly isAutoLayout: boolean;
672
- readonly isExplicitLayout: boolean;
673
- readonly isLayoutSequential: boolean;
674
- readonly isAnsiClass: boolean;
675
- readonly isAutoClass: boolean;
676
- readonly isUnicodeClass: boolean;
677
- readonly isCOMObject: boolean;
678
- readonly isContextful: boolean;
679
- readonly isEnum: boolean;
680
- readonly isMarshalByRef: boolean;
681
- readonly isPrimitive: boolean;
682
- readonly isValueType: boolean;
683
- readonly isSignatureType: boolean;
684
- readonly isSecurityCritical: boolean;
685
- readonly isSecuritySafeCritical: boolean;
686
- readonly isSecurityTransparent: boolean;
687
- structLayoutAttribute?: StructLayoutAttribute | null;
688
- typeInitializer?: ConstructorInfo | null;
689
- typeHandle: RuntimeTypeHandle;
690
- readonly guid: string;
691
- baseType?: Type | null;
692
- /**
693
- * @deprecated
694
- */
695
- readonly isSerializable: boolean;
696
- readonly containsGenericParameters: boolean;
697
- readonly isVisible: boolean;
698
- };
699
- export declare enum TypeAttributes {
700
- NOT_PUBLIC = "NotPublic",
701
- AUTO_LAYOUT = "AutoLayout",
702
- ANSI_CLASS = "AnsiClass",
703
- CLASS = "Class",
704
- PUBLIC = "Public",
705
- NESTED_PUBLIC = "NestedPublic",
706
- NESTED_PRIVATE = "NestedPrivate",
707
- NESTED_FAMILY = "NestedFamily",
708
- NESTED_ASSEMBLY = "NestedAssembly",
709
- NESTED_FAM_AND_ASSEM = "NestedFamANDAssem",
710
- VISIBILITY_MASK = "VisibilityMask",
711
- NESTED_FAM_OR_ASSEM = "NestedFamORAssem",
712
- SEQUENTIAL_LAYOUT = "SequentialLayout",
713
- EXPLICIT_LAYOUT = "ExplicitLayout",
714
- LAYOUT_MASK = "LayoutMask",
715
- INTERFACE = "Interface",
716
- CLASS_SEMANTICS_MASK = "ClassSemanticsMask",
717
- ABSTRACT = "Abstract",
718
- SEALED = "Sealed",
719
- SPECIAL_NAME = "SpecialName",
720
- RT_SPECIAL_NAME = "RTSpecialName",
721
- IMPORT = "Import",
722
- SERIALIZABLE = "Serializable",
723
- WINDOWS_RUNTIME = "WindowsRuntime",
724
- UNICODE_CLASS = "UnicodeClass",
725
- AUTO_CLASS = "AutoClass",
726
- STRING_FORMAT_MASK = "StringFormatMask",
727
- CUSTOM_FORMAT_CLASS = "CustomFormatClass",
728
- HAS_SECURITY = "HasSecurity",
729
- RESERVED_MASK = "ReservedMask",
730
- BEFORE_FIELD_INIT = "BeforeFieldInit",
731
- CUSTOM_FORMAT_MASK = "CustomFormatMask"
732
- }
733
- export type TypeInfo = {
734
- readonly name: string;
735
- readonly customAttributes: Array<CustomAttributeData>;
736
- readonly isCollectible: boolean;
737
- readonly metadataToken: number;
738
- memberType: MemberTypes;
739
- readonly namespace?: string | null;
740
- readonly assemblyQualifiedName?: string | null;
741
- readonly fullName?: string | null;
742
- assembly: Assembly;
743
- module: Module;
744
- readonly isInterface: boolean;
745
- readonly isNested: boolean;
746
- declaringType?: Type | null;
747
- declaringMethod?: MethodBase | null;
748
- reflectedType?: Type | null;
749
- underlyingSystemType: Type;
750
- readonly isTypeDefinition: boolean;
751
- readonly isArray: boolean;
752
- readonly isByRef: boolean;
753
- readonly isPointer: boolean;
754
- readonly isConstructedGenericType: boolean;
755
- readonly isGenericParameter: boolean;
756
- readonly isGenericTypeParameter: boolean;
757
- readonly isGenericMethodParameter: boolean;
758
- readonly isGenericType: boolean;
759
- readonly isGenericTypeDefinition: boolean;
760
- readonly isSZArray: boolean;
761
- readonly isVariableBoundArray: boolean;
762
- readonly isByRefLike: boolean;
763
- readonly isFunctionPointer: boolean;
764
- readonly isUnmanagedFunctionPointer: boolean;
765
- readonly hasElementType: boolean;
766
- readonly genericTypeArguments: Array<Type>;
767
- readonly genericParameterPosition: number;
768
- genericParameterAttributes: GenericParameterAttributes;
769
- attributes: TypeAttributes;
770
- readonly isAbstract: boolean;
771
- readonly isImport: boolean;
772
- readonly isSealed: boolean;
773
- readonly isSpecialName: boolean;
774
- readonly isClass: boolean;
775
- readonly isNestedAssembly: boolean;
776
- readonly isNestedFamANDAssem: boolean;
777
- readonly isNestedFamily: boolean;
778
- readonly isNestedFamORAssem: boolean;
779
- readonly isNestedPrivate: boolean;
780
- readonly isNestedPublic: boolean;
781
- readonly isNotPublic: boolean;
782
- readonly isPublic: boolean;
783
- readonly isAutoLayout: boolean;
784
- readonly isExplicitLayout: boolean;
785
- readonly isLayoutSequential: boolean;
786
- readonly isAnsiClass: boolean;
787
- readonly isAutoClass: boolean;
788
- readonly isUnicodeClass: boolean;
789
- readonly isCOMObject: boolean;
790
- readonly isContextful: boolean;
791
- readonly isEnum: boolean;
792
- readonly isMarshalByRef: boolean;
793
- readonly isPrimitive: boolean;
794
- readonly isValueType: boolean;
795
- readonly isSignatureType: boolean;
796
- readonly isSecurityCritical: boolean;
797
- readonly isSecuritySafeCritical: boolean;
798
- readonly isSecurityTransparent: boolean;
799
- structLayoutAttribute?: StructLayoutAttribute | null;
800
- typeInitializer?: ConstructorInfo | null;
801
- typeHandle: RuntimeTypeHandle;
802
- readonly guid: string;
803
- baseType?: Type | null;
804
- /**
805
- * @deprecated
806
- */
807
- readonly isSerializable: boolean;
808
- readonly containsGenericParameters: boolean;
809
- readonly isVisible: boolean;
810
- readonly genericTypeParameters: Array<Type>;
811
- readonly declaredConstructors: Array<ConstructorInfo>;
812
- readonly declaredEvents: Array<EventInfo>;
813
- readonly declaredFields: Array<FieldInfo>;
814
- readonly declaredMembers: Array<MemberInfo>;
815
- readonly declaredMethods: Array<MethodInfo>;
816
- readonly declaredNestedTypes: Array<TypeInfo>;
817
- readonly declaredProperties: Array<PropertyInfo>;
818
- readonly implementedInterfaces: Array<Type>;
819
- };
820
212
  export type UdiModel = {
821
- readonly uriValue: string;
822
- readonly entityType: string;
823
- readonly isRoot: boolean;
213
+ uriValue: null | string;
214
+ entityType: null | string;
215
+ isRoot: boolean;
824
216
  };
825
217
  export type USyncAction = {
826
- handlerAlias?: string | null;
218
+ handlerAlias?: null | string;
827
219
  success: boolean;
828
220
  itemType: string;
829
- message?: string | null;
830
- exception?: Exception | null;
221
+ message?: null | string;
222
+ exception?: null | Exception;
831
223
  change: ChangeType;
832
- fileName?: string | null;
224
+ fileName?: null | string;
833
225
  name: string;
834
- path?: string | null;
226
+ path?: null | string;
835
227
  requiresPostProcessing: boolean;
836
- detailMessage?: string | null;
837
- details?: Array<USyncChange> | null;
228
+ detailMessage?: null | string;
229
+ details?: null | Array<USyncChange>;
838
230
  key: string;
839
231
  };
840
232
  export type USyncActionView = {
@@ -845,7 +237,7 @@ export type USyncActionView = {
845
237
  change: ChangeType;
846
238
  success: boolean;
847
239
  details: Array<USyncChange>;
848
- message?: string | null;
240
+ message?: null | string;
849
241
  };
850
242
  export type USyncChange = {
851
243
  success: boolean;
@@ -855,129 +247,6 @@ export type USyncChange = {
855
247
  newValue: string;
856
248
  change: ChangeDetailType;
857
249
  };
858
- export type AssemblyWritable = {
859
- securityRuleSet: SecurityRuleSet;
860
- };
861
- export type ConstructorInfoWritable = {
862
- attributes: MethodAttributes;
863
- methodImplementationFlags: MethodImplAttributes;
864
- callingConvention: CallingConventions;
865
- memberType: MemberTypes;
866
- };
867
- export type CustomAttributeDataWritable = {
868
- [key: string]: never;
869
- };
870
- export type CustomAttributeNamedArgumentWritable = {
871
- memberInfo: MemberInfoWritable;
872
- };
873
- export type CustomAttributeTypedArgumentWritable = {
874
- argumentType: TypeWritable;
875
- value?: unknown;
876
- };
877
- export type EventInfoWritable = {
878
- memberType: MemberTypes;
879
- attributes: EventAttributes;
880
- };
881
- export type ExceptionWritable = {
882
- helpLink?: string | null;
883
- source?: string | null;
884
- hResult: number;
885
- };
886
- export type FieldInfoWritable = {
887
- memberType: MemberTypes;
888
- attributes: FieldAttributes;
889
- };
890
- export type LicenceWritable = {
891
- key: string;
892
- domains: string;
893
- licenceType: LicenceType;
894
- };
895
- export type MemberInfoWritable = {
896
- memberType: MemberTypes;
897
- };
898
- export type MethodBaseWritable = {
899
- memberType: MemberTypes;
900
- attributes: MethodAttributes;
901
- methodImplementationFlags: MethodImplAttributes;
902
- callingConvention: CallingConventions;
903
- };
904
- export type MethodInfoWritable = {
905
- attributes: MethodAttributes;
906
- methodImplementationFlags: MethodImplAttributes;
907
- callingConvention: CallingConventions;
908
- memberType: MemberTypes;
909
- returnTypeCustomAttributes: ICustomAttributeProvider;
910
- };
911
- export type ModuleWritable = {
912
- [key: string]: never;
913
- };
914
- export type ParameterInfoWritable = {
915
- attributes: ParameterAttributes;
916
- };
917
- export type PropertyInfoWritable = {
918
- memberType: MemberTypes;
919
- attributes: PropertyAttributes;
920
- };
921
- export type RestorePointProcessingOptionsWritable = {
922
- items: Array<SyncItemWritable>;
923
- options?: SyncPackOptions | null;
924
- attributes?: SyncPackAttributes | null;
925
- includeDisabledHandlers?: boolean | null;
926
- handlerSet?: string | null;
927
- handlerGroup?: string | null;
928
- isBackgroundRequest?: boolean | null;
929
- persistResults: boolean;
930
- additionalData?: {
931
- [key: string]: unknown;
932
- } | null;
933
- source?: string | null;
934
- title?: string | null;
935
- user?: string | null;
936
- key: string;
937
- includeMedia: boolean;
938
- isInline: boolean;
939
- [key: string]: unknown;
940
- };
941
- export type StructLayoutAttributeWritable = {
942
- value: LayoutKind;
943
- };
944
- export type SyncEntityWritable = {
945
- name: string;
946
- icon?: string | null;
947
- udi: unknown;
948
- };
949
- export type SyncItemWritable = {
950
- name: string;
951
- icon?: string | null;
952
- udi: unknown;
953
- flags: DependencyFlags;
954
- change: ChangeType;
955
- };
956
- export type TypeWritable = {
957
- memberType: MemberTypes;
958
- genericParameterAttributes: GenericParameterAttributes;
959
- attributes: TypeAttributes;
960
- };
961
- export type TypeInfoWritable = {
962
- memberType: MemberTypes;
963
- genericParameterAttributes: GenericParameterAttributes;
964
- attributes: TypeAttributes;
965
- };
966
- export type USyncActionWritable = {
967
- handlerAlias?: string | null;
968
- success: boolean;
969
- itemType: string;
970
- message?: string | null;
971
- exception?: ExceptionWritable | null;
972
- change: ChangeType;
973
- fileName?: string | null;
974
- name: string;
975
- path?: string | null;
976
- requiresPostProcessing: boolean;
977
- detailMessage?: string | null;
978
- details?: Array<USyncChange> | null;
979
- key: string;
980
- };
981
250
  export type HasRootFilesData = {
982
251
  body?: never;
983
252
  path?: never;
@@ -1150,7 +419,7 @@ export type RequestTemporaryLicenceResponses = {
1150
419
  };
1151
420
  export type RequestTemporaryLicenceResponse = RequestTemporaryLicenceResponses[keyof RequestTemporaryLicenceResponses];
1152
421
  export type SaveLicenceData = {
1153
- body?: LicenceInfo;
422
+ body: LicenceInfo;
1154
423
  path?: never;
1155
424
  query?: never;
1156
425
  url: '/umbraco/usync/api/v1/Complete/SaveLicence';
@@ -1317,7 +586,7 @@ export type ScanResponses = {
1317
586
  * OK
1318
587
  */
1319
588
  200: {
1320
- [key: string]: number;
589
+ [key: string]: number | string;
1321
590
  };
1322
591
  };
1323
592
  export type ScanResponse = ScanResponses[keyof ScanResponses];