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